@allurereport/web-components 3.0.0-beta.13 → 3.0.0-beta.14
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/components/ArrowButton/index.d.ts +2 -1
- package/dist/components/ArrowButton/index.d.ts.map +1 -1
- package/dist/components/Attachment/Attachment.d.ts.map +1 -1
- package/dist/components/Charts/SuccessRatePieChart/index.d.ts.map +1 -0
- package/dist/components/Charts/TrendChart/TrendChart.d.ts.map +1 -0
- package/dist/components/Charts/TrendChart/config.d.ts.map +1 -0
- package/dist/components/Charts/TrendChart/constants.d.ts.map +1 -0
- package/dist/components/Charts/TrendChart/index.d.ts.map +1 -0
- package/dist/components/Charts/TrendChart/theme.d.ts.map +1 -0
- package/dist/components/Charts/TrendChart/types.d.ts.map +1 -0
- package/dist/components/Charts/TrendChart/utils.d.ts.map +1 -0
- package/dist/components/Charts/TrendChartWidget/index.d.ts +23 -0
- package/dist/components/Charts/TrendChartWidget/index.d.ts.map +1 -0
- package/dist/components/Widget/index.d.ts +7 -0
- package/dist/components/Widget/index.d.ts.map +1 -0
- package/dist/index.css +1 -1
- package/dist/index.d.ts +84 -52
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +10 -10
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
- package/dist/components/SuccessRatePieChart/index.d.ts.map +0 -1
- package/dist/components/TrendChart/TrendChart.d.ts.map +0 -1
- package/dist/components/TrendChart/config.d.ts.map +0 -1
- package/dist/components/TrendChart/constants.d.ts.map +0 -1
- package/dist/components/TrendChart/index.d.ts.map +0 -1
- package/dist/components/TrendChart/theme.d.ts.map +0 -1
- package/dist/components/TrendChart/types.d.ts.map +0 -1
- package/dist/components/TrendChart/utils.d.ts.map +0 -1
- /package/dist/components/{SuccessRatePieChart → Charts/SuccessRatePieChart}/index.d.ts +0 -0
- /package/dist/components/{TrendChart → Charts/TrendChart}/TrendChart.d.ts +0 -0
- /package/dist/components/{TrendChart → Charts/TrendChart}/config.d.ts +0 -0
- /package/dist/components/{TrendChart → Charts/TrendChart}/constants.d.ts +0 -0
- /package/dist/components/{TrendChart → Charts/TrendChart}/index.d.ts +0 -0
- /package/dist/components/{TrendChart → Charts/TrendChart}/theme.d.ts +0 -0
- /package/dist/components/{TrendChart → Charts/TrendChart}/types.d.ts +0 -0
- /package/dist/components/{TrendChart → Charts/TrendChart}/utils.d.ts +0 -0
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{options as e,createContext as t,Fragment as n,Component as r,createElement as i,toChildArray as o,cloneElement as a}from"preact";import{useRef as s,useState as c,useEffect as l,useCallback as u,useContext as f,useMemo as d}from"preact/hooks";import*as h from"react";import{useEffect as p,useLayoutEffect as g,useState as m,useRef as b,forwardRef as v,useCallback as y,useContext as _,useMemo as w,memo as x,createContext as C,createElement as k,Component as M,cloneElement as S,Fragment as T}from"react";import{unstable_batchedUpdates as A}from"react-dom";var E=0;function O(t,n,r,i,o,a){n||(n={});var s,c,l=n;if("ref"in l)for(c in l={},n)"ref"==c?s=n[c]:l[c]=n[c];var u={type:t,props:l,key:r,ref:s,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:--E,__i:-1,__u:0,__source:o,__self:a};if("function"==typeof t&&(s=t.defaultProps))for(c in s)void 0===l[c]&&(l[c]=s[c]);return e.vnode&&e.vnode(u),u}function P(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=P(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function D(){for(var e,t,n=0,r="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=P(e))&&(r&&(r+=" "),r+=t);return r}"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self&&self;var j={exports:{}};j.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(e){return Array.isArray(e)?[]:{}}function n(n,r){return r&&!0===r.clone&&e(n)?o(t(n),n,r):n}function r(t,r,i){var a=t.slice();return r.forEach((function(r,s){void 0===a[s]?a[s]=n(r,i):e(r)?a[s]=o(t[s],r,i):-1===t.indexOf(r)&&a.push(n(r,i))})),a}function i(t,r,i){var a={};return e(t)&&Object.keys(t).forEach((function(e){a[e]=n(t[e],i)})),Object.keys(r).forEach((function(s){e(r[s])&&t[s]?a[s]=o(t[s],r[s],i):a[s]=n(r[s],i)})),a}function o(e,t,o){var a=Array.isArray(t),s=(o||{arrayMerge:r}).arrayMerge||r;return a?Array.isArray(e)?s(e,t,o):n(t,o):i(e,t,o)}return o.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 o(e,n,t)}))},o}();var N=j.exports;var L,F,B={exports:{}};L=B,(F=B.exports).default={svg:{name:"xmlns",uri:"http://www.w3.org/2000/svg"},xlink:{name:"xmlns:xlink",uri:"http://www.w3.org/1999/xlink"}},L.exports=F.default;var R=B.exports;const{svg:$,xlink:z}=R,I={[$.name]:$.uri,[z.name]:z.uri};function U(e="",t){const n=function(e){return Object.keys(e).map((t=>`${t}="${e[t].toString().replace(/"/g,""")}"`)).join(" ")}(N(I,t||{}));return`<svg ${n}>${e}</svg>`}const{svg:H,xlink:V}=R;var W={attrs:{[H.name]:H.uri,[V.name]:V.uri,style:["position: absolute","width: 0","height: 0"].join("; "),"aria-hidden":"true"}};class Y{constructor(e){this.config=N(W,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 U(this.symbols.map((e=>e.stringify())).join(""),e)}toString(){return this.stringify()}destroy(){this.symbols.forEach((e=>e.destroy()))}}class q{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 Z(e){const t=!!document.importNode,n=(new DOMParser).parseFromString(e,"image/svg+xml").documentElement;return t?document.importNode(n,!0):n}class G extends q{get isMounted(){return!!this.node}static createFromExistingNode(e){return new G({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 Z(U(this.stringify())).childNodes[0]}unmount(){this.node.parentNode.removeChild(this.node)}}var X={autoConfigure:!0,mountTo:"body",syncUrlsWithBaseTag:!1,listenLocationChangeEvent:!0,locationChangeEvent:"locationChange",locationChangeAngularEmitter:!1,usagesToUpdate:"use[*|href]",moveGradientsOutsideSymbol:!1};function Q(e){return Array.prototype.slice.call(e,0)}var J=()=>/firefox/i.test(navigator.userAgent),K=()=>/msie/i.test(navigator.userAgent)||/trident/i.test(navigator.userAgent),ee=()=>/edge/i.test(navigator.userAgent);function te(e){return(e||window.location.href).split("#")[0]}function ne(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})}))}])}function re(e,t="linearGradient, radialGradient, pattern, mask, clipPath"){return Q(e.querySelectorAll("symbol")).forEach((e=>{Q(e.querySelectorAll(t)).forEach((t=>{e.parentNode.insertBefore(t,e)}))})),e}const ie=R.xlink.uri,oe="xlink:href",ae=/[{}|\\\^\[\]`"<>]/g;function se(e){return e.replace(ae,(e=>`%${e[0].charCodeAt(0).toString(16).toUpperCase()}`))}const ce=["clipPath","colorProfile","src","cursor","fill","filter","marker","markerStart","markerMid","markerEnd","mask","stroke","style"],le=ce.map((e=>`[${e}]`)).join(",");function ue(e,t,n,r){const i=se(n),o=se(r),a=function(e,t){return Q(e).reduce(((e,n)=>{if(!n.attributes)return e;const r=Q(n.attributes).filter(t);return e.concat(r)}),[])}(e.querySelectorAll(le),(({localName:e,value:t})=>-1!==ce.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){Q(e).forEach((e=>{const r=e.getAttribute(oe);if(r&&0===r.indexOf(t)){const i=r.replace(t,n);e.setAttributeNS(ie,oe,i)}}))}(t,i,o)}const fe="mount",de="symbol_mount";const he="__SVG_SPRITE_NODE__",pe="__SVG_SPRITE__",ge=()=>{const e=document.getElementById(he);e?me.attach(e):me.mount(document.body,!0)};let me=new class extends Y{constructor(e={}){super(N(X,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(fe,(()=>this.updateUrls("#",e)))}const i=this._handleLocationChange.bind(this);this._handleLocationChange=i,r.listenLocationChangeEvent&&window.addEventListener(r.locationChangeEvent,i),r.locationChangeAngularEmitter&&ne(r.locationChangeEvent),t.on(fe,(e=>{r.moveGradientsOutsideSymbol&&re(e)})),t.on(de,(e=>{r.moveGradientsOutsideSymbol&&re(e.parentNode),(K()||ee())&&function(e){const t=[];Q(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=J())}_handleLocationChange(e){const{oldUrl:t,newUrl:n}=e.detail;this.updateUrls(t,n)}add(e){const t=this,n=super.add(e);return this.isMounted&&n&&(e.mount(t.node),this._emitter.emit(de,e.node)),n}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(de,e.node)})),Q(n.querySelectorAll("symbol")).forEach((e=>{const n=G.createFromExistingNode(e);n.node=e,t.add(n)})),this._emitter.emit(fe,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(fe,i),i}render(){return Z(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 ue(this.node,n,`${te(e)}#`,`${te(t)}#`),!0}}({attrs:{id:he,"aria-hidden":"true"},autoConfigure:"undefined"!=typeof document,listenLocationChangeEvent:"undefined"!=typeof window});var be,ve,ye,_e,we,xe;"undefined"!=typeof window&&"undefined"!=typeof document&&(window[pe]?me=window[pe]:window[pe]=me,document.body?ge():(ve=[],ye=document,_e=ye.documentElement.doScroll,we="DOMContentLoaded",(xe=(_e?/^loaded|^c/:/^loaded|^i|^c/).test(ye.readyState))||ye.addEventListener(we,be=function(){for(ye.removeEventListener(we,be),xe=1;be=ve.shift();)be()}),function(e){xe?setTimeout(e,0):ve.push(e)})(ge));const Ce=new G({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"});me.add(Ce);const ke=new G({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"});me.add(ke);const Me=new G({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"});me.add(Me);const Se=new G({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"});me.add(Se);const Te=new G({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"});me.add(Te);const Ae=new G({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"});me.add(Ae);const Ee=new G({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"});me.add(Ee);const Oe=new G({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"});me.add(Oe);const Pe=new G({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"});me.add(Pe);const De=new G({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"});me.add(De);const je=new G({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"});me.add(je);const Ne=new G({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"});me.add(Ne);const Le=new G({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"});me.add(Le);const Fe=new G({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"});me.add(Fe);const Be=new G({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"});me.add(Be);const Re=new G({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"});me.add(Re);const $e=new G({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"});me.add($e);const ze=new G({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"});me.add(ze);const Ie=new G({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"});me.add(Ie);const Ue=new G({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"});me.add(Ue);const He=new G({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"});me.add(He);const Ve=new G({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"});me.add(Ve);const We=new G({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"});me.add(We);const Ye=new G({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"});me.add(Ye);const qe=new G({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"});me.add(qe);const Ze=new G({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"});me.add(Ze);const Ge=new G({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"});me.add(Ge);const Xe=new G({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"});me.add(Xe);const Qe=new G({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"});me.add(Qe);const Je=new G({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"});me.add(Je);const Ke=new G({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"});me.add(Ke);const et=new G({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"});me.add(et);const tt=new G({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"});me.add(tt);const nt=new G({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"});me.add(nt);const rt=new G({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"});me.add(rt);const it=new G({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"});me.add(it);const ot=new G({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"});me.add(ot);const at=new G({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"});me.add(at);const st=new G({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"});me.add(st);const ct=new G({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"});me.add(ct);const lt=new G({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"});me.add(lt);const ut=new G({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"});me.add(ut);const ft=new G({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"});me.add(ft);const dt=new G({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"});me.add(dt);const ht=new G({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"});me.add(ht);const pt=new G({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"});me.add(pt);const gt=new G({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"});me.add(gt);const mt=new G({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"});me.add(mt);const bt=new G({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"});me.add(bt);const vt=new G({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"});me.add(vt);const yt=new G({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"});me.add(yt);const _t=new G({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"});me.add(_t);const wt=new G({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"});me.add(wt);const xt=new G({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"});me.add(xt);const Ct=new G({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"});me.add(Ct);const kt=new G({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"});me.add(kt);const Mt=new G({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"});me.add(Mt);const St=new G({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"});me.add(St);const Tt=new G({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"});me.add(Tt);const At=new G({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"});me.add(At);const Et=new G({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"});me.add(Et);var Ot={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 Pt={arrowsChevronDown:Ce.id,environment:Me.id,github:Se.id,draggable:ke.id,lineAlertsAlertCircle:Te.id,lineAlertsNotificationBox:Ae.id,lineArrowsChevronDown:Oe.id,lineArrowsChevronDownDouble:Ee.id,lineArrowsChevronRight:Pe.id,lineArrowsChevronUp:je.id,lineArrowsChevronUpDouble:De.id,lineArrowsCornerDownRight:Ne.id,lineArrowsExpand3:Le.id,lineArrowsRefreshCcw1:Fe.id,lineArrowsSortLineAsc:Be.id,lineArrowsSortLineDesc:Re.id,lineArrowsSwitchVertical1:$e.id,lineChartsBarChartSquare:ze.id,lineDevBug2:Ie.id,lineDevCodeSquare:Ue.id,lineDevDataflow3:He.id,lineFilesClipboardCheck:Ve.id,lineFilesFile2:We.id,lineFilesFileAttachment2:Ye.id,lineFilesFolder:qe.id,lineGeneralCheck:Ze.id,lineGeneralChecklist3:Ge.id,lineGeneralCopy3:Xe.id,lineGeneralDownloadCloud:Qe.id,lineGeneralEqual:Je.id,lineGeneralEye:Ke.id,lineGeneralHomeLine:et.id,lineGeneralLink1:tt.id,lineGeneralLinkExternal:nt.id,lineGeneralSearchMd:rt.id,lineGeneralSettings1:it.id,lineGeneralXClose:ot.id,lineGeneralZap:at.id,lineHelpersFlag:st.id,lineHelpersPlayCircle:ct.id,lineIconBomb2:lt.id,lineImagesImage:ut.id,lineLayoutsColumn2:ft.id,lineLayoutsLayoutTop:dt.id,lineLayoutsMaximize2:ht.id,lineLayoutsMinimize2:pt.id,lineSecurityKey:gt.id,lineShapesDotCircle:mt.id,lineShapesMoon:bt.id,lineShapesSun:vt.id,lineTimeClockStopwatch:yt.id,playwrightLogo:_t.id,reportLogo:wt.id,solidAlertCircle:xt.id,solidCheckCircle:Ct.id,solidHelpCircle:kt.id,solidMinusCircle:Mt.id,solidXCircle:St.id,spinner:Tt.id,view:Et.id,viewOff:At.id},Dt=({id:e,size:t="s",inline:n=!1,className:r="","data-testid":i})=>O("svg",{className:D(Ot.icon,Ot[`size-${t}`],n&&Ot.inline,r),"data-testid":i,children:O("use",{xlinkHref:`#${e}`})}),jt=({size:e})=>O(Dt,{role:"progressbar",id:Tt.id,size:e}),Nt=({size:e="m",tag:t="span",type:n="paragraph",bold:r=!1,className:i,children:o,...a})=>"paragraph"===n?O(t,{...a,className:D(`paragraphs-text-${e}${r?"-bold":""}`,i),children:o}):"ui"===n?O(t,{...a,className:D(`ui-text-${e}-ui${r?"-bold":""}`,i),children:o}):null,Lt=({size:e="m",tag:t="span",type:n="paragraph",bold:r=!1,className:i,children:o,...a})=>"paragraph"===n?O(t,{...a,className:D(`paragraphs-code-${e}${r?"-bold":""}`,i),children:o}):"ui"===n?O(t,{...a,className:D(`ui-code-${e}-ui${r?"-bold":""}`,i),children:o}):null,Ft=({size:e="m",tag:t="span",className:n,children:r,...i})=>O(t,{...i,className:D(`headings-head-${e}`,n),children:r});var Bt={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 Rt=e=>{const{text:t,type:n="button",icon:r,iconSize:i="m",onClick:o,isPending:a=!1,size:s="m",style:c="primary",action:l="default",fullWidth:u=!1,isDisabled:f=!1,isIconButton:d=!1,isDropdownButton:h=!1,isActive:p=!1,focusable:g=!0,className:m,...b}=e,v=f||a;return O("button",{...b,tabIndex:g?0:-1,className:D(Bt.button,d&&Bt.buttonIcon,Bt[`size_${s}`],Bt[`icon_size_${i}`],Bt[`style_${c}`],"danger"===l&&Bt.danger,"positive"===l&&Bt.positive,a&&Bt.pending,u&&Bt.fullWidth,!v&&p&&Bt.active,m),disabled:v,onClick:o,type:n,children:O(Nt,{type:"ui",size:"s"===s?"s":"m",bold:!0,className:Bt.content,children:[r&&O(Dt,{size:"s",className:d?Bt.contentIcon:Bt.leadingIcon,id:r}),!d&&O("span",{className:Bt.text,children:t}),h&&O(Dt,{id:Pt.lineArrowsChevronDown,size:"s",className:Bt.dropdownIcon}),O("span",{className:Bt.spinner,"aria-hidden":!a,children:O(jt,{})})]})})},$t=e=>O(Rt,{...e}),zt=e=>O(Rt,{...e,isIconButton:!0}),It=e=>O(Rt,{...e,isDropdownButton:!0,isActive:e.isExpanded}),Ut=Math.min,Ht=Math.max,Vt={left:"right",right:"left",bottom:"top",top:"bottom"},Wt={start:"end",end:"start"};function Yt(e,t,n){return Ht(e,Ut(t,n))}function qt(e,t){return"function"==typeof e?e(t):e}function Zt(e){return e.split("-")[0]}function Gt(e){return e.split("-")[1]}function Xt(e){return"x"===e?"y":"x"}function Qt(e){return"y"===e?"height":"width"}function Jt(e){return["top","bottom"].includes(Zt(e))?"y":"x"}function Kt(e){return Xt(Jt(e))}function en(e){return e.replace(/start|end/g,(e=>Wt[e]))}function tn(e){return e.replace(/left|right|bottom|top/g,(e=>Vt[e]))}function nn(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 rn(e,t,n){let{reference:r,floating:i}=e;const o=Jt(t),a=Kt(t),s=Qt(a),c=Zt(t),l="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(c){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(Gt(t)){case"start":h[a]-=d*(n&&l?-1:1);break;case"end":h[a]+=d*(n&&l?-1:1)}return h}async function on(e,t){var n;void 0===t&&(t={});const{x:r,y:i,platform:o,rects:a,elements:s,strategy:c}=e,{boundary:l="clippingAncestors",rootBoundary:u="viewport",elementContext:f="floating",altBoundary:d=!1,padding:h=0}=qt(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],m=nn(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:l,rootBoundary:u,strategy:c})),b="floating"===f?{x:r,y:i,width:a.floating.width,height:a.floating.height}:a.reference,v=await(null==o.getOffsetParent?void 0:o.getOffsetParent(s.floating)),y=await(null==o.isElement?void 0:o.isElement(v))&&await(null==o.getScale?void 0:o.getScale(v))||{x:1,y:1},_=nn(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:b,offsetParent:v,strategy:c}):b);return{top:(m.top-_.top+p.top)/y.y,bottom:(_.bottom-m.bottom+p.bottom)/y.y,left:(m.left-_.left+p.left)/y.x,right:(_.right-m.right+p.right)/y.x}}const an=Math.min,sn=Math.max,cn=Math.round,ln=Math.floor,un=e=>({x:e,y:e});function fn(){return"undefined"!=typeof window}function dn(e){return gn(e)?(e.nodeName||"").toLowerCase():"#document"}function hn(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function pn(e){var t;return null==(t=(gn(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function gn(e){return!!fn()&&(e instanceof Node||e instanceof hn(e).Node)}function mn(e){return!!fn()&&(e instanceof Element||e instanceof hn(e).Element)}function bn(e){return!!fn()&&(e instanceof HTMLElement||e instanceof hn(e).HTMLElement)}function vn(e){return!(!fn()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof hn(e).ShadowRoot)}function yn(e){const{overflow:t,overflowX:n,overflowY:r,display:i}=Mn(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(i)}function _n(e){return["table","td","th"].includes(dn(e))}function wn(e){return[":popover-open",":modal"].some((t=>{try{return e.matches(t)}catch(e){return!1}}))}function xn(e){const t=Cn(),n=mn(e)?Mn(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 Cn(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function kn(e){return["html","body","#document"].includes(dn(e))}function Mn(e){return hn(e).getComputedStyle(e)}function Sn(e){return mn(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Tn(e){if("html"===dn(e))return e;const t=e.assignedSlot||e.parentNode||vn(e)&&e.host||pn(e);return vn(t)?t.host:t}function An(e){const t=Tn(e);return kn(t)?e.ownerDocument?e.ownerDocument.body:e.body:bn(t)&&yn(t)?t:An(t)}function En(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);const i=An(e),o=i===(null==(r=e.ownerDocument)?void 0:r.body),a=hn(i);if(o){const e=On(a);return t.concat(a,a.visualViewport||[],yn(i)?i:[],e&&n?En(e):[])}return t.concat(i,En(i,[],n))}function On(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Pn(e){const t=Mn(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const i=bn(e),o=i?e.offsetWidth:n,a=i?e.offsetHeight:r,s=cn(n)!==o||cn(r)!==a;return s&&(n=o,r=a),{width:n,height:r,$:s}}function Dn(e){return mn(e)?e:e.contextElement}function jn(e){const t=Dn(e);if(!bn(t))return un(1);const n=t.getBoundingClientRect(),{width:r,height:i,$:o}=Pn(t);let a=(o?cn(n.width):n.width)/r,s=(o?cn(n.height):n.height)/i;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const Nn=un(0);function Ln(e){const t=hn(e);return Cn()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:Nn}function Fn(e,t,n,r){void 0===t&&(t=!1),void 0===n&&(n=!1);const i=e.getBoundingClientRect(),o=Dn(e);let a=un(1);t&&(r?mn(r)&&(a=jn(r)):a=jn(e));const s=function(e,t,n){return void 0===t&&(t=!1),!(!n||t&&n!==hn(e))&&t}(o,n,r)?Ln(o):un(0);let c=(i.left+s.x)/a.x,l=(i.top+s.y)/a.y,u=i.width/a.x,f=i.height/a.y;if(o){const e=hn(o),t=r&&mn(r)?hn(r):r;let n=e,i=On(n);for(;i&&r&&t!==n;){const e=jn(i),t=i.getBoundingClientRect(),r=Mn(i),o=t.left+(i.clientLeft+parseFloat(r.paddingLeft))*e.x,a=t.top+(i.clientTop+parseFloat(r.paddingTop))*e.y;c*=e.x,l*=e.y,u*=e.x,f*=e.y,c+=o,l+=a,n=hn(i),i=On(n)}}return nn({width:u,height:f,x:c,y:l})}function Bn(e,t){const n=Sn(e).scrollLeft;return t?t.left+n:Fn(pn(e)).left+n}function Rn(e,t,n){void 0===n&&(n=!1);const r=e.getBoundingClientRect();return{x:r.left+t.scrollLeft-(n?0:Bn(e,r)),y:r.top+t.scrollTop}}function $n(e,t,n){let r;if("viewport"===t)r=function(e,t){const n=hn(e),r=pn(e),i=n.visualViewport;let o=r.clientWidth,a=r.clientHeight,s=0,c=0;if(i){o=i.width,a=i.height;const e=Cn();(!e||e&&"fixed"===t)&&(s=i.offsetLeft,c=i.offsetTop)}return{width:o,height:a,x:s,y:c}}(e,n);else if("document"===t)r=function(e){const t=pn(e),n=Sn(e),r=e.ownerDocument.body,i=sn(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),o=sn(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let a=-n.scrollLeft+Bn(e);const s=-n.scrollTop;return"rtl"===Mn(r).direction&&(a+=sn(t.clientWidth,r.clientWidth)-i),{width:i,height:o,x:a,y:s}}(pn(e));else if(mn(t))r=function(e,t){const n=Fn(e,!0,"fixed"===t),r=n.top+e.clientTop,i=n.left+e.clientLeft,o=bn(e)?jn(e):un(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=Ln(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return nn(r)}function zn(e,t){const n=Tn(e);return!(n===t||!mn(n)||kn(n))&&("fixed"===Mn(n).position||zn(n,t))}function In(e,t,n){const r=bn(t),i=pn(t),o="fixed"===n,a=Fn(e,!0,o,t);let s={scrollLeft:0,scrollTop:0};const c=un(0);if(r||!r&&!o)if(("body"!==dn(t)||yn(i))&&(s=Sn(t)),r){const e=Fn(t,!0,o,t);c.x=e.x+t.clientLeft,c.y=e.y+t.clientTop}else i&&(c.x=Bn(i));const l=!i||r||o?un(0):Rn(i,s);return{x:a.left+s.scrollLeft-c.x-l.x,y:a.top+s.scrollTop-c.y-l.y,width:a.width,height:a.height}}function Un(e){return"static"===Mn(e).position}function Hn(e,t){if(!bn(e)||"fixed"===Mn(e).position)return null;if(t)return t(e);let n=e.offsetParent;return pn(e)===n&&(n=n.ownerDocument.body),n}function Vn(e,t){const n=hn(e);if(wn(e))return n;if(!bn(e)){let t=Tn(e);for(;t&&!kn(t);){if(mn(t)&&!Un(t))return t;t=Tn(t)}return n}let r=Hn(e,t);for(;r&&_n(r)&&Un(r);)r=Hn(r,t);return r&&kn(r)&&Un(r)&&!xn(r)?n:r||function(e){let t=Tn(e);for(;bn(t)&&!kn(t);){if(xn(t))return t;if(wn(t))return null;t=Tn(t)}return null}(e)||n}const Wn={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e;const o="fixed"===i,a=pn(r),s=!!t&&wn(t.floating);if(r===a||s&&o)return n;let c={scrollLeft:0,scrollTop:0},l=un(1);const u=un(0),f=bn(r);if((f||!f&&!o)&&(("body"!==dn(r)||yn(a))&&(c=Sn(r)),bn(r))){const e=Fn(r);l=jn(r),u.x=e.x+r.clientLeft,u.y=e.y+r.clientTop}const d=!a||f||o?un(0):Rn(a,c,!0);return{width:n.width*l.x,height:n.height*l.y,x:n.x*l.x-c.scrollLeft*l.x+u.x+d.x,y:n.y*l.y-c.scrollTop*l.y+u.y+d.y}},getDocumentElement:pn,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e;const o=[..."clippingAncestors"===n?wn(t)?[]:function(e,t){const n=t.get(e);if(n)return n;let r=En(e,[],!1).filter((e=>mn(e)&&"body"!==dn(e))),i=null;const o="fixed"===Mn(e).position;let a=o?Tn(e):e;for(;mn(a)&&!kn(a);){const t=Mn(a),n=xn(a);n||"fixed"!==t.position||(i=null),(o?!n&&!i:!n&&"static"===t.position&&i&&["absolute","fixed"].includes(i.position)||yn(a)&&!n&&zn(e,a))?r=r.filter((e=>e!==a)):i=t,a=Tn(a)}return t.set(e,r),r}(t,this._c):[].concat(n),r],a=o[0],s=o.reduce(((e,n)=>{const r=$n(t,n,i);return e.top=sn(r.top,e.top),e.right=an(r.right,e.right),e.bottom=an(r.bottom,e.bottom),e.left=sn(r.left,e.left),e}),$n(t,a,i));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:Vn,getElementRects:async function(e){const t=this.getOffsetParent||Vn,n=this.getDimensions,r=await n(e.floating);return{reference:In(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}=Pn(e);return{width:t,height:n}},getScale:jn,isElement:mn,isRTL:function(e){return"rtl"===Mn(e).direction}};function Yn(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function qn(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:c=!1}=r,l=Dn(e),u=i||o?[...l?En(l):[],...En(t)]:[];u.forEach((e=>{i&&e.addEventListener("scroll",n,{passive:!0}),o&&e.addEventListener("resize",n)}));const f=l&&s?function(e,t){let n,r=null;const i=pn(e);function o(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return function a(s,c){void 0===s&&(s=!1),void 0===c&&(c=1),o();const l=e.getBoundingClientRect(),{left:u,top:f,width:d,height:h}=l;if(s||t(),!d||!h)return;const p={rootMargin:-ln(f)+"px "+-ln(i.clientWidth-(u+d))+"px "+-ln(i.clientHeight-(f+h))+"px "+-ln(u)+"px",threshold:sn(0,an(1,c))||1};let g=!0;function m(t){const r=t[0].intersectionRatio;if(r!==c){if(!g)return a();r?a(!1,r):n=setTimeout((()=>{a(!1,1e-7)}),1e3)}1!==r||Yn(l,e.getBoundingClientRect())||a(),g=!1}try{r=new IntersectionObserver(m,{...p,root:i.ownerDocument})}catch(e){r=new IntersectionObserver(m,p)}r.observe(e)}(!0),o}(l,n):null;let d,h=-1,p=null;a&&(p=new ResizeObserver((e=>{let[r]=e;r&&r.target===l&&p&&(p.unobserve(t),cancelAnimationFrame(h),h=requestAnimationFrame((()=>{var e;null==(e=p)||e.observe(t)}))),n()})),l&&!c&&p.observe(l),p.observe(t));let g=c?Fn(e):null;return c&&function t(){const r=Fn(e);g&&!Yn(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,c&&cancelAnimationFrame(d)}}const Zn=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,c=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=Zt(n),s=Gt(n),c="y"===Jt(n),l=["left","top"].includes(a)?-1:1,u=o&&c?-1:1,f=qt(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),c?{x:h*u,y:d*l}:{x:d*l,y:h*u}}(t,e);return a===(null==(n=s.offset)?void 0:n.placement)&&null!=(r=s.arrow)&&r.alignmentOffset?{}:{x:i+c.x,y:o+c.y,data:{...c,placement:a}}}}},Gn=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}}},...c}=qt(e,t),l={x:n,y:r},u=await on(t,c),f=Jt(Zt(i)),d=Xt(f);let h=l[d],p=l[f];if(o){const e="y"===d?"bottom":"right";h=Yt(h+u["y"===d?"top":"left"],h,h-u[e])}if(a){const e="y"===f?"bottom":"right";p=Yt(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}}}}}},Xn=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:c,elements:l}=t,{mainAxis:u=!0,crossAxis:f=!0,fallbackPlacements:d,fallbackStrategy:h="bestFit",fallbackAxisSideDirection:p="none",flipAlignment:g=!0,...m}=qt(e,t);if(null!=(n=o.arrow)&&n.alignmentOffset)return{};const b=Zt(i),v=Jt(s),y=Zt(s)===s,_=await(null==c.isRTL?void 0:c.isRTL(l.floating)),w=d||(y||!g?[tn(s)]:function(e){const t=tn(e);return[en(e),t,en(t)]}(s)),x="none"!==p;!d&&x&&w.push(...function(e,t,n,r){const i=Gt(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[]}}(Zt(e),"start"===n,r);return i&&(o=o.map((e=>e+"-"+i)),t&&(o=o.concat(o.map(en)))),o}(s,g,p,_));const C=[s,...w],k=await on(t,m),M=[];let S=(null==(r=o.flip)?void 0:r.overflows)||[];if(u&&M.push(k[b]),f){const e=function(e,t,n){void 0===n&&(n=!1);const r=Gt(e),i=Kt(e),o=Qt(i);let a="x"===i?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[o]>t.floating[o]&&(a=tn(a)),[a,tn(a)]}(i,a,_);M.push(k[e[0]],k[e[1]])}if(S=[...S,{placement:i,overflows:M}],!M.every((e=>e<=0))){var T,A;const e=((null==(T=o.flip)?void 0:T.index)||0)+1,t=C[e];if(t)return{data:{index:e,overflows:S},reset:{placement:t}};let n=null==(A=S.filter((e=>e.overflows[0]<=0)).sort(((e,t)=>e.overflows[1]-t.overflows[1]))[0])?void 0:A.placement;if(!n)switch(h){case"bestFit":{var E;const e=null==(E=S.filter((e=>{if(x){const t=Jt(e.placement);return t===v||"y"===t}return!0})).map((e=>[e.placement,e.overflows.filter((e=>e>0)).reduce(((e,t)=>e+t),0)])).sort(((e,t)=>e[1]-t[1]))[0])?void 0:E[0];e&&(n=e);break}case"initialPlacement":n=s}if(i!==n)return{reset:{placement:n}}}return{}}}},Qn=(e,t,n)=>{const r=new Map,i={platform:Wn,...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),c=await(null==a.isRTL?void 0:a.isRTL(t));let l=await a.getElementRects({reference:e,floating:t,strategy:i}),{x:u,y:f}=rn(l,r,c),d=r,h={},p=0;for(let n=0;n<s.length;n++){const{name:o,fn:g}=s[n],{x:m,y:b,data:v,reset:y}=await g({x:u,y:f,initialPlacement:r,placement:d,strategy:i,middlewareData:h,rects:l,platform:a,elements:{reference:e,floating:t}});u=null!=m?m:u,f=null!=b?b:f,h={...h,[o]:{...h[o],...v}},y&&p<=50&&(p++,"object"==typeof y&&(y.placement&&(d=y.placement),y.rects&&(l=!0===y.rects?await a.getElementRects({reference:e,floating:t,strategy:i}):y.rects),({x:u,y:f}=rn(l,d,c))),n=-1)}return{x:u,y:f,placement:d,strategy:i,middlewareData:h}})(e,t,{...i,platform:o})};var Jn="styles_custom-tooltip__2reCz";const Kn=({children:e})=>O("div",{className:Jn,children:O(Nt,{className:"tooltip-content",size:"s",bold:!0,children:e})}),er=({tooltipText:e,tooltipTextAfterClick:t,tooltipComponent:n,children:r,placement:i="top",triggerMode:o="hover",autoHideDelay:a=600,isTriggerActive:u=!0})=>{const f=s(null),d=s(null),[h,p]=c(!1),[g,m]=c(e),b=s(null);l((()=>{m(e);const t=()=>{d.current&&f.current&&Qn(d.current,f.current,{placement:i,middleware:[Zn(6),Xn(),Gn({padding:5})]}).then((({x:e,y:t})=>{f.current&&Object.assign(f.current.style,{left:`${e}px`,top:`${t}px`,position:"absolute","z-index":100})}))};return h&&t(),d.current&&f.current?qn(d.current,f.current,t):()=>{}}),[h,i,e]);l((()=>()=>{b.current&&clearTimeout(b.current)}),[]);const v=n||O(Kn,{children:g});return O("div",{onMouseEnter:()=>{"hover"===o&&u&&p(!0),"click"===o&&b.current&&clearTimeout(b.current)},onMouseLeave:()=>{"hover"===o?(p(!1),m(e)):"click"===o&&h&&(b.current=window.setTimeout((()=>{p(!1)}),a))},onClick:()=>{"click"===o&&d.current&&u&&(p(!0),b.current&&clearTimeout(b.current)),t&&m(t)},children:[O("div",{ref:d,children:r}),O("div",{ref:f,children:h&&v})]})},tr=e=>{const{source:t,transformData:n=e=>e,renderLoader:r=()=>null,renderError:i=e=>O("div",{children:e}),renderData:o}=e;return t.value.loading?r():t.value.error?i(t.value.error):o(n(t.value.data))};var nr="styles_page-loader__OFuzd";const rr=()=>O("div",{className:nr,children:O(jt,{size:"m"})}),ir=(e,t=300)=>{const n=s(e);return l((()=>{n.current=e}),[e]),u(((e,t=300)=>{let n;return(...r)=>{clearTimeout(n),n=setTimeout((()=>{e(...r)}),t)}})(((...e)=>n.current(...e)),t),[t])};var or="styles_inputWrap__96bWy",ar="styles_input__ir8z5",sr="styles_inputClear__R8pU3",cr="styles_leadingIcon__6Bcbs",lr="styles_clearButton__SR4Dg";const ur=e=>{const{placeholder:t,value:n,onChange:r,changeDebounce:i=300}=e,[o,a]=c(n),s=ir(r,i),l=!!o;return O(Nt,{className:or,type:"ui",size:"m",tag:"div",children:[O(Dt,{id:rt.id,size:"s",className:cr}),O("input",{className:D(ar,l&&sr),type:"text",placeholder:t,onInput:e=>{const t=e.target.value;a(t),s(t)},value:o,name:"search",autocomplete:"off","data-testid":"search-input"}),l&&O("div",{className:lr,children:O(zt,{size:"s",icon:ot.id,onClick:e=>{e.preventDefault(),e.stopPropagation(),a(""),s("")},style:"ghost","data-testid":"clear-button"})})]})};var fr={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 dr=t(null),hr=e=>{const{children:t,menuTrigger:r,menuTriggerWrapper:i="div",size:o="m",isInitialOpened:a=!1,placement:u="bottom-end"}=e,[f,d]=c(a),h=s(null),p=s(null);return l((()=>{const e=e=>{"Escape"===e.key&&f&&d(!1)};return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)}}),[f]),l((()=>{const e=e=>{f&&h.current&&(h.current.contains(e.target)||d(!1))};return f&&document.addEventListener("click",e),()=>{document.removeEventListener("click",e)}}),[f]),l((()=>{const e=()=>{(h.current||p.current)&&Qn(p.current,h.current,{placement:u,middleware:[Zn(6),Xn(),Gn({padding:5})]}).then((({x:e,y:t})=>{h.current&&Object.assign(h.current.style,{left:`${e}px`,top:`${t}px`,position:"absolute","z-index":10})}))};return e(),qn(p.current,h.current,e)}),[h.current,p.current]),O(dr.Provider,{value:{setIsOpened:d},children:O(n,{children:["function"==typeof r&&O(i,{ref:p,children:r({isOpened:f,onClick:()=>{d(!f)},setIsOpened:d})}),O("div",{ref:h,children:f&&O("aside",{className:D(fr.menu,fr[`size-${o}`]),children:t})})]})})};hr.Section=e=>{const{children:t,...n}=e;return O("ul",{className:fr.section,...n,children:t})},hr.Item=e=>{const{setIsOpened:t}=(()=>{const e=f(dr);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,...c}=e,l="function"==typeof r,u="string"==typeof i;return O("li",{className:fr.menuListItem,...c,children:O(Nt,{"aria-label":a,type:"paragraph",size:"m",tag:l?"button":"div",className:D(fr.menuItem,l&&fr.interactive),onClick:e=>{l&&s&&(e.stopPropagation(),t(!1)),l&&r?.()},"data-interactive-menu-item":!!l||void 0,children:[u&&O(Dt,{id:i,className:fr.leadingIcon,size:"m"}),O("div",{className:fr.content,children:n}),o&&O("div",{className:fr.right,children:o})]})})},hr.ItemWithCheckmark=e=>{const{isChecked:t=!1,...n}=e;return O(hr.Item,{...n,rightSlot:t&&O(Dt,{className:fr.checkmarkIcon,id:Ze.id})})};var pr={"arrow-button":"styles_arrow-button__PtmoB","arrow-button-s":"styles_arrow-button-s__LG1S5","arrow-button-m":"styles_arrow-button-m__i7jQC","icon-size-m":"styles_icon-size-m__cHrQH","arrow-button-icon":"styles_arrow-button-icon__X5gUo","arrow-button-icon--opened":"styles_arrow-button-icon--opened__9AOMd"};const gr=({isOpened:e,buttonSize:t="m",iconSize:n="xs",className:r,icon:i=Pt.lineArrowsChevronDown,onClick:o,...a})=>O("button",{type:"button",...a,className:D(pr["arrow-button"],pr[`arrow-button-${t}`]),onClick:o,children:O(Dt,{id:i,size:n,className:D({[pr["arrow-button-icon--opened"]]:e},pr["arrow-button-icon"],pr[`icon-size-${n}`],r)})}),mr=async e=>(await new Promise((e=>{const t=()=>{if(globalThis.allureReportDataReady)return e(!0);setTimeout(t,30)};t()})),new Promise(((t,n)=>globalThis.allureReportData[e]?t(globalThis.allureReportData[e]):n(new Error(`Data "${e}" not found!`))))),br=async(e,t)=>{const n=await(async(e,t="application/octet-stream")=>{if(globalThis.allureReportData){const n=e.replace(/\?attachment$/,"");return`data:${t};base64,${await mr(n)}`}const n=globalThis.document.head.querySelector("base")?.href??"https://localhost",r=new URL(e,n),i=globalThis.localStorage.getItem("__allure_report_live_reload_hash__");return i&&r.searchParams.set("live_reload_hash",i),r.pathname+r.search+r.hash})(e,t);return globalThis.fetch(n)},vr=async({id:e,ext:t,contentType:n})=>br(`data/attachments/${`${e||"-"}${t||""}`}?attachment`,n),yr=async(e,t,n)=>{const r=await vr({id:e,ext:t,contentType:n});return await r.blob()},_r=e=>{switch(e){case"image/bmp":case"image/gif":case"image/tiff":case"image/jpeg":case"image/jpg":case"image/png":case"image/*":return{type:"image",icon:"file"};case"text/xml":case"application/xml":case"application/json":case"text/json":case"text/yaml":case"application/yaml":case"application/x-yaml":case"text/x-yaml":case"text/css":return{type:"code",icon:"file"};case"text/plain":case"text/*":return{type:"text",icon:"txt"};case"text/html":return{type:"html",icon:"file"};case"text/csv":return{type:"table",icon:"csv"};case"text/tab-separated-values":return{type:"table",icon:"table"};case"image/svg+xml":return{type:"svg",icon:"file"};case"video/mp4":case"video/ogg":case"video/webm":return{type:"video",icon:"file"};case"text/uri-list":return{type:"uri",icon:"list"};case"application/x-tar":case"application/x-gtar":case"application/x-bzip2":case"application/gzip":case"application/zip":return{type:"archive",icon:"file"};default:return{type:null,icon:"file"}}},wr={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 xr(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 Cr(e,t){this.props=e,this.context=t}(Cr.prototype=new r).isPureReactComponent=!0,Cr.prototype.shouldComponentUpdate=function(e,t){return xr(this.props,e)||xr(this.state,t)};var kr=e.__b;e.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),kr&&kr(e)};var Mr=e.__e;e.__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);Mr(e,t,n,r)};var Sr=e.unmount;function Tr(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 Tr(e,t,n)}))),e}function Ar(e,t,n){return e&&n&&(e.__v=null,e.__k=e.__k&&e.__k.map((function(e){return Ar(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 Er(){this.__u=0,this.t=null,this.__b=null}function Or(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function Pr(){this.u=null,this.o=null}e.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),Sr&&Sr(e)},(Er.prototype=new r).__c=function(e,t){var n=t.__c,r=this;null==r.t&&(r.t=[]),r.t.push(n);var i=Or(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]=Ar(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)},Er.prototype.componentWillUnmount=function(){this.t=[]},Er.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var r=document.createElement("div"),o=this.__v.__k[0].__c;this.__v.__k[0]=Tr(this.__b,r,o.__O=o.__P)}this.__b=null}var a=t.__a&&i(n,null,e.fallback);return a&&(a.__u&=-33),[i(n,null,t.__a?null:e.children),a]};var Dr=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]}};(Pr.prototype=new r).__a=function(e){var t=this,n=Or(t.__v),r=t.o.get(e);return r[0]++,function(i){var o=function(){t.props.revealOrder?(r.push(i),Dr(t,e,r)):i()};n?n(o):o()}},Pr.prototype.render=function(e){this.u=null,this.o=new Map;var t=o(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},Pr.prototype.componentDidUpdate=Pr.prototype.componentDidMount=function(){var e=this;this.o.forEach((function(t,n){Dr(e,n,t)}))};var jr="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,Nr=/^(?: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]/,Lr=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,Fr=/[A-Z0-9]/g,Br="undefined"!=typeof document,Rr=function(e){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/:/fil|che|ra/).test(e)};r.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach((function(e){Object.defineProperty(r.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})}));var $r=e.event;function zr(){}function Ir(){return this.cancelBubble}function Ur(){return this.defaultPrevented}e.event=function(e){return $r&&(e=$r(e)),e.persist=zr,e.isPropagationStopped=Ir,e.isDefaultPrevented=Ur,e.nativeEvent=e};var Hr={enumerable:!1,configurable:!0,get:function(){return this.class}},Vr=e.vnode;e.vnode=function(e){"string"==typeof e.type&&function(e){var t=e.props,n=e.type,r={},i=-1===n.indexOf("-");for(var a in t){var s=t[a];if(!("value"===a&&"defaultValue"in t&&null==s||Br&&"children"===a&&"noscript"===n||"class"===a||"className"===a)){var c=a.toLowerCase();"defaultValue"===a&&"value"in t&&null==t.value?a="value":"download"===a&&!0===s?s="":"translate"===c&&"no"===s?s=!1:"o"===c[0]&&"n"===c[1]?"ondoubleclick"===c?a="ondblclick":"onchange"!==c||"input"!==n&&"textarea"!==n||Rr(t.type)?"onfocus"===c?a="onfocusin":"onblur"===c?a="onfocusout":Lr.test(a)&&(a=c):c=a="oninput":i&&Nr.test(a)?a=a.replace(Fr,"-$&").toLowerCase():null===s&&(s=void 0),"oninput"===c&&r[a=c]&&(a="oninputCapture"),r[a]=s}}"select"==n&&r.multiple&&Array.isArray(r.value)&&(r.value=o(t.children).forEach((function(e){e.props.selected=-1!=r.value.indexOf(e.props.value)}))),"select"==n&&null!=r.defaultValue&&(r.value=o(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",Hr)):(t.className&&!t.class||t.class&&t.className)&&(r.class=r.className=t.className),e.props=r}(e),e.$$typeof=jr,Vr&&Vr(e)};var Wr=e.__r;e.__r=function(e){Wr&&Wr(e),e.__c};var Yr=e.diffed;function qr(e){return function(e){return!!e&&e.$$typeof===jr}(e)?a.apply(null,arguments):e}e.diffed=function(e){Yr&&Yr(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 Zr="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function Gr(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Xr,Qr={exports:{}};var Jr=(Xr||(Xr=1,function(e){var t=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 c in n)n.hasOwnProperty(c)&&(a[c]=n[c]);n.hasOwnProperty(s)||(a[s]=o[s])}var l=r[e];return r[e]=a,i.languages.DFS(i.languages,(function(t,n){n===l&&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 c=t[s],l=i.util.type(c);"Object"!==l||o[a(c)]?"Array"!==l||o[a(c)]||(o[a(c)]=!0,e(c,n,s,o)):(o[a(c)]=!0,e(c,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 c={element:t,language:o,grammar:a,code:t.textContent};function l(e){c.highlightedCode=e,i.hooks.run("before-insert",c),c.element.innerHTML=c.highlightedCode,i.hooks.run("after-highlight",c),i.hooks.run("complete",c),r&&r.call(c.element)}if(i.hooks.run("before-sanity-check",c),(s=c.element.parentElement)&&"pre"===s.nodeName.toLowerCase()&&!s.hasAttribute("tabindex")&&s.setAttribute("tabindex","0"),!c.code)return i.hooks.run("complete",c),void(r&&r.call(c.element));if(i.hooks.run("before-highlight",c),c.grammar)if(n&&e.Worker){var u=new Worker(i.filename);u.onmessage=function(e){l(e.data)},u.postMessage(JSON.stringify({language:c.language,code:c.code,immediateClose:!0}))}else l(i.highlight(c.code,c.grammar,c.language));else l(i.util.encode(c.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 c;return l(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,c,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],m=g.inside,b=!!g.lookbehind,v=!!g.greedy,y=g.alias;if(v&&!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,C=c;x!==t.tail&&!(f&&C>=f.reach);C+=x.value.length,x=x.next){var k=x.value;if(t.length>e.length)return;if(!(k instanceof o)){var M,S=1;if(v){if(!(M=a(w,C,e,b))||M.index>=e.length)break;var T=M.index,A=M.index+M[0].length,E=C;for(E+=x.value.length;T>=E;)E+=(x=x.next).value.length;if(C=E-=x.value.length,x.value instanceof o)continue;for(var O=x;O!==t.tail&&(E<A||"string"==typeof O.value);O=O.next)S++,E+=O.value.length;S--,k=e.slice(C,E),M.index-=C}else if(!(M=a(w,0,k,b)))continue;T=M.index;var P=M[0],D=k.slice(0,T),j=k.slice(T+P.length),N=C+k.length;f&&N>f.reach&&(f.reach=N);var L=x.prev;if(D&&(L=l(t,L,D),C+=D.length),u(t,L,S),x=l(t,L,new o(d,m?i.tokenize(P,m):P,y,P)),j&&l(t,x,j),S>1){var F={cause:d+","+p,reach:N};s(e,t,n,x.prev,C,F),f&&F.reach>f.reach&&(f.reach=F.reach)}}}}}}function c(){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 l(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 c in o.attributes)s+=" "+c+'="'+(o.attributes[c]||"").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:{});
|
|
1
|
+
import{options as e,createContext as t,Fragment as n,Component as r,createElement as i,toChildArray as o,cloneElement as a}from"preact";import{useRef as s,useState as c,useEffect as l,useCallback as u,useContext as f,useMemo as d}from"preact/hooks";import*as h from"react";import{useEffect as p,useLayoutEffect as g,useState as m,useRef as b,forwardRef as v,useCallback as y,useContext as _,useMemo as w,memo as x,createContext as C,createElement as k,Component as M,cloneElement as S,Fragment as T}from"react";import{unstable_batchedUpdates as A}from"react-dom";var E=0;function O(t,n,r,i,o,a){n||(n={});var s,c,l=n;if("ref"in l)for(c in l={},n)"ref"==c?s=n[c]:l[c]=n[c];var u={type:t,props:l,key:r,ref:s,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:--E,__i:-1,__u:0,__source:o,__self:a};if("function"==typeof t&&(s=t.defaultProps))for(c in s)void 0===l[c]&&(l[c]=s[c]);return e.vnode&&e.vnode(u),u}function P(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=P(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function D(){for(var e,t,n=0,r="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=P(e))&&(r&&(r+=" "),r+=t);return r}"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self&&self;var j={exports:{}};j.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(e){return Array.isArray(e)?[]:{}}function n(n,r){return r&&!0===r.clone&&e(n)?o(t(n),n,r):n}function r(t,r,i){var a=t.slice();return r.forEach((function(r,s){void 0===a[s]?a[s]=n(r,i):e(r)?a[s]=o(t[s],r,i):-1===t.indexOf(r)&&a.push(n(r,i))})),a}function i(t,r,i){var a={};return e(t)&&Object.keys(t).forEach((function(e){a[e]=n(t[e],i)})),Object.keys(r).forEach((function(s){e(r[s])&&t[s]?a[s]=o(t[s],r[s],i):a[s]=n(r[s],i)})),a}function o(e,t,o){var a=Array.isArray(t),s=(o||{arrayMerge:r}).arrayMerge||r;return a?Array.isArray(e)?s(e,t,o):n(t,o):i(e,t,o)}return o.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 o(e,n,t)}))},o}();var N=j.exports;var L,F,R={exports:{}};L=R,(F=R.exports).default={svg:{name:"xmlns",uri:"http://www.w3.org/2000/svg"},xlink:{name:"xmlns:xlink",uri:"http://www.w3.org/1999/xlink"}},L.exports=F.default;var B=R.exports;const{svg:$,xlink:z}=B,I={[$.name]:$.uri,[z.name]:z.uri};function U(e="",t){const n=function(e){return Object.keys(e).map((t=>`${t}="${e[t].toString().replace(/"/g,""")}"`)).join(" ")}(N(I,t||{}));return`<svg ${n}>${e}</svg>`}const{svg:H,xlink:V}=B;var W={attrs:{[H.name]:H.uri,[V.name]:V.uri,style:["position: absolute","width: 0","height: 0"].join("; "),"aria-hidden":"true"}};class Y{constructor(e){this.config=N(W,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 U(this.symbols.map((e=>e.stringify())).join(""),e)}toString(){return this.stringify()}destroy(){this.symbols.forEach((e=>e.destroy()))}}class q{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 Z(e){const t=!!document.importNode,n=(new DOMParser).parseFromString(e,"image/svg+xml").documentElement;return t?document.importNode(n,!0):n}class G extends q{get isMounted(){return!!this.node}static createFromExistingNode(e){return new G({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 Z(U(this.stringify())).childNodes[0]}unmount(){this.node.parentNode.removeChild(this.node)}}var X={autoConfigure:!0,mountTo:"body",syncUrlsWithBaseTag:!1,listenLocationChangeEvent:!0,locationChangeEvent:"locationChange",locationChangeAngularEmitter:!1,usagesToUpdate:"use[*|href]",moveGradientsOutsideSymbol:!1};function Q(e){return Array.prototype.slice.call(e,0)}var J=()=>/firefox/i.test(navigator.userAgent),K=()=>/msie/i.test(navigator.userAgent)||/trident/i.test(navigator.userAgent),ee=()=>/edge/i.test(navigator.userAgent);function te(e){return(e||window.location.href).split("#")[0]}function ne(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})}))}])}function re(e,t="linearGradient, radialGradient, pattern, mask, clipPath"){return Q(e.querySelectorAll("symbol")).forEach((e=>{Q(e.querySelectorAll(t)).forEach((t=>{e.parentNode.insertBefore(t,e)}))})),e}const ie=B.xlink.uri,oe="xlink:href",ae=/[{}|\\\^\[\]`"<>]/g;function se(e){return e.replace(ae,(e=>`%${e[0].charCodeAt(0).toString(16).toUpperCase()}`))}const ce=["clipPath","colorProfile","src","cursor","fill","filter","marker","markerStart","markerMid","markerEnd","mask","stroke","style"],le=ce.map((e=>`[${e}]`)).join(",");function ue(e,t,n,r){const i=se(n),o=se(r),a=function(e,t){return Q(e).reduce(((e,n)=>{if(!n.attributes)return e;const r=Q(n.attributes).filter(t);return e.concat(r)}),[])}(e.querySelectorAll(le),(({localName:e,value:t})=>-1!==ce.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){Q(e).forEach((e=>{const r=e.getAttribute(oe);if(r&&0===r.indexOf(t)){const i=r.replace(t,n);e.setAttributeNS(ie,oe,i)}}))}(t,i,o)}const fe="mount",de="symbol_mount";const he="__SVG_SPRITE_NODE__",pe="__SVG_SPRITE__",ge=()=>{const e=document.getElementById(he);e?me.attach(e):me.mount(document.body,!0)};let me=new class extends Y{constructor(e={}){super(N(X,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(fe,(()=>this.updateUrls("#",e)))}const i=this._handleLocationChange.bind(this);this._handleLocationChange=i,r.listenLocationChangeEvent&&window.addEventListener(r.locationChangeEvent,i),r.locationChangeAngularEmitter&&ne(r.locationChangeEvent),t.on(fe,(e=>{r.moveGradientsOutsideSymbol&&re(e)})),t.on(de,(e=>{r.moveGradientsOutsideSymbol&&re(e.parentNode),(K()||ee())&&function(e){const t=[];Q(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=J())}_handleLocationChange(e){const{oldUrl:t,newUrl:n}=e.detail;this.updateUrls(t,n)}add(e){const t=this,n=super.add(e);return this.isMounted&&n&&(e.mount(t.node),this._emitter.emit(de,e.node)),n}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(de,e.node)})),Q(n.querySelectorAll("symbol")).forEach((e=>{const n=G.createFromExistingNode(e);n.node=e,t.add(n)})),this._emitter.emit(fe,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(fe,i),i}render(){return Z(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 ue(this.node,n,`${te(e)}#`,`${te(t)}#`),!0}}({attrs:{id:he,"aria-hidden":"true"},autoConfigure:"undefined"!=typeof document,listenLocationChangeEvent:"undefined"!=typeof window});var be,ve,ye,_e,we,xe;"undefined"!=typeof window&&"undefined"!=typeof document&&(window[pe]?me=window[pe]:window[pe]=me,document.body?ge():(ve=[],ye=document,_e=ye.documentElement.doScroll,we="DOMContentLoaded",(xe=(_e?/^loaded|^c/:/^loaded|^i|^c/).test(ye.readyState))||ye.addEventListener(we,be=function(){for(ye.removeEventListener(we,be),xe=1;be=ve.shift();)be()}),function(e){xe?setTimeout(e,0):ve.push(e)})(ge));const Ce=new G({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"});me.add(Ce);const ke=new G({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"});me.add(ke);const Me=new G({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"});me.add(Me);const Se=new G({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"});me.add(Se);const Te=new G({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"});me.add(Te);const Ae=new G({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"});me.add(Ae);const Ee=new G({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"});me.add(Ee);const Oe=new G({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"});me.add(Oe);const Pe=new G({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"});me.add(Pe);const De=new G({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"});me.add(De);const je=new G({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"});me.add(je);const Ne=new G({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"});me.add(Ne);const Le=new G({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"});me.add(Le);const Fe=new G({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"});me.add(Fe);const Re=new G({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"});me.add(Re);const Be=new G({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"});me.add(Be);const $e=new G({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"});me.add($e);const ze=new G({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"});me.add(ze);const Ie=new G({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"});me.add(Ie);const Ue=new G({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"});me.add(Ue);const He=new G({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"});me.add(He);const Ve=new G({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"});me.add(Ve);const We=new G({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"});me.add(We);const Ye=new G({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"});me.add(Ye);const qe=new G({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"});me.add(qe);const Ze=new G({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"});me.add(Ze);const Ge=new G({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"});me.add(Ge);const Xe=new G({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"});me.add(Xe);const Qe=new G({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"});me.add(Qe);const Je=new G({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"});me.add(Je);const Ke=new G({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"});me.add(Ke);const et=new G({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"});me.add(et);const tt=new G({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"});me.add(tt);const nt=new G({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"});me.add(nt);const rt=new G({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"});me.add(rt);const it=new G({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"});me.add(it);const ot=new G({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"});me.add(ot);const at=new G({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"});me.add(at);const st=new G({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"});me.add(st);const ct=new G({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"});me.add(ct);const lt=new G({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"});me.add(lt);const ut=new G({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"});me.add(ut);const ft=new G({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"});me.add(ft);const dt=new G({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"});me.add(dt);const ht=new G({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"});me.add(ht);const pt=new G({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"});me.add(pt);const gt=new G({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"});me.add(gt);const mt=new G({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"});me.add(mt);const bt=new G({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"});me.add(bt);const vt=new G({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"});me.add(vt);const yt=new G({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"});me.add(yt);const _t=new G({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"});me.add(_t);const wt=new G({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"});me.add(wt);const xt=new G({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"});me.add(xt);const Ct=new G({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"});me.add(Ct);const kt=new G({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"});me.add(kt);const Mt=new G({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"});me.add(Mt);const St=new G({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"});me.add(St);const Tt=new G({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"});me.add(Tt);const At=new G({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"});me.add(At);const Et=new G({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"});me.add(Et);var Ot={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 Pt={arrowsChevronDown:Ce.id,environment:Me.id,github:Se.id,draggable:ke.id,lineAlertsAlertCircle:Te.id,lineAlertsNotificationBox:Ae.id,lineArrowsChevronDown:Oe.id,lineArrowsChevronDownDouble:Ee.id,lineArrowsChevronRight:Pe.id,lineArrowsChevronUp:je.id,lineArrowsChevronUpDouble:De.id,lineArrowsCornerDownRight:Ne.id,lineArrowsExpand3:Le.id,lineArrowsRefreshCcw1:Fe.id,lineArrowsSortLineAsc:Re.id,lineArrowsSortLineDesc:Be.id,lineArrowsSwitchVertical1:$e.id,lineChartsBarChartSquare:ze.id,lineDevBug2:Ie.id,lineDevCodeSquare:Ue.id,lineDevDataflow3:He.id,lineFilesClipboardCheck:Ve.id,lineFilesFile2:We.id,lineFilesFileAttachment2:Ye.id,lineFilesFolder:qe.id,lineGeneralCheck:Ze.id,lineGeneralChecklist3:Ge.id,lineGeneralCopy3:Xe.id,lineGeneralDownloadCloud:Qe.id,lineGeneralEqual:Je.id,lineGeneralEye:Ke.id,lineGeneralHomeLine:et.id,lineGeneralLink1:tt.id,lineGeneralLinkExternal:nt.id,lineGeneralSearchMd:rt.id,lineGeneralSettings1:it.id,lineGeneralXClose:ot.id,lineGeneralZap:at.id,lineHelpersFlag:st.id,lineHelpersPlayCircle:ct.id,lineIconBomb2:lt.id,lineImagesImage:ut.id,lineLayoutsColumn2:ft.id,lineLayoutsLayoutTop:dt.id,lineLayoutsMaximize2:ht.id,lineLayoutsMinimize2:pt.id,lineSecurityKey:gt.id,lineShapesDotCircle:mt.id,lineShapesMoon:bt.id,lineShapesSun:vt.id,lineTimeClockStopwatch:yt.id,playwrightLogo:_t.id,reportLogo:wt.id,solidAlertCircle:xt.id,solidCheckCircle:Ct.id,solidHelpCircle:kt.id,solidMinusCircle:Mt.id,solidXCircle:St.id,spinner:Tt.id,view:Et.id,viewOff:At.id},Dt=({id:e,size:t="s",inline:n=!1,className:r="","data-testid":i})=>O("svg",{className:D(Ot.icon,Ot[`size-${t}`],n&&Ot.inline,r),"data-testid":i,children:O("use",{xlinkHref:`#${e}`})}),jt=({size:e})=>O(Dt,{role:"progressbar",id:Tt.id,size:e}),Nt=({size:e="m",tag:t="span",type:n="paragraph",bold:r=!1,className:i,children:o,...a})=>"paragraph"===n?O(t,{...a,className:D(`paragraphs-text-${e}${r?"-bold":""}`,i),children:o}):"ui"===n?O(t,{...a,className:D(`ui-text-${e}-ui${r?"-bold":""}`,i),children:o}):null,Lt=({size:e="m",tag:t="span",type:n="paragraph",bold:r=!1,className:i,children:o,...a})=>"paragraph"===n?O(t,{...a,className:D(`paragraphs-code-${e}${r?"-bold":""}`,i),children:o}):"ui"===n?O(t,{...a,className:D(`ui-code-${e}-ui${r?"-bold":""}`,i),children:o}):null,Ft=({size:e="m",tag:t="span",className:n,children:r,...i})=>O(t,{...i,className:D(`headings-head-${e}`,n),children:r});var Rt={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 Bt=e=>{const{text:t,type:n="button",icon:r,iconSize:i="m",onClick:o,isPending:a=!1,size:s="m",style:c="primary",action:l="default",fullWidth:u=!1,isDisabled:f=!1,isIconButton:d=!1,isDropdownButton:h=!1,isActive:p=!1,focusable:g=!0,className:m,...b}=e,v=f||a;return O("button",{...b,tabIndex:g?0:-1,className:D(Rt.button,d&&Rt.buttonIcon,Rt[`size_${s}`],Rt[`icon_size_${i}`],Rt[`style_${c}`],"danger"===l&&Rt.danger,"positive"===l&&Rt.positive,a&&Rt.pending,u&&Rt.fullWidth,!v&&p&&Rt.active,m),disabled:v,onClick:o,type:n,children:O(Nt,{type:"ui",size:"s"===s?"s":"m",bold:!0,className:Rt.content,children:[r&&O(Dt,{size:"s",className:d?Rt.contentIcon:Rt.leadingIcon,id:r}),!d&&O("span",{className:Rt.text,children:t}),h&&O(Dt,{id:Pt.lineArrowsChevronDown,size:"s",className:Rt.dropdownIcon}),O("span",{className:Rt.spinner,"aria-hidden":!a,children:O(jt,{})})]})})},$t=e=>O(Bt,{...e}),zt=e=>O(Bt,{...e,isIconButton:!0}),It=e=>O(Bt,{...e,isDropdownButton:!0,isActive:e.isExpanded}),Ut=Math.min,Ht=Math.max,Vt={left:"right",right:"left",bottom:"top",top:"bottom"},Wt={start:"end",end:"start"};function Yt(e,t,n){return Ht(e,Ut(t,n))}function qt(e,t){return"function"==typeof e?e(t):e}function Zt(e){return e.split("-")[0]}function Gt(e){return e.split("-")[1]}function Xt(e){return"x"===e?"y":"x"}function Qt(e){return"y"===e?"height":"width"}function Jt(e){return["top","bottom"].includes(Zt(e))?"y":"x"}function Kt(e){return Xt(Jt(e))}function en(e){return e.replace(/start|end/g,(e=>Wt[e]))}function tn(e){return e.replace(/left|right|bottom|top/g,(e=>Vt[e]))}function nn(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 rn(e,t,n){let{reference:r,floating:i}=e;const o=Jt(t),a=Kt(t),s=Qt(a),c=Zt(t),l="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(c){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(Gt(t)){case"start":h[a]-=d*(n&&l?-1:1);break;case"end":h[a]+=d*(n&&l?-1:1)}return h}async function on(e,t){var n;void 0===t&&(t={});const{x:r,y:i,platform:o,rects:a,elements:s,strategy:c}=e,{boundary:l="clippingAncestors",rootBoundary:u="viewport",elementContext:f="floating",altBoundary:d=!1,padding:h=0}=qt(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],m=nn(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:l,rootBoundary:u,strategy:c})),b="floating"===f?{x:r,y:i,width:a.floating.width,height:a.floating.height}:a.reference,v=await(null==o.getOffsetParent?void 0:o.getOffsetParent(s.floating)),y=await(null==o.isElement?void 0:o.isElement(v))&&await(null==o.getScale?void 0:o.getScale(v))||{x:1,y:1},_=nn(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:b,offsetParent:v,strategy:c}):b);return{top:(m.top-_.top+p.top)/y.y,bottom:(_.bottom-m.bottom+p.bottom)/y.y,left:(m.left-_.left+p.left)/y.x,right:(_.right-m.right+p.right)/y.x}}const an=Math.min,sn=Math.max,cn=Math.round,ln=Math.floor,un=e=>({x:e,y:e});function fn(){return"undefined"!=typeof window}function dn(e){return gn(e)?(e.nodeName||"").toLowerCase():"#document"}function hn(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function pn(e){var t;return null==(t=(gn(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function gn(e){return!!fn()&&(e instanceof Node||e instanceof hn(e).Node)}function mn(e){return!!fn()&&(e instanceof Element||e instanceof hn(e).Element)}function bn(e){return!!fn()&&(e instanceof HTMLElement||e instanceof hn(e).HTMLElement)}function vn(e){return!(!fn()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof hn(e).ShadowRoot)}function yn(e){const{overflow:t,overflowX:n,overflowY:r,display:i}=Mn(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(i)}function _n(e){return["table","td","th"].includes(dn(e))}function wn(e){return[":popover-open",":modal"].some((t=>{try{return e.matches(t)}catch(e){return!1}}))}function xn(e){const t=Cn(),n=mn(e)?Mn(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 Cn(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function kn(e){return["html","body","#document"].includes(dn(e))}function Mn(e){return hn(e).getComputedStyle(e)}function Sn(e){return mn(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Tn(e){if("html"===dn(e))return e;const t=e.assignedSlot||e.parentNode||vn(e)&&e.host||pn(e);return vn(t)?t.host:t}function An(e){const t=Tn(e);return kn(t)?e.ownerDocument?e.ownerDocument.body:e.body:bn(t)&&yn(t)?t:An(t)}function En(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);const i=An(e),o=i===(null==(r=e.ownerDocument)?void 0:r.body),a=hn(i);if(o){const e=On(a);return t.concat(a,a.visualViewport||[],yn(i)?i:[],e&&n?En(e):[])}return t.concat(i,En(i,[],n))}function On(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Pn(e){const t=Mn(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const i=bn(e),o=i?e.offsetWidth:n,a=i?e.offsetHeight:r,s=cn(n)!==o||cn(r)!==a;return s&&(n=o,r=a),{width:n,height:r,$:s}}function Dn(e){return mn(e)?e:e.contextElement}function jn(e){const t=Dn(e);if(!bn(t))return un(1);const n=t.getBoundingClientRect(),{width:r,height:i,$:o}=Pn(t);let a=(o?cn(n.width):n.width)/r,s=(o?cn(n.height):n.height)/i;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const Nn=un(0);function Ln(e){const t=hn(e);return Cn()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:Nn}function Fn(e,t,n,r){void 0===t&&(t=!1),void 0===n&&(n=!1);const i=e.getBoundingClientRect(),o=Dn(e);let a=un(1);t&&(r?mn(r)&&(a=jn(r)):a=jn(e));const s=function(e,t,n){return void 0===t&&(t=!1),!(!n||t&&n!==hn(e))&&t}(o,n,r)?Ln(o):un(0);let c=(i.left+s.x)/a.x,l=(i.top+s.y)/a.y,u=i.width/a.x,f=i.height/a.y;if(o){const e=hn(o),t=r&&mn(r)?hn(r):r;let n=e,i=On(n);for(;i&&r&&t!==n;){const e=jn(i),t=i.getBoundingClientRect(),r=Mn(i),o=t.left+(i.clientLeft+parseFloat(r.paddingLeft))*e.x,a=t.top+(i.clientTop+parseFloat(r.paddingTop))*e.y;c*=e.x,l*=e.y,u*=e.x,f*=e.y,c+=o,l+=a,n=hn(i),i=On(n)}}return nn({width:u,height:f,x:c,y:l})}function Rn(e,t){const n=Sn(e).scrollLeft;return t?t.left+n:Fn(pn(e)).left+n}function Bn(e,t,n){void 0===n&&(n=!1);const r=e.getBoundingClientRect();return{x:r.left+t.scrollLeft-(n?0:Rn(e,r)),y:r.top+t.scrollTop}}function $n(e,t,n){let r;if("viewport"===t)r=function(e,t){const n=hn(e),r=pn(e),i=n.visualViewport;let o=r.clientWidth,a=r.clientHeight,s=0,c=0;if(i){o=i.width,a=i.height;const e=Cn();(!e||e&&"fixed"===t)&&(s=i.offsetLeft,c=i.offsetTop)}return{width:o,height:a,x:s,y:c}}(e,n);else if("document"===t)r=function(e){const t=pn(e),n=Sn(e),r=e.ownerDocument.body,i=sn(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),o=sn(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let a=-n.scrollLeft+Rn(e);const s=-n.scrollTop;return"rtl"===Mn(r).direction&&(a+=sn(t.clientWidth,r.clientWidth)-i),{width:i,height:o,x:a,y:s}}(pn(e));else if(mn(t))r=function(e,t){const n=Fn(e,!0,"fixed"===t),r=n.top+e.clientTop,i=n.left+e.clientLeft,o=bn(e)?jn(e):un(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=Ln(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return nn(r)}function zn(e,t){const n=Tn(e);return!(n===t||!mn(n)||kn(n))&&("fixed"===Mn(n).position||zn(n,t))}function In(e,t,n){const r=bn(t),i=pn(t),o="fixed"===n,a=Fn(e,!0,o,t);let s={scrollLeft:0,scrollTop:0};const c=un(0);if(r||!r&&!o)if(("body"!==dn(t)||yn(i))&&(s=Sn(t)),r){const e=Fn(t,!0,o,t);c.x=e.x+t.clientLeft,c.y=e.y+t.clientTop}else i&&(c.x=Rn(i));const l=!i||r||o?un(0):Bn(i,s);return{x:a.left+s.scrollLeft-c.x-l.x,y:a.top+s.scrollTop-c.y-l.y,width:a.width,height:a.height}}function Un(e){return"static"===Mn(e).position}function Hn(e,t){if(!bn(e)||"fixed"===Mn(e).position)return null;if(t)return t(e);let n=e.offsetParent;return pn(e)===n&&(n=n.ownerDocument.body),n}function Vn(e,t){const n=hn(e);if(wn(e))return n;if(!bn(e)){let t=Tn(e);for(;t&&!kn(t);){if(mn(t)&&!Un(t))return t;t=Tn(t)}return n}let r=Hn(e,t);for(;r&&_n(r)&&Un(r);)r=Hn(r,t);return r&&kn(r)&&Un(r)&&!xn(r)?n:r||function(e){let t=Tn(e);for(;bn(t)&&!kn(t);){if(xn(t))return t;if(wn(t))return null;t=Tn(t)}return null}(e)||n}const Wn={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e;const o="fixed"===i,a=pn(r),s=!!t&&wn(t.floating);if(r===a||s&&o)return n;let c={scrollLeft:0,scrollTop:0},l=un(1);const u=un(0),f=bn(r);if((f||!f&&!o)&&(("body"!==dn(r)||yn(a))&&(c=Sn(r)),bn(r))){const e=Fn(r);l=jn(r),u.x=e.x+r.clientLeft,u.y=e.y+r.clientTop}const d=!a||f||o?un(0):Bn(a,c,!0);return{width:n.width*l.x,height:n.height*l.y,x:n.x*l.x-c.scrollLeft*l.x+u.x+d.x,y:n.y*l.y-c.scrollTop*l.y+u.y+d.y}},getDocumentElement:pn,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e;const o=[..."clippingAncestors"===n?wn(t)?[]:function(e,t){const n=t.get(e);if(n)return n;let r=En(e,[],!1).filter((e=>mn(e)&&"body"!==dn(e))),i=null;const o="fixed"===Mn(e).position;let a=o?Tn(e):e;for(;mn(a)&&!kn(a);){const t=Mn(a),n=xn(a);n||"fixed"!==t.position||(i=null),(o?!n&&!i:!n&&"static"===t.position&&i&&["absolute","fixed"].includes(i.position)||yn(a)&&!n&&zn(e,a))?r=r.filter((e=>e!==a)):i=t,a=Tn(a)}return t.set(e,r),r}(t,this._c):[].concat(n),r],a=o[0],s=o.reduce(((e,n)=>{const r=$n(t,n,i);return e.top=sn(r.top,e.top),e.right=an(r.right,e.right),e.bottom=an(r.bottom,e.bottom),e.left=sn(r.left,e.left),e}),$n(t,a,i));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:Vn,getElementRects:async function(e){const t=this.getOffsetParent||Vn,n=this.getDimensions,r=await n(e.floating);return{reference:In(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}=Pn(e);return{width:t,height:n}},getScale:jn,isElement:mn,isRTL:function(e){return"rtl"===Mn(e).direction}};function Yn(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function qn(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:c=!1}=r,l=Dn(e),u=i||o?[...l?En(l):[],...En(t)]:[];u.forEach((e=>{i&&e.addEventListener("scroll",n,{passive:!0}),o&&e.addEventListener("resize",n)}));const f=l&&s?function(e,t){let n,r=null;const i=pn(e);function o(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return function a(s,c){void 0===s&&(s=!1),void 0===c&&(c=1),o();const l=e.getBoundingClientRect(),{left:u,top:f,width:d,height:h}=l;if(s||t(),!d||!h)return;const p={rootMargin:-ln(f)+"px "+-ln(i.clientWidth-(u+d))+"px "+-ln(i.clientHeight-(f+h))+"px "+-ln(u)+"px",threshold:sn(0,an(1,c))||1};let g=!0;function m(t){const r=t[0].intersectionRatio;if(r!==c){if(!g)return a();r?a(!1,r):n=setTimeout((()=>{a(!1,1e-7)}),1e3)}1!==r||Yn(l,e.getBoundingClientRect())||a(),g=!1}try{r=new IntersectionObserver(m,{...p,root:i.ownerDocument})}catch(e){r=new IntersectionObserver(m,p)}r.observe(e)}(!0),o}(l,n):null;let d,h=-1,p=null;a&&(p=new ResizeObserver((e=>{let[r]=e;r&&r.target===l&&p&&(p.unobserve(t),cancelAnimationFrame(h),h=requestAnimationFrame((()=>{var e;null==(e=p)||e.observe(t)}))),n()})),l&&!c&&p.observe(l),p.observe(t));let g=c?Fn(e):null;return c&&function t(){const r=Fn(e);g&&!Yn(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,c&&cancelAnimationFrame(d)}}const Zn=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,c=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=Zt(n),s=Gt(n),c="y"===Jt(n),l=["left","top"].includes(a)?-1:1,u=o&&c?-1:1,f=qt(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),c?{x:h*u,y:d*l}:{x:d*l,y:h*u}}(t,e);return a===(null==(n=s.offset)?void 0:n.placement)&&null!=(r=s.arrow)&&r.alignmentOffset?{}:{x:i+c.x,y:o+c.y,data:{...c,placement:a}}}}},Gn=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}}},...c}=qt(e,t),l={x:n,y:r},u=await on(t,c),f=Jt(Zt(i)),d=Xt(f);let h=l[d],p=l[f];if(o){const e="y"===d?"bottom":"right";h=Yt(h+u["y"===d?"top":"left"],h,h-u[e])}if(a){const e="y"===f?"bottom":"right";p=Yt(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}}}}}},Xn=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:c,elements:l}=t,{mainAxis:u=!0,crossAxis:f=!0,fallbackPlacements:d,fallbackStrategy:h="bestFit",fallbackAxisSideDirection:p="none",flipAlignment:g=!0,...m}=qt(e,t);if(null!=(n=o.arrow)&&n.alignmentOffset)return{};const b=Zt(i),v=Jt(s),y=Zt(s)===s,_=await(null==c.isRTL?void 0:c.isRTL(l.floating)),w=d||(y||!g?[tn(s)]:function(e){const t=tn(e);return[en(e),t,en(t)]}(s)),x="none"!==p;!d&&x&&w.push(...function(e,t,n,r){const i=Gt(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[]}}(Zt(e),"start"===n,r);return i&&(o=o.map((e=>e+"-"+i)),t&&(o=o.concat(o.map(en)))),o}(s,g,p,_));const C=[s,...w],k=await on(t,m),M=[];let S=(null==(r=o.flip)?void 0:r.overflows)||[];if(u&&M.push(k[b]),f){const e=function(e,t,n){void 0===n&&(n=!1);const r=Gt(e),i=Kt(e),o=Qt(i);let a="x"===i?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[o]>t.floating[o]&&(a=tn(a)),[a,tn(a)]}(i,a,_);M.push(k[e[0]],k[e[1]])}if(S=[...S,{placement:i,overflows:M}],!M.every((e=>e<=0))){var T,A;const e=((null==(T=o.flip)?void 0:T.index)||0)+1,t=C[e];if(t)return{data:{index:e,overflows:S},reset:{placement:t}};let n=null==(A=S.filter((e=>e.overflows[0]<=0)).sort(((e,t)=>e.overflows[1]-t.overflows[1]))[0])?void 0:A.placement;if(!n)switch(h){case"bestFit":{var E;const e=null==(E=S.filter((e=>{if(x){const t=Jt(e.placement);return t===v||"y"===t}return!0})).map((e=>[e.placement,e.overflows.filter((e=>e>0)).reduce(((e,t)=>e+t),0)])).sort(((e,t)=>e[1]-t[1]))[0])?void 0:E[0];e&&(n=e);break}case"initialPlacement":n=s}if(i!==n)return{reset:{placement:n}}}return{}}}},Qn=(e,t,n)=>{const r=new Map,i={platform:Wn,...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),c=await(null==a.isRTL?void 0:a.isRTL(t));let l=await a.getElementRects({reference:e,floating:t,strategy:i}),{x:u,y:f}=rn(l,r,c),d=r,h={},p=0;for(let n=0;n<s.length;n++){const{name:o,fn:g}=s[n],{x:m,y:b,data:v,reset:y}=await g({x:u,y:f,initialPlacement:r,placement:d,strategy:i,middlewareData:h,rects:l,platform:a,elements:{reference:e,floating:t}});u=null!=m?m:u,f=null!=b?b:f,h={...h,[o]:{...h[o],...v}},y&&p<=50&&(p++,"object"==typeof y&&(y.placement&&(d=y.placement),y.rects&&(l=!0===y.rects?await a.getElementRects({reference:e,floating:t,strategy:i}):y.rects),({x:u,y:f}=rn(l,d,c))),n=-1)}return{x:u,y:f,placement:d,strategy:i,middlewareData:h}})(e,t,{...i,platform:o})};var Jn="styles_custom-tooltip__2reCz";const Kn=({children:e})=>O("div",{className:Jn,children:O(Nt,{className:"tooltip-content",size:"s",bold:!0,children:e})}),er=({tooltipText:e,tooltipTextAfterClick:t,tooltipComponent:n,children:r,placement:i="top",triggerMode:o="hover",autoHideDelay:a=600,isTriggerActive:u=!0})=>{const f=s(null),d=s(null),[h,p]=c(!1),[g,m]=c(e),b=s(null);l((()=>{m(e);const t=()=>{d.current&&f.current&&Qn(d.current,f.current,{placement:i,middleware:[Zn(6),Xn(),Gn({padding:5})]}).then((({x:e,y:t})=>{f.current&&Object.assign(f.current.style,{left:`${e}px`,top:`${t}px`,position:"absolute","z-index":100})}))};return h&&t(),d.current&&f.current?qn(d.current,f.current,t):()=>{}}),[h,i,e]);l((()=>()=>{b.current&&clearTimeout(b.current)}),[]);const v=n||O(Kn,{children:g});return O("div",{onMouseEnter:()=>{"hover"===o&&u&&p(!0),"click"===o&&b.current&&clearTimeout(b.current)},onMouseLeave:()=>{"hover"===o?(p(!1),m(e)):"click"===o&&h&&(b.current=window.setTimeout((()=>{p(!1)}),a))},onClick:()=>{"click"===o&&d.current&&u&&(p(!0),b.current&&clearTimeout(b.current)),t&&m(t)},children:[O("div",{ref:d,children:r}),O("div",{ref:f,children:h&&v})]})},tr=e=>{const{source:t,transformData:n=e=>e,renderLoader:r=()=>null,renderError:i=e=>O("div",{children:e}),renderData:o}=e;return t.value.loading?r():t.value.error?i(t.value.error):o(n(t.value.data))};var nr="styles_page-loader__OFuzd";const rr=()=>O("div",{className:nr,children:O(jt,{size:"m"})}),ir=(e,t=300)=>{const n=s(e);return l((()=>{n.current=e}),[e]),u(((e,t=300)=>{let n;return(...r)=>{clearTimeout(n),n=setTimeout((()=>{e(...r)}),t)}})(((...e)=>n.current(...e)),t),[t])};var or="styles_inputWrap__96bWy",ar="styles_input__ir8z5",sr="styles_inputClear__R8pU3",cr="styles_leadingIcon__6Bcbs",lr="styles_clearButton__SR4Dg";const ur=e=>{const{placeholder:t,value:n,onChange:r,changeDebounce:i=300}=e,[o,a]=c(n),s=ir(r,i),l=!!o;return O(Nt,{className:or,type:"ui",size:"m",tag:"div",children:[O(Dt,{id:rt.id,size:"s",className:cr}),O("input",{className:D(ar,l&&sr),type:"text",placeholder:t,onInput:e=>{const t=e.target.value;a(t),s(t)},value:o,name:"search",autocomplete:"off","data-testid":"search-input"}),l&&O("div",{className:lr,children:O(zt,{size:"s",icon:ot.id,onClick:e=>{e.preventDefault(),e.stopPropagation(),a(""),s("")},style:"ghost","data-testid":"clear-button"})})]})};var fr={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 dr=t(null),hr=e=>{const{children:t,menuTrigger:r,menuTriggerWrapper:i="div",size:o="m",isInitialOpened:a=!1,placement:u="bottom-end"}=e,[f,d]=c(a),h=s(null),p=s(null);return l((()=>{const e=e=>{"Escape"===e.key&&f&&d(!1)};return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)}}),[f]),l((()=>{const e=e=>{f&&h.current&&(h.current.contains(e.target)||d(!1))};return f&&document.addEventListener("click",e),()=>{document.removeEventListener("click",e)}}),[f]),l((()=>{const e=()=>{(h.current||p.current)&&Qn(p.current,h.current,{placement:u,middleware:[Zn(6),Xn(),Gn({padding:5})]}).then((({x:e,y:t})=>{h.current&&Object.assign(h.current.style,{left:`${e}px`,top:`${t}px`,position:"absolute","z-index":10})}))};return e(),qn(p.current,h.current,e)}),[h.current,p.current]),O(dr.Provider,{value:{setIsOpened:d},children:O(n,{children:["function"==typeof r&&O(i,{ref:p,children:r({isOpened:f,onClick:()=>{d(!f)},setIsOpened:d})}),O("div",{ref:h,children:f&&O("aside",{className:D(fr.menu,fr[`size-${o}`]),children:t})})]})})};hr.Section=e=>{const{children:t,...n}=e;return O("ul",{className:fr.section,...n,children:t})},hr.Item=e=>{const{setIsOpened:t}=(()=>{const e=f(dr);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,...c}=e,l="function"==typeof r,u="string"==typeof i;return O("li",{className:fr.menuListItem,...c,children:O(Nt,{"aria-label":a,type:"paragraph",size:"m",tag:l?"button":"div",className:D(fr.menuItem,l&&fr.interactive),onClick:e=>{l&&s&&(e.stopPropagation(),t(!1)),l&&r?.()},"data-interactive-menu-item":!!l||void 0,children:[u&&O(Dt,{id:i,className:fr.leadingIcon,size:"m"}),O("div",{className:fr.content,children:n}),o&&O("div",{className:fr.right,children:o})]})})},hr.ItemWithCheckmark=e=>{const{isChecked:t=!1,...n}=e;return O(hr.Item,{...n,rightSlot:t&&O(Dt,{className:fr.checkmarkIcon,id:Ze.id})})};var pr={"arrow-button":"styles_arrow-button__PtmoB","arrow-button-s":"styles_arrow-button-s__LG1S5","arrow-button-m":"styles_arrow-button-m__i7jQC","icon-size-m":"styles_icon-size-m__cHrQH","arrow-button-icon":"styles_arrow-button-icon__X5gUo","arrow-button-icon--opened":"styles_arrow-button-icon--opened__9AOMd"};const gr=({isOpened:e,buttonSize:t="m",iconSize:n="xs",tag:r="button",className:i,icon:o=Pt.lineArrowsChevronDown,onClick:a,...s})=>O(r,{...s,className:D(pr["arrow-button"],pr[`arrow-button-${t}`]),onClick:a,children:O(Dt,{id:o,size:n,className:D({[pr["arrow-button-icon--opened"]]:e},pr["arrow-button-icon"],pr[`icon-size-${n}`],i)})}),mr=async e=>(await new Promise((e=>{const t=()=>{if(globalThis.allureReportDataReady)return e(!0);setTimeout(t,30)};t()})),new Promise(((t,n)=>globalThis.allureReportData[e]?t(globalThis.allureReportData[e]):n(new Error(`Data "${e}" not found!`))))),br=async(e,t)=>{const n=await(async(e,t="application/octet-stream")=>{if(globalThis.allureReportData){const n=e.replace(/\?attachment$/,"");return`data:${t};base64,${await mr(n)}`}const n=globalThis.document.head.querySelector("base")?.href??"https://localhost",r=new URL(e,n),i=globalThis.localStorage.getItem("__allure_report_live_reload_hash__");return i&&r.searchParams.set("live_reload_hash",i),r.pathname+r.search+r.hash})(e,t);return globalThis.fetch(n)},vr=async({id:e,ext:t,contentType:n})=>br(`data/attachments/${`${e||"-"}${t||""}`}?attachment`,n),yr=async(e,t,n)=>{const r=await vr({id:e,ext:t,contentType:n});return await r.blob()},_r=e=>{switch(e){case"image/bmp":case"image/gif":case"image/tiff":case"image/jpeg":case"image/jpg":case"image/png":case"image/*":return{type:"image",icon:"file"};case"text/xml":case"text/json":case"text/yaml":case"text/javascript":case"text/typescript":case"text/ruby":case"text/python":case"text/php":case"text/java":case"text/csharp":case"text/cpp":case"text/c":case"text/go":case"text/rust":case"text/swift":case"text/kotlin":case"text/scala":case"text/perl":case"text/r":case"text/dart":case"text/lua":case"text/haskell":case"text/sql":case"text/x-yaml":case"text/css":case"application/yaml":case"application/x-yaml":case"application/xml":case"application/json":return{type:"code",icon:"file"};case"text/plain":case"text/markdown":case"text/*":return{type:"text",icon:"txt"};case"text/html":return{type:"html",icon:"file"};case"text/csv":return{type:"table",icon:"csv"};case"text/tab-separated-values":return{type:"table",icon:"table"};case"image/svg+xml":return{type:"svg",icon:"file"};case"video/mp4":case"video/ogg":case"video/webm":return{type:"video",icon:"file"};case"text/uri-list":return{type:"uri",icon:"list"};case"application/x-tar":case"application/x-gtar":case"application/x-bzip2":case"application/gzip":case"application/zip":return{type:"archive",icon:"file"};default:return{type:null,icon:"file"}}},wr={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 xr(e){return function(){return e}}const Cr=Math.abs,kr=Math.atan2,Mr=Math.cos,Sr=Math.max,Tr=Math.min,Ar=Math.sin,Er=Math.sqrt,Or=1e-12,Pr=Math.PI,Dr=Pr/2,jr=2*Pr;function Nr(e){return e>=1?Dr:e<=-1?-Dr:Math.asin(e)}const Lr=Math.PI,Fr=2*Lr,Rr=1e-6,Br=Fr-Rr;function $r(e){this._+=e[0];for(let t=1,n=e.length;t<n;++t)this._+=arguments[t]+e[t]}let zr=class{constructor(e){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=null==e?$r:function(e){let t=Math.floor(e);if(!(t>=0))throw new Error(`invalid digits: ${e}`);if(t>15)return $r;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,c=r-t,l=o-e,u=a-t,f=l*l+u*u;if(null===this._x1)this._append`M${this._x1=e},${this._y1=t}`;else if(f>Rr)if(Math.abs(u*s-c*l)>Rr&&i){let d=n-o,h=r-a,p=s*s+c*c,g=d*d+h*h,m=Math.sqrt(p),b=Math.sqrt(f),v=i*Math.tan((Lr-Math.acos((p+f-g)/(2*m*b)))/2),y=v/b,_=v/m;Math.abs(y-1)>Rr&&this._append`L${e+y*l},${t+y*u}`,this._append`A${i},${i},0,0,${+(u*d>l*h)},${this._x1=e+_*s},${this._y1=t+_*c}`}else this._append`L${this._x1=e},${this._y1=t}`;else;}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),c=e+a,l=t+s,u=1^o,f=o?r-i:i-r;null===this._x1?this._append`M${c},${l}`:(Math.abs(this._x1-c)>Rr||Math.abs(this._y1-l)>Rr)&&this._append`L${c},${l}`,n&&(f<0&&(f=f%Fr+Fr),f>Br?this._append`A${n},${n},0,1,${u},${e-a},${t-s}A${n},${n},0,1,${u},${this._x1=c},${this._y1=l}`:f>Rr&&this._append`A${n},${n},0,${+(f>=Lr)},${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 Ir(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 zr(t)}function Ur(e){return e.innerRadius}function Hr(e){return e.outerRadius}function Vr(e){return e.startAngle}function Wr(e){return e.endAngle}function Yr(e){return e&&e.padAngle}function qr(e,t,n,r,i,o,a){var s=e-n,c=t-r,l=(a?o:-o)/Er(s*s+c*c),u=l*c,f=-l*s,d=e+u,h=t+f,p=n+u,g=r+f,m=(d+p)/2,b=(h+g)/2,v=p-d,y=g-h,_=v*v+y*y,w=i-o,x=d*g-p*h,C=(y<0?-1:1)*Er(Sr(0,w*w*_-x*x)),k=(x*y-v*C)/_,M=(-x*v-y*C)/_,S=(x*y+v*C)/_,T=(-x*v+y*C)/_,A=k-m,E=M-b,O=S-m,P=T-b;return A*A+E*E>O*O+P*P&&(k=S,M=T),{cx:k,cy:M,x01:-u,y01:-f,x11:k*(i/w-1),y11:M*(i/w-1)}}function Zr(){var e=Ur,t=Hr,n=xr(0),r=null,i=Vr,o=Wr,a=Yr,s=null,c=Ir(l);function l(){var l,u,f=+e.apply(this,arguments),d=+t.apply(this,arguments),h=i.apply(this,arguments)-Dr,p=o.apply(this,arguments)-Dr,g=Cr(p-h),m=p>h;if(s||(s=l=c()),d<f&&(u=d,d=f,f=u),d>Or)if(g>jr-Or)s.moveTo(d*Mr(h),d*Ar(h)),s.arc(0,0,d,h,p,!m),f>Or&&(s.moveTo(f*Mr(p),f*Ar(p)),s.arc(0,0,f,p,h,m));else{var b,v,y=h,_=p,w=h,x=p,C=g,k=g,M=a.apply(this,arguments)/2,S=M>Or&&(r?+r.apply(this,arguments):Er(f*f+d*d)),T=Tr(Cr(d-f)/2,+n.apply(this,arguments)),A=T,E=T;if(S>Or){var O=Nr(S/f*Ar(M)),P=Nr(S/d*Ar(M));(C-=2*O)>Or?(w+=O*=m?1:-1,x-=O):(C=0,w=x=(h+p)/2),(k-=2*P)>Or?(y+=P*=m?1:-1,_-=P):(k=0,y=_=(h+p)/2)}var D=d*Mr(y),j=d*Ar(y),N=f*Mr(x),L=f*Ar(x);if(T>Or){var F,R=d*Mr(_),B=d*Ar(_),$=f*Mr(w),z=f*Ar(w);if(g<Pr)if(F=function(e,t,n,r,i,o,a,s){var c=n-e,l=r-t,u=a-i,f=s-o,d=f*c-u*l;if(!(d*d<Or))return[e+(d=(u*(t-o)-f*(e-i))/d)*c,t+d*l]}(D,j,$,z,R,B,N,L)){var I=D-F[0],U=j-F[1],H=R-F[0],V=B-F[1],W=1/Ar(function(e){return e>1?0:e<-1?Pr:Math.acos(e)}((I*H+U*V)/(Er(I*I+U*U)*Er(H*H+V*V)))/2),Y=Er(F[0]*F[0]+F[1]*F[1]);A=Tr(T,(f-Y)/(W-1)),E=Tr(T,(d-Y)/(W+1))}else A=E=0}k>Or?E>Or?(b=qr($,z,D,j,d,E,m),v=qr(R,B,N,L,d,E,m),s.moveTo(b.cx+b.x01,b.cy+b.y01),E<T?s.arc(b.cx,b.cy,E,kr(b.y01,b.x01),kr(v.y01,v.x01),!m):(s.arc(b.cx,b.cy,E,kr(b.y01,b.x01),kr(b.y11,b.x11),!m),s.arc(0,0,d,kr(b.cy+b.y11,b.cx+b.x11),kr(v.cy+v.y11,v.cx+v.x11),!m),s.arc(v.cx,v.cy,E,kr(v.y11,v.x11),kr(v.y01,v.x01),!m))):(s.moveTo(D,j),s.arc(0,0,d,y,_,!m)):s.moveTo(D,j),f>Or&&C>Or?A>Or?(b=qr(N,L,R,B,f,-A,m),v=qr(D,j,$,z,f,-A,m),s.lineTo(b.cx+b.x01,b.cy+b.y01),A<T?s.arc(b.cx,b.cy,A,kr(b.y01,b.x01),kr(v.y01,v.x01),!m):(s.arc(b.cx,b.cy,A,kr(b.y01,b.x01),kr(b.y11,b.x11),!m),s.arc(0,0,f,kr(b.cy+b.y11,b.cx+b.x11),kr(v.cy+v.y11,v.cx+v.x11),m),s.arc(v.cx,v.cy,A,kr(v.y11,v.x11),kr(v.y01,v.x01),!m))):s.arc(0,0,f,x,w,m):s.lineTo(N,L)}else s.moveTo(0,0);if(s.closePath(),l)return s=null,l+""||null}return l.centroid=function(){var n=(+e.apply(this,arguments)+ +t.apply(this,arguments))/2,r=(+i.apply(this,arguments)+ +o.apply(this,arguments))/2-Pr/2;return[Mr(r)*n,Ar(r)*n]},l.innerRadius=function(t){return arguments.length?(e="function"==typeof t?t:xr(+t),l):e},l.outerRadius=function(e){return arguments.length?(t="function"==typeof e?e:xr(+e),l):t},l.cornerRadius=function(e){return arguments.length?(n="function"==typeof e?e:xr(+e),l):n},l.padRadius=function(e){return arguments.length?(r=null==e?null:"function"==typeof e?e:xr(+e),l):r},l.startAngle=function(e){return arguments.length?(i="function"==typeof e?e:xr(+e),l):i},l.endAngle=function(e){return arguments.length?(o="function"==typeof e?e:xr(+e),l):o},l.padAngle=function(e){return arguments.length?(a="function"==typeof e?e:xr(+e),l):a},l.context=function(e){return arguments.length?(s=null==e?null:e,l):s},l}function Gr(e){return"object"==typeof e&&"length"in e?e:Array.from(e)}function Xr(e){this._context=e}function Qr(e){return new Xr(e)}function Jr(e){return e[0]}function Kr(e){return e[1]}function ei(e,t){var n=xr(!0),r=null,i=Qr,o=null,a=Ir(s);function s(s){var c,l,u,f=(s=Gr(s)).length,d=!1;for(null==r&&(o=i(u=a())),c=0;c<=f;++c)!(c<f&&n(l=s[c],c,s))===d&&((d=!d)?o.lineStart():o.lineEnd()),d&&o.point(+e(l,c,s),+t(l,c,s));if(u)return o=null,u+""||null}return e="function"==typeof e?e:void 0===e?Jr:xr(e),t="function"==typeof t?t:void 0===t?Kr:xr(t),s.x=function(t){return arguments.length?(e="function"==typeof t?t:xr(+t),s):e},s.y=function(e){return arguments.length?(t="function"==typeof e?e:xr(+e),s):t},s.defined=function(e){return arguments.length?(n="function"==typeof e?e:xr(!!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 ti(e,t){return t<e?-1:t>e?1:t>=e?0:NaN}function ni(e){return e}function ri(){var e=ni,t=ti,n=null,r=xr(0),i=xr(jr),o=xr(0);function a(a){var s,c,l,u,f,d=(a=Gr(a)).length,h=0,p=new Array(d),g=new Array(d),m=+r.apply(this,arguments),b=Math.min(jr,Math.max(-jr,i.apply(this,arguments)-m)),v=Math.min(Math.abs(b)/d,o.apply(this,arguments)),y=v*(b<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,l=h?(b-d*y)/h:0;s<d;++s,m=u)c=p[s],u=m+((f=g[c])>0?f*l:0)+y,g[c]={data:a[c],index:s,value:f,startAngle:m,endAngle:u,padAngle:v};return g}return a.value=function(t){return arguments.length?(e="function"==typeof t?t:xr(+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:xr(+e),a):r},a.endAngle=function(e){return arguments.length?(i="function"==typeof e?e:xr(+e),a):i},a.padAngle=function(e){return arguments.length?(o="function"==typeof e?e:xr(+e),a):o},a}function ii(){}function oi(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 ai(e){this._context=e}function si(e){this._context=e}function ci(e){this._context=e}function li(e,t){this._basis=new ai(e),this._beta=t}Xr.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)}}},ai.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:oi(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:oi(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},si.prototype={areaStart:ii,areaEnd:ii,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:oi(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},ci.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:oi(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},li.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,c=-1;++c<=n;)r=c/n,this._basis.point(this._beta*e[c]+(1-this._beta)*(i+r*a),this._beta*t[c]+(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 ui=function e(t){function n(e){return 1===t?new ai(e):new li(e,t)}return n.beta=function(t){return e(+t)},n}(.85);function fi(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 di(e,t){this._context=e,this._k=(1-t)/6}di.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:fi(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:fi(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 hi=function e(t){function n(e){return new di(e,t)}return n.tension=function(t){return e(+t)},n}(0);function pi(e,t){this._context=e,this._k=(1-t)/6}pi.prototype={areaStart:ii,areaEnd:ii,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:fi(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 gi=function e(t){function n(e){return new pi(e,t)}return n.tension=function(t){return e(+t)},n}(0);function mi(e,t){this._context=e,this._k=(1-t)/6}mi.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:fi(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 bi=function e(t){function n(e){return new mi(e,t)}return n.tension=function(t){return e(+t)},n}(0);function vi(e,t,n){var r=e._x1,i=e._y1,o=e._x2,a=e._y2;if(e._l01_a>Or){var s=2*e._l01_2a+3*e._l01_a*e._l12_a+e._l12_2a,c=3*e._l01_a*(e._l01_a+e._l12_a);r=(r*s-e._x0*e._l12_2a+e._x2*e._l01_2a)/c,i=(i*s-e._y0*e._l12_2a+e._y2*e._l01_2a)/c}if(e._l23_a>Or){var l=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*l+e._x1*e._l23_2a-t*e._l12_2a)/u,a=(a*l+e._y1*e._l23_2a-n*e._l12_2a)/u}e._context.bezierCurveTo(r,i,o,a,e._x2,e._y2)}function yi(e,t){this._context=e,this._alpha=t}yi.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:vi(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 _i=function e(t){function n(e){return t?new yi(e,t):new di(e,0)}return n.alpha=function(t){return e(+t)},n}(.5);function wi(e,t){this._context=e,this._alpha=t}wi.prototype={areaStart:ii,areaEnd:ii,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:vi(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 xi=function e(t){function n(e){return t?new wi(e,t):new pi(e,0)}return n.alpha=function(t){return e(+t)},n}(.5);function Ci(e,t){this._context=e,this._alpha=t}Ci.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:vi(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 ki,Mi,Si=function e(t){function n(e){return t?new Ci(e,t):new mi(e,0)}return n.alpha=function(t){return e(+t)},n}(.5);function Ti(e){this._context=e}function Ai(e){return e<0?-1:1}function Ei(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(Ai(o)+Ai(a))*Math.min(Math.abs(o),Math.abs(a),.5*Math.abs(s))||0}function Oi(e,t){var n=e._x1-e._x0;return n?(3*(e._y1-e._y0)/n-t)/2:t}function Pi(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 Di(e){this._context=e}function ji(e){this._context=new Ni(e)}function Ni(e){this._context=e}function Li(e){this._context=e}function Fi(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 Ri(e,t){this._context=e,this._t=t}Ti.prototype={areaStart:ii,areaEnd:ii,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))}},Di.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:Pi(this,this._t0,Oi(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,Pi(this,Oi(this,n=Ei(this,e,t)),n);break;default:Pi(this,this._t0,n=Ei(this,e,t))}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t,this._t0=n}}},(ji.prototype=Object.create(Di.prototype)).point=function(e,t){Di.prototype.point.call(this,t,e)},Ni.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)}},Li.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=Fi(e),i=Fi(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)}},Ri.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}},Zr().innerRadius(40).outerRadius(50).cornerRadius(2).padAngle(.03),ri().value((e=>e.count)).padAngle(.03).sortValues(((e,t)=>e-t)),function(e){e.Trend="trend",e.Pie="pie"}(ki||(ki={})),function(e){e.Status="status",e.Severity="severity"}(Mi||(Mi={}));const Bi=["failed","broken","passed","skipped","unknown"],$i=new Set(["failed","broken"]),zi=new Set(["passed"]),Ii=new Set([...$i,...zi]),Ui=e=>{const t=new Set(e);return e=>t.has(e.status)};Ui(zi),Ui($i),Ui(Ii);const Hi=[{suffix:"d",accessor:e=>Math.floor(e/864e5)},{suffix:"h",accessor:e=>Math.floor(e/36e5)%24},{suffix:"m",accessor:e=>Math.floor(e/6e4)%60},{suffix:"s",accessor:e=>Math.floor(e/1e3)%60},{suffix:"ms",accessor:e=>Math.round(e)%1e3}];function Vi(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 Wi(e,t){this.props=e,this.context=t}(Wi.prototype=new r).isPureReactComponent=!0,Wi.prototype.shouldComponentUpdate=function(e,t){return Vi(this.props,e)||Vi(this.state,t)};var Yi=e.__b;e.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),Yi&&Yi(e)};var qi=e.__e;e.__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);qi(e,t,n,r)};var Zi=e.unmount;function Gi(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 Gi(e,t,n)}))),e}function Xi(e,t,n){return e&&n&&(e.__v=null,e.__k=e.__k&&e.__k.map((function(e){return Xi(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 Qi(){this.__u=0,this.t=null,this.__b=null}function Ji(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function Ki(){this.u=null,this.o=null}e.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),Zi&&Zi(e)},(Qi.prototype=new r).__c=function(e,t){var n=t.__c,r=this;null==r.t&&(r.t=[]),r.t.push(n);var i=Ji(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]=Xi(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)},Qi.prototype.componentWillUnmount=function(){this.t=[]},Qi.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var r=document.createElement("div"),o=this.__v.__k[0].__c;this.__v.__k[0]=Gi(this.__b,r,o.__O=o.__P)}this.__b=null}var a=t.__a&&i(n,null,e.fallback);return a&&(a.__u&=-33),[i(n,null,t.__a?null:e.children),a]};var eo=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]}};(Ki.prototype=new r).__a=function(e){var t=this,n=Ji(t.__v),r=t.o.get(e);return r[0]++,function(i){var o=function(){t.props.revealOrder?(r.push(i),eo(t,e,r)):i()};n?n(o):o()}},Ki.prototype.render=function(e){this.u=null,this.o=new Map;var t=o(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},Ki.prototype.componentDidUpdate=Ki.prototype.componentDidMount=function(){var e=this;this.o.forEach((function(t,n){eo(e,n,t)}))};var to="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,no=/^(?: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]/,ro=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,io=/[A-Z0-9]/g,oo="undefined"!=typeof document,ao=function(e){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/:/fil|che|ra/).test(e)};r.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach((function(e){Object.defineProperty(r.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})}));var so=e.event;function co(){}function lo(){return this.cancelBubble}function uo(){return this.defaultPrevented}e.event=function(e){return so&&(e=so(e)),e.persist=co,e.isPropagationStopped=lo,e.isDefaultPrevented=uo,e.nativeEvent=e};var fo={enumerable:!1,configurable:!0,get:function(){return this.class}},ho=e.vnode;e.vnode=function(e){"string"==typeof e.type&&function(e){var t=e.props,n=e.type,r={},i=-1===n.indexOf("-");for(var a in t){var s=t[a];if(!("value"===a&&"defaultValue"in t&&null==s||oo&&"children"===a&&"noscript"===n||"class"===a||"className"===a)){var c=a.toLowerCase();"defaultValue"===a&&"value"in t&&null==t.value?a="value":"download"===a&&!0===s?s="":"translate"===c&&"no"===s?s=!1:"o"===c[0]&&"n"===c[1]?"ondoubleclick"===c?a="ondblclick":"onchange"!==c||"input"!==n&&"textarea"!==n||ao(t.type)?"onfocus"===c?a="onfocusin":"onblur"===c?a="onfocusout":ro.test(a)&&(a=c):c=a="oninput":i&&no.test(a)?a=a.replace(io,"-$&").toLowerCase():null===s&&(s=void 0),"oninput"===c&&r[a=c]&&(a="oninputCapture"),r[a]=s}}"select"==n&&r.multiple&&Array.isArray(r.value)&&(r.value=o(t.children).forEach((function(e){e.props.selected=-1!=r.value.indexOf(e.props.value)}))),"select"==n&&null!=r.defaultValue&&(r.value=o(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",fo)):(t.className&&!t.class||t.class&&t.className)&&(r.class=r.className=t.className),e.props=r}(e),e.$$typeof=to,ho&&ho(e)};var po=e.__r;e.__r=function(e){po&&po(e),e.__c};var go=e.diffed;function mo(e){return function(e){return!!e&&e.$$typeof===to}(e)?a.apply(null,arguments):e}e.diffed=function(e){go&&go(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 bo="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function vo(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var yo,_o={exports:{}};var wo=(yo||(yo=1,function(e){var t=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 c in n)n.hasOwnProperty(c)&&(a[c]=n[c]);n.hasOwnProperty(s)||(a[s]=o[s])}var l=r[e];return r[e]=a,i.languages.DFS(i.languages,(function(t,n){n===l&&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 c=t[s],l=i.util.type(c);"Object"!==l||o[a(c)]?"Array"!==l||o[a(c)]||(o[a(c)]=!0,e(c,n,s,o)):(o[a(c)]=!0,e(c,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 c={element:t,language:o,grammar:a,code:t.textContent};function l(e){c.highlightedCode=e,i.hooks.run("before-insert",c),c.element.innerHTML=c.highlightedCode,i.hooks.run("after-highlight",c),i.hooks.run("complete",c),r&&r.call(c.element)}if(i.hooks.run("before-sanity-check",c),(s=c.element.parentElement)&&"pre"===s.nodeName.toLowerCase()&&!s.hasAttribute("tabindex")&&s.setAttribute("tabindex","0"),!c.code)return i.hooks.run("complete",c),void(r&&r.call(c.element));if(i.hooks.run("before-highlight",c),c.grammar)if(n&&e.Worker){var u=new Worker(i.filename);u.onmessage=function(e){l(e.data)},u.postMessage(JSON.stringify({language:c.language,code:c.code,immediateClose:!0}))}else l(i.highlight(c.code,c.grammar,c.language));else l(i.util.encode(c.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 c;return l(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,c,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],m=g.inside,b=!!g.lookbehind,v=!!g.greedy,y=g.alias;if(v&&!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,C=c;x!==t.tail&&!(f&&C>=f.reach);C+=x.value.length,x=x.next){var k=x.value;if(t.length>e.length)return;if(!(k instanceof o)){var M,S=1;if(v){if(!(M=a(w,C,e,b))||M.index>=e.length)break;var T=M.index,A=M.index+M[0].length,E=C;for(E+=x.value.length;T>=E;)E+=(x=x.next).value.length;if(C=E-=x.value.length,x.value instanceof o)continue;for(var O=x;O!==t.tail&&(E<A||"string"==typeof O.value);O=O.next)S++,E+=O.value.length;S--,k=e.slice(C,E),M.index-=C}else if(!(M=a(w,0,k,b)))continue;T=M.index;var P=M[0],D=k.slice(0,T),j=k.slice(T+P.length),N=C+k.length;f&&N>f.reach&&(f.reach=N);var L=x.prev;if(D&&(L=l(t,L,D),C+=D.length),u(t,L,S),x=l(t,L,new o(d,m?i.tokenize(P,m):P,y,P)),j&&l(t,x,j),S>1){var F={cause:d+","+p,reach:N};s(e,t,n,x.prev,C,F),f&&F.reach>f.reach&&(f.reach=F.reach)}}}}}}function c(){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 l(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 c in o.attributes)s+=" "+c+'="'+(o.attributes[c]||"").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:{});
|
|
2
2
|
/**
|
|
3
3
|
* Prism: Lightweight, robust, elegant syntax highlighting
|
|
4
4
|
*
|
|
@@ -6,7 +6,13 @@ import{options as e,createContext as t,Fragment as n,Component as r,createElemen
|
|
|
6
6
|
* @author Lea Verou <https://lea.verou.me>
|
|
7
7
|
* @namespace
|
|
8
8
|
* @public
|
|
9
|
-
*/e.exports&&(e.exports=t),void 0!==Zr&&(Zr.Prism=t),t.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]},t.languages.markup.tag.inside["attr-value"].inside.entity=t.languages.markup.entity,t.languages.markup.doctype.inside["internal-subset"].inside=t.languages.markup,t.hooks.add("wrap",(function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&/,"&"))})),Object.defineProperty(t.languages.markup.tag,"addInlined",{value:function(e,n){var r={};r["language-"+n]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:t.languages[n]},r.cdata=/^<!\[CDATA\[|\]\]>$/i;var i={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:r}};i["language-"+n]={pattern:/[\s\S]+/,inside:t.languages[n]};var o={};o[e]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,(function(){return e})),"i"),lookbehind:!0,greedy:!0,inside:i},t.languages.insertBefore("markup","cdata",o)}}),Object.defineProperty(t.languages.markup.tag,"addAttribute",{value:function(e,n){t.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:[n,"language-"+n],inside:t.languages[n]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),t.languages.html=t.languages.markup,t.languages.mathml=t.languages.markup,t.languages.svg=t.languages.markup,t.languages.xml=t.languages.extend("markup",{}),t.languages.ssml=t.languages.xml,t.languages.atom=t.languages.xml,t.languages.rss=t.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"))}(t),t.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:/[{}[\];(),.:]/},t.languages.javascript=t.languages.extend("clike",{"class-name":[t.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}|\?\?=?|\?\.?|[~:]/}),t.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,t.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:t.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:t.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:t.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:t.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:t.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),t.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:t.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"}}),t.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),t.languages.markup&&(t.languages.markup.tag.addInlined("script","javascript"),t.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")),t.languages.js=t.languages.javascript,function(){if(void 0!==t&&"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"},n="data-src-status",r="loading",i="loaded",o="pre[data-src]:not(["+n+'="'+i+'"]):not(['+n+'="'+r+'"])';t.hooks.add("before-highlightall",(function(e){e.selector+=", "+o})),t.hooks.add("before-sanity-check",(function(a){var s=a.element;if(s.matches(o)){a.code="",s.setAttribute(n,r);var c=s.appendChild(document.createElement("CODE"));c.textContent="Loading…";var l=s.getAttribute("data-src"),u=a.language;if("none"===u){var f=(/\.(\w+)$/.exec(l)||[,"none"])[1];u=e[f]||f}t.util.setLanguage(c,u),t.util.setLanguage(s,u);var d=t.plugins.autoloader;d&&d.loadLanguages(u),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){s.setAttribute(n,i);var r=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]}}(s.getAttribute("data-range"));if(r){var o=e.split(/\r\n?|\n/g),a=r[0],l=null==r[1]?o.length:r[1];a<0&&(a+=o.length),a=Math.max(0,Math.min(a-1,o.length)),l<0&&(l+=o.length),l=Math.max(0,Math.min(l,o.length)),e=o.slice(a,l).join("\n"),s.hasAttribute("data-start")||s.setAttribute("data-start",String(a+1))}c.textContent=e,t.highlightElement(c)}),(function(e){s.setAttribute(n,"failed"),c.textContent=e}))}})),t.plugins.fileHighlight={highlight:function(e){for(var n,r=(e||document).querySelectorAll(o),i=0;n=r[i++];)t.highlightElement(n)}};var a=!1;t.fileHighlight=function(){a||(console.warn("Prism.fileHighlight is deprecated. Use `Prism.plugins.fileHighlight.highlight` instead."),a=!0),t.plugins.fileHighlight.highlight.apply(this,arguments)}}}()}(Qr)),Qr.exports),Kr=Gr(Jr);const ei=({attachment:e,item:t})=>(l((()=>{Kr.highlightAll()}),[e]),O("pre",{"data-testid":"code-attachment-content",className:`language-${t?.link?.ext?.replace(".","")} line-numbers`,children:O("code",{children:e?.text})},t?.link?.id));var ti="styles_test-result-attachment-image__sJpWk",ni="styles_test-result-attachment-error__od2Zn",ri="styles_wrong-attachment-sign__j-rkc",ii="styles_test-result-spinner__B3aF3",oi="styles_html-attachment-preview__0-kmL",ai="styles_test-result-attachment-video__251vv";const si=({attachment:e})=>{const[t,n]=c(!0);return l((()=>{if(e?.img){const t=new Image;t.onload=()=>n(!0),t.onerror=()=>n(!1),t.src=e.img}}),[e?.img]),O("div",e?.img&&t?{"data-testid":"image-attachment-content",className:ti,children:e?.img&&O("img",{src:e.img,alt:e.originalFileName})}:{className:ni,children:"something went wrong"})},ci=({attachment:e})=>e?O("video",{"data-testid":"video-attachment-content",class:ai,controls:!0,loop:!0,muted:!0,children:O("source",{src:e?.src,type:e?.contentType})}):O(jt,{}),li=({attachment:e})=>O("div",{className:oi,dangerouslySetInnerHTML:{__html:e?.text}}),ui={image:si,svg:si,json:ei,code:ei,uri:ei,css:ei,table:ei,html:ei,text:ei,video:ci},fi={html:li},di=({item:e,previewable:t})=>{const{link:{contentType:n,id:r,ext:i}}=e,[o,a]=c(null),[s,u]=c(!1),f=_r(n),d=ui[f.type],h=fi[f.type];return l((()=>{(async()=>{const e=await(async(e,t,n)=>{if(!e&&!t)return null;const r=await vr({id:e,ext:t,contentType:n});switch(_r(n).type){case"svg":case"image":{const t=await r.blob();return{img:URL.createObjectURL(t),id:e}}case"uri":case"code":case"html":case"table":case"text":return{text:await r.text()};case"video":{const t=await r.blob();return{src:URL.createObjectURL(t),id:e,contentType:n}}default:return null}})(r,i,n)||null;u(!0),a(e)})()}),[n,r,i]),s?h&&t?O(h,{attachment:o,item:e}):d?O(d,{attachment:o,item:e}):null:O("div",{className:ii,children:O(jt,{})})},hi=({children:e})=>O("div",{className:ri,children:e}),pi=({code:e,children:t,className:n})=>(l((()=>{Kr.highlightAll()}),[]),O("pre",{className:D("language-text line-numbers language-diff",n),children:[e&&O("code",{children:e}),t]}));var gi="styles_modal-overlay__xdM2o",mi="styles_modal-content__2yYdb",bi="styles_modal-wrapper__KacuO",vi="styles_modal-wrapper-fullscreen__11W3U",yi="styles_modal-data-component__3HBgz",_i="styles_modal-buttons__OBqaM",wi="styles_modal-data__tEK64",xi="styles_modal-header__IcCg9",Ci="styles_modal-thumb__O5sLe",ki="styles_active__YdnV4",Mi="styles_modal-gallery__w0J0I";const Si=({changeThumb:e,children:t,isActiveThumb:n})=>O("div",{className:D(Ci,{[ki]:n}),onClick:()=>()=>e?.(),children:t}),Ti=({attachments:e=[]})=>{const t=e?.filter((({link:{contentType:e}})=>{const t=_r(e).type;return!["archive",null].includes(t)}));return O("div",{className:Mi,children:t?.map((e=>O(Si,{item:e,children:O(di,{item:e})},e?.link?.id)))})},Ai=({data:e,isModalOpen:t,preview:n,component:r,attachments:i,closeModal:o,translations:a,title:s})=>{const{tooltipPreview:u,tooltipDownload:f,openInNewTabButton:h}=a,{link:p}=e||{},[g,m]=c(!1),b=p?.contentType?.startsWith("image"),v="text/html"===p?.contentType,y=p?.id&&p?.ext&&p?.contentType,_=p?.name||p?.id&&p?.ext&&`${p.id}${p.ext}`||"",w=s||_,x=d((()=>r&&qr(r,{data:e,isFullScreen:g})),[r,e,g]);l((()=>{Kr.highlightAll()}),[]),l((()=>(document.body.style.overflow=t?"hidden":"",()=>{document.body.style.overflow=""})),[t]);const C=async e=>{e.stopPropagation();const{id:t,ext:n,contentType:r}=p||{};t&&n&&r&&await(async(e,t,n)=>{if(!e&&!t)return;const r=`${e}${t}`,i=await yr(e,t,n),o=URL.createObjectURL(i),a=document.createElement("a");a.href=o,a.download=r,a.click(),URL.revokeObjectURL(o)})(t,n,r)};return t?O("div",{className:gi,onClick:o,children:O("div",{className:D(mi),onClick:e=>e.stopPropagation(),children:[O("div",{className:D(bi,{[vi]:g}),children:[O("div",{className:xi,children:[O(Ft,{size:"s",children:w}),O("div",{className:_i,children:[b&&O($t,{style:"outline",onClick:async()=>{const{id:e,ext:t,contentType:n}=p||{};await(async(e,t,n)=>{if(!e&&!t)return;const r=await yr(e,t,n),i=URL.createObjectURL(r);globalThis.open(i,"_blank")})(e,t,n)},icon:Pt.lineGeneralLinkExternal,text:h}),v&&O(er,{tooltipText:u,children:O(zt,{style:"outline",size:"m",iconSize:"s",icon:n?Pt.viewOff:Pt.view})}),y&&O(er,{tooltipText:f,children:O(zt,{style:"outline",size:"m",iconSize:"s",icon:Pt.lineGeneralDownloadCloud,onClick:e=>C(e)})}),O(zt,{iconSize:"m",style:"ghost",onClick:()=>m(!g),icon:g?Pt.lineLayoutsMinimize2:Pt.lineLayoutsMaximize2}),O(zt,{iconSize:"m",style:"ghost",onClick:o,icon:Pt.lineGeneralXClose})]})]}),O("div",{className:wi,children:O("div",{className:yi,children:x},e?.link?.id)})]}),i?.length&&O(Ti,{attachments:i})]})}):null};var Ei={tree:"styles_tree__fG6jK","tree-list":"styles_tree-list__3q7eT","tree-section":"styles_tree-section__iV9nA","tree-section-title":"styles_tree-section-title__3v2nF","tree-count":"styles_tree-count__RjQCr","tree-item":"styles_tree-item__-43NH","item-title":"styles_item-title__ip78x","test-count":"styles_test-count__ynxa4","tree-content":"styles_tree-content__RqVeR",root:"styles_root__gLSTv","tree-item-icon":"styles_tree-item-icon__pSBl5","status-passed":"styles_status-passed__kTMq4","status-failed":"styles_status-failed__2uYs3","status-broken":"styles_status-broken__34I8R","status-skipped":"styles_status-skipped__MEGGW","status-unknown":"styles_status-unknown__p2KHg","tree-status-bar":"styles_tree-status-bar__LJ7Y1","tree-status-bar-item":"styles_tree-status-bar-item__Yofv2",passed:"styles_passed__SeJia",failed:"styles_failed__-3jyb",broken:"styles_broken__g7-KJ",skipped:"styles_skipped__RfV4j",unknown:"styles_unknown__hkDQ1","tree-empty-results":"styles_tree-empty-results__4EWH4","tree-empty-results-title":"styles_tree-empty-results-title__hGsAb","tree-empty-results-clear-button":"styles_tree-empty-results-clear-button__9nCUy",order:"styles_order__-yTyr","tree-item-marked":"styles_tree-item-marked__TW7os"};const{solidAlertCircle:Oi,solidCheckCircle:Pi,solidHelpCircle:Di,solidMinusCircle:ji,solidXCircle:Ni}=Pt,Li={failed:Ni,broken:Oi,passed:Pi,skipped:ji,unknown:Di},Fi=({status:e="unknown",className:t,classNameIcon:n})=>{const r=D(Ei[`status-${e}`],n);return O("div",{"data-testid":`tree-leaf-status-${e}`,className:D(Ei["tree-item-icon"],t),children:O(Dt,{className:r,id:Li[e]})})},Bi=["failed","broken","passed","skipped","unknown"],Ri=new Set(["failed","broken"]),$i=new Set(["passed"]),zi=new Set([...Ri,...$i]),Ii=e=>{const t=new Set(e);return e=>t.has(e.status)};Ii($i),Ii(Ri),Ii(zi);const Ui=[{suffix:"d",accessor:e=>Math.floor(e/864e5)},{suffix:"h",accessor:e=>Math.floor(e/36e5)%24},{suffix:"m",accessor:e=>Math.floor(e/6e4)%60},{suffix:"s",accessor:e=>Math.floor(e/1e3)%60},{suffix:"ms",accessor:e=>Math.round(e)%1e3}],Hi={flaky:Pt.lineIconBomb2,new:Pt.lineGeneralEye},Vi=({type:e})=>O(Dt,{"data-testid":`tree-item-meta-icon-${e}`,id:Hi[e]});var Wi="styles_tree-item-retries__dhixw",Yi="styles_tree-item-retries-icon__4SC3U";const qi=({retriesCount:e=0})=>e>0?O("div",{"data-testid":"tree-item-retries",className:Wi,children:[O(Dt,{className:Yi,id:Pt.lineArrowsRefreshCcw1}),O(Nt,{type:"ui",size:"m",children:e})]}):null;var Zi="styles_item-info__ELNw-",Gi="styles_item-info-time__fWpPK";const Xi=({duration:e,retriesCount:t,flaky:n,new:r})=>{const i=(e=>{if(void 0===e)return"unknown";if(e<.5)return"0s";const t=[];for(const{accessor:n,suffix:r}of Ui){const i=n(e);if((0!==t.length||i)&&(t.push(i+r),t.length>1))break}return t.join(" ")})(e);return O("div",{className:Zi,children:[r&&O(Vi,{type:"new"}),n&&O(Vi,{type:"flaky"}),O(qi,{retriesCount:t}),O(Nt,{"data-testid":"tree-leaf-duration",type:"ui",size:"m",className:Gi,children:i})]})},Qi=({name:e,groupOrder:t,status:n,duration:r,retriesCount:i,flaky:o,id:a,marked:s,navigateTo:c,...l})=>O("div",{...l,className:D(Ei["tree-item"],s?Ei["tree-item-marked"]:""),onClick:()=>c(a),id:a,children:[O(Fi,{status:n}),O(Lt,{"data-testid":"tree-leaf-order",size:"s",className:Ei.order,children:t}),O(Nt,{"data-testid":"tree-leaf-title",className:Ei["item-title"],children:e}),O(Xi,{duration:r,flaky:o,retriesCount:i})]}),Ji=({title:e,icon:t,isOpened:n,toggleTree:r,children:i,...o})=>O("div",{"data-testid":"tree-section",...o,className:Ei["tree-section"],onClick:r,children:[O(gr,{"data-testid":"tree-arrow",isOpened:n}),t&&O(Dt,{id:t,size:"xs"}),O(Nt,{"data-testid":"tree-section-title",size:"m",bold:!0,className:Ei["tree-section-title"],children:e}),i]}),Ki=({statistic:e,statusFilter:t,reportStatistic:n,maxWidth:r=140,minWidth:i=46,offset:o=10})=>{const a=Math.floor(((e,t)=>{const n=Math.log(o);return(Math.log(e+o)-n)/(Math.log(t+o)-n)})(e?.total??0,n?.total??0)*(r-i)+i);return e?O("div",{className:Ei["tree-status-bar"],style:{width:`${a}px`},children:Bi.map((t=>({status:t,value:e[t]}))).filter((({status:e,value:n})=>void 0!==n&&("total"===t||t===e&&n>0))).map((({status:e,value:t})=>O("div",{className:D(Ei["tree-status-bar-item"],Ei[e]),style:{flexGrow:t},children:t},e)))}):null},eo=({categoryTitle:e,isOpened:t,toggleTree:n,statistic:r,reportStatistic:i,statusFilter:o,...a})=>O(Ji,{...a,title:e,isOpened:t,toggleTree:n,children:O(Ki,{reportStatistic:i,statusFilter:o,statistic:r})}),to=({tree:e,statusFilter:t,root:n,name:r,statistic:i,reportStatistic:o,collapsedTrees:a,toggleTree:s,routeId:l,navigateTo:u})=>{const f=a.has(e.nodeId),d=void 0===i||!!i?.failed||!!i?.broken,[h,p]=c((()=>n||(f?!d:d)));if(!e?.trees?.length&&!e?.leaves?.length)return null;const g=h&&O("div",{"data-testid":"tree-content",className:D({[Ei["tree-content"]]:!0,[Ei.root]:n}),children:[e?.trees?.map?.((e=>O(to,{name:e.name,tree:e,statistic:e.statistic,reportStatistic:o,statusFilter:t,collapsedTrees:a,toggleTree:s,routeId:l,navigateTo:u},e.nodeId))),e?.leaves?.map?.((e=>O(Qi,{"data-testid":"tree-leaf",id:e.nodeId,name:e.name,status:e.status,groupOrder:e.groupOrder,duration:e.duration,retriesCount:e.retriesCount,flaky:e.flaky,marked:e.nodeId===l,navigateTo:u},e.nodeId)))]});return O("div",{className:Ei.tree,children:[r&&O(eo,{statusFilter:t,categoryTitle:r,isOpened:h,toggleTree:()=>{p(!h),s(e.nodeId)},statistic:i,reportStatistic:o}),g]})};var no={counter:"styles_counter__chRZ-","status-passed":"styles_status-passed__fOOfy","status-failed":"styles_status-failed__CIBqD","status-broken":"styles_status-broken__caix7","status-skipped":"styles_status-skipped__FrjS4","status-unknown":"styles_status-unknown__wxCbv","size-s":"styles_size-s__MzJcz","size-m":"styles_size-m__zaoMz","size-l":"styles_size-l__foUrC"};const ro=e=>{const{count:t,size:n="s",truncateCount:r=!1,status:i}=e,o=r&&t>99?"99+":t;return O(Nt,{tag:"small",size:"l"===n?"m":"s",type:"ui",bold:!0,className:D(no.counter,no[`size-${n}`],i&&no[`status-${i}`]),"data-testid":"counter",children:o})};var io="styles_toggle__aBRpI";const oo=e=>{const{value:t,label:n,onChange:r,focusable:i=!0,...o}=e;return O("input",{...o,tabIndex:i?0:-1,className:io,role:"switch",type:"checkbox",checked:t,"aria-label":n,onToggle:e=>{const t=!e.target.checked;r(t)}})};var ao="styles_link__BC-2O";const so=e=>{const{children:t,onClick:n,href:r}=e;return O(void 0===r?"button":"a",{href:r,onClick:n,className:ao,children:t})};function co(e){return function(){return e}}const lo=Math.abs,uo=Math.atan2,fo=Math.cos,ho=Math.max,po=Math.min,go=Math.sin,mo=Math.sqrt,bo=1e-12,vo=Math.PI,yo=vo/2,_o=2*vo;function wo(e){return e>=1?yo:e<=-1?-yo:Math.asin(e)}const xo=Math.PI,Co=2*xo,ko=1e-6,Mo=Co-ko;function So(e){this._+=e[0];for(let t=1,n=e.length;t<n;++t)this._+=arguments[t]+e[t]}let To=class{constructor(e){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=null==e?So:function(e){let t=Math.floor(e);if(!(t>=0))throw new Error(`invalid digits: ${e}`);if(t>15)return So;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,c=r-t,l=o-e,u=a-t,f=l*l+u*u;if(null===this._x1)this._append`M${this._x1=e},${this._y1=t}`;else if(f>ko)if(Math.abs(u*s-c*l)>ko&&i){let d=n-o,h=r-a,p=s*s+c*c,g=d*d+h*h,m=Math.sqrt(p),b=Math.sqrt(f),v=i*Math.tan((xo-Math.acos((p+f-g)/(2*m*b)))/2),y=v/b,_=v/m;Math.abs(y-1)>ko&&this._append`L${e+y*l},${t+y*u}`,this._append`A${i},${i},0,0,${+(u*d>l*h)},${this._x1=e+_*s},${this._y1=t+_*c}`}else this._append`L${this._x1=e},${this._y1=t}`;else;}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),c=e+a,l=t+s,u=1^o,f=o?r-i:i-r;null===this._x1?this._append`M${c},${l}`:(Math.abs(this._x1-c)>ko||Math.abs(this._y1-l)>ko)&&this._append`L${c},${l}`,n&&(f<0&&(f=f%Co+Co),f>Mo?this._append`A${n},${n},0,1,${u},${e-a},${t-s}A${n},${n},0,1,${u},${this._x1=c},${this._y1=l}`:f>ko&&this._append`A${n},${n},0,${+(f>=xo)},${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 Ao(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 To(t)}function Eo(e){return e.innerRadius}function Oo(e){return e.outerRadius}function Po(e){return e.startAngle}function Do(e){return e.endAngle}function jo(e){return e&&e.padAngle}function No(e,t,n,r,i,o,a){var s=e-n,c=t-r,l=(a?o:-o)/mo(s*s+c*c),u=l*c,f=-l*s,d=e+u,h=t+f,p=n+u,g=r+f,m=(d+p)/2,b=(h+g)/2,v=p-d,y=g-h,_=v*v+y*y,w=i-o,x=d*g-p*h,C=(y<0?-1:1)*mo(ho(0,w*w*_-x*x)),k=(x*y-v*C)/_,M=(-x*v-y*C)/_,S=(x*y+v*C)/_,T=(-x*v+y*C)/_,A=k-m,E=M-b,O=S-m,P=T-b;return A*A+E*E>O*O+P*P&&(k=S,M=T),{cx:k,cy:M,x01:-u,y01:-f,x11:k*(i/w-1),y11:M*(i/w-1)}}function Lo(e){return"object"==typeof e&&"length"in e?e:Array.from(e)}function Fo(e){this._context=e}function Bo(e){return new Fo(e)}function Ro(e){return e[0]}function $o(e){return e[1]}function zo(e,t){var n=co(!0),r=null,i=Bo,o=null,a=Ao(s);function s(s){var c,l,u,f=(s=Lo(s)).length,d=!1;for(null==r&&(o=i(u=a())),c=0;c<=f;++c)!(c<f&&n(l=s[c],c,s))===d&&((d=!d)?o.lineStart():o.lineEnd()),d&&o.point(+e(l,c,s),+t(l,c,s));if(u)return o=null,u+""||null}return e="function"==typeof e?e:void 0===e?Ro:co(e),t="function"==typeof t?t:void 0===t?$o:co(t),s.x=function(t){return arguments.length?(e="function"==typeof t?t:co(+t),s):e},s.y=function(e){return arguments.length?(t="function"==typeof e?e:co(+e),s):t},s.defined=function(e){return arguments.length?(n="function"==typeof e?e:co(!!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 Io(e,t){return t<e?-1:t>e?1:t>=e?0:NaN}function Uo(e){return e}function Ho(){}function Vo(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 Wo(e){this._context=e}function Yo(e){this._context=e}function qo(e){this._context=e}function Zo(e,t){this._basis=new Wo(e),this._beta=t}Fo.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)}}},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(){switch(this._point){case 3:Vo(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:Vo(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},Yo.prototype={areaStart:Ho,areaEnd:Ho,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:Vo(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},qo.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:Vo(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},Zo.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,c=-1;++c<=n;)r=c/n,this._basis.point(this._beta*e[c]+(1-this._beta)*(i+r*a),this._beta*t[c]+(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 Go=function e(t){function n(e){return 1===t?new Wo(e):new Zo(e,t)}return n.beta=function(t){return e(+t)},n}(.85);function Xo(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 Qo(e,t){this._context=e,this._k=(1-t)/6}Qo.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:Xo(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:Xo(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 Jo=function e(t){function n(e){return new Qo(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:Ho,areaEnd:Ho,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:Xo(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 Ko(e,t)}return n.tension=function(t){return e(+t)},n}(0);function ta(e,t){this._context=e,this._k=(1-t)/6}ta.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:Xo(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 na=function e(t){function n(e){return new ta(e,t)}return n.tension=function(t){return e(+t)},n}(0);function ra(e,t,n){var r=e._x1,i=e._y1,o=e._x2,a=e._y2;if(e._l01_a>bo){var s=2*e._l01_2a+3*e._l01_a*e._l12_a+e._l12_2a,c=3*e._l01_a*(e._l01_a+e._l12_a);r=(r*s-e._x0*e._l12_2a+e._x2*e._l01_2a)/c,i=(i*s-e._y0*e._l12_2a+e._y2*e._l01_2a)/c}if(e._l23_a>bo){var l=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*l+e._x1*e._l23_2a-t*e._l12_2a)/u,a=(a*l+e._y1*e._l23_2a-n*e._l12_2a)/u}e._context.bezierCurveTo(r,i,o,a,e._x2,e._y2)}function ia(e,t){this._context=e,this._alpha=t}ia.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:ra(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 Qo(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:Ho,areaEnd:Ho,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:ra(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 Ko(e,0)}return n.alpha=function(t){return e(+t)},n}(.5);function ca(e,t){this._context=e,this._alpha=t}ca.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:ra(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 la=function e(t){function n(e){return t?new ca(e,t):new ta(e,0)}return n.alpha=function(t){return e(+t)},n}(.5);function ua(e){this._context=e}function fa(e){return e<0?-1:1}function da(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(fa(o)+fa(a))*Math.min(Math.abs(o),Math.abs(a),.5*Math.abs(s))||0}function ha(e,t){var n=e._x1-e._x0;return n?(3*(e._y1-e._y0)/n-t)/2:t}function pa(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 ga(e){this._context=e}function ma(e){this._context=new ba(e)}function ba(e){this._context=e}function va(e){this._context=e}function ya(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 _a(e,t){this._context=e,this._t=t}ua.prototype={areaStart:Ho,areaEnd:Ho,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))}},ga.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:pa(this,this._t0,ha(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,pa(this,ha(this,n=da(this,e,t)),n);break;default:pa(this,this._t0,n=da(this,e,t))}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t,this._t0=n}}},(ma.prototype=Object.create(ga.prototype)).point=function(e,t){ga.prototype.point.call(this,t,e)},ba.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=ya(e),i=ya(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)}},_a.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&2===this._point&&this._context.lineTo(this._x,this._y),(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,t),this._context.lineTo(e,t);else{var n=this._x*(1-this._t)+e*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,t)}}this._x=e,this._y=t}};var wa="styles_legend__hv86p",xa="styles_chart__IzuK6";const Ca=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)"}},ka=function(){var e=Eo,t=Oo,n=co(0),r=null,i=Po,o=Do,a=jo,s=null,c=Ao(l);function l(){var l,u,f=+e.apply(this,arguments),d=+t.apply(this,arguments),h=i.apply(this,arguments)-yo,p=o.apply(this,arguments)-yo,g=lo(p-h),m=p>h;if(s||(s=l=c()),d<f&&(u=d,d=f,f=u),d>bo)if(g>_o-bo)s.moveTo(d*fo(h),d*go(h)),s.arc(0,0,d,h,p,!m),f>bo&&(s.moveTo(f*fo(p),f*go(p)),s.arc(0,0,f,p,h,m));else{var b,v,y=h,_=p,w=h,x=p,C=g,k=g,M=a.apply(this,arguments)/2,S=M>bo&&(r?+r.apply(this,arguments):mo(f*f+d*d)),T=po(lo(d-f)/2,+n.apply(this,arguments)),A=T,E=T;if(S>bo){var O=wo(S/f*go(M)),P=wo(S/d*go(M));(C-=2*O)>bo?(w+=O*=m?1:-1,x-=O):(C=0,w=x=(h+p)/2),(k-=2*P)>bo?(y+=P*=m?1:-1,_-=P):(k=0,y=_=(h+p)/2)}var D=d*fo(y),j=d*go(y),N=f*fo(x),L=f*go(x);if(T>bo){var F,B=d*fo(_),R=d*go(_),$=f*fo(w),z=f*go(w);if(g<vo)if(F=function(e,t,n,r,i,o,a,s){var c=n-e,l=r-t,u=a-i,f=s-o,d=f*c-u*l;if(!(d*d<bo))return[e+(d=(u*(t-o)-f*(e-i))/d)*c,t+d*l]}(D,j,$,z,B,R,N,L)){var I=D-F[0],U=j-F[1],H=B-F[0],V=R-F[1],W=1/go(function(e){return e>1?0:e<-1?vo:Math.acos(e)}((I*H+U*V)/(mo(I*I+U*U)*mo(H*H+V*V)))/2),Y=mo(F[0]*F[0]+F[1]*F[1]);A=po(T,(f-Y)/(W-1)),E=po(T,(d-Y)/(W+1))}else A=E=0}k>bo?E>bo?(b=No($,z,D,j,d,E,m),v=No(B,R,N,L,d,E,m),s.moveTo(b.cx+b.x01,b.cy+b.y01),E<T?s.arc(b.cx,b.cy,E,uo(b.y01,b.x01),uo(v.y01,v.x01),!m):(s.arc(b.cx,b.cy,E,uo(b.y01,b.x01),uo(b.y11,b.x11),!m),s.arc(0,0,d,uo(b.cy+b.y11,b.cx+b.x11),uo(v.cy+v.y11,v.cx+v.x11),!m),s.arc(v.cx,v.cy,E,uo(v.y11,v.x11),uo(v.y01,v.x01),!m))):(s.moveTo(D,j),s.arc(0,0,d,y,_,!m)):s.moveTo(D,j),f>bo&&C>bo?A>bo?(b=No(N,L,B,R,f,-A,m),v=No(D,j,$,z,f,-A,m),s.lineTo(b.cx+b.x01,b.cy+b.y01),A<T?s.arc(b.cx,b.cy,A,uo(b.y01,b.x01),uo(v.y01,v.x01),!m):(s.arc(b.cx,b.cy,A,uo(b.y01,b.x01),uo(b.y11,b.x11),!m),s.arc(0,0,f,uo(b.cy+b.y11,b.cx+b.x11),uo(v.cy+v.y11,v.cx+v.x11),m),s.arc(v.cx,v.cy,A,uo(v.y11,v.x11),uo(v.y01,v.x01),!m))):s.arc(0,0,f,x,w,m):s.lineTo(N,L)}else s.moveTo(0,0);if(s.closePath(),l)return s=null,l+""||null}return l.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[fo(r)*n,go(r)*n]},l.innerRadius=function(t){return arguments.length?(e="function"==typeof t?t:co(+t),l):e},l.outerRadius=function(e){return arguments.length?(t="function"==typeof e?e:co(+e),l):t},l.cornerRadius=function(e){return arguments.length?(n="function"==typeof e?e:co(+e),l):n},l.padRadius=function(e){return arguments.length?(r=null==e?null:"function"==typeof e?e:co(+e),l):r},l.startAngle=function(e){return arguments.length?(i="function"==typeof e?e:co(+e),l):i},l.endAngle=function(e){return arguments.length?(o="function"==typeof e?e:co(+e),l):o},l.padAngle=function(e){return arguments.length?(a="function"==typeof e?e:co(+e),l):a},l.context=function(e){return arguments.length?(s=null==e?null:e,l):s},l}().innerRadius(40).outerRadius(50).cornerRadius(2).padAngle(.03),Ma=function(){var e=Uo,t=Io,n=null,r=co(0),i=co(_o),o=co(0);function a(a){var s,c,l,u,f,d=(a=Lo(a)).length,h=0,p=new Array(d),g=new Array(d),m=+r.apply(this,arguments),b=Math.min(_o,Math.max(-_o,i.apply(this,arguments)-m)),v=Math.min(Math.abs(b)/d,o.apply(this,arguments)),y=v*(b<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,l=h?(b-d*y)/h:0;s<d;++s,m=u)c=p[s],u=m+((f=g[c])>0?f*l:0)+y,g[c]={data:a[c],index:s,value:f,startAngle:m,endAngle:u,padAngle:v};return g}return a.value=function(t){return arguments.length?(e="function"==typeof t?t:co(+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:co(+e),a):r},a.endAngle=function(e){return arguments.length?(i="function"==typeof e?e:co(+e),a):i},a.padAngle=function(e){return arguments.length?(o="function"==typeof e?e:co(+e),a):o},a}().value((e=>e.count)).padAngle(.03).sortValues(((e,t)=>e-t)),Sa=(e,t)=>Math.floor(e/t*1e4)/100,Ta=e=>{const t=Bi.filter((t=>!!e?.[t])).map((t=>({status:t,count:e[t]})));return{slices:Ma(t).map((e=>({d:ka(e),...e.data}))),percentage:Sa(e.passed??0,e.total)}},Aa=({slices:e,percentage:t,className:n})=>O("article",{"aria-label":"Success rate",role:"presentation",className:D(xa,n),children:[O("svg",{"aria-hidden":!0,viewBox:"0 0 100 100",children:O("g",{transform:"translate(50, 50)",children:e.map((e=>O("path",{d:e.d,fill:Ca(e.status)},e.status)))})}),void 0!==t&&O(Ft,{className:wa,size:"s",tag:"b",children:[t,"%"]})]});var Ea="styles_label__PPstE";const Oa=({children:e})=>O("div",{className:Ea,children:O(Nt,{size:"s",bold:!0,type:"ui",children:e})});var Pa,Da={exports:{}},ja={exports:{}},Na={};var La,Fa,Ba,Ra,$a,za,Ia,Ua,Ha,Va,Wa,Ya,qa,Za,Ga,Xa={};
|
|
9
|
+
*/e.exports&&(e.exports=t),void 0!==bo&&(bo.Prism=t),t.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]},t.languages.markup.tag.inside["attr-value"].inside.entity=t.languages.markup.entity,t.languages.markup.doctype.inside["internal-subset"].inside=t.languages.markup,t.hooks.add("wrap",(function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&/,"&"))})),Object.defineProperty(t.languages.markup.tag,"addInlined",{value:function(e,n){var r={};r["language-"+n]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:t.languages[n]},r.cdata=/^<!\[CDATA\[|\]\]>$/i;var i={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:r}};i["language-"+n]={pattern:/[\s\S]+/,inside:t.languages[n]};var o={};o[e]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,(function(){return e})),"i"),lookbehind:!0,greedy:!0,inside:i},t.languages.insertBefore("markup","cdata",o)}}),Object.defineProperty(t.languages.markup.tag,"addAttribute",{value:function(e,n){t.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:[n,"language-"+n],inside:t.languages[n]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),t.languages.html=t.languages.markup,t.languages.mathml=t.languages.markup,t.languages.svg=t.languages.markup,t.languages.xml=t.languages.extend("markup",{}),t.languages.ssml=t.languages.xml,t.languages.atom=t.languages.xml,t.languages.rss=t.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"))}(t),t.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:/[{}[\];(),.:]/},t.languages.javascript=t.languages.extend("clike",{"class-name":[t.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}|\?\?=?|\?\.?|[~:]/}),t.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,t.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:t.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:t.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:t.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:t.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:t.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),t.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:t.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"}}),t.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),t.languages.markup&&(t.languages.markup.tag.addInlined("script","javascript"),t.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")),t.languages.js=t.languages.javascript,function(){if(void 0!==t&&"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"},n="data-src-status",r="loading",i="loaded",o="pre[data-src]:not(["+n+'="'+i+'"]):not(['+n+'="'+r+'"])';t.hooks.add("before-highlightall",(function(e){e.selector+=", "+o})),t.hooks.add("before-sanity-check",(function(a){var s=a.element;if(s.matches(o)){a.code="",s.setAttribute(n,r);var c=s.appendChild(document.createElement("CODE"));c.textContent="Loading…";var l=s.getAttribute("data-src"),u=a.language;if("none"===u){var f=(/\.(\w+)$/.exec(l)||[,"none"])[1];u=e[f]||f}t.util.setLanguage(c,u),t.util.setLanguage(s,u);var d=t.plugins.autoloader;d&&d.loadLanguages(u),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){s.setAttribute(n,i);var r=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]}}(s.getAttribute("data-range"));if(r){var o=e.split(/\r\n?|\n/g),a=r[0],l=null==r[1]?o.length:r[1];a<0&&(a+=o.length),a=Math.max(0,Math.min(a-1,o.length)),l<0&&(l+=o.length),l=Math.max(0,Math.min(l,o.length)),e=o.slice(a,l).join("\n"),s.hasAttribute("data-start")||s.setAttribute("data-start",String(a+1))}c.textContent=e,t.highlightElement(c)}),(function(e){s.setAttribute(n,"failed"),c.textContent=e}))}})),t.plugins.fileHighlight={highlight:function(e){for(var n,r=(e||document).querySelectorAll(o),i=0;n=r[i++];)t.highlightElement(n)}};var a=!1;t.fileHighlight=function(){a||(console.warn("Prism.fileHighlight is deprecated. Use `Prism.plugins.fileHighlight.highlight` instead."),a=!0),t.plugins.fileHighlight.highlight.apply(this,arguments)}}}()}(_o)),_o.exports),xo=vo(wo);const Co=({attachment:e,item:t})=>(l((()=>{xo.highlightAll()}),[e]),O("pre",{"data-testid":"code-attachment-content",className:`language-${t?.link?.ext?.replace(".","")} line-numbers`,children:O("code",{children:e?.text})},t?.link?.id));var ko="styles_test-result-attachment-image__sJpWk",Mo="styles_test-result-attachment-error__od2Zn",So="styles_wrong-attachment-sign__j-rkc",To="styles_test-result-spinner__B3aF3",Ao="styles_html-attachment-preview__0-kmL",Eo="styles_test-result-attachment-video__251vv";const Oo=({attachment:e})=>{const[t,n]=c(!0);return l((()=>{if(e?.img){const t=new Image;t.onload=()=>n(!0),t.onerror=()=>n(!1),t.src=e.img}}),[e?.img]),O("div",e?.img&&t?{"data-testid":"image-attachment-content",className:ko,children:e?.img&&O("img",{src:e.img,alt:e.originalFileName})}:{className:Mo,children:"something went wrong"})},Po=({attachment:e})=>e?O("video",{"data-testid":"video-attachment-content",class:Eo,controls:!0,loop:!0,muted:!0,children:O("source",{src:e?.src,type:e?.contentType})}):O(jt,{}),Do=({attachment:e})=>O("div",{className:Ao,dangerouslySetInnerHTML:{__html:e?.text}}),jo={image:Oo,svg:Oo,json:Co,code:Co,uri:Co,css:Co,table:Co,html:Co,text:Co,video:Po},No={html:Do},Lo=({item:e,previewable:t})=>{const{link:{contentType:n,id:r,ext:i}}=e,[o,a]=c(null),[s,u]=c(!1),f=_r(n),d=jo[f.type],h=No[f.type];return l((()=>{(async()=>{const e=await(async(e,t,n)=>{if(!e&&!t)return null;const r=await vr({id:e,ext:t,contentType:n});switch(_r(n).type){case"svg":case"image":{const t=await r.blob();return{img:URL.createObjectURL(t),id:e}}case"uri":case"code":case"html":case"table":case"text":return{text:await r.text()};case"video":{const t=await r.blob();return{src:URL.createObjectURL(t),id:e,contentType:n}}default:return null}})(r,i,n)||null;u(!0),a(e)})()}),[n,r,i]),s?h&&t?O(h,{attachment:o,item:e}):d?O(d,{attachment:o,item:e}):null:O("div",{className:To,children:O(jt,{})})},Fo=({children:e})=>O("div",{className:So,children:e}),Ro=({code:e,children:t,className:n})=>(l((()=>{xo.highlightAll()}),[]),O("pre",{className:D("language-text line-numbers language-diff",n),children:[e&&O("code",{children:e}),t]}));var Bo="styles_modal-overlay__xdM2o",$o="styles_modal-content__2yYdb",zo="styles_modal-wrapper__KacuO",Io="styles_modal-wrapper-fullscreen__11W3U",Uo="styles_modal-data-component__3HBgz",Ho="styles_modal-buttons__OBqaM",Vo="styles_modal-data__tEK64",Wo="styles_modal-header__IcCg9",Yo="styles_modal-thumb__O5sLe",qo="styles_active__YdnV4",Zo="styles_modal-gallery__w0J0I";const Go=({changeThumb:e,children:t,isActiveThumb:n})=>O("div",{className:D(Yo,{[qo]:n}),onClick:()=>()=>e?.(),children:t}),Xo=({attachments:e=[]})=>{const t=e?.filter((({link:{contentType:e}})=>{const t=_r(e).type;return!["archive",null].includes(t)}));return O("div",{className:Zo,children:t?.map((e=>O(Go,{item:e,children:O(Lo,{item:e})},e?.link?.id)))})},Qo=({data:e,isModalOpen:t,preview:n,component:r,attachments:i,closeModal:o,translations:a,title:s})=>{const{tooltipPreview:u,tooltipDownload:f,openInNewTabButton:h}=a,{link:p}=e||{},[g,m]=c(!1),b=p?.contentType?.startsWith("image"),v="text/html"===p?.contentType,y=p?.id&&p?.ext&&p?.contentType,_=p?.name||p?.id&&p?.ext&&`${p.id}${p.ext}`||"",w=s||_,x=d((()=>r&&mo(r,{data:e,isFullScreen:g})),[r,e,g]);l((()=>{xo.highlightAll()}),[]),l((()=>(document.body.style.overflow=t?"hidden":"",()=>{document.body.style.overflow=""})),[t]);const C=async e=>{e.stopPropagation();const{id:t,ext:n,contentType:r}=p||{};t&&n&&r&&await(async(e,t,n)=>{if(!e&&!t)return;const r=`${e}${t}`,i=await yr(e,t,n),o=URL.createObjectURL(i),a=document.createElement("a");a.href=o,a.download=r,a.click(),URL.revokeObjectURL(o)})(t,n,r)};return t?O("div",{className:Bo,onClick:o,children:O("div",{className:D($o),onClick:e=>e.stopPropagation(),children:[O("div",{className:D(zo,{[Io]:g}),children:[O("div",{className:Wo,children:[O(Ft,{size:"s",children:w}),O("div",{className:Ho,children:[b&&O($t,{style:"outline",onClick:async()=>{const{id:e,ext:t,contentType:n}=p||{};await(async(e,t,n)=>{if(!e&&!t)return;const r=await yr(e,t,n),i=URL.createObjectURL(r);globalThis.open(i,"_blank")})(e,t,n)},icon:Pt.lineGeneralLinkExternal,text:h}),v&&O(er,{tooltipText:u,children:O(zt,{style:"outline",size:"m",iconSize:"s",icon:n?Pt.viewOff:Pt.view})}),y&&O(er,{tooltipText:f,children:O(zt,{style:"outline",size:"m",iconSize:"s",icon:Pt.lineGeneralDownloadCloud,onClick:e=>C(e)})}),O(zt,{iconSize:"m",style:"ghost",onClick:()=>m(!g),icon:g?Pt.lineLayoutsMinimize2:Pt.lineLayoutsMaximize2}),O(zt,{iconSize:"m",style:"ghost",onClick:o,icon:Pt.lineGeneralXClose})]})]}),O("div",{className:Vo,children:O("div",{className:Uo,children:x},e?.link?.id)})]}),i?.length&&O(Xo,{attachments:i})]})}):null};var Jo={tree:"styles_tree__fG6jK","tree-list":"styles_tree-list__3q7eT","tree-section":"styles_tree-section__iV9nA","tree-section-title":"styles_tree-section-title__3v2nF","tree-count":"styles_tree-count__RjQCr","tree-item":"styles_tree-item__-43NH","item-title":"styles_item-title__ip78x","test-count":"styles_test-count__ynxa4","tree-content":"styles_tree-content__RqVeR",root:"styles_root__gLSTv","tree-item-icon":"styles_tree-item-icon__pSBl5","status-passed":"styles_status-passed__kTMq4","status-failed":"styles_status-failed__2uYs3","status-broken":"styles_status-broken__34I8R","status-skipped":"styles_status-skipped__MEGGW","status-unknown":"styles_status-unknown__p2KHg","tree-status-bar":"styles_tree-status-bar__LJ7Y1","tree-status-bar-item":"styles_tree-status-bar-item__Yofv2",passed:"styles_passed__SeJia",failed:"styles_failed__-3jyb",broken:"styles_broken__g7-KJ",skipped:"styles_skipped__RfV4j",unknown:"styles_unknown__hkDQ1","tree-empty-results":"styles_tree-empty-results__4EWH4","tree-empty-results-title":"styles_tree-empty-results-title__hGsAb","tree-empty-results-clear-button":"styles_tree-empty-results-clear-button__9nCUy",order:"styles_order__-yTyr","tree-item-marked":"styles_tree-item-marked__TW7os"};const{solidAlertCircle:Ko,solidCheckCircle:ea,solidHelpCircle:ta,solidMinusCircle:na,solidXCircle:ra}=Pt,ia={failed:ra,broken:Ko,passed:ea,skipped:na,unknown:ta},oa=({status:e="unknown",className:t,classNameIcon:n})=>{const r=D(Jo[`status-${e}`],n);return O("div",{"data-testid":`tree-leaf-status-${e}`,className:D(Jo["tree-item-icon"],t),children:O(Dt,{className:r,id:ia[e]})})},aa={flaky:Pt.lineIconBomb2,new:Pt.lineGeneralEye},sa=({type:e})=>O(Dt,{"data-testid":`tree-item-meta-icon-${e}`,id:aa[e]});var ca="styles_tree-item-retries__dhixw",la="styles_tree-item-retries-icon__4SC3U";const ua=({retriesCount:e=0})=>e>0?O("div",{"data-testid":"tree-item-retries",className:ca,children:[O(Dt,{className:la,id:Pt.lineArrowsRefreshCcw1}),O(Nt,{type:"ui",size:"m",children:e})]}):null;var fa="styles_item-info__ELNw-",da="styles_item-info-time__fWpPK";const ha=({duration:e,retriesCount:t,flaky:n,new:r})=>{const i=(e=>{if(void 0===e)return"unknown";if(e<.5)return"0s";const t=[];for(const{accessor:n,suffix:r}of Hi){const i=n(e);if((0!==t.length||i)&&(t.push(i+r),t.length>1))break}return t.join(" ")})(e);return O("div",{className:fa,children:[r&&O(sa,{type:"new"}),n&&O(sa,{type:"flaky"}),O(ua,{retriesCount:t}),O(Nt,{"data-testid":"tree-leaf-duration",type:"ui",size:"m",className:da,children:i})]})},pa=({name:e,groupOrder:t,status:n,duration:r,retriesCount:i,flaky:o,id:a,marked:s,navigateTo:c,...l})=>O("div",{...l,className:D(Jo["tree-item"],s?Jo["tree-item-marked"]:""),onClick:()=>c(a),id:a,children:[O(oa,{status:n}),O(Lt,{"data-testid":"tree-leaf-order",size:"s",className:Jo.order,children:t}),O(Nt,{"data-testid":"tree-leaf-title",className:Jo["item-title"],children:e}),O(ha,{duration:r,flaky:o,retriesCount:i})]}),ga=({title:e,icon:t,isOpened:n,toggleTree:r,children:i,...o})=>O("div",{"data-testid":"tree-section",...o,className:Jo["tree-section"],onClick:r,children:[O(gr,{"data-testid":"tree-arrow",isOpened:n}),t&&O(Dt,{id:t,size:"xs"}),O(Nt,{"data-testid":"tree-section-title",size:"m",bold:!0,className:Jo["tree-section-title"],children:e}),i]}),ma=({statistic:e,statusFilter:t,reportStatistic:n,maxWidth:r=140,minWidth:i=46,offset:o=10})=>{const a=Math.floor(((e,t)=>{const n=Math.log(o);return(Math.log(e+o)-n)/(Math.log(t+o)-n)})(e?.total??0,n?.total??0)*(r-i)+i);return e?O("div",{className:Jo["tree-status-bar"],style:{width:`${a}px`},children:Bi.map((t=>({status:t,value:e[t]}))).filter((({status:e,value:n})=>void 0!==n&&("total"===t||t===e&&n>0))).map((({status:e,value:t})=>O("div",{className:D(Jo["tree-status-bar-item"],Jo[e]),style:{flexGrow:t},children:t},e)))}):null},ba=({categoryTitle:e,isOpened:t,toggleTree:n,statistic:r,reportStatistic:i,statusFilter:o,...a})=>O(ga,{...a,title:e,isOpened:t,toggleTree:n,children:O(ma,{reportStatistic:i,statusFilter:o,statistic:r})}),va=({tree:e,statusFilter:t,root:n,name:r,statistic:i,reportStatistic:o,collapsedTrees:a,toggleTree:s,routeId:l,navigateTo:u})=>{const f=a.has(e.nodeId),d=void 0===i||!!i?.failed||!!i?.broken,[h,p]=c((()=>n||(f?!d:d)));if(!e?.trees?.length&&!e?.leaves?.length)return null;const g=h&&O("div",{"data-testid":"tree-content",className:D({[Jo["tree-content"]]:!0,[Jo.root]:n}),children:[e?.trees?.map?.((e=>O(va,{name:e.name,tree:e,statistic:e.statistic,reportStatistic:o,statusFilter:t,collapsedTrees:a,toggleTree:s,routeId:l,navigateTo:u},e.nodeId))),e?.leaves?.map?.((e=>O(pa,{"data-testid":"tree-leaf",id:e.nodeId,name:e.name,status:e.status,groupOrder:e.groupOrder,duration:e.duration,retriesCount:e.retriesCount,flaky:e.flaky,marked:e.nodeId===l,navigateTo:u},e.nodeId)))]});return O("div",{className:Jo.tree,children:[r&&O(ba,{statusFilter:t,categoryTitle:r,isOpened:h,toggleTree:()=>{p(!h),s(e.nodeId)},statistic:i,reportStatistic:o}),g]})};var ya={counter:"styles_counter__chRZ-","status-passed":"styles_status-passed__fOOfy","status-failed":"styles_status-failed__CIBqD","status-broken":"styles_status-broken__caix7","status-skipped":"styles_status-skipped__FrjS4","status-unknown":"styles_status-unknown__wxCbv","size-s":"styles_size-s__MzJcz","size-m":"styles_size-m__zaoMz","size-l":"styles_size-l__foUrC"};const _a=e=>{const{count:t,size:n="s",truncateCount:r=!1,status:i}=e,o=r&&t>99?"99+":t;return O(Nt,{tag:"small",size:"l"===n?"m":"s",type:"ui",bold:!0,className:D(ya.counter,ya[`size-${n}`],i&&ya[`status-${i}`]),"data-testid":"counter",children:o})};var wa="styles_toggle__aBRpI";const xa=e=>{const{value:t,label:n,onChange:r,focusable:i=!0,...o}=e;return O("input",{...o,tabIndex:i?0:-1,className:wa,role:"switch",type:"checkbox",checked:t,"aria-label":n,onToggle:e=>{const t=!e.target.checked;r(t)}})};var Ca="styles_link__BC-2O";const ka=e=>{const{children:t,onClick:n,href:r}=e;return O(void 0===r?"button":"a",{href:r,onClick:n,className:Ca,children:t})};var Ma="styles_label__PPstE";const Sa=({children:e})=>O("div",{className:Ma,children:O(Nt,{size:"s",bold:!0,type:"ui",children:e})});var Ta={"status-label":"styles_status-label__jKe50","status-label-text":"styles_status-label-text__dne2b","status-label-icon":"styles_status-label-icon__XfIPQ","status-passed":"styles_status-passed__nQRTG","status-failed":"styles_status-failed__Bd1ie","status-broken":"styles_status-broken__6NgUj","status-skipped":"styles_status-skipped__S6xGN","status-unknown":"styles_status-unknown__x-nw8"};const Aa=({status:e,children:t,className:n,...r})=>O("div",{...r,className:D(Ta["status-label"],Ta[`status-${e}`],n),children:[O(oa,{status:e,className:Ta["status-label-icon"],classNameIcon:Ta["status-label-icon"]}),O(Nt,{type:"ui",size:"s",className:Ta["status-label-text"],children:t})]});var Ea="styles_logo__jHlBl",Oa="styles_text__BcILe";const Pa=e=>{const{className:t}=e;return O(Nt,{type:"paragraph",size:"m",bold:!0,className:D(Oa,t),children:[O(Dt,{id:Pt.reportLogo,size:"m",inline:!0,className:Ea}),O("span",{children:"Allure Report"})]})};var Da="styles_report-logo__OOEnL";const ja=e=>{const{className:t,logo:n}=e;return O("div",{className:D(Da,t),children:n?O("img",{src:n,alt:"report logo"}):O(Dt,{id:Pt.reportLogo,inline:!0})})};var Na="styles_widget__JLpmE",La="styles_header__yKZiz",Fa="styles_dragArea__MIXbb",Ra="styles_content__zvonT";const Ba=({children:e,title:t})=>O("div",{className:Na,children:[O("div",{className:La,children:[O("div",{className:Fa}),O(Ft,{size:"s",children:t})]}),O("div",{className:Ra,children:e})]});
|
|
10
|
+
/**!
|
|
11
|
+
* Sortable 1.15.6
|
|
12
|
+
* @author RubaXa <trash@rubaxa.org>
|
|
13
|
+
* @author owenm <owen23355@gmail.com>
|
|
14
|
+
* @license MIT
|
|
15
|
+
*/function $a(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 za(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?$a(Object(n),!0).forEach((function(t){Ua(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):$a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ia(e){return Ia="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},Ia(e)}function Ua(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ha(){return Ha=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},Ha.apply(this,arguments)}function Va(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}function Wa(e){if("undefined"!=typeof window&&window.navigator)return!!navigator.userAgent.match(e)}var Ya=Wa(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),qa=Wa(/Edge/i),Za=Wa(/firefox/i),Ga=Wa(/safari/i)&&!Wa(/chrome/i)&&!Wa(/android/i),Xa=Wa(/iP(ad|od|hone)/i),Qa=Wa(/chrome/i)&&Wa(/android/i),Ja={capture:!1,passive:!1};function Ka(e,t,n){e.addEventListener(t,n,!Ya&&Ja)}function es(e,t,n){e.removeEventListener(t,n,!Ya&&Ja)}function ts(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 ns(e){return e.host&&e!==document&&e.host.nodeType?e.host:e.parentNode}function rs(e,t,n,r){if(e){n=n||document;do{if(null!=t&&(">"===t[0]?e.parentNode===n&&ts(e,t):ts(e,t))||r&&e===n)return e;if(e===n)break}while(e=ns(e))}return null}var is,os=/\s+/g;function as(e,t,n){if(e&&t)if(e.classList)e.classList[n?"add":"remove"](t);else{var r=(" "+e.className+" ").replace(os," ").replace(" "+t+" "," ");e.className=(r+(n?" "+t:"")).replace(os," ")}}function ss(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 cs(e,t){var n="";if("string"==typeof e)n=e;else do{var r=ss(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 ls(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 us(){var e=document.scrollingElement;return e||document.documentElement}function fs(e,t,n,r,i){if(e.getBoundingClientRect||e===window){var o,a,s,c,l,u,f;if(e!==window&&e.parentNode&&e!==us()?(a=(o=e.getBoundingClientRect()).top,s=o.left,c=o.bottom,l=o.right,u=o.height,f=o.width):(a=0,s=0,c=window.innerHeight,l=window.innerWidth,u=window.innerHeight,f=window.innerWidth),(t||n)&&e!==window&&(i=i||e.parentNode,!Ya))do{if(i&&i.getBoundingClientRect&&("none"!==ss(i,"transform")||n&&"static"!==ss(i,"position"))){var d=i.getBoundingClientRect();a-=d.top+parseInt(ss(i,"border-top-width")),s-=d.left+parseInt(ss(i,"border-left-width")),c=a+o.height,l=s+o.width;break}}while(i=i.parentNode);if(r&&e!==window){var h=cs(i||e),p=h&&h.a,g=h&&h.d;h&&(c=(a/=g)+(u/=g),l=(s/=p)+(f/=p))}return{top:a,left:s,bottom:c,right:l,width:f,height:u}}}function ds(e,t,n){for(var r=bs(e,!0),i=fs(e)[t];r;){if(!(i>=fs(r)[n]))return r;if(r===us())break;r=bs(r,!1)}return!1}function hs(e,t,n,r){for(var i=0,o=0,a=e.children;o<a.length;){if("none"!==a[o].style.display&&a[o]!==wc.ghost&&(r||a[o]!==wc.dragged)&&rs(a[o],n.draggable,e,!1)){if(i===t)return a[o];i++}o++}return null}function ps(e,t){for(var n=e.lastElementChild;n&&(n===wc.ghost||"none"===ss(n,"display")||t&&!ts(n,t));)n=n.previousElementSibling;return n||null}function gs(e,t){var n=0;if(!e||!e.parentNode)return-1;for(;e=e.previousElementSibling;)"TEMPLATE"===e.nodeName.toUpperCase()||e===wc.clone||t&&!ts(e,t)||n++;return n}function ms(e){var t=0,n=0,r=us();if(e)do{var i=cs(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 bs(e,t){if(!e||!e.getBoundingClientRect)return us();var n=e,r=!1;do{if(n.clientWidth<n.scrollWidth||n.clientHeight<n.scrollHeight){var i=ss(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 us();if(r||t)return n;r=!0}}}while(n=n.parentNode);return us()}function vs(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 ys(e,t){return function(){if(!is){var n=arguments;1===n.length?e.call(this,n[0]):e.apply(this,n),is=setTimeout((function(){is=void 0}),t)}}}function _s(e,t,n){e.scrollLeft+=t,e.scrollTop+=n}function ws(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 xs(e,t,n){var r={};return Array.from(e.children).forEach((function(i){var o,a,s,c;if(rs(i,t.draggable,e,!1)&&!i.animated&&i!==n){var l=fs(i);r.left=Math.min(null!==(o=r.left)&&void 0!==o?o:1/0,l.left),r.top=Math.min(null!==(a=r.top)&&void 0!==a?a:1/0,l.top),r.right=Math.max(null!==(s=r.right)&&void 0!==s?s:-1/0,l.right),r.bottom=Math.max(null!==(c=r.bottom)&&void 0!==c?c:-1/0,l.bottom)}})),r.width=r.right-r.left,r.height=r.bottom-r.top,r.x=r.left,r.y=r.top,r}var Cs="Sortable"+(new Date).getTime();function ks(){var e,t=[];return{captureAnimationState:function(){(t=[],this.options.animation)&&[].slice.call(this.el.children).forEach((function(e){if("none"!==ss(e,"display")&&e!==wc.ghost){t.push({target:e,rect:fs(e)});var n=za({},t[t.length-1].rect);if(e.thisAnimationDuration){var r=cs(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=fs(n),c=n.prevFromRect,l=n.prevToRect,u=e.rect,f=cs(n,!0);f&&(s.top-=f.f,s.left-=f.e),n.toRect=s,n.thisAnimationDuration&&vs(c,s)&&!vs(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,c,l,r.options)),vs(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){ss(e,"transition",""),ss(e,"transform","");var i=cs(this.el),o=i&&i.a,a=i&&i.d,s=(t.left-n.left)/(o||1),c=(t.top-n.top)/(a||1);e.animatingX=!!s,e.animatingY=!!c,ss(e,"transform","translate3d("+s+"px,"+c+"px,0)"),this.forRepaintDummy=function(e){return e.offsetWidth}(e),ss(e,"transition","transform "+r+"ms"+(this.options.easing?" "+this.options.easing:"")),ss(e,"transform","translate3d(0,0,0)"),"number"==typeof e.animated&&clearTimeout(e.animated),e.animated=setTimeout((function(){ss(e,"transition",""),ss(e,"transform",""),e.animated=!1,e.animatingX=!1,e.animatingY=!1}),r)}}}}var Ms=[],Ss={initializeByDefault:!0},Ts={mount:function(e){for(var t in Ss)Ss.hasOwnProperty(t)&&!(t in e)&&(e[t]=Ss[t]);Ms.forEach((function(t){if(t.pluginName===e.pluginName)throw"Sortable: Cannot mount plugin ".concat(e.pluginName," more than once")})),Ms.push(e)},pluginEvent:function(e,t,n){var r=this;this.eventCanceled=!1,n.cancel=function(){r.eventCanceled=!0};var i=e+"Global";Ms.forEach((function(r){t[r.pluginName]&&(t[r.pluginName][i]&&t[r.pluginName][i](za({sortable:t},n)),t.options[r.pluginName]&&t[r.pluginName][e]&&t[r.pluginName][e](za({sortable:t},n)))}))},initializePlugins:function(e,t,n,r){for(var i in Ms.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,Ha(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 Ms.forEach((function(r){"function"==typeof r.eventProperties&&Ha(n,r.eventProperties.call(t[r.pluginName],e))})),n},modifyOption:function(e,t,n){var r;return Ms.forEach((function(i){e[i.pluginName]&&i.optionListeners&&"function"==typeof i.optionListeners[t]&&(r=i.optionListeners[t].call(e[i.pluginName],n))})),r}};var As=["evt"],Es=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.evt,i=Va(n,As);Ts.pluginEvent.bind(wc)(e,t,za({dragEl:Ps,parentEl:Ds,ghostEl:js,rootEl:Ns,nextEl:Ls,lastDownEl:Fs,cloneEl:Rs,cloneHidden:Bs,dragStarted:Qs,putSortable:Vs,activeSortable:wc.active,originalEvent:r,oldIndex:$s,oldDraggableIndex:Is,newIndex:zs,newDraggableIndex:Us,hideGhostForTarget:bc,unhideGhostForTarget:vc,cloneNowHidden:function(){Bs=!0},cloneNowShown:function(){Bs=!1},dispatchSortableEvent:function(e){Os({sortable:t,name:e,originalEvent:r})}},i))};function Os(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,c=e.oldIndex,l=e.newIndex,u=e.oldDraggableIndex,f=e.newDraggableIndex,d=e.originalEvent,h=e.putSortable,p=e.extraEventProperties;if(t=t||n&&n[Cs]){var g,m=t.options,b="on"+r.charAt(0).toUpperCase()+r.substr(1);!window.CustomEvent||Ya||qa?(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=c,g.newIndex=l,g.oldDraggableIndex=u,g.newDraggableIndex=f,g.originalEvent=d,g.pullMode=h?h.lastPutMode:void 0;var v=za(za({},p),Ts.getEventProperties(r,t));for(var y in v)g[y]=v[y];n&&n.dispatchEvent(g),m[b]&&m[b].call(t,g)}}(za({putSortable:Vs,cloneEl:Rs,targetEl:Ps,rootEl:Ns,oldIndex:$s,oldDraggableIndex:Is,newIndex:zs,newDraggableIndex:Us},e))}var Ps,Ds,js,Ns,Ls,Fs,Rs,Bs,$s,zs,Is,Us,Hs,Vs,Ws,Ys,qs,Zs,Gs,Xs,Qs,Js,Ks,ec,tc,nc=!1,rc=!1,ic=[],oc=!1,ac=!1,sc=[],cc=!1,lc=[],uc="undefined"!=typeof document,fc=Xa,dc=qa||Ya?"cssFloat":"float",hc=uc&&!Qa&&!Xa&&"draggable"in document.createElement("div"),pc=function(){if(uc){if(Ya)return!1;var e=document.createElement("x");return e.style.cssText="pointer-events:auto","auto"===e.style.pointerEvents}}(),gc=function(e,t){var n=ss(e),r=parseInt(n.width)-parseInt(n.paddingLeft)-parseInt(n.paddingRight)-parseInt(n.borderLeftWidth)-parseInt(n.borderRightWidth),i=hs(e,0,t),o=hs(e,1,t),a=i&&ss(i),s=o&&ss(o),c=a&&parseInt(a.marginLeft)+parseInt(a.marginRight)+fs(i).width,l=s&&parseInt(s.marginLeft)+parseInt(s.marginRight)+fs(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||c>=r&&"none"===n[dc]||o&&"none"===n[dc]&&c+l>r)?"vertical":"horizontal"},mc=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 c=(n?r:i).options.group.name;return!0===e||"string"==typeof e&&e===c||e.join&&e.indexOf(c)>-1}}var n={},r=e.group;r&&"object"==Ia(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},bc=function(){!pc&&js&&ss(js,"display","none")},vc=function(){!pc&&js&&ss(js,"display","")};uc&&!Qa&&document.addEventListener("click",(function(e){if(rc)return e.preventDefault(),e.stopPropagation&&e.stopPropagation(),e.stopImmediatePropagation&&e.stopImmediatePropagation(),rc=!1,!1}),!0);var yc=function(e){if(Ps){var t=function(e,t){var n;return ic.some((function(r){var i=r[Cs].options.emptyInsertThreshold;if(i&&!ps(r)){var o=fs(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[Cs]._onDragOver(n)}}},_c=function(e){Ps&&Ps.parentNode[Cs]._isOutsideThisEl(e.target)};function wc(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=Ha({},t),e[Cs]=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 gc(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!==wc.supportPointer&&"PointerEvent"in window&&(!Ga||Xa),emptyInsertThreshold:5};for(var r in Ts.initializePlugins(this,e,n),n)!(r in t)&&(t[r]=n[r]);for(var i in mc(t),this)"_"===i.charAt(0)&&"function"==typeof this[i]&&(this[i]=this[i].bind(this));this.nativeDraggable=!t.forceFallback&&hc,this.nativeDraggable&&(this.options.touchStartThreshold=1),t.supportPointer?Ka(e,"pointerdown",this._onTapStart):(Ka(e,"mousedown",this._onTapStart),Ka(e,"touchstart",this._onTapStart)),this.nativeDraggable&&(Ka(e,"dragover",this),Ka(e,"dragenter",this)),ic.push(this.el),t.store&&t.store.get&&this.sort(t.store.get(this)||[]),Ha(this,ks())}function xc(e,t,n,r,i,o,a,s){var c,l,u=e[Cs],f=u.options.onMove;return!window.CustomEvent||Ya||qa?(c=document.createEvent("Event")).initEvent("move",!0,!0):c=new CustomEvent("move",{bubbles:!0,cancelable:!0}),c.to=t,c.from=e,c.dragged=n,c.draggedRect=r,c.related=i||t,c.relatedRect=o||fs(t),c.willInsertAfter=s,c.originalEvent=a,e.dispatchEvent(c),f&&(l=f.call(u,c,a)),l}function Cc(e){e.draggable=!1}function kc(){cc=!1}function Mc(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 Sc(e){return setTimeout(e,0)}function Tc(e){return clearTimeout(e)}wc.prototype={constructor:wc,_isOutsideThisEl:function(e){this.el.contains(e)||e===this.el||(Js=null)},_getDirection:function(e,t){return"function"==typeof this.options.direction?this.options.direction.call(this,e,t,Ps):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,c=e.target.shadowRoot&&(e.path&&e.path[0]||e.composedPath&&e.composedPath()[0])||s,l=r.filter;if(function(e){lc.length=0;var t=e.getElementsByTagName("input"),n=t.length;for(;n--;){var r=t[n];r.checked&&lc.push(r)}}(n),!Ps&&!(/mousedown|pointerdown/.test(o)&&0!==e.button||r.disabled)&&!c.isContentEditable&&(this.nativeDraggable||!Ga||!s||"SELECT"!==s.tagName.toUpperCase())&&!((s=rs(s,r.draggable,n,!1))&&s.animated||Fs===s)){if($s=gs(s),Is=gs(s,r.draggable),"function"==typeof l){if(l.call(this,e,s,this))return Os({sortable:t,rootEl:c,name:"filter",targetEl:s,toEl:n,fromEl:n}),Es("filter",t,{evt:e}),void(i&&e.preventDefault())}else if(l&&(l=l.split(",").some((function(r){if(r=rs(c,r.trim(),n,!1))return Os({sortable:t,rootEl:r,name:"filter",targetEl:s,fromEl:n,toEl:n}),Es("filter",t,{evt:e}),!0}))))return void(i&&e.preventDefault());r.handle&&!rs(c,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&&!Ps&&n.parentNode===o){var c=fs(n);if(Ns=o,Ds=(Ps=n).parentNode,Ls=Ps.nextSibling,Fs=n,Hs=a.group,wc.dragged=Ps,Ws={target:Ps,clientX:(t||e).clientX,clientY:(t||e).clientY},Gs=Ws.clientX-c.left,Xs=Ws.clientY-c.top,this._lastX=(t||e).clientX,this._lastY=(t||e).clientY,Ps.style["will-change"]="all",r=function(){Es("delayEnded",i,{evt:e}),wc.eventCanceled?i._onDrop():(i._disableDelayedDragEvents(),!Za&&i.nativeDraggable&&(Ps.draggable=!0),i._triggerDragStart(e,t),Os({sortable:i,name:"choose",originalEvent:e}),as(Ps,a.chosenClass,!0))},a.ignore.split(",").forEach((function(e){ls(Ps,e.trim(),Cc)})),Ka(s,"dragover",yc),Ka(s,"mousemove",yc),Ka(s,"touchmove",yc),a.supportPointer?(Ka(s,"pointerup",i._onDrop),!this.nativeDraggable&&Ka(s,"pointercancel",i._onDrop)):(Ka(s,"mouseup",i._onDrop),Ka(s,"touchend",i._onDrop),Ka(s,"touchcancel",i._onDrop)),Za&&this.nativeDraggable&&(this.options.touchStartThreshold=4,Ps.draggable=!0),Es("delayStart",this,{evt:e}),!a.delay||a.delayOnTouchOnly&&!t||this.nativeDraggable&&(qa||Ya))r();else{if(wc.eventCanceled)return void this._onDrop();a.supportPointer?(Ka(s,"pointerup",i._disableDelayedDrag),Ka(s,"pointercancel",i._disableDelayedDrag)):(Ka(s,"mouseup",i._disableDelayedDrag),Ka(s,"touchend",i._disableDelayedDrag),Ka(s,"touchcancel",i._disableDelayedDrag)),Ka(s,"mousemove",i._delayedDragTouchMoveHandler),Ka(s,"touchmove",i._delayedDragTouchMoveHandler),a.supportPointer&&Ka(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(){Ps&&Cc(Ps),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var e=this.el.ownerDocument;es(e,"mouseup",this._disableDelayedDrag),es(e,"touchend",this._disableDelayedDrag),es(e,"touchcancel",this._disableDelayedDrag),es(e,"pointerup",this._disableDelayedDrag),es(e,"pointercancel",this._disableDelayedDrag),es(e,"mousemove",this._delayedDragTouchMoveHandler),es(e,"touchmove",this._delayedDragTouchMoveHandler),es(e,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(e,t){t=t||"touch"==e.pointerType&&e,!this.nativeDraggable||t?this.options.supportPointer?Ka(document,"pointermove",this._onTouchMove):Ka(document,t?"touchmove":"mousemove",this._onTouchMove):(Ka(Ps,"dragend",this),Ka(Ns,"dragstart",this._onDragStart));try{document.selection?Sc((function(){document.selection.empty()})):window.getSelection().removeAllRanges()}catch(e){}},_dragStarted:function(e,t){if(nc=!1,Ns&&Ps){Es("dragStarted",this,{evt:t}),this.nativeDraggable&&Ka(document,"dragover",_c);var n=this.options;!e&&as(Ps,n.dragClass,!1),as(Ps,n.ghostClass,!0),wc.active=this,e&&this._appendGhost(),Os({sortable:this,name:"start",originalEvent:t})}else this._nulling()},_emulateDragOver:function(){if(Ys){this._lastX=Ys.clientX,this._lastY=Ys.clientY,bc();for(var e=document.elementFromPoint(Ys.clientX,Ys.clientY),t=e;e&&e.shadowRoot&&(e=e.shadowRoot.elementFromPoint(Ys.clientX,Ys.clientY))!==t;)t=e;if(Ps.parentNode[Cs]._isOutsideThisEl(e),t)do{if(t[Cs]){if(t[Cs]._onDragOver({clientX:Ys.clientX,clientY:Ys.clientY,target:e,rootEl:t})&&!this.options.dragoverBubble)break}e=t}while(t=ns(t));vc()}},_onTouchMove:function(e){if(Ws){var t=this.options,n=t.fallbackTolerance,r=t.fallbackOffset,i=e.touches?e.touches[0]:e,o=js&&cs(js,!0),a=js&&o&&o.a,s=js&&o&&o.d,c=fc&&tc&&ms(tc),l=(i.clientX-Ws.clientX+r.x)/(a||1)+(c?c[0]-sc[0]:0)/(a||1),u=(i.clientY-Ws.clientY+r.y)/(s||1)+(c?c[1]-sc[1]:0)/(s||1);if(!wc.active&&!nc){if(n&&Math.max(Math.abs(i.clientX-this._lastX),Math.abs(i.clientY-this._lastY))<n)return;this._onDragStart(e,!0)}if(js){o?(o.e+=l-(qs||0),o.f+=u-(Zs||0)):o={a:1,b:0,c:0,d:1,e:l,f:u};var f="matrix(".concat(o.a,",").concat(o.b,",").concat(o.c,",").concat(o.d,",").concat(o.e,",").concat(o.f,")");ss(js,"webkitTransform",f),ss(js,"mozTransform",f),ss(js,"msTransform",f),ss(js,"transform",f),qs=l,Zs=u,Ys=i}e.cancelable&&e.preventDefault()}},_appendGhost:function(){if(!js){var e=this.options.fallbackOnBody?document.body:Ns,t=fs(Ps,!0,fc,!0,e),n=this.options;if(fc){for(tc=e;"static"===ss(tc,"position")&&"none"===ss(tc,"transform")&&tc!==document;)tc=tc.parentNode;tc!==document.body&&tc!==document.documentElement?(tc===document&&(tc=us()),t.top+=tc.scrollTop,t.left+=tc.scrollLeft):tc=us(),sc=ms(tc)}as(js=Ps.cloneNode(!0),n.ghostClass,!1),as(js,n.fallbackClass,!0),as(js,n.dragClass,!0),ss(js,"transition",""),ss(js,"transform",""),ss(js,"box-sizing","border-box"),ss(js,"margin",0),ss(js,"top",t.top),ss(js,"left",t.left),ss(js,"width",t.width),ss(js,"height",t.height),ss(js,"opacity","0.8"),ss(js,"position",fc?"absolute":"fixed"),ss(js,"zIndex","100000"),ss(js,"pointerEvents","none"),wc.ghost=js,e.appendChild(js),ss(js,"transform-origin",Gs/parseInt(js.style.width)*100+"% "+Xs/parseInt(js.style.height)*100+"%")}},_onDragStart:function(e,t){var n=this,r=e.dataTransfer,i=n.options;Es("dragStart",this,{evt:e}),wc.eventCanceled?this._onDrop():(Es("setupClone",this),wc.eventCanceled||((Rs=ws(Ps)).removeAttribute("id"),Rs.draggable=!1,Rs.style["will-change"]="",this._hideClone(),as(Rs,this.options.chosenClass,!1),wc.clone=Rs),n.cloneId=Sc((function(){Es("clone",n),wc.eventCanceled||(n.options.removeCloneOnHide||Ns.insertBefore(Rs,Ps),n._hideClone(),Os({sortable:n,name:"clone"}))})),!t&&as(Ps,i.dragClass,!0),t?(rc=!0,n._loopId=setInterval(n._emulateDragOver,50)):(es(document,"mouseup",n._onDrop),es(document,"touchend",n._onDrop),es(document,"touchcancel",n._onDrop),r&&(r.effectAllowed="move",i.setData&&i.setData.call(n,r,Ps)),Ka(document,"drop",n),ss(Ps,"transform","translateZ(0)")),nc=!0,n._dragStartId=Sc(n._dragStarted.bind(n,t,e)),Ka(document,"selectstart",n),Qs=!0,window.getSelection().removeAllRanges(),Ga&&ss(document.body,"user-select","none"))},_onDragOver:function(e){var t,n,r,i,o=this.el,a=e.target,s=this.options,c=s.group,l=wc.active,u=Hs===c,f=s.sort,d=Vs||l,h=this,p=!1;if(!cc){if(void 0!==e.preventDefault&&e.cancelable&&e.preventDefault(),a=rs(a,s.draggable,o,!0),E("dragOver"),wc.eventCanceled)return p;if(Ps.contains(e.target)||a.animated&&a.animatingX&&a.animatingY||h._ignoreWhileAnimating===a)return P(!1);if(rc=!1,l&&!s.disabled&&(u?f||(r=Ds!==Ns):Vs===this||(this.lastPutMode=Hs.checkPull(this,l,Ps,e))&&c.checkPut(this,l,Ps,e))){if(i="vertical"===this._getDirection(e,a),t=fs(Ps),E("dragOverValid"),wc.eventCanceled)return p;if(r)return Ds=Ns,O(),this._hideClone(),E("revert"),wc.eventCanceled||(Ls?Ns.insertBefore(Ps,Ls):Ns.appendChild(Ps)),P(!0);var g=ps(o,s.draggable);if(!g||function(e,t,n){var r=fs(ps(n.el,n.options.draggable)),i=xs(n.el,n.options,js),o=10;return t?e.clientX>i.right+o||e.clientY>r.bottom&&e.clientX>r.left:e.clientY>i.bottom+o||e.clientX>r.right&&e.clientY>r.top}(e,i,this)&&!g.animated){if(g===Ps)return P(!1);if(g&&o===e.target&&(a=g),a&&(n=fs(a)),!1!==xc(Ns,o,Ps,t,a,n,e,!!a))return O(),g&&g.nextSibling?o.insertBefore(Ps,g.nextSibling):o.appendChild(Ps),Ds=o,D(),P(!0)}else if(g&&function(e,t,n){var r=fs(hs(n.el,0,n.options,!0)),i=xs(n.el,n.options,js),o=10;return t?e.clientX<i.left-o||e.clientY<r.top&&e.clientX<r.right:e.clientY<i.top-o||e.clientY<r.bottom&&e.clientX<r.left}(e,i,this)){var m=hs(o,0,s,!0);if(m===Ps)return P(!1);if(n=fs(a=m),!1!==xc(Ns,o,Ps,t,a,n,e,!1))return O(),o.insertBefore(Ps,m),Ds=o,D(),P(!0)}else if(a.parentNode===o){n=fs(a);var b,v,y,_=Ps.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,c=n?t.width:t.height;return r===a||i===s||r+o/2===a+c/2}(Ps.animated&&Ps.toRect||t,a.animated&&a.toRect||n,i),x=i?"top":"left",C=ds(a,"top","top")||ds(Ps,"top","top"),k=C?C.scrollTop:void 0;if(Js!==a&&(v=n[x],oc=!1,ac=!w&&s.invertSwap||_),b=function(e,t,n,r,i,o,a,s){var c=r?e.clientY:e.clientX,l=r?n.height:n.width,u=r?n.top:n.left,f=r?n.bottom:n.right,d=!1;if(!a)if(s&&ec<l*i){if(!oc&&(1===Ks?c>u+l*o/2:c<f-l*o/2)&&(oc=!0),oc)d=!0;else if(1===Ks?c<u+ec:c>f-ec)return-Ks}else if(c>u+l*(1-i)/2&&c<f-l*(1-i)/2)return function(e){return gs(Ps)<gs(e)?1:-1}(t);if((d=d||a)&&(c<u+l*o/2||c>f-l*o/2))return c>u+l/2?1:-1;return 0}(e,a,n,i,w?1:s.swapThreshold,null==s.invertedSwapThreshold?s.swapThreshold:s.invertedSwapThreshold,ac,Js===a),0!==b){var M=gs(Ps);do{M-=b,y=Ds.children[M]}while(y&&("none"===ss(y,"display")||y===js))}if(0===b||y===a)return P(!1);Js=a,Ks=b;var S=a.nextElementSibling,T=!1,A=xc(Ns,o,Ps,t,a,n,e,T=1===b);if(!1!==A)return 1!==A&&-1!==A||(T=1===A),cc=!0,setTimeout(kc,30),O(),T&&!S?o.appendChild(Ps):a.parentNode.insertBefore(Ps,T?S:a),C&&_s(C,0,k-C.scrollTop),Ds=Ps.parentNode,void 0===v||ac||(ec=Math.abs(v-fs(a)[x])),D(),P(!0)}if(o.contains(Ps))return P(!1)}return!1}function E(s,c){Es(s,h,za({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 xc(Ns,o,Ps,t,n,fs(n),e,r)},changed:D},c))}function O(){E("dragOverAnimationCapture"),h.captureAnimationState(),h!==d&&d.captureAnimationState()}function P(t){return E("dragOverCompleted",{insertion:t}),t&&(u?l._hideClone():l._showClone(h),h!==d&&(as(Ps,Vs?Vs.options.ghostClass:l.options.ghostClass,!1),as(Ps,s.ghostClass,!0)),Vs!==h&&h!==wc.active?Vs=h:h===wc.active&&Vs&&(Vs=null),d===h&&(h._ignoreWhileAnimating=a),h.animateAll((function(){E("dragOverAnimationComplete"),h._ignoreWhileAnimating=null})),h!==d&&(d.animateAll(),d._ignoreWhileAnimating=null)),(a===Ps&&!Ps.animated||a===o&&!a.animated)&&(Js=null),s.dragoverBubble||e.rootEl||a===document||(Ps.parentNode[Cs]._isOutsideThisEl(e.target),!t&&yc(e)),!s.dragoverBubble&&e.stopPropagation&&e.stopPropagation(),p=!0}function D(){zs=gs(Ps),Us=gs(Ps,s.draggable),Os({sortable:h,name:"change",toEl:o,newIndex:zs,newDraggableIndex:Us,originalEvent:e})}},_ignoreWhileAnimating:null,_offMoveEvents:function(){es(document,"mousemove",this._onTouchMove),es(document,"touchmove",this._onTouchMove),es(document,"pointermove",this._onTouchMove),es(document,"dragover",yc),es(document,"mousemove",yc),es(document,"touchmove",yc)},_offUpEvents:function(){var e=this.el.ownerDocument;es(e,"mouseup",this._onDrop),es(e,"touchend",this._onDrop),es(e,"pointerup",this._onDrop),es(e,"pointercancel",this._onDrop),es(e,"touchcancel",this._onDrop),es(document,"selectstart",this)},_onDrop:function(e){var t=this.el,n=this.options;zs=gs(Ps),Us=gs(Ps,n.draggable),Es("drop",this,{evt:e}),Ds=Ps&&Ps.parentNode,zs=gs(Ps),Us=gs(Ps,n.draggable),wc.eventCanceled||(nc=!1,ac=!1,oc=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),Tc(this.cloneId),Tc(this._dragStartId),this.nativeDraggable&&(es(document,"drop",this),es(t,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),Ga&&ss(document.body,"user-select",""),ss(Ps,"transform",""),e&&(Qs&&(e.cancelable&&e.preventDefault(),!n.dropBubble&&e.stopPropagation()),js&&js.parentNode&&js.parentNode.removeChild(js),(Ns===Ds||Vs&&"clone"!==Vs.lastPutMode)&&Rs&&Rs.parentNode&&Rs.parentNode.removeChild(Rs),Ps&&(this.nativeDraggable&&es(Ps,"dragend",this),Cc(Ps),Ps.style["will-change"]="",Qs&&!nc&&as(Ps,Vs?Vs.options.ghostClass:this.options.ghostClass,!1),as(Ps,this.options.chosenClass,!1),Os({sortable:this,name:"unchoose",toEl:Ds,newIndex:null,newDraggableIndex:null,originalEvent:e}),Ns!==Ds?(zs>=0&&(Os({rootEl:Ds,name:"add",toEl:Ds,fromEl:Ns,originalEvent:e}),Os({sortable:this,name:"remove",toEl:Ds,originalEvent:e}),Os({rootEl:Ds,name:"sort",toEl:Ds,fromEl:Ns,originalEvent:e}),Os({sortable:this,name:"sort",toEl:Ds,originalEvent:e})),Vs&&Vs.save()):zs!==$s&&zs>=0&&(Os({sortable:this,name:"update",toEl:Ds,originalEvent:e}),Os({sortable:this,name:"sort",toEl:Ds,originalEvent:e})),wc.active&&(null!=zs&&-1!==zs||(zs=$s,Us=Is),Os({sortable:this,name:"end",toEl:Ds,originalEvent:e}),this.save())))),this._nulling()},_nulling:function(){Es("nulling",this),Ns=Ps=Ds=js=Ls=Rs=Fs=Bs=Ws=Ys=Qs=zs=Us=$s=Is=Js=Ks=Vs=Hs=wc.dragged=wc.ghost=wc.clone=wc.active=null,lc.forEach((function(e){e.checked=!0})),lc.length=qs=Zs=0},handleEvent:function(e){switch(e.type){case"drop":case"dragend":this._onDrop(e);break;case"dragenter":case"dragover":Ps&&(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++)rs(e=n[r],o.draggable,this.el,!1)&&t.push(e.getAttribute(o.dataIdAttr)||Mc(e));return t},sort:function(e,t){var n={},r=this.el;this.toArray().forEach((function(e,t){var i=r.children[t];rs(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 rs(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=Ts.modifyOption(this,e,t);n[e]=void 0!==r?r:t,"group"===e&&mc(n)},destroy:function(){Es("destroy",this);var e=this.el;e[Cs]=null,es(e,"mousedown",this._onTapStart),es(e,"touchstart",this._onTapStart),es(e,"pointerdown",this._onTapStart),this.nativeDraggable&&(es(e,"dragover",this),es(e,"dragenter",this)),Array.prototype.forEach.call(e.querySelectorAll("[draggable]"),(function(e){e.removeAttribute("draggable")})),this._onDrop(),this._disableDelayedDragEvents(),ic.splice(ic.indexOf(this.el),1),this.el=e=null},_hideClone:function(){if(!Bs){if(Es("hideClone",this),wc.eventCanceled)return;ss(Rs,"display","none"),this.options.removeCloneOnHide&&Rs.parentNode&&Rs.parentNode.removeChild(Rs),Bs=!0}},_showClone:function(e){if("clone"===e.lastPutMode){if(Bs){if(Es("showClone",this),wc.eventCanceled)return;Ps.parentNode!=Ns||this.options.group.revertClone?Ls?Ns.insertBefore(Rs,Ls):Ns.appendChild(Rs):Ns.insertBefore(Rs,Ps),this.options.group.revertClone&&this.animate(Ps,Rs),ss(Rs,"display",""),Bs=!1}}else this._hideClone()}},uc&&Ka(document,"touchmove",(function(e){(wc.active||nc)&&e.cancelable&&e.preventDefault()})),wc.utils={on:Ka,off:es,css:ss,find:ls,is:function(e,t){return!!rs(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:ys,closest:rs,toggleClass:as,clone:ws,index:gs,nextTick:Sc,cancelNextTick:Tc,detectDirection:gc,getChild:hs,expando:Cs},wc.get=function(e){return e[Cs]},wc.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&&(wc.utils=za(za({},wc.utils),e.utils)),Ts.mount(e)}))},wc.create=function(e,t){return new wc(e,t)},wc.version="1.15.6";var Ac,Ec,Oc,Pc,Dc,jc,Nc=[],Lc=!1;function Fc(){Nc.forEach((function(e){clearInterval(e.pid)})),Nc=[]}function Rc(){clearInterval(jc)}var Bc,$c=ys((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,c=t.scrollSpeed,l=us(),u=!1;Ec!==n&&(Ec=n,Fc(),Ac=t.scroll,i=t.scrollFn,!0===Ac&&(Ac=bs(n,!0)));var f=0,d=Ac;do{var h=d,p=fs(h),g=p.top,m=p.bottom,b=p.left,v=p.right,y=p.width,_=p.height,w=void 0,x=void 0,C=h.scrollWidth,k=h.scrollHeight,M=ss(h),S=h.scrollLeft,T=h.scrollTop;h===l?(w=y<C&&("auto"===M.overflowX||"scroll"===M.overflowX||"visible"===M.overflowX),x=_<k&&("auto"===M.overflowY||"scroll"===M.overflowY||"visible"===M.overflowY)):(w=y<C&&("auto"===M.overflowX||"scroll"===M.overflowX),x=_<k&&("auto"===M.overflowY||"scroll"===M.overflowY));var A=w&&(Math.abs(v-o)<=s&&S+y<C)-(Math.abs(b-o)<=s&&!!S),E=x&&(Math.abs(m-a)<=s&&T+_<k)-(Math.abs(g-a)<=s&&!!T);if(!Nc[f])for(var O=0;O<=f;O++)Nc[O]||(Nc[O]={});Nc[f].vx==A&&Nc[f].vy==E&&Nc[f].el===h||(Nc[f].el=h,Nc[f].vx=A,Nc[f].vy=E,clearInterval(Nc[f].pid),0==A&&0==E||(u=!0,Nc[f].pid=setInterval(function(){r&&0===this.layer&&wc.active._onTouchMove(Dc);var t=Nc[this.layer].vy?Nc[this.layer].vy*c:0,n=Nc[this.layer].vx?Nc[this.layer].vx*c:0;"function"==typeof i&&"continue"!==i.call(wc.dragged.parentNode[Cs],n,t,e,Dc,Nc[this.layer].el)||_s(Nc[this.layer].el,n,t)}.bind({layer:f}),24))),f++}while(t.bubbleScroll&&d!==l&&(d=bs(d,!1)));Lc=u}}),30),zc=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 c=n||i;a();var l=t.changedTouches&&t.changedTouches.length?t.changedTouches[0]:t,u=document.elementFromPoint(l.clientX,l.clientY);s(),c&&!c.el.contains(u)&&(o("spill"),this.onSpill({dragEl:r,putSortable:n}))}};function Ic(){}function Uc(){}Ic.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=hs(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:zc},Ha(Ic,{pluginName:"revertOnSpill"}),Uc.prototype={onSpill:function(e){var t=e.dragEl,n=e.putSortable||this.sortable;n.captureAnimationState(),t.parentNode&&t.parentNode.removeChild(t),n.animateAll()},drop:zc},Ha(Uc,{pluginName:"removeOnSpill"}),wc.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?Ka(document,"dragover",this._handleAutoScroll):this.options.supportPointer?Ka(document,"pointermove",this._handleFallbackAutoScroll):t.touches?Ka(document,"touchmove",this._handleFallbackAutoScroll):Ka(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(e){var t=e.originalEvent;this.options.dragOverBubble||t.rootEl||this._handleAutoScroll(t)},drop:function(){this.sortable.nativeDraggable?es(document,"dragover",this._handleAutoScroll):(es(document,"pointermove",this._handleFallbackAutoScroll),es(document,"touchmove",this._handleFallbackAutoScroll),es(document,"mousemove",this._handleFallbackAutoScroll)),Rc(),Fc(),clearTimeout(is),is=void 0},nulling:function(){Dc=Ec=Ac=Lc=jc=Oc=Pc=null,Nc.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(Dc=e,t||this.options.forceAutoScrollFallback||qa||Ya||Ga){$c(e,this.options,o,t);var a=bs(o,!0);!Lc||jc&&r===Oc&&i===Pc||(jc&&Rc(),jc=setInterval((function(){var o=bs(document.elementFromPoint(r,i),!0);o!==a&&(a=o,Fc()),$c(e,n.options,o,t)}),10),Oc=r,Pc=i)}else{if(!this.options.bubbleScroll||bs(o,!0)===us())return void Fc();$c(e,this.options,bs(o,!1),!1)}}},Ha(e,{pluginName:"scroll",initializeByDefault:!0})}),wc.mount(Uc,Ic);const Hc="dnd-drag-handle",Vc="dnd-drag-enabled";wc.mount(new function(){function e(){this.defaults={swapClass:"sortable-swap-highlight"}}return e.prototype={dragStart:function(e){var t=e.dragEl;Bc=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,c=this.options;if(n&&n!==s){var l=Bc;!1!==r(n)?(as(n,c.swapClass,!0),Bc=n):Bc=null,l&&l!==Bc&&as(l,c.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;Bc&&as(Bc,o.swapClass,!1),Bc&&(o.swap||n&&n.options.swap)&&r!==Bc&&(i.captureAnimationState(),i!==t&&t.captureAnimationState(),function(e,t){var n,r,i=e.parentNode,o=t.parentNode;if(!i||!o||i.isEqualNode(t)||o.isEqualNode(e))return;n=gs(e),r=gs(t),i.isEqualNode(o)&&n<r&&r++;i.insertBefore(t,i.children[n]),o.insertBefore(e,o.children[r])}(r,Bc),i.animateAll(),i!==t&&t.animateAll())},nulling:function(){Bc=null}},Ha(e,{pluginName:"swap",eventProperties:function(){return{swapItem:Bc}}})});var Wc="styles_grid__bgsAQ";const Yc=({className:e,options:t,kind:n="default",children:r,...i})=>{const o=s(null);return((e,t)=>{l((()=>{if(e.current){const n=wc.create(e.current,{animation:150,handle:`.${Hc}`,draggable:`.${Vc}`,...t});return()=>{n.destroy()}}}),[e,t])})(o,d((()=>({...t,..."swap"===n&&{swap:!0,swapClass:"dnd-drag-swap-highlight"}})),[t,n])),O("div",{ref:o,className:D(Wc,e),...i,children:r})},qc=({className:e})=>O(Dt,{id:Pt.draggable,className:e});var Zc="styles_drag-handle__2DC4-";const Gc=({className:e})=>O("div",{className:D(Zc,Hc,e),children:O(qc,{})});var Xc="styles_grid-item__-kGp3",Qc="styles_grid-item-content__hZ5TS",Jc="styles_grid-item-handle__OyO7A";const Kc=({className:e,children:t,dndEnabled:n=!1,...r})=>O("div",{...r,className:D(Xc,{[Vc]:n},e),children:[O("div",{className:Qc,children:t}),n&&O(Gc,{className:Jc})]}),el=({locale:e,setLocale:t,availableLocales:n})=>{const r=n||Object.keys(wr),i=[...new Set(r)].map((e=>({key:e,value:wr[e].full})));return O(hr,{size:"s",menuTrigger:({isOpened:t,onClick:n})=>O(It,{style:"ghost",size:"s",text:wr[e]&&wr[e].short||wr.en.short,isExpanded:t,onClick:n}),children:O(hr.Section,{children:i.map((({key:n,value:r})=>O(hr.ItemWithCheckmark,{onClick:()=>{t(n)},isChecked:e===n,children:r},n)))})})},tl=({theme:e,toggleTheme:t,getTheme:n})=>(l((()=>{n()}),[n]),O(zt,{onClick:t,style:"ghost",icon:"light"===e?Pt.lineShapesMoon:Pt.lineShapesSun,size:"s"}));var nl,rl={exports:{}},il={exports:{}},ol={};var al,sl,cl,ll,ul,fl,dl,hl,pl,gl,ml,bl,vl,yl,_l,wl={};
|
|
10
16
|
/** @license React v16.13.1
|
|
11
17
|
* react-is.development.js
|
|
12
18
|
*
|
|
@@ -14,16 +20,10 @@ import{options as e,createContext as t,Fragment as n,Component as r,createElemen
|
|
|
14
20
|
*
|
|
15
21
|
* This source code is licensed under the MIT license found in the
|
|
16
22
|
* LICENSE file in the root directory of this source tree.
|
|
17
|
-
*/function
|
|
23
|
+
*/function xl(){return sl||(sl=1,"production"===process.env.NODE_ENV?il.exports=function(){if(nl)return ol;nl=1;var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,i=e?Symbol.for("react.strict_mode"):60108,o=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,c=e?Symbol.for("react.async_mode"):60111,l=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,f=e?Symbol.for("react.suspense"):60113,d=e?Symbol.for("react.suspense_list"):60120,h=e?Symbol.for("react.memo"):60115,p=e?Symbol.for("react.lazy"):60116,g=e?Symbol.for("react.block"):60121,m=e?Symbol.for("react.fundamental"):60117,b=e?Symbol.for("react.responder"):60118,v=e?Symbol.for("react.scope"):60119;function y(e){if("object"==typeof e&&null!==e){var d=e.$$typeof;switch(d){case t:switch(e=e.type){case c:case l:case r:case o:case i:case f:return e;default:switch(e=e&&e.$$typeof){case s:case u:case p:case h:case a:return e;default:return d}}case n:return d}}}function _(e){return y(e)===l}return ol.AsyncMode=c,ol.ConcurrentMode=l,ol.ContextConsumer=s,ol.ContextProvider=a,ol.Element=t,ol.ForwardRef=u,ol.Fragment=r,ol.Lazy=p,ol.Memo=h,ol.Portal=n,ol.Profiler=o,ol.StrictMode=i,ol.Suspense=f,ol.isAsyncMode=function(e){return _(e)||y(e)===c},ol.isConcurrentMode=_,ol.isContextConsumer=function(e){return y(e)===s},ol.isContextProvider=function(e){return y(e)===a},ol.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},ol.isForwardRef=function(e){return y(e)===u},ol.isFragment=function(e){return y(e)===r},ol.isLazy=function(e){return y(e)===p},ol.isMemo=function(e){return y(e)===h},ol.isPortal=function(e){return y(e)===n},ol.isProfiler=function(e){return y(e)===o},ol.isStrictMode=function(e){return y(e)===i},ol.isSuspense=function(e){return y(e)===f},ol.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===r||e===l||e===o||e===i||e===f||e===d||"object"==typeof e&&null!==e&&(e.$$typeof===p||e.$$typeof===h||e.$$typeof===a||e.$$typeof===s||e.$$typeof===u||e.$$typeof===m||e.$$typeof===b||e.$$typeof===v||e.$$typeof===g)},ol.typeOf=y,ol}():il.exports=(al||(al=1,"production"!==process.env.NODE_ENV&&function(){var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,i=e?Symbol.for("react.strict_mode"):60108,o=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,c=e?Symbol.for("react.async_mode"):60111,l=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,f=e?Symbol.for("react.suspense"):60113,d=e?Symbol.for("react.suspense_list"):60120,h=e?Symbol.for("react.memo"):60115,p=e?Symbol.for("react.lazy"):60116,g=e?Symbol.for("react.block"):60121,m=e?Symbol.for("react.fundamental"):60117,b=e?Symbol.for("react.responder"):60118,v=e?Symbol.for("react.scope"):60119;function y(e){if("object"==typeof e&&null!==e){var d=e.$$typeof;switch(d){case t:var g=e.type;switch(g){case c:case l:case r:case o:case i:case f:return g;default:var m=g&&g.$$typeof;switch(m){case s:case u:case p:case h:case a:return m;default:return d}}case n:return d}}}var _=c,w=l,x=s,C=a,k=t,M=u,S=r,T=p,A=h,E=n,O=o,P=i,D=f,j=!1;function N(e){return y(e)===l}wl.AsyncMode=_,wl.ConcurrentMode=w,wl.ContextConsumer=x,wl.ContextProvider=C,wl.Element=k,wl.ForwardRef=M,wl.Fragment=S,wl.Lazy=T,wl.Memo=A,wl.Portal=E,wl.Profiler=O,wl.StrictMode=P,wl.Suspense=D,wl.isAsyncMode=function(e){return j||(j=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),N(e)||y(e)===c},wl.isConcurrentMode=N,wl.isContextConsumer=function(e){return y(e)===s},wl.isContextProvider=function(e){return y(e)===a},wl.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},wl.isForwardRef=function(e){return y(e)===u},wl.isFragment=function(e){return y(e)===r},wl.isLazy=function(e){return y(e)===p},wl.isMemo=function(e){return y(e)===h},wl.isPortal=function(e){return y(e)===n},wl.isProfiler=function(e){return y(e)===o},wl.isStrictMode=function(e){return y(e)===i},wl.isSuspense=function(e){return y(e)===f},wl.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===r||e===l||e===o||e===i||e===f||e===d||"object"==typeof e&&null!==e&&(e.$$typeof===p||e.$$typeof===h||e.$$typeof===a||e.$$typeof===s||e.$$typeof===u||e.$$typeof===m||e.$$typeof===b||e.$$typeof===v||e.$$typeof===g)},wl.typeOf=y}()),wl)),il.exports}
|
|
18
24
|
/*
|
|
19
25
|
object-assign
|
|
20
26
|
(c) Sindre Sorhus
|
|
21
27
|
@license MIT
|
|
22
|
-
*/function Ja(){if(Ra)return Ba;Ra=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;return Ba=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;var r=Object.getOwnPropertyNames(t).map((function(e){return t[e]}));if("0123456789"!==r.join(""))return!1;var i={};return"abcdefghijklmnopqrst".split("").forEach((function(e){i[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},i)).join("")}catch(e){return!1}}()?Object.assign:function(r,i){for(var o,a,s=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(r),c=1;c<arguments.length;c++){for(var l in o=Object(arguments[c]))t.call(o,l)&&(s[l]=o[l]);if(e){a=e(o);for(var u=0;u<a.length;u++)n.call(o,a[u])&&(s[a[u]]=o[a[u]])}}return s},Ba}function Ka(){if(za)return $a;za=1;return $a="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}function es(){return Ua?Ia:(Ua=1,Ia=Function.call.bind(Object.prototype.hasOwnProperty))}function ts(){if(Va)return Ha;Va=1;var e=function(){};if("production"!==process.env.NODE_ENV){var t=Ka(),n={},r=es();e=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}}function i(i,o,a,s,c){if("production"!==process.env.NODE_ENV)for(var l in i)if(r(i,l)){var u;try{if("function"!=typeof i[l]){var f=Error((s||"React class")+": "+a+" type `"+l+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof i[l]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw f.name="Invariant Violation",f}u=i[l](o,l,s,a,null,t)}catch(e){u=e}if(!u||u instanceof Error||e((s||"React class")+": type specification of "+a+" `"+l+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof u+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),u instanceof Error&&!(u.message in n)){n[u.message]=!0;var d=c?c():"";e("Failed "+a+" type: "+u.message+(null!=d?d:""))}}}return i.resetWarningCache=function(){"production"!==process.env.NODE_ENV&&(n={})},Ha=i}function ns(){if(Ya)return Wa;Ya=1;var e=Qa(),t=Ja(),n=Ka(),r=es(),i=ts(),o=function(){};function a(){return null}return"production"!==process.env.NODE_ENV&&(o=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}),Wa=function(s,c){var l="function"==typeof Symbol&&Symbol.iterator;var u="<<anonymous>>",f={array:g("array"),bigint:g("bigint"),bool:g("boolean"),func:g("function"),number:g("number"),object:g("object"),string:g("string"),symbol:g("symbol"),any:p(a),arrayOf:function(e){return p((function(t,r,i,o,a){if("function"!=typeof e)return new h("Property `"+a+"` of component `"+i+"` has invalid PropType notation inside arrayOf.");var s=t[r];if(!Array.isArray(s))return new h("Invalid "+o+" `"+a+"` of type `"+v(s)+"` supplied to `"+i+"`, expected an array.");for(var c=0;c<s.length;c++){var l=e(s,c,i,o,a+"["+c+"]",n);if(l instanceof Error)return l}return null}))},element:p((function(e,t,n,r,i){var o=e[t];return s(o)?null:new h("Invalid "+r+" `"+i+"` of type `"+v(o)+"` supplied to `"+n+"`, expected a single ReactElement.")})),elementType:p((function(t,n,r,i,o){var a=t[n];return e.isValidElementType(a)?null:new h("Invalid "+i+" `"+o+"` of type `"+v(a)+"` supplied to `"+r+"`, expected a single ReactElement type.")})),instanceOf:function(e){return p((function(t,n,r,i,o){if(!(t[n]instanceof e)){var a=e.name||u;return new h("Invalid "+i+" `"+o+"` of type `"+(((s=t[n]).constructor&&s.constructor.name?s.constructor.name:u)+"` supplied to `")+r+"`, expected instance of `"+a+"`.")}var s;return null}))},node:p((function(e,t,n,r,i){return b(e[t])?null:new h("Invalid "+r+" `"+i+"` supplied to `"+n+"`, expected a ReactNode.")})),objectOf:function(e){return p((function(t,i,o,a,s){if("function"!=typeof e)return new h("Property `"+s+"` of component `"+o+"` has invalid PropType notation inside objectOf.");var c=t[i],l=v(c);if("object"!==l)return new h("Invalid "+a+" `"+s+"` of type `"+l+"` supplied to `"+o+"`, expected an object.");for(var u in c)if(r(c,u)){var f=e(c,u,o,a,s+"."+u,n);if(f instanceof Error)return f}return null}))},oneOf:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&o(arguments.length>1?"Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).":"Invalid argument supplied to oneOf, expected an array."),a;return p((function(t,n,r,i,o){for(var a=t[n],s=0;s<e.length;s++)if(d(a,e[s]))return null;var c=JSON.stringify(e,(function(e,t){return"symbol"===y(t)?String(t):t}));return new h("Invalid "+i+" `"+o+"` of value `"+String(a)+"` supplied to `"+r+"`, expected one of "+c+".")}))},oneOfType:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&o("Invalid argument supplied to oneOfType, expected an instance of array."),a;for(var t=0;t<e.length;t++){var i=e[t];if("function"!=typeof i)return o("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+_(i)+" at index "+t+"."),a}return p((function(t,i,o,a,s){for(var c=[],l=0;l<e.length;l++){var u=(0,e[l])(t,i,o,a,s,n);if(null==u)return null;u.data&&r(u.data,"expectedType")&&c.push(u.data.expectedType)}return new h("Invalid "+a+" `"+s+"` supplied to `"+o+"`"+(c.length>0?", expected one of type ["+c.join(", ")+"]":"")+".")}))},shape:function(e){return p((function(t,r,i,o,a){var s=t[r],c=v(s);if("object"!==c)return new h("Invalid "+o+" `"+a+"` of type `"+c+"` supplied to `"+i+"`, expected `object`.");for(var l in e){var u=e[l];if("function"!=typeof u)return m(i,o,a,l,y(u));var f=u(s,l,i,o,a+"."+l,n);if(f)return f}return null}))},exact:function(e){return p((function(i,o,a,s,c){var l=i[o],u=v(l);if("object"!==u)return new h("Invalid "+s+" `"+c+"` of type `"+u+"` supplied to `"+a+"`, expected `object`.");var f=t({},i[o],e);for(var d in f){var p=e[d];if(r(e,d)&&"function"!=typeof p)return m(a,s,c,d,y(p));if(!p)return new h("Invalid "+s+" `"+c+"` key `"+d+"` supplied to `"+a+"`.\nBad object: "+JSON.stringify(i[o],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var g=p(l,d,a,s,c+"."+d,n);if(g)return g}return null}))}};function d(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function h(e,t){this.message=e,this.data=t&&"object"==typeof t?t:{},this.stack=""}function p(e){if("production"!==process.env.NODE_ENV)var t={},r=0;function i(i,a,s,l,f,d,p){if(l=l||u,d=d||s,p!==n){if(c){var g=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 g.name="Invariant Violation",g}if("production"!==process.env.NODE_ENV&&"undefined"!=typeof console){var m=l+":"+s;!t[m]&&r<3&&(o("You are manually calling a React.PropTypes validation function for the `"+d+"` prop on `"+l+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),t[m]=!0,r++)}}return null==a[s]?i?null===a[s]?new h("The "+f+" `"+d+"` is marked as required in `"+l+"`, but its value is `null`."):new h("The "+f+" `"+d+"` is marked as required in `"+l+"`, but its value is `undefined`."):null:e(a,s,l,f,d)}var a=i.bind(null,!1);return a.isRequired=i.bind(null,!0),a}function g(e){return p((function(t,n,r,i,o,a){var s=t[n];return v(s)!==e?new h("Invalid "+i+" `"+o+"` of type `"+y(s)+"` supplied to `"+r+"`, expected `"+e+"`.",{expectedType:e}):null}))}function m(e,t,n,r,i){return new h((e||"React class")+": "+t+" type `"+n+"."+r+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+i+"`.")}function b(e){switch(typeof e){case"number":case"string":case"undefined":return!0;case"boolean":return!e;case"object":if(Array.isArray(e))return e.every(b);if(null===e||s(e))return!0;var t=function(e){var t=e&&(l&&e[l]||e["@@iterator"]);if("function"==typeof t)return t}(e);if(!t)return!1;var n,r=t.call(e);if(t!==e.entries){for(;!(n=r.next()).done;)if(!b(n.value))return!1}else for(;!(n=r.next()).done;){var i=n.value;if(i&&!b(i[1]))return!1}return!0;default:return!1}}function v(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":function(e,t){return"symbol"===e||!!t&&("Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol)}(t,e)?"symbol":t}function y(e){if(null==e)return""+e;var t=v(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function _(e){var t=y(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}return h.prototype=Error.prototype,f.checkPropTypes=i,f.resetWarningCache=i.resetWarningCache,f.PropTypes=f,f},Wa}function rs(){if(Za)return qa;Za=1;var e=Ka();function t(){}function n(){}return n.resetWarningCache=t,qa=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}}function is(){if(Ga)return Da.exports;if(Ga=1,"production"!==process.env.NODE_ENV){var e=Qa();Da.exports=ns()(e.isElement,true)}else Da.exports=rs()();return Da.exports}var os=Gr(is()),as=xs(),ss=e=>vs(e,as),cs=xs();ss.write=e=>vs(e,cs);var ls=xs();ss.onStart=e=>vs(e,ls);var us=xs();ss.onFrame=e=>vs(e,us);var fs=xs();ss.onFinish=e=>vs(e,fs);var ds=[];ss.setTimeout=(e,t)=>{const n=ss.now()+t,r=()=>{const e=ds.findIndex((e=>e.cancel==r));~e&&ds.splice(e,1),ms-=~e?1:0},i={time:n,handler:e,cancel:r};return ds.splice(hs(n),0,i),ms+=1,ys(),i};var hs=e=>~(~ds.findIndex((t=>t.time>e))||~ds.length);ss.cancel=e=>{ls.delete(e),us.delete(e),fs.delete(e),as.delete(e),cs.delete(e)},ss.sync=e=>{bs=!0,ss.batchedUpdates(e),bs=!1},ss.throttle=e=>{let t;function n(){try{e(...t)}finally{t=null}}function r(...e){t=e,ss.onStart(n)}return r.handler=e,r.cancel=()=>{ls.delete(n),t=null},r};var ps="undefined"!=typeof window?window.requestAnimationFrame:()=>{};ss.use=e=>ps=e,ss.now="undefined"!=typeof performance?()=>performance.now():Date.now,ss.batchedUpdates=e=>e(),ss.catch=console.error,ss.frameLoop="always",ss.advance=()=>{"demand"!==ss.frameLoop?console.warn("Cannot call the manual advancement of rafz whilst frameLoop is not set as demand"):ws()};var gs=-1,ms=0,bs=!1;function vs(e,t){bs?(t.delete(e),e(0)):(t.add(e),ys())}function ys(){gs<0&&(gs=0,"demand"!==ss.frameLoop&&ps(_s))}function _s(){~gs&&(ps(_s),ss.batchedUpdates(ws))}function ws(){const e=gs;gs=ss.now();const t=hs(gs);t&&(Cs(ds.splice(0,t),(e=>e.handler())),ms-=t),ms?(ls.flush(),as.flush(e?Math.min(64,gs-e):16.667),us.flush(),cs.flush(),fs.flush()):gs=-1}function xs(){let e=new Set,t=e;return{add(n){ms+=t!=e||e.has(n)?0:1,e.add(n)},delete:n=>(ms-=t==e&&e.has(n)?1:0,e.delete(n)),flush(n){t.size&&(e=new Set,ms-=t.size,Cs(t,(t=>t(n)&&e.add(t))),ms+=e.size,t=e)}}}function Cs(e,t){e.forEach((e=>{try{t(e)}catch(e){ss.catch(e)}}))}var ks=Object.defineProperty,Ms={};function Ss(){}((e,t)=>{for(var n in t)ks(e,n,{get:t[n],enumerable:!0})})(Ms,{assign:()=>zs,colors:()=>Bs,createStringInterpolator:()=>js,skipAnimation:()=>Rs,to:()=>Ns,willAdvance:()=>$s});var Ts={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 As(e,t){if(Ts.arr(e)){if(!Ts.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 Es=(e,t)=>e.forEach(t);function Os(e,t,n){if(Ts.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 Ps=e=>Ts.und(e)?[]:Ts.arr(e)?e:[e];function Ds(e,t){if(e.size){const n=Array.from(e);e.clear(),Es(n,t)}}var js,Ns,Ls=(e,...t)=>Ds(e,(e=>e(...t))),Fs=()=>"undefined"==typeof window||!window.navigator||/ServerSideRendering|^Deno\//.test(window.navigator.userAgent),Bs=null,Rs=!1,$s=Ss,zs=e=>{e.to&&(Ns=e.to),e.now&&(ss.now=e.now),void 0!==e.colors&&(Bs=e.colors),null!=e.skipAnimation&&(Rs=e.skipAnimation),e.createStringInterpolator&&(js=e.createStringInterpolator),e.requestAnimationFrame&&ss.use(e.requestAnimationFrame),e.batchedUpdates&&(ss.batchedUpdates=e.batchedUpdates),e.willAdvance&&($s=e.willAdvance),e.frameLoop&&(ss.frameLoop=e.frameLoop)},Is=new Set,Us=[],Hs=[],Vs=0,Ws={get idle(){return!Is.size&&!Us.length},start(e){Vs>e.priority?(Is.add(e),ss.onStart(Ys)):(qs(e),ss(Gs))},advance:Gs,sort(e){if(Vs)ss.onFrame((()=>Ws.sort(e)));else{const t=Us.indexOf(e);~t&&(Us.splice(t,1),Zs(e))}},clear(){Us=[],Is.clear()}};function Ys(){Is.forEach(qs),Is.clear(),ss(Gs)}function qs(e){Us.includes(e)||Zs(e)}function Zs(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 Gs(e){const t=Hs;for(let n=0;n<Us.length;n++){const r=Us[n];Vs=r.priority,r.idle||($s(r),r.advance(e),r.idle||t.push(r))}return Vs=0,(Hs=Us).length=0,(Us=t).length>0}var Xs="[-+]?\\d*\\.?\\d+",Qs=Xs+"%";function Js(...e){return"\\(\\s*("+e.join(")\\s*,\\s*(")+")\\s*\\)"}var Ks=new RegExp("rgb"+Js(Xs,Xs,Xs)),ec=new RegExp("rgba"+Js(Xs,Xs,Xs,Xs)),tc=new RegExp("hsl"+Js(Xs,Qs,Qs)),nc=new RegExp("hsla"+Js(Xs,Qs,Qs,Xs)),rc=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,ic=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,oc=/^#([0-9a-fA-F]{6})$/,ac=/^#([0-9a-fA-F]{8})$/;function sc(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 cc(e,t,n){const r=n<.5?n*(1+t):n+t-n*t,i=2*n-r,o=sc(i,r,e+1/3),a=sc(i,r,e),s=sc(i,r,e-1/3);return Math.round(255*o)<<24|Math.round(255*a)<<16|Math.round(255*s)<<8}function lc(e){const t=parseInt(e,10);return t<0?0:t>255?255:t}function uc(e){return(parseFloat(e)%360+360)%360/360}function fc(e){const t=parseFloat(e);return t<0?0:t>1?255:Math.round(255*t)}function dc(e){const t=parseFloat(e);return t<0?0:t>100?1:t/100}function hc(e){let t=function(e){let t;return"number"==typeof e?e>>>0===e&&e>=0&&e<=4294967295?e:null:(t=oc.exec(e))?parseInt(t[1]+"ff",16)>>>0:Bs&&void 0!==Bs[e]?Bs[e]:(t=Ks.exec(e))?(lc(t[1])<<24|lc(t[2])<<16|lc(t[3])<<8|255)>>>0:(t=ec.exec(e))?(lc(t[1])<<24|lc(t[2])<<16|lc(t[3])<<8|fc(t[4]))>>>0:(t=rc.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+"ff",16)>>>0:(t=ac.exec(e))?parseInt(t[1],16)>>>0:(t=ic.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+t[4]+t[4],16)>>>0:(t=tc.exec(e))?(255|cc(uc(t[1]),dc(t[2]),dc(t[3])))>>>0:(t=nc.exec(e))?(cc(uc(t[1]),dc(t[2]),dc(t[3]))|fc(t[4]))>>>0:null}(e);if(null===t)return e;t=t||0;return`rgba(${(4278190080&t)>>>24}, ${(16711680&t)>>>16}, ${(65280&t)>>>8}, ${(255&t)/255})`}var pc=(e,t,n)=>{if(Ts.fun(e))return e;if(Ts.arr(e))return pc({range:e,output:t,extrapolate:n});if(Ts.str(e.output[0]))return js(e);const r=e,i=r.output,o=r.range||[0,1],a=r.extrapolateLeft||r.extrapolate||"extend",s=r.extrapolateRight||r.extrapolate||"extend",c=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,c){let l=c?c(e):e;if(l<t){if("identity"===a)return l;"clamp"===a&&(l=t)}if(l>n){if("identity"===s)return l;"clamp"===s&&(l=n)}if(r===i)return r;if(t===n)return e<=t?r:i;t===-1/0?l=-l:n===1/0?l-=t:l=(l-t)/(n-t);l=o(l),r===-1/0?l=-l:i===1/0?l+=r:l=l*(i-r)+r;return l}(e,o[t],o[t+1],i[t],i[t+1],c,a,s,r.map)}};var gc=1.70158,mc=1.525*gc,bc=gc+1,vc=2*Math.PI/3,yc=2*Math.PI/4.5,_c=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},wc={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=>bc*e*e*e-gc*e*e,easeOutBack:e=>1+bc*Math.pow(e-1,3)+gc*Math.pow(e-1,2),easeInOutBack:e=>e<.5?Math.pow(2*e,2)*(7.189819*e-mc)/2:(Math.pow(2*e-2,2)*((mc+1)*(2*e-2)+mc)+2)/2,easeInElastic:e=>0===e?0:1===e?1:-Math.pow(2,10*e-10)*Math.sin((10*e-10.75)*vc),easeOutElastic:e=>0===e?0:1===e?1:Math.pow(2,-10*e)*Math.sin((10*e-.75)*vc)+1,easeInOutElastic:e=>0===e?0:1===e?1:e<.5?-Math.pow(2,20*e-10)*Math.sin((20*e-11.125)*yc)/2:Math.pow(2,-20*e+10)*Math.sin((20*e-11.125)*yc)/2+1,easeInBounce:e=>1-_c(1-e),easeOutBounce:_c,easeInOutBounce:e=>e<.5?(1-_c(1-2*e))/2:(1+_c(2*e-1))/2,steps:(e,t="end")=>n=>{const r=(n="end"===t?Math.min(n,.999):Math.max(n,.001))*e;return((e,t,n)=>Math.min(Math.max(n,e),t))(0,1,("end"===t?Math.floor(r):Math.ceil(r))/e)}},xc=Symbol.for("FluidValue.get"),Cc=Symbol.for("FluidValue.observers"),kc=e=>Boolean(e&&e[xc]),Mc=e=>e&&e[xc]?e[xc]():e,Sc=e=>e[Cc]||null;function Tc(e,t){const n=e[Cc];n&&n.forEach((e=>{!function(e,t){e.eventObserved?e.eventObserved(t):e(t)}(e,t)}))}var Ac=class{constructor(e){if(!e&&!(e=this.get))throw Error("Unknown getter");Ec(this,e)}},Ec=(e,t)=>jc(e,xc,t);function Oc(e,t){if(e[xc]){let n=e[Cc];n||jc(e,Cc,n=new Set),n.has(t)||(n.add(t),e.observerAdded&&e.observerAdded(n.size,t))}return t}function Pc(e,t){const n=e[Cc];if(n&&n.has(t)){const r=n.size-1;r?n.delete(t):e[Cc]=null,e.observerRemoved&&e.observerRemoved(r,t)}}var Dc,jc=(e,t,n)=>Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0}),Nc=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,Lc=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,Fc=new RegExp(`(${Nc.source})(%|[a-z]+)`,"i"),Bc=/rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi,Rc=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/,$c=e=>{const[t,n]=zc(e);if(!t||Fs())return e;const r=window.getComputedStyle(document.documentElement).getPropertyValue(t);if(r)return r.trim();if(n&&n.startsWith("--")){const t=window.getComputedStyle(document.documentElement).getPropertyValue(n);return t||e}return n&&Rc.test(n)?$c(n):n||e},zc=e=>{const t=Rc.exec(e);if(!t)return[,];const[,n,r]=t;return[n,r]},Ic=(e,t,n,r,i)=>`rgba(${Math.round(t)}, ${Math.round(n)}, ${Math.round(r)}, ${i})`,Uc=e=>{Dc||(Dc=Bs?new RegExp(`(${Object.keys(Bs).join("|")})(?!\\w)`,"g"):/^\b$/);const t=e.output.map((e=>Mc(e).replace(Rc,$c).replace(Lc,hc).replace(Dc,hc))),n=t.map((e=>e.match(Nc).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=>pc({...e,output:t})));return e=>{const n=!Fc.test(t[0])&&t.find((e=>Fc.test(e)))?.replace(Nc,"");let r=0;return t[0].replace(Nc,(()=>`${i[r++](e)}${n||""}`)).replace(Bc,Ic)}},Hc="react-spring: ",Vc=e=>{const t=e;let n=!1;if("function"!=typeof t)throw new TypeError(`${Hc}once requires a function parameter`);return(...e)=>{n||(t(...e),n=!0)}},Wc=Vc(console.warn);var Yc=Vc(console.warn);function qc(e){return Ts.str(e)&&("#"==e[0]||/\d/.test(e)||!Fs()&&Rc.test(e)||e in(Bs||{}))}var Zc=Fs()?p:g;function Gc(){const e=m()[1],t=(()=>{const e=b(!1);return Zc((()=>(e.current=!0,()=>{e.current=!1})),[]),e})();return()=>{t.current&&e(Math.random())}}var Xc=e=>p(e,Qc),Qc=[];function Jc(e){const t=b();return p((()=>{t.current=e})),t.current}var Kc=Symbol.for("Animated:node"),el=e=>e&&e[Kc],tl=(e,t)=>{return n=e,r=Kc,i=t,Object.defineProperty(n,r,{value:i,writable:!0,configurable:!0});var n,r,i},nl=e=>e&&e[Kc]&&e[Kc].getPayload(),rl=class{constructor(){tl(this,this)}getPayload(){return this.payload||[]}},il=class extends rl{constructor(e){super(),this._value=e,this.done=!0,this.durationProgress=0,Ts.num(this._value)&&(this.lastPosition=this._value)}static create(e){return new il(e)}getPayload(){return[this]}getValue(){return this._value}setValue(e,t){return Ts.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,Ts.num(this._value)&&(this.elapsedTime=0,this.durationProgress=0,this.lastPosition=this._value,e&&(this.lastVelocity=null),this.v0=null)}},ol=class extends il{constructor(e){super(0),this._string=null,this._toString=pc({output:[e,e]})}static create(e){return new ol(e)}getValue(){const e=this._string;return null==e?this._string=this._toString(this._value):e}setValue(e){if(Ts.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=pc({output:[this.getValue(),e]})),this._value=0,super.reset()}},al={dependencies:null},sl=class extends rl{constructor(e){super(),this.source=e,this.setValue(e)}getValue(e){const t={};return Os(this.source,((n,r)=>{var i;(i=n)&&i[Kc]===i?t[r]=n.getValue(e):kc(n)?t[r]=Mc(n):e||(t[r]=n)})),t}setValue(e){this.source=e,this.payload=this._makePayload(e)}reset(){this.payload&&Es(this.payload,(e=>e.reset()))}_makePayload(e){if(e){const t=new Set;return Os(e,this._addToPayload,t),Array.from(t)}}_addToPayload(e){al.dependencies&&kc(e)&&al.dependencies.add(e);const t=nl(e);t&&Es(t,(e=>this.add(e)))}},cl=class extends sl{constructor(e){super(e)}static create(e){return new cl(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(ll)),!0)}};function ll(e){return(qc(e)?ol:il).create(e)}function ul(e){const t=el(e);return t?t.constructor:Ts.arr(e)?cl:qc(e)?ol:il}var fl=(e,t)=>{const n=!Ts.fun(e)||e.prototype&&e.prototype.isReactComponent;return v(((r,i)=>{const o=b(null),a=n&&y((e=>{o.current=function(e,t){e&&(Ts.fun(e)?e(t):e.current=t);return t}(i,e)}),[i]),[s,c]=function(e,t){const n=new Set;al.dependencies=n,e.style&&(e={...e,style:t.createAnimatedStyle(e.style)});return e=new sl(e),al.dependencies=null,[e,n]}(r,t),l=Gc(),u=()=>{const e=o.current;if(n&&!e)return;!1===(!!e&&t.applyAnimatedValues(e,s.getValue(!0)))&&l()},f=new dl(u,c),d=b();Zc((()=>(d.current=f,Es(c,(e=>Oc(e,f))),()=>{d.current&&(Es(d.current.deps,(e=>Pc(e,d.current))),ss.cancel(d.current.update))}))),p(u,[]),Xc((()=>()=>{const e=d.current;Es(e.deps,(t=>Pc(t,e)))}));const g=t.getComponentProps(s.getValue());return h.createElement(e,{...g,ref:a})}))},dl=class{constructor(e,t){this.update=e,this.deps=t}eventObserved(e){"change"==e.type&&ss.write(this.update)}};var hl=Symbol.for("AnimatedComponent"),pl=e=>Ts.str(e)?e:e&&Ts.str(e.displayName)?e.displayName:Ts.fun(e)&&e.name||null;function gl(e,...t){return Ts.fun(e)?e(...t):e}var ml=(e,t)=>!0===e||!!(t&&e&&(Ts.fun(e)?e(t):Ps(e).includes(t))),bl=(e,t)=>Ts.obj(e)?t&&e[t]:e,vl=(e,t)=>!0===e.default?e[t]:e.default?e.default[t]:void 0,yl=e=>e,_l=(e,t=yl)=>{let n=wl;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);Ts.und(n)||(r[i]=n)}return r},wl=["config","onProps","onStart","onChange","onPause","onResume","onRest"],xl={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 Cl(e){const t=function(e){const t={};let n=0;if(Os(e,((e,r)=>{xl[r]||(t[r]=e,n++)})),n)return t}(e);if(t){const n={to:t};return Os(e,((e,r)=>r in t||(n[r]=e))),n}return{...e}}function kl(e){return e=Mc(e),Ts.arr(e)?e.map(kl):qc(e)?Ms.createStringInterpolator({range:[0,1],output:[e,e]})(1):e}function Ml(e){for(const t in e)return!0;return!1}function Sl(e){return Ts.fun(e)||Ts.arr(e)&&Ts.obj(e[0])}function Tl(e,t){e.ref?.delete(e),t?.delete(e)}function Al(e,t){t&&e.ref!==t&&(e.ref?.delete(e),t.add(e),e.ref=t)}var El={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}},Ol={...El.default,mass:1,damping:1,easing:wc.linear,clamp:!1},Pl=class{constructor(){this.velocity=0,Object.assign(this,Ol)}};function Dl(e,t){if(Ts.und(t.decay)){const n=!Ts.und(t.tension)||!Ts.und(t.friction);!n&&Ts.und(t.frequency)&&Ts.und(t.damping)&&Ts.und(t.mass)||(e.duration=void 0,e.decay=void 0),n&&(e.frequency=void 0)}else e.duration=void 0}var jl=[],Nl=class{constructor(){this.changed=!1,this.values=jl,this.toValues=null,this.fromValues=jl,this.config=new Pl,this.immediate=!1}};function Ll(e,{key:t,props:n,defaultProps:r,state:i,actions:o}){return new Promise(((a,s)=>{let c,l,u=ml(n.cancel??r?.cancel,t);if(u)h();else{Ts.und(n.pause)||(i.paused=ml(n.pause,t));let e=r?.pause;!0!==e&&(e=i.paused||ml(e,t)),c=gl(n.delay||0,t),e?(i.resumeQueue.add(d),o.pause()):(o.resume(),d())}function f(){i.resumeQueue.add(d),i.timeouts.delete(l),l.cancel(),c=l.time-ss.now()}function d(){c>0&&!Ms.skipAnimation?(i.delayed=!0,l=ss.setTimeout(h,c),i.pauseQueue.add(f),i.timeouts.add(l)):h()}function h(){i.delayed&&(i.delayed=!1),i.pauseQueue.delete(f),i.timeouts.delete(l),e<=(i.cancelId||0)&&(u=!0);try{o.start({...n,callId:e,cancel:u},a)}catch(e){s(e)}}}))}var Fl=(e,t)=>1==t.length?t[0]:t.some((e=>e.cancelled))?$l(e.get()):t.every((e=>e.noop))?Bl(e.get()):Rl(e.get(),t.every((e=>e.finished))),Bl=e=>({value:e,noop:!0,finished:!0,cancelled:!1}),Rl=(e,t,n=!1)=>({value:e,finished:t,cancelled:n}),$l=e=>({value:e,cancelled:!0,finished:!1});function zl(e,t,n,r){const{callId:i,parentId:o,onRest:a}=t,{asyncTo:s,promise:c}=n;return o||e!==s||t.reset?n.promise=(async()=>{n.asyncId=i,n.asyncTo=e;const l=_l(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)&&$l(r)||i!==n.asyncId&&Rl(r,!1);if(t)throw e.result=t,f(e),e},p=(e,t)=>{const o=new Ul,a=new Hl;return(async()=>{if(Ms.skipAnimation)throw Il(n),a.result=Rl(r,!1),f(a),a;h(o);const s=Ts.obj(e)?{...e}:{...t,to:e};s.parentId=i,Os(l,((e,t)=>{Ts.und(s[t])&&(s[t]=e)}));const c=await r.start(s);return h(o),n.paused&&await new Promise((e=>{n.resumeQueue.add(e)})),c})()};let g;if(Ms.skipAnimation)return Il(n),Rl(r,!1);try{let t;t=Ts.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=Rl(r.get(),!0,!1)}catch(e){if(e instanceof Ul)g=e.result;else{if(!(e instanceof Hl))throw e;g=e.result}}finally{i==n.asyncId&&(n.asyncId=o,n.asyncTo=o?s:void 0,n.promise=o?c:void 0)}return Ts.fun(a)&&ss.batchedUpdates((()=>{a(g,r,r.item)})),g})():c}function Il(e,t){Ds(e.timeouts,(e=>e.cancel())),e.pauseQueue.clear(),e.resumeQueue.clear(),e.asyncId=e.asyncTo=e.promise=void 0,t&&(e.cancelId=t)}var Ul=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.")}},Hl=class extends Error{constructor(){super("SkipAnimationSignal")}},Vl=e=>e instanceof Yl,Wl=1,Yl=class extends Ac{constructor(){super(...arguments),this.id=Wl++,this._priority=0}get priority(){return this._priority}set priority(e){this._priority!=e&&(this._priority=e,this._onPriorityChange(e))}get(){const e=el(this);return e&&e.getValue()}to(...e){return Ms.to(this,e)}interpolate(...e){return Wc(`${Hc}The "interpolate" function is deprecated in v9 (use "to" instead)`),Ms.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){Tc(this,{type:"change",parent:this,value:e,idle:t})}_onPriorityChange(e){this.idle||Ws.sort(this),Tc(this,{type:"priority",parent:this,priority:e})}},ql=Symbol.for("SpringPhase"),Zl=e=>(1&e[ql])>0,Gl=e=>(2&e[ql])>0,Xl=e=>(4&e[ql])>0,Ql=(e,t)=>t?e[ql]|=3:e[ql]&=-3,Jl=(e,t)=>t?e[ql]|=4:e[ql]&=-5,Kl=class extends Yl{constructor(e,t){if(super(),this.animation=new Nl,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,!Ts.und(e)||!Ts.und(t)){const n=Ts.obj(e)?{...e}:{...t,from:e};Ts.und(n.default)&&(n.default=!0),this.start(n)}}get idle(){return!(Gl(this)||this._state.asyncTo)||Xl(this)}get goal(){return Mc(this.animation.to)}get velocity(){const e=el(this);return e instanceof il?e.lastVelocity||0:e.getPayload().map((e=>e.lastVelocity||0))}get hasAnimated(){return Zl(this)}get isAnimating(){return Gl(this)}get isPaused(){return Xl(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=nl(r.to);!a&&kc(r.to)&&(i=Ps(Mc(r.to))),r.values.forEach(((s,c)=>{if(s.done)return;const l=s.constructor==ol?1:a?a[c].lastPosition:i[c];let u=r.immediate,f=l;if(!u){if(f=s.lastPosition,o.tension<=0)return void(s.done=!0);let t=s.elapsedTime+=e;const n=r.fromValues[c],i=null!=s.v0?s.v0:s.v0=Ts.arr(o.velocity)?o.velocity[c]:o.velocity;let a;const d=o.precision||(n==l?.005:Math.min(1,.001*Math.abs(l-n)));if(Ts.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,c=!Ts.und(r),h=n==l?s.v0>0:n<l;let p,g=!1;const m=1,b=Math.ceil(e/m);for(let e=0;e<b&&(p=Math.abs(a)>t,p||(u=Math.abs(l-f)<=d,!u));++e){c&&(g=f==l||f>l==h,g&&(a=-a*r,f=l));a+=(1e-6*-o.tension*(f-l)+.001*-o.friction*a)/o.mass*m,f+=a*m}}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)*(l-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[c].done&&(u=!1),u?s.done=!0:t=!1,s.setValue(f,o.round)&&(n=!0)}));const s=el(this),c=s.getValue();if(t){const e=Mc(r.to);c===e&&!n||o.decay?n&&o.decay&&this._onChange(c):(s.setValue(e),this._onChange(e)),this._stop()}else n&&this._onChange(c)}set(e){return ss.batchedUpdates((()=>{this._stop(),this._focus(e),this._set(e)})),this}pause(){this._update({pause:!0})}resume(){this._update({pause:!1})}finish(){if(Gl(this)){const{to:e,config:t}=this.animation;ss.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 Ts.und(e)?(n=this.queue||[],this.queue=[]):n=[Ts.obj(e)?e:{...t,to:e}],Promise.all(n.map((e=>this._update(e)))).then((e=>Fl(this,e)))}stop(e){const{to:t}=this.animation;return this._focus(this.get()),Il(this._state,e&&this._lastCallId),ss.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=Ts.obj(n)?n[t]:n,(null==n||Sl(n))&&(n=void 0),r=Ts.obj(r)?r[t]:r,null==r&&(r=void 0);const i={to:n,from:r};return Zl(this)||(e.reverse&&([n,r]=[r,n]),r=Mc(r),Ts.und(r)?el(this)||this._set(n):this._set(r)),i}_update({...e},t){const{key:n,defaultProps:r}=this;e.default&&Object.assign(r,_l(e,((e,t)=>/^on/.test(t)?bl(e,n):e))),au(this,e,"onProps"),su(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 Ll(++this._lastCallId,{key:n,props:e,defaultProps:r,state:o,actions:{pause:()=>{Xl(this)||(Jl(this,!0),Ls(o.pauseQueue),su(this,"onPause",Rl(this,eu(this,this.animation.to)),this))},resume:()=>{Xl(this)&&(Jl(this,!1),Gl(this)&&this._resume(),Ls(o.resumeQueue),su(this,"onResume",Rl(this,eu(this,this.animation.to)),this))},start:this._merge.bind(this,i)}}).then((n=>{if(e.loop&&n.finished&&(!t||!n.noop)){const t=tu(e);if(t)return this._update(t,!0)}return n}))}_merge(e,t,n){if(t.cancel)return this.stop(!0),n($l(this));const r=!Ts.und(e.to),i=!Ts.und(e.from);if(r||i){if(!(t.callId>this._lastToId))return n($l(this));this._lastToId=t.callId}const{key:o,defaultProps:a,animation:s}=this,{to:c,from:l}=s;let{to:u=c,from:f=l}=e;!i||r||t.default&&!Ts.und(u)||(u=f),t.reverse&&([u,f]=[f,u]);const d=!As(f,l);d&&(s.from=f),f=Mc(f);const h=!As(u,c);h&&this._focus(u);const p=Sl(t.to),{config:g}=s,{decay:m,velocity:b}=g;(r||i)&&(g.velocity=0),t.config&&!p&&function(e,t,n){n&&(Dl(n={...n},t),t={...n,...t}),Dl(e,t),Object.assign(e,t);for(const t in Ol)null==e[t]&&(e[t]=Ol[t]);let{frequency:r,damping:i}=e;const{mass:o}=e;Ts.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,gl(t.config,o),t.config!==a.config?gl(a.config,o):void 0);let v=el(this);if(!v||Ts.und(u))return n(Rl(this,!0));const y=Ts.und(t.reset)?i&&!t.default:!Ts.und(f)&&ml(t.reset,o),_=y?f:this.get(),w=kl(u),x=Ts.num(w)||Ts.arr(w)||qc(w),C=!p&&(!x||ml(a.immediate||t.immediate,o));if(h){const e=ul(u);if(e!==v.constructor){if(!C)throw Error(`Cannot animate between ${v.constructor.name} and ${e.name}, as the "to" prop suggests`);v=this._set(w)}}const k=v.constructor;let M=kc(u),S=!1;if(!M){const e=y||!Zl(this)&&d;(h||e)&&(S=As(kl(_),w),M=!S),(As(s.immediate,C)||C)&&As(g.decay,m)&&As(g.velocity,b)||(M=!0)}if(S&&Gl(this)&&(s.changed&&!y?M=!0:M||this._stop(c)),!p&&((M||kc(c))&&(s.values=v.getPayload(),s.toValues=kc(u)?null:k==ol?[1]:Ps(w)),s.immediate!=C&&(s.immediate=C,C||y||this._set(c)),M)){const{onRest:e}=s;Es(ou,(e=>au(this,t,e)));const r=Rl(this,eu(this,c));Ls(this._pendingCalls,r),this._pendingCalls.add(n),s.changed&&ss.batchedUpdates((()=>{s.changed=!y,e?.(r,this),y?gl(a.onRest,r):s.onStart?.(r,this)}))}y&&this._set(_),p?n(zl(t.to,t,this._state,this)):M?this._start():Gl(this)&&!h?this._pendingCalls.add(n):n(Bl(_))}_focus(e){const t=this.animation;e!==t.to&&(Sc(this)&&this._detach(),t.to=e,Sc(this)&&this._attach())}_attach(){let e=0;const{to:t}=this.animation;kc(t)&&(Oc(t,this),Vl(t)&&(e=t.priority+1)),this.priority=e}_detach(){const{to:e}=this.animation;kc(e)&&Pc(e,this)}_set(e,t=!0){const n=Mc(e);if(!Ts.und(n)){const e=el(this);if(!e||!As(n,e.getValue())){const r=ul(n);e&&e.constructor==r?e.setValue(n):tl(this,r.create(n)),e&&ss.batchedUpdates((()=>{this._onChange(n,t)}))}}return el(this)}_onStart(){const e=this.animation;e.changed||(e.changed=!0,su(this,"onStart",Rl(this,eu(this,e.to)),this))}_onChange(e,t){t||(this._onStart(),gl(this.animation.onChange,e,this)),gl(this.defaultProps.onChange,e,this),super._onChange(e,t)}_start(){const e=this.animation;el(this).reset(Mc(e.to)),e.immediate||(e.fromValues=e.values.map((e=>e.lastPosition))),Gl(this)||(Ql(this,!0),Xl(this)||this._resume())}_resume(){Ms.skipAnimation?this.finish():Ws.start(this)}_stop(e,t){if(Gl(this)){Ql(this,!1);const n=this.animation;Es(n.values,(e=>{e.done=!0})),n.toValues&&(n.onChange=n.onPause=n.onResume=void 0),Tc(this,{type:"idle",parent:this});const r=t?$l(this.get()):Rl(this.get(),eu(this,e??n.to));Ls(this._pendingCalls,r),n.changed&&(n.changed=!1,su(this,"onRest",r,this))}}};function eu(e,t){const n=kl(t);return As(kl(e.get()),n)}function tu(e,t=e.loop,n=e.to){const r=gl(t);if(r){const i=!0!==r&&Cl(r),o=(i||e).reverse,a=!i||i.reset;return nu({...e,loop:t,default:!1,pause:void 0,to:!o||Sl(n)?n:void 0,from:a?e.from:void 0,reset:a,...i})}}function nu(e){const{to:t,from:n}=e=Cl(e),r=new Set;return Ts.obj(t)&&iu(t,r),Ts.obj(n)&&iu(n,r),e.keys=r.size?Array.from(r):null,e}function ru(e){const t=nu(e);return Ts.und(t.default)&&(t.default=_l(t)),t}function iu(e,t){Os(e,((e,n)=>null!=e&&t.add(n)))}var ou=["onStart","onRest","onChange","onPause","onResume"];function au(e,t,n){e.animation[n]=t[n]!==vl(t,n)?bl(t[n],e.key):void 0}function su(e,t,...n){e.animation[t]?.(...n),e.defaultProps[t]?.(...n)}var cu=["onStart","onChange","onRest"],lu=1,uu=class{constructor(e,t){this.id=lu++,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];Ts.und(n)||this.springs[t].set(n)}}update(e){return e&&this.queue.push(nu(e)),this}start(e){let{queue:t}=this;return e?t=Ps(e).map(nu):this.queue=[],this._flush?this._flush(this,t):(bu(this,t),fu(this,t))}stop(e,t){if(e!==!!e&&(t=e),t){const n=this.springs;Es(Ps(t),(t=>n[t].stop(!!e)))}else Il(this._state,this._lastAsyncId),this.each((t=>t.stop(!!e)));return this}pause(e){if(Ts.und(e))this.start({pause:!0});else{const t=this.springs;Es(Ps(e),(e=>t[e].pause()))}return this}resume(e){if(Ts.und(e))this.start({pause:!1});else{const t=this.springs;Es(Ps(e),(e=>t[e].resume()))}return this}each(e){Os(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,Ds(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&&Ds(t,(([e,t])=>{t.value=a,e(t,this,this._item)})),o&&(this._started=!1,Ds(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)}ss.onFrame(this._onFrame)}};function fu(e,t){return Promise.all(t.map((t=>du(e,t)))).then((t=>Fl(e,t)))}async function du(e,t,n){const{keys:r,to:i,from:o,loop:a,onRest:s,onResolve:c}=t,l=Ts.obj(t.default)&&t.default;a&&(t.loop=!1),!1===i&&(t.to=null),!1===o&&(t.from=null);const u=Ts.arr(i)||Ts.fun(i)?i:void 0;u?(t.to=void 0,t.onRest=void 0,l&&(l.onRest=void 0)):Es(cu,(n=>{const r=t[n];if(Ts.fun(r)){const i=e._events[n];t[n]=({finished:e,cancelled:t})=>{const n=i.get(r);n?(e||(n.finished=!1),t&&(n.cancelled=!0)):i.set(r,{value:null,finished:e||!1,cancelled:t||!1})},l&&(l[n]=t[n])}}));const f=e._state;t.pause===!f.paused?(f.paused=t.pause,Ls(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===vl(t,"cancel");(u||h&&f.asyncId)&&d.push(Ll(++e._lastAsyncId,{props:t,state:f,actions:{pause:Ss,resume:Ss,start(t,n){h?(Il(f,e._lastAsyncId),n($l(e))):(t.onRest=s,n(zl(u,t,f,e)))}}})),f.paused&&await new Promise((e=>{f.resumeQueue.add(e)}));const p=Fl(e,await Promise.all(d));if(a&&p.finished&&(!n||!p.noop)){const n=tu(t,a,i);if(n)return bu(e,[n]),du(e,n,!0)}return c&&ss.batchedUpdates((()=>c(p,e,e.item))),p}function hu(e,t){const n={...e.springs};return t&&Es(Ps(t),(e=>{Ts.und(e.keys)&&(e=nu(e)),Ts.obj(e.to)||(e={...e,to:void 0}),mu(n,e,(e=>gu(e)))})),pu(e,n),n}function pu(e,t){Os(t,((t,n)=>{e.springs[n]||(e.springs[n]=t,Oc(t,e))}))}function gu(e,t){const n=new Kl;return n.key=e,t&&Oc(n,t),n}function mu(e,t,n){t.keys&&Es(t.keys,(r=>{(e[r]||(e[r]=n(r)))._prepareNode(t)}))}function bu(e,t){Es(t,(t=>{mu(e.springs,t,(t=>gu(t,e)))}))}var vu=({children:e,...t})=>{const n=_(yu),r=t.pause||!!n.pause,i=t.immediate||!!n.immediate;t=function(e,t){const[n]=m((()=>({inputs:t,result:e()}))),r=b(),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 p((()=>{r.current=o,i==n&&(n.inputs=n.result=void 0)}),[o]),o.result}((()=>({pause:r,immediate:i})),[r,i]);const{Provider:o}=yu;return h.createElement(o,{value:t},e)},yu=function(e,t){return Object.assign(e,h.createContext(t)),e.Provider._context=e,e.Consumer._context=e,e}(vu,{});vu.Provider=yu.Provider,vu.Consumer=yu.Consumer;var _u=()=>{const e=[],t=function(t){Yc(`${Hc}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 Es(e,((e,i)=>{if(Ts.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 Es(e,(e=>e.pause(...arguments))),this},t.resume=function(){return Es(e,(e=>e.resume(...arguments))),this},t.set=function(t){Es(e,((e,n)=>{const r=Ts.fun(t)?t(n,e):t;r&&e.set(r)}))},t.start=function(t){const n=[];return Es(e,((e,r)=>{if(Ts.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 Es(e,(e=>e.stop(...arguments))),this},t.update=function(t){return Es(e,((e,n)=>e.update(this._getProps(t,e,n)))),this};const n=function(e,t,n){return Ts.fun(e)?e(n,t):e};return t._getProps=n,t};function wu(e,t){const n=Ts.fun(e),[[r],i]=function(e,t,n){const r=Ts.fun(t)&&t;r&&!n&&(n=[]);const i=w((()=>r||3==arguments.length?_u():void 0),[]),o=b(0),a=Gc(),s=w((()=>({ctrls:[],queue:[],flush(e,t){const n=hu(e,t);return o.current>0&&!s.queue.length&&!Object.keys(n).some((t=>!e.springs[t]))?fu(e,t):new Promise((r=>{pu(e,n),s.queue.push((()=>{r(fu(e,t))})),a()}))}})),[]),c=b([...s.ctrls]),l=[],u=Jc(e)||0;function f(e,n){for(let i=e;i<n;i++){const e=c.current[i]||(c.current[i]=new uu(null,s.flush)),n=r?r(i,e):t[i];n&&(l[i]=ru(n))}}w((()=>{Es(c.current.slice(e,u),(e=>{Tl(e,i),e.stop(!0)})),c.current.length=e,f(u,e)}),[e]),w((()=>{f(0,Math.min(u,e))}),n);const d=c.current.map(((e,t)=>hu(e,l[t]))),h=_(vu),p=Jc(h),g=h!==p&&Ml(h);Zc((()=>{o.current++,s.ctrls=c.current;const{queue:e}=s;e.length&&(s.queue=[],Es(e,(e=>e()))),Es(c.current,((e,t)=>{i?.add(e),g&&e.start({default:h});const n=l[t];n&&(Al(e,n.ref),e.ref?e.queue.push(n):e.start(n))}))})),Xc((()=>()=>{Es(s.ctrls,(e=>e.stop(!0)))}));const m=d.map((e=>({...e})));return i?[m,i]:m}(1,n?e:[e],n?[]:t);return n||2==arguments.length?[r,i]:r}function xu(e,t,n){const r=Ts.fun(t)&&t,{reset:i,sort:o,trail:a=0,expires:s=!0,exitBeforeEnter:c=!1,onDestroyed:l,ref:u,config:f}=r?r():t,d=w((()=>r||3==arguments.length?_u():void 0),[]),p=Ps(e),g=[],m=b(null),v=i?null:m.current;Zc((()=>{m.current=g})),Xc((()=>(Es(g,(e=>{d?.add(e.ctrl),e.ctrl.ref=d})),()=>{Es(m.current,(e=>{e.expired&&clearTimeout(e.expirationId),Tl(e.ctrl,d),e.ctrl.stop(!0)}))})));const y=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):Cu++}))}return Ts.und(n)?e:Ts.fun(n)?e.map(n):Ps(n)}(p,r?r():t,v),x=i&&m.current||[];Zc((()=>Es(x,(({ctrl:e,item:t,key:n})=>{Tl(e,d),gl(l,t,n)}))));const C=[];if(v&&Es(v,((e,t)=>{e.expired?(clearTimeout(e.expirationId),x.push(e)):~(t=C[t]=y.indexOf(e.key))&&(g[t]=e)})),Es(p,((e,t)=>{g[t]||(g[t]={key:y[t],item:e,phase:"mount",ctrl:new uu},g[t].ctrl.item=e)})),C.length){let e=-1;const{leave:n}=r?r():t;Es(C,((t,r)=>{const i=v[r];~t?(e=g.indexOf(i),g[e]={...i,item:p[t]}):n&&g.splice(++e,0,i)}))}Ts.fun(o)&&g.sort(((e,t)=>o(e.item,t.item)));let k=-a;const M=Gc(),S=_l(t),T=new Map,A=b(new Map),E=b(!1);Es(g,((e,n)=>{const i=e.key,o=e.phase,l=r?r():t;let d,h;const p=gl(l.delay||0,i);if("mount"==o)d=l.enter,h="enter";else{const e=y.indexOf(i)<0;if("leave"!=o)if(e)d=l.leave,h="leave";else{if(!(d=l.update))return;h="update"}else{if(e)return;d=l.enter,h="enter"}}if(d=gl(d,e.item,n),d=Ts.obj(d)?Cl(d):{to:d},!d.config){const t=f||S.config;d.config=gl(t,e.item,n,h)}k+=a;const g={...S,delay:p+k,ref:u,immediate:l.immediate,reset:!1,...d};if("enter"==h&&Ts.und(g.from)){const i=r?r():t,o=Ts.und(i.initial)||v?i.from:i.initial;g.from=gl(o,e.item,n)}const{onResolve:b}=g;g.onResolve=e=>{gl(b,e);const t=m.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=gl(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(M,r)))}}e&&t.some((e=>e.expired))&&(A.current.delete(n),c&&(E.current=!0),M())}};const _=hu(e.ctrl,g);"leave"===h&&c?A.current.set(e,{phase:h,springs:_,payload:g}):T.set(e,{phase:h,springs:_,payload:g})}));const O=_(vu),P=Jc(O),D=O!==P&&Ml(O);Zc((()=>{D&&Es(g,(e=>{e.ctrl.start({default:O})}))}),[O]),Es(T,((e,t)=>{if(A.current.size){const e=g.findIndex((e=>e.key===t.key));g.splice(e,1)}})),Zc((()=>{Es(A.current.size?A.current:T,(({phase:e,payload:t},n)=>{const{ctrl:r}=n;n.phase=e,d?.add(r),D&&"enter"==e&&r.start({default:O}),t&&(Al(r,t.ref),!r.ref&&!d||E.current?(r.start(t),E.current&&(E.current=!1)):r.update(t))}))}),i?void 0:n);const j=e=>h.createElement(h.Fragment,null,g.map(((t,n)=>{const{springs:r}=T.get(t)||t.ctrl,i=e({...r},t.item,t,n);return i&&i.type?h.createElement(i.type,{...i.props,key:Ts.str(t.key)||Ts.num(t.key)?t.key:t.ctrl.id,ref:i.ref}):i})));return d?[j,d]:j}var Cu=1;var ku=class extends Yl{constructor(e,t){super(),this.source=e,this.idle=!0,this._active=new Set,this.calc=pc(...t);const n=this._get(),r=ul(n);tl(this,r.create(n))}advance(e){const t=this._get();As(t,this.get())||(el(this).setValue(t),this._onChange(t,this.idle)),!this.idle&&Su(this._active)&&Tu(this)}_get(){const e=Ts.arr(this.source)?this.source.map(Mc):Ps(Mc(this.source));return this.calc(...e)}_start(){this.idle&&!Su(this._active)&&(this.idle=!1,Es(nl(this),(e=>{e.done=!1})),Ms.skipAnimation?(ss.batchedUpdates((()=>this.advance())),Tu(this)):Ws.start(this))}_attach(){let e=1;Es(Ps(this.source),(t=>{kc(t)&&Oc(t,this),Vl(t)&&(t.idle||this._active.add(t),e=Math.max(e,t.priority+1))})),this.priority=e,this._start()}_detach(){Es(Ps(this.source),(e=>{kc(e)&&Pc(e,this)})),this._active.clear(),Tu(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=Ps(this.source).reduce(((e,t)=>Math.max(e,(Vl(t)?t.priority:0)+1)),0))}};function Mu(e){return!1!==e.idle}function Su(e){return!e.size||Array.from(e).every(Mu)}function Tu(e){e.idle||(e.idle=!0,Es(nl(e),(e=>{e.done=!0})),Tc(e,{type:"idle",parent:e}))}Ms.assign({createStringInterpolator:Uc,to:(e,t)=>new ku(e,t)});var Au=/^--/;function Eu(e,t){return null==t||"boolean"==typeof t||""===t?"":"number"!=typeof t||0===t||Au.test(e)||Pu.hasOwnProperty(e)&&Pu[e]?(""+t).trim():t+"px"}var Ou={};var Pu={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},Du=["Webkit","Ms","Moz","O"];Pu=Object.keys(Pu).reduce(((e,t)=>(Du.forEach((n=>e[((e,t)=>e+t.charAt(0).toUpperCase()+t.substring(1))(n,t)]=e[t])),e)),Pu);var ju=/^(matrix|translate|scale|rotate|skew)/,Nu=/^(translate)/,Lu=/^(rotate|skew)/,Fu=(e,t)=>Ts.num(e)&&0!==e?e+t:e,Bu=(e,t)=>Ts.arr(e)?e.every((e=>Bu(e,t))):Ts.num(e)?e===t:parseFloat(e)===t,Ru=class extends sl{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=>Fu(e,"px"))).join(",")})`,Bu(e,0)]))),Os(r,((e,t)=>{if("transform"===t)i.push([e||""]),o.push((e=>[e,""===e]));else if(ju.test(t)){if(delete r[t],Ts.und(e))return;const n=Nu.test(t)?"px":Lu.test(t)?"deg":"";i.push(Ps(e)),o.push("rotate3d"===t?([e,t,r,i])=>[`rotate3d(${e},${t},${r},${Fu(i,n)})`,Bu(i,0)]:e=>[`${t}(${e.map((e=>Fu(e,n))).join(",")})`,Bu(e,t.startsWith("scale")?1:0)])}})),i.length&&(r.transform=new $u(i,o)),super(r)}},$u=class extends Ac{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 Es(this.inputs,((n,r)=>{const i=Mc(n[0]),[o,a]=this.transforms[r](Ts.arr(i)?i:n.map(Mc));e+=" "+o,t=t&&a})),t?"none":e}observerAdded(e){1==e&&Es(this.inputs,(e=>Es(e,(e=>kc(e)&&Oc(e,this)))))}observerRemoved(e){0==e&&Es(this.inputs,(e=>Es(e,(e=>kc(e)&&Pc(e,this)))))}eventObserved(e){"change"==e.type&&(this._value=null),Tc(this,e)}};Ms.assign({batchedUpdates:A,createStringInterpolator:Uc,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 zu=((e,{applyAnimatedValues:t=()=>!1,createAnimatedStyle:n=e=>new sl(e),getComponentProps:r=e=>e}={})=>{const i={applyAnimatedValues:t,createAnimatedStyle:n,getComponentProps:r},o=e=>{const t=pl(e)||"Anonymous";return(e=Ts.str(e)?o[e]||(o[e]=fl(e,i)):e[hl]||(e[hl]=fl(e,i))).displayName=`Animated(${t})`,e};return Os(e,((t,n)=>{Ts.arr(e)&&(n=pl(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:c,...l}=t,u=Object.values(l),f=Object.keys(l).map((t=>n||e.hasAttribute(t)?t:Ou[t]||(Ou[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=Eu(t,i[t]);Au.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!==c&&e.setAttribute("viewBox",c)},createAnimatedStyle:e=>new Ru(e),getComponentProps:({scrollTop:e,scrollLeft:t,...n})=>n}),Iu=zu.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 Hu={pointerEvents:"none",position:"absolute",zIndex:10,top:0,left:0},Vu=function(e,t){return"translate("+e+"px, "+t+"px)"},Wu=x((function(e){var t,n=e.position,r=e.anchor,i=e.children,o=xT(),a=cT(),s=a.animate,c=a.config,l=bT(),u=l[0],f=l[1],d=b(!1),h=void 0,p=!1,g=f.width>0&&f.height>0,m=Math.round(n[0]),v=Math.round(n[1]);g&&("top"===r?(m-=f.width/2,v-=f.height+14):"right"===r?(m+=14,v-=f.height/2):"bottom"===r?(m-=f.width/2,v+=14):"left"===r?(m-=f.width+14,v-=f.height/2):"center"===r&&(m-=f.width/2,v-=f.height/2),h={transform:Vu(m,v)},d.current||(p=!0),d.current=[m,v]);var y=wu({to:h,config:c,immediate:!s||p}),_=Uu({},Hu,o.tooltip.wrapper,{transform:null!=(t=y.transform)?t:Vu(m,v),opacity:y.transform?1:0});return O(Iu.div,{ref:u,style:_,children:i})}));Wu.displayName="TooltipWrapper";var Yu=x((function(e){var t=e.size,n=void 0===t?12:t,r=e.color,i=e.style;return O("span",{style:Uu({display:"block",width:n,height:n,background:r},void 0===i?{}:i)})})),qu=x((function(e){var t,n=e.id,r=e.value,i=e.format,o=e.enableChip,a=void 0!==o&&o,s=e.color,c=e.renderContent,l=xT(),u=vT(i);if("function"==typeof c)t=c();else{var f=r;void 0!==u&&void 0!==f&&(f=u(f)),t=O("div",{style:l.tooltip.basic,children:[a&&O(Yu,{color:s,style:l.tooltip.chip}),void 0!==f?O("span",{children:[n,": ",O("strong",{children:""+f})]}):n]})}return O("div",{style:l.tooltip.container,children:t})})),Zu={width:"100%",borderCollapse:"collapse"},Gu=x((function(e){var t,n=e.title,r=e.rows,i=void 0===r?[]:r,o=e.renderContent,a=xT();return i.length?(t="function"==typeof o?o():O("div",{children:[n&&n,O("table",{style:Uu({},Zu,a.tooltip.table),children:O("tbody",{children:i.map((function(e,t){return O("tr",{children:e.map((function(e,t){return O("td",{style:a.tooltip.tableCell,children:e},t)}))},t)}))})})]}),O("div",{style:a.tooltip.container,children:t})):null}));Gu.displayName="TableTooltip";var Xu=x((function(e){var t=e.x0,n=e.x1,r=e.y0,i=e.y1,o=xT(),a=cT(),s=a.animate,c=a.config,l=w((function(){return Uu({},o.crosshair.line,{pointerEvents:"none"})}),[o.crosshair.line]),u=wu({x1:t,x2:n,y1:r,y2:i,config:c,immediate:!s});return O(Iu.line,Uu({},u,{fill:"none",style:l}))}));Xu.displayName="CrosshairLine";var Qu=x((function(e){var t,r,i=e.width,o=e.height,a=e.type,s=e.x,c=e.y;return"cross"===a?(t={x0:s,x1:s,y0:0,y1:o},r={x0:0,x1:i,y0:c,y1:c}):"top-left"===a?(t={x0:s,x1:s,y0:0,y1:c},r={x0:0,x1:s,y0:c,y1:c}):"top"===a?t={x0:s,x1:s,y0:0,y1:c}:"top-right"===a?(t={x0:s,x1:s,y0:0,y1:c},r={x0:s,x1:i,y0:c,y1:c}):"right"===a?r={x0:s,x1:i,y0:c,y1:c}:"bottom-right"===a?(t={x0:s,x1:s,y0:c,y1:o},r={x0:s,x1:i,y0:c,y1:c}):"bottom"===a?t={x0:s,x1:s,y0:c,y1:o}:"bottom-left"===a?(t={x0:s,x1:s,y0:c,y1:o},r={x0:0,x1:s,y0:c,y1:c}):"left"===a?r={x0:0,x1:s,y0:c,y1:c}:"x"===a?t={x0:s,x1:s,y0:0,y1:o}:"y"===a&&(r={x0:0,x1:i,y0:c,y1:c}),O(n,{children:[t&&O(Xu,{x0:t.x0,x1:t.x1,y0:t.y0,y1:t.y1}),r&&O(Xu,{x0:r.x0,x1:r.x1,y0:r.y0,y1:r.y1})]})}));Qu.displayName="Crosshair";var Ju,Ku,ef,tf,nf,rf,of,af,sf,cf,lf,uf,ff,df,hf,pf,gf,mf,bf,vf,yf,_f,wf,xf,Cf,kf,Mf,Sf,Tf,Af,Ef,Of,Pf,Df,jf,Nf,Lf,Ff,Bf,Rf,$f,zf,If,Uf,Hf,Vf,Wf,Yf,qf,Zf,Gf,Xf,Qf,Jf,Kf,ed,td,nd,rd,id,od,ad,sd,cd,ld,ud,fd,dd,hd,pd,gd,md,bd,vd,yd,_d,wd,xd,Cd,kd,Md,Sd,Td,Ad,Ed,Od,Pd,Dd,jd,Nd,Ld,Fd,Bd,Rd,$d,zd,Id,Ud,Hd=C({showTooltipAt:function(){},showTooltipFromEvent:function(){},hideTooltip:function(){}}),Vd={isVisible:!1,position:[null,null],content:null,anchor:null},Wd=C(Vd),Yd=function(){var e=_(Hd);if(void 0===e)throw new Error("useTooltip must be used within a TooltipProvider");return e},qd=function(){var e=function(){var e=_(Wd);if(void 0===e)throw new Error("useTooltipState must be used within a TooltipProvider");return e}();return function(e){return e.isVisible}(e)?O(Wu,{position:e.position,anchor:e.anchor,children:e.content}):null},Zd=function(e){var t=e.container,n=e.children,r=function(e){var t=m(Vd),n=t[0],r=t[1],i=y((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=y((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,c="touches"in n?n.touches[0]:n,l=c.clientX,u=c.clientY,f=(l-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=y((function(){r(Vd)}),[r]);return{actions:w((function(){return{showTooltipAt:i,showTooltipFromEvent:o,hideTooltip:a}}),[i,o,a]),state:n}}(t),i=r.actions,o=r.state;return O(Hd.Provider,{value:i,children:O(Wd.Provider,{value:o,children:n})})};function Gd(){if(tf)return ef;return tf=1,ef=function(e,t){return e===t||e!=e&&t!=t}}function Xd(){if(rf)return nf;rf=1;var e=Gd();return nf=function(t,n){for(var r=t.length;r--;)if(e(t[r][0],n))return r;return-1},nf}function Qd(){if(pf)return hf;pf=1;var e=Ku?Ju:(Ku=1,Ju=function(){this.__data__=[],this.size=0}),t=function(){if(af)return of;af=1;var e=Xd(),t=Array.prototype.splice;return of=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))},of}(),n=function(){if(cf)return sf;cf=1;var e=Xd();return sf=function(t){var n=this.__data__,r=e(n,t);return r<0?void 0:n[r][1]},sf}(),r=function(){if(uf)return lf;uf=1;var e=Xd();return lf=function(t){return e(this.__data__,t)>-1}}(),i=function(){if(df)return ff;df=1;var e=Xd();return ff=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},ff}();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,hf=o}function Jd(){if(kf)return Cf;kf=1;var e="object"==typeof Zr&&Zr&&Zr.Object===Object&&Zr;return Cf=e}function Kd(){if(Sf)return Mf;Sf=1;var e=Jd(),t="object"==typeof self&&self&&self.Object===Object&&self,n=e||t||Function("return this")();return Mf=n}function eh(){if(Af)return Tf;Af=1;var e=Kd().Symbol;return Tf=e}function th(){if(Nf)return jf;Nf=1;var e=eh(),t=function(){if(Of)return Ef;Of=1;var e=eh(),t=Object.prototype,n=t.hasOwnProperty,r=t.toString,i=e?e.toStringTag:void 0;return Ef=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(Df)return Pf;Df=1;var e=Object.prototype.toString;return Pf=function(t){return e.call(t)}}(),r=e?e.toStringTag:void 0;return jf=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":r&&r in Object(e)?t(e):n(e)}}function nh(){if(Ff)return Lf;return Ff=1,Lf=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}}function rh(){if(Rf)return Bf;Rf=1;var e=th(),t=nh();return Bf=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 ih(){if(Uf)return If;Uf=1;var e,t=function(){if(zf)return $f;zf=1;var e=Kd()["__core-js_shared__"];return $f=e}(),n=(e=/[^.]+$/.exec(t&&t.keys&&t.keys.IE_PROTO||""))?"Symbol(src)_1."+e:"";return If=function(e){return!!n&&n in e}}function oh(){if(Vf)return Hf;Vf=1;var e=Function.prototype.toString;return Hf=function(t){if(null!=t){try{return e.call(t)}catch(e){}try{return t+""}catch(e){}}return""}}function ah(){if(Xf)return Gf;Xf=1;var e=function(){if(Yf)return Wf;Yf=1;var e=rh(),t=ih(),n=nh(),r=oh(),i=/^\[object .+?Constructor\]$/,o=Function.prototype,a=Object.prototype,s=o.toString,c=a.hasOwnProperty,l=RegExp("^"+s.call(c).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");return Wf=function(o){return!(!n(o)||t(o))&&(e(o)?l:i).test(r(o))}}(),t=(Zf||(Zf=1,qf=function(e,t){return null==e?void 0:e[t]}),qf);return Gf=function(n,r){var i=t(n,r);return e(i)?i:void 0},Gf}function sh(){if(Jf)return Qf;Jf=1;var e=ah()(Kd(),"Map");return Qf=e}function ch(){if(ed)return Kf;ed=1;var e=ah()(Object,"create");return Kf=e}function lh(){if(dd)return fd;dd=1;var e=function(){if(nd)return td;nd=1;var e=ch();return td=function(){this.__data__=e?e(null):{},this.size=0}}(),t=id?rd:(id=1,rd=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}),n=function(){if(ad)return od;ad=1;var e=ch(),t=Object.prototype.hasOwnProperty;return od=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(cd)return sd;cd=1;var e=ch(),t=Object.prototype.hasOwnProperty;return sd=function(n){var r=this.__data__;return e?void 0!==r[n]:t.call(r,n)}}(),i=function(){if(ud)return ld;ud=1;var e=ch();return ld=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,fd=o}function uh(){if(vd)return bd;vd=1;var e=md?gd:(md=1,gd=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e});return bd=function(t,n){var r=t.__data__;return e(n)?r["string"==typeof n?"string":"hash"]:r.map},bd}function fh(){if(Ad)return Td;Ad=1;var e=function(){if(pd)return hd;pd=1;var e=lh(),t=Qd(),n=sh();return hd=function(){this.size=0,this.__data__={hash:new e,map:new(n||t),string:new e}}}(),t=function(){if(_d)return yd;_d=1;var e=uh();return yd=function(t){var n=e(this,t).delete(t);return this.size-=n?1:0,n}}(),n=function(){if(xd)return wd;xd=1;var e=uh();return wd=function(t){return e(this,t).get(t)}}(),r=function(){if(kd)return Cd;kd=1;var e=uh();return Cd=function(t){return e(this,t).has(t)}}(),i=function(){if(Sd)return Md;Sd=1;var e=uh();return Md=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,Td=o}function dh(){if(Dd)return Pd;Dd=1;var e=Qd(),t=function(){if(mf)return gf;mf=1;var e=Qd();return gf=function(){this.__data__=new e,this.size=0}}(),n=vf?bf:(vf=1,bf=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}),r=_f?yf:(_f=1,yf=function(e){return this.__data__.get(e)}),i=xf?wf:(xf=1,wf=function(e){return this.__data__.has(e)}),o=function(){if(Od)return Ed;Od=1;var e=Qd(),t=sh(),n=fh();return Ed=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,Pd=a}function hh(){if(Nd)return jd;Nd=1;var e=ah(),t=function(){try{var t=e(Object,"defineProperty");return t({},"",{}),t}catch(e){}}();return jd=t}function ph(){if(Fd)return Ld;Fd=1;var e=hh();return Ld=function(t,n,r){"__proto__"==n&&e?e(t,n,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[n]=r},Ld}function gh(){if(Rd)return Bd;Rd=1;var e=ph(),t=Gd();return Bd=function(n,r,i){(void 0!==i&&!t(n[r],i)||void 0===i&&!(r in n))&&e(n,r,i)},Bd}function mh(){if(Ud)return Id;Ud=1;var e=(zd||(zd=1,$d=function(e){return function(t,n,r){for(var i=-1,o=Object(t),a=r(t),s=a.length;s--;){var c=a[e?s:++i];if(!1===n(o[c],c,o))break}return t}}),$d),t=e();return Id=t}var bh,vh,yh,_h,wh,xh,Ch,kh,Mh,Sh,Th,Ah,Eh,Oh,Ph,Dh,jh,Nh,Lh,Fh,Bh,Rh,$h,zh,Ih,Uh,Hh,Vh,Wh,Yh,qh,Zh,Gh,Xh={exports:{}};function Qh(){if(yh)return vh;yh=1;var e=Kd().Uint8Array;return vh=e}function Jh(){if(Ch)return xh;Ch=1;var e=function(){if(wh)return _h;wh=1;var e=Qh();return _h=function(t){var n=new t.constructor(t.byteLength);return new e(n).set(new e(t)),n}}();return xh=function(t,n){var r=n?e(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.length)}}function Kh(){if(Eh)return Ah;return Eh=1,Ah=function(e,t){return function(n){return e(t(n))}}}function ep(){if(Ph)return Oh;Ph=1;var e=Kh()(Object.getPrototypeOf,Object);return Oh=e}function tp(){if(jh)return Dh;jh=1;var e=Object.prototype;return Dh=function(t){var n=t&&t.constructor;return t===("function"==typeof n&&n.prototype||e)}}function np(){if(Lh)return Nh;Lh=1;var e=function(){if(Th)return Sh;Th=1;var e=nh(),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 Sh=n}(),t=ep(),n=tp();return Nh=function(r){return"function"!=typeof r.constructor||n(r)?{}:e(t(r))},Nh}function rp(){if(Bh)return Fh;return Bh=1,Fh=function(e){return null!=e&&"object"==typeof e}}function ip(){if(Ih)return zh;Ih=1;var e=function(){if($h)return Rh;$h=1;var e=th(),t=rp();return Rh=function(n){return t(n)&&"[object Arguments]"==e(n)}}(),t=rp(),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 zh=o}function op(){if(Hh)return Uh;Hh=1;var e=Array.isArray;return Uh=e}function ap(){if(Wh)return Vh;Wh=1;return Vh=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}}function sp(){if(qh)return Yh;qh=1;var e=rh(),t=ap();return Yh=function(n){return null!=n&&t(n.length)&&!e(n)}}function cp(){if(Gh)return Zh;Gh=1;var e=sp(),t=rp();return Zh=function(n){return t(n)&&e(n)}}var lp,up,fp,dp,hp,pp,gp,mp,bp,vp={exports:{}};function yp(){return fp||(fp=1,function(e,t){var n=Kd(),r=up?lp:(up=1,lp=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}(vp,vp.exports)),vp.exports}function _p(){if(hp)return dp;hp=1;var e=th(),t=ep(),n=rp(),r=Function.prototype,i=Object.prototype,o=r.toString,a=i.hasOwnProperty,s=o.call(Object);return dp=function(r){if(!n(r)||"[object Object]"!=e(r))return!1;var i=t(r);if(null===i)return!0;var c=a.call(i,"constructor")&&i.constructor;return"function"==typeof c&&c instanceof c&&o.call(c)==s}}function wp(){if(bp)return mp;return bp=1,mp=function(e){return function(t){return e(t)}}}var xp,Cp,kp,Mp,Sp,Tp,Ap,Ep,Op,Pp,Dp,jp,Np,Lp,Fp,Bp,Rp,$p,zp,Ip,Up,Hp,Vp,Wp,Yp,qp,Zp,Gp,Xp,Qp,Jp,Kp,eg,tg,ng,rg,ig,og,ag,sg,cg,lg,ug,fg,dg,hg,pg,gg,mg,bg={exports:{}};function vg(){return xp||(xp=1,function(e,t){var n=Jd(),r=t&&!t.nodeType&&t,i=r&&e&&!e.nodeType&&e,o=i&&i.exports===r&&n.process,a=function(){try{var e=i&&i.require&&i.require("util").types;return e||o&&o.binding&&o.binding("util")}catch(e){}}();e.exports=a}(bg,bg.exports)),bg.exports}function yg(){if(kp)return Cp;kp=1;var e=function(){if(gp)return pp;gp=1;var e=th(),t=ap(),n=rp(),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,pp=function(i){return n(i)&&t(i.length)&&!!r[e(i)]}}(),t=wp(),n=vg(),r=n&&n.isTypedArray,i=r?t(r):e;return Cp=i}function _g(){if(Sp)return Mp;return Sp=1,Mp=function(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]},Mp}function wg(){if(Ap)return Tp;Ap=1;var e=ph(),t=Gd(),n=Object.prototype.hasOwnProperty;return Tp=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)},Tp}function xg(){if(Np)return jp;Np=1;var e=/^(?:0|[1-9]\d*)$/;return jp=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 Cg(){if(Fp)return Lp;Fp=1;var e=(Dp||(Dp=1,Pp=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}),Pp),t=ip(),n=op(),r=yp(),i=xg(),o=yg(),a=Object.prototype.hasOwnProperty;return Lp=function(s,c){var l=n(s),u=!l&&t(s),f=!l&&!u&&r(s),d=!l&&!u&&!f&&o(s),h=l||u||f||d,p=h?e(s.length,String):[],g=p.length;for(var m in s)!c&&!a.call(s,m)||h&&("length"==m||f&&("offset"==m||"parent"==m)||d&&("buffer"==m||"byteLength"==m||"byteOffset"==m)||i(m,g))||p.push(m);return p}}function kg(){if(zp)return $p;zp=1;var e=nh(),t=tp(),n=(Rp||(Rp=1,Bp=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}),Bp),r=Object.prototype.hasOwnProperty;return $p=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},$p}function Mg(){if(Up)return Ip;Up=1;var e=Cg(),t=kg(),n=sp();return Ip=function(r){return n(r)?e(r,!0):t(r)},Ip}function Sg(){if(Vp)return Hp;Vp=1;var e=function(){if(Op)return Ep;Op=1;var e=wg(),t=ph();return Ep=function(n,r,i,o){var a=!i;i||(i={});for(var s=-1,c=r.length;++s<c;){var l=r[s],u=o?o(i[l],n[l],l,i,n):void 0;void 0===u&&(u=n[l]),a?t(i,l,u):e(i,l,u)}return i},Ep}(),t=Mg();return Hp=function(n){return e(n,t(n))}}function Tg(){if(Yp)return Wp;Yp=1;var e=gh(),t=(bh||(bh=1,function(e,t){var n=Kd(),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}}(Xh,Xh.exports)),Xh.exports),n=Jh(),r=(Mh||(Mh=1,kh=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}),kh),i=np(),o=ip(),a=op(),s=cp(),c=yp(),l=rh(),u=nh(),f=_p(),d=yg(),h=_g(),p=Sg();return Wp=function(g,m,b,v,y,_,w){var x=h(g,b),C=h(m,b),k=w.get(C);if(k)e(g,b,k);else{var M=_?_(x,C,b+"",g,m,w):void 0,S=void 0===M;if(S){var T=a(C),A=!T&&c(C),E=!T&&!A&&d(C);M=C,T||A||E?a(x)?M=x:s(x)?M=r(x):A?(S=!1,M=t(C,!0)):E?(S=!1,M=n(C,!0)):M=[]:f(C)||o(C)?(M=x,o(x)?M=p(x):u(x)&&!l(x)||(M=i(C))):S=!1}S&&(w.set(C,M),y(M,C,v,_,w),w.delete(C)),e(g,b,M)}},Wp}function Ag(){if(Xp)return Gp;return Xp=1,Gp=function(e){return e}}function Eg(){if(eg)return Kp;eg=1;var e=Jp?Qp:(Jp=1,Qp=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 Kp=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),c=Array(s);++a<s;)c[a]=o[r+a];a=-1;for(var l=Array(r+1);++a<r;)l[a]=o[a];return l[r]=i(c),e(n,this,l)}},Kp}function Og(){if(ig)return rg;ig=1;var e=ng?tg:(ng=1,tg=function(e){return function(){return e}}),t=hh(),n=Ag();return rg=t?function(n,r){return t(n,"toString",{configurable:!0,enumerable:!1,value:e(r),writable:!0})}:n}function Pg(){if(cg)return sg;cg=1;var e=Og(),t=function(){if(ag)return og;ag=1;var e=Date.now;return og=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)}},og}(),n=t(e);return sg=n}function Dg(){if(ug)return lg;ug=1;var e=Ag(),t=Eg(),n=Pg();return lg=function(r,i){return n(t(r,i,e),r+"")},lg}function jg(){if(dg)return fg;dg=1;var e=Gd(),t=sp(),n=xg(),r=nh();return fg=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)},fg}var Ng,Lg,Fg,Bg,Rg,$g,zg,Ig,Ug,Hg,Vg,Wg,Yg,qg,Zg,Gg,Xg,Qg,Jg,Kg,em,tm,nm,rm,im=function(){if(mg)return gg;mg=1;var e=function(){if(Zp)return qp;Zp=1;var e=dh(),t=gh(),n=mh(),r=Tg(),i=nh(),o=Mg(),a=_g();return qp=function s(c,l,u,f,d){c!==l&&n(l,(function(n,o){if(d||(d=new e),i(n))r(c,l,o,u,s,f,d);else{var h=f?f(a(c,o),n,o+"",c,l,d):void 0;void 0===h&&(h=n),t(c,o,h)}}),o)},qp}(),t=function(){if(pg)return hg;pg=1;var e=Dg(),t=jg();return hg=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 c=r[i];c&&n(e,c,i,a)}return e}))},hg}(),n=t((function(t,n,r){e(t,n,r)}));return gg=n}(),om=Gr(im);function am(){if(Lg)return Ng;Lg=1;var e=th(),t=rp();return Ng=function(n){return"symbol"==typeof n||t(n)&&"[object Symbol]"==e(n)}}function sm(){if(Bg)return Fg;Bg=1;var e=op(),t=am(),n=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,r=/^\w*$/;return Fg=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))},Fg}function cm(){if(Ig)return zg;Ig=1;var e=function(){if($g)return Rg;$g=1;var e=fh();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,Rg=t}();return zg=function(t){var n=e(t,(function(e){return 500===r.size&&r.clear(),e})),r=n.cache;return n}}function lm(){if(Wg)return Vg;return Wg=1,Vg=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},Vg}function um(){if(Gg)return Zg;Gg=1;var e=function(){if(qg)return Yg;qg=1;var e=eh(),t=lm(),n=op(),r=am(),i=e?e.prototype:void 0,o=i?i.toString:void 0;return Yg=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},Yg}();return Zg=function(t){return null==t?"":e(t)}}function fm(){if(Qg)return Xg;Qg=1;var e=op(),t=sm(),n=function(){if(Hg)return Ug;Hg=1;var e=cm(),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 Ug=r}(),r=um();return Xg=function(i,o){return e(i)?i:t(i,o)?[i]:n(r(i))},Xg}function dm(){if(Kg)return Jg;Kg=1;var e=am();return Jg=function(t){if("string"==typeof t||e(t))return t;var n=t+"";return"0"==n&&1/t==-1/0?"-0":n}}function hm(){if(tm)return em;tm=1;var e=fm(),t=dm();return em=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},em}function pm(){if(rm)return nm;rm=1;var e=hm();return nm=function(t,n,r){var i=null==t?void 0:e(t,n);return void 0===i?r:i},nm}var gm,mm,bm,vm,ym=Gr(pm());function _m(){if(mm)return gm;mm=1;var e=wg(),t=fm(),n=xg(),r=nh(),i=dm();return gm=function(o,a,s,c){if(!r(o))return o;for(var l=-1,u=(a=t(a,o)).length,f=u-1,d=o;null!=d&&++l<u;){var h=i(a[l]),p=s;if("__proto__"===h||"constructor"===h||"prototype"===h)return o;if(l!=f){var g=d[h];void 0===(p=c?c(g,h,d):void 0)&&(p=r(g)?g:n(a[l+1])?[]:{})}e(d,h,p),d=d[h]}return o},gm}var wm=function(){if(vm)return bm;vm=1;var e=_m();return bm=function(t,n,r){return null==t?t:e(t,n,r)},bm}(),xm=Gr(wm);function Cm(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function km(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function Mm(){}var Sm=.7,Tm=1/Sm,Am="\\s*([+-]?\\d+)\\s*",Em="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",Om="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",Pm=/^#([0-9a-f]{3,8})$/,Dm=new RegExp(`^rgb\\(${Am},${Am},${Am}\\)$`),jm=new RegExp(`^rgb\\(${Om},${Om},${Om}\\)$`),Nm=new RegExp(`^rgba\\(${Am},${Am},${Am},${Em}\\)$`),Lm=new RegExp(`^rgba\\(${Om},${Om},${Om},${Em}\\)$`),Fm=new RegExp(`^hsl\\(${Em},${Om},${Om}\\)$`),Bm=new RegExp(`^hsla\\(${Em},${Om},${Om},${Em}\\)$`),Rm={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 $m(){return this.rgb().formatHex()}function zm(){return this.rgb().formatRgb()}function Im(e){var t,n;return e=(e+"").trim().toLowerCase(),(t=Pm.exec(e))?(n=t[1].length,t=parseInt(t[1],16),6===n?Um(t):3===n?new Ym(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===n?Hm(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===n?Hm(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=Dm.exec(e))?new Ym(t[1],t[2],t[3],1):(t=jm.exec(e))?new Ym(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=Nm.exec(e))?Hm(t[1],t[2],t[3],t[4]):(t=Lm.exec(e))?Hm(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=Fm.exec(e))?Jm(t[1],t[2]/100,t[3]/100,1):(t=Bm.exec(e))?Jm(t[1],t[2]/100,t[3]/100,t[4]):Rm.hasOwnProperty(e)?Um(Rm[e]):"transparent"===e?new Ym(NaN,NaN,NaN,0):null}function Um(e){return new Ym(e>>16&255,e>>8&255,255&e,1)}function Hm(e,t,n,r){return r<=0&&(e=t=n=NaN),new Ym(e,t,n,r)}function Vm(e){return e instanceof Mm||(e=Im(e)),e?new Ym((e=e.rgb()).r,e.g,e.b,e.opacity):new Ym}function Wm(e,t,n,r){return 1===arguments.length?Vm(e):new Ym(e,t,n,null==r?1:r)}function Ym(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function qm(){return`#${Qm(this.r)}${Qm(this.g)}${Qm(this.b)}`}function Zm(){const e=Gm(this.opacity);return`${1===e?"rgb(":"rgba("}${Xm(this.r)}, ${Xm(this.g)}, ${Xm(this.b)}${1===e?")":`, ${e})`}`}function Gm(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function Xm(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function Qm(e){return((e=Xm(e))<16?"0":"")+e.toString(16)}function Jm(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new eb(e,t,n,r)}function Km(e){if(e instanceof eb)return new eb(e.h,e.s,e.l,e.opacity);if(e instanceof Mm||(e=Im(e)),!e)return new eb;if(e instanceof eb)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,c=(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/=c<.5?o+i:2-o-i,a*=60):s=c>0&&c<1?0:a,new eb(a,s,c,e.opacity)}function eb(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function tb(e){return(e=(e||0)%360)<0?e+360:e}function nb(e){return Math.max(0,Math.min(1,e||0))}function rb(e,t,n){return 255*(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)}Cm(Mm,Im,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:$m,formatHex:$m,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return Km(this).formatHsl()},formatRgb:zm,toString:zm}),Cm(Ym,Wm,km(Mm,{brighter(e){return e=null==e?Tm:Math.pow(Tm,e),new Ym(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=null==e?Sm:Math.pow(Sm,e),new Ym(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new Ym(Xm(this.r),Xm(this.g),Xm(this.b),Gm(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:qm,formatHex:qm,formatHex8:function(){return`#${Qm(this.r)}${Qm(this.g)}${Qm(this.b)}${Qm(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:Zm,toString:Zm})),Cm(eb,(function(e,t,n,r){return 1===arguments.length?Km(e):new eb(e,t,n,null==r?1:r)}),km(Mm,{brighter(e){return e=null==e?Tm:Math.pow(Tm,e),new eb(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=null==e?Sm:Math.pow(Sm,e),new eb(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 Ym(rb(e>=240?e-240:e+120,i,r),rb(e,i,r),rb(e<120?e+240:e-120,i,r),this.opacity)},clamp(){return new eb(tb(this.h),nb(this.s),nb(this.l),Gm(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=Gm(this.opacity);return`${1===e?"hsl(":"hsla("}${tb(this.h)}, ${100*nb(this.s)}%, ${100*nb(this.l)}%${1===e?")":`, ${e})`}`}}));const ib=Math.PI/180,ob=180/Math.PI;var ab=-.14861,sb=1.78277,cb=-.29227,lb=-.90649,ub=1.97294,fb=ub*lb,db=ub*sb,hb=sb*cb-lb*ab;function pb(e,t,n,r){return 1===arguments.length?function(e){if(e instanceof gb)return new gb(e.h,e.s,e.l,e.opacity);e instanceof Ym||(e=Vm(e));var t=e.r/255,n=e.g/255,r=e.b/255,i=(hb*r+fb*t-db*n)/(hb+fb-db),o=r-i,a=(ub*(n-i)-cb*o)/lb,s=Math.sqrt(a*a+o*o)/(ub*i*(1-i)),c=s?Math.atan2(a,o)*ob-120:NaN;return new gb(c<0?c+360:c,s,i,e.opacity)}(e):new gb(e,t,n,null==r?1:r)}function gb(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}Cm(gb,pb,km(Mm,{brighter(e){return e=null==e?Tm:Math.pow(Tm,e),new gb(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=null==e?Sm:Math.pow(Sm,e),new gb(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=isNaN(this.h)?0:(this.h+120)*ib,t=+this.l,n=isNaN(this.s)?0:this.s*t*(1-t),r=Math.cos(e),i=Math.sin(e);return new Ym(255*(t+n*(ab*r+sb*i)),255*(t+n*(cb*r+lb*i)),255*(t+n*(ub*r)),this.opacity)}}));var mb=e=>()=>e;function bb(e,t){return function(n){return e+n*t}}function vb(e){return 1==(e=+e)?yb: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):mb(isNaN(t)?n:t)}}function yb(e,t){var n=t-e;return n?bb(e,n):mb(isNaN(e)?t:e)}var _b=function e(t){var n=vb(t);function r(e,t){var r=n((e=Wm(e)).r,(t=Wm(t)).r),i=n(e.g,t.g),o=n(e.b,t.b),a=yb(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);var wb,xb=(wb=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=Wm(e[t]),i[t]=n.r||0,o[t]=n.g||0,a[t]=n.b||0;return i=wb(i),o=wb(o),a=wb(a),n.opacity=1,function(e){return n.r=i(e),n.g=o(e),n.b=a(e),n+""}});function Cb(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 kb(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]=Pb(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 Mb(e,t){var n=new Date;return e=+e,t=+t,function(r){return n.setTime(e*(1-r)+t*r),n}}function Sb(e,t){return e=+e,t=+t,function(n){return e*(1-n)+t*n}}function Tb(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]=Pb(e[n],t[n]):i[n]=t[n];return function(e){for(n in r)i[n]=r[n](e);return i}}var Ab=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,Eb=new RegExp(Ab.source,"g");function Ob(e,t){var n,r,i,o=Ab.lastIndex=Eb.lastIndex=0,a=-1,s=[],c=[];for(e+="",t+="";(n=Ab.exec(e))&&(r=Eb.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,c.push({i:a,x:Sb(n,r)})),o=Eb.lastIndex;return o<t.length&&(i=t.slice(o),s[a]?s[a]+=i:s[++a]=i),s.length<2?c[0]?function(e){return function(t){return e(t)+""}}(c[0].x):function(e){return function(){return e}}(t):(t=c.length,function(e){for(var n,r=0;r<t;++r)s[(n=c[r]).i]=n.x(e);return s.join("")})}function Pb(e,t){var n,r=typeof t;return null==t||"boolean"===r?mb(t):("number"===r?Sb:"string"===r?(n=Im(t))?(t=n,_b):Ob:t instanceof Im?_b:t instanceof Date?Mb:function(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}(t)?Cb:Array.isArray(t)?kb:"function"!=typeof t.valueOf&&"function"!=typeof t.toString||isNaN(t)?Tb:Sb)(e,t)}function Db(e,t){return e=+e,t=+t,function(n){return Math.round(e*(1-n)+t*n)}}function jb(e){return function t(n){function r(t,r){var i=e((t=pb(t)).h,(r=pb(r)).h),o=yb(t.s,r.s),a=yb(t.l,r.l),s=yb(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)}jb((function(e,t){var n=t-e;return n?bb(e,n>180||n<-180?n-360*Math.round(n/360):n):mb(isNaN(e)?t:e)}));var Nb,Lb,Fb=jb(yb);var Bb,Rb,$b=Gr(function(){if(Lb)return Nb;Lb=1;var e=th(),t=op(),n=rp();return Nb=function(r){return"string"==typeof r||!t(r)&&n(r)&&"[object String]"==e(r)}}());var zb=(Rb||(Rb=1,Bb=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}),Bb),Ib=Gr(zb);function Ub(e,t){return null==e||null==t?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function Hb(e,t){return null==e||null==t?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function Vb(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=Ub,n=(t,n)=>Ub(e(t),n),r=(t,n)=>e(t)-n):(t=e===Ub||e===Hb?e:Wb,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 Wb(){return 0}op();const Yb=Vb(Ub).right;Vb((function(e){return null===e?NaN:+e})).center;class qb extends Map{constructor(e,t=Gb){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(Zb(this,e))}has(e){return super.has(Zb(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);e.has(r)&&(n=e.get(r),e.delete(r));return n}(this,e))}}function Zb({_intern:e,_key:t},n){const r=t(n);return e.has(r)?e.get(r):n}function Gb(e){return null!==e&&"object"==typeof e?e.valueOf():e}const Xb=Math.sqrt(50),Qb=Math.sqrt(10),Jb=Math.sqrt(2);function Kb(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>=Xb?10:o>=Qb?5:o>=Jb?2:1;let s,c,l;return i<0?(l=Math.pow(10,-i)/a,s=Math.round(e*l),c=Math.round(t*l),s/l<e&&++s,c/l>t&&--c,l=-l):(l=Math.pow(10,i)*a,s=Math.round(e/l),c=Math.round(t/l),s*l<e&&++s,c*l>t&&--c),c<s&&.5<=n&&n<2?Kb(e,t,2*n):[s,c,l]}function ev(e,t,n){if(!((n=+n)>0))return[];if((e=+e)===(t=+t))return[e];const r=t<e,[i,o,a]=r?Kb(t,e,n):Kb(e,t,n);if(!(o>=i))return[];const s=o-i+1,c=new Array(s);if(r)if(a<0)for(let e=0;e<s;++e)c[e]=(o-e)/-a;else for(let e=0;e<s;++e)c[e]=(o-e)*a;else if(a<0)for(let e=0;e<s;++e)c[e]=(i+e)/-a;else for(let e=0;e<s;++e)c[e]=(i+e)*a;return c}function tv(e,t,n){return Kb(e=+e,t=+t,n=+n)[2]}function nv(e,t,n){n=+n;const r=(t=+t)<(e=+e),i=r?tv(t,e,n):tv(e,t,n);return(r?-1:1)*(i<0?1/-i:i)}function rv(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e)}return this}const iv=Symbol("implicit");function ov(){var e=new qb,t=[],n=[],r=iv;function i(i){let o=e.get(i);if(void 0===o){if(r!==iv)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 qb;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 ov(t,n).unknown(r)},rv.apply(i,arguments),i}function av(){var e,t,n=ov().unknown(void 0),r=n.domain,i=n.range,o=0,a=1,s=!1,c=0,l=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-c+2*l),s&&(e=Math.floor(e)),d+=(h-d-e*(n-c))*u,t=e*(1-c),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?(c=Math.min(1,l=+e),f()):c},n.paddingInner=function(e){return arguments.length?(c=Math.min(1,e),f()):c},n.paddingOuter=function(e){return arguments.length?(l=+e,f()):l},n.align=function(e){return arguments.length?(u=Math.max(0,Math.min(1,e)),f()):u},n.copy=function(){return av(r(),[o,a]).round(s).paddingInner(c).paddingOuter(l).align(u)},rv.apply(f(),arguments)}function sv(e){var t=e.copy;return e.padding=e.paddingOuter,delete e.paddingInner,delete e.paddingOuter,e.copy=function(){return sv(t())},e}function cv(){return sv(av.apply(null,arguments).paddingInner(1))}function lv(e){return+e}var uv=[0,1];function fv(e){return e}function dv(e,t){return(t-=e=+e)?function(n){return(n-e)/t}:function(e){return function(){return e}}(isNaN(t)?NaN:.5)}function hv(e,t,n){var r=e[0],i=e[1],o=t[0],a=t[1];return i<r?(r=dv(i,r),o=n(a,o)):(r=dv(r,i),o=n(o,a)),function(e){return o(r(e))}}function pv(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]=dv(e[a],e[a+1]),o[a]=n(t[a],t[a+1]);return function(t){var n=Yb(e,t,1,r)-1;return o[n](i[n](t))}}function gv(e,t){return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown())}function mv(){var e,t,n,r,i,o,a=uv,s=uv,c=Pb,l=fv;function u(){var e=Math.min(a.length,s.length);return l!==fv&&(l=function(e,t){var n;return e>t&&(n=e,e=t,t=n),function(n){return Math.max(e,Math.min(t,n))}}(a[0],a[e-1])),r=e>2?pv:hv,i=o=null,f}function f(t){return null==t||isNaN(t=+t)?n:(i||(i=r(a.map(e),s,c)))(e(l(t)))}return f.invert=function(n){return l(t((o||(o=r(s,a.map(e),Sb)))(n)))},f.domain=function(e){return arguments.length?(a=Array.from(e,lv),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),c=Db,u()},f.clamp=function(e){return arguments.length?(l=!!e||fv,u()):l!==fv},f.interpolate=function(e){return arguments.length?(c=e,u()):c},f.unknown=function(e){return arguments.length?(n=e,f):n},function(n,r){return e=n,t=r,u()}}function bv(){return mv()(fv,fv)}function vv(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 yv(e){return(e=vv(Math.abs(e)))?e[1]:NaN}var _v,wv=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function xv(e){if(!(t=wv.exec(e)))throw new Error("invalid format: "+e);var t;return new Cv({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 Cv(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 kv(e,t){var n=vv(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")}xv.prototype=Cv.prototype,Cv.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 Mv={"%":(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)=>kv(100*e,t),r:kv,s:function(e,t){var n=vv(e,t);if(!n)return e+"";var r=n[0],i=n[1],o=i-(_v=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")+vv(e,Math.max(0,t+o-1))[0]},X:e=>Math.round(e).toString(16).toUpperCase(),x:e=>Math.round(e).toString(16)};function Sv(e){return e}var Tv,Av,Ev,Ov=Array.prototype.map,Pv=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function Dv(e){var t,n,r=void 0===e.grouping||void 0===e.thousands?Sv:(t=Ov.call(e.grouping,Number),n=e.thousands+"",function(e,r){for(var i=e.length,o=[],a=0,s=t[0],c=0;i>0&&s>0&&(c+s+1>r&&(s=Math.max(1,r-c)),o.push(e.substring(i-=s,i+s)),!((c+=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?Sv:function(e){return function(t){return t.replace(/[0-9]/g,(function(t){return e[+t]}))}}(Ov.call(e.numerals,String)),c=void 0===e.percent?"%":e.percent+"",l=void 0===e.minus?"−":e.minus+"",u=void 0===e.nan?"NaN":e.nan+"";function f(e){var t=(e=xv(e)).fill,n=e.align,f=e.sign,d=e.symbol,h=e.zero,p=e.width,g=e.comma,m=e.precision,b=e.trim,v=e.type;"n"===v?(g=!0,v="g"):Mv[v]||(void 0===m&&(m=12),b=!0,v="g"),(h||"0"===t&&"="===n)&&(h=!0,t="0",n="=");var y="$"===d?i:"#"===d&&/[boxX]/.test(v)?"0"+v.toLowerCase():"",_="$"===d?o:/[%p]/.test(v)?c:"",w=Mv[v],x=/[defgprs%]/.test(v);function C(e){var i,o,c,d=y,C=_;if("c"===v)C=w(e)+C,e="";else{var k=(e=+e)<0||1/e<0;if(e=isNaN(e)?u:w(Math.abs(e),m),b&&(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)),k&&0==+e&&"+"!==f&&(k=!1),d=(k?"("===f?f:l:"-"===f||"("===f?"":f)+d,C=("s"===v?Pv[8+_v/3]:"")+C+(k&&"("===f?")":""),x)for(i=-1,o=e.length;++i<o;)if(48>(c=e.charCodeAt(i))||c>57){C=(46===c?a+e.slice(i+1):e.slice(i))+C,e=e.slice(0,i);break}}g&&!h&&(e=r(e,1/0));var M=d.length+e.length+C.length,S=M<p?new Array(p-M+1).join(t):"";switch(g&&h&&(e=r(S+e,S.length?p-C.length:1/0),S=""),n){case"<":e=d+e+C+S;break;case"=":e=d+S+e+C;break;case"^":e=S.slice(0,M=S.length>>1)+d+e+C+S.slice(M);break;default:e=S+d+e+C}return s(e)}return m=void 0===m?6:/[gprs]/.test(v)?Math.max(1,Math.min(21,m)):Math.max(0,Math.min(20,m)),C.toString=function(){return e+""},C}return{format:f,formatPrefix:function(e,t){var n=f(((e=xv(e)).type="f",e)),r=3*Math.max(-8,Math.min(8,Math.floor(yv(t)/3))),i=Math.pow(10,-r),o=Pv[8+r/3];return function(e){return n(i*e)+o}}}}function jv(e,t,n,r){var i,o=nv(e,t,n);switch((r=xv(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(yv(t)/3)))-yv(Math.abs(e)))}(o,a))||(r.precision=i),Ev(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,yv(t)-yv(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,-yv(Math.abs(e)))}(o))||(r.precision=i-2*("%"===r.type))}return Av(r)}function Nv(e){var t=e.domain;return e.ticks=function(e){var n=t();return ev(n[0],n[n.length-1],null==e?10:e)},e.tickFormat=function(e,n){var r=t();return jv(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,c=o[a],l=o[s],u=10;for(l<c&&(i=c,c=l,l=i,i=a,a=s,s=i);u-- >0;){if((i=tv(c,l,n))===r)return o[a]=c,o[s]=l,t(o);if(i>0)c=Math.floor(c/i)*i,l=Math.ceil(l/i)*i;else{if(!(i<0))break;c=Math.ceil(c*i)/i,l=Math.floor(l*i)/i}r=i}return e},e}function Lv(){var e=bv();return e.copy=function(){return gv(e,Lv())},rv.apply(e,arguments),Nv(e)}function Fv(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 Bv(e){return Math.log(e)}function Rv(e){return Math.exp(e)}function $v(e){return-Math.log(-e)}function zv(e){return-Math.exp(-e)}function Iv(e){return isFinite(e)?+("1e"+e):e<0?0:e}function Uv(e){return(t,n)=>-e(-t,n)}function Hv(e){const t=e(Bv,Rv),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?Iv:e===Math.E?Math.exp:t=>Math.pow(e,t)}(o),n()[0]<0?(r=Uv(r),i=Uv(i),e($v,zv)):e(Bv,Rv),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 c=s<a;c&&([a,s]=[s,a]);let l,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(l=1;l<o;++l)if(u=f<0?l/i(-f):l*i(f),!(u<a)){if(u>s)break;p.push(u)}}else for(;f<=d;++f)for(l=o-1;l>=1;--l)if(u=f>0?l/i(-f):l*i(f),!(u<a)){if(u>s)break;p.push(u)}2*p.length<h&&(p=ev(a,s,h))}else p=ev(f,d,Math.min(d-f,h)).map(i);return c?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=xv(n)).precision||(n.trim=!0),n=Av(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(Fv(n(),{floor:e=>i(Math.floor(r(e))),ceil:e=>i(Math.ceil(r(e)))})),t}function Vv(){const e=Hv(mv()).domain([1,10]);return e.copy=()=>gv(e,Vv()).base(e.base()),rv.apply(e,arguments),e}function Wv(e){return function(t){return Math.sign(t)*Math.log1p(Math.abs(t/e))}}function Yv(e){return function(t){return Math.sign(t)*Math.expm1(Math.abs(t))*e}}function qv(){var e=function(e){var t=1,n=e(Wv(t),Yv(t));return n.constant=function(n){return arguments.length?e(Wv(t=+n),Yv(t)):t},Nv(n)}(mv());return e.copy=function(){return gv(e,qv()).constant(e.constant())},rv.apply(e,arguments)}Tv=Dv({thousands:",",grouping:[3],currency:["$",""]}),Av=Tv.format,Ev=Tv.formatPrefix;const Zv=new Date,Gv=new Date;function Xv(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=>Xv((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)=>(Zv.setTime(+t),Gv.setTime(+r),e(Zv),e(Gv),Math.floor(n(Zv,Gv))),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 Qv=Xv((()=>{}),((e,t)=>{e.setTime(+e+t)}),((e,t)=>t-e));Qv.every=e=>(e=Math.floor(e),isFinite(e)&&e>0?e>1?Xv((t=>{t.setTime(Math.floor(t/e)*e)}),((t,n)=>{t.setTime(+t+n*e)}),((t,n)=>(n-t)/e)):Qv:null),Qv.range;const Jv=1e3,Kv=6e4,ey=36e5,ty=864e5,ny=6048e5,ry=2592e6,iy=31536e6,oy=Xv((e=>{e.setTime(e-e.getMilliseconds())}),((e,t)=>{e.setTime(+e+t*Jv)}),((e,t)=>(t-e)/Jv),(e=>e.getUTCSeconds()));oy.range;const ay=Xv((e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*Jv)}),((e,t)=>{e.setTime(+e+t*Kv)}),((e,t)=>(t-e)/Kv),(e=>e.getMinutes()));ay.range;const sy=Xv((e=>{e.setUTCSeconds(0,0)}),((e,t)=>{e.setTime(+e+t*Kv)}),((e,t)=>(t-e)/Kv),(e=>e.getUTCMinutes()));sy.range;const cy=Xv((e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*Jv-e.getMinutes()*Kv)}),((e,t)=>{e.setTime(+e+t*ey)}),((e,t)=>(t-e)/ey),(e=>e.getHours()));cy.range;const ly=Xv((e=>{e.setUTCMinutes(0,0,0)}),((e,t)=>{e.setTime(+e+t*ey)}),((e,t)=>(t-e)/ey),(e=>e.getUTCHours()));ly.range;const uy=Xv((e=>e.setHours(0,0,0,0)),((e,t)=>e.setDate(e.getDate()+t)),((e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*Kv)/ty),(e=>e.getDate()-1));uy.range;const fy=Xv((e=>{e.setUTCHours(0,0,0,0)}),((e,t)=>{e.setUTCDate(e.getUTCDate()+t)}),((e,t)=>(t-e)/ty),(e=>e.getUTCDate()-1));fy.range;const dy=Xv((e=>{e.setUTCHours(0,0,0,0)}),((e,t)=>{e.setUTCDate(e.getUTCDate()+t)}),((e,t)=>(t-e)/ty),(e=>Math.floor(e/ty)));function hy(e){return Xv((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())*Kv)/ny))}dy.range;const py=hy(0),gy=hy(1),my=hy(2),by=hy(3),vy=hy(4),yy=hy(5),_y=hy(6);function wy(e){return Xv((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)/ny))}py.range,gy.range,my.range,by.range,vy.range,yy.range,_y.range;const xy=wy(0),Cy=wy(1),ky=wy(2),My=wy(3),Sy=wy(4),Ty=wy(5),Ay=wy(6);xy.range,Cy.range,ky.range,My.range,Sy.range,Ty.range,Ay.range;const Ey=Xv((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()));Ey.range;const Oy=Xv((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()));Oy.range;const Py=Xv((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()));Py.every=e=>isFinite(e=Math.floor(e))&&e>0?Xv((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,Py.range;const Dy=Xv((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 jy(e,t,n,r,i,o){const a=[[oy,1,Jv],[oy,5,5e3],[oy,15,15e3],[oy,30,3e4],[o,1,Kv],[o,5,3e5],[o,15,9e5],[o,30,18e5],[i,1,ey],[i,3,108e5],[i,6,216e5],[i,12,432e5],[r,1,ty],[r,2,1728e5],[n,1,ny],[t,1,ry],[t,3,7776e6],[e,1,iy]];function s(t,n,r){const i=Math.abs(n-t)/r,o=Vb((([,,e])=>e)).right(a,i);if(o===a.length)return e.every(nv(t/iy,n/iy,r));if(0===o)return Qv.every(Math.max(nv(t,n,r),1));const[s,c]=a[i/a[o-1][2]<a[o][2]/i?o-1:o];return s.every(c)}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]}Dy.every=e=>isFinite(e=Math.floor(e))&&e>0?Xv((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,Dy.range;const[Ny,Ly]=jy(Dy,Oy,xy,dy,ly,sy),[Fy,By]=jy(Py,Ey,py,uy,cy,ay);function Ry(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 $y(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 zy(e,t,n){return{y:e,m:t,d:n,H:0,M:0,S:0,L:0}}var Iy,Uy,Hy,Vy={"-":"",_:" ",0:"0"},Wy=/^\s*\d+/,Yy=/^%/,qy=/[\\^$*+?|[\]().{}]/g;function Zy(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 Gy(e){return e.replace(qy,"\\$&")}function Xy(e){return new RegExp("^(?:"+e.map(Gy).join("|")+")","i")}function Qy(e){return new Map(e.map(((e,t)=>[e.toLowerCase(),t])))}function Jy(e,t,n){var r=Wy.exec(t.slice(n,n+1));return r?(e.w=+r[0],n+r[0].length):-1}function Ky(e,t,n){var r=Wy.exec(t.slice(n,n+1));return r?(e.u=+r[0],n+r[0].length):-1}function e_(e,t,n){var r=Wy.exec(t.slice(n,n+2));return r?(e.U=+r[0],n+r[0].length):-1}function t_(e,t,n){var r=Wy.exec(t.slice(n,n+2));return r?(e.V=+r[0],n+r[0].length):-1}function n_(e,t,n){var r=Wy.exec(t.slice(n,n+2));return r?(e.W=+r[0],n+r[0].length):-1}function r_(e,t,n){var r=Wy.exec(t.slice(n,n+4));return r?(e.y=+r[0],n+r[0].length):-1}function i_(e,t,n){var r=Wy.exec(t.slice(n,n+2));return r?(e.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function o_(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 a_(e,t,n){var r=Wy.exec(t.slice(n,n+1));return r?(e.q=3*r[0]-3,n+r[0].length):-1}function s_(e,t,n){var r=Wy.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function c_(e,t,n){var r=Wy.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function l_(e,t,n){var r=Wy.exec(t.slice(n,n+3));return r?(e.m=0,e.d=+r[0],n+r[0].length):-1}function u_(e,t,n){var r=Wy.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function f_(e,t,n){var r=Wy.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function d_(e,t,n){var r=Wy.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function h_(e,t,n){var r=Wy.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function p_(e,t,n){var r=Wy.exec(t.slice(n,n+6));return r?(e.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function g_(e,t,n){var r=Yy.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function m_(e,t,n){var r=Wy.exec(t.slice(n));return r?(e.Q=+r[0],n+r[0].length):-1}function b_(e,t,n){var r=Wy.exec(t.slice(n));return r?(e.s=+r[0],n+r[0].length):-1}function v_(e,t){return Zy(e.getDate(),t,2)}function y_(e,t){return Zy(e.getHours(),t,2)}function __(e,t){return Zy(e.getHours()%12||12,t,2)}function w_(e,t){return Zy(1+uy.count(Py(e),e),t,3)}function x_(e,t){return Zy(e.getMilliseconds(),t,3)}function C_(e,t){return x_(e,t)+"000"}function k_(e,t){return Zy(e.getMonth()+1,t,2)}function M_(e,t){return Zy(e.getMinutes(),t,2)}function S_(e,t){return Zy(e.getSeconds(),t,2)}function T_(e){var t=e.getDay();return 0===t?7:t}function A_(e,t){return Zy(py.count(Py(e)-1,e),t,2)}function E_(e){var t=e.getDay();return t>=4||0===t?vy(e):vy.ceil(e)}function O_(e,t){return e=E_(e),Zy(vy.count(Py(e),e)+(4===Py(e).getDay()),t,2)}function P_(e){return e.getDay()}function D_(e,t){return Zy(gy.count(Py(e)-1,e),t,2)}function j_(e,t){return Zy(e.getFullYear()%100,t,2)}function N_(e,t){return Zy((e=E_(e)).getFullYear()%100,t,2)}function L_(e,t){return Zy(e.getFullYear()%1e4,t,4)}function F_(e,t){var n=e.getDay();return Zy((e=n>=4||0===n?vy(e):vy.ceil(e)).getFullYear()%1e4,t,4)}function B_(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+Zy(t/60|0,"0",2)+Zy(t%60,"0",2)}function R_(e,t){return Zy(e.getUTCDate(),t,2)}function $_(e,t){return Zy(e.getUTCHours(),t,2)}function z_(e,t){return Zy(e.getUTCHours()%12||12,t,2)}function I_(e,t){return Zy(1+fy.count(Dy(e),e),t,3)}function U_(e,t){return Zy(e.getUTCMilliseconds(),t,3)}function H_(e,t){return U_(e,t)+"000"}function V_(e,t){return Zy(e.getUTCMonth()+1,t,2)}function W_(e,t){return Zy(e.getUTCMinutes(),t,2)}function Y_(e,t){return Zy(e.getUTCSeconds(),t,2)}function q_(e){var t=e.getUTCDay();return 0===t?7:t}function Z_(e,t){return Zy(xy.count(Dy(e)-1,e),t,2)}function G_(e){var t=e.getUTCDay();return t>=4||0===t?Sy(e):Sy.ceil(e)}function X_(e,t){return e=G_(e),Zy(Sy.count(Dy(e),e)+(4===Dy(e).getUTCDay()),t,2)}function Q_(e){return e.getUTCDay()}function J_(e,t){return Zy(Cy.count(Dy(e)-1,e),t,2)}function K_(e,t){return Zy(e.getUTCFullYear()%100,t,2)}function ew(e,t){return Zy((e=G_(e)).getUTCFullYear()%100,t,2)}function tw(e,t){return Zy(e.getUTCFullYear()%1e4,t,4)}function nw(e,t){var n=e.getUTCDay();return Zy((e=n>=4||0===n?Sy(e):Sy.ceil(e)).getUTCFullYear()%1e4,t,4)}function rw(){return"+0000"}function iw(){return"%"}function ow(e){return+e}function aw(e){return Math.floor(+e/1e3)}function sw(e){return new Date(e)}function cw(e){return e instanceof Date?+e:+new Date(+e)}function lw(e,t,n,r,i,o,a,s,c,l){var u=bv(),f=u.invert,d=u.domain,h=l(".%L"),p=l(":%S"),g=l("%I:%M"),m=l("%I %p"),b=l("%a %d"),v=l("%b %d"),y=l("%B"),_=l("%Y");function w(e){return(c(e)<e?h:s(e)<e?p:a(e)<e?g:o(e)<e?m:r(e)<e?i(e)<e?b:v: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,cw)):d().map(sw)},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:l(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(Fv(n,e)):u},u.copy=function(){return gv(u,lw(e,t,n,r,i,o,a,s,c,l))},u}function uw(e){for(var t=e.length/6|0,n=new Array(t),r=0;r<t;)n[r]="#"+e.slice(6*r,6*++r);return n}!function(e){Iy=function(e){var t=e.dateTime,n=e.date,r=e.time,i=e.periods,o=e.days,a=e.shortDays,s=e.months,c=e.shortMonths,l=Xy(i),u=Qy(i),f=Xy(o),d=Qy(o),h=Xy(a),p=Qy(a),g=Xy(s),m=Qy(s),b=Xy(c),v=Qy(c),y={a:function(e){return a[e.getDay()]},A:function(e){return o[e.getDay()]},b:function(e){return c[e.getMonth()]},B:function(e){return s[e.getMonth()]},c:null,d:v_,e:v_,f:C_,g:N_,G:F_,H:y_,I:__,j:w_,L:x_,m:k_,M:M_,p:function(e){return i[+(e.getHours()>=12)]},q:function(e){return 1+~~(e.getMonth()/3)},Q:ow,s:aw,S:S_,u:T_,U:A_,V:O_,w:P_,W:D_,x:null,X:null,y:j_,Y:L_,Z:B_,"%":iw},_={a:function(e){return a[e.getUTCDay()]},A:function(e){return o[e.getUTCDay()]},b:function(e){return c[e.getUTCMonth()]},B:function(e){return s[e.getUTCMonth()]},c:null,d:R_,e:R_,f:H_,g:ew,G:nw,H:$_,I:z_,j:I_,L:U_,m:V_,M:W_,p:function(e){return i[+(e.getUTCHours()>=12)]},q:function(e){return 1+~~(e.getUTCMonth()/3)},Q:ow,s:aw,S:Y_,u:q_,U:Z_,V:X_,w:Q_,W:J_,x:null,X:null,y:K_,Y:tw,Z:rw,"%":iw},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=b.exec(t.slice(n));return r?(e.m=v.get(r[0].toLowerCase()),n+r[0].length):-1},B:function(e,t,n){var r=g.exec(t.slice(n));return r?(e.m=m.get(r[0].toLowerCase()),n+r[0].length):-1},c:function(e,n,r){return k(e,t,n,r)},d:c_,e:c_,f:p_,g:i_,G:r_,H:u_,I:u_,j:l_,L:h_,m:s_,M:f_,p:function(e,t,n){var r=l.exec(t.slice(n));return r?(e.p=u.get(r[0].toLowerCase()),n+r[0].length):-1},q:a_,Q:m_,s:b_,S:d_,u:Ky,U:e_,V:t_,w:Jy,W:n_,x:function(e,t,r){return k(e,n,t,r)},X:function(e,t,n){return k(e,r,t,n)},y:i_,Y:r_,Z:o_,"%":g_};function x(e,t){return function(n){var r,i,o,a=[],s=-1,c=0,l=e.length;for(n instanceof Date||(n=new Date(+n));++s<l;)37===e.charCodeAt(s)&&(a.push(e.slice(c,s)),null!=(i=Vy[r=e.charAt(++s)])?r=e.charAt(++s):i="e"===r?" ":"0",(o=t[r])&&(r=o(n,i)),a.push(r),c=s+1);return a.push(e.slice(c,s)),a.join("")}}function C(e,t){return function(n){var r,i,o=zy(1900,void 0,1);if(k(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=$y(zy(o.y,0,1))).getUTCDay(),r=i>4||0===i?Cy.ceil(r):Cy(r),r=fy.offset(r,7*(o.V-1)),o.y=r.getUTCFullYear(),o.m=r.getUTCMonth(),o.d=r.getUTCDate()+(o.w+6)%7):(i=(r=Ry(zy(o.y,0,1))).getDay(),r=i>4||0===i?gy.ceil(r):gy(r),r=uy.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?$y(zy(o.y,0,1)).getUTCDay():Ry(zy(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,$y(o)):Ry(o)}}function k(e,t,n,r){for(var i,o,a=0,s=t.length,c=n.length;a<s;){if(r>=c)return-1;if(37===(i=t.charCodeAt(a++))){if(i=t.charAt(a++),!(o=w[i in Vy?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=C(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=C(e+="",!0);return t.toString=function(){return e},t}}}(e),Uy=Iy.format,Iy.parse,Hy=Iy.utcFormat,Iy.utcParse}({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});var fw=uw("1f77b4ff7f0e2ca02cd627289467bd8c564be377c27f7f7fbcbd2217becf"),dw=uw("7fc97fbeaed4fdc086ffff99386cb0f0027fbf5b17666666"),hw=uw("1b9e77d95f027570b3e7298a66a61ee6ab02a6761d666666"),pw=uw("a6cee31f78b4b2df8a33a02cfb9a99e31a1cfdbf6fff7f00cab2d66a3d9affff99b15928"),gw=uw("fbb4aeb3cde3ccebc5decbe4fed9a6ffffcce5d8bdfddaecf2f2f2"),mw=uw("b3e2cdfdcdaccbd5e8f4cae4e6f5c9fff2aef1e2cccccccc"),bw=uw("e41a1c377eb84daf4a984ea3ff7f00ffff33a65628f781bf999999"),vw=uw("66c2a5fc8d628da0cbe78ac3a6d854ffd92fe5c494b3b3b3"),yw=uw("8dd3c7ffffb3bebadafb807280b1d3fdb462b3de69fccde5d9d9d9bc80bdccebc5ffed6f"),_w=uw("4e79a7f28e2ce1575976b7b259a14fedc949af7aa1ff9da79c755fbab0ab"),ww=e=>xb(e[e.length-1]),xw=new Array(3).concat("d8b365f5f5f55ab4ac","a6611adfc27d80cdc1018571","a6611adfc27df5f5f580cdc1018571","8c510ad8b365f6e8c3c7eae55ab4ac01665e","8c510ad8b365f6e8c3f5f5f5c7eae55ab4ac01665e","8c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e","8c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e","5430058c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e003c30","5430058c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e003c30").map(uw),Cw=ww(xw),kw=new Array(3).concat("af8dc3f7f7f77fbf7b","7b3294c2a5cfa6dba0008837","7b3294c2a5cff7f7f7a6dba0008837","762a83af8dc3e7d4e8d9f0d37fbf7b1b7837","762a83af8dc3e7d4e8f7f7f7d9f0d37fbf7b1b7837","762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b7837","762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b7837","40004b762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b783700441b","40004b762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b783700441b").map(uw),Mw=ww(kw),Sw=new Array(3).concat("e9a3c9f7f7f7a1d76a","d01c8bf1b6dab8e1864dac26","d01c8bf1b6daf7f7f7b8e1864dac26","c51b7de9a3c9fde0efe6f5d0a1d76a4d9221","c51b7de9a3c9fde0eff7f7f7e6f5d0a1d76a4d9221","c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221","c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221","8e0152c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221276419","8e0152c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221276419").map(uw),Tw=ww(Sw),Aw=new Array(3).concat("998ec3f7f7f7f1a340","5e3c99b2abd2fdb863e66101","5e3c99b2abd2f7f7f7fdb863e66101","542788998ec3d8daebfee0b6f1a340b35806","542788998ec3d8daebf7f7f7fee0b6f1a340b35806","5427888073acb2abd2d8daebfee0b6fdb863e08214b35806","5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b35806","2d004b5427888073acb2abd2d8daebfee0b6fdb863e08214b358067f3b08","2d004b5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b358067f3b08").map(uw),Ew=ww(Aw),Ow=new Array(3).concat("ef8a62f7f7f767a9cf","ca0020f4a58292c5de0571b0","ca0020f4a582f7f7f792c5de0571b0","b2182bef8a62fddbc7d1e5f067a9cf2166ac","b2182bef8a62fddbc7f7f7f7d1e5f067a9cf2166ac","b2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac","b2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac","67001fb2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac053061","67001fb2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac053061").map(uw),Pw=ww(Ow),Dw=new Array(3).concat("ef8a62ffffff999999","ca0020f4a582bababa404040","ca0020f4a582ffffffbababa404040","b2182bef8a62fddbc7e0e0e09999994d4d4d","b2182bef8a62fddbc7ffffffe0e0e09999994d4d4d","b2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d","b2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d","67001fb2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d1a1a1a","67001fb2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d1a1a1a").map(uw),jw=ww(Dw),Nw=new Array(3).concat("fc8d59ffffbf91bfdb","d7191cfdae61abd9e92c7bb6","d7191cfdae61ffffbfabd9e92c7bb6","d73027fc8d59fee090e0f3f891bfdb4575b4","d73027fc8d59fee090ffffbfe0f3f891bfdb4575b4","d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4","d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4","a50026d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4313695","a50026d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4313695").map(uw),Lw=ww(Nw),Fw=new Array(3).concat("fc8d59ffffbf91cf60","d7191cfdae61a6d96a1a9641","d7191cfdae61ffffbfa6d96a1a9641","d73027fc8d59fee08bd9ef8b91cf601a9850","d73027fc8d59fee08bffffbfd9ef8b91cf601a9850","d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850","d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850","a50026d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850006837","a50026d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850006837").map(uw),Bw=ww(Fw),Rw=new Array(3).concat("fc8d59ffffbf99d594","d7191cfdae61abdda42b83ba","d7191cfdae61ffffbfabdda42b83ba","d53e4ffc8d59fee08be6f59899d5943288bd","d53e4ffc8d59fee08bffffbfe6f59899d5943288bd","d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd","d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd","9e0142d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd5e4fa2","9e0142d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd5e4fa2").map(uw),$w=ww(Rw),zw=new Array(3).concat("e5f5f999d8c92ca25f","edf8fbb2e2e266c2a4238b45","edf8fbb2e2e266c2a42ca25f006d2c","edf8fbccece699d8c966c2a42ca25f006d2c","edf8fbccece699d8c966c2a441ae76238b45005824","f7fcfde5f5f9ccece699d8c966c2a441ae76238b45005824","f7fcfde5f5f9ccece699d8c966c2a441ae76238b45006d2c00441b").map(uw),Iw=ww(zw),Uw=new Array(3).concat("e0ecf49ebcda8856a7","edf8fbb3cde38c96c688419d","edf8fbb3cde38c96c68856a7810f7c","edf8fbbfd3e69ebcda8c96c68856a7810f7c","edf8fbbfd3e69ebcda8c96c68c6bb188419d6e016b","f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d6e016b","f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d810f7c4d004b").map(uw),Hw=ww(Uw),Vw=new Array(3).concat("e0f3dba8ddb543a2ca","f0f9e8bae4bc7bccc42b8cbe","f0f9e8bae4bc7bccc443a2ca0868ac","f0f9e8ccebc5a8ddb57bccc443a2ca0868ac","f0f9e8ccebc5a8ddb57bccc44eb3d32b8cbe08589e","f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe08589e","f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe0868ac084081").map(uw),Ww=ww(Vw),Yw=new Array(3).concat("fee8c8fdbb84e34a33","fef0d9fdcc8afc8d59d7301f","fef0d9fdcc8afc8d59e34a33b30000","fef0d9fdd49efdbb84fc8d59e34a33b30000","fef0d9fdd49efdbb84fc8d59ef6548d7301f990000","fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301f990000","fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301fb300007f0000").map(uw),qw=ww(Yw),Zw=new Array(3).concat("ece2f0a6bddb1c9099","f6eff7bdc9e167a9cf02818a","f6eff7bdc9e167a9cf1c9099016c59","f6eff7d0d1e6a6bddb67a9cf1c9099016c59","f6eff7d0d1e6a6bddb67a9cf3690c002818a016450","fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016450","fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016c59014636").map(uw),Gw=ww(Zw),Xw=new Array(3).concat("ece7f2a6bddb2b8cbe","f1eef6bdc9e174a9cf0570b0","f1eef6bdc9e174a9cf2b8cbe045a8d","f1eef6d0d1e6a6bddb74a9cf2b8cbe045a8d","f1eef6d0d1e6a6bddb74a9cf3690c00570b0034e7b","fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0034e7b","fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0045a8d023858").map(uw),Qw=ww(Xw),Jw=new Array(3).concat("e7e1efc994c7dd1c77","f1eef6d7b5d8df65b0ce1256","f1eef6d7b5d8df65b0dd1c77980043","f1eef6d4b9dac994c7df65b0dd1c77980043","f1eef6d4b9dac994c7df65b0e7298ace125691003f","f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125691003f","f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125698004367001f").map(uw),Kw=ww(Jw),ex=new Array(3).concat("fde0ddfa9fb5c51b8a","feebe2fbb4b9f768a1ae017e","feebe2fbb4b9f768a1c51b8a7a0177","feebe2fcc5c0fa9fb5f768a1c51b8a7a0177","feebe2fcc5c0fa9fb5f768a1dd3497ae017e7a0177","fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a0177","fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a017749006a").map(uw),tx=ww(ex),nx=new Array(3).concat("edf8b17fcdbb2c7fb8","ffffcca1dab441b6c4225ea8","ffffcca1dab441b6c42c7fb8253494","ffffccc7e9b47fcdbb41b6c42c7fb8253494","ffffccc7e9b47fcdbb41b6c41d91c0225ea80c2c84","ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea80c2c84","ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea8253494081d58").map(uw),rx=ww(nx),ix=new Array(3).concat("f7fcb9addd8e31a354","ffffccc2e69978c679238443","ffffccc2e69978c67931a354006837","ffffccd9f0a3addd8e78c67931a354006837","ffffccd9f0a3addd8e78c67941ab5d238443005a32","ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443005a32","ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443006837004529").map(uw),ox=ww(ix),ax=new Array(3).concat("fff7bcfec44fd95f0e","ffffd4fed98efe9929cc4c02","ffffd4fed98efe9929d95f0e993404","ffffd4fee391fec44ffe9929d95f0e993404","ffffd4fee391fec44ffe9929ec7014cc4c028c2d04","ffffe5fff7bcfee391fec44ffe9929ec7014cc4c028c2d04","ffffe5fff7bcfee391fec44ffe9929ec7014cc4c02993404662506").map(uw),sx=ww(ax),cx=new Array(3).concat("ffeda0feb24cf03b20","ffffb2fecc5cfd8d3ce31a1c","ffffb2fecc5cfd8d3cf03b20bd0026","ffffb2fed976feb24cfd8d3cf03b20bd0026","ffffb2fed976feb24cfd8d3cfc4e2ae31a1cb10026","ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cb10026","ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cbd0026800026").map(uw),lx=ww(cx),ux=new Array(3).concat("deebf79ecae13182bd","eff3ffbdd7e76baed62171b5","eff3ffbdd7e76baed63182bd08519c","eff3ffc6dbef9ecae16baed63182bd08519c","eff3ffc6dbef9ecae16baed64292c62171b5084594","f7fbffdeebf7c6dbef9ecae16baed64292c62171b5084594","f7fbffdeebf7c6dbef9ecae16baed64292c62171b508519c08306b").map(uw),fx=ww(ux),dx=new Array(3).concat("e5f5e0a1d99b31a354","edf8e9bae4b374c476238b45","edf8e9bae4b374c47631a354006d2c","edf8e9c7e9c0a1d99b74c47631a354006d2c","edf8e9c7e9c0a1d99b74c47641ab5d238b45005a32","f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45005a32","f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45006d2c00441b").map(uw),hx=ww(dx),px=new Array(3).concat("f0f0f0bdbdbd636363","f7f7f7cccccc969696525252","f7f7f7cccccc969696636363252525","f7f7f7d9d9d9bdbdbd969696636363252525","f7f7f7d9d9d9bdbdbd969696737373525252252525","fffffff0f0f0d9d9d9bdbdbd969696737373525252252525","fffffff0f0f0d9d9d9bdbdbd969696737373525252252525000000").map(uw),gx=ww(px),mx=new Array(3).concat("efedf5bcbddc756bb1","f2f0f7cbc9e29e9ac86a51a3","f2f0f7cbc9e29e9ac8756bb154278f","f2f0f7dadaebbcbddc9e9ac8756bb154278f","f2f0f7dadaebbcbddc9e9ac8807dba6a51a34a1486","fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a34a1486","fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a354278f3f007d").map(uw),bx=ww(mx),vx=new Array(3).concat("fee0d2fc9272de2d26","fee5d9fcae91fb6a4acb181d","fee5d9fcae91fb6a4ade2d26a50f15","fee5d9fcbba1fc9272fb6a4ade2d26a50f15","fee5d9fcbba1fc9272fb6a4aef3b2ccb181d99000d","fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181d99000d","fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181da50f1567000d").map(uw),yx=ww(vx),_x=new Array(3).concat("fee6cefdae6be6550d","feeddefdbe85fd8d3cd94701","feeddefdbe85fd8d3ce6550da63603","feeddefdd0a2fdae6bfd8d3ce6550da63603","feeddefdd0a2fdae6bfd8d3cf16913d948018c2d04","fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d948018c2d04","fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d94801a636037f2704").map(uw),wx=ww(_x);var xx=Fb(pb(300,.5,0),pb(-240,.5,1)),Cx=Fb(pb(-100,.75,.35),pb(80,1.5,.8)),kx=Fb(pb(260,.75,.35),pb(80,1.5,.8)),Mx=pb();var Sx=Wm(),Tx=Math.PI/3,Ax=2*Math.PI/3;function Ex(e){var t=e.length;return function(n){return e[Math.max(0,Math.min(t-1,Math.floor(n*t)))]}}var Ox,Px,Dx,jx,Nx,Lx,Fx,Bx,Rx,$x,zx,Ix,Ux,Hx,Vx,Wx,Yx,qx,Zx,Gx,Xx,Qx,Jx,Kx,eC=Ex(uw("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725")),tC=Ex(uw("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf")),nC=Ex(uw("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4")),rC=Ex(uw("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921")),iC=Gr(rh());function oC(){if(Lx)return Nx;Lx=1;var e=fh(),t=Px?Ox:(Px=1,Ox=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}),n=jx?Dx:(jx=1,Dx=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,Nx=r}function aC(){if(Hx)return Ux;Hx=1;var e=(Bx||(Bx=1,Fx=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}),Fx),t=$x?Rx:($x=1,Rx=function(e){return e!=e}),n=(Ix||(Ix=1,zx=function(e,t,n){for(var r=n-1,i=e.length;++r<i;)if(e[r]===t)return r;return-1}),zx);return Ux=function(r,i,o){return i==i?n(r,i,o):e(r,t,o)},Ux}function sC(){if(Wx)return Vx;Wx=1;var e=aC();return Vx=function(t,n){return!!(null==t?0:t.length)&&e(t,n,0)>-1},Vx}function cC(){if(qx)return Yx;return qx=1,Yx=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},Yx}function lC(){if(Gx)return Zx;return Gx=1,Zx=function(e,t){return e.has(t)}}var uC=function(){if(Kx)return Jx;Kx=1;var e=function(){if(Qx)return Xx;Qx=1;var e=oC(),t=sC(),n=cC(),r=lm(),i=wp(),o=lC();return Xx=function(a,s,c,l){var u=-1,f=t,d=!0,h=a.length,p=[],g=s.length;if(!h)return p;c&&(s=r(s,i(c))),l?(f=n,d=!1):s.length>=200&&(f=o,d=!1,s=new e(s));e:for(;++u<h;){var m=a[u],b=null==c?m:c(m);if(m=l||0!==m?m:0,d&&b==b){for(var v=g;v--;)if(s[v]===b)continue e;p.push(m)}else f(s,b,l)||p.push(m)}return p},Xx}(),t=Dg(),n=cp(),r=t((function(t,r){return n(t)?e(t,r):[]}));return Jx=r}(),fC=Gr(uC);function dC(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 hC,pC=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function gC(e){if(!(t=pC.exec(e)))throw new Error("invalid format: "+e);var t;return new mC({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 mC(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 bC(e,t){var n=dC(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")}gC.prototype=mC.prototype,mC.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 vC={"%":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 bC(100*e,t)},r:bC,s:function(e,t){var n=dC(e,t);if(!n)return e+"";var r=n[0],i=n[1],o=i-(hC=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")+dC(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 yC(e){return e}var _C,wC,xC=Array.prototype.map,CC=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function kC(e){var t,n,r=void 0===e.grouping||void 0===e.thousands?yC:(t=xC.call(e.grouping,Number),n=e.thousands+"",function(e,r){for(var i=e.length,o=[],a=0,s=t[0],c=0;i>0&&s>0&&(c+s+1>r&&(s=Math.max(1,r-c)),o.push(e.substring(i-=s,i+s)),!((c+=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?yC:function(e){return function(t){return t.replace(/[0-9]/g,(function(t){return e[+t]}))}}(xC.call(e.numerals,String)),c=void 0===e.percent?"%":e.percent+"",l=void 0===e.minus?"-":e.minus+"",u=void 0===e.nan?"NaN":e.nan+"";function f(e){var t=(e=gC(e)).fill,n=e.align,f=e.sign,d=e.symbol,h=e.zero,p=e.width,g=e.comma,m=e.precision,b=e.trim,v=e.type;"n"===v?(g=!0,v="g"):vC[v]||(void 0===m&&(m=12),b=!0,v="g"),(h||"0"===t&&"="===n)&&(h=!0,t="0",n="=");var y="$"===d?i:"#"===d&&/[boxX]/.test(v)?"0"+v.toLowerCase():"",_="$"===d?o:/[%p]/.test(v)?c:"",w=vC[v],x=/[defgprs%]/.test(v);function C(e){var i,o,c,d=y,C=_;if("c"===v)C=w(e)+C,e="";else{var k=(e=+e)<0||1/e<0;if(e=isNaN(e)?u:w(Math.abs(e),m),b&&(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)),k&&0==+e&&"+"!==f&&(k=!1),d=(k?"("===f?f:l:"-"===f||"("===f?"":f)+d,C=("s"===v?CC[8+hC/3]:"")+C+(k&&"("===f?")":""),x)for(i=-1,o=e.length;++i<o;)if(48>(c=e.charCodeAt(i))||c>57){C=(46===c?a+e.slice(i+1):e.slice(i))+C,e=e.slice(0,i);break}}g&&!h&&(e=r(e,1/0));var M=d.length+e.length+C.length,S=M<p?new Array(p-M+1).join(t):"";switch(g&&h&&(e=r(S+e,S.length?p-C.length:1/0),S=""),n){case"<":e=d+e+C+S;break;case"=":e=d+S+e+C;break;case"^":e=S.slice(0,M=S.length>>1)+d+e+C+S.slice(M);break;default:e=S+d+e+C}return s(e)}return m=void 0===m?6:/[gprs]/.test(v)?Math.max(1,Math.min(21,m)):Math.max(0,Math.min(20,m)),C.toString=function(){return e+""},C}return{format:f,formatPrefix:function(e,t){var n=f(((e=gC(e)).type="f",e)),r=3*Math.max(-8,Math.min(8,Math.floor(function(e){return(e=dC(Math.abs(e)))?e[1]:NaN}(t)/3))),i=Math.pow(10,-r),o=CC[8+r/3];return function(e){return n(i*e)+o}}}}!function(e){_C=kC(e),wC=_C.format,_C.formatPrefix}({decimal:".",thousands:",",grouping:[3],currency:["$",""],minus:"-"});var MC=new Date,SC=new Date;function TC(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 TC((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 MC.setTime(+t),SC.setTime(+r),e(MC),e(SC),Math.floor(n(MC,SC))},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 AC=6e4,EC=864e5,OC=6048e5;var PC=TC((e=>e.setHours(0,0,0,0)),((e,t)=>e.setDate(e.getDate()+t)),((e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*AC)/EC),(e=>e.getDate()-1));function DC(e){return TC((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())*AC)/OC}))}PC.range;var jC=DC(0),NC=DC(1),LC=DC(2),FC=DC(3),BC=DC(4),RC=DC(5),$C=DC(6);jC.range,NC.range,LC.range,FC.range,BC.range,RC.range,$C.range;var zC=TC((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()}));zC.every=function(e){return isFinite(e=Math.floor(e))&&e>0?TC((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},zC.range;var IC=TC((function(e){e.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCDate(e.getUTCDate()+t)}),(function(e,t){return(t-e)/EC}),(function(e){return e.getUTCDate()-1}));function UC(e){return TC((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)/OC}))}IC.range;var HC=UC(0),VC=UC(1),WC=UC(2),YC=UC(3),qC=UC(4),ZC=UC(5),GC=UC(6);HC.range,VC.range,WC.range,YC.range,qC.range,ZC.range,GC.range;var XC=TC((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 QC(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 JC(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 KC(e,t,n){return{y:e,m:t,d:n,H:0,M:0,S:0,L:0}}XC.every=function(e){return isFinite(e=Math.floor(e))&&e>0?TC((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},XC.range;var ek,tk,nk,rk,ik={"-":"",_:" ",0:"0"},ok=/^\s*\d+/,ak=/^%/,sk=/[\\^$*+?|[\]().{}]/g;function ck(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 lk(e){return e.replace(sk,"\\$&")}function uk(e){return new RegExp("^(?:"+e.map(lk).join("|")+")","i")}function fk(e){return new Map(e.map(((e,t)=>[e.toLowerCase(),t])))}function dk(e,t,n){var r=ok.exec(t.slice(n,n+1));return r?(e.w=+r[0],n+r[0].length):-1}function hk(e,t,n){var r=ok.exec(t.slice(n,n+1));return r?(e.u=+r[0],n+r[0].length):-1}function pk(e,t,n){var r=ok.exec(t.slice(n,n+2));return r?(e.U=+r[0],n+r[0].length):-1}function gk(e,t,n){var r=ok.exec(t.slice(n,n+2));return r?(e.V=+r[0],n+r[0].length):-1}function mk(e,t,n){var r=ok.exec(t.slice(n,n+2));return r?(e.W=+r[0],n+r[0].length):-1}function bk(e,t,n){var r=ok.exec(t.slice(n,n+4));return r?(e.y=+r[0],n+r[0].length):-1}function vk(e,t,n){var r=ok.exec(t.slice(n,n+2));return r?(e.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function yk(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 _k(e,t,n){var r=ok.exec(t.slice(n,n+1));return r?(e.q=3*r[0]-3,n+r[0].length):-1}function wk(e,t,n){var r=ok.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function xk(e,t,n){var r=ok.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function Ck(e,t,n){var r=ok.exec(t.slice(n,n+3));return r?(e.m=0,e.d=+r[0],n+r[0].length):-1}function kk(e,t,n){var r=ok.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function Mk(e,t,n){var r=ok.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function Sk(e,t,n){var r=ok.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function Tk(e,t,n){var r=ok.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function Ak(e,t,n){var r=ok.exec(t.slice(n,n+6));return r?(e.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function Ek(e,t,n){var r=ak.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function Ok(e,t,n){var r=ok.exec(t.slice(n));return r?(e.Q=+r[0],n+r[0].length):-1}function Pk(e,t,n){var r=ok.exec(t.slice(n));return r?(e.s=+r[0],n+r[0].length):-1}function Dk(e,t){return ck(e.getDate(),t,2)}function jk(e,t){return ck(e.getHours(),t,2)}function Nk(e,t){return ck(e.getHours()%12||12,t,2)}function Lk(e,t){return ck(1+PC.count(zC(e),e),t,3)}function Fk(e,t){return ck(e.getMilliseconds(),t,3)}function Bk(e,t){return Fk(e,t)+"000"}function Rk(e,t){return ck(e.getMonth()+1,t,2)}function $k(e,t){return ck(e.getMinutes(),t,2)}function zk(e,t){return ck(e.getSeconds(),t,2)}function Ik(e){var t=e.getDay();return 0===t?7:t}function Uk(e,t){return ck(jC.count(zC(e)-1,e),t,2)}function Hk(e){var t=e.getDay();return t>=4||0===t?BC(e):BC.ceil(e)}function Vk(e,t){return e=Hk(e),ck(BC.count(zC(e),e)+(4===zC(e).getDay()),t,2)}function Wk(e){return e.getDay()}function Yk(e,t){return ck(NC.count(zC(e)-1,e),t,2)}function qk(e,t){return ck(e.getFullYear()%100,t,2)}function Zk(e,t){return ck((e=Hk(e)).getFullYear()%100,t,2)}function Gk(e,t){return ck(e.getFullYear()%1e4,t,4)}function Xk(e,t){var n=e.getDay();return ck((e=n>=4||0===n?BC(e):BC.ceil(e)).getFullYear()%1e4,t,4)}function Qk(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+ck(t/60|0,"0",2)+ck(t%60,"0",2)}function Jk(e,t){return ck(e.getUTCDate(),t,2)}function Kk(e,t){return ck(e.getUTCHours(),t,2)}function eM(e,t){return ck(e.getUTCHours()%12||12,t,2)}function tM(e,t){return ck(1+IC.count(XC(e),e),t,3)}function nM(e,t){return ck(e.getUTCMilliseconds(),t,3)}function rM(e,t){return nM(e,t)+"000"}function iM(e,t){return ck(e.getUTCMonth()+1,t,2)}function oM(e,t){return ck(e.getUTCMinutes(),t,2)}function aM(e,t){return ck(e.getUTCSeconds(),t,2)}function sM(e){var t=e.getUTCDay();return 0===t?7:t}function cM(e,t){return ck(HC.count(XC(e)-1,e),t,2)}function lM(e){var t=e.getUTCDay();return t>=4||0===t?qC(e):qC.ceil(e)}function uM(e,t){return e=lM(e),ck(qC.count(XC(e),e)+(4===XC(e).getUTCDay()),t,2)}function fM(e){return e.getUTCDay()}function dM(e,t){return ck(VC.count(XC(e)-1,e),t,2)}function hM(e,t){return ck(e.getUTCFullYear()%100,t,2)}function pM(e,t){return ck((e=lM(e)).getUTCFullYear()%100,t,2)}function gM(e,t){return ck(e.getUTCFullYear()%1e4,t,4)}function mM(e,t){var n=e.getUTCDay();return ck((e=n>=4||0===n?qC(e):qC.ceil(e)).getUTCFullYear()%1e4,t,4)}function bM(){return"+0000"}function vM(){return"%"}function yM(e){return+e}function _M(e){return Math.floor(+e/1e3)}!function(e){ek=function(e){var t=e.dateTime,n=e.date,r=e.time,i=e.periods,o=e.days,a=e.shortDays,s=e.months,c=e.shortMonths,l=uk(i),u=fk(i),f=uk(o),d=fk(o),h=uk(a),p=fk(a),g=uk(s),m=fk(s),b=uk(c),v=fk(c),y={a:function(e){return a[e.getDay()]},A:function(e){return o[e.getDay()]},b:function(e){return c[e.getMonth()]},B:function(e){return s[e.getMonth()]},c:null,d:Dk,e:Dk,f:Bk,g:Zk,G:Xk,H:jk,I:Nk,j:Lk,L:Fk,m:Rk,M:$k,p:function(e){return i[+(e.getHours()>=12)]},q:function(e){return 1+~~(e.getMonth()/3)},Q:yM,s:_M,S:zk,u:Ik,U:Uk,V:Vk,w:Wk,W:Yk,x:null,X:null,y:qk,Y:Gk,Z:Qk,"%":vM},_={a:function(e){return a[e.getUTCDay()]},A:function(e){return o[e.getUTCDay()]},b:function(e){return c[e.getUTCMonth()]},B:function(e){return s[e.getUTCMonth()]},c:null,d:Jk,e:Jk,f:rM,g:pM,G:mM,H:Kk,I:eM,j:tM,L:nM,m:iM,M:oM,p:function(e){return i[+(e.getUTCHours()>=12)]},q:function(e){return 1+~~(e.getUTCMonth()/3)},Q:yM,s:_M,S:aM,u:sM,U:cM,V:uM,w:fM,W:dM,x:null,X:null,y:hM,Y:gM,Z:bM,"%":vM},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=b.exec(t.slice(n));return r?(e.m=v.get(r[0].toLowerCase()),n+r[0].length):-1},B:function(e,t,n){var r=g.exec(t.slice(n));return r?(e.m=m.get(r[0].toLowerCase()),n+r[0].length):-1},c:function(e,n,r){return k(e,t,n,r)},d:xk,e:xk,f:Ak,g:vk,G:bk,H:kk,I:kk,j:Ck,L:Tk,m:wk,M:Mk,p:function(e,t,n){var r=l.exec(t.slice(n));return r?(e.p=u.get(r[0].toLowerCase()),n+r[0].length):-1},q:_k,Q:Ok,s:Pk,S:Sk,u:hk,U:pk,V:gk,w:dk,W:mk,x:function(e,t,r){return k(e,n,t,r)},X:function(e,t,n){return k(e,r,t,n)},y:vk,Y:bk,Z:yk,"%":Ek};function x(e,t){return function(n){var r,i,o,a=[],s=-1,c=0,l=e.length;for(n instanceof Date||(n=new Date(+n));++s<l;)37===e.charCodeAt(s)&&(a.push(e.slice(c,s)),null!=(i=ik[r=e.charAt(++s)])?r=e.charAt(++s):i="e"===r?" ":"0",(o=t[r])&&(r=o(n,i)),a.push(r),c=s+1);return a.push(e.slice(c,s)),a.join("")}}function C(e,t){return function(n){var r,i,o=KC(1900,void 0,1);if(k(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=JC(KC(o.y,0,1))).getUTCDay(),r=i>4||0===i?VC.ceil(r):VC(r),r=IC.offset(r,7*(o.V-1)),o.y=r.getUTCFullYear(),o.m=r.getUTCMonth(),o.d=r.getUTCDate()+(o.w+6)%7):(i=(r=QC(KC(o.y,0,1))).getDay(),r=i>4||0===i?NC.ceil(r):NC(r),r=PC.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?JC(KC(o.y,0,1)).getUTCDay():QC(KC(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,JC(o)):QC(o)}}function k(e,t,n,r){for(var i,o,a=0,s=t.length,c=n.length;a<s;){if(r>=c)return-1;if(37===(i=t.charCodeAt(a++))){if(i=t.charAt(a++),!(o=w[i in ik?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=C(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=C(e+="",!0);return t.toString=function(){return e},t}}}(e),tk=ek.format,nk=ek.parse,ek.utcFormat,rk=ek.utcParse}({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});var wM,xM,CM,kM,MM,SM,TM,AM,EM,OM,PM,DM,jM,NM,LM,FM,BM,RM,$M,zM,IM,UM,HM=Gr(_p());function VM(){if(AM)return TM;AM=1;var e=(kM||(kM=1,CM=function(e,t){return null!=e&&t in Object(e)}),CM),t=function(){if(SM)return MM;SM=1;var e=fm(),t=ip(),n=op(),r=xg(),i=ap(),o=dm();return MM=function(a,s,c){for(var l=-1,u=(s=e(s,a)).length,f=!1;++l<u;){var d=o(s[l]);if(!(f=null!=a&&c(a,d)))break;a=a[d]}return f||++l!=u?f:!!(u=null==a?0:a.length)&&i(u)&&r(d,u)&&(n(a)||t(a))},MM}();return TM=function(n,r){return null!=n&&t(n,r,e)},TM}function WM(){if(OM)return EM;OM=1;var e=function(){if(xM)return wM;xM=1;var e=hm(),t=_m(),n=fm();return wM=function(r,i,o){for(var a=-1,s=i.length,c={};++a<s;){var l=i[a],u=e(r,l);o(u,l)&&t(c,n(l,r),u)}return c},wM}(),t=VM();return EM=function(n,r){return e(n,r,(function(e,r){return t(n,r)}))},EM}function YM(){if(DM)return PM;return DM=1,PM=function(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e},PM}function qM(){if(FM)return LM;FM=1;var e=YM(),t=function(){if(NM)return jM;NM=1;var e=eh(),t=ip(),n=op(),r=e?e.isConcatSpreadable:void 0;return jM=function(e){return n(e)||t(e)||!!(r&&e&&e[r])}}();return LM=function n(r,i,o,a,s){var c=-1,l=r.length;for(o||(o=t),s||(s=[]);++c<l;){var u=r[c];i>0&&o(u)?i>1?n(u,i-1,o,a,s):e(s,u):a||(s[s.length]=u)}return s},LM}function ZM(){if(zM)return $M;zM=1;var e=function(){if(RM)return BM;RM=1;var e=qM();return BM=function(t){return null!=t&&t.length?e(t,1):[]},BM}(),t=Eg(),n=Pg();return $M=function(r){return n(t(r,void 0,e),r+"")}}var GM,XM,QM,JM,KM,eS,tS,nS,rS,iS,oS,aS,sS,cS,lS,uS,fS,dS,hS,pS,gS,mS,bS,vS,yS,_S,wS,xS,CS,kS,MS,SS,TS,AS,ES,OS,PS,DS,jS,NS,LS,FS,BS,RS,$S=function(){if(UM)return IM;UM=1;var e=WM(),t=ZM()((function(t,n){return null==t?{}:e(t,n)}));return IM=t}(),zS=Gr($S);function IS(){if(JM)return QM;JM=1;var e=oC(),t=(XM||(XM=1,GM=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}),GM),n=lC();return QM=function(r,i,o,a,s,c){var l=1&o,u=r.length,f=i.length;if(u!=f&&!(l&&f>u))return!1;var d=c.get(r),h=c.get(i);if(d&&h)return d==i&&h==r;var p=-1,g=!0,m=2&o?new e:void 0;for(c.set(r,i),c.set(i,r);++p<u;){var b=r[p],v=i[p];if(a)var y=l?a(v,b,p,i,r,c):a(b,v,p,r,i,c);if(void 0!==y){if(y)continue;g=!1;break}if(m){if(!t(i,(function(e,t){if(!n(m,t)&&(b===e||s(b,e,o,a,c)))return m.push(t)}))){g=!1;break}}else if(b!==v&&!s(b,v,o,a,c)){g=!1;break}}return c.delete(r),c.delete(i),g},QM}function US(){if(nS)return tS;return nS=1,tS=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n},tS}function HS(){if(iS)return rS;iS=1;var e=eh(),t=Qh(),n=Gd(),r=IS(),i=(eS||(eS=1,KM=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}),KM),o=US(),a=e?e.prototype:void 0,s=a?a.valueOf:void 0;return rS=function(e,a,c,l,u,f,d){switch(c){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&l;if(h||(h=o),e.size!=a.size&&!p)return!1;var g=d.get(e);if(g)return g==a;l|=2,d.set(e,a);var m=r(h(e),h(a),l,u,f,d);return d.delete(e),m;case"[object Symbol]":if(s)return s.call(e)==s.call(a)}return!1},rS}function VS(){if(dS)return fS;dS=1;var e=(cS||(cS=1,sS=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}),sS),t=uS?lS:(uS=1,lS=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 fS=i}function WS(){if(mS)return gS;mS=1;var e=tp(),t=function(){if(pS)return hS;pS=1;var e=Kh()(Object.keys,Object);return hS=e}(),n=Object.prototype.hasOwnProperty;return gS=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},gS}function YS(){if(vS)return bS;vS=1;var e=Cg(),t=WS(),n=sp();return bS=function(r){return n(r)?e(r):t(r)},bS}function qS(){if(_S)return yS;_S=1;var e=function(){if(aS)return oS;aS=1;var e=YM(),t=op();return oS=function(n,r,i){var o=r(n);return t(n)?o:e(o,i(n))},oS}(),t=VS(),n=YS();return yS=function(r){return e(r,n,t)},yS}function ZS(){if(AS)return TS;AS=1;var e=ah()(Kd(),"Set");return TS=e}function GS(){if(DS)return PS;DS=1;var e=function(){if(kS)return CS;kS=1;var e=ah()(Kd(),"DataView");return CS=e}(),t=sh(),n=function(){if(SS)return MS;SS=1;var e=ah()(Kd(),"Promise");return MS=e}(),r=ZS(),i=function(){if(OS)return ES;OS=1;var e=ah()(Kd(),"WeakMap");return ES=e}(),o=th(),a=oh(),s="[object Map]",c="[object Promise]",l="[object Set]",u="[object WeakMap]",f="[object DataView]",d=a(e),h=a(t),p=a(n),g=a(r),m=a(i),b=o;return(e&&b(new e(new ArrayBuffer(1)))!=f||t&&b(new t)!=s||n&&b(n.resolve())!=c||r&&b(new r)!=l||i&&b(new i)!=u)&&(b=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 c;case g:return l;case m:return u}return t}),PS=b}function XS(){if(NS)return jS;NS=1;var e=dh(),t=IS(),n=HS(),r=function(){if(xS)return wS;xS=1;var e=qS(),t=Object.prototype.hasOwnProperty;return wS=function(n,r,i,o,a,s){var c=1&i,l=e(n),u=l.length;if(u!=e(r).length&&!c)return!1;for(var f=u;f--;){var d=l[f];if(!(c?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 m=c;++f<u;){var b=n[d=l[f]],v=r[d];if(o)var y=c?o(v,b,d,r,n,s):o(b,v,d,n,r,s);if(!(void 0===y?b===v||a(b,v,i,o,s):y)){g=!1;break}m||(m="constructor"==d)}if(g&&!m){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},wS}(),i=GS(),o=op(),a=yp(),s=yg(),c="[object Arguments]",l="[object Array]",u="[object Object]",f=Object.prototype.hasOwnProperty;return jS=function(d,h,p,g,m,b){var v=o(d),y=o(h),_=v?l:i(d),w=y?l:i(h),x=(_=_==c?u:_)==u,C=(w=w==c?u:w)==u,k=_==w;if(k&&a(d)){if(!a(h))return!1;v=!0,x=!1}if(k&&!x)return b||(b=new e),v||s(d)?t(d,h,p,g,m,b):n(d,h,_,p,g,m,b);if(!(1&p)){var M=x&&f.call(d,"__wrapped__"),S=C&&f.call(h,"__wrapped__");if(M||S){var T=M?d.value():d,A=S?h.value():h;return b||(b=new e),m(T,A,p,g,b)}}return!!k&&(b||(b=new e),r(d,h,p,g,m,b))},jS}function QS(){if(FS)return LS;FS=1;var e=XS(),t=rp();return LS=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))},LS}var JS=Gr(function(){if(RS)return BS;RS=1;var e=QS();return BS=function(t,n){return e(t,n)}}()),KS={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 eT(){return eT=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},eT.apply(this,arguments)}function tT(e,t){return tT=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},tT(e,t)}function nT(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 rT=["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"],iT=function(e,t){var n=om({},e,t);return rT.forEach((function(e){xm(n,e,function(e,t){return eT({},t,e)}(ym(n,e),n.text))})),n},oT=C(),aT=function(e){var t=e.children,n=e.animate,r=void 0===n||n,i=e.config,o=void 0===i?"default":i,a=w((function(){var e=$b(o)?El[o]:o;return{animate:r,config:e}}),[r,o]);return O(oT.Provider,{value:a,children:t})},sT={animate:os.bool,motionConfig:os.oneOfType([os.oneOf(Object.keys(El)),os.shape({mass:os.number,tension:os.number,friction:os.number,clamp:os.bool,precision:os.number,velocity:os.number,duration:os.number,easing:os.func})])};aT.propTypes={children:os.node.isRequired,animate:sT.animate,config:sT.motionConfig};var cT=function(){return _(oT)},lT=function(e){var t=cT(),n=t.animate,r=t.config,i=function(e){var t=b();return p((function(){t.current=e}),[e]),t.current}(e),o=w((function(){return Ob(i,e)}),[i,e]);return((e,...t)=>new ku(e,t))(wu({from:{value:0},to:{value:1},reset:!0,config:r,immediate:!n}).value,o)},uT={nivo:["#d76445","#f47560","#e8c1a0","#97e3d5","#61cdbb","#00b0a7"],BrBG:Ib(xw),PRGn:Ib(kw),PiYG:Ib(Sw),PuOr:Ib(Aw),RdBu:Ib(Ow),RdGy:Ib(Dw),RdYlBu:Ib(Nw),RdYlGn:Ib(Fw),spectral:Ib(Rw),blues:Ib(ux),greens:Ib(dx),greys:Ib(px),oranges:Ib(_x),purples:Ib(mx),reds:Ib(vx),BuGn:Ib(zw),BuPu:Ib(Uw),GnBu:Ib(Vw),OrRd:Ib(Yw),PuBuGn:Ib(Zw),PuBu:Ib(Xw),PuRd:Ib(Jw),RdPu:Ib(ex),YlGnBu:Ib(nx),YlGn:Ib(ix),YlOrBr:Ib(ax),YlOrRd:Ib(cx)},fT=Object.keys(uT);Ib(xw),Ib(kw),Ib(Sw),Ib(Aw),Ib(Ow),Ib(Dw),Ib(Nw),Ib(Fw),Ib(Rw),Ib(ux),Ib(dx),Ib(px),Ib(_x),Ib(mx),Ib(vx),Ib(zw),Ib(Uw),Ib(Vw),Ib(Yw),Ib(Zw),Ib(Xw),Ib(Jw),Ib(ex),Ib(nx),Ib(ix),Ib(ax),Ib(cx),os.oneOfType([os.oneOf(fT),os.func,os.arrayOf(os.string)]);var dT={basis:function(e){return new Wo(e)},basisClosed:function(e){return new Yo(e)},basisOpen:function(e){return new qo(e)},bundle:Go,cardinal:Jo,cardinalClosed:ea,cardinalOpen:na,catmullRom:oa,catmullRomClosed:sa,catmullRomOpen:la,linear:Bo,linearClosed:function(e){return new ua(e)},monotoneX:function(e){return new ga(e)},monotoneY:function(e){return new ma(e)},natural:function(e){return new va(e)},step:function(e){return new _a(e,.5)},stepAfter:function(e){return new _a(e,1)},stepBefore:function(e){return new _a(e,0)}},hT=Object.keys(dT);hT.filter((function(e){return e.endsWith("Closed")})),fC(hT,"bundle","basisClosed","basisOpen","cardinalClosed","cardinalOpen","catmullRomClosed","catmullRomOpen","linearClosed"),fC(hT,"bundle","basisClosed","basisOpen","cardinalClosed","cardinalOpen","catmullRomClosed","catmullRomOpen","linearClosed");var pT=function(e){if(!dT[e])throw new TypeError("'"+e+"', is not a valid curve interpolator identifier.");return dT[e]};os.shape({top:os.number,right:os.number,bottom:os.number,left:os.number}).isRequired;os.oneOf(["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"]),ov(yw);var gT={top:0,right:0,bottom:0,left:0},mT=function(e,t,n){return void 0===n&&(n={}),w((function(){var r=eT({},gT,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])},bT=function(){var e=b(null),t=m({left:0,top:0,width:0,height:0}),n=t[0],r=t[1],i=m((function(){return"undefined"==typeof ResizeObserver?null:new ResizeObserver((function(e){var t=e[0];return r(t.contentRect)}))}))[0];return p((function(){return e.current&&null!==i&&i.observe(e.current),function(){null!==i&&i.disconnect()}}),[]),[e,n]},vT=function(e){return w((function(){return function(e){return"function"==typeof e?e:"string"==typeof e?0===e.indexOf("time:")?tk(e.slice("5")):wC(e):function(e){return""+e}}(e)}),[e])},yT=C(),_T={},wT=function(e){var t=e.theme,n=void 0===t?_T:t,r=e.children,i=function(e){return w((function(){return iT(KS,e)}),[e])}(n);return O(yT.Provider,{value:i,children:r})};wT.propTypes={children:os.node.isRequired,theme:os.object};var xT=function(){return _(yT)},CT=["outlineWidth","outlineColor","outlineOpacity"],kT=function(e){return e.outlineWidth,e.outlineColor,e.outlineOpacity,nT(e,CT)},MT=function(e){var t=e.children,n=e.condition,r=e.wrapper;return n?S(r,{},t):t};MT.propTypes={children:os.node.isRequired,condition:os.bool.isRequired,wrapper:os.element.isRequired};var ST={position:"relative"},TT=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,c=e.motionConfig,l=b(null);return O(wT,{theme:n,children:O(aT,{animate:s,config:c,children:O(Zd,{container:l,children:O(MT,{condition:i,wrapper:O("div",{style:ST,ref:l}),children:[t,a&&O(qd,{})]})})})})};TT.propTypes={children:os.element.isRequired,isInteractive:os.bool,renderWrapper:os.bool,theme:os.object,animate:os.bool,motionConfig:os.oneOfType([os.string,sT.motionConfig])},os.func.isRequired,os.bool,os.bool,os.object.isRequired,os.bool.isRequired,os.oneOfType([os.string,sT.motionConfig]);var AT=function(e){var t=e.children,n=bT(),r=n[0],i=n[1];return O("div",{ref:r,style:{width:"100%",height:"100%"},children:i.width>0&&i.height>0&&t({width:i.width,height:i.height})})};AT.propTypes={children:os.func.isRequired};var ET=["id","colors"],OT=function(e){var t=e.id,n=e.colors;return O("linearGradient",eT({id:t,x1:0,x2:0,y1:0,y2:1},nT(e,ET),{children:n.map((function(e){var t=e.offset,n=e.color,r=e.opacity;return O("stop",{offset:t+"%",stopColor:n,stopOpacity:void 0!==r?r:1},t)}))}))};OT.propTypes={id:os.string.isRequired,colors:os.arrayOf(os.shape({offset:os.number.isRequired,color:os.string.isRequired,opacity:os.number})).isRequired,gradientTransform:os.string};var PT={linearGradient:OT},DT="#000000",jT="#ffffff",NT=4,LT=4,FT=!1,BT=x((function(e){var t=e.id,n=e.background,r=void 0===n?jT:n,i=e.color,o=void 0===i?DT:i,a=e.size,s=void 0===a?NT:a,c=e.padding,l=void 0===c?LT:c,u=e.stagger,f=void 0===u?FT:u,d=s+l,h=s/2,p=l/2;return!0===f&&(d=2*s+2*l),O("pattern",{id:t,width:d,height:d,patternUnits:"userSpaceOnUse",children:[O("rect",{width:d,height:d,fill:r}),O("circle",{cx:p+h,cy:p+h,r:h,fill:o}),f&&O("circle",{cx:1.5*l+s+h,cy:1.5*l+s+h,r:h,fill:o})]})}));BT.displayName="PatternDots",BT.propTypes={id:os.string.isRequired,color:os.string.isRequired,background:os.string.isRequired,size:os.number.isRequired,padding:os.number.isRequired,stagger:os.bool.isRequired};var RT=function(e){return e*Math.PI/180},$T={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"}}},zT=5,IT=0,UT="#000000",HT="#ffffff",VT=2,WT=x((function(e){var t=e.id,n=e.spacing,r=void 0===n?zT:n,i=e.rotation,o=void 0===i?IT:i,a=e.background,s=void 0===a?UT:a,c=e.color,l=void 0===c?HT:c,u=e.lineWidth,f=void 0===u?VT: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,m=h;return 0===d?p="\n M 0 0 L "+g+" 0\n M 0 "+m+" L "+g+" "+m+"\n ":90===d?p="\n M 0 0 L 0 "+m+"\n M "+g+" 0 L "+g+" "+m+"\n ":(g=Math.abs(h/Math.sin(RT(d))),m=h/Math.sin(RT(90-d)),p=d>0?"\n M 0 "+-m+" L "+2*g+" "+m+"\n M "+-g+" "+-m+" L "+g+" "+m+"\n M "+-g+" 0 L "+g+" "+2*m+"\n ":"\n M "+-g+" "+m+" L "+g+" "+-m+"\n M "+-g+" "+2*m+" L "+2*g+" "+-m+"\n M 0 "+2*m+" L "+2*g+" 0\n "),O("pattern",{id:t,width:g,height:m,patternUnits:"userSpaceOnUse",children:[O("rect",{width:g,height:m,fill:s,stroke:"rgba(255, 0, 0, 0.1)",strokeWidth:0}),O("path",{d:p,strokeWidth:f,stroke:l,strokeLinecap:"square"})]})}));WT.displayName="PatternLines",WT.propTypes={id:os.string.isRequired,spacing:os.number.isRequired,rotation:os.number.isRequired,background:os.string.isRequired,color:os.string.isRequired,lineWidth:os.number.isRequired};var YT="#000000",qT="#ffffff",ZT=4,GT=4,XT=!1,QT=x((function(e){var t=e.id,n=e.color,r=void 0===n?YT:n,i=e.background,o=void 0===i?qT:i,a=e.size,s=void 0===a?ZT:a,c=e.padding,l=void 0===c?GT:c,u=e.stagger,f=void 0===u?XT:u,d=s+l,h=l/2;return!0===f&&(d=2*s+2*l),O("pattern",{id:t,width:d,height:d,patternUnits:"userSpaceOnUse",children:[O("rect",{width:d,height:d,fill:o}),O("rect",{x:h,y:h,width:s,height:s,fill:r}),f&&O("rect",{x:1.5*l+s,y:1.5*l+s,width:s,height:s,fill:r})]})}));QT.displayName="PatternSquares",QT.propTypes={id:os.string.isRequired,color:os.string.isRequired,background:os.string.isRequired,size:os.number.isRequired,padding:os.number.isRequired,stagger:os.bool.isRequired};var JT={patternDots:BT,patternLines:WT,patternSquares:QT},KT=["type"],eA=eT({},PT,JT),tA=function(e){var t=e.defs;return!t||t.length<1?null:O("defs",{"aria-hidden":!0,children:t.map((function(e){var t=e.type,n=nT(e,KT);return eA[t]?k(eA[t],eT({key:n.id},n)):null}))})};tA.propTypes={defs:os.arrayOf(os.shape({type:os.oneOf(Object.keys(eA)).isRequired,id:os.string.isRequired}))};var nA=x(tA),rA=function(e){var t=e.width,n=e.height,r=e.margin,i=e.defs,o=e.children,a=e.role,s=e.ariaLabel,c=e.ariaLabelledBy,l=e.ariaDescribedBy,u=e.isFocusable,f=xT();return O("svg",{xmlns:"http://www.w3.org/2000/svg",width:t,height:n,role:a,"aria-label":s,"aria-labelledby":c,"aria-describedby":l,focusable:u,tabIndex:u?0:void 0,children:[O(nA,{defs:i}),O("rect",{width:t,height:n,fill:f.background}),O("g",{transform:"translate("+r.left+","+r.top+")",children:o})]})};rA.propTypes={width:os.number.isRequired,height:os.number.isRequired,margin:os.shape({top:os.number.isRequired,left:os.number.isRequired}).isRequired,defs:os.array,children:os.oneOfType([os.arrayOf(os.node),os.node]).isRequired,role:os.string,isFocusable:os.bool,ariaLabel:os.string,ariaLabelledBy:os.string,ariaDescribedBy:os.string};var iA=function(e){var t=e.size,n=e.color,r=e.borderWidth;return O("circle",{r:t/2,fill:n,stroke:e.borderColor,strokeWidth:r,style:{pointerEvents:"none"}})};iA.propTypes={size:os.number.isRequired,color:os.string.isRequired,borderWidth:os.number.isRequired,borderColor:os.string.isRequired};var oA=x(iA),aA=function(e){var t=e.x,n=e.y,r=e.symbol,i=void 0===r?oA:r,o=e.size,a=e.datum,s=e.color,c=e.borderWidth,l=e.borderColor,u=e.label,f=e.labelTextAnchor,d=void 0===f?"middle":f,h=e.labelYOffset,p=void 0===h?-12:h,g=xT(),m=cT(),b=m.animate,v=wu({transform:"translate("+t+", "+n+")",config:m.config,immediate:!b});return O(Iu.g,{transform:v.transform,style:{pointerEvents:"none"},children:[k(i,{size:o,color:s,datum:a,borderWidth:c,borderColor:l}),u&&O("text",{textAnchor:d,y:p,style:kT(g.dots.text),children:u})]})};aA.propTypes={x:os.number.isRequired,y:os.number.isRequired,datum:os.object.isRequired,size:os.number.isRequired,color:os.string.isRequired,borderWidth:os.number.isRequired,borderColor:os.string.isRequired,symbol:os.oneOfType([os.func,os.object]),label:os.oneOfType([os.string,os.number]),labelTextAnchor:os.oneOf(["start","middle","end"]),labelYOffset:os.number};var sA=x(aA),cA=function(e){var t=e.width,n=e.height,r=e.axis,i=e.scale,o=e.value,a=e.lineStyle,s=e.textStyle,c=e.legend,l=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,m=e.legendOrientation,b=void 0===m?"horizontal":m,v=xT(),y=0,_=0,w=0,x=0;if("y"===r?(w=i(o),_=t):(y=i(o),x=n),c&&!l){var C=function(e){var t=e.width,n=e.height,r=e.position,i=e.offsetX,o=e.offsetY,a=e.orientation,s=0,c=0,l="vertical"===a?-90:0,u="start";if("x"===e.axis)switch(r){case"top-left":s=-i,c=o,u="end";break;case"top":c=-o,u="horizontal"===a?"middle":"start";break;case"top-right":s=i,c=o,u="horizontal"===a?"start":"end";break;case"right":s=i,c=n/2,u="horizontal"===a?"start":"middle";break;case"bottom-right":s=i,c=n-o,u="start";break;case"bottom":c=n+o,u="horizontal"===a?"middle":"end";break;case"bottom-left":c=n-o,s=-i,u="horizontal"===a?"end":"start";break;case"left":s=-i,c=n/2,u="horizontal"===a?"end":"middle"}else switch(r){case"top-left":s=i,c=-o,u="start";break;case"top":s=t/2,c=-o,u="horizontal"===a?"middle":"start";break;case"top-right":s=t-i,c=-o,u="horizontal"===a?"end":"start";break;case"right":s=t+i,u="horizontal"===a?"start":"middle";break;case"bottom-right":s=t-i,c=o,u="end";break;case"bottom":s=t/2,c=o,u="horizontal"===a?"middle":"end";break;case"bottom-left":s=i,c=o,u="horizontal"===a?"start":"end";break;case"left":s=-i,u="horizontal"===a?"end":"middle"}return{x:s,y:c,rotation:l,textAnchor:u}}({axis:r,width:t,height:n,position:f,offsetX:h,offsetY:g,orientation:b});l=O("text",{transform:"translate("+C.x+", "+C.y+") rotate("+C.rotation+")",textAnchor:C.textAnchor,dominantBaseline:"central",style:s,children:c})}return O("g",{transform:"translate("+y+", "+w+")",children:[O("line",{x1:0,x2:_,y1:0,y2:x,stroke:v.markers.lineColor,strokeWidth:v.markers.lineStrokeWidth,style:a}),l]})};cA.propTypes={width:os.number.isRequired,height:os.number.isRequired,axis:os.oneOf(["x","y"]).isRequired,scale:os.func.isRequired,value:os.oneOfType([os.number,os.string,os.instanceOf(Date)]).isRequired,lineStyle:os.object,textStyle:os.object,legend:os.string,legendPosition:os.oneOf(["top-left","top","top-right","right","bottom-right","bottom","bottom-left","left"]),legendOffsetX:os.number.isRequired,legendOffsetY:os.number.isRequired,legendOrientation:os.oneOf(["horizontal","vertical"]).isRequired};var lA=x(cA),uA=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 O(lA,eT({},e,{width:n,height:r,scale:"y"===e.axis?o:i}),t)})):null};uA.propTypes={width:os.number.isRequired,height:os.number.isRequired,xScale:os.func.isRequired,yScale:os.func.isRequired,markers:os.arrayOf(os.shape({axis:os.oneOf(["x","y"]).isRequired,value:os.oneOfType([os.number,os.string,os.instanceOf(Date)]).isRequired,lineStyle:os.object,textStyle:os.object}))};var fA=x(uA),dA=["theme","renderWrapper","animate","motionConfig"],hA=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,tT(n,r),i.prototype.render=function(){var t=this.props,n=t.theme,r=t.renderWrapper,i=t.animate,o=t.motionConfig,a=nT(t,dA);return O(TT,{theme:n,renderWrapper:r,isInteractive:a.isInteractive,animate:i,motionConfig:o,children:O(e,eT({},a))})},i}(M)},pA=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]},gA=Object.keys(PT),mA=Object.keys(JT),bA=function(e,t,n,r){var i={},o=i.dataKey,a=i.colorKey,s=void 0===a?"color":a,c=i.targetKey,l=void 0===c?"fill":c,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(iC(e))return e(t);if(HM(e)){var r=n?ym(t,n):t;return JS(zS(r,Object.keys(e)),e)}return!1}(r.match,t,o)){var c=e.find((function(e){return e.id===a}));if(c)if(mA.includes(c.type))if("inherit"===c.background||"inherit"===c.color){var d=ym(t,s),h=c.background,p=c.color,g=a;"inherit"===c.background&&(g=g+".bg."+d,h=d),"inherit"===c.color&&(g=g+".fg."+d,p=d),xm(t,l,"url(#"+g+")"),f[g]||(u.push(eT({},c,{id:g,background:h,color:p})),f[g]=1)}else xm(t,l,"url(#"+a+")");else if(gA.includes(c.type))if(c.colors.map((function(e){return e.color})).includes("inherit")){var m=ym(t,s),b=a,v=eT({},c,{colors:c.colors.map((function(e,t){return"inherit"!==e.color?e:(b=b+"."+t+"."+m,eT({},e,{color:"inherit"===e.color?m:e.color}))}))});v.id=b,xm(t,l,"url(#"+b+")"),f[b]||(u.push(v),f[b]=1)}else xm(t,l,"url(#"+a+")");return"break"}},i=0;i<n.length&&"break"!==r();i++);}))),u};function vA(){return vA=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},vA.apply(this,arguments)}function yA(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 _A={nivo:["#e8c1a0","#f47560","#f1e15b","#e8a838","#61cdbb","#97e3d5"],category10:fw,accent:dw,dark2:hw,paired:pw,pastel1:gw,pastel2:mw,set1:bw,set2:vw,set3:yw,tableau10:_w},wA=Object.keys(_A),xA={brown_blueGreen:xw,purpleRed_green:kw,pink_yellowGreen:Sw,purple_orange:Aw,red_blue:Ow,red_grey:Dw,red_yellow_blue:Nw,red_yellow_green:Fw,spectral:Rw},CA=Object.keys(xA),kA={brown_blueGreen:Cw,purpleRed_green:Mw,pink_yellowGreen:Tw,purple_orange:Ew,red_blue:Pw,red_grey:jw,red_yellow_blue:Lw,red_yellow_green:Bw,spectral:$w},MA={blues:ux,greens:dx,greys:px,oranges:_x,purples:mx,reds:vx,blue_green:zw,blue_purple:Uw,green_blue:Vw,orange_red:Yw,purple_blue_green:Zw,purple_blue:Xw,purple_red:Jw,red_purple:ex,yellow_green_blue:nx,yellow_green:ix,yellow_orange_brown:ax,yellow_orange_red:cx},SA=Object.keys(MA),TA={blues:fx,greens:hx,greys:gx,oranges:wx,purples:bx,reds:yx,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:eC,inferno:nC,magma:tC,plasma:rC,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:Cx,cool:kx,cubehelixDefault:xx,blue_green:Iw,blue_purple:Hw,green_blue:Ww,orange_red:qw,purple_blue_green:Gw,purple_blue:Qw,purple_red:Kw,red_purple:tx,yellow_green_blue:rx,yellow_green:ox,yellow_orange_brown:sx,yellow_orange_red:lx},AA=vA({},_A,xA,MA),EA={rainbow:function(e){(e<0||e>1)&&(e-=Math.floor(e));var t=Math.abs(e-.5);return Mx.h=360*e-100,Mx.s=1.5-1.5*t,Mx.l=.8-.9*t,Mx+""},sinebow:function(e){var t;return e=(.5-e)*Math.PI,Sx.r=255*(t=Math.sin(e))*t,Sx.g=255*(t=Math.sin(e+Tx))*t,Sx.b=255*(t=Math.sin(e+Ax))*t,Sx+""}};vA({},kA,TA,EA);var OA=function(e,t){if("function"==typeof e)return e;if(HM(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=ym(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 ym(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 yA(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)?yA(e,t):void 0}}(e))||t){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)}),Wm(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}},PA=function(e,t){return w((function(){return OA(e,t)}),[e,t])};os.oneOfType([os.string,os.func,os.shape({theme:os.string.isRequired}),os.shape({from:os.string.isRequired,modifiers:os.arrayOf(os.array)})]);var DA,jA,NA,LA,FA,BA,RA,$A,zA=function(e,t){if("function"==typeof e)return e;var n=function(e){return ym(e,t)};if(Array.isArray(e)){var r=ov(e),i=function(e){return r(n(e))};return i.scale=r,i}if(HM(e)){if(function(e){return void 0!==e.datum}(e))return function(t){return ym(t,e.datum)};if(function(e){return void 0!==e.scheme}(e)){if(function(e){return wA.includes(e)}(e.scheme)){var o=ov(AA[e.scheme]),a=function(e){return o(n(e))};return a.scale=o,a}if(function(e){return CA.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=ov(AA[e.scheme][e.size||11]),c=function(e){return s(n(e))};return c.scale=s,c}if(function(e){return SA.includes(e)}(e.scheme)){if(void 0!==e.size&&(e.size<3||e.size>9))throw new Error("Invalid size '"+e.size+"' for sequential color scheme '"+e.scheme+"', must be between 3~9");var l=ov(AA[e.scheme][e.size||9]),u=function(e){return l(n(e))};return u.scale=l,u}}throw new Error("Invalid colors, when using an object, you should either pass a 'datum' or a 'scheme' property")}return function(){return e}};function IA(){if(LA)return NA;LA=1;var e=ZS(),t=jA?DA:(jA=1,DA=function(){}),n=US(),r=e&&1/n(new e([,-0]))[1]==1/0?function(t){return new e(t)}:t;return NA=r}function UA(){if(BA)return FA;BA=1;var e=oC(),t=sC(),n=cC(),r=lC(),i=IA(),o=US();return FA=function(a,s,c){var l=-1,u=t,f=a.length,d=!0,h=[],p=h;if(c)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(;++l<f;){var m=a[l],b=s?s(m):m;if(m=c||0!==m?m:0,d&&b==b){for(var v=p.length;v--;)if(p[v]===b)continue e;s&&p.push(b),h.push(m)}else u(p,b,c)||(p!==h&&p.push(b),h.push(m))}return h},FA}var HA,VA,WA,YA,qA,ZA,GA,XA,QA,JA,KA,eE,tE,nE,rE,iE,oE,aE,sE,cE,lE,uE,fE=function(){if($A)return RA;$A=1;var e=UA();return RA=function(t){return t&&t.length?e(t):[]},RA}(),dE=Gr(fE);function hE(){if(YA)return WA;YA=1;var e=nh();return WA=function(t){return t==t&&!e(t)}}function pE(){if(XA)return GA;return XA=1,GA=function(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}},GA}function gE(){if(JA)return QA;JA=1;var e=function(){if(VA)return HA;VA=1;var e=dh(),t=QS();return HA=function(n,r,i,o){var a=i.length,s=a,c=!o;if(null==n)return!s;for(n=Object(n);a--;){var l=i[a];if(c&&l[2]?l[1]!==n[l[0]]:!(l[0]in n))return!1}for(;++a<s;){var u=(l=i[a])[0],f=n[u],d=l[1];if(c&&l[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},HA}(),t=function(){if(ZA)return qA;ZA=1;var e=hE(),t=YS();return qA=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},qA}(),n=pE();return QA=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)}},QA}function mE(){if(aE)return oE;aE=1;var e=(nE||(nE=1,tE=function(e){return function(t){return null==t?void 0:t[e]}}),tE),t=function(){if(iE)return rE;iE=1;var e=hm();return rE=function(t){return function(n){return e(n,t)}},rE}(),n=sm(),r=dm();return oE=function(i){return n(i)?e(r(i)):t(i)}}function bE(){if(cE)return sE;cE=1;var e=gE(),t=function(){if(eE)return KA;eE=1;var e=QS(),t=pm(),n=VM(),r=sm(),i=hE(),o=pE(),a=dm();return KA=function(s,c){return r(s)&&i(c)?o(a(s),c):function(r){var i=t(r,s);return void 0===i&&i===c?n(r,s):e(c,i,3)}},KA}(),n=Ag(),r=op(),i=mE();return sE=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 vE,yE,_E,wE,xE,CE,kE,ME,SE,TE,AE,EE,OE,PE,DE,jE,NE,LE,FE=function(){if(uE)return lE;uE=1;var e=bE(),t=UA();return lE=function(n,r){return n&&n.length?t(n,e(r,2)):[]},lE}(),BE=Gr(FE);function RE(){if(CE)return xE;CE=1;var e=function(){if(yE)return vE;yE=1;var e=mh(),t=YS();return vE=function(n,r){return n&&e(n,r,t)},vE}(),t=function(){if(wE)return _E;wE=1;var e=sp();return _E=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}},_E}(),n=t(e);return xE=n}function $E(){if(PE)return OE;PE=1;var e=function(){if(EE)return AE;EE=1;var e=am();return AE=function(t,n){if(t!==n){var r=void 0!==t,i=null===t,o=t==t,a=e(t),s=void 0!==n,c=null===n,l=n==n,u=e(n);if(!c&&!u&&!a&&t>n||a&&s&&l&&!c&&!u||i&&s&&l||!r&&l||!o)return 1;if(!i&&!a&&!u&&t<n||u&&r&&o&&!i&&!a||c&&r&&o||!s&&o||!l)return-1}return 0}}();return OE=function(t,n,r){for(var i=-1,o=t.criteria,a=n.criteria,s=o.length,c=r.length;++i<s;){var l=e(o[i],a[i]);if(l)return i>=c?l:l*("desc"==r[i]?-1:1)}return t.index-n.index},OE}function zE(){if(jE)return DE;jE=1;var e=lm(),t=hm(),n=bE(),r=function(){if(ME)return kE;ME=1;var e=RE(),t=sp();return kE=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},kE}(),i=(TE||(TE=1,SE=function(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}),SE),o=wp(),a=$E(),s=Ag(),c=op();return DE=function(l,u,f){u=u.length?e(u,(function(e){return c(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(l,(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)}))},DE}var IE,UE,HE,VE,WE=Gr(function(){if(LE)return NE;LE=1;var e=qM(),t=zE(),n=Dg(),r=jg(),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 NE=i}());var YE=Gr(function(){if(VE)return HE;VE=1;var e=function(){if(UE)return IE;UE=1;var e=th(),t=rp();return IE=function(n){return t(n)&&"[object Date]"==e(n)}}(),t=wp(),n=vg(),r=n&&n.isDate,i=r?t(r):e;return HE=i}()),qE=new Date,ZE=new Date;function GE(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 GE((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 qE.setTime(+t),ZE.setTime(+r),e(qE),e(ZE),Math.floor(n(qE,ZE))},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 XE=GE((function(){}),(function(e,t){e.setTime(+e+t)}),(function(e,t){return t-e}));XE.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?GE((function(t){t.setTime(Math.floor(t/e)*e)}),(function(t,n){t.setTime(+t+n*e)}),(function(t,n){return(n-t)/e})):XE:null},XE.range;var QE=1e3,JE=6e4,KE=36e5,eO=6048e5,tO=GE((function(e){e.setTime(e-e.getMilliseconds())}),(function(e,t){e.setTime(+e+t*QE)}),(function(e,t){return(t-e)/QE}),(function(e){return e.getUTCSeconds()}));tO.range;var nO=GE((function(e){e.setTime(e-e.getMilliseconds()-e.getSeconds()*QE)}),(function(e,t){e.setTime(+e+t*JE)}),(function(e,t){return(t-e)/JE}),(function(e){return e.getMinutes()}));nO.range;var rO=GE((function(e){e.setTime(e-e.getMilliseconds()-e.getSeconds()*QE-e.getMinutes()*JE)}),(function(e,t){e.setTime(+e+t*KE)}),(function(e,t){return(t-e)/KE}),(function(e){return e.getHours()}));function iO(e){return GE((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())*JE)/eO}))}rO.range;var oO=iO(0),aO=iO(1),sO=iO(2),cO=iO(3),lO=iO(4),uO=iO(5),fO=iO(6);oO.range,aO.range,sO.range,cO.range,lO.range,uO.range,fO.range;var dO=GE((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()}));dO.range;var hO=GE((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()}));hO.every=function(e){return isFinite(e=Math.floor(e))&&e>0?GE((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},hO.range;var pO=GE((function(e){e.setUTCSeconds(0,0)}),(function(e,t){e.setTime(+e+t*JE)}),(function(e,t){return(t-e)/JE}),(function(e){return e.getUTCMinutes()}));pO.range;var gO=GE((function(e){e.setUTCMinutes(0,0,0)}),(function(e,t){e.setTime(+e+t*KE)}),(function(e,t){return(t-e)/KE}),(function(e){return e.getUTCHours()}));function mO(e){return GE((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)/eO}))}gO.range;var bO=mO(0),vO=mO(1),yO=mO(2),_O=mO(3),wO=mO(4),xO=mO(5),CO=mO(6);bO.range,vO.range,yO.range,_O.range,wO.range,xO.range,CO.range;var kO=GE((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()}));kO.range;var MO=GE((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 SO(){return SO=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},SO.apply(this,arguments)}MO.every=function(e){return isFinite(e=Math.floor(e))&&e>0?GE((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},MO.range;var TO=[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)}],AO={millisecond:[],second:TO.slice(0,1),minute:TO.slice(0,2),hour:TO.slice(0,3),day:TO.slice(0,4),month:TO.slice(0,5),year:TO.slice(0,6)},EO=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 AO[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?rk(n):nk(n);return s(t(e))}},OO=function(e,t,n,r){var i,o,a,s,c=e.min,l=void 0===c?0:c,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,m=e.clamp,b=void 0!==m&&m,v=e.nice,y=void 0!==v&&v;i="auto"===l?!0===h?null!=(o=t.minStacked)?o:0:t.min:l,a="auto"===f?!0===h?null!=(s=t.maxStacked)?s:0:t.max:f;var _=Lv().rangeRound("x"===r?[0,n]:[n,0]).domain(g?[a,i]:[i,a]).clamp(b);return!0===y?_.nice():"number"==typeof y&&_.nice(y),PO(_,h)},PO=function(e,t){void 0===t&&(t=!1);var n=e;return n.type="linear",n.stacked=t,n},DO=function(e){var t=e;return t.type="band",t},jO=function(e,t,n){var r,i,o=e.format,a=void 0===o?"native":o,s=e.precision,c=void 0===s?"millisecond":s,l=e.min,u=void 0===l?"auto":l,f=e.max,d=void 0===f?"auto":f,h=e.useUTC,p=void 0===h||h,g=e.nice,m=void 0!==g&&g,b=EO({format:a,precision:c,useUTC:p});r="auto"===u?b(t.min):"native"!==a?b(u):u,i="auto"===d?b(t.max):"native"!==a?b(d):d;var v=p?function(){return rv.apply(lw(Ny,Ly,Dy,Oy,xy,fy,ly,sy,oy,Hy).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)}():function(){return rv.apply(lw(Fy,By,Py,Ey,py,uy,cy,ay,oy,Uy).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}();v.range([0,n]),r&&i&&v.domain([r,i]),!0===m?v.nice():"object"!=typeof m&&"number"!=typeof m||v.nice(m);var y=v;return y.type="time",y.useUTC=p,y},NO=function(e,t,n,r){var i,o=e.base,a=void 0===o?10:o,s=e.min,c=void 0===s?"auto":s,l=e.max,u=void 0===l?"auto":l;if(t.all.some((function(e){return 0===e})))throw new Error("a log scale domain must not include or cross zero");var 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"===c?t.min:c,d="auto"===u?t.max:u;var p=Vv().domain([f,d]).rangeRound("x"===r?[0,n]:[n,0]).base(a).nice();return p.type="log",p},LO=function(e,t){return e===t},FO=function(e,t){return e.getTime()===t.getTime()};function BO(e,t,n,r){switch(e.type){case"linear":return OO(e,t,n,r);case"point":return function(e,t,n){var r=cv().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,a=av().range("x"===r?[0,n]:[n,0]).domain(t.all).round(o);return DO(a)}(e,t,n,r);case"time":return jO(e,t,n);case"log":return NO(e,t,n,r);case"symlog":return function(e,t,n,r){var i,o,a=e.constant,s=void 0===a?1:a,c=e.min,l=void 0===c?"auto":c,u=e.max,f=void 0===u?"auto":u,d=e.reverse,h=void 0!==d&&d;i="auto"===l?t.min:l,o="auto"===f?t.max:f;var p=qv().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 RO=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},$O=function(e,t,n){return{x:zO(e,"x",t),y:zO(e,"y",n)}},zO=function(e,t,n,r){var i={},o=i.getValue,a=void 0===o?function(e){return e.data[t]}:o,s=i.setValue,c=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&&c(e,parseFloat(String(t)))}))}));else if("time"===n.type&&"native"!==n.format){var l=EO(n);e.forEach((function(e){e.data.forEach((function(e){var t=a(e);t&&c(e,l(t))}))}))}var u=[];switch(e.forEach((function(e){e.data.forEach((function(e){u.push(a(e))}))})),n.type){case"linear":var f=WE(dE(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=BE(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:Ib(d)};default:var h=dE(u);return{all:h,min:h[0],max:Ib(h)}}},IO=function(e,t,n){var r=function(e){return"x"===e?"y":"x"}(e),i=[];t[r].all.forEach((function(t){var o=YE(t)?FO:LO,a=[];n.forEach((function(n){var s=n.data.find((function(e){return o(e.data[r],t)})),c=null,l=null;if(void 0!==s){if(null!==(c=s.data[e])){var u=Ib(a);void 0===u?l=c:null!==u&&(l=u+c)}s.data["x"===e?"xStacked":"yStacked"]=l}a.push(l),null!==l&&i.push(l)}))})),t[e].minStacked=Math.min.apply(Math,i),t[e].maxStacked=Math.max.apply(Math,i)},UO=function(e,t){return IO("x",e,t)},HO=function(e,t){return IO("y",e,t)},VO=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}},WO={millisecond:[XE,XE],second:[tO,tO],minute:[nO,pO],hour:[rO,gO],day:[GE((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)})),GE((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:[oO,bO],sunday:[oO,bO],monday:[aO,vO],tuesday:[sO,yO],wednesday:[cO,_O],thursday:[lO,wO],friday:[uO,xO],saturday:[fO,CO],month:[dO,kO],year:[hO,MO]},YO=Object.keys(WO),qO=new RegExp("^every\\s*(\\d+)?\\s*("+YO.join("|")+")s?$","i"),ZO=function(e,t){if(Array.isArray(t))return t;if("string"==typeof t&&"useUTC"in e){var n=t.match(qO);if(n){var r=n[1],i=n[2],o=WO[i][e.useUTC?1:0];if("day"===i){var a,s,c=e.domain(),l=c[0],u=c[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(l,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 GO(){return GO=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},GO.apply(this,arguments)}var XO=function(e){var t,n=e.axis,r=e.scale,i=e.ticksPosition,o=e.tickValues,a=e.tickSize,s=e.tickPadding,c=e.tickRotation,l=e.truncateTickAt,u=e.engine,f=void 0===u?"svg":u,d=ZO(r,o),h=$T[f],p="bandwidth"in r?VO(r):r,g={lineX:0,lineY:0},m={textX:0,textY:0},b="object"==typeof document&&"rtl"===document.dir,v=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),m.textY=(a+s)*("after"===i?1:-1),y="after"===i?h.baseline.top:h.baseline.bottom,0===c?v=h.align.center:"after"===i&&c<0||"before"===i&&c>0?(v=h.align[b?"left":"right"],y=h.baseline.center):("after"===i&&c>0||"before"===i&&c<0)&&(v=h.align[b?"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),m.textX=(a+s)*("after"===i?1:-1),v="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 l&&l>0&&t>l?""+String(e).slice(0,l).concat("..."):""+e}(e):e;return GO({key:e instanceof Date?""+e.valueOf():""+e,value:n},t(e),g,m)})),textAlign:v,textBaseline:y}},QO=function(e,t){if(void 0===e||"function"==typeof e)return e;if("time"===t.type){var n=tk(e);return function(e){return n(e instanceof Date?e:new Date(e))}}return wC(e)},JO=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)||ZO(i,a)),c="bandwidth"in i?VO(i):i,l="x"===o?s.map((function(e){var t,n;return{key:e instanceof Date?""+e.valueOf():""+e,x1:null!=(t=c(e))?t:0,x2:null!=(n=c(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=c(e))?t:0,y2:null!=(r=c(e))?r:0}}));return l},KO=x((function(e){var t,n=e.value,r=e.format,i=e.lineX,o=e.lineY,a=e.onClick,s=e.textBaseline,c=e.textAnchor,l=e.animatedProps,u=xT(),f=u.axis.ticks.line,d=u.axis.ticks.text,h=null!=(t=null==r?void 0:r(n))?t:n,p=w((function(){var e={opacity:l.opacity};return a?{style:GO({},e,{cursor:"pointer"}),onClick:function(e){return a(e,h)}}:{style:e}}),[l.opacity,a,h]);return O(Iu.g,GO({transform:l.transform},p,{children:[O("line",{x1:0,x2:i,y1:0,y2:o,style:f}),d.outlineWidth>0&&O(Iu.text,{dominantBaseline:s,textAnchor:c,transform:l.textTransform,style:d,strokeWidth:2*d.outlineWidth,stroke:d.outlineColor,strokeLinejoin:"round",children:""+h}),O(Iu.text,{dominantBaseline:s,textAnchor:c,transform:l.textTransform,style:kT(d),children:""+h})]}))})),eP=x((function(e){var t=e.axis,r=e.scale,i=e.x,o=void 0===i?0:i,a=e.y,s=void 0===a?0:a,c=e.length,l=e.ticksPosition,u=e.tickValues,f=e.tickSize,d=void 0===f?5:f,p=e.tickPadding,g=void 0===p?5:p,m=e.tickRotation,b=void 0===m?0:m,v=e.format,_=e.renderTick,x=void 0===_?KO:_,C=e.truncateTickAt,k=e.legend,M=e.legendPosition,S=void 0===M?"end":M,T=e.legendOffset,A=void 0===T?0:T,E=e.onClick,P=e.ariaHidden,D=xT(),j=D.axis.legend.text,N=w((function(){return QO(v,r)}),[v,r]),L=XO({axis:t,scale:r,ticksPosition:l,tickValues:u,tickSize:d,tickPadding:g,tickRotation:b,truncateTickAt:C}),F=L.ticks,B=L.textAlign,R=L.textBaseline,$=null;if(void 0!==k){var z,I=0,U=0,H=0;"y"===t?(H=-90,I=A,"start"===S?(z="start",U=c):"middle"===S?(z="middle",U=c/2):"end"===S&&(z="end")):(U=A,"start"===S?z="start":"middle"===S?(z="middle",I=c/2):"end"===S&&(z="end",I=c)),$=O(n,{children:[j.outlineWidth>0&&O("text",{transform:"translate("+I+", "+U+") rotate("+H+")",textAnchor:z,style:GO({dominantBaseline:"central"},j),strokeWidth:2*j.outlineWidth,stroke:j.outlineColor,strokeLinejoin:"round",children:k}),O("text",{transform:"translate("+I+", "+U+") rotate("+H+")",textAnchor:z,style:GO({dominantBaseline:"central"},j),children:k})]})}var V=cT(),W=V.animate,Y=V.config,q=wu({transform:"translate("+o+","+s+")",lineX2:"x"===t?c:0,lineY2:"x"===t?0:c,config:Y,immediate:!W}),Z=y((function(e){return{opacity:1,transform:"translate("+e.x+","+e.y+")",textTransform:"translate("+e.textX+","+e.textY+") rotate("+b+")"}}),[b]),G=y((function(e){return{opacity:0,transform:"translate("+e.x+","+e.y+")",textTransform:"translate("+e.textX+","+e.textY+") rotate("+b+")"}}),[b]),X=xu(F,{keys:function(e){return e.key},initial:Z,from:G,enter:Z,update:Z,leave:{opacity:0},config:Y,immediate:!W});return O(Iu.g,{transform:q.transform,"aria-hidden":P,children:[X((function(e,t,n,r){return h.createElement(x,GO({tickIndex:r,format:N,rotate:b,textBaseline:R,textAnchor:B,truncateTickAt:C,animatedProps:e},t,E?{onClick:E}:{}))})),O(Iu.line,{style:D.axis.domain.line,x1:0,x2:q.lineX2,y1:0,y2:q.lineY2}),$]})})),tP=["top","right","bottom","left"],nP=x((function(e){var t=e.xScale,r=e.yScale,i=e.width,o=e.height,a={top:e.top,right:e.right,bottom:e.bottom,left:e.left};return O(n,{children:tP.map((function(e){var n=a[e];if(!n)return null;var s="top"===e||"bottom"===e;return O(eP,GO({},n,{axis:s?"x":"y",x:"right"===e?i:0,y:"bottom"===e?o:0,scale:s?t:r,length:s?i:o,ticksPosition:"top"===e||"left"===e?"before":"after",truncateTickAt:n.truncateTickAt}),e)}))})})),rP=x((function(e){var t=e.animatedProps,n=xT();return O(Iu.line,GO({},t,n.grid.line))})),iP=x((function(e){var t=e.lines,n=cT(),r=n.animate,i=xu(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 O("g",{children:i((function(e,t){return k(rP,GO({},t,{key:t.key,animatedProps:e}))}))})})),oP=x((function(e){var t=e.width,r=e.height,i=e.xScale,o=e.yScale,a=e.xValues,s=e.yValues,c=w((function(){return!!i&&JO({width:t,height:r,scale:i,axis:"x",values:a})}),[i,a,t,r]),l=w((function(){return!!o&&JO({width:t,height:r,scale:o,axis:"y",values:s})}),[r,t,o,s]);return O(n,{children:[c&&O(iP,{lines:c}),l&&O(iP,{lines:l})]})})),aP=function(e,t){var n=t.xScale,r=t.yScale,i=t.width,o=t.height,a=t.top,s=t.right,c=t.bottom,l=t.left,u=t.theme,f={top:a,right:s,bottom:c,left:l};tP.forEach((function(t){var a=f[t];if(!a)return null;var s="top"===t||"bottom"===t,c="top"===t||"left"===t?"before":"after",l=s?n:r,d=QO(a.format,l);!function(e,t){var n,r=t.axis,i=t.scale,o=t.x,a=void 0===o?0:o,s=t.y,c=void 0===s?0:s,l=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,m=t.tickRotation,b=void 0===m?0:m,v=t.format,y=t.legend,_=t.legendPosition,w=void 0===_?"end":_,x=t.legendOffset,C=void 0===x?0:x,k=t.theme,M=XO({axis:r,scale:i,ticksPosition:u,tickValues:f,tickSize:h,tickPadding:g,tickRotation:b,engine:"canvas"}),S=M.ticks,T=M.textAlign,A=M.textBaseline;e.save(),e.translate(a,c),e.textAlign=T,e.textBaseline=A;var E=k.axis.ticks.text;e.font=(E.fontWeight?E.fontWeight+" ":"")+E.fontSize+"px "+E.fontFamily,(null!=(n=k.axis.domain.line.strokeWidth)?n:0)>0&&(e.lineWidth=Number(k.axis.domain.line.strokeWidth),e.lineCap="square",k.axis.domain.line.stroke&&(e.strokeStyle=k.axis.domain.line.stroke),e.beginPath(),e.moveTo(0,0),e.lineTo("x"===r?l:0,"x"===r?0:l),e.stroke());var O="function"==typeof v?v:function(e){return""+e};if(S.forEach((function(t){var n;(null!=(n=k.axis.ticks.line.strokeWidth)?n:0)>0&&(e.lineWidth=Number(k.axis.ticks.line.strokeWidth),e.lineCap="square",k.axis.ticks.line.stroke&&(e.strokeStyle=k.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=O(t.value);e.save(),e.translate(t.x+t.textX,t.y+t.textY),e.rotate(RT(b)),E.outlineWidth>0&&(e.strokeStyle=E.outlineColor,e.lineWidth=2*E.outlineWidth,e.lineJoin="round",e.strokeText(""+r,0,0)),k.axis.ticks.text.fill&&(e.fillStyle=E.fill),e.fillText(""+r,0,0),e.restore()})),void 0!==y){var P=0,D=0,j=0,N="center";"y"===r?(j=-90,P=C,"start"===w?(N="start",D=l):"middle"===w?(N="center",D=l/2):"end"===w&&(N="end")):(D=C,"start"===w?N="start":"middle"===w?(N="center",P=l/2):"end"===w&&(N="end",P=l)),e.translate(P,D),e.rotate(RT(j)),e.font=(k.axis.legend.text.fontWeight?k.axis.legend.text.fontWeight+" ":"")+k.axis.legend.text.fontSize+"px "+k.axis.legend.text.fontFamily,k.axis.legend.text.fill&&(e.fillStyle=k.axis.legend.text.fill),e.textAlign=N,e.textBaseline="middle",e.fillText(y,0,0)}e.restore()}(e,GO({},a,{axis:s?"x":"y",x:"right"===t?i:0,y:"bottom"===t?o:0,scale:l,format:d,length:s?i:o,ticksPosition:c,theme:u}))}))},sP=function(e,t){var n=t.width,r=t.height,i=t.scale,o=t.axis,a=t.values;JO({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 cP(){return cP=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},cP.apply(this,arguments)}var lP,uP,fP={top:0,right:0,bottom:0,left:0},dP=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 c="number"==typeof i?{top:i,right:i,bottom:i,left:i}:cP({},fP,i),l=c.left+c.right,u=c.top+c.bottom,f=a+l,d=s+u,h=(o-1)*r;return"row"===n?f=a*o+h+l:"column"===n&&(d=s*o+h+u),{width:f,height:d,padding:c}},hP=function(e){var t=e.anchor,n=e.translateX,r=e.translateY,i=e.containerWidth,o=e.containerHeight,a=e.width,s=e.height,c=n,l=r;switch(t){case"top":c+=(i-a)/2;break;case"top-right":c+=i-a;break;case"right":c+=i-a,l+=(o-s)/2;break;case"bottom-right":c+=i-a,l+=o-s;break;case"bottom":c+=(i-a)/2,l+=o-s;break;case"bottom-left":l+=o-s;break;case"left":l+=(o-s)/2;break;case"center":c+=(i-a)/2,l+=(o-s)/2}return{x:c,y:l}},pP=function(e){var t,n,r,i,o,a,s=e.direction,c=e.justify,l=e.symbolSize,u=e.symbolSpacing,f=e.width,d=e.height;switch(s){case"left-to-right":t=0,n=(d-l)/2,i=d/2,a="central",c?(r=f,o="end"):(r=l+u,o="start");break;case"right-to-left":t=f-l,n=(d-l)/2,i=d/2,a="central",c?(r=0,o="start"):(r=f-l-u,o="end");break;case"top-to-bottom":t=(f-l)/2,n=0,r=f/2,o="middle",c?(i=d,a="alphabetic"):(i=l+u,a="text-before-edge");break;case"bottom-to-top":t=(f-l)/2,n=d-l,r=f/2,o="middle",c?(i=0,a="text-before-edge"):(i=d-l-u,a="alphabetic")}return{symbolX:t,symbolY:n,labelX:r,labelY:i,labelAnchor:o,labelAlignment:a}},gP={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,c=void 0===s?0:s,l=e.borderColor;return O("circle",{r:r/2,cx:t+r/2,cy:n+r/2,fill:i,opacity:a,strokeWidth:c,stroke:void 0===l?"transparent":l,style:{pointerEvents:"none"}})},diamond:function(e){var t=e.x,n=e.y,r=e.size,i=e.fill,o=e.opacity,a=void 0===o?1:o,s=e.borderWidth,c=void 0===s?0:s,l=e.borderColor;return O("g",{transform:"translate("+t+","+n+")",children:O("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:c,stroke:void 0===l?"transparent":l,style:{pointerEvents:"none"}})})},square:function(e){var t=e.x,n=e.y,r=e.size,i=e.fill,o=e.opacity,a=void 0===o?1:o,s=e.borderWidth,c=void 0===s?0:s,l=e.borderColor;return O("rect",{x:t,y:n,fill:i,opacity:a,strokeWidth:c,stroke:void 0===l?"transparent":l,width:r,height:r,style:{pointerEvents:"none"}})},triangle:function(e){var t=e.x,n=e.y,r=e.size,i=e.fill,o=e.opacity,a=void 0===o?1:o,s=e.borderWidth,c=void 0===s?0:s,l=e.borderColor;return O("g",{transform:"translate("+t+","+n+")",children:O("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:c,stroke:void 0===l?"transparent":l,style:{pointerEvents:"none"}})})}},mP=function(e){var t,n,r,i,o,a,s,c,l,u,f,d=e.x,p=e.y,g=e.width,b=e.height,v=e.data,_=e.direction,w=void 0===_?"left-to-right":_,x=e.justify,C=void 0!==x&&x,k=e.textColor,M=e.background,S=void 0===M?"transparent":M,T=e.opacity,A=void 0===T?1:T,E=e.symbolShape,P=void 0===E?"square":E,D=e.symbolSize,j=void 0===D?16:D,N=e.symbolSpacing,L=void 0===N?8:N,F=e.symbolBorderWidth,B=void 0===F?0:F,R=e.symbolBorderColor,$=void 0===R?"transparent":R,z=e.onClick,I=e.onMouseEnter,U=e.onMouseLeave,H=e.toggleSerie,V=e.effects,W=m({}),Y=W[0],q=W[1],Z=xT(),G=y((function(e){if(V){var t=V.filter((function(e){return"hover"===e.on})).reduce((function(e,t){return cP({},e,t.style)}),{});q(t)}null==I||I(v,e)}),[I,v,V]),X=y((function(e){if(V){var t=V.filter((function(e){return"hover"!==e.on})).reduce((function(e,t){return cP({},e,t.style)}),{});q(t)}null==U||U(v,e)}),[U,v,V]),Q=pP({direction:w,justify:C,symbolSize:null!=(t=Y.symbolSize)?t:j,symbolSpacing:L,width:g,height:b}),J=Q.symbolX,K=Q.symbolY,ee=Q.labelX,te=Q.labelY,ne=Q.labelAnchor,re=Q.labelAlignment,ie=[z,I,U,H].some((function(e){return void 0!==e})),oe="function"==typeof P?P:gP[P];return O("g",{transform:"translate("+d+","+p+")",style:{opacity:null!=(n=Y.itemOpacity)?n:A},children:[O("rect",{width:g,height:b,fill:null!=(r=Y.itemBackground)?r:S,style:{cursor:ie?"pointer":"auto"},onClick:function(e){null==z||z(v,e),null==H||H(v.id)},onMouseEnter:G,onMouseLeave:X}),h.createElement(oe,cP({id:v.id,x:J,y:K,size:null!=(i=Y.symbolSize)?i:j,fill:null!=(o=null!=(a=v.fill)?a:v.color)?o:"black",borderWidth:null!=(s=Y.symbolBorderWidth)?s:B,borderColor:null!=(c=Y.symbolBorderColor)?c:$},v.hidden?Z.legends.hidden.symbol:void 0)),O("text",{textAnchor:ne,style:cP({},kT(Z.legends.text),{fill:null!=(l=null!=(u=null!=(f=Y.itemTextColor)?f:k)?u:Z.legends.text.fill)?l:"black",dominantBaseline:re,pointerEvents:"none",userSelect:"none"},v.hidden?Z.legends.hidden.text:void 0),x:ee,y:te,children:v.label})]})},bP=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,c=e.effects,l=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,m=e.itemBackground,b=void 0===m?"transparent":m,v=e.itemOpacity,y=void 0===v?1:v,_=e.symbolShape,w=e.symbolSize,x=e.symbolSpacing,C=e.symbolBorderWidth,k=e.symbolBorderColor,M=e.onClick,S=e.onMouseEnter,T=e.onMouseLeave,A=e.toggleSerie,E=dP({itemCount:t.length,itemWidth:l,itemHeight:u,itemsSpacing:p,direction:i,padding:a}).padding,P="row"===i?l+p:0,D="column"===i?u+p:0;return O("g",{transform:"translate("+n+","+r+")",children:t.map((function(e,t){return O(mP,{data:e,x:t*P+E.left,y:t*D+E.top,width:l,height:u,direction:d,justify:s,effects:c,textColor:g,background:b,opacity:y,symbolShape:_,symbolSize:w,symbolSpacing:x,symbolBorderWidth:C,symbolBorderColor:k,onClick:M,onMouseEnter:S,onMouseLeave:T,toggleSerie:A},t)}))})},vP=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,c=e.anchor,l=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,m=e.itemHeight,b=e.itemDirection,v=e.itemTextColor,y=e.itemBackground,_=e.itemOpacity,w=e.symbolShape,x=e.symbolSize,C=e.symbolSpacing,k=e.symbolBorderWidth,M=e.symbolBorderColor,S=e.onClick,T=e.onMouseEnter,A=e.onMouseLeave,E=e.toggleSerie,P=e.effects,D=dP({itemCount:t.length,itemsSpacing:p,itemWidth:g,itemHeight:m,direction:l,padding:f}),j=D.width,N=D.height,L=hP({anchor:c,translateX:o,translateY:s,containerWidth:n,containerHeight:r,width:j,height:N}),F=L.x,B=L.y;return O(bP,{data:t,x:F,y:B,direction:l,padding:f,justify:d,effects:P,itemsSpacing:p,itemWidth:g,itemHeight:m,itemDirection:b,itemTextColor:v,itemBackground:y,itemOpacity:_,symbolShape:w,symbolSize:x,symbolSpacing:C,symbolBorderWidth:k,symbolBorderColor:M,onClick:S,onMouseEnter:T,onMouseLeave:A,toggleSerie:"boolean"==typeof E?void 0:E})},yP={start:"left",middle:"center",end:"right"},_P=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,c=void 0===s?0:s,l=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,m=void 0===g?0:g,b=t.itemWidth,v=t.itemHeight,y=t.itemDirection,_=void 0===y?"left-to-right":y,w=t.itemTextColor,x=t.symbolSize,C=void 0===x?16:x,k=t.symbolSpacing,M=void 0===k?8:k,S=t.theme,T=dP({itemCount:n.length,itemWidth:b,itemHeight:v,itemsSpacing:m,direction:u,padding:d}),A=T.width,E=T.height,O=T.padding,P=hP({anchor:l,translateX:a,translateY:c,containerWidth:r,containerHeight:i,width:A,height:E}),D=P.x,j=P.y,N="row"===u?b+m:0,L="column"===u?v+m:0;e.save(),e.translate(D,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+O.left,a=n*L+O.top,s=pP({direction:_,justify:p,symbolSize:C,symbolSpacing:M,width:b,height:v}),c=s.symbolX,l=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+c,a+l,C,C),e.textAlign=yP[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()};var wP=function(){if(uP)return lP;uP=1;var e=um(),t=0;return lP=function(n){var r=++t;return e(n)+r},lP}(),xP=Gr(wP);const CP=134217729;function kP(e,t,n,r,i){let o,a,s,c,l=t[0],u=r[0],f=0,d=0;u>l==u>-l?(o=l,l=t[++f]):(o=u,u=r[++d]);let h=0;if(f<e&&d<n)for(u>l==u>-l?(a=l+o,s=o-(a-l),l=t[++f]):(a=u+o,s=o-(a-u),u=r[++d]),o=a,0!==s&&(i[h++]=s);f<e&&d<n;)u>l==u>-l?(a=o+l,c=a-o,s=o-(a-c)+(l-c),l=t[++f]):(a=o+u,c=a-o,s=o-(a-c)+(u-c),u=r[++d]),o=a,0!==s&&(i[h++]=s);for(;f<e;)a=o+l,c=a-o,s=o-(a-c)+(l-c),l=t[++f],o=a,0!==s&&(i[h++]=s);for(;d<n;)a=o+u,c=a-o,s=o-(a-c)+(u-c),u=r[++d],o=a,0!==s&&(i[h++]=s);return 0===o&&0!==h||(i[h++]=o),h}function MP(e){return new Float64Array(e)}const SP=MP(4),TP=MP(8),AP=MP(12),EP=MP(16),OP=MP(4);function PP(e,t,n,r,i,o){const a=(t-o)*(n-i),s=(e-i)*(r-o),c=a-s,l=Math.abs(a+s);return Math.abs(c)>=33306690738754716e-32*l?c:-function(e,t,n,r,i,o,a){let s,c,l,u,f,d,h,p,g,m,b,v,y,_,w,x,C,k;const M=e-i,S=n-i,T=t-o,A=r-o;_=M*A,d=CP*M,h=d-(d-M),p=M-h,d=CP*A,g=d-(d-A),m=A-g,w=p*m-(_-h*g-p*g-h*m),x=T*S,d=CP*T,h=d-(d-T),p=T-h,d=CP*S,g=d-(d-S),m=S-g,C=p*m-(x-h*g-p*g-h*m),b=w-C,f=w-b,SP[0]=w-(b+f)+(f-C),v=_+b,f=v-_,y=_-(v-f)+(b-f),b=y-x,f=y-b,SP[1]=y-(b+f)+(f-x),k=v+b,f=k-v,SP[2]=v-(k-f)+(b-f),SP[3]=k;let E=function(e,t){let n=t[0];for(let r=1;r<e;r++)n+=t[r];return n}(4,SP),O=22204460492503146e-32*a;if(E>=O||-E>=O)return E;if(f=e-M,s=e-(M+f)+(f-i),f=n-S,l=n-(S+f)+(f-i),f=t-T,c=t-(T+f)+(f-o),f=r-A,u=r-(A+f)+(f-o),0===s&&0===c&&0===l&&0===u)return E;if(O=11093356479670487e-47*a+33306690738754706e-32*Math.abs(E),E+=M*u+A*s-(T*l+S*c),E>=O||-E>=O)return E;_=s*A,d=CP*s,h=d-(d-s),p=s-h,d=CP*A,g=d-(d-A),m=A-g,w=p*m-(_-h*g-p*g-h*m),x=c*S,d=CP*c,h=d-(d-c),p=c-h,d=CP*S,g=d-(d-S),m=S-g,C=p*m-(x-h*g-p*g-h*m),b=w-C,f=w-b,OP[0]=w-(b+f)+(f-C),v=_+b,f=v-_,y=_-(v-f)+(b-f),b=y-x,f=y-b,OP[1]=y-(b+f)+(f-x),k=v+b,f=k-v,OP[2]=v-(k-f)+(b-f),OP[3]=k;const P=kP(4,SP,4,OP,TP);_=M*u,d=CP*M,h=d-(d-M),p=M-h,d=CP*u,g=d-(d-u),m=u-g,w=p*m-(_-h*g-p*g-h*m),x=T*l,d=CP*T,h=d-(d-T),p=T-h,d=CP*l,g=d-(d-l),m=l-g,C=p*m-(x-h*g-p*g-h*m),b=w-C,f=w-b,OP[0]=w-(b+f)+(f-C),v=_+b,f=v-_,y=_-(v-f)+(b-f),b=y-x,f=y-b,OP[1]=y-(b+f)+(f-x),k=v+b,f=k-v,OP[2]=v-(k-f)+(b-f),OP[3]=k;const D=kP(P,TP,4,OP,AP);_=s*u,d=CP*s,h=d-(d-s),p=s-h,d=CP*u,g=d-(d-u),m=u-g,w=p*m-(_-h*g-p*g-h*m),x=c*l,d=CP*c,h=d-(d-c),p=c-h,d=CP*l,g=d-(d-l),m=l-g,C=p*m-(x-h*g-p*g-h*m),b=w-C,f=w-b,OP[0]=w-(b+f)+(f-C),v=_+b,f=v-_,y=_-(v-f)+(b-f),b=y-x,f=y-b,OP[1]=y-(b+f)+(f-x),k=v+b,f=k-v,OP[2]=v-(k-f)+(b-f),OP[3]=k;const j=kP(D,AP,4,OP,EP);return EP[j-1]}(e,t,n,r,i,o,l)}const DP=Math.pow(2,-52),jP=new Uint32Array(512);class NP{static from(e,t=zP,n=IP){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 NP(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,c=-1/0,l=-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>c&&(c=n),r>l&&(l=r),this._ids[t]=t}const u=(a+c)/2,f=(s+l)/2;let d,h,p;for(let t=0,n=1/0;t<o;t++){const r=LP(u,f,e[2*t],e[2*t+1]);r<n&&(d=t,n=r)}const g=e[2*d],m=e[2*d+1];for(let t=0,n=1/0;t<o;t++){if(t===d)continue;const r=LP(g,m,e[2*t],e[2*t+1]);r<n&&r>0&&(h=t,n=r)}let b=e[2*h],v=e[2*h+1],y=1/0;for(let t=0;t<o;t++){if(t===d||t===h)continue;const n=BP(g,m,b,v,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];RP(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(PP(g,m,b,v,_,w)<0){const e=h,t=b,n=v;h=p,b=_,v=w,p=e,_=t,w=n}const x=function(e,t,n,r,i,o){const a=n-e,s=r-t,c=i-e,l=o-t,u=a*a+s*s,f=c*c+l*l,d=.5/(a*l-s*c),h=e+(l*u-s*f)*d,p=t+(a*f-c*u)*d;return{x:h,y:p}}(g,m,b,v,_,w);this._cx=x.x,this._cy=x.y;for(let t=0;t<o;t++)this._dists[t]=LP(e[2*t],e[2*t+1],x.x,x.y);RP(this._ids,this._dists,0,o-1),this._hullStart=d;let C=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,m)]=d,i[this._hashKey(b,v)]=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 c=this._ids[s],l=e[2*c],u=e[2*c+1];if(s>0&&Math.abs(l-o)<=DP&&Math.abs(u-a)<=DP)continue;if(o=l,a=u,c===d||c===h||c===p)continue;let f=0;for(let e=0,t=this._hashKey(l,u);e<this._hashSize&&(f=i[(t+e)%this._hashSize],-1===f||f===n[f]);e++);f=t[f];let g,m=f;for(;g=n[m],PP(l,u,e[2*m],e[2*m+1],e[2*g],e[2*g+1])>=0;)if(m=g,m===f){m=-1;break}if(-1===m)continue;let b=this._addTriangle(m,c,n[m],-1,-1,r[m]);r[c]=this._legalize(b+2),r[m]=b,C++;let v=n[m];for(;g=n[v],PP(l,u,e[2*v],e[2*v+1],e[2*g],e[2*g+1])<0;)b=this._addTriangle(v,c,g,r[c],-1,r[v]),r[c]=this._legalize(b+2),n[v]=v,C--,v=g;if(m===f)for(;g=t[m],PP(l,u,e[2*g],e[2*g+1],e[2*m],e[2*m+1])<0;)b=this._addTriangle(g,c,m,-1,r[m],r[g]),this._legalize(b+2),r[g]=b,n[m]=m,C--,m=g;this._hullStart=t[c]=m,n[m]=t[v]=c,n[c]=v,i[this._hashKey(l,u)]=c,i[this._hashKey(e[2*m],e[2*m+1])]=m}this.hull=new Uint32Array(C);for(let e=0,t=this._hullStart;e<C;e++)this.hull[e]=t,t=n[t];this.triangles=this._triangles.subarray(0,this.trianglesLen),this.halfedges=this._halfedges.subarray(0,this.trianglesLen)}_hashKey(e,t){return Math.floor(function(e,t){const n=e/(Math.abs(e)+Math.abs(t));return(t>0?3-n:1+n)/4}(e-this._cx,t-this._cy)*this._hashSize)%this._hashSize}_legalize(e){const{_triangles:t,_halfedges:n,coords:r}=this;let i=0,o=0;for(;;){const a=n[e],s=e-e%3;if(o=s+(e+2)%3,-1===a){if(0===i)break;e=jP[--i];continue}const c=a-a%3,l=s+(e+1)%3,u=c+(a+2)%3,f=t[o],d=t[e],h=t[l],p=t[u];if(FP(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=c+(a+1)%3;i<jP.length&&(jP[i++]=s)}else{if(0===i)break;e=jP[--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 LP(e,t,n,r){const i=e-n,o=t-r;return i*i+o*o}function FP(e,t,n,r,i,o,a,s){const c=e-a,l=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 c*(f*g-p*h)-l*(u*g-p*d)+(c*c+l*l)*(u*h-f*d)<0}function BP(e,t,n,r,i,o){const a=n-e,s=r-t,c=i-e,l=o-t,u=a*a+s*s,f=c*c+l*l,d=.5/(a*l-s*c),h=(l*u-s*f)*d,p=(a*f-c*u)*d;return h*h+p*p}function RP(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;$P(e,n+r>>1,i),t[e[n]]>t[e[r]]&&$P(e,n,r),t[e[i]]>t[e[r]]&&$P(e,i,r),t[e[n]]>t[e[i]]&&$P(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;$P(e,i,o)}e[n+1]=e[o],e[o]=a,r-i+1>=o-n?(RP(e,t,i,r),RP(e,t,n,o-1)):(RP(e,t,n,o-1),RP(e,t,i,r))}}function $P(e,t,n){const r=e[t];e[t]=e[n],e[n]=r}function zP(e){return e[0]}function IP(e){return e[1]}const UP=1e-6;class HP{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)>UP||Math.abs(this._y1-i)>UP)&&(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 VP{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 WP{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,c=0,l=0,u=n.length;c<u;c+=3,l+=2){const u=2*n[c],f=2*n[c+1],d=2*n[c+2],h=e[u],p=e[u+1],g=e[f],m=e[f+1],b=e[d],v=e[d+1],y=g-h,_=m-p,w=b-h,x=v-p,C=2*(y*x-_*w);if(Math.abs(C)<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+b)/2-n*x,s=(p+v)/2+n*w}else{const e=1/C,t=y*y+_*_,n=w*w+x*x;r=h+(x*t-_*n)*e,s=p+(y*n-w*t)*e}a[l]=r,a[l+1]=s}let s,c,l,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,c=d,l=h,f=4*u,d=e[2*u],h=e[2*u+1],r[s+2]=r[f]=l-h,r[s+3]=r[f+1]=d-c}render(e){const t=null==e?e=new HP: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],c=o[i+1],l=o[a],u=o[a+1];this._renderSegment(s,c,l,u,e)}let s,c=i[i.length-1];for(let t=0;t<i.length;++t){s=c,c=i[t];const n=2*Math.floor(r[c]/3),l=o[n],u=o[n+1],f=4*s,d=this._project(l,u,a[f+2],a[f+3]);d&&this._renderSegment(l,u,d[0],d[1],e)}return t&&t.value()}renderBounds(e){const t=null==e?e=new HP: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 HP: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 VP;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,c=t[n-2],l=t[n-1],u=this._regioncode(c,l),f=0;for(let d=0;d<n;d+=2)if(r=c,i=l,c=t[d],l=t[d+1],o=u,u=this._regioncode(c,l),0===o&&0===u)a=f,f=0,s?s.push(c,l):s=[c,l];else{let t,n,d,h,p;if(0===o){if(null===(t=this._clipSegment(r,i,c,l,o,u)))continue;[n,d,h,p]=t}else{if(null===(t=this._clipSegment(c,l,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,c,l=i||o;8&l?(s=e+(n-e)*(this.ymax-t)/(r-t),c=this.ymax):4&l?(s=e+(n-e)*(this.ymin-t)/(r-t),c=this.ymin):2&l?(c=t+(r-t)*(this.xmax-e)/(n-e),s=this.xmax):(c=t+(r-t)*(this.xmin-e)/(n-e),s=this.xmin),i?(e=s,t=c,i=this._regioncode(e,t)):(n=s,r=c,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 YP=2*Math.PI,qP=Math.pow;function ZP(e){return e[0]}function GP(e){return e[1]}function XP(e,t,n){return[e+Math.sin(e+t)*n,t+Math.cos(e-t)*n]}class QP{static from(e,t=ZP,n=GP,r){return new QP("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 NP(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=XP(t[2*e],t[2*e+1],i);t[2*e]=n[0],t[2*e+1]=n[1]}this._delaunator=new NP(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 WP(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 c=s,l=-1;do{if(yield l=o[c],c=c%3==2?c-2:c+1,o[c]!==e)return;if(c=i[c],-1===c){const t=n[(r[e]+1)%n.length];return void(t!==l&&(yield t))}}while(c!==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:c}=this;if(-1===r[e]||!c.length)return(e+1)%(c.length>>1);let l=e,u=qP(t-c[2*e],2)+qP(n-c[2*e+1],2);const f=r[e];let d=f;do{let r=s[d];const f=qP(t-c[2*r],2)+qP(n-c[2*r+1],2);if(f<u&&(u=f,l=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&&qP(t-c[2*d],2)+qP(n-c[2*d+1],2)<u)return d;break}}while(d!==f);return l}render(e){const t=null==e?e=new HP: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 HP: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,YP)}return n&&n.value()}renderHull(e){const t=null==e?e=new HP: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 VP;return this.renderHull(e),e.value()}renderTriangle(e,t){const n=null==t?t=new HP: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 VP;return this.renderTriangle(e,t),t.value()}}var JP=function(e){return[e.x,e.y]},KP=gT,eD="cursor",tD=function(e){var t=e.points,n=e.getNodePosition,r=void 0===n?JP:n,i=e.margin,o=void 0===i?KP:i;return t.map((function(e){var t=r(e),n=t[0],i=t[1];return[n+o.left,i+o.top]}))},nD=function(e){var t=e.points,n=e.getNodePosition,r=void 0===n?JP:n,i=e.width,o=e.height,a=e.margin,s=void 0===a?KP:a,c=e.debug;return w((function(){return function(e){var t=e.points,n=e.width,r=e.height,i=e.margin,o=void 0===i?KP:i,a=e.debug,s=QP.from(t),c=a?s.voronoi([0,0,o.left+n+o.right,o.top+r+o.bottom]):void 0;return{points:t,delaunay:s,voronoi:c}}({points:tD({points:t,margin:s,getNodePosition:r}),width:i,height:o,margin:s,debug:c})}),[t,i,o,s,c])},rD=function(e){var t=e.elementRef,n=e.nodes,r=e.getNodePosition,i=void 0===r?JP:r,o=e.delaunay,a=e.setCurrent,s=e.margin,c=void 0===s?KP:s,l=e.detectionRadius,u=void 0===l?1/0:l,f=e.isInteractive,d=void 0===f||f,h=e.onMouseEnter,g=e.onMouseMove,v=e.onMouseLeave,_=e.onClick,x=e.onTouchStart,C=e.onTouchMove,k=e.onTouchEnd,M=e.enableTouchCrosshair,S=void 0!==M&&M,T=e.tooltip,A=e.tooltipPosition,E=void 0===A?eD:A,O=e.tooltipAnchor,P=void 0===O?"top":O,D=m(null),j=D[0],N=D[1],L=b(null);p((function(){L.current=j}),[L,j]);var F=y((function(e){if(!t.current)return null;var r=pA(t.current,e),a=r[0],s=r[1],l=o.find(a,s),f=void 0!==l?n[l]: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+c.left,p+c.top)>u&&(l=null,f=null)}return null===l||null===f?null:[l,f]}),[t,o,n,i,c,u]),B=Yd(),R=B.showTooltipAt,$=B.showTooltipFromEvent,z=B.hideTooltip,I=w((function(){if(T)return"cursor"===E?function(e,t){$(T(e),t,P)}:function(e){var t=i(e),n=t[0],r=t[1];R(T(e),[n+c.left,r+c.top],P)}}),[R,$,T,E,P,i,c]),U=y((function(e){var t=F(e);if(N(t),null==a||a(t?t[1]:null),t){var n=t[1];null==I||I(n,e),null==h||h(t[1],e)}}),[F,N,a,I,h]),H=y((function(e){var t=F(e);if(N(t),t){var n=t[0],r=t[1];if(null==a||a(r),null==I||I(r,e),L.current){var i=L.current,o=i[0],s=i[1];n!==o?null==v||v(s,e):null==g||g(r,e)}else null==h||h(r,e)}else null==a||a(null),null==z||z(),L.current&&(null==v||v(L.current[1],e))}),[F,N,L,h,g,v,I,z]),V=y((function(e){N(null),null==a||a(null),z(),v&&L.current&&v(L.current[1],e)}),[N,a,L,z,v]),W=y((function(e){var t=F(e);N(t),t&&(null==_||_(t[1],e))}),[F,N,_]),Y=y((function(e){var t=F(e);S&&(N(t),null==a||a(t?t[1]:null)),t&&(null==x||x(t[1],e))}),[F,N,a,S,x]),q=y((function(e){var t=F(e);S&&(N(t),null==a||a(t?t[1]:null)),t&&(null==C||C(t[1],e))}),[F,N,a,S,C]),Z=y((function(e){S&&(N(null),null==a||a(null)),k&&L.current&&k(L.current[1],e)}),[S,N,a,k,L]);return{current:j,handleMouseEnter:d?U:void 0,handleMouseMove:d?H:void 0,handleMouseLeave:d?V:void 0,handleClick:d?W:void 0,handleTouchStart:d?Y:void 0,handleTouchMove:d?q:void 0,handleTouchEnd:d?Z:void 0}},iD=function(e){var t=e.nodes,r=e.width,i=e.height,o=e.margin,a=void 0===o?KP:o,s=e.getNodePosition,c=e.setCurrent,l=e.onMouseEnter,u=e.onMouseMove,f=e.onMouseLeave,d=e.onClick,h=e.onTouchStart,p=e.onTouchMove,g=e.onTouchEnd,m=e.enableTouchCrosshair,v=void 0!==m&&m,y=e.detectionRadius,_=void 0===y?1/0:y,x=e.tooltip,C=e.tooltipPosition,k=void 0===C?eD:C,M=e.tooltipAnchor,S=void 0===M?"top":M,T=e.debug,A=b(null),E=nD({points:t,getNodePosition:s,width:r,height:i,margin:a,debug:T}),P=E.delaunay,D=E.voronoi,j=rD({elementRef:A,nodes:t,delaunay:P,margin:a,detectionRadius:_,setCurrent:c,onMouseEnter:l,onMouseMove:u,onMouseLeave:f,onClick:d,onTouchStart:h,onTouchMove:p,onTouchEnd:g,enableTouchCrosshair:v,tooltip:x,tooltipPosition:k,tooltipAnchor:S}),N=j.current,L=j.handleMouseEnter,F=j.handleMouseMove,B=j.handleMouseLeave,R=j.handleClick,$=j.handleTouchStart,z=j.handleTouchMove,I=j.handleTouchEnd,U=w((function(){if(T&&D)return D.render()}),[T,D]);return O("g",{ref:A,transform:"translate("+-a.left+","+-a.top+")",children:[T&&D&&O(n,{children:[O("path",{d:U,stroke:"red",strokeWidth:1,opacity:.75}),_<1/0&&O("path",{stroke:"red",strokeWidth:.35,fill:"none",d:P.renderPoints(void 0,_)}),N&&O("path",{fill:"pink",opacity:.35,d:D.renderCell(N[0])})]}),O("rect",{"data-ref":"mesh-interceptor",width:a.left+r+a.right,height:a.top+i+a.bottom,fill:"red",opacity:0,style:{cursor:"auto"},onMouseEnter:L,onMouseMove:F,onMouseLeave:B,onTouchStart:$,onTouchMove:z,onTouchEnd:I,onClick:R})]})};function oD(){return oD=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},oD.apply(this,arguments)}var aD=x((function(e){var t=e.point;return O(qu,{id:O("span",{children:["x: ",O("strong",{children:t.data.xFormatted}),", y:"," ",O("strong",{children:t.data.yFormatted})]}),enableChip:!0,color:t.serieColor})})),sD=x((function(e){var t=e.slice,n=e.axis,r=xT(),i="x"===n?"y":"x";return O(Gu,{rows:t.points.map((function(e){return[O(Yu,{color:e.serieColor,style:r.tooltip.chip},"chip"),e.serieId,O("span",{style:r.tooltip.tableCellValue,children:e.data[i+"Formatted"]},"value")]}))})})),cD={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:aD,enableSlices:!1,debugSlices:!1,sliceTooltip:sD,debugMesh:!1,enableCrosshair:!0,crosshairType:"bottom-left"},lD=oD({},cD,{enablePointLabel:!1,useMesh:!1,enableTouchCrosshair:!1,animate:!0,motionConfig:"gentle",defs:[],fill:[],role:"img",initialHiddenIds:[]});oD({},cD,{pixelRatio:"undefined"!=typeof window&&window.devicePixelRatio||1});var uD=function(e){var t=e.curve;return w((function(){return zo().defined((function(e){return null!==e.x&&null!==e.y})).x((function(e){return e.x})).y((function(e){return e.y})).curve(pT(t))}),[t])},fD=function(e){var t=e.curve,n=e.yScale,r=e.areaBaselineValue;return w((function(){return function(e,t,n){var r=null,i=co(!0),o=null,a=Bo,s=null,c=Ao(l);function l(l){var u,f,d,h,p,g=(l=Lo(l)).length,m=!1,b=new Array(g),v=new Array(g);for(null==o&&(s=a(p=c())),u=0;u<=g;++u){if(!(u<g&&i(h=l[u],u,l))===m)if(m=!m)f=u,s.areaStart(),s.lineStart();else{for(s.lineEnd(),s.lineStart(),d=u-1;d>=f;--d)s.point(b[d],v[d]);s.lineEnd(),s.areaEnd()}m&&(b[u]=+e(h,u,l),v[u]=+t(h,u,l),s.point(r?+r(h,u,l):b[u],n?+n(h,u,l):v[u]))}if(p)return s=null,p+""||null}function u(){return zo().defined(i).curve(a).context(o)}return e="function"==typeof e?e:void 0===e?Ro:co(+e),t="function"==typeof t?t:co(void 0===t?0:+t),n="function"==typeof n?n:void 0===n?$o:co(+n),l.x=function(t){return arguments.length?(e="function"==typeof t?t:co(+t),r=null,l):e},l.x0=function(t){return arguments.length?(e="function"==typeof t?t:co(+t),l):e},l.x1=function(e){return arguments.length?(r=null==e?null:"function"==typeof e?e:co(+e),l):r},l.y=function(e){return arguments.length?(t="function"==typeof e?e:co(+e),n=null,l):t},l.y0=function(e){return arguments.length?(t="function"==typeof e?e:co(+e),l):t},l.y1=function(e){return arguments.length?(n=null==e?null:"function"==typeof e?e:co(+e),l):n},l.lineX0=l.lineY0=function(){return u().x(e).y(t)},l.lineY1=function(){return u().x(e).y(n)},l.lineX1=function(){return u().x(r).y(t)},l.defined=function(e){return arguments.length?(i="function"==typeof e?e:co(!!e),l):i},l.curve=function(e){return arguments.length?(a=e,null!=o&&(s=a(o)),l):a},l.context=function(e){return arguments.length?(null==e?o=s=null:s=a(o=e),l):o},l}().defined((function(e){return null!==e.x&&null!==e.y})).x((function(e){return e.x})).y1((function(e){return e.y})).curve(pT(t)).y0(n(r))}),[t,n,r])},dD=function(e){var t=e.data,n=e.xScale,r=void 0===n?lD.xScale:n,i=e.xFormat,o=e.yScale,a=void 0===o?lD.yScale:o,s=e.yFormat,c=e.width,l=e.height,u=e.colors,f=void 0===u?lD.colors:u,d=e.curve,h=void 0===d?lD.curve:d,p=e.areaBaselineValue,g=void 0===p?lD.areaBaselineValue:p,b=e.pointColor,v=void 0===b?lD.pointColor:b,_=e.pointBorderColor,x=void 0===_?lD.pointBorderColor:_,C=e.enableSlices,k=void 0===C?lD.enableSlicesTooltip:C,M=e.initialHiddenIds,S=void 0===M?lD.initialHiddenIds:M,T=m(xP("line"))[0],A=vT(i),E=vT(s),O=function(e,t){return w((function(){return zA(e,t)}),[e,t])}(f,"id"),P=xT(),D=PA(v,P),j=PA(x,P),N=m(null!=S?S:[]),L=N[0],F=N[1],B=w((function(){return function(e,t,n,r,i){var o=e.map((function(e){return function(e){return SO({},e,{data:e.data.map((function(e){return{data:SO({},e)}}))})}(e)})),a=$O(o,t,n);"stacked"in t&&!0===t.stacked&&UO(a,o),"stacked"in n&&!0===n.stacked&&HO(a,o);var s=BO(t,a.x,r,"x"),c=BO(n,a.y,i,"y"),l=o.map((function(e){return SO({},e,{data:e.data.map((function(e){return SO({},e,{position:{x:RO(e,"x",s),y:RO(e,"y",c)}})}))})}));return SO({},a,{series:l,xScale:s,yScale:c})}(t.filter((function(e){return-1===L.indexOf(e.id)})),r,a,c,l)}),[t,L,r,a,c,l]),R=B.xScale,$=B.yScale,z=B.series,I=w((function(){var e=t.map((function(e){return{id:e.id,label:e.id,color:O(e)}})),n=e.map((function(e){return oD({},z.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 oD({},e,{hidden:!n.find((function(t){return t.id===e.id}))})})).reverse(),series:n}}),[t,z,O]),U=I.legendData,H=I.series,V=y((function(e){F((function(t){return t.indexOf(e)>-1?t.filter((function(t){return t!==e})):[].concat(t,[e])}))}),[]),W=function(e){var t=e.series,n=e.getPointColor,r=e.getPointBorderColor,i=e.formatX,o=e.formatY;return w((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 c={id:t.id+"."+s,index:e.length+s,serieId:t.id,serieColor:t.color,x:a.position.x,y:a.position.y};return c.color=n(t),c.borderColor=r(c),c.data=oD({},a.data,{xFormatted:i(a.data.x),yFormatted:o(a.data.y)}),c})))}),[])}),[t,n,r,i,o])}({series:H,getPointColor:D,getPointBorderColor:j,formatX:A,formatY:E}),Y=function(e){var t=e.componentId,n=e.enableSlices,r=e.points,i=e.width,o=e.height;return w((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,c=e[0],l=e[1],u=r[n-1],f=r[n+1];return a=u?c-(c-u[0])/2:c,s=f?c-a+(f[0]-c)/2:i-a,{id:"slice:"+t+":"+c,x0:a,x:c,y0:0,y:0,width:s,height:o,points:l.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],c=e[1],l=n[t-1],u=n[t+1];return r=l?s-(s-l[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:c.reverse()}}))}}),[t,n,o,r,i])}({componentId:T,enableSlices:k,points:W,width:c,height:l});return{legendData:U,toggleSerie:V,lineGenerator:uD({curve:h}),areaGenerator:fD({curve:h,yScale:$,areaBaselineValue:g}),getColor:O,series:H,xScale:R,yScale:$,slices:Y,points:W}},hD=function(e){var t=e.areaBlendMode,n=e.areaOpacity,r=e.color,i=e.fill,o=e.path,a=cT(),s=a.animate,c=a.config,l=lT(o),u=wu({color:r,config:c,immediate:!s});return O(Iu.path,{d:l,fill:i||u.color,fillOpacity:n,strokeWidth:0,style:{mixBlendMode:t}})},pD=x((function(e){var t=e.areaGenerator,n=e.areaOpacity,r=e.areaBlendMode;return O("g",{children:e.lines.slice(0).reverse().map((function(e){return O(hD,oD({path:t(e.data.map((function(e){return e.position})))},oD({areaOpacity:n,areaBlendMode:r},e)),e.id)}))})})),gD=x((function(e){var t=e.lineGenerator,n=e.points,r=e.color,i=e.thickness,o=w((function(){return t(n)}),[t,n]),a=lT(o);return O(Iu.path,{d:a,fill:"none",strokeWidth:i,stroke:r})})),mD=x((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 O(gD,{id:t,points:i.map((function(e){return e.position})),lineGenerator:n,color:o,thickness:r},t)}))})),bD=x((function(e){var t=e.slice,n=e.slices,r=e.axis,i=e.debug,o=e.tooltip,a=e.isCurrent,s=e.setCurrent,c=e.onMouseEnter,l=e.onMouseMove,u=e.onMouseLeave,f=e.onClick,d=e.onTouchStart,h=e.onTouchMove,p=e.onTouchEnd,g=Yd(),m=g.showTooltipFromEvent,b=g.hideTooltip,v=y((function(e){m(k(o,{slice:t,axis:r}),e,"right"),s(t),c&&c(t,e)}),[m,o,t,r,s,c]),_=y((function(e){m(k(o,{slice:t,axis:r}),e,"right"),l&&l(t,e)}),[m,o,t,r,l]),w=y((function(e){b(),s(null),u&&u(t,e)}),[b,s,u,t]),x=y((function(e){f&&f(t,e)}),[t,f]),C=y((function(e){m(k(o,{slice:t,axis:r}),e,"right"),s(t),d&&d(t,e)}),[r,d,s,m,t,o]),M=y((function(e){var i=e.touches[0],a=document.elementFromPoint(i.clientX,i.clientY),c=null==a?void 0:a.getAttribute("data-ref");if(c){var l=n.find((function(e){return e.id===c}));l&&(m(k(o,{slice:l,axis:r}),e,"right"),s(l))}h&&h(t,e)}),[r,h,s,m,t,n,o]),S=y((function(e){b(),s(null),p&&p(t,e)}),[b,s,p,t]);return O("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:v,onMouseMove:_,onMouseLeave:w,onClick:x,onTouchStart:C,onTouchMove:M,onTouchEnd:S,"data-ref":t.id})})),vD=x((function(e){var t=e.slices,n=e.axis,r=e.debug,i=e.height,o=e.tooltip,a=e.current,s=e.setCurrent,c=e.onMouseEnter,l=e.onMouseMove,u=e.onMouseLeave,f=e.onClick,d=e.onTouchStart,h=e.onTouchMove,p=e.onTouchEnd;return t.map((function(e){return O(bD,{slice:e,slices:t,axis:n,debug:r,height:i,tooltip:o,setCurrent:s,isCurrent:null!==a&&a.id===e.id,onMouseEnter:c,onMouseMove:l,onMouseLeave:u,onClick:f,onTouchStart:d,onTouchMove:h,onTouchEnd:p},e.id)}))})),yD=x((function(e){var t=e.points,n=e.symbol,r=e.size,i=e.borderWidth,o=e.enableLabel,a=e.label,s=e.labelYOffset,c=xT(),l=function(e){var t=iC(e)?e:function(t){return ym(t,e)};return t}(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?l(e):null}}));return O("g",{children:u.map((function(e){return O(sA,{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:c},e.id)}))})})),_D=x((function(e){var t=e.points,n=e.width,r=e.height,i=e.margin,o=e.setCurrent,a=e.onMouseEnter,s=e.onMouseMove,c=e.onMouseLeave,l=e.onClick,u=e.onTouchStart,f=e.onTouchMove,d=e.onTouchEnd,h=e.tooltip,p=e.debug,g=e.enableTouchCrosshair,m=Yd(),b=m.showTooltipAt,v=m.hideTooltip,_=y((function(e,t){b(k(h,{point:e}),[e.x+i.left,e.y+i.top],"top"),a&&a(e,t)}),[b,h,a,i]),w=y((function(e,t){b(k(h,{point:e}),[e.x+i.left,e.y+i.top],"top"),s&&s(e,t)}),[b,h,i.left,i.top,s]),x=y((function(e,t){v(),c&&c(e,t)}),[v,c]),C=y((function(e,t){l&&l(e,t)}),[l]),M=y((function(e,t){b(k(h,{point:e}),[e.x+i.left,e.y+i.top],"top"),u&&u(e,t)}),[i.left,i.top,u,b,h]),S=y((function(e,t){b(k(h,{point:e}),[e.x+i.left,e.y+i.top],"top"),f&&f(e,t)}),[i.left,i.top,f,b,h]),T=y((function(e,t){v(),d&&d(e,t)}),[d,v]);return O(iD,{nodes:t,width:n,height:r,setCurrent:o,onMouseEnter:_,onMouseMove:w,onMouseLeave:x,onClick:C,onTouchStart:M,onTouchMove:S,onTouchEnd:T,enableTouchCrosshair:g,debug:p})})),wD=hA((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,c=e.layers,l=void 0===c?["grid","markers","axes","areas","crosshair","lines","points","slices","mesh","legends"]:c,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,b=e.margin,v=e.width,y=e.height,_=e.axisTop,w=e.axisRight,x=e.axisBottom,C=void 0===x?{}:x,k=e.axisLeft,M=void 0===k?{}:k,S=e.enableGridX,A=void 0===S||S,E=e.enableGridY,P=void 0===E||E,D=e.gridXValues,j=e.gridYValues,N=e.lineWidth,L=void 0===N?2:N,F=e.enableArea,B=void 0!==F&&F,R=e.areaOpacity,$=void 0===R?.2:R,z=e.areaBlendMode,I=void 0===z?"normal":z,U=e.enablePoints,H=void 0===U||U,V=e.pointSymbol,W=e.pointSize,Y=void 0===W?6:W,q=e.pointColor,Z=void 0===q?{from:"color"}:q,G=e.pointBorderWidth,X=void 0===G?0:G,Q=e.pointBorderColor,J=void 0===Q?{theme:"background"}:Q,K=e.enablePointLabel,ee=void 0!==K&&K,te=e.pointLabel,ne=void 0===te?"data.yFormatted":te,re=e.pointLabelYOffset,ie=e.defs,oe=void 0===ie?[]:ie,ae=e.fill,se=void 0===ae?[]:ae,ce=e.markers,le=e.legends,ue=void 0===le?[]:le,fe=e.isInteractive,de=void 0===fe||fe,he=e.useMesh,pe=void 0!==he&&he,ge=e.debugMesh,me=void 0!==ge&&ge,be=e.onMouseEnter,ve=e.onMouseMove,ye=e.onMouseLeave,_e=e.onClick,we=e.onTouchStart,xe=e.onTouchMove,Ce=e.onTouchEnd,ke=e.tooltip,Me=void 0===ke?aD:ke,Se=e.enableSlices,Te=void 0!==Se&&Se,Ae=e.debugSlices,Ee=void 0!==Ae&&Ae,Oe=e.sliceTooltip,Pe=void 0===Oe?sD:Oe,De=e.enableCrosshair,je=void 0===De||De,Ne=e.crosshairType,Le=void 0===Ne?"bottom-left":Ne,Fe=e.enableTouchCrosshair,Be=void 0!==Fe&&Fe,Re=e.role,$e=void 0===Re?"img":Re,ze=e.initialHiddenIds,Ie=void 0===ze?[]:ze,Ue=mT(v,y,b),He=Ue.margin,Ve=Ue.innerWidth,We=Ue.innerHeight,Ye=Ue.outerWidth,qe=Ue.outerHeight,Ze=dD({data:t,xScale:r,xFormat:i,yScale:a,yFormat:s,width:Ve,height:We,colors:g,curve:f,areaBaselineValue:h,pointColor:Z,pointBorderColor:J,enableSlices:Te,initialHiddenIds:Ie}),Ge=Ze.legendData,Xe=Ze.toggleSerie,Qe=Ze.lineGenerator,Je=Ze.areaGenerator,Ke=Ze.series,et=Ze.xScale,tt=Ze.yScale,nt=Ze.slices,rt=Ze.points,it=xT(),ot=PA(Z,it),at=PA(J,it),st=m(null),ct=st[0],lt=st[1],ut=m(null),ft=ut[0],dt=ut[1],ht={grid:O(oP,{theme:it,width:Ve,height:We,xScale:A?et:null,yScale:P?tt:null,xValues:D,yValues:j},"grid"),markers:O(fA,{markers:ce,width:Ve,height:We,xScale:et,yScale:tt,theme:it},"markers"),axes:O(nP,{xScale:et,yScale:tt,width:Ve,height:We,theme:it,top:_,right:w,bottom:C,left:M},"axes"),areas:null,lines:O(mD,{lines:Ke,lineGenerator:Qe,lineWidth:L},"lines"),slices:null,points:null,crosshair:null,mesh:null,legends:ue.map((function(e,t){return O(vP,oD({},e,{containerWidth:Ve,containerHeight:We,data:e.data||Ge,theme:it,toggleSerie:e.toggleSerie?Xe:void 0}),"legend."+t)}))},pt=bA(oe,Ke,se);return B&&(ht.areas=O(pD,{areaGenerator:Je,areaOpacity:$,areaBlendMode:I,lines:Ke},"areas")),de&&!1!==Te&&(ht.slices=O(vD,{slices:nt,axis:Te,debug:Ee,height:We,tooltip:Pe,current:ft,setCurrent:dt,onMouseEnter:be,onMouseMove:ve,onMouseLeave:ye,onClick:_e,onTouchStart:we,onTouchMove:xe,onTouchEnd:Ce},"slices")),H&&(ht.points=O(yD,{points:rt,symbol:V,size:Y,color:ot,borderWidth:X,borderColor:at,enableLabel:ee,label:ne,labelYOffset:re},"points")),de&&je&&(null!==ct&&(ht.crosshair=O(Qu,{width:Ve,height:We,x:ct.x,y:ct.y,type:Le},"crosshair")),null!==ft&&(ht.crosshair=O(Qu,{width:Ve,height:We,x:ft.x,y:ft.y,type:Te},"crosshair"))),de&&pe&&!1===Te&&(ht.mesh=O(_D,{points:rt,width:Ve,height:We,margin:He,current:ct,setCurrent:lt,onMouseEnter:be,onMouseMove:ve,onMouseLeave:ye,onClick:_e,onTouchStart:we,onTouchMove:xe,onTouchEnd:Ce,tooltip:Me,enableTouchCrosshair:Be,debug:me},"mesh")),O(rA,{defs:pt,width:Ye,height:qe,margin:He,role:$e,children:l.map((function(t,n){return"function"==typeof t?O(T,{children:t(oD({},e,{innerWidth:Ve,innerHeight:We,series:Ke,slices:nt,points:rt,xScale:et,yScale:tt,lineGenerator:Qe,areaGenerator:Je,currentPoint:ct,setCurrentPoint:lt,currentSlice:ft,setCurrentSlice:dt}))},n):ht[t]}))})})),xD=function(e){return O(AT,{children:function(t){var n=t.width,r=t.height;return O(wD,oD({width:n,height:r},e))}})},CD=hA((function(e){var t=b(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,c=e.xScale,l=void 0===c?{type:"point"}:c,u=e.xFormat,f=e.yScale,d=void 0===f?{type:"linear",min:0,max:"auto"}:f,h=e.yFormat,g=e.curve,v=void 0===g?"linear":g,_=e.layers,w=void 0===_?["grid","markers","axes","areas","crosshair","lines","points","slices","mesh","legends"]:_,x=e.colors,C=void 0===x?{scheme:"nivo"}:x,M=e.lineWidth,S=void 0===M?2:M,T=e.enableArea,A=void 0!==T&&T,E=e.areaBaselineValue,P=void 0===E?0:E,D=e.areaOpacity,j=void 0===D?.2:D,N=e.enablePoints,L=void 0===N||N,F=e.pointSize,B=void 0===F?6:F,R=e.pointColor,$=void 0===R?{from:"color"}:R,z=e.pointBorderWidth,I=void 0===z?0:z,U=e.pointBorderColor,H=void 0===U?{theme:"background"}:U,V=e.enableGridX,W=void 0===V||V,Y=e.gridXValues,q=e.enableGridY,Z=void 0===q||q,G=e.gridYValues,X=e.axisTop,Q=e.axisRight,J=e.axisBottom,K=void 0===J?{}:J,ee=e.axisLeft,te=void 0===ee?{}:ee,ne=e.legends,re=void 0===ne?[]:ne,ie=e.isInteractive,oe=void 0===ie||ie,ae=e.debugMesh,se=void 0!==ae&&ae,ce=e.onMouseLeave,le=e.onClick,ue=e.tooltip,fe=void 0===ue?aD:ue,de=e.canvasRef,he=mT(n,r,i),pe=he.margin,ge=he.innerWidth,me=he.innerHeight,be=he.outerWidth,ve=he.outerHeight,ye=xT(),_e=m(null),we=_e[0],xe=_e[1],Ce=dD({data:s,xScale:l,xFormat:u,yScale:d,yFormat:h,width:ge,height:me,colors:C,curve:v,areaBaselineValue:P,pointColor:$,pointBorderColor:H}),ke=Ce.lineGenerator,Me=Ce.areaGenerator,Se=Ce.series,Te=Ce.xScale,Ae=Ce.yScale,Ee=Ce.points,Oe=nD({points:Ee,width:ge,height:me,debug:se}),Pe=Oe.delaunay,De=Oe.voronoi;p((function(){de&&(de.current=t.current),t.current.width=be*a,t.current.height=ve*a;var e=t.current.getContext("2d");e.scale(a,a),e.fillStyle=ye.background,e.fillRect(0,0,be,ve),e.translate(pe.left,pe.top),w.forEach((function(t){if("function"==typeof t&&t({ctx:e,innerWidth:ge,innerHeight:me,series:Se,points:Ee,xScale:Te,yScale:Ae,lineWidth:S,lineGenerator:ke,areaGenerator:Me,currentPoint:we,setCurrentPoint:xe}),"grid"===t&&ye.grid.line.strokeWidth>0&&(e.lineWidth=ye.grid.line.strokeWidth,e.strokeStyle=ye.grid.line.stroke,W&&sP(e,{width:ge,height:me,scale:Te,axis:"x",values:Y}),Z&&sP(e,{width:ge,height:me,scale:Ae,axis:"y",values:G})),"axes"===t&&aP(e,{xScale:Te,yScale:Ae,width:ge,height:me,top:X,right:Q,bottom:K,left:te,theme:ye}),"areas"===t&&!0===A){e.save(),e.globalAlpha=j,Me.context(e);for(var n=Se.length-1;n>=0;n--)e.fillStyle=Se[n].color,e.beginPath(),Me(Se[n].data.map((function(e){return e.position}))),e.fill();e.restore()}if("lines"===t&&(ke.context(e),Se.forEach((function(t){e.strokeStyle=t.color,e.lineWidth=S,e.beginPath(),ke(t.data.map((function(e){return e.position}))),e.stroke()}))),"points"===t&&!0===L&&B>0&&Ee.forEach((function(t){e.fillStyle=t.color,e.beginPath(),e.arc(t.x,t.y,B/2,0,2*Math.PI),e.fill(),I>0&&(e.strokeStyle=t.borderColor,e.lineWidth=I,e.stroke())})),"mesh"===t&&!0===se&&(function(e,t){e.save(),e.globalAlpha=.75,e.beginPath(),t.render(e),e.strokeStyle="red",e.lineWidth=1,e.stroke(),e.restore()}(e,De),we&&function(e,t,n){e.save(),e.globalAlpha=.35,e.beginPath(),t.renderCell(n,e),e.fillStyle="pink",e.fill(),e.restore()}(e,De,we.index)),"legends"===t){var r=Se.map((function(e){return{id:e.id,label:e.id,color:e.color}})).reverse();re.forEach((function(t){_P(e,oD({},t,{data:t.data||r,containerWidth:ge,containerHeight:me,theme:ye}))}))}}))}),[t,be,ve,w,ye,ke,Se,Te,Ae,W,Y,Z,G,X,Q,K,te,re,Ee,L,B,we]);var je=y((function(e){var n=pA(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}(pe.left,pe.top,ge,me,r,i))return null;var o=Pe.find(r-pe.left,i-pe.top);return Ee[o]}),[t,pe,ge,me,Pe]),Ne=Yd(),Le=Ne.showTooltipFromEvent,Fe=Ne.hideTooltip,Be=y((function(e){var t=je(e);xe(t),t?Le(k(fe,{point:t}),e):Fe()}),[je,xe,Le,Fe,fe]),Re=y((function(e){Fe(),xe(null),we&&ce&&ce(we,e)}),[Fe,xe,ce]),$e=y((function(e){if(le){var t=je(e);t&&le(t,e)}}),[je,le]);return O("canvas",{ref:t,width:be*a,height:ve*a,style:{width:be,height:ve,cursor:oe?"auto":"normal"},onMouseEnter:oe?Be:void 0,onMouseMove:oe?Be:void 0,onMouseLeave:oe?Re:void 0,onClick:oe?$e:void 0})})),kD=v((function(e,t){return O(CD,oD({},e,{canvasRef:t}))}));v((function(e,t){return O(AT,{children:function(n){var r=n.width,i=n.height;return O(kD,oD({width:r,height:i},e,{ref:t}))}})}));const MD={anchor:"right",direction:"column",justify:!1,translateX:100,translateY:0,itemsSpacing:0,itemDirection:"left-to-right",itemWidth:80,itemHeight:20,itemOpacity:.75,symbolSize:12,symbolShape:"circle",symbolBorderColor:"rgba(0, 0, 0, .5)",effects:[{on:"hover",style:{itemBackground:"rgba(0, 0, 0, .03)",itemOpacity:1}}]},SD={tickSize:5,tickPadding:5,tickRotation:45,ticksPosition:"before"},TD={tickSize:5,tickPadding:5,tickRotation:0},AD={top:50,right:100,bottom:50,left:60},ED={type:"point"},OD={type:"linear",min:"auto",max:"auto",reverse:!1},PD={margin:AD,xScale:ED,yScale:OD,axisTop:null,axisRight:null,axisBottom:SD,axisLeft:TD,useMesh:!0,enableArea:!0},DD={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 jD;!function(e){e.Mesh="Mesh",e.SlicesX="SlicesX",e.SlicesY="SlicesY"}(jD||(jD={}));const ND=64,LD=(e,t,n)=>{const{constant:r=ND,...i}=n??{};return{type:"symlog",min:e,max:t,constant:r,...i}},FD=(e,t)=>{const n=e.flatMap((e=>e.data)).map((e=>e.y)),r=Math.min(...n),i=Math.max(...n);return LD(r,i,t)},BD=({kind:e=jD.Mesh,width:t="100%",height:n=400,emptyLabel:r="No data available",emptyAriaLabel:i="No data available",axisBottom:o,rootAriaLabel:a,data:s,...c})=>{const l=(e=>{switch(e){case jD.SlicesX:return{useMesh:!1,enableSlices:"x"};case jD.SlicesY:return{useMesh:!1,enableSlices:"y"};case jD.Mesh:default:return{useMesh:!0,enableSlices:void 0}}})(e),f=u(((t,n)=>{e===jD.Mesh?c?.onClick?.(t,n):[jD.SlicesX,jD.SlicesY].includes(e)&&c?.onSliceClick?.(t,n)}),[e,c]),h=u(((t,n)=>{e===jD.Mesh?c?.onTouchEnd?.(t,n):[jD.SlicesX,jD.SlicesY].includes(e)&&c?.onSliceTouchEnd?.(t,n)}),[e,c]),p=d((()=>{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))?O("div",{role:"img","aria-label":i,className:void 0,style:{width:t,height:n},children:r}):O("div",{role:"img","aria-label":a,tabIndex:0,style:{width:t,height:n},children:O(xD,{...PD,...l,...c,data:s,onClick:f,onTouchEnd:h,axisBottom:{...SD,...o,tickValues:p},theme:DD})})};var RD={"status-label":"styles_status-label__jKe50","status-label-text":"styles_status-label-text__dne2b","status-label-icon":"styles_status-label-icon__XfIPQ","status-passed":"styles_status-passed__nQRTG","status-failed":"styles_status-failed__Bd1ie","status-broken":"styles_status-broken__6NgUj","status-skipped":"styles_status-skipped__S6xGN","status-unknown":"styles_status-unknown__x-nw8"};const $D=({status:e,children:t,className:n,...r})=>O("div",{...r,className:D(RD["status-label"],RD[`status-${e}`],n),children:[O(Fi,{status:e,className:RD["status-label-icon"],classNameIcon:RD["status-label-icon"]}),O(Nt,{type:"ui",size:"s",className:RD["status-label-text"],children:t})]});var zD="styles_logo__jHlBl",ID="styles_text__BcILe";const UD=e=>{const{className:t}=e;return O(Nt,{type:"paragraph",size:"m",bold:!0,className:D(ID,t),children:[O(Dt,{id:Pt.reportLogo,size:"m",inline:!0,className:zD}),O("span",{children:"Allure Report"})]})};var HD="styles_report-logo__OOEnL";const VD=e=>{const{className:t,logo:n}=e;return O("div",{className:D(HD,t),children:n?O("img",{src:n,alt:"report logo"}):O(Dt,{id:Pt.reportLogo,inline:!0})})};
|
|
23
|
-
/**!
|
|
24
|
-
* Sortable 1.15.6
|
|
25
|
-
* @author RubaXa <trash@rubaxa.org>
|
|
26
|
-
* @author owenm <owen23355@gmail.com>
|
|
27
|
-
* @license MIT
|
|
28
|
-
*/function WD(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 YD(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?WD(Object(n),!0).forEach((function(t){ZD(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):WD(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function qD(e){return qD="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},qD(e)}function ZD(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function GD(){return GD=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},GD.apply(this,arguments)}function XD(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}function QD(e){if("undefined"!=typeof window&&window.navigator)return!!navigator.userAgent.match(e)}var JD=QD(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),KD=QD(/Edge/i),ej=QD(/firefox/i),tj=QD(/safari/i)&&!QD(/chrome/i)&&!QD(/android/i),nj=QD(/iP(ad|od|hone)/i),rj=QD(/chrome/i)&&QD(/android/i),ij={capture:!1,passive:!1};function oj(e,t,n){e.addEventListener(t,n,!JD&&ij)}function aj(e,t,n){e.removeEventListener(t,n,!JD&&ij)}function sj(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 cj(e){return e.host&&e!==document&&e.host.nodeType?e.host:e.parentNode}function lj(e,t,n,r){if(e){n=n||document;do{if(null!=t&&(">"===t[0]?e.parentNode===n&&sj(e,t):sj(e,t))||r&&e===n)return e;if(e===n)break}while(e=cj(e))}return null}var uj,fj=/\s+/g;function dj(e,t,n){if(e&&t)if(e.classList)e.classList[n?"add":"remove"](t);else{var r=(" "+e.className+" ").replace(fj," ").replace(" "+t+" "," ");e.className=(r+(n?" "+t:"")).replace(fj," ")}}function hj(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 pj(e,t){var n="";if("string"==typeof e)n=e;else do{var r=hj(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 gj(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 mj(){var e=document.scrollingElement;return e||document.documentElement}function bj(e,t,n,r,i){if(e.getBoundingClientRect||e===window){var o,a,s,c,l,u,f;if(e!==window&&e.parentNode&&e!==mj()?(a=(o=e.getBoundingClientRect()).top,s=o.left,c=o.bottom,l=o.right,u=o.height,f=o.width):(a=0,s=0,c=window.innerHeight,l=window.innerWidth,u=window.innerHeight,f=window.innerWidth),(t||n)&&e!==window&&(i=i||e.parentNode,!JD))do{if(i&&i.getBoundingClientRect&&("none"!==hj(i,"transform")||n&&"static"!==hj(i,"position"))){var d=i.getBoundingClientRect();a-=d.top+parseInt(hj(i,"border-top-width")),s-=d.left+parseInt(hj(i,"border-left-width")),c=a+o.height,l=s+o.width;break}}while(i=i.parentNode);if(r&&e!==window){var h=pj(i||e),p=h&&h.a,g=h&&h.d;h&&(c=(a/=g)+(u/=g),l=(s/=p)+(f/=p))}return{top:a,left:s,bottom:c,right:l,width:f,height:u}}}function vj(e,t,n){for(var r=Cj(e,!0),i=bj(e)[t];r;){if(!(i>=bj(r)[n]))return r;if(r===mj())break;r=Cj(r,!1)}return!1}function yj(e,t,n,r){for(var i=0,o=0,a=e.children;o<a.length;){if("none"!==a[o].style.display&&a[o]!==TN.ghost&&(r||a[o]!==TN.dragged)&&lj(a[o],n.draggable,e,!1)){if(i===t)return a[o];i++}o++}return null}function _j(e,t){for(var n=e.lastElementChild;n&&(n===TN.ghost||"none"===hj(n,"display")||t&&!sj(n,t));)n=n.previousElementSibling;return n||null}function wj(e,t){var n=0;if(!e||!e.parentNode)return-1;for(;e=e.previousElementSibling;)"TEMPLATE"===e.nodeName.toUpperCase()||e===TN.clone||t&&!sj(e,t)||n++;return n}function xj(e){var t=0,n=0,r=mj();if(e)do{var i=pj(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 Cj(e,t){if(!e||!e.getBoundingClientRect)return mj();var n=e,r=!1;do{if(n.clientWidth<n.scrollWidth||n.clientHeight<n.scrollHeight){var i=hj(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 mj();if(r||t)return n;r=!0}}}while(n=n.parentNode);return mj()}function kj(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 Mj(e,t){return function(){if(!uj){var n=arguments;1===n.length?e.call(this,n[0]):e.apply(this,n),uj=setTimeout((function(){uj=void 0}),t)}}}function Sj(e,t,n){e.scrollLeft+=t,e.scrollTop+=n}function Tj(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 Aj(e,t,n){var r={};return Array.from(e.children).forEach((function(i){var o,a,s,c;if(lj(i,t.draggable,e,!1)&&!i.animated&&i!==n){var l=bj(i);r.left=Math.min(null!==(o=r.left)&&void 0!==o?o:1/0,l.left),r.top=Math.min(null!==(a=r.top)&&void 0!==a?a:1/0,l.top),r.right=Math.max(null!==(s=r.right)&&void 0!==s?s:-1/0,l.right),r.bottom=Math.max(null!==(c=r.bottom)&&void 0!==c?c:-1/0,l.bottom)}})),r.width=r.right-r.left,r.height=r.bottom-r.top,r.x=r.left,r.y=r.top,r}var Ej="Sortable"+(new Date).getTime();function Oj(){var e,t=[];return{captureAnimationState:function(){(t=[],this.options.animation)&&[].slice.call(this.el.children).forEach((function(e){if("none"!==hj(e,"display")&&e!==TN.ghost){t.push({target:e,rect:bj(e)});var n=YD({},t[t.length-1].rect);if(e.thisAnimationDuration){var r=pj(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=bj(n),c=n.prevFromRect,l=n.prevToRect,u=e.rect,f=pj(n,!0);f&&(s.top-=f.f,s.left-=f.e),n.toRect=s,n.thisAnimationDuration&&kj(c,s)&&!kj(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,c,l,r.options)),kj(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){hj(e,"transition",""),hj(e,"transform","");var i=pj(this.el),o=i&&i.a,a=i&&i.d,s=(t.left-n.left)/(o||1),c=(t.top-n.top)/(a||1);e.animatingX=!!s,e.animatingY=!!c,hj(e,"transform","translate3d("+s+"px,"+c+"px,0)"),this.forRepaintDummy=function(e){return e.offsetWidth}(e),hj(e,"transition","transform "+r+"ms"+(this.options.easing?" "+this.options.easing:"")),hj(e,"transform","translate3d(0,0,0)"),"number"==typeof e.animated&&clearTimeout(e.animated),e.animated=setTimeout((function(){hj(e,"transition",""),hj(e,"transform",""),e.animated=!1,e.animatingX=!1,e.animatingY=!1}),r)}}}}var Pj=[],Dj={initializeByDefault:!0},jj={mount:function(e){for(var t in Dj)Dj.hasOwnProperty(t)&&!(t in e)&&(e[t]=Dj[t]);Pj.forEach((function(t){if(t.pluginName===e.pluginName)throw"Sortable: Cannot mount plugin ".concat(e.pluginName," more than once")})),Pj.push(e)},pluginEvent:function(e,t,n){var r=this;this.eventCanceled=!1,n.cancel=function(){r.eventCanceled=!0};var i=e+"Global";Pj.forEach((function(r){t[r.pluginName]&&(t[r.pluginName][i]&&t[r.pluginName][i](YD({sortable:t},n)),t.options[r.pluginName]&&t[r.pluginName][e]&&t[r.pluginName][e](YD({sortable:t},n)))}))},initializePlugins:function(e,t,n,r){for(var i in Pj.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,GD(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 Pj.forEach((function(r){"function"==typeof r.eventProperties&&GD(n,r.eventProperties.call(t[r.pluginName],e))})),n},modifyOption:function(e,t,n){var r;return Pj.forEach((function(i){e[i.pluginName]&&i.optionListeners&&"function"==typeof i.optionListeners[t]&&(r=i.optionListeners[t].call(e[i.pluginName],n))})),r}};var Nj=["evt"],Lj=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.evt,i=XD(n,Nj);jj.pluginEvent.bind(TN)(e,t,YD({dragEl:Bj,parentEl:Rj,ghostEl:$j,rootEl:zj,nextEl:Ij,lastDownEl:Uj,cloneEl:Hj,cloneHidden:Vj,dragStarted:rN,putSortable:Xj,activeSortable:TN.active,originalEvent:r,oldIndex:Wj,oldDraggableIndex:qj,newIndex:Yj,newDraggableIndex:Zj,hideGhostForTarget:CN,unhideGhostForTarget:kN,cloneNowHidden:function(){Vj=!0},cloneNowShown:function(){Vj=!1},dispatchSortableEvent:function(e){Fj({sortable:t,name:e,originalEvent:r})}},i))};function Fj(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,c=e.oldIndex,l=e.newIndex,u=e.oldDraggableIndex,f=e.newDraggableIndex,d=e.originalEvent,h=e.putSortable,p=e.extraEventProperties;if(t=t||n&&n[Ej]){var g,m=t.options,b="on"+r.charAt(0).toUpperCase()+r.substr(1);!window.CustomEvent||JD||KD?(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=c,g.newIndex=l,g.oldDraggableIndex=u,g.newDraggableIndex=f,g.originalEvent=d,g.pullMode=h?h.lastPutMode:void 0;var v=YD(YD({},p),jj.getEventProperties(r,t));for(var y in v)g[y]=v[y];n&&n.dispatchEvent(g),m[b]&&m[b].call(t,g)}}(YD({putSortable:Xj,cloneEl:Hj,targetEl:Bj,rootEl:zj,oldIndex:Wj,oldDraggableIndex:qj,newIndex:Yj,newDraggableIndex:Zj},e))}var Bj,Rj,$j,zj,Ij,Uj,Hj,Vj,Wj,Yj,qj,Zj,Gj,Xj,Qj,Jj,Kj,eN,tN,nN,rN,iN,oN,aN,sN,cN=!1,lN=!1,uN=[],fN=!1,dN=!1,hN=[],pN=!1,gN=[],mN="undefined"!=typeof document,bN=nj,vN=KD||JD?"cssFloat":"float",yN=mN&&!rj&&!nj&&"draggable"in document.createElement("div"),_N=function(){if(mN){if(JD)return!1;var e=document.createElement("x");return e.style.cssText="pointer-events:auto","auto"===e.style.pointerEvents}}(),wN=function(e,t){var n=hj(e),r=parseInt(n.width)-parseInt(n.paddingLeft)-parseInt(n.paddingRight)-parseInt(n.borderLeftWidth)-parseInt(n.borderRightWidth),i=yj(e,0,t),o=yj(e,1,t),a=i&&hj(i),s=o&&hj(o),c=a&&parseInt(a.marginLeft)+parseInt(a.marginRight)+bj(i).width,l=s&&parseInt(s.marginLeft)+parseInt(s.marginRight)+bj(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||c>=r&&"none"===n[vN]||o&&"none"===n[vN]&&c+l>r)?"vertical":"horizontal"},xN=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 c=(n?r:i).options.group.name;return!0===e||"string"==typeof e&&e===c||e.join&&e.indexOf(c)>-1}}var n={},r=e.group;r&&"object"==qD(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},CN=function(){!_N&&$j&&hj($j,"display","none")},kN=function(){!_N&&$j&&hj($j,"display","")};mN&&!rj&&document.addEventListener("click",(function(e){if(lN)return e.preventDefault(),e.stopPropagation&&e.stopPropagation(),e.stopImmediatePropagation&&e.stopImmediatePropagation(),lN=!1,!1}),!0);var MN=function(e){if(Bj){var t=function(e,t){var n;return uN.some((function(r){var i=r[Ej].options.emptyInsertThreshold;if(i&&!_j(r)){var o=bj(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[Ej]._onDragOver(n)}}},SN=function(e){Bj&&Bj.parentNode[Ej]._isOutsideThisEl(e.target)};function TN(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=GD({},t),e[Ej]=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 wN(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!==TN.supportPointer&&"PointerEvent"in window&&(!tj||nj),emptyInsertThreshold:5};for(var r in jj.initializePlugins(this,e,n),n)!(r in t)&&(t[r]=n[r]);for(var i in xN(t),this)"_"===i.charAt(0)&&"function"==typeof this[i]&&(this[i]=this[i].bind(this));this.nativeDraggable=!t.forceFallback&&yN,this.nativeDraggable&&(this.options.touchStartThreshold=1),t.supportPointer?oj(e,"pointerdown",this._onTapStart):(oj(e,"mousedown",this._onTapStart),oj(e,"touchstart",this._onTapStart)),this.nativeDraggable&&(oj(e,"dragover",this),oj(e,"dragenter",this)),uN.push(this.el),t.store&&t.store.get&&this.sort(t.store.get(this)||[]),GD(this,Oj())}function AN(e,t,n,r,i,o,a,s){var c,l,u=e[Ej],f=u.options.onMove;return!window.CustomEvent||JD||KD?(c=document.createEvent("Event")).initEvent("move",!0,!0):c=new CustomEvent("move",{bubbles:!0,cancelable:!0}),c.to=t,c.from=e,c.dragged=n,c.draggedRect=r,c.related=i||t,c.relatedRect=o||bj(t),c.willInsertAfter=s,c.originalEvent=a,e.dispatchEvent(c),f&&(l=f.call(u,c,a)),l}function EN(e){e.draggable=!1}function ON(){pN=!1}function PN(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 DN(e){return setTimeout(e,0)}function jN(e){return clearTimeout(e)}TN.prototype={constructor:TN,_isOutsideThisEl:function(e){this.el.contains(e)||e===this.el||(iN=null)},_getDirection:function(e,t){return"function"==typeof this.options.direction?this.options.direction.call(this,e,t,Bj):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,c=e.target.shadowRoot&&(e.path&&e.path[0]||e.composedPath&&e.composedPath()[0])||s,l=r.filter;if(function(e){gN.length=0;var t=e.getElementsByTagName("input"),n=t.length;for(;n--;){var r=t[n];r.checked&&gN.push(r)}}(n),!Bj&&!(/mousedown|pointerdown/.test(o)&&0!==e.button||r.disabled)&&!c.isContentEditable&&(this.nativeDraggable||!tj||!s||"SELECT"!==s.tagName.toUpperCase())&&!((s=lj(s,r.draggable,n,!1))&&s.animated||Uj===s)){if(Wj=wj(s),qj=wj(s,r.draggable),"function"==typeof l){if(l.call(this,e,s,this))return Fj({sortable:t,rootEl:c,name:"filter",targetEl:s,toEl:n,fromEl:n}),Lj("filter",t,{evt:e}),void(i&&e.preventDefault())}else if(l&&(l=l.split(",").some((function(r){if(r=lj(c,r.trim(),n,!1))return Fj({sortable:t,rootEl:r,name:"filter",targetEl:s,fromEl:n,toEl:n}),Lj("filter",t,{evt:e}),!0}))))return void(i&&e.preventDefault());r.handle&&!lj(c,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&&!Bj&&n.parentNode===o){var c=bj(n);if(zj=o,Rj=(Bj=n).parentNode,Ij=Bj.nextSibling,Uj=n,Gj=a.group,TN.dragged=Bj,Qj={target:Bj,clientX:(t||e).clientX,clientY:(t||e).clientY},tN=Qj.clientX-c.left,nN=Qj.clientY-c.top,this._lastX=(t||e).clientX,this._lastY=(t||e).clientY,Bj.style["will-change"]="all",r=function(){Lj("delayEnded",i,{evt:e}),TN.eventCanceled?i._onDrop():(i._disableDelayedDragEvents(),!ej&&i.nativeDraggable&&(Bj.draggable=!0),i._triggerDragStart(e,t),Fj({sortable:i,name:"choose",originalEvent:e}),dj(Bj,a.chosenClass,!0))},a.ignore.split(",").forEach((function(e){gj(Bj,e.trim(),EN)})),oj(s,"dragover",MN),oj(s,"mousemove",MN),oj(s,"touchmove",MN),a.supportPointer?(oj(s,"pointerup",i._onDrop),!this.nativeDraggable&&oj(s,"pointercancel",i._onDrop)):(oj(s,"mouseup",i._onDrop),oj(s,"touchend",i._onDrop),oj(s,"touchcancel",i._onDrop)),ej&&this.nativeDraggable&&(this.options.touchStartThreshold=4,Bj.draggable=!0),Lj("delayStart",this,{evt:e}),!a.delay||a.delayOnTouchOnly&&!t||this.nativeDraggable&&(KD||JD))r();else{if(TN.eventCanceled)return void this._onDrop();a.supportPointer?(oj(s,"pointerup",i._disableDelayedDrag),oj(s,"pointercancel",i._disableDelayedDrag)):(oj(s,"mouseup",i._disableDelayedDrag),oj(s,"touchend",i._disableDelayedDrag),oj(s,"touchcancel",i._disableDelayedDrag)),oj(s,"mousemove",i._delayedDragTouchMoveHandler),oj(s,"touchmove",i._delayedDragTouchMoveHandler),a.supportPointer&&oj(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(){Bj&&EN(Bj),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var e=this.el.ownerDocument;aj(e,"mouseup",this._disableDelayedDrag),aj(e,"touchend",this._disableDelayedDrag),aj(e,"touchcancel",this._disableDelayedDrag),aj(e,"pointerup",this._disableDelayedDrag),aj(e,"pointercancel",this._disableDelayedDrag),aj(e,"mousemove",this._delayedDragTouchMoveHandler),aj(e,"touchmove",this._delayedDragTouchMoveHandler),aj(e,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(e,t){t=t||"touch"==e.pointerType&&e,!this.nativeDraggable||t?this.options.supportPointer?oj(document,"pointermove",this._onTouchMove):oj(document,t?"touchmove":"mousemove",this._onTouchMove):(oj(Bj,"dragend",this),oj(zj,"dragstart",this._onDragStart));try{document.selection?DN((function(){document.selection.empty()})):window.getSelection().removeAllRanges()}catch(e){}},_dragStarted:function(e,t){if(cN=!1,zj&&Bj){Lj("dragStarted",this,{evt:t}),this.nativeDraggable&&oj(document,"dragover",SN);var n=this.options;!e&&dj(Bj,n.dragClass,!1),dj(Bj,n.ghostClass,!0),TN.active=this,e&&this._appendGhost(),Fj({sortable:this,name:"start",originalEvent:t})}else this._nulling()},_emulateDragOver:function(){if(Jj){this._lastX=Jj.clientX,this._lastY=Jj.clientY,CN();for(var e=document.elementFromPoint(Jj.clientX,Jj.clientY),t=e;e&&e.shadowRoot&&(e=e.shadowRoot.elementFromPoint(Jj.clientX,Jj.clientY))!==t;)t=e;if(Bj.parentNode[Ej]._isOutsideThisEl(e),t)do{if(t[Ej]){if(t[Ej]._onDragOver({clientX:Jj.clientX,clientY:Jj.clientY,target:e,rootEl:t})&&!this.options.dragoverBubble)break}e=t}while(t=cj(t));kN()}},_onTouchMove:function(e){if(Qj){var t=this.options,n=t.fallbackTolerance,r=t.fallbackOffset,i=e.touches?e.touches[0]:e,o=$j&&pj($j,!0),a=$j&&o&&o.a,s=$j&&o&&o.d,c=bN&&sN&&xj(sN),l=(i.clientX-Qj.clientX+r.x)/(a||1)+(c?c[0]-hN[0]:0)/(a||1),u=(i.clientY-Qj.clientY+r.y)/(s||1)+(c?c[1]-hN[1]:0)/(s||1);if(!TN.active&&!cN){if(n&&Math.max(Math.abs(i.clientX-this._lastX),Math.abs(i.clientY-this._lastY))<n)return;this._onDragStart(e,!0)}if($j){o?(o.e+=l-(Kj||0),o.f+=u-(eN||0)):o={a:1,b:0,c:0,d:1,e:l,f:u};var f="matrix(".concat(o.a,",").concat(o.b,",").concat(o.c,",").concat(o.d,",").concat(o.e,",").concat(o.f,")");hj($j,"webkitTransform",f),hj($j,"mozTransform",f),hj($j,"msTransform",f),hj($j,"transform",f),Kj=l,eN=u,Jj=i}e.cancelable&&e.preventDefault()}},_appendGhost:function(){if(!$j){var e=this.options.fallbackOnBody?document.body:zj,t=bj(Bj,!0,bN,!0,e),n=this.options;if(bN){for(sN=e;"static"===hj(sN,"position")&&"none"===hj(sN,"transform")&&sN!==document;)sN=sN.parentNode;sN!==document.body&&sN!==document.documentElement?(sN===document&&(sN=mj()),t.top+=sN.scrollTop,t.left+=sN.scrollLeft):sN=mj(),hN=xj(sN)}dj($j=Bj.cloneNode(!0),n.ghostClass,!1),dj($j,n.fallbackClass,!0),dj($j,n.dragClass,!0),hj($j,"transition",""),hj($j,"transform",""),hj($j,"box-sizing","border-box"),hj($j,"margin",0),hj($j,"top",t.top),hj($j,"left",t.left),hj($j,"width",t.width),hj($j,"height",t.height),hj($j,"opacity","0.8"),hj($j,"position",bN?"absolute":"fixed"),hj($j,"zIndex","100000"),hj($j,"pointerEvents","none"),TN.ghost=$j,e.appendChild($j),hj($j,"transform-origin",tN/parseInt($j.style.width)*100+"% "+nN/parseInt($j.style.height)*100+"%")}},_onDragStart:function(e,t){var n=this,r=e.dataTransfer,i=n.options;Lj("dragStart",this,{evt:e}),TN.eventCanceled?this._onDrop():(Lj("setupClone",this),TN.eventCanceled||((Hj=Tj(Bj)).removeAttribute("id"),Hj.draggable=!1,Hj.style["will-change"]="",this._hideClone(),dj(Hj,this.options.chosenClass,!1),TN.clone=Hj),n.cloneId=DN((function(){Lj("clone",n),TN.eventCanceled||(n.options.removeCloneOnHide||zj.insertBefore(Hj,Bj),n._hideClone(),Fj({sortable:n,name:"clone"}))})),!t&&dj(Bj,i.dragClass,!0),t?(lN=!0,n._loopId=setInterval(n._emulateDragOver,50)):(aj(document,"mouseup",n._onDrop),aj(document,"touchend",n._onDrop),aj(document,"touchcancel",n._onDrop),r&&(r.effectAllowed="move",i.setData&&i.setData.call(n,r,Bj)),oj(document,"drop",n),hj(Bj,"transform","translateZ(0)")),cN=!0,n._dragStartId=DN(n._dragStarted.bind(n,t,e)),oj(document,"selectstart",n),rN=!0,window.getSelection().removeAllRanges(),tj&&hj(document.body,"user-select","none"))},_onDragOver:function(e){var t,n,r,i,o=this.el,a=e.target,s=this.options,c=s.group,l=TN.active,u=Gj===c,f=s.sort,d=Xj||l,h=this,p=!1;if(!pN){if(void 0!==e.preventDefault&&e.cancelable&&e.preventDefault(),a=lj(a,s.draggable,o,!0),E("dragOver"),TN.eventCanceled)return p;if(Bj.contains(e.target)||a.animated&&a.animatingX&&a.animatingY||h._ignoreWhileAnimating===a)return P(!1);if(lN=!1,l&&!s.disabled&&(u?f||(r=Rj!==zj):Xj===this||(this.lastPutMode=Gj.checkPull(this,l,Bj,e))&&c.checkPut(this,l,Bj,e))){if(i="vertical"===this._getDirection(e,a),t=bj(Bj),E("dragOverValid"),TN.eventCanceled)return p;if(r)return Rj=zj,O(),this._hideClone(),E("revert"),TN.eventCanceled||(Ij?zj.insertBefore(Bj,Ij):zj.appendChild(Bj)),P(!0);var g=_j(o,s.draggable);if(!g||function(e,t,n){var r=bj(_j(n.el,n.options.draggable)),i=Aj(n.el,n.options,$j),o=10;return t?e.clientX>i.right+o||e.clientY>r.bottom&&e.clientX>r.left:e.clientY>i.bottom+o||e.clientX>r.right&&e.clientY>r.top}(e,i,this)&&!g.animated){if(g===Bj)return P(!1);if(g&&o===e.target&&(a=g),a&&(n=bj(a)),!1!==AN(zj,o,Bj,t,a,n,e,!!a))return O(),g&&g.nextSibling?o.insertBefore(Bj,g.nextSibling):o.appendChild(Bj),Rj=o,D(),P(!0)}else if(g&&function(e,t,n){var r=bj(yj(n.el,0,n.options,!0)),i=Aj(n.el,n.options,$j),o=10;return t?e.clientX<i.left-o||e.clientY<r.top&&e.clientX<r.right:e.clientY<i.top-o||e.clientY<r.bottom&&e.clientX<r.left}(e,i,this)){var m=yj(o,0,s,!0);if(m===Bj)return P(!1);if(n=bj(a=m),!1!==AN(zj,o,Bj,t,a,n,e,!1))return O(),o.insertBefore(Bj,m),Rj=o,D(),P(!0)}else if(a.parentNode===o){n=bj(a);var b,v,y,_=Bj.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,c=n?t.width:t.height;return r===a||i===s||r+o/2===a+c/2}(Bj.animated&&Bj.toRect||t,a.animated&&a.toRect||n,i),x=i?"top":"left",C=vj(a,"top","top")||vj(Bj,"top","top"),k=C?C.scrollTop:void 0;if(iN!==a&&(v=n[x],fN=!1,dN=!w&&s.invertSwap||_),b=function(e,t,n,r,i,o,a,s){var c=r?e.clientY:e.clientX,l=r?n.height:n.width,u=r?n.top:n.left,f=r?n.bottom:n.right,d=!1;if(!a)if(s&&aN<l*i){if(!fN&&(1===oN?c>u+l*o/2:c<f-l*o/2)&&(fN=!0),fN)d=!0;else if(1===oN?c<u+aN:c>f-aN)return-oN}else if(c>u+l*(1-i)/2&&c<f-l*(1-i)/2)return function(e){return wj(Bj)<wj(e)?1:-1}(t);if((d=d||a)&&(c<u+l*o/2||c>f-l*o/2))return c>u+l/2?1:-1;return 0}(e,a,n,i,w?1:s.swapThreshold,null==s.invertedSwapThreshold?s.swapThreshold:s.invertedSwapThreshold,dN,iN===a),0!==b){var M=wj(Bj);do{M-=b,y=Rj.children[M]}while(y&&("none"===hj(y,"display")||y===$j))}if(0===b||y===a)return P(!1);iN=a,oN=b;var S=a.nextElementSibling,T=!1,A=AN(zj,o,Bj,t,a,n,e,T=1===b);if(!1!==A)return 1!==A&&-1!==A||(T=1===A),pN=!0,setTimeout(ON,30),O(),T&&!S?o.appendChild(Bj):a.parentNode.insertBefore(Bj,T?S:a),C&&Sj(C,0,k-C.scrollTop),Rj=Bj.parentNode,void 0===v||dN||(aN=Math.abs(v-bj(a)[x])),D(),P(!0)}if(o.contains(Bj))return P(!1)}return!1}function E(s,c){Lj(s,h,YD({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 AN(zj,o,Bj,t,n,bj(n),e,r)},changed:D},c))}function O(){E("dragOverAnimationCapture"),h.captureAnimationState(),h!==d&&d.captureAnimationState()}function P(t){return E("dragOverCompleted",{insertion:t}),t&&(u?l._hideClone():l._showClone(h),h!==d&&(dj(Bj,Xj?Xj.options.ghostClass:l.options.ghostClass,!1),dj(Bj,s.ghostClass,!0)),Xj!==h&&h!==TN.active?Xj=h:h===TN.active&&Xj&&(Xj=null),d===h&&(h._ignoreWhileAnimating=a),h.animateAll((function(){E("dragOverAnimationComplete"),h._ignoreWhileAnimating=null})),h!==d&&(d.animateAll(),d._ignoreWhileAnimating=null)),(a===Bj&&!Bj.animated||a===o&&!a.animated)&&(iN=null),s.dragoverBubble||e.rootEl||a===document||(Bj.parentNode[Ej]._isOutsideThisEl(e.target),!t&&MN(e)),!s.dragoverBubble&&e.stopPropagation&&e.stopPropagation(),p=!0}function D(){Yj=wj(Bj),Zj=wj(Bj,s.draggable),Fj({sortable:h,name:"change",toEl:o,newIndex:Yj,newDraggableIndex:Zj,originalEvent:e})}},_ignoreWhileAnimating:null,_offMoveEvents:function(){aj(document,"mousemove",this._onTouchMove),aj(document,"touchmove",this._onTouchMove),aj(document,"pointermove",this._onTouchMove),aj(document,"dragover",MN),aj(document,"mousemove",MN),aj(document,"touchmove",MN)},_offUpEvents:function(){var e=this.el.ownerDocument;aj(e,"mouseup",this._onDrop),aj(e,"touchend",this._onDrop),aj(e,"pointerup",this._onDrop),aj(e,"pointercancel",this._onDrop),aj(e,"touchcancel",this._onDrop),aj(document,"selectstart",this)},_onDrop:function(e){var t=this.el,n=this.options;Yj=wj(Bj),Zj=wj(Bj,n.draggable),Lj("drop",this,{evt:e}),Rj=Bj&&Bj.parentNode,Yj=wj(Bj),Zj=wj(Bj,n.draggable),TN.eventCanceled||(cN=!1,dN=!1,fN=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),jN(this.cloneId),jN(this._dragStartId),this.nativeDraggable&&(aj(document,"drop",this),aj(t,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),tj&&hj(document.body,"user-select",""),hj(Bj,"transform",""),e&&(rN&&(e.cancelable&&e.preventDefault(),!n.dropBubble&&e.stopPropagation()),$j&&$j.parentNode&&$j.parentNode.removeChild($j),(zj===Rj||Xj&&"clone"!==Xj.lastPutMode)&&Hj&&Hj.parentNode&&Hj.parentNode.removeChild(Hj),Bj&&(this.nativeDraggable&&aj(Bj,"dragend",this),EN(Bj),Bj.style["will-change"]="",rN&&!cN&&dj(Bj,Xj?Xj.options.ghostClass:this.options.ghostClass,!1),dj(Bj,this.options.chosenClass,!1),Fj({sortable:this,name:"unchoose",toEl:Rj,newIndex:null,newDraggableIndex:null,originalEvent:e}),zj!==Rj?(Yj>=0&&(Fj({rootEl:Rj,name:"add",toEl:Rj,fromEl:zj,originalEvent:e}),Fj({sortable:this,name:"remove",toEl:Rj,originalEvent:e}),Fj({rootEl:Rj,name:"sort",toEl:Rj,fromEl:zj,originalEvent:e}),Fj({sortable:this,name:"sort",toEl:Rj,originalEvent:e})),Xj&&Xj.save()):Yj!==Wj&&Yj>=0&&(Fj({sortable:this,name:"update",toEl:Rj,originalEvent:e}),Fj({sortable:this,name:"sort",toEl:Rj,originalEvent:e})),TN.active&&(null!=Yj&&-1!==Yj||(Yj=Wj,Zj=qj),Fj({sortable:this,name:"end",toEl:Rj,originalEvent:e}),this.save())))),this._nulling()},_nulling:function(){Lj("nulling",this),zj=Bj=Rj=$j=Ij=Hj=Uj=Vj=Qj=Jj=rN=Yj=Zj=Wj=qj=iN=oN=Xj=Gj=TN.dragged=TN.ghost=TN.clone=TN.active=null,gN.forEach((function(e){e.checked=!0})),gN.length=Kj=eN=0},handleEvent:function(e){switch(e.type){case"drop":case"dragend":this._onDrop(e);break;case"dragenter":case"dragover":Bj&&(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++)lj(e=n[r],o.draggable,this.el,!1)&&t.push(e.getAttribute(o.dataIdAttr)||PN(e));return t},sort:function(e,t){var n={},r=this.el;this.toArray().forEach((function(e,t){var i=r.children[t];lj(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 lj(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=jj.modifyOption(this,e,t);n[e]=void 0!==r?r:t,"group"===e&&xN(n)},destroy:function(){Lj("destroy",this);var e=this.el;e[Ej]=null,aj(e,"mousedown",this._onTapStart),aj(e,"touchstart",this._onTapStart),aj(e,"pointerdown",this._onTapStart),this.nativeDraggable&&(aj(e,"dragover",this),aj(e,"dragenter",this)),Array.prototype.forEach.call(e.querySelectorAll("[draggable]"),(function(e){e.removeAttribute("draggable")})),this._onDrop(),this._disableDelayedDragEvents(),uN.splice(uN.indexOf(this.el),1),this.el=e=null},_hideClone:function(){if(!Vj){if(Lj("hideClone",this),TN.eventCanceled)return;hj(Hj,"display","none"),this.options.removeCloneOnHide&&Hj.parentNode&&Hj.parentNode.removeChild(Hj),Vj=!0}},_showClone:function(e){if("clone"===e.lastPutMode){if(Vj){if(Lj("showClone",this),TN.eventCanceled)return;Bj.parentNode!=zj||this.options.group.revertClone?Ij?zj.insertBefore(Hj,Ij):zj.appendChild(Hj):zj.insertBefore(Hj,Bj),this.options.group.revertClone&&this.animate(Bj,Hj),hj(Hj,"display",""),Vj=!1}}else this._hideClone()}},mN&&oj(document,"touchmove",(function(e){(TN.active||cN)&&e.cancelable&&e.preventDefault()})),TN.utils={on:oj,off:aj,css:hj,find:gj,is:function(e,t){return!!lj(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:Mj,closest:lj,toggleClass:dj,clone:Tj,index:wj,nextTick:DN,cancelNextTick:jN,detectDirection:wN,getChild:yj,expando:Ej},TN.get=function(e){return e[Ej]},TN.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&&(TN.utils=YD(YD({},TN.utils),e.utils)),jj.mount(e)}))},TN.create=function(e,t){return new TN(e,t)},TN.version="1.15.6";var NN,LN,FN,BN,RN,$N,zN=[],IN=!1;function UN(){zN.forEach((function(e){clearInterval(e.pid)})),zN=[]}function HN(){clearInterval($N)}var VN,WN=Mj((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,c=t.scrollSpeed,l=mj(),u=!1;LN!==n&&(LN=n,UN(),NN=t.scroll,i=t.scrollFn,!0===NN&&(NN=Cj(n,!0)));var f=0,d=NN;do{var h=d,p=bj(h),g=p.top,m=p.bottom,b=p.left,v=p.right,y=p.width,_=p.height,w=void 0,x=void 0,C=h.scrollWidth,k=h.scrollHeight,M=hj(h),S=h.scrollLeft,T=h.scrollTop;h===l?(w=y<C&&("auto"===M.overflowX||"scroll"===M.overflowX||"visible"===M.overflowX),x=_<k&&("auto"===M.overflowY||"scroll"===M.overflowY||"visible"===M.overflowY)):(w=y<C&&("auto"===M.overflowX||"scroll"===M.overflowX),x=_<k&&("auto"===M.overflowY||"scroll"===M.overflowY));var A=w&&(Math.abs(v-o)<=s&&S+y<C)-(Math.abs(b-o)<=s&&!!S),E=x&&(Math.abs(m-a)<=s&&T+_<k)-(Math.abs(g-a)<=s&&!!T);if(!zN[f])for(var O=0;O<=f;O++)zN[O]||(zN[O]={});zN[f].vx==A&&zN[f].vy==E&&zN[f].el===h||(zN[f].el=h,zN[f].vx=A,zN[f].vy=E,clearInterval(zN[f].pid),0==A&&0==E||(u=!0,zN[f].pid=setInterval(function(){r&&0===this.layer&&TN.active._onTouchMove(RN);var t=zN[this.layer].vy?zN[this.layer].vy*c:0,n=zN[this.layer].vx?zN[this.layer].vx*c:0;"function"==typeof i&&"continue"!==i.call(TN.dragged.parentNode[Ej],n,t,e,RN,zN[this.layer].el)||Sj(zN[this.layer].el,n,t)}.bind({layer:f}),24))),f++}while(t.bubbleScroll&&d!==l&&(d=Cj(d,!1)));IN=u}}),30),YN=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 c=n||i;a();var l=t.changedTouches&&t.changedTouches.length?t.changedTouches[0]:t,u=document.elementFromPoint(l.clientX,l.clientY);s(),c&&!c.el.contains(u)&&(o("spill"),this.onSpill({dragEl:r,putSortable:n}))}};function qN(){}function ZN(){}qN.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=yj(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:YN},GD(qN,{pluginName:"revertOnSpill"}),ZN.prototype={onSpill:function(e){var t=e.dragEl,n=e.putSortable||this.sortable;n.captureAnimationState(),t.parentNode&&t.parentNode.removeChild(t),n.animateAll()},drop:YN},GD(ZN,{pluginName:"removeOnSpill"}),TN.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?oj(document,"dragover",this._handleAutoScroll):this.options.supportPointer?oj(document,"pointermove",this._handleFallbackAutoScroll):t.touches?oj(document,"touchmove",this._handleFallbackAutoScroll):oj(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(e){var t=e.originalEvent;this.options.dragOverBubble||t.rootEl||this._handleAutoScroll(t)},drop:function(){this.sortable.nativeDraggable?aj(document,"dragover",this._handleAutoScroll):(aj(document,"pointermove",this._handleFallbackAutoScroll),aj(document,"touchmove",this._handleFallbackAutoScroll),aj(document,"mousemove",this._handleFallbackAutoScroll)),HN(),UN(),clearTimeout(uj),uj=void 0},nulling:function(){RN=LN=NN=IN=$N=FN=BN=null,zN.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(RN=e,t||this.options.forceAutoScrollFallback||KD||JD||tj){WN(e,this.options,o,t);var a=Cj(o,!0);!IN||$N&&r===FN&&i===BN||($N&&HN(),$N=setInterval((function(){var o=Cj(document.elementFromPoint(r,i),!0);o!==a&&(a=o,UN()),WN(e,n.options,o,t)}),10),FN=r,BN=i)}else{if(!this.options.bubbleScroll||Cj(o,!0)===mj())return void UN();WN(e,this.options,Cj(o,!1),!1)}}},GD(e,{pluginName:"scroll",initializeByDefault:!0})}),TN.mount(ZN,qN);const GN="dnd-drag-handle",XN="dnd-drag-enabled";TN.mount(new function(){function e(){this.defaults={swapClass:"sortable-swap-highlight"}}return e.prototype={dragStart:function(e){var t=e.dragEl;VN=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,c=this.options;if(n&&n!==s){var l=VN;!1!==r(n)?(dj(n,c.swapClass,!0),VN=n):VN=null,l&&l!==VN&&dj(l,c.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;VN&&dj(VN,o.swapClass,!1),VN&&(o.swap||n&&n.options.swap)&&r!==VN&&(i.captureAnimationState(),i!==t&&t.captureAnimationState(),function(e,t){var n,r,i=e.parentNode,o=t.parentNode;if(!i||!o||i.isEqualNode(t)||o.isEqualNode(e))return;n=wj(e),r=wj(t),i.isEqualNode(o)&&n<r&&r++;i.insertBefore(t,i.children[n]),o.insertBefore(e,o.children[r])}(r,VN),i.animateAll(),i!==t&&t.animateAll())},nulling:function(){VN=null}},GD(e,{pluginName:"swap",eventProperties:function(){return{swapItem:VN}}})});var QN="styles_grid__bgsAQ";const JN=({className:e,options:t,kind:n="default",children:r,...i})=>{const o=s(null);return((e,t)=>{l((()=>{if(e.current){const n=TN.create(e.current,{animation:150,handle:`.${GN}`,draggable:`.${XN}`,...t});return()=>{n.destroy()}}}),[e,t])})(o,d((()=>({...t,..."swap"===n&&{swap:!0,swapClass:"dnd-drag-swap-highlight"}})),[t,n])),O("div",{ref:o,className:D(QN,e),...i,children:r})},KN=({className:e})=>O(Dt,{id:Pt.draggable,className:e});var eL="styles_drag-handle__2DC4-";const tL=({className:e})=>O("div",{className:D(eL,GN,e),children:O(KN,{})});var nL="styles_grid-item__-kGp3",rL="styles_grid-item-content__hZ5TS",iL="styles_grid-item-handle__OyO7A";const oL=({className:e,children:t,dndEnabled:n=!1,...r})=>O("div",{...r,className:D(nL,{[XN]:n},e),children:[O("div",{className:rL,children:t}),n&&O(tL,{className:iL})]}),aL=({locale:e,setLocale:t,availableLocales:n})=>{const r=n||Object.keys(wr),i=[...new Set(r)].map((e=>({key:e,value:wr[e].full})));return O(hr,{size:"s",menuTrigger:({isOpened:t,onClick:n})=>O(It,{style:"ghost",size:"s",text:wr[e]&&wr[e].short||wr.en.short,isExpanded:t,onClick:n}),children:O(hr.Section,{children:i.map((({key:n,value:r})=>O(hr.ItemWithCheckmark,{onClick:()=>{t(n)},isChecked:e===n,children:r},n)))})})},sL=({theme:e,toggleTheme:t,getTheme:n})=>(l((()=>{n()}),[n]),O(zt,{onClick:t,style:"ghost",icon:"light"===e?Pt.lineShapesMoon:Pt.lineShapesSun,size:"s"}));export{gr as ArrowButton,di as Attachment,ei as AttachmentCode,hi as AttachmentEmpty,si as AttachmentImage,ci as AttachmentVideo,$t as Button,Lt as Code,pi as CodeViewer,ro as Counter,It as DropdownButton,JN as Grid,oL as GridItem,Ft as Heading,li as HtmlPreview,zt as IconButton,Oa as Label,aL as LanguagePicker,so as Link,tr as Loadable,hr as Menu,Ai as Modal,rr as PageLoader,VD as ReportLogo,UD as ReportLogoFull,ur as SearchBox,jt as Spinner,$D as StatusLabel,Aa as SuccessRatePieChart,Dt as SvgIcon,Nt as Text,sL as ThemeButton,oo as Toggle,er as TooltipWrapper,to as Tree,eo as TreeHeader,Qi as TreeItem,Fi as TreeItemIcon,Ji as TreeSection,Ki as TreeStatusBar,BD as TrendChart,jD as TrendChartKind,Pt as allureIcons,SD as defaultTrendChartAxisBottomConfig,TD as defaultTrendChartAxisLeftConfig,PD as defaultTrendChartConfig,MD as defaultTrendChartLegendConfig,AD as defaultTrendChartMarginConfig,ED as defaultTrendChartXScaleConfig,OD as defaultTrendChartYScaleConfig,Ta as getChartData,Sa as getPercentage,LD as makeSymlogScale,FD as makeSymlogScaleBySeries};
|
|
28
|
+
*/function Cl(){if(ll)return cl;ll=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;return cl=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;var r=Object.getOwnPropertyNames(t).map((function(e){return t[e]}));if("0123456789"!==r.join(""))return!1;var i={};return"abcdefghijklmnopqrst".split("").forEach((function(e){i[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},i)).join("")}catch(e){return!1}}()?Object.assign:function(r,i){for(var o,a,s=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(r),c=1;c<arguments.length;c++){for(var l in o=Object(arguments[c]))t.call(o,l)&&(s[l]=o[l]);if(e){a=e(o);for(var u=0;u<a.length;u++)n.call(o,a[u])&&(s[a[u]]=o[a[u]])}}return s},cl}function kl(){if(fl)return ul;fl=1;return ul="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}function Ml(){return hl?dl:(hl=1,dl=Function.call.bind(Object.prototype.hasOwnProperty))}function Sl(){if(gl)return pl;gl=1;var e=function(){};if("production"!==process.env.NODE_ENV){var t=kl(),n={},r=Ml();e=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}}function i(i,o,a,s,c){if("production"!==process.env.NODE_ENV)for(var l in i)if(r(i,l)){var u;try{if("function"!=typeof i[l]){var f=Error((s||"React class")+": "+a+" type `"+l+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof i[l]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw f.name="Invariant Violation",f}u=i[l](o,l,s,a,null,t)}catch(e){u=e}if(!u||u instanceof Error||e((s||"React class")+": type specification of "+a+" `"+l+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof u+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),u instanceof Error&&!(u.message in n)){n[u.message]=!0;var d=c?c():"";e("Failed "+a+" type: "+u.message+(null!=d?d:""))}}}return i.resetWarningCache=function(){"production"!==process.env.NODE_ENV&&(n={})},pl=i}function Tl(){if(bl)return ml;bl=1;var e=xl(),t=Cl(),n=kl(),r=Ml(),i=Sl(),o=function(){};function a(){return null}return"production"!==process.env.NODE_ENV&&(o=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}),ml=function(s,c){var l="function"==typeof Symbol&&Symbol.iterator;var u="<<anonymous>>",f={array:g("array"),bigint:g("bigint"),bool:g("boolean"),func:g("function"),number:g("number"),object:g("object"),string:g("string"),symbol:g("symbol"),any:p(a),arrayOf:function(e){return p((function(t,r,i,o,a){if("function"!=typeof e)return new h("Property `"+a+"` of component `"+i+"` has invalid PropType notation inside arrayOf.");var s=t[r];if(!Array.isArray(s))return new h("Invalid "+o+" `"+a+"` of type `"+v(s)+"` supplied to `"+i+"`, expected an array.");for(var c=0;c<s.length;c++){var l=e(s,c,i,o,a+"["+c+"]",n);if(l instanceof Error)return l}return null}))},element:p((function(e,t,n,r,i){var o=e[t];return s(o)?null:new h("Invalid "+r+" `"+i+"` of type `"+v(o)+"` supplied to `"+n+"`, expected a single ReactElement.")})),elementType:p((function(t,n,r,i,o){var a=t[n];return e.isValidElementType(a)?null:new h("Invalid "+i+" `"+o+"` of type `"+v(a)+"` supplied to `"+r+"`, expected a single ReactElement type.")})),instanceOf:function(e){return p((function(t,n,r,i,o){if(!(t[n]instanceof e)){var a=e.name||u;return new h("Invalid "+i+" `"+o+"` of type `"+(((s=t[n]).constructor&&s.constructor.name?s.constructor.name:u)+"` supplied to `")+r+"`, expected instance of `"+a+"`.")}var s;return null}))},node:p((function(e,t,n,r,i){return b(e[t])?null:new h("Invalid "+r+" `"+i+"` supplied to `"+n+"`, expected a ReactNode.")})),objectOf:function(e){return p((function(t,i,o,a,s){if("function"!=typeof e)return new h("Property `"+s+"` of component `"+o+"` has invalid PropType notation inside objectOf.");var c=t[i],l=v(c);if("object"!==l)return new h("Invalid "+a+" `"+s+"` of type `"+l+"` supplied to `"+o+"`, expected an object.");for(var u in c)if(r(c,u)){var f=e(c,u,o,a,s+"."+u,n);if(f instanceof Error)return f}return null}))},oneOf:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&o(arguments.length>1?"Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).":"Invalid argument supplied to oneOf, expected an array."),a;return p((function(t,n,r,i,o){for(var a=t[n],s=0;s<e.length;s++)if(d(a,e[s]))return null;var c=JSON.stringify(e,(function(e,t){return"symbol"===y(t)?String(t):t}));return new h("Invalid "+i+" `"+o+"` of value `"+String(a)+"` supplied to `"+r+"`, expected one of "+c+".")}))},oneOfType:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&o("Invalid argument supplied to oneOfType, expected an instance of array."),a;for(var t=0;t<e.length;t++){var i=e[t];if("function"!=typeof i)return o("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+_(i)+" at index "+t+"."),a}return p((function(t,i,o,a,s){for(var c=[],l=0;l<e.length;l++){var u=(0,e[l])(t,i,o,a,s,n);if(null==u)return null;u.data&&r(u.data,"expectedType")&&c.push(u.data.expectedType)}return new h("Invalid "+a+" `"+s+"` supplied to `"+o+"`"+(c.length>0?", expected one of type ["+c.join(", ")+"]":"")+".")}))},shape:function(e){return p((function(t,r,i,o,a){var s=t[r],c=v(s);if("object"!==c)return new h("Invalid "+o+" `"+a+"` of type `"+c+"` supplied to `"+i+"`, expected `object`.");for(var l in e){var u=e[l];if("function"!=typeof u)return m(i,o,a,l,y(u));var f=u(s,l,i,o,a+"."+l,n);if(f)return f}return null}))},exact:function(e){return p((function(i,o,a,s,c){var l=i[o],u=v(l);if("object"!==u)return new h("Invalid "+s+" `"+c+"` of type `"+u+"` supplied to `"+a+"`, expected `object`.");var f=t({},i[o],e);for(var d in f){var p=e[d];if(r(e,d)&&"function"!=typeof p)return m(a,s,c,d,y(p));if(!p)return new h("Invalid "+s+" `"+c+"` key `"+d+"` supplied to `"+a+"`.\nBad object: "+JSON.stringify(i[o],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var g=p(l,d,a,s,c+"."+d,n);if(g)return g}return null}))}};function d(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function h(e,t){this.message=e,this.data=t&&"object"==typeof t?t:{},this.stack=""}function p(e){if("production"!==process.env.NODE_ENV)var t={},r=0;function i(i,a,s,l,f,d,p){if(l=l||u,d=d||s,p!==n){if(c){var g=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 g.name="Invariant Violation",g}if("production"!==process.env.NODE_ENV&&"undefined"!=typeof console){var m=l+":"+s;!t[m]&&r<3&&(o("You are manually calling a React.PropTypes validation function for the `"+d+"` prop on `"+l+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),t[m]=!0,r++)}}return null==a[s]?i?null===a[s]?new h("The "+f+" `"+d+"` is marked as required in `"+l+"`, but its value is `null`."):new h("The "+f+" `"+d+"` is marked as required in `"+l+"`, but its value is `undefined`."):null:e(a,s,l,f,d)}var a=i.bind(null,!1);return a.isRequired=i.bind(null,!0),a}function g(e){return p((function(t,n,r,i,o,a){var s=t[n];return v(s)!==e?new h("Invalid "+i+" `"+o+"` of type `"+y(s)+"` supplied to `"+r+"`, expected `"+e+"`.",{expectedType:e}):null}))}function m(e,t,n,r,i){return new h((e||"React class")+": "+t+" type `"+n+"."+r+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+i+"`.")}function b(e){switch(typeof e){case"number":case"string":case"undefined":return!0;case"boolean":return!e;case"object":if(Array.isArray(e))return e.every(b);if(null===e||s(e))return!0;var t=function(e){var t=e&&(l&&e[l]||e["@@iterator"]);if("function"==typeof t)return t}(e);if(!t)return!1;var n,r=t.call(e);if(t!==e.entries){for(;!(n=r.next()).done;)if(!b(n.value))return!1}else for(;!(n=r.next()).done;){var i=n.value;if(i&&!b(i[1]))return!1}return!0;default:return!1}}function v(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":function(e,t){return"symbol"===e||!!t&&("Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol)}(t,e)?"symbol":t}function y(e){if(null==e)return""+e;var t=v(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function _(e){var t=y(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}return h.prototype=Error.prototype,f.checkPropTypes=i,f.resetWarningCache=i.resetWarningCache,f.PropTypes=f,f},ml}function Al(){if(yl)return vl;yl=1;var e=kl();function t(){}function n(){}return n.resetWarningCache=t,vl=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}}function El(){if(_l)return rl.exports;if(_l=1,"production"!==process.env.NODE_ENV){var e=xl();rl.exports=Tl()(e.isElement,true)}else rl.exports=Al()();return rl.exports}var Ol=vo(El()),Pl=ql(),Dl=e=>Hl(e,Pl),jl=ql();Dl.write=e=>Hl(e,jl);var Nl=ql();Dl.onStart=e=>Hl(e,Nl);var Ll=ql();Dl.onFrame=e=>Hl(e,Ll);var Fl=ql();Dl.onFinish=e=>Hl(e,Fl);var Rl=[];Dl.setTimeout=(e,t)=>{const n=Dl.now()+t,r=()=>{const e=Rl.findIndex((e=>e.cancel==r));~e&&Rl.splice(e,1),Il-=~e?1:0},i={time:n,handler:e,cancel:r};return Rl.splice(Bl(n),0,i),Il+=1,Vl(),i};var Bl=e=>~(~Rl.findIndex((t=>t.time>e))||~Rl.length);Dl.cancel=e=>{Nl.delete(e),Ll.delete(e),Fl.delete(e),Pl.delete(e),jl.delete(e)},Dl.sync=e=>{Ul=!0,Dl.batchedUpdates(e),Ul=!1},Dl.throttle=e=>{let t;function n(){try{e(...t)}finally{t=null}}function r(...e){t=e,Dl.onStart(n)}return r.handler=e,r.cancel=()=>{Nl.delete(n),t=null},r};var $l="undefined"!=typeof window?window.requestAnimationFrame:()=>{};Dl.use=e=>$l=e,Dl.now="undefined"!=typeof performance?()=>performance.now():Date.now,Dl.batchedUpdates=e=>e(),Dl.catch=console.error,Dl.frameLoop="always",Dl.advance=()=>{"demand"!==Dl.frameLoop?console.warn("Cannot call the manual advancement of rafz whilst frameLoop is not set as demand"):Yl()};var zl=-1,Il=0,Ul=!1;function Hl(e,t){Ul?(t.delete(e),e(0)):(t.add(e),Vl())}function Vl(){zl<0&&(zl=0,"demand"!==Dl.frameLoop&&$l(Wl))}function Wl(){~zl&&($l(Wl),Dl.batchedUpdates(Yl))}function Yl(){const e=zl;zl=Dl.now();const t=Bl(zl);t&&(Zl(Rl.splice(0,t),(e=>e.handler())),Il-=t),Il?(Nl.flush(),Pl.flush(e?Math.min(64,zl-e):16.667),Ll.flush(),jl.flush(),Fl.flush()):zl=-1}function ql(){let e=new Set,t=e;return{add(n){Il+=t!=e||e.has(n)?0:1,e.add(n)},delete:n=>(Il-=t==e&&e.has(n)?1:0,e.delete(n)),flush(n){t.size&&(e=new Set,Il-=t.size,Zl(t,(t=>t(n)&&e.add(t))),Il+=e.size,t=e)}}}function Zl(e,t){e.forEach((e=>{try{t(e)}catch(e){Dl.catch(e)}}))}var Gl=Object.defineProperty,Xl={};function Ql(){}((e,t)=>{for(var n in t)Gl(e,n,{get:t[n],enumerable:!0})})(Xl,{assign:()=>fu,colors:()=>cu,createStringInterpolator:()=>iu,skipAnimation:()=>lu,to:()=>ou,willAdvance:()=>uu});var Jl={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 Kl(e,t){if(Jl.arr(e)){if(!Jl.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 eu=(e,t)=>e.forEach(t);function tu(e,t,n){if(Jl.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 nu=e=>Jl.und(e)?[]:Jl.arr(e)?e:[e];function ru(e,t){if(e.size){const n=Array.from(e);e.clear(),eu(n,t)}}var iu,ou,au=(e,...t)=>ru(e,(e=>e(...t))),su=()=>"undefined"==typeof window||!window.navigator||/ServerSideRendering|^Deno\//.test(window.navigator.userAgent),cu=null,lu=!1,uu=Ql,fu=e=>{e.to&&(ou=e.to),e.now&&(Dl.now=e.now),void 0!==e.colors&&(cu=e.colors),null!=e.skipAnimation&&(lu=e.skipAnimation),e.createStringInterpolator&&(iu=e.createStringInterpolator),e.requestAnimationFrame&&Dl.use(e.requestAnimationFrame),e.batchedUpdates&&(Dl.batchedUpdates=e.batchedUpdates),e.willAdvance&&(uu=e.willAdvance),e.frameLoop&&(Dl.frameLoop=e.frameLoop)},du=new Set,hu=[],pu=[],gu=0,mu={get idle(){return!du.size&&!hu.length},start(e){gu>e.priority?(du.add(e),Dl.onStart(bu)):(vu(e),Dl(_u))},advance:_u,sort(e){if(gu)Dl.onFrame((()=>mu.sort(e)));else{const t=hu.indexOf(e);~t&&(hu.splice(t,1),yu(e))}},clear(){hu=[],du.clear()}};function bu(){du.forEach(vu),du.clear(),Dl(_u)}function vu(e){hu.includes(e)||yu(e)}function yu(e){hu.splice(function(e,t){const n=e.findIndex(t);return n<0?e.length:n}(hu,(t=>t.priority>e.priority)),0,e)}function _u(e){const t=pu;for(let n=0;n<hu.length;n++){const r=hu[n];gu=r.priority,r.idle||(uu(r),r.advance(e),r.idle||t.push(r))}return gu=0,(pu=hu).length=0,(hu=t).length>0}var wu="[-+]?\\d*\\.?\\d+",xu=wu+"%";function Cu(...e){return"\\(\\s*("+e.join(")\\s*,\\s*(")+")\\s*\\)"}var ku=new RegExp("rgb"+Cu(wu,wu,wu)),Mu=new RegExp("rgba"+Cu(wu,wu,wu,wu)),Su=new RegExp("hsl"+Cu(wu,xu,xu)),Tu=new RegExp("hsla"+Cu(wu,xu,xu,wu)),Au=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,Eu=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,Ou=/^#([0-9a-fA-F]{6})$/,Pu=/^#([0-9a-fA-F]{8})$/;function Du(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 ju(e,t,n){const r=n<.5?n*(1+t):n+t-n*t,i=2*n-r,o=Du(i,r,e+1/3),a=Du(i,r,e),s=Du(i,r,e-1/3);return Math.round(255*o)<<24|Math.round(255*a)<<16|Math.round(255*s)<<8}function Nu(e){const t=parseInt(e,10);return t<0?0:t>255?255:t}function Lu(e){return(parseFloat(e)%360+360)%360/360}function Fu(e){const t=parseFloat(e);return t<0?0:t>1?255:Math.round(255*t)}function Ru(e){const t=parseFloat(e);return t<0?0:t>100?1:t/100}function Bu(e){let t=function(e){let t;return"number"==typeof e?e>>>0===e&&e>=0&&e<=4294967295?e:null:(t=Ou.exec(e))?parseInt(t[1]+"ff",16)>>>0:cu&&void 0!==cu[e]?cu[e]:(t=ku.exec(e))?(Nu(t[1])<<24|Nu(t[2])<<16|Nu(t[3])<<8|255)>>>0:(t=Mu.exec(e))?(Nu(t[1])<<24|Nu(t[2])<<16|Nu(t[3])<<8|Fu(t[4]))>>>0:(t=Au.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+"ff",16)>>>0:(t=Pu.exec(e))?parseInt(t[1],16)>>>0:(t=Eu.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+t[4]+t[4],16)>>>0:(t=Su.exec(e))?(255|ju(Lu(t[1]),Ru(t[2]),Ru(t[3])))>>>0:(t=Tu.exec(e))?(ju(Lu(t[1]),Ru(t[2]),Ru(t[3]))|Fu(t[4]))>>>0:null}(e);if(null===t)return e;t=t||0;return`rgba(${(4278190080&t)>>>24}, ${(16711680&t)>>>16}, ${(65280&t)>>>8}, ${(255&t)/255})`}var $u=(e,t,n)=>{if(Jl.fun(e))return e;if(Jl.arr(e))return $u({range:e,output:t,extrapolate:n});if(Jl.str(e.output[0]))return iu(e);const r=e,i=r.output,o=r.range||[0,1],a=r.extrapolateLeft||r.extrapolate||"extend",s=r.extrapolateRight||r.extrapolate||"extend",c=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,c){let l=c?c(e):e;if(l<t){if("identity"===a)return l;"clamp"===a&&(l=t)}if(l>n){if("identity"===s)return l;"clamp"===s&&(l=n)}if(r===i)return r;if(t===n)return e<=t?r:i;t===-1/0?l=-l:n===1/0?l-=t:l=(l-t)/(n-t);l=o(l),r===-1/0?l=-l:i===1/0?l+=r:l=l*(i-r)+r;return l}(e,o[t],o[t+1],i[t],i[t+1],c,a,s,r.map)}};var zu=1.70158,Iu=1.525*zu,Uu=zu+1,Hu=2*Math.PI/3,Vu=2*Math.PI/4.5,Wu=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},Yu={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=>Uu*e*e*e-zu*e*e,easeOutBack:e=>1+Uu*Math.pow(e-1,3)+zu*Math.pow(e-1,2),easeInOutBack:e=>e<.5?Math.pow(2*e,2)*(7.189819*e-Iu)/2:(Math.pow(2*e-2,2)*((Iu+1)*(2*e-2)+Iu)+2)/2,easeInElastic:e=>0===e?0:1===e?1:-Math.pow(2,10*e-10)*Math.sin((10*e-10.75)*Hu),easeOutElastic:e=>0===e?0:1===e?1:Math.pow(2,-10*e)*Math.sin((10*e-.75)*Hu)+1,easeInOutElastic:e=>0===e?0:1===e?1:e<.5?-Math.pow(2,20*e-10)*Math.sin((20*e-11.125)*Vu)/2:Math.pow(2,-20*e+10)*Math.sin((20*e-11.125)*Vu)/2+1,easeInBounce:e=>1-Wu(1-e),easeOutBounce:Wu,easeInOutBounce:e=>e<.5?(1-Wu(1-2*e))/2:(1+Wu(2*e-1))/2,steps:(e,t="end")=>n=>{const r=(n="end"===t?Math.min(n,.999):Math.max(n,.001))*e;return((e,t,n)=>Math.min(Math.max(n,e),t))(0,1,("end"===t?Math.floor(r):Math.ceil(r))/e)}},qu=Symbol.for("FluidValue.get"),Zu=Symbol.for("FluidValue.observers"),Gu=e=>Boolean(e&&e[qu]),Xu=e=>e&&e[qu]?e[qu]():e,Qu=e=>e[Zu]||null;function Ju(e,t){const n=e[Zu];n&&n.forEach((e=>{!function(e,t){e.eventObserved?e.eventObserved(t):e(t)}(e,t)}))}var Ku=class{constructor(e){if(!e&&!(e=this.get))throw Error("Unknown getter");ef(this,e)}},ef=(e,t)=>of(e,qu,t);function tf(e,t){if(e[qu]){let n=e[Zu];n||of(e,Zu,n=new Set),n.has(t)||(n.add(t),e.observerAdded&&e.observerAdded(n.size,t))}return t}function nf(e,t){const n=e[Zu];if(n&&n.has(t)){const r=n.size-1;r?n.delete(t):e[Zu]=null,e.observerRemoved&&e.observerRemoved(r,t)}}var rf,of=(e,t,n)=>Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0}),af=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,sf=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,cf=new RegExp(`(${af.source})(%|[a-z]+)`,"i"),lf=/rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi,uf=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/,ff=e=>{const[t,n]=df(e);if(!t||su())return e;const r=window.getComputedStyle(document.documentElement).getPropertyValue(t);if(r)return r.trim();if(n&&n.startsWith("--")){const t=window.getComputedStyle(document.documentElement).getPropertyValue(n);return t||e}return n&&uf.test(n)?ff(n):n||e},df=e=>{const t=uf.exec(e);if(!t)return[,];const[,n,r]=t;return[n,r]},hf=(e,t,n,r,i)=>`rgba(${Math.round(t)}, ${Math.round(n)}, ${Math.round(r)}, ${i})`,pf=e=>{rf||(rf=cu?new RegExp(`(${Object.keys(cu).join("|")})(?!\\w)`,"g"):/^\b$/);const t=e.output.map((e=>Xu(e).replace(uf,ff).replace(sf,Bu).replace(rf,Bu))),n=t.map((e=>e.match(af).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=>$u({...e,output:t})));return e=>{const n=!cf.test(t[0])&&t.find((e=>cf.test(e)))?.replace(af,"");let r=0;return t[0].replace(af,(()=>`${i[r++](e)}${n||""}`)).replace(lf,hf)}},gf="react-spring: ",mf=e=>{const t=e;let n=!1;if("function"!=typeof t)throw new TypeError(`${gf}once requires a function parameter`);return(...e)=>{n||(t(...e),n=!0)}},bf=mf(console.warn);var vf=mf(console.warn);function yf(e){return Jl.str(e)&&("#"==e[0]||/\d/.test(e)||!su()&&uf.test(e)||e in(cu||{}))}var _f=su()?p:g;function wf(){const e=m()[1],t=(()=>{const e=b(!1);return _f((()=>(e.current=!0,()=>{e.current=!1})),[]),e})();return()=>{t.current&&e(Math.random())}}var xf=e=>p(e,Cf),Cf=[];function kf(e){const t=b();return p((()=>{t.current=e})),t.current}var Mf=Symbol.for("Animated:node"),Sf=e=>e&&e[Mf],Tf=(e,t)=>{return n=e,r=Mf,i=t,Object.defineProperty(n,r,{value:i,writable:!0,configurable:!0});var n,r,i},Af=e=>e&&e[Mf]&&e[Mf].getPayload(),Ef=class{constructor(){Tf(this,this)}getPayload(){return this.payload||[]}},Of=class extends Ef{constructor(e){super(),this._value=e,this.done=!0,this.durationProgress=0,Jl.num(this._value)&&(this.lastPosition=this._value)}static create(e){return new Of(e)}getPayload(){return[this]}getValue(){return this._value}setValue(e,t){return Jl.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,Jl.num(this._value)&&(this.elapsedTime=0,this.durationProgress=0,this.lastPosition=this._value,e&&(this.lastVelocity=null),this.v0=null)}},Pf=class extends Of{constructor(e){super(0),this._string=null,this._toString=$u({output:[e,e]})}static create(e){return new Pf(e)}getValue(){const e=this._string;return null==e?this._string=this._toString(this._value):e}setValue(e){if(Jl.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=$u({output:[this.getValue(),e]})),this._value=0,super.reset()}},Df={dependencies:null},jf=class extends Ef{constructor(e){super(),this.source=e,this.setValue(e)}getValue(e){const t={};return tu(this.source,((n,r)=>{var i;(i=n)&&i[Mf]===i?t[r]=n.getValue(e):Gu(n)?t[r]=Xu(n):e||(t[r]=n)})),t}setValue(e){this.source=e,this.payload=this._makePayload(e)}reset(){this.payload&&eu(this.payload,(e=>e.reset()))}_makePayload(e){if(e){const t=new Set;return tu(e,this._addToPayload,t),Array.from(t)}}_addToPayload(e){Df.dependencies&&Gu(e)&&Df.dependencies.add(e);const t=Af(e);t&&eu(t,(e=>this.add(e)))}},Nf=class extends jf{constructor(e){super(e)}static create(e){return new Nf(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(Lf)),!0)}};function Lf(e){return(yf(e)?Pf:Of).create(e)}function Ff(e){const t=Sf(e);return t?t.constructor:Jl.arr(e)?Nf:yf(e)?Pf:Of}var Rf=(e,t)=>{const n=!Jl.fun(e)||e.prototype&&e.prototype.isReactComponent;return v(((r,i)=>{const o=b(null),a=n&&y((e=>{o.current=function(e,t){e&&(Jl.fun(e)?e(t):e.current=t);return t}(i,e)}),[i]),[s,c]=function(e,t){const n=new Set;Df.dependencies=n,e.style&&(e={...e,style:t.createAnimatedStyle(e.style)});return e=new jf(e),Df.dependencies=null,[e,n]}(r,t),l=wf(),u=()=>{const e=o.current;if(n&&!e)return;!1===(!!e&&t.applyAnimatedValues(e,s.getValue(!0)))&&l()},f=new Bf(u,c),d=b();_f((()=>(d.current=f,eu(c,(e=>tf(e,f))),()=>{d.current&&(eu(d.current.deps,(e=>nf(e,d.current))),Dl.cancel(d.current.update))}))),p(u,[]),xf((()=>()=>{const e=d.current;eu(e.deps,(t=>nf(t,e)))}));const g=t.getComponentProps(s.getValue());return h.createElement(e,{...g,ref:a})}))},Bf=class{constructor(e,t){this.update=e,this.deps=t}eventObserved(e){"change"==e.type&&Dl.write(this.update)}};var $f=Symbol.for("AnimatedComponent"),zf=e=>Jl.str(e)?e:e&&Jl.str(e.displayName)?e.displayName:Jl.fun(e)&&e.name||null;function If(e,...t){return Jl.fun(e)?e(...t):e}var Uf=(e,t)=>!0===e||!!(t&&e&&(Jl.fun(e)?e(t):nu(e).includes(t))),Hf=(e,t)=>Jl.obj(e)?t&&e[t]:e,Vf=(e,t)=>!0===e.default?e[t]:e.default?e.default[t]:void 0,Wf=e=>e,Yf=(e,t=Wf)=>{let n=qf;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);Jl.und(n)||(r[i]=n)}return r},qf=["config","onProps","onStart","onChange","onPause","onResume","onRest"],Zf={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 Gf(e){const t=function(e){const t={};let n=0;if(tu(e,((e,r)=>{Zf[r]||(t[r]=e,n++)})),n)return t}(e);if(t){const n={to:t};return tu(e,((e,r)=>r in t||(n[r]=e))),n}return{...e}}function Xf(e){return e=Xu(e),Jl.arr(e)?e.map(Xf):yf(e)?Xl.createStringInterpolator({range:[0,1],output:[e,e]})(1):e}function Qf(e){for(const t in e)return!0;return!1}function Jf(e){return Jl.fun(e)||Jl.arr(e)&&Jl.obj(e[0])}function Kf(e,t){e.ref?.delete(e),t?.delete(e)}function ed(e,t){t&&e.ref!==t&&(e.ref?.delete(e),t.add(e),e.ref=t)}var td={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}},nd={...td.default,mass:1,damping:1,easing:Yu.linear,clamp:!1},rd=class{constructor(){this.velocity=0,Object.assign(this,nd)}};function id(e,t){if(Jl.und(t.decay)){const n=!Jl.und(t.tension)||!Jl.und(t.friction);!n&&Jl.und(t.frequency)&&Jl.und(t.damping)&&Jl.und(t.mass)||(e.duration=void 0,e.decay=void 0),n&&(e.frequency=void 0)}else e.duration=void 0}var od=[],ad=class{constructor(){this.changed=!1,this.values=od,this.toValues=null,this.fromValues=od,this.config=new rd,this.immediate=!1}};function sd(e,{key:t,props:n,defaultProps:r,state:i,actions:o}){return new Promise(((a,s)=>{let c,l,u=Uf(n.cancel??r?.cancel,t);if(u)h();else{Jl.und(n.pause)||(i.paused=Uf(n.pause,t));let e=r?.pause;!0!==e&&(e=i.paused||Uf(e,t)),c=If(n.delay||0,t),e?(i.resumeQueue.add(d),o.pause()):(o.resume(),d())}function f(){i.resumeQueue.add(d),i.timeouts.delete(l),l.cancel(),c=l.time-Dl.now()}function d(){c>0&&!Xl.skipAnimation?(i.delayed=!0,l=Dl.setTimeout(h,c),i.pauseQueue.add(f),i.timeouts.add(l)):h()}function h(){i.delayed&&(i.delayed=!1),i.pauseQueue.delete(f),i.timeouts.delete(l),e<=(i.cancelId||0)&&(u=!0);try{o.start({...n,callId:e,cancel:u},a)}catch(e){s(e)}}}))}var cd=(e,t)=>1==t.length?t[0]:t.some((e=>e.cancelled))?fd(e.get()):t.every((e=>e.noop))?ld(e.get()):ud(e.get(),t.every((e=>e.finished))),ld=e=>({value:e,noop:!0,finished:!0,cancelled:!1}),ud=(e,t,n=!1)=>({value:e,finished:t,cancelled:n}),fd=e=>({value:e,cancelled:!0,finished:!1});function dd(e,t,n,r){const{callId:i,parentId:o,onRest:a}=t,{asyncTo:s,promise:c}=n;return o||e!==s||t.reset?n.promise=(async()=>{n.asyncId=i,n.asyncTo=e;const l=Yf(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)&&fd(r)||i!==n.asyncId&&ud(r,!1);if(t)throw e.result=t,f(e),e},p=(e,t)=>{const o=new pd,a=new gd;return(async()=>{if(Xl.skipAnimation)throw hd(n),a.result=ud(r,!1),f(a),a;h(o);const s=Jl.obj(e)?{...e}:{...t,to:e};s.parentId=i,tu(l,((e,t)=>{Jl.und(s[t])&&(s[t]=e)}));const c=await r.start(s);return h(o),n.paused&&await new Promise((e=>{n.resumeQueue.add(e)})),c})()};let g;if(Xl.skipAnimation)return hd(n),ud(r,!1);try{let t;t=Jl.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=ud(r.get(),!0,!1)}catch(e){if(e instanceof pd)g=e.result;else{if(!(e instanceof gd))throw e;g=e.result}}finally{i==n.asyncId&&(n.asyncId=o,n.asyncTo=o?s:void 0,n.promise=o?c:void 0)}return Jl.fun(a)&&Dl.batchedUpdates((()=>{a(g,r,r.item)})),g})():c}function hd(e,t){ru(e.timeouts,(e=>e.cancel())),e.pauseQueue.clear(),e.resumeQueue.clear(),e.asyncId=e.asyncTo=e.promise=void 0,t&&(e.cancelId=t)}var pd=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.")}},gd=class extends Error{constructor(){super("SkipAnimationSignal")}},md=e=>e instanceof vd,bd=1,vd=class extends Ku{constructor(){super(...arguments),this.id=bd++,this._priority=0}get priority(){return this._priority}set priority(e){this._priority!=e&&(this._priority=e,this._onPriorityChange(e))}get(){const e=Sf(this);return e&&e.getValue()}to(...e){return Xl.to(this,e)}interpolate(...e){return bf(`${gf}The "interpolate" function is deprecated in v9 (use "to" instead)`),Xl.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){Ju(this,{type:"change",parent:this,value:e,idle:t})}_onPriorityChange(e){this.idle||mu.sort(this),Ju(this,{type:"priority",parent:this,priority:e})}},yd=Symbol.for("SpringPhase"),_d=e=>(1&e[yd])>0,wd=e=>(2&e[yd])>0,xd=e=>(4&e[yd])>0,Cd=(e,t)=>t?e[yd]|=3:e[yd]&=-3,kd=(e,t)=>t?e[yd]|=4:e[yd]&=-5,Md=class extends vd{constructor(e,t){if(super(),this.animation=new ad,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,!Jl.und(e)||!Jl.und(t)){const n=Jl.obj(e)?{...e}:{...t,from:e};Jl.und(n.default)&&(n.default=!0),this.start(n)}}get idle(){return!(wd(this)||this._state.asyncTo)||xd(this)}get goal(){return Xu(this.animation.to)}get velocity(){const e=Sf(this);return e instanceof Of?e.lastVelocity||0:e.getPayload().map((e=>e.lastVelocity||0))}get hasAnimated(){return _d(this)}get isAnimating(){return wd(this)}get isPaused(){return xd(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=Af(r.to);!a&&Gu(r.to)&&(i=nu(Xu(r.to))),r.values.forEach(((s,c)=>{if(s.done)return;const l=s.constructor==Pf?1:a?a[c].lastPosition:i[c];let u=r.immediate,f=l;if(!u){if(f=s.lastPosition,o.tension<=0)return void(s.done=!0);let t=s.elapsedTime+=e;const n=r.fromValues[c],i=null!=s.v0?s.v0:s.v0=Jl.arr(o.velocity)?o.velocity[c]:o.velocity;let a;const d=o.precision||(n==l?.005:Math.min(1,.001*Math.abs(l-n)));if(Jl.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,c=!Jl.und(r),h=n==l?s.v0>0:n<l;let p,g=!1;const m=1,b=Math.ceil(e/m);for(let e=0;e<b&&(p=Math.abs(a)>t,p||(u=Math.abs(l-f)<=d,!u));++e){c&&(g=f==l||f>l==h,g&&(a=-a*r,f=l));a+=(1e-6*-o.tension*(f-l)+.001*-o.friction*a)/o.mass*m,f+=a*m}}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)*(l-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[c].done&&(u=!1),u?s.done=!0:t=!1,s.setValue(f,o.round)&&(n=!0)}));const s=Sf(this),c=s.getValue();if(t){const e=Xu(r.to);c===e&&!n||o.decay?n&&o.decay&&this._onChange(c):(s.setValue(e),this._onChange(e)),this._stop()}else n&&this._onChange(c)}set(e){return Dl.batchedUpdates((()=>{this._stop(),this._focus(e),this._set(e)})),this}pause(){this._update({pause:!0})}resume(){this._update({pause:!1})}finish(){if(wd(this)){const{to:e,config:t}=this.animation;Dl.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 Jl.und(e)?(n=this.queue||[],this.queue=[]):n=[Jl.obj(e)?e:{...t,to:e}],Promise.all(n.map((e=>this._update(e)))).then((e=>cd(this,e)))}stop(e){const{to:t}=this.animation;return this._focus(this.get()),hd(this._state,e&&this._lastCallId),Dl.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=Jl.obj(n)?n[t]:n,(null==n||Jf(n))&&(n=void 0),r=Jl.obj(r)?r[t]:r,null==r&&(r=void 0);const i={to:n,from:r};return _d(this)||(e.reverse&&([n,r]=[r,n]),r=Xu(r),Jl.und(r)?Sf(this)||this._set(n):this._set(r)),i}_update({...e},t){const{key:n,defaultProps:r}=this;e.default&&Object.assign(r,Yf(e,((e,t)=>/^on/.test(t)?Hf(e,n):e))),Dd(this,e,"onProps"),jd(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 sd(++this._lastCallId,{key:n,props:e,defaultProps:r,state:o,actions:{pause:()=>{xd(this)||(kd(this,!0),au(o.pauseQueue),jd(this,"onPause",ud(this,Sd(this,this.animation.to)),this))},resume:()=>{xd(this)&&(kd(this,!1),wd(this)&&this._resume(),au(o.resumeQueue),jd(this,"onResume",ud(this,Sd(this,this.animation.to)),this))},start:this._merge.bind(this,i)}}).then((n=>{if(e.loop&&n.finished&&(!t||!n.noop)){const t=Td(e);if(t)return this._update(t,!0)}return n}))}_merge(e,t,n){if(t.cancel)return this.stop(!0),n(fd(this));const r=!Jl.und(e.to),i=!Jl.und(e.from);if(r||i){if(!(t.callId>this._lastToId))return n(fd(this));this._lastToId=t.callId}const{key:o,defaultProps:a,animation:s}=this,{to:c,from:l}=s;let{to:u=c,from:f=l}=e;!i||r||t.default&&!Jl.und(u)||(u=f),t.reverse&&([u,f]=[f,u]);const d=!Kl(f,l);d&&(s.from=f),f=Xu(f);const h=!Kl(u,c);h&&this._focus(u);const p=Jf(t.to),{config:g}=s,{decay:m,velocity:b}=g;(r||i)&&(g.velocity=0),t.config&&!p&&function(e,t,n){n&&(id(n={...n},t),t={...n,...t}),id(e,t),Object.assign(e,t);for(const t in nd)null==e[t]&&(e[t]=nd[t]);let{frequency:r,damping:i}=e;const{mass:o}=e;Jl.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,If(t.config,o),t.config!==a.config?If(a.config,o):void 0);let v=Sf(this);if(!v||Jl.und(u))return n(ud(this,!0));const y=Jl.und(t.reset)?i&&!t.default:!Jl.und(f)&&Uf(t.reset,o),_=y?f:this.get(),w=Xf(u),x=Jl.num(w)||Jl.arr(w)||yf(w),C=!p&&(!x||Uf(a.immediate||t.immediate,o));if(h){const e=Ff(u);if(e!==v.constructor){if(!C)throw Error(`Cannot animate between ${v.constructor.name} and ${e.name}, as the "to" prop suggests`);v=this._set(w)}}const k=v.constructor;let M=Gu(u),S=!1;if(!M){const e=y||!_d(this)&&d;(h||e)&&(S=Kl(Xf(_),w),M=!S),(Kl(s.immediate,C)||C)&&Kl(g.decay,m)&&Kl(g.velocity,b)||(M=!0)}if(S&&wd(this)&&(s.changed&&!y?M=!0:M||this._stop(c)),!p&&((M||Gu(c))&&(s.values=v.getPayload(),s.toValues=Gu(u)?null:k==Pf?[1]:nu(w)),s.immediate!=C&&(s.immediate=C,C||y||this._set(c)),M)){const{onRest:e}=s;eu(Pd,(e=>Dd(this,t,e)));const r=ud(this,Sd(this,c));au(this._pendingCalls,r),this._pendingCalls.add(n),s.changed&&Dl.batchedUpdates((()=>{s.changed=!y,e?.(r,this),y?If(a.onRest,r):s.onStart?.(r,this)}))}y&&this._set(_),p?n(dd(t.to,t,this._state,this)):M?this._start():wd(this)&&!h?this._pendingCalls.add(n):n(ld(_))}_focus(e){const t=this.animation;e!==t.to&&(Qu(this)&&this._detach(),t.to=e,Qu(this)&&this._attach())}_attach(){let e=0;const{to:t}=this.animation;Gu(t)&&(tf(t,this),md(t)&&(e=t.priority+1)),this.priority=e}_detach(){const{to:e}=this.animation;Gu(e)&&nf(e,this)}_set(e,t=!0){const n=Xu(e);if(!Jl.und(n)){const e=Sf(this);if(!e||!Kl(n,e.getValue())){const r=Ff(n);e&&e.constructor==r?e.setValue(n):Tf(this,r.create(n)),e&&Dl.batchedUpdates((()=>{this._onChange(n,t)}))}}return Sf(this)}_onStart(){const e=this.animation;e.changed||(e.changed=!0,jd(this,"onStart",ud(this,Sd(this,e.to)),this))}_onChange(e,t){t||(this._onStart(),If(this.animation.onChange,e,this)),If(this.defaultProps.onChange,e,this),super._onChange(e,t)}_start(){const e=this.animation;Sf(this).reset(Xu(e.to)),e.immediate||(e.fromValues=e.values.map((e=>e.lastPosition))),wd(this)||(Cd(this,!0),xd(this)||this._resume())}_resume(){Xl.skipAnimation?this.finish():mu.start(this)}_stop(e,t){if(wd(this)){Cd(this,!1);const n=this.animation;eu(n.values,(e=>{e.done=!0})),n.toValues&&(n.onChange=n.onPause=n.onResume=void 0),Ju(this,{type:"idle",parent:this});const r=t?fd(this.get()):ud(this.get(),Sd(this,e??n.to));au(this._pendingCalls,r),n.changed&&(n.changed=!1,jd(this,"onRest",r,this))}}};function Sd(e,t){const n=Xf(t);return Kl(Xf(e.get()),n)}function Td(e,t=e.loop,n=e.to){const r=If(t);if(r){const i=!0!==r&&Gf(r),o=(i||e).reverse,a=!i||i.reset;return Ad({...e,loop:t,default:!1,pause:void 0,to:!o||Jf(n)?n:void 0,from:a?e.from:void 0,reset:a,...i})}}function Ad(e){const{to:t,from:n}=e=Gf(e),r=new Set;return Jl.obj(t)&&Od(t,r),Jl.obj(n)&&Od(n,r),e.keys=r.size?Array.from(r):null,e}function Ed(e){const t=Ad(e);return Jl.und(t.default)&&(t.default=Yf(t)),t}function Od(e,t){tu(e,((e,n)=>null!=e&&t.add(n)))}var Pd=["onStart","onRest","onChange","onPause","onResume"];function Dd(e,t,n){e.animation[n]=t[n]!==Vf(t,n)?Hf(t[n],e.key):void 0}function jd(e,t,...n){e.animation[t]?.(...n),e.defaultProps[t]?.(...n)}var Nd=["onStart","onChange","onRest"],Ld=1,Fd=class{constructor(e,t){this.id=Ld++,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];Jl.und(n)||this.springs[t].set(n)}}update(e){return e&&this.queue.push(Ad(e)),this}start(e){let{queue:t}=this;return e?t=nu(e).map(Ad):this.queue=[],this._flush?this._flush(this,t):(Hd(this,t),Rd(this,t))}stop(e,t){if(e!==!!e&&(t=e),t){const n=this.springs;eu(nu(t),(t=>n[t].stop(!!e)))}else hd(this._state,this._lastAsyncId),this.each((t=>t.stop(!!e)));return this}pause(e){if(Jl.und(e))this.start({pause:!0});else{const t=this.springs;eu(nu(e),(e=>t[e].pause()))}return this}resume(e){if(Jl.und(e))this.start({pause:!1});else{const t=this.springs;eu(nu(e),(e=>t[e].resume()))}return this}each(e){tu(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,ru(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&&ru(t,(([e,t])=>{t.value=a,e(t,this,this._item)})),o&&(this._started=!1,ru(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)}Dl.onFrame(this._onFrame)}};function Rd(e,t){return Promise.all(t.map((t=>Bd(e,t)))).then((t=>cd(e,t)))}async function Bd(e,t,n){const{keys:r,to:i,from:o,loop:a,onRest:s,onResolve:c}=t,l=Jl.obj(t.default)&&t.default;a&&(t.loop=!1),!1===i&&(t.to=null),!1===o&&(t.from=null);const u=Jl.arr(i)||Jl.fun(i)?i:void 0;u?(t.to=void 0,t.onRest=void 0,l&&(l.onRest=void 0)):eu(Nd,(n=>{const r=t[n];if(Jl.fun(r)){const i=e._events[n];t[n]=({finished:e,cancelled:t})=>{const n=i.get(r);n?(e||(n.finished=!1),t&&(n.cancelled=!0)):i.set(r,{value:null,finished:e||!1,cancelled:t||!1})},l&&(l[n]=t[n])}}));const f=e._state;t.pause===!f.paused?(f.paused=t.pause,au(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===Vf(t,"cancel");(u||h&&f.asyncId)&&d.push(sd(++e._lastAsyncId,{props:t,state:f,actions:{pause:Ql,resume:Ql,start(t,n){h?(hd(f,e._lastAsyncId),n(fd(e))):(t.onRest=s,n(dd(u,t,f,e)))}}})),f.paused&&await new Promise((e=>{f.resumeQueue.add(e)}));const p=cd(e,await Promise.all(d));if(a&&p.finished&&(!n||!p.noop)){const n=Td(t,a,i);if(n)return Hd(e,[n]),Bd(e,n,!0)}return c&&Dl.batchedUpdates((()=>c(p,e,e.item))),p}function $d(e,t){const n={...e.springs};return t&&eu(nu(t),(e=>{Jl.und(e.keys)&&(e=Ad(e)),Jl.obj(e.to)||(e={...e,to:void 0}),Ud(n,e,(e=>Id(e)))})),zd(e,n),n}function zd(e,t){tu(t,((t,n)=>{e.springs[n]||(e.springs[n]=t,tf(t,e))}))}function Id(e,t){const n=new Md;return n.key=e,t&&tf(n,t),n}function Ud(e,t,n){t.keys&&eu(t.keys,(r=>{(e[r]||(e[r]=n(r)))._prepareNode(t)}))}function Hd(e,t){eu(t,(t=>{Ud(e.springs,t,(t=>Id(t,e)))}))}var Vd=({children:e,...t})=>{const n=_(Wd),r=t.pause||!!n.pause,i=t.immediate||!!n.immediate;t=function(e,t){const[n]=m((()=>({inputs:t,result:e()}))),r=b(),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 p((()=>{r.current=o,i==n&&(n.inputs=n.result=void 0)}),[o]),o.result}((()=>({pause:r,immediate:i})),[r,i]);const{Provider:o}=Wd;return h.createElement(o,{value:t},e)},Wd=function(e,t){return Object.assign(e,h.createContext(t)),e.Provider._context=e,e.Consumer._context=e,e}(Vd,{});Vd.Provider=Wd.Provider,Vd.Consumer=Wd.Consumer;var Yd=()=>{const e=[],t=function(t){vf(`${gf}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 eu(e,((e,i)=>{if(Jl.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 eu(e,(e=>e.pause(...arguments))),this},t.resume=function(){return eu(e,(e=>e.resume(...arguments))),this},t.set=function(t){eu(e,((e,n)=>{const r=Jl.fun(t)?t(n,e):t;r&&e.set(r)}))},t.start=function(t){const n=[];return eu(e,((e,r)=>{if(Jl.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 eu(e,(e=>e.stop(...arguments))),this},t.update=function(t){return eu(e,((e,n)=>e.update(this._getProps(t,e,n)))),this};const n=function(e,t,n){return Jl.fun(e)?e(n,t):e};return t._getProps=n,t};function qd(e,t){const n=Jl.fun(e),[[r],i]=function(e,t,n){const r=Jl.fun(t)&&t;r&&!n&&(n=[]);const i=w((()=>r||3==arguments.length?Yd():void 0),[]),o=b(0),a=wf(),s=w((()=>({ctrls:[],queue:[],flush(e,t){const n=$d(e,t);return o.current>0&&!s.queue.length&&!Object.keys(n).some((t=>!e.springs[t]))?Rd(e,t):new Promise((r=>{zd(e,n),s.queue.push((()=>{r(Rd(e,t))})),a()}))}})),[]),c=b([...s.ctrls]),l=[],u=kf(e)||0;function f(e,n){for(let i=e;i<n;i++){const e=c.current[i]||(c.current[i]=new Fd(null,s.flush)),n=r?r(i,e):t[i];n&&(l[i]=Ed(n))}}w((()=>{eu(c.current.slice(e,u),(e=>{Kf(e,i),e.stop(!0)})),c.current.length=e,f(u,e)}),[e]),w((()=>{f(0,Math.min(u,e))}),n);const d=c.current.map(((e,t)=>$d(e,l[t]))),h=_(Vd),p=kf(h),g=h!==p&&Qf(h);_f((()=>{o.current++,s.ctrls=c.current;const{queue:e}=s;e.length&&(s.queue=[],eu(e,(e=>e()))),eu(c.current,((e,t)=>{i?.add(e),g&&e.start({default:h});const n=l[t];n&&(ed(e,n.ref),e.ref?e.queue.push(n):e.start(n))}))})),xf((()=>()=>{eu(s.ctrls,(e=>e.stop(!0)))}));const m=d.map((e=>({...e})));return i?[m,i]:m}(1,n?e:[e],n?[]:t);return n||2==arguments.length?[r,i]:r}function Zd(e,t,n){const r=Jl.fun(t)&&t,{reset:i,sort:o,trail:a=0,expires:s=!0,exitBeforeEnter:c=!1,onDestroyed:l,ref:u,config:f}=r?r():t,d=w((()=>r||3==arguments.length?Yd():void 0),[]),p=nu(e),g=[],m=b(null),v=i?null:m.current;_f((()=>{m.current=g})),xf((()=>(eu(g,(e=>{d?.add(e.ctrl),e.ctrl.ref=d})),()=>{eu(m.current,(e=>{e.expired&&clearTimeout(e.expirationId),Kf(e.ctrl,d),e.ctrl.stop(!0)}))})));const y=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):Gd++}))}return Jl.und(n)?e:Jl.fun(n)?e.map(n):nu(n)}(p,r?r():t,v),x=i&&m.current||[];_f((()=>eu(x,(({ctrl:e,item:t,key:n})=>{Kf(e,d),If(l,t,n)}))));const C=[];if(v&&eu(v,((e,t)=>{e.expired?(clearTimeout(e.expirationId),x.push(e)):~(t=C[t]=y.indexOf(e.key))&&(g[t]=e)})),eu(p,((e,t)=>{g[t]||(g[t]={key:y[t],item:e,phase:"mount",ctrl:new Fd},g[t].ctrl.item=e)})),C.length){let e=-1;const{leave:n}=r?r():t;eu(C,((t,r)=>{const i=v[r];~t?(e=g.indexOf(i),g[e]={...i,item:p[t]}):n&&g.splice(++e,0,i)}))}Jl.fun(o)&&g.sort(((e,t)=>o(e.item,t.item)));let k=-a;const M=wf(),S=Yf(t),T=new Map,A=b(new Map),E=b(!1);eu(g,((e,n)=>{const i=e.key,o=e.phase,l=r?r():t;let d,h;const p=If(l.delay||0,i);if("mount"==o)d=l.enter,h="enter";else{const e=y.indexOf(i)<0;if("leave"!=o)if(e)d=l.leave,h="leave";else{if(!(d=l.update))return;h="update"}else{if(e)return;d=l.enter,h="enter"}}if(d=If(d,e.item,n),d=Jl.obj(d)?Gf(d):{to:d},!d.config){const t=f||S.config;d.config=If(t,e.item,n,h)}k+=a;const g={...S,delay:p+k,ref:u,immediate:l.immediate,reset:!1,...d};if("enter"==h&&Jl.und(g.from)){const i=r?r():t,o=Jl.und(i.initial)||v?i.from:i.initial;g.from=If(o,e.item,n)}const{onResolve:b}=g;g.onResolve=e=>{If(b,e);const t=m.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=If(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(M,r)))}}e&&t.some((e=>e.expired))&&(A.current.delete(n),c&&(E.current=!0),M())}};const _=$d(e.ctrl,g);"leave"===h&&c?A.current.set(e,{phase:h,springs:_,payload:g}):T.set(e,{phase:h,springs:_,payload:g})}));const O=_(Vd),P=kf(O),D=O!==P&&Qf(O);_f((()=>{D&&eu(g,(e=>{e.ctrl.start({default:O})}))}),[O]),eu(T,((e,t)=>{if(A.current.size){const e=g.findIndex((e=>e.key===t.key));g.splice(e,1)}})),_f((()=>{eu(A.current.size?A.current:T,(({phase:e,payload:t},n)=>{const{ctrl:r}=n;n.phase=e,d?.add(r),D&&"enter"==e&&r.start({default:O}),t&&(ed(r,t.ref),!r.ref&&!d||E.current?(r.start(t),E.current&&(E.current=!1)):r.update(t))}))}),i?void 0:n);const j=e=>h.createElement(h.Fragment,null,g.map(((t,n)=>{const{springs:r}=T.get(t)||t.ctrl,i=e({...r},t.item,t,n);return i&&i.type?h.createElement(i.type,{...i.props,key:Jl.str(t.key)||Jl.num(t.key)?t.key:t.ctrl.id,ref:i.ref}):i})));return d?[j,d]:j}var Gd=1;var Xd=class extends vd{constructor(e,t){super(),this.source=e,this.idle=!0,this._active=new Set,this.calc=$u(...t);const n=this._get(),r=Ff(n);Tf(this,r.create(n))}advance(e){const t=this._get();Kl(t,this.get())||(Sf(this).setValue(t),this._onChange(t,this.idle)),!this.idle&&Jd(this._active)&&Kd(this)}_get(){const e=Jl.arr(this.source)?this.source.map(Xu):nu(Xu(this.source));return this.calc(...e)}_start(){this.idle&&!Jd(this._active)&&(this.idle=!1,eu(Af(this),(e=>{e.done=!1})),Xl.skipAnimation?(Dl.batchedUpdates((()=>this.advance())),Kd(this)):mu.start(this))}_attach(){let e=1;eu(nu(this.source),(t=>{Gu(t)&&tf(t,this),md(t)&&(t.idle||this._active.add(t),e=Math.max(e,t.priority+1))})),this.priority=e,this._start()}_detach(){eu(nu(this.source),(e=>{Gu(e)&&nf(e,this)})),this._active.clear(),Kd(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=nu(this.source).reduce(((e,t)=>Math.max(e,(md(t)?t.priority:0)+1)),0))}};function Qd(e){return!1!==e.idle}function Jd(e){return!e.size||Array.from(e).every(Qd)}function Kd(e){e.idle||(e.idle=!0,eu(Af(e),(e=>{e.done=!0})),Ju(e,{type:"idle",parent:e}))}Xl.assign({createStringInterpolator:pf,to:(e,t)=>new Xd(e,t)});var eh=/^--/;function th(e,t){return null==t||"boolean"==typeof t||""===t?"":"number"!=typeof t||0===t||eh.test(e)||rh.hasOwnProperty(e)&&rh[e]?(""+t).trim():t+"px"}var nh={};var rh={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},ih=["Webkit","Ms","Moz","O"];rh=Object.keys(rh).reduce(((e,t)=>(ih.forEach((n=>e[((e,t)=>e+t.charAt(0).toUpperCase()+t.substring(1))(n,t)]=e[t])),e)),rh);var oh=/^(matrix|translate|scale|rotate|skew)/,ah=/^(translate)/,sh=/^(rotate|skew)/,ch=(e,t)=>Jl.num(e)&&0!==e?e+t:e,lh=(e,t)=>Jl.arr(e)?e.every((e=>lh(e,t))):Jl.num(e)?e===t:parseFloat(e)===t,uh=class extends jf{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=>ch(e,"px"))).join(",")})`,lh(e,0)]))),tu(r,((e,t)=>{if("transform"===t)i.push([e||""]),o.push((e=>[e,""===e]));else if(oh.test(t)){if(delete r[t],Jl.und(e))return;const n=ah.test(t)?"px":sh.test(t)?"deg":"";i.push(nu(e)),o.push("rotate3d"===t?([e,t,r,i])=>[`rotate3d(${e},${t},${r},${ch(i,n)})`,lh(i,0)]:e=>[`${t}(${e.map((e=>ch(e,n))).join(",")})`,lh(e,t.startsWith("scale")?1:0)])}})),i.length&&(r.transform=new fh(i,o)),super(r)}},fh=class extends Ku{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 eu(this.inputs,((n,r)=>{const i=Xu(n[0]),[o,a]=this.transforms[r](Jl.arr(i)?i:n.map(Xu));e+=" "+o,t=t&&a})),t?"none":e}observerAdded(e){1==e&&eu(this.inputs,(e=>eu(e,(e=>Gu(e)&&tf(e,this)))))}observerRemoved(e){0==e&&eu(this.inputs,(e=>eu(e,(e=>Gu(e)&&nf(e,this)))))}eventObserved(e){"change"==e.type&&(this._value=null),Ju(this,e)}};Xl.assign({batchedUpdates:A,createStringInterpolator:pf,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 dh=((e,{applyAnimatedValues:t=()=>!1,createAnimatedStyle:n=e=>new jf(e),getComponentProps:r=e=>e}={})=>{const i={applyAnimatedValues:t,createAnimatedStyle:n,getComponentProps:r},o=e=>{const t=zf(e)||"Anonymous";return(e=Jl.str(e)?o[e]||(o[e]=Rf(e,i)):e[$f]||(e[$f]=Rf(e,i))).displayName=`Animated(${t})`,e};return tu(e,((t,n)=>{Jl.arr(e)&&(n=zf(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:c,...l}=t,u=Object.values(l),f=Object.keys(l).map((t=>n||e.hasAttribute(t)?t:nh[t]||(nh[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=th(t,i[t]);eh.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!==c&&e.setAttribute("viewBox",c)},createAnimatedStyle:e=>new uh(e),getComponentProps:({scrollTop:e,scrollLeft:t,...n})=>n}),hh=dh.animated;function ph(){return ph=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},ph.apply(this,arguments)}var gh={pointerEvents:"none",position:"absolute",zIndex:10,top:0,left:0},mh=function(e,t){return"translate("+e+"px, "+t+"px)"},bh=x((function(e){var t,n=e.position,r=e.anchor,i=e.children,o=qE(),a=jE(),s=a.animate,c=a.config,l=UE(),u=l[0],f=l[1],d=b(!1),h=void 0,p=!1,g=f.width>0&&f.height>0,m=Math.round(n[0]),v=Math.round(n[1]);g&&("top"===r?(m-=f.width/2,v-=f.height+14):"right"===r?(m+=14,v-=f.height/2):"bottom"===r?(m-=f.width/2,v+=14):"left"===r?(m-=f.width+14,v-=f.height/2):"center"===r&&(m-=f.width/2,v-=f.height/2),h={transform:mh(m,v)},d.current||(p=!0),d.current=[m,v]);var y=qd({to:h,config:c,immediate:!s||p}),_=ph({},gh,o.tooltip.wrapper,{transform:null!=(t=y.transform)?t:mh(m,v),opacity:y.transform?1:0});return O(hh.div,{ref:u,style:_,children:i})}));bh.displayName="TooltipWrapper";var vh=x((function(e){var t=e.size,n=void 0===t?12:t,r=e.color,i=e.style;return O("span",{style:ph({display:"block",width:n,height:n,background:r},void 0===i?{}:i)})})),yh=x((function(e){var t,n=e.id,r=e.value,i=e.format,o=e.enableChip,a=void 0!==o&&o,s=e.color,c=e.renderContent,l=qE(),u=HE(i);if("function"==typeof c)t=c();else{var f=r;void 0!==u&&void 0!==f&&(f=u(f)),t=O("div",{style:l.tooltip.basic,children:[a&&O(vh,{color:s,style:l.tooltip.chip}),void 0!==f?O("span",{children:[n,": ",O("strong",{children:""+f})]}):n]})}return O("div",{style:l.tooltip.container,children:t})})),_h={width:"100%",borderCollapse:"collapse"},wh=x((function(e){var t,n=e.title,r=e.rows,i=void 0===r?[]:r,o=e.renderContent,a=qE();return i.length?(t="function"==typeof o?o():O("div",{children:[n&&n,O("table",{style:ph({},_h,a.tooltip.table),children:O("tbody",{children:i.map((function(e,t){return O("tr",{children:e.map((function(e,t){return O("td",{style:a.tooltip.tableCell,children:e},t)}))},t)}))})})]}),O("div",{style:a.tooltip.container,children:t})):null}));wh.displayName="TableTooltip";var xh=x((function(e){var t=e.x0,n=e.x1,r=e.y0,i=e.y1,o=qE(),a=jE(),s=a.animate,c=a.config,l=w((function(){return ph({},o.crosshair.line,{pointerEvents:"none"})}),[o.crosshair.line]),u=qd({x1:t,x2:n,y1:r,y2:i,config:c,immediate:!s});return O(hh.line,ph({},u,{fill:"none",style:l}))}));xh.displayName="CrosshairLine";var Ch=x((function(e){var t,r,i=e.width,o=e.height,a=e.type,s=e.x,c=e.y;return"cross"===a?(t={x0:s,x1:s,y0:0,y1:o},r={x0:0,x1:i,y0:c,y1:c}):"top-left"===a?(t={x0:s,x1:s,y0:0,y1:c},r={x0:0,x1:s,y0:c,y1:c}):"top"===a?t={x0:s,x1:s,y0:0,y1:c}:"top-right"===a?(t={x0:s,x1:s,y0:0,y1:c},r={x0:s,x1:i,y0:c,y1:c}):"right"===a?r={x0:s,x1:i,y0:c,y1:c}:"bottom-right"===a?(t={x0:s,x1:s,y0:c,y1:o},r={x0:s,x1:i,y0:c,y1:c}):"bottom"===a?t={x0:s,x1:s,y0:c,y1:o}:"bottom-left"===a?(t={x0:s,x1:s,y0:c,y1:o},r={x0:0,x1:s,y0:c,y1:c}):"left"===a?r={x0:0,x1:s,y0:c,y1:c}:"x"===a?t={x0:s,x1:s,y0:0,y1:o}:"y"===a&&(r={x0:0,x1:i,y0:c,y1:c}),O(n,{children:[t&&O(xh,{x0:t.x0,x1:t.x1,y0:t.y0,y1:t.y1}),r&&O(xh,{x0:r.x0,x1:r.x1,y0:r.y0,y1:r.y1})]})}));Ch.displayName="Crosshair";var kh,Mh,Sh,Th,Ah,Eh,Oh,Ph,Dh,jh,Nh,Lh,Fh,Rh,Bh,$h,zh,Ih,Uh,Hh,Vh,Wh,Yh,qh,Zh,Gh,Xh,Qh,Jh,Kh,ep,tp,np,rp,ip,op,ap,sp,cp,lp,up,fp,dp,hp,pp,gp,mp,bp,vp,yp,_p,wp,xp,Cp,kp,Mp,Sp,Tp,Ap,Ep,Op,Pp,Dp,jp,Np,Lp,Fp,Rp,Bp,$p,zp,Ip,Up,Hp,Vp,Wp,Yp,qp,Zp,Gp,Xp,Qp,Jp,Kp,eg,tg,ng,rg,ig,og,ag,sg,cg,lg,ug,fg,dg,hg,pg=C({showTooltipAt:function(){},showTooltipFromEvent:function(){},hideTooltip:function(){}}),gg={isVisible:!1,position:[null,null],content:null,anchor:null},mg=C(gg),bg=function(){var e=_(pg);if(void 0===e)throw new Error("useTooltip must be used within a TooltipProvider");return e},vg=function(){var e=function(){var e=_(mg);if(void 0===e)throw new Error("useTooltipState must be used within a TooltipProvider");return e}();return function(e){return e.isVisible}(e)?O(bh,{position:e.position,anchor:e.anchor,children:e.content}):null},yg=function(e){var t=e.container,n=e.children,r=function(e){var t=m(gg),n=t[0],r=t[1],i=y((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=y((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,c="touches"in n?n.touches[0]:n,l=c.clientX,u=c.clientY,f=(l-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=y((function(){r(gg)}),[r]);return{actions:w((function(){return{showTooltipAt:i,showTooltipFromEvent:o,hideTooltip:a}}),[i,o,a]),state:n}}(t),i=r.actions,o=r.state;return O(pg.Provider,{value:i,children:O(mg.Provider,{value:o,children:n})})};function _g(){if(Th)return Sh;return Th=1,Sh=function(e,t){return e===t||e!=e&&t!=t}}function wg(){if(Eh)return Ah;Eh=1;var e=_g();return Ah=function(t,n){for(var r=t.length;r--;)if(e(t[r][0],n))return r;return-1},Ah}function xg(){if($h)return Bh;$h=1;var e=Mh?kh:(Mh=1,kh=function(){this.__data__=[],this.size=0}),t=function(){if(Ph)return Oh;Ph=1;var e=wg(),t=Array.prototype.splice;return Oh=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))},Oh}(),n=function(){if(jh)return Dh;jh=1;var e=wg();return Dh=function(t){var n=this.__data__,r=e(n,t);return r<0?void 0:n[r][1]},Dh}(),r=function(){if(Lh)return Nh;Lh=1;var e=wg();return Nh=function(t){return e(this.__data__,t)>-1}}(),i=function(){if(Rh)return Fh;Rh=1;var e=wg();return Fh=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},Fh}();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,Bh=o}function Cg(){if(Gh)return Zh;Gh=1;var e="object"==typeof bo&&bo&&bo.Object===Object&&bo;return Zh=e}function kg(){if(Qh)return Xh;Qh=1;var e=Cg(),t="object"==typeof self&&self&&self.Object===Object&&self,n=e||t||Function("return this")();return Xh=n}function Mg(){if(Kh)return Jh;Kh=1;var e=kg().Symbol;return Jh=e}function Sg(){if(op)return ip;op=1;var e=Mg(),t=function(){if(tp)return ep;tp=1;var e=Mg(),t=Object.prototype,n=t.hasOwnProperty,r=t.toString,i=e?e.toStringTag:void 0;return ep=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(rp)return np;rp=1;var e=Object.prototype.toString;return np=function(t){return e.call(t)}}(),r=e?e.toStringTag:void 0;return ip=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":r&&r in Object(e)?t(e):n(e)}}function Tg(){if(sp)return ap;return sp=1,ap=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}}function Ag(){if(lp)return cp;lp=1;var e=Sg(),t=Tg();return cp=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 Eg(){if(hp)return dp;hp=1;var e,t=function(){if(fp)return up;fp=1;var e=kg()["__core-js_shared__"];return up=e}(),n=(e=/[^.]+$/.exec(t&&t.keys&&t.keys.IE_PROTO||""))?"Symbol(src)_1."+e:"";return dp=function(e){return!!n&&n in e}}function Og(){if(gp)return pp;gp=1;var e=Function.prototype.toString;return pp=function(t){if(null!=t){try{return e.call(t)}catch(e){}try{return t+""}catch(e){}}return""}}function Pg(){if(wp)return _p;wp=1;var e=function(){if(bp)return mp;bp=1;var e=Ag(),t=Eg(),n=Tg(),r=Og(),i=/^\[object .+?Constructor\]$/,o=Function.prototype,a=Object.prototype,s=o.toString,c=a.hasOwnProperty,l=RegExp("^"+s.call(c).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");return mp=function(o){return!(!n(o)||t(o))&&(e(o)?l:i).test(r(o))}}(),t=(yp||(yp=1,vp=function(e,t){return null==e?void 0:e[t]}),vp);return _p=function(n,r){var i=t(n,r);return e(i)?i:void 0},_p}function Dg(){if(Cp)return xp;Cp=1;var e=Pg()(kg(),"Map");return xp=e}function jg(){if(Mp)return kp;Mp=1;var e=Pg()(Object,"create");return kp=e}function Ng(){if(Rp)return Fp;Rp=1;var e=function(){if(Tp)return Sp;Tp=1;var e=jg();return Sp=function(){this.__data__=e?e(null):{},this.size=0}}(),t=Ep?Ap:(Ep=1,Ap=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}),n=function(){if(Pp)return Op;Pp=1;var e=jg(),t=Object.prototype.hasOwnProperty;return Op=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(jp)return Dp;jp=1;var e=jg(),t=Object.prototype.hasOwnProperty;return Dp=function(n){var r=this.__data__;return e?void 0!==r[n]:t.call(r,n)}}(),i=function(){if(Lp)return Np;Lp=1;var e=jg();return Np=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,Fp=o}function Lg(){if(Hp)return Up;Hp=1;var e=Ip?zp:(Ip=1,zp=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e});return Up=function(t,n){var r=t.__data__;return e(n)?r["string"==typeof n?"string":"hash"]:r.map},Up}function Fg(){if(Kp)return Jp;Kp=1;var e=function(){if($p)return Bp;$p=1;var e=Ng(),t=xg(),n=Dg();return Bp=function(){this.size=0,this.__data__={hash:new e,map:new(n||t),string:new e}}}(),t=function(){if(Wp)return Vp;Wp=1;var e=Lg();return Vp=function(t){var n=e(this,t).delete(t);return this.size-=n?1:0,n}}(),n=function(){if(qp)return Yp;qp=1;var e=Lg();return Yp=function(t){return e(this,t).get(t)}}(),r=function(){if(Gp)return Zp;Gp=1;var e=Lg();return Zp=function(t){return e(this,t).has(t)}}(),i=function(){if(Qp)return Xp;Qp=1;var e=Lg();return Xp=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,Jp=o}function Rg(){if(rg)return ng;rg=1;var e=xg(),t=function(){if(Ih)return zh;Ih=1;var e=xg();return zh=function(){this.__data__=new e,this.size=0}}(),n=Hh?Uh:(Hh=1,Uh=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}),r=Wh?Vh:(Wh=1,Vh=function(e){return this.__data__.get(e)}),i=qh?Yh:(qh=1,Yh=function(e){return this.__data__.has(e)}),o=function(){if(tg)return eg;tg=1;var e=xg(),t=Dg(),n=Fg();return eg=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,ng=a}function Bg(){if(og)return ig;og=1;var e=Pg(),t=function(){try{var t=e(Object,"defineProperty");return t({},"",{}),t}catch(e){}}();return ig=t}function $g(){if(sg)return ag;sg=1;var e=Bg();return ag=function(t,n,r){"__proto__"==n&&e?e(t,n,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[n]=r},ag}function zg(){if(lg)return cg;lg=1;var e=$g(),t=_g();return cg=function(n,r,i){(void 0!==i&&!t(n[r],i)||void 0===i&&!(r in n))&&e(n,r,i)},cg}function Ig(){if(hg)return dg;hg=1;var e=(fg||(fg=1,ug=function(e){return function(t,n,r){for(var i=-1,o=Object(t),a=r(t),s=a.length;s--;){var c=a[e?s:++i];if(!1===n(o[c],c,o))break}return t}}),ug),t=e();return dg=t}var Ug,Hg,Vg,Wg,Yg,qg,Zg,Gg,Xg,Qg,Jg,Kg,em,tm,nm,rm,im,om,am,sm,cm,lm,um,fm,dm,hm,pm,gm,mm,bm,vm,ym,_m,wm={exports:{}};function xm(){if(Vg)return Hg;Vg=1;var e=kg().Uint8Array;return Hg=e}function Cm(){if(Zg)return qg;Zg=1;var e=function(){if(Yg)return Wg;Yg=1;var e=xm();return Wg=function(t){var n=new t.constructor(t.byteLength);return new e(n).set(new e(t)),n}}();return qg=function(t,n){var r=n?e(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.length)}}function km(){if(em)return Kg;return em=1,Kg=function(e,t){return function(n){return e(t(n))}}}function Mm(){if(nm)return tm;nm=1;var e=km()(Object.getPrototypeOf,Object);return tm=e}function Sm(){if(im)return rm;im=1;var e=Object.prototype;return rm=function(t){var n=t&&t.constructor;return t===("function"==typeof n&&n.prototype||e)}}function Tm(){if(am)return om;am=1;var e=function(){if(Jg)return Qg;Jg=1;var e=Tg(),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 Qg=n}(),t=Mm(),n=Sm();return om=function(r){return"function"!=typeof r.constructor||n(r)?{}:e(t(r))},om}function Am(){if(cm)return sm;return cm=1,sm=function(e){return null!=e&&"object"==typeof e}}function Em(){if(dm)return fm;dm=1;var e=function(){if(um)return lm;um=1;var e=Sg(),t=Am();return lm=function(n){return t(n)&&"[object Arguments]"==e(n)}}(),t=Am(),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 fm=o}function Om(){if(pm)return hm;pm=1;var e=Array.isArray;return hm=e}function Pm(){if(mm)return gm;mm=1;return gm=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}}function Dm(){if(vm)return bm;vm=1;var e=Ag(),t=Pm();return bm=function(n){return null!=n&&t(n.length)&&!e(n)}}function jm(){if(_m)return ym;_m=1;var e=Dm(),t=Am();return ym=function(n){return t(n)&&e(n)}}var Nm,Lm,Fm,Rm,Bm,$m,zm,Im,Um,Hm={exports:{}};function Vm(){return Fm||(Fm=1,function(e,t){var n=kg(),r=Lm?Nm:(Lm=1,Nm=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}(Hm,Hm.exports)),Hm.exports}function Wm(){if(Bm)return Rm;Bm=1;var e=Sg(),t=Mm(),n=Am(),r=Function.prototype,i=Object.prototype,o=r.toString,a=i.hasOwnProperty,s=o.call(Object);return Rm=function(r){if(!n(r)||"[object Object]"!=e(r))return!1;var i=t(r);if(null===i)return!0;var c=a.call(i,"constructor")&&i.constructor;return"function"==typeof c&&c instanceof c&&o.call(c)==s}}function Ym(){if(Um)return Im;return Um=1,Im=function(e){return function(t){return e(t)}}}var qm,Zm,Gm,Xm,Qm,Jm,Km,eb,tb,nb,rb,ib,ob,ab,sb,cb,lb,ub,fb,db,hb,pb,gb,mb,bb,vb,yb,_b,wb,xb,Cb,kb,Mb,Sb,Tb,Ab,Eb,Ob,Pb,Db,jb,Nb,Lb,Fb,Rb,Bb,$b,zb,Ib,Ub={exports:{}};function Hb(){return qm||(qm=1,function(e,t){var n=Cg(),r=t&&!t.nodeType&&t,i=r&&e&&!e.nodeType&&e,o=i&&i.exports===r&&n.process,a=function(){try{var e=i&&i.require&&i.require("util").types;return e||o&&o.binding&&o.binding("util")}catch(e){}}();e.exports=a}(Ub,Ub.exports)),Ub.exports}function Vb(){if(Gm)return Zm;Gm=1;var e=function(){if(zm)return $m;zm=1;var e=Sg(),t=Pm(),n=Am(),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,$m=function(i){return n(i)&&t(i.length)&&!!r[e(i)]}}(),t=Ym(),n=Hb(),r=n&&n.isTypedArray,i=r?t(r):e;return Zm=i}function Wb(){if(Qm)return Xm;return Qm=1,Xm=function(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]},Xm}function Yb(){if(Km)return Jm;Km=1;var e=$g(),t=_g(),n=Object.prototype.hasOwnProperty;return Jm=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)},Jm}function qb(){if(ob)return ib;ob=1;var e=/^(?:0|[1-9]\d*)$/;return ib=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 Zb(){if(sb)return ab;sb=1;var e=(rb||(rb=1,nb=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}),nb),t=Em(),n=Om(),r=Vm(),i=qb(),o=Vb(),a=Object.prototype.hasOwnProperty;return ab=function(s,c){var l=n(s),u=!l&&t(s),f=!l&&!u&&r(s),d=!l&&!u&&!f&&o(s),h=l||u||f||d,p=h?e(s.length,String):[],g=p.length;for(var m in s)!c&&!a.call(s,m)||h&&("length"==m||f&&("offset"==m||"parent"==m)||d&&("buffer"==m||"byteLength"==m||"byteOffset"==m)||i(m,g))||p.push(m);return p}}function Gb(){if(fb)return ub;fb=1;var e=Tg(),t=Sm(),n=(lb||(lb=1,cb=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}),cb),r=Object.prototype.hasOwnProperty;return ub=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},ub}function Xb(){if(hb)return db;hb=1;var e=Zb(),t=Gb(),n=Dm();return db=function(r){return n(r)?e(r,!0):t(r)},db}function Qb(){if(gb)return pb;gb=1;var e=function(){if(tb)return eb;tb=1;var e=Yb(),t=$g();return eb=function(n,r,i,o){var a=!i;i||(i={});for(var s=-1,c=r.length;++s<c;){var l=r[s],u=o?o(i[l],n[l],l,i,n):void 0;void 0===u&&(u=n[l]),a?t(i,l,u):e(i,l,u)}return i},eb}(),t=Xb();return pb=function(n){return e(n,t(n))}}function Jb(){if(bb)return mb;bb=1;var e=zg(),t=(Ug||(Ug=1,function(e,t){var n=kg(),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}}(wm,wm.exports)),wm.exports),n=Cm(),r=(Xg||(Xg=1,Gg=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}),Gg),i=Tm(),o=Em(),a=Om(),s=jm(),c=Vm(),l=Ag(),u=Tg(),f=Wm(),d=Vb(),h=Wb(),p=Qb();return mb=function(g,m,b,v,y,_,w){var x=h(g,b),C=h(m,b),k=w.get(C);if(k)e(g,b,k);else{var M=_?_(x,C,b+"",g,m,w):void 0,S=void 0===M;if(S){var T=a(C),A=!T&&c(C),E=!T&&!A&&d(C);M=C,T||A||E?a(x)?M=x:s(x)?M=r(x):A?(S=!1,M=t(C,!0)):E?(S=!1,M=n(C,!0)):M=[]:f(C)||o(C)?(M=x,o(x)?M=p(x):u(x)&&!l(x)||(M=i(C))):S=!1}S&&(w.set(C,M),y(M,C,v,_,w),w.delete(C)),e(g,b,M)}},mb}function Kb(){if(wb)return _b;return wb=1,_b=function(e){return e}}function ev(){if(Mb)return kb;Mb=1;var e=Cb?xb:(Cb=1,xb=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 kb=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),c=Array(s);++a<s;)c[a]=o[r+a];a=-1;for(var l=Array(r+1);++a<r;)l[a]=o[a];return l[r]=i(c),e(n,this,l)}},kb}function tv(){if(Eb)return Ab;Eb=1;var e=Tb?Sb:(Tb=1,Sb=function(e){return function(){return e}}),t=Bg(),n=Kb();return Ab=t?function(n,r){return t(n,"toString",{configurable:!0,enumerable:!1,value:e(r),writable:!0})}:n}function nv(){if(jb)return Db;jb=1;var e=tv(),t=function(){if(Pb)return Ob;Pb=1;var e=Date.now;return Ob=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)}},Ob}(),n=t(e);return Db=n}function rv(){if(Lb)return Nb;Lb=1;var e=Kb(),t=ev(),n=nv();return Nb=function(r,i){return n(t(r,i,e),r+"")},Nb}function iv(){if(Rb)return Fb;Rb=1;var e=_g(),t=Dm(),n=qb(),r=Tg();return Fb=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)},Fb}var ov,av,sv,cv,lv,uv,fv,dv,hv,pv,gv,mv,bv,vv,yv,_v,wv,xv,Cv,kv,Mv,Sv,Tv,Av,Ev=function(){if(Ib)return zb;Ib=1;var e=function(){if(yb)return vb;yb=1;var e=Rg(),t=zg(),n=Ig(),r=Jb(),i=Tg(),o=Xb(),a=Wb();return vb=function s(c,l,u,f,d){c!==l&&n(l,(function(n,o){if(d||(d=new e),i(n))r(c,l,o,u,s,f,d);else{var h=f?f(a(c,o),n,o+"",c,l,d):void 0;void 0===h&&(h=n),t(c,o,h)}}),o)},vb}(),t=function(){if($b)return Bb;$b=1;var e=rv(),t=iv();return Bb=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 c=r[i];c&&n(e,c,i,a)}return e}))},Bb}(),n=t((function(t,n,r){e(t,n,r)}));return zb=n}(),Ov=vo(Ev);function Pv(){if(av)return ov;av=1;var e=Sg(),t=Am();return ov=function(n){return"symbol"==typeof n||t(n)&&"[object Symbol]"==e(n)}}function Dv(){if(cv)return sv;cv=1;var e=Om(),t=Pv(),n=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,r=/^\w*$/;return sv=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))},sv}function jv(){if(dv)return fv;dv=1;var e=function(){if(uv)return lv;uv=1;var e=Fg();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,lv=t}();return fv=function(t){var n=e(t,(function(e){return 500===r.size&&r.clear(),e})),r=n.cache;return n}}function Nv(){if(mv)return gv;return mv=1,gv=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},gv}function Lv(){if(_v)return yv;_v=1;var e=function(){if(vv)return bv;vv=1;var e=Mg(),t=Nv(),n=Om(),r=Pv(),i=e?e.prototype:void 0,o=i?i.toString:void 0;return bv=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},bv}();return yv=function(t){return null==t?"":e(t)}}function Fv(){if(xv)return wv;xv=1;var e=Om(),t=Dv(),n=function(){if(pv)return hv;pv=1;var e=jv(),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 hv=r}(),r=Lv();return wv=function(i,o){return e(i)?i:t(i,o)?[i]:n(r(i))},wv}function Rv(){if(kv)return Cv;kv=1;var e=Pv();return Cv=function(t){if("string"==typeof t||e(t))return t;var n=t+"";return"0"==n&&1/t==-1/0?"-0":n}}function Bv(){if(Sv)return Mv;Sv=1;var e=Fv(),t=Rv();return Mv=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},Mv}function $v(){if(Av)return Tv;Av=1;var e=Bv();return Tv=function(t,n,r){var i=null==t?void 0:e(t,n);return void 0===i?r:i},Tv}var zv,Iv,Uv,Hv,Vv=vo($v());function Wv(){if(Iv)return zv;Iv=1;var e=Yb(),t=Fv(),n=qb(),r=Tg(),i=Rv();return zv=function(o,a,s,c){if(!r(o))return o;for(var l=-1,u=(a=t(a,o)).length,f=u-1,d=o;null!=d&&++l<u;){var h=i(a[l]),p=s;if("__proto__"===h||"constructor"===h||"prototype"===h)return o;if(l!=f){var g=d[h];void 0===(p=c?c(g,h,d):void 0)&&(p=r(g)?g:n(a[l+1])?[]:{})}e(d,h,p),d=d[h]}return o},zv}var Yv=function(){if(Hv)return Uv;Hv=1;var e=Wv();return Uv=function(t,n,r){return null==t?t:e(t,n,r)},Uv}(),qv=vo(Yv);function Zv(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function Gv(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function Xv(){}var Qv=.7,Jv=1/Qv,Kv="\\s*([+-]?\\d+)\\s*",ey="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",ty="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",ny=/^#([0-9a-f]{3,8})$/,ry=new RegExp(`^rgb\\(${Kv},${Kv},${Kv}\\)$`),iy=new RegExp(`^rgb\\(${ty},${ty},${ty}\\)$`),oy=new RegExp(`^rgba\\(${Kv},${Kv},${Kv},${ey}\\)$`),ay=new RegExp(`^rgba\\(${ty},${ty},${ty},${ey}\\)$`),sy=new RegExp(`^hsl\\(${ey},${ty},${ty}\\)$`),cy=new RegExp(`^hsla\\(${ey},${ty},${ty},${ey}\\)$`),ly={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 uy(){return this.rgb().formatHex()}function fy(){return this.rgb().formatRgb()}function dy(e){var t,n;return e=(e+"").trim().toLowerCase(),(t=ny.exec(e))?(n=t[1].length,t=parseInt(t[1],16),6===n?hy(t):3===n?new by(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===n?py(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===n?py(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=ry.exec(e))?new by(t[1],t[2],t[3],1):(t=iy.exec(e))?new by(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=oy.exec(e))?py(t[1],t[2],t[3],t[4]):(t=ay.exec(e))?py(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=sy.exec(e))?Cy(t[1],t[2]/100,t[3]/100,1):(t=cy.exec(e))?Cy(t[1],t[2]/100,t[3]/100,t[4]):ly.hasOwnProperty(e)?hy(ly[e]):"transparent"===e?new by(NaN,NaN,NaN,0):null}function hy(e){return new by(e>>16&255,e>>8&255,255&e,1)}function py(e,t,n,r){return r<=0&&(e=t=n=NaN),new by(e,t,n,r)}function gy(e){return e instanceof Xv||(e=dy(e)),e?new by((e=e.rgb()).r,e.g,e.b,e.opacity):new by}function my(e,t,n,r){return 1===arguments.length?gy(e):new by(e,t,n,null==r?1:r)}function by(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function vy(){return`#${xy(this.r)}${xy(this.g)}${xy(this.b)}`}function yy(){const e=_y(this.opacity);return`${1===e?"rgb(":"rgba("}${wy(this.r)}, ${wy(this.g)}, ${wy(this.b)}${1===e?")":`, ${e})`}`}function _y(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function wy(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function xy(e){return((e=wy(e))<16?"0":"")+e.toString(16)}function Cy(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new My(e,t,n,r)}function ky(e){if(e instanceof My)return new My(e.h,e.s,e.l,e.opacity);if(e instanceof Xv||(e=dy(e)),!e)return new My;if(e instanceof My)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,c=(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/=c<.5?o+i:2-o-i,a*=60):s=c>0&&c<1?0:a,new My(a,s,c,e.opacity)}function My(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function Sy(e){return(e=(e||0)%360)<0?e+360:e}function Ty(e){return Math.max(0,Math.min(1,e||0))}function Ay(e,t,n){return 255*(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)}Zv(Xv,dy,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:uy,formatHex:uy,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return ky(this).formatHsl()},formatRgb:fy,toString:fy}),Zv(by,my,Gv(Xv,{brighter(e){return e=null==e?Jv:Math.pow(Jv,e),new by(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=null==e?Qv:Math.pow(Qv,e),new by(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new by(wy(this.r),wy(this.g),wy(this.b),_y(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:vy,formatHex:vy,formatHex8:function(){return`#${xy(this.r)}${xy(this.g)}${xy(this.b)}${xy(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:yy,toString:yy})),Zv(My,(function(e,t,n,r){return 1===arguments.length?ky(e):new My(e,t,n,null==r?1:r)}),Gv(Xv,{brighter(e){return e=null==e?Jv:Math.pow(Jv,e),new My(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=null==e?Qv:Math.pow(Qv,e),new My(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 by(Ay(e>=240?e-240:e+120,i,r),Ay(e,i,r),Ay(e<120?e+240:e-120,i,r),this.opacity)},clamp(){return new My(Sy(this.h),Ty(this.s),Ty(this.l),_y(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=_y(this.opacity);return`${1===e?"hsl(":"hsla("}${Sy(this.h)}, ${100*Ty(this.s)}%, ${100*Ty(this.l)}%${1===e?")":`, ${e})`}`}}));const Ey=Math.PI/180,Oy=180/Math.PI;var Py=-.14861,Dy=1.78277,jy=-.29227,Ny=-.90649,Ly=1.97294,Fy=Ly*Ny,Ry=Ly*Dy,By=Dy*jy-Ny*Py;function $y(e,t,n,r){return 1===arguments.length?function(e){if(e instanceof zy)return new zy(e.h,e.s,e.l,e.opacity);e instanceof by||(e=gy(e));var t=e.r/255,n=e.g/255,r=e.b/255,i=(By*r+Fy*t-Ry*n)/(By+Fy-Ry),o=r-i,a=(Ly*(n-i)-jy*o)/Ny,s=Math.sqrt(a*a+o*o)/(Ly*i*(1-i)),c=s?Math.atan2(a,o)*Oy-120:NaN;return new zy(c<0?c+360:c,s,i,e.opacity)}(e):new zy(e,t,n,null==r?1:r)}function zy(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}Zv(zy,$y,Gv(Xv,{brighter(e){return e=null==e?Jv:Math.pow(Jv,e),new zy(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=null==e?Qv:Math.pow(Qv,e),new zy(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=isNaN(this.h)?0:(this.h+120)*Ey,t=+this.l,n=isNaN(this.s)?0:this.s*t*(1-t),r=Math.cos(e),i=Math.sin(e);return new by(255*(t+n*(Py*r+Dy*i)),255*(t+n*(jy*r+Ny*i)),255*(t+n*(Ly*r)),this.opacity)}}));var Iy=e=>()=>e;function Uy(e,t){return function(n){return e+n*t}}function Hy(e){return 1==(e=+e)?Vy: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):Iy(isNaN(t)?n:t)}}function Vy(e,t){var n=t-e;return n?Uy(e,n):Iy(isNaN(e)?t:e)}var Wy=function e(t){var n=Hy(t);function r(e,t){var r=n((e=my(e)).r,(t=my(t)).r),i=n(e.g,t.g),o=n(e.b,t.b),a=Vy(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);var Yy,qy=(Yy=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=my(e[t]),i[t]=n.r||0,o[t]=n.g||0,a[t]=n.b||0;return i=Yy(i),o=Yy(o),a=Yy(a),n.opacity=1,function(e){return n.r=i(e),n.g=o(e),n.b=a(e),n+""}});function Zy(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 Gy(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]=n_(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 Xy(e,t){var n=new Date;return e=+e,t=+t,function(r){return n.setTime(e*(1-r)+t*r),n}}function Qy(e,t){return e=+e,t=+t,function(n){return e*(1-n)+t*n}}function Jy(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]=n_(e[n],t[n]):i[n]=t[n];return function(e){for(n in r)i[n]=r[n](e);return i}}var Ky=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,e_=new RegExp(Ky.source,"g");function t_(e,t){var n,r,i,o=Ky.lastIndex=e_.lastIndex=0,a=-1,s=[],c=[];for(e+="",t+="";(n=Ky.exec(e))&&(r=e_.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,c.push({i:a,x:Qy(n,r)})),o=e_.lastIndex;return o<t.length&&(i=t.slice(o),s[a]?s[a]+=i:s[++a]=i),s.length<2?c[0]?function(e){return function(t){return e(t)+""}}(c[0].x):function(e){return function(){return e}}(t):(t=c.length,function(e){for(var n,r=0;r<t;++r)s[(n=c[r]).i]=n.x(e);return s.join("")})}function n_(e,t){var n,r=typeof t;return null==t||"boolean"===r?Iy(t):("number"===r?Qy:"string"===r?(n=dy(t))?(t=n,Wy):t_:t instanceof dy?Wy:t instanceof Date?Xy:function(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}(t)?Zy:Array.isArray(t)?Gy:"function"!=typeof t.valueOf&&"function"!=typeof t.toString||isNaN(t)?Jy:Qy)(e,t)}function r_(e,t){return e=+e,t=+t,function(n){return Math.round(e*(1-n)+t*n)}}function i_(e){return function t(n){function r(t,r){var i=e((t=$y(t)).h,(r=$y(r)).h),o=Vy(t.s,r.s),a=Vy(t.l,r.l),s=Vy(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)}i_((function(e,t){var n=t-e;return n?Uy(e,n>180||n<-180?n-360*Math.round(n/360):n):Iy(isNaN(e)?t:e)}));var o_,a_,s_=i_(Vy);var c_,l_,u_=vo(function(){if(a_)return o_;a_=1;var e=Sg(),t=Om(),n=Am();return o_=function(r){return"string"==typeof r||!t(r)&&n(r)&&"[object String]"==e(r)}}());var f_=(l_||(l_=1,c_=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}),c_),d_=vo(f_);function h_(e,t){return null==e||null==t?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function p_(e,t){return null==e||null==t?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function g_(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=h_,n=(t,n)=>h_(e(t),n),r=(t,n)=>e(t)-n):(t=e===h_||e===p_?e:m_,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 m_(){return 0}Om();const b_=g_(h_).right;g_((function(e){return null===e?NaN:+e})).center;class v_ extends Map{constructor(e,t=__){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(y_(this,e))}has(e){return super.has(y_(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);e.has(r)&&(n=e.get(r),e.delete(r));return n}(this,e))}}function y_({_intern:e,_key:t},n){const r=t(n);return e.has(r)?e.get(r):n}function __(e){return null!==e&&"object"==typeof e?e.valueOf():e}const w_=Math.sqrt(50),x_=Math.sqrt(10),C_=Math.sqrt(2);function k_(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>=w_?10:o>=x_?5:o>=C_?2:1;let s,c,l;return i<0?(l=Math.pow(10,-i)/a,s=Math.round(e*l),c=Math.round(t*l),s/l<e&&++s,c/l>t&&--c,l=-l):(l=Math.pow(10,i)*a,s=Math.round(e/l),c=Math.round(t/l),s*l<e&&++s,c*l>t&&--c),c<s&&.5<=n&&n<2?k_(e,t,2*n):[s,c,l]}function M_(e,t,n){if(!((n=+n)>0))return[];if((e=+e)===(t=+t))return[e];const r=t<e,[i,o,a]=r?k_(t,e,n):k_(e,t,n);if(!(o>=i))return[];const s=o-i+1,c=new Array(s);if(r)if(a<0)for(let e=0;e<s;++e)c[e]=(o-e)/-a;else for(let e=0;e<s;++e)c[e]=(o-e)*a;else if(a<0)for(let e=0;e<s;++e)c[e]=(i+e)/-a;else for(let e=0;e<s;++e)c[e]=(i+e)*a;return c}function S_(e,t,n){return k_(e=+e,t=+t,n=+n)[2]}function T_(e,t,n){n=+n;const r=(t=+t)<(e=+e),i=r?S_(t,e,n):S_(e,t,n);return(r?-1:1)*(i<0?1/-i:i)}function A_(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e)}return this}const E_=Symbol("implicit");function O_(){var e=new v_,t=[],n=[],r=E_;function i(i){let o=e.get(i);if(void 0===o){if(r!==E_)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 v_;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 O_(t,n).unknown(r)},A_.apply(i,arguments),i}function P_(){var e,t,n=O_().unknown(void 0),r=n.domain,i=n.range,o=0,a=1,s=!1,c=0,l=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-c+2*l),s&&(e=Math.floor(e)),d+=(h-d-e*(n-c))*u,t=e*(1-c),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?(c=Math.min(1,l=+e),f()):c},n.paddingInner=function(e){return arguments.length?(c=Math.min(1,e),f()):c},n.paddingOuter=function(e){return arguments.length?(l=+e,f()):l},n.align=function(e){return arguments.length?(u=Math.max(0,Math.min(1,e)),f()):u},n.copy=function(){return P_(r(),[o,a]).round(s).paddingInner(c).paddingOuter(l).align(u)},A_.apply(f(),arguments)}function D_(e){var t=e.copy;return e.padding=e.paddingOuter,delete e.paddingInner,delete e.paddingOuter,e.copy=function(){return D_(t())},e}function j_(){return D_(P_.apply(null,arguments).paddingInner(1))}function N_(e){return+e}var L_=[0,1];function F_(e){return e}function R_(e,t){return(t-=e=+e)?function(n){return(n-e)/t}:function(e){return function(){return e}}(isNaN(t)?NaN:.5)}function B_(e,t,n){var r=e[0],i=e[1],o=t[0],a=t[1];return i<r?(r=R_(i,r),o=n(a,o)):(r=R_(r,i),o=n(o,a)),function(e){return o(r(e))}}function $_(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]=R_(e[a],e[a+1]),o[a]=n(t[a],t[a+1]);return function(t){var n=b_(e,t,1,r)-1;return o[n](i[n](t))}}function z_(e,t){return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown())}function I_(){var e,t,n,r,i,o,a=L_,s=L_,c=n_,l=F_;function u(){var e=Math.min(a.length,s.length);return l!==F_&&(l=function(e,t){var n;return e>t&&(n=e,e=t,t=n),function(n){return Math.max(e,Math.min(t,n))}}(a[0],a[e-1])),r=e>2?$_:B_,i=o=null,f}function f(t){return null==t||isNaN(t=+t)?n:(i||(i=r(a.map(e),s,c)))(e(l(t)))}return f.invert=function(n){return l(t((o||(o=r(s,a.map(e),Qy)))(n)))},f.domain=function(e){return arguments.length?(a=Array.from(e,N_),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),c=r_,u()},f.clamp=function(e){return arguments.length?(l=!!e||F_,u()):l!==F_},f.interpolate=function(e){return arguments.length?(c=e,u()):c},f.unknown=function(e){return arguments.length?(n=e,f):n},function(n,r){return e=n,t=r,u()}}function U_(){return I_()(F_,F_)}function H_(e,t){if((n=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"))<0)return null;var n,r=e.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+e.slice(n+1)]}function V_(e){return(e=H_(Math.abs(e)))?e[1]:NaN}var W_,Y_=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function q_(e){if(!(t=Y_.exec(e)))throw new Error("invalid format: "+e);var t;return new Z_({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 Z_(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 G_(e,t){var n=H_(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")}q_.prototype=Z_.prototype,Z_.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 X_={"%":(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)=>G_(100*e,t),r:G_,s:function(e,t){var n=H_(e,t);if(!n)return e+"";var r=n[0],i=n[1],o=i-(W_=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")+H_(e,Math.max(0,t+o-1))[0]},X:e=>Math.round(e).toString(16).toUpperCase(),x:e=>Math.round(e).toString(16)};function Q_(e){return e}var J_,K_,ew,tw=Array.prototype.map,nw=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function rw(e){var t,n,r=void 0===e.grouping||void 0===e.thousands?Q_:(t=tw.call(e.grouping,Number),n=e.thousands+"",function(e,r){for(var i=e.length,o=[],a=0,s=t[0],c=0;i>0&&s>0&&(c+s+1>r&&(s=Math.max(1,r-c)),o.push(e.substring(i-=s,i+s)),!((c+=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?Q_:function(e){return function(t){return t.replace(/[0-9]/g,(function(t){return e[+t]}))}}(tw.call(e.numerals,String)),c=void 0===e.percent?"%":e.percent+"",l=void 0===e.minus?"−":e.minus+"",u=void 0===e.nan?"NaN":e.nan+"";function f(e){var t=(e=q_(e)).fill,n=e.align,f=e.sign,d=e.symbol,h=e.zero,p=e.width,g=e.comma,m=e.precision,b=e.trim,v=e.type;"n"===v?(g=!0,v="g"):X_[v]||(void 0===m&&(m=12),b=!0,v="g"),(h||"0"===t&&"="===n)&&(h=!0,t="0",n="=");var y="$"===d?i:"#"===d&&/[boxX]/.test(v)?"0"+v.toLowerCase():"",_="$"===d?o:/[%p]/.test(v)?c:"",w=X_[v],x=/[defgprs%]/.test(v);function C(e){var i,o,c,d=y,C=_;if("c"===v)C=w(e)+C,e="";else{var k=(e=+e)<0||1/e<0;if(e=isNaN(e)?u:w(Math.abs(e),m),b&&(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)),k&&0==+e&&"+"!==f&&(k=!1),d=(k?"("===f?f:l:"-"===f||"("===f?"":f)+d,C=("s"===v?nw[8+W_/3]:"")+C+(k&&"("===f?")":""),x)for(i=-1,o=e.length;++i<o;)if(48>(c=e.charCodeAt(i))||c>57){C=(46===c?a+e.slice(i+1):e.slice(i))+C,e=e.slice(0,i);break}}g&&!h&&(e=r(e,1/0));var M=d.length+e.length+C.length,S=M<p?new Array(p-M+1).join(t):"";switch(g&&h&&(e=r(S+e,S.length?p-C.length:1/0),S=""),n){case"<":e=d+e+C+S;break;case"=":e=d+S+e+C;break;case"^":e=S.slice(0,M=S.length>>1)+d+e+C+S.slice(M);break;default:e=S+d+e+C}return s(e)}return m=void 0===m?6:/[gprs]/.test(v)?Math.max(1,Math.min(21,m)):Math.max(0,Math.min(20,m)),C.toString=function(){return e+""},C}return{format:f,formatPrefix:function(e,t){var n=f(((e=q_(e)).type="f",e)),r=3*Math.max(-8,Math.min(8,Math.floor(V_(t)/3))),i=Math.pow(10,-r),o=nw[8+r/3];return function(e){return n(i*e)+o}}}}function iw(e,t,n,r){var i,o=T_(e,t,n);switch((r=q_(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(V_(t)/3)))-V_(Math.abs(e)))}(o,a))||(r.precision=i),ew(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,V_(t)-V_(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,-V_(Math.abs(e)))}(o))||(r.precision=i-2*("%"===r.type))}return K_(r)}function ow(e){var t=e.domain;return e.ticks=function(e){var n=t();return M_(n[0],n[n.length-1],null==e?10:e)},e.tickFormat=function(e,n){var r=t();return iw(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,c=o[a],l=o[s],u=10;for(l<c&&(i=c,c=l,l=i,i=a,a=s,s=i);u-- >0;){if((i=S_(c,l,n))===r)return o[a]=c,o[s]=l,t(o);if(i>0)c=Math.floor(c/i)*i,l=Math.ceil(l/i)*i;else{if(!(i<0))break;c=Math.ceil(c*i)/i,l=Math.floor(l*i)/i}r=i}return e},e}function aw(){var e=U_();return e.copy=function(){return z_(e,aw())},A_.apply(e,arguments),ow(e)}function sw(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 cw(e){return Math.log(e)}function lw(e){return Math.exp(e)}function uw(e){return-Math.log(-e)}function fw(e){return-Math.exp(-e)}function dw(e){return isFinite(e)?+("1e"+e):e<0?0:e}function hw(e){return(t,n)=>-e(-t,n)}function pw(e){const t=e(cw,lw),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?dw:e===Math.E?Math.exp:t=>Math.pow(e,t)}(o),n()[0]<0?(r=hw(r),i=hw(i),e(uw,fw)):e(cw,lw),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 c=s<a;c&&([a,s]=[s,a]);let l,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(l=1;l<o;++l)if(u=f<0?l/i(-f):l*i(f),!(u<a)){if(u>s)break;p.push(u)}}else for(;f<=d;++f)for(l=o-1;l>=1;--l)if(u=f>0?l/i(-f):l*i(f),!(u<a)){if(u>s)break;p.push(u)}2*p.length<h&&(p=M_(a,s,h))}else p=M_(f,d,Math.min(d-f,h)).map(i);return c?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=q_(n)).precision||(n.trim=!0),n=K_(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(sw(n(),{floor:e=>i(Math.floor(r(e))),ceil:e=>i(Math.ceil(r(e)))})),t}function gw(){const e=pw(I_()).domain([1,10]);return e.copy=()=>z_(e,gw()).base(e.base()),A_.apply(e,arguments),e}function mw(e){return function(t){return Math.sign(t)*Math.log1p(Math.abs(t/e))}}function bw(e){return function(t){return Math.sign(t)*Math.expm1(Math.abs(t))*e}}function vw(){var e=function(e){var t=1,n=e(mw(t),bw(t));return n.constant=function(n){return arguments.length?e(mw(t=+n),bw(t)):t},ow(n)}(I_());return e.copy=function(){return z_(e,vw()).constant(e.constant())},A_.apply(e,arguments)}J_=rw({thousands:",",grouping:[3],currency:["$",""]}),K_=J_.format,ew=J_.formatPrefix;const yw=new Date,_w=new Date;function ww(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=>ww((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)=>(yw.setTime(+t),_w.setTime(+r),e(yw),e(_w),Math.floor(n(yw,_w))),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 xw=ww((()=>{}),((e,t)=>{e.setTime(+e+t)}),((e,t)=>t-e));xw.every=e=>(e=Math.floor(e),isFinite(e)&&e>0?e>1?ww((t=>{t.setTime(Math.floor(t/e)*e)}),((t,n)=>{t.setTime(+t+n*e)}),((t,n)=>(n-t)/e)):xw:null),xw.range;const Cw=1e3,kw=6e4,Mw=36e5,Sw=864e5,Tw=6048e5,Aw=2592e6,Ew=31536e6,Ow=ww((e=>{e.setTime(e-e.getMilliseconds())}),((e,t)=>{e.setTime(+e+t*Cw)}),((e,t)=>(t-e)/Cw),(e=>e.getUTCSeconds()));Ow.range;const Pw=ww((e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*Cw)}),((e,t)=>{e.setTime(+e+t*kw)}),((e,t)=>(t-e)/kw),(e=>e.getMinutes()));Pw.range;const Dw=ww((e=>{e.setUTCSeconds(0,0)}),((e,t)=>{e.setTime(+e+t*kw)}),((e,t)=>(t-e)/kw),(e=>e.getUTCMinutes()));Dw.range;const jw=ww((e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*Cw-e.getMinutes()*kw)}),((e,t)=>{e.setTime(+e+t*Mw)}),((e,t)=>(t-e)/Mw),(e=>e.getHours()));jw.range;const Nw=ww((e=>{e.setUTCMinutes(0,0,0)}),((e,t)=>{e.setTime(+e+t*Mw)}),((e,t)=>(t-e)/Mw),(e=>e.getUTCHours()));Nw.range;const Lw=ww((e=>e.setHours(0,0,0,0)),((e,t)=>e.setDate(e.getDate()+t)),((e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*kw)/Sw),(e=>e.getDate()-1));Lw.range;const Fw=ww((e=>{e.setUTCHours(0,0,0,0)}),((e,t)=>{e.setUTCDate(e.getUTCDate()+t)}),((e,t)=>(t-e)/Sw),(e=>e.getUTCDate()-1));Fw.range;const Rw=ww((e=>{e.setUTCHours(0,0,0,0)}),((e,t)=>{e.setUTCDate(e.getUTCDate()+t)}),((e,t)=>(t-e)/Sw),(e=>Math.floor(e/Sw)));function Bw(e){return ww((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())*kw)/Tw))}Rw.range;const $w=Bw(0),zw=Bw(1),Iw=Bw(2),Uw=Bw(3),Hw=Bw(4),Vw=Bw(5),Ww=Bw(6);function Yw(e){return ww((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)/Tw))}$w.range,zw.range,Iw.range,Uw.range,Hw.range,Vw.range,Ww.range;const qw=Yw(0),Zw=Yw(1),Gw=Yw(2),Xw=Yw(3),Qw=Yw(4),Jw=Yw(5),Kw=Yw(6);qw.range,Zw.range,Gw.range,Xw.range,Qw.range,Jw.range,Kw.range;const ex=ww((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()));ex.range;const tx=ww((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()));tx.range;const nx=ww((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()));nx.every=e=>isFinite(e=Math.floor(e))&&e>0?ww((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,nx.range;const rx=ww((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 ix(e,t,n,r,i,o){const a=[[Ow,1,Cw],[Ow,5,5e3],[Ow,15,15e3],[Ow,30,3e4],[o,1,kw],[o,5,3e5],[o,15,9e5],[o,30,18e5],[i,1,Mw],[i,3,108e5],[i,6,216e5],[i,12,432e5],[r,1,Sw],[r,2,1728e5],[n,1,Tw],[t,1,Aw],[t,3,7776e6],[e,1,Ew]];function s(t,n,r){const i=Math.abs(n-t)/r,o=g_((([,,e])=>e)).right(a,i);if(o===a.length)return e.every(T_(t/Ew,n/Ew,r));if(0===o)return xw.every(Math.max(T_(t,n,r),1));const[s,c]=a[i/a[o-1][2]<a[o][2]/i?o-1:o];return s.every(c)}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]}rx.every=e=>isFinite(e=Math.floor(e))&&e>0?ww((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,rx.range;const[ox,ax]=ix(rx,tx,qw,Rw,Nw,Dw),[sx,cx]=ix(nx,ex,$w,Lw,jw,Pw);function lx(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 ux(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 fx(e,t,n){return{y:e,m:t,d:n,H:0,M:0,S:0,L:0}}var dx,hx,px,gx={"-":"",_:" ",0:"0"},mx=/^\s*\d+/,bx=/^%/,vx=/[\\^$*+?|[\]().{}]/g;function yx(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 _x(e){return e.replace(vx,"\\$&")}function wx(e){return new RegExp("^(?:"+e.map(_x).join("|")+")","i")}function xx(e){return new Map(e.map(((e,t)=>[e.toLowerCase(),t])))}function Cx(e,t,n){var r=mx.exec(t.slice(n,n+1));return r?(e.w=+r[0],n+r[0].length):-1}function kx(e,t,n){var r=mx.exec(t.slice(n,n+1));return r?(e.u=+r[0],n+r[0].length):-1}function Mx(e,t,n){var r=mx.exec(t.slice(n,n+2));return r?(e.U=+r[0],n+r[0].length):-1}function Sx(e,t,n){var r=mx.exec(t.slice(n,n+2));return r?(e.V=+r[0],n+r[0].length):-1}function Tx(e,t,n){var r=mx.exec(t.slice(n,n+2));return r?(e.W=+r[0],n+r[0].length):-1}function Ax(e,t,n){var r=mx.exec(t.slice(n,n+4));return r?(e.y=+r[0],n+r[0].length):-1}function Ex(e,t,n){var r=mx.exec(t.slice(n,n+2));return r?(e.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function Ox(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 Px(e,t,n){var r=mx.exec(t.slice(n,n+1));return r?(e.q=3*r[0]-3,n+r[0].length):-1}function Dx(e,t,n){var r=mx.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function jx(e,t,n){var r=mx.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function Nx(e,t,n){var r=mx.exec(t.slice(n,n+3));return r?(e.m=0,e.d=+r[0],n+r[0].length):-1}function Lx(e,t,n){var r=mx.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function Fx(e,t,n){var r=mx.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function Rx(e,t,n){var r=mx.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function Bx(e,t,n){var r=mx.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function $x(e,t,n){var r=mx.exec(t.slice(n,n+6));return r?(e.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function zx(e,t,n){var r=bx.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function Ix(e,t,n){var r=mx.exec(t.slice(n));return r?(e.Q=+r[0],n+r[0].length):-1}function Ux(e,t,n){var r=mx.exec(t.slice(n));return r?(e.s=+r[0],n+r[0].length):-1}function Hx(e,t){return yx(e.getDate(),t,2)}function Vx(e,t){return yx(e.getHours(),t,2)}function Wx(e,t){return yx(e.getHours()%12||12,t,2)}function Yx(e,t){return yx(1+Lw.count(nx(e),e),t,3)}function qx(e,t){return yx(e.getMilliseconds(),t,3)}function Zx(e,t){return qx(e,t)+"000"}function Gx(e,t){return yx(e.getMonth()+1,t,2)}function Xx(e,t){return yx(e.getMinutes(),t,2)}function Qx(e,t){return yx(e.getSeconds(),t,2)}function Jx(e){var t=e.getDay();return 0===t?7:t}function Kx(e,t){return yx($w.count(nx(e)-1,e),t,2)}function eC(e){var t=e.getDay();return t>=4||0===t?Hw(e):Hw.ceil(e)}function tC(e,t){return e=eC(e),yx(Hw.count(nx(e),e)+(4===nx(e).getDay()),t,2)}function nC(e){return e.getDay()}function rC(e,t){return yx(zw.count(nx(e)-1,e),t,2)}function iC(e,t){return yx(e.getFullYear()%100,t,2)}function oC(e,t){return yx((e=eC(e)).getFullYear()%100,t,2)}function aC(e,t){return yx(e.getFullYear()%1e4,t,4)}function sC(e,t){var n=e.getDay();return yx((e=n>=4||0===n?Hw(e):Hw.ceil(e)).getFullYear()%1e4,t,4)}function cC(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+yx(t/60|0,"0",2)+yx(t%60,"0",2)}function lC(e,t){return yx(e.getUTCDate(),t,2)}function uC(e,t){return yx(e.getUTCHours(),t,2)}function fC(e,t){return yx(e.getUTCHours()%12||12,t,2)}function dC(e,t){return yx(1+Fw.count(rx(e),e),t,3)}function hC(e,t){return yx(e.getUTCMilliseconds(),t,3)}function pC(e,t){return hC(e,t)+"000"}function gC(e,t){return yx(e.getUTCMonth()+1,t,2)}function mC(e,t){return yx(e.getUTCMinutes(),t,2)}function bC(e,t){return yx(e.getUTCSeconds(),t,2)}function vC(e){var t=e.getUTCDay();return 0===t?7:t}function yC(e,t){return yx(qw.count(rx(e)-1,e),t,2)}function _C(e){var t=e.getUTCDay();return t>=4||0===t?Qw(e):Qw.ceil(e)}function wC(e,t){return e=_C(e),yx(Qw.count(rx(e),e)+(4===rx(e).getUTCDay()),t,2)}function xC(e){return e.getUTCDay()}function CC(e,t){return yx(Zw.count(rx(e)-1,e),t,2)}function kC(e,t){return yx(e.getUTCFullYear()%100,t,2)}function MC(e,t){return yx((e=_C(e)).getUTCFullYear()%100,t,2)}function SC(e,t){return yx(e.getUTCFullYear()%1e4,t,4)}function TC(e,t){var n=e.getUTCDay();return yx((e=n>=4||0===n?Qw(e):Qw.ceil(e)).getUTCFullYear()%1e4,t,4)}function AC(){return"+0000"}function EC(){return"%"}function OC(e){return+e}function PC(e){return Math.floor(+e/1e3)}function DC(e){return new Date(e)}function jC(e){return e instanceof Date?+e:+new Date(+e)}function NC(e,t,n,r,i,o,a,s,c,l){var u=U_(),f=u.invert,d=u.domain,h=l(".%L"),p=l(":%S"),g=l("%I:%M"),m=l("%I %p"),b=l("%a %d"),v=l("%b %d"),y=l("%B"),_=l("%Y");function w(e){return(c(e)<e?h:s(e)<e?p:a(e)<e?g:o(e)<e?m:r(e)<e?i(e)<e?b:v: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,jC)):d().map(DC)},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:l(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(sw(n,e)):u},u.copy=function(){return z_(u,NC(e,t,n,r,i,o,a,s,c,l))},u}function LC(e){for(var t=e.length/6|0,n=new Array(t),r=0;r<t;)n[r]="#"+e.slice(6*r,6*++r);return n}!function(e){dx=function(e){var t=e.dateTime,n=e.date,r=e.time,i=e.periods,o=e.days,a=e.shortDays,s=e.months,c=e.shortMonths,l=wx(i),u=xx(i),f=wx(o),d=xx(o),h=wx(a),p=xx(a),g=wx(s),m=xx(s),b=wx(c),v=xx(c),y={a:function(e){return a[e.getDay()]},A:function(e){return o[e.getDay()]},b:function(e){return c[e.getMonth()]},B:function(e){return s[e.getMonth()]},c:null,d:Hx,e:Hx,f:Zx,g:oC,G:sC,H:Vx,I:Wx,j:Yx,L:qx,m:Gx,M:Xx,p:function(e){return i[+(e.getHours()>=12)]},q:function(e){return 1+~~(e.getMonth()/3)},Q:OC,s:PC,S:Qx,u:Jx,U:Kx,V:tC,w:nC,W:rC,x:null,X:null,y:iC,Y:aC,Z:cC,"%":EC},_={a:function(e){return a[e.getUTCDay()]},A:function(e){return o[e.getUTCDay()]},b:function(e){return c[e.getUTCMonth()]},B:function(e){return s[e.getUTCMonth()]},c:null,d:lC,e:lC,f:pC,g:MC,G:TC,H:uC,I:fC,j:dC,L:hC,m:gC,M:mC,p:function(e){return i[+(e.getUTCHours()>=12)]},q:function(e){return 1+~~(e.getUTCMonth()/3)},Q:OC,s:PC,S:bC,u:vC,U:yC,V:wC,w:xC,W:CC,x:null,X:null,y:kC,Y:SC,Z:AC,"%":EC},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=b.exec(t.slice(n));return r?(e.m=v.get(r[0].toLowerCase()),n+r[0].length):-1},B:function(e,t,n){var r=g.exec(t.slice(n));return r?(e.m=m.get(r[0].toLowerCase()),n+r[0].length):-1},c:function(e,n,r){return k(e,t,n,r)},d:jx,e:jx,f:$x,g:Ex,G:Ax,H:Lx,I:Lx,j:Nx,L:Bx,m:Dx,M:Fx,p:function(e,t,n){var r=l.exec(t.slice(n));return r?(e.p=u.get(r[0].toLowerCase()),n+r[0].length):-1},q:Px,Q:Ix,s:Ux,S:Rx,u:kx,U:Mx,V:Sx,w:Cx,W:Tx,x:function(e,t,r){return k(e,n,t,r)},X:function(e,t,n){return k(e,r,t,n)},y:Ex,Y:Ax,Z:Ox,"%":zx};function x(e,t){return function(n){var r,i,o,a=[],s=-1,c=0,l=e.length;for(n instanceof Date||(n=new Date(+n));++s<l;)37===e.charCodeAt(s)&&(a.push(e.slice(c,s)),null!=(i=gx[r=e.charAt(++s)])?r=e.charAt(++s):i="e"===r?" ":"0",(o=t[r])&&(r=o(n,i)),a.push(r),c=s+1);return a.push(e.slice(c,s)),a.join("")}}function C(e,t){return function(n){var r,i,o=fx(1900,void 0,1);if(k(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=ux(fx(o.y,0,1))).getUTCDay(),r=i>4||0===i?Zw.ceil(r):Zw(r),r=Fw.offset(r,7*(o.V-1)),o.y=r.getUTCFullYear(),o.m=r.getUTCMonth(),o.d=r.getUTCDate()+(o.w+6)%7):(i=(r=lx(fx(o.y,0,1))).getDay(),r=i>4||0===i?zw.ceil(r):zw(r),r=Lw.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?ux(fx(o.y,0,1)).getUTCDay():lx(fx(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,ux(o)):lx(o)}}function k(e,t,n,r){for(var i,o,a=0,s=t.length,c=n.length;a<s;){if(r>=c)return-1;if(37===(i=t.charCodeAt(a++))){if(i=t.charAt(a++),!(o=w[i in gx?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=C(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=C(e+="",!0);return t.toString=function(){return e},t}}}(e),hx=dx.format,dx.parse,px=dx.utcFormat,dx.utcParse}({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});var FC=LC("1f77b4ff7f0e2ca02cd627289467bd8c564be377c27f7f7fbcbd2217becf"),RC=LC("7fc97fbeaed4fdc086ffff99386cb0f0027fbf5b17666666"),BC=LC("1b9e77d95f027570b3e7298a66a61ee6ab02a6761d666666"),$C=LC("a6cee31f78b4b2df8a33a02cfb9a99e31a1cfdbf6fff7f00cab2d66a3d9affff99b15928"),zC=LC("fbb4aeb3cde3ccebc5decbe4fed9a6ffffcce5d8bdfddaecf2f2f2"),IC=LC("b3e2cdfdcdaccbd5e8f4cae4e6f5c9fff2aef1e2cccccccc"),UC=LC("e41a1c377eb84daf4a984ea3ff7f00ffff33a65628f781bf999999"),HC=LC("66c2a5fc8d628da0cbe78ac3a6d854ffd92fe5c494b3b3b3"),VC=LC("8dd3c7ffffb3bebadafb807280b1d3fdb462b3de69fccde5d9d9d9bc80bdccebc5ffed6f"),WC=LC("4e79a7f28e2ce1575976b7b259a14fedc949af7aa1ff9da79c755fbab0ab"),YC=e=>qy(e[e.length-1]),qC=new Array(3).concat("d8b365f5f5f55ab4ac","a6611adfc27d80cdc1018571","a6611adfc27df5f5f580cdc1018571","8c510ad8b365f6e8c3c7eae55ab4ac01665e","8c510ad8b365f6e8c3f5f5f5c7eae55ab4ac01665e","8c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e","8c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e","5430058c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e003c30","5430058c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e003c30").map(LC),ZC=YC(qC),GC=new Array(3).concat("af8dc3f7f7f77fbf7b","7b3294c2a5cfa6dba0008837","7b3294c2a5cff7f7f7a6dba0008837","762a83af8dc3e7d4e8d9f0d37fbf7b1b7837","762a83af8dc3e7d4e8f7f7f7d9f0d37fbf7b1b7837","762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b7837","762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b7837","40004b762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b783700441b","40004b762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b783700441b").map(LC),XC=YC(GC),QC=new Array(3).concat("e9a3c9f7f7f7a1d76a","d01c8bf1b6dab8e1864dac26","d01c8bf1b6daf7f7f7b8e1864dac26","c51b7de9a3c9fde0efe6f5d0a1d76a4d9221","c51b7de9a3c9fde0eff7f7f7e6f5d0a1d76a4d9221","c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221","c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221","8e0152c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221276419","8e0152c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221276419").map(LC),JC=YC(QC),KC=new Array(3).concat("998ec3f7f7f7f1a340","5e3c99b2abd2fdb863e66101","5e3c99b2abd2f7f7f7fdb863e66101","542788998ec3d8daebfee0b6f1a340b35806","542788998ec3d8daebf7f7f7fee0b6f1a340b35806","5427888073acb2abd2d8daebfee0b6fdb863e08214b35806","5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b35806","2d004b5427888073acb2abd2d8daebfee0b6fdb863e08214b358067f3b08","2d004b5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b358067f3b08").map(LC),ek=YC(KC),tk=new Array(3).concat("ef8a62f7f7f767a9cf","ca0020f4a58292c5de0571b0","ca0020f4a582f7f7f792c5de0571b0","b2182bef8a62fddbc7d1e5f067a9cf2166ac","b2182bef8a62fddbc7f7f7f7d1e5f067a9cf2166ac","b2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac","b2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac","67001fb2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac053061","67001fb2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac053061").map(LC),nk=YC(tk),rk=new Array(3).concat("ef8a62ffffff999999","ca0020f4a582bababa404040","ca0020f4a582ffffffbababa404040","b2182bef8a62fddbc7e0e0e09999994d4d4d","b2182bef8a62fddbc7ffffffe0e0e09999994d4d4d","b2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d","b2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d","67001fb2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d1a1a1a","67001fb2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d1a1a1a").map(LC),ik=YC(rk),ok=new Array(3).concat("fc8d59ffffbf91bfdb","d7191cfdae61abd9e92c7bb6","d7191cfdae61ffffbfabd9e92c7bb6","d73027fc8d59fee090e0f3f891bfdb4575b4","d73027fc8d59fee090ffffbfe0f3f891bfdb4575b4","d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4","d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4","a50026d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4313695","a50026d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4313695").map(LC),ak=YC(ok),sk=new Array(3).concat("fc8d59ffffbf91cf60","d7191cfdae61a6d96a1a9641","d7191cfdae61ffffbfa6d96a1a9641","d73027fc8d59fee08bd9ef8b91cf601a9850","d73027fc8d59fee08bffffbfd9ef8b91cf601a9850","d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850","d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850","a50026d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850006837","a50026d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850006837").map(LC),ck=YC(sk),lk=new Array(3).concat("fc8d59ffffbf99d594","d7191cfdae61abdda42b83ba","d7191cfdae61ffffbfabdda42b83ba","d53e4ffc8d59fee08be6f59899d5943288bd","d53e4ffc8d59fee08bffffbfe6f59899d5943288bd","d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd","d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd","9e0142d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd5e4fa2","9e0142d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd5e4fa2").map(LC),uk=YC(lk),fk=new Array(3).concat("e5f5f999d8c92ca25f","edf8fbb2e2e266c2a4238b45","edf8fbb2e2e266c2a42ca25f006d2c","edf8fbccece699d8c966c2a42ca25f006d2c","edf8fbccece699d8c966c2a441ae76238b45005824","f7fcfde5f5f9ccece699d8c966c2a441ae76238b45005824","f7fcfde5f5f9ccece699d8c966c2a441ae76238b45006d2c00441b").map(LC),dk=YC(fk),hk=new Array(3).concat("e0ecf49ebcda8856a7","edf8fbb3cde38c96c688419d","edf8fbb3cde38c96c68856a7810f7c","edf8fbbfd3e69ebcda8c96c68856a7810f7c","edf8fbbfd3e69ebcda8c96c68c6bb188419d6e016b","f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d6e016b","f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d810f7c4d004b").map(LC),pk=YC(hk),gk=new Array(3).concat("e0f3dba8ddb543a2ca","f0f9e8bae4bc7bccc42b8cbe","f0f9e8bae4bc7bccc443a2ca0868ac","f0f9e8ccebc5a8ddb57bccc443a2ca0868ac","f0f9e8ccebc5a8ddb57bccc44eb3d32b8cbe08589e","f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe08589e","f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe0868ac084081").map(LC),mk=YC(gk),bk=new Array(3).concat("fee8c8fdbb84e34a33","fef0d9fdcc8afc8d59d7301f","fef0d9fdcc8afc8d59e34a33b30000","fef0d9fdd49efdbb84fc8d59e34a33b30000","fef0d9fdd49efdbb84fc8d59ef6548d7301f990000","fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301f990000","fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301fb300007f0000").map(LC),vk=YC(bk),yk=new Array(3).concat("ece2f0a6bddb1c9099","f6eff7bdc9e167a9cf02818a","f6eff7bdc9e167a9cf1c9099016c59","f6eff7d0d1e6a6bddb67a9cf1c9099016c59","f6eff7d0d1e6a6bddb67a9cf3690c002818a016450","fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016450","fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016c59014636").map(LC),_k=YC(yk),wk=new Array(3).concat("ece7f2a6bddb2b8cbe","f1eef6bdc9e174a9cf0570b0","f1eef6bdc9e174a9cf2b8cbe045a8d","f1eef6d0d1e6a6bddb74a9cf2b8cbe045a8d","f1eef6d0d1e6a6bddb74a9cf3690c00570b0034e7b","fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0034e7b","fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0045a8d023858").map(LC),xk=YC(wk),Ck=new Array(3).concat("e7e1efc994c7dd1c77","f1eef6d7b5d8df65b0ce1256","f1eef6d7b5d8df65b0dd1c77980043","f1eef6d4b9dac994c7df65b0dd1c77980043","f1eef6d4b9dac994c7df65b0e7298ace125691003f","f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125691003f","f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125698004367001f").map(LC),kk=YC(Ck),Mk=new Array(3).concat("fde0ddfa9fb5c51b8a","feebe2fbb4b9f768a1ae017e","feebe2fbb4b9f768a1c51b8a7a0177","feebe2fcc5c0fa9fb5f768a1c51b8a7a0177","feebe2fcc5c0fa9fb5f768a1dd3497ae017e7a0177","fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a0177","fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a017749006a").map(LC),Sk=YC(Mk),Tk=new Array(3).concat("edf8b17fcdbb2c7fb8","ffffcca1dab441b6c4225ea8","ffffcca1dab441b6c42c7fb8253494","ffffccc7e9b47fcdbb41b6c42c7fb8253494","ffffccc7e9b47fcdbb41b6c41d91c0225ea80c2c84","ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea80c2c84","ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea8253494081d58").map(LC),Ak=YC(Tk),Ek=new Array(3).concat("f7fcb9addd8e31a354","ffffccc2e69978c679238443","ffffccc2e69978c67931a354006837","ffffccd9f0a3addd8e78c67931a354006837","ffffccd9f0a3addd8e78c67941ab5d238443005a32","ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443005a32","ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443006837004529").map(LC),Ok=YC(Ek),Pk=new Array(3).concat("fff7bcfec44fd95f0e","ffffd4fed98efe9929cc4c02","ffffd4fed98efe9929d95f0e993404","ffffd4fee391fec44ffe9929d95f0e993404","ffffd4fee391fec44ffe9929ec7014cc4c028c2d04","ffffe5fff7bcfee391fec44ffe9929ec7014cc4c028c2d04","ffffe5fff7bcfee391fec44ffe9929ec7014cc4c02993404662506").map(LC),Dk=YC(Pk),jk=new Array(3).concat("ffeda0feb24cf03b20","ffffb2fecc5cfd8d3ce31a1c","ffffb2fecc5cfd8d3cf03b20bd0026","ffffb2fed976feb24cfd8d3cf03b20bd0026","ffffb2fed976feb24cfd8d3cfc4e2ae31a1cb10026","ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cb10026","ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cbd0026800026").map(LC),Nk=YC(jk),Lk=new Array(3).concat("deebf79ecae13182bd","eff3ffbdd7e76baed62171b5","eff3ffbdd7e76baed63182bd08519c","eff3ffc6dbef9ecae16baed63182bd08519c","eff3ffc6dbef9ecae16baed64292c62171b5084594","f7fbffdeebf7c6dbef9ecae16baed64292c62171b5084594","f7fbffdeebf7c6dbef9ecae16baed64292c62171b508519c08306b").map(LC),Fk=YC(Lk),Rk=new Array(3).concat("e5f5e0a1d99b31a354","edf8e9bae4b374c476238b45","edf8e9bae4b374c47631a354006d2c","edf8e9c7e9c0a1d99b74c47631a354006d2c","edf8e9c7e9c0a1d99b74c47641ab5d238b45005a32","f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45005a32","f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45006d2c00441b").map(LC),Bk=YC(Rk),$k=new Array(3).concat("f0f0f0bdbdbd636363","f7f7f7cccccc969696525252","f7f7f7cccccc969696636363252525","f7f7f7d9d9d9bdbdbd969696636363252525","f7f7f7d9d9d9bdbdbd969696737373525252252525","fffffff0f0f0d9d9d9bdbdbd969696737373525252252525","fffffff0f0f0d9d9d9bdbdbd969696737373525252252525000000").map(LC),zk=YC($k),Ik=new Array(3).concat("efedf5bcbddc756bb1","f2f0f7cbc9e29e9ac86a51a3","f2f0f7cbc9e29e9ac8756bb154278f","f2f0f7dadaebbcbddc9e9ac8756bb154278f","f2f0f7dadaebbcbddc9e9ac8807dba6a51a34a1486","fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a34a1486","fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a354278f3f007d").map(LC),Uk=YC(Ik),Hk=new Array(3).concat("fee0d2fc9272de2d26","fee5d9fcae91fb6a4acb181d","fee5d9fcae91fb6a4ade2d26a50f15","fee5d9fcbba1fc9272fb6a4ade2d26a50f15","fee5d9fcbba1fc9272fb6a4aef3b2ccb181d99000d","fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181d99000d","fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181da50f1567000d").map(LC),Vk=YC(Hk),Wk=new Array(3).concat("fee6cefdae6be6550d","feeddefdbe85fd8d3cd94701","feeddefdbe85fd8d3ce6550da63603","feeddefdd0a2fdae6bfd8d3ce6550da63603","feeddefdd0a2fdae6bfd8d3cf16913d948018c2d04","fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d948018c2d04","fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d94801a636037f2704").map(LC),Yk=YC(Wk);var qk=s_($y(300,.5,0),$y(-240,.5,1)),Zk=s_($y(-100,.75,.35),$y(80,1.5,.8)),Gk=s_($y(260,.75,.35),$y(80,1.5,.8)),Xk=$y();var Qk=my(),Jk=Math.PI/3,Kk=2*Math.PI/3;function eM(e){var t=e.length;return function(n){return e[Math.max(0,Math.min(t-1,Math.floor(n*t)))]}}var tM,nM,rM,iM,oM,aM,sM,cM,lM,uM,fM,dM,hM,pM,gM,mM,bM,vM,yM,_M,wM,xM,CM,kM,MM=eM(LC("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725")),SM=eM(LC("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf")),TM=eM(LC("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4")),AM=eM(LC("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921")),EM=vo(Ag());function OM(){if(aM)return oM;aM=1;var e=Fg(),t=nM?tM:(nM=1,tM=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}),n=iM?rM:(iM=1,rM=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,oM=r}function PM(){if(pM)return hM;pM=1;var e=(cM||(cM=1,sM=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}),sM),t=uM?lM:(uM=1,lM=function(e){return e!=e}),n=(dM||(dM=1,fM=function(e,t,n){for(var r=n-1,i=e.length;++r<i;)if(e[r]===t)return r;return-1}),fM);return hM=function(r,i,o){return i==i?n(r,i,o):e(r,t,o)},hM}function DM(){if(mM)return gM;mM=1;var e=PM();return gM=function(t,n){return!!(null==t?0:t.length)&&e(t,n,0)>-1},gM}function jM(){if(vM)return bM;return vM=1,bM=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},bM}function NM(){if(_M)return yM;return _M=1,yM=function(e,t){return e.has(t)}}var LM=function(){if(kM)return CM;kM=1;var e=function(){if(xM)return wM;xM=1;var e=OM(),t=DM(),n=jM(),r=Nv(),i=Ym(),o=NM();return wM=function(a,s,c,l){var u=-1,f=t,d=!0,h=a.length,p=[],g=s.length;if(!h)return p;c&&(s=r(s,i(c))),l?(f=n,d=!1):s.length>=200&&(f=o,d=!1,s=new e(s));e:for(;++u<h;){var m=a[u],b=null==c?m:c(m);if(m=l||0!==m?m:0,d&&b==b){for(var v=g;v--;)if(s[v]===b)continue e;p.push(m)}else f(s,b,l)||p.push(m)}return p},wM}(),t=rv(),n=jm(),r=t((function(t,r){return n(t)?e(t,r):[]}));return CM=r}(),FM=vo(LM);function RM(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 BM,$M=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function zM(e){if(!(t=$M.exec(e)))throw new Error("invalid format: "+e);var t;return new IM({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 IM(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 UM(e,t){var n=RM(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")}zM.prototype=IM.prototype,IM.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 HM={"%":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 UM(100*e,t)},r:UM,s:function(e,t){var n=RM(e,t);if(!n)return e+"";var r=n[0],i=n[1],o=i-(BM=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")+RM(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 VM(e){return e}var WM,YM,qM=Array.prototype.map,ZM=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function GM(e){var t,n,r=void 0===e.grouping||void 0===e.thousands?VM:(t=qM.call(e.grouping,Number),n=e.thousands+"",function(e,r){for(var i=e.length,o=[],a=0,s=t[0],c=0;i>0&&s>0&&(c+s+1>r&&(s=Math.max(1,r-c)),o.push(e.substring(i-=s,i+s)),!((c+=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?VM:function(e){return function(t){return t.replace(/[0-9]/g,(function(t){return e[+t]}))}}(qM.call(e.numerals,String)),c=void 0===e.percent?"%":e.percent+"",l=void 0===e.minus?"-":e.minus+"",u=void 0===e.nan?"NaN":e.nan+"";function f(e){var t=(e=zM(e)).fill,n=e.align,f=e.sign,d=e.symbol,h=e.zero,p=e.width,g=e.comma,m=e.precision,b=e.trim,v=e.type;"n"===v?(g=!0,v="g"):HM[v]||(void 0===m&&(m=12),b=!0,v="g"),(h||"0"===t&&"="===n)&&(h=!0,t="0",n="=");var y="$"===d?i:"#"===d&&/[boxX]/.test(v)?"0"+v.toLowerCase():"",_="$"===d?o:/[%p]/.test(v)?c:"",w=HM[v],x=/[defgprs%]/.test(v);function C(e){var i,o,c,d=y,C=_;if("c"===v)C=w(e)+C,e="";else{var k=(e=+e)<0||1/e<0;if(e=isNaN(e)?u:w(Math.abs(e),m),b&&(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)),k&&0==+e&&"+"!==f&&(k=!1),d=(k?"("===f?f:l:"-"===f||"("===f?"":f)+d,C=("s"===v?ZM[8+BM/3]:"")+C+(k&&"("===f?")":""),x)for(i=-1,o=e.length;++i<o;)if(48>(c=e.charCodeAt(i))||c>57){C=(46===c?a+e.slice(i+1):e.slice(i))+C,e=e.slice(0,i);break}}g&&!h&&(e=r(e,1/0));var M=d.length+e.length+C.length,S=M<p?new Array(p-M+1).join(t):"";switch(g&&h&&(e=r(S+e,S.length?p-C.length:1/0),S=""),n){case"<":e=d+e+C+S;break;case"=":e=d+S+e+C;break;case"^":e=S.slice(0,M=S.length>>1)+d+e+C+S.slice(M);break;default:e=S+d+e+C}return s(e)}return m=void 0===m?6:/[gprs]/.test(v)?Math.max(1,Math.min(21,m)):Math.max(0,Math.min(20,m)),C.toString=function(){return e+""},C}return{format:f,formatPrefix:function(e,t){var n=f(((e=zM(e)).type="f",e)),r=3*Math.max(-8,Math.min(8,Math.floor(function(e){return(e=RM(Math.abs(e)))?e[1]:NaN}(t)/3))),i=Math.pow(10,-r),o=ZM[8+r/3];return function(e){return n(i*e)+o}}}}!function(e){WM=GM(e),YM=WM.format,WM.formatPrefix}({decimal:".",thousands:",",grouping:[3],currency:["$",""],minus:"-"});var XM=new Date,QM=new Date;function JM(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 JM((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 XM.setTime(+t),QM.setTime(+r),e(XM),e(QM),Math.floor(n(XM,QM))},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 KM=6e4,eS=864e5,tS=6048e5;var nS=JM((e=>e.setHours(0,0,0,0)),((e,t)=>e.setDate(e.getDate()+t)),((e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*KM)/eS),(e=>e.getDate()-1));function rS(e){return JM((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())*KM)/tS}))}nS.range;var iS=rS(0),oS=rS(1),aS=rS(2),sS=rS(3),cS=rS(4),lS=rS(5),uS=rS(6);iS.range,oS.range,aS.range,sS.range,cS.range,lS.range,uS.range;var fS=JM((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()}));fS.every=function(e){return isFinite(e=Math.floor(e))&&e>0?JM((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},fS.range;var dS=JM((function(e){e.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCDate(e.getUTCDate()+t)}),(function(e,t){return(t-e)/eS}),(function(e){return e.getUTCDate()-1}));function hS(e){return JM((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)/tS}))}dS.range;var pS=hS(0),gS=hS(1),mS=hS(2),bS=hS(3),vS=hS(4),yS=hS(5),_S=hS(6);pS.range,gS.range,mS.range,bS.range,vS.range,yS.range,_S.range;var wS=JM((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 xS(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 CS(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 kS(e,t,n){return{y:e,m:t,d:n,H:0,M:0,S:0,L:0}}wS.every=function(e){return isFinite(e=Math.floor(e))&&e>0?JM((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},wS.range;var MS,SS,TS,AS,ES={"-":"",_:" ",0:"0"},OS=/^\s*\d+/,PS=/^%/,DS=/[\\^$*+?|[\]().{}]/g;function jS(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 NS(e){return e.replace(DS,"\\$&")}function LS(e){return new RegExp("^(?:"+e.map(NS).join("|")+")","i")}function FS(e){return new Map(e.map(((e,t)=>[e.toLowerCase(),t])))}function RS(e,t,n){var r=OS.exec(t.slice(n,n+1));return r?(e.w=+r[0],n+r[0].length):-1}function BS(e,t,n){var r=OS.exec(t.slice(n,n+1));return r?(e.u=+r[0],n+r[0].length):-1}function $S(e,t,n){var r=OS.exec(t.slice(n,n+2));return r?(e.U=+r[0],n+r[0].length):-1}function zS(e,t,n){var r=OS.exec(t.slice(n,n+2));return r?(e.V=+r[0],n+r[0].length):-1}function IS(e,t,n){var r=OS.exec(t.slice(n,n+2));return r?(e.W=+r[0],n+r[0].length):-1}function US(e,t,n){var r=OS.exec(t.slice(n,n+4));return r?(e.y=+r[0],n+r[0].length):-1}function HS(e,t,n){var r=OS.exec(t.slice(n,n+2));return r?(e.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function VS(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 WS(e,t,n){var r=OS.exec(t.slice(n,n+1));return r?(e.q=3*r[0]-3,n+r[0].length):-1}function YS(e,t,n){var r=OS.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function qS(e,t,n){var r=OS.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function ZS(e,t,n){var r=OS.exec(t.slice(n,n+3));return r?(e.m=0,e.d=+r[0],n+r[0].length):-1}function GS(e,t,n){var r=OS.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function XS(e,t,n){var r=OS.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function QS(e,t,n){var r=OS.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function JS(e,t,n){var r=OS.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function KS(e,t,n){var r=OS.exec(t.slice(n,n+6));return r?(e.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function eT(e,t,n){var r=PS.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function tT(e,t,n){var r=OS.exec(t.slice(n));return r?(e.Q=+r[0],n+r[0].length):-1}function nT(e,t,n){var r=OS.exec(t.slice(n));return r?(e.s=+r[0],n+r[0].length):-1}function rT(e,t){return jS(e.getDate(),t,2)}function iT(e,t){return jS(e.getHours(),t,2)}function oT(e,t){return jS(e.getHours()%12||12,t,2)}function aT(e,t){return jS(1+nS.count(fS(e),e),t,3)}function sT(e,t){return jS(e.getMilliseconds(),t,3)}function cT(e,t){return sT(e,t)+"000"}function lT(e,t){return jS(e.getMonth()+1,t,2)}function uT(e,t){return jS(e.getMinutes(),t,2)}function fT(e,t){return jS(e.getSeconds(),t,2)}function dT(e){var t=e.getDay();return 0===t?7:t}function hT(e,t){return jS(iS.count(fS(e)-1,e),t,2)}function pT(e){var t=e.getDay();return t>=4||0===t?cS(e):cS.ceil(e)}function gT(e,t){return e=pT(e),jS(cS.count(fS(e),e)+(4===fS(e).getDay()),t,2)}function mT(e){return e.getDay()}function bT(e,t){return jS(oS.count(fS(e)-1,e),t,2)}function vT(e,t){return jS(e.getFullYear()%100,t,2)}function yT(e,t){return jS((e=pT(e)).getFullYear()%100,t,2)}function _T(e,t){return jS(e.getFullYear()%1e4,t,4)}function wT(e,t){var n=e.getDay();return jS((e=n>=4||0===n?cS(e):cS.ceil(e)).getFullYear()%1e4,t,4)}function xT(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+jS(t/60|0,"0",2)+jS(t%60,"0",2)}function CT(e,t){return jS(e.getUTCDate(),t,2)}function kT(e,t){return jS(e.getUTCHours(),t,2)}function MT(e,t){return jS(e.getUTCHours()%12||12,t,2)}function ST(e,t){return jS(1+dS.count(wS(e),e),t,3)}function TT(e,t){return jS(e.getUTCMilliseconds(),t,3)}function AT(e,t){return TT(e,t)+"000"}function ET(e,t){return jS(e.getUTCMonth()+1,t,2)}function OT(e,t){return jS(e.getUTCMinutes(),t,2)}function PT(e,t){return jS(e.getUTCSeconds(),t,2)}function DT(e){var t=e.getUTCDay();return 0===t?7:t}function jT(e,t){return jS(pS.count(wS(e)-1,e),t,2)}function NT(e){var t=e.getUTCDay();return t>=4||0===t?vS(e):vS.ceil(e)}function LT(e,t){return e=NT(e),jS(vS.count(wS(e),e)+(4===wS(e).getUTCDay()),t,2)}function FT(e){return e.getUTCDay()}function RT(e,t){return jS(gS.count(wS(e)-1,e),t,2)}function BT(e,t){return jS(e.getUTCFullYear()%100,t,2)}function $T(e,t){return jS((e=NT(e)).getUTCFullYear()%100,t,2)}function zT(e,t){return jS(e.getUTCFullYear()%1e4,t,4)}function IT(e,t){var n=e.getUTCDay();return jS((e=n>=4||0===n?vS(e):vS.ceil(e)).getUTCFullYear()%1e4,t,4)}function UT(){return"+0000"}function HT(){return"%"}function VT(e){return+e}function WT(e){return Math.floor(+e/1e3)}!function(e){MS=function(e){var t=e.dateTime,n=e.date,r=e.time,i=e.periods,o=e.days,a=e.shortDays,s=e.months,c=e.shortMonths,l=LS(i),u=FS(i),f=LS(o),d=FS(o),h=LS(a),p=FS(a),g=LS(s),m=FS(s),b=LS(c),v=FS(c),y={a:function(e){return a[e.getDay()]},A:function(e){return o[e.getDay()]},b:function(e){return c[e.getMonth()]},B:function(e){return s[e.getMonth()]},c:null,d:rT,e:rT,f:cT,g:yT,G:wT,H:iT,I:oT,j:aT,L:sT,m:lT,M:uT,p:function(e){return i[+(e.getHours()>=12)]},q:function(e){return 1+~~(e.getMonth()/3)},Q:VT,s:WT,S:fT,u:dT,U:hT,V:gT,w:mT,W:bT,x:null,X:null,y:vT,Y:_T,Z:xT,"%":HT},_={a:function(e){return a[e.getUTCDay()]},A:function(e){return o[e.getUTCDay()]},b:function(e){return c[e.getUTCMonth()]},B:function(e){return s[e.getUTCMonth()]},c:null,d:CT,e:CT,f:AT,g:$T,G:IT,H:kT,I:MT,j:ST,L:TT,m:ET,M:OT,p:function(e){return i[+(e.getUTCHours()>=12)]},q:function(e){return 1+~~(e.getUTCMonth()/3)},Q:VT,s:WT,S:PT,u:DT,U:jT,V:LT,w:FT,W:RT,x:null,X:null,y:BT,Y:zT,Z:UT,"%":HT},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=b.exec(t.slice(n));return r?(e.m=v.get(r[0].toLowerCase()),n+r[0].length):-1},B:function(e,t,n){var r=g.exec(t.slice(n));return r?(e.m=m.get(r[0].toLowerCase()),n+r[0].length):-1},c:function(e,n,r){return k(e,t,n,r)},d:qS,e:qS,f:KS,g:HS,G:US,H:GS,I:GS,j:ZS,L:JS,m:YS,M:XS,p:function(e,t,n){var r=l.exec(t.slice(n));return r?(e.p=u.get(r[0].toLowerCase()),n+r[0].length):-1},q:WS,Q:tT,s:nT,S:QS,u:BS,U:$S,V:zS,w:RS,W:IS,x:function(e,t,r){return k(e,n,t,r)},X:function(e,t,n){return k(e,r,t,n)},y:HS,Y:US,Z:VS,"%":eT};function x(e,t){return function(n){var r,i,o,a=[],s=-1,c=0,l=e.length;for(n instanceof Date||(n=new Date(+n));++s<l;)37===e.charCodeAt(s)&&(a.push(e.slice(c,s)),null!=(i=ES[r=e.charAt(++s)])?r=e.charAt(++s):i="e"===r?" ":"0",(o=t[r])&&(r=o(n,i)),a.push(r),c=s+1);return a.push(e.slice(c,s)),a.join("")}}function C(e,t){return function(n){var r,i,o=kS(1900,void 0,1);if(k(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=CS(kS(o.y,0,1))).getUTCDay(),r=i>4||0===i?gS.ceil(r):gS(r),r=dS.offset(r,7*(o.V-1)),o.y=r.getUTCFullYear(),o.m=r.getUTCMonth(),o.d=r.getUTCDate()+(o.w+6)%7):(i=(r=xS(kS(o.y,0,1))).getDay(),r=i>4||0===i?oS.ceil(r):oS(r),r=nS.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?CS(kS(o.y,0,1)).getUTCDay():xS(kS(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,CS(o)):xS(o)}}function k(e,t,n,r){for(var i,o,a=0,s=t.length,c=n.length;a<s;){if(r>=c)return-1;if(37===(i=t.charCodeAt(a++))){if(i=t.charAt(a++),!(o=w[i in ES?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=C(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=C(e+="",!0);return t.toString=function(){return e},t}}}(e),SS=MS.format,TS=MS.parse,MS.utcFormat,AS=MS.utcParse}({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});var YT,qT,ZT,GT,XT,QT,JT,KT,eA,tA,nA,rA,iA,oA,aA,sA,cA,lA,uA,fA,dA,hA,pA=vo(Wm());function gA(){if(KT)return JT;KT=1;var e=(GT||(GT=1,ZT=function(e,t){return null!=e&&t in Object(e)}),ZT),t=function(){if(QT)return XT;QT=1;var e=Fv(),t=Em(),n=Om(),r=qb(),i=Pm(),o=Rv();return XT=function(a,s,c){for(var l=-1,u=(s=e(s,a)).length,f=!1;++l<u;){var d=o(s[l]);if(!(f=null!=a&&c(a,d)))break;a=a[d]}return f||++l!=u?f:!!(u=null==a?0:a.length)&&i(u)&&r(d,u)&&(n(a)||t(a))},XT}();return JT=function(n,r){return null!=n&&t(n,r,e)},JT}function mA(){if(tA)return eA;tA=1;var e=function(){if(qT)return YT;qT=1;var e=Bv(),t=Wv(),n=Fv();return YT=function(r,i,o){for(var a=-1,s=i.length,c={};++a<s;){var l=i[a],u=e(r,l);o(u,l)&&t(c,n(l,r),u)}return c},YT}(),t=gA();return eA=function(n,r){return e(n,r,(function(e,r){return t(n,r)}))},eA}function bA(){if(rA)return nA;return rA=1,nA=function(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e},nA}function vA(){if(sA)return aA;sA=1;var e=bA(),t=function(){if(oA)return iA;oA=1;var e=Mg(),t=Em(),n=Om(),r=e?e.isConcatSpreadable:void 0;return iA=function(e){return n(e)||t(e)||!!(r&&e&&e[r])}}();return aA=function n(r,i,o,a,s){var c=-1,l=r.length;for(o||(o=t),s||(s=[]);++c<l;){var u=r[c];i>0&&o(u)?i>1?n(u,i-1,o,a,s):e(s,u):a||(s[s.length]=u)}return s},aA}function yA(){if(fA)return uA;fA=1;var e=function(){if(lA)return cA;lA=1;var e=vA();return cA=function(t){return null!=t&&t.length?e(t,1):[]},cA}(),t=ev(),n=nv();return uA=function(r){return n(t(r,void 0,e),r+"")}}var _A,wA,xA,CA,kA,MA,SA,TA,AA,EA,OA,PA,DA,jA,NA,LA,FA,RA,BA,$A,zA,IA,UA,HA,VA,WA,YA,qA,ZA,GA,XA,QA,JA,KA,eE,tE,nE,rE,iE,oE,aE,sE,cE,lE,uE=function(){if(hA)return dA;hA=1;var e=mA(),t=yA()((function(t,n){return null==t?{}:e(t,n)}));return dA=t}(),fE=vo(uE);function dE(){if(CA)return xA;CA=1;var e=OM(),t=(wA||(wA=1,_A=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}),_A),n=NM();return xA=function(r,i,o,a,s,c){var l=1&o,u=r.length,f=i.length;if(u!=f&&!(l&&f>u))return!1;var d=c.get(r),h=c.get(i);if(d&&h)return d==i&&h==r;var p=-1,g=!0,m=2&o?new e:void 0;for(c.set(r,i),c.set(i,r);++p<u;){var b=r[p],v=i[p];if(a)var y=l?a(v,b,p,i,r,c):a(b,v,p,r,i,c);if(void 0!==y){if(y)continue;g=!1;break}if(m){if(!t(i,(function(e,t){if(!n(m,t)&&(b===e||s(b,e,o,a,c)))return m.push(t)}))){g=!1;break}}else if(b!==v&&!s(b,v,o,a,c)){g=!1;break}}return c.delete(r),c.delete(i),g},xA}function hE(){if(TA)return SA;return TA=1,SA=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n},SA}function pE(){if(EA)return AA;EA=1;var e=Mg(),t=xm(),n=_g(),r=dE(),i=(MA||(MA=1,kA=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}),kA),o=hE(),a=e?e.prototype:void 0,s=a?a.valueOf:void 0;return AA=function(e,a,c,l,u,f,d){switch(c){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&l;if(h||(h=o),e.size!=a.size&&!p)return!1;var g=d.get(e);if(g)return g==a;l|=2,d.set(e,a);var m=r(h(e),h(a),l,u,f,d);return d.delete(e),m;case"[object Symbol]":if(s)return s.call(e)==s.call(a)}return!1},AA}function gE(){if(RA)return FA;RA=1;var e=(jA||(jA=1,DA=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}),DA),t=LA?NA:(LA=1,NA=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 FA=i}function mE(){if(IA)return zA;IA=1;var e=Sm(),t=function(){if($A)return BA;$A=1;var e=km()(Object.keys,Object);return BA=e}(),n=Object.prototype.hasOwnProperty;return zA=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},zA}function bE(){if(HA)return UA;HA=1;var e=Zb(),t=mE(),n=Dm();return UA=function(r){return n(r)?e(r):t(r)},UA}function vE(){if(WA)return VA;WA=1;var e=function(){if(PA)return OA;PA=1;var e=bA(),t=Om();return OA=function(n,r,i){var o=r(n);return t(n)?o:e(o,i(n))},OA}(),t=gE(),n=bE();return VA=function(r){return e(r,n,t)},VA}function yE(){if(KA)return JA;KA=1;var e=Pg()(kg(),"Set");return JA=e}function _E(){if(rE)return nE;rE=1;var e=function(){if(GA)return ZA;GA=1;var e=Pg()(kg(),"DataView");return ZA=e}(),t=Dg(),n=function(){if(QA)return XA;QA=1;var e=Pg()(kg(),"Promise");return XA=e}(),r=yE(),i=function(){if(tE)return eE;tE=1;var e=Pg()(kg(),"WeakMap");return eE=e}(),o=Sg(),a=Og(),s="[object Map]",c="[object Promise]",l="[object Set]",u="[object WeakMap]",f="[object DataView]",d=a(e),h=a(t),p=a(n),g=a(r),m=a(i),b=o;return(e&&b(new e(new ArrayBuffer(1)))!=f||t&&b(new t)!=s||n&&b(n.resolve())!=c||r&&b(new r)!=l||i&&b(new i)!=u)&&(b=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 c;case g:return l;case m:return u}return t}),nE=b}function wE(){if(oE)return iE;oE=1;var e=Rg(),t=dE(),n=pE(),r=function(){if(qA)return YA;qA=1;var e=vE(),t=Object.prototype.hasOwnProperty;return YA=function(n,r,i,o,a,s){var c=1&i,l=e(n),u=l.length;if(u!=e(r).length&&!c)return!1;for(var f=u;f--;){var d=l[f];if(!(c?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 m=c;++f<u;){var b=n[d=l[f]],v=r[d];if(o)var y=c?o(v,b,d,r,n,s):o(b,v,d,n,r,s);if(!(void 0===y?b===v||a(b,v,i,o,s):y)){g=!1;break}m||(m="constructor"==d)}if(g&&!m){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},YA}(),i=_E(),o=Om(),a=Vm(),s=Vb(),c="[object Arguments]",l="[object Array]",u="[object Object]",f=Object.prototype.hasOwnProperty;return iE=function(d,h,p,g,m,b){var v=o(d),y=o(h),_=v?l:i(d),w=y?l:i(h),x=(_=_==c?u:_)==u,C=(w=w==c?u:w)==u,k=_==w;if(k&&a(d)){if(!a(h))return!1;v=!0,x=!1}if(k&&!x)return b||(b=new e),v||s(d)?t(d,h,p,g,m,b):n(d,h,_,p,g,m,b);if(!(1&p)){var M=x&&f.call(d,"__wrapped__"),S=C&&f.call(h,"__wrapped__");if(M||S){var T=M?d.value():d,A=S?h.value():h;return b||(b=new e),m(T,A,p,g,b)}}return!!k&&(b||(b=new e),r(d,h,p,g,m,b))},iE}function xE(){if(sE)return aE;sE=1;var e=wE(),t=Am();return aE=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))},aE}var CE=vo(function(){if(lE)return cE;lE=1;var e=xE();return cE=function(t,n){return e(t,n)}}()),kE={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 ME(){return ME=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},ME.apply(this,arguments)}function SE(e,t){return SE=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},SE(e,t)}function TE(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 AE=["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"],EE=function(e,t){var n=Ov({},e,t);return AE.forEach((function(e){qv(n,e,function(e,t){return ME({},t,e)}(Vv(n,e),n.text))})),n},OE=C(),PE=function(e){var t=e.children,n=e.animate,r=void 0===n||n,i=e.config,o=void 0===i?"default":i,a=w((function(){var e=u_(o)?td[o]:o;return{animate:r,config:e}}),[r,o]);return O(OE.Provider,{value:a,children:t})},DE={animate:Ol.bool,motionConfig:Ol.oneOfType([Ol.oneOf(Object.keys(td)),Ol.shape({mass:Ol.number,tension:Ol.number,friction:Ol.number,clamp:Ol.bool,precision:Ol.number,velocity:Ol.number,duration:Ol.number,easing:Ol.func})])};PE.propTypes={children:Ol.node.isRequired,animate:DE.animate,config:DE.motionConfig};var jE=function(){return _(OE)},NE=function(e){var t=jE(),n=t.animate,r=t.config,i=function(e){var t=b();return p((function(){t.current=e}),[e]),t.current}(e),o=w((function(){return t_(i,e)}),[i,e]);return((e,...t)=>new Xd(e,t))(qd({from:{value:0},to:{value:1},reset:!0,config:r,immediate:!n}).value,o)},LE={nivo:["#d76445","#f47560","#e8c1a0","#97e3d5","#61cdbb","#00b0a7"],BrBG:d_(qC),PRGn:d_(GC),PiYG:d_(QC),PuOr:d_(KC),RdBu:d_(tk),RdGy:d_(rk),RdYlBu:d_(ok),RdYlGn:d_(sk),spectral:d_(lk),blues:d_(Lk),greens:d_(Rk),greys:d_($k),oranges:d_(Wk),purples:d_(Ik),reds:d_(Hk),BuGn:d_(fk),BuPu:d_(hk),GnBu:d_(gk),OrRd:d_(bk),PuBuGn:d_(yk),PuBu:d_(wk),PuRd:d_(Ck),RdPu:d_(Mk),YlGnBu:d_(Tk),YlGn:d_(Ek),YlOrBr:d_(Pk),YlOrRd:d_(jk)},FE=Object.keys(LE);d_(qC),d_(GC),d_(QC),d_(KC),d_(tk),d_(rk),d_(ok),d_(sk),d_(lk),d_(Lk),d_(Rk),d_($k),d_(Wk),d_(Ik),d_(Hk),d_(fk),d_(hk),d_(gk),d_(bk),d_(yk),d_(wk),d_(Ck),d_(Mk),d_(Tk),d_(Ek),d_(Pk),d_(jk),Ol.oneOfType([Ol.oneOf(FE),Ol.func,Ol.arrayOf(Ol.string)]);var RE={basis:function(e){return new ai(e)},basisClosed:function(e){return new si(e)},basisOpen:function(e){return new ci(e)},bundle:ui,cardinal:hi,cardinalClosed:gi,cardinalOpen:bi,catmullRom:_i,catmullRomClosed:xi,catmullRomOpen:Si,linear:Qr,linearClosed:function(e){return new Ti(e)},monotoneX:function(e){return new Di(e)},monotoneY:function(e){return new ji(e)},natural:function(e){return new Li(e)},step:function(e){return new Ri(e,.5)},stepAfter:function(e){return new Ri(e,1)},stepBefore:function(e){return new Ri(e,0)}},BE=Object.keys(RE);BE.filter((function(e){return e.endsWith("Closed")})),FM(BE,"bundle","basisClosed","basisOpen","cardinalClosed","cardinalOpen","catmullRomClosed","catmullRomOpen","linearClosed"),FM(BE,"bundle","basisClosed","basisOpen","cardinalClosed","cardinalOpen","catmullRomClosed","catmullRomOpen","linearClosed");var $E=function(e){if(!RE[e])throw new TypeError("'"+e+"', is not a valid curve interpolator identifier.");return RE[e]};Ol.shape({top:Ol.number,right:Ol.number,bottom:Ol.number,left:Ol.number}).isRequired;Ol.oneOf(["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"]),O_(VC);var zE={top:0,right:0,bottom:0,left:0},IE=function(e,t,n){return void 0===n&&(n={}),w((function(){var r=ME({},zE,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])},UE=function(){var e=b(null),t=m({left:0,top:0,width:0,height:0}),n=t[0],r=t[1],i=m((function(){return"undefined"==typeof ResizeObserver?null:new ResizeObserver((function(e){var t=e[0];return r(t.contentRect)}))}))[0];return p((function(){return e.current&&null!==i&&i.observe(e.current),function(){null!==i&&i.disconnect()}}),[]),[e,n]},HE=function(e){return w((function(){return function(e){return"function"==typeof e?e:"string"==typeof e?0===e.indexOf("time:")?SS(e.slice("5")):YM(e):function(e){return""+e}}(e)}),[e])},VE=C(),WE={},YE=function(e){var t=e.theme,n=void 0===t?WE:t,r=e.children,i=function(e){return w((function(){return EE(kE,e)}),[e])}(n);return O(VE.Provider,{value:i,children:r})};YE.propTypes={children:Ol.node.isRequired,theme:Ol.object};var qE=function(){return _(VE)},ZE=["outlineWidth","outlineColor","outlineOpacity"],GE=function(e){return e.outlineWidth,e.outlineColor,e.outlineOpacity,TE(e,ZE)},XE=function(e){var t=e.children,n=e.condition,r=e.wrapper;return n?S(r,{},t):t};XE.propTypes={children:Ol.node.isRequired,condition:Ol.bool.isRequired,wrapper:Ol.element.isRequired};var QE={position:"relative"},JE=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,c=e.motionConfig,l=b(null);return O(YE,{theme:n,children:O(PE,{animate:s,config:c,children:O(yg,{container:l,children:O(XE,{condition:i,wrapper:O("div",{style:QE,ref:l}),children:[t,a&&O(vg,{})]})})})})};JE.propTypes={children:Ol.element.isRequired,isInteractive:Ol.bool,renderWrapper:Ol.bool,theme:Ol.object,animate:Ol.bool,motionConfig:Ol.oneOfType([Ol.string,DE.motionConfig])},Ol.func.isRequired,Ol.bool,Ol.bool,Ol.object.isRequired,Ol.bool.isRequired,Ol.oneOfType([Ol.string,DE.motionConfig]);var KE=function(e){var t=e.children,n=UE(),r=n[0],i=n[1];return O("div",{ref:r,style:{width:"100%",height:"100%"},children:i.width>0&&i.height>0&&t({width:i.width,height:i.height})})};KE.propTypes={children:Ol.func.isRequired};var eO=["id","colors"],tO=function(e){var t=e.id,n=e.colors;return O("linearGradient",ME({id:t,x1:0,x2:0,y1:0,y2:1},TE(e,eO),{children:n.map((function(e){var t=e.offset,n=e.color,r=e.opacity;return O("stop",{offset:t+"%",stopColor:n,stopOpacity:void 0!==r?r:1},t)}))}))};tO.propTypes={id:Ol.string.isRequired,colors:Ol.arrayOf(Ol.shape({offset:Ol.number.isRequired,color:Ol.string.isRequired,opacity:Ol.number})).isRequired,gradientTransform:Ol.string};var nO={linearGradient:tO},rO="#000000",iO="#ffffff",oO=4,aO=4,sO=!1,cO=x((function(e){var t=e.id,n=e.background,r=void 0===n?iO:n,i=e.color,o=void 0===i?rO:i,a=e.size,s=void 0===a?oO:a,c=e.padding,l=void 0===c?aO:c,u=e.stagger,f=void 0===u?sO:u,d=s+l,h=s/2,p=l/2;return!0===f&&(d=2*s+2*l),O("pattern",{id:t,width:d,height:d,patternUnits:"userSpaceOnUse",children:[O("rect",{width:d,height:d,fill:r}),O("circle",{cx:p+h,cy:p+h,r:h,fill:o}),f&&O("circle",{cx:1.5*l+s+h,cy:1.5*l+s+h,r:h,fill:o})]})}));cO.displayName="PatternDots",cO.propTypes={id:Ol.string.isRequired,color:Ol.string.isRequired,background:Ol.string.isRequired,size:Ol.number.isRequired,padding:Ol.number.isRequired,stagger:Ol.bool.isRequired};var lO=function(e){return e*Math.PI/180},uO={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"}}},fO=5,dO=0,hO="#000000",pO="#ffffff",gO=2,mO=x((function(e){var t=e.id,n=e.spacing,r=void 0===n?fO:n,i=e.rotation,o=void 0===i?dO:i,a=e.background,s=void 0===a?hO:a,c=e.color,l=void 0===c?pO:c,u=e.lineWidth,f=void 0===u?gO: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,m=h;return 0===d?p="\n M 0 0 L "+g+" 0\n M 0 "+m+" L "+g+" "+m+"\n ":90===d?p="\n M 0 0 L 0 "+m+"\n M "+g+" 0 L "+g+" "+m+"\n ":(g=Math.abs(h/Math.sin(lO(d))),m=h/Math.sin(lO(90-d)),p=d>0?"\n M 0 "+-m+" L "+2*g+" "+m+"\n M "+-g+" "+-m+" L "+g+" "+m+"\n M "+-g+" 0 L "+g+" "+2*m+"\n ":"\n M "+-g+" "+m+" L "+g+" "+-m+"\n M "+-g+" "+2*m+" L "+2*g+" "+-m+"\n M 0 "+2*m+" L "+2*g+" 0\n "),O("pattern",{id:t,width:g,height:m,patternUnits:"userSpaceOnUse",children:[O("rect",{width:g,height:m,fill:s,stroke:"rgba(255, 0, 0, 0.1)",strokeWidth:0}),O("path",{d:p,strokeWidth:f,stroke:l,strokeLinecap:"square"})]})}));mO.displayName="PatternLines",mO.propTypes={id:Ol.string.isRequired,spacing:Ol.number.isRequired,rotation:Ol.number.isRequired,background:Ol.string.isRequired,color:Ol.string.isRequired,lineWidth:Ol.number.isRequired};var bO="#000000",vO="#ffffff",yO=4,_O=4,wO=!1,xO=x((function(e){var t=e.id,n=e.color,r=void 0===n?bO:n,i=e.background,o=void 0===i?vO:i,a=e.size,s=void 0===a?yO:a,c=e.padding,l=void 0===c?_O:c,u=e.stagger,f=void 0===u?wO:u,d=s+l,h=l/2;return!0===f&&(d=2*s+2*l),O("pattern",{id:t,width:d,height:d,patternUnits:"userSpaceOnUse",children:[O("rect",{width:d,height:d,fill:o}),O("rect",{x:h,y:h,width:s,height:s,fill:r}),f&&O("rect",{x:1.5*l+s,y:1.5*l+s,width:s,height:s,fill:r})]})}));xO.displayName="PatternSquares",xO.propTypes={id:Ol.string.isRequired,color:Ol.string.isRequired,background:Ol.string.isRequired,size:Ol.number.isRequired,padding:Ol.number.isRequired,stagger:Ol.bool.isRequired};var CO={patternDots:cO,patternLines:mO,patternSquares:xO},kO=["type"],MO=ME({},nO,CO),SO=function(e){var t=e.defs;return!t||t.length<1?null:O("defs",{"aria-hidden":!0,children:t.map((function(e){var t=e.type,n=TE(e,kO);return MO[t]?k(MO[t],ME({key:n.id},n)):null}))})};SO.propTypes={defs:Ol.arrayOf(Ol.shape({type:Ol.oneOf(Object.keys(MO)).isRequired,id:Ol.string.isRequired}))};var TO=x(SO),AO=function(e){var t=e.width,n=e.height,r=e.margin,i=e.defs,o=e.children,a=e.role,s=e.ariaLabel,c=e.ariaLabelledBy,l=e.ariaDescribedBy,u=e.isFocusable,f=qE();return O("svg",{xmlns:"http://www.w3.org/2000/svg",width:t,height:n,role:a,"aria-label":s,"aria-labelledby":c,"aria-describedby":l,focusable:u,tabIndex:u?0:void 0,children:[O(TO,{defs:i}),O("rect",{width:t,height:n,fill:f.background}),O("g",{transform:"translate("+r.left+","+r.top+")",children:o})]})};AO.propTypes={width:Ol.number.isRequired,height:Ol.number.isRequired,margin:Ol.shape({top:Ol.number.isRequired,left:Ol.number.isRequired}).isRequired,defs:Ol.array,children:Ol.oneOfType([Ol.arrayOf(Ol.node),Ol.node]).isRequired,role:Ol.string,isFocusable:Ol.bool,ariaLabel:Ol.string,ariaLabelledBy:Ol.string,ariaDescribedBy:Ol.string};var EO=function(e){var t=e.size,n=e.color,r=e.borderWidth;return O("circle",{r:t/2,fill:n,stroke:e.borderColor,strokeWidth:r,style:{pointerEvents:"none"}})};EO.propTypes={size:Ol.number.isRequired,color:Ol.string.isRequired,borderWidth:Ol.number.isRequired,borderColor:Ol.string.isRequired};var OO=x(EO),PO=function(e){var t=e.x,n=e.y,r=e.symbol,i=void 0===r?OO:r,o=e.size,a=e.datum,s=e.color,c=e.borderWidth,l=e.borderColor,u=e.label,f=e.labelTextAnchor,d=void 0===f?"middle":f,h=e.labelYOffset,p=void 0===h?-12:h,g=qE(),m=jE(),b=m.animate,v=qd({transform:"translate("+t+", "+n+")",config:m.config,immediate:!b});return O(hh.g,{transform:v.transform,style:{pointerEvents:"none"},children:[k(i,{size:o,color:s,datum:a,borderWidth:c,borderColor:l}),u&&O("text",{textAnchor:d,y:p,style:GE(g.dots.text),children:u})]})};PO.propTypes={x:Ol.number.isRequired,y:Ol.number.isRequired,datum:Ol.object.isRequired,size:Ol.number.isRequired,color:Ol.string.isRequired,borderWidth:Ol.number.isRequired,borderColor:Ol.string.isRequired,symbol:Ol.oneOfType([Ol.func,Ol.object]),label:Ol.oneOfType([Ol.string,Ol.number]),labelTextAnchor:Ol.oneOf(["start","middle","end"]),labelYOffset:Ol.number};var DO=x(PO),jO=function(e){var t=e.width,n=e.height,r=e.axis,i=e.scale,o=e.value,a=e.lineStyle,s=e.textStyle,c=e.legend,l=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,m=e.legendOrientation,b=void 0===m?"horizontal":m,v=qE(),y=0,_=0,w=0,x=0;if("y"===r?(w=i(o),_=t):(y=i(o),x=n),c&&!l){var C=function(e){var t=e.width,n=e.height,r=e.position,i=e.offsetX,o=e.offsetY,a=e.orientation,s=0,c=0,l="vertical"===a?-90:0,u="start";if("x"===e.axis)switch(r){case"top-left":s=-i,c=o,u="end";break;case"top":c=-o,u="horizontal"===a?"middle":"start";break;case"top-right":s=i,c=o,u="horizontal"===a?"start":"end";break;case"right":s=i,c=n/2,u="horizontal"===a?"start":"middle";break;case"bottom-right":s=i,c=n-o,u="start";break;case"bottom":c=n+o,u="horizontal"===a?"middle":"end";break;case"bottom-left":c=n-o,s=-i,u="horizontal"===a?"end":"start";break;case"left":s=-i,c=n/2,u="horizontal"===a?"end":"middle"}else switch(r){case"top-left":s=i,c=-o,u="start";break;case"top":s=t/2,c=-o,u="horizontal"===a?"middle":"start";break;case"top-right":s=t-i,c=-o,u="horizontal"===a?"end":"start";break;case"right":s=t+i,u="horizontal"===a?"start":"middle";break;case"bottom-right":s=t-i,c=o,u="end";break;case"bottom":s=t/2,c=o,u="horizontal"===a?"middle":"end";break;case"bottom-left":s=i,c=o,u="horizontal"===a?"start":"end";break;case"left":s=-i,u="horizontal"===a?"end":"middle"}return{x:s,y:c,rotation:l,textAnchor:u}}({axis:r,width:t,height:n,position:f,offsetX:h,offsetY:g,orientation:b});l=O("text",{transform:"translate("+C.x+", "+C.y+") rotate("+C.rotation+")",textAnchor:C.textAnchor,dominantBaseline:"central",style:s,children:c})}return O("g",{transform:"translate("+y+", "+w+")",children:[O("line",{x1:0,x2:_,y1:0,y2:x,stroke:v.markers.lineColor,strokeWidth:v.markers.lineStrokeWidth,style:a}),l]})};jO.propTypes={width:Ol.number.isRequired,height:Ol.number.isRequired,axis:Ol.oneOf(["x","y"]).isRequired,scale:Ol.func.isRequired,value:Ol.oneOfType([Ol.number,Ol.string,Ol.instanceOf(Date)]).isRequired,lineStyle:Ol.object,textStyle:Ol.object,legend:Ol.string,legendPosition:Ol.oneOf(["top-left","top","top-right","right","bottom-right","bottom","bottom-left","left"]),legendOffsetX:Ol.number.isRequired,legendOffsetY:Ol.number.isRequired,legendOrientation:Ol.oneOf(["horizontal","vertical"]).isRequired};var NO=x(jO),LO=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 O(NO,ME({},e,{width:n,height:r,scale:"y"===e.axis?o:i}),t)})):null};LO.propTypes={width:Ol.number.isRequired,height:Ol.number.isRequired,xScale:Ol.func.isRequired,yScale:Ol.func.isRequired,markers:Ol.arrayOf(Ol.shape({axis:Ol.oneOf(["x","y"]).isRequired,value:Ol.oneOfType([Ol.number,Ol.string,Ol.instanceOf(Date)]).isRequired,lineStyle:Ol.object,textStyle:Ol.object}))};var FO=x(LO),RO=["theme","renderWrapper","animate","motionConfig"],BO=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,SE(n,r),i.prototype.render=function(){var t=this.props,n=t.theme,r=t.renderWrapper,i=t.animate,o=t.motionConfig,a=TE(t,RO);return O(JE,{theme:n,renderWrapper:r,isInteractive:a.isInteractive,animate:i,motionConfig:o,children:O(e,ME({},a))})},i}(M)},$O=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]},zO=Object.keys(nO),IO=Object.keys(CO),UO=function(e,t,n,r){var i={},o=i.dataKey,a=i.colorKey,s=void 0===a?"color":a,c=i.targetKey,l=void 0===c?"fill":c,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(EM(e))return e(t);if(pA(e)){var r=n?Vv(t,n):t;return CE(fE(r,Object.keys(e)),e)}return!1}(r.match,t,o)){var c=e.find((function(e){return e.id===a}));if(c)if(IO.includes(c.type))if("inherit"===c.background||"inherit"===c.color){var d=Vv(t,s),h=c.background,p=c.color,g=a;"inherit"===c.background&&(g=g+".bg."+d,h=d),"inherit"===c.color&&(g=g+".fg."+d,p=d),qv(t,l,"url(#"+g+")"),f[g]||(u.push(ME({},c,{id:g,background:h,color:p})),f[g]=1)}else qv(t,l,"url(#"+a+")");else if(zO.includes(c.type))if(c.colors.map((function(e){return e.color})).includes("inherit")){var m=Vv(t,s),b=a,v=ME({},c,{colors:c.colors.map((function(e,t){return"inherit"!==e.color?e:(b=b+"."+t+"."+m,ME({},e,{color:"inherit"===e.color?m:e.color}))}))});v.id=b,qv(t,l,"url(#"+b+")"),f[b]||(u.push(v),f[b]=1)}else qv(t,l,"url(#"+a+")");return"break"}},i=0;i<n.length&&"break"!==r();i++);}))),u};function HO(){return HO=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},HO.apply(this,arguments)}function VO(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 WO={nivo:["#e8c1a0","#f47560","#f1e15b","#e8a838","#61cdbb","#97e3d5"],category10:FC,accent:RC,dark2:BC,paired:$C,pastel1:zC,pastel2:IC,set1:UC,set2:HC,set3:VC,tableau10:WC},YO=Object.keys(WO),qO={brown_blueGreen:qC,purpleRed_green:GC,pink_yellowGreen:QC,purple_orange:KC,red_blue:tk,red_grey:rk,red_yellow_blue:ok,red_yellow_green:sk,spectral:lk},ZO=Object.keys(qO),GO={brown_blueGreen:ZC,purpleRed_green:XC,pink_yellowGreen:JC,purple_orange:ek,red_blue:nk,red_grey:ik,red_yellow_blue:ak,red_yellow_green:ck,spectral:uk},XO={blues:Lk,greens:Rk,greys:$k,oranges:Wk,purples:Ik,reds:Hk,blue_green:fk,blue_purple:hk,green_blue:gk,orange_red:bk,purple_blue_green:yk,purple_blue:wk,purple_red:Ck,red_purple:Mk,yellow_green_blue:Tk,yellow_green:Ek,yellow_orange_brown:Pk,yellow_orange_red:jk},QO=Object.keys(XO),JO={blues:Fk,greens:Bk,greys:zk,oranges:Yk,purples:Uk,reds:Vk,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:MM,inferno:TM,magma:SM,plasma:AM,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:Zk,cool:Gk,cubehelixDefault:qk,blue_green:dk,blue_purple:pk,green_blue:mk,orange_red:vk,purple_blue_green:_k,purple_blue:xk,purple_red:kk,red_purple:Sk,yellow_green_blue:Ak,yellow_green:Ok,yellow_orange_brown:Dk,yellow_orange_red:Nk},KO=HO({},WO,qO,XO),eP={rainbow:function(e){(e<0||e>1)&&(e-=Math.floor(e));var t=Math.abs(e-.5);return Xk.h=360*e-100,Xk.s=1.5-1.5*t,Xk.l=.8-.9*t,Xk+""},sinebow:function(e){var t;return e=(.5-e)*Math.PI,Qk.r=255*(t=Math.sin(e))*t,Qk.g=255*(t=Math.sin(e+Jk))*t,Qk.b=255*(t=Math.sin(e+Kk))*t,Qk+""}};HO({},GO,JO,eP);var tP=function(e,t){if("function"==typeof e)return e;if(pA(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=Vv(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 Vv(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 VO(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)?VO(e,t):void 0}}(e))||t){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)}),my(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}},nP=function(e,t){return w((function(){return tP(e,t)}),[e,t])};Ol.oneOfType([Ol.string,Ol.func,Ol.shape({theme:Ol.string.isRequired}),Ol.shape({from:Ol.string.isRequired,modifiers:Ol.arrayOf(Ol.array)})]);var rP,iP,oP,aP,sP,cP,lP,uP,fP=function(e,t){if("function"==typeof e)return e;var n=function(e){return Vv(e,t)};if(Array.isArray(e)){var r=O_(e),i=function(e){return r(n(e))};return i.scale=r,i}if(pA(e)){if(function(e){return void 0!==e.datum}(e))return function(t){return Vv(t,e.datum)};if(function(e){return void 0!==e.scheme}(e)){if(function(e){return YO.includes(e)}(e.scheme)){var o=O_(KO[e.scheme]),a=function(e){return o(n(e))};return a.scale=o,a}if(function(e){return ZO.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=O_(KO[e.scheme][e.size||11]),c=function(e){return s(n(e))};return c.scale=s,c}if(function(e){return QO.includes(e)}(e.scheme)){if(void 0!==e.size&&(e.size<3||e.size>9))throw new Error("Invalid size '"+e.size+"' for sequential color scheme '"+e.scheme+"', must be between 3~9");var l=O_(KO[e.scheme][e.size||9]),u=function(e){return l(n(e))};return u.scale=l,u}}throw new Error("Invalid colors, when using an object, you should either pass a 'datum' or a 'scheme' property")}return function(){return e}};function dP(){if(aP)return oP;aP=1;var e=yE(),t=iP?rP:(iP=1,rP=function(){}),n=hE(),r=e&&1/n(new e([,-0]))[1]==1/0?function(t){return new e(t)}:t;return oP=r}function hP(){if(cP)return sP;cP=1;var e=OM(),t=DM(),n=jM(),r=NM(),i=dP(),o=hE();return sP=function(a,s,c){var l=-1,u=t,f=a.length,d=!0,h=[],p=h;if(c)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(;++l<f;){var m=a[l],b=s?s(m):m;if(m=c||0!==m?m:0,d&&b==b){for(var v=p.length;v--;)if(p[v]===b)continue e;s&&p.push(b),h.push(m)}else u(p,b,c)||(p!==h&&p.push(b),h.push(m))}return h},sP}var pP,gP,mP,bP,vP,yP,_P,wP,xP,CP,kP,MP,SP,TP,AP,EP,OP,PP,DP,jP,NP,LP,FP=function(){if(uP)return lP;uP=1;var e=hP();return lP=function(t){return t&&t.length?e(t):[]},lP}(),RP=vo(FP);function BP(){if(bP)return mP;bP=1;var e=Tg();return mP=function(t){return t==t&&!e(t)}}function $P(){if(wP)return _P;return wP=1,_P=function(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}},_P}function zP(){if(CP)return xP;CP=1;var e=function(){if(gP)return pP;gP=1;var e=Rg(),t=xE();return pP=function(n,r,i,o){var a=i.length,s=a,c=!o;if(null==n)return!s;for(n=Object(n);a--;){var l=i[a];if(c&&l[2]?l[1]!==n[l[0]]:!(l[0]in n))return!1}for(;++a<s;){var u=(l=i[a])[0],f=n[u],d=l[1];if(c&&l[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},pP}(),t=function(){if(yP)return vP;yP=1;var e=BP(),t=bE();return vP=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},vP}(),n=$P();return xP=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)}},xP}function IP(){if(PP)return OP;PP=1;var e=(TP||(TP=1,SP=function(e){return function(t){return null==t?void 0:t[e]}}),SP),t=function(){if(EP)return AP;EP=1;var e=Bv();return AP=function(t){return function(n){return e(n,t)}},AP}(),n=Dv(),r=Rv();return OP=function(i){return n(i)?e(r(i)):t(i)}}function UP(){if(jP)return DP;jP=1;var e=zP(),t=function(){if(MP)return kP;MP=1;var e=xE(),t=$v(),n=gA(),r=Dv(),i=BP(),o=$P(),a=Rv();return kP=function(s,c){return r(s)&&i(c)?o(a(s),c):function(r){var i=t(r,s);return void 0===i&&i===c?n(r,s):e(c,i,3)}},kP}(),n=Kb(),r=Om(),i=IP();return DP=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 HP,VP,WP,YP,qP,ZP,GP,XP,QP,JP,KP,eD,tD,nD,rD,iD,oD,aD,sD=function(){if(LP)return NP;LP=1;var e=UP(),t=hP();return NP=function(n,r){return n&&n.length?t(n,e(r,2)):[]},NP}(),cD=vo(sD);function lD(){if(ZP)return qP;ZP=1;var e=function(){if(VP)return HP;VP=1;var e=Ig(),t=bE();return HP=function(n,r){return n&&e(n,r,t)},HP}(),t=function(){if(YP)return WP;YP=1;var e=Dm();return WP=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}},WP}(),n=t(e);return qP=n}function uD(){if(nD)return tD;nD=1;var e=function(){if(eD)return KP;eD=1;var e=Pv();return KP=function(t,n){if(t!==n){var r=void 0!==t,i=null===t,o=t==t,a=e(t),s=void 0!==n,c=null===n,l=n==n,u=e(n);if(!c&&!u&&!a&&t>n||a&&s&&l&&!c&&!u||i&&s&&l||!r&&l||!o)return 1;if(!i&&!a&&!u&&t<n||u&&r&&o&&!i&&!a||c&&r&&o||!s&&o||!l)return-1}return 0}}();return tD=function(t,n,r){for(var i=-1,o=t.criteria,a=n.criteria,s=o.length,c=r.length;++i<s;){var l=e(o[i],a[i]);if(l)return i>=c?l:l*("desc"==r[i]?-1:1)}return t.index-n.index},tD}function fD(){if(iD)return rD;iD=1;var e=Nv(),t=Bv(),n=UP(),r=function(){if(XP)return GP;XP=1;var e=lD(),t=Dm();return GP=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},GP}(),i=(JP||(JP=1,QP=function(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}),QP),o=Ym(),a=uD(),s=Kb(),c=Om();return rD=function(l,u,f){u=u.length?e(u,(function(e){return c(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(l,(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)}))},rD}var dD,hD,pD,gD,mD=vo(function(){if(aD)return oD;aD=1;var e=vA(),t=fD(),n=rv(),r=iv(),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 oD=i}());var bD=vo(function(){if(gD)return pD;gD=1;var e=function(){if(hD)return dD;hD=1;var e=Sg(),t=Am();return dD=function(n){return t(n)&&"[object Date]"==e(n)}}(),t=Ym(),n=Hb(),r=n&&n.isDate,i=r?t(r):e;return pD=i}()),vD=new Date,yD=new Date;function _D(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 _D((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 vD.setTime(+t),yD.setTime(+r),e(vD),e(yD),Math.floor(n(vD,yD))},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 wD=_D((function(){}),(function(e,t){e.setTime(+e+t)}),(function(e,t){return t-e}));wD.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?_D((function(t){t.setTime(Math.floor(t/e)*e)}),(function(t,n){t.setTime(+t+n*e)}),(function(t,n){return(n-t)/e})):wD:null},wD.range;var xD=1e3,CD=6e4,kD=36e5,MD=6048e5,SD=_D((function(e){e.setTime(e-e.getMilliseconds())}),(function(e,t){e.setTime(+e+t*xD)}),(function(e,t){return(t-e)/xD}),(function(e){return e.getUTCSeconds()}));SD.range;var TD=_D((function(e){e.setTime(e-e.getMilliseconds()-e.getSeconds()*xD)}),(function(e,t){e.setTime(+e+t*CD)}),(function(e,t){return(t-e)/CD}),(function(e){return e.getMinutes()}));TD.range;var AD=_D((function(e){e.setTime(e-e.getMilliseconds()-e.getSeconds()*xD-e.getMinutes()*CD)}),(function(e,t){e.setTime(+e+t*kD)}),(function(e,t){return(t-e)/kD}),(function(e){return e.getHours()}));function ED(e){return _D((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())*CD)/MD}))}AD.range;var OD=ED(0),PD=ED(1),DD=ED(2),jD=ED(3),ND=ED(4),LD=ED(5),FD=ED(6);OD.range,PD.range,DD.range,jD.range,ND.range,LD.range,FD.range;var RD=_D((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()}));RD.range;var BD=_D((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()}));BD.every=function(e){return isFinite(e=Math.floor(e))&&e>0?_D((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},BD.range;var $D=_D((function(e){e.setUTCSeconds(0,0)}),(function(e,t){e.setTime(+e+t*CD)}),(function(e,t){return(t-e)/CD}),(function(e){return e.getUTCMinutes()}));$D.range;var zD=_D((function(e){e.setUTCMinutes(0,0,0)}),(function(e,t){e.setTime(+e+t*kD)}),(function(e,t){return(t-e)/kD}),(function(e){return e.getUTCHours()}));function ID(e){return _D((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)/MD}))}zD.range;var UD=ID(0),HD=ID(1),VD=ID(2),WD=ID(3),YD=ID(4),qD=ID(5),ZD=ID(6);UD.range,HD.range,VD.range,WD.range,YD.range,qD.range,ZD.range;var GD=_D((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()}));GD.range;var XD=_D((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 QD(){return QD=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},QD.apply(this,arguments)}XD.every=function(e){return isFinite(e=Math.floor(e))&&e>0?_D((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},XD.range;var JD=[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)}],KD={millisecond:[],second:JD.slice(0,1),minute:JD.slice(0,2),hour:JD.slice(0,3),day:JD.slice(0,4),month:JD.slice(0,5),year:JD.slice(0,6)},ej=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 KD[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?AS(n):TS(n);return s(t(e))}},tj=function(e,t,n,r){var i,o,a,s,c=e.min,l=void 0===c?0:c,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,m=e.clamp,b=void 0!==m&&m,v=e.nice,y=void 0!==v&&v;i="auto"===l?!0===h?null!=(o=t.minStacked)?o:0:t.min:l,a="auto"===f?!0===h?null!=(s=t.maxStacked)?s:0:t.max:f;var _=aw().rangeRound("x"===r?[0,n]:[n,0]).domain(g?[a,i]:[i,a]).clamp(b);return!0===y?_.nice():"number"==typeof y&&_.nice(y),nj(_,h)},nj=function(e,t){void 0===t&&(t=!1);var n=e;return n.type="linear",n.stacked=t,n},rj=function(e){var t=e;return t.type="band",t},ij=function(e,t,n){var r,i,o=e.format,a=void 0===o?"native":o,s=e.precision,c=void 0===s?"millisecond":s,l=e.min,u=void 0===l?"auto":l,f=e.max,d=void 0===f?"auto":f,h=e.useUTC,p=void 0===h||h,g=e.nice,m=void 0!==g&&g,b=ej({format:a,precision:c,useUTC:p});r="auto"===u?b(t.min):"native"!==a?b(u):u,i="auto"===d?b(t.max):"native"!==a?b(d):d;var v=p?function(){return A_.apply(NC(ox,ax,rx,tx,qw,Fw,Nw,Dw,Ow,px).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)}():function(){return A_.apply(NC(sx,cx,nx,ex,$w,Lw,jw,Pw,Ow,hx).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}();v.range([0,n]),r&&i&&v.domain([r,i]),!0===m?v.nice():"object"!=typeof m&&"number"!=typeof m||v.nice(m);var y=v;return y.type="time",y.useUTC=p,y},oj=function(e,t,n,r){var i,o=e.base,a=void 0===o?10:o,s=e.min,c=void 0===s?"auto":s,l=e.max,u=void 0===l?"auto":l;if(t.all.some((function(e){return 0===e})))throw new Error("a log scale domain must not include or cross zero");var 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"===c?t.min:c,d="auto"===u?t.max:u;var p=gw().domain([f,d]).rangeRound("x"===r?[0,n]:[n,0]).base(a).nice();return p.type="log",p},aj=function(e,t){return e===t},sj=function(e,t){return e.getTime()===t.getTime()};function cj(e,t,n,r){switch(e.type){case"linear":return tj(e,t,n,r);case"point":return function(e,t,n){var r=j_().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,a=P_().range("x"===r?[0,n]:[n,0]).domain(t.all).round(o);return rj(a)}(e,t,n,r);case"time":return ij(e,t,n);case"log":return oj(e,t,n,r);case"symlog":return function(e,t,n,r){var i,o,a=e.constant,s=void 0===a?1:a,c=e.min,l=void 0===c?"auto":c,u=e.max,f=void 0===u?"auto":u,d=e.reverse,h=void 0!==d&&d;i="auto"===l?t.min:l,o="auto"===f?t.max:f;var p=vw().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 lj=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},uj=function(e,t,n){return{x:fj(e,"x",t),y:fj(e,"y",n)}},fj=function(e,t,n,r){var i={},o=i.getValue,a=void 0===o?function(e){return e.data[t]}:o,s=i.setValue,c=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&&c(e,parseFloat(String(t)))}))}));else if("time"===n.type&&"native"!==n.format){var l=ej(n);e.forEach((function(e){e.data.forEach((function(e){var t=a(e);t&&c(e,l(t))}))}))}var u=[];switch(e.forEach((function(e){e.data.forEach((function(e){u.push(a(e))}))})),n.type){case"linear":var f=mD(RP(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=cD(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:d_(d)};default:var h=RP(u);return{all:h,min:h[0],max:d_(h)}}},dj=function(e,t,n){var r=function(e){return"x"===e?"y":"x"}(e),i=[];t[r].all.forEach((function(t){var o=bD(t)?sj:aj,a=[];n.forEach((function(n){var s=n.data.find((function(e){return o(e.data[r],t)})),c=null,l=null;if(void 0!==s){if(null!==(c=s.data[e])){var u=d_(a);void 0===u?l=c:null!==u&&(l=u+c)}s.data["x"===e?"xStacked":"yStacked"]=l}a.push(l),null!==l&&i.push(l)}))})),t[e].minStacked=Math.min.apply(Math,i),t[e].maxStacked=Math.max.apply(Math,i)},hj=function(e,t){return dj("x",e,t)},pj=function(e,t){return dj("y",e,t)},gj=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}},mj={millisecond:[wD,wD],second:[SD,SD],minute:[TD,$D],hour:[AD,zD],day:[_D((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)})),_D((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:[OD,UD],sunday:[OD,UD],monday:[PD,HD],tuesday:[DD,VD],wednesday:[jD,WD],thursday:[ND,YD],friday:[LD,qD],saturday:[FD,ZD],month:[RD,GD],year:[BD,XD]},bj=Object.keys(mj),vj=new RegExp("^every\\s*(\\d+)?\\s*("+bj.join("|")+")s?$","i"),yj=function(e,t){if(Array.isArray(t))return t;if("string"==typeof t&&"useUTC"in e){var n=t.match(vj);if(n){var r=n[1],i=n[2],o=mj[i][e.useUTC?1:0];if("day"===i){var a,s,c=e.domain(),l=c[0],u=c[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(l,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 _j(){return _j=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},_j.apply(this,arguments)}var wj=function(e){var t,n=e.axis,r=e.scale,i=e.ticksPosition,o=e.tickValues,a=e.tickSize,s=e.tickPadding,c=e.tickRotation,l=e.truncateTickAt,u=e.engine,f=void 0===u?"svg":u,d=yj(r,o),h=uO[f],p="bandwidth"in r?gj(r):r,g={lineX:0,lineY:0},m={textX:0,textY:0},b="object"==typeof document&&"rtl"===document.dir,v=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),m.textY=(a+s)*("after"===i?1:-1),y="after"===i?h.baseline.top:h.baseline.bottom,0===c?v=h.align.center:"after"===i&&c<0||"before"===i&&c>0?(v=h.align[b?"left":"right"],y=h.baseline.center):("after"===i&&c>0||"before"===i&&c<0)&&(v=h.align[b?"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),m.textX=(a+s)*("after"===i?1:-1),v="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 l&&l>0&&t>l?""+String(e).slice(0,l).concat("..."):""+e}(e):e;return _j({key:e instanceof Date?""+e.valueOf():""+e,value:n},t(e),g,m)})),textAlign:v,textBaseline:y}},xj=function(e,t){if(void 0===e||"function"==typeof e)return e;if("time"===t.type){var n=SS(e);return function(e){return n(e instanceof Date?e:new Date(e))}}return YM(e)},Cj=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)||yj(i,a)),c="bandwidth"in i?gj(i):i,l="x"===o?s.map((function(e){var t,n;return{key:e instanceof Date?""+e.valueOf():""+e,x1:null!=(t=c(e))?t:0,x2:null!=(n=c(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=c(e))?t:0,y2:null!=(r=c(e))?r:0}}));return l},kj=x((function(e){var t,n=e.value,r=e.format,i=e.lineX,o=e.lineY,a=e.onClick,s=e.textBaseline,c=e.textAnchor,l=e.animatedProps,u=qE(),f=u.axis.ticks.line,d=u.axis.ticks.text,h=null!=(t=null==r?void 0:r(n))?t:n,p=w((function(){var e={opacity:l.opacity};return a?{style:_j({},e,{cursor:"pointer"}),onClick:function(e){return a(e,h)}}:{style:e}}),[l.opacity,a,h]);return O(hh.g,_j({transform:l.transform},p,{children:[O("line",{x1:0,x2:i,y1:0,y2:o,style:f}),d.outlineWidth>0&&O(hh.text,{dominantBaseline:s,textAnchor:c,transform:l.textTransform,style:d,strokeWidth:2*d.outlineWidth,stroke:d.outlineColor,strokeLinejoin:"round",children:""+h}),O(hh.text,{dominantBaseline:s,textAnchor:c,transform:l.textTransform,style:GE(d),children:""+h})]}))})),Mj=x((function(e){var t=e.axis,r=e.scale,i=e.x,o=void 0===i?0:i,a=e.y,s=void 0===a?0:a,c=e.length,l=e.ticksPosition,u=e.tickValues,f=e.tickSize,d=void 0===f?5:f,p=e.tickPadding,g=void 0===p?5:p,m=e.tickRotation,b=void 0===m?0:m,v=e.format,_=e.renderTick,x=void 0===_?kj:_,C=e.truncateTickAt,k=e.legend,M=e.legendPosition,S=void 0===M?"end":M,T=e.legendOffset,A=void 0===T?0:T,E=e.onClick,P=e.ariaHidden,D=qE(),j=D.axis.legend.text,N=w((function(){return xj(v,r)}),[v,r]),L=wj({axis:t,scale:r,ticksPosition:l,tickValues:u,tickSize:d,tickPadding:g,tickRotation:b,truncateTickAt:C}),F=L.ticks,R=L.textAlign,B=L.textBaseline,$=null;if(void 0!==k){var z,I=0,U=0,H=0;"y"===t?(H=-90,I=A,"start"===S?(z="start",U=c):"middle"===S?(z="middle",U=c/2):"end"===S&&(z="end")):(U=A,"start"===S?z="start":"middle"===S?(z="middle",I=c/2):"end"===S&&(z="end",I=c)),$=O(n,{children:[j.outlineWidth>0&&O("text",{transform:"translate("+I+", "+U+") rotate("+H+")",textAnchor:z,style:_j({dominantBaseline:"central"},j),strokeWidth:2*j.outlineWidth,stroke:j.outlineColor,strokeLinejoin:"round",children:k}),O("text",{transform:"translate("+I+", "+U+") rotate("+H+")",textAnchor:z,style:_j({dominantBaseline:"central"},j),children:k})]})}var V=jE(),W=V.animate,Y=V.config,q=qd({transform:"translate("+o+","+s+")",lineX2:"x"===t?c:0,lineY2:"x"===t?0:c,config:Y,immediate:!W}),Z=y((function(e){return{opacity:1,transform:"translate("+e.x+","+e.y+")",textTransform:"translate("+e.textX+","+e.textY+") rotate("+b+")"}}),[b]),G=y((function(e){return{opacity:0,transform:"translate("+e.x+","+e.y+")",textTransform:"translate("+e.textX+","+e.textY+") rotate("+b+")"}}),[b]),X=Zd(F,{keys:function(e){return e.key},initial:Z,from:G,enter:Z,update:Z,leave:{opacity:0},config:Y,immediate:!W});return O(hh.g,{transform:q.transform,"aria-hidden":P,children:[X((function(e,t,n,r){return h.createElement(x,_j({tickIndex:r,format:N,rotate:b,textBaseline:B,textAnchor:R,truncateTickAt:C,animatedProps:e},t,E?{onClick:E}:{}))})),O(hh.line,{style:D.axis.domain.line,x1:0,x2:q.lineX2,y1:0,y2:q.lineY2}),$]})})),Sj=["top","right","bottom","left"],Tj=x((function(e){var t=e.xScale,r=e.yScale,i=e.width,o=e.height,a={top:e.top,right:e.right,bottom:e.bottom,left:e.left};return O(n,{children:Sj.map((function(e){var n=a[e];if(!n)return null;var s="top"===e||"bottom"===e;return O(Mj,_j({},n,{axis:s?"x":"y",x:"right"===e?i:0,y:"bottom"===e?o:0,scale:s?t:r,length:s?i:o,ticksPosition:"top"===e||"left"===e?"before":"after",truncateTickAt:n.truncateTickAt}),e)}))})})),Aj=x((function(e){var t=e.animatedProps,n=qE();return O(hh.line,_j({},t,n.grid.line))})),Ej=x((function(e){var t=e.lines,n=jE(),r=n.animate,i=Zd(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 O("g",{children:i((function(e,t){return k(Aj,_j({},t,{key:t.key,animatedProps:e}))}))})})),Oj=x((function(e){var t=e.width,r=e.height,i=e.xScale,o=e.yScale,a=e.xValues,s=e.yValues,c=w((function(){return!!i&&Cj({width:t,height:r,scale:i,axis:"x",values:a})}),[i,a,t,r]),l=w((function(){return!!o&&Cj({width:t,height:r,scale:o,axis:"y",values:s})}),[r,t,o,s]);return O(n,{children:[c&&O(Ej,{lines:c}),l&&O(Ej,{lines:l})]})})),Pj=function(e,t){var n=t.xScale,r=t.yScale,i=t.width,o=t.height,a=t.top,s=t.right,c=t.bottom,l=t.left,u=t.theme,f={top:a,right:s,bottom:c,left:l};Sj.forEach((function(t){var a=f[t];if(!a)return null;var s="top"===t||"bottom"===t,c="top"===t||"left"===t?"before":"after",l=s?n:r,d=xj(a.format,l);!function(e,t){var n,r=t.axis,i=t.scale,o=t.x,a=void 0===o?0:o,s=t.y,c=void 0===s?0:s,l=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,m=t.tickRotation,b=void 0===m?0:m,v=t.format,y=t.legend,_=t.legendPosition,w=void 0===_?"end":_,x=t.legendOffset,C=void 0===x?0:x,k=t.theme,M=wj({axis:r,scale:i,ticksPosition:u,tickValues:f,tickSize:h,tickPadding:g,tickRotation:b,engine:"canvas"}),S=M.ticks,T=M.textAlign,A=M.textBaseline;e.save(),e.translate(a,c),e.textAlign=T,e.textBaseline=A;var E=k.axis.ticks.text;e.font=(E.fontWeight?E.fontWeight+" ":"")+E.fontSize+"px "+E.fontFamily,(null!=(n=k.axis.domain.line.strokeWidth)?n:0)>0&&(e.lineWidth=Number(k.axis.domain.line.strokeWidth),e.lineCap="square",k.axis.domain.line.stroke&&(e.strokeStyle=k.axis.domain.line.stroke),e.beginPath(),e.moveTo(0,0),e.lineTo("x"===r?l:0,"x"===r?0:l),e.stroke());var O="function"==typeof v?v:function(e){return""+e};if(S.forEach((function(t){var n;(null!=(n=k.axis.ticks.line.strokeWidth)?n:0)>0&&(e.lineWidth=Number(k.axis.ticks.line.strokeWidth),e.lineCap="square",k.axis.ticks.line.stroke&&(e.strokeStyle=k.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=O(t.value);e.save(),e.translate(t.x+t.textX,t.y+t.textY),e.rotate(lO(b)),E.outlineWidth>0&&(e.strokeStyle=E.outlineColor,e.lineWidth=2*E.outlineWidth,e.lineJoin="round",e.strokeText(""+r,0,0)),k.axis.ticks.text.fill&&(e.fillStyle=E.fill),e.fillText(""+r,0,0),e.restore()})),void 0!==y){var P=0,D=0,j=0,N="center";"y"===r?(j=-90,P=C,"start"===w?(N="start",D=l):"middle"===w?(N="center",D=l/2):"end"===w&&(N="end")):(D=C,"start"===w?N="start":"middle"===w?(N="center",P=l/2):"end"===w&&(N="end",P=l)),e.translate(P,D),e.rotate(lO(j)),e.font=(k.axis.legend.text.fontWeight?k.axis.legend.text.fontWeight+" ":"")+k.axis.legend.text.fontSize+"px "+k.axis.legend.text.fontFamily,k.axis.legend.text.fill&&(e.fillStyle=k.axis.legend.text.fill),e.textAlign=N,e.textBaseline="middle",e.fillText(y,0,0)}e.restore()}(e,_j({},a,{axis:s?"x":"y",x:"right"===t?i:0,y:"bottom"===t?o:0,scale:l,format:d,length:s?i:o,ticksPosition:c,theme:u}))}))},Dj=function(e,t){var n=t.width,r=t.height,i=t.scale,o=t.axis,a=t.values;Cj({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 jj(){return jj=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},jj.apply(this,arguments)}var Nj,Lj,Fj={top:0,right:0,bottom:0,left:0},Rj=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 c="number"==typeof i?{top:i,right:i,bottom:i,left:i}:jj({},Fj,i),l=c.left+c.right,u=c.top+c.bottom,f=a+l,d=s+u,h=(o-1)*r;return"row"===n?f=a*o+h+l:"column"===n&&(d=s*o+h+u),{width:f,height:d,padding:c}},Bj=function(e){var t=e.anchor,n=e.translateX,r=e.translateY,i=e.containerWidth,o=e.containerHeight,a=e.width,s=e.height,c=n,l=r;switch(t){case"top":c+=(i-a)/2;break;case"top-right":c+=i-a;break;case"right":c+=i-a,l+=(o-s)/2;break;case"bottom-right":c+=i-a,l+=o-s;break;case"bottom":c+=(i-a)/2,l+=o-s;break;case"bottom-left":l+=o-s;break;case"left":l+=(o-s)/2;break;case"center":c+=(i-a)/2,l+=(o-s)/2}return{x:c,y:l}},$j=function(e){var t,n,r,i,o,a,s=e.direction,c=e.justify,l=e.symbolSize,u=e.symbolSpacing,f=e.width,d=e.height;switch(s){case"left-to-right":t=0,n=(d-l)/2,i=d/2,a="central",c?(r=f,o="end"):(r=l+u,o="start");break;case"right-to-left":t=f-l,n=(d-l)/2,i=d/2,a="central",c?(r=0,o="start"):(r=f-l-u,o="end");break;case"top-to-bottom":t=(f-l)/2,n=0,r=f/2,o="middle",c?(i=d,a="alphabetic"):(i=l+u,a="text-before-edge");break;case"bottom-to-top":t=(f-l)/2,n=d-l,r=f/2,o="middle",c?(i=0,a="text-before-edge"):(i=d-l-u,a="alphabetic")}return{symbolX:t,symbolY:n,labelX:r,labelY:i,labelAnchor:o,labelAlignment:a}},zj={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,c=void 0===s?0:s,l=e.borderColor;return O("circle",{r:r/2,cx:t+r/2,cy:n+r/2,fill:i,opacity:a,strokeWidth:c,stroke:void 0===l?"transparent":l,style:{pointerEvents:"none"}})},diamond:function(e){var t=e.x,n=e.y,r=e.size,i=e.fill,o=e.opacity,a=void 0===o?1:o,s=e.borderWidth,c=void 0===s?0:s,l=e.borderColor;return O("g",{transform:"translate("+t+","+n+")",children:O("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:c,stroke:void 0===l?"transparent":l,style:{pointerEvents:"none"}})})},square:function(e){var t=e.x,n=e.y,r=e.size,i=e.fill,o=e.opacity,a=void 0===o?1:o,s=e.borderWidth,c=void 0===s?0:s,l=e.borderColor;return O("rect",{x:t,y:n,fill:i,opacity:a,strokeWidth:c,stroke:void 0===l?"transparent":l,width:r,height:r,style:{pointerEvents:"none"}})},triangle:function(e){var t=e.x,n=e.y,r=e.size,i=e.fill,o=e.opacity,a=void 0===o?1:o,s=e.borderWidth,c=void 0===s?0:s,l=e.borderColor;return O("g",{transform:"translate("+t+","+n+")",children:O("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:c,stroke:void 0===l?"transparent":l,style:{pointerEvents:"none"}})})}},Ij=function(e){var t,n,r,i,o,a,s,c,l,u,f,d=e.x,p=e.y,g=e.width,b=e.height,v=e.data,_=e.direction,w=void 0===_?"left-to-right":_,x=e.justify,C=void 0!==x&&x,k=e.textColor,M=e.background,S=void 0===M?"transparent":M,T=e.opacity,A=void 0===T?1:T,E=e.symbolShape,P=void 0===E?"square":E,D=e.symbolSize,j=void 0===D?16:D,N=e.symbolSpacing,L=void 0===N?8:N,F=e.symbolBorderWidth,R=void 0===F?0:F,B=e.symbolBorderColor,$=void 0===B?"transparent":B,z=e.onClick,I=e.onMouseEnter,U=e.onMouseLeave,H=e.toggleSerie,V=e.effects,W=m({}),Y=W[0],q=W[1],Z=qE(),G=y((function(e){if(V){var t=V.filter((function(e){return"hover"===e.on})).reduce((function(e,t){return jj({},e,t.style)}),{});q(t)}null==I||I(v,e)}),[I,v,V]),X=y((function(e){if(V){var t=V.filter((function(e){return"hover"!==e.on})).reduce((function(e,t){return jj({},e,t.style)}),{});q(t)}null==U||U(v,e)}),[U,v,V]),Q=$j({direction:w,justify:C,symbolSize:null!=(t=Y.symbolSize)?t:j,symbolSpacing:L,width:g,height:b}),J=Q.symbolX,K=Q.symbolY,ee=Q.labelX,te=Q.labelY,ne=Q.labelAnchor,re=Q.labelAlignment,ie=[z,I,U,H].some((function(e){return void 0!==e})),oe="function"==typeof P?P:zj[P];return O("g",{transform:"translate("+d+","+p+")",style:{opacity:null!=(n=Y.itemOpacity)?n:A},children:[O("rect",{width:g,height:b,fill:null!=(r=Y.itemBackground)?r:S,style:{cursor:ie?"pointer":"auto"},onClick:function(e){null==z||z(v,e),null==H||H(v.id)},onMouseEnter:G,onMouseLeave:X}),h.createElement(oe,jj({id:v.id,x:J,y:K,size:null!=(i=Y.symbolSize)?i:j,fill:null!=(o=null!=(a=v.fill)?a:v.color)?o:"black",borderWidth:null!=(s=Y.symbolBorderWidth)?s:R,borderColor:null!=(c=Y.symbolBorderColor)?c:$},v.hidden?Z.legends.hidden.symbol:void 0)),O("text",{textAnchor:ne,style:jj({},GE(Z.legends.text),{fill:null!=(l=null!=(u=null!=(f=Y.itemTextColor)?f:k)?u:Z.legends.text.fill)?l:"black",dominantBaseline:re,pointerEvents:"none",userSelect:"none"},v.hidden?Z.legends.hidden.text:void 0),x:ee,y:te,children:v.label})]})},Uj=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,c=e.effects,l=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,m=e.itemBackground,b=void 0===m?"transparent":m,v=e.itemOpacity,y=void 0===v?1:v,_=e.symbolShape,w=e.symbolSize,x=e.symbolSpacing,C=e.symbolBorderWidth,k=e.symbolBorderColor,M=e.onClick,S=e.onMouseEnter,T=e.onMouseLeave,A=e.toggleSerie,E=Rj({itemCount:t.length,itemWidth:l,itemHeight:u,itemsSpacing:p,direction:i,padding:a}).padding,P="row"===i?l+p:0,D="column"===i?u+p:0;return O("g",{transform:"translate("+n+","+r+")",children:t.map((function(e,t){return O(Ij,{data:e,x:t*P+E.left,y:t*D+E.top,width:l,height:u,direction:d,justify:s,effects:c,textColor:g,background:b,opacity:y,symbolShape:_,symbolSize:w,symbolSpacing:x,symbolBorderWidth:C,symbolBorderColor:k,onClick:M,onMouseEnter:S,onMouseLeave:T,toggleSerie:A},t)}))})},Hj=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,c=e.anchor,l=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,m=e.itemHeight,b=e.itemDirection,v=e.itemTextColor,y=e.itemBackground,_=e.itemOpacity,w=e.symbolShape,x=e.symbolSize,C=e.symbolSpacing,k=e.symbolBorderWidth,M=e.symbolBorderColor,S=e.onClick,T=e.onMouseEnter,A=e.onMouseLeave,E=e.toggleSerie,P=e.effects,D=Rj({itemCount:t.length,itemsSpacing:p,itemWidth:g,itemHeight:m,direction:l,padding:f}),j=D.width,N=D.height,L=Bj({anchor:c,translateX:o,translateY:s,containerWidth:n,containerHeight:r,width:j,height:N}),F=L.x,R=L.y;return O(Uj,{data:t,x:F,y:R,direction:l,padding:f,justify:d,effects:P,itemsSpacing:p,itemWidth:g,itemHeight:m,itemDirection:b,itemTextColor:v,itemBackground:y,itemOpacity:_,symbolShape:w,symbolSize:x,symbolSpacing:C,symbolBorderWidth:k,symbolBorderColor:M,onClick:S,onMouseEnter:T,onMouseLeave:A,toggleSerie:"boolean"==typeof E?void 0:E})},Vj={start:"left",middle:"center",end:"right"},Wj=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,c=void 0===s?0:s,l=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,m=void 0===g?0:g,b=t.itemWidth,v=t.itemHeight,y=t.itemDirection,_=void 0===y?"left-to-right":y,w=t.itemTextColor,x=t.symbolSize,C=void 0===x?16:x,k=t.symbolSpacing,M=void 0===k?8:k,S=t.theme,T=Rj({itemCount:n.length,itemWidth:b,itemHeight:v,itemsSpacing:m,direction:u,padding:d}),A=T.width,E=T.height,O=T.padding,P=Bj({anchor:l,translateX:a,translateY:c,containerWidth:r,containerHeight:i,width:A,height:E}),D=P.x,j=P.y,N="row"===u?b+m:0,L="column"===u?v+m:0;e.save(),e.translate(D,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+O.left,a=n*L+O.top,s=$j({direction:_,justify:p,symbolSize:C,symbolSpacing:M,width:b,height:v}),c=s.symbolX,l=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+c,a+l,C,C),e.textAlign=Vj[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()};var Yj=function(){if(Lj)return Nj;Lj=1;var e=Lv(),t=0;return Nj=function(n){var r=++t;return e(n)+r},Nj}(),qj=vo(Yj);const Zj=134217729;function Gj(e,t,n,r,i){let o,a,s,c,l=t[0],u=r[0],f=0,d=0;u>l==u>-l?(o=l,l=t[++f]):(o=u,u=r[++d]);let h=0;if(f<e&&d<n)for(u>l==u>-l?(a=l+o,s=o-(a-l),l=t[++f]):(a=u+o,s=o-(a-u),u=r[++d]),o=a,0!==s&&(i[h++]=s);f<e&&d<n;)u>l==u>-l?(a=o+l,c=a-o,s=o-(a-c)+(l-c),l=t[++f]):(a=o+u,c=a-o,s=o-(a-c)+(u-c),u=r[++d]),o=a,0!==s&&(i[h++]=s);for(;f<e;)a=o+l,c=a-o,s=o-(a-c)+(l-c),l=t[++f],o=a,0!==s&&(i[h++]=s);for(;d<n;)a=o+u,c=a-o,s=o-(a-c)+(u-c),u=r[++d],o=a,0!==s&&(i[h++]=s);return 0===o&&0!==h||(i[h++]=o),h}function Xj(e){return new Float64Array(e)}const Qj=Xj(4),Jj=Xj(8),Kj=Xj(12),eN=Xj(16),tN=Xj(4);function nN(e,t,n,r,i,o){const a=(t-o)*(n-i),s=(e-i)*(r-o),c=a-s,l=Math.abs(a+s);return Math.abs(c)>=33306690738754716e-32*l?c:-function(e,t,n,r,i,o,a){let s,c,l,u,f,d,h,p,g,m,b,v,y,_,w,x,C,k;const M=e-i,S=n-i,T=t-o,A=r-o;_=M*A,d=Zj*M,h=d-(d-M),p=M-h,d=Zj*A,g=d-(d-A),m=A-g,w=p*m-(_-h*g-p*g-h*m),x=T*S,d=Zj*T,h=d-(d-T),p=T-h,d=Zj*S,g=d-(d-S),m=S-g,C=p*m-(x-h*g-p*g-h*m),b=w-C,f=w-b,Qj[0]=w-(b+f)+(f-C),v=_+b,f=v-_,y=_-(v-f)+(b-f),b=y-x,f=y-b,Qj[1]=y-(b+f)+(f-x),k=v+b,f=k-v,Qj[2]=v-(k-f)+(b-f),Qj[3]=k;let E=function(e,t){let n=t[0];for(let r=1;r<e;r++)n+=t[r];return n}(4,Qj),O=22204460492503146e-32*a;if(E>=O||-E>=O)return E;if(f=e-M,s=e-(M+f)+(f-i),f=n-S,l=n-(S+f)+(f-i),f=t-T,c=t-(T+f)+(f-o),f=r-A,u=r-(A+f)+(f-o),0===s&&0===c&&0===l&&0===u)return E;if(O=11093356479670487e-47*a+33306690738754706e-32*Math.abs(E),E+=M*u+A*s-(T*l+S*c),E>=O||-E>=O)return E;_=s*A,d=Zj*s,h=d-(d-s),p=s-h,d=Zj*A,g=d-(d-A),m=A-g,w=p*m-(_-h*g-p*g-h*m),x=c*S,d=Zj*c,h=d-(d-c),p=c-h,d=Zj*S,g=d-(d-S),m=S-g,C=p*m-(x-h*g-p*g-h*m),b=w-C,f=w-b,tN[0]=w-(b+f)+(f-C),v=_+b,f=v-_,y=_-(v-f)+(b-f),b=y-x,f=y-b,tN[1]=y-(b+f)+(f-x),k=v+b,f=k-v,tN[2]=v-(k-f)+(b-f),tN[3]=k;const P=Gj(4,Qj,4,tN,Jj);_=M*u,d=Zj*M,h=d-(d-M),p=M-h,d=Zj*u,g=d-(d-u),m=u-g,w=p*m-(_-h*g-p*g-h*m),x=T*l,d=Zj*T,h=d-(d-T),p=T-h,d=Zj*l,g=d-(d-l),m=l-g,C=p*m-(x-h*g-p*g-h*m),b=w-C,f=w-b,tN[0]=w-(b+f)+(f-C),v=_+b,f=v-_,y=_-(v-f)+(b-f),b=y-x,f=y-b,tN[1]=y-(b+f)+(f-x),k=v+b,f=k-v,tN[2]=v-(k-f)+(b-f),tN[3]=k;const D=Gj(P,Jj,4,tN,Kj);_=s*u,d=Zj*s,h=d-(d-s),p=s-h,d=Zj*u,g=d-(d-u),m=u-g,w=p*m-(_-h*g-p*g-h*m),x=c*l,d=Zj*c,h=d-(d-c),p=c-h,d=Zj*l,g=d-(d-l),m=l-g,C=p*m-(x-h*g-p*g-h*m),b=w-C,f=w-b,tN[0]=w-(b+f)+(f-C),v=_+b,f=v-_,y=_-(v-f)+(b-f),b=y-x,f=y-b,tN[1]=y-(b+f)+(f-x),k=v+b,f=k-v,tN[2]=v-(k-f)+(b-f),tN[3]=k;const j=Gj(D,Kj,4,tN,eN);return eN[j-1]}(e,t,n,r,i,o,l)}const rN=Math.pow(2,-52),iN=new Uint32Array(512);class oN{static from(e,t=fN,n=dN){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 oN(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,c=-1/0,l=-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>c&&(c=n),r>l&&(l=r),this._ids[t]=t}const u=(a+c)/2,f=(s+l)/2;let d,h,p;for(let t=0,n=1/0;t<o;t++){const r=aN(u,f,e[2*t],e[2*t+1]);r<n&&(d=t,n=r)}const g=e[2*d],m=e[2*d+1];for(let t=0,n=1/0;t<o;t++){if(t===d)continue;const r=aN(g,m,e[2*t],e[2*t+1]);r<n&&r>0&&(h=t,n=r)}let b=e[2*h],v=e[2*h+1],y=1/0;for(let t=0;t<o;t++){if(t===d||t===h)continue;const n=cN(g,m,b,v,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];lN(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(nN(g,m,b,v,_,w)<0){const e=h,t=b,n=v;h=p,b=_,v=w,p=e,_=t,w=n}const x=function(e,t,n,r,i,o){const a=n-e,s=r-t,c=i-e,l=o-t,u=a*a+s*s,f=c*c+l*l,d=.5/(a*l-s*c),h=e+(l*u-s*f)*d,p=t+(a*f-c*u)*d;return{x:h,y:p}}(g,m,b,v,_,w);this._cx=x.x,this._cy=x.y;for(let t=0;t<o;t++)this._dists[t]=aN(e[2*t],e[2*t+1],x.x,x.y);lN(this._ids,this._dists,0,o-1),this._hullStart=d;let C=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,m)]=d,i[this._hashKey(b,v)]=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 c=this._ids[s],l=e[2*c],u=e[2*c+1];if(s>0&&Math.abs(l-o)<=rN&&Math.abs(u-a)<=rN)continue;if(o=l,a=u,c===d||c===h||c===p)continue;let f=0;for(let e=0,t=this._hashKey(l,u);e<this._hashSize&&(f=i[(t+e)%this._hashSize],-1===f||f===n[f]);e++);f=t[f];let g,m=f;for(;g=n[m],nN(l,u,e[2*m],e[2*m+1],e[2*g],e[2*g+1])>=0;)if(m=g,m===f){m=-1;break}if(-1===m)continue;let b=this._addTriangle(m,c,n[m],-1,-1,r[m]);r[c]=this._legalize(b+2),r[m]=b,C++;let v=n[m];for(;g=n[v],nN(l,u,e[2*v],e[2*v+1],e[2*g],e[2*g+1])<0;)b=this._addTriangle(v,c,g,r[c],-1,r[v]),r[c]=this._legalize(b+2),n[v]=v,C--,v=g;if(m===f)for(;g=t[m],nN(l,u,e[2*g],e[2*g+1],e[2*m],e[2*m+1])<0;)b=this._addTriangle(g,c,m,-1,r[m],r[g]),this._legalize(b+2),r[g]=b,n[m]=m,C--,m=g;this._hullStart=t[c]=m,n[m]=t[v]=c,n[c]=v,i[this._hashKey(l,u)]=c,i[this._hashKey(e[2*m],e[2*m+1])]=m}this.hull=new Uint32Array(C);for(let e=0,t=this._hullStart;e<C;e++)this.hull[e]=t,t=n[t];this.triangles=this._triangles.subarray(0,this.trianglesLen),this.halfedges=this._halfedges.subarray(0,this.trianglesLen)}_hashKey(e,t){return Math.floor(function(e,t){const n=e/(Math.abs(e)+Math.abs(t));return(t>0?3-n:1+n)/4}(e-this._cx,t-this._cy)*this._hashSize)%this._hashSize}_legalize(e){const{_triangles:t,_halfedges:n,coords:r}=this;let i=0,o=0;for(;;){const a=n[e],s=e-e%3;if(o=s+(e+2)%3,-1===a){if(0===i)break;e=iN[--i];continue}const c=a-a%3,l=s+(e+1)%3,u=c+(a+2)%3,f=t[o],d=t[e],h=t[l],p=t[u];if(sN(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=c+(a+1)%3;i<iN.length&&(iN[i++]=s)}else{if(0===i)break;e=iN[--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 aN(e,t,n,r){const i=e-n,o=t-r;return i*i+o*o}function sN(e,t,n,r,i,o,a,s){const c=e-a,l=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 c*(f*g-p*h)-l*(u*g-p*d)+(c*c+l*l)*(u*h-f*d)<0}function cN(e,t,n,r,i,o){const a=n-e,s=r-t,c=i-e,l=o-t,u=a*a+s*s,f=c*c+l*l,d=.5/(a*l-s*c),h=(l*u-s*f)*d,p=(a*f-c*u)*d;return h*h+p*p}function lN(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;uN(e,n+r>>1,i),t[e[n]]>t[e[r]]&&uN(e,n,r),t[e[i]]>t[e[r]]&&uN(e,i,r),t[e[n]]>t[e[i]]&&uN(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;uN(e,i,o)}e[n+1]=e[o],e[o]=a,r-i+1>=o-n?(lN(e,t,i,r),lN(e,t,n,o-1)):(lN(e,t,n,o-1),lN(e,t,i,r))}}function uN(e,t,n){const r=e[t];e[t]=e[n],e[n]=r}function fN(e){return e[0]}function dN(e){return e[1]}const hN=1e-6;class pN{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)>hN||Math.abs(this._y1-i)>hN)&&(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 gN{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 mN{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,c=0,l=0,u=n.length;c<u;c+=3,l+=2){const u=2*n[c],f=2*n[c+1],d=2*n[c+2],h=e[u],p=e[u+1],g=e[f],m=e[f+1],b=e[d],v=e[d+1],y=g-h,_=m-p,w=b-h,x=v-p,C=2*(y*x-_*w);if(Math.abs(C)<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+b)/2-n*x,s=(p+v)/2+n*w}else{const e=1/C,t=y*y+_*_,n=w*w+x*x;r=h+(x*t-_*n)*e,s=p+(y*n-w*t)*e}a[l]=r,a[l+1]=s}let s,c,l,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,c=d,l=h,f=4*u,d=e[2*u],h=e[2*u+1],r[s+2]=r[f]=l-h,r[s+3]=r[f+1]=d-c}render(e){const t=null==e?e=new pN: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],c=o[i+1],l=o[a],u=o[a+1];this._renderSegment(s,c,l,u,e)}let s,c=i[i.length-1];for(let t=0;t<i.length;++t){s=c,c=i[t];const n=2*Math.floor(r[c]/3),l=o[n],u=o[n+1],f=4*s,d=this._project(l,u,a[f+2],a[f+3]);d&&this._renderSegment(l,u,d[0],d[1],e)}return t&&t.value()}renderBounds(e){const t=null==e?e=new pN: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 pN: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 gN;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,c=t[n-2],l=t[n-1],u=this._regioncode(c,l),f=0;for(let d=0;d<n;d+=2)if(r=c,i=l,c=t[d],l=t[d+1],o=u,u=this._regioncode(c,l),0===o&&0===u)a=f,f=0,s?s.push(c,l):s=[c,l];else{let t,n,d,h,p;if(0===o){if(null===(t=this._clipSegment(r,i,c,l,o,u)))continue;[n,d,h,p]=t}else{if(null===(t=this._clipSegment(c,l,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,c,l=i||o;8&l?(s=e+(n-e)*(this.ymax-t)/(r-t),c=this.ymax):4&l?(s=e+(n-e)*(this.ymin-t)/(r-t),c=this.ymin):2&l?(c=t+(r-t)*(this.xmax-e)/(n-e),s=this.xmax):(c=t+(r-t)*(this.xmin-e)/(n-e),s=this.xmin),i?(e=s,t=c,i=this._regioncode(e,t)):(n=s,r=c,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 bN=2*Math.PI,vN=Math.pow;function yN(e){return e[0]}function _N(e){return e[1]}function wN(e,t,n){return[e+Math.sin(e+t)*n,t+Math.cos(e-t)*n]}class xN{static from(e,t=yN,n=_N,r){return new xN("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 oN(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=wN(t[2*e],t[2*e+1],i);t[2*e]=n[0],t[2*e+1]=n[1]}this._delaunator=new oN(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 mN(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 c=s,l=-1;do{if(yield l=o[c],c=c%3==2?c-2:c+1,o[c]!==e)return;if(c=i[c],-1===c){const t=n[(r[e]+1)%n.length];return void(t!==l&&(yield t))}}while(c!==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:c}=this;if(-1===r[e]||!c.length)return(e+1)%(c.length>>1);let l=e,u=vN(t-c[2*e],2)+vN(n-c[2*e+1],2);const f=r[e];let d=f;do{let r=s[d];const f=vN(t-c[2*r],2)+vN(n-c[2*r+1],2);if(f<u&&(u=f,l=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&&vN(t-c[2*d],2)+vN(n-c[2*d+1],2)<u)return d;break}}while(d!==f);return l}render(e){const t=null==e?e=new pN: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 pN: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,bN)}return n&&n.value()}renderHull(e){const t=null==e?e=new pN: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 gN;return this.renderHull(e),e.value()}renderTriangle(e,t){const n=null==t?t=new pN: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 gN;return this.renderTriangle(e,t),t.value()}}var CN=function(e){return[e.x,e.y]},kN=zE,MN="cursor",SN=function(e){var t=e.points,n=e.getNodePosition,r=void 0===n?CN:n,i=e.margin,o=void 0===i?kN:i;return t.map((function(e){var t=r(e),n=t[0],i=t[1];return[n+o.left,i+o.top]}))},TN=function(e){var t=e.points,n=e.getNodePosition,r=void 0===n?CN:n,i=e.width,o=e.height,a=e.margin,s=void 0===a?kN:a,c=e.debug;return w((function(){return function(e){var t=e.points,n=e.width,r=e.height,i=e.margin,o=void 0===i?kN:i,a=e.debug,s=xN.from(t),c=a?s.voronoi([0,0,o.left+n+o.right,o.top+r+o.bottom]):void 0;return{points:t,delaunay:s,voronoi:c}}({points:SN({points:t,margin:s,getNodePosition:r}),width:i,height:o,margin:s,debug:c})}),[t,i,o,s,c])},AN=function(e){var t=e.elementRef,n=e.nodes,r=e.getNodePosition,i=void 0===r?CN:r,o=e.delaunay,a=e.setCurrent,s=e.margin,c=void 0===s?kN:s,l=e.detectionRadius,u=void 0===l?1/0:l,f=e.isInteractive,d=void 0===f||f,h=e.onMouseEnter,g=e.onMouseMove,v=e.onMouseLeave,_=e.onClick,x=e.onTouchStart,C=e.onTouchMove,k=e.onTouchEnd,M=e.enableTouchCrosshair,S=void 0!==M&&M,T=e.tooltip,A=e.tooltipPosition,E=void 0===A?MN:A,O=e.tooltipAnchor,P=void 0===O?"top":O,D=m(null),j=D[0],N=D[1],L=b(null);p((function(){L.current=j}),[L,j]);var F=y((function(e){if(!t.current)return null;var r=$O(t.current,e),a=r[0],s=r[1],l=o.find(a,s),f=void 0!==l?n[l]: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+c.left,p+c.top)>u&&(l=null,f=null)}return null===l||null===f?null:[l,f]}),[t,o,n,i,c,u]),R=bg(),B=R.showTooltipAt,$=R.showTooltipFromEvent,z=R.hideTooltip,I=w((function(){if(T)return"cursor"===E?function(e,t){$(T(e),t,P)}:function(e){var t=i(e),n=t[0],r=t[1];B(T(e),[n+c.left,r+c.top],P)}}),[B,$,T,E,P,i,c]),U=y((function(e){var t=F(e);if(N(t),null==a||a(t?t[1]:null),t){var n=t[1];null==I||I(n,e),null==h||h(t[1],e)}}),[F,N,a,I,h]),H=y((function(e){var t=F(e);if(N(t),t){var n=t[0],r=t[1];if(null==a||a(r),null==I||I(r,e),L.current){var i=L.current,o=i[0],s=i[1];n!==o?null==v||v(s,e):null==g||g(r,e)}else null==h||h(r,e)}else null==a||a(null),null==z||z(),L.current&&(null==v||v(L.current[1],e))}),[F,N,L,h,g,v,I,z]),V=y((function(e){N(null),null==a||a(null),z(),v&&L.current&&v(L.current[1],e)}),[N,a,L,z,v]),W=y((function(e){var t=F(e);N(t),t&&(null==_||_(t[1],e))}),[F,N,_]),Y=y((function(e){var t=F(e);S&&(N(t),null==a||a(t?t[1]:null)),t&&(null==x||x(t[1],e))}),[F,N,a,S,x]),q=y((function(e){var t=F(e);S&&(N(t),null==a||a(t?t[1]:null)),t&&(null==C||C(t[1],e))}),[F,N,a,S,C]),Z=y((function(e){S&&(N(null),null==a||a(null)),k&&L.current&&k(L.current[1],e)}),[S,N,a,k,L]);return{current:j,handleMouseEnter:d?U:void 0,handleMouseMove:d?H:void 0,handleMouseLeave:d?V:void 0,handleClick:d?W:void 0,handleTouchStart:d?Y:void 0,handleTouchMove:d?q:void 0,handleTouchEnd:d?Z:void 0}},EN=function(e){var t=e.nodes,r=e.width,i=e.height,o=e.margin,a=void 0===o?kN:o,s=e.getNodePosition,c=e.setCurrent,l=e.onMouseEnter,u=e.onMouseMove,f=e.onMouseLeave,d=e.onClick,h=e.onTouchStart,p=e.onTouchMove,g=e.onTouchEnd,m=e.enableTouchCrosshair,v=void 0!==m&&m,y=e.detectionRadius,_=void 0===y?1/0:y,x=e.tooltip,C=e.tooltipPosition,k=void 0===C?MN:C,M=e.tooltipAnchor,S=void 0===M?"top":M,T=e.debug,A=b(null),E=TN({points:t,getNodePosition:s,width:r,height:i,margin:a,debug:T}),P=E.delaunay,D=E.voronoi,j=AN({elementRef:A,nodes:t,delaunay:P,margin:a,detectionRadius:_,setCurrent:c,onMouseEnter:l,onMouseMove:u,onMouseLeave:f,onClick:d,onTouchStart:h,onTouchMove:p,onTouchEnd:g,enableTouchCrosshair:v,tooltip:x,tooltipPosition:k,tooltipAnchor:S}),N=j.current,L=j.handleMouseEnter,F=j.handleMouseMove,R=j.handleMouseLeave,B=j.handleClick,$=j.handleTouchStart,z=j.handleTouchMove,I=j.handleTouchEnd,U=w((function(){if(T&&D)return D.render()}),[T,D]);return O("g",{ref:A,transform:"translate("+-a.left+","+-a.top+")",children:[T&&D&&O(n,{children:[O("path",{d:U,stroke:"red",strokeWidth:1,opacity:.75}),_<1/0&&O("path",{stroke:"red",strokeWidth:.35,fill:"none",d:P.renderPoints(void 0,_)}),N&&O("path",{fill:"pink",opacity:.35,d:D.renderCell(N[0])})]}),O("rect",{"data-ref":"mesh-interceptor",width:a.left+r+a.right,height:a.top+i+a.bottom,fill:"red",opacity:0,style:{cursor:"auto"},onMouseEnter:L,onMouseMove:F,onMouseLeave:R,onTouchStart:$,onTouchMove:z,onTouchEnd:I,onClick:B})]})};function ON(){return ON=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},ON.apply(this,arguments)}var PN=x((function(e){var t=e.point;return O(yh,{id:O("span",{children:["x: ",O("strong",{children:t.data.xFormatted}),", y:"," ",O("strong",{children:t.data.yFormatted})]}),enableChip:!0,color:t.serieColor})})),DN=x((function(e){var t=e.slice,n=e.axis,r=qE(),i="x"===n?"y":"x";return O(wh,{rows:t.points.map((function(e){return[O(vh,{color:e.serieColor,style:r.tooltip.chip},"chip"),e.serieId,O("span",{style:r.tooltip.tableCellValue,children:e.data[i+"Formatted"]},"value")]}))})})),jN={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:PN,enableSlices:!1,debugSlices:!1,sliceTooltip:DN,debugMesh:!1,enableCrosshair:!0,crosshairType:"bottom-left"},NN=ON({},jN,{enablePointLabel:!1,useMesh:!1,enableTouchCrosshair:!1,animate:!0,motionConfig:"gentle",defs:[],fill:[],role:"img",initialHiddenIds:[]});ON({},jN,{pixelRatio:"undefined"!=typeof window&&window.devicePixelRatio||1});var LN=function(e){var t=e.curve;return w((function(){return ei().defined((function(e){return null!==e.x&&null!==e.y})).x((function(e){return e.x})).y((function(e){return e.y})).curve($E(t))}),[t])},FN=function(e){var t=e.curve,n=e.yScale,r=e.areaBaselineValue;return w((function(){return function(e,t,n){var r=null,i=xr(!0),o=null,a=Qr,s=null,c=Ir(l);function l(l){var u,f,d,h,p,g=(l=Gr(l)).length,m=!1,b=new Array(g),v=new Array(g);for(null==o&&(s=a(p=c())),u=0;u<=g;++u){if(!(u<g&&i(h=l[u],u,l))===m)if(m=!m)f=u,s.areaStart(),s.lineStart();else{for(s.lineEnd(),s.lineStart(),d=u-1;d>=f;--d)s.point(b[d],v[d]);s.lineEnd(),s.areaEnd()}m&&(b[u]=+e(h,u,l),v[u]=+t(h,u,l),s.point(r?+r(h,u,l):b[u],n?+n(h,u,l):v[u]))}if(p)return s=null,p+""||null}function u(){return ei().defined(i).curve(a).context(o)}return e="function"==typeof e?e:void 0===e?Jr:xr(+e),t="function"==typeof t?t:xr(void 0===t?0:+t),n="function"==typeof n?n:void 0===n?Kr:xr(+n),l.x=function(t){return arguments.length?(e="function"==typeof t?t:xr(+t),r=null,l):e},l.x0=function(t){return arguments.length?(e="function"==typeof t?t:xr(+t),l):e},l.x1=function(e){return arguments.length?(r=null==e?null:"function"==typeof e?e:xr(+e),l):r},l.y=function(e){return arguments.length?(t="function"==typeof e?e:xr(+e),n=null,l):t},l.y0=function(e){return arguments.length?(t="function"==typeof e?e:xr(+e),l):t},l.y1=function(e){return arguments.length?(n=null==e?null:"function"==typeof e?e:xr(+e),l):n},l.lineX0=l.lineY0=function(){return u().x(e).y(t)},l.lineY1=function(){return u().x(e).y(n)},l.lineX1=function(){return u().x(r).y(t)},l.defined=function(e){return arguments.length?(i="function"==typeof e?e:xr(!!e),l):i},l.curve=function(e){return arguments.length?(a=e,null!=o&&(s=a(o)),l):a},l.context=function(e){return arguments.length?(null==e?o=s=null:s=a(o=e),l):o},l}().defined((function(e){return null!==e.x&&null!==e.y})).x((function(e){return e.x})).y1((function(e){return e.y})).curve($E(t)).y0(n(r))}),[t,n,r])},RN=function(e){var t=e.data,n=e.xScale,r=void 0===n?NN.xScale:n,i=e.xFormat,o=e.yScale,a=void 0===o?NN.yScale:o,s=e.yFormat,c=e.width,l=e.height,u=e.colors,f=void 0===u?NN.colors:u,d=e.curve,h=void 0===d?NN.curve:d,p=e.areaBaselineValue,g=void 0===p?NN.areaBaselineValue:p,b=e.pointColor,v=void 0===b?NN.pointColor:b,_=e.pointBorderColor,x=void 0===_?NN.pointBorderColor:_,C=e.enableSlices,k=void 0===C?NN.enableSlicesTooltip:C,M=e.initialHiddenIds,S=void 0===M?NN.initialHiddenIds:M,T=m(qj("line"))[0],A=HE(i),E=HE(s),O=function(e,t){return w((function(){return fP(e,t)}),[e,t])}(f,"id"),P=qE(),D=nP(v,P),j=nP(x,P),N=m(null!=S?S:[]),L=N[0],F=N[1],R=w((function(){return function(e,t,n,r,i){var o=e.map((function(e){return function(e){return QD({},e,{data:e.data.map((function(e){return{data:QD({},e)}}))})}(e)})),a=uj(o,t,n);"stacked"in t&&!0===t.stacked&&hj(a,o),"stacked"in n&&!0===n.stacked&&pj(a,o);var s=cj(t,a.x,r,"x"),c=cj(n,a.y,i,"y"),l=o.map((function(e){return QD({},e,{data:e.data.map((function(e){return QD({},e,{position:{x:lj(e,"x",s),y:lj(e,"y",c)}})}))})}));return QD({},a,{series:l,xScale:s,yScale:c})}(t.filter((function(e){return-1===L.indexOf(e.id)})),r,a,c,l)}),[t,L,r,a,c,l]),B=R.xScale,$=R.yScale,z=R.series,I=w((function(){var e=t.map((function(e){return{id:e.id,label:e.id,color:O(e)}})),n=e.map((function(e){return ON({},z.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 ON({},e,{hidden:!n.find((function(t){return t.id===e.id}))})})).reverse(),series:n}}),[t,z,O]),U=I.legendData,H=I.series,V=y((function(e){F((function(t){return t.indexOf(e)>-1?t.filter((function(t){return t!==e})):[].concat(t,[e])}))}),[]),W=function(e){var t=e.series,n=e.getPointColor,r=e.getPointBorderColor,i=e.formatX,o=e.formatY;return w((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 c={id:t.id+"."+s,index:e.length+s,serieId:t.id,serieColor:t.color,x:a.position.x,y:a.position.y};return c.color=n(t),c.borderColor=r(c),c.data=ON({},a.data,{xFormatted:i(a.data.x),yFormatted:o(a.data.y)}),c})))}),[])}),[t,n,r,i,o])}({series:H,getPointColor:D,getPointBorderColor:j,formatX:A,formatY:E}),Y=function(e){var t=e.componentId,n=e.enableSlices,r=e.points,i=e.width,o=e.height;return w((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,c=e[0],l=e[1],u=r[n-1],f=r[n+1];return a=u?c-(c-u[0])/2:c,s=f?c-a+(f[0]-c)/2:i-a,{id:"slice:"+t+":"+c,x0:a,x:c,y0:0,y:0,width:s,height:o,points:l.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],c=e[1],l=n[t-1],u=n[t+1];return r=l?s-(s-l[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:c.reverse()}}))}}),[t,n,o,r,i])}({componentId:T,enableSlices:k,points:W,width:c,height:l});return{legendData:U,toggleSerie:V,lineGenerator:LN({curve:h}),areaGenerator:FN({curve:h,yScale:$,areaBaselineValue:g}),getColor:O,series:H,xScale:B,yScale:$,slices:Y,points:W}},BN=function(e){var t=e.areaBlendMode,n=e.areaOpacity,r=e.color,i=e.fill,o=e.path,a=jE(),s=a.animate,c=a.config,l=NE(o),u=qd({color:r,config:c,immediate:!s});return O(hh.path,{d:l,fill:i||u.color,fillOpacity:n,strokeWidth:0,style:{mixBlendMode:t}})},$N=x((function(e){var t=e.areaGenerator,n=e.areaOpacity,r=e.areaBlendMode;return O("g",{children:e.lines.slice(0).reverse().map((function(e){return O(BN,ON({path:t(e.data.map((function(e){return e.position})))},ON({areaOpacity:n,areaBlendMode:r},e)),e.id)}))})})),zN=x((function(e){var t=e.lineGenerator,n=e.points,r=e.color,i=e.thickness,o=w((function(){return t(n)}),[t,n]),a=NE(o);return O(hh.path,{d:a,fill:"none",strokeWidth:i,stroke:r})})),IN=x((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 O(zN,{id:t,points:i.map((function(e){return e.position})),lineGenerator:n,color:o,thickness:r},t)}))})),UN=x((function(e){var t=e.slice,n=e.slices,r=e.axis,i=e.debug,o=e.tooltip,a=e.isCurrent,s=e.setCurrent,c=e.onMouseEnter,l=e.onMouseMove,u=e.onMouseLeave,f=e.onClick,d=e.onTouchStart,h=e.onTouchMove,p=e.onTouchEnd,g=bg(),m=g.showTooltipFromEvent,b=g.hideTooltip,v=y((function(e){m(k(o,{slice:t,axis:r}),e,"right"),s(t),c&&c(t,e)}),[m,o,t,r,s,c]),_=y((function(e){m(k(o,{slice:t,axis:r}),e,"right"),l&&l(t,e)}),[m,o,t,r,l]),w=y((function(e){b(),s(null),u&&u(t,e)}),[b,s,u,t]),x=y((function(e){f&&f(t,e)}),[t,f]),C=y((function(e){m(k(o,{slice:t,axis:r}),e,"right"),s(t),d&&d(t,e)}),[r,d,s,m,t,o]),M=y((function(e){var i=e.touches[0],a=document.elementFromPoint(i.clientX,i.clientY),c=null==a?void 0:a.getAttribute("data-ref");if(c){var l=n.find((function(e){return e.id===c}));l&&(m(k(o,{slice:l,axis:r}),e,"right"),s(l))}h&&h(t,e)}),[r,h,s,m,t,n,o]),S=y((function(e){b(),s(null),p&&p(t,e)}),[b,s,p,t]);return O("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:v,onMouseMove:_,onMouseLeave:w,onClick:x,onTouchStart:C,onTouchMove:M,onTouchEnd:S,"data-ref":t.id})})),HN=x((function(e){var t=e.slices,n=e.axis,r=e.debug,i=e.height,o=e.tooltip,a=e.current,s=e.setCurrent,c=e.onMouseEnter,l=e.onMouseMove,u=e.onMouseLeave,f=e.onClick,d=e.onTouchStart,h=e.onTouchMove,p=e.onTouchEnd;return t.map((function(e){return O(UN,{slice:e,slices:t,axis:n,debug:r,height:i,tooltip:o,setCurrent:s,isCurrent:null!==a&&a.id===e.id,onMouseEnter:c,onMouseMove:l,onMouseLeave:u,onClick:f,onTouchStart:d,onTouchMove:h,onTouchEnd:p},e.id)}))})),VN=x((function(e){var t=e.points,n=e.symbol,r=e.size,i=e.borderWidth,o=e.enableLabel,a=e.label,s=e.labelYOffset,c=qE(),l=function(e){var t=EM(e)?e:function(t){return Vv(t,e)};return t}(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?l(e):null}}));return O("g",{children:u.map((function(e){return O(DO,{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:c},e.id)}))})})),WN=x((function(e){var t=e.points,n=e.width,r=e.height,i=e.margin,o=e.setCurrent,a=e.onMouseEnter,s=e.onMouseMove,c=e.onMouseLeave,l=e.onClick,u=e.onTouchStart,f=e.onTouchMove,d=e.onTouchEnd,h=e.tooltip,p=e.debug,g=e.enableTouchCrosshair,m=bg(),b=m.showTooltipAt,v=m.hideTooltip,_=y((function(e,t){b(k(h,{point:e}),[e.x+i.left,e.y+i.top],"top"),a&&a(e,t)}),[b,h,a,i]),w=y((function(e,t){b(k(h,{point:e}),[e.x+i.left,e.y+i.top],"top"),s&&s(e,t)}),[b,h,i.left,i.top,s]),x=y((function(e,t){v(),c&&c(e,t)}),[v,c]),C=y((function(e,t){l&&l(e,t)}),[l]),M=y((function(e,t){b(k(h,{point:e}),[e.x+i.left,e.y+i.top],"top"),u&&u(e,t)}),[i.left,i.top,u,b,h]),S=y((function(e,t){b(k(h,{point:e}),[e.x+i.left,e.y+i.top],"top"),f&&f(e,t)}),[i.left,i.top,f,b,h]),T=y((function(e,t){v(),d&&d(e,t)}),[d,v]);return O(EN,{nodes:t,width:n,height:r,setCurrent:o,onMouseEnter:_,onMouseMove:w,onMouseLeave:x,onClick:C,onTouchStart:M,onTouchMove:S,onTouchEnd:T,enableTouchCrosshair:g,debug:p})})),YN=BO((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,c=e.layers,l=void 0===c?["grid","markers","axes","areas","crosshair","lines","points","slices","mesh","legends"]:c,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,b=e.margin,v=e.width,y=e.height,_=e.axisTop,w=e.axisRight,x=e.axisBottom,C=void 0===x?{}:x,k=e.axisLeft,M=void 0===k?{}:k,S=e.enableGridX,A=void 0===S||S,E=e.enableGridY,P=void 0===E||E,D=e.gridXValues,j=e.gridYValues,N=e.lineWidth,L=void 0===N?2:N,F=e.enableArea,R=void 0!==F&&F,B=e.areaOpacity,$=void 0===B?.2:B,z=e.areaBlendMode,I=void 0===z?"normal":z,U=e.enablePoints,H=void 0===U||U,V=e.pointSymbol,W=e.pointSize,Y=void 0===W?6:W,q=e.pointColor,Z=void 0===q?{from:"color"}:q,G=e.pointBorderWidth,X=void 0===G?0:G,Q=e.pointBorderColor,J=void 0===Q?{theme:"background"}:Q,K=e.enablePointLabel,ee=void 0!==K&&K,te=e.pointLabel,ne=void 0===te?"data.yFormatted":te,re=e.pointLabelYOffset,ie=e.defs,oe=void 0===ie?[]:ie,ae=e.fill,se=void 0===ae?[]:ae,ce=e.markers,le=e.legends,ue=void 0===le?[]:le,fe=e.isInteractive,de=void 0===fe||fe,he=e.useMesh,pe=void 0!==he&&he,ge=e.debugMesh,me=void 0!==ge&&ge,be=e.onMouseEnter,ve=e.onMouseMove,ye=e.onMouseLeave,_e=e.onClick,we=e.onTouchStart,xe=e.onTouchMove,Ce=e.onTouchEnd,ke=e.tooltip,Me=void 0===ke?PN:ke,Se=e.enableSlices,Te=void 0!==Se&&Se,Ae=e.debugSlices,Ee=void 0!==Ae&&Ae,Oe=e.sliceTooltip,Pe=void 0===Oe?DN:Oe,De=e.enableCrosshair,je=void 0===De||De,Ne=e.crosshairType,Le=void 0===Ne?"bottom-left":Ne,Fe=e.enableTouchCrosshair,Re=void 0!==Fe&&Fe,Be=e.role,$e=void 0===Be?"img":Be,ze=e.initialHiddenIds,Ie=void 0===ze?[]:ze,Ue=IE(v,y,b),He=Ue.margin,Ve=Ue.innerWidth,We=Ue.innerHeight,Ye=Ue.outerWidth,qe=Ue.outerHeight,Ze=RN({data:t,xScale:r,xFormat:i,yScale:a,yFormat:s,width:Ve,height:We,colors:g,curve:f,areaBaselineValue:h,pointColor:Z,pointBorderColor:J,enableSlices:Te,initialHiddenIds:Ie}),Ge=Ze.legendData,Xe=Ze.toggleSerie,Qe=Ze.lineGenerator,Je=Ze.areaGenerator,Ke=Ze.series,et=Ze.xScale,tt=Ze.yScale,nt=Ze.slices,rt=Ze.points,it=qE(),ot=nP(Z,it),at=nP(J,it),st=m(null),ct=st[0],lt=st[1],ut=m(null),ft=ut[0],dt=ut[1],ht={grid:O(Oj,{theme:it,width:Ve,height:We,xScale:A?et:null,yScale:P?tt:null,xValues:D,yValues:j},"grid"),markers:O(FO,{markers:ce,width:Ve,height:We,xScale:et,yScale:tt,theme:it},"markers"),axes:O(Tj,{xScale:et,yScale:tt,width:Ve,height:We,theme:it,top:_,right:w,bottom:C,left:M},"axes"),areas:null,lines:O(IN,{lines:Ke,lineGenerator:Qe,lineWidth:L},"lines"),slices:null,points:null,crosshair:null,mesh:null,legends:ue.map((function(e,t){return O(Hj,ON({},e,{containerWidth:Ve,containerHeight:We,data:e.data||Ge,theme:it,toggleSerie:e.toggleSerie?Xe:void 0}),"legend."+t)}))},pt=UO(oe,Ke,se);return R&&(ht.areas=O($N,{areaGenerator:Je,areaOpacity:$,areaBlendMode:I,lines:Ke},"areas")),de&&!1!==Te&&(ht.slices=O(HN,{slices:nt,axis:Te,debug:Ee,height:We,tooltip:Pe,current:ft,setCurrent:dt,onMouseEnter:be,onMouseMove:ve,onMouseLeave:ye,onClick:_e,onTouchStart:we,onTouchMove:xe,onTouchEnd:Ce},"slices")),H&&(ht.points=O(VN,{points:rt,symbol:V,size:Y,color:ot,borderWidth:X,borderColor:at,enableLabel:ee,label:ne,labelYOffset:re},"points")),de&&je&&(null!==ct&&(ht.crosshair=O(Ch,{width:Ve,height:We,x:ct.x,y:ct.y,type:Le},"crosshair")),null!==ft&&(ht.crosshair=O(Ch,{width:Ve,height:We,x:ft.x,y:ft.y,type:Te},"crosshair"))),de&&pe&&!1===Te&&(ht.mesh=O(WN,{points:rt,width:Ve,height:We,margin:He,current:ct,setCurrent:lt,onMouseEnter:be,onMouseMove:ve,onMouseLeave:ye,onClick:_e,onTouchStart:we,onTouchMove:xe,onTouchEnd:Ce,tooltip:Me,enableTouchCrosshair:Re,debug:me},"mesh")),O(AO,{defs:pt,width:Ye,height:qe,margin:He,role:$e,children:l.map((function(t,n){return"function"==typeof t?O(T,{children:t(ON({},e,{innerWidth:Ve,innerHeight:We,series:Ke,slices:nt,points:rt,xScale:et,yScale:tt,lineGenerator:Qe,areaGenerator:Je,currentPoint:ct,setCurrentPoint:lt,currentSlice:ft,setCurrentSlice:dt}))},n):ht[t]}))})})),qN=function(e){return O(KE,{children:function(t){var n=t.width,r=t.height;return O(YN,ON({width:n,height:r},e))}})},ZN=BO((function(e){var t=b(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,c=e.xScale,l=void 0===c?{type:"point"}:c,u=e.xFormat,f=e.yScale,d=void 0===f?{type:"linear",min:0,max:"auto"}:f,h=e.yFormat,g=e.curve,v=void 0===g?"linear":g,_=e.layers,w=void 0===_?["grid","markers","axes","areas","crosshair","lines","points","slices","mesh","legends"]:_,x=e.colors,C=void 0===x?{scheme:"nivo"}:x,M=e.lineWidth,S=void 0===M?2:M,T=e.enableArea,A=void 0!==T&&T,E=e.areaBaselineValue,P=void 0===E?0:E,D=e.areaOpacity,j=void 0===D?.2:D,N=e.enablePoints,L=void 0===N||N,F=e.pointSize,R=void 0===F?6:F,B=e.pointColor,$=void 0===B?{from:"color"}:B,z=e.pointBorderWidth,I=void 0===z?0:z,U=e.pointBorderColor,H=void 0===U?{theme:"background"}:U,V=e.enableGridX,W=void 0===V||V,Y=e.gridXValues,q=e.enableGridY,Z=void 0===q||q,G=e.gridYValues,X=e.axisTop,Q=e.axisRight,J=e.axisBottom,K=void 0===J?{}:J,ee=e.axisLeft,te=void 0===ee?{}:ee,ne=e.legends,re=void 0===ne?[]:ne,ie=e.isInteractive,oe=void 0===ie||ie,ae=e.debugMesh,se=void 0!==ae&&ae,ce=e.onMouseLeave,le=e.onClick,ue=e.tooltip,fe=void 0===ue?PN:ue,de=e.canvasRef,he=IE(n,r,i),pe=he.margin,ge=he.innerWidth,me=he.innerHeight,be=he.outerWidth,ve=he.outerHeight,ye=qE(),_e=m(null),we=_e[0],xe=_e[1],Ce=RN({data:s,xScale:l,xFormat:u,yScale:d,yFormat:h,width:ge,height:me,colors:C,curve:v,areaBaselineValue:P,pointColor:$,pointBorderColor:H}),ke=Ce.lineGenerator,Me=Ce.areaGenerator,Se=Ce.series,Te=Ce.xScale,Ae=Ce.yScale,Ee=Ce.points,Oe=TN({points:Ee,width:ge,height:me,debug:se}),Pe=Oe.delaunay,De=Oe.voronoi;p((function(){de&&(de.current=t.current),t.current.width=be*a,t.current.height=ve*a;var e=t.current.getContext("2d");e.scale(a,a),e.fillStyle=ye.background,e.fillRect(0,0,be,ve),e.translate(pe.left,pe.top),w.forEach((function(t){if("function"==typeof t&&t({ctx:e,innerWidth:ge,innerHeight:me,series:Se,points:Ee,xScale:Te,yScale:Ae,lineWidth:S,lineGenerator:ke,areaGenerator:Me,currentPoint:we,setCurrentPoint:xe}),"grid"===t&&ye.grid.line.strokeWidth>0&&(e.lineWidth=ye.grid.line.strokeWidth,e.strokeStyle=ye.grid.line.stroke,W&&Dj(e,{width:ge,height:me,scale:Te,axis:"x",values:Y}),Z&&Dj(e,{width:ge,height:me,scale:Ae,axis:"y",values:G})),"axes"===t&&Pj(e,{xScale:Te,yScale:Ae,width:ge,height:me,top:X,right:Q,bottom:K,left:te,theme:ye}),"areas"===t&&!0===A){e.save(),e.globalAlpha=j,Me.context(e);for(var n=Se.length-1;n>=0;n--)e.fillStyle=Se[n].color,e.beginPath(),Me(Se[n].data.map((function(e){return e.position}))),e.fill();e.restore()}if("lines"===t&&(ke.context(e),Se.forEach((function(t){e.strokeStyle=t.color,e.lineWidth=S,e.beginPath(),ke(t.data.map((function(e){return e.position}))),e.stroke()}))),"points"===t&&!0===L&&R>0&&Ee.forEach((function(t){e.fillStyle=t.color,e.beginPath(),e.arc(t.x,t.y,R/2,0,2*Math.PI),e.fill(),I>0&&(e.strokeStyle=t.borderColor,e.lineWidth=I,e.stroke())})),"mesh"===t&&!0===se&&(function(e,t){e.save(),e.globalAlpha=.75,e.beginPath(),t.render(e),e.strokeStyle="red",e.lineWidth=1,e.stroke(),e.restore()}(e,De),we&&function(e,t,n){e.save(),e.globalAlpha=.35,e.beginPath(),t.renderCell(n,e),e.fillStyle="pink",e.fill(),e.restore()}(e,De,we.index)),"legends"===t){var r=Se.map((function(e){return{id:e.id,label:e.id,color:e.color}})).reverse();re.forEach((function(t){Wj(e,ON({},t,{data:t.data||r,containerWidth:ge,containerHeight:me,theme:ye}))}))}}))}),[t,be,ve,w,ye,ke,Se,Te,Ae,W,Y,Z,G,X,Q,K,te,re,Ee,L,R,we]);var je=y((function(e){var n=$O(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}(pe.left,pe.top,ge,me,r,i))return null;var o=Pe.find(r-pe.left,i-pe.top);return Ee[o]}),[t,pe,ge,me,Pe]),Ne=bg(),Le=Ne.showTooltipFromEvent,Fe=Ne.hideTooltip,Re=y((function(e){var t=je(e);xe(t),t?Le(k(fe,{point:t}),e):Fe()}),[je,xe,Le,Fe,fe]),Be=y((function(e){Fe(),xe(null),we&&ce&&ce(we,e)}),[Fe,xe,ce]),$e=y((function(e){if(le){var t=je(e);t&&le(t,e)}}),[je,le]);return O("canvas",{ref:t,width:be*a,height:ve*a,style:{width:be,height:ve,cursor:oe?"auto":"normal"},onMouseEnter:oe?Re:void 0,onMouseMove:oe?Re:void 0,onMouseLeave:oe?Be:void 0,onClick:oe?$e:void 0})})),GN=v((function(e,t){return O(ZN,ON({},e,{canvasRef:t}))}));v((function(e,t){return O(KE,{children:function(n){var r=n.width,i=n.height;return O(GN,ON({width:r,height:i},e,{ref:t}))}})}));const XN={anchor:"right",direction:"column",justify:!1,translateX:100,translateY:0,itemsSpacing:0,itemDirection:"left-to-right",itemWidth:80,itemHeight:20,itemOpacity:.75,symbolSize:12,symbolShape:"circle",symbolBorderColor:"rgba(0, 0, 0, .5)",effects:[{on:"hover",style:{itemBackground:"rgba(0, 0, 0, .03)",itemOpacity:1}}]},QN={tickSize:5,tickPadding:5,tickRotation:45,ticksPosition:"before"},JN={tickSize:5,tickPadding:5,tickRotation:0},KN={top:50,right:100,bottom:50,left:60},eL={type:"point"},tL={type:"linear",min:"auto",max:"auto",reverse:!1},nL={margin:KN,xScale:eL,yScale:tL,axisTop:null,axisRight:null,axisBottom:QN,axisLeft:JN,useMesh:!0,enableArea:!0};var rL="styles_empty-label__TGfHL";const iL={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 oL;!function(e){e.Mesh="Mesh",e.SlicesX="SlicesX",e.SlicesY="SlicesY"}(oL||(oL={}));const aL=64,sL=(e,t,n)=>{const{constant:r=aL,...i}=n??{};return{type:"symlog",min:e,max:t,constant:r,...i}},cL=(e,t)=>{const n=e.flatMap((e=>e.data)).map((e=>e.y)),r=Math.min(...n),i=Math.max(...n);return sL(r,i,t)},lL=({kind:e=oL.Mesh,width:t="100%",height:n=400,emptyLabel:r="No data available",emptyAriaLabel:i="No data available",axisBottom:o,rootAriaLabel:a,data:s,...c})=>{const l=(e=>{switch(e){case oL.SlicesX:return{useMesh:!1,enableSlices:"x"};case oL.SlicesY:return{useMesh:!1,enableSlices:"y"};case oL.Mesh:default:return{useMesh:!0,enableSlices:void 0}}})(e),f=u(((t,n)=>{e===oL.Mesh?c?.onClick?.(t,n):[oL.SlicesX,oL.SlicesY].includes(e)&&c?.onSliceClick?.(t,n)}),[e,c]),h=u(((t,n)=>{e===oL.Mesh?c?.onTouchEnd?.(t,n):[oL.SlicesX,oL.SlicesY].includes(e)&&c?.onSliceTouchEnd?.(t,n)}),[e,c]),p=d((()=>{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))?O("div",{role:"img","aria-label":i,className:rL,style:{width:t,height:n},children:r}):O("div",{role:"img","aria-label":a,tabIndex:0,style:{width:t,height:n},children:O(qN,{...nL,...l,...c,data:s,onClick:f,onTouchEnd:h,axisBottom:{...QN,...o,tickValues:p},theme:iL})})},uL=({title:e,items:t,slices:n,min:r,max:i,height:o=400,width:a="100%",rootAriaLabel:s,translations:l})=>{const[f,h]=c([]),p=l["no-results"],g=d((()=>sL(r,i,{constant:8})),[i,r]),m=u((e=>{const t=e.points.reduce(((e,t)=>(e.push(t.data.x),e)),[]);h((()=>t))}),[]);return d((()=>n.filter((e=>f.includes(e.metadata.executionId)))),[n,f]),O(Ba,{title:e,children:O(lL,{kind:oL.SlicesX,data:t,height:o,width:a,emptyLabel:p,emptyAriaLabel:p,rootAriaLabel:s,colors:({color:e})=>e,yScale:g,onSliceClick:m,onSliceTouchEnd:m})})};var fL="styles_legend__JMBvn",dL="styles_chart__mUNSO";const hL=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)"}},pL=Zr().innerRadius(40).outerRadius(50).cornerRadius(2).padAngle(.03),gL=ri().value((e=>e.count)).padAngle(.03).sortValues(((e,t)=>e-t)),mL=(e,t)=>Math.floor(e/t*1e4)/100,bL=e=>{const t=Bi.filter((t=>!!e?.[t])).map((t=>({status:t,count:e[t]})));return{slices:gL(t).map((e=>({d:pL(e),...e.data}))),percentage:mL(e.passed??0,e.total)}},vL=({slices:e,percentage:t,className:n})=>O("article",{"aria-label":"Success rate",role:"presentation",className:D(dL,n),children:[O("svg",{"aria-hidden":!0,viewBox:"0 0 100 100",children:O("g",{transform:"translate(50, 50)",children:e.map((e=>O("path",{d:e.d,fill:hL(e.status)},e.status)))})}),void 0!==t&&O(Ft,{className:fL,size:"s",tag:"b",children:[t,"%"]})]});export{gr as ArrowButton,Lo as Attachment,Co as AttachmentCode,Fo as AttachmentEmpty,Oo as AttachmentImage,Po as AttachmentVideo,$t as Button,Lt as Code,Ro as CodeViewer,_a as Counter,It as DropdownButton,Yc as Grid,Kc as GridItem,Ft as Heading,Do as HtmlPreview,zt as IconButton,Sa as Label,el as LanguagePicker,ka as Link,tr as Loadable,hr as Menu,Qo as Modal,rr as PageLoader,ja as ReportLogo,Pa as ReportLogoFull,ur as SearchBox,jt as Spinner,Aa as StatusLabel,vL as SuccessRatePieChart,Dt as SvgIcon,Nt as Text,tl as ThemeButton,xa as Toggle,er as TooltipWrapper,va as Tree,ba as TreeHeader,pa as TreeItem,oa as TreeItemIcon,ga as TreeSection,ma as TreeStatusBar,lL as TrendChart,oL as TrendChartKind,uL as TrendChartWidget,Ba as Widget,Pt as allureIcons,pL as d3Arc,gL as d3Pie,QN as defaultTrendChartAxisBottomConfig,JN as defaultTrendChartAxisLeftConfig,nL as defaultTrendChartConfig,XN as defaultTrendChartLegendConfig,KN as defaultTrendChartMarginConfig,eL as defaultTrendChartXScaleConfig,tL as defaultTrendChartYScaleConfig,bL as getChartData,mL as getPercentage,sL as makeSymlogScale,cL as makeSymlogScaleBySeries};
|
|
29
29
|
//# sourceMappingURL=index.js.map
|