@allurereport/web-components 3.13.0 → 3.13.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -17,9 +17,9 @@ import{options as e,Component as t,createElement as n,Fragment as r,toChildArray
17
17
  */e.exports&&(e.exports=t),void 0!==B&&(B.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(/&amp;/,"&"))})),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 l=s.appendChild(document.createElement("CODE"));l.textContent="Loading…";var c=s.getAttribute("data-src"),u=a.language;if("none"===u){var d=(/\.(\w+)$/.exec(c)||[,"none"])[1];u=e[d]||d}t.util.setLanguage(l,u),t.util.setLanguage(s,u);var f=t.plugins.autoloader;f&&f.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)}(c,(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],c=null==r[1]?o.length:r[1];a<0&&(a+=o.length),a=Math.max(0,Math.min(a-1,o.length)),c<0&&(c+=o.length),c=Math.max(0,Math.min(c,o.length)),e=o.slice(a,c).join("\n"),s.hasAttribute("data-start")||s.setAttribute("data-start",String(a+1))}l.textContent=e,t.highlightElement(l)}),(function(e){s.setAttribute(n,"failed"),l.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)}}}()}(V)),V.exports),Y=j(G);Y.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:/[{}[\];(),.:]/},Y.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]},Y.languages.markup.tag.inside["attr-value"].inside.entity=Y.languages.markup.entity,Y.languages.markup.doctype.inside["internal-subset"].inside=Y.languages.markup,Y.hooks.add("wrap",(function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&amp;/,"&"))})),Object.defineProperty(Y.languages.markup.tag,"addInlined",{value:function(e,t){var n={};n["language-"+t]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:Y.languages[t]},n.cdata=/^<!\[CDATA\[|\]\]>$/i;var r={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:n}};r["language-"+t]={pattern:/[\s\S]+/,inside:Y.languages[t]};var i={};i[e]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,(function(){return e})),"i"),lookbehind:!0,greedy:!0,inside:r},Y.languages.insertBefore("markup","cdata",i)}}),Object.defineProperty(Y.languages.markup.tag,"addAttribute",{value:function(e,t){Y.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+e+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[t,"language-"+t],inside:Y.languages[t]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),Y.languages.html=Y.languages.markup,Y.languages.mathml=Y.languages.markup,Y.languages.svg=Y.languages.markup,Y.languages.xml=Y.languages.extend("markup",{}),Y.languages.ssml=Y.languages.xml,Y.languages.atom=Y.languages.xml,Y.languages.rss=Y.languages.xml,Y.languages.javascript=Y.languages.extend("clike",{"class-name":[Y.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}|\?\?=?|\?\.?|[~:]/}),Y.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,Y.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:Y.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:Y.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:Y.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:Y.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:Y.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),Y.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:Y.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"}}),Y.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),Y.languages.markup&&(Y.languages.markup.tag.addInlined("script","javascript"),Y.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")),Y.languages.js=Y.languages.javascript,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"))}(Y),function(e){var t=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function n(e){return e=e.replace(/<inner>/g,(function(){return t})),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+e+")")}var r=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,i=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,(function(){return r})),o=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;e.languages.markdown=e.languages.extend("markup",{}),e.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:e.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+i+o+"(?:"+i+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+i+o+")(?:"+i+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(r),inside:e.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+i+")"+o+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+i+"$"),inside:{"table-header":{pattern:RegExp(r),alias:"important",inside:e.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:n(/\b__(?:(?!_)<inner>|_(?:(?!_)<inner>)+_)+__\b|\*\*(?:(?!\*)<inner>|\*(?:(?!\*)<inner>)+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:n(/\b_(?:(?!_)<inner>|__(?:(?!_)<inner>)+__)+_\b|\*(?:(?!\*)<inner>|\*\*(?:(?!\*)<inner>)+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:n(/(~~?)(?:(?!~)<inner>)+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:n(/!?\[(?:(?!\])<inner>)+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\])<inner>)+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach((function(t){["url","bold","italic","strike","code-snippet"].forEach((function(n){t!==n&&(e.languages.markdown[t].inside.content.inside[n]=e.languages.markdown[n])}))})),e.hooks.add("after-tokenize",(function(e){"markdown"!==e.language&&"md"!==e.language||function e(t){if(t&&"string"!=typeof t)for(var n=0,r=t.length;n<r;n++){var i=t[n];if("code"===i.type){var o=i.content[1],a=i.content[3];if(o&&a&&"code-language"===o.type&&"code-block"===a.type&&"string"==typeof o.content){var s=o.content.replace(/\b#/g,"sharp").replace(/\b\+\+/g,"pp"),l="language-"+(s=(/[a-z][\w-]*/i.exec(s)||[""])[0].toLowerCase());a.alias?"string"==typeof a.alias?a.alias=[a.alias,l]:a.alias.push(l):a.alias=[l]}}else e(i.content)}}(e.tokens)})),e.hooks.add("wrap",(function(t){if("code-block"===t.type){for(var n="",r=0,i=t.classes.length;r<i;r++){var o=t.classes[r],c=/language-(.+)/.exec(o);if(c){n=c[1];break}}var u=e.languages[n];if(u)t.content=e.highlight(function(e){var t=e.replace(a,"");return t=t.replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,(function(e,t){var n;if("#"===(t=t.toLowerCase())[0])return n="x"===t[1]?parseInt(t.slice(2),16):Number(t.slice(1)),l(n);var r=s[t];return r||e})),t}(t.content),u,n);else if(n&&"none"!==n&&e.plugins.autoloader){var d="md-"+(new Date).valueOf()+"-"+Math.floor(1e16*Math.random());t.attributes.id=d,e.plugins.autoloader.loadLanguages(n,(function(){var t=document.getElementById(d);t&&(t.innerHTML=e.highlight(t.textContent,e.languages[n],n))}))}}}));var a=RegExp(e.languages.markup.tag.pattern.source,"gi"),s={amp:"&",lt:"<",gt:">",quot:'"'},l=String.fromCodePoint||String.fromCharCode;e.languages.md=e.languages.markdown}(Y);var Z;Z||(Z=1,function(e){e.languages.typescript=e.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),e.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete e.languages.typescript.parameter,delete e.languages.typescript["literal-property"];var t=e.languages.extend("typescript",{});delete t["class-name"],e.languages.typescript["class-name"].inside=t,e.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:t}}}}),e.languages.ts=e.languages.typescript}(Y)),Y.languages.csv={value:/[^\r\n,"]+|"(?:[^"]|"")*"(?!")/,punctuation:/,/},Y.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},Y.languages.webmanifest=Y.languages.json;var X;X||(X=1,function(e){var t=/\b(?:abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|exports|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|module|native|new|non-sealed|null|open|opens|package|permits|private|protected|provides|public|record(?!\s*[(){}[\]<>=%~.:,;?+\-*/&|^])|requires|return|sealed|short|static|strictfp|super|switch|synchronized|this|throw|throws|to|transient|transitive|try|uses|var|void|volatile|while|with|yield)\b/,n=/(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,r={pattern:RegExp(/(^|[^\w.])/.source+n+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}},punctuation:/\./}};e.languages.java=e.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"/,lookbehind:!0,greedy:!0},"class-name":[r,{pattern:RegExp(/(^|[^\w.])/.source+n+/[A-Z]\w*(?=\s+\w+\s*[;,=()]|\s*(?:\[[\s,]*\]\s*)?::\s*new\b)/.source),lookbehind:!0,inside:r.inside},{pattern:RegExp(/(\b(?:class|enum|extends|implements|instanceof|interface|new|record|throws)\s+)/.source+n+/[A-Z]\w*\b/.source),lookbehind:!0,inside:r.inside}],keyword:t,function:[e.languages.clike.function,{pattern:/(::\s*)[a-z_]\w*/,lookbehind:!0}],number:/\b0b[01][01_]*L?\b|\b0x(?:\.[\da-f_p+-]+|[\da-f_]+(?:\.[\da-f_p+-]+)?)\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfl]?/i,operator:{pattern:/(^|[^.])(?:<<=?|>>>?=?|->|--|\+\+|&&|\|\||::|[?:~]|[-+*/%&|^!=<>]=?)/m,lookbehind:!0},constant:/\b[A-Z][A-Z_\d]+\b/}),e.languages.insertBefore("java","string",{"triple-quoted-string":{pattern:/"""[ \t]*[\r\n](?:(?:"|"")?(?:\\.|[^"\\]))*"""/,greedy:!0,alias:"string"},char:{pattern:/'(?:\\.|[^'\\\r\n]){1,6}'/,greedy:!0}}),e.languages.insertBefore("java","class-name",{annotation:{pattern:/(^|[^.])@\w+(?:\s*\.\s*\w+)*/,lookbehind:!0,alias:"punctuation"},generics:{pattern:/<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&))*>)*>)*>)*>/,inside:{"class-name":r,keyword:t,punctuation:/[<>(),.:]/,operator:/[?&|]/}},import:[{pattern:RegExp(/(\bimport\s+)/.source+n+/(?:[A-Z]\w*|\*)(?=\s*;)/.source),lookbehind:!0,inside:{namespace:r.inside.namespace,punctuation:/\./,operator:/\*/,"class-name":/\w+/}},{pattern:RegExp(/(\bimport\s+static\s+)/.source+n+/(?:\w+|\*)(?=\s*;)/.source),lookbehind:!0,alias:"static",inside:{namespace:r.inside.namespace,static:/\b\w+$/,punctuation:/\./,operator:/\*/,"class-name":/\w+/}}],namespace:{pattern:RegExp(/(\b(?:exports|import(?:\s+static)?|module|open|opens|package|provides|requires|to|transitive|uses|with)\s+)(?!<keyword>)[a-z]\w*(?:\.[a-z]\w*)*\.?/.source.replace(/<keyword>/g,(function(){return t.source}))),lookbehind:!0,inside:{punctuation:/\./}}})}(Y));var K;K||(K=1,function(e){function t(e,t){return e.replace(/<<(\d+)>>/g,(function(e,n){return"(?:"+t[+n]+")"}))}function n(e,n,r){return RegExp(t(e,n),"")}function r(e,t){for(var n=0;n<t;n++)e=e.replace(/<<self>>/g,(function(){return"(?:"+e+")"}));return e.replace(/<<self>>/g,"[^\\s\\S]")}var i="bool byte char decimal double dynamic float int long object sbyte short string uint ulong ushort var void",o="class enum interface record struct",a="add alias and ascending async await by descending from(?=\\s*(?:\\w|$)) get global group into init(?=\\s*;) join let nameof not notnull on or orderby partial remove select set unmanaged value when where with(?=\\s*{)",s="abstract as base break case catch checked const continue default delegate do else event explicit extern finally fixed for foreach goto if implicit in internal is lock namespace new null operator out override params private protected public readonly ref return sealed sizeof stackalloc static switch this throw try typeof unchecked unsafe using virtual volatile while yield";function l(e){return"\\b(?:"+e.trim().replace(/ /g,"|")+")\\b"}var c=l(o),u=RegExp(l(i+" "+o+" "+a+" "+s)),d=l(o+" "+a+" "+s),f=l(i+" "+o+" "+s),h=r(/<(?:[^<>;=+\-*/%&|^]|<<self>>)*>/.source,2),p=r(/\((?:[^()]|<<self>>)*\)/.source,2),g=/@?\b[A-Za-z_]\w*\b/.source,m=t(/<<0>>(?:\s*<<1>>)?/.source,[g,h]),v=t(/(?!<<0>>)<<1>>(?:\s*\.\s*<<1>>)*/.source,[d,m]),b=/\[\s*(?:,\s*)*\]/.source,y=t(/<<0>>(?:\s*(?:\?\s*)?<<1>>)*(?:\s*\?)?/.source,[v,b]),_=t(/[^,()<>[\];=+\-*/%&|^]|<<0>>|<<1>>|<<2>>/.source,[h,p,b]),x=t(/\(<<0>>+(?:,<<0>>+)+\)/.source,[_]),w=t(/(?:<<0>>|<<1>>)(?:\s*(?:\?\s*)?<<2>>)*(?:\s*\?)?/.source,[x,v,b]),k={keyword:u,punctuation:/[<>()?,.:[\]]/},C=/'(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'/.source,A=/"(?:\\.|[^\\"\r\n])*"/.source,S=/@"(?:""|\\[\s\S]|[^\\"])*"(?!")/.source;e.languages.csharp=e.languages.extend("clike",{string:[{pattern:n(/(^|[^$\\])<<0>>/.source,[S]),lookbehind:!0,greedy:!0},{pattern:n(/(^|[^@$\\])<<0>>/.source,[A]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:n(/(\busing\s+static\s+)<<0>>(?=\s*;)/.source,[v]),lookbehind:!0,inside:k},{pattern:n(/(\busing\s+<<0>>\s*=\s*)<<1>>(?=\s*;)/.source,[g,w]),lookbehind:!0,inside:k},{pattern:n(/(\busing\s+)<<0>>(?=\s*=)/.source,[g]),lookbehind:!0},{pattern:n(/(\b<<0>>\s+)<<1>>/.source,[c,m]),lookbehind:!0,inside:k},{pattern:n(/(\bcatch\s*\(\s*)<<0>>/.source,[v]),lookbehind:!0,inside:k},{pattern:n(/(\bwhere\s+)<<0>>/.source,[g]),lookbehind:!0},{pattern:n(/(\b(?:is(?:\s+not)?|as)\s+)<<0>>/.source,[y]),lookbehind:!0,inside:k},{pattern:n(/\b<<0>>(?=\s+(?!<<1>>|with\s*\{)<<2>>(?:\s*[=,;:{)\]]|\s+(?:in|when)\b))/.source,[w,f,g]),inside:k}],keyword:u,number:/(?:\b0(?:x[\da-f_]*[\da-f]|b[01_]*[01])|(?:\B\.\d+(?:_+\d+)*|\b\d+(?:_+\d+)*(?:\.\d+(?:_+\d+)*)?)(?:e[-+]?\d+(?:_+\d+)*)?)(?:[dflmu]|lu|ul)?\b/i,operator:/>>=?|<<=?|[-=]>|([-+&|])\1|~|\?\?=?|[-+*/%&|^!=<>]=?/,punctuation:/\?\.?|::|[{}[\];(),.:]/}),e.languages.insertBefore("csharp","number",{range:{pattern:/\.\./,alias:"operator"}}),e.languages.insertBefore("csharp","punctuation",{"named-parameter":{pattern:n(/([(,]\s*)<<0>>(?=\s*:)/.source,[g]),lookbehind:!0,alias:"punctuation"}}),e.languages.insertBefore("csharp","class-name",{namespace:{pattern:n(/(\b(?:namespace|using)\s+)<<0>>(?:\s*\.\s*<<0>>)*(?=\s*[;{])/.source,[g]),lookbehind:!0,inside:{punctuation:/\./}},"type-expression":{pattern:n(/(\b(?:default|sizeof|typeof)\s*\(\s*(?!\s))(?:[^()\s]|\s(?!\s)|<<0>>)*(?=\s*\))/.source,[p]),lookbehind:!0,alias:"class-name",inside:k},"return-type":{pattern:n(/<<0>>(?=\s+(?:<<1>>\s*(?:=>|[({]|\.\s*this\s*\[)|this\s*\[))/.source,[w,v]),inside:k,alias:"class-name"},"constructor-invocation":{pattern:n(/(\bnew\s+)<<0>>(?=\s*[[({])/.source,[w]),lookbehind:!0,inside:k,alias:"class-name"},"generic-method":{pattern:n(/<<0>>\s*<<1>>(?=\s*\()/.source,[g,h]),inside:{function:n(/^<<0>>/.source,[g]),generic:{pattern:RegExp(h),alias:"class-name",inside:k}}},"type-list":{pattern:n(/\b((?:<<0>>\s+<<1>>|record\s+<<1>>\s*<<5>>|where\s+<<2>>)\s*:\s*)(?:<<3>>|<<4>>|<<1>>\s*<<5>>|<<6>>)(?:\s*,\s*(?:<<3>>|<<4>>|<<6>>))*(?=\s*(?:where|[{;]|=>|$))/.source,[c,m,g,w,u.source,p,/\bnew\s*\(\s*\)/.source]),lookbehind:!0,inside:{"record-arguments":{pattern:n(/(^(?!new\s*\()<<0>>\s*)<<1>>/.source,[m,p]),lookbehind:!0,greedy:!0,inside:e.languages.csharp},keyword:u,"class-name":{pattern:RegExp(w),greedy:!0,inside:k},punctuation:/[,()]/}},preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(#)\b(?:define|elif|else|endif|endregion|error|if|line|nullable|pragma|region|undef|warning)\b/,lookbehind:!0,alias:"keyword"}}}});var M=A+"|"+C,E=t(/\/(?![*/])|\/\/[^\r\n]*[\r\n]|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>/.source,[M]),L=r(t(/[^"'/()]|<<0>>|\(<<self>>*\)/.source,[E]),2),T=/\b(?:assembly|event|field|method|module|param|property|return|type)\b/.source,D=t(/<<0>>(?:\s*\(<<1>>*\))?/.source,[v,L]);e.languages.insertBefore("csharp","class-name",{attribute:{pattern:n(/((?:^|[^\s\w>)?])\s*\[\s*)(?:<<0>>\s*:\s*)?<<1>>(?:\s*,\s*<<1>>)*(?=\s*\])/.source,[T,D]),lookbehind:!0,greedy:!0,inside:{target:{pattern:n(/^<<0>>(?=\s*:)/.source,[T]),alias:"keyword"},"attribute-arguments":{pattern:n(/\(<<0>>*\)/.source,[L]),inside:e.languages.csharp},"class-name":{pattern:RegExp(v),inside:{punctuation:/\./}},punctuation:/[:,]/}}});var F=/:[^}\r\n]+/.source,O=r(t(/[^"'/()]|<<0>>|\(<<self>>*\)/.source,[E]),2),z=t(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[O,F]),R=r(t(/[^"'/()]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>|\(<<self>>*\)/.source,[M]),2),N=t(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[R,F]);function P(t,r){return{interpolation:{pattern:n(/((?:^|[^{])(?:\{\{)*)<<0>>/.source,[t]),lookbehind:!0,inside:{"format-string":{pattern:n(/(^\{(?:(?![}:])<<0>>)*)<<1>>(?=\}$)/.source,[r,F]),lookbehind:!0,inside:{punctuation:/^:/}},punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-csharp",inside:e.languages.csharp}}},string:/[\s\S]+/}}e.languages.insertBefore("csharp","string",{"interpolation-string":[{pattern:n(/(^|[^\\])(?:\$@|@\$)"(?:""|\\[\s\S]|\{\{|<<0>>|[^\\{"])*"/.source,[z]),lookbehind:!0,greedy:!0,inside:P(z,O)},{pattern:n(/(^|[^@\\])\$"(?:\\.|\{\{|<<0>>|[^\\"{])*"/.source,[N]),lookbehind:!0,greedy:!0,inside:P(N,R)}],char:{pattern:RegExp(C),greedy:!0}}),e.languages.dotnet=e.languages.cs=e.languages.csharp}(Y)),function(e){e.languages.kotlin=e.languages.extend("clike",{keyword:{pattern:/(^|[^.])\b(?:abstract|actual|annotation|as|break|by|catch|class|companion|const|constructor|continue|crossinline|data|do|dynamic|else|enum|expect|external|final|finally|for|fun|get|if|import|in|infix|init|inline|inner|interface|internal|is|lateinit|noinline|null|object|open|operator|out|override|package|private|protected|public|reified|return|sealed|set|super|suspend|tailrec|this|throw|to|try|typealias|val|var|vararg|when|where|while)\b/,lookbehind:!0},function:[{pattern:/(?:`[^\r\n`]+`|\b\w+)(?=\s*\()/,greedy:!0},{pattern:/(\.)(?:`[^\r\n`]+`|\w+)(?=\s*\{)/,lookbehind:!0,greedy:!0}],number:/\b(?:0[xX][\da-fA-F]+(?:_[\da-fA-F]+)*|0[bB][01]+(?:_[01]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?[fFL]?)\b/,operator:/\+[+=]?|-[-=>]?|==?=?|!(?:!|==?)?|[\/*%<>]=?|[?:]:?|\.\.|&&|\|\||\b(?:and|inv|or|shl|shr|ushr|xor)\b/}),delete e.languages.kotlin["class-name"];var t={"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:e.languages.kotlin}};e.languages.insertBefore("kotlin","string",{"string-literal":[{pattern:/"""(?:[^$]|\$(?:(?!\{)|\{[^{}]*\}))*?"""/,alias:"multiline",inside:{interpolation:{pattern:/\$(?:[a-z_]\w*|\{[^{}]*\})/i,inside:t},string:/[\s\S]+/}},{pattern:/"(?:[^"\\\r\n$]|\\.|\$(?:(?!\{)|\{[^{}]*\}))*"/,alias:"singleline",inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:[a-z_]\w*|\{[^{}]*\})/i,lookbehind:!0,inside:t},string:/[\s\S]+/}}],char:{pattern:/'(?:[^'\\\r\n]|\\(?:.|u[a-fA-F0-9]{0,4}))'/,greedy:!0}}),delete e.languages.kotlin.string,e.languages.insertBefore("kotlin","keyword",{annotation:{pattern:/\B@(?:\w+:)?(?:[A-Z]\w*|\[[^\]]+\])/,alias:"builtin"}}),e.languages.insertBefore("kotlin","function",{label:{pattern:/\b\w+@|@\w+\b/,alias:"symbol"}}),e.languages.kt=e.languages.kotlin,e.languages.kts=e.languages.kotlin}(Y);var J;J||(J=1,Y.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},Y.languages.python["string-interpolation"].inside.interpolation.inside.rest=Y.languages.python,Y.languages.py=Y.languages.python);var Q;Q||(Q=1,function(e){e.languages.ruby=e.languages.extend("clike",{comment:{pattern:/#.*|^=begin\s[\s\S]*?^=end/m,greedy:!0},"class-name":{pattern:/(\b(?:class|module)\s+|\bcatch\s+\()[\w.\\]+|\b[A-Z_]\w*(?=\s*\.\s*new\b)/,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:BEGIN|END|alias|and|begin|break|case|class|def|define_method|defined|do|each|else|elsif|end|ensure|extend|for|if|in|include|module|new|next|nil|not|or|prepend|private|protected|public|raise|redo|require|rescue|retry|return|self|super|then|throw|undef|unless|until|when|while|yield)\b/,operator:/\.{2,3}|&\.|===|<?=>|[!=]?~|(?:&&|\|\||<<|>>|\*\*|[+\-*/%<>!^&|=])=?|[?:]/,punctuation:/[(){}[\].,;]/}),e.languages.insertBefore("ruby","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}});var t={pattern:/((?:^|[^\\])(?:\\{2})*)#\{(?:[^{}]|\{[^{}]*\})*\}/,lookbehind:!0,inside:{content:{pattern:/^(#\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:e.languages.ruby},delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"}}};delete e.languages.ruby.function;var n="(?:"+[/([^a-zA-Z0-9\s{(\[<=])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/\((?:[^()\\]|\\[\s\S]|\((?:[^()\\]|\\[\s\S])*\))*\)/.source,/\{(?:[^{}\\]|\\[\s\S]|\{(?:[^{}\\]|\\[\s\S])*\})*\}/.source,/\[(?:[^\[\]\\]|\\[\s\S]|\[(?:[^\[\]\\]|\\[\s\S])*\])*\]/.source,/<(?:[^<>\\]|\\[\s\S]|<(?:[^<>\\]|\\[\s\S])*>)*>/.source].join("|")+")",r=/(?:"(?:\\.|[^"\\\r\n])*"|(?:\b[a-zA-Z_]\w*|[^\s\0-\x7F]+)[?!]?|\$.)/.source;e.languages.insertBefore("ruby","keyword",{"regex-literal":[{pattern:RegExp(/%r/.source+n+/[egimnosux]{0,6}/.source),greedy:!0,inside:{interpolation:t,regex:/[\s\S]+/}},{pattern:/(^|[^/])\/(?!\/)(?:\[[^\r\n\]]+\]|\\.|[^[/\\\r\n])+\/[egimnosux]{0,6}(?=\s*(?:$|[\r\n,.;})#]))/,lookbehind:!0,greedy:!0,inside:{interpolation:t,regex:/[\s\S]+/}}],variable:/[@$]+[a-zA-Z_]\w*(?:[?!]|\b)/,symbol:[{pattern:RegExp(/(^|[^:]):/.source+r),lookbehind:!0,greedy:!0},{pattern:RegExp(/([\r\n{(,][ \t]*)/.source+r+/(?=:(?!:))/.source),lookbehind:!0,greedy:!0}],"method-definition":{pattern:/(\bdef\s+)\w+(?:\s*\.\s*\w+)?/,lookbehind:!0,inside:{function:/\b\w+$/,keyword:/^self\b/,"class-name":/^\w+/,punctuation:/\./}}}),e.languages.insertBefore("ruby","string",{"string-literal":[{pattern:RegExp(/%[qQiIwWs]?/.source+n),greedy:!0,inside:{interpolation:t,string:/[\s\S]+/}},{pattern:/("|')(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|(?!\1)[^\\#\r\n])*\1/,greedy:!0,inside:{interpolation:t,string:/[\s\S]+/}},{pattern:/<<[-~]?([a-z_]\w*)[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?[a-z_]\w*|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?/}},interpolation:t,string:/[\s\S]+/}},{pattern:/<<[-~]?'([a-z_]\w*)'[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?'[a-z_]\w*'|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?'|'$/}},string:/[\s\S]+/}}],"command-literal":[{pattern:RegExp(/%x/.source+n),greedy:!0,inside:{interpolation:t,command:{pattern:/[\s\S]+/,alias:"string"}}},{pattern:/`(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|[^\\`#\r\n])*`/,greedy:!0,inside:{interpolation:t,command:{pattern:/[\s\S]+/,alias:"string"}}}]}),delete e.languages.ruby.string,e.languages.insertBefore("ruby","number",{builtin:/\b(?:Array|Bignum|Binding|Class|Continuation|Dir|Exception|FalseClass|File|Fixnum|Float|Hash|IO|Integer|MatchData|Method|Module|NilClass|Numeric|Object|Proc|Range|Regexp|Stat|String|Struct|Symbol|TMS|Thread|ThreadGroup|Time|TrueClass)\b/,constant:/\b[A-Z][A-Z0-9_]*(?:[?!]|\b)/}),e.languages.rb=e.languages.ruby}(Y)),function(e){var t=/(?:\r?\n|\r)[ \t]*\|.+\|(?:(?!\|).)*/.source;e.languages.gherkin={pystring:{pattern:/("""|''')[\s\S]+?\1/,alias:"string"},comment:{pattern:/(^[ \t]*)#.*/m,lookbehind:!0},tag:{pattern:/(^[ \t]*)@\S*/m,lookbehind:!0},feature:{pattern:/((?:^|\r?\n|\r)[ \t]*)(?:Ability|Ahoy matey!|Arwedd|Aspekt|Besigheid Behoefte|Business Need|Caracteristica|Característica|Egenskab|Egenskap|Eiginleiki|Feature|Fīča|Fitur|Fonctionnalité|Fonksyonalite|Funcionalidade|Funcionalitat|Functionalitate|Funcţionalitate|Funcționalitate|Functionaliteit|Fungsi|Funkcia|Funkcija|Funkcionalitāte|Funkcionalnost|Funkcja|Funksie|Funktionalität|Funktionalitéit|Funzionalità|Hwaet|Hwæt|Jellemző|Karakteristik|Lastnost|Mak|Mogucnost|laH|Mogućnost|Moznosti|Možnosti|OH HAI|Omadus|Ominaisuus|Osobina|Özellik|Potrzeba biznesowa|perbogh|poQbogh malja'|Požadavek|Požiadavka|Pretty much|Qap|Qu'meH 'ut|Savybė|Tính năng|Trajto|Vermoë|Vlastnosť|Właściwość|Značilnost|Δυνατότητα|Λειτουργία|Могућност|Мөмкинлек|Особина|Свойство|Үзенчәлеклелек|Функционал|Функционалност|Функция|Функціонал|תכונה|خاصية|خصوصیت|صلاحیت|کاروبار کی ضرورت|وِیژگی|रूप लेख|ਖਾਸੀਅਤ|ਨਕਸ਼ ਨੁਹਾਰ|ਮੁਹਾਂਦਰਾ|గుణము|ಹೆಚ್ಚಳ|ความต้องการทางธุรกิจ|ความสามารถ|โครงหลัก|기능|フィーチャ|功能|機能):(?:[^:\r\n]+(?:\r?\n|\r|$))*/,lookbehind:!0,inside:{important:{pattern:/(:)[^\r\n]+/,lookbehind:!0},keyword:/[^:\r\n]+:/}},scenario:{pattern:/(^[ \t]*)(?:Abstract Scenario|Abstrakt Scenario|Achtergrond|Aer|Ær|Agtergrond|All y'all|Antecedentes|Antecedents|Atburðarás|Atburðarásir|Awww, look mate|B4|Background|Baggrund|Bakgrund|Bakgrunn|Bakgrunnur|Beispiele|Beispiller|Bối cảnh|Cefndir|Cenario|Cenário|Cenario de Fundo|Cenário de Fundo|Cenarios|Cenários|Contesto|Context|Contexte|Contexto|Conto|Contoh|Contone|Dæmi|Dasar|Dead men tell no tales|Delineacao do Cenario|Delineação do Cenário|Dis is what went down|Dữ liệu|Dyagram Senaryo|Dyagram senaryo|Egzanp|Ejemplos|Eksempler|Ekzemploj|Enghreifftiau|Esbozo do escenario|Escenari|Escenario|Esempi|Esquema de l'escenari|Esquema del escenario|Esquema do Cenario|Esquema do Cenário|EXAMPLZ|Examples|Exempel|Exemple|Exemples|Exemplos|First off|Fono|Forgatókönyv|Forgatókönyv vázlat|Fundo|Geçmiş|Grundlage|Hannergrond|ghantoH|Háttér|Heave to|Istorik|Juhtumid|Keadaan|Khung kịch bản|Khung tình huống|Kịch bản|Koncept|Konsep skenario|Kontèks|Kontekst|Kontekstas|Konteksts|Kontext|Konturo de la scenaro|Latar Belakang|lut chovnatlh|lut|lutmey|Lýsing Atburðarásar|Lýsing Dæma|MISHUN SRSLY|MISHUN|Menggariskan Senario|mo'|Náčrt Scenára|Náčrt Scénáře|Náčrt Scenáru|Oris scenarija|Örnekler|Osnova|Osnova Scenára|Osnova scénáře|Osnutek|Ozadje|Paraugs|Pavyzdžiai|Példák|Piemēri|Plan du scénario|Plan du Scénario|Plan Senaryo|Plan senaryo|Plang vum Szenario|Pozadí|Pozadie|Pozadina|Príklady|Příklady|Primer|Primeri|Primjeri|Przykłady|Raamstsenaarium|Reckon it's like|Rerefons|Scenár|Scénář|Scenarie|Scenarij|Scenarijai|Scenarijaus šablonas|Scenariji|Scenārijs|Scenārijs pēc parauga|Scenarijus|Scenario|Scénario|Scenario Amlinellol|Scenario Outline|Scenario Template|Scenariomal|Scenariomall|Scenarios|Scenariu|Scenariusz|Scenaro|Schema dello scenario|Se ðe|Se the|Se þe|Senario|Senaryo Deskripsyon|Senaryo deskripsyon|Senaryo|Senaryo taslağı|Shiver me timbers|Situācija|Situai|Situasie Uiteensetting|Situasie|Skenario konsep|Skenario|Skica|Structura scenariu|Structură scenariu|Struktura scenarija|Stsenaarium|Swa hwaer swa|Swa|Swa hwær swa|Szablon scenariusza|Szenario|Szenariogrundriss|Tapaukset|Tapaus|Tapausaihio|Taust|Tausta|Template Keadaan|Template Senario|Template Situai|The thing of it is|Tình huống|Variantai|Voorbeelde|Voorbeelden|Wharrimean is|Yo-ho-ho|You'll wanna|Założenia|Παραδείγματα|Περιγραφή Σεναρίου|Σενάρια|Σενάριο|Υπόβαθρο|Кереш|Контекст|Концепт|Мисаллар|Мисоллар|Основа|Передумова|Позадина|Предистория|Предыстория|Приклади|Пример|Примери|Примеры|Рамка на сценарий|Скица|Структура сценарија|Структура сценария|Структура сценарію|Сценарий|Сценарий структураси|Сценарийның төзелеше|Сценарији|Сценарио|Сценарій|Тарих|Үрнәкләр|דוגמאות|רקע|תבנית תרחיש|תרחיש|الخلفية|الگوی سناریو|امثلة|پس منظر|زمینه|سناریو|سيناريو|سيناريو مخطط|مثالیں|منظر نامے کا خاکہ|منظرنامہ|نمونه ها|उदाहरण|परिदृश्य|परिदृश्य रूपरेखा|पृष्ठभूमि|ਉਦਾਹਰਨਾਂ|ਪਟਕਥਾ|ਪਟਕਥਾ ਢਾਂਚਾ|ਪਟਕਥਾ ਰੂਪ ਰੇਖਾ|ਪਿਛੋਕੜ|ఉదాహరణలు|కథనం|నేపథ్యం|సన్నివేశం|ಉದಾಹರಣೆಗಳು|ಕಥಾಸಾರಾಂಶ|ವಿವರಣೆ|ಹಿನ್ನೆಲೆ|โครงสร้างของเหตุการณ์|ชุดของตัวอย่าง|ชุดของเหตุการณ์|แนวคิด|สรุปเหตุการณ์|เหตุการณ์|배경|시나리오|시나리오 개요|예|サンプル|シナリオ|シナリオアウトライン|シナリオテンプレ|シナリオテンプレート|テンプレ|例|例子|剧本|剧本大纲|劇本|劇本大綱|场景|场景大纲|場景|場景大綱|背景):[^:\r\n]*/m,lookbehind:!0,inside:{important:{pattern:/(:)[^\r\n]*/,lookbehind:!0},keyword:/[^:\r\n]+:/}},"table-body":{pattern:RegExp("("+t+")(?:"+t+")+"),lookbehind:!0,inside:{outline:{pattern:/<[^>]+>/,alias:"variable"},td:{pattern:/\s*[^\s|][^|]*/,alias:"string"},punctuation:/\|/}},"table-head":{pattern:RegExp(t),inside:{th:{pattern:/\s*[^\s|][^|]*/,alias:"variable"},punctuation:/\|/}},atrule:{pattern:/(^[ \t]+)(?:'a|'ach|'ej|7|a|A také|A taktiež|A tiež|A zároveň|Aber|Ac|Adott|Akkor|Ak|Aleshores|Ale|Ali|Allora|Alors|Als|Ama|Amennyiben|Amikor|Ampak|an|AN|Ananging|And y'all|And|Angenommen|Anrhegedig a|An|Apabila|Atès|Atesa|Atunci|Avast!|Aye|A|awer|Bagi|Banjur|Bet|Biết|Blimey!|Buh|But at the end of the day I reckon|But y'all|But|BUT|Cal|Când|Cand|Cando|Ce|Cuando|Če|Ða ðe|Ða|Dadas|Dada|Dados|Dado|DaH ghu' bejlu'|dann|Dann|Dano|Dan|Dar|Dat fiind|Data|Date fiind|Date|Dati fiind|Dati|Daţi fiind|Dați fiind|DEN|Dato|De|Den youse gotta|Dengan|Diberi|Diyelim ki|Donada|Donat|Donitaĵo|Do|Dun|Duota|Ðurh|Eeldades|Ef|Eğer ki|Entao|Então|Entón|E|En|Entonces|Epi|És|Etant donnée|Etant donné|Et|Étant données|Étant donnée|Étant donné|Etant données|Etant donnés|Étant donnés|Fakat|Gangway!|Gdy|Gegeben seien|Gegeben sei|Gegeven|Gegewe|ghu' noblu'|Gitt|Given y'all|Given|Givet|Givun|Ha|Cho|I CAN HAZ|In|Ir|It's just unbelievable|I|Ja|Jeśli|Jeżeli|Kad|Kada|Kadar|Kai|Kaj|Když|Keď|Kemudian|Ketika|Khi|Kiedy|Ko|Kuid|Kui|Kun|Lan|latlh|Le sa a|Let go and haul|Le|Lè sa a|Lè|Logo|Lorsqu'<|Lorsque|mä|Maar|Mais|Mając|Ma|Majd|Maka|Manawa|Mas|Men|Menawa|Mutta|Nalika|Nalikaning|Nanging|Når|När|Nato|Nhưng|Niin|Njuk|O zaman|Och|Og|Oletetaan|Ond|Onda|Oraz|Pak|Pero|Però|Podano|Pokiaľ|Pokud|Potem|Potom|Privzeto|Pryd|Quan|Quand|Quando|qaSDI'|Så|Sed|Se|Siis|Sipoze ke|Sipoze Ke|Sipoze|Si|Şi|Și|Soit|Stel|Tada|Tad|Takrat|Tak|Tapi|Ter|Tetapi|Tha the|Tha|Then y'all|Then|Thì|Thurh|Toda|Too right|Un|Und|ugeholl|Và|vaj|Vendar|Ve|wann|Wanneer|WEN|Wenn|When y'all|When|Wtedy|Wun|Y'know|Yeah nah|Yna|Youse know like when|Youse know when youse got|Y|Za predpokladu|Za předpokladu|Zadan|Zadani|Zadano|Zadate|Zadato|Zakładając|Zaradi|Zatati|Þa þe|Þa|Þá|Þegar|Þurh|Αλλά|Δεδομένου|Και|Όταν|Τότε|А також|Агар|Але|Али|Аммо|А|Әгәр|Әйтик|Әмма|Бирок|Ва|Вә|Дадено|Дано|Допустим|Если|Задате|Задати|Задато|И|І|К тому же|Када|Кад|Когато|Когда|Коли|Ләкин|Лекин|Нәтиҗәдә|Нехай|Но|Онда|Припустимо, що|Припустимо|Пусть|Также|Та|Тогда|Тоді|То|Унда|Һәм|Якщо|אבל|אזי|אז|בהינתן|וגם|כאשר|آنگاه|اذاً|اگر|اما|اور|با فرض|بالفرض|بفرض|پھر|تب|ثم|جب|عندما|فرض کیا|لكن|لیکن|متى|هنگامی|و|अगर|और|कदा|किन्तु|चूंकि|जब|तथा|तदा|तब|परन्तु|पर|यदि|ਅਤੇ|ਜਦੋਂ|ਜਿਵੇਂ ਕਿ|ਜੇਕਰ|ਤਦ|ਪਰ|అప్పుడు|ఈ పరిస్థితిలో|కాని|చెప్పబడినది|మరియు|ಆದರೆ|ನಂತರ|ನೀಡಿದ|ಮತ್ತು|ಸ್ಥಿತಿಯನ್ನು|กำหนดให้|ดังนั้น|แต่|เมื่อ|และ|그러면<|그리고<|단<|만약<|만일<|먼저<|조건<|하지만<|かつ<|しかし<|ただし<|ならば<|もし<|並且<|但し<|但是<|假如<|假定<|假設<|假设<|前提<|同时<|同時<|并且<|当<|當<|而且<|那么<|那麼<)(?=[ \t])/m,lookbehind:!0},string:{pattern:/"(?:\\.|[^"\\\r\n])*"|'(?:\\.|[^'\\\r\n])*'/,inside:{outline:{pattern:/<[^>]+>/,alias:"variable"}}},outline:{pattern:/<[^>]+>/,alias:"variable"}}}(Y),Y.languages.go=Y.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|false|iota|nil|true)\b/,number:[/\b0(?:b[01_]+|o[0-7_]+)i?\b/i,/\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,/(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i],operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/}),Y.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete Y.languages.go["class-name"],function(e){function t(e,t){return"___"+e.toUpperCase()+t+"___"}Object.defineProperties(e.languages["markup-templating"]={},{buildPlaceholders:{value:function(n,r,i,o){if(n.language===r){var a=n.tokenStack=[];n.code=n.code.replace(i,(function(e){if("function"==typeof o&&!o(e))return e;for(var i,s=a.length;-1!==n.code.indexOf(i=t(r,s));)++s;return a[s]=e,i})),n.grammar=e.languages.markup}}},tokenizePlaceholders:{value:function(n,r){if(n.language===r&&n.tokenStack){n.grammar=e.languages[r];var i=0,o=Object.keys(n.tokenStack);!function a(s){for(var l=0;l<s.length&&!(i>=o.length);l++){var c=s[l];if("string"==typeof c||c.content&&"string"==typeof c.content){var u=o[i],d=n.tokenStack[u],f="string"==typeof c?c:c.content,h=t(r,u),p=f.indexOf(h);if(p>-1){++i;var g=f.substring(0,p),m=new e.Token(r,e.tokenize(d,n.grammar),"language-"+r,d),v=f.substring(p+h.length),b=[];g&&b.push.apply(b,a([g])),b.push(m),v&&b.push.apply(b,a([v])),"string"==typeof c?s.splice.apply(s,[l,1].concat(b)):c.content=b}}else c.content&&a(c.content)}return s}(n.tokens)}}}})}(Y);var ee;ee||(ee=1,function(e){var t=/\/\*[\s\S]*?\*\/|\/\/.*|#(?!\[).*/,n=[{pattern:/\b(?:false|true)\b/i,alias:"boolean"},{pattern:/(::\s*)\b[a-z_]\w*\b(?!\s*\()/i,greedy:!0,lookbehind:!0},{pattern:/(\b(?:case|const)\s+)\b[a-z_]\w*(?=\s*[;=])/i,greedy:!0,lookbehind:!0},/\b(?:null)\b/i,/\b[A-Z_][A-Z0-9_]*\b(?!\s*\()/],r=/\b0b[01]+(?:_[01]+)*\b|\b0o[0-7]+(?:_[0-7]+)*\b|\b0x[\da-f]+(?:_[\da-f]+)*\b|(?:\b\d+(?:_\d+)*\.?(?:\d+(?:_\d+)*)?|\B\.\d+)(?:e[+-]?\d+)?/i,i=/<?=>|\?\?=?|\.{3}|\??->|[!=]=?=?|::|\*\*=?|--|\+\+|&&|\|\||<<|>>|[?~]|[/^|%*&<>.+-]=?/,o=/[{}\[\](),:;]/;e.languages.php={delimiter:{pattern:/\?>$|^<\?(?:php(?=\s)|=)?/i,alias:"important"},comment:t,variable:/\$+(?:\w+\b|(?=\{))/,package:{pattern:/(namespace\s+|use\s+(?:function\s+)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,lookbehind:!0,inside:{punctuation:/\\/}},"class-name-definition":{pattern:/(\b(?:class|enum|interface|trait)\s+)\b[a-z_]\w*(?!\\)\b/i,lookbehind:!0,alias:"class-name"},"function-definition":{pattern:/(\bfunction\s+)[a-z_]\w*(?=\s*\()/i,lookbehind:!0,alias:"function"},keyword:[{pattern:/(\(\s*)\b(?:array|bool|boolean|float|int|integer|object|string)\b(?=\s*\))/i,alias:"type-casting",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|object|self|static|string)\b(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|never|object|self|static|string|void)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/\b(?:array(?!\s*\()|bool|float|int|iterable|mixed|object|string|void)\b/i,alias:"type-declaration",greedy:!0},{pattern:/(\|\s*)(?:false|null)\b|\b(?:false|null)(?=\s*\|)/i,alias:"type-declaration",greedy:!0,lookbehind:!0},{pattern:/\b(?:parent|self|static)(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(\byield\s+)from\b/i,lookbehind:!0},/\bclass\b/i,{pattern:/((?:^|[^\s>:]|(?:^|[^-])>|(?:^|[^:]):)\s*)\b(?:abstract|and|array|as|break|callable|case|catch|clone|const|continue|declare|default|die|do|echo|else|elseif|empty|enddeclare|endfor|endforeach|endif|endswitch|endwhile|enum|eval|exit|extends|final|finally|fn|for|foreach|function|global|goto|if|implements|include|include_once|instanceof|insteadof|interface|isset|list|match|namespace|never|new|or|parent|print|private|protected|public|readonly|require|require_once|return|self|static|switch|throw|trait|try|unset|use|var|while|xor|yield|__halt_compiler)\b/i,lookbehind:!0}],"argument-name":{pattern:/([(,]\s*)\b[a-z_]\w*(?=\s*:(?!:))/i,lookbehind:!0},"class-name":[{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self|\s+static))\s+|\bcatch\s*\()\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/(\|\s*)\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/\b[a-z_]\w*(?!\\)\b(?=\s*\|)/i,greedy:!0},{pattern:/(\|\s*)(?:\\?\b[a-z_]\w*)+\b/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(?:\\?\b[a-z_]\w*)+\b(?=\s*\|)/i,alias:"class-name-fully-qualified",greedy:!0,inside:{punctuation:/\\/}},{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self\b|\s+static\b))\s+|\bcatch\s*\()(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*\$)/i,alias:"type-declaration",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-declaration"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*::)/i,alias:["class-name-fully-qualified","static-context"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/([(,?]\s*)[a-z_]\w*(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-hint"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b[a-z_]\w*(?!\\)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:["class-name-fully-qualified","return-type"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:n,function:{pattern:/(^|[^\\\w])\\?[a-z_](?:[\w\\]*\w)?(?=\s*\()/i,lookbehind:!0,inside:{punctuation:/\\/}},property:{pattern:/(->\s*)\w+/,lookbehind:!0},number:r,operator:i,punctuation:o};var a={pattern:/\{\$(?:\{(?:\{[^{}]+\}|[^{}]+)\}|[^{}])+\}|(^|[^\\{])\$+(?:\w+(?:\[[^\r\n\[\]]+\]|->\w+)?)/,lookbehind:!0,inside:e.languages.php},s=[{pattern:/<<<'([^']+)'[\r\n](?:.*[\r\n])*?\1;/,alias:"nowdoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<'[^']+'|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<'?|[';]$/}}}},{pattern:/<<<(?:"([^"]+)"[\r\n](?:.*[\r\n])*?\1;|([a-z_]\w*)[\r\n](?:.*[\r\n])*?\2;)/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<(?:"[^"]+"|[a-z_]\w*)|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<"?|[";]$/}},interpolation:a}},{pattern:/`(?:\\[\s\S]|[^\\`])*`/,alias:"backtick-quoted-string",greedy:!0},{pattern:/'(?:\\[\s\S]|[^\\'])*'/,alias:"single-quoted-string",greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,alias:"double-quoted-string",greedy:!0,inside:{interpolation:a}}];e.languages.insertBefore("php","variable",{string:s,attribute:{pattern:/#\[(?:[^"'\/#]|\/(?![*/])|\/\/.*$|#(?!\[).*$|\/\*(?:[^*]|\*(?!\/))*\*\/|"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*')+\](?=\s*[a-z$#])/im,greedy:!0,inside:{"attribute-content":{pattern:/^(#\[)[\s\S]+(?=\]$)/,lookbehind:!0,inside:{comment:t,string:s,"attribute-class-name":[{pattern:/([^:]|^)\b[a-z_]\w*(?!\\)\b/i,alias:"class-name",greedy:!0,lookbehind:!0},{pattern:/([^:]|^)(?:\\?\b[a-z_]\w*)+/i,alias:["class-name","class-name-fully-qualified"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:n,number:r,operator:i,punctuation:o}},delimiter:{pattern:/^#\[|\]$/,alias:"punctuation"}}}}),e.hooks.add("before-tokenize",(function(t){/<\?/.test(t.code)&&e.languages["markup-templating"].buildPlaceholders(t,"php",/<\?(?:[^"'/#]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|(?:\/\/|#(?!\[))(?:[^?\n\r]|\?(?!>))*(?=$|\?>|[\r\n])|#\[|\/\*(?:[^*]|\*(?!\/))*(?:\*\/|$))*?(?:\?>|$)/g)})),e.hooks.add("after-tokenize",(function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"php")}))}(Y));var te;te||(te=1,function(){if(void 0!==Y&&"undefined"!=typeof document){var e="line-numbers",t=/\n(?!$)/g,n=Y.plugins.lineNumbers={getLine:function(t,n){if("PRE"===t.tagName&&t.classList.contains(e)){var r=t.querySelector(".line-numbers-rows");if(r){var i=parseInt(t.getAttribute("data-start"),10)||1,o=i+(r.children.length-1);n<i&&(n=i),n>o&&(n=o);var a=n-i;return r.children[a]}}},resize:function(e){i([e])},assumeViewportIndependence:!0},r=void 0;window.addEventListener("resize",(function(){n.assumeViewportIndependence&&r===window.innerWidth||(r=window.innerWidth,i(Array.prototype.slice.call(document.querySelectorAll("pre."+e))))})),Y.hooks.add("complete",(function(n){if(n.code){var r=n.element,o=r.parentNode;if(o&&/pre/i.test(o.nodeName)&&!r.querySelector(".line-numbers-rows")&&Y.util.isActive(r,e)){r.classList.remove(e),o.classList.add(e);var a,s=n.code.match(t),l=s?s.length+1:1,c=new Array(l+1).join("<span></span>");(a=document.createElement("span")).setAttribute("aria-hidden","true"),a.className="line-numbers-rows",a.innerHTML=c,o.hasAttribute("data-start")&&(o.style.counterReset="linenumber "+(parseInt(o.getAttribute("data-start"),10)-1)),n.element.appendChild(a),i([o]),Y.hooks.run("line-numbers",n)}}})),Y.hooks.add("line-numbers",(function(e){e.plugins=e.plugins||{},e.plugins.lineNumbers=!0}))}function i(e){if(e=e.filter((function(e){var t,n=(t=e,t?window.getComputedStyle?getComputedStyle(t):t.currentStyle||null:null)["white-space"];return"pre-wrap"===n||"pre-line"===n})),0!=e.length){var n=e.map((function(e){var n=e.querySelector("code"),r=e.querySelector(".line-numbers-rows");if(n&&r){var i=e.querySelector(".line-numbers-sizer"),o=n.textContent.split(t);i||((i=document.createElement("span")).className="line-numbers-sizer",n.appendChild(i)),i.innerHTML="0",i.style.display="block";var a=i.getBoundingClientRect().height;return i.innerHTML="",{element:e,lines:o,lineHeights:[],oneLinerHeight:a,sizer:i}}})).filter(Boolean);n.forEach((function(e){var t=e.sizer,n=e.lines,r=e.lineHeights,i=e.oneLinerHeight;r[n.length-1]=void 0,n.forEach((function(e,n){if(e&&e.length>1){var o=t.appendChild(document.createElement("span"));o.style.display="block",o.textContent=e}else r[n]=i}))})),n.forEach((function(e){for(var t=e.sizer,n=e.lineHeights,r=0,i=0;i<n.length;i++)void 0===n[i]&&(n[i]=t.children[r++].getBoundingClientRect().height)})),n.forEach((function(e){var t=e.sizer,n=e.element.querySelector(".line-numbers-rows");t.style.display="none",t.innerHTML="",e.lineHeights.forEach((function(e,t){n.children[t].style.height=e+"px"}))}))}}}()),function(){if(void 0!==Y&&"undefined"!=typeof document){var e=[],t={},n=function(){};Y.plugins.toolbar={};var r=Y.plugins.toolbar.registerButton=function(n,r){var i;i="function"==typeof r?r:function(e){var t;return"function"==typeof r.onClick?((t=document.createElement("button")).type="button",t.addEventListener("click",(function(){r.onClick.call(this,e)}))):"string"==typeof r.url?(t=document.createElement("a")).href=r.url:t=document.createElement("span"),r.className&&t.classList.add(r.className),t.textContent=r.text,t},n in t?console.warn('There is a button with the key "'+n+'" registered already.'):e.push(t[n]=i)},i=Y.plugins.toolbar.hook=function(r){var i=r.element.parentNode;if(i&&/pre/i.test(i.nodeName)&&!i.parentNode.classList.contains("code-toolbar")){var o=document.createElement("div");o.classList.add("code-toolbar"),i.parentNode.insertBefore(o,i),o.appendChild(i);var a=document.createElement("div");a.classList.add("toolbar");var s=e,l=function(e){for(;e;){var t=e.getAttribute("data-toolbar-order");if(null!=t)return(t=t.trim()).length?t.split(/\s*,\s*/g):[];e=e.parentElement}}(r.element);l&&(s=l.map((function(e){return t[e]||n}))),s.forEach((function(e){var t=e(r);if(t){var n=document.createElement("div");n.classList.add("toolbar-item"),n.appendChild(t),a.appendChild(n)}})),o.appendChild(a)}};r("label",(function(e){var t=e.element.parentNode;if(t&&/pre/i.test(t.nodeName)&&t.hasAttribute("data-label")){var n,r,i=t.getAttribute("data-label");try{r=document.querySelector("template#"+i)}catch(e){}return r?n=r.content:(t.hasAttribute("data-url")?(n=document.createElement("a")).href=t.getAttribute("data-url"):n=document.createElement("span"),n.textContent=i),n}})),Y.hooks.add("complete",i)}}();var ne;function re(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=re(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function ie(){for(var e,t,n=0,r="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=re(e))&&(r&&(r+=" "),r+=t);return r}ne||(ne=1,function(){if(void 0!==Y&&"undefined"!=typeof document)if(Y.plugins.toolbar){var e={none:"Plain text",plain:"Plain text",plaintext:"Plain text",text:"Plain text",txt:"Plain text",html:"HTML",xml:"XML",svg:"SVG",mathml:"MathML",ssml:"SSML",rss:"RSS",css:"CSS",clike:"C-like",js:"JavaScript",abap:"ABAP",abnf:"ABNF",al:"AL",antlr4:"ANTLR4",g4:"ANTLR4",apacheconf:"Apache Configuration",apl:"APL",aql:"AQL",ino:"Arduino",arff:"ARFF",armasm:"ARM Assembly","arm-asm":"ARM Assembly",art:"Arturo",asciidoc:"AsciiDoc",adoc:"AsciiDoc",aspnet:"ASP.NET (C#)",asm6502:"6502 Assembly",asmatmel:"Atmel AVR Assembly",autohotkey:"AutoHotkey",autoit:"AutoIt",avisynth:"AviSynth",avs:"AviSynth","avro-idl":"Avro IDL",avdl:"Avro IDL",awk:"AWK",gawk:"GAWK",sh:"Shell",basic:"BASIC",bbcode:"BBcode",bbj:"BBj",bnf:"BNF",rbnf:"RBNF",bqn:"BQN",bsl:"BSL (1C:Enterprise)",oscript:"OneScript",csharp:"C#",cs:"C#",dotnet:"C#",cpp:"C++",cfscript:"CFScript",cfc:"CFScript",cil:"CIL",cilkc:"Cilk/C","cilk-c":"Cilk/C",cilkcpp:"Cilk/C++","cilk-cpp":"Cilk/C++",cilk:"Cilk/C++",cmake:"CMake",cobol:"COBOL",coffee:"CoffeeScript",conc:"Concurnas",csp:"Content-Security-Policy","css-extras":"CSS Extras",csv:"CSV",cue:"CUE",dataweave:"DataWeave",dax:"DAX",django:"Django/Jinja2",jinja2:"Django/Jinja2","dns-zone-file":"DNS zone file","dns-zone":"DNS zone file",dockerfile:"Docker",dot:"DOT (Graphviz)",gv:"DOT (Graphviz)",ebnf:"EBNF",editorconfig:"EditorConfig",ejs:"EJS",etlua:"Embedded Lua templating",erb:"ERB","excel-formula":"Excel Formula",xlsx:"Excel Formula",xls:"Excel Formula",fsharp:"F#","firestore-security-rules":"Firestore security rules",ftl:"FreeMarker Template Language",gml:"GameMaker Language",gamemakerlanguage:"GameMaker Language",gap:"GAP (CAS)",gcode:"G-code",gdscript:"GDScript",gedcom:"GEDCOM",gettext:"gettext",po:"gettext",glsl:"GLSL",gn:"GN",gni:"GN","linker-script":"GNU Linker Script",ld:"GNU Linker Script","go-module":"Go module","go-mod":"Go module",graphql:"GraphQL",hbs:"Handlebars",hs:"Haskell",hcl:"HCL",hlsl:"HLSL",http:"HTTP",hpkp:"HTTP Public-Key-Pins",hsts:"HTTP Strict-Transport-Security",ichigojam:"IchigoJam","icu-message-format":"ICU Message Format",idr:"Idris",ignore:".ignore",gitignore:".gitignore",hgignore:".hgignore",npmignore:".npmignore",inform7:"Inform 7",javadoc:"JavaDoc",javadoclike:"JavaDoc-like",javastacktrace:"Java stack trace",jq:"JQ",jsdoc:"JSDoc","js-extras":"JS Extras",json:"JSON",webmanifest:"Web App Manifest",json5:"JSON5",jsonp:"JSONP",jsstacktrace:"JS stack trace","js-templates":"JS Templates",keepalived:"Keepalived Configure",kts:"Kotlin Script",kt:"Kotlin",kumir:"KuMir (КуМир)",kum:"KuMir (КуМир)",latex:"LaTeX",tex:"TeX",context:"ConTeXt",lilypond:"LilyPond",ly:"LilyPond",emacs:"Lisp",elisp:"Lisp","emacs-lisp":"Lisp",llvm:"LLVM IR",log:"Log file",lolcode:"LOLCODE",magma:"Magma (CAS)",md:"Markdown","markup-templating":"Markup templating",matlab:"MATLAB",maxscript:"MAXScript",mel:"MEL",metafont:"METAFONT",mongodb:"MongoDB",moon:"MoonScript",n1ql:"N1QL",n4js:"N4JS",n4jsd:"N4JS","nand2tetris-hdl":"Nand To Tetris HDL",naniscript:"Naninovel Script",nani:"Naninovel Script",nasm:"NASM",neon:"NEON",nginx:"nginx",nsis:"NSIS",objectivec:"Objective-C",objc:"Objective-C",ocaml:"OCaml",opencl:"OpenCL",openqasm:"OpenQasm",qasm:"OpenQasm",parigp:"PARI/GP",objectpascal:"Object Pascal",psl:"PATROL Scripting Language",pcaxis:"PC-Axis",px:"PC-Axis",peoplecode:"PeopleCode",pcode:"PeopleCode",php:"PHP",phpdoc:"PHPDoc","php-extras":"PHP Extras","plant-uml":"PlantUML",plantuml:"PlantUML",plsql:"PL/SQL",powerquery:"PowerQuery",pq:"PowerQuery",mscript:"PowerQuery",powershell:"PowerShell",promql:"PromQL",properties:".properties",protobuf:"Protocol Buffers",purebasic:"PureBasic",pbfasm:"PureBasic",purs:"PureScript",py:"Python",qsharp:"Q#",qs:"Q#",q:"Q (kdb+ database)",qml:"QML",rkt:"Racket",cshtml:"Razor C#",razor:"Razor C#",jsx:"React JSX",tsx:"React TSX",renpy:"Ren'py",rpy:"Ren'py",res:"ReScript",rest:"reST (reStructuredText)",robotframework:"Robot Framework",robot:"Robot Framework",rb:"Ruby",sas:"SAS",sass:"Sass (Sass)",scss:"Sass (SCSS)","shell-session":"Shell session","sh-session":"Shell session",shellsession:"Shell session",sml:"SML",smlnj:"SML/NJ",solidity:"Solidity (Ethereum)",sol:"Solidity (Ethereum)","solution-file":"Solution file",sln:"Solution file",soy:"Soy (Closure Template)",sparql:"SPARQL",rq:"SPARQL","splunk-spl":"Splunk SPL",sqf:"SQF: Status Quo Function (Arma 3)",sql:"SQL",stata:"Stata Ado",iecst:"Structured Text (IEC 61131-3)",supercollider:"SuperCollider",sclang:"SuperCollider",systemd:"Systemd configuration file","t4-templating":"T4 templating","t4-cs":"T4 Text Templates (C#)",t4:"T4 Text Templates (C#)","t4-vb":"T4 Text Templates (VB)",tap:"TAP",tt2:"Template Toolkit 2",toml:"TOML",trickle:"trickle",troy:"troy",trig:"TriG",ts:"TypeScript",tsconfig:"TSConfig",uscript:"UnrealScript",uc:"UnrealScript",uorazor:"UO Razor Script",uri:"URI",url:"URL",vbnet:"VB.Net",vhdl:"VHDL",vim:"vim","visual-basic":"Visual Basic",vba:"VBA",vb:"Visual Basic",wasm:"WebAssembly","web-idl":"Web IDL",webidl:"Web IDL",wgsl:"WGSL",wiki:"Wiki markup",wolfram:"Wolfram language",nb:"Mathematica Notebook",wl:"Wolfram language",xeoracube:"XeoraCube","xml-doc":"XML doc (.net)",xojo:"Xojo (REALbasic)",xquery:"XQuery",yaml:"YAML",yml:"YAML",yang:"YANG"};Y.plugins.toolbar.registerButton("show-language",(function(t){var n=t.element.parentNode;if(n&&/pre/i.test(n.nodeName)){var r=n.getAttribute("data-language")||e[t.language]||function(e){return e?(e.substring(0,1).toUpperCase()+e.substring(1)).replace(/s(?=cript)/,"S"):e}(t.language);if(r){var i=document.createElement("span");return i.textContent=r,i}}}))}else console.warn("Show Languages plugin loaded before Toolbar plugin.")}()),globalThis.Prism=U;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self&&self;var oe={exports:{}};oe.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 ae=oe.exports;var se,le,ce={exports:{}};se=ce,(le=ce.exports).default={svg:{name:"xmlns",uri:"http://www.w3.org/2000/svg"},xlink:{name:"xmlns:xlink",uri:"http://www.w3.org/1999/xlink"}},se.exports=le.default;var ue=ce.exports;const{svg:de,xlink:fe}=ue,he={[de.name]:de.uri,[fe.name]:fe.uri};function pe(e="",t){const n=function(e){return Object.keys(e).map((t=>`${t}="${e[t].toString().replace(/"/g,"&quot;")}"`)).join(" ")}(ae(he,t||{}));return`<svg ${n}>${e}</svg>`}const{svg:ge,xlink:me}=ue;var ve={attrs:{[ge.name]:ge.uri,[me.name]:me.uri,style:["position: absolute","width: 0","height: 0"].join("; "),"aria-hidden":"true"}};class be{constructor(e){this.config=ae(ve,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,t=this.symbols.map((e=>e.stringify())).join("");return pe(t,e)}toString(){return this.stringify()}destroy(){this.symbols.forEach((e=>e.destroy()))}}class ye{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 _e(e){const t=!!document.importNode,n=(new DOMParser).parseFromString(e,"image/svg+xml").documentElement;return t?document.importNode(n,!0):n}class xe extends ye{get isMounted(){return!!this.node}static createFromExistingNode(e){return new xe({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 _e(pe(this.stringify())).childNodes[0]}unmount(){this.node.parentNode.removeChild(this.node)}}var we={autoConfigure:!0,mountTo:"body",syncUrlsWithBaseTag:!1,listenLocationChangeEvent:!0,locationChangeEvent:"locationChange",locationChangeAngularEmitter:!1,usagesToUpdate:"use[*|href]",moveGradientsOutsideSymbol:!1};function ke(e){return Array.prototype.slice.call(e,0)}var Ce=()=>/firefox/i.test(navigator.userAgent),Ae=()=>/msie/i.test(navigator.userAgent)||/trident/i.test(navigator.userAgent),Se=()=>/edge/i.test(navigator.userAgent);function Me(e){return(e||window.location.href).split("#")[0]}function Ee(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 Le(e,t="linearGradient, radialGradient, pattern, mask, clipPath"){return ke(e.querySelectorAll("symbol")).forEach((e=>{ke(e.querySelectorAll(t)).forEach((t=>{e.parentNode.insertBefore(t,e)}))})),e}const Te=ue.xlink.uri,De="xlink:href",Fe=/[{}|\\\^\[\]`"<>]/g;function Oe(e){return e.replace(Fe,(e=>`%${e[0].charCodeAt(0).toString(16).toUpperCase()}`))}const ze=["clipPath","colorProfile","src","cursor","fill","filter","marker","markerStart","markerMid","markerEnd","mask","stroke","style"],Re=ze.map((e=>`[${e}]`)).join(",");function Ne(e,t,n,r){const i=Oe(n),o=Oe(r),a=function(e,t){return ke(e).reduce(((e,n)=>{if(!n.attributes)return e;const r=ke(n.attributes),i=t?r.filter(t):r;return e.concat(i)}),[])}(e.querySelectorAll(Re),(({localName:e,value:t})=>-1!==ze.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){ke(e).forEach((e=>{const r=e.getAttribute(De);if(r&&0===r.indexOf(t)){const i=r.replace(t,n);e.setAttributeNS(Te,De,i)}}))}(t,i,o)}const Pe="mount",Ie="symbol_mount";const Be="__SVG_SPRITE_NODE__",je="__SVG_SPRITE__",We=()=>{const e=document.getElementById(Be);e?He.attach(e):He.mount(document.body,!0)};let He=new class extends be{constructor(e={}){super(ae(we,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(Pe,(()=>this.updateUrls("#",e)))}const i=this._handleLocationChange.bind(this);this._handleLocationChange=i,r.listenLocationChangeEvent&&window.addEventListener(r.locationChangeEvent,i),r.locationChangeAngularEmitter&&Ee(r.locationChangeEvent),t.on(Pe,(e=>{r.moveGradientsOutsideSymbol&&Le(e)})),t.on(Ie,(e=>{r.moveGradientsOutsideSymbol&&Le(e.parentNode),(Ae()||Se())&&function(e){const t=[];ke(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=Ce())}_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(Ie,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(Ie,e.node)})),ke(n.querySelectorAll("symbol")).forEach((e=>{const n=xe.createFromExistingNode(e);n.node=e,t.add(n)})),this._emitter.emit(Pe,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(Pe,i),i}render(){return _e(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 Ne(this.node,n,`${Me(e)}#`,`${Me(t)}#`),!0}}({attrs:{id:Be,"aria-hidden":"true"},autoConfigure:"undefined"!=typeof document,listenLocationChangeEvent:"undefined"!=typeof window});var qe,$e,Ue,Ve,Ge,Ye;"undefined"!=typeof window&&"undefined"!=typeof document&&(window[je]?He=window[je]:window[je]=He,document.body?We():($e=[],Ue=document,Ve=Ue.documentElement.doScroll,Ge="DOMContentLoaded",(Ye=(Ve?/^loaded|^c/:/^loaded|^i|^c/).test(Ue.readyState))||Ue.addEventListener(Ge,qe=function(){for(Ue.removeEventListener(Ge,qe),Ye=1;qe=$e.shift();)qe()}),function(e){Ye?setTimeout(e,0):$e.push(e)})(We));const Ze=new xe({id:"3cf198e5ab1bad8a5cfcd7df9010e2d9",content:'<symbol fill="#000000" viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg" id="3cf198e5ab1bad8a5cfcd7df9010e2d9"><title>ionicons-v5_logos</title><path d="M48.48,378.73a300.52,300.52,0,0,0,152.89,95.92,262.57,262.57,0,0,0,159.3-17.25,225.52,225.52,0,0,0,66.79-47,6.36,6.36,0,0,0-2-8.53,11.76,11.76,0,0,0-8-.05,401.92,401.92,0,0,1-116.55,39.34,358.13,358.13,0,0,1-127.29-8.83,446.73,446.73,0,0,1-119.1-60.49,5,5,0,0,0-6.06,6.9Z" /><path d="M387.15,388.44a168.11,168.11,0,0,1,48.94-2.23l.67.13a10,10,0,0,1,7.37,12.05A204.71,204.71,0,0,1,429,444.47a2.55,2.55,0,0,0,1.66,3.18,2.51,2.51,0,0,0,2.23-.37A83.31,83.31,0,0,0,464,382.86a12.44,12.44,0,0,0-10.22-13.22A95.75,95.75,0,0,0,384.91,384a2.55,2.55,0,0,0-.57,3.55A2.52,2.52,0,0,0,387.15,388.44Z" /><path d="M304.24,324.92a164,164,0,0,1-28.92,25.3A135.16,135.16,0,0,1,208.63,369a99.49,99.49,0,0,1-57.49-19.85,97.25,97.25,0,0,1-27.36-100.28,112.35,112.35,0,0,1,65.3-69.06,367.67,367.67,0,0,1,104.7-15.55V127A37.82,37.82,0,0,0,261,94.72a59.9,59.9,0,0,0-31.17,4.08,48.89,48.89,0,0,0-27.13,34.67,12,12,0,0,1-12.58,6.72l-50.9-4.5a11.38,11.38,0,0,1-8.38-10.16,103.66,103.66,0,0,1,36.61-63.45A143.86,143.86,0,0,1,257.85,32a146.24,146.24,0,0,1,84.27,27.67,86.82,86.82,0,0,1,30.7,70.22V258.8a84.46,84.46,0,0,0,8,31.28l15.87,23.23a13,13,0,0,1,0,11.23L349.7,364.25a12.5,12.5,0,0,1-12.68-.44A244.84,244.84,0,0,1,304.24,324.92Zm-10.6-116.83a257.68,257.68,0,0,0-44,2.89A63,63,0,0,0,208,242.54a63,63,0,0,0,3.07,54,40.6,40.6,0,0,0,47.11,12.19,78.61,78.61,0,0,0,35.46-55.58V208.09" /></symbol>',viewBox:"0 0 512 512"});He.add(Ze);const Xe=new xe({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"});He.add(Xe);const Ke=new xe({id:"24e7a4e46048b860fb6606873a47ca5c",content:'<symbol xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 1000 1000" id="24e7a4e46048b860fb6606873a47ca5c">\n<style type="text/css">\n\t#24e7a4e46048b860fb6606873a47ca5c .st0{fill-rule:evenodd;clip-rule:evenodd;fill:#3861AD;}\n</style>\n<path class="st0" d="M616.7,236.8L473.9,524.6l251.5,291.6l-466.9,53l724.5,7.5L616.7,236.8z M588.5,123.3l-328,274.5L17,808.6\n\tl207.3-21.1L588.5,123.3z" />\n</symbol>',viewBox:"0 0 1000 1000"});He.add(Ke);const Je=new xe({id:"08905e107fe816161977b08a5ef22c4c",content:'<symbol xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 1000 1000" id="08905e107fe816161977b08a5ef22c4c">\n<style type="text/css">\n\t#08905e107fe816161977b08a5ef22c4c .st0{fill:none;}\n\t#08905e107fe816161977b08a5ef22c4c .st1{fill:#4B7BBE;}\n\t#08905e107fe816161977b08a5ef22c4c .st2{fill:url(#08905e107fe816161977b08a5ef22c4c_SVGID_1_);}\n</style>\n<g>\n\t<path class="st0" d="M413.5,621.2h173l41.7-243.7H367.5L413.5,621.2z" />\n\t<path class="st1" d="M112.7,127.6C98,127.4,86,139.1,85.8,153.8c0,1.5,0.1,3.1,0.3,4.6l112.7,684c2.9,17.3,17.8,30,35.3,30.1h540.5\n\t\tc13.1,0.2,24.4-9.3,26.5-22.3l112.7-691.7c2.3-14.5-7.5-28.1-22-30.4c-1.5-0.2-3.1-0.4-4.6-0.3L112.7,127.6z M587.1,621.9H414.6\n\t\tl-46.7-244h261L587.1,621.9z" />\n\t\n\t\t<linearGradient id="08905e107fe816161977b08a5ef22c4c_SVGID_1_" gradientUnits="userSpaceOnUse" x1="203.175" y1="921.2677" x2="202.969" y2="921.0508" gradientTransform="matrix(1996.6343 0 0 -1480.3047 -404731.125 1364202.875)">\n\t\t<stop offset="0.18" style="stop-color:#325BA9" />\n\t\t<stop offset="1" style="stop-color:#4B7BBE" />\n\t</linearGradient>\n\t<path class="st2" d="M877.3,377.5H628.4l-41.8,243.9H414.3L210.8,862.9c6.5,5.6,14.7,8.7,23.2,8.7h540.2\n\t\tc13.1,0.2,24.4-9.3,26.5-22.3L877.3,377.5z" />\n</g>\n</symbol>',viewBox:"0 0 1000 1000"});He.add(Je);const Qe=new xe({id:"b0313fd65d77a8ee445beafb8ba8af49",content:'<symbol xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 1000 1000" id="b0313fd65d77a8ee445beafb8ba8af49">\n<style type="text/css">\n\t#b0313fd65d77a8ee445beafb8ba8af49 .st0{fill:#171717;}\n</style>\n<g transform="matrix(2.791226 0 0 2.791226 71.368826 91.588681)">\n\t<circle class="st0" cx="150.8" cy="146.4" r="42.4" />\n\t<path class="st0" d="M150.8-31.9C67.8-31.9-2,24.9-21.8,101.8c-0.2,0.7-0.3,1.4-0.3,2.1c0,4.7,3.8,8.5,8.5,8.5h71.9\n\t\tc3.3,0,6.3-1.9,7.7-5c0,0,0.1-0.2,0.2-0.3c14.8-32,47.2-54.2,84.7-54.2c51.6,0,93.4,41.8,93.4,93.4s-41.8,93.4-93.4,93.4\n\t\tc-37.6,0-69.9-22.2-84.7-54.2c0-0.1-0.2-0.3-0.2-0.3c-1.4-3-4.4-5-7.7-5h-71.9c-4.7,0-8.5,3.8-8.5,8.5c0,0.7,0.1,1.4,0.3,2.1\n\t\tC-2,267.8,67.8,324.6,150.8,324.6c98.5,0,178.4-79.8,178.4-178.3S249.4-31.9,151-31.9L150.8-31.9z" />\n</g>\n</symbol>',viewBox:"0 0 1000 1000"});He.add(Qe);const et=new xe({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"});He.add(et);const tt=new xe({id:"794d462808034f88cff7dcb5a3f392e3",content:'<symbol viewBox="0 0 2500 2500" xmlns="http://www.w3.org/2000/svg" id="794d462808034f88cff7dcb5a3f392e3"><path clip-rule="evenodd" d="m503.6 242.3-10.7 10.7 438.1 438.1c-62 96.7-97.6 215.5-97.6 350.6 0 375.6 275.8 625 625 625 130.5 0 250.8-34.8 350.2-98l440.3 440.3c-228.1 301.3-590.7 491-998.8 491-690.3 0-1250.1-542.6-1250.1-1250 0-420.7 198-783.1 503.6-1007.7zm208.4-123.8c162.9-76.2 345.4-118.5 538-118.5 690.3 0 1250 542.6 1250 1250 0 194.6-42.3 376.7-118.1 538.5l-396.2-396.2c62-96.7 97.6-215.5 97.6-350.6 0-375.6-275.8-625-625-625-130.5 0-250.8 34.8-350.2 98zm746.3 1298.2c-209.6 0-375-149.6-375-375s165.4-375 375-375 375 149.6 375 375-165.4 375-375 375z" fill="#192d46" fill-rule="evenodd" /></symbol>',viewBox:"0 0 2500 2500"});He.add(tt);const nt=new xe({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"});He.add(nt);const rt=new xe({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"});He.add(rt);const it=new xe({id:"6c54f7e0e4a7e61b356c74e8c52789c5",content:'<symbol xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 1000 1000" id="6c54f7e0e4a7e61b356c74e8c52789c5">\n<style type="text/css">\n\t#6c54f7e0e4a7e61b356c74e8c52789c5 .st0{fill-rule:evenodd;clip-rule:evenodd;fill:#E2452A;}\n\t#6c54f7e0e4a7e61b356c74e8c52789c5 .st1{fill-rule:evenodd;clip-rule:evenodd;fill:#F36E2C;}\n\t#6c54f7e0e4a7e61b356c74e8c52789c5 .st2{fill-rule:evenodd;clip-rule:evenodd;fill:#FAA327;}\n</style>\n<g>\n\t<path class="st0" d="M500,959.9L683.8,394H316.2L500,959.9z" />\n\t<path class="st1" d="M500,959.9L316.2,394H58.6L500,959.9z" />\n\t<path class="st2" d="M58.6,394L2.7,566.1c-5.1,15.7,0.5,32.9,13.8,42.6L500,959.9L58.6,394z" />\n\t<path class="st0" d="M58.6,394h257.6L205.5,53.4c-5.7-17.5-30.5-17.5-36.2,0L58.6,394z" />\n\t<path class="st1" d="M500,959.9L683.8,394h257.6L500,959.9z" />\n\t<path class="st2" d="M941.4,394l55.8,171.9c5.1,15.7-0.5,32.9-13.8,42.6L500,959.9L941.4,394z" />\n\t<path class="st0" d="M941.4,394H683.8L794.5,53.3c5.7-17.5,30.5-17.5,36.2,0L941.4,394z" />\n</g>\n</symbol>',viewBox:"0 0 1000 1000"});He.add(it);const ot=new xe({id:"2452a92e8d5bc90b62427d2f031ffbe8",content:'<symbol xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 1000 1000" id="2452a92e8d5bc90b62427d2f031ffbe8">\n<style type="text/css">\n\t#2452a92e8d5bc90b62427d2f031ffbe8 .st0{fill:#D33833;}\n\t#2452a92e8d5bc90b62427d2f031ffbe8 .st1{fill:#EF3D3A;}\n\t#2452a92e8d5bc90b62427d2f031ffbe8 .st2{fill:#231F20;}\n\t#2452a92e8d5bc90b62427d2f031ffbe8 .st3{fill:#F0D6B7;}\n\t#2452a92e8d5bc90b62427d2f031ffbe8 .st4{fill:#335061;}\n\t#2452a92e8d5bc90b62427d2f031ffbe8 .st5{fill:#6D6B6D;}\n\t#2452a92e8d5bc90b62427d2f031ffbe8 .st6{fill:#DCD9D8;}\n\t#2452a92e8d5bc90b62427d2f031ffbe8 .st7{fill:#F7E4CD;}\n\t#2452a92e8d5bc90b62427d2f031ffbe8 .st8{fill:#49728B;}\n\t#2452a92e8d5bc90b62427d2f031ffbe8 .st9{fill:#FFFFFF;}\n\t#2452a92e8d5bc90b62427d2f031ffbe8 .st10{stroke:#D33833;stroke-width:10.8864;stroke-miterlimit:23.9808;}\n\t#2452a92e8d5bc90b62427d2f031ffbe8 .st11{fill:#81B0C4;}\n\t#2452a92e8d5bc90b62427d2f031ffbe8 .st12{fill:#1D1919;}\n</style>\n<g>\n\t<path class="st0" d="M730.1,426.2c0,130.3-103.3,235.9-230.7,235.9S268.6,556.5,268.6,426.2c0-130.3,103.3-235.9,230.7-235.9\n\t\tC626.8,190.3,730.1,296,730.1,426.2" />\n\t<path class="st1" d="M278.1,484.7c0,0-16.7-246,210.1-253.1l-15.8-26.4l-123,41.3l-35.2,40.4l-30.7,58.8L266,414.1l5.2,45.8" />\n\t<path class="st2" d="M341.4,265.3c-40.4,41.5-65.5,98.6-65.5,161.9S301,547.5,341.4,589c40.6,41.5,96.2,67,158,67\n\t\tc61.8,0,117.4-25.5,158-67c40.4-41.5,65.5-98.6,65.5-161.9c0-63.3-25.1-120.4-65.5-161.9c-40.6-41.3-96.2-67-158-67\n\t\tC437.8,198.3,381.9,223.8,341.4,265.3L341.4,265.3z M331.1,598.9c-43-43.9-69.6-104.8-69.6-171.7s26.6-127.8,69.6-171.9\n\t\tc43-43.9,102.5-71.3,168.2-71.3c65.7,0,125.2,27.4,168.2,71.3c43,43.9,69.6,104.8,69.6,171.9c0,67-26.6,127.8-69.6,171.7\n\t\tc-43,44.1-102.5,71.3-168.2,71.3C433.7,670.2,374.1,643,331.1,598.9L331.1,598.9z" />\n\t<path class="st3" d="M596.5,427.5l-35.2,5.2l-47.4,5.4l-30.7,0.7l-30-0.9l-22.9-7.1l-20.3-22l-15.8-44.8l-3.5-9.7l-21-7.1\n\t\tL357.4,327l-8.7-29l9.7-25.5l22.9-8l18.4,8.7l8.7,19.4l10.6-1.7l3.5-4.5l-3.5-20.3l-0.9-25.5l5.2-35.2l-0.2-20.1l16-25.7l28.1-20.3\n\t\tl49.1-21l54.5,8l47.4,34.2l22,35.2l14.1,25.5l3.5,63.3l-10.6,54.5l-19.4,48.4l-18.2,25.9" />\n\t<path class="st4" d="M566.7,579.5l-125.6,5.2v21l10.6,73.9l-5.2,6.1l-87.8-30l-6.1-10.6l-8.7-99.4l-20.7-59.5l-4.5-14.1l70.3-48.4\n\t\tl22-8.7l19.4,23.8l16.7,14.9l19.4,6.1l8.7,2.6l10.6,45.8l8,9.7l20.3-7.1l-14.1,27.4l76.3,36.1L566.7,579.5" />\n\t<path class="st5" d="M358.3,272.9l22.9-8l18.4,8.7l8.7,19.4l10.6-1.7l2.6-10.6l-5.2-20.3l5.2-48.4l-4.5-26.4l15.8-18.4l34.2-27.2\n\t\tl-9.7-13.2l-48.4,23.8l-20.3,15.8L377.5,191L360,214.8l-5.2,28.1L358.3,272.9" />\n\t<path class="st6" d="M394.4,190.3c0,0,13.2-32.6,65.9-48.4c52.7-15.8,2.6-11.4,2.6-11.4l-57.1,22l-22,22l-9.7,17.5L394.4,190.3\n\t\t M368,266.8c0,0-18.4-61.6,51.9-70.3l-2.6-10.6l-48.4,11.4l-14.1,45.8l3.5,30L368,266.8" />\n\t<path class="st7" d="M396.1,348.4l11.5-11.2c0,0,5.2,0.6,6.1,6.7c0.9,6.1,3.5,61.6,41.3,91.4c3.5,2.8-28.1-4.5-28.1-4.5L398.9,387\n\t\t M557.8,331.7c0,0,2-26.6,9.3-24.6c7.3,2,7.3,9.3,7.3,9.3S556.8,327.6,557.8,331.7 M630.7,234.2c0,0-14.5,3-15.8,15.8\n\t\tc-1.3,12.8,15.8,2.6,18.4,1.7 M524.5,235.1c0,0-19.4,2.6-19.4,14.9c0,12.3,22,11.3,28.1,6.1 M405,292.3c0,0-33.3-20.3-36.8-0.9\n\t\tc-3.5,19.4-11.4,33.3,5.2,53.6l-11.4-3.5l-10.6-27.2l-3.5-26.4l20.3-21l22.9,1.7l13.2,10.6L405,292.3 M420.8,236.8\n\t\tc0,0,14.9-77.4,90.4-92.3c62.1-12.3,94.9,2.6,107.2,16.7c0,0-55.4-65.9-108.1-45.8c-52.7,20.3-91.4,57.1-90.4,80.8\n\t\tC421.4,236.8,420.8,236.8,420.8,236.8 M624.6,170c0,0-25.5-0.9-26.4,22c0,0,0,3.5,1.7,7.1c0,0,20.3-22.9,32.6-10.6" />\n\t<path class="st7" d="M513.1,201.4c0,0-4.5-35-34.2-14.7c-19.4,13.2-17.5,31.6-14.1,35.2c3.5,3.5,2.6,10.6,5.2,5.8\n\t\tc2.6-4.8,1.9-20.7,11.5-25.1C491,198.1,507,193.3,513.1,201.4" />\n\t<path class="st8" d="M430.5,438.9l-82.6,36.8c0,0,34.2,136.2,16.7,178.4l-12.3-4.5l-0.9-51.9l-22.9-98.2l-9.7-27.2l86.2-58.1\n\t\tL430.5,438.9 M438.9,514.2l11.7,14.3v52.7h-14c0,0-1.7-36.8-1.7-41.3c0-4.5,1.7-20.3,1.7-20.3 M439.2,589.2l-39.6,1.7l11.4,8\n\t\tl28.1,4.5" />\n\t<path class="st4" d="M574.5,580.5l32.6-0.9l8,80.8l-33.3,4.5L574.5,580.5" />\n\t<path class="st4" d="M583.3,580.5l49.1-2.6c0,0,20.3-51,20.3-53.6c0-2.6,17.5-73.9,17.5-73.9l-39.6-41.3l-8-7.1l-21,21v81.7\n\t\tL583.3,580.5" />\n\t<path class="st8" d="M605.2,574.3l-30.7,6.1L579,605c11.3,5.2,30.7-8.7,30.7-8.7 M606.2,420.5l61.6,45.8l1.7-21l-46.5-43\n\t\tL606.2,420.5" />\n\t<path class="st9" d="M469.8,753.5l-18.2-73.9l-9.1-54.5l-1.5-40.4l82.4-4.5h51.2l-4.7,92.3l8,71.3l-0.9,13.2l-66.8,5.2L469.8,753.5\n\t\t" />\n\t<path class="st6" d="M563.2,579.5c0,0-4.5,91.4,8.7,156.5c0,0-26.4,16.7-64.9,21l73.9-2.6l8.7-5.2l-10.6-144l-2.8-30.9" />\n\t<path class="st9" d="M616.4,653.4l34.2-9.7l64.9-3.5l9.7-30l-17.5-51.9l-20.3-2.6l-28.1,8.7l-26.8,13.2l-14.3-2.6l-11.2,4.5" />\n\t<path class="st6" d="M615.8,635.7c0,0,22.9-10.6,26.4-9.7l-9.7-48.4l11.4-4.5c0,0,8,45.8,8,51c0,0,49.1,2.6,53.6,2.6\n\t\tc0,0,10.6-20.3,8-41.3l9.7,28.1l0.9,15.8l-14.1,21l-15.8,3.5l-26.4-0.9l-8.7-11.4l-30.7,4.5l-9.7,3.5" />\n\t<path class="st9" d="M581.2,573.4l-19.4-49.1l-20.3-29c0,0,4.5-12.3,10.6-12.3h20.3l19.4,7.1l-1.7,32.6L581.2,573.4" />\n\t<path class="st6" d="M585.1,556.7c0,0-24.6-47.4-24.6-54.5c0,0,4.5-10.6,10.6-8c6.1,2.6,19.4,9.7,19.4,9.7v-16.7l-30-6.1l-20.3,2.6\n\t\tl34.2,81.1l7.1,0.9" />\n\t<path class="st9" d="M477.6,440.7l-24.4-2.6l-22.9-7.1v8l11.2,12.3l35.2,15.8" />\n\t<path class="st6" d="M438.3,443.3c0,0,27.2,11.4,36.1,8.7l0.9,10.6l-24.6-5.2l-14.9-10.6L438.3,443.3" />\n\t<path class="st0" d="M616.4,486c-14.9-0.4-28.5-2.2-40.2-5.6c0.7-4.8-0.7-9.5,0.6-13c3.3-2.4,8.7-2.4,13.8-3\n\t\tc-4.3-2-10.4-3-15.3-1.7c-0.2-3.3-1.7-5.4-2.6-8c8.4-3,28.1-22.5,39.3-16.2c5.4,3.2,7.6,20.7,8,29.4C620.3,475,619.2,482,616.4,486\n\t\t" />\n\t<path class="st10" d="M616.4,486c-14.9-0.4-28.5-2.2-40.2-5.6c0.7-4.8-0.7-9.5,0.6-13c3.3-2.4,8.7-2.4,13.8-3\n\t\tc-4.3-2-10.4-3-15.3-1.7c-0.2-3.3-1.7-5.4-2.6-8c8.4-3,28.1-22.5,39.3-16.2c5.4,3.2,7.6,20.7,8,29.4C620.3,475,619.2,482,616.4,486\n\t\tL616.4,486z" />\n\t<path class="st0" d="M545.1,461.6c0,1.1,0,2.2-0.2,3.3c-4.7,3-12.1,3-17.3,5.6c7.4,0.4,13.4,2.2,18.6,4.7c-0.2,2.8-0.2,5.8-0.4,8.6\n\t\tc-8.6,5.8-16.4,14.5-26.4,20.1c-4.8,2.6-21.4,9.3-26.4,8c-2.8-0.7-3.2-4.3-4.3-7.6c-2.4-7.1-8-18.6-8.6-29.4\n\t\tc-0.6-13.6-2-36.5,12.7-33.7c11.9,2.2,25.7,7.6,34.8,12.7C533.4,457.1,536.6,460.8,545.1,461.6" />\n\t<path class="st10" d="M545.1,461.6c0,1.1,0,2.2-0.2,3.3c-4.7,3-12.1,3-17.3,5.6c7.4,0.4,13.4,2.2,18.6,4.7\n\t\tc-0.2,2.8-0.2,5.8-0.4,8.6c-8.6,5.8-16.4,14.5-26.4,20.1c-4.8,2.6-21.4,9.3-26.4,8c-2.8-0.7-3.2-4.3-4.3-7.6\n\t\tc-2.4-7.1-8-18.6-8.6-29.4c-0.6-13.6-2-36.5,12.7-33.7c11.9,2.2,25.7,7.6,34.8,12.7C533.4,457.1,536.6,460.8,545.1,461.6\n\t\tL545.1,461.6z" />\n\t<path class="st0" d="M553.5,477.8c-1.3-7.4-2.8-9.5-2.2-16C571.2,448.6,574.7,484.5,553.5,477.8" />\n\t<path class="st10" d="M553.5,477.8c-1.3-7.4-2.8-9.5-2.2-16C571.2,448.6,574.7,484.5,553.5,477.8L553.5,477.8z" />\n\t<path class="st1" d="M582.2,483.7c0,0-6.1-8.7-1.7-11.4c4.5-2.6,8.7,0,11.4-4.5c2.6-4.5,0-7.1,0.9-12.3c0.9-5.2,5.2-6.1,9.7-7.1\n\t\tc4.5-0.9,16.7-2.6,18.4,1.7l-5.2-15.8l-10.6-3.5l-33.3,19.4l-1.7,9.7v19.4 M489.9,512.7c-1.1-13.8-2.2-27.4-3.3-41.1\n\t\tc-1.9-20.5,4.8-16.9,22.7-16.9c2.8,0,16.7,3.2,17.7,5.2c4.8,9.9-8,7.6,5.6,15.1c11.4,6.1,31.6-3.7,27-17.7\n\t\tc-2.6-3.2-13.4-0.9-17.3-3l-20.7-10.6c-8.7-4.5-28.8-11.2-38.1-4.8c-23.6,16,1.5,56.2,9.9,72.9" />\n\t<path class="st2" d="M513.1,201.4c-24-5.6-35.9,10-43.2,26.2c-6.5-1.5-3.9-10.4-2.2-14.9c4.3-11.7,21.6-27.5,35.7-25.3\n\t\tC509.4,188.2,517.6,193.8,513.1,201.4 M629.8,228.6h1.1c5.4,11.2,10,23.1,16.9,33.1c-4.7,10.8-34.6,20.1-34.2,1.1\n\t\tc6.5-2.8,17.7-0.6,23.4-4.3C633.7,249.5,629,241.6,629.8,228.6 M525.2,229c5.2,9.5,6.9,19.4,14.1,26.4c3.4,3.2,9.7,7.1,6.5,16\n\t\tc-0.7,2-6.1,6.7-9.3,7.6c-11.3,3.3-38,0.7-29-13.6c9.5,0.4,22.1,6.1,29.2-0.7C531.4,256.2,521.7,239,525.2,229 M625.5,324.6\n\t\tc-17.1,11-36.3,23.1-64.6,20.3c-6-5.2-8.4-16.9-2.4-24.6c3,5.2,1.1,14.9,9.7,16.4c16,2.8,34.6-9.9,46.1-14.1\n\t\tc7.1-12.1-0.6-16.4-7.1-24.2c-13.2-15.8-30.7-35.5-30.1-59.2c5.4-3.9,5.8,6,6.5,7.6c6.9,16,24.2,36.7,36.7,50.4\n\t\tc3.2,3.3,8.2,6.7,8.7,8.9C630.7,312.5,624.8,320.3,625.5,324.6 M398.9,313.1c-5.4-3.2-6.7-16.6-13-16.9c-9.1-0.6-7.4,17.5-7.4,28.1\n\t\tc-6.1-5.6-7.3-23.1-2.8-32c-5.2-2.6-7.4,2.8-10.4,4.7C369.1,269.9,404.8,284.4,398.9,313.1 M636.3,336c-8,15.3-19.4,32-42.8,32.6\n\t\tc-0.6-4.8-0.9-12.5,0-15.4C611.6,351.2,622.7,342.1,636.3,336 M523.9,345.8c14.9,7.8,42.4,8.7,62.9,8.2c1.1,4.5,1.1,10,1.1,15.4\n\t\tC561.7,370.6,530.8,364.1,523.9,345.8 M521.1,360.4c10.4,26,46,23.1,75.9,22.3c-1.3,3.3-4.1,7.4-7.8,8.7\n\t\tc-9.7,3.9-36.1,6.9-49.5-0.2c-8.4-4.5-14-14.7-18.6-20.7C519.1,367.8,507.9,360.5,521.1,360.4" />\n\t<path class="st11" d="M624.2,503.8c-12.1,20.8-23.8,42.2-38.1,60.5c6-17.7,8.6-47.4,9.5-70.1C608.2,488.2,619,495.4,624.2,503.8" />\n\t<path class="st2" d="M689.5,578.6c-13.6,2.8-23.1,16-36.5,15.1C660.5,583.5,673.1,579,689.5,578.6 M695.5,599.8\n\t\tc-11.2,1.1-24.2,3-35.4,2C665.5,593.7,686,596.7,695.5,599.8 M699.4,618.3c-12.5,0.2-27.9,0-39.8-0.9\n\t\tC666.6,609.7,691.4,614.5,699.4,618.3" />\n\t<path class="st6" d="M600.8,668.5c1.9,15.6,8,31.4,7.3,48.6c-6.9,2.2-10.8,4.3-20.1,4.3c-0.6-14.5-2.6-36.8-2-50.8\n\t\tC590.3,670.9,597,667.4,600.8,668.5" />\n\t<path class="st3" d="M580.7,437.8c-6.3,4.1-11.5,9.1-17.7,13.6c-13.4,0.7-20.7-0.9-30.3-8.6c0.2-0.6,1.1-0.4,1.1-1.1\n\t\tC548.1,448,566.3,439.1,580.7,437.8" />\n\t<path class="st11" d="M505.9,535.1c3.9-16.9,19.4-25.9,33.3-35.2c14.3,18.2,23.1,41.7,32.7,64.4C549,557.4,525.8,546.4,505.9,535.1\n\t\t" />\n\t<path class="st2" d="M585.9,670.7c-0.6,14,1.3,36.1,2,50.8c9.3,0,13.2-2,20.1-4.3c0.7-17.1-5.4-32.9-7.3-48.6\n\t\tC597,667.4,590.3,670.9,585.9,670.7z M442.2,591.8c6.1,56,14.9,102.9,31.1,152.6c35.9,11,79.1,11.9,110.9,2\n\t\tc-5.8-27.9-3.3-62-6.7-91.9c-2.6-22.5-1.3-45-4.8-67.9C534.1,578.6,479.8,584.8,442.2,591.8L442.2,591.8z M581.8,587\n\t\tc-0.4,24,1.1,47.8,3,71.8c9.3-1.3,15.4-2.2,24-4.3c-2.8-23.1-2.4-49.3-8.2-69.8C594.1,584.9,588.3,584.8,581.8,587L581.8,587z\n\t\t M628.5,583.1c-4.5-0.9-9.5,0-13.6,0c2,19.5,6.7,41.1,8.4,61.8c6.5,0.2,10-3,15.4-3.9C639.1,622.9,637.2,598,628.5,583.1\n\t\tL628.5,583.1z M699.4,647.8c13.8-3.3,22.3-20.1,18.4-37.4c-2.6-11.5-7.1-33.5-12.1-40.9c-3.5-5.4-13.4-12.7-21.4-7.6\n\t\tc-12.8,8.2-35.4,10.6-44.7,20.5c4.7,15.6,6.1,36.8,8,56.6c16,0.9,35.5-4.5,48.9,1.3c-9.3,3-21.2,3-29.2,7.4\n\t\tC674.1,650.8,689.3,650.3,699.4,647.8L699.4,647.8z M571.7,564.3c-9.7-22.7-18.4-46.1-32.7-64.4c-14,9.3-29.2,18.2-33.3,35.2\n\t\tC525.8,546.4,549,557.4,571.7,564.3L571.7,564.3z M595.5,494.1c-0.9,22.7-3.5,52.5-9.5,70.1c14.3-18.4,26.1-39.6,38.1-60.5\n\t\tC619,495.4,608.2,488.2,595.5,494.1L595.5,494.1z M568.6,484.7c-5.4-0.6-10,6.3-17.1,3.3c-1.7,1.9-3.2,3.7-4.8,5.6\n\t\tc15.6,19,22.9,45.8,35,67.9c6.5-21.4,5.8-44.7,7.3-67.9C579.9,494,574.9,485.2,568.6,484.7L568.6,484.7z M551.3,461.8\n\t\tc-0.6,6.5,0.9,8.6,2.2,16C574.7,484.5,571.2,448.6,551.3,461.8z M527.6,453.9c-9.1-5-22.9-10.4-34.8-12.7\n\t\tc-14.7-2.8-13.2,20.1-12.7,33.7c0.6,10.8,6.1,22.1,8.6,29.4c1.1,3.3,1.5,6.9,4.3,7.6c5,1.1,21.8-5.4,26.4-8\n\t\tc10-5.4,17.9-14.1,26.4-20.1c0.2-2.8,0.2-5.8,0.4-8.6c-5.2-2.6-11-4.3-18.6-4.7c5-2.6,12.7-2.6,17.3-5.6c0-1.1,0-2.2,0.2-3.4\n\t\tC536.6,460.8,533.4,457.1,527.6,453.9L527.6,453.9z M440.2,438.1c-7.6,7.8,21.4,18.2,30.5,18.8c0-4.8,2.8-9.5,2.2-13\n\t\tC461.9,442,447.6,443.3,440.2,438.1L440.2,438.1z M534,441.7c0,0.7-0.9,0.6-1.1,1.1c9.9,7.6,17.1,9.3,30.3,8.6\n\t\tc6-4.3,11.4-9.5,17.7-13.6C566.3,439.1,548.1,448,534,441.7L534,441.7z M619.9,467.7c-0.4-8.6-2.6-26.2-8-29.4\n\t\tc-11.2-6.5-30.9,13.2-39.3,16.2c0.9,2.6,2.4,4.7,2.6,8c5-1.3,11-0.4,15.3,1.7c-5,0.6-10.4,0.6-13.8,3c-1.1,3.5,0.4,8.2-0.6,13\n\t\tc11.7,3.3,25.3,5,40.2,5.6C619.2,482,620.3,475,619.9,467.7L619.9,467.7z M427.3,445.6c-2.4-1.7-18.6-22.7-20.8-21.8\n\t\tc-29.2,11.5-56.6,31.4-80.9,50.4c23.3,50.1,32.7,111.3,34.4,170.3c26.6,12.5,50.1,30.5,86.3,32.4c-4.3-29.6-8-56.2-10.4-84.1\n\t\tc-9.1-3.9-22.1,0.2-30.7-1.1c0-10.2,13-4.5,14.1-11.3c0.7-5.2-7.3-5.6-4.7-13.8c6.7,2.4,10.2,7.8,17.3,9.9\n\t\tc6.5-14.1,0-39.3,0.9-51.2c0.2-2.2,1.1-12.3,6.1-10.6c4.5,1.5-0.2,27,0.2,38.1c0.4,10.4-1.3,20.3,3,26.8c35-4.8,70.5-7.8,108.5-8.9\n\t\tc-8.4-3.5-18.2-6.9-29-13c-6-3.3-24.4-10.2-26-15.8c-2.8-8.9,7.1-13.6,8.7-21.2c-17.7,9.7-21-9.3-25.3-22.5\n\t\tc-3.7-12.1-6-21.2-6.9-28.1C456.7,462.1,440.4,454.9,427.3,445.6L427.3,445.6z M604.5,426.2c24.4-11.7,28.8,44.1,19.2,62.2\n\t\tc1.5,5.4,6.5,7.4,8.6,12.3c-13.6,24.4-28.7,47.1-42.6,71.1c10.2-6.5,25.1-1.1,37.2-6c4.5-1.7,7.6-11.9,11-20.1\n\t\tc9.3-22.3,19-50.6,23.3-71.8c0.9-4.8,3.7-15.4,3-19.7c-1.1-7.8-11.5-13.6-16.9-18.2c-9.9-8.9-16-16.6-26.4-24.9\n\t\tC616.8,417.1,607.8,421.2,604.5,426.2L604.5,426.2z M371.7,210.2c-11.5,12.8-9.1,36.7-7.8,53.8c21-13.2,48.8,1.1,48.6,23.4\n\t\tc10-0.2,3.7-12.5,1.9-20.5c-6-25.9,10-53.8,0.7-77.4C397,191,382.3,198.3,371.7,210.2L371.7,210.2z M454.7,135.9\n\t\tc-26.2,7.4-59.9,26.6-70.7,50.2c8.4-1.3,14.1-5.4,22.3-6c3.2-0.2,7.3,1.3,10.8,0.4c7.1-1.9,13.2-17.9,18.6-23.8\n\t\tc5.2-5.8,11.5-8.4,15.8-13.6c2.8-1.3,6.9-1.3,7.1-5.4C457.5,136.5,456.2,135.6,454.7,135.9L454.7,135.9z M591.5,143\n\t\tc-27.4-15.4-73.5-27-102.5-12.5c-23.4,11.7-55.1,31.1-65.9,55.5c10,23.6-3,45.2-3.9,69.2c-0.4,12.8,6,23.8,6.5,37.8\n\t\tc-3.5,5.8-14,6.3-21.2,6c-2.4-12.3-6.7-26.1-19.4-27.5c-17.9-2-31.1,12.8-31.8,28.3c-0.9,18.2,14,48.4,35.2,46.3\n\t\tc8.2-0.7,10.2-8.9,19.2-8.9c4.8,9.7-7.4,12.7-8.7,19.5c-0.4,1.9,0.9,8.7,1.9,12.1c3.9,15.8,12.5,36.5,20.8,48.6\n\t\tc10.8,15.4,31.8,17.7,54.5,19.2c4.1-8.7,19-8,28.7-5.8c-11.7-4.7-22.5-15.8-31.4-25.7c-10.2-11.4-20.7-23.4-21.2-38.3\n\t\tc19.5,27,35.5,50.6,70.9,62.5c26.8,8.9,58.1-4.1,78.7-18.6c8.6-6,13.6-15.6,19.7-24.2c22.7-32.7,33.3-79.3,31.1-124.5\n\t\tc-0.9-18.6-0.9-37.2-7.3-49.7c-6.5-13-28.7-24.9-41.7-13c-2.4-12.8,10.8-20.7,26.2-16C618.8,168.9,607.3,152,591.5,143L591.5,143z\n\t\t M642.4,563.7c21.4-10.6,61.2-28.5,74.4,0c5,10.6,10.8,28.3,13.2,39.3c3.5,15.3-3.9,47.6-19.7,52.7c-14,4.5-30.1,4.3-46.9,0.9\n\t\tc-2-1.7-4.1-4.5-5.8-7.4c-11.9-0.4-23.3,0.6-32.6,5.6c0.9,8.9-5,10.2-10.8,12.1c-4.1,16.6,8.4,38.1,5.4,53\n\t\tc-2,10.8-15.3,12.5-24.9,14.3c-0.4,6,0.4,11,1.1,16c-2.2,8.2-12.1,12.8-21.6,14c-31.1,3.7-78.1,5.4-107.9-5.4\n\t\tc-8.4-20.5-14.9-45.2-21.8-68.5c-29,3.2-52.7-12.5-74.8-22.9c-7.6-3.5-18.2-5.6-21.2-11.7c-2.8-6-1.7-17.3-2.4-27.9\n\t\tc-1.7-27.4-3.3-53.8-10.4-81.7c-3.2-12.7-8.9-23.6-12.8-35.7c-3.7-11.2-10-25.1-11.7-36.3c-2.4-16.6,13.2-17.5,23.1-24.7\n\t\tc15.4-11.2,27.5-17.3,44.3-27.4c5-3,19.9-10.4,21.6-14c3.4-6.9-5.8-16.6-8.2-22c-3.9-8.6-6-15.8-6.5-24.2\n\t\tc-14-2.2-24.7-10.6-31.1-19.9c-10.6-15.6-18.1-44.5-8.7-66.2c0.7-1.7,4.3-5.2,4.8-7.8c1.1-5.2-2-12.1-2.2-17.7\n\t\tc-0.9-28.5,4.8-53,24-61.6c7.8-31.1,35.7-41.3,62-56.8c9.9-5.8,20.7-9.5,31.8-13.6c40-14.7,101.6-11.9,134.9,13.2\n\t\tc14.1,10.6,36.7,33.1,44.7,49.5c21.4,43,19.7,115,4.8,167.5c-2,7.1-4.8,17.3-8.9,25.9c-2.8,6-11.5,17.7-10.6,22.9\n\t\tc1.1,5.4,20.1,19.7,24.2,23.6c7.3,7.1,21.2,16.4,22.3,25.3c1.3,9.5-4.1,22.5-6.9,31.6C661.6,508.3,652.7,536.4,642.4,563.7\n\t\tL642.4,563.7z" />\n\t<path class="st7" d="M500.1,352.4c1.1-1.5,7.4-3.9,16.4,0.4c0,0-10.6,1.7-9.7,19.4l-4.5-0.9C502.5,371.3,497.9,355.3,500.1,352.4" />\n\t<path class="st12" d="M577.1,503.4c0,2.6-2.2,4.8-4.8,4.8c-2.6,0-4.8-2.2-4.8-4.8c0-2.6,2.2-4.8,4.8-4.8\n\t\tC575.1,498.6,577.1,500.8,577.1,503.4 M582,526c0,2.6-2.2,4.8-4.8,4.8c-2.6,0-4.8-2.2-4.8-4.8s2.2-4.8,4.8-4.8\n\t\tC579.9,521.1,582,523.2,582,526" />\n\t<g>\n\t\t<path class="st2" d="M328.5,810.7c-1.5,0.2-2.8,0.4-3.9,0.6c-1.1,0.2-2.2,0.4-3.7,0.7c-1.7,0.4-2.6,1.1-3,2.2\n\t\t\tc-0.4,1.1-0.7,2.2-0.7,3.7v45.4c0,4-0.9,7.9-2.6,11.5c-1.7,3.5-3.9,6.3-6.9,8.7c-3,2.2-6.3,4.1-10,5.2c-3.7,1.1-7.6,1.9-11.7,1.9\n\t\t\tc-7.3,0-13-1.7-17.5-5.2c-4.5-3.5-6.7-8.2-6.7-14.3c0-3.5,0.9-6.5,3-8.9c2-2.4,4.8-3.5,8.4-3.5c3.3,0,6,0.9,8,3c2,2,3,4.5,3,7.3\n\t\t\tc0,2.4-0.9,4.8-2.6,6.9c-1.7,2-3.7,4.1-6,5.8v0.7c0.4,0.7,1.1,1.5,2.2,2c1.1,0.6,2.4,0.7,3.5,0.7c4.7,0,8.4-1.7,11-5\n\t\t\tc2.6-3.3,3.9-8.4,3.9-15.1v-46.5c0-1.3-0.2-2.6-0.6-3.5c-0.4-0.9-1.5-1.7-3.2-2.4c-1.1-0.6-2.6-0.9-4.3-1.3\n\t\t\tc-1.7-0.4-3-0.6-4.1-0.7V806H328v4.7L328.5,810.7L328.5,810.7z M397.4,874.7c-1.3,2.2-3,4.3-4.8,6.3c-1.9,2-4.1,3.5-6.5,5\n\t\t\tc-2.6,1.5-5.2,2.6-7.8,3.3c-2.6,0.7-5.8,1.1-9.1,1.1c-5.8,0-10.6-0.7-14.9-2.4c-4.1-1.7-7.6-3.7-10.2-6.5c-2.8-2.8-4.7-6-6.1-9.7\n\t\t\tc-1.4-3.9-2-8-2-12.1c0-3.9,0.7-7.8,2.2-11.3c1.5-3.5,3.5-6.9,6.1-9.7s6-5,10-6.7c4.3-1.7,8.8-2.6,13.4-2.6c5.4,0,9.9,0.7,13.4,2\n\t\t\tc3.5,1.3,6.3,3.2,8.6,5.4c2.2,2.2,3.7,4.8,4.8,7.8c0.9,3,1.5,6.1,1.5,9.5v3.7h-39.3c0,8,1.5,14,4.7,18c3,4.1,8,6.1,14.5,6.1\n\t\t\tc3.7,0,6.9-0.9,9.9-3c3-2,5.5-4.6,7.4-7.6L397.4,874.7L397.4,874.7z M375.2,852.5c0-2.2-0.2-4.7-0.4-7.1c-0.2-2.4-0.6-4.5-1.3-6\n\t\t\tc-0.7-1.9-1.5-3.2-2.8-4.1c-1.1-0.9-2.6-1.3-4.3-1.3c-3,0-5.4,1.5-7.1,4.5c-1.9,3-2.8,7.8-3,14.3L375.2,852.5L375.2,852.5z\n\t\t\t M479.4,888.4h-35v-4.3c0.7,0,1.7-0.2,2.6-0.4c1.1-0.2,1.9-0.4,2.4-0.6c0.7-0.4,1.3-1.1,1.7-1.9c0.4-0.7,0.6-2,0.6-3.5v-27.2\n\t\t\tc0-3.9-0.7-6.9-2.2-8.9c-1.5-2-3.5-3-6.5-3c-1.5,0-3,0.2-4.3,0.7c-1.3,0.4-2.6,1.1-3.9,2c-1.1,0.7-2,1.5-2.8,2.4\n\t\t\tc-0.7,0.7-1.3,1.5-1.7,2.2v31.1c0,1.3,0.2,2.4,0.6,3.3c0.4,0.9,1.1,1.7,1.9,2c0.6,0.4,1.3,0.7,2.2,0.9l2.8,0.6v4.3h-35.4v-4.3\n\t\t\tc0.9,0,1.9-0.2,3-0.4c0.9-0.2,1.9-0.4,2.6-0.6c1.3-0.4,2-1.1,2.6-2c0.4-0.9,0.7-2,0.7-3.5v-33.9c0-1.1-0.4-2.4-0.9-3.5\n\t\t\tc-0.6-1.1-1.5-2-2.4-2.8c-0.7-0.4-1.5-0.9-2.6-1.1c-1.1-0.4-2.3-0.6-3.5-0.6v-4.3l27.7-1.5l0.9,0.9v8.4h0.2\n\t\t\tc1.4-1.1,2.7-2.3,3.9-3.5c1.4-1.2,2.8-2.3,4.3-3.3c1.5-0.9,3.3-1.7,5.6-2.4c2.2-0.7,4.8-0.9,7.4-0.9c6.3,0,11,1.9,14.1,5.4\n\t\t\tc3.2,3.5,4.7,8.4,4.7,14.3v28.5c0,1.5,0.2,2.6,0.6,3.3c0.4,0.9,1.3,1.5,2.4,2c0.6,0.2,1.3,0.6,2.2,0.7c0.9,0.2,1.9,0.4,3.2,0.6\n\t\t\tv4.5H479.4L479.4,888.4z M559.5,888.4h-27.4c-2.9-5.2-6-10.2-9.3-15.1c-2.8-4.1-5.4-8-7.8-11.4l-3.3,3v12.7c0,1.3,0.2,2.6,0.6,3.3\n\t\t\tc0.4,0.9,1.1,1.5,2.4,2c0.7,0.4,1.5,0.6,2.4,0.7c0.9,0.2,1.9,0.4,2.8,0.4v4.3h-36.1v-4.3c0.9,0,1.9-0.2,3-0.4\n\t\t\tc0.9-0.2,1.9-0.4,2.6-0.6c1.3-0.4,2-1.1,2.6-2c0.4-0.9,0.7-2,0.7-3.5v-64.8c0-1.3-0.4-2.6-0.9-3.9c-0.6-1.3-1.3-2.4-2.4-3.2\n\t\t\tc-0.7-0.4-1.9-0.9-3.3-1.1c-1.5-0.4-2.8-0.6-4.1-0.6v-4.3l28.8-1.5l0.9,0.9v59.9c2.8-2.6,6.1-5.6,9.7-8.9c3.5-3.3,6.5-6.1,8.6-8.4\n\t\t\tc1.3-1.3,2-2.2,2-3c0.2-0.7,0.2-1.1,0.2-1.3c0-0.7-0.6-1.3-1.9-1.7c-1.3-0.4-3-0.9-5.6-1.3v-4.1h29.4v4.1c-3.9,1.1-6.9,2-8.9,3\n\t\t\tc-2,0.9-4.3,2.2-6.7,3.7c-1.6,1.1-3.1,2.2-4.7,3.3c-1.5,1.1-3.2,2.6-5.2,4.3c3.7,5.6,7.3,10.6,10.4,15.3c3.2,4.7,6.5,9.7,10,14.9\n\t\t\tc1.1,1.9,2.6,3,4.5,3.7c1.9,0.6,3.5,0.9,5.4,1.1v4.5L559.5,888.4L559.5,888.4z M596.7,888.4H560v-4.3c0.9,0,2-0.2,3-0.4\n\t\t\tc0.9-0.2,1.9-0.4,2.4-0.6c1.3-0.4,2-1.1,2.6-2c0.6-0.9,0.7-2,0.7-3.5v-33.9c0-1.3-0.4-2.6-0.9-3.5c-0.5-1-1.3-1.9-2.2-2.4\n\t\t\tc-0.7-0.4-1.7-0.9-3.2-1.3c-1.5-0.4-2.8-0.7-3.9-0.7v-4.3L587,830l0.9,0.9v46.1c0,1.3,0.4,2.4,0.9,3.5c0.6,0.9,1.5,1.7,2.4,2\n\t\t\tc0.7,0.4,1.7,0.7,2.6,0.9c0.9,0.2,1.9,0.4,3,0.6v4.3L596.7,888.4L596.7,888.4z M588.3,809.3c0,3-1.1,5.4-3.3,7.4\n\t\t\tc-2.2,2-5,3.2-8,3.2c-3.2,0-5.8-1.1-8.2-3.2c-2.2-2-3.3-4.7-3.3-7.4c0-3,1.1-5.4,3.3-7.6c2.2-2,5-3.2,8.2-3.2c3.2,0,5.8,1.1,8,3.2\n\t\t\tC587.2,803.8,588.3,806.4,588.3,809.3L588.3,809.3z M678.7,888.4h-35v-4.3c0.7,0,1.7-0.2,2.6-0.4c1.1-0.2,1.9-0.4,2.4-0.6\n\t\t\tc0.7-0.4,1.3-1.1,1.7-1.9c0.4-0.7,0.6-2,0.6-3.5v-27.2c0-3.9-0.7-6.9-2.2-8.9c-1.5-2-3.5-3-6.5-3c-1.5,0-3,0.2-4.3,0.7\n\t\t\tc-1.3,0.6-2.6,1.1-3.9,2c-1.1,0.7-2,1.5-2.8,2.4c-0.7,0.7-1.3,1.5-1.7,2.2v31.1c0,1.3,0.2,2.4,0.6,3.3c0.4,0.9,1.1,1.7,1.9,2\n\t\t\tc0.6,0.4,1.3,0.7,2.2,0.9l2.8,0.6v4.3h-35.4v-4.3c0.9,0,1.9-0.2,3-0.4c0.9-0.2,1.9-0.4,2.6-0.6c1.3-0.4,2-1.1,2.6-2\n\t\t\tc0.4-0.9,0.7-2,0.7-3.5v-33.9c0-1.1-0.4-2.4-0.9-3.5c-0.6-1.1-1.5-2-2.4-2.8c-0.7-0.4-1.5-0.9-2.6-1.1c-1.1-0.4-2.3-0.6-3.5-0.6\n\t\t\tv-4.3l27.7-1.5l0.9,0.9v8.4h0.2c1.4-1.1,2.7-2.3,3.9-3.5c1.4-1.2,2.8-2.3,4.3-3.3c1.5-0.9,3.3-1.7,5.6-2.4\n\t\t\tc2.2-0.7,4.8-0.9,7.4-0.9c6.3,0,11,1.9,14.1,5.4c3.2,3.5,4.7,8.4,4.7,14.3v28.5c0,1.5,0.2,2.6,0.6,3.3c0.4,0.9,1.3,1.5,2.4,2\n\t\t\tc0.6,0.2,1.3,0.6,2.2,0.7c0.9,0.2,1.9,0.4,3.2,0.6v4.5H678.7L678.7,888.4z M710.9,890.5c-3.7,0-7.4-0.6-11-1.7\n\t\t\tc-3.5-1.1-6.3-2.2-8.4-3.5l-1.7,3.9h-4.5l-0.7-21.6h4.3c0.6,1.7,1.5,3.7,3,6c1.3,2.2,3,4.1,4.7,6c1.9,1.7,4,3.2,6.3,4.5\n\t\t\tc2.4,1.1,4.8,1.9,7.4,1.9c3.5,0,6.1-0.7,7.8-2c1.7-1.3,2.6-3.5,2.6-6.3c0-1.5-0.4-2.8-1.1-3.9c-0.7-0.9-1.9-1.9-3.2-2.6\n\t\t\tc-1.5-0.7-3.2-1.5-5-2c-1.9-0.6-4.1-1.1-6.7-2c-2.6-0.7-4.8-1.5-6.7-2.4c-1.9-0.7-3.9-2-5.8-3.7c-1.7-1.5-3.2-3.3-4.1-5.4\n\t\t\tc-1.1-2-1.5-4.7-1.5-7.6c0-5.4,2.2-9.9,6.9-13.2c4.7-3.3,10.6-5,18-5c3.5,0,6.7,0.4,9.7,1.1c3,0.7,5.4,1.5,7.4,2.4l1.3-3.3h4.5\n\t\t\tl0.9,19.7h-4.1c-1.3-4.1-3.7-7.4-6.9-10.4c-3.3-3-6.9-4.5-10.6-4.5c-3,0-5.4,0.6-7.1,1.9c-1.7,1.3-2.6,3-2.6,5.2\n\t\t\tc0,3,1.3,5,3.7,6.3c2.4,1.3,6,2.6,10.4,3.7c6.9,1.9,11.9,4.3,15.3,7.3c3.2,3.2,4.8,7.1,4.8,11.7c0,6.3-2.4,11.4-7.4,14.7\n\t\t\tC725.4,888.6,718.9,890.5,710.9,890.5L710.9,890.5z" />\n\t</g>\n</g>\n</symbol>',viewBox:"0 0 1000 1000"});He.add(ot);const at=new xe({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"});He.add(at);const st=new xe({id:"baa55e80ecedd3915711331585e90af7",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="baa55e80ecedd3915711331585e90af7">\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="M8 12L11 15L16 9" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />\n</symbol>',viewBox:"0 0 24 24"});He.add(st);const lt=new xe({id:"775baebe430676d24e713405f5093bc3",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="775baebe430676d24e713405f5093bc3">\n<path vector-effect="non-scaling-stroke" d="M12 8V12M12 16H12.01" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" />\n<path vector-effect="non-scaling-stroke" d="M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />\n</symbol>',viewBox:"0 0 24 24"});He.add(lt);const ct=new xe({id:"cbe64e3708f915704f4aaf5a638de8c2",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="cbe64e3708f915704f4aaf5a638de8c2">\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="M12 8V16M8 12H16" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />\n</symbol>',viewBox:"0 0 24 24"});He.add(ct);const ut=new xe({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"});He.add(ut);const dt=new xe({id:"acae55df77c0fb0eb96789a895527143",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="acae55df77c0fb0eb96789a895527143">\n <path vector-effect="non-scaling-stroke" d="M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />\n <path vector-effect="non-scaling-stroke" d="M9 11L15 17M15 11L9 17" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />\n</symbol>',viewBox:"0 0 24 24"});He.add(dt);const ft=new xe({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"});He.add(ft);const ht=new xe({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"});He.add(ht);const pt=new xe({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"});He.add(pt);const gt=new xe({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"});He.add(gt);const mt=new xe({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"});He.add(mt);const vt=new xe({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"});He.add(vt);const bt=new xe({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"});He.add(bt);const yt=new xe({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"});He.add(yt);const _t=new xe({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"});He.add(_t);const xt=new xe({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"});He.add(xt);const wt=new xe({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"});He.add(wt);const kt=new xe({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"});He.add(kt);const Ct=new xe({id:"b8e35b773a72279be0d53e5346e26652",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="b8e35b773a72279be0d53e5346e26652">\n <path d="M11 8H7" stroke="currentColor" stroke-opacity="0.7" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />\n <path d="M13 16H7" stroke="currentColor" stroke-opacity="0.7" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />\n <path d="M17 12H7" stroke="currentColor" stroke-opacity="0.7" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />\n <path d="M5 21L3 19V5L5 3H19L21 5V19L19 21H5Z" stroke="currentColor" stroke-opacity="0.7" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />\n</symbol>',viewBox:"0 0 24 24"});He.add(Ct);const At=new xe({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"});He.add(At);const St=new xe({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"});He.add(St);const Mt=new xe({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"});He.add(Mt);const Et=new xe({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"});He.add(Et);const Lt=new xe({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"});He.add(Lt);const Tt=new xe({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"});He.add(Tt);const Dt=new xe({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"});He.add(Dt);const Ft=new xe({id:"d5953776c0059805d8d02c9caa134ebb",content:'<symbol viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg" id="d5953776c0059805d8d02c9caa134ebb">\n <g clip-path="url(#d5953776c0059805d8d02c9caa134ebb_clip0_3176_61815)">\n <path d="M4.99967 7.99967L6.99967 9.99967L10.9997 5.99967M14.6663 7.99967C14.6663 11.6816 11.6816 14.6663 7.99967 14.6663C4.31778 14.6663 1.33301 11.6816 1.33301 7.99967C1.33301 4.31778 4.31778 1.33301 7.99967 1.33301C11.6816 1.33301 14.6663 4.31778 14.6663 7.99967Z" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" />\n </g>\n <defs>\n <clipPath id="d5953776c0059805d8d02c9caa134ebb_clip0_3176_61815">\n <rect width="16" height="16" fill="white" />\n </clipPath>\n </defs>\n</symbol>',viewBox:"0 0 16 16"});He.add(Ft);const Ot=new xe({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"});He.add(Ot);const zt=new xe({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"});He.add(zt);const Rt=new xe({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"});He.add(Rt);const Nt=new xe({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"});He.add(Nt);const Pt=new xe({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"});He.add(Pt);const It=new xe({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"});He.add(It);const Bt=new xe({id:"1dbee23bffd948419bd2fd229b954c6e",content:'<symbol viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg" id="1dbee23bffd948419bd2fd229b954c6e">\n <path d="M6.39268 5.99967C6.54942 5.55412 6.85878 5.17841 7.26599 4.9391C7.67319 4.69978 8.15195 4.6123 8.61747 4.69215C9.08299 4.772 9.50523 5.01402 9.8094 5.37536C10.1136 5.7367 10.2801 6.19402 10.2793 6.66634C10.2793 7.99967 8.27935 8.66634 8.27935 8.66634M8.33268 11.333H8.33935M14.9993 7.99967C14.9993 11.6816 12.0146 14.6663 8.33268 14.6663C4.65078 14.6663 1.66602 11.6816 1.66602 7.99967C1.66602 4.31778 4.65078 1.33301 8.33268 1.33301C12.0146 1.33301 14.9993 4.31778 14.9993 7.99967Z" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" />\n</symbol>',viewBox:"0 0 16 16"});He.add(Bt);const jt=new xe({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"});He.add(jt);const Wt=new xe({id:"9e9e6121746e98be5b9b47de8c377cc3",content:'<symbol viewBox="0 0 17 16" fill="none" xmlns="http://www.w3.org/2000/svg" id="9e9e6121746e98be5b9b47de8c377cc3">\n <path d="M8.33268 10.6663V7.99967M8.33268 5.33301H8.33935M14.9993 7.99967C14.9993 11.6816 12.0146 14.6663 8.33268 14.6663C4.65078 14.6663 1.66602 11.6816 1.66602 7.99967C1.66602 4.31778 4.65078 1.33301 8.33268 1.33301C12.0146 1.33301 14.9993 4.31778 14.9993 7.99967Z" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" />\n</symbol>',viewBox:"0 0 17 16"});He.add(Wt);const Ht=new xe({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"});He.add(Ht);const qt=new xe({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"});He.add(qt);const $t=new xe({id:"8d8df0b9801fcd9df0e1e4ce5e79d4cf",content:'<symbol viewBox="0 0 17 16" fill="none" xmlns="http://www.w3.org/2000/svg" id="8d8df0b9801fcd9df0e1e4ce5e79d4cf">\n <path d="M6 7.99967H11.3333M15.3333 7.99967C15.3333 11.6816 12.3486 14.6663 8.66667 14.6663C4.98477 14.6663 2 11.6816 2 7.99967C2 4.31778 4.98477 1.33301 8.66667 1.33301C12.3486 1.33301 15.3333 4.31778 15.3333 7.99967Z" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" />\n</symbol>',viewBox:"0 0 17 16"});He.add($t);const Ut=new xe({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"});He.add(Ut);const Vt=new xe({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"});He.add(Vt);const Gt=new xe({id:"f331d6d24c4f20291cf991275fd9c844",content:'<symbol viewBox="0 0 17 16" fill="none" xmlns="http://www.w3.org/2000/svg" id="f331d6d24c4f20291cf991275fd9c844">\n <path d="M10.6667 5.99967L6.66667 9.99967M6.66667 5.99967L10.6667 9.99967M15.3333 7.99967C15.3333 11.6816 12.3486 14.6663 8.66667 14.6663C4.98477 14.6663 2 11.6816 2 7.99967C2 4.31778 4.98477 1.33301 8.66667 1.33301C12.3486 1.33301 15.3333 4.31778 15.3333 7.99967Z" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" />\n</symbol>',viewBox:"0 0 17 16"});He.add(Gt);const Yt=new xe({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"});He.add(Yt);const Zt=new xe({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"});He.add(Zt);const Xt=new xe({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"});He.add(Xt);const Kt=new xe({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"});He.add(Kt);const Jt=new xe({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"});He.add(Jt);const Qt=new xe({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"});He.add(Qt);const en=new xe({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"});He.add(en);const tn=new xe({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"});He.add(tn);const nn=new xe({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"});He.add(nn);const rn=new xe({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"});He.add(rn);const on=new xe({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"});He.add(on);const an=new xe({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"});He.add(an);const sn=new xe({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"});He.add(sn);const ln=new xe({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"});He.add(ln);const cn=new xe({id:"2b3f4c2f95a2713befa37cddaf060a24",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="2b3f4c2f95a2713befa37cddaf060a24">\n <path stroke="currentColor" stroke-width="1.5" d="M5.508 10.742a6.796 6.796 0 0 0 1.916 5.834 6.795 6.795 0 0 0 5.833 1.915 5.706 5.706 0 1 1-7.749-7.749Z" />\n <path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M22 8h-1.2m-.557 4.243-.849-.849M11.2 8H10m2.606-3.394-.849-.849M16 3.2V2m3.394 2.606.849-.849M16 14v-1.2m-4.243-.557.849-.849M19.6 8a3.6 3.6 0 1 1-7.2 0 3.6 3.6 0 0 1 7.2 0Z" />\n</symbol>',viewBox:"0 0 24 24"});He.add(cn);const un=new xe({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"});He.add(un);const dn=new xe({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"});He.add(dn);const fn=new xe({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"});He.add(fn);const hn=new xe({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"});He.add(hn);const pn=new xe({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"});He.add(pn);const gn=new xe({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"});He.add(gn);const mn=new xe({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"});He.add(mn);const vn=new xe({id:"84649b25b6ed4f61642b91b506fa7afd",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="84649b25b6ed4f61642b91b506fa7afd">\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 1ZM11 7C11 6.44772 11.4477 6 12 6C12.5523 6 13 6.44772 13 7V11H17C17.5523 11 18 11.4477 18 12C18 12.5523 17.5523 13 17 13H13V17C13 17.5523 12.5523 18 12 18C11.4477 18 11 17.5523 11 17V13H7C6.44772 13 6 12.5523 6 12C6 11.4477 6.44772 11 7 11H11V7Z" fill="currentColor" />\n</symbol>',viewBox:"0 0 24 24"});He.add(vn);const bn=new xe({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"});He.add(bn);const yn=new xe({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"});He.add(yn);const _n=new xe({id:"52eca3113bd4208c703a4e2a0c10f117",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="52eca3113bd4208c703a4e2a0c10f117">\n<path d="M16 4C16.93 4 17.395 4 17.7765 4.10222C18.8117 4.37962 19.6204 5.18827 19.8978 6.22354C20 6.60504 20 7.07003 20 8V17.2C20 18.8802 20 19.7202 19.673 20.362C19.3854 20.9265 18.9265 21.3854 18.362 21.673C17.7202 22 16.8802 22 15.2 22H8.8C7.11984 22 6.27976 22 5.63803 21.673C5.07354 21.3854 4.6146 20.9265 4.32698 20.362C4 19.7202 4 18.8802 4 17.2V8C4 7.07003 4 6.60504 4.10222 6.22354C4.37962 5.18827 5.18827 4.37962 6.22354 4.10222C6.60504 4 7.07003 4 8 4M12 17V11M9 14H15M9.6 6H14.4C14.9601 6 15.2401 6 15.454 5.89101C15.6422 5.79513 15.7951 5.64215 15.891 5.45399C16 5.24008 16 4.96005 16 4.4V3.6C16 3.03995 16 2.75992 15.891 2.54601C15.7951 2.35785 15.6422 2.20487 15.454 2.10899C15.2401 2 14.9601 2 14.4 2H9.6C9.03995 2 8.75992 2 8.54601 2.10899C8.35785 2.20487 8.20487 2.35785 8.10899 2.54601C8 2.75992 8 3.03995 8 3.6V4.4C8 4.96005 8 5.24008 8.10899 5.45399C8.20487 5.64215 8.35785 5.79513 8.54601 5.89101C8.75992 6 9.03995 6 9.6 6Z" stroke="currentColor" stroke-opacity="1" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" />\n</symbol>',viewBox:"0 0 24 24"});He.add(_n);const xn=new xe({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"});He.add(xn);const wn=new xe({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"});He.add(wn);var kn={icon:"styles_icon__peopu","size-xs":"styles_size-xs__jr71y","size-s":"styles_size-s__nGH-V","size-m":"styles_size-m__INBNd","size-l":"styles_size-l__SWmMv","size-xl":"styles_size-xl__-K5s3",inline:"styles_inline__BmJqE"},Cn=0;function An(t,n,r,i,o,a){n||(n={});var s,l,c=n;if("ref"in c)for(l in c={},n)"ref"==l?s=n[l]:c[l]=n[l];var u={type:t,props:c,key:r,ref:s,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:--Cn,__i:-1,__u:0,__source:o,__self:a};if("function"==typeof t&&(s=t.defaultProps))for(l in s)void 0===c[l]&&(c[l]=s[l]);return e.vnode&&e.vnode(u),u}const Sn={amazon:Ze.id,arrowsChevronDown:Xe.id,azure:Ke.id,bitbucket:Je.id,circleci:Qe.id,draggable:et.id,drone:tt.id,environment:nt.id,github:rt.id,gitlab:it.id,jenkins:ot.id,lineAlertsAlertCircle:at.id,lineAlertsFixed:st.id,lineAlertsMalfunctioned:lt.id,lineAlertsNew:ct.id,lineAlertsNotificationBox:ut.id,lineAlertsRegressed:dt.id,lineArrowsChevronDown:ht.id,lineArrowsChevronDownDouble:ft.id,lineArrowsChevronRight:pt.id,lineArrowsChevronUp:mt.id,lineArrowsChevronUpDouble:gt.id,lineArrowsCornerDownRight:vt.id,lineArrowsExpand3:bt.id,lineArrowsRefreshCcw1:yt.id,lineArrowsSortLineAsc:_t.id,lineArrowsSortLineDesc:xt.id,lineArrowsSwitchVertical1:wt.id,lineChartsBarChartSquare:kt.id,lineChartsTimeline:Ct.id,lineDevBug2:At.id,lineDevCodeSquare:St.id,lineDevDataflow3:Mt.id,lineFilesClipboardCheck:Et.id,lineFilesFile2:Lt.id,lineFilesFileAttachment2:Tt.id,lineFilesFolder:Dt.id,lineGeneralCheck:Ot.id,lineGeneralCheckCircle:Ft.id,lineGeneralChecklist3:zt.id,lineGeneralCopy3:Rt.id,lineGeneralDownloadCloud:Nt.id,lineGeneralEqual:Pt.id,lineGeneralEye:It.id,lineGeneralHelpCircle:Bt.id,lineGeneralHomeLine:jt.id,lineGeneralInfoCircle:Wt.id,lineGeneralLink1:Ht.id,lineGeneralLinkExternal:qt.id,lineGeneralMinusCircle:$t.id,lineGeneralSearchMd:Ut.id,lineGeneralSettings1:Vt.id,lineGeneralXCircle:Gt.id,lineGeneralXClose:Yt.id,lineGeneralZap:Zt.id,lineHelpersFlag:Xt.id,lineHelpersPlayCircle:Kt.id,lineIconBomb2:Jt.id,lineImagesImage:Qt.id,lineLayoutsColumn2:en.id,lineLayoutsLayoutTop:tn.id,lineLayoutsMaximize2:nn.id,lineLayoutsMinimize2:rn.id,lineSecurityKey:on.id,lineShapesDotCircle:an.id,lineShapesMoon:sn.id,lineShapesSun:ln.id,lineShapesThemeAuto:cn.id,lineTimeClockStopwatch:un.id,playwrightLogo:dn.id,reportLogo:fn.id,solidAlertCircle:hn.id,solidCheckCircle:pn.id,solidHelpCircle:gn.id,solidMinusCircle:mn.id,solidPlusCircle:vn.id,solidXCircle:bn.id,spinner:yn.id,testNew:_n.id,view:wn.id,viewOff:xn.id},Mn=({id:e,size:t="s",inline:n=!1,className:r="","data-testid":i,...o})=>An("svg",{...o,className:ie(kn.icon,kn[`size-${t}`],n&&kn.inline,r),"data-testid":i,children:An("use",{xlinkHref:`#${e}`})}),En=({size:e})=>An(Mn,{role:"progressbar",id:yn.id,size:e}),Ln=({size:e="m",tag:t="span",type:n="paragraph",bold:r=!1,className:i,children:o,...a})=>"paragraph"===n?An(t,{...a,className:ie(`paragraphs-text-${e}${r?"-bold":""}`,i),children:o}):"ui"===n?An(t,{...a,className:ie(`ui-text-${e}-ui${r?"-bold":""}`,i),children:o}):null,Tn=({size:e="m",tag:t="span",type:n="paragraph",bold:r=!1,className:i,children:o,...a})=>"paragraph"===n?An(t,{...a,className:ie(`paragraphs-code-${e}${r?"-bold":""}`,i),children:o}):"ui"===n?An(t,{...a,className:ie(`ui-code-${e}-ui${r?"-bold":""}`,i),children:o}):null,Dn=({size:e="m",tag:t="span",className:n,children:r,...i})=>An(t,{...i,className:ie(`headings-head-${e}`,n),children:r});var Fn={button:"styles_button__dJOMr",fullWidth:"styles_fullWidth__UvMfL",textTruncatedButton:"styles_textTruncatedButton__NBPpI",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_xs:"styles_size_xs__VcVUS",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",textTruncated:"styles_textTruncated__G0qe5",pending:"styles_pending__8GUAj",content:"styles_content__pYX6n",leadingSlot:"styles_leadingSlot__v4sKN",trailingSlot:"styles_trailingSlot__bMgTb",spinner:"styles_spinner__anTET"};const On=e=>{const{text:t,type:n="button",icon:r,iconSize:i="m",onClick:o,isPending:a=!1,size:s="m",style:l="primary",action:c="default",fullWidth:u=!1,isDisabled:d=!1,isIconButton:f=!1,isDropdownButton:h=!1,isActive:p=!1,focusable:g=!0,href:m,target:v="_self",className:b,leadingSlot:y,trailingSlot:_,rounded:x,isLink:w=!1,isTextTruncated:k=!1,iconColor:C="primary",textRef:A,...S}=e,M=d||a,E={...S,tabIndex:g?0:-1,className:ie(Fn.button,f&&Fn.buttonIcon,Fn[`size_${s}`],Fn[`icon_size_${i}`],Fn[`style_${l}`],"danger"===c&&Fn.danger,"positive"===c&&Fn.positive,a&&Fn.pending,k&&Fn.textTruncatedButton,u&&Fn.fullWidth,!M&&p&&Fn.active,b),onClick:o,"data-rounded":x||void 0,"data-link":w||void 0,"data-icon-color":"default"===c&&C||void 0},L=An(Ln,{type:"ui",size:"s"===s?"s":"m",bold:!0,className:Fn.content,children:[r&&An(Mn,{size:"s",className:f?Fn.contentIcon:Fn.leadingIcon,id:r}),y&&An("div",{className:Fn.leadingSlot,children:y}),!f&&An("span",{ref:A,className:ie(Fn.text,k&&Fn.textTruncated),children:t}),_&&An("div",{className:Fn.trailingSlot,children:_}),h&&An(Mn,{id:Sn.lineArrowsChevronDown,size:"s",className:Fn.dropdownIcon}),An("span",{className:Fn.spinner,"aria-hidden":!a,children:An(En,{})})]});return m?An("a",{...E,href:m,target:v,"aria-disabled":M?"true":void 0,style:M?{pointerEvents:"none"}:void 0,children:L}):An("button",{...E,disabled:M,type:n,children:L})},zn=e=>An(On,{...e}),Rn=e=>An(On,{...e,isIconButton:!0}),Nn=e=>An(On,{...e,isDropdownButton:!0,isActive:e.isExpanded}),Pn=e=>An(On,{...e,href:e.href,target:e.target,isLink:!0}),In=["failed","broken","passed","skipped","unknown"],Bn=new Set(["failed","broken"]),jn=new Set(["passed"]),Wn=new Set([...Bn,...jn]),Hn=e=>{const t=new Set(e);return e=>t.has(e.status)};var qn,$n;Hn(jn),Hn(Bn),Hn(Wn),function(e){e.Amazon="amazon",e.Azure="azure",e.Bitbucket="bitbucket",e.Circle="circle",e.Drone="drone",e.Github="github",e.Gitlab="gitlab",e.Jenkins="jenkins",e.Local="local"}(qn||(qn={})),function(e){e.Github="github",e.Gitlab="gitlab",e.Bitbucket="bitbucket",e.Other="other"}($n||($n={}));const Un=[{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}],Vn=e=>{if(void 0===e)return"unknown";if(e<.5)return"0s";const t=[];for(const{accessor:n,suffix:r}of Un){const i=n(e);if((0!==t.length||i)&&(t.push(i+r),t.length>1))break}return t.join(" ")},Gn=new Set(["http:","https:","mailto:","tel:"]),Yn=e=>{if("string"!=typeof e)return;const t=e.trim();if(0===t.length)return;const n=t.match(/^([A-Za-z][A-Za-z0-9+.-]*):/);if(!n)return;const r=`${n[1].toLowerCase()}:`;if(Gn.has(r))try{return new URL(t).toString()}catch{return}},Zn=async e=>(await new Promise((e=>{const t=()=>{if(globalThis.allureReportDataReady)return e(!0);setTimeout(t,30)};t()})),new Promise(((t,n)=>{const r=globalThis.allureReportData??{};if(e in r)return t(r[e]);const i=e.replace(/\\/g,"/");if(i in r)return t(r[i]);const o=i.replace(/\//g,"\\");return o in r?t(r[o]):n(new Error(`Data "${e}" not found!`))}))),Xn=async(e,t)=>{const n=await(async(e,t="application/octet-stream")=>{if(globalThis.allureReportData){const[n]=e.split("?");return`data:${t};base64,${await Zn(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 Kn(),i&&r.searchParams.set("live_reload_hash",i),r.toString()})(e,t);return globalThis.fetch(n)},Kn=()=>globalThis.allureReportOptions,Jn=async({id:e,ext:t,contentType:n})=>Xn(`data/attachments/${`${e||"-"}${t||""}`}?attachment`,n),Qn=async(e,t,n)=>{const r=await Jn({id:e,ext:t,contentType:n});return await r.blob()},er=["text/html","text/csv","text/markdown","text/tab-separated-values","text/uri-list"],tr=new Set(["js","mjs","cjs","jsx","ts","mts","cts","tsx","json","html","htm","xml","css","csv","tsv","md","markdown","yaml","yml","java","py","rb","go","php","sql","kt","swift","rs","c","cpp","cs","scala","dart","lua","haskell","r","perl"]),nr=new Set(["text/plain","text/*","text/uri-list"]),rr=new Set(["text/markdown","text/html","text/csv","text/tab-separated-values","text/xml","text/json","text/yaml","text/javascript","text/typescript","text/ruby","text/python","text/php","text/java","text/csharp","text/cpp","text/c","text/go","text/rust","text/swift","text/kotlin","text/scala","text/perl","text/r","text/dart","text/lua","text/haskell","text/sql","text/x-yaml","text/css","application/yaml","application/x-yaml","application/xml","application/json"]),ir=e=>{const t=e.lastIndexOf(".");if(!(t<=0||t===e.length-1))return e.slice(t)},or=e=>{const t=e?.split(";")[0].trim().toLowerCase();switch(t){case"image/bmp":case"image/gif":case"image/tiff":case"image/jpeg":case"image/jpg":case"image/png":case"image/*":return"image";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"code";case"text/plain":case"text/*":return"text";case"text/markdown":return"markdown";case"text/html":return"html";case"text/csv":case"text/tab-separated-values":return"table";case"image/svg+xml":return"svg";case"video/mp4":case"video/ogg":case"video/webm":return"video";case"text/uri-list":return"uri";case"application/x-tar":case"application/x-gtar":case"application/x-bzip2":case"application/gzip":case"application/zip":return"archive";case"application/vnd.allure.image.diff":return"image-diff";case"application/vnd.allure.http+json":return"http";default:return null}},ar={en:{short:"Eng",full:"English",iso:"en-US"},"en-iso":{short:"En ISO",full:"English (ISO-8601)",iso:"en-CA"},ru:{short:"Ру",full:"Русский",iso:"ru-RU"},uk:{short:"Ук",full:"Українська",iso:"uk-UA"},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"},ar:{short:"Ar",full:"العربية",iso:"ar-SA"},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"},"zh-TW":{short:"Zh-TW",full:"繁體中文",iso:"zh-TW"}};var sr,lr,cr;function ur(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function dr(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function fr(){}!function(e){e.CurrentStatus="currentStatus",e.StatusDynamics="statusDynamics",e.StatusTransitions="statusTransitions",e.StabilityDistribution="stabilityDistribution",e.TestBaseGrowthDynamics="testBaseGrowthDynamics",e.StatusAgePyramid="statusAgePyramid",e.Durations="durations",e.DurationDynamics="durationDynamics",e.TrSeverities="testResultSeverities",e.TestingPyramid="testingPyramid",e.CoverageDiff="coverageDiff",e.SuccessRateDistribution="successRateDistribution",e.ProblemsDistribution="problemsDistribution"}(sr||(sr={})),function(e){e.Status="status",e.Severity="severity"}(lr||(lr={})),function(e){e.Raw="raw",e.Percent="percent",e.Diverging="diverging"}(cr||(cr={})),sr.CurrentStatus,sr.StatusDynamics,sr.TrSeverities,sr.StatusTransitions,sr.TestBaseGrowthDynamics,sr.CoverageDiff,sr.SuccessRateDistribution,sr.ProblemsDistribution,sr.StabilityDistribution,sr.StabilityDistribution,sr.StabilityDistribution,sr.Durations,sr.Durations,sr.DurationDynamics,sr.StatusAgePyramid,sr.TestingPyramid;var hr=.7,pr=1/hr,gr="\\s*([+-]?\\d+)\\s*",mr="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",vr="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",br=/^#([0-9a-f]{3,8})$/,yr=new RegExp(`^rgb\\(${gr},${gr},${gr}\\)$`),_r=new RegExp(`^rgb\\(${vr},${vr},${vr}\\)$`),xr=new RegExp(`^rgba\\(${gr},${gr},${gr},${mr}\\)$`),wr=new RegExp(`^rgba\\(${vr},${vr},${vr},${mr}\\)$`),kr=new RegExp(`^hsl\\(${mr},${vr},${vr}\\)$`),Cr=new RegExp(`^hsla\\(${mr},${vr},${vr},${mr}\\)$`),Ar={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 Sr(){return this.rgb().formatHex()}function Mr(){return this.rgb().formatRgb()}function Er(e){var t,n;return e=(e+"").trim().toLowerCase(),(t=br.exec(e))?(n=t[1].length,t=parseInt(t[1],16),6===n?Lr(t):3===n?new Or(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===n?Tr(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===n?Tr(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=yr.exec(e))?new Or(t[1],t[2],t[3],1):(t=_r.exec(e))?new Or(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=xr.exec(e))?Tr(t[1],t[2],t[3],t[4]):(t=wr.exec(e))?Tr(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=kr.exec(e))?Br(t[1],t[2]/100,t[3]/100,1):(t=Cr.exec(e))?Br(t[1],t[2]/100,t[3]/100,t[4]):Ar.hasOwnProperty(e)?Lr(Ar[e]):"transparent"===e?new Or(NaN,NaN,NaN,0):null}function Lr(e){return new Or(e>>16&255,e>>8&255,255&e,1)}function Tr(e,t,n,r){return r<=0&&(e=t=n=NaN),new Or(e,t,n,r)}function Dr(e){return e instanceof fr||(e=Er(e)),e?new Or((e=e.rgb()).r,e.g,e.b,e.opacity):new Or}function Fr(e,t,n,r){return 1===arguments.length?Dr(e):new Or(e,t,n,null==r?1:r)}function Or(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function zr(){return`#${Ir(this.r)}${Ir(this.g)}${Ir(this.b)}`}function Rr(){const e=Nr(this.opacity);return`${1===e?"rgb(":"rgba("}${Pr(this.r)}, ${Pr(this.g)}, ${Pr(this.b)}${1===e?")":`, ${e})`}`}function Nr(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function Pr(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function Ir(e){return((e=Pr(e))<16?"0":"")+e.toString(16)}function Br(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new Wr(e,t,n,r)}function jr(e){if(e instanceof Wr)return new Wr(e.h,e.s,e.l,e.opacity);if(e instanceof fr||(e=Er(e)),!e)return new Wr;if(e instanceof Wr)return e;var t=(e=e.rgb()).r/255,n=e.g/255,r=e.b/255,i=Math.min(t,n,r),o=Math.max(t,n,r),a=NaN,s=o-i,l=(o+i)/2;return s?(a=t===o?(n-r)/s+6*(n<r):n===o?(r-t)/s+2:(t-n)/s+4,s/=l<.5?o+i:2-o-i,a*=60):s=l>0&&l<1?0:a,new Wr(a,s,l,e.opacity)}function Wr(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function Hr(e){return(e=(e||0)%360)<0?e+360:e}function qr(e){return Math.max(0,Math.min(1,e||0))}function $r(e,t,n){return 255*(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)}ur(fr,Er,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:Sr,formatHex:Sr,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return jr(this).formatHsl()},formatRgb:Mr,toString:Mr}),ur(Or,Fr,dr(fr,{brighter(e){return e=null==e?pr:Math.pow(pr,e),new Or(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=null==e?hr:Math.pow(hr,e),new Or(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new Or(Pr(this.r),Pr(this.g),Pr(this.b),Nr(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:zr,formatHex:zr,formatHex8:function(){return`#${Ir(this.r)}${Ir(this.g)}${Ir(this.b)}${Ir(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:Rr,toString:Rr})),ur(Wr,(function(e,t,n,r){return 1===arguments.length?jr(e):new Wr(e,t,n,null==r?1:r)}),dr(fr,{brighter(e){return e=null==e?pr:Math.pow(pr,e),new Wr(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=null==e?hr:Math.pow(hr,e),new Wr(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 Or($r(e>=240?e-240:e+120,i,r),$r(e,i,r),$r(e<120?e+240:e-120,i,r),this.opacity)},clamp(){return new Wr(Hr(this.h),qr(this.s),qr(this.l),Nr(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=Nr(this.opacity);return`${1===e?"hsl(":"hsla("}${Hr(this.h)}, ${100*qr(this.s)}%, ${100*qr(this.l)}%${1===e?")":`, ${e})`}`}}));const Ur=Math.PI/180,Vr=180/Math.PI;var Gr=-.14861,Yr=1.78277,Zr=-.29227,Xr=-.90649,Kr=1.97294,Jr=Kr*Xr,Qr=Kr*Yr,ei=Yr*Zr-Xr*Gr;function ti(e,t,n,r){return 1===arguments.length?function(e){if(e instanceof ni)return new ni(e.h,e.s,e.l,e.opacity);e instanceof Or||(e=Dr(e));var t=e.r/255,n=e.g/255,r=e.b/255,i=(ei*r+Jr*t-Qr*n)/(ei+Jr-Qr),o=r-i,a=(Kr*(n-i)-Zr*o)/Xr,s=Math.sqrt(a*a+o*o)/(Kr*i*(1-i)),l=s?Math.atan2(a,o)*Vr-120:NaN;return new ni(l<0?l+360:l,s,i,e.opacity)}(e):new ni(e,t,n,null==r?1:r)}function ni(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}ur(ni,ti,dr(fr,{brighter(e){return e=null==e?pr:Math.pow(pr,e),new ni(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=null==e?hr:Math.pow(hr,e),new ni(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=isNaN(this.h)?0:(this.h+120)*Ur,t=+this.l,n=isNaN(this.s)?0:this.s*t*(1-t),r=Math.cos(e),i=Math.sin(e);return new Or(255*(t+n*(Gr*r+Yr*i)),255*(t+n*(Zr*r+Xr*i)),255*(t+n*(Kr*r)),this.opacity)}}));var ri=e=>()=>e;function ii(e,t){return function(n){return e+n*t}}function oi(e){return 1==(e=+e)?ai: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):ri(isNaN(t)?n:t)}}function ai(e,t){var n=t-e;return n?ii(e,n):ri(isNaN(e)?t:e)}var si=function e(t){var n=oi(t);function r(e,t){var r=n((e=Fr(e)).r,(t=Fr(t)).r),i=n(e.g,t.g),o=n(e.b,t.b),a=ai(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 li,ci=(li=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=Fr(e[t]),i[t]=n.r||0,o[t]=n.g||0,a[t]=n.b||0;return i=li(i),o=li(o),a=li(a),n.opacity=1,function(e){return n.r=i(e),n.g=o(e),n.b=a(e),n+""}});function ui(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 di(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]=bi(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 fi(e,t){var n=new Date;return e=+e,t=+t,function(r){return n.setTime(e*(1-r)+t*r),n}}function hi(e,t){return e=+e,t=+t,function(n){return e*(1-n)+t*n}}function pi(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]=bi(e[n],t[n]):i[n]=t[n];return function(e){for(n in r)i[n]=r[n](e);return i}}var gi=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,mi=new RegExp(gi.source,"g");function vi(e,t){var n,r,i,o=gi.lastIndex=mi.lastIndex=0,a=-1,s=[],l=[];for(e+="",t+="";(n=gi.exec(e))&&(r=mi.exec(t));)(i=r.index)>o&&(i=t.slice(o,i),s[a]?s[a]+=i:s[++a]=i),(n=n[0])===(r=r[0])?s[a]?s[a]+=r:s[++a]=r:(s[++a]=null,l.push({i:a,x:hi(n,r)})),o=mi.lastIndex;return o<t.length&&(i=t.slice(o),s[a]?s[a]+=i:s[++a]=i),s.length<2?l[0]?function(e){return function(t){return e(t)+""}}(l[0].x):function(e){return function(){return e}}(t):(t=l.length,function(e){for(var n,r=0;r<t;++r)s[(n=l[r]).i]=n.x(e);return s.join("")})}function bi(e,t){var n,r=typeof t;return null==t||"boolean"===r?ri(t):("number"===r?hi:"string"===r?(n=Er(t))?(t=n,si):vi:t instanceof Er?si:t instanceof Date?fi:function(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}(t)?ui:Array.isArray(t)?di:"function"!=typeof t.valueOf&&"function"!=typeof t.toString||isNaN(t)?pi:hi)(e,t)}function yi(e,t){return e=+e,t=+t,function(n){return Math.round(e*(1-n)+t*n)}}var _i,xi=180/Math.PI,wi={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function ki(e,t,n,r,i,o){var a,s,l;return(a=Math.sqrt(e*e+t*t))&&(e/=a,t/=a),(l=e*n+t*r)&&(n-=e*l,r-=t*l),(s=Math.sqrt(n*n+r*r))&&(n/=s,r/=s,l/=s),e*r<t*n&&(e=-e,t=-t,l=-l,a=-a),{translateX:i,translateY:o,rotate:Math.atan2(t,e)*xi,skewX:Math.atan(l)*xi,scaleX:a,scaleY:s}}function Ci(e,t,n,r){function i(e){return e.length?e.pop()+" ":""}return function(o,a){var s=[],l=[];return o=e(o),a=e(a),function(e,r,i,o,a,s){if(e!==i||r!==o){var l=a.push("translate(",null,t,null,n);s.push({i:l-4,x:hi(e,i)},{i:l-2,x:hi(r,o)})}else(i||o)&&a.push("translate("+i+t+o+n)}(o.translateX,o.translateY,a.translateX,a.translateY,s,l),function(e,t,n,o){e!==t?(e-t>180?t+=360:t-e>180&&(e+=360),o.push({i:n.push(i(n)+"rotate(",null,r)-2,x:hi(e,t)})):t&&n.push(i(n)+"rotate("+t+r)}(o.rotate,a.rotate,s,l),function(e,t,n,o){e!==t?o.push({i:n.push(i(n)+"skewX(",null,r)-2,x:hi(e,t)}):t&&n.push(i(n)+"skewX("+t+r)}(o.skewX,a.skewX,s,l),function(e,t,n,r,o,a){if(e!==n||t!==r){var s=o.push(i(o)+"scale(",null,",",null,")");a.push({i:s-4,x:hi(e,n)},{i:s-2,x:hi(t,r)})}else 1===n&&1===r||o.push(i(o)+"scale("+n+","+r+")")}(o.scaleX,o.scaleY,a.scaleX,a.scaleY,s,l),o=a=null,function(e){for(var t,n=-1,r=l.length;++n<r;)s[(t=l[n]).i]=t.x(e);return s.join("")}}}var Ai=Ci((function(e){const t=new("function"==typeof DOMMatrix?DOMMatrix:WebKitCSSMatrix)(e+"");return t.isIdentity?wi:ki(t.a,t.b,t.c,t.d,t.e,t.f)}),"px, ","px)","deg)"),Si=Ci((function(e){return null==e?wi:(_i||(_i=document.createElementNS("http://www.w3.org/2000/svg","g")),_i.setAttribute("transform",e),(e=_i.transform.baseVal.consolidate())?ki((e=e.matrix).a,e.b,e.c,e.d,e.e,e.f):wi)}),", ",")",")");function Mi(e){return function t(n){function r(t,r){var i=e((t=ti(t)).h,(r=ti(r)).h),o=ai(t.s,r.s),a=ai(t.l,r.l),s=ai(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)}Mi((function(e,t){var n=t-e;return n?ii(e,n>180||n<-180?n-360*Math.round(n/360):n):ri(isNaN(e)?t:e)}));var Ei=Mi(ai);function Li(e,t){return null==e||null==t?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function Ti(e,t){return null==e||null==t?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function Di(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=Li,n=(t,n)=>Li(e(t),n),r=(t,n)=>e(t)-n):(t=e===Li||e===Ti?e:Fi,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 Fi(){return 0}const Oi=Di(Li).right;Di((function(e){return null===e?NaN:+e})).center;class zi extends Map{constructor(e,t=Ni){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(Ri(this,e))}has(e){return super.has(Ri(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 Ri({_intern:e,_key:t},n){const r=t(n);return e.has(r)?e.get(r):n}function Ni(e){return null!==e&&"object"==typeof e?e.valueOf():e}const Pi=Math.sqrt(50),Ii=Math.sqrt(10),Bi=Math.sqrt(2);function ji(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>=Pi?10:o>=Ii?5:o>=Bi?2:1;let s,l,c;return i<0?(c=Math.pow(10,-i)/a,s=Math.round(e*c),l=Math.round(t*c),s/c<e&&++s,l/c>t&&--l,c=-c):(c=Math.pow(10,i)*a,s=Math.round(e/c),l=Math.round(t/c),s*c<e&&++s,l*c>t&&--l),l<s&&.5<=n&&n<2?ji(e,t,2*n):[s,l,c]}function Wi(e,t,n){if(!((n=+n)>0))return[];if((e=+e)===(t=+t))return[e];const r=t<e,[i,o,a]=r?ji(t,e,n):ji(e,t,n);if(!(o>=i))return[];const s=o-i+1,l=new Array(s);if(r)if(a<0)for(let e=0;e<s;++e)l[e]=(o-e)/-a;else for(let e=0;e<s;++e)l[e]=(o-e)*a;else if(a<0)for(let e=0;e<s;++e)l[e]=(i+e)/-a;else for(let e=0;e<s;++e)l[e]=(i+e)*a;return l}function Hi(e,t,n){return ji(e=+e,t=+t,n=+n)[2]}function qi(e,t,n){n=+n;const r=(t=+t)<(e=+e),i=r?Hi(t,e,n):Hi(e,t,n);return(r?-1:1)*(i<0?1/-i:i)}function $i(e,t){let n;if(void 0===t)for(const t of e)null!=t&&(n<t||void 0===n&&t>=t)&&(n=t);else{let r=-1;for(let i of e)null!=(i=t(i,++r,e))&&(n<i||void 0===n&&i>=i)&&(n=i)}return n}function Ui(e,t){let n;if(void 0===t)for(const t of e)null!=t&&(n>t||void 0===n&&t>=t)&&(n=t);else{let r=-1;for(let i of e)null!=(i=t(i,++r,e))&&(n>i||void 0===n&&i>=i)&&(n=i)}return n}function Vi(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e)}return this}function Gi(e,t){switch(arguments.length){case 0:break;case 1:"function"==typeof e?this.interpolator(e):this.range(e);break;default:this.domain(e),"function"==typeof t?this.interpolator(t):this.range(t)}return this}const Yi=Symbol("implicit");function Zi(){var e=new zi,t=[],n=[],r=Yi;function i(i){let o=e.get(i);if(void 0===o){if(r!==Yi)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 zi;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 Zi(t,n).unknown(r)},Vi.apply(i,arguments),i}function Xi(){var e,t,n=Zi().unknown(void 0),r=n.domain,i=n.range,o=0,a=1,s=!1,l=0,c=0,u=.5;function d(){var n=r().length,d=a<o,f=d?a:o,h=d?o:a;e=(h-f)/Math.max(1,n-l+2*c),s&&(e=Math.floor(e)),f+=(h-f-e*(n-l))*u,t=e*(1-l),s&&(f=Math.round(f),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 f+e*t}));return i(d?p.reverse():p)}return delete n.unknown,n.domain=function(e){return arguments.length?(r(e),d()):r()},n.range=function(e){return arguments.length?([o,a]=e,o=+o,a=+a,d()):[o,a]},n.rangeRound=function(e){return[o,a]=e,o=+o,a=+a,s=!0,d()},n.bandwidth=function(){return t},n.step=function(){return e},n.round=function(e){return arguments.length?(s=!!e,d()):s},n.padding=function(e){return arguments.length?(l=Math.min(1,c=+e),d()):l},n.paddingInner=function(e){return arguments.length?(l=Math.min(1,e),d()):l},n.paddingOuter=function(e){return arguments.length?(c=+e,d()):c},n.align=function(e){return arguments.length?(u=Math.max(0,Math.min(1,e)),d()):u},n.copy=function(){return Xi(r(),[o,a]).round(s).paddingInner(l).paddingOuter(c).align(u)},Vi.apply(d(),arguments)}function Ki(e){var t=e.copy;return e.padding=e.paddingOuter,delete e.paddingInner,delete e.paddingOuter,e.copy=function(){return Ki(t())},e}function Ji(){return Ki(Xi.apply(null,arguments).paddingInner(1))}function Qi(e){return+e}var eo=[0,1];function to(e){return e}function no(e,t){return(t-=e=+e)?function(n){return(n-e)/t}:function(e){return function(){return e}}(isNaN(t)?NaN:.5)}function ro(e,t,n){var r=e[0],i=e[1],o=t[0],a=t[1];return i<r?(r=no(i,r),o=n(a,o)):(r=no(r,i),o=n(o,a)),function(e){return o(r(e))}}function io(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]=no(e[a],e[a+1]),o[a]=n(t[a],t[a+1]);return function(t){var n=Oi(e,t,1,r)-1;return o[n](i[n](t))}}function oo(e,t){return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown())}function ao(){var e,t,n,r,i,o,a=eo,s=eo,l=bi,c=to;function u(){var e=Math.min(a.length,s.length);return c!==to&&(c=function(e,t){var n;return e>t&&(n=e,e=t,t=n),function(n){return Math.max(e,Math.min(t,n))}}(a[0],a[e-1])),r=e>2?io:ro,i=o=null,d}function d(t){return null==t||isNaN(t=+t)?n:(i||(i=r(a.map(e),s,l)))(e(c(t)))}return d.invert=function(n){return c(t((o||(o=r(s,a.map(e),hi)))(n)))},d.domain=function(e){return arguments.length?(a=Array.from(e,Qi),u()):a.slice()},d.range=function(e){return arguments.length?(s=Array.from(e),u()):s.slice()},d.rangeRound=function(e){return s=Array.from(e),l=yi,u()},d.clamp=function(e){return arguments.length?(c=!!e||to,u()):c!==to},d.interpolate=function(e){return arguments.length?(l=e,u()):l},d.unknown=function(e){return arguments.length?(n=e,d):n},function(n,r){return e=n,t=r,u()}}function so(){return ao()(to,to)}function lo(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 co(e){return(e=lo(Math.abs(e)))?e[1]:NaN}var uo,fo=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function ho(e){if(!(t=fo.exec(e)))throw new Error("invalid format: "+e);var t;return new po({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 po(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 go(e,t){var n=lo(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")}ho.prototype=po.prototype,po.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 mo={"%":(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)=>go(100*e,t),r:go,s:function(e,t){var n=lo(e,t);if(!n)return e+"";var r=n[0],i=n[1],o=i-(uo=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")+lo(e,Math.max(0,t+o-1))[0]},X:e=>Math.round(e).toString(16).toUpperCase(),x:e=>Math.round(e).toString(16)};function vo(e){return e}var bo,yo,_o,xo=Array.prototype.map,wo=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function ko(e){var t,n,r=void 0===e.grouping||void 0===e.thousands?vo:(t=xo.call(e.grouping,Number),n=e.thousands+"",function(e,r){for(var i=e.length,o=[],a=0,s=t[0],l=0;i>0&&s>0&&(l+s+1>r&&(s=Math.max(1,r-l)),o.push(e.substring(i-=s,i+s)),!((l+=s+1)>r));)s=t[a=(a+1)%t.length];return o.reverse().join(n)}),i=void 0===e.currency?"":e.currency[0]+"",o=void 0===e.currency?"":e.currency[1]+"",a=void 0===e.decimal?".":e.decimal+"",s=void 0===e.numerals?vo:function(e){return function(t){return t.replace(/[0-9]/g,(function(t){return e[+t]}))}}(xo.call(e.numerals,String)),l=void 0===e.percent?"%":e.percent+"",c=void 0===e.minus?"−":e.minus+"",u=void 0===e.nan?"NaN":e.nan+"";function d(e){var t=(e=ho(e)).fill,n=e.align,d=e.sign,f=e.symbol,h=e.zero,p=e.width,g=e.comma,m=e.precision,v=e.trim,b=e.type;"n"===b?(g=!0,b="g"):mo[b]||(void 0===m&&(m=12),v=!0,b="g"),(h||"0"===t&&"="===n)&&(h=!0,t="0",n="=");var y="$"===f?i:"#"===f&&/[boxX]/.test(b)?"0"+b.toLowerCase():"",_="$"===f?o:/[%p]/.test(b)?l:"",x=mo[b],w=/[defgprs%]/.test(b);function k(e){var i,o,l,f=y,k=_;if("c"===b)k=x(e)+k,e="";else{var C=(e=+e)<0||1/e<0;if(e=isNaN(e)?u:x(Math.abs(e),m),v&&(e=function(e){e:for(var t,n=e.length,r=1,i=-1;r<n;++r)switch(e[r]){case".":i=t=r;break;case"0":0===i&&(i=r),t=r;break;default:if(!+e[r])break e;i>0&&(i=0)}return i>0?e.slice(0,i)+e.slice(t+1):e}(e)),C&&0==+e&&"+"!==d&&(C=!1),f=(C?"("===d?d:c:"-"===d||"("===d?"":d)+f,k=("s"===b?wo[8+uo/3]:"")+k+(C&&"("===d?")":""),w)for(i=-1,o=e.length;++i<o;)if(48>(l=e.charCodeAt(i))||l>57){k=(46===l?a+e.slice(i+1):e.slice(i))+k,e=e.slice(0,i);break}}g&&!h&&(e=r(e,1/0));var A=f.length+e.length+k.length,S=A<p?new Array(p-A+1).join(t):"";switch(g&&h&&(e=r(S+e,S.length?p-k.length:1/0),S=""),n){case"<":e=f+e+k+S;break;case"=":e=f+S+e+k;break;case"^":e=S.slice(0,A=S.length>>1)+f+e+k+S.slice(A);break;default:e=S+f+e+k}return s(e)}return m=void 0===m?6:/[gprs]/.test(b)?Math.max(1,Math.min(21,m)):Math.max(0,Math.min(20,m)),k.toString=function(){return e+""},k}return{format:d,formatPrefix:function(e,t){var n=d(((e=ho(e)).type="f",e)),r=3*Math.max(-8,Math.min(8,Math.floor(co(t)/3))),i=Math.pow(10,-r),o=wo[8+r/3];return function(e){return n(i*e)+o}}}}function Co(e,t,n,r){var i,o=qi(e,t,n);switch((r=ho(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(co(t)/3)))-co(Math.abs(e)))}(o,a))||(r.precision=i),_o(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,co(t)-co(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,-co(Math.abs(e)))}(o))||(r.precision=i-2*("%"===r.type))}return yo(r)}function Ao(e){var t=e.domain;return e.ticks=function(e){var n=t();return Wi(n[0],n[n.length-1],null==e?10:e)},e.tickFormat=function(e,n){var r=t();return Co(r[0],r[r.length-1],null==e?10:e,n)},e.nice=function(n){null==n&&(n=10);var r,i,o=t(),a=0,s=o.length-1,l=o[a],c=o[s],u=10;for(c<l&&(i=l,l=c,c=i,i=a,a=s,s=i);u-- >0;){if((i=Hi(l,c,n))===r)return o[a]=l,o[s]=c,t(o);if(i>0)l=Math.floor(l/i)*i,c=Math.ceil(c/i)*i;else{if(!(i<0))break;l=Math.ceil(l*i)/i,c=Math.floor(c*i)/i}r=i}return e},e}function So(){var e=so();return e.copy=function(){return oo(e,So())},Vi.apply(e,arguments),Ao(e)}function Mo(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 Eo(e){return Math.log(e)}function Lo(e){return Math.exp(e)}function To(e){return-Math.log(-e)}function Do(e){return-Math.exp(-e)}function Fo(e){return isFinite(e)?+("1e"+e):e<0?0:e}function Oo(e){return(t,n)=>-e(-t,n)}function zo(e){const t=e(Eo,Lo),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?Fo:e===Math.E?Math.exp:t=>Math.pow(e,t)}(o),n()[0]<0?(r=Oo(r),i=Oo(i),e(To,Do)):e(Eo,Lo),t}return t.base=function(e){return arguments.length?(o=+e,a()):o},t.domain=function(e){return arguments.length?(n(e),a()):n()},t.ticks=e=>{const t=n();let a=t[0],s=t[t.length-1];const l=s<a;l&&([a,s]=[s,a]);let c,u,d=r(a),f=r(s);const h=null==e?10:+e;let p=[];if(!(o%1)&&f-d<h){if(d=Math.floor(d),f=Math.ceil(f),a>0){for(;d<=f;++d)for(c=1;c<o;++c)if(u=d<0?c/i(-d):c*i(d),!(u<a)){if(u>s)break;p.push(u)}}else for(;d<=f;++d)for(c=o-1;c>=1;--c)if(u=d>0?c/i(-d):c*i(d),!(u<a)){if(u>s)break;p.push(u)}2*p.length<h&&(p=Wi(a,s,h))}else p=Wi(d,f,Math.min(f-d,h)).map(i);return l?p.reverse():p},t.tickFormat=(e,n)=>{if(null==e&&(e=10),null==n&&(n=10===o?"s":","),"function"!=typeof n&&(o%1||null!=(n=ho(n)).precision||(n.trim=!0),n=yo(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(Mo(n(),{floor:e=>i(Math.floor(r(e))),ceil:e=>i(Math.ceil(r(e)))})),t}function Ro(){const e=zo(ao()).domain([1,10]);return e.copy=()=>oo(e,Ro()).base(e.base()),Vi.apply(e,arguments),e}function No(e){return function(t){return Math.sign(t)*Math.log1p(Math.abs(t/e))}}function Po(e){return function(t){return Math.sign(t)*Math.expm1(Math.abs(t))*e}}function Io(){var e=function(e){var t=1,n=e(No(t),Po(t));return n.constant=function(n){return arguments.length?e(No(t=+n),Po(t)):t},Ao(n)}(ao());return e.copy=function(){return oo(e,Io()).constant(e.constant())},Vi.apply(e,arguments)}function Bo(){var e,t=0,n=1,r=1,i=[.5],o=[0,1];function a(t){return null!=t&&t<=t?o[Oi(i,t,0,r)]:e}function s(){var e=-1;for(i=new Array(r);++e<r;)i[e]=((e+1)*n-(e-r)*t)/(r+1);return a}return a.domain=function(e){return arguments.length?([t,n]=e,t=+t,n=+n,s()):[t,n]},a.range=function(e){return arguments.length?(r=(o=Array.from(e)).length-1,s()):o.slice()},a.invertExtent=function(e){var a=o.indexOf(e);return a<0?[NaN,NaN]:a<1?[t,i[0]]:a>=r?[i[r-1],n]:[i[a-1],i[a]]},a.unknown=function(t){return arguments.length?(e=t,a):a},a.thresholds=function(){return i.slice()},a.copy=function(){return Bo().domain([t,n]).range(o).unknown(e)},Vi.apply(Ao(a),arguments)}bo=ko({thousands:",",grouping:[3],currency:["$",""]}),yo=bo.format,_o=bo.formatPrefix;const jo=new Date,Wo=new Date;function Ho(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=>Ho((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)=>(jo.setTime(+t),Wo.setTime(+r),e(jo),e(Wo),Math.floor(n(jo,Wo))),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 qo=Ho((()=>{}),((e,t)=>{e.setTime(+e+t)}),((e,t)=>t-e));qo.every=e=>(e=Math.floor(e),isFinite(e)&&e>0?e>1?Ho((t=>{t.setTime(Math.floor(t/e)*e)}),((t,n)=>{t.setTime(+t+n*e)}),((t,n)=>(n-t)/e)):qo:null),qo.range;const $o=1e3,Uo=6e4,Vo=36e5,Go=864e5,Yo=6048e5,Zo=2592e6,Xo=31536e6,Ko=Ho((e=>{e.setTime(e-e.getMilliseconds())}),((e,t)=>{e.setTime(+e+t*$o)}),((e,t)=>(t-e)/$o),(e=>e.getUTCSeconds()));Ko.range;const Jo=Ho((e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*$o)}),((e,t)=>{e.setTime(+e+t*Uo)}),((e,t)=>(t-e)/Uo),(e=>e.getMinutes()));Jo.range;const Qo=Ho((e=>{e.setUTCSeconds(0,0)}),((e,t)=>{e.setTime(+e+t*Uo)}),((e,t)=>(t-e)/Uo),(e=>e.getUTCMinutes()));Qo.range;const ea=Ho((e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*$o-e.getMinutes()*Uo)}),((e,t)=>{e.setTime(+e+t*Vo)}),((e,t)=>(t-e)/Vo),(e=>e.getHours()));ea.range;const ta=Ho((e=>{e.setUTCMinutes(0,0,0)}),((e,t)=>{e.setTime(+e+t*Vo)}),((e,t)=>(t-e)/Vo),(e=>e.getUTCHours()));ta.range;const na=Ho((e=>e.setHours(0,0,0,0)),((e,t)=>e.setDate(e.getDate()+t)),((e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*Uo)/Go),(e=>e.getDate()-1));na.range;const ra=Ho((e=>{e.setUTCHours(0,0,0,0)}),((e,t)=>{e.setUTCDate(e.getUTCDate()+t)}),((e,t)=>(t-e)/Go),(e=>e.getUTCDate()-1));ra.range;const ia=Ho((e=>{e.setUTCHours(0,0,0,0)}),((e,t)=>{e.setUTCDate(e.getUTCDate()+t)}),((e,t)=>(t-e)/Go),(e=>Math.floor(e/Go)));function oa(e){return Ho((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())*Uo)/Yo))}ia.range;const aa=oa(0),sa=oa(1),la=oa(2),ca=oa(3),ua=oa(4),da=oa(5),fa=oa(6);function ha(e){return Ho((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)/Yo))}aa.range,sa.range,la.range,ca.range,ua.range,da.range,fa.range;const pa=ha(0),ga=ha(1),ma=ha(2),va=ha(3),ba=ha(4),ya=ha(5),_a=ha(6);pa.range,ga.range,ma.range,va.range,ba.range,ya.range,_a.range;const xa=Ho((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()));xa.range;const wa=Ho((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()));wa.range;const ka=Ho((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()));ka.every=e=>isFinite(e=Math.floor(e))&&e>0?Ho((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,ka.range;const Ca=Ho((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 Aa(e,t,n,r,i,o){const a=[[Ko,1,$o],[Ko,5,5e3],[Ko,15,15e3],[Ko,30,3e4],[o,1,Uo],[o,5,3e5],[o,15,9e5],[o,30,18e5],[i,1,Vo],[i,3,108e5],[i,6,216e5],[i,12,432e5],[r,1,Go],[r,2,1728e5],[n,1,Yo],[t,1,Zo],[t,3,7776e6],[e,1,Xo]];function s(t,n,r){const i=Math.abs(n-t)/r,o=Di((([,,e])=>e)).right(a,i);if(o===a.length)return e.every(qi(t/Xo,n/Xo,r));if(0===o)return qo.every(Math.max(qi(t,n,r),1));const[s,l]=a[i/a[o-1][2]<a[o][2]/i?o-1:o];return s.every(l)}return[function(e,t,n){const r=t<e;r&&([e,t]=[t,e]);const i=n&&"function"==typeof n.range?n:s(e,t,n),o=i?i.range(e,+t+1):[];return r?o.reverse():o},s]}Ca.every=e=>isFinite(e=Math.floor(e))&&e>0?Ho((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,Ca.range;const[Sa,Ma]=Aa(Ca,wa,pa,ia,ta,Qo),[Ea,La]=Aa(ka,xa,aa,na,ea,Jo);function Ta(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 Da(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 Fa(e,t,n){return{y:e,m:t,d:n,H:0,M:0,S:0,L:0}}var Oa,za,Ra,Na,Pa={"-":"",_:" ",0:"0"},Ia=/^\s*\d+/,Ba=/^%/,ja=/[\\^$*+?|[\]().{}]/g;function Wa(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 Ha(e){return e.replace(ja,"\\$&")}function qa(e){return new RegExp("^(?:"+e.map(Ha).join("|")+")","i")}function $a(e){return new Map(e.map(((e,t)=>[e.toLowerCase(),t])))}function Ua(e,t,n){var r=Ia.exec(t.slice(n,n+1));return r?(e.w=+r[0],n+r[0].length):-1}function Va(e,t,n){var r=Ia.exec(t.slice(n,n+1));return r?(e.u=+r[0],n+r[0].length):-1}function Ga(e,t,n){var r=Ia.exec(t.slice(n,n+2));return r?(e.U=+r[0],n+r[0].length):-1}function Ya(e,t,n){var r=Ia.exec(t.slice(n,n+2));return r?(e.V=+r[0],n+r[0].length):-1}function Za(e,t,n){var r=Ia.exec(t.slice(n,n+2));return r?(e.W=+r[0],n+r[0].length):-1}function Xa(e,t,n){var r=Ia.exec(t.slice(n,n+4));return r?(e.y=+r[0],n+r[0].length):-1}function Ka(e,t,n){var r=Ia.exec(t.slice(n,n+2));return r?(e.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function Ja(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 Qa(e,t,n){var r=Ia.exec(t.slice(n,n+1));return r?(e.q=3*r[0]-3,n+r[0].length):-1}function es(e,t,n){var r=Ia.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function ts(e,t,n){var r=Ia.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function ns(e,t,n){var r=Ia.exec(t.slice(n,n+3));return r?(e.m=0,e.d=+r[0],n+r[0].length):-1}function rs(e,t,n){var r=Ia.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function is(e,t,n){var r=Ia.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function os(e,t,n){var r=Ia.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function as(e,t,n){var r=Ia.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function ss(e,t,n){var r=Ia.exec(t.slice(n,n+6));return r?(e.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function ls(e,t,n){var r=Ba.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function cs(e,t,n){var r=Ia.exec(t.slice(n));return r?(e.Q=+r[0],n+r[0].length):-1}function us(e,t,n){var r=Ia.exec(t.slice(n));return r?(e.s=+r[0],n+r[0].length):-1}function ds(e,t){return Wa(e.getDate(),t,2)}function fs(e,t){return Wa(e.getHours(),t,2)}function hs(e,t){return Wa(e.getHours()%12||12,t,2)}function ps(e,t){return Wa(1+na.count(ka(e),e),t,3)}function gs(e,t){return Wa(e.getMilliseconds(),t,3)}function ms(e,t){return gs(e,t)+"000"}function vs(e,t){return Wa(e.getMonth()+1,t,2)}function bs(e,t){return Wa(e.getMinutes(),t,2)}function ys(e,t){return Wa(e.getSeconds(),t,2)}function _s(e){var t=e.getDay();return 0===t?7:t}function xs(e,t){return Wa(aa.count(ka(e)-1,e),t,2)}function ws(e){var t=e.getDay();return t>=4||0===t?ua(e):ua.ceil(e)}function ks(e,t){return e=ws(e),Wa(ua.count(ka(e),e)+(4===ka(e).getDay()),t,2)}function Cs(e){return e.getDay()}function As(e,t){return Wa(sa.count(ka(e)-1,e),t,2)}function Ss(e,t){return Wa(e.getFullYear()%100,t,2)}function Ms(e,t){return Wa((e=ws(e)).getFullYear()%100,t,2)}function Es(e,t){return Wa(e.getFullYear()%1e4,t,4)}function Ls(e,t){var n=e.getDay();return Wa((e=n>=4||0===n?ua(e):ua.ceil(e)).getFullYear()%1e4,t,4)}function Ts(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+Wa(t/60|0,"0",2)+Wa(t%60,"0",2)}function Ds(e,t){return Wa(e.getUTCDate(),t,2)}function Fs(e,t){return Wa(e.getUTCHours(),t,2)}function Os(e,t){return Wa(e.getUTCHours()%12||12,t,2)}function zs(e,t){return Wa(1+ra.count(Ca(e),e),t,3)}function Rs(e,t){return Wa(e.getUTCMilliseconds(),t,3)}function Ns(e,t){return Rs(e,t)+"000"}function Ps(e,t){return Wa(e.getUTCMonth()+1,t,2)}function Is(e,t){return Wa(e.getUTCMinutes(),t,2)}function Bs(e,t){return Wa(e.getUTCSeconds(),t,2)}function js(e){var t=e.getUTCDay();return 0===t?7:t}function Ws(e,t){return Wa(pa.count(Ca(e)-1,e),t,2)}function Hs(e){var t=e.getUTCDay();return t>=4||0===t?ba(e):ba.ceil(e)}function qs(e,t){return e=Hs(e),Wa(ba.count(Ca(e),e)+(4===Ca(e).getUTCDay()),t,2)}function $s(e){return e.getUTCDay()}function Us(e,t){return Wa(ga.count(Ca(e)-1,e),t,2)}function Vs(e,t){return Wa(e.getUTCFullYear()%100,t,2)}function Gs(e,t){return Wa((e=Hs(e)).getUTCFullYear()%100,t,2)}function Ys(e,t){return Wa(e.getUTCFullYear()%1e4,t,4)}function Zs(e,t){var n=e.getUTCDay();return Wa((e=n>=4||0===n?ba(e):ba.ceil(e)).getUTCFullYear()%1e4,t,4)}function Xs(){return"+0000"}function Ks(){return"%"}function Js(e){return+e}function Qs(e){return Math.floor(+e/1e3)}function el(e){return new Date(e)}function tl(e){return e instanceof Date?+e:+new Date(+e)}function nl(e,t,n,r,i,o,a,s,l,c){var u=so(),d=u.invert,f=u.domain,h=c(".%L"),p=c(":%S"),g=c("%I:%M"),m=c("%I %p"),v=c("%a %d"),b=c("%b %d"),y=c("%B"),_=c("%Y");function x(e){return(l(e)<e?h:s(e)<e?p:a(e)<e?g:o(e)<e?m:r(e)<e?i(e)<e?v:b:n(e)<e?y:_)(e)}return u.invert=function(e){return new Date(d(e))},u.domain=function(e){return arguments.length?f(Array.from(e,tl)):f().map(el)},u.ticks=function(t){var n=f();return e(n[0],n[n.length-1],null==t?10:t)},u.tickFormat=function(e,t){return null==t?x:c(t)},u.nice=function(e){var n=f();return e&&"function"==typeof e.range||(e=t(n[0],n[n.length-1],null==e?10:e)),e?f(Mo(n,e)):u},u.copy=function(){return oo(u,nl(e,t,n,r,i,o,a,s,l,c))},u}function rl(){return Vi.apply(nl(Sa,Ma,Ca,wa,pa,ra,ta,Qo,Ko,Ra).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)}function il(e,t){return t.domain(e.domain()).interpolator(e.interpolator()).clamp(e.clamp()).unknown(e.unknown())}function ol(){var e=Ao(function(){var e,t,n,r,i,o=0,a=1,s=to,l=!1;function c(t){return null==t||isNaN(t=+t)?i:s(0===n?.5:(t=(r(t)-e)*n,l?Math.max(0,Math.min(1,t)):t))}function u(e){return function(t){var n,r;return arguments.length?([n,r]=t,s=e(n,r),c):[s(0),s(1)]}}return c.domain=function(i){return arguments.length?([o,a]=i,e=r(o=+o),t=r(a=+a),n=e===t?0:1/(t-e),c):[o,a]},c.clamp=function(e){return arguments.length?(l=!!e,c):l},c.interpolator=function(e){return arguments.length?(s=e,c):s},c.range=u(bi),c.rangeRound=u(yi),c.unknown=function(e){return arguments.length?(i=e,c):i},function(i){return r=i,e=i(o),t=i(a),n=e===t?0:1/(t-e),c}}()(to));return e.copy=function(){return il(e,ol())},Gi.apply(e,arguments)}function al(){var e,t,n,r,i,o,a,s=0,l=.5,c=1,u=1,d=to,f=!1;function h(e){return isNaN(e=+e)?a:(e=.5+((e=+o(e))-t)*(u*e<u*t?r:i),d(f?Math.max(0,Math.min(1,e)):e))}function p(e){return function(t){var n,r,i;return arguments.length?([n,r,i]=t,d=function(e,t){void 0===t&&(t=e,e=bi);for(var n=0,r=t.length-1,i=t[0],o=new Array(r<0?0:r);n<r;)o[n]=e(i,i=t[++n]);return function(e){var t=Math.max(0,Math.min(r-1,Math.floor(e*=r)));return o[t](e-t)}}(e,[n,r,i]),h):[d(0),d(.5),d(1)]}}return h.domain=function(a){return arguments.length?([s,l,c]=a,e=o(s=+s),t=o(l=+l),n=o(c=+c),r=e===t?0:.5/(t-e),i=t===n?0:.5/(n-t),u=t<e?-1:1,h):[s,l,c]},h.clamp=function(e){return arguments.length?(f=!!e,h):f},h.interpolator=function(e){return arguments.length?(d=e,h):d},h.range=p(bi),h.rangeRound=p(yi),h.unknown=function(e){return arguments.length?(a=e,h):a},function(a){return o=a,e=a(s),t=a(l),n=a(c),r=e===t?0:.5/(t-e),i=t===n?0:.5/(n-t),u=t<e?-1:1,h}}function sl(){var e=Ao(al()(to));return e.copy=function(){return il(e,sl())},Gi.apply(e,arguments)}function ll(e){return function(){return e}}!function(e){Oa=function(e){var t=e.dateTime,n=e.date,r=e.time,i=e.periods,o=e.days,a=e.shortDays,s=e.months,l=e.shortMonths,c=qa(i),u=$a(i),d=qa(o),f=$a(o),h=qa(a),p=$a(a),g=qa(s),m=$a(s),v=qa(l),b=$a(l),y={a:function(e){return a[e.getDay()]},A:function(e){return o[e.getDay()]},b:function(e){return l[e.getMonth()]},B:function(e){return s[e.getMonth()]},c:null,d:ds,e:ds,f:ms,g:Ms,G:Ls,H:fs,I:hs,j:ps,L:gs,m:vs,M:bs,p:function(e){return i[+(e.getHours()>=12)]},q:function(e){return 1+~~(e.getMonth()/3)},Q:Js,s:Qs,S:ys,u:_s,U:xs,V:ks,w:Cs,W:As,x:null,X:null,y:Ss,Y:Es,Z:Ts,"%":Ks},_={a:function(e){return a[e.getUTCDay()]},A:function(e){return o[e.getUTCDay()]},b:function(e){return l[e.getUTCMonth()]},B:function(e){return s[e.getUTCMonth()]},c:null,d:Ds,e:Ds,f:Ns,g:Gs,G:Zs,H:Fs,I:Os,j:zs,L:Rs,m:Ps,M:Is,p:function(e){return i[+(e.getUTCHours()>=12)]},q:function(e){return 1+~~(e.getUTCMonth()/3)},Q:Js,s:Qs,S:Bs,u:js,U:Ws,V:qs,w:$s,W:Us,x:null,X:null,y:Vs,Y:Ys,Z:Xs,"%":Ks},x={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=d.exec(t.slice(n));return r?(e.w=f.get(r[0].toLowerCase()),n+r[0].length):-1},b:function(e,t,n){var r=v.exec(t.slice(n));return r?(e.m=b.get(r[0].toLowerCase()),n+r[0].length):-1},B:function(e,t,n){var r=g.exec(t.slice(n));return r?(e.m=m.get(r[0].toLowerCase()),n+r[0].length):-1},c:function(e,n,r){return C(e,t,n,r)},d:ts,e:ts,f:ss,g:Ka,G:Xa,H:rs,I:rs,j:ns,L:as,m:es,M:is,p:function(e,t,n){var r=c.exec(t.slice(n));return r?(e.p=u.get(r[0].toLowerCase()),n+r[0].length):-1},q:Qa,Q:cs,s:us,S:os,u:Va,U:Ga,V:Ya,w:Ua,W:Za,x:function(e,t,r){return C(e,n,t,r)},X:function(e,t,n){return C(e,r,t,n)},y:Ka,Y:Xa,Z:Ja,"%":ls};function w(e,t){return function(n){var r,i,o,a=[],s=-1,l=0,c=e.length;for(n instanceof Date||(n=new Date(+n));++s<c;)37===e.charCodeAt(s)&&(a.push(e.slice(l,s)),null!=(i=Pa[r=e.charAt(++s)])?r=e.charAt(++s):i="e"===r?" ":"0",(o=t[r])&&(r=o(n,i)),a.push(r),l=s+1);return a.push(e.slice(l,s)),a.join("")}}function k(e,t){return function(n){var r,i,o=Fa(1900,void 0,1);if(C(o,e,n+="",0)!=n.length)return null;if("Q"in o)return new Date(o.Q);if("s"in o)return new Date(1e3*o.s+("L"in o?o.L:0));if(t&&!("Z"in o)&&(o.Z=0),"p"in o&&(o.H=o.H%12+12*o.p),void 0===o.m&&(o.m="q"in o?o.q:0),"V"in o){if(o.V<1||o.V>53)return null;"w"in o||(o.w=1),"Z"in o?(i=(r=Da(Fa(o.y,0,1))).getUTCDay(),r=i>4||0===i?ga.ceil(r):ga(r),r=ra.offset(r,7*(o.V-1)),o.y=r.getUTCFullYear(),o.m=r.getUTCMonth(),o.d=r.getUTCDate()+(o.w+6)%7):(i=(r=Ta(Fa(o.y,0,1))).getDay(),r=i>4||0===i?sa.ceil(r):sa(r),r=na.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?Da(Fa(o.y,0,1)).getUTCDay():Ta(Fa(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,Da(o)):Ta(o)}}function C(e,t,n,r){for(var i,o,a=0,s=t.length,l=n.length;a<s;){if(r>=l)return-1;if(37===(i=t.charCodeAt(a++))){if(i=t.charAt(a++),!(o=x[i in Pa?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=w(n,y),y.X=w(r,y),y.c=w(t,y),_.x=w(n,_),_.X=w(r,_),_.c=w(t,_),{format:function(e){var t=w(e+="",y);return t.toString=function(){return e},t},parse:function(e){var t=k(e+="",!1);return t.toString=function(){return e},t},utcFormat:function(e){var t=w(e+="",_);return t.toString=function(){return e},t},utcParse:function(e){var t=k(e+="",!0);return t.toString=function(){return e},t}}}(e),za=Oa.format,Oa.parse,Ra=Oa.utcFormat,Oa.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"]}),function(e){e.TestResults="test-results.json",e.TestCases="test-cases.json",e.Fixtures="fixtures.json",e.GlobalErrors="global-errors.json",e.GlobalAttachments="global-attachments.json",e.Attachments="attachments.json",e.CheckResults="check-results.json",e.Environments="environments.json",e.ReportVariables="report-variables.json",e.IndexAttachmentsByTestResults="index-attachments-by-test-results.json",e.IndexTestResultsByHistoryId="index-test-results-by-history-id.json",e.IndexTestResultsByTestCase="index-test-results-by-test-case.json",e.IndexAttachmentsByFixture="index-attachments-by-fixture.json",e.IndexFixturesByTestResult="index-fixtures-by-test-result.json",e.IndexKnownByHistoryId="index-known-by-history-id.json",e.QualityGateResults="quality-gate-results.json",e.TestResultIngestOrder="test-result-ingest-order.json"}(Na||(Na={}));const cl=Math.abs,ul=Math.atan2,dl=Math.cos,fl=Math.max,hl=Math.min,pl=Math.sin,gl=Math.sqrt,ml=1e-12,vl=Math.PI,bl=vl/2,yl=2*vl;function _l(e){return e>=1?bl:e<=-1?-bl:Math.asin(e)}const xl=Math.PI,wl=2*xl,kl=1e-6,Cl=wl-kl;function Al(e){this._+=e[0];for(let t=1,n=e.length;t<n;++t)this._+=arguments[t]+e[t]}let Sl=class{constructor(e){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=null==e?Al:function(e){let t=Math.floor(e);if(!(t>=0))throw new Error(`invalid digits: ${e}`);if(t>15)return Al;const n=10**t;return function(e){this._+=e[0];for(let t=1,r=e.length;t<r;++t)this._+=Math.round(arguments[t]*n)/n+e[t]}}(e)}moveTo(e,t){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+t}`}closePath(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._append`Z`)}lineTo(e,t){this._append`L${this._x1=+e},${this._y1=+t}`}quadraticCurveTo(e,t,n,r){this._append`Q${+e},${+t},${this._x1=+n},${this._y1=+r}`}bezierCurveTo(e,t,n,r,i,o){this._append`C${+e},${+t},${+n},${+r},${this._x1=+i},${this._y1=+o}`}arcTo(e,t,n,r,i){if(e=+e,t=+t,n=+n,r=+r,(i=+i)<0)throw new Error(`negative radius: ${i}`);let o=this._x1,a=this._y1,s=n-e,l=r-t,c=o-e,u=a-t,d=c*c+u*u;if(null===this._x1)this._append`M${this._x1=e},${this._y1=t}`;else if(d>kl)if(Math.abs(u*s-l*c)>kl&&i){let f=n-o,h=r-a,p=s*s+l*l,g=f*f+h*h,m=Math.sqrt(p),v=Math.sqrt(d),b=i*Math.tan((xl-Math.acos((p+d-g)/(2*m*v)))/2),y=b/v,_=b/m;Math.abs(y-1)>kl&&this._append`L${e+y*c},${t+y*u}`,this._append`A${i},${i},0,0,${+(u*f>c*h)},${this._x1=e+_*s},${this._y1=t+_*l}`}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),l=e+a,c=t+s,u=1^o,d=o?r-i:i-r;null===this._x1?this._append`M${l},${c}`:(Math.abs(this._x1-l)>kl||Math.abs(this._y1-c)>kl)&&this._append`L${l},${c}`,n&&(d<0&&(d=d%wl+wl),d>Cl?this._append`A${n},${n},0,1,${u},${e-a},${t-s}A${n},${n},0,1,${u},${this._x1=l},${this._y1=c}`:d>kl&&this._append`A${n},${n},0,${+(d>=xl)},${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 Ml(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 Sl(t)}function El(e){return e.innerRadius}function Ll(e){return e.outerRadius}function Tl(e){return e.startAngle}function Dl(e){return e.endAngle}function Fl(e){return e&&e.padAngle}function Ol(e,t,n,r,i,o,a){var s=e-n,l=t-r,c=(a?o:-o)/gl(s*s+l*l),u=c*l,d=-c*s,f=e+u,h=t+d,p=n+u,g=r+d,m=(f+p)/2,v=(h+g)/2,b=p-f,y=g-h,_=b*b+y*y,x=i-o,w=f*g-p*h,k=(y<0?-1:1)*gl(fl(0,x*x*_-w*w)),C=(w*y-b*k)/_,A=(-w*b-y*k)/_,S=(w*y+b*k)/_,M=(-w*b+y*k)/_,E=C-m,L=A-v,T=S-m,D=M-v;return E*E+L*L>T*T+D*D&&(C=S,A=M),{cx:C,cy:A,x01:-u,y01:-d,x11:C*(i/x-1),y11:A*(i/x-1)}}function zl(){var e=El,t=Ll,n=ll(0),r=null,i=Tl,o=Dl,a=Fl,s=null,l=Ml(c);function c(){var c,u,d=+e.apply(this,arguments),f=+t.apply(this,arguments),h=i.apply(this,arguments)-bl,p=o.apply(this,arguments)-bl,g=cl(p-h),m=p>h;if(s||(s=c=l()),f<d&&(u=f,f=d,d=u),f>ml)if(g>yl-ml)s.moveTo(f*dl(h),f*pl(h)),s.arc(0,0,f,h,p,!m),d>ml&&(s.moveTo(d*dl(p),d*pl(p)),s.arc(0,0,d,p,h,m));else{var v,b,y=h,_=p,x=h,w=p,k=g,C=g,A=a.apply(this,arguments)/2,S=A>ml&&(r?+r.apply(this,arguments):gl(d*d+f*f)),M=hl(cl(f-d)/2,+n.apply(this,arguments)),E=M,L=M;if(S>ml){var T=_l(S/d*pl(A)),D=_l(S/f*pl(A));(k-=2*T)>ml?(x+=T*=m?1:-1,w-=T):(k=0,x=w=(h+p)/2),(C-=2*D)>ml?(y+=D*=m?1:-1,_-=D):(C=0,y=_=(h+p)/2)}var F=f*dl(y),O=f*pl(y),z=d*dl(w),R=d*pl(w);if(M>ml){var N,P=f*dl(_),I=f*pl(_),B=d*dl(x),j=d*pl(x);if(g<vl)if(N=function(e,t,n,r,i,o,a,s){var l=n-e,c=r-t,u=a-i,d=s-o,f=d*l-u*c;if(!(f*f<ml))return[e+(f=(u*(t-o)-d*(e-i))/f)*l,t+f*c]}(F,O,B,j,P,I,z,R)){var W=F-N[0],H=O-N[1],q=P-N[0],$=I-N[1],U=1/pl(function(e){return e>1?0:e<-1?vl:Math.acos(e)}((W*q+H*$)/(gl(W*W+H*H)*gl(q*q+$*$)))/2),V=gl(N[0]*N[0]+N[1]*N[1]);E=hl(M,(d-V)/(U-1)),L=hl(M,(f-V)/(U+1))}else E=L=0}C>ml?L>ml?(v=Ol(B,j,F,O,f,L,m),b=Ol(P,I,z,R,f,L,m),s.moveTo(v.cx+v.x01,v.cy+v.y01),L<M?s.arc(v.cx,v.cy,L,ul(v.y01,v.x01),ul(b.y01,b.x01),!m):(s.arc(v.cx,v.cy,L,ul(v.y01,v.x01),ul(v.y11,v.x11),!m),s.arc(0,0,f,ul(v.cy+v.y11,v.cx+v.x11),ul(b.cy+b.y11,b.cx+b.x11),!m),s.arc(b.cx,b.cy,L,ul(b.y11,b.x11),ul(b.y01,b.x01),!m))):(s.moveTo(F,O),s.arc(0,0,f,y,_,!m)):s.moveTo(F,O),d>ml&&k>ml?E>ml?(v=Ol(z,R,P,I,d,-E,m),b=Ol(F,O,B,j,d,-E,m),s.lineTo(v.cx+v.x01,v.cy+v.y01),E<M?s.arc(v.cx,v.cy,E,ul(v.y01,v.x01),ul(b.y01,b.x01),!m):(s.arc(v.cx,v.cy,E,ul(v.y01,v.x01),ul(v.y11,v.x11),!m),s.arc(0,0,d,ul(v.cy+v.y11,v.cx+v.x11),ul(b.cy+b.y11,b.cx+b.x11),m),s.arc(b.cx,b.cy,E,ul(b.y11,b.x11),ul(b.y01,b.x01),!m))):s.arc(0,0,d,w,x,m):s.lineTo(z,R)}else s.moveTo(0,0);if(s.closePath(),c)return s=null,c+""||null}return c.centroid=function(){var n=(+e.apply(this,arguments)+ +t.apply(this,arguments))/2,r=(+i.apply(this,arguments)+ +o.apply(this,arguments))/2-vl/2;return[dl(r)*n,pl(r)*n]},c.innerRadius=function(t){return arguments.length?(e="function"==typeof t?t:ll(+t),c):e},c.outerRadius=function(e){return arguments.length?(t="function"==typeof e?e:ll(+e),c):t},c.cornerRadius=function(e){return arguments.length?(n="function"==typeof e?e:ll(+e),c):n},c.padRadius=function(e){return arguments.length?(r=null==e?null:"function"==typeof e?e:ll(+e),c):r},c.startAngle=function(e){return arguments.length?(i="function"==typeof e?e:ll(+e),c):i},c.endAngle=function(e){return arguments.length?(o="function"==typeof e?e:ll(+e),c):o},c.padAngle=function(e){return arguments.length?(a="function"==typeof e?e:ll(+e),c):a},c.context=function(e){return arguments.length?(s=null==e?null:e,c):s},c}function Rl(e){return"object"==typeof e&&"length"in e?e:Array.from(e)}function Nl(e){this._context=e}function Pl(e){return new Nl(e)}function Il(e){return e[0]}function Bl(e){return e[1]}function jl(e,t){var n=ll(!0),r=null,i=Pl,o=null,a=Ml(s);function s(s){var l,c,u,d=(s=Rl(s)).length,f=!1;for(null==r&&(o=i(u=a())),l=0;l<=d;++l)!(l<d&&n(c=s[l],l,s))===f&&((f=!f)?o.lineStart():o.lineEnd()),f&&o.point(+e(c,l,s),+t(c,l,s));if(u)return o=null,u+""||null}return e="function"==typeof e?e:void 0===e?Il:ll(e),t="function"==typeof t?t:void 0===t?Bl:ll(t),s.x=function(t){return arguments.length?(e="function"==typeof t?t:ll(+t),s):e},s.y=function(e){return arguments.length?(t="function"==typeof e?e:ll(+e),s):t},s.defined=function(e){return arguments.length?(n="function"==typeof e?e:ll(!!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 Wl(e,t,n){var r=null,i=ll(!0),o=null,a=Pl,s=null,l=Ml(c);function c(c){var u,d,f,h,p,g=(c=Rl(c)).length,m=!1,v=new Array(g),b=new Array(g);for(null==o&&(s=a(p=l())),u=0;u<=g;++u){if(!(u<g&&i(h=c[u],u,c))===m)if(m=!m)d=u,s.areaStart(),s.lineStart();else{for(s.lineEnd(),s.lineStart(),f=u-1;f>=d;--f)s.point(v[f],b[f]);s.lineEnd(),s.areaEnd()}m&&(v[u]=+e(h,u,c),b[u]=+t(h,u,c),s.point(r?+r(h,u,c):v[u],n?+n(h,u,c):b[u]))}if(p)return s=null,p+""||null}function u(){return jl().defined(i).curve(a).context(o)}return e="function"==typeof e?e:void 0===e?Il:ll(+e),t="function"==typeof t?t:ll(void 0===t?0:+t),n="function"==typeof n?n:void 0===n?Bl:ll(+n),c.x=function(t){return arguments.length?(e="function"==typeof t?t:ll(+t),r=null,c):e},c.x0=function(t){return arguments.length?(e="function"==typeof t?t:ll(+t),c):e},c.x1=function(e){return arguments.length?(r=null==e?null:"function"==typeof e?e:ll(+e),c):r},c.y=function(e){return arguments.length?(t="function"==typeof e?e:ll(+e),n=null,c):t},c.y0=function(e){return arguments.length?(t="function"==typeof e?e:ll(+e),c):t},c.y1=function(e){return arguments.length?(n=null==e?null:"function"==typeof e?e:ll(+e),c):n},c.lineX0=c.lineY0=function(){return u().x(e).y(t)},c.lineY1=function(){return u().x(e).y(n)},c.lineX1=function(){return u().x(r).y(t)},c.defined=function(e){return arguments.length?(i="function"==typeof e?e:ll(!!e),c):i},c.curve=function(e){return arguments.length?(a=e,null!=o&&(s=a(o)),c):a},c.context=function(e){return arguments.length?(null==e?o=s=null:s=a(o=e),c):o},c}function Hl(e,t){return t<e?-1:t>e?1:t>=e?0:NaN}function ql(e){return e}function $l(){var e=ql,t=Hl,n=null,r=ll(0),i=ll(yl),o=ll(0);function a(a){var s,l,c,u,d,f=(a=Rl(a)).length,h=0,p=new Array(f),g=new Array(f),m=+r.apply(this,arguments),v=Math.min(yl,Math.max(-yl,i.apply(this,arguments)-m)),b=Math.min(Math.abs(v)/f,o.apply(this,arguments)),y=b*(v<0?-1:1);for(s=0;s<f;++s)(d=g[p[s]=s]=+e(a[s],s,a))>0&&(h+=d);for(null!=t?p.sort((function(e,n){return t(g[e],g[n])})):null!=n&&p.sort((function(e,t){return n(a[e],a[t])})),s=0,c=h?(v-f*y)/h:0;s<f;++s,m=u)l=p[s],u=m+((d=g[l])>0?d*c:0)+y,g[l]={data:a[l],index:s,value:d,startAngle:m,endAngle:u,padAngle:b};return g}return a.value=function(t){return arguments.length?(e="function"==typeof t?t:ll(+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:ll(+e),a):r},a.endAngle=function(e){return arguments.length?(i="function"==typeof e?e:ll(+e),a):i},a.padAngle=function(e){return arguments.length?(o="function"==typeof e?e:ll(+e),a):o},a}function Ul(){}function Vl(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 Gl(e){this._context=e}function Yl(e){return new Gl(e)}function Zl(e){this._context=e}function Xl(e){this._context=e}function Kl(e,t){this._basis=new Gl(e),this._beta=t}Nl.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)}}},Gl.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:Vl(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:Vl(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},Zl.prototype={areaStart:Ul,areaEnd:Ul,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:Vl(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},Xl.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:Vl(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},Kl.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var e=this._x,t=this._y,n=e.length-1;if(n>0)for(var r,i=e[0],o=t[0],a=e[n]-i,s=t[n]-o,l=-1;++l<=n;)r=l/n,this._basis.point(this._beta*e[l]+(1-this._beta)*(i+r*a),this._beta*t[l]+(1-this._beta)*(o+r*s));this._x=this._y=null,this._basis.lineEnd()},point:function(e,t){this._x.push(+e),this._y.push(+t)}};var Jl=function e(t){function n(e){return 1===t?new Gl(e):new Kl(e,t)}return n.beta=function(t){return e(+t)},n}(.85);function Ql(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 ec(e,t){this._context=e,this._k=(1-t)/6}ec.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:Ql(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:Ql(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 tc=function e(t){function n(e){return new ec(e,t)}return n.tension=function(t){return e(+t)},n}(0);function nc(e,t){this._context=e,this._k=(1-t)/6}nc.prototype={areaStart:Ul,areaEnd:Ul,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:Ql(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 rc=function e(t){function n(e){return new nc(e,t)}return n.tension=function(t){return e(+t)},n}(0);function ic(e,t){this._context=e,this._k=(1-t)/6}ic.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:Ql(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 oc=function e(t){function n(e){return new ic(e,t)}return n.tension=function(t){return e(+t)},n}(0);function ac(e,t,n){var r=e._x1,i=e._y1,o=e._x2,a=e._y2;if(e._l01_a>ml){var s=2*e._l01_2a+3*e._l01_a*e._l12_a+e._l12_2a,l=3*e._l01_a*(e._l01_a+e._l12_a);r=(r*s-e._x0*e._l12_2a+e._x2*e._l01_2a)/l,i=(i*s-e._y0*e._l12_2a+e._y2*e._l01_2a)/l}if(e._l23_a>ml){var c=2*e._l23_2a+3*e._l23_a*e._l12_a+e._l12_2a,u=3*e._l23_a*(e._l23_a+e._l12_a);o=(o*c+e._x1*e._l23_2a-t*e._l12_2a)/u,a=(a*c+e._y1*e._l23_2a-n*e._l12_2a)/u}e._context.bezierCurveTo(r,i,o,a,e._x2,e._y2)}function sc(e,t){this._context=e,this._alpha=t}sc.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:ac(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 lc=function e(t){function n(e){return t?new sc(e,t):new ec(e,0)}return n.alpha=function(t){return e(+t)},n}(.5);function cc(e,t){this._context=e,this._alpha=t}cc.prototype={areaStart:Ul,areaEnd:Ul,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:ac(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 uc=function e(t){function n(e){return t?new cc(e,t):new nc(e,0)}return n.alpha=function(t){return e(+t)},n}(.5);function dc(e,t){this._context=e,this._alpha=t}dc.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:ac(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 fc=function e(t){function n(e){return t?new dc(e,t):new ic(e,0)}return n.alpha=function(t){return e(+t)},n}(.5);function hc(e){this._context=e}function pc(e){return e<0?-1:1}function gc(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(pc(o)+pc(a))*Math.min(Math.abs(o),Math.abs(a),.5*Math.abs(s))||0}function mc(e,t){var n=e._x1-e._x0;return n?(3*(e._y1-e._y0)/n-t)/2:t}function vc(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 bc(e){this._context=e}function yc(e){this._context=new _c(e)}function _c(e){this._context=e}function xc(e){this._context=e}function wc(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 kc(e,t){this._context=e,this._t=t}function Cc(e,t){if((i=e.length)>1)for(var n,r,i,o=1,a=e[t[0]],s=a.length;o<i;++o)for(r=a,a=e[t[o]],n=0;n<s;++n)a[n][1]+=a[n][0]=isNaN(r[n][1])?r[n][0]:r[n][1]}function Ac(e){for(var t=e.length,n=new Array(t);--t>=0;)n[t]=t;return n}function Sc(e,t){return e[t]}function Mc(e){const t=[];return t.key=e,t}function Ec(e,t){if((s=e.length)>0)for(var n,r,i,o,a,s,l=0,c=e[t[0]].length;l<c;++l)for(o=a=0,n=0;n<s;++n)(i=(r=e[t[n]][l])[1]-r[0])>0?(r[0]=o,r[1]=o+=i):i<0?(r[1]=a,r[0]=a+=i):(r[0]=0,r[1]=i)}hc.prototype={areaStart:Ul,areaEnd:Ul,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))}},bc.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:vc(this,this._t0,mc(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,vc(this,mc(this,n=gc(this,e,t)),n);break;default:vc(this,this._t0,n=gc(this,e,t))}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t,this._t0=n}}},(yc.prototype=Object.create(bc.prototype)).point=function(e,t){bc.prototype.point.call(this,t,e)},_c.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)}},xc.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=wc(e),i=wc(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)}},kc.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&2===this._point&&this._context.lineTo(this._x,this._y),(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,t),this._context.lineTo(e,t);else{var n=this._x*(1-this._t)+e*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,t)}}this._x=e,this._y=t}};const Lc=()=>zl().innerRadius(40).outerRadius(50).cornerRadius(2).padAngle(.03),Tc=$l().value((e=>e.count)).padAngle(.03).sortValues(((e,t)=>e-t)),Dc=Lc(),Fc=Lc().padAngle(0).cornerRadius(0),Oc=e=>{if(!e?.total){const e={status:"__empty__",count:1},t={data:e,value:1,index:0,startAngle:0,endAngle:2*Math.PI,padAngle:0};return{slices:[{d:Fc(t),...e}],percentage:0}}const t=In.filter((t=>!!e?.[t])).map((t=>({status:t,count:e[t]}))),n=Tc(t).map((e=>{const t=Dc(e);return t?{d:t,...e.data}:null})).filter((e=>null!==e));var r,i;return{slices:n,percentage:(r=e.passed??0,i=e.total,Math.floor(r/i*1e4)/100)}};var zc,Rc,Nc={},Pc={},Ic={Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"А",acy:"а",AElig:"Æ",aelig:"æ",af:"⁡",Afr:"𝔄",afr:"𝔞",Agrave:"À",agrave:"à",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ā",amacr:"ā",amalg:"⨿",amp:"&",AMP:"&",andand:"⩕",And:"⩓",and:"∧",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angmsd:"∡",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"𝔸",aopf:"𝕒",apacir:"⩯",ap:"≈",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"⁡",approx:"≈",approxeq:"≊",Aring:"Å",aring:"å",Ascr:"𝒜",ascr:"𝒶",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",barwed:"⌅",Barwed:"⌆",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",because:"∵",Because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",Beta:"Β",beta:"β",beth:"ℶ",between:"≬",Bfr:"𝔅",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bNot:"⫭",bnot:"⌐",Bopf:"𝔹",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxdl:"┐",boxdL:"╕",boxDl:"╖",boxDL:"╗",boxdr:"┌",boxdR:"╒",boxDr:"╓",boxDR:"╔",boxh:"─",boxH:"═",boxhd:"┬",boxHd:"╤",boxhD:"╥",boxHD:"╦",boxhu:"┴",boxHu:"╧",boxhU:"╨",boxHU:"╩",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxul:"┘",boxuL:"╛",boxUl:"╜",boxUL:"╝",boxur:"└",boxuR:"╘",boxUr:"╙",boxUR:"╚",boxv:"│",boxV:"║",boxvh:"┼",boxvH:"╪",boxVh:"╫",boxVH:"╬",boxvl:"┤",boxvL:"╡",boxVl:"╢",boxVL:"╣",boxvr:"├",boxvR:"╞",boxVr:"╟",boxVR:"╠",bprime:"‵",breve:"˘",Breve:"˘",brvbar:"¦",bscr:"𝒷",Bscr:"ℬ",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsolb:"⧅",bsol:"\\",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",capand:"⩄",capbrcup:"⩉",capcap:"⩋",cap:"∩",Cap:"⋒",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",Ccaron:"Č",ccaron:"č",Ccedil:"Ç",ccedil:"ç",Ccirc:"Ĉ",ccirc:"ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",Cdot:"Ċ",cdot:"ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",CenterDot:"·",cfr:"𝔠",Cfr:"ℭ",CHcy:"Ч",chcy:"ч",check:"✓",checkmark:"✓",Chi:"Χ",chi:"χ",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cir:"○",cirE:"⧃",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",colon:":",Colon:"∷",Colone:"⩴",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",conint:"∮",Conint:"∯",ContourIntegral:"∮",copf:"𝕔",Copf:"ℂ",coprod:"∐",Coproduct:"∐",copy:"©",COPY:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",cross:"✗",Cross:"⨯",Cscr:"𝒞",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cupbrcap:"⩈",cupcap:"⩆",CupCap:"≍",cup:"∪",Cup:"⋓",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dagger:"†",Dagger:"‡",daleth:"ℸ",darr:"↓",Darr:"↡",dArr:"⇓",dash:"‐",Dashv:"⫤",dashv:"⊣",dbkarow:"⤏",dblac:"˝",Dcaron:"Ď",dcaron:"ď",Dcy:"Д",dcy:"д",ddagger:"‡",ddarr:"⇊",DD:"ⅅ",dd:"ⅆ",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",Delta:"Δ",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"𝔇",dfr:"𝔡",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",diamond:"⋄",Diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",DJcy:"Ђ",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",Dopf:"𝔻",dopf:"𝕕",Dot:"¨",dot:"˙",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrowBar:"⤓",downarrow:"↓",DownArrow:"↓",Downarrow:"⇓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVectorBar:"⥖",DownLeftVector:"↽",DownRightTeeVector:"⥟",DownRightVectorBar:"⥗",DownRightVector:"⇁",DownTeeArrow:"↧",DownTee:"⊤",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"𝒟",dscr:"𝒹",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",Ecirc:"Ê",ecirc:"ê",ecir:"≖",ecolon:"≕",Ecy:"Э",ecy:"э",eDDot:"⩷",Edot:"Ė",edot:"ė",eDot:"≑",ee:"ⅇ",efDot:"≒",Efr:"𝔈",efr:"𝔢",eg:"⪚",Egrave:"È",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",Emacr:"Ē",emacr:"ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp13:" ",emsp14:" ",emsp:" ",ENG:"Ŋ",eng:"ŋ",ensp:" ",Eogon:"Ę",eogon:"ę",Eopf:"𝔼",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",escr:"ℯ",Escr:"ℰ",esdot:"≐",Esim:"⩳",esim:"≂",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",exponentiale:"ⅇ",ExponentialE:"ⅇ",fallingdotseq:"≒",Fcy:"Ф",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",Ffr:"𝔉",ffr:"𝔣",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",Fopf:"𝔽",fopf:"𝕗",forall:"∀",ForAll:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",Fscr:"ℱ",gacute:"ǵ",Gamma:"Γ",gamma:"γ",Gammad:"Ϝ",gammad:"ϝ",gap:"⪆",Gbreve:"Ğ",gbreve:"ğ",Gcedil:"Ģ",Gcirc:"Ĝ",gcirc:"ĝ",Gcy:"Г",gcy:"г",Gdot:"Ġ",gdot:"ġ",ge:"≥",gE:"≧",gEl:"⪌",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",gescc:"⪩",ges:"⩾",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"𝔊",gfr:"𝔤",gg:"≫",Gg:"⋙",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gla:"⪥",gl:"≷",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gnE:"≩",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"𝔾",gopf:"𝕘",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",gtcc:"⪧",gtcir:"⩺",gt:">",GT:">",Gt:"≫",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",harrcir:"⥈",harr:"↔",hArr:"⇔",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",Hfr:"ℌ",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",Hopf:"ℍ",horbar:"―",HorizontalLine:"─",hscr:"𝒽",Hscr:"ℋ",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"Í",iacute:"í",ic:"⁣",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",ifr:"𝔦",Ifr:"ℑ",Igrave:"Ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",Im:"ℑ",imof:"⊷",imped:"Ƶ",Implies:"⇒",incare:"℅",in:"∈",infin:"∞",infintie:"⧝",inodot:"ı",intcal:"⊺",int:"∫",Int:"∬",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"⁣",InvisibleTimes:"⁢",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"𝕀",iopf:"𝕚",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",Iscr:"ℐ",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"𝔍",jfr:"𝔧",jmath:"ȷ",Jopf:"𝕁",jopf:"𝕛",Jscr:"𝒥",jscr:"𝒿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"𝔎",kfr:"𝔨",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"𝕂",kopf:"𝕜",Kscr:"𝒦",kscr:"𝓀",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",Lambda:"Λ",lambda:"λ",lang:"⟨",Lang:"⟪",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",larrb:"⇤",larrbfs:"⤟",larr:"←",Larr:"↞",lArr:"⇐",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",latail:"⤙",lAtail:"⤛",lat:"⪫",late:"⪭",lates:"⪭︀",lbarr:"⤌",lBarr:"⤎",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",lE:"≦",LeftAngleBracket:"⟨",LeftArrowBar:"⇤",leftarrow:"←",LeftArrow:"←",Leftarrow:"⇐",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVectorBar:"⥙",LeftDownVector:"⇃",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTeeArrow:"↤",LeftTee:"⊣",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangleBar:"⧏",LeftTriangle:"⊲",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVectorBar:"⥘",LeftUpVector:"↿",LeftVectorBar:"⥒",LeftVector:"↼",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",lescc:"⪨",les:"⩽",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"𝔏",lfr:"𝔩",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",llarr:"⇇",ll:"≪",Ll:"⋘",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoustache:"⎰",lmoust:"⎰",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lnE:"≨",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftrightarrow:"⟷",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longmapsto:"⟼",longrightarrow:"⟶",LongRightArrow:"⟶",Longrightarrow:"⟹",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"𝕃",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",Lscr:"ℒ",lsh:"↰",Lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Ł",lstrok:"ł",ltcc:"⪦",ltcir:"⩹",lt:"<",LT:"<",Lt:"≪",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",mfr:"𝔪",mho:"℧",micro:"µ",midast:"*",midcir:"⫰",mid:"∣",middot:"·",minusb:"⊟",minus:"−",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"𝕄",mopf:"𝕞",mp:"∓",mscr:"𝓂",Mscr:"ℳ",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natural:"♮",naturals:"ℕ",natur:"♮",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",nearhk:"⤤",nearr:"↗",neArr:"⇗",nearrow:"↗",ne:"≠",nedot:"≐̸",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nharr:"↮",nhArr:"⇎",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlarr:"↚",nlArr:"⇍",nldr:"‥",nlE:"≦̸",nle:"≰",nleftarrow:"↚",nLeftarrow:"⇍",nleftrightarrow:"↮",nLeftrightarrow:"⇎",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"⁠",NonBreakingSpace:" ",nopf:"𝕟",Nopf:"ℕ",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangleBar:"⧏̸",NotLeftTriangle:"⋪",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangleBar:"⧐̸",NotRightTriangle:"⋫",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",nparallel:"∦",npar:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",nprec:"⊀",npreceq:"⪯̸",npre:"⪯̸",nrarrc:"⤳̸",nrarr:"↛",nrArr:"⇏",nrarrw:"↝̸",nrightarrow:"↛",nRightarrow:"⇏",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nvdash:"⊬",nvDash:"⊭",nVdash:"⊮",nVDash:"⊯",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwarr:"↖",nwArr:"⇖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",Ocirc:"Ô",ocirc:"ô",ocir:"⊚",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",orarr:"↻",Or:"⩔",or:"∨",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",otimesas:"⨶",Otimes:"⨷",otimes:"⊗",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",para:"¶",parallel:"∥",par:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"𝔓",pfr:"𝔭",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plus:"+",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",popf:"𝕡",Popf:"ℙ",pound:"£",prap:"⪷",Pr:"⪻",pr:"≺",prcue:"≼",precapprox:"⪷",prec:"≺",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",pre:"⪯",prE:"⪳",precsim:"≾",prime:"′",Prime:"″",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportional:"∝",Proportion:"∷",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"𝒫",pscr:"𝓅",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"𝔔",qfr:"𝔮",qint:"⨌",qopf:"𝕢",Qopf:"ℚ",qprime:"⁗",Qscr:"𝒬",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',QUOT:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",Rang:"⟫",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarr:"→",Rarr:"↠",rArr:"⇒",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",ratail:"⤚",rAtail:"⤜",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rBarr:"⤏",RBarr:"⤐",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",Re:"ℜ",rect:"▭",reg:"®",REG:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",Rfr:"ℜ",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrowBar:"⇥",rightarrow:"→",RightArrow:"→",Rightarrow:"⇒",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVectorBar:"⥕",RightDownVector:"⇂",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTeeArrow:"↦",RightTee:"⊢",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangleBar:"⧐",RightTriangle:"⊳",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVectorBar:"⥔",RightUpVector:"↾",RightVectorBar:"⥓",RightVector:"⇀",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoustache:"⎱",rmoust:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",Ropf:"ℝ",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",rscr:"𝓇",Rscr:"ℛ",rsh:"↱",Rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",scap:"⪸",Scaron:"Š",scaron:"š",Sc:"⪼",sc:"≻",sccue:"≽",sce:"⪰",scE:"⪴",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdotb:"⊡",sdot:"⋅",sdote:"⩦",searhk:"⤥",searr:"↘",seArr:"⇘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"𝔖",sfr:"𝔰",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"­",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",solbar:"⌿",solb:"⧄",sol:"/",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",square:"□",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squ:"□",squf:"▪",srarr:"→",Sscr:"𝒮",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",Sub:"⋐",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",subset:"⊂",Subset:"⋐",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succapprox:"⪸",succ:"≻",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",sum:"∑",Sum:"∑",sung:"♪",sup1:"¹",sup2:"²",sup3:"³",sup:"⊃",Sup:"⋑",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",supset:"⊃",Supset:"⋑",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swarr:"↙",swArr:"⇙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:"\t",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"𝔗",tfr:"𝔱",there4:"∴",therefore:"∴",Therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:"  ",ThinSpace:" ",thinsp:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",tilde:"˜",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",timesbar:"⨱",timesb:"⊠",times:"×",timesd:"⨰",tint:"∭",toea:"⤨",topbot:"⌶",topcir:"⫱",top:"⊤",Topf:"𝕋",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",TRADE:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"𝒯",tscr:"𝓉",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",uarr:"↑",Uarr:"↟",uArr:"⇑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"𝔘",ufr:"𝔲",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"𝕌",uopf:"𝕦",UpArrowBar:"⤒",uparrow:"↑",UpArrow:"↑",Uparrow:"⇑",UpArrowDownArrow:"⇅",updownarrow:"↕",UpDownArrow:"↕",Updownarrow:"⇕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",upsi:"υ",Upsi:"ϒ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTeeArrow:"↥",UpTee:"⊥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"𝒰",uscr:"𝓊",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",vArr:"⇕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vBar:"⫨",Vbar:"⫫",vBarv:"⫩",Vcy:"В",vcy:"в",vdash:"⊢",vDash:"⊨",Vdash:"⊩",VDash:"⊫",Vdashl:"⫦",veebar:"⊻",vee:"∨",Vee:"⋁",veeeq:"≚",vellip:"⋮",verbar:"|",Verbar:"‖",vert:"|",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"𝕍",vopf:"𝕧",vprop:"∝",vrtri:"⊳",Vscr:"𝒱",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",wedge:"∧",Wedge:"⋀",wedgeq:"≙",weierp:"℘",Wfr:"𝔚",wfr:"𝔴",Wopf:"𝕎",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"𝒲",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"𝔛",xfr:"𝔵",xharr:"⟷",xhArr:"⟺",Xi:"Ξ",xi:"ξ",xlarr:"⟵",xlArr:"⟸",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"𝕏",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrarr:"⟶",xrArr:"⟹",Xscr:"𝒳",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"𝔜",yfr:"𝔶",YIcy:"Ї",yicy:"ї",Yopf:"𝕐",yopf:"𝕪",Yscr:"𝒴",yscr:"𝓎",YUcy:"Ю",yucy:"ю",yuml:"ÿ",Yuml:"Ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"​",Zeta:"Ζ",zeta:"ζ",zfr:"𝔷",Zfr:"ℨ",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",Zopf:"ℤ",Zscr:"𝒵",zscr:"𝓏",zwj:"‍",zwnj:"‌"},Bc={Aacute:"Á",aacute:"á",Acirc:"Â",acirc:"â",acute:"´",AElig:"Æ",aelig:"æ",Agrave:"À",agrave:"à",amp:"&",AMP:"&",Aring:"Å",aring:"å",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",brvbar:"¦",Ccedil:"Ç",ccedil:"ç",cedil:"¸",cent:"¢",copy:"©",COPY:"©",curren:"¤",deg:"°",divide:"÷",Eacute:"É",eacute:"é",Ecirc:"Ê",ecirc:"ê",Egrave:"È",egrave:"è",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",frac12:"½",frac14:"¼",frac34:"¾",gt:">",GT:">",Iacute:"Í",iacute:"í",Icirc:"Î",icirc:"î",iexcl:"¡",Igrave:"Ì",igrave:"ì",iquest:"¿",Iuml:"Ï",iuml:"ï",laquo:"«",lt:"<",LT:"<",macr:"¯",micro:"µ",middot:"·",nbsp:" ",not:"¬",Ntilde:"Ñ",ntilde:"ñ",Oacute:"Ó",oacute:"ó",Ocirc:"Ô",ocirc:"ô",Ograve:"Ò",ograve:"ò",ordf:"ª",ordm:"º",Oslash:"Ø",oslash:"ø",Otilde:"Õ",otilde:"õ",Ouml:"Ö",ouml:"ö",para:"¶",plusmn:"±",pound:"£",quot:'"',QUOT:'"',raquo:"»",reg:"®",REG:"®",sect:"§",shy:"­",sup1:"¹",sup2:"²",sup3:"³",szlig:"ß",THORN:"Þ",thorn:"þ",times:"×",Uacute:"Ú",uacute:"ú",Ucirc:"Û",ucirc:"û",Ugrave:"Ù",ugrave:"ù",uml:"¨",Uuml:"Ü",uuml:"ü",Yacute:"Ý",yacute:"ý",yen:"¥",yuml:"ÿ"},jc={amp:"&",apos:"'",gt:">",lt:"<",quot:'"'},Wc={},Hc={0:65533,128:8364,130:8218,131:402,132:8222,133:8230,134:8224,135:8225,136:710,137:8240,138:352,139:8249,140:338,142:381,145:8216,146:8217,147:8220,148:8221,149:8226,150:8211,151:8212,152:732,153:8482,154:353,155:8250,156:339,158:382,159:376};function qc(){if(zc)return Wc;zc=1;var e=Wc&&Wc.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Wc,"__esModule",{value:!0});var t=e(Hc),n=String.fromCodePoint||function(e){var t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e),t+=String.fromCharCode(e)};return Wc.default=function(e){return e>=55296&&e<=57343||e>1114111?"�":(e in t.default&&(e=t.default[e]),n(e))},Wc}function $c(){if(Rc)return Pc;Rc=1;var e=Pc&&Pc.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Pc,"__esModule",{value:!0}),Pc.decodeHTML=Pc.decodeHTMLStrict=Pc.decodeXML=void 0;var t=e(Ic),n=e(Bc),r=e(jc),i=e(qc()),o=/&(?:[a-zA-Z0-9]+|#[xX][\da-fA-F]+|#\d+);/g;function a(e){var t=l(e);return function(e){return String(e).replace(o,t)}}Pc.decodeXML=a(r.default),Pc.decodeHTMLStrict=a(t.default);var s=function(e,t){return e<t?1:-1};function l(e){return function(t){if("#"===t.charAt(1)){var n=t.charAt(2);return"X"===n||"x"===n?i.default(parseInt(t.substr(3),16)):i.default(parseInt(t.substr(2),10))}return e[t.slice(1,-1)]||t}}return Pc.decodeHTML=function(){for(var e=Object.keys(n.default).sort(s),r=Object.keys(t.default).sort(s),i=0,o=0;i<r.length;i++)e[o]===r[i]?(r[i]+=";?",o++):r[i]+=";";var a=new RegExp("&(?:"+r.join("|")+"|#[xX][\\da-fA-F]+;?|#\\d+;?)","g"),c=l(t.default);function u(e){return";"!==e.substr(-1)&&(e+=";"),c(e)}return function(e){return String(e).replace(a,u)}}(),Pc}var Uc,Vc,Gc,Yc,Zc={};function Xc(){if(Uc)return Zc;Uc=1;var e=Zc&&Zc.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Zc,"__esModule",{value:!0}),Zc.escapeUTF8=Zc.escape=Zc.encodeNonAsciiHTML=Zc.encodeHTML=Zc.encodeXML=void 0;var t=o(e(jc).default),n=a(t);Zc.encodeXML=d(t);var r=o(e(Ic).default),i=a(r);function o(e){return Object.keys(e).sort().reduce((function(t,n){return t[e[n]]="&"+n+";",t}),{})}function a(e){for(var t=[],n=[],r=0,i=Object.keys(e);r<i.length;r++){var o=i[r];1===o.length?t.push("\\"+o):n.push(o)}t.sort();for(var a=0;a<t.length-1;a++){for(var s=a;s<t.length-1&&t[s].charCodeAt(1)+1===t[s+1].charCodeAt(1);)s+=1;var l=1+s-a;l<3||t.splice(a,l,t[a]+"-"+t[s])}return n.unshift("["+t.join("")+"]"),new RegExp(n.join("|"),"g")}Zc.encodeHTML=function(e,t){return function(n){return n.replace(t,(function(t){return e[t]})).replace(s,c)}}(r,i),Zc.encodeNonAsciiHTML=d(r);var s=/(?:[\x80-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/g,l=null!=String.prototype.codePointAt?function(e){return e.codePointAt(0)}:function(e){return 1024*(e.charCodeAt(0)-55296)+e.charCodeAt(1)-56320+65536};function c(e){return"&#x"+(e.length>1?l(e):e.charCodeAt(0)).toString(16).toUpperCase()+";"}var u=new RegExp(n.source+"|"+s.source,"g");function d(e){return function(t){return t.replace(u,(function(t){return e[t]||c(t)}))}}return Zc.escape=function(e){return e.replace(u,c)},Zc.escapeUTF8=function(e){return e.replace(n,c)},Zc}function Kc(){return Vc||(Vc=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.decodeXMLStrict=e.decodeHTML5Strict=e.decodeHTML4Strict=e.decodeHTML5=e.decodeHTML4=e.decodeHTMLStrict=e.decodeHTML=e.decodeXML=e.encodeHTML5=e.encodeHTML4=e.escapeUTF8=e.escape=e.encodeNonAsciiHTML=e.encodeHTML=e.encodeXML=e.encode=e.decodeStrict=e.decode=void 0;var t=$c(),n=Xc();e.decode=function(e,n){return(!n||n<=0?t.decodeXML:t.decodeHTML)(e)},e.decodeStrict=function(e,n){return(!n||n<=0?t.decodeXML:t.decodeHTMLStrict)(e)},e.encode=function(e,t){return(!t||t<=0?n.encodeXML:n.encodeHTML)(e)};var r=Xc();Object.defineProperty(e,"encodeXML",{enumerable:!0,get:function(){return r.encodeXML}}),Object.defineProperty(e,"encodeHTML",{enumerable:!0,get:function(){return r.encodeHTML}}),Object.defineProperty(e,"encodeNonAsciiHTML",{enumerable:!0,get:function(){return r.encodeNonAsciiHTML}}),Object.defineProperty(e,"escape",{enumerable:!0,get:function(){return r.escape}}),Object.defineProperty(e,"escapeUTF8",{enumerable:!0,get:function(){return r.escapeUTF8}}),Object.defineProperty(e,"encodeHTML4",{enumerable:!0,get:function(){return r.encodeHTML}}),Object.defineProperty(e,"encodeHTML5",{enumerable:!0,get:function(){return r.encodeHTML}});var i=$c();Object.defineProperty(e,"decodeXML",{enumerable:!0,get:function(){return i.decodeXML}}),Object.defineProperty(e,"decodeHTML",{enumerable:!0,get:function(){return i.decodeHTML}}),Object.defineProperty(e,"decodeHTMLStrict",{enumerable:!0,get:function(){return i.decodeHTMLStrict}}),Object.defineProperty(e,"decodeHTML4",{enumerable:!0,get:function(){return i.decodeHTML}}),Object.defineProperty(e,"decodeHTML5",{enumerable:!0,get:function(){return i.decodeHTML}}),Object.defineProperty(e,"decodeHTML4Strict",{enumerable:!0,get:function(){return i.decodeHTMLStrict}}),Object.defineProperty(e,"decodeHTML5Strict",{enumerable:!0,get:function(){return i.decodeHTMLStrict}}),Object.defineProperty(e,"decodeXMLStrict",{enumerable:!0,get:function(){return i.decodeXML}})}(Nc)),Nc}var Jc=function(){if(Yc)return Gc;function e(e,t,n){return t&&function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(e.prototype,t),e}function t(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(!e)return;if("string"==typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return n(e,t)}(e))||t){r&&(e=r);var i=0,o=function(){};return{s:o,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,l=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return s=e.done,e},e:function(e){l=!0,a=e},f:function(){try{s||null==r.return||r.return()}finally{if(l)throw a}}}}function n(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}Yc=1;var r=Kc(),i={fg:"#FFF",bg:"#000",newline:!1,escapeXML:!1,stream:!1,colors:function(){var e={0:"#000",1:"#A00",2:"#0A0",3:"#A50",4:"#00A",5:"#A0A",6:"#0AA",7:"#AAA",8:"#555",9:"#F55",10:"#5F5",11:"#FF5",12:"#55F",13:"#F5F",14:"#5FF",15:"#FFF"};return l(0,5).forEach((function(n){l(0,5).forEach((function(r){l(0,5).forEach((function(i){return function(e,n,r,i){var a=16+36*e+6*n+r,s=e>0?40*e+55:0,l=n>0?40*n+55:0,c=r>0?40*r+55:0;i[a]=function(e){var n,r=[],i=t(e);try{for(i.s();!(n=i.n()).done;){var a=n.value;r.push(o(a))}}catch(e){i.e(e)}finally{i.f()}return"#"+r.join("")}([s,l,c])}(n,r,i,e)}))}))})),l(0,23).forEach((function(t){var n=t+232,r=o(10*t+8);e[n]="#"+r+r+r})),e}()};function o(e){for(var t=e.toString(16);t.length<2;)t="0"+t;return t}function a(e,t,n,i){var o;return"text"===t?o=function(e,t){if(t.escapeXML)return r.encodeXML(e);return e}(n,i):"display"===t?o=function(e,t,n){t=parseInt(t,10);var r,i={"-1":function(){return"<br/>"},0:function(){return e.length&&s(e)},1:function(){return u(e,"b")},3:function(){return u(e,"i")},4:function(){return u(e,"u")},8:function(){return d(e,"display:none")},9:function(){return u(e,"strike")},22:function(){return d(e,"font-weight:normal;text-decoration:none;font-style:normal")},23:function(){return p(e,"i")},24:function(){return p(e,"u")},39:function(){return f(e,n.fg)},49:function(){return h(e,n.bg)},53:function(){return d(e,"text-decoration:overline")}};i[t]?r=i[t]():4<t&&t<7?r=u(e,"blink"):29<t&&t<38?r=f(e,n.colors[t-30]):39<t&&t<48?r=h(e,n.colors[t-40]):89<t&&t<98?r=f(e,n.colors[t-90+8]):99<t&&t<108&&(r=h(e,n.colors[t-100+8]));return r}(e,n,i):"xterm256Foreground"===t?o=f(e,i.colors[n]):"xterm256Background"===t?o=h(e,i.colors[n]):"rgb"===t&&(o=function(e,t){t=t.substring(2).slice(0,-1);var n=+t.substr(0,2),r=t.substring(5).split(";"),i=r.map((function(e){return("0"+Number(e).toString(16)).substr(-2)})).join("");return d(e,(38===n?"color:#":"background-color:#")+i)}(e,n)),o}function s(e){var t=e.slice(0);return e.length=0,t.reverse().map((function(e){return"</"+e+">"})).join("")}function l(e,t){for(var n=[],r=e;r<=t;r++)n.push(r);return n}function c(e){var t=null;return 0===(e=parseInt(e,10))?t="all":1===e?t="bold":2<e&&e<5?t="underline":4<e&&e<7?t="blink":8===e?t="hide":9===e?t="strike":29<e&&e<38||39===e||89<e&&e<98?t="foreground-color":(39<e&&e<48||49===e||99<e&&e<108)&&(t="background-color"),t}function u(e,t,n){return n||(n=""),e.push(t),"<".concat(t).concat(n?' style="'.concat(n,'"'):"",">")}function d(e,t){return u(e,"span",t)}function f(e,t){return u(e,"span","color:"+t)}function h(e,t){return u(e,"span","background-color:"+t)}function p(e,t){var n;if(e.slice(-1)[0]===t&&(n=e.pop()),n)return"</"+t+">"}var g=function(){function n(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),(e=e||{}).colors&&(e.colors=Object.assign({},i.colors,e.colors)),this.options=Object.assign({},i,e),this.stack=[],this.stickyStack=[]}return e(n,[{key:"toHtml",value:function(e){var n=this;e="string"==typeof e?[e]:e;var r=this.stack,i=this.options,o=[];return this.stickyStack.forEach((function(e){var t=a(r,e.token,e.data,i);t&&o.push(t)})),function(e,n,r){var i=!1;function o(){return""}function a(e){return n.newline?r("display",-1):r("text",e),""}var s=[{pattern:/^\x08+/,sub:o},{pattern:/^\x1b\[[012]?K/,sub:o},{pattern:/^\x1b\[\(B/,sub:o},{pattern:/^\x1b\[[34]8;2;\d+;\d+;\d+m/,sub:function(e){return r("rgb",e),""}},{pattern:/^\x1b\[38;5;(\d+)m/,sub:function(e,t){return r("xterm256Foreground",t),""}},{pattern:/^\x1b\[48;5;(\d+)m/,sub:function(e,t){return r("xterm256Background",t),""}},{pattern:/^\n/,sub:a},{pattern:/^\r+\n/,sub:a},{pattern:/^\r/,sub:a},{pattern:/^\x1b\[((?:\d{1,3};?)+|)m/,sub:function(e,n){i=!0,0===n.trim().length&&(n="0");var o,a=t(n=n.trimRight(";").split(";"));try{for(a.s();!(o=a.n()).done;){var s=o.value;r("display",s)}}catch(e){a.e(e)}finally{a.f()}return""}},{pattern:/^\x1b\[\d?J/,sub:o},{pattern:/^\x1b\[\d{0,3};\d{0,3}f/,sub:o},{pattern:/^\x1b\[?[\d;]{0,3}/,sub:o},{pattern:/^(([^\x1b\x08\r\n])+)/,sub:function(e){return r("text",e),""}}];function l(t,n){n>3&&i||(i=!1,e=e.replace(t.pattern,t.sub))}var c=[],u=e.length;e:for(;u>0;){for(var d=0,f=0,h=s.length;f<h;d=++f)if(l(s[d],d),e.length!==u){u=e.length;continue e}if(e.length===u)break;c.push(0),u=e.length}}(e.join(""),i,(function(e,t){var s=a(r,e,t,i);s&&o.push(s),i.stream&&(n.stickyStack=function(e,t,n){var r;return"text"!==t&&(e=e.filter((r=c(n),function(e){return(null===r||e.category!==r)&&"all"!==r})),e.push({token:t,data:n,category:c(n)})),e}(n.stickyStack,e,t))})),r.length&&o.push(s(r)),o.join("")}}]),n}();return Gc=g}(),Qc=j(Jc);const eu=/\x1B\[[0-9;?]*[ -/]*[@-~]/g,tu=256,nu=257,ru=258,iu=259,ou=260,au=261,su=262,lu=263,cu={0:"var(--color-text-primary)",1:"var(--color-intent-danger-text)",2:"var(--color-intent-success-text)",3:"var(--color-intent-warning-text)",4:"var(--color-intent-info-text)",5:"var(--color-status-unknown-text)",6:"var(--color-decorative-5-text)",7:"var(--color-text-primary)",8:"var(--color-text-muted)",9:"var(--color-intent-danger-text)",10:"var(--color-intent-success-text)",11:"var(--color-intent-warning-text)",12:"var(--color-intent-info-text)",13:"var(--color-status-unknown-text)",14:"var(--color-decorative-5-text)",15:"var(--color-text-primary)",[tu]:"var(--color-text-primary)",[nu]:"var(--color-text-muted)",[ru]:"var(--color-intent-danger-text)",[iu]:"var(--color-intent-success-text)",[ou]:"var(--color-intent-warning-text)",[au]:"var(--color-intent-info-text)",[su]:"var(--color-status-unknown-text)",[lu]:"var(--color-decorative-5-text)"},uu=[0,95,135,175,215,255],du=(e,t,n)=>{const r=.299*e+.587*t+.114*n,i=Math.max(e,t,n),o=Math.min(e,t,n);return e>=150&&t>=120&&n<=210&&e+t>=2.2*n?ou:t>=e+20&&t>=n+20?iu:e>=t+30&&e>=n+30?ru:n>=e+20&&n>=t-10?au:e>=120&&n>=120&&t<=i-20?su:i-o<=32?r>=150||r<=80?tu:nu:tu},fu=e=>{if(e>=16&&e<=231){const t=e-16;return{red:uu[Math.floor(t/36)],green:uu[Math.floor(t%36/6)],blue:uu[t%6]}}if(e>=232&&e<=255){const t=10*(e-232)+8;return{red:t,green:t,blue:t}}},hu=e=>Number.isInteger(e)&&e>=0&&e<=255,{entries:pu,setPrototypeOf:gu,isFrozen:mu,getPrototypeOf:vu,getOwnPropertyDescriptor:bu}=Object;let{freeze:yu,seal:_u,create:xu}=Object,{apply:wu,construct:ku}="undefined"!=typeof Reflect&&Reflect;yu||(yu=function(e){return e}),_u||(_u=function(e){return e}),wu||(wu=function(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];return e.apply(t,r)}),ku||(ku=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return new e(...n)});const Cu=Bu(Array.prototype.forEach),Au=Bu(Array.prototype.lastIndexOf),Su=Bu(Array.prototype.pop),Mu=Bu(Array.prototype.push),Eu=Bu(Array.prototype.splice),Lu=Bu(String.prototype.toLowerCase),Tu=Bu(String.prototype.toString),Du=Bu(String.prototype.match),Fu=Bu(String.prototype.replace),Ou=Bu(String.prototype.indexOf),zu=Bu(String.prototype.trim),Ru=Bu(Object.prototype.hasOwnProperty),Nu=Bu(RegExp.prototype.test),Pu=(Iu=TypeError,function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return ku(Iu,t)});var Iu;function Bu(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return wu(e,t,r)}}function ju(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Lu;gu&&gu(e,null);let r=t.length;for(;r--;){let i=t[r];if("string"==typeof i){const e=n(i);e!==i&&(mu(t)||(t[r]=e),i=e)}e[i]=!0}return e}function Wu(e){for(let t=0;t<e.length;t++){Ru(e,t)||(e[t]=null)}return e}function Hu(e){const t=xu(null);for(const[n,r]of pu(e)){Ru(e,n)&&(Array.isArray(r)?t[n]=Wu(r):r&&"object"==typeof r&&r.constructor===Object?t[n]=Hu(r):t[n]=r)}return t}function qu(e,t){for(;null!==e;){const n=bu(e,t);if(n){if(n.get)return Bu(n.get);if("function"==typeof n.value)return Bu(n.value)}e=vu(e)}return function(){return null}}const $u=yu(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),Uu=yu(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),Vu=yu(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),Gu=yu(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),Yu=yu(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),Zu=yu(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),Xu=yu(["#text"]),Ku=yu(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),Ju=yu(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","mask-type","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),Qu=yu(["accent","accentunder","align","bevelled","close","columnalign","columnlines","columnspacing","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lquote","lspace","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),ed=yu(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),td=_u(/\{\{[\w\W]*|[\w\W]*\}\}/gm),nd=_u(/<%[\w\W]*|[\w\W]*%>/gm),rd=_u(/\$\{[\w\W]*/gm),id=_u(/^data-[\-\w.\u00B7-\uFFFF]+$/),od=_u(/^aria-[\-\w]+$/),ad=_u(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),sd=_u(/^(?:\w+script|data):/i),ld=_u(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),cd=_u(/^html$/i),ud=_u(/^[a-z][.\w]*(-[.\w]+)+$/i);var dd=Object.freeze({__proto__:null,ARIA_ATTR:od,ATTR_WHITESPACE:ld,CUSTOM_ELEMENT:ud,DATA_ATTR:id,DOCTYPE_NAME:cd,ERB_EXPR:nd,IS_ALLOWED_URI:ad,IS_SCRIPT_OR_DATA:sd,MUSTACHE_EXPR:td,TMPLIT_EXPR:rd});const fd=1,hd=3,pd=7,gd=8,md=9,vd=function(){return"undefined"==typeof window?null:window};var bd=function e(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:vd();const n=t=>e(t);if(n.version="3.4.0",n.removed=[],!t||!t.document||t.document.nodeType!==md||!t.Element)return n.isSupported=!1,n;let{document:r}=t;const i=r,o=i.currentScript,{DocumentFragment:a,HTMLTemplateElement:s,Node:l,Element:c,NodeFilter:u,NamedNodeMap:d=t.NamedNodeMap||t.MozNamedAttrMap,HTMLFormElement:f,DOMParser:h,trustedTypes:p}=t,g=c.prototype,m=qu(g,"cloneNode"),v=qu(g,"remove"),b=qu(g,"nextSibling"),y=qu(g,"childNodes"),_=qu(g,"parentNode");if("function"==typeof s){const e=r.createElement("template");e.content&&e.content.ownerDocument&&(r=e.content.ownerDocument)}let x,w="";const{implementation:k,createNodeIterator:C,createDocumentFragment:A,getElementsByTagName:S}=r,{importNode:M}=i;let E={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]};n.isSupported="function"==typeof pu&&"function"==typeof _&&k&&void 0!==k.createHTMLDocument;const{MUSTACHE_EXPR:L,ERB_EXPR:T,TMPLIT_EXPR:D,DATA_ATTR:F,ARIA_ATTR:O,IS_SCRIPT_OR_DATA:z,ATTR_WHITESPACE:R,CUSTOM_ELEMENT:N}=dd;let{IS_ALLOWED_URI:P}=dd,I=null;const B=ju({},[...$u,...Uu,...Vu,...Yu,...Xu]);let j=null;const W=ju({},[...Ku,...Ju,...Qu,...ed]);let H=Object.seal(xu(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),q=null,$=null;const U=Object.seal(xu(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let V=!0,G=!0,Y=!1,Z=!0,X=!1,K=!0,J=!1,Q=!1,ee=!1,te=!1,ne=!1,re=!1,ie=!0,oe=!1,ae=!0,se=!1,le={},ce=null;const ue=ju({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let de=null;const fe=ju({},["audio","video","img","source","image","track"]);let he=null;const pe=ju({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),ge="http://www.w3.org/1998/Math/MathML",me="http://www.w3.org/2000/svg",ve="http://www.w3.org/1999/xhtml";let be=ve,ye=!1,_e=null;const xe=ju({},[ge,me,ve],Tu);let we=ju({},["mi","mo","mn","ms","mtext"]),ke=ju({},["annotation-xml"]);const Ce=ju({},["title","style","font","a","script"]);let Ae=null;const Se=["application/xhtml+xml","text/html"];let Me=null,Ee=null;const Le=r.createElement("form"),Te=function(e){return e instanceof RegExp||e instanceof Function},De=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!Ee||Ee!==e){if(e&&"object"==typeof e||(e={}),e=Hu(e),Ae=-1===Se.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE,Me="application/xhtml+xml"===Ae?Tu:Lu,I=Ru(e,"ALLOWED_TAGS")?ju({},e.ALLOWED_TAGS,Me):B,j=Ru(e,"ALLOWED_ATTR")?ju({},e.ALLOWED_ATTR,Me):W,_e=Ru(e,"ALLOWED_NAMESPACES")?ju({},e.ALLOWED_NAMESPACES,Tu):xe,he=Ru(e,"ADD_URI_SAFE_ATTR")?ju(Hu(pe),e.ADD_URI_SAFE_ATTR,Me):pe,de=Ru(e,"ADD_DATA_URI_TAGS")?ju(Hu(fe),e.ADD_DATA_URI_TAGS,Me):fe,ce=Ru(e,"FORBID_CONTENTS")?ju({},e.FORBID_CONTENTS,Me):ue,q=Ru(e,"FORBID_TAGS")?ju({},e.FORBID_TAGS,Me):Hu({}),$=Ru(e,"FORBID_ATTR")?ju({},e.FORBID_ATTR,Me):Hu({}),le=!!Ru(e,"USE_PROFILES")&&e.USE_PROFILES,V=!1!==e.ALLOW_ARIA_ATTR,G=!1!==e.ALLOW_DATA_ATTR,Y=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Z=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,X=e.SAFE_FOR_TEMPLATES||!1,K=!1!==e.SAFE_FOR_XML,J=e.WHOLE_DOCUMENT||!1,te=e.RETURN_DOM||!1,ne=e.RETURN_DOM_FRAGMENT||!1,re=e.RETURN_TRUSTED_TYPE||!1,ee=e.FORCE_BODY||!1,ie=!1!==e.SANITIZE_DOM,oe=e.SANITIZE_NAMED_PROPS||!1,ae=!1!==e.KEEP_CONTENT,se=e.IN_PLACE||!1,P=e.ALLOWED_URI_REGEXP||ad,be=e.NAMESPACE||ve,we=e.MATHML_TEXT_INTEGRATION_POINTS||we,ke=e.HTML_INTEGRATION_POINTS||ke,H=e.CUSTOM_ELEMENT_HANDLING||xu(null),e.CUSTOM_ELEMENT_HANDLING&&Te(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(H.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&Te(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(H.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(H.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),X&&(G=!1),ne&&(te=!0),le&&(I=ju({},Xu),j=xu(null),!0===le.html&&(ju(I,$u),ju(j,Ku)),!0===le.svg&&(ju(I,Uu),ju(j,Ju),ju(j,ed)),!0===le.svgFilters&&(ju(I,Vu),ju(j,Ju),ju(j,ed)),!0===le.mathMl&&(ju(I,Yu),ju(j,Qu),ju(j,ed))),U.tagCheck=null,U.attributeCheck=null,e.ADD_TAGS&&("function"==typeof e.ADD_TAGS?U.tagCheck=e.ADD_TAGS:(I===B&&(I=Hu(I)),ju(I,e.ADD_TAGS,Me))),e.ADD_ATTR&&("function"==typeof e.ADD_ATTR?U.attributeCheck=e.ADD_ATTR:(j===W&&(j=Hu(j)),ju(j,e.ADD_ATTR,Me))),e.ADD_URI_SAFE_ATTR&&ju(he,e.ADD_URI_SAFE_ATTR,Me),e.FORBID_CONTENTS&&(ce===ue&&(ce=Hu(ce)),ju(ce,e.FORBID_CONTENTS,Me)),e.ADD_FORBID_CONTENTS&&(ce===ue&&(ce=Hu(ce)),ju(ce,e.ADD_FORBID_CONTENTS,Me)),ae&&(I["#text"]=!0),J&&ju(I,["html","head","body"]),I.table&&(ju(I,["tbody"]),delete q.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw Pu('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw Pu('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');x=e.TRUSTED_TYPES_POLICY,w=x.createHTML("")}else void 0===x&&(x=function(e,t){if("object"!=typeof e||"function"!=typeof e.createPolicy)return null;let n=null;const r="data-tt-policy-suffix";t&&t.hasAttribute(r)&&(n=t.getAttribute(r));const i="dompurify"+(n?"#"+n:"");try{return e.createPolicy(i,{createHTML:e=>e,createScriptURL:e=>e})}catch(e){return console.warn("TrustedTypes policy "+i+" could not be created."),null}}(p,o)),null!==x&&"string"==typeof w&&(w=x.createHTML(""));yu&&yu(e),Ee=e}},Fe=ju({},[...Uu,...Vu,...Gu]),Oe=ju({},[...Yu,...Zu]),ze=function(e){Mu(n.removed,{element:e});try{_(e).removeChild(e)}catch(t){v(e)}},Re=function(e,t){try{Mu(n.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){Mu(n.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e)if(te||ne)try{ze(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},Ne=function(e){let t=null,n=null;if(ee)e="<remove></remove>"+e;else{const t=Du(e,/^[\r\n\t ]+/);n=t&&t[0]}"application/xhtml+xml"===Ae&&be===ve&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");const i=x?x.createHTML(e):e;if(be===ve)try{t=(new h).parseFromString(i,Ae)}catch(e){}if(!t||!t.documentElement){t=k.createDocument(be,"template",null);try{t.documentElement.innerHTML=ye?w:i}catch(e){}}const o=t.body||t.documentElement;return e&&n&&o.insertBefore(r.createTextNode(n),o.childNodes[0]||null),be===ve?S.call(t,J?"html":"body")[0]:J?t.documentElement:o},Pe=function(e){return C.call(e.ownerDocument||e,e,u.SHOW_ELEMENT|u.SHOW_COMMENT|u.SHOW_TEXT|u.SHOW_PROCESSING_INSTRUCTION|u.SHOW_CDATA_SECTION,null)},Ie=function(e){return e instanceof f&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof d)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes)},Be=function(e){return"function"==typeof l&&e instanceof l};function je(e,t,r){Cu(e,(e=>{e.call(n,t,r,Ee)}))}const We=function(e){let t=null;if(je(E.beforeSanitizeElements,e,null),Ie(e))return ze(e),!0;const r=Me(e.nodeName);if(je(E.uponSanitizeElement,e,{tagName:r,allowedTags:I}),K&&e.hasChildNodes()&&!Be(e.firstElementChild)&&Nu(/<[/\w!]/g,e.innerHTML)&&Nu(/<[/\w!]/g,e.textContent))return ze(e),!0;if(K&&e.namespaceURI===ve&&"style"===r&&Be(e.firstElementChild))return ze(e),!0;if(e.nodeType===pd)return ze(e),!0;if(K&&e.nodeType===gd&&Nu(/<[/\w]/g,e.data))return ze(e),!0;if(q[r]||!(U.tagCheck instanceof Function&&U.tagCheck(r))&&!I[r]){if(!q[r]&&qe(r)){if(H.tagNameCheck instanceof RegExp&&Nu(H.tagNameCheck,r))return!1;if(H.tagNameCheck instanceof Function&&H.tagNameCheck(r))return!1}if(ae&&!ce[r]){const t=_(e)||e.parentNode,n=y(e)||e.childNodes;if(n&&t){for(let r=n.length-1;r>=0;--r){const i=m(n[r],!0);i.__removalCount=(e.__removalCount||0)+1,t.insertBefore(i,b(e))}}}return ze(e),!0}return e instanceof c&&!function(e){let t=_(e);t&&t.tagName||(t={namespaceURI:be,tagName:"template"});const n=Lu(e.tagName),r=Lu(t.tagName);return!!_e[e.namespaceURI]&&(e.namespaceURI===me?t.namespaceURI===ve?"svg"===n:t.namespaceURI===ge?"svg"===n&&("annotation-xml"===r||we[r]):Boolean(Fe[n]):e.namespaceURI===ge?t.namespaceURI===ve?"math"===n:t.namespaceURI===me?"math"===n&&ke[r]:Boolean(Oe[n]):e.namespaceURI===ve?!(t.namespaceURI===me&&!ke[r])&&!(t.namespaceURI===ge&&!we[r])&&!Oe[n]&&(Ce[n]||!Fe[n]):!("application/xhtml+xml"!==Ae||!_e[e.namespaceURI]))}(e)?(ze(e),!0):"noscript"!==r&&"noembed"!==r&&"noframes"!==r||!Nu(/<\/no(script|embed|frames)/i,e.innerHTML)?(X&&e.nodeType===hd&&(t=e.textContent,Cu([L,T,D],(e=>{t=Fu(t,e," ")})),e.textContent!==t&&(Mu(n.removed,{element:e.cloneNode()}),e.textContent=t)),je(E.afterSanitizeElements,e,null),!1):(ze(e),!0)},He=function(e,t,n){if($[t])return!1;if(ie&&("id"===t||"name"===t)&&(n in r||n in Le))return!1;if(G&&!$[t]&&Nu(F,t));else if(V&&Nu(O,t));else if(U.attributeCheck instanceof Function&&U.attributeCheck(t,e));else if(!j[t]||$[t]){if(!(qe(e)&&(H.tagNameCheck instanceof RegExp&&Nu(H.tagNameCheck,e)||H.tagNameCheck instanceof Function&&H.tagNameCheck(e))&&(H.attributeNameCheck instanceof RegExp&&Nu(H.attributeNameCheck,t)||H.attributeNameCheck instanceof Function&&H.attributeNameCheck(t,e))||"is"===t&&H.allowCustomizedBuiltInElements&&(H.tagNameCheck instanceof RegExp&&Nu(H.tagNameCheck,n)||H.tagNameCheck instanceof Function&&H.tagNameCheck(n))))return!1}else if(he[t]);else if(Nu(P,Fu(n,R,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==Ou(n,"data:")||!de[e]){if(Y&&!Nu(z,Fu(n,R,"")));else if(n)return!1}else;return!0},qe=function(e){return"annotation-xml"!==e&&Du(e,N)},$e=function(e){je(E.beforeSanitizeAttributes,e,null);const{attributes:t}=e;if(!t||Ie(e))return;const r={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:j,forceKeepAttr:void 0};let i=t.length;for(;i--;){const o=t[i],{name:a,namespaceURI:s,value:l}=o,c=Me(a),u=l;let d="value"===a?u:zu(u);if(r.attrName=c,r.attrValue=d,r.keepAttr=!0,r.forceKeepAttr=void 0,je(E.uponSanitizeAttribute,e,r),d=r.attrValue,!oe||"id"!==c&&"name"!==c||(Re(a,e),d="user-content-"+d),K&&Nu(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,d)){Re(a,e);continue}if("attributename"===c&&Du(d,"href")){Re(a,e);continue}if(r.forceKeepAttr)continue;if(!r.keepAttr){Re(a,e);continue}if(!Z&&Nu(/\/>/i,d)){Re(a,e);continue}X&&Cu([L,T,D],(e=>{d=Fu(d,e," ")}));const f=Me(e.nodeName);if(He(f,c,d)){if(x&&"object"==typeof p&&"function"==typeof p.getAttributeType)if(s);else switch(p.getAttributeType(f,c)){case"TrustedHTML":d=x.createHTML(d);break;case"TrustedScriptURL":d=x.createScriptURL(d)}if(d!==u)try{s?e.setAttributeNS(s,a,d):e.setAttribute(a,d),Ie(e)?ze(e):Su(n.removed)}catch(t){Re(a,e)}}else Re(a,e)}je(E.afterSanitizeAttributes,e,null)},Ue=function(e){let t=null;const n=Pe(e);for(je(E.beforeSanitizeShadowDOM,e,null);t=n.nextNode();)je(E.uponSanitizeShadowNode,t,null),We(t),$e(t),t.content instanceof a&&Ue(t.content);je(E.afterSanitizeShadowDOM,e,null)};return n.sanitize=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=null,o=null,s=null,c=null;if(ye=!e,ye&&(e="\x3c!--\x3e"),"string"!=typeof e&&!Be(e)){if("function"!=typeof e.toString)throw Pu("toString is not a function");if("string"!=typeof(e=e.toString()))throw Pu("dirty is not a string, aborting")}if(!n.isSupported)return e;if(Q||De(t),n.removed=[],"string"==typeof e&&(se=!1),se){if(e.nodeName){const t=Me(e.nodeName);if(!I[t]||q[t])throw Pu("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof l)r=Ne("\x3c!----\x3e"),o=r.ownerDocument.importNode(e,!0),o.nodeType===fd&&"BODY"===o.nodeName||"HTML"===o.nodeName?r=o:r.appendChild(o);else{if(!te&&!X&&!J&&-1===e.indexOf("<"))return x&&re?x.createHTML(e):e;if(r=Ne(e),!r)return te?null:re?w:""}r&&ee&&ze(r.firstChild);const u=Pe(se?e:r);for(;s=u.nextNode();)We(s),$e(s),s.content instanceof a&&Ue(s.content);if(se)return e;if(te){if(X){r.normalize();let e=r.innerHTML;Cu([L,T,D],(t=>{e=Fu(e,t," ")})),r.innerHTML=e}if(ne)for(c=A.call(r.ownerDocument);r.firstChild;)c.appendChild(r.firstChild);else c=r;return(j.shadowroot||j.shadowrootmode)&&(c=M.call(i,c,!0)),c}let d=J?r.outerHTML:r.innerHTML;return J&&I["!doctype"]&&r.ownerDocument&&r.ownerDocument.doctype&&r.ownerDocument.doctype.name&&Nu(cd,r.ownerDocument.doctype.name)&&(d="<!DOCTYPE "+r.ownerDocument.doctype.name+">\n"+d),X&&Cu([L,T,D],(e=>{d=Fu(d,e," ")})),x&&re?x.createHTML(d):d},n.setConfig=function(){De(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),Q=!0},n.clearConfig=function(){Ee=null,Q=!1},n.isValidAttribute=function(e,t,n){Ee||De({});const r=Me(e),i=Me(t);return He(r,i,n)},n.addHook=function(e,t){"function"==typeof t&&Mu(E[e],t)},n.removeHook=function(e,t){if(void 0!==t){const n=Au(E[e],t);return-1===n?void 0:Eu(E[e],n,1)[0]}return Su(E[e])},n.removeHooks=function(e){E[e]=[]},n.removeAllHooks=function(){E={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},n}();const yd=(e,t)=>bd.sanitize(e,t),_d={USE_PROFILES:{html:!0}},xd=Symbol.for("preact-signals");function wd(){if(Sd>1)return void Sd--;let e,t=!1;for(;void 0!==Cd;){let n=Cd;for(Cd=void 0,Md++;void 0!==n;){const r=n.o;if(n.o=void 0,n.f&=-3,!(8&n.f)&&Fd(n))try{n.c()}catch(n){t||(e=n,t=!0)}n=r}}if(Md=0,Sd--,t)throw e}let kd,Cd;function Ad(e){const t=kd;kd=void 0;try{return e()}finally{kd=t}}let Sd=0,Md=0,Ed=0;function Ld(e){if(void 0===kd)return;let t=e.n;return void 0===t||t.t!==kd?(t={i:0,S:e,p:kd.s,n:void 0,t:kd,e:void 0,x:void 0,r:t},void 0!==kd.s&&(kd.s.n=t),kd.s=t,e.n=t,32&kd.f&&e.S(t),t):-1===t.i?(t.i=0,void 0!==t.n&&(t.n.p=t.p,void 0!==t.p&&(t.p.n=t.n),t.p=kd.s,t.n=void 0,kd.s.n=t,kd.s=t),t):void 0}function Td(e,t){this.v=e,this.i=0,this.n=void 0,this.t=void 0,this.W=null==t?void 0:t.watched,this.Z=null==t?void 0:t.unwatched,this.name=null==t?void 0:t.name}function Dd(e,t){return new Td(e,t)}function Fd(e){for(let t=e.s;void 0!==t;t=t.n)if(t.S.i!==t.i||!t.S.h()||t.S.i!==t.i)return!0;return!1}function Od(e){for(let t=e.s;void 0!==t;t=t.n){const n=t.S.n;if(void 0!==n&&(t.r=n),t.S.n=t,t.i=-1,void 0===t.n){e.s=t;break}}}function zd(e){let t,n=e.s;for(;void 0!==n;){const e=n.p;-1===n.i?(n.S.U(n),void 0!==e&&(e.n=n.n),void 0!==n.n&&(n.n.p=e)):t=n,n.S.n=n.r,void 0!==n.r&&(n.r=void 0),n=e}e.s=t}function Rd(e,t){Td.call(this,void 0),this.x=e,this.s=void 0,this.g=Ed-1,this.f=4,this.W=null==t?void 0:t.watched,this.Z=null==t?void 0:t.unwatched,this.name=null==t?void 0:t.name}function Nd(e,t){return new Rd(e,t)}function Pd(e){const t=e.u;if(e.u=void 0,"function"==typeof t){Sd++;const n=kd;kd=void 0;try{t()}catch(t){throw e.f&=-2,e.f|=8,Id(e),t}finally{kd=n,wd()}}}function Id(e){for(let t=e.s;void 0!==t;t=t.n)t.S.U(t);e.x=void 0,e.s=void 0,Pd(e)}function Bd(e){if(kd!==this)throw new Error("Out-of-order effect");zd(this),kd=e,this.f&=-2,8&this.f&&Id(this),wd()}function jd(e,t){this.x=e,this.u=void 0,this.s=void 0,this.o=void 0,this.f=32,this.name=null==t?void 0:t.name}function Wd(e,t){const n=new jd(e,t);try{n.c()}catch(e){throw n.d(),e}const r=n.d.bind(n);return r[Symbol.dispose]=r,r}Td.prototype.brand=xd,Td.prototype.h=function(){return!0},Td.prototype.S=function(e){const t=this.t;t!==e&&void 0===e.e&&(e.x=t,this.t=e,void 0!==t?t.e=e:Ad((()=>{var e;null==(e=this.W)||e.call(this)})))},Td.prototype.U=function(e){if(void 0!==this.t){const t=e.e,n=e.x;void 0!==t&&(t.x=n,e.e=void 0),void 0!==n&&(n.e=t,e.x=void 0),e===this.t&&(this.t=n,void 0===n&&Ad((()=>{var e;null==(e=this.Z)||e.call(this)})))}},Td.prototype.subscribe=function(e){return Wd((()=>{const t=this.value,n=kd;kd=void 0;try{e(t)}finally{kd=n}}),{name:"sub"})},Td.prototype.valueOf=function(){return this.value},Td.prototype.toString=function(){return this.value+""},Td.prototype.toJSON=function(){return this.value},Td.prototype.peek=function(){const e=kd;kd=void 0;try{return this.value}finally{kd=e}},Object.defineProperty(Td.prototype,"value",{get(){const e=Ld(this);return void 0!==e&&(e.i=this.i),this.v},set(e){if(e!==this.v){if(Md>100)throw new Error("Cycle detected");this.v=e,this.i++,Ed++,Sd++;try{for(let e=this.t;void 0!==e;e=e.x)e.t.N()}finally{wd()}}}}),Rd.prototype=new Td,Rd.prototype.h=function(){if(this.f&=-3,1&this.f)return!1;if(32==(36&this.f))return!0;if(this.f&=-5,this.g===Ed)return!0;if(this.g=Ed,this.f|=1,this.i>0&&!Fd(this))return this.f&=-2,!0;const e=kd;try{Od(this),kd=this;const e=this.x();(16&this.f||this.v!==e||0===this.i)&&(this.v=e,this.f&=-17,this.i++)}catch(e){this.v=e,this.f|=16,this.i++}return kd=e,zd(this),this.f&=-2,!0},Rd.prototype.S=function(e){if(void 0===this.t){this.f|=36;for(let e=this.s;void 0!==e;e=e.n)e.S.S(e)}Td.prototype.S.call(this,e)},Rd.prototype.U=function(e){if(void 0!==this.t&&(Td.prototype.U.call(this,e),void 0===this.t)){this.f&=-33;for(let e=this.s;void 0!==e;e=e.n)e.S.U(e)}},Rd.prototype.N=function(){if(!(2&this.f)){this.f|=6;for(let e=this.t;void 0!==e;e=e.x)e.t.N()}},Object.defineProperty(Rd.prototype,"value",{get(){if(1&this.f)throw new Error("Cycle detected");const e=Ld(this);if(this.h(),void 0!==e&&(e.i=this.i),16&this.f)throw this.v;return this.v}}),jd.prototype.c=function(){const e=this.S();try{if(8&this.f)return;if(void 0===this.x)return;const e=this.x();"function"==typeof e&&(this.u=e)}finally{e()}},jd.prototype.S=function(){if(1&this.f)throw new Error("Cycle detected");this.f|=1,this.f&=-9,Pd(this),Od(this),Sd++;const e=kd;return kd=this,Bd.bind(this,e)},jd.prototype.N=function(){2&this.f||(this.f|=2,this.o=Cd,Cd=this)},jd.prototype.d=function(){this.f|=8,1&this.f||Id(this)},jd.prototype.dispose=function(){this.d()};const Hd=()=>"undefined"==typeof window?"":window.location.href,qd=e=>{const t={};return e.forEach(((e,n)=>{n in t?Array.isArray(t[n])?t[n].push(e):t[n]=[t[n],e]:t[n]=e})),t},$d=Dd(Hd());(e=>{if("undefined"!=typeof window)window.addEventListener("popstate",e),window.addEventListener("replaceState",e),window.addEventListener("pushState",e),window.addEventListener("hashchange",e)})((()=>{$d.peek()!==Hd()&&($d.value=Hd())}));const Ud=Nd((()=>new URL($d.value))),Vd=Nd((()=>Ud.value.searchParams)),Gd=Nd((()=>({hash:Ud.value.hash,pathname:Ud.value.pathname,origin:Ud.value.origin,params:qd(Vd.value)})));var Yd;Nd((()=>{const e=Gd.value.hash.startsWith("#")?Gd.value.hash.slice(1):Gd.value.hash;return{path:e,pathParts:e.split("/").filter(Boolean)}})),function(e){e.UNEXPECTED_CHARACTER="UNEXPECTED_CHARACTER",e.UNTERMINATED_STRING="UNTERMINATED_STRING",e.INVALID_UNICODE_ESCAPE="INVALID_UNICODE_ESCAPE",e.EXPECTED_TOKEN="EXPECTED_TOKEN",e.EXPECTED_OPERATION="EXPECTED_OPERATION",e.EXPECTED_VALUE="EXPECTED_VALUE",e.EXPECTED_ACCESSOR="EXPECTED_ACCESSOR",e.INVALID_SYNTAX="INVALID_SYNTAX",e.INVALID_INPUT="INVALID_INPUT",e.INVALID_IDENTIFIER="INVALID_IDENTIFIER",e.FORBIDDEN_LOGICAL_OPERATOR="FORBIDDEN_LOGICAL_OPERATOR",e.FORBIDDEN_OPERATION="FORBIDDEN_OPERATION",e.FORBIDDEN_ARRAY_OPERATION="FORBIDDEN_ARRAY_OPERATION",e.FORBIDDEN_IDENTIFIER="FORBIDDEN_IDENTIFIER",e.FORBIDDEN_VALUE_TYPE="FORBIDDEN_VALUE_TYPE",e.FORBIDDEN_PARENTHESES="FORBIDDEN_PARENTHESES",e.FORBIDDEN_BRACKET_ACCESS="FORBIDDEN_BRACKET_ACCESS"}(Yd||(Yd={}));const Zd="auto",Xd="light",Kd="dark",Jd="theme",Qd=[Xd,Kd,Zd],ef={matches:!1,addEventListener:()=>{},removeEventListener:()=>{},media:"",onchange:()=>{},addListener:()=>{},removeListener:()=>{},dispatchEvent:()=>!0},tf=()=>"undefined"==typeof window||"function"!=typeof window.matchMedia?ef:window.matchMedia("(prefers-color-scheme: dark)"),nf=Kn()?.theme,rf=Nd((()=>of.value===Zd?af.value:of.value)),of=Dd(Zd),af=Dd("undefined"==typeof window?Xd:tf().matches?Kd:Xd);(e=>{if("undefined"==typeof window)return;const{signal:t,key:n,defaultValue:r,onRestore:i=e=>e}=e,o=window.localStorage.getItem(n);if(null===o)"defaultValue"in e&&(t.value=r);else{let e=o;try{e=JSON.parse(o)}catch{}t.value=i(e)}})({signal:of,key:Jd,onRestore:e=>(e=>Qd.includes(e))(e)?e:nf??Zd}),(e=>{if("undefined"==typeof window)return;const{signal:t,key:n,shouldPersist:r=()=>!0}=e;Wd((()=>{const e=t.value;if(r(e))try{window.localStorage.setItem(n,"string"==typeof e?e:JSON.stringify(e))}catch{}}))})({signal:of,key:Jd});const sf=Nd((()=>({current:rf.value,selected:of.value})));(()=>{if("undefined"==typeof window)return;Wd((()=>{document.documentElement.setAttribute("data-theme",rf.value)}));tf().addEventListener("change",(e=>{e.matches?af.value=Kd:af.value=Xd}))})(),Dd(1);const lf="\nhtml, body {\n margin: 0;\n padding: 0;\n overflow-x: hidden;\n overflow-y: hidden;\n background: var(--color-bg-primary);\n}\n\nbody {\n color: var(--color-text-primary);\n font-family: var(--font-family);\n font-size: var(--font-size-m);\n line-height: var(--line-height-m);\n}\n\np {\n margin-top: 0;\n margin-bottom: 10px;\n}\n\np:last-child {\n margin-bottom: 0;\n}\n\nh1,\nh2,\nh3,\nh4,\nh5,\nh6 {\n font-weight: var(--font-weight-bold) !important;\n line-height: var(--line-height-l) !important;\n margin: 16px 0 10px;\n}\n\nh1:first-child,\nh2:first-child,\nh3:first-child,\nh4:first-child,\nh5:first-child,\nh6:first-child {\n margin-top: 0;\n}\n\nh1 {\n font-size: var(--font-size-xl) !important;\n}\n\nh2,\nh3 {\n font-size: var(--font-size-l) !important;\n}\n\nh4 {\n font-size: var(--font-size-m) !important;\n}\n\nh5,\nh6 {\n font-size: var(--font-size-s) !important;\n}\n\nh6 {\n color: var(--color-text-secondary);\n}\n\nstrong,\nb {\n font-weight: var(--font-weight-bold) !important;\n}\n\nem,\ni {\n font-style: italic !important;\n}\n\ndel,\ns {\n text-decoration: line-through;\n}\n\na {\n color: var(--color-text-primary);\n text-decoration: underline;\n}\n\na:hover {\n color: var(--color-text-secondary);\n}\n\ncode {\n font-family: var(--font-family-mono) !important;\n font-size: var(--font-size-m-code) !important;\n padding: 0.2em 0.4em;\n background: var(--color-control-bg);\n border-radius: 4px;\n}\n\npre {\n font-family: var(--font-family-mono) !important;\n font-size: var(--font-size-s) !important;\n line-height: 1.45 !important;\n padding: 16px;\n overflow: auto;\n background: var(--color-control-bg);\n border-radius: 6px;\n margin-bottom: 16px;\n}\n\npre code {\n padding: 0;\n background: transparent;\n font-size: inherit !important;\n border-radius: 0;\n}\n\nblockquote {\n padding: 0 1em;\n border-left: 0.25em solid var(--color-border-default);\n color: var(--color-text-secondary);\n margin-bottom: 16px;\n}\n\nul,\nol {\n padding-left: 2em;\n margin-bottom: 10px;\n}\n\nul {\n list-style: disc !important;\n}\n\nol {\n list-style: decimal !important;\n}\n\nli + li {\n margin-top: 0.25em;\n}\n\nhr {\n height: 0.25em;\n padding: 0;\n margin: 24px 0;\n background-color: var(--color-border-default);\n border: 0 !important;\n}\n\ntable {\n border-spacing: 0;\n border-collapse: collapse;\n margin-bottom: 16px;\n display: block;\n width: max-content;\n max-width: 100%;\n overflow-x: auto;\n overflow-y: hidden;\n transform: translateZ(0);\n contain: layout paint;\n}\n\nth,\ntd {\n padding: 6px 13px;\n border: 1px solid var(--color-border-default) !important;\n white-space: nowrap;\n}\n\nth {\n font-weight: var(--font-weight-bold) !important;\n position: sticky;\n top: 0;\n z-index: 1;\n background: var(--color-bg-primary);\n}\n\ntr:nth-child(2n) {\n background: var(--color-control-bg);\n}\n\nimg {\n max-width: 100% !important;\n height: auto !important;\n display: inline-block !important;\n vertical-align: middle !important;\n}\n\nabbr,\nabbr[title] {\n text-decoration: underline dotted;\n cursor: help;\n border-bottom: none;\n}\n\nkbd {\n display: inline-block;\n padding: 3px 5px;\n font-family: var(--font-family-mono) !important;\n font-size: 11px;\n line-height: 10px;\n color: var(--color-text-primary);\n vertical-align: middle;\n background-color: var(--color-control-bg);\n border: solid 1px var(--color-border-medium);\n border-bottom-color: var(--color-border-medium);\n border-radius: 6px;\n box-shadow: inset 0 -1px 0 var(--color-border-medium);\n}\n\nsamp {\n font-family: var(--font-family-mono) !important;\n font-size: 85% !important;\n}\n\nvar {\n font-family: var(--font-family-mono) !important;\n font-style: italic !important;\n font-weight: var(--font-weight-bold) !important;\n}\n\nmark {\n background-color: var(--color-intent-primary-bg);\n color: var(--color-intent-primary-on-bg);\n padding: 0.1em 0.2em;\n border-radius: 2px;\n}\n\nsmall {\n font-size: 85% !important;\n}\n\nsub,\nsup {\n font-size: 75% !important;\n line-height: 0 !important;\n position: relative !important;\n vertical-align: baseline !important;\n}\n\nsub {\n bottom: -0.25em !important;\n}\n\nsup {\n top: -0.5em !important;\n}\n\nins {\n text-decoration: underline;\n background-color: var(--color-intent-success-bg-subtle);\n color: var(--color-text-primary);\n text-decoration-color: var(--color-intent-success-text);\n}\n\ndfn {\n font-style: italic !important;\n font-weight: var(--font-weight-bold) !important;\n}\n\ncite {\n font-style: italic !important;\n}\n\nq {\n font-style: italic !important;\n}\n\nq::before {\n content: open-quote;\n}\n\nq::after {\n content: close-quote;\n}\n\ntime {\n font-variant-numeric: tabular-nums;\n}\n\ndl {\n padding: 0;\n margin-bottom: 16px;\n}\n\ndt {\n padding: 0;\n margin-top: 16px;\n font-size: 1em;\n font-style: italic;\n font-weight: var(--font-weight-bold) !important;\n}\n\ndt:first-child {\n margin-top: 0;\n}\n\ndd {\n padding: 0 0 0 16px;\n margin-left: 0;\n margin-bottom: 16px;\n}\n\nfigure {\n margin: 16px 0;\n display: block;\n}\n\nfigcaption {\n margin-top: 8px;\n font-size: var(--font-size-s) !important;\n color: var(--color-text-secondary);\n font-style: italic;\n text-align: center;\n}\n\ndetails {\n display: block;\n margin-bottom: 16px;\n}\n\nsummary {\n display: list-item;\n cursor: pointer;\n font-weight: var(--font-weight-bold) !important;\n margin-bottom: 8px;\n}\n\nsummary:hover {\n color: var(--color-text-secondary);\n}\n\nsummary::marker {\n color: var(--color-text-secondary);\n}\n\ndetails[open] summary {\n margin-bottom: 16px;\n}\n\narticle,\nsection,\naside,\nnav {\n display: block;\n margin-bottom: 16px;\n}\n\nheader,\nfooter {\n display: block;\n margin-bottom: 16px;\n}\n\naddress {\n display: block;\n font-style: italic;\n margin-bottom: 16px;\n}\n",cf=/var\(\s*(--[\w-]+)\s*(?:,\s*([^)]+))?\)/g,uf=(e,t,n)=>e.replace(cf,((e,r,i)=>{if(n.has(r))return i?uf(i.trim(),t,n):"";const o=new Set(n);o.add(r);const a=t.getPropertyValue(r).trim();return a?uf(a,t,o):i?uf(i.trim(),t,o):""})),df=/((?:(?:https?:\/\/|ftp:\/\/|mailto:)|www\.)\S+?)(\s|"|'|\)|]|}|&#62|$)/g,ff=(e,t=!1)=>t||(e=>void 0===e||Boolean(e?.failed||e?.broken))(e);var hf="styles_link__BC-2O";const pf=({text:e,...t})=>{if(!(e=>{const t=new RegExp(df.source,df.flags);return t.lastIndex=0,t.test(e)})(e))return An(Ln,{...t,children:e});const n=(e=>{if(!e)return[{type:"text",value:""}];const t=[],n=new RegExp(df.source,df.flags);let r,i=0;for(;null!==(r=n.exec(e));){const n=r.index,o=r[1],a=r[2]??"";n>i&&t.push({type:"text",value:e.slice(i,n)}),t.push({type:"url",value:o}),i=n+o.length+a.length}return i<e.length&&t.push({type:"text",value:e.slice(i)}),0===t.length?[{type:"text",value:e}]:t})(e);return An(Ln,{...t,children:n.map(((e,t)=>{if("text"===e.type)return e.value;const n=(r=e.value,/^(?:https?:\/\/|mailto:|tel:)/.test(r)?Yn(r):/^www\./.test(r)?Yn(`https://${r}`):Yn(r));var r;return n?An(Ln,{tag:"a",href:n,target:"_blank",rel:"noopener noreferrer",className:hf,onClick:e=>{e.stopPropagation()},children:e.value},t):e.value}))})},gf=Math.min,mf=Math.max,vf=Math.round,bf=Math.floor,yf=e=>({x:e,y:e}),_f={left:"right",right:"left",bottom:"top",top:"bottom"},xf={start:"end",end:"start"};function wf(e,t,n){return mf(e,gf(t,n))}function kf(e,t){return"function"==typeof e?e(t):e}function Cf(e){return e.split("-")[0]}function Af(e){return e.split("-")[1]}function Sf(e){return"x"===e?"y":"x"}function Mf(e){return"y"===e?"height":"width"}const Ef=new Set(["top","bottom"]);function Lf(e){return Ef.has(Cf(e))?"y":"x"}function Tf(e){return Sf(Lf(e))}function Df(e){return e.replace(/start|end/g,(e=>xf[e]))}const Ff=["left","right"],Of=["right","left"],zf=["top","bottom"],Rf=["bottom","top"];function Nf(e,t,n,r){const i=Af(e);let o=function(e,t,n){switch(e){case"top":case"bottom":return n?t?Of:Ff:t?Ff:Of;case"left":case"right":return t?zf:Rf;default:return[]}}(Cf(e),"start"===n,r);return i&&(o=o.map((e=>e+"-"+i)),t&&(o=o.concat(o.map(Df)))),o}function Pf(e){return e.replace(/left|right|bottom|top/g,(e=>_f[e]))}function If(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 Bf(e,t,n){let{reference:r,floating:i}=e;const o=Lf(t),a=Tf(t),s=Mf(a),l=Cf(t),c="y"===o,u=r.x+r.width/2-i.width/2,d=r.y+r.height/2-i.height/2,f=r[s]/2-i[s]/2;let h;switch(l){case"top":h={x:u,y:r.y-i.height};break;case"bottom":h={x:u,y:r.y+r.height};break;case"right":h={x:r.x+r.width,y:d};break;case"left":h={x:r.x-i.width,y:d};break;default:h={x:r.x,y:r.y}}switch(Af(t)){case"start":h[a]-=f*(n&&c?-1:1);break;case"end":h[a]+=f*(n&&c?-1:1)}return h}async function jf(e,t){var n;void 0===t&&(t={});const{x:r,y:i,platform:o,rects:a,elements:s,strategy:l}=e,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:d="floating",altBoundary:f=!1,padding:h=0}=kf(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[f?"floating"===d?"reference":"floating":d],m=If(await o.getClippingRect({element:null==(n=await(null==o.isElement?void 0:o.isElement(g)))||n?g:g.contextElement||await(null==o.getDocumentElement?void 0:o.getDocumentElement(s.floating)),boundary:c,rootBoundary:u,strategy:l})),v="floating"===d?{x:r,y:i,width:a.floating.width,height:a.floating.height}:a.reference,b=await(null==o.getOffsetParent?void 0:o.getOffsetParent(s.floating)),y=await(null==o.isElement?void 0:o.isElement(b))&&await(null==o.getScale?void 0:o.getScale(b))||{x:1,y:1},_=If(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:v,offsetParent:b,strategy:l}):v);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 Wf=new Set(["left","top"]);function Hf(){return"undefined"!=typeof window}function qf(e){return Vf(e)?(e.nodeName||"").toLowerCase():"#document"}function $f(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function Uf(e){var t;return null==(t=(Vf(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function Vf(e){return!!Hf()&&(e instanceof Node||e instanceof $f(e).Node)}function Gf(e){return!!Hf()&&(e instanceof Element||e instanceof $f(e).Element)}function Yf(e){return!!Hf()&&(e instanceof HTMLElement||e instanceof $f(e).HTMLElement)}function Zf(e){return!(!Hf()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof $f(e).ShadowRoot)}const Xf=new Set(["inline","contents"]);function Kf(e){const{overflow:t,overflowX:n,overflowY:r,display:i}=ch(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!Xf.has(i)}const Jf=new Set(["table","td","th"]);function Qf(e){return Jf.has(qf(e))}const eh=[":popover-open",":modal"];function th(e){return eh.some((t=>{try{return e.matches(t)}catch(e){return!1}}))}const nh=["transform","translate","scale","rotate","perspective"],rh=["transform","translate","scale","rotate","perspective","filter"],ih=["paint","layout","strict","content"];function oh(e){const t=ah(),n=Gf(e)?ch(e):e;return nh.some((e=>!!n[e]&&"none"!==n[e]))||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||rh.some((e=>(n.willChange||"").includes(e)))||ih.some((e=>(n.contain||"").includes(e)))}function ah(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}const sh=new Set(["html","body","#document"]);function lh(e){return sh.has(qf(e))}function ch(e){return $f(e).getComputedStyle(e)}function uh(e){return Gf(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function dh(e){if("html"===qf(e))return e;const t=e.assignedSlot||e.parentNode||Zf(e)&&e.host||Uf(e);return Zf(t)?t.host:t}function fh(e){const t=dh(e);return lh(t)?e.ownerDocument?e.ownerDocument.body:e.body:Yf(t)&&Kf(t)?t:fh(t)}function hh(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);const i=fh(e),o=i===(null==(r=e.ownerDocument)?void 0:r.body),a=$f(i);if(o){const e=ph(a);return t.concat(a,a.visualViewport||[],Kf(i)?i:[],e&&n?hh(e):[])}return t.concat(i,hh(i,[],n))}function ph(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function gh(e){const t=ch(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const i=Yf(e),o=i?e.offsetWidth:n,a=i?e.offsetHeight:r,s=vf(n)!==o||vf(r)!==a;return s&&(n=o,r=a),{width:n,height:r,$:s}}function mh(e){return Gf(e)?e:e.contextElement}function vh(e){const t=mh(e);if(!Yf(t))return yf(1);const n=t.getBoundingClientRect(),{width:r,height:i,$:o}=gh(t);let a=(o?vf(n.width):n.width)/r,s=(o?vf(n.height):n.height)/i;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const bh=yf(0);function yh(e){const t=$f(e);return ah()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:bh}function _h(e,t,n,r){void 0===t&&(t=!1),void 0===n&&(n=!1);const i=e.getBoundingClientRect(),o=mh(e);let a=yf(1);t&&(r?Gf(r)&&(a=vh(r)):a=vh(e));const s=function(e,t,n){return void 0===t&&(t=!1),!(!n||t&&n!==$f(e))&&t}(o,n,r)?yh(o):yf(0);let l=(i.left+s.x)/a.x,c=(i.top+s.y)/a.y,u=i.width/a.x,d=i.height/a.y;if(o){const e=$f(o),t=r&&Gf(r)?$f(r):r;let n=e,i=ph(n);for(;i&&r&&t!==n;){const e=vh(i),t=i.getBoundingClientRect(),r=ch(i),o=t.left+(i.clientLeft+parseFloat(r.paddingLeft))*e.x,a=t.top+(i.clientTop+parseFloat(r.paddingTop))*e.y;l*=e.x,c*=e.y,u*=e.x,d*=e.y,l+=o,c+=a,n=$f(i),i=ph(n)}}return If({width:u,height:d,x:l,y:c})}function xh(e,t){const n=uh(e).scrollLeft;return t?t.left+n:_h(Uf(e)).left+n}function wh(e,t){const n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-xh(e,n),y:n.top+t.scrollTop}}const kh=new Set(["absolute","fixed"]);function Ch(e,t,n){let r;if("viewport"===t)r=function(e,t){const n=$f(e),r=Uf(e),i=n.visualViewport;let o=r.clientWidth,a=r.clientHeight,s=0,l=0;if(i){o=i.width,a=i.height;const e=ah();(!e||e&&"fixed"===t)&&(s=i.offsetLeft,l=i.offsetTop)}const c=xh(r);if(c<=0){const e=r.ownerDocument,t=e.body,n=getComputedStyle(t),i="CSS1Compat"===e.compatMode&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,a=Math.abs(r.clientWidth-t.clientWidth-i);a<=25&&(o-=a)}else c<=25&&(o+=c);return{width:o,height:a,x:s,y:l}}(e,n);else if("document"===t)r=function(e){const t=Uf(e),n=uh(e),r=e.ownerDocument.body,i=mf(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),o=mf(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let a=-n.scrollLeft+xh(e);const s=-n.scrollTop;return"rtl"===ch(r).direction&&(a+=mf(t.clientWidth,r.clientWidth)-i),{width:i,height:o,x:a,y:s}}(Uf(e));else if(Gf(t))r=function(e,t){const n=_h(e,!0,"fixed"===t),r=n.top+e.clientTop,i=n.left+e.clientLeft,o=Yf(e)?vh(e):yf(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=yh(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return If(r)}function Ah(e,t){const n=dh(e);return!(n===t||!Gf(n)||lh(n))&&("fixed"===ch(n).position||Ah(n,t))}function Sh(e,t,n){const r=Yf(t),i=Uf(t),o="fixed"===n,a=_h(e,!0,o,t);let s={scrollLeft:0,scrollTop:0};const l=yf(0);function c(){l.x=xh(i)}if(r||!r&&!o)if(("body"!==qf(t)||Kf(i))&&(s=uh(t)),r){const e=_h(t,!0,o,t);l.x=e.x+t.clientLeft,l.y=e.y+t.clientTop}else i&&c();o&&!r&&i&&c();const u=!i||r||o?yf(0):wh(i,s);return{x:a.left+s.scrollLeft-l.x-u.x,y:a.top+s.scrollTop-l.y-u.y,width:a.width,height:a.height}}function Mh(e){return"static"===ch(e).position}function Eh(e,t){if(!Yf(e)||"fixed"===ch(e).position)return null;if(t)return t(e);let n=e.offsetParent;return Uf(e)===n&&(n=n.ownerDocument.body),n}function Lh(e,t){const n=$f(e);if(th(e))return n;if(!Yf(e)){let t=dh(e);for(;t&&!lh(t);){if(Gf(t)&&!Mh(t))return t;t=dh(t)}return n}let r=Eh(e,t);for(;r&&Qf(r)&&Mh(r);)r=Eh(r,t);return r&&lh(r)&&Mh(r)&&!oh(r)?n:r||function(e){let t=dh(e);for(;Yf(t)&&!lh(t);){if(oh(t))return t;if(th(t))return null;t=dh(t)}return null}(e)||n}const Th={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e;const o="fixed"===i,a=Uf(r),s=!!t&&th(t.floating);if(r===a||s&&o)return n;let l={scrollLeft:0,scrollTop:0},c=yf(1);const u=yf(0),d=Yf(r);if((d||!d&&!o)&&(("body"!==qf(r)||Kf(a))&&(l=uh(r)),Yf(r))){const e=_h(r);c=vh(r),u.x=e.x+r.clientLeft,u.y=e.y+r.clientTop}const f=!a||d||o?yf(0):wh(a,l);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-l.scrollLeft*c.x+u.x+f.x,y:n.y*c.y-l.scrollTop*c.y+u.y+f.y}},getDocumentElement:Uf,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e;const o="clippingAncestors"===n?th(t)?[]:function(e,t){const n=t.get(e);if(n)return n;let r=hh(e,[],!1).filter((e=>Gf(e)&&"body"!==qf(e))),i=null;const o="fixed"===ch(e).position;let a=o?dh(e):e;for(;Gf(a)&&!lh(a);){const t=ch(a),n=oh(a);n||"fixed"!==t.position||(i=null),(o?!n&&!i:!n&&"static"===t.position&&i&&kh.has(i.position)||Kf(a)&&!n&&Ah(e,a))?r=r.filter((e=>e!==a)):i=t,a=dh(a)}return t.set(e,r),r}(t,this._c):[].concat(n),a=[...o,r],s=a[0],l=a.reduce(((e,n)=>{const r=Ch(t,n,i);return e.top=mf(r.top,e.top),e.right=gf(r.right,e.right),e.bottom=gf(r.bottom,e.bottom),e.left=mf(r.left,e.left),e}),Ch(t,s,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:Lh,getElementRects:async function(e){const t=this.getOffsetParent||Lh,n=this.getDimensions,r=await n(e.floating);return{reference:Sh(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}=gh(e);return{width:t,height:n}},getScale:vh,isElement:Gf,isRTL:function(e){return"rtl"===ch(e).direction}};function Dh(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Fh(e,t,n,r){void 0===r&&(r={});const{ancestorScroll:i=!0,ancestorResize:o=!0,elementResize:a="function"==typeof ResizeObserver,layoutShift:s="function"==typeof IntersectionObserver,animationFrame:l=!1}=r,c=mh(e),u=i||o?[...c?hh(c):[],...hh(t)]:[];u.forEach((e=>{i&&e.addEventListener("scroll",n,{passive:!0}),o&&e.addEventListener("resize",n)}));const d=c&&s?function(e,t){let n,r=null;const i=Uf(e);function o(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return function a(s,l){void 0===s&&(s=!1),void 0===l&&(l=1),o();const c=e.getBoundingClientRect(),{left:u,top:d,width:f,height:h}=c;if(s||t(),!f||!h)return;const p={rootMargin:-bf(d)+"px "+-bf(i.clientWidth-(u+f))+"px "+-bf(i.clientHeight-(d+h))+"px "+-bf(u)+"px",threshold:mf(0,gf(1,l))||1};let g=!0;function m(t){const r=t[0].intersectionRatio;if(r!==l){if(!g)return a();r?a(!1,r):n=setTimeout((()=>{a(!1,1e-7)}),1e3)}1!==r||Dh(c,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}(c,n):null;let f,h=-1,p=null;a&&(p=new ResizeObserver((e=>{let[r]=e;r&&r.target===c&&p&&(p.unobserve(t),cancelAnimationFrame(h),h=requestAnimationFrame((()=>{var e;null==(e=p)||e.observe(t)}))),n()})),c&&!l&&p.observe(c),p.observe(t));let g=l?_h(e):null;return l&&function t(){const r=_h(e);g&&!Dh(g,r)&&n();g=r,f=requestAnimationFrame(t)}(),n(),()=>{var e;u.forEach((e=>{i&&e.removeEventListener("scroll",n),o&&e.removeEventListener("resize",n)})),null==d||d(),null==(e=p)||e.disconnect(),p=null,l&&cancelAnimationFrame(f)}}const Oh=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:i,y:o,placement:a,middlewareData:s}=t,l=await async function(e,t){const{placement:n,platform:r,elements:i}=e,o=await(null==r.isRTL?void 0:r.isRTL(i.floating)),a=Cf(n),s=Af(n),l="y"===Lf(n),c=Wf.has(a)?-1:1,u=o&&l?-1:1,d=kf(t,e);let{mainAxis:f,crossAxis:h,alignmentAxis:p}="number"==typeof d?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return s&&"number"==typeof p&&(h="end"===s?-1*p:p),l?{x:h*u,y:f*c}:{x:f*c,y:h*u}}(t,e);return a===(null==(n=s.offset)?void 0:n.placement)&&null!=(r=s.arrow)&&r.alignmentOffset?{}:{x:i+l.x,y:o+l.y,data:{...l,placement:a}}}}},zh=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:i}=t,{mainAxis:o=!0,crossAxis:a=!1,limiter:s={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...l}=kf(e,t),c={x:n,y:r},u=await jf(t,l),d=Lf(Cf(i)),f=Sf(d);let h=c[f],p=c[d];if(o){const e="y"===f?"bottom":"right";h=wf(h+u["y"===f?"top":"left"],h,h-u[e])}if(a){const e="y"===d?"bottom":"right";p=wf(p+u["y"===d?"top":"left"],p,p-u[e])}const g=s.fn({...t,[f]:h,[d]:p});return{...g,data:{x:g.x-n,y:g.y-r,enabled:{[f]:o,[d]:a}}}}}},Rh=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:i,middlewareData:o,rects:a,initialPlacement:s,platform:l,elements:c}=t,{mainAxis:u=!0,crossAxis:d=!0,fallbackPlacements:f,fallbackStrategy:h="bestFit",fallbackAxisSideDirection:p="none",flipAlignment:g=!0,...m}=kf(e,t);if(null!=(n=o.arrow)&&n.alignmentOffset)return{};const v=Cf(i),b=Lf(s),y=Cf(s)===s,_=await(null==l.isRTL?void 0:l.isRTL(c.floating)),x=f||(y||!g?[Pf(s)]:function(e){const t=Pf(e);return[Df(e),t,Df(t)]}(s)),w="none"!==p;!f&&w&&x.push(...Nf(s,g,p,_));const k=[s,...x],C=await jf(t,m),A=[];let S=(null==(r=o.flip)?void 0:r.overflows)||[];if(u&&A.push(C[v]),d){const e=function(e,t,n){void 0===n&&(n=!1);const r=Af(e),i=Tf(e),o=Mf(i);let a="x"===i?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[o]>t.floating[o]&&(a=Pf(a)),[a,Pf(a)]}(i,a,_);A.push(C[e[0]],C[e[1]])}if(S=[...S,{placement:i,overflows:A}],!A.every((e=>e<=0))){var M,E;const e=((null==(M=o.flip)?void 0:M.index)||0)+1,t=k[e];if(t){if(!("alignment"===d&&b!==Lf(t))||S.every((e=>Lf(e.placement)!==b||e.overflows[0]>0)))return{data:{index:e,overflows:S},reset:{placement:t}}}let n=null==(E=S.filter((e=>e.overflows[0]<=0)).sort(((e,t)=>e.overflows[1]-t.overflows[1]))[0])?void 0:E.placement;if(!n)switch(h){case"bestFit":{var L;const e=null==(L=S.filter((e=>{if(w){const t=Lf(e.placement);return t===b||"y"===t}return!0})).map((e=>[e.placement,e.overflows.filter((e=>e>0)).reduce(((e,t)=>e+t),0)])).sort(((e,t)=>e[1]-t[1]))[0])?void 0:L[0];e&&(n=e);break}case"initialPlacement":n=s}if(i!==n)return{reset:{placement:n}}}return{}}}},Nh=(e,t,n)=>{const r=new Map,i={platform:Th,...n},o={...i.platform,_c:r};return(async(e,t,n)=>{const{placement:r="bottom",strategy:i="absolute",middleware:o=[],platform:a}=n,s=o.filter(Boolean),l=await(null==a.isRTL?void 0:a.isRTL(t));let c=await a.getElementRects({reference:e,floating:t,strategy:i}),{x:u,y:d}=Bf(c,r,l),f=r,h={},p=0;for(let n=0;n<s.length;n++){const{name:o,fn:g}=s[n],{x:m,y:v,data:b,reset:y}=await g({x:u,y:d,initialPlacement:r,placement:f,strategy:i,middlewareData:h,rects:c,platform:a,elements:{reference:e,floating:t}});u=null!=m?m:u,d=null!=v?v:d,h={...h,[o]:{...h[o],...b}},y&&p<=50&&(p++,"object"==typeof y&&(y.placement&&(f=y.placement),y.rects&&(c=!0===y.rects?await a.getElementRects({reference:e,floating:t,strategy:i}):y.rects),({x:u,y:d}=Bf(c,f,l))),n=-1)}return{x:u,y:d,placement:f,strategy:i,middlewareData:h}})(e,t,{...i,platform:o})};var Ph="styles_custom-tooltip__2reCz";const Ih=({children:e,"data-testid":t})=>An("div",{className:Ph,"data-testid":t,children:An(Ln,{className:"tooltip-content",size:"s",bold:!0,children:e})}),Bh=e=>{const{placement:t="top",triggerRef:n,tooltipRef:r,isVisible:i}=e,o=l(null),a=l(null);u((()=>{o.current=n.current,a.current=r.current}),[n,r]),u((()=>{const e=()=>{o.current&&a.current&&Nh(o.current,a.current,{placement:t,middleware:[Oh(6),Rh(),zh({padding:5})]}).then((({x:e,y:t})=>{a.current&&Object.assign(a.current.style,{left:`${e}px`,top:`${t}px`,position:"absolute","z-index":100})}))};i&&e(),o.current&&a.current&&Fh(o.current,a.current,e)}),[i,t])},jh=({tooltipText:e,tooltipTextAfterClick:t,tooltipComponent:n,children:r,placement:i="top",triggerMode:o="hover",autoHideDelay:a=600,showDelay:s=200,isTriggerActive:d=!0,"data-testid":f})=>{const h=l(null),p=l(null),[g,m]=c(!1),[v,b]=c(e),y=l(null),_=l(null);u((()=>{b(e);const t=()=>{p.current&&h.current&&Nh(p.current,h.current,{placement:i,middleware:[Oh(6),Rh(),zh({padding:5})]}).then((({x:e,y:t})=>{h.current&&Object.assign(h.current.style,{left:`${e}px`,top:`${t}px`,position:"absolute","z-index":100})}))};return g&&t(),p.current&&h.current?Fh(p.current,h.current,t):()=>{}}),[g,i,e]);u((()=>()=>{y.current&&clearTimeout(y.current)}),[]);const x=n||An(Ih,{"data-testid":f,children:v});return An("div",{onMouseEnter:()=>{"hover"===o&&d&&(_.current=window.setTimeout((()=>{m(!0)}),s)),"click"===o&&y.current&&clearTimeout(y.current)},onMouseLeave:()=>{_.current&&clearTimeout(_.current),"hover"===o?(m(!1),b(e)):"click"===o&&g&&(y.current=window.setTimeout((()=>{m(!1)}),a))},onClick:()=>{"click"===o&&p.current&&d&&(m(!0),y.current&&clearTimeout(y.current)),t&&b(t)},children:[An("div",{ref:p,children:r}),An("div",{ref:h,children:g&&x})]})},Wh=(e,t={})=>{const{observeResize:n=!0}=t,[r,i]=c(null),[o,a]=c(!1),s=d((e=>{i(e)}),[]);return u((()=>{if(!r)return;const e=r.parentElement,t=()=>{a((e=>{const t=e.scrollWidth>e.clientWidth||e.scrollHeight>e.clientHeight,n=e.parentElement,r=!!n&&(n.scrollWidth>n.clientWidth||n.scrollHeight>n.clientHeight);return t||r})(r))};t();const i=requestAnimationFrame(t);if(document.fonts?.ready.then(t),!n)return()=>cancelAnimationFrame(i);const o=()=>{t()};if(window.addEventListener("resize",o),"undefined"==typeof ResizeObserver)return()=>{cancelAnimationFrame(i),window.removeEventListener("resize",o)};const s=new ResizeObserver(t);return s.observe(r),e&&s.observe(e),()=>{cancelAnimationFrame(i),window.removeEventListener("resize",o),s.disconnect()}}),[r,n,...e]),{ref:s,isTruncated:o}},Hh=e=>{const{source:t,transformData:n=e=>e,renderLoader:r=()=>null,renderError:i=e=>An("div",{children:e}),renderData:o}=e;return t.value.loading?r():t.value.error?i(t.value.error):o(n(t.value.data))};var qh="styles_page-loader__OFuzd";const $h=()=>An("div",{className:qh,children:An(En,{size:"m"})}),Uh=(e,t=300)=>{const n=l(e);return u((()=>{n.current=e}),[e]),d(((e,t=300)=>{let n;return(...r)=>{clearTimeout(n),n=setTimeout((()=>{e(...r)}),t)}})(((...e)=>n.current(...e)),t),[t])};var Vh="styles_inputWrap__96bWy",Gh="styles_input__ir8z5",Yh="styles_leadingIcon__6Bcbs",Zh="styles_slot__Grn3c",Xh="styles_clearButton__SR4Dg";const Kh=e=>{e.stopPropagation()},Jh=e=>{const{placeholder:t,value:n,onChange:r,changeDebounce:i=300,leadingSlot:o,trailingSlot:a,error:s}=e,[u,d]=c(n),f=l(null),h=Uh(r,i),p=!!u,g=!!s;return An(Ln,{className:Vh,type:"ui",size:"m",tag:"div",onClick:()=>f.current?.focus(),"data-invalid":g||void 0,children:[An("div",{className:Yh,children:An(Mn,{id:Ut.id,size:"s"})}),o&&An("div",{className:Zh,onClick:Kh,children:o}),An("input",{ref:f,className:Gh,type:"text",placeholder:t,onInput:e=>{const t=e.target.value;d(t),h(t)},value:u,name:"search",autocomplete:"off","data-testid":"search-input","aria-invalid":g||void 0}),a&&An("div",{className:Zh,onClick:Kh,children:a}),p&&An("div",{className:Xh,children:An(Rn,{size:"s",icon:Yt.id,onClick:e=>{e.preventDefault(),e.stopPropagation(),d(""),h("")},style:"ghost","data-testid":"clear-button"})})]})};function Qh(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 ep(e,t){this.props=e,this.context=t}(ep.prototype=new t).isPureReactComponent=!0,ep.prototype.shouldComponentUpdate=function(e,t){return Qh(this.props,e)||Qh(this.state,t)};var tp=e.__b;e.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),tp&&tp(e)};var np=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);np(e,t,n,r)};var rp=e.unmount;function ip(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.__e=!0,e.__c=null),e.__k=e.__k&&e.__k.map((function(e){return ip(e,t,n)}))),e}function op(e,t,n){return e&&n&&(e.__v=null,e.__k=e.__k&&e.__k.map((function(e){return op(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 ap(){this.__u=0,this.o=null,this.__b=null}function sp(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function lp(){this.i=null,this.l=null}e.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),rp&&rp(e)},(ap.prototype=new t).__c=function(e,t){var n=t.__c,r=this;null==r.o&&(r.o=[]),r.o.push(n);var i=sp(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]=op(e,e.__c.__P,e.__c.__O)}var t;for(r.setState({__a:r.__b=null});t=r.o.pop();)t.forceUpdate()}};r.__u++||32&t.__u||r.setState({__a:r.__b=r.__v.__k[0]}),e.then(a,a)},ap.prototype.componentWillUnmount=function(){this.o=[]},ap.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var i=document.createElement("div"),o=this.__v.__k[0].__c;this.__v.__k[0]=ip(this.__b,i,o.__O=o.__P)}this.__b=null}var a=t.__a&&n(r,null,e.fallback);return a&&(a.__u&=-33),[n(r,null,t.__a?null:e.children),a]};var cp=function(e,t,n){if(++n[1]===n[0]&&e.l.delete(t),e.props.revealOrder&&("t"!==e.props.revealOrder[0]||!e.l.size))for(n=e.i;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;e.i=n=n[2]}};function up(e){return this.getChildContext=function(){return e.context},e.children}function dp(e){var t=this,r=e.h;if(t.componentWillUnmount=function(){o(null,t.v),t.v=null,t.h=null},t.h&&t.h!==r&&t.componentWillUnmount(),!t.v){for(var i=t.__v;null!==i&&!i.__m&&null!==i.__;)i=i.__;t.h=r,t.v={nodeType:1,parentNode:r,childNodes:[],__k:{__m:i.__m},contains:function(){return!0},insertBefore:function(e,n){this.childNodes.push(e),t.h.insertBefore(e,n)},removeChild:function(e){this.childNodes.splice(this.childNodes.indexOf(e)>>>1,1),t.h.removeChild(e)}}}o(n(up,{context:t.context},e.__v),t.v)}function fp(e,t){var r=n(dp,{__v:e,h:t});return r.containerInfo=t,r}(lp.prototype=new t).__a=function(e){var t=this,n=sp(t.__v),r=t.l.get(e);return r[0]++,function(i){var o=function(){t.props.revealOrder?(r.push(i),cp(t,e,r)):i()};n?n(o):o()}},lp.prototype.render=function(e){this.i=null,this.l=new Map;var t=i(e.children);e.revealOrder&&"b"===e.revealOrder[0]&&t.reverse();for(var n=t.length;n--;)this.l.set(t[n],this.i=[1,0,this.i]);return e.children},lp.prototype.componentDidUpdate=lp.prototype.componentDidMount=function(){var e=this;this.l.forEach((function(t,n){cp(e,n,t)}))};var hp="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,pp=/^(?: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]/,gp=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,mp=/[A-Z0-9]/g,vp="undefined"!=typeof document,bp=function(e){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/:/fil|che|ra/).test(e)};t.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach((function(e){Object.defineProperty(t.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})}));var yp=e.event;function _p(){}function xp(){return this.cancelBubble}function wp(){return this.defaultPrevented}e.event=function(e){return yp&&(e=yp(e)),e.persist=_p,e.isPropagationStopped=xp,e.isDefaultPrevented=wp,e.nativeEvent=e};var kp={enumerable:!1,configurable:!0,get:function(){return this.class}},Cp=e.vnode;e.vnode=function(e){"string"==typeof e.type&&function(e){var t=e.props,n=e.type,r={},o=-1===n.indexOf("-");for(var a in t){var s=t[a];if(!("value"===a&&"defaultValue"in t&&null==s||vp&&"children"===a&&"noscript"===n||"class"===a||"className"===a)){var l=a.toLowerCase();"defaultValue"===a&&"value"in t&&null==t.value?a="value":"download"===a&&!0===s?s="":"translate"===l&&"no"===s?s=!1:"o"===l[0]&&"n"===l[1]?"ondoubleclick"===l?a="ondblclick":"onchange"!==l||"input"!==n&&"textarea"!==n||bp(t.type)?"onfocus"===l?a="onfocusin":"onblur"===l?a="onfocusout":gp.test(a)&&(a=l):l=a="oninput":o&&pp.test(a)?a=a.replace(mp,"-$&").toLowerCase():null===s&&(s=void 0),"oninput"===l&&r[a=l]&&(a="oninputCapture"),r[a]=s}}"select"==n&&r.multiple&&Array.isArray(r.value)&&(r.value=i(t.children).forEach((function(e){e.props.selected=-1!=r.value.indexOf(e.props.value)}))),"select"==n&&null!=r.defaultValue&&(r.value=i(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",kp)):(t.className&&!t.class||t.class&&t.className)&&(r.class=r.className=t.className),e.props=r}(e),e.$$typeof=hp,Cp&&Cp(e)};var Ap=e.__r;e.__r=function(e){Ap&&Ap(e),e.__c};var Sp=e.diffed;function Mp(e){return function(e){return!!e&&e.$$typeof===hp}(e)?a.apply(null,arguments):e}e.diffed=function(e){Sp&&Sp(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 Ep={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 Lp=s(null),Tp=e=>{const{children:t,menuTrigger:n,menuTriggerWrapper:i="div",size:o="m",isInitialOpened:a=!1,placement:s="bottom-end",...d}=e,[f,h]=c(a),p=l(null),g=l(null);return u((()=>{const e=e=>{"Escape"===e.key&&f&&h(!1)};return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)}}),[f]),u((()=>{const e=e=>{f&&p.current&&(p.current.contains(e.target)||h(!1))};return f&&document.addEventListener("click",e),()=>{document.removeEventListener("click",e)}}),[f]),u((()=>{const e=()=>{(p.current||g.current)&&Nh(g.current,p.current,{placement:s,middleware:[Oh(6),Rh(),zh({padding:5})],strategy:"fixed"}).then((({x:e,y:t,strategy:n})=>{p.current&&Object.assign(p.current.style,{left:`${e}px`,top:`${t}px`,position:n,zIndex:1e3})}))};return e(),Fh(g.current,p.current,e)}),[p.current,g.current]),An(Lp.Provider,{value:{setIsOpened:h},children:An(r,{children:["function"==typeof n&&An(i,{ref:g,children:n({isOpened:f,onClick:()=>{h(!f)},setIsOpened:h})}),fp(An("div",{ref:p,...d,children:f&&An("aside",{className:ie(Ep.menu,Ep[`size-${o}`]),children:t})}),document.body)]})})};Tp.Section=e=>{const{children:t,...n}=e;return An("ul",{className:Ep.section,...n,children:t})},Tp.Section.displayName="Menu.Section";const Dp=e=>{const{setIsOpened:t}=(()=>{const e=f(Lp);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,dataTestId:l,...c}=e,u="function"==typeof r,d="string"==typeof i;return An("li",{className:Ep.menuListItem,...c,children:An(Ln,{"aria-label":a,type:"paragraph",size:"m",tag:u?"button":"div",className:ie(Ep.menuItem,u&&Ep.interactive),onClick:e=>{u&&s&&(e.stopPropagation(),t(!1)),u&&r?.()},"data-interactive-menu-item":!!u||void 0,"data-testid":l,children:[d&&An(Mn,{id:i,className:Ep.leadingIcon,size:"m"}),An("div",{className:Ep.content,children:n}),o&&An("div",{className:Ep.right,children:o})]})})};(Tp.Item=Dp).displayName="Menu.Item";(Tp.ItemWithCheckmark=e=>{const{isChecked:t=!1,...n}=e;return An(Dp,{...n,rightSlot:t&&An(Mn,{className:Ep.checkmarkIcon,id:Ot.id})})}).displayName="Menu.ItemWithCheckmark";var Fp={"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 Op=({isOpened:e,buttonSize:t="m",iconSize:n="xs",tag:r="button",className:i,icon:o=Sn.lineArrowsChevronDown,onClick:a,...s})=>An(r,{...s,className:ie(Fp["arrow-button"],Fp[`arrow-button-${t}`]),onClick:a,children:An(Mn,{id:o,size:n,className:ie({[Fp["arrow-button-icon--opened"]]:e},Fp["arrow-button-icon"],Fp[`icon-size-${n}`],i)})});var zp="styles_container__9IMGc",Rp="styles_title__wOjPO",Np="styles_description__Idyva",Pp="styles_textContainer__AznFB",Ip="styles_emptyIcon__QSADI";const Bp={s:"s",m:"m",xs:"xs"},jp=e=>{const{children:t,description:n,title:r,icon:i,iconColor:o,fullHeight:a=!0,size:s="m",className:l,iconClassName:c,border:u=!1}=e;return An("div",{"data-size":s,"data-full-height":a||void 0,"data-border":u||void 0,className:ie(zp,l),children:[!!i&&An(Mn,{id:i,className:ie(Ip,c),"data-size":Bp[s],"data-color":o}),An("div",{className:Pp,children:[r&&An(Ln,{tag:"b",size:"s"===s?"m":"l",bold:!0,className:Rp,children:r}),!!n&&An(Ln,{tag:"p",size:"m",className:Np,children:n})]}),t]})},Wp={js:"javascript",mjs:"javascript",cjs:"javascript",ts:"typescript",mts:"typescript",cts:"typescript",tsx:"typescript",jsx:"javascript",json:"json",html:"markup",htm:"markup",xml:"markup",css:"css",csv:"csv",md:"markdown"},Hp={"text/javascript":"javascript","application/javascript":"javascript","text/x-javascript":"javascript","application/x-javascript":"javascript","text/ecmascript":"javascript","application/ecmascript":"javascript","text/typescript":"typescript","application/typescript":"typescript","text/x-typescript":"typescript","application/x-typescript":"typescript","application/json":"json","text/json":"json","text/html":"markup","application/xml":"markup","text/xml":"markup","text/css":"css","text/csv":"csv","text/markdown":"markdown"},qp=e=>e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;"),$p=e=>{if(!e)return;const t=/\.([a-z0-9]+)$/i.exec(e);if(!t)return;const n=t[1].toLowerCase();return Wp[n]??n},Up=e=>{const{attachment:t,item:n,highlight:r=!0}=e;if(!t||!("text"in t))return null;const i=n?.link?.ext?.replace(".","").toLowerCase(),o=n?.link?.contentType?.toLowerCase(),a=($p(n?.link?.name)??$p(n?.link?.originalFileName))||i&&(Wp[i]??i)||o&&Hp[o]||"plaintext",s=t.text??"",l=((e,t)=>"markdown"!==e&&t.split("\n").length>=5)(a,s),c=h((()=>["attachment-code-block",r?`language-${a}`:"",r&&l?"line-numbers":""].filter(Boolean).join(" ")),[r,a,l]),u=h((()=>r?((e,t)=>{const n=Y.languages[t];if(!n)return qp(e);try{return Y.highlight(e,n,t)}catch{return qp(e)}})(s,a):null),[r,s,a]);if((e=>"string"==typeof e&&new RegExp(eu).test(e))(s)&&s.length>0&&r){const e=((e,t)=>new Qc({escapeXML:!0,...t}).toHtml(e))
18
18
  /*! @license DOMPurify 3.4.0 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.4.0/LICENSE */((e=>e.replace(/\x1b\[([0-9;]*)m/g,((e,t)=>{const n=0===t.length?[0]:t.split(";").map(Number);if(n.some((e=>!Number.isInteger(e))))return e;const r=[];let i=[];const o=()=>{i.length>0&&(r.push(`[${i.join(";")}m`),i=[])};for(let e=0;e<n.length;){const t=n[e];if(38===t&&5===n[e+1]&&hu(n[e+2])){const t=fu(n[e+2]);o(),r.push(`[38;5;${t?du(t.red,t.green,t.blue):tu}m`),e+=3}else 38===t&&2===n[e+1]&&hu(n[e+2])&&hu(n[e+3])&&hu(n[e+4])?(o(),r.push(`[38;5;${du(n[e+2],n[e+3],n[e+4])}m`),e+=5):48===t&&5===n[e+1]&&hu(n[e+2])?(o(),r.push(`[48;5;${n[e+2]}m`),e+=3):48===t&&2===n[e+1]&&hu(n[e+2])&&hu(n[e+3])&&hu(n[e+4])?(o(),r.push(`[48;2;${n[e+2]};${n[e+3]};${n[e+4]}m`),e+=5):(i.push(t),e+=1)}return o(),r.join("")})))(s),{fg:"var(--color-text-primary)",bg:"none",colors:cu});return An("pre",{"data-testid":"code-attachment-content",className:c,dangerouslySetInnerHTML:{__html:e}})}return An("pre",{"data-testid":"code-attachment-content",className:c,children:An("code",r&&null!==u?{className:`language-${a}`,dangerouslySetInnerHTML:{__html:u}}:{children:s})})};var Vp={"test-result-steps":"styles_test-result-steps__sOCjB","test-result-steps-root":"styles_test-result-steps-root__sw3Gc","test-result-step":"styles_test-result-step__35uMx","test-result-step-content":"styles_test-result-step-content__ok1gg","test-result-attachment-content":"styles_test-result-attachment-content__GK-nn","test-result-attachment-content-wrapper":"styles_test-result-attachment-content-wrapper__-tpyD","test-result-step-root":"styles_test-result-step-root__dJBld","test-result-step-header":"styles_test-result-step-header__AdqlU","test-result-header-text":"styles_test-result-header-text__UL3Vx","test-result-step-button":"styles_test-result-step-button__wMGEX","test-result-step-number":"styles_test-result-step-number__-Kxim","item-time":"styles_item-time__B9zAy","item-info":"styles_item-info__Irg-g","item-buttons":"styles_item-buttons__hDiWx","item-info-step":"styles_item-info-step__pbKYR","item-info-step-icon":"styles_item-info-step-icon__b2X2T","test-result-step-chevron":"styles_test-result-step-chevron__jHjsv","test-result-step-chevron-open":"styles_test-result-step-chevron-open__J-kYO","test-result-attachment-header":"styles_test-result-attachment-header__rKSDD","test-result-attachment-arrow":"styles_test-result-attachment-arrow__pBXKy","test-result-attachment-arrow-opened":"styles_test-result-attachment-arrow-opened__bQwvt","test-result-attachment-icon":"styles_test-result-attachment-icon__1-cz7","test-result-attachment-text":"styles_test-result-attachment-text__GCEOM","test-result-attachment-image":"styles_test-result-attachment-image__sJpWk","test-result-parameters":"styles_test-result-parameters__g-ocp","attachment-background":"styles_attachment-background__NFtHv","test-result-attachment-error":"styles_test-result-attachment-error__od2Zn","test-result-visibility-hidden":"styles_test-result-visibility-hidden__McZKz","item-button":"styles_item-button__RIUAE","wrong-attachment-sign":"styles_wrong-attachment-sign__j-rkc","test-result-attachment-missed":"styles_test-result-attachment-missed__lCOi2","test-result-spinner":"styles_test-result-spinner__B3aF3","test-result-strut":"styles_test-result-strut__4dCuX",attachmentViewStack:"styles_attachmentViewStack__QMID9",attachmentViewPane:"styles_attachmentViewPane__NSDfM","html-attachment-preview":"styles_html-attachment-preview__0-kmL","markdown-attachment-preview":"styles_markdown-attachment-preview__KbomT","test-result-attachment-video":"styles_test-result-attachment-video__251vv",imageDiffWrapper:"styles_imageDiffWrapper__5nf3F","http-attachment":"styles_http-attachment__MwNPR","http-attachment__summary":"styles_http-attachment__summary__j4KBC","http-attachment__method":"styles_http-attachment__method__khW0H","http-attachment__status":"styles_http-attachment__status__7YleG","http-attachment__duration":"styles_http-attachment__duration__mRA-O","http-attachment__version":"styles_http-attachment__version__RiibR","http-attachment__meta-chip":"styles_http-attachment__meta-chip__FgwKj","http-attachment__url":"styles_http-attachment__url__hC-FR","http-attachment__exchange-arrow":"styles_http-attachment__exchange-arrow__Q-T6s","http-attachment__panel":"styles_http-attachment__panel__FfHPJ","http-attachment__panel--error":"styles_http-attachment__panel--error__idRf7","http-attachment__panel-header":"styles_http-attachment__panel-header__EF9do","http-attachment__panel-title":"styles_http-attachment__panel-title__S-PvX","http-attachment__panel-line":"styles_http-attachment__panel-line__LKOl0","http-attachment__meta":"styles_http-attachment__meta__YpflO","http-attachment__meta-row":"styles_http-attachment__meta-row__FBPl5","http-attachment__label":"styles_http-attachment__label__Wi2fO","http-attachment__pair-name":"styles_http-attachment__pair-name__PkJ0C","http-attachment__table":"styles_http-attachment__table__IcWko","http-attachment__value":"styles_http-attachment__value__DNu-l","http-attachment__groups":"styles_http-attachment__groups__Upae-","http-attachment__group":"styles_http-attachment__group__5W7pg","http-attachment__group--body":"styles_http-attachment__group--body__IsEW7","http-attachment__group-summary":"styles_http-attachment__group-summary__wGEc6","http-attachment__group-title":"styles_http-attachment__group-title__4yZ03","http-attachment__group-content":"styles_http-attachment__group-content__zCrxO","http-attachment__cookie-attrs":"styles_http-attachment__cookie-attrs__YQ5-9","http-attachment__masked-value":"styles_http-attachment__masked-value__JzhET","http-attachment__part-list":"styles_http-attachment__part-list__DxTbx","http-attachment__part-card":"styles_http-attachment__part-card__J6naV","http-attachment__part-card-header":"styles_http-attachment__part-card-header__LbkDL","http-attachment__part-title":"styles_http-attachment__part-title__b3BWO","http-attachment__part-section":"styles_http-attachment__part-section__8CGF7","http-attachment__part-section-title":"styles_http-attachment__part-section-title__K1Vpw","http-attachment__part-header-list":"styles_http-attachment__part-header-list__dOGyN","http-attachment__part-header-row":"styles_http-attachment__part-header-row__W-bvy","http-attachment__part-header-name":"styles_http-attachment__part-header-name__eteMA","http-attachment__part-header-value":"styles_http-attachment__part-header-value__3pQz4","http-attachment__part-value":"styles_http-attachment__part-value__x-Sxb","http-attachment__body":"styles_http-attachment__body__v14HL","http-attachment__body-toolbar":"styles_http-attachment__body-toolbar__oefh2","http-attachment__body-heading":"styles_http-attachment__body-heading__OQx6L","http-attachment__body-title":"styles_http-attachment__body-title__ZMQSW","http-attachment__meta-chips":"styles_http-attachment__meta-chips__dvc-6","http-attachment__body-actions":"styles_http-attachment__body-actions__F-FqP","http-attachment__body-action":"styles_http-attachment__body-action__PErGj","http-attachment__body-content":"styles_http-attachment__body-content__q0CG1","http-attachment__body-content--structured":"styles_http-attachment__body-content--structured__-9Khu","http-attachment__body-message":"styles_http-attachment__body-message__cdLDG","http-attachment__empty":"styles_http-attachment__empty__87Ms5"};const Gp=e=>{const{attachment:t,item:n}=e,[r,i]=c(!0);return u((()=>{if(t&&"img"in t&&t.img){const e=new Image;e.onload=()=>i(!0),e.onerror=()=>i(!1),e.src=t.img}}),[t]),An("div",t&&"img"in t&&r?{"data-testid":"image-attachment-content",className:Vp["test-result-attachment-image"],children:An("img",{src:t.img,alt:n.link.originalFileName})}:{className:Vp["test-result-attachment-error"],children:"something went wrong"})};var Yp="styles_list__pI3IS",Zp="styles_tab__nrjgs";const Xp=s(null),Kp=e=>{const{children:t,initialTab:n}=e,r=m(n),i=d((e=>{r.value=e}),[r]);return An(Xp.Provider,{value:{currentTab:r,setCurrentTab:i},children:t})},Jp=e=>An(Kp,{...e}),Qp=e=>An("div",{className:Yp,children:e.children}),eg=e=>{const{currentTab:t,setCurrentTab:n}=(()=>{const e=f(Xp);if(!e)throw new Error("NavTabs components must be used within a NavTabs component");return e})(),r=g((()=>t.value===e.tabId)),{tabId:i,children:o,onClick:a,testId:s,isCurrentTab:l=r.value}=e;return An("button",{className:Zp,onClick:()=>{if(!l)return a?a():void n(i)},"data-testid":s||`tab-${i}`,"aria-current":l||void 0,children:An(Ln,{type:"paragraph",size:"m",bold:l,children:o})})};var tg,ng={exports:{}},rg=ng.exports;var ig=(tg||(tg=1,function(e,t){(function(){var n,r="Expected a function",i="__lodash_hash_undefined__",o="__lodash_placeholder__",a=32,s=128,l=256,c=1/0,u=9007199254740991,d=NaN,f=4294967295,h=[["ary",s],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",a],["partialRight",64],["rearg",l]],p="[object Arguments]",g="[object Array]",m="[object Boolean]",v="[object Date]",b="[object Error]",y="[object Function]",_="[object GeneratorFunction]",x="[object Map]",w="[object Number]",k="[object Object]",C="[object Promise]",A="[object RegExp]",S="[object Set]",M="[object String]",E="[object Symbol]",L="[object WeakMap]",T="[object ArrayBuffer]",D="[object DataView]",F="[object Float32Array]",O="[object Float64Array]",z="[object Int8Array]",R="[object Int16Array]",N="[object Int32Array]",P="[object Uint8Array]",I="[object Uint8ClampedArray]",j="[object Uint16Array]",W="[object Uint32Array]",H=/\b__p \+= '';/g,q=/\b(__p \+=) '' \+/g,$=/(__e\(.*?\)|\b__t\)) \+\n'';/g,U=/&(?:amp|lt|gt|quot|#39);/g,V=/[&<>"']/g,G=RegExp(U.source),Y=RegExp(V.source),Z=/<%-([\s\S]+?)%>/g,X=/<%([\s\S]+?)%>/g,K=/<%=([\s\S]+?)%>/g,J=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Q=/^\w*$/,ee=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,te=/[\\^$.*+?()[\]{}|]/g,ne=RegExp(te.source),re=/^\s+/,ie=/\s/,oe=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ae=/\{\n\/\* \[wrapped with (.+)\] \*/,se=/,? & /,le=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,ce=/[()=,{}\[\]\/\s]/,ue=/\\(\\)?/g,de=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,fe=/\w*$/,he=/^[-+]0x[0-9a-f]+$/i,pe=/^0b[01]+$/i,ge=/^\[object .+?Constructor\]$/,me=/^0o[0-7]+$/i,ve=/^(?:0|[1-9]\d*)$/,be=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,ye=/($^)/,_e=/['\n\r\u2028\u2029\\]/g,xe="\\ud800-\\udfff",we="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",ke="\\u2700-\\u27bf",Ce="a-z\\xdf-\\xf6\\xf8-\\xff",Ae="A-Z\\xc0-\\xd6\\xd8-\\xde",Se="\\ufe0e\\ufe0f",Me="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Ee="['’]",Le="["+xe+"]",Te="["+Me+"]",De="["+we+"]",Fe="\\d+",Oe="["+ke+"]",ze="["+Ce+"]",Re="[^"+xe+Me+Fe+ke+Ce+Ae+"]",Ne="\\ud83c[\\udffb-\\udfff]",Pe="[^"+xe+"]",Ie="(?:\\ud83c[\\udde6-\\uddff]){2}",Be="[\\ud800-\\udbff][\\udc00-\\udfff]",je="["+Ae+"]",We="\\u200d",He="(?:"+ze+"|"+Re+")",qe="(?:"+je+"|"+Re+")",$e="(?:['’](?:d|ll|m|re|s|t|ve))?",Ue="(?:['’](?:D|LL|M|RE|S|T|VE))?",Ve="(?:"+De+"|"+Ne+")?",Ge="["+Se+"]?",Ye=Ge+Ve+"(?:"+We+"(?:"+[Pe,Ie,Be].join("|")+")"+Ge+Ve+")*",Ze="(?:"+[Oe,Ie,Be].join("|")+")"+Ye,Xe="(?:"+[Pe+De+"?",De,Ie,Be,Le].join("|")+")",Ke=RegExp(Ee,"g"),Je=RegExp(De,"g"),Qe=RegExp(Ne+"(?="+Ne+")|"+Xe+Ye,"g"),et=RegExp([je+"?"+ze+"+"+$e+"(?="+[Te,je,"$"].join("|")+")",qe+"+"+Ue+"(?="+[Te,je+He,"$"].join("|")+")",je+"?"+He+"+"+$e,je+"+"+Ue,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Fe,Ze].join("|"),"g"),tt=RegExp("["+We+xe+we+Se+"]"),nt=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,rt=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],it=-1,ot={};ot[F]=ot[O]=ot[z]=ot[R]=ot[N]=ot[P]=ot[I]=ot[j]=ot[W]=!0,ot[p]=ot[g]=ot[T]=ot[m]=ot[D]=ot[v]=ot[b]=ot[y]=ot[x]=ot[w]=ot[k]=ot[A]=ot[S]=ot[M]=ot[L]=!1;var at={};at[p]=at[g]=at[T]=at[D]=at[m]=at[v]=at[F]=at[O]=at[z]=at[R]=at[N]=at[x]=at[w]=at[k]=at[A]=at[S]=at[M]=at[E]=at[P]=at[I]=at[j]=at[W]=!0,at[b]=at[y]=at[L]=!1;var st={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},lt=parseFloat,ct=parseInt,ut="object"==typeof B&&B&&B.Object===Object&&B,dt="object"==typeof self&&self&&self.Object===Object&&self,ft=ut||dt||Function("return this")(),ht=t&&!t.nodeType&&t,pt=ht&&e&&!e.nodeType&&e,gt=pt&&pt.exports===ht,mt=gt&&ut.process,vt=function(){try{var e=pt&&pt.require&&pt.require("util").types;return e||mt&&mt.binding&&mt.binding("util")}catch(e){}}(),bt=vt&&vt.isArrayBuffer,yt=vt&&vt.isDate,_t=vt&&vt.isMap,xt=vt&&vt.isRegExp,wt=vt&&vt.isSet,kt=vt&&vt.isTypedArray;function Ct(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)}function At(e,t,n,r){for(var i=-1,o=null==e?0:e.length;++i<o;){var a=e[i];t(r,a,n(a),e)}return r}function St(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}function Mt(e,t){for(var n=null==e?0:e.length;n--&&!1!==t(e[n],n,e););return e}function Et(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(!t(e[n],n,e))return!1;return!0}function Lt(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}function Tt(e,t){return!(null==e||!e.length)&&jt(e,t,0)>-1}function Dt(e,t,n){for(var r=-1,i=null==e?0:e.length;++r<i;)if(n(t,e[r]))return!0;return!1}function Ft(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}function Ot(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}function zt(e,t,n,r){var i=-1,o=null==e?0:e.length;for(r&&o&&(n=e[++i]);++i<o;)n=t(n,e[i],i,e);return n}function Rt(e,t,n,r){var i=null==e?0:e.length;for(r&&i&&(n=e[--i]);i--;)n=t(n,e[i],i,e);return n}function Nt(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}var Pt=$t("length");function It(e,t,n){var r;return n(e,(function(e,n,i){if(t(e,n,i))return r=n,!1})),r}function Bt(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}function jt(e,t,n){return t==t?function(e,t,n){for(var r=n-1,i=e.length;++r<i;)if(e[r]===t)return r;return-1}(e,t,n):Bt(e,Ht,n)}function Wt(e,t,n,r){for(var i=n-1,o=e.length;++i<o;)if(r(e[i],t))return i;return-1}function Ht(e){return e!=e}function qt(e,t){var n=null==e?0:e.length;return n?Gt(e,t)/n:d}function $t(e){return function(t){return null==t?n:t[e]}}function Ut(e){return function(t){return null==e?n:e[t]}}function Vt(e,t,n,r,i){return i(e,(function(e,i,o){n=r?(r=!1,e):t(n,e,i,o)})),n}function Gt(e,t){for(var r,i=-1,o=e.length;++i<o;){var a=t(e[i]);a!==n&&(r=r===n?a:r+a)}return r}function Yt(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}function Zt(e){return e?e.slice(0,hn(e)+1).replace(re,""):e}function Xt(e){return function(t){return e(t)}}function Kt(e,t){return Ft(t,(function(t){return e[t]}))}function Jt(e,t){return e.has(t)}function Qt(e,t){for(var n=-1,r=e.length;++n<r&&jt(t,e[n],0)>-1;);return n}function en(e,t){for(var n=e.length;n--&&jt(t,e[n],0)>-1;);return n}var tn=Ut({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"}),nn=Ut({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"});function rn(e){return"\\"+st[e]}function on(e){return tt.test(e)}function an(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function sn(e,t){return function(n){return e(t(n))}}function ln(e,t){for(var n=-1,r=e.length,i=0,a=[];++n<r;){var s=e[n];s!==t&&s!==o||(e[n]=o,a[i++]=n)}return a}function cn(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}function un(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=[e,e]})),n}function dn(e){return on(e)?function(e){for(var t=Qe.lastIndex=0;Qe.test(e);)++t;return t}(e):Pt(e)}function fn(e){return on(e)?function(e){return e.match(Qe)||[]}(e):function(e){return e.split("")}(e)}function hn(e){for(var t=e.length;t--&&ie.test(e.charAt(t)););return t}var pn=Ut({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"}),gn=function e(t){var B,ie=(t=null==t?ft:gn.defaults(ft.Object(),t,gn.pick(ft,rt))).Array,xe=t.Date,we=t.Error,ke=t.Function,Ce=t.Math,Ae=t.Object,Se=t.RegExp,Me=t.String,Ee=t.TypeError,Le=ie.prototype,Te=ke.prototype,De=Ae.prototype,Fe=t["__core-js_shared__"],Oe=Te.toString,ze=De.hasOwnProperty,Re=0,Ne=(B=/[^.]+$/.exec(Fe&&Fe.keys&&Fe.keys.IE_PROTO||""))?"Symbol(src)_1."+B:"",Pe=De.toString,Ie=Oe.call(Ae),Be=ft._,je=Se("^"+Oe.call(ze).replace(te,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),We=gt?t.Buffer:n,He=t.Symbol,qe=t.Uint8Array,$e=We?We.allocUnsafe:n,Ue=sn(Ae.getPrototypeOf,Ae),Ve=Ae.create,Ge=De.propertyIsEnumerable,Ye=Le.splice,Ze=He?He.isConcatSpreadable:n,Xe=He?He.iterator:n,Qe=He?He.toStringTag:n,tt=function(){try{var e=uo(Ae,"defineProperty");return e({},"",{}),e}catch(e){}}(),st=t.clearTimeout!==ft.clearTimeout&&t.clearTimeout,ut=xe&&xe.now!==ft.Date.now&&xe.now,dt=t.setTimeout!==ft.setTimeout&&t.setTimeout,ht=Ce.ceil,pt=Ce.floor,mt=Ae.getOwnPropertySymbols,vt=We?We.isBuffer:n,Pt=t.isFinite,Ut=Le.join,mn=sn(Ae.keys,Ae),vn=Ce.max,bn=Ce.min,yn=xe.now,_n=t.parseInt,xn=Ce.random,wn=Le.reverse,kn=uo(t,"DataView"),Cn=uo(t,"Map"),An=uo(t,"Promise"),Sn=uo(t,"Set"),Mn=uo(t,"WeakMap"),En=uo(Ae,"create"),Ln=Mn&&new Mn,Tn={},Dn=Po(kn),Fn=Po(Cn),On=Po(An),zn=Po(Sn),Rn=Po(Mn),Nn=He?He.prototype:n,Pn=Nn?Nn.valueOf:n,In=Nn?Nn.toString:n;function Bn(e){if(es(e)&&!qa(e)&&!(e instanceof qn)){if(e instanceof Hn)return e;if(ze.call(e,"__wrapped__"))return Io(e)}return new Hn(e)}var jn=function(){function e(){}return function(t){if(!Qa(t))return{};if(Ve)return Ve(t);e.prototype=t;var r=new e;return e.prototype=n,r}}();function Wn(){}function Hn(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=n}function qn(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=f,this.__views__=[]}function $n(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])}}function Un(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])}}function Vn(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])}}function Gn(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new Vn;++t<n;)this.add(e[t])}function Yn(e){var t=this.__data__=new Un(e);this.size=t.size}function Zn(e,t){var n=qa(e),r=!n&&Ha(e),i=!n&&!r&&Ga(e),o=!n&&!r&&!i&&ls(e),a=n||r||i||o,s=a?Yt(e.length,Me):[],l=s.length;for(var c in e)!t&&!ze.call(e,c)||a&&("length"==c||i&&("offset"==c||"parent"==c)||o&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||bo(c,l))||s.push(c);return s}function Xn(e){var t=e.length;return t?e[Gr(0,t-1)]:n}function Kn(e,t){return zo(Ei(e),ar(t,0,e.length))}function Jn(e){return zo(Ei(e))}function Qn(e,t,r){(r!==n&&!Ba(e[t],r)||r===n&&!(t in e))&&ir(e,t,r)}function er(e,t,r){var i=e[t];ze.call(e,t)&&Ba(i,r)&&(r!==n||t in e)||ir(e,t,r)}function tr(e,t){for(var n=e.length;n--;)if(Ba(e[n][0],t))return n;return-1}function nr(e,t,n,r){return dr(e,(function(e,i,o){t(r,e,n(e),o)})),r}function rr(e,t){return e&&Li(t,Ts(t),e)}function ir(e,t,n){"__proto__"==t&&tt?tt(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function or(e,t){for(var r=-1,i=t.length,o=ie(i),a=null==e;++r<i;)o[r]=a?n:As(e,t[r]);return o}function ar(e,t,r){return e==e&&(r!==n&&(e=e<=r?e:r),t!==n&&(e=e>=t?e:t)),e}function sr(e,t,r,i,o,a){var s,l=1&t,c=2&t,u=4&t;if(r&&(s=o?r(e,i,o,a):r(e)),s!==n)return s;if(!Qa(e))return e;var d=qa(e);if(d){if(s=function(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&ze.call(e,"index")&&(n.index=e.index,n.input=e.input),n}(e),!l)return Ei(e,s)}else{var f=po(e),h=f==y||f==_;if(Ga(e))return wi(e,l);if(f==k||f==p||h&&!o){if(s=c||h?{}:mo(e),!l)return c?function(e,t){return Li(e,ho(e),t)}(e,function(e,t){return e&&Li(t,Ds(t),e)}(s,e)):function(e,t){return Li(e,fo(e),t)}(e,rr(s,e))}else{if(!at[f])return o?e:{};s=function(e,t,n){var r=e.constructor;switch(t){case T:return ki(e);case m:case v:return new r(+e);case D:return function(e,t){var n=t?ki(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case F:case O:case z:case R:case N:case P:case I:case j:case W:return Ci(e,n);case x:return new r;case w:case M:return new r(e);case A:return function(e){var t=new e.constructor(e.source,fe.exec(e));return t.lastIndex=e.lastIndex,t}(e);case S:return new r;case E:return function(e){return Pn?Ae(Pn.call(e)):{}}(e)}}(e,f,l)}}a||(a=new Yn);var g=a.get(e);if(g)return g;a.set(e,s),os(e)?e.forEach((function(n){s.add(sr(n,t,r,n,e,a))})):ts(e)&&e.forEach((function(n,i){s.set(i,sr(n,t,r,i,e,a))}));var b=d?n:(u?c?ro:no:c?Ds:Ts)(e);return St(b||e,(function(n,i){b&&(n=e[i=n]),er(s,i,sr(n,t,r,i,e,a))})),s}function lr(e,t,r){var i=r.length;if(null==e)return!i;for(e=Ae(e);i--;){var o=r[i],a=t[o],s=e[o];if(s===n&&!(o in e)||!a(s))return!1}return!0}function cr(e,t,i){if("function"!=typeof e)throw new Ee(r);return To((function(){e.apply(n,i)}),t)}function ur(e,t,n,r){var i=-1,o=Tt,a=!0,s=e.length,l=[],c=t.length;if(!s)return l;n&&(t=Ft(t,Xt(n))),r?(o=Dt,a=!1):t.length>=200&&(o=Jt,a=!1,t=new Gn(t));e:for(;++i<s;){var u=e[i],d=null==n?u:n(u);if(u=r||0!==u?u:0,a&&d==d){for(var f=c;f--;)if(t[f]===d)continue e;l.push(u)}else o(t,d,r)||l.push(u)}return l}Bn.templateSettings={escape:Z,evaluate:X,interpolate:K,variable:"",imports:{_:Bn}},Bn.prototype=Wn.prototype,Bn.prototype.constructor=Bn,Hn.prototype=jn(Wn.prototype),Hn.prototype.constructor=Hn,qn.prototype=jn(Wn.prototype),qn.prototype.constructor=qn,$n.prototype.clear=function(){this.__data__=En?En(null):{},this.size=0},$n.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},$n.prototype.get=function(e){var t=this.__data__;if(En){var r=t[e];return r===i?n:r}return ze.call(t,e)?t[e]:n},$n.prototype.has=function(e){var t=this.__data__;return En?t[e]!==n:ze.call(t,e)},$n.prototype.set=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=En&&t===n?i:t,this},Un.prototype.clear=function(){this.__data__=[],this.size=0},Un.prototype.delete=function(e){var t=this.__data__,n=tr(t,e);return!(n<0||(n==t.length-1?t.pop():Ye.call(t,n,1),--this.size,0))},Un.prototype.get=function(e){var t=this.__data__,r=tr(t,e);return r<0?n:t[r][1]},Un.prototype.has=function(e){return tr(this.__data__,e)>-1},Un.prototype.set=function(e,t){var n=this.__data__,r=tr(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},Vn.prototype.clear=function(){this.size=0,this.__data__={hash:new $n,map:new(Cn||Un),string:new $n}},Vn.prototype.delete=function(e){var t=lo(this,e).delete(e);return this.size-=t?1:0,t},Vn.prototype.get=function(e){return lo(this,e).get(e)},Vn.prototype.has=function(e){return lo(this,e).has(e)},Vn.prototype.set=function(e,t){var n=lo(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},Gn.prototype.add=Gn.prototype.push=function(e){return this.__data__.set(e,i),this},Gn.prototype.has=function(e){return this.__data__.has(e)},Yn.prototype.clear=function(){this.__data__=new Un,this.size=0},Yn.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},Yn.prototype.get=function(e){return this.__data__.get(e)},Yn.prototype.has=function(e){return this.__data__.has(e)},Yn.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Un){var r=n.__data__;if(!Cn||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Vn(r)}return n.set(e,t),this.size=n.size,this};var dr=Fi(yr),fr=Fi(_r,!0);function hr(e,t){var n=!0;return dr(e,(function(e,r,i){return n=!!t(e,r,i)})),n}function pr(e,t,r){for(var i=-1,o=e.length;++i<o;){var a=e[i],s=t(a);if(null!=s&&(l===n?s==s&&!ss(s):r(s,l)))var l=s,c=a}return c}function gr(e,t){var n=[];return dr(e,(function(e,r,i){t(e,r,i)&&n.push(e)})),n}function mr(e,t,n,r,i){var o=-1,a=e.length;for(n||(n=vo),i||(i=[]);++o<a;){var s=e[o];t>0&&n(s)?t>1?mr(s,t-1,n,r,i):Ot(i,s):r||(i[i.length]=s)}return i}var vr=Oi(),br=Oi(!0);function yr(e,t){return e&&vr(e,t,Ts)}function _r(e,t){return e&&br(e,t,Ts)}function xr(e,t){return Lt(t,(function(t){return Xa(e[t])}))}function wr(e,t){for(var r=0,i=(t=bi(t,e)).length;null!=e&&r<i;)e=e[No(t[r++])];return r&&r==i?e:n}function kr(e,t,n){var r=t(e);return qa(e)?r:Ot(r,n(e))}function Cr(e){return null==e?e===n?"[object Undefined]":"[object Null]":Qe&&Qe in Ae(e)?function(e){var t=ze.call(e,Qe),r=e[Qe];try{e[Qe]=n;var i=!0}catch(e){}var o=Pe.call(e);return i&&(t?e[Qe]=r:delete e[Qe]),o}(e):function(e){return Pe.call(e)}(e)}function Ar(e,t){return e>t}function Sr(e,t){return null!=e&&ze.call(e,t)}function Mr(e,t){return null!=e&&t in Ae(e)}function Er(e,t,r){for(var i=r?Dt:Tt,o=e[0].length,a=e.length,s=a,l=ie(a),c=1/0,u=[];s--;){var d=e[s];s&&t&&(d=Ft(d,Xt(t))),c=bn(d.length,c),l[s]=!r&&(t||o>=120&&d.length>=120)?new Gn(s&&d):n}d=e[0];var f=-1,h=l[0];e:for(;++f<o&&u.length<c;){var p=d[f],g=t?t(p):p;if(p=r||0!==p?p:0,!(h?Jt(h,g):i(u,g,r))){for(s=a;--s;){var m=l[s];if(!(m?Jt(m,g):i(e[s],g,r)))continue e}h&&h.push(g),u.push(p)}}return u}function Lr(e,t,r){var i=null==(e=Mo(e,t=bi(t,e)))?e:e[No(Zo(t))];return null==i?n:Ct(i,e,r)}function Tr(e){return es(e)&&Cr(e)==p}function Dr(e,t,r,i,o){return e===t||(null==e||null==t||!es(e)&&!es(t)?e!=e&&t!=t:function(e,t,r,i,o,a){var s=qa(e),l=qa(t),c=s?g:po(e),u=l?g:po(t),d=(c=c==p?k:c)==k,f=(u=u==p?k:u)==k,h=c==u;if(h&&Ga(e)){if(!Ga(t))return!1;s=!0,d=!1}if(h&&!d)return a||(a=new Yn),s||ls(e)?eo(e,t,r,i,o,a):function(e,t,n,r,i,o,a){switch(n){case D:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case T:return!(e.byteLength!=t.byteLength||!o(new qe(e),new qe(t)));case m:case v:case w:return Ba(+e,+t);case b:return e.name==t.name&&e.message==t.message;case A:case M:return e==t+"";case x:var s=an;case S:var l=1&r;if(s||(s=cn),e.size!=t.size&&!l)return!1;var c=a.get(e);if(c)return c==t;r|=2,a.set(e,t);var u=eo(s(e),s(t),r,i,o,a);return a.delete(e),u;case E:if(Pn)return Pn.call(e)==Pn.call(t)}return!1}(e,t,c,r,i,o,a);if(!(1&r)){var y=d&&ze.call(e,"__wrapped__"),_=f&&ze.call(t,"__wrapped__");if(y||_){var C=y?e.value():e,L=_?t.value():t;return a||(a=new Yn),o(C,L,r,i,a)}}return!!h&&(a||(a=new Yn),function(e,t,r,i,o,a){var s=1&r,l=no(e),c=l.length,u=no(t),d=u.length;if(c!=d&&!s)return!1;for(var f=c;f--;){var h=l[f];if(!(s?h in t:ze.call(t,h)))return!1}var p=a.get(e),g=a.get(t);if(p&&g)return p==t&&g==e;var m=!0;a.set(e,t),a.set(t,e);for(var v=s;++f<c;){var b=e[h=l[f]],y=t[h];if(i)var _=s?i(y,b,h,t,e,a):i(b,y,h,e,t,a);if(!(_===n?b===y||o(b,y,r,i,a):_)){m=!1;break}v||(v="constructor"==h)}if(m&&!v){var x=e.constructor,w=t.constructor;x==w||!("constructor"in e)||!("constructor"in t)||"function"==typeof x&&x instanceof x&&"function"==typeof w&&w instanceof w||(m=!1)}return a.delete(e),a.delete(t),m}(e,t,r,i,o,a))}(e,t,r,i,Dr,o))}function Fr(e,t,r,i){var o=r.length,a=o,s=!i;if(null==e)return!a;for(e=Ae(e);o--;){var l=r[o];if(s&&l[2]?l[1]!==e[l[0]]:!(l[0]in e))return!1}for(;++o<a;){var c=(l=r[o])[0],u=e[c],d=l[1];if(s&&l[2]){if(u===n&&!(c in e))return!1}else{var f=new Yn;if(i)var h=i(u,d,c,e,t,f);if(!(h===n?Dr(d,u,3,i,f):h))return!1}}return!0}function Or(e){return!(!Qa(e)||(t=e,Ne&&Ne in t))&&(Xa(e)?je:ge).test(Po(e));var t}function zr(e){return"function"==typeof e?e:null==e?nl:"object"==typeof e?qa(e)?jr(e[0],e[1]):Br(e):dl(e)}function Rr(e){if(!ko(e))return mn(e);var t=[];for(var n in Ae(e))ze.call(e,n)&&"constructor"!=n&&t.push(n);return t}function Nr(e){if(!Qa(e))return function(e){var t=[];if(null!=e)for(var n in Ae(e))t.push(n);return t}(e);var t=ko(e),n=[];for(var r in e)("constructor"!=r||!t&&ze.call(e,r))&&n.push(r);return n}function Pr(e,t){return e<t}function Ir(e,t){var n=-1,r=Ua(e)?ie(e.length):[];return dr(e,(function(e,i,o){r[++n]=t(e,i,o)})),r}function Br(e){var t=co(e);return 1==t.length&&t[0][2]?Ao(t[0][0],t[0][1]):function(n){return n===e||Fr(n,e,t)}}function jr(e,t){return _o(e)&&Co(t)?Ao(No(e),t):function(r){var i=As(r,e);return i===n&&i===t?Ss(r,e):Dr(t,i,3)}}function Wr(e,t,r,i,o){e!==t&&vr(t,(function(a,s){if(o||(o=new Yn),Qa(a))!function(e,t,r,i,o,a,s){var l=Eo(e,r),c=Eo(t,r),u=s.get(c);if(u)Qn(e,r,u);else{var d=a?a(l,c,r+"",e,t,s):n,f=d===n;if(f){var h=qa(c),p=!h&&Ga(c),g=!h&&!p&&ls(c);d=c,h||p||g?qa(l)?d=l:Va(l)?d=Ei(l):p?(f=!1,d=wi(c,!0)):g?(f=!1,d=Ci(c,!0)):d=[]:rs(c)||Ha(c)?(d=l,Ha(l)?d=ms(l):Qa(l)&&!Xa(l)||(d=mo(c))):f=!1}f&&(s.set(c,d),o(d,c,i,a,s),s.delete(c)),Qn(e,r,d)}}(e,t,s,r,Wr,i,o);else{var l=i?i(Eo(e,s),a,s+"",e,t,o):n;l===n&&(l=a),Qn(e,s,l)}}),Ds)}function Hr(e,t){var r=e.length;if(r)return bo(t+=t<0?r:0,r)?e[t]:n}function qr(e,t,n){t=t.length?Ft(t,(function(e){return qa(e)?function(t){return wr(t,1===e.length?e[0]:e)}:e})):[nl];var r=-1;t=Ft(t,Xt(so()));var i=Ir(e,(function(e,n,i){var o=Ft(t,(function(t){return t(e)}));return{criteria:o,index:++r,value:e}}));return function(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}(i,(function(e,t){return function(e,t,n){for(var r=-1,i=e.criteria,o=t.criteria,a=i.length,s=n.length;++r<a;){var l=Ai(i[r],o[r]);if(l)return r>=s?l:l*("desc"==n[r]?-1:1)}return e.index-t.index}(e,t,n)}))}function $r(e,t,n){for(var r=-1,i=t.length,o={};++r<i;){var a=t[r],s=wr(e,a);n(s,a)&&Jr(o,bi(a,e),s)}return o}function Ur(e,t,n,r){var i=r?Wt:jt,o=-1,a=t.length,s=e;for(e===t&&(t=Ei(t)),n&&(s=Ft(e,Xt(n)));++o<a;)for(var l=0,c=t[o],u=n?n(c):c;(l=i(s,u,l,r))>-1;)s!==e&&Ye.call(s,l,1),Ye.call(e,l,1);return e}function Vr(e,t){for(var n=e?t.length:0,r=n-1;n--;){var i=t[n];if(n==r||i!==o){var o=i;bo(i)?Ye.call(e,i,1):ui(e,i)}}return e}function Gr(e,t){return e+pt(xn()*(t-e+1))}function Yr(e,t){var n="";if(!e||t<1||t>u)return n;do{t%2&&(n+=e),(t=pt(t/2))&&(e+=e)}while(t);return n}function Zr(e,t){return Do(So(e,t,nl),e+"")}function Xr(e){return Xn(Bs(e))}function Kr(e,t){var n=Bs(e);return zo(n,ar(t,0,n.length))}function Jr(e,t,r,i){if(!Qa(e))return e;for(var o=-1,a=(t=bi(t,e)).length,s=a-1,l=e;null!=l&&++o<a;){var c=No(t[o]),u=r;if("__proto__"===c||"constructor"===c||"prototype"===c)return e;if(o!=s){var d=l[c];(u=i?i(d,c,l):n)===n&&(u=Qa(d)?d:bo(t[o+1])?[]:{})}er(l,c,u),l=l[c]}return e}var Qr=Ln?function(e,t){return Ln.set(e,t),e}:nl,ei=tt?function(e,t){return tt(e,"toString",{configurable:!0,enumerable:!1,value:Qs(t),writable:!0})}:nl;function ti(e){return zo(Bs(e))}function ni(e,t,n){var r=-1,i=e.length;t<0&&(t=-t>i?0:i+t),(n=n>i?i:n)<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var o=ie(i);++r<i;)o[r]=e[r+t];return o}function ri(e,t){var n;return dr(e,(function(e,r,i){return!(n=t(e,r,i))})),!!n}function ii(e,t,n){var r=0,i=null==e?r:e.length;if("number"==typeof t&&t==t&&i<=2147483647){for(;r<i;){var o=r+i>>>1,a=e[o];null!==a&&!ss(a)&&(n?a<=t:a<t)?r=o+1:i=o}return i}return oi(e,t,nl,n)}function oi(e,t,r,i){var o=0,a=null==e?0:e.length;if(0===a)return 0;for(var s=(t=r(t))!=t,l=null===t,c=ss(t),u=t===n;o<a;){var d=pt((o+a)/2),f=r(e[d]),h=f!==n,p=null===f,g=f==f,m=ss(f);if(s)var v=i||g;else v=u?g&&(i||h):l?g&&h&&(i||!p):c?g&&h&&!p&&(i||!m):!p&&!m&&(i?f<=t:f<t);v?o=d+1:a=d}return bn(a,4294967294)}function ai(e,t){for(var n=-1,r=e.length,i=0,o=[];++n<r;){var a=e[n],s=t?t(a):a;if(!n||!Ba(s,l)){var l=s;o[i++]=0===a?0:a}}return o}function si(e){return"number"==typeof e?e:ss(e)?d:+e}function li(e){if("string"==typeof e)return e;if(qa(e))return Ft(e,li)+"";if(ss(e))return In?In.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function ci(e,t,n){var r=-1,i=Tt,o=e.length,a=!0,s=[],l=s;if(n)a=!1,i=Dt;else if(o>=200){var c=t?null:Yi(e);if(c)return cn(c);a=!1,i=Jt,l=new Gn}else l=t?[]:s;e:for(;++r<o;){var u=e[r],d=t?t(u):u;if(u=n||0!==u?u:0,a&&d==d){for(var f=l.length;f--;)if(l[f]===d)continue e;t&&l.push(d),s.push(u)}else i(l,d,n)||(l!==s&&l.push(d),s.push(u))}return s}function ui(e,t){var n=-1,r=(t=bi(t,e)).length;if(!r)return!0;for(;++n<r;){var i=No(t[n]);if("__proto__"===i&&!ze.call(e,"__proto__"))return!1;if(("constructor"===i||"prototype"===i)&&n<r-1)return!1}var o=Mo(e,t);return null==o||delete o[No(Zo(t))]}function di(e,t,n,r){return Jr(e,t,n(wr(e,t)),r)}function fi(e,t,n,r){for(var i=e.length,o=r?i:-1;(r?o--:++o<i)&&t(e[o],o,e););return n?ni(e,r?0:o,r?o+1:i):ni(e,r?o+1:0,r?i:o)}function hi(e,t){var n=e;return n instanceof qn&&(n=n.value()),zt(t,(function(e,t){return t.func.apply(t.thisArg,Ot([e],t.args))}),n)}function pi(e,t,n){var r=e.length;if(r<2)return r?ci(e[0]):[];for(var i=-1,o=ie(r);++i<r;)for(var a=e[i],s=-1;++s<r;)s!=i&&(o[i]=ur(o[i]||a,e[s],t,n));return ci(mr(o,1),t,n)}function gi(e,t,r){for(var i=-1,o=e.length,a=t.length,s={};++i<o;){var l=i<a?t[i]:n;r(s,e[i],l)}return s}function mi(e){return Va(e)?e:[]}function vi(e){return"function"==typeof e?e:nl}function bi(e,t){return qa(e)?e:_o(e,t)?[e]:Ro(vs(e))}var yi=Zr;function _i(e,t,r){var i=e.length;return r=r===n?i:r,!t&&r>=i?e:ni(e,t,r)}var xi=st||function(e){return ft.clearTimeout(e)};function wi(e,t){if(t)return e.slice();var n=e.length,r=$e?$e(n):new e.constructor(n);return e.copy(r),r}function ki(e){var t=new e.constructor(e.byteLength);return new qe(t).set(new qe(e)),t}function Ci(e,t){var n=t?ki(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function Ai(e,t){if(e!==t){var r=e!==n,i=null===e,o=e==e,a=ss(e),s=t!==n,l=null===t,c=t==t,u=ss(t);if(!l&&!u&&!a&&e>t||a&&s&&c&&!l&&!u||i&&s&&c||!r&&c||!o)return 1;if(!i&&!a&&!u&&e<t||u&&r&&o&&!i&&!a||l&&r&&o||!s&&o||!c)return-1}return 0}function Si(e,t,n,r){for(var i=-1,o=e.length,a=n.length,s=-1,l=t.length,c=vn(o-a,0),u=ie(l+c),d=!r;++s<l;)u[s]=t[s];for(;++i<a;)(d||i<o)&&(u[n[i]]=e[i]);for(;c--;)u[s++]=e[i++];return u}function Mi(e,t,n,r){for(var i=-1,o=e.length,a=-1,s=n.length,l=-1,c=t.length,u=vn(o-s,0),d=ie(u+c),f=!r;++i<u;)d[i]=e[i];for(var h=i;++l<c;)d[h+l]=t[l];for(;++a<s;)(f||i<o)&&(d[h+n[a]]=e[i++]);return d}function Ei(e,t){var n=-1,r=e.length;for(t||(t=ie(r));++n<r;)t[n]=e[n];return t}function Li(e,t,r,i){var o=!r;r||(r={});for(var a=-1,s=t.length;++a<s;){var l=t[a],c=i?i(r[l],e[l],l,r,e):n;c===n&&(c=e[l]),o?ir(r,l,c):er(r,l,c)}return r}function Ti(e,t){return function(n,r){var i=qa(n)?At:nr,o=t?t():{};return i(n,e,so(r,2),o)}}function Di(e){return Zr((function(t,r){var i=-1,o=r.length,a=o>1?r[o-1]:n,s=o>2?r[2]:n;for(a=e.length>3&&"function"==typeof a?(o--,a):n,s&&yo(r[0],r[1],s)&&(a=o<3?n:a,o=1),t=Ae(t);++i<o;){var l=r[i];l&&e(t,l,i,a)}return t}))}function Fi(e,t){return function(n,r){if(null==n)return n;if(!Ua(n))return e(n,r);for(var i=n.length,o=t?i:-1,a=Ae(n);(t?o--:++o<i)&&!1!==r(a[o],o,a););return n}}function Oi(e){return function(t,n,r){for(var i=-1,o=Ae(t),a=r(t),s=a.length;s--;){var l=a[e?s:++i];if(!1===n(o[l],l,o))break}return t}}function zi(e){return function(t){var r=on(t=vs(t))?fn(t):n,i=r?r[0]:t.charAt(0),o=r?_i(r,1).join(""):t.slice(1);return i[e]()+o}}function Ri(e){return function(t){return zt(Xs(Hs(t).replace(Ke,"")),e,"")}}function Ni(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=jn(e.prototype),r=e.apply(n,t);return Qa(r)?r:n}}function Pi(e){return function(t,r,i){var o=Ae(t);if(!Ua(t)){var a=so(r,3);t=Ts(t),r=function(e){return a(o[e],e,o)}}var s=e(t,r,i);return s>-1?o[a?t[s]:s]:n}}function Ii(e){return to((function(t){var i=t.length,o=i,a=Hn.prototype.thru;for(e&&t.reverse();o--;){var s=t[o];if("function"!=typeof s)throw new Ee(r);if(a&&!l&&"wrapper"==oo(s))var l=new Hn([],!0)}for(o=l?o:i;++o<i;){var c=oo(s=t[o]),u="wrapper"==c?io(s):n;l=u&&xo(u[0])&&424==u[1]&&!u[4].length&&1==u[9]?l[oo(u[0])].apply(l,u[3]):1==s.length&&xo(s)?l[c]():l.thru(s)}return function(){var e=arguments,n=e[0];if(l&&1==e.length&&qa(n))return l.plant(n).value();for(var r=0,o=i?t[r].apply(this,e):n;++r<i;)o=t[r].call(this,o);return o}}))}function Bi(e,t,r,i,o,a,l,c,u,d){var f=t&s,h=1&t,p=2&t,g=24&t,m=512&t,v=p?n:Ni(e);return function s(){for(var b=arguments.length,y=ie(b),_=b;_--;)y[_]=arguments[_];if(g)var x=ao(s),w=function(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&++r;return r}(y,x);if(i&&(y=Si(y,i,o,g)),a&&(y=Mi(y,a,l,g)),b-=w,g&&b<d){var k=ln(y,x);return Vi(e,t,Bi,s.placeholder,r,y,k,c,u,d-b)}var C=h?r:this,A=p?C[e]:e;return b=y.length,c?y=function(e,t){for(var r=e.length,i=bn(t.length,r),o=Ei(e);i--;){var a=t[i];e[i]=bo(a,r)?o[a]:n}return e}(y,c):m&&b>1&&y.reverse(),f&&u<b&&(y.length=u),this&&this!==ft&&this instanceof s&&(A=v||Ni(A)),A.apply(C,y)}}function ji(e,t){return function(n,r){return function(e,t,n,r){return yr(e,(function(e,i,o){t(r,n(e),i,o)})),r}(n,e,t(r),{})}}function Wi(e,t){return function(r,i){var o;if(r===n&&i===n)return t;if(r!==n&&(o=r),i!==n){if(o===n)return i;"string"==typeof r||"string"==typeof i?(r=li(r),i=li(i)):(r=si(r),i=si(i)),o=e(r,i)}return o}}function Hi(e){return to((function(t){return t=Ft(t,Xt(so())),Zr((function(n){var r=this;return e(t,(function(e){return Ct(e,r,n)}))}))}))}function qi(e,t){var r=(t=t===n?" ":li(t)).length;if(r<2)return r?Yr(t,e):t;var i=Yr(t,ht(e/dn(t)));return on(t)?_i(fn(i),0,e).join(""):i.slice(0,e)}function $i(e){return function(t,r,i){return i&&"number"!=typeof i&&yo(t,r,i)&&(r=i=n),t=fs(t),r===n?(r=t,t=0):r=fs(r),function(e,t,n,r){for(var i=-1,o=vn(ht((t-e)/(n||1)),0),a=ie(o);o--;)a[r?o:++i]=e,e+=n;return a}(t,r,i=i===n?t<r?1:-1:fs(i),e)}}function Ui(e){return function(t,n){return"string"==typeof t&&"string"==typeof n||(t=gs(t),n=gs(n)),e(t,n)}}function Vi(e,t,r,i,o,s,l,c,u,d){var f=8&t;t|=f?a:64,4&(t&=~(f?64:a))||(t&=-4);var h=[e,t,o,f?s:n,f?l:n,f?n:s,f?n:l,c,u,d],p=r.apply(n,h);return xo(e)&&Lo(p,h),p.placeholder=i,Fo(p,e,t)}function Gi(e){var t=Ce[e];return function(e,n){if(e=gs(e),(n=null==n?0:bn(hs(n),292))&&Pt(e)){var r=(vs(e)+"e").split("e");return+((r=(vs(t(r[0]+"e"+(+r[1]+n)))+"e").split("e"))[0]+"e"+(+r[1]-n))}return t(e)}}var Yi=Sn&&1/cn(new Sn([,-0]))[1]==c?function(e){return new Sn(e)}:sl;function Zi(e){return function(t){var n=po(t);return n==x?an(t):n==S?un(t):function(e,t){return Ft(t,(function(t){return[t,e[t]]}))}(t,e(t))}}function Xi(e,t,i,c,u,d,f,h){var p=2&t;if(!p&&"function"!=typeof e)throw new Ee(r);var g=c?c.length:0;if(g||(t&=-97,c=u=n),f=f===n?f:vn(hs(f),0),h=h===n?h:hs(h),g-=u?u.length:0,64&t){var m=c,v=u;c=u=n}var b=p?n:io(e),y=[e,t,i,c,u,m,v,d,f,h];if(b&&function(e,t){var n=e[1],r=t[1],i=n|r,a=i<131,c=r==s&&8==n||r==s&&n==l&&e[7].length<=t[8]||384==r&&t[7].length<=t[8]&&8==n;if(!a&&!c)return e;1&r&&(e[2]=t[2],i|=1&n?0:4);var u=t[3];if(u){var d=e[3];e[3]=d?Si(d,u,t[4]):u,e[4]=d?ln(e[3],o):t[4]}(u=t[5])&&(d=e[5],e[5]=d?Mi(d,u,t[6]):u,e[6]=d?ln(e[5],o):t[6]),(u=t[7])&&(e[7]=u),r&s&&(e[8]=null==e[8]?t[8]:bn(e[8],t[8])),null==e[9]&&(e[9]=t[9]),e[0]=t[0],e[1]=i}(y,b),e=y[0],t=y[1],i=y[2],c=y[3],u=y[4],!(h=y[9]=y[9]===n?p?0:e.length:vn(y[9]-g,0))&&24&t&&(t&=-25),t&&1!=t)_=8==t||16==t?function(e,t,r){var i=Ni(e);return function o(){for(var a=arguments.length,s=ie(a),l=a,c=ao(o);l--;)s[l]=arguments[l];var u=a<3&&s[0]!==c&&s[a-1]!==c?[]:ln(s,c);return(a-=u.length)<r?Vi(e,t,Bi,o.placeholder,n,s,u,n,n,r-a):Ct(this&&this!==ft&&this instanceof o?i:e,this,s)}}(e,t,h):t!=a&&33!=t||u.length?Bi.apply(n,y):function(e,t,n,r){var i=1&t,o=Ni(e);return function t(){for(var a=-1,s=arguments.length,l=-1,c=r.length,u=ie(c+s),d=this&&this!==ft&&this instanceof t?o:e;++l<c;)u[l]=r[l];for(;s--;)u[l++]=arguments[++a];return Ct(d,i?n:this,u)}}(e,t,i,c);else var _=function(e,t,n){var r=1&t,i=Ni(e);return function t(){return(this&&this!==ft&&this instanceof t?i:e).apply(r?n:this,arguments)}}(e,t,i);return Fo((b?Qr:Lo)(_,y),e,t)}function Ki(e,t,r,i){return e===n||Ba(e,De[r])&&!ze.call(i,r)?t:e}function Ji(e,t,r,i,o,a){return Qa(e)&&Qa(t)&&(a.set(t,e),Wr(e,t,n,Ji,a),a.delete(t)),e}function Qi(e){return rs(e)?n:e}function eo(e,t,r,i,o,a){var s=1&r,l=e.length,c=t.length;if(l!=c&&!(s&&c>l))return!1;var u=a.get(e),d=a.get(t);if(u&&d)return u==t&&d==e;var f=-1,h=!0,p=2&r?new Gn:n;for(a.set(e,t),a.set(t,e);++f<l;){var g=e[f],m=t[f];if(i)var v=s?i(m,g,f,t,e,a):i(g,m,f,e,t,a);if(v!==n){if(v)continue;h=!1;break}if(p){if(!Nt(t,(function(e,t){if(!Jt(p,t)&&(g===e||o(g,e,r,i,a)))return p.push(t)}))){h=!1;break}}else if(g!==m&&!o(g,m,r,i,a)){h=!1;break}}return a.delete(e),a.delete(t),h}function to(e){return Do(So(e,n,$o),e+"")}function no(e){return kr(e,Ts,fo)}function ro(e){return kr(e,Ds,ho)}var io=Ln?function(e){return Ln.get(e)}:sl;function oo(e){for(var t=e.name+"",n=Tn[t],r=ze.call(Tn,t)?n.length:0;r--;){var i=n[r],o=i.func;if(null==o||o==e)return i.name}return t}function ao(e){return(ze.call(Bn,"placeholder")?Bn:e).placeholder}function so(){var e=Bn.iteratee||rl;return e=e===rl?zr:e,arguments.length?e(arguments[0],arguments[1]):e}function lo(e,t){var n=e.__data__;return function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}(t)?n["string"==typeof t?"string":"hash"]:n.map}function co(e){for(var t=Ts(e),n=t.length;n--;){var r=t[n],i=e[r];t[n]=[r,i,Co(i)]}return t}function uo(e,t){var r=function(e,t){return null==e?n:e[t]}(e,t);return Or(r)?r:n}var fo=mt?function(e){return null==e?[]:(e=Ae(e),Lt(mt(e),(function(t){return Ge.call(e,t)})))}:pl,ho=mt?function(e){for(var t=[];e;)Ot(t,fo(e)),e=Ue(e);return t}:pl,po=Cr;function go(e,t,n){for(var r=-1,i=(t=bi(t,e)).length,o=!1;++r<i;){var a=No(t[r]);if(!(o=null!=e&&n(e,a)))break;e=e[a]}return o||++r!=i?o:!!(i=null==e?0:e.length)&&Ja(i)&&bo(a,i)&&(qa(e)||Ha(e))}function mo(e){return"function"!=typeof e.constructor||ko(e)?{}:jn(Ue(e))}function vo(e){return qa(e)||Ha(e)||!!(Ze&&e&&e[Ze])}function bo(e,t){var n=typeof e;return!!(t=null==t?u:t)&&("number"==n||"symbol"!=n&&ve.test(e))&&e>-1&&e%1==0&&e<t}function yo(e,t,n){if(!Qa(n))return!1;var r=typeof t;return!!("number"==r?Ua(n)&&bo(t,n.length):"string"==r&&t in n)&&Ba(n[t],e)}function _o(e,t){if(qa(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!ss(e))||Q.test(e)||!J.test(e)||null!=t&&e in Ae(t)}function xo(e){var t=oo(e),n=Bn[t];if("function"!=typeof n||!(t in qn.prototype))return!1;if(e===n)return!0;var r=io(n);return!!r&&e===r[0]}(kn&&po(new kn(new ArrayBuffer(1)))!=D||Cn&&po(new Cn)!=x||An&&po(An.resolve())!=C||Sn&&po(new Sn)!=S||Mn&&po(new Mn)!=L)&&(po=function(e){var t=Cr(e),r=t==k?e.constructor:n,i=r?Po(r):"";if(i)switch(i){case Dn:return D;case Fn:return x;case On:return C;case zn:return S;case Rn:return L}return t});var wo=Fe?Xa:gl;function ko(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||De)}function Co(e){return e==e&&!Qa(e)}function Ao(e,t){return function(r){return null!=r&&r[e]===t&&(t!==n||e in Ae(r))}}function So(e,t,r){return t=vn(t===n?e.length-1:t,0),function(){for(var n=arguments,i=-1,o=vn(n.length-t,0),a=ie(o);++i<o;)a[i]=n[t+i];i=-1;for(var s=ie(t+1);++i<t;)s[i]=n[i];return s[t]=r(a),Ct(e,this,s)}}function Mo(e,t){return t.length<2?e:wr(e,ni(t,0,-1))}function Eo(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var Lo=Oo(Qr),To=dt||function(e,t){return ft.setTimeout(e,t)},Do=Oo(ei);function Fo(e,t,n){var r=t+"";return Do(e,function(e,t){var n=t.length;if(!n)return e;var r=n-1;return t[r]=(n>1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(oe,"{\n/* [wrapped with "+t+"] */\n")}(r,function(e,t){return St(h,(function(n){var r="_."+n[0];t&n[1]&&!Tt(e,r)&&e.push(r)})),e.sort()}(function(e){var t=e.match(ae);return t?t[1].split(se):[]}(r),n)))}function Oo(e){var t=0,r=0;return function(){var i=yn(),o=16-(i-r);if(r=i,o>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(n,arguments)}}function zo(e,t){var r=-1,i=e.length,o=i-1;for(t=t===n?i:t;++r<t;){var a=Gr(r,o),s=e[a];e[a]=e[r],e[r]=s}return e.length=t,e}var Ro=function(e){var t=Oa(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(ee,(function(e,n,r,i){t.push(r?i.replace(ue,"$1"):n||e)})),t}));function No(e){if("string"==typeof e||ss(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function Po(e){if(null!=e){try{return Oe.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function Io(e){if(e instanceof qn)return e.clone();var t=new Hn(e.__wrapped__,e.__chain__);return t.__actions__=Ei(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}var Bo=Zr((function(e,t){return Va(e)?ur(e,mr(t,1,Va,!0)):[]})),jo=Zr((function(e,t){var r=Zo(t);return Va(r)&&(r=n),Va(e)?ur(e,mr(t,1,Va,!0),so(r,2)):[]})),Wo=Zr((function(e,t){var r=Zo(t);return Va(r)&&(r=n),Va(e)?ur(e,mr(t,1,Va,!0),n,r):[]}));function Ho(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=null==n?0:hs(n);return i<0&&(i=vn(r+i,0)),Bt(e,so(t,3),i)}function qo(e,t,r){var i=null==e?0:e.length;if(!i)return-1;var o=i-1;return r!==n&&(o=hs(r),o=r<0?vn(i+o,0):bn(o,i-1)),Bt(e,so(t,3),o,!0)}function $o(e){return null!=e&&e.length?mr(e,1):[]}function Uo(e){return e&&e.length?e[0]:n}var Vo=Zr((function(e){var t=Ft(e,mi);return t.length&&t[0]===e[0]?Er(t):[]})),Go=Zr((function(e){var t=Zo(e),r=Ft(e,mi);return t===Zo(r)?t=n:r.pop(),r.length&&r[0]===e[0]?Er(r,so(t,2)):[]})),Yo=Zr((function(e){var t=Zo(e),r=Ft(e,mi);return(t="function"==typeof t?t:n)&&r.pop(),r.length&&r[0]===e[0]?Er(r,n,t):[]}));function Zo(e){var t=null==e?0:e.length;return t?e[t-1]:n}var Xo=Zr(Ko);function Ko(e,t){return e&&e.length&&t&&t.length?Ur(e,t):e}var Jo=to((function(e,t){var n=null==e?0:e.length,r=or(e,t);return Vr(e,Ft(t,(function(e){return bo(e,n)?+e:e})).sort(Ai)),r}));function Qo(e){return null==e?e:wn.call(e)}var ea=Zr((function(e){return ci(mr(e,1,Va,!0))})),ta=Zr((function(e){var t=Zo(e);return Va(t)&&(t=n),ci(mr(e,1,Va,!0),so(t,2))})),na=Zr((function(e){var t=Zo(e);return t="function"==typeof t?t:n,ci(mr(e,1,Va,!0),n,t)}));function ra(e){if(!e||!e.length)return[];var t=0;return e=Lt(e,(function(e){if(Va(e))return t=vn(e.length,t),!0})),Yt(t,(function(t){return Ft(e,$t(t))}))}function ia(e,t){if(!e||!e.length)return[];var r=ra(e);return null==t?r:Ft(r,(function(e){return Ct(t,n,e)}))}var oa=Zr((function(e,t){return Va(e)?ur(e,t):[]})),aa=Zr((function(e){return pi(Lt(e,Va))})),sa=Zr((function(e){var t=Zo(e);return Va(t)&&(t=n),pi(Lt(e,Va),so(t,2))})),la=Zr((function(e){var t=Zo(e);return t="function"==typeof t?t:n,pi(Lt(e,Va),n,t)})),ca=Zr(ra),ua=Zr((function(e){var t=e.length,r=t>1?e[t-1]:n;return r="function"==typeof r?(e.pop(),r):n,ia(e,r)}));function da(e){var t=Bn(e);return t.__chain__=!0,t}function fa(e,t){return t(e)}var ha=to((function(e){var t=e.length,r=t?e[0]:0,i=this.__wrapped__,o=function(t){return or(t,e)};return!(t>1||this.__actions__.length)&&i instanceof qn&&bo(r)?((i=i.slice(r,+r+(t?1:0))).__actions__.push({func:fa,args:[o],thisArg:n}),new Hn(i,this.__chain__).thru((function(e){return t&&!e.length&&e.push(n),e}))):this.thru(o)})),pa=Ti((function(e,t,n){ze.call(e,n)?++e[n]:ir(e,n,1)})),ga=Pi(Ho),ma=Pi(qo);function va(e,t){return(qa(e)?St:dr)(e,so(t,3))}function ba(e,t){return(qa(e)?Mt:fr)(e,so(t,3))}var ya=Ti((function(e,t,n){ze.call(e,n)?e[n].push(t):ir(e,n,[t])})),_a=Zr((function(e,t,n){var r=-1,i="function"==typeof t,o=Ua(e)?ie(e.length):[];return dr(e,(function(e){o[++r]=i?Ct(t,e,n):Lr(e,t,n)})),o})),xa=Ti((function(e,t,n){ir(e,n,t)}));function wa(e,t){return(qa(e)?Ft:Ir)(e,so(t,3))}var ka=Ti((function(e,t,n){e[n?0:1].push(t)}),(function(){return[[],[]]})),Ca=Zr((function(e,t){if(null==e)return[];var n=t.length;return n>1&&yo(e,t[0],t[1])?t=[]:n>2&&yo(t[0],t[1],t[2])&&(t=[t[0]]),qr(e,mr(t,1),[])})),Aa=ut||function(){return ft.Date.now()};function Sa(e,t,r){return t=r?n:t,t=e&&null==t?e.length:t,Xi(e,s,n,n,n,n,t)}function Ma(e,t){var i;if("function"!=typeof t)throw new Ee(r);return e=hs(e),function(){return--e>0&&(i=t.apply(this,arguments)),e<=1&&(t=n),i}}var Ea=Zr((function(e,t,n){var r=1;if(n.length){var i=ln(n,ao(Ea));r|=a}return Xi(e,r,t,n,i)})),La=Zr((function(e,t,n){var r=3;if(n.length){var i=ln(n,ao(La));r|=a}return Xi(t,r,e,n,i)}));function Ta(e,t,i){var o,a,s,l,c,u,d=0,f=!1,h=!1,p=!0;if("function"!=typeof e)throw new Ee(r);function g(t){var r=o,i=a;return o=a=n,d=t,l=e.apply(i,r)}function m(e){var r=e-u;return u===n||r>=t||r<0||h&&e-d>=s}function v(){var e=Aa();if(m(e))return b(e);c=To(v,function(e){var n=t-(e-u);return h?bn(n,s-(e-d)):n}(e))}function b(e){return c=n,p&&o?g(e):(o=a=n,l)}function y(){var e=Aa(),r=m(e);if(o=arguments,a=this,u=e,r){if(c===n)return function(e){return d=e,c=To(v,t),f?g(e):l}(u);if(h)return xi(c),c=To(v,t),g(u)}return c===n&&(c=To(v,t)),l}return t=gs(t)||0,Qa(i)&&(f=!!i.leading,s=(h="maxWait"in i)?vn(gs(i.maxWait)||0,t):s,p="trailing"in i?!!i.trailing:p),y.cancel=function(){c!==n&&xi(c),d=0,o=u=a=c=n},y.flush=function(){return c===n?l:b(Aa())},y}var Da=Zr((function(e,t){return cr(e,1,t)})),Fa=Zr((function(e,t,n){return cr(e,gs(t)||0,n)}));function Oa(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new Ee(r);var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=e.apply(this,r);return n.cache=o.set(i,a)||o,a};return n.cache=new(Oa.Cache||Vn),n}function za(e){if("function"!=typeof e)throw new Ee(r);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}Oa.Cache=Vn;var Ra=yi((function(e,t){var n=(t=1==t.length&&qa(t[0])?Ft(t[0],Xt(so())):Ft(mr(t,1),Xt(so()))).length;return Zr((function(r){for(var i=-1,o=bn(r.length,n);++i<o;)r[i]=t[i].call(this,r[i]);return Ct(e,this,r)}))})),Na=Zr((function(e,t){var r=ln(t,ao(Na));return Xi(e,a,n,t,r)})),Pa=Zr((function(e,t){var r=ln(t,ao(Pa));return Xi(e,64,n,t,r)})),Ia=to((function(e,t){return Xi(e,l,n,n,n,t)}));function Ba(e,t){return e===t||e!=e&&t!=t}var ja=Ui(Ar),Wa=Ui((function(e,t){return e>=t})),Ha=Tr(function(){return arguments}())?Tr:function(e){return es(e)&&ze.call(e,"callee")&&!Ge.call(e,"callee")},qa=ie.isArray,$a=bt?Xt(bt):function(e){return es(e)&&Cr(e)==T};function Ua(e){return null!=e&&Ja(e.length)&&!Xa(e)}function Va(e){return es(e)&&Ua(e)}var Ga=vt||gl,Ya=yt?Xt(yt):function(e){return es(e)&&Cr(e)==v};function Za(e){if(!es(e))return!1;var t=Cr(e);return t==b||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!rs(e)}function Xa(e){if(!Qa(e))return!1;var t=Cr(e);return t==y||t==_||"[object AsyncFunction]"==t||"[object Proxy]"==t}function Ka(e){return"number"==typeof e&&e==hs(e)}function Ja(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=u}function Qa(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function es(e){return null!=e&&"object"==typeof e}var ts=_t?Xt(_t):function(e){return es(e)&&po(e)==x};function ns(e){return"number"==typeof e||es(e)&&Cr(e)==w}function rs(e){if(!es(e)||Cr(e)!=k)return!1;var t=Ue(e);if(null===t)return!0;var n=ze.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&Oe.call(n)==Ie}var is=xt?Xt(xt):function(e){return es(e)&&Cr(e)==A},os=wt?Xt(wt):function(e){return es(e)&&po(e)==S};function as(e){return"string"==typeof e||!qa(e)&&es(e)&&Cr(e)==M}function ss(e){return"symbol"==typeof e||es(e)&&Cr(e)==E}var ls=kt?Xt(kt):function(e){return es(e)&&Ja(e.length)&&!!ot[Cr(e)]},cs=Ui(Pr),us=Ui((function(e,t){return e<=t}));function ds(e){if(!e)return[];if(Ua(e))return as(e)?fn(e):Ei(e);if(Xe&&e[Xe])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[Xe]());var t=po(e);return(t==x?an:t==S?cn:Bs)(e)}function fs(e){return e?(e=gs(e))===c||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}function hs(e){var t=fs(e),n=t%1;return t==t?n?t-n:t:0}function ps(e){return e?ar(hs(e),0,f):0}function gs(e){if("number"==typeof e)return e;if(ss(e))return d;if(Qa(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=Qa(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Zt(e);var n=pe.test(e);return n||me.test(e)?ct(e.slice(2),n?2:8):he.test(e)?d:+e}function ms(e){return Li(e,Ds(e))}function vs(e){return null==e?"":li(e)}var bs=Di((function(e,t){if(ko(t)||Ua(t))Li(t,Ts(t),e);else for(var n in t)ze.call(t,n)&&er(e,n,t[n])})),ys=Di((function(e,t){Li(t,Ds(t),e)})),_s=Di((function(e,t,n,r){Li(t,Ds(t),e,r)})),xs=Di((function(e,t,n,r){Li(t,Ts(t),e,r)})),ws=to(or),ks=Zr((function(e,t){e=Ae(e);var r=-1,i=t.length,o=i>2?t[2]:n;for(o&&yo(t[0],t[1],o)&&(i=1);++r<i;)for(var a=t[r],s=Ds(a),l=-1,c=s.length;++l<c;){var u=s[l],d=e[u];(d===n||Ba(d,De[u])&&!ze.call(e,u))&&(e[u]=a[u])}return e})),Cs=Zr((function(e){return e.push(n,Ji),Ct(Os,n,e)}));function As(e,t,r){var i=null==e?n:wr(e,t);return i===n?r:i}function Ss(e,t){return null!=e&&go(e,t,Mr)}var Ms=ji((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=Pe.call(t)),e[t]=n}),Qs(nl)),Es=ji((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=Pe.call(t)),ze.call(e,t)?e[t].push(n):e[t]=[n]}),so),Ls=Zr(Lr);function Ts(e){return Ua(e)?Zn(e):Rr(e)}function Ds(e){return Ua(e)?Zn(e,!0):Nr(e)}var Fs=Di((function(e,t,n){Wr(e,t,n)})),Os=Di((function(e,t,n,r){Wr(e,t,n,r)})),zs=to((function(e,t){var n={};if(null==e)return n;var r=!1;t=Ft(t,(function(t){return t=bi(t,e),r||(r=t.length>1),t})),Li(e,ro(e),n),r&&(n=sr(n,7,Qi));for(var i=t.length;i--;)ui(n,t[i]);return n})),Rs=to((function(e,t){return null==e?{}:function(e,t){return $r(e,t,(function(t,n){return Ss(e,n)}))}(e,t)}));function Ns(e,t){if(null==e)return{};var n=Ft(ro(e),(function(e){return[e]}));return t=so(t),$r(e,n,(function(e,n){return t(e,n[0])}))}var Ps=Zi(Ts),Is=Zi(Ds);function Bs(e){return null==e?[]:Kt(e,Ts(e))}var js=Ri((function(e,t,n){return t=t.toLowerCase(),e+(n?Ws(t):t)}));function Ws(e){return Zs(vs(e).toLowerCase())}function Hs(e){return(e=vs(e))&&e.replace(be,tn).replace(Je,"")}var qs=Ri((function(e,t,n){return e+(n?"-":"")+t.toLowerCase()})),$s=Ri((function(e,t,n){return e+(n?" ":"")+t.toLowerCase()})),Us=zi("toLowerCase"),Vs=Ri((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()})),Gs=Ri((function(e,t,n){return e+(n?" ":"")+Zs(t)})),Ys=Ri((function(e,t,n){return e+(n?" ":"")+t.toUpperCase()})),Zs=zi("toUpperCase");function Xs(e,t,r){return e=vs(e),(t=r?n:t)===n?function(e){return nt.test(e)}(e)?function(e){return e.match(et)||[]}(e):function(e){return e.match(le)||[]}(e):e.match(t)||[]}var Ks=Zr((function(e,t){try{return Ct(e,n,t)}catch(e){return Za(e)?e:new we(e)}})),Js=to((function(e,t){return St(t,(function(t){t=No(t),ir(e,t,Ea(e[t],e))})),e}));function Qs(e){return function(){return e}}var el=Ii(),tl=Ii(!0);function nl(e){return e}function rl(e){return zr("function"==typeof e?e:sr(e,1))}var il=Zr((function(e,t){return function(n){return Lr(n,e,t)}})),ol=Zr((function(e,t){return function(n){return Lr(e,n,t)}}));function al(e,t,n){var r=Ts(t),i=xr(t,r);null!=n||Qa(t)&&(i.length||!r.length)||(n=t,t=e,e=this,i=xr(t,Ts(t)));var o=!(Qa(n)&&"chain"in n&&!n.chain),a=Xa(e);return St(i,(function(n){var r=t[n];e[n]=r,a&&(e.prototype[n]=function(){var t=this.__chain__;if(o||t){var n=e(this.__wrapped__);return(n.__actions__=Ei(this.__actions__)).push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,Ot([this.value()],arguments))})})),e}function sl(){}var ll=Hi(Ft),cl=Hi(Et),ul=Hi(Nt);function dl(e){return _o(e)?$t(No(e)):function(e){return function(t){return wr(t,e)}}(e)}var fl=$i(),hl=$i(!0);function pl(){return[]}function gl(){return!1}var ml,vl=Wi((function(e,t){return e+t}),0),bl=Gi("ceil"),yl=Wi((function(e,t){return e/t}),1),_l=Gi("floor"),xl=Wi((function(e,t){return e*t}),1),wl=Gi("round"),kl=Wi((function(e,t){return e-t}),0);return Bn.after=function(e,t){if("function"!=typeof t)throw new Ee(r);return e=hs(e),function(){if(--e<1)return t.apply(this,arguments)}},Bn.ary=Sa,Bn.assign=bs,Bn.assignIn=ys,Bn.assignInWith=_s,Bn.assignWith=xs,Bn.at=ws,Bn.before=Ma,Bn.bind=Ea,Bn.bindAll=Js,Bn.bindKey=La,Bn.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return qa(e)?e:[e]},Bn.chain=da,Bn.chunk=function(e,t,r){t=(r?yo(e,t,r):t===n)?1:vn(hs(t),0);var i=null==e?0:e.length;if(!i||t<1)return[];for(var o=0,a=0,s=ie(ht(i/t));o<i;)s[a++]=ni(e,o,o+=t);return s},Bn.compact=function(e){for(var t=-1,n=null==e?0:e.length,r=0,i=[];++t<n;){var o=e[t];o&&(i[r++]=o)}return i},Bn.concat=function(){var e=arguments.length;if(!e)return[];for(var t=ie(e-1),n=arguments[0],r=e;r--;)t[r-1]=arguments[r];return Ot(qa(n)?Ei(n):[n],mr(t,1))},Bn.cond=function(e){var t=null==e?0:e.length,n=so();return e=t?Ft(e,(function(e){if("function"!=typeof e[1])throw new Ee(r);return[n(e[0]),e[1]]})):[],Zr((function(n){for(var r=-1;++r<t;){var i=e[r];if(Ct(i[0],this,n))return Ct(i[1],this,n)}}))},Bn.conforms=function(e){return function(e){var t=Ts(e);return function(n){return lr(n,e,t)}}(sr(e,1))},Bn.constant=Qs,Bn.countBy=pa,Bn.create=function(e,t){var n=jn(e);return null==t?n:rr(n,t)},Bn.curry=function e(t,r,i){var o=Xi(t,8,n,n,n,n,n,r=i?n:r);return o.placeholder=e.placeholder,o},Bn.curryRight=function e(t,r,i){var o=Xi(t,16,n,n,n,n,n,r=i?n:r);return o.placeholder=e.placeholder,o},Bn.debounce=Ta,Bn.defaults=ks,Bn.defaultsDeep=Cs,Bn.defer=Da,Bn.delay=Fa,Bn.difference=Bo,Bn.differenceBy=jo,Bn.differenceWith=Wo,Bn.drop=function(e,t,r){var i=null==e?0:e.length;return i?ni(e,(t=r||t===n?1:hs(t))<0?0:t,i):[]},Bn.dropRight=function(e,t,r){var i=null==e?0:e.length;return i?ni(e,0,(t=i-(t=r||t===n?1:hs(t)))<0?0:t):[]},Bn.dropRightWhile=function(e,t){return e&&e.length?fi(e,so(t,3),!0,!0):[]},Bn.dropWhile=function(e,t){return e&&e.length?fi(e,so(t,3),!0):[]},Bn.fill=function(e,t,r,i){var o=null==e?0:e.length;return o?(r&&"number"!=typeof r&&yo(e,t,r)&&(r=0,i=o),function(e,t,r,i){var o=e.length;for((r=hs(r))<0&&(r=-r>o?0:o+r),(i=i===n||i>o?o:hs(i))<0&&(i+=o),i=r>i?0:ps(i);r<i;)e[r++]=t;return e}(e,t,r,i)):[]},Bn.filter=function(e,t){return(qa(e)?Lt:gr)(e,so(t,3))},Bn.flatMap=function(e,t){return mr(wa(e,t),1)},Bn.flatMapDeep=function(e,t){return mr(wa(e,t),c)},Bn.flatMapDepth=function(e,t,r){return r=r===n?1:hs(r),mr(wa(e,t),r)},Bn.flatten=$o,Bn.flattenDeep=function(e){return null!=e&&e.length?mr(e,c):[]},Bn.flattenDepth=function(e,t){return null!=e&&e.length?mr(e,t=t===n?1:hs(t)):[]},Bn.flip=function(e){return Xi(e,512)},Bn.flow=el,Bn.flowRight=tl,Bn.fromPairs=function(e){for(var t=-1,n=null==e?0:e.length,r={};++t<n;){var i=e[t];ir(r,i[0],i[1])}return r},Bn.functions=function(e){return null==e?[]:xr(e,Ts(e))},Bn.functionsIn=function(e){return null==e?[]:xr(e,Ds(e))},Bn.groupBy=ya,Bn.initial=function(e){return null!=e&&e.length?ni(e,0,-1):[]},Bn.intersection=Vo,Bn.intersectionBy=Go,Bn.intersectionWith=Yo,Bn.invert=Ms,Bn.invertBy=Es,Bn.invokeMap=_a,Bn.iteratee=rl,Bn.keyBy=xa,Bn.keys=Ts,Bn.keysIn=Ds,Bn.map=wa,Bn.mapKeys=function(e,t){var n={};return t=so(t,3),yr(e,(function(e,r,i){ir(n,t(e,r,i),e)})),n},Bn.mapValues=function(e,t){var n={};return t=so(t,3),yr(e,(function(e,r,i){ir(n,r,t(e,r,i))})),n},Bn.matches=function(e){return Br(sr(e,1))},Bn.matchesProperty=function(e,t){return jr(e,sr(t,1))},Bn.memoize=Oa,Bn.merge=Fs,Bn.mergeWith=Os,Bn.method=il,Bn.methodOf=ol,Bn.mixin=al,Bn.negate=za,Bn.nthArg=function(e){return e=hs(e),Zr((function(t){return Hr(t,e)}))},Bn.omit=zs,Bn.omitBy=function(e,t){return Ns(e,za(so(t)))},Bn.once=function(e){return Ma(2,e)},Bn.orderBy=function(e,t,r,i){return null==e?[]:(qa(t)||(t=null==t?[]:[t]),qa(r=i?n:r)||(r=null==r?[]:[r]),qr(e,t,r))},Bn.over=ll,Bn.overArgs=Ra,Bn.overEvery=cl,Bn.overSome=ul,Bn.partial=Na,Bn.partialRight=Pa,Bn.partition=ka,Bn.pick=Rs,Bn.pickBy=Ns,Bn.property=dl,Bn.propertyOf=function(e){return function(t){return null==e?n:wr(e,t)}},Bn.pull=Xo,Bn.pullAll=Ko,Bn.pullAllBy=function(e,t,n){return e&&e.length&&t&&t.length?Ur(e,t,so(n,2)):e},Bn.pullAllWith=function(e,t,r){return e&&e.length&&t&&t.length?Ur(e,t,n,r):e},Bn.pullAt=Jo,Bn.range=fl,Bn.rangeRight=hl,Bn.rearg=Ia,Bn.reject=function(e,t){return(qa(e)?Lt:gr)(e,za(so(t,3)))},Bn.remove=function(e,t){var n=[];if(!e||!e.length)return n;var r=-1,i=[],o=e.length;for(t=so(t,3);++r<o;){var a=e[r];t(a,r,e)&&(n.push(a),i.push(r))}return Vr(e,i),n},Bn.rest=function(e,t){if("function"!=typeof e)throw new Ee(r);return Zr(e,t=t===n?t:hs(t))},Bn.reverse=Qo,Bn.sampleSize=function(e,t,r){return t=(r?yo(e,t,r):t===n)?1:hs(t),(qa(e)?Kn:Kr)(e,t)},Bn.set=function(e,t,n){return null==e?e:Jr(e,t,n)},Bn.setWith=function(e,t,r,i){return i="function"==typeof i?i:n,null==e?e:Jr(e,t,r,i)},Bn.shuffle=function(e){return(qa(e)?Jn:ti)(e)},Bn.slice=function(e,t,r){var i=null==e?0:e.length;return i?(r&&"number"!=typeof r&&yo(e,t,r)?(t=0,r=i):(t=null==t?0:hs(t),r=r===n?i:hs(r)),ni(e,t,r)):[]},Bn.sortBy=Ca,Bn.sortedUniq=function(e){return e&&e.length?ai(e):[]},Bn.sortedUniqBy=function(e,t){return e&&e.length?ai(e,so(t,2)):[]},Bn.split=function(e,t,r){return r&&"number"!=typeof r&&yo(e,t,r)&&(t=r=n),(r=r===n?f:r>>>0)?(e=vs(e))&&("string"==typeof t||null!=t&&!is(t))&&!(t=li(t))&&on(e)?_i(fn(e),0,r):e.split(t,r):[]},Bn.spread=function(e,t){if("function"!=typeof e)throw new Ee(r);return t=null==t?0:vn(hs(t),0),Zr((function(n){var r=n[t],i=_i(n,0,t);return r&&Ot(i,r),Ct(e,this,i)}))},Bn.tail=function(e){var t=null==e?0:e.length;return t?ni(e,1,t):[]},Bn.take=function(e,t,r){return e&&e.length?ni(e,0,(t=r||t===n?1:hs(t))<0?0:t):[]},Bn.takeRight=function(e,t,r){var i=null==e?0:e.length;return i?ni(e,(t=i-(t=r||t===n?1:hs(t)))<0?0:t,i):[]},Bn.takeRightWhile=function(e,t){return e&&e.length?fi(e,so(t,3),!1,!0):[]},Bn.takeWhile=function(e,t){return e&&e.length?fi(e,so(t,3)):[]},Bn.tap=function(e,t){return t(e),e},Bn.throttle=function(e,t,n){var i=!0,o=!0;if("function"!=typeof e)throw new Ee(r);return Qa(n)&&(i="leading"in n?!!n.leading:i,o="trailing"in n?!!n.trailing:o),Ta(e,t,{leading:i,maxWait:t,trailing:o})},Bn.thru=fa,Bn.toArray=ds,Bn.toPairs=Ps,Bn.toPairsIn=Is,Bn.toPath=function(e){return qa(e)?Ft(e,No):ss(e)?[e]:Ei(Ro(vs(e)))},Bn.toPlainObject=ms,Bn.transform=function(e,t,n){var r=qa(e),i=r||Ga(e)||ls(e);if(t=so(t,4),null==n){var o=e&&e.constructor;n=i?r?new o:[]:Qa(e)&&Xa(o)?jn(Ue(e)):{}}return(i?St:yr)(e,(function(e,r,i){return t(n,e,r,i)})),n},Bn.unary=function(e){return Sa(e,1)},Bn.union=ea,Bn.unionBy=ta,Bn.unionWith=na,Bn.uniq=function(e){return e&&e.length?ci(e):[]},Bn.uniqBy=function(e,t){return e&&e.length?ci(e,so(t,2)):[]},Bn.uniqWith=function(e,t){return t="function"==typeof t?t:n,e&&e.length?ci(e,n,t):[]},Bn.unset=function(e,t){return null==e||ui(e,t)},Bn.unzip=ra,Bn.unzipWith=ia,Bn.update=function(e,t,n){return null==e?e:di(e,t,vi(n))},Bn.updateWith=function(e,t,r,i){return i="function"==typeof i?i:n,null==e?e:di(e,t,vi(r),i)},Bn.values=Bs,Bn.valuesIn=function(e){return null==e?[]:Kt(e,Ds(e))},Bn.without=oa,Bn.words=Xs,Bn.wrap=function(e,t){return Na(vi(t),e)},Bn.xor=aa,Bn.xorBy=sa,Bn.xorWith=la,Bn.zip=ca,Bn.zipObject=function(e,t){return gi(e||[],t||[],er)},Bn.zipObjectDeep=function(e,t){return gi(e||[],t||[],Jr)},Bn.zipWith=ua,Bn.entries=Ps,Bn.entriesIn=Is,Bn.extend=ys,Bn.extendWith=_s,al(Bn,Bn),Bn.add=vl,Bn.attempt=Ks,Bn.camelCase=js,Bn.capitalize=Ws,Bn.ceil=bl,Bn.clamp=function(e,t,r){return r===n&&(r=t,t=n),r!==n&&(r=(r=gs(r))==r?r:0),t!==n&&(t=(t=gs(t))==t?t:0),ar(gs(e),t,r)},Bn.clone=function(e){return sr(e,4)},Bn.cloneDeep=function(e){return sr(e,5)},Bn.cloneDeepWith=function(e,t){return sr(e,5,t="function"==typeof t?t:n)},Bn.cloneWith=function(e,t){return sr(e,4,t="function"==typeof t?t:n)},Bn.conformsTo=function(e,t){return null==t||lr(e,t,Ts(t))},Bn.deburr=Hs,Bn.defaultTo=function(e,t){return null==e||e!=e?t:e},Bn.divide=yl,Bn.endsWith=function(e,t,r){e=vs(e),t=li(t);var i=e.length,o=r=r===n?i:ar(hs(r),0,i);return(r-=t.length)>=0&&e.slice(r,o)==t},Bn.eq=Ba,Bn.escape=function(e){return(e=vs(e))&&Y.test(e)?e.replace(V,nn):e},Bn.escapeRegExp=function(e){return(e=vs(e))&&ne.test(e)?e.replace(te,"\\$&"):e},Bn.every=function(e,t,r){var i=qa(e)?Et:hr;return r&&yo(e,t,r)&&(t=n),i(e,so(t,3))},Bn.find=ga,Bn.findIndex=Ho,Bn.findKey=function(e,t){return It(e,so(t,3),yr)},Bn.findLast=ma,Bn.findLastIndex=qo,Bn.findLastKey=function(e,t){return It(e,so(t,3),_r)},Bn.floor=_l,Bn.forEach=va,Bn.forEachRight=ba,Bn.forIn=function(e,t){return null==e?e:vr(e,so(t,3),Ds)},Bn.forInRight=function(e,t){return null==e?e:br(e,so(t,3),Ds)},Bn.forOwn=function(e,t){return e&&yr(e,so(t,3))},Bn.forOwnRight=function(e,t){return e&&_r(e,so(t,3))},Bn.get=As,Bn.gt=ja,Bn.gte=Wa,Bn.has=function(e,t){return null!=e&&go(e,t,Sr)},Bn.hasIn=Ss,Bn.head=Uo,Bn.identity=nl,Bn.includes=function(e,t,n,r){e=Ua(e)?e:Bs(e),n=n&&!r?hs(n):0;var i=e.length;return n<0&&(n=vn(i+n,0)),as(e)?n<=i&&e.indexOf(t,n)>-1:!!i&&jt(e,t,n)>-1},Bn.indexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=null==n?0:hs(n);return i<0&&(i=vn(r+i,0)),jt(e,t,i)},Bn.inRange=function(e,t,r){return t=fs(t),r===n?(r=t,t=0):r=fs(r),function(e,t,n){return e>=bn(t,n)&&e<vn(t,n)}(e=gs(e),t,r)},Bn.invoke=Ls,Bn.isArguments=Ha,Bn.isArray=qa,Bn.isArrayBuffer=$a,Bn.isArrayLike=Ua,Bn.isArrayLikeObject=Va,Bn.isBoolean=function(e){return!0===e||!1===e||es(e)&&Cr(e)==m},Bn.isBuffer=Ga,Bn.isDate=Ya,Bn.isElement=function(e){return es(e)&&1===e.nodeType&&!rs(e)},Bn.isEmpty=function(e){if(null==e)return!0;if(Ua(e)&&(qa(e)||"string"==typeof e||"function"==typeof e.splice||Ga(e)||ls(e)||Ha(e)))return!e.length;var t=po(e);if(t==x||t==S)return!e.size;if(ko(e))return!Rr(e).length;for(var n in e)if(ze.call(e,n))return!1;return!0},Bn.isEqual=function(e,t){return Dr(e,t)},Bn.isEqualWith=function(e,t,r){var i=(r="function"==typeof r?r:n)?r(e,t):n;return i===n?Dr(e,t,n,r):!!i},Bn.isError=Za,Bn.isFinite=function(e){return"number"==typeof e&&Pt(e)},Bn.isFunction=Xa,Bn.isInteger=Ka,Bn.isLength=Ja,Bn.isMap=ts,Bn.isMatch=function(e,t){return e===t||Fr(e,t,co(t))},Bn.isMatchWith=function(e,t,r){return r="function"==typeof r?r:n,Fr(e,t,co(t),r)},Bn.isNaN=function(e){return ns(e)&&e!=+e},Bn.isNative=function(e){if(wo(e))throw new we("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return Or(e)},Bn.isNil=function(e){return null==e},Bn.isNull=function(e){return null===e},Bn.isNumber=ns,Bn.isObject=Qa,Bn.isObjectLike=es,Bn.isPlainObject=rs,Bn.isRegExp=is,Bn.isSafeInteger=function(e){return Ka(e)&&e>=-9007199254740991&&e<=u},Bn.isSet=os,Bn.isString=as,Bn.isSymbol=ss,Bn.isTypedArray=ls,Bn.isUndefined=function(e){return e===n},Bn.isWeakMap=function(e){return es(e)&&po(e)==L},Bn.isWeakSet=function(e){return es(e)&&"[object WeakSet]"==Cr(e)},Bn.join=function(e,t){return null==e?"":Ut.call(e,t)},Bn.kebabCase=qs,Bn.last=Zo,Bn.lastIndexOf=function(e,t,r){var i=null==e?0:e.length;if(!i)return-1;var o=i;return r!==n&&(o=(o=hs(r))<0?vn(i+o,0):bn(o,i-1)),t==t?function(e,t,n){for(var r=n+1;r--;)if(e[r]===t)return r;return r}(e,t,o):Bt(e,Ht,o,!0)},Bn.lowerCase=$s,Bn.lowerFirst=Us,Bn.lt=cs,Bn.lte=us,Bn.max=function(e){return e&&e.length?pr(e,nl,Ar):n},Bn.maxBy=function(e,t){return e&&e.length?pr(e,so(t,2),Ar):n},Bn.mean=function(e){return qt(e,nl)},Bn.meanBy=function(e,t){return qt(e,so(t,2))},Bn.min=function(e){return e&&e.length?pr(e,nl,Pr):n},Bn.minBy=function(e,t){return e&&e.length?pr(e,so(t,2),Pr):n},Bn.stubArray=pl,Bn.stubFalse=gl,Bn.stubObject=function(){return{}},Bn.stubString=function(){return""},Bn.stubTrue=function(){return!0},Bn.multiply=xl,Bn.nth=function(e,t){return e&&e.length?Hr(e,hs(t)):n},Bn.noConflict=function(){return ft._===this&&(ft._=Be),this},Bn.noop=sl,Bn.now=Aa,Bn.pad=function(e,t,n){e=vs(e);var r=(t=hs(t))?dn(e):0;if(!t||r>=t)return e;var i=(t-r)/2;return qi(pt(i),n)+e+qi(ht(i),n)},Bn.padEnd=function(e,t,n){e=vs(e);var r=(t=hs(t))?dn(e):0;return t&&r<t?e+qi(t-r,n):e},Bn.padStart=function(e,t,n){e=vs(e);var r=(t=hs(t))?dn(e):0;return t&&r<t?qi(t-r,n)+e:e},Bn.parseInt=function(e,t,n){return n||null==t?t=0:t&&(t=+t),_n(vs(e).replace(re,""),t||0)},Bn.random=function(e,t,r){if(r&&"boolean"!=typeof r&&yo(e,t,r)&&(t=r=n),r===n&&("boolean"==typeof t?(r=t,t=n):"boolean"==typeof e&&(r=e,e=n)),e===n&&t===n?(e=0,t=1):(e=fs(e),t===n?(t=e,e=0):t=fs(t)),e>t){var i=e;e=t,t=i}if(r||e%1||t%1){var o=xn();return bn(e+o*(t-e+lt("1e-"+((o+"").length-1))),t)}return Gr(e,t)},Bn.reduce=function(e,t,n){var r=qa(e)?zt:Vt,i=arguments.length<3;return r(e,so(t,4),n,i,dr)},Bn.reduceRight=function(e,t,n){var r=qa(e)?Rt:Vt,i=arguments.length<3;return r(e,so(t,4),n,i,fr)},Bn.repeat=function(e,t,r){return t=(r?yo(e,t,r):t===n)?1:hs(t),Yr(vs(e),t)},Bn.replace=function(){var e=arguments,t=vs(e[0]);return e.length<3?t:t.replace(e[1],e[2])},Bn.result=function(e,t,r){var i=-1,o=(t=bi(t,e)).length;for(o||(o=1,e=n);++i<o;){var a=null==e?n:e[No(t[i])];a===n&&(i=o,a=r),e=Xa(a)?a.call(e):a}return e},Bn.round=wl,Bn.runInContext=e,Bn.sample=function(e){return(qa(e)?Xn:Xr)(e)},Bn.size=function(e){if(null==e)return 0;if(Ua(e))return as(e)?dn(e):e.length;var t=po(e);return t==x||t==S?e.size:Rr(e).length},Bn.snakeCase=Vs,Bn.some=function(e,t,r){var i=qa(e)?Nt:ri;return r&&yo(e,t,r)&&(t=n),i(e,so(t,3))},Bn.sortedIndex=function(e,t){return ii(e,t)},Bn.sortedIndexBy=function(e,t,n){return oi(e,t,so(n,2))},Bn.sortedIndexOf=function(e,t){var n=null==e?0:e.length;if(n){var r=ii(e,t);if(r<n&&Ba(e[r],t))return r}return-1},Bn.sortedLastIndex=function(e,t){return ii(e,t,!0)},Bn.sortedLastIndexBy=function(e,t,n){return oi(e,t,so(n,2),!0)},Bn.sortedLastIndexOf=function(e,t){if(null!=e&&e.length){var n=ii(e,t,!0)-1;if(Ba(e[n],t))return n}return-1},Bn.startCase=Gs,Bn.startsWith=function(e,t,n){return e=vs(e),n=null==n?0:ar(hs(n),0,e.length),t=li(t),e.slice(n,n+t.length)==t},Bn.subtract=kl,Bn.sum=function(e){return e&&e.length?Gt(e,nl):0},Bn.sumBy=function(e,t){return e&&e.length?Gt(e,so(t,2)):0},Bn.template=function(e,t,r){var i=Bn.templateSettings;r&&yo(e,t,r)&&(t=n),e=vs(e),t=xs({},t,i,Ki);var o=xs({},t.imports,i.imports,Ki),a=Ts(o),s=Kt(o,a);St(a,(function(e){if(ce.test(e))throw new we("Invalid `imports` option passed into `_.template`")}));var l,c,u=0,d=t.interpolate||ye,f="__p += '",h=Se((t.escape||ye).source+"|"+d.source+"|"+(d===K?de:ye).source+"|"+(t.evaluate||ye).source+"|$","g"),p="//# sourceURL="+(ze.call(t,"sourceURL")?(t.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++it+"]")+"\n";e.replace(h,(function(t,n,r,i,o,a){return r||(r=i),f+=e.slice(u,a).replace(_e,rn),n&&(l=!0,f+="' +\n__e("+n+") +\n'"),o&&(c=!0,f+="';\n"+o+";\n__p += '"),r&&(f+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),u=a+t.length,t})),f+="';\n";var g=ze.call(t,"variable")&&t.variable;if(g){if(ce.test(g))throw new we("Invalid `variable` option passed into `_.template`")}else f="with (obj) {\n"+f+"\n}\n";f=(c?f.replace(H,""):f).replace(q,"$1").replace($,"$1;"),f="function("+(g||"obj")+") {\n"+(g?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(l?", __e = _.escape":"")+(c?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+f+"return __p\n}";var m=Ks((function(){return ke(a,p+"return "+f).apply(n,s)}));if(m.source=f,Za(m))throw m;return m},Bn.times=function(e,t){if((e=hs(e))<1||e>u)return[];var n=f,r=bn(e,f);t=so(t),e-=f;for(var i=Yt(r,t);++n<e;)t(n);return i},Bn.toFinite=fs,Bn.toInteger=hs,Bn.toLength=ps,Bn.toLower=function(e){return vs(e).toLowerCase()},Bn.toNumber=gs,Bn.toSafeInteger=function(e){return e?ar(hs(e),-9007199254740991,u):0===e?e:0},Bn.toString=vs,Bn.toUpper=function(e){return vs(e).toUpperCase()},Bn.trim=function(e,t,r){if((e=vs(e))&&(r||t===n))return Zt(e);if(!e||!(t=li(t)))return e;var i=fn(e),o=fn(t);return _i(i,Qt(i,o),en(i,o)+1).join("")},Bn.trimEnd=function(e,t,r){if((e=vs(e))&&(r||t===n))return e.slice(0,hn(e)+1);if(!e||!(t=li(t)))return e;var i=fn(e);return _i(i,0,en(i,fn(t))+1).join("")},Bn.trimStart=function(e,t,r){if((e=vs(e))&&(r||t===n))return e.replace(re,"");if(!e||!(t=li(t)))return e;var i=fn(e);return _i(i,Qt(i,fn(t))).join("")},Bn.truncate=function(e,t){var r=30,i="...";if(Qa(t)){var o="separator"in t?t.separator:o;r="length"in t?hs(t.length):r,i="omission"in t?li(t.omission):i}var a=(e=vs(e)).length;if(on(e)){var s=fn(e);a=s.length}if(r>=a)return e;var l=r-dn(i);if(l<1)return i;var c=s?_i(s,0,l).join(""):e.slice(0,l);if(o===n)return c+i;if(s&&(l+=c.length-l),is(o)){if(e.slice(l).search(o)){var u,d=c;for(o.global||(o=Se(o.source,vs(fe.exec(o))+"g")),o.lastIndex=0;u=o.exec(d);)var f=u.index;c=c.slice(0,f===n?l:f)}}else if(e.indexOf(li(o),l)!=l){var h=c.lastIndexOf(o);h>-1&&(c=c.slice(0,h))}return c+i},Bn.unescape=function(e){return(e=vs(e))&&G.test(e)?e.replace(U,pn):e},Bn.uniqueId=function(e){var t=++Re;return vs(e)+t},Bn.upperCase=Ys,Bn.upperFirst=Zs,Bn.each=va,Bn.eachRight=ba,Bn.first=Uo,al(Bn,(ml={},yr(Bn,(function(e,t){ze.call(Bn.prototype,t)||(ml[t]=e)})),ml),{chain:!1}),Bn.VERSION="4.18.1",St(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){Bn[e].placeholder=Bn})),St(["drop","take"],(function(e,t){qn.prototype[e]=function(r){r=r===n?1:vn(hs(r),0);var i=this.__filtered__&&!t?new qn(this):this.clone();return i.__filtered__?i.__takeCount__=bn(r,i.__takeCount__):i.__views__.push({size:bn(r,f),type:e+(i.__dir__<0?"Right":"")}),i},qn.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),St(["filter","map","takeWhile"],(function(e,t){var n=t+1,r=1==n||3==n;qn.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:so(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}})),St(["head","last"],(function(e,t){var n="take"+(t?"Right":"");qn.prototype[e]=function(){return this[n](1).value()[0]}})),St(["initial","tail"],(function(e,t){var n="drop"+(t?"":"Right");qn.prototype[e]=function(){return this.__filtered__?new qn(this):this[n](1)}})),qn.prototype.compact=function(){return this.filter(nl)},qn.prototype.find=function(e){return this.filter(e).head()},qn.prototype.findLast=function(e){return this.reverse().find(e)},qn.prototype.invokeMap=Zr((function(e,t){return"function"==typeof e?new qn(this):this.map((function(n){return Lr(n,e,t)}))})),qn.prototype.reject=function(e){return this.filter(za(so(e)))},qn.prototype.slice=function(e,t){e=hs(e);var r=this;return r.__filtered__&&(e>0||t<0)?new qn(r):(e<0?r=r.takeRight(-e):e&&(r=r.drop(e)),t!==n&&(r=(t=hs(t))<0?r.dropRight(-t):r.take(t-e)),r)},qn.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},qn.prototype.toArray=function(){return this.take(f)},yr(qn.prototype,(function(e,t){var r=/^(?:filter|find|map|reject)|While$/.test(t),i=/^(?:head|last)$/.test(t),o=Bn[i?"take"+("last"==t?"Right":""):t],a=i||/^find/.test(t);o&&(Bn.prototype[t]=function(){var t=this.__wrapped__,s=i?[1]:arguments,l=t instanceof qn,c=s[0],u=l||qa(t),d=function(e){var t=o.apply(Bn,Ot([e],s));return i&&f?t[0]:t};u&&r&&"function"==typeof c&&1!=c.length&&(l=u=!1);var f=this.__chain__,h=!!this.__actions__.length,p=a&&!f,g=l&&!h;if(!a&&u){t=g?t:new qn(this);var m=e.apply(t,s);return m.__actions__.push({func:fa,args:[d],thisArg:n}),new Hn(m,f)}return p&&g?e.apply(this,s):(m=this.thru(d),p?i?m.value()[0]:m.value():m)})})),St(["pop","push","shift","sort","splice","unshift"],(function(e){var t=Le[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",r=/^(?:pop|shift)$/.test(e);Bn.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var i=this.value();return t.apply(qa(i)?i:[],e)}return this[n]((function(n){return t.apply(qa(n)?n:[],e)}))}})),yr(qn.prototype,(function(e,t){var n=Bn[t];if(n){var r=n.name+"";ze.call(Tn,r)||(Tn[r]=[]),Tn[r].push({name:t,func:n})}})),Tn[Bi(n,2).name]=[{name:"wrapper",func:n}],qn.prototype.clone=function(){var e=new qn(this.__wrapped__);return e.__actions__=Ei(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=Ei(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=Ei(this.__views__),e},qn.prototype.reverse=function(){if(this.__filtered__){var e=new qn(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},qn.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=qa(e),r=t<0,i=n?e.length:0,o=function(e,t,n){for(var r=-1,i=n.length;++r<i;){var o=n[r],a=o.size;switch(o.type){case"drop":e+=a;break;case"dropRight":t-=a;break;case"take":t=bn(t,e+a);break;case"takeRight":e=vn(e,t-a)}}return{start:e,end:t}}(0,i,this.__views__),a=o.start,s=o.end,l=s-a,c=r?s:a-1,u=this.__iteratees__,d=u.length,f=0,h=bn(l,this.__takeCount__);if(!n||!r&&i==l&&h==l)return hi(e,this.__actions__);var p=[];e:for(;l--&&f<h;){for(var g=-1,m=e[c+=t];++g<d;){var v=u[g],b=v.iteratee,y=v.type,_=b(m);if(2==y)m=_;else if(!_){if(1==y)continue e;break e}}p[f++]=m}return p},Bn.prototype.at=ha,Bn.prototype.chain=function(){return da(this)},Bn.prototype.commit=function(){return new Hn(this.value(),this.__chain__)},Bn.prototype.next=function(){this.__values__===n&&(this.__values__=ds(this.value()));var e=this.__index__>=this.__values__.length;return{done:e,value:e?n:this.__values__[this.__index__++]}},Bn.prototype.plant=function(e){for(var t,r=this;r instanceof Wn;){var i=Io(r);i.__index__=0,i.__values__=n,t?o.__wrapped__=i:t=i;var o=i;r=r.__wrapped__}return o.__wrapped__=e,t},Bn.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof qn){var t=e;return this.__actions__.length&&(t=new qn(this)),(t=t.reverse()).__actions__.push({func:fa,args:[Qo],thisArg:n}),new Hn(t,this.__chain__)}return this.thru(Qo)},Bn.prototype.toJSON=Bn.prototype.valueOf=Bn.prototype.value=function(){return hi(this.__wrapped__,this.__actions__)},Bn.prototype.first=Bn.prototype.head,Xe&&(Bn.prototype[Xe]=function(){return this}),Bn}();pt?((pt.exports=gn)._=gn,ht._=gn):ft._=gn}).call(rg)}(ng,ng.exports)),ng.exports);const og=e=>{const{debounceTimeout:t=0,children:n}=e,r=l(null),i=m(r.current?.clientWidth??0),o=m(r.current?.clientHeight??0),a=l(!0);return u((()=>()=>{a.current=!1}),[]),u((()=>{if(!r.current)return;const e=ig.debounce((e=>{a.current&&v((()=>{const t=Math.floor(e.clientWidth),n=Math.floor(e.clientHeight);t!==i.peek()&&(i.value=t),n!==o.peek()&&(o.value=n)}))}),t);e(r.current);const n=new ResizeObserver((t=>{for(const n of t)e(n.target)}));n.observe(r.current);const s=()=>{r.current&&e(r.current)};return window.addEventListener("resize",s),()=>{n.disconnect(),window.removeEventListener("resize",s)}}),[t,i,o]),An("div",{ref:r,style:{width:"100%"},children:n(i.value,o.value)})};var ag="styles_selector__znOxx",sg="styles_wrapper__lYgmR",lg="styles_view__RIAGy",cg="styles_image__tDz1w",ug="styles_imageCard__q1Tt-",dg="styles_imageLabel__-Bqlj",fg="styles_overlayContainer__nBpEU",hg="styles_overlayHandle__SYBWC";const pg=s({width:0,height:0}),gg=e=>An(og,{children:(t,n)=>An(pg.Provider,{value:{width:t,height:n},children:An("div",{className:sg,children:e.children})})}),mg=async e=>{if(!e)return null;const t=new Image,n=new Promise((e=>{t.onload=e,t.onerror=e}));return t.src=e,await n,t},vg=e=>{const t=f(pg),n=m(!0),r=m(null),i=m(null),o=m(null),a=m(t);u((()=>{a.value=t}),[t,a]);const s=g((()=>{let t=(e=>{const t=[];return e.actual&&t.push("actual"),e.expected&&t.push("expected"),e.diff&&t.push("diff"),e.actual&&e.expected&&t.push("overlay"),e.actual&&e.expected&&t.push("side-by-side"),t})(e);return null===r.value&&(t=t.filter((e=>"expected"!==e&&"overlay"!==e&&"side-by-side"!==e))),null===i.value&&(t=t.filter((e=>"actual"!==e&&"overlay"!==e&&"side-by-side"!==e))),null===o.value&&(t=t.filter((e=>"diff"!==e))),t})),l=m(s.value[0]);b((()=>{!1===n.value&&(l.value=s.value[0])}));const c=g((()=>0===s.value.length||(!(!e.actual||null!==i.value)||(!(!e.expected||null!==r.value)||!(!e.diff||null!==o.value))))),d=g((()=>{const e="undefined"==typeof window?1:window.devicePixelRatio;return{expected:{width:(r.value?.naturalWidth??0)/e,height:(r.value?.naturalHeight??0)/e},actual:{width:(i.value?.naturalWidth??0)/e,height:(i.value?.naturalHeight??0)/e},diff:{width:(o.value?.naturalWidth??0)/e,height:(o.value?.naturalHeight??0)/e}}}));return u((()=>{const t=new AbortController;return n.value=!0,Promise.all([mg(e.expected),mg(e.actual),mg(e.diff)]).then((([e,a,s])=>{t.signal.aborted||v((()=>{r.value=e,i.value=a,o.value=s,n.value=!1}))})),()=>{t.abort()}}),[e,n,r,i,o]),{data:e,diffModes:s,isLoading:n,failedToLoad:c,containerDimensions:a,imageDimensions:d,images:{expected:r,actual:i,diff:o},diffMode:l}},bg=s(null),yg=()=>{const e=f(bg);if(!e)throw new Error("ImageDiffContext must be used within a ImageDiffContextProvider");return e},_g=e=>{const{children:t,diff:n}=e,r=vg(n);return An(bg.Provider,{value:r,children:t})},xg=s((()=>{})),wg=()=>{},kg=e=>{const{children:t,i18n:n}=e;return An(xg.Provider,{value:n??wg,children:t})},Cg=()=>f(xg),Ag={diff:"Diff",actual:"Actual",expected:"Expected","side-by-side":"Side by side",overlay:"Overlay"},Sg=()=>{const{diffModes:e,diffMode:t}=yg(),n=Cg();return An("div",{className:ag,children:An(Jp,{children:An(Qp,{children:An(y,{each:e,children:e=>An(eg,{tabId:e,isCurrentTab:t.value===e,onClick:()=>t.value=e,children:n?.(`mode.${e}`)??Ag[e]},e)})})})})};var Mg={tag:"styles_tag__1nIw-",neutral:"styles_neutral__-92BW",secondary:"styles_secondary__hAj22",successful:"styles_successful__72b7G",failed:"styles_failed__XLSBR",warning:"styles_warning__fx-w0","neutral-light":"styles_neutral-light__JtTuD","successful-light":"styles_successful-light__WpXqF","failed-light":"styles_failed-light__TrGuK","warning-light":"styles_warning-light__GFi3S"};const Eg=({className:e,skin:t,children:n,"data-testid":r})=>An(Ln,{className:ie(Mg.tag,e,t&&Mg[t]),bold:!0,size:"s",type:"ui","data-testid":r,children:n}),Lg=e=>{const{className:t,...n}=e;return An("img",{className:ie(t,cg),...n,draggable:!1})},Tg=e=>{const{diff:t,actual:n,expected:r,containerSize:i}=e;return Math.min(...[t,n,r,i].filter((e=>e>0)))},Dg=e=>{const{options:t,current:n,onChange:r}=e,i=Cg();return An(Tp,{size:"s",menuTrigger:({isOpened:e,onClick:t})=>An(Nn,{style:"ghost",size:"s",text:i(`image.${n}`)??ig.capitalize(n),isExpanded:e,onClick:t}),children:An(Tp.Section,{children:t.filter((e=>e!==n)).map((e=>An(Tp.Item,{onClick:()=>r(e),children:i(`image.${e}`)??ig.capitalize(e)},e)))})})},Fg=e=>{const{sizes:t,children:n}=e;return An("div",{className:dg,children:[n,An(Eg,{skin:"secondary",children:`${t.width} × ${t.height}`})]})},Og=()=>{const{images:e,imageDimensions:t,containerDimensions:n}=yg(),r=g((()=>Tg({diff:t.value.diff.width,actual:t.value.actual.width,expected:t.value.expected.width,containerSize:n.value.width})));return An("div",{className:lg,children:An("div",{className:ug,children:[An(Fg,{sizes:{height:e.diff.value?.naturalHeight??0,width:e.diff.value?.naturalWidth??0}}),An(Lg,{src:e.diff.value?.src,width:r.value})]})})},zg=()=>{const{images:e,imageDimensions:t,containerDimensions:n}=yg(),r=g((()=>Tg({diff:t.value.diff.width,actual:t.value.actual.width,expected:t.value.expected.width,containerSize:n.value.width})));return An("div",{className:lg,children:An("div",{className:ug,children:[An(Fg,{sizes:{height:e.actual.value?.naturalHeight??0,width:e.actual.value?.naturalWidth??0}}),An(Lg,{src:e.actual.value?.src,width:r.value})]})})},Rg=()=>{const{images:e,imageDimensions:t,containerDimensions:n}=yg(),r=g((()=>Tg({diff:t.value.diff.width,actual:t.value.actual.width,expected:t.value.expected.width,containerSize:n.value.width})));return An("div",{className:lg,children:An("div",{className:ug,children:[An(Fg,{sizes:{height:e.expected.value?.naturalHeight??0,width:e.expected.value?.naturalWidth??0}}),An(Lg,{src:e.expected.value?.src,width:r.value})]})})},Ng=()=>{const{images:e,imageDimensions:t,containerDimensions:n}=yg(),r=e.expected.value,i=e.actual.value,o=g((()=>Tg({diff:t.value.diff.width,actual:t.value.actual.width,expected:t.value.expected.width,containerSize:n.value.width}))),a=m(o.value/2),s=l(null),c=m(!1),u=g((()=>{const e=a.value;return e<0?0:e>o.value?o.value-3:a.value})),d=e=>{const t=s.current?.getBoundingClientRect();t&&(a.value=e-t.left)},f=()=>{c.value=!1},h=g((()=>{const e=o.value/t.value.actual.width,n=o.value/t.value.expected.width;return Math.max(t.value.actual.height*e,t.value.expected.height*n)}));return An("div",{className:lg,children:[An(Fg,{sizes:{width:r?.naturalWidth??0,height:r?.naturalHeight??0}}),An("div",{ref:s,className:fg,style:{width:o.value,height:h.value},children:[An("div",{className:ug,children:An(Lg,{src:r?.src,width:o.value})}),An("div",{className:ug,style:{maxWidth:u.value},children:An(Lg,{src:i?.src,width:o.value})}),An("div",{className:hg,style:{transform:`translateX(${u.value}px)`,height:h.value},onPointerDown:e=>{e.preventDefault(),c.value=!0,e.currentTarget.setPointerCapture(e.pointerId),d(e.clientX)},onPointerMove:e=>{c.value&&d(e.clientX)},onPointerUp:f,onPointerCancel:f,onLostPointerCapture:f,"data-dragging":c.value||void 0})]})]})},Pg=()=>{const{images:e,imageDimensions:t,containerDimensions:n}=yg(),r=m("actual"),i=m("expected"),o=g((()=>["actual","expected","diff"])),a=g((()=>["actual","expected","diff"])),s=g((()=>"diff"===r.value?[{width:e.diff.value?.naturalWidth??0,height:e.diff.value?.naturalHeight??0},e.diff.value?.src]:"actual"===r.value?[{width:e.actual.value?.naturalWidth??0,height:e.actual.value?.naturalHeight??0},e.actual.value?.src]:[{width:e.expected.value?.naturalWidth??0,height:e.expected.value?.naturalHeight??0},e.expected.value?.src])),l=g((()=>"diff"===i.value?[{width:e.diff.value?.naturalWidth??0,height:e.diff.value?.naturalHeight??0},e.diff.value?.src]:"actual"===i.value?[{width:e.actual.value?.naturalWidth??0,height:e.actual.value?.naturalHeight??0},e.actual.value?.src]:[{width:e.expected.value?.naturalWidth??0,height:e.expected.value?.naturalHeight??0},e.expected.value?.src])),c=g((()=>Tg({diff:t.value.diff.width,actual:t.value.actual.width,expected:t.value.expected.width,containerSize:n.value.width}))),u=g((()=>2*c.value+24>n.value.width?n.value.width/2-24:c.value)),d=u.value>320,[f,h]=s.value,[p,v]=l.value;return An("div",{className:lg,"data-row":d||void 0,children:[An("div",{className:ug,children:[An(Fg,{sizes:f,children:An(Dg,{options:o.value,current:r.value,onChange:e=>{r.value=e}})}),An(Lg,{src:h,width:d?u.value:n.value.width})]}),An("div",{className:ug,children:[An(Fg,{sizes:p,children:An(Dg,{options:a.value,current:i.value,onChange:e=>{i.value=e}})}),An(Lg,{src:v,width:d?u.value:n.value.width})]})]})},Ig=()=>{const{diffMode:e}=yg();switch(e.value){case"diff":return An(Og,{});case"actual":return An(zg,{});case"expected":return An(Rg,{});case"side-by-side":return An(Pg,{});case"overlay":return An(Ng,{})}},Bg=()=>{const e=Cg(),{isLoading:t,failedToLoad:n}=yg();return t.value?An(En,{size:"m"}):n.value?An(jp,{title:e("empty.failed-to-load")??"Failed to load",icon:Sn.lineImagesImage}):An(r,{children:[An(Sg,{}),An(Ig,{})]})},jg=e=>{const{i18n:t,diff:n}=e;return An(kg,{i18n:t,children:An(gg,{children:An(_g,{diff:n,children:An(Bg,{})})})})},Wg=({attachment:e,item:t})=>e&&"src"in e?An("video",{"data-testid":"video-attachment-content",class:Vp["test-result-attachment-video"],controls:!0,loop:!0,muted:!0,children:An("source",{src:e.src,type:t.link.contentType})}):An(En,{}),Hg="<style data-allure-preview-theme>:root,html,body{background:#1c1c1e !important;color:#e5e5e7 !important;}body *{border-color:rgba(255,255,255,0.12) !important;}</style>",qg=({attachment:e})=>{const[t,n]=c(""),r=e.text??"",i=r.length>0?yd(r):"";return u((()=>{if(i){let e=i;(()=>{const e="undefined"!=typeof document?document.documentElement.getAttribute("data-theme"):null;return"dark"===e||"light"!==e&&"undefined"!=typeof window&&window.matchMedia("(prefers-color-scheme: dark)").matches})()&&(e=/<head(\s[^>]*)?>/i.test(i)?i.replace(/<head(\s[^>]*)?>/i,(e=>e+Hg)):/<body(\s[^>]*)?>/i.test(i)?i.replace(/<body(\s[^>]*)?>/i,(e=>e+Hg)):Hg+i);const t=new Blob([e],{type:"text/html; charset=utf-8"}),r=URL.createObjectURL(t);return n(r),()=>{URL.revokeObjectURL(r)}}}),[i]),i?An("div",{className:Vp["html-attachment-preview"],children:An("iframe",{src:t,width:"100%",height:"100%",frameBorder:"0",sandbox:"allow-same-origin"})}):null},$g="__ALLURE_REDACTED__",Ug="text/plain",Vg="*****",Gg="Value is masked",Yg=e=>"object"==typeof e&&null!==e&&!Array.isArray(e),Zg=e=>null==e?"":String(e),Xg=e=>{const t="number"==typeof e?e:"string"==typeof e&&e.trim()?Number(e):NaN;return Number.isFinite(t)?t:void 0},Kg=e=>e.split(";")[0].trim().toLowerCase(),Jg=e=>{const t=Kg(e);return"application/json"===t||"text/json"===t||t.endsWith("+json")},Qg=(e,t)=>{const n=t.toLowerCase();return e.find((e=>e.name.toLowerCase()===n))?.value??""},em=e=>e.replaceAll($g,Vg),tm=(e,t)=>Array.isArray(e)?e.map(t).filter((e=>null!==e)):[],nm=e=>{if(!Yg(e))return null;const t=Zg(e.name).trim(),n=Zg(e.value);return t||n?{name:t,value:n,masked:n===$g}:null},rm=e=>tm(e,nm),im=e=>{if(!Yg(e))return null;const t=nm(e);return t?{...t,domain:Zg(e.domain).trim(),expires:Zg(e.expires).trim(),httpOnly:!0===e.httpOnly,maxAge:Xg(e.maxAge),path:Zg(e.path).trim(),sameSite:Zg(e.sameSite).trim(),secure:!0===e.secure}:null},om=e=>tm(e,im),am=e=>Yg(e)?{type:Zg(e.type).trim(),complete:"boolean"==typeof e.complete?String(e.complete):"",chunkCount:Xg(e.chunkCount)}:null,sm=e=>{if(!Yg(e))return null;const t=rm(e.headers),n=void 0!==e.value&&null!==e.value;return{name:Zg(e.name).trim(),fileName:Zg(e.fileName).trim(),headers:t,contentType:Zg(e.contentType).trim()||Qg(t,"content-type"),encoding:Zg(e.encoding).trim().toLowerCase()||"utf8",value:n?String(e.value):"",hasValue:n,size:Xg(e.size),truncated:!0===e.truncated}},lm=e=>tm(e,sm),cm=(e,t="")=>{if(!Yg(e))return null;const n=void 0!==e.value&&null!==e.value;return{contentType:Zg(e.contentType).trim()||t,encoding:Zg(e.encoding).trim().toLowerCase()||"utf8",value:n?String(e.value):"",hasValue:n,size:Xg(e.size),truncated:!0===e.truncated,form:rm(e.form),parts:lm(e.parts),stream:am(e.stream)}},um=e=>{if(!Yg(e))return null;const t=rm(e.headers);return{method:Zg(e.method).trim().toUpperCase()||"GET",url:Zg(e.url).trim(),httpVersion:Zg(e.httpVersion).trim(),headers:t,cookies:om(e.cookies),query:rm(e.query),body:cm(e.body,Qg(t,"content-type")),trailers:rm(e.trailers)}},dm=e=>Yg(e)?{status:Zg(e.status).trim(),reason:Zg(e.statusText).trim(),headers:rm(e.headers)}:null,fm=e=>tm(e,dm),hm=e=>{if(!Yg(e))return null;const t=rm(e.headers);return{status:Zg(e.status).trim(),reason:Zg(e.statusText).trim(),httpVersion:Zg(e.httpVersion).trim(),headers:t,cookies:om(e.cookies),body:cm(e.body,Qg(t,"content-type")),trailers:rm(e.trailers),informationalResponses:fm(e.informationalResponses)}},pm=e=>{if(!Yg(e))return null;const t=Zg(e.name).trim(),n=Zg(e.message).trim(),r=Zg(e.stack).trim();return t||n||r?{name:t,message:n,stack:r}:null},gm=()=>An("span",{"aria-label":Gg,className:Vp["http-attachment__masked-value"],"data-http-masked-value":"true",tabIndex:0,title:Gg,children:Vg}),mm=({pair:e})=>e.masked?An(gm,{}):An(r,{children:em(e.value)}),vm=({columns:e})=>An("thead",{children:An("tr",{children:e.map(((e,t)=>An("th",{children:e},`${e}-${t}`)))})}),bm=({children:e,count:t,defaultOpen:n,title:r,variant:i="metadata"})=>An("details",{className:`${Vp["http-attachment__group"]} ${Vp[`http-attachment__group--${i}`]}`,"data-http-group":r.toLowerCase().replace(/\s+/g,"-"),open:n,children:[An("summary",{className:Vp["http-attachment__group-summary"],children:An("span",{className:Vp["http-attachment__group-title"],children:[r,"number"==typeof t?` (${t})`:""]})}),An("div",{className:Vp["http-attachment__group-content"],children:e})]}),ym=({pairs:e})=>An("table",{className:Vp["http-attachment__table"],children:[An(vm,{columns:["Name","Value"]}),An("tbody",{children:e.map(((e,t)=>An("tr",{children:[An("td",{className:Vp["http-attachment__pair-name"],children:e.name}),An("td",{className:Vp["http-attachment__pair-value"],children:An(mm,{pair:e})})]},`${e.name}-${t}`)))})]}),_m=({defaultOpen:e,pairs:t,title:n})=>t.length?An(bm,{count:t.length,defaultOpen:e,title:n,children:An(ym,{pairs:t})}):null,xm=e=>[e.domain&&`Domain=${e.domain}`,e.path&&`Path=${e.path}`,e.expires&&`Expires=${e.expires}`,"number"==typeof e.maxAge&&`Max-Age=${e.maxAge}`,e.sameSite&&`SameSite=${e.sameSite}`,e.secure&&"Secure",e.httpOnly&&"HttpOnly"].filter((e=>Boolean(e))).join("; "),wm=({cookies:e,defaultOpen:t,title:n})=>e.length?An(bm,{count:e.length,defaultOpen:t,title:n,children:An("table",{className:Vp["http-attachment__table"],children:[An(vm,{columns:["Name","Value","Attributes"]}),An("tbody",{children:e.map(((e,t)=>An("tr",{children:[An("td",{className:Vp["http-attachment__pair-name"],children:e.name}),An("td",{className:Vp["http-attachment__pair-value"],children:An(mm,{pair:e})}),An("td",{className:Vp["http-attachment__cookie-attrs"],children:xm(e)})]},`${e.name}-${t}`)))})]})}):null,km=({name:e,value:t})=>t?An("div",{className:Vp["http-attachment__meta-row"],children:[An("div",{className:Vp["http-attachment__label"],children:e}),An("div",{className:Vp["http-attachment__value"],children:t})]}):null,Cm=e=>void 0!==e&&""!==e,Am=(e,t)=>[e,t].filter(Cm).join(" "),Sm=e=>e.find((([,e])=>e>0))?.[0]??null,Mm=({defaultOpen:e,responses:t})=>t.length?An(bm,{count:t.length,defaultOpen:e,title:"Informational responses",children:An("table",{className:Vp["http-attachment__table"],children:[An(vm,{columns:["Status","Headers"]}),An("tbody",{children:t.map((({headers:e,reason:t,status:n},r)=>An("tr",{children:[An("td",{className:Vp["http-attachment__pair-name"],children:Am(n,t)}),An("td",{className:Vp["http-attachment__pair-value"],children:e.map(((e,t)=>An("span",{children:[t>0?"; ":null,e.name,": ",An(mm,{pair:e})]},`${e.name}-${t}`)))})]},`${n}-${r}`)))})]})}):null,Em=({values:e})=>e.length?An("div",{className:Vp["http-attachment__meta-chips"],children:e.map((e=>An("span",{className:Vp["http-attachment__meta-chip"],children:e},e)))}):null,Lm=e=>[e.contentType||"body","utf8"!==e.encoding&&e.encoding,"number"==typeof e.size&&`${e.size} bytes`,e.truncated&&"truncated"].filter((e=>Boolean(e))),Tm=e=>{const t=Kg(e||Ug);return Jg(t)?"json":(e=>{const t=Kg(e);return"text/html"===t||"application/xhtml+xml"===t})(t)?"html":t.split("/").pop()?.replace(/[^a-z0-9_-]/gi,"-")||"text"},Dm=e=>{const t=Kg(e||Ug);return t.startsWith("image/")?"image":t.startsWith("video/")?"video":t.startsWith("text/")||"application/json"===t||"application/xml"===t||t.endsWith("+json")?"text":"binary"},Fm=({body:e,beautify:t})=>{const n=Dm(e.contentType);if("image"===n||"video"===n){const t="base64"===e.encoding?(e=>`data:${e.contentType||"application/octet-stream"};base64,${e.value.replace(/\s/g,"")}`)(e):(e=>`data:${e.contentType||Ug};charset=utf-8,${encodeURIComponent(e.value)}`)(e);return"image"===n?An("div",{"data-testid":"image-attachment-content",className:Vp["test-result-attachment-image"],children:An("img",{alt:"HTTP body",src:t})}):An("video",{"data-testid":"video-attachment-content",className:Vp["test-result-attachment-video"],controls:!0,loop:!0,muted:!0,children:An("source",{src:t,type:e.contentType})})}if("base64"===e.encoding)return An("div",{className:Vp["http-attachment__body-message"],children:["No inline view for ",e.contentType||"this content type","."]});if("text"===n){const n=Tm(e.contentType),r=t&&Jg(e.contentType)?(e=>{try{return JSON.stringify(JSON.parse(e),null,2)}catch{return e}})(e.value):e.value;return An("pre",{"data-testid":"code-attachment-content",className:`language-${n} line-numbers`,children:An("code",{children:em(r)})})}return An("div",{className:Vp["http-attachment__body-message"],children:["No inline view for ",e.contentType||"this content type","."]})},Om=e=>[e.contentType,"utf8"!==e.encoding&&e.encoding,"number"==typeof e.size&&`${e.size} bytes`,e.truncated&&"truncated"].filter((e=>Boolean(e))),zm=e=>[e.name,e.fileName].filter(Boolean).join(" | ")||"unnamed",Rm=({headers:e})=>e.length?An("div",{className:Vp["http-attachment__part-section"],"data-http-part-headers":"true",children:[An("div",{className:Vp["http-attachment__part-section-title"],children:"Headers"}),An("div",{className:Vp["http-attachment__part-header-list"],children:e.map(((e,t)=>An("div",{className:Vp["http-attachment__part-header-row"],children:[An("span",{className:Vp["http-attachment__part-header-name"],children:e.name}),An("span",{className:Vp["http-attachment__part-header-value"],children:An(mm,{pair:e})})]},`${e.name}-${t}`)))})]}):null,Nm=({defaultOpen:e,parts:t})=>t.length?An(bm,{count:t.length,defaultOpen:e,title:"Parts",variant:"body",children:An("div",{className:Vp["http-attachment__part-list"],children:t.map(((e,t)=>An("div",{className:Vp["http-attachment__part-card"],"data-http-part":"true",children:[An("div",{className:Vp["http-attachment__part-card-header"],children:[An("div",{className:Vp["http-attachment__part-title"],children:zm(e)}),An(Em,{values:Om(e)})]}),An(Rm,{headers:e.headers}),e.hasValue?An("pre",{className:Vp["http-attachment__part-value"],children:e.value===$g?An(gm,{}):em(e.value)}):null]},`${e.name}-${e.fileName}-${t}`)))})}):null,Pm=({defaultOpen:e,stream:t})=>{if(!t)return null;const n=(e=>[e.type&&{name:"type",value:e.type,masked:!1},e.complete&&{name:"complete",value:e.complete,masked:!1},"number"==typeof e.chunkCount&&{name:"chunkCount",value:String(e.chunkCount),masked:!1}].filter(Boolean))(t);return An(bm,{count:n.length||void 0,defaultOpen:e||!n.length,title:"Stream",variant:"body",children:n.length?An(ym,{pairs:n}):An("div",{className:Vp["http-attachment__body-message"],children:"Stream metadata captured."})})},Im=({body:e,beautify:t})=>e.form.length?An(bm,{count:e.form.length,defaultOpen:!0,title:"Form",variant:"body",children:An(ym,{pairs:e.form})}):e.parts.length?An(Nm,{defaultOpen:!0,parts:e.parts}):e.stream?An(r,{children:[An(Pm,{defaultOpen:!0,stream:e.stream}),e.hasValue?An(Fm,{body:e,beautify:t}):null]}):An(Fm,{body:e,beautify:t}),Bm=({body:e})=>{const[t,n]=c(!1);if(!e)return null;const r=Boolean(e.form.length||e.parts.length||e.stream),i=(e=>e.hasValue&&"base64"!==e.encoding&&"text"===Dm(e.contentType))(e),o=i&&Jg(e.contentType),a=i;return An("div",{className:Vp["http-attachment__body"],children:[An("div",{className:Vp["http-attachment__body-toolbar"],children:[An("div",{className:Vp["http-attachment__body-heading"],children:[An("h4",{className:Vp["http-attachment__body-title"],children:"Body"}),An(Em,{values:Lm(e)})]}),(a||o)&&An("div",{className:Vp["http-attachment__body-actions"],children:[o&&An("button",{className:Vp["http-attachment__body-action"],onClick:()=>n((e=>!e)),type:"button",children:t?"Original":"Pretty"}),a&&An("button",{className:Vp["http-attachment__body-action"],onClick:()=>(async e=>{try{if(navigator.clipboard)return void await navigator.clipboard.writeText(e);const t=document.createElement("textarea");t.value=e,t.style.position="fixed",t.style.opacity="0",document.body.appendChild(t),t.select(),document.execCommand("copy"),document.body.removeChild(t)}catch{}})(e.value),type:"button",children:"Copy"})]})]}),An("div",{className:`${Vp["http-attachment__body-content"]} ${r?Vp["http-attachment__body-content--structured"]:""}`,children:e.hasValue||r?An(Im,{body:e,beautify:t}):An("div",{className:Vp["http-attachment__body-message"],children:"No body captured."})})]})},jm=({method:e,url:t})=>An(r,{children:[An("span",{className:Vp["http-attachment__method"],"data-http-method":"true",children:e}),An("span",{className:Vp["http-attachment__url"],children:t})]}),Wm=({durationMs:e,response:t})=>{const n=Am(t.status,t.reason);return An(r,{children:[n?An("span",{className:Vp["http-attachment__status"],children:n}):null,e?An("span",{className:Vp["http-attachment__duration"],children:e}):null]})},Hm=({children:e,title:t})=>An("div",{className:Vp["http-attachment__panel-header"],children:[An("div",{className:Vp["http-attachment__panel-title"],children:t}),e?An("div",{className:Vp["http-attachment__panel-line"],children:e}):null]}),qm=({request:e})=>{const t=Boolean(e.body)?null:Sm([["query",e.query.length],["headers",e.headers.length],["cookies",e.cookies.length],["trailers",e.trailers.length]]),n=Boolean(e.query.length||e.headers.length||e.cookies.length||e.trailers.length);return(e=>Boolean(e.httpVersion||e.query.length||e.headers.length||e.cookies.length||e.trailers.length||e.body))(e)?An("section",{className:Vp["http-attachment__panel"],"data-http-panel":"request",children:[An(Hm,{title:"Request",children:e.httpVersion?An("span",{className:Vp["http-attachment__version"],children:e.httpVersion}):null}),An(Bm,{body:e.body}),n?An("div",{className:Vp["http-attachment__groups"],children:[An(_m,{defaultOpen:"query"===t,pairs:e.query,title:"Query"}),An(_m,{defaultOpen:"headers"===t,pairs:e.headers,title:"Headers"}),An(wm,{defaultOpen:"cookies"===t,cookies:e.cookies,title:"Cookies"}),An(_m,{defaultOpen:"trailers"===t,pairs:e.trailers,title:"Trailers"})]}):null]}):null},$m=({durationMs:e,response:t})=>{if(!t)return An("section",{className:Vp["http-attachment__panel"],"data-http-panel":"response",children:[An(Hm,{title:"Response"}),An("div",{className:Vp["http-attachment__empty"],children:"No response captured."})]});if(!(e=>Boolean(e.status||e.reason||e.httpVersion||e.headers.length||e.cookies.length||e.trailers.length||e.informationalResponses.length||e.body))(t))return null;const n=Boolean(t.body)?null:Sm([["informational",t.informationalResponses.length],["headers",t.headers.length],["cookies",t.cookies.length],["trailers",t.trailers.length]]),r=Boolean(t.informationalResponses.length||t.headers.length||t.cookies.length||t.trailers.length);return An("section",{className:Vp["http-attachment__panel"],"data-http-panel":"response",children:[An(Hm,{title:"Response",children:[An(Wm,{durationMs:e,response:t}),t.httpVersion?An("span",{className:Vp["http-attachment__version"],children:t.httpVersion}):null]}),An(Bm,{body:t.body}),r?An("div",{className:Vp["http-attachment__groups"],children:[An(Mm,{defaultOpen:"informational"===n,responses:t.informationalResponses}),An(_m,{defaultOpen:"headers"===n,pairs:t.headers,title:"Headers"}),An(wm,{defaultOpen:"cookies"===n,cookies:t.cookies,title:"Cookies"}),An(_m,{defaultOpen:"trailers"===n,pairs:t.trailers,title:"Trailers"})]}):null]})},Um=({error:e})=>e?An("section",{className:`${Vp["http-attachment__panel"]} ${Vp["http-attachment__panel--error"]}`,"data-http-panel":"error",children:[An(Hm,{title:"Error"}),An("div",{className:Vp["http-attachment__meta"],children:[An(km,{name:"Name",value:e.name}),An(km,{name:"Message",value:e.message})]}),e.stack?An(bm,{defaultOpen:!0,title:"Stack",children:An("div",{className:Vp["http-attachment__body-content"],children:An("pre",{"data-testid":"code-attachment-content",className:"language-text line-numbers",children:An("code",{children:e.stack})})})}):null]}):null,Vm=({durationMs:e,request:t,response:n})=>{const r=n?Am(n.status,n.reason):"";return An("div",{className:Vp["http-attachment__summary"],children:[An(jm,{method:t.method,url:t.url}),r||e?An("span",{className:Vp["http-attachment__exchange-arrow"],children:"→"}):null,r?An("span",{className:Vp["http-attachment__status"],children:r}):null,e?An("span",{className:Vp["http-attachment__duration"],children:e}):null]})},Gm=({attachment:e})=>{const t=(e=>{if(!Yg(e))return{request:null,response:null,error:null,durationMs:""};const t=Xg(e.start),n=Xg(e.stop),r=void 0!==t&&void 0!==n&&n>=t?n-t+" ms":"";return{request:um(e.request),response:hm(e.response),error:pm(e.error),durationMs:r}})(e&&"http"in e?e.http:null);return t.request?An("div",{className:Vp["http-attachment"],"data-testid":"http-attachment-content",children:[An(Vm,{request:t.request,response:t.response,durationMs:t.durationMs}),An(qm,{request:t.request}),An($m,{response:t.response,durationMs:t.durationMs}),An(Um,{error:t.error})]}):An("div",{className:Vp["http-attachment"],"data-testid":"http-attachment-content",children:An("div",{className:Vp["http-attachment__empty"],children:"Invalid HTTP Exchange attachment: request is missing."})})},Ym={};function Zm(e,t){"string"!=typeof t&&(t=Zm.defaultChars);const n=function(e){let t=Ym[e];if(t)return t;t=Ym[e]=[];for(let e=0;e<128;e++){const n=String.fromCharCode(e);t.push(n)}for(let n=0;n<e.length;n++){const r=e.charCodeAt(n);t[r]="%"+("0"+r.toString(16).toUpperCase()).slice(-2)}return t}(t);return e.replace(/(%[a-f0-9]{2})+/gi,(function(e){let t="";for(let r=0,i=e.length;r<i;r+=3){const o=parseInt(e.slice(r+1,r+3),16);if(o<128)t+=n[o];else{if(192==(224&o)&&r+3<i){const n=parseInt(e.slice(r+4,r+6),16);if(128==(192&n)){const e=o<<6&1984|63&n;t+=e<128?"��":String.fromCharCode(e),r+=3;continue}}if(224==(240&o)&&r+6<i){const n=parseInt(e.slice(r+4,r+6),16),i=parseInt(e.slice(r+7,r+9),16);if(128==(192&n)&&128==(192&i)){const e=o<<12&61440|n<<6&4032|63&i;t+=e<2048||e>=55296&&e<=57343?"���":String.fromCharCode(e),r+=6;continue}}if(240==(248&o)&&r+9<i){const n=parseInt(e.slice(r+4,r+6),16),i=parseInt(e.slice(r+7,r+9),16),a=parseInt(e.slice(r+10,r+12),16);if(128==(192&n)&&128==(192&i)&&128==(192&a)){let e=o<<18&1835008|n<<12&258048|i<<6&4032|63&a;e<65536||e>1114111?t+="����":(e-=65536,t+=String.fromCharCode(55296+(e>>10),56320+(1023&e))),r+=9;continue}}t+="�"}}return t}))}Zm.defaultChars=";/?:@&=+$,#",Zm.componentChars="";const Xm={};function Km(e,t,n){"string"!=typeof t&&(n=t,t=Km.defaultChars),void 0===n&&(n=!0);const r=function(e){let t=Xm[e];if(t)return t;t=Xm[e]=[];for(let e=0;e<128;e++){const n=String.fromCharCode(e);/^[0-9a-z]$/i.test(n)?t.push(n):t.push("%"+("0"+e.toString(16).toUpperCase()).slice(-2))}for(let n=0;n<e.length;n++)t[e.charCodeAt(n)]=e[n];return t}(t);let i="";for(let t=0,o=e.length;t<o;t++){const a=e.charCodeAt(t);if(n&&37===a&&t+2<o&&/^[0-9a-f]{2}$/i.test(e.slice(t+1,t+3)))i+=e.slice(t,t+3),t+=2;else if(a<128)i+=r[a];else if(a>=55296&&a<=57343){if(a>=55296&&a<=56319&&t+1<o){const n=e.charCodeAt(t+1);if(n>=56320&&n<=57343){i+=encodeURIComponent(e[t]+e[t+1]),t++;continue}}i+="%EF%BF%BD"}else i+=encodeURIComponent(e[t])}return i}function Jm(e){let t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&-1!==e.hostname.indexOf(":")?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||"",t}function Qm(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}Km.defaultChars=";/?:@&=+$,-_.!~*'()#",Km.componentChars="-_.!~*'()";const ev=/^([a-z0-9.+-]+:)/i,tv=/:[0-9]*$/,nv=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,rv=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),iv=["'"].concat(rv),ov=["%","/","?",";","#"].concat(iv),av=["/","?","#"],sv=/^[+a-z0-9A-Z_-]{0,63}$/,lv=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,cv={javascript:!0,"javascript:":!0},uv={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function dv(e,t){if(e&&e instanceof Qm)return e;const n=new Qm;return n.parse(e,t),n}Qm.prototype.parse=function(e,t){let n,r,i,o=e;if(o=o.trim(),!t&&1===e.split("#").length){const e=nv.exec(o);if(e)return this.pathname=e[1],e[2]&&(this.search=e[2]),this}let a=ev.exec(o);if(a&&(a=a[0],n=a.toLowerCase(),this.protocol=a,o=o.substr(a.length)),(t||a||o.match(/^\/\/[^@\/]+@[^@\/]+/))&&(i="//"===o.substr(0,2),!i||a&&cv[a]||(o=o.substr(2),this.slashes=!0)),!cv[a]&&(i||a&&!uv[a])){let e,t,n=-1;for(let e=0;e<av.length;e++)r=o.indexOf(av[e]),-1!==r&&(-1===n||r<n)&&(n=r);t=-1===n?o.lastIndexOf("@"):o.lastIndexOf("@",n),-1!==t&&(e=o.slice(0,t),o=o.slice(t+1),this.auth=e),n=-1;for(let e=0;e<ov.length;e++)r=o.indexOf(ov[e]),-1!==r&&(-1===n||r<n)&&(n=r);-1===n&&(n=o.length),":"===o[n-1]&&n--;const i=o.slice(0,n);o=o.slice(n),this.parseHost(i),this.hostname=this.hostname||"";const a="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!a){const e=this.hostname.split(/\./);for(let t=0,n=e.length;t<n;t++){const n=e[t];if(n&&!n.match(sv)){let r="";for(let e=0,t=n.length;e<t;e++)n.charCodeAt(e)>127?r+="x":r+=n[e];if(!r.match(sv)){const r=e.slice(0,t),i=e.slice(t+1),a=n.match(lv);a&&(r.push(a[1]),i.unshift(a[2])),i.length&&(o=i.join(".")+o),this.hostname=r.join(".");break}}}}this.hostname.length>255&&(this.hostname=""),a&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}const s=o.indexOf("#");-1!==s&&(this.hash=o.substr(s),o=o.slice(0,s));const l=o.indexOf("?");return-1!==l&&(this.search=o.substr(l),o=o.slice(0,l)),o&&(this.pathname=o),uv[n]&&this.hostname&&!this.pathname&&(this.pathname=""),this},Qm.prototype.parseHost=function(e){let t=tv.exec(e);t&&(t=t[0],":"!==t&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)};var fv,hv=Object.freeze({__proto__:null,decode:Zm,encode:Km,format:Jm,parse:dv}),pv=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,gv=/[\0-\x1F\x7F-\x9F]/,mv=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDEAD\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3E]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2\uDF00-\uDF09]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDF43-\uDF4F\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A\uDFE2]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/,vv=/[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u0888\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20C0\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFF\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u31EF\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBC2\uFD40-\uFD4F\uFDCF\uFDFC-\uFDFF\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD833[\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEDC-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF76\uDF7B-\uDFD9\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDE53\uDE60-\uDE6D\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC5\uDECE-\uDEDB\uDEE0-\uDEE8\uDEF0-\uDEF8\uDF00-\uDF92\uDF94-\uDFCA]/,bv=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,yv=Object.freeze({__proto__:null,Any:pv,Cc:gv,Cf:/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u0890\u0891\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC3F]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/,P:mv,S:vv,Z:bv}),_v=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms„‹•˜¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegraìȹoɴ͹\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱cò׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map((e=>e.charCodeAt(0)))),xv=new Uint16Array("Ȁaglq\tɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map((e=>e.charCodeAt(0))));const wv=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),kv=null!==(fv=String.fromCodePoint)&&void 0!==fv?fv:function(e){let t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e),t+=String.fromCharCode(e),t};var Cv;!function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z"}(Cv||(Cv={}));var Av,Sv,Mv;function Ev(e){return e>=Cv.ZERO&&e<=Cv.NINE}function Lv(e){return e>=Cv.UPPER_A&&e<=Cv.UPPER_F||e>=Cv.LOWER_A&&e<=Cv.LOWER_F}function Tv(e){return e===Cv.EQUALS||function(e){return e>=Cv.UPPER_A&&e<=Cv.UPPER_Z||e>=Cv.LOWER_A&&e<=Cv.LOWER_Z||Ev(e)}(e)}!function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"}(Av||(Av={})),function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"}(Sv||(Sv={})),function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"}(Mv||(Mv={}));class Dv{constructor(e,t,n){this.decodeTree=e,this.emitCodePoint=t,this.errors=n,this.state=Sv.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=Mv.Strict}startEntity(e){this.decodeMode=e,this.state=Sv.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(e,t){switch(this.state){case Sv.EntityStart:return e.charCodeAt(t)===Cv.NUM?(this.state=Sv.NumericStart,this.consumed+=1,this.stateNumericStart(e,t+1)):(this.state=Sv.NamedEntity,this.stateNamedEntity(e,t));case Sv.NumericStart:return this.stateNumericStart(e,t);case Sv.NumericDecimal:return this.stateNumericDecimal(e,t);case Sv.NumericHex:return this.stateNumericHex(e,t);case Sv.NamedEntity:return this.stateNamedEntity(e,t)}}stateNumericStart(e,t){return t>=e.length?-1:(32|e.charCodeAt(t))===Cv.LOWER_X?(this.state=Sv.NumericHex,this.consumed+=1,this.stateNumericHex(e,t+1)):(this.state=Sv.NumericDecimal,this.stateNumericDecimal(e,t))}addToNumericResult(e,t,n,r){if(t!==n){const i=n-t;this.result=this.result*Math.pow(r,i)+parseInt(e.substr(t,i),r),this.consumed+=i}}stateNumericHex(e,t){const n=t;for(;t<e.length;){const r=e.charCodeAt(t);if(!Ev(r)&&!Lv(r))return this.addToNumericResult(e,n,t,16),this.emitNumericEntity(r,3);t+=1}return this.addToNumericResult(e,n,t,16),-1}stateNumericDecimal(e,t){const n=t;for(;t<e.length;){const r=e.charCodeAt(t);if(!Ev(r))return this.addToNumericResult(e,n,t,10),this.emitNumericEntity(r,2);t+=1}return this.addToNumericResult(e,n,t,10),-1}emitNumericEntity(e,t){var n;if(this.consumed<=t)return null===(n=this.errors)||void 0===n||n.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(e===Cv.SEMI)this.consumed+=1;else if(this.decodeMode===Mv.Strict)return 0;return this.emitCodePoint(function(e){var t;return e>=55296&&e<=57343||e>1114111?65533:null!==(t=wv.get(e))&&void 0!==t?t:e}(this.result),this.consumed),this.errors&&(e!==Cv.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(e,t){const{decodeTree:n}=this;let r=n[this.treeIndex],i=(r&Av.VALUE_LENGTH)>>14;for(;t<e.length;t++,this.excess++){const o=e.charCodeAt(t);if(this.treeIndex=Ov(n,r,this.treeIndex+Math.max(1,i),o),this.treeIndex<0)return 0===this.result||this.decodeMode===Mv.Attribute&&(0===i||Tv(o))?0:this.emitNotTerminatedNamedEntity();if(r=n[this.treeIndex],i=(r&Av.VALUE_LENGTH)>>14,0!==i){if(o===Cv.SEMI)return this.emitNamedEntityData(this.treeIndex,i,this.consumed+this.excess);this.decodeMode!==Mv.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var e;const{result:t,decodeTree:n}=this,r=(n[t]&Av.VALUE_LENGTH)>>14;return this.emitNamedEntityData(t,r,this.consumed),null===(e=this.errors)||void 0===e||e.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(e,t,n){const{decodeTree:r}=this;return this.emitCodePoint(1===t?r[e]&~Av.VALUE_LENGTH:r[e+1],n),3===t&&this.emitCodePoint(r[e+2],n),n}end(){var e;switch(this.state){case Sv.NamedEntity:return 0===this.result||this.decodeMode===Mv.Attribute&&this.result!==this.treeIndex?0:this.emitNotTerminatedNamedEntity();case Sv.NumericDecimal:return this.emitNumericEntity(0,2);case Sv.NumericHex:return this.emitNumericEntity(0,3);case Sv.NumericStart:return null===(e=this.errors)||void 0===e||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case Sv.EntityStart:return 0}}}function Fv(e){let t="";const n=new Dv(e,(e=>t+=kv(e)));return function(e,r){let i=0,o=0;for(;(o=e.indexOf("&",o))>=0;){t+=e.slice(i,o),n.startEntity(r);const a=n.write(e,o+1);if(a<0){i=o+n.end();break}i=o+a,o=0===a?i+1:i}const a=t+e.slice(i);return t="",a}}function Ov(e,t,n,r){const i=(t&Av.BRANCH_LENGTH)>>7,o=t&Av.JUMP_TABLE;if(0===i)return 0!==o&&r===o?n:-1;if(o){const t=r-o;return t<0||t>=i?-1:e[n+t]-1}let a=n,s=a+i-1;for(;a<=s;){const t=a+s>>>1,n=e[t];if(n<r)a=t+1;else{if(!(n>r))return e[t+i];s=t-1}}return-1}const zv=Fv(_v);function Rv(e){return"[object String]"===function(e){return Object.prototype.toString.call(e)}(e)}Fv(xv);const Nv=Object.prototype.hasOwnProperty;function Pv(e){return Array.prototype.slice.call(arguments,1).forEach((function(t){if(t){if("object"!=typeof t)throw new TypeError(t+"must be object");Object.keys(t).forEach((function(n){e[n]=t[n]}))}})),e}function Iv(e,t,n){return[].concat(e.slice(0,t),n,e.slice(t+1))}function Bv(e){return!(e>=55296&&e<=57343)&&(!(e>=64976&&e<=65007)&&(!!(65535&~e&&65534!=(65535&e))&&(!(e>=0&&e<=8)&&(11!==e&&(!(e>=14&&e<=31)&&(!(e>=127&&e<=159)&&!(e>1114111)))))))}function jv(e){if(e>65535){const t=55296+((e-=65536)>>10),n=56320+(1023&e);return String.fromCharCode(t,n)}return String.fromCharCode(e)}const Wv=/\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g,Hv=new RegExp(Wv.source+"|"+/&([a-z#][a-z0-9]{1,31});/gi.source,"gi"),qv=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;function $v(e,t){if(35===t.charCodeAt(0)&&qv.test(t)){const n="x"===t[1].toLowerCase()?parseInt(t.slice(2),16):parseInt(t.slice(1),10);return Bv(n)?jv(n):e}const n=function(e,t=Mv.Legacy){return zv(e,t)}(e);return n!==e?n:e}function Uv(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(Hv,(function(e,t,n){return t||$v(e,n)}))}const Vv=/[&<>"]/,Gv=/[&<>"]/g,Yv={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;"};function Zv(e){return Yv[e]}function Xv(e){return Vv.test(e)?e.replace(Gv,Zv):e}const Kv=/[.?*+^$[\]\\(){}|-]/g;function Jv(e){switch(e){case 9:case 32:return!0}return!1}function Qv(e){if(e>=8192&&e<=8202)return!0;switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}function eb(e){return mv.test(e)||vv.test(e)}function tb(e){return eb(jv(e))}function nb(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function rb(e){return e=e.trim().replace(/\s+/g," "),"Ṿ"==="ẞ".toLowerCase()&&(e=e.replace(/ẞ/g,"ß")),e.toLowerCase().toUpperCase()}function ib(e){return 32===e||9===e||10===e||13===e}function ob(e){let t=0;for(;t<e.length&&ib(e.charCodeAt(t));t++);let n=e.length-1;for(;n>=t&&ib(e.charCodeAt(n));n--);return e.slice(t,n+1)}const ab={mdurl:hv,ucmicro:yv};var sb=Object.freeze({__proto__:null,arrayReplaceAt:Iv,asciiTrim:ob,assign:Pv,escapeHtml:Xv,escapeRE:function(e){return e.replace(Kv,"\\$&")},fromCodePoint:jv,has:function(e,t){return Nv.call(e,t)},isMdAsciiPunct:nb,isPunctChar:eb,isPunctCharCode:tb,isSpace:Jv,isString:Rv,isValidEntityCode:Bv,isWhiteSpace:Qv,lib:ab,normalizeReference:rb,unescapeAll:Uv,unescapeMd:function(e){return e.indexOf("\\")<0?e:e.replace(Wv,"$1")}});var lb=Object.freeze({__proto__:null,parseLinkDestination:function(e,t,n){let r,i=t;const o={ok:!1,pos:0,str:""};if(60===e.charCodeAt(i)){for(i++;i<n;){if(r=e.charCodeAt(i),10===r)return o;if(60===r)return o;if(62===r)return o.pos=i+1,o.str=Uv(e.slice(t+1,i)),o.ok=!0,o;92===r&&i+1<n?i+=2:i++}return o}let a=0;for(;i<n&&(r=e.charCodeAt(i),32!==r)&&!(r<32||127===r);)if(92===r&&i+1<n){if(32===e.charCodeAt(i+1))break;i+=2}else{if(40===r&&(a++,a>32))return o;if(41===r){if(0===a)break;a--}i++}return t===i||0!==a||(o.str=Uv(e.slice(t,i)),o.pos=i,o.ok=!0),o},parseLinkLabel:function(e,t,n){let r,i,o,a;const s=e.posMax,l=e.pos;for(e.pos=t+1,r=1;e.pos<s;){if(o=e.src.charCodeAt(e.pos),93===o&&(r--,0===r)){i=!0;break}if(a=e.pos,e.md.inline.skipToken(e),91===o)if(a===e.pos-1)r++;else if(n)return e.pos=l,-1}let c=-1;return i&&(c=e.pos),e.pos=l,c},parseLinkTitle:function(e,t,n,r){let i,o=t;const a={ok:!1,can_continue:!1,pos:0,str:"",marker:0};if(r)a.str=r.str,a.marker=r.marker;else{if(o>=n)return a;let r=e.charCodeAt(o);if(34!==r&&39!==r&&40!==r)return a;t++,o++,40===r&&(r=41),a.marker=r}for(;o<n;){if(i=e.charCodeAt(o),i===a.marker)return a.pos=o+1,a.str+=Uv(e.slice(t,o)),a.ok=!0,a;if(40===i&&41===a.marker)return a;92===i&&o+1<n&&o++,o++}return a.can_continue=!0,a.str+=Uv(e.slice(t,o)),a}});const cb={};function ub(){this.rules=Pv({},cb)}function db(){this.__rules__=[],this.__cache__=null}function fb(e,t,n){this.type=e,this.tag=t,this.attrs=null,this.map=null,this.nesting=n,this.level=0,this.children=null,this.content="",this.markup="",this.info="",this.meta=null,this.block=!1,this.hidden=!1}function hb(e,t,n){this.src=e,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=t}cb.code_inline=function(e,t,n,r,i){const o=e[t];return"<code"+i.renderAttrs(o)+">"+Xv(o.content)+"</code>"},cb.code_block=function(e,t,n,r,i){const o=e[t];return"<pre"+i.renderAttrs(o)+"><code>"+Xv(e[t].content)+"</code></pre>\n"},cb.fence=function(e,t,n,r,i){const o=e[t],a=o.info?Uv(o.info).trim():"";let s,l="",c="";if(a){const e=a.split(/(\s+)/g);l=e[0],c=e.slice(2).join("")}if(s=n.highlight&&n.highlight(o.content,l,c)||Xv(o.content),0===s.indexOf("<pre"))return s+"\n";if(a){const e=o.attrIndex("class"),t=o.attrs?o.attrs.slice():[];e<0?t.push(["class",n.langPrefix+l]):(t[e]=t[e].slice(),t[e][1]+=" "+n.langPrefix+l);const r={attrs:t};return`<pre><code${i.renderAttrs(r)}>${s}</code></pre>\n`}return`<pre><code${i.renderAttrs(o)}>${s}</code></pre>\n`},cb.image=function(e,t,n,r,i){const o=e[t];return o.attrs[o.attrIndex("alt")][1]=i.renderInlineAsText(o.children,n,r),i.renderToken(e,t,n)},cb.hardbreak=function(e,t,n){return n.xhtmlOut?"<br />\n":"<br>\n"},cb.softbreak=function(e,t,n){return n.breaks?n.xhtmlOut?"<br />\n":"<br>\n":"\n"},cb.text=function(e,t){return Xv(e[t].content)},cb.html_block=function(e,t){return e[t].content},cb.html_inline=function(e,t){return e[t].content},ub.prototype.renderAttrs=function(e){let t,n,r;if(!e.attrs)return"";for(r="",t=0,n=e.attrs.length;t<n;t++)r+=" "+Xv(e.attrs[t][0])+'="'+Xv(e.attrs[t][1])+'"';return r},ub.prototype.renderToken=function(e,t,n){const r=e[t];let i="";if(r.hidden)return"";r.block&&-1!==r.nesting&&t&&e[t-1].hidden&&(i+="\n"),i+=(-1===r.nesting?"</":"<")+r.tag,i+=this.renderAttrs(r),0===r.nesting&&n.xhtmlOut&&(i+=" /");let o=!1;if(r.block&&(o=!0,1===r.nesting&&t+1<e.length)){const n=e[t+1];("inline"===n.type||n.hidden||-1===n.nesting&&n.tag===r.tag)&&(o=!1)}return i+=o?">\n":">",i},ub.prototype.renderInline=function(e,t,n){let r="";const i=this.rules;for(let o=0,a=e.length;o<a;o++){const a=e[o].type;void 0!==i[a]?r+=i[a](e,o,t,n,this):r+=this.renderToken(e,o,t)}return r},ub.prototype.renderInlineAsText=function(e,t,n){let r="";for(let i=0,o=e.length;i<o;i++)switch(e[i].type){case"text":case"html_inline":case"html_block":r+=e[i].content;break;case"image":r+=this.renderInlineAsText(e[i].children,t,n);break;case"softbreak":case"hardbreak":r+="\n"}return r},ub.prototype.render=function(e,t,n){let r="";const i=this.rules;for(let o=0,a=e.length;o<a;o++){const a=e[o].type;"inline"===a?r+=this.renderInline(e[o].children,t,n):void 0!==i[a]?r+=i[a](e,o,t,n,this):r+=this.renderToken(e,o,t,n)}return r},db.prototype.__find__=function(e){for(let t=0;t<this.__rules__.length;t++)if(this.__rules__[t].name===e)return t;return-1},db.prototype.__compile__=function(){const e=this,t=[""];e.__rules__.forEach((function(e){e.enabled&&e.alt.forEach((function(e){t.indexOf(e)<0&&t.push(e)}))})),e.__cache__={},t.forEach((function(t){e.__cache__[t]=[],e.__rules__.forEach((function(n){n.enabled&&(t&&n.alt.indexOf(t)<0||e.__cache__[t].push(n.fn))}))}))},db.prototype.at=function(e,t,n){const r=this.__find__(e),i=n||{};if(-1===r)throw new Error("Parser rule not found: "+e);this.__rules__[r].fn=t,this.__rules__[r].alt=i.alt||[],this.__cache__=null},db.prototype.before=function(e,t,n,r){const i=this.__find__(e),o=r||{};if(-1===i)throw new Error("Parser rule not found: "+e);this.__rules__.splice(i,0,{name:t,enabled:!0,fn:n,alt:o.alt||[]}),this.__cache__=null},db.prototype.after=function(e,t,n,r){const i=this.__find__(e),o=r||{};if(-1===i)throw new Error("Parser rule not found: "+e);this.__rules__.splice(i+1,0,{name:t,enabled:!0,fn:n,alt:o.alt||[]}),this.__cache__=null},db.prototype.push=function(e,t,n){const r=n||{};this.__rules__.push({name:e,enabled:!0,fn:t,alt:r.alt||[]}),this.__cache__=null},db.prototype.enable=function(e,t){Array.isArray(e)||(e=[e]);const n=[];return e.forEach((function(e){const r=this.__find__(e);if(r<0){if(t)return;throw new Error("Rules manager: invalid rule name "+e)}this.__rules__[r].enabled=!0,n.push(e)}),this),this.__cache__=null,n},db.prototype.enableOnly=function(e,t){Array.isArray(e)||(e=[e]),this.__rules__.forEach((function(e){e.enabled=!1})),this.enable(e,t)},db.prototype.disable=function(e,t){Array.isArray(e)||(e=[e]);const n=[];return e.forEach((function(e){const r=this.__find__(e);if(r<0){if(t)return;throw new Error("Rules manager: invalid rule name "+e)}this.__rules__[r].enabled=!1,n.push(e)}),this),this.__cache__=null,n},db.prototype.getRules=function(e){return null===this.__cache__&&this.__compile__(),this.__cache__[e]||[]},fb.prototype.attrIndex=function(e){if(!this.attrs)return-1;const t=this.attrs;for(let n=0,r=t.length;n<r;n++)if(t[n][0]===e)return n;return-1},fb.prototype.attrPush=function(e){this.attrs?this.attrs.push(e):this.attrs=[e]},fb.prototype.attrSet=function(e,t){const n=this.attrIndex(e),r=[e,t];n<0?this.attrPush(r):this.attrs[n]=r},fb.prototype.attrGet=function(e){const t=this.attrIndex(e);let n=null;return t>=0&&(n=this.attrs[t][1]),n},fb.prototype.attrJoin=function(e,t){const n=this.attrIndex(e);n<0?this.attrPush([e,t]):this.attrs[n][1]=this.attrs[n][1]+" "+t},hb.prototype.Token=fb;const pb=/\r\n?|\n/g,gb=/\0/g;function mb(e){return/^<\/a\s*>/i.test(e)}const vb=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,bb=/\((c|tm|r)\)/i,yb=/\((c|tm|r)\)/gi,_b={c:"©",r:"®",tm:"™"};function xb(e,t){return _b[t.toLowerCase()]}function wb(e){let t=0;for(let n=e.length-1;n>=0;n--){const r=e[n];"text"!==r.type||t||(r.content=r.content.replace(yb,xb)),"link_open"===r.type&&"auto"===r.info&&t--,"link_close"===r.type&&"auto"===r.info&&t++}}function kb(e){let t=0;for(let n=e.length-1;n>=0;n--){const r=e[n];"text"!==r.type||t||vb.test(r.content)&&(r.content=r.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/gm,"$1—").replace(/(^|\s)--(?=\s|$)/gm,"$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/gm,"$1–")),"link_open"===r.type&&"auto"===r.info&&t--,"link_close"===r.type&&"auto"===r.info&&t++}}const Cb=/['"]/,Ab=/['"]/g;function Sb(e,t,n,r){e[t]||(e[t]=[]),e[t].push({pos:n,ch:r})}function Mb(e,t){let n;const r=[],i={};for(let o=0;o<e.length;o++){const a=e[o],s=e[o].level;for(n=r.length-1;n>=0&&!(r[n].level<=s);n--);if(r.length=n+1,"text"!==a.type)continue;const l=a.content;let c=0;const u=l.length;e:for(;c<u;){Ab.lastIndex=c;const a=Ab.exec(l);if(!a)break;let d=!0,f=!0;c=a.index+1;const h="'"===a[0];let p=32;if(a.index-1>=0)p=l.charCodeAt(a.index-1);else for(n=o-1;n>=0&&("softbreak"!==e[n].type&&"hardbreak"!==e[n].type);n--)if(e[n].content){p=e[n].content.charCodeAt(e[n].content.length-1);break}let g=32;if(c<u)g=l.charCodeAt(c);else for(n=o+1;n<e.length&&("softbreak"!==e[n].type&&"hardbreak"!==e[n].type);n++)if(e[n].content){g=e[n].content.charCodeAt(0);break}const m=nb(p)||tb(p),v=nb(g)||tb(g),b=Qv(p),y=Qv(g);if(y?d=!1:v&&(b||m||(d=!1)),b?f=!1:m&&(y||v||(f=!1)),34===g&&'"'===a[0]&&p>=48&&p<=57&&(f=d=!1),d&&f&&(d=m,f=v),d||f){if(f)for(n=r.length-1;n>=0;n--){let e=r[n];if(r[n].level<s)break;if(e.single===h&&r[n].level===s){let s,l;e=r[n],h?(s=t.md.options.quotes[2],l=t.md.options.quotes[3]):(s=t.md.options.quotes[0],l=t.md.options.quotes[1]),Sb(i,o,a.index,l),Sb(i,e.token,e.pos,s),r.length=n;continue e}}d?r.push({token:o,pos:a.index,single:h,level:s}):f&&h&&Sb(i,o,a.index,"’")}else h&&Sb(i,o,a.index,"’")}}Object.keys(i).forEach((function(t){e[t].content=function(e,t){let n="",r=0;t.sort(((e,t)=>e.pos-t.pos));for(let i=0;i<t.length;i++){const o=t[i];n+=e.slice(r,o.pos)+o.ch,r=o.pos+1}return n+e.slice(r)}(e[t].content,i[t])}))}const Eb=[["normalize",function(e){let t;t=e.src.replace(pb,"\n"),t=t.replace(gb,"�"),e.src=t}],["block",function(e){let t;e.inlineMode?(t=new e.Token("inline","",0),t.content=e.src,t.map=[0,1],t.children=[],e.tokens.push(t)):e.md.block.parse(e.src,e.md,e.env,e.tokens)}],["inline",function(e){const t=e.tokens;for(let n=0,r=t.length;n<r;n++){const r=t[n];"inline"===r.type&&e.md.inline.parse(r.content,e.md,e.env,r.children)}}],["linkify",function(e){const t=e.tokens;var n;if(e.md.options.linkify)for(let r=0,i=t.length;r<i;r++){if("inline"!==t[r].type||!e.md.linkify.pretest(t[r].content))continue;let i=t[r].children,o=0;for(let a=i.length-1;a>=0;a--){const s=i[a];if("link_close"!==s.type){if("html_inline"===s.type&&(n=s.content,/^<a[>\s]/i.test(n)&&o>0&&o--,mb(s.content)&&o++),!(o>0)&&"text"===s.type&&e.md.linkify.test(s.content)){const n=s.content;let o=e.md.linkify.match(n);const l=[];let c=s.level,u=0;o.length>0&&0===o[0].index&&a>0&&"text_special"===i[a-1].type&&(o=o.slice(1));for(let t=0;t<o.length;t++){const r=o[t].url,i=e.md.normalizeLink(r);if(!e.md.validateLink(i))continue;let a=o[t].text;a=o[t].schema?"mailto:"!==o[t].schema||/^mailto:/i.test(a)?e.md.normalizeLinkText(a):e.md.normalizeLinkText("mailto:"+a).replace(/^mailto:/,""):e.md.normalizeLinkText("http://"+a).replace(/^http:\/\//,"");const s=o[t].index;if(s>u){const t=new e.Token("text","",0);t.content=n.slice(u,s),t.level=c,l.push(t)}const d=new e.Token("link_open","a",1);d.attrs=[["href",i]],d.level=c++,d.markup="linkify",d.info="auto",l.push(d);const f=new e.Token("text","",0);f.content=a,f.level=c,l.push(f);const h=new e.Token("link_close","a",-1);h.level=--c,h.markup="linkify",h.info="auto",l.push(h),u=o[t].lastIndex}if(u<n.length){const t=new e.Token("text","",0);t.content=n.slice(u),t.level=c,l.push(t)}t[r].children=i=Iv(i,a,l)}}else for(a--;i[a].level!==s.level&&"link_open"!==i[a].type;)a--}}}],["replacements",function(e){let t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)"inline"===e.tokens[t].type&&(bb.test(e.tokens[t].content)&&wb(e.tokens[t].children),vb.test(e.tokens[t].content)&&kb(e.tokens[t].children))}],["smartquotes",function(e){if(e.md.options.typographer)for(let t=e.tokens.length-1;t>=0;t--)"inline"===e.tokens[t].type&&Cb.test(e.tokens[t].content)&&Mb(e.tokens[t].children,e)}],["text_join",function(e){let t,n;const r=e.tokens,i=r.length;for(let e=0;e<i;e++){if("inline"!==r[e].type)continue;const i=r[e].children,o=i.length;for(t=0;t<o;t++)"text_special"===i[t].type&&(i[t].type="text");for(t=n=0;t<o;t++)"text"===i[t].type&&t+1<o&&"text"===i[t+1].type?i[t+1].content=i[t].content+i[t+1].content:(t!==n&&(i[n]=i[t]),n++);t!==n&&(i.length=n)}}]];function Lb(){this.ruler=new db;for(let e=0;e<Eb.length;e++)this.ruler.push(Eb[e][0],Eb[e][1])}function Tb(e,t,n,r){this.src=e,this.md=t,this.env=n,this.tokens=r,this.bMarks=[],this.eMarks=[],this.tShift=[],this.sCount=[],this.bsCount=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.ddIndent=-1,this.listIndent=-1,this.parentType="root",this.level=0;const i=this.src;for(let e=0,t=0,n=0,r=0,o=i.length,a=!1;t<o;t++){const s=i.charCodeAt(t);if(!a){if(Jv(s)){n++,9===s?r+=4-r%4:r++;continue}a=!0}10!==s&&t!==o-1||(10!==s&&t++,this.bMarks.push(e),this.eMarks.push(t),this.tShift.push(n),this.sCount.push(r),this.bsCount.push(0),a=!1,n=0,r=0,e=t+1)}this.bMarks.push(i.length),this.eMarks.push(i.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}Lb.prototype.process=function(e){const t=this.ruler.getRules("");for(let n=0,r=t.length;n<r;n++)t[n](e)},Lb.prototype.State=hb,Tb.prototype.push=function(e,t,n){const r=new fb(e,t,n);return r.block=!0,n<0&&this.level--,r.level=this.level,n>0&&this.level++,this.tokens.push(r),r},Tb.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]},Tb.prototype.skipEmptyLines=function(e){for(let t=this.lineMax;e<t&&!(this.bMarks[e]+this.tShift[e]<this.eMarks[e]);e++);return e},Tb.prototype.skipSpaces=function(e){for(let t=this.src.length;e<t;e++){if(!Jv(this.src.charCodeAt(e)))break}return e},Tb.prototype.skipSpacesBack=function(e,t){if(e<=t)return e;for(;e>t;)if(!Jv(this.src.charCodeAt(--e)))return e+1;return e},Tb.prototype.skipChars=function(e,t){for(let n=this.src.length;e<n&&this.src.charCodeAt(e)===t;e++);return e},Tb.prototype.skipCharsBack=function(e,t,n){if(e<=n)return e;for(;e>n;)if(t!==this.src.charCodeAt(--e))return e+1;return e},Tb.prototype.getLines=function(e,t,n,r){if(e>=t)return"";const i=new Array(t-e);for(let o=0,a=e;a<t;a++,o++){let e=0;const s=this.bMarks[a];let l,c=s;for(l=a+1<t||r?this.eMarks[a]+1:this.eMarks[a];c<l&&e<n;){const t=this.src.charCodeAt(c);if(Jv(t))9===t?e+=4-(e+this.bsCount[a])%4:e++;else{if(!(c-s<this.tShift[a]))break;e++}c++}i[o]=e>n?new Array(e-n+1).join(" ")+this.src.slice(c,l):this.src.slice(c,l)}return i.join("")},Tb.prototype.Token=fb;function Db(e,t){const n=e.bMarks[t]+e.tShift[t],r=e.eMarks[t];return e.src.slice(n,r)}function Fb(e){const t=[],n=e.length;let r=0,i=e.charCodeAt(r),o=!1,a=0,s="";for(;r<n;)124===i&&(o?(s+=e.substring(a,r-1),a=r):(t.push(s+e.substring(a,r)),s="",a=r+1)),o=92===i,r++,i=e.charCodeAt(r);return t.push(s+e.substring(a)),t}function Ob(e,t){const n=e.eMarks[t];let r=e.bMarks[t]+e.tShift[t];const i=e.src.charCodeAt(r++);if(42!==i&&45!==i&&43!==i)return-1;if(r<n){if(!Jv(e.src.charCodeAt(r)))return-1}return r}function zb(e,t){const n=e.bMarks[t]+e.tShift[t],r=e.eMarks[t];let i=n;if(i+1>=r)return-1;let o=e.src.charCodeAt(i++);if(o<48||o>57)return-1;for(;;){if(i>=r)return-1;if(o=e.src.charCodeAt(i++),!(o>=48&&o<=57)){if(41===o||46===o)break;return-1}if(i-n>=10)return-1}return i<r&&(o=e.src.charCodeAt(i),!Jv(o))?-1:i}const Rb="<[A-Za-z][A-Za-z0-9\\-]*(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^\"'=<>`\\x00-\\x20]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",Nb="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",Pb=new RegExp("^(?:"+Rb+"|"+Nb+"|\x3c!---?>|\x3c!--(?:[^-]|-[^-]|--[^>])*--\x3e|<[?][\\s\\S]*?[?]>|<![A-Za-z][^>]*>|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>)"),Ib=new RegExp("^(?:"+Rb+"|"+Nb+")"),Bb=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"].join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(Ib.source+"\\s*$"),/^$/,!1]];const jb=[["table",function(e,t,n,r){if(t+2>n)return!1;let i=t+1;if(e.sCount[i]<e.blkIndent)return!1;if(e.sCount[i]-e.blkIndent>=4)return!1;let o=e.bMarks[i]+e.tShift[i];if(o>=e.eMarks[i])return!1;const a=e.src.charCodeAt(o++);if(124!==a&&45!==a&&58!==a)return!1;if(o>=e.eMarks[i])return!1;const s=e.src.charCodeAt(o++);if(124!==s&&45!==s&&58!==s&&!Jv(s))return!1;if(45===a&&Jv(s))return!1;for(;o<e.eMarks[i];){const t=e.src.charCodeAt(o);if(124!==t&&45!==t&&58!==t&&!Jv(t))return!1;o++}let l=Db(e,t+1),c=l.split("|");const u=[];for(let e=0;e<c.length;e++){const t=c[e].trim();if(!t){if(0===e||e===c.length-1)continue;return!1}if(!/^:?-+:?$/.test(t))return!1;58===t.charCodeAt(t.length-1)?u.push(58===t.charCodeAt(0)?"center":"right"):58===t.charCodeAt(0)?u.push("left"):u.push("")}if(l=Db(e,t).trim(),-1===l.indexOf("|"))return!1;if(e.sCount[t]-e.blkIndent>=4)return!1;c=Fb(l),c.length&&""===c[0]&&c.shift(),c.length&&""===c[c.length-1]&&c.pop();const d=c.length;if(0===d||d!==u.length)return!1;if(r)return!0;const f=e.parentType;e.parentType="table";const h=e.md.block.ruler.getRules("blockquote"),p=[t,0];e.push("table_open","table",1).map=p,e.push("thead_open","thead",1).map=[t,t+1],e.push("tr_open","tr",1).map=[t,t+1];for(let t=0;t<c.length;t++){const n=e.push("th_open","th",1);u[t]&&(n.attrs=[["style","text-align:"+u[t]]]);const r=e.push("inline","",0);r.content=c[t].trim(),r.children=[],e.push("th_close","th",-1)}let g;e.push("tr_close","tr",-1),e.push("thead_close","thead",-1);let m=0;for(i=t+2;i<n&&!(e.sCount[i]<e.blkIndent);i++){let r=!1;for(let t=0,o=h.length;t<o;t++)if(h[t](e,i,n,!0)){r=!0;break}if(r)break;if(l=Db(e,i).trim(),!l)break;if(e.sCount[i]-e.blkIndent>=4)break;if(c=Fb(l),c.length&&""===c[0]&&c.shift(),c.length&&""===c[c.length-1]&&c.pop(),m+=d-c.length,m>65536)break;if(i===t+2){e.push("tbody_open","tbody",1).map=g=[t+2,0]}e.push("tr_open","tr",1).map=[i,i+1];for(let t=0;t<d;t++){const n=e.push("td_open","td",1);u[t]&&(n.attrs=[["style","text-align:"+u[t]]]);const r=e.push("inline","",0);r.content=c[t]?c[t].trim():"",r.children=[],e.push("td_close","td",-1)}e.push("tr_close","tr",-1)}return g&&(e.push("tbody_close","tbody",-1),g[1]=i),e.push("table_close","table",-1),p[1]=i,e.parentType=f,e.line=i,!0},["paragraph","reference"]],["code",function(e,t,n){if(e.sCount[t]-e.blkIndent<4)return!1;let r=t+1,i=r;for(;r<n;)if(e.isEmpty(r))r++;else{if(!(e.sCount[r]-e.blkIndent>=4))break;r++,i=r}e.line=i;const o=e.push("code_block","code",0);return o.content=e.getLines(t,i,4+e.blkIndent,!1)+"\n",o.map=[t,e.line],!0}],["fence",function(e,t,n,r){let i=e.bMarks[t]+e.tShift[t],o=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(i+3>o)return!1;const a=e.src.charCodeAt(i);if(126!==a&&96!==a)return!1;let s=i;i=e.skipChars(i,a);let l=i-s;if(l<3)return!1;const c=e.src.slice(s,i),u=e.src.slice(i,o);if(96===a&&u.indexOf(String.fromCharCode(a))>=0)return!1;if(r)return!0;let d=t,f=!1;for(;(d++,!(d>=n))&&(i=s=e.bMarks[d]+e.tShift[d],o=e.eMarks[d],!(i<o&&e.sCount[d]<e.blkIndent));)if(e.src.charCodeAt(i)===a&&!(e.sCount[d]-e.blkIndent>=4||(i=e.skipChars(i,a),i-s<l||(i=e.skipSpaces(i),i<o)))){f=!0;break}l=e.sCount[t],e.line=d+(f?1:0);const h=e.push("fence","code",0);return h.info=u,h.content=e.getLines(t+1,d,l,!0),h.markup=c,h.map=[t,e.line],!0},["paragraph","reference","blockquote","list"]],["blockquote",function(e,t,n,r){let i=e.bMarks[t]+e.tShift[t],o=e.eMarks[t];const a=e.lineMax;if(e.sCount[t]-e.blkIndent>=4)return!1;if(62!==e.src.charCodeAt(i))return!1;if(r)return!0;const s=[],l=[],c=[],u=[],d=e.md.block.ruler.getRules("blockquote"),f=e.parentType;e.parentType="blockquote";let h,p=!1;for(h=t;h<n;h++){const t=e.sCount[h]<e.blkIndent;if(i=e.bMarks[h]+e.tShift[h],o=e.eMarks[h],i>=o)break;if(62===e.src.charCodeAt(i++)&&!t){let t,n,r=e.sCount[h]+1;32===e.src.charCodeAt(i)?(i++,r++,n=!1,t=!0):9===e.src.charCodeAt(i)?(t=!0,(e.bsCount[h]+r)%4==3?(i++,r++,n=!1):n=!0):t=!1;let a=r;for(s.push(e.bMarks[h]),e.bMarks[h]=i;i<o;){const t=e.src.charCodeAt(i);if(!Jv(t))break;9===t?a+=4-(a+e.bsCount[h]+(n?1:0))%4:a++,i++}p=i>=o,l.push(e.bsCount[h]),e.bsCount[h]=e.sCount[h]+1+(t?1:0),c.push(e.sCount[h]),e.sCount[h]=a-r,u.push(e.tShift[h]),e.tShift[h]=i-e.bMarks[h];continue}if(p)break;let r=!1;for(let t=0,i=d.length;t<i;t++)if(d[t](e,h,n,!0)){r=!0;break}if(r){e.lineMax=h,0!==e.blkIndent&&(s.push(e.bMarks[h]),l.push(e.bsCount[h]),u.push(e.tShift[h]),c.push(e.sCount[h]),e.sCount[h]-=e.blkIndent);break}s.push(e.bMarks[h]),l.push(e.bsCount[h]),u.push(e.tShift[h]),c.push(e.sCount[h]),e.sCount[h]=-1}const g=e.blkIndent;e.blkIndent=0;const m=e.push("blockquote_open","blockquote",1);m.markup=">";const v=[t,0];m.map=v,e.md.block.tokenize(e,t,h),e.push("blockquote_close","blockquote",-1).markup=">",e.lineMax=a,e.parentType=f,v[1]=e.line;for(let n=0;n<u.length;n++)e.bMarks[n+t]=s[n],e.tShift[n+t]=u[n],e.sCount[n+t]=c[n],e.bsCount[n+t]=l[n];return e.blkIndent=g,!0},["paragraph","reference","blockquote","list"]],["hr",function(e,t,n,r){const i=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;let o=e.bMarks[t]+e.tShift[t];const a=e.src.charCodeAt(o++);if(42!==a&&45!==a&&95!==a)return!1;let s=1;for(;o<i;){const t=e.src.charCodeAt(o++);if(t!==a&&!Jv(t))return!1;t===a&&s++}if(s<3)return!1;if(r)return!0;e.line=t+1;const l=e.push("hr","hr",0);return l.map=[t,e.line],l.markup=Array(s+1).join(String.fromCharCode(a)),!0},["paragraph","reference","blockquote","list"]],["list",function(e,t,n,r){let i,o,a,s,l=t,c=!0;if(e.sCount[l]-e.blkIndent>=4)return!1;if(e.listIndent>=0&&e.sCount[l]-e.listIndent>=4&&e.sCount[l]<e.blkIndent)return!1;let u,d,f,h=!1;if(r&&"paragraph"===e.parentType&&e.sCount[l]>=e.blkIndent&&(h=!0),(f=zb(e,l))>=0){if(u=!0,a=e.bMarks[l]+e.tShift[l],d=Number(e.src.slice(a,f-1)),h&&1!==d)return!1}else{if(!((f=Ob(e,l))>=0))return!1;u=!1}if(h&&e.skipSpaces(f)>=e.eMarks[l])return!1;if(r)return!0;const p=e.src.charCodeAt(f-1),g=e.tokens.length;u?(s=e.push("ordered_list_open","ol",1),1!==d&&(s.attrs=[["start",d]])):s=e.push("bullet_list_open","ul",1);const m=[l,0];s.map=m,s.markup=String.fromCharCode(p);let v=!1;const b=e.md.block.ruler.getRules("list"),y=e.parentType;for(e.parentType="list";l<n;){o=f,i=e.eMarks[l];const t=e.sCount[l]+f-(e.bMarks[l]+e.tShift[l]);let r=t;for(;o<i;){const t=e.src.charCodeAt(o);if(9===t)r+=4-(r+e.bsCount[l])%4;else{if(32!==t)break;r++}o++}const d=o;let h;h=d>=i?1:r-t,h>4&&(h=1);const g=t+h;s=e.push("list_item_open","li",1),s.markup=String.fromCharCode(p);const m=[l,0];s.map=m,u&&(s.info=e.src.slice(a,f-1));const y=e.tight,_=e.tShift[l],x=e.sCount[l],w=e.listIndent;if(e.listIndent=e.blkIndent,e.blkIndent=g,e.tight=!0,e.tShift[l]=d-e.bMarks[l],e.sCount[l]=r,d>=i&&e.isEmpty(l+1)?e.line=Math.min(e.line+2,n):e.md.block.tokenize(e,l,n,!0),e.tight&&!v||(c=!1),v=e.line-l>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=w,e.tShift[l]=_,e.sCount[l]=x,e.tight=y,s=e.push("list_item_close","li",-1),s.markup=String.fromCharCode(p),l=e.line,m[1]=l,l>=n)break;if(e.sCount[l]<e.blkIndent)break;if(e.sCount[l]-e.blkIndent>=4)break;let k=!1;for(let t=0,r=b.length;t<r;t++)if(b[t](e,l,n,!0)){k=!0;break}if(k)break;if(u){if(f=zb(e,l),f<0)break;a=e.bMarks[l]+e.tShift[l]}else if(f=Ob(e,l),f<0)break;if(p!==e.src.charCodeAt(f-1))break}return s=u?e.push("ordered_list_close","ol",-1):e.push("bullet_list_close","ul",-1),s.markup=String.fromCharCode(p),m[1]=l,e.line=l,e.parentType=y,c&&function(e,t){const n=e.level+2;for(let r=t+2,i=e.tokens.length-2;r<i;r++)e.tokens[r].level===n&&"paragraph_open"===e.tokens[r].type&&(e.tokens[r+2].hidden=!0,e.tokens[r].hidden=!0,r+=2)}(e,g),!0},["paragraph","reference","blockquote"]],["reference",function(e,t,n,r){let i=e.bMarks[t]+e.tShift[t],o=e.eMarks[t],a=t+1;if(e.sCount[t]-e.blkIndent>=4)return!1;if(91!==e.src.charCodeAt(i))return!1;function s(t){const n=e.lineMax;if(t>=n||e.isEmpty(t))return null;let r=!1;if(e.sCount[t]-e.blkIndent>3&&(r=!0),e.sCount[t]<0&&(r=!0),!r){const r=e.md.block.ruler.getRules("reference"),i=e.parentType;e.parentType="reference";let o=!1;for(let i=0,a=r.length;i<a;i++)if(r[i](e,t,n,!0)){o=!0;break}if(e.parentType=i,o)return null}const i=e.bMarks[t]+e.tShift[t],o=e.eMarks[t];return e.src.slice(i,o+1)}let l=e.src.slice(i,o+1);o=l.length;let c=-1;for(i=1;i<o;i++){const e=l.charCodeAt(i);if(91===e)return!1;if(93===e){c=i;break}if(10===e){const e=s(a);null!==e&&(l+=e,o=l.length,a++)}else if(92===e&&(i++,i<o&&10===l.charCodeAt(i))){const e=s(a);null!==e&&(l+=e,o=l.length,a++)}}if(c<0||58!==l.charCodeAt(c+1))return!1;for(i=c+2;i<o;i++){const e=l.charCodeAt(i);if(10===e){const e=s(a);null!==e&&(l+=e,o=l.length,a++)}else if(!Jv(e))break}const u=e.md.helpers.parseLinkDestination(l,i,o);if(!u.ok)return!1;const d=e.md.normalizeLink(u.str);if(!e.md.validateLink(d))return!1;i=u.pos;const f=i,h=a,p=i;for(;i<o;i++){const e=l.charCodeAt(i);if(10===e){const e=s(a);null!==e&&(l+=e,o=l.length,a++)}else if(!Jv(e))break}let g,m=e.md.helpers.parseLinkTitle(l,i,o);for(;m.can_continue;){const t=s(a);if(null===t)break;l+=t,i=o,o=l.length,a++,m=e.md.helpers.parseLinkTitle(l,i,o,m)}for(i<o&&p!==i&&m.ok?(g=m.str,i=m.pos):(g="",i=f,a=h);i<o;){if(!Jv(l.charCodeAt(i)))break;i++}if(i<o&&10!==l.charCodeAt(i)&&g)for(g="",i=f,a=h;i<o;){if(!Jv(l.charCodeAt(i)))break;i++}if(i<o&&10!==l.charCodeAt(i))return!1;const v=rb(l.slice(1,c));return!!v&&(r||(void 0===e.env.references&&(e.env.references={}),void 0===e.env.references[v]&&(e.env.references[v]={title:g,href:d}),e.line=a),!0)}],["html_block",function(e,t,n,r){let i=e.bMarks[t]+e.tShift[t],o=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(!e.md.options.html)return!1;if(60!==e.src.charCodeAt(i))return!1;let a=e.src.slice(i,o),s=0;for(;s<Bb.length&&!Bb[s][0].test(a);s++);if(s===Bb.length)return!1;if(r)return Bb[s][2];let l=t+1;const c=Bb[s][1].test("");if(!Bb[s][1].test(a))for(;l<n&&(!(e.sCount[l]<e.blkIndent)||!c&&e.isEmpty(l));l++)if(i=e.bMarks[l]+e.tShift[l],o=e.eMarks[l],a=e.src.slice(i,o),Bb[s][1].test(a)){0!==a.length&&l++;break}e.line=l;const u=e.push("html_block","",0);return u.map=[t,l],u.content=e.getLines(t,l,e.blkIndent,!0),!0},["paragraph","reference","blockquote"]],["heading",function(e,t,n,r){let i=e.bMarks[t]+e.tShift[t],o=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;let a=e.src.charCodeAt(i);if(35!==a||i>=o)return!1;let s=1;for(a=e.src.charCodeAt(++i);35===a&&i<o&&s<=6;)s++,a=e.src.charCodeAt(++i);if(s>6||i<o&&!Jv(a))return!1;if(r)return!0;o=e.skipSpacesBack(o,i);const l=e.skipCharsBack(o,35,i);l>i&&Jv(e.src.charCodeAt(l-1))&&(o=l),e.line=t+1;const c=e.push("heading_open","h"+String(s),1);c.markup="########".slice(0,s),c.map=[t,e.line];const u=e.push("inline","",0);return u.content=ob(e.src.slice(i,o)),u.map=[t,e.line],u.children=[],e.push("heading_close","h"+String(s),-1).markup="########".slice(0,s),!0},["paragraph","reference","blockquote"]],["lheading",function(e,t,n){const r=e.md.block.ruler.getRules("paragraph");if(e.sCount[t]-e.blkIndent>=4)return!1;const i=e.parentType;e.parentType="paragraph";let o,a=0,s=t+1;for(;s<n&&!e.isEmpty(s);s++){if(e.sCount[s]-e.blkIndent>3)continue;if(e.sCount[s]>=e.blkIndent){let t=e.bMarks[s]+e.tShift[s];const n=e.eMarks[s];if(t<n&&(o=e.src.charCodeAt(t),(45===o||61===o)&&(t=e.skipChars(t,o),t=e.skipSpaces(t),t>=n))){a=61===o?1:2;break}}if(e.sCount[s]<0)continue;let t=!1;for(let i=0,o=r.length;i<o;i++)if(r[i](e,s,n,!0)){t=!0;break}if(t)break}if(!a)return e.parentType=i,!1;const l=ob(e.getLines(t,s,e.blkIndent,!1));e.line=s+1;const c=e.push("heading_open","h"+String(a),1);c.markup=String.fromCharCode(o),c.map=[t,e.line];const u=e.push("inline","",0);return u.content=l,u.map=[t,e.line-1],u.children=[],e.push("heading_close","h"+String(a),-1).markup=String.fromCharCode(o),e.parentType=i,!0}],["paragraph",function(e,t,n){const r=e.md.block.ruler.getRules("paragraph"),i=e.parentType;let o=t+1;for(e.parentType="paragraph";o<n&&!e.isEmpty(o);o++){if(e.sCount[o]-e.blkIndent>3)continue;if(e.sCount[o]<0)continue;let t=!1;for(let i=0,a=r.length;i<a;i++)if(r[i](e,o,n,!0)){t=!0;break}if(t)break}const a=ob(e.getLines(t,o,e.blkIndent,!1));e.line=o,e.push("paragraph_open","p",1).map=[t,e.line];const s=e.push("inline","",0);return s.content=a,s.map=[t,e.line],s.children=[],e.push("paragraph_close","p",-1),e.parentType=i,!0}]];function Wb(){this.ruler=new db;for(let e=0;e<jb.length;e++)this.ruler.push(jb[e][0],jb[e][1],{alt:(jb[e][2]||[]).slice()})}function Hb(e,t,n,r){this.src=e,this.env=n,this.md=t,this.tokens=r,this.tokens_meta=Array(r.length),this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache={},this.delimiters=[],this._prev_delimiters=[],this.backticks={},this.backticksScanned=!1,this.linkLevel=0}function qb(e){switch(e){case 10:case 33:case 35:case 36:case 37:case 38:case 42:case 43:case 45:case 58:case 60:case 61:case 62:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 125:case 126:return!0;default:return!1}}Wb.prototype.tokenize=function(e,t,n){const r=this.ruler.getRules(""),i=r.length,o=e.md.options.maxNesting;let a=t,s=!1;for(;a<n&&(e.line=a=e.skipEmptyLines(a),!(a>=n))&&!(e.sCount[a]<e.blkIndent);){if(e.level>=o){e.line=n;break}const t=e.line;let l=!1;for(let o=0;o<i;o++)if(l=r[o](e,a,n,!1),l){if(t>=e.line)throw new Error("block rule didn't increment state.line");break}if(!l)throw new Error("none of the block rules matched");e.tight=!s,e.isEmpty(e.line-1)&&(s=!0),a=e.line,a<n&&e.isEmpty(a)&&(s=!0,a++,e.line=a)}},Wb.prototype.parse=function(e,t,n,r){if(!e)return;const i=new this.State(e,t,n,r);this.tokenize(i,i.line,i.lineMax)},Wb.prototype.State=Tb,Hb.prototype.pushPending=function(){const e=new fb("text","",0);return e.content=this.pending,e.level=this.pendingLevel,this.tokens.push(e),this.pending="",e},Hb.prototype.push=function(e,t,n){this.pending&&this.pushPending();const r=new fb(e,t,n);let i=null;return n<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()),r.level=this.level,n>0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],i={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(r),this.tokens_meta.push(i),r},Hb.prototype.scanDelims=function(e,t){const n=this.posMax,r=this.src.charCodeAt(e);let i;if(0===e)i=32;else if(1===e)i=this.src.charCodeAt(0),55296==(63488&i)&&(i=65533);else if(i=this.src.charCodeAt(e-1),56320==(64512&i)){const t=this.src.charCodeAt(e-2);i=55296==(64512&t)?65536+(t-55296<<10)+(i-56320):65533}else 55296==(64512&i)&&(i=65533);let o=e;for(;o<n&&this.src.charCodeAt(o)===r;)o++;const a=o-e;let s=o<n?this.src.charCodeAt(o):32;if(55296==(64512&s)){const e=this.src.charCodeAt(o+1);s=56320==(64512&e)?65536+(s-55296<<10)+(e-56320):65533}else 56320==(64512&s)&&(s=65533);const l=nb(i)||tb(i),c=nb(s)||tb(s),u=Qv(i),d=Qv(s),f=!d&&(!c||u||l),h=!u&&(!l||d||c);return{can_open:f&&(t||!h||l),can_close:h&&(t||!f||c),length:a}},Hb.prototype.Token=fb;const $b=/(?:^|[^a-z0-9.+-])([a-z][a-z0-9.+-]*)$/i;const Ub=[];for(let e=0;e<256;e++)Ub.push(0);function Vb(e,t){let n;const r=[],i=t.length;for(let o=0;o<i;o++){const i=t[o];if(126!==i.marker)continue;if(-1===i.end)continue;const a=t[i.end];n=e.tokens[i.token],n.type="s_open",n.tag="s",n.nesting=1,n.markup="~~",n.content="",n=e.tokens[a.token],n.type="s_close",n.tag="s",n.nesting=-1,n.markup="~~",n.content="","text"===e.tokens[a.token-1].type&&"~"===e.tokens[a.token-1].content&&r.push(a.token-1)}for(;r.length;){const t=r.pop();let i=t+1;for(;i<e.tokens.length&&"s_close"===e.tokens[i].type;)i++;i--,t!==i&&(n=e.tokens[i],e.tokens[i]=e.tokens[t],e.tokens[t]=n)}}"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach((function(e){Ub[e.charCodeAt(0)]=1}));var Gb={tokenize:function(e,t){const n=e.pos,r=e.src.charCodeAt(n);if(t)return!1;if(126!==r)return!1;const i=e.scanDelims(e.pos,!0);let o=i.length;const a=String.fromCharCode(r);if(o<2)return!1;let s;o%2&&(s=e.push("text","",0),s.content=a,o--);for(let t=0;t<o;t+=2)s=e.push("text","",0),s.content=a+a,e.delimiters.push({marker:r,length:0,token:e.tokens.length-1,end:-1,open:i.can_open,close:i.can_close});return e.pos+=i.length,!0},postProcess:function(e){const t=e.tokens_meta,n=e.tokens_meta.length;Vb(e,e.delimiters);for(let r=0;r<n;r++)t[r]&&t[r].delimiters&&Vb(e,t[r].delimiters)}};function Yb(e,t){for(let n=t.length-1;n>=0;n--){const r=t[n];if(95!==r.marker&&42!==r.marker)continue;if(-1===r.end)continue;const i=t[r.end],o=n>0&&t[n-1].end===r.end+1&&t[n-1].marker===r.marker&&t[n-1].token===r.token-1&&t[r.end+1].token===i.token+1,a=String.fromCharCode(r.marker),s=e.tokens[r.token];s.type=o?"strong_open":"em_open",s.tag=o?"strong":"em",s.nesting=1,s.markup=o?a+a:a,s.content="";const l=e.tokens[i.token];l.type=o?"strong_close":"em_close",l.tag=o?"strong":"em",l.nesting=-1,l.markup=o?a+a:a,l.content="",o&&(e.tokens[t[n-1].token].content="",e.tokens[t[r.end+1].token].content="",n--)}}var Zb={tokenize:function(e,t){const n=e.pos,r=e.src.charCodeAt(n);if(t)return!1;if(95!==r&&42!==r)return!1;const i=e.scanDelims(e.pos,42===r);for(let t=0;t<i.length;t++){e.push("text","",0).content=String.fromCharCode(r),e.delimiters.push({marker:r,length:i.length,token:e.tokens.length-1,end:-1,open:i.can_open,close:i.can_close})}return e.pos+=i.length,!0},postProcess:function(e){const t=e.tokens_meta,n=e.tokens_meta.length;Yb(e,e.delimiters);for(let r=0;r<n;r++)t[r]&&t[r].delimiters&&Yb(e,t[r].delimiters)}};const Xb=/^([a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)$/,Kb=/^([a-zA-Z][a-zA-Z0-9+.-]{1,31}):([^<>\x00-\x20]*)$/;const Jb=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,Qb=/^&([a-z][a-z0-9]{1,31});/i;function ey(e){const t={},n=e.length;if(!n)return;let r=0,i=-2;const o=[];for(let a=0;a<n;a++){const n=e[a];if(o.push(0),e[r].marker===n.marker&&i===n.token-1||(r=a),i=n.token,n.length=n.length||0,!n.close)continue;t.hasOwnProperty(n.marker)||(t[n.marker]=[-1,-1,-1,-1,-1,-1]);const s=t[n.marker][(n.open?3:0)+n.length%3];let l=r-o[r]-1,c=l;for(;l>s;l-=o[l]+1){const t=e[l];if(t.marker===n.marker&&(t.open&&t.end<0)){let r=!1;if((t.close||n.open)&&(t.length+n.length)%3==0&&(t.length%3==0&&n.length%3==0||(r=!0)),!r){const r=l>0&&!e[l-1].open?o[l-1]+1:0;o[a]=a-l+r,o[l]=r,n.open=!1,t.end=a,t.close=!1,c=-1,i=-2;break}}}-1!==c&&(t[n.marker][(n.open?3:0)+(n.length||0)%3]=c)}}const ty=[["text",function(e,t){let n=e.pos;for(;n<e.posMax&&!qb(e.src.charCodeAt(n));)n++;return n!==e.pos&&(t||(e.pending+=e.src.slice(e.pos,n)),e.pos=n,!0)}],["linkify",function(e,t){if(!e.md.options.linkify)return!1;if(e.linkLevel>0)return!1;const n=e.pos;if(n+3>e.posMax)return!1;if(58!==e.src.charCodeAt(n))return!1;if(47!==e.src.charCodeAt(n+1))return!1;if(47!==e.src.charCodeAt(n+2))return!1;const r=e.pending.match($b);if(!r)return!1;const i=r[1],o=e.md.linkify.matchAtStart(e.src.slice(n-i.length));if(!o)return!1;let a=o.url;if(a.length<=i.length)return!1;let s=a.length;for(;s>0&&42===a.charCodeAt(s-1);)s--;s!==a.length&&(a=a.slice(0,s));const l=e.md.normalizeLink(a);if(!e.md.validateLink(l))return!1;if(!t){e.pending=e.pending.slice(0,-i.length);const t=e.push("link_open","a",1);t.attrs=[["href",l]],t.markup="linkify",t.info="auto";e.push("text","",0).content=e.md.normalizeLinkText(a);const n=e.push("link_close","a",-1);n.markup="linkify",n.info="auto"}return e.pos+=a.length-i.length,!0}],["newline",function(e,t){let n=e.pos;if(10!==e.src.charCodeAt(n))return!1;const r=e.pending.length-1,i=e.posMax;if(!t)if(r>=0&&32===e.pending.charCodeAt(r))if(r>=1&&32===e.pending.charCodeAt(r-1)){let t=r-1;for(;t>=1&&32===e.pending.charCodeAt(t-1);)t--;e.pending=e.pending.slice(0,t),e.push("hardbreak","br",0)}else e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0);else e.push("softbreak","br",0);for(n++;n<i&&Jv(e.src.charCodeAt(n));)n++;return e.pos=n,!0}],["escape",function(e,t){let n=e.pos;const r=e.posMax;if(92!==e.src.charCodeAt(n))return!1;if(n++,n>=r)return!1;let i=e.src.charCodeAt(n);if(10===i){for(t||e.push("hardbreak","br",0),n++;n<r&&(i=e.src.charCodeAt(n),Jv(i));)n++;return e.pos=n,!0}let o=e.src[n];if(i>=55296&&i<=56319&&n+1<r){const t=e.src.charCodeAt(n+1);t>=56320&&t<=57343&&(o+=e.src[n+1],n++)}const a="\\"+o;if(!t){const t=e.push("text_special","",0);i<256&&0!==Ub[i]?t.content=o:t.content=a,t.markup=a,t.info="escape"}return e.pos=n+1,!0}],["backticks",function(e,t){let n=e.pos;if(96!==e.src.charCodeAt(n))return!1;const r=n;n++;const i=e.posMax;for(;n<i&&96===e.src.charCodeAt(n);)n++;const o=e.src.slice(r,n),a=o.length;if(e.backticksScanned&&(e.backticks[a]||0)<=r)return t||(e.pending+=o),e.pos+=a,!0;let s,l=n;for(;-1!==(s=e.src.indexOf("`",l));){for(l=s+1;l<i&&96===e.src.charCodeAt(l);)l++;const r=l-s;if(r===a){if(!t){const t=e.push("code_inline","code",0);t.markup=o,t.content=e.src.slice(n,s).replace(/\n/g," ").replace(/^ (.+) $/,"$1")}return e.pos=l,!0}e.backticks[r]=s}return e.backticksScanned=!0,t||(e.pending+=o),e.pos+=a,!0}],["strikethrough",Gb.tokenize],["emphasis",Zb.tokenize],["link",function(e,t){let n,r,i,o,a="",s="",l=e.pos,c=!0;if(91!==e.src.charCodeAt(e.pos))return!1;const u=e.pos,d=e.posMax,f=e.pos+1,h=e.md.helpers.parseLinkLabel(e,e.pos,!0);if(h<0)return!1;let p=h+1;if(p<d&&40===e.src.charCodeAt(p)){for(c=!1,p++;p<d&&(n=e.src.charCodeAt(p),Jv(n)||10===n);p++);if(p>=d)return!1;if(l=p,i=e.md.helpers.parseLinkDestination(e.src,p,e.posMax),i.ok){for(a=e.md.normalizeLink(i.str),e.md.validateLink(a)?p=i.pos:a="",l=p;p<d&&(n=e.src.charCodeAt(p),Jv(n)||10===n);p++);if(i=e.md.helpers.parseLinkTitle(e.src,p,e.posMax),p<d&&l!==p&&i.ok)for(s=i.str,p=i.pos;p<d&&(n=e.src.charCodeAt(p),Jv(n)||10===n);p++);}(p>=d||41!==e.src.charCodeAt(p))&&(c=!0),p++}if(c){if(void 0===e.env.references)return!1;if(p<d&&91===e.src.charCodeAt(p)?(l=p+1,p=e.md.helpers.parseLinkLabel(e,p),p>=0?r=e.src.slice(l,p++):p=h+1):p=h+1,r||(r=e.src.slice(f,h)),o=e.env.references[rb(r)],!o)return e.pos=u,!1;a=o.href,s=o.title}if(!t){e.pos=f,e.posMax=h;const t=[["href",a]];e.push("link_open","a",1).attrs=t,s&&t.push(["title",s]),e.linkLevel++,e.md.inline.tokenize(e),e.linkLevel--,e.push("link_close","a",-1)}return e.pos=p,e.posMax=d,!0}],["image",function(e,t){let n,r,i,o,a,s,l,c,u="";const d=e.pos,f=e.posMax;if(33!==e.src.charCodeAt(e.pos))return!1;if(91!==e.src.charCodeAt(e.pos+1))return!1;const h=e.pos+2,p=e.md.helpers.parseLinkLabel(e,e.pos+1,!1);if(p<0)return!1;if(o=p+1,o<f&&40===e.src.charCodeAt(o)){for(o++;o<f&&(n=e.src.charCodeAt(o),Jv(n)||10===n);o++);if(o>=f)return!1;for(c=o,s=e.md.helpers.parseLinkDestination(e.src,o,e.posMax),s.ok&&(u=e.md.normalizeLink(s.str),e.md.validateLink(u)?o=s.pos:u=""),c=o;o<f&&(n=e.src.charCodeAt(o),Jv(n)||10===n);o++);if(s=e.md.helpers.parseLinkTitle(e.src,o,e.posMax),o<f&&c!==o&&s.ok)for(l=s.str,o=s.pos;o<f&&(n=e.src.charCodeAt(o),Jv(n)||10===n);o++);else l="";if(o>=f||41!==e.src.charCodeAt(o))return e.pos=d,!1;o++}else{if(void 0===e.env.references)return!1;if(o<f&&91===e.src.charCodeAt(o)?(c=o+1,o=e.md.helpers.parseLinkLabel(e,o),o>=0?i=e.src.slice(c,o++):o=p+1):o=p+1,i||(i=e.src.slice(h,p)),a=e.env.references[rb(i)],!a)return e.pos=d,!1;u=a.href,l=a.title}if(!t){r=e.src.slice(h,p);const t=[];e.md.inline.parse(r,e.md,e.env,t);const n=e.push("image","img",0),i=[["src",u],["alt",""]];n.attrs=i,n.children=t,n.content=r,l&&i.push(["title",l])}return e.pos=o,e.posMax=f,!0}],["autolink",function(e,t){let n=e.pos;if(60!==e.src.charCodeAt(n))return!1;const r=e.pos,i=e.posMax;for(;;){if(++n>=i)return!1;const t=e.src.charCodeAt(n);if(60===t)return!1;if(62===t)break}const o=e.src.slice(r+1,n);if(Kb.test(o)){const n=e.md.normalizeLink(o);if(!e.md.validateLink(n))return!1;if(!t){const t=e.push("link_open","a",1);t.attrs=[["href",n]],t.markup="autolink",t.info="auto";e.push("text","",0).content=e.md.normalizeLinkText(o);const r=e.push("link_close","a",-1);r.markup="autolink",r.info="auto"}return e.pos+=o.length+2,!0}if(Xb.test(o)){const n=e.md.normalizeLink("mailto:"+o);if(!e.md.validateLink(n))return!1;if(!t){const t=e.push("link_open","a",1);t.attrs=[["href",n]],t.markup="autolink",t.info="auto";e.push("text","",0).content=e.md.normalizeLinkText(o);const r=e.push("link_close","a",-1);r.markup="autolink",r.info="auto"}return e.pos+=o.length+2,!0}return!1}],["html_inline",function(e,t){if(!e.md.options.html)return!1;const n=e.posMax,r=e.pos;if(60!==e.src.charCodeAt(r)||r+2>=n)return!1;const i=e.src.charCodeAt(r+1);if(33!==i&&63!==i&&47!==i&&!function(e){const t=32|e;return t>=97&&t<=122}(i))return!1;const o=e.src.slice(r).match(Pb);if(!o)return!1;if(!t){const t=e.push("html_inline","",0);t.content=o[0],a=t.content,/^<a[>\s]/i.test(a)&&e.linkLevel++,function(e){return/^<\/a\s*>/i.test(e)}(t.content)&&e.linkLevel--}var a;return e.pos+=o[0].length,!0}],["entity",function(e,t){const n=e.pos,r=e.posMax;if(38!==e.src.charCodeAt(n))return!1;if(n+1>=r)return!1;if(35===e.src.charCodeAt(n+1)){const r=e.src.slice(n).match(Jb);if(r){if(!t){const t="x"===r[1][0].toLowerCase()?parseInt(r[1].slice(1),16):parseInt(r[1],10),n=e.push("text_special","",0);n.content=Bv(t)?jv(t):jv(65533),n.markup=r[0],n.info="entity"}return e.pos+=r[0].length,!0}}else{const r=e.src.slice(n).match(Qb);if(r){const n=(i=r[0],zv(i,Mv.Strict));if(n!==r[0]){if(!t){const t=e.push("text_special","",0);t.content=n,t.markup=r[0],t.info="entity"}return e.pos+=r[0].length,!0}}}var i;return!1}]],ny=[["balance_pairs",function(e){const t=e.tokens_meta,n=e.tokens_meta.length;ey(e.delimiters);for(let e=0;e<n;e++)t[e]&&t[e].delimiters&&ey(t[e].delimiters)}],["strikethrough",Gb.postProcess],["emphasis",Zb.postProcess],["fragments_join",function(e){let t,n,r=0;const i=e.tokens,o=e.tokens.length;for(t=n=0;t<o;t++)i[t].nesting<0&&r--,i[t].level=r,i[t].nesting>0&&r++,"text"===i[t].type&&t+1<o&&"text"===i[t+1].type?i[t+1].content=i[t].content+i[t+1].content:(t!==n&&(i[n]=i[t]),n++);t!==n&&(i.length=n)}]];function ry(){this.ruler=new db;for(let e=0;e<ty.length;e++)this.ruler.push(ty[e][0],ty[e][1]);this.ruler2=new db;for(let e=0;e<ny.length;e++)this.ruler2.push(ny[e][0],ny[e][1])}function iy(e){return Array.prototype.slice.call(arguments,1).forEach((function(t){t&&Object.keys(t).forEach((function(n){e[n]=t[n]}))})),e}function oy(e){return Object.prototype.toString.call(e)}function ay(e){return"[object Function]"===oy(e)}function sy(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}ry.prototype.skipToken=function(e){const t=e.pos,n=this.ruler.getRules(""),r=n.length,i=e.md.options.maxNesting,o=e.cache;if(void 0!==o[t])return void(e.pos=o[t]);let a=!1;if(e.level<i){for(let i=0;i<r;i++)if(e.level++,a=n[i](e,!0),e.level--,a){if(t>=e.pos)throw new Error("inline rule didn't increment state.pos");break}}else e.pos=e.posMax;a||e.pos++,o[t]=e.pos},ry.prototype.tokenize=function(e){const t=this.ruler.getRules(""),n=t.length,r=e.posMax,i=e.md.options.maxNesting;for(;e.pos<r;){const o=e.pos;let a=!1;if(e.level<i)for(let r=0;r<n;r++)if(a=t[r](e,!1),a){if(o>=e.pos)throw new Error("inline rule didn't increment state.pos");break}if(a){if(e.pos>=r)break}else e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()},ry.prototype.parse=function(e,t,n,r){const i=new this.State(e,t,n,r);this.tokenize(i);const o=this.ruler2.getRules(""),a=o.length;for(let e=0;e<a;e++)o[e](i)},ry.prototype.State=Hb;const ly={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};const cy={"http:":{validate:function(e,t,n){const r=e.slice(t);return n.re.http||(n.re.http=new RegExp("^\\/\\/"+n.re.src_auth+n.re.src_host_port_strict+n.re.src_path,"i")),n.re.http.test(r)?r.match(n.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,n){const r=e.slice(t);return n.re.no_http||(n.re.no_http=new RegExp("^"+n.re.src_auth+"(?:localhost|(?:(?:"+n.re.src_domain+")\\.)+"+n.re.src_domain_root+")"+n.re.src_port+n.re.src_host_terminator+n.re.src_path,"i")),n.re.no_http.test(r)?t>=3&&":"===e[t-3]||t>=3&&"/"===e[t-3]?0:r.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,n){const r=e.slice(t);return n.re.mailto||(n.re.mailto=new RegExp("^"+n.re.src_email_name+"@"+n.re.src_host_strict,"i")),n.re.mailto.test(r)?r.match(n.re.mailto)[0].length:0}}},uy="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function dy(e){const t=e.re=function(e){const t={};e=e||{},t.src_Any=pv.source,t.src_Cc=gv.source,t.src_Z=bv.source,t.src_P=mv.source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join("|"),t.src_ZCc=[t.src_Z,t.src_Cc].join("|");const n="[><|]";return t.src_pseudo_letter="(?:(?![><|]|"+t.src_ZPCc+")"+t.src_Any+")",t.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",t.src_auth="(?:(?:(?!"+t.src_ZCc+"|[@/\\[\\]()]).)+@)?",t.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",t.src_host_terminator="(?=$|[><|]|"+t.src_ZPCc+")(?!"+(e["---"]?"-(?!--)|":"-|")+"_|:\\d|\\.-|\\.(?!$|"+t.src_ZPCc+"))",t.src_path="(?:[/?#](?:(?!"+t.src_ZCc+"|"+n+"|[()[\\]{}.,\"'?!\\-;]).|\\[(?:(?!"+t.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+t.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+t.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+t.src_ZCc+'|["]).)+\\"|\\\'(?:(?!'+t.src_ZCc+"|[']).)+\\'|\\'(?="+t.src_pseudo_letter+"|[-])|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+t.src_ZCc+"|[.]|$)|"+(e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+",(?!"+t.src_ZCc+"|$)|;(?!"+t.src_ZCc+"|$)|\\!+(?!"+t.src_ZCc+"|[!]|$)|\\?(?!"+t.src_ZCc+"|[?]|$))+|\\/)?",t.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',t.src_xn="xn--[a-z0-9\\-]{1,59}",t.src_domain_root="(?:"+t.src_xn+"|"+t.src_pseudo_letter+"{1,63})",t.src_domain="(?:"+t.src_xn+"|(?:"+t.src_pseudo_letter+")|(?:"+t.src_pseudo_letter+"(?:-|"+t.src_pseudo_letter+"){0,61}"+t.src_pseudo_letter+"))",t.src_host="(?:(?:(?:(?:"+t.src_domain+")\\.)*"+t.src_domain+"))",t.tpl_host_fuzzy="(?:"+t.src_ip4+"|(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%)))",t.tpl_host_no_ip_fuzzy="(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%))",t.src_host_strict=t.src_host+t.src_host_terminator,t.tpl_host_fuzzy_strict=t.tpl_host_fuzzy+t.src_host_terminator,t.src_host_port_strict=t.src_host+t.src_port+t.src_host_terminator,t.tpl_host_port_fuzzy_strict=t.tpl_host_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_port_no_ip_fuzzy_strict=t.tpl_host_no_ip_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+t.src_ZPCc+"|>|$))",t.tpl_email_fuzzy='(^|[><|]|"|\\(|'+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}(e.__opts__),n=e.__tlds__.slice();function r(e){return e.replace("%TLDS%",t.src_tlds)}e.onCompile(),e.__tlds_replaced__||n.push("a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]"),n.push(t.src_xn),t.src_tlds=n.join("|"),t.email_fuzzy=RegExp(r(t.tpl_email_fuzzy),"i"),t.email_fuzzy_global=RegExp(r(t.tpl_email_fuzzy),"ig"),t.link_fuzzy=RegExp(r(t.tpl_link_fuzzy),"i"),t.link_fuzzy_global=RegExp(r(t.tpl_link_fuzzy),"ig"),t.link_no_ip_fuzzy=RegExp(r(t.tpl_link_no_ip_fuzzy),"i"),t.link_no_ip_fuzzy_global=RegExp(r(t.tpl_link_no_ip_fuzzy),"ig"),t.host_fuzzy_test=RegExp(r(t.tpl_host_fuzzy_test),"i");const i=[];function o(e,t){throw new Error('(LinkifyIt) Invalid schema "'+e+'": '+t)}e.__compiled__={},Object.keys(e.__schemas__).forEach((function(t){const n=e.__schemas__[t];if(null===n)return;const r={validate:null,link:null};if(e.__compiled__[t]=r,"[object Object]"===oy(n))return!function(e){return"[object RegExp]"===oy(e)}(n.validate)?ay(n.validate)?r.validate=n.validate:o(t,n):r.validate=function(e){return function(t,n){const r=t.slice(n);return e.test(r)?r.match(e)[0].length:0}}(n.validate),void(ay(n.normalize)?r.normalize=n.normalize:n.normalize?o(t,n):r.normalize=function(e,t){t.normalize(e)});!function(e){return"[object String]"===oy(e)}(n)?o(t,n):i.push(t)})),i.forEach((function(t){e.__compiled__[e.__schemas__[t]]&&(e.__compiled__[t].validate=e.__compiled__[e.__schemas__[t]].validate,e.__compiled__[t].normalize=e.__compiled__[e.__schemas__[t]].normalize)})),e.__compiled__[""]={validate:null,normalize:function(e,t){t.normalize(e)}};const a=Object.keys(e.__compiled__).filter((function(t){return t.length>0&&e.__compiled__[t]})).map(sy).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+a+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+a+")","ig"),e.re.schema_at_start=RegExp("^"+e.re.schema_search.source,"i"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i")}function fy(e,t,n,r){const i=e.slice(n,r);this.schema=t.toLowerCase(),this.index=n,this.lastIndex=r,this.raw=i,this.text=i,this.url=i}function hy(e,t){if(!(this instanceof hy))return new hy(e,t);var n;t||(n=e,Object.keys(n||{}).reduce((function(e,t){return e||ly.hasOwnProperty(t)}),!1)&&(t=e,e={})),this.__opts__=iy({},ly,t),this.__schemas__=iy({},cy,e),this.__compiled__={},this.__tlds__=uy,this.__tlds_replaced__=!1,this.re={},dy(this)}hy.prototype.add=function(e,t){return this.__schemas__[e]=t,dy(this),this},hy.prototype.set=function(e){return this.__opts__=iy(this.__opts__,e),this},hy.prototype.test=function(e){if(!e.length)return!1;let t,n;if(this.re.schema_test.test(e))for(n=this.re.schema_search,n.lastIndex=0;null!==(t=n.exec(e));)if(this.testSchemaAt(e,t[2],n.lastIndex))return!0;return!!(this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&e.search(this.re.host_fuzzy_test)>=0&&null!==e.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))||!!(this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&e.indexOf("@")>=0&&null!==e.match(this.re.email_fuzzy))},hy.prototype.pretest=function(e){return this.re.pretest.test(e)},hy.prototype.testSchemaAt=function(e,t,n){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,n,this):0},hy.prototype.match=function(e){const t=[],n=[],r=[],i=[];let o,a,s;function l(e,t){return e?t?e.index!==t.index?e.index<t.index?e:t:e.lastIndex>=t.lastIndex?e:t:e:t}if(!e.length)return null;if(this.re.schema_test.test(e))for(s=this.re.schema_search,s.lastIndex=0;null!==(o=s.exec(e));)a=this.testSchemaAt(e,o[2],s.lastIndex),a&&n.push({schema:o[2],index:o.index+o[1].length,lastIndex:o.index+o[0].length+a});if(this.__opts__.fuzzyLink&&this.__compiled__["http:"])for(s=this.__opts__.fuzzyIP?this.re.link_fuzzy_global:this.re.link_no_ip_fuzzy_global,s.lastIndex=0;null!==(o=s.exec(e));)r.push({schema:"",index:o.index+o[1].length,lastIndex:o.index+o[0].length});if(this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"])for(s=this.re.email_fuzzy_global,s.lastIndex=0;null!==(o=s.exec(e));)i.push({schema:"mailto:",index:o.index+o[1].length,lastIndex:o.index+o[0].length});const c=[0,0,0];let u=0;for(;;){const o=[n[c[0]],i[c[1]],r[c[2]]],a=l(l(o[0],o[1]),o[2]);if(!a)break;if(a===o[0]?c[0]++:a===o[1]?c[1]++:c[2]++,a.index<u)continue;const s=new fy(e,a.schema,a.index,a.lastIndex);this.__compiled__[s.schema].normalize(s,this),t.push(s),u=a.lastIndex}return t.length?t:null},hy.prototype.matchAtStart=function(e){if(!e.length)return null;const t=this.re.schema_at_start.exec(e);if(!t)return null;const n=this.testSchemaAt(e,t[2],t[0].length);if(!n)return null;const r=new fy(e,t[2],t.index+t[1].length,t.index+t[0].length+n);return this.__compiled__[r.schema].normalize(r,this),r},hy.prototype.tlds=function(e,t){return e=Array.isArray(e)?e:[e],t?(this.__tlds__=this.__tlds__.concat(e).sort().filter((function(e,t,n){return e!==n[t-1]})).reverse(),dy(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,dy(this),this)},hy.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),"mailto:"!==e.schema||/^mailto:/i.test(e.url)||(e.url="mailto:"+e.url)},hy.prototype.onCompile=function(){};const py=2147483647,gy=36,my=/^xn--/,vy=/[^\0-\x7F]/,by=/[\x2E\u3002\uFF0E\uFF61]/g,yy={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},_y=Math.floor,xy=String.fromCharCode;function wy(e){throw new RangeError(yy[e])}function ky(e,t){const n=e.split("@");let r="";n.length>1&&(r=n[0]+"@",e=n[1]);const i=function(e,t){const n=[];let r=e.length;for(;r--;)n[r]=t(e[r]);return n}((e=e.replace(by,".")).split("."),t).join(".");return r+i}function Cy(e){const t=[];let n=0;const r=e.length;for(;n<r;){const i=e.charCodeAt(n++);if(i>=55296&&i<=56319&&n<r){const r=e.charCodeAt(n++);56320==(64512&r)?t.push(((1023&i)<<10)+(1023&r)+65536):(t.push(i),n--)}else t.push(i)}return t}const Ay=function(e,t){return e+22+75*(e<26)-((0!=t)<<5)},Sy=function(e,t,n){let r=0;for(e=n?_y(e/700):e>>1,e+=_y(e/t);e>455;r+=gy)e=_y(e/35);return _y(r+36*e/(e+38))},My=function(e){const t=[],n=e.length;let r=0,i=128,o=72,a=e.lastIndexOf("-");a<0&&(a=0);for(let n=0;n<a;++n)e.charCodeAt(n)>=128&&wy("not-basic"),t.push(e.charCodeAt(n));for(let l=a>0?a+1:0;l<n;){const a=r;for(let t=1,i=gy;;i+=gy){l>=n&&wy("invalid-input");const a=(s=e.charCodeAt(l++))>=48&&s<58?s-48+26:s>=65&&s<91?s-65:s>=97&&s<123?s-97:gy;a>=gy&&wy("invalid-input"),a>_y((py-r)/t)&&wy("overflow"),r+=a*t;const c=i<=o?1:i>=o+26?26:i-o;if(a<c)break;const u=gy-c;t>_y(py/u)&&wy("overflow"),t*=u}const c=t.length+1;o=Sy(r-a,c,0==a),_y(r/c)>py-i&&wy("overflow"),i+=_y(r/c),r%=c,t.splice(r++,0,i)}var s;return String.fromCodePoint(...t)},Ey=function(e){const t=[],n=(e=Cy(e)).length;let r=128,i=0,o=72;for(const n of e)n<128&&t.push(xy(n));const a=t.length;let s=a;for(a&&t.push("-");s<n;){let n=py;for(const t of e)t>=r&&t<n&&(n=t);const l=s+1;n-r>_y((py-i)/l)&&wy("overflow"),i+=(n-r)*l,r=n;for(const n of e)if(n<r&&++i>py&&wy("overflow"),n===r){let e=i;for(let n=gy;;n+=gy){const r=n<=o?1:n>=o+26?26:n-o;if(e<r)break;const i=e-r,a=gy-r;t.push(xy(Ay(r+i%a,0))),e=_y(i/a)}t.push(xy(Ay(e,0))),o=Sy(i,l,s===a),i=0,++s}++i,++r}return t.join("")},Ly=function(e){return ky(e,(function(e){return vy.test(e)?"xn--"+Ey(e):e}))},Ty=function(e){return ky(e,(function(e){return my.test(e)?My(e.slice(4).toLowerCase()):e}))};const Dy={default:{options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}},zero:{options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","fragments_join"]}}},commonmark:{options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","fragments_join"]}}}},Fy=/^(vbscript|javascript|file|data):/,Oy=/^data:image\/(gif|png|jpeg|webp);/;function zy(e){const t=e.trim().toLowerCase();return!Fy.test(t)||Oy.test(t)}const Ry=["http:","https:","mailto:"];function Ny(e){const t=dv(e,!0);if(t.hostname&&(!t.protocol||Ry.indexOf(t.protocol)>=0))try{t.hostname=Ly(t.hostname)}catch(e){}return Km(Jm(t))}function Py(e){const t=dv(e,!0);if(t.hostname&&(!t.protocol||Ry.indexOf(t.protocol)>=0))try{t.hostname=Ty(t.hostname)}catch(e){}return Zm(Jm(t),Zm.defaultChars+"%")}function Iy(e,t){if(!(this instanceof Iy))return new Iy(e,t);t||Rv(e)||(t=e||{},e="default"),this.inline=new ry,this.block=new Wb,this.core=new Lb,this.renderer=new ub,this.linkify=new hy,this.validateLink=zy,this.normalizeLink=Ny,this.normalizeLinkText=Py,this.utils=sb,this.helpers=Pv({},lb),this.options={},this.configure(e),t&&this.set(t)}Iy.prototype.set=function(e){return Pv(this.options,e),this},Iy.prototype.configure=function(e){const t=this;if(Rv(e)){const t=e;if(!(e=Dy[t]))throw new Error('Wrong `markdown-it` preset "'+t+'", check name')}if(!e)throw new Error("Wrong `markdown-it` preset, can't be empty");return e.options&&t.set(e.options),e.components&&Object.keys(e.components).forEach((function(n){e.components[n].rules&&t[n].ruler.enableOnly(e.components[n].rules),e.components[n].rules2&&t[n].ruler2.enableOnly(e.components[n].rules2)})),this},Iy.prototype.enable=function(e,t){let n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach((function(t){n=n.concat(this[t].ruler.enable(e,!0))}),this),n=n.concat(this.inline.ruler2.enable(e,!0));const r=e.filter((function(e){return n.indexOf(e)<0}));if(r.length&&!t)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+r);return this},Iy.prototype.disable=function(e,t){let n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach((function(t){n=n.concat(this[t].ruler.disable(e,!0))}),this),n=n.concat(this.inline.ruler2.disable(e,!0));const r=e.filter((function(e){return n.indexOf(e)<0}));if(r.length&&!t)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+r);return this},Iy.prototype.use=function(e){const t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this},Iy.prototype.parse=function(e,t){if("string"!=typeof e)throw new Error("Input data should be a String");const n=new this.core.State(e,this,t);return this.core.process(n),n.tokens},Iy.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)},Iy.prototype.parseInline=function(e,t){const n=new this.core.State(e,this,t);return n.inlineMode=!0,this.core.process(n),n.tokens},Iy.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)};const By=new Iy,jy=({attachment:e})=>{const[t,n]=c(""),[r,i]=c(0),o=sf.value.current,a=e.text??"",s=h((()=>a?(e=>yd(e,_d))(By.render(a)):""),[a]);u((()=>{if(!s)return void n("");const e=(e=>{if("undefined"==typeof globalThis||!globalThis.document)return"";const t=globalThis.getComputedStyle(globalThis.document.documentElement);return Array.from(new Set(e.match(/--[\w-]+/g)??[])).map((e=>{const n=t.getPropertyValue(e).trim(),r=uf(n,t,new Set([e])).trim();return r?`${e}: ${r};`:""})).filter(Boolean).join("\n")})(lf),t=new Blob([`<!DOCTYPE html>\n<html data-theme="${o}">\n <head>\n <meta charset="utf-8">\n <style>:root {${e}}</style>\n <style>${lf}</style>\n <style>html, body { margin: 0; } body { padding: 8px 0; }</style>\n </head>\n <body>${s}</body>\n</html>`],{type:"text/html"}),r=URL.createObjectURL(t);return n(r),()=>URL.revokeObjectURL(r)}),[o,s]);return s?An("div",{className:Vp["markdown-attachment-preview"],"data-testid":"markdown-attachment-preview",children:t&&An("iframe",{title:"Markdown attachment",src:t,width:"100%",height:r||void 0,frameBorder:0,sandbox:"allow-same-origin",onLoad:e=>{const t=e.currentTarget;i((e=>{const t=e.contentDocument?.documentElement,n=e.contentDocument?.body,r=n?.getBoundingClientRect().height??0,i=Math.max(n?.scrollHeight??0,t?.scrollHeight??0);return Math.ceil(Math.max(r,i))})(t))}})}):null},Wy={image:Gp,svg:Gp,json:Up,code:Up,uri:Up,css:Up,table:Up,html:Up,markdown:Up,text:Up,video:Wg,"image-diff":e=>{const{attachment:t,i18n:n}=e;return t&&"diff"in t?An("div",{className:Vp.imageDiffWrapper,children:An(jg,{diff:t.diff,i18n:n})}):An(En,{})},http:Gm,archive:null},Hy={html:qg,markdown:jy},qy=new Set(["html","markdown"]),$y=e=>{const{item:t,previewable:n,highlightCode:r=!0,i18n:i}=e,{link:{contentType:o,id:a,ext:s}}=t,l=m(null),c=m(!0),f=m(!1),h=or(o),p=d((async()=>{c.value=!0,f.value=!1;try{const e=await(async(e,t,n)=>{if(!e&&!t)return null;const r=await Jn({id:e,ext:t,contentType:n}),i=or(n);if(!r.ok)throw new Error("Failed to fetch");switch(i){case"svg":case"image":{const t=await r.blob();return{img:URL.createObjectURL(t),id:e}}case"uri":case"code":case"html":case"markdown":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}}case"image-diff":return{diff:await r.json()};case"http":return{http:await r.json()};default:return null}})(a,s,o);v((()=>{c.value=!1,l.value=e}))}catch{v((()=>{c.value=!1,f.value=!0}))}}),[a,s,o,c,l,f]);if(u((()=>{h&&p()}),[h,p]),!h)return null;if(c.value)return An("div",{className:Vp["test-result-spinner"],children:An(En,{})});if(f.value)return An(jp,{description:"Failed to load attachment",size:"xs",children:An(Rn,{style:"flat",icon:Sn.lineArrowsRefreshCcw1,onClick:p})});const g=Hy[h],b=Wy[h],y=i?.["image-diff"===h?"imageDiff":h];if(qy.has(h)&&g&&b){const e=b===Up,i=!!n;return An("div",{className:Vp.attachmentViewStack,children:[An("div",{className:Vp.attachmentViewPane,hidden:i,children:An(b,{attachment:l.value,item:t,i18n:y,...e?{highlight:r}:{}})}),An("div",{className:Vp.attachmentViewPane,hidden:!i,children:An(g,{attachment:l.value,item:t,i18n:y})})]})}if(n&&g)return An(g,{attachment:l.value,item:t,i18n:y});if(!b)return null;const _=b===Up;return An(b,{attachment:l.value,item:t,i18n:y,..._?{highlight:r}:{}})},Uy=({children:e})=>An("div",{className:Vp["wrong-attachment-sign"],children:e}),Vy=({code:e,children:t,className:n})=>(u((()=>{Y.highlightAll()}),[]),An("pre",{className:ie("language-text line-numbers language-diff",n),children:[e&&An("code",{children:e}),t]}));var Gy="styles_modal-overlay__xdM2o",Yy="styles_modal-content__2yYdb",Zy="styles_modal-wrapper__KacuO",Xy="styles_modal-wrapper-fullscreen__11W3U",Ky="styles_modal-data-component__3HBgz",Jy="styles_modal-buttons__OBqaM",Qy="styles_syntax-highlight-off__q6J31",e_="styles_modal-data__tEK64",t_="styles_modal-header__IcCg9",n_="styles_modal-thumb__O5sLe",r_="styles_active__YdnV4",i_="styles_modal-gallery__w0J0I";const o_=({changeThumb:e,children:t,isActiveThumb:n})=>An("div",{className:ie(n_,{[r_]:n}),onClick:()=>()=>e?.(),children:t}),a_=({attachments:e=[]})=>{const t=e?.filter((({link:{contentType:e}})=>{const t=or(e);return!["archive",null].includes(t)}));return An("div",{className:i_,children:t?.map((e=>An(o_,{item:e,children:An($y,{item:e})},e?.link?.id)))})},s_=({data:e,isModalOpen:t,preview:n,component:r,attachments:i,closeModal:o,translations:a,title:s})=>{const{tooltipPreview:l,tooltipSyntaxHighlight:d,tooltipDownload:f,openInNewTabButton:p}=a,{link:g}=e||{},[m,v]=c(!1),[b,y]=c(!!n),[_,x]=c(!0),w=g?.contentType?.startsWith("image"),k=(e=>!!e&&er.includes(e))(g?.contentType),C=!(w||g?.contentType?.startsWith("video")||k&&b),A=(e=>{if(!e)return!1;const t=e.contentType?.toLowerCase();let n;for(const t of[e.ext,e.name,e.originalFileName]){if(!t)continue;const e=(ir(t)??t.replace(/^\./,"")).toLowerCase(),r=e.includes(".")?e.split(".").pop():e;if(r){n=r;break}}return(!t||!nr.has(t))&&(!(!t||!rr.has(t))||!!n&&tr.has(n))})({contentType:g?.contentType,ext:g?.ext,name:g?.name,originalFileName:g?.originalFileName}),S=g?.id&&g?.ext&&g?.contentType,M=g?.name||g?.id&&g?.ext&&`${g.id}${g.ext}`||"",E=s||M;u((()=>{t&&(y(!!n),x(!0))}),[t,n]);const L=h((()=>r&&Mp(r,{data:e,isFullScreen:m,previewable:b,highlightCode:_})),[r,e,m,b,_]);u((()=>(document.body.style.overflow=t?"hidden":"",()=>{document.body.style.overflow=""})),[t]),u((()=>{if(!t)return;const e=e=>{"Escape"===e.key&&o?.()};return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)}),[t,o]);const T=async e=>{e.stopPropagation();const{id:t,ext:n,contentType:r}=g||{};t&&n&&r&&await(async(e,t,n)=>{if(!e&&!t)return;const r=`${e}${t}`,i=await Qn(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?An("div",{className:Gy,onClick:o,children:An("div",{className:ie(Yy),onClick:e=>e.stopPropagation(),children:[An("div",{className:ie(Zy,{[Xy]:m}),children:[An("div",{className:t_,children:[An(Dn,{size:"s",children:E}),An("div",{className:Jy,children:[w&&An(zn,{style:"outline",onClick:async()=>{const{id:e,ext:t,contentType:n}=g||{};await(async(e,t,n)=>{if(!e&&!t)return;const r=await Qn(e,t,n),i=URL.createObjectURL(r);globalThis.open(i,"_blank")})(e,t,n)},icon:Sn.lineGeneralLinkExternal,text:p}),k&&An(jh,{tooltipText:l,children:An(Rn,{style:"outline",size:"m",iconSize:"s",icon:b?Sn.viewOff:Sn.view,onClick:()=>y(!b)})}),C&&A&&An(jh,{tooltipText:d??"Syntax highlighting",children:An(Rn,{className:ie(!_&&Qy),style:"outline",size:"m",iconSize:"s",icon:Sn.lineDevCodeSquare,onClick:()=>x(!_)})}),S&&An(jh,{tooltipText:f,children:An(Rn,{style:"outline",size:"m",iconSize:"s",icon:Sn.lineGeneralDownloadCloud,onClick:e=>T(e)})}),An(Rn,{iconSize:"m",style:"ghost",onClick:()=>v(!m),icon:m?Sn.lineLayoutsMinimize2:Sn.lineLayoutsMaximize2}),An(Rn,{iconSize:"m",style:"ghost",onClick:o,icon:Sn.lineGeneralXClose})]})]}),An("div",{className:e_,children:An("div",{className:Ky,children:L},e?.link?.id)})]}),i?.length&&An(a_,{attachments:i})]})}):null};var l_={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-subtree-toggle":"styles_tree-subtree-toggle__39-6e","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","tree-item-icon-svg":"styles_tree-item-icon-svg__PqvN7","tree-item-icon-bg":"styles_tree-item-icon-bg__BWzam","tree-item-icon-stroke":"styles_tree-item-icon-stroke__r-Ga3","tree-item-icon-fill":"styles_tree-item-icon-fill__neuI9","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","tree-item-focused":"styles_tree-item-focused__HCYiA","tree-section-focused":"styles_tree-section-focused__8rwyh"};const c_={failed:()=>An(r,{children:[An("path",{className:l_["tree-item-icon-stroke"],d:"M5.6 5.6 10.4 10.4"}),An("path",{className:l_["tree-item-icon-stroke"],d:"M10.4 5.6 5.6 10.4"})]}),broken:()=>An(r,{children:[An("path",{className:l_["tree-item-icon-stroke"],d:"M8 4.6v4.2"}),An("circle",{className:l_["tree-item-icon-fill"],cx:"8",cy:"11.4",r:"1"})]}),passed:()=>An("path",{className:l_["tree-item-icon-stroke"],d:"m4.8 8.2 2.2 2.2 4.4-4.8"}),skipped:()=>An("path",{className:l_["tree-item-icon-stroke"],d:"M5 8h6"}),unknown:()=>An(r,{children:[An("path",{className:l_["tree-item-icon-stroke"],d:"M6.4 6.2A1.7 1.7 0 0 1 8 5.1c1 0 1.8.7 1.8 1.7 0 1.4-1.8 1.3-1.8 2.8"}),An("circle",{className:l_["tree-item-icon-fill"],cx:"8",cy:"11.5",r:"0.9"})]})},u_=({status:e="unknown",className:t,classNameIcon:n})=>{const r=c_[e];return An("div",{"data-testid":`tree-leaf-status-${e}`,className:ie(l_["tree-item-icon"],l_[`status-${e}`],t),children:An("svg",{className:ie(l_["tree-item-icon-svg"],n),viewBox:"0 0 16 16","aria-hidden":"true",focusable:"false",children:[An("circle",{className:l_["tree-item-icon-bg"],cx:"8",cy:"8",r:"7.5"}),An(r,{})]})})};var d_={"tree-item-retries":"styles_tree-item-retries__dhixw"};const f_=({retriesCount:e=0})=>e>0?An("div",{"data-testid":"tree-leaf-retries",className:d_["tree-item-retries"],children:[An(Mn,{className:d_["tree-leaf-retries-icon"],id:Sn.lineArrowsRefreshCcw1}),An(Ln,{type:"ui",size:"m",children:e})]}):null,h_=e=>{switch(e){case"new":return Sn.lineAlertsNew;case"fixed":return Sn.lineAlertsFixed;case"regressed":return Sn.lineAlertsRegressed;case"malfunctioned":return Sn.lineAlertsMalfunctioned;default:return Sn.lineAlertsAlertCircle}};var p_={"item-info":"styles_item-info__ELNw-","item-info-time":"styles_item-info-time__fWpPK"};const g_=({duration:e,retriesCount:t,flaky:n,transition:r,tooltips:i})=>{const o=Vn(e);return An("div",{className:p_["item-info"],children:[n&&An(jh,{"data-testid":"tree-leaf-flaky-tooltip",tooltipText:i?.flaky,children:An(Mn,{"data-testid":"tree-leaf-flaky",id:Sn.lineIconBomb2})}),Boolean(t)&&An(jh,{"data-testid":"tree-leaf-retries-tooltip",tooltipText:i?.retries,children:An(f_,{retriesCount:t})}),r&&An(jh,{"data-testid":"tree-leaf-transition-tooltip",tooltipText:i?.transition,children:An(Mn,{"data-testid":`tree-leaf-transition-${r}`,id:h_(r),className:p_["item-info-transition"]})}),An(Ln,{"data-testid":"tree-leaf-duration",type:"ui",size:"m",className:p_["item-info-time"],children:o})]})},m_=({name:e,groupOrder:t,status:n,duration:r,retriesCount:i,flaky:o,transition:a,transitionTooltip:s,id:l,focusNodeId:c,marked:u,focused:d,navigateTo:f,tooltips:h,...p})=>{const g=c??l;return An("div",{...p,className:ie(l_["tree-item"],u?l_["tree-item-marked"]:"",d?l_["tree-item-focused"]:""),onClick:()=>f(l),id:l,"data-tree-node-id":g,"aria-current":d?"true":void 0,children:[An(u_,{status:n}),An(Tn,{"data-testid":"tree-leaf-order",size:"s",className:l_.order,children:t}),An(Ln,{"data-testid":"tree-leaf-title",className:l_["item-title"],children:e}),An(g_,{"data-testid":"tree-leaf-info",duration:r,flaky:o,retriesCount:i,transition:a,transitionTooltip:s,tooltips:h})]})},v_=({title:e,icon:t,isOpened:n,toggleTree:r,focused:i,nodeId:o,children:a,...s})=>An("div",{"data-testid":"tree-section",...s,className:ie(l_["tree-section"],i?l_["tree-section-focused"]:""),onClick:r,id:o,"data-tree-node-id":o,children:[An(Op,{"data-testid":"tree-arrow",isOpened:n}),t&&An(Mn,{id:t,size:"xs"}),An(Ln,{"data-testid":"tree-section-title",size:"m",bold:!0,className:l_["tree-section-title"],children:e}),a]}),b_=({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?An("div",{className:l_["tree-status-bar"],style:{minWidth:`${a}px`},children:In.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})=>An("div",{className:ie(l_["tree-status-bar-item"],l_[e]),style:{flexGrow:t},children:t},e)))}):null},y_=({categoryTitle:e,isOpened:t,toggleTree:n,statistic:r,reportStatistic:i,statusFilter:o,actions:a,focused:s,nodeId:l,...c})=>An(v_,{...c,title:e,isOpened:t,toggleTree:n,focused:s,nodeId:l,children:[a,An(b_,{reportStatistic:i,statusFilter:o,statistic:r})]}),__=(e,t=!1)=>t||(e=>void 0===e||Boolean(e?.failed||e?.broken))(e),x_=e=>(e=>e.trees.length>0||e.leaves.length>0)(e),w_={"single-down":Sn.lineArrowsChevronDown,"single-up":Sn.lineArrowsChevronUp,"double-down":Sn.lineArrowsChevronDownDouble,"double-up":Sn.lineArrowsChevronUpDouble},k_=({tree:e,statusFilter:t,root:n,name:r,statistic:i,reportStatistic:o,collapsedTrees:a,toggleTree:s,routeId:l,focusedId:u,focusIdPrefix:d,isGroupOpened:f,navigateTo:h})=>{const p=e.nodeId,g=e=>d?`${d}${e}`:e,m=__(i,Boolean(n)),v=(e,t)=>f?f(e,t):((e,t,n)=>t.has(e)?!n:n)(e,a,t),b=v(g(p),m),y=x_(e),_=(e=>x_(e)&&0===e.trees.length)(e),x=y?(e=>{const t=[],n=[{tree:e,isRoot:!0}];for(;n.length>0;){const e=n.pop();e&&(t.push({id:e.tree.nodeId,openedByDefault:ff(e.tree.statistic),isRoot:e.isRoot}),e.tree.trees.forEach((e=>n.push({tree:e,isRoot:!1}))))}return t})(e):[],[w,k]=c(null),C=!v(g(p),m),A=((e,t,n,r)=>!!r(e,t)&&n.filter((e=>!e.isRoot)).every((e=>!r(e.id,e.openedByDefault))))(g(p),m,x,((e,t)=>v(g(e),t))),S=y&&((e,t)=>e.every((e=>t(e.id,e.openedByDefault))))(x,((e,t)=>v(g(e),t))),M=w_[(e=>{const{hasOnlyLeafResults:t,isSubtreeCollapsedAll:n,isSubtreeFirstLevelOnly:r}=e;return t?n?"single-down":"single-up":n?"single-down":r?"double-down":"double-up"})({hasOnlyLeafResults:_,isSubtreeCollapsedAll:C,isSubtreeFirstLevelOnly:A})],E=Boolean(r),L=e.trees.length>0||e.leaves.length>0,T=ie({[l_["tree-content"]]:!0,[l_.root]:n});if(!L)return null;const D=e.trees.map((e=>An(k_,{name:e.name,tree:e,statistic:e.statistic,reportStatistic:o,statusFilter:t,collapsedTrees:a,toggleTree:s,routeId:l,focusedId:u,focusIdPrefix:d,isGroupOpened:f,navigateTo:h},e.nodeId))),F=e.leaves.map((e=>An(m_,{"data-testid":"tree-leaf",id:e.nodeId,name:e.name,status:e.status,groupOrder:e.groupOrder,duration:e.duration,retriesCount:e.retriesCount,transition:e.transition,transitionTooltip:e.transitionTooltip,tooltips:e.tooltips,flaky:e.flaky,marked:e.nodeId===l,focused:g(e.nodeId)===u,focusNodeId:g(e.nodeId),navigateTo:h},e.nodeId))),O=y?An(Rn,{size:"xs",style:"ghost",icon:M,onClick:e=>{e.stopPropagation();const t=(e=>{const{hasOnlyLeafResults:t,isSubtreeCollapsedAll:n,isSubtreeFirstLevelOnly:r,isSubtreeExpandedAll:i,lastSubtreeToggle:o}=e;return t?n?"all":"none":n?"first":r?"all"===o?"none":"all":i?"first":"all"})({hasOnlyLeafResults:_,isSubtreeCollapsedAll:C,isSubtreeFirstLevelOnly:A,isSubtreeExpandedAll:S,lastSubtreeToggle:w});((e,t,n)=>{e.forEach((e=>{const r="all"===t||"first"===t&&e.isRoot,i=n.toScopedId(e.id);n.isOpened(i,e.openedByDefault)!==r&&n.setOpened(i,r,e.openedByDefault)}))})(x,t,{toScopedId:g,isOpened:(e,t)=>v(e,t),setOpened:(e,t,n)=>{v(e,n)!==t&&s(e,n)}}),"first"!==t&&k(t)},className:l_["tree-subtree-toggle"],"data-testid":"tree-subtree-toggle"}):void 0,z=b?An("div",{"data-testid":"tree-content",className:T,children:[D,F]}):null;return An("div",{className:l_.tree,children:[E?An(y_,{statusFilter:t,categoryTitle:r,isOpened:b,toggleTree:()=>{s(g(p),m),k(null)},statistic:i,reportStatistic:o,actions:O,focused:g(p)===u,nodeId:g(p)}):null,z]})};var C_={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 An(Ln,{tag:"small",size:"l"===n?"m":"s",type:"ui",bold:!0,className:ie(C_.counter,C_[`size-${n}`],i&&C_[`status-${i}`]),"data-testid":"counter",children:o})};var S_="styles_toggle__aBRpI";const M_=e=>{const{value:t,label:n,onChange:r,focusable:i=!0,size:o="m",...a}=e;return An("input",{...a,tabIndex:i?0:-1,className:S_,role:"switch",type:"checkbox",checked:t,"aria-label":n,onClick:e=>{const t=!e.target.checked;r(t)},"data-size":o})},E_=e=>{const{children:t,onClick:n,href:r}=e;return An(void 0===r?"button":"a",{href:r,onClick:n,className:hf,children:t})};var L_="styles_label__PPstE";const T_=({children:e})=>An("div",{className:L_,children:An(Ln,{size:"s",bold:!0,type:"ui",children:e})});var D_={"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 F_=({status:e,children:t,className:n,...r})=>An("div",{...r,className:ie(D_["status-label"],D_[`status-${e}`],n),children:[An(u_,{status:e,className:D_["status-label-icon"],classNameIcon:D_["status-label-icon"]}),An(Ln,{type:"ui",size:"s",className:D_["status-label-text"],children:t})]});var O_="styles_logo__jHlBl",z_="styles_text__BcILe";const R_=e=>{const{className:t}=e;return An(Ln,{type:"paragraph",size:"m",bold:!0,className:ie(z_,t),children:[An(Mn,{id:Sn.reportLogo,size:"m",inline:!0,className:O_}),An("span",{children:"Allure Report"})]})};var N_="styles_report-logo__OOEnL";const P_=e=>{const{className:t,logo:n}=e;return An("div",{className:ie(N_,t),children:n?An("img",{src:n,alt:"report logo"}):An(Mn,{id:Sn.reportLogo,inline:!0})})};var I_="styles_widget__JLpmE",B_="styles_header__yKZiz",j_="styles_content__zvonT";const W_=({children:e,title:t,centerContent:n,dropShadow:r=!0})=>An("div",{className:I_,"data-drop-shadow":r||void 0,children:[t&&An("div",{className:B_,children:An(Dn,{size:"s",children:t})}),An("div",{className:j_,"data-center-content":n,children:e})]});
19
19
  /**!
20
- * Sortable 1.15.6
20
+ * Sortable 1.15.7
21
21
  * @author RubaXa <trash@rubaxa.org>
22
22
  * @author owenm <owen23355@gmail.com>
23
23
  * @license MIT
24
- */function H_(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function q_(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?H_(Object(n),!0).forEach((function(t){U_(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):H_(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function $_(e){return $_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},$_(e)}function U_(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function V_(){return V_=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},V_.apply(this,arguments)}function G_(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 Y_(e){if("undefined"!=typeof window&&window.navigator)return!!navigator.userAgent.match(e)}var Z_=Y_(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),X_=Y_(/Edge/i),K_=Y_(/firefox/i),J_=Y_(/safari/i)&&!Y_(/chrome/i)&&!Y_(/android/i),Q_=Y_(/iP(ad|od|hone)/i),ex=Y_(/chrome/i)&&Y_(/android/i),tx={capture:!1,passive:!1};function nx(e,t,n){e.addEventListener(t,n,!Z_&&tx)}function rx(e,t,n){e.removeEventListener(t,n,!Z_&&tx)}function ix(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 ox(e){return e.host&&e!==document&&e.host.nodeType?e.host:e.parentNode}function ax(e,t,n,r){if(e){n=n||document;do{if(null!=t&&(">"===t[0]?e.parentNode===n&&ix(e,t):ix(e,t))||r&&e===n)return e;if(e===n)break}while(e=ox(e))}return null}var sx,lx=/\s+/g;function cx(e,t,n){if(e&&t)if(e.classList)e.classList[n?"add":"remove"](t);else{var r=(" "+e.className+" ").replace(lx," ").replace(" "+t+" "," ");e.className=(r+(n?" "+t:"")).replace(lx," ")}}function ux(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 dx(e,t){var n="";if("string"==typeof e)n=e;else do{var r=ux(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 fx(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 hx(){var e=document.scrollingElement;return e||document.documentElement}function px(e,t,n,r,i){if(e.getBoundingClientRect||e===window){var o,a,s,l,c,u,d;if(e!==window&&e.parentNode&&e!==hx()?(a=(o=e.getBoundingClientRect()).top,s=o.left,l=o.bottom,c=o.right,u=o.height,d=o.width):(a=0,s=0,l=window.innerHeight,c=window.innerWidth,u=window.innerHeight,d=window.innerWidth),(t||n)&&e!==window&&(i=i||e.parentNode,!Z_))do{if(i&&i.getBoundingClientRect&&("none"!==ux(i,"transform")||n&&"static"!==ux(i,"position"))){var f=i.getBoundingClientRect();a-=f.top+parseInt(ux(i,"border-top-width")),s-=f.left+parseInt(ux(i,"border-left-width")),l=a+o.height,c=s+o.width;break}}while(i=i.parentNode);if(r&&e!==window){var h=dx(i||e),p=h&&h.a,g=h&&h.d;h&&(l=(a/=g)+(u/=g),c=(s/=p)+(d/=p))}return{top:a,left:s,bottom:l,right:c,width:d,height:u}}}function gx(e,t,n){for(var r=_x(e,!0),i=px(e)[t];r;){if(!(i>=px(r)[n]))return r;if(r===hx())break;r=_x(r,!1)}return!1}function mx(e,t,n,r){for(var i=0,o=0,a=e.children;o<a.length;){if("none"!==a[o].style.display&&a[o]!==Cw.ghost&&(r||a[o]!==Cw.dragged)&&ax(a[o],n.draggable,e,!1)){if(i===t)return a[o];i++}o++}return null}function vx(e,t){for(var n=e.lastElementChild;n&&(n===Cw.ghost||"none"===ux(n,"display")||t&&!ix(n,t));)n=n.previousElementSibling;return n||null}function bx(e,t){var n=0;if(!e||!e.parentNode)return-1;for(;e=e.previousElementSibling;)"TEMPLATE"===e.nodeName.toUpperCase()||e===Cw.clone||t&&!ix(e,t)||n++;return n}function yx(e){var t=0,n=0,r=hx();if(e)do{var i=dx(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 _x(e,t){if(!e||!e.getBoundingClientRect)return hx();var n=e,r=!1;do{if(n.clientWidth<n.scrollWidth||n.clientHeight<n.scrollHeight){var i=ux(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 hx();if(r||t)return n;r=!0}}}while(n=n.parentNode);return hx()}function xx(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 wx(e,t){return function(){if(!sx){var n=arguments;1===n.length?e.call(this,n[0]):e.apply(this,n),sx=setTimeout((function(){sx=void 0}),t)}}}function kx(e,t,n){e.scrollLeft+=t,e.scrollTop+=n}function Cx(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 Ax(e,t,n){var r={};return Array.from(e.children).forEach((function(i){var o,a,s,l;if(ax(i,t.draggable,e,!1)&&!i.animated&&i!==n){var c=px(i);r.left=Math.min(null!==(o=r.left)&&void 0!==o?o:1/0,c.left),r.top=Math.min(null!==(a=r.top)&&void 0!==a?a:1/0,c.top),r.right=Math.max(null!==(s=r.right)&&void 0!==s?s:-1/0,c.right),r.bottom=Math.max(null!==(l=r.bottom)&&void 0!==l?l:-1/0,c.bottom)}})),r.width=r.right-r.left,r.height=r.bottom-r.top,r.x=r.left,r.y=r.top,r}var Sx="Sortable"+(new Date).getTime();function Mx(){var e,t=[];return{captureAnimationState:function(){(t=[],this.options.animation)&&[].slice.call(this.el.children).forEach((function(e){if("none"!==ux(e,"display")&&e!==Cw.ghost){t.push({target:e,rect:px(e)});var n=q_({},t[t.length-1].rect);if(e.thisAnimationDuration){var r=dx(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=px(n),l=n.prevFromRect,c=n.prevToRect,u=e.rect,d=dx(n,!0);d&&(s.top-=d.f,s.left-=d.e),n.toRect=s,n.thisAnimationDuration&&xx(l,s)&&!xx(a,s)&&(u.top-s.top)/(u.left-s.left)==(a.top-s.top)/(a.left-s.left)&&(t=function(e,t,n,r){return Math.sqrt(Math.pow(t.top-e.top,2)+Math.pow(t.left-e.left,2))/Math.sqrt(Math.pow(t.top-n.top,2)+Math.pow(t.left-n.left,2))*r.animation}(u,l,c,r.options)),xx(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){ux(e,"transition",""),ux(e,"transform","");var i=dx(this.el),o=i&&i.a,a=i&&i.d,s=(t.left-n.left)/(o||1),l=(t.top-n.top)/(a||1);e.animatingX=!!s,e.animatingY=!!l,ux(e,"transform","translate3d("+s+"px,"+l+"px,0)"),this.forRepaintDummy=function(e){return e.offsetWidth}(e),ux(e,"transition","transform "+r+"ms"+(this.options.easing?" "+this.options.easing:"")),ux(e,"transform","translate3d(0,0,0)"),"number"==typeof e.animated&&clearTimeout(e.animated),e.animated=setTimeout((function(){ux(e,"transition",""),ux(e,"transform",""),e.animated=!1,e.animatingX=!1,e.animatingY=!1}),r)}}}}var Ex=[],Lx={initializeByDefault:!0},Tx={mount:function(e){for(var t in Lx)Lx.hasOwnProperty(t)&&!(t in e)&&(e[t]=Lx[t]);Ex.forEach((function(t){if(t.pluginName===e.pluginName)throw"Sortable: Cannot mount plugin ".concat(e.pluginName," more than once")})),Ex.push(e)},pluginEvent:function(e,t,n){var r=this;this.eventCanceled=!1,n.cancel=function(){r.eventCanceled=!0};var i=e+"Global";Ex.forEach((function(r){t[r.pluginName]&&(t[r.pluginName][i]&&t[r.pluginName][i](q_({sortable:t},n)),t.options[r.pluginName]&&t[r.pluginName][e]&&t[r.pluginName][e](q_({sortable:t},n)))}))},initializePlugins:function(e,t,n,r){for(var i in Ex.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,V_(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 Ex.forEach((function(r){"function"==typeof r.eventProperties&&V_(n,r.eventProperties.call(t[r.pluginName],e))})),n},modifyOption:function(e,t,n){var r;return Ex.forEach((function(i){e[i.pluginName]&&i.optionListeners&&"function"==typeof i.optionListeners[t]&&(r=i.optionListeners[t].call(e[i.pluginName],n))})),r}};var Dx=["evt"],Fx=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.evt,i=G_(n,Dx);Tx.pluginEvent.bind(Cw)(e,t,q_({dragEl:zx,parentEl:Rx,ghostEl:Nx,rootEl:Px,nextEl:Ix,lastDownEl:Bx,cloneEl:jx,cloneHidden:Wx,dragStarted:ew,putSortable:Gx,activeSortable:Cw.active,originalEvent:r,oldIndex:Hx,oldDraggableIndex:$x,newIndex:qx,newDraggableIndex:Ux,hideGhostForTarget:_w,unhideGhostForTarget:xw,cloneNowHidden:function(){Wx=!0},cloneNowShown:function(){Wx=!1},dispatchSortableEvent:function(e){Ox({sortable:t,name:e,originalEvent:r})}},i))};function Ox(e){!function(e){var t=e.sortable,n=e.rootEl,r=e.name,i=e.targetEl,o=e.cloneEl,a=e.toEl,s=e.fromEl,l=e.oldIndex,c=e.newIndex,u=e.oldDraggableIndex,d=e.newDraggableIndex,f=e.originalEvent,h=e.putSortable,p=e.extraEventProperties;if(t=t||n&&n[Sx]){var g,m=t.options,v="on"+r.charAt(0).toUpperCase()+r.substr(1);!window.CustomEvent||Z_||X_?(g=document.createEvent("Event")).initEvent(r,!0,!0):g=new CustomEvent(r,{bubbles:!0,cancelable:!0}),g.to=a||n,g.from=s||n,g.item=i||n,g.clone=o,g.oldIndex=l,g.newIndex=c,g.oldDraggableIndex=u,g.newDraggableIndex=d,g.originalEvent=f,g.pullMode=h?h.lastPutMode:void 0;var b=q_(q_({},p),Tx.getEventProperties(r,t));for(var y in b)g[y]=b[y];n&&n.dispatchEvent(g),m[v]&&m[v].call(t,g)}}(q_({putSortable:Gx,cloneEl:jx,targetEl:zx,rootEl:Px,oldIndex:Hx,oldDraggableIndex:$x,newIndex:qx,newDraggableIndex:Ux},e))}var zx,Rx,Nx,Px,Ix,Bx,jx,Wx,Hx,qx,$x,Ux,Vx,Gx,Yx,Zx,Xx,Kx,Jx,Qx,ew,tw,nw,rw,iw,ow=!1,aw=!1,sw=[],lw=!1,cw=!1,uw=[],dw=!1,fw=[],hw="undefined"!=typeof document,pw=Q_,gw=X_||Z_?"cssFloat":"float",mw=hw&&!ex&&!Q_&&"draggable"in document.createElement("div"),vw=function(){if(hw){if(Z_)return!1;var e=document.createElement("x");return e.style.cssText="pointer-events:auto","auto"===e.style.pointerEvents}}(),bw=function(e,t){var n=ux(e),r=parseInt(n.width)-parseInt(n.paddingLeft)-parseInt(n.paddingRight)-parseInt(n.borderLeftWidth)-parseInt(n.borderRightWidth),i=mx(e,0,t),o=mx(e,1,t),a=i&&ux(i),s=o&&ux(o),l=a&&parseInt(a.marginLeft)+parseInt(a.marginRight)+px(i).width,c=s&&parseInt(s.marginLeft)+parseInt(s.marginRight)+px(o).width;if("flex"===n.display)return"column"===n.flexDirection||"column-reverse"===n.flexDirection?"vertical":"horizontal";if("grid"===n.display)return n.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(i&&a.float&&"none"!==a.float){var u="left"===a.float?"left":"right";return!o||"both"!==s.clear&&s.clear!==u?"horizontal":"vertical"}return i&&("block"===a.display||"flex"===a.display||"table"===a.display||"grid"===a.display||l>=r&&"none"===n[gw]||o&&"none"===n[gw]&&l+c>r)?"vertical":"horizontal"},yw=function(e){function t(e,n){return function(r,i,o,a){var s=r.options.group.name&&i.options.group.name&&r.options.group.name===i.options.group.name;if(null==e&&(n||s))return!0;if(null==e||!1===e)return!1;if(n&&"clone"===e)return e;if("function"==typeof e)return t(e(r,i,o,a),n)(r,i,o,a);var l=(n?r:i).options.group.name;return!0===e||"string"==typeof e&&e===l||e.join&&e.indexOf(l)>-1}}var n={},r=e.group;r&&"object"==$_(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},_w=function(){!vw&&Nx&&ux(Nx,"display","none")},xw=function(){!vw&&Nx&&ux(Nx,"display","")};hw&&!ex&&document.addEventListener("click",(function(e){if(aw)return e.preventDefault(),e.stopPropagation&&e.stopPropagation(),e.stopImmediatePropagation&&e.stopImmediatePropagation(),aw=!1,!1}),!0);var ww=function(e){if(zx){var t=function(e,t){var n;return sw.some((function(r){var i=r[Sx].options.emptyInsertThreshold;if(i&&!vx(r)){var o=px(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[Sx]._onDragOver(n)}}},kw=function(e){zx&&zx.parentNode[Sx]._isOutsideThisEl(e.target)};function Cw(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=V_({},t),e[Sx]=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 bw(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!==Cw.supportPointer&&"PointerEvent"in window&&(!J_||Q_),emptyInsertThreshold:5};for(var r in Tx.initializePlugins(this,e,n),n)!(r in t)&&(t[r]=n[r]);for(var i in yw(t),this)"_"===i.charAt(0)&&"function"==typeof this[i]&&(this[i]=this[i].bind(this));this.nativeDraggable=!t.forceFallback&&mw,this.nativeDraggable&&(this.options.touchStartThreshold=1),t.supportPointer?nx(e,"pointerdown",this._onTapStart):(nx(e,"mousedown",this._onTapStart),nx(e,"touchstart",this._onTapStart)),this.nativeDraggable&&(nx(e,"dragover",this),nx(e,"dragenter",this)),sw.push(this.el),t.store&&t.store.get&&this.sort(t.store.get(this)||[]),V_(this,Mx())}function Aw(e,t,n,r,i,o,a,s){var l,c,u=e[Sx],d=u.options.onMove;return!window.CustomEvent||Z_||X_?(l=document.createEvent("Event")).initEvent("move",!0,!0):l=new CustomEvent("move",{bubbles:!0,cancelable:!0}),l.to=t,l.from=e,l.dragged=n,l.draggedRect=r,l.related=i||t,l.relatedRect=o||px(t),l.willInsertAfter=s,l.originalEvent=a,e.dispatchEvent(l),d&&(c=d.call(u,l,a)),c}function Sw(e){e.draggable=!1}function Mw(){dw=!1}function Ew(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 Lw(e){return setTimeout(e,0)}function Tw(e){return clearTimeout(e)}Cw.prototype={constructor:Cw,_isOutsideThisEl:function(e){this.el.contains(e)||e===this.el||(tw=null)},_getDirection:function(e,t){return"function"==typeof this.options.direction?this.options.direction.call(this,e,t,zx):this.options.direction},_onTapStart:function(e){if(e.cancelable){var t=this,n=this.el,r=this.options,i=r.preventOnFilter,o=e.type,a=e.touches&&e.touches[0]||e.pointerType&&"touch"===e.pointerType&&e,s=(a||e).target,l=e.target.shadowRoot&&(e.path&&e.path[0]||e.composedPath&&e.composedPath()[0])||s,c=r.filter;if(function(e){fw.length=0;var t=e.getElementsByTagName("input"),n=t.length;for(;n--;){var r=t[n];r.checked&&fw.push(r)}}(n),!zx&&!(/mousedown|pointerdown/.test(o)&&0!==e.button||r.disabled)&&!l.isContentEditable&&(this.nativeDraggable||!J_||!s||"SELECT"!==s.tagName.toUpperCase())&&!((s=ax(s,r.draggable,n,!1))&&s.animated||Bx===s)){if(Hx=bx(s),$x=bx(s,r.draggable),"function"==typeof c){if(c.call(this,e,s,this))return Ox({sortable:t,rootEl:l,name:"filter",targetEl:s,toEl:n,fromEl:n}),Fx("filter",t,{evt:e}),void(i&&e.preventDefault())}else if(c&&(c=c.split(",").some((function(r){if(r=ax(l,r.trim(),n,!1))return Ox({sortable:t,rootEl:r,name:"filter",targetEl:s,fromEl:n,toEl:n}),Fx("filter",t,{evt:e}),!0}))))return void(i&&e.preventDefault());r.handle&&!ax(l,r.handle,n,!1)||this._prepareDragStart(e,a,s)}}},_prepareDragStart:function(e,t,n){var r,i=this,o=i.el,a=i.options,s=o.ownerDocument;if(n&&!zx&&n.parentNode===o){var l=px(n);if(Px=o,Rx=(zx=n).parentNode,Ix=zx.nextSibling,Bx=n,Vx=a.group,Cw.dragged=zx,Yx={target:zx,clientX:(t||e).clientX,clientY:(t||e).clientY},Jx=Yx.clientX-l.left,Qx=Yx.clientY-l.top,this._lastX=(t||e).clientX,this._lastY=(t||e).clientY,zx.style["will-change"]="all",r=function(){Fx("delayEnded",i,{evt:e}),Cw.eventCanceled?i._onDrop():(i._disableDelayedDragEvents(),!K_&&i.nativeDraggable&&(zx.draggable=!0),i._triggerDragStart(e,t),Ox({sortable:i,name:"choose",originalEvent:e}),cx(zx,a.chosenClass,!0))},a.ignore.split(",").forEach((function(e){fx(zx,e.trim(),Sw)})),nx(s,"dragover",ww),nx(s,"mousemove",ww),nx(s,"touchmove",ww),a.supportPointer?(nx(s,"pointerup",i._onDrop),!this.nativeDraggable&&nx(s,"pointercancel",i._onDrop)):(nx(s,"mouseup",i._onDrop),nx(s,"touchend",i._onDrop),nx(s,"touchcancel",i._onDrop)),K_&&this.nativeDraggable&&(this.options.touchStartThreshold=4,zx.draggable=!0),Fx("delayStart",this,{evt:e}),!a.delay||a.delayOnTouchOnly&&!t||this.nativeDraggable&&(X_||Z_))r();else{if(Cw.eventCanceled)return void this._onDrop();a.supportPointer?(nx(s,"pointerup",i._disableDelayedDrag),nx(s,"pointercancel",i._disableDelayedDrag)):(nx(s,"mouseup",i._disableDelayedDrag),nx(s,"touchend",i._disableDelayedDrag),nx(s,"touchcancel",i._disableDelayedDrag)),nx(s,"mousemove",i._delayedDragTouchMoveHandler),nx(s,"touchmove",i._delayedDragTouchMoveHandler),a.supportPointer&&nx(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(){zx&&Sw(zx),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var e=this.el.ownerDocument;rx(e,"mouseup",this._disableDelayedDrag),rx(e,"touchend",this._disableDelayedDrag),rx(e,"touchcancel",this._disableDelayedDrag),rx(e,"pointerup",this._disableDelayedDrag),rx(e,"pointercancel",this._disableDelayedDrag),rx(e,"mousemove",this._delayedDragTouchMoveHandler),rx(e,"touchmove",this._delayedDragTouchMoveHandler),rx(e,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(e,t){t=t||"touch"==e.pointerType&&e,!this.nativeDraggable||t?this.options.supportPointer?nx(document,"pointermove",this._onTouchMove):nx(document,t?"touchmove":"mousemove",this._onTouchMove):(nx(zx,"dragend",this),nx(Px,"dragstart",this._onDragStart));try{document.selection?Lw((function(){document.selection.empty()})):window.getSelection().removeAllRanges()}catch(e){}},_dragStarted:function(e,t){if(ow=!1,Px&&zx){Fx("dragStarted",this,{evt:t}),this.nativeDraggable&&nx(document,"dragover",kw);var n=this.options;!e&&cx(zx,n.dragClass,!1),cx(zx,n.ghostClass,!0),Cw.active=this,e&&this._appendGhost(),Ox({sortable:this,name:"start",originalEvent:t})}else this._nulling()},_emulateDragOver:function(){if(Zx){this._lastX=Zx.clientX,this._lastY=Zx.clientY,_w();for(var e=document.elementFromPoint(Zx.clientX,Zx.clientY),t=e;e&&e.shadowRoot&&(e=e.shadowRoot.elementFromPoint(Zx.clientX,Zx.clientY))!==t;)t=e;if(zx.parentNode[Sx]._isOutsideThisEl(e),t)do{if(t[Sx]){if(t[Sx]._onDragOver({clientX:Zx.clientX,clientY:Zx.clientY,target:e,rootEl:t})&&!this.options.dragoverBubble)break}e=t}while(t=ox(t));xw()}},_onTouchMove:function(e){if(Yx){var t=this.options,n=t.fallbackTolerance,r=t.fallbackOffset,i=e.touches?e.touches[0]:e,o=Nx&&dx(Nx,!0),a=Nx&&o&&o.a,s=Nx&&o&&o.d,l=pw&&iw&&yx(iw),c=(i.clientX-Yx.clientX+r.x)/(a||1)+(l?l[0]-uw[0]:0)/(a||1),u=(i.clientY-Yx.clientY+r.y)/(s||1)+(l?l[1]-uw[1]:0)/(s||1);if(!Cw.active&&!ow){if(n&&Math.max(Math.abs(i.clientX-this._lastX),Math.abs(i.clientY-this._lastY))<n)return;this._onDragStart(e,!0)}if(Nx){o?(o.e+=c-(Xx||0),o.f+=u-(Kx||0)):o={a:1,b:0,c:0,d:1,e:c,f:u};var d="matrix(".concat(o.a,",").concat(o.b,",").concat(o.c,",").concat(o.d,",").concat(o.e,",").concat(o.f,")");ux(Nx,"webkitTransform",d),ux(Nx,"mozTransform",d),ux(Nx,"msTransform",d),ux(Nx,"transform",d),Xx=c,Kx=u,Zx=i}e.cancelable&&e.preventDefault()}},_appendGhost:function(){if(!Nx){var e=this.options.fallbackOnBody?document.body:Px,t=px(zx,!0,pw,!0,e),n=this.options;if(pw){for(iw=e;"static"===ux(iw,"position")&&"none"===ux(iw,"transform")&&iw!==document;)iw=iw.parentNode;iw!==document.body&&iw!==document.documentElement?(iw===document&&(iw=hx()),t.top+=iw.scrollTop,t.left+=iw.scrollLeft):iw=hx(),uw=yx(iw)}cx(Nx=zx.cloneNode(!0),n.ghostClass,!1),cx(Nx,n.fallbackClass,!0),cx(Nx,n.dragClass,!0),ux(Nx,"transition",""),ux(Nx,"transform",""),ux(Nx,"box-sizing","border-box"),ux(Nx,"margin",0),ux(Nx,"top",t.top),ux(Nx,"left",t.left),ux(Nx,"width",t.width),ux(Nx,"height",t.height),ux(Nx,"opacity","0.8"),ux(Nx,"position",pw?"absolute":"fixed"),ux(Nx,"zIndex","100000"),ux(Nx,"pointerEvents","none"),Cw.ghost=Nx,e.appendChild(Nx),ux(Nx,"transform-origin",Jx/parseInt(Nx.style.width)*100+"% "+Qx/parseInt(Nx.style.height)*100+"%")}},_onDragStart:function(e,t){var n=this,r=e.dataTransfer,i=n.options;Fx("dragStart",this,{evt:e}),Cw.eventCanceled?this._onDrop():(Fx("setupClone",this),Cw.eventCanceled||((jx=Cx(zx)).removeAttribute("id"),jx.draggable=!1,jx.style["will-change"]="",this._hideClone(),cx(jx,this.options.chosenClass,!1),Cw.clone=jx),n.cloneId=Lw((function(){Fx("clone",n),Cw.eventCanceled||(n.options.removeCloneOnHide||Px.insertBefore(jx,zx),n._hideClone(),Ox({sortable:n,name:"clone"}))})),!t&&cx(zx,i.dragClass,!0),t?(aw=!0,n._loopId=setInterval(n._emulateDragOver,50)):(rx(document,"mouseup",n._onDrop),rx(document,"touchend",n._onDrop),rx(document,"touchcancel",n._onDrop),r&&(r.effectAllowed="move",i.setData&&i.setData.call(n,r,zx)),nx(document,"drop",n),ux(zx,"transform","translateZ(0)")),ow=!0,n._dragStartId=Lw(n._dragStarted.bind(n,t,e)),nx(document,"selectstart",n),ew=!0,window.getSelection().removeAllRanges(),J_&&ux(document.body,"user-select","none"))},_onDragOver:function(e){var t,n,r,i,o=this.el,a=e.target,s=this.options,l=s.group,c=Cw.active,u=Vx===l,d=s.sort,f=Gx||c,h=this,p=!1;if(!dw){if(void 0!==e.preventDefault&&e.cancelable&&e.preventDefault(),a=ax(a,s.draggable,o,!0),L("dragOver"),Cw.eventCanceled)return p;if(zx.contains(e.target)||a.animated&&a.animatingX&&a.animatingY||h._ignoreWhileAnimating===a)return D(!1);if(aw=!1,c&&!s.disabled&&(u?d||(r=Rx!==Px):Gx===this||(this.lastPutMode=Vx.checkPull(this,c,zx,e))&&l.checkPut(this,c,zx,e))){if(i="vertical"===this._getDirection(e,a),t=px(zx),L("dragOverValid"),Cw.eventCanceled)return p;if(r)return Rx=Px,T(),this._hideClone(),L("revert"),Cw.eventCanceled||(Ix?Px.insertBefore(zx,Ix):Px.appendChild(zx)),D(!0);var g=vx(o,s.draggable);if(!g||function(e,t,n){var r=px(vx(n.el,n.options.draggable)),i=Ax(n.el,n.options,Nx),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===zx)return D(!1);if(g&&o===e.target&&(a=g),a&&(n=px(a)),!1!==Aw(Px,o,zx,t,a,n,e,!!a))return T(),g&&g.nextSibling?o.insertBefore(zx,g.nextSibling):o.appendChild(zx),Rx=o,F(),D(!0)}else if(g&&function(e,t,n){var r=px(mx(n.el,0,n.options,!0)),i=Ax(n.el,n.options,Nx),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=mx(o,0,s,!0);if(m===zx)return D(!1);if(n=px(a=m),!1!==Aw(Px,o,zx,t,a,n,e,!1))return T(),o.insertBefore(zx,m),Rx=o,F(),D(!0)}else if(a.parentNode===o){n=px(a);var v,b,y,_=zx.parentNode!==o,x=!function(e,t,n){var r=n?e.left:e.top,i=n?e.right:e.bottom,o=n?e.width:e.height,a=n?t.left:t.top,s=n?t.right:t.bottom,l=n?t.width:t.height;return r===a||i===s||r+o/2===a+l/2}(zx.animated&&zx.toRect||t,a.animated&&a.toRect||n,i),w=i?"top":"left",k=gx(a,"top","top")||gx(zx,"top","top"),C=k?k.scrollTop:void 0;if(tw!==a&&(b=n[w],lw=!1,cw=!x&&s.invertSwap||_),v=function(e,t,n,r,i,o,a,s){var l=r?e.clientY:e.clientX,c=r?n.height:n.width,u=r?n.top:n.left,d=r?n.bottom:n.right,f=!1;if(!a)if(s&&rw<c*i){if(!lw&&(1===nw?l>u+c*o/2:l<d-c*o/2)&&(lw=!0),lw)f=!0;else if(1===nw?l<u+rw:l>d-rw)return-nw}else if(l>u+c*(1-i)/2&&l<d-c*(1-i)/2)return function(e){return bx(zx)<bx(e)?1:-1}(t);if((f=f||a)&&(l<u+c*o/2||l>d-c*o/2))return l>u+c/2?1:-1;return 0}(e,a,n,i,x?1:s.swapThreshold,null==s.invertedSwapThreshold?s.swapThreshold:s.invertedSwapThreshold,cw,tw===a),0!==v){var A=bx(zx);do{A-=v,y=Rx.children[A]}while(y&&("none"===ux(y,"display")||y===Nx))}if(0===v||y===a)return D(!1);tw=a,nw=v;var S=a.nextElementSibling,M=!1,E=Aw(Px,o,zx,t,a,n,e,M=1===v);if(!1!==E)return 1!==E&&-1!==E||(M=1===E),dw=!0,setTimeout(Mw,30),T(),M&&!S?o.appendChild(zx):a.parentNode.insertBefore(zx,M?S:a),k&&kx(k,0,C-k.scrollTop),Rx=zx.parentNode,void 0===b||cw||(rw=Math.abs(b-px(a)[w])),F(),D(!0)}if(o.contains(zx))return D(!1)}return!1}function L(s,l){Fx(s,h,q_({evt:e,isOwner:u,axis:i?"vertical":"horizontal",revert:r,dragRect:t,targetRect:n,canSort:d,fromSortable:f,target:a,completed:D,onMove:function(n,r){return Aw(Px,o,zx,t,n,px(n),e,r)},changed:F},l))}function T(){L("dragOverAnimationCapture"),h.captureAnimationState(),h!==f&&f.captureAnimationState()}function D(t){return L("dragOverCompleted",{insertion:t}),t&&(u?c._hideClone():c._showClone(h),h!==f&&(cx(zx,Gx?Gx.options.ghostClass:c.options.ghostClass,!1),cx(zx,s.ghostClass,!0)),Gx!==h&&h!==Cw.active?Gx=h:h===Cw.active&&Gx&&(Gx=null),f===h&&(h._ignoreWhileAnimating=a),h.animateAll((function(){L("dragOverAnimationComplete"),h._ignoreWhileAnimating=null})),h!==f&&(f.animateAll(),f._ignoreWhileAnimating=null)),(a===zx&&!zx.animated||a===o&&!a.animated)&&(tw=null),s.dragoverBubble||e.rootEl||a===document||(zx.parentNode[Sx]._isOutsideThisEl(e.target),!t&&ww(e)),!s.dragoverBubble&&e.stopPropagation&&e.stopPropagation(),p=!0}function F(){qx=bx(zx),Ux=bx(zx,s.draggable),Ox({sortable:h,name:"change",toEl:o,newIndex:qx,newDraggableIndex:Ux,originalEvent:e})}},_ignoreWhileAnimating:null,_offMoveEvents:function(){rx(document,"mousemove",this._onTouchMove),rx(document,"touchmove",this._onTouchMove),rx(document,"pointermove",this._onTouchMove),rx(document,"dragover",ww),rx(document,"mousemove",ww),rx(document,"touchmove",ww)},_offUpEvents:function(){var e=this.el.ownerDocument;rx(e,"mouseup",this._onDrop),rx(e,"touchend",this._onDrop),rx(e,"pointerup",this._onDrop),rx(e,"pointercancel",this._onDrop),rx(e,"touchcancel",this._onDrop),rx(document,"selectstart",this)},_onDrop:function(e){var t=this.el,n=this.options;qx=bx(zx),Ux=bx(zx,n.draggable),Fx("drop",this,{evt:e}),Rx=zx&&zx.parentNode,qx=bx(zx),Ux=bx(zx,n.draggable),Cw.eventCanceled||(ow=!1,cw=!1,lw=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),Tw(this.cloneId),Tw(this._dragStartId),this.nativeDraggable&&(rx(document,"drop",this),rx(t,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),J_&&ux(document.body,"user-select",""),ux(zx,"transform",""),e&&(ew&&(e.cancelable&&e.preventDefault(),!n.dropBubble&&e.stopPropagation()),Nx&&Nx.parentNode&&Nx.parentNode.removeChild(Nx),(Px===Rx||Gx&&"clone"!==Gx.lastPutMode)&&jx&&jx.parentNode&&jx.parentNode.removeChild(jx),zx&&(this.nativeDraggable&&rx(zx,"dragend",this),Sw(zx),zx.style["will-change"]="",ew&&!ow&&cx(zx,Gx?Gx.options.ghostClass:this.options.ghostClass,!1),cx(zx,this.options.chosenClass,!1),Ox({sortable:this,name:"unchoose",toEl:Rx,newIndex:null,newDraggableIndex:null,originalEvent:e}),Px!==Rx?(qx>=0&&(Ox({rootEl:Rx,name:"add",toEl:Rx,fromEl:Px,originalEvent:e}),Ox({sortable:this,name:"remove",toEl:Rx,originalEvent:e}),Ox({rootEl:Rx,name:"sort",toEl:Rx,fromEl:Px,originalEvent:e}),Ox({sortable:this,name:"sort",toEl:Rx,originalEvent:e})),Gx&&Gx.save()):qx!==Hx&&qx>=0&&(Ox({sortable:this,name:"update",toEl:Rx,originalEvent:e}),Ox({sortable:this,name:"sort",toEl:Rx,originalEvent:e})),Cw.active&&(null!=qx&&-1!==qx||(qx=Hx,Ux=$x),Ox({sortable:this,name:"end",toEl:Rx,originalEvent:e}),this.save())))),this._nulling()},_nulling:function(){Fx("nulling",this),Px=zx=Rx=Nx=Ix=jx=Bx=Wx=Yx=Zx=ew=qx=Ux=Hx=$x=tw=nw=Gx=Vx=Cw.dragged=Cw.ghost=Cw.clone=Cw.active=null,fw.forEach((function(e){e.checked=!0})),fw.length=Xx=Kx=0},handleEvent:function(e){switch(e.type){case"drop":case"dragend":this._onDrop(e);break;case"dragenter":case"dragover":zx&&(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++)ax(e=n[r],o.draggable,this.el,!1)&&t.push(e.getAttribute(o.dataIdAttr)||Ew(e));return t},sort:function(e,t){var n={},r=this.el;this.toArray().forEach((function(e,t){var i=r.children[t];ax(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 ax(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=Tx.modifyOption(this,e,t);n[e]=void 0!==r?r:t,"group"===e&&yw(n)},destroy:function(){Fx("destroy",this);var e=this.el;e[Sx]=null,rx(e,"mousedown",this._onTapStart),rx(e,"touchstart",this._onTapStart),rx(e,"pointerdown",this._onTapStart),this.nativeDraggable&&(rx(e,"dragover",this),rx(e,"dragenter",this)),Array.prototype.forEach.call(e.querySelectorAll("[draggable]"),(function(e){e.removeAttribute("draggable")})),this._onDrop(),this._disableDelayedDragEvents(),sw.splice(sw.indexOf(this.el),1),this.el=e=null},_hideClone:function(){if(!Wx){if(Fx("hideClone",this),Cw.eventCanceled)return;ux(jx,"display","none"),this.options.removeCloneOnHide&&jx.parentNode&&jx.parentNode.removeChild(jx),Wx=!0}},_showClone:function(e){if("clone"===e.lastPutMode){if(Wx){if(Fx("showClone",this),Cw.eventCanceled)return;zx.parentNode!=Px||this.options.group.revertClone?Ix?Px.insertBefore(jx,Ix):Px.appendChild(jx):Px.insertBefore(jx,zx),this.options.group.revertClone&&this.animate(zx,jx),ux(jx,"display",""),Wx=!1}}else this._hideClone()}},hw&&nx(document,"touchmove",(function(e){(Cw.active||ow)&&e.cancelable&&e.preventDefault()})),Cw.utils={on:nx,off:rx,css:ux,find:fx,is:function(e,t){return!!ax(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:wx,closest:ax,toggleClass:cx,clone:Cx,index:bx,nextTick:Lw,cancelNextTick:Tw,detectDirection:bw,getChild:mx,expando:Sx},Cw.get=function(e){return e[Sx]},Cw.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&&(Cw.utils=q_(q_({},Cw.utils),e.utils)),Tx.mount(e)}))},Cw.create=function(e,t){return new Cw(e,t)},Cw.version="1.15.6";var Dw,Fw,Ow,zw,Rw,Nw,Pw=[],Iw=!1;function Bw(){Pw.forEach((function(e){clearInterval(e.pid)})),Pw=[]}function jw(){clearInterval(Nw)}var Ww,Hw=wx((function(e,t,n,r){if(t.scroll){var i,o=(e.touches?e.touches[0]:e).clientX,a=(e.touches?e.touches[0]:e).clientY,s=t.scrollSensitivity,l=t.scrollSpeed,c=hx(),u=!1;Fw!==n&&(Fw=n,Bw(),Dw=t.scroll,i=t.scrollFn,!0===Dw&&(Dw=_x(n,!0)));var d=0,f=Dw;do{var h=f,p=px(h),g=p.top,m=p.bottom,v=p.left,b=p.right,y=p.width,_=p.height,x=void 0,w=void 0,k=h.scrollWidth,C=h.scrollHeight,A=ux(h),S=h.scrollLeft,M=h.scrollTop;h===c?(x=y<k&&("auto"===A.overflowX||"scroll"===A.overflowX||"visible"===A.overflowX),w=_<C&&("auto"===A.overflowY||"scroll"===A.overflowY||"visible"===A.overflowY)):(x=y<k&&("auto"===A.overflowX||"scroll"===A.overflowX),w=_<C&&("auto"===A.overflowY||"scroll"===A.overflowY));var E=x&&(Math.abs(b-o)<=s&&S+y<k)-(Math.abs(v-o)<=s&&!!S),L=w&&(Math.abs(m-a)<=s&&M+_<C)-(Math.abs(g-a)<=s&&!!M);if(!Pw[d])for(var T=0;T<=d;T++)Pw[T]||(Pw[T]={});Pw[d].vx==E&&Pw[d].vy==L&&Pw[d].el===h||(Pw[d].el=h,Pw[d].vx=E,Pw[d].vy=L,clearInterval(Pw[d].pid),0==E&&0==L||(u=!0,Pw[d].pid=setInterval(function(){r&&0===this.layer&&Cw.active._onTouchMove(Rw);var t=Pw[this.layer].vy?Pw[this.layer].vy*l:0,n=Pw[this.layer].vx?Pw[this.layer].vx*l:0;"function"==typeof i&&"continue"!==i.call(Cw.dragged.parentNode[Sx],n,t,e,Rw,Pw[this.layer].el)||kx(Pw[this.layer].el,n,t)}.bind({layer:d}),24))),d++}while(t.bubbleScroll&&f!==c&&(f=_x(f,!1)));Iw=u}}),30),qw=function(e){var t=e.originalEvent,n=e.putSortable,r=e.dragEl,i=e.activeSortable,o=e.dispatchSortableEvent,a=e.hideGhostForTarget,s=e.unhideGhostForTarget;if(t){var l=n||i;a();var c=t.changedTouches&&t.changedTouches.length?t.changedTouches[0]:t,u=document.elementFromPoint(c.clientX,c.clientY);s(),l&&!l.el.contains(u)&&(o("spill"),this.onSpill({dragEl:r,putSortable:n}))}};function $w(){}function Uw(){}$w.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=mx(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:qw},V_($w,{pluginName:"revertOnSpill"}),Uw.prototype={onSpill:function(e){var t=e.dragEl,n=e.putSortable||this.sortable;n.captureAnimationState(),t.parentNode&&t.parentNode.removeChild(t),n.animateAll()},drop:qw},V_(Uw,{pluginName:"removeOnSpill"}),Cw.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?nx(document,"dragover",this._handleAutoScroll):this.options.supportPointer?nx(document,"pointermove",this._handleFallbackAutoScroll):t.touches?nx(document,"touchmove",this._handleFallbackAutoScroll):nx(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(e){var t=e.originalEvent;this.options.dragOverBubble||t.rootEl||this._handleAutoScroll(t)},drop:function(){this.sortable.nativeDraggable?rx(document,"dragover",this._handleAutoScroll):(rx(document,"pointermove",this._handleFallbackAutoScroll),rx(document,"touchmove",this._handleFallbackAutoScroll),rx(document,"mousemove",this._handleFallbackAutoScroll)),jw(),Bw(),clearTimeout(sx),sx=void 0},nulling:function(){Rw=Fw=Dw=Iw=Nw=Ow=zw=null,Pw.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(Rw=e,t||this.options.forceAutoScrollFallback||X_||Z_||J_){Hw(e,this.options,o,t);var a=_x(o,!0);!Iw||Nw&&r===Ow&&i===zw||(Nw&&jw(),Nw=setInterval((function(){var o=_x(document.elementFromPoint(r,i),!0);o!==a&&(a=o,Bw()),Hw(e,n.options,o,t)}),10),Ow=r,zw=i)}else{if(!this.options.bubbleScroll||_x(o,!0)===hx())return void Bw();Hw(e,this.options,_x(o,!1),!1)}}},V_(e,{pluginName:"scroll",initializeByDefault:!0})}),Cw.mount(Uw,$w);const Vw="dnd-drag-handle",Gw="dnd-drag-enabled";Cw.mount(new function(){function e(){this.defaults={swapClass:"sortable-swap-highlight"}}return e.prototype={dragStart:function(e){var t=e.dragEl;Ww=t},dragOverValid:function(e){var t=e.completed,n=e.target,r=e.onMove,i=e.activeSortable,o=e.changed,a=e.cancel;if(i.options.swap){var s=this.sortable.el,l=this.options;if(n&&n!==s){var c=Ww;!1!==r(n)?(cx(n,l.swapClass,!0),Ww=n):Ww=null,c&&c!==Ww&&cx(c,l.swapClass,!1)}o(),t(!0),a()}},drop:function(e){var t=e.activeSortable,n=e.putSortable,r=e.dragEl,i=n||this.sortable,o=this.options;Ww&&cx(Ww,o.swapClass,!1),Ww&&(o.swap||n&&n.options.swap)&&r!==Ww&&(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=bx(e),r=bx(t),i.isEqualNode(o)&&n<r&&r++;i.insertBefore(t,i.children[n]),o.insertBefore(e,o.children[r])}(r,Ww),i.animateAll(),i!==t&&t.animateAll())},nulling:function(){Ww=null}},V_(e,{pluginName:"swap",eventProperties:function(){return{swapItem:Ww}}})});var Yw="styles_grid__bgsAQ";const Zw=({className:e,options:t,kind:n="default",children:r,...i})=>{const o=l(null);return((e,t)=>{u((()=>{if(e.current){const n=Cw.create(e.current,{animation:150,handle:`.${Vw}`,draggable:`.${Gw}`,...t});return()=>{n.destroy()}}}),[e,t])})(o,h((()=>({...t,..."swap"===n&&{swap:!0,swapClass:"dnd-drag-swap-highlight"}})),[t,n])),An("div",{ref:o,className:ie(Yw,e),...i,children:r})},Xw=({className:e})=>An(Mn,{id:Sn.draggable,className:e});var Kw="styles_drag-handle__2DC4-";const Jw=({className:e})=>An("div",{className:ie(Kw,Vw,e),children:An(Xw,{})});var Qw="styles_grid-item__-kGp3",ek="styles_grid-item-content__hZ5TS",tk="styles_grid-item-handle__OyO7A";const nk=({className:e,children:t,dndEnabled:n=!1,...r})=>An("div",{...r,className:ie(Qw,{[Gw]:n},e),children:[An("div",{className:ek,children:t}),n&&An(Jw,{className:tk})]}),rk=({locale:e,setLocale:t,availableLocales:n})=>{const r=n||Object.keys(ar),i=[...new Set(r)].map((e=>({key:e,value:ar[e].full})));return An(Tp,{size:"s",menuTrigger:({isOpened:t,onClick:n})=>An(Nn,{style:"ghost",size:"s",text:ar[e]&&ar[e].short||ar.en.short,isExpanded:t,onClick:n}),children:An(Tp.Section,{children:i.map((({key:n,value:r})=>An(Tp.ItemWithCheckmark,{onClick:()=>{t(n)},isChecked:e===n,children:r},n)))})})},ik={light:Sn.lineShapesSun,dark:Sn.lineShapesMoon,auto:Sn.lineShapesThemeAuto},ok=({theme:e,toggleTheme:t})=>An(Rn,{onClick:t,style:"ghost",icon:ik[e],size:"s"});var ak="styles_label__IW9cn",sk="styles_wrapper__elS6G",lk="styles_icon__GXXnU",ck="styles_text__fEQgL";const uk=e=>{const{icon:t,children:n,tooltip:r,className:i,style:o="secondary",...a}=e,s=An("div",{className:ie(sk,i),children:[An(Mn,{className:lk,id:t}),An(Ln,{className:ck,type:"ui",size:"s",bold:!0,children:n})]});return An("div",r?{className:ak,...a,"data-style":o,children:An(jh,{tooltipText:r,children:s})}:{className:ak,...a,"data-style":o,children:s})};var dk=Mk(),fk=e=>kk(e,dk),hk=Mk();fk.write=e=>kk(e,hk);var pk=Mk();fk.onStart=e=>kk(e,pk);var gk=Mk();fk.onFrame=e=>kk(e,gk);var mk=Mk();fk.onFinish=e=>kk(e,mk);var vk=[];fk.setTimeout=(e,t)=>{const n=fk.now()+t,r=()=>{const e=vk.findIndex((e=>e.cancel==r));~e&&vk.splice(e,1),xk-=~e?1:0},i={time:n,handler:e,cancel:r};return vk.splice(bk(n),0,i),xk+=1,Ck(),i};var bk=e=>~(~vk.findIndex((t=>t.time>e))||~vk.length);fk.cancel=e=>{pk.delete(e),gk.delete(e),mk.delete(e),dk.delete(e),hk.delete(e)},fk.sync=e=>{wk=!0,fk.batchedUpdates(e),wk=!1},fk.throttle=e=>{let t;function n(){try{e(...t)}finally{t=null}}function r(...e){t=e,fk.onStart(n)}return r.handler=e,r.cancel=()=>{pk.delete(n),t=null},r};var yk="undefined"!=typeof window?window.requestAnimationFrame:()=>{};fk.use=e=>yk=e,fk.now="undefined"!=typeof performance?()=>performance.now():Date.now,fk.batchedUpdates=e=>e(),fk.catch=console.error,fk.frameLoop="always",fk.advance=()=>{"demand"!==fk.frameLoop?console.warn("Cannot call the manual advancement of rafz whilst frameLoop is not set as demand"):Sk()};var _k=-1,xk=0,wk=!1;function kk(e,t){wk?(t.delete(e),e(0)):(t.add(e),Ck())}function Ck(){_k<0&&(_k=0,"demand"!==fk.frameLoop&&yk(Ak))}function Ak(){~_k&&(yk(Ak),fk.batchedUpdates(Sk))}function Sk(){const e=_k;_k=fk.now();const t=bk(_k);t&&(Ek(vk.splice(0,t),(e=>e.handler())),xk-=t),xk?(pk.flush(),dk.flush(e?Math.min(64,_k-e):16.667),gk.flush(),hk.flush(),mk.flush()):_k=-1}function Mk(){let e=new Set,t=e;return{add(n){xk+=t!=e||e.has(n)?0:1,e.add(n)},delete:n=>(xk-=t==e&&e.has(n)?1:0,e.delete(n)),flush(n){t.size&&(e=new Set,xk-=t.size,Ek(t,(t=>t(n)&&e.add(t))),xk+=e.size,t=e)}}}function Ek(e,t){e.forEach((e=>{try{t(e)}catch(e){fk.catch(e)}}))}var Lk=Object.defineProperty,Tk={};function Dk(){}((e,t)=>{for(var n in t)Lk(e,n,{get:t[n],enumerable:!0})})(Tk,{assign:()=>Uk,colors:()=>Hk,createStringInterpolator:()=>Ik,skipAnimation:()=>qk,to:()=>Bk,willAdvance:()=>$k});var Fk={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 Ok(e,t){if(Fk.arr(e)){if(!Fk.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 zk=(e,t)=>e.forEach(t);function Rk(e,t,n){if(Fk.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 Nk=e=>Fk.und(e)?[]:Fk.arr(e)?e:[e];function Pk(e,t){if(e.size){const n=Array.from(e);e.clear(),zk(n,t)}}var Ik,Bk,jk=(e,...t)=>Pk(e,(e=>e(...t))),Wk=()=>"undefined"==typeof window||!window.navigator||/ServerSideRendering|^Deno\//.test(window.navigator.userAgent),Hk=null,qk=!1,$k=Dk,Uk=e=>{e.to&&(Bk=e.to),e.now&&(fk.now=e.now),void 0!==e.colors&&(Hk=e.colors),null!=e.skipAnimation&&(qk=e.skipAnimation),e.createStringInterpolator&&(Ik=e.createStringInterpolator),e.requestAnimationFrame&&fk.use(e.requestAnimationFrame),e.batchedUpdates&&(fk.batchedUpdates=e.batchedUpdates),e.willAdvance&&($k=e.willAdvance),e.frameLoop&&(fk.frameLoop=e.frameLoop)},Vk=new Set,Gk=[],Yk=[],Zk=0,Xk={get idle(){return!Vk.size&&!Gk.length},start(e){Zk>e.priority?(Vk.add(e),fk.onStart(Kk)):(Jk(e),fk(eC))},advance:eC,sort(e){if(Zk)fk.onFrame((()=>Xk.sort(e)));else{const t=Gk.indexOf(e);~t&&(Gk.splice(t,1),Qk(e))}},clear(){Gk=[],Vk.clear()}};function Kk(){Vk.forEach(Jk),Vk.clear(),fk(eC)}function Jk(e){Gk.includes(e)||Qk(e)}function Qk(e){Gk.splice(function(e,t){const n=e.findIndex(t);return n<0?e.length:n}(Gk,(t=>t.priority>e.priority)),0,e)}function eC(e){const t=Yk;for(let n=0;n<Gk.length;n++){const r=Gk[n];Zk=r.priority,r.idle||($k(r),r.advance(e),r.idle||t.push(r))}return Zk=0,(Yk=Gk).length=0,(Gk=t).length>0}var tC={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},nC="[-+]?\\d*\\.?\\d+",rC=nC+"%";function iC(...e){return"\\(\\s*("+e.join(")\\s*,\\s*(")+")\\s*\\)"}var oC=new RegExp("rgb"+iC(nC,nC,nC)),aC=new RegExp("rgba"+iC(nC,nC,nC,nC)),sC=new RegExp("hsl"+iC(nC,rC,rC)),lC=new RegExp("hsla"+iC(nC,rC,rC,nC)),cC=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,uC=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,dC=/^#([0-9a-fA-F]{6})$/,fC=/^#([0-9a-fA-F]{8})$/;function hC(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 pC(e,t,n){const r=n<.5?n*(1+t):n+t-n*t,i=2*n-r,o=hC(i,r,e+1/3),a=hC(i,r,e),s=hC(i,r,e-1/3);return Math.round(255*o)<<24|Math.round(255*a)<<16|Math.round(255*s)<<8}function gC(e){const t=parseInt(e,10);return t<0?0:t>255?255:t}function mC(e){return(parseFloat(e)%360+360)%360/360}function vC(e){const t=parseFloat(e);return t<0?0:t>1?255:Math.round(255*t)}function bC(e){const t=parseFloat(e);return t<0?0:t>100?1:t/100}function yC(e){let t=function(e){let t;return"number"==typeof e?e>>>0===e&&e>=0&&e<=4294967295?e:null:(t=dC.exec(e))?parseInt(t[1]+"ff",16)>>>0:Hk&&void 0!==Hk[e]?Hk[e]:(t=oC.exec(e))?(gC(t[1])<<24|gC(t[2])<<16|gC(t[3])<<8|255)>>>0:(t=aC.exec(e))?(gC(t[1])<<24|gC(t[2])<<16|gC(t[3])<<8|vC(t[4]))>>>0:(t=cC.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+"ff",16)>>>0:(t=fC.exec(e))?parseInt(t[1],16)>>>0:(t=uC.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+t[4]+t[4],16)>>>0:(t=sC.exec(e))?(255|pC(mC(t[1]),bC(t[2]),bC(t[3])))>>>0:(t=lC.exec(e))?(pC(mC(t[1]),bC(t[2]),bC(t[3]))|vC(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 _C=(e,t,n)=>{if(Fk.fun(e))return e;if(Fk.arr(e))return _C({range:e,output:t,extrapolate:n});if(Fk.str(e.output[0]))return Ik(e);const r=e,i=r.output,o=r.range||[0,1],a=r.extrapolateLeft||r.extrapolate||"extend",s=r.extrapolateRight||r.extrapolate||"extend",l=r.easing||(e=>e);return e=>{const t=function(e,t){for(var n=1;n<t.length-1&&!(t[n]>=e);++n);return n-1}(e,o);return function(e,t,n,r,i,o,a,s,l){let c=l?l(e):e;if(c<t){if("identity"===a)return c;"clamp"===a&&(c=t)}if(c>n){if("identity"===s)return c;"clamp"===s&&(c=n)}if(r===i)return r;if(t===n)return e<=t?r:i;t===-1/0?c=-c:n===1/0?c-=t:c=(c-t)/(n-t);c=o(c),r===-1/0?c=-c:i===1/0?c+=r:c=c*(i-r)+r;return c}(e,o[t],o[t+1],i[t],i[t+1],l,a,s,r.map)}};var xC=Symbol.for("FluidValue.get"),wC=Symbol.for("FluidValue.observers"),kC=e=>Boolean(e&&e[xC]),CC=e=>e&&e[xC]?e[xC]():e,AC=e=>e[wC]||null;function SC(e,t){const n=e[wC];n&&n.forEach((e=>{!function(e,t){e.eventObserved?e.eventObserved(t):e(t)}(e,t)}))}var MC=class{constructor(e){if(!e&&!(e=this.get))throw Error("Unknown getter");EC(this,e)}},EC=(e,t)=>FC(e,xC,t);function LC(e,t){if(e[xC]){let n=e[wC];n||FC(e,wC,n=new Set),n.has(t)||(n.add(t),e.observerAdded&&e.observerAdded(n.size,t))}return t}function TC(e,t){const n=e[wC];if(n&&n.has(t)){const r=n.size-1;r?n.delete(t):e[wC]=null,e.observerRemoved&&e.observerRemoved(r,t)}}var DC,FC=(e,t,n)=>Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0}),OC=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,zC=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,RC=new RegExp(`(${OC.source})(%|[a-z]+)`,"i"),NC=/rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi,PC=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/,IC=e=>{const[t,n]=BC(e);if(!t||Wk())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&&PC.test(n)?IC(n):n||e},BC=e=>{const t=PC.exec(e);if(!t)return[,];const[,n,r]=t;return[n,r]},jC=(e,t,n,r,i)=>`rgba(${Math.round(t)}, ${Math.round(n)}, ${Math.round(r)}, ${i})`,WC=e=>{DC||(DC=Hk?new RegExp(`(${Object.keys(Hk).join("|")})(?!\\w)`,"g"):/^\b$/);const t=e.output.map((e=>CC(e).replace(PC,IC).replace(zC,yC).replace(DC,yC))),n=t.map((e=>e.match(OC).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=>_C({...e,output:t})));return e=>{const n=!RC.test(t[0])&&t.find((e=>RC.test(e)))?.replace(OC,"");let r=0;return t[0].replace(OC,(()=>`${i[r++](e)}${n||""}`)).replace(NC,jC)}},HC="react-spring: ",qC=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)}},$C=qC(console.warn);var UC=qC(console.warn);function VC(e){return Fk.str(e)&&("#"==e[0]||/\d/.test(e)||!Wk()&&PC.test(e)||e in(Hk||{}))}var GC=Wk()?w:k;function YC(){const e=x()[1],t=(()=>{const e=C(!1);return GC((()=>(e.current=!0,()=>{e.current=!1})),[]),e})();return()=>{t.current&&e(Math.random())}}var ZC=e=>w(e,XC),XC=[];function KC(e){const t=C(void 0);return w((()=>{t.current=e})),t.current}var JC=Symbol.for("Animated:node"),QC=e=>e&&e[JC],eA=(e,t)=>{return n=e,r=JC,i=t,Object.defineProperty(n,r,{value:i,writable:!0,configurable:!0});var n,r,i},tA=e=>e&&e[JC]&&e[JC].getPayload(),nA=class{constructor(){eA(this,this)}getPayload(){return this.payload||[]}},rA=class e extends nA{constructor(e){super(),this._value=e,this.done=!0,this.durationProgress=0,Fk.num(this._value)&&(this.lastPosition=this._value)}static create(t){return new e(t)}getPayload(){return[this]}getValue(){return this._value}setValue(e,t){return Fk.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,Fk.num(this._value)&&(this.elapsedTime=0,this.durationProgress=0,this.lastPosition=this._value,e&&(this.lastVelocity=null),this.v0=null)}},iA=class e extends rA{constructor(e){super(0),this._string=null,this._toString=_C({output:[e,e]})}static create(t){return new e(t)}getValue(){const e=this._string;return null==e?this._string=this._toString(this._value):e}setValue(e){if(Fk.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=_C({output:[this.getValue(),e]})),this._value=0,super.reset()}},oA={dependencies:null},aA=class extends nA{constructor(e){super(),this.source=e,this.setValue(e)}getValue(e){const t={};return Rk(this.source,((n,r)=>{var i;(i=n)&&i[JC]===i?t[r]=n.getValue(e):kC(n)?t[r]=CC(n):e||(t[r]=n)})),t}setValue(e){this.source=e,this.payload=this._makePayload(e)}reset(){this.payload&&zk(this.payload,(e=>e.reset()))}_makePayload(e){if(e){const t=new Set;return Rk(e,this._addToPayload,t),Array.from(t)}}_addToPayload(e){oA.dependencies&&kC(e)&&oA.dependencies.add(e);const t=tA(e);t&&zk(t,(e=>this.add(e)))}},sA=class e extends aA{constructor(e){super(e)}static create(t){return new e(t)}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(lA)),!0)}};function lA(e){return(VC(e)?iA:rA).create(e)}function cA(e){const t=QC(e);return t?t.constructor:Fk.arr(e)?sA:VC(e)?iA:rA}var uA=(e,t)=>{const n=!Fk.fun(e)||e.prototype&&e.prototype.isReactComponent;return A(((r,i)=>{const o=C(null),a=n&&S((e=>{o.current=function(e,t){e&&(Fk.fun(e)?e(t):e.current=t);return t}(i,e)}),[i]),[s,l]=function(e,t){const n=new Set;oA.dependencies=n,e.style&&(e={...e,style:t.createAnimatedStyle(e.style)});return e=new aA(e),oA.dependencies=null,[e,n]}(r,t),c=YC(),u=()=>{const e=o.current;if(n&&!e)return;!1===(!!e&&t.applyAnimatedValues(e,s.getValue(!0)))&&c()},d=new dA(u,l),f=C(void 0);GC((()=>(f.current=d,zk(l,(e=>LC(e,d))),()=>{f.current&&(zk(f.current.deps,(e=>TC(e,f.current))),fk.cancel(f.current.update))}))),w(u,[]),ZC((()=>()=>{const e=f.current;zk(e.deps,(t=>TC(t,e)))}));const h=t.getComponentProps(s.getValue());return _.createElement(e,{...h,ref:a})}))},dA=class{constructor(e,t){this.update=e,this.deps=t}eventObserved(e){"change"==e.type&&fk.write(this.update)}};var fA=Symbol.for("AnimatedComponent"),hA=(e,{applyAnimatedValues:t=()=>!1,createAnimatedStyle:n=e=>new aA(e),getComponentProps:r=e=>e}={})=>{const i={applyAnimatedValues:t,createAnimatedStyle:n,getComponentProps:r},o=e=>{const t=pA(e)||"Anonymous";return(e=Fk.str(e)?o[e]||(o[e]=uA(e,i)):e[fA]||(e[fA]=uA(e,i))).displayName=`Animated(${t})`,e};return Rk(e,((t,n)=>{Fk.arr(e)&&(n=pA(t)),o[n]=o(t)})),{animated:o}},pA=e=>Fk.str(e)?e:e&&Fk.str(e.displayName)?e.displayName:Fk.fun(e)&&e.name||null;function gA(e,...t){return Fk.fun(e)?e(...t):e}var mA=(e,t)=>!0===e||!!(t&&e&&(Fk.fun(e)?e(t):Nk(e).includes(t))),vA=(e,t)=>Fk.obj(e)?t&&e[t]:e,bA=(e,t)=>!0===e.default?e[t]:e.default?e.default[t]:void 0,yA=e=>e,_A=(e,t=yA)=>{let n=xA;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);Fk.und(n)||(r[i]=n)}return r},xA=["config","onProps","onStart","onChange","onPause","onResume","onRest"],wA={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 kA(e){const t=function(e){const t={};let n=0;if(Rk(e,((e,r)=>{wA[r]||(t[r]=e,n++)})),n)return t}(e);if(t){const n={to:t};return Rk(e,((e,r)=>r in t||(n[r]=e))),n}return{...e}}function CA(e){return e=CC(e),Fk.arr(e)?e.map(CA):VC(e)?Tk.createStringInterpolator({range:[0,1],output:[e,e]})(1):e}function AA(e){for(const t in e)return!0;return!1}function SA(e){return Fk.fun(e)||Fk.arr(e)&&Fk.obj(e[0])}function MA(e,t){e.ref?.delete(e),t?.delete(e)}function EA(e,t){t&&e.ref!==t&&(e.ref?.delete(e),t.add(e),e.ref=t)}var LA={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}},TA={...LA.default,mass:1,damping:1,easing:e=>e,clamp:!1},DA=class{constructor(){this.velocity=0,Object.assign(this,TA)}};function FA(e,t){if(Fk.und(t.decay)){const n=!Fk.und(t.tension)||!Fk.und(t.friction);!n&&Fk.und(t.frequency)&&Fk.und(t.damping)&&Fk.und(t.mass)||(e.duration=void 0,e.decay=void 0),n&&(e.frequency=void 0)}else e.duration=void 0}var OA=[],zA=class{constructor(){this.changed=!1,this.values=OA,this.toValues=null,this.fromValues=OA,this.config=new DA,this.immediate=!1}};function RA(e,{key:t,props:n,defaultProps:r,state:i,actions:o}){return new Promise(((a,s)=>{let l,c,u=mA(n.cancel??r?.cancel,t);if(u)h();else{Fk.und(n.pause)||(i.paused=mA(n.pause,t));let e=r?.pause;!0!==e&&(e=i.paused||mA(e,t)),l=gA(n.delay||0,t),e?(i.resumeQueue.add(f),o.pause()):(o.resume(),f())}function d(){i.resumeQueue.add(f),i.timeouts.delete(c),c.cancel(),l=c.time-fk.now()}function f(){l>0&&!Tk.skipAnimation?(i.delayed=!0,c=fk.setTimeout(h,l),i.pauseQueue.add(d),i.timeouts.add(c)):h()}function h(){i.delayed&&(i.delayed=!1),i.pauseQueue.delete(d),i.timeouts.delete(c),e<=(i.cancelId||0)&&(u=!0);try{o.start({...n,callId:e,cancel:u},a)}catch(e){s(e)}}}))}var NA=(e,t)=>1==t.length?t[0]:t.some((e=>e.cancelled))?BA(e.get()):t.every((e=>e.noop))?PA(e.get()):IA(e.get(),t.every((e=>e.finished))),PA=e=>({value:e,noop:!0,finished:!0,cancelled:!1}),IA=(e,t,n=!1)=>({value:e,finished:t,cancelled:n}),BA=e=>({value:e,cancelled:!0,finished:!1});function jA(e,t,n,r){const{callId:i,parentId:o,onRest:a}=t,{asyncTo:s,promise:l}=n;return o||e!==s||t.reset?n.promise=(async()=>{n.asyncId=i,n.asyncTo=e;const c=_A(t,((e,t)=>"onRest"===t?void 0:e));let u,d;const f=new Promise(((e,t)=>(u=e,d=t))),h=e=>{const t=i<=(n.cancelId||0)&&BA(r)||i!==n.asyncId&&IA(r,!1);if(t)throw e.result=t,d(e),e},p=(e,t)=>{const o=new HA,a=new qA;return(async()=>{if(Tk.skipAnimation)throw WA(n),a.result=IA(r,!1),d(a),a;h(o);const s=Fk.obj(e)?{...e}:{...t,to:e};s.parentId=i,Rk(c,((e,t)=>{Fk.und(s[t])&&(s[t]=e)}));const l=await r.start(s);return h(o),n.paused&&await new Promise((e=>{n.resumeQueue.add(e)})),l})()};let g;if(Tk.skipAnimation)return WA(n),IA(r,!1);try{let t;t=Fk.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),f]),g=IA(r.get(),!0,!1)}catch(e){if(e instanceof HA)g=e.result;else{if(!(e instanceof qA))throw e;g=e.result}}finally{i==n.asyncId&&(n.asyncId=o,n.asyncTo=o?s:void 0,n.promise=o?l:void 0)}return Fk.fun(a)&&fk.batchedUpdates((()=>{a(g,r,r.item)})),g})():l}function WA(e,t){Pk(e.timeouts,(e=>e.cancel())),e.pauseQueue.clear(),e.resumeQueue.clear(),e.asyncId=e.asyncTo=e.promise=void 0,t&&(e.cancelId=t)}var HA=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.")}},qA=class extends Error{constructor(){super("SkipAnimationSignal")}},$A=e=>e instanceof VA,UA=1,VA=class extends MC{constructor(){super(...arguments),this.id=UA++,this._priority=0}get priority(){return this._priority}set priority(e){this._priority!=e&&(this._priority=e,this._onPriorityChange(e))}get(){const e=QC(this);return e&&e.getValue()}to(...e){return Tk.to(this,e)}interpolate(...e){return $C(`${HC}The "interpolate" function is deprecated in v9 (use "to" instead)`),Tk.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){SC(this,{type:"change",parent:this,value:e,idle:t})}_onPriorityChange(e){this.idle||Xk.sort(this),SC(this,{type:"priority",parent:this,priority:e})}},GA=Symbol.for("SpringPhase"),YA=e=>(1&e[GA])>0,ZA=e=>(2&e[GA])>0,XA=e=>(4&e[GA])>0,KA=(e,t)=>t?e[GA]|=3:e[GA]&=-3,JA=(e,t)=>t?e[GA]|=4:e[GA]&=-5,QA=class extends VA{constructor(e,t){if(super(),this.animation=new zA,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,!Fk.und(e)||!Fk.und(t)){const n=Fk.obj(e)?{...e}:{...t,from:e};Fk.und(n.default)&&(n.default=!0),this.start(n)}}get idle(){return!(ZA(this)||this._state.asyncTo)||XA(this)}get goal(){return CC(this.animation.to)}get velocity(){const e=QC(this);return e instanceof rA?e.lastVelocity||0:e.getPayload().map((e=>e.lastVelocity||0))}get hasAnimated(){return YA(this)}get isAnimating(){return ZA(this)}get isPaused(){return XA(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=tA(r.to);!a&&kC(r.to)&&(i=Nk(CC(r.to))),r.values.forEach(((s,l)=>{if(s.done)return;const c=s.constructor==iA?1:a?a[l].lastPosition:i[l];let u=r.immediate,d=c;if(!u){if(d=s.lastPosition,o.tension<=0)return void(s.done=!0);let t=s.elapsedTime+=e;const n=r.fromValues[l],i=null!=s.v0?s.v0:s.v0=Fk.arr(o.velocity)?o.velocity[l]:o.velocity;let a;const f=o.precision||(n==c?.005:Math.min(1,.001*Math.abs(c-n)));if(Fk.und(o.duration))if(o.decay){const e=!0===o.decay?.998:o.decay,r=Math.exp(-(1-e)*t);d=n+i/(1-e)*(1-r),u=Math.abs(s.lastPosition-d)<=f,a=i*r}else{a=null==s.lastVelocity?i:s.lastVelocity;const t=o.restVelocity||f/10,r=o.clamp?0:o.bounce,l=!Fk.und(r),h=n==c?s.v0>0:n<c;let p,g=!1;const m=1,v=Math.ceil(e/m);for(let e=0;e<v&&(p=Math.abs(a)>t,p||(u=Math.abs(c-d)<=f,!u));++e){l&&(g=d==c||d>c==h,g&&(a=-a*r,d=c));a+=(1e-6*-o.tension*(d-c)+.001*-o.friction*a)/o.mass*m,d+=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),d=n+o.easing(r)*(c-n),a=(d-s.lastPosition)/e,u=1==r}s.lastVelocity=a,Number.isNaN(d)&&(console.warn("Got NaN while animating:",this),u=!0)}a&&!a[l].done&&(u=!1),u?s.done=!0:t=!1,s.setValue(d,o.round)&&(n=!0)}));const s=QC(this),l=s.getValue();if(t){const e=CC(r.to);l===e&&!n||o.decay?n&&o.decay&&this._onChange(l):(s.setValue(e),this._onChange(e)),this._stop()}else n&&this._onChange(l)}set(e){return fk.batchedUpdates((()=>{this._stop(),this._focus(e),this._set(e)})),this}pause(){this._update({pause:!0})}resume(){this._update({pause:!1})}finish(){if(ZA(this)){const{to:e,config:t}=this.animation;fk.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 Fk.und(e)?(n=this.queue||[],this.queue=[]):n=[Fk.obj(e)?e:{...t,to:e}],Promise.all(n.map((e=>this._update(e)))).then((e=>NA(this,e)))}stop(e){const{to:t}=this.animation;return this._focus(this.get()),WA(this._state,e&&this._lastCallId),fk.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=Fk.obj(n)?n[t]:n,(null==n||SA(n))&&(n=void 0),r=Fk.obj(r)?r[t]:r,null==r&&(r=void 0);const i={to:n,from:r};return YA(this)||(e.reverse&&([n,r]=[r,n]),r=CC(r),Fk.und(r)?QC(this)||this._set(n):this._set(r)),i}_update({...e},t){const{key:n,defaultProps:r}=this;e.default&&Object.assign(r,_A(e,((e,t)=>/^on/.test(t)?vA(e,n):e))),aS(this,e,"onProps"),sS(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 RA(++this._lastCallId,{key:n,props:e,defaultProps:r,state:o,actions:{pause:()=>{XA(this)||(JA(this,!0),jk(o.pauseQueue),sS(this,"onPause",IA(this,eS(this,this.animation.to)),this))},resume:()=>{XA(this)&&(JA(this,!1),ZA(this)&&this._resume(),jk(o.resumeQueue),sS(this,"onResume",IA(this,eS(this,this.animation.to)),this))},start:this._merge.bind(this,i)}}).then((n=>{if(e.loop&&n.finished&&(!t||!n.noop)){const t=tS(e);if(t)return this._update(t,!0)}return n}))}_merge(e,t,n){if(t.cancel)return this.stop(!0),n(BA(this));const r=!Fk.und(e.to),i=!Fk.und(e.from);if(r||i){if(!(t.callId>this._lastToId))return n(BA(this));this._lastToId=t.callId}const{key:o,defaultProps:a,animation:s}=this,{to:l,from:c}=s;let{to:u=l,from:d=c}=e;!i||r||t.default&&!Fk.und(u)||(u=d),t.reverse&&([u,d]=[d,u]);const f=!Ok(d,c);f&&(s.from=d),d=CC(d);const h=!Ok(u,l);h&&this._focus(u);const p=SA(t.to),{config:g}=s,{decay:m,velocity:v}=g;(r||i)&&(g.velocity=0),t.config&&!p&&function(e,t,n){n&&(FA(n={...n},t),t={...n,...t}),FA(e,t),Object.assign(e,t);for(const t in TA)null==e[t]&&(e[t]=TA[t]);let{frequency:r,damping:i}=e;const{mass:o}=e;Fk.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,gA(t.config,o),t.config!==a.config?gA(a.config,o):void 0);let b=QC(this);if(!b||Fk.und(u))return n(IA(this,!0));const y=Fk.und(t.reset)?i&&!t.default:!Fk.und(d)&&mA(t.reset,o),_=y?d:this.get(),x=CA(u),w=Fk.num(x)||Fk.arr(x)||VC(x),k=!p&&(!w||mA(a.immediate||t.immediate,o));if(h){const e=cA(u);if(e!==b.constructor){if(!k)throw Error(`Cannot animate between ${b.constructor.name} and ${e.name}, as the "to" prop suggests`);b=this._set(x)}}const C=b.constructor;let A=kC(u),S=!1;if(!A){const e=y||!YA(this)&&f;(h||e)&&(S=Ok(CA(_),x),A=!S),(Ok(s.immediate,k)||k)&&Ok(g.decay,m)&&Ok(g.velocity,v)||(A=!0)}if(S&&ZA(this)&&(s.changed&&!y?A=!0:A||this._stop(l)),!p&&((A||kC(l))&&(s.values=b.getPayload(),s.toValues=kC(u)?null:C==iA?[1]:Nk(x)),s.immediate!=k&&(s.immediate=k,k||y||this._set(l)),A)){const{onRest:e}=s;zk(oS,(e=>aS(this,t,e)));const r=IA(this,eS(this,l));jk(this._pendingCalls,r),this._pendingCalls.add(n),s.changed&&fk.batchedUpdates((()=>{s.changed=!y,e?.(r,this),y?gA(a.onRest,r):s.onStart?.(r,this)}))}y&&this._set(_),p?n(jA(t.to,t,this._state,this)):A?this._start():ZA(this)&&!h?this._pendingCalls.add(n):n(PA(_))}_focus(e){const t=this.animation;e!==t.to&&(AC(this)&&this._detach(),t.to=e,AC(this)&&this._attach())}_attach(){let e=0;const{to:t}=this.animation;kC(t)&&(LC(t,this),$A(t)&&(e=t.priority+1)),this.priority=e}_detach(){const{to:e}=this.animation;kC(e)&&TC(e,this)}_set(e,t=!0){const n=CC(e);if(!Fk.und(n)){const e=QC(this);if(!e||!Ok(n,e.getValue())){const r=cA(n);e&&e.constructor==r?e.setValue(n):eA(this,r.create(n)),e&&fk.batchedUpdates((()=>{this._onChange(n,t)}))}}return QC(this)}_onStart(){const e=this.animation;e.changed||(e.changed=!0,sS(this,"onStart",IA(this,eS(this,e.to)),this))}_onChange(e,t){t||(this._onStart(),gA(this.animation.onChange,e,this)),gA(this.defaultProps.onChange,e,this),super._onChange(e,t)}_start(){const e=this.animation;QC(this).reset(CC(e.to)),e.immediate||(e.fromValues=e.values.map((e=>e.lastPosition))),ZA(this)||(KA(this,!0),XA(this)||this._resume())}_resume(){Tk.skipAnimation?this.finish():Xk.start(this)}_stop(e,t){if(ZA(this)){KA(this,!1);const n=this.animation;zk(n.values,(e=>{e.done=!0})),n.toValues&&(n.onChange=n.onPause=n.onResume=void 0),SC(this,{type:"idle",parent:this});const r=t?BA(this.get()):IA(this.get(),eS(this,e??n.to));jk(this._pendingCalls,r),n.changed&&(n.changed=!1,sS(this,"onRest",r,this))}}};function eS(e,t){const n=CA(t);return Ok(CA(e.get()),n)}function tS(e,t=e.loop,n=e.to){const r=gA(t);if(r){const i=!0!==r&&kA(r),o=(i||e).reverse,a=!i||i.reset;return nS({...e,loop:t,default:!1,pause:void 0,to:!o||SA(n)?n:void 0,from:a?e.from:void 0,reset:a,...i})}}function nS(e){const{to:t,from:n}=e=kA(e),r=new Set;return Fk.obj(t)&&iS(t,r),Fk.obj(n)&&iS(n,r),e.keys=r.size?Array.from(r):null,e}function rS(e){const t=nS(e);return Fk.und(t.default)&&(t.default=_A(t)),t}function iS(e,t){Rk(e,((e,n)=>null!=e&&t.add(n)))}var oS=["onStart","onRest","onChange","onPause","onResume"];function aS(e,t,n){e.animation[n]=t[n]!==bA(t,n)?vA(t[n],e.key):void 0}function sS(e,t,...n){e.animation[t]?.(...n),e.defaultProps[t]?.(...n)}var lS=["onStart","onChange","onRest"],cS=1,uS=class{constructor(e,t){this.id=cS++,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];Fk.und(n)||this.springs[t].set(n)}}update(e){return e&&this.queue.push(nS(e)),this}start(e){let{queue:t}=this;return e?t=Nk(e).map(nS):this.queue=[],this._flush?this._flush(this,t):(vS(this,t),dS(this,t))}stop(e,t){if(e!==!!e&&(t=e),t){const n=this.springs;zk(Nk(t),(t=>n[t].stop(!!e)))}else WA(this._state,this._lastAsyncId),this.each((t=>t.stop(!!e)));return this}pause(e){if(Fk.und(e))this.start({pause:!0});else{const t=this.springs;zk(Nk(e),(e=>t[e].pause()))}return this}resume(e){if(Fk.und(e))this.start({pause:!1});else{const t=this.springs;zk(Nk(e),(e=>t[e].resume()))}return this}each(e){Rk(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,Pk(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&&Pk(t,(([e,t])=>{t.value=a,e(t,this,this._item)})),o&&(this._started=!1,Pk(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)}fk.onFrame(this._onFrame)}};function dS(e,t){return Promise.all(t.map((t=>fS(e,t)))).then((t=>NA(e,t)))}async function fS(e,t,n){const{keys:r,to:i,from:o,loop:a,onRest:s,onResolve:l}=t,c=Fk.obj(t.default)&&t.default;a&&(t.loop=!1),!1===i&&(t.to=null),!1===o&&(t.from=null);const u=Fk.arr(i)||Fk.fun(i)?i:void 0;u?(t.to=void 0,t.onRest=void 0,c&&(c.onRest=void 0)):zk(lS,(n=>{const r=t[n];if(Fk.fun(r)){const i=e._events[n];t[n]=({finished:e,cancelled:t})=>{const n=i.get(r);n?(e||(n.finished=!1),t&&(n.cancelled=!0)):i.set(r,{value:null,finished:e||!1,cancelled:t||!1})},c&&(c[n]=t[n])}}));const d=e._state;t.pause===!d.paused?(d.paused=t.pause,jk(t.pause?d.pauseQueue:d.resumeQueue)):d.paused&&(t.pause=!0);const f=(r||Object.keys(e.springs)).map((n=>e.springs[n].start(t))),h=!0===t.cancel||!0===bA(t,"cancel");(u||h&&d.asyncId)&&f.push(RA(++e._lastAsyncId,{props:t,state:d,actions:{pause:Dk,resume:Dk,start(t,n){h?(WA(d,e._lastAsyncId),n(BA(e))):(t.onRest=s,n(jA(u,t,d,e)))}}})),d.paused&&await new Promise((e=>{d.resumeQueue.add(e)}));const p=NA(e,await Promise.all(f));if(a&&p.finished&&(!n||!p.noop)){const n=tS(t,a,i);if(n)return vS(e,[n]),fS(e,n,!0)}return l&&fk.batchedUpdates((()=>l(p,e,e.item))),p}function hS(e,t){const n={...e.springs};return t&&zk(Nk(t),(e=>{Fk.und(e.keys)&&(e=nS(e)),Fk.obj(e.to)||(e={...e,to:void 0}),mS(n,e,(e=>gS(e)))})),pS(e,n),n}function pS(e,t){Rk(t,((t,n)=>{e.springs[n]||(e.springs[n]=t,LC(t,e))}))}function gS(e,t){const n=new QA;return n.key=e,t&&LC(n,t),n}function mS(e,t,n){t.keys&&zk(t.keys,(r=>{(e[r]||(e[r]=n(r)))._prepareNode(t)}))}function vS(e,t){zk(t,(t=>{mS(e.springs,t,(t=>gS(t,e)))}))}var bS=_.createContext({pause:!1,immediate:!1}),yS=()=>{const e=[],t=function(t){UC(`${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 zk(e,((e,i)=>{if(Fk.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 zk(e,(e=>e.pause(...arguments))),this},t.resume=function(){return zk(e,(e=>e.resume(...arguments))),this},t.set=function(t){zk(e,((e,n)=>{const r=Fk.fun(t)?t(n,e):t;r&&e.set(r)}))},t.start=function(t){const n=[];return zk(e,((e,r)=>{if(Fk.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 zk(e,(e=>e.stop(...arguments))),this},t.update=function(t){return zk(e,((e,n)=>e.update(this._getProps(t,e,n)))),this};const n=function(e,t,n){return Fk.fun(e)?e(n,t):e};return t._getProps=n,t};function _S(e,t){const n=Fk.fun(e),[[r],i]=function(e,t,n){const r=Fk.fun(t)&&t;r&&!n&&(n=[]);const i=M((()=>r||3==arguments.length?yS():void 0),[]),o=C(0),a=YC(),s=M((()=>({ctrls:[],queue:[],flush(e,t){const n=hS(e,t);return o.current>0&&!s.queue.length&&!Object.keys(n).some((t=>!e.springs[t]))?dS(e,t):new Promise((r=>{pS(e,n),s.queue.push((()=>{r(dS(e,t))})),a()}))}})),[]),l=C([...s.ctrls]),c=C([]),u=KC(e)||0;function d(e,n){for(let i=e;i<n;i++){const e=l.current[i]||(l.current[i]=new uS(null,s.flush)),n=r?r(i,e):t[i];n&&(c.current[i]=rS(n))}}M((()=>{zk(l.current.slice(e,u),(e=>{MA(e,i),e.stop(!0)})),l.current.length=e,d(u,e)}),[e]),M((()=>{d(0,Math.min(u,e))}),n);const f=l.current.map(((e,t)=>hS(e,c.current[t]))),h=E(bS),p=KC(h),g=h!==p&&AA(h);GC((()=>{o.current++,s.ctrls=l.current;const{queue:e}=s;e.length&&(s.queue=[],zk(e,(e=>e()))),zk(l.current,((e,t)=>{i?.add(e),g&&e.start({default:h});const n=c.current[t];n&&(EA(e,n.ref),e.ref?e.queue.push(n):e.start(n))}))})),ZC((()=>()=>{zk(s.ctrls,(e=>e.stop(!0)))}));const m=f.map((e=>({...e})));return i?[m,i]:m}(1,n?e:[e],n?[]:t);return n||2==arguments.length?[r,i]:r}function xS(e,t,n){const r=Fk.fun(t)&&t,{reset:i,sort:o,trail:a=0,expires:s=!0,exitBeforeEnter:l=!1,onDestroyed:c,ref:u,config:d}=r?r():t,f=M((()=>r||3==arguments.length?yS():void 0),[]),h=Nk(e),p=[],g=C(null),m=i?null:g.current;GC((()=>{g.current=p})),ZC((()=>(zk(p,(e=>{f?.add(e.ctrl),e.ctrl.ref=f})),()=>{zk(g.current,(e=>{e.expired&&clearTimeout(e.expirationId),MA(e.ctrl,f),e.ctrl.stop(!0)}))})));const v=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):wS++}))}return Fk.und(n)?e:Fk.fun(n)?e.map(n):Nk(n)}(h,r?r():t,m),b=i&&g.current||[];GC((()=>zk(b,(({ctrl:e,item:t,key:n})=>{MA(e,f),gA(c,t,n)}))));const y=[];if(m&&zk(m,((e,t)=>{e.expired?(clearTimeout(e.expirationId),b.push(e)):~(t=y[t]=v.indexOf(e.key))&&(p[t]=e)})),zk(h,((e,t)=>{p[t]||(p[t]={key:v[t],item:e,phase:"mount",ctrl:new uS},p[t].ctrl.item=e)})),y.length){let e=-1;const{leave:n}=r?r():t;zk(y,((t,r)=>{const i=m[r];~t?(e=p.indexOf(i),p[e]={...i,item:h[t]}):n&&p.splice(++e,0,i)}))}Fk.fun(o)&&p.sort(((e,t)=>o(e.item,t.item)));let x=-a;const w=YC(),k=_A(t),A=new Map,S=C(new Map),L=C(!1);zk(p,((e,n)=>{const i=e.key,o=e.phase,c=r?r():t;let f,h;const p=gA(c.delay||0,i);if("mount"==o)f=c.enter,h="enter";else{const e=v.indexOf(i)<0;if("leave"!=o)if(e)f=c.leave,h="leave";else{if(!(f=c.update))return;h="update"}else{if(e)return;f=c.enter,h="enter"}}if(f=gA(f,e.item,n),f=Fk.obj(f)?kA(f):{to:f},!f.config){const t=d||k.config;f.config=gA(t,e.item,n,h)}x+=a;const b={...k,delay:p+x,ref:u,immediate:c.immediate,reset:!1,...f};if("enter"==h&&Fk.und(b.from)){const i=r?r():t,o=Fk.und(i.initial)||m?i.from:i.initial;b.from=gA(o,e.item,n)}const{onResolve:y}=b;b.onResolve=e=>{gA(y,e);const t=g.current,n=t.find((e=>e.key===i));if(n&&(!e.cancelled||"update"==n.phase)&&n.ctrl.idle){const e=t.every((e=>e.ctrl.idle));if("leave"==n.phase){const t=gA(s,n.item);if(!1!==t){const r=!0===t?0:t;if(n.expired=!0,!e&&r>0)return void(r<=2147483647&&(n.expirationId=setTimeout(w,r)))}}e&&t.some((e=>e.expired))&&(S.current.delete(n),l&&(L.current=!0),w())}};const _=hS(e.ctrl,b);"leave"===h&&l?S.current.set(e,{phase:h,springs:_,payload:b}):A.set(e,{phase:h,springs:_,payload:b})}));const T=E(bS),D=KC(T),F=T!==D&&AA(T);GC((()=>{F&&zk(p,(e=>{e.ctrl.start({default:T})}))}),[T]),zk(A,((e,t)=>{if(S.current.size){const e=p.findIndex((e=>e.key===t.key));p.splice(e,1)}})),GC((()=>{zk(S.current.size?S.current:A,(({phase:e,payload:t},n)=>{const{ctrl:r}=n;n.phase=e,f?.add(r),F&&"enter"==e&&r.start({default:T}),t&&(EA(r,t.ref),!r.ref&&!f||L.current?(r.start(t),L.current&&(L.current=!1)):r.update(t))}))}),i?void 0:n);const O=e=>_.createElement(_.Fragment,null,p.map(((t,n)=>{const{springs:r}=A.get(t)||t.ctrl,i=e({...r},t.item,t,n),o=Fk.str(t.key)||Fk.num(t.key)?t.key:t.ctrl.id,a=_.version<"19.0.0",s=i?.props??{},l=a?i?.ref:s?.ref;return i&&i.type?_.createElement(i.type,{...s,key:o,ref:l}):i})));return f?[O,f]:O}var wS=1;var kS=class extends VA{constructor(e,t){super(),this.source=e,this.idle=!0,this._active=new Set,this.calc=_C(...t);const n=this._get(),r=cA(n);eA(this,r.create(n))}advance(e){const t=this._get();Ok(t,this.get())||(QC(this).setValue(t),this._onChange(t,this.idle)),!this.idle&&AS(this._active)&&SS(this)}_get(){const e=Fk.arr(this.source)?this.source.map(CC):Nk(CC(this.source));return this.calc(...e)}_start(){this.idle&&!AS(this._active)&&(this.idle=!1,zk(tA(this),(e=>{e.done=!1})),Tk.skipAnimation?(fk.batchedUpdates((()=>this.advance())),SS(this)):Xk.start(this))}_attach(){let e=1;zk(Nk(this.source),(t=>{kC(t)&&LC(t,this),$A(t)&&(t.idle||this._active.add(t),e=Math.max(e,t.priority+1))})),this.priority=e,this._start()}_detach(){zk(Nk(this.source),(e=>{kC(e)&&TC(e,this)})),this._active.clear(),SS(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=Nk(this.source).reduce(((e,t)=>Math.max(e,($A(t)?t.priority:0)+1)),0))}};function CS(e){return!1!==e.idle}function AS(e){return!e.size||Array.from(e).every(CS)}function SS(e){e.idle||(e.idle=!0,zk(tA(e),(e=>{e.done=!0})),SC(e,{type:"idle",parent:e}))}var MS=(e,...t)=>new kS(e,t);Tk.assign({createStringInterpolator:WC,to:(e,t)=>new kS(e,t)});var ES=/^--/;function LS(e,t){return null==t||"boolean"==typeof t||""===t?"":"number"!=typeof t||0===t||ES.test(e)||DS.hasOwnProperty(e)&&DS[e]?(""+t).trim():t+"px"}var TS={};var DS={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},FS=["Webkit","Ms","Moz","O"];DS=Object.keys(DS).reduce(((e,t)=>(FS.forEach((n=>e[((e,t)=>e+t.charAt(0).toUpperCase()+t.substring(1))(n,t)]=e[t])),e)),DS);var OS=/^(matrix|translate|scale|rotate|skew)/,zS=/^(translate)/,RS=/^(rotate|skew)/,NS=(e,t)=>Fk.num(e)&&0!==e?e+t:e,PS=(e,t)=>Fk.arr(e)?e.every((e=>PS(e,t))):Fk.num(e)?e===t:parseFloat(e)===t,IS=class extends aA{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=>NS(e,"px"))).join(",")})`,PS(e,0)]))),Rk(r,((e,t)=>{if("transform"===t)i.push([e||""]),o.push((e=>[e,""===e]));else if(OS.test(t)){if(delete r[t],Fk.und(e))return;const n=zS.test(t)?"px":RS.test(t)?"deg":"";i.push(Nk(e)),o.push("rotate3d"===t?([e,t,r,i])=>[`rotate3d(${e},${t},${r},${NS(i,n)})`,PS(i,0)]:e=>[`${t}(${e.map((e=>NS(e,n))).join(",")})`,PS(e,t.startsWith("scale")?1:0)])}})),i.length&&(r.transform=new BS(i,o)),super(r)}},BS=class extends MC{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 zk(this.inputs,((n,r)=>{const i=CC(n[0]),[o,a]=this.transforms[r](Fk.arr(i)?i:n.map(CC));e+=" "+o,t=t&&a})),t?"none":e}observerAdded(e){1==e&&zk(this.inputs,(e=>zk(e,(e=>kC(e)&&LC(e,this)))))}observerRemoved(e){0==e&&zk(this.inputs,(e=>zk(e,(e=>kC(e)&&TC(e,this)))))}eventObserved(e){"change"==e.type&&(this._value=null),SC(this,e)}};Tk.assign({batchedUpdates:N,createStringInterpolator:WC,colors:tC});var jS,WS,HS,qS,$S,US,VS,GS,YS,ZS,XS,KS,JS,QS,eM,tM,nM,rM,iM,oM,aM,sM,lM,cM,uM,dM,fM,hM,pM,gM,mM,vM,bM,yM,_M,xM,wM,kM,CM,AM,SM,MM,EM,LM,TM,DM,FM,OM,zM,RM,NM,PM,IM,BM,jM,WM,HM,qM,$M,UM,VM,GM,YM,ZM,XM,KM,JM,QM,eE,tE,nE,rE,iE,oE,aE,sE,lE,cE,uE,dE,fE,hE,pE,gE,mE,vE,bE,yE,_E,xE,wE,kE,CE,AE,SE,ME,EE,LE,TE=hA(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],{applyAnimatedValues:function(e,t){if(!e.nodeType||!e.setAttribute)return!1;const n="filter"===e.nodeName||e.parentNode&&"filter"===e.parentNode.nodeName,{className:r,style:i,children:o,scrollTop:a,scrollLeft:s,viewBox:l,...c}=t,u=Object.values(c),d=Object.keys(c).map((t=>n||e.hasAttribute(t)?t:TS[t]||(TS[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=LS(t,i[t]);ES.test(t)?e.style.setProperty(t,n):e.style[t]=n}d.forEach(((t,n)=>{e.setAttribute(t,u[n])})),void 0!==r&&(e.className=r),void 0!==a&&(e.scrollTop=a),void 0!==s&&(e.scrollLeft=s),void 0!==l&&e.setAttribute("viewBox",l)},createAnimatedStyle:e=>new IS(e),getComponentProps:({scrollTop:e,scrollLeft:t,...n})=>n}),DE=TE.animated;function FE(){if(qS)return HS;return qS=1,HS=function(e,t){return e===t||e!=e&&t!=t}}function OE(){if(US)return $S;US=1;var e=FE();return $S=function(t,n){for(var r=t.length;r--;)if(e(t[r][0],n))return r;return-1},$S}function zE(){if(tM)return eM;tM=1;var e=WS?jS:(WS=1,jS=function(){this.__data__=[],this.size=0}),t=function(){if(GS)return VS;GS=1;var e=OE(),t=Array.prototype.splice;return VS=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))},VS}(),n=function(){if(ZS)return YS;ZS=1;var e=OE();return YS=function(t){var n=this.__data__,r=e(n,t);return r<0?void 0:n[r][1]},YS}(),r=function(){if(KS)return XS;KS=1;var e=OE();return XS=function(t){return e(this.__data__,t)>-1}}(),i=function(){if(QS)return JS;QS=1;var e=OE();return JS=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},JS}();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,eM=o}function RE(){if(dM)return uM;dM=1;var e="object"==typeof B&&B&&B.Object===Object&&B;return uM=e}function NE(){if(hM)return fM;hM=1;var e=RE(),t="object"==typeof self&&self&&self.Object===Object&&self,n=e||t||Function("return this")();return fM=n}function PE(){if(gM)return pM;gM=1;var e=NE().Symbol;return pM=e}function IE(){if(xM)return _M;xM=1;var e=PE(),t=function(){if(vM)return mM;vM=1;var e=PE(),t=Object.prototype,n=t.hasOwnProperty,r=t.toString,i=e?e.toStringTag:void 0;return mM=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(yM)return bM;yM=1;var e=Object.prototype.toString;return bM=function(t){return e.call(t)}}(),r=e?e.toStringTag:void 0;return _M=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":r&&r in Object(e)?t(e):n(e)}}function BE(){if(kM)return wM;return kM=1,wM=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)},wM}function jE(){if(AM)return CM;AM=1;var e=IE(),t=BE();return CM=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 WE(){if(LM)return EM;LM=1;var e,t=function(){if(MM)return SM;MM=1;var e=NE()["__core-js_shared__"];return SM=e}(),n=(e=/[^.]+$/.exec(t&&t.keys&&t.keys.IE_PROTO||""))?"Symbol(src)_1."+e:"";return EM=function(e){return!!n&&n in e}}function HE(){if(DM)return TM;DM=1;var e=Function.prototype.toString;return TM=function(t){if(null!=t){try{return e.call(t)}catch(e){}try{return t+""}catch(e){}}return""}}function qE(){if(PM)return NM;PM=1;var e=function(){if(OM)return FM;OM=1;var e=jE(),t=WE(),n=BE(),r=HE(),i=/^\[object .+?Constructor\]$/,o=Function.prototype,a=Object.prototype,s=o.toString,l=a.hasOwnProperty,c=RegExp("^"+s.call(l).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");return FM=function(o){return!(!n(o)||t(o))&&(e(o)?c:i).test(r(o))}}(),t=(RM||(RM=1,zM=function(e,t){return null==e?void 0:e[t]}),zM);return NM=function(n,r){var i=t(n,r);return e(i)?i:void 0},NM}function $E(){if(BM)return IM;BM=1;var e=qE()(NE(),"Map");return IM=e}function UE(){if(WM)return jM;WM=1;var e=qE()(Object,"create");return jM=e}function VE(){if(QM)return JM;QM=1;var e=function(){if(qM)return HM;qM=1;var e=UE();return HM=function(){this.__data__=e?e(null):{},this.size=0}}(),t=UM?$M:(UM=1,$M=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}),n=function(){if(GM)return VM;GM=1;var e=UE(),t=Object.prototype.hasOwnProperty;return VM=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(ZM)return YM;ZM=1;var e=UE(),t=Object.prototype.hasOwnProperty;return YM=function(n){var r=this.__data__;return e?void 0!==r[n]:t.call(r,n)}}(),i=function(){if(KM)return XM;KM=1;var e=UE();return XM=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,JM=o}function GE(){if(oE)return iE;oE=1;var e=(rE||(rE=1,nE=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}),nE);return iE=function(t,n){var r=t.__data__;return e(n)?r["string"==typeof n?"string":"hash"]:r.map},iE}function YE(){if(gE)return pE;gE=1;var e=function(){if(tE)return eE;tE=1;var e=VE(),t=zE(),n=$E();return eE=function(){this.size=0,this.__data__={hash:new e,map:new(n||t),string:new e}}}(),t=function(){if(sE)return aE;sE=1;var e=GE();return aE=function(t){var n=e(this,t).delete(t);return this.size-=n?1:0,n}}(),n=function(){if(cE)return lE;cE=1;var e=GE();return lE=function(t){return e(this,t).get(t)}}(),r=function(){if(dE)return uE;dE=1;var e=GE();return uE=function(t){return e(this,t).has(t)}}(),i=function(){if(hE)return fE;hE=1;var e=GE();return fE=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,pE=o}function ZE(){if(yE)return bE;yE=1;var e=zE(),t=function(){if(rM)return nM;rM=1;var e=zE();return nM=function(){this.__data__=new e,this.size=0}}(),n=oM?iM:(oM=1,iM=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}),r=sM?aM:(sM=1,aM=function(e){return this.__data__.get(e)}),i=cM?lM:(cM=1,lM=function(e){return this.__data__.has(e)}),o=function(){if(vE)return mE;vE=1;var e=zE(),t=$E(),n=YE();return mE=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,bE=a}function XE(){if(xE)return _E;xE=1;var e=qE(),t=function(){try{var t=e(Object,"defineProperty");return t({},"",{}),t}catch(e){}}();return _E=t}function KE(){if(kE)return wE;kE=1;var e=XE();return wE=function(t,n,r){"__proto__"==n&&e?e(t,n,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[n]=r},wE}function JE(){if(AE)return CE;AE=1;var e=KE(),t=FE();return CE=function(n,r,i){(void 0!==i&&!t(n[r],i)||void 0===i&&!(r in n))&&e(n,r,i)},CE}function QE(){if(LE)return EE;LE=1;var e=(ME||(ME=1,SE=function(e){return function(t,n,r){for(var i=-1,o=Object(t),a=r(t),s=a.length;s--;){var l=a[e?s:++i];if(!1===n(o[l],l,o))break}return t}}),SE),t=e();return EE=t}var eL,tL,nL,rL,iL,oL,aL,sL,lL,cL,uL,dL,fL,hL,pL,gL,mL,vL,bL,yL,_L,xL,wL,kL,CL,AL,SL,ML,EL,LL,TL,DL,FL,OL={exports:{}};function zL(){return eL||(eL=1,function(e,t){var n=NE(),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}}(OL,OL.exports)),OL.exports}function RL(){if(nL)return tL;nL=1;var e=NE().Uint8Array;return tL=e}function NL(){if(iL)return rL;iL=1;var e=RL();return rL=function(t){var n=new t.constructor(t.byteLength);return new e(n).set(new e(t)),n}}function PL(){if(aL)return oL;aL=1;var e=NL();return oL=function(t,n){var r=n?e(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.length)}}function IL(){if(lL)return sL;return lL=1,sL=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t},sL}function BL(){if(fL)return dL;return fL=1,dL=function(e,t){return function(n){return e(t(n))}}}function jL(){if(pL)return hL;pL=1;var e=BL()(Object.getPrototypeOf,Object);return hL=e}function WL(){if(mL)return gL;mL=1;var e=Object.prototype;return gL=function(t){var n=t&&t.constructor;return t===("function"==typeof n&&n.prototype||e)}}function HL(){if(bL)return vL;bL=1;var e=function(){if(uL)return cL;uL=1;var e=BE(),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 cL=n}(),t=jL(),n=WL();return vL=function(r){return"function"!=typeof r.constructor||n(r)?{}:e(t(r))},vL}function qL(){if(_L)return yL;return _L=1,yL=function(e){return null!=e&&"object"==typeof e}}function $L(){if(CL)return kL;CL=1;var e=function(){if(wL)return xL;wL=1;var e=IE(),t=qL();return xL=function(n){return t(n)&&"[object Arguments]"==e(n)}}(),t=qL(),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 kL=o}function UL(){if(SL)return AL;SL=1;var e=Array.isArray;return AL=e}function VL(){if(EL)return ML;EL=1;return ML=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}}function GL(){if(TL)return LL;TL=1;var e=jE(),t=VL();return LL=function(n){return null!=n&&t(n.length)&&!e(n)}}function YL(){if(FL)return DL;FL=1;var e=GL(),t=qL();return DL=function(n){return t(n)&&e(n)}}var ZL,XL,KL,JL,QL,eT,tT,nT,rT,iT={exports:{}};function oT(){return KL||(KL=1,function(e,t){var n=NE(),r=XL?ZL:(XL=1,ZL=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}(iT,iT.exports)),iT.exports}function aT(){if(QL)return JL;QL=1;var e=IE(),t=jL(),n=qL(),r=Function.prototype,i=Object.prototype,o=r.toString,a=i.hasOwnProperty,s=o.call(Object);return JL=function(r){if(!n(r)||"[object Object]"!=e(r))return!1;var i=t(r);if(null===i)return!0;var l=a.call(i,"constructor")&&i.constructor;return"function"==typeof l&&l instanceof l&&o.call(l)==s}}function sT(){if(rT)return nT;return rT=1,nT=function(e){return function(t){return e(t)}}}var lT,cT,uT,dT,fT,hT,pT,gT,mT,vT,bT,yT,_T,xT,wT,kT,CT,AT,ST,MT,ET,LT,TT,DT,FT,OT,zT,RT,NT,PT,IT,BT,jT,WT,HT,qT,$T,UT,VT,GT,YT,ZT,XT,KT,JT,QT,eD,tD,nD,rD={exports:{}};function iD(){return lT||(lT=1,function(e,t){var n=RE(),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}(rD,rD.exports)),rD.exports}function oD(){if(uT)return cT;uT=1;var e=function(){if(tT)return eT;tT=1;var e=IE(),t=VL(),n=qL(),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,eT=function(i){return n(i)&&t(i.length)&&!!r[e(i)]}}(),t=sT(),n=iD(),r=n&&n.isTypedArray,i=r?t(r):e;return cT=i}function aD(){if(fT)return dT;return fT=1,dT=function(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]},dT}function sD(){if(pT)return hT;pT=1;var e=KE(),t=FE(),n=Object.prototype.hasOwnProperty;return hT=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)},hT}function lD(){if(mT)return gT;mT=1;var e=sD(),t=KE();return gT=function(n,r,i,o){var a=!i;i||(i={});for(var s=-1,l=r.length;++s<l;){var c=r[s],u=o?o(i[c],n[c],c,i,n):void 0;void 0===u&&(u=n[c]),a?t(i,c,u):e(i,c,u)}return i},gT}function cD(){if(_T)return yT;_T=1;var e=/^(?:0|[1-9]\d*)$/;return yT=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},yT}function uD(){if(wT)return xT;wT=1;var e=(bT||(bT=1,vT=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}),vT),t=$L(),n=UL(),r=oT(),i=cD(),o=oD(),a=Object.prototype.hasOwnProperty;return xT=function(s,l){var c=n(s),u=!c&&t(s),d=!c&&!u&&r(s),f=!c&&!u&&!d&&o(s),h=c||u||d||f,p=h?e(s.length,String):[],g=p.length;for(var m in s)!l&&!a.call(s,m)||h&&("length"==m||d&&("offset"==m||"parent"==m)||f&&("buffer"==m||"byteLength"==m||"byteOffset"==m)||i(m,g))||p.push(m);return p}}function dD(){if(ST)return AT;ST=1;var e=BE(),t=WL(),n=(CT||(CT=1,kT=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}),kT),r=Object.prototype.hasOwnProperty;return AT=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},AT}function fD(){if(ET)return MT;ET=1;var e=uD(),t=dD(),n=GL();return MT=function(r){return n(r)?e(r,!0):t(r)},MT}function hD(){if(FT)return DT;FT=1;var e=JE(),t=zL(),n=PL(),r=IL(),i=HL(),o=$L(),a=UL(),s=YL(),l=oT(),c=jE(),u=BE(),d=aT(),f=oD(),h=aD(),p=function(){if(TT)return LT;TT=1;var e=lD(),t=fD();return LT=function(n){return e(n,t(n))}}();return DT=function(g,m,v,b,y,_,x){var w=h(g,v),k=h(m,v),C=x.get(k);if(C)e(g,v,C);else{var A=_?_(w,k,v+"",g,m,x):void 0,S=void 0===A;if(S){var M=a(k),E=!M&&l(k),L=!M&&!E&&f(k);A=k,M||E||L?a(w)?A=w:s(w)?A=r(w):E?(S=!1,A=t(k,!0)):L?(S=!1,A=n(k,!0)):A=[]:d(k)||o(k)?(A=w,o(w)?A=p(w):u(w)&&!c(w)||(A=i(k))):S=!1}S&&(x.set(k,A),y(A,k,b,_,x),x.delete(k)),e(g,v,A)}},DT}function pD(){if(NT)return RT;return NT=1,RT=function(e){return e}}function gD(){if(jT)return BT;jT=1;var e=IT?PT:(IT=1,PT=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 BT=function(n,r,i){return r=t(void 0===r?n.length-1:r,0),function(){for(var o=arguments,a=-1,s=t(o.length-r,0),l=Array(s);++a<s;)l[a]=o[r+a];a=-1;for(var c=Array(r+1);++a<r;)c[a]=o[a];return c[r]=i(l),e(n,this,c)}},BT}function mD(){if($T)return qT;$T=1;var e=HT?WT:(HT=1,WT=function(e){return function(){return e}}),t=XE(),n=pD();return qT=t?function(n,r){return t(n,"toString",{configurable:!0,enumerable:!1,value:e(r),writable:!0})}:n}function vD(){if(YT)return GT;YT=1;var e=mD(),t=function(){if(VT)return UT;VT=1;var e=Date.now;return UT=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)}},UT}(),n=t(e);return GT=n}function bD(){if(XT)return ZT;XT=1;var e=pD(),t=gD(),n=vD();return ZT=function(r,i){return n(t(r,i,e),r+"")},ZT}function yD(){if(JT)return KT;JT=1;var e=FE(),t=GL(),n=cD(),r=BE();return KT=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)},KT}var _D,xD,wD,kD,CD,AD,SD,MD,ED,LD,TD,DD,FD,OD,zD,RD,ND,PD,ID,BD,jD,WD,HD,qD,$D=function(){if(nD)return tD;nD=1;var e=function(){if(zT)return OT;zT=1;var e=ZE(),t=JE(),n=QE(),r=hD(),i=BE(),o=fD(),a=aD();return OT=function s(l,c,u,d,f){l!==c&&n(c,(function(n,o){if(f||(f=new e),i(n))r(l,c,o,u,s,d,f);else{var h=d?d(a(l,o),n,o+"",l,c,f):void 0;void 0===h&&(h=n),t(l,o,h)}}),o)},OT}(),t=function(){if(eD)return QT;eD=1;var e=bD(),t=yD();return QT=function(n){return e((function(e,r){var i=-1,o=r.length,a=o>1?r[o-1]:void 0,s=o>2?r[2]:void 0;for(a=n.length>3&&"function"==typeof a?(o--,a):void 0,s&&t(r[0],r[1],s)&&(a=o<3?void 0:a,o=1),e=Object(e);++i<o;){var l=r[i];l&&n(e,l,i,a)}return e}))},QT}(),n=t((function(t,n,r){e(t,n,r)}));return tD=n}(),UD=j($D);function VD(){if(xD)return _D;xD=1;var e=IE(),t=qL();return _D=function(n){return"symbol"==typeof n||t(n)&&"[object Symbol]"==e(n)}}function GD(){if(kD)return wD;kD=1;var e=UL(),t=VD(),n=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,r=/^\w*$/;return wD=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))},wD}function YD(){if(MD)return SD;MD=1;var e=function(){if(AD)return CD;AD=1;var e=YE();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,CD=t}();return SD=function(t){var n=e(t,(function(e){return 500===r.size&&r.clear(),e})),r=n.cache;return n}}function ZD(){if(DD)return TD;return DD=1,TD=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},TD}function XD(){if(RD)return zD;RD=1;var e=function(){if(OD)return FD;OD=1;var e=PE(),t=ZD(),n=UL(),r=VD(),i=e?e.prototype:void 0,o=i?i.toString:void 0;return FD=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},FD}();return zD=function(t){return null==t?"":e(t)}}function KD(){if(PD)return ND;PD=1;var e=UL(),t=GD(),n=function(){if(LD)return ED;LD=1;var e=YD(),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 ED=r}(),r=XD();return ND=function(i,o){return e(i)?i:t(i,o)?[i]:n(r(i))},ND}function JD(){if(BD)return ID;BD=1;var e=VD();return ID=function(t){if("string"==typeof t||e(t))return t;var n=t+"";return"0"==n&&1/t==-1/0?"-0":n}}function QD(){if(WD)return jD;WD=1;var e=KD(),t=JD();return jD=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},jD}function eF(){if(qD)return HD;qD=1;var e=QD();return HD=function(t,n,r){var i=null==t?void 0:e(t,n);return void 0===i?r:i},HD}var tF,nF,rF,iF,oF=j(eF());function aF(){if(nF)return tF;nF=1;var e=sD(),t=KD(),n=cD(),r=BE(),i=JD();return tF=function(o,a,s,l){if(!r(o))return o;for(var c=-1,u=(a=t(a,o)).length,d=u-1,f=o;null!=f&&++c<u;){var h=i(a[c]),p=s;if("__proto__"===h||"constructor"===h||"prototype"===h)return o;if(c!=d){var g=f[h];void 0===(p=l?l(g,h,f):void 0)&&(p=r(g)?g:n(a[c+1])?[]:{})}e(f,h,p),f=f[h]}return o},tF}var sF=function(){if(iF)return rF;iF=1;var e=aF();return rF=function(t,n,r){return null==t?t:e(t,n,r)},rF}(),lF=j(sF);function cF(){return cF=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},cF.apply(null,arguments)}var uF=["outlineWidth","outlineColor","outlineOpacity"],dF=function(e){return e.outlineWidth,e.outlineColor,e.outlineOpacity,function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,uF)},fF=["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"],hF=function(e,t){var n=UD({},e,t);return fF.forEach((function(e){lF(n,e,function(e,t){return cF({},t,e)}(oF(n,e),n.text))})),n},pF=function(e,t){return t?UD({},e,t):e},gF={background:"transparent",text:{fontFamily:"sans-serif",fontSize:11,fill:"#333333",outlineWidth:0,outlineColor:"#ffffff",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}}},mF=L(null),vF={},bF=function(e){var t=e.theme,n=void 0===t?vF:t,r=e.children,i=function(e){return M((function(){return hF(gF,e)}),[e])}(n);return An(mF.Provider,{value:i,children:r})},yF=function(){var e=E(mF);if(null===e)throw new Error("Unable to find the theme, did you forget to wrap your component with ThemeProvider?");return e};function _F(){return _F=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},_F.apply(null,arguments)}var xF=["basic","chip","container","table","tableCell","tableCellValue"],wF={pointerEvents:"none",position:"absolute",zIndex:10,top:0,left:0},kF=function(e,t){return"translate("+e+"px, "+t+"px)"},CF=T((function(e){var t,n=e.position,r=e.anchor,i=e.children,o=yF(),a=KI(),s=a.animate,l=a.config,c=VB(),u=c[0],d=c[1],f=C(!1),h=void 0,p=!1,g=d.width>0&&d.height>0,m=Math.round(n[0]),v=Math.round(n[1]);g&&("top"===r?(m-=d.width/2,v-=d.height+14):"right"===r?(m+=14,v-=d.height/2):"bottom"===r?(m-=d.width/2,v+=14):"left"===r?(m-=d.width+14,v-=d.height/2):"center"===r&&(m-=d.width/2,v-=d.height/2),h={transform:kF(m,v)},f.current||(p=!0),f.current=[m,v]);var b=_S({to:h,config:l,immediate:!s||p}),y=o.tooltip;y.basic,y.chip,y.container,y.table,y.tableCell,y.tableCellValue;var _=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(y,xF),x=_F({},wF,_,{transform:null!=(t=b.transform)?t:kF(m,v),opacity:b.transform?1:0});return An(DE.div,{ref:u,style:x,children:i})}));CF.displayName="TooltipWrapper";var AF=T((function(e){var t=e.size,n=void 0===t?12:t,r=e.color,i=e.style;return An("span",{style:_F({display:"block",width:n,height:n,background:r},void 0===i?{}:i)})})),SF=T((function(e){var t,n=e.id,r=e.value,i=e.format,o=e.enableChip,a=void 0!==o&&o,s=e.color,l=e.renderContent,c=yF(),u=YB(i);if("function"==typeof l)t=l();else{var d=r;void 0!==u&&void 0!==d&&(d=u(d)),t=An("div",{style:c.tooltip.basic,children:[a&&An(AF,{color:s,style:c.tooltip.chip}),void 0!==d?An("span",{children:[n,": ",An("strong",{children:""+d})]}):n]})}return An("div",{style:c.tooltip.container,role:"tooltip",children:t})})),MF={width:"100%",borderCollapse:"collapse"},EF=T((function(e){var t,n=e.title,r=e.rows,i=void 0===r?[]:r,o=e.renderContent,a=yF();return i.length?(t="function"==typeof o?o():An("div",{children:[n&&n,An("table",{style:_F({},MF,a.tooltip.table),children:An("tbody",{children:i.map((function(e,t){return An("tr",{children:e.map((function(e,t){return An("td",{style:a.tooltip.tableCell,children:e},t)}))},t)}))})})]}),An("div",{style:a.tooltip.container,children:t})):null}));EF.displayName="TableTooltip";var LF=T((function(e){var t=e.x0,n=e.x1,r=e.y0,i=e.y1,o=yF(),a=KI(),s=a.animate,l=a.config,c=M((function(){return _F({},o.crosshair.line,{pointerEvents:"none"})}),[o.crosshair.line]),u=_S({x1:t,x2:n,y1:r,y2:i,config:l,immediate:!s});return An(DE.line,_F({},u,{fill:"none",style:c}))}));LF.displayName="CrosshairLine";var TF=T((function(e){var t,n,i=e.width,o=e.height,a=e.type,s=e.x,l=e.y;return"cross"===a?(t={x0:s,x1:s,y0:0,y1:o},n={x0:0,x1:i,y0:l,y1:l}):"top-left"===a?(t={x0:s,x1:s,y0:0,y1:l},n={x0:0,x1:s,y0:l,y1:l}):"top"===a?t={x0:s,x1:s,y0:0,y1:l}:"top-right"===a?(t={x0:s,x1:s,y0:0,y1:l},n={x0:s,x1:i,y0:l,y1:l}):"right"===a?n={x0:s,x1:i,y0:l,y1:l}:"bottom-right"===a?(t={x0:s,x1:s,y0:l,y1:o},n={x0:s,x1:i,y0:l,y1:l}):"bottom"===a?t={x0:s,x1:s,y0:l,y1:o}:"bottom-left"===a?(t={x0:s,x1:s,y0:l,y1:o},n={x0:0,x1:s,y0:l,y1:l}):"left"===a?n={x0:0,x1:s,y0:l,y1:l}:"x"===a?t={x0:s,x1:s,y0:0,y1:o}:"y"===a&&(n={x0:0,x1:i,y0:l,y1:l}),An(r,{children:[t&&An(LF,{x0:t.x0,x1:t.x1,y0:t.y0,y1:t.y1}),n&&An(LF,{x0:n.x0,x1:n.x1,y0:n.y0,y1:n.y1})]})}));TF.displayName="Crosshair";var DF,FF,OF=L({showTooltipAt:function(){},showTooltipFromEvent:function(){},hideTooltip:function(){}}),zF={isVisible:!1,position:[null,null],content:null,anchor:null},RF=L(zF),NF=function(){var e=E(OF);if(void 0===e)throw new Error("useTooltip must be used within a TooltipProvider");return e},PF=function(){var e=function(){var e=E(RF);if(void 0===e)throw new Error("useTooltipState must be used within a TooltipProvider");return e}();return function(e){return e.isVisible}(e)?An(CF,{position:e.position,anchor:e.anchor,children:e.content}):null},IF=function(e){var t=e.container,n=e.children,r=function(e){var t=x(zF),n=t[0],r=t[1],i=S((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=S((function(t,n,i){void 0===i&&(i="top");var o=e.current.getBoundingClientRect(),a=e.current.offsetWidth,s=a===o.width?1:a/o.width,l="touches"in n?n.touches[0]:n,c=l.clientX,u=l.clientY,d=(c-o.left)*s,f=(u-o.top)*s;"left"!==i&&"right"!==i||(i=d<o.width/2?"right":"left"),r({isVisible:!0,position:[d,f],anchor:i,content:t})}),[e,r]),a=S((function(){r(zF)}),[r]);return{actions:M((function(){return{showTooltipAt:i,showTooltipFromEvent:o,hideTooltip:a}}),[i,o,a]),state:n}}(t),i=r.actions,o=r.state;return An(OF.Provider,{value:i,children:An(RF.Provider,{value:o,children:n})})};var BF=j(function(){if(FF)return DF;FF=1;var e=IE(),t=UL(),n=qL();return DF=function(r){return"string"==typeof r||!t(r)&&n(r)&&"[object String]"==e(r)}}());let jF;jF="undefined"!=typeof window?window:"undefined"!=typeof self?self:global;let WF=null,HF=null;const qF=jF.clearTimeout,$F=jF.setTimeout,UF=jF.cancelAnimationFrame||jF.mozCancelAnimationFrame||jF.webkitCancelAnimationFrame,VF=jF.requestAnimationFrame||jF.mozRequestAnimationFrame||jF.webkitRequestAnimationFrame;function GF(e){let t,n,r,i,o,a,s;const l="undefined"!=typeof document&&document.attachEvent;if(!l){a=function(e){const t=e.__resizeTriggers__,n=t.firstElementChild,r=t.lastElementChild,i=n.firstElementChild;r.scrollLeft=r.scrollWidth,r.scrollTop=r.scrollHeight,i.style.width=n.offsetWidth+1+"px",i.style.height=n.offsetHeight+1+"px",n.scrollLeft=n.scrollWidth,n.scrollTop=n.scrollHeight},o=function(e){return e.offsetWidth!==e.__resizeLast__.width||e.offsetHeight!==e.__resizeLast__.height},s=function(e){if(e.target.className&&"function"==typeof e.target.className.indexOf&&e.target.className.indexOf("contract-trigger")<0&&e.target.className.indexOf("expand-trigger")<0)return;const t=this;a(this),this.__resizeRAF__&&WF(this.__resizeRAF__),this.__resizeRAF__=HF((function(){o(t)&&(t.__resizeLast__.width=t.offsetWidth,t.__resizeLast__.height=t.offsetHeight,t.__resizeListeners__.forEach((function(n){n.call(t,e)})))}))};let e=!1,l="";r="animationstart";const c="Webkit Moz O ms".split(" ");let u="webkitAnimationStart animationstart oAnimationStart MSAnimationStart".split(" "),d="";{const t=document.createElement("fakeelement");if(void 0!==t.style.animationName&&(e=!0),!1===e)for(let n=0;n<c.length;n++)if(void 0!==t.style[c[n]+"AnimationName"]){d=c[n],l="-"+d.toLowerCase()+"-",r=u[n],e=!0;break}}n="resizeanim",t="@"+l+"keyframes "+n+" { from { opacity: 0; } to { opacity: 0; } } ",i=l+"animation: 1ms "+n+"; "}return{addResizeListener:function(o,c){if(l)o.attachEvent("onresize",c);else{if(!o.__resizeTriggers__){const l=o.ownerDocument,c=jF.getComputedStyle(o);c&&"static"===c.position&&(o.style.position="relative"),function(n){if(!n.getElementById("detectElementResize")){const r=(t||"")+".resize-triggers { "+(i||"")+'visibility: hidden; opacity: 0; } .resize-triggers, .resize-triggers > div, .contract-trigger:before { content: " "; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; z-index: -1; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }',o=n.head||n.getElementsByTagName("head")[0],a=n.createElement("style");a.id="detectElementResize",a.type="text/css",null!=e&&a.setAttribute("nonce",e),a.styleSheet?a.styleSheet.cssText=r:a.appendChild(n.createTextNode(r)),o.appendChild(a)}}(l),o.__resizeLast__={},o.__resizeListeners__=[],(o.__resizeTriggers__=l.createElement("div")).className="resize-triggers";const u=l.createElement("div");u.className="expand-trigger",u.appendChild(l.createElement("div"));const d=l.createElement("div");d.className="contract-trigger",o.__resizeTriggers__.appendChild(u),o.__resizeTriggers__.appendChild(d),o.appendChild(o.__resizeTriggers__),a(o),o.addEventListener("scroll",s,!0),r&&(o.__resizeTriggers__.__animationListener__=function(e){e.animationName===n&&a(o)},o.__resizeTriggers__.addEventListener(r,o.__resizeTriggers__.__animationListener__))}o.__resizeListeners__.push(c)}},removeResizeListener:function(e,t){if(l)e.detachEvent("onresize",t);else if(e.__resizeListeners__.splice(e.__resizeListeners__.indexOf(t),1),!e.__resizeListeners__.length){e.removeEventListener("scroll",s,!0),e.__resizeTriggers__.__animationListener__&&(e.__resizeTriggers__.removeEventListener(r,e.__resizeTriggers__.__animationListener__),e.__resizeTriggers__.__animationListener__=null);try{e.__resizeTriggers__=!e.removeChild(e.__resizeTriggers__)}catch(e){}}}}}null==UF||null==VF?(WF=qF,HF=function(e){return $F(e,20)}):(WF=function([e,t]){UF(e),qF(t)},HF=function(e){const t=VF((function(){qF(n),e()})),n=$F((function(){UF(t),e()}),20);return[t,n]});class YF extends D{constructor(...e){super(...e),this.state={height:this.props.defaultHeight||0,width:this.props.defaultWidth||0},this._autoSizer=null,this._detectElementResize=null,this._didLogDeprecationWarning=!1,this._parentNode=null,this._resizeObserver=null,this._timeoutId=null,this._onResize=()=>{this._timeoutId=null;const{disableHeight:e,disableWidth:t,onResize:n}=this.props;if(this._parentNode){const r=window.getComputedStyle(this._parentNode)||{},i=parseFloat(r.paddingLeft||"0"),o=parseFloat(r.paddingRight||"0"),a=parseFloat(r.paddingTop||"0"),s=parseFloat(r.paddingBottom||"0"),l=this._parentNode.getBoundingClientRect(),c=l.height-a-s,u=l.width-i-o;if(!e&&this.state.height!==c||!t&&this.state.width!==u){this.setState({height:c,width:u});const e=()=>{this._didLogDeprecationWarning||(this._didLogDeprecationWarning=!0,console.warn("scaledWidth and scaledHeight parameters have been deprecated; use width and height instead"))};"function"==typeof n&&n({height:c,width:u,get scaledHeight(){return e(),c},get scaledWidth(){return e(),u}})}}},this._setRef=e=>{this._autoSizer=e}}componentDidMount(){const{nonce:e}=this.props,t=this._autoSizer?this._autoSizer.parentNode:null;if(null!=t&&t.ownerDocument&&t.ownerDocument.defaultView&&t instanceof t.ownerDocument.defaultView.HTMLElement){this._parentNode=t;const n=t.ownerDocument.defaultView.ResizeObserver;null!=n?(this._resizeObserver=new n((()=>{this._timeoutId=setTimeout(this._onResize,0)})),this._resizeObserver.observe(t)):(this._detectElementResize=GF(e),this._detectElementResize.addResizeListener(t,this._onResize)),this._onResize()}}componentWillUnmount(){this._parentNode&&(this._detectElementResize&&this._detectElementResize.removeResizeListener(this._parentNode,this._onResize),null!==this._timeoutId&&clearTimeout(this._timeoutId),this._resizeObserver&&this._resizeObserver.disconnect())}render(){const{children:e,defaultHeight:t,defaultWidth:n,disableHeight:r=!1,disableWidth:i=!1,doNotBailOutOnEmptyChildren:o=!1,nonce:a,onResize:s,style:l={},tagName:c="div",...u}=this.props,{height:d,width:f}=this.state,h={overflow:"visible"},p={};let g=!1;return r||(0===d&&(g=!0),h.height=0,p.height=d,p.scaledHeight=d),i||(0===f&&(g=!0),h.width=0,p.width=f,p.scaledWidth=f),o&&(g=!1),F(c,{ref:this._setRef,style:{...h,...l},...u},!g&&e(p))}}function ZF(e,t){return e===t}function XF(e,t,n){var r=n&&n.equalityFn||ZF,i=C(e),o=x({})[1],a=function(e,t,n,r){var i=this,o=C(null),a=C(0),s=C(0),l=C(null),c=C([]),u=C(),d=C(),f=C(e),h=C(!0);f.current=e;var p="undefined"!=typeof window,g=!t&&0!==t&&p;if("function"!=typeof e)throw new TypeError("Expected a function");t=+t||0;var m=!!(n=n||{}).leading,v=!("trailing"in n)||!!n.trailing,b="maxWait"in n,y="debounceOnServer"in n&&!!n.debounceOnServer,_=b?Math.max(+n.maxWait||0,t):null;w((function(){return h.current=!0,function(){h.current=!1}}),[]);var x=M((function(){var e=function(e){var t=c.current,n=u.current;return c.current=u.current=null,a.current=e,s.current=s.current||e,d.current=f.current.apply(n,t)},n=function(e,t){g&&cancelAnimationFrame(l.current),l.current=g?requestAnimationFrame(e):setTimeout(e,t)},x=function(e){if(!h.current)return!1;var n=e-o.current;return!o.current||n>=t||n<0||b&&e-a.current>=_},w=function(t){return l.current=null,v&&c.current?e(t):(c.current=u.current=null,d.current)},k=function e(){var r=Date.now();if(m&&s.current===a.current&&C(),x(r))return w(r);if(h.current){var i=t-(r-o.current),l=b?Math.min(i,_-(r-a.current)):i;n(e,l)}},C=function(){r&&r({})},A=function(){if(p||y){var r=Date.now(),s=x(r);if(c.current=[].slice.call(arguments),u.current=i,o.current=r,s){if(!l.current&&h.current)return a.current=o.current,n(k,t),m?e(o.current):d.current;if(b)return n(k,t),e(o.current)}return l.current||n(k,t),d.current}};return A.cancel=function(){var e=l.current;e&&(g?cancelAnimationFrame(l.current):clearTimeout(l.current)),a.current=0,c.current=o.current=u.current=l.current=null,e&&r&&r({})},A.isPending=function(){return!!l.current},A.flush=function(){return l.current?w(Date.now()):d.current},A}),[m,b,t,_,v,g,p,y,r]);return x}(S((function(e){i.current=e,o({})}),[o]),t,n,o),s=C(e);return r(s.current,e)||(a(e),s.current=e),[i.current,a]}var KF,JF,QF,eO,tO,nO,rO,iO,oO,aO,sO,lO,cO,uO,dO,fO,hO,pO,gO,mO,vO,bO,yO,_O;function xO(){if(nO)return tO;nO=1;var e=YE(),t=JF?KF:(JF=1,KF=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}),n=eO?QF:(eO=1,QF=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,tO=r}function wO(){if(uO)return cO;uO=1;var e=(iO||(iO=1,rO=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}),rO),t=aO?oO:(aO=1,oO=function(e){return e!=e}),n=(lO||(lO=1,sO=function(e,t,n){for(var r=n-1,i=e.length;++r<i;)if(e[r]===t)return r;return-1}),sO);return cO=function(r,i,o){return i==i?n(r,i,o):e(r,t,o)},cO}function kO(){if(fO)return dO;fO=1;var e=wO();return dO=function(t,n){return!!(null==t?0:t.length)&&e(t,n,0)>-1},dO}function CO(){if(pO)return hO;return pO=1,hO=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},hO}function AO(){if(mO)return gO;return mO=1,gO=function(e,t){return e.has(t)}}var SO=function(){if(_O)return yO;_O=1;var e=function(){if(bO)return vO;bO=1;var e=xO(),t=kO(),n=CO(),r=ZD(),i=sT(),o=AO();return vO=function(a,s,l,c){var u=-1,d=t,f=!0,h=a.length,p=[],g=s.length;if(!h)return p;l&&(s=r(s,i(l))),c?(d=n,f=!1):s.length>=200&&(d=o,f=!1,s=new e(s));e:for(;++u<h;){var m=a[u],v=null==l?m:l(m);if(m=c||0!==m?m:0,f&&v==v){for(var b=g;b--;)if(s[b]===v)continue e;p.push(m)}else d(s,v,c)||p.push(m)}return p},vO}(),t=bD(),n=YL(),r=t((function(t,r){return n(t)?e(t,r):[]}));return yO=r}(),MO=j(SO);function EO(e){for(var t=e.length/6|0,n=new Array(t),r=0;r<t;)n[r]="#"+e.slice(6*r,6*++r);return n}var LO=EO("1f77b4ff7f0e2ca02cd627289467bd8c564be377c27f7f7fbcbd2217becf"),TO=EO("7fc97fbeaed4fdc086ffff99386cb0f0027fbf5b17666666"),DO=EO("1b9e77d95f027570b3e7298a66a61ee6ab02a6761d666666"),FO=EO("a6cee31f78b4b2df8a33a02cfb9a99e31a1cfdbf6fff7f00cab2d66a3d9affff99b15928"),OO=EO("fbb4aeb3cde3ccebc5decbe4fed9a6ffffcce5d8bdfddaecf2f2f2"),zO=EO("b3e2cdfdcdaccbd5e8f4cae4e6f5c9fff2aef1e2cccccccc"),RO=EO("e41a1c377eb84daf4a984ea3ff7f00ffff33a65628f781bf999999"),NO=EO("66c2a5fc8d628da0cbe78ac3a6d854ffd92fe5c494b3b3b3"),PO=EO("8dd3c7ffffb3bebadafb807280b1d3fdb462b3de69fccde5d9d9d9bc80bdccebc5ffed6f"),IO=EO("4e79a7f28e2ce1575976b7b259a14fedc949af7aa1ff9da79c755fbab0ab"),BO=e=>ci(e[e.length-1]),jO=new Array(3).concat("d8b365f5f5f55ab4ac","a6611adfc27d80cdc1018571","a6611adfc27df5f5f580cdc1018571","8c510ad8b365f6e8c3c7eae55ab4ac01665e","8c510ad8b365f6e8c3f5f5f5c7eae55ab4ac01665e","8c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e","8c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e","5430058c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e003c30","5430058c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e003c30").map(EO),WO=BO(jO),HO=new Array(3).concat("af8dc3f7f7f77fbf7b","7b3294c2a5cfa6dba0008837","7b3294c2a5cff7f7f7a6dba0008837","762a83af8dc3e7d4e8d9f0d37fbf7b1b7837","762a83af8dc3e7d4e8f7f7f7d9f0d37fbf7b1b7837","762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b7837","762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b7837","40004b762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b783700441b","40004b762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b783700441b").map(EO),qO=BO(HO),$O=new Array(3).concat("e9a3c9f7f7f7a1d76a","d01c8bf1b6dab8e1864dac26","d01c8bf1b6daf7f7f7b8e1864dac26","c51b7de9a3c9fde0efe6f5d0a1d76a4d9221","c51b7de9a3c9fde0eff7f7f7e6f5d0a1d76a4d9221","c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221","c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221","8e0152c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221276419","8e0152c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221276419").map(EO),UO=BO($O),VO=new Array(3).concat("998ec3f7f7f7f1a340","5e3c99b2abd2fdb863e66101","5e3c99b2abd2f7f7f7fdb863e66101","542788998ec3d8daebfee0b6f1a340b35806","542788998ec3d8daebf7f7f7fee0b6f1a340b35806","5427888073acb2abd2d8daebfee0b6fdb863e08214b35806","5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b35806","2d004b5427888073acb2abd2d8daebfee0b6fdb863e08214b358067f3b08","2d004b5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b358067f3b08").map(EO),GO=BO(VO),YO=new Array(3).concat("ef8a62f7f7f767a9cf","ca0020f4a58292c5de0571b0","ca0020f4a582f7f7f792c5de0571b0","b2182bef8a62fddbc7d1e5f067a9cf2166ac","b2182bef8a62fddbc7f7f7f7d1e5f067a9cf2166ac","b2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac","b2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac","67001fb2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac053061","67001fb2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac053061").map(EO),ZO=BO(YO),XO=new Array(3).concat("ef8a62ffffff999999","ca0020f4a582bababa404040","ca0020f4a582ffffffbababa404040","b2182bef8a62fddbc7e0e0e09999994d4d4d","b2182bef8a62fddbc7ffffffe0e0e09999994d4d4d","b2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d","b2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d","67001fb2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d1a1a1a","67001fb2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d1a1a1a").map(EO),KO=BO(XO),JO=new Array(3).concat("fc8d59ffffbf91bfdb","d7191cfdae61abd9e92c7bb6","d7191cfdae61ffffbfabd9e92c7bb6","d73027fc8d59fee090e0f3f891bfdb4575b4","d73027fc8d59fee090ffffbfe0f3f891bfdb4575b4","d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4","d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4","a50026d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4313695","a50026d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4313695").map(EO),QO=BO(JO),ez=new Array(3).concat("fc8d59ffffbf91cf60","d7191cfdae61a6d96a1a9641","d7191cfdae61ffffbfa6d96a1a9641","d73027fc8d59fee08bd9ef8b91cf601a9850","d73027fc8d59fee08bffffbfd9ef8b91cf601a9850","d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850","d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850","a50026d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850006837","a50026d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850006837").map(EO),tz=BO(ez),nz=new Array(3).concat("fc8d59ffffbf99d594","d7191cfdae61abdda42b83ba","d7191cfdae61ffffbfabdda42b83ba","d53e4ffc8d59fee08be6f59899d5943288bd","d53e4ffc8d59fee08bffffbfe6f59899d5943288bd","d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd","d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd","9e0142d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd5e4fa2","9e0142d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd5e4fa2").map(EO),rz=BO(nz),iz=new Array(3).concat("e5f5f999d8c92ca25f","edf8fbb2e2e266c2a4238b45","edf8fbb2e2e266c2a42ca25f006d2c","edf8fbccece699d8c966c2a42ca25f006d2c","edf8fbccece699d8c966c2a441ae76238b45005824","f7fcfde5f5f9ccece699d8c966c2a441ae76238b45005824","f7fcfde5f5f9ccece699d8c966c2a441ae76238b45006d2c00441b").map(EO),oz=BO(iz),az=new Array(3).concat("e0ecf49ebcda8856a7","edf8fbb3cde38c96c688419d","edf8fbb3cde38c96c68856a7810f7c","edf8fbbfd3e69ebcda8c96c68856a7810f7c","edf8fbbfd3e69ebcda8c96c68c6bb188419d6e016b","f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d6e016b","f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d810f7c4d004b").map(EO),sz=BO(az),lz=new Array(3).concat("e0f3dba8ddb543a2ca","f0f9e8bae4bc7bccc42b8cbe","f0f9e8bae4bc7bccc443a2ca0868ac","f0f9e8ccebc5a8ddb57bccc443a2ca0868ac","f0f9e8ccebc5a8ddb57bccc44eb3d32b8cbe08589e","f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe08589e","f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe0868ac084081").map(EO),cz=BO(lz),uz=new Array(3).concat("fee8c8fdbb84e34a33","fef0d9fdcc8afc8d59d7301f","fef0d9fdcc8afc8d59e34a33b30000","fef0d9fdd49efdbb84fc8d59e34a33b30000","fef0d9fdd49efdbb84fc8d59ef6548d7301f990000","fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301f990000","fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301fb300007f0000").map(EO),dz=BO(uz),fz=new Array(3).concat("ece2f0a6bddb1c9099","f6eff7bdc9e167a9cf02818a","f6eff7bdc9e167a9cf1c9099016c59","f6eff7d0d1e6a6bddb67a9cf1c9099016c59","f6eff7d0d1e6a6bddb67a9cf3690c002818a016450","fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016450","fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016c59014636").map(EO),hz=BO(fz),pz=new Array(3).concat("ece7f2a6bddb2b8cbe","f1eef6bdc9e174a9cf0570b0","f1eef6bdc9e174a9cf2b8cbe045a8d","f1eef6d0d1e6a6bddb74a9cf2b8cbe045a8d","f1eef6d0d1e6a6bddb74a9cf3690c00570b0034e7b","fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0034e7b","fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0045a8d023858").map(EO),gz=BO(pz),mz=new Array(3).concat("e7e1efc994c7dd1c77","f1eef6d7b5d8df65b0ce1256","f1eef6d7b5d8df65b0dd1c77980043","f1eef6d4b9dac994c7df65b0dd1c77980043","f1eef6d4b9dac994c7df65b0e7298ace125691003f","f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125691003f","f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125698004367001f").map(EO),vz=BO(mz),bz=new Array(3).concat("fde0ddfa9fb5c51b8a","feebe2fbb4b9f768a1ae017e","feebe2fbb4b9f768a1c51b8a7a0177","feebe2fcc5c0fa9fb5f768a1c51b8a7a0177","feebe2fcc5c0fa9fb5f768a1dd3497ae017e7a0177","fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a0177","fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a017749006a").map(EO),yz=BO(bz),_z=new Array(3).concat("edf8b17fcdbb2c7fb8","ffffcca1dab441b6c4225ea8","ffffcca1dab441b6c42c7fb8253494","ffffccc7e9b47fcdbb41b6c42c7fb8253494","ffffccc7e9b47fcdbb41b6c41d91c0225ea80c2c84","ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea80c2c84","ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea8253494081d58").map(EO),xz=BO(_z),wz=new Array(3).concat("f7fcb9addd8e31a354","ffffccc2e69978c679238443","ffffccc2e69978c67931a354006837","ffffccd9f0a3addd8e78c67931a354006837","ffffccd9f0a3addd8e78c67941ab5d238443005a32","ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443005a32","ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443006837004529").map(EO),kz=BO(wz),Cz=new Array(3).concat("fff7bcfec44fd95f0e","ffffd4fed98efe9929cc4c02","ffffd4fed98efe9929d95f0e993404","ffffd4fee391fec44ffe9929d95f0e993404","ffffd4fee391fec44ffe9929ec7014cc4c028c2d04","ffffe5fff7bcfee391fec44ffe9929ec7014cc4c028c2d04","ffffe5fff7bcfee391fec44ffe9929ec7014cc4c02993404662506").map(EO),Az=BO(Cz),Sz=new Array(3).concat("ffeda0feb24cf03b20","ffffb2fecc5cfd8d3ce31a1c","ffffb2fecc5cfd8d3cf03b20bd0026","ffffb2fed976feb24cfd8d3cf03b20bd0026","ffffb2fed976feb24cfd8d3cfc4e2ae31a1cb10026","ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cb10026","ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cbd0026800026").map(EO),Mz=BO(Sz),Ez=new Array(3).concat("deebf79ecae13182bd","eff3ffbdd7e76baed62171b5","eff3ffbdd7e76baed63182bd08519c","eff3ffc6dbef9ecae16baed63182bd08519c","eff3ffc6dbef9ecae16baed64292c62171b5084594","f7fbffdeebf7c6dbef9ecae16baed64292c62171b5084594","f7fbffdeebf7c6dbef9ecae16baed64292c62171b508519c08306b").map(EO),Lz=BO(Ez),Tz=new Array(3).concat("e5f5e0a1d99b31a354","edf8e9bae4b374c476238b45","edf8e9bae4b374c47631a354006d2c","edf8e9c7e9c0a1d99b74c47631a354006d2c","edf8e9c7e9c0a1d99b74c47641ab5d238b45005a32","f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45005a32","f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45006d2c00441b").map(EO),Dz=BO(Tz),Fz=new Array(3).concat("f0f0f0bdbdbd636363","f7f7f7cccccc969696525252","f7f7f7cccccc969696636363252525","f7f7f7d9d9d9bdbdbd969696636363252525","f7f7f7d9d9d9bdbdbd969696737373525252252525","fffffff0f0f0d9d9d9bdbdbd969696737373525252252525","fffffff0f0f0d9d9d9bdbdbd969696737373525252252525000000").map(EO),Oz=BO(Fz),zz=new Array(3).concat("efedf5bcbddc756bb1","f2f0f7cbc9e29e9ac86a51a3","f2f0f7cbc9e29e9ac8756bb154278f","f2f0f7dadaebbcbddc9e9ac8756bb154278f","f2f0f7dadaebbcbddc9e9ac8807dba6a51a34a1486","fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a34a1486","fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a354278f3f007d").map(EO),Rz=BO(zz),Nz=new Array(3).concat("fee0d2fc9272de2d26","fee5d9fcae91fb6a4acb181d","fee5d9fcae91fb6a4ade2d26a50f15","fee5d9fcbba1fc9272fb6a4ade2d26a50f15","fee5d9fcbba1fc9272fb6a4aef3b2ccb181d99000d","fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181d99000d","fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181da50f1567000d").map(EO),Pz=BO(Nz),Iz=new Array(3).concat("fee6cefdae6be6550d","feeddefdbe85fd8d3cd94701","feeddefdbe85fd8d3ce6550da63603","feeddefdd0a2fdae6bfd8d3ce6550da63603","feeddefdd0a2fdae6bfd8d3cf16913d948018c2d04","fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d948018c2d04","fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d94801a636037f2704").map(EO),Bz=BO(Iz);var jz=Ei(ti(300,.5,0),ti(-240,.5,1)),Wz=Ei(ti(-100,.75,.35),ti(80,1.5,.8)),Hz=Ei(ti(260,.75,.35),ti(80,1.5,.8)),qz=ti();var $z=Fr(),Uz=Math.PI/3,Vz=2*Math.PI/3;function Gz(e){var t=e.length;return function(n){return e[Math.max(0,Math.min(t-1,Math.floor(n*t)))]}}var Yz,Zz,Xz=Gz(EO("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725")),Kz=Gz(EO("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf")),Jz=Gz(EO("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4")),Qz=Gz(EO("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921"));function eR(){if(Zz)return Yz;return Zz=1,Yz=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0},Yz}var tR=j(eR());UL();var nR=j(jE());function rR(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 iR,oR=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function aR(e){if(!(t=oR.exec(e)))throw new Error("invalid format: "+e);var t;return new sR({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 sR(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 lR(e,t){var n=rR(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")}aR.prototype=sR.prototype,sR.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 cR={"%":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 lR(100*e,t)},r:lR,s:function(e,t){var n=rR(e,t);if(!n)return e+"";var r=n[0],i=n[1],o=i-(iR=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")+rR(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 uR(e){return e}var dR,fR,hR=Array.prototype.map,pR=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function gR(e){var t,n,r=void 0===e.grouping||void 0===e.thousands?uR:(t=hR.call(e.grouping,Number),n=e.thousands+"",function(e,r){for(var i=e.length,o=[],a=0,s=t[0],l=0;i>0&&s>0&&(l+s+1>r&&(s=Math.max(1,r-l)),o.push(e.substring(i-=s,i+s)),!((l+=s+1)>r));)s=t[a=(a+1)%t.length];return o.reverse().join(n)}),i=void 0===e.currency?"":e.currency[0]+"",o=void 0===e.currency?"":e.currency[1]+"",a=e.decimal+"",s=void 0===e.numerals?uR:function(e){return function(t){return t.replace(/[0-9]/g,(function(t){return e[+t]}))}}(hR.call(e.numerals,String)),l=void 0===e.percent?"%":e.percent+"",c=e.minus+"",u=void 0===e.nan?"NaN":e.nan+"";function d(e){var t=(e=aR(e)).fill,n=e.align,d=e.sign,f=e.symbol,h=e.zero,p=e.width,g=e.comma,m=e.precision,v=e.trim,b=e.type;"n"===b?(g=!0,b="g"):cR[b]||(void 0===m&&(m=12),v=!0,b="g"),(h||"0"===t&&"="===n)&&(h=!0,t="0",n="=");var y="$"===f?i:"#"===f&&/[boxX]/.test(b)?"0"+b.toLowerCase():"",_="$"===f?o:/[%p]/.test(b)?l:"",x=cR[b],w=/[defgprs%]/.test(b);function k(e){var i,o,l,f=y,k=_;if("c"===b)k=x(e)+k,e="";else{var C=(e=+e)<0||1/e<0;if(e=isNaN(e)?u:x(Math.abs(e),m),v&&(e=function(e){e:for(var t,n=e.length,r=1,i=-1;r<n;++r)switch(e[r]){case".":i=t=r;break;case"0":0===i&&(i=r),t=r;break;default:if(!+e[r])break e;i>0&&(i=0)}return i>0?e.slice(0,i)+e.slice(t+1):e}(e)),C&&0==+e&&"+"!==d&&(C=!1),f=(C?"("===d?d:c:"-"===d||"("===d?"":d)+f,k=("s"===b?pR[8+iR/3]:"")+k+(C&&"("===d?")":""),w)for(i=-1,o=e.length;++i<o;)if(48>(l=e.charCodeAt(i))||l>57){k=(46===l?a+e.slice(i+1):e.slice(i))+k,e=e.slice(0,i);break}}g&&!h&&(e=r(e,1/0));var A=f.length+e.length+k.length,S=A<p?new Array(p-A+1).join(t):"";switch(g&&h&&(e=r(S+e,S.length?p-k.length:1/0),S=""),n){case"<":e=f+e+k+S;break;case"=":e=f+S+e+k;break;case"^":e=S.slice(0,A=S.length>>1)+f+e+k+S.slice(A);break;default:e=S+f+e+k}return s(e)}return m=void 0===m?6:/[gprs]/.test(b)?Math.max(1,Math.min(21,m)):Math.max(0,Math.min(20,m)),k.toString=function(){return e+""},k}return{format:d,formatPrefix:function(e,t){var n=d(((e=aR(e)).type="f",e)),r=3*Math.max(-8,Math.min(8,Math.floor(function(e){return(e=rR(Math.abs(e)))?e[1]:NaN}(t)/3))),i=Math.pow(10,-r),o=pR[8+r/3];return function(e){return n(i*e)+o}}}}!function(e){dR=gR(e),fR=dR.format,dR.formatPrefix}({decimal:".",thousands:",",grouping:[3],currency:["$",""],minus:"-"});var mR=new Date,vR=new Date;function bR(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 bR((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 mR.setTime(+t),vR.setTime(+r),e(mR),e(vR),Math.floor(n(mR,vR))},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 yR=6e4,_R=864e5,xR=6048e5;var wR=bR((e=>e.setHours(0,0,0,0)),((e,t)=>e.setDate(e.getDate()+t)),((e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*yR)/_R),(e=>e.getDate()-1));function kR(e){return bR((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())*yR)/xR}))}wR.range;var CR=kR(0),AR=kR(1),SR=kR(2),MR=kR(3),ER=kR(4),LR=kR(5),TR=kR(6);CR.range,AR.range,SR.range,MR.range,ER.range,LR.range,TR.range;var DR=bR((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()}));DR.every=function(e){return isFinite(e=Math.floor(e))&&e>0?bR((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},DR.range;var FR=bR((function(e){e.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCDate(e.getUTCDate()+t)}),(function(e,t){return(t-e)/_R}),(function(e){return e.getUTCDate()-1}));function OR(e){return bR((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)/xR}))}FR.range;var zR=OR(0),RR=OR(1),NR=OR(2),PR=OR(3),IR=OR(4),BR=OR(5),jR=OR(6);zR.range,RR.range,NR.range,PR.range,IR.range,BR.range,jR.range;var WR=bR((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 HR(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 qR(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 $R(e,t,n){return{y:e,m:t,d:n,H:0,M:0,S:0,L:0}}WR.every=function(e){return isFinite(e=Math.floor(e))&&e>0?bR((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},WR.range;var UR,VR,GR,YR,ZR={"-":"",_:" ",0:"0"},XR=/^\s*\d+/,KR=/^%/,JR=/[\\^$*+?|[\]().{}]/g;function QR(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 eN(e){return e.replace(JR,"\\$&")}function tN(e){return new RegExp("^(?:"+e.map(eN).join("|")+")","i")}function nN(e){return new Map(e.map(((e,t)=>[e.toLowerCase(),t])))}function rN(e,t,n){var r=XR.exec(t.slice(n,n+1));return r?(e.w=+r[0],n+r[0].length):-1}function iN(e,t,n){var r=XR.exec(t.slice(n,n+1));return r?(e.u=+r[0],n+r[0].length):-1}function oN(e,t,n){var r=XR.exec(t.slice(n,n+2));return r?(e.U=+r[0],n+r[0].length):-1}function aN(e,t,n){var r=XR.exec(t.slice(n,n+2));return r?(e.V=+r[0],n+r[0].length):-1}function sN(e,t,n){var r=XR.exec(t.slice(n,n+2));return r?(e.W=+r[0],n+r[0].length):-1}function lN(e,t,n){var r=XR.exec(t.slice(n,n+4));return r?(e.y=+r[0],n+r[0].length):-1}function cN(e,t,n){var r=XR.exec(t.slice(n,n+2));return r?(e.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function uN(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 dN(e,t,n){var r=XR.exec(t.slice(n,n+1));return r?(e.q=3*r[0]-3,n+r[0].length):-1}function fN(e,t,n){var r=XR.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function hN(e,t,n){var r=XR.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function pN(e,t,n){var r=XR.exec(t.slice(n,n+3));return r?(e.m=0,e.d=+r[0],n+r[0].length):-1}function gN(e,t,n){var r=XR.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function mN(e,t,n){var r=XR.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function vN(e,t,n){var r=XR.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function bN(e,t,n){var r=XR.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function yN(e,t,n){var r=XR.exec(t.slice(n,n+6));return r?(e.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function _N(e,t,n){var r=KR.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function xN(e,t,n){var r=XR.exec(t.slice(n));return r?(e.Q=+r[0],n+r[0].length):-1}function wN(e,t,n){var r=XR.exec(t.slice(n));return r?(e.s=+r[0],n+r[0].length):-1}function kN(e,t){return QR(e.getDate(),t,2)}function CN(e,t){return QR(e.getHours(),t,2)}function AN(e,t){return QR(e.getHours()%12||12,t,2)}function SN(e,t){return QR(1+wR.count(DR(e),e),t,3)}function MN(e,t){return QR(e.getMilliseconds(),t,3)}function EN(e,t){return MN(e,t)+"000"}function LN(e,t){return QR(e.getMonth()+1,t,2)}function TN(e,t){return QR(e.getMinutes(),t,2)}function DN(e,t){return QR(e.getSeconds(),t,2)}function FN(e){var t=e.getDay();return 0===t?7:t}function ON(e,t){return QR(CR.count(DR(e)-1,e),t,2)}function zN(e){var t=e.getDay();return t>=4||0===t?ER(e):ER.ceil(e)}function RN(e,t){return e=zN(e),QR(ER.count(DR(e),e)+(4===DR(e).getDay()),t,2)}function NN(e){return e.getDay()}function PN(e,t){return QR(AR.count(DR(e)-1,e),t,2)}function IN(e,t){return QR(e.getFullYear()%100,t,2)}function BN(e,t){return QR((e=zN(e)).getFullYear()%100,t,2)}function jN(e,t){return QR(e.getFullYear()%1e4,t,4)}function WN(e,t){var n=e.getDay();return QR((e=n>=4||0===n?ER(e):ER.ceil(e)).getFullYear()%1e4,t,4)}function HN(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+QR(t/60|0,"0",2)+QR(t%60,"0",2)}function qN(e,t){return QR(e.getUTCDate(),t,2)}function $N(e,t){return QR(e.getUTCHours(),t,2)}function UN(e,t){return QR(e.getUTCHours()%12||12,t,2)}function VN(e,t){return QR(1+FR.count(WR(e),e),t,3)}function GN(e,t){return QR(e.getUTCMilliseconds(),t,3)}function YN(e,t){return GN(e,t)+"000"}function ZN(e,t){return QR(e.getUTCMonth()+1,t,2)}function XN(e,t){return QR(e.getUTCMinutes(),t,2)}function KN(e,t){return QR(e.getUTCSeconds(),t,2)}function JN(e){var t=e.getUTCDay();return 0===t?7:t}function QN(e,t){return QR(zR.count(WR(e)-1,e),t,2)}function eP(e){var t=e.getUTCDay();return t>=4||0===t?IR(e):IR.ceil(e)}function tP(e,t){return e=eP(e),QR(IR.count(WR(e),e)+(4===WR(e).getUTCDay()),t,2)}function nP(e){return e.getUTCDay()}function rP(e,t){return QR(RR.count(WR(e)-1,e),t,2)}function iP(e,t){return QR(e.getUTCFullYear()%100,t,2)}function oP(e,t){return QR((e=eP(e)).getUTCFullYear()%100,t,2)}function aP(e,t){return QR(e.getUTCFullYear()%1e4,t,4)}function sP(e,t){var n=e.getUTCDay();return QR((e=n>=4||0===n?IR(e):IR.ceil(e)).getUTCFullYear()%1e4,t,4)}function lP(){return"+0000"}function cP(){return"%"}function uP(e){return+e}function dP(e){return Math.floor(+e/1e3)}!function(e){UR=function(e){var t=e.dateTime,n=e.date,r=e.time,i=e.periods,o=e.days,a=e.shortDays,s=e.months,l=e.shortMonths,c=tN(i),u=nN(i),d=tN(o),f=nN(o),h=tN(a),p=nN(a),g=tN(s),m=nN(s),v=tN(l),b=nN(l),y={a:function(e){return a[e.getDay()]},A:function(e){return o[e.getDay()]},b:function(e){return l[e.getMonth()]},B:function(e){return s[e.getMonth()]},c:null,d:kN,e:kN,f:EN,g:BN,G:WN,H:CN,I:AN,j:SN,L:MN,m:LN,M:TN,p:function(e){return i[+(e.getHours()>=12)]},q:function(e){return 1+~~(e.getMonth()/3)},Q:uP,s:dP,S:DN,u:FN,U:ON,V:RN,w:NN,W:PN,x:null,X:null,y:IN,Y:jN,Z:HN,"%":cP},_={a:function(e){return a[e.getUTCDay()]},A:function(e){return o[e.getUTCDay()]},b:function(e){return l[e.getUTCMonth()]},B:function(e){return s[e.getUTCMonth()]},c:null,d:qN,e:qN,f:YN,g:oP,G:sP,H:$N,I:UN,j:VN,L:GN,m:ZN,M:XN,p:function(e){return i[+(e.getUTCHours()>=12)]},q:function(e){return 1+~~(e.getUTCMonth()/3)},Q:uP,s:dP,S:KN,u:JN,U:QN,V:tP,w:nP,W:rP,x:null,X:null,y:iP,Y:aP,Z:lP,"%":cP},x={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=d.exec(t.slice(n));return r?(e.w=f.get(r[0].toLowerCase()),n+r[0].length):-1},b:function(e,t,n){var r=v.exec(t.slice(n));return r?(e.m=b.get(r[0].toLowerCase()),n+r[0].length):-1},B:function(e,t,n){var r=g.exec(t.slice(n));return r?(e.m=m.get(r[0].toLowerCase()),n+r[0].length):-1},c:function(e,n,r){return C(e,t,n,r)},d:hN,e:hN,f:yN,g:cN,G:lN,H:gN,I:gN,j:pN,L:bN,m:fN,M:mN,p:function(e,t,n){var r=c.exec(t.slice(n));return r?(e.p=u.get(r[0].toLowerCase()),n+r[0].length):-1},q:dN,Q:xN,s:wN,S:vN,u:iN,U:oN,V:aN,w:rN,W:sN,x:function(e,t,r){return C(e,n,t,r)},X:function(e,t,n){return C(e,r,t,n)},y:cN,Y:lN,Z:uN,"%":_N};function w(e,t){return function(n){var r,i,o,a=[],s=-1,l=0,c=e.length;for(n instanceof Date||(n=new Date(+n));++s<c;)37===e.charCodeAt(s)&&(a.push(e.slice(l,s)),null!=(i=ZR[r=e.charAt(++s)])?r=e.charAt(++s):i="e"===r?" ":"0",(o=t[r])&&(r=o(n,i)),a.push(r),l=s+1);return a.push(e.slice(l,s)),a.join("")}}function k(e,t){return function(n){var r,i,o=$R(1900,void 0,1);if(C(o,e,n+="",0)!=n.length)return null;if("Q"in o)return new Date(o.Q);if("s"in o)return new Date(1e3*o.s+("L"in o?o.L:0));if(t&&!("Z"in o)&&(o.Z=0),"p"in o&&(o.H=o.H%12+12*o.p),void 0===o.m&&(o.m="q"in o?o.q:0),"V"in o){if(o.V<1||o.V>53)return null;"w"in o||(o.w=1),"Z"in o?(i=(r=qR($R(o.y,0,1))).getUTCDay(),r=i>4||0===i?RR.ceil(r):RR(r),r=FR.offset(r,7*(o.V-1)),o.y=r.getUTCFullYear(),o.m=r.getUTCMonth(),o.d=r.getUTCDate()+(o.w+6)%7):(i=(r=HR($R(o.y,0,1))).getDay(),r=i>4||0===i?AR.ceil(r):AR(r),r=wR.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?qR($R(o.y,0,1)).getUTCDay():HR($R(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,qR(o)):HR(o)}}function C(e,t,n,r){for(var i,o,a=0,s=t.length,l=n.length;a<s;){if(r>=l)return-1;if(37===(i=t.charCodeAt(a++))){if(i=t.charAt(a++),!(o=x[i in ZR?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=w(n,y),y.X=w(r,y),y.c=w(t,y),_.x=w(n,_),_.X=w(r,_),_.c=w(t,_),{format:function(e){var t=w(e+="",y);return t.toString=function(){return e},t},parse:function(e){var t=k(e+="",!1);return t.toString=function(){return e},t},utcFormat:function(e){var t=w(e+="",_);return t.toString=function(){return e},t},utcParse:function(e){var t=k(e+="",!0);return t.toString=function(){return e},t}}}(e),VR=UR.format,GR=UR.parse,UR.utcFormat,YR=UR.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 fP,hP,pP,gP,mP,vP,bP,yP,_P,xP,wP,kP,CP,AP,SP,MP,EP,LP,TP,DP,FP,OP,zP=j(aT());function RP(){if(yP)return bP;yP=1;var e=(gP||(gP=1,pP=function(e,t){return null!=e&&t in Object(e)}),pP),t=function(){if(vP)return mP;vP=1;var e=KD(),t=$L(),n=UL(),r=cD(),i=VL(),o=JD();return mP=function(a,s,l){for(var c=-1,u=(s=e(s,a)).length,d=!1;++c<u;){var f=o(s[c]);if(!(d=null!=a&&l(a,f)))break;a=a[f]}return d||++c!=u?d:!!(u=null==a?0:a.length)&&i(u)&&r(f,u)&&(n(a)||t(a))},mP}();return bP=function(n,r){return null!=n&&t(n,r,e)},bP}function NP(){if(xP)return _P;xP=1;var e=function(){if(hP)return fP;hP=1;var e=QD(),t=aF(),n=KD();return fP=function(r,i,o){for(var a=-1,s=i.length,l={};++a<s;){var c=i[a],u=e(r,c);o(u,c)&&t(l,n(c,r),u)}return l},fP}(),t=RP();return _P=function(n,r){return e(n,r,(function(e,r){return t(n,r)}))},_P}function PP(){if(kP)return wP;return kP=1,wP=function(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e},wP}function IP(){if(MP)return SP;MP=1;var e=PP(),t=function(){if(AP)return CP;AP=1;var e=PE(),t=$L(),n=UL(),r=e?e.isConcatSpreadable:void 0;return CP=function(e){return n(e)||t(e)||!!(r&&e&&e[r])}}();return SP=function n(r,i,o,a,s){var l=-1,c=r.length;for(o||(o=t),s||(s=[]);++l<c;){var u=r[l];i>0&&o(u)?i>1?n(u,i-1,o,a,s):e(s,u):a||(s[s.length]=u)}return s},SP}function BP(){if(DP)return TP;DP=1;var e=function(){if(LP)return EP;LP=1;var e=IP();return EP=function(t){return null!=t&&t.length?e(t,1):[]},EP}(),t=gD(),n=vD();return TP=function(r){return n(t(r,void 0,e),r+"")}}var jP,WP,HP,qP,$P,UP,VP,GP,YP,ZP,XP,KP,JP,QP,eI,tI,nI,rI,iI,oI,aI,sI,lI,cI,uI,dI,fI,hI,pI,gI,mI,vI,bI,yI,_I,xI,wI,kI,CI,AI,SI,MI,EI,LI,TI=function(){if(OP)return FP;OP=1;var e=NP(),t=BP()((function(t,n){return null==t?{}:e(t,n)}));return FP=t}(),DI=j(TI);function FI(){if(qP)return HP;qP=1;var e=xO(),t=(WP||(WP=1,jP=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}),jP),n=AO();return HP=function(r,i,o,a,s,l){var c=1&o,u=r.length,d=i.length;if(u!=d&&!(c&&d>u))return!1;var f=l.get(r),h=l.get(i);if(f&&h)return f==i&&h==r;var p=-1,g=!0,m=2&o?new e:void 0;for(l.set(r,i),l.set(i,r);++p<u;){var v=r[p],b=i[p];if(a)var y=c?a(b,v,p,i,r,l):a(v,b,p,r,i,l);if(void 0!==y){if(y)continue;g=!1;break}if(m){if(!t(i,(function(e,t){if(!n(m,t)&&(v===e||s(v,e,o,a,l)))return m.push(t)}))){g=!1;break}}else if(v!==b&&!s(v,b,o,a,l)){g=!1;break}}return l.delete(r),l.delete(i),g},HP}function OI(){if(GP)return VP;return GP=1,VP=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n},VP}function zI(){if(ZP)return YP;ZP=1;var e=PE(),t=RL(),n=FE(),r=FI(),i=(UP||(UP=1,$P=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}),$P),o=OI(),a=e?e.prototype:void 0,s=a?a.valueOf:void 0;return YP=function(e,a,l,c,u,d,f){switch(l){case"[object DataView]":if(e.byteLength!=a.byteLength||e.byteOffset!=a.byteOffset)return!1;e=e.buffer,a=a.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=a.byteLength||!d(new t(e),new t(a)));case"[object Boolean]":case"[object Date]":case"[object Number]":return n(+e,+a);case"[object Error]":return e.name==a.name&&e.message==a.message;case"[object RegExp]":case"[object String]":return e==a+"";case"[object Map]":var h=i;case"[object Set]":var p=1&c;if(h||(h=o),e.size!=a.size&&!p)return!1;var g=f.get(e);if(g)return g==a;c|=2,f.set(e,a);var m=r(h(e),h(a),c,u,d,f);return f.delete(e),m;case"[object Symbol]":if(s)return s.call(e)==s.call(a)}return!1},YP}function RI(){if(KP)return XP;KP=1;var e=PP(),t=UL();return XP=function(n,r,i){var o=r(n);return t(n)?o:e(o,i(n))},XP}function NI(){if(QP)return JP;return QP=1,JP=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},JP}function PI(){if(tI)return eI;return tI=1,eI=function(){return[]}}function II(){if(rI)return nI;rI=1;var e=NI(),t=PI(),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 nI=i}function BI(){if(sI)return aI;sI=1;var e=WL(),t=function(){if(oI)return iI;oI=1;var e=BL()(Object.keys,Object);return iI=e}(),n=Object.prototype.hasOwnProperty;return aI=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},aI}function jI(){if(cI)return lI;cI=1;var e=uD(),t=BI(),n=GL();return lI=function(r){return n(r)?e(r):t(r)},lI}function WI(){if(dI)return uI;dI=1;var e=RI(),t=II(),n=jI();return uI=function(r){return e(r,n,t)},uI}function HI(){if(yI)return bI;yI=1;var e=qE()(NE(),"Set");return bI=e}function qI(){if(kI)return wI;kI=1;var e=function(){if(gI)return pI;gI=1;var e=qE()(NE(),"DataView");return pI=e}(),t=$E(),n=function(){if(vI)return mI;vI=1;var e=qE()(NE(),"Promise");return mI=e}(),r=HI(),i=function(){if(xI)return _I;xI=1;var e=qE()(NE(),"WeakMap");return _I=e}(),o=IE(),a=HE(),s="[object Map]",l="[object Promise]",c="[object Set]",u="[object WeakMap]",d="[object DataView]",f=a(e),h=a(t),p=a(n),g=a(r),m=a(i),v=o;return(e&&v(new e(new ArrayBuffer(1)))!=d||t&&v(new t)!=s||n&&v(n.resolve())!=l||r&&v(new r)!=c||i&&v(new i)!=u)&&(v=function(e){var t=o(e),n="[object Object]"==t?e.constructor:void 0,r=n?a(n):"";if(r)switch(r){case f:return d;case h:return s;case p:return l;case g:return c;case m:return u}return t}),wI=v}function $I(){if(AI)return CI;AI=1;var e=ZE(),t=FI(),n=zI(),r=function(){if(hI)return fI;hI=1;var e=WI(),t=Object.prototype.hasOwnProperty;return fI=function(n,r,i,o,a,s){var l=1&i,c=e(n),u=c.length;if(u!=e(r).length&&!l)return!1;for(var d=u;d--;){var f=c[d];if(!(l?f in r:t.call(r,f)))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=l;++d<u;){var v=n[f=c[d]],b=r[f];if(o)var y=l?o(b,v,f,r,n,s):o(v,b,f,n,r,s);if(!(void 0===y?v===b||a(v,b,i,o,s):y)){g=!1;break}m||(m="constructor"==f)}if(g&&!m){var _=n.constructor,x=r.constructor;_==x||!("constructor"in n)||!("constructor"in r)||"function"==typeof _&&_ instanceof _&&"function"==typeof x&&x instanceof x||(g=!1)}return s.delete(n),s.delete(r),g},fI}(),i=qI(),o=UL(),a=oT(),s=oD(),l="[object Arguments]",c="[object Array]",u="[object Object]",d=Object.prototype.hasOwnProperty;return CI=function(f,h,p,g,m,v){var b=o(f),y=o(h),_=b?c:i(f),x=y?c:i(h),w=(_=_==l?u:_)==u,k=(x=x==l?u:x)==u,C=_==x;if(C&&a(f)){if(!a(h))return!1;b=!0,w=!1}if(C&&!w)return v||(v=new e),b||s(f)?t(f,h,p,g,m,v):n(f,h,_,p,g,m,v);if(!(1&p)){var A=w&&d.call(f,"__wrapped__"),S=k&&d.call(h,"__wrapped__");if(A||S){var M=A?f.value():f,E=S?h.value():h;return v||(v=new e),m(M,E,p,g,v)}}return!!C&&(v||(v=new e),r(f,h,p,g,m,v))},CI}function UI(){if(MI)return SI;MI=1;var e=$I(),t=qL();return SI=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))},SI}var VI=j(function(){if(LI)return EI;LI=1;var e=UI();return EI=function(t,n){return e(t,n)}}()),GI=L(),YI=!0,ZI="default",XI=function(e){var t=e.children,n=e.animate,r=void 0===n||n,i=e.config,o=void 0===i?"default":i,a=M((function(){var e=BF(o)?LA[o]:o;return{animate:r,config:e}}),[r,o]);return An(GI.Provider,{value:a,children:t})},KI=function(){return E(GI)},JI=function(e){var t=e.children,n=e.condition,r=e.wrapper;return n?O(r,{},t):t},QI={position:"relative"},eB=function(e){var t=e.children,n=e.theme,r=e.renderWrapper,i=void 0===r||r,o=e.isInteractive,a=void 0===o||o,s=e.animate,l=e.motionConfig,c=C(null);return An(bF,{theme:n,children:An(XI,{animate:s,config:l,children:An(IF,{container:c,children:An(JI,{condition:i,wrapper:An("div",{style:QI,ref:c}),children:[t,a&&An(PF,{})]})})})})},tB=function(e,t){return e.width===t.width&&e.height===t.height},nB=function(e){var t=e.children,n=e.width,i=e.height,o=e.onResize,a=XF({width:n,height:i},e.debounceResize,{equalityFn:tB})[0];return w((function(){null==o||o(a)}),[a,o]),An(r,{children:t(a)})},rB=function(e){var t=e.children,n=e.defaultWidth,r=e.defaultHeight,i=e.onResize,o=e.debounceResize,a=void 0===o?0:o;return An(YF,{defaultWidth:n,defaultHeight:r,children:function(e){var n=e.width,r=e.height;return An(nB,{width:n,height:r,onResize:i,debounceResize:a,children:t})}})};function iB(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function oB(){return oB=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},oB.apply(null,arguments)}function aB(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}var sB=["id","colors"],lB={linearGradient:function(e){var t=e.id,n=e.colors;return An("linearGradient",oB({id:t,x1:0,x2:0,y1:0,y2:1},aB(e,sB),{children:n.map((function(e){var t=e.offset,n=e.color,r=e.opacity;return An("stop",{offset:t+"%",stopColor:n,stopOpacity:void 0!==r?r:1},t)}))}))}},cB="#000000",uB="#ffffff",dB=4,fB=4,hB=!1,pB=T((function(e){var t=e.id,n=e.background,r=void 0===n?uB:n,i=e.color,o=void 0===i?cB:i,a=e.size,s=void 0===a?dB:a,l=e.padding,c=void 0===l?fB:l,u=e.stagger,d=void 0===u?hB:u,f=s+c,h=s/2,p=c/2;return!0===d&&(f=2*s+2*c),An("pattern",{id:t,width:f,height:f,patternUnits:"userSpaceOnUse",children:[An("rect",{width:f,height:f,fill:r}),An("circle",{cx:p+h,cy:p+h,r:h,fill:o}),d&&An("circle",{cx:1.5*c+s+h,cy:1.5*c+s+h,r:h,fill:o})]})})),gB=function(e){return e*Math.PI/180},mB=function(e){return 180*e/Math.PI},vB=function(e,t){return{x:Math.cos(e)*t,y:Math.sin(e)*t}},bB={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"}}},yB=5,_B=0,xB="#000000",wB="#ffffff",kB=2,CB=T((function(e){var t=e.id,n=e.spacing,r=void 0===n?yB:n,i=e.rotation,o=void 0===i?_B:i,a=e.background,s=void 0===a?xB:a,l=e.color,c=void 0===l?wB:l,u=e.lineWidth,d=void 0===u?kB:u,f=Math.round(o)%360,h=Math.abs(r);f>180?f-=360:f>90?f-=180:f<-180?f+=360:f<-90&&(f+=180);var p,g=h,m=h;return 0===f?p="\n M 0 0 L "+g+" 0\n M 0 "+m+" L "+g+" "+m+"\n ":90===f?p="\n M 0 0 L 0 "+m+"\n M "+g+" 0 L "+g+" "+m+"\n ":(g=Math.abs(h/Math.sin(gB(f))),m=h/Math.sin(gB(90-f)),p=f>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 "),An("pattern",{id:t,width:g,height:m,patternUnits:"userSpaceOnUse",children:[An("rect",{width:g,height:m,fill:s,stroke:"rgba(255, 0, 0, 0.1)",strokeWidth:0}),An("path",{d:p,strokeWidth:d,stroke:c,strokeLinecap:"square"})]})})),AB="#000000",SB="#ffffff",MB=4,EB=4,LB=!1,TB=T((function(e){var t=e.id,n=e.color,r=void 0===n?AB:n,i=e.background,o=void 0===i?SB:i,a=e.size,s=void 0===a?MB:a,l=e.padding,c=void 0===l?EB:l,u=e.stagger,d=void 0===u?LB:u,f=s+c,h=c/2;return!0===d&&(f=2*s+2*c),An("pattern",{id:t,width:f,height:f,patternUnits:"userSpaceOnUse",children:[An("rect",{width:f,height:f,fill:o}),An("rect",{x:h,y:h,width:s,height:s,fill:r}),d&&An("rect",{x:1.5*c+s,y:1.5*c+s,width:s,height:s,fill:r})]})})),DB={patternDots:pB,patternLines:CB,patternSquares:TB},FB=["type"],OB=oB({},lB,DB),zB=T((function(e){var t=e.defs;return!t||t.length<1?null:An("defs",{"aria-hidden":!0,children:t.map((function(e){var t=e.type,n=aB(e,FB);return OB[t]?F(OB[t],oB({key:n.id},n)):null}))})})),RB=A((function(e,t){var n=e.width,r=e.height,i=e.margin,o=e.defs,a=e.children,s=e.role,l=e.ariaLabel,c=e.ariaLabelledBy,u=e.ariaDescribedBy,d=e.isFocusable,f=yF();return An("svg",{xmlns:"http://www.w3.org/2000/svg",width:n,height:r,role:s,"aria-label":l,"aria-labelledby":c,"aria-describedby":u,focusable:d,tabIndex:d?0:void 0,ref:t,children:[An(zB,{defs:o}),An("rect",{width:n,height:r,fill:f.background}),An("g",{transform:"translate("+i.left+","+i.top+")",children:a})]})})),NB=T((function(e){var t=e.size,n=e.color,r=e.borderWidth;return An("circle",{r:t/2,fill:n,stroke:e.borderColor,strokeWidth:r,style:{pointerEvents:"none"}})})),PB=T((function(e){var t=e.x,n=e.y,r=e.symbol,i=void 0===r?NB:r,o=e.size,a=e.datum,s=e.color,l=e.borderWidth,c=e.borderColor,u=e.label,d=e.labelTextAnchor,f=void 0===d?"middle":d,h=e.labelYOffset,p=void 0===h?-12:h,g=e.ariaLabel,m=e.ariaLabelledBy,v=e.ariaDescribedBy,b=e.ariaHidden,y=e.ariaDisabled,_=e.isFocusable,x=void 0!==_&&_,w=e.tabIndex,k=void 0===w?0:w,C=e.onFocus,A=e.onBlur,M=e.testId,E=yF(),L=KI(),T=L.animate,D=_S({transform:"translate("+t+", "+n+")",config:L.config,immediate:!T}),O=S((function(e){null==C||C(a,e)}),[C,a]),z=S((function(e){null==A||A(a,e)}),[A,a]);return An(DE.g,{transform:D.transform,style:{pointerEvents:"none"},focusable:x,tabIndex:x?k:void 0,"aria-label":g,"aria-labelledby":m,"aria-describedby":v,"aria-disabled":y,"aria-hidden":b,onFocus:x&&C?O:void 0,onBlur:x&&A?z:void 0,"data-testid":M,children:[F(i,{size:o,color:s,datum:a,borderWidth:l,borderColor:c}),u&&An("text",{textAnchor:f,y:p,style:dF(E.dots.text),children:u})]})})),IB=T((function(e){var t=e.width,n=e.height,r=e.axis,i=e.scale,o=e.value,a=e.lineStyle,s=e.textStyle,l=e.legend,c=e.legendNode,u=e.legendPosition,d=void 0===u?"top-right":u,f=e.legendOffsetX,h=void 0===f?14:f,p=e.legendOffsetY,g=void 0===p?14:p,m=e.legendOrientation,v=void 0===m?"horizontal":m,b=yF(),y=0,_=0,x=0,w=0;if("y"===r?(x=i(o),_=t):(y=i(o),w=n),l&&!c){var k=function(e){var t=e.width,n=e.height,r=e.position,i=e.offsetX,o=e.offsetY,a=e.orientation,s=0,l=0,c="vertical"===a?-90:0,u="start";if("x"===e.axis)switch(r){case"top-left":s=-i,l=o,u="end";break;case"top":l=-o,u="horizontal"===a?"middle":"start";break;case"top-right":s=i,l=o,u="horizontal"===a?"start":"end";break;case"right":s=i,l=n/2,u="horizontal"===a?"start":"middle";break;case"bottom-right":s=i,l=n-o,u="start";break;case"bottom":l=n+o,u="horizontal"===a?"middle":"end";break;case"bottom-left":l=n-o,s=-i,u="horizontal"===a?"end":"start";break;case"left":s=-i,l=n/2,u="horizontal"===a?"end":"middle"}else switch(r){case"top-left":s=i,l=-o,u="start";break;case"top":s=t/2,l=-o,u="horizontal"===a?"middle":"start";break;case"top-right":s=t-i,l=-o,u="horizontal"===a?"end":"start";break;case"right":s=t+i,u="horizontal"===a?"start":"middle";break;case"bottom-right":s=t-i,l=o,u="end";break;case"bottom":s=t/2,l=o,u="horizontal"===a?"middle":"end";break;case"bottom-left":s=i,l=o,u="horizontal"===a?"start":"end";break;case"left":s=-i,u="horizontal"===a?"end":"middle"}return{x:s,y:l,rotation:c,textAnchor:u}}({axis:r,width:t,height:n,position:d,offsetX:h,offsetY:g,orientation:v});c=An("text",{transform:"translate("+k.x+", "+k.y+") rotate("+k.rotation+")",textAnchor:k.textAnchor,dominantBaseline:"central",style:s,children:l})}return An("g",{transform:"translate("+y+", "+x+")",children:[An("line",{x1:0,x2:_,y1:0,y2:w,stroke:b.markers.lineColor,strokeWidth:b.markers.lineStrokeWidth,style:a}),c]})})),BB=T((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 An(IB,oB({},e,{width:n,height:r,scale:"y"===e.axis?o:i}),t)})):null})),jB=function(e){var t=KI(),n=t.animate,r=t.config,i=function(e){var t=C();return w((function(){t.current=e}),[e]),t.current}(e),o=M((function(){return vi(i,e)}),[i,e]),a=_S({from:{value:0},to:{value:1},reset:!0,config:r,immediate:!n}).value;return MS(a,o)};L(void 0);var WB={basis:Yl,basisClosed:function(e){return new Zl(e)},basisOpen:function(e){return new Xl(e)},bundle:Jl,cardinal:tc,cardinalClosed:rc,cardinalOpen:oc,catmullRom:lc,catmullRomClosed:uc,catmullRomOpen:fc,linear:Pl,linearClosed:function(e){return new hc(e)},monotoneX:function(e){return new bc(e)},monotoneY:function(e){return new yc(e)},natural:function(e){return new xc(e)},step:function(e){return new kc(e,.5)},stepAfter:function(e){return new kc(e,1)},stepBefore:function(e){return new kc(e,0)}},HB=Object.keys(WB);HB.filter((function(e){return e.endsWith("Closed")})),MO(HB,"bundle","basisClosed","basisOpen","cardinalClosed","cardinalOpen","catmullRomClosed","catmullRomOpen","linearClosed"),MO(HB,"bundle","basisClosed","basisOpen","cardinalClosed","cardinalOpen","catmullRomClosed","catmullRomOpen","linearClosed");var qB=function(e){if(!WB[e])throw new TypeError("'"+e+"', is not a valid curve interpolator identifier.");return WB[e]};tR(jO),tR(HO),tR($O),tR(VO),tR(YO),tR(XO),tR(JO),tR(ez),tR(nz),tR(Ez),tR(Tz),tR(Fz),tR(Iz),tR(zz),tR(Nz),tR(iz),tR(az),tR(lz),tR(uz),tR(fz),tR(pz),tR(mz),tR(bz),tR(_z),tR(wz),tR(Cz),tR(Sz),tR(jO),tR(HO),tR($O),tR(VO),tR(YO),tR(XO),tR(JO),tR(ez),tR(nz),tR(Ez),tR(Tz),tR(Fz),tR(Iz),tR(zz),tR(Nz),tR(iz),tR(az),tR(lz),tR(uz),tR(fz),tR(pz),tR(mz),tR(bz),tR(_z),tR(wz),tR(Cz),tR(Sz),Zi(PO);var $B={top:0,right:0,bottom:0,left:0},UB=function(e,t,n){return void 0===n&&(n={}),M((function(){var r=oB({},$B,n);return{margin:r,innerWidth:e-r.left-r.right,innerHeight:t-r.top-r.bottom,outerWidth:e,outerHeight:t}}),[e,t,n])},VB=function(){var e=C(null),t=x({left:0,top:0,width:0,height:0}),n=t[0],r=t[1],i=x((function(){return"undefined"==typeof ResizeObserver?null:new ResizeObserver((function(e){var t=e[0];return r(t.contentRect)}))}))[0];return w((function(){return e.current&&null!==i&&i.observe(e.current),function(){null!==i&&i.disconnect()}}),[i]),[e,n]},GB=function(e){return"function"==typeof e?e:"string"==typeof e?0===e.indexOf("time:")?VR(e.slice("5")):fR(e):function(e){return""+e}},YB=function(e){return M((function(){return GB(e)}),[e])},ZB=function(e){return nR(e)?e:function(t){return oF(t,e)}},XB=function(e){return M((function(){return ZB(e)}),[e])},KB=function(e,t,n,r){return Math.sqrt(Math.pow(n-e,2)+Math.pow(r-t,2))},JB=function(e,t,n,r,i,o){return e<=i&&i<=e+n&&t<=o&&o<=t+r},QB=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]},ej=Object.keys(lB),tj=Object.keys(DB),nj=function(e,t,n,r){var i=void 0===r?{}:r,o=i.dataKey,a=i.colorKey,s=void 0===a?"color":a,l=i.targetKey,c=void 0===l?"fill":l,u=[],d={};return e.length&&t.length&&(u=[].concat(e),t.forEach((function(t){for(var r,i=function(){var n=r.value,i=n.id;if(function(e,t,n){if("*"===e)return!0;if(nR(e))return e(t);if(zP(e)){var r=n?oF(t,n):t;return VI(DI(r,Object.keys(e)),e)}return!1}(n.match,t,o)){var a=e.find((function(e){return e.id===i}));if(a)if(tj.includes(a.type))if("inherit"===a.background||"inherit"===a.color){var l=oF(t,s),f=a.background,h=a.color,p=i;"inherit"===a.background&&(p=p+".bg."+l,f=l),"inherit"===a.color&&(p=p+".fg."+l,h=l),lF(t,c,"url(#"+p+")"),d[p]||(u.push(oB({},a,{id:p,background:f,color:h})),d[p]=1)}else lF(t,c,"url(#"+i+")");else if(ej.includes(a.type))if(a.colors.map((function(e){return e.color})).includes("inherit")){var g=oF(t,s),m=i,v=oB({},a,{colors:a.colors.map((function(e,t){return"inherit"!==e.color?e:(m=m+"."+t+"."+g,oB({},e,{color:"inherit"===e.color?g:e.color}))}))});v.id=m,lF(t,c,"url(#"+m+")"),d[m]||(u.push(v),d[m]=1)}else lF(t,c,"url(#"+i+")");return 1}},a=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return iB(e,t);var n={}.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)?iB(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.")}(n);!(r=a()).done&&!i(););}))),u};function rj(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){for(var n=0,r=t;n<r.length;n++){var i=r[n];"function"==typeof i?i(e):null!=i&&(i.current=e)}}}var ij=function(e,t){e.font=(t.fontWeight?t.fontWeight+" ":"")+t.fontSize+"px "+t.fontFamily},oj=function(e,t,n,r,i){void 0===r&&(r=0),void 0===i&&(i=0),t.outlineWidth>0&&(e.strokeStyle=t.outlineColor,e.lineWidth=2*t.outlineWidth,e.lineJoin="round",e.strokeText(n,r,i)),e.fillStyle=t.fill,e.fillText(n,r,i)};function aj(){return aj=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},aj.apply(null,arguments)}function sj(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}var lj,cj,uj,dj,fj,hj,pj,gj,mj=["style","children"],vj=["outlineWidth","outlineColor","outlineOpacity"],bj=function(e){var t=e.style,n=e.children,i=sj(e,mj),o=t.outlineWidth,a=t.outlineColor,s=t.outlineOpacity,l=sj(t,vj);return An(r,{children:[o>0&&An(DE.text,aj({},i,{style:aj({},l,{strokeWidth:2*o,stroke:a,strokeOpacity:s,strokeLinejoin:"round"}),children:n})),An(DE.text,aj({},i,{style:l,children:n}))]})};function yj(){if(dj)return uj;dj=1;var e=HI(),t=cj?lj:(cj=1,lj=function(){}),n=OI(),r=e&&1/n(new e([,-0]))[1]==1/0?function(t){return new e(t)}:t;return uj=r}function _j(){if(hj)return fj;hj=1;var e=xO(),t=kO(),n=CO(),r=AO(),i=yj(),o=OI();return fj=function(a,s,l){var c=-1,u=t,d=a.length,f=!0,h=[],p=h;if(l)f=!1,u=n;else if(d>=200){var g=s?null:i(a);if(g)return o(g);f=!1,u=r,p=new e}else p=s?[]:h;e:for(;++c<d;){var m=a[c],v=s?s(m):m;if(m=l||0!==m?m:0,f&&v==v){for(var b=p.length;b--;)if(p[b]===v)continue e;s&&p.push(v),h.push(m)}else u(p,v,l)||(p!==h&&p.push(v),h.push(m))}return h},fj}var xj,wj,kj,Cj,Aj,Sj,Mj,Ej,Lj,Tj,Dj,Fj,Oj,zj,Rj,Nj,Pj,Ij,Bj,jj,Wj,Hj,qj=function(){if(gj)return pj;gj=1;var e=_j();return pj=function(t){return t&&t.length?e(t):[]},pj}(),$j=j(qj);function Uj(){if(Cj)return kj;Cj=1;var e=BE();return kj=function(t){return t==t&&!e(t)}}function Vj(){if(Ej)return Mj;return Ej=1,Mj=function(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}},Mj}function Gj(){if(Tj)return Lj;Tj=1;var e=function(){if(wj)return xj;wj=1;var e=ZE(),t=UI();return xj=function(n,r,i,o){var a=i.length,s=a,l=!o;if(null==n)return!s;for(n=Object(n);a--;){var c=i[a];if(l&&c[2]?c[1]!==n[c[0]]:!(c[0]in n))return!1}for(;++a<s;){var u=(c=i[a])[0],d=n[u],f=c[1];if(l&&c[2]){if(void 0===d&&!(u in n))return!1}else{var h=new e;if(o)var p=o(d,f,u,n,r,h);if(!(void 0===p?t(f,d,3,o,h):p))return!1}}return!0},xj}(),t=function(){if(Sj)return Aj;Sj=1;var e=Uj(),t=jI();return Aj=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},Aj}(),n=Vj();return Lj=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)}},Lj}function Yj(){if(Ij)return Pj;Ij=1;var e=(zj||(zj=1,Oj=function(e){return function(t){return null==t?void 0:t[e]}}),Oj),t=function(){if(Nj)return Rj;Nj=1;var e=QD();return Rj=function(t){return function(n){return e(n,t)}},Rj}(),n=GD(),r=JD();return Pj=function(i){return n(i)?e(r(i)):t(i)}}function Zj(){if(jj)return Bj;jj=1;var e=Gj(),t=function(){if(Fj)return Dj;Fj=1;var e=UI(),t=eF(),n=RP(),r=GD(),i=Uj(),o=Vj(),a=JD();return Dj=function(s,l){return r(s)&&i(l)?o(a(s),l):function(r){var i=t(r,s);return void 0===i&&i===l?n(r,s):e(l,i,3)}},Dj}(),n=pD(),r=UL(),i=Yj();return Bj=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 Xj,Kj,Jj,Qj,eW,tW,nW,rW,iW,oW,aW,sW,lW,cW,uW,dW,fW,hW,pW=function(){if(Hj)return Wj;Hj=1;var e=Zj(),t=_j();return Wj=function(n,r){return n&&n.length?t(n,e(r,2)):[]},Wj}(),gW=j(pW);function mW(){if(tW)return eW;tW=1;var e=function(){if(Kj)return Xj;Kj=1;var e=QE(),t=jI();return Xj=function(n,r){return n&&e(n,r,t)},Xj}(),t=function(){if(Qj)return Jj;Qj=1;var e=GL();return Jj=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}},Jj}(),n=t(e);return eW=n}function vW(){if(cW)return lW;cW=1;var e=function(){if(sW)return aW;sW=1;var e=VD();return aW=function(t,n){if(t!==n){var r=void 0!==t,i=null===t,o=t==t,a=e(t),s=void 0!==n,l=null===n,c=n==n,u=e(n);if(!l&&!u&&!a&&t>n||a&&s&&c&&!l&&!u||i&&s&&c||!r&&c||!o)return 1;if(!i&&!a&&!u&&t<n||u&&r&&o&&!i&&!a||l&&r&&o||!s&&o||!c)return-1}return 0}}();return lW=function(t,n,r){for(var i=-1,o=t.criteria,a=n.criteria,s=o.length,l=r.length;++i<s;){var c=e(o[i],a[i]);if(c)return i>=l?c:c*("desc"==r[i]?-1:1)}return t.index-n.index},lW}function bW(){if(dW)return uW;dW=1;var e=ZD(),t=QD(),n=Zj(),r=function(){if(rW)return nW;rW=1;var e=mW(),t=GL();return nW=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},nW}(),i=(oW||(oW=1,iW=function(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}),iW),o=sT(),a=vW(),s=pD(),l=UL();return uW=function(c,u,d){u=u.length?e(u,(function(e){return l(e)?function(n){return t(n,1===e.length?e[0]:e)}:e})):[s];var f=-1;u=e(u,o(n));var h=r(c,(function(t,n,r){return{criteria:e(u,(function(e){return e(t)})),index:++f,value:t}}));return i(h,(function(e,t){return a(e,t,d)}))},uW}var yW,_W,xW,wW,kW=j(function(){if(hW)return fW;hW=1;var e=IP(),t=bW(),n=bD(),r=yD(),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 fW=i}());var CW=j(function(){if(wW)return xW;wW=1;var e=function(){if(_W)return yW;_W=1;var e=IE(),t=qL();return yW=function(n){return t(n)&&"[object Date]"==e(n)}}(),t=sT(),n=iD(),r=n&&n.isDate,i=r?t(r):e;return xW=i}()),AW=new Date,SW=new Date;function MW(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 MW((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 AW.setTime(+t),SW.setTime(+r),e(AW),e(SW),Math.floor(n(AW,SW))},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 EW=MW((function(){}),(function(e,t){e.setTime(+e+t)}),(function(e,t){return t-e}));EW.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?MW((function(t){t.setTime(Math.floor(t/e)*e)}),(function(t,n){t.setTime(+t+n*e)}),(function(t,n){return(n-t)/e})):EW:null},EW.range;var LW=1e3,TW=6e4,DW=36e5,FW=6048e5,OW=MW((function(e){e.setTime(e-e.getMilliseconds())}),(function(e,t){e.setTime(+e+t*LW)}),(function(e,t){return(t-e)/LW}),(function(e){return e.getUTCSeconds()}));OW.range;var zW=MW((function(e){e.setTime(e-e.getMilliseconds()-e.getSeconds()*LW)}),(function(e,t){e.setTime(+e+t*TW)}),(function(e,t){return(t-e)/TW}),(function(e){return e.getMinutes()}));zW.range;var RW=MW((function(e){e.setTime(e-e.getMilliseconds()-e.getSeconds()*LW-e.getMinutes()*TW)}),(function(e,t){e.setTime(+e+t*DW)}),(function(e,t){return(t-e)/DW}),(function(e){return e.getHours()}));function NW(e){return MW((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())*TW)/FW}))}RW.range;var PW=NW(0),IW=NW(1),BW=NW(2),jW=NW(3),WW=NW(4),HW=NW(5),qW=NW(6);PW.range,IW.range,BW.range,jW.range,WW.range,HW.range,qW.range;var $W=MW((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()}));$W.range;var UW=MW((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()}));UW.every=function(e){return isFinite(e=Math.floor(e))&&e>0?MW((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},UW.range;var VW=MW((function(e){e.setUTCSeconds(0,0)}),(function(e,t){e.setTime(+e+t*TW)}),(function(e,t){return(t-e)/TW}),(function(e){return e.getUTCMinutes()}));VW.range;var GW=MW((function(e){e.setUTCMinutes(0,0,0)}),(function(e,t){e.setTime(+e+t*DW)}),(function(e,t){return(t-e)/DW}),(function(e){return e.getUTCHours()}));function YW(e){return MW((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)/FW}))}GW.range;var ZW=YW(0),XW=YW(1),KW=YW(2),JW=YW(3),QW=YW(4),eH=YW(5),tH=YW(6);ZW.range,XW.range,KW.range,JW.range,QW.range,eH.range,tH.range;var nH=MW((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()}));nH.range;var rH=MW((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 iH(){return iH=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},iH.apply(null,arguments)}rH.every=function(e){return isFinite(e=Math.floor(e))&&e>0?MW((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},rH.range;var oH=[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)}],aH={millisecond:[],second:oH.slice(0,1),minute:oH.slice(0,2),hour:oH.slice(0,3),day:oH.slice(0,4),month:oH.slice(0,5),year:oH.slice(0,6)},sH=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 aH[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?YR(n):GR(n);return s(t(e))}},lH=0,cH="auto",uH=!1,dH=!1,fH=!1,hH=!0,pH=!1,gH=function(e,t){void 0===t&&(t=!1);var n=e;return n.type="linear",n.stacked=t,n},mH=!1,vH=function(e){var t=e;return t.type="band",t},bH="native",yH="millisecond",_H="auto",xH="auto",wH=!0,kH=!1,CH=function(e,t,n){var r,i,o=e.format,a=void 0===o?bH:o,s=e.precision,l=void 0===s?yH:s,c=e.min,u=void 0===c?_H:c,d=e.max,f=void 0===d?xH:d,h=e.useUTC,p=void 0===h?wH:h,g=e.nice,m=void 0===g?kH:g,v=sH({format:a,precision:l,useUTC:p});r="auto"===u?v(t.min):"native"!==a?v(u):u,i="auto"===f?v(t.max):"native"!==a?v(f):f;var b=p?rl():function(){return Vi.apply(nl(Ea,La,ka,xa,aa,na,ea,Jo,Ko,za).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}();b.range([0,n]),r&&i&&b.domain([r,i]),!0===m?b.nice():"object"!=typeof m&&"number"!=typeof m||b.nice(m);var y=b;return y.type="time",y.useUTC=p,y},AH=10,SH="auto",MH="auto",EH=!1,LH=!1,TH=!0,DH=function(e,t,n,r){var i,o=e.base,a=void 0===o?AH:o,s=e.min,l=void 0===s?SH:s,c=e.max,u=void 0===c?MH:c,d=e.round,f=void 0===d?EH:d,h=e.reverse,p=void 0===h?LH:h,g=e.nice,m=void 0===g?TH:g;if(t.all.some((function(e){return 0===e})))throw new Error("a log scale domain must not include or cross zero");var v,b,y=!1;if(t.all.filter((function(e){return null!=e})).forEach((function(e){y||(void 0===i?i=Math.sign(e):Math.sign(e)!==i&&(y=!0))})),y)throw new Error("a log scale domain must be strictly-positive or strictly-negative");v="auto"===l?t.min:l,b="auto"===u?t.max:u;var _=Ro().base(a),x="x"===r?[0,n]:[n,0];!0===f?_.rangeRound(x):_.range(x),!0===p?_.domain([b,v]):_.domain([v,b]),!0===m?_.nice():"number"==typeof m&&_.nice(m);var w=_;return w.type="log",w},FH=1,OH="auto",zH="auto",RH=!1,NH=!1,PH=!0,IH=function(e,t){return e===t},BH=function(e,t){return e.getTime()===t.getTime()};function jH(e,t,n,r){switch(e.type){case"linear":return function(e,t,n,r){var i,o,a,s,l=e.min,c=void 0===l?lH:l,u=e.max,d=void 0===u?cH:u,f=e.stacked,h=void 0===f?uH:f,p=e.reverse,g=void 0===p?dH:p,m=e.clamp,v=void 0===m?fH:m,b=e.nice,y=void 0===b?hH:b,_=e.round,x=void 0===_?pH:_;i="auto"===c?!0===h?null!=(o=t.minStacked)?o:0:t.min:c,a="auto"===d?!0===h?null!=(s=t.maxStacked)?s:0:t.max:d;var w=So().range("x"===r?[0,n]:[n,0]).interpolate(x?yi:hi).domain(g?[a,i]:[i,a]).clamp(v);return!0===y?w.nice():"number"==typeof y&&w.nice(y),gH(w,h)}(e,t,n,r);case"point":return function(e,t,n){var r=Ji().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?mH:i,a=Xi().range("x"===r?[0,n]:[n,0]).domain(t.all).round(o);return vH(a)}(e,t,n,r);case"time":return CH(e,t,n);case"log":return DH(e,t,n,r);case"symlog":return function(e,t,n,r){var i,o,a=e.constant,s=void 0===a?FH:a,l=e.min,c=void 0===l?OH:l,u=e.max,d=void 0===u?zH:u,f=e.round,h=void 0===f?RH:f,p=e.reverse,g=void 0===p?NH:p,m=e.nice,v=void 0===m?PH:m;i="auto"===c?t.min:c,o="auto"===d?t.max:d;var b=Io().constant(s),y="x"===r?[0,n]:[n,0];!0===h?b.rangeRound(y):b.range(y),!0===g?b.domain([o,i]):b.domain([i,o]),!0===v?b.nice():"number"==typeof v&&b.nice(v);var _=b;return _.type="symlog",_}(e,t,n,r);default:throw new Error("invalid scale spec")}}var WH=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},HH=function(e,t,n,r,i){var o=e.map((function(e){return function(e){return iH({},e,{data:e.data.map((function(e){return{data:iH({},e)}}))})}(e)})),a=qH(o,t,n);"stacked"in t&&!0===t.stacked&&VH(a,o),"stacked"in n&&!0===n.stacked&&GH(a,o);var s=jH(t,a.x,r,"x"),l=jH(n,a.y,i,"y"),c=o.map((function(e){return iH({},e,{data:e.data.map((function(e){return iH({},e,{position:{x:WH(e,"x",s),y:WH(e,"y",l)}})}))})}));return iH({},a,{series:c,xScale:s,yScale:l})},qH=function(e,t,n){return{x:$H(e,"x",t),y:$H(e,"y",n)}},$H=function(e,t,n,r){var i={},o=i.getValue,a=void 0===o?function(e){return e.data[t]}:o,s=i.setValue,l=void 0===s?function(e,n){e.data[t]=n}:s;if("linear"===n.type)e.forEach((function(e){e.data.forEach((function(e){var t=a(e);t&&l(e,parseFloat(String(t)))}))}));else if("time"===n.type&&"native"!==n.format){var c=sH(n);e.forEach((function(e){e.data.forEach((function(e){var t=a(e);t&&l(e,c(t))}))}))}var u=[];switch(e.forEach((function(e){e.data.forEach((function(e){u.push(a(e))}))})),n.type){case"linear":var d=kW($j(u).filter((function(e){return null!==e})),(function(e){return e}));return{all:d,min:Math.min.apply(Math,d),max:Math.max.apply(Math,d)};case"time":var f=gW(u,(function(e){return e.getTime()})).slice(0).sort((function(e,t){return t.getTime()-e.getTime()})).reverse();return{all:f,min:f[0],max:tR(f)};default:var h=$j(u);return{all:h,min:h[0],max:tR(h)}}},UH=function(e,t,n){var r=function(e){return"x"===e?"y":"x"}(e),i=[];t[r].all.forEach((function(t){var o=CW(t)?BH:IH,a=[];n.forEach((function(n){var s=n.data.find((function(e){return o(e.data[r],t)})),l=null,c=null;if(void 0!==s){if(null!==(l=s.data[e])){var u=tR(a);void 0===u?c=l:null!==u&&(c=u+l)}s.data["x"===e?"xStacked":"yStacked"]=c}a.push(c),null!==c&&i.push(c)}))})),t[e].minStacked=Math.min.apply(Math,i),t[e].maxStacked=Math.max.apply(Math,i)},VH=function(e,t){return UH("x",e,t)},GH=function(e,t){return UH("y",e,t)},YH=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}},ZH={millisecond:[EW,EW],second:[OW,OW],minute:[zW,VW],hour:[RW,GW],day:[MW((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)})),MW((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:[PW,ZW],sunday:[PW,ZW],monday:[IW,XW],tuesday:[BW,KW],wednesday:[jW,JW],thursday:[WW,QW],friday:[HW,eH],saturday:[qW,tH],month:[$W,nH],year:[UW,rH]},XH=Object.keys(ZH),KH=new RegExp("^every\\s*(\\d+)?\\s*("+XH.join("|")+")s?$","i"),JH=function(e,t){if(Array.isArray(t))return t;if("string"==typeof t&&"useUTC"in e){var n=t.match(KH);if(n){var r=n[1],i=n[2],o=ZH[i][e.useUTC?1:0];if("day"===i){var a,s,l=e.domain(),c=l[0],u=l[1],d=new Date(u);return d.setDate(d.getDate()+1),null!=(a=null==(s=o.every(Number(null!=r?r:1)))?void 0:s.range(c,d))?a:[]}if(void 0===r)return e.ticks(o);var f=o.every(Number(r));if(f)return e.ticks(f)}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 QH(){return QH=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},QH.apply(null,arguments)}var eq=function(e){var t,n=e.axis,r=e.scale,i=e.ticksPosition,o=e.tickValues,a=e.tickSize,s=e.tickPadding,l=e.tickRotation,c=e.truncateTickAt,u=e.engine,d=void 0===u?"svg":u,f=JH(r,o),h=bB[d],p="bandwidth"in r?YH(r):r,g={lineX:0,lineY:0},m={textX:0,textY:0},v="object"==typeof document&&"rtl"===document.dir,b=h.align.center,y=h.baseline.center;return"x"===n?(t=function(e){var t;return{x:null!=(t=p(e))?t:0,y:0}},g.lineY=a*("after"===i?1:-1),m.textY=(a+s)*("after"===i?1:-1),y="after"===i?h.baseline.top:h.baseline.bottom,0===l?b=h.align.center:"after"===i&&l<0||"before"===i&&l>0?(b=h.align[v?"left":"right"],y=h.baseline.center):("after"===i&&l>0||"before"===i&&l<0)&&(b=h.align[v?"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),b="after"===i?h.align.left:h.align.right),{ticks:f.map((function(e){var n="string"==typeof e?function(e){var t=String(e).length;return c&&c>0&&t>c?""+String(e).slice(0,c).concat("..."):""+e}(e):e;return QH({key:e instanceof Date?""+e.valueOf():""+e,value:n},t(e),g,m)})),textAlign:b,textBaseline:y}},tq=function(e,t){if(void 0===e||"function"==typeof e)return e;if("time"===t.type){var n=VR(e);return function(e){return n(e instanceof Date?e:new Date(e))}}return fR(e)},nq=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)||JH(i,a)),l="bandwidth"in i?YH(i):i,c="x"===o?s.map((function(e){var t,n;return{key:e instanceof Date?""+e.valueOf():""+e,x1:null!=(t=l(e))?t:0,x2:null!=(n=l(e))?n:0,y1:0,y2:r}})):s.map((function(e){var t,r;return{key:e instanceof Date?""+e.valueOf():""+e,x1:0,x2:n,y1:null!=(t=l(e))?t:0,y2:null!=(r=l(e))?r:0}}));return c},rq=T((function(e){var t,n=e.value,r=e.format,i=e.lineX,o=e.lineY,a=e.onClick,s=e.textBaseline,l=e.textAnchor,c=e.theme,u=e.animatedProps,d=null!=(t=null==r?void 0:r(n))?t:n,f=M((function(){var e={opacity:u.opacity};return a?{style:QH({},e,{cursor:"pointer"}),onClick:function(e){return a(e,d)}}:{style:e}}),[u.opacity,a,d]);return An(DE.g,QH({transform:u.transform},f,{children:[An("line",{x1:0,x2:i,y1:0,y2:o,style:c.line}),An(bj,{dominantBaseline:s,textAnchor:l,transform:u.textTransform,style:c.text,children:""+d})]}))})),iq={tickSize:5,tickPadding:5,tickRotation:0,legendPosition:"middle",legendOffset:0},oq=T((function(e){var t=e.axis,n=e.scale,i=e.x,o=void 0===i?0:i,a=e.y,s=void 0===a?0:a,l=e.length,c=e.ticksPosition,u=e.tickValues,d=e.tickSize,f=void 0===d?iq.tickSize:d,h=e.tickPadding,p=void 0===h?iq.tickPadding:h,g=e.tickRotation,m=void 0===g?iq.tickRotation:g,v=e.format,b=e.renderTick,y=void 0===b?rq:b,x=e.truncateTickAt,w=e.legend,k=e.legendPosition,C=void 0===k?iq.legendPosition:k,A=e.legendOffset,E=void 0===A?iq.legendOffset:A,L=e.style,T=e.onClick,D=e.ariaHidden,F=function(e,t){return M((function(){return pF(e,t)}),[e,t])}(yF().axis,L),O=M((function(){return tq(v,n)}),[v,n]),z=eq({axis:t,scale:n,ticksPosition:c,tickValues:u,tickSize:f,tickPadding:p,tickRotation:m,truncateTickAt:x}),R=z.ticks,N=z.textAlign,P=z.textBaseline,I=null;if(void 0!==w){var B,j=0,W=0,H=0;"y"===t?(H=-90,j=E,"start"===C?(B="start",W=l):"middle"===C?(B="middle",W=l/2):"end"===C&&(B="end")):(W=E,"start"===C?B="start":"middle"===C?(B="middle",j=l/2):"end"===C&&(B="end",j=l)),I=An(r,{children:An(bj,{transform:"translate("+j+", "+W+") rotate("+H+")",textAnchor:B,style:QH({},F.legend.text,{dominantBaseline:"central"}),children:w})})}var q=KI(),$=q.animate,U=q.config,V=_S({transform:"translate("+o+","+s+")",lineX2:"x"===t?l:0,lineY2:"x"===t?0:l,config:U,immediate:!$}),G=S((function(e){return{opacity:1,transform:"translate("+e.x+","+e.y+")",textTransform:"translate("+e.textX+","+e.textY+") rotate("+m+")"}}),[m]),Y=S((function(e){return{opacity:0,transform:"translate("+e.x+","+e.y+")",textTransform:"translate("+e.textX+","+e.textY+") rotate("+m+")"}}),[m]),Z=xS(R,{keys:function(e){return e.key},initial:G,from:Y,enter:G,update:G,leave:{opacity:0},config:U,immediate:!$});return An(DE.g,{transform:V.transform,"aria-hidden":D,children:[Z((function(e,t,n,r){return _.createElement(y,QH({tickIndex:r,format:O,rotate:m,textBaseline:P,textAnchor:N,truncateTickAt:x,animatedProps:e,theme:F.ticks},t,T?{onClick:T}:{}))})),An(DE.line,{style:F.domain.line,x1:0,x2:V.lineX2,y1:0,y2:V.lineY2}),I]})})),aq=["top","right","bottom","left"],sq=T((function(e){var t=e.xScale,n=e.yScale,i=e.width,o=e.height,a={top:e.top,right:e.right,bottom:e.bottom,left:e.left};return An(r,{children:aq.map((function(e){var r=a[e];if(!r)return null;var s="top"===e||"bottom"===e;return An(oq,QH({},r,{axis:s?"x":"y",x:"right"===e?i:0,y:"bottom"===e?o:0,scale:s?t:n,length:s?i:o,ticksPosition:"top"===e||"left"===e?"before":"after",truncateTickAt:r.truncateTickAt}),e)}))})})),lq=T((function(e){var t=e.animatedProps,n=yF();return An(DE.line,QH({},t,n.grid.line))})),cq=T((function(e){var t=e.lines,n=KI(),r=n.animate,i=xS(t,{keys:function(e){return e.key},initial:function(e){return{opacity:1,x1:e.x1,x2:e.x2,y1:e.y1,y2:e.y2}},from:function(e){return{opacity:0,x1:e.x1,x2:e.x2,y1:e.y1,y2:e.y2}},enter:function(e){return{opacity:1,x1:e.x1,x2:e.x2,y1:e.y1,y2:e.y2}},update:function(e){return{opacity:1,x1:e.x1,x2:e.x2,y1:e.y1,y2:e.y2}},leave:{opacity:0},config:n.config,immediate:!r});return An("g",{children:i((function(e,t){return F(lq,QH({},t,{key:t.key,animatedProps:e}))}))})})),uq=T((function(e){var t=e.width,n=e.height,i=e.xScale,o=e.yScale,a=e.xValues,s=e.yValues,l=M((function(){return!!i&&nq({width:t,height:n,scale:i,axis:"x",values:a})}),[i,a,t,n]),c=M((function(){return!!o&&nq({width:t,height:n,scale:o,axis:"y",values:s})}),[n,t,o,s]);return An(r,{children:[l&&An(cq,{lines:l}),c&&An(cq,{lines:c})]})})),dq=function(e,t){var n,r,i=t.axis,o=t.scale,a=t.x,s=void 0===a?0:a,l=t.y,c=void 0===l?0:l,u=t.length,d=t.ticksPosition,f=t.tickValues,h=t.tickSize,p=void 0===h?iq.tickSize:h,g=t.tickPadding,m=void 0===g?iq.tickPadding:g,v=t.tickRotation,b=void 0===v?iq.tickRotation:v,y=t.format,_=t.legend,x=t.legendPosition,w=void 0===x?iq.legendPosition:x,k=t.legendOffset,C=void 0===k?iq.legendOffset:k,A=t.theme,S=t.style,M=eq({axis:i,scale:o,ticksPosition:d,tickValues:f,tickSize:p,tickPadding:m,tickRotation:b,engine:"canvas"}),E=M.ticks,L=M.textAlign,T=M.textBaseline;e.save(),e.translate(s,c);var D=pF(A.axis,S);e.textAlign=L,e.textBaseline=T,ij(e,D.ticks.text);var F=null!=(n=D.domain.line.strokeWidth)?n:0;"string"!=typeof F&&F>0&&(e.lineWidth=F,e.lineCap="square",D.domain.line.stroke&&(e.strokeStyle=D.domain.line.stroke),e.beginPath(),e.moveTo(0,0),e.lineTo("x"===i?u:0,"x"===i?0:u),e.stroke());var O="function"==typeof y?y:function(e){return""+e},z=null!=(r=D.ticks.line.strokeWidth)?r:0,R="string"!=typeof z&&z>0;if(E.forEach((function(t){R&&(e.lineWidth=z,e.lineCap="square",D.ticks.line.stroke&&(e.strokeStyle=D.ticks.line.stroke),e.beginPath(),e.moveTo(t.x,t.y),e.lineTo(t.x+t.lineX,t.y+t.lineY),e.stroke());var n=O(t.value);e.save(),e.translate(t.x+t.textX,t.y+t.textY),e.rotate(gB(b)),oj(e,D.ticks.text,""+n),e.fillText(""+n,0,0),e.restore()})),void 0!==_){var N=0,P=0,I=0,B="center";"y"===i?(I=-90,N=C,"start"===w?(B="start",P=u):"middle"===w?(B="center",P=u/2):"end"===w&&(B="end")):(P=C,"start"===w?B="start":"middle"===w?(B="center",N=u/2):"end"===w&&(B="end",N=u)),e.translate(N,P),e.rotate(gB(I)),ij(e,D.legend.text),D.legend.text.fill&&(e.fillStyle=D.legend.text.fill),e.textAlign=B,e.textBaseline="middle",oj(e,D.legend.text,_)}e.restore()},fq=function(e,t){var n=t.xScale,r=t.yScale,i=t.width,o=t.height,a=t.top,s=t.right,l=t.bottom,c=t.left,u=t.theme,d={top:a,right:s,bottom:l,left:c};aq.forEach((function(t){var a=d[t];if(!a)return null;var s="top"===t||"bottom"===t,l="top"===t||"left"===t?"before":"after",c=s?n:r,f=tq(a.format,c);dq(e,QH({},a,{axis:s?"x":"y",x:"right"===t?i:0,y:"bottom"===t?o:0,scale:c,format:f,length:s?i:o,ticksPosition:l,theme:u}))}))},hq=function(e,t){var n=t.width,r=t.height,i=t.scale,o=t.axis,a=t.values;nq({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 pq(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function gq(){return gq=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},gq.apply(null,arguments)}var mq={nivo:["#e8c1a0","#f47560","#f1e15b","#e8a838","#61cdbb","#97e3d5"],category10:LO,accent:TO,dark2:DO,paired:FO,pastel1:OO,pastel2:zO,set1:RO,set2:NO,set3:PO,tableau10:IO},vq=Object.keys(mq),bq={brown_blueGreen:jO,purpleRed_green:HO,pink_yellowGreen:$O,purple_orange:VO,red_blue:YO,red_grey:XO,red_yellow_blue:JO,red_yellow_green:ez,spectral:nz},yq=Object.keys(bq),_q={brown_blueGreen:WO,purpleRed_green:qO,pink_yellowGreen:UO,purple_orange:GO,red_blue:ZO,red_grey:KO,red_yellow_blue:QO,red_yellow_green:tz,spectral:rz},xq={blues:Ez,greens:Tz,greys:Fz,oranges:Iz,purples:zz,reds:Nz,blue_green:iz,blue_purple:az,green_blue:lz,orange_red:uz,purple_blue_green:fz,purple_blue:pz,purple_red:mz,red_purple:bz,yellow_green_blue:_z,yellow_green:wz,yellow_orange_brown:Cz,yellow_orange_red:Sz},wq=Object.keys(xq),kq={blues:Lz,greens:Dz,greys:Oz,oranges:Bz,purples:Rz,reds:Pz,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:Xz,inferno:Jz,magma:Kz,plasma:Qz,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:Wz,cool:Hz,cubehelixDefault:jz,blue_green:oz,blue_purple:sz,green_blue:cz,orange_red:dz,purple_blue_green:hz,purple_blue:gz,purple_red:vz,red_purple:yz,yellow_green_blue:xz,yellow_green:kz,yellow_orange_brown:Az,yellow_orange_red:Mz},Cq=gq({},mq,bq,xq),Aq={rainbow:function(e){(e<0||e>1)&&(e-=Math.floor(e));var t=Math.abs(e-.5);return qz.h=360*e-100,qz.s=1.5-1.5*t,qz.l=.8-.9*t,qz+""},sinebow:function(e){var t;return e=(.5-e)*Math.PI,$z.r=255*(t=Math.sin(e))*t,$z.g=255*(t=Math.sin(e+Uz))*t,$z.b=255*(t=Math.sin(e+Vz))*t,$z+""}},Sq=gq({},_q,kq,Aq),Mq=function(e,t){if("function"==typeof e)return e;if(zP(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=oF(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 oF(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 pq(e,t);var n={}.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)?pq(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)}),Fr(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}},Eq=function(e,t){return M((function(){return Mq(e,t)}),[e,t])},Lq="turbo",Tq="red_yellow_blue",Dq=.5,Fq="turbo",Oq=7,zq=function(e,t){var n=Bo().domain(e.domain||[t.min,t.max]).nice();if("colors"in e)n.range(e.colors);else{var r=e.scheme||Fq,i=void 0===e.steps?Oq:e.steps,o=Sq[r],a=Array.from({length:i}).map((function(e,t){return o(t*(1/(i-1)))}));n.range(a)}return n},Rq=function(e,t){if(function(e){return"sequential"===e.type}(e))return function(e,t){var n=e.minValue,r=e.maxValue,i=void 0!==n?n:t.min,o=void 0!==r?r:t.max,a=ol().domain([i,o]).clamp(!0);if("colors"in e)a.range(e.colors);else if("interpolator"in e)a.interpolator(e.interpolator);else{var s,l=null!=(s=e.scheme)?s:Lq;a.interpolator(Sq[l])}return a}(e,t);if(function(e){return"diverging"===e.type}(e))return function(e,t){var n,r=e.minValue,i=e.maxValue,o=void 0!==r?r:t.min,a=void 0!==i?i:t.max,s=[o,o+(a-o)/2,a],l=.5-(null!=(n=e.divergeAt)?n:Dq),c=sl().domain(s).clamp(!0),u=function(e){return String(e)};if("colors"in e)u=sl().domain(s.map((function(e){return e-l*(a-o)}))).range(e.colors).interpolator();else if("interpolator"in e)u=e.interpolator;else{var d,f=null!=(d=e.scheme)?d:Tq;u=Sq[f]}return c.interpolator((function(e){return u(e+l)}))}(e,t);if(function(e){return"quantize"===e.type}(e))return zq(e,t);throw new Error("Invalid continuous color scale config")},Nq=function(e,t){if("function"==typeof e)return e;var n="function"==typeof t?t:function(e){return oF(e,t)};if(Array.isArray(e)){var r=Zi(e),i=function(e){return r(n(e))};return i.scale=r,i}if(zP(e)){if(function(e){return void 0!==e.datum}(e))return function(t){return oF(t,e.datum)};if(function(e){return void 0!==e.scheme}(e)){if(function(e){return vq.includes(e)}(e.scheme)){var o=Zi(Cq[e.scheme]),a=function(e){return o(n(e))};return a.scale=o,a}if(function(e){return yq.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=Zi(Cq[e.scheme][e.size||11]),l=function(e){return s(n(e))};return l.scale=s,l}if(function(e){return wq.includes(e)}(e.scheme)){if(void 0!==e.size&&(e.size<3||e.size>9))throw new Error("Invalid size '"+e.size+"' for sequential color scheme '"+e.scheme+"', must be between 3~9");var c=Zi(Cq[e.scheme][e.size||9]),u=function(e){return c(n(e))};return u.scale=c,u}}throw new Error("Invalid colors, when using an object, you should either pass a 'datum' or a 'scheme' property")}return function(){return e}},Pq=function(e,t){return M((function(){return Nq(e,t)}),[e,t])};function Iq(){return Iq=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Iq.apply(null,arguments)}var Bq,jq,Wq=0,Hq=0,qq=0,$q=0,Uq="left-to-right",Vq=!1,Gq="square",Yq=16,Zq=8,Xq={length:200,thickness:16,direction:"row",tickPosition:"after",tickSize:4,tickSpacing:3,tickOverlap:!1,tickFormat:function(e){return""+e},titleAlign:"start",titleOffset:4},Kq={top:0,right:0,bottom:0,left:0},Jq=function(e){var t,n=e.direction,r=e.itemsSpacing,i=e.padding,o=e.itemCount,a=e.itemWidth,s=e.itemHeight;if("number"!=typeof i&&("object"!=typeof(t=i)||Array.isArray(t)||null===t))throw new Error("Invalid property padding, must be one of: number, object");var l="number"==typeof i?{top:i,right:i,bottom:i,left:i}:Iq({},Kq,i),c=l.left+l.right,u=l.top+l.bottom,d=a+c,f=s+u,h=(o-1)*r;return"row"===n?d=a*o+h+c:"column"===n&&(f=s*o+h+u),{width:d,height:f,padding:l}},Qq=function(e){var t=e.anchor,n=e.translateX,r=e.translateY,i=e.containerWidth,o=e.containerHeight,a=e.width,s=e.height,l=n,c=r;switch(t){case"top":l+=(i-a)/2;break;case"top-right":l+=i-a;break;case"right":l+=i-a,c+=(o-s)/2;break;case"bottom-right":l+=i-a,c+=o-s;break;case"bottom":l+=(i-a)/2,c+=o-s;break;case"bottom-left":c+=o-s;break;case"left":c+=(o-s)/2;break;case"center":l+=(i-a)/2,c+=(o-s)/2}return{x:l,y:c}},e$=function(e){var t,n,r,i,o,a,s=e.direction,l=e.justify,c=e.symbolSize,u=e.symbolSpacing,d=e.width,f=e.height;switch(s){case"left-to-right":t=0,n=(f-c)/2,i=f/2,a="central",l?(r=d,o="end"):(r=c+u,o="start");break;case"right-to-left":t=d-c,n=(f-c)/2,i=f/2,a="central",l?(r=0,o="start"):(r=d-c-u,o="end");break;case"top-to-bottom":t=(d-c)/2,n=0,r=d/2,o="middle",l?(i=f,a="alphabetic"):(i=c+u,a="text-before-edge");break;case"bottom-to-top":t=(d-c)/2,n=f-c,r=d/2,o="middle",l?(i=0,a="text-before-edge"):(i=f-c-u,a="alphabetic")}return{symbolX:t,symbolY:n,labelX:r,labelY:i,labelAnchor:o,labelAlignment:a}},t$=function(e){var t,n=e.scale,r=e.ticks,i=e.length,o=void 0===i?Xq.length:i,a=e.thickness,s=void 0===a?Xq.thickness:a,l=e.direction,c=void 0===l?Xq.direction:l,u=e.tickPosition,d=void 0===u?Xq.tickPosition:u,f=e.tickSize,h=void 0===f?Xq.tickSize:f,p=e.tickSpacing,g=void 0===p?Xq.tickSpacing:p,m=e.tickOverlap,v=void 0===m?Xq.tickOverlap:m,b=e.tickFormat,y=void 0===b?Xq.tickFormat:b,_=e.title,x=e.titleAlign,w=void 0===x?Xq.titleAlign:x,k=e.titleOffset,C=void 0===k?Xq.titleOffset:k,A="column"===c?[].concat(n.domain()).reverse():n.domain(),S=So().domain(A);2===A.length?S.range([0,o]):3===A.length&&S.range([0,o/2,o]),t="thresholds"in n?[A[0]].concat(n.thresholds(),[A[1]]):Array.isArray(r)?r:n.ticks(r);var M,E,L,T,D,F,O,z,R,N,P,I,B,j,W=function(e,t){var n=e.domain();if("thresholds"in e){var r=[],i=So().domain(n).range([0,1]);return e.range().forEach((function(t,n){var o=e.invertExtent(t),a=o[0],s=o[1];r.push({key:n+".0",offset:i(a),stopColor:t}),r.push({key:n+".1",offset:i(s),stopColor:t})})),r}var o=e.copy();return 2===n.length?o.domain([0,1]):3===n.length&&o.domain([0,.5,1]),o.ticks(t).map((function(e){return{key:""+e,offset:e,stopColor:""+o(e)}}))}(n,32),H=GB(y),q=[],$=0,U=0;"row"===c?(M=o,E=s,U=1,D=0,L="start"===w?0:"middle"===w?o/2:o,"before"===d?(O=-h,z=v?s:0,R=-h-g,N="alphabetic",T=s+C,F="hanging"):(O=v?0:s,R=(z=s+h)+g,N="hanging",T=-C,F="alphabetic"),t.forEach((function(e){var t=S(e);q.push({x1:t,y1:O,x2:t,y2:z,text:H(e),textX:t,textY:R,textHorizontalAlign:"middle",textVerticalAlign:N})}))):(M=s,E=o,$=1,D=-90,T="start"===w?o:"middle"===w?o/2:0,"before"===d?(I=v?s:0,B=(P=-h)-g,j="end",L=s+C,F="hanging"):(P=v?0:s,B=(I=s+h)+g,j="start",L=-C,F="alphabetic"),t.forEach((function(e){var t=S(e);q.push({x1:P,y1:t,x2:I,y2:t,text:H(e),textX:B,textY:t,textHorizontalAlign:j,textVerticalAlign:"central"})})));return{width:M,height:E,gradientX1:0,gradientY1:$,gradientX2:U,gradientY2:0,colorStops:W,ticks:q,titleText:_,titleX:L,titleY:T,titleRotation:D,titleHorizontalAlign:w,titleVerticalAlign:F}},n$=function(e){var t=e.scale,n=e.ticks,r=e.length,i=void 0===r?Xq.length:r,o=e.thickness,a=void 0===o?Xq.thickness:o,s=e.direction,l=void 0===s?Xq.direction:s,c=e.tickPosition,u=void 0===c?Xq.tickPosition:c,d=e.tickSize,f=void 0===d?Xq.tickSize:d,h=e.tickSpacing,p=void 0===h?Xq.tickSpacing:h,g=e.tickOverlap,m=void 0===g?Xq.tickOverlap:g,v=e.tickFormat,b=void 0===v?Xq.tickFormat:v,y=e.title,_=e.titleAlign,x=void 0===_?Xq.titleAlign:_,w=e.titleOffset,k=t$({scale:t,ticks:n,length:i,thickness:a,direction:l,tickPosition:u,tickSize:f,tickSpacing:p,tickOverlap:m,tickFormat:b,title:y,titleAlign:x,titleOffset:void 0===w?Xq.titleOffset:w}),C=k.width,A=k.height,S=k.gradientX1,M=k.gradientY1,E=k.gradientX2,L=k.gradientY2,T=k.ticks,D=k.colorStops,F=k.titleText,O=k.titleX,R=k.titleY,N=k.titleRotation,P=k.titleVerticalAlign,I=k.titleHorizontalAlign,B=yF(),j="ContinuousColorsLegendSvgGradient."+l+"."+D.map((function(e){return e.stopColor.replace(/[(),\s]/g,"")+"."+e.offset})).join("_");return An("g",{children:[An("defs",{children:An("linearGradient",{id:j,x1:S,y1:M,x2:E,y2:L,children:D.map((function(e){return An("stop",{offset:e.offset,stopColor:e.stopColor},e.key)}))})}),F&&An("text",{transform:"translate("+O+", "+R+") rotate("+N+")",textAnchor:I,dominantBaseline:P,style:B.legends.title.text,children:F}),An("rect",{width:C,height:A,fill:"url(#"+j}),T.map((function(e,t){return An(z,{children:[An("line",{x1:e.x1,y1:e.y1,x2:e.x2,y2:e.y2,style:B.legends.ticks.line}),An(bj,{x:e.textX,y:e.textY,textAnchor:e.textHorizontalAlign,dominantBaseline:e.textVerticalAlign,style:B.legends.ticks.text,children:e.text})]},t)}))]})},r$=["containerWidth","containerHeight","anchor","translateX","translateY","length","thickness","direction"],i$=function(e){var t,n,r=e.containerWidth,i=e.containerHeight,o=e.anchor,a=e.translateX,s=void 0===a?0:a,l=e.translateY,c=void 0===l?0:l,u=e.length,d=void 0===u?Xq.length:u,f=e.thickness,h=void 0===f?Xq.thickness:f,p=e.direction,g=void 0===p?Xq.direction:p,m=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,r$);"row"===g?(t=d,n=h):(t=h,n=d);var v=Qq({anchor:o,translateX:s,translateY:c,containerWidth:r,containerHeight:i,width:t,height:n});return An("g",{transform:"translate("+v.x+", "+v.y+")",children:An(n$,Iq({length:d,thickness:h,direction:g},m))})},o$={circle:function(e){var t=e.x,n=e.y,r=e.size,i=e.fill,o=e.opacity,a=void 0===o?1:o,s=e.borderWidth,l=void 0===s?0:s,c=e.borderColor;return An("circle",{r:r/2,cx:t+r/2,cy:n+r/2,fill:i,opacity:a,strokeWidth:l,stroke:void 0===c?"transparent":c,style:{pointerEvents:"none"}})},diamond:function(e){var t=e.x,n=e.y,r=e.size,i=e.fill,o=e.opacity,a=void 0===o?1:o,s=e.borderWidth,l=void 0===s?0:s,c=e.borderColor;return An("g",{transform:"translate("+t+","+n+")",children:An("path",{d:"\n M"+r/2+" 0\n L"+.8*r+" "+r/2+"\n L"+r/2+" "+r+"\n L"+.2*r+" "+r/2+"\n L"+r/2+" 0\n ",fill:i,opacity:a,strokeWidth:l,stroke:void 0===c?"transparent":c,style:{pointerEvents:"none"}})})},square:function(e){var t=e.x,n=e.y,r=e.size,i=e.fill,o=e.opacity,a=void 0===o?1:o,s=e.borderWidth,l=void 0===s?0:s,c=e.borderColor;return An("rect",{x:t,y:n,fill:i,opacity:a,strokeWidth:l,stroke:void 0===c?"transparent":c,width:r,height:r,style:{pointerEvents:"none"}})},triangle:function(e){var t=e.x,n=e.y,r=e.size,i=e.fill,o=e.opacity,a=void 0===o?1:o,s=e.borderWidth,l=void 0===s?0:s,c=e.borderColor;return An("g",{transform:"translate("+t+","+n+")",children:An("path",{d:"\n M"+r/2+" 0\n L"+r+" "+r+"\n L0 "+r+"\n L"+r/2+" 0\n ",fill:i,opacity:a,strokeWidth:l,stroke:void 0===c?"transparent":c,style:{pointerEvents:"none"}})})}},a$=function(e){var t,n,r,i,o,a,s,l,c,u,d,f=e.x,h=e.y,p=e.width,g=e.height,m=e.data,v=e.direction,b=void 0===v?Uq:v,y=e.justify,w=void 0===y?Vq:y,k=e.textColor,C=e.background,A=void 0===C?"transparent":C,M=e.opacity,E=void 0===M?1:M,L=e.symbolShape,T=void 0===L?Gq:L,D=e.symbolSize,F=void 0===D?Yq:D,O=e.symbolSpacing,z=void 0===O?Zq:O,R=e.symbolBorderWidth,N=void 0===R?0:R,P=e.symbolBorderColor,I=void 0===P?"transparent":P,B=e.onClick,j=e.onMouseEnter,W=e.onMouseLeave,H=e.toggleSerie,q=e.effects,$=x({}),U=$[0],V=$[1],G=yF(),Y=S((function(e){if(q){var t=q.filter((function(e){return"hover"===e.on})).reduce((function(e,t){return Iq({},e,t.style)}),{});V(t)}null==j||j(m,e)}),[j,m,q]),Z=S((function(e){if(q){var t=q.filter((function(e){return"hover"!==e.on})).reduce((function(e,t){return Iq({},e,t.style)}),{});V(t)}null==W||W(m,e)}),[W,m,q]),X=e$({direction:b,justify:w,symbolSize:null!=(t=U.symbolSize)?t:F,symbolSpacing:z,width:p,height:g}),K=X.symbolX,J=X.symbolY,Q=X.labelX,ee=X.labelY,te=X.labelAnchor,ne=X.labelAlignment,re=[B,j,W,H].some((function(e){return void 0!==e})),ie="function"==typeof T?T:o$[T];return An("g",{transform:"translate("+f+","+h+")",style:{opacity:null!=(n=U.itemOpacity)?n:E},children:[An("rect",{width:p,height:g,fill:null!=(r=U.itemBackground)?r:A,style:{cursor:re?"pointer":"auto"},onClick:function(e){null==B||B(m,e),null==H||H(m.id)},onMouseEnter:Y,onMouseLeave:Z}),_.createElement(ie,Iq({id:m.id,x:K,y:J,size:null!=(i=U.symbolSize)?i:F,fill:null!=(o=null!=(a=m.fill)?a:m.color)?o:"black",borderWidth:null!=(s=U.symbolBorderWidth)?s:N,borderColor:null!=(l=U.symbolBorderColor)?l:I},m.hidden?G.legends.hidden.symbol:void 0)),An(bj,{textAnchor:te,style:Iq({},G.legends.text,{fill:null!=(c=null!=(u=null!=(d=U.itemTextColor)?d:k)?u:G.legends.text.fill)?c:"black",dominantBaseline:ne,pointerEvents:"none",userSelect:"none"},m.hidden?G.legends.hidden.text:void 0),x:Q,y:ee,children:m.label})]})},s$=function(e){var t=e.data,n=e.x,r=e.y,i=e.direction,o=e.padding,a=void 0===o?qq:o,s=e.justify,l=e.effects,c=e.itemWidth,u=e.itemHeight,d=e.itemDirection,f=void 0===d?Uq:d,h=e.itemsSpacing,p=void 0===h?$q:h,g=e.itemTextColor,m=e.itemBackground,v=void 0===m?"transparent":m,b=e.itemOpacity,y=void 0===b?1:b,_=e.symbolShape,x=e.symbolSize,w=e.symbolSpacing,k=e.symbolBorderWidth,C=e.symbolBorderColor,A=e.onClick,S=e.onMouseEnter,M=e.onMouseLeave,E=e.toggleSerie,L=Jq({itemCount:t.length,itemWidth:c,itemHeight:u,itemsSpacing:p,direction:i,padding:a}).padding,T="row"===i?c+p:0,D="column"===i?u+p:0;return An("g",{transform:"translate("+n+","+r+")",children:t.map((function(e,t){return An(a$,{data:e,x:t*T+L.left,y:t*D+L.top,width:c,height:u,direction:f,justify:s,effects:l,textColor:g,background:v,opacity:y,symbolShape:_,symbolSize:x,symbolSpacing:w,symbolBorderWidth:k,symbolBorderColor:C,onClick:A,onMouseEnter:S,onMouseLeave:M,toggleSerie:E},t)}))})},l$=function(e){var t=e.data,n=e.containerWidth,r=e.containerHeight,i=e.translateX,o=void 0===i?Wq:i,a=e.translateY,s=void 0===a?Hq:a,l=e.anchor,c=e.direction,u=e.padding,d=void 0===u?qq:u,f=e.justify,h=e.itemsSpacing,p=void 0===h?$q:h,g=e.itemWidth,m=e.itemHeight,v=e.itemDirection,b=e.itemTextColor,y=e.itemBackground,_=e.itemOpacity,x=e.symbolShape,w=e.symbolSize,k=e.symbolSpacing,C=e.symbolBorderWidth,A=e.symbolBorderColor,S=e.onClick,M=e.onMouseEnter,E=e.onMouseLeave,L=e.toggleSerie,T=e.effects,D=Jq({itemCount:t.length,itemsSpacing:p,itemWidth:g,itemHeight:m,direction:c,padding:d}),F=D.width,O=D.height,z=Qq({anchor:l,translateX:o,translateY:s,containerWidth:n,containerHeight:r,width:F,height:O}),R=z.x,N=z.y;return An(s$,{data:t,x:R,y:N,direction:c,padding:d,justify:f,effects:T,itemsSpacing:p,itemWidth:g,itemHeight:m,itemDirection:v,itemTextColor:b,itemBackground:y,itemOpacity:_,symbolShape:x,symbolSize:w,symbolSpacing:k,symbolBorderWidth:C,symbolBorderColor:A,onClick:S,onMouseEnter:M,onMouseLeave:E,toggleSerie:"boolean"==typeof L?void 0:L})},c$={start:"left",middle:"center",end:"right"},u$=function(e,t){var n=t.data,r=t.containerWidth,i=t.containerHeight,o=t.translateX,a=void 0===o?0:o,s=t.translateY,l=void 0===s?0:s,c=t.anchor,u=t.direction,d=t.padding,f=void 0===d?0:d,h=t.justify,p=void 0!==h&&h,g=t.itemsSpacing,m=void 0===g?0:g,v=t.itemWidth,b=t.itemHeight,y=t.itemDirection,_=void 0===y?"left-to-right":y,x=t.itemTextColor,w=t.symbolSize,k=void 0===w?16:w,C=t.symbolSpacing,A=void 0===C?8:C,S=t.theme,M=Jq({itemCount:n.length,itemWidth:v,itemHeight:b,itemsSpacing:m,direction:u,padding:f}),E=M.width,L=M.height,T=M.padding,D=Qq({anchor:c,translateX:a,translateY:l,containerWidth:r,containerHeight:i,width:E,height:L}),F=D.x,O=D.y,z="row"===u?v+m:0,R="column"===u?b+m:0;e.save(),e.translate(F,O),ij(e,S.legends.text),n.forEach((function(t,n){var r,i=n*z+T.left,o=n*R+T.top,a=e$({direction:_,justify:p,symbolSize:k,symbolSpacing:A,width:v,height:b}),s=a.symbolX,l=a.symbolY,c=a.labelX,u=a.labelY,d=a.labelAnchor,f=a.labelAlignment;e.fillStyle=null!=(r=t.color)?r:"black",e.fillRect(i+s,o+l,k,k),e.textAlign=c$[d],"central"===f&&(e.textBaseline="middle"),oj(e,Iq({},S.legends.text,{fill:null!=x?x:S.legends.text.fill}),String(t.label),i+c,o+u)})),e.restore()};var d$=function(){if(jq)return Bq;jq=1;var e=XD(),t=0;return Bq=function(n){var r=++t;return e(n)+r},Bq}(),f$=j(d$);const h$=134217729;function p$(e,t,n,r,i){let o,a,s,l,c=t[0],u=r[0],d=0,f=0;u>c==u>-c?(o=c,c=t[++d]):(o=u,u=r[++f]);let h=0;if(d<e&&f<n)for(u>c==u>-c?(a=c+o,s=o-(a-c),c=t[++d]):(a=u+o,s=o-(a-u),u=r[++f]),o=a,0!==s&&(i[h++]=s);d<e&&f<n;)u>c==u>-c?(a=o+c,l=a-o,s=o-(a-l)+(c-l),c=t[++d]):(a=o+u,l=a-o,s=o-(a-l)+(u-l),u=r[++f]),o=a,0!==s&&(i[h++]=s);for(;d<e;)a=o+c,l=a-o,s=o-(a-l)+(c-l),c=t[++d],o=a,0!==s&&(i[h++]=s);for(;f<n;)a=o+u,l=a-o,s=o-(a-l)+(u-l),u=r[++f],o=a,0!==s&&(i[h++]=s);return 0===o&&0!==h||(i[h++]=o),h}function g$(e){return new Float64Array(e)}const m$=g$(4),v$=g$(8),b$=g$(12),y$=g$(16),_$=g$(4);function x$(e,t,n,r,i,o){const a=(t-o)*(n-i),s=(e-i)*(r-o),l=a-s,c=Math.abs(a+s);return Math.abs(l)>=33306690738754716e-32*c?l:-function(e,t,n,r,i,o,a){let s,l,c,u,d,f,h,p,g,m,v,b,y,_,x,w,k,C;const A=e-i,S=n-i,M=t-o,E=r-o;_=A*E,f=h$*A,h=f-(f-A),p=A-h,f=h$*E,g=f-(f-E),m=E-g,x=p*m-(_-h*g-p*g-h*m),w=M*S,f=h$*M,h=f-(f-M),p=M-h,f=h$*S,g=f-(f-S),m=S-g,k=p*m-(w-h*g-p*g-h*m),v=x-k,d=x-v,m$[0]=x-(v+d)+(d-k),b=_+v,d=b-_,y=_-(b-d)+(v-d),v=y-w,d=y-v,m$[1]=y-(v+d)+(d-w),C=b+v,d=C-b,m$[2]=b-(C-d)+(v-d),m$[3]=C;let L=function(e,t){let n=t[0];for(let r=1;r<e;r++)n+=t[r];return n}(4,m$),T=22204460492503146e-32*a;if(L>=T||-L>=T)return L;if(d=e-A,s=e-(A+d)+(d-i),d=n-S,c=n-(S+d)+(d-i),d=t-M,l=t-(M+d)+(d-o),d=r-E,u=r-(E+d)+(d-o),0===s&&0===l&&0===c&&0===u)return L;if(T=11093356479670487e-47*a+33306690738754706e-32*Math.abs(L),L+=A*u+E*s-(M*c+S*l),L>=T||-L>=T)return L;_=s*E,f=h$*s,h=f-(f-s),p=s-h,f=h$*E,g=f-(f-E),m=E-g,x=p*m-(_-h*g-p*g-h*m),w=l*S,f=h$*l,h=f-(f-l),p=l-h,f=h$*S,g=f-(f-S),m=S-g,k=p*m-(w-h*g-p*g-h*m),v=x-k,d=x-v,_$[0]=x-(v+d)+(d-k),b=_+v,d=b-_,y=_-(b-d)+(v-d),v=y-w,d=y-v,_$[1]=y-(v+d)+(d-w),C=b+v,d=C-b,_$[2]=b-(C-d)+(v-d),_$[3]=C;const D=p$(4,m$,4,_$,v$);_=A*u,f=h$*A,h=f-(f-A),p=A-h,f=h$*u,g=f-(f-u),m=u-g,x=p*m-(_-h*g-p*g-h*m),w=M*c,f=h$*M,h=f-(f-M),p=M-h,f=h$*c,g=f-(f-c),m=c-g,k=p*m-(w-h*g-p*g-h*m),v=x-k,d=x-v,_$[0]=x-(v+d)+(d-k),b=_+v,d=b-_,y=_-(b-d)+(v-d),v=y-w,d=y-v,_$[1]=y-(v+d)+(d-w),C=b+v,d=C-b,_$[2]=b-(C-d)+(v-d),_$[3]=C;const F=p$(D,v$,4,_$,b$);_=s*u,f=h$*s,h=f-(f-s),p=s-h,f=h$*u,g=f-(f-u),m=u-g,x=p*m-(_-h*g-p*g-h*m),w=l*c,f=h$*l,h=f-(f-l),p=l-h,f=h$*c,g=f-(f-c),m=c-g,k=p*m-(w-h*g-p*g-h*m),v=x-k,d=x-v,_$[0]=x-(v+d)+(d-k),b=_+v,d=b-_,y=_-(b-d)+(v-d),v=y-w,d=y-v,_$[1]=y-(v+d)+(d-w),C=b+v,d=C-b,_$[2]=b-(C-d)+(v-d),_$[3]=C;const O=p$(F,b$,4,_$,y$);return y$[O-1]}(e,t,n,r,i,o,c)}const w$=Math.pow(2,-52),k$=new Uint32Array(512);class C${static from(e,t=T$,n=D$){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 C$(i)}constructor(e){const t=e.length>>1;if(t>0&&"number"!=typeof e[0])throw new Error("Expected coords to contain numbers.");this.coords=e;const n=Math.max(2*t-5,0);this._triangles=new Uint32Array(3*n),this._halfedges=new Int32Array(3*n),this._hashSize=Math.ceil(Math.sqrt(t)),this._hullPrev=new Uint32Array(t),this._hullNext=new Uint32Array(t),this._hullTri=new Uint32Array(t),this._hullHash=new Int32Array(this._hashSize),this._ids=new Uint32Array(t),this._dists=new Float64Array(t),this.update()}update(){const{coords:e,_hullPrev:t,_hullNext:n,_hullTri:r,_hullHash:i}=this,o=e.length>>1;let a=1/0,s=1/0,l=-1/0,c=-1/0;for(let t=0;t<o;t++){const n=e[2*t],r=e[2*t+1];n<a&&(a=n),r<s&&(s=r),n>l&&(l=n),r>c&&(c=r),this._ids[t]=t}const u=(a+l)/2,d=(s+c)/2;let f,h,p;for(let t=0,n=1/0;t<o;t++){const r=A$(u,d,e[2*t],e[2*t+1]);r<n&&(f=t,n=r)}const g=e[2*f],m=e[2*f+1];for(let t=0,n=1/0;t<o;t++){if(t===f)continue;const r=A$(g,m,e[2*t],e[2*t+1]);r<n&&r>0&&(h=t,n=r)}let v=e[2*h],b=e[2*h+1],y=1/0;for(let t=0;t<o;t++){if(t===f||t===h)continue;const n=M$(g,m,v,b,e[2*t],e[2*t+1]);n<y&&(p=t,y=n)}let _=e[2*p],x=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];E$(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(x$(g,m,v,b,_,x)<0){const e=h,t=v,n=b;h=p,v=_,b=x,p=e,_=t,x=n}const w=function(e,t,n,r,i,o){const a=n-e,s=r-t,l=i-e,c=o-t,u=a*a+s*s,d=l*l+c*c,f=.5/(a*c-s*l),h=e+(c*u-s*d)*f,p=t+(a*d-l*u)*f;return{x:h,y:p}}(g,m,v,b,_,x);this._cx=w.x,this._cy=w.y;for(let t=0;t<o;t++)this._dists[t]=A$(e[2*t],e[2*t+1],w.x,w.y);E$(this._ids,this._dists,0,o-1),this._hullStart=f;let k=3;n[f]=t[p]=h,n[h]=t[f]=p,n[p]=t[h]=f,r[f]=0,r[h]=1,r[p]=2,i.fill(-1),i[this._hashKey(g,m)]=f,i[this._hashKey(v,b)]=h,i[this._hashKey(_,x)]=p,this.trianglesLen=0,this._addTriangle(f,h,p,-1,-1,-1);for(let o,a,s=0;s<this._ids.length;s++){const l=this._ids[s],c=e[2*l],u=e[2*l+1];if(s>0&&Math.abs(c-o)<=w$&&Math.abs(u-a)<=w$)continue;if(o=c,a=u,l===f||l===h||l===p)continue;let d=0;for(let e=0,t=this._hashKey(c,u);e<this._hashSize&&(d=i[(t+e)%this._hashSize],-1===d||d===n[d]);e++);d=t[d];let g,m=d;for(;g=n[m],x$(c,u,e[2*m],e[2*m+1],e[2*g],e[2*g+1])>=0;)if(m=g,m===d){m=-1;break}if(-1===m)continue;let v=this._addTriangle(m,l,n[m],-1,-1,r[m]);r[l]=this._legalize(v+2),r[m]=v,k++;let b=n[m];for(;g=n[b],x$(c,u,e[2*b],e[2*b+1],e[2*g],e[2*g+1])<0;)v=this._addTriangle(b,l,g,r[l],-1,r[b]),r[l]=this._legalize(v+2),n[b]=b,k--,b=g;if(m===d)for(;g=t[m],x$(c,u,e[2*g],e[2*g+1],e[2*m],e[2*m+1])<0;)v=this._addTriangle(g,l,m,-1,r[m],r[g]),this._legalize(v+2),r[g]=v,n[m]=m,k--,m=g;this._hullStart=t[l]=m,n[m]=t[b]=l,n[l]=b,i[this._hashKey(c,u)]=l,i[this._hashKey(e[2*m],e[2*m+1])]=m}this.hull=new Uint32Array(k);for(let e=0,t=this._hullStart;e<k;e++)this.hull[e]=t,t=n[t];this.triangles=this._triangles.subarray(0,this.trianglesLen),this.halfedges=this._halfedges.subarray(0,this.trianglesLen)}_hashKey(e,t){return Math.floor(function(e,t){const n=e/(Math.abs(e)+Math.abs(t));return(t>0?3-n:1+n)/4}(e-this._cx,t-this._cy)*this._hashSize)%this._hashSize}_legalize(e){const{_triangles:t,_halfedges:n,coords:r}=this;let i=0,o=0;for(;;){const a=n[e],s=e-e%3;if(o=s+(e+2)%3,-1===a){if(0===i)break;e=k$[--i];continue}const l=a-a%3,c=s+(e+1)%3,u=l+(a+2)%3,d=t[o],f=t[e],h=t[c],p=t[u];if(S$(r[2*d],r[2*d+1],r[2*f],r[2*f+1],r[2*h],r[2*h+1],r[2*p],r[2*p+1])){t[e]=p,t[a]=d;const r=n[u];if(-1===r){let t=this._hullStart;do{if(this._hullTri[t]===u){this._hullTri[t]=e;break}t=this._hullPrev[t]}while(t!==this._hullStart)}this._link(e,r),this._link(a,n[o]),this._link(o,u);const s=l+(a+1)%3;i<k$.length&&(k$[i++]=s)}else{if(0===i)break;e=k$[--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 A$(e,t,n,r){const i=e-n,o=t-r;return i*i+o*o}function S$(e,t,n,r,i,o,a,s){const l=e-a,c=t-s,u=n-a,d=r-s,f=i-a,h=o-s,p=u*u+d*d,g=f*f+h*h;return l*(d*g-p*h)-c*(u*g-p*f)+(l*l+c*c)*(u*h-d*f)<0}function M$(e,t,n,r,i,o){const a=n-e,s=r-t,l=i-e,c=o-t,u=a*a+s*s,d=l*l+c*c,f=.5/(a*c-s*l),h=(c*u-s*d)*f,p=(a*d-l*u)*f;return h*h+p*p}function E$(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;L$(e,n+r>>1,i),t[e[n]]>t[e[r]]&&L$(e,n,r),t[e[i]]>t[e[r]]&&L$(e,i,r),t[e[n]]>t[e[i]]&&L$(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;L$(e,i,o)}e[n+1]=e[o],e[o]=a,r-i+1>=o-n?(E$(e,t,i,r),E$(e,t,n,o-1)):(E$(e,t,n,o-1),E$(e,t,i,r))}}function L$(e,t,n){const r=e[t];e[t]=e[n],e[n]=r}function T$(e){return e[0]}function D$(e){return e[1]}const F$=1e-6;class O${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)>F$||Math.abs(this._y1-i)>F$)&&(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 z${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 R${constructor(e,[t,n,r,i]=[0,0,960,500]){if(!((r=+r)>=(t=+t)&&(i=+i)>=(n=+n)))throw new Error("invalid bounds");this.delaunay=e,this._circumcenters=new Float64Array(2*e.points.length),this.vectors=new Float64Array(2*e.points.length),this.xmax=r,this.xmin=t,this.ymax=i,this.ymin=n,this._init()}update(){return this.delaunay.update(),this._init(),this}_init(){const{delaunay:{points:e,hull:t,triangles:n},vectors:r}=this;let i,o;const a=this.circumcenters=this._circumcenters.subarray(0,n.length/3*2);for(let r,s,l=0,c=0,u=n.length;l<u;l+=3,c+=2){const u=2*n[l],d=2*n[l+1],f=2*n[l+2],h=e[u],p=e[u+1],g=e[d],m=e[d+1],v=e[f],b=e[f+1],y=g-h,_=m-p,x=v-h,w=b-p,k=2*(y*w-_*x);if(Math.abs(k)<1e-9){if(void 0===i){i=o=0;for(const n of t)i+=e[2*n],o+=e[2*n+1];i/=t.length,o/=t.length}const n=1e9*Math.sign((i-h)*w-(o-p)*x);r=(h+v)/2-n*w,s=(p+b)/2+n*x}else{const e=1/k,t=y*y+_*_,n=x*x+w*w;r=h+(w*t-_*n)*e,s=p+(y*n-x*t)*e}a[c]=r,a[c+1]=s}let s,l,c,u=t[t.length-1],d=4*u,f=e[2*u],h=e[2*u+1];r.fill(0);for(let n=0;n<t.length;++n)u=t[n],s=d,l=f,c=h,d=4*u,f=e[2*u],h=e[2*u+1],r[s+2]=r[d]=c-h,r[s+3]=r[d+1]=f-l}render(e){const t=null==e?e=new O$:void 0,{delaunay:{halfedges:n,inedges:r,hull:i},circumcenters:o,vectors:a}=this;if(i.length<=1)return null;for(let t=0,r=n.length;t<r;++t){const r=n[t];if(r<t)continue;const i=2*Math.floor(t/3),a=2*Math.floor(r/3),s=o[i],l=o[i+1],c=o[a],u=o[a+1];this._renderSegment(s,l,c,u,e)}let s,l=i[i.length-1];for(let t=0;t<i.length;++t){s=l,l=i[t];const n=2*Math.floor(r[l]/3),c=o[n],u=o[n+1],d=4*s,f=this._project(c,u,a[d+2],a[d+3]);f&&this._renderSegment(c,u,f[0],f[1],e)}return t&&t.value()}renderBounds(e){const t=null==e?e=new O$: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 O$: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 z$;return this.renderCell(e,t),t.value()}_renderSegment(e,t,n,r,i){let o;const a=this._regioncode(e,t),s=this._regioncode(n,r);0===a&&0===s?(i.moveTo(e,t),i.lineTo(n,r)):(o=this._clipSegment(e,t,n,r,a,s))&&(i.moveTo(o[0],o[1]),i.lineTo(o[2],o[3]))}contains(e,t,n){return(t=+t)==t&&(n=+n)==n&&this.delaunay._step(e,t,n)===e}*neighbors(e){const t=this._clip(e);if(t)for(const n of this.delaunay.neighbors(e)){const e=this._clip(n);if(e)e:for(let r=0,i=t.length;r<i;r+=2)for(let o=0,a=e.length;o<a;o+=2)if(t[r]===e[o]&&t[r+1]===e[o+1]&&t[(r+2)%i]===e[(o+a-2)%a]&&t[(r+3)%i]===e[(o+a-1)%a]){yield n;break e}}}_cell(e){const{circumcenters:t,delaunay:{inedges:n,halfedges:r,triangles:i}}=this,o=n[e];if(-1===o)return null;const a=[];let s=o;do{const n=Math.floor(s/3);if(a.push(t[2*n],t[2*n+1]),s=s%3==2?s-2:s+1,i[s]!==e)break;s=r[s]}while(s!==o&&-1!==s);return a}_clip(e){if(0===e&&1===this.delaunay.hull.length)return[this.xmax,this.ymin,this.xmax,this.ymax,this.xmin,this.ymax,this.xmin,this.ymin];const t=this._cell(e);if(null===t)return null;const{vectors:n}=this,r=4*e;return this._simplify(n[r]||n[r+1]?this._clipInfinite(e,t,n[r],n[r+1],n[r+2],n[r+3]):this._clipFinite(e,t))}_clipFinite(e,t){const n=t.length;let r,i,o,a,s=null,l=t[n-2],c=t[n-1],u=this._regioncode(l,c),d=0;for(let f=0;f<n;f+=2)if(r=l,i=c,l=t[f],c=t[f+1],o=u,u=this._regioncode(l,c),0===o&&0===u)a=d,d=0,s?s.push(l,c):s=[l,c];else{let t,n,f,h,p;if(0===o){if(null===(t=this._clipSegment(r,i,l,c,o,u)))continue;[n,f,h,p]=t}else{if(null===(t=this._clipSegment(l,c,r,i,u,o)))continue;[h,p,n,f]=t,a=d,d=this._edgecode(n,f),a&&d&&this._edge(e,a,d,s,s.length),s?s.push(n,f):s=[n,f]}a=d,d=this._edgecode(h,p),a&&d&&this._edge(e,a,d,s,s.length),s?s.push(h,p):s=[h,p]}if(s)a=d,d=this._edgecode(s[0],s[1]),a&&d&&this._edge(e,a,d,s,s.length);else if(this.contains(e,(this.xmin+this.xmax)/2,(this.ymin+this.ymax)/2))return[this.xmax,this.ymin,this.xmax,this.ymax,this.xmin,this.ymax,this.xmin,this.ymin];return s}_clipSegment(e,t,n,r,i,o){const a=i<o;for(a&&([e,t,n,r,i,o]=[n,r,e,t,o,i]);;){if(0===i&&0===o)return a?[n,r,e,t]:[e,t,n,r];if(i&o)return null;let s,l,c=i||o;8&c?(s=e+(n-e)*(this.ymax-t)/(r-t),l=this.ymax):4&c?(s=e+(n-e)*(this.ymin-t)/(r-t),l=this.ymin):2&c?(l=t+(r-t)*(this.xmax-e)/(n-e),s=this.xmax):(l=t+(r-t)*(this.xmin-e)/(n-e),s=this.xmin),i?(e=s,t=l,i=this._regioncode(e,t)):(n=s,r=l,o=this._regioncode(n,r))}}_clipInfinite(e,t,n,r,i,o){let a,s=Array.from(t);if((a=this._project(s[0],s[1],n,r))&&s.unshift(a[0],a[1]),(a=this._project(s[s.length-2],s[s.length-1],i,o))&&s.push(a[0],a[1]),s=this._clipFinite(e,s))for(let t,n=0,r=s.length,i=this._edgecode(s[r-2],s[r-1]);n<r;n+=2)t=i,i=this._edgecode(s[n],s[n+1]),t&&i&&(n=this._edge(e,t,i,s,n),r=s.length);else this.contains(e,(this.xmin+this.xmax)/2,(this.ymin+this.ymax)/2)&&(s=[this.xmin,this.ymin,this.xmax,this.ymin,this.xmax,this.ymax,this.xmin,this.ymax]);return s}_edge(e,t,n,r,i){for(;t!==n;){let n,o;switch(t){case 5:t=4;continue;case 4:t=6,n=this.xmax,o=this.ymin;break;case 6:t=2;continue;case 2:t=10,n=this.xmax,o=this.ymax;break;case 10:t=8;continue;case 8:t=9,n=this.xmin,o=this.ymax;break;case 9:t=1;continue;case 1:t=5,n=this.xmin,o=this.ymin}r[i]===n&&r[i+1]===o||!this.contains(e,n,o)||(r.splice(i,0,n,o),i+=2)}return i}_project(e,t,n,r){let i,o,a,s=1/0;if(r<0){if(t<=this.ymin)return null;(i=(this.ymin-t)/r)<s&&(a=this.ymin,o=e+(s=i)*n)}else if(r>0){if(t>=this.ymax)return null;(i=(this.ymax-t)/r)<s&&(a=this.ymax,o=e+(s=i)*n)}if(n>0){if(e>=this.xmax)return null;(i=(this.xmax-e)/n)<s&&(o=this.xmax,a=t+(s=i)*r)}else if(n<0){if(e<=this.xmin)return null;(i=(this.xmin-e)/n)<s&&(o=this.xmin,a=t+(s=i)*r)}return[o,a]}_edgecode(e,t){return(e===this.xmin?1:e===this.xmax?2:0)|(t===this.ymin?4:t===this.ymax?8:0)}_regioncode(e,t){return(e<this.xmin?1:e>this.xmax?2:0)|(t<this.ymin?4:t>this.ymax?8:0)}_simplify(e){if(e&&e.length>4){for(let t=0;t<e.length;t+=2){const n=(t+2)%e.length,r=(t+4)%e.length;(e[t]===e[n]&&e[n]===e[r]||e[t+1]===e[n+1]&&e[n+1]===e[r+1])&&(e.splice(n,2),t-=2)}e.length||(e=null)}return e}}const N$=2*Math.PI,P$=Math.pow;function I$(e){return e[0]}function B$(e){return e[1]}function j$(e,t,n){return[e+Math.sin(e+t)*n,t+Math.cos(e-t)*n]}class W${static from(e,t=I$,n=B$,r){return new W$("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 C$(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=j$(t[2*e],t[2*e+1],i);t[2*e]=n[0],t[2*e+1]=n[1]}this._delaunator=new C$(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 R$(this,e)}*neighbors(e){const{inedges:t,hull:n,_hullIndex:r,halfedges:i,triangles:o,collinear:a}=this;if(a){const t=a.indexOf(e);return t>0&&(yield a[t-1]),void(t<a.length-1&&(yield a[t+1]))}const s=t[e];if(-1===s)return;let l=s,c=-1;do{if(yield c=o[l],l=l%3==2?l-2:l+1,o[l]!==e)return;if(l=i[l],-1===l){const t=n[(r[e]+1)%n.length];return void(t!==c&&(yield t))}}while(l!==s)}find(e,t,n=0){if((e=+e)!=e||(t=+t)!=t)return-1;const r=n;let i;for(;(i=this._step(n,e,t))>=0&&i!==n&&i!==r;)n=i;return i}_step(e,t,n){const{inedges:r,hull:i,_hullIndex:o,halfedges:a,triangles:s,points:l}=this;if(-1===r[e]||!l.length)return(e+1)%(l.length>>1);let c=e,u=P$(t-l[2*e],2)+P$(n-l[2*e+1],2);const d=r[e];let f=d;do{let r=s[f];const d=P$(t-l[2*r],2)+P$(n-l[2*r+1],2);if(d<u&&(u=d,c=r),f=f%3==2?f-2:f+1,s[f]!==e)break;if(f=a[f],-1===f){if(f=i[(o[e]+1)%i.length],f!==r&&P$(t-l[2*f],2)+P$(n-l[2*f+1],2)<u)return f;break}}while(f!==d);return c}render(e){const t=null==e?e=new O$: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 O$: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,N$)}return n&&n.value()}renderHull(e){const t=null==e?e=new O$: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 z$;return this.renderHull(e),e.value()}renderTriangle(e,t){const n=null==t?t=new O$: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 z$;return this.renderTriangle(e,t),t.value()}}function H$(){return H$=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},H$.apply(null,arguments)}function q$(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}var $$={xDomain:[0,1],yDomain:[0,1],layers:["links","cells","points","bounds"],enableLinks:!1,linkLineWidth:1,linkLineColor:"#bbbbbb",enableCells:!0,cellLineWidth:2,cellLineColor:"#000000",pointSize:4,pointColor:"#666666",role:"img"},U$=function(e){return[e.x,e.y]},V$=$B,G$="cursor",Y$=function(e){var t=e.points,n=e.getNodePosition,r=void 0===n?U$:n,i=e.margin,o=void 0===i?V$:i;return t.map((function(e){var t=r(e),n=t[0],i=t[1];return[n+o.left,i+o.top]}))},Z$=function(e){var t=e.points,n=e.getNodePosition,r=void 0===n?U$:n,i=e.width,o=e.height,a=e.margin,s=void 0===a?V$:a,l=e.debug;return M((function(){return function(e){var t=e.points,n=e.width,r=e.height,i=e.margin,o=void 0===i?V$:i,a=e.debug,s=W$.from(t),l=a?s.voronoi([0,0,o.left+n+o.right,o.top+r+o.bottom]):void 0;return{points:t,delaunay:s,voronoi:l}}({points:Y$({points:t,margin:s,getNodePosition:r}),width:i,height:o,margin:s,debug:l})}),[r,t,i,o,s,l])},X$=["theme"],K$=function(e){var t=e.data,n=e.width,r=e.height,i=e.margin,o=e.layers,a=void 0===o?$$.layers:o,s=e.xDomain,l=void 0===s?$$.xDomain:s,c=e.yDomain,u=void 0===c?$$.yDomain:c,d=e.enableLinks,f=void 0===d?$$.enableLinks:d,h=e.linkLineWidth,p=void 0===h?$$.linkLineWidth:h,g=e.linkLineColor,m=void 0===g?$$.linkLineColor:g,v=e.enableCells,b=void 0===v?$$.enableCells:v,y=e.cellLineWidth,_=void 0===y?$$.cellLineWidth:y,x=e.cellLineColor,w=void 0===x?$$.cellLineColor:x,k=e.enablePoints,C=void 0===k?$$.enableCells:k,A=e.pointSize,S=void 0===A?$$.pointSize:A,E=e.pointColor,L=void 0===E?$$.pointColor:E,T=e.role,D=void 0===T?$$.role:T,O=e.forwardedRef,R=UB(n,r,i),N=R.outerWidth,P=R.outerHeight,I=R.margin,B=function(e){var t=e.data,n=e.width,r=e.height,i=e.xDomain,o=e.yDomain,a=M((function(){return So().domain(i).range([0,n])}),[i,n]),s=M((function(){return So().domain(o).range([0,r])}),[o,r]),l=M((function(){return t.map((function(e){return{x:a(e.x),y:s(e.y),data:e}}))}),[t,a,s]);return M((function(){var e=W$.from(l.map((function(e){return[e.x,e.y]}))),t=e.voronoi([0,0,n,r]);return{points:l,delaunay:e,voronoi:t}}),[l,n,r])}({data:t,width:R.innerWidth,height:R.innerHeight,xDomain:l,yDomain:u}),j=B.points,W=B.delaunay,H=B.voronoi,q={links:null,cells:null,points:null,bounds:null};f&&a.includes("links")&&(q.links=An("path",{stroke:m,strokeWidth:p,fill:"none",d:W.render()},"links")),b&&a.includes("cells")&&(q.cells=An("path",{d:H.render(),fill:"none",stroke:w,strokeWidth:_},"cells")),C&&a.includes("points")&&(q.points=An("path",{stroke:"none",fill:L,d:W.renderPoints(void 0,S/2)},"points")),a.includes("bounds")&&(q.bounds=An("path",{fill:"none",stroke:w,strokeWidth:_,d:H.renderBounds()},"bounds"));var $=function(e){var t=e.points,n=e.delaunay,r=e.voronoi;return M((function(){return{points:t,delaunay:n,voronoi:r}}),[t,n,r])}({points:j,delaunay:W,voronoi:H});return An(RB,{width:N,height:P,margin:I,role:D,ref:O,children:a.map((function(e,t){return void 0!==q[e]?q[e]:"function"==typeof e?An(z,{children:F(e,$)},t):null}))})},J$=A((function(e,t){var n=e.theme,r=q$(e,X$);return An(eB,{isInteractive:!1,animate:!1,theme:n,children:An(K$,H$({},r,{forwardedRef:t}))})})),Q$=["defaultWidth","defaultHeight","onResize","debounceResize"];A((function(e,t){var n=e.defaultWidth,r=e.defaultHeight,i=e.onResize,o=e.debounceResize,a=q$(e,Q$);return An(rB,{defaultWidth:n,defaultHeight:r,onResize:i,debounceResize:o,children:function(e){var n=e.width,r=e.height;return An(J$,H$({},a,{width:n,height:r,ref:t}))}})}));var eU=function(e){var t=e.nodes,n=e.width,i=e.height,o=e.margin,a=void 0===o?V$:o,s=e.getNodePosition,l=e.setCurrent,c=e.onMouseEnter,u=e.onMouseMove,d=e.onMouseLeave,f=e.onMouseDown,h=e.onMouseUp,p=e.onClick,g=e.onDoubleClick,m=e.onTouchStart,v=e.onTouchMove,b=e.onTouchEnd,y=e.enableTouchCrosshair,_=void 0!==y&&y,k=e.detectionRadius,A=void 0===k?1/0:k,E=e.tooltip,L=e.tooltipPosition,T=void 0===L?G$:L,D=e.tooltipAnchor,F=void 0===D?"top":D,O=e.debug,z=C(null),R=Z$({points:t,getNodePosition:s,width:n,height:i,margin:a,debug:O}),N=R.delaunay,P=R.voronoi,I=function(e){var t=e.elementRef,n=e.nodes,r=e.getNodePosition,i=void 0===r?U$:r,o=e.delaunay,a=e.setCurrent,s=e.margin,l=void 0===s?V$:s,c=e.detectionRadius,u=void 0===c?1/0:c,d=e.isInteractive,f=void 0===d||d,h=e.onMouseEnter,p=e.onMouseMove,g=e.onMouseLeave,m=e.onMouseDown,v=e.onMouseUp,b=e.onClick,y=e.onDoubleClick,_=e.onTouchStart,k=e.onTouchMove,A=e.onTouchEnd,E=e.enableTouchCrosshair,L=void 0!==E&&E,T=e.tooltip,D=e.tooltipPosition,F=void 0===D?G$:D,O=e.tooltipAnchor,z=void 0===O?"top":O,R=x(null),N=R[0],P=R[1],I=C(null);w((function(){I.current=N}),[I,N]);var B=S((function(e){if(!t.current||0===n.length)return null;var r=QB(t.current,e),a=r[0],s=r[1],c=o.find(a,s),d=void 0!==c?n[c]:null;if(d&&u!==1/0){var f=i(d),h=f[0],p=f[1];KB(a,s,h+l.left,p+l.top)>u&&(c=null,d=null)}return null===c||null===d?null:[c,d]}),[t,o,n,i,l,u]),j=NF(),W=j.showTooltipAt,H=j.showTooltipFromEvent,q=j.hideTooltip,$=M((function(){if(T)return"cursor"===F?function(e,t){H(T(e),t,z)}:function(e){var t=i(e),n=t[0],r=t[1];W(T(e),[n+l.left,r+l.top],z)}}),[W,H,T,F,z,i,l]),U=S((function(e){var t=B(e);if(P(t),null==a||a(t?t[1]:null),t){var n=t[1];null==$||$(n,e),null==h||h(t[1],e)}}),[B,P,a,$,h]),V=S((function(e){var t=B(e);if(P(t),t){var n=t[0],r=t[1];if(null==a||a(r),null==$||$(r,e),I.current){var i=I.current,o=i[0],s=i[1];n!==o?null==g||g(s,e):null==p||p(r,e)}else null==h||h(r,e)}else null==a||a(null),null==q||q(),I.current&&(null==g||g(I.current[1],e))}),[B,P,a,I,h,p,g,$,q]),G=S((function(e){P(null),null==a||a(null),q(),g&&I.current&&g(I.current[1],e)}),[P,a,I,q,g]),Y=S((function(e){var t=B(e);P(t),t&&(null==m||m(t[1],e))}),[B,P,m]),Z=S((function(e){var t=B(e);P(t),t&&(null==v||v(t[1],e))}),[B,P,v]),X=S((function(e){var t=B(e);P(t),t&&(null==b||b(t[1],e))}),[B,P,b]),K=S((function(e){var t=B(e);P(t),t&&(null==y||y(t[1],e))}),[B,P,y]),J=S((function(e){var t=B(e);L&&(P(t),null==a||a(t?t[1]:null)),t&&(null==_||_(t[1],e))}),[B,P,a,L,_]),Q=S((function(e){var t=B(e);L&&(P(t),null==a||a(t?t[1]:null)),t&&(null==k||k(t[1],e))}),[B,P,a,L,k]),ee=S((function(e){L&&(P(null),null==a||a(null)),A&&I.current&&A(I.current[1],e)}),[L,P,a,A,I]);return{current:N,handleMouseEnter:f?U:void 0,handleMouseMove:f?V:void 0,handleMouseLeave:f?G:void 0,handleMouseDown:f?Y:void 0,handleMouseUp:f?Z:void 0,handleClick:f?X:void 0,handleDoubleClick:f?K:void 0,handleTouchStart:f?J:void 0,handleTouchMove:f?Q:void 0,handleTouchEnd:f?ee:void 0}}({elementRef:z,nodes:t,delaunay:N,margin:a,detectionRadius:A,setCurrent:l,onMouseEnter:c,onMouseMove:u,onMouseLeave:d,onMouseDown:f,onMouseUp:h,onClick:p,onDoubleClick:g,onTouchStart:m,onTouchMove:v,onTouchEnd:b,enableTouchCrosshair:_,tooltip:E,tooltipPosition:T,tooltipAnchor:F}),B=I.current,j=I.handleMouseEnter,W=I.handleMouseMove,H=I.handleMouseLeave,q=I.handleMouseDown,$=I.handleMouseUp,U=I.handleClick,V=I.handleDoubleClick,G=I.handleTouchStart,Y=I.handleTouchMove,Z=I.handleTouchEnd,X=M((function(){if(O&&P)return P.render()}),[O,P]);return An("g",{ref:z,transform:"translate("+-a.left+","+-a.top+")",children:[O&&P&&An(r,{children:[An("path",{d:X,stroke:"red",strokeWidth:1,opacity:.75}),A<1/0&&An("path",{stroke:"red",strokeWidth:.35,fill:"none",d:N.renderPoints(void 0,A)}),B&&An("path",{fill:"pink",opacity:.35,d:P.renderCell(B[0])})]}),An("rect",{"data-ref":"mesh-interceptor",width:a.left+n+a.right,height:a.top+i+a.bottom,fill:"red",opacity:0,style:{cursor:"auto"},onMouseEnter:j,onMouseMove:W,onMouseLeave:H,onMouseDown:q,onMouseUp:$,onTouchStart:G,onTouchMove:Y,onTouchEnd:Z,onClick:U,onDoubleClick:V})]})};function tU(){return tU=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},tU.apply(null,arguments)}function nU(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}var rU,iU={xScale:{type:"point"},yScale:{type:"linear",min:0,max:"auto"},curve:"linear",colors:{scheme:"nivo"},lineWidth:2,layers:["grid","markers","axes","areas","crosshair","lines","points","slices","mesh","legends"],enablePoints:!0,pointSize:6,pointColor:{from:"series.color"},pointBorderWidth:0,pointBorderColor:{theme:"background"},enableArea:!1,areaBaselineValue:0,areaOpacity:.2,enableGridX:!0,enableGridY:!0,legends:[],isInteractive:!0,tooltip:T((function(e){var t=e.point;return An(SF,{id:An("span",{children:["x: ",An("strong",{children:t.data.xFormatted}),", y:"," ",An("strong",{children:t.data.yFormatted})]}),enableChip:!0,color:t.seriesColor})})),sliceTooltip:T((function(e){var t=e.slice,n=e.axis,r=yF(),i="x"===n?"y":"x";return An(EF,{rows:t.points.map((function(e){return[An(AF,{color:e.seriesColor,style:r.tooltip.chip},"chip"),e.seriesId,An("span",{style:r.tooltip.tableCellValue,children:e.data[i+"Formatted"]},"value")]}))})})),debugMesh:!1,renderWrapper:!0},oU=tU({},iU,{defs:[],fill:[],enablePointLabel:!1,pointLabel:"data.yFormatted",areaBlendMode:"normal",axisTop:null,axisRight:null,axisBottom:iq,axisLeft:iq,useMesh:!1,enableSlices:!1,debugSlices:!1,enableCrosshair:!0,crosshairType:"bottom-left",enableTouchCrosshair:!1,initialHiddenIds:[],animate:!0,motionConfig:"gentle",role:"img",isFocusable:!1}),aU=tU({},iU,{pixelRatio:"undefined"!=typeof window&&null!=(rU=window.devicePixelRatio)?rU:1,axisTop:null,axisRight:null,axisBottom:iq,axisLeft:iq});function sU(e){return M((function(){return jl().defined((function(e){return null!==e.x&&null!==e.y})).x((function(e){return e.x})).y((function(e){return e.y})).curve(qB(e))}),[e])}function lU(e){var t=e.curve,n=e.yScale,r=e.areaBaselineValue;return M((function(){return Wl().defined((function(e){return null!==e.x&&null!==e.y})).x((function(e){return e.x})).y1((function(e){return e.y})).curve(qB(t)).y0(n(r))}),[t,n,r])}var cU=function(e){var t=e.data,n=e.xScale,r=void 0===n?iU.xScale:n,i=e.xFormat,o=e.yScale,a=void 0===o?iU.yScale:o,s=e.yFormat,l=e.width,c=e.height,u=e.colors,d=void 0===u?iU.colors:u,f=e.curve,h=void 0===f?iU.curve:f,p=e.areaBaselineValue,g=void 0===p?iU.areaBaselineValue:p,m=e.pointColor,v=void 0===m?iU.pointColor:m,b=e.pointBorderColor,y=void 0===b?iU.pointBorderColor:b,_=e.enableSlices,w=void 0===_?oU.enableSlices:_,k=e.initialHiddenIds,C=void 0===k?oU.initialHiddenIds:k,A=x(f$("line"))[0],E=YB(i),L=YB(s),T=Pq(d,"id"),D=yF(),F=Eq(v,D),O=Eq(y,D),z=x(null!=C?C:[]),R=z[0],N=z[1],P=M((function(){return HH(t.filter((function(e){return-1===R.indexOf(e.id)})),r,a,l,c)}),[t,R,r,a,l,c]),I=P.xScale,B=P.yScale,j=P.series,W=M((function(){var e=t.map((function(e){return{id:e.id,label:""+e.id,color:T(e)}})),n=e.map((function(e){return tU({},j.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 tU({},e,{hidden:!n.find((function(t){return t.id===e.id}))})})).reverse(),series:n}}),[t,j,T]),H=W.legendData,q=W.series,$=S((function(e){N((function(t){return t.indexOf(e)>-1?t.filter((function(t){return t!==e})):[].concat(t,[e])}))}),[]),U=function(e){var t=e.series,n=e.getPointColor,r=e.getPointBorderColor,i=e.formatX,o=e.formatY;return M((function(){return t.reduce((function(e,t,a){return[].concat(e,t.data.filter((function(e){return null!==e.position.x&&null!==e.position.y})).map((function(s,l){var c={id:t.id+"."+l,indexInSeries:l,absIndex:e.length+l,seriesIndex:a,seriesId:t.id,seriesColor:t.color,x:s.position.x,y:s.position.y,data:tU({},s.data,{xFormatted:i(s.data.x),yFormatted:o(s.data.y)})};return c.color=n({series:t,point:c}),c.borderColor=r(c),c})))}),[])}),[t,n,r,i,o])}({series:q,getPointColor:F,getPointBorderColor:O,formatX:E,formatY:L}),V=function(e){var t=e.componentId,n=e.enableSlices,r=e.points,i=e.width,o=e.height;return M((function(){if("x"===n){var e=new Map;return r.forEach((function(t){null!==t.data.x&&null!==t.data.y&&(e.has(t.x)?e.get(t.x).push(t):e.set(t.x,[t]))})),Array.from(e.entries()).sort((function(e,t){return e[0]-t[0]})).map((function(e,n,r){var a,s,l=e[0],c=e[1],u=r[n-1],d=r[n+1];return a=u?l-(l-u[0])/2:l,s=d?l-a+(d[0]-l)/2:i-a,{id:"slice:"+t+":"+l,x0:a,x:l,y0:0,y:0,width:s,height:o,points:c.reverse()}}))}if("y"===n){var a=new Map;return r.forEach((function(e){null!==e.data.x&&null!==e.data.y&&(a.has(e.y)?a.get(e.y).push(e):a.set(e.y,[e]))})),Array.from(a.entries()).sort((function(e,t){return e[0]-t[0]})).map((function(e,t,n){var r,a,s=e[0],l=e[1],c=n[t-1],u=n[t+1];return r=c?s-(s-c[0])/2:s,a=u?s-r+(u[0]-s)/2:o-r,{id:s,x0:0,x:0,y0:r,y:s,width:i,height:a,points:l.reverse()}}))}return[]}),[t,n,o,r,i])}({componentId:A,enableSlices:w,points:U,width:l,height:c});return{legendData:H,toggleSeries:$,lineGenerator:sU(h),areaGenerator:lU({curve:h,yScale:B,areaBaselineValue:g}),getColor:T,series:q,xScale:I,yScale:B,slices:V,points:U}},uU=function(e){var t=e.areaBlendMode,n=e.areaOpacity,r=e.color,i=e.fill,o=e.path,a=KI(),s=a.animate,l=a.config,c=jB(o),u=_S({color:r,config:l,immediate:!s});return An(DE.path,{d:c,fill:i||u.color,fillOpacity:n,strokeWidth:0,style:{mixBlendMode:t}})},dU=T((function(e){var t=e.areaGenerator,n=e.areaOpacity,r=e.areaBlendMode;return An("g",{children:e.series.slice(0).reverse().map((function(e){return An(uU,tU({path:t(e.data.map((function(e){return e.position})))},tU({areaOpacity:n,areaBlendMode:r},e)),""+e.id)}))})})),fU=T((function(e){var t=e.lineGenerator,n=e.points,r=e.color,i=e.thickness,o=M((function(){return t(n)}),[t,n]),a=jB(o);return An(DE.path,{d:a,fill:"none",strokeWidth:i,stroke:r})})),hU=T((function(e){var t=e.series,n=e.lineGenerator,i=e.lineWidth;return An(r,{children:t.slice(0).reverse().map((function(e){var t=e.id,r=e.data,o=e.color;return An(fU,{points:r.map((function(e){return e.position})),lineGenerator:n,color:o,thickness:i},t)}))})})),pU=T((function(e){var t=e.slice,n=e.slices,r=e.axis,i=e.debug,o=e.tooltip,a=e.isCurrent,s=e.setCurrent,l=e.onMouseEnter,c=e.onMouseMove,u=e.onMouseLeave,d=e.onMouseDown,f=e.onMouseUp,h=e.onClick,p=e.onDoubleClick,g=e.onTouchStart,m=e.onTouchMove,v=e.onTouchEnd,b=NF(),y=b.showTooltipFromEvent,_=b.hideTooltip,x=S((function(e){y(F(o,{slice:t,axis:r}),e,"right"),s(t),null==l||l(t,e)}),[y,o,t,r,s,l]),w=S((function(e){y(F(o,{slice:t,axis:r}),e,"right"),null==c||c(t,e)}),[y,o,t,r,c]),k=S((function(e){_(),s(null),null==u||u(t,e)}),[_,s,u,t]),C=S((function(e){null==d||d(t,e)}),[t,d]),A=S((function(e){null==f||f(t,e)}),[t,f]),M=S((function(e){null==h||h(t,e)}),[t,h]),E=S((function(e){null==p||p(t,e)}),[t,p]),L=S((function(e){y(F(o,{slice:t,axis:r}),e,"right"),s(t),null==g||g(t,e)}),[r,g,s,y,t,o]),T=S((function(e){var i=e.touches[0],a=document.elementFromPoint(i.clientX,i.clientY),l=null==a?void 0:a.getAttribute("data-ref");if(l){var c=n.find((function(e){return e.id===l}));c&&(y(F(o,{slice:c,axis:r}),e,"right"),s(c))}null==m||m(t,e)}),[r,m,s,y,t,n,o]),D=S((function(e){_(),s(null),null==v||v(t,e)}),[_,s,v,t]);return An("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:x,onMouseMove:w,onMouseLeave:k,onMouseDown:C,onMouseUp:A,onClick:M,onDoubleClick:E,onTouchStart:L,onTouchMove:T,onTouchEnd:D,"data-ref":t.id})})),gU=T((function(e){var t=e.slices,n=e.axis,i=e.debug,o=e.tooltip,a=e.current,s=e.setCurrent,l=e.onMouseEnter,c=e.onMouseMove,u=e.onMouseLeave,d=e.onMouseDown,f=e.onMouseUp,h=e.onClick,p=e.onDoubleClick,g=e.onTouchStart,m=e.onTouchMove,v=e.onTouchEnd;return An(r,{children:t.map((function(e){return An(pU,{slice:e,slices:t,axis:n,debug:i,tooltip:o,setCurrent:s,isCurrent:null!==a&&a.id===e.id,onMouseEnter:l,onMouseMove:c,onMouseLeave:u,onMouseDown:d,onMouseUp:f,onClick:h,onDoubleClick:p,onTouchStart:g,onTouchMove:m,onTouchEnd:v},e.id)}))})})),mU=T((function(e){var t=e.points,n=e.symbol,r=e.size,i=e.borderWidth,o=e.enableLabel,a=e.label,s=e.labelYOffset,l=e.isFocusable,c=e.setCurrentPoint,u=e.tooltip,d=e.margin,f=e.ariaLabel,h=e.ariaLabelledBy,p=e.ariaDescribedBy,g=e.ariaHidden,m=e.ariaDisabled,v=function(e){var t=nR(e)?e:function(t){return oF(t,e)};return t}(a),b=NF(),y=b.showTooltipAt,_=b.hideTooltip,x=t.slice(0).sort((function(e,t){return e.indexInSeries-t.indexInSeries})).sort((function(e,t){return t.seriesIndex-e.seriesIndex})).map((function(e){return{id:e.id,x:e.x,y:e.y,datum:e.data,fill:e.color,stroke:e.borderColor,label:o?v(e):null,ariaLabel:f?f(e):void 0,ariaLabelledBy:h?h(e):void 0,ariaDescribedBy:p?p(e):void 0,ariaHidden:g?g(e):void 0,ariaDisabled:m?m(e):void 0,onFocus:l?function(){c(e),y(F(u,{point:e}),[d.left+e.x,d.top+e.y],"top")}:void 0,onBlur:l?function(){c(null),_()}:void 0}}));return An("g",{children:x.map((function(e){return An(PB,{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,ariaLabel:e.ariaLabel,ariaLabelledBy:e.ariaLabelledBy,ariaDescribedBy:e.ariaDescribedBy,ariaHidden:e.ariaHidden,ariaDisabled:e.ariaDisabled,isFocusable:l,onFocus:e.onFocus,onBlur:e.onBlur,testId:"line.point."+e.id},e.id)}))})})),vU=T((function(e){var t=e.points,n=e.width,r=e.height,i=e.margin,o=e.setCurrent,a=e.onMouseEnter,s=e.onMouseMove,l=e.onMouseLeave,c=e.onMouseDown,u=e.onMouseUp,d=e.onClick,f=e.onDoubleClick,h=e.onTouchStart,p=e.onTouchMove,g=e.onTouchEnd,m=e.tooltip,v=e.debug,b=e.enableTouchCrosshair,y=NF(),_=y.showTooltipAt,x=y.hideTooltip,w=S((function(e,t){_(F(m,{point:e}),[e.x+i.left,e.y+i.top],"top"),null==a||a(e,t)}),[_,m,a,i]),k=S((function(e,t){_(F(m,{point:e}),[e.x+i.left,e.y+i.top],"top"),null==s||s(e,t)}),[_,m,i.left,i.top,s]),C=S((function(e,t){x(),null==l||l(e,t)}),[x,l]),A=S((function(e,t){null==c||c(e,t)}),[c]),M=S((function(e,t){null==u||u(e,t)}),[u]),E=S((function(e,t){null==d||d(e,t)}),[d]),L=S((function(e,t){null==f||f(e,t)}),[f]),T=S((function(e,t){_(F(m,{point:e}),[e.x+i.left,e.y+i.top],"top"),null==h||h(e,t)}),[i.left,i.top,h,_,m]),D=S((function(e,t){_(F(m,{point:e}),[e.x+i.left,e.y+i.top],"top"),null==p||p(e,t)}),[i.left,i.top,p,_,m]),O=S((function(e,t){x(),null==g||g(e,t)}),[g,x]);return An(eU,{nodes:t,width:n,height:r,setCurrent:o,onMouseEnter:w,onMouseMove:k,onMouseLeave:C,onMouseDown:A,onMouseUp:M,onClick:E,onDoubleClick:L,onTouchStart:T,onTouchMove:D,onTouchEnd:O,enableTouchCrosshair:b,debug:v})})),bU=["isInteractive","animate","motionConfig","theme","renderWrapper"];function yU(e){var t=e.data,n=e.xScale,r=void 0===n?oU.xScale:n,i=e.xFormat,o=e.yScale,a=void 0===o?oU.yScale:o,s=e.yFormat,l=e.curve,c=void 0===l?oU.curve:l,u=e.margin,d=e.width,f=e.height,h=e.colors,p=void 0===h?oU.colors:h,g=e.lineWidth,m=void 0===g?oU.lineWidth:g,v=e.layers,b=void 0===v?oU.layers:v,y=e.enableArea,_=void 0===y?oU.enableArea:y,w=e.areaBaselineValue,k=void 0===w?oU.areaBaselineValue:w,C=e.areaOpacity,A=void 0===C?oU.areaOpacity:C,S=e.areaBlendMode,M=void 0===S?oU.areaBlendMode:S,E=e.enablePoints,L=void 0===E?oU.enablePoints:E,T=e.pointSymbol,D=e.pointSize,F=void 0===D?oU.pointSize:D,O=e.pointColor,R=void 0===O?oU.pointColor:O,N=e.pointBorderWidth,P=void 0===N?oU.pointBorderWidth:N,I=e.pointBorderColor,B=void 0===I?oU.pointBorderColor:I,j=e.enablePointLabel,W=void 0===j?oU.enablePointLabel:j,H=e.pointLabel,q=void 0===H?oU.pointLabel:H,$=e.pointLabelYOffset,U=e.enableGridX,V=void 0===U?oU.enableGridX:U,G=e.gridXValues,Y=e.enableGridY,Z=void 0===Y?oU.enableGridY:Y,X=e.gridYValues,K=e.axisTop,J=e.axisRight,Q=e.axisBottom,ee=void 0===Q?oU.axisBottom:Q,te=e.axisLeft,ne=void 0===te?oU.axisLeft:te,re=e.defs,ie=void 0===re?oU.defs:re,oe=e.fill,ae=void 0===oe?oU.fill:oe,se=e.markers,le=e.legends,ce=void 0===le?oU.legends:le,ue=e.isInteractive,de=void 0===ue?oU.isInteractive:ue,fe=e.useMesh,he=void 0===fe?oU.useMesh:fe,pe=e.debugMesh,ge=void 0===pe?oU.debugMesh:pe,me=e.onMouseEnter,ve=e.onMouseMove,be=e.onMouseLeave,ye=e.onMouseDown,_e=e.onMouseUp,xe=e.onClick,we=e.onDoubleClick,ke=e.onTouchStart,Ce=e.onTouchMove,Ae=e.onTouchEnd,Se=e.tooltip,Me=void 0===Se?oU.tooltip:Se,Ee=e.enableSlices,Le=void 0===Ee?oU.enableSlices:Ee,Te=e.debugSlices,De=void 0===Te?oU.debugSlices:Te,Fe=e.sliceTooltip,Oe=void 0===Fe?oU.sliceTooltip:Fe,ze=e.enableCrosshair,Re=void 0===ze?oU.enableCrosshair:ze,Ne=e.crosshairType,Pe=void 0===Ne?oU.crosshairType:Ne,Ie=e.enableTouchCrosshair,Be=void 0===Ie?oU.enableTouchCrosshair:Ie,je=e.role,We=void 0===je?oU.role:je,He=e.ariaLabel,qe=e.ariaLabelledBy,$e=e.ariaDescribedBy,Ue=e.isFocusable,Ve=void 0===Ue?oU.isFocusable:Ue,Ge=e.pointAriaLabel,Ye=e.pointAriaLabelledBy,Ze=e.pointAriaDescribedBy,Xe=e.pointAriaHidden,Ke=e.pointAriaDisabled,Je=e.initialHiddenIds,Qe=void 0===Je?oU.initialHiddenIds:Je,et=e.forwardedRef,tt=UB(d,f,u),nt=tt.margin,rt=tt.innerWidth,it=tt.innerHeight,ot=tt.outerWidth,at=tt.outerHeight,st=cU({data:t,xScale:r,xFormat:i,yScale:a,yFormat:s,width:rt,height:it,colors:p,curve:c,areaBaselineValue:k,pointColor:R,pointBorderColor:B,enableSlices:Le,initialHiddenIds:Qe}),lt=st.legendData,ct=st.toggleSeries,ut=st.lineGenerator,dt=st.areaGenerator,ft=st.series,ht=st.xScale,pt=st.yScale,gt=st.slices,mt=st.points,vt=x(null),bt=vt[0],yt=vt[1],_t=x(null),xt=_t[0],wt=_t[1],kt={grid:null,markers:null,axes:null,areas:null,crosshair:null,lines:null,points:null,slices:null,mesh:null,legends:null};b.includes("grid")&&(V||Z)&&(kt.grid=An(uq,{width:rt,height:it,xScale:V?ht:null,yScale:Z?pt:null,xValues:G,yValues:X},"grid")),b.includes("markers")&&Array.isArray(se)&&se.length>0&&(kt.markers=An(BB,{markers:se,width:rt,height:it,xScale:ht,yScale:pt},"markers")),b.includes("axes")&&(kt.axes=An(sq,{xScale:ht,yScale:pt,width:rt,height:it,top:K,right:J,bottom:ee,left:ne},"axes")),b.includes("lines")&&(kt.lines=An(hU,{series:ft,lineGenerator:ut,lineWidth:m},"lines")),b.includes("legends")&&ce.length>0&&(kt.legends=An(z,{children:ce.map((function(e,t){return An(l$,tU({},e,{containerWidth:rt,containerHeight:it,data:e.data||lt,toggleSerie:e.toggleSerie?ct:void 0}),t)}))},"legends"));var Ct=nj(ie,ft,ae);_&&(kt.areas=An(dU,{areaGenerator:dt,areaOpacity:A,areaBlendMode:M,series:ft},"areas")),de&&!1!==Le&&(kt.slices=An(gU,{slices:gt,axis:Le,debug:De,tooltip:Oe,current:xt,setCurrent:wt,onMouseEnter:me,onMouseMove:ve,onMouseLeave:be,onMouseDown:ye,onMouseUp:_e,onClick:xe,onDoubleClick:we,onTouchStart:ke,onTouchMove:Ce,onTouchEnd:Ae},"slices")),L&&(kt.points=An(mU,{points:mt,symbol:T,size:F,borderWidth:P,enableLabel:W,label:q,labelYOffset:$,isFocusable:Ve,setCurrentPoint:yt,tooltip:Me,margin:nt,ariaLabel:Ge,ariaLabelledBy:Ye,ariaDescribedBy:Ze,ariaHidden:Xe,ariaDisabled:Ke},"points")),de&&Re&&(null!==bt&&(kt.crosshair=An(TF,{width:rt,height:it,x:bt.x,y:bt.y,type:Pe},"crosshair")),null!==xt&&Le&&(kt.crosshair=An(TF,{width:rt,height:it,x:xt.x,y:xt.y,type:Le},"crosshair"))),de&&he&&!1===Le&&(kt.mesh=An(vU,{points:mt,width:rt,height:it,margin:nt,setCurrent:yt,onMouseEnter:me,onMouseMove:ve,onMouseLeave:be,onMouseDown:ye,onMouseUp:_e,onClick:xe,onDoubleClick:we,onTouchStart:ke,onTouchMove:Ce,onTouchEnd:Ae,tooltip:Me,enableTouchCrosshair:Be,debug:ge},"mesh"));var At=tU({},e,{innerWidth:rt,innerHeight:it,series:ft,slices:gt,points:mt,xScale:ht,yScale:pt,lineGenerator:ut,areaGenerator:dt,currentPoint:bt,setCurrentPoint:yt,currentSlice:xt,setCurrentSlice:wt});return An(RB,{defs:Ct,width:ot,height:at,margin:nt,role:We,ariaLabel:He,ariaLabelledBy:qe,ariaDescribedBy:$e,isFocusable:Ve,ref:et,children:b.map((function(e,t){return"function"==typeof e?An(z,{children:e(At)},t):kt[e]}))})}var _U=A((function(e,t){var n=e.isInteractive,r=void 0===n?oU.isInteractive:n,i=e.animate,o=void 0===i?oU.animate:i,a=e.motionConfig,s=void 0===a?oU.motionConfig:a,l=e.theme,c=e.renderWrapper,u=nU(e,bU);return An(eB,{animate:o,isInteractive:r,motionConfig:s,renderWrapper:c,theme:l,children:An(yU,tU({isInteractive:r},u,{forwardedRef:t}))})})),xU=["defaultWidth","defaultHeight","onResize","debounceResize"],wU=A((function(e,t){var n=e.defaultWidth,r=e.defaultHeight,i=e.onResize,o=e.debounceResize,a=nU(e,xU);return An(rB,{defaultWidth:n,defaultHeight:r,onResize:i,debounceResize:o,children:function(e){var n=e.width,r=e.height;return An(_U,tU({width:n,height:r},a,{ref:t}))}})})),kU=["isInteractive","renderWrapper","theme"],CU=function(e){var t=e.width,n=e.height,r=e.margin,i=e.pixelRatio,o=void 0===i?aU.pixelRatio:i,a=e.data,s=e.xScale,l=void 0===s?aU.xScale:s,c=e.xFormat,u=e.yScale,d=void 0===u?aU.yScale:u,f=e.yFormat,h=e.curve,p=void 0===h?aU.curve:h,g=e.layers,m=void 0===g?aU.layers:g,v=e.colors,b=void 0===v?aU.colors:v,y=e.lineWidth,_=void 0===y?aU.lineWidth:y,k=e.enableArea,A=void 0===k?aU.enableArea:k,E=e.areaBaselineValue,L=void 0===E?aU.areaBaselineValue:E,T=e.areaOpacity,D=void 0===T?aU.areaOpacity:T,O=e.enablePoints,z=void 0===O?aU.enablePoints:O,R=e.pointSize,N=void 0===R?aU.pointSize:R,P=e.pointColor,I=void 0===P?aU.pointColor:P,B=e.pointBorderWidth,j=void 0===B?aU.pointBorderWidth:B,W=e.pointBorderColor,H=void 0===W?aU.pointBorderColor:W,q=e.enableGridX,$=void 0===q?aU.enableGridX:q,U=e.gridXValues,V=e.enableGridY,G=void 0===V?aU.enableGridY:V,Y=e.gridYValues,Z=e.axisTop,X=e.axisRight,K=e.axisBottom,J=void 0===K?aU.axisBottom:K,Q=e.axisLeft,ee=void 0===Q?aU.axisLeft:Q,te=e.legends,ne=void 0===te?aU.legends:te,re=e.isInteractive,ie=void 0===re?aU.isInteractive:re,oe=e.debugMesh,ae=void 0===oe?aU.debugMesh:oe,se=e.onMouseLeave,le=e.onMouseDown,ce=e.onMouseUp,ue=e.onClick,de=e.onDoubleClick,fe=e.tooltip,he=void 0===fe?aU.tooltip:fe,pe=e.role,ge=e.forwardedRef,me=C(null),ve=UB(t,n,r),be=ve.margin,ye=ve.innerWidth,_e=ve.innerHeight,xe=ve.outerWidth,we=ve.outerHeight,ke=yF(),Ce=x(null),Ae=Ce[0],Se=Ce[1],Me=cU({data:a,xScale:l,xFormat:c,yScale:d,yFormat:f,width:ye,height:_e,colors:b,curve:p,areaBaselineValue:L,pointColor:I,pointBorderColor:H}),Ee=Me.lineGenerator,Le=Me.areaGenerator,Te=Me.series,De=Me.xScale,Fe=Me.yScale,Oe=Me.points,ze=M((function(){return{innerWidth:ye,innerHeight:_e,series:Te,points:Oe,xScale:De,yScale:Fe,lineWidth:_,lineGenerator:Ee,areaGenerator:Le,currentPoint:Ae,setCurrentPoint:Se}}),[ye,_e,Te,Oe,De,Fe,_,Ee,Le,Ae,Se]),Re=Z$({points:Oe,width:ye,height:_e,debug:ae}),Ne=Re.delaunay,Pe=Re.voronoi;w((function(){if(null!==me.current){me.current.width=xe*o,me.current.height=we*o;var e=me.current.getContext("2d");e.scale(o,o),e.fillStyle=ke.background,e.fillRect(0,0,xe,we),e.translate(be.left,be.top),m.forEach((function(t){var n;"function"==typeof t&&t(e,ze);var r=null!=(n=ke.grid.line.strokeWidth)?n:0;if("grid"===t&&"string"!=typeof r&&r>0&&(e.lineWidth=r,e.strokeStyle=ke.grid.line.stroke,$&&hq(e,{width:ye,height:_e,scale:De,axis:"x",values:U}),G&&hq(e,{width:ye,height:_e,scale:Fe,axis:"y",values:Y})),"axes"===t&&fq(e,{xScale:De,yScale:Fe,width:ye,height:_e,top:Z,right:X,bottom:J,left:ee,theme:ke}),"areas"===t&&!0===A){e.save(),e.globalAlpha=D,Le.context(e);for(var i=Te.length-1;i>=0;i--)e.fillStyle=Te[i].color,e.beginPath(),Le(Te[i].data.map((function(e){return e.position}))),e.fill();e.restore()}if("lines"===t&&(Ee.context(e),Te.forEach((function(t){e.strokeStyle=t.color,e.lineWidth=_,e.beginPath(),Ee(t.data.map((function(e){return e.position}))),e.stroke()}))),"points"===t&&!0===z&&N>0&&Oe.forEach((function(t){e.fillStyle=t.color,e.beginPath(),e.arc(t.x,t.y,N/2,0,2*Math.PI),e.fill(),j>0&&(e.strokeStyle=t.borderColor,e.lineWidth=j,e.stroke())})),"mesh"===t&&!0===ae&&void 0!==Pe&&(function(e,t){e.save(),e.globalAlpha=.75,e.beginPath(),t.render(e),e.strokeStyle="red",e.lineWidth=1,e.stroke(),e.restore()}(e,Pe),Ae&&function(e,t,n){e.save(),e.globalAlpha=.35,e.beginPath(),t.renderCell(n,e),e.fillStyle="pink",e.fill(),e.restore()}(e,Pe,Ae.absIndex)),"legends"===t){var o=Te.map((function(e){return{id:e.id,label:e.id,color:e.color}})).reverse();ne.forEach((function(t){u$(e,tU({},t,{data:t.data||o,containerWidth:ye,containerHeight:_e,theme:ke}))}))}}))}}),[me,ye,xe,_e,we,be.left,be.top,o,m,ke,Ee,Te,De,Fe,$,U,G,Y,Z,X,J,ee,ne,Oe,z,N,j,Ae,ze,ae,A,Le,D,_,Pe]);var Ie=S((function(e){if(!me.current)return null;var t=QB(me.current,e),n=t[0],r=t[1];if(!JB(be.left,be.top,ye,_e,n,r))return null;var i=Ne.find(n-be.left,r-be.top);return Oe[i]}),[me,be,ye,_e,Ne,Oe]),Be=NF(),je=Be.showTooltipFromEvent,We=Be.hideTooltip,He=S((function(e){var t=Ie(e);Se(t),t?je(F(he,{point:t}),e):We()}),[Ie,Se,je,We,he]),qe=S((function(e){We(),Se(null),Ae&&(null==se||se(Ae,e))}),[We,Se,se,Ae]),$e=S((function(e){if(le){var t=Ie(e);t&&le(t,e)}}),[Ie,le]),Ue=S((function(e){if(ce){var t=Ie(e);t&&ce(t,e)}}),[Ie,ce]),Ve=S((function(e){if(ue){var t=Ie(e);t&&ue(t,e)}}),[Ie,ue]),Ge=S((function(e){if(de){var t=Ie(e);t&&de(t,e)}}),[Ie,de]);return An("canvas",{ref:rj(me,ge),width:xe*o,height:we*o,style:{width:xe,height:we,cursor:ie?"auto":"normal"},onMouseEnter:ie?He:void 0,onMouseMove:ie?He:void 0,onMouseLeave:ie?qe:void 0,onMouseDown:ie?$e:void 0,onMouseUp:ie?Ue:void 0,onClick:ie?Ve:void 0,onDoubleClick:ie?Ge:void 0,role:pe})},AU=A((function(e,t){var n=e.isInteractive,r=e.renderWrapper,i=e.theme,o=nU(e,kU);return An(eB,{isInteractive:n,renderWrapper:r,theme:i,animate:!1,children:An(CU,tU({},o,{forwardedRef:t}))})})),SU=["defaultWidth","defaultHeight","onResize","debounceResize"];A((function(e,t){var n=e.defaultWidth;e.defaultHeight;var r=e.onResize,i=e.debounceResize,o=nU(e,SU);return An(rB,{defaultWidth:n,defaultHeight:n,onResize:r,debounceResize:i,children:function(e){var n=e.width,r=e.height;return An(AU,tU({width:n,height:r},o,{ref:t}))}})}));var MU="styles_empty-data-stub__DuGJ2";const EU=({label:e,width:t,height:n,ariaLabel:r=e})=>An("div",{role:"img","aria-label":r,className:MU,style:{width:t,height:n},children:e}),LU={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:"square",symbolBorderColor:"rgba(0, 0, 0, .5)",effects:[{on:"hover",style:{itemBackground:"rgba(0, 0, 0, .03)",itemOpacity:1}}]},TU={tickSize:5,tickPadding:5,tickRotation:45,ticksPosition:"before"},DU={tickSize:5,tickPadding:5,tickRotation:0},FU={top:60,right:110,bottom:60,left:80},OU={type:"point"},zU={type:"linear",min:"auto",max:"auto",reverse:!1},RU={margin:FU,xScale:OU,yScale:zU,axisTop:null,axisRight:null,axisBottom:TU,axisLeft:DU,useMesh:!0,enableArea:!0},NU={background:"var(--color-bg-primary)",axis:{ticks:{text:{fill:"var(--color-text-secondary)"}},legend:{text:{fill:"var(--color-text-primary)"}},grid:{line:{stroke:"var(--color-border-default)"}}},legends:{text:{fill:"var(--color-text-secondary)"}},tooltip:{container:{background:"var(--color-bg-raised)",color:"var(--color-text-primary)"}}};let PU=function(e){return e.Mesh="Mesh",e.SlicesX="SlicesX",e.SlicesY="SlicesY",e}({});const IU=64,BU=(e,t,n)=>{const{constant:r=IU,...i}=n??{};return{type:"symlog",min:e,max:t,constant:r,...i}},jU=(e,t)=>{const n=e.flatMap((e=>e.data)).map((e=>e.y)),r=Math.min(...n),i=Math.max(...n);return BU(r,i,t)},WU=({kind:e=PU.Mesh,width:t="100%",height:n=400,emptyLabel:r="No data available",emptyAriaLabel:i="No data available",axisBottom:o,rootAriaLabel:a,data:s,...l})=>{const c=(e=>{switch(e){case PU.SlicesX:return{useMesh:!1,enableSlices:"x"};case PU.SlicesY:return{useMesh:!1,enableSlices:"y"};case PU.Mesh:default:return{useMesh:!0,enableSlices:void 0}}})(e),u=d(((t,n)=>{e===PU.Mesh?l?.onClick?.(t,n):[PU.SlicesX,PU.SlicesY].includes(e)&&l?.onSliceClick?.(t,n)}),[e,l]),f=d(((t,n)=>{e===PU.Mesh?l?.onTouchEnd?.(t,n):[PU.SlicesX,PU.SlicesY].includes(e)&&l?.onSliceTouchEnd?.(t,n)}),[e,l]),p=h((()=>{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))?An(EU,{label:r,width:t,height:n,ariaLabel:i}):An("div",{role:"img","aria-label":a,tabIndex:0,style:{width:t,height:n},children:An(wU,{...RU,...c,...l,data:s,onClick:u,onTouchEnd:f,axisBottom:{...TU,...o,tickValues:p},theme:NU})})},HU=({title:e,mode:t,items:n,slices:r,min:i,max:o,height:a=400,width:s="100%",rootAriaLabel:l,translations:u})=>{const[f,p]=c([]),g=u["no-results"],m=h((()=>BU(i,o,{constant:8})),[o,i]),v=h((()=>t===cr.Percent?" >-.2%":" >-.2f"),[t]),b=d((e=>{const t=e.points.reduce(((e,t)=>(e.push(t.data.x),e)),[]);p((()=>t))}),[]);return h((()=>r.filter((e=>f.includes(e.metadata.executionId)))),[r,f]),An(W_,{title:e,children:An(WU,{kind:PU.SlicesX,data:n,height:a,width:s,emptyLabel:g,emptyAriaLabel:g,rootAriaLabel:l,colors:({color:e})=>e,yScale:m,yFormat:v,onSliceClick:b,onSliceTouchEnd:b})})},qU=(e,t="chart")=>{const n="chartFill"===t?"chart-fill":"chart";switch(e){case"passed":return`var(--color-status-passed-${n})`;case"failed":return`var(--color-status-failed-${n})`;case"broken":return`var(--color-status-broken-${n})`;case"unknown":default:return`var(--color-status-unknown-${n})`;case"skipped":return`var(--color-status-skipped-${n})`}},$U=e=>{const{positiveValue:t,negativeValue:n,absTotal:r,noValuePercentage:i=-1}=e;if(0===Math.abs(t)+Math.abs(n))return i;const o=Math.abs(t)-Math.abs(n),a=(s=Math.abs(o),l=r,Math.floor(s/l*1e4)/100);var s,l;return o>0?50+a:o<0?50-a:50},UU=(e,t)=>{const[n,r]=e,i=t.map(((e,i)=>n+(r-n)*(i/(t.length-1))));return So().domain(i).range(t.map((e=>((e,t=document.documentElement)=>{if(e.startsWith("var(")){const n=e.match(/var\((--[^),\s]+)/);if(n){const r=n[1];return getComputedStyle(t).getPropertyValue(r).trim()||e}}return e})(e)))).interpolate(si).clamp(!0)};var VU="styles_legend__JMBvn",GU="styles_chart__mUNSO";const YU=e=>"number"==typeof e&&e>=0&&e<=100,ZU=({slices:e,percentage:t,className:n})=>An("article",{"aria-label":"Success rate",role:"presentation",className:ie(GU,n),children:[An("svg",{"aria-hidden":!0,viewBox:"0 0 100 100",children:An("g",{transform:"translate(50, 50)",children:e.map((e=>!!e.d&&An("path",{d:e.d,fill:"__empty__"===e.status?"var(--color-control-bg)":qU(e.status,"chartFill")},e.status)))})}),YU(t)&&An(Dn,{className:VU,size:"s",tag:"b",children:0===t?"0":`${t}%`})]});var XU,KU,JU,QU,eV,tV,nV,rV,iV,oV,aV,sV,lV,cV,uV,dV,fV,hV,pV,gV,mV,vV,bV,yV,_V,xV,wV,kV,CV,AV,SV,MV,EV,LV,TV,DV,FV,OV,zV,RV,NV,PV,IV,BV;function jV(){if(oV)return iV;oV=1;var e=PP(),t=jL(),n=II(),r=PI(),i=Object.getOwnPropertySymbols?function(r){for(var i=[];r;)e(i,n(r)),r=t(r);return i}:r;return iV=i}function WV(){if(cV)return lV;cV=1;var e=RI(),t=jV(),n=fD();return lV=function(r){return e(r,n,t)},lV}function HV(){if(yV)return bV;yV=1;var e=NL(),t=function(){if(hV)return fV;hV=1;var e=NL();return fV=function(t,n){var r=n?e(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.byteLength)}}(),n=function(){if(gV)return pV;gV=1;var e=/\w*$/;return pV=function(t){var n=new t.constructor(t.source,e.exec(t));return n.lastIndex=t.lastIndex,n}}(),r=function(){if(vV)return mV;vV=1;var e=PE(),t=e?e.prototype:void 0,n=t?t.valueOf:void 0;return mV=function(e){return n?Object(n.call(e)):{}},mV}(),i=PL();return bV=function(o,a,s){var l=o.constructor;switch(a){case"[object ArrayBuffer]":return e(o);case"[object Boolean]":case"[object Date]":return new l(+o);case"[object DataView]":return t(o,s);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return i(o,s);case"[object Map]":case"[object Set]":return new l;case"[object Number]":case"[object String]":return new l(o);case"[object RegExp]":return n(o);case"[object Symbol]":return r(o)}},bV}function qV(){if(kV)return wV;kV=1;var e=function(){if(xV)return _V;xV=1;var e=qI(),t=qL();return _V=function(n){return t(n)&&"[object Map]"==e(n)}}(),t=sT(),n=iD(),r=n&&n.isMap,i=r?t(r):e;return wV=i}function $V(){if(MV)return SV;MV=1;var e=function(){if(AV)return CV;AV=1;var e=qI(),t=qL();return CV=function(n){return t(n)&&"[object Set]"==e(n)}}(),t=sT(),n=iD(),r=n&&n.isSet,i=r?t(r):e;return SV=i}function UV(){if(LV)return EV;LV=1;var e=ZE(),t=(KU||(KU=1,XU=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}),XU),n=sD(),r=function(){if(QU)return JU;QU=1;var e=lD(),t=jI();return JU=function(n,r){return n&&e(r,t(r),n)},JU}(),i=function(){if(tV)return eV;tV=1;var e=lD(),t=fD();return eV=function(n,r){return n&&e(r,t(r),n)},eV}(),o=zL(),a=IL(),s=function(){if(rV)return nV;rV=1;var e=lD(),t=II();return nV=function(n,r){return e(n,t(n),r)},nV}(),l=function(){if(sV)return aV;sV=1;var e=lD(),t=jV();return aV=function(n,r){return e(n,t(n),r)},aV}(),c=WI(),u=WV(),d=qI(),f=function(){if(dV)return uV;dV=1;var e=Object.prototype.hasOwnProperty;return uV=function(t){var n=t.length,r=new t.constructor(n);return n&&"string"==typeof t[0]&&e.call(t,"index")&&(r.index=t.index,r.input=t.input),r},uV}(),h=HV(),p=HL(),g=UL(),m=oT(),v=qV(),b=BE(),y=$V(),_=jI(),x=fD(),w="[object Arguments]",k="[object Function]",C="[object Object]",A={};return A[w]=A["[object Array]"]=A["[object ArrayBuffer]"]=A["[object DataView]"]=A["[object Boolean]"]=A["[object Date]"]=A["[object Float32Array]"]=A["[object Float64Array]"]=A["[object Int8Array]"]=A["[object Int16Array]"]=A["[object Int32Array]"]=A["[object Map]"]=A["[object Number]"]=A[C]=A["[object RegExp]"]=A["[object Set]"]=A["[object String]"]=A["[object Symbol]"]=A["[object Uint8Array]"]=A["[object Uint8ClampedArray]"]=A["[object Uint16Array]"]=A["[object Uint32Array]"]=!0,A["[object Error]"]=A[k]=A["[object WeakMap]"]=!1,EV=function S(M,E,L,T,D,F){var O,z=1&E,R=2&E,N=4&E;if(L&&(O=D?L(M,T,D,F):L(M)),void 0!==O)return O;if(!b(M))return M;var P=g(M);if(P){if(O=f(M),!z)return a(M,O)}else{var I=d(M),B=I==k||"[object GeneratorFunction]"==I;if(m(M))return o(M,z);if(I==C||I==w||B&&!D){if(O=R||B?{}:p(M),!z)return R?l(M,i(O,M)):s(M,r(O,M))}else{if(!A[I])return D?M:{};O=h(M,I,z)}}F||(F=new e);var j=F.get(M);if(j)return j;F.set(M,O),y(M)?M.forEach((function(e){O.add(S(e,E,L,e,M,F))})):v(M)&&M.forEach((function(e,t){O.set(t,S(e,E,L,t,M,F))}));var W=P?void 0:(N?R?u:c:R?x:_)(M);return t(W||M,(function(e,t){W&&(e=M[t=e]),n(O,t,S(e,E,L,t,M,F))})),O},EV}function VV(){if(DV)return TV;return DV=1,TV=function(e,t,n){var r=-1,i=e.length;t<0&&(t=-t>i?0:i+t),(n=n>i?i:n)<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var o=Array(i);++r<i;)o[r]=e[r+t];return o},TV}function GV(){if(RV)return zV;RV=1;var e=KD(),t=eR(),n=function(){if(OV)return FV;OV=1;var e=QD(),t=VV();return FV=function(n,r){return r.length<2?n:e(n,t(r,0,-1))},FV}(),r=JD(),i=Object.prototype.hasOwnProperty;return zV=function(o,a){var s=-1,l=(a=e(a,o)).length;if(!l)return!0;for(;++s<l;){var c=r(a[s]);if("__proto__"===c&&!i.call(o,"__proto__"))return!1;if(("constructor"===c||"prototype"===c)&&s<l-1)return!1}var u=n(o,a);return null==u||delete u[r(t(a))]},zV}var YV,ZV,XV=function(){if(BV)return IV;BV=1;var e=ZD(),t=UV(),n=GV(),r=KD(),i=lD(),o=function(){if(PV)return NV;PV=1;var e=aT();return NV=function(t){return e(t)?void 0:t}}(),a=BP(),s=WV(),l=a((function(a,l){var c={};if(null==a)return c;var u=!1;l=e(l,(function(e){return e=r(e,a),u||(u=e.length>1),e})),i(a,s(a),c),u&&(c=t(c,7,o));for(var d=l.length;d--;)n(c,l[d]);return c}));return IV=l}(),KV=j(XV);var JV,QV,eG,tG,nG,rG,iG,oG,aG,sG,lG,cG,uG,dG,fG,hG,pG,gG,mG,vG,bG,yG,_G,xG,wG,kG,CG,AG,SG,MG,EG,LG,TG,DG,FG=j(function(){if(ZV)return YV;ZV=1;var e=UV();return YV=function(t){return e(t,5)}}());function OG(){if(rG)return nG;rG=1;var e=(tG||(tG=1,eG=function(e){return function(t){return null==e?void 0:e[t]}}),eG),t=e({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"});return nG=t}function zG(){if(hG)return fG;hG=1;var e=function(){if(sG)return aG;sG=1;var e=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;return aG=function(t){return t.match(e)||[]}}(),t=function(){if(cG)return lG;cG=1;var e=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;return lG=function(t){return e.test(t)}}(),n=XD(),r=function(){if(dG)return uG;dG=1;var e="\\ud800-\\udfff",t="\\u2700-\\u27bf",n="a-z\\xdf-\\xf6\\xf8-\\xff",r="A-Z\\xc0-\\xd6\\xd8-\\xde",i="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",o="["+i+"]",a="\\d+",s="["+t+"]",l="["+n+"]",c="[^"+e+i+a+t+n+r+"]",u="(?:\\ud83c[\\udde6-\\uddff]){2}",d="[\\ud800-\\udbff][\\udc00-\\udfff]",f="["+r+"]",h="(?:"+l+"|"+c+")",p="(?:"+f+"|"+c+")",g="(?:['’](?:d|ll|m|re|s|t|ve))?",m="(?:['’](?:D|LL|M|RE|S|T|VE))?",v="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",b="[\\ufe0e\\ufe0f]?",y=b+v+"(?:\\u200d(?:"+["[^"+e+"]",u,d].join("|")+")"+b+v+")*",_="(?:"+[s,u,d].join("|")+")"+y,x=RegExp([f+"?"+l+"+"+g+"(?="+[o,f,"$"].join("|")+")",p+"+"+m+"(?="+[o,f+h,"$"].join("|")+")",f+"?"+h+"+"+g,f+"+"+m,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",a,_].join("|"),"g");return uG=function(e){return e.match(x)||[]}}();return fG=function(i,o,a){return i=n(i),void 0===(o=a?void 0:o)?t(i)?r(i):e(i):i.match(o)||[]}}function RG(){if(gG)return pG;gG=1;var e=(QV||(QV=1,JV=function(e,t,n,r){var i=-1,o=null==e?0:e.length;for(r&&o&&(n=e[++i]);++i<o;)n=t(n,e[i],i,e);return n}),JV),t=function(){if(oG)return iG;oG=1;var e=OG(),t=XD(),n=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,r=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");return iG=function(i){return(i=t(i))&&i.replace(n,e).replace(r,"")}}(),n=zG(),r=RegExp("['’]","g");return pG=function(i){return function(o){return e(n(t(o).replace(r,"")),i,"")}}}function NG(){if(yG)return bG;yG=1;var e=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");return bG=function(t){return e.test(t)}}function PG(){if(AG)return CG;AG=1;var e=xG?_G:(xG=1,_G=function(e){return e.split("")}),t=NG(),n=function(){if(kG)return wG;kG=1;var e="\\ud800-\\udfff",t="["+e+"]",n="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",r="\\ud83c[\\udffb-\\udfff]",i="[^"+e+"]",o="(?:\\ud83c[\\udde6-\\uddff]){2}",a="[\\ud800-\\udbff][\\udc00-\\udfff]",s="(?:"+n+"|"+r+")?",l="[\\ufe0e\\ufe0f]?",c=l+s+"(?:\\u200d(?:"+[i,o,a].join("|")+")"+l+s+")*",u="(?:"+[i+n+"?",n,o,a,t].join("|")+")",d=RegExp(r+"(?="+r+")|"+u+c,"g");return wG=function(e){return e.match(d)||[]}}();return CG=function(r){return t(r)?n(r):e(r)}}function IG(){if(MG)return SG;MG=1;var e=function(){if(vG)return mG;vG=1;var e=VV();return mG=function(t,n,r){var i=t.length;return r=void 0===r?i:r,!n&&r>=i?t:e(t,n,r)},mG}(),t=NG(),n=PG(),r=XD();return SG=function(i){return function(o){o=r(o);var a=t(o)?n(o):void 0,s=a?a[0]:o.charAt(0),l=a?e(a,1).join(""):o.slice(1);return s[i]()+l}}}var BG=function(){if(DG)return TG;DG=1;var e=RG(),t=function(){if(LG)return EG;LG=1;var e=IG()("toUpperCase");return EG=e}(),n=e((function(e,n,r){return e+(r?" ":"")+t(n)}));return TG=n}(),jG=j(BG);function WG(e){var t=0,n=e.children,r=n&&n.length;if(r)for(;--r>=0;)t+=n[r].value;else t=1;e.value=t}function HG(e,t){e instanceof Map?(e=[void 0,e],void 0===t&&(t=$G)):void 0===t&&(t=qG);for(var n,r,i,o,a,s=new GG(e),l=[s];n=l.pop();)if((i=t(n.data))&&(a=(i=Array.from(i)).length))for(n.children=i,o=a-1;o>=0;--o)l.push(r=i[o]=new GG(i[o])),r.parent=n,r.depth=n.depth+1;return s.eachBefore(VG)}function qG(e){return e.children}function $G(e){return Array.isArray(e)?e[1]:null}function UG(e){void 0!==e.data.value&&(e.value=e.data.value),e.data=e.data.data}function VG(e){var t=0;do{e.height=t}while((e=e.parent)&&e.height<++t)}function GG(e){this.data=e,this.depth=this.height=0,this.parent=null}function YG(){return 0}function ZG(e){return function(){return e}}function XG(e){e.x0=Math.round(e.x0),e.y0=Math.round(e.y0),e.x1=Math.round(e.x1),e.y1=Math.round(e.y1)}function KG(e,t,n,r,i){for(var o,a=e.children,s=-1,l=a.length,c=e.value&&(r-t)/e.value;++s<l;)(o=a[s]).y0=n,o.y1=i,o.x0=t,o.x1=t+=o.value*c}function JG(e,t,n,r,i){for(var o,a=e.children,s=-1,l=a.length,c=e.value&&(i-n)/e.value;++s<l;)(o=a[s]).x0=t,o.x1=r,o.y0=n,o.y1=n+=o.value*c}GG.prototype=HG.prototype={constructor:GG,count:function(){return this.eachAfter(WG)},each:function(e,t){let n=-1;for(const r of this)e.call(t,r,++n,this);return this},eachAfter:function(e,t){for(var n,r,i,o=this,a=[o],s=[],l=-1;o=a.pop();)if(s.push(o),n=o.children)for(r=0,i=n.length;r<i;++r)a.push(n[r]);for(;o=s.pop();)e.call(t,o,++l,this);return this},eachBefore:function(e,t){for(var n,r,i=this,o=[i],a=-1;i=o.pop();)if(e.call(t,i,++a,this),n=i.children)for(r=n.length-1;r>=0;--r)o.push(n[r]);return this},find:function(e,t){let n=-1;for(const r of this)if(e.call(t,r,++n,this))return r},sum:function(e){return this.eachAfter((function(t){for(var n=+e(t.data)||0,r=t.children,i=r&&r.length;--i>=0;)n+=r[i].value;t.value=n}))},sort:function(e){return this.eachBefore((function(t){t.children&&t.children.sort(e)}))},path:function(e){for(var t=this,n=function(e,t){if(e===t)return e;var n=e.ancestors(),r=t.ancestors(),i=null;e=n.pop(),t=r.pop();for(;e===t;)i=e,e=n.pop(),t=r.pop();return i}(t,e),r=[t];t!==n;)t=t.parent,r.push(t);for(var i=r.length;e!==n;)r.splice(i,0,e),e=e.parent;return r},ancestors:function(){for(var e=this,t=[e];e=e.parent;)t.push(e);return t},descendants:function(){return Array.from(this)},leaves:function(){var e=[];return this.eachBefore((function(t){t.children||e.push(t)})),e},links:function(){var e=this,t=[];return e.each((function(n){n!==e&&t.push({source:n.parent,target:n})})),t},copy:function(){return HG(this).eachBefore(UG)},[Symbol.iterator]:function*(){var e,t,n,r,i=this,o=[i];do{for(e=o.reverse(),o=[];i=e.pop();)if(yield i,t=i.children)for(n=0,r=t.length;n<r;++n)o.push(t[n])}while(o.length)}};var QG=function e(t){function n(e,n,r,i,o){!function(e,t,n,r,i,o){for(var a,s,l,c,u,d,f,h,p,g,m,v=[],b=t.children,y=0,_=0,x=b.length,w=t.value;y<x;){l=i-n,c=o-r;do{u=b[_++].value}while(!u&&_<x);for(d=f=u,m=u*u*(g=Math.max(c/l,l/c)/(w*e)),p=Math.max(f/m,m/d);_<x;++_){if(u+=s=b[_].value,s<d&&(d=s),s>f&&(f=s),m=u*u*g,(h=Math.max(f/m,m/d))>p){u-=s;break}p=h}v.push(a={value:u,dice:l<c,children:b.slice(y,_)}),a.dice?KG(a,n,r,i,w?r+=c*u/w:o):JG(a,n,r,w?n+=l*u/w:i,o),w-=u,y=_}}(t,e,n,r,i,o)}return n.ratio=function(t){return e((t=+t)>1?t:1)},n}((1+Math.sqrt(5))/2);function eY(){var e=QG,t=!1,n=1,r=1,i=[0],o=YG,a=YG,s=YG,l=YG,c=YG;function u(e){return e.x0=e.y0=0,e.x1=n,e.y1=r,e.eachBefore(d),i=[0],t&&e.eachBefore(XG),e}function d(t){var n=i[t.depth],r=t.x0+n,u=t.y0+n,d=t.x1-n,f=t.y1-n;d<r&&(r=d=(r+d)/2),f<u&&(u=f=(u+f)/2),t.x0=r,t.y0=u,t.x1=d,t.y1=f,t.children&&(n=i[t.depth+1]=o(t)/2,r+=c(t)-n,u+=a(t)-n,(d-=s(t)-n)<r&&(r=d=(r+d)/2),(f-=l(t)-n)<u&&(u=f=(u+f)/2),e(t,r,u,d,f))}return u.round=function(e){return arguments.length?(t=!!e,u):t},u.size=function(e){return arguments.length?(n=+e[0],r=+e[1],u):[n,r]},u.tile=function(t){return arguments.length?(e=function(e){if("function"!=typeof e)throw new Error;return e}(t),u):e},u.padding=function(e){return arguments.length?u.paddingInner(e).paddingOuter(e):u.paddingInner()},u.paddingInner=function(e){return arguments.length?(o="function"==typeof e?e:ZG(+e),u):o},u.paddingOuter=function(e){return arguments.length?u.paddingTop(e).paddingRight(e).paddingBottom(e).paddingLeft(e):u.paddingTop()},u.paddingTop=function(e){return arguments.length?(a="function"==typeof e?e:ZG(+e),u):a},u.paddingRight=function(e){return arguments.length?(s="function"==typeof e?e:ZG(+e),u):s},u.paddingBottom=function(e){return arguments.length?(l="function"==typeof e?e:ZG(+e),u):l},u.paddingLeft=function(e){return arguments.length?(c="function"==typeof e?e:ZG(+e),u):c},u}function tY(){return tY=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},tY.apply(null,arguments)}function nY(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}var rY=function(e,t){return MS([e,t],(function(e,t){return"translate("+e+","+t+")"}))},iY=function(e,t){return MS([e,t],(function(e,t){return"translate("+e+"px, "+t+"px)"}))},oY=function(e,t,n){return MS([e,t,n],(function(e,t,n){return"translate("+e+","+t+") rotate("+n+")"}))},aY=function(e,t,n){return MS([e,t,n],(function(e,t,n){return"translate("+e+"px,"+t+"px) rotate("+n+"deg)"}))},sY=function(e,t,n){return MS([e,t,n],(function(e,t,n){return"translate("+(e-(0===n?0:5))+"px,"+(t-(0===n?5:0))+"px) rotate("+n+"deg)"}))},lY=T((function(e){var t=e.node,n=e.animatedProps,r=e.borderWidth,i=e.enableLabel,o=e.enableParentLabel,a=e.labelSkipSize,s=yF(),l=i&&t.isLeaf&&(0===a||Math.min(t.width,t.height)>a),c=o&&t.isParent;return An(DE.g,{transform:rY(n.x,n.y),children:[An(DE.rect,{"data-testid":"node."+t.id,width:MS(n.width,(function(e){return Math.max(e,0)})),height:MS(n.height,(function(e){return Math.max(e,0)})),fill:t.fill?t.fill:n.color,strokeWidth:r,stroke:t.borderColor,fillOpacity:t.opacity,onMouseEnter:t.onMouseEnter,onMouseMove:t.onMouseMove,onMouseLeave:t.onMouseLeave,onClick:t.onClick}),l&&An(bj,{"data-testid":"label."+t.id,textAnchor:"middle",dominantBaseline:"central",style:tY({},s.labels.text,{fill:t.labelTextColor,pointerEvents:"none"}),fillOpacity:n.labelOpacity,transform:oY(n.labelX,n.labelY,n.labelRotation),children:t.label}),c&&An(bj,{"data-testid":"parentLabel."+t.id,dominantBaseline:"central",style:tY({},s.labels.text,{fill:t.parentLabelTextColor,pointerEvents:"none"}),fillOpacity:n.parentLabelOpacity,transform:oY(n.parentLabelX,n.parentLabelY,n.parentLabelRotation),children:t.parentLabel})]})})),cY=T((function(e){var t=e.node;return An(SF,{id:t.id,value:t.formattedValue,enableChip:!0,color:t.color})})),uY=T((function(e){var t=e.node,n=e.animatedProps,r=e.borderWidth,i=e.enableLabel,o=e.enableParentLabel,a=e.labelSkipSize,s=yF(),l=i&&t.isLeaf&&(0===a||Math.min(t.width,t.height)>a),c=o&&t.isParent;return An(DE.div,{"data-testid":"node."+t.id,id:t.path.replace(/[^\w]/gi,"-"),style:{boxSizing:"border-box",position:"absolute",top:0,left:0,transform:iY(n.x,n.y),width:n.width,height:n.height,borderWidth:r,borderStyle:"solid",borderColor:t.borderColor,overflow:"hidden"},children:[An(DE.div,{style:{boxSizing:"border-box",position:"absolute",top:0,left:0,opacity:t.opacity,width:n.width,height:n.height,background:n.color},onMouseEnter:t.onMouseEnter,onMouseMove:t.onMouseMove,onMouseLeave:t.onMouseLeave,onClick:t.onClick}),l&&An(DE.span,{"data-testid":"label."+t.id,style:tY({},s.labels.text,{position:"absolute",display:"flex",top:-5,left:-5,width:10,height:10,justifyContent:"center",alignItems:"center",whiteSpace:"nowrap",color:t.labelTextColor,transformOrigin:"center center",transform:aY(n.labelX,n.labelY,n.labelRotation),opacity:n.labelOpacity,pointerEvents:"none"}),children:t.label}),c&&An(DE.span,{"data-testid":"parentLabel."+t.id,style:tY({},s.labels.text,{position:"absolute",display:"flex",justifyContent:"flex-start",alignItems:"center",whiteSpace:"nowrap",width:10,height:10,color:t.parentLabelTextColor,transformOrigin:"top left",transform:sY(n.parentLabelX,n.parentLabelY,n.parentLabelRotation),opacity:n.parentLabelOpacity,pointerEvents:"none"}),children:t.parentLabel})]})})),dY={layers:["nodes"],identity:"id",value:"value",tile:"squarify",leavesOnly:!1,innerPadding:0,outerPadding:0,colors:{scheme:"nivo"},colorBy:"pathComponents.1",nodeOpacity:.33,enableLabel:!0,label:"formattedValue",labelSkipSize:0,labelTextColor:{from:"color",modifiers:[["darker",1]]},orientLabel:!0,enableParentLabel:!0,parentLabel:"id",parentLabelSize:20,parentLabelPosition:"top",parentLabelPadding:6,parentLabelTextColor:{from:"color",modifiers:[["darker",1]]},borderWidth:1,borderColor:{from:"color",modifiers:[["darker",1]]},isInteractive:!0,tooltip:cY,role:"img",animate:!0,motionConfig:"gentle"},fY=tY({},dY,{nodeComponent:lY,defs:[],fill:[]}),hY=tY({},dY,{nodeComponent:uY}),pY=tY({},dY,{pixelRatio:"undefined"!=typeof window&&window.devicePixelRatio||1}),gY={binary:function(e,t,n,r,i){var o,a,s=e.children,l=s.length,c=new Array(l+1);for(c[0]=a=o=0;o<l;++o)c[o+1]=a+=s[o].value;!function e(t,n,r,i,o,a,l){if(t>=n-1){var u=s[t];return u.x0=i,u.y0=o,u.x1=a,void(u.y1=l)}var d=c[t],f=r/2+d,h=t+1,p=n-1;for(;h<p;){var g=h+p>>>1;c[g]<f?h=g+1:p=g}f-c[h-1]<c[h]-f&&t+1<h&&--h;var m=c[h]-d,v=r-m;if(a-i>l-o){var b=r?(i*v+a*m)/r:a;e(t,h,m,i,o,b,l),e(h,n,v,b,o,a,l)}else{var y=r?(o*v+l*m)/r:l;e(t,h,m,i,o,a,y),e(h,n,v,i,y,a,l)}}(0,l,e.value,t,n,r,i)},dice:KG,slice:JG,sliceDice:function(e,t,n,r,i){(1&e.depth?JG:KG)(e,t,n,r,i)},squarify:QG},mY=function(e){var t=e.data,n=e.width,r=e.height,i=e.identity,o=void 0===i?dY.identity:i,a=e.value,s=void 0===a?dY.value:a,l=e.valueFormat,c=e.leavesOnly,u=void 0===c?dY.leavesOnly:c,d=e.tile,f=void 0===d?dY.tile:d,h=e.innerPadding,p=void 0===h?dY.innerPadding:h,g=e.outerPadding,m=void 0===g?dY.outerPadding:g,v=e.label,b=void 0===v?dY.label:v,y=e.orientLabel,_=void 0===y?dY.orientLabel:y,x=e.enableParentLabel,w=void 0===x?dY.enableParentLabel:x,k=e.parentLabel,C=void 0===k?dY.parentLabel:k,A=e.parentLabelSize,S=void 0===A?dY.parentLabelSize:A,E=e.parentLabelPosition,L=void 0===E?dY.parentLabelPosition:E,T=e.parentLabelPadding,D=void 0===T?dY.parentLabelPadding:T,F=e.colors,O=void 0===F?dY.colors:F,z=e.colorBy,R=void 0===z?dY.colorBy:z,N=e.nodeOpacity,P=void 0===N?dY.nodeOpacity:N,I=e.borderColor,B=void 0===I?dY.borderColor:I,j=e.labelTextColor,W=void 0===j?dY.labelTextColor:j,H=e.parentLabelTextColor,q=void 0===H?dY.parentLabelTextColor:H,$=XB(o),U=XB(s),V=YB(l),G=XB(b),Y=XB(C),Z=function(e){var t=e.width,n=e.height,r=e.tile,i=e.innerPadding,o=e.outerPadding,a=e.enableParentLabel,s=e.parentLabelSize,l=e.parentLabelPosition,c=e.leavesOnly;return M((function(){var e=eY().size([t,n]).tile(gY[r]).round(!0).paddingInner(i).paddingOuter(o);if(a&&!c){var u=s+2*o;e["padding"+jG(l)](u)}return e}),[t,n,r,i,o,a,s,l,c])}({width:n,height:r,tile:f,innerPadding:p,outerPadding:m,enableParentLabel:w,parentLabelSize:S,parentLabelPosition:L,leavesOnly:u}),X=function(e){var t=e.root,n=e.getValue;return M((function(){return HG(t).sum(n)}),[t,n])}({root:t,getValue:U}),K=M((function(){var e=FG(X);return Z(e),u?e.leaves():e.descendants()}),[X,Z,u]),J=M((function(){return K.map((function(e){var t=function(e,t){var n=e.ancestors().map((function(e){return t(e.data)})).reverse();return{path:n.join("."),pathComponents:n}}(e,$),n=t.path,r=t.pathComponents,i={id:$(e.data),path:n,pathComponents:r,data:KV(e.data,"children"),x:e.x0,y:e.y0,width:e.x1-e.x0,height:e.y1-e.y0,value:e.value,formattedValue:V(e.value),treeDepth:e.depth,treeHeight:e.height,isParent:e.height>0,isLeaf:0===e.height,parentLabelX:0,parentLabelY:0,parentLabelRotation:0};return i.labelRotation=_&&i.height>i.width?-90:0,"top"===L&&(i.parentLabelX=m+D,i.parentLabelY=m+S/2),"right"===L&&(i.parentLabelX=i.width-m-S/2,i.parentLabelY=i.height-m-D,i.parentLabelRotation=-90),"bottom"===L&&(i.parentLabelX=m+D,i.parentLabelY=i.height-m-S/2),"left"===L&&(i.parentLabelX=m+S/2,i.parentLabelY=i.height-m-D,i.parentLabelRotation=-90),i.label=G(i),i.parentLabel=Y(i),i}))}),[K,$,V,G,_,Y,S,L,D,m]),Q=yF(),ee=Pq(O,R),te=Eq(B,Q),ne=Eq(W,Q),re=Eq(q,Q),ie=M((function(){return J.map((function(e){var t=tY({},e,{color:ee(e),opacity:P});return t.borderColor=te(t),t.labelTextColor=ne(t),t.parentLabelTextColor=re(t),t}))}),[J,ee,P,te,ne,re]);return{hierarchy:X,nodes:ie,layout:Z}},vY=function(e){var t=e.nodes;return M((function(){return{nodes:t}}),[t])},bY=function(e){return{x:e.x,y:e.y,width:e.width,height:e.height,color:e.color,labelX:e.width/2,labelY:e.height/2,labelRotation:e.labelRotation,labelOpacity:1,parentLabelX:e.parentLabelX,parentLabelY:e.parentLabelY,parentLabelRotation:e.parentLabelRotation,parentLabelOpacity:1}},yY=function(e){return{x:e.x+e.width/2,y:e.y+e.height/2,width:0,height:0,color:e.color,labelX:0,labelY:0,labelRotation:e.labelRotation,labelOpacity:0,parentLabelX:0,parentLabelY:0,parentLabelRotation:e.parentLabelRotation,parentLabelOpacity:0}},_Y=T((function(e){var t=e.nodes,n=e.nodeComponent,i=e.borderWidth,o=e.enableLabel,a=e.labelSkipSize,s=e.enableParentLabel,l=function(e,t){var n=t.isInteractive,r=t.onMouseEnter,i=t.onMouseMove,o=t.onMouseLeave,a=t.onClick,s=t.tooltip,l=NF(),c=l.showTooltipFromEvent,u=l.hideTooltip,d=S((function(e,t){c(F(s,{node:e}),t,"left")}),[c,s]),f=S((function(e,t){d(e,t),null==r||r(e,t)}),[r,d]),h=S((function(e,t){d(e,t),null==i||i(e,t)}),[i,d]),p=S((function(e,t){u(),null==o||o(e,t)}),[o,u]),g=S((function(e,t){null==a||a(e,t)}),[a]);return M((function(){return e.map((function(e){return n?tY({},e,{onMouseEnter:function(t){return f(e,t)},onMouseMove:function(t){return h(e,t)},onMouseLeave:function(t){return p(e,t)},onClick:function(t){return g(e,t)}}):e}))}),[n,e,f,h,p,g])}(t,{isInteractive:e.isInteractive,onMouseEnter:e.onMouseEnter,onMouseMove:e.onMouseMove,onMouseLeave:e.onMouseLeave,onClick:e.onClick,tooltip:e.tooltip}),c=KI(),u=c.animate,d=c.config,f=xS(l,{keys:function(e){return e.path},initial:bY,from:yY,enter:bY,update:bY,leave:yY,config:d,immediate:!u});return An(r,{children:f((function(e,t){return F(n,{key:t.path,node:t,animatedProps:e,borderWidth:i,enableLabel:o,labelSkipSize:a,enableParentLabel:s})}))})})),xY=["isInteractive","animate","motionConfig","theme","renderWrapper"],wY=function(e){var t=e.data,n=e.identity,r=void 0===n?fY.identity:n,i=e.value,o=void 0===i?fY.value:i,a=e.valueFormat,s=e.tile,l=void 0===s?fY.tile:s,c=e.nodeComponent,u=void 0===c?fY.nodeComponent:c,d=e.innerPadding,f=void 0===d?fY.innerPadding:d,h=e.outerPadding,p=void 0===h?fY.outerPadding:h,g=e.leavesOnly,m=void 0===g?fY.leavesOnly:g,v=e.width,b=e.height,y=e.margin,_=e.layers,x=void 0===_?fY.layers:_,w=e.colors,k=void 0===w?fY.colors:w,C=e.colorBy,A=void 0===C?fY.colorBy:C,S=e.nodeOpacity,M=void 0===S?fY.nodeOpacity:S,E=e.borderWidth,L=void 0===E?fY.borderWidth:E,T=e.borderColor,D=void 0===T?fY.borderColor:T,O=e.defs,R=void 0===O?fY.defs:O,N=e.fill,P=void 0===N?fY.fill:N,I=e.enableLabel,B=void 0===I?fY.enableLabel:I,j=e.label,W=void 0===j?fY.label:j,H=e.labelTextColor,q=void 0===H?fY.labelTextColor:H,$=e.orientLabel,U=void 0===$?fY.orientLabel:$,V=e.labelSkipSize,G=void 0===V?fY.labelSkipSize:V,Y=e.enableParentLabel,Z=void 0===Y?fY.enableParentLabel:Y,X=e.parentLabel,K=void 0===X?fY.parentLabel:X,J=e.parentLabelSize,Q=void 0===J?fY.parentLabelSize:J,ee=e.parentLabelPosition,te=void 0===ee?fY.parentLabelPosition:ee,ne=e.parentLabelPadding,re=void 0===ne?fY.parentLabelPadding:ne,ie=e.parentLabelTextColor,oe=void 0===ie?fY.parentLabelTextColor:ie,ae=e.isInteractive,se=void 0===ae?fY.isInteractive:ae,le=e.onMouseEnter,ce=e.onMouseMove,ue=e.onMouseLeave,de=e.onClick,fe=e.tooltip,he=void 0===fe?fY.tooltip:fe,pe=e.role,ge=e.ariaLabel,me=e.ariaLabelledBy,ve=e.ariaDescribedBy,be=e.forwardedRef,ye=UB(v,b,y),_e=ye.margin,xe=ye.innerWidth,we=ye.innerHeight,ke=ye.outerWidth,Ce=ye.outerHeight,Ae=mY({data:t,identity:r,value:o,valueFormat:a,leavesOnly:m,width:xe,height:we,tile:l,innerPadding:f,outerPadding:p,colors:k,colorBy:A,nodeOpacity:M,borderColor:D,label:W,labelTextColor:q,orientLabel:U,enableParentLabel:Z,parentLabel:K,parentLabelSize:Q,parentLabelPosition:te,parentLabelPadding:re,parentLabelTextColor:oe}).nodes,Se={nodes:null};x.includes("nodes")&&(Se.nodes=An(_Y,{nodes:Ae,nodeComponent:u,borderWidth:L,enableLabel:B,labelSkipSize:G,enableParentLabel:Z,isInteractive:se,onMouseEnter:le,onMouseMove:ce,onMouseLeave:ue,onClick:de,tooltip:he},"nodes"));var Me=vY({nodes:Ae}),Ee=nj(R,Ae,P);return An(RB,{width:ke,height:Ce,margin:_e,defs:Ee,role:pe,ariaLabel:ge,ariaLabelledBy:me,ariaDescribedBy:ve,ref:be,children:x.map((function(e,t){var n;return"function"==typeof e?An(z,{children:F(e,Me)},t):null!=(n=null==Se?void 0:Se[e])?n:null}))})},kY=A((function(e,t){var n=e.isInteractive,r=void 0===n?fY.isInteractive:n,i=e.animate,o=void 0===i?fY.animate:i,a=e.motionConfig,s=void 0===a?fY.motionConfig:a,l=e.theme,c=e.renderWrapper,u=nY(e,xY);return An(eB,{animate:o,isInteractive:r,motionConfig:s,renderWrapper:c,theme:l,children:An(wY,tY({},u,{isInteractive:r,forwardedRef:t}))})})),CY=["defaultWidth","defaultHeight","onResize","debounceResize"],AY=A((function(e,t){var n=e.defaultWidth,r=e.defaultHeight,i=e.onResize,o=e.debounceResize,a=nY(e,CY);return An(rB,{defaultWidth:n,defaultHeight:r,onResize:i,debounceResize:o,children:function(e){var n=e.width,r=e.height;return An(kY,tY({},a,{width:n,height:r,ref:t}))}})})),SY=["isInteractive","animate","motionConfig","theme","renderWrapper"],MY=function(e){var t=e.data,n=e.identity,r=void 0===n?hY.identity:n,i=e.value,o=void 0===i?hY.value:i,a=e.tile,s=void 0===a?hY.tile:a,l=e.nodeComponent,c=void 0===l?hY.nodeComponent:l,u=e.valueFormat,d=e.innerPadding,f=void 0===d?hY.innerPadding:d,h=e.outerPadding,p=void 0===h?hY.outerPadding:h,g=e.leavesOnly,m=void 0===g?hY.leavesOnly:g,v=e.width,b=e.height,y=e.margin,_=e.layers,x=void 0===_?fY.layers:_,w=e.colors,k=void 0===w?hY.colors:w,C=e.colorBy,A=void 0===C?hY.colorBy:C,S=e.nodeOpacity,M=void 0===S?hY.nodeOpacity:S,E=e.borderWidth,L=void 0===E?hY.borderWidth:E,T=e.borderColor,D=void 0===T?hY.borderColor:T,O=e.enableLabel,R=void 0===O?hY.enableLabel:O,N=e.label,P=void 0===N?hY.label:N,I=e.labelTextColor,B=void 0===I?hY.labelTextColor:I,j=e.orientLabel,W=void 0===j?hY.orientLabel:j,H=e.labelSkipSize,q=void 0===H?hY.labelSkipSize:H,$=e.enableParentLabel,U=void 0===$?hY.enableParentLabel:$,V=e.parentLabel,G=void 0===V?hY.parentLabel:V,Y=e.parentLabelSize,Z=void 0===Y?hY.parentLabelSize:Y,X=e.parentLabelPosition,K=void 0===X?hY.parentLabelPosition:X,J=e.parentLabelPadding,Q=void 0===J?hY.parentLabelPadding:J,ee=e.parentLabelTextColor,te=void 0===ee?hY.parentLabelTextColor:ee,ne=e.isInteractive,re=void 0===ne?hY.isInteractive:ne,ie=e.onMouseEnter,oe=e.onMouseMove,ae=e.onMouseLeave,se=e.onClick,le=e.tooltip,ce=void 0===le?hY.tooltip:le,ue=e.role,de=e.ariaLabel,fe=e.ariaLabelledBy,he=e.ariaDescribedBy,pe=e.forwardedRef,ge=UB(v,b,y),me=ge.margin,ve=ge.innerWidth,be=ge.innerHeight,ye=ge.outerWidth,_e=ge.outerHeight,xe=mY({data:t,identity:r,value:o,valueFormat:u,leavesOnly:m,width:ve,height:be,tile:s,innerPadding:f,outerPadding:p,colors:k,colorBy:A,nodeOpacity:M,borderColor:D,label:P,labelTextColor:B,orientLabel:W,enableParentLabel:U,parentLabel:G,parentLabelSize:Z,parentLabelPosition:K,parentLabelPadding:Q,parentLabelTextColor:te}).nodes,we={nodes:null};x.includes("nodes")&&(we.nodes=An(_Y,{nodes:xe,nodeComponent:c,borderWidth:L,enableLabel:R,labelSkipSize:q,enableParentLabel:U,isInteractive:re,onMouseEnter:ie,onMouseMove:oe,onMouseLeave:ae,onClick:se,tooltip:ce},"nodes"));var ke=vY({nodes:xe});return An("div",{role:ue,"aria-label":de,"aria-labelledby":fe,"aria-describedby":he,style:{position:"relative",width:ye,height:_e},ref:pe,children:An("div",{style:{position:"absolute",top:me.top,left:me.left},children:x.map((function(e,t){var n;return"function"==typeof e?An(z,{children:F(e,ke)},t):null!=(n=null==we?void 0:we[e])?n:null}))})})},EY=A((function(e,t){var n=e.isInteractive,r=void 0===n?hY.isInteractive:n,i=e.animate,o=void 0===i?hY.animate:i,a=e.motionConfig,s=void 0===a?hY.motionConfig:a,l=e.theme,c=e.renderWrapper,u=nY(e,SY);return An(eB,{animate:o,isInteractive:r,motionConfig:s,renderWrapper:c,theme:l,children:An(MY,tY({},u,{isInteractive:r,forwardedRef:t}))})})),LY=["defaultWidth","defaultHeight","onResize","debounceResize"];A((function(e,t){var n=e.defaultWidth,r=e.defaultHeight,i=e.onResize,o=e.debounceResize,a=nY(e,LY);return An(rB,{defaultWidth:n,defaultHeight:r,onResize:i,debounceResize:o,children:function(e){var n=e.width,r=e.height;return An(EY,tY({},a,{width:n,height:r,ref:t}))}})}));var TY=["theme","isInteractive","animate","motionConfig","renderWrapper"],DY=function(e,t,n,r){return e.find((function(e){return JB(e.x+t.left,e.y+t.top,e.width,e.height,n,r)}))},FY=function(e){var t=e.data,n=e.identity,r=void 0===n?pY.identity:n,i=e.value,o=void 0===i?pY.identity:i,a=e.tile,s=void 0===a?pY.tile:a,l=e.valueFormat,c=e.innerPadding,u=void 0===c?pY.innerPadding:c,d=e.outerPadding,f=void 0===d?pY.outerPadding:d,h=e.leavesOnly,p=void 0===h?pY.leavesOnly:h,g=e.width,m=e.height,v=e.margin,b=e.colors,y=void 0===b?pY.colors:b,_=e.colorBy,x=void 0===_?pY.colorBy:_,k=e.nodeOpacity,A=void 0===k?pY.nodeOpacity:k,M=e.borderWidth,E=void 0===M?pY.borderWidth:M,L=e.borderColor,T=void 0===L?pY.borderColor:L,D=e.enableLabel,O=void 0===D?pY.enableLabel:D,z=e.label,R=void 0===z?pY.label:z,N=e.labelTextColor,P=void 0===N?pY.labelTextColor:N,I=e.orientLabel,B=void 0===I?pY.orientLabel:I,j=e.labelSkipSize,W=void 0===j?pY.labelSkipSize:j,H=e.isInteractive,q=void 0===H?pY.isInteractive:H,$=e.onMouseMove,U=e.onClick,V=e.tooltip,G=void 0===V?pY.tooltip:V,Y=e.pixelRatio,Z=void 0===Y?pY.pixelRatio:Y,X=e.role,K=e.ariaLabel,J=e.ariaLabelledBy,Q=e.ariaDescribedBy,ee=e.forwardedRef,te=C(null),ne=UB(g,m,v),re=ne.margin,ie=ne.innerWidth,oe=ne.innerHeight,ae=ne.outerWidth,se=ne.outerHeight,le=mY({data:t,identity:r,value:o,valueFormat:l,leavesOnly:p,width:ie,height:oe,tile:s,innerPadding:u,outerPadding:f,colors:y,colorBy:x,nodeOpacity:A,borderColor:T,label:R,labelTextColor:P,orientLabel:B,enableParentLabel:!1}).nodes,ce=yF();w((function(){if(null!==te.current){var e=te.current.getContext("2d");null!==e&&(te.current.width=ae*Z,te.current.height=se*Z,e.scale(Z,Z),e.fillStyle=ce.background,e.fillRect(0,0,ae,se),e.translate(re.left,re.top),le.forEach((function(t){e.fillStyle=t.color,e.fillRect(t.x,t.y,t.width,t.height),E>0&&(e.strokeStyle=t.borderColor,e.lineWidth=E,e.strokeRect(t.x,t.y,t.width,t.height))})),O&&(e.textAlign="center",e.textBaseline="middle",ij(e,ce.labels.text),le.forEach((function(t){if(t.isLeaf&&(0===W||Math.min(t.width,t.height)>W)){var n=B&&t.height>t.width;e.save(),e.translate(t.x+t.width/2,t.y+t.height/2),e.rotate(gB(n?-90:0)),oj(e,tY({},ce.labels.text,{fill:t.labelTextColor}),String(t.label)),e.restore()}}))))}}),[te,le,ae,se,ie,oe,re,E,O,B,W,ce,Z]);var ue=NF(),de=ue.showTooltipFromEvent,fe=ue.hideTooltip,he=S((function(e){if(null!==te.current){var t=QB(te.current,e),n=t[0],r=t[1],i=DY(le,re,n,r);void 0!==i?(de(F(G,{node:i}),e,"left"),null==$||$(i,e)):fe()}}),[te,le,re,de,fe,G,$]),pe=S((function(){fe()}),[fe]),ge=S((function(e){if(null!==te.current){var t=QB(te.current,e),n=t[0],r=t[1],i=DY(le,re,n,r);void 0!==i&&(null==U||U(i,e))}}),[te,le,re,U]);return An("canvas",{ref:rj(te,ee),width:ae*Z,height:se*Z,style:{width:ae,height:se},onMouseEnter:q?he:void 0,onMouseMove:q?he:void 0,onMouseLeave:q?pe:void 0,onClick:q?ge:void 0,role:X,"aria-label":K,"aria-labelledby":J,"aria-describedby":Q})},OY=A((function(e,t){var n=e.theme,r=e.isInteractive,i=void 0===r?pY.isInteractive:r,o=e.animate,a=void 0===o?pY.animate:o,s=e.motionConfig,l=void 0===s?pY.motionConfig:s,c=e.renderWrapper,u=nY(e,TY);return An(eB,{isInteractive:i,animate:a,motionConfig:l,theme:n,renderWrapper:c,children:An(FY,tY({},u,{isInteractive:i,forwardedRef:t}))})})),zY=["defaultWidth","defaultHeight","onResize","debounceResize"];A((function(e,t){var n=e.defaultWidth,r=e.defaultHeight,i=e.onResize,o=e.debounceResize,a=nY(e,zY);return An(rB,{defaultWidth:n,defaultHeight:r,onResize:i,debounceResize:o,children:function(e){var n=e.width,r=e.height;return An(OY,tY({},a,{width:n,height:r,ref:t}))}})}));const RY={mass:1,tension:500,friction:40,clamp:!1,precision:.01,velocity:0},NY=window.matchMedia("(prefers-reduced-motion: reduce)").matches,PY="var(--color-text-secondary)",IY="var(--color-text-primary)",BY={background:"var(--color-bg-primary)",axis:{ticks:{text:{fill:PY,fontSize:12}}},grid:{line:{stroke:"var(--color-border-default)",strokeDasharray:"4",strokeLinecap:"round"}},dots:{text:{fill:PY,fontSize:12}},labels:{text:{fill:IY,fontSize:12}},text:{fill:IY,fontSize:12},markers:{lineColor:"var(--color-border-default)",lineStrokeWidth:2,text:{fill:IY,fontSize:12,fontWeight:600}},legends:{text:{fill:IY,fontSize:12}},tooltip:{container:{background:"var(--color-bg-raised)",color:"var(--color-text-primary)"}}},jY={nodeOpacity:1,borderWidth:1,labelSkipSize:12,parentLabelSize:14,parentLabelPosition:"top",parentLabelPadding:6,enableParentLabel:!0,animate:!0,innerPadding:4,outerPadding:4};var WY=/^--/;function HY(e,t){return null==t||"boolean"==typeof t||""===t?"":"number"!=typeof t||0===t||WY.test(e)||$Y.hasOwnProperty(e)&&$Y[e]?(""+t).trim():t+"px"}var qY={};var $Y={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},UY=["Webkit","Ms","Moz","O"];$Y=Object.keys($Y).reduce(((e,t)=>(UY.forEach((n=>e[((e,t)=>e+t.charAt(0).toUpperCase()+t.substring(1))(n,t)]=e[t])),e)),$Y);var VY=/^(matrix|translate|scale|rotate|skew)/,GY=/^(translate)/,YY=/^(rotate|skew)/,ZY=(e,t)=>Fk.num(e)&&0!==e?e+t:e,XY=(e,t)=>Fk.arr(e)?e.every((e=>XY(e,t))):Fk.num(e)?e===t:parseFloat(e)===t,KY=class extends aA{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=>ZY(e,"px"))).join(",")})`,XY(e,0)]))),Rk(r,((e,t)=>{if("transform"===t)i.push([e||""]),o.push((e=>[e,""===e]));else if(VY.test(t)){if(delete r[t],Fk.und(e))return;const n=GY.test(t)?"px":YY.test(t)?"deg":"";i.push(Nk(e)),o.push("rotate3d"===t?([e,t,r,i])=>[`rotate3d(${e},${t},${r},${ZY(i,n)})`,XY(i,0)]:e=>[`${t}(${e.map((e=>ZY(e,n))).join(",")})`,XY(e,t.startsWith("scale")?1:0)])}})),i.length&&(r.transform=new JY(i,o)),super(r)}},JY=class extends MC{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 zk(this.inputs,((n,r)=>{const i=CC(n[0]),[o,a]=this.transforms[r](Fk.arr(i)?i:n.map(CC));e+=" "+o,t=t&&a})),t?"none":e}observerAdded(e){1==e&&zk(this.inputs,(e=>zk(e,(e=>kC(e)&&LC(e,this)))))}observerRemoved(e){0==e&&zk(this.inputs,(e=>zk(e,(e=>kC(e)&&TC(e,this)))))}eventObserved(e){"change"==e.type&&(this._value=null),SC(this,e)}};Tk.assign({batchedUpdates:N,createStringInterpolator:WC,colors:tC});var QY=hA(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],{applyAnimatedValues:function(e,t){if(!e.nodeType||!e.setAttribute)return!1;const n="filter"===e.nodeName||e.parentNode&&"filter"===e.parentNode.nodeName,{className:r,style:i,children:o,scrollTop:a,scrollLeft:s,viewBox:l,...c}=t,u=Object.values(c),d=Object.keys(c).map((t=>n||e.hasAttribute(t)?t:qY[t]||(qY[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=HY(t,i[t]);WY.test(t)?e.style.setProperty(t,n):e.style[t]=n}d.forEach(((t,n)=>{e.setAttribute(t,u[n])})),void 0!==r&&(e.className=r),void 0!==a&&(e.scrollTop=a),void 0!==s&&(e.scrollLeft=s),void 0!==l&&e.setAttribute("viewBox",l)},createAnimatedStyle:e=>new KY(e),getComponentProps:({scrollTop:e,scrollLeft:t,...n})=>n}),eZ=QY.animated;const tZ=({node:e,animatedProps:t,borderWidth:n,enableLabel:r,enableParentLabel:i,labelSkipSize:o})=>{const a=yF(),s=r&&e.isLeaf&&(0===o||Math.min(e.width,e.height)>o),l=i&&e.isParent;return An(eZ.g,{transform:MS([t.x,t.y],((e,t)=>`translate(${e},${t})`)),children:[An(eZ.rect,{"data-testid":`node.${e.id}`,width:MS(t.width,(e=>Math.max(e,0))),height:MS(t.height,(e=>Math.max(e,0))),fill:e.fill?e.fill:t.color,strokeWidth:n,stroke:e.borderColor,fillOpacity:e.opacity,onMouseEnter:e.onMouseEnter,onMouseMove:e.onMouseMove,onMouseLeave:e.onMouseLeave,onClick:e.onClick,rx:6,ry:6}),s&&An(bj,{"data-testid":`label.${e.id}`,textAnchor:"middle",dominantBaseline:"central",style:{...a.labels.text,fill:e.labelTextColor,pointerEvents:"none"},fillOpacity:t.labelOpacity,transform:MS([t.labelX,t.labelY,t.labelRotation],((e,t,n)=>`translate(${e},${t}) rotate(${n})`)),children:e.label}),l&&An(bj,{"data-testid":`parentLabel.${e.id}`,dominantBaseline:"central",style:{...a.labels.text,fill:e.parentLabelTextColor,pointerEvents:"none"},fillOpacity:t.parentLabelOpacity,transform:MS([t.parentLabelX,t.parentLabelY,t.parentLabelRotation],((e,t,n)=>`translate(${e},${t}) rotate(${n})`)),children:e.parentLabel})]})};var nZ={treeMapLegend:"styles_treeMapLegend__dV-Ny",treeMapLegend__gradient:"styles_treeMapLegend__gradient__v853j"};const rZ=({minValue:e,maxValue:t,colorFn:n,formatValue:r=e=>e.toFixed(2),domain:i})=>{const o=h((()=>i&&i.length>0?Math.min(...i):e??0),[i,e]),a=h((()=>i&&i.length>0?Math.max(...i):t??1),[i,t]),s=h((()=>{if(i&&i.length>0){const e=[...i].sort(((e,t)=>e-t)),t=a-o;return e.map((e=>{const r=(e-o)/t*100;return`${n(e,i)} ${r.toFixed(1)}%`})).join(", ")}return`${n(o)} 0%, ${n(a)} 100%`}),[o,a,n,i]),l=h((()=>r(o)),[o,r]),c=h((()=>r(a)),[a,r]);return An("div",{className:nZ.treeMapLegend,children:[An(Ln,{size:"s",type:"ui",className:nZ.treeMapLegend__label,children:c}),An("div",{className:nZ.treeMapLegend__gradient,style:{"--gradient-stops":s}}),An(Ln,{size:"s",type:"ui",className:nZ.treeMapLegend__label,children:l})]})};var iZ="styles_legendIndicatorContainer__sdAMj",oZ="styles_legendIndicatorContainerBase__OuGDD",aZ="styles_legendIndicator__e9eaz";const sZ=e=>{const{color:t,border:n}=e;return An("div",{className:iZ,children:An("div",{className:oZ,"data-has-color":!!t||void 0,children:An("i",{"aria-hidden":!0,className:aZ,style:{backgroundColor:t,borderColor:n??void 0}})})})};var lZ="styles_tooltip__ErmeC",cZ="styles_container__mEUzr",uZ="styles_label__oqfkW";const dZ=e=>{const{children:t,labelColor:n,label:r}=e;return An("div",{"data-testid":"chart-tooltip",className:lZ,"data-tooltip-type":"chart",children:An("div",{className:cZ,children:[!!r&&An(Ln,{className:uZ,type:"ui",size:"s",bold:!0,tag:"div",children:[n&&An(sZ,{color:n}),An(Ln,{tag:"div",bold:!0,children:r})]}),t]})})};var fZ="styles_legendItem__NCAPr",hZ="styles_legendItemLink__Yo6du",pZ="styles_legendName__WZbe8",gZ="styles_legendLabel__-HDGz",mZ="styles_space__pQ9pa",vZ="styles_menuSpace__7N7yT",bZ="styles_legendValue__vV5dD",yZ="styles_point__eFnBu";const _Z=e=>"number"==typeof e&&!Number.isNaN(e)||"string"==typeof e&&!!e,xZ=(e,t="en-US")=>_Z(e)?"number"==typeof e?new Intl.NumberFormat(t,{useGrouping:!0}).format(e):String(e):"",wZ=({color:e})=>An("div",{className:yZ,children:An("svg",{width:"16",height:"8",viewBox:"0 0 16 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[An("path",{d:"M0 4H16",stroke:e,"stroke-width":"2"}),An("path",{d:"M7.99902 7C9.65588 7 10.999 5.65685 10.999 4C10.999 2.34315 9.65588 1 7.99902 1C6.34217 1 4.99902 2.34315 4.99902 4C4.99902 5.65685 6.34217 7 7.99902 7Z",fill:"#FAFCFF",fillOpacity:"0.98",stroke:e,strokeWidth:"2"})]})}),kZ=e=>{const{onClick:t,legend:n,mode:i="default",hideOnEmptyValue:o=!0}=e,{color:a,border:s,label:l,link:c,value:u}=n,d=c?"a":"div",f=n.type??"default";return o&&void 0===u?null:An(d,{href:c,className:ie(fZ,c&&hZ),onClick:"function"==typeof t?()=>{t(n)}:void 0,children:[An("div",{className:pZ,children:["default"===f&&An(sZ,{color:a,border:s}),"point"===f&&An(wZ,{color:a}),An(Ln,{type:"ui",size:"s",className:gZ,children:l})]}),_Z(u)&&An(r,{children:[An("div",{className:ie("menu"===i?vZ:mZ)}),An(Ln,{type:"ui",size:"s",className:bZ,children:u})]})]})},CZ=({node:e,rows:t})=>{const{id:n,formattedValue:r,color:i,parentLabel:o}=e;return An(dZ,{label:`${o||n}: ${r}`,labelColor:i,children:t&&t.map(((e,t)=>An(kZ,{mode:"default",legend:{label:e,type:"none",id:t.toString(),color:i},hideOnEmptyValue:!1},t.toString())))})};var AZ="styles_treeMapChart__G6ayQ";const SZ=({width:e="100%",height:t=400,rootAriaLabel:n,emptyLabel:r="No data available",emptyAriaLabel:i="No data available",data:o,showLegend:a=!0,legendMinValue:s=0,legendMaxValue:l=1,formatLegend:c,colors:u,legendDomain:f,parentSkipSize:p,tooltipRows:g,labelColor:m,...v})=>{const b=h((()=>0===(o.children??[]).length),[o]),y=d((e=>(({parentSkipSize:e=48})=>t=>{const{width:n,height:r,data:i={}}=t;return Math.min(n,r)<e?"":String(i[t.parentLabel]??t.id)})({parentSkipSize:p})(e)),[p]),_=d((({node:e})=>An(CZ,{node:e,rows:g&&g(e)})),[g]);return b?An(EU,{label:r,width:e,height:t,ariaLabel:i}):An("div",{role:"img","aria-label":n,tabIndex:0,style:{width:e,height:t},className:AZ,children:[An(AY,{data:o,parentLabel:y,tooltip:_,...jY,...v,theme:BY,motionConfig:RY,animate:!NY,colors:e=>u(e.data.colorValue??0),labelTextColor:m,parentLabelTextColor:m,borderColor:"var(--color-bg-primary)",borderWidth:1,nodeComponent:tZ}),a&&An(rZ,{minValue:s,maxValue:l,colorFn:u,formatValue:c,domain:f})]})},MZ=s("light"),EZ=()=>f(MZ)??"light",LZ=e=>{const{children:t,theme:n}=e;return An(MZ.Provider,{value:n,children:t})},TZ=(e="light")=>{const t=h((()=>UU([0,1],["var(--color-status-failed-chart-fill)","var(--color-intent-info-bg)","var(--color-status-passed-chart-fill)"])),[e]);return d((e=>t(e)),[t])},DZ=(e="light")=>{const t=h((()=>UU([0,1],["var(--color-status-failed-chart-fill)","var(--color-status-passed-chart-fill)"])),[e]);return d((e=>t(e)),[t])},FZ=(e="light")=>{const t=h((()=>UU([0,1],["var(--color-text-inverse)","var(--color-text-primary)","var(--color-text-inverse)"])),[e]);return d((e=>t(e)),[t])},OZ=({title:e,translations:t,chartType:n,...r})=>{const i=t["no-results"],o=EZ(),a=TZ(o),s=DZ(o),l=FZ(o);return An(W_,{title:e,children:An(SZ,{emptyLabel:i,emptyAriaLabel:i,...r,colors:n===sr.CoverageDiff?a:s,showLegend:!1,labelColor:n===sr.CoverageDiff?e=>l(e.data.colorValue??0):()=>"var(--color-text-inverse)"})})};var zZ,RZ,NZ,PZ;var IZ,BZ,jZ=function(){if(PZ)return NZ;PZ=1;var e=NI(),t=function(){if(RZ)return zZ;RZ=1;var e=mW();return zZ=function(t,n){var r=[];return e(t,(function(e,t,i){n(e,t,i)&&r.push(e)})),r},zZ}(),n=Zj(),r=UL();return NZ=function(i,o){return(r(i)?e:t)(i,n(o,3))}}(),WZ=j(jZ);var HZ=j(function(){if(BZ)return IZ;BZ=1;var e=IE(),t=qL();return IZ=function(n){return"number"==typeof n||t(n)&&"[object Number]"==e(n)}}());function qZ(){return qZ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},qZ.apply(null,arguments)}var $Z=4,UZ=120,VZ=8,GZ=function(e){return"circle"===e.type},YZ=function(e){return"dot"===e.type},ZZ=function(e){return"rect"===e.type},XZ=function(e){var t=e.data,n=e.annotations,r=e.getPosition,i=e.getDimensions;return n.reduce((function(e,n){var o=n.offset||0;return[].concat(e,WZ(t,n.match).map((function(e){var t=r(e),a=i(e);return(GZ(n)||ZZ(n))&&(a.size=a.size+2*o,a.width=a.width+2*o,a.height=a.height+2*o),qZ({},KV(n,["match","offset"]),t,a,{size:n.size||a.size,datum:e})})))}),[])},KZ=function(e){var t,n,r=e.x,i=e.y,o=e.noteX,a=e.noteY,s=e.noteWidth,l=void 0===s?UZ:s,c=e.noteTextOffset,u=void 0===c?VZ:c;if(HZ(o))t=r+o;else{if(void 0===o.abs)throw new Error("noteX should be either a number or an object containing an 'abs' property");t=o.abs}if(HZ(a))n=i+a;else{if(void 0===a.abs)throw new Error("noteY should be either a number or an object containing an 'abs' property");n=a.abs}var d=r,f=i,h=function(e,t,n,r){var i=Math.atan2(r-t,n-e);return function(e){var t=e%360;return t<0&&(t+=360),t}(mB(i))}(r,i,t,n);if(GZ(e)){var p=vB(gB(h),e.size/2);d+=p.x,f+=p.y}if(ZZ(e)){var g=Math.round((h+90)/45)%8;0===g&&(f-=e.height/2),1===g&&(d+=e.width/2,f-=e.height/2),2===g&&(d+=e.width/2),3===g&&(d+=e.width/2,f+=e.height/2),4===g&&(f+=e.height/2),5===g&&(d-=e.width/2,f+=e.height/2),6===g&&(d-=e.width/2),7===g&&(d-=e.width/2,f-=e.height/2)}var m=t,v=t;return(h+90)%360>180?(m-=l,v-=l):v+=l,{points:[[d,f],[t,n],[v,n]],text:[m,n-u],angle:h+90}},JZ=function(e){var t=e.data,n=e.annotations,r=e.getPosition,i=e.getDimensions;return M((function(){return XZ({data:t,annotations:n,getPosition:r,getDimensions:i})}),[t,n,r,i])},QZ=function(e){var t=e.annotations;return M((function(){return t.map((function(e){return qZ({},e,{computed:KZ(qZ({},e))})}))}),[t])},eX=function(e){var t=e.datum,n=e.x,i=e.y,o=e.note,a=yF(),s=KI(),l=s.animate,c=_S({x:n,y:i,config:s.config,immediate:!l});return"function"==typeof o?F(o,{x:n,y:i,datum:t}):An(r,{children:[a.annotations.text.outlineWidth>0&&An(DE.text,{x:c.x,y:c.y,style:qZ({},a.annotations.text,{strokeLinejoin:"round",strokeWidth:2*a.annotations.text.outlineWidth,stroke:a.annotations.text.outlineColor}),children:o}),An(DE.text,{x:c.x,y:c.y,style:KV(a.annotations.text,["outlineWidth","outlineColor"]),children:o})]})},tX=function(e){var t=e.points,n=e.isOutline,r=void 0!==n&&n,i=yF(),o=M((function(){var e=t[0];return t.slice(1).reduce((function(e,t){return e+" L"+t[0]+","+t[1]}),"M"+e[0]+","+e[1])}),[t]),a=jB(o);if(r&&i.annotations.link.outlineWidth<=0)return null;var s=qZ({},i.annotations.link);return r&&(s.strokeLinecap="square",s.strokeWidth=i.annotations.link.strokeWidth+2*i.annotations.link.outlineWidth,s.stroke=i.annotations.link.outlineColor,s.opacity=i.annotations.link.outlineOpacity),An(DE.path,{fill:"none",d:a,style:s})},nX=function(e){var t=e.x,n=e.y,i=e.size,o=yF(),a=KI(),s=a.animate,l=_S({x:t,y:n,radius:i/2,config:a.config,immediate:!s});return An(r,{children:[o.annotations.outline.outlineWidth>0&&An(DE.circle,{cx:l.x,cy:l.y,r:l.radius,style:qZ({},o.annotations.outline,{fill:"none",strokeWidth:o.annotations.outline.strokeWidth+2*o.annotations.outline.outlineWidth,stroke:o.annotations.outline.outlineColor,opacity:o.annotations.outline.outlineOpacity})}),An(DE.circle,{cx:l.x,cy:l.y,r:l.radius,style:o.annotations.outline})]})},rX=function(e){var t=e.x,n=e.y,i=e.size,o=void 0===i?$Z:i,a=yF(),s=KI(),l=s.animate,c=_S({x:t,y:n,radius:o/2,config:s.config,immediate:!l});return An(r,{children:[a.annotations.outline.outlineWidth>0&&An(DE.circle,{cx:c.x,cy:c.y,r:c.radius,style:qZ({},a.annotations.outline,{fill:"none",strokeWidth:2*a.annotations.outline.outlineWidth,stroke:a.annotations.outline.outlineColor,opacity:a.annotations.outline.outlineOpacity})}),An(DE.circle,{cx:c.x,cy:c.y,r:c.radius,style:a.annotations.symbol})]})},iX=function(e){var t=e.x,n=e.y,i=e.width,o=e.height,a=e.borderRadius,s=void 0===a?6:a,l=yF(),c=KI(),u=c.animate,d=_S({x:t-i/2,y:n-o/2,width:i,height:o,config:c.config,immediate:!u});return An(r,{children:[l.annotations.outline.outlineWidth>0&&An(DE.rect,{x:d.x,y:d.y,rx:s,ry:s,width:d.width,height:d.height,style:qZ({},l.annotations.outline,{fill:"none",strokeWidth:l.annotations.outline.strokeWidth+2*l.annotations.outline.outlineWidth,stroke:l.annotations.outline.outlineColor,opacity:l.annotations.outline.outlineOpacity})}),An(DE.rect,{x:d.x,y:d.y,rx:s,ry:s,width:d.width,height:d.height,style:l.annotations.outline})]})},oX=function(e){var t=e.datum,n=e.x,i=e.y,o=e.note,a=function(e){return M((function(){return KZ(e)}),[e])}(e);if(!function(e){var t=typeof e;return R(e)||"string"===t||"function"===t||"object"===t}(o))throw new Error("note should be a valid react element");return An(r,{children:[An(tX,{points:a.points,isOutline:!0}),GZ(e)&&An(nX,{x:n,y:i,size:e.size}),YZ(e)&&An(rX,{x:n,y:i,size:e.size}),ZZ(e)&&An(iX,{x:n,y:i,width:e.width,height:e.height,borderRadius:e.borderRadius}),An(tX,{points:a.points}),An(eX,{datum:t,x:a.text[0],y:a.text[1],note:o})]})},aX=function(e,t){t.forEach((function(t,n){var r=t[0],i=t[1];0===n?e.moveTo(r,i):e.lineTo(r,i)}))},sX=function(e,t){var n=t.annotations,r=t.theme;0!==n.length&&(e.save(),n.forEach((function(t){if(!function(e){var t=typeof e;return"string"===t||"function"===t}(t.note))throw new Error("note is invalid for canvas implementation");r.annotations.link.outlineWidth>0&&(e.lineCap="square",e.strokeStyle=r.annotations.link.outlineColor,e.lineWidth=r.annotations.link.strokeWidth+2*r.annotations.link.outlineWidth,e.beginPath(),aX(e,t.computed.points),e.stroke(),e.lineCap="butt"),GZ(t)&&r.annotations.outline.outlineWidth>0&&(e.strokeStyle=r.annotations.outline.outlineColor,e.lineWidth=r.annotations.outline.strokeWidth+2*r.annotations.outline.outlineWidth,e.beginPath(),e.arc(t.x,t.y,t.size/2,0,2*Math.PI),e.stroke()),YZ(t)&&r.annotations.symbol.outlineWidth>0&&(e.strokeStyle=r.annotations.symbol.outlineColor,e.lineWidth=2*r.annotations.symbol.outlineWidth,e.beginPath(),e.arc(t.x,t.y,t.size/2,0,2*Math.PI),e.stroke()),ZZ(t)&&r.annotations.outline.outlineWidth>0&&(e.strokeStyle=r.annotations.outline.outlineColor,e.lineWidth=r.annotations.outline.strokeWidth+2*r.annotations.outline.outlineWidth,e.beginPath(),e.rect(t.x-t.width/2,t.y-t.height/2,t.width,t.height),e.stroke()),e.strokeStyle=r.annotations.link.stroke,e.lineWidth=r.annotations.link.strokeWidth,e.beginPath(),aX(e,t.computed.points),e.stroke(),GZ(t)&&(e.strokeStyle=r.annotations.outline.stroke,e.lineWidth=r.annotations.outline.strokeWidth,e.beginPath(),e.arc(t.x,t.y,t.size/2,0,2*Math.PI),e.stroke()),YZ(t)&&(e.fillStyle=r.annotations.symbol.fill,e.beginPath(),e.arc(t.x,t.y,t.size/2,0,2*Math.PI),e.fill()),ZZ(t)&&(e.strokeStyle=r.annotations.outline.stroke,e.lineWidth=r.annotations.outline.strokeWidth,e.beginPath(),e.rect(t.x-t.width/2,t.y-t.height/2,t.width,t.height),e.stroke()),"function"==typeof t.note?t.note(e,{datum:t.datum,x:t.computed.text[0],y:t.computed.text[1],theme:r}):(e.font=r.annotations.text.fontSize+"px "+r.annotations.text.fontFamily,e.textAlign="left",e.textBaseline="alphabetic",e.fillStyle=r.annotations.text.fill,e.strokeStyle=r.annotations.text.outlineColor,e.lineWidth=2*r.annotations.text.outlineWidth,r.annotations.text.outlineWidth>0&&(e.lineJoin="round",e.strokeText(t.note,t.computed.text[0],t.computed.text[1]),e.lineJoin="miter"),e.fillText(t.note,t.computed.text[0],t.computed.text[1]))})),e.restore())};function lX(){return lX=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},lX.apply(null,arguments)}function cX(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}var uX={layers:["grid","axes","cells","legends","annotations"],forceSquare:!1,xInnerPadding:0,xOuterPadding:0,yInnerPadding:0,yOuterPadding:0,sizeVariation:!1,opacity:1,activeOpacity:1,inactiveOpacity:.15,borderWidth:0,borderColor:{from:"color",modifiers:[["darker",.8]]},enableGridX:!1,enableGridY:!1,enableLabels:!0,label:"formattedValue",labelTextColor:{from:"color",modifiers:[["darker",2]]},colors:{type:"sequential",scheme:"brown_blueGreen"},emptyColor:"#000000",legends:[],annotations:[],isInteractive:!0,hoverTarget:"rowColumn",tooltip:T((function(e){var t=e.cell;return null===t.formattedValue?null:An(SF,{id:t.serieId+" - "+t.data.x,value:t.formattedValue,enableChip:!0,color:t.color})})),animate:!0,motionConfig:"gentle"},dX=lX({},uX,{axisTop:{},axisRight:null,axisBottom:null,axisLeft:{},borderRadius:0,cellComponent:"rect"}),fX=lX({},uX,{axisTop:{},axisRight:null,axisBottom:null,axisLeft:{},renderCell:"rect",pixelRatio:"undefined"!=typeof window&&window.devicePixelRatio||1}),hX=function(e){var t=e.data,n=e.width,r=e.height,i=e.xInnerPadding,o=e.xOuterPadding,a=e.yInnerPadding,s=e.yOuterPadding,l=e.forceSquare,c=new Set,u=[],d=[],f=[];t.forEach((function(e){u.push(e.id),e.data.forEach((function(t){c.add(t.x);var n=null;void 0!==t.y&&null!==t.y&&(d.push(t.y),n=t.y),f.push({id:e.id+"."+t.x,serieId:e.id,value:n,data:t})}))}));var h=Array.from(c),p=function(e){var t=e.width,n=e.height,r=e.rows,i=e.columns,o=t,a=n,s=0,l=0;if(e.forceSquare){var c=Math.max(t/i,0),u=Math.max(n/r,0),d=Math.min(c,u);s=(t-(o=d*i))/2,l=(n-(a=d*r))/2}return{offsetX:s,offsetY:l,width:o,height:a}}({width:n,height:r,columns:h.length,rows:u.length,forceSquare:l}),g=p.width,m=p.height,v=p.offsetX,b=p.offsetY,y=vH(Xi().domain(h).range([0,g]).paddingOuter(o).paddingInner(i)),_=vH(Xi().domain(u).range([0,m]).paddingOuter(s).paddingInner(a)),x=y.bandwidth(),w=_.bandwidth(),k=f.map((function(e){return lX({},e,{x:y(e.data.x)+x/2,y:_(e.serieId)+w/2,width:x,height:w})}));return{width:g,height:m,offsetX:v,offsetY:b,xScale:y,yScale:_,minValue:Math.min.apply(Math,d),maxValue:Math.max.apply(Math,d),cells:k}},pX=function(e){return{x:e.x,y:e.y}},gX=function(e){return{size:Math.max(e.width,e.height),width:e.width,height:e.height}},mX={cell:function(e,t){return e.id===t.id},row:function(e,t){return e.serieId===t.serieId},column:function(e,t){return e.data.x===t.data.x},rowColumn:function(e,t){return e.serieId===t.serieId||e.data.x===t.data.x}},vX=function(e){var t,n,r,i=e.cells,o=e.minValue,a=e.maxValue,s=e.sizeVariation,l=e.colors,c=e.emptyColor,u=e.opacity,d=e.activeOpacity,f=e.inactiveOpacity,h=e.borderColor,p=e.label,g=e.labelTextColor,m=e.valueFormat,v=e.activeIds,b=M((function(){return function(e,t,n){if(!e)return function(){return 1};var r=So().domain(e.values?e.values:[t,n]).range(e.sizes);return function(e){return null===e?1:r(e)}}(t,n,r)}),[t=s,n=o,r=a]),y=M((function(){return"function"==typeof l?null:Rq(l,{min:o,max:a})}),[l,o,a]),_=S((function(e){if(null!==e.value){if("function"==typeof l)return l(e);if(null!==y)return y(e.value)}return c}),[l,y,c]),x=yF(),w=Eq(h,x),k=Eq(g,x),C=YB(m),A=XB(p);return{cells:M((function(){return i.map((function(e){var t=u;v.length>0&&(t=v.includes(e.id)?d:f);var n=b(e.value),r=lX({},e,{width:e.width*n,height:e.height*n,formattedValue:null!==e.value?C(e.value):null,opacity:t});return r.label=A(r),r.color=_(r),r.borderColor=w(r),r.labelTextColor=k(r),r}))}),[i,b,_,w,k,C,A,v,u,d,f]),colorScale:y}},bX=function(e){var t=e.data,n=e.valueFormat,r=e.width,i=e.height,o=e.xOuterPadding,a=void 0===o?uX.xOuterPadding:o,s=e.xInnerPadding,l=void 0===s?uX.xInnerPadding:s,c=e.yOuterPadding,u=void 0===c?uX.yOuterPadding:c,d=e.yInnerPadding,f=void 0===d?uX.yInnerPadding:d,h=e.forceSquare,p=void 0===h?uX.forceSquare:h,g=e.sizeVariation,m=void 0===g?uX.sizeVariation:g,v=e.colors,b=void 0===v?uX.colors:v,y=e.emptyColor,_=void 0===y?uX.emptyColor:y,w=e.opacity,k=void 0===w?uX.opacity:w,C=e.activeOpacity,A=void 0===C?uX.activeOpacity:C,S=e.inactiveOpacity,E=void 0===S?uX.inactiveOpacity:S,L=e.borderColor,T=void 0===L?uX.borderColor:L,D=e.label,F=void 0===D?uX.label:D,O=e.labelTextColor,z=void 0===O?uX.labelTextColor:O,R=e.hoverTarget,N=void 0===R?uX.hoverTarget:R,P=x(null),I=P[0],B=P[1],j=function(e){var t=e.data,n=e.width,r=e.height,i=e.xInnerPadding,o=e.xOuterPadding,a=e.yInnerPadding,s=e.yOuterPadding,l=e.forceSquare;return M((function(){return hX({data:t,width:n,height:r,xInnerPadding:i,xOuterPadding:o,yInnerPadding:a,yOuterPadding:s,forceSquare:l})}),[t,n,r,i,o,a,s,l])}({data:t,width:r,height:i,xOuterPadding:a,xInnerPadding:l,yOuterPadding:u,yInnerPadding:f,forceSquare:p}),W=j.width,H=j.height,q=j.offsetX,$=j.offsetY,U=j.cells,V=j.xScale,G=j.yScale,Y=j.minValue,Z=j.maxValue,X=M((function(){if(!I)return[];var e=mX[N];return U.filter((function(t){return e(t,I)})).map((function(e){return e.id}))}),[U,I,N]),K=vX({cells:U,minValue:Y,maxValue:Z,sizeVariation:m,colors:b,emptyColor:_,opacity:k,activeOpacity:A,inactiveOpacity:E,borderColor:T,label:F,labelTextColor:z,valueFormat:n,activeIds:X});return{width:W,height:H,offsetX:q,offsetY:$,cells:K.cells,xScale:V,yScale:G,colorScale:K.colorScale,activeCell:I,setActiveCell:B}},yX=function(e,t){return JZ({data:e,annotations:t,getPosition:pX,getDimensions:gX})},_X=T((function(e){var t=e.cell,n=e.borderWidth,r=e.borderRadius,i=e.animatedProps,o=e.onMouseEnter,a=e.onMouseMove,s=e.onMouseLeave,l=e.onClick,c=e.enableLabels,u=yF(),d=M((function(){return{onMouseEnter:o?o(t):void 0,onMouseMove:a?a(t):void 0,onMouseLeave:s?s(t):void 0,onClick:l?l(t):void 0}}),[t,o,a,s,l]);return An(DE.g,lX({"data-testid":"cell."+t.id,style:{cursor:"pointer"},opacity:i.opacity},d,{transform:MS([i.x,i.y,i.scale],(function(e,t,n){return"translate("+e+", "+t+") scale("+n+")"})),children:[An(DE.rect,{transform:MS([i.width,i.height],(function(e,t){return"translate("+-.5*e+", "+-.5*t+")"})),fill:i.color,width:i.width,height:i.height,stroke:i.borderColor,strokeWidth:n,rx:r,ry:r},t.id),c&&An(bj,{textAnchor:"middle",dominantBaseline:"central",fill:i.labelTextColor,style:lX({},u.labels.text,{fill:void 0,userSelect:"none"}),children:t.label})]}))})),xX=T((function(e){var t=e.cell,n=e.borderWidth,r=e.animatedProps,i=e.onMouseEnter,o=e.onMouseMove,a=e.onMouseLeave,s=e.onClick,l=e.enableLabels,c=yF(),u=M((function(){return{onMouseEnter:i?i(t):void 0,onMouseMove:o?o(t):void 0,onMouseLeave:a?a(t):void 0,onClick:s?s(t):void 0}}),[t,i,o,a,s]);return An(DE.g,lX({"data-testid":"cell."+t.id,style:{cursor:"pointer"},opacity:r.opacity},u,{transform:MS([r.x,r.y],(function(e,t){return"translate("+e+", "+t+")"})),children:[An(DE.circle,{r:MS([r.width,r.height],(function(e,t){return Math.min(e,t)/2})),fill:r.color,fillOpacity:r.opacity,strokeWidth:n,stroke:r.borderColor}),l&&An(bj,{dominantBaseline:"central",textAnchor:"middle",fill:r.labelTextColor,style:lX({},c.labels.text,{fill:void 0}),children:t.label})]}))})),wX=function(e){return{x:e.x,y:e.y,width:e.width,height:e.height,color:e.color,opacity:0,borderColor:e.borderColor,labelTextColor:e.labelTextColor,scale:0}},kX=function(e){return{x:e.x,y:e.y,width:e.width,height:e.height,color:e.color,opacity:e.opacity,borderColor:e.borderColor,labelTextColor:e.labelTextColor,scale:1}},CX=function(e){return{x:e.x,y:e.y,width:e.width,height:e.height,color:e.color,opacity:0,borderColor:e.borderColor,labelTextColor:e.labelTextColor,scale:0}},AX=function(e){var t,n=e.cells,i=e.cellComponent,o=e.borderRadius,a=e.borderWidth,s=e.isInteractive,l=e.setActiveCell,c=e.onMouseEnter,u=e.onMouseMove,d=e.onMouseLeave,f=e.onClick,h=e.tooltip,p=e.enableLabels,g=KI(),m=g.animate,v=g.config,b=xS(n,{keys:function(e){return e.id},initial:kX,from:wX,enter:kX,update:kX,leave:CX,config:v,immediate:!m}),y=NF(),_=y.showTooltipFromEvent,x=y.hideTooltip,w=M((function(){if(s)return function(e){return function(t){_(F(h,{cell:e}),t),l(e),null==c||c(e,t)}}}),[s,_,h,l,c]),k=M((function(){if(s)return function(e){return function(t){_(F(h,{cell:e}),t),null==u||u(e,t)}}}),[s,_,h,u]),C=M((function(){if(s)return function(e){return function(t){x(),l(null),null==d||d(e,t)}}}),[s,x,l,d]),A=M((function(){if(s)return function(e){return function(t){null==f||f(e,t)}}}),[s,f]);return t="rect"===i?_X:"circle"===i?xX:i,An(r,{children:b((function(e,n){return F(t,{cell:n,borderRadius:o,borderWidth:a,animatedProps:e,enableLabels:p,onMouseEnter:w,onMouseMove:k,onMouseLeave:C,onClick:A})}))})},SX=function(e){var t=e.cells,n=e.annotations,i=yX(t,n);return An(r,{children:i.map((function(e,t){return An(oX,lX({},e),t)}))})},MX=["isInteractive","animate","motionConfig","theme","renderWrapper"],EX=function(e){var t=e.data,n=e.layers,r=void 0===n?dX.layers:n,i=e.valueFormat,o=e.width,a=e.height,s=e.margin,l=e.forceSquare,c=void 0===l?dX.forceSquare:l,u=e.xInnerPadding,d=void 0===u?dX.xInnerPadding:u,f=e.xOuterPadding,h=void 0===f?dX.xOuterPadding:f,p=e.yInnerPadding,g=void 0===p?dX.yInnerPadding:p,m=e.yOuterPadding,v=void 0===m?dX.yOuterPadding:m,b=e.sizeVariation,y=void 0===b?dX.sizeVariation:b,_=e.cellComponent,x=void 0===_?dX.cellComponent:_,w=e.opacity,k=void 0===w?dX.opacity:w,C=e.activeOpacity,A=void 0===C?dX.activeOpacity:C,S=e.inactiveOpacity,E=void 0===S?dX.inactiveOpacity:S,L=e.borderRadius,T=void 0===L?dX.borderRadius:L,D=e.borderWidth,O=void 0===D?dX.borderWidth:D,R=e.borderColor,N=void 0===R?dX.borderColor:R,P=e.enableGridX,I=void 0===P?dX.enableGridX:P,B=e.enableGridY,j=void 0===B?dX.enableGridY:B,W=e.axisTop,H=void 0===W?dX.axisTop:W,q=e.axisRight,$=void 0===q?dX.axisRight:q,U=e.axisBottom,V=void 0===U?dX.axisBottom:U,G=e.axisLeft,Y=void 0===G?dX.axisLeft:G,Z=e.enableLabels,X=void 0===Z?dX.enableLabels:Z,K=e.label,J=void 0===K?dX.label:K,Q=e.labelTextColor,ee=void 0===Q?dX.labelTextColor:Q,te=e.colors,ne=void 0===te?dX.colors:te,re=e.emptyColor,ie=void 0===re?dX.emptyColor:re,oe=e.legends,ae=void 0===oe?dX.legends:oe,se=e.annotations,le=void 0===se?dX.annotations:se,ce=e.isInteractive,ue=void 0===ce?dX.isInteractive:ce,de=e.onMouseEnter,fe=e.onMouseMove,he=e.onMouseLeave,pe=e.onClick,ge=e.hoverTarget,me=void 0===ge?dX.hoverTarget:ge,ve=e.tooltip,be=void 0===ve?dX.tooltip:ve,ye=e.role,_e=e.ariaLabel,xe=e.ariaLabelledBy,we=e.ariaDescribedBy,ke=e.forwardedRef,Ce=UB(o,a,s),Ae=Ce.margin,Se=Ce.innerWidth,Me=Ce.innerHeight,Ee=Ce.outerWidth,Le=Ce.outerHeight,Te=bX({data:t,valueFormat:i,width:Se,height:Me,forceSquare:c,xInnerPadding:d,xOuterPadding:h,yInnerPadding:g,yOuterPadding:v,sizeVariation:y,colors:ne,emptyColor:ie,opacity:k,activeOpacity:A,inactiveOpacity:E,borderColor:N,label:J,labelTextColor:ee,hoverTarget:me}),De=Te.width,Fe=Te.height,Oe=Te.offsetX,ze=Te.offsetY,Re=Te.xScale,Ne=Te.yScale,Pe=Te.cells,Ie=Te.colorScale,Be=Te.activeCell,je=Te.setActiveCell,We=M((function(){return lX({},Ae,{top:Ae.top+ze,left:Ae.left+Oe})}),[Ae,Oe,ze]),He={grid:null,axes:null,cells:null,legends:null,annotations:null};r.includes("grid")&&(He.grid=An(uq,{width:De,height:Fe,xScale:I?Re:null,yScale:j?Ne:null},"grid")),r.includes("axes")&&(He.axes=An(sq,{xScale:Re,yScale:Ne,width:De,height:Fe,top:H,right:$,bottom:V,left:Y},"axes")),r.includes("cells")&&(He.cells=An(z,{children:An(AX,{cells:Pe,cellComponent:x,borderRadius:T,borderWidth:O,isInteractive:ue,setActiveCell:je,onMouseEnter:de,onMouseMove:fe,onMouseLeave:he,onClick:pe,tooltip:be,enableLabels:X})},"cells")),r.includes("legends")&&null!==Ie&&(He.legends=An(z,{children:ae.map((function(e,t){return F(i$,lX({},e,{key:t,containerWidth:De,containerHeight:Fe,scale:Ie}))}))},"legends")),r.includes("annotations")&&le.length>0&&(He.annotations=An(SX,{cells:Pe,annotations:le},"annotations"));var qe={cells:Pe,activeCell:Be,setActiveCell:je};return An(RB,{width:Ee,height:Le,margin:Object.assign({},We,{top:We.top,left:We.left}),role:ye,ariaLabel:_e,ariaLabelledBy:xe,ariaDescribedBy:we,ref:ke,children:r.map((function(e,t){var n;return"function"==typeof e?An(z,{children:F(e,qe)},t):null!=(n=null==He?void 0:He[e])?n:null}))})},LX=A((function(e,t){var n=e.isInteractive,r=void 0===n?dX.isInteractive:n,i=e.animate,o=void 0===i?dX.animate:i,a=e.motionConfig,s=void 0===a?dX.motionConfig:a,l=e.theme,c=e.renderWrapper,u=cX(e,MX);return An(eB,{animate:o,isInteractive:r,motionConfig:s,renderWrapper:c,theme:l,children:An(EX,lX({isInteractive:r},u,{forwardedRef:t}))})})),TX=["defaultWidth","defaultHeight","onResize","debounceResize"],DX=A((function(e,t){var n=e.defaultWidth,r=e.defaultHeight,i=e.onResize,o=e.debounceResize,a=cX(e,TX);return An(rB,{defaultWidth:n,defaultHeight:r,onResize:i,debounceResize:o,children:function(e){var n=e.width,r=e.height;return An(LX,lX({width:n,height:r},a,{ref:t}))}})})),FX=function(e,t){var n=t.cell,r=n.x,i=n.y,o=n.width,a=n.height,s=n.color,l=n.borderColor,c=n.opacity,u=n.labelTextColor,d=n.label,f=t.borderWidth,h=t.enableLabels,p=t.theme;e.save(),e.globalAlpha=c,e.fillStyle=s,f>0&&(e.strokeStyle=l,e.lineWidth=f),e.fillRect(r-o/2,i-a/2,o,a),f>0&&e.strokeRect(r-o/2,i-a/2,o,a),h&&(ij(e,p.labels.text),e.textAlign="center",e.textBaseline="middle",oj(e,lX({},p.labels.text,{fill:u}),d,r,i)),e.restore()},OX=function(e,t){var n=t.cell,r=n.x,i=n.y,o=n.width,a=n.height,s=n.color,l=n.borderColor,c=n.opacity,u=n.labelTextColor,d=n.label,f=t.borderWidth,h=t.enableLabels,p=t.theme;e.save(),e.globalAlpha=c;var g=Math.min(o,a)/2;e.fillStyle=s,f>0&&(e.strokeStyle=l,e.lineWidth=f),e.beginPath(),e.arc(r,i,g,0,2*Math.PI),e.fill(),f>0&&e.stroke(),h&&(ij(e,p.labels.text),e.textAlign="center",e.textBaseline="middle",oj(e,lX({},p.labels.text,{fill:u}),d,r,i)),e.restore()},zX=["theme","isInteractive","animate","motionConfig","renderWrapper"],RX=function(e){var t,n=e.data,r=e.layers,i=void 0===r?fX.layers:r,o=e.valueFormat,a=e.width,s=e.height,l=e.margin,c=e.xInnerPadding,u=void 0===c?fX.xInnerPadding:c,d=e.xOuterPadding,f=void 0===d?fX.xOuterPadding:d,h=e.yInnerPadding,p=void 0===h?fX.yInnerPadding:h,g=e.yOuterPadding,m=void 0===g?fX.yOuterPadding:g,v=e.forceSquare,b=void 0===v?fX.forceSquare:v,y=e.sizeVariation,_=void 0===y?fX.sizeVariation:y,x=e.renderCell,k=void 0===x?fX.renderCell:x,A=e.opacity,E=void 0===A?fX.opacity:A,L=e.activeOpacity,T=void 0===L?fX.activeOpacity:L,D=e.inactiveOpacity,O=void 0===D?fX.inactiveOpacity:D,z=e.borderWidth,R=void 0===z?fX.borderWidth:z,N=e.borderColor,P=void 0===N?fX.borderColor:N,I=e.enableGridX,B=void 0===I?fX.enableGridX:I,j=e.enableGridY,W=void 0===j?fX.enableGridY:j,H=e.axisTop,q=void 0===H?fX.axisTop:H,$=e.axisRight,U=void 0===$?fX.axisRight:$,V=e.axisBottom,G=void 0===V?fX.axisBottom:V,Y=e.axisLeft,Z=void 0===Y?fX.axisLeft:Y,X=e.enableLabels,K=void 0===X?fX.enableLabels:X,J=e.label,Q=void 0===J?fX.label:J,ee=e.labelTextColor,te=void 0===ee?fX.labelTextColor:ee,ne=e.colors,re=void 0===ne?fX.colors:ne,ie=e.emptyColor,oe=void 0===ie?fX.emptyColor:ie,ae=e.legends,se=void 0===ae?fX.legends:ae,le=e.annotations,ce=void 0===le?fX.annotations:le,ue=e.isInteractive,de=void 0===ue?fX.isInteractive:ue,fe=e.onClick,he=e.hoverTarget,pe=void 0===he?fX.hoverTarget:he,ge=e.tooltip,me=void 0===ge?fX.tooltip:ge,ve=e.role,be=e.ariaLabel,ye=e.ariaLabelledBy,_e=e.ariaDescribedBy,xe=e.pixelRatio,we=void 0===xe?fX.pixelRatio:xe,ke=e.forwardedRef,Ce=C(null),Ae=UB(a,s,l),Se=Ae.margin,Me=Ae.innerWidth,Ee=Ae.innerHeight,Le=Ae.outerWidth,Te=Ae.outerHeight,De=bX({data:n,valueFormat:o,width:Me,height:Ee,xInnerPadding:u,xOuterPadding:f,yInnerPadding:p,yOuterPadding:m,forceSquare:b,sizeVariation:_,colors:re,emptyColor:oe,opacity:E,activeOpacity:T,inactiveOpacity:O,borderColor:P,label:Q,labelTextColor:te,hoverTarget:pe}),Fe=De.width,Oe=De.height,ze=De.offsetX,Re=De.offsetY,Ne=De.xScale,Pe=De.yScale,Ie=De.cells,Be=De.colorScale,je=De.activeCell,We=De.setActiveCell,He=M((function(){return lX({},Se,{top:Se.top+Re,left:Se.left+ze})}),[Se,ze,Re]),qe=yX(Ie,ce),$e=QZ({annotations:qe});t="function"==typeof k?k:"circle"===k?OX:FX;var Ue=yF(),Ve=M((function(){return{cells:Ie,activeCell:je,setActiveCell:We}}),[Ie,je,We]);w((function(){if(null!==Ce.current){var e=Ce.current.getContext("2d");e&&(Ce.current.width=Le*we,Ce.current.height=Te*we,e.scale(we,we),e.fillStyle=Ue.background,e.fillRect(0,0,Le,Te),e.translate(He.left,He.top),i.forEach((function(n){"grid"===n?(e.lineWidth=Ue.grid.line.strokeWidth,e.strokeStyle=Ue.grid.line.stroke,B&&hq(e,{width:Fe,height:Oe,scale:Ne,axis:"x"}),W&&hq(e,{width:Fe,height:Oe,scale:Pe,axis:"y"})):"axes"===n?fq(e,{xScale:Ne,yScale:Pe,width:Fe,height:Oe,top:q,right:U,bottom:G,left:Z,theme:Ue}):"cells"===n?(e.textAlign="center",e.textBaseline="middle",Ie.forEach((function(n){t(e,{cell:n,borderWidth:R,enableLabels:K,theme:Ue})}))):"legends"===n&&null!==Be?se.forEach((function(t){!function(e,t){var n,r=t.containerWidth,i=t.containerHeight,o=t.anchor,a=t.translateX,s=void 0===a?0:a,l=t.translateY,c=void 0===l?0:l,u=t.scale,d=t.length,f=void 0===d?Xq.length:d,h=t.thickness,p=void 0===h?Xq.thickness:h,g=t.direction,m=void 0===g?Xq.direction:g,v=t.ticks,b=t.tickPosition,y=void 0===b?Xq.tickPosition:b,_=t.tickSize,x=void 0===_?Xq.tickSize:_,w=t.tickSpacing,k=void 0===w?Xq.tickSpacing:w,C=t.tickOverlap,A=void 0===C?Xq.tickOverlap:C,S=t.tickFormat,M=void 0===S?Xq.tickFormat:S,E=t.title,L=t.titleAlign,T=void 0===L?Xq.titleAlign:L,D=t.titleOffset,F=void 0===D?Xq.titleOffset:D,O=t.theme,z=t$({scale:u,ticks:v,length:f,thickness:p,direction:m,tickPosition:y,tickSize:x,tickSpacing:k,tickOverlap:A,tickFormat:M,title:E,titleAlign:T,titleOffset:F}),R=z.width,N=z.height,P=z.gradientX1,I=z.gradientY1,B=z.gradientX2,j=z.gradientY2,W=z.colorStops,H=z.ticks,q=z.titleText,$=z.titleX,U=z.titleY,V=z.titleRotation,G=z.titleVerticalAlign,Y=z.titleHorizontalAlign,Z=Qq({anchor:o,translateX:s,translateY:c,containerWidth:r,containerHeight:i,width:R,height:N}),X=Z.x,K=Z.y,J={font:e.font,textAlign:e.textAlign,textBaseline:e.textBaseline};e.save(),e.translate(X,K);var Q=e.createLinearGradient(P*R,I*N,B*R,j*N);W.forEach((function(e){Q.addColorStop(e.offset,e.stopColor)})),e.fillStyle=Q,e.fillRect(0,0,R,N),ij(e,O.legends.ticks.text);var ee=null!=(n=O.legends.ticks.line.strokeWidth)?n:0,te="string"!=typeof ee&&ee>0;H.forEach((function(t){te&&(e.lineWidth=ee,O.axis.ticks.line.stroke&&(e.strokeStyle=O.axis.ticks.line.stroke),e.lineCap="square",e.beginPath(),e.moveTo(t.x1,t.y1),e.lineTo(t.x2,t.y2),e.stroke()),e.textAlign="middle"===t.textHorizontalAlign?"center":t.textHorizontalAlign,e.textBaseline="central"===t.textVerticalAlign?"middle":t.textVerticalAlign,oj(e,O.legends.ticks.text,t.text,t.textX,t.textY)})),q&&(e.save(),e.translate($,U),e.rotate(gB(V)),ij(e,O.legends.title.text),e.textAlign="middle"===Y?"center":Y,e.textBaseline=G,oj(e,O.legends.title.text,q),e.restore()),e.restore(),e.font=J.font,e.textAlign=J.textAlign,e.textBaseline=J.textBaseline}(e,lX({},t,{containerWidth:Fe,containerHeight:Oe,scale:Be,theme:Ue}))})):"annotations"===n?sX(e,{annotations:$e,theme:Ue}):"function"==typeof n&&n(e,Ve)})))}}),[Ce,we,Le,Te,Fe,Oe,He,i,Ve,Ie,t,B,W,q,U,G,Z,Ne,Pe,Ue,R,K,Be,se,$e]);var Ge=NF(),Ye=Ge.showTooltipFromEvent,Ze=Ge.hideTooltip,Xe=S((function(e){if(null!==Ce.current){var t=QB(Ce.current,e),n=t[0],r=t[1],i=Ie.find((function(e){return JB(e.x+He.left-e.width/2,e.y+He.top-e.height/2,e.width,e.height,n,r)}));void 0!==i?(We(i),Ye(F(me,{cell:i}),e)):(We(null),Ze())}}),[Ce,Ie,He,We,Ye,Ze,me]),Ke=S((function(){We(null),Ze()}),[We,Ze]),Je=S((function(e){null!==je&&(null==fe||fe(je,e))}),[je,fe]);return An("canvas",{ref:rj(Ce,ke),width:Le*we,height:Te*we,style:{width:Le,height:Te},onMouseEnter:de?Xe:void 0,onMouseMove:de?Xe:void 0,onMouseLeave:de?Ke:void 0,onClick:de?Je:void 0,role:ve,"aria-label":be,"aria-labelledby":ye,"aria-describedby":_e})},NX=A((function(e,t){var n=e.theme,r=e.isInteractive,i=void 0===r?fX.isInteractive:r,o=e.animate,a=void 0===o?fX.animate:o,s=e.motionConfig,l=void 0===s?fX.motionConfig:s,c=e.renderWrapper,u=cX(e,zX);return An(eB,{isInteractive:i,animate:a,motionConfig:l,theme:n,renderWrapper:c,children:An(RX,lX({isInteractive:i},u,{forwardedRef:t}))})})),PX=["defaultWidth","defaultHeight","onResize","debounceResize"];A((function(e,t){var n=e.defaultWidth,r=e.defaultHeight,i=e.onResize,o=e.debounceResize,a=cX(e,PX);return An(rB,{defaultWidth:n,defaultHeight:r,onResize:i,debounceResize:o,children:function(e){var n=e.width,r=e.height;return An(NX,lX({width:n,height:r},a,{ref:t}))}})}));const IX={top:60,right:90,bottom:60,left:90},BX="#E0E0E0",jX=400,WX="100%",HX="No data available",qX="No data available",$X=.05,UX=.05,VX=!0,GX=">-.2%",YX={tickSize:5,tickPadding:5,tickRotation:0},ZX={tickSize:5,tickPadding:5,tickRotation:-90},XX={anchor:"bottom",translateX:0,translateY:30,length:400,thickness:8,direction:"row",tickPosition:"after",tickSize:3,tickSpacing:4,tickOverlap:!1,tickFormat:">-.2%",title:"Value",titleAlign:"middle",titleOffset:4},KX=e=>{const{cell:t}=e,n=h((()=>({id:t.id.toString(),color:t.color,label:t.data.x,value:t.label})),[t]);return An(dZ,{label:t.serieId,children:An(kZ,{mode:"default",legend:n})})};var JX="styles_heatMap__E95gO";const QX=({width:e=WX,height:t=400,data:n,rootAriaLabel:r,emptyLabel:i=HX,emptyAriaLabel:o=qX,margin:a=IX,axisLeft:s=YX,axisTop:l=ZX,xInnerPadding:c=.05,yInnerPadding:u=.05,legends:f=[XX],forceSquare:p=true,valueFormat:g=GX,...m})=>{const v=h((()=>0===n.length),[n]),b=((e="light")=>{const t=h((()=>UU([0,1],["var(--color-chart-heatmap-low)","var(--color-chart-heatmap-mid-strong)","var(--color-chart-heatmap-mid)","var(--color-chart-heatmap-mid-strong)","var(--color-chart-heatmap-high)"])),[e]);return d((e=>t(e)),[t])})(EZ());return v?An(EU,{label:i,width:e,height:t,ariaLabel:o}):An("div",{role:"img","aria-label":r,tabIndex:0,style:{width:e,height:t},className:JX,children:An(DX,{data:n,margin:a,axisBottom:null,axisRight:null,axisLeft:s,axisTop:l,xInnerPadding:c,yInnerPadding:u,legends:f,forceSquare:p,theme:BY,motionConfig:RY,animate:!NY,valueFormat:g,colors:e=>b(e.data.y??0),labelTextColor:"var(--color-text-inverse)",tooltip:KX,emptyColor:"var(--color-control-bg)",inactiveOpacity:0,borderRadius:4,...m})})},eK=({title:e,translations:t,rootAriaLabel:n,width:r,height:i,data:o,...a})=>{const s=t["no-results"];return An(W_,{title:e,children:An(QX,{data:o,width:r,height:i,emptyLabel:s,emptyAriaLabel:s,rootAriaLabel:n,...a})})};function tK(){return tK=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},tK.apply(null,arguments)}function nK(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}var rK,iK=function(e){var t=e.bars,n=e.annotations,i=JZ({data:t,annotations:n,getPosition:function(e){return{x:e.x+e.width/2,y:e.y+e.height/2}},getDimensions:function(e){var t=e.height,n=e.width;return{width:n,height:t,size:Math.max(n,t)}}});return An(r,{children:i.map((function(e,t){return An(oX,tK({},e),t)}))})},oK=function(e){var t=e.width,n=e.height,i=e.legends,o=e.toggleSerie;return An(r,{children:i.map((function(e,r){var i,a=e[0],s=e[1];return An(l$,tK({},a,{containerWidth:t,containerHeight:n,data:null!=(i=a.data)?i:s,toggleSerie:a.toggleSerie&&"keys"===a.dataFrom?o:void 0}),r)}))})},aK=["data"],sK=["color","label"],lK={indexBy:"id",keys:["value"],groupMode:"stacked",layout:"vertical",valueScale:{type:"linear",nice:!0,round:!1},indexScale:{type:"band",round:!1},padding:.1,innerPadding:0,enableGridX:!1,enableGridY:!0,enableLabel:!0,label:"formattedValue",labelPosition:"middle",labelOffset:0,labelSkipWidth:0,labelSkipHeight:0,labelTextColor:{theme:"labels.text.fill"},colorBy:"id",colors:{scheme:"nivo"},borderRadius:0,borderWidth:0,borderColor:{from:"color"},isInteractive:!0,tooltip:function(e){var t=e.color,n=e.label,r=nK(e,sK);return An(SF,{id:n,value:r.formattedValue,enableChip:!0,color:t})},tooltipLabel:function(e){return e.id+" - "+e.indexValue},legends:[],initialHiddenIds:[],annotations:[],enableTotals:!1,totalsOffset:10},cK=tK({},lK,{layers:["grid","axes","bars","totals","markers","legends","annotations"],axisTop:null,axisRight:null,axisBottom:{},axisLeft:{},barComponent:function(e){var t,n=e.bar,r=n.data,i=nK(n,aK),o=e.style,a=o.borderColor,s=o.color,l=o.height,c=o.labelColor,u=o.labelOpacity,d=o.labelX,f=o.labelY,h=o.transform,p=o.width,g=o.textAnchor,m=e.borderRadius,v=e.borderWidth,b=e.label,y=e.shouldRenderLabel,_=e.isInteractive,x=e.onClick,w=e.onMouseEnter,k=e.onMouseLeave,C=e.tooltip,A=e.isFocusable,E=e.ariaLabel,L=e.ariaLabelledBy,T=e.ariaDescribedBy,D=e.ariaDisabled,O=e.ariaHidden,z=yF(),R=NF(),N=R.showTooltipFromEvent,P=R.showTooltipAt,I=R.hideTooltip,B=M((function(){return function(){return F(C,tK({},i,r))}}),[C,i,r]),j=S((function(e){null==x||x(tK({color:i.color},r),e)}),[i,r,x]),W=S((function(e){return N(B(),e)}),[N,B]),H=S((function(e){null==w||w(r,e),N(B(),e)}),[r,w,N,B]),q=S((function(e){null==k||k(r,e),I()}),[r,I,k]),$=S((function(){P(B(),[i.absX+i.width/2,i.absY])}),[P,B,i]),U=S((function(){I()}),[I]);return An(DE.g,{transform:h,children:[An(DE.rect,{width:MS(p,(function(e){return Math.max(e,0)})),height:MS(l,(function(e){return Math.max(e,0)})),rx:m,ry:m,fill:null!=(t=r.fill)?t:s,strokeWidth:v,stroke:a,focusable:A,tabIndex:A?0:void 0,"aria-label":E?E(r):void 0,"aria-labelledby":L?L(r):void 0,"aria-describedby":T?T(r):void 0,"aria-disabled":D?D(r):void 0,"aria-hidden":O?O(r):void 0,onMouseEnter:_?H:void 0,onMouseMove:_?W:void 0,onMouseLeave:_?q:void 0,onClick:_?j:void 0,onFocus:_&&A?$:void 0,onBlur:_&&A?U:void 0,"data-testid":"bar.item."+r.id+"."+r.index}),y&&An(bj,{x:d,y:f,textAnchor:g,dominantBaseline:"central",fillOpacity:u,style:tK({},z.labels.text,{pointerEvents:"none",fill:c}),children:b})]})},defs:[],fill:[],markers:[],animate:!0,animateOnMount:!1,motionConfig:"default",role:"img",isFocusable:!1}),uK=tK({},lK,{layers:["grid","axes","bars","totals","legends","annotations"],axisTop:null,axisRight:null,axisBottom:{},axisLeft:{},renderBar:function(e,t){var n=t.bar,r=n.color,i=n.height,o=n.width,a=n.x,s=n.y,l=t.borderColor,c=t.borderRadius,u=t.borderWidth,d=t.label,f=t.shouldRenderLabel,h=t.labelStyle,p=t.labelX,g=t.labelY,m=t.textAnchor;e.fillStyle=r,u>0&&(e.strokeStyle=l,e.lineWidth=u),e.beginPath(),function(e,t,n,r,i,o){o>0?(e.moveTo(t+o,n),e.lineTo(t+r-o,n),e.quadraticCurveTo(t+r,n,t+r,n+o),e.lineTo(t+r,n+i-o),e.quadraticCurveTo(t+r,n+i,t+r-o,n+i),e.lineTo(t+o,n+i),e.quadraticCurveTo(t,n+i,t,n+i-o),e.lineTo(t,n+o),e.quadraticCurveTo(t,n,t+o,n),e.closePath()):e.rect(t,n,r,i)}(e,a,s,o,i,Math.min(c,i)),e.fill(),u>0&&e.stroke(),f&&(e.textBaseline="middle",e.textAlign="middle"===m?"center":m,oj(e,h,d,a+p,s+g))},pixelRatio:"undefined"!=typeof window&&null!=(rK=window.devicePixelRatio)?rK:1}),dK=function(e,t,n,r,i,o){return jH(r,{all:e.map(t),min:0,max:0},i,o).padding(n)},fK=function(e,t){return e.map((function(e){return tK({},t.reduce((function(e,t){return e[t]=null,e}),{}),e)}))},hK=function(e){return Object.keys(e).reduce((function(t,n){return e[n]&&(t[n]=e[n]),t}),{})},pK=function(e){return[e,Number(e)]};function gK(e,t,n,r){return void 0===e&&(e=lK.layout),void 0===n&&(n=lK.labelPosition),void 0===r&&(r=lK.labelOffset),function(i,o){var a=r*(t?-1:1);if("horizontal"===e){var s=i/2;return"start"===n?s=t?i:0:"end"===n&&(s=t?0:i),{labelX:s+a,labelY:o/2,textAnchor:"middle"===n?"middle":t?"end":"start"}}var l=o/2;return"start"===n?l=t?0:o:"end"===n&&(l=t?o:0),{labelX:i/2,labelY:l-a,textAnchor:"middle"}}}var mK=["layout","width","height","padding","innerPadding","valueScale","indexScale","hiddenIds"],vK=function(e,t){return e>t},bK=function(e,t){return e<t},yK=function(e,t){return Array.from(" ".repeat(t-e),(function(t,n){return e+n}))},_K=function(e){return vK(e,0)?0:e},xK=function(e,t,n,r){var i=e.data,o=e.formatValue,a=e.getColor,s=e.getIndex,l=e.getTooltipLabel,c=e.innerPadding,u=void 0===c?0:c,d=e.keys,f=e.xScale,h=e.yScale,p=e.margin,g=n?bK:vK,m=i.map(hK),v=[];return d.forEach((function(e,n){return yK(0,f.domain().length).forEach((function(c){var d,b,y,_=pK(i[c][e]),x=_[0],w=_[1],k=s(i[c]),C=(null!=(d=f(k))?d:0)+t*n+u*n,A=g(b=w,0)?null!=(y=h(b))?y:0:r,S=function(e,t){var n;return g(e,0)?r-t:(null!=(n=h(e))?n:0)-r}(w,A),M={id:e,value:null===x?x:w,formattedValue:o(w),hidden:!1,index:c,indexValue:k,data:m[c]};v.push({key:e+"."+M.indexValue,index:v.length,data:M,x:C,y:A,absX:p.left+C,absY:p.top+A,width:t,height:S,color:a(M),label:l(M)})}))})),v},wK=function(e,t,n,r){var i=e.data,o=e.formatValue,a=e.getIndex,s=e.getColor,l=e.getTooltipLabel,c=e.keys,u=e.innerPadding,d=void 0===u?0:u,f=e.xScale,h=e.yScale,p=e.margin,g=n?bK:vK,m=i.map(hK),v=[];return c.forEach((function(e,n){return yK(0,h.domain().length).forEach((function(c){var u,b,y,_=pK(i[c][e]),x=_[0],w=_[1],k=a(i[c]),C=g(b=w,0)?r:null!=(y=f(b))?y:0,A=(null!=(u=h(k))?u:0)+t*n+d*n,S=function(e,t){var n;return g(e,0)?(null!=(n=f(e))?n:0)-r:r-t}(w,C),M={id:e,value:null===x?x:w,formattedValue:o(w),hidden:!1,index:c,indexValue:k,data:m[c]};v.push({key:e+"."+M.indexValue,index:v.length,data:M,x:C,y:A,absX:p.left+C,absY:p.top+A,width:S,height:t,color:s(M),label:l(M)})}))})),v},kK=function(e){var t,n,r,i=e.layout,o=e.width,a=e.height,s=e.padding,l=void 0===s?0:s,c=e.innerPadding,u=void 0===c?0:c,d=e.valueScale,f=e.indexScale,h=e.hiddenIds,p=void 0===h?[]:h,g=nK(e,mK),m=g.keys.filter((function(e){return!p.includes(e)})),v=fK(g.data,m),b="vertical"===i?["y","x",o]:["x","y",a],y=b[0],_=b[1],x=b[2],w=dK(v,g.getIndex,l,f,x,_),k="auto"===d.min?_K:function(e){return e},C=v.reduce((function(e,t){return[].concat(e,m.map((function(e){return t[e]})))}),[]).filter(Boolean),A=jH(d,{all:C,min:k(Math.min.apply(Math,C)),max:(r=Math.max.apply(Math,C),isFinite(r)?r:0)},"x"===y?o:a,y),S="vertical"===i?[w,A]:[A,w],M=S[0],E=S[1],L=(w.bandwidth()-u*(m.length-1))/m.length,T=[tK({},g,{data:v,keys:m,innerPadding:u,xScale:M,yScale:E}),L,null!=(t=d.reverse)&&t,null!=(n=A(0))?n:0];return{xScale:M,yScale:E,bars:L>0?"vertical"===i?xK.apply(void 0,T):wK.apply(void 0,T):[]}},CK=["data","layout","width","height","padding","valueScale","indexScale","hiddenIds"],AK=function(e){var t;return e.some(Array.isArray)?AK((t=[]).concat.apply(t,e)):e},SK=function(e,t,n){var r=e.formatValue,i=e.getColor,o=e.getIndex,a=e.getTooltipLabel,s=e.innerPadding,l=e.stackedData,c=e.xScale,u=e.yScale,d=e.margin,f=[];return l.forEach((function(e){return c.domain().forEach((function(l,h){var p,g,m=e[h],v=null!=(p=c(o(m.data)))?p:0,b=(null!=(g=function(e){return u(e[n?0:1])}(m))?g:0)+.5*s,y=function(e,t){var r;return(null!=(r=u(e[n?1:0]))?r:0)-t}(m,b)-s,_=pK(m.data[e.key]),x=_[0],w=_[1],k={id:e.key,value:null===x?x:w,formattedValue:r(w),hidden:!1,index:h,indexValue:l,data:hK(m.data)};f.push({key:e.key+"."+l,index:f.length,data:k,x:v,y:b,absX:d.left+v,absY:d.top+b,width:t,height:y,color:i(k),label:a(k)})}))})),f},MK=function(e,t,n){var r=e.formatValue,i=e.getColor,o=e.getIndex,a=e.getTooltipLabel,s=e.innerPadding,l=e.stackedData,c=e.xScale,u=e.yScale,d=e.margin,f=[];return l.forEach((function(e){return u.domain().forEach((function(l,h){var p,g,m=e[h],v=null!=(p=u(o(m.data)))?p:0,b=(null!=(g=function(e){return c(e[n?1:0])}(m))?g:0)+.5*s,y=function(e,t){var r;return(null!=(r=c(e[n?0:1]))?r:0)-t}(m,b)-s,_=pK(m.data[e.key]),x=_[0],w=_[1],k={id:e.key,value:null===x?x:w,formattedValue:r(w),hidden:!1,index:h,indexValue:l,data:hK(m.data)};f.push({key:e.key+"."+l,index:f.length,data:k,x:b,y:v,absX:d.left+b,absY:d.top+v,width:y,height:t,color:i(k),label:a(k)})}))})),f},EK=function(e){var t,n,r=e.data,i=e.layout,o=e.width,a=e.height,s=e.padding,l=void 0===s?0:s,c=e.valueScale,u=e.indexScale,d=e.hiddenIds,f=void 0===d?[]:d,h=nK(e,CK),p=h.keys.filter((function(e){return!f.includes(e)})),g=function(){var e=ll([]),t=Ac,n=Cc,r=Sc;function i(i){var o,a,s=Array.from(e.apply(this,arguments),Mc),l=s.length,c=-1;for(const e of i)for(o=0,++c;o<l;++o)(s[o][c]=[0,+r(e,s[o].key,c,i)]).data=e;for(o=0,a=Rl(t(s));o<l;++o)s[a[o]].index=o;return n(s,a),s}return i.keys=function(t){return arguments.length?(e="function"==typeof t?t:ll(Array.from(t)),i):e},i.value=function(e){return arguments.length?(r="function"==typeof e?e:ll(+e),i):r},i.order=function(e){return arguments.length?(t=null==e?Ac:"function"==typeof e?e:ll(Array.from(e)),i):t},i.offset=function(e){return arguments.length?(n=null==e?Cc:e,i):n},i}().keys(p).offset(Ec)(fK(r,p)),m="vertical"===i?["y","x",o]:["x","y",a],v=m[0],b=m[1],y=m[2],_=dK(r,h.getIndex,l,u,y,b),x=(n=AK(g),"log"===c.type?n.filter((function(e){return 0!==e})):n),w=jH(c,{all:x,min:Math.min.apply(Math,x),max:Math.max.apply(Math,x)},"x"===v?o:a,v),k="vertical"===i?[_,w]:[w,_],C=k[0],A=k[1],S=h.innerPadding>0?h.innerPadding:0,M=_.bandwidth(),E=[tK({},h,{innerPadding:S,stackedData:g,xScale:C,yScale:A}),M,null!=(t=c.reverse)&&t];return{xScale:C,yScale:A,bars:M>0?"vertical"===i?SK.apply(void 0,E):MK.apply(void 0,E):[]}},LK=function(e){var t=e.bars,n=e.direction,r=e.from,i=e.groupMode,o=e.layout,a=e.legendLabel,s=e.reverse,l=ZB(null!=a?a:"indexes"===r?"indexValue":"id");return"indexes"===r?function(e,t,n){var r=gW(e.map((function(e){var t,r;return{id:null!=(t=e.data.indexValue)?t:"",label:n(e.data),hidden:e.data.hidden,color:null!=(r=e.color)?r:"#000"}})),(function(e){return e.id}));return"horizontal"===t&&r.reverse(),r}(t,o,l):function(e,t,n,r,i,o){var a=gW(e.map((function(e){var t;return{id:e.data.id,label:o(e.data),hidden:e.data.hidden,color:null!=(t=e.color)?t:"#000"}})),(function(e){return e.id}));return("vertical"===t&&"stacked"===r&&"column"===n&&!0!==i||"horizontal"===t&&"stacked"===r&&!0===i)&&a.reverse(),a}(t,o,n,i,s,l)},TK=function(e,t,n){var r=e.get(t)||0;e.set(t,r+n)},DK=function(e){var t,n=e.indexBy,r=void 0===n?lK.indexBy:n,i=e.keys,o=void 0===i?lK.keys:i,a=e.label,s=void 0===a?lK.label:a,l=e.tooltipLabel,c=void 0===l?lK.tooltipLabel:l,u=e.valueFormat,d=e.colors,f=void 0===d?lK.colors:d,h=e.colorBy,p=void 0===h?lK.colorBy:h,g=e.borderColor,m=void 0===g?lK.borderColor:g,v=e.labelTextColor,b=void 0===v?lK.labelTextColor:v,y=e.groupMode,_=void 0===y?lK.groupMode:y,w=e.layout,k=void 0===w?lK.layout:w,C=e.data,A=e.margin,E=e.width,L=e.height,T=e.padding,D=void 0===T?lK.padding:T,F=e.innerPadding,O=void 0===F?lK.innerPadding:F,z=e.valueScale,R=void 0===z?lK.valueScale:z,N=e.indexScale,P=void 0===N?lK.indexScale:N,I=e.initialHiddenIds,B=void 0===I?lK.initialHiddenIds:I,j=e.enableLabel,W=void 0===j?lK.enableLabel:j,H=e.labelSkipWidth,q=void 0===H?lK.labelSkipWidth:H,$=e.labelSkipHeight,U=void 0===$?lK.labelSkipHeight:$,V=e.legends,G=void 0===V?lK.legends:V,Y=e.legendLabel,Z=e.totalsOffset,X=void 0===Z?lK.totalsOffset:Z,K=x(null!=B?B:[]),J=K[0],Q=K[1],ee=S((function(e){Q((function(t){return t.indexOf(e)>-1?t.filter((function(t){return t!==e})):[].concat(t,[e])}))}),[]),te=XB(r),ne=XB(s),re=XB(c),ie=YB(u),oe=yF(),ae=Pq(f,p),se=Eq(m,oe),le=Eq(b,oe),ce=("grouped"===_?kK:EK)({layout:k,data:C,getIndex:te,keys:o,width:E,height:L,getColor:ae,padding:D,innerPadding:O,valueScale:R,indexScale:P,hiddenIds:J,formatValue:ie,getTooltipLabel:re,margin:A}),ue=ce.bars,de=ce.xScale,fe=ce.yScale,he=M((function(){return ue.filter((function(e){return null!==e.data.value})).map((function(e,t){return tK({},e,{index:t})}))}),[ue]),pe=S((function(e){var t=e.width,n=e.height;return!(!W||q>0&&t<q||U>0&&n<U)}),[W,q,U]),ge=M((function(){return o.map((function(e){var t=ue.find((function(t){return t.data.id===e}));return tK({},t,{data:tK({id:e},null==t?void 0:t.data,{hidden:J.includes(e)})})}))}),[J,o,ue]),me=null!=(t=R.reverse)&&t,ve=M((function(){return G.map((function(e){return[e,LK({bars:"keys"===e.dataFrom?ge:ue,direction:e.direction,from:e.dataFrom,groupMode:_,layout:k,legendLabel:Y,reverse:me})]}))}),[G,ge,ue,_,k,Y,me]),be=M((function(){return function(e,t,n,r,i,o,a){void 0===r&&(r=lK.layout),void 0===i&&(i=lK.groupMode);var s=[];if(0===e.length)return s;var l=new Map,c=e[0].width,u=e[0].height;if("stacked"===i){var d=new Map;e.forEach((function(e){var t=e.data,n=t.indexValue,r=t.value;TK(l,n,Number(r)),function(e,t,n){var r=e.get(t)||0;e.set(t,r+(n>0?n:0))}(d,n,Number(r))})),d.forEach((function(e,i){var d,f,h,p=l.get(i)||0;"vertical"===r?(d=t(i),f=n(e),h=n(e/2)):(d=t(e),f=n(i),h=t(e/2)),d+="vertical"===r?c/2:o,f+="vertical"===r?-o:u/2,s.push({key:"total_"+i,x:d,y:f,value:p,formattedValue:a(p),animationOffset:h})}))}else if("grouped"===i){var f=new Map,h=new Map;e.forEach((function(e){var t=e.data,n=t.indexValue,r=t.value;TK(l,n,Number(r)),function(e,t,n){var r=e.get(t)||0;e.set(t,Math.max(r,Number(n)))}(f,n,Number(r)),function(e,t){var n=e.get(t)||0;e.set(t,n+1)}(h,n)})),f.forEach((function(e,i){var d,f,p,g=l.get(i)||0,m=h.get(i);"vertical"===r?(d=t(i),f=n(e),p=n(e/2)):(d=t(e),f=n(i),p=t(e/2)),d+="vertical"===r?m*c/2:o,f+="vertical"===r?-o:m*u/2,s.push({key:"total_"+i,x:d,y:f,value:g,formattedValue:a(g),animationOffset:p})}))}return s}(ue,de,fe,k,_,X,ie)}),[ue,de,fe,k,_,X,ie]);return{bars:ue,barsWithValue:he,xScale:de,yScale:fe,getIndex:te,getLabel:ne,getTooltipLabel:re,formatValue:ie,getColor:ae,getBorderColor:se,getLabelColor:le,shouldRenderBarLabel:pe,hiddenIds:J,toggleSerie:ee,legendsWithData:ve,barTotals:be}},FK=function(e){var t=e.data,n=e.springConfig,r=e.animate,i=e.layout,o=void 0===i?cK.layout:i,a=yF();return xS(t,{keys:function(e){return e.key},from:function(e){return{x:"vertical"===o?e.x:e.animationOffset,y:"vertical"===o?e.animationOffset:e.y,labelOpacity:0}},enter:function(e){return{x:e.x,y:e.y,labelOpacity:1}},update:function(e){return{x:e.x,y:e.y,labelOpacity:1}},leave:function(e){return{x:"vertical"===o?e.x:e.animationOffset,y:"vertical"===o?e.animationOffset:e.y,labelOpacity:0}},config:n,immediate:!r,initial:r?void 0:null})((function(e,t){return An(DE.text,{x:e.x,y:e.y,fillOpacity:e.labelOpacity,style:tK({},a.labels.text,{pointerEvents:"none"}),fontWeight:"bold",fontSize:a.labels.text.fontSize,fontFamily:a.labels.text.fontFamily,textAnchor:"vertical"===o?"middle":"start",alignmentBaseline:"vertical"===o?"alphabetic":"middle",children:t.formattedValue},t.key)}))},OK=["isInteractive","animate","motionConfig","theme","renderWrapper"],zK=function(e){var t,n=e.data,r=e.indexBy,i=e.keys,o=e.margin,a=e.width,s=e.height,l=e.groupMode,c=e.layout,u=e.valueScale,d=e.indexScale,f=e.padding,h=e.innerPadding,p=e.axisTop,g=e.axisRight,m=e.axisBottom,v=void 0===m?cK.axisBottom:m,b=e.axisLeft,y=void 0===b?cK.axisLeft:b,_=e.enableGridX,x=void 0===_?cK.enableGridX:_,w=e.enableGridY,k=void 0===w?cK.enableGridY:w,C=e.gridXValues,A=e.gridYValues,S=e.layers,E=void 0===S?cK.layers:S,L=e.barComponent,T=void 0===L?cK.barComponent:L,D=e.enableLabel,O=void 0===D?cK.enableLabel:D,R=e.label,N=e.labelSkipWidth,P=void 0===N?cK.labelSkipWidth:N,I=e.labelSkipHeight,B=void 0===I?cK.labelSkipHeight:I,j=e.labelTextColor,W=e.labelPosition,H=void 0===W?cK.labelPosition:W,q=e.labelOffset,$=void 0===q?cK.labelOffset:q,U=e.markers,V=void 0===U?cK.markers:U,G=e.colorBy,Y=e.colors,Z=e.defs,X=void 0===Z?cK.defs:Z,K=e.fill,J=void 0===K?cK.fill:K,Q=e.borderRadius,ee=void 0===Q?cK.borderRadius:Q,te=e.borderWidth,ne=void 0===te?cK.borderWidth:te,re=e.borderColor,ie=e.annotations,oe=void 0===ie?cK.annotations:ie,ae=e.legendLabel,se=e.tooltipLabel,le=e.valueFormat,ce=e.isInteractive,ue=void 0===ce?cK.isInteractive:ce,de=e.tooltip,fe=void 0===de?cK.tooltip:de,he=e.onClick,pe=e.onMouseEnter,ge=e.onMouseLeave,me=e.legends,ve=e.role,be=void 0===ve?cK.role:ve,ye=e.ariaLabel,_e=e.ariaLabelledBy,xe=e.ariaDescribedBy,we=e.isFocusable,ke=void 0===we?cK.isFocusable:we,Ce=e.barAriaLabel,Ae=e.barAriaLabelledBy,Se=e.barAriaDescribedBy,Me=e.barAriaHidden,Ee=e.barAriaDisabled,Le=e.initialHiddenIds,Te=e.enableTotals,De=void 0===Te?cK.enableTotals:Te,Fe=e.totalsOffset,Oe=void 0===Fe?cK.totalsOffset:Fe,ze=e.forwardedRef,Re=KI(),Ne=Re.animate,Pe=Re.config,Ie=UB(a,s,o),Be=Ie.outerWidth,je=Ie.outerHeight,We=Ie.margin,He=Ie.innerWidth,qe=Ie.innerHeight,$e=DK({indexBy:r,label:R,tooltipLabel:se,valueFormat:le,colors:Y,colorBy:G,borderColor:re,labelTextColor:j,groupMode:l,layout:c,data:n,keys:i,margin:We,width:He,height:qe,padding:f,innerPadding:h,valueScale:u,indexScale:d,enableLabel:O,labelSkipWidth:P,labelSkipHeight:B,legends:me,legendLabel:ae,initialHiddenIds:Le,totalsOffset:Oe}),Ue=$e.bars,Ve=$e.barsWithValue,Ge=$e.xScale,Ye=$e.yScale,Ze=$e.getLabel,Xe=$e.getTooltipLabel,Ke=$e.getBorderColor,Je=$e.getLabelColor,Qe=$e.shouldRenderBarLabel,et=$e.toggleSerie,tt=$e.legendsWithData,nt=$e.barTotals,rt=$e.getColor,it=gK(c,null!=(t=null==u?void 0:u.reverse)&&t,H,$),ot=xS(Ve,{keys:function(e){return e.key},from:function(e){return tK({borderColor:Ke(e),color:e.color,height:0,labelColor:Je(e),labelOpacity:0},it(e.width,e.height),{transform:"translate("+e.x+", "+(e.y+e.height)+")",width:e.width},"vertical"===c?{}:{height:e.height,transform:"translate("+e.x+", "+e.y+")",width:0})},enter:function(e){return tK({borderColor:Ke(e),color:e.color,height:e.height,labelColor:Je(e),labelOpacity:1},it(e.width,e.height),{transform:"translate("+e.x+", "+e.y+")",width:e.width})},update:function(e){return tK({borderColor:Ke(e),color:e.color,height:e.height,labelColor:Je(e),labelOpacity:1},it(e.width,e.height),{transform:"translate("+e.x+", "+e.y+")",width:e.width})},leave:function(e){return tK({borderColor:Ke(e),color:e.color,height:0,labelColor:Je(e),labelOpacity:0},it(e.width,e.height),{labelY:0,transform:"translate("+e.x+", "+(e.y+e.height)+")",width:e.width},"vertical"===c?{}:tK({},it(e.width,e.height),{labelX:0,height:e.height,transform:"translate("+e.x+", "+e.y+")",width:0}))},config:Pe,immediate:!Ne,initial:Ne?void 0:null}),at=M((function(){return{borderRadius:ee,borderWidth:ne,enableLabel:O,isInteractive:ue,labelSkipWidth:P,labelSkipHeight:B,onClick:he,onMouseEnter:pe,onMouseLeave:ge,getTooltipLabel:Xe,tooltip:fe,isFocusable:ke,ariaLabel:Ce,ariaLabelledBy:Ae,ariaDescribedBy:Se,ariaHidden:Me,ariaDisabled:Ee}}),[ee,ne,O,Xe,ue,B,P,he,pe,ge,fe,ke,Ce,Ae,Se,Me,Ee]),st=nj(X,Ue,J,{dataKey:"data",targetKey:"data.fill"}),lt={annotations:null,axes:null,bars:null,grid:null,legends:null,markers:null,totals:null};E.includes("annotations")&&(lt.annotations=An(iK,{bars:Ue,annotations:oe},"annotations")),E.includes("axes")&&(lt.axes=An(sq,{xScale:Ge,yScale:Ye,width:He,height:qe,top:p,right:g,bottom:v,left:y},"axes")),E.includes("bars")&&(lt.bars=An(z,{children:ot((function(e,t){return F(T,tK({},at,{bar:t,style:e,shouldRenderLabel:Qe(t),label:Ze(t.data)}))}))},"bars")),E.includes("grid")&&(lt.grid=An(uq,{width:He,height:qe,xScale:x?Ge:null,yScale:k?Ye:null,xValues:C,yValues:A},"grid")),E.includes("legends")&&(lt.legends=An(oK,{width:He,height:qe,legends:tt,toggleSerie:et},"legends")),E.includes("markers")&&(lt.markers=An(BB,{markers:V,width:He,height:qe,xScale:Ge,yScale:Ye},"markers")),E.includes("totals")&&De&&(lt.totals=An(FK,{data:nt,springConfig:Pe,animate:Ne,layout:c},"totals"));var ct=tK({},at,{margin:We,width:a,height:s,innerWidth:He,innerHeight:qe,bars:Ue,legendData:tt,enableLabel:O,xScale:Ge,yScale:Ye,tooltip:fe,getTooltipLabel:Xe,onClick:he,onMouseEnter:pe,onMouseLeave:ge,getColor:rt});return An(RB,{width:Be,height:je,margin:We,defs:st,role:be,ariaLabel:ye,ariaLabelledBy:_e,ariaDescribedBy:xe,isFocusable:ke,ref:ze,children:E.map((function(e,t){var n;return"function"==typeof e?An(z,{children:F(e,ct)},t):null!=(n=null==lt?void 0:lt[e])?n:null}))})},RK=A((function(e,t){var n=e.isInteractive,r=void 0===n?cK.isInteractive:n,i=e.animate,o=void 0===i?cK.animate:i,a=e.motionConfig,s=void 0===a?cK.motionConfig:a,l=e.theme,c=e.renderWrapper,u=nK(e,OK);return An(eB,{animate:o,isInteractive:r,motionConfig:s,renderWrapper:c,theme:l,children:An(zK,tK({},u,{isInteractive:r,forwardedRef:t}))})})),NK=["isInteractive","renderWrapper","theme"],PK=function(e,t,n,r){return e.find((function(e){return JB(e.x+t.left,e.y+t.top,e.width,e.height,n,r)}))},IK=function(e){var t,n=e.data,r=e.indexBy,i=e.keys,o=e.margin,a=e.width,s=e.height,l=e.groupMode,c=e.layout,u=e.valueScale,d=e.indexScale,f=e.padding,h=e.innerPadding,p=e.axisTop,g=e.axisRight,m=e.axisBottom,v=void 0===m?uK.axisBottom:m,b=e.axisLeft,y=void 0===b?uK.axisLeft:b,_=e.enableGridX,x=void 0===_?uK.enableGridX:_,k=e.enableGridY,A=void 0===k?uK.enableGridY:k,E=e.gridXValues,L=e.gridYValues,T=e.labelPosition,D=void 0===T?uK.labelPosition:T,O=e.labelOffset,z=void 0===O?uK.labelOffset:O,R=e.layers,N=void 0===R?uK.layers:R,P=e.renderBar,I=void 0===P?uK.renderBar:P,B=e.enableLabel,j=void 0===B?uK.enableLabel:B,W=e.label,H=e.labelSkipWidth,q=void 0===H?uK.labelSkipWidth:H,$=e.labelSkipHeight,U=void 0===$?uK.labelSkipHeight:$,V=e.labelTextColor,G=e.colorBy,Y=e.colors,Z=e.borderRadius,X=void 0===Z?uK.borderRadius:Z,K=e.borderWidth,J=void 0===K?uK.borderWidth:K,Q=e.borderColor,ee=e.annotations,te=void 0===ee?uK.annotations:ee,ne=e.legendLabel,re=e.tooltipLabel,ie=e.valueFormat,oe=e.isInteractive,ae=void 0===oe?uK.isInteractive:oe,se=e.tooltip,le=void 0===se?uK.tooltip:se,ce=e.onClick,ue=e.onMouseEnter,de=e.onMouseLeave,fe=e.legends,he=e.pixelRatio,pe=void 0===he?uK.pixelRatio:he,ge=e.role,me=e.forwardedRef,ve=e.enableTotals,be=void 0===ve?uK.enableTotals:ve,ye=e.totalsOffset,_e=void 0===ye?uK.totalsOffset:ye,xe=C(null),we=yF(),ke=UB(a,s,o),Ce=ke.margin,Ae=ke.innerWidth,Se=ke.innerHeight,Me=ke.outerWidth,Ee=ke.outerHeight,Le=DK({indexBy:r,label:W,tooltipLabel:re,valueFormat:ie,colors:Y,colorBy:G,borderColor:Q,labelTextColor:V,groupMode:l,layout:c,data:n,keys:i,margin:Ce,width:Ae,height:Se,padding:f,innerPadding:h,valueScale:u,indexScale:d,enableLabel:j,labelSkipWidth:q,labelSkipHeight:U,legends:fe,legendLabel:ne,totalsOffset:_e}),Te=Le.bars,De=Le.barsWithValue,Fe=Le.xScale,Oe=Le.yScale,ze=Le.getLabel,Re=Le.getTooltipLabel,Ne=Le.getBorderColor,Pe=Le.getLabelColor,Ie=Le.shouldRenderBarLabel,Be=Le.legendsWithData,je=Le.barTotals,We=Le.getColor,He=NF(),qe=He.showTooltipFromEvent,$e=He.hideTooltip,Ue=QZ({annotations:JZ({data:Te,annotations:te,getPosition:function(e){return{x:e.x,y:e.y}},getDimensions:function(e){var t=e.width,n=e.height;return{width:t,height:n,size:Math.max(t,n)}}})}),Ve=M((function(){return{borderRadius:X,borderWidth:J,isInteractive:ae,isFocusable:!1,labelSkipWidth:q,labelSkipHeight:U,margin:Ce,width:a,height:s,innerWidth:Ae,innerHeight:Se,bars:Te,legendData:Be,enableLabel:j,xScale:Fe,yScale:Oe,tooltip:le,getTooltipLabel:Re,onClick:ce,onMouseEnter:ue,onMouseLeave:de,getColor:We}}),[X,J,ae,q,U,Ce,a,s,Ae,Se,Te,Be,j,Fe,Oe,le,Re,ce,ue,de,We]),Ge=YB(ie),Ye=gK(c,null!=(t=null==u?void 0:u.reverse)&&t,D,z);w((function(){if(xe.current){xe.current.width=Me*pe,xe.current.height=Ee*pe;var e=xe.current.getContext("2d");e.scale(pe,pe),e.fillStyle=we.background,e.fillRect(0,0,Me,Ee),e.translate(Ce.left,Ce.top),N.forEach((function(t){"grid"===t?"number"==typeof we.grid.line.strokeWidth&&we.grid.line.strokeWidth>0&&(e.lineWidth=we.grid.line.strokeWidth,e.strokeStyle=we.grid.line.stroke,x&&hq(e,{width:Ae,height:Se,scale:Fe,axis:"x",values:E}),A&&hq(e,{width:Ae,height:Se,scale:Oe,axis:"y",values:L})):"axes"===t?fq(e,{xScale:Fe,yScale:Oe,width:Ae,height:Se,top:p,right:g,bottom:v,left:y,theme:we}):"bars"===t?(ij(e,we.text),De.forEach((function(t){I(e,tK({bar:t,borderColor:Ne(t),borderRadius:X,borderWidth:J,label:ze(t.data),shouldRenderLabel:Ie(t),labelStyle:tK({},we.labels.text,{fill:Pe(t)})},Ye(t.width,t.height)))}))):"legends"===t?Be.forEach((function(t){var n=t[0],r=t[1];u$(e,tK({},n,{data:r,containerWidth:Ae,containerHeight:Se,theme:we}))})):"annotations"===t?sX(e,{annotations:Ue,theme:we}):"totals"===t&&be?function(e,t,n,r){void 0===r&&(r=uK.layout),ij(e,n.labels.text),e.textBaseline="vertical"===r?"alphabetic":"middle",e.textAlign="vertical"===r?"center":"start",t.forEach((function(t){oj(e,n.labels.text,t.formattedValue,t.x,t.y)}))}(e,je,we,c):"function"==typeof t&&t(e,Ve)})),e.save()}}),[v,y,g,p,De,X,J,Ue,x,A,Ne,ze,Pe,E,L,l,s,Se,Ae,Ve,N,c,Be,Ce.left,Ce.top,Ee,Me,pe,I,Fe,Oe,Ie,we,a,je,be,Ge,Ye]);var Ze=S((function(e){if(Te&&xe.current){var t=QB(xe.current,e),n=t[0],r=t[1],i=PK(Te,Ce,n,r);void 0!==i?(qe(F(le,tK({},i.data,{color:i.color,label:i.label,value:Number(i.data.value)})),e),"mouseenter"===e.type&&(null==ue||ue(i.data,e))):$e()}}),[$e,Ce,ue,Te,qe,le]),Xe=S((function(e){if(Te&&xe.current){$e();var t=QB(xe.current,e),n=t[0],r=t[1],i=PK(Te,Ce,n,r);i&&(null==de||de(i.data,e))}}),[$e,Ce,de,Te]),Ke=S((function(e){if(Te&&xe.current){var t=QB(xe.current,e),n=t[0],r=t[1],i=PK(Te,Ce,n,r);void 0!==i&&(null==ce||ce(tK({},i.data,{color:i.color}),e))}}),[Ce,ce,Te]);return An("canvas",{ref:rj(xe,me),width:Me*pe,height:Ee*pe,style:{width:Me,height:Ee,cursor:ae?"auto":"normal"},onMouseEnter:ae?Ze:void 0,onMouseMove:ae?Ze:void 0,onMouseLeave:ae?Xe:void 0,onClick:ae?Ke:void 0,role:ge})},BK=A((function(e,t){var n=e.isInteractive,r=e.renderWrapper,i=e.theme,o=nK(e,NK);return An(eB,{isInteractive:n,renderWrapper:r,theme:i,animate:!1,children:An(IK,tK({},o,{isInteractive:n,forwardedRef:t}))})})),jK=["defaultWidth","defaultHeight","onResize","debounceResize"],WK=A((function(e,t){var n=e.defaultWidth,r=e.defaultHeight,i=e.onResize,o=e.debounceResize,a=nK(e,jK);return An(rB,{defaultWidth:n,defaultHeight:r,onResize:i,debounceResize:o,children:function(e){var n=e.width,r=e.height;return An(RK,tK({},a,{width:n,height:r,ref:t}))}})})),HK=["defaultWidth","defaultHeight","onResize","debounceResize"];A((function(e,t){var n=e.defaultWidth,r=e.defaultHeight,i=e.onResize,o=e.debounceResize,a=nK(e,HK);return An(rB,{defaultWidth:n,defaultHeight:r,onResize:i,debounceResize:o,children:function(e){var n=e.width,r=e.height;return An(BK,tK({},a,{width:n,height:r,ref:t}))}})}));var qK="styles_legends__LAO35";const $K=e=>{const{data:t,onLegendClick:n}=e;return An("div",{className:qK,children:t.map((e=>An(kZ,{legend:e,onClick:n},e.id)))})},UK=({value:e,indexBy:t,legend:n,formatIndexBy:r=(e,t)=>e[t]?.toString()??"",formatLegendValue:i=e=>(e.value??0).toString()??"",allowZeroValues:o=!1})=>{const a=o?n:n.filter((t=>_Z(e[t.id])&&0!==Number(e[t.id])));return An(dZ,{label:r(e,t),children:a.map((t=>An(kZ,{mode:"menu",legend:{...t,value:i({...t,value:e[t.id]})}},t.id)))})},VK=e=>{const{background:t,grid:n}=yF();return An("g",{children:[An("line",{opacity:"1",x1:"0",x2:e.innerWidth,y1:e.innerHeight,y2:e.innerHeight,stroke:t,strokeWidth:"1"}),An("line",{opacity:"1",x1:"0",x2:e.innerWidth,y1:e.innerHeight,y2:e.innerHeight,stroke:n.line.stroke,strokeWidth:"1"})]})},GK=s(null),YK=e=>{const{children:t}=e,[n,r]=c(void 0);return An(GK.Provider,{value:[n,r],children:t})},ZK=e=>{const t=l(null),[n,r]=c(!1),[i,o]=c(null),a=l(null),s=l((()=>{})),u=d((async(n,i)=>{if(!t.current)return;if(a.current===n)return;const l=()=>{if(t.current)return Nh(n,t.current,{middleware:[Rh(),Oh(6),zh({padding:5})],strategy:"fixed",placement:e}).then((({x:e,y:n,strategy:r})=>{t.current&&(t.current.style.position=r,t.current.style.pointerEvents="none",t.current.style.left=`${e}px`,t.current.style.top=`${n}px`)}))};await l(),a.current=n,r(!0),o(i),s.current=Fh(n,t.current,l)}),[e]),f=d((e=>{a.current===e&&(s.current(),a.current=null,r(!1),o(null))}),[]);return{tooltipRef:t,isVisible:n,handleShowTooltip:u,handleHideTooltip:f,data:i}},XK={s:16,m:24,l:32},KK=(e,t)=>Math.min(e,XK[t]),JK=e=>{const{isInteractive:t,isFocusable:r,innerHeight:i,innerWidth:o,tooltip:a,indexBy:s,layout:l="vertical",bars:c,hasValueFn:u=t=>Object.entries(t).filter((([t])=>t!==e.indexBy)).reduce(((e,[,t])=>e+ig.toNumber(t??0)),0)>0}=e,d="horizontal"===l,{handleShowTooltip:f,isVisible:h,handleHideTooltip:p,tooltipRef:g,data:m}=ZK(d?"bottom":"left"),{animate:v,config:b}=KI(),{opacity:y}=_S({opacity:h?1:0,config:{...b,duration:75},immediate:!v});if(!t)return null;const _=Math.max(...c.map((e=>e.data.index+1))),x=c.slice(0,_);if(x.length<=0)return null;const[w,k]=x;if(!w)return null;const C=k?.x?k.x-w.x:w.width,A=C-w.width,S=k?.y?w.y-k.y:w.height,M=S-w.height;return An(eZ.g,{"data-testid":"hover-layer",children:[x.map(((e,n)=>{const a=e.x-A/2,l=e.y-M/2;return u(e.data.data)?An(QK,{x:d?0:a,y:d?l:0,width:d?o:C,height:d?S:i,value:e.data.data,indexBy:s,isInteractive:t,isFocusable:r,onTooltipShow:f,onTooltipHide:p},n):null})),fp(An(eZ.div,{ref:g,style:{display:y?"block":"none",opacity:y},children:h&&m&&n(a,{value:m})}),document.body)]})},QK=({x:e,y:t,width:n,height:r,value:i,isInteractive:o=!0,isFocusable:a=!0,indexBy:s,onTooltipShow:l,onTooltipHide:c})=>{const[u,h]=(()=>{const e=f(GK);if(!e)throw new Error("useBarChartState must be used within a BarChartStateProvider");return e})(),{animate:p,config:g}=KI(),m=i[s],v=u===String(m),{fill:b}=_S({from:{fill:"#ffffff00"},to:{fill:"var(--color-control-bg-ghost-hover)"},config:{...g,duration:150},reverse:!v,immediate:!p}),y=d((e=>{l(e.target,i)}),[l,i]),_=d((e=>{l(e.target,i),h(String(m))}),[l,i,h,m]),x=d((e=>{c(e.target),h(void 0)}),[c,h]),w=d((e=>{l(e.target,i),h(String(m))}),[l,i,h,m]),k=d((e=>{c(e.target),h(void 0)}),[c,h]);return An(eZ.rect,{x:e,y:t,"data-testid":"hover-rect",width:n,height:r,fill:b,onMouseMove:o?y:void 0,onMouseEnter:o?_:void 0,onMouseLeave:o?x:void 0,onFocus:o&&a?w:void 0,onBlur:o&&a?k:void 0})},eJ=s(null),tJ=()=>{const e=f(eJ);if(!e)throw new Error("useBarContext must be used within a BarContext");return e},nJ=e=>{const{bars:t,indexBy:n,layout:r="vertical",barSize:i,groupMode:o="stacked"}=e,a=h((()=>(e=>{const{bars:t,indexBy:n,layout:r,groupMode:i}=e,o=new Map;for(const e of t){const t=e.data.data[n];o.has(t)||o.set(t,{id:t,bars:[],x:1/0,y:1/0,width:0,height:0});const a=o.get(t);a.bars.push(e),a.x=Math.min(a.x,e.x),a.y=Math.min(a.y,e.y);let s=a.width+e.width,l=a.height+e.height;"vertical"===r&&(s=Math.max(a.width,e.width),"grouped"===i&&(l=Math.max(a.height,e.height))),"horizontal"===r&&(l=Math.max(a.height,e.height),"grouped"===i&&(s=Math.max(a.width,e.width))),a.width=s,a.height=l}return Array.from(o.values())})({bars:t,indexBy:n,layout:r,groupMode:o})),[t,n,r,o]),s=Math.min(...a.map((e=>e.y))),l=Math.min(...a.map((e=>e.x)));return An(eJ.Provider,{value:{barSize:i,layout:r,groupMode:o},children:An(eZ.g,{"data-testid":"bars",pointerEvents:"none",children:a.map((e=>An(rJ,{group:e,offsetY:s,offsetX:l},e.id)))})})},rJ=e=>{const{group:t}=e,{barSize:n,layout:r}=tJ(),{animate:i,config:o}=KI(),a=p(),s="horizontal"===r,l=KK(t.height,n),c=KK(t.width,n),u=t.width-c,d=t.height-l,f=s?t.x:t.x+u/2,g=s?t.y+d/2:t.y,m=s?t.width:c,v=s?l:t.height,b=(y=s?l:c)<=4?0:y<=XK.s/3?1:y<=XK.s/2?1.5:y<XK.s?2:y>=XK.s&&y<XK.m?4:y>=XK.m?6:0;var y;const{transform:_}=_S({transform:`translate(${f}, ${g})`,config:o,immediate:!i}),x=h((()=>{const e=t.bars.filter((e=>e.width>0&&e.height>0));return"horizontal"===r?e.sort(((e,t)=>e.x-t.x)):e.sort(((e,t)=>e.y-t.y))}),[t.bars,r]),w="horizontal"===r?m<2*b:v<2*b;return An(eZ.g,{clipPath:w?void 0:`url(#clip-${a})`,transform:_,"data-testid":"group","data-id":t.id,children:[!w&&An("defs",{children:An("clipPath",{id:`clip-${a}`,children:An(eZ.rect,{x:0,y:0,width:m,height:v,rx:b,ry:b})})}),x.map(((e,t)=>An(iJ,{id:e.data.id,x:s?e.x-f:0,y:s?0:e.y-g,width:s?e.width:m,height:s?v:e.height,fill:e.color,isFirst:0===t,isLast:t===x.length-1},e.data.id)))]})},iJ=e=>{const{isFirst:t,isLast:n,id:r,...i}=e,{layout:o}=tJ(),{animate:a,config:s}=KI(),l="horizontal"===o?i.width:i.height,c=!t&&l>2,u=!n&&l>2;let d=i.width,f=i.height,h=i.x,p=i.y;"horizontal"===o&&(c&&u&&(h+=.5,d-=.5),u&&(d-=.5)),"vertical"===o&&(c&&(p+=.5,f-=.5),u&&(f-=.5));const g=_S({x:h,y:p,width:d,height:f,config:s,immediate:!a});return An(eZ.rect,{...g,fill:i.fill,"data-testid":"bar","data-id":r})};function oJ(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function aJ(e,t,n,r){for(var i=0,o=0,a=e.length;o<a;o++){var s=e[o],l=+t(s,o,e),c=+n(s,o,e);null!=l&&isFinite(l)&&null!=c&&isFinite(c)&&r(l,c,i++)}}const sJ=function(){var e,t=function(e){return e[0]},n=function(e){return e[1]};function r(r){var i=0,o=0,a=0,s=0,l=0,c=e?+e[0]:1/0,u=e?+e[1]:-1/0;aJ(r,t,n,(function(t,n){++i,o+=(t-o)/i,a+=(n-a)/i,s+=(t*n-s)/i,l+=(t*t-l)/i,e||(t<c&&(c=t),t>u&&(u=t))}));var d=function(e,t,n,r){var i=r-e*e,o=Math.abs(i)<1e-24?0:(n-e*t)/i;return[t-o*e,o]}(o,a,s,l),f=oJ(d,2),h=f[0],p=f[1],g=function(e){return p*e+h},m=[[c,g(c)],[u,g(u)]];return m.a=p,m.b=h,m.predict=g,m.rSquared=function(e,t,n,r,i){var o=0,a=0;return aJ(e,t,n,(function(e,t){var n=t-i(e),s=t-r;o+=n*n,a+=s*s})),1-o/a}(r,t,n,a,g),m}return r.domain=function(t){return arguments.length?(e=t,r):e},r.x=function(e){return arguments.length?(t=e,r):t},r.y=function(e){return arguments.length?(n=e,r):n},r}().x((e=>e.x)).y((e=>e.y)),lJ=jl().x((e=>e[0])).y((e=>e[1])),cJ=e=>{const{legend:t,indexBy:n,bars:r,innerHeight:i,innerWidth:o,formatValue:a=e=>ig.toNumber(e)}=e,s=h((()=>t.filter((e=>"point"===e.type)).map((e=>e.id))),[t]),l=p(),c=h((()=>t.filter((e=>"point"===e.type)).reduce(((e,t)=>(e[t.id]=t.color,e)),{})),[t]),u=h((()=>(e=>{const t=Math.max(...e.map((e=>e.data.index+1)));return e.slice(0,t)})(r)),[r]),d=h((()=>HH(s.map((e=>({id:e,data:u.map((t=>{const r=a(ig.toNumber(t.data.data[e]??0),e);return void 0===r?null:{x:ig.toNumber(t.data.data[n]??0),y:r}})).filter((e=>null!==e))}))),{type:"linear"},{type:"linear",nice:!0,min:0,max:100},o,i)),[s,u,n,a,o,i]),f=h((()=>s.map((e=>{if(u.length<2)return null;const t=c[e]??"",n=u.map((t=>{const n=a(ig.toNumber(t.data.data[e]??0),e);return void 0===n?null:{x:ig.toNumber(t.x+t.width/2),y:ig.toNumber(d.yScale(n)??0),id:t.key,value:n}})).filter((e=>null!==e));if(u.length===n.length)return{trendKey:e,color:t,points:n};if(n.length<2)return null;const r=sJ(n),i=u.map((t=>{const n=a(ig.toNumber(t.data.data[e]??0),e),i=ig.toNumber(t.x+t.width/2);let o=r.predict(i);return void 0!==n&&(o=ig.toNumber(d.yScale(n)??0)),{x:i,y:o,id:t.key,value:n}}));return{trendKey:e,color:t,points:i}})).filter((e=>null!==e))),[s,u,a,d,c]);if(0===s.length)return null;if(0===f.length)return null;return An(eZ.g,{"data-testid":"trend-lines-layer",pointerEvents:"none",clipPath:`url(#${l})`,children:[An("defs",{children:An("clipPath",{id:l,children:An("rect",{x:-5,y:-5,width:o+5,height:i+5})})}),f.map((({trendKey:e,points:t,color:n})=>An(eZ.g,{"data-testid":"trend-line-group","data-trend-key":e,children:[An(uJ,{points:t,color:n},e),t.filter((e=>void 0!==e.value&&e.value>=0&&e.value<=100)).map((({x:e,y:t,id:r})=>An(dJ,{x:e,y:t,color:n},r)))]},e)))]})},uJ=e=>{const{points:t,color:n}=e,{animate:r,config:i}=KI(),o=h((()=>0===t.length||t.length<2?[]:sJ(t)),[t]),{d:a}=_S({d:lJ(o)??void 0,config:i,immediate:!r});return 0===t.length||t.length<2||0===o.length?null:An(eZ.path,{d:a,"data-testid":"trend-line",fill:"none",stroke:n,strokeWidth:2,strokeLinecap:"round",pointerEvents:"none",strokeDasharray:"4"})},dJ=e=>{const{x:t,y:n,color:r}=e,{animate:i,config:o}=KI(),{cx:a,cy:s}=_S({cx:t,cy:n,config:o,immediate:!i});return An(eZ.circle,{"data-testid":"trend-line-point",cx:a,cy:s,r:3,strokeWidth:2,fill:"white",stroke:r,pointerEvents:"none"})},fJ=({data:e,layout:t="vertical",indexBy:n,keys:r,stacked:i,position:o,formatLeftTick:a,formatBottomTick:s})=>{if("horizontal"===t){const t=6,r=e.map((e=>s(e[n],e).toString().length));return Math.max(...r)*t+8}const l=Math.floor(Math.max(...e.map((e=>r.map((t=>ig.toNumber(e[t]??0))).reduce(((e,t)=>e+t),0))))),c=a(l).toString().length+1;return 8+8*c+10*Math.max(Math.floor((c-1)/3),0)+1};var hJ="styles_container__nVJhv",pJ="styles_barContainer__DTIpd";const gJ=e=>{const{data:t,legend:n,indexBy:r,renderBottomTick:i,onBarClick:o,padding:a=.5,formatLegendValue:s,formatIndexBy:l,hasValueFn:c,currentLocale:u="en-US",formatBottomTick:d=e=>e,formatLeftTick:f=e=>xZ(e,u),bottomTickRotation:p=0,noLegend:g=!1,minValue:m,maxValue:v,groupMode:b="stacked",bottomTickSize:y=12,markers:_=[],colors:x,leftAxisTickValues:w,layout:k="vertical",formatTrendValue:C}=e,A=h((()=>new Map(n.map((e=>[e.id,e])))),[n]),S=h((()=>n.filter((e=>"point"!==e.type&&"tree"!==e.type)).map((e=>e.id))),[n]),M=h((()=>((e,t)=>e.every((e=>Object.keys(e).filter((e=>e!==t)).every((t=>0===e[t])))))(t,r)),[t,r]),E=h((()=>t.length>=8?"s":t.length>=6?"m":"l"),[t]),L="horizontal"===k;return An("div",{className:hJ,children:[An("div",{className:pJ,children:An(YK,{children:An(WK,{data:t,theme:BY,groupMode:b,layout:k,defaultHeight:275,keys:S,indexBy:r,margin:{top:10,right:20,bottom:p>0?60:40,left:fJ({data:t,layout:k,keys:S,indexBy:r,stacked:!0,position:"left",formatLeftTick:f,formatBottomTick:d})},padding:a,innerPadding:0,valueScale:{type:"linear",nice:!0,min:m,max:v},indexScale:{type:"band",round:!0},layers:["grid","axes",VK,e=>An(nJ,{...e,indexBy:r,layout:k,legend:n,barSize:E,groupMode:b}),e=>An(cJ,{...e,legend:n,indexBy:r,formatValue:C}),"markers",e=>An(JK,{...e,hasValueFn:c,indexBy:r,layout:k,tooltip:({value:e})=>An(UK,{allowZeroValues:!0,value:e,indexBy:r,legend:n,formatLegendValue:s,formatIndexBy:l})})],markers:_,colors:"function"==typeof x?x:e=>A.get(e.id)?.color??"var(--color-bg-secondary)",enableLabel:!1,enableTotals:!1,axisTop:null,axisRight:null,axisBottom:{tickSize:0,tickPadding:5,tickRotation:p,truncateTickAt:0,renderTick:i,style:{ticks:{text:{fontSize:y}}},format:L?f:e=>d(e,t.find((t=>t[r]===e))),tickValues:t.length>30?t.filter(((e,t)=>!(t%2))).map((e=>e[r])):void 0},axisLeft:{tickSize:0,tickPadding:8,tickRotation:0,truncateTickAt:0,format:L?d?e=>d(e,t.find((t=>t[r]===e))):void 0:f,tickValues:w},animate:!NY,motionConfig:RY,onClick:o})})}),!M&&!g&&An($K,{data:n})]})},mJ=(e,t)=>e>=t,vJ=e=>e>=91?"bottom-right":"top-right",bJ=e=>{const{title:t,data:n,i18n:r,keys:i,threshold:o=90}=e,a=h((()=>ig.take(n,15).map((({id:e,stabilityRate:t})=>({id:e,stabilityRate:t,[e]:t})))),[n]),s=r("legend.stabilityRate"),l=(e=>e>=100?100:e<=0?0:e)(o),c=h((()=>a.map((({id:e,stabilityRate:t})=>({id:e,label:s,color:mJ(t,l)?"var(--color-intent-success-bg-active)":"var(--color-intent-danger-bg-active)",value:t,[e]:t})))),[a,s,l]),u=0===a.length;return An(W_,u?{title:t,children:An(jp,{title:r("no-results"),icon:Sn.lineChartsBarChartSquare})}:{title:t,children:An(gJ,{markers:[{axis:"y",value:o,legend:`${o}%`,textStyle:{fill:BY.markers?.text?.fill,fontSize:BY.markers?.text?.fontSize,fontWeight:BY.markers?.text?.fontWeight},lineStyle:{stroke:BY.markers?.lineColor,strokeWidth:BY.markers?.lineStrokeWidth},legendPosition:vJ(l),legendOffsetY:10,legendOffsetX:7}],groupMode:"stacked",data:a,legend:c,indexBy:"id",hasValueFn:()=>!0,formatIndexBy:e=>i[e.id],formatBottomTick:(e,t)=>ig.truncate(i[t.id],{length:15}),bottomTickSize:a.length>4?10:12,formatLegendValue:({value:e})=>{if(void 0!==e)return`${e}%`},noLegend:!0,formatLeftTick:e=>`${e}%`,maxValue:100,leftAxisTickValues:[0,10,20,30,40,50,60,70,80,90,100],bottomTickRotation:45,colors:e=>((e,t)=>{if(e>=t)return"var(--color-intent-success-bg-active)";const n=t>20?t-5:void 0;return n&&e>=n?"var(--color-intent-warning-bg-active)":"var(--color-intent-danger-bg-active)"})(e.data.stabilityRate,l)})})},yJ=e=>e.startsWith("new:"),_J=e=>e.startsWith("removed:"),xJ=e=>{const{title:t,data:n,i18n:r,statuses:i}=e,o=n.find((e=>"current"===e.id)),a=h((()=>{const e=[];for(const t of i)e.push(`new:${t}`);for(const t of i)e.push(`removed:${t}`);return e}),[i]),s=h((()=>[...a.map((e=>{const t=e.replace(":",""),n=e.replace("new:","").replace("removed:","");return{id:e,label:r(`status.${t}`),color:qU(n,"chartFill"),value:yJ(e)?1:-1}})),{id:"trend",label:r("legend.trend"),color:"var(--color-chart-categorical-9)",type:"point"}]),[a,r]),l=Math.ceil(1.01*Math.max(...n.map((e=>{const t=Math.abs(a.filter((e=>_J(e))).reduce(((t,n)=>t+(e[n]??0)),0)),n=Math.abs(a.filter((e=>yJ(e))).reduce(((t,n)=>t+(e[n]??0)),0));return Math.max(n,t)})))),c=h((()=>n.map((e=>{const t=2*l,n=((e,t)=>t.reduce(((t,n)=>(yJ(n)&&(t[n]=e[n]??0),_J(n)&&(t[n]=-(e[n]??0)),t)),{}))(e,a),r=Math.abs(a.filter((e=>_J(e))).reduce(((e,t)=>e+(n[t]??0)),0)),i=Math.abs(a.filter((e=>yJ(e))).reduce(((e,t)=>e+(n[t]??0)),0)),o=$U({positiveValue:i,negativeValue:r,absTotal:t,noValuePercentage:-1});return{id:e.id,timestamp:e.timestamp,...n,trend:o}}))),[n,a,l]),u=c.every((e=>a.every((t=>0===e[t])))),d=c.filter((e=>"current"!==e.id)).every((e=>a.every((t=>0===e[t]))));return!o||u?An(W_,{title:t,children:An(jp,{title:r("no-results"),icon:Sn.lineChartsBarChartSquare})}):1===n.length&&o||d?An(W_,{title:t,children:An(jp,{title:r("no-history"),icon:Sn.lineChartsBarChartSquare})}):An(W_,{title:t,children:An(gJ,{groupMode:"stacked",data:c,legend:s,indexBy:"id",hasValueFn:()=>!0,formatIndexBy:e=>"current"===e.id?r("tooltips.current"):r("tooltips.history",{timestamp:e?.timestamp}),formatBottomTick:e=>{if("current"===e)return r("ticks.current");const t=c.find((t=>t.id===e));return t?r("ticks.history",{timestamp:t?.timestamp}):""},bottomTickRotation:45,formatLegendValue:({value:e,id:t})=>"trend"===t?"":e?xZ(Math.abs(Number(e))):"-",noLegend:!0,formatLeftTick:e=>{const t=Math.abs(Number(e));return Number.isInteger(t)?xZ(Math.abs(Number(e))):""},minValue:-l,maxValue:l,formatTrendValue:e=>{if(-1!==e)return e}})})},wJ=e=>"skipped"===e||"unknown"===e,kJ=e=>"failed"===e||"broken"===e,CJ=(e,t)=>t.reduce(((t,n)=>(wJ(n)&&(t[n]=e[n]??0),kJ(n)&&(t[n]=-(e[n]??0)),t)),{}),AJ=e=>{const{title:t,data:n,i18n:r,statuses:i}=e,o=n.find((e=>"current"===e.id)),a=h((()=>i.map((e=>({id:e,label:r(`status.${e}`),color:qU(e,"chartFill"),value:wJ(e)?1:-1})))),[i,r]),s=h((()=>n.map((e=>({id:e.id,timestamp:e.timestamp,...CJ(e,i)})))),[n,i]),l=s.every((e=>i.every((t=>0===e[t])))),c=s.filter((e=>"current"!==e.id)).every((e=>i.every((t=>0===e[t]))));if(!o||l)return An(W_,{title:t,children:An(jp,{title:r("no-results"),icon:Sn.lineChartsBarChartSquare})});if(1===n.length&&o||c)return An(W_,{title:t,children:An(jp,{title:r("no-history"),icon:Sn.lineChartsBarChartSquare})});const u=Math.max(...s.map((e=>{const t=Math.abs(i.filter((e=>kJ(e))).reduce(((t,n)=>t+(e[n]??0)),0)),n=Math.abs(i.filter((e=>wJ(e))).reduce(((t,n)=>t+(e[n]??0)),0));return Math.max(t,n)}))),d=Math.ceil(1.01*u);return An(W_,{title:t,children:An(gJ,{groupMode:"stacked",layout:"horizontal",data:s,legend:a,indexBy:"id",hasValueFn:()=>!0,formatIndexBy:e=>"current"===e.id?r("tooltips.current"):r("tooltips.history",{timestamp:e?.timestamp}),formatBottomTick:e=>{if("current"===e)return ig.truncate(r("ticks.current"),{length:15});const t=s.find((t=>t.id===e));return t?ig.truncate(r("ticks.history",{timestamp:t?.timestamp}),{length:15}):""},bottomTickSize:10,formatLegendValue:({value:e})=>e?xZ(Math.abs(Number(e))):"-",noLegend:!0,formatLeftTick:e=>{const t=Math.abs(Number(e));return Number.isInteger(t)?xZ(Math.abs(Number(e))):""},minValue:-d,maxValue:d})})};function SJ(){return SJ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},SJ.apply(null,arguments)}function MJ(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}var EJ={layers:["separators","parts","labels","annotations"],direction:"vertical",interpolation:"smooth",spacing:0,shapeBlending:.66,colors:{scheme:"nivo"},size:void 0,fillOpacity:1,borderWidth:6,borderColor:{from:"color"},borderOpacity:.66,enableLabel:!0,labelColor:{theme:"background"},enableBeforeSeparators:!0,beforeSeparatorLength:0,beforeSeparatorOffset:0,enableAfterSeparators:!0,afterSeparatorLength:0,afterSeparatorOffset:0,annotations:[],isInteractive:!0,currentPartSizeExtension:0,role:"img",animate:YI,motionConfig:ZI},LJ=function(e){var t=e.part;return An(SF,{id:t.data.label,value:t.formattedValue,color:t.color,enableChip:!0})},TJ=function(e,t){return M((function(){return function(e,t){if("function"==typeof e)return e;if(Array.isArray(e)){var n=Zi(e);return function(e){return Number(n(String(e.id)))}}if(P(e)){if(function(e){return void 0!==e.datum}(e))return function(t){var n=I(t,e.datum);return"number"==typeof n?n:0};throw new Error("Invalid size, when using an object, you should specify a 'datum' property")}return function(e){return t(e.value)}}(e,t)}),[e,t])},DJ=function(e){var t,n,r=e.data,i=e.width,o=e.height,a=e.direction,s=void 0===a?EJ.direction:a,l=e.interpolation,c=void 0===l?EJ.interpolation:l,u=e.spacing,d=void 0===u?EJ.spacing:u,f=e.shapeBlending,h=void 0===f?EJ.shapeBlending:f,p=e.valueFormat,g=e.colors,m=void 0===g?EJ.colors:g,v=e.size,b=void 0===v?EJ.size:v,y=e.fillOpacity,_=void 0===y?EJ.fillOpacity:y,w=e.borderWidth,k=void 0===w?EJ.borderWidth:w,C=e.borderColor,A=void 0===C?EJ.borderColor:C,S=e.borderOpacity,E=void 0===S?EJ.borderOpacity:S,L=e.labelColor,T=void 0===L?EJ.labelColor:L,D=e.enableBeforeSeparators,O=void 0===D?EJ.enableBeforeSeparators:D,z=e.beforeSeparatorLength,R=void 0===z?EJ.beforeSeparatorLength:z,N=e.beforeSeparatorOffset,P=void 0===N?EJ.beforeSeparatorOffset:N,I=e.enableAfterSeparators,B=void 0===I?EJ.enableAfterSeparators:I,j=e.afterSeparatorLength,W=void 0===j?EJ.afterSeparatorLength:j,H=e.afterSeparatorOffset,q=void 0===H?EJ.afterSeparatorOffset:H,$=e.isInteractive,U=void 0===$?EJ.isInteractive:$,V=e.currentPartSizeExtension,G=void 0===V?EJ.currentPartSizeExtension:V,Y=e.currentBorderWidth,Z=e.onMouseEnter,X=e.onMouseMove,K=e.onMouseLeave,J=e.onClick,Q=e.tooltip,ee=yF(),te=Pq(m,"id"),ne=Eq(A,ee),re=Eq(T,ee),ie=YB(p),oe=M((function(){return function(e,t){var n=Wl();return"vertical"===t?n.curve("smooth"===e?Yl:Pl).x0((function(e){return e.x0})).x1((function(e){return e.x1})).y((function(e){return e.y})):n.curve("smooth"===e?Yl:Pl).y0((function(e){return e.y0})).y1((function(e){return e.y1})).x((function(e){return e.x})),[n,jl().defined((function(e){return null!==e})).x((function(e){return e.x})).y((function(e){return e.y})).curve("smooth"===e?Yl:Pl)]}(c,s)}),[c,s]),ae=oe[0],se=oe[1],le=O?R+P:0,ce=B?W+q:0;"vertical"===s?(t=i-le-ce,n=o):(t=i,n=o-le-ce);var ue=M((function(){return function(e){var t,n,r=e.data,i=e.direction,o=e.width,a=e.height,s=e.spacing;"vertical"===i?(t=a,n=o):(t=o,n=a);var l=(t-s*(r.length-1))/r.length,c=function(e){return s*e+l*e};c.bandwidth=l;var u=r.map((function(e){return e.value}));return[c,So().domain([0,Math.max.apply(Math,u)]).range([0,n])]}({data:r,direction:s,width:t,height:n,spacing:d})}),[r,s,t,n,d]),de=ue[0],fe=ue[1],he=TJ(b,fe),pe=x(null),ge=pe[0],me=pe[1],ve=M((function(){var e=r.map((function(e,r){var i,o,a,l,c=e.id===ge,u=he(e);"vertical"===s?(i=u,o=de.bandwidth,l=le+.5*(t-i),a=de(r)):(i=de.bandwidth,o=u,l=de(r),a=le+.5*(n-o));var d=l+i,f=l+.5*i,h=a+o,p=a+.5*o,g={data:e,width:i,height:o,color:te(e),fillOpacity:_,borderWidth:c&&void 0!==Y?Y:k,borderOpacity:E,formattedValue:ie(e.value),isCurrent:c,x:f,x0:l,x1:d,y:p,y0:a,y1:h,borderColor:"",labelColor:"",points:[],areaPoints:[],borderPoints:[]};return g.borderColor=ne(g),g.labelColor=re(g),g})),i=h/2;return e.forEach((function(t,n){var r=e[n+1];if("vertical"===s){t.points.push({x:t.x0,y:t.y0}),t.points.push({x:t.x1,y:t.y0}),r?(t.points.push({x:r.x1,y:t.y1}),t.points.push({x:r.x0,y:t.y1})):(t.points.push({x:t.points[1].x,y:t.y1}),t.points.push({x:t.points[0].x,y:t.y1})),t.isCurrent&&(t.points[0].x-=G,t.points[1].x+=G,t.points[2].x+=G,t.points[3].x-=G),t.areaPoints=[{x:0,x0:t.points[0].x,x1:t.points[1].x,y:t.y0,y0:0,y1:0}],t.areaPoints.push(SJ({},t.areaPoints[0],{y:t.y0+t.height*i}));var o={x:0,x0:t.points[3].x,x1:t.points[2].x,y:t.y1,y0:0,y1:0};t.areaPoints.push(SJ({},o,{y:t.y1-t.height*i})),t.areaPoints.push(o),[0,1,2,3].map((function(e){t.borderPoints.push({x:t.areaPoints[e].x0,y:t.areaPoints[e].y})})),t.borderPoints.push(null),[3,2,1,0].map((function(e){t.borderPoints.push({x:t.areaPoints[e].x1,y:t.areaPoints[e].y})}))}else{t.points.push({x:t.x0,y:t.y0}),r?(t.points.push({x:t.x1,y:r.y0}),t.points.push({x:t.x1,y:r.y1})):(t.points.push({x:t.x1,y:t.y0}),t.points.push({x:t.x1,y:t.y1})),t.points.push({x:t.x0,y:t.y1}),t.isCurrent&&(t.points[0].y-=G,t.points[1].y-=G,t.points[2].y+=G,t.points[3].y+=G),t.areaPoints=[{x:t.x0,x0:0,x1:0,y:0,y0:t.points[0].y,y1:t.points[3].y}],t.areaPoints.push(SJ({},t.areaPoints[0],{x:t.x0+t.width*i}));var a={x:t.x1,x0:0,x1:0,y:0,y0:t.points[1].y,y1:t.points[2].y};t.areaPoints.push(SJ({},a,{x:t.x1-t.width*i})),t.areaPoints.push(a),[0,1,2,3].map((function(e){t.borderPoints.push({x:t.areaPoints[e].x,y:t.areaPoints[e].y0})})),t.borderPoints.push(null),[3,2,1,0].map((function(e){t.borderPoints.push({x:t.areaPoints[e].x,y:t.areaPoints[e].y1})}))}})),e}),[r,s,de,t,n,le,h,te,ie,ne,re,ge,E,k,Y,G,_,he]),be=NF(),ye=be.showTooltipFromEvent,_e=be.hideTooltip,xe=M((function(){return function(e){var t=e.parts,n=e.setCurrentPartId,r=e.isInteractive,i=e.onMouseEnter,o=e.onMouseLeave,a=e.onMouseMove,s=e.onClick,l=e.showTooltipFromEvent,c=e.hideTooltip,u=e.tooltip,d=void 0===u?LJ:u;return r?t.map((function(e){return SJ({},e,{onMouseEnter:function(t){n(e.data.id),l(F(d,{part:e}),t),null==i||i(e,t)},onMouseLeave:function(t){n(null),c(),null==o||o(e,t)},onMouseMove:function(t){l(F(d,{part:e}),t),null==a||a(e,t)},onClick:void 0!==s?function(t){s(e,t)}:void 0})})):t}({parts:ve,setCurrentPartId:me,isInteractive:U,onMouseEnter:Z,onMouseLeave:K,onMouseMove:X,onClick:J,showTooltipFromEvent:ye,hideTooltip:_e,tooltip:Q})}),[ve,me,U,Z,K,X,J,ye,_e,Q]),we=M((function(){return function(e){var t=e.parts,n=e.direction,r=e.width,i=e.height,o=e.spacing,a=e.enableBeforeSeparators,s=e.beforeSeparatorOffset,l=e.enableAfterSeparators,c=e.afterSeparatorOffset,u=[],d=[],f=t[t.length-1];if("vertical"===n){t.forEach((function(e){var t=e.y0-o/2;a&&u.push({partId:e.data.id,x0:0,x1:e.x0-s,y0:t,y1:t}),l&&d.push({partId:e.data.id,x0:e.x1+c,x1:r,y0:t,y1:t})}));var h=f.y1;a&&u.push(SJ({},u[u.length-1],{partId:"none",y0:h,y1:h})),l&&d.push(SJ({},d[d.length-1],{partId:"none",y0:h,y1:h}))}else if("horizontal"===n){t.forEach((function(e){var t=e.x0-o/2;u.push({partId:e.data.id,x0:t,x1:t,y0:0,y1:e.y0-s}),d.push({partId:e.data.id,x0:t,x1:t,y0:e.y1+c,y1:i})}));var p=f.x1;u.push(SJ({},u[u.length-1],{partId:"none",x0:p,x1:p})),d.push(SJ({},d[d.length-1],{partId:"none",x0:p,x1:p}))}return[u,d]}({parts:ve,direction:s,width:i,height:o,spacing:d,enableBeforeSeparators:O,beforeSeparatorOffset:P,enableAfterSeparators:B,afterSeparatorOffset:q})}),[ve,s,i,o,d,O,P,B,q]),ke=we[0],Ce=we[1],Ae=M((function(){return{width:i,height:o,parts:xe,areaGenerator:ae,borderGenerator:se,beforeSeparators:ke,afterSeparators:Ce,setCurrentPartId:me}}),[i,o,xe,ae,se,ke,Ce,me]);return{parts:xe,areaGenerator:ae,borderGenerator:se,beforeSeparators:ke,afterSeparators:Ce,setCurrentPartId:me,currentPartId:ge,customLayerProps:Ae}},FJ=function(e){var t=e.part,n=e.areaGenerator,i=e.borderGenerator,o=KI(),a=o.animate,s=o.config,l=jB(n(t.areaPoints)),c=jB(i(t.borderPoints)),u=_S({areaColor:t.color,borderWidth:t.borderWidth,borderColor:t.borderColor,config:s,immediate:!a});return An(r,{children:[t.borderWidth>0&&An(DE.path,{d:c,stroke:u.borderColor,strokeWidth:u.borderWidth,strokeOpacity:t.borderOpacity,fill:"none"}),An(DE.path,{d:l,fill:u.areaColor,fillOpacity:t.fillOpacity,onMouseEnter:t.onMouseEnter,onMouseLeave:t.onMouseLeave,onMouseMove:t.onMouseMove,onClick:t.onClick})]})},OJ=function(e){var t=e.parts,n=e.areaGenerator,i=e.borderGenerator;return An(r,{children:t.map((function(e){return An(FJ,{part:e,areaGenerator:n,borderGenerator:i},e.data.id)}))})},zJ=function(e){var t=e.part,n=yF(),r=KI(),i=r.animate,o=r.config,a=_S({transform:"translate("+t.x+", "+t.y+")",color:t.labelColor,config:o,immediate:!i});return An(DE.g,{transform:a.transform,children:An(bj,{textAnchor:"middle",dominantBaseline:"central",style:SJ({},n.labels.text,{fill:a.color,pointerEvents:"none"}),children:t.formattedValue})})},RJ=function(e){var t=e.parts;return An(r,{children:t.map((function(e){return An(zJ,{part:e},e.data.id)}))})},NJ=function(e){var t=e.separator,n=yF(),r=KI(),i=r.animate,o=r.config,a=_S({x1:t.x0,x2:t.x1,y1:t.y0,y2:t.y1,config:o,immediate:!i});return An(DE.line,SJ({x1:a.x1,x2:a.x2,y1:a.y1,y2:a.y2,fill:"none"},n.grid.line))},PJ=function(e){var t=e.beforeSeparators,n=e.afterSeparators;return An(r,{children:[t.map((function(e){return An(NJ,{separator:e},e.partId)})),n.map((function(e){return An(NJ,{separator:e},e.partId)}))]})},IJ=function(e){var t=function(e,t){return JZ({data:e,annotations:t,getPosition:function(e){return{x:e.x,y:e.y}},getDimensions:function(e){var t=e.width,n=e.height;return{size:Math.max(t,n),width:t,height:n}}})}(e.parts,e.annotations);return An(r,{children:t.map((function(e,t){return An(oX,SJ({},e),t)}))})},BJ=["isInteractive","animate","motionConfig","theme","renderWrapper"],jJ=function(e){var t=e.data,n=e.width,r=e.height,i=e.margin,o=e.direction,a=void 0===o?EJ.direction:o,s=e.interpolation,l=void 0===s?EJ.interpolation:s,c=e.spacing,u=void 0===c?EJ.spacing:c,d=e.shapeBlending,f=void 0===d?EJ.shapeBlending:d,h=e.valueFormat,p=e.colors,g=void 0===p?EJ.colors:p,m=e.size,v=void 0===m?EJ.size:m,b=e.fillOpacity,y=void 0===b?EJ.fillOpacity:b,_=e.borderWidth,x=void 0===_?EJ.borderWidth:_,w=e.borderColor,k=void 0===w?EJ.borderColor:w,C=e.borderOpacity,A=void 0===C?EJ.borderOpacity:C,S=e.enableLabel,M=void 0===S?EJ.enableLabel:S,E=e.labelColor,L=void 0===E?EJ.labelColor:E,T=e.enableBeforeSeparators,D=void 0===T?EJ.enableBeforeSeparators:T,O=e.beforeSeparatorLength,R=void 0===O?EJ.beforeSeparatorLength:O,N=e.beforeSeparatorOffset,P=void 0===N?EJ.beforeSeparatorOffset:N,I=e.enableAfterSeparators,B=void 0===I?EJ.enableAfterSeparators:I,j=e.afterSeparatorLength,W=void 0===j?EJ.afterSeparatorLength:j,H=e.afterSeparatorOffset,q=void 0===H?EJ.afterSeparatorOffset:H,$=e.layers,U=void 0===$?EJ.layers:$,V=e.annotations,G=void 0===V?EJ.annotations:V,Y=e.isInteractive,Z=void 0===Y?EJ.isInteractive:Y,X=e.currentPartSizeExtension,K=void 0===X?EJ.currentPartSizeExtension:X,J=e.currentBorderWidth,Q=e.onMouseEnter,ee=e.onMouseMove,te=e.onMouseLeave,ne=e.onClick,re=e.tooltip,ie=e.role,oe=void 0===ie?EJ.role:ie,ae=e.ariaLabel,se=e.ariaLabelledBy,le=e.ariaDescribedBy,ce=e.forwardedRef,ue=UB(n,r,i),de=ue.margin,fe=ue.innerWidth,he=ue.innerHeight,pe=ue.outerWidth,ge=ue.outerHeight,me=DJ({data:t,width:fe,height:he,direction:a,interpolation:l,spacing:u,shapeBlending:f,valueFormat:h,colors:g,size:v,fillOpacity:y,borderWidth:x,borderColor:k,borderOpacity:A,labelColor:L,enableBeforeSeparators:D,beforeSeparatorLength:R,beforeSeparatorOffset:P,enableAfterSeparators:B,afterSeparatorLength:W,afterSeparatorOffset:q,isInteractive:Z,currentPartSizeExtension:K,currentBorderWidth:J,onMouseEnter:Q,onMouseMove:ee,onMouseLeave:te,onClick:ne,tooltip:re}),ve=me.areaGenerator,be=me.borderGenerator,ye=me.parts,_e=me.beforeSeparators,xe=me.afterSeparators,we=me.customLayerProps,ke={separators:null,parts:null,annotations:null,labels:null};return U.includes("separators")&&(ke.separators=An(PJ,{beforeSeparators:_e,afterSeparators:xe},"separators")),U.includes("parts")&&(ke.parts=An(OJ,{parts:ye,areaGenerator:ve,borderGenerator:be},"parts")),null!=U&&U.includes("annotations")&&(ke.annotations=An(IJ,{parts:ye,annotations:G},"annotations")),U.includes("labels")&&M&&(ke.labels=An(RJ,{parts:ye},"labels")),An(RB,{width:pe,height:ge,margin:de,role:oe,ariaLabel:ae,ariaLabelledBy:se,ariaDescribedBy:le,ref:ce,children:U.map((function(e,t){var n;return"function"==typeof e?An(z,{children:F(e,we)},t):null!=(n=null==ke?void 0:ke[e])?n:null}))})},WJ=A((function(e,t){var n=e.isInteractive,r=void 0===n?EJ.isInteractive:n,i=e.animate,o=void 0===i?EJ.animate:i,a=e.motionConfig,s=void 0===a?EJ.motionConfig:a,l=e.theme,c=e.renderWrapper,u=MJ(e,BJ);return An(eB,{animate:o,isInteractive:r,motionConfig:s,renderWrapper:c,theme:l,children:An(jJ,SJ({isInteractive:r},u,{forwardedRef:t}))})})),HJ=["defaultWidth","defaultHeight","onResize","debounceResize"],qJ=A((function(e,t){var n=e.defaultWidth,r=e.defaultHeight,i=e.onResize,o=e.debounceResize,a=MJ(e,HJ);return An(rB,{defaultWidth:n,defaultHeight:r,onResize:i,debounceResize:o,children:function(e){var n=e.width,r=e.height;return An(WJ,SJ({width:n,height:r},a,{ref:t}))}})}));const $J={background:"var(--color-bg-primary)",axis:{ticks:{text:{fill:"var(--color-text-secondary)"}},legend:{text:{fill:"var(--color-text-primary)"}}},grid:{line:{stroke:"var(--color-border-default)"}},legends:{text:{fill:"var(--color-text-secondary)"}},tooltip:{container:{background:"var(--color-bg-raised)",color:"var(--color-text-primary)"}},text:{fill:"var(--color-text-primary)"}},UJ=e=>{const t=yF(),{animate:n,config:r}=KI(),i=_S({transform:`translate(10, ${e.y})`,color:e.labelColor,config:r,immediate:!n}),o=[];return o.push(`Layer: ${e.data.layer}`),e.data.value>0?(o.push(`Number of tests: ${e.data.value} (${e.data.percentage}%)`),o.push(`Success rate: ${e.data.successRate}%`)):o.push("No tests"),An(eZ.g,{transform:i.transform,children:An(bj,{style:{...t.labels.text,pointerEvents:"none"},lineHeight:1.2,children:o.map(((e,t)=>An(eZ.tspan,{x:0,dy:0===t?0:"1.2em",children:e},t)))},e.data.id)})},VJ=e=>{const{parts:t}=e;return t.map((e=>An(UJ,{...e},e.data.id)))},GJ=e=>{const{data:t,title:n,translations:r,height:i=400,width:o="100%"}=e,a=r["no-results"],s=h((()=>[...t].reverse().map((e=>({id:e.layer,value:e.testCount,label:e.layer,successRate:e.successRate,percentage:e.percentage,layer:e.layer,color:e.testCount>0?"var(--color-intent-primary-bg)":"var(--color-status-skipped-chart-fill)"})))),[t]);return t&&0!==t.length?An(W_,{title:n,children:An("div",{role:"img",tabIndex:0,style:{width:o,height:i},children:An(qJ,{data:s,theme:$J,enableLabel:!1,layers:["separators","parts","labels","annotations",VJ],interpolation:"linear",spacing:5,shapeBlending:0,borderWidth:0,colors:e=>e.color,labelColor:{theme:"background"},enableAfterSeparators:!1})})}):An(W_,{title:n,children:An(EU,{label:a,width:o,height:i,ariaLabel:a})})};function YJ(){return YJ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},YJ.apply(null,arguments)}var ZJ={pointerEvents:"none"},XJ=function(e){var t=e.label,n=e.style,r=yF();return An(DE.g,{transform:n.transform,opacity:n.progress,style:ZJ,children:An(bj,{textAnchor:"middle",dominantBaseline:"central",style:YJ({},r.labels.text,{fill:n.textColor}),children:t})})},KJ=function(e){var t=e%(2*Math.PI);return t<0&&(t+=2*Math.PI),t},JJ=function(e,t){return e.filter((function(e){return Math.abs(mB(e.arc.endAngle-e.arc.startAngle))>=t}))},QJ={startAngle:{enter:function(e){return YJ({},e,{endAngle:e.startAngle})},update:function(e){return e},leave:function(e){return YJ({},e,{startAngle:e.endAngle})}},middleAngle:{enter:function(e){var t=e.startAngle+(e.endAngle-e.startAngle)/2;return YJ({},e,{startAngle:t,endAngle:t})},update:function(e){return e},leave:function(e){var t=e.startAngle+(e.endAngle-e.startAngle)/2;return YJ({},e,{startAngle:t,endAngle:t})}},endAngle:{enter:function(e){return YJ({},e,{startAngle:e.endAngle})},update:function(e){return e},leave:function(e){return YJ({},e,{endAngle:e.startAngle})}},innerRadius:{enter:function(e){return YJ({},e,{outerRadius:e.innerRadius})},update:function(e){return e},leave:function(e){return YJ({},e,{innerRadius:e.outerRadius})}},centerRadius:{enter:function(e){var t=e.innerRadius+(e.outerRadius-e.innerRadius)/2;return YJ({},e,{innerRadius:t,outerRadius:t})},update:function(e){return e},leave:function(e){var t=e.innerRadius+(e.outerRadius-e.innerRadius)/2;return YJ({},e,{innerRadius:t,outerRadius:t})}},outerRadius:{enter:function(e){return YJ({},e,{innerRadius:e.outerRadius})},update:function(e){return e},leave:function(e){return YJ({},e,{outerRadius:e.innerRadius})}},pushIn:{enter:function(e){return YJ({},e,{innerRadius:e.innerRadius-e.outerRadius+e.innerRadius,outerRadius:e.innerRadius})},update:function(e){return e},leave:function(e){return YJ({},e,{innerRadius:e.outerRadius,outerRadius:e.outerRadius+e.outerRadius-e.innerRadius})}},pushOut:{enter:function(e){return YJ({},e,{innerRadius:e.outerRadius,outerRadius:e.outerRadius+e.outerRadius-e.innerRadius})},update:function(e){return e},leave:function(e){return YJ({},e,{innerRadius:e.innerRadius-e.outerRadius+e.innerRadius,outerRadius:e.innerRadius})}}},eQ=function(e,t){return M((function(){var n=QJ[e];return{enter:function(e){return YJ({progress:0},n.enter(e.arc),t?t.enter(e):{})},update:function(e){return YJ({progress:1},n.update(e.arc),t?t.update(e):{})},leave:function(e){return YJ({progress:0},n.leave(e.arc),t?t.leave(e):{})}}}),[e,t])},tQ=function(e,t){var n=function(e){return e.startAngle+(e.endAngle-e.startAngle)/2}(e)-Math.PI/2,r=e.innerRadius+(e.outerRadius-e.innerRadius)*t;return vB(n,r)},nQ=function(e){return function(t,n,r,i){return MS([t,n,r,i],(function(t,n,r,i){var o=tQ({startAngle:t,endAngle:n,innerRadius:r,outerRadius:i},e);return"translate("+o.x+","+o.y+")"}))}},rQ=function(e){var t=e.center,n=e.data,r=e.transitionMode,i=e.label,o=e.radiusOffset,a=e.skipAngle,s=e.skipRadius,l=e.textColor,c=e.component,u=void 0===c?XJ:c,d=XB(i),f=yF(),h=Eq(l,f),p=M((function(){return n.filter((function(e){var t=Math.abs(mB(e.arc.endAngle-e.arc.startAngle)),n=Math.abs(e.arc.outerRadius-e.arc.innerRadius);return t>=a&&n>=s}))}),[n,a,s]),g=function(e,t,n,r){void 0===t&&(t=.5),void 0===n&&(n="innerRadius");var i=KI(),o=i.animate,a=i.config,s=eQ(n,r);return{transition:xS(e,{keys:function(e){return e.id},initial:s.update,from:s.enter,enter:s.update,update:s.update,leave:s.leave,config:a,immediate:!o}),interpolate:nQ(t)}}(p,o,r),m=g.transition,v=g.interpolate,b=u;return An("g",{transform:"translate("+t[0]+","+t[1]+")",children:m((function(e,t){return F(b,{key:t.id,datum:t,label:d(t),style:{progress:e.progress,transform:v(e.startAngle,e.endAngle,e.innerRadius,e.outerRadius),textColor:h(t)}})}))})},iQ=function(e,t,n){ij(e,n.labels.text),e.textAlign="center",e.textBaseline="middle",t.forEach((function(t){oj(e,YJ({},n.labels.text,{fill:t.textColor}),String(t.label),t.x,t.y)}))},oQ=function(e){var t=e.data,n=e.offset,r=e.skipAngle,i=e.label,o=e.textColor,a=XB(i),s=yF(),l=Eq(o,s),c=S((function(e){return{label:a(e),textColor:l(e)}}),[a,l]);return function(e){var t=e.data,n=e.offset,r=void 0===n?.5:n,i=e.skipAngle,o=void 0===i?0:i,a=e.computeExtraProps,s=void 0===a?function(){return{}}:a;return M((function(){return JJ(t,o).map((function(e){var t=tQ(e.arc,r);return YJ({},s(e),{x:t.x,y:t.y,data:e})}))}),[t,r,o,s])}({data:t,offset:n,skipAngle:r,computeExtraProps:c})},aQ=function(e){var t=e.label,n=e.style,r=yF();return An(DE.g,{opacity:n.opacity,children:[An(DE.path,{fill:"none",stroke:n.linkColor,strokeWidth:n.thickness,d:n.path}),An(bj,{transform:n.textPosition,textAnchor:n.textAnchor,dominantBaseline:"central",style:YJ({},r.labels.text,{fill:n.textColor}),children:t})]})},sQ=function(e,t,n,r){var i,o,a=KJ(e.startAngle+(e.endAngle-e.startAngle)/2-Math.PI/2),s=vB(a,e.outerRadius+t),l=vB(a,e.outerRadius+t+n);return a<Math.PI/2||a>1.5*Math.PI?(i="after",o={x:l.x+r,y:l.y}):(i="before",o={x:l.x-r,y:l.y}),{side:i,points:[s,l,o]}},lQ=jl().x((function(e){return e.x})).y((function(e){return e.y})),cQ=function(e,t,n,r,i,o,a){return MS([e,t,n,r,i,o,a],(function(e,t,n,r,i,o,a){var s=sQ({startAngle:e,endAngle:t,outerRadius:r},i,o,a).points;return lQ(s)}))},uQ=function(e,t,n,r){return MS([e,t,n,r],(function(e,t,n,r){return function(e){var t=KJ(e.startAngle+(e.endAngle-e.startAngle)/2-Math.PI/2);return t<Math.PI/2||t>1.5*Math.PI?"start":"end"}({startAngle:e,endAngle:t})}))},dQ=function(e,t,n,r,i,o,a,s){return MS([e,t,n,r,i,o,a,s],(function(e,t,n,r,i,o,a,s){var l=sQ({startAngle:e,endAngle:t,outerRadius:r},i,o,a),c=l.points,u=l.side,d=c[2];return"before"===u?d.x-=s:d.x+=s,"translate("+d.x+","+d.y+")"}))},fQ=function(e){var t=e.center,n=e.data,r=e.label,i=e.skipAngle,o=e.offset,a=e.diagonalLength,s=e.straightLength,l=e.strokeWidth,c=e.textOffset,u=e.textColor,d=e.linkColor,f=e.component,h=void 0===f?aQ:f,p=XB(r),g=function(e){var t=e.data,n=e.offset,r=void 0===n?0:n,i=e.diagonalLength,o=e.straightLength,a=e.skipAngle,s=void 0===a?0:a,l=e.textOffset,c=e.linkColor,u=e.textColor,d=KI(),f=d.animate,h=d.config,p=yF(),g=Eq(c,p),m=Eq(u,p),v=function(e,t){return M((function(){return JJ(e,t)}),[e,t])}(t,s),b=function(e){var t=e.offset,n=e.diagonalLength,r=e.straightLength,i=e.textOffset,o=e.getLinkColor,a=e.getTextColor;return M((function(){return{enter:function(e){return{startAngle:e.arc.startAngle,endAngle:e.arc.endAngle,innerRadius:e.arc.innerRadius,outerRadius:e.arc.outerRadius,offset:t,diagonalLength:0,straightLength:0,textOffset:i,linkColor:o(e),textColor:a(e),opacity:0}},update:function(e){return{startAngle:e.arc.startAngle,endAngle:e.arc.endAngle,innerRadius:e.arc.innerRadius,outerRadius:e.arc.outerRadius,offset:t,diagonalLength:n,straightLength:r,textOffset:i,linkColor:o(e),textColor:a(e),opacity:1}},leave:function(e){return{startAngle:e.arc.startAngle,endAngle:e.arc.endAngle,innerRadius:e.arc.innerRadius,outerRadius:e.arc.outerRadius,offset:t,diagonalLength:0,straightLength:0,textOffset:i,linkColor:o(e),textColor:a(e),opacity:0}}}}),[n,r,i,o,a,t])}({offset:r,diagonalLength:i,straightLength:o,textOffset:l,getLinkColor:g,getTextColor:m});return{transition:xS(v,{keys:function(e){return e.id},initial:b.update,from:b.enter,enter:b.update,update:b.update,leave:b.leave,config:h,immediate:!f}),interpolateLink:cQ,interpolateTextAnchor:uQ,interpolateTextPosition:dQ}}({data:n,skipAngle:i,offset:o,diagonalLength:a,straightLength:s,textOffset:c,linkColor:d,textColor:u}),m=g.transition,v=g.interpolateLink,b=g.interpolateTextAnchor,y=g.interpolateTextPosition,_=h;return An("g",{transform:"translate("+t[0]+","+t[1]+")",children:m((function(e,t){return F(_,{key:t.id,datum:t,label:p(t),style:YJ({},e,{thickness:l,path:v(e.startAngle,e.endAngle,e.innerRadius,e.outerRadius,e.offset,e.diagonalLength,e.straightLength),textAnchor:b(e.startAngle,e.endAngle,e.innerRadius,e.outerRadius),textPosition:y(e.startAngle,e.endAngle,e.innerRadius,e.outerRadius,e.offset,e.diagonalLength,e.straightLength,e.textOffset)})})}))})},hQ=function(e,t,n,r){e.textBaseline="middle",ij(e,n.labels.text),t.forEach((function(t){e.textAlign=bB.canvas.align[t.textAnchor],oj(e,YJ({},n.labels.text,{fill:t.textColor}),String(t.label),t.x,t.y),e.beginPath(),e.strokeStyle=t.linkColor,e.lineWidth=r,t.points.forEach((function(t,n){0===n?e.moveTo(t.x,t.y):e.lineTo(t.x,t.y)})),e.stroke()}))},pQ=function(e){var t=e.data,n=e.skipAngle,r=e.offset,i=e.diagonalLength,o=e.straightLength,a=e.textOffset,s=void 0===a?0:a,l=e.label,c=e.linkColor,u=e.textColor,d=XB(l),f=yF(),h=Eq(c,f),p=Eq(u,f),g=S((function(e){var t,n={x:e.points[2].x,y:e.points[2].y};return"before"===e.side?(n.x-=s,t="end"):(n.x+=s,t="start"),YJ({},n,{label:d(e.data),linkColor:h(e.data),textAnchor:t,textColor:p(e.data)})}),[d,h,p,s]);return function(e){var t=e.data,n=e.skipAngle,r=void 0===n?0:n,i=e.offset,o=void 0===i?.5:i,a=e.diagonalLength,s=e.straightLength,l=e.computeExtraProps,c=void 0===l?function(){return{}}:l,u=M((function(){return t.filter((function(e){return Math.abs(mB(e.arc.endAngle-e.arc.startAngle))>=r})).map((function(e){return YJ({},sQ(e.arc,o,a,s),{data:e})}))}),[t,r,o,a,s]);return M((function(){return u.map((function(e){return YJ({},c(e),e)}))}),[u,c])}({data:t,skipAngle:n,offset:r,diagonalLength:i,straightLength:o,computeExtraProps:g})},gQ=function(e){var t=e.datum,n=e.style,r=e.onClick,i=e.onMouseEnter,o=e.onMouseMove,a=e.onMouseLeave,s=S((function(e){return null==r?void 0:r(t,e)}),[r,t]),l=S((function(e){return null==i?void 0:i(t,e)}),[i,t]),c=S((function(e){return null==o?void 0:o(t,e)}),[o,t]),u=S((function(e){return null==a?void 0:a(t,e)}),[a,t]);return An(DE.path,{d:n.path,opacity:n.opacity,fill:t.fill||n.color,stroke:n.borderColor,strokeWidth:n.borderWidth,onClick:r?s:void 0,onMouseEnter:i?l:void 0,onMouseMove:o?c:void 0,onMouseLeave:a?u:void 0,"data-testid":"arc."+t.id})},mQ=function(e,t,n,r,i){return MS([e,t,n,r],(function(e,t,n,r){return i({startAngle:e,endAngle:t,innerRadius:Math.max(0,n),outerRadius:Math.max(0,r)})}))},vQ=function(e){var t=e.center,n=e.data,r=e.arcGenerator,i=e.borderWidth,o=e.borderColor,a=e.onClick,s=e.onMouseEnter,l=e.onMouseMove,c=e.onMouseLeave,u=e.transitionMode,d=e.component,f=void 0===d?gQ:d,h=yF(),p=Eq(o,h),g=function(e,t,n){void 0===t&&(t="innerRadius");var r=KI(),i=r.animate,o=r.config,a=eQ(t,n);return{transition:xS(e,{keys:function(e){return e.id},initial:a.update,from:a.enter,enter:a.update,update:a.update,leave:a.leave,config:o,immediate:!i}),interpolate:mQ}}(n,u,{enter:function(e){return{opacity:0,color:e.color,borderColor:p(e)}},update:function(e){return{opacity:1,color:e.color,borderColor:p(e)}},leave:function(e){return{opacity:0,color:e.color,borderColor:p(e)}}}),m=g.transition,v=g.interpolate,b=f;return An("g",{transform:"translate("+t[0]+","+t[1]+")",children:m((function(e,t){return F(b,{key:t.id,datum:t,style:YJ({},e,{borderWidth:i,path:v(e.startAngle,e.endAngle,e.innerRadius,e.outerRadius,r)}),onClick:a,onMouseEnter:s,onMouseMove:l,onMouseLeave:c})}))})},bQ=function(e,t,n,r,i,o,a){if(function(e,t,n,r,i,o){var a=KB(i,o,e,t);return a<n&&a>r}(e,t,n,r,o,a)){var s=function(e,t,n,r){var i=Math.atan2(r-t,n-e)-Math.PI/2;return i>0?i:2*Math.PI+i}(o,a,e,t);return i.find((function(e){var t=e.startAngle,n=e.endAngle;return s>=t&&s<n}))}},yQ=function(e){var t=void 0===e?{}:e,n=t.cornerRadius,r=void 0===n?0:n,i=t.padAngle,o=void 0===i?0:i;return M((function(){return zl().innerRadius((function(e){return e.innerRadius})).outerRadius((function(e){return e.outerRadius})).cornerRadius(r).padAngle(o)}),[r,o])};function _Q(){return _Q=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},_Q.apply(null,arguments)}function xQ(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}var wQ,kQ=function(e){var t=e.width,n=e.height,i=e.legends,o=e.data,a=e.toggleSerie;return An(r,{children:i.map((function(e,r){var i;return An(l$,_Q({},e,{containerWidth:t,containerHeight:n,data:null!=(i=e.data)?i:o,toggleSerie:e.toggleSerie?a:void 0}),r)}))})},CQ={id:"id",value:"value",sortByValue:!1,innerRadius:0,padAngle:0,cornerRadius:0,layers:["arcs","arcLinkLabels","arcLabels","legends"],startAngle:0,endAngle:360,fit:!0,activeInnerRadiusOffset:0,activeOuterRadiusOffset:0,borderWidth:0,borderColor:{from:"color",modifiers:[["darker",1]]},enableArcLabels:!0,arcLabel:"formattedValue",arcLabelsSkipAngle:0,arcLabelsSkipRadius:0,arcLabelsRadiusOffset:.5,arcLabelsTextColor:{theme:"labels.text.fill"},enableArcLinkLabels:!0,arcLinkLabel:"id",arcLinkLabelsSkipAngle:0,arcLinkLabelsOffset:0,arcLinkLabelsDiagonalLength:16,arcLinkLabelsStraightLength:24,arcLinkLabelsThickness:1,arcLinkLabelsTextOffset:6,arcLinkLabelsTextColor:{theme:"labels.text.fill"},arcLinkLabelsColor:{theme:"axis.ticks.line.stroke"},colors:{scheme:"nivo"},defs:[],fill:[],isInteractive:!0,animate:!0,motionConfig:"gentle",transitionMode:"innerRadius",tooltip:function(e){var t=e.datum;return An(SF,{id:t.id,value:t.formattedValue,enableChip:!0,color:t.color})},legends:[],role:"img",pixelRatio:"undefined"!=typeof window&&null!=(wQ=window.devicePixelRatio)?wQ:1},AQ=["points"],SQ=function(e){var t=e.data,n=e.id,r=void 0===n?CQ.id:n,i=e.value,o=void 0===i?CQ.value:i,a=e.valueFormat,s=e.colors,l=void 0===s?CQ.colors:s,c=XB(r),u=XB(o),d=YB(a),f=Pq(l,"id");return M((function(){return t.map((function(e){var t,n=c(e),r=u(e),i={id:n,label:null!=(t=e.label)?t:n,hidden:!1,value:r,formattedValue:d(r),data:e};return _Q({},i,{color:f(i)})}))}),[t,c,u,d,f])},MQ=function(e){var t=e.data,n=e.width,r=e.height,i=e.innerRadius,o=void 0===i?CQ.innerRadius:i,a=e.startAngle,s=void 0===a?CQ.startAngle:a,l=e.endAngle,c=void 0===l?CQ.endAngle:l,u=e.padAngle,d=void 0===u?CQ.padAngle:u,f=e.sortByValue,h=void 0===f?CQ.sortByValue:f,p=e.cornerRadius,g=void 0===p?CQ.cornerRadius:p,m=e.fit,v=void 0===m?CQ.fit:m,b=e.activeInnerRadiusOffset,y=void 0===b?CQ.activeInnerRadiusOffset:b,_=e.activeOuterRadiusOffset,k=void 0===_?CQ.activeOuterRadiusOffset:_,A=e.activeId,E=e.onActiveIdChange,L=e.defaultActiveId,T=e.forwardLegendData,D=function(e){var t=e.activeId,n=e.onActiveIdChange,r=e.defaultActiveId,i=void 0!==t,o=x(i||void 0===r?null:r),a=o[0],s=o[1];return{activeId:i?t:a,setActiveId:S((function(e){n&&n(e),i||s(e)}),[i,n,s])}}({activeId:A,onActiveIdChange:E,defaultActiveId:L}),F=D.activeId,O=D.setActiveId,z=x([]),R=z[0],N=z[1],P=M((function(){var e,t=Math.min(n,r)/2,i=t*Math.min(o,1),a=n/2,l=r/2;if(v){var u=function(e,t,n,r,i,o){void 0===o&&(o=!0);var a=[],s=vB(gB(r),n);a.push([s.x,s.y]);var l=vB(gB(i),n);a.push([l.x,l.y]);for(var c=Math.round(Math.min(r,i));c<=Math.round(Math.max(r,i));c++)if(c%90==0){var u=vB(gB(c),n);a.push([u.x,u.y])}a=a.map((function(n){var r=n[0],i=n[1];return[e+r,t+i]})),o&&a.push([e,t]);var d=a.map((function(e){return e[0]})),f=a.map((function(e){return e[1]})),h=Math.min.apply(Math,d),p=Math.max.apply(Math,d),g=Math.min.apply(Math,f);return{points:a,x:h,y:g,width:p-h,height:Math.max.apply(Math,f)-g}}(a,l,t,s-90,c-90),d=u.points,f=xQ(u,AQ),h=Math.min(n/f.width,r/f.height),p={width:f.width*h,height:f.height*h};p.x=(n-p.width)/2,p.y=(r-p.height)/2,a=(a-f.x)/f.width*f.width*h+p.x,l=(l-f.y)/f.height*f.height*h+p.y,e={box:f,ratio:h,points:d},t*=h,i*=h}return{centerX:a,centerY:l,radius:t,innerRadius:i,debug:e}}),[n,r,o,s,c,v]),I=function(e){var t=e.data,n=e.startAngle,r=e.endAngle,i=e.innerRadius,o=e.outerRadius,a=e.padAngle,s=e.sortByValue,l=e.activeId,c=e.activeInnerRadiusOffset,u=e.activeOuterRadiusOffset,d=e.hiddenIds,f=e.forwardLegendData,h=M((function(){var e=$l().value((function(e){return e.value})).startAngle(gB(n)).endAngle(gB(r)).padAngle(gB(a));return s||e.sortValues(null),e}),[n,r,a,s]),p=M((function(){var e=t.filter((function(e){return!d.includes(e.id)}));return{dataWithArc:h(e).map((function(e){var t=Math.abs(e.endAngle-e.startAngle);return _Q({},e.data,{arc:{index:e.index,startAngle:e.startAngle,endAngle:e.endAngle,innerRadius:l===e.data.id?i-c:i,outerRadius:l===e.data.id?o+u:o,thickness:o-i,padAngle:e.padAngle,angle:t,angleDeg:mB(t)}})})),legendData:t.map((function(e){return{id:e.id,label:e.label,color:e.color,hidden:d.includes(e.id),data:e}}))}}),[h,t,d,l,i,c,o,u]),g=p.legendData,m=C(f);return w((function(){"function"==typeof m.current&&m.current(g)}),[m,g]),p}({data:t,startAngle:s,endAngle:c,innerRadius:P.innerRadius,outerRadius:P.radius,padAngle:d,sortByValue:h,activeId:F,activeInnerRadiusOffset:y,activeOuterRadiusOffset:k,hiddenIds:R,forwardLegendData:T}),B=S((function(e){N((function(t){return t.indexOf(e)>-1?t.filter((function(t){return t!==e})):[].concat(t,[e])}))}),[]);return _Q({arcGenerator:yQ({cornerRadius:g,padAngle:gB(d)}),activeId:F,setActiveId:O,toggleSerie:B},I,P)},EQ=function(e){var t=e.center,n=e.data,r=e.arcGenerator,i=e.borderWidth,o=e.borderColor,a=e.isInteractive,s=e.onClick,l=e.onMouseEnter,c=e.onMouseMove,u=e.onMouseLeave,d=e.setActiveId,f=e.tooltip,h=e.transitionMode,p=NF(),g=p.showTooltipFromEvent,m=p.hideTooltip,v=M((function(){if(a)return function(e,t){null==s||s(e,t)}}),[a,s]),b=M((function(){if(a)return function(e,t){g(F(f,{datum:e}),t),d(e.id),null==l||l(e,t)}}),[a,g,d,l,f]),y=M((function(){if(a)return function(e,t){g(F(f,{datum:e}),t),null==c||c(e,t)}}),[a,g,c,f]),_=M((function(){if(a)return function(e,t){m(),d(null),null==u||u(e,t)}}),[a,m,d,u]);return An(vQ,{center:t,data:n,arcGenerator:r,borderWidth:i,borderColor:o,transitionMode:h,onClick:v,onMouseEnter:b,onMouseMove:y,onMouseLeave:_})},LQ=["isInteractive","animate","motionConfig","theme","renderWrapper"],TQ=function(e){var t=e.data,n=e.id,r=void 0===n?CQ.id:n,i=e.value,o=void 0===i?CQ.value:i,a=e.valueFormat,s=e.sortByValue,l=void 0===s?CQ.sortByValue:s,c=e.layers,u=void 0===c?CQ.layers:c,d=e.startAngle,f=void 0===d?CQ.startAngle:d,h=e.endAngle,p=void 0===h?CQ.endAngle:h,g=e.padAngle,m=void 0===g?CQ.padAngle:g,v=e.fit,b=void 0===v?CQ.fit:v,y=e.innerRadius,_=void 0===y?CQ.innerRadius:y,x=e.cornerRadius,w=void 0===x?CQ.cornerRadius:x,k=e.activeInnerRadiusOffset,C=void 0===k?CQ.activeInnerRadiusOffset:k,A=e.activeOuterRadiusOffset,S=void 0===A?CQ.activeOuterRadiusOffset:A,E=e.width,L=e.height,T=e.margin,D=e.colors,O=void 0===D?CQ.colors:D,R=e.borderWidth,N=void 0===R?CQ.borderWidth:R,P=e.borderColor,I=void 0===P?CQ.borderColor:P,B=e.enableArcLabels,j=void 0===B?CQ.enableArcLabels:B,W=e.arcLabel,H=void 0===W?CQ.arcLabel:W,q=e.arcLabelsSkipAngle,$=void 0===q?CQ.arcLabelsSkipAngle:q,U=e.arcLabelsSkipRadius,V=void 0===U?CQ.arcLabelsSkipRadius:U,G=e.arcLabelsTextColor,Y=void 0===G?CQ.arcLabelsTextColor:G,Z=e.arcLabelsRadiusOffset,X=void 0===Z?CQ.arcLabelsRadiusOffset:Z,K=e.arcLabelsComponent,J=e.enableArcLinkLabels,Q=void 0===J?CQ.enableArcLinkLabels:J,ee=e.arcLinkLabel,te=void 0===ee?CQ.arcLinkLabel:ee,ne=e.arcLinkLabelsSkipAngle,re=void 0===ne?CQ.arcLinkLabelsSkipAngle:ne,ie=e.arcLinkLabelsOffset,oe=void 0===ie?CQ.arcLinkLabelsOffset:ie,ae=e.arcLinkLabelsDiagonalLength,se=void 0===ae?CQ.arcLinkLabelsDiagonalLength:ae,le=e.arcLinkLabelsStraightLength,ce=void 0===le?CQ.arcLinkLabelsStraightLength:le,ue=e.arcLinkLabelsThickness,de=void 0===ue?CQ.arcLinkLabelsThickness:ue,fe=e.arcLinkLabelsTextOffset,he=void 0===fe?CQ.arcLinkLabelsTextOffset:fe,pe=e.arcLinkLabelsTextColor,ge=void 0===pe?CQ.arcLinkLabelsTextColor:pe,me=e.arcLinkLabelsColor,ve=void 0===me?CQ.arcLinkLabelsColor:me,be=e.arcLinkLabelComponent,ye=e.defs,_e=void 0===ye?CQ.defs:ye,xe=e.fill,we=void 0===xe?CQ.fill:xe,ke=e.isInteractive,Ce=void 0===ke?CQ.isInteractive:ke,Ae=e.onClick,Se=e.onMouseEnter,Me=e.onMouseMove,Ee=e.onMouseLeave,Le=e.tooltip,Te=void 0===Le?CQ.tooltip:Le,De=e.activeId,Fe=e.onActiveIdChange,Oe=e.defaultActiveId,ze=e.transitionMode,Re=void 0===ze?CQ.transitionMode:ze,Ne=e.legends,Pe=void 0===Ne?CQ.legends:Ne,Ie=e.forwardLegendData,Be=e.role,je=void 0===Be?CQ.role:Be,We=e.forwardedRef,He=UB(E,L,T),qe=He.outerWidth,$e=He.outerHeight,Ue=He.margin,Ve=He.innerWidth,Ge=He.innerHeight,Ye=SQ({data:t,id:r,value:o,valueFormat:a,colors:O}),Ze=MQ({data:Ye,width:Ve,height:Ge,fit:b,innerRadius:_,startAngle:f,endAngle:p,padAngle:m,sortByValue:l,cornerRadius:w,activeInnerRadiusOffset:C,activeOuterRadiusOffset:S,activeId:De,onActiveIdChange:Fe,defaultActiveId:Oe,forwardLegendData:Ie}),Xe=Ze.dataWithArc,Ke=Ze.legendData,Je=Ze.arcGenerator,Qe=Ze.centerX,et=Ze.centerY,tt=Ze.radius,nt=Ze.innerRadius,rt=Ze.setActiveId,it=Ze.toggleSerie,ot=nj(_e,Xe,we),at={arcs:null,arcLinkLabels:null,arcLabels:null,legends:null};u.includes("arcs")&&(at.arcs=An(EQ,{center:[Qe,et],data:Xe,arcGenerator:Je,borderWidth:N,borderColor:I,isInteractive:Ce,onClick:Ae,onMouseEnter:Se,onMouseMove:Me,onMouseLeave:Ee,setActiveId:rt,tooltip:Te,transitionMode:Re},"arcs")),Q&&u.includes("arcLinkLabels")&&(at.arcLinkLabels=An(fQ,{center:[Qe,et],data:Xe,label:te,skipAngle:re,offset:oe,diagonalLength:se,straightLength:ce,strokeWidth:de,textOffset:he,textColor:ge,linkColor:ve,component:be},"arcLinkLabels")),j&&u.includes("arcLabels")&&(at.arcLabels=An(rQ,{center:[Qe,et],data:Xe,label:H,radiusOffset:X,skipAngle:$,skipRadius:V,textColor:Y,transitionMode:Re,component:K},"arcLabels")),Pe.length>0&&u.includes("legends")&&(at.legends=An(kQ,{width:Ve,height:Ge,data:Ke,legends:Pe,toggleSerie:it},"legends"));var st=function(e){var t=e.dataWithArc,n=e.arcGenerator,r=e.centerX,i=e.centerY,o=e.radius,a=e.innerRadius;return M((function(){return{dataWithArc:t,arcGenerator:n,centerX:r,centerY:i,radius:o,innerRadius:a}}),[t,n,r,i,o,a])}({dataWithArc:Xe,arcGenerator:Je,centerX:Qe,centerY:et,radius:tt,innerRadius:nt});return An(RB,{width:qe,height:$e,margin:Ue,defs:ot,role:je,ref:We,children:u.map((function(e,t){return void 0!==at[e]?at[e]:"function"==typeof e?An(z,{children:F(e,st)},t):null}))})},DQ=A((function(e,t){var n=e.isInteractive,r=void 0===n?CQ.isInteractive:n,i=e.animate,o=void 0===i?CQ.animate:i,a=e.motionConfig,s=void 0===a?CQ.motionConfig:a,l=e.theme,c=e.renderWrapper,u=xQ(e,LQ);return An(eB,{animate:o,isInteractive:r,motionConfig:s,renderWrapper:c,theme:l,children:An(TQ,_Q({isInteractive:r},u,{forwardedRef:t}))})})),FQ=["defaultWidth","defaultHeight","onResize","debounceResize"];A((function(e,t){var n=e.defaultWidth,r=e.defaultHeight,i=e.onResize,o=e.debounceResize,a=xQ(e,FQ);return An(rB,{defaultWidth:n,defaultHeight:r,onResize:i,debounceResize:o,children:function(e){var n=e.width,r=e.height;return An(DQ,_Q({width:n,height:r},a,{ref:t}))}})}));var OQ=["isInteractive","theme","renderWrapper"],zQ=function(e){var t=e.data,n=e.id,r=void 0===n?CQ.id:n,i=e.value,o=void 0===i?CQ.value:i,a=e.valueFormat,s=e.sortByValue,l=void 0===s?CQ.sortByValue:s,c=e.startAngle,u=void 0===c?CQ.startAngle:c,d=e.endAngle,f=void 0===d?CQ.endAngle:d,h=e.padAngle,p=void 0===h?CQ.padAngle:h,g=e.fit,m=void 0===g?CQ.fit:g,v=e.innerRadius,b=void 0===v?CQ.innerRadius:v,y=e.cornerRadius,_=void 0===y?CQ.cornerRadius:y,x=e.activeInnerRadiusOffset,k=void 0===x?CQ.activeInnerRadiusOffset:x,A=e.activeOuterRadiusOffset,S=void 0===A?CQ.activeOuterRadiusOffset:A,E=e.width,L=e.height,T=e.margin,D=e.pixelRatio,O=void 0===D?CQ.pixelRatio:D,z=e.colors,R=void 0===z?CQ.colors:z,N=e.borderWidth,P=void 0===N?CQ.borderWidth:N,I=e.borderColor,B=void 0===I?CQ.borderColor:I,j=e.enableArcLabels,W=void 0===j?CQ.enableArcLabels:j,H=e.arcLabel,q=void 0===H?CQ.arcLabel:H,$=e.arcLabelsSkipAngle,U=void 0===$?CQ.arcLabelsSkipAngle:$,V=e.arcLabelsTextColor,G=void 0===V?CQ.arcLabelsTextColor:V,Y=e.arcLabelsRadiusOffset,Z=void 0===Y?CQ.arcLabelsRadiusOffset:Y,X=e.enableArcLinkLabels,K=void 0===X?CQ.enableArcLinkLabels:X,J=e.arcLinkLabel,Q=void 0===J?CQ.arcLinkLabel:J,ee=e.arcLinkLabelsSkipAngle,te=void 0===ee?CQ.arcLinkLabelsSkipAngle:ee,ne=e.arcLinkLabelsOffset,re=void 0===ne?CQ.arcLinkLabelsOffset:ne,ie=e.arcLinkLabelsDiagonalLength,oe=void 0===ie?CQ.arcLinkLabelsDiagonalLength:ie,ae=e.arcLinkLabelsStraightLength,se=void 0===ae?CQ.arcLinkLabelsStraightLength:ae,le=e.arcLinkLabelsThickness,ce=void 0===le?CQ.arcLinkLabelsThickness:le,ue=e.arcLinkLabelsTextOffset,de=void 0===ue?CQ.arcLinkLabelsTextOffset:ue,fe=e.arcLinkLabelsTextColor,he=void 0===fe?CQ.arcLinkLabelsTextColor:fe,pe=e.arcLinkLabelsColor,ge=void 0===pe?CQ.arcLinkLabelsColor:pe,me=e.isInteractive,ve=void 0===me?CQ.isInteractive:me,be=e.onClick,ye=e.onMouseMove,_e=e.tooltip,xe=void 0===_e?CQ.tooltip:_e,we=e.activeId,ke=e.onActiveIdChange,Ce=e.defaultActiveId,Ae=e.legends,Se=void 0===Ae?CQ.legends:Ae,Me=e.forwardLegendData,Ee=e.role,Le=e.forwardedRef,Te=C(null),De=yF(),Fe=UB(E,L,T),Oe=Fe.margin,ze=Fe.innerWidth,Re=Fe.innerHeight,Ne=Fe.outerWidth,Pe=Fe.outerHeight,Ie=SQ({data:t,id:r,value:o,valueFormat:a,colors:R}),Be=MQ({data:Ie,width:ze,height:Re,fit:m,innerRadius:b,startAngle:u,endAngle:f,padAngle:p,sortByValue:l,cornerRadius:_,activeInnerRadiusOffset:k,activeOuterRadiusOffset:S,activeId:we,onActiveIdChange:ke,defaultActiveId:Ce,forwardLegendData:Me}),je=Be.dataWithArc,We=Be.arcGenerator,He=Be.centerX,qe=Be.centerY,$e=Be.radius,Ue=Be.innerRadius,Ve=Be.setActiveId,Ge=Eq(B,De),Ye=oQ({data:je,label:q,skipAngle:U,offset:Z,textColor:G}),Ze=pQ({data:je,skipAngle:te,offset:re,diagonalLength:oe,straightLength:se,label:Q,linkColor:ge,textOffset:de,textColor:he});w((function(){if(Te.current){Te.current.width=Ne*O,Te.current.height=Pe*O;var e=Te.current.getContext("2d");e.scale(O,O),e.fillStyle=De.background,e.fillRect(0,0,Ne,Pe),e.save(),e.translate(Oe.left,Oe.top),We.context(e),e.save(),e.translate(He,qe),je.forEach((function(t){e.beginPath(),e.fillStyle=t.color,e.strokeStyle=Ge(t),e.lineWidth=P,We(t.arc),e.fill(),P>0&&e.stroke()})),!0===K&&hQ(e,Ze,De,ce),!0===W&&iQ(e,Ye,De),e.restore(),Se.forEach((function(t){u$(e,_Q({},t,{data:je,containerWidth:ze,containerHeight:Re,theme:De}))}))}}),[Te,ze,Re,Ne,Pe,Oe.top,Oe.left,O,He,qe,We,je,P,Ge,W,Ye,K,Ze,ce,Se,De]);var Xe=M((function(){return je.map((function(e){return _Q({id:e.id},e.arc)}))}),[je]),Ke=function(e){if(!Te.current)return null;var t=QB(Te.current,e),n=t[0],r=t[1],i=bQ(Oe.left+He,Oe.top+qe,$e,Ue,Xe,n,r);return i?je.find((function(e){return e.id===i.id})):null},Je=NF(),Qe=Je.showTooltipFromEvent,et=Je.hideTooltip,tt=function(e){var t=Ke(e);t?(null==ye||ye(t,e),Ve(t.id),Qe(F(xe,{datum:t}),e)):(Ve(null),et())};return An("canvas",{ref:rj(Te,Le),width:Ne*O,height:Pe*O,style:{width:Ne,height:Pe,cursor:ve?"auto":"normal"},onMouseEnter:ve?tt:void 0,onMouseMove:ve?tt:void 0,onMouseLeave:ve?function(){et()}:void 0,onClick:ve?function(e){if(be){var t=Ke(e);t&&be(t,e)}}:void 0,role:Ee})},RQ=A((function(e,t){var n=e.isInteractive,r=void 0===n?CQ.isInteractive:n,i=e.theme,o=e.renderWrapper,a=xQ(e,OQ);return An(eB,{isInteractive:r,renderWrapper:o,theme:i,children:An(zQ,_Q({isInteractive:r},a,{forwardedRef:t}))})})),NQ=["defaultWidth","defaultHeight","onResize","debounceResize"];A((function(e,t){var n=e.defaultWidth,r=e.defaultHeight,i=e.onResize,o=e.debounceResize,a=xQ(e,NQ);return An(rB,{defaultWidth:n,defaultHeight:r,onResize:i,debounceResize:o,children:function(e){var n=e.width,r=e.height;return An(RQ,_Q({width:n,height:r},a,{ref:t}))}})}));const PQ=300,IQ={id:"__EMPTY_ARC_DO_NOT_COUNT_IT_USED_FOR_VISUALS__",value:1,color:"var(--color-control-bg)",label:""},BQ=["new","flaky","retries"];var jQ="styles_centeredMetricTitle__-DWkh",WQ="styles_centeredMetricDescription__7Q2Vf",HQ="styles_pie__EtJEe",qQ="styles_wrapper__UrP78",$Q="styles_additionalStats__Yztrs";const UQ=e=>e>1e3?"999+":e.toString(),VQ=e=>{switch(e){case"new":return Sn.testNew;case"flaky":return Sn.lineIconBomb2;case"retries":return Sn.lineGeneralZap}},GQ=e=>{const{stats:t,i18n:n,layout:r}=e;return An("div",{className:$Q,"data-layout":r,children:BQ.map((e=>{const r=t[e]??0;return An(uk,{style:"primary",tooltip:n(`tests.${e}`,{count:r}),icon:VQ(e),children:r?UQ(r):"-"},e)}))})},YQ=[{limit:1e3,suffix:"K"},{limit:1e6,suffix:"M"},{limit:1e9,suffix:"B"},{limit:1e12,suffix:"T"},{limit:1e15,suffix:"Q"}],ZQ=({width:e,text:t,symbolWidth:n})=>{const r=e-2*n,i=Math.floor(r/n),o=parseInt(t,10),a=o.toLocaleString("ru");if(a.length<=i)return a;let s=o,l="";for(let e=0;e<YQ.length;e++){const{limit:t,suffix:n}=YQ[e];if(s=o/t,Math.round(s)<1e3||e===YQ.length-1){l=n;break}}let c=s.toFixed(2).replace(/\.?0+$/,"").replace(/(\.\d)0$/,"$1");(c+l).length>i&&(c=Math.round(+c).toString());return`${(+c).toLocaleString("ru")}${l}`},XQ=({metric:e,metricType:t,layerProps:n,isEmpty:r,i18n:i,total:o})=>"total"===t||r?An(KQ,{layer:n,i18n:i,total:o}):"percent"===t?An(JQ,{layer:n,metric:e,i18n:i,total:o}):null,KQ=({layer:e,i18n:t,total:n})=>{const{radius:r,centerX:i,centerY:o}=e;return An(QQ,{radius:r,centerX:i,centerY:o,title:n,description:t("total")})},JQ=({layer:e,metric:t,i18n:n,total:r})=>{const{dataWithArc:i,radius:o,centerX:a,centerY:s}=e,l=i.find((e=>e.data.id===t)),c=((e=0,t=0)=>{if(0===e)return"0";if(0===t)return"0";const n=e/t*100;return Number.isInteger(n)?n.toString():n>99.99&&n<100?"99.99":n.toFixed(2).replace(/\.?0+$/,"")})(l?.data.value,r);return An(QQ,{radius:o,centerX:a,centerY:s,title:n("percentage",{percentage:c}),description:n("of",{total:r})})},QQ=({radius:e,centerX:t,centerY:n,title:i,description:o})=>{const a=i.toString(),s=a.includes("%"),l=Math.round(Math.min(e/1.8,36)),c=Math.round(Math.min(e/3.3,16)),u=Math.min(e/2.5,2*c),d=h((()=>s?(({width:e,text:t,symbolWidth:n})=>{const r=e-2*n,i=t.length*n,[o]=t.split("%"),[a,s="00"]=o.split(".");if("00"===s)return`${a}%`;if(r>i)return t;const l=a.length*n,c=n,u=Math.floor((r-l-c)/n)-1;if(1===u){const e=(+`${a}.${s}`).toFixed(1),[t,n]=e.toString().split(".");return"0"===n?`${t}%`:`${e}%`}return 2===u?`${a}.${s}%`:`${(+`${a}.${s}`).toFixed(0)}%`})({width:e,text:a,symbolWidth:l/3}):ZQ({width:e,text:a,symbolWidth:l/3})),[s,e,a,l]),f=h((()=>(({width:e,text:t,symbolWidth:n})=>{const r=t.match(/\d+/g)||[],i=t.replace(/\d+/g,"").length,o=r.map((t=>ZQ({width:e-i*n,text:t,symbolWidth:n})));let a=t;return r.forEach(((e,t)=>{a=a.replace(e,o[t])})),a})({width:e,text:o.toString(),symbolWidth:c/3})),[o,c,e]);return An(r,{children:[An("text",{x:t,y:n-u/3,textAnchor:"middle",dominantBaseline:"central",style:{fontSize:l},className:jQ,children:d}),An("text",{x:t,y:n+u/1.5,textAnchor:"middle",dominantBaseline:"central",style:{fontSize:c},className:WQ,children:f})]})},e0=e=>e,t0=e=>e>=PQ?284:e-16,n0={top:8,right:8,bottom:8,left:8},r0={datum:"data.color"},i0={theme:"background"},o0=e=>{const{title:t,data:n,statuses:r,metric:i="passed",i18n:o=e0}=e,a=h((()=>(e=>{const{data:t,i18n:n,statuses:r=In}=e,i=[];for(const e of r)e in t&&i.push({color:qU(e,"chartFill"),id:e,value:t[e]??0,label:n(`status.${e}`)});return i})({data:n,i18n:o,statuses:r})),[n,o,r]),s=n.total,l=0===s,c=(u=n,BQ.some((e=>e in u)));var u;const d=c?362:PQ;return An(W_,{title:t??"",centerContent:!0,children:An(og,{children:e=>An("div",{className:qQ,"data-layout":e>d?"vertical":"horizontal",children:[An("div",{className:HQ,children:An(DQ,{width:t0(c?e-62:e),height:t0(c?e-62:e),data:l?[IQ]:a,margin:n0,colors:r0,innerRadius:.75,padAngle:1,cornerRadius:4,activeOuterRadiusOffset:4,borderWidth:0,borderColor:i0,enableArcLabels:!1,enableArcLinkLabels:!1,isInteractive:!l,sortByValue:!0,transitionMode:"startAngle",layers:["arcs",e=>An(XQ,{layerProps:e,i18n:o,metricType:"percent",metric:i,isEmpty:l,total:s})],animate:!NY,motionConfig:RY,tooltip:a0,theme:BY})}),c&&An(GQ,{stats:n,i18n:o,layout:e>d?"vertical":"horizontal"})]})})})},a0=e=>{const{datum:t}=e,n=h((()=>({id:t.id.toString(),color:t.color,label:t.label,value:t.value})),[t]);return An(dZ,{children:An(kZ,{mode:"default",legend:n})})},s0=e=>{const{title:t,data:n,statuses:r=In,i18n:i}=e,o=n.find((e=>"current"===e.id)),a=r.map((e=>({id:e,label:i(`status.${e}`),color:qU(e,"chartFill")}))),s=n.map((e=>({id:e.id,name:e.name,timestamp:e.timestamp,...e.statistic}))),l=s.every((e=>0===e.total)),c=s.filter((e=>"current"!==e.id)).every((e=>0===e.total)),u=s.reduce(((e,t)=>Math.max(e,t.total)),0),d=1.01*u;return l||!o||0===o.statistic.total?An(W_,{title:t,children:An(jp,{title:i("no-results"),icon:Sn.lineChartsBarChartSquare})}):1===n.length&&o||c?An(W_,{title:t,children:An(jp,{title:i("no-history"),icon:Sn.lineChartsBarChartSquare})}):An(W_,{title:t,children:An(gJ,{groupMode:"stacked",data:s,legend:a,indexBy:"id",hasValueFn:e=>e.total>0,formatIndexBy:e=>"current"===e.id?i("tooltips.current"):i("tooltips.history",{timestamp:e?.timestamp}),formatBottomTick:e=>{if("current"===e)return i("ticks.current");const t=s.find((t=>t.id===e));return t?i("ticks.history",{timestamp:t?.timestamp}):""},bottomTickRotation:45,formatLeftTick:e=>{const t=Math.abs(Number(e));return Number.isInteger(t)?xZ(Math.abs(Number(e))):""},formatLegendValue:({value:e})=>e?xZ(e):"-",noLegend:!0,maxValue:d})})},l0=e=>{switch(e){case"new":return"var(--color-intent-info-text)";case"fixed":return"var(--color-intent-success-text)";case"regressed":return"var(--color-intent-danger-text)";case"malfunctioned":return"var(--color-intent-warning-text)"}},c0=["fixed","regressed","malfunctioned"],u0=e=>{const{title:t,data:n,i18n:r}=e,i=Math.ceil(1.01*Math.max(...n.map((e=>e.fixed+e.regressed+e.malfunctioned)))),o=n.map((e=>{const t=2*i,n=e.regressed+e.malfunctioned,r=$U({positiveValue:e.fixed,negativeValue:n,absTotal:t,noValuePercentage:-1});return{id:e.id,timestamp:e.timestamp,prevItemTimestamp:e.prevItemTimestamp,fixed:e.fixed,regressed:0===e.regressed?0:-e.regressed,malfunctioned:0===e.malfunctioned?0:-e.malfunctioned,trend:r}})),a=n.find((e=>"current"===e.id)),s=h((()=>[...c0.map((e=>({id:e,label:r(`transitions.${e}`),color:l0(e),value:"fixed"===e?1:-1}))),{id:"trend",label:r("legend.trend"),color:"var(--color-chart-categorical-9)",type:"point"}]),[r]),l=o.every((e=>0===e.fixed&&0===e.regressed&&0===e.malfunctioned)),c=o.filter((e=>"current"!==e.id)).every((e=>0===e.fixed&&0===e.regressed&&0===e.malfunctioned));if(!a||l)return An(W_,{title:t,children:An(jp,{title:r("no-results"),icon:Sn.lineChartsBarChartSquare})});if(1===n.length&&a||c)return An(W_,{title:t,children:An(jp,{title:r("no-history"),icon:Sn.lineChartsBarChartSquare})});return An(W_,{title:t,children:An(gJ,{groupMode:"stacked",data:o,legend:s,indexBy:"id",hasValueFn:()=>!0,formatIndexBy:e=>"current"===e.id?r("tooltips.current"):r("tooltips.history",{timestamp:e?.timestamp}),formatBottomTick:e=>{if("current"===e)return r("ticks.current");const t=o.find((t=>t.id===e));return t?r("ticks.history",{timestamp:t?.timestamp}):""},bottomTickRotation:45,formatTrendValue:e=>{if(-1!==e)return e},formatLegendValue:({value:e,id:t})=>"trend"===t?"":e?xZ(Math.abs(Number(e))):"-",noLegend:!0,formatLeftTick:e=>{const t=Math.abs(Number(e));return Number.isInteger(t)?xZ(Math.abs(Number(e))):""},minValue:-i,maxValue:i})})},d0=["var(--color-chart-categorical-1)","var(--color-chart-categorical-2)","var(--color-chart-categorical-3)","var(--color-chart-categorical-4)","var(--color-chart-categorical-5)","var(--color-chart-categorical-6)","var(--color-chart-categorical-7)","var(--color-chart-categorical-8)","var(--color-chart-categorical-9)","var(--color-chart-categorical-10)","var(--color-chart-categorical-11)","var(--color-chart-categorical-12)","var(--color-chart-categorical-13)","var(--color-chart-categorical-14)"],f0=e=>{const{title:t,data:n,i18n:r,groupBy:i,keys:o}=e,a=h((()=>(e=>e.reduce(((e,t,n)=>{let r=d0[n];return r||(r=d0[n-d0.length]),e[t]=r,e}),{}))(Object.keys(o))),[o]),s=r("legend.total"),l=h((()=>Object.entries(o).map((([e,t])=>({id:e,label:"none"===i?s:t,color:a[e]})))),[o,a,i,s]),c=h((()=>n.map((e=>({id:`${e.from}-${e.to}`,...e})))),[n]),u=1.01*h((()=>{if(0===c.length)return 0;const e=Object.keys(o);return Math.max(...c.map((t=>{let n=0;for(const r of e)n+=t[r]??0;return n})))}),[c,o]),d=0===c.length;return An(W_,d?{title:t,children:An(jp,{title:r("no-results"),icon:Sn.lineChartsBarChartSquare})}:{title:t,children:An(gJ,{groupMode:"stacked",data:c,legend:l,indexBy:"id",hasValueFn:e=>Object.keys(o).some((t=>e[t]>0)),formatIndexBy:e=>r("tooltips.durationRange",{from:e.from??0,to:e.to}),formatBottomTick:(e,t)=>r("ticks.durationRange",{from:t.from??0,to:t.to}),bottomTickSize:c.length>4?10:12,formatLegendValue:({value:e})=>{if(e&&0!==Number(e))return r("legend.value",{value:e})},noLegend:!0,formatLeftTick:e=>{const t=Math.abs(Number(e));return Number.isInteger(t)?xZ(Math.abs(Number(e))):""},maxValue:u})})},h0=e=>{const{title:t,data:n,i18n:r,statuses:i}=e,o=h((()=>i.map((e=>({id:e,label:r(`status.${e}`),color:qU(e,"chartFill")})))),[i,r]),a=n,s=a.every((e=>i.every((t=>0===e[t]))));return An(W_,s?{title:t,children:An(jp,{title:r("no-results"),icon:Sn.lineChartsBarChartSquare})}:{title:t,children:An(gJ,{groupMode:"stacked",data:a,legend:o,indexBy:"id",hasValueFn:()=>!0,formatIndexBy:e=>r(`severity.${e.id}`),formatBottomTick:e=>r(`severity.${e}`),formatLegendValue:({value:e})=>e?xZ(Math.abs(Number(e))):"-",noLegend:!0,formatLeftTick:e=>{const t=Math.abs(Number(e));return Number.isInteger(t)?xZ(Math.abs(Number(e))):""}})})},p0=e=>0===e.duration&&0===e.sequentialDuration,g0=e=>{const{title:t,data:n,i18n:r}=e,i=n,o=h((()=>[{id:"sequentialDuration",label:r("durations.sequential"),color:"var(--color-chart-categorical-5)",type:"default"},{id:"duration",label:r("durations.duration"),color:"var(--color-chart-categorical-2)",type:"default"},{id:"speedup",label:r("durations.speedup"),color:"var(--color-chart-categorical-9)",type:"point"}]),[r]),a=n.find((e=>"current"===e.id));return i.every((e=>p0(e)))||!a||p0(a)?An(W_,{title:t,children:An(jp,{title:r("no-results"),icon:Sn.lineChartsBarChartSquare})}):An(W_,{title:t,children:An(gJ,{groupMode:"grouped",data:i,legend:o,indexBy:"id",hasValueFn:()=>!0,formatIndexBy:e=>"current"===e.id?r("tooltips.current"):r("tooltips.history",{timestamp:e?.timestamp}),formatBottomTick:e=>{if("current"===e)return r("ticks.current");const t=i.find((t=>t.id===e));return t?r("ticks.history",{timestamp:t?.timestamp}):""},bottomTickRotation:45,formatLeftTick:e=>r("legend.duration",{duration:e}),formatLegendValue:({id:e,value:t})=>"duration"===e||"sequentialDuration"===e?r("legend.duration",{duration:t}):"speedup"===e?r("legend.speedup",{speedup:t}):void 0,formatTrendValue:(e,t)=>"speedup"===t?e<=1?0:100*(1-1/e):e,noLegend:!0})})};var m0="http://www.w3.org/1999/xhtml",v0={svg:"http://www.w3.org/2000/svg",xhtml:m0,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function b0(e){var t=e+="",n=t.indexOf(":");return n>=0&&"xmlns"!==(t=e.slice(0,n))&&(e=e.slice(n+1)),v0.hasOwnProperty(t)?{space:v0[t],local:e}:e}function y0(e){return function(){var t=this.ownerDocument,n=this.namespaceURI;return n===m0&&t.documentElement.namespaceURI===m0?t.createElement(e):t.createElementNS(n,e)}}function _0(e){return function(){return this.ownerDocument.createElementNS(e.space,e.local)}}function x0(e){var t=b0(e);return(t.local?_0:y0)(t)}function w0(){}function k0(e){return null==e?w0:function(){return this.querySelector(e)}}function C0(){return[]}function A0(e){return null==e?C0:function(){return this.querySelectorAll(e)}}function S0(e){return function(){return function(e){return null==e?[]:Array.isArray(e)?e:Array.from(e)}(e.apply(this,arguments))}}function M0(e){return function(){return this.matches(e)}}function E0(e){return function(t){return t.matches(e)}}var L0=Array.prototype.find;function T0(){return this.firstElementChild}var D0=Array.prototype.filter;function F0(){return Array.from(this.children)}function O0(e){return new Array(e.length)}function z0(e,t){this.ownerDocument=e.ownerDocument,this.namespaceURI=e.namespaceURI,this._next=null,this._parent=e,this.__data__=t}function R0(e,t,n,r,i,o){for(var a,s=0,l=t.length,c=o.length;s<c;++s)(a=t[s])?(a.__data__=o[s],r[s]=a):n[s]=new z0(e,o[s]);for(;s<l;++s)(a=t[s])&&(i[s]=a)}function N0(e,t,n,r,i,o,a){var s,l,c,u=new Map,d=t.length,f=o.length,h=new Array(d);for(s=0;s<d;++s)(l=t[s])&&(h[s]=c=a.call(l,l.__data__,s,t)+"",u.has(c)?i[s]=l:u.set(c,l));for(s=0;s<f;++s)c=a.call(e,o[s],s,o)+"",(l=u.get(c))?(r[s]=l,l.__data__=o[s],u.delete(c)):n[s]=new z0(e,o[s]);for(s=0;s<d;++s)(l=t[s])&&u.get(h[s])===l&&(i[s]=l)}function P0(e){return e.__data__}function I0(e){return"object"==typeof e&&"length"in e?e:Array.from(e)}function B0(e,t){return e<t?-1:e>t?1:e>=t?0:NaN}function j0(e){return function(){this.removeAttribute(e)}}function W0(e){return function(){this.removeAttributeNS(e.space,e.local)}}function H0(e,t){return function(){this.setAttribute(e,t)}}function q0(e,t){return function(){this.setAttributeNS(e.space,e.local,t)}}function $0(e,t){return function(){var n=t.apply(this,arguments);null==n?this.removeAttribute(e):this.setAttribute(e,n)}}function U0(e,t){return function(){var n=t.apply(this,arguments);null==n?this.removeAttributeNS(e.space,e.local):this.setAttributeNS(e.space,e.local,n)}}function V0(e){return e.ownerDocument&&e.ownerDocument.defaultView||e.document&&e||e.defaultView}function G0(e){return function(){this.style.removeProperty(e)}}function Y0(e,t,n){return function(){this.style.setProperty(e,t,n)}}function Z0(e,t,n){return function(){var r=t.apply(this,arguments);null==r?this.style.removeProperty(e):this.style.setProperty(e,r,n)}}function X0(e,t){return e.style.getPropertyValue(t)||V0(e).getComputedStyle(e,null).getPropertyValue(t)}function K0(e){return function(){delete this[e]}}function J0(e,t){return function(){this[e]=t}}function Q0(e,t){return function(){var n=t.apply(this,arguments);null==n?delete this[e]:this[e]=n}}function e1(e){return e.trim().split(/^|\s+/)}function t1(e){return e.classList||new n1(e)}function n1(e){this._node=e,this._names=e1(e.getAttribute("class")||"")}function r1(e,t){for(var n=t1(e),r=-1,i=t.length;++r<i;)n.add(t[r])}function i1(e,t){for(var n=t1(e),r=-1,i=t.length;++r<i;)n.remove(t[r])}function o1(e){return function(){r1(this,e)}}function a1(e){return function(){i1(this,e)}}function s1(e,t){return function(){(t.apply(this,arguments)?r1:i1)(this,e)}}function l1(){this.textContent=""}function c1(e){return function(){this.textContent=e}}function u1(e){return function(){var t=e.apply(this,arguments);this.textContent=null==t?"":t}}function d1(){this.innerHTML=""}function f1(e){return function(){this.innerHTML=e}}function h1(e){return function(){var t=e.apply(this,arguments);this.innerHTML=null==t?"":t}}function p1(){this.nextSibling&&this.parentNode.appendChild(this)}function g1(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function m1(){return null}function v1(){var e=this.parentNode;e&&e.removeChild(this)}function b1(){var e=this.cloneNode(!1),t=this.parentNode;return t?t.insertBefore(e,this.nextSibling):e}function y1(){var e=this.cloneNode(!0),t=this.parentNode;return t?t.insertBefore(e,this.nextSibling):e}function _1(e){return function(){var t=this.__on;if(t){for(var n,r=0,i=-1,o=t.length;r<o;++r)n=t[r],e.type&&n.type!==e.type||n.name!==e.name?t[++i]=n:this.removeEventListener(n.type,n.listener,n.options);++i?t.length=i:delete this.__on}}}function x1(e,t,n){return function(){var r,i=this.__on,o=function(e){return function(t){e.call(this,t,this.__data__)}}(t);if(i)for(var a=0,s=i.length;a<s;++a)if((r=i[a]).type===e.type&&r.name===e.name)return this.removeEventListener(r.type,r.listener,r.options),this.addEventListener(r.type,r.listener=o,r.options=n),void(r.value=t);this.addEventListener(e.type,o,n),r={type:e.type,name:e.name,value:t,listener:o,options:n},i?i.push(r):this.__on=[r]}}function w1(e,t,n){var r=V0(e),i=r.CustomEvent;"function"==typeof i?i=new i(t,n):(i=r.document.createEvent("Event"),n?(i.initEvent(t,n.bubbles,n.cancelable),i.detail=n.detail):i.initEvent(t,!1,!1)),e.dispatchEvent(i)}function k1(e,t){return function(){return w1(this,e,t)}}function C1(e,t){return function(){return w1(this,e,t.apply(this,arguments))}}z0.prototype={constructor:z0,appendChild:function(e){return this._parent.insertBefore(e,this._next)},insertBefore:function(e,t){return this._parent.insertBefore(e,t)},querySelector:function(e){return this._parent.querySelector(e)},querySelectorAll:function(e){return this._parent.querySelectorAll(e)}},n1.prototype={add:function(e){this._names.indexOf(e)<0&&(this._names.push(e),this._node.setAttribute("class",this._names.join(" ")))},remove:function(e){var t=this._names.indexOf(e);t>=0&&(this._names.splice(t,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(e){return this._names.indexOf(e)>=0}};var A1=[null];function S1(e,t){this._groups=e,this._parents=t}function M1(){return new S1([[document.documentElement]],A1)}function E1(e){return"string"==typeof e?new S1([[document.querySelector(e)]],[document.documentElement]):new S1([[e]],A1)}function L1(e,t){if(e=function(e){let t;for(;t=e.sourceEvent;)e=t;return e}(e),void 0===t&&(t=e.currentTarget),t){var n=t.ownerSVGElement||t;if(n.createSVGPoint){var r=n.createSVGPoint();return r.x=e.clientX,r.y=e.clientY,[(r=r.matrixTransform(t.getScreenCTM().inverse())).x,r.y]}if(t.getBoundingClientRect){var i=t.getBoundingClientRect();return[e.clientX-i.left-t.clientLeft,e.clientY-i.top-t.clientTop]}}return[e.pageX,e.pageY]}S1.prototype=M1.prototype={constructor:S1,select:function(e){"function"!=typeof e&&(e=k0(e));for(var t=this._groups,n=t.length,r=new Array(n),i=0;i<n;++i)for(var o,a,s=t[i],l=s.length,c=r[i]=new Array(l),u=0;u<l;++u)(o=s[u])&&(a=e.call(o,o.__data__,u,s))&&("__data__"in o&&(a.__data__=o.__data__),c[u]=a);return new S1(r,this._parents)},selectAll:function(e){e="function"==typeof e?S0(e):A0(e);for(var t=this._groups,n=t.length,r=[],i=[],o=0;o<n;++o)for(var a,s=t[o],l=s.length,c=0;c<l;++c)(a=s[c])&&(r.push(e.call(a,a.__data__,c,s)),i.push(a));return new S1(r,i)},selectChild:function(e){return this.select(null==e?T0:function(e){return function(){return L0.call(this.children,e)}}("function"==typeof e?e:E0(e)))},selectChildren:function(e){return this.selectAll(null==e?F0:function(e){return function(){return D0.call(this.children,e)}}("function"==typeof e?e:E0(e)))},filter:function(e){"function"!=typeof e&&(e=M0(e));for(var t=this._groups,n=t.length,r=new Array(n),i=0;i<n;++i)for(var o,a=t[i],s=a.length,l=r[i]=[],c=0;c<s;++c)(o=a[c])&&e.call(o,o.__data__,c,a)&&l.push(o);return new S1(r,this._parents)},data:function(e,t){if(!arguments.length)return Array.from(this,P0);var n=t?N0:R0,r=this._parents,i=this._groups;"function"!=typeof e&&(e=function(e){return function(){return e}}(e));for(var o=i.length,a=new Array(o),s=new Array(o),l=new Array(o),c=0;c<o;++c){var u=r[c],d=i[c],f=d.length,h=I0(e.call(u,u&&u.__data__,c,r)),p=h.length,g=s[c]=new Array(p),m=a[c]=new Array(p);n(u,d,g,m,l[c]=new Array(f),h,t);for(var v,b,y=0,_=0;y<p;++y)if(v=g[y]){for(y>=_&&(_=y+1);!(b=m[_])&&++_<p;);v._next=b||null}}return(a=new S1(a,r))._enter=s,a._exit=l,a},enter:function(){return new S1(this._enter||this._groups.map(O0),this._parents)},exit:function(){return new S1(this._exit||this._groups.map(O0),this._parents)},join:function(e,t,n){var r=this.enter(),i=this,o=this.exit();return"function"==typeof e?(r=e(r))&&(r=r.selection()):r=r.append(e+""),null!=t&&(i=t(i))&&(i=i.selection()),null==n?o.remove():n(o),r&&i?r.merge(i).order():i},merge:function(e){for(var t=e.selection?e.selection():e,n=this._groups,r=t._groups,i=n.length,o=r.length,a=Math.min(i,o),s=new Array(i),l=0;l<a;++l)for(var c,u=n[l],d=r[l],f=u.length,h=s[l]=new Array(f),p=0;p<f;++p)(c=u[p]||d[p])&&(h[p]=c);for(;l<i;++l)s[l]=n[l];return new S1(s,this._parents)},selection:function(){return this},order:function(){for(var e=this._groups,t=-1,n=e.length;++t<n;)for(var r,i=e[t],o=i.length-1,a=i[o];--o>=0;)(r=i[o])&&(a&&4^r.compareDocumentPosition(a)&&a.parentNode.insertBefore(r,a),a=r);return this},sort:function(e){function t(t,n){return t&&n?e(t.__data__,n.__data__):!t-!n}e||(e=B0);for(var n=this._groups,r=n.length,i=new Array(r),o=0;o<r;++o){for(var a,s=n[o],l=s.length,c=i[o]=new Array(l),u=0;u<l;++u)(a=s[u])&&(c[u]=a);c.sort(t)}return new S1(i,this._parents).order()},call:function(){var e=arguments[0];return arguments[0]=this,e.apply(null,arguments),this},nodes:function(){return Array.from(this)},node:function(){for(var e=this._groups,t=0,n=e.length;t<n;++t)for(var r=e[t],i=0,o=r.length;i<o;++i){var a=r[i];if(a)return a}return null},size:function(){let e=0;for(const t of this)++e;return e},empty:function(){return!this.node()},each:function(e){for(var t=this._groups,n=0,r=t.length;n<r;++n)for(var i,o=t[n],a=0,s=o.length;a<s;++a)(i=o[a])&&e.call(i,i.__data__,a,o);return this},attr:function(e,t){var n=b0(e);if(arguments.length<2){var r=this.node();return n.local?r.getAttributeNS(n.space,n.local):r.getAttribute(n)}return this.each((null==t?n.local?W0:j0:"function"==typeof t?n.local?U0:$0:n.local?q0:H0)(n,t))},style:function(e,t,n){return arguments.length>1?this.each((null==t?G0:"function"==typeof t?Z0:Y0)(e,t,null==n?"":n)):X0(this.node(),e)},property:function(e,t){return arguments.length>1?this.each((null==t?K0:"function"==typeof t?Q0:J0)(e,t)):this.node()[e]},classed:function(e,t){var n=e1(e+"");if(arguments.length<2){for(var r=t1(this.node()),i=-1,o=n.length;++i<o;)if(!r.contains(n[i]))return!1;return!0}return this.each(("function"==typeof t?s1:t?o1:a1)(n,t))},text:function(e){return arguments.length?this.each(null==e?l1:("function"==typeof e?u1:c1)(e)):this.node().textContent},html:function(e){return arguments.length?this.each(null==e?d1:("function"==typeof e?h1:f1)(e)):this.node().innerHTML},raise:function(){return this.each(p1)},lower:function(){return this.each(g1)},append:function(e){var t="function"==typeof e?e:x0(e);return this.select((function(){return this.appendChild(t.apply(this,arguments))}))},insert:function(e,t){var n="function"==typeof e?e:x0(e),r=null==t?m1:"function"==typeof t?t:k0(t);return this.select((function(){return this.insertBefore(n.apply(this,arguments),r.apply(this,arguments)||null)}))},remove:function(){return this.each(v1)},clone:function(e){return this.select(e?y1:b1)},datum:function(e){return arguments.length?this.property("__data__",e):this.node().__data__},on:function(e,t,n){var r,i,o=function(e){return e.trim().split(/^|\s+/).map((function(e){var t="",n=e.indexOf(".");return n>=0&&(t=e.slice(n+1),e=e.slice(0,n)),{type:e,name:t}}))}(e+""),a=o.length;if(!(arguments.length<2)){for(s=t?x1:_1,r=0;r<a;++r)this.each(s(o[r],t,n));return this}var s=this.node().__on;if(s)for(var l,c=0,u=s.length;c<u;++c)for(r=0,l=s[c];r<a;++r)if((i=o[r]).type===l.type&&i.name===l.name)return l.value},dispatch:function(e,t){return this.each(("function"==typeof t?C1:k1)(e,t))},[Symbol.iterator]:function*(){for(var e=this._groups,t=0,n=e.length;t<n;++t)for(var r,i=e[t],o=0,a=i.length;o<a;++o)(r=i[o])&&(yield r)}};var T1={value:()=>{}};function D1(){for(var e,t=0,n=arguments.length,r={};t<n;++t){if(!(e=arguments[t]+"")||e in r||/[\s.]/.test(e))throw new Error("illegal type: "+e);r[e]=[]}return new F1(r)}function F1(e){this._=e}function O1(e,t){for(var n,r=0,i=e.length;r<i;++r)if((n=e[r]).name===t)return n.value}function z1(e,t,n){for(var r=0,i=e.length;r<i;++r)if(e[r].name===t){e[r]=T1,e=e.slice(0,r).concat(e.slice(r+1));break}return null!=n&&e.push({name:t,value:n}),e}F1.prototype=D1.prototype={constructor:F1,on:function(e,t){var n,r,i=this._,o=(r=i,(e+"").trim().split(/^|\s+/).map((function(e){var t="",n=e.indexOf(".");if(n>=0&&(t=e.slice(n+1),e=e.slice(0,n)),e&&!r.hasOwnProperty(e))throw new Error("unknown type: "+e);return{type:e,name:t}}))),a=-1,s=o.length;if(!(arguments.length<2)){if(null!=t&&"function"!=typeof t)throw new Error("invalid callback: "+t);for(;++a<s;)if(n=(e=o[a]).type)i[n]=z1(i[n],e.name,t);else if(null==t)for(n in i)i[n]=z1(i[n],e.name,null);return this}for(;++a<s;)if((n=(e=o[a]).type)&&(n=O1(i[n],e.name)))return n},copy:function(){var e={},t=this._;for(var n in t)e[n]=t[n].slice();return new F1(e)},call:function(e,t){if((n=arguments.length-2)>0)for(var n,r,i=new Array(n),o=0;o<n;++o)i[o]=arguments[o+2];if(!this._.hasOwnProperty(e))throw new Error("unknown type: "+e);for(o=0,n=(r=this._[e]).length;o<n;++o)r[o].value.apply(t,i)},apply:function(e,t,n){if(!this._.hasOwnProperty(e))throw new Error("unknown type: "+e);for(var r=this._[e],i=0,o=r.length;i<o;++i)r[i].value.apply(t,n)}};var R1,N1,P1=0,I1=0,B1=0,j1=0,W1=0,H1=0,q1="object"==typeof performance&&performance.now?performance:Date,$1="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(e){setTimeout(e,17)};function U1(){return W1||($1(V1),W1=q1.now()+H1)}function V1(){W1=0}function G1(){this._call=this._time=this._next=null}function Y1(e,t,n){var r=new G1;return r.restart(e,t,n),r}function Z1(){W1=(j1=q1.now())+H1,P1=I1=0;try{!function(){U1(),++P1;for(var e,t=R1;t;)(e=W1-t._time)>=0&&t._call.call(void 0,e),t=t._next;--P1}()}finally{P1=0,function(){var e,t,n=R1,r=1/0;for(;n;)n._call?(r>n._time&&(r=n._time),e=n,n=n._next):(t=n._next,n._next=null,n=e?e._next=t:R1=t);N1=e,K1(r)}(),W1=0}}function X1(){var e=q1.now(),t=e-j1;t>1e3&&(H1-=t,j1=e)}function K1(e){P1||(I1&&(I1=clearTimeout(I1)),e-W1>24?(e<1/0&&(I1=setTimeout(Z1,e-q1.now()-H1)),B1&&(B1=clearInterval(B1))):(B1||(j1=q1.now(),B1=setInterval(X1,1e3)),P1=1,$1(Z1)))}function J1(e,t,n){var r=new G1;return t=null==t?0:+t,r.restart((n=>{r.stop(),e(n+t)}),t,n),r}G1.prototype=Y1.prototype={constructor:G1,restart:function(e,t,n){if("function"!=typeof e)throw new TypeError("callback is not a function");n=(null==n?U1():+n)+(null==t?0:+t),this._next||N1===this||(N1?N1._next=this:R1=this,N1=this),this._call=e,this._time=n,K1()},stop:function(){this._call&&(this._call=null,this._time=1/0,K1())}};var Q1=D1("start","end","cancel","interrupt"),e2=[];function t2(e,t,n,r,i,o){var a=e.__transition;if(a){if(n in a)return}else e.__transition={};!function(e,t,n){var r,i=e.__transition;function o(e){n.state=1,n.timer.restart(a,n.delay,n.time),n.delay<=e&&a(e-n.delay)}function a(o){var c,u,d,f;if(1!==n.state)return l();for(c in i)if((f=i[c]).name===n.name){if(3===f.state)return J1(a);4===f.state?(f.state=6,f.timer.stop(),f.on.call("interrupt",e,e.__data__,f.index,f.group),delete i[c]):+c<t&&(f.state=6,f.timer.stop(),f.on.call("cancel",e,e.__data__,f.index,f.group),delete i[c])}if(J1((function(){3===n.state&&(n.state=4,n.timer.restart(s,n.delay,n.time),s(o))})),n.state=2,n.on.call("start",e,e.__data__,n.index,n.group),2===n.state){for(n.state=3,r=new Array(d=n.tween.length),c=0,u=-1;c<d;++c)(f=n.tween[c].value.call(e,e.__data__,n.index,n.group))&&(r[++u]=f);r.length=u+1}}function s(t){for(var i=t<n.duration?n.ease.call(null,t/n.duration):(n.timer.restart(l),n.state=5,1),o=-1,a=r.length;++o<a;)r[o].call(e,i);5===n.state&&(n.on.call("end",e,e.__data__,n.index,n.group),l())}function l(){for(var r in n.state=6,n.timer.stop(),delete i[t],i)return;delete e.__transition}i[t]=n,n.timer=Y1(o,0,n.time)}(e,n,{name:t,index:r,group:i,on:Q1,tween:e2,time:o.time,delay:o.delay,duration:o.duration,ease:o.ease,timer:null,state:0})}function n2(e,t){var n=i2(e,t);if(n.state>0)throw new Error("too late; already scheduled");return n}function r2(e,t){var n=i2(e,t);if(n.state>3)throw new Error("too late; already running");return n}function i2(e,t){var n=e.__transition;if(!n||!(n=n[t]))throw new Error("transition not found");return n}function o2(e,t){var n,r;return function(){var i=r2(this,e),o=i.tween;if(o!==n)for(var a=0,s=(r=n=o).length;a<s;++a)if(r[a].name===t){(r=r.slice()).splice(a,1);break}i.tween=r}}function a2(e,t,n){var r,i;if("function"!=typeof n)throw new Error;return function(){var o=r2(this,e),a=o.tween;if(a!==r){i=(r=a).slice();for(var s={name:t,value:n},l=0,c=i.length;l<c;++l)if(i[l].name===t){i[l]=s;break}l===c&&i.push(s)}o.tween=i}}function s2(e,t,n){var r=e._id;return e.each((function(){var e=r2(this,r);(e.value||(e.value={}))[t]=n.apply(this,arguments)})),function(e){return i2(e,r).value[t]}}function l2(e,t){var n;return("number"==typeof t?hi:t instanceof Er?si:(n=Er(t))?(t=n,si):vi)(e,t)}function c2(e){return function(){this.removeAttribute(e)}}function u2(e){return function(){this.removeAttributeNS(e.space,e.local)}}function d2(e,t,n){var r,i,o=n+"";return function(){var a=this.getAttribute(e);return a===o?null:a===r?i:i=t(r=a,n)}}function f2(e,t,n){var r,i,o=n+"";return function(){var a=this.getAttributeNS(e.space,e.local);return a===o?null:a===r?i:i=t(r=a,n)}}function h2(e,t,n){var r,i,o;return function(){var a,s,l=n(this);if(null!=l)return(a=this.getAttribute(e))===(s=l+"")?null:a===r&&s===i?o:(i=s,o=t(r=a,l));this.removeAttribute(e)}}function p2(e,t,n){var r,i,o;return function(){var a,s,l=n(this);if(null!=l)return(a=this.getAttributeNS(e.space,e.local))===(s=l+"")?null:a===r&&s===i?o:(i=s,o=t(r=a,l));this.removeAttributeNS(e.space,e.local)}}function g2(e,t){var n,r;function i(){var i=t.apply(this,arguments);return i!==r&&(n=(r=i)&&function(e,t){return function(n){this.setAttributeNS(e.space,e.local,t.call(this,n))}}(e,i)),n}return i._value=t,i}function m2(e,t){var n,r;function i(){var i=t.apply(this,arguments);return i!==r&&(n=(r=i)&&function(e,t){return function(n){this.setAttribute(e,t.call(this,n))}}(e,i)),n}return i._value=t,i}function v2(e,t){return function(){n2(this,e).delay=+t.apply(this,arguments)}}function b2(e,t){return t=+t,function(){n2(this,e).delay=t}}function y2(e,t){return function(){r2(this,e).duration=+t.apply(this,arguments)}}function _2(e,t){return t=+t,function(){r2(this,e).duration=t}}var x2=M1.prototype.constructor;function w2(e){return function(){this.style.removeProperty(e)}}var k2=0;function C2(e,t,n,r){this._groups=e,this._parents=t,this._name=n,this._id=r}function A2(e){return M1().transition(e)}function S2(){return++k2}var M2=M1.prototype;function E2(e){return((e*=2)<=1?e*e*e:(e-=2)*e*e+2)/2}C2.prototype=A2.prototype={constructor:C2,select:function(e){var t=this._name,n=this._id;"function"!=typeof e&&(e=k0(e));for(var r=this._groups,i=r.length,o=new Array(i),a=0;a<i;++a)for(var s,l,c=r[a],u=c.length,d=o[a]=new Array(u),f=0;f<u;++f)(s=c[f])&&(l=e.call(s,s.__data__,f,c))&&("__data__"in s&&(l.__data__=s.__data__),d[f]=l,t2(d[f],t,n,f,d,i2(s,n)));return new C2(o,this._parents,t,n)},selectAll:function(e){var t=this._name,n=this._id;"function"!=typeof e&&(e=A0(e));for(var r=this._groups,i=r.length,o=[],a=[],s=0;s<i;++s)for(var l,c=r[s],u=c.length,d=0;d<u;++d)if(l=c[d]){for(var f,h=e.call(l,l.__data__,d,c),p=i2(l,n),g=0,m=h.length;g<m;++g)(f=h[g])&&t2(f,t,n,g,h,p);o.push(h),a.push(l)}return new C2(o,a,t,n)},selectChild:M2.selectChild,selectChildren:M2.selectChildren,filter:function(e){"function"!=typeof e&&(e=M0(e));for(var t=this._groups,n=t.length,r=new Array(n),i=0;i<n;++i)for(var o,a=t[i],s=a.length,l=r[i]=[],c=0;c<s;++c)(o=a[c])&&e.call(o,o.__data__,c,a)&&l.push(o);return new C2(r,this._parents,this._name,this._id)},merge:function(e){if(e._id!==this._id)throw new Error;for(var t=this._groups,n=e._groups,r=t.length,i=n.length,o=Math.min(r,i),a=new Array(r),s=0;s<o;++s)for(var l,c=t[s],u=n[s],d=c.length,f=a[s]=new Array(d),h=0;h<d;++h)(l=c[h]||u[h])&&(f[h]=l);for(;s<r;++s)a[s]=t[s];return new C2(a,this._parents,this._name,this._id)},selection:function(){return new x2(this._groups,this._parents)},transition:function(){for(var e=this._name,t=this._id,n=S2(),r=this._groups,i=r.length,o=0;o<i;++o)for(var a,s=r[o],l=s.length,c=0;c<l;++c)if(a=s[c]){var u=i2(a,t);t2(a,e,n,c,s,{time:u.time+u.delay+u.duration,delay:0,duration:u.duration,ease:u.ease})}return new C2(r,this._parents,e,n)},call:M2.call,nodes:M2.nodes,node:M2.node,size:M2.size,empty:M2.empty,each:M2.each,on:function(e,t){var n=this._id;return arguments.length<2?i2(this.node(),n).on.on(e):this.each(function(e,t,n){var r,i,o=function(e){return(e+"").trim().split(/^|\s+/).every((function(e){var t=e.indexOf(".");return t>=0&&(e=e.slice(0,t)),!e||"start"===e}))}(t)?n2:r2;return function(){var a=o(this,e),s=a.on;s!==r&&(i=(r=s).copy()).on(t,n),a.on=i}}(n,e,t))},attr:function(e,t){var n=b0(e),r="transform"===n?Si:l2;return this.attrTween(e,"function"==typeof t?(n.local?p2:h2)(n,r,s2(this,"attr."+e,t)):null==t?(n.local?u2:c2)(n):(n.local?f2:d2)(n,r,t))},attrTween:function(e,t){var n="attr."+e;if(arguments.length<2)return(n=this.tween(n))&&n._value;if(null==t)return this.tween(n,null);if("function"!=typeof t)throw new Error;var r=b0(e);return this.tween(n,(r.local?g2:m2)(r,t))},style:function(e,t,n){var r="transform"==(e+="")?Ai:l2;return null==t?this.styleTween(e,function(e,t){var n,r,i;return function(){var o=X0(this,e),a=(this.style.removeProperty(e),X0(this,e));return o===a?null:o===n&&a===r?i:i=t(n=o,r=a)}}(e,r)).on("end.style."+e,w2(e)):"function"==typeof t?this.styleTween(e,function(e,t,n){var r,i,o;return function(){var a=X0(this,e),s=n(this),l=s+"";return null==s&&(this.style.removeProperty(e),l=s=X0(this,e)),a===l?null:a===r&&l===i?o:(i=l,o=t(r=a,s))}}(e,r,s2(this,"style."+e,t))).each(function(e,t){var n,r,i,o,a="style."+t,s="end."+a;return function(){var l=r2(this,e),c=l.on,u=null==l.value[a]?o||(o=w2(t)):void 0;c===n&&i===u||(r=(n=c).copy()).on(s,i=u),l.on=r}}(this._id,e)):this.styleTween(e,function(e,t,n){var r,i,o=n+"";return function(){var a=X0(this,e);return a===o?null:a===r?i:i=t(r=a,n)}}(e,r,t),n).on("end.style."+e,null)},styleTween:function(e,t,n){var r="style."+(e+="");if(arguments.length<2)return(r=this.tween(r))&&r._value;if(null==t)return this.tween(r,null);if("function"!=typeof t)throw new Error;return this.tween(r,function(e,t,n){var r,i;function o(){var o=t.apply(this,arguments);return o!==i&&(r=(i=o)&&function(e,t,n){return function(r){this.style.setProperty(e,t.call(this,r),n)}}(e,o,n)),r}return o._value=t,o}(e,t,null==n?"":n))},text:function(e){return this.tween("text","function"==typeof e?function(e){return function(){var t=e(this);this.textContent=null==t?"":t}}(s2(this,"text",e)):function(e){return function(){this.textContent=e}}(null==e?"":e+""))},textTween:function(e){var t="text";if(arguments.length<1)return(t=this.tween(t))&&t._value;if(null==e)return this.tween(t,null);if("function"!=typeof e)throw new Error;return this.tween(t,function(e){var t,n;function r(){var r=e.apply(this,arguments);return r!==n&&(t=(n=r)&&function(e){return function(t){this.textContent=e.call(this,t)}}(r)),t}return r._value=e,r}(e))},remove:function(){return this.on("end.remove",function(e){return function(){var t=this.parentNode;for(var n in this.__transition)if(+n!==e)return;t&&t.removeChild(this)}}(this._id))},tween:function(e,t){var n=this._id;if(e+="",arguments.length<2){for(var r,i=i2(this.node(),n).tween,o=0,a=i.length;o<a;++o)if((r=i[o]).name===e)return r.value;return null}return this.each((null==t?o2:a2)(n,e,t))},delay:function(e){var t=this._id;return arguments.length?this.each(("function"==typeof e?v2:b2)(t,e)):i2(this.node(),t).delay},duration:function(e){var t=this._id;return arguments.length?this.each(("function"==typeof e?y2:_2)(t,e)):i2(this.node(),t).duration},ease:function(e){var t=this._id;return arguments.length?this.each(function(e,t){if("function"!=typeof t)throw new Error;return function(){r2(this,e).ease=t}}(t,e)):i2(this.node(),t).ease},easeVarying:function(e){if("function"!=typeof e)throw new Error;return this.each(function(e,t){return function(){var n=t.apply(this,arguments);if("function"!=typeof n)throw new Error;r2(this,e).ease=n}}(this._id,e))},end:function(){var e,t,n=this,r=n._id,i=n.size();return new Promise((function(o,a){var s={value:a},l={value:function(){0==--i&&o()}};n.each((function(){var n=r2(this,r),i=n.on;i!==e&&((t=(e=i).copy())._.cancel.push(s),t._.interrupt.push(s),t._.end.push(l)),n.on=t})),0===i&&o()}))},[Symbol.iterator]:M2[Symbol.iterator]};var L2={time:null,delay:0,duration:250,ease:E2};function T2(e,t){for(var n;!(n=e.__transition)||!(n=n[t]);)if(!(e=e.parentNode))throw new Error(`transition ${t} not found`);return n}function D2(e){return e}M1.prototype.interrupt=function(e){return this.each((function(){!function(e,t){var n,r,i,o=e.__transition,a=!0;if(o){for(i in t=null==t?null:t+"",o)(n=o[i]).name===t?(r=n.state>2&&n.state<5,n.state=6,n.timer.stop(),n.on.call(r?"interrupt":"cancel",e,e.__data__,n.index,n.group),delete o[i]):a=!1;a&&delete e.__transition}}(this,e)}))},M1.prototype.transition=function(e){var t,n;e instanceof C2?(t=e._id,e=e._name):(t=S2(),(n=L2).time=U1(),e=null==e?null:e+"");for(var r=this._groups,i=r.length,o=0;o<i;++o)for(var a,s=r[o],l=s.length,c=0;c<l;++c)(a=s[c])&&t2(a,e,t,c,s,n||T2(a,t));return new C2(r,this._parents,e,t)};var F2=1e-6;function O2(e){return"translate("+e+",0)"}function z2(e){return"translate(0,"+e+")"}function R2(e){return t=>+e(t)}function N2(e,t){return t=Math.max(0,e.bandwidth()-2*t)/2,e.round()&&(t=Math.round(t)),n=>+e(n)+t}function P2(){return!this.__axis}function I2(e,t){var n=[],r=null,i=null,o=6,a=6,s=3,l="undefined"!=typeof window&&window.devicePixelRatio>1?0:.5,c=1===e||4===e?-1:1,u=4===e||2===e?"x":"y",d=1===e||3===e?O2:z2;function f(f){var h=null==r?t.ticks?t.ticks.apply(t,n):t.domain():r,p=null==i?t.tickFormat?t.tickFormat.apply(t,n):D2:i,g=Math.max(o,0)+s,m=t.range(),v=+m[0]+l,b=+m[m.length-1]+l,y=(t.bandwidth?N2:R2)(t.copy(),l),_=f.selection?f.selection():f,x=_.selectAll(".domain").data([null]),w=_.selectAll(".tick").data(h,t).order(),k=w.exit(),C=w.enter().append("g").attr("class","tick"),A=w.select("line"),S=w.select("text");x=x.merge(x.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),w=w.merge(C),A=A.merge(C.append("line").attr("stroke","currentColor").attr(u+"2",c*o)),S=S.merge(C.append("text").attr("fill","currentColor").attr(u,c*g).attr("dy",1===e?"0em":3===e?"0.71em":"0.32em")),f!==_&&(x=x.transition(f),w=w.transition(f),A=A.transition(f),S=S.transition(f),k=k.transition(f).attr("opacity",F2).attr("transform",(function(e){return isFinite(e=y(e))?d(e+l):this.getAttribute("transform")})),C.attr("opacity",F2).attr("transform",(function(e){var t=this.parentNode.__axis;return d((t&&isFinite(t=t(e))?t:y(e))+l)}))),k.remove(),x.attr("d",4===e||2===e?a?"M"+c*a+","+v+"H"+l+"V"+b+"H"+c*a:"M"+l+","+v+"V"+b:a?"M"+v+","+c*a+"V"+l+"H"+b+"V"+c*a:"M"+v+","+l+"H"+b),w.attr("opacity",1).attr("transform",(function(e){return d(y(e)+l)})),A.attr(u+"2",c*o),S.attr(u,c*g).text(p),_.filter(P2).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",2===e?"start":4===e?"end":"middle"),_.each((function(){this.__axis=y}))}return f.scale=function(e){return arguments.length?(t=e,f):t},f.ticks=function(){return n=Array.from(arguments),f},f.tickArguments=function(e){return arguments.length?(n=null==e?[]:Array.from(e),f):n.slice()},f.tickValues=function(e){return arguments.length?(r=null==e?null:Array.from(e),f):r&&r.slice()},f.tickFormat=function(e){return arguments.length?(i=e,f):i},f.tickSize=function(e){return arguments.length?(o=a=+e,f):o},f.tickSizeInner=function(e){return arguments.length?(o=+e,f):o},f.tickSizeOuter=function(e){return arguments.length?(a=+e,f):a},f.tickPadding=function(e){return arguments.length?(s=+e,f):s},f.offset=function(e){return arguments.length?(l=+e,f):l},f}function B2(e){return I2(3,e)}const j2={capture:!0,passive:!1};function W2(e){e.preventDefault(),e.stopImmediatePropagation()}var H2=D1("start","end","cancel","interrupt"),q2=[];function $2(e,t,n,r,i,o){var a=e.__transition;if(a){if(n in a)return}else e.__transition={};!function(e,t,n){var r,i=e.__transition;function o(e){n.state=1,n.timer.restart(a,n.delay,n.time),n.delay<=e&&a(e-n.delay)}function a(o){var c,u,d,f;if(1!==n.state)return l();for(c in i)if((f=i[c]).name===n.name){if(3===f.state)return J1(a);4===f.state?(f.state=6,f.timer.stop(),f.on.call("interrupt",e,e.__data__,f.index,f.group),delete i[c]):+c<t&&(f.state=6,f.timer.stop(),f.on.call("cancel",e,e.__data__,f.index,f.group),delete i[c])}if(J1((function(){3===n.state&&(n.state=4,n.timer.restart(s,n.delay,n.time),s(o))})),n.state=2,n.on.call("start",e,e.__data__,n.index,n.group),2===n.state){for(n.state=3,r=new Array(d=n.tween.length),c=0,u=-1;c<d;++c)(f=n.tween[c].value.call(e,e.__data__,n.index,n.group))&&(r[++u]=f);r.length=u+1}}function s(t){for(var i=t<n.duration?n.ease.call(null,t/n.duration):(n.timer.restart(l),n.state=5,1),o=-1,a=r.length;++o<a;)r[o].call(e,i);5===n.state&&(n.on.call("end",e,e.__data__,n.index,n.group),l())}function l(){for(var r in n.state=6,n.timer.stop(),delete i[t],i)return;delete e.__transition}i[t]=n,n.timer=Y1(o,0,n.time)}(e,n,{name:t,index:r,group:i,on:H2,tween:q2,time:o.time,delay:o.delay,duration:o.duration,ease:o.ease,timer:null,state:0})}function U2(e,t){var n=G2(e,t);if(n.state>0)throw new Error("too late; already scheduled");return n}function V2(e,t){var n=G2(e,t);if(n.state>3)throw new Error("too late; already running");return n}function G2(e,t){var n=e.__transition;if(!n||!(n=n[t]))throw new Error("transition not found");return n}function Y2(e,t){var n,r,i,o=e.__transition,a=!0;if(o){for(i in t=null==t?null:t+"",o)(n=o[i]).name===t?(r=n.state>2&&n.state<5,n.state=6,n.timer.stop(),n.on.call(r?"interrupt":"cancel",e,e.__data__,n.index,n.group),delete o[i]):a=!1;a&&delete e.__transition}}function Z2(e,t){var n,r;return function(){var i=V2(this,e),o=i.tween;if(o!==n)for(var a=0,s=(r=n=o).length;a<s;++a)if(r[a].name===t){(r=r.slice()).splice(a,1);break}i.tween=r}}function X2(e,t,n){var r,i;if("function"!=typeof n)throw new Error;return function(){var o=V2(this,e),a=o.tween;if(a!==r){i=(r=a).slice();for(var s={name:t,value:n},l=0,c=i.length;l<c;++l)if(i[l].name===t){i[l]=s;break}l===c&&i.push(s)}o.tween=i}}function K2(e,t,n){var r=e._id;return e.each((function(){var e=V2(this,r);(e.value||(e.value={}))[t]=n.apply(this,arguments)})),function(e){return G2(e,r).value[t]}}function J2(e,t){var n;return("number"==typeof t?hi:t instanceof Er?si:(n=Er(t))?(t=n,si):vi)(e,t)}function Q2(e){return function(){this.removeAttribute(e)}}function e3(e){return function(){this.removeAttributeNS(e.space,e.local)}}function t3(e,t,n){var r,i,o=n+"";return function(){var a=this.getAttribute(e);return a===o?null:a===r?i:i=t(r=a,n)}}function n3(e,t,n){var r,i,o=n+"";return function(){var a=this.getAttributeNS(e.space,e.local);return a===o?null:a===r?i:i=t(r=a,n)}}function r3(e,t,n){var r,i,o;return function(){var a,s,l=n(this);if(null!=l)return(a=this.getAttribute(e))===(s=l+"")?null:a===r&&s===i?o:(i=s,o=t(r=a,l));this.removeAttribute(e)}}function i3(e,t,n){var r,i,o;return function(){var a,s,l=n(this);if(null!=l)return(a=this.getAttributeNS(e.space,e.local))===(s=l+"")?null:a===r&&s===i?o:(i=s,o=t(r=a,l));this.removeAttributeNS(e.space,e.local)}}function o3(e,t){var n,r;function i(){var i=t.apply(this,arguments);return i!==r&&(n=(r=i)&&function(e,t){return function(n){this.setAttributeNS(e.space,e.local,t.call(this,n))}}(e,i)),n}return i._value=t,i}function a3(e,t){var n,r;function i(){var i=t.apply(this,arguments);return i!==r&&(n=(r=i)&&function(e,t){return function(n){this.setAttribute(e,t.call(this,n))}}(e,i)),n}return i._value=t,i}function s3(e,t){return function(){U2(this,e).delay=+t.apply(this,arguments)}}function l3(e,t){return t=+t,function(){U2(this,e).delay=t}}function c3(e,t){return function(){V2(this,e).duration=+t.apply(this,arguments)}}function u3(e,t){return t=+t,function(){V2(this,e).duration=t}}var d3=M1.prototype.constructor;function f3(e){return function(){this.style.removeProperty(e)}}var h3=0;function p3(e,t,n,r){this._groups=e,this._parents=t,this._name=n,this._id=r}function g3(){return++h3}var m3=M1.prototype;p3.prototype={constructor:p3,select:function(e){var t=this._name,n=this._id;"function"!=typeof e&&(e=k0(e));for(var r=this._groups,i=r.length,o=new Array(i),a=0;a<i;++a)for(var s,l,c=r[a],u=c.length,d=o[a]=new Array(u),f=0;f<u;++f)(s=c[f])&&(l=e.call(s,s.__data__,f,c))&&("__data__"in s&&(l.__data__=s.__data__),d[f]=l,$2(d[f],t,n,f,d,G2(s,n)));return new p3(o,this._parents,t,n)},selectAll:function(e){var t=this._name,n=this._id;"function"!=typeof e&&(e=A0(e));for(var r=this._groups,i=r.length,o=[],a=[],s=0;s<i;++s)for(var l,c=r[s],u=c.length,d=0;d<u;++d)if(l=c[d]){for(var f,h=e.call(l,l.__data__,d,c),p=G2(l,n),g=0,m=h.length;g<m;++g)(f=h[g])&&$2(f,t,n,g,h,p);o.push(h),a.push(l)}return new p3(o,a,t,n)},selectChild:m3.selectChild,selectChildren:m3.selectChildren,filter:function(e){"function"!=typeof e&&(e=M0(e));for(var t=this._groups,n=t.length,r=new Array(n),i=0;i<n;++i)for(var o,a=t[i],s=a.length,l=r[i]=[],c=0;c<s;++c)(o=a[c])&&e.call(o,o.__data__,c,a)&&l.push(o);return new p3(r,this._parents,this._name,this._id)},merge:function(e){if(e._id!==this._id)throw new Error;for(var t=this._groups,n=e._groups,r=t.length,i=n.length,o=Math.min(r,i),a=new Array(r),s=0;s<o;++s)for(var l,c=t[s],u=n[s],d=c.length,f=a[s]=new Array(d),h=0;h<d;++h)(l=c[h]||u[h])&&(f[h]=l);for(;s<r;++s)a[s]=t[s];return new p3(a,this._parents,this._name,this._id)},selection:function(){return new d3(this._groups,this._parents)},transition:function(){for(var e=this._name,t=this._id,n=g3(),r=this._groups,i=r.length,o=0;o<i;++o)for(var a,s=r[o],l=s.length,c=0;c<l;++c)if(a=s[c]){var u=G2(a,t);$2(a,e,n,c,s,{time:u.time+u.delay+u.duration,delay:0,duration:u.duration,ease:u.ease})}return new p3(r,this._parents,e,n)},call:m3.call,nodes:m3.nodes,node:m3.node,size:m3.size,empty:m3.empty,each:m3.each,on:function(e,t){var n=this._id;return arguments.length<2?G2(this.node(),n).on.on(e):this.each(function(e,t,n){var r,i,o=function(e){return(e+"").trim().split(/^|\s+/).every((function(e){var t=e.indexOf(".");return t>=0&&(e=e.slice(0,t)),!e||"start"===e}))}(t)?U2:V2;return function(){var a=o(this,e),s=a.on;s!==r&&(i=(r=s).copy()).on(t,n),a.on=i}}(n,e,t))},attr:function(e,t){var n=b0(e),r="transform"===n?Si:J2;return this.attrTween(e,"function"==typeof t?(n.local?i3:r3)(n,r,K2(this,"attr."+e,t)):null==t?(n.local?e3:Q2)(n):(n.local?n3:t3)(n,r,t))},attrTween:function(e,t){var n="attr."+e;if(arguments.length<2)return(n=this.tween(n))&&n._value;if(null==t)return this.tween(n,null);if("function"!=typeof t)throw new Error;var r=b0(e);return this.tween(n,(r.local?o3:a3)(r,t))},style:function(e,t,n){var r="transform"==(e+="")?Ai:J2;return null==t?this.styleTween(e,function(e,t){var n,r,i;return function(){var o=X0(this,e),a=(this.style.removeProperty(e),X0(this,e));return o===a?null:o===n&&a===r?i:i=t(n=o,r=a)}}(e,r)).on("end.style."+e,f3(e)):"function"==typeof t?this.styleTween(e,function(e,t,n){var r,i,o;return function(){var a=X0(this,e),s=n(this),l=s+"";return null==s&&(this.style.removeProperty(e),l=s=X0(this,e)),a===l?null:a===r&&l===i?o:(i=l,o=t(r=a,s))}}(e,r,K2(this,"style."+e,t))).each(function(e,t){var n,r,i,o,a="style."+t,s="end."+a;return function(){var l=V2(this,e),c=l.on,u=null==l.value[a]?o||(o=f3(t)):void 0;c===n&&i===u||(r=(n=c).copy()).on(s,i=u),l.on=r}}(this._id,e)):this.styleTween(e,function(e,t,n){var r,i,o=n+"";return function(){var a=X0(this,e);return a===o?null:a===r?i:i=t(r=a,n)}}(e,r,t),n).on("end.style."+e,null)},styleTween:function(e,t,n){var r="style."+(e+="");if(arguments.length<2)return(r=this.tween(r))&&r._value;if(null==t)return this.tween(r,null);if("function"!=typeof t)throw new Error;return this.tween(r,function(e,t,n){var r,i;function o(){var o=t.apply(this,arguments);return o!==i&&(r=(i=o)&&function(e,t,n){return function(r){this.style.setProperty(e,t.call(this,r),n)}}(e,o,n)),r}return o._value=t,o}(e,t,null==n?"":n))},text:function(e){return this.tween("text","function"==typeof e?function(e){return function(){var t=e(this);this.textContent=null==t?"":t}}(K2(this,"text",e)):function(e){return function(){this.textContent=e}}(null==e?"":e+""))},textTween:function(e){var t="text";if(arguments.length<1)return(t=this.tween(t))&&t._value;if(null==e)return this.tween(t,null);if("function"!=typeof e)throw new Error;return this.tween(t,function(e){var t,n;function r(){var r=e.apply(this,arguments);return r!==n&&(t=(n=r)&&function(e){return function(t){this.textContent=e.call(this,t)}}(r)),t}return r._value=e,r}(e))},remove:function(){return this.on("end.remove",function(e){return function(){var t=this.parentNode;for(var n in this.__transition)if(+n!==e)return;t&&t.removeChild(this)}}(this._id))},tween:function(e,t){var n=this._id;if(e+="",arguments.length<2){for(var r,i=G2(this.node(),n).tween,o=0,a=i.length;o<a;++o)if((r=i[o]).name===e)return r.value;return null}return this.each((null==t?Z2:X2)(n,e,t))},delay:function(e){var t=this._id;return arguments.length?this.each(("function"==typeof e?s3:l3)(t,e)):G2(this.node(),t).delay},duration:function(e){var t=this._id;return arguments.length?this.each(("function"==typeof e?c3:u3)(t,e)):G2(this.node(),t).duration},ease:function(e){var t=this._id;return arguments.length?this.each(function(e,t){if("function"!=typeof t)throw new Error;return function(){V2(this,e).ease=t}}(t,e)):G2(this.node(),t).ease},easeVarying:function(e){if("function"!=typeof e)throw new Error;return this.each(function(e,t){return function(){var n=t.apply(this,arguments);if("function"!=typeof n)throw new Error;V2(this,e).ease=n}}(this._id,e))},end:function(){var e,t,n=this,r=n._id,i=n.size();return new Promise((function(o,a){var s={value:a},l={value:function(){0==--i&&o()}};n.each((function(){var n=V2(this,r),i=n.on;i!==e&&((t=(e=i).copy())._.cancel.push(s),t._.interrupt.push(s),t._.end.push(l)),n.on=t})),0===i&&o()}))},[Symbol.iterator]:m3[Symbol.iterator]};var v3={time:null,delay:0,duration:250,ease:E2};function b3(e,t){for(var n;!(n=e.__transition)||!(n=n[t]);)if(!(e=e.parentNode))throw new Error(`transition ${t} not found`);return n}M1.prototype.interrupt=function(e){return this.each((function(){Y2(this,e)}))},M1.prototype.transition=function(e){var t,n;e instanceof p3?(t=e._id,e=e._name):(t=g3(),(n=v3).time=U1(),e=null==e?null:e+"");for(var r=this._groups,i=r.length,o=0;o<i;++o)for(var a,s=r[o],l=s.length,c=0;c<l;++c)(a=s[c])&&$2(a,e,t,c,s,n||b3(a,t));return new p3(r,this._parents,e,t)};var y3=e=>()=>e;function _3(e,{sourceEvent:t,target:n,selection:r,mode:i,dispatch:o}){Object.defineProperties(this,{type:{value:e,enumerable:!0,configurable:!0},sourceEvent:{value:t,enumerable:!0,configurable:!0},target:{value:n,enumerable:!0,configurable:!0},selection:{value:r,enumerable:!0,configurable:!0},mode:{value:i,enumerable:!0,configurable:!0},_:{value:o}})}function x3(e){e.preventDefault(),e.stopImmediatePropagation()}var w3={name:"drag"},k3={name:"space"},C3={name:"handle"},A3={name:"center"};const{abs:S3,max:M3,min:E3}=Math;function L3(e){return[+e[0],+e[1]]}function T3(e){return[L3(e[0]),L3(e[1])]}var D3={name:"x",handles:["w","e"].map(I3),input:function(e,t){return null==e?null:[[+e[0],t[0][1]],[+e[1],t[1][1]]]},output:function(e){return e&&[e[0][0],e[1][0]]}},F3={},O3={overlay:"crosshair",selection:"move",n:"ns-resize",e:"ew-resize",s:"ns-resize",w:"ew-resize",nw:"nwse-resize",ne:"nesw-resize",se:"nwse-resize",sw:"nesw-resize"},z3={e:"w",w:"e",nw:"ne",ne:"nw",se:"sw",sw:"se"},R3={n:"s",s:"n",nw:"sw",ne:"se",se:"ne",sw:"nw"},N3={overlay:1,selection:1,n:null,e:1,s:null,w:-1,nw:-1,ne:1,se:1,sw:-1},P3={overlay:1,selection:1,n:-1,e:null,s:1,w:null,nw:-1,ne:-1,se:1,sw:1};function I3(e){return{type:e}}function B3(e){return!e.ctrlKey&&!e.button}function j3(){var e=this.ownerSVGElement||this;return e.hasAttribute("viewBox")?[[(e=e.viewBox.baseVal).x,e.y],[e.x+e.width,e.y+e.height]]:[[0,0],[e.width.baseVal.value,e.height.baseVal.value]]}function W3(){return navigator.maxTouchPoints||"ontouchstart"in this}function H3(e){for(;!e.__brush;)if(!(e=e.parentNode))return;return e.__brush}function q3(){return function(e){var t,n=j3,r=B3,i=W3,o=!0,a=D1("start","brush","end"),s=6;function l(t){var n=t.property("__brush",g).selectAll(".overlay").data([I3("overlay")]);n.enter().append("rect").attr("class","overlay").attr("pointer-events","all").attr("cursor",O3.overlay).merge(n).each((function(){var e=H3(this).extent;E1(this).attr("x",e[0][0]).attr("y",e[0][1]).attr("width",e[1][0]-e[0][0]).attr("height",e[1][1]-e[0][1])})),t.selectAll(".selection").data([I3("selection")]).enter().append("rect").attr("class","selection").attr("cursor",O3.selection).attr("fill","#777").attr("fill-opacity",.3).attr("stroke","#fff").attr("shape-rendering","crispEdges");var r=t.selectAll(".handle").data(e.handles,(function(e){return e.type}));r.exit().remove(),r.enter().append("rect").attr("class",(function(e){return"handle handle--"+e.type})).attr("cursor",(function(e){return O3[e.type]})),t.each(c).attr("fill","none").attr("pointer-events","all").on("mousedown.brush",f).filter(i).on("touchstart.brush",f).on("touchmove.brush",h).on("touchend.brush touchcancel.brush",p).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function c(){var e=E1(this),t=H3(this).selection;t?(e.selectAll(".selection").style("display",null).attr("x",t[0][0]).attr("y",t[0][1]).attr("width",t[1][0]-t[0][0]).attr("height",t[1][1]-t[0][1]),e.selectAll(".handle").style("display",null).attr("x",(function(e){return"e"===e.type[e.type.length-1]?t[1][0]-s/2:t[0][0]-s/2})).attr("y",(function(e){return"s"===e.type[0]?t[1][1]-s/2:t[0][1]-s/2})).attr("width",(function(e){return"n"===e.type||"s"===e.type?t[1][0]-t[0][0]+s:s})).attr("height",(function(e){return"e"===e.type||"w"===e.type?t[1][1]-t[0][1]+s:s}))):e.selectAll(".selection,.handle").style("display","none").attr("x",null).attr("y",null).attr("width",null).attr("height",null)}function u(e,t,n){var r=e.__brush.emitter;return!r||n&&r.clean?new d(e,t,n):r}function d(e,t,n){this.that=e,this.args=t,this.state=e.__brush,this.active=0,this.clean=n}function f(n){if((!t||n.touches)&&r.apply(this,arguments)){var i,a,s,l,d,f,h,p,g,m,v,b=this,y=n.target.__data__.type,_="selection"===(o&&n.metaKey?y="overlay":y)?w3:o&&n.altKey?A3:C3,x=e===F3?null:N3[y],w=e===D3?null:P3[y],k=H3(b),C=k.extent,A=k.selection,S=C[0][0],M=C[0][1],E=C[1][0],L=C[1][1],T=0,D=0,F=x&&w&&o&&n.shiftKey,O=Array.from(n.touches||[n],(e=>{const t=e.identifier;return(e=L1(e,b)).point0=e.slice(),e.identifier=t,e}));Y2(b);var z=u(b,arguments,!0).beforestart();if("overlay"===y){A&&(g=!0);const t=[O[0],O[1]||O[0]];k.selection=A=[[i=e===F3?S:E3(t[0][0],t[1][0]),s=e===D3?M:E3(t[0][1],t[1][1])],[d=e===F3?E:M3(t[0][0],t[1][0]),h=e===D3?L:M3(t[0][1],t[1][1])]],O.length>1&&B(n)}else i=A[0][0],s=A[0][1],d=A[1][0],h=A[1][1];a=i,l=s,f=d,p=h;var R=E1(b).attr("pointer-events","none"),N=R.selectAll(".overlay").attr("cursor",O3[y]);if(n.touches)z.moved=I,z.ended=j;else{var P=E1(n.view).on("mousemove.brush",I,!0).on("mouseup.brush",j,!0);o&&P.on("keydown.brush",W,!0).on("keyup.brush",H,!0),function(e){var t=e.document.documentElement,n=E1(e).on("dragstart.drag",W2,j2);"onselectstart"in t?n.on("selectstart.drag",W2,j2):(t.__noselect=t.style.MozUserSelect,t.style.MozUserSelect="none")}(n.view)}c.call(b),z.start(n,_.name)}function I(e){for(const t of e.changedTouches||[e])for(const e of O)e.identifier===t.identifier&&(e.cur=L1(t,b));if(F&&!m&&!v&&1===O.length){const e=O[0];S3(e.cur[0]-e[0])>S3(e.cur[1]-e[1])?v=!0:m=!0}for(const e of O)e.cur&&(e[0]=e.cur[0],e[1]=e.cur[1]);g=!0,x3(e),B(e)}function B(e){const t=O[0],n=t.point0;var r;switch(T=t[0]-n[0],D=t[1]-n[1],_){case k3:case w3:x&&(T=M3(S-i,E3(E-d,T)),a=i+T,f=d+T),w&&(D=M3(M-s,E3(L-h,D)),l=s+D,p=h+D);break;case C3:O[1]?(x&&(a=M3(S,E3(E,O[0][0])),f=M3(S,E3(E,O[1][0])),x=1),w&&(l=M3(M,E3(L,O[0][1])),p=M3(M,E3(L,O[1][1])),w=1)):(x<0?(T=M3(S-i,E3(E-i,T)),a=i+T,f=d):x>0&&(T=M3(S-d,E3(E-d,T)),a=i,f=d+T),w<0?(D=M3(M-s,E3(L-s,D)),l=s+D,p=h):w>0&&(D=M3(M-h,E3(L-h,D)),l=s,p=h+D));break;case A3:x&&(a=M3(S,E3(E,i-T*x)),f=M3(S,E3(E,d+T*x))),w&&(l=M3(M,E3(L,s-D*w)),p=M3(M,E3(L,h+D*w)))}f<a&&(x*=-1,r=i,i=d,d=r,r=a,a=f,f=r,y in z3&&N.attr("cursor",O3[y=z3[y]])),p<l&&(w*=-1,r=s,s=h,h=r,r=l,l=p,p=r,y in R3&&N.attr("cursor",O3[y=R3[y]])),k.selection&&(A=k.selection),m&&(a=A[0][0],f=A[1][0]),v&&(l=A[0][1],p=A[1][1]),A[0][0]===a&&A[0][1]===l&&A[1][0]===f&&A[1][1]===p||(k.selection=[[a,l],[f,p]],c.call(b),z.brush(e,_.name))}function j(e){if(function(e){e.stopImmediatePropagation()}(e),e.touches){if(e.touches.length)return;t&&clearTimeout(t),t=setTimeout((function(){t=null}),500)}else!function(e,t){var n=e.document.documentElement,r=E1(e).on("dragstart.drag",null);t&&(r.on("click.drag",W2,j2),setTimeout((function(){r.on("click.drag",null)}),0)),"onselectstart"in n?r.on("selectstart.drag",null):(n.style.MozUserSelect=n.__noselect,delete n.__noselect)}(e.view,g),P.on("keydown.brush keyup.brush mousemove.brush mouseup.brush",null);R.attr("pointer-events","all"),N.attr("cursor",O3.overlay),k.selection&&(A=k.selection),function(e){return e[0][0]===e[1][0]||e[0][1]===e[1][1]}(A)&&(k.selection=null,c.call(b)),z.end(e,_.name)}function W(e){switch(e.keyCode){case 16:F=x&&w;break;case 18:_===C3&&(x&&(d=f-T*x,i=a+T*x),w&&(h=p-D*w,s=l+D*w),_=A3,B(e));break;case 32:_!==C3&&_!==A3||(x<0?d=f-T:x>0&&(i=a-T),w<0?h=p-D:w>0&&(s=l-D),_=k3,N.attr("cursor",O3.selection),B(e));break;default:return}x3(e)}function H(e){switch(e.keyCode){case 16:F&&(m=v=F=!1,B(e));break;case 18:_===A3&&(x<0?d=f:x>0&&(i=a),w<0?h=p:w>0&&(s=l),_=C3,B(e));break;case 32:_===k3&&(e.altKey?(x&&(d=f-T*x,i=a+T*x),w&&(h=p-D*w,s=l+D*w),_=A3):(x<0?d=f:x>0&&(i=a),w<0?h=p:w>0&&(s=l),_=C3),N.attr("cursor",O3[y]),B(e));break;default:return}x3(e)}}function h(e){u(this,arguments).moved(e)}function p(e){u(this,arguments).ended(e)}function g(){var t=this.__brush||{selection:null};return t.extent=T3(n.apply(this,arguments)),t.dim=e,t}return l.move=function(t,n,r){t.tween?t.on("start.brush",(function(e){u(this,arguments).beforestart().start(e)})).on("interrupt.brush end.brush",(function(e){u(this,arguments).end(e)})).tween("brush",(function(){var t=this,r=t.__brush,i=u(t,arguments),o=r.selection,a=e.input("function"==typeof n?n.apply(this,arguments):n,r.extent),s=bi(o,a);function l(e){r.selection=1===e&&null===a?null:s(e),c.call(t),i.brush()}return null!==o&&null!==a?l:l(1)})):t.each((function(){var t=this,i=arguments,o=t.__brush,a=e.input("function"==typeof n?n.apply(t,i):n,o.extent),s=u(t,i).beforestart();Y2(t),o.selection=null===a?null:a,c.call(t),s.start(r).brush(r).end(r)}))},l.clear=function(e,t){l.move(e,null,t)},d.prototype={beforestart:function(){return 1==++this.active&&(this.state.emitter=this,this.starting=!0),this},start:function(e,t){return this.starting?(this.starting=!1,this.emit("start",e,t)):this.emit("brush",e),this},brush:function(e,t){return this.emit("brush",e,t),this},end:function(e,t){return 0==--this.active&&(delete this.state.emitter,this.emit("end",e,t)),this},emit:function(t,n,r){var i=E1(this.that).datum();a.call(t,this.that,new _3(t,{sourceEvent:n,target:l,selection:e.output(this.state.selection),mode:r,dispatch:a}),i)}},l.extent=function(e){return arguments.length?(n="function"==typeof e?e:y3(T3(e)),l):n},l.filter=function(e){return arguments.length?(r="function"==typeof e?e:y3(!!e),l):r},l.touchable=function(e){return arguments.length?(i="function"==typeof e?e:y3(!!e),l):i},l.handleSize=function(e){return arguments.length?(s=+e,l):s},l.keyModifiers=function(e){return arguments.length?(o=!!e,l):o},l.on=function(){var e=a.on.apply(a,arguments);return e===a?l:e},l}(D3)}const $3=(e,t)=>{const n="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz-";let r=5381;const i=Array.from(`${e}:${t}`);for(const e of i)r=Math.imul(r,33)+e.charCodeAt(0);const o=new Array(21);let a=Math.abs(r);for(let e=0;e<21;++e)a=(1664525*a+1013904223)%4294967296,o[e]=n[a%64];return o.join("")};class U3 extends CustomEvent{constructor(e){super("zoom",{detail:e})}}const V3=()=>{return I2(1,e);var e},G3=()=>{return I2(4,e);var e},Y3=(e,t=Z3)=>{const[n,r]=c(e),i=l(n),o=l(t);return u((()=>{o.current=t}),[t]),u((()=>{i.current=n,o.current(i.current)}),[n]),[i,n,r]},Z3=()=>{},X3=e=>e?e<0?0:e:0;var K3={timelineContainer:"styles_timelineContainer__3SW8x",durationRangeText:"styles_durationRangeText__kjCEl",timelineChart:"styles_timelineChart__sjwgA",axises:"styles_axises__nnLwP",xAxis:"styles_xAxis__w8pk1",xGrid:"styles_xGrid__2cimK",groupAxis:"styles_groupAxis__8rzsA",group:"styles_group__-lm0v",segment:"styles_segment__tDYtR",brusher:"styles_brusher__iTl0A",zoomSelection:"styles_zoomSelection__W-Y0x",brush:"styles_brush__5MVEw",tooltip:"styles_tooltip__WgR7o",tooltipContent:"styles_tooltipContent__qmhxV",labelGroup:"styles_labelGroup__wJsCk"};const J3=()=>B2(),Q3={top:0,right:0,bottom:20,left:0},e4=300,t4=20,n4=()=>{},r4=e=>{const{width:t=e4,height:n=t4,margins:r=Q3,domainRange:i,currentSelection:o,tickFormat:a,onChange:s=n4,onReset:c=n4,selectedTestsCount:d,totalTestsCount:f,translations:h,transitionDuration:p=300}=e,g=X3(t-r.left-r.right),m=X3(n-r.top-r.bottom),[v,b,y]=Y3((()=>So().domain(i).range([0,g])));u((()=>{y((()=>So().domain(i).range([0,g])))}),[i,g]);const _=l(null),x=l(null),w=l(null),k=l(null),C=l(null),A=l(null),S=l(s),M=l(c);u((()=>{S.current=s,M.current=c}),[s,c]);const E=l(J3().tickFormat((()=>""))),L=l(J3().tickPadding(0)),T=l(q3().handleSize(24).on("end",(e=>{if(!e.sourceEvent||!v.current||!S.current)return;if(!(e.selection&&2===e.selection.length)){const[e,t]=v.current.domain();return void S.current(e,t)}const[t,n]=e.selection.map((e=>b.invert(e)));S.current(t,n)})));u((()=>{if(!_.current||!b)return;if(!i||i[1]<=i[0])return;const[e,t]=i,n=(t-e)/6,s=[];for(let t=0;t<7;t++)s.push(e+n*t);if(s[0]=e,s[6]=t,L.current.scale(b).tickFormat(a).tickValues(s),E.current.scale(b).tickSize(-m).tickValues(s),E1(x.current).attr("transform",`translate(${r.left},${r.top})`),E1(w.current).exit().transition().duration(p).attr("width",0).attr("height",0),k.current&&(E1(k.current).attr("transform",`translate(0,${m})`),E1(k.current).call(E.current)),C.current&&(E1(C.current).attr("transform",`translate(0,${m})`),E1(C.current).call(L.current).selectAll("text").attr("y",8)),A.current){const e=E1(A.current);e.select(".selection").attr("rx",2).attr("ry",2),e.call(T.current.extent([[0,0],[g,m]]));const t=[b(o[0]??i[0]),b(o[1]??i[1])];T.current.move(e,t)}}),[r,b,i,o,a,g,m,p]);const D=(d/f*100).toFixed(2);return An("svg",{ref:_,className:K3.brusher,width:t,height:n+14,children:An("g",{ref:x,className:K3.brusherMargins,children:[An("rect",{ref:w,className:K3.gridBackground}),An("g",{ref:A,className:K3.brush}),An("g",{className:K3.axises,children:[An("g",{ref:k,className:K3.xGrid}),An("g",{ref:C,className:K3.xAxis}),An("text",{x:g/2,y:60,textAnchor:"middle",className:K3.durationRangeText,children:h.selected({count:d,percentage:D,minDuration:Vn(o[0]),maxDuration:Vn(o[1])})})]})]})})},i4=e=>{const{segments:t,groupId:n,groupName:r,offsetTime:i}=e,[o,a]=h((()=>{let e=1/0,r=-1/0;const i=t.filter((e=>e.groupId===n));for(const t of i)e=Math.min(e,t.timeRange[0].getTime()),r=Math.max(r,t.timeRange[1].getTime());return[e,r]}),[t,n]);return An("div",{className:K3.tooltipContent,children:[An("div",{children:r}),An("div",{children:[Vn(o-i)," — ",Vn(a-i)]})]})},o4=s(null),a4=e=>{const{children:t,width:n}=e;return An(o4.Provider,{value:n,children:t})},s4=()=>{},l4=e=>{const{children:t,width:n,onResize:r,debounceResize:i=0}=e,[o]=XF(n,i);return u((()=>{r?.(o)}),[o,r]),o>0?An(a4,{width:o,children:t}):null},c4=e=>{const{children:t,defaultWidth:n=0,onResize:r=s4,debounceResize:i=0}=e,o=l(null),[a,s]=c(n);return u((()=>{if(!o.current)return;s(o.current.clientWidth);const e=new ResizeObserver((e=>{for(const t of e)s(t.target.clientWidth)}));return e.observe(o.current),()=>e.disconnect()}),[n]),An("div",{ref:o,children:An(l4,{width:a,onResize:r,debounceResize:i,children:t})})},u4=e=>{const{segment:t,offsetTime:n}=e;if(!t.id)return null;const r=t.labelGroup.length>1;return An("div",{className:K3.tooltipContent,children:[r?An("div",{className:K3.labelGroup,children:t.labelGroup.map(((e,t)=>An(Ln,{type:"ui",size:"s",bold:!0,children:e},t)))}):An(Ln,{type:"ui",size:"s",bold:!0,children:t.label}),An("div",{children:[Vn(t.timeRange[0].getTime()-n)," — ",Vn(t.timeRange[1].getTime()-n)]})]})},d4=()=>B2(),f4={top:0,right:0,bottom:20,left:0},h4=300,p4=20,g4=()=>{},m4=e=>{const{width:t=h4,height:n=p4,margins:r=f4,scale:i,domainRange:o,currentSelection:a,tickFormat:s,onChange:c=g4,onReset:d=g4,transitionDuration:f=300}=e,[h,p,g]=Y3((()=>i.copy()));u((()=>{g((()=>h.current.domain()===i.domain()&&h.current.range()===i.range()?h.current:i.copy()))}),[i]);const m=X3(t-r.left-r.right),v=X3(n-r.top-r.bottom);u((()=>{g((()=>i.copy().domain(o??[]).range([0,m])))}),[o,m,i]);const b=l(null),y=l(null),_=l(null),x=l(null),w=l(null),k=l(null),C=l(c),A=l(d),S=l(d4().tickFormat((()=>""))),M=l(d4().tickPadding(0)),E=l(q3().handleSize(24).on("end",(e=>{if(!e.sourceEvent||!h.current||!C.current)return;if(!(e.selection&&2===e.selection.length)){const[e,t]=h.current.domain();return void C.current(e,t)}const[t,n]=e.selection.map((e=>h.current.invert(e)));C.current(t,n)})));return u((()=>{C.current=c,A.current=d}),[c,d]),u((()=>{if(b.current&&p&&o&&!(o[1]<=o[0])&&(M.current.scale(p).tickFormat(s),S.current.scale(p).tickSize(-v),S.current.ticks(7),E1(y.current).attr("transform",`translate(${r.left},${r.top})`),E1(_.current).transition().duration(f).attr("width",String(m)).attr("height",String(v)),x.current&&(E1(x.current).attr("transform",`translate(0,${v})`),E1(x.current).call(S.current)),w.current&&(E1(w.current).attr("transform",`translate(0,${v})`),E1(w.current).call(M.current).selectAll("text").attr("y",8)),k.current)){const e=E1(k.current);e.select(".selection").attr("rx",2).attr("ry",2),e.call(E.current.extent([[0,0],[m,v]]));const t=[p(a?.[0]??o[0].getTime()),p(a?.[1]??o[1].getTime())];E.current.move(e,t)}}),[m,v,r,o,a,s,p,f]),An("svg",{ref:b,className:K3.brusher,width:t,height:n,children:An("g",{ref:y,className:K3.brusherMargins,children:[An("rect",{ref:_,className:K3.gridBackground}),An("g",{ref:k,className:K3.brush}),An("g",{className:K3.axises,children:[An("g",{ref:x,className:K3.xGrid}),An("g",{ref:w,className:K3.xAxis})]})]})})};E1.prototype.transition=A2;const v4=e=>{const t={failed:"var(--timeline-status-failed, var(--color-status-failed-chart))",broken:"var(--timeline-status-broken, var(--color-status-broken-chart))",passed:"var(--timeline-status-passed, var(--color-status-passed-chart))",skipped:"var(--timeline-status-skipped, var(--color-status-skipped-chart))",unknown:"var(--timeline-status-unknown, var(--color-status-unknown-chart))"};return t[e]||t.unknown},b4=e=>{const t={failed:"var(--color-status-failed-text)",broken:"var(--color-status-broken-text)",passed:"var(--color-status-passed-text)",skipped:"var(--color-status-skipped-text)",unknown:"var(--color-status-unknown-text)"};return t[e]||t.unknown},y4=e=>{if(e>=20)return 4;if(e<4)return 0;const t=(e-4)/16;return 4*(t*(2-t))},_4=100,x4=100,w4=26,k4=20,C4=e=>{const{data:t=[],translations:n}=e,r=p(),{durationRange:i,handleDurationChange:o,durationDomain:a}=(e=>{const t=h((()=>{const t=e.reduce(((e,t)=>{const n=t.segments.map((e=>e.val));return{min:Math.min(e.min,...n),max:Math.max(e.max,...n)}}),{min:1/0,max:-1/0});return[t.min,t.max]}),[e]),[n,r]=c(t[0]),[i,o]=c(t[1]);u((()=>{r(t[0])}),[t[0]]),u((()=>{o(t[1])}),[t[1]]);const a=d(((e,t)=>{r(e),o(t)}),[]);return{durationRange:[n,i],handleDurationChange:a,durationDomain:t}})(t),s=(()=>{const e=f(o4);if(!e)throw new Error("useWidth must be used within a ResponsiveWrapper");return e})(),g=l(null),m=l(null),v=l(null),b=l(null),y=l(null),_=l(null),[x,w,k]=Y3((()=>Ji())),[C,A,S]=Y3((()=>Zi())),M=l(B2()),E=l(V3()),L=l(G3()),{tooltipRef:T,isVisible:D,handleShowTooltip:F,handleHideTooltip:O,data:z}=ZK("bottom"),{tooltipRef:R,isVisible:N,handleShowTooltip:P,handleHideTooltip:I,data:B}=ZK("bottom"),j=NY?0:500,W=NY?0:150,H=l(!1),q=t.length,$=X3(s-_4-x4),U=X3(24*q),V=U+w4+30,G=h((()=>{const e=[];for(const n of t)for(const t of n.segments)e.push({groupId:n.id,groupName:n.name,label:t.label,labelGroup:t.labelGroup,timeRange:t.timeRange,isRetry:t.isRetry,val:t.val,labelVal:t.val,segment:t,id:t.id});return e}),[t]),Y=h((()=>t.map((e=>({id:e.id,name:e.name})))),[t]),Z=h((()=>[Ui(G,(e=>e.timeRange[0])),$i(G,(e=>e.timeRange[1]))]),[G]),[X,K]=c(Z),[J,Q]=c([null,null]),ee=d((e=>{K((t=>((e,t)=>{if(!e&&!t)return!0;if(!e&&t)return!1;if(e&&!t)return!1;const n=e?.[0]?.getTime()??void 0,r=e?.[1]?.getTime()??void 0,i=t?.[0]?.getTime()??void 0,o=t?.[1]?.getTime()??void 0;return n===i&&r===o})(t,e)?t:e))}),[]),te=d((e=>{Q((t=>((e,t)=>{if(!e&&!t)return!0;if(!e&&t)return!1;if(e&&!t)return!1;const n=e?.[0]??void 0,r=e?.[1]??void 0;return n===(t?.[0]??void 0)&&r===(t?.[1]??void 0)})(t,e)?t:e))}),[]),[ne,re,ie]=Y3((()=>rl().domain(Z).range([0,$]).clamp(!0)));u((()=>{ie((()=>ne.current.copy().domain(Z))),ee(Z)}),[...Z,ee]),u((()=>{ie((()=>ne.current.copy().range([0,$]).clamp(!0)))}),[$]);const oe=h((()=>[Ui(G,(e=>e.timeRange[0])),$i(G,(e=>e.timeRange[1]))]),[G]);u((()=>{if(!g.current)return;const e=e=>{const{zoomX:t,zoomY:n}=e.detail;t&&ee(t),n&&te(n)};if(g.current?.addEventListener("zoom",e),!m.current)return;const t=E1(m.current),n=e=>L1(e,m.current);return t.on("mousedown",(e=>{if(null!=E1(window).on("mousemove.zoomRect"))return;const r=n(e);if(r[0]<0||r[0]>$||r[1]<0||r[1]>U)return;H.current=!0;const i=t.append("rect").attr("class",K3.zoomSelection);E1(window).on("mousemove.zoomRect",(e=>{e.stopPropagation();const t=n(e),o=[Math.max(0,Math.min($,t[0])),Math.max(0,Math.min(U,t[1]))];i.attr("x",Math.min(r[0],o[0])).attr("y",Math.min(r[1],o[1])).attr("width",Math.abs(o[0]-r[0])).attr("height",Math.abs(o[1]-r[1]))})).on("mouseup.zoomRect",(e=>{E1(window).on("mousemove.zoomRect",null).on("mouseup.zoomRect",null),i.remove(),H.current=!1;const t=n(e),o=[Math.max(0,Math.min($,t[0])),Math.max(0,Math.min(U,t[1]))];if(r[0]===o[0]&&r[1]===o[1])return;const a=[r[0],o[0]].sort(Li).map((e=>ne.current.invert(e)));a[1].getTime()-a[0].getTime()>10&&g.current?.dispatchEvent(new U3({zoomX:a,zoomY:null}))}),!0),e.stopPropagation()})),()=>{g.current?.removeEventListener("zoom",e)}}),[$,U,J,G,ee,te,A]),u((()=>{const e=X?.[0]&&X?.[1]?X:Z;ie((()=>ne.current.copy().domain(e).range([0,$]).clamp(!0)))}),[X,Z,$]),u((()=>{L.current.scale(A)}),[A,Y]),u((()=>{S((()=>C.current.copy().domain(Y.map((e=>e.id))).range(Y.map(((e,t)=>(t+.5)/q*U)))))}),[Y,q,U]),u((()=>{k((()=>x.current.copy().domain(Y.map((e=>e.id))).range([U/Y.length*.5,U*(1-.5/Y.length)])))}),[Y,U,q]),u((()=>{if(!(g.current&&re&&0!==U&&b.current&&y.current))return;const[e,t]=re.range();if(e===t)return;M.current.scale(re),M.current.ticks(7),M.current.tickFormat((e=>oe[0]?Vn(e.getTime()-oe[0].getTime()):"")),E.current.scale(re).ticks(7).tickFormat((()=>""));E1(b.current).style("stroke-opacity",0).style("fill-opacity",0).attr("transform",`translate(0,${U})`).transition().duration(j).call(M.current).style("stroke-opacity",1).style("fill-opacity",1),E.current.tickSize(U),E1(y.current).attr("transform",`translate(0,${U})`).transition().duration(j).call(E.current);const n=Math.ceil(2*q/Math.sqrt(2)/U/.6),r=x.current.domain().filter(((e,t)=>!(t%n)));let i=Math.min(12,U/r.length*.6*Math.sqrt(2)),o=Math.ceil(x4/(i/Math.sqrt(2)));const a=A.range(),s=Ui(a,((e,t)=>t>0?e-a[t-1]:2*e));i=Math.min(14,.6*X3(s)*Math.sqrt(2)),o=Math.floor(_4/(i/Math.sqrt(2))),L.current.tickFormat((e=>{const t=Y.find((t=>t.id===e)),n=t?.name??"";return n.length<=o?n:`${n.substring(0,2*o/3)}...${n.substring(n.length-o/3,n.length)}`})),E1(_.current).transition().duration(j).style("font-size",`${i}px`).call(L.current),E1(_.current).selectAll(".tick").each((function(e){const t=e,n=Y.find((e=>e.id===t));n&&E1(this).select("text").on("mouseover",(e=>{F(e.target,n)})).on("mouseout",(e=>{O(e.target)}))}))}),[$,U,q,j,oe,re,A,Y,F,O]),u((()=>{if(!m.current||0===U)return;const e=E1(m.current).selectAll(`rect.${K3.group}`).data(Y,(e=>e.id));e.exit().transition().duration(j).style("stroke-opacity",0).style("fill-opacity",0).remove();const t=e.enter().append("rect").attr("class",K3.group).attr("x",0).attr("y",0).attr("height",0).attr("fill","none").style("fill-opacity",0).style("stroke-opacity",0);e.merge(t).transition().duration(j).attr("width",$).attr("height",U/q).attr("y",(e=>{const t=A(e.id);return Number.isInteger(t)?t-U/q/2:0})).style("fill-opacity",1).style("stroke-opacity",1)}),[Y,$,U,q,j,A,F,O]);const[ae,se]=i,le=h((()=>G.filter((e=>{if(-1===A.domain().indexOf(e.groupId))return!1;const t=e.val;return!(t<ae||t>se)})).length),[A,G,ae,se]),ce=h((()=>G.filter((e=>{if(-1===A.domain().indexOf(e.groupId))return!1;const t=e.val;if(t<ae||t>se)return!1;const[n,r]=re.domain(),[i,o]=e.timeRange;return!(o<n||i>r)}))),[A,re,G,ae,se]);u((()=>{if(!m.current||0===U||!re)return;(async()=>{const e=E1(m.current);let t=e.selectAll(`rect.${K3.segment}`).data(ce,(e=>e.id));if(0===ce.length)return void t.exit().remove();t.exit().transition().duration(j).style("fill-opacity",0).remove();const n=t.enter().append("rect").attr("class",K3.segment).attr("rx",1).attr("ry",1).attr("x",(e=>re(e.timeRange[0]))).attr("y",(e=>(w(e.groupId)||0)-10)).attr("width",0).attr("height",0).style("fill",(e=>v4(e.segment.status))).style("fill-opacity",0);n.on("mouseover",(function(e,t){if(H.current)return;E1(this).transition().duration(W).attr("x",ne.current(t.timeRange[0])-1).attr("width",$i([2,ne.current(t.timeRange[1])-ne.current(t.timeRange[0])])+2).attr("y",(x.current(t.groupId)||0)-11).attr("height",22).style("fill-opacity",1),P(e.target,t)})).on("mouseout",(function(e,t){if(H.current)return;const n=ne.current(t.timeRange[1])-ne.current(t.timeRange[0]);E1(this).transition().duration(W).attr("x",ne.current(t.timeRange[0])).attr("width",$i([2,n])??0).attr("y",(x.current(t.groupId)??0)-10).attr("height",k4).style("fill-opacity",1),I(e.target)})),t=t.merge(n),t.attr("rx",(e=>{const t=re(e.timeRange[1])-re(e.timeRange[0]);return y4(t)})).attr("ry",(e=>{const t=re(e.timeRange[1])-re(e.timeRange[0]);return y4(t)})).attr("stroke-width",(e=>re(e.timeRange[1])-re(e.timeRange[0])>=12?.5:.1)).attr("stroke","var(--timeline-bg, #ffffff)").attr("height",k4),t.transition().duration(j).attr("x",(e=>re(e.timeRange[0]))).attr("y",(e=>(w(e.groupId)||0)-10)).attr("width",(e=>{const t=$i([2,(re(e.timeRange[1])??0)-(re(e.timeRange[0])??0)]);return(t??0)<0?0:t??0})).attr("height",k4).style("fill",(e=>e.isRetry?`url(#gradient-${r}-${e.segment.status})`:v4(e.segment.status))).style("fill-opacity",1)})()}),[ce,$,U,$,j,X,re,W,w,r]),u((()=>{g.current&&E1(g.current).transition().duration(j).attr("width",s).attr("height",V)}),[s,V,j]);const ue=d(((e,t)=>ee([e,t])),[ee]),[de,fe]=re.range(),he=de!==fe;return he?An("div",{className:K3.timelineChart,children:[a[0]!==a[1]&&he&&An(r4,{selectedTestsCount:le,totalTestsCount:G.length,translations:n,width:s,height:76,margins:{top:w4,right:x4,bottom:30,left:_4},domainRange:a,currentSelection:[ae,se],onChange:o,onReset:()=>o(a[0],a[1]),tickFormat:e=>Vn(e)},s),An("svg",{ref:g,width:s,height:V,children:[An("defs",{children:In.map((e=>An("pattern",{id:`gradient-${r}-${e}`,patternUnits:"userSpaceOnUse",width:"10",height:"10",patternTransform:"rotate(-45 5 5)",children:[An("rect",{width:"5",height:"10",fill:b4(e)}),An("rect",{x:"5",width:"5",height:"10",fill:v4(e)})]},e)))}),An("g",{ref:v,className:K3.axises,"data-label":"axises",transform:"translate(100,26)",children:[An("g",{ref:b,className:K3.xAxis,"data-label":"x-axis"}),An("g",{ref:y,className:K3.xGrid,"data-label":"grid"}),An("g",{ref:_,className:K3.groupAxis,"data-label":"groups-axis"})]}),An("g",{ref:m,"data-label":"graph",transform:"translate(100,26)",children:An("rect",{"data-label":"graph-selection",x:0,y:0,width:$,height:U,fill:"transparent"})})]}),Z[0].getTime()!==Z[1].getTime()&&he&&An(m4,{width:s,height:76,margins:{top:w4,right:x4,bottom:30,left:_4},scale:re,domainRange:Z,currentSelection:X,onChange:ue,onReset:()=>ee(Z),tickFormat:e=>Vn(e.getTime()-oe[0].getTime())}),fp(An("div",{ref:T,"data-visible":D,className:K3.tooltip,children:z?.id&&An(i4,{segments:ce,groupId:z.id,groupName:z.name,offsetTime:oe[0].getTime()})}),document.body),fp(An("div",{ref:R,"data-visible":N,className:K3.tooltip,children:B&&An(u4,{segment:B,offsetTime:oe[0].getTime()})}),document.body)]}):null},A4=e=>{const{data:t,width:n,dataId:r,...i}=e,o=h((()=>((e,t)=>{const n=[];for(const r of e){const{host:e,thread:i,historyId:o,id:a,start:s,duration:l,status:c,isRetry:u,name:d}=r,f=s+l,h=$3(e,t),p=$3(i,h),g=n.find((({id:e})=>e===p)),m=g?.segments??[],v=o??a,b=-1!==m.findIndex((({id:e})=>e===v)),y=m.find((({timeRange:e})=>e[0].getTime()===s&&e[1].getTime()===f));b||y||m.push({label:d,labelGroup:[d],timeRange:[new Date(s),new Date(f)],val:l,status:c,id:v,isRetry:u}),!b&&y&&y.labelGroup.push(r.name),g?g.segments=m:n.push({id:p,name:i,segments:m})}return n})(t,r)),[t,r]);return An("div",{className:K3.timelineContainer,children:An(c4,{defaultWidth:n,children:An(C4,{...i,data:o},r)})})};var S4={"metadata-item-title":"styles_metadata-item-title__vvDM7","metadata-item-value":"styles_metadata-item-value__cfOcH","metadata-test-type":"styles_metadata-test-type__g74xb","metadata-color-badge":"styles_metadata-color-badge__Aartr","status-passed":"styles_status-passed__t6OIX","status-failed":"styles_status-failed__cyIIg","status-broken":"styles_status-broken__B3Hmt","status-skipped":"styles_status-skipped__cvNTT","status-unknown":"styles_status-unknown__FvkCG"};const M4=({count:e})=>An(Ln,{"data-testid":"metadata-value",type:"ui",size:"m",tag:"div",className:S4["metadata-item-value"],children:e}),E4=({status:e,count:t})=>An("div",{"data-testid":"metadata-value",className:S4["metadata-test-type"],children:[An("div",{className:ie(S4["metadata-color-badge"],S4?.[`status-${e}`])}),An(Ln,{type:"ui",size:"s",children:t})]}),L4=({className:e,renderComponent:t=M4,props:n,...r})=>{const{title:i}=n||{};return An("div",{...r,className:ie("metadata-item",e),children:[An(Ln,{type:"ui",size:"s",tag:"div",className:S4["metadata-item-title"],children:i}),An(t||M4,{...n})]})};var T4={wrapper:"styles_wrapper__PZ24k",row:"styles_row__ndzQ1",pie:"styles_pie__bR8Vy",content:"styles_content__xx8wB",header:"styles_header__Lb-Ke",title:"styles_title__T589E",createdAt:"styles_createdAt__lBtju",reportStatus:"styles_reportStatus__gG5y4",metadata:"styles_metadata__4u-BW",statistics:"styles_statistics__RgaOy",pluginName:"styles_pluginName__c3AiZ"};const D4=e=>{const{createdAt:t,i18n:n}=e;if(!t)return null;const r=n("createdAt",{createdAt:t})??new Date(t).toLocaleDateString("en-US",{month:"long",day:"numeric",year:"numeric",hour:"numeric",minute:"numeric",second:"numeric"});return An(Ln,{tag:"time",size:"s",className:T4.createdAt,dateTime:t.toString(),children:r})},F4=e=>{const{statistic:t}=e,{percentage:n,slices:r}=Oc(t);return An(ZU,{className:T4.chart,slices:r,percentage:Math.floor(n)})},O4=e=>{const{status:t,duration:n,i18n:r}=e,i=Vn(n);return An("p",{className:T4.reportStatus,children:[An(F_,{status:t,children:r(`status.${t}`)??t}),An("span",{children:[An(Ln,{type:"ui",size:"s",children:r("in")??"in"}),An("span",{children:" "}),An(Ln,{type:"ui",size:"s",bold:!0,children:i})]})]})},z4=e=>e>999?"999+":e,R4=e=>{const{flakyCount:t=0,newCount:n=0,retryCount:r=0,i18n:i}=e;return An("div",{className:T4.metadata,children:[An(uk,{tooltip:i("metadata.new",{count:n})??`${n} new tests`,icon:Sn.testNew,children:0===n?"-":z4(n)}),An(uk,{tooltip:i("metadata.flaky",{count:t})??`${t} flaky tests`,icon:Sn.lineIconBomb2,children:0===t?"-":z4(t)}),An(uk,{tooltip:i("metadata.retry",{count:r})??`${r} retry tests`,icon:Sn.lineGeneralZap,children:0===r?"-":z4(r)})]})},N4=e=>{const{stats:t,i18n:n}=e,r=h((()=>["failed","broken","passed","skipped","unknown"].map((e=>({label:ig.capitalize(n(`status.${e}`)??e),value:t[e],status:e}))).filter((e=>e.value&&e.value>0))),[t,n]);return An("div",{className:T4.statistics,children:[An(L4,{props:{count:t.total,title:n("total")??"Total"},renderComponent:E4}),r.map((e=>An(L4,{props:{count:e.value,title:e.label,status:e.status},renderComponent:E4},e.label)))]})},P4=e=>{const{summary:t,i18n:n}=e,{href:r,remoteHref:i,status:o,stats:a,name:s,duration:l,createdAt:c,newTests:u,flakyTests:d,retryTests:f,plugin:h}=t,p=i||r,g="string"==typeof p;return An(g?"a":"div",{className:T4.wrapper,...g?{href:p,target:"_blank",rel:"noreferrer"}:{},onClick:g?e=>{""!==window.getSelection()?.toString()&&e.preventDefault()}:void 0,"data-testid":"summary-report-card",draggable:!1,children:[An("div",{className:T4.row,children:[An("div",{className:T4.content,children:[An("div",{className:T4.header,children:[h&&An(Tn,{type:"ui",tag:"small",size:"s",className:T4.pluginName,children:h}),An(Dn,{tag:"h2",size:"s",className:T4.title,children:s}),An(D4,{createdAt:c,i18n:n}),An(O4,{status:o,duration:l,i18n:n})]}),An(R4,{newCount:u?.length,flakyCount:d?.length,retryCount:f?.length,i18n:n})]}),An("div",{className:T4.pie,children:An(F4,{statistic:a})})]}),An(N4,{stats:a,i18n:n})]})};export{Op as ArrowButton,$y as Attachment,Up as AttachmentCode,Uy as AttachmentEmpty,Gp as AttachmentImage,Wg as AttachmentVideo,zn as Button,Pn as ButtonLink,Tn as Code,Vy as CodeViewer,A_ as Counter,o0 as CurrentStatusChartWidget,qX as DEFAULT_HEAT_MAP_EMPTY_ARIA_LABEL,BX as DEFAULT_HEAT_MAP_EMPTY_COLOR,HX as DEFAULT_HEAT_MAP_EMPTY_LABEL,VX as DEFAULT_HEAT_MAP_FORCE_SQUARE,jX as DEFAULT_HEAT_MAP_HEIGHT,GX as DEFAULT_HEAT_MAP_VALUE_FORMAT,WX as DEFAULT_HEAT_MAP_WIDTH,$X as DEFAULT_HEAT_MAP_X_INNER_PADDING,UX as DEFAULT_HEAT_MAP_Y_INNER_PADDING,Nn as DropdownButton,g0 as DurationDynamicsChartWidget,f0 as DurationsChartWidget,jp as EmptyView,Zw as Grid,nk as GridItem,Dn as Heading,QX as HeatMap,eK as HeatMapWidget,qg as HtmlPreview,Gm as HttpAttachment,Rn as IconButton,uk as IconLabel,jg as ImageDiff,T_ as Label,rk as LanguagePicker,E_ as Link,pf as LinkifiedText,Hh as Loadable,jy as MarkdownPreview,Tp as Menu,s_ as Modal,$h as PageLoader,P_ as ReportLogo,R_ as ReportLogoFull,P4 as ReportSummaryCard,Jh as SearchBox,En as Spinner,bJ as StabilityDistributionWidget,AJ as StatusAgePyramidChartWidget,s0 as StatusDynamicsChartWidget,F_ as StatusLabel,u0 as StatusTransitionsChartWidget,ZU as SuccessRatePieChart,Mn as SvgIcon,Eg as Tag,xJ as TestBaseGrowthDynamicsChartWidget,GJ as TestingPyramidWidget,Ln as Text,ok as ThemeButton,LZ as ThemeProvider,A4 as Timeline,M_ as Toggle,Ih as Tooltip,jh as TooltipWrapper,h0 as TrSeveritiesChartWidget,k_ as Tree,y_ as TreeHeader,m_ as TreeItem,u_ as TreeItemIcon,SZ as TreeMapChart,OZ as TreeMapChartWidget,v_ as TreeSection,b_ as TreeStatusBar,WU as TrendChart,PU as TrendChartKind,HU as TrendChartWidget,W_ as Widget,Sn as allureIcons,YX as defaultHeatMapAxisLeftConfig,ZX as defaultHeatMapAxisTopConfig,XX as defaultHeatMapLegendConfig,IX as defaultHeatMapMarginConfig,jY as defaultTreeChartConfig,TU as defaultTrendChartAxisBottomConfig,DU as defaultTrendChartAxisLeftConfig,RU as defaultTrendChartConfig,LU as defaultTrendChartLegendConfig,FU as defaultTrendChartMarginConfig,OU as defaultTrendChartXScaleConfig,zU as defaultTrendChartYScaleConfig,BU as makeSymlogScale,jU as makeSymlogScaleBySeries,TZ as useCoverageDiffColors,FZ as useCoverageDiffTextColors,Wh as useElementTruncation,DZ as useSuccessRateDistributionColors,EZ as useTheme,Bh as useTooltip};
24
+ */function H_(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t);if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function q_(){return q_=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},q_.apply(null,arguments)}function $_(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 U_(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?$_(Object(n),!0).forEach((function(t){H_(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):$_(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function V_(e){return V_="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},V_(e)}function G_(e){if("undefined"!=typeof window&&window.navigator)return!!navigator.userAgent.match(e)}var Y_=G_(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),Z_=G_(/Edge/i),X_=G_(/firefox/i),K_=G_(/safari/i)&&!G_(/chrome/i)&&!G_(/android/i),J_=G_(/iP(ad|od|hone)/i),Q_=G_(/chrome/i)&&G_(/android/i),ex={capture:!1,passive:!1};function tx(e,t,n){e.addEventListener(t,n,!Y_&&ex)}function nx(e,t,n){e.removeEventListener(t,n,!Y_&&ex)}function rx(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 ix(e){return e.host&&e!==document&&e.host.nodeType&&e.host!==e?e.host:e.parentNode}function ox(e,t,n,r){if(e){n=n||document;do{if(null!=t&&(">"===t[0]?e.parentNode===n&&rx(e,t):rx(e,t))||r&&e===n)return e;if(e===n)break}while(e=ix(e))}return null}var ax,sx=/\s+/g;function lx(e,t,n){if(e&&t)if(e.classList)e.classList[n?"add":"remove"](t);else{var r=(" "+e.className+" ").replace(sx," ").replace(" "+t+" "," ");e.className=(r+(n?" "+t:"")).replace(sx," ")}}function cx(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 ux(e,t){var n="";if("string"==typeof e)n=e;else do{var r=cx(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 dx(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 fx(){var e=document.scrollingElement;return e||document.documentElement}function hx(e,t,n,r,i){if(e.getBoundingClientRect||e===window){var o,a,s,l,c,u,d;if(e!==window&&e.parentNode&&e!==fx()?(a=(o=e.getBoundingClientRect()).top,s=o.left,l=o.bottom,c=o.right,u=o.height,d=o.width):(a=0,s=0,l=window.innerHeight,c=window.innerWidth,u=window.innerHeight,d=window.innerWidth),(t||n)&&e!==window&&(i=i||e.parentNode,!Y_))do{if(i&&i.getBoundingClientRect&&("none"!==cx(i,"transform")||n&&"static"!==cx(i,"position"))){var f=i.getBoundingClientRect();a-=f.top+parseInt(cx(i,"border-top-width")),s-=f.left+parseInt(cx(i,"border-left-width")),l=a+o.height,c=s+o.width;break}}while(i=i.parentNode);if(r&&e!==window){var h=ux(i||e),p=h&&h.a,g=h&&h.d;h&&(l=(a/=g)+(u/=g),c=(s/=p)+(d/=p))}return{top:a,left:s,bottom:l,right:c,width:d,height:u}}}function px(e,t,n){for(var r=yx(e,!0),i=hx(e)[t];r;){if(!(i>=hx(r)[n]))return r;if(r===fx())break;r=yx(r,!1)}return!1}function gx(e,t,n,r){for(var i=0,o=0,a=e.children;o<a.length;){if("none"!==a[o].style.display&&a[o]!==kw.ghost&&(r||a[o]!==kw.dragged)&&ox(a[o],n.draggable,e,!1)){if(i===t)return a[o];i++}o++}return null}function mx(e,t){for(var n=e.lastElementChild;n&&(n===kw.ghost||"none"===cx(n,"display")||t&&!rx(n,t));)n=n.previousElementSibling;return n||null}function vx(e,t){var n=0;if(!e||!e.parentNode)return-1;for(;e=e.previousElementSibling;)"TEMPLATE"===e.nodeName.toUpperCase()||e===kw.clone||t&&!rx(e,t)||n++;return n}function bx(e){var t=0,n=0,r=fx();if(e)do{var i=ux(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 yx(e,t){if(!e||!e.getBoundingClientRect)return fx();var n=e,r=!1;do{if(n.clientWidth<n.scrollWidth||n.clientHeight<n.scrollHeight){var i=cx(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 fx();if(r||t)return n;r=!0}}}while(n=n.parentNode);return fx()}function _x(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 xx(e,t){return function(){if(!ax){var n=arguments;1===n.length?e.call(this,n[0]):e.apply(this,n),ax=setTimeout((function(){ax=void 0}),t)}}}function wx(e,t,n){e.scrollLeft+=t,e.scrollTop+=n}function kx(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 Cx(e,t,n){var r={};return Array.from(e.children).forEach((function(i){var o,a,s,l;if(ox(i,t.draggable,e,!1)&&!i.animated&&i!==n){var c=hx(i);r.left=Math.min(null!==(o=r.left)&&void 0!==o?o:1/0,c.left),r.top=Math.min(null!==(a=r.top)&&void 0!==a?a:1/0,c.top),r.right=Math.max(null!==(s=r.right)&&void 0!==s?s:-1/0,c.right),r.bottom=Math.max(null!==(l=r.bottom)&&void 0!==l?l:-1/0,c.bottom)}})),r.width=r.right-r.left,r.height=r.bottom-r.top,r.x=r.left,r.y=r.top,r}var Ax="Sortable"+(new Date).getTime();function Sx(){var e,t=[];return{captureAnimationState:function(){(t=[],this.options.animation)&&[].slice.call(this.el.children).forEach((function(e){if("none"!==cx(e,"display")&&e!==kw.ghost){t.push({target:e,rect:hx(e)});var n=U_({},t[t.length-1].rect);if(e.thisAnimationDuration){var r=ux(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=hx(n),l=n.prevFromRect,c=n.prevToRect,u=e.rect,d=ux(n,!0);d&&(s.top-=d.f,s.left-=d.e),n.toRect=s,n.thisAnimationDuration&&_x(l,s)&&!_x(a,s)&&(u.top-s.top)/(u.left-s.left)==(a.top-s.top)/(a.left-s.left)&&(t=function(e,t,n,r){return Math.sqrt(Math.pow(t.top-e.top,2)+Math.pow(t.left-e.left,2))/Math.sqrt(Math.pow(t.top-n.top,2)+Math.pow(t.left-n.left,2))*r.animation}(u,l,c,r.options)),_x(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){cx(e,"transition",""),cx(e,"transform","");var i=ux(this.el),o=i&&i.a,a=i&&i.d,s=(t.left-n.left)/(o||1),l=(t.top-n.top)/(a||1);e.animatingX=!!s,e.animatingY=!!l,cx(e,"transform","translate3d("+s+"px,"+l+"px,0)"),this.forRepaintDummy=function(e){return e.offsetWidth}(e),cx(e,"transition","transform "+r+"ms"+(this.options.easing?" "+this.options.easing:"")),cx(e,"transform","translate3d(0,0,0)"),"number"==typeof e.animated&&clearTimeout(e.animated),e.animated=setTimeout((function(){cx(e,"transition",""),cx(e,"transform",""),e.animated=!1,e.animatingX=!1,e.animatingY=!1}),r)}}}}var Mx=[],Ex={initializeByDefault:!0},Lx={mount:function(e){for(var t in Ex)Ex.hasOwnProperty(t)&&!(t in e)&&(e[t]=Ex[t]);Mx.forEach((function(t){if(t.pluginName===e.pluginName)throw"Sortable: Cannot mount plugin ".concat(e.pluginName," more than once")})),Mx.push(e)},pluginEvent:function(e,t,n){var r=this;this.eventCanceled=!1,n.cancel=function(){r.eventCanceled=!0};var i=e+"Global";Mx.forEach((function(r){t[r.pluginName]&&(t[r.pluginName][i]&&t[r.pluginName][i](U_({sortable:t},n)),t.options[r.pluginName]&&t[r.pluginName][e]&&t[r.pluginName][e](U_({sortable:t},n)))}))},initializePlugins:function(e,t,n,r){for(var i in Mx.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,q_(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 Mx.forEach((function(r){"function"==typeof r.eventProperties&&q_(n,r.eventProperties.call(t[r.pluginName],e))})),n},modifyOption:function(e,t,n){var r;return Mx.forEach((function(i){e[i.pluginName]&&i.optionListeners&&"function"==typeof i.optionListeners[t]&&(r=i.optionListeners[t].call(e[i.pluginName],n))})),r}};var Tx=["evt"],Dx=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.evt,i=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(n,Tx);Lx.pluginEvent.bind(kw)(e,t,U_({dragEl:Ox,parentEl:zx,ghostEl:Rx,rootEl:Nx,nextEl:Px,lastDownEl:Ix,cloneEl:Bx,cloneHidden:jx,dragStarted:Qx,putSortable:Vx,activeSortable:kw.active,originalEvent:r,oldIndex:Wx,oldDraggableIndex:qx,newIndex:Hx,newDraggableIndex:$x,hideGhostForTarget:yw,unhideGhostForTarget:_w,cloneNowHidden:function(){jx=!0},cloneNowShown:function(){jx=!1},dispatchSortableEvent:function(e){Fx({sortable:t,name:e,originalEvent:r})}},i))};function Fx(e){!function(e){var t=e.sortable,n=e.rootEl,r=e.name,i=e.targetEl,o=e.cloneEl,a=e.toEl,s=e.fromEl,l=e.oldIndex,c=e.newIndex,u=e.oldDraggableIndex,d=e.newDraggableIndex,f=e.originalEvent,h=e.putSortable,p=e.extraEventProperties;if(t=t||n&&n[Ax]){var g,m=t.options,v="on"+r.charAt(0).toUpperCase()+r.substr(1);!window.CustomEvent||Y_||Z_?(g=document.createEvent("Event")).initEvent(r,!0,!0):g=new CustomEvent(r,{bubbles:!0,cancelable:!0}),g.to=a||n,g.from=s||n,g.item=i||n,g.clone=o,g.oldIndex=l,g.newIndex=c,g.oldDraggableIndex=u,g.newDraggableIndex=d,g.originalEvent=f,g.pullMode=h?h.lastPutMode:void 0;var b=U_(U_({},p),Lx.getEventProperties(r,t));for(var y in b)g[y]=b[y];n&&n.dispatchEvent(g),m[v]&&m[v].call(t,g)}}(U_({putSortable:Vx,cloneEl:Bx,targetEl:Ox,rootEl:Nx,oldIndex:Wx,oldDraggableIndex:qx,newIndex:Hx,newDraggableIndex:$x},e))}var Ox,zx,Rx,Nx,Px,Ix,Bx,jx,Wx,Hx,qx,$x,Ux,Vx,Gx,Yx,Zx,Xx,Kx,Jx,Qx,ew,tw,nw,rw,iw=!1,ow=!1,aw=[],sw=!1,lw=!1,cw=[],uw=!1,dw=[],fw="undefined"!=typeof document,hw=J_,pw=Z_||Y_?"cssFloat":"float",gw=fw&&!Q_&&!J_&&"draggable"in document.createElement("div"),mw=function(){if(fw){if(Y_)return!1;var e=document.createElement("x");return e.style.cssText="pointer-events:auto","auto"===e.style.pointerEvents}}(),vw=function(e,t){var n=cx(e),r=parseInt(n.width)-parseInt(n.paddingLeft)-parseInt(n.paddingRight)-parseInt(n.borderLeftWidth)-parseInt(n.borderRightWidth),i=gx(e,0,t),o=gx(e,1,t),a=i&&cx(i),s=o&&cx(o),l=a&&parseInt(a.marginLeft)+parseInt(a.marginRight)+hx(i).width,c=s&&parseInt(s.marginLeft)+parseInt(s.marginRight)+hx(o).width;if("flex"===n.display)return"column"===n.flexDirection||"column-reverse"===n.flexDirection?"vertical":"horizontal";if("grid"===n.display)return n.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(i&&a.float&&"none"!==a.float){var u="left"===a.float?"left":"right";return!o||"both"!==s.clear&&s.clear!==u?"horizontal":"vertical"}return i&&("block"===a.display||"flex"===a.display||"table"===a.display||"grid"===a.display||l>=r&&"none"===n[pw]||o&&"none"===n[pw]&&l+c>r)?"vertical":"horizontal"},bw=function(e){function t(e,n){return function(r,i,o,a){var s=r.options.group.name&&i.options.group.name&&r.options.group.name===i.options.group.name;if(null==e&&(n||s))return!0;if(null==e||!1===e)return!1;if(n&&"clone"===e)return e;if("function"==typeof e)return t(e(r,i,o,a),n)(r,i,o,a);var l=(n?r:i).options.group.name;return!0===e||"string"==typeof e&&e===l||e.join&&e.indexOf(l)>-1}}var n={},r=e.group;r&&"object"==V_(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},yw=function(){!mw&&Rx&&cx(Rx,"display","none")},_w=function(){!mw&&Rx&&cx(Rx,"display","")};fw&&!Q_&&document.addEventListener("click",(function(e){if(ow)return e.preventDefault(),e.stopPropagation&&e.stopPropagation(),e.stopImmediatePropagation&&e.stopImmediatePropagation(),ow=!1,!1}),!0);var xw=function(e){if(Ox){var t=function(e,t){var n;return aw.some((function(r){var i=r[Ax].options.emptyInsertThreshold;if(i&&!mx(r)){var o=hx(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[Ax]._onDragOver(n)}}},ww=function(e){Ox&&Ox.parentNode[Ax]._isOutsideThisEl(e.target)};function kw(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=q_({},t),e[Ax]=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 vw(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!==kw.supportPointer&&"PointerEvent"in window&&(!K_||J_),emptyInsertThreshold:5};for(var r in Lx.initializePlugins(this,e,n),n)!(r in t)&&(t[r]=n[r]);for(var i in bw(t),this)"_"===i.charAt(0)&&"function"==typeof this[i]&&(this[i]=this[i].bind(this));this.nativeDraggable=!t.forceFallback&&gw,this.nativeDraggable&&(this.options.touchStartThreshold=1),t.supportPointer?tx(e,"pointerdown",this._onTapStart):(tx(e,"mousedown",this._onTapStart),tx(e,"touchstart",this._onTapStart)),this.nativeDraggable&&(tx(e,"dragover",this),tx(e,"dragenter",this)),aw.push(this.el),t.store&&t.store.get&&this.sort(t.store.get(this)||[]),q_(this,Sx())}function Cw(e,t,n,r,i,o,a,s){var l,c,u=e[Ax],d=u.options.onMove;return!window.CustomEvent||Y_||Z_?(l=document.createEvent("Event")).initEvent("move",!0,!0):l=new CustomEvent("move",{bubbles:!0,cancelable:!0}),l.to=t,l.from=e,l.dragged=n,l.draggedRect=r,l.related=i||t,l.relatedRect=o||hx(t),l.willInsertAfter=s,l.originalEvent=a,e.dispatchEvent(l),d&&(c=d.call(u,l,a)),c}function Aw(e){e.draggable=!1}function Sw(){uw=!1}function Mw(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 Ew(e){return setTimeout(e,0)}function Lw(e){return clearTimeout(e)}kw.prototype={constructor:kw,_isOutsideThisEl:function(e){this.el.contains(e)||e===this.el||(ew=null)},_getDirection:function(e,t){return"function"==typeof this.options.direction?this.options.direction.call(this,e,t,Ox):this.options.direction},_onTapStart:function(e){if(e.cancelable){var t=this,n=this.el,r=this.options,i=r.preventOnFilter,o=e.type,a=e.touches&&e.touches[0]||e.pointerType&&"touch"===e.pointerType&&e,s=(a||e).target,l=e.target.shadowRoot&&(e.path&&e.path[0]||e.composedPath&&e.composedPath()[0])||s,c=r.filter;if(function(e){dw.length=0;var t=e.getElementsByTagName("input"),n=t.length;for(;n--;){var r=t[n];r.checked&&dw.push(r)}}(n),!Ox&&!(/mousedown|pointerdown/.test(o)&&0!==e.button||r.disabled)&&!l.isContentEditable&&(this.nativeDraggable||!K_||!s||"SELECT"!==s.tagName.toUpperCase())&&!((s=ox(s,r.draggable,n,!1))&&s.animated||Ix===s)){if(Wx=vx(s),qx=vx(s,r.draggable),"function"==typeof c){if(c.call(this,e,s,this))return Fx({sortable:t,rootEl:l,name:"filter",targetEl:s,toEl:n,fromEl:n}),Dx("filter",t,{evt:e}),void(i&&e.preventDefault())}else if(c&&(c=c.split(",").some((function(r){if(r=ox(l,r.trim(),n,!1))return Fx({sortable:t,rootEl:r,name:"filter",targetEl:s,fromEl:n,toEl:n}),Dx("filter",t,{evt:e}),!0}))))return void(i&&e.preventDefault());r.handle&&!ox(l,r.handle,n,!1)||this._prepareDragStart(e,a,s)}}},_prepareDragStart:function(e,t,n){var r,i=this,o=i.el,a=i.options,s=o.ownerDocument;if(n&&!Ox&&n.parentNode===o){var l=hx(n);if(Nx=o,zx=(Ox=n).parentNode,Px=Ox.nextSibling,Ix=n,Ux=a.group,kw.dragged=Ox,Gx={target:Ox,clientX:(t||e).clientX,clientY:(t||e).clientY},Kx=Gx.clientX-l.left,Jx=Gx.clientY-l.top,this._lastX=(t||e).clientX,this._lastY=(t||e).clientY,Ox.style["will-change"]="all",r=function(){Dx("delayEnded",i,{evt:e}),kw.eventCanceled?i._onDrop():(i._disableDelayedDragEvents(),!X_&&i.nativeDraggable&&(Ox.draggable=!0),i._triggerDragStart(e,t),Fx({sortable:i,name:"choose",originalEvent:e}),lx(Ox,a.chosenClass,!0))},a.ignore.split(",").forEach((function(e){dx(Ox,e.trim(),Aw)})),tx(s,"dragover",xw),tx(s,"mousemove",xw),tx(s,"touchmove",xw),a.supportPointer?(tx(s,"pointerup",i._onDrop),!this.nativeDraggable&&tx(s,"pointercancel",i._onDrop)):(tx(s,"mouseup",i._onDrop),tx(s,"touchend",i._onDrop),tx(s,"touchcancel",i._onDrop)),X_&&this.nativeDraggable&&(this.options.touchStartThreshold=4,Ox.draggable=!0),Dx("delayStart",this,{evt:e}),!a.delay||a.delayOnTouchOnly&&!t||this.nativeDraggable&&(Z_||Y_))r();else{if(kw.eventCanceled)return void this._onDrop();a.supportPointer?(tx(s,"pointerup",i._disableDelayedDrag),tx(s,"pointercancel",i._disableDelayedDrag)):(tx(s,"mouseup",i._disableDelayedDrag),tx(s,"touchend",i._disableDelayedDrag),tx(s,"touchcancel",i._disableDelayedDrag)),tx(s,"mousemove",i._delayedDragTouchMoveHandler),tx(s,"touchmove",i._delayedDragTouchMoveHandler),a.supportPointer&&tx(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(){Ox&&Aw(Ox),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var e=this.el.ownerDocument;nx(e,"mouseup",this._disableDelayedDrag),nx(e,"touchend",this._disableDelayedDrag),nx(e,"touchcancel",this._disableDelayedDrag),nx(e,"pointerup",this._disableDelayedDrag),nx(e,"pointercancel",this._disableDelayedDrag),nx(e,"mousemove",this._delayedDragTouchMoveHandler),nx(e,"touchmove",this._delayedDragTouchMoveHandler),nx(e,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(e,t){t=t||"touch"==e.pointerType&&e,!this.nativeDraggable||t?this.options.supportPointer?tx(document,"pointermove",this._onTouchMove):tx(document,t?"touchmove":"mousemove",this._onTouchMove):(tx(Ox,"dragend",this),tx(Nx,"dragstart",this._onDragStart));try{document.selection?Ew((function(){document.selection.empty()})):window.getSelection().removeAllRanges()}catch(e){}},_dragStarted:function(e,t){if(iw=!1,Nx&&Ox){Dx("dragStarted",this,{evt:t}),this.nativeDraggable&&tx(document,"dragover",ww);var n=this.options;!e&&lx(Ox,n.dragClass,!1),lx(Ox,n.ghostClass,!0),kw.active=this,e&&this._appendGhost(),Fx({sortable:this,name:"start",originalEvent:t})}else this._nulling()},_emulateDragOver:function(){if(Yx){this._lastX=Yx.clientX,this._lastY=Yx.clientY,yw();for(var e=document.elementFromPoint(Yx.clientX,Yx.clientY),t=e;e&&e.shadowRoot&&(e=e.shadowRoot.elementFromPoint(Yx.clientX,Yx.clientY))!==t;)t=e;if(Ox.parentNode[Ax]._isOutsideThisEl(e),t)do{if(t[Ax]){if(t[Ax]._onDragOver({clientX:Yx.clientX,clientY:Yx.clientY,target:e,rootEl:t})&&!this.options.dragoverBubble)break}e=t}while(t=ix(t));_w()}},_onTouchMove:function(e){if(Gx){var t=this.options,n=t.fallbackTolerance,r=t.fallbackOffset,i=e.touches?e.touches[0]:e,o=Rx&&ux(Rx,!0),a=Rx&&o&&o.a,s=Rx&&o&&o.d,l=hw&&rw&&bx(rw),c=(i.clientX-Gx.clientX+r.x)/(a||1)+(l?l[0]-cw[0]:0)/(a||1),u=(i.clientY-Gx.clientY+r.y)/(s||1)+(l?l[1]-cw[1]:0)/(s||1);if(!kw.active&&!iw){if(n&&Math.max(Math.abs(i.clientX-this._lastX),Math.abs(i.clientY-this._lastY))<n)return;this._onDragStart(e,!0)}if(Rx){o?(o.e+=c-(Zx||0),o.f+=u-(Xx||0)):o={a:1,b:0,c:0,d:1,e:c,f:u};var d="matrix(".concat(o.a,",").concat(o.b,",").concat(o.c,",").concat(o.d,",").concat(o.e,",").concat(o.f,")");cx(Rx,"webkitTransform",d),cx(Rx,"mozTransform",d),cx(Rx,"msTransform",d),cx(Rx,"transform",d),Zx=c,Xx=u,Yx=i}e.cancelable&&e.preventDefault()}},_appendGhost:function(){if(!Rx){var e=this.options.fallbackOnBody?document.body:Nx,t=hx(Ox,!0,hw,!0,e),n=this.options;if(hw){for(rw=e;"static"===cx(rw,"position")&&"none"===cx(rw,"transform")&&rw!==document;)rw=rw.parentNode;rw!==document.body&&rw!==document.documentElement?(rw===document&&(rw=fx()),t.top+=rw.scrollTop,t.left+=rw.scrollLeft):rw=fx(),cw=bx(rw)}lx(Rx=Ox.cloneNode(!0),n.ghostClass,!1),lx(Rx,n.fallbackClass,!0),lx(Rx,n.dragClass,!0),cx(Rx,"transition",""),cx(Rx,"transform",""),cx(Rx,"box-sizing","border-box"),cx(Rx,"margin",0),cx(Rx,"top",t.top),cx(Rx,"left",t.left),cx(Rx,"width",t.width),cx(Rx,"height",t.height),cx(Rx,"opacity","0.8"),cx(Rx,"position",hw?"absolute":"fixed"),cx(Rx,"zIndex","100000"),cx(Rx,"pointerEvents","none"),kw.ghost=Rx,e.appendChild(Rx),cx(Rx,"transform-origin",Kx/parseInt(Rx.style.width)*100+"% "+Jx/parseInt(Rx.style.height)*100+"%")}},_onDragStart:function(e,t){var n=this,r=e.dataTransfer,i=n.options;Dx("dragStart",this,{evt:e}),kw.eventCanceled?this._onDrop():(Dx("setupClone",this),kw.eventCanceled||((Bx=kx(Ox)).removeAttribute("id"),Bx.draggable=!1,Bx.style["will-change"]="",this._hideClone(),lx(Bx,this.options.chosenClass,!1),kw.clone=Bx),n.cloneId=Ew((function(){Dx("clone",n),kw.eventCanceled||(n.options.removeCloneOnHide||Nx.insertBefore(Bx,Ox),n._hideClone(),Fx({sortable:n,name:"clone"}))})),!t&&lx(Ox,i.dragClass,!0),t?(ow=!0,n._loopId=setInterval(n._emulateDragOver,50)):(nx(document,"mouseup",n._onDrop),nx(document,"touchend",n._onDrop),nx(document,"touchcancel",n._onDrop),r&&(r.effectAllowed="move",i.setData&&i.setData.call(n,r,Ox)),tx(document,"drop",n),cx(Ox,"transform","translateZ(0)")),iw=!0,n._dragStartId=Ew(n._dragStarted.bind(n,t,e)),tx(document,"selectstart",n),Qx=!0,window.getSelection().removeAllRanges(),K_&&cx(document.body,"user-select","none"))},_onDragOver:function(e){var t,n,r,i,o=this.el,a=e.target,s=this.options,l=s.group,c=kw.active,u=Ux===l,d=s.sort,f=Vx||c,h=this,p=!1;if(!uw){if(void 0!==e.preventDefault&&e.cancelable&&e.preventDefault(),a=ox(a,s.draggable,o,!0),L("dragOver"),kw.eventCanceled)return p;if(Ox.contains(e.target)||a.animated&&a.animatingX&&a.animatingY||h._ignoreWhileAnimating===a)return D(!1);if(ow=!1,c&&!s.disabled&&(u?d||(r=zx!==Nx):Vx===this||(this.lastPutMode=Ux.checkPull(this,c,Ox,e))&&l.checkPut(this,c,Ox,e))){if(i="vertical"===this._getDirection(e,a),t=hx(Ox),L("dragOverValid"),kw.eventCanceled)return p;if(r)return zx=Nx,T(),this._hideClone(),L("revert"),kw.eventCanceled||(Px?Nx.insertBefore(Ox,Px):Nx.appendChild(Ox)),D(!0);var g=mx(o,s.draggable);if(!g||function(e,t,n){var r=hx(mx(n.el,n.options.draggable)),i=Cx(n.el,n.options,Rx),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===Ox)return D(!1);if(g&&o===e.target&&(a=g),a&&(n=hx(a)),!1!==Cw(Nx,o,Ox,t,a,n,e,!!a))return T(),g&&g.nextSibling?o.insertBefore(Ox,g.nextSibling):o.appendChild(Ox),zx=o,F(),D(!0)}else if(g&&function(e,t,n){var r=hx(gx(n.el,0,n.options,!0)),i=Cx(n.el,n.options,Rx),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=gx(o,0,s,!0);if(m===Ox)return D(!1);if(n=hx(a=m),!1!==Cw(Nx,o,Ox,t,a,n,e,!1))return T(),o.insertBefore(Ox,m),zx=o,F(),D(!0)}else if(a.parentNode===o){n=hx(a);var v,b,y,_=Ox.parentNode!==o,x=!function(e,t,n){var r=n?e.left:e.top,i=n?e.right:e.bottom,o=n?e.width:e.height,a=n?t.left:t.top,s=n?t.right:t.bottom,l=n?t.width:t.height;return r===a||i===s||r+o/2===a+l/2}(Ox.animated&&Ox.toRect||t,a.animated&&a.toRect||n,i),w=i?"top":"left",k=px(a,"top","top")||px(Ox,"top","top"),C=k?k.scrollTop:void 0;if(ew!==a&&(b=n[w],sw=!1,lw=!x&&s.invertSwap||_),v=function(e,t,n,r,i,o,a,s){var l=r?e.clientY:e.clientX,c=r?n.height:n.width,u=r?n.top:n.left,d=r?n.bottom:n.right,f=!1;if(!a)if(s&&nw<c*i){if(!sw&&(1===tw?l>u+c*o/2:l<d-c*o/2)&&(sw=!0),sw)f=!0;else if(1===tw?l<u+nw:l>d-nw)return-tw}else if(l>u+c*(1-i)/2&&l<d-c*(1-i)/2)return function(e){return vx(Ox)<vx(e)?1:-1}(t);if((f=f||a)&&(l<u+c*o/2||l>d-c*o/2))return l>u+c/2?1:-1;return 0}(e,a,n,i,x?1:s.swapThreshold,null==s.invertedSwapThreshold?s.swapThreshold:s.invertedSwapThreshold,lw,ew===a),0!==v){var A=vx(Ox);do{A-=v,y=zx.children[A]}while(y&&("none"===cx(y,"display")||y===Rx))}if(0===v||y===a)return D(!1);ew=a,tw=v;var S=a.nextElementSibling,M=!1,E=Cw(Nx,o,Ox,t,a,n,e,M=1===v);if(!1!==E)return 1!==E&&-1!==E||(M=1===E),uw=!0,setTimeout(Sw,30),T(),M&&!S?o.appendChild(Ox):a.parentNode.insertBefore(Ox,M?S:a),k&&wx(k,0,C-k.scrollTop),zx=Ox.parentNode,void 0===b||lw||(nw=Math.abs(b-hx(a)[w])),F(),D(!0)}if(o.contains(Ox))return D(!1)}return!1}function L(s,l){Dx(s,h,U_({evt:e,isOwner:u,axis:i?"vertical":"horizontal",revert:r,dragRect:t,targetRect:n,canSort:d,fromSortable:f,target:a,completed:D,onMove:function(n,r){return Cw(Nx,o,Ox,t,n,hx(n),e,r)},changed:F},l))}function T(){L("dragOverAnimationCapture"),h.captureAnimationState(),h!==f&&f.captureAnimationState()}function D(t){return L("dragOverCompleted",{insertion:t}),t&&(u?c._hideClone():c._showClone(h),h!==f&&(lx(Ox,Vx?Vx.options.ghostClass:c.options.ghostClass,!1),lx(Ox,s.ghostClass,!0)),Vx!==h&&h!==kw.active?Vx=h:h===kw.active&&Vx&&(Vx=null),f===h&&(h._ignoreWhileAnimating=a),h.animateAll((function(){L("dragOverAnimationComplete"),h._ignoreWhileAnimating=null})),h!==f&&(f.animateAll(),f._ignoreWhileAnimating=null)),(a===Ox&&!Ox.animated||a===o&&!a.animated)&&(ew=null),s.dragoverBubble||e.rootEl||a===document||(Ox.parentNode[Ax]._isOutsideThisEl(e.target),!t&&xw(e)),!s.dragoverBubble&&e.stopPropagation&&e.stopPropagation(),p=!0}function F(){Hx=vx(Ox),$x=vx(Ox,s.draggable),Fx({sortable:h,name:"change",toEl:o,newIndex:Hx,newDraggableIndex:$x,originalEvent:e})}},_ignoreWhileAnimating:null,_offMoveEvents:function(){nx(document,"mousemove",this._onTouchMove),nx(document,"touchmove",this._onTouchMove),nx(document,"pointermove",this._onTouchMove),nx(document,"dragover",xw),nx(document,"mousemove",xw),nx(document,"touchmove",xw)},_offUpEvents:function(){var e=this.el.ownerDocument;nx(e,"mouseup",this._onDrop),nx(e,"touchend",this._onDrop),nx(e,"pointerup",this._onDrop),nx(e,"pointercancel",this._onDrop),nx(e,"touchcancel",this._onDrop),nx(document,"selectstart",this)},_onDrop:function(e){var t=this.el,n=this.options;Hx=vx(Ox),$x=vx(Ox,n.draggable),Dx("drop",this,{evt:e}),zx=Ox&&Ox.parentNode,Hx=vx(Ox),$x=vx(Ox,n.draggable),kw.eventCanceled||(iw=!1,lw=!1,sw=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),Lw(this.cloneId),Lw(this._dragStartId),this.nativeDraggable&&(nx(document,"drop",this),nx(t,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),K_&&cx(document.body,"user-select",""),cx(Ox,"transform",""),e&&(Qx&&(e.cancelable&&e.preventDefault(),!n.dropBubble&&e.stopPropagation()),Rx&&Rx.parentNode&&Rx.parentNode.removeChild(Rx),(Nx===zx||Vx&&"clone"!==Vx.lastPutMode)&&Bx&&Bx.parentNode&&Bx.parentNode.removeChild(Bx),Ox&&(this.nativeDraggable&&nx(Ox,"dragend",this),Aw(Ox),Ox.style["will-change"]="",Qx&&!iw&&lx(Ox,Vx?Vx.options.ghostClass:this.options.ghostClass,!1),lx(Ox,this.options.chosenClass,!1),Fx({sortable:this,name:"unchoose",toEl:zx,newIndex:null,newDraggableIndex:null,originalEvent:e}),Nx!==zx?(Hx>=0&&(Fx({rootEl:zx,name:"add",toEl:zx,fromEl:Nx,originalEvent:e}),Fx({sortable:this,name:"remove",toEl:zx,originalEvent:e}),Fx({rootEl:zx,name:"sort",toEl:zx,fromEl:Nx,originalEvent:e}),Fx({sortable:this,name:"sort",toEl:zx,originalEvent:e})),Vx&&Vx.save()):Hx!==Wx&&Hx>=0&&(Fx({sortable:this,name:"update",toEl:zx,originalEvent:e}),Fx({sortable:this,name:"sort",toEl:zx,originalEvent:e})),kw.active&&(null!=Hx&&-1!==Hx||(Hx=Wx,$x=qx),Fx({sortable:this,name:"end",toEl:zx,originalEvent:e}),this.save())))),this._nulling()},_nulling:function(){Dx("nulling",this),Nx=Ox=zx=Rx=Px=Bx=Ix=jx=Gx=Yx=Qx=Hx=$x=Wx=qx=ew=tw=Vx=Ux=kw.dragged=kw.ghost=kw.clone=kw.active=null;var e=this.el;dw.forEach((function(t){e.contains(t)&&(t.checked=!0)})),dw.length=Zx=Xx=0},handleEvent:function(e){switch(e.type){case"drop":case"dragend":this._onDrop(e);break;case"dragenter":case"dragover":Ox&&(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++)ox(e=n[r],o.draggable,this.el,!1)&&t.push(e.getAttribute(o.dataIdAttr)||Mw(e));return t},sort:function(e,t){var n={},r=this.el;this.toArray().forEach((function(e,t){var i=r.children[t];ox(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 ox(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=Lx.modifyOption(this,e,t);n[e]=void 0!==r?r:t,"group"===e&&bw(n)},destroy:function(){Dx("destroy",this);var e=this.el;e[Ax]=null,nx(e,"mousedown",this._onTapStart),nx(e,"touchstart",this._onTapStart),nx(e,"pointerdown",this._onTapStart),this.nativeDraggable&&(nx(e,"dragover",this),nx(e,"dragenter",this)),Array.prototype.forEach.call(e.querySelectorAll("[draggable]"),(function(e){e.removeAttribute("draggable")})),this._onDrop(),this._disableDelayedDragEvents(),aw.splice(aw.indexOf(this.el),1),this.el=e=null},_hideClone:function(){if(!jx){if(Dx("hideClone",this),kw.eventCanceled)return;cx(Bx,"display","none"),this.options.removeCloneOnHide&&Bx.parentNode&&Bx.parentNode.removeChild(Bx),jx=!0}},_showClone:function(e){if("clone"===e.lastPutMode){if(jx){if(Dx("showClone",this),kw.eventCanceled)return;Ox.parentNode!=Nx||this.options.group.revertClone?Px?Nx.insertBefore(Bx,Px):Nx.appendChild(Bx):Nx.insertBefore(Bx,Ox),this.options.group.revertClone&&this.animate(Ox,Bx),cx(Bx,"display",""),jx=!1}}else this._hideClone()}},fw&&tx(document,"touchmove",(function(e){(kw.active||iw)&&e.cancelable&&e.preventDefault()})),kw.utils={on:tx,off:nx,css:cx,find:dx,is:function(e,t){return!!ox(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:xx,closest:ox,toggleClass:lx,clone:kx,index:vx,nextTick:Ew,cancelNextTick:Lw,detectDirection:vw,getChild:gx,expando:Ax},kw.get=function(e){return e[Ax]},kw.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&&(kw.utils=U_(U_({},kw.utils),e.utils)),Lx.mount(e)}))},kw.create=function(e,t){return new kw(e,t)},kw.version="1.15.7";var Tw,Dw,Fw,Ow,zw,Rw,Nw=[],Pw=!1;function Iw(){Nw.forEach((function(e){clearInterval(e.pid)})),Nw=[]}function Bw(){clearInterval(Rw)}var jw,Ww=xx((function(e,t,n,r){if(t.scroll){var i,o=(e.touches?e.touches[0]:e).clientX,a=(e.touches?e.touches[0]:e).clientY,s=t.scrollSensitivity,l=t.scrollSpeed,c=fx(),u=!1;Dw!==n&&(Dw=n,Iw(),Tw=t.scroll,i=t.scrollFn,!0===Tw&&(Tw=yx(n,!0)));var d=0,f=Tw;do{var h=f,p=hx(h),g=p.top,m=p.bottom,v=p.left,b=p.right,y=p.width,_=p.height,x=void 0,w=void 0,k=h.scrollWidth,C=h.scrollHeight,A=cx(h),S=h.scrollLeft,M=h.scrollTop;h===c?(x=y<k&&("auto"===A.overflowX||"scroll"===A.overflowX||"visible"===A.overflowX),w=_<C&&("auto"===A.overflowY||"scroll"===A.overflowY||"visible"===A.overflowY)):(x=y<k&&("auto"===A.overflowX||"scroll"===A.overflowX),w=_<C&&("auto"===A.overflowY||"scroll"===A.overflowY));var E=x&&(Math.abs(b-o)<=s&&S+y<k)-(Math.abs(v-o)<=s&&!!S),L=w&&(Math.abs(m-a)<=s&&M+_<C)-(Math.abs(g-a)<=s&&!!M);if(!Nw[d])for(var T=0;T<=d;T++)Nw[T]||(Nw[T]={});Nw[d].vx==E&&Nw[d].vy==L&&Nw[d].el===h||(Nw[d].el=h,Nw[d].vx=E,Nw[d].vy=L,clearInterval(Nw[d].pid),0==E&&0==L||(u=!0,Nw[d].pid=setInterval(function(){r&&0===this.layer&&kw.active._onTouchMove(zw);var t=Nw[this.layer].vy?Nw[this.layer].vy*l:0,n=Nw[this.layer].vx?Nw[this.layer].vx*l:0;"function"==typeof i&&"continue"!==i.call(kw.dragged.parentNode[Ax],n,t,e,zw,Nw[this.layer].el)||wx(Nw[this.layer].el,n,t)}.bind({layer:d}),24))),d++}while(t.bubbleScroll&&f!==c&&(f=yx(f,!1)));Pw=u}}),30),Hw=function(e){var t=e.originalEvent,n=e.putSortable,r=e.dragEl,i=e.activeSortable,o=e.dispatchSortableEvent,a=e.hideGhostForTarget,s=e.unhideGhostForTarget;if(t){var l=n||i;a();var c=t.changedTouches&&t.changedTouches.length?t.changedTouches[0]:t,u=document.elementFromPoint(c.clientX,c.clientY);s(),l&&!l.el.contains(u)&&(o("spill"),this.onSpill({dragEl:r,putSortable:n}))}};function qw(){}function $w(){}qw.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=gx(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:Hw},q_(qw,{pluginName:"revertOnSpill"}),$w.prototype={onSpill:function(e){var t=e.dragEl,n=e.putSortable||this.sortable;n.captureAnimationState(),t.parentNode&&t.parentNode.removeChild(t),n.animateAll()},drop:Hw},q_($w,{pluginName:"removeOnSpill"}),kw.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?tx(document,"dragover",this._handleAutoScroll):this.options.supportPointer?tx(document,"pointermove",this._handleFallbackAutoScroll):t.touches?tx(document,"touchmove",this._handleFallbackAutoScroll):tx(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(e){var t=e.originalEvent;this.options.dragOverBubble||t.rootEl||this._handleAutoScroll(t)},drop:function(){this.sortable.nativeDraggable?nx(document,"dragover",this._handleAutoScroll):(nx(document,"pointermove",this._handleFallbackAutoScroll),nx(document,"touchmove",this._handleFallbackAutoScroll),nx(document,"mousemove",this._handleFallbackAutoScroll)),Bw(),Iw(),clearTimeout(ax),ax=void 0},nulling:function(){zw=Dw=Tw=Pw=Rw=Fw=Ow=null,Nw.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(zw=e,t||this.options.forceAutoScrollFallback||Z_||Y_||K_){Ww(e,this.options,o,t);var a=yx(o,!0);!Pw||Rw&&r===Fw&&i===Ow||(Rw&&Bw(),Rw=setInterval((function(){var o=yx(document.elementFromPoint(r,i),!0);o!==a&&(a=o,Iw()),Ww(e,n.options,o,t)}),10),Fw=r,Ow=i)}else{if(!this.options.bubbleScroll||yx(o,!0)===fx())return void Iw();Ww(e,this.options,yx(o,!1),!1)}}},q_(e,{pluginName:"scroll",initializeByDefault:!0})}),kw.mount($w,qw);const Uw="dnd-drag-handle",Vw="dnd-drag-enabled";kw.mount(new function(){function e(){this.defaults={swapClass:"sortable-swap-highlight"}}return e.prototype={dragStart:function(e){var t=e.dragEl;jw=t},dragOverValid:function(e){var t=e.completed,n=e.target,r=e.onMove,i=e.activeSortable,o=e.changed,a=e.cancel;if(i.options.swap){var s=this.sortable.el,l=this.options;if(n&&n!==s){var c=jw;!1!==r(n)?(lx(n,l.swapClass,!0),jw=n):jw=null,c&&c!==jw&&lx(c,l.swapClass,!1)}o(),t(!0),a()}},drop:function(e){var t=e.activeSortable,n=e.putSortable,r=e.dragEl,i=n||this.sortable,o=this.options;jw&&lx(jw,o.swapClass,!1),jw&&(o.swap||n&&n.options.swap)&&r!==jw&&(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=vx(e),r=vx(t),i.isEqualNode(o)&&n<r&&r++;i.insertBefore(t,i.children[n]),o.insertBefore(e,o.children[r])}(r,jw),i.animateAll(),i!==t&&t.animateAll())},nulling:function(){jw=null}},q_(e,{pluginName:"swap",eventProperties:function(){return{swapItem:jw}}})});var Gw="styles_grid__bgsAQ";const Yw=({className:e,options:t,kind:n="default",children:r,...i})=>{const o=l(null);return((e,t)=>{u((()=>{if(e.current){const n=kw.create(e.current,{animation:150,handle:`.${Uw}`,draggable:`.${Vw}`,...t});return()=>{n.destroy()}}}),[e,t])})(o,h((()=>({...t,..."swap"===n&&{swap:!0,swapClass:"dnd-drag-swap-highlight"}})),[t,n])),An("div",{ref:o,className:ie(Gw,e),...i,children:r})},Zw=({className:e})=>An(Mn,{id:Sn.draggable,className:e});var Xw="styles_drag-handle__2DC4-";const Kw=({className:e})=>An("div",{className:ie(Xw,Uw,e),children:An(Zw,{})});var Jw="styles_grid-item__-kGp3",Qw="styles_grid-item-content__hZ5TS",ek="styles_grid-item-handle__OyO7A";const tk=({className:e,children:t,dndEnabled:n=!1,...r})=>An("div",{...r,className:ie(Jw,{[Vw]:n},e),children:[An("div",{className:Qw,children:t}),n&&An(Kw,{className:ek})]}),nk=({locale:e,setLocale:t,availableLocales:n})=>{const r=n||Object.keys(ar),i=[...new Set(r)].map((e=>({key:e,value:ar[e].full})));return An(Tp,{size:"s",menuTrigger:({isOpened:t,onClick:n})=>An(Nn,{style:"ghost",size:"s",text:ar[e]&&ar[e].short||ar.en.short,isExpanded:t,onClick:n}),children:An(Tp.Section,{children:i.map((({key:n,value:r})=>An(Tp.ItemWithCheckmark,{onClick:()=>{t(n)},isChecked:e===n,children:r},n)))})})},rk={light:Sn.lineShapesSun,dark:Sn.lineShapesMoon,auto:Sn.lineShapesThemeAuto},ik=({theme:e,toggleTheme:t})=>An(Rn,{onClick:t,style:"ghost",icon:rk[e],size:"s"});var ok="styles_label__IW9cn",ak="styles_wrapper__elS6G",sk="styles_icon__GXXnU",lk="styles_text__fEQgL";const ck=e=>{const{icon:t,children:n,tooltip:r,className:i,style:o="secondary",...a}=e,s=An("div",{className:ie(ak,i),children:[An(Mn,{className:sk,id:t}),An(Ln,{className:lk,type:"ui",size:"s",bold:!0,children:n})]});return An("div",r?{className:ok,...a,"data-style":o,children:An(jh,{tooltipText:r,children:s})}:{className:ok,...a,"data-style":o,children:s})};var uk=Sk(),dk=e=>wk(e,uk),fk=Sk();dk.write=e=>wk(e,fk);var hk=Sk();dk.onStart=e=>wk(e,hk);var pk=Sk();dk.onFrame=e=>wk(e,pk);var gk=Sk();dk.onFinish=e=>wk(e,gk);var mk=[];dk.setTimeout=(e,t)=>{const n=dk.now()+t,r=()=>{const e=mk.findIndex((e=>e.cancel==r));~e&&mk.splice(e,1),_k-=~e?1:0},i={time:n,handler:e,cancel:r};return mk.splice(vk(n),0,i),_k+=1,kk(),i};var vk=e=>~(~mk.findIndex((t=>t.time>e))||~mk.length);dk.cancel=e=>{hk.delete(e),pk.delete(e),gk.delete(e),uk.delete(e),fk.delete(e)},dk.sync=e=>{xk=!0,dk.batchedUpdates(e),xk=!1},dk.throttle=e=>{let t;function n(){try{e(...t)}finally{t=null}}function r(...e){t=e,dk.onStart(n)}return r.handler=e,r.cancel=()=>{hk.delete(n),t=null},r};var bk="undefined"!=typeof window?window.requestAnimationFrame:()=>{};dk.use=e=>bk=e,dk.now="undefined"!=typeof performance?()=>performance.now():Date.now,dk.batchedUpdates=e=>e(),dk.catch=console.error,dk.frameLoop="always",dk.advance=()=>{"demand"!==dk.frameLoop?console.warn("Cannot call the manual advancement of rafz whilst frameLoop is not set as demand"):Ak()};var yk=-1,_k=0,xk=!1;function wk(e,t){xk?(t.delete(e),e(0)):(t.add(e),kk())}function kk(){yk<0&&(yk=0,"demand"!==dk.frameLoop&&bk(Ck))}function Ck(){~yk&&(bk(Ck),dk.batchedUpdates(Ak))}function Ak(){const e=yk;yk=dk.now();const t=vk(yk);t&&(Mk(mk.splice(0,t),(e=>e.handler())),_k-=t),_k?(hk.flush(),uk.flush(e?Math.min(64,yk-e):16.667),pk.flush(),fk.flush(),gk.flush()):yk=-1}function Sk(){let e=new Set,t=e;return{add(n){_k+=t!=e||e.has(n)?0:1,e.add(n)},delete:n=>(_k-=t==e&&e.has(n)?1:0,e.delete(n)),flush(n){t.size&&(e=new Set,_k-=t.size,Mk(t,(t=>t(n)&&e.add(t))),_k+=e.size,t=e)}}}function Mk(e,t){e.forEach((e=>{try{t(e)}catch(e){dk.catch(e)}}))}var Ek=Object.defineProperty,Lk={};function Tk(){}((e,t)=>{for(var n in t)Ek(e,n,{get:t[n],enumerable:!0})})(Lk,{assign:()=>$k,colors:()=>Wk,createStringInterpolator:()=>Pk,skipAnimation:()=>Hk,to:()=>Ik,willAdvance:()=>qk});var Dk={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 Fk(e,t){if(Dk.arr(e)){if(!Dk.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 Ok=(e,t)=>e.forEach(t);function zk(e,t,n){if(Dk.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 Rk=e=>Dk.und(e)?[]:Dk.arr(e)?e:[e];function Nk(e,t){if(e.size){const n=Array.from(e);e.clear(),Ok(n,t)}}var Pk,Ik,Bk=(e,...t)=>Nk(e,(e=>e(...t))),jk=()=>"undefined"==typeof window||!window.navigator||/ServerSideRendering|^Deno\//.test(window.navigator.userAgent),Wk=null,Hk=!1,qk=Tk,$k=e=>{e.to&&(Ik=e.to),e.now&&(dk.now=e.now),void 0!==e.colors&&(Wk=e.colors),null!=e.skipAnimation&&(Hk=e.skipAnimation),e.createStringInterpolator&&(Pk=e.createStringInterpolator),e.requestAnimationFrame&&dk.use(e.requestAnimationFrame),e.batchedUpdates&&(dk.batchedUpdates=e.batchedUpdates),e.willAdvance&&(qk=e.willAdvance),e.frameLoop&&(dk.frameLoop=e.frameLoop)},Uk=new Set,Vk=[],Gk=[],Yk=0,Zk={get idle(){return!Uk.size&&!Vk.length},start(e){Yk>e.priority?(Uk.add(e),dk.onStart(Xk)):(Kk(e),dk(Qk))},advance:Qk,sort(e){if(Yk)dk.onFrame((()=>Zk.sort(e)));else{const t=Vk.indexOf(e);~t&&(Vk.splice(t,1),Jk(e))}},clear(){Vk=[],Uk.clear()}};function Xk(){Uk.forEach(Kk),Uk.clear(),dk(Qk)}function Kk(e){Vk.includes(e)||Jk(e)}function Jk(e){Vk.splice(function(e,t){const n=e.findIndex(t);return n<0?e.length:n}(Vk,(t=>t.priority>e.priority)),0,e)}function Qk(e){const t=Gk;for(let n=0;n<Vk.length;n++){const r=Vk[n];Yk=r.priority,r.idle||(qk(r),r.advance(e),r.idle||t.push(r))}return Yk=0,(Gk=Vk).length=0,(Vk=t).length>0}var eC={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},tC="[-+]?\\d*\\.?\\d+",nC=tC+"%";function rC(...e){return"\\(\\s*("+e.join(")\\s*,\\s*(")+")\\s*\\)"}var iC=new RegExp("rgb"+rC(tC,tC,tC)),oC=new RegExp("rgba"+rC(tC,tC,tC,tC)),aC=new RegExp("hsl"+rC(tC,nC,nC)),sC=new RegExp("hsla"+rC(tC,nC,nC,tC)),lC=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,cC=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,uC=/^#([0-9a-fA-F]{6})$/,dC=/^#([0-9a-fA-F]{8})$/;function fC(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 hC(e,t,n){const r=n<.5?n*(1+t):n+t-n*t,i=2*n-r,o=fC(i,r,e+1/3),a=fC(i,r,e),s=fC(i,r,e-1/3);return Math.round(255*o)<<24|Math.round(255*a)<<16|Math.round(255*s)<<8}function pC(e){const t=parseInt(e,10);return t<0?0:t>255?255:t}function gC(e){return(parseFloat(e)%360+360)%360/360}function mC(e){const t=parseFloat(e);return t<0?0:t>1?255:Math.round(255*t)}function vC(e){const t=parseFloat(e);return t<0?0:t>100?1:t/100}function bC(e){let t=function(e){let t;return"number"==typeof e?e>>>0===e&&e>=0&&e<=4294967295?e:null:(t=uC.exec(e))?parseInt(t[1]+"ff",16)>>>0:Wk&&void 0!==Wk[e]?Wk[e]:(t=iC.exec(e))?(pC(t[1])<<24|pC(t[2])<<16|pC(t[3])<<8|255)>>>0:(t=oC.exec(e))?(pC(t[1])<<24|pC(t[2])<<16|pC(t[3])<<8|mC(t[4]))>>>0:(t=lC.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+"ff",16)>>>0:(t=dC.exec(e))?parseInt(t[1],16)>>>0:(t=cC.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+t[4]+t[4],16)>>>0:(t=aC.exec(e))?(255|hC(gC(t[1]),vC(t[2]),vC(t[3])))>>>0:(t=sC.exec(e))?(hC(gC(t[1]),vC(t[2]),vC(t[3]))|mC(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 yC=(e,t,n)=>{if(Dk.fun(e))return e;if(Dk.arr(e))return yC({range:e,output:t,extrapolate:n});if(Dk.str(e.output[0]))return Pk(e);const r=e,i=r.output,o=r.range||[0,1],a=r.extrapolateLeft||r.extrapolate||"extend",s=r.extrapolateRight||r.extrapolate||"extend",l=r.easing||(e=>e);return e=>{const t=function(e,t){for(var n=1;n<t.length-1&&!(t[n]>=e);++n);return n-1}(e,o);return function(e,t,n,r,i,o,a,s,l){let c=l?l(e):e;if(c<t){if("identity"===a)return c;"clamp"===a&&(c=t)}if(c>n){if("identity"===s)return c;"clamp"===s&&(c=n)}if(r===i)return r;if(t===n)return e<=t?r:i;t===-1/0?c=-c:n===1/0?c-=t:c=(c-t)/(n-t);c=o(c),r===-1/0?c=-c:i===1/0?c+=r:c=c*(i-r)+r;return c}(e,o[t],o[t+1],i[t],i[t+1],l,a,s,r.map)}};var _C=Symbol.for("FluidValue.get"),xC=Symbol.for("FluidValue.observers"),wC=e=>Boolean(e&&e[_C]),kC=e=>e&&e[_C]?e[_C]():e,CC=e=>e[xC]||null;function AC(e,t){const n=e[xC];n&&n.forEach((e=>{!function(e,t){e.eventObserved?e.eventObserved(t):e(t)}(e,t)}))}var SC=class{constructor(e){if(!e&&!(e=this.get))throw Error("Unknown getter");MC(this,e)}},MC=(e,t)=>DC(e,_C,t);function EC(e,t){if(e[_C]){let n=e[xC];n||DC(e,xC,n=new Set),n.has(t)||(n.add(t),e.observerAdded&&e.observerAdded(n.size,t))}return t}function LC(e,t){const n=e[xC];if(n&&n.has(t)){const r=n.size-1;r?n.delete(t):e[xC]=null,e.observerRemoved&&e.observerRemoved(r,t)}}var TC,DC=(e,t,n)=>Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0}),FC=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,OC=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,zC=new RegExp(`(${FC.source})(%|[a-z]+)`,"i"),RC=/rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi,NC=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/,PC=e=>{const[t,n]=IC(e);if(!t||jk())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&&NC.test(n)?PC(n):n||e},IC=e=>{const t=NC.exec(e);if(!t)return[,];const[,n,r]=t;return[n,r]},BC=(e,t,n,r,i)=>`rgba(${Math.round(t)}, ${Math.round(n)}, ${Math.round(r)}, ${i})`,jC=e=>{TC||(TC=Wk?new RegExp(`(${Object.keys(Wk).join("|")})(?!\\w)`,"g"):/^\b$/);const t=e.output.map((e=>kC(e).replace(NC,PC).replace(OC,bC).replace(TC,bC))),n=t.map((e=>e.match(FC).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=>yC({...e,output:t})));return e=>{const n=!zC.test(t[0])&&t.find((e=>zC.test(e)))?.replace(FC,"");let r=0;return t[0].replace(FC,(()=>`${i[r++](e)}${n||""}`)).replace(RC,BC)}},WC="react-spring: ",HC=e=>{const t=e;let n=!1;if("function"!=typeof t)throw new TypeError(`${WC}once requires a function parameter`);return(...e)=>{n||(t(...e),n=!0)}},qC=HC(console.warn);var $C=HC(console.warn);function UC(e){return Dk.str(e)&&("#"==e[0]||/\d/.test(e)||!jk()&&NC.test(e)||e in(Wk||{}))}var VC=jk()?w:k;function GC(){const e=x()[1],t=(()=>{const e=C(!1);return VC((()=>(e.current=!0,()=>{e.current=!1})),[]),e})();return()=>{t.current&&e(Math.random())}}var YC=e=>w(e,ZC),ZC=[];function XC(e){const t=C(void 0);return w((()=>{t.current=e})),t.current}var KC=Symbol.for("Animated:node"),JC=e=>e&&e[KC],QC=(e,t)=>{return n=e,r=KC,i=t,Object.defineProperty(n,r,{value:i,writable:!0,configurable:!0});var n,r,i},eA=e=>e&&e[KC]&&e[KC].getPayload(),tA=class{constructor(){QC(this,this)}getPayload(){return this.payload||[]}},nA=class e extends tA{constructor(e){super(),this._value=e,this.done=!0,this.durationProgress=0,Dk.num(this._value)&&(this.lastPosition=this._value)}static create(t){return new e(t)}getPayload(){return[this]}getValue(){return this._value}setValue(e,t){return Dk.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,Dk.num(this._value)&&(this.elapsedTime=0,this.durationProgress=0,this.lastPosition=this._value,e&&(this.lastVelocity=null),this.v0=null)}},rA=class e extends nA{constructor(e){super(0),this._string=null,this._toString=yC({output:[e,e]})}static create(t){return new e(t)}getValue(){const e=this._string;return null==e?this._string=this._toString(this._value):e}setValue(e){if(Dk.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=yC({output:[this.getValue(),e]})),this._value=0,super.reset()}},iA={dependencies:null},oA=class extends tA{constructor(e){super(),this.source=e,this.setValue(e)}getValue(e){const t={};return zk(this.source,((n,r)=>{var i;(i=n)&&i[KC]===i?t[r]=n.getValue(e):wC(n)?t[r]=kC(n):e||(t[r]=n)})),t}setValue(e){this.source=e,this.payload=this._makePayload(e)}reset(){this.payload&&Ok(this.payload,(e=>e.reset()))}_makePayload(e){if(e){const t=new Set;return zk(e,this._addToPayload,t),Array.from(t)}}_addToPayload(e){iA.dependencies&&wC(e)&&iA.dependencies.add(e);const t=eA(e);t&&Ok(t,(e=>this.add(e)))}},aA=class e extends oA{constructor(e){super(e)}static create(t){return new e(t)}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(sA)),!0)}};function sA(e){return(UC(e)?rA:nA).create(e)}function lA(e){const t=JC(e);return t?t.constructor:Dk.arr(e)?aA:UC(e)?rA:nA}var cA=(e,t)=>{const n=!Dk.fun(e)||e.prototype&&e.prototype.isReactComponent;return A(((r,i)=>{const o=C(null),a=n&&S((e=>{o.current=function(e,t){e&&(Dk.fun(e)?e(t):e.current=t);return t}(i,e)}),[i]),[s,l]=function(e,t){const n=new Set;iA.dependencies=n,e.style&&(e={...e,style:t.createAnimatedStyle(e.style)});return e=new oA(e),iA.dependencies=null,[e,n]}(r,t),c=GC(),u=()=>{const e=o.current;if(n&&!e)return;!1===(!!e&&t.applyAnimatedValues(e,s.getValue(!0)))&&c()},d=new uA(u,l),f=C(void 0);VC((()=>(f.current=d,Ok(l,(e=>EC(e,d))),()=>{f.current&&(Ok(f.current.deps,(e=>LC(e,f.current))),dk.cancel(f.current.update))}))),w(u,[]),YC((()=>()=>{const e=f.current;Ok(e.deps,(t=>LC(t,e)))}));const h=t.getComponentProps(s.getValue());return _.createElement(e,{...h,ref:a})}))},uA=class{constructor(e,t){this.update=e,this.deps=t}eventObserved(e){"change"==e.type&&dk.write(this.update)}};var dA=Symbol.for("AnimatedComponent"),fA=(e,{applyAnimatedValues:t=()=>!1,createAnimatedStyle:n=e=>new oA(e),getComponentProps:r=e=>e}={})=>{const i={applyAnimatedValues:t,createAnimatedStyle:n,getComponentProps:r},o=e=>{const t=hA(e)||"Anonymous";return(e=Dk.str(e)?o[e]||(o[e]=cA(e,i)):e[dA]||(e[dA]=cA(e,i))).displayName=`Animated(${t})`,e};return zk(e,((t,n)=>{Dk.arr(e)&&(n=hA(t)),o[n]=o(t)})),{animated:o}},hA=e=>Dk.str(e)?e:e&&Dk.str(e.displayName)?e.displayName:Dk.fun(e)&&e.name||null;function pA(e,...t){return Dk.fun(e)?e(...t):e}var gA=(e,t)=>!0===e||!!(t&&e&&(Dk.fun(e)?e(t):Rk(e).includes(t))),mA=(e,t)=>Dk.obj(e)?t&&e[t]:e,vA=(e,t)=>!0===e.default?e[t]:e.default?e.default[t]:void 0,bA=e=>e,yA=(e,t=bA)=>{let n=_A;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);Dk.und(n)||(r[i]=n)}return r},_A=["config","onProps","onStart","onChange","onPause","onResume","onRest"],xA={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 wA(e){const t=function(e){const t={};let n=0;if(zk(e,((e,r)=>{xA[r]||(t[r]=e,n++)})),n)return t}(e);if(t){const n={to:t};return zk(e,((e,r)=>r in t||(n[r]=e))),n}return{...e}}function kA(e){return e=kC(e),Dk.arr(e)?e.map(kA):UC(e)?Lk.createStringInterpolator({range:[0,1],output:[e,e]})(1):e}function CA(e){for(const t in e)return!0;return!1}function AA(e){return Dk.fun(e)||Dk.arr(e)&&Dk.obj(e[0])}function SA(e,t){e.ref?.delete(e),t?.delete(e)}function MA(e,t){t&&e.ref!==t&&(e.ref?.delete(e),t.add(e),e.ref=t)}var EA={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}},LA={...EA.default,mass:1,damping:1,easing:e=>e,clamp:!1},TA=class{constructor(){this.velocity=0,Object.assign(this,LA)}};function DA(e,t){if(Dk.und(t.decay)){const n=!Dk.und(t.tension)||!Dk.und(t.friction);!n&&Dk.und(t.frequency)&&Dk.und(t.damping)&&Dk.und(t.mass)||(e.duration=void 0,e.decay=void 0),n&&(e.frequency=void 0)}else e.duration=void 0}var FA=[],OA=class{constructor(){this.changed=!1,this.values=FA,this.toValues=null,this.fromValues=FA,this.config=new TA,this.immediate=!1}};function zA(e,{key:t,props:n,defaultProps:r,state:i,actions:o}){return new Promise(((a,s)=>{let l,c,u=gA(n.cancel??r?.cancel,t);if(u)h();else{Dk.und(n.pause)||(i.paused=gA(n.pause,t));let e=r?.pause;!0!==e&&(e=i.paused||gA(e,t)),l=pA(n.delay||0,t),e?(i.resumeQueue.add(f),o.pause()):(o.resume(),f())}function d(){i.resumeQueue.add(f),i.timeouts.delete(c),c.cancel(),l=c.time-dk.now()}function f(){l>0&&!Lk.skipAnimation?(i.delayed=!0,c=dk.setTimeout(h,l),i.pauseQueue.add(d),i.timeouts.add(c)):h()}function h(){i.delayed&&(i.delayed=!1),i.pauseQueue.delete(d),i.timeouts.delete(c),e<=(i.cancelId||0)&&(u=!0);try{o.start({...n,callId:e,cancel:u},a)}catch(e){s(e)}}}))}var RA=(e,t)=>1==t.length?t[0]:t.some((e=>e.cancelled))?IA(e.get()):t.every((e=>e.noop))?NA(e.get()):PA(e.get(),t.every((e=>e.finished))),NA=e=>({value:e,noop:!0,finished:!0,cancelled:!1}),PA=(e,t,n=!1)=>({value:e,finished:t,cancelled:n}),IA=e=>({value:e,cancelled:!0,finished:!1});function BA(e,t,n,r){const{callId:i,parentId:o,onRest:a}=t,{asyncTo:s,promise:l}=n;return o||e!==s||t.reset?n.promise=(async()=>{n.asyncId=i,n.asyncTo=e;const c=yA(t,((e,t)=>"onRest"===t?void 0:e));let u,d;const f=new Promise(((e,t)=>(u=e,d=t))),h=e=>{const t=i<=(n.cancelId||0)&&IA(r)||i!==n.asyncId&&PA(r,!1);if(t)throw e.result=t,d(e),e},p=(e,t)=>{const o=new WA,a=new HA;return(async()=>{if(Lk.skipAnimation)throw jA(n),a.result=PA(r,!1),d(a),a;h(o);const s=Dk.obj(e)?{...e}:{...t,to:e};s.parentId=i,zk(c,((e,t)=>{Dk.und(s[t])&&(s[t]=e)}));const l=await r.start(s);return h(o),n.paused&&await new Promise((e=>{n.resumeQueue.add(e)})),l})()};let g;if(Lk.skipAnimation)return jA(n),PA(r,!1);try{let t;t=Dk.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),f]),g=PA(r.get(),!0,!1)}catch(e){if(e instanceof WA)g=e.result;else{if(!(e instanceof HA))throw e;g=e.result}}finally{i==n.asyncId&&(n.asyncId=o,n.asyncTo=o?s:void 0,n.promise=o?l:void 0)}return Dk.fun(a)&&dk.batchedUpdates((()=>{a(g,r,r.item)})),g})():l}function jA(e,t){Nk(e.timeouts,(e=>e.cancel())),e.pauseQueue.clear(),e.resumeQueue.clear(),e.asyncId=e.asyncTo=e.promise=void 0,t&&(e.cancelId=t)}var WA=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.")}},HA=class extends Error{constructor(){super("SkipAnimationSignal")}},qA=e=>e instanceof UA,$A=1,UA=class extends SC{constructor(){super(...arguments),this.id=$A++,this._priority=0}get priority(){return this._priority}set priority(e){this._priority!=e&&(this._priority=e,this._onPriorityChange(e))}get(){const e=JC(this);return e&&e.getValue()}to(...e){return Lk.to(this,e)}interpolate(...e){return qC(`${WC}The "interpolate" function is deprecated in v9 (use "to" instead)`),Lk.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){AC(this,{type:"change",parent:this,value:e,idle:t})}_onPriorityChange(e){this.idle||Zk.sort(this),AC(this,{type:"priority",parent:this,priority:e})}},VA=Symbol.for("SpringPhase"),GA=e=>(1&e[VA])>0,YA=e=>(2&e[VA])>0,ZA=e=>(4&e[VA])>0,XA=(e,t)=>t?e[VA]|=3:e[VA]&=-3,KA=(e,t)=>t?e[VA]|=4:e[VA]&=-5,JA=class extends UA{constructor(e,t){if(super(),this.animation=new OA,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,!Dk.und(e)||!Dk.und(t)){const n=Dk.obj(e)?{...e}:{...t,from:e};Dk.und(n.default)&&(n.default=!0),this.start(n)}}get idle(){return!(YA(this)||this._state.asyncTo)||ZA(this)}get goal(){return kC(this.animation.to)}get velocity(){const e=JC(this);return e instanceof nA?e.lastVelocity||0:e.getPayload().map((e=>e.lastVelocity||0))}get hasAnimated(){return GA(this)}get isAnimating(){return YA(this)}get isPaused(){return ZA(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=eA(r.to);!a&&wC(r.to)&&(i=Rk(kC(r.to))),r.values.forEach(((s,l)=>{if(s.done)return;const c=s.constructor==rA?1:a?a[l].lastPosition:i[l];let u=r.immediate,d=c;if(!u){if(d=s.lastPosition,o.tension<=0)return void(s.done=!0);let t=s.elapsedTime+=e;const n=r.fromValues[l],i=null!=s.v0?s.v0:s.v0=Dk.arr(o.velocity)?o.velocity[l]:o.velocity;let a;const f=o.precision||(n==c?.005:Math.min(1,.001*Math.abs(c-n)));if(Dk.und(o.duration))if(o.decay){const e=!0===o.decay?.998:o.decay,r=Math.exp(-(1-e)*t);d=n+i/(1-e)*(1-r),u=Math.abs(s.lastPosition-d)<=f,a=i*r}else{a=null==s.lastVelocity?i:s.lastVelocity;const t=o.restVelocity||f/10,r=o.clamp?0:o.bounce,l=!Dk.und(r),h=n==c?s.v0>0:n<c;let p,g=!1;const m=1,v=Math.ceil(e/m);for(let e=0;e<v&&(p=Math.abs(a)>t,p||(u=Math.abs(c-d)<=f,!u));++e){l&&(g=d==c||d>c==h,g&&(a=-a*r,d=c));a+=(1e-6*-o.tension*(d-c)+.001*-o.friction*a)/o.mass*m,d+=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),d=n+o.easing(r)*(c-n),a=(d-s.lastPosition)/e,u=1==r}s.lastVelocity=a,Number.isNaN(d)&&(console.warn("Got NaN while animating:",this),u=!0)}a&&!a[l].done&&(u=!1),u?s.done=!0:t=!1,s.setValue(d,o.round)&&(n=!0)}));const s=JC(this),l=s.getValue();if(t){const e=kC(r.to);l===e&&!n||o.decay?n&&o.decay&&this._onChange(l):(s.setValue(e),this._onChange(e)),this._stop()}else n&&this._onChange(l)}set(e){return dk.batchedUpdates((()=>{this._stop(),this._focus(e),this._set(e)})),this}pause(){this._update({pause:!0})}resume(){this._update({pause:!1})}finish(){if(YA(this)){const{to:e,config:t}=this.animation;dk.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 Dk.und(e)?(n=this.queue||[],this.queue=[]):n=[Dk.obj(e)?e:{...t,to:e}],Promise.all(n.map((e=>this._update(e)))).then((e=>RA(this,e)))}stop(e){const{to:t}=this.animation;return this._focus(this.get()),jA(this._state,e&&this._lastCallId),dk.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=Dk.obj(n)?n[t]:n,(null==n||AA(n))&&(n=void 0),r=Dk.obj(r)?r[t]:r,null==r&&(r=void 0);const i={to:n,from:r};return GA(this)||(e.reverse&&([n,r]=[r,n]),r=kC(r),Dk.und(r)?JC(this)||this._set(n):this._set(r)),i}_update({...e},t){const{key:n,defaultProps:r}=this;e.default&&Object.assign(r,yA(e,((e,t)=>/^on/.test(t)?mA(e,n):e))),oS(this,e,"onProps"),aS(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 zA(++this._lastCallId,{key:n,props:e,defaultProps:r,state:o,actions:{pause:()=>{ZA(this)||(KA(this,!0),Bk(o.pauseQueue),aS(this,"onPause",PA(this,QA(this,this.animation.to)),this))},resume:()=>{ZA(this)&&(KA(this,!1),YA(this)&&this._resume(),Bk(o.resumeQueue),aS(this,"onResume",PA(this,QA(this,this.animation.to)),this))},start:this._merge.bind(this,i)}}).then((n=>{if(e.loop&&n.finished&&(!t||!n.noop)){const t=eS(e);if(t)return this._update(t,!0)}return n}))}_merge(e,t,n){if(t.cancel)return this.stop(!0),n(IA(this));const r=!Dk.und(e.to),i=!Dk.und(e.from);if(r||i){if(!(t.callId>this._lastToId))return n(IA(this));this._lastToId=t.callId}const{key:o,defaultProps:a,animation:s}=this,{to:l,from:c}=s;let{to:u=l,from:d=c}=e;!i||r||t.default&&!Dk.und(u)||(u=d),t.reverse&&([u,d]=[d,u]);const f=!Fk(d,c);f&&(s.from=d),d=kC(d);const h=!Fk(u,l);h&&this._focus(u);const p=AA(t.to),{config:g}=s,{decay:m,velocity:v}=g;(r||i)&&(g.velocity=0),t.config&&!p&&function(e,t,n){n&&(DA(n={...n},t),t={...n,...t}),DA(e,t),Object.assign(e,t);for(const t in LA)null==e[t]&&(e[t]=LA[t]);let{frequency:r,damping:i}=e;const{mass:o}=e;Dk.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,pA(t.config,o),t.config!==a.config?pA(a.config,o):void 0);let b=JC(this);if(!b||Dk.und(u))return n(PA(this,!0));const y=Dk.und(t.reset)?i&&!t.default:!Dk.und(d)&&gA(t.reset,o),_=y?d:this.get(),x=kA(u),w=Dk.num(x)||Dk.arr(x)||UC(x),k=!p&&(!w||gA(a.immediate||t.immediate,o));if(h){const e=lA(u);if(e!==b.constructor){if(!k)throw Error(`Cannot animate between ${b.constructor.name} and ${e.name}, as the "to" prop suggests`);b=this._set(x)}}const C=b.constructor;let A=wC(u),S=!1;if(!A){const e=y||!GA(this)&&f;(h||e)&&(S=Fk(kA(_),x),A=!S),(Fk(s.immediate,k)||k)&&Fk(g.decay,m)&&Fk(g.velocity,v)||(A=!0)}if(S&&YA(this)&&(s.changed&&!y?A=!0:A||this._stop(l)),!p&&((A||wC(l))&&(s.values=b.getPayload(),s.toValues=wC(u)?null:C==rA?[1]:Rk(x)),s.immediate!=k&&(s.immediate=k,k||y||this._set(l)),A)){const{onRest:e}=s;Ok(iS,(e=>oS(this,t,e)));const r=PA(this,QA(this,l));Bk(this._pendingCalls,r),this._pendingCalls.add(n),s.changed&&dk.batchedUpdates((()=>{s.changed=!y,e?.(r,this),y?pA(a.onRest,r):s.onStart?.(r,this)}))}y&&this._set(_),p?n(BA(t.to,t,this._state,this)):A?this._start():YA(this)&&!h?this._pendingCalls.add(n):n(NA(_))}_focus(e){const t=this.animation;e!==t.to&&(CC(this)&&this._detach(),t.to=e,CC(this)&&this._attach())}_attach(){let e=0;const{to:t}=this.animation;wC(t)&&(EC(t,this),qA(t)&&(e=t.priority+1)),this.priority=e}_detach(){const{to:e}=this.animation;wC(e)&&LC(e,this)}_set(e,t=!0){const n=kC(e);if(!Dk.und(n)){const e=JC(this);if(!e||!Fk(n,e.getValue())){const r=lA(n);e&&e.constructor==r?e.setValue(n):QC(this,r.create(n)),e&&dk.batchedUpdates((()=>{this._onChange(n,t)}))}}return JC(this)}_onStart(){const e=this.animation;e.changed||(e.changed=!0,aS(this,"onStart",PA(this,QA(this,e.to)),this))}_onChange(e,t){t||(this._onStart(),pA(this.animation.onChange,e,this)),pA(this.defaultProps.onChange,e,this),super._onChange(e,t)}_start(){const e=this.animation;JC(this).reset(kC(e.to)),e.immediate||(e.fromValues=e.values.map((e=>e.lastPosition))),YA(this)||(XA(this,!0),ZA(this)||this._resume())}_resume(){Lk.skipAnimation?this.finish():Zk.start(this)}_stop(e,t){if(YA(this)){XA(this,!1);const n=this.animation;Ok(n.values,(e=>{e.done=!0})),n.toValues&&(n.onChange=n.onPause=n.onResume=void 0),AC(this,{type:"idle",parent:this});const r=t?IA(this.get()):PA(this.get(),QA(this,e??n.to));Bk(this._pendingCalls,r),n.changed&&(n.changed=!1,aS(this,"onRest",r,this))}}};function QA(e,t){const n=kA(t);return Fk(kA(e.get()),n)}function eS(e,t=e.loop,n=e.to){const r=pA(t);if(r){const i=!0!==r&&wA(r),o=(i||e).reverse,a=!i||i.reset;return tS({...e,loop:t,default:!1,pause:void 0,to:!o||AA(n)?n:void 0,from:a?e.from:void 0,reset:a,...i})}}function tS(e){const{to:t,from:n}=e=wA(e),r=new Set;return Dk.obj(t)&&rS(t,r),Dk.obj(n)&&rS(n,r),e.keys=r.size?Array.from(r):null,e}function nS(e){const t=tS(e);return Dk.und(t.default)&&(t.default=yA(t)),t}function rS(e,t){zk(e,((e,n)=>null!=e&&t.add(n)))}var iS=["onStart","onRest","onChange","onPause","onResume"];function oS(e,t,n){e.animation[n]=t[n]!==vA(t,n)?mA(t[n],e.key):void 0}function aS(e,t,...n){e.animation[t]?.(...n),e.defaultProps[t]?.(...n)}var sS=["onStart","onChange","onRest"],lS=1,cS=class{constructor(e,t){this.id=lS++,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];Dk.und(n)||this.springs[t].set(n)}}update(e){return e&&this.queue.push(tS(e)),this}start(e){let{queue:t}=this;return e?t=Rk(e).map(tS):this.queue=[],this._flush?this._flush(this,t):(mS(this,t),uS(this,t))}stop(e,t){if(e!==!!e&&(t=e),t){const n=this.springs;Ok(Rk(t),(t=>n[t].stop(!!e)))}else jA(this._state,this._lastAsyncId),this.each((t=>t.stop(!!e)));return this}pause(e){if(Dk.und(e))this.start({pause:!0});else{const t=this.springs;Ok(Rk(e),(e=>t[e].pause()))}return this}resume(e){if(Dk.und(e))this.start({pause:!1});else{const t=this.springs;Ok(Rk(e),(e=>t[e].resume()))}return this}each(e){zk(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,Nk(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&&Nk(t,(([e,t])=>{t.value=a,e(t,this,this._item)})),o&&(this._started=!1,Nk(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)}dk.onFrame(this._onFrame)}};function uS(e,t){return Promise.all(t.map((t=>dS(e,t)))).then((t=>RA(e,t)))}async function dS(e,t,n){const{keys:r,to:i,from:o,loop:a,onRest:s,onResolve:l}=t,c=Dk.obj(t.default)&&t.default;a&&(t.loop=!1),!1===i&&(t.to=null),!1===o&&(t.from=null);const u=Dk.arr(i)||Dk.fun(i)?i:void 0;u?(t.to=void 0,t.onRest=void 0,c&&(c.onRest=void 0)):Ok(sS,(n=>{const r=t[n];if(Dk.fun(r)){const i=e._events[n];t[n]=({finished:e,cancelled:t})=>{const n=i.get(r);n?(e||(n.finished=!1),t&&(n.cancelled=!0)):i.set(r,{value:null,finished:e||!1,cancelled:t||!1})},c&&(c[n]=t[n])}}));const d=e._state;t.pause===!d.paused?(d.paused=t.pause,Bk(t.pause?d.pauseQueue:d.resumeQueue)):d.paused&&(t.pause=!0);const f=(r||Object.keys(e.springs)).map((n=>e.springs[n].start(t))),h=!0===t.cancel||!0===vA(t,"cancel");(u||h&&d.asyncId)&&f.push(zA(++e._lastAsyncId,{props:t,state:d,actions:{pause:Tk,resume:Tk,start(t,n){h?(jA(d,e._lastAsyncId),n(IA(e))):(t.onRest=s,n(BA(u,t,d,e)))}}})),d.paused&&await new Promise((e=>{d.resumeQueue.add(e)}));const p=RA(e,await Promise.all(f));if(a&&p.finished&&(!n||!p.noop)){const n=eS(t,a,i);if(n)return mS(e,[n]),dS(e,n,!0)}return l&&dk.batchedUpdates((()=>l(p,e,e.item))),p}function fS(e,t){const n={...e.springs};return t&&Ok(Rk(t),(e=>{Dk.und(e.keys)&&(e=tS(e)),Dk.obj(e.to)||(e={...e,to:void 0}),gS(n,e,(e=>pS(e)))})),hS(e,n),n}function hS(e,t){zk(t,((t,n)=>{e.springs[n]||(e.springs[n]=t,EC(t,e))}))}function pS(e,t){const n=new JA;return n.key=e,t&&EC(n,t),n}function gS(e,t,n){t.keys&&Ok(t.keys,(r=>{(e[r]||(e[r]=n(r)))._prepareNode(t)}))}function mS(e,t){Ok(t,(t=>{gS(e.springs,t,(t=>pS(t,e)))}))}var vS=_.createContext({pause:!1,immediate:!1}),bS=()=>{const e=[],t=function(t){$C(`${WC}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 Ok(e,((e,i)=>{if(Dk.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 Ok(e,(e=>e.pause(...arguments))),this},t.resume=function(){return Ok(e,(e=>e.resume(...arguments))),this},t.set=function(t){Ok(e,((e,n)=>{const r=Dk.fun(t)?t(n,e):t;r&&e.set(r)}))},t.start=function(t){const n=[];return Ok(e,((e,r)=>{if(Dk.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 Ok(e,(e=>e.stop(...arguments))),this},t.update=function(t){return Ok(e,((e,n)=>e.update(this._getProps(t,e,n)))),this};const n=function(e,t,n){return Dk.fun(e)?e(n,t):e};return t._getProps=n,t};function yS(e,t){const n=Dk.fun(e),[[r],i]=function(e,t,n){const r=Dk.fun(t)&&t;r&&!n&&(n=[]);const i=M((()=>r||3==arguments.length?bS():void 0),[]),o=C(0),a=GC(),s=M((()=>({ctrls:[],queue:[],flush(e,t){const n=fS(e,t);return o.current>0&&!s.queue.length&&!Object.keys(n).some((t=>!e.springs[t]))?uS(e,t):new Promise((r=>{hS(e,n),s.queue.push((()=>{r(uS(e,t))})),a()}))}})),[]),l=C([...s.ctrls]),c=C([]),u=XC(e)||0;function d(e,n){for(let i=e;i<n;i++){const e=l.current[i]||(l.current[i]=new cS(null,s.flush)),n=r?r(i,e):t[i];n&&(c.current[i]=nS(n))}}M((()=>{Ok(l.current.slice(e,u),(e=>{SA(e,i),e.stop(!0)})),l.current.length=e,d(u,e)}),[e]),M((()=>{d(0,Math.min(u,e))}),n);const f=l.current.map(((e,t)=>fS(e,c.current[t]))),h=E(vS),p=XC(h),g=h!==p&&CA(h);VC((()=>{o.current++,s.ctrls=l.current;const{queue:e}=s;e.length&&(s.queue=[],Ok(e,(e=>e()))),Ok(l.current,((e,t)=>{i?.add(e),g&&e.start({default:h});const n=c.current[t];n&&(MA(e,n.ref),e.ref?e.queue.push(n):e.start(n))}))})),YC((()=>()=>{Ok(s.ctrls,(e=>e.stop(!0)))}));const m=f.map((e=>({...e})));return i?[m,i]:m}(1,n?e:[e],n?[]:t);return n||2==arguments.length?[r,i]:r}function _S(e,t,n){const r=Dk.fun(t)&&t,{reset:i,sort:o,trail:a=0,expires:s=!0,exitBeforeEnter:l=!1,onDestroyed:c,ref:u,config:d}=r?r():t,f=M((()=>r||3==arguments.length?bS():void 0),[]),h=Rk(e),p=[],g=C(null),m=i?null:g.current;VC((()=>{g.current=p})),YC((()=>(Ok(p,(e=>{f?.add(e.ctrl),e.ctrl.ref=f})),()=>{Ok(g.current,(e=>{e.expired&&clearTimeout(e.expirationId),SA(e.ctrl,f),e.ctrl.stop(!0)}))})));const v=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):xS++}))}return Dk.und(n)?e:Dk.fun(n)?e.map(n):Rk(n)}(h,r?r():t,m),b=i&&g.current||[];VC((()=>Ok(b,(({ctrl:e,item:t,key:n})=>{SA(e,f),pA(c,t,n)}))));const y=[];if(m&&Ok(m,((e,t)=>{e.expired?(clearTimeout(e.expirationId),b.push(e)):~(t=y[t]=v.indexOf(e.key))&&(p[t]=e)})),Ok(h,((e,t)=>{p[t]||(p[t]={key:v[t],item:e,phase:"mount",ctrl:new cS},p[t].ctrl.item=e)})),y.length){let e=-1;const{leave:n}=r?r():t;Ok(y,((t,r)=>{const i=m[r];~t?(e=p.indexOf(i),p[e]={...i,item:h[t]}):n&&p.splice(++e,0,i)}))}Dk.fun(o)&&p.sort(((e,t)=>o(e.item,t.item)));let x=-a;const w=GC(),k=yA(t),A=new Map,S=C(new Map),L=C(!1);Ok(p,((e,n)=>{const i=e.key,o=e.phase,c=r?r():t;let f,h;const p=pA(c.delay||0,i);if("mount"==o)f=c.enter,h="enter";else{const e=v.indexOf(i)<0;if("leave"!=o)if(e)f=c.leave,h="leave";else{if(!(f=c.update))return;h="update"}else{if(e)return;f=c.enter,h="enter"}}if(f=pA(f,e.item,n),f=Dk.obj(f)?wA(f):{to:f},!f.config){const t=d||k.config;f.config=pA(t,e.item,n,h)}x+=a;const b={...k,delay:p+x,ref:u,immediate:c.immediate,reset:!1,...f};if("enter"==h&&Dk.und(b.from)){const i=r?r():t,o=Dk.und(i.initial)||m?i.from:i.initial;b.from=pA(o,e.item,n)}const{onResolve:y}=b;b.onResolve=e=>{pA(y,e);const t=g.current,n=t.find((e=>e.key===i));if(n&&(!e.cancelled||"update"==n.phase)&&n.ctrl.idle){const e=t.every((e=>e.ctrl.idle));if("leave"==n.phase){const t=pA(s,n.item);if(!1!==t){const r=!0===t?0:t;if(n.expired=!0,!e&&r>0)return void(r<=2147483647&&(n.expirationId=setTimeout(w,r)))}}e&&t.some((e=>e.expired))&&(S.current.delete(n),l&&(L.current=!0),w())}};const _=fS(e.ctrl,b);"leave"===h&&l?S.current.set(e,{phase:h,springs:_,payload:b}):A.set(e,{phase:h,springs:_,payload:b})}));const T=E(vS),D=XC(T),F=T!==D&&CA(T);VC((()=>{F&&Ok(p,(e=>{e.ctrl.start({default:T})}))}),[T]),Ok(A,((e,t)=>{if(S.current.size){const e=p.findIndex((e=>e.key===t.key));p.splice(e,1)}})),VC((()=>{Ok(S.current.size?S.current:A,(({phase:e,payload:t},n)=>{const{ctrl:r}=n;n.phase=e,f?.add(r),F&&"enter"==e&&r.start({default:T}),t&&(MA(r,t.ref),!r.ref&&!f||L.current?(r.start(t),L.current&&(L.current=!1)):r.update(t))}))}),i?void 0:n);const O=e=>_.createElement(_.Fragment,null,p.map(((t,n)=>{const{springs:r}=A.get(t)||t.ctrl,i=e({...r},t.item,t,n),o=Dk.str(t.key)||Dk.num(t.key)?t.key:t.ctrl.id,a=_.version<"19.0.0",s=i?.props??{},l=a?i?.ref:s?.ref;return i&&i.type?_.createElement(i.type,{...s,key:o,ref:l}):i})));return f?[O,f]:O}var xS=1;var wS=class extends UA{constructor(e,t){super(),this.source=e,this.idle=!0,this._active=new Set,this.calc=yC(...t);const n=this._get(),r=lA(n);QC(this,r.create(n))}advance(e){const t=this._get();Fk(t,this.get())||(JC(this).setValue(t),this._onChange(t,this.idle)),!this.idle&&CS(this._active)&&AS(this)}_get(){const e=Dk.arr(this.source)?this.source.map(kC):Rk(kC(this.source));return this.calc(...e)}_start(){this.idle&&!CS(this._active)&&(this.idle=!1,Ok(eA(this),(e=>{e.done=!1})),Lk.skipAnimation?(dk.batchedUpdates((()=>this.advance())),AS(this)):Zk.start(this))}_attach(){let e=1;Ok(Rk(this.source),(t=>{wC(t)&&EC(t,this),qA(t)&&(t.idle||this._active.add(t),e=Math.max(e,t.priority+1))})),this.priority=e,this._start()}_detach(){Ok(Rk(this.source),(e=>{wC(e)&&LC(e,this)})),this._active.clear(),AS(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=Rk(this.source).reduce(((e,t)=>Math.max(e,(qA(t)?t.priority:0)+1)),0))}};function kS(e){return!1!==e.idle}function CS(e){return!e.size||Array.from(e).every(kS)}function AS(e){e.idle||(e.idle=!0,Ok(eA(e),(e=>{e.done=!0})),AC(e,{type:"idle",parent:e}))}var SS=(e,...t)=>new wS(e,t);Lk.assign({createStringInterpolator:jC,to:(e,t)=>new wS(e,t)});var MS=/^--/;function ES(e,t){return null==t||"boolean"==typeof t||""===t?"":"number"!=typeof t||0===t||MS.test(e)||TS.hasOwnProperty(e)&&TS[e]?(""+t).trim():t+"px"}var LS={};var TS={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},DS=["Webkit","Ms","Moz","O"];TS=Object.keys(TS).reduce(((e,t)=>(DS.forEach((n=>e[((e,t)=>e+t.charAt(0).toUpperCase()+t.substring(1))(n,t)]=e[t])),e)),TS);var FS=/^(matrix|translate|scale|rotate|skew)/,OS=/^(translate)/,zS=/^(rotate|skew)/,RS=(e,t)=>Dk.num(e)&&0!==e?e+t:e,NS=(e,t)=>Dk.arr(e)?e.every((e=>NS(e,t))):Dk.num(e)?e===t:parseFloat(e)===t,PS=class extends oA{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=>RS(e,"px"))).join(",")})`,NS(e,0)]))),zk(r,((e,t)=>{if("transform"===t)i.push([e||""]),o.push((e=>[e,""===e]));else if(FS.test(t)){if(delete r[t],Dk.und(e))return;const n=OS.test(t)?"px":zS.test(t)?"deg":"";i.push(Rk(e)),o.push("rotate3d"===t?([e,t,r,i])=>[`rotate3d(${e},${t},${r},${RS(i,n)})`,NS(i,0)]:e=>[`${t}(${e.map((e=>RS(e,n))).join(",")})`,NS(e,t.startsWith("scale")?1:0)])}})),i.length&&(r.transform=new IS(i,o)),super(r)}},IS=class extends SC{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 Ok(this.inputs,((n,r)=>{const i=kC(n[0]),[o,a]=this.transforms[r](Dk.arr(i)?i:n.map(kC));e+=" "+o,t=t&&a})),t?"none":e}observerAdded(e){1==e&&Ok(this.inputs,(e=>Ok(e,(e=>wC(e)&&EC(e,this)))))}observerRemoved(e){0==e&&Ok(this.inputs,(e=>Ok(e,(e=>wC(e)&&LC(e,this)))))}eventObserved(e){"change"==e.type&&(this._value=null),AC(this,e)}};Lk.assign({batchedUpdates:N,createStringInterpolator:jC,colors:eC});var BS,jS,WS,HS,qS,$S,US,VS,GS,YS,ZS,XS,KS,JS,QS,eM,tM,nM,rM,iM,oM,aM,sM,lM,cM,uM,dM,fM,hM,pM,gM,mM,vM,bM,yM,_M,xM,wM,kM,CM,AM,SM,MM,EM,LM,TM,DM,FM,OM,zM,RM,NM,PM,IM,BM,jM,WM,HM,qM,$M,UM,VM,GM,YM,ZM,XM,KM,JM,QM,eE,tE,nE,rE,iE,oE,aE,sE,lE,cE,uE,dE,fE,hE,pE,gE,mE,vE,bE,yE,_E,xE,wE,kE,CE,AE,SE,ME,EE,LE=fA(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],{applyAnimatedValues:function(e,t){if(!e.nodeType||!e.setAttribute)return!1;const n="filter"===e.nodeName||e.parentNode&&"filter"===e.parentNode.nodeName,{className:r,style:i,children:o,scrollTop:a,scrollLeft:s,viewBox:l,...c}=t,u=Object.values(c),d=Object.keys(c).map((t=>n||e.hasAttribute(t)?t:LS[t]||(LS[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=ES(t,i[t]);MS.test(t)?e.style.setProperty(t,n):e.style[t]=n}d.forEach(((t,n)=>{e.setAttribute(t,u[n])})),void 0!==r&&(e.className=r),void 0!==a&&(e.scrollTop=a),void 0!==s&&(e.scrollLeft=s),void 0!==l&&e.setAttribute("viewBox",l)},createAnimatedStyle:e=>new PS(e),getComponentProps:({scrollTop:e,scrollLeft:t,...n})=>n}),TE=LE.animated;function DE(){if(HS)return WS;return HS=1,WS=function(e,t){return e===t||e!=e&&t!=t}}function FE(){if($S)return qS;$S=1;var e=DE();return qS=function(t,n){for(var r=t.length;r--;)if(e(t[r][0],n))return r;return-1},qS}function OE(){if(eM)return QS;eM=1;var e=jS?BS:(jS=1,BS=function(){this.__data__=[],this.size=0}),t=function(){if(VS)return US;VS=1;var e=FE(),t=Array.prototype.splice;return US=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))},US}(),n=function(){if(YS)return GS;YS=1;var e=FE();return GS=function(t){var n=this.__data__,r=e(n,t);return r<0?void 0:n[r][1]},GS}(),r=function(){if(XS)return ZS;XS=1;var e=FE();return ZS=function(t){return e(this.__data__,t)>-1}}(),i=function(){if(JS)return KS;JS=1;var e=FE();return KS=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},KS}();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,QS=o}function zE(){if(uM)return cM;uM=1;var e="object"==typeof B&&B&&B.Object===Object&&B;return cM=e}function RE(){if(fM)return dM;fM=1;var e=zE(),t="object"==typeof self&&self&&self.Object===Object&&self,n=e||t||Function("return this")();return dM=n}function NE(){if(pM)return hM;pM=1;var e=RE().Symbol;return hM=e}function PE(){if(_M)return yM;_M=1;var e=NE(),t=function(){if(mM)return gM;mM=1;var e=NE(),t=Object.prototype,n=t.hasOwnProperty,r=t.toString,i=e?e.toStringTag:void 0;return gM=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(bM)return vM;bM=1;var e=Object.prototype.toString;return vM=function(t){return e.call(t)}}(),r=e?e.toStringTag:void 0;return yM=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":r&&r in Object(e)?t(e):n(e)}}function IE(){if(wM)return xM;return wM=1,xM=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)},xM}function BE(){if(CM)return kM;CM=1;var e=PE(),t=IE();return kM=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 jE(){if(EM)return MM;EM=1;var e,t=function(){if(SM)return AM;SM=1;var e=RE()["__core-js_shared__"];return AM=e}(),n=(e=/[^.]+$/.exec(t&&t.keys&&t.keys.IE_PROTO||""))?"Symbol(src)_1."+e:"";return MM=function(e){return!!n&&n in e}}function WE(){if(TM)return LM;TM=1;var e=Function.prototype.toString;return LM=function(t){if(null!=t){try{return e.call(t)}catch(e){}try{return t+""}catch(e){}}return""}}function HE(){if(NM)return RM;NM=1;var e=function(){if(FM)return DM;FM=1;var e=BE(),t=jE(),n=IE(),r=WE(),i=/^\[object .+?Constructor\]$/,o=Function.prototype,a=Object.prototype,s=o.toString,l=a.hasOwnProperty,c=RegExp("^"+s.call(l).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");return DM=function(o){return!(!n(o)||t(o))&&(e(o)?c:i).test(r(o))}}(),t=(zM||(zM=1,OM=function(e,t){return null==e?void 0:e[t]}),OM);return RM=function(n,r){var i=t(n,r);return e(i)?i:void 0},RM}function qE(){if(IM)return PM;IM=1;var e=HE()(RE(),"Map");return PM=e}function $E(){if(jM)return BM;jM=1;var e=HE()(Object,"create");return BM=e}function UE(){if(JM)return KM;JM=1;var e=function(){if(HM)return WM;HM=1;var e=$E();return WM=function(){this.__data__=e?e(null):{},this.size=0}}(),t=$M?qM:($M=1,qM=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}),n=function(){if(VM)return UM;VM=1;var e=$E(),t=Object.prototype.hasOwnProperty;return UM=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(YM)return GM;YM=1;var e=$E(),t=Object.prototype.hasOwnProperty;return GM=function(n){var r=this.__data__;return e?void 0!==r[n]:t.call(r,n)}}(),i=function(){if(XM)return ZM;XM=1;var e=$E();return ZM=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,KM=o}function VE(){if(iE)return rE;iE=1;var e=(nE||(nE=1,tE=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}),tE);return rE=function(t,n){var r=t.__data__;return e(n)?r["string"==typeof n?"string":"hash"]:r.map},rE}function GE(){if(pE)return hE;pE=1;var e=function(){if(eE)return QM;eE=1;var e=UE(),t=OE(),n=qE();return QM=function(){this.size=0,this.__data__={hash:new e,map:new(n||t),string:new e}}}(),t=function(){if(aE)return oE;aE=1;var e=VE();return oE=function(t){var n=e(this,t).delete(t);return this.size-=n?1:0,n}}(),n=function(){if(lE)return sE;lE=1;var e=VE();return sE=function(t){return e(this,t).get(t)}}(),r=function(){if(uE)return cE;uE=1;var e=VE();return cE=function(t){return e(this,t).has(t)}}(),i=function(){if(fE)return dE;fE=1;var e=VE();return dE=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,hE=o}function YE(){if(bE)return vE;bE=1;var e=OE(),t=function(){if(nM)return tM;nM=1;var e=OE();return tM=function(){this.__data__=new e,this.size=0}}(),n=iM?rM:(iM=1,rM=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}),r=aM?oM:(aM=1,oM=function(e){return this.__data__.get(e)}),i=lM?sM:(lM=1,sM=function(e){return this.__data__.has(e)}),o=function(){if(mE)return gE;mE=1;var e=OE(),t=qE(),n=GE();return gE=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,vE=a}function ZE(){if(_E)return yE;_E=1;var e=HE(),t=function(){try{var t=e(Object,"defineProperty");return t({},"",{}),t}catch(e){}}();return yE=t}function XE(){if(wE)return xE;wE=1;var e=ZE();return xE=function(t,n,r){"__proto__"==n&&e?e(t,n,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[n]=r},xE}function KE(){if(CE)return kE;CE=1;var e=XE(),t=DE();return kE=function(n,r,i){(void 0!==i&&!t(n[r],i)||void 0===i&&!(r in n))&&e(n,r,i)},kE}function JE(){if(EE)return ME;EE=1;var e=(SE||(SE=1,AE=function(e){return function(t,n,r){for(var i=-1,o=Object(t),a=r(t),s=a.length;s--;){var l=a[e?s:++i];if(!1===n(o[l],l,o))break}return t}}),AE),t=e();return ME=t}var QE,eL,tL,nL,rL,iL,oL,aL,sL,lL,cL,uL,dL,fL,hL,pL,gL,mL,vL,bL,yL,_L,xL,wL,kL,CL,AL,SL,ML,EL,LL,TL,DL,FL={exports:{}};function OL(){return QE||(QE=1,function(e,t){var n=RE(),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}}(FL,FL.exports)),FL.exports}function zL(){if(tL)return eL;tL=1;var e=RE().Uint8Array;return eL=e}function RL(){if(rL)return nL;rL=1;var e=zL();return nL=function(t){var n=new t.constructor(t.byteLength);return new e(n).set(new e(t)),n}}function NL(){if(oL)return iL;oL=1;var e=RL();return iL=function(t,n){var r=n?e(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.length)}}function PL(){if(sL)return aL;return sL=1,aL=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t},aL}function IL(){if(dL)return uL;return dL=1,uL=function(e,t){return function(n){return e(t(n))}}}function BL(){if(hL)return fL;hL=1;var e=IL()(Object.getPrototypeOf,Object);return fL=e}function jL(){if(gL)return pL;gL=1;var e=Object.prototype;return pL=function(t){var n=t&&t.constructor;return t===("function"==typeof n&&n.prototype||e)}}function WL(){if(vL)return mL;vL=1;var e=function(){if(cL)return lL;cL=1;var e=IE(),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 lL=n}(),t=BL(),n=jL();return mL=function(r){return"function"!=typeof r.constructor||n(r)?{}:e(t(r))},mL}function HL(){if(yL)return bL;return yL=1,bL=function(e){return null!=e&&"object"==typeof e}}function qL(){if(kL)return wL;kL=1;var e=function(){if(xL)return _L;xL=1;var e=PE(),t=HL();return _L=function(n){return t(n)&&"[object Arguments]"==e(n)}}(),t=HL(),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 wL=o}function $L(){if(AL)return CL;AL=1;var e=Array.isArray;return CL=e}function UL(){if(ML)return SL;ML=1;return SL=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}}function VL(){if(LL)return EL;LL=1;var e=BE(),t=UL();return EL=function(n){return null!=n&&t(n.length)&&!e(n)}}function GL(){if(DL)return TL;DL=1;var e=VL(),t=HL();return TL=function(n){return t(n)&&e(n)}}var YL,ZL,XL,KL,JL,QL,eT,tT,nT,rT={exports:{}};function iT(){return XL||(XL=1,function(e,t){var n=RE(),r=ZL?YL:(ZL=1,YL=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}(rT,rT.exports)),rT.exports}function oT(){if(JL)return KL;JL=1;var e=PE(),t=BL(),n=HL(),r=Function.prototype,i=Object.prototype,o=r.toString,a=i.hasOwnProperty,s=o.call(Object);return KL=function(r){if(!n(r)||"[object Object]"!=e(r))return!1;var i=t(r);if(null===i)return!0;var l=a.call(i,"constructor")&&i.constructor;return"function"==typeof l&&l instanceof l&&o.call(l)==s}}function aT(){if(nT)return tT;return nT=1,tT=function(e){return function(t){return e(t)}}}var sT,lT,cT,uT,dT,fT,hT,pT,gT,mT,vT,bT,yT,_T,xT,wT,kT,CT,AT,ST,MT,ET,LT,TT,DT,FT,OT,zT,RT,NT,PT,IT,BT,jT,WT,HT,qT,$T,UT,VT,GT,YT,ZT,XT,KT,JT,QT,eD,tD,nD={exports:{}};function rD(){return sT||(sT=1,function(e,t){var n=zE(),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}(nD,nD.exports)),nD.exports}function iD(){if(cT)return lT;cT=1;var e=function(){if(eT)return QL;eT=1;var e=PE(),t=UL(),n=HL(),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,QL=function(i){return n(i)&&t(i.length)&&!!r[e(i)]}}(),t=aT(),n=rD(),r=n&&n.isTypedArray,i=r?t(r):e;return lT=i}function oD(){if(dT)return uT;return dT=1,uT=function(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]},uT}function aD(){if(hT)return fT;hT=1;var e=XE(),t=DE(),n=Object.prototype.hasOwnProperty;return fT=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)},fT}function sD(){if(gT)return pT;gT=1;var e=aD(),t=XE();return pT=function(n,r,i,o){var a=!i;i||(i={});for(var s=-1,l=r.length;++s<l;){var c=r[s],u=o?o(i[c],n[c],c,i,n):void 0;void 0===u&&(u=n[c]),a?t(i,c,u):e(i,c,u)}return i},pT}function lD(){if(yT)return bT;yT=1;var e=/^(?:0|[1-9]\d*)$/;return bT=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},bT}function cD(){if(xT)return _T;xT=1;var e=(vT||(vT=1,mT=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}),mT),t=qL(),n=$L(),r=iT(),i=lD(),o=iD(),a=Object.prototype.hasOwnProperty;return _T=function(s,l){var c=n(s),u=!c&&t(s),d=!c&&!u&&r(s),f=!c&&!u&&!d&&o(s),h=c||u||d||f,p=h?e(s.length,String):[],g=p.length;for(var m in s)!l&&!a.call(s,m)||h&&("length"==m||d&&("offset"==m||"parent"==m)||f&&("buffer"==m||"byteLength"==m||"byteOffset"==m)||i(m,g))||p.push(m);return p}}function uD(){if(AT)return CT;AT=1;var e=IE(),t=jL(),n=(kT||(kT=1,wT=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}),wT),r=Object.prototype.hasOwnProperty;return CT=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},CT}function dD(){if(MT)return ST;MT=1;var e=cD(),t=uD(),n=VL();return ST=function(r){return n(r)?e(r,!0):t(r)},ST}function fD(){if(DT)return TT;DT=1;var e=KE(),t=OL(),n=NL(),r=PL(),i=WL(),o=qL(),a=$L(),s=GL(),l=iT(),c=BE(),u=IE(),d=oT(),f=iD(),h=oD(),p=function(){if(LT)return ET;LT=1;var e=sD(),t=dD();return ET=function(n){return e(n,t(n))}}();return TT=function(g,m,v,b,y,_,x){var w=h(g,v),k=h(m,v),C=x.get(k);if(C)e(g,v,C);else{var A=_?_(w,k,v+"",g,m,x):void 0,S=void 0===A;if(S){var M=a(k),E=!M&&l(k),L=!M&&!E&&f(k);A=k,M||E||L?a(w)?A=w:s(w)?A=r(w):E?(S=!1,A=t(k,!0)):L?(S=!1,A=n(k,!0)):A=[]:d(k)||o(k)?(A=w,o(w)?A=p(w):u(w)&&!c(w)||(A=i(k))):S=!1}S&&(x.set(k,A),y(A,k,b,_,x),x.delete(k)),e(g,v,A)}},TT}function hD(){if(RT)return zT;return RT=1,zT=function(e){return e}}function pD(){if(BT)return IT;BT=1;var e=PT?NT:(PT=1,NT=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 IT=function(n,r,i){return r=t(void 0===r?n.length-1:r,0),function(){for(var o=arguments,a=-1,s=t(o.length-r,0),l=Array(s);++a<s;)l[a]=o[r+a];a=-1;for(var c=Array(r+1);++a<r;)c[a]=o[a];return c[r]=i(l),e(n,this,c)}},IT}function gD(){if(qT)return HT;qT=1;var e=WT?jT:(WT=1,jT=function(e){return function(){return e}}),t=ZE(),n=hD();return HT=t?function(n,r){return t(n,"toString",{configurable:!0,enumerable:!1,value:e(r),writable:!0})}:n}function mD(){if(GT)return VT;GT=1;var e=gD(),t=function(){if(UT)return $T;UT=1;var e=Date.now;return $T=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)}},$T}(),n=t(e);return VT=n}function vD(){if(ZT)return YT;ZT=1;var e=hD(),t=pD(),n=mD();return YT=function(r,i){return n(t(r,i,e),r+"")},YT}function bD(){if(KT)return XT;KT=1;var e=DE(),t=VL(),n=lD(),r=IE();return XT=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)},XT}var yD,_D,xD,wD,kD,CD,AD,SD,MD,ED,LD,TD,DD,FD,OD,zD,RD,ND,PD,ID,BD,jD,WD,HD,qD=function(){if(tD)return eD;tD=1;var e=function(){if(OT)return FT;OT=1;var e=YE(),t=KE(),n=JE(),r=fD(),i=IE(),o=dD(),a=oD();return FT=function s(l,c,u,d,f){l!==c&&n(c,(function(n,o){if(f||(f=new e),i(n))r(l,c,o,u,s,d,f);else{var h=d?d(a(l,o),n,o+"",l,c,f):void 0;void 0===h&&(h=n),t(l,o,h)}}),o)},FT}(),t=function(){if(QT)return JT;QT=1;var e=vD(),t=bD();return JT=function(n){return e((function(e,r){var i=-1,o=r.length,a=o>1?r[o-1]:void 0,s=o>2?r[2]:void 0;for(a=n.length>3&&"function"==typeof a?(o--,a):void 0,s&&t(r[0],r[1],s)&&(a=o<3?void 0:a,o=1),e=Object(e);++i<o;){var l=r[i];l&&n(e,l,i,a)}return e}))},JT}(),n=t((function(t,n,r){e(t,n,r)}));return eD=n}(),$D=j(qD);function UD(){if(_D)return yD;_D=1;var e=PE(),t=HL();return yD=function(n){return"symbol"==typeof n||t(n)&&"[object Symbol]"==e(n)}}function VD(){if(wD)return xD;wD=1;var e=$L(),t=UD(),n=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,r=/^\w*$/;return xD=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))},xD}function GD(){if(SD)return AD;SD=1;var e=function(){if(CD)return kD;CD=1;var e=GE();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,kD=t}();return AD=function(t){var n=e(t,(function(e){return 500===r.size&&r.clear(),e})),r=n.cache;return n}}function YD(){if(TD)return LD;return TD=1,LD=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},LD}function ZD(){if(zD)return OD;zD=1;var e=function(){if(FD)return DD;FD=1;var e=NE(),t=YD(),n=$L(),r=UD(),i=e?e.prototype:void 0,o=i?i.toString:void 0;return DD=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},DD}();return OD=function(t){return null==t?"":e(t)}}function XD(){if(ND)return RD;ND=1;var e=$L(),t=VD(),n=function(){if(ED)return MD;ED=1;var e=GD(),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 MD=r}(),r=ZD();return RD=function(i,o){return e(i)?i:t(i,o)?[i]:n(r(i))},RD}function KD(){if(ID)return PD;ID=1;var e=UD();return PD=function(t){if("string"==typeof t||e(t))return t;var n=t+"";return"0"==n&&1/t==-1/0?"-0":n}}function JD(){if(jD)return BD;jD=1;var e=XD(),t=KD();return BD=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},BD}function QD(){if(HD)return WD;HD=1;var e=JD();return WD=function(t,n,r){var i=null==t?void 0:e(t,n);return void 0===i?r:i},WD}var eF,tF,nF,rF,iF=j(QD());function oF(){if(tF)return eF;tF=1;var e=aD(),t=XD(),n=lD(),r=IE(),i=KD();return eF=function(o,a,s,l){if(!r(o))return o;for(var c=-1,u=(a=t(a,o)).length,d=u-1,f=o;null!=f&&++c<u;){var h=i(a[c]),p=s;if("__proto__"===h||"constructor"===h||"prototype"===h)return o;if(c!=d){var g=f[h];void 0===(p=l?l(g,h,f):void 0)&&(p=r(g)?g:n(a[c+1])?[]:{})}e(f,h,p),f=f[h]}return o},eF}var aF=function(){if(rF)return nF;rF=1;var e=oF();return nF=function(t,n,r){return null==t?t:e(t,n,r)},nF}(),sF=j(aF);function lF(){return lF=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},lF.apply(null,arguments)}var cF=["outlineWidth","outlineColor","outlineOpacity"],uF=function(e){return e.outlineWidth,e.outlineColor,e.outlineOpacity,function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,cF)},dF=["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"],fF=function(e,t){var n=$D({},e,t);return dF.forEach((function(e){sF(n,e,function(e,t){return lF({},t,e)}(iF(n,e),n.text))})),n},hF=function(e,t){return t?$D({},e,t):e},pF={background:"transparent",text:{fontFamily:"sans-serif",fontSize:11,fill:"#333333",outlineWidth:0,outlineColor:"#ffffff",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}}},gF=L(null),mF={},vF=function(e){var t=e.theme,n=void 0===t?mF:t,r=e.children,i=function(e){return M((function(){return fF(pF,e)}),[e])}(n);return An(gF.Provider,{value:i,children:r})},bF=function(){var e=E(gF);if(null===e)throw new Error("Unable to find the theme, did you forget to wrap your component with ThemeProvider?");return e};function yF(){return yF=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},yF.apply(null,arguments)}var _F=["basic","chip","container","table","tableCell","tableCellValue"],xF={pointerEvents:"none",position:"absolute",zIndex:10,top:0,left:0},wF=function(e,t){return"translate("+e+"px, "+t+"px)"},kF=T((function(e){var t,n=e.position,r=e.anchor,i=e.children,o=bF(),a=XI(),s=a.animate,l=a.config,c=UB(),u=c[0],d=c[1],f=C(!1),h=void 0,p=!1,g=d.width>0&&d.height>0,m=Math.round(n[0]),v=Math.round(n[1]);g&&("top"===r?(m-=d.width/2,v-=d.height+14):"right"===r?(m+=14,v-=d.height/2):"bottom"===r?(m-=d.width/2,v+=14):"left"===r?(m-=d.width+14,v-=d.height/2):"center"===r&&(m-=d.width/2,v-=d.height/2),h={transform:wF(m,v)},f.current||(p=!0),f.current=[m,v]);var b=yS({to:h,config:l,immediate:!s||p}),y=o.tooltip;y.basic,y.chip,y.container,y.table,y.tableCell,y.tableCellValue;var _=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(y,_F),x=yF({},xF,_,{transform:null!=(t=b.transform)?t:wF(m,v),opacity:b.transform?1:0});return An(TE.div,{ref:u,style:x,children:i})}));kF.displayName="TooltipWrapper";var CF=T((function(e){var t=e.size,n=void 0===t?12:t,r=e.color,i=e.style;return An("span",{style:yF({display:"block",width:n,height:n,background:r},void 0===i?{}:i)})})),AF=T((function(e){var t,n=e.id,r=e.value,i=e.format,o=e.enableChip,a=void 0!==o&&o,s=e.color,l=e.renderContent,c=bF(),u=GB(i);if("function"==typeof l)t=l();else{var d=r;void 0!==u&&void 0!==d&&(d=u(d)),t=An("div",{style:c.tooltip.basic,children:[a&&An(CF,{color:s,style:c.tooltip.chip}),void 0!==d?An("span",{children:[n,": ",An("strong",{children:""+d})]}):n]})}return An("div",{style:c.tooltip.container,role:"tooltip",children:t})})),SF={width:"100%",borderCollapse:"collapse"},MF=T((function(e){var t,n=e.title,r=e.rows,i=void 0===r?[]:r,o=e.renderContent,a=bF();return i.length?(t="function"==typeof o?o():An("div",{children:[n&&n,An("table",{style:yF({},SF,a.tooltip.table),children:An("tbody",{children:i.map((function(e,t){return An("tr",{children:e.map((function(e,t){return An("td",{style:a.tooltip.tableCell,children:e},t)}))},t)}))})})]}),An("div",{style:a.tooltip.container,children:t})):null}));MF.displayName="TableTooltip";var EF=T((function(e){var t=e.x0,n=e.x1,r=e.y0,i=e.y1,o=bF(),a=XI(),s=a.animate,l=a.config,c=M((function(){return yF({},o.crosshair.line,{pointerEvents:"none"})}),[o.crosshair.line]),u=yS({x1:t,x2:n,y1:r,y2:i,config:l,immediate:!s});return An(TE.line,yF({},u,{fill:"none",style:c}))}));EF.displayName="CrosshairLine";var LF=T((function(e){var t,n,i=e.width,o=e.height,a=e.type,s=e.x,l=e.y;return"cross"===a?(t={x0:s,x1:s,y0:0,y1:o},n={x0:0,x1:i,y0:l,y1:l}):"top-left"===a?(t={x0:s,x1:s,y0:0,y1:l},n={x0:0,x1:s,y0:l,y1:l}):"top"===a?t={x0:s,x1:s,y0:0,y1:l}:"top-right"===a?(t={x0:s,x1:s,y0:0,y1:l},n={x0:s,x1:i,y0:l,y1:l}):"right"===a?n={x0:s,x1:i,y0:l,y1:l}:"bottom-right"===a?(t={x0:s,x1:s,y0:l,y1:o},n={x0:s,x1:i,y0:l,y1:l}):"bottom"===a?t={x0:s,x1:s,y0:l,y1:o}:"bottom-left"===a?(t={x0:s,x1:s,y0:l,y1:o},n={x0:0,x1:s,y0:l,y1:l}):"left"===a?n={x0:0,x1:s,y0:l,y1:l}:"x"===a?t={x0:s,x1:s,y0:0,y1:o}:"y"===a&&(n={x0:0,x1:i,y0:l,y1:l}),An(r,{children:[t&&An(EF,{x0:t.x0,x1:t.x1,y0:t.y0,y1:t.y1}),n&&An(EF,{x0:n.x0,x1:n.x1,y0:n.y0,y1:n.y1})]})}));LF.displayName="Crosshair";var TF,DF,FF=L({showTooltipAt:function(){},showTooltipFromEvent:function(){},hideTooltip:function(){}}),OF={isVisible:!1,position:[null,null],content:null,anchor:null},zF=L(OF),RF=function(){var e=E(FF);if(void 0===e)throw new Error("useTooltip must be used within a TooltipProvider");return e},NF=function(){var e=function(){var e=E(zF);if(void 0===e)throw new Error("useTooltipState must be used within a TooltipProvider");return e}();return function(e){return e.isVisible}(e)?An(kF,{position:e.position,anchor:e.anchor,children:e.content}):null},PF=function(e){var t=e.container,n=e.children,r=function(e){var t=x(OF),n=t[0],r=t[1],i=S((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=S((function(t,n,i){void 0===i&&(i="top");var o=e.current.getBoundingClientRect(),a=e.current.offsetWidth,s=a===o.width?1:a/o.width,l="touches"in n?n.touches[0]:n,c=l.clientX,u=l.clientY,d=(c-o.left)*s,f=(u-o.top)*s;"left"!==i&&"right"!==i||(i=d<o.width/2?"right":"left"),r({isVisible:!0,position:[d,f],anchor:i,content:t})}),[e,r]),a=S((function(){r(OF)}),[r]);return{actions:M((function(){return{showTooltipAt:i,showTooltipFromEvent:o,hideTooltip:a}}),[i,o,a]),state:n}}(t),i=r.actions,o=r.state;return An(FF.Provider,{value:i,children:An(zF.Provider,{value:o,children:n})})};var IF=j(function(){if(DF)return TF;DF=1;var e=PE(),t=$L(),n=HL();return TF=function(r){return"string"==typeof r||!t(r)&&n(r)&&"[object String]"==e(r)}}());let BF;BF="undefined"!=typeof window?window:"undefined"!=typeof self?self:global;let jF=null,WF=null;const HF=BF.clearTimeout,qF=BF.setTimeout,$F=BF.cancelAnimationFrame||BF.mozCancelAnimationFrame||BF.webkitCancelAnimationFrame,UF=BF.requestAnimationFrame||BF.mozRequestAnimationFrame||BF.webkitRequestAnimationFrame;function VF(e){let t,n,r,i,o,a,s;const l="undefined"!=typeof document&&document.attachEvent;if(!l){a=function(e){const t=e.__resizeTriggers__,n=t.firstElementChild,r=t.lastElementChild,i=n.firstElementChild;r.scrollLeft=r.scrollWidth,r.scrollTop=r.scrollHeight,i.style.width=n.offsetWidth+1+"px",i.style.height=n.offsetHeight+1+"px",n.scrollLeft=n.scrollWidth,n.scrollTop=n.scrollHeight},o=function(e){return e.offsetWidth!==e.__resizeLast__.width||e.offsetHeight!==e.__resizeLast__.height},s=function(e){if(e.target.className&&"function"==typeof e.target.className.indexOf&&e.target.className.indexOf("contract-trigger")<0&&e.target.className.indexOf("expand-trigger")<0)return;const t=this;a(this),this.__resizeRAF__&&jF(this.__resizeRAF__),this.__resizeRAF__=WF((function(){o(t)&&(t.__resizeLast__.width=t.offsetWidth,t.__resizeLast__.height=t.offsetHeight,t.__resizeListeners__.forEach((function(n){n.call(t,e)})))}))};let e=!1,l="";r="animationstart";const c="Webkit Moz O ms".split(" ");let u="webkitAnimationStart animationstart oAnimationStart MSAnimationStart".split(" "),d="";{const t=document.createElement("fakeelement");if(void 0!==t.style.animationName&&(e=!0),!1===e)for(let n=0;n<c.length;n++)if(void 0!==t.style[c[n]+"AnimationName"]){d=c[n],l="-"+d.toLowerCase()+"-",r=u[n],e=!0;break}}n="resizeanim",t="@"+l+"keyframes "+n+" { from { opacity: 0; } to { opacity: 0; } } ",i=l+"animation: 1ms "+n+"; "}return{addResizeListener:function(o,c){if(l)o.attachEvent("onresize",c);else{if(!o.__resizeTriggers__){const l=o.ownerDocument,c=BF.getComputedStyle(o);c&&"static"===c.position&&(o.style.position="relative"),function(n){if(!n.getElementById("detectElementResize")){const r=(t||"")+".resize-triggers { "+(i||"")+'visibility: hidden; opacity: 0; } .resize-triggers, .resize-triggers > div, .contract-trigger:before { content: " "; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; z-index: -1; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }',o=n.head||n.getElementsByTagName("head")[0],a=n.createElement("style");a.id="detectElementResize",a.type="text/css",null!=e&&a.setAttribute("nonce",e),a.styleSheet?a.styleSheet.cssText=r:a.appendChild(n.createTextNode(r)),o.appendChild(a)}}(l),o.__resizeLast__={},o.__resizeListeners__=[],(o.__resizeTriggers__=l.createElement("div")).className="resize-triggers";const u=l.createElement("div");u.className="expand-trigger",u.appendChild(l.createElement("div"));const d=l.createElement("div");d.className="contract-trigger",o.__resizeTriggers__.appendChild(u),o.__resizeTriggers__.appendChild(d),o.appendChild(o.__resizeTriggers__),a(o),o.addEventListener("scroll",s,!0),r&&(o.__resizeTriggers__.__animationListener__=function(e){e.animationName===n&&a(o)},o.__resizeTriggers__.addEventListener(r,o.__resizeTriggers__.__animationListener__))}o.__resizeListeners__.push(c)}},removeResizeListener:function(e,t){if(l)e.detachEvent("onresize",t);else if(e.__resizeListeners__.splice(e.__resizeListeners__.indexOf(t),1),!e.__resizeListeners__.length){e.removeEventListener("scroll",s,!0),e.__resizeTriggers__.__animationListener__&&(e.__resizeTriggers__.removeEventListener(r,e.__resizeTriggers__.__animationListener__),e.__resizeTriggers__.__animationListener__=null);try{e.__resizeTriggers__=!e.removeChild(e.__resizeTriggers__)}catch(e){}}}}}null==$F||null==UF?(jF=HF,WF=function(e){return qF(e,20)}):(jF=function([e,t]){$F(e),HF(t)},WF=function(e){const t=UF((function(){HF(n),e()})),n=qF((function(){$F(t),e()}),20);return[t,n]});class GF extends D{constructor(...e){super(...e),this.state={height:this.props.defaultHeight||0,width:this.props.defaultWidth||0},this._autoSizer=null,this._detectElementResize=null,this._didLogDeprecationWarning=!1,this._parentNode=null,this._resizeObserver=null,this._timeoutId=null,this._onResize=()=>{this._timeoutId=null;const{disableHeight:e,disableWidth:t,onResize:n}=this.props;if(this._parentNode){const r=window.getComputedStyle(this._parentNode)||{},i=parseFloat(r.paddingLeft||"0"),o=parseFloat(r.paddingRight||"0"),a=parseFloat(r.paddingTop||"0"),s=parseFloat(r.paddingBottom||"0"),l=this._parentNode.getBoundingClientRect(),c=l.height-a-s,u=l.width-i-o;if(!e&&this.state.height!==c||!t&&this.state.width!==u){this.setState({height:c,width:u});const e=()=>{this._didLogDeprecationWarning||(this._didLogDeprecationWarning=!0,console.warn("scaledWidth and scaledHeight parameters have been deprecated; use width and height instead"))};"function"==typeof n&&n({height:c,width:u,get scaledHeight(){return e(),c},get scaledWidth(){return e(),u}})}}},this._setRef=e=>{this._autoSizer=e}}componentDidMount(){const{nonce:e}=this.props,t=this._autoSizer?this._autoSizer.parentNode:null;if(null!=t&&t.ownerDocument&&t.ownerDocument.defaultView&&t instanceof t.ownerDocument.defaultView.HTMLElement){this._parentNode=t;const n=t.ownerDocument.defaultView.ResizeObserver;null!=n?(this._resizeObserver=new n((()=>{this._timeoutId=setTimeout(this._onResize,0)})),this._resizeObserver.observe(t)):(this._detectElementResize=VF(e),this._detectElementResize.addResizeListener(t,this._onResize)),this._onResize()}}componentWillUnmount(){this._parentNode&&(this._detectElementResize&&this._detectElementResize.removeResizeListener(this._parentNode,this._onResize),null!==this._timeoutId&&clearTimeout(this._timeoutId),this._resizeObserver&&this._resizeObserver.disconnect())}render(){const{children:e,defaultHeight:t,defaultWidth:n,disableHeight:r=!1,disableWidth:i=!1,doNotBailOutOnEmptyChildren:o=!1,nonce:a,onResize:s,style:l={},tagName:c="div",...u}=this.props,{height:d,width:f}=this.state,h={overflow:"visible"},p={};let g=!1;return r||(0===d&&(g=!0),h.height=0,p.height=d,p.scaledHeight=d),i||(0===f&&(g=!0),h.width=0,p.width=f,p.scaledWidth=f),o&&(g=!1),F(c,{ref:this._setRef,style:{...h,...l},...u},!g&&e(p))}}function YF(e,t){return e===t}function ZF(e,t,n){var r=n&&n.equalityFn||YF,i=C(e),o=x({})[1],a=function(e,t,n,r){var i=this,o=C(null),a=C(0),s=C(0),l=C(null),c=C([]),u=C(),d=C(),f=C(e),h=C(!0);f.current=e;var p="undefined"!=typeof window,g=!t&&0!==t&&p;if("function"!=typeof e)throw new TypeError("Expected a function");t=+t||0;var m=!!(n=n||{}).leading,v=!("trailing"in n)||!!n.trailing,b="maxWait"in n,y="debounceOnServer"in n&&!!n.debounceOnServer,_=b?Math.max(+n.maxWait||0,t):null;w((function(){return h.current=!0,function(){h.current=!1}}),[]);var x=M((function(){var e=function(e){var t=c.current,n=u.current;return c.current=u.current=null,a.current=e,s.current=s.current||e,d.current=f.current.apply(n,t)},n=function(e,t){g&&cancelAnimationFrame(l.current),l.current=g?requestAnimationFrame(e):setTimeout(e,t)},x=function(e){if(!h.current)return!1;var n=e-o.current;return!o.current||n>=t||n<0||b&&e-a.current>=_},w=function(t){return l.current=null,v&&c.current?e(t):(c.current=u.current=null,d.current)},k=function e(){var r=Date.now();if(m&&s.current===a.current&&C(),x(r))return w(r);if(h.current){var i=t-(r-o.current),l=b?Math.min(i,_-(r-a.current)):i;n(e,l)}},C=function(){r&&r({})},A=function(){if(p||y){var r=Date.now(),s=x(r);if(c.current=[].slice.call(arguments),u.current=i,o.current=r,s){if(!l.current&&h.current)return a.current=o.current,n(k,t),m?e(o.current):d.current;if(b)return n(k,t),e(o.current)}return l.current||n(k,t),d.current}};return A.cancel=function(){var e=l.current;e&&(g?cancelAnimationFrame(l.current):clearTimeout(l.current)),a.current=0,c.current=o.current=u.current=l.current=null,e&&r&&r({})},A.isPending=function(){return!!l.current},A.flush=function(){return l.current?w(Date.now()):d.current},A}),[m,b,t,_,v,g,p,y,r]);return x}(S((function(e){i.current=e,o({})}),[o]),t,n,o),s=C(e);return r(s.current,e)||(a(e),s.current=e),[i.current,a]}var XF,KF,JF,QF,eO,tO,nO,rO,iO,oO,aO,sO,lO,cO,uO,dO,fO,hO,pO,gO,mO,vO,bO,yO;function _O(){if(tO)return eO;tO=1;var e=GE(),t=KF?XF:(KF=1,XF=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}),n=QF?JF:(QF=1,JF=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,eO=r}function xO(){if(cO)return lO;cO=1;var e=(rO||(rO=1,nO=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}),nO),t=oO?iO:(oO=1,iO=function(e){return e!=e}),n=(sO||(sO=1,aO=function(e,t,n){for(var r=n-1,i=e.length;++r<i;)if(e[r]===t)return r;return-1}),aO);return lO=function(r,i,o){return i==i?n(r,i,o):e(r,t,o)},lO}function wO(){if(dO)return uO;dO=1;var e=xO();return uO=function(t,n){return!!(null==t?0:t.length)&&e(t,n,0)>-1},uO}function kO(){if(hO)return fO;return hO=1,fO=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},fO}function CO(){if(gO)return pO;return gO=1,pO=function(e,t){return e.has(t)}}var AO=function(){if(yO)return bO;yO=1;var e=function(){if(vO)return mO;vO=1;var e=_O(),t=wO(),n=kO(),r=YD(),i=aT(),o=CO();return mO=function(a,s,l,c){var u=-1,d=t,f=!0,h=a.length,p=[],g=s.length;if(!h)return p;l&&(s=r(s,i(l))),c?(d=n,f=!1):s.length>=200&&(d=o,f=!1,s=new e(s));e:for(;++u<h;){var m=a[u],v=null==l?m:l(m);if(m=c||0!==m?m:0,f&&v==v){for(var b=g;b--;)if(s[b]===v)continue e;p.push(m)}else d(s,v,c)||p.push(m)}return p},mO}(),t=vD(),n=GL(),r=t((function(t,r){return n(t)?e(t,r):[]}));return bO=r}(),SO=j(AO);function MO(e){for(var t=e.length/6|0,n=new Array(t),r=0;r<t;)n[r]="#"+e.slice(6*r,6*++r);return n}var EO=MO("1f77b4ff7f0e2ca02cd627289467bd8c564be377c27f7f7fbcbd2217becf"),LO=MO("7fc97fbeaed4fdc086ffff99386cb0f0027fbf5b17666666"),TO=MO("1b9e77d95f027570b3e7298a66a61ee6ab02a6761d666666"),DO=MO("a6cee31f78b4b2df8a33a02cfb9a99e31a1cfdbf6fff7f00cab2d66a3d9affff99b15928"),FO=MO("fbb4aeb3cde3ccebc5decbe4fed9a6ffffcce5d8bdfddaecf2f2f2"),OO=MO("b3e2cdfdcdaccbd5e8f4cae4e6f5c9fff2aef1e2cccccccc"),zO=MO("e41a1c377eb84daf4a984ea3ff7f00ffff33a65628f781bf999999"),RO=MO("66c2a5fc8d628da0cbe78ac3a6d854ffd92fe5c494b3b3b3"),NO=MO("8dd3c7ffffb3bebadafb807280b1d3fdb462b3de69fccde5d9d9d9bc80bdccebc5ffed6f"),PO=MO("4e79a7f28e2ce1575976b7b259a14fedc949af7aa1ff9da79c755fbab0ab"),IO=e=>ci(e[e.length-1]),BO=new Array(3).concat("d8b365f5f5f55ab4ac","a6611adfc27d80cdc1018571","a6611adfc27df5f5f580cdc1018571","8c510ad8b365f6e8c3c7eae55ab4ac01665e","8c510ad8b365f6e8c3f5f5f5c7eae55ab4ac01665e","8c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e","8c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e","5430058c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e003c30","5430058c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e003c30").map(MO),jO=IO(BO),WO=new Array(3).concat("af8dc3f7f7f77fbf7b","7b3294c2a5cfa6dba0008837","7b3294c2a5cff7f7f7a6dba0008837","762a83af8dc3e7d4e8d9f0d37fbf7b1b7837","762a83af8dc3e7d4e8f7f7f7d9f0d37fbf7b1b7837","762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b7837","762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b7837","40004b762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b783700441b","40004b762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b783700441b").map(MO),HO=IO(WO),qO=new Array(3).concat("e9a3c9f7f7f7a1d76a","d01c8bf1b6dab8e1864dac26","d01c8bf1b6daf7f7f7b8e1864dac26","c51b7de9a3c9fde0efe6f5d0a1d76a4d9221","c51b7de9a3c9fde0eff7f7f7e6f5d0a1d76a4d9221","c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221","c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221","8e0152c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221276419","8e0152c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221276419").map(MO),$O=IO(qO),UO=new Array(3).concat("998ec3f7f7f7f1a340","5e3c99b2abd2fdb863e66101","5e3c99b2abd2f7f7f7fdb863e66101","542788998ec3d8daebfee0b6f1a340b35806","542788998ec3d8daebf7f7f7fee0b6f1a340b35806","5427888073acb2abd2d8daebfee0b6fdb863e08214b35806","5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b35806","2d004b5427888073acb2abd2d8daebfee0b6fdb863e08214b358067f3b08","2d004b5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b358067f3b08").map(MO),VO=IO(UO),GO=new Array(3).concat("ef8a62f7f7f767a9cf","ca0020f4a58292c5de0571b0","ca0020f4a582f7f7f792c5de0571b0","b2182bef8a62fddbc7d1e5f067a9cf2166ac","b2182bef8a62fddbc7f7f7f7d1e5f067a9cf2166ac","b2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac","b2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac","67001fb2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac053061","67001fb2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac053061").map(MO),YO=IO(GO),ZO=new Array(3).concat("ef8a62ffffff999999","ca0020f4a582bababa404040","ca0020f4a582ffffffbababa404040","b2182bef8a62fddbc7e0e0e09999994d4d4d","b2182bef8a62fddbc7ffffffe0e0e09999994d4d4d","b2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d","b2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d","67001fb2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d1a1a1a","67001fb2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d1a1a1a").map(MO),XO=IO(ZO),KO=new Array(3).concat("fc8d59ffffbf91bfdb","d7191cfdae61abd9e92c7bb6","d7191cfdae61ffffbfabd9e92c7bb6","d73027fc8d59fee090e0f3f891bfdb4575b4","d73027fc8d59fee090ffffbfe0f3f891bfdb4575b4","d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4","d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4","a50026d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4313695","a50026d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4313695").map(MO),JO=IO(KO),QO=new Array(3).concat("fc8d59ffffbf91cf60","d7191cfdae61a6d96a1a9641","d7191cfdae61ffffbfa6d96a1a9641","d73027fc8d59fee08bd9ef8b91cf601a9850","d73027fc8d59fee08bffffbfd9ef8b91cf601a9850","d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850","d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850","a50026d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850006837","a50026d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850006837").map(MO),ez=IO(QO),tz=new Array(3).concat("fc8d59ffffbf99d594","d7191cfdae61abdda42b83ba","d7191cfdae61ffffbfabdda42b83ba","d53e4ffc8d59fee08be6f59899d5943288bd","d53e4ffc8d59fee08bffffbfe6f59899d5943288bd","d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd","d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd","9e0142d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd5e4fa2","9e0142d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd5e4fa2").map(MO),nz=IO(tz),rz=new Array(3).concat("e5f5f999d8c92ca25f","edf8fbb2e2e266c2a4238b45","edf8fbb2e2e266c2a42ca25f006d2c","edf8fbccece699d8c966c2a42ca25f006d2c","edf8fbccece699d8c966c2a441ae76238b45005824","f7fcfde5f5f9ccece699d8c966c2a441ae76238b45005824","f7fcfde5f5f9ccece699d8c966c2a441ae76238b45006d2c00441b").map(MO),iz=IO(rz),oz=new Array(3).concat("e0ecf49ebcda8856a7","edf8fbb3cde38c96c688419d","edf8fbb3cde38c96c68856a7810f7c","edf8fbbfd3e69ebcda8c96c68856a7810f7c","edf8fbbfd3e69ebcda8c96c68c6bb188419d6e016b","f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d6e016b","f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d810f7c4d004b").map(MO),az=IO(oz),sz=new Array(3).concat("e0f3dba8ddb543a2ca","f0f9e8bae4bc7bccc42b8cbe","f0f9e8bae4bc7bccc443a2ca0868ac","f0f9e8ccebc5a8ddb57bccc443a2ca0868ac","f0f9e8ccebc5a8ddb57bccc44eb3d32b8cbe08589e","f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe08589e","f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe0868ac084081").map(MO),lz=IO(sz),cz=new Array(3).concat("fee8c8fdbb84e34a33","fef0d9fdcc8afc8d59d7301f","fef0d9fdcc8afc8d59e34a33b30000","fef0d9fdd49efdbb84fc8d59e34a33b30000","fef0d9fdd49efdbb84fc8d59ef6548d7301f990000","fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301f990000","fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301fb300007f0000").map(MO),uz=IO(cz),dz=new Array(3).concat("ece2f0a6bddb1c9099","f6eff7bdc9e167a9cf02818a","f6eff7bdc9e167a9cf1c9099016c59","f6eff7d0d1e6a6bddb67a9cf1c9099016c59","f6eff7d0d1e6a6bddb67a9cf3690c002818a016450","fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016450","fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016c59014636").map(MO),fz=IO(dz),hz=new Array(3).concat("ece7f2a6bddb2b8cbe","f1eef6bdc9e174a9cf0570b0","f1eef6bdc9e174a9cf2b8cbe045a8d","f1eef6d0d1e6a6bddb74a9cf2b8cbe045a8d","f1eef6d0d1e6a6bddb74a9cf3690c00570b0034e7b","fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0034e7b","fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0045a8d023858").map(MO),pz=IO(hz),gz=new Array(3).concat("e7e1efc994c7dd1c77","f1eef6d7b5d8df65b0ce1256","f1eef6d7b5d8df65b0dd1c77980043","f1eef6d4b9dac994c7df65b0dd1c77980043","f1eef6d4b9dac994c7df65b0e7298ace125691003f","f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125691003f","f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125698004367001f").map(MO),mz=IO(gz),vz=new Array(3).concat("fde0ddfa9fb5c51b8a","feebe2fbb4b9f768a1ae017e","feebe2fbb4b9f768a1c51b8a7a0177","feebe2fcc5c0fa9fb5f768a1c51b8a7a0177","feebe2fcc5c0fa9fb5f768a1dd3497ae017e7a0177","fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a0177","fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a017749006a").map(MO),bz=IO(vz),yz=new Array(3).concat("edf8b17fcdbb2c7fb8","ffffcca1dab441b6c4225ea8","ffffcca1dab441b6c42c7fb8253494","ffffccc7e9b47fcdbb41b6c42c7fb8253494","ffffccc7e9b47fcdbb41b6c41d91c0225ea80c2c84","ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea80c2c84","ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea8253494081d58").map(MO),_z=IO(yz),xz=new Array(3).concat("f7fcb9addd8e31a354","ffffccc2e69978c679238443","ffffccc2e69978c67931a354006837","ffffccd9f0a3addd8e78c67931a354006837","ffffccd9f0a3addd8e78c67941ab5d238443005a32","ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443005a32","ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443006837004529").map(MO),wz=IO(xz),kz=new Array(3).concat("fff7bcfec44fd95f0e","ffffd4fed98efe9929cc4c02","ffffd4fed98efe9929d95f0e993404","ffffd4fee391fec44ffe9929d95f0e993404","ffffd4fee391fec44ffe9929ec7014cc4c028c2d04","ffffe5fff7bcfee391fec44ffe9929ec7014cc4c028c2d04","ffffe5fff7bcfee391fec44ffe9929ec7014cc4c02993404662506").map(MO),Cz=IO(kz),Az=new Array(3).concat("ffeda0feb24cf03b20","ffffb2fecc5cfd8d3ce31a1c","ffffb2fecc5cfd8d3cf03b20bd0026","ffffb2fed976feb24cfd8d3cf03b20bd0026","ffffb2fed976feb24cfd8d3cfc4e2ae31a1cb10026","ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cb10026","ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cbd0026800026").map(MO),Sz=IO(Az),Mz=new Array(3).concat("deebf79ecae13182bd","eff3ffbdd7e76baed62171b5","eff3ffbdd7e76baed63182bd08519c","eff3ffc6dbef9ecae16baed63182bd08519c","eff3ffc6dbef9ecae16baed64292c62171b5084594","f7fbffdeebf7c6dbef9ecae16baed64292c62171b5084594","f7fbffdeebf7c6dbef9ecae16baed64292c62171b508519c08306b").map(MO),Ez=IO(Mz),Lz=new Array(3).concat("e5f5e0a1d99b31a354","edf8e9bae4b374c476238b45","edf8e9bae4b374c47631a354006d2c","edf8e9c7e9c0a1d99b74c47631a354006d2c","edf8e9c7e9c0a1d99b74c47641ab5d238b45005a32","f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45005a32","f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45006d2c00441b").map(MO),Tz=IO(Lz),Dz=new Array(3).concat("f0f0f0bdbdbd636363","f7f7f7cccccc969696525252","f7f7f7cccccc969696636363252525","f7f7f7d9d9d9bdbdbd969696636363252525","f7f7f7d9d9d9bdbdbd969696737373525252252525","fffffff0f0f0d9d9d9bdbdbd969696737373525252252525","fffffff0f0f0d9d9d9bdbdbd969696737373525252252525000000").map(MO),Fz=IO(Dz),Oz=new Array(3).concat("efedf5bcbddc756bb1","f2f0f7cbc9e29e9ac86a51a3","f2f0f7cbc9e29e9ac8756bb154278f","f2f0f7dadaebbcbddc9e9ac8756bb154278f","f2f0f7dadaebbcbddc9e9ac8807dba6a51a34a1486","fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a34a1486","fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a354278f3f007d").map(MO),zz=IO(Oz),Rz=new Array(3).concat("fee0d2fc9272de2d26","fee5d9fcae91fb6a4acb181d","fee5d9fcae91fb6a4ade2d26a50f15","fee5d9fcbba1fc9272fb6a4ade2d26a50f15","fee5d9fcbba1fc9272fb6a4aef3b2ccb181d99000d","fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181d99000d","fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181da50f1567000d").map(MO),Nz=IO(Rz),Pz=new Array(3).concat("fee6cefdae6be6550d","feeddefdbe85fd8d3cd94701","feeddefdbe85fd8d3ce6550da63603","feeddefdd0a2fdae6bfd8d3ce6550da63603","feeddefdd0a2fdae6bfd8d3cf16913d948018c2d04","fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d948018c2d04","fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d94801a636037f2704").map(MO),Iz=IO(Pz);var Bz=Ei(ti(300,.5,0),ti(-240,.5,1)),jz=Ei(ti(-100,.75,.35),ti(80,1.5,.8)),Wz=Ei(ti(260,.75,.35),ti(80,1.5,.8)),Hz=ti();var qz=Fr(),$z=Math.PI/3,Uz=2*Math.PI/3;function Vz(e){var t=e.length;return function(n){return e[Math.max(0,Math.min(t-1,Math.floor(n*t)))]}}var Gz,Yz,Zz=Vz(MO("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725")),Xz=Vz(MO("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf")),Kz=Vz(MO("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4")),Jz=Vz(MO("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921"));function Qz(){if(Yz)return Gz;return Yz=1,Gz=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0},Gz}var eR=j(Qz());$L();var tR=j(BE());function nR(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 rR,iR=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function oR(e){if(!(t=iR.exec(e)))throw new Error("invalid format: "+e);var t;return new aR({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 aR(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 sR(e,t){var n=nR(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")}oR.prototype=aR.prototype,aR.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 lR={"%":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 sR(100*e,t)},r:sR,s:function(e,t){var n=nR(e,t);if(!n)return e+"";var r=n[0],i=n[1],o=i-(rR=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")+nR(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 cR(e){return e}var uR,dR,fR=Array.prototype.map,hR=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function pR(e){var t,n,r=void 0===e.grouping||void 0===e.thousands?cR:(t=fR.call(e.grouping,Number),n=e.thousands+"",function(e,r){for(var i=e.length,o=[],a=0,s=t[0],l=0;i>0&&s>0&&(l+s+1>r&&(s=Math.max(1,r-l)),o.push(e.substring(i-=s,i+s)),!((l+=s+1)>r));)s=t[a=(a+1)%t.length];return o.reverse().join(n)}),i=void 0===e.currency?"":e.currency[0]+"",o=void 0===e.currency?"":e.currency[1]+"",a=e.decimal+"",s=void 0===e.numerals?cR:function(e){return function(t){return t.replace(/[0-9]/g,(function(t){return e[+t]}))}}(fR.call(e.numerals,String)),l=void 0===e.percent?"%":e.percent+"",c=e.minus+"",u=void 0===e.nan?"NaN":e.nan+"";function d(e){var t=(e=oR(e)).fill,n=e.align,d=e.sign,f=e.symbol,h=e.zero,p=e.width,g=e.comma,m=e.precision,v=e.trim,b=e.type;"n"===b?(g=!0,b="g"):lR[b]||(void 0===m&&(m=12),v=!0,b="g"),(h||"0"===t&&"="===n)&&(h=!0,t="0",n="=");var y="$"===f?i:"#"===f&&/[boxX]/.test(b)?"0"+b.toLowerCase():"",_="$"===f?o:/[%p]/.test(b)?l:"",x=lR[b],w=/[defgprs%]/.test(b);function k(e){var i,o,l,f=y,k=_;if("c"===b)k=x(e)+k,e="";else{var C=(e=+e)<0||1/e<0;if(e=isNaN(e)?u:x(Math.abs(e),m),v&&(e=function(e){e:for(var t,n=e.length,r=1,i=-1;r<n;++r)switch(e[r]){case".":i=t=r;break;case"0":0===i&&(i=r),t=r;break;default:if(!+e[r])break e;i>0&&(i=0)}return i>0?e.slice(0,i)+e.slice(t+1):e}(e)),C&&0==+e&&"+"!==d&&(C=!1),f=(C?"("===d?d:c:"-"===d||"("===d?"":d)+f,k=("s"===b?hR[8+rR/3]:"")+k+(C&&"("===d?")":""),w)for(i=-1,o=e.length;++i<o;)if(48>(l=e.charCodeAt(i))||l>57){k=(46===l?a+e.slice(i+1):e.slice(i))+k,e=e.slice(0,i);break}}g&&!h&&(e=r(e,1/0));var A=f.length+e.length+k.length,S=A<p?new Array(p-A+1).join(t):"";switch(g&&h&&(e=r(S+e,S.length?p-k.length:1/0),S=""),n){case"<":e=f+e+k+S;break;case"=":e=f+S+e+k;break;case"^":e=S.slice(0,A=S.length>>1)+f+e+k+S.slice(A);break;default:e=S+f+e+k}return s(e)}return m=void 0===m?6:/[gprs]/.test(b)?Math.max(1,Math.min(21,m)):Math.max(0,Math.min(20,m)),k.toString=function(){return e+""},k}return{format:d,formatPrefix:function(e,t){var n=d(((e=oR(e)).type="f",e)),r=3*Math.max(-8,Math.min(8,Math.floor(function(e){return(e=nR(Math.abs(e)))?e[1]:NaN}(t)/3))),i=Math.pow(10,-r),o=hR[8+r/3];return function(e){return n(i*e)+o}}}}!function(e){uR=pR(e),dR=uR.format,uR.formatPrefix}({decimal:".",thousands:",",grouping:[3],currency:["$",""],minus:"-"});var gR=new Date,mR=new Date;function vR(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 vR((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 gR.setTime(+t),mR.setTime(+r),e(gR),e(mR),Math.floor(n(gR,mR))},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 bR=6e4,yR=864e5,_R=6048e5;var xR=vR((e=>e.setHours(0,0,0,0)),((e,t)=>e.setDate(e.getDate()+t)),((e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*bR)/yR),(e=>e.getDate()-1));function wR(e){return vR((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())*bR)/_R}))}xR.range;var kR=wR(0),CR=wR(1),AR=wR(2),SR=wR(3),MR=wR(4),ER=wR(5),LR=wR(6);kR.range,CR.range,AR.range,SR.range,MR.range,ER.range,LR.range;var TR=vR((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()}));TR.every=function(e){return isFinite(e=Math.floor(e))&&e>0?vR((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},TR.range;var DR=vR((function(e){e.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCDate(e.getUTCDate()+t)}),(function(e,t){return(t-e)/yR}),(function(e){return e.getUTCDate()-1}));function FR(e){return vR((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)/_R}))}DR.range;var OR=FR(0),zR=FR(1),RR=FR(2),NR=FR(3),PR=FR(4),IR=FR(5),BR=FR(6);OR.range,zR.range,RR.range,NR.range,PR.range,IR.range,BR.range;var jR=vR((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 WR(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 HR(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 qR(e,t,n){return{y:e,m:t,d:n,H:0,M:0,S:0,L:0}}jR.every=function(e){return isFinite(e=Math.floor(e))&&e>0?vR((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},jR.range;var $R,UR,VR,GR,YR={"-":"",_:" ",0:"0"},ZR=/^\s*\d+/,XR=/^%/,KR=/[\\^$*+?|[\]().{}]/g;function JR(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 QR(e){return e.replace(KR,"\\$&")}function eN(e){return new RegExp("^(?:"+e.map(QR).join("|")+")","i")}function tN(e){return new Map(e.map(((e,t)=>[e.toLowerCase(),t])))}function nN(e,t,n){var r=ZR.exec(t.slice(n,n+1));return r?(e.w=+r[0],n+r[0].length):-1}function rN(e,t,n){var r=ZR.exec(t.slice(n,n+1));return r?(e.u=+r[0],n+r[0].length):-1}function iN(e,t,n){var r=ZR.exec(t.slice(n,n+2));return r?(e.U=+r[0],n+r[0].length):-1}function oN(e,t,n){var r=ZR.exec(t.slice(n,n+2));return r?(e.V=+r[0],n+r[0].length):-1}function aN(e,t,n){var r=ZR.exec(t.slice(n,n+2));return r?(e.W=+r[0],n+r[0].length):-1}function sN(e,t,n){var r=ZR.exec(t.slice(n,n+4));return r?(e.y=+r[0],n+r[0].length):-1}function lN(e,t,n){var r=ZR.exec(t.slice(n,n+2));return r?(e.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function cN(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 uN(e,t,n){var r=ZR.exec(t.slice(n,n+1));return r?(e.q=3*r[0]-3,n+r[0].length):-1}function dN(e,t,n){var r=ZR.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function fN(e,t,n){var r=ZR.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function hN(e,t,n){var r=ZR.exec(t.slice(n,n+3));return r?(e.m=0,e.d=+r[0],n+r[0].length):-1}function pN(e,t,n){var r=ZR.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function gN(e,t,n){var r=ZR.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function mN(e,t,n){var r=ZR.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function vN(e,t,n){var r=ZR.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function bN(e,t,n){var r=ZR.exec(t.slice(n,n+6));return r?(e.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function yN(e,t,n){var r=XR.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function _N(e,t,n){var r=ZR.exec(t.slice(n));return r?(e.Q=+r[0],n+r[0].length):-1}function xN(e,t,n){var r=ZR.exec(t.slice(n));return r?(e.s=+r[0],n+r[0].length):-1}function wN(e,t){return JR(e.getDate(),t,2)}function kN(e,t){return JR(e.getHours(),t,2)}function CN(e,t){return JR(e.getHours()%12||12,t,2)}function AN(e,t){return JR(1+xR.count(TR(e),e),t,3)}function SN(e,t){return JR(e.getMilliseconds(),t,3)}function MN(e,t){return SN(e,t)+"000"}function EN(e,t){return JR(e.getMonth()+1,t,2)}function LN(e,t){return JR(e.getMinutes(),t,2)}function TN(e,t){return JR(e.getSeconds(),t,2)}function DN(e){var t=e.getDay();return 0===t?7:t}function FN(e,t){return JR(kR.count(TR(e)-1,e),t,2)}function ON(e){var t=e.getDay();return t>=4||0===t?MR(e):MR.ceil(e)}function zN(e,t){return e=ON(e),JR(MR.count(TR(e),e)+(4===TR(e).getDay()),t,2)}function RN(e){return e.getDay()}function NN(e,t){return JR(CR.count(TR(e)-1,e),t,2)}function PN(e,t){return JR(e.getFullYear()%100,t,2)}function IN(e,t){return JR((e=ON(e)).getFullYear()%100,t,2)}function BN(e,t){return JR(e.getFullYear()%1e4,t,4)}function jN(e,t){var n=e.getDay();return JR((e=n>=4||0===n?MR(e):MR.ceil(e)).getFullYear()%1e4,t,4)}function WN(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+JR(t/60|0,"0",2)+JR(t%60,"0",2)}function HN(e,t){return JR(e.getUTCDate(),t,2)}function qN(e,t){return JR(e.getUTCHours(),t,2)}function $N(e,t){return JR(e.getUTCHours()%12||12,t,2)}function UN(e,t){return JR(1+DR.count(jR(e),e),t,3)}function VN(e,t){return JR(e.getUTCMilliseconds(),t,3)}function GN(e,t){return VN(e,t)+"000"}function YN(e,t){return JR(e.getUTCMonth()+1,t,2)}function ZN(e,t){return JR(e.getUTCMinutes(),t,2)}function XN(e,t){return JR(e.getUTCSeconds(),t,2)}function KN(e){var t=e.getUTCDay();return 0===t?7:t}function JN(e,t){return JR(OR.count(jR(e)-1,e),t,2)}function QN(e){var t=e.getUTCDay();return t>=4||0===t?PR(e):PR.ceil(e)}function eP(e,t){return e=QN(e),JR(PR.count(jR(e),e)+(4===jR(e).getUTCDay()),t,2)}function tP(e){return e.getUTCDay()}function nP(e,t){return JR(zR.count(jR(e)-1,e),t,2)}function rP(e,t){return JR(e.getUTCFullYear()%100,t,2)}function iP(e,t){return JR((e=QN(e)).getUTCFullYear()%100,t,2)}function oP(e,t){return JR(e.getUTCFullYear()%1e4,t,4)}function aP(e,t){var n=e.getUTCDay();return JR((e=n>=4||0===n?PR(e):PR.ceil(e)).getUTCFullYear()%1e4,t,4)}function sP(){return"+0000"}function lP(){return"%"}function cP(e){return+e}function uP(e){return Math.floor(+e/1e3)}!function(e){$R=function(e){var t=e.dateTime,n=e.date,r=e.time,i=e.periods,o=e.days,a=e.shortDays,s=e.months,l=e.shortMonths,c=eN(i),u=tN(i),d=eN(o),f=tN(o),h=eN(a),p=tN(a),g=eN(s),m=tN(s),v=eN(l),b=tN(l),y={a:function(e){return a[e.getDay()]},A:function(e){return o[e.getDay()]},b:function(e){return l[e.getMonth()]},B:function(e){return s[e.getMonth()]},c:null,d:wN,e:wN,f:MN,g:IN,G:jN,H:kN,I:CN,j:AN,L:SN,m:EN,M:LN,p:function(e){return i[+(e.getHours()>=12)]},q:function(e){return 1+~~(e.getMonth()/3)},Q:cP,s:uP,S:TN,u:DN,U:FN,V:zN,w:RN,W:NN,x:null,X:null,y:PN,Y:BN,Z:WN,"%":lP},_={a:function(e){return a[e.getUTCDay()]},A:function(e){return o[e.getUTCDay()]},b:function(e){return l[e.getUTCMonth()]},B:function(e){return s[e.getUTCMonth()]},c:null,d:HN,e:HN,f:GN,g:iP,G:aP,H:qN,I:$N,j:UN,L:VN,m:YN,M:ZN,p:function(e){return i[+(e.getUTCHours()>=12)]},q:function(e){return 1+~~(e.getUTCMonth()/3)},Q:cP,s:uP,S:XN,u:KN,U:JN,V:eP,w:tP,W:nP,x:null,X:null,y:rP,Y:oP,Z:sP,"%":lP},x={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=d.exec(t.slice(n));return r?(e.w=f.get(r[0].toLowerCase()),n+r[0].length):-1},b:function(e,t,n){var r=v.exec(t.slice(n));return r?(e.m=b.get(r[0].toLowerCase()),n+r[0].length):-1},B:function(e,t,n){var r=g.exec(t.slice(n));return r?(e.m=m.get(r[0].toLowerCase()),n+r[0].length):-1},c:function(e,n,r){return C(e,t,n,r)},d:fN,e:fN,f:bN,g:lN,G:sN,H:pN,I:pN,j:hN,L:vN,m:dN,M:gN,p:function(e,t,n){var r=c.exec(t.slice(n));return r?(e.p=u.get(r[0].toLowerCase()),n+r[0].length):-1},q:uN,Q:_N,s:xN,S:mN,u:rN,U:iN,V:oN,w:nN,W:aN,x:function(e,t,r){return C(e,n,t,r)},X:function(e,t,n){return C(e,r,t,n)},y:lN,Y:sN,Z:cN,"%":yN};function w(e,t){return function(n){var r,i,o,a=[],s=-1,l=0,c=e.length;for(n instanceof Date||(n=new Date(+n));++s<c;)37===e.charCodeAt(s)&&(a.push(e.slice(l,s)),null!=(i=YR[r=e.charAt(++s)])?r=e.charAt(++s):i="e"===r?" ":"0",(o=t[r])&&(r=o(n,i)),a.push(r),l=s+1);return a.push(e.slice(l,s)),a.join("")}}function k(e,t){return function(n){var r,i,o=qR(1900,void 0,1);if(C(o,e,n+="",0)!=n.length)return null;if("Q"in o)return new Date(o.Q);if("s"in o)return new Date(1e3*o.s+("L"in o?o.L:0));if(t&&!("Z"in o)&&(o.Z=0),"p"in o&&(o.H=o.H%12+12*o.p),void 0===o.m&&(o.m="q"in o?o.q:0),"V"in o){if(o.V<1||o.V>53)return null;"w"in o||(o.w=1),"Z"in o?(i=(r=HR(qR(o.y,0,1))).getUTCDay(),r=i>4||0===i?zR.ceil(r):zR(r),r=DR.offset(r,7*(o.V-1)),o.y=r.getUTCFullYear(),o.m=r.getUTCMonth(),o.d=r.getUTCDate()+(o.w+6)%7):(i=(r=WR(qR(o.y,0,1))).getDay(),r=i>4||0===i?CR.ceil(r):CR(r),r=xR.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?HR(qR(o.y,0,1)).getUTCDay():WR(qR(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,HR(o)):WR(o)}}function C(e,t,n,r){for(var i,o,a=0,s=t.length,l=n.length;a<s;){if(r>=l)return-1;if(37===(i=t.charCodeAt(a++))){if(i=t.charAt(a++),!(o=x[i in YR?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=w(n,y),y.X=w(r,y),y.c=w(t,y),_.x=w(n,_),_.X=w(r,_),_.c=w(t,_),{format:function(e){var t=w(e+="",y);return t.toString=function(){return e},t},parse:function(e){var t=k(e+="",!1);return t.toString=function(){return e},t},utcFormat:function(e){var t=w(e+="",_);return t.toString=function(){return e},t},utcParse:function(e){var t=k(e+="",!0);return t.toString=function(){return e},t}}}(e),UR=$R.format,VR=$R.parse,$R.utcFormat,GR=$R.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 dP,fP,hP,pP,gP,mP,vP,bP,yP,_P,xP,wP,kP,CP,AP,SP,MP,EP,LP,TP,DP,FP,OP=j(oT());function zP(){if(bP)return vP;bP=1;var e=(pP||(pP=1,hP=function(e,t){return null!=e&&t in Object(e)}),hP),t=function(){if(mP)return gP;mP=1;var e=XD(),t=qL(),n=$L(),r=lD(),i=UL(),o=KD();return gP=function(a,s,l){for(var c=-1,u=(s=e(s,a)).length,d=!1;++c<u;){var f=o(s[c]);if(!(d=null!=a&&l(a,f)))break;a=a[f]}return d||++c!=u?d:!!(u=null==a?0:a.length)&&i(u)&&r(f,u)&&(n(a)||t(a))},gP}();return vP=function(n,r){return null!=n&&t(n,r,e)},vP}function RP(){if(_P)return yP;_P=1;var e=function(){if(fP)return dP;fP=1;var e=JD(),t=oF(),n=XD();return dP=function(r,i,o){for(var a=-1,s=i.length,l={};++a<s;){var c=i[a],u=e(r,c);o(u,c)&&t(l,n(c,r),u)}return l},dP}(),t=zP();return yP=function(n,r){return e(n,r,(function(e,r){return t(n,r)}))},yP}function NP(){if(wP)return xP;return wP=1,xP=function(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e},xP}function PP(){if(SP)return AP;SP=1;var e=NP(),t=function(){if(CP)return kP;CP=1;var e=NE(),t=qL(),n=$L(),r=e?e.isConcatSpreadable:void 0;return kP=function(e){return n(e)||t(e)||!!(r&&e&&e[r])}}();return AP=function n(r,i,o,a,s){var l=-1,c=r.length;for(o||(o=t),s||(s=[]);++l<c;){var u=r[l];i>0&&o(u)?i>1?n(u,i-1,o,a,s):e(s,u):a||(s[s.length]=u)}return s},AP}function IP(){if(TP)return LP;TP=1;var e=function(){if(EP)return MP;EP=1;var e=PP();return MP=function(t){return null!=t&&t.length?e(t,1):[]},MP}(),t=pD(),n=mD();return LP=function(r){return n(t(r,void 0,e),r+"")}}var BP,jP,WP,HP,qP,$P,UP,VP,GP,YP,ZP,XP,KP,JP,QP,eI,tI,nI,rI,iI,oI,aI,sI,lI,cI,uI,dI,fI,hI,pI,gI,mI,vI,bI,yI,_I,xI,wI,kI,CI,AI,SI,MI,EI,LI=function(){if(FP)return DP;FP=1;var e=RP(),t=IP()((function(t,n){return null==t?{}:e(t,n)}));return DP=t}(),TI=j(LI);function DI(){if(HP)return WP;HP=1;var e=_O(),t=(jP||(jP=1,BP=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}),BP),n=CO();return WP=function(r,i,o,a,s,l){var c=1&o,u=r.length,d=i.length;if(u!=d&&!(c&&d>u))return!1;var f=l.get(r),h=l.get(i);if(f&&h)return f==i&&h==r;var p=-1,g=!0,m=2&o?new e:void 0;for(l.set(r,i),l.set(i,r);++p<u;){var v=r[p],b=i[p];if(a)var y=c?a(b,v,p,i,r,l):a(v,b,p,r,i,l);if(void 0!==y){if(y)continue;g=!1;break}if(m){if(!t(i,(function(e,t){if(!n(m,t)&&(v===e||s(v,e,o,a,l)))return m.push(t)}))){g=!1;break}}else if(v!==b&&!s(v,b,o,a,l)){g=!1;break}}return l.delete(r),l.delete(i),g},WP}function FI(){if(VP)return UP;return VP=1,UP=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n},UP}function OI(){if(YP)return GP;YP=1;var e=NE(),t=zL(),n=DE(),r=DI(),i=($P||($P=1,qP=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}),qP),o=FI(),a=e?e.prototype:void 0,s=a?a.valueOf:void 0;return GP=function(e,a,l,c,u,d,f){switch(l){case"[object DataView]":if(e.byteLength!=a.byteLength||e.byteOffset!=a.byteOffset)return!1;e=e.buffer,a=a.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=a.byteLength||!d(new t(e),new t(a)));case"[object Boolean]":case"[object Date]":case"[object Number]":return n(+e,+a);case"[object Error]":return e.name==a.name&&e.message==a.message;case"[object RegExp]":case"[object String]":return e==a+"";case"[object Map]":var h=i;case"[object Set]":var p=1&c;if(h||(h=o),e.size!=a.size&&!p)return!1;var g=f.get(e);if(g)return g==a;c|=2,f.set(e,a);var m=r(h(e),h(a),c,u,d,f);return f.delete(e),m;case"[object Symbol]":if(s)return s.call(e)==s.call(a)}return!1},GP}function zI(){if(XP)return ZP;XP=1;var e=NP(),t=$L();return ZP=function(n,r,i){var o=r(n);return t(n)?o:e(o,i(n))},ZP}function RI(){if(JP)return KP;return JP=1,KP=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},KP}function NI(){if(eI)return QP;return eI=1,QP=function(){return[]}}function PI(){if(nI)return tI;nI=1;var e=RI(),t=NI(),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 tI=i}function II(){if(aI)return oI;aI=1;var e=jL(),t=function(){if(iI)return rI;iI=1;var e=IL()(Object.keys,Object);return rI=e}(),n=Object.prototype.hasOwnProperty;return oI=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},oI}function BI(){if(lI)return sI;lI=1;var e=cD(),t=II(),n=VL();return sI=function(r){return n(r)?e(r):t(r)},sI}function jI(){if(uI)return cI;uI=1;var e=zI(),t=PI(),n=BI();return cI=function(r){return e(r,n,t)},cI}function WI(){if(bI)return vI;bI=1;var e=HE()(RE(),"Set");return vI=e}function HI(){if(wI)return xI;wI=1;var e=function(){if(pI)return hI;pI=1;var e=HE()(RE(),"DataView");return hI=e}(),t=qE(),n=function(){if(mI)return gI;mI=1;var e=HE()(RE(),"Promise");return gI=e}(),r=WI(),i=function(){if(_I)return yI;_I=1;var e=HE()(RE(),"WeakMap");return yI=e}(),o=PE(),a=WE(),s="[object Map]",l="[object Promise]",c="[object Set]",u="[object WeakMap]",d="[object DataView]",f=a(e),h=a(t),p=a(n),g=a(r),m=a(i),v=o;return(e&&v(new e(new ArrayBuffer(1)))!=d||t&&v(new t)!=s||n&&v(n.resolve())!=l||r&&v(new r)!=c||i&&v(new i)!=u)&&(v=function(e){var t=o(e),n="[object Object]"==t?e.constructor:void 0,r=n?a(n):"";if(r)switch(r){case f:return d;case h:return s;case p:return l;case g:return c;case m:return u}return t}),xI=v}function qI(){if(CI)return kI;CI=1;var e=YE(),t=DI(),n=OI(),r=function(){if(fI)return dI;fI=1;var e=jI(),t=Object.prototype.hasOwnProperty;return dI=function(n,r,i,o,a,s){var l=1&i,c=e(n),u=c.length;if(u!=e(r).length&&!l)return!1;for(var d=u;d--;){var f=c[d];if(!(l?f in r:t.call(r,f)))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=l;++d<u;){var v=n[f=c[d]],b=r[f];if(o)var y=l?o(b,v,f,r,n,s):o(v,b,f,n,r,s);if(!(void 0===y?v===b||a(v,b,i,o,s):y)){g=!1;break}m||(m="constructor"==f)}if(g&&!m){var _=n.constructor,x=r.constructor;_==x||!("constructor"in n)||!("constructor"in r)||"function"==typeof _&&_ instanceof _&&"function"==typeof x&&x instanceof x||(g=!1)}return s.delete(n),s.delete(r),g},dI}(),i=HI(),o=$L(),a=iT(),s=iD(),l="[object Arguments]",c="[object Array]",u="[object Object]",d=Object.prototype.hasOwnProperty;return kI=function(f,h,p,g,m,v){var b=o(f),y=o(h),_=b?c:i(f),x=y?c:i(h),w=(_=_==l?u:_)==u,k=(x=x==l?u:x)==u,C=_==x;if(C&&a(f)){if(!a(h))return!1;b=!0,w=!1}if(C&&!w)return v||(v=new e),b||s(f)?t(f,h,p,g,m,v):n(f,h,_,p,g,m,v);if(!(1&p)){var A=w&&d.call(f,"__wrapped__"),S=k&&d.call(h,"__wrapped__");if(A||S){var M=A?f.value():f,E=S?h.value():h;return v||(v=new e),m(M,E,p,g,v)}}return!!C&&(v||(v=new e),r(f,h,p,g,m,v))},kI}function $I(){if(SI)return AI;SI=1;var e=qI(),t=HL();return AI=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))},AI}var UI=j(function(){if(EI)return MI;EI=1;var e=$I();return MI=function(t,n){return e(t,n)}}()),VI=L(),GI=!0,YI="default",ZI=function(e){var t=e.children,n=e.animate,r=void 0===n||n,i=e.config,o=void 0===i?"default":i,a=M((function(){var e=IF(o)?EA[o]:o;return{animate:r,config:e}}),[r,o]);return An(VI.Provider,{value:a,children:t})},XI=function(){return E(VI)},KI=function(e){var t=e.children,n=e.condition,r=e.wrapper;return n?O(r,{},t):t},JI={position:"relative"},QI=function(e){var t=e.children,n=e.theme,r=e.renderWrapper,i=void 0===r||r,o=e.isInteractive,a=void 0===o||o,s=e.animate,l=e.motionConfig,c=C(null);return An(vF,{theme:n,children:An(ZI,{animate:s,config:l,children:An(PF,{container:c,children:An(KI,{condition:i,wrapper:An("div",{style:JI,ref:c}),children:[t,a&&An(NF,{})]})})})})},eB=function(e,t){return e.width===t.width&&e.height===t.height},tB=function(e){var t=e.children,n=e.width,i=e.height,o=e.onResize,a=ZF({width:n,height:i},e.debounceResize,{equalityFn:eB})[0];return w((function(){null==o||o(a)}),[a,o]),An(r,{children:t(a)})},nB=function(e){var t=e.children,n=e.defaultWidth,r=e.defaultHeight,i=e.onResize,o=e.debounceResize,a=void 0===o?0:o;return An(GF,{defaultWidth:n,defaultHeight:r,children:function(e){var n=e.width,r=e.height;return An(tB,{width:n,height:r,onResize:i,debounceResize:a,children:t})}})};function rB(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function iB(){return iB=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},iB.apply(null,arguments)}function oB(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}var aB=["id","colors"],sB={linearGradient:function(e){var t=e.id,n=e.colors;return An("linearGradient",iB({id:t,x1:0,x2:0,y1:0,y2:1},oB(e,aB),{children:n.map((function(e){var t=e.offset,n=e.color,r=e.opacity;return An("stop",{offset:t+"%",stopColor:n,stopOpacity:void 0!==r?r:1},t)}))}))}},lB="#000000",cB="#ffffff",uB=4,dB=4,fB=!1,hB=T((function(e){var t=e.id,n=e.background,r=void 0===n?cB:n,i=e.color,o=void 0===i?lB:i,a=e.size,s=void 0===a?uB:a,l=e.padding,c=void 0===l?dB:l,u=e.stagger,d=void 0===u?fB:u,f=s+c,h=s/2,p=c/2;return!0===d&&(f=2*s+2*c),An("pattern",{id:t,width:f,height:f,patternUnits:"userSpaceOnUse",children:[An("rect",{width:f,height:f,fill:r}),An("circle",{cx:p+h,cy:p+h,r:h,fill:o}),d&&An("circle",{cx:1.5*c+s+h,cy:1.5*c+s+h,r:h,fill:o})]})})),pB=function(e){return e*Math.PI/180},gB=function(e){return 180*e/Math.PI},mB=function(e,t){return{x:Math.cos(e)*t,y:Math.sin(e)*t}},vB={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"}}},bB=5,yB=0,_B="#000000",xB="#ffffff",wB=2,kB=T((function(e){var t=e.id,n=e.spacing,r=void 0===n?bB:n,i=e.rotation,o=void 0===i?yB:i,a=e.background,s=void 0===a?_B:a,l=e.color,c=void 0===l?xB:l,u=e.lineWidth,d=void 0===u?wB:u,f=Math.round(o)%360,h=Math.abs(r);f>180?f-=360:f>90?f-=180:f<-180?f+=360:f<-90&&(f+=180);var p,g=h,m=h;return 0===f?p="\n M 0 0 L "+g+" 0\n M 0 "+m+" L "+g+" "+m+"\n ":90===f?p="\n M 0 0 L 0 "+m+"\n M "+g+" 0 L "+g+" "+m+"\n ":(g=Math.abs(h/Math.sin(pB(f))),m=h/Math.sin(pB(90-f)),p=f>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 "),An("pattern",{id:t,width:g,height:m,patternUnits:"userSpaceOnUse",children:[An("rect",{width:g,height:m,fill:s,stroke:"rgba(255, 0, 0, 0.1)",strokeWidth:0}),An("path",{d:p,strokeWidth:d,stroke:c,strokeLinecap:"square"})]})})),CB="#000000",AB="#ffffff",SB=4,MB=4,EB=!1,LB=T((function(e){var t=e.id,n=e.color,r=void 0===n?CB:n,i=e.background,o=void 0===i?AB:i,a=e.size,s=void 0===a?SB:a,l=e.padding,c=void 0===l?MB:l,u=e.stagger,d=void 0===u?EB:u,f=s+c,h=c/2;return!0===d&&(f=2*s+2*c),An("pattern",{id:t,width:f,height:f,patternUnits:"userSpaceOnUse",children:[An("rect",{width:f,height:f,fill:o}),An("rect",{x:h,y:h,width:s,height:s,fill:r}),d&&An("rect",{x:1.5*c+s,y:1.5*c+s,width:s,height:s,fill:r})]})})),TB={patternDots:hB,patternLines:kB,patternSquares:LB},DB=["type"],FB=iB({},sB,TB),OB=T((function(e){var t=e.defs;return!t||t.length<1?null:An("defs",{"aria-hidden":!0,children:t.map((function(e){var t=e.type,n=oB(e,DB);return FB[t]?F(FB[t],iB({key:n.id},n)):null}))})})),zB=A((function(e,t){var n=e.width,r=e.height,i=e.margin,o=e.defs,a=e.children,s=e.role,l=e.ariaLabel,c=e.ariaLabelledBy,u=e.ariaDescribedBy,d=e.isFocusable,f=bF();return An("svg",{xmlns:"http://www.w3.org/2000/svg",width:n,height:r,role:s,"aria-label":l,"aria-labelledby":c,"aria-describedby":u,focusable:d,tabIndex:d?0:void 0,ref:t,children:[An(OB,{defs:o}),An("rect",{width:n,height:r,fill:f.background}),An("g",{transform:"translate("+i.left+","+i.top+")",children:a})]})})),RB=T((function(e){var t=e.size,n=e.color,r=e.borderWidth;return An("circle",{r:t/2,fill:n,stroke:e.borderColor,strokeWidth:r,style:{pointerEvents:"none"}})})),NB=T((function(e){var t=e.x,n=e.y,r=e.symbol,i=void 0===r?RB:r,o=e.size,a=e.datum,s=e.color,l=e.borderWidth,c=e.borderColor,u=e.label,d=e.labelTextAnchor,f=void 0===d?"middle":d,h=e.labelYOffset,p=void 0===h?-12:h,g=e.ariaLabel,m=e.ariaLabelledBy,v=e.ariaDescribedBy,b=e.ariaHidden,y=e.ariaDisabled,_=e.isFocusable,x=void 0!==_&&_,w=e.tabIndex,k=void 0===w?0:w,C=e.onFocus,A=e.onBlur,M=e.testId,E=bF(),L=XI(),T=L.animate,D=yS({transform:"translate("+t+", "+n+")",config:L.config,immediate:!T}),O=S((function(e){null==C||C(a,e)}),[C,a]),z=S((function(e){null==A||A(a,e)}),[A,a]);return An(TE.g,{transform:D.transform,style:{pointerEvents:"none"},focusable:x,tabIndex:x?k:void 0,"aria-label":g,"aria-labelledby":m,"aria-describedby":v,"aria-disabled":y,"aria-hidden":b,onFocus:x&&C?O:void 0,onBlur:x&&A?z:void 0,"data-testid":M,children:[F(i,{size:o,color:s,datum:a,borderWidth:l,borderColor:c}),u&&An("text",{textAnchor:f,y:p,style:uF(E.dots.text),children:u})]})})),PB=T((function(e){var t=e.width,n=e.height,r=e.axis,i=e.scale,o=e.value,a=e.lineStyle,s=e.textStyle,l=e.legend,c=e.legendNode,u=e.legendPosition,d=void 0===u?"top-right":u,f=e.legendOffsetX,h=void 0===f?14:f,p=e.legendOffsetY,g=void 0===p?14:p,m=e.legendOrientation,v=void 0===m?"horizontal":m,b=bF(),y=0,_=0,x=0,w=0;if("y"===r?(x=i(o),_=t):(y=i(o),w=n),l&&!c){var k=function(e){var t=e.width,n=e.height,r=e.position,i=e.offsetX,o=e.offsetY,a=e.orientation,s=0,l=0,c="vertical"===a?-90:0,u="start";if("x"===e.axis)switch(r){case"top-left":s=-i,l=o,u="end";break;case"top":l=-o,u="horizontal"===a?"middle":"start";break;case"top-right":s=i,l=o,u="horizontal"===a?"start":"end";break;case"right":s=i,l=n/2,u="horizontal"===a?"start":"middle";break;case"bottom-right":s=i,l=n-o,u="start";break;case"bottom":l=n+o,u="horizontal"===a?"middle":"end";break;case"bottom-left":l=n-o,s=-i,u="horizontal"===a?"end":"start";break;case"left":s=-i,l=n/2,u="horizontal"===a?"end":"middle"}else switch(r){case"top-left":s=i,l=-o,u="start";break;case"top":s=t/2,l=-o,u="horizontal"===a?"middle":"start";break;case"top-right":s=t-i,l=-o,u="horizontal"===a?"end":"start";break;case"right":s=t+i,u="horizontal"===a?"start":"middle";break;case"bottom-right":s=t-i,l=o,u="end";break;case"bottom":s=t/2,l=o,u="horizontal"===a?"middle":"end";break;case"bottom-left":s=i,l=o,u="horizontal"===a?"start":"end";break;case"left":s=-i,u="horizontal"===a?"end":"middle"}return{x:s,y:l,rotation:c,textAnchor:u}}({axis:r,width:t,height:n,position:d,offsetX:h,offsetY:g,orientation:v});c=An("text",{transform:"translate("+k.x+", "+k.y+") rotate("+k.rotation+")",textAnchor:k.textAnchor,dominantBaseline:"central",style:s,children:l})}return An("g",{transform:"translate("+y+", "+x+")",children:[An("line",{x1:0,x2:_,y1:0,y2:w,stroke:b.markers.lineColor,strokeWidth:b.markers.lineStrokeWidth,style:a}),c]})})),IB=T((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 An(PB,iB({},e,{width:n,height:r,scale:"y"===e.axis?o:i}),t)})):null})),BB=function(e){var t=XI(),n=t.animate,r=t.config,i=function(e){var t=C();return w((function(){t.current=e}),[e]),t.current}(e),o=M((function(){return vi(i,e)}),[i,e]),a=yS({from:{value:0},to:{value:1},reset:!0,config:r,immediate:!n}).value;return SS(a,o)};L(void 0);var jB={basis:Yl,basisClosed:function(e){return new Zl(e)},basisOpen:function(e){return new Xl(e)},bundle:Jl,cardinal:tc,cardinalClosed:rc,cardinalOpen:oc,catmullRom:lc,catmullRomClosed:uc,catmullRomOpen:fc,linear:Pl,linearClosed:function(e){return new hc(e)},monotoneX:function(e){return new bc(e)},monotoneY:function(e){return new yc(e)},natural:function(e){return new xc(e)},step:function(e){return new kc(e,.5)},stepAfter:function(e){return new kc(e,1)},stepBefore:function(e){return new kc(e,0)}},WB=Object.keys(jB);WB.filter((function(e){return e.endsWith("Closed")})),SO(WB,"bundle","basisClosed","basisOpen","cardinalClosed","cardinalOpen","catmullRomClosed","catmullRomOpen","linearClosed"),SO(WB,"bundle","basisClosed","basisOpen","cardinalClosed","cardinalOpen","catmullRomClosed","catmullRomOpen","linearClosed");var HB=function(e){if(!jB[e])throw new TypeError("'"+e+"', is not a valid curve interpolator identifier.");return jB[e]};eR(BO),eR(WO),eR(qO),eR(UO),eR(GO),eR(ZO),eR(KO),eR(QO),eR(tz),eR(Mz),eR(Lz),eR(Dz),eR(Pz),eR(Oz),eR(Rz),eR(rz),eR(oz),eR(sz),eR(cz),eR(dz),eR(hz),eR(gz),eR(vz),eR(yz),eR(xz),eR(kz),eR(Az),eR(BO),eR(WO),eR(qO),eR(UO),eR(GO),eR(ZO),eR(KO),eR(QO),eR(tz),eR(Mz),eR(Lz),eR(Dz),eR(Pz),eR(Oz),eR(Rz),eR(rz),eR(oz),eR(sz),eR(cz),eR(dz),eR(hz),eR(gz),eR(vz),eR(yz),eR(xz),eR(kz),eR(Az),Zi(NO);var qB={top:0,right:0,bottom:0,left:0},$B=function(e,t,n){return void 0===n&&(n={}),M((function(){var r=iB({},qB,n);return{margin:r,innerWidth:e-r.left-r.right,innerHeight:t-r.top-r.bottom,outerWidth:e,outerHeight:t}}),[e,t,n])},UB=function(){var e=C(null),t=x({left:0,top:0,width:0,height:0}),n=t[0],r=t[1],i=x((function(){return"undefined"==typeof ResizeObserver?null:new ResizeObserver((function(e){var t=e[0];return r(t.contentRect)}))}))[0];return w((function(){return e.current&&null!==i&&i.observe(e.current),function(){null!==i&&i.disconnect()}}),[i]),[e,n]},VB=function(e){return"function"==typeof e?e:"string"==typeof e?0===e.indexOf("time:")?UR(e.slice("5")):dR(e):function(e){return""+e}},GB=function(e){return M((function(){return VB(e)}),[e])},YB=function(e){return tR(e)?e:function(t){return iF(t,e)}},ZB=function(e){return M((function(){return YB(e)}),[e])},XB=function(e,t,n,r){return Math.sqrt(Math.pow(n-e,2)+Math.pow(r-t,2))},KB=function(e,t,n,r,i,o){return e<=i&&i<=e+n&&t<=o&&o<=t+r},JB=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]},QB=Object.keys(sB),ej=Object.keys(TB),tj=function(e,t,n,r){var i=void 0===r?{}:r,o=i.dataKey,a=i.colorKey,s=void 0===a?"color":a,l=i.targetKey,c=void 0===l?"fill":l,u=[],d={};return e.length&&t.length&&(u=[].concat(e),t.forEach((function(t){for(var r,i=function(){var n=r.value,i=n.id;if(function(e,t,n){if("*"===e)return!0;if(tR(e))return e(t);if(OP(e)){var r=n?iF(t,n):t;return UI(TI(r,Object.keys(e)),e)}return!1}(n.match,t,o)){var a=e.find((function(e){return e.id===i}));if(a)if(ej.includes(a.type))if("inherit"===a.background||"inherit"===a.color){var l=iF(t,s),f=a.background,h=a.color,p=i;"inherit"===a.background&&(p=p+".bg."+l,f=l),"inherit"===a.color&&(p=p+".fg."+l,h=l),sF(t,c,"url(#"+p+")"),d[p]||(u.push(iB({},a,{id:p,background:f,color:h})),d[p]=1)}else sF(t,c,"url(#"+i+")");else if(QB.includes(a.type))if(a.colors.map((function(e){return e.color})).includes("inherit")){var g=iF(t,s),m=i,v=iB({},a,{colors:a.colors.map((function(e,t){return"inherit"!==e.color?e:(m=m+"."+t+"."+g,iB({},e,{color:"inherit"===e.color?g:e.color}))}))});v.id=m,sF(t,c,"url(#"+m+")"),d[m]||(u.push(v),d[m]=1)}else sF(t,c,"url(#"+i+")");return 1}},a=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return rB(e,t);var n={}.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)?rB(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.")}(n);!(r=a()).done&&!i(););}))),u};function nj(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){for(var n=0,r=t;n<r.length;n++){var i=r[n];"function"==typeof i?i(e):null!=i&&(i.current=e)}}}var rj=function(e,t){e.font=(t.fontWeight?t.fontWeight+" ":"")+t.fontSize+"px "+t.fontFamily},ij=function(e,t,n,r,i){void 0===r&&(r=0),void 0===i&&(i=0),t.outlineWidth>0&&(e.strokeStyle=t.outlineColor,e.lineWidth=2*t.outlineWidth,e.lineJoin="round",e.strokeText(n,r,i)),e.fillStyle=t.fill,e.fillText(n,r,i)};function oj(){return oj=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},oj.apply(null,arguments)}function aj(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}var sj,lj,cj,uj,dj,fj,hj,pj,gj=["style","children"],mj=["outlineWidth","outlineColor","outlineOpacity"],vj=function(e){var t=e.style,n=e.children,i=aj(e,gj),o=t.outlineWidth,a=t.outlineColor,s=t.outlineOpacity,l=aj(t,mj);return An(r,{children:[o>0&&An(TE.text,oj({},i,{style:oj({},l,{strokeWidth:2*o,stroke:a,strokeOpacity:s,strokeLinejoin:"round"}),children:n})),An(TE.text,oj({},i,{style:l,children:n}))]})};function bj(){if(uj)return cj;uj=1;var e=WI(),t=lj?sj:(lj=1,sj=function(){}),n=FI(),r=e&&1/n(new e([,-0]))[1]==1/0?function(t){return new e(t)}:t;return cj=r}function yj(){if(fj)return dj;fj=1;var e=_O(),t=wO(),n=kO(),r=CO(),i=bj(),o=FI();return dj=function(a,s,l){var c=-1,u=t,d=a.length,f=!0,h=[],p=h;if(l)f=!1,u=n;else if(d>=200){var g=s?null:i(a);if(g)return o(g);f=!1,u=r,p=new e}else p=s?[]:h;e:for(;++c<d;){var m=a[c],v=s?s(m):m;if(m=l||0!==m?m:0,f&&v==v){for(var b=p.length;b--;)if(p[b]===v)continue e;s&&p.push(v),h.push(m)}else u(p,v,l)||(p!==h&&p.push(v),h.push(m))}return h},dj}var _j,xj,wj,kj,Cj,Aj,Sj,Mj,Ej,Lj,Tj,Dj,Fj,Oj,zj,Rj,Nj,Pj,Ij,Bj,jj,Wj,Hj=function(){if(pj)return hj;pj=1;var e=yj();return hj=function(t){return t&&t.length?e(t):[]},hj}(),qj=j(Hj);function $j(){if(kj)return wj;kj=1;var e=IE();return wj=function(t){return t==t&&!e(t)}}function Uj(){if(Mj)return Sj;return Mj=1,Sj=function(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}},Sj}function Vj(){if(Lj)return Ej;Lj=1;var e=function(){if(xj)return _j;xj=1;var e=YE(),t=$I();return _j=function(n,r,i,o){var a=i.length,s=a,l=!o;if(null==n)return!s;for(n=Object(n);a--;){var c=i[a];if(l&&c[2]?c[1]!==n[c[0]]:!(c[0]in n))return!1}for(;++a<s;){var u=(c=i[a])[0],d=n[u],f=c[1];if(l&&c[2]){if(void 0===d&&!(u in n))return!1}else{var h=new e;if(o)var p=o(d,f,u,n,r,h);if(!(void 0===p?t(f,d,3,o,h):p))return!1}}return!0},_j}(),t=function(){if(Aj)return Cj;Aj=1;var e=$j(),t=BI();return Cj=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},Cj}(),n=Uj();return Ej=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)}},Ej}function Gj(){if(Pj)return Nj;Pj=1;var e=(Oj||(Oj=1,Fj=function(e){return function(t){return null==t?void 0:t[e]}}),Fj),t=function(){if(Rj)return zj;Rj=1;var e=JD();return zj=function(t){return function(n){return e(n,t)}},zj}(),n=VD(),r=KD();return Nj=function(i){return n(i)?e(r(i)):t(i)}}function Yj(){if(Bj)return Ij;Bj=1;var e=Vj(),t=function(){if(Dj)return Tj;Dj=1;var e=$I(),t=QD(),n=zP(),r=VD(),i=$j(),o=Uj(),a=KD();return Tj=function(s,l){return r(s)&&i(l)?o(a(s),l):function(r){var i=t(r,s);return void 0===i&&i===l?n(r,s):e(l,i,3)}},Tj}(),n=hD(),r=$L(),i=Gj();return Ij=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 Zj,Xj,Kj,Jj,Qj,eW,tW,nW,rW,iW,oW,aW,sW,lW,cW,uW,dW,fW,hW=function(){if(Wj)return jj;Wj=1;var e=Yj(),t=yj();return jj=function(n,r){return n&&n.length?t(n,e(r,2)):[]},jj}(),pW=j(hW);function gW(){if(eW)return Qj;eW=1;var e=function(){if(Xj)return Zj;Xj=1;var e=JE(),t=BI();return Zj=function(n,r){return n&&e(n,r,t)},Zj}(),t=function(){if(Jj)return Kj;Jj=1;var e=VL();return Kj=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}},Kj}(),n=t(e);return Qj=n}function mW(){if(lW)return sW;lW=1;var e=function(){if(aW)return oW;aW=1;var e=UD();return oW=function(t,n){if(t!==n){var r=void 0!==t,i=null===t,o=t==t,a=e(t),s=void 0!==n,l=null===n,c=n==n,u=e(n);if(!l&&!u&&!a&&t>n||a&&s&&c&&!l&&!u||i&&s&&c||!r&&c||!o)return 1;if(!i&&!a&&!u&&t<n||u&&r&&o&&!i&&!a||l&&r&&o||!s&&o||!c)return-1}return 0}}();return sW=function(t,n,r){for(var i=-1,o=t.criteria,a=n.criteria,s=o.length,l=r.length;++i<s;){var c=e(o[i],a[i]);if(c)return i>=l?c:c*("desc"==r[i]?-1:1)}return t.index-n.index},sW}function vW(){if(uW)return cW;uW=1;var e=YD(),t=JD(),n=Yj(),r=function(){if(nW)return tW;nW=1;var e=gW(),t=VL();return tW=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},tW}(),i=(iW||(iW=1,rW=function(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}),rW),o=aT(),a=mW(),s=hD(),l=$L();return cW=function(c,u,d){u=u.length?e(u,(function(e){return l(e)?function(n){return t(n,1===e.length?e[0]:e)}:e})):[s];var f=-1;u=e(u,o(n));var h=r(c,(function(t,n,r){return{criteria:e(u,(function(e){return e(t)})),index:++f,value:t}}));return i(h,(function(e,t){return a(e,t,d)}))},cW}var bW,yW,_W,xW,wW=j(function(){if(fW)return dW;fW=1;var e=PP(),t=vW(),n=vD(),r=bD(),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 dW=i}());var kW=j(function(){if(xW)return _W;xW=1;var e=function(){if(yW)return bW;yW=1;var e=PE(),t=HL();return bW=function(n){return t(n)&&"[object Date]"==e(n)}}(),t=aT(),n=rD(),r=n&&n.isDate,i=r?t(r):e;return _W=i}()),CW=new Date,AW=new Date;function SW(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 SW((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 CW.setTime(+t),AW.setTime(+r),e(CW),e(AW),Math.floor(n(CW,AW))},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 MW=SW((function(){}),(function(e,t){e.setTime(+e+t)}),(function(e,t){return t-e}));MW.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?SW((function(t){t.setTime(Math.floor(t/e)*e)}),(function(t,n){t.setTime(+t+n*e)}),(function(t,n){return(n-t)/e})):MW:null},MW.range;var EW=1e3,LW=6e4,TW=36e5,DW=6048e5,FW=SW((function(e){e.setTime(e-e.getMilliseconds())}),(function(e,t){e.setTime(+e+t*EW)}),(function(e,t){return(t-e)/EW}),(function(e){return e.getUTCSeconds()}));FW.range;var OW=SW((function(e){e.setTime(e-e.getMilliseconds()-e.getSeconds()*EW)}),(function(e,t){e.setTime(+e+t*LW)}),(function(e,t){return(t-e)/LW}),(function(e){return e.getMinutes()}));OW.range;var zW=SW((function(e){e.setTime(e-e.getMilliseconds()-e.getSeconds()*EW-e.getMinutes()*LW)}),(function(e,t){e.setTime(+e+t*TW)}),(function(e,t){return(t-e)/TW}),(function(e){return e.getHours()}));function RW(e){return SW((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())*LW)/DW}))}zW.range;var NW=RW(0),PW=RW(1),IW=RW(2),BW=RW(3),jW=RW(4),WW=RW(5),HW=RW(6);NW.range,PW.range,IW.range,BW.range,jW.range,WW.range,HW.range;var qW=SW((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()}));qW.range;var $W=SW((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()}));$W.every=function(e){return isFinite(e=Math.floor(e))&&e>0?SW((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},$W.range;var UW=SW((function(e){e.setUTCSeconds(0,0)}),(function(e,t){e.setTime(+e+t*LW)}),(function(e,t){return(t-e)/LW}),(function(e){return e.getUTCMinutes()}));UW.range;var VW=SW((function(e){e.setUTCMinutes(0,0,0)}),(function(e,t){e.setTime(+e+t*TW)}),(function(e,t){return(t-e)/TW}),(function(e){return e.getUTCHours()}));function GW(e){return SW((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)/DW}))}VW.range;var YW=GW(0),ZW=GW(1),XW=GW(2),KW=GW(3),JW=GW(4),QW=GW(5),eH=GW(6);YW.range,ZW.range,XW.range,KW.range,JW.range,QW.range,eH.range;var tH=SW((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()}));tH.range;var nH=SW((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 rH(){return rH=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},rH.apply(null,arguments)}nH.every=function(e){return isFinite(e=Math.floor(e))&&e>0?SW((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},nH.range;var iH=[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)}],oH={millisecond:[],second:iH.slice(0,1),minute:iH.slice(0,2),hour:iH.slice(0,3),day:iH.slice(0,4),month:iH.slice(0,5),year:iH.slice(0,6)},aH=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 oH[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?GR(n):VR(n);return s(t(e))}},sH=0,lH="auto",cH=!1,uH=!1,dH=!1,fH=!0,hH=!1,pH=function(e,t){void 0===t&&(t=!1);var n=e;return n.type="linear",n.stacked=t,n},gH=!1,mH=function(e){var t=e;return t.type="band",t},vH="native",bH="millisecond",yH="auto",_H="auto",xH=!0,wH=!1,kH=function(e,t,n){var r,i,o=e.format,a=void 0===o?vH:o,s=e.precision,l=void 0===s?bH:s,c=e.min,u=void 0===c?yH:c,d=e.max,f=void 0===d?_H:d,h=e.useUTC,p=void 0===h?xH:h,g=e.nice,m=void 0===g?wH:g,v=aH({format:a,precision:l,useUTC:p});r="auto"===u?v(t.min):"native"!==a?v(u):u,i="auto"===f?v(t.max):"native"!==a?v(f):f;var b=p?rl():function(){return Vi.apply(nl(Ea,La,ka,xa,aa,na,ea,Jo,Ko,za).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}();b.range([0,n]),r&&i&&b.domain([r,i]),!0===m?b.nice():"object"!=typeof m&&"number"!=typeof m||b.nice(m);var y=b;return y.type="time",y.useUTC=p,y},CH=10,AH="auto",SH="auto",MH=!1,EH=!1,LH=!0,TH=function(e,t,n,r){var i,o=e.base,a=void 0===o?CH:o,s=e.min,l=void 0===s?AH:s,c=e.max,u=void 0===c?SH:c,d=e.round,f=void 0===d?MH:d,h=e.reverse,p=void 0===h?EH:h,g=e.nice,m=void 0===g?LH:g;if(t.all.some((function(e){return 0===e})))throw new Error("a log scale domain must not include or cross zero");var v,b,y=!1;if(t.all.filter((function(e){return null!=e})).forEach((function(e){y||(void 0===i?i=Math.sign(e):Math.sign(e)!==i&&(y=!0))})),y)throw new Error("a log scale domain must be strictly-positive or strictly-negative");v="auto"===l?t.min:l,b="auto"===u?t.max:u;var _=Ro().base(a),x="x"===r?[0,n]:[n,0];!0===f?_.rangeRound(x):_.range(x),!0===p?_.domain([b,v]):_.domain([v,b]),!0===m?_.nice():"number"==typeof m&&_.nice(m);var w=_;return w.type="log",w},DH=1,FH="auto",OH="auto",zH=!1,RH=!1,NH=!0,PH=function(e,t){return e===t},IH=function(e,t){return e.getTime()===t.getTime()};function BH(e,t,n,r){switch(e.type){case"linear":return function(e,t,n,r){var i,o,a,s,l=e.min,c=void 0===l?sH:l,u=e.max,d=void 0===u?lH:u,f=e.stacked,h=void 0===f?cH:f,p=e.reverse,g=void 0===p?uH:p,m=e.clamp,v=void 0===m?dH:m,b=e.nice,y=void 0===b?fH:b,_=e.round,x=void 0===_?hH:_;i="auto"===c?!0===h?null!=(o=t.minStacked)?o:0:t.min:c,a="auto"===d?!0===h?null!=(s=t.maxStacked)?s:0:t.max:d;var w=So().range("x"===r?[0,n]:[n,0]).interpolate(x?yi:hi).domain(g?[a,i]:[i,a]).clamp(v);return!0===y?w.nice():"number"==typeof y&&w.nice(y),pH(w,h)}(e,t,n,r);case"point":return function(e,t,n){var r=Ji().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?gH:i,a=Xi().range("x"===r?[0,n]:[n,0]).domain(t.all).round(o);return mH(a)}(e,t,n,r);case"time":return kH(e,t,n);case"log":return TH(e,t,n,r);case"symlog":return function(e,t,n,r){var i,o,a=e.constant,s=void 0===a?DH:a,l=e.min,c=void 0===l?FH:l,u=e.max,d=void 0===u?OH:u,f=e.round,h=void 0===f?zH:f,p=e.reverse,g=void 0===p?RH:p,m=e.nice,v=void 0===m?NH:m;i="auto"===c?t.min:c,o="auto"===d?t.max:d;var b=Io().constant(s),y="x"===r?[0,n]:[n,0];!0===h?b.rangeRound(y):b.range(y),!0===g?b.domain([o,i]):b.domain([i,o]),!0===v?b.nice():"number"==typeof v&&b.nice(v);var _=b;return _.type="symlog",_}(e,t,n,r);default:throw new Error("invalid scale spec")}}var jH=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},WH=function(e,t,n,r,i){var o=e.map((function(e){return function(e){return rH({},e,{data:e.data.map((function(e){return{data:rH({},e)}}))})}(e)})),a=HH(o,t,n);"stacked"in t&&!0===t.stacked&&UH(a,o),"stacked"in n&&!0===n.stacked&&VH(a,o);var s=BH(t,a.x,r,"x"),l=BH(n,a.y,i,"y"),c=o.map((function(e){return rH({},e,{data:e.data.map((function(e){return rH({},e,{position:{x:jH(e,"x",s),y:jH(e,"y",l)}})}))})}));return rH({},a,{series:c,xScale:s,yScale:l})},HH=function(e,t,n){return{x:qH(e,"x",t),y:qH(e,"y",n)}},qH=function(e,t,n,r){var i={},o=i.getValue,a=void 0===o?function(e){return e.data[t]}:o,s=i.setValue,l=void 0===s?function(e,n){e.data[t]=n}:s;if("linear"===n.type)e.forEach((function(e){e.data.forEach((function(e){var t=a(e);t&&l(e,parseFloat(String(t)))}))}));else if("time"===n.type&&"native"!==n.format){var c=aH(n);e.forEach((function(e){e.data.forEach((function(e){var t=a(e);t&&l(e,c(t))}))}))}var u=[];switch(e.forEach((function(e){e.data.forEach((function(e){u.push(a(e))}))})),n.type){case"linear":var d=wW(qj(u).filter((function(e){return null!==e})),(function(e){return e}));return{all:d,min:Math.min.apply(Math,d),max:Math.max.apply(Math,d)};case"time":var f=pW(u,(function(e){return e.getTime()})).slice(0).sort((function(e,t){return t.getTime()-e.getTime()})).reverse();return{all:f,min:f[0],max:eR(f)};default:var h=qj(u);return{all:h,min:h[0],max:eR(h)}}},$H=function(e,t,n){var r=function(e){return"x"===e?"y":"x"}(e),i=[];t[r].all.forEach((function(t){var o=kW(t)?IH:PH,a=[];n.forEach((function(n){var s=n.data.find((function(e){return o(e.data[r],t)})),l=null,c=null;if(void 0!==s){if(null!==(l=s.data[e])){var u=eR(a);void 0===u?c=l:null!==u&&(c=u+l)}s.data["x"===e?"xStacked":"yStacked"]=c}a.push(c),null!==c&&i.push(c)}))})),t[e].minStacked=Math.min.apply(Math,i),t[e].maxStacked=Math.max.apply(Math,i)},UH=function(e,t){return $H("x",e,t)},VH=function(e,t){return $H("y",e,t)},GH=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}},YH={millisecond:[MW,MW],second:[FW,FW],minute:[OW,UW],hour:[zW,VW],day:[SW((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)})),SW((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:[NW,YW],sunday:[NW,YW],monday:[PW,ZW],tuesday:[IW,XW],wednesday:[BW,KW],thursday:[jW,JW],friday:[WW,QW],saturday:[HW,eH],month:[qW,tH],year:[$W,nH]},ZH=Object.keys(YH),XH=new RegExp("^every\\s*(\\d+)?\\s*("+ZH.join("|")+")s?$","i"),KH=function(e,t){if(Array.isArray(t))return t;if("string"==typeof t&&"useUTC"in e){var n=t.match(XH);if(n){var r=n[1],i=n[2],o=YH[i][e.useUTC?1:0];if("day"===i){var a,s,l=e.domain(),c=l[0],u=l[1],d=new Date(u);return d.setDate(d.getDate()+1),null!=(a=null==(s=o.every(Number(null!=r?r:1)))?void 0:s.range(c,d))?a:[]}if(void 0===r)return e.ticks(o);var f=o.every(Number(r));if(f)return e.ticks(f)}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 JH(){return JH=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},JH.apply(null,arguments)}var QH=function(e){var t,n=e.axis,r=e.scale,i=e.ticksPosition,o=e.tickValues,a=e.tickSize,s=e.tickPadding,l=e.tickRotation,c=e.truncateTickAt,u=e.engine,d=void 0===u?"svg":u,f=KH(r,o),h=vB[d],p="bandwidth"in r?GH(r):r,g={lineX:0,lineY:0},m={textX:0,textY:0},v="object"==typeof document&&"rtl"===document.dir,b=h.align.center,y=h.baseline.center;return"x"===n?(t=function(e){var t;return{x:null!=(t=p(e))?t:0,y:0}},g.lineY=a*("after"===i?1:-1),m.textY=(a+s)*("after"===i?1:-1),y="after"===i?h.baseline.top:h.baseline.bottom,0===l?b=h.align.center:"after"===i&&l<0||"before"===i&&l>0?(b=h.align[v?"left":"right"],y=h.baseline.center):("after"===i&&l>0||"before"===i&&l<0)&&(b=h.align[v?"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),b="after"===i?h.align.left:h.align.right),{ticks:f.map((function(e){var n="string"==typeof e?function(e){var t=String(e).length;return c&&c>0&&t>c?""+String(e).slice(0,c).concat("..."):""+e}(e):e;return JH({key:e instanceof Date?""+e.valueOf():""+e,value:n},t(e),g,m)})),textAlign:b,textBaseline:y}},eq=function(e,t){if(void 0===e||"function"==typeof e)return e;if("time"===t.type){var n=UR(e);return function(e){return n(e instanceof Date?e:new Date(e))}}return dR(e)},tq=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)||KH(i,a)),l="bandwidth"in i?GH(i):i,c="x"===o?s.map((function(e){var t,n;return{key:e instanceof Date?""+e.valueOf():""+e,x1:null!=(t=l(e))?t:0,x2:null!=(n=l(e))?n:0,y1:0,y2:r}})):s.map((function(e){var t,r;return{key:e instanceof Date?""+e.valueOf():""+e,x1:0,x2:n,y1:null!=(t=l(e))?t:0,y2:null!=(r=l(e))?r:0}}));return c},nq=T((function(e){var t,n=e.value,r=e.format,i=e.lineX,o=e.lineY,a=e.onClick,s=e.textBaseline,l=e.textAnchor,c=e.theme,u=e.animatedProps,d=null!=(t=null==r?void 0:r(n))?t:n,f=M((function(){var e={opacity:u.opacity};return a?{style:JH({},e,{cursor:"pointer"}),onClick:function(e){return a(e,d)}}:{style:e}}),[u.opacity,a,d]);return An(TE.g,JH({transform:u.transform},f,{children:[An("line",{x1:0,x2:i,y1:0,y2:o,style:c.line}),An(vj,{dominantBaseline:s,textAnchor:l,transform:u.textTransform,style:c.text,children:""+d})]}))})),rq={tickSize:5,tickPadding:5,tickRotation:0,legendPosition:"middle",legendOffset:0},iq=T((function(e){var t=e.axis,n=e.scale,i=e.x,o=void 0===i?0:i,a=e.y,s=void 0===a?0:a,l=e.length,c=e.ticksPosition,u=e.tickValues,d=e.tickSize,f=void 0===d?rq.tickSize:d,h=e.tickPadding,p=void 0===h?rq.tickPadding:h,g=e.tickRotation,m=void 0===g?rq.tickRotation:g,v=e.format,b=e.renderTick,y=void 0===b?nq:b,x=e.truncateTickAt,w=e.legend,k=e.legendPosition,C=void 0===k?rq.legendPosition:k,A=e.legendOffset,E=void 0===A?rq.legendOffset:A,L=e.style,T=e.onClick,D=e.ariaHidden,F=function(e,t){return M((function(){return hF(e,t)}),[e,t])}(bF().axis,L),O=M((function(){return eq(v,n)}),[v,n]),z=QH({axis:t,scale:n,ticksPosition:c,tickValues:u,tickSize:f,tickPadding:p,tickRotation:m,truncateTickAt:x}),R=z.ticks,N=z.textAlign,P=z.textBaseline,I=null;if(void 0!==w){var B,j=0,W=0,H=0;"y"===t?(H=-90,j=E,"start"===C?(B="start",W=l):"middle"===C?(B="middle",W=l/2):"end"===C&&(B="end")):(W=E,"start"===C?B="start":"middle"===C?(B="middle",j=l/2):"end"===C&&(B="end",j=l)),I=An(r,{children:An(vj,{transform:"translate("+j+", "+W+") rotate("+H+")",textAnchor:B,style:JH({},F.legend.text,{dominantBaseline:"central"}),children:w})})}var q=XI(),$=q.animate,U=q.config,V=yS({transform:"translate("+o+","+s+")",lineX2:"x"===t?l:0,lineY2:"x"===t?0:l,config:U,immediate:!$}),G=S((function(e){return{opacity:1,transform:"translate("+e.x+","+e.y+")",textTransform:"translate("+e.textX+","+e.textY+") rotate("+m+")"}}),[m]),Y=S((function(e){return{opacity:0,transform:"translate("+e.x+","+e.y+")",textTransform:"translate("+e.textX+","+e.textY+") rotate("+m+")"}}),[m]),Z=_S(R,{keys:function(e){return e.key},initial:G,from:Y,enter:G,update:G,leave:{opacity:0},config:U,immediate:!$});return An(TE.g,{transform:V.transform,"aria-hidden":D,children:[Z((function(e,t,n,r){return _.createElement(y,JH({tickIndex:r,format:O,rotate:m,textBaseline:P,textAnchor:N,truncateTickAt:x,animatedProps:e,theme:F.ticks},t,T?{onClick:T}:{}))})),An(TE.line,{style:F.domain.line,x1:0,x2:V.lineX2,y1:0,y2:V.lineY2}),I]})})),oq=["top","right","bottom","left"],aq=T((function(e){var t=e.xScale,n=e.yScale,i=e.width,o=e.height,a={top:e.top,right:e.right,bottom:e.bottom,left:e.left};return An(r,{children:oq.map((function(e){var r=a[e];if(!r)return null;var s="top"===e||"bottom"===e;return An(iq,JH({},r,{axis:s?"x":"y",x:"right"===e?i:0,y:"bottom"===e?o:0,scale:s?t:n,length:s?i:o,ticksPosition:"top"===e||"left"===e?"before":"after",truncateTickAt:r.truncateTickAt}),e)}))})})),sq=T((function(e){var t=e.animatedProps,n=bF();return An(TE.line,JH({},t,n.grid.line))})),lq=T((function(e){var t=e.lines,n=XI(),r=n.animate,i=_S(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 An("g",{children:i((function(e,t){return F(sq,JH({},t,{key:t.key,animatedProps:e}))}))})})),cq=T((function(e){var t=e.width,n=e.height,i=e.xScale,o=e.yScale,a=e.xValues,s=e.yValues,l=M((function(){return!!i&&tq({width:t,height:n,scale:i,axis:"x",values:a})}),[i,a,t,n]),c=M((function(){return!!o&&tq({width:t,height:n,scale:o,axis:"y",values:s})}),[n,t,o,s]);return An(r,{children:[l&&An(lq,{lines:l}),c&&An(lq,{lines:c})]})})),uq=function(e,t){var n,r,i=t.axis,o=t.scale,a=t.x,s=void 0===a?0:a,l=t.y,c=void 0===l?0:l,u=t.length,d=t.ticksPosition,f=t.tickValues,h=t.tickSize,p=void 0===h?rq.tickSize:h,g=t.tickPadding,m=void 0===g?rq.tickPadding:g,v=t.tickRotation,b=void 0===v?rq.tickRotation:v,y=t.format,_=t.legend,x=t.legendPosition,w=void 0===x?rq.legendPosition:x,k=t.legendOffset,C=void 0===k?rq.legendOffset:k,A=t.theme,S=t.style,M=QH({axis:i,scale:o,ticksPosition:d,tickValues:f,tickSize:p,tickPadding:m,tickRotation:b,engine:"canvas"}),E=M.ticks,L=M.textAlign,T=M.textBaseline;e.save(),e.translate(s,c);var D=hF(A.axis,S);e.textAlign=L,e.textBaseline=T,rj(e,D.ticks.text);var F=null!=(n=D.domain.line.strokeWidth)?n:0;"string"!=typeof F&&F>0&&(e.lineWidth=F,e.lineCap="square",D.domain.line.stroke&&(e.strokeStyle=D.domain.line.stroke),e.beginPath(),e.moveTo(0,0),e.lineTo("x"===i?u:0,"x"===i?0:u),e.stroke());var O="function"==typeof y?y:function(e){return""+e},z=null!=(r=D.ticks.line.strokeWidth)?r:0,R="string"!=typeof z&&z>0;if(E.forEach((function(t){R&&(e.lineWidth=z,e.lineCap="square",D.ticks.line.stroke&&(e.strokeStyle=D.ticks.line.stroke),e.beginPath(),e.moveTo(t.x,t.y),e.lineTo(t.x+t.lineX,t.y+t.lineY),e.stroke());var n=O(t.value);e.save(),e.translate(t.x+t.textX,t.y+t.textY),e.rotate(pB(b)),ij(e,D.ticks.text,""+n),e.fillText(""+n,0,0),e.restore()})),void 0!==_){var N=0,P=0,I=0,B="center";"y"===i?(I=-90,N=C,"start"===w?(B="start",P=u):"middle"===w?(B="center",P=u/2):"end"===w&&(B="end")):(P=C,"start"===w?B="start":"middle"===w?(B="center",N=u/2):"end"===w&&(B="end",N=u)),e.translate(N,P),e.rotate(pB(I)),rj(e,D.legend.text),D.legend.text.fill&&(e.fillStyle=D.legend.text.fill),e.textAlign=B,e.textBaseline="middle",ij(e,D.legend.text,_)}e.restore()},dq=function(e,t){var n=t.xScale,r=t.yScale,i=t.width,o=t.height,a=t.top,s=t.right,l=t.bottom,c=t.left,u=t.theme,d={top:a,right:s,bottom:l,left:c};oq.forEach((function(t){var a=d[t];if(!a)return null;var s="top"===t||"bottom"===t,l="top"===t||"left"===t?"before":"after",c=s?n:r,f=eq(a.format,c);uq(e,JH({},a,{axis:s?"x":"y",x:"right"===t?i:0,y:"bottom"===t?o:0,scale:c,format:f,length:s?i:o,ticksPosition:l,theme:u}))}))},fq=function(e,t){var n=t.width,r=t.height,i=t.scale,o=t.axis,a=t.values;tq({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 hq(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function pq(){return pq=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},pq.apply(null,arguments)}var gq={nivo:["#e8c1a0","#f47560","#f1e15b","#e8a838","#61cdbb","#97e3d5"],category10:EO,accent:LO,dark2:TO,paired:DO,pastel1:FO,pastel2:OO,set1:zO,set2:RO,set3:NO,tableau10:PO},mq=Object.keys(gq),vq={brown_blueGreen:BO,purpleRed_green:WO,pink_yellowGreen:qO,purple_orange:UO,red_blue:GO,red_grey:ZO,red_yellow_blue:KO,red_yellow_green:QO,spectral:tz},bq=Object.keys(vq),yq={brown_blueGreen:jO,purpleRed_green:HO,pink_yellowGreen:$O,purple_orange:VO,red_blue:YO,red_grey:XO,red_yellow_blue:JO,red_yellow_green:ez,spectral:nz},_q={blues:Mz,greens:Lz,greys:Dz,oranges:Pz,purples:Oz,reds:Rz,blue_green:rz,blue_purple:oz,green_blue:sz,orange_red:cz,purple_blue_green:dz,purple_blue:hz,purple_red:gz,red_purple:vz,yellow_green_blue:yz,yellow_green:xz,yellow_orange_brown:kz,yellow_orange_red:Az},xq=Object.keys(_q),wq={blues:Ez,greens:Tz,greys:Fz,oranges:Iz,purples:zz,reds:Nz,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:Zz,inferno:Kz,magma:Xz,plasma:Jz,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:jz,cool:Wz,cubehelixDefault:Bz,blue_green:iz,blue_purple:az,green_blue:lz,orange_red:uz,purple_blue_green:fz,purple_blue:pz,purple_red:mz,red_purple:bz,yellow_green_blue:_z,yellow_green:wz,yellow_orange_brown:Cz,yellow_orange_red:Sz},kq=pq({},gq,vq,_q),Cq={rainbow:function(e){(e<0||e>1)&&(e-=Math.floor(e));var t=Math.abs(e-.5);return Hz.h=360*e-100,Hz.s=1.5-1.5*t,Hz.l=.8-.9*t,Hz+""},sinebow:function(e){var t;return e=(.5-e)*Math.PI,qz.r=255*(t=Math.sin(e))*t,qz.g=255*(t=Math.sin(e+$z))*t,qz.b=255*(t=Math.sin(e+Uz))*t,qz+""}},Aq=pq({},yq,wq,Cq),Sq=function(e,t){if("function"==typeof e)return e;if(OP(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=iF(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 iF(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 hq(e,t);var n={}.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)?hq(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)}),Fr(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}},Mq=function(e,t){return M((function(){return Sq(e,t)}),[e,t])},Eq="turbo",Lq="red_yellow_blue",Tq=.5,Dq="turbo",Fq=7,Oq=function(e,t){var n=Bo().domain(e.domain||[t.min,t.max]).nice();if("colors"in e)n.range(e.colors);else{var r=e.scheme||Dq,i=void 0===e.steps?Fq:e.steps,o=Aq[r],a=Array.from({length:i}).map((function(e,t){return o(t*(1/(i-1)))}));n.range(a)}return n},zq=function(e,t){if(function(e){return"sequential"===e.type}(e))return function(e,t){var n=e.minValue,r=e.maxValue,i=void 0!==n?n:t.min,o=void 0!==r?r:t.max,a=ol().domain([i,o]).clamp(!0);if("colors"in e)a.range(e.colors);else if("interpolator"in e)a.interpolator(e.interpolator);else{var s,l=null!=(s=e.scheme)?s:Eq;a.interpolator(Aq[l])}return a}(e,t);if(function(e){return"diverging"===e.type}(e))return function(e,t){var n,r=e.minValue,i=e.maxValue,o=void 0!==r?r:t.min,a=void 0!==i?i:t.max,s=[o,o+(a-o)/2,a],l=.5-(null!=(n=e.divergeAt)?n:Tq),c=sl().domain(s).clamp(!0),u=function(e){return String(e)};if("colors"in e)u=sl().domain(s.map((function(e){return e-l*(a-o)}))).range(e.colors).interpolator();else if("interpolator"in e)u=e.interpolator;else{var d,f=null!=(d=e.scheme)?d:Lq;u=Aq[f]}return c.interpolator((function(e){return u(e+l)}))}(e,t);if(function(e){return"quantize"===e.type}(e))return Oq(e,t);throw new Error("Invalid continuous color scale config")},Rq=function(e,t){if("function"==typeof e)return e;var n="function"==typeof t?t:function(e){return iF(e,t)};if(Array.isArray(e)){var r=Zi(e),i=function(e){return r(n(e))};return i.scale=r,i}if(OP(e)){if(function(e){return void 0!==e.datum}(e))return function(t){return iF(t,e.datum)};if(function(e){return void 0!==e.scheme}(e)){if(function(e){return mq.includes(e)}(e.scheme)){var o=Zi(kq[e.scheme]),a=function(e){return o(n(e))};return a.scale=o,a}if(function(e){return bq.includes(e)}(e.scheme)){if(void 0!==e.size&&(e.size<3||e.size>11))throw new Error("Invalid size '"+e.size+"' for diverging color scheme '"+e.scheme+"', must be between 3~11");var s=Zi(kq[e.scheme][e.size||11]),l=function(e){return s(n(e))};return l.scale=s,l}if(function(e){return xq.includes(e)}(e.scheme)){if(void 0!==e.size&&(e.size<3||e.size>9))throw new Error("Invalid size '"+e.size+"' for sequential color scheme '"+e.scheme+"', must be between 3~9");var c=Zi(kq[e.scheme][e.size||9]),u=function(e){return c(n(e))};return u.scale=c,u}}throw new Error("Invalid colors, when using an object, you should either pass a 'datum' or a 'scheme' property")}return function(){return e}},Nq=function(e,t){return M((function(){return Rq(e,t)}),[e,t])};function Pq(){return Pq=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Pq.apply(null,arguments)}var Iq,Bq,jq=0,Wq=0,Hq=0,qq=0,$q="left-to-right",Uq=!1,Vq="square",Gq=16,Yq=8,Zq={length:200,thickness:16,direction:"row",tickPosition:"after",tickSize:4,tickSpacing:3,tickOverlap:!1,tickFormat:function(e){return""+e},titleAlign:"start",titleOffset:4},Xq={top:0,right:0,bottom:0,left:0},Kq=function(e){var t,n=e.direction,r=e.itemsSpacing,i=e.padding,o=e.itemCount,a=e.itemWidth,s=e.itemHeight;if("number"!=typeof i&&("object"!=typeof(t=i)||Array.isArray(t)||null===t))throw new Error("Invalid property padding, must be one of: number, object");var l="number"==typeof i?{top:i,right:i,bottom:i,left:i}:Pq({},Xq,i),c=l.left+l.right,u=l.top+l.bottom,d=a+c,f=s+u,h=(o-1)*r;return"row"===n?d=a*o+h+c:"column"===n&&(f=s*o+h+u),{width:d,height:f,padding:l}},Jq=function(e){var t=e.anchor,n=e.translateX,r=e.translateY,i=e.containerWidth,o=e.containerHeight,a=e.width,s=e.height,l=n,c=r;switch(t){case"top":l+=(i-a)/2;break;case"top-right":l+=i-a;break;case"right":l+=i-a,c+=(o-s)/2;break;case"bottom-right":l+=i-a,c+=o-s;break;case"bottom":l+=(i-a)/2,c+=o-s;break;case"bottom-left":c+=o-s;break;case"left":c+=(o-s)/2;break;case"center":l+=(i-a)/2,c+=(o-s)/2}return{x:l,y:c}},Qq=function(e){var t,n,r,i,o,a,s=e.direction,l=e.justify,c=e.symbolSize,u=e.symbolSpacing,d=e.width,f=e.height;switch(s){case"left-to-right":t=0,n=(f-c)/2,i=f/2,a="central",l?(r=d,o="end"):(r=c+u,o="start");break;case"right-to-left":t=d-c,n=(f-c)/2,i=f/2,a="central",l?(r=0,o="start"):(r=d-c-u,o="end");break;case"top-to-bottom":t=(d-c)/2,n=0,r=d/2,o="middle",l?(i=f,a="alphabetic"):(i=c+u,a="text-before-edge");break;case"bottom-to-top":t=(d-c)/2,n=f-c,r=d/2,o="middle",l?(i=0,a="text-before-edge"):(i=f-c-u,a="alphabetic")}return{symbolX:t,symbolY:n,labelX:r,labelY:i,labelAnchor:o,labelAlignment:a}},e$=function(e){var t,n=e.scale,r=e.ticks,i=e.length,o=void 0===i?Zq.length:i,a=e.thickness,s=void 0===a?Zq.thickness:a,l=e.direction,c=void 0===l?Zq.direction:l,u=e.tickPosition,d=void 0===u?Zq.tickPosition:u,f=e.tickSize,h=void 0===f?Zq.tickSize:f,p=e.tickSpacing,g=void 0===p?Zq.tickSpacing:p,m=e.tickOverlap,v=void 0===m?Zq.tickOverlap:m,b=e.tickFormat,y=void 0===b?Zq.tickFormat:b,_=e.title,x=e.titleAlign,w=void 0===x?Zq.titleAlign:x,k=e.titleOffset,C=void 0===k?Zq.titleOffset:k,A="column"===c?[].concat(n.domain()).reverse():n.domain(),S=So().domain(A);2===A.length?S.range([0,o]):3===A.length&&S.range([0,o/2,o]),t="thresholds"in n?[A[0]].concat(n.thresholds(),[A[1]]):Array.isArray(r)?r:n.ticks(r);var M,E,L,T,D,F,O,z,R,N,P,I,B,j,W=function(e,t){var n=e.domain();if("thresholds"in e){var r=[],i=So().domain(n).range([0,1]);return e.range().forEach((function(t,n){var o=e.invertExtent(t),a=o[0],s=o[1];r.push({key:n+".0",offset:i(a),stopColor:t}),r.push({key:n+".1",offset:i(s),stopColor:t})})),r}var o=e.copy();return 2===n.length?o.domain([0,1]):3===n.length&&o.domain([0,.5,1]),o.ticks(t).map((function(e){return{key:""+e,offset:e,stopColor:""+o(e)}}))}(n,32),H=VB(y),q=[],$=0,U=0;"row"===c?(M=o,E=s,U=1,D=0,L="start"===w?0:"middle"===w?o/2:o,"before"===d?(O=-h,z=v?s:0,R=-h-g,N="alphabetic",T=s+C,F="hanging"):(O=v?0:s,R=(z=s+h)+g,N="hanging",T=-C,F="alphabetic"),t.forEach((function(e){var t=S(e);q.push({x1:t,y1:O,x2:t,y2:z,text:H(e),textX:t,textY:R,textHorizontalAlign:"middle",textVerticalAlign:N})}))):(M=s,E=o,$=1,D=-90,T="start"===w?o:"middle"===w?o/2:0,"before"===d?(I=v?s:0,B=(P=-h)-g,j="end",L=s+C,F="hanging"):(P=v?0:s,B=(I=s+h)+g,j="start",L=-C,F="alphabetic"),t.forEach((function(e){var t=S(e);q.push({x1:P,y1:t,x2:I,y2:t,text:H(e),textX:B,textY:t,textHorizontalAlign:j,textVerticalAlign:"central"})})));return{width:M,height:E,gradientX1:0,gradientY1:$,gradientX2:U,gradientY2:0,colorStops:W,ticks:q,titleText:_,titleX:L,titleY:T,titleRotation:D,titleHorizontalAlign:w,titleVerticalAlign:F}},t$=function(e){var t=e.scale,n=e.ticks,r=e.length,i=void 0===r?Zq.length:r,o=e.thickness,a=void 0===o?Zq.thickness:o,s=e.direction,l=void 0===s?Zq.direction:s,c=e.tickPosition,u=void 0===c?Zq.tickPosition:c,d=e.tickSize,f=void 0===d?Zq.tickSize:d,h=e.tickSpacing,p=void 0===h?Zq.tickSpacing:h,g=e.tickOverlap,m=void 0===g?Zq.tickOverlap:g,v=e.tickFormat,b=void 0===v?Zq.tickFormat:v,y=e.title,_=e.titleAlign,x=void 0===_?Zq.titleAlign:_,w=e.titleOffset,k=e$({scale:t,ticks:n,length:i,thickness:a,direction:l,tickPosition:u,tickSize:f,tickSpacing:p,tickOverlap:m,tickFormat:b,title:y,titleAlign:x,titleOffset:void 0===w?Zq.titleOffset:w}),C=k.width,A=k.height,S=k.gradientX1,M=k.gradientY1,E=k.gradientX2,L=k.gradientY2,T=k.ticks,D=k.colorStops,F=k.titleText,O=k.titleX,R=k.titleY,N=k.titleRotation,P=k.titleVerticalAlign,I=k.titleHorizontalAlign,B=bF(),j="ContinuousColorsLegendSvgGradient."+l+"."+D.map((function(e){return e.stopColor.replace(/[(),\s]/g,"")+"."+e.offset})).join("_");return An("g",{children:[An("defs",{children:An("linearGradient",{id:j,x1:S,y1:M,x2:E,y2:L,children:D.map((function(e){return An("stop",{offset:e.offset,stopColor:e.stopColor},e.key)}))})}),F&&An("text",{transform:"translate("+O+", "+R+") rotate("+N+")",textAnchor:I,dominantBaseline:P,style:B.legends.title.text,children:F}),An("rect",{width:C,height:A,fill:"url(#"+j}),T.map((function(e,t){return An(z,{children:[An("line",{x1:e.x1,y1:e.y1,x2:e.x2,y2:e.y2,style:B.legends.ticks.line}),An(vj,{x:e.textX,y:e.textY,textAnchor:e.textHorizontalAlign,dominantBaseline:e.textVerticalAlign,style:B.legends.ticks.text,children:e.text})]},t)}))]})},n$=["containerWidth","containerHeight","anchor","translateX","translateY","length","thickness","direction"],r$=function(e){var t,n,r=e.containerWidth,i=e.containerHeight,o=e.anchor,a=e.translateX,s=void 0===a?0:a,l=e.translateY,c=void 0===l?0:l,u=e.length,d=void 0===u?Zq.length:u,f=e.thickness,h=void 0===f?Zq.thickness:f,p=e.direction,g=void 0===p?Zq.direction:p,m=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,n$);"row"===g?(t=d,n=h):(t=h,n=d);var v=Jq({anchor:o,translateX:s,translateY:c,containerWidth:r,containerHeight:i,width:t,height:n});return An("g",{transform:"translate("+v.x+", "+v.y+")",children:An(t$,Pq({length:d,thickness:h,direction:g},m))})},i$={circle:function(e){var t=e.x,n=e.y,r=e.size,i=e.fill,o=e.opacity,a=void 0===o?1:o,s=e.borderWidth,l=void 0===s?0:s,c=e.borderColor;return An("circle",{r:r/2,cx:t+r/2,cy:n+r/2,fill:i,opacity:a,strokeWidth:l,stroke:void 0===c?"transparent":c,style:{pointerEvents:"none"}})},diamond:function(e){var t=e.x,n=e.y,r=e.size,i=e.fill,o=e.opacity,a=void 0===o?1:o,s=e.borderWidth,l=void 0===s?0:s,c=e.borderColor;return An("g",{transform:"translate("+t+","+n+")",children:An("path",{d:"\n M"+r/2+" 0\n L"+.8*r+" "+r/2+"\n L"+r/2+" "+r+"\n L"+.2*r+" "+r/2+"\n L"+r/2+" 0\n ",fill:i,opacity:a,strokeWidth:l,stroke:void 0===c?"transparent":c,style:{pointerEvents:"none"}})})},square:function(e){var t=e.x,n=e.y,r=e.size,i=e.fill,o=e.opacity,a=void 0===o?1:o,s=e.borderWidth,l=void 0===s?0:s,c=e.borderColor;return An("rect",{x:t,y:n,fill:i,opacity:a,strokeWidth:l,stroke:void 0===c?"transparent":c,width:r,height:r,style:{pointerEvents:"none"}})},triangle:function(e){var t=e.x,n=e.y,r=e.size,i=e.fill,o=e.opacity,a=void 0===o?1:o,s=e.borderWidth,l=void 0===s?0:s,c=e.borderColor;return An("g",{transform:"translate("+t+","+n+")",children:An("path",{d:"\n M"+r/2+" 0\n L"+r+" "+r+"\n L0 "+r+"\n L"+r/2+" 0\n ",fill:i,opacity:a,strokeWidth:l,stroke:void 0===c?"transparent":c,style:{pointerEvents:"none"}})})}},o$=function(e){var t,n,r,i,o,a,s,l,c,u,d,f=e.x,h=e.y,p=e.width,g=e.height,m=e.data,v=e.direction,b=void 0===v?$q:v,y=e.justify,w=void 0===y?Uq:y,k=e.textColor,C=e.background,A=void 0===C?"transparent":C,M=e.opacity,E=void 0===M?1:M,L=e.symbolShape,T=void 0===L?Vq:L,D=e.symbolSize,F=void 0===D?Gq:D,O=e.symbolSpacing,z=void 0===O?Yq:O,R=e.symbolBorderWidth,N=void 0===R?0:R,P=e.symbolBorderColor,I=void 0===P?"transparent":P,B=e.onClick,j=e.onMouseEnter,W=e.onMouseLeave,H=e.toggleSerie,q=e.effects,$=x({}),U=$[0],V=$[1],G=bF(),Y=S((function(e){if(q){var t=q.filter((function(e){return"hover"===e.on})).reduce((function(e,t){return Pq({},e,t.style)}),{});V(t)}null==j||j(m,e)}),[j,m,q]),Z=S((function(e){if(q){var t=q.filter((function(e){return"hover"!==e.on})).reduce((function(e,t){return Pq({},e,t.style)}),{});V(t)}null==W||W(m,e)}),[W,m,q]),X=Qq({direction:b,justify:w,symbolSize:null!=(t=U.symbolSize)?t:F,symbolSpacing:z,width:p,height:g}),K=X.symbolX,J=X.symbolY,Q=X.labelX,ee=X.labelY,te=X.labelAnchor,ne=X.labelAlignment,re=[B,j,W,H].some((function(e){return void 0!==e})),ie="function"==typeof T?T:i$[T];return An("g",{transform:"translate("+f+","+h+")",style:{opacity:null!=(n=U.itemOpacity)?n:E},children:[An("rect",{width:p,height:g,fill:null!=(r=U.itemBackground)?r:A,style:{cursor:re?"pointer":"auto"},onClick:function(e){null==B||B(m,e),null==H||H(m.id)},onMouseEnter:Y,onMouseLeave:Z}),_.createElement(ie,Pq({id:m.id,x:K,y:J,size:null!=(i=U.symbolSize)?i:F,fill:null!=(o=null!=(a=m.fill)?a:m.color)?o:"black",borderWidth:null!=(s=U.symbolBorderWidth)?s:N,borderColor:null!=(l=U.symbolBorderColor)?l:I},m.hidden?G.legends.hidden.symbol:void 0)),An(vj,{textAnchor:te,style:Pq({},G.legends.text,{fill:null!=(c=null!=(u=null!=(d=U.itemTextColor)?d:k)?u:G.legends.text.fill)?c:"black",dominantBaseline:ne,pointerEvents:"none",userSelect:"none"},m.hidden?G.legends.hidden.text:void 0),x:Q,y:ee,children:m.label})]})},a$=function(e){var t=e.data,n=e.x,r=e.y,i=e.direction,o=e.padding,a=void 0===o?Hq:o,s=e.justify,l=e.effects,c=e.itemWidth,u=e.itemHeight,d=e.itemDirection,f=void 0===d?$q:d,h=e.itemsSpacing,p=void 0===h?qq:h,g=e.itemTextColor,m=e.itemBackground,v=void 0===m?"transparent":m,b=e.itemOpacity,y=void 0===b?1:b,_=e.symbolShape,x=e.symbolSize,w=e.symbolSpacing,k=e.symbolBorderWidth,C=e.symbolBorderColor,A=e.onClick,S=e.onMouseEnter,M=e.onMouseLeave,E=e.toggleSerie,L=Kq({itemCount:t.length,itemWidth:c,itemHeight:u,itemsSpacing:p,direction:i,padding:a}).padding,T="row"===i?c+p:0,D="column"===i?u+p:0;return An("g",{transform:"translate("+n+","+r+")",children:t.map((function(e,t){return An(o$,{data:e,x:t*T+L.left,y:t*D+L.top,width:c,height:u,direction:f,justify:s,effects:l,textColor:g,background:v,opacity:y,symbolShape:_,symbolSize:x,symbolSpacing:w,symbolBorderWidth:k,symbolBorderColor:C,onClick:A,onMouseEnter:S,onMouseLeave:M,toggleSerie:E},t)}))})},s$=function(e){var t=e.data,n=e.containerWidth,r=e.containerHeight,i=e.translateX,o=void 0===i?jq:i,a=e.translateY,s=void 0===a?Wq:a,l=e.anchor,c=e.direction,u=e.padding,d=void 0===u?Hq:u,f=e.justify,h=e.itemsSpacing,p=void 0===h?qq:h,g=e.itemWidth,m=e.itemHeight,v=e.itemDirection,b=e.itemTextColor,y=e.itemBackground,_=e.itemOpacity,x=e.symbolShape,w=e.symbolSize,k=e.symbolSpacing,C=e.symbolBorderWidth,A=e.symbolBorderColor,S=e.onClick,M=e.onMouseEnter,E=e.onMouseLeave,L=e.toggleSerie,T=e.effects,D=Kq({itemCount:t.length,itemsSpacing:p,itemWidth:g,itemHeight:m,direction:c,padding:d}),F=D.width,O=D.height,z=Jq({anchor:l,translateX:o,translateY:s,containerWidth:n,containerHeight:r,width:F,height:O}),R=z.x,N=z.y;return An(a$,{data:t,x:R,y:N,direction:c,padding:d,justify:f,effects:T,itemsSpacing:p,itemWidth:g,itemHeight:m,itemDirection:v,itemTextColor:b,itemBackground:y,itemOpacity:_,symbolShape:x,symbolSize:w,symbolSpacing:k,symbolBorderWidth:C,symbolBorderColor:A,onClick:S,onMouseEnter:M,onMouseLeave:E,toggleSerie:"boolean"==typeof L?void 0:L})},l$={start:"left",middle:"center",end:"right"},c$=function(e,t){var n=t.data,r=t.containerWidth,i=t.containerHeight,o=t.translateX,a=void 0===o?0:o,s=t.translateY,l=void 0===s?0:s,c=t.anchor,u=t.direction,d=t.padding,f=void 0===d?0:d,h=t.justify,p=void 0!==h&&h,g=t.itemsSpacing,m=void 0===g?0:g,v=t.itemWidth,b=t.itemHeight,y=t.itemDirection,_=void 0===y?"left-to-right":y,x=t.itemTextColor,w=t.symbolSize,k=void 0===w?16:w,C=t.symbolSpacing,A=void 0===C?8:C,S=t.theme,M=Kq({itemCount:n.length,itemWidth:v,itemHeight:b,itemsSpacing:m,direction:u,padding:f}),E=M.width,L=M.height,T=M.padding,D=Jq({anchor:c,translateX:a,translateY:l,containerWidth:r,containerHeight:i,width:E,height:L}),F=D.x,O=D.y,z="row"===u?v+m:0,R="column"===u?b+m:0;e.save(),e.translate(F,O),rj(e,S.legends.text),n.forEach((function(t,n){var r,i=n*z+T.left,o=n*R+T.top,a=Qq({direction:_,justify:p,symbolSize:k,symbolSpacing:A,width:v,height:b}),s=a.symbolX,l=a.symbolY,c=a.labelX,u=a.labelY,d=a.labelAnchor,f=a.labelAlignment;e.fillStyle=null!=(r=t.color)?r:"black",e.fillRect(i+s,o+l,k,k),e.textAlign=l$[d],"central"===f&&(e.textBaseline="middle"),ij(e,Pq({},S.legends.text,{fill:null!=x?x:S.legends.text.fill}),String(t.label),i+c,o+u)})),e.restore()};var u$=function(){if(Bq)return Iq;Bq=1;var e=ZD(),t=0;return Iq=function(n){var r=++t;return e(n)+r},Iq}(),d$=j(u$);const f$=134217729;function h$(e,t,n,r,i){let o,a,s,l,c=t[0],u=r[0],d=0,f=0;u>c==u>-c?(o=c,c=t[++d]):(o=u,u=r[++f]);let h=0;if(d<e&&f<n)for(u>c==u>-c?(a=c+o,s=o-(a-c),c=t[++d]):(a=u+o,s=o-(a-u),u=r[++f]),o=a,0!==s&&(i[h++]=s);d<e&&f<n;)u>c==u>-c?(a=o+c,l=a-o,s=o-(a-l)+(c-l),c=t[++d]):(a=o+u,l=a-o,s=o-(a-l)+(u-l),u=r[++f]),o=a,0!==s&&(i[h++]=s);for(;d<e;)a=o+c,l=a-o,s=o-(a-l)+(c-l),c=t[++d],o=a,0!==s&&(i[h++]=s);for(;f<n;)a=o+u,l=a-o,s=o-(a-l)+(u-l),u=r[++f],o=a,0!==s&&(i[h++]=s);return 0===o&&0!==h||(i[h++]=o),h}function p$(e){return new Float64Array(e)}const g$=p$(4),m$=p$(8),v$=p$(12),b$=p$(16),y$=p$(4);function _$(e,t,n,r,i,o){const a=(t-o)*(n-i),s=(e-i)*(r-o),l=a-s,c=Math.abs(a+s);return Math.abs(l)>=33306690738754716e-32*c?l:-function(e,t,n,r,i,o,a){let s,l,c,u,d,f,h,p,g,m,v,b,y,_,x,w,k,C;const A=e-i,S=n-i,M=t-o,E=r-o;_=A*E,f=f$*A,h=f-(f-A),p=A-h,f=f$*E,g=f-(f-E),m=E-g,x=p*m-(_-h*g-p*g-h*m),w=M*S,f=f$*M,h=f-(f-M),p=M-h,f=f$*S,g=f-(f-S),m=S-g,k=p*m-(w-h*g-p*g-h*m),v=x-k,d=x-v,g$[0]=x-(v+d)+(d-k),b=_+v,d=b-_,y=_-(b-d)+(v-d),v=y-w,d=y-v,g$[1]=y-(v+d)+(d-w),C=b+v,d=C-b,g$[2]=b-(C-d)+(v-d),g$[3]=C;let L=function(e,t){let n=t[0];for(let r=1;r<e;r++)n+=t[r];return n}(4,g$),T=22204460492503146e-32*a;if(L>=T||-L>=T)return L;if(d=e-A,s=e-(A+d)+(d-i),d=n-S,c=n-(S+d)+(d-i),d=t-M,l=t-(M+d)+(d-o),d=r-E,u=r-(E+d)+(d-o),0===s&&0===l&&0===c&&0===u)return L;if(T=11093356479670487e-47*a+33306690738754706e-32*Math.abs(L),L+=A*u+E*s-(M*c+S*l),L>=T||-L>=T)return L;_=s*E,f=f$*s,h=f-(f-s),p=s-h,f=f$*E,g=f-(f-E),m=E-g,x=p*m-(_-h*g-p*g-h*m),w=l*S,f=f$*l,h=f-(f-l),p=l-h,f=f$*S,g=f-(f-S),m=S-g,k=p*m-(w-h*g-p*g-h*m),v=x-k,d=x-v,y$[0]=x-(v+d)+(d-k),b=_+v,d=b-_,y=_-(b-d)+(v-d),v=y-w,d=y-v,y$[1]=y-(v+d)+(d-w),C=b+v,d=C-b,y$[2]=b-(C-d)+(v-d),y$[3]=C;const D=h$(4,g$,4,y$,m$);_=A*u,f=f$*A,h=f-(f-A),p=A-h,f=f$*u,g=f-(f-u),m=u-g,x=p*m-(_-h*g-p*g-h*m),w=M*c,f=f$*M,h=f-(f-M),p=M-h,f=f$*c,g=f-(f-c),m=c-g,k=p*m-(w-h*g-p*g-h*m),v=x-k,d=x-v,y$[0]=x-(v+d)+(d-k),b=_+v,d=b-_,y=_-(b-d)+(v-d),v=y-w,d=y-v,y$[1]=y-(v+d)+(d-w),C=b+v,d=C-b,y$[2]=b-(C-d)+(v-d),y$[3]=C;const F=h$(D,m$,4,y$,v$);_=s*u,f=f$*s,h=f-(f-s),p=s-h,f=f$*u,g=f-(f-u),m=u-g,x=p*m-(_-h*g-p*g-h*m),w=l*c,f=f$*l,h=f-(f-l),p=l-h,f=f$*c,g=f-(f-c),m=c-g,k=p*m-(w-h*g-p*g-h*m),v=x-k,d=x-v,y$[0]=x-(v+d)+(d-k),b=_+v,d=b-_,y=_-(b-d)+(v-d),v=y-w,d=y-v,y$[1]=y-(v+d)+(d-w),C=b+v,d=C-b,y$[2]=b-(C-d)+(v-d),y$[3]=C;const O=h$(F,v$,4,y$,b$);return b$[O-1]}(e,t,n,r,i,o,c)}const x$=Math.pow(2,-52),w$=new Uint32Array(512);class k${static from(e,t=L$,n=T$){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 k$(i)}constructor(e){const t=e.length>>1;if(t>0&&"number"!=typeof e[0])throw new Error("Expected coords to contain numbers.");this.coords=e;const n=Math.max(2*t-5,0);this._triangles=new Uint32Array(3*n),this._halfedges=new Int32Array(3*n),this._hashSize=Math.ceil(Math.sqrt(t)),this._hullPrev=new Uint32Array(t),this._hullNext=new Uint32Array(t),this._hullTri=new Uint32Array(t),this._hullHash=new Int32Array(this._hashSize),this._ids=new Uint32Array(t),this._dists=new Float64Array(t),this.update()}update(){const{coords:e,_hullPrev:t,_hullNext:n,_hullTri:r,_hullHash:i}=this,o=e.length>>1;let a=1/0,s=1/0,l=-1/0,c=-1/0;for(let t=0;t<o;t++){const n=e[2*t],r=e[2*t+1];n<a&&(a=n),r<s&&(s=r),n>l&&(l=n),r>c&&(c=r),this._ids[t]=t}const u=(a+l)/2,d=(s+c)/2;let f,h,p;for(let t=0,n=1/0;t<o;t++){const r=C$(u,d,e[2*t],e[2*t+1]);r<n&&(f=t,n=r)}const g=e[2*f],m=e[2*f+1];for(let t=0,n=1/0;t<o;t++){if(t===f)continue;const r=C$(g,m,e[2*t],e[2*t+1]);r<n&&r>0&&(h=t,n=r)}let v=e[2*h],b=e[2*h+1],y=1/0;for(let t=0;t<o;t++){if(t===f||t===h)continue;const n=S$(g,m,v,b,e[2*t],e[2*t+1]);n<y&&(p=t,y=n)}let _=e[2*p],x=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];M$(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(_$(g,m,v,b,_,x)<0){const e=h,t=v,n=b;h=p,v=_,b=x,p=e,_=t,x=n}const w=function(e,t,n,r,i,o){const a=n-e,s=r-t,l=i-e,c=o-t,u=a*a+s*s,d=l*l+c*c,f=.5/(a*c-s*l),h=e+(c*u-s*d)*f,p=t+(a*d-l*u)*f;return{x:h,y:p}}(g,m,v,b,_,x);this._cx=w.x,this._cy=w.y;for(let t=0;t<o;t++)this._dists[t]=C$(e[2*t],e[2*t+1],w.x,w.y);M$(this._ids,this._dists,0,o-1),this._hullStart=f;let k=3;n[f]=t[p]=h,n[h]=t[f]=p,n[p]=t[h]=f,r[f]=0,r[h]=1,r[p]=2,i.fill(-1),i[this._hashKey(g,m)]=f,i[this._hashKey(v,b)]=h,i[this._hashKey(_,x)]=p,this.trianglesLen=0,this._addTriangle(f,h,p,-1,-1,-1);for(let o,a,s=0;s<this._ids.length;s++){const l=this._ids[s],c=e[2*l],u=e[2*l+1];if(s>0&&Math.abs(c-o)<=x$&&Math.abs(u-a)<=x$)continue;if(o=c,a=u,l===f||l===h||l===p)continue;let d=0;for(let e=0,t=this._hashKey(c,u);e<this._hashSize&&(d=i[(t+e)%this._hashSize],-1===d||d===n[d]);e++);d=t[d];let g,m=d;for(;g=n[m],_$(c,u,e[2*m],e[2*m+1],e[2*g],e[2*g+1])>=0;)if(m=g,m===d){m=-1;break}if(-1===m)continue;let v=this._addTriangle(m,l,n[m],-1,-1,r[m]);r[l]=this._legalize(v+2),r[m]=v,k++;let b=n[m];for(;g=n[b],_$(c,u,e[2*b],e[2*b+1],e[2*g],e[2*g+1])<0;)v=this._addTriangle(b,l,g,r[l],-1,r[b]),r[l]=this._legalize(v+2),n[b]=b,k--,b=g;if(m===d)for(;g=t[m],_$(c,u,e[2*g],e[2*g+1],e[2*m],e[2*m+1])<0;)v=this._addTriangle(g,l,m,-1,r[m],r[g]),this._legalize(v+2),r[g]=v,n[m]=m,k--,m=g;this._hullStart=t[l]=m,n[m]=t[b]=l,n[l]=b,i[this._hashKey(c,u)]=l,i[this._hashKey(e[2*m],e[2*m+1])]=m}this.hull=new Uint32Array(k);for(let e=0,t=this._hullStart;e<k;e++)this.hull[e]=t,t=n[t];this.triangles=this._triangles.subarray(0,this.trianglesLen),this.halfedges=this._halfedges.subarray(0,this.trianglesLen)}_hashKey(e,t){return Math.floor(function(e,t){const n=e/(Math.abs(e)+Math.abs(t));return(t>0?3-n:1+n)/4}(e-this._cx,t-this._cy)*this._hashSize)%this._hashSize}_legalize(e){const{_triangles:t,_halfedges:n,coords:r}=this;let i=0,o=0;for(;;){const a=n[e],s=e-e%3;if(o=s+(e+2)%3,-1===a){if(0===i)break;e=w$[--i];continue}const l=a-a%3,c=s+(e+1)%3,u=l+(a+2)%3,d=t[o],f=t[e],h=t[c],p=t[u];if(A$(r[2*d],r[2*d+1],r[2*f],r[2*f+1],r[2*h],r[2*h+1],r[2*p],r[2*p+1])){t[e]=p,t[a]=d;const r=n[u];if(-1===r){let t=this._hullStart;do{if(this._hullTri[t]===u){this._hullTri[t]=e;break}t=this._hullPrev[t]}while(t!==this._hullStart)}this._link(e,r),this._link(a,n[o]),this._link(o,u);const s=l+(a+1)%3;i<w$.length&&(w$[i++]=s)}else{if(0===i)break;e=w$[--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 C$(e,t,n,r){const i=e-n,o=t-r;return i*i+o*o}function A$(e,t,n,r,i,o,a,s){const l=e-a,c=t-s,u=n-a,d=r-s,f=i-a,h=o-s,p=u*u+d*d,g=f*f+h*h;return l*(d*g-p*h)-c*(u*g-p*f)+(l*l+c*c)*(u*h-d*f)<0}function S$(e,t,n,r,i,o){const a=n-e,s=r-t,l=i-e,c=o-t,u=a*a+s*s,d=l*l+c*c,f=.5/(a*c-s*l),h=(c*u-s*d)*f,p=(a*d-l*u)*f;return h*h+p*p}function M$(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;E$(e,n+r>>1,i),t[e[n]]>t[e[r]]&&E$(e,n,r),t[e[i]]>t[e[r]]&&E$(e,i,r),t[e[n]]>t[e[i]]&&E$(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;E$(e,i,o)}e[n+1]=e[o],e[o]=a,r-i+1>=o-n?(M$(e,t,i,r),M$(e,t,n,o-1)):(M$(e,t,n,o-1),M$(e,t,i,r))}}function E$(e,t,n){const r=e[t];e[t]=e[n],e[n]=r}function L$(e){return e[0]}function T$(e){return e[1]}const D$=1e-6;class F${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)>D$||Math.abs(this._y1-i)>D$)&&(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 O${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 z${constructor(e,[t,n,r,i]=[0,0,960,500]){if(!((r=+r)>=(t=+t)&&(i=+i)>=(n=+n)))throw new Error("invalid bounds");this.delaunay=e,this._circumcenters=new Float64Array(2*e.points.length),this.vectors=new Float64Array(2*e.points.length),this.xmax=r,this.xmin=t,this.ymax=i,this.ymin=n,this._init()}update(){return this.delaunay.update(),this._init(),this}_init(){const{delaunay:{points:e,hull:t,triangles:n},vectors:r}=this;let i,o;const a=this.circumcenters=this._circumcenters.subarray(0,n.length/3*2);for(let r,s,l=0,c=0,u=n.length;l<u;l+=3,c+=2){const u=2*n[l],d=2*n[l+1],f=2*n[l+2],h=e[u],p=e[u+1],g=e[d],m=e[d+1],v=e[f],b=e[f+1],y=g-h,_=m-p,x=v-h,w=b-p,k=2*(y*w-_*x);if(Math.abs(k)<1e-9){if(void 0===i){i=o=0;for(const n of t)i+=e[2*n],o+=e[2*n+1];i/=t.length,o/=t.length}const n=1e9*Math.sign((i-h)*w-(o-p)*x);r=(h+v)/2-n*w,s=(p+b)/2+n*x}else{const e=1/k,t=y*y+_*_,n=x*x+w*w;r=h+(w*t-_*n)*e,s=p+(y*n-x*t)*e}a[c]=r,a[c+1]=s}let s,l,c,u=t[t.length-1],d=4*u,f=e[2*u],h=e[2*u+1];r.fill(0);for(let n=0;n<t.length;++n)u=t[n],s=d,l=f,c=h,d=4*u,f=e[2*u],h=e[2*u+1],r[s+2]=r[d]=c-h,r[s+3]=r[d+1]=f-l}render(e){const t=null==e?e=new F$:void 0,{delaunay:{halfedges:n,inedges:r,hull:i},circumcenters:o,vectors:a}=this;if(i.length<=1)return null;for(let t=0,r=n.length;t<r;++t){const r=n[t];if(r<t)continue;const i=2*Math.floor(t/3),a=2*Math.floor(r/3),s=o[i],l=o[i+1],c=o[a],u=o[a+1];this._renderSegment(s,l,c,u,e)}let s,l=i[i.length-1];for(let t=0;t<i.length;++t){s=l,l=i[t];const n=2*Math.floor(r[l]/3),c=o[n],u=o[n+1],d=4*s,f=this._project(c,u,a[d+2],a[d+3]);f&&this._renderSegment(c,u,f[0],f[1],e)}return t&&t.value()}renderBounds(e){const t=null==e?e=new F$: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 F$: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 O$;return this.renderCell(e,t),t.value()}_renderSegment(e,t,n,r,i){let o;const a=this._regioncode(e,t),s=this._regioncode(n,r);0===a&&0===s?(i.moveTo(e,t),i.lineTo(n,r)):(o=this._clipSegment(e,t,n,r,a,s))&&(i.moveTo(o[0],o[1]),i.lineTo(o[2],o[3]))}contains(e,t,n){return(t=+t)==t&&(n=+n)==n&&this.delaunay._step(e,t,n)===e}*neighbors(e){const t=this._clip(e);if(t)for(const n of this.delaunay.neighbors(e)){const e=this._clip(n);if(e)e:for(let r=0,i=t.length;r<i;r+=2)for(let o=0,a=e.length;o<a;o+=2)if(t[r]===e[o]&&t[r+1]===e[o+1]&&t[(r+2)%i]===e[(o+a-2)%a]&&t[(r+3)%i]===e[(o+a-1)%a]){yield n;break e}}}_cell(e){const{circumcenters:t,delaunay:{inedges:n,halfedges:r,triangles:i}}=this,o=n[e];if(-1===o)return null;const a=[];let s=o;do{const n=Math.floor(s/3);if(a.push(t[2*n],t[2*n+1]),s=s%3==2?s-2:s+1,i[s]!==e)break;s=r[s]}while(s!==o&&-1!==s);return a}_clip(e){if(0===e&&1===this.delaunay.hull.length)return[this.xmax,this.ymin,this.xmax,this.ymax,this.xmin,this.ymax,this.xmin,this.ymin];const t=this._cell(e);if(null===t)return null;const{vectors:n}=this,r=4*e;return this._simplify(n[r]||n[r+1]?this._clipInfinite(e,t,n[r],n[r+1],n[r+2],n[r+3]):this._clipFinite(e,t))}_clipFinite(e,t){const n=t.length;let r,i,o,a,s=null,l=t[n-2],c=t[n-1],u=this._regioncode(l,c),d=0;for(let f=0;f<n;f+=2)if(r=l,i=c,l=t[f],c=t[f+1],o=u,u=this._regioncode(l,c),0===o&&0===u)a=d,d=0,s?s.push(l,c):s=[l,c];else{let t,n,f,h,p;if(0===o){if(null===(t=this._clipSegment(r,i,l,c,o,u)))continue;[n,f,h,p]=t}else{if(null===(t=this._clipSegment(l,c,r,i,u,o)))continue;[h,p,n,f]=t,a=d,d=this._edgecode(n,f),a&&d&&this._edge(e,a,d,s,s.length),s?s.push(n,f):s=[n,f]}a=d,d=this._edgecode(h,p),a&&d&&this._edge(e,a,d,s,s.length),s?s.push(h,p):s=[h,p]}if(s)a=d,d=this._edgecode(s[0],s[1]),a&&d&&this._edge(e,a,d,s,s.length);else if(this.contains(e,(this.xmin+this.xmax)/2,(this.ymin+this.ymax)/2))return[this.xmax,this.ymin,this.xmax,this.ymax,this.xmin,this.ymax,this.xmin,this.ymin];return s}_clipSegment(e,t,n,r,i,o){const a=i<o;for(a&&([e,t,n,r,i,o]=[n,r,e,t,o,i]);;){if(0===i&&0===o)return a?[n,r,e,t]:[e,t,n,r];if(i&o)return null;let s,l,c=i||o;8&c?(s=e+(n-e)*(this.ymax-t)/(r-t),l=this.ymax):4&c?(s=e+(n-e)*(this.ymin-t)/(r-t),l=this.ymin):2&c?(l=t+(r-t)*(this.xmax-e)/(n-e),s=this.xmax):(l=t+(r-t)*(this.xmin-e)/(n-e),s=this.xmin),i?(e=s,t=l,i=this._regioncode(e,t)):(n=s,r=l,o=this._regioncode(n,r))}}_clipInfinite(e,t,n,r,i,o){let a,s=Array.from(t);if((a=this._project(s[0],s[1],n,r))&&s.unshift(a[0],a[1]),(a=this._project(s[s.length-2],s[s.length-1],i,o))&&s.push(a[0],a[1]),s=this._clipFinite(e,s))for(let t,n=0,r=s.length,i=this._edgecode(s[r-2],s[r-1]);n<r;n+=2)t=i,i=this._edgecode(s[n],s[n+1]),t&&i&&(n=this._edge(e,t,i,s,n),r=s.length);else this.contains(e,(this.xmin+this.xmax)/2,(this.ymin+this.ymax)/2)&&(s=[this.xmin,this.ymin,this.xmax,this.ymin,this.xmax,this.ymax,this.xmin,this.ymax]);return s}_edge(e,t,n,r,i){for(;t!==n;){let n,o;switch(t){case 5:t=4;continue;case 4:t=6,n=this.xmax,o=this.ymin;break;case 6:t=2;continue;case 2:t=10,n=this.xmax,o=this.ymax;break;case 10:t=8;continue;case 8:t=9,n=this.xmin,o=this.ymax;break;case 9:t=1;continue;case 1:t=5,n=this.xmin,o=this.ymin}r[i]===n&&r[i+1]===o||!this.contains(e,n,o)||(r.splice(i,0,n,o),i+=2)}return i}_project(e,t,n,r){let i,o,a,s=1/0;if(r<0){if(t<=this.ymin)return null;(i=(this.ymin-t)/r)<s&&(a=this.ymin,o=e+(s=i)*n)}else if(r>0){if(t>=this.ymax)return null;(i=(this.ymax-t)/r)<s&&(a=this.ymax,o=e+(s=i)*n)}if(n>0){if(e>=this.xmax)return null;(i=(this.xmax-e)/n)<s&&(o=this.xmax,a=t+(s=i)*r)}else if(n<0){if(e<=this.xmin)return null;(i=(this.xmin-e)/n)<s&&(o=this.xmin,a=t+(s=i)*r)}return[o,a]}_edgecode(e,t){return(e===this.xmin?1:e===this.xmax?2:0)|(t===this.ymin?4:t===this.ymax?8:0)}_regioncode(e,t){return(e<this.xmin?1:e>this.xmax?2:0)|(t<this.ymin?4:t>this.ymax?8:0)}_simplify(e){if(e&&e.length>4){for(let t=0;t<e.length;t+=2){const n=(t+2)%e.length,r=(t+4)%e.length;(e[t]===e[n]&&e[n]===e[r]||e[t+1]===e[n+1]&&e[n+1]===e[r+1])&&(e.splice(n,2),t-=2)}e.length||(e=null)}return e}}const R$=2*Math.PI,N$=Math.pow;function P$(e){return e[0]}function I$(e){return e[1]}function B$(e,t,n){return[e+Math.sin(e+t)*n,t+Math.cos(e-t)*n]}class j${static from(e,t=P$,n=I$,r){return new j$("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 k$(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=B$(t[2*e],t[2*e+1],i);t[2*e]=n[0],t[2*e+1]=n[1]}this._delaunator=new k$(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 z$(this,e)}*neighbors(e){const{inedges:t,hull:n,_hullIndex:r,halfedges:i,triangles:o,collinear:a}=this;if(a){const t=a.indexOf(e);return t>0&&(yield a[t-1]),void(t<a.length-1&&(yield a[t+1]))}const s=t[e];if(-1===s)return;let l=s,c=-1;do{if(yield c=o[l],l=l%3==2?l-2:l+1,o[l]!==e)return;if(l=i[l],-1===l){const t=n[(r[e]+1)%n.length];return void(t!==c&&(yield t))}}while(l!==s)}find(e,t,n=0){if((e=+e)!=e||(t=+t)!=t)return-1;const r=n;let i;for(;(i=this._step(n,e,t))>=0&&i!==n&&i!==r;)n=i;return i}_step(e,t,n){const{inedges:r,hull:i,_hullIndex:o,halfedges:a,triangles:s,points:l}=this;if(-1===r[e]||!l.length)return(e+1)%(l.length>>1);let c=e,u=N$(t-l[2*e],2)+N$(n-l[2*e+1],2);const d=r[e];let f=d;do{let r=s[f];const d=N$(t-l[2*r],2)+N$(n-l[2*r+1],2);if(d<u&&(u=d,c=r),f=f%3==2?f-2:f+1,s[f]!==e)break;if(f=a[f],-1===f){if(f=i[(o[e]+1)%i.length],f!==r&&N$(t-l[2*f],2)+N$(n-l[2*f+1],2)<u)return f;break}}while(f!==d);return c}render(e){const t=null==e?e=new F$: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 F$: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,R$)}return n&&n.value()}renderHull(e){const t=null==e?e=new F$: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 O$;return this.renderHull(e),e.value()}renderTriangle(e,t){const n=null==t?t=new F$: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 O$;return this.renderTriangle(e,t),t.value()}}function W$(){return W$=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},W$.apply(null,arguments)}function H$(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}var q$={xDomain:[0,1],yDomain:[0,1],layers:["links","cells","points","bounds"],enableLinks:!1,linkLineWidth:1,linkLineColor:"#bbbbbb",enableCells:!0,cellLineWidth:2,cellLineColor:"#000000",pointSize:4,pointColor:"#666666",role:"img"},$$=function(e){return[e.x,e.y]},U$=qB,V$="cursor",G$=function(e){var t=e.points,n=e.getNodePosition,r=void 0===n?$$:n,i=e.margin,o=void 0===i?U$:i;return t.map((function(e){var t=r(e),n=t[0],i=t[1];return[n+o.left,i+o.top]}))},Y$=function(e){var t=e.points,n=e.getNodePosition,r=void 0===n?$$:n,i=e.width,o=e.height,a=e.margin,s=void 0===a?U$:a,l=e.debug;return M((function(){return function(e){var t=e.points,n=e.width,r=e.height,i=e.margin,o=void 0===i?U$:i,a=e.debug,s=j$.from(t),l=a?s.voronoi([0,0,o.left+n+o.right,o.top+r+o.bottom]):void 0;return{points:t,delaunay:s,voronoi:l}}({points:G$({points:t,margin:s,getNodePosition:r}),width:i,height:o,margin:s,debug:l})}),[r,t,i,o,s,l])},Z$=["theme"],X$=function(e){var t=e.data,n=e.width,r=e.height,i=e.margin,o=e.layers,a=void 0===o?q$.layers:o,s=e.xDomain,l=void 0===s?q$.xDomain:s,c=e.yDomain,u=void 0===c?q$.yDomain:c,d=e.enableLinks,f=void 0===d?q$.enableLinks:d,h=e.linkLineWidth,p=void 0===h?q$.linkLineWidth:h,g=e.linkLineColor,m=void 0===g?q$.linkLineColor:g,v=e.enableCells,b=void 0===v?q$.enableCells:v,y=e.cellLineWidth,_=void 0===y?q$.cellLineWidth:y,x=e.cellLineColor,w=void 0===x?q$.cellLineColor:x,k=e.enablePoints,C=void 0===k?q$.enableCells:k,A=e.pointSize,S=void 0===A?q$.pointSize:A,E=e.pointColor,L=void 0===E?q$.pointColor:E,T=e.role,D=void 0===T?q$.role:T,O=e.forwardedRef,R=$B(n,r,i),N=R.outerWidth,P=R.outerHeight,I=R.margin,B=function(e){var t=e.data,n=e.width,r=e.height,i=e.xDomain,o=e.yDomain,a=M((function(){return So().domain(i).range([0,n])}),[i,n]),s=M((function(){return So().domain(o).range([0,r])}),[o,r]),l=M((function(){return t.map((function(e){return{x:a(e.x),y:s(e.y),data:e}}))}),[t,a,s]);return M((function(){var e=j$.from(l.map((function(e){return[e.x,e.y]}))),t=e.voronoi([0,0,n,r]);return{points:l,delaunay:e,voronoi:t}}),[l,n,r])}({data:t,width:R.innerWidth,height:R.innerHeight,xDomain:l,yDomain:u}),j=B.points,W=B.delaunay,H=B.voronoi,q={links:null,cells:null,points:null,bounds:null};f&&a.includes("links")&&(q.links=An("path",{stroke:m,strokeWidth:p,fill:"none",d:W.render()},"links")),b&&a.includes("cells")&&(q.cells=An("path",{d:H.render(),fill:"none",stroke:w,strokeWidth:_},"cells")),C&&a.includes("points")&&(q.points=An("path",{stroke:"none",fill:L,d:W.renderPoints(void 0,S/2)},"points")),a.includes("bounds")&&(q.bounds=An("path",{fill:"none",stroke:w,strokeWidth:_,d:H.renderBounds()},"bounds"));var $=function(e){var t=e.points,n=e.delaunay,r=e.voronoi;return M((function(){return{points:t,delaunay:n,voronoi:r}}),[t,n,r])}({points:j,delaunay:W,voronoi:H});return An(zB,{width:N,height:P,margin:I,role:D,ref:O,children:a.map((function(e,t){return void 0!==q[e]?q[e]:"function"==typeof e?An(z,{children:F(e,$)},t):null}))})},K$=A((function(e,t){var n=e.theme,r=H$(e,Z$);return An(QI,{isInteractive:!1,animate:!1,theme:n,children:An(X$,W$({},r,{forwardedRef:t}))})})),J$=["defaultWidth","defaultHeight","onResize","debounceResize"];A((function(e,t){var n=e.defaultWidth,r=e.defaultHeight,i=e.onResize,o=e.debounceResize,a=H$(e,J$);return An(nB,{defaultWidth:n,defaultHeight:r,onResize:i,debounceResize:o,children:function(e){var n=e.width,r=e.height;return An(K$,W$({},a,{width:n,height:r,ref:t}))}})}));var Q$=function(e){var t=e.nodes,n=e.width,i=e.height,o=e.margin,a=void 0===o?U$:o,s=e.getNodePosition,l=e.setCurrent,c=e.onMouseEnter,u=e.onMouseMove,d=e.onMouseLeave,f=e.onMouseDown,h=e.onMouseUp,p=e.onClick,g=e.onDoubleClick,m=e.onTouchStart,v=e.onTouchMove,b=e.onTouchEnd,y=e.enableTouchCrosshair,_=void 0!==y&&y,k=e.detectionRadius,A=void 0===k?1/0:k,E=e.tooltip,L=e.tooltipPosition,T=void 0===L?V$:L,D=e.tooltipAnchor,F=void 0===D?"top":D,O=e.debug,z=C(null),R=Y$({points:t,getNodePosition:s,width:n,height:i,margin:a,debug:O}),N=R.delaunay,P=R.voronoi,I=function(e){var t=e.elementRef,n=e.nodes,r=e.getNodePosition,i=void 0===r?$$:r,o=e.delaunay,a=e.setCurrent,s=e.margin,l=void 0===s?U$:s,c=e.detectionRadius,u=void 0===c?1/0:c,d=e.isInteractive,f=void 0===d||d,h=e.onMouseEnter,p=e.onMouseMove,g=e.onMouseLeave,m=e.onMouseDown,v=e.onMouseUp,b=e.onClick,y=e.onDoubleClick,_=e.onTouchStart,k=e.onTouchMove,A=e.onTouchEnd,E=e.enableTouchCrosshair,L=void 0!==E&&E,T=e.tooltip,D=e.tooltipPosition,F=void 0===D?V$:D,O=e.tooltipAnchor,z=void 0===O?"top":O,R=x(null),N=R[0],P=R[1],I=C(null);w((function(){I.current=N}),[I,N]);var B=S((function(e){if(!t.current||0===n.length)return null;var r=JB(t.current,e),a=r[0],s=r[1],c=o.find(a,s),d=void 0!==c?n[c]:null;if(d&&u!==1/0){var f=i(d),h=f[0],p=f[1];XB(a,s,h+l.left,p+l.top)>u&&(c=null,d=null)}return null===c||null===d?null:[c,d]}),[t,o,n,i,l,u]),j=RF(),W=j.showTooltipAt,H=j.showTooltipFromEvent,q=j.hideTooltip,$=M((function(){if(T)return"cursor"===F?function(e,t){H(T(e),t,z)}:function(e){var t=i(e),n=t[0],r=t[1];W(T(e),[n+l.left,r+l.top],z)}}),[W,H,T,F,z,i,l]),U=S((function(e){var t=B(e);if(P(t),null==a||a(t?t[1]:null),t){var n=t[1];null==$||$(n,e),null==h||h(t[1],e)}}),[B,P,a,$,h]),V=S((function(e){var t=B(e);if(P(t),t){var n=t[0],r=t[1];if(null==a||a(r),null==$||$(r,e),I.current){var i=I.current,o=i[0],s=i[1];n!==o?null==g||g(s,e):null==p||p(r,e)}else null==h||h(r,e)}else null==a||a(null),null==q||q(),I.current&&(null==g||g(I.current[1],e))}),[B,P,a,I,h,p,g,$,q]),G=S((function(e){P(null),null==a||a(null),q(),g&&I.current&&g(I.current[1],e)}),[P,a,I,q,g]),Y=S((function(e){var t=B(e);P(t),t&&(null==m||m(t[1],e))}),[B,P,m]),Z=S((function(e){var t=B(e);P(t),t&&(null==v||v(t[1],e))}),[B,P,v]),X=S((function(e){var t=B(e);P(t),t&&(null==b||b(t[1],e))}),[B,P,b]),K=S((function(e){var t=B(e);P(t),t&&(null==y||y(t[1],e))}),[B,P,y]),J=S((function(e){var t=B(e);L&&(P(t),null==a||a(t?t[1]:null)),t&&(null==_||_(t[1],e))}),[B,P,a,L,_]),Q=S((function(e){var t=B(e);L&&(P(t),null==a||a(t?t[1]:null)),t&&(null==k||k(t[1],e))}),[B,P,a,L,k]),ee=S((function(e){L&&(P(null),null==a||a(null)),A&&I.current&&A(I.current[1],e)}),[L,P,a,A,I]);return{current:N,handleMouseEnter:f?U:void 0,handleMouseMove:f?V:void 0,handleMouseLeave:f?G:void 0,handleMouseDown:f?Y:void 0,handleMouseUp:f?Z:void 0,handleClick:f?X:void 0,handleDoubleClick:f?K:void 0,handleTouchStart:f?J:void 0,handleTouchMove:f?Q:void 0,handleTouchEnd:f?ee:void 0}}({elementRef:z,nodes:t,delaunay:N,margin:a,detectionRadius:A,setCurrent:l,onMouseEnter:c,onMouseMove:u,onMouseLeave:d,onMouseDown:f,onMouseUp:h,onClick:p,onDoubleClick:g,onTouchStart:m,onTouchMove:v,onTouchEnd:b,enableTouchCrosshair:_,tooltip:E,tooltipPosition:T,tooltipAnchor:F}),B=I.current,j=I.handleMouseEnter,W=I.handleMouseMove,H=I.handleMouseLeave,q=I.handleMouseDown,$=I.handleMouseUp,U=I.handleClick,V=I.handleDoubleClick,G=I.handleTouchStart,Y=I.handleTouchMove,Z=I.handleTouchEnd,X=M((function(){if(O&&P)return P.render()}),[O,P]);return An("g",{ref:z,transform:"translate("+-a.left+","+-a.top+")",children:[O&&P&&An(r,{children:[An("path",{d:X,stroke:"red",strokeWidth:1,opacity:.75}),A<1/0&&An("path",{stroke:"red",strokeWidth:.35,fill:"none",d:N.renderPoints(void 0,A)}),B&&An("path",{fill:"pink",opacity:.35,d:P.renderCell(B[0])})]}),An("rect",{"data-ref":"mesh-interceptor",width:a.left+n+a.right,height:a.top+i+a.bottom,fill:"red",opacity:0,style:{cursor:"auto"},onMouseEnter:j,onMouseMove:W,onMouseLeave:H,onMouseDown:q,onMouseUp:$,onTouchStart:G,onTouchMove:Y,onTouchEnd:Z,onClick:U,onDoubleClick:V})]})};function eU(){return eU=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},eU.apply(null,arguments)}function tU(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}var nU,rU={xScale:{type:"point"},yScale:{type:"linear",min:0,max:"auto"},curve:"linear",colors:{scheme:"nivo"},lineWidth:2,layers:["grid","markers","axes","areas","crosshair","lines","points","slices","mesh","legends"],enablePoints:!0,pointSize:6,pointColor:{from:"series.color"},pointBorderWidth:0,pointBorderColor:{theme:"background"},enableArea:!1,areaBaselineValue:0,areaOpacity:.2,enableGridX:!0,enableGridY:!0,legends:[],isInteractive:!0,tooltip:T((function(e){var t=e.point;return An(AF,{id:An("span",{children:["x: ",An("strong",{children:t.data.xFormatted}),", y:"," ",An("strong",{children:t.data.yFormatted})]}),enableChip:!0,color:t.seriesColor})})),sliceTooltip:T((function(e){var t=e.slice,n=e.axis,r=bF(),i="x"===n?"y":"x";return An(MF,{rows:t.points.map((function(e){return[An(CF,{color:e.seriesColor,style:r.tooltip.chip},"chip"),e.seriesId,An("span",{style:r.tooltip.tableCellValue,children:e.data[i+"Formatted"]},"value")]}))})})),debugMesh:!1,renderWrapper:!0},iU=eU({},rU,{defs:[],fill:[],enablePointLabel:!1,pointLabel:"data.yFormatted",areaBlendMode:"normal",axisTop:null,axisRight:null,axisBottom:rq,axisLeft:rq,useMesh:!1,enableSlices:!1,debugSlices:!1,enableCrosshair:!0,crosshairType:"bottom-left",enableTouchCrosshair:!1,initialHiddenIds:[],animate:!0,motionConfig:"gentle",role:"img",isFocusable:!1}),oU=eU({},rU,{pixelRatio:"undefined"!=typeof window&&null!=(nU=window.devicePixelRatio)?nU:1,axisTop:null,axisRight:null,axisBottom:rq,axisLeft:rq});function aU(e){return M((function(){return jl().defined((function(e){return null!==e.x&&null!==e.y})).x((function(e){return e.x})).y((function(e){return e.y})).curve(HB(e))}),[e])}function sU(e){var t=e.curve,n=e.yScale,r=e.areaBaselineValue;return M((function(){return Wl().defined((function(e){return null!==e.x&&null!==e.y})).x((function(e){return e.x})).y1((function(e){return e.y})).curve(HB(t)).y0(n(r))}),[t,n,r])}var lU=function(e){var t=e.data,n=e.xScale,r=void 0===n?rU.xScale:n,i=e.xFormat,o=e.yScale,a=void 0===o?rU.yScale:o,s=e.yFormat,l=e.width,c=e.height,u=e.colors,d=void 0===u?rU.colors:u,f=e.curve,h=void 0===f?rU.curve:f,p=e.areaBaselineValue,g=void 0===p?rU.areaBaselineValue:p,m=e.pointColor,v=void 0===m?rU.pointColor:m,b=e.pointBorderColor,y=void 0===b?rU.pointBorderColor:b,_=e.enableSlices,w=void 0===_?iU.enableSlices:_,k=e.initialHiddenIds,C=void 0===k?iU.initialHiddenIds:k,A=x(d$("line"))[0],E=GB(i),L=GB(s),T=Nq(d,"id"),D=bF(),F=Mq(v,D),O=Mq(y,D),z=x(null!=C?C:[]),R=z[0],N=z[1],P=M((function(){return WH(t.filter((function(e){return-1===R.indexOf(e.id)})),r,a,l,c)}),[t,R,r,a,l,c]),I=P.xScale,B=P.yScale,j=P.series,W=M((function(){var e=t.map((function(e){return{id:e.id,label:""+e.id,color:T(e)}})),n=e.map((function(e){return eU({},j.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 eU({},e,{hidden:!n.find((function(t){return t.id===e.id}))})})).reverse(),series:n}}),[t,j,T]),H=W.legendData,q=W.series,$=S((function(e){N((function(t){return t.indexOf(e)>-1?t.filter((function(t){return t!==e})):[].concat(t,[e])}))}),[]),U=function(e){var t=e.series,n=e.getPointColor,r=e.getPointBorderColor,i=e.formatX,o=e.formatY;return M((function(){return t.reduce((function(e,t,a){return[].concat(e,t.data.filter((function(e){return null!==e.position.x&&null!==e.position.y})).map((function(s,l){var c={id:t.id+"."+l,indexInSeries:l,absIndex:e.length+l,seriesIndex:a,seriesId:t.id,seriesColor:t.color,x:s.position.x,y:s.position.y,data:eU({},s.data,{xFormatted:i(s.data.x),yFormatted:o(s.data.y)})};return c.color=n({series:t,point:c}),c.borderColor=r(c),c})))}),[])}),[t,n,r,i,o])}({series:q,getPointColor:F,getPointBorderColor:O,formatX:E,formatY:L}),V=function(e){var t=e.componentId,n=e.enableSlices,r=e.points,i=e.width,o=e.height;return M((function(){if("x"===n){var e=new Map;return r.forEach((function(t){null!==t.data.x&&null!==t.data.y&&(e.has(t.x)?e.get(t.x).push(t):e.set(t.x,[t]))})),Array.from(e.entries()).sort((function(e,t){return e[0]-t[0]})).map((function(e,n,r){var a,s,l=e[0],c=e[1],u=r[n-1],d=r[n+1];return a=u?l-(l-u[0])/2:l,s=d?l-a+(d[0]-l)/2:i-a,{id:"slice:"+t+":"+l,x0:a,x:l,y0:0,y:0,width:s,height:o,points:c.reverse()}}))}if("y"===n){var a=new Map;return r.forEach((function(e){null!==e.data.x&&null!==e.data.y&&(a.has(e.y)?a.get(e.y).push(e):a.set(e.y,[e]))})),Array.from(a.entries()).sort((function(e,t){return e[0]-t[0]})).map((function(e,t,n){var r,a,s=e[0],l=e[1],c=n[t-1],u=n[t+1];return r=c?s-(s-c[0])/2:s,a=u?s-r+(u[0]-s)/2:o-r,{id:s,x0:0,x:0,y0:r,y:s,width:i,height:a,points:l.reverse()}}))}return[]}),[t,n,o,r,i])}({componentId:A,enableSlices:w,points:U,width:l,height:c});return{legendData:H,toggleSeries:$,lineGenerator:aU(h),areaGenerator:sU({curve:h,yScale:B,areaBaselineValue:g}),getColor:T,series:q,xScale:I,yScale:B,slices:V,points:U}},cU=function(e){var t=e.areaBlendMode,n=e.areaOpacity,r=e.color,i=e.fill,o=e.path,a=XI(),s=a.animate,l=a.config,c=BB(o),u=yS({color:r,config:l,immediate:!s});return An(TE.path,{d:c,fill:i||u.color,fillOpacity:n,strokeWidth:0,style:{mixBlendMode:t}})},uU=T((function(e){var t=e.areaGenerator,n=e.areaOpacity,r=e.areaBlendMode;return An("g",{children:e.series.slice(0).reverse().map((function(e){return An(cU,eU({path:t(e.data.map((function(e){return e.position})))},eU({areaOpacity:n,areaBlendMode:r},e)),""+e.id)}))})})),dU=T((function(e){var t=e.lineGenerator,n=e.points,r=e.color,i=e.thickness,o=M((function(){return t(n)}),[t,n]),a=BB(o);return An(TE.path,{d:a,fill:"none",strokeWidth:i,stroke:r})})),fU=T((function(e){var t=e.series,n=e.lineGenerator,i=e.lineWidth;return An(r,{children:t.slice(0).reverse().map((function(e){var t=e.id,r=e.data,o=e.color;return An(dU,{points:r.map((function(e){return e.position})),lineGenerator:n,color:o,thickness:i},t)}))})})),hU=T((function(e){var t=e.slice,n=e.slices,r=e.axis,i=e.debug,o=e.tooltip,a=e.isCurrent,s=e.setCurrent,l=e.onMouseEnter,c=e.onMouseMove,u=e.onMouseLeave,d=e.onMouseDown,f=e.onMouseUp,h=e.onClick,p=e.onDoubleClick,g=e.onTouchStart,m=e.onTouchMove,v=e.onTouchEnd,b=RF(),y=b.showTooltipFromEvent,_=b.hideTooltip,x=S((function(e){y(F(o,{slice:t,axis:r}),e,"right"),s(t),null==l||l(t,e)}),[y,o,t,r,s,l]),w=S((function(e){y(F(o,{slice:t,axis:r}),e,"right"),null==c||c(t,e)}),[y,o,t,r,c]),k=S((function(e){_(),s(null),null==u||u(t,e)}),[_,s,u,t]),C=S((function(e){null==d||d(t,e)}),[t,d]),A=S((function(e){null==f||f(t,e)}),[t,f]),M=S((function(e){null==h||h(t,e)}),[t,h]),E=S((function(e){null==p||p(t,e)}),[t,p]),L=S((function(e){y(F(o,{slice:t,axis:r}),e,"right"),s(t),null==g||g(t,e)}),[r,g,s,y,t,o]),T=S((function(e){var i=e.touches[0],a=document.elementFromPoint(i.clientX,i.clientY),l=null==a?void 0:a.getAttribute("data-ref");if(l){var c=n.find((function(e){return e.id===l}));c&&(y(F(o,{slice:c,axis:r}),e,"right"),s(c))}null==m||m(t,e)}),[r,m,s,y,t,n,o]),D=S((function(e){_(),s(null),null==v||v(t,e)}),[_,s,v,t]);return An("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:x,onMouseMove:w,onMouseLeave:k,onMouseDown:C,onMouseUp:A,onClick:M,onDoubleClick:E,onTouchStart:L,onTouchMove:T,onTouchEnd:D,"data-ref":t.id})})),pU=T((function(e){var t=e.slices,n=e.axis,i=e.debug,o=e.tooltip,a=e.current,s=e.setCurrent,l=e.onMouseEnter,c=e.onMouseMove,u=e.onMouseLeave,d=e.onMouseDown,f=e.onMouseUp,h=e.onClick,p=e.onDoubleClick,g=e.onTouchStart,m=e.onTouchMove,v=e.onTouchEnd;return An(r,{children:t.map((function(e){return An(hU,{slice:e,slices:t,axis:n,debug:i,tooltip:o,setCurrent:s,isCurrent:null!==a&&a.id===e.id,onMouseEnter:l,onMouseMove:c,onMouseLeave:u,onMouseDown:d,onMouseUp:f,onClick:h,onDoubleClick:p,onTouchStart:g,onTouchMove:m,onTouchEnd:v},e.id)}))})})),gU=T((function(e){var t=e.points,n=e.symbol,r=e.size,i=e.borderWidth,o=e.enableLabel,a=e.label,s=e.labelYOffset,l=e.isFocusable,c=e.setCurrentPoint,u=e.tooltip,d=e.margin,f=e.ariaLabel,h=e.ariaLabelledBy,p=e.ariaDescribedBy,g=e.ariaHidden,m=e.ariaDisabled,v=function(e){var t=tR(e)?e:function(t){return iF(t,e)};return t}(a),b=RF(),y=b.showTooltipAt,_=b.hideTooltip,x=t.slice(0).sort((function(e,t){return e.indexInSeries-t.indexInSeries})).sort((function(e,t){return t.seriesIndex-e.seriesIndex})).map((function(e){return{id:e.id,x:e.x,y:e.y,datum:e.data,fill:e.color,stroke:e.borderColor,label:o?v(e):null,ariaLabel:f?f(e):void 0,ariaLabelledBy:h?h(e):void 0,ariaDescribedBy:p?p(e):void 0,ariaHidden:g?g(e):void 0,ariaDisabled:m?m(e):void 0,onFocus:l?function(){c(e),y(F(u,{point:e}),[d.left+e.x,d.top+e.y],"top")}:void 0,onBlur:l?function(){c(null),_()}:void 0}}));return An("g",{children:x.map((function(e){return An(NB,{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,ariaLabel:e.ariaLabel,ariaLabelledBy:e.ariaLabelledBy,ariaDescribedBy:e.ariaDescribedBy,ariaHidden:e.ariaHidden,ariaDisabled:e.ariaDisabled,isFocusable:l,onFocus:e.onFocus,onBlur:e.onBlur,testId:"line.point."+e.id},e.id)}))})})),mU=T((function(e){var t=e.points,n=e.width,r=e.height,i=e.margin,o=e.setCurrent,a=e.onMouseEnter,s=e.onMouseMove,l=e.onMouseLeave,c=e.onMouseDown,u=e.onMouseUp,d=e.onClick,f=e.onDoubleClick,h=e.onTouchStart,p=e.onTouchMove,g=e.onTouchEnd,m=e.tooltip,v=e.debug,b=e.enableTouchCrosshair,y=RF(),_=y.showTooltipAt,x=y.hideTooltip,w=S((function(e,t){_(F(m,{point:e}),[e.x+i.left,e.y+i.top],"top"),null==a||a(e,t)}),[_,m,a,i]),k=S((function(e,t){_(F(m,{point:e}),[e.x+i.left,e.y+i.top],"top"),null==s||s(e,t)}),[_,m,i.left,i.top,s]),C=S((function(e,t){x(),null==l||l(e,t)}),[x,l]),A=S((function(e,t){null==c||c(e,t)}),[c]),M=S((function(e,t){null==u||u(e,t)}),[u]),E=S((function(e,t){null==d||d(e,t)}),[d]),L=S((function(e,t){null==f||f(e,t)}),[f]),T=S((function(e,t){_(F(m,{point:e}),[e.x+i.left,e.y+i.top],"top"),null==h||h(e,t)}),[i.left,i.top,h,_,m]),D=S((function(e,t){_(F(m,{point:e}),[e.x+i.left,e.y+i.top],"top"),null==p||p(e,t)}),[i.left,i.top,p,_,m]),O=S((function(e,t){x(),null==g||g(e,t)}),[g,x]);return An(Q$,{nodes:t,width:n,height:r,setCurrent:o,onMouseEnter:w,onMouseMove:k,onMouseLeave:C,onMouseDown:A,onMouseUp:M,onClick:E,onDoubleClick:L,onTouchStart:T,onTouchMove:D,onTouchEnd:O,enableTouchCrosshair:b,debug:v})})),vU=["isInteractive","animate","motionConfig","theme","renderWrapper"];function bU(e){var t=e.data,n=e.xScale,r=void 0===n?iU.xScale:n,i=e.xFormat,o=e.yScale,a=void 0===o?iU.yScale:o,s=e.yFormat,l=e.curve,c=void 0===l?iU.curve:l,u=e.margin,d=e.width,f=e.height,h=e.colors,p=void 0===h?iU.colors:h,g=e.lineWidth,m=void 0===g?iU.lineWidth:g,v=e.layers,b=void 0===v?iU.layers:v,y=e.enableArea,_=void 0===y?iU.enableArea:y,w=e.areaBaselineValue,k=void 0===w?iU.areaBaselineValue:w,C=e.areaOpacity,A=void 0===C?iU.areaOpacity:C,S=e.areaBlendMode,M=void 0===S?iU.areaBlendMode:S,E=e.enablePoints,L=void 0===E?iU.enablePoints:E,T=e.pointSymbol,D=e.pointSize,F=void 0===D?iU.pointSize:D,O=e.pointColor,R=void 0===O?iU.pointColor:O,N=e.pointBorderWidth,P=void 0===N?iU.pointBorderWidth:N,I=e.pointBorderColor,B=void 0===I?iU.pointBorderColor:I,j=e.enablePointLabel,W=void 0===j?iU.enablePointLabel:j,H=e.pointLabel,q=void 0===H?iU.pointLabel:H,$=e.pointLabelYOffset,U=e.enableGridX,V=void 0===U?iU.enableGridX:U,G=e.gridXValues,Y=e.enableGridY,Z=void 0===Y?iU.enableGridY:Y,X=e.gridYValues,K=e.axisTop,J=e.axisRight,Q=e.axisBottom,ee=void 0===Q?iU.axisBottom:Q,te=e.axisLeft,ne=void 0===te?iU.axisLeft:te,re=e.defs,ie=void 0===re?iU.defs:re,oe=e.fill,ae=void 0===oe?iU.fill:oe,se=e.markers,le=e.legends,ce=void 0===le?iU.legends:le,ue=e.isInteractive,de=void 0===ue?iU.isInteractive:ue,fe=e.useMesh,he=void 0===fe?iU.useMesh:fe,pe=e.debugMesh,ge=void 0===pe?iU.debugMesh:pe,me=e.onMouseEnter,ve=e.onMouseMove,be=e.onMouseLeave,ye=e.onMouseDown,_e=e.onMouseUp,xe=e.onClick,we=e.onDoubleClick,ke=e.onTouchStart,Ce=e.onTouchMove,Ae=e.onTouchEnd,Se=e.tooltip,Me=void 0===Se?iU.tooltip:Se,Ee=e.enableSlices,Le=void 0===Ee?iU.enableSlices:Ee,Te=e.debugSlices,De=void 0===Te?iU.debugSlices:Te,Fe=e.sliceTooltip,Oe=void 0===Fe?iU.sliceTooltip:Fe,ze=e.enableCrosshair,Re=void 0===ze?iU.enableCrosshair:ze,Ne=e.crosshairType,Pe=void 0===Ne?iU.crosshairType:Ne,Ie=e.enableTouchCrosshair,Be=void 0===Ie?iU.enableTouchCrosshair:Ie,je=e.role,We=void 0===je?iU.role:je,He=e.ariaLabel,qe=e.ariaLabelledBy,$e=e.ariaDescribedBy,Ue=e.isFocusable,Ve=void 0===Ue?iU.isFocusable:Ue,Ge=e.pointAriaLabel,Ye=e.pointAriaLabelledBy,Ze=e.pointAriaDescribedBy,Xe=e.pointAriaHidden,Ke=e.pointAriaDisabled,Je=e.initialHiddenIds,Qe=void 0===Je?iU.initialHiddenIds:Je,et=e.forwardedRef,tt=$B(d,f,u),nt=tt.margin,rt=tt.innerWidth,it=tt.innerHeight,ot=tt.outerWidth,at=tt.outerHeight,st=lU({data:t,xScale:r,xFormat:i,yScale:a,yFormat:s,width:rt,height:it,colors:p,curve:c,areaBaselineValue:k,pointColor:R,pointBorderColor:B,enableSlices:Le,initialHiddenIds:Qe}),lt=st.legendData,ct=st.toggleSeries,ut=st.lineGenerator,dt=st.areaGenerator,ft=st.series,ht=st.xScale,pt=st.yScale,gt=st.slices,mt=st.points,vt=x(null),bt=vt[0],yt=vt[1],_t=x(null),xt=_t[0],wt=_t[1],kt={grid:null,markers:null,axes:null,areas:null,crosshair:null,lines:null,points:null,slices:null,mesh:null,legends:null};b.includes("grid")&&(V||Z)&&(kt.grid=An(cq,{width:rt,height:it,xScale:V?ht:null,yScale:Z?pt:null,xValues:G,yValues:X},"grid")),b.includes("markers")&&Array.isArray(se)&&se.length>0&&(kt.markers=An(IB,{markers:se,width:rt,height:it,xScale:ht,yScale:pt},"markers")),b.includes("axes")&&(kt.axes=An(aq,{xScale:ht,yScale:pt,width:rt,height:it,top:K,right:J,bottom:ee,left:ne},"axes")),b.includes("lines")&&(kt.lines=An(fU,{series:ft,lineGenerator:ut,lineWidth:m},"lines")),b.includes("legends")&&ce.length>0&&(kt.legends=An(z,{children:ce.map((function(e,t){return An(s$,eU({},e,{containerWidth:rt,containerHeight:it,data:e.data||lt,toggleSerie:e.toggleSerie?ct:void 0}),t)}))},"legends"));var Ct=tj(ie,ft,ae);_&&(kt.areas=An(uU,{areaGenerator:dt,areaOpacity:A,areaBlendMode:M,series:ft},"areas")),de&&!1!==Le&&(kt.slices=An(pU,{slices:gt,axis:Le,debug:De,tooltip:Oe,current:xt,setCurrent:wt,onMouseEnter:me,onMouseMove:ve,onMouseLeave:be,onMouseDown:ye,onMouseUp:_e,onClick:xe,onDoubleClick:we,onTouchStart:ke,onTouchMove:Ce,onTouchEnd:Ae},"slices")),L&&(kt.points=An(gU,{points:mt,symbol:T,size:F,borderWidth:P,enableLabel:W,label:q,labelYOffset:$,isFocusable:Ve,setCurrentPoint:yt,tooltip:Me,margin:nt,ariaLabel:Ge,ariaLabelledBy:Ye,ariaDescribedBy:Ze,ariaHidden:Xe,ariaDisabled:Ke},"points")),de&&Re&&(null!==bt&&(kt.crosshair=An(LF,{width:rt,height:it,x:bt.x,y:bt.y,type:Pe},"crosshair")),null!==xt&&Le&&(kt.crosshair=An(LF,{width:rt,height:it,x:xt.x,y:xt.y,type:Le},"crosshair"))),de&&he&&!1===Le&&(kt.mesh=An(mU,{points:mt,width:rt,height:it,margin:nt,setCurrent:yt,onMouseEnter:me,onMouseMove:ve,onMouseLeave:be,onMouseDown:ye,onMouseUp:_e,onClick:xe,onDoubleClick:we,onTouchStart:ke,onTouchMove:Ce,onTouchEnd:Ae,tooltip:Me,enableTouchCrosshair:Be,debug:ge},"mesh"));var At=eU({},e,{innerWidth:rt,innerHeight:it,series:ft,slices:gt,points:mt,xScale:ht,yScale:pt,lineGenerator:ut,areaGenerator:dt,currentPoint:bt,setCurrentPoint:yt,currentSlice:xt,setCurrentSlice:wt});return An(zB,{defs:Ct,width:ot,height:at,margin:nt,role:We,ariaLabel:He,ariaLabelledBy:qe,ariaDescribedBy:$e,isFocusable:Ve,ref:et,children:b.map((function(e,t){return"function"==typeof e?An(z,{children:e(At)},t):kt[e]}))})}var yU=A((function(e,t){var n=e.isInteractive,r=void 0===n?iU.isInteractive:n,i=e.animate,o=void 0===i?iU.animate:i,a=e.motionConfig,s=void 0===a?iU.motionConfig:a,l=e.theme,c=e.renderWrapper,u=tU(e,vU);return An(QI,{animate:o,isInteractive:r,motionConfig:s,renderWrapper:c,theme:l,children:An(bU,eU({isInteractive:r},u,{forwardedRef:t}))})})),_U=["defaultWidth","defaultHeight","onResize","debounceResize"],xU=A((function(e,t){var n=e.defaultWidth,r=e.defaultHeight,i=e.onResize,o=e.debounceResize,a=tU(e,_U);return An(nB,{defaultWidth:n,defaultHeight:r,onResize:i,debounceResize:o,children:function(e){var n=e.width,r=e.height;return An(yU,eU({width:n,height:r},a,{ref:t}))}})})),wU=["isInteractive","renderWrapper","theme"],kU=function(e){var t=e.width,n=e.height,r=e.margin,i=e.pixelRatio,o=void 0===i?oU.pixelRatio:i,a=e.data,s=e.xScale,l=void 0===s?oU.xScale:s,c=e.xFormat,u=e.yScale,d=void 0===u?oU.yScale:u,f=e.yFormat,h=e.curve,p=void 0===h?oU.curve:h,g=e.layers,m=void 0===g?oU.layers:g,v=e.colors,b=void 0===v?oU.colors:v,y=e.lineWidth,_=void 0===y?oU.lineWidth:y,k=e.enableArea,A=void 0===k?oU.enableArea:k,E=e.areaBaselineValue,L=void 0===E?oU.areaBaselineValue:E,T=e.areaOpacity,D=void 0===T?oU.areaOpacity:T,O=e.enablePoints,z=void 0===O?oU.enablePoints:O,R=e.pointSize,N=void 0===R?oU.pointSize:R,P=e.pointColor,I=void 0===P?oU.pointColor:P,B=e.pointBorderWidth,j=void 0===B?oU.pointBorderWidth:B,W=e.pointBorderColor,H=void 0===W?oU.pointBorderColor:W,q=e.enableGridX,$=void 0===q?oU.enableGridX:q,U=e.gridXValues,V=e.enableGridY,G=void 0===V?oU.enableGridY:V,Y=e.gridYValues,Z=e.axisTop,X=e.axisRight,K=e.axisBottom,J=void 0===K?oU.axisBottom:K,Q=e.axisLeft,ee=void 0===Q?oU.axisLeft:Q,te=e.legends,ne=void 0===te?oU.legends:te,re=e.isInteractive,ie=void 0===re?oU.isInteractive:re,oe=e.debugMesh,ae=void 0===oe?oU.debugMesh:oe,se=e.onMouseLeave,le=e.onMouseDown,ce=e.onMouseUp,ue=e.onClick,de=e.onDoubleClick,fe=e.tooltip,he=void 0===fe?oU.tooltip:fe,pe=e.role,ge=e.forwardedRef,me=C(null),ve=$B(t,n,r),be=ve.margin,ye=ve.innerWidth,_e=ve.innerHeight,xe=ve.outerWidth,we=ve.outerHeight,ke=bF(),Ce=x(null),Ae=Ce[0],Se=Ce[1],Me=lU({data:a,xScale:l,xFormat:c,yScale:d,yFormat:f,width:ye,height:_e,colors:b,curve:p,areaBaselineValue:L,pointColor:I,pointBorderColor:H}),Ee=Me.lineGenerator,Le=Me.areaGenerator,Te=Me.series,De=Me.xScale,Fe=Me.yScale,Oe=Me.points,ze=M((function(){return{innerWidth:ye,innerHeight:_e,series:Te,points:Oe,xScale:De,yScale:Fe,lineWidth:_,lineGenerator:Ee,areaGenerator:Le,currentPoint:Ae,setCurrentPoint:Se}}),[ye,_e,Te,Oe,De,Fe,_,Ee,Le,Ae,Se]),Re=Y$({points:Oe,width:ye,height:_e,debug:ae}),Ne=Re.delaunay,Pe=Re.voronoi;w((function(){if(null!==me.current){me.current.width=xe*o,me.current.height=we*o;var e=me.current.getContext("2d");e.scale(o,o),e.fillStyle=ke.background,e.fillRect(0,0,xe,we),e.translate(be.left,be.top),m.forEach((function(t){var n;"function"==typeof t&&t(e,ze);var r=null!=(n=ke.grid.line.strokeWidth)?n:0;if("grid"===t&&"string"!=typeof r&&r>0&&(e.lineWidth=r,e.strokeStyle=ke.grid.line.stroke,$&&fq(e,{width:ye,height:_e,scale:De,axis:"x",values:U}),G&&fq(e,{width:ye,height:_e,scale:Fe,axis:"y",values:Y})),"axes"===t&&dq(e,{xScale:De,yScale:Fe,width:ye,height:_e,top:Z,right:X,bottom:J,left:ee,theme:ke}),"areas"===t&&!0===A){e.save(),e.globalAlpha=D,Le.context(e);for(var i=Te.length-1;i>=0;i--)e.fillStyle=Te[i].color,e.beginPath(),Le(Te[i].data.map((function(e){return e.position}))),e.fill();e.restore()}if("lines"===t&&(Ee.context(e),Te.forEach((function(t){e.strokeStyle=t.color,e.lineWidth=_,e.beginPath(),Ee(t.data.map((function(e){return e.position}))),e.stroke()}))),"points"===t&&!0===z&&N>0&&Oe.forEach((function(t){e.fillStyle=t.color,e.beginPath(),e.arc(t.x,t.y,N/2,0,2*Math.PI),e.fill(),j>0&&(e.strokeStyle=t.borderColor,e.lineWidth=j,e.stroke())})),"mesh"===t&&!0===ae&&void 0!==Pe&&(function(e,t){e.save(),e.globalAlpha=.75,e.beginPath(),t.render(e),e.strokeStyle="red",e.lineWidth=1,e.stroke(),e.restore()}(e,Pe),Ae&&function(e,t,n){e.save(),e.globalAlpha=.35,e.beginPath(),t.renderCell(n,e),e.fillStyle="pink",e.fill(),e.restore()}(e,Pe,Ae.absIndex)),"legends"===t){var o=Te.map((function(e){return{id:e.id,label:e.id,color:e.color}})).reverse();ne.forEach((function(t){c$(e,eU({},t,{data:t.data||o,containerWidth:ye,containerHeight:_e,theme:ke}))}))}}))}}),[me,ye,xe,_e,we,be.left,be.top,o,m,ke,Ee,Te,De,Fe,$,U,G,Y,Z,X,J,ee,ne,Oe,z,N,j,Ae,ze,ae,A,Le,D,_,Pe]);var Ie=S((function(e){if(!me.current)return null;var t=JB(me.current,e),n=t[0],r=t[1];if(!KB(be.left,be.top,ye,_e,n,r))return null;var i=Ne.find(n-be.left,r-be.top);return Oe[i]}),[me,be,ye,_e,Ne,Oe]),Be=RF(),je=Be.showTooltipFromEvent,We=Be.hideTooltip,He=S((function(e){var t=Ie(e);Se(t),t?je(F(he,{point:t}),e):We()}),[Ie,Se,je,We,he]),qe=S((function(e){We(),Se(null),Ae&&(null==se||se(Ae,e))}),[We,Se,se,Ae]),$e=S((function(e){if(le){var t=Ie(e);t&&le(t,e)}}),[Ie,le]),Ue=S((function(e){if(ce){var t=Ie(e);t&&ce(t,e)}}),[Ie,ce]),Ve=S((function(e){if(ue){var t=Ie(e);t&&ue(t,e)}}),[Ie,ue]),Ge=S((function(e){if(de){var t=Ie(e);t&&de(t,e)}}),[Ie,de]);return An("canvas",{ref:nj(me,ge),width:xe*o,height:we*o,style:{width:xe,height:we,cursor:ie?"auto":"normal"},onMouseEnter:ie?He:void 0,onMouseMove:ie?He:void 0,onMouseLeave:ie?qe:void 0,onMouseDown:ie?$e:void 0,onMouseUp:ie?Ue:void 0,onClick:ie?Ve:void 0,onDoubleClick:ie?Ge:void 0,role:pe})},CU=A((function(e,t){var n=e.isInteractive,r=e.renderWrapper,i=e.theme,o=tU(e,wU);return An(QI,{isInteractive:n,renderWrapper:r,theme:i,animate:!1,children:An(kU,eU({},o,{forwardedRef:t}))})})),AU=["defaultWidth","defaultHeight","onResize","debounceResize"];A((function(e,t){var n=e.defaultWidth;e.defaultHeight;var r=e.onResize,i=e.debounceResize,o=tU(e,AU);return An(nB,{defaultWidth:n,defaultHeight:n,onResize:r,debounceResize:i,children:function(e){var n=e.width,r=e.height;return An(CU,eU({width:n,height:r},o,{ref:t}))}})}));var SU="styles_empty-data-stub__DuGJ2";const MU=({label:e,width:t,height:n,ariaLabel:r=e})=>An("div",{role:"img","aria-label":r,className:SU,style:{width:t,height:n},children:e}),EU={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:"square",symbolBorderColor:"rgba(0, 0, 0, .5)",effects:[{on:"hover",style:{itemBackground:"rgba(0, 0, 0, .03)",itemOpacity:1}}]},LU={tickSize:5,tickPadding:5,tickRotation:45,ticksPosition:"before"},TU={tickSize:5,tickPadding:5,tickRotation:0},DU={top:60,right:110,bottom:60,left:80},FU={type:"point"},OU={type:"linear",min:"auto",max:"auto",reverse:!1},zU={margin:DU,xScale:FU,yScale:OU,axisTop:null,axisRight:null,axisBottom:LU,axisLeft:TU,useMesh:!0,enableArea:!0},RU={background:"var(--color-bg-primary)",axis:{ticks:{text:{fill:"var(--color-text-secondary)"}},legend:{text:{fill:"var(--color-text-primary)"}},grid:{line:{stroke:"var(--color-border-default)"}}},legends:{text:{fill:"var(--color-text-secondary)"}},tooltip:{container:{background:"var(--color-bg-raised)",color:"var(--color-text-primary)"}}};let NU=function(e){return e.Mesh="Mesh",e.SlicesX="SlicesX",e.SlicesY="SlicesY",e}({});const PU=64,IU=(e,t,n)=>{const{constant:r=PU,...i}=n??{};return{type:"symlog",min:e,max:t,constant:r,...i}},BU=(e,t)=>{const n=e.flatMap((e=>e.data)).map((e=>e.y)),r=Math.min(...n),i=Math.max(...n);return IU(r,i,t)},jU=({kind:e=NU.Mesh,width:t="100%",height:n=400,emptyLabel:r="No data available",emptyAriaLabel:i="No data available",axisBottom:o,rootAriaLabel:a,data:s,...l})=>{const c=(e=>{switch(e){case NU.SlicesX:return{useMesh:!1,enableSlices:"x"};case NU.SlicesY:return{useMesh:!1,enableSlices:"y"};case NU.Mesh:default:return{useMesh:!0,enableSlices:void 0}}})(e),u=d(((t,n)=>{e===NU.Mesh?l?.onClick?.(t,n):[NU.SlicesX,NU.SlicesY].includes(e)&&l?.onSliceClick?.(t,n)}),[e,l]),f=d(((t,n)=>{e===NU.Mesh?l?.onTouchEnd?.(t,n):[NU.SlicesX,NU.SlicesY].includes(e)&&l?.onSliceTouchEnd?.(t,n)}),[e,l]),p=h((()=>{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))?An(MU,{label:r,width:t,height:n,ariaLabel:i}):An("div",{role:"img","aria-label":a,tabIndex:0,style:{width:t,height:n},children:An(xU,{...zU,...c,...l,data:s,onClick:u,onTouchEnd:f,axisBottom:{...LU,...o,tickValues:p},theme:RU})})},WU=({title:e,mode:t,items:n,slices:r,min:i,max:o,height:a=400,width:s="100%",rootAriaLabel:l,translations:u})=>{const[f,p]=c([]),g=u["no-results"],m=h((()=>IU(i,o,{constant:8})),[o,i]),v=h((()=>t===cr.Percent?" >-.2%":" >-.2f"),[t]),b=d((e=>{const t=e.points.reduce(((e,t)=>(e.push(t.data.x),e)),[]);p((()=>t))}),[]);return h((()=>r.filter((e=>f.includes(e.metadata.executionId)))),[r,f]),An(W_,{title:e,children:An(jU,{kind:NU.SlicesX,data:n,height:a,width:s,emptyLabel:g,emptyAriaLabel:g,rootAriaLabel:l,colors:({color:e})=>e,yScale:m,yFormat:v,onSliceClick:b,onSliceTouchEnd:b})})},HU=(e,t="chart")=>{const n="chartFill"===t?"chart-fill":"chart";switch(e){case"passed":return`var(--color-status-passed-${n})`;case"failed":return`var(--color-status-failed-${n})`;case"broken":return`var(--color-status-broken-${n})`;case"unknown":default:return`var(--color-status-unknown-${n})`;case"skipped":return`var(--color-status-skipped-${n})`}},qU=e=>{const{positiveValue:t,negativeValue:n,absTotal:r,noValuePercentage:i=-1}=e;if(0===Math.abs(t)+Math.abs(n))return i;const o=Math.abs(t)-Math.abs(n),a=(s=Math.abs(o),l=r,Math.floor(s/l*1e4)/100);var s,l;return o>0?50+a:o<0?50-a:50},$U=(e,t)=>{const[n,r]=e,i=t.map(((e,i)=>n+(r-n)*(i/(t.length-1))));return So().domain(i).range(t.map((e=>((e,t=document.documentElement)=>{if(e.startsWith("var(")){const n=e.match(/var\((--[^),\s]+)/);if(n){const r=n[1];return getComputedStyle(t).getPropertyValue(r).trim()||e}}return e})(e)))).interpolate(si).clamp(!0)};var UU="styles_legend__JMBvn",VU="styles_chart__mUNSO";const GU=e=>"number"==typeof e&&e>=0&&e<=100,YU=({slices:e,percentage:t,className:n})=>An("article",{"aria-label":"Success rate",role:"presentation",className:ie(VU,n),children:[An("svg",{"aria-hidden":!0,viewBox:"0 0 100 100",children:An("g",{transform:"translate(50, 50)",children:e.map((e=>!!e.d&&An("path",{d:e.d,fill:"__empty__"===e.status?"var(--color-control-bg)":HU(e.status,"chartFill")},e.status)))})}),GU(t)&&An(Dn,{className:UU,size:"s",tag:"b",children:0===t?"0":`${t}%`})]});var ZU,XU,KU,JU,QU,eV,tV,nV,rV,iV,oV,aV,sV,lV,cV,uV,dV,fV,hV,pV,gV,mV,vV,bV,yV,_V,xV,wV,kV,CV,AV,SV,MV,EV,LV,TV,DV,FV,OV,zV,RV,NV,PV,IV;function BV(){if(iV)return rV;iV=1;var e=NP(),t=BL(),n=PI(),r=NI(),i=Object.getOwnPropertySymbols?function(r){for(var i=[];r;)e(i,n(r)),r=t(r);return i}:r;return rV=i}function jV(){if(lV)return sV;lV=1;var e=zI(),t=BV(),n=dD();return sV=function(r){return e(r,n,t)},sV}function WV(){if(bV)return vV;bV=1;var e=RL(),t=function(){if(fV)return dV;fV=1;var e=RL();return dV=function(t,n){var r=n?e(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.byteLength)}}(),n=function(){if(pV)return hV;pV=1;var e=/\w*$/;return hV=function(t){var n=new t.constructor(t.source,e.exec(t));return n.lastIndex=t.lastIndex,n}}(),r=function(){if(mV)return gV;mV=1;var e=NE(),t=e?e.prototype:void 0,n=t?t.valueOf:void 0;return gV=function(e){return n?Object(n.call(e)):{}},gV}(),i=NL();return vV=function(o,a,s){var l=o.constructor;switch(a){case"[object ArrayBuffer]":return e(o);case"[object Boolean]":case"[object Date]":return new l(+o);case"[object DataView]":return t(o,s);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return i(o,s);case"[object Map]":case"[object Set]":return new l;case"[object Number]":case"[object String]":return new l(o);case"[object RegExp]":return n(o);case"[object Symbol]":return r(o)}},vV}function HV(){if(wV)return xV;wV=1;var e=function(){if(_V)return yV;_V=1;var e=HI(),t=HL();return yV=function(n){return t(n)&&"[object Map]"==e(n)}}(),t=aT(),n=rD(),r=n&&n.isMap,i=r?t(r):e;return xV=i}function qV(){if(SV)return AV;SV=1;var e=function(){if(CV)return kV;CV=1;var e=HI(),t=HL();return kV=function(n){return t(n)&&"[object Set]"==e(n)}}(),t=aT(),n=rD(),r=n&&n.isSet,i=r?t(r):e;return AV=i}function $V(){if(EV)return MV;EV=1;var e=YE(),t=(XU||(XU=1,ZU=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}),ZU),n=aD(),r=function(){if(JU)return KU;JU=1;var e=sD(),t=BI();return KU=function(n,r){return n&&e(r,t(r),n)},KU}(),i=function(){if(eV)return QU;eV=1;var e=sD(),t=dD();return QU=function(n,r){return n&&e(r,t(r),n)},QU}(),o=OL(),a=PL(),s=function(){if(nV)return tV;nV=1;var e=sD(),t=PI();return tV=function(n,r){return e(n,t(n),r)},tV}(),l=function(){if(aV)return oV;aV=1;var e=sD(),t=BV();return oV=function(n,r){return e(n,t(n),r)},oV}(),c=jI(),u=jV(),d=HI(),f=function(){if(uV)return cV;uV=1;var e=Object.prototype.hasOwnProperty;return cV=function(t){var n=t.length,r=new t.constructor(n);return n&&"string"==typeof t[0]&&e.call(t,"index")&&(r.index=t.index,r.input=t.input),r},cV}(),h=WV(),p=WL(),g=$L(),m=iT(),v=HV(),b=IE(),y=qV(),_=BI(),x=dD(),w="[object Arguments]",k="[object Function]",C="[object Object]",A={};return A[w]=A["[object Array]"]=A["[object ArrayBuffer]"]=A["[object DataView]"]=A["[object Boolean]"]=A["[object Date]"]=A["[object Float32Array]"]=A["[object Float64Array]"]=A["[object Int8Array]"]=A["[object Int16Array]"]=A["[object Int32Array]"]=A["[object Map]"]=A["[object Number]"]=A[C]=A["[object RegExp]"]=A["[object Set]"]=A["[object String]"]=A["[object Symbol]"]=A["[object Uint8Array]"]=A["[object Uint8ClampedArray]"]=A["[object Uint16Array]"]=A["[object Uint32Array]"]=!0,A["[object Error]"]=A[k]=A["[object WeakMap]"]=!1,MV=function S(M,E,L,T,D,F){var O,z=1&E,R=2&E,N=4&E;if(L&&(O=D?L(M,T,D,F):L(M)),void 0!==O)return O;if(!b(M))return M;var P=g(M);if(P){if(O=f(M),!z)return a(M,O)}else{var I=d(M),B=I==k||"[object GeneratorFunction]"==I;if(m(M))return o(M,z);if(I==C||I==w||B&&!D){if(O=R||B?{}:p(M),!z)return R?l(M,i(O,M)):s(M,r(O,M))}else{if(!A[I])return D?M:{};O=h(M,I,z)}}F||(F=new e);var j=F.get(M);if(j)return j;F.set(M,O),y(M)?M.forEach((function(e){O.add(S(e,E,L,e,M,F))})):v(M)&&M.forEach((function(e,t){O.set(t,S(e,E,L,t,M,F))}));var W=P?void 0:(N?R?u:c:R?x:_)(M);return t(W||M,(function(e,t){W&&(e=M[t=e]),n(O,t,S(e,E,L,t,M,F))})),O},MV}function UV(){if(TV)return LV;return TV=1,LV=function(e,t,n){var r=-1,i=e.length;t<0&&(t=-t>i?0:i+t),(n=n>i?i:n)<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var o=Array(i);++r<i;)o[r]=e[r+t];return o},LV}function VV(){if(zV)return OV;zV=1;var e=XD(),t=Qz(),n=function(){if(FV)return DV;FV=1;var e=JD(),t=UV();return DV=function(n,r){return r.length<2?n:e(n,t(r,0,-1))},DV}(),r=KD(),i=Object.prototype.hasOwnProperty;return OV=function(o,a){var s=-1,l=(a=e(a,o)).length;if(!l)return!0;for(;++s<l;){var c=r(a[s]);if("__proto__"===c&&!i.call(o,"__proto__"))return!1;if(("constructor"===c||"prototype"===c)&&s<l-1)return!1}var u=n(o,a);return null==u||delete u[r(t(a))]},OV}var GV,YV,ZV=function(){if(IV)return PV;IV=1;var e=YD(),t=$V(),n=VV(),r=XD(),i=sD(),o=function(){if(NV)return RV;NV=1;var e=oT();return RV=function(t){return e(t)?void 0:t}}(),a=IP(),s=jV(),l=a((function(a,l){var c={};if(null==a)return c;var u=!1;l=e(l,(function(e){return e=r(e,a),u||(u=e.length>1),e})),i(a,s(a),c),u&&(c=t(c,7,o));for(var d=l.length;d--;)n(c,l[d]);return c}));return PV=l}(),XV=j(ZV);var KV,JV,QV,eG,tG,nG,rG,iG,oG,aG,sG,lG,cG,uG,dG,fG,hG,pG,gG,mG,vG,bG,yG,_G,xG,wG,kG,CG,AG,SG,MG,EG,LG,TG,DG=j(function(){if(YV)return GV;YV=1;var e=$V();return GV=function(t){return e(t,5)}}());function FG(){if(nG)return tG;nG=1;var e=(eG||(eG=1,QV=function(e){return function(t){return null==e?void 0:e[t]}}),QV),t=e({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"});return tG=t}function OG(){if(fG)return dG;fG=1;var e=function(){if(aG)return oG;aG=1;var e=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;return oG=function(t){return t.match(e)||[]}}(),t=function(){if(lG)return sG;lG=1;var e=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;return sG=function(t){return e.test(t)}}(),n=ZD(),r=function(){if(uG)return cG;uG=1;var e="\\ud800-\\udfff",t="\\u2700-\\u27bf",n="a-z\\xdf-\\xf6\\xf8-\\xff",r="A-Z\\xc0-\\xd6\\xd8-\\xde",i="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",o="["+i+"]",a="\\d+",s="["+t+"]",l="["+n+"]",c="[^"+e+i+a+t+n+r+"]",u="(?:\\ud83c[\\udde6-\\uddff]){2}",d="[\\ud800-\\udbff][\\udc00-\\udfff]",f="["+r+"]",h="(?:"+l+"|"+c+")",p="(?:"+f+"|"+c+")",g="(?:['’](?:d|ll|m|re|s|t|ve))?",m="(?:['’](?:D|LL|M|RE|S|T|VE))?",v="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",b="[\\ufe0e\\ufe0f]?",y=b+v+"(?:\\u200d(?:"+["[^"+e+"]",u,d].join("|")+")"+b+v+")*",_="(?:"+[s,u,d].join("|")+")"+y,x=RegExp([f+"?"+l+"+"+g+"(?="+[o,f,"$"].join("|")+")",p+"+"+m+"(?="+[o,f+h,"$"].join("|")+")",f+"?"+h+"+"+g,f+"+"+m,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",a,_].join("|"),"g");return cG=function(e){return e.match(x)||[]}}();return dG=function(i,o,a){return i=n(i),void 0===(o=a?void 0:o)?t(i)?r(i):e(i):i.match(o)||[]}}function zG(){if(pG)return hG;pG=1;var e=(JV||(JV=1,KV=function(e,t,n,r){var i=-1,o=null==e?0:e.length;for(r&&o&&(n=e[++i]);++i<o;)n=t(n,e[i],i,e);return n}),KV),t=function(){if(iG)return rG;iG=1;var e=FG(),t=ZD(),n=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,r=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");return rG=function(i){return(i=t(i))&&i.replace(n,e).replace(r,"")}}(),n=OG(),r=RegExp("['’]","g");return hG=function(i){return function(o){return e(n(t(o).replace(r,"")),i,"")}}}function RG(){if(bG)return vG;bG=1;var e=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");return vG=function(t){return e.test(t)}}function NG(){if(CG)return kG;CG=1;var e=_G?yG:(_G=1,yG=function(e){return e.split("")}),t=RG(),n=function(){if(wG)return xG;wG=1;var e="\\ud800-\\udfff",t="["+e+"]",n="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",r="\\ud83c[\\udffb-\\udfff]",i="[^"+e+"]",o="(?:\\ud83c[\\udde6-\\uddff]){2}",a="[\\ud800-\\udbff][\\udc00-\\udfff]",s="(?:"+n+"|"+r+")?",l="[\\ufe0e\\ufe0f]?",c=l+s+"(?:\\u200d(?:"+[i,o,a].join("|")+")"+l+s+")*",u="(?:"+[i+n+"?",n,o,a,t].join("|")+")",d=RegExp(r+"(?="+r+")|"+u+c,"g");return xG=function(e){return e.match(d)||[]}}();return kG=function(r){return t(r)?n(r):e(r)}}function PG(){if(SG)return AG;SG=1;var e=function(){if(mG)return gG;mG=1;var e=UV();return gG=function(t,n,r){var i=t.length;return r=void 0===r?i:r,!n&&r>=i?t:e(t,n,r)},gG}(),t=RG(),n=NG(),r=ZD();return AG=function(i){return function(o){o=r(o);var a=t(o)?n(o):void 0,s=a?a[0]:o.charAt(0),l=a?e(a,1).join(""):o.slice(1);return s[i]()+l}}}var IG=function(){if(TG)return LG;TG=1;var e=zG(),t=function(){if(EG)return MG;EG=1;var e=PG()("toUpperCase");return MG=e}(),n=e((function(e,n,r){return e+(r?" ":"")+t(n)}));return LG=n}(),BG=j(IG);function jG(e){var t=0,n=e.children,r=n&&n.length;if(r)for(;--r>=0;)t+=n[r].value;else t=1;e.value=t}function WG(e,t){e instanceof Map?(e=[void 0,e],void 0===t&&(t=qG)):void 0===t&&(t=HG);for(var n,r,i,o,a,s=new VG(e),l=[s];n=l.pop();)if((i=t(n.data))&&(a=(i=Array.from(i)).length))for(n.children=i,o=a-1;o>=0;--o)l.push(r=i[o]=new VG(i[o])),r.parent=n,r.depth=n.depth+1;return s.eachBefore(UG)}function HG(e){return e.children}function qG(e){return Array.isArray(e)?e[1]:null}function $G(e){void 0!==e.data.value&&(e.value=e.data.value),e.data=e.data.data}function UG(e){var t=0;do{e.height=t}while((e=e.parent)&&e.height<++t)}function VG(e){this.data=e,this.depth=this.height=0,this.parent=null}function GG(){return 0}function YG(e){return function(){return e}}function ZG(e){e.x0=Math.round(e.x0),e.y0=Math.round(e.y0),e.x1=Math.round(e.x1),e.y1=Math.round(e.y1)}function XG(e,t,n,r,i){for(var o,a=e.children,s=-1,l=a.length,c=e.value&&(r-t)/e.value;++s<l;)(o=a[s]).y0=n,o.y1=i,o.x0=t,o.x1=t+=o.value*c}function KG(e,t,n,r,i){for(var o,a=e.children,s=-1,l=a.length,c=e.value&&(i-n)/e.value;++s<l;)(o=a[s]).x0=t,o.x1=r,o.y0=n,o.y1=n+=o.value*c}VG.prototype=WG.prototype={constructor:VG,count:function(){return this.eachAfter(jG)},each:function(e,t){let n=-1;for(const r of this)e.call(t,r,++n,this);return this},eachAfter:function(e,t){for(var n,r,i,o=this,a=[o],s=[],l=-1;o=a.pop();)if(s.push(o),n=o.children)for(r=0,i=n.length;r<i;++r)a.push(n[r]);for(;o=s.pop();)e.call(t,o,++l,this);return this},eachBefore:function(e,t){for(var n,r,i=this,o=[i],a=-1;i=o.pop();)if(e.call(t,i,++a,this),n=i.children)for(r=n.length-1;r>=0;--r)o.push(n[r]);return this},find:function(e,t){let n=-1;for(const r of this)if(e.call(t,r,++n,this))return r},sum:function(e){return this.eachAfter((function(t){for(var n=+e(t.data)||0,r=t.children,i=r&&r.length;--i>=0;)n+=r[i].value;t.value=n}))},sort:function(e){return this.eachBefore((function(t){t.children&&t.children.sort(e)}))},path:function(e){for(var t=this,n=function(e,t){if(e===t)return e;var n=e.ancestors(),r=t.ancestors(),i=null;e=n.pop(),t=r.pop();for(;e===t;)i=e,e=n.pop(),t=r.pop();return i}(t,e),r=[t];t!==n;)t=t.parent,r.push(t);for(var i=r.length;e!==n;)r.splice(i,0,e),e=e.parent;return r},ancestors:function(){for(var e=this,t=[e];e=e.parent;)t.push(e);return t},descendants:function(){return Array.from(this)},leaves:function(){var e=[];return this.eachBefore((function(t){t.children||e.push(t)})),e},links:function(){var e=this,t=[];return e.each((function(n){n!==e&&t.push({source:n.parent,target:n})})),t},copy:function(){return WG(this).eachBefore($G)},[Symbol.iterator]:function*(){var e,t,n,r,i=this,o=[i];do{for(e=o.reverse(),o=[];i=e.pop();)if(yield i,t=i.children)for(n=0,r=t.length;n<r;++n)o.push(t[n])}while(o.length)}};var JG=function e(t){function n(e,n,r,i,o){!function(e,t,n,r,i,o){for(var a,s,l,c,u,d,f,h,p,g,m,v=[],b=t.children,y=0,_=0,x=b.length,w=t.value;y<x;){l=i-n,c=o-r;do{u=b[_++].value}while(!u&&_<x);for(d=f=u,m=u*u*(g=Math.max(c/l,l/c)/(w*e)),p=Math.max(f/m,m/d);_<x;++_){if(u+=s=b[_].value,s<d&&(d=s),s>f&&(f=s),m=u*u*g,(h=Math.max(f/m,m/d))>p){u-=s;break}p=h}v.push(a={value:u,dice:l<c,children:b.slice(y,_)}),a.dice?XG(a,n,r,i,w?r+=c*u/w:o):KG(a,n,r,w?n+=l*u/w:i,o),w-=u,y=_}}(t,e,n,r,i,o)}return n.ratio=function(t){return e((t=+t)>1?t:1)},n}((1+Math.sqrt(5))/2);function QG(){var e=JG,t=!1,n=1,r=1,i=[0],o=GG,a=GG,s=GG,l=GG,c=GG;function u(e){return e.x0=e.y0=0,e.x1=n,e.y1=r,e.eachBefore(d),i=[0],t&&e.eachBefore(ZG),e}function d(t){var n=i[t.depth],r=t.x0+n,u=t.y0+n,d=t.x1-n,f=t.y1-n;d<r&&(r=d=(r+d)/2),f<u&&(u=f=(u+f)/2),t.x0=r,t.y0=u,t.x1=d,t.y1=f,t.children&&(n=i[t.depth+1]=o(t)/2,r+=c(t)-n,u+=a(t)-n,(d-=s(t)-n)<r&&(r=d=(r+d)/2),(f-=l(t)-n)<u&&(u=f=(u+f)/2),e(t,r,u,d,f))}return u.round=function(e){return arguments.length?(t=!!e,u):t},u.size=function(e){return arguments.length?(n=+e[0],r=+e[1],u):[n,r]},u.tile=function(t){return arguments.length?(e=function(e){if("function"!=typeof e)throw new Error;return e}(t),u):e},u.padding=function(e){return arguments.length?u.paddingInner(e).paddingOuter(e):u.paddingInner()},u.paddingInner=function(e){return arguments.length?(o="function"==typeof e?e:YG(+e),u):o},u.paddingOuter=function(e){return arguments.length?u.paddingTop(e).paddingRight(e).paddingBottom(e).paddingLeft(e):u.paddingTop()},u.paddingTop=function(e){return arguments.length?(a="function"==typeof e?e:YG(+e),u):a},u.paddingRight=function(e){return arguments.length?(s="function"==typeof e?e:YG(+e),u):s},u.paddingBottom=function(e){return arguments.length?(l="function"==typeof e?e:YG(+e),u):l},u.paddingLeft=function(e){return arguments.length?(c="function"==typeof e?e:YG(+e),u):c},u}function eY(){return eY=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},eY.apply(null,arguments)}function tY(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}var nY=function(e,t){return SS([e,t],(function(e,t){return"translate("+e+","+t+")"}))},rY=function(e,t){return SS([e,t],(function(e,t){return"translate("+e+"px, "+t+"px)"}))},iY=function(e,t,n){return SS([e,t,n],(function(e,t,n){return"translate("+e+","+t+") rotate("+n+")"}))},oY=function(e,t,n){return SS([e,t,n],(function(e,t,n){return"translate("+e+"px,"+t+"px) rotate("+n+"deg)"}))},aY=function(e,t,n){return SS([e,t,n],(function(e,t,n){return"translate("+(e-(0===n?0:5))+"px,"+(t-(0===n?5:0))+"px) rotate("+n+"deg)"}))},sY=T((function(e){var t=e.node,n=e.animatedProps,r=e.borderWidth,i=e.enableLabel,o=e.enableParentLabel,a=e.labelSkipSize,s=bF(),l=i&&t.isLeaf&&(0===a||Math.min(t.width,t.height)>a),c=o&&t.isParent;return An(TE.g,{transform:nY(n.x,n.y),children:[An(TE.rect,{"data-testid":"node."+t.id,width:SS(n.width,(function(e){return Math.max(e,0)})),height:SS(n.height,(function(e){return Math.max(e,0)})),fill:t.fill?t.fill:n.color,strokeWidth:r,stroke:t.borderColor,fillOpacity:t.opacity,onMouseEnter:t.onMouseEnter,onMouseMove:t.onMouseMove,onMouseLeave:t.onMouseLeave,onClick:t.onClick}),l&&An(vj,{"data-testid":"label."+t.id,textAnchor:"middle",dominantBaseline:"central",style:eY({},s.labels.text,{fill:t.labelTextColor,pointerEvents:"none"}),fillOpacity:n.labelOpacity,transform:iY(n.labelX,n.labelY,n.labelRotation),children:t.label}),c&&An(vj,{"data-testid":"parentLabel."+t.id,dominantBaseline:"central",style:eY({},s.labels.text,{fill:t.parentLabelTextColor,pointerEvents:"none"}),fillOpacity:n.parentLabelOpacity,transform:iY(n.parentLabelX,n.parentLabelY,n.parentLabelRotation),children:t.parentLabel})]})})),lY=T((function(e){var t=e.node;return An(AF,{id:t.id,value:t.formattedValue,enableChip:!0,color:t.color})})),cY=T((function(e){var t=e.node,n=e.animatedProps,r=e.borderWidth,i=e.enableLabel,o=e.enableParentLabel,a=e.labelSkipSize,s=bF(),l=i&&t.isLeaf&&(0===a||Math.min(t.width,t.height)>a),c=o&&t.isParent;return An(TE.div,{"data-testid":"node."+t.id,id:t.path.replace(/[^\w]/gi,"-"),style:{boxSizing:"border-box",position:"absolute",top:0,left:0,transform:rY(n.x,n.y),width:n.width,height:n.height,borderWidth:r,borderStyle:"solid",borderColor:t.borderColor,overflow:"hidden"},children:[An(TE.div,{style:{boxSizing:"border-box",position:"absolute",top:0,left:0,opacity:t.opacity,width:n.width,height:n.height,background:n.color},onMouseEnter:t.onMouseEnter,onMouseMove:t.onMouseMove,onMouseLeave:t.onMouseLeave,onClick:t.onClick}),l&&An(TE.span,{"data-testid":"label."+t.id,style:eY({},s.labels.text,{position:"absolute",display:"flex",top:-5,left:-5,width:10,height:10,justifyContent:"center",alignItems:"center",whiteSpace:"nowrap",color:t.labelTextColor,transformOrigin:"center center",transform:oY(n.labelX,n.labelY,n.labelRotation),opacity:n.labelOpacity,pointerEvents:"none"}),children:t.label}),c&&An(TE.span,{"data-testid":"parentLabel."+t.id,style:eY({},s.labels.text,{position:"absolute",display:"flex",justifyContent:"flex-start",alignItems:"center",whiteSpace:"nowrap",width:10,height:10,color:t.parentLabelTextColor,transformOrigin:"top left",transform:aY(n.parentLabelX,n.parentLabelY,n.parentLabelRotation),opacity:n.parentLabelOpacity,pointerEvents:"none"}),children:t.parentLabel})]})})),uY={layers:["nodes"],identity:"id",value:"value",tile:"squarify",leavesOnly:!1,innerPadding:0,outerPadding:0,colors:{scheme:"nivo"},colorBy:"pathComponents.1",nodeOpacity:.33,enableLabel:!0,label:"formattedValue",labelSkipSize:0,labelTextColor:{from:"color",modifiers:[["darker",1]]},orientLabel:!0,enableParentLabel:!0,parentLabel:"id",parentLabelSize:20,parentLabelPosition:"top",parentLabelPadding:6,parentLabelTextColor:{from:"color",modifiers:[["darker",1]]},borderWidth:1,borderColor:{from:"color",modifiers:[["darker",1]]},isInteractive:!0,tooltip:lY,role:"img",animate:!0,motionConfig:"gentle"},dY=eY({},uY,{nodeComponent:sY,defs:[],fill:[]}),fY=eY({},uY,{nodeComponent:cY}),hY=eY({},uY,{pixelRatio:"undefined"!=typeof window&&window.devicePixelRatio||1}),pY={binary:function(e,t,n,r,i){var o,a,s=e.children,l=s.length,c=new Array(l+1);for(c[0]=a=o=0;o<l;++o)c[o+1]=a+=s[o].value;!function e(t,n,r,i,o,a,l){if(t>=n-1){var u=s[t];return u.x0=i,u.y0=o,u.x1=a,void(u.y1=l)}var d=c[t],f=r/2+d,h=t+1,p=n-1;for(;h<p;){var g=h+p>>>1;c[g]<f?h=g+1:p=g}f-c[h-1]<c[h]-f&&t+1<h&&--h;var m=c[h]-d,v=r-m;if(a-i>l-o){var b=r?(i*v+a*m)/r:a;e(t,h,m,i,o,b,l),e(h,n,v,b,o,a,l)}else{var y=r?(o*v+l*m)/r:l;e(t,h,m,i,o,a,y),e(h,n,v,i,y,a,l)}}(0,l,e.value,t,n,r,i)},dice:XG,slice:KG,sliceDice:function(e,t,n,r,i){(1&e.depth?KG:XG)(e,t,n,r,i)},squarify:JG},gY=function(e){var t=e.data,n=e.width,r=e.height,i=e.identity,o=void 0===i?uY.identity:i,a=e.value,s=void 0===a?uY.value:a,l=e.valueFormat,c=e.leavesOnly,u=void 0===c?uY.leavesOnly:c,d=e.tile,f=void 0===d?uY.tile:d,h=e.innerPadding,p=void 0===h?uY.innerPadding:h,g=e.outerPadding,m=void 0===g?uY.outerPadding:g,v=e.label,b=void 0===v?uY.label:v,y=e.orientLabel,_=void 0===y?uY.orientLabel:y,x=e.enableParentLabel,w=void 0===x?uY.enableParentLabel:x,k=e.parentLabel,C=void 0===k?uY.parentLabel:k,A=e.parentLabelSize,S=void 0===A?uY.parentLabelSize:A,E=e.parentLabelPosition,L=void 0===E?uY.parentLabelPosition:E,T=e.parentLabelPadding,D=void 0===T?uY.parentLabelPadding:T,F=e.colors,O=void 0===F?uY.colors:F,z=e.colorBy,R=void 0===z?uY.colorBy:z,N=e.nodeOpacity,P=void 0===N?uY.nodeOpacity:N,I=e.borderColor,B=void 0===I?uY.borderColor:I,j=e.labelTextColor,W=void 0===j?uY.labelTextColor:j,H=e.parentLabelTextColor,q=void 0===H?uY.parentLabelTextColor:H,$=ZB(o),U=ZB(s),V=GB(l),G=ZB(b),Y=ZB(C),Z=function(e){var t=e.width,n=e.height,r=e.tile,i=e.innerPadding,o=e.outerPadding,a=e.enableParentLabel,s=e.parentLabelSize,l=e.parentLabelPosition,c=e.leavesOnly;return M((function(){var e=QG().size([t,n]).tile(pY[r]).round(!0).paddingInner(i).paddingOuter(o);if(a&&!c){var u=s+2*o;e["padding"+BG(l)](u)}return e}),[t,n,r,i,o,a,s,l,c])}({width:n,height:r,tile:f,innerPadding:p,outerPadding:m,enableParentLabel:w,parentLabelSize:S,parentLabelPosition:L,leavesOnly:u}),X=function(e){var t=e.root,n=e.getValue;return M((function(){return WG(t).sum(n)}),[t,n])}({root:t,getValue:U}),K=M((function(){var e=DG(X);return Z(e),u?e.leaves():e.descendants()}),[X,Z,u]),J=M((function(){return K.map((function(e){var t=function(e,t){var n=e.ancestors().map((function(e){return t(e.data)})).reverse();return{path:n.join("."),pathComponents:n}}(e,$),n=t.path,r=t.pathComponents,i={id:$(e.data),path:n,pathComponents:r,data:XV(e.data,"children"),x:e.x0,y:e.y0,width:e.x1-e.x0,height:e.y1-e.y0,value:e.value,formattedValue:V(e.value),treeDepth:e.depth,treeHeight:e.height,isParent:e.height>0,isLeaf:0===e.height,parentLabelX:0,parentLabelY:0,parentLabelRotation:0};return i.labelRotation=_&&i.height>i.width?-90:0,"top"===L&&(i.parentLabelX=m+D,i.parentLabelY=m+S/2),"right"===L&&(i.parentLabelX=i.width-m-S/2,i.parentLabelY=i.height-m-D,i.parentLabelRotation=-90),"bottom"===L&&(i.parentLabelX=m+D,i.parentLabelY=i.height-m-S/2),"left"===L&&(i.parentLabelX=m+S/2,i.parentLabelY=i.height-m-D,i.parentLabelRotation=-90),i.label=G(i),i.parentLabel=Y(i),i}))}),[K,$,V,G,_,Y,S,L,D,m]),Q=bF(),ee=Nq(O,R),te=Mq(B,Q),ne=Mq(W,Q),re=Mq(q,Q),ie=M((function(){return J.map((function(e){var t=eY({},e,{color:ee(e),opacity:P});return t.borderColor=te(t),t.labelTextColor=ne(t),t.parentLabelTextColor=re(t),t}))}),[J,ee,P,te,ne,re]);return{hierarchy:X,nodes:ie,layout:Z}},mY=function(e){var t=e.nodes;return M((function(){return{nodes:t}}),[t])},vY=function(e){return{x:e.x,y:e.y,width:e.width,height:e.height,color:e.color,labelX:e.width/2,labelY:e.height/2,labelRotation:e.labelRotation,labelOpacity:1,parentLabelX:e.parentLabelX,parentLabelY:e.parentLabelY,parentLabelRotation:e.parentLabelRotation,parentLabelOpacity:1}},bY=function(e){return{x:e.x+e.width/2,y:e.y+e.height/2,width:0,height:0,color:e.color,labelX:0,labelY:0,labelRotation:e.labelRotation,labelOpacity:0,parentLabelX:0,parentLabelY:0,parentLabelRotation:e.parentLabelRotation,parentLabelOpacity:0}},yY=T((function(e){var t=e.nodes,n=e.nodeComponent,i=e.borderWidth,o=e.enableLabel,a=e.labelSkipSize,s=e.enableParentLabel,l=function(e,t){var n=t.isInteractive,r=t.onMouseEnter,i=t.onMouseMove,o=t.onMouseLeave,a=t.onClick,s=t.tooltip,l=RF(),c=l.showTooltipFromEvent,u=l.hideTooltip,d=S((function(e,t){c(F(s,{node:e}),t,"left")}),[c,s]),f=S((function(e,t){d(e,t),null==r||r(e,t)}),[r,d]),h=S((function(e,t){d(e,t),null==i||i(e,t)}),[i,d]),p=S((function(e,t){u(),null==o||o(e,t)}),[o,u]),g=S((function(e,t){null==a||a(e,t)}),[a]);return M((function(){return e.map((function(e){return n?eY({},e,{onMouseEnter:function(t){return f(e,t)},onMouseMove:function(t){return h(e,t)},onMouseLeave:function(t){return p(e,t)},onClick:function(t){return g(e,t)}}):e}))}),[n,e,f,h,p,g])}(t,{isInteractive:e.isInteractive,onMouseEnter:e.onMouseEnter,onMouseMove:e.onMouseMove,onMouseLeave:e.onMouseLeave,onClick:e.onClick,tooltip:e.tooltip}),c=XI(),u=c.animate,d=c.config,f=_S(l,{keys:function(e){return e.path},initial:vY,from:bY,enter:vY,update:vY,leave:bY,config:d,immediate:!u});return An(r,{children:f((function(e,t){return F(n,{key:t.path,node:t,animatedProps:e,borderWidth:i,enableLabel:o,labelSkipSize:a,enableParentLabel:s})}))})})),_Y=["isInteractive","animate","motionConfig","theme","renderWrapper"],xY=function(e){var t=e.data,n=e.identity,r=void 0===n?dY.identity:n,i=e.value,o=void 0===i?dY.value:i,a=e.valueFormat,s=e.tile,l=void 0===s?dY.tile:s,c=e.nodeComponent,u=void 0===c?dY.nodeComponent:c,d=e.innerPadding,f=void 0===d?dY.innerPadding:d,h=e.outerPadding,p=void 0===h?dY.outerPadding:h,g=e.leavesOnly,m=void 0===g?dY.leavesOnly:g,v=e.width,b=e.height,y=e.margin,_=e.layers,x=void 0===_?dY.layers:_,w=e.colors,k=void 0===w?dY.colors:w,C=e.colorBy,A=void 0===C?dY.colorBy:C,S=e.nodeOpacity,M=void 0===S?dY.nodeOpacity:S,E=e.borderWidth,L=void 0===E?dY.borderWidth:E,T=e.borderColor,D=void 0===T?dY.borderColor:T,O=e.defs,R=void 0===O?dY.defs:O,N=e.fill,P=void 0===N?dY.fill:N,I=e.enableLabel,B=void 0===I?dY.enableLabel:I,j=e.label,W=void 0===j?dY.label:j,H=e.labelTextColor,q=void 0===H?dY.labelTextColor:H,$=e.orientLabel,U=void 0===$?dY.orientLabel:$,V=e.labelSkipSize,G=void 0===V?dY.labelSkipSize:V,Y=e.enableParentLabel,Z=void 0===Y?dY.enableParentLabel:Y,X=e.parentLabel,K=void 0===X?dY.parentLabel:X,J=e.parentLabelSize,Q=void 0===J?dY.parentLabelSize:J,ee=e.parentLabelPosition,te=void 0===ee?dY.parentLabelPosition:ee,ne=e.parentLabelPadding,re=void 0===ne?dY.parentLabelPadding:ne,ie=e.parentLabelTextColor,oe=void 0===ie?dY.parentLabelTextColor:ie,ae=e.isInteractive,se=void 0===ae?dY.isInteractive:ae,le=e.onMouseEnter,ce=e.onMouseMove,ue=e.onMouseLeave,de=e.onClick,fe=e.tooltip,he=void 0===fe?dY.tooltip:fe,pe=e.role,ge=e.ariaLabel,me=e.ariaLabelledBy,ve=e.ariaDescribedBy,be=e.forwardedRef,ye=$B(v,b,y),_e=ye.margin,xe=ye.innerWidth,we=ye.innerHeight,ke=ye.outerWidth,Ce=ye.outerHeight,Ae=gY({data:t,identity:r,value:o,valueFormat:a,leavesOnly:m,width:xe,height:we,tile:l,innerPadding:f,outerPadding:p,colors:k,colorBy:A,nodeOpacity:M,borderColor:D,label:W,labelTextColor:q,orientLabel:U,enableParentLabel:Z,parentLabel:K,parentLabelSize:Q,parentLabelPosition:te,parentLabelPadding:re,parentLabelTextColor:oe}).nodes,Se={nodes:null};x.includes("nodes")&&(Se.nodes=An(yY,{nodes:Ae,nodeComponent:u,borderWidth:L,enableLabel:B,labelSkipSize:G,enableParentLabel:Z,isInteractive:se,onMouseEnter:le,onMouseMove:ce,onMouseLeave:ue,onClick:de,tooltip:he},"nodes"));var Me=mY({nodes:Ae}),Ee=tj(R,Ae,P);return An(zB,{width:ke,height:Ce,margin:_e,defs:Ee,role:pe,ariaLabel:ge,ariaLabelledBy:me,ariaDescribedBy:ve,ref:be,children:x.map((function(e,t){var n;return"function"==typeof e?An(z,{children:F(e,Me)},t):null!=(n=null==Se?void 0:Se[e])?n:null}))})},wY=A((function(e,t){var n=e.isInteractive,r=void 0===n?dY.isInteractive:n,i=e.animate,o=void 0===i?dY.animate:i,a=e.motionConfig,s=void 0===a?dY.motionConfig:a,l=e.theme,c=e.renderWrapper,u=tY(e,_Y);return An(QI,{animate:o,isInteractive:r,motionConfig:s,renderWrapper:c,theme:l,children:An(xY,eY({},u,{isInteractive:r,forwardedRef:t}))})})),kY=["defaultWidth","defaultHeight","onResize","debounceResize"],CY=A((function(e,t){var n=e.defaultWidth,r=e.defaultHeight,i=e.onResize,o=e.debounceResize,a=tY(e,kY);return An(nB,{defaultWidth:n,defaultHeight:r,onResize:i,debounceResize:o,children:function(e){var n=e.width,r=e.height;return An(wY,eY({},a,{width:n,height:r,ref:t}))}})})),AY=["isInteractive","animate","motionConfig","theme","renderWrapper"],SY=function(e){var t=e.data,n=e.identity,r=void 0===n?fY.identity:n,i=e.value,o=void 0===i?fY.value:i,a=e.tile,s=void 0===a?fY.tile:a,l=e.nodeComponent,c=void 0===l?fY.nodeComponent:l,u=e.valueFormat,d=e.innerPadding,f=void 0===d?fY.innerPadding:d,h=e.outerPadding,p=void 0===h?fY.outerPadding:h,g=e.leavesOnly,m=void 0===g?fY.leavesOnly:g,v=e.width,b=e.height,y=e.margin,_=e.layers,x=void 0===_?dY.layers:_,w=e.colors,k=void 0===w?fY.colors:w,C=e.colorBy,A=void 0===C?fY.colorBy:C,S=e.nodeOpacity,M=void 0===S?fY.nodeOpacity:S,E=e.borderWidth,L=void 0===E?fY.borderWidth:E,T=e.borderColor,D=void 0===T?fY.borderColor:T,O=e.enableLabel,R=void 0===O?fY.enableLabel:O,N=e.label,P=void 0===N?fY.label:N,I=e.labelTextColor,B=void 0===I?fY.labelTextColor:I,j=e.orientLabel,W=void 0===j?fY.orientLabel:j,H=e.labelSkipSize,q=void 0===H?fY.labelSkipSize:H,$=e.enableParentLabel,U=void 0===$?fY.enableParentLabel:$,V=e.parentLabel,G=void 0===V?fY.parentLabel:V,Y=e.parentLabelSize,Z=void 0===Y?fY.parentLabelSize:Y,X=e.parentLabelPosition,K=void 0===X?fY.parentLabelPosition:X,J=e.parentLabelPadding,Q=void 0===J?fY.parentLabelPadding:J,ee=e.parentLabelTextColor,te=void 0===ee?fY.parentLabelTextColor:ee,ne=e.isInteractive,re=void 0===ne?fY.isInteractive:ne,ie=e.onMouseEnter,oe=e.onMouseMove,ae=e.onMouseLeave,se=e.onClick,le=e.tooltip,ce=void 0===le?fY.tooltip:le,ue=e.role,de=e.ariaLabel,fe=e.ariaLabelledBy,he=e.ariaDescribedBy,pe=e.forwardedRef,ge=$B(v,b,y),me=ge.margin,ve=ge.innerWidth,be=ge.innerHeight,ye=ge.outerWidth,_e=ge.outerHeight,xe=gY({data:t,identity:r,value:o,valueFormat:u,leavesOnly:m,width:ve,height:be,tile:s,innerPadding:f,outerPadding:p,colors:k,colorBy:A,nodeOpacity:M,borderColor:D,label:P,labelTextColor:B,orientLabel:W,enableParentLabel:U,parentLabel:G,parentLabelSize:Z,parentLabelPosition:K,parentLabelPadding:Q,parentLabelTextColor:te}).nodes,we={nodes:null};x.includes("nodes")&&(we.nodes=An(yY,{nodes:xe,nodeComponent:c,borderWidth:L,enableLabel:R,labelSkipSize:q,enableParentLabel:U,isInteractive:re,onMouseEnter:ie,onMouseMove:oe,onMouseLeave:ae,onClick:se,tooltip:ce},"nodes"));var ke=mY({nodes:xe});return An("div",{role:ue,"aria-label":de,"aria-labelledby":fe,"aria-describedby":he,style:{position:"relative",width:ye,height:_e},ref:pe,children:An("div",{style:{position:"absolute",top:me.top,left:me.left},children:x.map((function(e,t){var n;return"function"==typeof e?An(z,{children:F(e,ke)},t):null!=(n=null==we?void 0:we[e])?n:null}))})})},MY=A((function(e,t){var n=e.isInteractive,r=void 0===n?fY.isInteractive:n,i=e.animate,o=void 0===i?fY.animate:i,a=e.motionConfig,s=void 0===a?fY.motionConfig:a,l=e.theme,c=e.renderWrapper,u=tY(e,AY);return An(QI,{animate:o,isInteractive:r,motionConfig:s,renderWrapper:c,theme:l,children:An(SY,eY({},u,{isInteractive:r,forwardedRef:t}))})})),EY=["defaultWidth","defaultHeight","onResize","debounceResize"];A((function(e,t){var n=e.defaultWidth,r=e.defaultHeight,i=e.onResize,o=e.debounceResize,a=tY(e,EY);return An(nB,{defaultWidth:n,defaultHeight:r,onResize:i,debounceResize:o,children:function(e){var n=e.width,r=e.height;return An(MY,eY({},a,{width:n,height:r,ref:t}))}})}));var LY=["theme","isInteractive","animate","motionConfig","renderWrapper"],TY=function(e,t,n,r){return e.find((function(e){return KB(e.x+t.left,e.y+t.top,e.width,e.height,n,r)}))},DY=function(e){var t=e.data,n=e.identity,r=void 0===n?hY.identity:n,i=e.value,o=void 0===i?hY.identity:i,a=e.tile,s=void 0===a?hY.tile:a,l=e.valueFormat,c=e.innerPadding,u=void 0===c?hY.innerPadding:c,d=e.outerPadding,f=void 0===d?hY.outerPadding:d,h=e.leavesOnly,p=void 0===h?hY.leavesOnly:h,g=e.width,m=e.height,v=e.margin,b=e.colors,y=void 0===b?hY.colors:b,_=e.colorBy,x=void 0===_?hY.colorBy:_,k=e.nodeOpacity,A=void 0===k?hY.nodeOpacity:k,M=e.borderWidth,E=void 0===M?hY.borderWidth:M,L=e.borderColor,T=void 0===L?hY.borderColor:L,D=e.enableLabel,O=void 0===D?hY.enableLabel:D,z=e.label,R=void 0===z?hY.label:z,N=e.labelTextColor,P=void 0===N?hY.labelTextColor:N,I=e.orientLabel,B=void 0===I?hY.orientLabel:I,j=e.labelSkipSize,W=void 0===j?hY.labelSkipSize:j,H=e.isInteractive,q=void 0===H?hY.isInteractive:H,$=e.onMouseMove,U=e.onClick,V=e.tooltip,G=void 0===V?hY.tooltip:V,Y=e.pixelRatio,Z=void 0===Y?hY.pixelRatio:Y,X=e.role,K=e.ariaLabel,J=e.ariaLabelledBy,Q=e.ariaDescribedBy,ee=e.forwardedRef,te=C(null),ne=$B(g,m,v),re=ne.margin,ie=ne.innerWidth,oe=ne.innerHeight,ae=ne.outerWidth,se=ne.outerHeight,le=gY({data:t,identity:r,value:o,valueFormat:l,leavesOnly:p,width:ie,height:oe,tile:s,innerPadding:u,outerPadding:f,colors:y,colorBy:x,nodeOpacity:A,borderColor:T,label:R,labelTextColor:P,orientLabel:B,enableParentLabel:!1}).nodes,ce=bF();w((function(){if(null!==te.current){var e=te.current.getContext("2d");null!==e&&(te.current.width=ae*Z,te.current.height=se*Z,e.scale(Z,Z),e.fillStyle=ce.background,e.fillRect(0,0,ae,se),e.translate(re.left,re.top),le.forEach((function(t){e.fillStyle=t.color,e.fillRect(t.x,t.y,t.width,t.height),E>0&&(e.strokeStyle=t.borderColor,e.lineWidth=E,e.strokeRect(t.x,t.y,t.width,t.height))})),O&&(e.textAlign="center",e.textBaseline="middle",rj(e,ce.labels.text),le.forEach((function(t){if(t.isLeaf&&(0===W||Math.min(t.width,t.height)>W)){var n=B&&t.height>t.width;e.save(),e.translate(t.x+t.width/2,t.y+t.height/2),e.rotate(pB(n?-90:0)),ij(e,eY({},ce.labels.text,{fill:t.labelTextColor}),String(t.label)),e.restore()}}))))}}),[te,le,ae,se,ie,oe,re,E,O,B,W,ce,Z]);var ue=RF(),de=ue.showTooltipFromEvent,fe=ue.hideTooltip,he=S((function(e){if(null!==te.current){var t=JB(te.current,e),n=t[0],r=t[1],i=TY(le,re,n,r);void 0!==i?(de(F(G,{node:i}),e,"left"),null==$||$(i,e)):fe()}}),[te,le,re,de,fe,G,$]),pe=S((function(){fe()}),[fe]),ge=S((function(e){if(null!==te.current){var t=JB(te.current,e),n=t[0],r=t[1],i=TY(le,re,n,r);void 0!==i&&(null==U||U(i,e))}}),[te,le,re,U]);return An("canvas",{ref:nj(te,ee),width:ae*Z,height:se*Z,style:{width:ae,height:se},onMouseEnter:q?he:void 0,onMouseMove:q?he:void 0,onMouseLeave:q?pe:void 0,onClick:q?ge:void 0,role:X,"aria-label":K,"aria-labelledby":J,"aria-describedby":Q})},FY=A((function(e,t){var n=e.theme,r=e.isInteractive,i=void 0===r?hY.isInteractive:r,o=e.animate,a=void 0===o?hY.animate:o,s=e.motionConfig,l=void 0===s?hY.motionConfig:s,c=e.renderWrapper,u=tY(e,LY);return An(QI,{isInteractive:i,animate:a,motionConfig:l,theme:n,renderWrapper:c,children:An(DY,eY({},u,{isInteractive:i,forwardedRef:t}))})})),OY=["defaultWidth","defaultHeight","onResize","debounceResize"];A((function(e,t){var n=e.defaultWidth,r=e.defaultHeight,i=e.onResize,o=e.debounceResize,a=tY(e,OY);return An(nB,{defaultWidth:n,defaultHeight:r,onResize:i,debounceResize:o,children:function(e){var n=e.width,r=e.height;return An(FY,eY({},a,{width:n,height:r,ref:t}))}})}));const zY={mass:1,tension:500,friction:40,clamp:!1,precision:.01,velocity:0},RY=window.matchMedia("(prefers-reduced-motion: reduce)").matches,NY="var(--color-text-secondary)",PY="var(--color-text-primary)",IY={background:"var(--color-bg-primary)",axis:{ticks:{text:{fill:NY,fontSize:12}}},grid:{line:{stroke:"var(--color-border-default)",strokeDasharray:"4",strokeLinecap:"round"}},dots:{text:{fill:NY,fontSize:12}},labels:{text:{fill:PY,fontSize:12}},text:{fill:PY,fontSize:12},markers:{lineColor:"var(--color-border-default)",lineStrokeWidth:2,text:{fill:PY,fontSize:12,fontWeight:600}},legends:{text:{fill:PY,fontSize:12}},tooltip:{container:{background:"var(--color-bg-raised)",color:"var(--color-text-primary)"}}},BY={nodeOpacity:1,borderWidth:1,labelSkipSize:12,parentLabelSize:14,parentLabelPosition:"top",parentLabelPadding:6,enableParentLabel:!0,animate:!0,innerPadding:4,outerPadding:4};var jY=/^--/;function WY(e,t){return null==t||"boolean"==typeof t||""===t?"":"number"!=typeof t||0===t||jY.test(e)||qY.hasOwnProperty(e)&&qY[e]?(""+t).trim():t+"px"}var HY={};var qY={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},$Y=["Webkit","Ms","Moz","O"];qY=Object.keys(qY).reduce(((e,t)=>($Y.forEach((n=>e[((e,t)=>e+t.charAt(0).toUpperCase()+t.substring(1))(n,t)]=e[t])),e)),qY);var UY=/^(matrix|translate|scale|rotate|skew)/,VY=/^(translate)/,GY=/^(rotate|skew)/,YY=(e,t)=>Dk.num(e)&&0!==e?e+t:e,ZY=(e,t)=>Dk.arr(e)?e.every((e=>ZY(e,t))):Dk.num(e)?e===t:parseFloat(e)===t,XY=class extends oA{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=>YY(e,"px"))).join(",")})`,ZY(e,0)]))),zk(r,((e,t)=>{if("transform"===t)i.push([e||""]),o.push((e=>[e,""===e]));else if(UY.test(t)){if(delete r[t],Dk.und(e))return;const n=VY.test(t)?"px":GY.test(t)?"deg":"";i.push(Rk(e)),o.push("rotate3d"===t?([e,t,r,i])=>[`rotate3d(${e},${t},${r},${YY(i,n)})`,ZY(i,0)]:e=>[`${t}(${e.map((e=>YY(e,n))).join(",")})`,ZY(e,t.startsWith("scale")?1:0)])}})),i.length&&(r.transform=new KY(i,o)),super(r)}},KY=class extends SC{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 Ok(this.inputs,((n,r)=>{const i=kC(n[0]),[o,a]=this.transforms[r](Dk.arr(i)?i:n.map(kC));e+=" "+o,t=t&&a})),t?"none":e}observerAdded(e){1==e&&Ok(this.inputs,(e=>Ok(e,(e=>wC(e)&&EC(e,this)))))}observerRemoved(e){0==e&&Ok(this.inputs,(e=>Ok(e,(e=>wC(e)&&LC(e,this)))))}eventObserved(e){"change"==e.type&&(this._value=null),AC(this,e)}};Lk.assign({batchedUpdates:N,createStringInterpolator:jC,colors:eC});var JY=fA(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],{applyAnimatedValues:function(e,t){if(!e.nodeType||!e.setAttribute)return!1;const n="filter"===e.nodeName||e.parentNode&&"filter"===e.parentNode.nodeName,{className:r,style:i,children:o,scrollTop:a,scrollLeft:s,viewBox:l,...c}=t,u=Object.values(c),d=Object.keys(c).map((t=>n||e.hasAttribute(t)?t:HY[t]||(HY[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=WY(t,i[t]);jY.test(t)?e.style.setProperty(t,n):e.style[t]=n}d.forEach(((t,n)=>{e.setAttribute(t,u[n])})),void 0!==r&&(e.className=r),void 0!==a&&(e.scrollTop=a),void 0!==s&&(e.scrollLeft=s),void 0!==l&&e.setAttribute("viewBox",l)},createAnimatedStyle:e=>new XY(e),getComponentProps:({scrollTop:e,scrollLeft:t,...n})=>n}),QY=JY.animated;const eZ=({node:e,animatedProps:t,borderWidth:n,enableLabel:r,enableParentLabel:i,labelSkipSize:o})=>{const a=bF(),s=r&&e.isLeaf&&(0===o||Math.min(e.width,e.height)>o),l=i&&e.isParent;return An(QY.g,{transform:SS([t.x,t.y],((e,t)=>`translate(${e},${t})`)),children:[An(QY.rect,{"data-testid":`node.${e.id}`,width:SS(t.width,(e=>Math.max(e,0))),height:SS(t.height,(e=>Math.max(e,0))),fill:e.fill?e.fill:t.color,strokeWidth:n,stroke:e.borderColor,fillOpacity:e.opacity,onMouseEnter:e.onMouseEnter,onMouseMove:e.onMouseMove,onMouseLeave:e.onMouseLeave,onClick:e.onClick,rx:6,ry:6}),s&&An(vj,{"data-testid":`label.${e.id}`,textAnchor:"middle",dominantBaseline:"central",style:{...a.labels.text,fill:e.labelTextColor,pointerEvents:"none"},fillOpacity:t.labelOpacity,transform:SS([t.labelX,t.labelY,t.labelRotation],((e,t,n)=>`translate(${e},${t}) rotate(${n})`)),children:e.label}),l&&An(vj,{"data-testid":`parentLabel.${e.id}`,dominantBaseline:"central",style:{...a.labels.text,fill:e.parentLabelTextColor,pointerEvents:"none"},fillOpacity:t.parentLabelOpacity,transform:SS([t.parentLabelX,t.parentLabelY,t.parentLabelRotation],((e,t,n)=>`translate(${e},${t}) rotate(${n})`)),children:e.parentLabel})]})};var tZ={treeMapLegend:"styles_treeMapLegend__dV-Ny",treeMapLegend__gradient:"styles_treeMapLegend__gradient__v853j"};const nZ=({minValue:e,maxValue:t,colorFn:n,formatValue:r=e=>e.toFixed(2),domain:i})=>{const o=h((()=>i&&i.length>0?Math.min(...i):e??0),[i,e]),a=h((()=>i&&i.length>0?Math.max(...i):t??1),[i,t]),s=h((()=>{if(i&&i.length>0){const e=[...i].sort(((e,t)=>e-t)),t=a-o;return e.map((e=>{const r=(e-o)/t*100;return`${n(e,i)} ${r.toFixed(1)}%`})).join(", ")}return`${n(o)} 0%, ${n(a)} 100%`}),[o,a,n,i]),l=h((()=>r(o)),[o,r]),c=h((()=>r(a)),[a,r]);return An("div",{className:tZ.treeMapLegend,children:[An(Ln,{size:"s",type:"ui",className:tZ.treeMapLegend__label,children:c}),An("div",{className:tZ.treeMapLegend__gradient,style:{"--gradient-stops":s}}),An(Ln,{size:"s",type:"ui",className:tZ.treeMapLegend__label,children:l})]})};var rZ="styles_legendIndicatorContainer__sdAMj",iZ="styles_legendIndicatorContainerBase__OuGDD",oZ="styles_legendIndicator__e9eaz";const aZ=e=>{const{color:t,border:n}=e;return An("div",{className:rZ,children:An("div",{className:iZ,"data-has-color":!!t||void 0,children:An("i",{"aria-hidden":!0,className:oZ,style:{backgroundColor:t,borderColor:n??void 0}})})})};var sZ="styles_tooltip__ErmeC",lZ="styles_container__mEUzr",cZ="styles_label__oqfkW";const uZ=e=>{const{children:t,labelColor:n,label:r}=e;return An("div",{"data-testid":"chart-tooltip",className:sZ,"data-tooltip-type":"chart",children:An("div",{className:lZ,children:[!!r&&An(Ln,{className:cZ,type:"ui",size:"s",bold:!0,tag:"div",children:[n&&An(aZ,{color:n}),An(Ln,{tag:"div",bold:!0,children:r})]}),t]})})};var dZ="styles_legendItem__NCAPr",fZ="styles_legendItemLink__Yo6du",hZ="styles_legendName__WZbe8",pZ="styles_legendLabel__-HDGz",gZ="styles_space__pQ9pa",mZ="styles_menuSpace__7N7yT",vZ="styles_legendValue__vV5dD",bZ="styles_point__eFnBu";const yZ=e=>"number"==typeof e&&!Number.isNaN(e)||"string"==typeof e&&!!e,_Z=(e,t="en-US")=>yZ(e)?"number"==typeof e?new Intl.NumberFormat(t,{useGrouping:!0}).format(e):String(e):"",xZ=({color:e})=>An("div",{className:bZ,children:An("svg",{width:"16",height:"8",viewBox:"0 0 16 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[An("path",{d:"M0 4H16",stroke:e,"stroke-width":"2"}),An("path",{d:"M7.99902 7C9.65588 7 10.999 5.65685 10.999 4C10.999 2.34315 9.65588 1 7.99902 1C6.34217 1 4.99902 2.34315 4.99902 4C4.99902 5.65685 6.34217 7 7.99902 7Z",fill:"#FAFCFF",fillOpacity:"0.98",stroke:e,strokeWidth:"2"})]})}),wZ=e=>{const{onClick:t,legend:n,mode:i="default",hideOnEmptyValue:o=!0}=e,{color:a,border:s,label:l,link:c,value:u}=n,d=c?"a":"div",f=n.type??"default";return o&&void 0===u?null:An(d,{href:c,className:ie(dZ,c&&fZ),onClick:"function"==typeof t?()=>{t(n)}:void 0,children:[An("div",{className:hZ,children:["default"===f&&An(aZ,{color:a,border:s}),"point"===f&&An(xZ,{color:a}),An(Ln,{type:"ui",size:"s",className:pZ,children:l})]}),yZ(u)&&An(r,{children:[An("div",{className:ie("menu"===i?mZ:gZ)}),An(Ln,{type:"ui",size:"s",className:vZ,children:u})]})]})},kZ=({node:e,rows:t})=>{const{id:n,formattedValue:r,color:i,parentLabel:o}=e;return An(uZ,{label:`${o||n}: ${r}`,labelColor:i,children:t&&t.map(((e,t)=>An(wZ,{mode:"default",legend:{label:e,type:"none",id:t.toString(),color:i},hideOnEmptyValue:!1},t.toString())))})};var CZ="styles_treeMapChart__G6ayQ";const AZ=({width:e="100%",height:t=400,rootAriaLabel:n,emptyLabel:r="No data available",emptyAriaLabel:i="No data available",data:o,showLegend:a=!0,legendMinValue:s=0,legendMaxValue:l=1,formatLegend:c,colors:u,legendDomain:f,parentSkipSize:p,tooltipRows:g,labelColor:m,...v})=>{const b=h((()=>0===(o.children??[]).length),[o]),y=d((e=>(({parentSkipSize:e=48})=>t=>{const{width:n,height:r,data:i={}}=t;return Math.min(n,r)<e?"":String(i[t.parentLabel]??t.id)})({parentSkipSize:p})(e)),[p]),_=d((({node:e})=>An(kZ,{node:e,rows:g&&g(e)})),[g]);return b?An(MU,{label:r,width:e,height:t,ariaLabel:i}):An("div",{role:"img","aria-label":n,tabIndex:0,style:{width:e,height:t},className:CZ,children:[An(CY,{data:o,parentLabel:y,tooltip:_,...BY,...v,theme:IY,motionConfig:zY,animate:!RY,colors:e=>u(e.data.colorValue??0),labelTextColor:m,parentLabelTextColor:m,borderColor:"var(--color-bg-primary)",borderWidth:1,nodeComponent:eZ}),a&&An(nZ,{minValue:s,maxValue:l,colorFn:u,formatValue:c,domain:f})]})},SZ=s("light"),MZ=()=>f(SZ)??"light",EZ=e=>{const{children:t,theme:n}=e;return An(SZ.Provider,{value:n,children:t})},LZ=(e="light")=>{const t=h((()=>$U([0,1],["var(--color-status-failed-chart-fill)","var(--color-intent-info-bg)","var(--color-status-passed-chart-fill)"])),[e]);return d((e=>t(e)),[t])},TZ=(e="light")=>{const t=h((()=>$U([0,1],["var(--color-status-failed-chart-fill)","var(--color-status-passed-chart-fill)"])),[e]);return d((e=>t(e)),[t])},DZ=(e="light")=>{const t=h((()=>$U([0,1],["var(--color-text-inverse)","var(--color-text-primary)","var(--color-text-inverse)"])),[e]);return d((e=>t(e)),[t])},FZ=({title:e,translations:t,chartType:n,...r})=>{const i=t["no-results"],o=MZ(),a=LZ(o),s=TZ(o),l=DZ(o);return An(W_,{title:e,children:An(AZ,{emptyLabel:i,emptyAriaLabel:i,...r,colors:n===sr.CoverageDiff?a:s,showLegend:!1,labelColor:n===sr.CoverageDiff?e=>l(e.data.colorValue??0):()=>"var(--color-text-inverse)"})})};var OZ,zZ,RZ,NZ;var PZ,IZ,BZ=function(){if(NZ)return RZ;NZ=1;var e=RI(),t=function(){if(zZ)return OZ;zZ=1;var e=gW();return OZ=function(t,n){var r=[];return e(t,(function(e,t,i){n(e,t,i)&&r.push(e)})),r},OZ}(),n=Yj(),r=$L();return RZ=function(i,o){return(r(i)?e:t)(i,n(o,3))}}(),jZ=j(BZ);var WZ=j(function(){if(IZ)return PZ;IZ=1;var e=PE(),t=HL();return PZ=function(n){return"number"==typeof n||t(n)&&"[object Number]"==e(n)}}());function HZ(){return HZ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},HZ.apply(null,arguments)}var qZ=4,$Z=120,UZ=8,VZ=function(e){return"circle"===e.type},GZ=function(e){return"dot"===e.type},YZ=function(e){return"rect"===e.type},ZZ=function(e){var t=e.data,n=e.annotations,r=e.getPosition,i=e.getDimensions;return n.reduce((function(e,n){var o=n.offset||0;return[].concat(e,jZ(t,n.match).map((function(e){var t=r(e),a=i(e);return(VZ(n)||YZ(n))&&(a.size=a.size+2*o,a.width=a.width+2*o,a.height=a.height+2*o),HZ({},XV(n,["match","offset"]),t,a,{size:n.size||a.size,datum:e})})))}),[])},XZ=function(e){var t,n,r=e.x,i=e.y,o=e.noteX,a=e.noteY,s=e.noteWidth,l=void 0===s?$Z:s,c=e.noteTextOffset,u=void 0===c?UZ:c;if(WZ(o))t=r+o;else{if(void 0===o.abs)throw new Error("noteX should be either a number or an object containing an 'abs' property");t=o.abs}if(WZ(a))n=i+a;else{if(void 0===a.abs)throw new Error("noteY should be either a number or an object containing an 'abs' property");n=a.abs}var d=r,f=i,h=function(e,t,n,r){var i=Math.atan2(r-t,n-e);return function(e){var t=e%360;return t<0&&(t+=360),t}(gB(i))}(r,i,t,n);if(VZ(e)){var p=mB(pB(h),e.size/2);d+=p.x,f+=p.y}if(YZ(e)){var g=Math.round((h+90)/45)%8;0===g&&(f-=e.height/2),1===g&&(d+=e.width/2,f-=e.height/2),2===g&&(d+=e.width/2),3===g&&(d+=e.width/2,f+=e.height/2),4===g&&(f+=e.height/2),5===g&&(d-=e.width/2,f+=e.height/2),6===g&&(d-=e.width/2),7===g&&(d-=e.width/2,f-=e.height/2)}var m=t,v=t;return(h+90)%360>180?(m-=l,v-=l):v+=l,{points:[[d,f],[t,n],[v,n]],text:[m,n-u],angle:h+90}},KZ=function(e){var t=e.data,n=e.annotations,r=e.getPosition,i=e.getDimensions;return M((function(){return ZZ({data:t,annotations:n,getPosition:r,getDimensions:i})}),[t,n,r,i])},JZ=function(e){var t=e.annotations;return M((function(){return t.map((function(e){return HZ({},e,{computed:XZ(HZ({},e))})}))}),[t])},QZ=function(e){var t=e.datum,n=e.x,i=e.y,o=e.note,a=bF(),s=XI(),l=s.animate,c=yS({x:n,y:i,config:s.config,immediate:!l});return"function"==typeof o?F(o,{x:n,y:i,datum:t}):An(r,{children:[a.annotations.text.outlineWidth>0&&An(TE.text,{x:c.x,y:c.y,style:HZ({},a.annotations.text,{strokeLinejoin:"round",strokeWidth:2*a.annotations.text.outlineWidth,stroke:a.annotations.text.outlineColor}),children:o}),An(TE.text,{x:c.x,y:c.y,style:XV(a.annotations.text,["outlineWidth","outlineColor"]),children:o})]})},eX=function(e){var t=e.points,n=e.isOutline,r=void 0!==n&&n,i=bF(),o=M((function(){var e=t[0];return t.slice(1).reduce((function(e,t){return e+" L"+t[0]+","+t[1]}),"M"+e[0]+","+e[1])}),[t]),a=BB(o);if(r&&i.annotations.link.outlineWidth<=0)return null;var s=HZ({},i.annotations.link);return r&&(s.strokeLinecap="square",s.strokeWidth=i.annotations.link.strokeWidth+2*i.annotations.link.outlineWidth,s.stroke=i.annotations.link.outlineColor,s.opacity=i.annotations.link.outlineOpacity),An(TE.path,{fill:"none",d:a,style:s})},tX=function(e){var t=e.x,n=e.y,i=e.size,o=bF(),a=XI(),s=a.animate,l=yS({x:t,y:n,radius:i/2,config:a.config,immediate:!s});return An(r,{children:[o.annotations.outline.outlineWidth>0&&An(TE.circle,{cx:l.x,cy:l.y,r:l.radius,style:HZ({},o.annotations.outline,{fill:"none",strokeWidth:o.annotations.outline.strokeWidth+2*o.annotations.outline.outlineWidth,stroke:o.annotations.outline.outlineColor,opacity:o.annotations.outline.outlineOpacity})}),An(TE.circle,{cx:l.x,cy:l.y,r:l.radius,style:o.annotations.outline})]})},nX=function(e){var t=e.x,n=e.y,i=e.size,o=void 0===i?qZ:i,a=bF(),s=XI(),l=s.animate,c=yS({x:t,y:n,radius:o/2,config:s.config,immediate:!l});return An(r,{children:[a.annotations.outline.outlineWidth>0&&An(TE.circle,{cx:c.x,cy:c.y,r:c.radius,style:HZ({},a.annotations.outline,{fill:"none",strokeWidth:2*a.annotations.outline.outlineWidth,stroke:a.annotations.outline.outlineColor,opacity:a.annotations.outline.outlineOpacity})}),An(TE.circle,{cx:c.x,cy:c.y,r:c.radius,style:a.annotations.symbol})]})},rX=function(e){var t=e.x,n=e.y,i=e.width,o=e.height,a=e.borderRadius,s=void 0===a?6:a,l=bF(),c=XI(),u=c.animate,d=yS({x:t-i/2,y:n-o/2,width:i,height:o,config:c.config,immediate:!u});return An(r,{children:[l.annotations.outline.outlineWidth>0&&An(TE.rect,{x:d.x,y:d.y,rx:s,ry:s,width:d.width,height:d.height,style:HZ({},l.annotations.outline,{fill:"none",strokeWidth:l.annotations.outline.strokeWidth+2*l.annotations.outline.outlineWidth,stroke:l.annotations.outline.outlineColor,opacity:l.annotations.outline.outlineOpacity})}),An(TE.rect,{x:d.x,y:d.y,rx:s,ry:s,width:d.width,height:d.height,style:l.annotations.outline})]})},iX=function(e){var t=e.datum,n=e.x,i=e.y,o=e.note,a=function(e){return M((function(){return XZ(e)}),[e])}(e);if(!function(e){var t=typeof e;return R(e)||"string"===t||"function"===t||"object"===t}(o))throw new Error("note should be a valid react element");return An(r,{children:[An(eX,{points:a.points,isOutline:!0}),VZ(e)&&An(tX,{x:n,y:i,size:e.size}),GZ(e)&&An(nX,{x:n,y:i,size:e.size}),YZ(e)&&An(rX,{x:n,y:i,width:e.width,height:e.height,borderRadius:e.borderRadius}),An(eX,{points:a.points}),An(QZ,{datum:t,x:a.text[0],y:a.text[1],note:o})]})},oX=function(e,t){t.forEach((function(t,n){var r=t[0],i=t[1];0===n?e.moveTo(r,i):e.lineTo(r,i)}))},aX=function(e,t){var n=t.annotations,r=t.theme;0!==n.length&&(e.save(),n.forEach((function(t){if(!function(e){var t=typeof e;return"string"===t||"function"===t}(t.note))throw new Error("note is invalid for canvas implementation");r.annotations.link.outlineWidth>0&&(e.lineCap="square",e.strokeStyle=r.annotations.link.outlineColor,e.lineWidth=r.annotations.link.strokeWidth+2*r.annotations.link.outlineWidth,e.beginPath(),oX(e,t.computed.points),e.stroke(),e.lineCap="butt"),VZ(t)&&r.annotations.outline.outlineWidth>0&&(e.strokeStyle=r.annotations.outline.outlineColor,e.lineWidth=r.annotations.outline.strokeWidth+2*r.annotations.outline.outlineWidth,e.beginPath(),e.arc(t.x,t.y,t.size/2,0,2*Math.PI),e.stroke()),GZ(t)&&r.annotations.symbol.outlineWidth>0&&(e.strokeStyle=r.annotations.symbol.outlineColor,e.lineWidth=2*r.annotations.symbol.outlineWidth,e.beginPath(),e.arc(t.x,t.y,t.size/2,0,2*Math.PI),e.stroke()),YZ(t)&&r.annotations.outline.outlineWidth>0&&(e.strokeStyle=r.annotations.outline.outlineColor,e.lineWidth=r.annotations.outline.strokeWidth+2*r.annotations.outline.outlineWidth,e.beginPath(),e.rect(t.x-t.width/2,t.y-t.height/2,t.width,t.height),e.stroke()),e.strokeStyle=r.annotations.link.stroke,e.lineWidth=r.annotations.link.strokeWidth,e.beginPath(),oX(e,t.computed.points),e.stroke(),VZ(t)&&(e.strokeStyle=r.annotations.outline.stroke,e.lineWidth=r.annotations.outline.strokeWidth,e.beginPath(),e.arc(t.x,t.y,t.size/2,0,2*Math.PI),e.stroke()),GZ(t)&&(e.fillStyle=r.annotations.symbol.fill,e.beginPath(),e.arc(t.x,t.y,t.size/2,0,2*Math.PI),e.fill()),YZ(t)&&(e.strokeStyle=r.annotations.outline.stroke,e.lineWidth=r.annotations.outline.strokeWidth,e.beginPath(),e.rect(t.x-t.width/2,t.y-t.height/2,t.width,t.height),e.stroke()),"function"==typeof t.note?t.note(e,{datum:t.datum,x:t.computed.text[0],y:t.computed.text[1],theme:r}):(e.font=r.annotations.text.fontSize+"px "+r.annotations.text.fontFamily,e.textAlign="left",e.textBaseline="alphabetic",e.fillStyle=r.annotations.text.fill,e.strokeStyle=r.annotations.text.outlineColor,e.lineWidth=2*r.annotations.text.outlineWidth,r.annotations.text.outlineWidth>0&&(e.lineJoin="round",e.strokeText(t.note,t.computed.text[0],t.computed.text[1]),e.lineJoin="miter"),e.fillText(t.note,t.computed.text[0],t.computed.text[1]))})),e.restore())};function sX(){return sX=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},sX.apply(null,arguments)}function lX(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}var cX={layers:["grid","axes","cells","legends","annotations"],forceSquare:!1,xInnerPadding:0,xOuterPadding:0,yInnerPadding:0,yOuterPadding:0,sizeVariation:!1,opacity:1,activeOpacity:1,inactiveOpacity:.15,borderWidth:0,borderColor:{from:"color",modifiers:[["darker",.8]]},enableGridX:!1,enableGridY:!1,enableLabels:!0,label:"formattedValue",labelTextColor:{from:"color",modifiers:[["darker",2]]},colors:{type:"sequential",scheme:"brown_blueGreen"},emptyColor:"#000000",legends:[],annotations:[],isInteractive:!0,hoverTarget:"rowColumn",tooltip:T((function(e){var t=e.cell;return null===t.formattedValue?null:An(AF,{id:t.serieId+" - "+t.data.x,value:t.formattedValue,enableChip:!0,color:t.color})})),animate:!0,motionConfig:"gentle"},uX=sX({},cX,{axisTop:{},axisRight:null,axisBottom:null,axisLeft:{},borderRadius:0,cellComponent:"rect"}),dX=sX({},cX,{axisTop:{},axisRight:null,axisBottom:null,axisLeft:{},renderCell:"rect",pixelRatio:"undefined"!=typeof window&&window.devicePixelRatio||1}),fX=function(e){var t=e.data,n=e.width,r=e.height,i=e.xInnerPadding,o=e.xOuterPadding,a=e.yInnerPadding,s=e.yOuterPadding,l=e.forceSquare,c=new Set,u=[],d=[],f=[];t.forEach((function(e){u.push(e.id),e.data.forEach((function(t){c.add(t.x);var n=null;void 0!==t.y&&null!==t.y&&(d.push(t.y),n=t.y),f.push({id:e.id+"."+t.x,serieId:e.id,value:n,data:t})}))}));var h=Array.from(c),p=function(e){var t=e.width,n=e.height,r=e.rows,i=e.columns,o=t,a=n,s=0,l=0;if(e.forceSquare){var c=Math.max(t/i,0),u=Math.max(n/r,0),d=Math.min(c,u);s=(t-(o=d*i))/2,l=(n-(a=d*r))/2}return{offsetX:s,offsetY:l,width:o,height:a}}({width:n,height:r,columns:h.length,rows:u.length,forceSquare:l}),g=p.width,m=p.height,v=p.offsetX,b=p.offsetY,y=mH(Xi().domain(h).range([0,g]).paddingOuter(o).paddingInner(i)),_=mH(Xi().domain(u).range([0,m]).paddingOuter(s).paddingInner(a)),x=y.bandwidth(),w=_.bandwidth(),k=f.map((function(e){return sX({},e,{x:y(e.data.x)+x/2,y:_(e.serieId)+w/2,width:x,height:w})}));return{width:g,height:m,offsetX:v,offsetY:b,xScale:y,yScale:_,minValue:Math.min.apply(Math,d),maxValue:Math.max.apply(Math,d),cells:k}},hX=function(e){return{x:e.x,y:e.y}},pX=function(e){return{size:Math.max(e.width,e.height),width:e.width,height:e.height}},gX={cell:function(e,t){return e.id===t.id},row:function(e,t){return e.serieId===t.serieId},column:function(e,t){return e.data.x===t.data.x},rowColumn:function(e,t){return e.serieId===t.serieId||e.data.x===t.data.x}},mX=function(e){var t,n,r,i=e.cells,o=e.minValue,a=e.maxValue,s=e.sizeVariation,l=e.colors,c=e.emptyColor,u=e.opacity,d=e.activeOpacity,f=e.inactiveOpacity,h=e.borderColor,p=e.label,g=e.labelTextColor,m=e.valueFormat,v=e.activeIds,b=M((function(){return function(e,t,n){if(!e)return function(){return 1};var r=So().domain(e.values?e.values:[t,n]).range(e.sizes);return function(e){return null===e?1:r(e)}}(t,n,r)}),[t=s,n=o,r=a]),y=M((function(){return"function"==typeof l?null:zq(l,{min:o,max:a})}),[l,o,a]),_=S((function(e){if(null!==e.value){if("function"==typeof l)return l(e);if(null!==y)return y(e.value)}return c}),[l,y,c]),x=bF(),w=Mq(h,x),k=Mq(g,x),C=GB(m),A=ZB(p);return{cells:M((function(){return i.map((function(e){var t=u;v.length>0&&(t=v.includes(e.id)?d:f);var n=b(e.value),r=sX({},e,{width:e.width*n,height:e.height*n,formattedValue:null!==e.value?C(e.value):null,opacity:t});return r.label=A(r),r.color=_(r),r.borderColor=w(r),r.labelTextColor=k(r),r}))}),[i,b,_,w,k,C,A,v,u,d,f]),colorScale:y}},vX=function(e){var t=e.data,n=e.valueFormat,r=e.width,i=e.height,o=e.xOuterPadding,a=void 0===o?cX.xOuterPadding:o,s=e.xInnerPadding,l=void 0===s?cX.xInnerPadding:s,c=e.yOuterPadding,u=void 0===c?cX.yOuterPadding:c,d=e.yInnerPadding,f=void 0===d?cX.yInnerPadding:d,h=e.forceSquare,p=void 0===h?cX.forceSquare:h,g=e.sizeVariation,m=void 0===g?cX.sizeVariation:g,v=e.colors,b=void 0===v?cX.colors:v,y=e.emptyColor,_=void 0===y?cX.emptyColor:y,w=e.opacity,k=void 0===w?cX.opacity:w,C=e.activeOpacity,A=void 0===C?cX.activeOpacity:C,S=e.inactiveOpacity,E=void 0===S?cX.inactiveOpacity:S,L=e.borderColor,T=void 0===L?cX.borderColor:L,D=e.label,F=void 0===D?cX.label:D,O=e.labelTextColor,z=void 0===O?cX.labelTextColor:O,R=e.hoverTarget,N=void 0===R?cX.hoverTarget:R,P=x(null),I=P[0],B=P[1],j=function(e){var t=e.data,n=e.width,r=e.height,i=e.xInnerPadding,o=e.xOuterPadding,a=e.yInnerPadding,s=e.yOuterPadding,l=e.forceSquare;return M((function(){return fX({data:t,width:n,height:r,xInnerPadding:i,xOuterPadding:o,yInnerPadding:a,yOuterPadding:s,forceSquare:l})}),[t,n,r,i,o,a,s,l])}({data:t,width:r,height:i,xOuterPadding:a,xInnerPadding:l,yOuterPadding:u,yInnerPadding:f,forceSquare:p}),W=j.width,H=j.height,q=j.offsetX,$=j.offsetY,U=j.cells,V=j.xScale,G=j.yScale,Y=j.minValue,Z=j.maxValue,X=M((function(){if(!I)return[];var e=gX[N];return U.filter((function(t){return e(t,I)})).map((function(e){return e.id}))}),[U,I,N]),K=mX({cells:U,minValue:Y,maxValue:Z,sizeVariation:m,colors:b,emptyColor:_,opacity:k,activeOpacity:A,inactiveOpacity:E,borderColor:T,label:F,labelTextColor:z,valueFormat:n,activeIds:X});return{width:W,height:H,offsetX:q,offsetY:$,cells:K.cells,xScale:V,yScale:G,colorScale:K.colorScale,activeCell:I,setActiveCell:B}},bX=function(e,t){return KZ({data:e,annotations:t,getPosition:hX,getDimensions:pX})},yX=T((function(e){var t=e.cell,n=e.borderWidth,r=e.borderRadius,i=e.animatedProps,o=e.onMouseEnter,a=e.onMouseMove,s=e.onMouseLeave,l=e.onClick,c=e.enableLabels,u=bF(),d=M((function(){return{onMouseEnter:o?o(t):void 0,onMouseMove:a?a(t):void 0,onMouseLeave:s?s(t):void 0,onClick:l?l(t):void 0}}),[t,o,a,s,l]);return An(TE.g,sX({"data-testid":"cell."+t.id,style:{cursor:"pointer"},opacity:i.opacity},d,{transform:SS([i.x,i.y,i.scale],(function(e,t,n){return"translate("+e+", "+t+") scale("+n+")"})),children:[An(TE.rect,{transform:SS([i.width,i.height],(function(e,t){return"translate("+-.5*e+", "+-.5*t+")"})),fill:i.color,width:i.width,height:i.height,stroke:i.borderColor,strokeWidth:n,rx:r,ry:r},t.id),c&&An(vj,{textAnchor:"middle",dominantBaseline:"central",fill:i.labelTextColor,style:sX({},u.labels.text,{fill:void 0,userSelect:"none"}),children:t.label})]}))})),_X=T((function(e){var t=e.cell,n=e.borderWidth,r=e.animatedProps,i=e.onMouseEnter,o=e.onMouseMove,a=e.onMouseLeave,s=e.onClick,l=e.enableLabels,c=bF(),u=M((function(){return{onMouseEnter:i?i(t):void 0,onMouseMove:o?o(t):void 0,onMouseLeave:a?a(t):void 0,onClick:s?s(t):void 0}}),[t,i,o,a,s]);return An(TE.g,sX({"data-testid":"cell."+t.id,style:{cursor:"pointer"},opacity:r.opacity},u,{transform:SS([r.x,r.y],(function(e,t){return"translate("+e+", "+t+")"})),children:[An(TE.circle,{r:SS([r.width,r.height],(function(e,t){return Math.min(e,t)/2})),fill:r.color,fillOpacity:r.opacity,strokeWidth:n,stroke:r.borderColor}),l&&An(vj,{dominantBaseline:"central",textAnchor:"middle",fill:r.labelTextColor,style:sX({},c.labels.text,{fill:void 0}),children:t.label})]}))})),xX=function(e){return{x:e.x,y:e.y,width:e.width,height:e.height,color:e.color,opacity:0,borderColor:e.borderColor,labelTextColor:e.labelTextColor,scale:0}},wX=function(e){return{x:e.x,y:e.y,width:e.width,height:e.height,color:e.color,opacity:e.opacity,borderColor:e.borderColor,labelTextColor:e.labelTextColor,scale:1}},kX=function(e){return{x:e.x,y:e.y,width:e.width,height:e.height,color:e.color,opacity:0,borderColor:e.borderColor,labelTextColor:e.labelTextColor,scale:0}},CX=function(e){var t,n=e.cells,i=e.cellComponent,o=e.borderRadius,a=e.borderWidth,s=e.isInteractive,l=e.setActiveCell,c=e.onMouseEnter,u=e.onMouseMove,d=e.onMouseLeave,f=e.onClick,h=e.tooltip,p=e.enableLabels,g=XI(),m=g.animate,v=g.config,b=_S(n,{keys:function(e){return e.id},initial:wX,from:xX,enter:wX,update:wX,leave:kX,config:v,immediate:!m}),y=RF(),_=y.showTooltipFromEvent,x=y.hideTooltip,w=M((function(){if(s)return function(e){return function(t){_(F(h,{cell:e}),t),l(e),null==c||c(e,t)}}}),[s,_,h,l,c]),k=M((function(){if(s)return function(e){return function(t){_(F(h,{cell:e}),t),null==u||u(e,t)}}}),[s,_,h,u]),C=M((function(){if(s)return function(e){return function(t){x(),l(null),null==d||d(e,t)}}}),[s,x,l,d]),A=M((function(){if(s)return function(e){return function(t){null==f||f(e,t)}}}),[s,f]);return t="rect"===i?yX:"circle"===i?_X:i,An(r,{children:b((function(e,n){return F(t,{cell:n,borderRadius:o,borderWidth:a,animatedProps:e,enableLabels:p,onMouseEnter:w,onMouseMove:k,onMouseLeave:C,onClick:A})}))})},AX=function(e){var t=e.cells,n=e.annotations,i=bX(t,n);return An(r,{children:i.map((function(e,t){return An(iX,sX({},e),t)}))})},SX=["isInteractive","animate","motionConfig","theme","renderWrapper"],MX=function(e){var t=e.data,n=e.layers,r=void 0===n?uX.layers:n,i=e.valueFormat,o=e.width,a=e.height,s=e.margin,l=e.forceSquare,c=void 0===l?uX.forceSquare:l,u=e.xInnerPadding,d=void 0===u?uX.xInnerPadding:u,f=e.xOuterPadding,h=void 0===f?uX.xOuterPadding:f,p=e.yInnerPadding,g=void 0===p?uX.yInnerPadding:p,m=e.yOuterPadding,v=void 0===m?uX.yOuterPadding:m,b=e.sizeVariation,y=void 0===b?uX.sizeVariation:b,_=e.cellComponent,x=void 0===_?uX.cellComponent:_,w=e.opacity,k=void 0===w?uX.opacity:w,C=e.activeOpacity,A=void 0===C?uX.activeOpacity:C,S=e.inactiveOpacity,E=void 0===S?uX.inactiveOpacity:S,L=e.borderRadius,T=void 0===L?uX.borderRadius:L,D=e.borderWidth,O=void 0===D?uX.borderWidth:D,R=e.borderColor,N=void 0===R?uX.borderColor:R,P=e.enableGridX,I=void 0===P?uX.enableGridX:P,B=e.enableGridY,j=void 0===B?uX.enableGridY:B,W=e.axisTop,H=void 0===W?uX.axisTop:W,q=e.axisRight,$=void 0===q?uX.axisRight:q,U=e.axisBottom,V=void 0===U?uX.axisBottom:U,G=e.axisLeft,Y=void 0===G?uX.axisLeft:G,Z=e.enableLabels,X=void 0===Z?uX.enableLabels:Z,K=e.label,J=void 0===K?uX.label:K,Q=e.labelTextColor,ee=void 0===Q?uX.labelTextColor:Q,te=e.colors,ne=void 0===te?uX.colors:te,re=e.emptyColor,ie=void 0===re?uX.emptyColor:re,oe=e.legends,ae=void 0===oe?uX.legends:oe,se=e.annotations,le=void 0===se?uX.annotations:se,ce=e.isInteractive,ue=void 0===ce?uX.isInteractive:ce,de=e.onMouseEnter,fe=e.onMouseMove,he=e.onMouseLeave,pe=e.onClick,ge=e.hoverTarget,me=void 0===ge?uX.hoverTarget:ge,ve=e.tooltip,be=void 0===ve?uX.tooltip:ve,ye=e.role,_e=e.ariaLabel,xe=e.ariaLabelledBy,we=e.ariaDescribedBy,ke=e.forwardedRef,Ce=$B(o,a,s),Ae=Ce.margin,Se=Ce.innerWidth,Me=Ce.innerHeight,Ee=Ce.outerWidth,Le=Ce.outerHeight,Te=vX({data:t,valueFormat:i,width:Se,height:Me,forceSquare:c,xInnerPadding:d,xOuterPadding:h,yInnerPadding:g,yOuterPadding:v,sizeVariation:y,colors:ne,emptyColor:ie,opacity:k,activeOpacity:A,inactiveOpacity:E,borderColor:N,label:J,labelTextColor:ee,hoverTarget:me}),De=Te.width,Fe=Te.height,Oe=Te.offsetX,ze=Te.offsetY,Re=Te.xScale,Ne=Te.yScale,Pe=Te.cells,Ie=Te.colorScale,Be=Te.activeCell,je=Te.setActiveCell,We=M((function(){return sX({},Ae,{top:Ae.top+ze,left:Ae.left+Oe})}),[Ae,Oe,ze]),He={grid:null,axes:null,cells:null,legends:null,annotations:null};r.includes("grid")&&(He.grid=An(cq,{width:De,height:Fe,xScale:I?Re:null,yScale:j?Ne:null},"grid")),r.includes("axes")&&(He.axes=An(aq,{xScale:Re,yScale:Ne,width:De,height:Fe,top:H,right:$,bottom:V,left:Y},"axes")),r.includes("cells")&&(He.cells=An(z,{children:An(CX,{cells:Pe,cellComponent:x,borderRadius:T,borderWidth:O,isInteractive:ue,setActiveCell:je,onMouseEnter:de,onMouseMove:fe,onMouseLeave:he,onClick:pe,tooltip:be,enableLabels:X})},"cells")),r.includes("legends")&&null!==Ie&&(He.legends=An(z,{children:ae.map((function(e,t){return F(r$,sX({},e,{key:t,containerWidth:De,containerHeight:Fe,scale:Ie}))}))},"legends")),r.includes("annotations")&&le.length>0&&(He.annotations=An(AX,{cells:Pe,annotations:le},"annotations"));var qe={cells:Pe,activeCell:Be,setActiveCell:je};return An(zB,{width:Ee,height:Le,margin:Object.assign({},We,{top:We.top,left:We.left}),role:ye,ariaLabel:_e,ariaLabelledBy:xe,ariaDescribedBy:we,ref:ke,children:r.map((function(e,t){var n;return"function"==typeof e?An(z,{children:F(e,qe)},t):null!=(n=null==He?void 0:He[e])?n:null}))})},EX=A((function(e,t){var n=e.isInteractive,r=void 0===n?uX.isInteractive:n,i=e.animate,o=void 0===i?uX.animate:i,a=e.motionConfig,s=void 0===a?uX.motionConfig:a,l=e.theme,c=e.renderWrapper,u=lX(e,SX);return An(QI,{animate:o,isInteractive:r,motionConfig:s,renderWrapper:c,theme:l,children:An(MX,sX({isInteractive:r},u,{forwardedRef:t}))})})),LX=["defaultWidth","defaultHeight","onResize","debounceResize"],TX=A((function(e,t){var n=e.defaultWidth,r=e.defaultHeight,i=e.onResize,o=e.debounceResize,a=lX(e,LX);return An(nB,{defaultWidth:n,defaultHeight:r,onResize:i,debounceResize:o,children:function(e){var n=e.width,r=e.height;return An(EX,sX({width:n,height:r},a,{ref:t}))}})})),DX=function(e,t){var n=t.cell,r=n.x,i=n.y,o=n.width,a=n.height,s=n.color,l=n.borderColor,c=n.opacity,u=n.labelTextColor,d=n.label,f=t.borderWidth,h=t.enableLabels,p=t.theme;e.save(),e.globalAlpha=c,e.fillStyle=s,f>0&&(e.strokeStyle=l,e.lineWidth=f),e.fillRect(r-o/2,i-a/2,o,a),f>0&&e.strokeRect(r-o/2,i-a/2,o,a),h&&(rj(e,p.labels.text),e.textAlign="center",e.textBaseline="middle",ij(e,sX({},p.labels.text,{fill:u}),d,r,i)),e.restore()},FX=function(e,t){var n=t.cell,r=n.x,i=n.y,o=n.width,a=n.height,s=n.color,l=n.borderColor,c=n.opacity,u=n.labelTextColor,d=n.label,f=t.borderWidth,h=t.enableLabels,p=t.theme;e.save(),e.globalAlpha=c;var g=Math.min(o,a)/2;e.fillStyle=s,f>0&&(e.strokeStyle=l,e.lineWidth=f),e.beginPath(),e.arc(r,i,g,0,2*Math.PI),e.fill(),f>0&&e.stroke(),h&&(rj(e,p.labels.text),e.textAlign="center",e.textBaseline="middle",ij(e,sX({},p.labels.text,{fill:u}),d,r,i)),e.restore()},OX=["theme","isInteractive","animate","motionConfig","renderWrapper"],zX=function(e){var t,n=e.data,r=e.layers,i=void 0===r?dX.layers:r,o=e.valueFormat,a=e.width,s=e.height,l=e.margin,c=e.xInnerPadding,u=void 0===c?dX.xInnerPadding:c,d=e.xOuterPadding,f=void 0===d?dX.xOuterPadding:d,h=e.yInnerPadding,p=void 0===h?dX.yInnerPadding:h,g=e.yOuterPadding,m=void 0===g?dX.yOuterPadding:g,v=e.forceSquare,b=void 0===v?dX.forceSquare:v,y=e.sizeVariation,_=void 0===y?dX.sizeVariation:y,x=e.renderCell,k=void 0===x?dX.renderCell:x,A=e.opacity,E=void 0===A?dX.opacity:A,L=e.activeOpacity,T=void 0===L?dX.activeOpacity:L,D=e.inactiveOpacity,O=void 0===D?dX.inactiveOpacity:D,z=e.borderWidth,R=void 0===z?dX.borderWidth:z,N=e.borderColor,P=void 0===N?dX.borderColor:N,I=e.enableGridX,B=void 0===I?dX.enableGridX:I,j=e.enableGridY,W=void 0===j?dX.enableGridY:j,H=e.axisTop,q=void 0===H?dX.axisTop:H,$=e.axisRight,U=void 0===$?dX.axisRight:$,V=e.axisBottom,G=void 0===V?dX.axisBottom:V,Y=e.axisLeft,Z=void 0===Y?dX.axisLeft:Y,X=e.enableLabels,K=void 0===X?dX.enableLabels:X,J=e.label,Q=void 0===J?dX.label:J,ee=e.labelTextColor,te=void 0===ee?dX.labelTextColor:ee,ne=e.colors,re=void 0===ne?dX.colors:ne,ie=e.emptyColor,oe=void 0===ie?dX.emptyColor:ie,ae=e.legends,se=void 0===ae?dX.legends:ae,le=e.annotations,ce=void 0===le?dX.annotations:le,ue=e.isInteractive,de=void 0===ue?dX.isInteractive:ue,fe=e.onClick,he=e.hoverTarget,pe=void 0===he?dX.hoverTarget:he,ge=e.tooltip,me=void 0===ge?dX.tooltip:ge,ve=e.role,be=e.ariaLabel,ye=e.ariaLabelledBy,_e=e.ariaDescribedBy,xe=e.pixelRatio,we=void 0===xe?dX.pixelRatio:xe,ke=e.forwardedRef,Ce=C(null),Ae=$B(a,s,l),Se=Ae.margin,Me=Ae.innerWidth,Ee=Ae.innerHeight,Le=Ae.outerWidth,Te=Ae.outerHeight,De=vX({data:n,valueFormat:o,width:Me,height:Ee,xInnerPadding:u,xOuterPadding:f,yInnerPadding:p,yOuterPadding:m,forceSquare:b,sizeVariation:_,colors:re,emptyColor:oe,opacity:E,activeOpacity:T,inactiveOpacity:O,borderColor:P,label:Q,labelTextColor:te,hoverTarget:pe}),Fe=De.width,Oe=De.height,ze=De.offsetX,Re=De.offsetY,Ne=De.xScale,Pe=De.yScale,Ie=De.cells,Be=De.colorScale,je=De.activeCell,We=De.setActiveCell,He=M((function(){return sX({},Se,{top:Se.top+Re,left:Se.left+ze})}),[Se,ze,Re]),qe=bX(Ie,ce),$e=JZ({annotations:qe});t="function"==typeof k?k:"circle"===k?FX:DX;var Ue=bF(),Ve=M((function(){return{cells:Ie,activeCell:je,setActiveCell:We}}),[Ie,je,We]);w((function(){if(null!==Ce.current){var e=Ce.current.getContext("2d");e&&(Ce.current.width=Le*we,Ce.current.height=Te*we,e.scale(we,we),e.fillStyle=Ue.background,e.fillRect(0,0,Le,Te),e.translate(He.left,He.top),i.forEach((function(n){"grid"===n?(e.lineWidth=Ue.grid.line.strokeWidth,e.strokeStyle=Ue.grid.line.stroke,B&&fq(e,{width:Fe,height:Oe,scale:Ne,axis:"x"}),W&&fq(e,{width:Fe,height:Oe,scale:Pe,axis:"y"})):"axes"===n?dq(e,{xScale:Ne,yScale:Pe,width:Fe,height:Oe,top:q,right:U,bottom:G,left:Z,theme:Ue}):"cells"===n?(e.textAlign="center",e.textBaseline="middle",Ie.forEach((function(n){t(e,{cell:n,borderWidth:R,enableLabels:K,theme:Ue})}))):"legends"===n&&null!==Be?se.forEach((function(t){!function(e,t){var n,r=t.containerWidth,i=t.containerHeight,o=t.anchor,a=t.translateX,s=void 0===a?0:a,l=t.translateY,c=void 0===l?0:l,u=t.scale,d=t.length,f=void 0===d?Zq.length:d,h=t.thickness,p=void 0===h?Zq.thickness:h,g=t.direction,m=void 0===g?Zq.direction:g,v=t.ticks,b=t.tickPosition,y=void 0===b?Zq.tickPosition:b,_=t.tickSize,x=void 0===_?Zq.tickSize:_,w=t.tickSpacing,k=void 0===w?Zq.tickSpacing:w,C=t.tickOverlap,A=void 0===C?Zq.tickOverlap:C,S=t.tickFormat,M=void 0===S?Zq.tickFormat:S,E=t.title,L=t.titleAlign,T=void 0===L?Zq.titleAlign:L,D=t.titleOffset,F=void 0===D?Zq.titleOffset:D,O=t.theme,z=e$({scale:u,ticks:v,length:f,thickness:p,direction:m,tickPosition:y,tickSize:x,tickSpacing:k,tickOverlap:A,tickFormat:M,title:E,titleAlign:T,titleOffset:F}),R=z.width,N=z.height,P=z.gradientX1,I=z.gradientY1,B=z.gradientX2,j=z.gradientY2,W=z.colorStops,H=z.ticks,q=z.titleText,$=z.titleX,U=z.titleY,V=z.titleRotation,G=z.titleVerticalAlign,Y=z.titleHorizontalAlign,Z=Jq({anchor:o,translateX:s,translateY:c,containerWidth:r,containerHeight:i,width:R,height:N}),X=Z.x,K=Z.y,J={font:e.font,textAlign:e.textAlign,textBaseline:e.textBaseline};e.save(),e.translate(X,K);var Q=e.createLinearGradient(P*R,I*N,B*R,j*N);W.forEach((function(e){Q.addColorStop(e.offset,e.stopColor)})),e.fillStyle=Q,e.fillRect(0,0,R,N),rj(e,O.legends.ticks.text);var ee=null!=(n=O.legends.ticks.line.strokeWidth)?n:0,te="string"!=typeof ee&&ee>0;H.forEach((function(t){te&&(e.lineWidth=ee,O.axis.ticks.line.stroke&&(e.strokeStyle=O.axis.ticks.line.stroke),e.lineCap="square",e.beginPath(),e.moveTo(t.x1,t.y1),e.lineTo(t.x2,t.y2),e.stroke()),e.textAlign="middle"===t.textHorizontalAlign?"center":t.textHorizontalAlign,e.textBaseline="central"===t.textVerticalAlign?"middle":t.textVerticalAlign,ij(e,O.legends.ticks.text,t.text,t.textX,t.textY)})),q&&(e.save(),e.translate($,U),e.rotate(pB(V)),rj(e,O.legends.title.text),e.textAlign="middle"===Y?"center":Y,e.textBaseline=G,ij(e,O.legends.title.text,q),e.restore()),e.restore(),e.font=J.font,e.textAlign=J.textAlign,e.textBaseline=J.textBaseline}(e,sX({},t,{containerWidth:Fe,containerHeight:Oe,scale:Be,theme:Ue}))})):"annotations"===n?aX(e,{annotations:$e,theme:Ue}):"function"==typeof n&&n(e,Ve)})))}}),[Ce,we,Le,Te,Fe,Oe,He,i,Ve,Ie,t,B,W,q,U,G,Z,Ne,Pe,Ue,R,K,Be,se,$e]);var Ge=RF(),Ye=Ge.showTooltipFromEvent,Ze=Ge.hideTooltip,Xe=S((function(e){if(null!==Ce.current){var t=JB(Ce.current,e),n=t[0],r=t[1],i=Ie.find((function(e){return KB(e.x+He.left-e.width/2,e.y+He.top-e.height/2,e.width,e.height,n,r)}));void 0!==i?(We(i),Ye(F(me,{cell:i}),e)):(We(null),Ze())}}),[Ce,Ie,He,We,Ye,Ze,me]),Ke=S((function(){We(null),Ze()}),[We,Ze]),Je=S((function(e){null!==je&&(null==fe||fe(je,e))}),[je,fe]);return An("canvas",{ref:nj(Ce,ke),width:Le*we,height:Te*we,style:{width:Le,height:Te},onMouseEnter:de?Xe:void 0,onMouseMove:de?Xe:void 0,onMouseLeave:de?Ke:void 0,onClick:de?Je:void 0,role:ve,"aria-label":be,"aria-labelledby":ye,"aria-describedby":_e})},RX=A((function(e,t){var n=e.theme,r=e.isInteractive,i=void 0===r?dX.isInteractive:r,o=e.animate,a=void 0===o?dX.animate:o,s=e.motionConfig,l=void 0===s?dX.motionConfig:s,c=e.renderWrapper,u=lX(e,OX);return An(QI,{isInteractive:i,animate:a,motionConfig:l,theme:n,renderWrapper:c,children:An(zX,sX({isInteractive:i},u,{forwardedRef:t}))})})),NX=["defaultWidth","defaultHeight","onResize","debounceResize"];A((function(e,t){var n=e.defaultWidth,r=e.defaultHeight,i=e.onResize,o=e.debounceResize,a=lX(e,NX);return An(nB,{defaultWidth:n,defaultHeight:r,onResize:i,debounceResize:o,children:function(e){var n=e.width,r=e.height;return An(RX,sX({width:n,height:r},a,{ref:t}))}})}));const PX={top:60,right:90,bottom:60,left:90},IX="#E0E0E0",BX=400,jX="100%",WX="No data available",HX="No data available",qX=.05,$X=.05,UX=!0,VX=">-.2%",GX={tickSize:5,tickPadding:5,tickRotation:0},YX={tickSize:5,tickPadding:5,tickRotation:-90},ZX={anchor:"bottom",translateX:0,translateY:30,length:400,thickness:8,direction:"row",tickPosition:"after",tickSize:3,tickSpacing:4,tickOverlap:!1,tickFormat:">-.2%",title:"Value",titleAlign:"middle",titleOffset:4},XX=e=>{const{cell:t}=e,n=h((()=>({id:t.id.toString(),color:t.color,label:t.data.x,value:t.label})),[t]);return An(uZ,{label:t.serieId,children:An(wZ,{mode:"default",legend:n})})};var KX="styles_heatMap__E95gO";const JX=({width:e=jX,height:t=400,data:n,rootAriaLabel:r,emptyLabel:i=WX,emptyAriaLabel:o=HX,margin:a=PX,axisLeft:s=GX,axisTop:l=YX,xInnerPadding:c=.05,yInnerPadding:u=.05,legends:f=[ZX],forceSquare:p=true,valueFormat:g=VX,...m})=>{const v=h((()=>0===n.length),[n]),b=((e="light")=>{const t=h((()=>$U([0,1],["var(--color-chart-heatmap-low)","var(--color-chart-heatmap-mid-strong)","var(--color-chart-heatmap-mid)","var(--color-chart-heatmap-mid-strong)","var(--color-chart-heatmap-high)"])),[e]);return d((e=>t(e)),[t])})(MZ());return v?An(MU,{label:i,width:e,height:t,ariaLabel:o}):An("div",{role:"img","aria-label":r,tabIndex:0,style:{width:e,height:t},className:KX,children:An(TX,{data:n,margin:a,axisBottom:null,axisRight:null,axisLeft:s,axisTop:l,xInnerPadding:c,yInnerPadding:u,legends:f,forceSquare:p,theme:IY,motionConfig:zY,animate:!RY,valueFormat:g,colors:e=>b(e.data.y??0),labelTextColor:"var(--color-text-inverse)",tooltip:XX,emptyColor:"var(--color-control-bg)",inactiveOpacity:0,borderRadius:4,...m})})},QX=({title:e,translations:t,rootAriaLabel:n,width:r,height:i,data:o,...a})=>{const s=t["no-results"];return An(W_,{title:e,children:An(JX,{data:o,width:r,height:i,emptyLabel:s,emptyAriaLabel:s,rootAriaLabel:n,...a})})};function eK(){return eK=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},eK.apply(null,arguments)}function tK(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}var nK,rK=function(e){var t=e.bars,n=e.annotations,i=KZ({data:t,annotations:n,getPosition:function(e){return{x:e.x+e.width/2,y:e.y+e.height/2}},getDimensions:function(e){var t=e.height,n=e.width;return{width:n,height:t,size:Math.max(n,t)}}});return An(r,{children:i.map((function(e,t){return An(iX,eK({},e),t)}))})},iK=function(e){var t=e.width,n=e.height,i=e.legends,o=e.toggleSerie;return An(r,{children:i.map((function(e,r){var i,a=e[0],s=e[1];return An(s$,eK({},a,{containerWidth:t,containerHeight:n,data:null!=(i=a.data)?i:s,toggleSerie:a.toggleSerie&&"keys"===a.dataFrom?o:void 0}),r)}))})},oK=["data"],aK=["color","label"],sK={indexBy:"id",keys:["value"],groupMode:"stacked",layout:"vertical",valueScale:{type:"linear",nice:!0,round:!1},indexScale:{type:"band",round:!1},padding:.1,innerPadding:0,enableGridX:!1,enableGridY:!0,enableLabel:!0,label:"formattedValue",labelPosition:"middle",labelOffset:0,labelSkipWidth:0,labelSkipHeight:0,labelTextColor:{theme:"labels.text.fill"},colorBy:"id",colors:{scheme:"nivo"},borderRadius:0,borderWidth:0,borderColor:{from:"color"},isInteractive:!0,tooltip:function(e){var t=e.color,n=e.label,r=tK(e,aK);return An(AF,{id:n,value:r.formattedValue,enableChip:!0,color:t})},tooltipLabel:function(e){return e.id+" - "+e.indexValue},legends:[],initialHiddenIds:[],annotations:[],enableTotals:!1,totalsOffset:10},lK=eK({},sK,{layers:["grid","axes","bars","totals","markers","legends","annotations"],axisTop:null,axisRight:null,axisBottom:{},axisLeft:{},barComponent:function(e){var t,n=e.bar,r=n.data,i=tK(n,oK),o=e.style,a=o.borderColor,s=o.color,l=o.height,c=o.labelColor,u=o.labelOpacity,d=o.labelX,f=o.labelY,h=o.transform,p=o.width,g=o.textAnchor,m=e.borderRadius,v=e.borderWidth,b=e.label,y=e.shouldRenderLabel,_=e.isInteractive,x=e.onClick,w=e.onMouseEnter,k=e.onMouseLeave,C=e.tooltip,A=e.isFocusable,E=e.ariaLabel,L=e.ariaLabelledBy,T=e.ariaDescribedBy,D=e.ariaDisabled,O=e.ariaHidden,z=bF(),R=RF(),N=R.showTooltipFromEvent,P=R.showTooltipAt,I=R.hideTooltip,B=M((function(){return function(){return F(C,eK({},i,r))}}),[C,i,r]),j=S((function(e){null==x||x(eK({color:i.color},r),e)}),[i,r,x]),W=S((function(e){return N(B(),e)}),[N,B]),H=S((function(e){null==w||w(r,e),N(B(),e)}),[r,w,N,B]),q=S((function(e){null==k||k(r,e),I()}),[r,I,k]),$=S((function(){P(B(),[i.absX+i.width/2,i.absY])}),[P,B,i]),U=S((function(){I()}),[I]);return An(TE.g,{transform:h,children:[An(TE.rect,{width:SS(p,(function(e){return Math.max(e,0)})),height:SS(l,(function(e){return Math.max(e,0)})),rx:m,ry:m,fill:null!=(t=r.fill)?t:s,strokeWidth:v,stroke:a,focusable:A,tabIndex:A?0:void 0,"aria-label":E?E(r):void 0,"aria-labelledby":L?L(r):void 0,"aria-describedby":T?T(r):void 0,"aria-disabled":D?D(r):void 0,"aria-hidden":O?O(r):void 0,onMouseEnter:_?H:void 0,onMouseMove:_?W:void 0,onMouseLeave:_?q:void 0,onClick:_?j:void 0,onFocus:_&&A?$:void 0,onBlur:_&&A?U:void 0,"data-testid":"bar.item."+r.id+"."+r.index}),y&&An(vj,{x:d,y:f,textAnchor:g,dominantBaseline:"central",fillOpacity:u,style:eK({},z.labels.text,{pointerEvents:"none",fill:c}),children:b})]})},defs:[],fill:[],markers:[],animate:!0,animateOnMount:!1,motionConfig:"default",role:"img",isFocusable:!1}),cK=eK({},sK,{layers:["grid","axes","bars","totals","legends","annotations"],axisTop:null,axisRight:null,axisBottom:{},axisLeft:{},renderBar:function(e,t){var n=t.bar,r=n.color,i=n.height,o=n.width,a=n.x,s=n.y,l=t.borderColor,c=t.borderRadius,u=t.borderWidth,d=t.label,f=t.shouldRenderLabel,h=t.labelStyle,p=t.labelX,g=t.labelY,m=t.textAnchor;e.fillStyle=r,u>0&&(e.strokeStyle=l,e.lineWidth=u),e.beginPath(),function(e,t,n,r,i,o){o>0?(e.moveTo(t+o,n),e.lineTo(t+r-o,n),e.quadraticCurveTo(t+r,n,t+r,n+o),e.lineTo(t+r,n+i-o),e.quadraticCurveTo(t+r,n+i,t+r-o,n+i),e.lineTo(t+o,n+i),e.quadraticCurveTo(t,n+i,t,n+i-o),e.lineTo(t,n+o),e.quadraticCurveTo(t,n,t+o,n),e.closePath()):e.rect(t,n,r,i)}(e,a,s,o,i,Math.min(c,i)),e.fill(),u>0&&e.stroke(),f&&(e.textBaseline="middle",e.textAlign="middle"===m?"center":m,ij(e,h,d,a+p,s+g))},pixelRatio:"undefined"!=typeof window&&null!=(nK=window.devicePixelRatio)?nK:1}),uK=function(e,t,n,r,i,o){return BH(r,{all:e.map(t),min:0,max:0},i,o).padding(n)},dK=function(e,t){return e.map((function(e){return eK({},t.reduce((function(e,t){return e[t]=null,e}),{}),e)}))},fK=function(e){return Object.keys(e).reduce((function(t,n){return e[n]&&(t[n]=e[n]),t}),{})},hK=function(e){return[e,Number(e)]};function pK(e,t,n,r){return void 0===e&&(e=sK.layout),void 0===n&&(n=sK.labelPosition),void 0===r&&(r=sK.labelOffset),function(i,o){var a=r*(t?-1:1);if("horizontal"===e){var s=i/2;return"start"===n?s=t?i:0:"end"===n&&(s=t?0:i),{labelX:s+a,labelY:o/2,textAnchor:"middle"===n?"middle":t?"end":"start"}}var l=o/2;return"start"===n?l=t?0:o:"end"===n&&(l=t?o:0),{labelX:i/2,labelY:l-a,textAnchor:"middle"}}}var gK=["layout","width","height","padding","innerPadding","valueScale","indexScale","hiddenIds"],mK=function(e,t){return e>t},vK=function(e,t){return e<t},bK=function(e,t){return Array.from(" ".repeat(t-e),(function(t,n){return e+n}))},yK=function(e){return mK(e,0)?0:e},_K=function(e,t,n,r){var i=e.data,o=e.formatValue,a=e.getColor,s=e.getIndex,l=e.getTooltipLabel,c=e.innerPadding,u=void 0===c?0:c,d=e.keys,f=e.xScale,h=e.yScale,p=e.margin,g=n?vK:mK,m=i.map(fK),v=[];return d.forEach((function(e,n){return bK(0,f.domain().length).forEach((function(c){var d,b,y,_=hK(i[c][e]),x=_[0],w=_[1],k=s(i[c]),C=(null!=(d=f(k))?d:0)+t*n+u*n,A=g(b=w,0)?null!=(y=h(b))?y:0:r,S=function(e,t){var n;return g(e,0)?r-t:(null!=(n=h(e))?n:0)-r}(w,A),M={id:e,value:null===x?x:w,formattedValue:o(w),hidden:!1,index:c,indexValue:k,data:m[c]};v.push({key:e+"."+M.indexValue,index:v.length,data:M,x:C,y:A,absX:p.left+C,absY:p.top+A,width:t,height:S,color:a(M),label:l(M)})}))})),v},xK=function(e,t,n,r){var i=e.data,o=e.formatValue,a=e.getIndex,s=e.getColor,l=e.getTooltipLabel,c=e.keys,u=e.innerPadding,d=void 0===u?0:u,f=e.xScale,h=e.yScale,p=e.margin,g=n?vK:mK,m=i.map(fK),v=[];return c.forEach((function(e,n){return bK(0,h.domain().length).forEach((function(c){var u,b,y,_=hK(i[c][e]),x=_[0],w=_[1],k=a(i[c]),C=g(b=w,0)?r:null!=(y=f(b))?y:0,A=(null!=(u=h(k))?u:0)+t*n+d*n,S=function(e,t){var n;return g(e,0)?(null!=(n=f(e))?n:0)-r:r-t}(w,C),M={id:e,value:null===x?x:w,formattedValue:o(w),hidden:!1,index:c,indexValue:k,data:m[c]};v.push({key:e+"."+M.indexValue,index:v.length,data:M,x:C,y:A,absX:p.left+C,absY:p.top+A,width:S,height:t,color:s(M),label:l(M)})}))})),v},wK=function(e){var t,n,r,i=e.layout,o=e.width,a=e.height,s=e.padding,l=void 0===s?0:s,c=e.innerPadding,u=void 0===c?0:c,d=e.valueScale,f=e.indexScale,h=e.hiddenIds,p=void 0===h?[]:h,g=tK(e,gK),m=g.keys.filter((function(e){return!p.includes(e)})),v=dK(g.data,m),b="vertical"===i?["y","x",o]:["x","y",a],y=b[0],_=b[1],x=b[2],w=uK(v,g.getIndex,l,f,x,_),k="auto"===d.min?yK:function(e){return e},C=v.reduce((function(e,t){return[].concat(e,m.map((function(e){return t[e]})))}),[]).filter(Boolean),A=BH(d,{all:C,min:k(Math.min.apply(Math,C)),max:(r=Math.max.apply(Math,C),isFinite(r)?r:0)},"x"===y?o:a,y),S="vertical"===i?[w,A]:[A,w],M=S[0],E=S[1],L=(w.bandwidth()-u*(m.length-1))/m.length,T=[eK({},g,{data:v,keys:m,innerPadding:u,xScale:M,yScale:E}),L,null!=(t=d.reverse)&&t,null!=(n=A(0))?n:0];return{xScale:M,yScale:E,bars:L>0?"vertical"===i?_K.apply(void 0,T):xK.apply(void 0,T):[]}},kK=["data","layout","width","height","padding","valueScale","indexScale","hiddenIds"],CK=function(e){var t;return e.some(Array.isArray)?CK((t=[]).concat.apply(t,e)):e},AK=function(e,t,n){var r=e.formatValue,i=e.getColor,o=e.getIndex,a=e.getTooltipLabel,s=e.innerPadding,l=e.stackedData,c=e.xScale,u=e.yScale,d=e.margin,f=[];return l.forEach((function(e){return c.domain().forEach((function(l,h){var p,g,m=e[h],v=null!=(p=c(o(m.data)))?p:0,b=(null!=(g=function(e){return u(e[n?0:1])}(m))?g:0)+.5*s,y=function(e,t){var r;return(null!=(r=u(e[n?1:0]))?r:0)-t}(m,b)-s,_=hK(m.data[e.key]),x=_[0],w=_[1],k={id:e.key,value:null===x?x:w,formattedValue:r(w),hidden:!1,index:h,indexValue:l,data:fK(m.data)};f.push({key:e.key+"."+l,index:f.length,data:k,x:v,y:b,absX:d.left+v,absY:d.top+b,width:t,height:y,color:i(k),label:a(k)})}))})),f},SK=function(e,t,n){var r=e.formatValue,i=e.getColor,o=e.getIndex,a=e.getTooltipLabel,s=e.innerPadding,l=e.stackedData,c=e.xScale,u=e.yScale,d=e.margin,f=[];return l.forEach((function(e){return u.domain().forEach((function(l,h){var p,g,m=e[h],v=null!=(p=u(o(m.data)))?p:0,b=(null!=(g=function(e){return c(e[n?1:0])}(m))?g:0)+.5*s,y=function(e,t){var r;return(null!=(r=c(e[n?0:1]))?r:0)-t}(m,b)-s,_=hK(m.data[e.key]),x=_[0],w=_[1],k={id:e.key,value:null===x?x:w,formattedValue:r(w),hidden:!1,index:h,indexValue:l,data:fK(m.data)};f.push({key:e.key+"."+l,index:f.length,data:k,x:b,y:v,absX:d.left+b,absY:d.top+v,width:y,height:t,color:i(k),label:a(k)})}))})),f},MK=function(e){var t,n,r=e.data,i=e.layout,o=e.width,a=e.height,s=e.padding,l=void 0===s?0:s,c=e.valueScale,u=e.indexScale,d=e.hiddenIds,f=void 0===d?[]:d,h=tK(e,kK),p=h.keys.filter((function(e){return!f.includes(e)})),g=function(){var e=ll([]),t=Ac,n=Cc,r=Sc;function i(i){var o,a,s=Array.from(e.apply(this,arguments),Mc),l=s.length,c=-1;for(const e of i)for(o=0,++c;o<l;++o)(s[o][c]=[0,+r(e,s[o].key,c,i)]).data=e;for(o=0,a=Rl(t(s));o<l;++o)s[a[o]].index=o;return n(s,a),s}return i.keys=function(t){return arguments.length?(e="function"==typeof t?t:ll(Array.from(t)),i):e},i.value=function(e){return arguments.length?(r="function"==typeof e?e:ll(+e),i):r},i.order=function(e){return arguments.length?(t=null==e?Ac:"function"==typeof e?e:ll(Array.from(e)),i):t},i.offset=function(e){return arguments.length?(n=null==e?Cc:e,i):n},i}().keys(p).offset(Ec)(dK(r,p)),m="vertical"===i?["y","x",o]:["x","y",a],v=m[0],b=m[1],y=m[2],_=uK(r,h.getIndex,l,u,y,b),x=(n=CK(g),"log"===c.type?n.filter((function(e){return 0!==e})):n),w=BH(c,{all:x,min:Math.min.apply(Math,x),max:Math.max.apply(Math,x)},"x"===v?o:a,v),k="vertical"===i?[_,w]:[w,_],C=k[0],A=k[1],S=h.innerPadding>0?h.innerPadding:0,M=_.bandwidth(),E=[eK({},h,{innerPadding:S,stackedData:g,xScale:C,yScale:A}),M,null!=(t=c.reverse)&&t];return{xScale:C,yScale:A,bars:M>0?"vertical"===i?AK.apply(void 0,E):SK.apply(void 0,E):[]}},EK=function(e){var t=e.bars,n=e.direction,r=e.from,i=e.groupMode,o=e.layout,a=e.legendLabel,s=e.reverse,l=YB(null!=a?a:"indexes"===r?"indexValue":"id");return"indexes"===r?function(e,t,n){var r=pW(e.map((function(e){var t,r;return{id:null!=(t=e.data.indexValue)?t:"",label:n(e.data),hidden:e.data.hidden,color:null!=(r=e.color)?r:"#000"}})),(function(e){return e.id}));return"horizontal"===t&&r.reverse(),r}(t,o,l):function(e,t,n,r,i,o){var a=pW(e.map((function(e){var t;return{id:e.data.id,label:o(e.data),hidden:e.data.hidden,color:null!=(t=e.color)?t:"#000"}})),(function(e){return e.id}));return("vertical"===t&&"stacked"===r&&"column"===n&&!0!==i||"horizontal"===t&&"stacked"===r&&!0===i)&&a.reverse(),a}(t,o,n,i,s,l)},LK=function(e,t,n){var r=e.get(t)||0;e.set(t,r+n)},TK=function(e){var t,n=e.indexBy,r=void 0===n?sK.indexBy:n,i=e.keys,o=void 0===i?sK.keys:i,a=e.label,s=void 0===a?sK.label:a,l=e.tooltipLabel,c=void 0===l?sK.tooltipLabel:l,u=e.valueFormat,d=e.colors,f=void 0===d?sK.colors:d,h=e.colorBy,p=void 0===h?sK.colorBy:h,g=e.borderColor,m=void 0===g?sK.borderColor:g,v=e.labelTextColor,b=void 0===v?sK.labelTextColor:v,y=e.groupMode,_=void 0===y?sK.groupMode:y,w=e.layout,k=void 0===w?sK.layout:w,C=e.data,A=e.margin,E=e.width,L=e.height,T=e.padding,D=void 0===T?sK.padding:T,F=e.innerPadding,O=void 0===F?sK.innerPadding:F,z=e.valueScale,R=void 0===z?sK.valueScale:z,N=e.indexScale,P=void 0===N?sK.indexScale:N,I=e.initialHiddenIds,B=void 0===I?sK.initialHiddenIds:I,j=e.enableLabel,W=void 0===j?sK.enableLabel:j,H=e.labelSkipWidth,q=void 0===H?sK.labelSkipWidth:H,$=e.labelSkipHeight,U=void 0===$?sK.labelSkipHeight:$,V=e.legends,G=void 0===V?sK.legends:V,Y=e.legendLabel,Z=e.totalsOffset,X=void 0===Z?sK.totalsOffset:Z,K=x(null!=B?B:[]),J=K[0],Q=K[1],ee=S((function(e){Q((function(t){return t.indexOf(e)>-1?t.filter((function(t){return t!==e})):[].concat(t,[e])}))}),[]),te=ZB(r),ne=ZB(s),re=ZB(c),ie=GB(u),oe=bF(),ae=Nq(f,p),se=Mq(m,oe),le=Mq(b,oe),ce=("grouped"===_?wK:MK)({layout:k,data:C,getIndex:te,keys:o,width:E,height:L,getColor:ae,padding:D,innerPadding:O,valueScale:R,indexScale:P,hiddenIds:J,formatValue:ie,getTooltipLabel:re,margin:A}),ue=ce.bars,de=ce.xScale,fe=ce.yScale,he=M((function(){return ue.filter((function(e){return null!==e.data.value})).map((function(e,t){return eK({},e,{index:t})}))}),[ue]),pe=S((function(e){var t=e.width,n=e.height;return!(!W||q>0&&t<q||U>0&&n<U)}),[W,q,U]),ge=M((function(){return o.map((function(e){var t=ue.find((function(t){return t.data.id===e}));return eK({},t,{data:eK({id:e},null==t?void 0:t.data,{hidden:J.includes(e)})})}))}),[J,o,ue]),me=null!=(t=R.reverse)&&t,ve=M((function(){return G.map((function(e){return[e,EK({bars:"keys"===e.dataFrom?ge:ue,direction:e.direction,from:e.dataFrom,groupMode:_,layout:k,legendLabel:Y,reverse:me})]}))}),[G,ge,ue,_,k,Y,me]),be=M((function(){return function(e,t,n,r,i,o,a){void 0===r&&(r=sK.layout),void 0===i&&(i=sK.groupMode);var s=[];if(0===e.length)return s;var l=new Map,c=e[0].width,u=e[0].height;if("stacked"===i){var d=new Map;e.forEach((function(e){var t=e.data,n=t.indexValue,r=t.value;LK(l,n,Number(r)),function(e,t,n){var r=e.get(t)||0;e.set(t,r+(n>0?n:0))}(d,n,Number(r))})),d.forEach((function(e,i){var d,f,h,p=l.get(i)||0;"vertical"===r?(d=t(i),f=n(e),h=n(e/2)):(d=t(e),f=n(i),h=t(e/2)),d+="vertical"===r?c/2:o,f+="vertical"===r?-o:u/2,s.push({key:"total_"+i,x:d,y:f,value:p,formattedValue:a(p),animationOffset:h})}))}else if("grouped"===i){var f=new Map,h=new Map;e.forEach((function(e){var t=e.data,n=t.indexValue,r=t.value;LK(l,n,Number(r)),function(e,t,n){var r=e.get(t)||0;e.set(t,Math.max(r,Number(n)))}(f,n,Number(r)),function(e,t){var n=e.get(t)||0;e.set(t,n+1)}(h,n)})),f.forEach((function(e,i){var d,f,p,g=l.get(i)||0,m=h.get(i);"vertical"===r?(d=t(i),f=n(e),p=n(e/2)):(d=t(e),f=n(i),p=t(e/2)),d+="vertical"===r?m*c/2:o,f+="vertical"===r?-o:m*u/2,s.push({key:"total_"+i,x:d,y:f,value:g,formattedValue:a(g),animationOffset:p})}))}return s}(ue,de,fe,k,_,X,ie)}),[ue,de,fe,k,_,X,ie]);return{bars:ue,barsWithValue:he,xScale:de,yScale:fe,getIndex:te,getLabel:ne,getTooltipLabel:re,formatValue:ie,getColor:ae,getBorderColor:se,getLabelColor:le,shouldRenderBarLabel:pe,hiddenIds:J,toggleSerie:ee,legendsWithData:ve,barTotals:be}},DK=function(e){var t=e.data,n=e.springConfig,r=e.animate,i=e.layout,o=void 0===i?lK.layout:i,a=bF();return _S(t,{keys:function(e){return e.key},from:function(e){return{x:"vertical"===o?e.x:e.animationOffset,y:"vertical"===o?e.animationOffset:e.y,labelOpacity:0}},enter:function(e){return{x:e.x,y:e.y,labelOpacity:1}},update:function(e){return{x:e.x,y:e.y,labelOpacity:1}},leave:function(e){return{x:"vertical"===o?e.x:e.animationOffset,y:"vertical"===o?e.animationOffset:e.y,labelOpacity:0}},config:n,immediate:!r,initial:r?void 0:null})((function(e,t){return An(TE.text,{x:e.x,y:e.y,fillOpacity:e.labelOpacity,style:eK({},a.labels.text,{pointerEvents:"none"}),fontWeight:"bold",fontSize:a.labels.text.fontSize,fontFamily:a.labels.text.fontFamily,textAnchor:"vertical"===o?"middle":"start",alignmentBaseline:"vertical"===o?"alphabetic":"middle",children:t.formattedValue},t.key)}))},FK=["isInteractive","animate","motionConfig","theme","renderWrapper"],OK=function(e){var t,n=e.data,r=e.indexBy,i=e.keys,o=e.margin,a=e.width,s=e.height,l=e.groupMode,c=e.layout,u=e.valueScale,d=e.indexScale,f=e.padding,h=e.innerPadding,p=e.axisTop,g=e.axisRight,m=e.axisBottom,v=void 0===m?lK.axisBottom:m,b=e.axisLeft,y=void 0===b?lK.axisLeft:b,_=e.enableGridX,x=void 0===_?lK.enableGridX:_,w=e.enableGridY,k=void 0===w?lK.enableGridY:w,C=e.gridXValues,A=e.gridYValues,S=e.layers,E=void 0===S?lK.layers:S,L=e.barComponent,T=void 0===L?lK.barComponent:L,D=e.enableLabel,O=void 0===D?lK.enableLabel:D,R=e.label,N=e.labelSkipWidth,P=void 0===N?lK.labelSkipWidth:N,I=e.labelSkipHeight,B=void 0===I?lK.labelSkipHeight:I,j=e.labelTextColor,W=e.labelPosition,H=void 0===W?lK.labelPosition:W,q=e.labelOffset,$=void 0===q?lK.labelOffset:q,U=e.markers,V=void 0===U?lK.markers:U,G=e.colorBy,Y=e.colors,Z=e.defs,X=void 0===Z?lK.defs:Z,K=e.fill,J=void 0===K?lK.fill:K,Q=e.borderRadius,ee=void 0===Q?lK.borderRadius:Q,te=e.borderWidth,ne=void 0===te?lK.borderWidth:te,re=e.borderColor,ie=e.annotations,oe=void 0===ie?lK.annotations:ie,ae=e.legendLabel,se=e.tooltipLabel,le=e.valueFormat,ce=e.isInteractive,ue=void 0===ce?lK.isInteractive:ce,de=e.tooltip,fe=void 0===de?lK.tooltip:de,he=e.onClick,pe=e.onMouseEnter,ge=e.onMouseLeave,me=e.legends,ve=e.role,be=void 0===ve?lK.role:ve,ye=e.ariaLabel,_e=e.ariaLabelledBy,xe=e.ariaDescribedBy,we=e.isFocusable,ke=void 0===we?lK.isFocusable:we,Ce=e.barAriaLabel,Ae=e.barAriaLabelledBy,Se=e.barAriaDescribedBy,Me=e.barAriaHidden,Ee=e.barAriaDisabled,Le=e.initialHiddenIds,Te=e.enableTotals,De=void 0===Te?lK.enableTotals:Te,Fe=e.totalsOffset,Oe=void 0===Fe?lK.totalsOffset:Fe,ze=e.forwardedRef,Re=XI(),Ne=Re.animate,Pe=Re.config,Ie=$B(a,s,o),Be=Ie.outerWidth,je=Ie.outerHeight,We=Ie.margin,He=Ie.innerWidth,qe=Ie.innerHeight,$e=TK({indexBy:r,label:R,tooltipLabel:se,valueFormat:le,colors:Y,colorBy:G,borderColor:re,labelTextColor:j,groupMode:l,layout:c,data:n,keys:i,margin:We,width:He,height:qe,padding:f,innerPadding:h,valueScale:u,indexScale:d,enableLabel:O,labelSkipWidth:P,labelSkipHeight:B,legends:me,legendLabel:ae,initialHiddenIds:Le,totalsOffset:Oe}),Ue=$e.bars,Ve=$e.barsWithValue,Ge=$e.xScale,Ye=$e.yScale,Ze=$e.getLabel,Xe=$e.getTooltipLabel,Ke=$e.getBorderColor,Je=$e.getLabelColor,Qe=$e.shouldRenderBarLabel,et=$e.toggleSerie,tt=$e.legendsWithData,nt=$e.barTotals,rt=$e.getColor,it=pK(c,null!=(t=null==u?void 0:u.reverse)&&t,H,$),ot=_S(Ve,{keys:function(e){return e.key},from:function(e){return eK({borderColor:Ke(e),color:e.color,height:0,labelColor:Je(e),labelOpacity:0},it(e.width,e.height),{transform:"translate("+e.x+", "+(e.y+e.height)+")",width:e.width},"vertical"===c?{}:{height:e.height,transform:"translate("+e.x+", "+e.y+")",width:0})},enter:function(e){return eK({borderColor:Ke(e),color:e.color,height:e.height,labelColor:Je(e),labelOpacity:1},it(e.width,e.height),{transform:"translate("+e.x+", "+e.y+")",width:e.width})},update:function(e){return eK({borderColor:Ke(e),color:e.color,height:e.height,labelColor:Je(e),labelOpacity:1},it(e.width,e.height),{transform:"translate("+e.x+", "+e.y+")",width:e.width})},leave:function(e){return eK({borderColor:Ke(e),color:e.color,height:0,labelColor:Je(e),labelOpacity:0},it(e.width,e.height),{labelY:0,transform:"translate("+e.x+", "+(e.y+e.height)+")",width:e.width},"vertical"===c?{}:eK({},it(e.width,e.height),{labelX:0,height:e.height,transform:"translate("+e.x+", "+e.y+")",width:0}))},config:Pe,immediate:!Ne,initial:Ne?void 0:null}),at=M((function(){return{borderRadius:ee,borderWidth:ne,enableLabel:O,isInteractive:ue,labelSkipWidth:P,labelSkipHeight:B,onClick:he,onMouseEnter:pe,onMouseLeave:ge,getTooltipLabel:Xe,tooltip:fe,isFocusable:ke,ariaLabel:Ce,ariaLabelledBy:Ae,ariaDescribedBy:Se,ariaHidden:Me,ariaDisabled:Ee}}),[ee,ne,O,Xe,ue,B,P,he,pe,ge,fe,ke,Ce,Ae,Se,Me,Ee]),st=tj(X,Ue,J,{dataKey:"data",targetKey:"data.fill"}),lt={annotations:null,axes:null,bars:null,grid:null,legends:null,markers:null,totals:null};E.includes("annotations")&&(lt.annotations=An(rK,{bars:Ue,annotations:oe},"annotations")),E.includes("axes")&&(lt.axes=An(aq,{xScale:Ge,yScale:Ye,width:He,height:qe,top:p,right:g,bottom:v,left:y},"axes")),E.includes("bars")&&(lt.bars=An(z,{children:ot((function(e,t){return F(T,eK({},at,{bar:t,style:e,shouldRenderLabel:Qe(t),label:Ze(t.data)}))}))},"bars")),E.includes("grid")&&(lt.grid=An(cq,{width:He,height:qe,xScale:x?Ge:null,yScale:k?Ye:null,xValues:C,yValues:A},"grid")),E.includes("legends")&&(lt.legends=An(iK,{width:He,height:qe,legends:tt,toggleSerie:et},"legends")),E.includes("markers")&&(lt.markers=An(IB,{markers:V,width:He,height:qe,xScale:Ge,yScale:Ye},"markers")),E.includes("totals")&&De&&(lt.totals=An(DK,{data:nt,springConfig:Pe,animate:Ne,layout:c},"totals"));var ct=eK({},at,{margin:We,width:a,height:s,innerWidth:He,innerHeight:qe,bars:Ue,legendData:tt,enableLabel:O,xScale:Ge,yScale:Ye,tooltip:fe,getTooltipLabel:Xe,onClick:he,onMouseEnter:pe,onMouseLeave:ge,getColor:rt});return An(zB,{width:Be,height:je,margin:We,defs:st,role:be,ariaLabel:ye,ariaLabelledBy:_e,ariaDescribedBy:xe,isFocusable:ke,ref:ze,children:E.map((function(e,t){var n;return"function"==typeof e?An(z,{children:F(e,ct)},t):null!=(n=null==lt?void 0:lt[e])?n:null}))})},zK=A((function(e,t){var n=e.isInteractive,r=void 0===n?lK.isInteractive:n,i=e.animate,o=void 0===i?lK.animate:i,a=e.motionConfig,s=void 0===a?lK.motionConfig:a,l=e.theme,c=e.renderWrapper,u=tK(e,FK);return An(QI,{animate:o,isInteractive:r,motionConfig:s,renderWrapper:c,theme:l,children:An(OK,eK({},u,{isInteractive:r,forwardedRef:t}))})})),RK=["isInteractive","renderWrapper","theme"],NK=function(e,t,n,r){return e.find((function(e){return KB(e.x+t.left,e.y+t.top,e.width,e.height,n,r)}))},PK=function(e){var t,n=e.data,r=e.indexBy,i=e.keys,o=e.margin,a=e.width,s=e.height,l=e.groupMode,c=e.layout,u=e.valueScale,d=e.indexScale,f=e.padding,h=e.innerPadding,p=e.axisTop,g=e.axisRight,m=e.axisBottom,v=void 0===m?cK.axisBottom:m,b=e.axisLeft,y=void 0===b?cK.axisLeft:b,_=e.enableGridX,x=void 0===_?cK.enableGridX:_,k=e.enableGridY,A=void 0===k?cK.enableGridY:k,E=e.gridXValues,L=e.gridYValues,T=e.labelPosition,D=void 0===T?cK.labelPosition:T,O=e.labelOffset,z=void 0===O?cK.labelOffset:O,R=e.layers,N=void 0===R?cK.layers:R,P=e.renderBar,I=void 0===P?cK.renderBar:P,B=e.enableLabel,j=void 0===B?cK.enableLabel:B,W=e.label,H=e.labelSkipWidth,q=void 0===H?cK.labelSkipWidth:H,$=e.labelSkipHeight,U=void 0===$?cK.labelSkipHeight:$,V=e.labelTextColor,G=e.colorBy,Y=e.colors,Z=e.borderRadius,X=void 0===Z?cK.borderRadius:Z,K=e.borderWidth,J=void 0===K?cK.borderWidth:K,Q=e.borderColor,ee=e.annotations,te=void 0===ee?cK.annotations:ee,ne=e.legendLabel,re=e.tooltipLabel,ie=e.valueFormat,oe=e.isInteractive,ae=void 0===oe?cK.isInteractive:oe,se=e.tooltip,le=void 0===se?cK.tooltip:se,ce=e.onClick,ue=e.onMouseEnter,de=e.onMouseLeave,fe=e.legends,he=e.pixelRatio,pe=void 0===he?cK.pixelRatio:he,ge=e.role,me=e.forwardedRef,ve=e.enableTotals,be=void 0===ve?cK.enableTotals:ve,ye=e.totalsOffset,_e=void 0===ye?cK.totalsOffset:ye,xe=C(null),we=bF(),ke=$B(a,s,o),Ce=ke.margin,Ae=ke.innerWidth,Se=ke.innerHeight,Me=ke.outerWidth,Ee=ke.outerHeight,Le=TK({indexBy:r,label:W,tooltipLabel:re,valueFormat:ie,colors:Y,colorBy:G,borderColor:Q,labelTextColor:V,groupMode:l,layout:c,data:n,keys:i,margin:Ce,width:Ae,height:Se,padding:f,innerPadding:h,valueScale:u,indexScale:d,enableLabel:j,labelSkipWidth:q,labelSkipHeight:U,legends:fe,legendLabel:ne,totalsOffset:_e}),Te=Le.bars,De=Le.barsWithValue,Fe=Le.xScale,Oe=Le.yScale,ze=Le.getLabel,Re=Le.getTooltipLabel,Ne=Le.getBorderColor,Pe=Le.getLabelColor,Ie=Le.shouldRenderBarLabel,Be=Le.legendsWithData,je=Le.barTotals,We=Le.getColor,He=RF(),qe=He.showTooltipFromEvent,$e=He.hideTooltip,Ue=JZ({annotations:KZ({data:Te,annotations:te,getPosition:function(e){return{x:e.x,y:e.y}},getDimensions:function(e){var t=e.width,n=e.height;return{width:t,height:n,size:Math.max(t,n)}}})}),Ve=M((function(){return{borderRadius:X,borderWidth:J,isInteractive:ae,isFocusable:!1,labelSkipWidth:q,labelSkipHeight:U,margin:Ce,width:a,height:s,innerWidth:Ae,innerHeight:Se,bars:Te,legendData:Be,enableLabel:j,xScale:Fe,yScale:Oe,tooltip:le,getTooltipLabel:Re,onClick:ce,onMouseEnter:ue,onMouseLeave:de,getColor:We}}),[X,J,ae,q,U,Ce,a,s,Ae,Se,Te,Be,j,Fe,Oe,le,Re,ce,ue,de,We]),Ge=GB(ie),Ye=pK(c,null!=(t=null==u?void 0:u.reverse)&&t,D,z);w((function(){if(xe.current){xe.current.width=Me*pe,xe.current.height=Ee*pe;var e=xe.current.getContext("2d");e.scale(pe,pe),e.fillStyle=we.background,e.fillRect(0,0,Me,Ee),e.translate(Ce.left,Ce.top),N.forEach((function(t){"grid"===t?"number"==typeof we.grid.line.strokeWidth&&we.grid.line.strokeWidth>0&&(e.lineWidth=we.grid.line.strokeWidth,e.strokeStyle=we.grid.line.stroke,x&&fq(e,{width:Ae,height:Se,scale:Fe,axis:"x",values:E}),A&&fq(e,{width:Ae,height:Se,scale:Oe,axis:"y",values:L})):"axes"===t?dq(e,{xScale:Fe,yScale:Oe,width:Ae,height:Se,top:p,right:g,bottom:v,left:y,theme:we}):"bars"===t?(rj(e,we.text),De.forEach((function(t){I(e,eK({bar:t,borderColor:Ne(t),borderRadius:X,borderWidth:J,label:ze(t.data),shouldRenderLabel:Ie(t),labelStyle:eK({},we.labels.text,{fill:Pe(t)})},Ye(t.width,t.height)))}))):"legends"===t?Be.forEach((function(t){var n=t[0],r=t[1];c$(e,eK({},n,{data:r,containerWidth:Ae,containerHeight:Se,theme:we}))})):"annotations"===t?aX(e,{annotations:Ue,theme:we}):"totals"===t&&be?function(e,t,n,r){void 0===r&&(r=cK.layout),rj(e,n.labels.text),e.textBaseline="vertical"===r?"alphabetic":"middle",e.textAlign="vertical"===r?"center":"start",t.forEach((function(t){ij(e,n.labels.text,t.formattedValue,t.x,t.y)}))}(e,je,we,c):"function"==typeof t&&t(e,Ve)})),e.save()}}),[v,y,g,p,De,X,J,Ue,x,A,Ne,ze,Pe,E,L,l,s,Se,Ae,Ve,N,c,Be,Ce.left,Ce.top,Ee,Me,pe,I,Fe,Oe,Ie,we,a,je,be,Ge,Ye]);var Ze=S((function(e){if(Te&&xe.current){var t=JB(xe.current,e),n=t[0],r=t[1],i=NK(Te,Ce,n,r);void 0!==i?(qe(F(le,eK({},i.data,{color:i.color,label:i.label,value:Number(i.data.value)})),e),"mouseenter"===e.type&&(null==ue||ue(i.data,e))):$e()}}),[$e,Ce,ue,Te,qe,le]),Xe=S((function(e){if(Te&&xe.current){$e();var t=JB(xe.current,e),n=t[0],r=t[1],i=NK(Te,Ce,n,r);i&&(null==de||de(i.data,e))}}),[$e,Ce,de,Te]),Ke=S((function(e){if(Te&&xe.current){var t=JB(xe.current,e),n=t[0],r=t[1],i=NK(Te,Ce,n,r);void 0!==i&&(null==ce||ce(eK({},i.data,{color:i.color}),e))}}),[Ce,ce,Te]);return An("canvas",{ref:nj(xe,me),width:Me*pe,height:Ee*pe,style:{width:Me,height:Ee,cursor:ae?"auto":"normal"},onMouseEnter:ae?Ze:void 0,onMouseMove:ae?Ze:void 0,onMouseLeave:ae?Xe:void 0,onClick:ae?Ke:void 0,role:ge})},IK=A((function(e,t){var n=e.isInteractive,r=e.renderWrapper,i=e.theme,o=tK(e,RK);return An(QI,{isInteractive:n,renderWrapper:r,theme:i,animate:!1,children:An(PK,eK({},o,{isInteractive:n,forwardedRef:t}))})})),BK=["defaultWidth","defaultHeight","onResize","debounceResize"],jK=A((function(e,t){var n=e.defaultWidth,r=e.defaultHeight,i=e.onResize,o=e.debounceResize,a=tK(e,BK);return An(nB,{defaultWidth:n,defaultHeight:r,onResize:i,debounceResize:o,children:function(e){var n=e.width,r=e.height;return An(zK,eK({},a,{width:n,height:r,ref:t}))}})})),WK=["defaultWidth","defaultHeight","onResize","debounceResize"];A((function(e,t){var n=e.defaultWidth,r=e.defaultHeight,i=e.onResize,o=e.debounceResize,a=tK(e,WK);return An(nB,{defaultWidth:n,defaultHeight:r,onResize:i,debounceResize:o,children:function(e){var n=e.width,r=e.height;return An(IK,eK({},a,{width:n,height:r,ref:t}))}})}));var HK="styles_legends__LAO35";const qK=e=>{const{data:t,onLegendClick:n}=e;return An("div",{className:HK,children:t.map((e=>An(wZ,{legend:e,onClick:n},e.id)))})},$K=({value:e,indexBy:t,legend:n,formatIndexBy:r=(e,t)=>e[t]?.toString()??"",formatLegendValue:i=e=>(e.value??0).toString()??"",allowZeroValues:o=!1})=>{const a=o?n:n.filter((t=>yZ(e[t.id])&&0!==Number(e[t.id])));return An(uZ,{label:r(e,t),children:a.map((t=>An(wZ,{mode:"menu",legend:{...t,value:i({...t,value:e[t.id]})}},t.id)))})},UK=e=>{const{background:t,grid:n}=bF();return An("g",{children:[An("line",{opacity:"1",x1:"0",x2:e.innerWidth,y1:e.innerHeight,y2:e.innerHeight,stroke:t,strokeWidth:"1"}),An("line",{opacity:"1",x1:"0",x2:e.innerWidth,y1:e.innerHeight,y2:e.innerHeight,stroke:n.line.stroke,strokeWidth:"1"})]})},VK=s(null),GK=e=>{const{children:t}=e,[n,r]=c(void 0);return An(VK.Provider,{value:[n,r],children:t})},YK=e=>{const t=l(null),[n,r]=c(!1),[i,o]=c(null),a=l(null),s=l((()=>{})),u=d((async(n,i)=>{if(!t.current)return;if(a.current===n)return;const l=()=>{if(t.current)return Nh(n,t.current,{middleware:[Rh(),Oh(6),zh({padding:5})],strategy:"fixed",placement:e}).then((({x:e,y:n,strategy:r})=>{t.current&&(t.current.style.position=r,t.current.style.pointerEvents="none",t.current.style.left=`${e}px`,t.current.style.top=`${n}px`)}))};await l(),a.current=n,r(!0),o(i),s.current=Fh(n,t.current,l)}),[e]),f=d((e=>{a.current===e&&(s.current(),a.current=null,r(!1),o(null))}),[]);return{tooltipRef:t,isVisible:n,handleShowTooltip:u,handleHideTooltip:f,data:i}},ZK={s:16,m:24,l:32},XK=(e,t)=>Math.min(e,ZK[t]),KK=e=>{const{isInteractive:t,isFocusable:r,innerHeight:i,innerWidth:o,tooltip:a,indexBy:s,layout:l="vertical",bars:c,hasValueFn:u=t=>Object.entries(t).filter((([t])=>t!==e.indexBy)).reduce(((e,[,t])=>e+ig.toNumber(t??0)),0)>0}=e,d="horizontal"===l,{handleShowTooltip:f,isVisible:h,handleHideTooltip:p,tooltipRef:g,data:m}=YK(d?"bottom":"left"),{animate:v,config:b}=XI(),{opacity:y}=yS({opacity:h?1:0,config:{...b,duration:75},immediate:!v});if(!t)return null;const _=Math.max(...c.map((e=>e.data.index+1))),x=c.slice(0,_);if(x.length<=0)return null;const[w,k]=x;if(!w)return null;const C=k?.x?k.x-w.x:w.width,A=C-w.width,S=k?.y?w.y-k.y:w.height,M=S-w.height;return An(QY.g,{"data-testid":"hover-layer",children:[x.map(((e,n)=>{const a=e.x-A/2,l=e.y-M/2;return u(e.data.data)?An(JK,{x:d?0:a,y:d?l:0,width:d?o:C,height:d?S:i,value:e.data.data,indexBy:s,isInteractive:t,isFocusable:r,onTooltipShow:f,onTooltipHide:p},n):null})),fp(An(QY.div,{ref:g,style:{display:y?"block":"none",opacity:y},children:h&&m&&n(a,{value:m})}),document.body)]})},JK=({x:e,y:t,width:n,height:r,value:i,isInteractive:o=!0,isFocusable:a=!0,indexBy:s,onTooltipShow:l,onTooltipHide:c})=>{const[u,h]=(()=>{const e=f(VK);if(!e)throw new Error("useBarChartState must be used within a BarChartStateProvider");return e})(),{animate:p,config:g}=XI(),m=i[s],v=u===String(m),{fill:b}=yS({from:{fill:"#ffffff00"},to:{fill:"var(--color-control-bg-ghost-hover)"},config:{...g,duration:150},reverse:!v,immediate:!p}),y=d((e=>{l(e.target,i)}),[l,i]),_=d((e=>{l(e.target,i),h(String(m))}),[l,i,h,m]),x=d((e=>{c(e.target),h(void 0)}),[c,h]),w=d((e=>{l(e.target,i),h(String(m))}),[l,i,h,m]),k=d((e=>{c(e.target),h(void 0)}),[c,h]);return An(QY.rect,{x:e,y:t,"data-testid":"hover-rect",width:n,height:r,fill:b,onMouseMove:o?y:void 0,onMouseEnter:o?_:void 0,onMouseLeave:o?x:void 0,onFocus:o&&a?w:void 0,onBlur:o&&a?k:void 0})},QK=s(null),eJ=()=>{const e=f(QK);if(!e)throw new Error("useBarContext must be used within a BarContext");return e},tJ=e=>{const{bars:t,indexBy:n,layout:r="vertical",barSize:i,groupMode:o="stacked"}=e,a=h((()=>(e=>{const{bars:t,indexBy:n,layout:r,groupMode:i}=e,o=new Map;for(const e of t){const t=e.data.data[n];o.has(t)||o.set(t,{id:t,bars:[],x:1/0,y:1/0,width:0,height:0});const a=o.get(t);a.bars.push(e),a.x=Math.min(a.x,e.x),a.y=Math.min(a.y,e.y);let s=a.width+e.width,l=a.height+e.height;"vertical"===r&&(s=Math.max(a.width,e.width),"grouped"===i&&(l=Math.max(a.height,e.height))),"horizontal"===r&&(l=Math.max(a.height,e.height),"grouped"===i&&(s=Math.max(a.width,e.width))),a.width=s,a.height=l}return Array.from(o.values())})({bars:t,indexBy:n,layout:r,groupMode:o})),[t,n,r,o]),s=Math.min(...a.map((e=>e.y))),l=Math.min(...a.map((e=>e.x)));return An(QK.Provider,{value:{barSize:i,layout:r,groupMode:o},children:An(QY.g,{"data-testid":"bars",pointerEvents:"none",children:a.map((e=>An(nJ,{group:e,offsetY:s,offsetX:l},e.id)))})})},nJ=e=>{const{group:t}=e,{barSize:n,layout:r}=eJ(),{animate:i,config:o}=XI(),a=p(),s="horizontal"===r,l=XK(t.height,n),c=XK(t.width,n),u=t.width-c,d=t.height-l,f=s?t.x:t.x+u/2,g=s?t.y+d/2:t.y,m=s?t.width:c,v=s?l:t.height,b=(y=s?l:c)<=4?0:y<=ZK.s/3?1:y<=ZK.s/2?1.5:y<ZK.s?2:y>=ZK.s&&y<ZK.m?4:y>=ZK.m?6:0;var y;const{transform:_}=yS({transform:`translate(${f}, ${g})`,config:o,immediate:!i}),x=h((()=>{const e=t.bars.filter((e=>e.width>0&&e.height>0));return"horizontal"===r?e.sort(((e,t)=>e.x-t.x)):e.sort(((e,t)=>e.y-t.y))}),[t.bars,r]),w="horizontal"===r?m<2*b:v<2*b;return An(QY.g,{clipPath:w?void 0:`url(#clip-${a})`,transform:_,"data-testid":"group","data-id":t.id,children:[!w&&An("defs",{children:An("clipPath",{id:`clip-${a}`,children:An(QY.rect,{x:0,y:0,width:m,height:v,rx:b,ry:b})})}),x.map(((e,t)=>An(rJ,{id:e.data.id,x:s?e.x-f:0,y:s?0:e.y-g,width:s?e.width:m,height:s?v:e.height,fill:e.color,isFirst:0===t,isLast:t===x.length-1},e.data.id)))]})},rJ=e=>{const{isFirst:t,isLast:n,id:r,...i}=e,{layout:o}=eJ(),{animate:a,config:s}=XI(),l="horizontal"===o?i.width:i.height,c=!t&&l>2,u=!n&&l>2;let d=i.width,f=i.height,h=i.x,p=i.y;"horizontal"===o&&(c&&u&&(h+=.5,d-=.5),u&&(d-=.5)),"vertical"===o&&(c&&(p+=.5,f-=.5),u&&(f-=.5));const g=yS({x:h,y:p,width:d,height:f,config:s,immediate:!a});return An(QY.rect,{...g,fill:i.fill,"data-testid":"bar","data-id":r})};function iJ(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function oJ(e,t,n,r){for(var i=0,o=0,a=e.length;o<a;o++){var s=e[o],l=+t(s,o,e),c=+n(s,o,e);null!=l&&isFinite(l)&&null!=c&&isFinite(c)&&r(l,c,i++)}}const aJ=function(){var e,t=function(e){return e[0]},n=function(e){return e[1]};function r(r){var i=0,o=0,a=0,s=0,l=0,c=e?+e[0]:1/0,u=e?+e[1]:-1/0;oJ(r,t,n,(function(t,n){++i,o+=(t-o)/i,a+=(n-a)/i,s+=(t*n-s)/i,l+=(t*t-l)/i,e||(t<c&&(c=t),t>u&&(u=t))}));var d=function(e,t,n,r){var i=r-e*e,o=Math.abs(i)<1e-24?0:(n-e*t)/i;return[t-o*e,o]}(o,a,s,l),f=iJ(d,2),h=f[0],p=f[1],g=function(e){return p*e+h},m=[[c,g(c)],[u,g(u)]];return m.a=p,m.b=h,m.predict=g,m.rSquared=function(e,t,n,r,i){var o=0,a=0;return oJ(e,t,n,(function(e,t){var n=t-i(e),s=t-r;o+=n*n,a+=s*s})),1-o/a}(r,t,n,a,g),m}return r.domain=function(t){return arguments.length?(e=t,r):e},r.x=function(e){return arguments.length?(t=e,r):t},r.y=function(e){return arguments.length?(n=e,r):n},r}().x((e=>e.x)).y((e=>e.y)),sJ=jl().x((e=>e[0])).y((e=>e[1])),lJ=e=>{const{legend:t,indexBy:n,bars:r,innerHeight:i,innerWidth:o,formatValue:a=e=>ig.toNumber(e)}=e,s=h((()=>t.filter((e=>"point"===e.type)).map((e=>e.id))),[t]),l=p(),c=h((()=>t.filter((e=>"point"===e.type)).reduce(((e,t)=>(e[t.id]=t.color,e)),{})),[t]),u=h((()=>(e=>{const t=Math.max(...e.map((e=>e.data.index+1)));return e.slice(0,t)})(r)),[r]),d=h((()=>WH(s.map((e=>({id:e,data:u.map((t=>{const r=a(ig.toNumber(t.data.data[e]??0),e);return void 0===r?null:{x:ig.toNumber(t.data.data[n]??0),y:r}})).filter((e=>null!==e))}))),{type:"linear"},{type:"linear",nice:!0,min:0,max:100},o,i)),[s,u,n,a,o,i]),f=h((()=>s.map((e=>{if(u.length<2)return null;const t=c[e]??"",n=u.map((t=>{const n=a(ig.toNumber(t.data.data[e]??0),e);return void 0===n?null:{x:ig.toNumber(t.x+t.width/2),y:ig.toNumber(d.yScale(n)??0),id:t.key,value:n}})).filter((e=>null!==e));if(u.length===n.length)return{trendKey:e,color:t,points:n};if(n.length<2)return null;const r=aJ(n),i=u.map((t=>{const n=a(ig.toNumber(t.data.data[e]??0),e),i=ig.toNumber(t.x+t.width/2);let o=r.predict(i);return void 0!==n&&(o=ig.toNumber(d.yScale(n)??0)),{x:i,y:o,id:t.key,value:n}}));return{trendKey:e,color:t,points:i}})).filter((e=>null!==e))),[s,u,a,d,c]);if(0===s.length)return null;if(0===f.length)return null;return An(QY.g,{"data-testid":"trend-lines-layer",pointerEvents:"none",clipPath:`url(#${l})`,children:[An("defs",{children:An("clipPath",{id:l,children:An("rect",{x:-5,y:-5,width:o+5,height:i+5})})}),f.map((({trendKey:e,points:t,color:n})=>An(QY.g,{"data-testid":"trend-line-group","data-trend-key":e,children:[An(cJ,{points:t,color:n},e),t.filter((e=>void 0!==e.value&&e.value>=0&&e.value<=100)).map((({x:e,y:t,id:r})=>An(uJ,{x:e,y:t,color:n},r)))]},e)))]})},cJ=e=>{const{points:t,color:n}=e,{animate:r,config:i}=XI(),o=h((()=>0===t.length||t.length<2?[]:aJ(t)),[t]),{d:a}=yS({d:sJ(o)??void 0,config:i,immediate:!r});return 0===t.length||t.length<2||0===o.length?null:An(QY.path,{d:a,"data-testid":"trend-line",fill:"none",stroke:n,strokeWidth:2,strokeLinecap:"round",pointerEvents:"none",strokeDasharray:"4"})},uJ=e=>{const{x:t,y:n,color:r}=e,{animate:i,config:o}=XI(),{cx:a,cy:s}=yS({cx:t,cy:n,config:o,immediate:!i});return An(QY.circle,{"data-testid":"trend-line-point",cx:a,cy:s,r:3,strokeWidth:2,fill:"white",stroke:r,pointerEvents:"none"})},dJ=({data:e,layout:t="vertical",indexBy:n,keys:r,stacked:i,position:o,formatLeftTick:a,formatBottomTick:s})=>{if("horizontal"===t){const t=6,r=e.map((e=>s(e[n],e).toString().length));return Math.max(...r)*t+8}const l=Math.floor(Math.max(...e.map((e=>r.map((t=>ig.toNumber(e[t]??0))).reduce(((e,t)=>e+t),0))))),c=a(l).toString().length+1;return 8+8*c+10*Math.max(Math.floor((c-1)/3),0)+1};var fJ="styles_container__nVJhv",hJ="styles_barContainer__DTIpd";const pJ=e=>{const{data:t,legend:n,indexBy:r,renderBottomTick:i,onBarClick:o,padding:a=.5,formatLegendValue:s,formatIndexBy:l,hasValueFn:c,currentLocale:u="en-US",formatBottomTick:d=e=>e,formatLeftTick:f=e=>_Z(e,u),bottomTickRotation:p=0,noLegend:g=!1,minValue:m,maxValue:v,groupMode:b="stacked",bottomTickSize:y=12,markers:_=[],colors:x,leftAxisTickValues:w,layout:k="vertical",formatTrendValue:C}=e,A=h((()=>new Map(n.map((e=>[e.id,e])))),[n]),S=h((()=>n.filter((e=>"point"!==e.type&&"tree"!==e.type)).map((e=>e.id))),[n]),M=h((()=>((e,t)=>e.every((e=>Object.keys(e).filter((e=>e!==t)).every((t=>0===e[t])))))(t,r)),[t,r]),E=h((()=>t.length>=8?"s":t.length>=6?"m":"l"),[t]),L="horizontal"===k;return An("div",{className:fJ,children:[An("div",{className:hJ,children:An(GK,{children:An(jK,{data:t,theme:IY,groupMode:b,layout:k,defaultHeight:275,keys:S,indexBy:r,margin:{top:10,right:20,bottom:p>0?60:40,left:dJ({data:t,layout:k,keys:S,indexBy:r,stacked:!0,position:"left",formatLeftTick:f,formatBottomTick:d})},padding:a,innerPadding:0,valueScale:{type:"linear",nice:!0,min:m,max:v},indexScale:{type:"band",round:!0},layers:["grid","axes",UK,e=>An(tJ,{...e,indexBy:r,layout:k,legend:n,barSize:E,groupMode:b}),e=>An(lJ,{...e,legend:n,indexBy:r,formatValue:C}),"markers",e=>An(KK,{...e,hasValueFn:c,indexBy:r,layout:k,tooltip:({value:e})=>An($K,{allowZeroValues:!0,value:e,indexBy:r,legend:n,formatLegendValue:s,formatIndexBy:l})})],markers:_,colors:"function"==typeof x?x:e=>A.get(e.id)?.color??"var(--color-bg-secondary)",enableLabel:!1,enableTotals:!1,axisTop:null,axisRight:null,axisBottom:{tickSize:0,tickPadding:5,tickRotation:p,truncateTickAt:0,renderTick:i,style:{ticks:{text:{fontSize:y}}},format:L?f:e=>d(e,t.find((t=>t[r]===e))),tickValues:t.length>30?t.filter(((e,t)=>!(t%2))).map((e=>e[r])):void 0},axisLeft:{tickSize:0,tickPadding:8,tickRotation:0,truncateTickAt:0,format:L?d?e=>d(e,t.find((t=>t[r]===e))):void 0:f,tickValues:w},animate:!RY,motionConfig:zY,onClick:o})})}),!M&&!g&&An(qK,{data:n})]})},gJ=(e,t)=>e>=t,mJ=e=>e>=91?"bottom-right":"top-right",vJ=e=>{const{title:t,data:n,i18n:r,keys:i,threshold:o=90}=e,a=h((()=>ig.take(n,15).map((({id:e,stabilityRate:t})=>({id:e,stabilityRate:t,[e]:t})))),[n]),s=r("legend.stabilityRate"),l=(e=>e>=100?100:e<=0?0:e)(o),c=h((()=>a.map((({id:e,stabilityRate:t})=>({id:e,label:s,color:gJ(t,l)?"var(--color-intent-success-bg-active)":"var(--color-intent-danger-bg-active)",value:t,[e]:t})))),[a,s,l]),u=0===a.length;return An(W_,u?{title:t,children:An(jp,{title:r("no-results"),icon:Sn.lineChartsBarChartSquare})}:{title:t,children:An(pJ,{markers:[{axis:"y",value:o,legend:`${o}%`,textStyle:{fill:IY.markers?.text?.fill,fontSize:IY.markers?.text?.fontSize,fontWeight:IY.markers?.text?.fontWeight},lineStyle:{stroke:IY.markers?.lineColor,strokeWidth:IY.markers?.lineStrokeWidth},legendPosition:mJ(l),legendOffsetY:10,legendOffsetX:7}],groupMode:"stacked",data:a,legend:c,indexBy:"id",hasValueFn:()=>!0,formatIndexBy:e=>i[e.id],formatBottomTick:(e,t)=>ig.truncate(i[t.id],{length:15}),bottomTickSize:a.length>4?10:12,formatLegendValue:({value:e})=>{if(void 0!==e)return`${e}%`},noLegend:!0,formatLeftTick:e=>`${e}%`,maxValue:100,leftAxisTickValues:[0,10,20,30,40,50,60,70,80,90,100],bottomTickRotation:45,colors:e=>((e,t)=>{if(e>=t)return"var(--color-intent-success-bg-active)";const n=t>20?t-5:void 0;return n&&e>=n?"var(--color-intent-warning-bg-active)":"var(--color-intent-danger-bg-active)"})(e.data.stabilityRate,l)})})},bJ=e=>e.startsWith("new:"),yJ=e=>e.startsWith("removed:"),_J=e=>{const{title:t,data:n,i18n:r,statuses:i}=e,o=n.find((e=>"current"===e.id)),a=h((()=>{const e=[];for(const t of i)e.push(`new:${t}`);for(const t of i)e.push(`removed:${t}`);return e}),[i]),s=h((()=>[...a.map((e=>{const t=e.replace(":",""),n=e.replace("new:","").replace("removed:","");return{id:e,label:r(`status.${t}`),color:HU(n,"chartFill"),value:bJ(e)?1:-1}})),{id:"trend",label:r("legend.trend"),color:"var(--color-chart-categorical-9)",type:"point"}]),[a,r]),l=Math.ceil(1.01*Math.max(...n.map((e=>{const t=Math.abs(a.filter((e=>yJ(e))).reduce(((t,n)=>t+(e[n]??0)),0)),n=Math.abs(a.filter((e=>bJ(e))).reduce(((t,n)=>t+(e[n]??0)),0));return Math.max(n,t)})))),c=h((()=>n.map((e=>{const t=2*l,n=((e,t)=>t.reduce(((t,n)=>(bJ(n)&&(t[n]=e[n]??0),yJ(n)&&(t[n]=-(e[n]??0)),t)),{}))(e,a),r=Math.abs(a.filter((e=>yJ(e))).reduce(((e,t)=>e+(n[t]??0)),0)),i=Math.abs(a.filter((e=>bJ(e))).reduce(((e,t)=>e+(n[t]??0)),0)),o=qU({positiveValue:i,negativeValue:r,absTotal:t,noValuePercentage:-1});return{id:e.id,timestamp:e.timestamp,...n,trend:o}}))),[n,a,l]),u=c.every((e=>a.every((t=>0===e[t])))),d=c.filter((e=>"current"!==e.id)).every((e=>a.every((t=>0===e[t]))));return!o||u?An(W_,{title:t,children:An(jp,{title:r("no-results"),icon:Sn.lineChartsBarChartSquare})}):1===n.length&&o||d?An(W_,{title:t,children:An(jp,{title:r("no-history"),icon:Sn.lineChartsBarChartSquare})}):An(W_,{title:t,children:An(pJ,{groupMode:"stacked",data:c,legend:s,indexBy:"id",hasValueFn:()=>!0,formatIndexBy:e=>"current"===e.id?r("tooltips.current"):r("tooltips.history",{timestamp:e?.timestamp}),formatBottomTick:e=>{if("current"===e)return r("ticks.current");const t=c.find((t=>t.id===e));return t?r("ticks.history",{timestamp:t?.timestamp}):""},bottomTickRotation:45,formatLegendValue:({value:e,id:t})=>"trend"===t?"":e?_Z(Math.abs(Number(e))):"-",noLegend:!0,formatLeftTick:e=>{const t=Math.abs(Number(e));return Number.isInteger(t)?_Z(Math.abs(Number(e))):""},minValue:-l,maxValue:l,formatTrendValue:e=>{if(-1!==e)return e}})})},xJ=e=>"skipped"===e||"unknown"===e,wJ=e=>"failed"===e||"broken"===e,kJ=(e,t)=>t.reduce(((t,n)=>(xJ(n)&&(t[n]=e[n]??0),wJ(n)&&(t[n]=-(e[n]??0)),t)),{}),CJ=e=>{const{title:t,data:n,i18n:r,statuses:i}=e,o=n.find((e=>"current"===e.id)),a=h((()=>i.map((e=>({id:e,label:r(`status.${e}`),color:HU(e,"chartFill"),value:xJ(e)?1:-1})))),[i,r]),s=h((()=>n.map((e=>({id:e.id,timestamp:e.timestamp,...kJ(e,i)})))),[n,i]),l=s.every((e=>i.every((t=>0===e[t])))),c=s.filter((e=>"current"!==e.id)).every((e=>i.every((t=>0===e[t]))));if(!o||l)return An(W_,{title:t,children:An(jp,{title:r("no-results"),icon:Sn.lineChartsBarChartSquare})});if(1===n.length&&o||c)return An(W_,{title:t,children:An(jp,{title:r("no-history"),icon:Sn.lineChartsBarChartSquare})});const u=Math.max(...s.map((e=>{const t=Math.abs(i.filter((e=>wJ(e))).reduce(((t,n)=>t+(e[n]??0)),0)),n=Math.abs(i.filter((e=>xJ(e))).reduce(((t,n)=>t+(e[n]??0)),0));return Math.max(t,n)}))),d=Math.ceil(1.01*u);return An(W_,{title:t,children:An(pJ,{groupMode:"stacked",layout:"horizontal",data:s,legend:a,indexBy:"id",hasValueFn:()=>!0,formatIndexBy:e=>"current"===e.id?r("tooltips.current"):r("tooltips.history",{timestamp:e?.timestamp}),formatBottomTick:e=>{if("current"===e)return ig.truncate(r("ticks.current"),{length:15});const t=s.find((t=>t.id===e));return t?ig.truncate(r("ticks.history",{timestamp:t?.timestamp}),{length:15}):""},bottomTickSize:10,formatLegendValue:({value:e})=>e?_Z(Math.abs(Number(e))):"-",noLegend:!0,formatLeftTick:e=>{const t=Math.abs(Number(e));return Number.isInteger(t)?_Z(Math.abs(Number(e))):""},minValue:-d,maxValue:d})})};function AJ(){return AJ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},AJ.apply(null,arguments)}function SJ(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}var MJ={layers:["separators","parts","labels","annotations"],direction:"vertical",interpolation:"smooth",spacing:0,shapeBlending:.66,colors:{scheme:"nivo"},size:void 0,fillOpacity:1,borderWidth:6,borderColor:{from:"color"},borderOpacity:.66,enableLabel:!0,labelColor:{theme:"background"},enableBeforeSeparators:!0,beforeSeparatorLength:0,beforeSeparatorOffset:0,enableAfterSeparators:!0,afterSeparatorLength:0,afterSeparatorOffset:0,annotations:[],isInteractive:!0,currentPartSizeExtension:0,role:"img",animate:GI,motionConfig:YI},EJ=function(e){var t=e.part;return An(AF,{id:t.data.label,value:t.formattedValue,color:t.color,enableChip:!0})},LJ=function(e,t){return M((function(){return function(e,t){if("function"==typeof e)return e;if(Array.isArray(e)){var n=Zi(e);return function(e){return Number(n(String(e.id)))}}if(P(e)){if(function(e){return void 0!==e.datum}(e))return function(t){var n=I(t,e.datum);return"number"==typeof n?n:0};throw new Error("Invalid size, when using an object, you should specify a 'datum' property")}return function(e){return t(e.value)}}(e,t)}),[e,t])},TJ=function(e){var t,n,r=e.data,i=e.width,o=e.height,a=e.direction,s=void 0===a?MJ.direction:a,l=e.interpolation,c=void 0===l?MJ.interpolation:l,u=e.spacing,d=void 0===u?MJ.spacing:u,f=e.shapeBlending,h=void 0===f?MJ.shapeBlending:f,p=e.valueFormat,g=e.colors,m=void 0===g?MJ.colors:g,v=e.size,b=void 0===v?MJ.size:v,y=e.fillOpacity,_=void 0===y?MJ.fillOpacity:y,w=e.borderWidth,k=void 0===w?MJ.borderWidth:w,C=e.borderColor,A=void 0===C?MJ.borderColor:C,S=e.borderOpacity,E=void 0===S?MJ.borderOpacity:S,L=e.labelColor,T=void 0===L?MJ.labelColor:L,D=e.enableBeforeSeparators,O=void 0===D?MJ.enableBeforeSeparators:D,z=e.beforeSeparatorLength,R=void 0===z?MJ.beforeSeparatorLength:z,N=e.beforeSeparatorOffset,P=void 0===N?MJ.beforeSeparatorOffset:N,I=e.enableAfterSeparators,B=void 0===I?MJ.enableAfterSeparators:I,j=e.afterSeparatorLength,W=void 0===j?MJ.afterSeparatorLength:j,H=e.afterSeparatorOffset,q=void 0===H?MJ.afterSeparatorOffset:H,$=e.isInteractive,U=void 0===$?MJ.isInteractive:$,V=e.currentPartSizeExtension,G=void 0===V?MJ.currentPartSizeExtension:V,Y=e.currentBorderWidth,Z=e.onMouseEnter,X=e.onMouseMove,K=e.onMouseLeave,J=e.onClick,Q=e.tooltip,ee=bF(),te=Nq(m,"id"),ne=Mq(A,ee),re=Mq(T,ee),ie=GB(p),oe=M((function(){return function(e,t){var n=Wl();return"vertical"===t?n.curve("smooth"===e?Yl:Pl).x0((function(e){return e.x0})).x1((function(e){return e.x1})).y((function(e){return e.y})):n.curve("smooth"===e?Yl:Pl).y0((function(e){return e.y0})).y1((function(e){return e.y1})).x((function(e){return e.x})),[n,jl().defined((function(e){return null!==e})).x((function(e){return e.x})).y((function(e){return e.y})).curve("smooth"===e?Yl:Pl)]}(c,s)}),[c,s]),ae=oe[0],se=oe[1],le=O?R+P:0,ce=B?W+q:0;"vertical"===s?(t=i-le-ce,n=o):(t=i,n=o-le-ce);var ue=M((function(){return function(e){var t,n,r=e.data,i=e.direction,o=e.width,a=e.height,s=e.spacing;"vertical"===i?(t=a,n=o):(t=o,n=a);var l=(t-s*(r.length-1))/r.length,c=function(e){return s*e+l*e};c.bandwidth=l;var u=r.map((function(e){return e.value}));return[c,So().domain([0,Math.max.apply(Math,u)]).range([0,n])]}({data:r,direction:s,width:t,height:n,spacing:d})}),[r,s,t,n,d]),de=ue[0],fe=ue[1],he=LJ(b,fe),pe=x(null),ge=pe[0],me=pe[1],ve=M((function(){var e=r.map((function(e,r){var i,o,a,l,c=e.id===ge,u=he(e);"vertical"===s?(i=u,o=de.bandwidth,l=le+.5*(t-i),a=de(r)):(i=de.bandwidth,o=u,l=de(r),a=le+.5*(n-o));var d=l+i,f=l+.5*i,h=a+o,p=a+.5*o,g={data:e,width:i,height:o,color:te(e),fillOpacity:_,borderWidth:c&&void 0!==Y?Y:k,borderOpacity:E,formattedValue:ie(e.value),isCurrent:c,x:f,x0:l,x1:d,y:p,y0:a,y1:h,borderColor:"",labelColor:"",points:[],areaPoints:[],borderPoints:[]};return g.borderColor=ne(g),g.labelColor=re(g),g})),i=h/2;return e.forEach((function(t,n){var r=e[n+1];if("vertical"===s){t.points.push({x:t.x0,y:t.y0}),t.points.push({x:t.x1,y:t.y0}),r?(t.points.push({x:r.x1,y:t.y1}),t.points.push({x:r.x0,y:t.y1})):(t.points.push({x:t.points[1].x,y:t.y1}),t.points.push({x:t.points[0].x,y:t.y1})),t.isCurrent&&(t.points[0].x-=G,t.points[1].x+=G,t.points[2].x+=G,t.points[3].x-=G),t.areaPoints=[{x:0,x0:t.points[0].x,x1:t.points[1].x,y:t.y0,y0:0,y1:0}],t.areaPoints.push(AJ({},t.areaPoints[0],{y:t.y0+t.height*i}));var o={x:0,x0:t.points[3].x,x1:t.points[2].x,y:t.y1,y0:0,y1:0};t.areaPoints.push(AJ({},o,{y:t.y1-t.height*i})),t.areaPoints.push(o),[0,1,2,3].map((function(e){t.borderPoints.push({x:t.areaPoints[e].x0,y:t.areaPoints[e].y})})),t.borderPoints.push(null),[3,2,1,0].map((function(e){t.borderPoints.push({x:t.areaPoints[e].x1,y:t.areaPoints[e].y})}))}else{t.points.push({x:t.x0,y:t.y0}),r?(t.points.push({x:t.x1,y:r.y0}),t.points.push({x:t.x1,y:r.y1})):(t.points.push({x:t.x1,y:t.y0}),t.points.push({x:t.x1,y:t.y1})),t.points.push({x:t.x0,y:t.y1}),t.isCurrent&&(t.points[0].y-=G,t.points[1].y-=G,t.points[2].y+=G,t.points[3].y+=G),t.areaPoints=[{x:t.x0,x0:0,x1:0,y:0,y0:t.points[0].y,y1:t.points[3].y}],t.areaPoints.push(AJ({},t.areaPoints[0],{x:t.x0+t.width*i}));var a={x:t.x1,x0:0,x1:0,y:0,y0:t.points[1].y,y1:t.points[2].y};t.areaPoints.push(AJ({},a,{x:t.x1-t.width*i})),t.areaPoints.push(a),[0,1,2,3].map((function(e){t.borderPoints.push({x:t.areaPoints[e].x,y:t.areaPoints[e].y0})})),t.borderPoints.push(null),[3,2,1,0].map((function(e){t.borderPoints.push({x:t.areaPoints[e].x,y:t.areaPoints[e].y1})}))}})),e}),[r,s,de,t,n,le,h,te,ie,ne,re,ge,E,k,Y,G,_,he]),be=RF(),ye=be.showTooltipFromEvent,_e=be.hideTooltip,xe=M((function(){return function(e){var t=e.parts,n=e.setCurrentPartId,r=e.isInteractive,i=e.onMouseEnter,o=e.onMouseLeave,a=e.onMouseMove,s=e.onClick,l=e.showTooltipFromEvent,c=e.hideTooltip,u=e.tooltip,d=void 0===u?EJ:u;return r?t.map((function(e){return AJ({},e,{onMouseEnter:function(t){n(e.data.id),l(F(d,{part:e}),t),null==i||i(e,t)},onMouseLeave:function(t){n(null),c(),null==o||o(e,t)},onMouseMove:function(t){l(F(d,{part:e}),t),null==a||a(e,t)},onClick:void 0!==s?function(t){s(e,t)}:void 0})})):t}({parts:ve,setCurrentPartId:me,isInteractive:U,onMouseEnter:Z,onMouseLeave:K,onMouseMove:X,onClick:J,showTooltipFromEvent:ye,hideTooltip:_e,tooltip:Q})}),[ve,me,U,Z,K,X,J,ye,_e,Q]),we=M((function(){return function(e){var t=e.parts,n=e.direction,r=e.width,i=e.height,o=e.spacing,a=e.enableBeforeSeparators,s=e.beforeSeparatorOffset,l=e.enableAfterSeparators,c=e.afterSeparatorOffset,u=[],d=[],f=t[t.length-1];if("vertical"===n){t.forEach((function(e){var t=e.y0-o/2;a&&u.push({partId:e.data.id,x0:0,x1:e.x0-s,y0:t,y1:t}),l&&d.push({partId:e.data.id,x0:e.x1+c,x1:r,y0:t,y1:t})}));var h=f.y1;a&&u.push(AJ({},u[u.length-1],{partId:"none",y0:h,y1:h})),l&&d.push(AJ({},d[d.length-1],{partId:"none",y0:h,y1:h}))}else if("horizontal"===n){t.forEach((function(e){var t=e.x0-o/2;u.push({partId:e.data.id,x0:t,x1:t,y0:0,y1:e.y0-s}),d.push({partId:e.data.id,x0:t,x1:t,y0:e.y1+c,y1:i})}));var p=f.x1;u.push(AJ({},u[u.length-1],{partId:"none",x0:p,x1:p})),d.push(AJ({},d[d.length-1],{partId:"none",x0:p,x1:p}))}return[u,d]}({parts:ve,direction:s,width:i,height:o,spacing:d,enableBeforeSeparators:O,beforeSeparatorOffset:P,enableAfterSeparators:B,afterSeparatorOffset:q})}),[ve,s,i,o,d,O,P,B,q]),ke=we[0],Ce=we[1],Ae=M((function(){return{width:i,height:o,parts:xe,areaGenerator:ae,borderGenerator:se,beforeSeparators:ke,afterSeparators:Ce,setCurrentPartId:me}}),[i,o,xe,ae,se,ke,Ce,me]);return{parts:xe,areaGenerator:ae,borderGenerator:se,beforeSeparators:ke,afterSeparators:Ce,setCurrentPartId:me,currentPartId:ge,customLayerProps:Ae}},DJ=function(e){var t=e.part,n=e.areaGenerator,i=e.borderGenerator,o=XI(),a=o.animate,s=o.config,l=BB(n(t.areaPoints)),c=BB(i(t.borderPoints)),u=yS({areaColor:t.color,borderWidth:t.borderWidth,borderColor:t.borderColor,config:s,immediate:!a});return An(r,{children:[t.borderWidth>0&&An(TE.path,{d:c,stroke:u.borderColor,strokeWidth:u.borderWidth,strokeOpacity:t.borderOpacity,fill:"none"}),An(TE.path,{d:l,fill:u.areaColor,fillOpacity:t.fillOpacity,onMouseEnter:t.onMouseEnter,onMouseLeave:t.onMouseLeave,onMouseMove:t.onMouseMove,onClick:t.onClick})]})},FJ=function(e){var t=e.parts,n=e.areaGenerator,i=e.borderGenerator;return An(r,{children:t.map((function(e){return An(DJ,{part:e,areaGenerator:n,borderGenerator:i},e.data.id)}))})},OJ=function(e){var t=e.part,n=bF(),r=XI(),i=r.animate,o=r.config,a=yS({transform:"translate("+t.x+", "+t.y+")",color:t.labelColor,config:o,immediate:!i});return An(TE.g,{transform:a.transform,children:An(vj,{textAnchor:"middle",dominantBaseline:"central",style:AJ({},n.labels.text,{fill:a.color,pointerEvents:"none"}),children:t.formattedValue})})},zJ=function(e){var t=e.parts;return An(r,{children:t.map((function(e){return An(OJ,{part:e},e.data.id)}))})},RJ=function(e){var t=e.separator,n=bF(),r=XI(),i=r.animate,o=r.config,a=yS({x1:t.x0,x2:t.x1,y1:t.y0,y2:t.y1,config:o,immediate:!i});return An(TE.line,AJ({x1:a.x1,x2:a.x2,y1:a.y1,y2:a.y2,fill:"none"},n.grid.line))},NJ=function(e){var t=e.beforeSeparators,n=e.afterSeparators;return An(r,{children:[t.map((function(e){return An(RJ,{separator:e},e.partId)})),n.map((function(e){return An(RJ,{separator:e},e.partId)}))]})},PJ=function(e){var t=function(e,t){return KZ({data:e,annotations:t,getPosition:function(e){return{x:e.x,y:e.y}},getDimensions:function(e){var t=e.width,n=e.height;return{size:Math.max(t,n),width:t,height:n}}})}(e.parts,e.annotations);return An(r,{children:t.map((function(e,t){return An(iX,AJ({},e),t)}))})},IJ=["isInteractive","animate","motionConfig","theme","renderWrapper"],BJ=function(e){var t=e.data,n=e.width,r=e.height,i=e.margin,o=e.direction,a=void 0===o?MJ.direction:o,s=e.interpolation,l=void 0===s?MJ.interpolation:s,c=e.spacing,u=void 0===c?MJ.spacing:c,d=e.shapeBlending,f=void 0===d?MJ.shapeBlending:d,h=e.valueFormat,p=e.colors,g=void 0===p?MJ.colors:p,m=e.size,v=void 0===m?MJ.size:m,b=e.fillOpacity,y=void 0===b?MJ.fillOpacity:b,_=e.borderWidth,x=void 0===_?MJ.borderWidth:_,w=e.borderColor,k=void 0===w?MJ.borderColor:w,C=e.borderOpacity,A=void 0===C?MJ.borderOpacity:C,S=e.enableLabel,M=void 0===S?MJ.enableLabel:S,E=e.labelColor,L=void 0===E?MJ.labelColor:E,T=e.enableBeforeSeparators,D=void 0===T?MJ.enableBeforeSeparators:T,O=e.beforeSeparatorLength,R=void 0===O?MJ.beforeSeparatorLength:O,N=e.beforeSeparatorOffset,P=void 0===N?MJ.beforeSeparatorOffset:N,I=e.enableAfterSeparators,B=void 0===I?MJ.enableAfterSeparators:I,j=e.afterSeparatorLength,W=void 0===j?MJ.afterSeparatorLength:j,H=e.afterSeparatorOffset,q=void 0===H?MJ.afterSeparatorOffset:H,$=e.layers,U=void 0===$?MJ.layers:$,V=e.annotations,G=void 0===V?MJ.annotations:V,Y=e.isInteractive,Z=void 0===Y?MJ.isInteractive:Y,X=e.currentPartSizeExtension,K=void 0===X?MJ.currentPartSizeExtension:X,J=e.currentBorderWidth,Q=e.onMouseEnter,ee=e.onMouseMove,te=e.onMouseLeave,ne=e.onClick,re=e.tooltip,ie=e.role,oe=void 0===ie?MJ.role:ie,ae=e.ariaLabel,se=e.ariaLabelledBy,le=e.ariaDescribedBy,ce=e.forwardedRef,ue=$B(n,r,i),de=ue.margin,fe=ue.innerWidth,he=ue.innerHeight,pe=ue.outerWidth,ge=ue.outerHeight,me=TJ({data:t,width:fe,height:he,direction:a,interpolation:l,spacing:u,shapeBlending:f,valueFormat:h,colors:g,size:v,fillOpacity:y,borderWidth:x,borderColor:k,borderOpacity:A,labelColor:L,enableBeforeSeparators:D,beforeSeparatorLength:R,beforeSeparatorOffset:P,enableAfterSeparators:B,afterSeparatorLength:W,afterSeparatorOffset:q,isInteractive:Z,currentPartSizeExtension:K,currentBorderWidth:J,onMouseEnter:Q,onMouseMove:ee,onMouseLeave:te,onClick:ne,tooltip:re}),ve=me.areaGenerator,be=me.borderGenerator,ye=me.parts,_e=me.beforeSeparators,xe=me.afterSeparators,we=me.customLayerProps,ke={separators:null,parts:null,annotations:null,labels:null};return U.includes("separators")&&(ke.separators=An(NJ,{beforeSeparators:_e,afterSeparators:xe},"separators")),U.includes("parts")&&(ke.parts=An(FJ,{parts:ye,areaGenerator:ve,borderGenerator:be},"parts")),null!=U&&U.includes("annotations")&&(ke.annotations=An(PJ,{parts:ye,annotations:G},"annotations")),U.includes("labels")&&M&&(ke.labels=An(zJ,{parts:ye},"labels")),An(zB,{width:pe,height:ge,margin:de,role:oe,ariaLabel:ae,ariaLabelledBy:se,ariaDescribedBy:le,ref:ce,children:U.map((function(e,t){var n;return"function"==typeof e?An(z,{children:F(e,we)},t):null!=(n=null==ke?void 0:ke[e])?n:null}))})},jJ=A((function(e,t){var n=e.isInteractive,r=void 0===n?MJ.isInteractive:n,i=e.animate,o=void 0===i?MJ.animate:i,a=e.motionConfig,s=void 0===a?MJ.motionConfig:a,l=e.theme,c=e.renderWrapper,u=SJ(e,IJ);return An(QI,{animate:o,isInteractive:r,motionConfig:s,renderWrapper:c,theme:l,children:An(BJ,AJ({isInteractive:r},u,{forwardedRef:t}))})})),WJ=["defaultWidth","defaultHeight","onResize","debounceResize"],HJ=A((function(e,t){var n=e.defaultWidth,r=e.defaultHeight,i=e.onResize,o=e.debounceResize,a=SJ(e,WJ);return An(nB,{defaultWidth:n,defaultHeight:r,onResize:i,debounceResize:o,children:function(e){var n=e.width,r=e.height;return An(jJ,AJ({width:n,height:r},a,{ref:t}))}})}));const qJ={background:"var(--color-bg-primary)",axis:{ticks:{text:{fill:"var(--color-text-secondary)"}},legend:{text:{fill:"var(--color-text-primary)"}}},grid:{line:{stroke:"var(--color-border-default)"}},legends:{text:{fill:"var(--color-text-secondary)"}},tooltip:{container:{background:"var(--color-bg-raised)",color:"var(--color-text-primary)"}},text:{fill:"var(--color-text-primary)"}},$J=e=>{const t=bF(),{animate:n,config:r}=XI(),i=yS({transform:`translate(10, ${e.y})`,color:e.labelColor,config:r,immediate:!n}),o=[];return o.push(`Layer: ${e.data.layer}`),e.data.value>0?(o.push(`Number of tests: ${e.data.value} (${e.data.percentage}%)`),o.push(`Success rate: ${e.data.successRate}%`)):o.push("No tests"),An(QY.g,{transform:i.transform,children:An(vj,{style:{...t.labels.text,pointerEvents:"none"},lineHeight:1.2,children:o.map(((e,t)=>An(QY.tspan,{x:0,dy:0===t?0:"1.2em",children:e},t)))},e.data.id)})},UJ=e=>{const{parts:t}=e;return t.map((e=>An($J,{...e},e.data.id)))},VJ=e=>{const{data:t,title:n,translations:r,height:i=400,width:o="100%"}=e,a=r["no-results"],s=h((()=>[...t].reverse().map((e=>({id:e.layer,value:e.testCount,label:e.layer,successRate:e.successRate,percentage:e.percentage,layer:e.layer,color:e.testCount>0?"var(--color-intent-primary-bg)":"var(--color-status-skipped-chart-fill)"})))),[t]);return t&&0!==t.length?An(W_,{title:n,children:An("div",{role:"img",tabIndex:0,style:{width:o,height:i},children:An(HJ,{data:s,theme:qJ,enableLabel:!1,layers:["separators","parts","labels","annotations",UJ],interpolation:"linear",spacing:5,shapeBlending:0,borderWidth:0,colors:e=>e.color,labelColor:{theme:"background"},enableAfterSeparators:!1})})}):An(W_,{title:n,children:An(MU,{label:a,width:o,height:i,ariaLabel:a})})};function GJ(){return GJ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},GJ.apply(null,arguments)}var YJ={pointerEvents:"none"},ZJ=function(e){var t=e.label,n=e.style,r=bF();return An(TE.g,{transform:n.transform,opacity:n.progress,style:YJ,children:An(vj,{textAnchor:"middle",dominantBaseline:"central",style:GJ({},r.labels.text,{fill:n.textColor}),children:t})})},XJ=function(e){var t=e%(2*Math.PI);return t<0&&(t+=2*Math.PI),t},KJ=function(e,t){return e.filter((function(e){return Math.abs(gB(e.arc.endAngle-e.arc.startAngle))>=t}))},JJ={startAngle:{enter:function(e){return GJ({},e,{endAngle:e.startAngle})},update:function(e){return e},leave:function(e){return GJ({},e,{startAngle:e.endAngle})}},middleAngle:{enter:function(e){var t=e.startAngle+(e.endAngle-e.startAngle)/2;return GJ({},e,{startAngle:t,endAngle:t})},update:function(e){return e},leave:function(e){var t=e.startAngle+(e.endAngle-e.startAngle)/2;return GJ({},e,{startAngle:t,endAngle:t})}},endAngle:{enter:function(e){return GJ({},e,{startAngle:e.endAngle})},update:function(e){return e},leave:function(e){return GJ({},e,{endAngle:e.startAngle})}},innerRadius:{enter:function(e){return GJ({},e,{outerRadius:e.innerRadius})},update:function(e){return e},leave:function(e){return GJ({},e,{innerRadius:e.outerRadius})}},centerRadius:{enter:function(e){var t=e.innerRadius+(e.outerRadius-e.innerRadius)/2;return GJ({},e,{innerRadius:t,outerRadius:t})},update:function(e){return e},leave:function(e){var t=e.innerRadius+(e.outerRadius-e.innerRadius)/2;return GJ({},e,{innerRadius:t,outerRadius:t})}},outerRadius:{enter:function(e){return GJ({},e,{innerRadius:e.outerRadius})},update:function(e){return e},leave:function(e){return GJ({},e,{outerRadius:e.innerRadius})}},pushIn:{enter:function(e){return GJ({},e,{innerRadius:e.innerRadius-e.outerRadius+e.innerRadius,outerRadius:e.innerRadius})},update:function(e){return e},leave:function(e){return GJ({},e,{innerRadius:e.outerRadius,outerRadius:e.outerRadius+e.outerRadius-e.innerRadius})}},pushOut:{enter:function(e){return GJ({},e,{innerRadius:e.outerRadius,outerRadius:e.outerRadius+e.outerRadius-e.innerRadius})},update:function(e){return e},leave:function(e){return GJ({},e,{innerRadius:e.innerRadius-e.outerRadius+e.innerRadius,outerRadius:e.innerRadius})}}},QJ=function(e,t){return M((function(){var n=JJ[e];return{enter:function(e){return GJ({progress:0},n.enter(e.arc),t?t.enter(e):{})},update:function(e){return GJ({progress:1},n.update(e.arc),t?t.update(e):{})},leave:function(e){return GJ({progress:0},n.leave(e.arc),t?t.leave(e):{})}}}),[e,t])},eQ=function(e,t){var n=function(e){return e.startAngle+(e.endAngle-e.startAngle)/2}(e)-Math.PI/2,r=e.innerRadius+(e.outerRadius-e.innerRadius)*t;return mB(n,r)},tQ=function(e){return function(t,n,r,i){return SS([t,n,r,i],(function(t,n,r,i){var o=eQ({startAngle:t,endAngle:n,innerRadius:r,outerRadius:i},e);return"translate("+o.x+","+o.y+")"}))}},nQ=function(e){var t=e.center,n=e.data,r=e.transitionMode,i=e.label,o=e.radiusOffset,a=e.skipAngle,s=e.skipRadius,l=e.textColor,c=e.component,u=void 0===c?ZJ:c,d=ZB(i),f=bF(),h=Mq(l,f),p=M((function(){return n.filter((function(e){var t=Math.abs(gB(e.arc.endAngle-e.arc.startAngle)),n=Math.abs(e.arc.outerRadius-e.arc.innerRadius);return t>=a&&n>=s}))}),[n,a,s]),g=function(e,t,n,r){void 0===t&&(t=.5),void 0===n&&(n="innerRadius");var i=XI(),o=i.animate,a=i.config,s=QJ(n,r);return{transition:_S(e,{keys:function(e){return e.id},initial:s.update,from:s.enter,enter:s.update,update:s.update,leave:s.leave,config:a,immediate:!o}),interpolate:tQ(t)}}(p,o,r),m=g.transition,v=g.interpolate,b=u;return An("g",{transform:"translate("+t[0]+","+t[1]+")",children:m((function(e,t){return F(b,{key:t.id,datum:t,label:d(t),style:{progress:e.progress,transform:v(e.startAngle,e.endAngle,e.innerRadius,e.outerRadius),textColor:h(t)}})}))})},rQ=function(e,t,n){rj(e,n.labels.text),e.textAlign="center",e.textBaseline="middle",t.forEach((function(t){ij(e,GJ({},n.labels.text,{fill:t.textColor}),String(t.label),t.x,t.y)}))},iQ=function(e){var t=e.data,n=e.offset,r=e.skipAngle,i=e.label,o=e.textColor,a=ZB(i),s=bF(),l=Mq(o,s),c=S((function(e){return{label:a(e),textColor:l(e)}}),[a,l]);return function(e){var t=e.data,n=e.offset,r=void 0===n?.5:n,i=e.skipAngle,o=void 0===i?0:i,a=e.computeExtraProps,s=void 0===a?function(){return{}}:a;return M((function(){return KJ(t,o).map((function(e){var t=eQ(e.arc,r);return GJ({},s(e),{x:t.x,y:t.y,data:e})}))}),[t,r,o,s])}({data:t,offset:n,skipAngle:r,computeExtraProps:c})},oQ=function(e){var t=e.label,n=e.style,r=bF();return An(TE.g,{opacity:n.opacity,children:[An(TE.path,{fill:"none",stroke:n.linkColor,strokeWidth:n.thickness,d:n.path}),An(vj,{transform:n.textPosition,textAnchor:n.textAnchor,dominantBaseline:"central",style:GJ({},r.labels.text,{fill:n.textColor}),children:t})]})},aQ=function(e,t,n,r){var i,o,a=XJ(e.startAngle+(e.endAngle-e.startAngle)/2-Math.PI/2),s=mB(a,e.outerRadius+t),l=mB(a,e.outerRadius+t+n);return a<Math.PI/2||a>1.5*Math.PI?(i="after",o={x:l.x+r,y:l.y}):(i="before",o={x:l.x-r,y:l.y}),{side:i,points:[s,l,o]}},sQ=jl().x((function(e){return e.x})).y((function(e){return e.y})),lQ=function(e,t,n,r,i,o,a){return SS([e,t,n,r,i,o,a],(function(e,t,n,r,i,o,a){var s=aQ({startAngle:e,endAngle:t,outerRadius:r},i,o,a).points;return sQ(s)}))},cQ=function(e,t,n,r){return SS([e,t,n,r],(function(e,t,n,r){return function(e){var t=XJ(e.startAngle+(e.endAngle-e.startAngle)/2-Math.PI/2);return t<Math.PI/2||t>1.5*Math.PI?"start":"end"}({startAngle:e,endAngle:t})}))},uQ=function(e,t,n,r,i,o,a,s){return SS([e,t,n,r,i,o,a,s],(function(e,t,n,r,i,o,a,s){var l=aQ({startAngle:e,endAngle:t,outerRadius:r},i,o,a),c=l.points,u=l.side,d=c[2];return"before"===u?d.x-=s:d.x+=s,"translate("+d.x+","+d.y+")"}))},dQ=function(e){var t=e.center,n=e.data,r=e.label,i=e.skipAngle,o=e.offset,a=e.diagonalLength,s=e.straightLength,l=e.strokeWidth,c=e.textOffset,u=e.textColor,d=e.linkColor,f=e.component,h=void 0===f?oQ:f,p=ZB(r),g=function(e){var t=e.data,n=e.offset,r=void 0===n?0:n,i=e.diagonalLength,o=e.straightLength,a=e.skipAngle,s=void 0===a?0:a,l=e.textOffset,c=e.linkColor,u=e.textColor,d=XI(),f=d.animate,h=d.config,p=bF(),g=Mq(c,p),m=Mq(u,p),v=function(e,t){return M((function(){return KJ(e,t)}),[e,t])}(t,s),b=function(e){var t=e.offset,n=e.diagonalLength,r=e.straightLength,i=e.textOffset,o=e.getLinkColor,a=e.getTextColor;return M((function(){return{enter:function(e){return{startAngle:e.arc.startAngle,endAngle:e.arc.endAngle,innerRadius:e.arc.innerRadius,outerRadius:e.arc.outerRadius,offset:t,diagonalLength:0,straightLength:0,textOffset:i,linkColor:o(e),textColor:a(e),opacity:0}},update:function(e){return{startAngle:e.arc.startAngle,endAngle:e.arc.endAngle,innerRadius:e.arc.innerRadius,outerRadius:e.arc.outerRadius,offset:t,diagonalLength:n,straightLength:r,textOffset:i,linkColor:o(e),textColor:a(e),opacity:1}},leave:function(e){return{startAngle:e.arc.startAngle,endAngle:e.arc.endAngle,innerRadius:e.arc.innerRadius,outerRadius:e.arc.outerRadius,offset:t,diagonalLength:0,straightLength:0,textOffset:i,linkColor:o(e),textColor:a(e),opacity:0}}}}),[n,r,i,o,a,t])}({offset:r,diagonalLength:i,straightLength:o,textOffset:l,getLinkColor:g,getTextColor:m});return{transition:_S(v,{keys:function(e){return e.id},initial:b.update,from:b.enter,enter:b.update,update:b.update,leave:b.leave,config:h,immediate:!f}),interpolateLink:lQ,interpolateTextAnchor:cQ,interpolateTextPosition:uQ}}({data:n,skipAngle:i,offset:o,diagonalLength:a,straightLength:s,textOffset:c,linkColor:d,textColor:u}),m=g.transition,v=g.interpolateLink,b=g.interpolateTextAnchor,y=g.interpolateTextPosition,_=h;return An("g",{transform:"translate("+t[0]+","+t[1]+")",children:m((function(e,t){return F(_,{key:t.id,datum:t,label:p(t),style:GJ({},e,{thickness:l,path:v(e.startAngle,e.endAngle,e.innerRadius,e.outerRadius,e.offset,e.diagonalLength,e.straightLength),textAnchor:b(e.startAngle,e.endAngle,e.innerRadius,e.outerRadius),textPosition:y(e.startAngle,e.endAngle,e.innerRadius,e.outerRadius,e.offset,e.diagonalLength,e.straightLength,e.textOffset)})})}))})},fQ=function(e,t,n,r){e.textBaseline="middle",rj(e,n.labels.text),t.forEach((function(t){e.textAlign=vB.canvas.align[t.textAnchor],ij(e,GJ({},n.labels.text,{fill:t.textColor}),String(t.label),t.x,t.y),e.beginPath(),e.strokeStyle=t.linkColor,e.lineWidth=r,t.points.forEach((function(t,n){0===n?e.moveTo(t.x,t.y):e.lineTo(t.x,t.y)})),e.stroke()}))},hQ=function(e){var t=e.data,n=e.skipAngle,r=e.offset,i=e.diagonalLength,o=e.straightLength,a=e.textOffset,s=void 0===a?0:a,l=e.label,c=e.linkColor,u=e.textColor,d=ZB(l),f=bF(),h=Mq(c,f),p=Mq(u,f),g=S((function(e){var t,n={x:e.points[2].x,y:e.points[2].y};return"before"===e.side?(n.x-=s,t="end"):(n.x+=s,t="start"),GJ({},n,{label:d(e.data),linkColor:h(e.data),textAnchor:t,textColor:p(e.data)})}),[d,h,p,s]);return function(e){var t=e.data,n=e.skipAngle,r=void 0===n?0:n,i=e.offset,o=void 0===i?.5:i,a=e.diagonalLength,s=e.straightLength,l=e.computeExtraProps,c=void 0===l?function(){return{}}:l,u=M((function(){return t.filter((function(e){return Math.abs(gB(e.arc.endAngle-e.arc.startAngle))>=r})).map((function(e){return GJ({},aQ(e.arc,o,a,s),{data:e})}))}),[t,r,o,a,s]);return M((function(){return u.map((function(e){return GJ({},c(e),e)}))}),[u,c])}({data:t,skipAngle:n,offset:r,diagonalLength:i,straightLength:o,computeExtraProps:g})},pQ=function(e){var t=e.datum,n=e.style,r=e.onClick,i=e.onMouseEnter,o=e.onMouseMove,a=e.onMouseLeave,s=S((function(e){return null==r?void 0:r(t,e)}),[r,t]),l=S((function(e){return null==i?void 0:i(t,e)}),[i,t]),c=S((function(e){return null==o?void 0:o(t,e)}),[o,t]),u=S((function(e){return null==a?void 0:a(t,e)}),[a,t]);return An(TE.path,{d:n.path,opacity:n.opacity,fill:t.fill||n.color,stroke:n.borderColor,strokeWidth:n.borderWidth,onClick:r?s:void 0,onMouseEnter:i?l:void 0,onMouseMove:o?c:void 0,onMouseLeave:a?u:void 0,"data-testid":"arc."+t.id})},gQ=function(e,t,n,r,i){return SS([e,t,n,r],(function(e,t,n,r){return i({startAngle:e,endAngle:t,innerRadius:Math.max(0,n),outerRadius:Math.max(0,r)})}))},mQ=function(e){var t=e.center,n=e.data,r=e.arcGenerator,i=e.borderWidth,o=e.borderColor,a=e.onClick,s=e.onMouseEnter,l=e.onMouseMove,c=e.onMouseLeave,u=e.transitionMode,d=e.component,f=void 0===d?pQ:d,h=bF(),p=Mq(o,h),g=function(e,t,n){void 0===t&&(t="innerRadius");var r=XI(),i=r.animate,o=r.config,a=QJ(t,n);return{transition:_S(e,{keys:function(e){return e.id},initial:a.update,from:a.enter,enter:a.update,update:a.update,leave:a.leave,config:o,immediate:!i}),interpolate:gQ}}(n,u,{enter:function(e){return{opacity:0,color:e.color,borderColor:p(e)}},update:function(e){return{opacity:1,color:e.color,borderColor:p(e)}},leave:function(e){return{opacity:0,color:e.color,borderColor:p(e)}}}),m=g.transition,v=g.interpolate,b=f;return An("g",{transform:"translate("+t[0]+","+t[1]+")",children:m((function(e,t){return F(b,{key:t.id,datum:t,style:GJ({},e,{borderWidth:i,path:v(e.startAngle,e.endAngle,e.innerRadius,e.outerRadius,r)}),onClick:a,onMouseEnter:s,onMouseMove:l,onMouseLeave:c})}))})},vQ=function(e,t,n,r,i,o,a){if(function(e,t,n,r,i,o){var a=XB(i,o,e,t);return a<n&&a>r}(e,t,n,r,o,a)){var s=function(e,t,n,r){var i=Math.atan2(r-t,n-e)-Math.PI/2;return i>0?i:2*Math.PI+i}(o,a,e,t);return i.find((function(e){var t=e.startAngle,n=e.endAngle;return s>=t&&s<n}))}},bQ=function(e){var t=void 0===e?{}:e,n=t.cornerRadius,r=void 0===n?0:n,i=t.padAngle,o=void 0===i?0:i;return M((function(){return zl().innerRadius((function(e){return e.innerRadius})).outerRadius((function(e){return e.outerRadius})).cornerRadius(r).padAngle(o)}),[r,o])};function yQ(){return yQ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},yQ.apply(null,arguments)}function _Q(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}var xQ,wQ=function(e){var t=e.width,n=e.height,i=e.legends,o=e.data,a=e.toggleSerie;return An(r,{children:i.map((function(e,r){var i;return An(s$,yQ({},e,{containerWidth:t,containerHeight:n,data:null!=(i=e.data)?i:o,toggleSerie:e.toggleSerie?a:void 0}),r)}))})},kQ={id:"id",value:"value",sortByValue:!1,innerRadius:0,padAngle:0,cornerRadius:0,layers:["arcs","arcLinkLabels","arcLabels","legends"],startAngle:0,endAngle:360,fit:!0,activeInnerRadiusOffset:0,activeOuterRadiusOffset:0,borderWidth:0,borderColor:{from:"color",modifiers:[["darker",1]]},enableArcLabels:!0,arcLabel:"formattedValue",arcLabelsSkipAngle:0,arcLabelsSkipRadius:0,arcLabelsRadiusOffset:.5,arcLabelsTextColor:{theme:"labels.text.fill"},enableArcLinkLabels:!0,arcLinkLabel:"id",arcLinkLabelsSkipAngle:0,arcLinkLabelsOffset:0,arcLinkLabelsDiagonalLength:16,arcLinkLabelsStraightLength:24,arcLinkLabelsThickness:1,arcLinkLabelsTextOffset:6,arcLinkLabelsTextColor:{theme:"labels.text.fill"},arcLinkLabelsColor:{theme:"axis.ticks.line.stroke"},colors:{scheme:"nivo"},defs:[],fill:[],isInteractive:!0,animate:!0,motionConfig:"gentle",transitionMode:"innerRadius",tooltip:function(e){var t=e.datum;return An(AF,{id:t.id,value:t.formattedValue,enableChip:!0,color:t.color})},legends:[],role:"img",pixelRatio:"undefined"!=typeof window&&null!=(xQ=window.devicePixelRatio)?xQ:1},CQ=["points"],AQ=function(e){var t=e.data,n=e.id,r=void 0===n?kQ.id:n,i=e.value,o=void 0===i?kQ.value:i,a=e.valueFormat,s=e.colors,l=void 0===s?kQ.colors:s,c=ZB(r),u=ZB(o),d=GB(a),f=Nq(l,"id");return M((function(){return t.map((function(e){var t,n=c(e),r=u(e),i={id:n,label:null!=(t=e.label)?t:n,hidden:!1,value:r,formattedValue:d(r),data:e};return yQ({},i,{color:f(i)})}))}),[t,c,u,d,f])},SQ=function(e){var t=e.data,n=e.width,r=e.height,i=e.innerRadius,o=void 0===i?kQ.innerRadius:i,a=e.startAngle,s=void 0===a?kQ.startAngle:a,l=e.endAngle,c=void 0===l?kQ.endAngle:l,u=e.padAngle,d=void 0===u?kQ.padAngle:u,f=e.sortByValue,h=void 0===f?kQ.sortByValue:f,p=e.cornerRadius,g=void 0===p?kQ.cornerRadius:p,m=e.fit,v=void 0===m?kQ.fit:m,b=e.activeInnerRadiusOffset,y=void 0===b?kQ.activeInnerRadiusOffset:b,_=e.activeOuterRadiusOffset,k=void 0===_?kQ.activeOuterRadiusOffset:_,A=e.activeId,E=e.onActiveIdChange,L=e.defaultActiveId,T=e.forwardLegendData,D=function(e){var t=e.activeId,n=e.onActiveIdChange,r=e.defaultActiveId,i=void 0!==t,o=x(i||void 0===r?null:r),a=o[0],s=o[1];return{activeId:i?t:a,setActiveId:S((function(e){n&&n(e),i||s(e)}),[i,n,s])}}({activeId:A,onActiveIdChange:E,defaultActiveId:L}),F=D.activeId,O=D.setActiveId,z=x([]),R=z[0],N=z[1],P=M((function(){var e,t=Math.min(n,r)/2,i=t*Math.min(o,1),a=n/2,l=r/2;if(v){var u=function(e,t,n,r,i,o){void 0===o&&(o=!0);var a=[],s=mB(pB(r),n);a.push([s.x,s.y]);var l=mB(pB(i),n);a.push([l.x,l.y]);for(var c=Math.round(Math.min(r,i));c<=Math.round(Math.max(r,i));c++)if(c%90==0){var u=mB(pB(c),n);a.push([u.x,u.y])}a=a.map((function(n){var r=n[0],i=n[1];return[e+r,t+i]})),o&&a.push([e,t]);var d=a.map((function(e){return e[0]})),f=a.map((function(e){return e[1]})),h=Math.min.apply(Math,d),p=Math.max.apply(Math,d),g=Math.min.apply(Math,f);return{points:a,x:h,y:g,width:p-h,height:Math.max.apply(Math,f)-g}}(a,l,t,s-90,c-90),d=u.points,f=_Q(u,CQ),h=Math.min(n/f.width,r/f.height),p={width:f.width*h,height:f.height*h};p.x=(n-p.width)/2,p.y=(r-p.height)/2,a=(a-f.x)/f.width*f.width*h+p.x,l=(l-f.y)/f.height*f.height*h+p.y,e={box:f,ratio:h,points:d},t*=h,i*=h}return{centerX:a,centerY:l,radius:t,innerRadius:i,debug:e}}),[n,r,o,s,c,v]),I=function(e){var t=e.data,n=e.startAngle,r=e.endAngle,i=e.innerRadius,o=e.outerRadius,a=e.padAngle,s=e.sortByValue,l=e.activeId,c=e.activeInnerRadiusOffset,u=e.activeOuterRadiusOffset,d=e.hiddenIds,f=e.forwardLegendData,h=M((function(){var e=$l().value((function(e){return e.value})).startAngle(pB(n)).endAngle(pB(r)).padAngle(pB(a));return s||e.sortValues(null),e}),[n,r,a,s]),p=M((function(){var e=t.filter((function(e){return!d.includes(e.id)}));return{dataWithArc:h(e).map((function(e){var t=Math.abs(e.endAngle-e.startAngle);return yQ({},e.data,{arc:{index:e.index,startAngle:e.startAngle,endAngle:e.endAngle,innerRadius:l===e.data.id?i-c:i,outerRadius:l===e.data.id?o+u:o,thickness:o-i,padAngle:e.padAngle,angle:t,angleDeg:gB(t)}})})),legendData:t.map((function(e){return{id:e.id,label:e.label,color:e.color,hidden:d.includes(e.id),data:e}}))}}),[h,t,d,l,i,c,o,u]),g=p.legendData,m=C(f);return w((function(){"function"==typeof m.current&&m.current(g)}),[m,g]),p}({data:t,startAngle:s,endAngle:c,innerRadius:P.innerRadius,outerRadius:P.radius,padAngle:d,sortByValue:h,activeId:F,activeInnerRadiusOffset:y,activeOuterRadiusOffset:k,hiddenIds:R,forwardLegendData:T}),B=S((function(e){N((function(t){return t.indexOf(e)>-1?t.filter((function(t){return t!==e})):[].concat(t,[e])}))}),[]);return yQ({arcGenerator:bQ({cornerRadius:g,padAngle:pB(d)}),activeId:F,setActiveId:O,toggleSerie:B},I,P)},MQ=function(e){var t=e.center,n=e.data,r=e.arcGenerator,i=e.borderWidth,o=e.borderColor,a=e.isInteractive,s=e.onClick,l=e.onMouseEnter,c=e.onMouseMove,u=e.onMouseLeave,d=e.setActiveId,f=e.tooltip,h=e.transitionMode,p=RF(),g=p.showTooltipFromEvent,m=p.hideTooltip,v=M((function(){if(a)return function(e,t){null==s||s(e,t)}}),[a,s]),b=M((function(){if(a)return function(e,t){g(F(f,{datum:e}),t),d(e.id),null==l||l(e,t)}}),[a,g,d,l,f]),y=M((function(){if(a)return function(e,t){g(F(f,{datum:e}),t),null==c||c(e,t)}}),[a,g,c,f]),_=M((function(){if(a)return function(e,t){m(),d(null),null==u||u(e,t)}}),[a,m,d,u]);return An(mQ,{center:t,data:n,arcGenerator:r,borderWidth:i,borderColor:o,transitionMode:h,onClick:v,onMouseEnter:b,onMouseMove:y,onMouseLeave:_})},EQ=["isInteractive","animate","motionConfig","theme","renderWrapper"],LQ=function(e){var t=e.data,n=e.id,r=void 0===n?kQ.id:n,i=e.value,o=void 0===i?kQ.value:i,a=e.valueFormat,s=e.sortByValue,l=void 0===s?kQ.sortByValue:s,c=e.layers,u=void 0===c?kQ.layers:c,d=e.startAngle,f=void 0===d?kQ.startAngle:d,h=e.endAngle,p=void 0===h?kQ.endAngle:h,g=e.padAngle,m=void 0===g?kQ.padAngle:g,v=e.fit,b=void 0===v?kQ.fit:v,y=e.innerRadius,_=void 0===y?kQ.innerRadius:y,x=e.cornerRadius,w=void 0===x?kQ.cornerRadius:x,k=e.activeInnerRadiusOffset,C=void 0===k?kQ.activeInnerRadiusOffset:k,A=e.activeOuterRadiusOffset,S=void 0===A?kQ.activeOuterRadiusOffset:A,E=e.width,L=e.height,T=e.margin,D=e.colors,O=void 0===D?kQ.colors:D,R=e.borderWidth,N=void 0===R?kQ.borderWidth:R,P=e.borderColor,I=void 0===P?kQ.borderColor:P,B=e.enableArcLabels,j=void 0===B?kQ.enableArcLabels:B,W=e.arcLabel,H=void 0===W?kQ.arcLabel:W,q=e.arcLabelsSkipAngle,$=void 0===q?kQ.arcLabelsSkipAngle:q,U=e.arcLabelsSkipRadius,V=void 0===U?kQ.arcLabelsSkipRadius:U,G=e.arcLabelsTextColor,Y=void 0===G?kQ.arcLabelsTextColor:G,Z=e.arcLabelsRadiusOffset,X=void 0===Z?kQ.arcLabelsRadiusOffset:Z,K=e.arcLabelsComponent,J=e.enableArcLinkLabels,Q=void 0===J?kQ.enableArcLinkLabels:J,ee=e.arcLinkLabel,te=void 0===ee?kQ.arcLinkLabel:ee,ne=e.arcLinkLabelsSkipAngle,re=void 0===ne?kQ.arcLinkLabelsSkipAngle:ne,ie=e.arcLinkLabelsOffset,oe=void 0===ie?kQ.arcLinkLabelsOffset:ie,ae=e.arcLinkLabelsDiagonalLength,se=void 0===ae?kQ.arcLinkLabelsDiagonalLength:ae,le=e.arcLinkLabelsStraightLength,ce=void 0===le?kQ.arcLinkLabelsStraightLength:le,ue=e.arcLinkLabelsThickness,de=void 0===ue?kQ.arcLinkLabelsThickness:ue,fe=e.arcLinkLabelsTextOffset,he=void 0===fe?kQ.arcLinkLabelsTextOffset:fe,pe=e.arcLinkLabelsTextColor,ge=void 0===pe?kQ.arcLinkLabelsTextColor:pe,me=e.arcLinkLabelsColor,ve=void 0===me?kQ.arcLinkLabelsColor:me,be=e.arcLinkLabelComponent,ye=e.defs,_e=void 0===ye?kQ.defs:ye,xe=e.fill,we=void 0===xe?kQ.fill:xe,ke=e.isInteractive,Ce=void 0===ke?kQ.isInteractive:ke,Ae=e.onClick,Se=e.onMouseEnter,Me=e.onMouseMove,Ee=e.onMouseLeave,Le=e.tooltip,Te=void 0===Le?kQ.tooltip:Le,De=e.activeId,Fe=e.onActiveIdChange,Oe=e.defaultActiveId,ze=e.transitionMode,Re=void 0===ze?kQ.transitionMode:ze,Ne=e.legends,Pe=void 0===Ne?kQ.legends:Ne,Ie=e.forwardLegendData,Be=e.role,je=void 0===Be?kQ.role:Be,We=e.forwardedRef,He=$B(E,L,T),qe=He.outerWidth,$e=He.outerHeight,Ue=He.margin,Ve=He.innerWidth,Ge=He.innerHeight,Ye=AQ({data:t,id:r,value:o,valueFormat:a,colors:O}),Ze=SQ({data:Ye,width:Ve,height:Ge,fit:b,innerRadius:_,startAngle:f,endAngle:p,padAngle:m,sortByValue:l,cornerRadius:w,activeInnerRadiusOffset:C,activeOuterRadiusOffset:S,activeId:De,onActiveIdChange:Fe,defaultActiveId:Oe,forwardLegendData:Ie}),Xe=Ze.dataWithArc,Ke=Ze.legendData,Je=Ze.arcGenerator,Qe=Ze.centerX,et=Ze.centerY,tt=Ze.radius,nt=Ze.innerRadius,rt=Ze.setActiveId,it=Ze.toggleSerie,ot=tj(_e,Xe,we),at={arcs:null,arcLinkLabels:null,arcLabels:null,legends:null};u.includes("arcs")&&(at.arcs=An(MQ,{center:[Qe,et],data:Xe,arcGenerator:Je,borderWidth:N,borderColor:I,isInteractive:Ce,onClick:Ae,onMouseEnter:Se,onMouseMove:Me,onMouseLeave:Ee,setActiveId:rt,tooltip:Te,transitionMode:Re},"arcs")),Q&&u.includes("arcLinkLabels")&&(at.arcLinkLabels=An(dQ,{center:[Qe,et],data:Xe,label:te,skipAngle:re,offset:oe,diagonalLength:se,straightLength:ce,strokeWidth:de,textOffset:he,textColor:ge,linkColor:ve,component:be},"arcLinkLabels")),j&&u.includes("arcLabels")&&(at.arcLabels=An(nQ,{center:[Qe,et],data:Xe,label:H,radiusOffset:X,skipAngle:$,skipRadius:V,textColor:Y,transitionMode:Re,component:K},"arcLabels")),Pe.length>0&&u.includes("legends")&&(at.legends=An(wQ,{width:Ve,height:Ge,data:Ke,legends:Pe,toggleSerie:it},"legends"));var st=function(e){var t=e.dataWithArc,n=e.arcGenerator,r=e.centerX,i=e.centerY,o=e.radius,a=e.innerRadius;return M((function(){return{dataWithArc:t,arcGenerator:n,centerX:r,centerY:i,radius:o,innerRadius:a}}),[t,n,r,i,o,a])}({dataWithArc:Xe,arcGenerator:Je,centerX:Qe,centerY:et,radius:tt,innerRadius:nt});return An(zB,{width:qe,height:$e,margin:Ue,defs:ot,role:je,ref:We,children:u.map((function(e,t){return void 0!==at[e]?at[e]:"function"==typeof e?An(z,{children:F(e,st)},t):null}))})},TQ=A((function(e,t){var n=e.isInteractive,r=void 0===n?kQ.isInteractive:n,i=e.animate,o=void 0===i?kQ.animate:i,a=e.motionConfig,s=void 0===a?kQ.motionConfig:a,l=e.theme,c=e.renderWrapper,u=_Q(e,EQ);return An(QI,{animate:o,isInteractive:r,motionConfig:s,renderWrapper:c,theme:l,children:An(LQ,yQ({isInteractive:r},u,{forwardedRef:t}))})})),DQ=["defaultWidth","defaultHeight","onResize","debounceResize"];A((function(e,t){var n=e.defaultWidth,r=e.defaultHeight,i=e.onResize,o=e.debounceResize,a=_Q(e,DQ);return An(nB,{defaultWidth:n,defaultHeight:r,onResize:i,debounceResize:o,children:function(e){var n=e.width,r=e.height;return An(TQ,yQ({width:n,height:r},a,{ref:t}))}})}));var FQ=["isInteractive","theme","renderWrapper"],OQ=function(e){var t=e.data,n=e.id,r=void 0===n?kQ.id:n,i=e.value,o=void 0===i?kQ.value:i,a=e.valueFormat,s=e.sortByValue,l=void 0===s?kQ.sortByValue:s,c=e.startAngle,u=void 0===c?kQ.startAngle:c,d=e.endAngle,f=void 0===d?kQ.endAngle:d,h=e.padAngle,p=void 0===h?kQ.padAngle:h,g=e.fit,m=void 0===g?kQ.fit:g,v=e.innerRadius,b=void 0===v?kQ.innerRadius:v,y=e.cornerRadius,_=void 0===y?kQ.cornerRadius:y,x=e.activeInnerRadiusOffset,k=void 0===x?kQ.activeInnerRadiusOffset:x,A=e.activeOuterRadiusOffset,S=void 0===A?kQ.activeOuterRadiusOffset:A,E=e.width,L=e.height,T=e.margin,D=e.pixelRatio,O=void 0===D?kQ.pixelRatio:D,z=e.colors,R=void 0===z?kQ.colors:z,N=e.borderWidth,P=void 0===N?kQ.borderWidth:N,I=e.borderColor,B=void 0===I?kQ.borderColor:I,j=e.enableArcLabels,W=void 0===j?kQ.enableArcLabels:j,H=e.arcLabel,q=void 0===H?kQ.arcLabel:H,$=e.arcLabelsSkipAngle,U=void 0===$?kQ.arcLabelsSkipAngle:$,V=e.arcLabelsTextColor,G=void 0===V?kQ.arcLabelsTextColor:V,Y=e.arcLabelsRadiusOffset,Z=void 0===Y?kQ.arcLabelsRadiusOffset:Y,X=e.enableArcLinkLabels,K=void 0===X?kQ.enableArcLinkLabels:X,J=e.arcLinkLabel,Q=void 0===J?kQ.arcLinkLabel:J,ee=e.arcLinkLabelsSkipAngle,te=void 0===ee?kQ.arcLinkLabelsSkipAngle:ee,ne=e.arcLinkLabelsOffset,re=void 0===ne?kQ.arcLinkLabelsOffset:ne,ie=e.arcLinkLabelsDiagonalLength,oe=void 0===ie?kQ.arcLinkLabelsDiagonalLength:ie,ae=e.arcLinkLabelsStraightLength,se=void 0===ae?kQ.arcLinkLabelsStraightLength:ae,le=e.arcLinkLabelsThickness,ce=void 0===le?kQ.arcLinkLabelsThickness:le,ue=e.arcLinkLabelsTextOffset,de=void 0===ue?kQ.arcLinkLabelsTextOffset:ue,fe=e.arcLinkLabelsTextColor,he=void 0===fe?kQ.arcLinkLabelsTextColor:fe,pe=e.arcLinkLabelsColor,ge=void 0===pe?kQ.arcLinkLabelsColor:pe,me=e.isInteractive,ve=void 0===me?kQ.isInteractive:me,be=e.onClick,ye=e.onMouseMove,_e=e.tooltip,xe=void 0===_e?kQ.tooltip:_e,we=e.activeId,ke=e.onActiveIdChange,Ce=e.defaultActiveId,Ae=e.legends,Se=void 0===Ae?kQ.legends:Ae,Me=e.forwardLegendData,Ee=e.role,Le=e.forwardedRef,Te=C(null),De=bF(),Fe=$B(E,L,T),Oe=Fe.margin,ze=Fe.innerWidth,Re=Fe.innerHeight,Ne=Fe.outerWidth,Pe=Fe.outerHeight,Ie=AQ({data:t,id:r,value:o,valueFormat:a,colors:R}),Be=SQ({data:Ie,width:ze,height:Re,fit:m,innerRadius:b,startAngle:u,endAngle:f,padAngle:p,sortByValue:l,cornerRadius:_,activeInnerRadiusOffset:k,activeOuterRadiusOffset:S,activeId:we,onActiveIdChange:ke,defaultActiveId:Ce,forwardLegendData:Me}),je=Be.dataWithArc,We=Be.arcGenerator,He=Be.centerX,qe=Be.centerY,$e=Be.radius,Ue=Be.innerRadius,Ve=Be.setActiveId,Ge=Mq(B,De),Ye=iQ({data:je,label:q,skipAngle:U,offset:Z,textColor:G}),Ze=hQ({data:je,skipAngle:te,offset:re,diagonalLength:oe,straightLength:se,label:Q,linkColor:ge,textOffset:de,textColor:he});w((function(){if(Te.current){Te.current.width=Ne*O,Te.current.height=Pe*O;var e=Te.current.getContext("2d");e.scale(O,O),e.fillStyle=De.background,e.fillRect(0,0,Ne,Pe),e.save(),e.translate(Oe.left,Oe.top),We.context(e),e.save(),e.translate(He,qe),je.forEach((function(t){e.beginPath(),e.fillStyle=t.color,e.strokeStyle=Ge(t),e.lineWidth=P,We(t.arc),e.fill(),P>0&&e.stroke()})),!0===K&&fQ(e,Ze,De,ce),!0===W&&rQ(e,Ye,De),e.restore(),Se.forEach((function(t){c$(e,yQ({},t,{data:je,containerWidth:ze,containerHeight:Re,theme:De}))}))}}),[Te,ze,Re,Ne,Pe,Oe.top,Oe.left,O,He,qe,We,je,P,Ge,W,Ye,K,Ze,ce,Se,De]);var Xe=M((function(){return je.map((function(e){return yQ({id:e.id},e.arc)}))}),[je]),Ke=function(e){if(!Te.current)return null;var t=JB(Te.current,e),n=t[0],r=t[1],i=vQ(Oe.left+He,Oe.top+qe,$e,Ue,Xe,n,r);return i?je.find((function(e){return e.id===i.id})):null},Je=RF(),Qe=Je.showTooltipFromEvent,et=Je.hideTooltip,tt=function(e){var t=Ke(e);t?(null==ye||ye(t,e),Ve(t.id),Qe(F(xe,{datum:t}),e)):(Ve(null),et())};return An("canvas",{ref:nj(Te,Le),width:Ne*O,height:Pe*O,style:{width:Ne,height:Pe,cursor:ve?"auto":"normal"},onMouseEnter:ve?tt:void 0,onMouseMove:ve?tt:void 0,onMouseLeave:ve?function(){et()}:void 0,onClick:ve?function(e){if(be){var t=Ke(e);t&&be(t,e)}}:void 0,role:Ee})},zQ=A((function(e,t){var n=e.isInteractive,r=void 0===n?kQ.isInteractive:n,i=e.theme,o=e.renderWrapper,a=_Q(e,FQ);return An(QI,{isInteractive:r,renderWrapper:o,theme:i,children:An(OQ,yQ({isInteractive:r},a,{forwardedRef:t}))})})),RQ=["defaultWidth","defaultHeight","onResize","debounceResize"];A((function(e,t){var n=e.defaultWidth,r=e.defaultHeight,i=e.onResize,o=e.debounceResize,a=_Q(e,RQ);return An(nB,{defaultWidth:n,defaultHeight:r,onResize:i,debounceResize:o,children:function(e){var n=e.width,r=e.height;return An(zQ,yQ({width:n,height:r},a,{ref:t}))}})}));const NQ=300,PQ={id:"__EMPTY_ARC_DO_NOT_COUNT_IT_USED_FOR_VISUALS__",value:1,color:"var(--color-control-bg)",label:""},IQ=["new","flaky","retries"];var BQ="styles_centeredMetricTitle__-DWkh",jQ="styles_centeredMetricDescription__7Q2Vf",WQ="styles_pie__EtJEe",HQ="styles_wrapper__UrP78",qQ="styles_additionalStats__Yztrs";const $Q=e=>e>1e3?"999+":e.toString(),UQ=e=>{switch(e){case"new":return Sn.testNew;case"flaky":return Sn.lineIconBomb2;case"retries":return Sn.lineGeneralZap}},VQ=e=>{const{stats:t,i18n:n,layout:r}=e;return An("div",{className:qQ,"data-layout":r,children:IQ.map((e=>{const r=t[e]??0;return An(ck,{style:"primary",tooltip:n(`tests.${e}`,{count:r}),icon:UQ(e),children:r?$Q(r):"-"},e)}))})},GQ=[{limit:1e3,suffix:"K"},{limit:1e6,suffix:"M"},{limit:1e9,suffix:"B"},{limit:1e12,suffix:"T"},{limit:1e15,suffix:"Q"}],YQ=({width:e,text:t,symbolWidth:n})=>{const r=e-2*n,i=Math.floor(r/n),o=parseInt(t,10),a=o.toLocaleString("ru");if(a.length<=i)return a;let s=o,l="";for(let e=0;e<GQ.length;e++){const{limit:t,suffix:n}=GQ[e];if(s=o/t,Math.round(s)<1e3||e===GQ.length-1){l=n;break}}let c=s.toFixed(2).replace(/\.?0+$/,"").replace(/(\.\d)0$/,"$1");(c+l).length>i&&(c=Math.round(+c).toString());return`${(+c).toLocaleString("ru")}${l}`},ZQ=({metric:e,metricType:t,layerProps:n,isEmpty:r,i18n:i,total:o})=>"total"===t||r?An(XQ,{layer:n,i18n:i,total:o}):"percent"===t?An(KQ,{layer:n,metric:e,i18n:i,total:o}):null,XQ=({layer:e,i18n:t,total:n})=>{const{radius:r,centerX:i,centerY:o}=e;return An(JQ,{radius:r,centerX:i,centerY:o,title:n,description:t("total")})},KQ=({layer:e,metric:t,i18n:n,total:r})=>{const{dataWithArc:i,radius:o,centerX:a,centerY:s}=e,l=i.find((e=>e.data.id===t)),c=((e=0,t=0)=>{if(0===e)return"0";if(0===t)return"0";const n=e/t*100;return Number.isInteger(n)?n.toString():n>99.99&&n<100?"99.99":n.toFixed(2).replace(/\.?0+$/,"")})(l?.data.value,r);return An(JQ,{radius:o,centerX:a,centerY:s,title:n("percentage",{percentage:c}),description:n("of",{total:r})})},JQ=({radius:e,centerX:t,centerY:n,title:i,description:o})=>{const a=i.toString(),s=a.includes("%"),l=Math.round(Math.min(e/1.8,36)),c=Math.round(Math.min(e/3.3,16)),u=Math.min(e/2.5,2*c),d=h((()=>s?(({width:e,text:t,symbolWidth:n})=>{const r=e-2*n,i=t.length*n,[o]=t.split("%"),[a,s="00"]=o.split(".");if("00"===s)return`${a}%`;if(r>i)return t;const l=a.length*n,c=n,u=Math.floor((r-l-c)/n)-1;if(1===u){const e=(+`${a}.${s}`).toFixed(1),[t,n]=e.toString().split(".");return"0"===n?`${t}%`:`${e}%`}return 2===u?`${a}.${s}%`:`${(+`${a}.${s}`).toFixed(0)}%`})({width:e,text:a,symbolWidth:l/3}):YQ({width:e,text:a,symbolWidth:l/3})),[s,e,a,l]),f=h((()=>(({width:e,text:t,symbolWidth:n})=>{const r=t.match(/\d+/g)||[],i=t.replace(/\d+/g,"").length,o=r.map((t=>YQ({width:e-i*n,text:t,symbolWidth:n})));let a=t;return r.forEach(((e,t)=>{a=a.replace(e,o[t])})),a})({width:e,text:o.toString(),symbolWidth:c/3})),[o,c,e]);return An(r,{children:[An("text",{x:t,y:n-u/3,textAnchor:"middle",dominantBaseline:"central",style:{fontSize:l},className:BQ,children:d}),An("text",{x:t,y:n+u/1.5,textAnchor:"middle",dominantBaseline:"central",style:{fontSize:c},className:jQ,children:f})]})},QQ=e=>e,e0=e=>e>=NQ?284:e-16,t0={top:8,right:8,bottom:8,left:8},n0={datum:"data.color"},r0={theme:"background"},i0=e=>{const{title:t,data:n,statuses:r,metric:i="passed",i18n:o=QQ}=e,a=h((()=>(e=>{const{data:t,i18n:n,statuses:r=In}=e,i=[];for(const e of r)e in t&&i.push({color:HU(e,"chartFill"),id:e,value:t[e]??0,label:n(`status.${e}`)});return i})({data:n,i18n:o,statuses:r})),[n,o,r]),s=n.total,l=0===s,c=(u=n,IQ.some((e=>e in u)));var u;const d=c?362:NQ;return An(W_,{title:t??"",centerContent:!0,children:An(og,{children:e=>An("div",{className:HQ,"data-layout":e>d?"vertical":"horizontal",children:[An("div",{className:WQ,children:An(TQ,{width:e0(c?e-62:e),height:e0(c?e-62:e),data:l?[PQ]:a,margin:t0,colors:n0,innerRadius:.75,padAngle:1,cornerRadius:4,activeOuterRadiusOffset:4,borderWidth:0,borderColor:r0,enableArcLabels:!1,enableArcLinkLabels:!1,isInteractive:!l,sortByValue:!0,transitionMode:"startAngle",layers:["arcs",e=>An(ZQ,{layerProps:e,i18n:o,metricType:"percent",metric:i,isEmpty:l,total:s})],animate:!RY,motionConfig:zY,tooltip:o0,theme:IY})}),c&&An(VQ,{stats:n,i18n:o,layout:e>d?"vertical":"horizontal"})]})})})},o0=e=>{const{datum:t}=e,n=h((()=>({id:t.id.toString(),color:t.color,label:t.label,value:t.value})),[t]);return An(uZ,{children:An(wZ,{mode:"default",legend:n})})},a0=e=>{const{title:t,data:n,statuses:r=In,i18n:i}=e,o=n.find((e=>"current"===e.id)),a=r.map((e=>({id:e,label:i(`status.${e}`),color:HU(e,"chartFill")}))),s=n.map((e=>({id:e.id,name:e.name,timestamp:e.timestamp,...e.statistic}))),l=s.every((e=>0===e.total)),c=s.filter((e=>"current"!==e.id)).every((e=>0===e.total)),u=s.reduce(((e,t)=>Math.max(e,t.total)),0),d=1.01*u;return l||!o||0===o.statistic.total?An(W_,{title:t,children:An(jp,{title:i("no-results"),icon:Sn.lineChartsBarChartSquare})}):1===n.length&&o||c?An(W_,{title:t,children:An(jp,{title:i("no-history"),icon:Sn.lineChartsBarChartSquare})}):An(W_,{title:t,children:An(pJ,{groupMode:"stacked",data:s,legend:a,indexBy:"id",hasValueFn:e=>e.total>0,formatIndexBy:e=>"current"===e.id?i("tooltips.current"):i("tooltips.history",{timestamp:e?.timestamp}),formatBottomTick:e=>{if("current"===e)return i("ticks.current");const t=s.find((t=>t.id===e));return t?i("ticks.history",{timestamp:t?.timestamp}):""},bottomTickRotation:45,formatLeftTick:e=>{const t=Math.abs(Number(e));return Number.isInteger(t)?_Z(Math.abs(Number(e))):""},formatLegendValue:({value:e})=>e?_Z(e):"-",noLegend:!0,maxValue:d})})},s0=e=>{switch(e){case"new":return"var(--color-intent-info-text)";case"fixed":return"var(--color-intent-success-text)";case"regressed":return"var(--color-intent-danger-text)";case"malfunctioned":return"var(--color-intent-warning-text)"}},l0=["fixed","regressed","malfunctioned"],c0=e=>{const{title:t,data:n,i18n:r}=e,i=Math.ceil(1.01*Math.max(...n.map((e=>e.fixed+e.regressed+e.malfunctioned)))),o=n.map((e=>{const t=2*i,n=e.regressed+e.malfunctioned,r=qU({positiveValue:e.fixed,negativeValue:n,absTotal:t,noValuePercentage:-1});return{id:e.id,timestamp:e.timestamp,prevItemTimestamp:e.prevItemTimestamp,fixed:e.fixed,regressed:0===e.regressed?0:-e.regressed,malfunctioned:0===e.malfunctioned?0:-e.malfunctioned,trend:r}})),a=n.find((e=>"current"===e.id)),s=h((()=>[...l0.map((e=>({id:e,label:r(`transitions.${e}`),color:s0(e),value:"fixed"===e?1:-1}))),{id:"trend",label:r("legend.trend"),color:"var(--color-chart-categorical-9)",type:"point"}]),[r]),l=o.every((e=>0===e.fixed&&0===e.regressed&&0===e.malfunctioned)),c=o.filter((e=>"current"!==e.id)).every((e=>0===e.fixed&&0===e.regressed&&0===e.malfunctioned));if(!a||l)return An(W_,{title:t,children:An(jp,{title:r("no-results"),icon:Sn.lineChartsBarChartSquare})});if(1===n.length&&a||c)return An(W_,{title:t,children:An(jp,{title:r("no-history"),icon:Sn.lineChartsBarChartSquare})});return An(W_,{title:t,children:An(pJ,{groupMode:"stacked",data:o,legend:s,indexBy:"id",hasValueFn:()=>!0,formatIndexBy:e=>"current"===e.id?r("tooltips.current"):r("tooltips.history",{timestamp:e?.timestamp}),formatBottomTick:e=>{if("current"===e)return r("ticks.current");const t=o.find((t=>t.id===e));return t?r("ticks.history",{timestamp:t?.timestamp}):""},bottomTickRotation:45,formatTrendValue:e=>{if(-1!==e)return e},formatLegendValue:({value:e,id:t})=>"trend"===t?"":e?_Z(Math.abs(Number(e))):"-",noLegend:!0,formatLeftTick:e=>{const t=Math.abs(Number(e));return Number.isInteger(t)?_Z(Math.abs(Number(e))):""},minValue:-i,maxValue:i})})},u0=["var(--color-chart-categorical-1)","var(--color-chart-categorical-2)","var(--color-chart-categorical-3)","var(--color-chart-categorical-4)","var(--color-chart-categorical-5)","var(--color-chart-categorical-6)","var(--color-chart-categorical-7)","var(--color-chart-categorical-8)","var(--color-chart-categorical-9)","var(--color-chart-categorical-10)","var(--color-chart-categorical-11)","var(--color-chart-categorical-12)","var(--color-chart-categorical-13)","var(--color-chart-categorical-14)"],d0=e=>{const{title:t,data:n,i18n:r,groupBy:i,keys:o}=e,a=h((()=>(e=>e.reduce(((e,t,n)=>{let r=u0[n];return r||(r=u0[n-u0.length]),e[t]=r,e}),{}))(Object.keys(o))),[o]),s=r("legend.total"),l=h((()=>Object.entries(o).map((([e,t])=>({id:e,label:"none"===i?s:t,color:a[e]})))),[o,a,i,s]),c=h((()=>n.map((e=>({id:`${e.from}-${e.to}`,...e})))),[n]),u=1.01*h((()=>{if(0===c.length)return 0;const e=Object.keys(o);return Math.max(...c.map((t=>{let n=0;for(const r of e)n+=t[r]??0;return n})))}),[c,o]),d=0===c.length;return An(W_,d?{title:t,children:An(jp,{title:r("no-results"),icon:Sn.lineChartsBarChartSquare})}:{title:t,children:An(pJ,{groupMode:"stacked",data:c,legend:l,indexBy:"id",hasValueFn:e=>Object.keys(o).some((t=>e[t]>0)),formatIndexBy:e=>r("tooltips.durationRange",{from:e.from??0,to:e.to}),formatBottomTick:(e,t)=>r("ticks.durationRange",{from:t.from??0,to:t.to}),bottomTickSize:c.length>4?10:12,formatLegendValue:({value:e})=>{if(e&&0!==Number(e))return r("legend.value",{value:e})},noLegend:!0,formatLeftTick:e=>{const t=Math.abs(Number(e));return Number.isInteger(t)?_Z(Math.abs(Number(e))):""},maxValue:u})})},f0=e=>{const{title:t,data:n,i18n:r,statuses:i}=e,o=h((()=>i.map((e=>({id:e,label:r(`status.${e}`),color:HU(e,"chartFill")})))),[i,r]),a=n,s=a.every((e=>i.every((t=>0===e[t]))));return An(W_,s?{title:t,children:An(jp,{title:r("no-results"),icon:Sn.lineChartsBarChartSquare})}:{title:t,children:An(pJ,{groupMode:"stacked",data:a,legend:o,indexBy:"id",hasValueFn:()=>!0,formatIndexBy:e=>r(`severity.${e.id}`),formatBottomTick:e=>r(`severity.${e}`),formatLegendValue:({value:e})=>e?_Z(Math.abs(Number(e))):"-",noLegend:!0,formatLeftTick:e=>{const t=Math.abs(Number(e));return Number.isInteger(t)?_Z(Math.abs(Number(e))):""}})})},h0=e=>0===e.duration&&0===e.sequentialDuration,p0=e=>{const{title:t,data:n,i18n:r}=e,i=n,o=h((()=>[{id:"sequentialDuration",label:r("durations.sequential"),color:"var(--color-chart-categorical-5)",type:"default"},{id:"duration",label:r("durations.duration"),color:"var(--color-chart-categorical-2)",type:"default"},{id:"speedup",label:r("durations.speedup"),color:"var(--color-chart-categorical-9)",type:"point"}]),[r]),a=n.find((e=>"current"===e.id));return i.every((e=>h0(e)))||!a||h0(a)?An(W_,{title:t,children:An(jp,{title:r("no-results"),icon:Sn.lineChartsBarChartSquare})}):An(W_,{title:t,children:An(pJ,{groupMode:"grouped",data:i,legend:o,indexBy:"id",hasValueFn:()=>!0,formatIndexBy:e=>"current"===e.id?r("tooltips.current"):r("tooltips.history",{timestamp:e?.timestamp}),formatBottomTick:e=>{if("current"===e)return r("ticks.current");const t=i.find((t=>t.id===e));return t?r("ticks.history",{timestamp:t?.timestamp}):""},bottomTickRotation:45,formatLeftTick:e=>r("legend.duration",{duration:e}),formatLegendValue:({id:e,value:t})=>"duration"===e||"sequentialDuration"===e?r("legend.duration",{duration:t}):"speedup"===e?r("legend.speedup",{speedup:t}):void 0,formatTrendValue:(e,t)=>"speedup"===t?e<=1?0:100*(1-1/e):e,noLegend:!0})})};var g0="http://www.w3.org/1999/xhtml",m0={svg:"http://www.w3.org/2000/svg",xhtml:g0,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function v0(e){var t=e+="",n=t.indexOf(":");return n>=0&&"xmlns"!==(t=e.slice(0,n))&&(e=e.slice(n+1)),m0.hasOwnProperty(t)?{space:m0[t],local:e}:e}function b0(e){return function(){var t=this.ownerDocument,n=this.namespaceURI;return n===g0&&t.documentElement.namespaceURI===g0?t.createElement(e):t.createElementNS(n,e)}}function y0(e){return function(){return this.ownerDocument.createElementNS(e.space,e.local)}}function _0(e){var t=v0(e);return(t.local?y0:b0)(t)}function x0(){}function w0(e){return null==e?x0:function(){return this.querySelector(e)}}function k0(){return[]}function C0(e){return null==e?k0:function(){return this.querySelectorAll(e)}}function A0(e){return function(){return function(e){return null==e?[]:Array.isArray(e)?e:Array.from(e)}(e.apply(this,arguments))}}function S0(e){return function(){return this.matches(e)}}function M0(e){return function(t){return t.matches(e)}}var E0=Array.prototype.find;function L0(){return this.firstElementChild}var T0=Array.prototype.filter;function D0(){return Array.from(this.children)}function F0(e){return new Array(e.length)}function O0(e,t){this.ownerDocument=e.ownerDocument,this.namespaceURI=e.namespaceURI,this._next=null,this._parent=e,this.__data__=t}function z0(e,t,n,r,i,o){for(var a,s=0,l=t.length,c=o.length;s<c;++s)(a=t[s])?(a.__data__=o[s],r[s]=a):n[s]=new O0(e,o[s]);for(;s<l;++s)(a=t[s])&&(i[s]=a)}function R0(e,t,n,r,i,o,a){var s,l,c,u=new Map,d=t.length,f=o.length,h=new Array(d);for(s=0;s<d;++s)(l=t[s])&&(h[s]=c=a.call(l,l.__data__,s,t)+"",u.has(c)?i[s]=l:u.set(c,l));for(s=0;s<f;++s)c=a.call(e,o[s],s,o)+"",(l=u.get(c))?(r[s]=l,l.__data__=o[s],u.delete(c)):n[s]=new O0(e,o[s]);for(s=0;s<d;++s)(l=t[s])&&u.get(h[s])===l&&(i[s]=l)}function N0(e){return e.__data__}function P0(e){return"object"==typeof e&&"length"in e?e:Array.from(e)}function I0(e,t){return e<t?-1:e>t?1:e>=t?0:NaN}function B0(e){return function(){this.removeAttribute(e)}}function j0(e){return function(){this.removeAttributeNS(e.space,e.local)}}function W0(e,t){return function(){this.setAttribute(e,t)}}function H0(e,t){return function(){this.setAttributeNS(e.space,e.local,t)}}function q0(e,t){return function(){var n=t.apply(this,arguments);null==n?this.removeAttribute(e):this.setAttribute(e,n)}}function $0(e,t){return function(){var n=t.apply(this,arguments);null==n?this.removeAttributeNS(e.space,e.local):this.setAttributeNS(e.space,e.local,n)}}function U0(e){return e.ownerDocument&&e.ownerDocument.defaultView||e.document&&e||e.defaultView}function V0(e){return function(){this.style.removeProperty(e)}}function G0(e,t,n){return function(){this.style.setProperty(e,t,n)}}function Y0(e,t,n){return function(){var r=t.apply(this,arguments);null==r?this.style.removeProperty(e):this.style.setProperty(e,r,n)}}function Z0(e,t){return e.style.getPropertyValue(t)||U0(e).getComputedStyle(e,null).getPropertyValue(t)}function X0(e){return function(){delete this[e]}}function K0(e,t){return function(){this[e]=t}}function J0(e,t){return function(){var n=t.apply(this,arguments);null==n?delete this[e]:this[e]=n}}function Q0(e){return e.trim().split(/^|\s+/)}function e1(e){return e.classList||new t1(e)}function t1(e){this._node=e,this._names=Q0(e.getAttribute("class")||"")}function n1(e,t){for(var n=e1(e),r=-1,i=t.length;++r<i;)n.add(t[r])}function r1(e,t){for(var n=e1(e),r=-1,i=t.length;++r<i;)n.remove(t[r])}function i1(e){return function(){n1(this,e)}}function o1(e){return function(){r1(this,e)}}function a1(e,t){return function(){(t.apply(this,arguments)?n1:r1)(this,e)}}function s1(){this.textContent=""}function l1(e){return function(){this.textContent=e}}function c1(e){return function(){var t=e.apply(this,arguments);this.textContent=null==t?"":t}}function u1(){this.innerHTML=""}function d1(e){return function(){this.innerHTML=e}}function f1(e){return function(){var t=e.apply(this,arguments);this.innerHTML=null==t?"":t}}function h1(){this.nextSibling&&this.parentNode.appendChild(this)}function p1(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function g1(){return null}function m1(){var e=this.parentNode;e&&e.removeChild(this)}function v1(){var e=this.cloneNode(!1),t=this.parentNode;return t?t.insertBefore(e,this.nextSibling):e}function b1(){var e=this.cloneNode(!0),t=this.parentNode;return t?t.insertBefore(e,this.nextSibling):e}function y1(e){return function(){var t=this.__on;if(t){for(var n,r=0,i=-1,o=t.length;r<o;++r)n=t[r],e.type&&n.type!==e.type||n.name!==e.name?t[++i]=n:this.removeEventListener(n.type,n.listener,n.options);++i?t.length=i:delete this.__on}}}function _1(e,t,n){return function(){var r,i=this.__on,o=function(e){return function(t){e.call(this,t,this.__data__)}}(t);if(i)for(var a=0,s=i.length;a<s;++a)if((r=i[a]).type===e.type&&r.name===e.name)return this.removeEventListener(r.type,r.listener,r.options),this.addEventListener(r.type,r.listener=o,r.options=n),void(r.value=t);this.addEventListener(e.type,o,n),r={type:e.type,name:e.name,value:t,listener:o,options:n},i?i.push(r):this.__on=[r]}}function x1(e,t,n){var r=U0(e),i=r.CustomEvent;"function"==typeof i?i=new i(t,n):(i=r.document.createEvent("Event"),n?(i.initEvent(t,n.bubbles,n.cancelable),i.detail=n.detail):i.initEvent(t,!1,!1)),e.dispatchEvent(i)}function w1(e,t){return function(){return x1(this,e,t)}}function k1(e,t){return function(){return x1(this,e,t.apply(this,arguments))}}O0.prototype={constructor:O0,appendChild:function(e){return this._parent.insertBefore(e,this._next)},insertBefore:function(e,t){return this._parent.insertBefore(e,t)},querySelector:function(e){return this._parent.querySelector(e)},querySelectorAll:function(e){return this._parent.querySelectorAll(e)}},t1.prototype={add:function(e){this._names.indexOf(e)<0&&(this._names.push(e),this._node.setAttribute("class",this._names.join(" ")))},remove:function(e){var t=this._names.indexOf(e);t>=0&&(this._names.splice(t,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(e){return this._names.indexOf(e)>=0}};var C1=[null];function A1(e,t){this._groups=e,this._parents=t}function S1(){return new A1([[document.documentElement]],C1)}function M1(e){return"string"==typeof e?new A1([[document.querySelector(e)]],[document.documentElement]):new A1([[e]],C1)}function E1(e,t){if(e=function(e){let t;for(;t=e.sourceEvent;)e=t;return e}(e),void 0===t&&(t=e.currentTarget),t){var n=t.ownerSVGElement||t;if(n.createSVGPoint){var r=n.createSVGPoint();return r.x=e.clientX,r.y=e.clientY,[(r=r.matrixTransform(t.getScreenCTM().inverse())).x,r.y]}if(t.getBoundingClientRect){var i=t.getBoundingClientRect();return[e.clientX-i.left-t.clientLeft,e.clientY-i.top-t.clientTop]}}return[e.pageX,e.pageY]}A1.prototype=S1.prototype={constructor:A1,select:function(e){"function"!=typeof e&&(e=w0(e));for(var t=this._groups,n=t.length,r=new Array(n),i=0;i<n;++i)for(var o,a,s=t[i],l=s.length,c=r[i]=new Array(l),u=0;u<l;++u)(o=s[u])&&(a=e.call(o,o.__data__,u,s))&&("__data__"in o&&(a.__data__=o.__data__),c[u]=a);return new A1(r,this._parents)},selectAll:function(e){e="function"==typeof e?A0(e):C0(e);for(var t=this._groups,n=t.length,r=[],i=[],o=0;o<n;++o)for(var a,s=t[o],l=s.length,c=0;c<l;++c)(a=s[c])&&(r.push(e.call(a,a.__data__,c,s)),i.push(a));return new A1(r,i)},selectChild:function(e){return this.select(null==e?L0:function(e){return function(){return E0.call(this.children,e)}}("function"==typeof e?e:M0(e)))},selectChildren:function(e){return this.selectAll(null==e?D0:function(e){return function(){return T0.call(this.children,e)}}("function"==typeof e?e:M0(e)))},filter:function(e){"function"!=typeof e&&(e=S0(e));for(var t=this._groups,n=t.length,r=new Array(n),i=0;i<n;++i)for(var o,a=t[i],s=a.length,l=r[i]=[],c=0;c<s;++c)(o=a[c])&&e.call(o,o.__data__,c,a)&&l.push(o);return new A1(r,this._parents)},data:function(e,t){if(!arguments.length)return Array.from(this,N0);var n=t?R0:z0,r=this._parents,i=this._groups;"function"!=typeof e&&(e=function(e){return function(){return e}}(e));for(var o=i.length,a=new Array(o),s=new Array(o),l=new Array(o),c=0;c<o;++c){var u=r[c],d=i[c],f=d.length,h=P0(e.call(u,u&&u.__data__,c,r)),p=h.length,g=s[c]=new Array(p),m=a[c]=new Array(p);n(u,d,g,m,l[c]=new Array(f),h,t);for(var v,b,y=0,_=0;y<p;++y)if(v=g[y]){for(y>=_&&(_=y+1);!(b=m[_])&&++_<p;);v._next=b||null}}return(a=new A1(a,r))._enter=s,a._exit=l,a},enter:function(){return new A1(this._enter||this._groups.map(F0),this._parents)},exit:function(){return new A1(this._exit||this._groups.map(F0),this._parents)},join:function(e,t,n){var r=this.enter(),i=this,o=this.exit();return"function"==typeof e?(r=e(r))&&(r=r.selection()):r=r.append(e+""),null!=t&&(i=t(i))&&(i=i.selection()),null==n?o.remove():n(o),r&&i?r.merge(i).order():i},merge:function(e){for(var t=e.selection?e.selection():e,n=this._groups,r=t._groups,i=n.length,o=r.length,a=Math.min(i,o),s=new Array(i),l=0;l<a;++l)for(var c,u=n[l],d=r[l],f=u.length,h=s[l]=new Array(f),p=0;p<f;++p)(c=u[p]||d[p])&&(h[p]=c);for(;l<i;++l)s[l]=n[l];return new A1(s,this._parents)},selection:function(){return this},order:function(){for(var e=this._groups,t=-1,n=e.length;++t<n;)for(var r,i=e[t],o=i.length-1,a=i[o];--o>=0;)(r=i[o])&&(a&&4^r.compareDocumentPosition(a)&&a.parentNode.insertBefore(r,a),a=r);return this},sort:function(e){function t(t,n){return t&&n?e(t.__data__,n.__data__):!t-!n}e||(e=I0);for(var n=this._groups,r=n.length,i=new Array(r),o=0;o<r;++o){for(var a,s=n[o],l=s.length,c=i[o]=new Array(l),u=0;u<l;++u)(a=s[u])&&(c[u]=a);c.sort(t)}return new A1(i,this._parents).order()},call:function(){var e=arguments[0];return arguments[0]=this,e.apply(null,arguments),this},nodes:function(){return Array.from(this)},node:function(){for(var e=this._groups,t=0,n=e.length;t<n;++t)for(var r=e[t],i=0,o=r.length;i<o;++i){var a=r[i];if(a)return a}return null},size:function(){let e=0;for(const t of this)++e;return e},empty:function(){return!this.node()},each:function(e){for(var t=this._groups,n=0,r=t.length;n<r;++n)for(var i,o=t[n],a=0,s=o.length;a<s;++a)(i=o[a])&&e.call(i,i.__data__,a,o);return this},attr:function(e,t){var n=v0(e);if(arguments.length<2){var r=this.node();return n.local?r.getAttributeNS(n.space,n.local):r.getAttribute(n)}return this.each((null==t?n.local?j0:B0:"function"==typeof t?n.local?$0:q0:n.local?H0:W0)(n,t))},style:function(e,t,n){return arguments.length>1?this.each((null==t?V0:"function"==typeof t?Y0:G0)(e,t,null==n?"":n)):Z0(this.node(),e)},property:function(e,t){return arguments.length>1?this.each((null==t?X0:"function"==typeof t?J0:K0)(e,t)):this.node()[e]},classed:function(e,t){var n=Q0(e+"");if(arguments.length<2){for(var r=e1(this.node()),i=-1,o=n.length;++i<o;)if(!r.contains(n[i]))return!1;return!0}return this.each(("function"==typeof t?a1:t?i1:o1)(n,t))},text:function(e){return arguments.length?this.each(null==e?s1:("function"==typeof e?c1:l1)(e)):this.node().textContent},html:function(e){return arguments.length?this.each(null==e?u1:("function"==typeof e?f1:d1)(e)):this.node().innerHTML},raise:function(){return this.each(h1)},lower:function(){return this.each(p1)},append:function(e){var t="function"==typeof e?e:_0(e);return this.select((function(){return this.appendChild(t.apply(this,arguments))}))},insert:function(e,t){var n="function"==typeof e?e:_0(e),r=null==t?g1:"function"==typeof t?t:w0(t);return this.select((function(){return this.insertBefore(n.apply(this,arguments),r.apply(this,arguments)||null)}))},remove:function(){return this.each(m1)},clone:function(e){return this.select(e?b1:v1)},datum:function(e){return arguments.length?this.property("__data__",e):this.node().__data__},on:function(e,t,n){var r,i,o=function(e){return e.trim().split(/^|\s+/).map((function(e){var t="",n=e.indexOf(".");return n>=0&&(t=e.slice(n+1),e=e.slice(0,n)),{type:e,name:t}}))}(e+""),a=o.length;if(!(arguments.length<2)){for(s=t?_1:y1,r=0;r<a;++r)this.each(s(o[r],t,n));return this}var s=this.node().__on;if(s)for(var l,c=0,u=s.length;c<u;++c)for(r=0,l=s[c];r<a;++r)if((i=o[r]).type===l.type&&i.name===l.name)return l.value},dispatch:function(e,t){return this.each(("function"==typeof t?k1:w1)(e,t))},[Symbol.iterator]:function*(){for(var e=this._groups,t=0,n=e.length;t<n;++t)for(var r,i=e[t],o=0,a=i.length;o<a;++o)(r=i[o])&&(yield r)}};var L1={value:()=>{}};function T1(){for(var e,t=0,n=arguments.length,r={};t<n;++t){if(!(e=arguments[t]+"")||e in r||/[\s.]/.test(e))throw new Error("illegal type: "+e);r[e]=[]}return new D1(r)}function D1(e){this._=e}function F1(e,t){for(var n,r=0,i=e.length;r<i;++r)if((n=e[r]).name===t)return n.value}function O1(e,t,n){for(var r=0,i=e.length;r<i;++r)if(e[r].name===t){e[r]=L1,e=e.slice(0,r).concat(e.slice(r+1));break}return null!=n&&e.push({name:t,value:n}),e}D1.prototype=T1.prototype={constructor:D1,on:function(e,t){var n,r,i=this._,o=(r=i,(e+"").trim().split(/^|\s+/).map((function(e){var t="",n=e.indexOf(".");if(n>=0&&(t=e.slice(n+1),e=e.slice(0,n)),e&&!r.hasOwnProperty(e))throw new Error("unknown type: "+e);return{type:e,name:t}}))),a=-1,s=o.length;if(!(arguments.length<2)){if(null!=t&&"function"!=typeof t)throw new Error("invalid callback: "+t);for(;++a<s;)if(n=(e=o[a]).type)i[n]=O1(i[n],e.name,t);else if(null==t)for(n in i)i[n]=O1(i[n],e.name,null);return this}for(;++a<s;)if((n=(e=o[a]).type)&&(n=F1(i[n],e.name)))return n},copy:function(){var e={},t=this._;for(var n in t)e[n]=t[n].slice();return new D1(e)},call:function(e,t){if((n=arguments.length-2)>0)for(var n,r,i=new Array(n),o=0;o<n;++o)i[o]=arguments[o+2];if(!this._.hasOwnProperty(e))throw new Error("unknown type: "+e);for(o=0,n=(r=this._[e]).length;o<n;++o)r[o].value.apply(t,i)},apply:function(e,t,n){if(!this._.hasOwnProperty(e))throw new Error("unknown type: "+e);for(var r=this._[e],i=0,o=r.length;i<o;++i)r[i].value.apply(t,n)}};var z1,R1,N1=0,P1=0,I1=0,B1=0,j1=0,W1=0,H1="object"==typeof performance&&performance.now?performance:Date,q1="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(e){setTimeout(e,17)};function $1(){return j1||(q1(U1),j1=H1.now()+W1)}function U1(){j1=0}function V1(){this._call=this._time=this._next=null}function G1(e,t,n){var r=new V1;return r.restart(e,t,n),r}function Y1(){j1=(B1=H1.now())+W1,N1=P1=0;try{!function(){$1(),++N1;for(var e,t=z1;t;)(e=j1-t._time)>=0&&t._call.call(void 0,e),t=t._next;--N1}()}finally{N1=0,function(){var e,t,n=z1,r=1/0;for(;n;)n._call?(r>n._time&&(r=n._time),e=n,n=n._next):(t=n._next,n._next=null,n=e?e._next=t:z1=t);R1=e,X1(r)}(),j1=0}}function Z1(){var e=H1.now(),t=e-B1;t>1e3&&(W1-=t,B1=e)}function X1(e){N1||(P1&&(P1=clearTimeout(P1)),e-j1>24?(e<1/0&&(P1=setTimeout(Y1,e-H1.now()-W1)),I1&&(I1=clearInterval(I1))):(I1||(B1=H1.now(),I1=setInterval(Z1,1e3)),N1=1,q1(Y1)))}function K1(e,t,n){var r=new V1;return t=null==t?0:+t,r.restart((n=>{r.stop(),e(n+t)}),t,n),r}V1.prototype=G1.prototype={constructor:V1,restart:function(e,t,n){if("function"!=typeof e)throw new TypeError("callback is not a function");n=(null==n?$1():+n)+(null==t?0:+t),this._next||R1===this||(R1?R1._next=this:z1=this,R1=this),this._call=e,this._time=n,X1()},stop:function(){this._call&&(this._call=null,this._time=1/0,X1())}};var J1=T1("start","end","cancel","interrupt"),Q1=[];function e2(e,t,n,r,i,o){var a=e.__transition;if(a){if(n in a)return}else e.__transition={};!function(e,t,n){var r,i=e.__transition;function o(e){n.state=1,n.timer.restart(a,n.delay,n.time),n.delay<=e&&a(e-n.delay)}function a(o){var c,u,d,f;if(1!==n.state)return l();for(c in i)if((f=i[c]).name===n.name){if(3===f.state)return K1(a);4===f.state?(f.state=6,f.timer.stop(),f.on.call("interrupt",e,e.__data__,f.index,f.group),delete i[c]):+c<t&&(f.state=6,f.timer.stop(),f.on.call("cancel",e,e.__data__,f.index,f.group),delete i[c])}if(K1((function(){3===n.state&&(n.state=4,n.timer.restart(s,n.delay,n.time),s(o))})),n.state=2,n.on.call("start",e,e.__data__,n.index,n.group),2===n.state){for(n.state=3,r=new Array(d=n.tween.length),c=0,u=-1;c<d;++c)(f=n.tween[c].value.call(e,e.__data__,n.index,n.group))&&(r[++u]=f);r.length=u+1}}function s(t){for(var i=t<n.duration?n.ease.call(null,t/n.duration):(n.timer.restart(l),n.state=5,1),o=-1,a=r.length;++o<a;)r[o].call(e,i);5===n.state&&(n.on.call("end",e,e.__data__,n.index,n.group),l())}function l(){for(var r in n.state=6,n.timer.stop(),delete i[t],i)return;delete e.__transition}i[t]=n,n.timer=G1(o,0,n.time)}(e,n,{name:t,index:r,group:i,on:J1,tween:Q1,time:o.time,delay:o.delay,duration:o.duration,ease:o.ease,timer:null,state:0})}function t2(e,t){var n=r2(e,t);if(n.state>0)throw new Error("too late; already scheduled");return n}function n2(e,t){var n=r2(e,t);if(n.state>3)throw new Error("too late; already running");return n}function r2(e,t){var n=e.__transition;if(!n||!(n=n[t]))throw new Error("transition not found");return n}function i2(e,t){var n,r;return function(){var i=n2(this,e),o=i.tween;if(o!==n)for(var a=0,s=(r=n=o).length;a<s;++a)if(r[a].name===t){(r=r.slice()).splice(a,1);break}i.tween=r}}function o2(e,t,n){var r,i;if("function"!=typeof n)throw new Error;return function(){var o=n2(this,e),a=o.tween;if(a!==r){i=(r=a).slice();for(var s={name:t,value:n},l=0,c=i.length;l<c;++l)if(i[l].name===t){i[l]=s;break}l===c&&i.push(s)}o.tween=i}}function a2(e,t,n){var r=e._id;return e.each((function(){var e=n2(this,r);(e.value||(e.value={}))[t]=n.apply(this,arguments)})),function(e){return r2(e,r).value[t]}}function s2(e,t){var n;return("number"==typeof t?hi:t instanceof Er?si:(n=Er(t))?(t=n,si):vi)(e,t)}function l2(e){return function(){this.removeAttribute(e)}}function c2(e){return function(){this.removeAttributeNS(e.space,e.local)}}function u2(e,t,n){var r,i,o=n+"";return function(){var a=this.getAttribute(e);return a===o?null:a===r?i:i=t(r=a,n)}}function d2(e,t,n){var r,i,o=n+"";return function(){var a=this.getAttributeNS(e.space,e.local);return a===o?null:a===r?i:i=t(r=a,n)}}function f2(e,t,n){var r,i,o;return function(){var a,s,l=n(this);if(null!=l)return(a=this.getAttribute(e))===(s=l+"")?null:a===r&&s===i?o:(i=s,o=t(r=a,l));this.removeAttribute(e)}}function h2(e,t,n){var r,i,o;return function(){var a,s,l=n(this);if(null!=l)return(a=this.getAttributeNS(e.space,e.local))===(s=l+"")?null:a===r&&s===i?o:(i=s,o=t(r=a,l));this.removeAttributeNS(e.space,e.local)}}function p2(e,t){var n,r;function i(){var i=t.apply(this,arguments);return i!==r&&(n=(r=i)&&function(e,t){return function(n){this.setAttributeNS(e.space,e.local,t.call(this,n))}}(e,i)),n}return i._value=t,i}function g2(e,t){var n,r;function i(){var i=t.apply(this,arguments);return i!==r&&(n=(r=i)&&function(e,t){return function(n){this.setAttribute(e,t.call(this,n))}}(e,i)),n}return i._value=t,i}function m2(e,t){return function(){t2(this,e).delay=+t.apply(this,arguments)}}function v2(e,t){return t=+t,function(){t2(this,e).delay=t}}function b2(e,t){return function(){n2(this,e).duration=+t.apply(this,arguments)}}function y2(e,t){return t=+t,function(){n2(this,e).duration=t}}var _2=S1.prototype.constructor;function x2(e){return function(){this.style.removeProperty(e)}}var w2=0;function k2(e,t,n,r){this._groups=e,this._parents=t,this._name=n,this._id=r}function C2(e){return S1().transition(e)}function A2(){return++w2}var S2=S1.prototype;function M2(e){return((e*=2)<=1?e*e*e:(e-=2)*e*e+2)/2}k2.prototype=C2.prototype={constructor:k2,select:function(e){var t=this._name,n=this._id;"function"!=typeof e&&(e=w0(e));for(var r=this._groups,i=r.length,o=new Array(i),a=0;a<i;++a)for(var s,l,c=r[a],u=c.length,d=o[a]=new Array(u),f=0;f<u;++f)(s=c[f])&&(l=e.call(s,s.__data__,f,c))&&("__data__"in s&&(l.__data__=s.__data__),d[f]=l,e2(d[f],t,n,f,d,r2(s,n)));return new k2(o,this._parents,t,n)},selectAll:function(e){var t=this._name,n=this._id;"function"!=typeof e&&(e=C0(e));for(var r=this._groups,i=r.length,o=[],a=[],s=0;s<i;++s)for(var l,c=r[s],u=c.length,d=0;d<u;++d)if(l=c[d]){for(var f,h=e.call(l,l.__data__,d,c),p=r2(l,n),g=0,m=h.length;g<m;++g)(f=h[g])&&e2(f,t,n,g,h,p);o.push(h),a.push(l)}return new k2(o,a,t,n)},selectChild:S2.selectChild,selectChildren:S2.selectChildren,filter:function(e){"function"!=typeof e&&(e=S0(e));for(var t=this._groups,n=t.length,r=new Array(n),i=0;i<n;++i)for(var o,a=t[i],s=a.length,l=r[i]=[],c=0;c<s;++c)(o=a[c])&&e.call(o,o.__data__,c,a)&&l.push(o);return new k2(r,this._parents,this._name,this._id)},merge:function(e){if(e._id!==this._id)throw new Error;for(var t=this._groups,n=e._groups,r=t.length,i=n.length,o=Math.min(r,i),a=new Array(r),s=0;s<o;++s)for(var l,c=t[s],u=n[s],d=c.length,f=a[s]=new Array(d),h=0;h<d;++h)(l=c[h]||u[h])&&(f[h]=l);for(;s<r;++s)a[s]=t[s];return new k2(a,this._parents,this._name,this._id)},selection:function(){return new _2(this._groups,this._parents)},transition:function(){for(var e=this._name,t=this._id,n=A2(),r=this._groups,i=r.length,o=0;o<i;++o)for(var a,s=r[o],l=s.length,c=0;c<l;++c)if(a=s[c]){var u=r2(a,t);e2(a,e,n,c,s,{time:u.time+u.delay+u.duration,delay:0,duration:u.duration,ease:u.ease})}return new k2(r,this._parents,e,n)},call:S2.call,nodes:S2.nodes,node:S2.node,size:S2.size,empty:S2.empty,each:S2.each,on:function(e,t){var n=this._id;return arguments.length<2?r2(this.node(),n).on.on(e):this.each(function(e,t,n){var r,i,o=function(e){return(e+"").trim().split(/^|\s+/).every((function(e){var t=e.indexOf(".");return t>=0&&(e=e.slice(0,t)),!e||"start"===e}))}(t)?t2:n2;return function(){var a=o(this,e),s=a.on;s!==r&&(i=(r=s).copy()).on(t,n),a.on=i}}(n,e,t))},attr:function(e,t){var n=v0(e),r="transform"===n?Si:s2;return this.attrTween(e,"function"==typeof t?(n.local?h2:f2)(n,r,a2(this,"attr."+e,t)):null==t?(n.local?c2:l2)(n):(n.local?d2:u2)(n,r,t))},attrTween:function(e,t){var n="attr."+e;if(arguments.length<2)return(n=this.tween(n))&&n._value;if(null==t)return this.tween(n,null);if("function"!=typeof t)throw new Error;var r=v0(e);return this.tween(n,(r.local?p2:g2)(r,t))},style:function(e,t,n){var r="transform"==(e+="")?Ai:s2;return null==t?this.styleTween(e,function(e,t){var n,r,i;return function(){var o=Z0(this,e),a=(this.style.removeProperty(e),Z0(this,e));return o===a?null:o===n&&a===r?i:i=t(n=o,r=a)}}(e,r)).on("end.style."+e,x2(e)):"function"==typeof t?this.styleTween(e,function(e,t,n){var r,i,o;return function(){var a=Z0(this,e),s=n(this),l=s+"";return null==s&&(this.style.removeProperty(e),l=s=Z0(this,e)),a===l?null:a===r&&l===i?o:(i=l,o=t(r=a,s))}}(e,r,a2(this,"style."+e,t))).each(function(e,t){var n,r,i,o,a="style."+t,s="end."+a;return function(){var l=n2(this,e),c=l.on,u=null==l.value[a]?o||(o=x2(t)):void 0;c===n&&i===u||(r=(n=c).copy()).on(s,i=u),l.on=r}}(this._id,e)):this.styleTween(e,function(e,t,n){var r,i,o=n+"";return function(){var a=Z0(this,e);return a===o?null:a===r?i:i=t(r=a,n)}}(e,r,t),n).on("end.style."+e,null)},styleTween:function(e,t,n){var r="style."+(e+="");if(arguments.length<2)return(r=this.tween(r))&&r._value;if(null==t)return this.tween(r,null);if("function"!=typeof t)throw new Error;return this.tween(r,function(e,t,n){var r,i;function o(){var o=t.apply(this,arguments);return o!==i&&(r=(i=o)&&function(e,t,n){return function(r){this.style.setProperty(e,t.call(this,r),n)}}(e,o,n)),r}return o._value=t,o}(e,t,null==n?"":n))},text:function(e){return this.tween("text","function"==typeof e?function(e){return function(){var t=e(this);this.textContent=null==t?"":t}}(a2(this,"text",e)):function(e){return function(){this.textContent=e}}(null==e?"":e+""))},textTween:function(e){var t="text";if(arguments.length<1)return(t=this.tween(t))&&t._value;if(null==e)return this.tween(t,null);if("function"!=typeof e)throw new Error;return this.tween(t,function(e){var t,n;function r(){var r=e.apply(this,arguments);return r!==n&&(t=(n=r)&&function(e){return function(t){this.textContent=e.call(this,t)}}(r)),t}return r._value=e,r}(e))},remove:function(){return this.on("end.remove",function(e){return function(){var t=this.parentNode;for(var n in this.__transition)if(+n!==e)return;t&&t.removeChild(this)}}(this._id))},tween:function(e,t){var n=this._id;if(e+="",arguments.length<2){for(var r,i=r2(this.node(),n).tween,o=0,a=i.length;o<a;++o)if((r=i[o]).name===e)return r.value;return null}return this.each((null==t?i2:o2)(n,e,t))},delay:function(e){var t=this._id;return arguments.length?this.each(("function"==typeof e?m2:v2)(t,e)):r2(this.node(),t).delay},duration:function(e){var t=this._id;return arguments.length?this.each(("function"==typeof e?b2:y2)(t,e)):r2(this.node(),t).duration},ease:function(e){var t=this._id;return arguments.length?this.each(function(e,t){if("function"!=typeof t)throw new Error;return function(){n2(this,e).ease=t}}(t,e)):r2(this.node(),t).ease},easeVarying:function(e){if("function"!=typeof e)throw new Error;return this.each(function(e,t){return function(){var n=t.apply(this,arguments);if("function"!=typeof n)throw new Error;n2(this,e).ease=n}}(this._id,e))},end:function(){var e,t,n=this,r=n._id,i=n.size();return new Promise((function(o,a){var s={value:a},l={value:function(){0==--i&&o()}};n.each((function(){var n=n2(this,r),i=n.on;i!==e&&((t=(e=i).copy())._.cancel.push(s),t._.interrupt.push(s),t._.end.push(l)),n.on=t})),0===i&&o()}))},[Symbol.iterator]:S2[Symbol.iterator]};var E2={time:null,delay:0,duration:250,ease:M2};function L2(e,t){for(var n;!(n=e.__transition)||!(n=n[t]);)if(!(e=e.parentNode))throw new Error(`transition ${t} not found`);return n}function T2(e){return e}S1.prototype.interrupt=function(e){return this.each((function(){!function(e,t){var n,r,i,o=e.__transition,a=!0;if(o){for(i in t=null==t?null:t+"",o)(n=o[i]).name===t?(r=n.state>2&&n.state<5,n.state=6,n.timer.stop(),n.on.call(r?"interrupt":"cancel",e,e.__data__,n.index,n.group),delete o[i]):a=!1;a&&delete e.__transition}}(this,e)}))},S1.prototype.transition=function(e){var t,n;e instanceof k2?(t=e._id,e=e._name):(t=A2(),(n=E2).time=$1(),e=null==e?null:e+"");for(var r=this._groups,i=r.length,o=0;o<i;++o)for(var a,s=r[o],l=s.length,c=0;c<l;++c)(a=s[c])&&e2(a,e,t,c,s,n||L2(a,t));return new k2(r,this._parents,e,t)};var D2=1e-6;function F2(e){return"translate("+e+",0)"}function O2(e){return"translate(0,"+e+")"}function z2(e){return t=>+e(t)}function R2(e,t){return t=Math.max(0,e.bandwidth()-2*t)/2,e.round()&&(t=Math.round(t)),n=>+e(n)+t}function N2(){return!this.__axis}function P2(e,t){var n=[],r=null,i=null,o=6,a=6,s=3,l="undefined"!=typeof window&&window.devicePixelRatio>1?0:.5,c=1===e||4===e?-1:1,u=4===e||2===e?"x":"y",d=1===e||3===e?F2:O2;function f(f){var h=null==r?t.ticks?t.ticks.apply(t,n):t.domain():r,p=null==i?t.tickFormat?t.tickFormat.apply(t,n):T2:i,g=Math.max(o,0)+s,m=t.range(),v=+m[0]+l,b=+m[m.length-1]+l,y=(t.bandwidth?R2:z2)(t.copy(),l),_=f.selection?f.selection():f,x=_.selectAll(".domain").data([null]),w=_.selectAll(".tick").data(h,t).order(),k=w.exit(),C=w.enter().append("g").attr("class","tick"),A=w.select("line"),S=w.select("text");x=x.merge(x.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),w=w.merge(C),A=A.merge(C.append("line").attr("stroke","currentColor").attr(u+"2",c*o)),S=S.merge(C.append("text").attr("fill","currentColor").attr(u,c*g).attr("dy",1===e?"0em":3===e?"0.71em":"0.32em")),f!==_&&(x=x.transition(f),w=w.transition(f),A=A.transition(f),S=S.transition(f),k=k.transition(f).attr("opacity",D2).attr("transform",(function(e){return isFinite(e=y(e))?d(e+l):this.getAttribute("transform")})),C.attr("opacity",D2).attr("transform",(function(e){var t=this.parentNode.__axis;return d((t&&isFinite(t=t(e))?t:y(e))+l)}))),k.remove(),x.attr("d",4===e||2===e?a?"M"+c*a+","+v+"H"+l+"V"+b+"H"+c*a:"M"+l+","+v+"V"+b:a?"M"+v+","+c*a+"V"+l+"H"+b+"V"+c*a:"M"+v+","+l+"H"+b),w.attr("opacity",1).attr("transform",(function(e){return d(y(e)+l)})),A.attr(u+"2",c*o),S.attr(u,c*g).text(p),_.filter(N2).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",2===e?"start":4===e?"end":"middle"),_.each((function(){this.__axis=y}))}return f.scale=function(e){return arguments.length?(t=e,f):t},f.ticks=function(){return n=Array.from(arguments),f},f.tickArguments=function(e){return arguments.length?(n=null==e?[]:Array.from(e),f):n.slice()},f.tickValues=function(e){return arguments.length?(r=null==e?null:Array.from(e),f):r&&r.slice()},f.tickFormat=function(e){return arguments.length?(i=e,f):i},f.tickSize=function(e){return arguments.length?(o=a=+e,f):o},f.tickSizeInner=function(e){return arguments.length?(o=+e,f):o},f.tickSizeOuter=function(e){return arguments.length?(a=+e,f):a},f.tickPadding=function(e){return arguments.length?(s=+e,f):s},f.offset=function(e){return arguments.length?(l=+e,f):l},f}function I2(e){return P2(3,e)}const B2={capture:!0,passive:!1};function j2(e){e.preventDefault(),e.stopImmediatePropagation()}var W2=T1("start","end","cancel","interrupt"),H2=[];function q2(e,t,n,r,i,o){var a=e.__transition;if(a){if(n in a)return}else e.__transition={};!function(e,t,n){var r,i=e.__transition;function o(e){n.state=1,n.timer.restart(a,n.delay,n.time),n.delay<=e&&a(e-n.delay)}function a(o){var c,u,d,f;if(1!==n.state)return l();for(c in i)if((f=i[c]).name===n.name){if(3===f.state)return K1(a);4===f.state?(f.state=6,f.timer.stop(),f.on.call("interrupt",e,e.__data__,f.index,f.group),delete i[c]):+c<t&&(f.state=6,f.timer.stop(),f.on.call("cancel",e,e.__data__,f.index,f.group),delete i[c])}if(K1((function(){3===n.state&&(n.state=4,n.timer.restart(s,n.delay,n.time),s(o))})),n.state=2,n.on.call("start",e,e.__data__,n.index,n.group),2===n.state){for(n.state=3,r=new Array(d=n.tween.length),c=0,u=-1;c<d;++c)(f=n.tween[c].value.call(e,e.__data__,n.index,n.group))&&(r[++u]=f);r.length=u+1}}function s(t){for(var i=t<n.duration?n.ease.call(null,t/n.duration):(n.timer.restart(l),n.state=5,1),o=-1,a=r.length;++o<a;)r[o].call(e,i);5===n.state&&(n.on.call("end",e,e.__data__,n.index,n.group),l())}function l(){for(var r in n.state=6,n.timer.stop(),delete i[t],i)return;delete e.__transition}i[t]=n,n.timer=G1(o,0,n.time)}(e,n,{name:t,index:r,group:i,on:W2,tween:H2,time:o.time,delay:o.delay,duration:o.duration,ease:o.ease,timer:null,state:0})}function $2(e,t){var n=V2(e,t);if(n.state>0)throw new Error("too late; already scheduled");return n}function U2(e,t){var n=V2(e,t);if(n.state>3)throw new Error("too late; already running");return n}function V2(e,t){var n=e.__transition;if(!n||!(n=n[t]))throw new Error("transition not found");return n}function G2(e,t){var n,r,i,o=e.__transition,a=!0;if(o){for(i in t=null==t?null:t+"",o)(n=o[i]).name===t?(r=n.state>2&&n.state<5,n.state=6,n.timer.stop(),n.on.call(r?"interrupt":"cancel",e,e.__data__,n.index,n.group),delete o[i]):a=!1;a&&delete e.__transition}}function Y2(e,t){var n,r;return function(){var i=U2(this,e),o=i.tween;if(o!==n)for(var a=0,s=(r=n=o).length;a<s;++a)if(r[a].name===t){(r=r.slice()).splice(a,1);break}i.tween=r}}function Z2(e,t,n){var r,i;if("function"!=typeof n)throw new Error;return function(){var o=U2(this,e),a=o.tween;if(a!==r){i=(r=a).slice();for(var s={name:t,value:n},l=0,c=i.length;l<c;++l)if(i[l].name===t){i[l]=s;break}l===c&&i.push(s)}o.tween=i}}function X2(e,t,n){var r=e._id;return e.each((function(){var e=U2(this,r);(e.value||(e.value={}))[t]=n.apply(this,arguments)})),function(e){return V2(e,r).value[t]}}function K2(e,t){var n;return("number"==typeof t?hi:t instanceof Er?si:(n=Er(t))?(t=n,si):vi)(e,t)}function J2(e){return function(){this.removeAttribute(e)}}function Q2(e){return function(){this.removeAttributeNS(e.space,e.local)}}function e3(e,t,n){var r,i,o=n+"";return function(){var a=this.getAttribute(e);return a===o?null:a===r?i:i=t(r=a,n)}}function t3(e,t,n){var r,i,o=n+"";return function(){var a=this.getAttributeNS(e.space,e.local);return a===o?null:a===r?i:i=t(r=a,n)}}function n3(e,t,n){var r,i,o;return function(){var a,s,l=n(this);if(null!=l)return(a=this.getAttribute(e))===(s=l+"")?null:a===r&&s===i?o:(i=s,o=t(r=a,l));this.removeAttribute(e)}}function r3(e,t,n){var r,i,o;return function(){var a,s,l=n(this);if(null!=l)return(a=this.getAttributeNS(e.space,e.local))===(s=l+"")?null:a===r&&s===i?o:(i=s,o=t(r=a,l));this.removeAttributeNS(e.space,e.local)}}function i3(e,t){var n,r;function i(){var i=t.apply(this,arguments);return i!==r&&(n=(r=i)&&function(e,t){return function(n){this.setAttributeNS(e.space,e.local,t.call(this,n))}}(e,i)),n}return i._value=t,i}function o3(e,t){var n,r;function i(){var i=t.apply(this,arguments);return i!==r&&(n=(r=i)&&function(e,t){return function(n){this.setAttribute(e,t.call(this,n))}}(e,i)),n}return i._value=t,i}function a3(e,t){return function(){$2(this,e).delay=+t.apply(this,arguments)}}function s3(e,t){return t=+t,function(){$2(this,e).delay=t}}function l3(e,t){return function(){U2(this,e).duration=+t.apply(this,arguments)}}function c3(e,t){return t=+t,function(){U2(this,e).duration=t}}var u3=S1.prototype.constructor;function d3(e){return function(){this.style.removeProperty(e)}}var f3=0;function h3(e,t,n,r){this._groups=e,this._parents=t,this._name=n,this._id=r}function p3(){return++f3}var g3=S1.prototype;h3.prototype={constructor:h3,select:function(e){var t=this._name,n=this._id;"function"!=typeof e&&(e=w0(e));for(var r=this._groups,i=r.length,o=new Array(i),a=0;a<i;++a)for(var s,l,c=r[a],u=c.length,d=o[a]=new Array(u),f=0;f<u;++f)(s=c[f])&&(l=e.call(s,s.__data__,f,c))&&("__data__"in s&&(l.__data__=s.__data__),d[f]=l,q2(d[f],t,n,f,d,V2(s,n)));return new h3(o,this._parents,t,n)},selectAll:function(e){var t=this._name,n=this._id;"function"!=typeof e&&(e=C0(e));for(var r=this._groups,i=r.length,o=[],a=[],s=0;s<i;++s)for(var l,c=r[s],u=c.length,d=0;d<u;++d)if(l=c[d]){for(var f,h=e.call(l,l.__data__,d,c),p=V2(l,n),g=0,m=h.length;g<m;++g)(f=h[g])&&q2(f,t,n,g,h,p);o.push(h),a.push(l)}return new h3(o,a,t,n)},selectChild:g3.selectChild,selectChildren:g3.selectChildren,filter:function(e){"function"!=typeof e&&(e=S0(e));for(var t=this._groups,n=t.length,r=new Array(n),i=0;i<n;++i)for(var o,a=t[i],s=a.length,l=r[i]=[],c=0;c<s;++c)(o=a[c])&&e.call(o,o.__data__,c,a)&&l.push(o);return new h3(r,this._parents,this._name,this._id)},merge:function(e){if(e._id!==this._id)throw new Error;for(var t=this._groups,n=e._groups,r=t.length,i=n.length,o=Math.min(r,i),a=new Array(r),s=0;s<o;++s)for(var l,c=t[s],u=n[s],d=c.length,f=a[s]=new Array(d),h=0;h<d;++h)(l=c[h]||u[h])&&(f[h]=l);for(;s<r;++s)a[s]=t[s];return new h3(a,this._parents,this._name,this._id)},selection:function(){return new u3(this._groups,this._parents)},transition:function(){for(var e=this._name,t=this._id,n=p3(),r=this._groups,i=r.length,o=0;o<i;++o)for(var a,s=r[o],l=s.length,c=0;c<l;++c)if(a=s[c]){var u=V2(a,t);q2(a,e,n,c,s,{time:u.time+u.delay+u.duration,delay:0,duration:u.duration,ease:u.ease})}return new h3(r,this._parents,e,n)},call:g3.call,nodes:g3.nodes,node:g3.node,size:g3.size,empty:g3.empty,each:g3.each,on:function(e,t){var n=this._id;return arguments.length<2?V2(this.node(),n).on.on(e):this.each(function(e,t,n){var r,i,o=function(e){return(e+"").trim().split(/^|\s+/).every((function(e){var t=e.indexOf(".");return t>=0&&(e=e.slice(0,t)),!e||"start"===e}))}(t)?$2:U2;return function(){var a=o(this,e),s=a.on;s!==r&&(i=(r=s).copy()).on(t,n),a.on=i}}(n,e,t))},attr:function(e,t){var n=v0(e),r="transform"===n?Si:K2;return this.attrTween(e,"function"==typeof t?(n.local?r3:n3)(n,r,X2(this,"attr."+e,t)):null==t?(n.local?Q2:J2)(n):(n.local?t3:e3)(n,r,t))},attrTween:function(e,t){var n="attr."+e;if(arguments.length<2)return(n=this.tween(n))&&n._value;if(null==t)return this.tween(n,null);if("function"!=typeof t)throw new Error;var r=v0(e);return this.tween(n,(r.local?i3:o3)(r,t))},style:function(e,t,n){var r="transform"==(e+="")?Ai:K2;return null==t?this.styleTween(e,function(e,t){var n,r,i;return function(){var o=Z0(this,e),a=(this.style.removeProperty(e),Z0(this,e));return o===a?null:o===n&&a===r?i:i=t(n=o,r=a)}}(e,r)).on("end.style."+e,d3(e)):"function"==typeof t?this.styleTween(e,function(e,t,n){var r,i,o;return function(){var a=Z0(this,e),s=n(this),l=s+"";return null==s&&(this.style.removeProperty(e),l=s=Z0(this,e)),a===l?null:a===r&&l===i?o:(i=l,o=t(r=a,s))}}(e,r,X2(this,"style."+e,t))).each(function(e,t){var n,r,i,o,a="style."+t,s="end."+a;return function(){var l=U2(this,e),c=l.on,u=null==l.value[a]?o||(o=d3(t)):void 0;c===n&&i===u||(r=(n=c).copy()).on(s,i=u),l.on=r}}(this._id,e)):this.styleTween(e,function(e,t,n){var r,i,o=n+"";return function(){var a=Z0(this,e);return a===o?null:a===r?i:i=t(r=a,n)}}(e,r,t),n).on("end.style."+e,null)},styleTween:function(e,t,n){var r="style."+(e+="");if(arguments.length<2)return(r=this.tween(r))&&r._value;if(null==t)return this.tween(r,null);if("function"!=typeof t)throw new Error;return this.tween(r,function(e,t,n){var r,i;function o(){var o=t.apply(this,arguments);return o!==i&&(r=(i=o)&&function(e,t,n){return function(r){this.style.setProperty(e,t.call(this,r),n)}}(e,o,n)),r}return o._value=t,o}(e,t,null==n?"":n))},text:function(e){return this.tween("text","function"==typeof e?function(e){return function(){var t=e(this);this.textContent=null==t?"":t}}(X2(this,"text",e)):function(e){return function(){this.textContent=e}}(null==e?"":e+""))},textTween:function(e){var t="text";if(arguments.length<1)return(t=this.tween(t))&&t._value;if(null==e)return this.tween(t,null);if("function"!=typeof e)throw new Error;return this.tween(t,function(e){var t,n;function r(){var r=e.apply(this,arguments);return r!==n&&(t=(n=r)&&function(e){return function(t){this.textContent=e.call(this,t)}}(r)),t}return r._value=e,r}(e))},remove:function(){return this.on("end.remove",function(e){return function(){var t=this.parentNode;for(var n in this.__transition)if(+n!==e)return;t&&t.removeChild(this)}}(this._id))},tween:function(e,t){var n=this._id;if(e+="",arguments.length<2){for(var r,i=V2(this.node(),n).tween,o=0,a=i.length;o<a;++o)if((r=i[o]).name===e)return r.value;return null}return this.each((null==t?Y2:Z2)(n,e,t))},delay:function(e){var t=this._id;return arguments.length?this.each(("function"==typeof e?a3:s3)(t,e)):V2(this.node(),t).delay},duration:function(e){var t=this._id;return arguments.length?this.each(("function"==typeof e?l3:c3)(t,e)):V2(this.node(),t).duration},ease:function(e){var t=this._id;return arguments.length?this.each(function(e,t){if("function"!=typeof t)throw new Error;return function(){U2(this,e).ease=t}}(t,e)):V2(this.node(),t).ease},easeVarying:function(e){if("function"!=typeof e)throw new Error;return this.each(function(e,t){return function(){var n=t.apply(this,arguments);if("function"!=typeof n)throw new Error;U2(this,e).ease=n}}(this._id,e))},end:function(){var e,t,n=this,r=n._id,i=n.size();return new Promise((function(o,a){var s={value:a},l={value:function(){0==--i&&o()}};n.each((function(){var n=U2(this,r),i=n.on;i!==e&&((t=(e=i).copy())._.cancel.push(s),t._.interrupt.push(s),t._.end.push(l)),n.on=t})),0===i&&o()}))},[Symbol.iterator]:g3[Symbol.iterator]};var m3={time:null,delay:0,duration:250,ease:M2};function v3(e,t){for(var n;!(n=e.__transition)||!(n=n[t]);)if(!(e=e.parentNode))throw new Error(`transition ${t} not found`);return n}S1.prototype.interrupt=function(e){return this.each((function(){G2(this,e)}))},S1.prototype.transition=function(e){var t,n;e instanceof h3?(t=e._id,e=e._name):(t=p3(),(n=m3).time=$1(),e=null==e?null:e+"");for(var r=this._groups,i=r.length,o=0;o<i;++o)for(var a,s=r[o],l=s.length,c=0;c<l;++c)(a=s[c])&&q2(a,e,t,c,s,n||v3(a,t));return new h3(r,this._parents,e,t)};var b3=e=>()=>e;function y3(e,{sourceEvent:t,target:n,selection:r,mode:i,dispatch:o}){Object.defineProperties(this,{type:{value:e,enumerable:!0,configurable:!0},sourceEvent:{value:t,enumerable:!0,configurable:!0},target:{value:n,enumerable:!0,configurable:!0},selection:{value:r,enumerable:!0,configurable:!0},mode:{value:i,enumerable:!0,configurable:!0},_:{value:o}})}function _3(e){e.preventDefault(),e.stopImmediatePropagation()}var x3={name:"drag"},w3={name:"space"},k3={name:"handle"},C3={name:"center"};const{abs:A3,max:S3,min:M3}=Math;function E3(e){return[+e[0],+e[1]]}function L3(e){return[E3(e[0]),E3(e[1])]}var T3={name:"x",handles:["w","e"].map(P3),input:function(e,t){return null==e?null:[[+e[0],t[0][1]],[+e[1],t[1][1]]]},output:function(e){return e&&[e[0][0],e[1][0]]}},D3={},F3={overlay:"crosshair",selection:"move",n:"ns-resize",e:"ew-resize",s:"ns-resize",w:"ew-resize",nw:"nwse-resize",ne:"nesw-resize",se:"nwse-resize",sw:"nesw-resize"},O3={e:"w",w:"e",nw:"ne",ne:"nw",se:"sw",sw:"se"},z3={n:"s",s:"n",nw:"sw",ne:"se",se:"ne",sw:"nw"},R3={overlay:1,selection:1,n:null,e:1,s:null,w:-1,nw:-1,ne:1,se:1,sw:-1},N3={overlay:1,selection:1,n:-1,e:null,s:1,w:null,nw:-1,ne:-1,se:1,sw:1};function P3(e){return{type:e}}function I3(e){return!e.ctrlKey&&!e.button}function B3(){var e=this.ownerSVGElement||this;return e.hasAttribute("viewBox")?[[(e=e.viewBox.baseVal).x,e.y],[e.x+e.width,e.y+e.height]]:[[0,0],[e.width.baseVal.value,e.height.baseVal.value]]}function j3(){return navigator.maxTouchPoints||"ontouchstart"in this}function W3(e){for(;!e.__brush;)if(!(e=e.parentNode))return;return e.__brush}function H3(){return function(e){var t,n=B3,r=I3,i=j3,o=!0,a=T1("start","brush","end"),s=6;function l(t){var n=t.property("__brush",g).selectAll(".overlay").data([P3("overlay")]);n.enter().append("rect").attr("class","overlay").attr("pointer-events","all").attr("cursor",F3.overlay).merge(n).each((function(){var e=W3(this).extent;M1(this).attr("x",e[0][0]).attr("y",e[0][1]).attr("width",e[1][0]-e[0][0]).attr("height",e[1][1]-e[0][1])})),t.selectAll(".selection").data([P3("selection")]).enter().append("rect").attr("class","selection").attr("cursor",F3.selection).attr("fill","#777").attr("fill-opacity",.3).attr("stroke","#fff").attr("shape-rendering","crispEdges");var r=t.selectAll(".handle").data(e.handles,(function(e){return e.type}));r.exit().remove(),r.enter().append("rect").attr("class",(function(e){return"handle handle--"+e.type})).attr("cursor",(function(e){return F3[e.type]})),t.each(c).attr("fill","none").attr("pointer-events","all").on("mousedown.brush",f).filter(i).on("touchstart.brush",f).on("touchmove.brush",h).on("touchend.brush touchcancel.brush",p).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function c(){var e=M1(this),t=W3(this).selection;t?(e.selectAll(".selection").style("display",null).attr("x",t[0][0]).attr("y",t[0][1]).attr("width",t[1][0]-t[0][0]).attr("height",t[1][1]-t[0][1]),e.selectAll(".handle").style("display",null).attr("x",(function(e){return"e"===e.type[e.type.length-1]?t[1][0]-s/2:t[0][0]-s/2})).attr("y",(function(e){return"s"===e.type[0]?t[1][1]-s/2:t[0][1]-s/2})).attr("width",(function(e){return"n"===e.type||"s"===e.type?t[1][0]-t[0][0]+s:s})).attr("height",(function(e){return"e"===e.type||"w"===e.type?t[1][1]-t[0][1]+s:s}))):e.selectAll(".selection,.handle").style("display","none").attr("x",null).attr("y",null).attr("width",null).attr("height",null)}function u(e,t,n){var r=e.__brush.emitter;return!r||n&&r.clean?new d(e,t,n):r}function d(e,t,n){this.that=e,this.args=t,this.state=e.__brush,this.active=0,this.clean=n}function f(n){if((!t||n.touches)&&r.apply(this,arguments)){var i,a,s,l,d,f,h,p,g,m,v,b=this,y=n.target.__data__.type,_="selection"===(o&&n.metaKey?y="overlay":y)?x3:o&&n.altKey?C3:k3,x=e===D3?null:R3[y],w=e===T3?null:N3[y],k=W3(b),C=k.extent,A=k.selection,S=C[0][0],M=C[0][1],E=C[1][0],L=C[1][1],T=0,D=0,F=x&&w&&o&&n.shiftKey,O=Array.from(n.touches||[n],(e=>{const t=e.identifier;return(e=E1(e,b)).point0=e.slice(),e.identifier=t,e}));G2(b);var z=u(b,arguments,!0).beforestart();if("overlay"===y){A&&(g=!0);const t=[O[0],O[1]||O[0]];k.selection=A=[[i=e===D3?S:M3(t[0][0],t[1][0]),s=e===T3?M:M3(t[0][1],t[1][1])],[d=e===D3?E:S3(t[0][0],t[1][0]),h=e===T3?L:S3(t[0][1],t[1][1])]],O.length>1&&B(n)}else i=A[0][0],s=A[0][1],d=A[1][0],h=A[1][1];a=i,l=s,f=d,p=h;var R=M1(b).attr("pointer-events","none"),N=R.selectAll(".overlay").attr("cursor",F3[y]);if(n.touches)z.moved=I,z.ended=j;else{var P=M1(n.view).on("mousemove.brush",I,!0).on("mouseup.brush",j,!0);o&&P.on("keydown.brush",W,!0).on("keyup.brush",H,!0),function(e){var t=e.document.documentElement,n=M1(e).on("dragstart.drag",j2,B2);"onselectstart"in t?n.on("selectstart.drag",j2,B2):(t.__noselect=t.style.MozUserSelect,t.style.MozUserSelect="none")}(n.view)}c.call(b),z.start(n,_.name)}function I(e){for(const t of e.changedTouches||[e])for(const e of O)e.identifier===t.identifier&&(e.cur=E1(t,b));if(F&&!m&&!v&&1===O.length){const e=O[0];A3(e.cur[0]-e[0])>A3(e.cur[1]-e[1])?v=!0:m=!0}for(const e of O)e.cur&&(e[0]=e.cur[0],e[1]=e.cur[1]);g=!0,_3(e),B(e)}function B(e){const t=O[0],n=t.point0;var r;switch(T=t[0]-n[0],D=t[1]-n[1],_){case w3:case x3:x&&(T=S3(S-i,M3(E-d,T)),a=i+T,f=d+T),w&&(D=S3(M-s,M3(L-h,D)),l=s+D,p=h+D);break;case k3:O[1]?(x&&(a=S3(S,M3(E,O[0][0])),f=S3(S,M3(E,O[1][0])),x=1),w&&(l=S3(M,M3(L,O[0][1])),p=S3(M,M3(L,O[1][1])),w=1)):(x<0?(T=S3(S-i,M3(E-i,T)),a=i+T,f=d):x>0&&(T=S3(S-d,M3(E-d,T)),a=i,f=d+T),w<0?(D=S3(M-s,M3(L-s,D)),l=s+D,p=h):w>0&&(D=S3(M-h,M3(L-h,D)),l=s,p=h+D));break;case C3:x&&(a=S3(S,M3(E,i-T*x)),f=S3(S,M3(E,d+T*x))),w&&(l=S3(M,M3(L,s-D*w)),p=S3(M,M3(L,h+D*w)))}f<a&&(x*=-1,r=i,i=d,d=r,r=a,a=f,f=r,y in O3&&N.attr("cursor",F3[y=O3[y]])),p<l&&(w*=-1,r=s,s=h,h=r,r=l,l=p,p=r,y in z3&&N.attr("cursor",F3[y=z3[y]])),k.selection&&(A=k.selection),m&&(a=A[0][0],f=A[1][0]),v&&(l=A[0][1],p=A[1][1]),A[0][0]===a&&A[0][1]===l&&A[1][0]===f&&A[1][1]===p||(k.selection=[[a,l],[f,p]],c.call(b),z.brush(e,_.name))}function j(e){if(function(e){e.stopImmediatePropagation()}(e),e.touches){if(e.touches.length)return;t&&clearTimeout(t),t=setTimeout((function(){t=null}),500)}else!function(e,t){var n=e.document.documentElement,r=M1(e).on("dragstart.drag",null);t&&(r.on("click.drag",j2,B2),setTimeout((function(){r.on("click.drag",null)}),0)),"onselectstart"in n?r.on("selectstart.drag",null):(n.style.MozUserSelect=n.__noselect,delete n.__noselect)}(e.view,g),P.on("keydown.brush keyup.brush mousemove.brush mouseup.brush",null);R.attr("pointer-events","all"),N.attr("cursor",F3.overlay),k.selection&&(A=k.selection),function(e){return e[0][0]===e[1][0]||e[0][1]===e[1][1]}(A)&&(k.selection=null,c.call(b)),z.end(e,_.name)}function W(e){switch(e.keyCode){case 16:F=x&&w;break;case 18:_===k3&&(x&&(d=f-T*x,i=a+T*x),w&&(h=p-D*w,s=l+D*w),_=C3,B(e));break;case 32:_!==k3&&_!==C3||(x<0?d=f-T:x>0&&(i=a-T),w<0?h=p-D:w>0&&(s=l-D),_=w3,N.attr("cursor",F3.selection),B(e));break;default:return}_3(e)}function H(e){switch(e.keyCode){case 16:F&&(m=v=F=!1,B(e));break;case 18:_===C3&&(x<0?d=f:x>0&&(i=a),w<0?h=p:w>0&&(s=l),_=k3,B(e));break;case 32:_===w3&&(e.altKey?(x&&(d=f-T*x,i=a+T*x),w&&(h=p-D*w,s=l+D*w),_=C3):(x<0?d=f:x>0&&(i=a),w<0?h=p:w>0&&(s=l),_=k3),N.attr("cursor",F3[y]),B(e));break;default:return}_3(e)}}function h(e){u(this,arguments).moved(e)}function p(e){u(this,arguments).ended(e)}function g(){var t=this.__brush||{selection:null};return t.extent=L3(n.apply(this,arguments)),t.dim=e,t}return l.move=function(t,n,r){t.tween?t.on("start.brush",(function(e){u(this,arguments).beforestart().start(e)})).on("interrupt.brush end.brush",(function(e){u(this,arguments).end(e)})).tween("brush",(function(){var t=this,r=t.__brush,i=u(t,arguments),o=r.selection,a=e.input("function"==typeof n?n.apply(this,arguments):n,r.extent),s=bi(o,a);function l(e){r.selection=1===e&&null===a?null:s(e),c.call(t),i.brush()}return null!==o&&null!==a?l:l(1)})):t.each((function(){var t=this,i=arguments,o=t.__brush,a=e.input("function"==typeof n?n.apply(t,i):n,o.extent),s=u(t,i).beforestart();G2(t),o.selection=null===a?null:a,c.call(t),s.start(r).brush(r).end(r)}))},l.clear=function(e,t){l.move(e,null,t)},d.prototype={beforestart:function(){return 1==++this.active&&(this.state.emitter=this,this.starting=!0),this},start:function(e,t){return this.starting?(this.starting=!1,this.emit("start",e,t)):this.emit("brush",e),this},brush:function(e,t){return this.emit("brush",e,t),this},end:function(e,t){return 0==--this.active&&(delete this.state.emitter,this.emit("end",e,t)),this},emit:function(t,n,r){var i=M1(this.that).datum();a.call(t,this.that,new y3(t,{sourceEvent:n,target:l,selection:e.output(this.state.selection),mode:r,dispatch:a}),i)}},l.extent=function(e){return arguments.length?(n="function"==typeof e?e:b3(L3(e)),l):n},l.filter=function(e){return arguments.length?(r="function"==typeof e?e:b3(!!e),l):r},l.touchable=function(e){return arguments.length?(i="function"==typeof e?e:b3(!!e),l):i},l.handleSize=function(e){return arguments.length?(s=+e,l):s},l.keyModifiers=function(e){return arguments.length?(o=!!e,l):o},l.on=function(){var e=a.on.apply(a,arguments);return e===a?l:e},l}(T3)}const q3=(e,t)=>{const n="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz-";let r=5381;const i=Array.from(`${e}:${t}`);for(const e of i)r=Math.imul(r,33)+e.charCodeAt(0);const o=new Array(21);let a=Math.abs(r);for(let e=0;e<21;++e)a=(1664525*a+1013904223)%4294967296,o[e]=n[a%64];return o.join("")};class $3 extends CustomEvent{constructor(e){super("zoom",{detail:e})}}const U3=()=>{return P2(1,e);var e},V3=()=>{return P2(4,e);var e},G3=(e,t=Y3)=>{const[n,r]=c(e),i=l(n),o=l(t);return u((()=>{o.current=t}),[t]),u((()=>{i.current=n,o.current(i.current)}),[n]),[i,n,r]},Y3=()=>{},Z3=e=>e?e<0?0:e:0;var X3={timelineContainer:"styles_timelineContainer__3SW8x",durationRangeText:"styles_durationRangeText__kjCEl",timelineChart:"styles_timelineChart__sjwgA",axises:"styles_axises__nnLwP",xAxis:"styles_xAxis__w8pk1",xGrid:"styles_xGrid__2cimK",groupAxis:"styles_groupAxis__8rzsA",group:"styles_group__-lm0v",segment:"styles_segment__tDYtR",brusher:"styles_brusher__iTl0A",zoomSelection:"styles_zoomSelection__W-Y0x",brush:"styles_brush__5MVEw",tooltip:"styles_tooltip__WgR7o",tooltipContent:"styles_tooltipContent__qmhxV",labelGroup:"styles_labelGroup__wJsCk"};const K3=()=>I2(),J3={top:0,right:0,bottom:20,left:0},Q3=300,e4=20,t4=()=>{},n4=e=>{const{width:t=Q3,height:n=e4,margins:r=J3,domainRange:i,currentSelection:o,tickFormat:a,onChange:s=t4,onReset:c=t4,selectedTestsCount:d,totalTestsCount:f,translations:h,transitionDuration:p=300}=e,g=Z3(t-r.left-r.right),m=Z3(n-r.top-r.bottom),[v,b,y]=G3((()=>So().domain(i).range([0,g])));u((()=>{y((()=>So().domain(i).range([0,g])))}),[i,g]);const _=l(null),x=l(null),w=l(null),k=l(null),C=l(null),A=l(null),S=l(s),M=l(c);u((()=>{S.current=s,M.current=c}),[s,c]);const E=l(K3().tickFormat((()=>""))),L=l(K3().tickPadding(0)),T=l(H3().handleSize(24).on("end",(e=>{if(!e.sourceEvent||!v.current||!S.current)return;if(!(e.selection&&2===e.selection.length)){const[e,t]=v.current.domain();return void S.current(e,t)}const[t,n]=e.selection.map((e=>b.invert(e)));S.current(t,n)})));u((()=>{if(!_.current||!b)return;if(!i||i[1]<=i[0])return;const[e,t]=i,n=(t-e)/6,s=[];for(let t=0;t<7;t++)s.push(e+n*t);if(s[0]=e,s[6]=t,L.current.scale(b).tickFormat(a).tickValues(s),E.current.scale(b).tickSize(-m).tickValues(s),M1(x.current).attr("transform",`translate(${r.left},${r.top})`),M1(w.current).exit().transition().duration(p).attr("width",0).attr("height",0),k.current&&(M1(k.current).attr("transform",`translate(0,${m})`),M1(k.current).call(E.current)),C.current&&(M1(C.current).attr("transform",`translate(0,${m})`),M1(C.current).call(L.current).selectAll("text").attr("y",8)),A.current){const e=M1(A.current);e.select(".selection").attr("rx",2).attr("ry",2),e.call(T.current.extent([[0,0],[g,m]]));const t=[b(o[0]??i[0]),b(o[1]??i[1])];T.current.move(e,t)}}),[r,b,i,o,a,g,m,p]);const D=(d/f*100).toFixed(2);return An("svg",{ref:_,className:X3.brusher,width:t,height:n+14,children:An("g",{ref:x,className:X3.brusherMargins,children:[An("rect",{ref:w,className:X3.gridBackground}),An("g",{ref:A,className:X3.brush}),An("g",{className:X3.axises,children:[An("g",{ref:k,className:X3.xGrid}),An("g",{ref:C,className:X3.xAxis}),An("text",{x:g/2,y:60,textAnchor:"middle",className:X3.durationRangeText,children:h.selected({count:d,percentage:D,minDuration:Vn(o[0]),maxDuration:Vn(o[1])})})]})]})})},r4=e=>{const{segments:t,groupId:n,groupName:r,offsetTime:i}=e,[o,a]=h((()=>{let e=1/0,r=-1/0;const i=t.filter((e=>e.groupId===n));for(const t of i)e=Math.min(e,t.timeRange[0].getTime()),r=Math.max(r,t.timeRange[1].getTime());return[e,r]}),[t,n]);return An("div",{className:X3.tooltipContent,children:[An("div",{children:r}),An("div",{children:[Vn(o-i)," — ",Vn(a-i)]})]})},i4=s(null),o4=e=>{const{children:t,width:n}=e;return An(i4.Provider,{value:n,children:t})},a4=()=>{},s4=e=>{const{children:t,width:n,onResize:r,debounceResize:i=0}=e,[o]=ZF(n,i);return u((()=>{r?.(o)}),[o,r]),o>0?An(o4,{width:o,children:t}):null},l4=e=>{const{children:t,defaultWidth:n=0,onResize:r=a4,debounceResize:i=0}=e,o=l(null),[a,s]=c(n);return u((()=>{if(!o.current)return;s(o.current.clientWidth);const e=new ResizeObserver((e=>{for(const t of e)s(t.target.clientWidth)}));return e.observe(o.current),()=>e.disconnect()}),[n]),An("div",{ref:o,children:An(s4,{width:a,onResize:r,debounceResize:i,children:t})})},c4=e=>{const{segment:t,offsetTime:n}=e;if(!t.id)return null;const r=t.labelGroup.length>1;return An("div",{className:X3.tooltipContent,children:[r?An("div",{className:X3.labelGroup,children:t.labelGroup.map(((e,t)=>An(Ln,{type:"ui",size:"s",bold:!0,children:e},t)))}):An(Ln,{type:"ui",size:"s",bold:!0,children:t.label}),An("div",{children:[Vn(t.timeRange[0].getTime()-n)," — ",Vn(t.timeRange[1].getTime()-n)]})]})},u4=()=>I2(),d4={top:0,right:0,bottom:20,left:0},f4=300,h4=20,p4=()=>{},g4=e=>{const{width:t=f4,height:n=h4,margins:r=d4,scale:i,domainRange:o,currentSelection:a,tickFormat:s,onChange:c=p4,onReset:d=p4,transitionDuration:f=300}=e,[h,p,g]=G3((()=>i.copy()));u((()=>{g((()=>h.current.domain()===i.domain()&&h.current.range()===i.range()?h.current:i.copy()))}),[i]);const m=Z3(t-r.left-r.right),v=Z3(n-r.top-r.bottom);u((()=>{g((()=>i.copy().domain(o??[]).range([0,m])))}),[o,m,i]);const b=l(null),y=l(null),_=l(null),x=l(null),w=l(null),k=l(null),C=l(c),A=l(d),S=l(u4().tickFormat((()=>""))),M=l(u4().tickPadding(0)),E=l(H3().handleSize(24).on("end",(e=>{if(!e.sourceEvent||!h.current||!C.current)return;if(!(e.selection&&2===e.selection.length)){const[e,t]=h.current.domain();return void C.current(e,t)}const[t,n]=e.selection.map((e=>h.current.invert(e)));C.current(t,n)})));return u((()=>{C.current=c,A.current=d}),[c,d]),u((()=>{if(b.current&&p&&o&&!(o[1]<=o[0])&&(M.current.scale(p).tickFormat(s),S.current.scale(p).tickSize(-v),S.current.ticks(7),M1(y.current).attr("transform",`translate(${r.left},${r.top})`),M1(_.current).transition().duration(f).attr("width",String(m)).attr("height",String(v)),x.current&&(M1(x.current).attr("transform",`translate(0,${v})`),M1(x.current).call(S.current)),w.current&&(M1(w.current).attr("transform",`translate(0,${v})`),M1(w.current).call(M.current).selectAll("text").attr("y",8)),k.current)){const e=M1(k.current);e.select(".selection").attr("rx",2).attr("ry",2),e.call(E.current.extent([[0,0],[m,v]]));const t=[p(a?.[0]??o[0].getTime()),p(a?.[1]??o[1].getTime())];E.current.move(e,t)}}),[m,v,r,o,a,s,p,f]),An("svg",{ref:b,className:X3.brusher,width:t,height:n,children:An("g",{ref:y,className:X3.brusherMargins,children:[An("rect",{ref:_,className:X3.gridBackground}),An("g",{ref:k,className:X3.brush}),An("g",{className:X3.axises,children:[An("g",{ref:x,className:X3.xGrid}),An("g",{ref:w,className:X3.xAxis})]})]})})};M1.prototype.transition=C2;const m4=e=>{const t={failed:"var(--timeline-status-failed, var(--color-status-failed-chart))",broken:"var(--timeline-status-broken, var(--color-status-broken-chart))",passed:"var(--timeline-status-passed, var(--color-status-passed-chart))",skipped:"var(--timeline-status-skipped, var(--color-status-skipped-chart))",unknown:"var(--timeline-status-unknown, var(--color-status-unknown-chart))"};return t[e]||t.unknown},v4=e=>{const t={failed:"var(--color-status-failed-text)",broken:"var(--color-status-broken-text)",passed:"var(--color-status-passed-text)",skipped:"var(--color-status-skipped-text)",unknown:"var(--color-status-unknown-text)"};return t[e]||t.unknown},b4=e=>{if(e>=20)return 4;if(e<4)return 0;const t=(e-4)/16;return 4*(t*(2-t))},y4=100,_4=100,x4=26,w4=20,k4=e=>{const{data:t=[],translations:n}=e,r=p(),{durationRange:i,handleDurationChange:o,durationDomain:a}=(e=>{const t=h((()=>{const t=e.reduce(((e,t)=>{const n=t.segments.map((e=>e.val));return{min:Math.min(e.min,...n),max:Math.max(e.max,...n)}}),{min:1/0,max:-1/0});return[t.min,t.max]}),[e]),[n,r]=c(t[0]),[i,o]=c(t[1]);u((()=>{r(t[0])}),[t[0]]),u((()=>{o(t[1])}),[t[1]]);const a=d(((e,t)=>{r(e),o(t)}),[]);return{durationRange:[n,i],handleDurationChange:a,durationDomain:t}})(t),s=(()=>{const e=f(i4);if(!e)throw new Error("useWidth must be used within a ResponsiveWrapper");return e})(),g=l(null),m=l(null),v=l(null),b=l(null),y=l(null),_=l(null),[x,w,k]=G3((()=>Ji())),[C,A,S]=G3((()=>Zi())),M=l(I2()),E=l(U3()),L=l(V3()),{tooltipRef:T,isVisible:D,handleShowTooltip:F,handleHideTooltip:O,data:z}=YK("bottom"),{tooltipRef:R,isVisible:N,handleShowTooltip:P,handleHideTooltip:I,data:B}=YK("bottom"),j=RY?0:500,W=RY?0:150,H=l(!1),q=t.length,$=Z3(s-y4-_4),U=Z3(24*q),V=U+x4+30,G=h((()=>{const e=[];for(const n of t)for(const t of n.segments)e.push({groupId:n.id,groupName:n.name,label:t.label,labelGroup:t.labelGroup,timeRange:t.timeRange,isRetry:t.isRetry,val:t.val,labelVal:t.val,segment:t,id:t.id});return e}),[t]),Y=h((()=>t.map((e=>({id:e.id,name:e.name})))),[t]),Z=h((()=>[Ui(G,(e=>e.timeRange[0])),$i(G,(e=>e.timeRange[1]))]),[G]),[X,K]=c(Z),[J,Q]=c([null,null]),ee=d((e=>{K((t=>((e,t)=>{if(!e&&!t)return!0;if(!e&&t)return!1;if(e&&!t)return!1;const n=e?.[0]?.getTime()??void 0,r=e?.[1]?.getTime()??void 0,i=t?.[0]?.getTime()??void 0,o=t?.[1]?.getTime()??void 0;return n===i&&r===o})(t,e)?t:e))}),[]),te=d((e=>{Q((t=>((e,t)=>{if(!e&&!t)return!0;if(!e&&t)return!1;if(e&&!t)return!1;const n=e?.[0]??void 0,r=e?.[1]??void 0;return n===(t?.[0]??void 0)&&r===(t?.[1]??void 0)})(t,e)?t:e))}),[]),[ne,re,ie]=G3((()=>rl().domain(Z).range([0,$]).clamp(!0)));u((()=>{ie((()=>ne.current.copy().domain(Z))),ee(Z)}),[...Z,ee]),u((()=>{ie((()=>ne.current.copy().range([0,$]).clamp(!0)))}),[$]);const oe=h((()=>[Ui(G,(e=>e.timeRange[0])),$i(G,(e=>e.timeRange[1]))]),[G]);u((()=>{if(!g.current)return;const e=e=>{const{zoomX:t,zoomY:n}=e.detail;t&&ee(t),n&&te(n)};if(g.current?.addEventListener("zoom",e),!m.current)return;const t=M1(m.current),n=e=>E1(e,m.current);return t.on("mousedown",(e=>{if(null!=M1(window).on("mousemove.zoomRect"))return;const r=n(e);if(r[0]<0||r[0]>$||r[1]<0||r[1]>U)return;H.current=!0;const i=t.append("rect").attr("class",X3.zoomSelection);M1(window).on("mousemove.zoomRect",(e=>{e.stopPropagation();const t=n(e),o=[Math.max(0,Math.min($,t[0])),Math.max(0,Math.min(U,t[1]))];i.attr("x",Math.min(r[0],o[0])).attr("y",Math.min(r[1],o[1])).attr("width",Math.abs(o[0]-r[0])).attr("height",Math.abs(o[1]-r[1]))})).on("mouseup.zoomRect",(e=>{M1(window).on("mousemove.zoomRect",null).on("mouseup.zoomRect",null),i.remove(),H.current=!1;const t=n(e),o=[Math.max(0,Math.min($,t[0])),Math.max(0,Math.min(U,t[1]))];if(r[0]===o[0]&&r[1]===o[1])return;const a=[r[0],o[0]].sort(Li).map((e=>ne.current.invert(e)));a[1].getTime()-a[0].getTime()>10&&g.current?.dispatchEvent(new $3({zoomX:a,zoomY:null}))}),!0),e.stopPropagation()})),()=>{g.current?.removeEventListener("zoom",e)}}),[$,U,J,G,ee,te,A]),u((()=>{const e=X?.[0]&&X?.[1]?X:Z;ie((()=>ne.current.copy().domain(e).range([0,$]).clamp(!0)))}),[X,Z,$]),u((()=>{L.current.scale(A)}),[A,Y]),u((()=>{S((()=>C.current.copy().domain(Y.map((e=>e.id))).range(Y.map(((e,t)=>(t+.5)/q*U)))))}),[Y,q,U]),u((()=>{k((()=>x.current.copy().domain(Y.map((e=>e.id))).range([U/Y.length*.5,U*(1-.5/Y.length)])))}),[Y,U,q]),u((()=>{if(!(g.current&&re&&0!==U&&b.current&&y.current))return;const[e,t]=re.range();if(e===t)return;M.current.scale(re),M.current.ticks(7),M.current.tickFormat((e=>oe[0]?Vn(e.getTime()-oe[0].getTime()):"")),E.current.scale(re).ticks(7).tickFormat((()=>""));M1(b.current).style("stroke-opacity",0).style("fill-opacity",0).attr("transform",`translate(0,${U})`).transition().duration(j).call(M.current).style("stroke-opacity",1).style("fill-opacity",1),E.current.tickSize(U),M1(y.current).attr("transform",`translate(0,${U})`).transition().duration(j).call(E.current);const n=Math.ceil(2*q/Math.sqrt(2)/U/.6),r=x.current.domain().filter(((e,t)=>!(t%n)));let i=Math.min(12,U/r.length*.6*Math.sqrt(2)),o=Math.ceil(_4/(i/Math.sqrt(2)));const a=A.range(),s=Ui(a,((e,t)=>t>0?e-a[t-1]:2*e));i=Math.min(14,.6*Z3(s)*Math.sqrt(2)),o=Math.floor(y4/(i/Math.sqrt(2))),L.current.tickFormat((e=>{const t=Y.find((t=>t.id===e)),n=t?.name??"";return n.length<=o?n:`${n.substring(0,2*o/3)}...${n.substring(n.length-o/3,n.length)}`})),M1(_.current).transition().duration(j).style("font-size",`${i}px`).call(L.current),M1(_.current).selectAll(".tick").each((function(e){const t=e,n=Y.find((e=>e.id===t));n&&M1(this).select("text").on("mouseover",(e=>{F(e.target,n)})).on("mouseout",(e=>{O(e.target)}))}))}),[$,U,q,j,oe,re,A,Y,F,O]),u((()=>{if(!m.current||0===U)return;const e=M1(m.current).selectAll(`rect.${X3.group}`).data(Y,(e=>e.id));e.exit().transition().duration(j).style("stroke-opacity",0).style("fill-opacity",0).remove();const t=e.enter().append("rect").attr("class",X3.group).attr("x",0).attr("y",0).attr("height",0).attr("fill","none").style("fill-opacity",0).style("stroke-opacity",0);e.merge(t).transition().duration(j).attr("width",$).attr("height",U/q).attr("y",(e=>{const t=A(e.id);return Number.isInteger(t)?t-U/q/2:0})).style("fill-opacity",1).style("stroke-opacity",1)}),[Y,$,U,q,j,A,F,O]);const[ae,se]=i,le=h((()=>G.filter((e=>{if(-1===A.domain().indexOf(e.groupId))return!1;const t=e.val;return!(t<ae||t>se)})).length),[A,G,ae,se]),ce=h((()=>G.filter((e=>{if(-1===A.domain().indexOf(e.groupId))return!1;const t=e.val;if(t<ae||t>se)return!1;const[n,r]=re.domain(),[i,o]=e.timeRange;return!(o<n||i>r)}))),[A,re,G,ae,se]);u((()=>{if(!m.current||0===U||!re)return;(async()=>{const e=M1(m.current);let t=e.selectAll(`rect.${X3.segment}`).data(ce,(e=>e.id));if(0===ce.length)return void t.exit().remove();t.exit().transition().duration(j).style("fill-opacity",0).remove();const n=t.enter().append("rect").attr("class",X3.segment).attr("rx",1).attr("ry",1).attr("x",(e=>re(e.timeRange[0]))).attr("y",(e=>(w(e.groupId)||0)-10)).attr("width",0).attr("height",0).style("fill",(e=>m4(e.segment.status))).style("fill-opacity",0);n.on("mouseover",(function(e,t){if(H.current)return;M1(this).transition().duration(W).attr("x",ne.current(t.timeRange[0])-1).attr("width",$i([2,ne.current(t.timeRange[1])-ne.current(t.timeRange[0])])+2).attr("y",(x.current(t.groupId)||0)-11).attr("height",22).style("fill-opacity",1),P(e.target,t)})).on("mouseout",(function(e,t){if(H.current)return;const n=ne.current(t.timeRange[1])-ne.current(t.timeRange[0]);M1(this).transition().duration(W).attr("x",ne.current(t.timeRange[0])).attr("width",$i([2,n])??0).attr("y",(x.current(t.groupId)??0)-10).attr("height",w4).style("fill-opacity",1),I(e.target)})),t=t.merge(n),t.attr("rx",(e=>{const t=re(e.timeRange[1])-re(e.timeRange[0]);return b4(t)})).attr("ry",(e=>{const t=re(e.timeRange[1])-re(e.timeRange[0]);return b4(t)})).attr("stroke-width",(e=>re(e.timeRange[1])-re(e.timeRange[0])>=12?.5:.1)).attr("stroke","var(--timeline-bg, #ffffff)").attr("height",w4),t.transition().duration(j).attr("x",(e=>re(e.timeRange[0]))).attr("y",(e=>(w(e.groupId)||0)-10)).attr("width",(e=>{const t=$i([2,(re(e.timeRange[1])??0)-(re(e.timeRange[0])??0)]);return(t??0)<0?0:t??0})).attr("height",w4).style("fill",(e=>e.isRetry?`url(#gradient-${r}-${e.segment.status})`:m4(e.segment.status))).style("fill-opacity",1)})()}),[ce,$,U,$,j,X,re,W,w,r]),u((()=>{g.current&&M1(g.current).transition().duration(j).attr("width",s).attr("height",V)}),[s,V,j]);const ue=d(((e,t)=>ee([e,t])),[ee]),[de,fe]=re.range(),he=de!==fe;return he?An("div",{className:X3.timelineChart,children:[a[0]!==a[1]&&he&&An(n4,{selectedTestsCount:le,totalTestsCount:G.length,translations:n,width:s,height:76,margins:{top:x4,right:_4,bottom:30,left:y4},domainRange:a,currentSelection:[ae,se],onChange:o,onReset:()=>o(a[0],a[1]),tickFormat:e=>Vn(e)},s),An("svg",{ref:g,width:s,height:V,children:[An("defs",{children:In.map((e=>An("pattern",{id:`gradient-${r}-${e}`,patternUnits:"userSpaceOnUse",width:"10",height:"10",patternTransform:"rotate(-45 5 5)",children:[An("rect",{width:"5",height:"10",fill:v4(e)}),An("rect",{x:"5",width:"5",height:"10",fill:m4(e)})]},e)))}),An("g",{ref:v,className:X3.axises,"data-label":"axises",transform:"translate(100,26)",children:[An("g",{ref:b,className:X3.xAxis,"data-label":"x-axis"}),An("g",{ref:y,className:X3.xGrid,"data-label":"grid"}),An("g",{ref:_,className:X3.groupAxis,"data-label":"groups-axis"})]}),An("g",{ref:m,"data-label":"graph",transform:"translate(100,26)",children:An("rect",{"data-label":"graph-selection",x:0,y:0,width:$,height:U,fill:"transparent"})})]}),Z[0].getTime()!==Z[1].getTime()&&he&&An(g4,{width:s,height:76,margins:{top:x4,right:_4,bottom:30,left:y4},scale:re,domainRange:Z,currentSelection:X,onChange:ue,onReset:()=>ee(Z),tickFormat:e=>Vn(e.getTime()-oe[0].getTime())}),fp(An("div",{ref:T,"data-visible":D,className:X3.tooltip,children:z?.id&&An(r4,{segments:ce,groupId:z.id,groupName:z.name,offsetTime:oe[0].getTime()})}),document.body),fp(An("div",{ref:R,"data-visible":N,className:X3.tooltip,children:B&&An(c4,{segment:B,offsetTime:oe[0].getTime()})}),document.body)]}):null},C4=e=>{const{data:t,width:n,dataId:r,...i}=e,o=h((()=>((e,t)=>{const n=[];for(const r of e){const{host:e,thread:i,historyId:o,id:a,start:s,duration:l,status:c,isRetry:u,name:d}=r,f=s+l,h=q3(e,t),p=q3(i,h),g=n.find((({id:e})=>e===p)),m=g?.segments??[],v=o??a,b=-1!==m.findIndex((({id:e})=>e===v)),y=m.find((({timeRange:e})=>e[0].getTime()===s&&e[1].getTime()===f));b||y||m.push({label:d,labelGroup:[d],timeRange:[new Date(s),new Date(f)],val:l,status:c,id:v,isRetry:u}),!b&&y&&y.labelGroup.push(r.name),g?g.segments=m:n.push({id:p,name:i,segments:m})}return n})(t,r)),[t,r]);return An("div",{className:X3.timelineContainer,children:An(l4,{defaultWidth:n,children:An(k4,{...i,data:o},r)})})};var A4={"metadata-item-title":"styles_metadata-item-title__vvDM7","metadata-item-value":"styles_metadata-item-value__cfOcH","metadata-test-type":"styles_metadata-test-type__g74xb","metadata-color-badge":"styles_metadata-color-badge__Aartr","status-passed":"styles_status-passed__t6OIX","status-failed":"styles_status-failed__cyIIg","status-broken":"styles_status-broken__B3Hmt","status-skipped":"styles_status-skipped__cvNTT","status-unknown":"styles_status-unknown__FvkCG"};const S4=({count:e})=>An(Ln,{"data-testid":"metadata-value",type:"ui",size:"m",tag:"div",className:A4["metadata-item-value"],children:e}),M4=({status:e,count:t})=>An("div",{"data-testid":"metadata-value",className:A4["metadata-test-type"],children:[An("div",{className:ie(A4["metadata-color-badge"],A4?.[`status-${e}`])}),An(Ln,{type:"ui",size:"s",children:t})]}),E4=({className:e,renderComponent:t=S4,props:n,...r})=>{const{title:i}=n||{};return An("div",{...r,className:ie("metadata-item",e),children:[An(Ln,{type:"ui",size:"s",tag:"div",className:A4["metadata-item-title"],children:i}),An(t||S4,{...n})]})};var L4={wrapper:"styles_wrapper__PZ24k",row:"styles_row__ndzQ1",pie:"styles_pie__bR8Vy",content:"styles_content__xx8wB",header:"styles_header__Lb-Ke",title:"styles_title__T589E",createdAt:"styles_createdAt__lBtju",reportStatus:"styles_reportStatus__gG5y4",metadata:"styles_metadata__4u-BW",statistics:"styles_statistics__RgaOy",pluginName:"styles_pluginName__c3AiZ"};const T4=e=>{const{createdAt:t,i18n:n}=e;if(!t)return null;const r=n("createdAt",{createdAt:t})??new Date(t).toLocaleDateString("en-US",{month:"long",day:"numeric",year:"numeric",hour:"numeric",minute:"numeric",second:"numeric"});return An(Ln,{tag:"time",size:"s",className:L4.createdAt,dateTime:t.toString(),children:r})},D4=e=>{const{statistic:t}=e,{percentage:n,slices:r}=Oc(t);return An(YU,{className:L4.chart,slices:r,percentage:Math.floor(n)})},F4=e=>{const{status:t,duration:n,i18n:r}=e,i=Vn(n);return An("p",{className:L4.reportStatus,children:[An(F_,{status:t,children:r(`status.${t}`)??t}),An("span",{children:[An(Ln,{type:"ui",size:"s",children:r("in")??"in"}),An("span",{children:" "}),An(Ln,{type:"ui",size:"s",bold:!0,children:i})]})]})},O4=e=>e>999?"999+":e,z4=e=>{const{flakyCount:t=0,newCount:n=0,retryCount:r=0,i18n:i}=e;return An("div",{className:L4.metadata,children:[An(ck,{tooltip:i("metadata.new",{count:n})??`${n} new tests`,icon:Sn.testNew,children:0===n?"-":O4(n)}),An(ck,{tooltip:i("metadata.flaky",{count:t})??`${t} flaky tests`,icon:Sn.lineIconBomb2,children:0===t?"-":O4(t)}),An(ck,{tooltip:i("metadata.retry",{count:r})??`${r} retry tests`,icon:Sn.lineGeneralZap,children:0===r?"-":O4(r)})]})},R4=e=>{const{stats:t,i18n:n}=e,r=h((()=>["failed","broken","passed","skipped","unknown"].map((e=>({label:ig.capitalize(n(`status.${e}`)??e),value:t[e],status:e}))).filter((e=>e.value&&e.value>0))),[t,n]);return An("div",{className:L4.statistics,children:[An(E4,{props:{count:t.total,title:n("total")??"Total"},renderComponent:M4}),r.map((e=>An(E4,{props:{count:e.value,title:e.label,status:e.status},renderComponent:M4},e.label)))]})},N4=e=>{const{summary:t,i18n:n}=e,{href:r,remoteHref:i,status:o,stats:a,name:s,duration:l,createdAt:c,newTests:u,flakyTests:d,retryTests:f,plugin:h}=t,p=i||r,g="string"==typeof p;return An(g?"a":"div",{className:L4.wrapper,...g?{href:p,target:"_blank",rel:"noreferrer"}:{},onClick:g?e=>{""!==window.getSelection()?.toString()&&e.preventDefault()}:void 0,"data-testid":"summary-report-card",draggable:!1,children:[An("div",{className:L4.row,children:[An("div",{className:L4.content,children:[An("div",{className:L4.header,children:[h&&An(Tn,{type:"ui",tag:"small",size:"s",className:L4.pluginName,children:h}),An(Dn,{tag:"h2",size:"s",className:L4.title,children:s}),An(T4,{createdAt:c,i18n:n}),An(F4,{status:o,duration:l,i18n:n})]}),An(z4,{newCount:u?.length,flakyCount:d?.length,retryCount:f?.length,i18n:n})]}),An("div",{className:L4.pie,children:An(D4,{statistic:a})})]}),An(R4,{stats:a,i18n:n})]})};export{Op as ArrowButton,$y as Attachment,Up as AttachmentCode,Uy as AttachmentEmpty,Gp as AttachmentImage,Wg as AttachmentVideo,zn as Button,Pn as ButtonLink,Tn as Code,Vy as CodeViewer,A_ as Counter,i0 as CurrentStatusChartWidget,HX as DEFAULT_HEAT_MAP_EMPTY_ARIA_LABEL,IX as DEFAULT_HEAT_MAP_EMPTY_COLOR,WX as DEFAULT_HEAT_MAP_EMPTY_LABEL,UX as DEFAULT_HEAT_MAP_FORCE_SQUARE,BX as DEFAULT_HEAT_MAP_HEIGHT,VX as DEFAULT_HEAT_MAP_VALUE_FORMAT,jX as DEFAULT_HEAT_MAP_WIDTH,qX as DEFAULT_HEAT_MAP_X_INNER_PADDING,$X as DEFAULT_HEAT_MAP_Y_INNER_PADDING,Nn as DropdownButton,p0 as DurationDynamicsChartWidget,d0 as DurationsChartWidget,jp as EmptyView,Yw as Grid,tk as GridItem,Dn as Heading,JX as HeatMap,QX as HeatMapWidget,qg as HtmlPreview,Gm as HttpAttachment,Rn as IconButton,ck as IconLabel,jg as ImageDiff,T_ as Label,nk as LanguagePicker,E_ as Link,pf as LinkifiedText,Hh as Loadable,jy as MarkdownPreview,Tp as Menu,s_ as Modal,$h as PageLoader,P_ as ReportLogo,R_ as ReportLogoFull,N4 as ReportSummaryCard,Jh as SearchBox,En as Spinner,vJ as StabilityDistributionWidget,CJ as StatusAgePyramidChartWidget,a0 as StatusDynamicsChartWidget,F_ as StatusLabel,c0 as StatusTransitionsChartWidget,YU as SuccessRatePieChart,Mn as SvgIcon,Eg as Tag,_J as TestBaseGrowthDynamicsChartWidget,VJ as TestingPyramidWidget,Ln as Text,ik as ThemeButton,EZ as ThemeProvider,C4 as Timeline,M_ as Toggle,Ih as Tooltip,jh as TooltipWrapper,f0 as TrSeveritiesChartWidget,k_ as Tree,y_ as TreeHeader,m_ as TreeItem,u_ as TreeItemIcon,AZ as TreeMapChart,FZ as TreeMapChartWidget,v_ as TreeSection,b_ as TreeStatusBar,jU as TrendChart,NU as TrendChartKind,WU as TrendChartWidget,W_ as Widget,Sn as allureIcons,GX as defaultHeatMapAxisLeftConfig,YX as defaultHeatMapAxisTopConfig,ZX as defaultHeatMapLegendConfig,PX as defaultHeatMapMarginConfig,BY as defaultTreeChartConfig,LU as defaultTrendChartAxisBottomConfig,TU as defaultTrendChartAxisLeftConfig,zU as defaultTrendChartConfig,EU as defaultTrendChartLegendConfig,DU as defaultTrendChartMarginConfig,FU as defaultTrendChartXScaleConfig,OU as defaultTrendChartYScaleConfig,IU as makeSymlogScale,BU as makeSymlogScaleBySeries,LZ as useCoverageDiffColors,DZ as useCoverageDiffTextColors,Wh as useElementTruncation,TZ as useSuccessRateDistributionColors,MZ as useTheme,Bh as useTooltip};
25
25
  //# sourceMappingURL=index.js.map