@allurereport/web-awesome 3.6.1 → 3.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (34) hide show
  1. package/dist/multi/app-2db623c010c07fd8a909.js +2 -0
  2. package/dist/multi/manifest.json +23 -23
  3. package/dist/multi/{styles-3515d3bdd45651cd4e66.css → styles-9f7a23a0c8b79fa76981.css} +2 -2
  4. package/dist/single/app-c06dada6aab4e69b7f74.js +2 -0
  5. package/dist/single/manifest.json +1 -1
  6. package/package.json +6 -6
  7. package/src/components/TestResult/TrError/styles.scss +5 -1
  8. package/src/components/TestResult/TrSteps/styles.scss +1 -0
  9. package/src/stores/treeFilters/utils.ts +6 -4
  10. package/dist/multi/app-1c928f385beb78e2c2e8.js +0 -2
  11. package/dist/single/app-16786ab64ac3e094685f.js +0 -2
  12. /package/dist/multi/{173.app-1c928f385beb78e2c2e8.js → 173.app-2db623c010c07fd8a909.js} +0 -0
  13. /package/dist/multi/{174.app-1c928f385beb78e2c2e8.js → 174.app-2db623c010c07fd8a909.js} +0 -0
  14. /package/dist/multi/{252.app-1c928f385beb78e2c2e8.js → 252.app-2db623c010c07fd8a909.js} +0 -0
  15. /package/dist/multi/{282.app-1c928f385beb78e2c2e8.js → 282.app-2db623c010c07fd8a909.js} +0 -0
  16. /package/dist/multi/{29.app-1c928f385beb78e2c2e8.js → 29.app-2db623c010c07fd8a909.js} +0 -0
  17. /package/dist/multi/{310.app-1c928f385beb78e2c2e8.js → 310.app-2db623c010c07fd8a909.js} +0 -0
  18. /package/dist/multi/{416.app-1c928f385beb78e2c2e8.js → 416.app-2db623c010c07fd8a909.js} +0 -0
  19. /package/dist/multi/{507.app-1c928f385beb78e2c2e8.js → 507.app-2db623c010c07fd8a909.js} +0 -0
  20. /package/dist/multi/{527.app-1c928f385beb78e2c2e8.js → 527.app-2db623c010c07fd8a909.js} +0 -0
  21. /package/dist/multi/{600.app-1c928f385beb78e2c2e8.js → 600.app-2db623c010c07fd8a909.js} +0 -0
  22. /package/dist/multi/{605.app-1c928f385beb78e2c2e8.js → 605.app-2db623c010c07fd8a909.js} +0 -0
  23. /package/dist/multi/{638.app-1c928f385beb78e2c2e8.js → 638.app-2db623c010c07fd8a909.js} +0 -0
  24. /package/dist/multi/{672.app-1c928f385beb78e2c2e8.js → 672.app-2db623c010c07fd8a909.js} +0 -0
  25. /package/dist/multi/{686.app-1c928f385beb78e2c2e8.js → 686.app-2db623c010c07fd8a909.js} +0 -0
  26. /package/dist/multi/{725.app-1c928f385beb78e2c2e8.js → 725.app-2db623c010c07fd8a909.js} +0 -0
  27. /package/dist/multi/{741.app-1c928f385beb78e2c2e8.js → 741.app-2db623c010c07fd8a909.js} +0 -0
  28. /package/dist/multi/{749.app-1c928f385beb78e2c2e8.js → 749.app-2db623c010c07fd8a909.js} +0 -0
  29. /package/dist/multi/{755.app-1c928f385beb78e2c2e8.js → 755.app-2db623c010c07fd8a909.js} +0 -0
  30. /package/dist/multi/{894.app-1c928f385beb78e2c2e8.js → 894.app-2db623c010c07fd8a909.js} +0 -0
  31. /package/dist/multi/{943.app-1c928f385beb78e2c2e8.js → 943.app-2db623c010c07fd8a909.js} +0 -0
  32. /package/dist/multi/{980.app-1c928f385beb78e2c2e8.js → 980.app-2db623c010c07fd8a909.js} +0 -0
  33. /package/dist/multi/{app-1c928f385beb78e2c2e8.js.LICENSE.txt → app-2db623c010c07fd8a909.js.LICENSE.txt} +0 -0
  34. /package/dist/single/{app-16786ab64ac3e094685f.js.LICENSE.txt → app-c06dada6aab4e69b7f74.js.LICENSE.txt} +0 -0
@@ -1,2 +0,0 @@
1
- /*! For license information please see app-1c928f385beb78e2c2e8.js.LICENSE.txt */
2
- !function(){var e,t,n,r,i={7985:function(e,t,n){"use strict";function r(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)}}function i(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}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(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){l=!0,a=e},f:function(){try{s||null==n.return||n.return()}finally{if(l)throw a}}}}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var a,s=n(5410),l={fg:"#FFF",bg:"#000",newline:!1,escapeXML:!1,stream:!1,colors:(a={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"},f(0,5).forEach((function(e){f(0,5).forEach((function(t){f(0,5).forEach((function(n){return function(e,t,n,r){var o=16+36*e+6*t+n,a=e>0?40*e+55:0,s=t>0?40*t+55:0,l=n>0?40*n+55:0;r[o]=function(e){var t,n=[],r=i(e);try{for(r.s();!(t=r.n()).done;){var o=t.value;n.push(c(o))}}catch(e){r.e(e)}finally{r.f()}return"#"+n.join("")}([a,s,l])}(e,t,n,a)}))}))})),f(0,23).forEach((function(e){var t=e+232,n=c(10*e+8);a[t]="#"+n+n+n})),a)};function c(e){for(var t=e.toString(16);t.length<2;)t="0"+t;return t}function u(e,t,n,r){var i;return"text"===t?i=function(e,t){if(t.escapeXML)return s.encodeXML(e);return e}(n,r):"display"===t?i=function(e,t,n){t=parseInt(t,10);var r,i={"-1":function(){return"<br/>"},0:function(){return e.length&&d(e)},1:function(){return p(e,"b")},3:function(){return p(e,"i")},4:function(){return p(e,"u")},8:function(){return g(e,"display:none")},9:function(){return p(e,"strike")},22:function(){return g(e,"font-weight:normal;text-decoration:none;font-style:normal")},23:function(){return b(e,"i")},24:function(){return b(e,"u")},39:function(){return m(e,n.fg)},49:function(){return v(e,n.bg)},53:function(){return g(e,"text-decoration:overline")}};i[t]?r=i[t]():4<t&&t<7?r=p(e,"blink"):29<t&&t<38?r=m(e,n.colors[t-30]):39<t&&t<48?r=v(e,n.colors[t-40]):89<t&&t<98?r=m(e,n.colors[t-90+8]):99<t&&t<108&&(r=v(e,n.colors[t-100+8]));return r}(e,n,r):"xterm256Foreground"===t?i=m(e,r.colors[n]):"xterm256Background"===t?i=v(e,r.colors[n]):"rgb"===t&&(i=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 g(e,(38===n?"color:#":"background-color:#")+i)}(e,n)),i}function d(e){var t=e.slice(0);return e.length=0,t.reverse().map((function(e){return"</"+e+">"})).join("")}function f(e,t){for(var n=[],r=e;r<=t;r++)n.push(r);return n}function h(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 p(e,t,n){return n||(n=""),e.push(t),"<".concat(t).concat(n?' style="'.concat(n,'"'):"",">")}function g(e,t){return p(e,"span",t)}function m(e,t){return p(e,"span","color:"+t)}function v(e,t){return p(e,"span","background-color:"+t)}function b(e,t){var n;if(e.slice(-1)[0]===t&&(n=e.pop()),n)return"</"+t+">"}var y=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),(t=t||{}).colors&&(t.colors=Object.assign({},l.colors,t.colors)),this.options=Object.assign({},l,t),this.stack=[],this.stickyStack=[]}var t,n,o;return t=e,(n=[{key:"toHtml",value:function(e){var t=this;e="string"==typeof e?[e]:e;var n=this.stack,r=this.options,o=[];return this.stickyStack.forEach((function(e){var t=u(n,e.token,e.data,r);t&&o.push(t)})),function(e,t,n){var r=!1;function o(){return""}function a(e){return t.newline?n("display",-1):n("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 n("rgb",e),""}},{pattern:/^\x1b\[38;5;(\d+)m/,sub:function(e,t){return n("xterm256Foreground",t),""}},{pattern:/^\x1b\[48;5;(\d+)m/,sub:function(e,t){return n("xterm256Background",t),""}},{pattern:/^\n/,sub:a},{pattern:/^\r+\n/,sub:a},{pattern:/^\r/,sub:a},{pattern:/^\x1b\[((?:\d{1,3};?)+|)m/,sub:function(e,t){r=!0,0===t.trim().length&&(t="0");var o,a=i(t=t.trimRight(";").split(";"));try{for(a.s();!(o=a.n()).done;){var s=o.value;n("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 n("text",e),""}}];function l(t,n){n>3&&r||(r=!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(""),r,(function(e,i){var a=u(n,e,i,r);a&&o.push(a),r.stream&&(t.stickyStack=function(e,t,n){var r;return"text"!==t&&(e=e.filter((r=h(n),function(e){return(null===r||e.category!==r)&&"all"!==r}))).push({token:t,data:n,category:h(n)}),e}(t.stickyStack,e,i))})),n.length&&o.push(d(n)),o.join("")}}])&&r(t.prototype,n),o&&r(t,o),e}();e.exports=y},4814:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.decodeHTML=t.decodeHTMLStrict=t.decodeXML=void 0;var i=r(n(1662)),o=r(n(7194)),a=r(n(2082)),s=r(n(1872)),l=/&(?:[a-zA-Z0-9]+|#[xX][\da-fA-F]+|#\d+);/g;function c(e){var t=d(e);return function(e){return String(e).replace(l,t)}}t.decodeXML=c(a.default),t.decodeHTMLStrict=c(i.default);var u=function(e,t){return e<t?1:-1};function d(e){return function(t){if("#"===t.charAt(1)){var n=t.charAt(2);return"X"===n||"x"===n?s.default(parseInt(t.substr(3),16)):s.default(parseInt(t.substr(2),10))}return e[t.slice(1,-1)]||t}}t.decodeHTML=function(){for(var e=Object.keys(o.default).sort(u),t=Object.keys(i.default).sort(u),n=0,r=0;n<t.length;n++)e[r]===t[n]?(t[n]+=";?",r++):t[n]+=";";var a=new RegExp("&(?:"+t.join("|")+"|#[xX][\\da-fA-F]+;?|#\\d+;?)","g"),s=d(i.default);function l(e){return";"!==e.substr(-1)&&(e+=";"),s(e)}return function(e){return String(e).replace(a,l)}}()},1872:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=r(n(4103)),o=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)};t.default=function(e){return e>=55296&&e<=57343||e>1114111?"�":(e in i.default&&(e=i.default[e]),o(e))}},8018:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.escapeUTF8=t.escape=t.encodeNonAsciiHTML=t.encodeHTML=t.encodeXML=void 0;var i=u(r(n(2082)).default),o=d(i);t.encodeXML=m(i);var a,s,l=u(r(n(1662)).default),c=d(l);function u(e){return Object.keys(e).sort().reduce((function(t,n){return t[e[n]]="&"+n+";",t}),{})}function d(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")}t.encodeHTML=(a=l,s=c,function(e){return e.replace(s,(function(e){return a[e]})).replace(f,p)}),t.encodeNonAsciiHTML=m(l);var f=/(?:[\x80-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/g,h=null!=String.prototype.codePointAt?function(e){return e.codePointAt(0)}:function(e){return 1024*(e.charCodeAt(0)-55296)+e.charCodeAt(1)-56320+65536};function p(e){return"&#x"+(e.length>1?h(e):e.charCodeAt(0)).toString(16).toUpperCase()+";"}var g=new RegExp(o.source+"|"+f.source,"g");function m(e){return function(t){return t.replace(g,(function(t){return e[t]||p(t)}))}}t.escape=function(e){return e.replace(g,p)},t.escapeUTF8=function(e){return e.replace(o,p)}},5410:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.decodeXMLStrict=t.decodeHTML5Strict=t.decodeHTML4Strict=t.decodeHTML5=t.decodeHTML4=t.decodeHTMLStrict=t.decodeHTML=t.decodeXML=t.encodeHTML5=t.encodeHTML4=t.escapeUTF8=t.escape=t.encodeNonAsciiHTML=t.encodeHTML=t.encodeXML=t.encode=t.decodeStrict=t.decode=void 0;var r=n(4814),i=n(8018);t.decode=function(e,t){return(!t||t<=0?r.decodeXML:r.decodeHTML)(e)},t.decodeStrict=function(e,t){return(!t||t<=0?r.decodeXML:r.decodeHTMLStrict)(e)},t.encode=function(e,t){return(!t||t<=0?i.encodeXML:i.encodeHTML)(e)};var o=n(8018);Object.defineProperty(t,"encodeXML",{enumerable:!0,get:function(){return o.encodeXML}}),Object.defineProperty(t,"encodeHTML",{enumerable:!0,get:function(){return o.encodeHTML}}),Object.defineProperty(t,"encodeNonAsciiHTML",{enumerable:!0,get:function(){return o.encodeNonAsciiHTML}}),Object.defineProperty(t,"escape",{enumerable:!0,get:function(){return o.escape}}),Object.defineProperty(t,"escapeUTF8",{enumerable:!0,get:function(){return o.escapeUTF8}}),Object.defineProperty(t,"encodeHTML4",{enumerable:!0,get:function(){return o.encodeHTML}}),Object.defineProperty(t,"encodeHTML5",{enumerable:!0,get:function(){return o.encodeHTML}});var a=n(4814);Object.defineProperty(t,"decodeXML",{enumerable:!0,get:function(){return a.decodeXML}}),Object.defineProperty(t,"decodeHTML",{enumerable:!0,get:function(){return a.decodeHTML}}),Object.defineProperty(t,"decodeHTMLStrict",{enumerable:!0,get:function(){return a.decodeHTMLStrict}}),Object.defineProperty(t,"decodeHTML4",{enumerable:!0,get:function(){return a.decodeHTML}}),Object.defineProperty(t,"decodeHTML5",{enumerable:!0,get:function(){return a.decodeHTML}}),Object.defineProperty(t,"decodeHTML4Strict",{enumerable:!0,get:function(){return a.decodeHTMLStrict}}),Object.defineProperty(t,"decodeHTML5Strict",{enumerable:!0,get:function(){return a.decodeHTMLStrict}}),Object.defineProperty(t,"decodeXMLStrict",{enumerable:!0,get:function(){return a.decodeXML}})},3599:function(e,t,n){var r=n(1990),i=n(3232),o=n(5203),a=n(5471),s=n(1639);function l(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])}}l.prototype.clear=r,l.prototype.delete=i,l.prototype.get=o,l.prototype.has=a,l.prototype.set=s,e.exports=l},8469:function(e,t,n){var r=n(5944),i=n(8638),o=n(5577),a=n(1685),s=n(5949);function l(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])}}l.prototype.clear=r,l.prototype.delete=i,l.prototype.get=o,l.prototype.has=a,l.prototype.set=s,e.exports=l},3265:function(e,t,n){var r=n(788)(n(4367),"Map");e.exports=r},7563:function(e,t,n){var r=n(6906),i=n(6044),o=n(5967),a=n(4419),s=n(7659);function l(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])}}l.prototype.clear=r,l.prototype.delete=i,l.prototype.get=o,l.prototype.has=a,l.prototype.set=s,e.exports=l},1507:function(e,t,n){var r=n(4367).Symbol;e.exports=r},1898:function(e){e.exports=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}},1363:function(e,t,n){var r=n(2838);e.exports=function(e,t){for(var n=e.length;n--;)if(r(e[n][0],t))return n;return-1}},236:function(e,t,n){var r=n(1191),i=n(7807);e.exports=function(e,t){for(var n=0,o=(t=r(t,e)).length;null!=e&&n<o;)e=e[i(t[n++])];return n&&n==o?e:void 0}},8094:function(e,t,n){var r=n(1507),i=n(5477),o=n(4848),a=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":a&&a in Object(e)?i(e):o(e)}},2837:function(e,t,n){var r=n(776),i=n(3922),o=n(575),a=n(8579),s=/^\[object .+?Constructor\]$/,l=Function.prototype,c=Object.prototype,u=l.toString,d=c.hasOwnProperty,f=RegExp("^"+u.call(d).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!o(e)||i(e))&&(r(e)?f:s).test(a(e))}},4726:function(e,t,n){var r=n(1507),i=n(1898),o=n(3391),a=n(752),s=r?r.prototype:void 0,l=s?s.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(o(t))return i(t,e)+"";if(a(t))return l?l.call(t):"";var n=t+"";return"0"==n&&1/t==-1/0?"-0":n}},1191:function(e,t,n){var r=n(3391),i=n(1956),o=n(1884),a=n(6992);e.exports=function(e,t){return r(e)?e:i(e,t)?[e]:o(a(e))}},6515:function(e,t,n){var r=n(4367)["__core-js_shared__"];e.exports=r},474:function(e,t,n){var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=r},5253:function(e,t,n){var r=n(6312);e.exports=function(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}},788:function(e,t,n){var r=n(2837),i=n(8430);e.exports=function(e,t){var n=i(e,t);return r(n)?n:void 0}},8629:function(e,t,n){var r=n(6933)(Object.getPrototypeOf,Object);e.exports=r},5477:function(e,t,n){var r=n(1507),i=Object.prototype,o=i.hasOwnProperty,a=i.toString,s=r?r.toStringTag:void 0;e.exports=function(e){var t=o.call(e,s),n=e[s];try{e[s]=void 0;var r=!0}catch(e){}var i=a.call(e);return r&&(t?e[s]=n:delete e[s]),i}},8430:function(e){e.exports=function(e,t){return null==e?void 0:e[t]}},1990:function(e,t,n){var r=n(312);e.exports=function(){this.__data__=r?r(null):{},this.size=0}},3232:function(e){e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},5203:function(e,t,n){var r=n(312),i=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(r){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return i.call(t,e)?t[e]:void 0}},5471:function(e,t,n){var r=n(312),i=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return r?void 0!==t[e]:i.call(t,e)}},1639:function(e,t,n){var r=n(312);e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=r&&void 0===t?"__lodash_hash_undefined__":t,this}},1956:function(e,t,n){var r=n(3391),i=n(752),o=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;e.exports=function(e,t){if(r(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!i(e))||(a.test(e)||!o.test(e)||null!=t&&e in Object(t))}},6312:function(e){e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},3922:function(e,t,n){var r,i=n(6515),o=(r=/[^.]+$/.exec(i&&i.keys&&i.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";e.exports=function(e){return!!o&&o in e}},5944:function(e){e.exports=function(){this.__data__=[],this.size=0}},8638:function(e,t,n){var r=n(1363),i=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=r(t,e);return!(n<0)&&(n==t.length-1?t.pop():i.call(t,n,1),--this.size,!0)}},5577:function(e,t,n){var r=n(1363);e.exports=function(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}},1685:function(e,t,n){var r=n(1363);e.exports=function(e){return r(this.__data__,e)>-1}},5949:function(e,t,n){var r=n(1363);e.exports=function(e,t){var n=this.__data__,i=r(n,e);return i<0?(++this.size,n.push([e,t])):n[i][1]=t,this}},6906:function(e,t,n){var r=n(3599),i=n(8469),o=n(3265);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(o||i),string:new r}}},6044:function(e,t,n){var r=n(5253);e.exports=function(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}},5967:function(e,t,n){var r=n(5253);e.exports=function(e){return r(this,e).get(e)}},4419:function(e,t,n){var r=n(5253);e.exports=function(e){return r(this,e).has(e)}},7659:function(e,t,n){var r=n(5253);e.exports=function(e,t){var n=r(this,e),i=n.size;return n.set(e,t),this.size+=n.size==i?0:1,this}},7854:function(e,t,n){var r=n(7482);e.exports=function(e){var t=r(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}},312:function(e,t,n){var r=n(788)(Object,"create");e.exports=r},4848:function(e){var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},6933:function(e){e.exports=function(e,t){return function(n){return e(t(n))}}},4367:function(e,t,n){var r=n(474),i="object"==typeof self&&self&&self.Object===Object&&self,o=r||i||Function("return this")();e.exports=o},1884:function(e,t,n){var r=n(7854),i=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o=/\\(\\)?/g,a=r((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(i,(function(e,n,r,i){t.push(r?i.replace(o,"$1"):n||e)})),t}));e.exports=a},7807:function(e,t,n){var r=n(752);e.exports=function(e){if("string"==typeof e||r(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}},8579:function(e){var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},2838:function(e){e.exports=function(e,t){return e===t||e!=e&&t!=t}},4818:function(e,t,n){var r=n(236);e.exports=function(e,t,n){var i=null==e?void 0:r(e,t);return void 0===i?n:i}},3391:function(e){var t=Array.isArray;e.exports=t},776:function(e,t,n){var r=n(8094),i=n(575);e.exports=function(e){if(!i(e))return!1;var t=r(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},575:function(e){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},3160:function(e){e.exports=function(e){return null!=e&&"object"==typeof e}},4717:function(e,t,n){var r=n(8094),i=n(8629),o=n(3160),a=Function.prototype,s=Object.prototype,l=a.toString,c=s.hasOwnProperty,u=l.call(Object);e.exports=function(e){if(!o(e)||"[object Object]"!=r(e))return!1;var t=i(e);if(null===t)return!0;var n=c.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&l.call(n)==u}},752:function(e,t,n){var r=n(8094),i=n(3160);e.exports=function(e){return"symbol"==typeof e||i(e)&&"[object Symbol]"==r(e)}},7482:function(e,t,n){var r=n(7563);function i(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=e.apply(this,r);return n.cache=o.set(i,a)||o,a};return n.cache=new(i.Cache||r),n}i.Cache=r,e.exports=i},6992:function(e,t,n){var r=n(4726);e.exports=function(e){return null==e?"":r(e)}},7228:function(e,t,n){var r={"./ar.json":[5310,[310]],"./az.json":[9686,[686]],"./de.json":[5894,[894]],"./en.json":[4174,[174]],"./es.json":[6725,[725]],"./fr.json":[4605,[605]],"./he.json":[6282,[282]],"./hy.json":[4638,[638]],"./it.json":[3672,[672]],"./ja.json":[7980,[980]],"./ka.json":[9173,[173]],"./kr.json":[7416,[416]],"./nl.json":[4943,[943]],"./pl.json":[1029,[29]],"./pt.json":[7741,[741]],"./ru.json":[4600,[600]],"./sv.json":[8252,[252]],"./tr.json":[9755,[755]],"./uk.json":[2749,[749]],"./zh-TW.json":[3888,[507]],"./zh.json":[9527,[527]]};function i(e){if(!n.o(r,e))return Promise.resolve().then((function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}));var t=r[e],i=t[0];return n.e(t[1][0]).then((function(){return n.t(i,19)}))}i.keys=function(){return Object.keys(r)},i.id=7228,e.exports=i},4103:function(e){"use strict";e.exports=JSON.parse('{"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}')},1662:function(e){"use strict";e.exports=JSON.parse('{"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":"‌"}')},7194:function(e){"use strict";e.exports=JSON.parse('{"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":"ÿ"}')},2082:function(e){"use strict";e.exports=JSON.parse('{"amp":"&","apos":"\'","gt":">","lt":"<","quot":"\\""}')}},o={};function a(e){var t=o[e];if(void 0!==t)return t.exports;var n=o[e]={exports:{}};return i[e].call(n.exports,n,n.exports,a),n.exports}a.m=i,t=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},a.t=function(n,r){if(1&r&&(n=this(n)),8&r)return n;if("object"==typeof n&&n){if(4&r&&n.__esModule)return n;if(16&r&&"function"==typeof n.then)return n}var i=Object.create(null);a.r(i);var o={};e=e||[null,t({}),t([]),t(t)];for(var s=2&r&&n;("object"==typeof s||"function"==typeof s)&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((function(e){o[e]=function(){return n[e]}}));return o.default=function(){return n},a.d(i,o),i},a.d=function(e,t){for(var n in t)a.o(t,n)&&!a.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},a.f={},a.e=function(e){return Promise.all(Object.keys(a.f).reduce((function(t,n){return a.f[n](e,t),t}),[]))},a.u=function(e){return e+".app-"+a.h()+".js"},a.miniCssF=function(e){},a.h=function(){return"1c928f385beb78e2c2e8"},a.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n={},r="@allurereport/web-awesome:",a.l=function(e,t,i,o){if(n[e])n[e].push(t);else{var s,l;if(void 0!==i)for(var c=document.getElementsByTagName("script"),u=0;u<c.length;u++){var d=c[u];if(d.getAttribute("src")==e||d.getAttribute("data-webpack")==r+i){s=d;break}}s||(l=!0,(s=document.createElement("script")).charset="utf-8",a.nc&&s.setAttribute("nonce",a.nc),s.setAttribute("data-webpack",r+i),s.src=e),n[e]=[t];var f=function(t,r){s.onerror=s.onload=null,clearTimeout(h);var i=n[e];if(delete n[e],s.parentNode&&s.parentNode.removeChild(s),i&&i.forEach((function(e){return e(r)})),t)return t(r)},h=setTimeout(f.bind(null,void 0,{type:"timeout",target:s}),12e4);s.onerror=f.bind(null,s.onerror),s.onload=f.bind(null,s.onload),l&&document.head.appendChild(s)}},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},function(){var e;a.g.importScripts&&(e=a.g.location+"");var t=a.g.document;if(!e&&t&&(t.currentScript&&"SCRIPT"===t.currentScript.tagName.toUpperCase()&&(e=t.currentScript.src),!e)){var n=t.getElementsByTagName("script");if(n.length)for(var r=n.length-1;r>-1&&(!e||!/^http(s?):/.test(e));)e=n[r--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),a.p=e}(),function(){var e={792:0};a.f.j=function(t,n){var r=a.o(e,t)?e[t]:void 0;if(0!==r)if(r)n.push(r[2]);else{var i=new Promise((function(n,i){r=e[t]=[n,i]}));n.push(r[2]=i);var o=a.p+a.u(t),s=new Error;a.l(o,(function(n){if(a.o(e,t)&&(0!==(r=e[t])&&(e[t]=void 0),r)){var i=n&&("load"===n.type?"missing":n.type),o=n&&n.target&&n.target.src;s.message="Loading chunk "+t+" failed.\n("+i+": "+o+")",s.name="ChunkLoadError",s.type=i,s.request=o,r[1](s)}}),"chunk-"+t,t)}};var t=function(t,n){var r,i,o=n[0],s=n[1],l=n[2],c=0;if(o.some((function(t){return 0!==e[t]}))){for(r in s)a.o(s,r)&&(a.m[r]=s[r]);if(l)l(a)}for(t&&t(n);c<o.length;c++)i=o[c],a.o(e,i)&&e[i]&&e[i][0](),e[i]=0},n=self.webpackChunk_allurereport_web_awesome=self.webpackChunk_allurereport_web_awesome||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))}(),function(){"use strict";var e={};a.r(e),a.d(e,{"status-broken":function(){return K8},"status-failed":function(){return J8},"status-passed":function(){return Q8},"status-skipped":function(){return e7},"status-unknown":function(){return t7},"test-result-status":function(){return n7},"test-result-status-icon":function(){return r7},"test-result-status-text":function(){return i7}});var t={};a.r(t),a.d(t,{"message-color-broken":function(){return l7},"message-color-failed":function(){return c7},"message-color-passed":function(){return u7},"message-color-skipped":function(){return d7},"message-color-unknown":function(){return f7},"message-status-broken":function(){return h7},"message-status-failed":function(){return p7},"message-status-passed":function(){return g7},"message-status-skipped":function(){return m7},"message-status-unknown":function(){return v7},"tree-content":function(){return b7},"tree-item-message":function(){return y7},"tree-item-message-actions":function(){return _7},"tree-item-message-arrow":function(){return w7},"tree-item-message-body":function(){return x7},"tree-item-message-card":function(){return k7},"tree-item-message-card-expanded":function(){return C7},"tree-item-message-container":function(){return S7},"tree-item-message-expand":function(){return T7},"tree-item-message-header":function(){return A7},"tree-item-message-header-expanded":function(){return M7},"tree-item-message-stats":function(){return L7},"tree-item-message-title":function(){return E7},"tree-item-subtree-toggle":function(){return N7}});var n={};a.r(n),a.d(n,{"severity-blocker":function(){return D7},"severity-critical":function(){return P7},"severity-minor":function(){return I7},"severity-normal":function(){return z7},"severity-trivial":function(){return B7},"test-result-severity":function(){return j7},"test-result-severity-text":function(){return F7}});var r={};a.r(r),a.d(r,{"attachment-background":function(){return u9},empty:function(){return d9},"failed-steps":function(){return f9},"html-attachment-preview":function(){return h9},"item-button":function(){return p9},"item-button-syntax-off":function(){return g9},"item-buttons":function(){return m9},"item-info":function(){return v9},"item-info-step":function(){return b9},"item-info-step-icon":function(){return y9},"item-status":function(){return _9},"item-status-icon":function(){return w9},"item-time":function(){return x9},"status-broken":function(){return k9},"status-failed":function(){return C9},"status-passed":function(){return S9},"status-skipped":function(){return T9},"status-unknown":function(){return A9},"test-result-attachment-arrow":function(){return M9},"test-result-attachment-arrow-opened":function(){return L9},"test-result-attachment-content":function(){return E9},"test-result-attachment-content-wrapper":function(){return N9},"test-result-attachment-error":function(){return O9},"test-result-attachment-header":function(){return R9},"test-result-attachment-icon":function(){return D9},"test-result-attachment-image":function(){return P9},"test-result-attachment-missed":function(){return I9},"test-result-attachment-text":function(){return z9},"test-result-error-step-content":function(){return B9},"test-result-header-text":function(){return j9},"test-result-parameters":function(){return F9},"test-result-spinner":function(){return H9},"test-result-step":function(){return $9},"test-result-step-button":function(){return U9},"test-result-step-chevron":function(){return q9},"test-result-step-chevron-open":function(){return W9},"test-result-step-content":function(){return V9},"test-result-step-header":function(){return G9},"test-result-step-number":function(){return Y9},"test-result-step-root":function(){return X9},"test-result-step-subtree-toggle":function(){return Z9},"test-result-steps":function(){return K9},"test-result-steps-root":function(){return J9},"test-result-strut":function(){return Q9},"test-result-visibility-hidden":function(){return eee},"wrong-attachment-sign":function(){return tee}});var i={};a.r(i),a.d(i,{diff:function(){return $ee},"diff-buttons":function(){return Uee},"diff-buttons-title":function(){return qee},"diff-controls":function(){return Wee},"diff-green":function(){return Vee},"diff-grey":function(){return Gee},"diff-red":function(){return Yee},"diff-screen":function(){return Xee},"diff-view":function(){return Zee},expected:function(){return Kee},side:function(){return Jee},"side-by-side":function(){return Qee},"side-title":function(){return ete},"test-result-error":function(){return tte},"test-result-error-header":function(){return nte},"test-result-error-message":function(){return rte},"test-result-error-text":function(){return ite},"test-result-error-trace":function(){return ote},"tr-color-broken":function(){return ate},"tr-color-failed":function(){return ste},"tr-color-passed":function(){return lte},"tr-color-skipped":function(){return cte},"tr-color-unknown":function(){return ute},"tr-status-broken":function(){return dte},"tr-status-failed":function(){return fte},"tr-status-passed":function(){return hte},"tr-status-skipped":function(){return pte},"tr-status-unknown":function(){return gte},unified:function(){return mte}});var o={};a.r(o),a.d(o,{"metadata-color-badge":function(){return Lte},"metadata-icon":function(){return Ete},"metadata-item-title":function(){return Nte},"metadata-item-value":function(){return Ote},"metadata-test-type":function(){return Rte},"metadata-tooltip":function(){return Dte},"metadata-tooltip-value":function(){return Pte},"metadata-with-icon":function(){return Ite},"report-metadata":function(){return zte},"report-metadata-all-tests":function(){return Bte},"report-metadata-keyvalue":function(){return jte},"report-metadata-keyvalue-title":function(){return Fte},"report-metadata-keyvalue-value":function(){return Hte},"report-metadata-keyvalue-wrapper":function(){return $te},"report-metadata-list":function(){return Ute},"report-metadata-s":function(){return qte},"report-metadata-separator":function(){return Wte},"report-metadata-status":function(){return Vte},"report-metadata-summary":function(){return Gte},"report-metadata-values":function(){return Yte},"report-metadata-wrapper":function(){return Xte},"status-broken":function(){return Zte},"status-failed":function(){return Kte},"status-passed":function(){return Jte},"status-skipped":function(){return Qte},"status-unknown":function(){return ene}});var s={};a.r(s),a.d(s,{"metadata-color-badge":function(){return cne},"metadata-icon":function(){return une},"metadata-item-title":function(){return dne},"metadata-item-value":function(){return fne},"metadata-test-type":function(){return hne},"metadata-with-icon":function(){return pne},"report-metadata":function(){return gne},"report-metadata-all-tests":function(){return mne},"report-metadata-keyvalue":function(){return vne},"report-metadata-keyvalue-title":function(){return bne},"report-metadata-keyvalue-value":function(){return yne},"report-metadata-list":function(){return _ne},"report-metadata-separator":function(){return wne},"report-metadata-status":function(){return xne},"report-metadata-summary":function(){return kne},"report-metadata-wrapper":function(){return Cne},"status-broken":function(){return Sne},"status-failed":function(){return Tne},"status-passed":function(){return Ane},"status-skipped":function(){return Mne},"status-unknown":function(){return Lne}});var l={};a.r(l),a.d(l,{"status-broken":function(){return dre},"status-failed":function(){return fre},"status-passed":function(){return hre},"status-skipped":function(){return pre},"status-unknown":function(){return gre},"test-result-prev-status":function(){return mre},"test-result-prev-status-tooltip":function(){return vre},"test-result-prev-statuses":function(){return bre}});var c={};a.r(c),a.d(c,{content:function(){return foe},layout:function(){return hoe},"layout-base":function(){return poe},loader:function(){return goe},loading:function(){return moe},main:function(){return voe},split:function(){return boe}});const u=["failed","broken","passed","skipped","unknown"],d=["blocker","critical","normal","minor","trivial"],f=new Set(["failed","broken"]),h=new Set(["passed"]),p=new Set([...f,...h]),g=e=>{const t=new Set(e);return e=>t.has(e.status)},m=(g(h),g(f),g(p),(e,t,n=1)=>{e[t]=(e?.[t]??0)+n,e.total+=n});var v;!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"}(v||(v={}));const b=[{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}],y=e=>{if(void 0===e)return"unknown";if(e<.5)return"0s";const t=[];for(const{accessor:n,suffix:r}of b){const i=n(e);if((0!==t.length||i)&&(t.push(i+r),t.length>1))break}return t.join(" ")},_=e=>(t,n)=>e(n,t),w=e=>(t,n)=>t===n?0:null==t?1:null==n?-1:e(t,n),x=(e,t,n)=>w(((r,i)=>void 0!==n?t(r[e]??n,i[e]??n):e in r&&e in i?t(r[e],i[e]):0)),k=e=>(t,n)=>{for(const r of e){const e=r(t,n);if(0!==e)return e}return 0},C=()=>w(((e,t)=>e.localeCompare(t))),S=()=>w(((e,t)=>e-t)),T=["failed","broken","passed","skipped","unknown"],A=e=>e?T.indexOf(e):-1,M="default",L=e=>{if("string"!=typeof e)return{valid:!1,reason:"name must be a string"};const t=e.trim();return 0===t.length?{valid:!1,reason:"name must not be empty"}:t.length>64?{valid:!1,reason:"name must not exceed 64 characters"}:(e=>{for(let t=0;t<e.length;t++){const n=e.charCodeAt(t);if(n<=31||n>=127&&n<=159)return!0}return!1})(t)?{valid:!1,reason:"name must not contain control characters"}:(e=>!(!e.includes("/")&&!e.includes("\\"))||"."===e||".."===e)(t)?{valid:!1,reason:"name must not contain path-like segments"}:{valid:!0,normalized:t}},E=e=>{if("string"!=typeof e)return{valid:!1,reason:"id must be a string"};const t=e.trim();return 0===t.length?{valid:!1,reason:"id must not be empty"}:t.length>64?{valid:!1,reason:"id must not exceed 64 characters"}:/^[A-Za-z0-9_-]+$/.test(t)?{valid:!0,normalized:t}:{valid:!1,reason:"id must contain only latin letters, digits, underscores, and hyphens"}},N=e=>{const{testResultsByEnv:t={}}=e??{},n=Object.keys(t).length;return n<=1&&M in t?0:n};crypto;const O=e=>{if(e)return e.charAt(0).toLocaleUpperCase()+e.slice(1)},R=e=>e.replace(/\\/g,"/"),D=new Set(["http:","https:","mailto:","tel:"]),P=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(D.has(r))try{return new URL(t).toString()}catch{return}},I=()=>new Promise((e=>{const t=()=>{if(globalThis.allureReportDataReady)return e(!0);setTimeout(t,30)};t()})),z=async(e,t="application/octet-stream",n)=>{if(globalThis.allureReportData){const[n]=e.split("?");return`data:${t};base64,${await(async e=>(await I(),new Promise(((t,n)=>{const r=globalThis.allureReportData??{};if(e in r)return t(r[e]);const i=R(e);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!`))}))))(n)}`}const r=globalThis.document.head.querySelector("base")?.href??"https://localhost",i=new URL(e,r),o=globalThis.localStorage.getItem("__allure_report_live_reload_hash__"),a=H()?.cacheKey;return o&&i.searchParams.set("live_reload_hash",o),n?.bustCache&&a&&i.searchParams.set("v",a),i.toString()};class B extends Error{constructor(e,t){super(e),this.response=t}}const j=e=>e instanceof Error?e.message:String(e),F=async(e,t)=>{let n;try{n=await z(e,void 0,t)}catch{throw new B(`Failed to fetch ${e}: data not found`,new Response(null,{status:404,statusText:"Not Found"}))}const r=await globalThis.fetch(n);if(!r.ok)throw new B(`Failed to fetch ${n}, response status: ${r.status}`,r);return r.json()},H=()=>globalThis.allureReportOptions,$=async({id:e,ext:t,contentType:n})=>(async(e,t)=>{const n=await z(e,t);return globalThis.fetch(n)})(`data/attachments/${`${e||"-"}${t||""}`}?attachment`,n),U=async(e,t,n)=>{const r=await $({id:e,ext:t,contentType:n});return await r.blob()},q=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"]),W=new Set(["text/plain","text/*","text/uri-list"]),V=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"]),G=e=>{const t=e.lastIndexOf(".");if(!(t<=0||t===e.length-1))return e.slice(t)},Y=e=>{switch(e){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/markdown":case"text/*":return"text";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";default:return null}},X={"en-iso":{date:{locale:"en-CA",options:{year:"numeric",month:"2-digit",day:"2-digit"},stripComma:!0},dateTime:{locale:"en-CA",options:{year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",hour12:!1},includeAtSeparator:!1,stripComma:!0},dateTimeNoSeconds:{locale:"en-CA",options:{year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",hour12:!1},includeAtSeparator:!1,stripComma:!0}}},Z=(e,t)=>X[e]?.[t],K={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 J,Q,ee;!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"}(J||(J={})),function(e){e.Status="status",e.Severity="severity"}(Q||(Q={})),function(e){e.Raw="raw",e.Percent="percent",e.Diverging="diverging"}(ee||(ee={}));J.CurrentStatus,J.StatusDynamics,J.TrSeverities,J.StatusTransitions,J.TestBaseGrowthDynamics,J.CoverageDiff,J.SuccessRateDistribution,J.ProblemsDistribution,J.StabilityDistribution,J.StabilityDistribution,J.StabilityDistribution,J.Durations,J.Durations,J.DurationDynamics,J.StatusAgePyramid,J.TestingPyramid;function te(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function ne(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function re(){}var ie=.7,oe=1/ie,ae="\\s*([+-]?\\d+)\\s*",se="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",le="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",ce=/^#([0-9a-f]{3,8})$/,ue=new RegExp(`^rgb\\(${ae},${ae},${ae}\\)$`),de=new RegExp(`^rgb\\(${le},${le},${le}\\)$`),fe=new RegExp(`^rgba\\(${ae},${ae},${ae},${se}\\)$`),he=new RegExp(`^rgba\\(${le},${le},${le},${se}\\)$`),pe=new RegExp(`^hsl\\(${se},${le},${le}\\)$`),ge=new RegExp(`^hsla\\(${se},${le},${le},${se}\\)$`),me={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 ve(){return this.rgb().formatHex()}function be(){return this.rgb().formatRgb()}function ye(e){var t,n;return e=(e+"").trim().toLowerCase(),(t=ce.exec(e))?(n=t[1].length,t=parseInt(t[1],16),6===n?_e(t):3===n?new ke(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===n?we(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===n?we(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=ue.exec(e))?new ke(t[1],t[2],t[3],1):(t=de.exec(e))?new ke(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=fe.exec(e))?we(t[1],t[2],t[3],t[4]):(t=he.exec(e))?we(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=pe.exec(e))?Le(t[1],t[2]/100,t[3]/100,1):(t=ge.exec(e))?Le(t[1],t[2]/100,t[3]/100,t[4]):me.hasOwnProperty(e)?_e(me[e]):"transparent"===e?new ke(NaN,NaN,NaN,0):null}function _e(e){return new ke(e>>16&255,e>>8&255,255&e,1)}function we(e,t,n,r){return r<=0&&(e=t=n=NaN),new ke(e,t,n,r)}function xe(e,t,n,r){return 1===arguments.length?function(e){return e instanceof re||(e=ye(e)),e?new ke((e=e.rgb()).r,e.g,e.b,e.opacity):new ke}(e):new ke(e,t,n,null==r?1:r)}function ke(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function Ce(){return`#${Me(this.r)}${Me(this.g)}${Me(this.b)}`}function Se(){const e=Te(this.opacity);return`${1===e?"rgb(":"rgba("}${Ae(this.r)}, ${Ae(this.g)}, ${Ae(this.b)}${1===e?")":`, ${e})`}`}function Te(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function Ae(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function Me(e){return((e=Ae(e))<16?"0":"")+e.toString(16)}function Le(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new Ne(e,t,n,r)}function Ee(e){if(e instanceof Ne)return new Ne(e.h,e.s,e.l,e.opacity);if(e instanceof re||(e=ye(e)),!e)return new Ne;if(e instanceof Ne)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 Ne(a,s,l,e.opacity)}function Ne(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function Oe(e){return(e=(e||0)%360)<0?e+360:e}function Re(e){return Math.max(0,Math.min(1,e||0))}function De(e,t,n){return 255*(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)}function Pe(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}te(re,ye,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:ve,formatHex:ve,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return Ee(this).formatHsl()},formatRgb:be,toString:be}),te(ke,xe,ne(re,{brighter(e){return e=null==e?oe:Math.pow(oe,e),new ke(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=null==e?ie:Math.pow(ie,e),new ke(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new ke(Ae(this.r),Ae(this.g),Ae(this.b),Te(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:Ce,formatHex:Ce,formatHex8:function(){return`#${Me(this.r)}${Me(this.g)}${Me(this.b)}${Me(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:Se,toString:Se})),te(Ne,(function(e,t,n,r){return 1===arguments.length?Ee(e):new Ne(e,t,n,null==r?1:r)}),ne(re,{brighter(e){return e=null==e?oe:Math.pow(oe,e),new Ne(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=null==e?ie:Math.pow(ie,e),new Ne(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 ke(De(e>=240?e-240:e+120,i,r),De(e,i,r),De(e<120?e+240:e-120,i,r),this.opacity)},clamp(){return new Ne(Oe(this.h),Re(this.s),Re(this.l),Te(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=Te(this.opacity);return`${1===e?"hsl(":"hsla("}${Oe(this.h)}, ${100*Re(this.s)}%, ${100*Re(this.l)}%${1===e?")":`, ${e})`}`}}));var Ie=e=>()=>e;function ze(e,t){return function(n){return e+n*t}}function Be(e){return 1==(e=+e)?je: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):Ie(isNaN(t)?n:t)}}function je(e,t){var n=t-e;return n?ze(e,n):Ie(isNaN(e)?t:e)}var Fe=function e(t){var n=Be(t);function r(e,t){var r=n((e=xe(e)).r,(t=xe(t)).r),i=n(e.g,t.g),o=n(e.b,t.b),a=je(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);function He(e){return function(t){var n,r,i=t.length,o=new Array(i),a=new Array(i),s=new Array(i);for(n=0;n<i;++n)r=xe(t[n]),o[n]=r.r||0,a[n]=r.g||0,s[n]=r.b||0;return o=e(o),a=e(a),s=e(s),r.opacity=1,function(e){return r.r=o(e),r.g=a(e),r.b=s(e),r+""}}}He((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 Pe((n-r/t)*t,a,i,o,s)}})),He((function(e){var t=e.length;return function(n){var r=Math.floor(((n%=1)<0?++n:n)*t),i=e[(r+t-1)%t],o=e[r%t],a=e[(r+1)%t],s=e[(r+2)%t];return Pe((n-r/t)*t,i,o,a,s)}}));const $e=Math.sqrt(50),Ue=Math.sqrt(10),qe=Math.sqrt(2);function We(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>=$e?10:o>=Ue?5:o>=qe?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?We(e,t,2*n):[s,l,c]}function Ve(e,t,n){return We(e=+e,t=+t,n=+n)[2]}function Ge(e,t){return null==e||null==t?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function Ye(e,t){return null==e||null==t?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function Xe(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=Ge,n=(t,n)=>Ge(e(t),n),r=(t,n)=>e(t)-n):(t=e===Ge||e===Ye?e:Ze,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 Ze(){return 0}const Ke=Xe(Ge),Je=Ke.right;Ke.left,Xe((function(e){return null===e?NaN:+e})).center;var Qe=Je;function et(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]=lt(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 tt(e,t){var n=new Date;return e=+e,t=+t,function(r){return n.setTime(e*(1-r)+t*r),n}}function nt(e,t){return e=+e,t=+t,function(n){return e*(1-n)+t*n}}function rt(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]=lt(e[n],t[n]):i[n]=t[n];return function(e){for(n in r)i[n]=r[n](e);return i}}var it=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,ot=new RegExp(it.source,"g");function at(e,t){var n,r,i,o=it.lastIndex=ot.lastIndex=0,a=-1,s=[],l=[];for(e+="",t+="";(n=it.exec(e))&&(r=ot.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:nt(n,r)})),o=ot.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 st(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 lt(e,t){var n,r=typeof t;return null==t||"boolean"===r?Ie(t):("number"===r?nt:"string"===r?(n=ye(t))?(t=n,Fe):at:t instanceof ye?Fe:t instanceof Date?tt:function(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}(t)?st:Array.isArray(t)?et:"function"!=typeof t.valueOf&&"function"!=typeof t.toString||isNaN(t)?rt:nt)(e,t)}function ct(e,t){return e=+e,t=+t,function(n){return Math.round(e*(1-n)+t*n)}}function ut(e){return+e}var dt=[0,1];function ft(e){return e}function ht(e,t){return(t-=e=+e)?function(n){return(n-e)/t}:function(e){return function(){return e}}(isNaN(t)?NaN:.5)}function pt(e,t,n){var r=e[0],i=e[1],o=t[0],a=t[1];return i<r?(r=ht(i,r),o=n(a,o)):(r=ht(r,i),o=n(o,a)),function(e){return o(r(e))}}function gt(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]=ht(e[a],e[a+1]),o[a]=n(t[a],t[a+1]);return function(t){var n=Qe(e,t,1,r)-1;return o[n](i[n](t))}}function mt(){var e,t,n,r,i,o,a=dt,s=dt,l=lt,c=ft;function u(){var e=Math.min(a.length,s.length);return c!==ft&&(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?gt:pt,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),nt)))(n)))},d.domain=function(e){return arguments.length?(a=Array.from(e,ut),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=ct,u()},d.clamp=function(e){return arguments.length?(c=!!e||ft,u()):c!==ft},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 vt(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e)}return this}var bt,yt=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function _t(e){if(!(t=yt.exec(e)))throw new Error("invalid format: "+e);var t;return new wt({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 wt(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 xt(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 kt(e){return(e=xt(Math.abs(e)))?e[1]:NaN}function Ct(e,t){var n=xt(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")}_t.prototype=wt.prototype,wt.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 St={"%":(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)=>Ct(100*e,t),r:Ct,s:function(e,t){var n=xt(e,t);if(!n)return e+"";var r=n[0],i=n[1],o=i-(bt=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")+xt(e,Math.max(0,t+o-1))[0]},X:e=>Math.round(e).toString(16).toUpperCase(),x:e=>Math.round(e).toString(16)};function Tt(e){return e}var At,Mt,Lt,Et=Array.prototype.map,Nt=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function Ot(e){var t,n,r=void 0===e.grouping||void 0===e.thousands?Tt:(t=Et.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?Tt:function(e){return function(t){return t.replace(/[0-9]/g,(function(t){return e[+t]}))}}(Et.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=_t(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"):St[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:"",w=St[b],x=/[defgprs%]/.test(b);function k(e){var i,o,l,f=y,k=_;if("c"===b)k=w(e)+k,e="";else{var C=(e=+e)<0||1/e<0;if(e=isNaN(e)?u:w(Math.abs(e),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?Nt[8+bt/3]:"")+k+(C&&"("===d?")":""),x)for(i=-1,o=e.length;++i<o;)if(48>(l=e.charCodeAt(i))||l>57){k=(46===l?a+e.slice(i+1):e.slice(i))+k,e=e.slice(0,i);break}}g&&!h&&(e=r(e,1/0));var S=f.length+e.length+k.length,T=S<p?new Array(p-S+1).join(t):"";switch(g&&h&&(e=r(T+e,T.length?p-k.length:1/0),T=""),n){case"<":e=f+e+k+T;break;case"=":e=f+T+e+k;break;case"^":e=T.slice(0,S=T.length>>1)+f+e+k+T.slice(S);break;default:e=T+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=_t(e)).type="f",e)),r=3*Math.max(-8,Math.min(8,Math.floor(kt(t)/3))),i=Math.pow(10,-r),o=Nt[8+r/3];return function(e){return n(i*e)+o}}}}function Rt(e,t,n,r){var i,o=function(e,t,n){n=+n;const r=(t=+t)<(e=+e),i=r?Ve(t,e,n):Ve(e,t,n);return(r?-1:1)*(i<0?1/-i:i)}(e,t,n);switch((r=_t(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(kt(t)/3)))-kt(Math.abs(e)))}(o,a))||(r.precision=i),Lt(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,kt(t)-kt(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,-kt(Math.abs(e)))}(o))||(r.precision=i-2*("%"===r.type))}return Mt(r)}function Dt(e){var t=e.domain;return e.ticks=function(e){var n=t();return function(e,t,n){if(!((n=+n)>0))return[];if((e=+e)==(t=+t))return[e];const r=t<e,[i,o,a]=r?We(t,e,n):We(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}(n[0],n[n.length-1],null==e?10:e)},e.tickFormat=function(e,n){var r=t();return Rt(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=Ve(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 Pt(){var e=mt()(ft,ft);return e.copy=function(){return t=e,Pt().domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp()).unknown(t.unknown());var t},vt.apply(e,arguments),Dt(e)}At=Ot({thousands:",",grouping:[3],currency:["$",""]}),Mt=At.format,Lt=At.formatPrefix;const It="var(--bg-support-capella)",zt="var(--bg-support-castor)",Bt=(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};const jt=(e,t,n,r,i)=>{const o=e();if(o)return{...o,colors:t,formatLegend:n,legendDomain:r,tooltipRows:i}},Ft=(e,t,n)=>t.type===J.SuccessRateDistribution?((e,t)=>{const n=[0,1];return jt((()=>t[e]),((e,t=n)=>Pt().domain(t).range([Bt(It),Bt(zt)]).interpolate(Fe).clamp(!0)(e)),(e=>1===e?"passed":"failed"),n,(e=>[`passed: ${e.data.passedTests}`,`failed: ${e.data.failedTests}`,`other: ${e.data.otherTests}`]))})(e,n):t.type===J.CoverageDiff?((e,t)=>{const n=[0,.5,1];return jt((()=>t[e]),((e,t=n)=>Pt().domain(t).range([Bt(It),"#fff",Bt(zt)]).interpolate(Fe).clamp(!0)(e)),(e=>1===e?"new":"removed"),n,(e=>{const t=e.data.newCount+e.data.enabledCount,n=e.data.deletedCount+e.data.disabledCount;return[`new: ${t}`,`deleted: ${n}`,"unchanged: "+(e.value-t-n)]}))})(e,n):void 0,Ht=(e,t)=>((e,t)=>{const n=[0,1];return((e,t)=>{const n=e();if(n)return{...n,colors:t}})((()=>t[e]),((e,t=n)=>Pt().domain(t).range([Bt(zt),Bt(It)]).interpolate(Fe).clamp(!0)(e)))})(e,t),$t=e=>Object.entries(e).reduce(((t,[n,r])=>{if(r.type===J.CurrentStatus)t[n]=e[n];else if(r.type===J.StatusDynamics)t[n]=e[n];else if(r.type===J.StatusTransitions)t[n]=e[n];else if(r.type===J.Durations)t[n]=e[n];else if(r.type===J.StabilityDistribution)t[n]=e[n];else if(r.type===J.TestBaseGrowthDynamics)t[n]=e[n];else if(r.type===J.StatusAgePyramid)t[n]=e[n];else if(r.type===J.TrSeverities)t[n]=e[n];else if(r.type===J.DurationDynamics)t[n]=e[n];else if(r.type===J.CoverageDiff||r.type===J.SuccessRateDistribution){const i=Ft(n,r,e);i&&(t[n]=i)}else if(r.type===J.ProblemsDistribution){const r=Ht(n,e);r&&(t[n]=r)}else r.type===J.TestingPyramid&&(t[n]=e[n]);return t}),{}),Ut=e=>{if(!("general"in e)&&!("byEnv"in e))return{general:$t(e),byEnv:{}};const t={general:$t(e.general),byEnv:{}};for(const[n,r]of Object.entries(e.byEnv))t.byEnv[n]=$t(r);return t};var qt;!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.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.IndexLatestEnvTestResultsByHistoryId="index-latest-env-test-results-by-history-id.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"}(qt||(qt={}));function Wt(e){return function(){return e}}const Vt=Math.abs,Gt=Math.atan2,Yt=Math.cos,Xt=Math.max,Zt=Math.min,Kt=Math.sin,Jt=Math.sqrt,Qt=1e-12,en=Math.PI,tn=en/2,nn=2*en;function rn(e){return e>=1?tn:e<=-1?-tn:Math.asin(e)}const on=Math.PI,an=2*on,sn=1e-6,ln=an-sn;function cn(e){this._+=e[0];for(let t=1,n=e.length;t<n;++t)this._+=arguments[t]+e[t]}class un{constructor(e){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=null==e?cn:function(e){let t=Math.floor(e);if(!(t>=0))throw new Error(`invalid digits: ${e}`);if(t>15)return cn;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>sn)if(Math.abs(u*s-l*c)>sn&&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((on-Math.acos((p+d-g)/(2*m*v)))/2),y=b/v,_=b/m;Math.abs(y-1)>sn&&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)>sn||Math.abs(this._y1-c)>sn)&&this._append`L${l},${c}`,n&&(d<0&&(d=d%an+an),d>ln?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>sn&&this._append`A${n},${n},0,${+(d>=on)},${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 dn(e){return e.innerRadius}function fn(e){return e.outerRadius}function hn(e){return e.startAngle}function pn(e){return e.endAngle}function gn(e){return e&&e.padAngle}function mn(e,t,n,r,i,o,a){var s=e-n,l=t-r,c=(a?o:-o)/Jt(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,w=i-o,x=f*g-p*h,k=(y<0?-1:1)*Jt(Xt(0,w*w*_-x*x)),C=(x*y-b*k)/_,S=(-x*b-y*k)/_,T=(x*y+b*k)/_,A=(-x*b+y*k)/_,M=C-m,L=S-v,E=T-m,N=A-v;return M*M+L*L>E*E+N*N&&(C=T,S=A),{cx:C,cy:S,x01:-u,y01:-d,x11:C*(i/w-1),y11:S*(i/w-1)}}function vn(){var e=dn,t=fn,n=Wt(0),r=null,i=hn,o=pn,a=gn,s=null,l=function(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 un(t)}(c);function c(){var c,u,d=+e.apply(this,arguments),f=+t.apply(this,arguments),h=i.apply(this,arguments)-tn,p=o.apply(this,arguments)-tn,g=Vt(p-h),m=p>h;if(s||(s=c=l()),f<d&&(u=f,f=d,d=u),f>Qt)if(g>nn-Qt)s.moveTo(f*Yt(h),f*Kt(h)),s.arc(0,0,f,h,p,!m),d>Qt&&(s.moveTo(d*Yt(p),d*Kt(p)),s.arc(0,0,d,p,h,m));else{var v,b,y=h,_=p,w=h,x=p,k=g,C=g,S=a.apply(this,arguments)/2,T=S>Qt&&(r?+r.apply(this,arguments):Jt(d*d+f*f)),A=Zt(Vt(f-d)/2,+n.apply(this,arguments)),M=A,L=A;if(T>Qt){var E=rn(T/d*Kt(S)),N=rn(T/f*Kt(S));(k-=2*E)>Qt?(w+=E*=m?1:-1,x-=E):(k=0,w=x=(h+p)/2),(C-=2*N)>Qt?(y+=N*=m?1:-1,_-=N):(C=0,y=_=(h+p)/2)}var O=f*Yt(y),R=f*Kt(y),D=d*Yt(x),P=d*Kt(x);if(A>Qt){var I,z=f*Yt(_),B=f*Kt(_),j=d*Yt(w),F=d*Kt(w);if(g<en)if(I=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<Qt))return[e+(f=(u*(t-o)-d*(e-i))/f)*l,t+f*c]}(O,R,j,F,z,B,D,P)){var H=O-I[0],$=R-I[1],U=z-I[0],q=B-I[1],W=1/Kt(function(e){return e>1?0:e<-1?en:Math.acos(e)}((H*U+$*q)/(Jt(H*H+$*$)*Jt(U*U+q*q)))/2),V=Jt(I[0]*I[0]+I[1]*I[1]);M=Zt(A,(d-V)/(W-1)),L=Zt(A,(f-V)/(W+1))}else M=L=0}C>Qt?L>Qt?(v=mn(j,F,O,R,f,L,m),b=mn(z,B,D,P,f,L,m),s.moveTo(v.cx+v.x01,v.cy+v.y01),L<A?s.arc(v.cx,v.cy,L,Gt(v.y01,v.x01),Gt(b.y01,b.x01),!m):(s.arc(v.cx,v.cy,L,Gt(v.y01,v.x01),Gt(v.y11,v.x11),!m),s.arc(0,0,f,Gt(v.cy+v.y11,v.cx+v.x11),Gt(b.cy+b.y11,b.cx+b.x11),!m),s.arc(b.cx,b.cy,L,Gt(b.y11,b.x11),Gt(b.y01,b.x01),!m))):(s.moveTo(O,R),s.arc(0,0,f,y,_,!m)):s.moveTo(O,R),d>Qt&&k>Qt?M>Qt?(v=mn(D,P,z,B,d,-M,m),b=mn(O,R,j,F,d,-M,m),s.lineTo(v.cx+v.x01,v.cy+v.y01),M<A?s.arc(v.cx,v.cy,M,Gt(v.y01,v.x01),Gt(b.y01,b.x01),!m):(s.arc(v.cx,v.cy,M,Gt(v.y01,v.x01),Gt(v.y11,v.x11),!m),s.arc(0,0,d,Gt(v.cy+v.y11,v.cx+v.x11),Gt(b.cy+b.y11,b.cx+b.x11),m),s.arc(b.cx,b.cy,M,Gt(b.y11,b.x11),Gt(b.y01,b.x01),!m))):s.arc(0,0,d,x,w,m):s.lineTo(D,P)}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-en/2;return[Yt(r)*n,Kt(r)*n]},c.innerRadius=function(t){return arguments.length?(e="function"==typeof t?t:Wt(+t),c):e},c.outerRadius=function(e){return arguments.length?(t="function"==typeof e?e:Wt(+e),c):t},c.cornerRadius=function(e){return arguments.length?(n="function"==typeof e?e:Wt(+e),c):n},c.padRadius=function(e){return arguments.length?(r=null==e?null:"function"==typeof e?e:Wt(+e),c):r},c.startAngle=function(e){return arguments.length?(i="function"==typeof e?e:Wt(+e),c):i},c.endAngle=function(e){return arguments.length?(o="function"==typeof e?e:Wt(+e),c):o},c.padAngle=function(e){return arguments.length?(a="function"==typeof e?e:Wt(+e),c):a},c.context=function(e){return arguments.length?(s=null==e?null:e,c):s},c}Array.prototype.slice;function bn(e,t){return t<e?-1:t>e?1:t>=e?0:NaN}function yn(e){return e}const _n=()=>vn().innerRadius(40).outerRadius(50).cornerRadius(2).padAngle(.03),wn=function(){var e=yn,t=bn,n=null,r=Wt(0),i=Wt(nn),o=Wt(0);function a(a){var s,l,c,u,d,f=(a=function(e){return"object"==typeof e&&"length"in e?e:Array.from(e)}(a)).length,h=0,p=new Array(f),g=new Array(f),m=+r.apply(this,arguments),v=Math.min(nn,Math.max(-nn,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:Wt(+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:Wt(+e),a):r},a.endAngle=function(e){return arguments.length?(i="function"==typeof e?e:Wt(+e),a):i},a.padAngle=function(e){return arguments.length?(o="function"==typeof e?e:Wt(+e),a):o},a}().value((e=>e.count)).padAngle(.03).sortValues(((e,t)=>e-t)),xn=_n(),kn=_n().padAngle(0).cornerRadius(0),Cn=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:kn(t),...e}],percentage:0}}const t=u.filter((t=>!!e?.[t])).map((t=>({status:t,count:e[t]}))),n=wn(t).map((e=>{const t=xn(e);return t?{d:t,...e.data}:null})).filter((e=>null!==e)),r=((e,t)=>Math.floor(e/t*1e4)/100)(e.passed??0,e.total);return{slices:n,percentage:r}};new Set(["passed","failed","broken"]);var Sn=a(7985);const Tn=(e,t)=>new Sn({escapeXML:!0,...t}).toHtml(e),{entries:An,setPrototypeOf:Mn,isFrozen:Ln,getPrototypeOf:En,getOwnPropertyDescriptor:Nn}=Object;let{freeze:On,seal:Rn,create:Dn}=Object,{apply:Pn,construct:In}="undefined"!=typeof Reflect&&Reflect;On||(On=function(e){return e}),Rn||(Rn=function(e){return e}),Pn||(Pn=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)}),In||(In=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 zn=Jn(Array.prototype.forEach),Bn=Jn(Array.prototype.lastIndexOf),jn=Jn(Array.prototype.pop),Fn=Jn(Array.prototype.push),Hn=Jn(Array.prototype.splice),$n=Jn(String.prototype.toLowerCase),Un=Jn(String.prototype.toString),qn=Jn(String.prototype.match),Wn=Jn(String.prototype.replace),Vn=Jn(String.prototype.indexOf),Gn=Jn(String.prototype.trim),Yn=Jn(Object.prototype.hasOwnProperty),Xn=Jn(RegExp.prototype.test),Zn=(Kn=TypeError,function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return In(Kn,t)});var Kn;function Jn(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 Pn(e,t,r)}}function Qn(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:$n;Mn&&Mn(e,null);let r=t.length;for(;r--;){let i=t[r];if("string"==typeof i){const e=n(i);e!==i&&(Ln(t)||(t[r]=e),i=e)}e[i]=!0}return e}function er(e){for(let t=0;t<e.length;t++){Yn(e,t)||(e[t]=null)}return e}function tr(e){const t=Dn(null);for(const[n,r]of An(e)){Yn(e,n)&&(Array.isArray(r)?t[n]=er(r):r&&"object"==typeof r&&r.constructor===Object?t[n]=tr(r):t[n]=r)}return t}function nr(e,t){for(;null!==e;){const n=Nn(e,t);if(n){if(n.get)return Jn(n.get);if("function"==typeof n.value)return Jn(n.value)}e=En(e)}return function(){return null}}const rr=On(["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"]),ir=On(["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"]),or=On(["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"]),ar=On(["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"]),sr=On(["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"]),lr=On(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),cr=On(["#text"]),ur=On(["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"]),dr=On(["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"]),fr=On(["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"]),hr=On(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),pr=Rn(/\{\{[\w\W]*|[\w\W]*\}\}/gm),gr=Rn(/<%[\w\W]*|[\w\W]*%>/gm),mr=Rn(/\$\{[\w\W]*/gm),vr=Rn(/^data-[\-\w.\u00B7-\uFFFF]+$/),br=Rn(/^aria-[\-\w]+$/),yr=Rn(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),_r=Rn(/^(?:\w+script|data):/i),wr=Rn(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),xr=Rn(/^html$/i),kr=Rn(/^[a-z][.\w]*(-[.\w]+)+$/i);var Cr=Object.freeze({__proto__:null,ARIA_ATTR:br,ATTR_WHITESPACE:wr,CUSTOM_ELEMENT:kr,DATA_ATTR:vr,DOCTYPE_NAME:xr,ERB_EXPR:gr,IS_ALLOWED_URI:yr,IS_SCRIPT_OR_DATA:_r,MUSTACHE_EXPR:pr,TMPLIT_EXPR:mr});const Sr=1,Tr=3,Ar=7,Mr=8,Lr=9,Er=function(){return"undefined"==typeof window?null:window};var Nr=function e(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Er();const n=t=>e(t);if(n.version="3.4.0",n.removed=[],!t||!t.document||t.document.nodeType!==Lr||!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=nr(g,"cloneNode"),v=nr(g,"remove"),b=nr(g,"nextSibling"),y=nr(g,"childNodes"),_=nr(g,"parentNode");if("function"==typeof s){const e=r.createElement("template");e.content&&e.content.ownerDocument&&(r=e.content.ownerDocument)}let w,x="";const{implementation:k,createNodeIterator:C,createDocumentFragment:S,getElementsByTagName:T}=r,{importNode:A}=i;let M={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]};n.isSupported="function"==typeof An&&"function"==typeof _&&k&&void 0!==k.createHTMLDocument;const{MUSTACHE_EXPR:L,ERB_EXPR:E,TMPLIT_EXPR:N,DATA_ATTR:O,ARIA_ATTR:R,IS_SCRIPT_OR_DATA:D,ATTR_WHITESPACE:P,CUSTOM_ELEMENT:I}=Cr;let{IS_ALLOWED_URI:z}=Cr,B=null;const j=Qn({},[...rr,...ir,...or,...sr,...cr]);let F=null;const H=Qn({},[...ur,...dr,...fr,...hr]);let $=Object.seal(Dn(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}})),U=null,q=null;const W=Object.seal(Dn(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,X=!0,Z=!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=Qn({},["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=Qn({},["audio","video","img","source","image","track"]);let he=null;const pe=Qn({},["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 we=Qn({},[ge,me,ve],Un);let xe=Qn({},["mi","mo","mn","ms","mtext"]),ke=Qn({},["annotation-xml"]);const Ce=Qn({},["title","style","font","a","script"]);let Se=null;const Te=["application/xhtml+xml","text/html"];let Ae=null,Me=null;const Le=r.createElement("form"),Ee=function(e){return e instanceof RegExp||e instanceof Function},Ne=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!Me||Me!==e){if(e&&"object"==typeof e||(e={}),e=tr(e),Se=-1===Te.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE,Ae="application/xhtml+xml"===Se?Un:$n,B=Yn(e,"ALLOWED_TAGS")?Qn({},e.ALLOWED_TAGS,Ae):j,F=Yn(e,"ALLOWED_ATTR")?Qn({},e.ALLOWED_ATTR,Ae):H,_e=Yn(e,"ALLOWED_NAMESPACES")?Qn({},e.ALLOWED_NAMESPACES,Un):we,he=Yn(e,"ADD_URI_SAFE_ATTR")?Qn(tr(pe),e.ADD_URI_SAFE_ATTR,Ae):pe,de=Yn(e,"ADD_DATA_URI_TAGS")?Qn(tr(fe),e.ADD_DATA_URI_TAGS,Ae):fe,ce=Yn(e,"FORBID_CONTENTS")?Qn({},e.FORBID_CONTENTS,Ae):ue,U=Yn(e,"FORBID_TAGS")?Qn({},e.FORBID_TAGS,Ae):tr({}),q=Yn(e,"FORBID_ATTR")?Qn({},e.FORBID_ATTR,Ae):tr({}),le=!!Yn(e,"USE_PROFILES")&&e.USE_PROFILES,V=!1!==e.ALLOW_ARIA_ATTR,G=!1!==e.ALLOW_DATA_ATTR,Y=e.ALLOW_UNKNOWN_PROTOCOLS||!1,X=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,Z=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,z=e.ALLOWED_URI_REGEXP||yr,be=e.NAMESPACE||ve,xe=e.MATHML_TEXT_INTEGRATION_POINTS||xe,ke=e.HTML_INTEGRATION_POINTS||ke,$=e.CUSTOM_ELEMENT_HANDLING||Dn(null),e.CUSTOM_ELEMENT_HANDLING&&Ee(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&($.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&Ee(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&($.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&($.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Z&&(G=!1),ne&&(te=!0),le&&(B=Qn({},cr),F=Dn(null),!0===le.html&&(Qn(B,rr),Qn(F,ur)),!0===le.svg&&(Qn(B,ir),Qn(F,dr),Qn(F,hr)),!0===le.svgFilters&&(Qn(B,or),Qn(F,dr),Qn(F,hr)),!0===le.mathMl&&(Qn(B,sr),Qn(F,fr),Qn(F,hr))),W.tagCheck=null,W.attributeCheck=null,e.ADD_TAGS&&("function"==typeof e.ADD_TAGS?W.tagCheck=e.ADD_TAGS:(B===j&&(B=tr(B)),Qn(B,e.ADD_TAGS,Ae))),e.ADD_ATTR&&("function"==typeof e.ADD_ATTR?W.attributeCheck=e.ADD_ATTR:(F===H&&(F=tr(F)),Qn(F,e.ADD_ATTR,Ae))),e.ADD_URI_SAFE_ATTR&&Qn(he,e.ADD_URI_SAFE_ATTR,Ae),e.FORBID_CONTENTS&&(ce===ue&&(ce=tr(ce)),Qn(ce,e.FORBID_CONTENTS,Ae)),e.ADD_FORBID_CONTENTS&&(ce===ue&&(ce=tr(ce)),Qn(ce,e.ADD_FORBID_CONTENTS,Ae)),ae&&(B["#text"]=!0),J&&Qn(B,["html","head","body"]),B.table&&(Qn(B,["tbody"]),delete U.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw Zn('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw Zn('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');w=e.TRUSTED_TYPES_POLICY,x=w.createHTML("")}else void 0===w&&(w=function(e,t){if("object"!=typeof e||"function"!=typeof e.createPolicy)return null;let n=null;const r="data-tt-policy-suffix";t&&t.hasAttribute(r)&&(n=t.getAttribute(r));const i="dompurify"+(n?"#"+n:"");try{return e.createPolicy(i,{createHTML(e){return e},createScriptURL(e){return e}})}catch(e){return console.warn("TrustedTypes policy "+i+" could not be created."),null}}(p,o)),null!==w&&"string"==typeof x&&(x=w.createHTML(""));On&&On(e),Me=e}},Oe=Qn({},[...ir,...or,...ar]),Re=Qn({},[...sr,...lr]),De=function(e){Fn(n.removed,{element:e});try{_(e).removeChild(e)}catch(t){v(e)}},Pe=function(e,t){try{Fn(n.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){Fn(n.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e)if(te||ne)try{De(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},Ie=function(e){let t=null,n=null;if(ee)e="<remove></remove>"+e;else{const t=qn(e,/^[\r\n\t ]+/);n=t&&t[0]}"application/xhtml+xml"===Se&&be===ve&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");const i=w?w.createHTML(e):e;if(be===ve)try{t=(new h).parseFromString(i,Se)}catch(e){}if(!t||!t.documentElement){t=k.createDocument(be,"template",null);try{t.documentElement.innerHTML=ye?x:i}catch(e){}}const o=t.body||t.documentElement;return e&&n&&o.insertBefore(r.createTextNode(n),o.childNodes[0]||null),be===ve?T.call(t,J?"html":"body")[0]:J?t.documentElement:o},ze=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)},Be=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)},je=function(e){return"function"==typeof l&&e instanceof l};function Fe(e,t,r){zn(e,(e=>{e.call(n,t,r,Me)}))}const He=function(e){let t=null;if(Fe(M.beforeSanitizeElements,e,null),Be(e))return De(e),!0;const r=Ae(e.nodeName);if(Fe(M.uponSanitizeElement,e,{tagName:r,allowedTags:B}),K&&e.hasChildNodes()&&!je(e.firstElementChild)&&Xn(/<[/\w!]/g,e.innerHTML)&&Xn(/<[/\w!]/g,e.textContent))return De(e),!0;if(K&&e.namespaceURI===ve&&"style"===r&&je(e.firstElementChild))return De(e),!0;if(e.nodeType===Ar)return De(e),!0;if(K&&e.nodeType===Mr&&Xn(/<[/\w]/g,e.data))return De(e),!0;if(U[r]||!(W.tagCheck instanceof Function&&W.tagCheck(r))&&!B[r]){if(!U[r]&&Ue(r)){if($.tagNameCheck instanceof RegExp&&Xn($.tagNameCheck,r))return!1;if($.tagNameCheck instanceof Function&&$.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 De(e),!0}return e instanceof c&&!function(e){let t=_(e);t&&t.tagName||(t={namespaceURI:be,tagName:"template"});const n=$n(e.tagName),r=$n(t.tagName);return!!_e[e.namespaceURI]&&(e.namespaceURI===me?t.namespaceURI===ve?"svg"===n:t.namespaceURI===ge?"svg"===n&&("annotation-xml"===r||xe[r]):Boolean(Oe[n]):e.namespaceURI===ge?t.namespaceURI===ve?"math"===n:t.namespaceURI===me?"math"===n&&ke[r]:Boolean(Re[n]):e.namespaceURI===ve?!(t.namespaceURI===me&&!ke[r])&&!(t.namespaceURI===ge&&!xe[r])&&!Re[n]&&(Ce[n]||!Oe[n]):!("application/xhtml+xml"!==Se||!_e[e.namespaceURI]))}(e)?(De(e),!0):"noscript"!==r&&"noembed"!==r&&"noframes"!==r||!Xn(/<\/no(script|embed|frames)/i,e.innerHTML)?(Z&&e.nodeType===Tr&&(t=e.textContent,zn([L,E,N],(e=>{t=Wn(t,e," ")})),e.textContent!==t&&(Fn(n.removed,{element:e.cloneNode()}),e.textContent=t)),Fe(M.afterSanitizeElements,e,null),!1):(De(e),!0)},$e=function(e,t,n){if(q[t])return!1;if(ie&&("id"===t||"name"===t)&&(n in r||n in Le))return!1;if(G&&!q[t]&&Xn(O,t));else if(V&&Xn(R,t));else if(W.attributeCheck instanceof Function&&W.attributeCheck(t,e));else if(!F[t]||q[t]){if(!(Ue(e)&&($.tagNameCheck instanceof RegExp&&Xn($.tagNameCheck,e)||$.tagNameCheck instanceof Function&&$.tagNameCheck(e))&&($.attributeNameCheck instanceof RegExp&&Xn($.attributeNameCheck,t)||$.attributeNameCheck instanceof Function&&$.attributeNameCheck(t,e))||"is"===t&&$.allowCustomizedBuiltInElements&&($.tagNameCheck instanceof RegExp&&Xn($.tagNameCheck,n)||$.tagNameCheck instanceof Function&&$.tagNameCheck(n))))return!1}else if(he[t]);else if(Xn(z,Wn(n,P,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==Vn(n,"data:")||!de[e]){if(Y&&!Xn(D,Wn(n,P,"")));else if(n)return!1}else;return!0},Ue=function(e){return"annotation-xml"!==e&&qn(e,I)},qe=function(e){Fe(M.beforeSanitizeAttributes,e,null);const{attributes:t}=e;if(!t||Be(e))return;const r={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:F,forceKeepAttr:void 0};let i=t.length;for(;i--;){const o=t[i],{name:a,namespaceURI:s,value:l}=o,c=Ae(a),u=l;let d="value"===a?u:Gn(u);if(r.attrName=c,r.attrValue=d,r.keepAttr=!0,r.forceKeepAttr=void 0,Fe(M.uponSanitizeAttribute,e,r),d=r.attrValue,!oe||"id"!==c&&"name"!==c||(Pe(a,e),d="user-content-"+d),K&&Xn(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,d)){Pe(a,e);continue}if("attributename"===c&&qn(d,"href")){Pe(a,e);continue}if(r.forceKeepAttr)continue;if(!r.keepAttr){Pe(a,e);continue}if(!X&&Xn(/\/>/i,d)){Pe(a,e);continue}Z&&zn([L,E,N],(e=>{d=Wn(d,e," ")}));const f=Ae(e.nodeName);if($e(f,c,d)){if(w&&"object"==typeof p&&"function"==typeof p.getAttributeType)if(s);else switch(p.getAttributeType(f,c)){case"TrustedHTML":d=w.createHTML(d);break;case"TrustedScriptURL":d=w.createScriptURL(d)}if(d!==u)try{s?e.setAttributeNS(s,a,d):e.setAttribute(a,d),Be(e)?De(e):jn(n.removed)}catch(t){Pe(a,e)}}else Pe(a,e)}Fe(M.afterSanitizeAttributes,e,null)},We=function(e){let t=null;const n=ze(e);for(Fe(M.beforeSanitizeShadowDOM,e,null);t=n.nextNode();)Fe(M.uponSanitizeShadowNode,t,null),He(t),qe(t),t.content instanceof a&&We(t.content);Fe(M.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&&!je(e)){if("function"!=typeof e.toString)throw Zn("toString is not a function");if("string"!=typeof(e=e.toString()))throw Zn("dirty is not a string, aborting")}if(!n.isSupported)return e;if(Q||Ne(t),n.removed=[],"string"==typeof e&&(se=!1),se){if(e.nodeName){const t=Ae(e.nodeName);if(!B[t]||U[t])throw Zn("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof l)r=Ie("\x3c!----\x3e"),o=r.ownerDocument.importNode(e,!0),o.nodeType===Sr&&"BODY"===o.nodeName||"HTML"===o.nodeName?r=o:r.appendChild(o);else{if(!te&&!Z&&!J&&-1===e.indexOf("<"))return w&&re?w.createHTML(e):e;if(r=Ie(e),!r)return te?null:re?x:""}r&&ee&&De(r.firstChild);const u=ze(se?e:r);for(;s=u.nextNode();)He(s),qe(s),s.content instanceof a&&We(s.content);if(se)return e;if(te){if(Z){r.normalize();let e=r.innerHTML;zn([L,E,N],(t=>{e=Wn(e,t," ")})),r.innerHTML=e}if(ne)for(c=S.call(r.ownerDocument);r.firstChild;)c.appendChild(r.firstChild);else c=r;return(F.shadowroot||F.shadowrootmode)&&(c=A.call(i,c,!0)),c}let d=J?r.outerHTML:r.innerHTML;return J&&B["!doctype"]&&r.ownerDocument&&r.ownerDocument.doctype&&r.ownerDocument.doctype.name&&Xn(xr,r.ownerDocument.doctype.name)&&(d="<!DOCTYPE "+r.ownerDocument.doctype.name+">\n"+d),Z&&zn([L,E,N],(e=>{d=Wn(d,e," ")})),w&&re?w.createHTML(d):d},n.setConfig=function(){Ne(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),Q=!0},n.clearConfig=function(){Me=null,Q=!1},n.isValidAttribute=function(e,t,n){Me||Ne({});const r=Ae(e),i=Ae(t);return $e(r,i,n)},n.addHook=function(e,t){"function"==typeof t&&Fn(M[e],t)},n.removeHook=function(e,t){if(void 0!==t){const n=Bn(M[e],t);return-1===n?void 0:Hn(M[e],n,1)[0]}return jn(M[e])},n.removeHooks=function(e){M[e]=[]},n.removeAllHooks=function(){M={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},n}();const Or={USE_PROFILES:{html:!0}},Rr=e=>((e,t)=>Nr.sanitize(e,t))(e,Or);var Dr=Symbol.for("preact-signals");function Pr(){if(Fr>1)Fr--;else{for(var e,t=!1;void 0!==jr;){var n=jr;for(jr=void 0,Hr++;void 0!==n;){var r=n.o;if(n.o=void 0,n.f&=-3,!(8&n.f)&&Vr(n))try{n.c()}catch(n){t||(e=n,t=!0)}n=r}}if(Hr=0,Fr--,t)throw e}}function Ir(e){if(Fr>0)return e();Fr++;try{return e()}finally{Pr()}}var zr=void 0;function Br(e){var t=zr;zr=void 0;try{return e()}finally{zr=t}}var jr=void 0,Fr=0,Hr=0,$r=0;function Ur(e){if(void 0!==zr){var t=e.n;if(void 0===t||t.t!==zr)return t={i:0,S:e,p:zr.s,n:void 0,t:zr,e:void 0,x:void 0,r:t},void 0!==zr.s&&(zr.s.n=t),zr.s=t,e.n=t,32&zr.f&&e.S(t),t;if(-1===t.i)return t.i=0,void 0!==t.n&&(t.n.p=t.p,void 0!==t.p&&(t.p.n=t.n),t.p=zr.s,t.n=void 0,zr.s.n=t,zr.s=t),t}}function qr(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 Wr(e,t){return new qr(e,t)}function Vr(e){for(var t=e.s;void 0!==t;t=t.n)if(t.S.i!==t.i||!t.S.h()||t.S.i!==t.i)return!0;return!1}function Gr(e){for(var t=e.s;void 0!==t;t=t.n){var n=t.S.n;if(void 0!==n&&(t.r=n),t.S.n=t,t.i=-1,void 0===t.n){e.s=t;break}}}function Yr(e){for(var t=e.s,n=void 0;void 0!==t;){var r=t.p;-1===t.i?(t.S.U(t),void 0!==r&&(r.n=t.n),void 0!==t.n&&(t.n.p=r)):n=t,t.S.n=t.r,void 0!==t.r&&(t.r=void 0),t=r}e.s=n}function Xr(e,t){qr.call(this,void 0),this.x=e,this.s=void 0,this.g=$r-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 Zr(e,t){return new Xr(e,t)}function Kr(e){var t=e.u;if(e.u=void 0,"function"==typeof t){Fr++;var n=zr;zr=void 0;try{t()}catch(t){throw e.f&=-2,e.f|=8,Jr(e),t}finally{zr=n,Pr()}}}function Jr(e){for(var t=e.s;void 0!==t;t=t.n)t.S.U(t);e.x=void 0,e.s=void 0,Kr(e)}function Qr(e){if(zr!==this)throw new Error("Out-of-order effect");Yr(this),zr=e,this.f&=-2,8&this.f&&Jr(this),Pr()}function ei(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 ti(e,t){var n=new ei(e,t);try{n.c()}catch(e){throw n.d(),e}var r=n.d.bind(n);return r[Symbol.dispose]=r,r}qr.prototype.brand=Dr,qr.prototype.h=function(){return!0},qr.prototype.S=function(e){var t=this,n=this.t;n!==e&&void 0===e.e&&(e.x=n,this.t=e,void 0!==n?n.e=e:Br((function(){var e;null==(e=t.W)||e.call(t)})))},qr.prototype.U=function(e){var t=this;if(void 0!==this.t){var n=e.e,r=e.x;void 0!==n&&(n.x=r,e.e=void 0),void 0!==r&&(r.e=n,e.x=void 0),e===this.t&&(this.t=r,void 0===r&&Br((function(){var e;null==(e=t.Z)||e.call(t)})))}},qr.prototype.subscribe=function(e){var t=this;return ti((function(){var n=t.value,r=zr;zr=void 0;try{e(n)}finally{zr=r}}),{name:"sub"})},qr.prototype.valueOf=function(){return this.value},qr.prototype.toString=function(){return this.value+""},qr.prototype.toJSON=function(){return this.value},qr.prototype.peek=function(){var e=zr;zr=void 0;try{return this.value}finally{zr=e}},Object.defineProperty(qr.prototype,"value",{get:function(){var e=Ur(this);return void 0!==e&&(e.i=this.i),this.v},set:function(e){if(e!==this.v){if(Hr>100)throw new Error("Cycle detected");this.v=e,this.i++,$r++,Fr++;try{for(var t=this.t;void 0!==t;t=t.x)t.t.N()}finally{Pr()}}}}),Xr.prototype=new qr,Xr.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===$r)return!0;if(this.g=$r,this.f|=1,this.i>0&&!Vr(this))return this.f&=-2,!0;var e=zr;try{Gr(this),zr=this;var t=this.x();(16&this.f||this.v!==t||0===this.i)&&(this.v=t,this.f&=-17,this.i++)}catch(e){this.v=e,this.f|=16,this.i++}return zr=e,Yr(this),this.f&=-2,!0},Xr.prototype.S=function(e){if(void 0===this.t){this.f|=36;for(var t=this.s;void 0!==t;t=t.n)t.S.S(t)}qr.prototype.S.call(this,e)},Xr.prototype.U=function(e){if(void 0!==this.t&&(qr.prototype.U.call(this,e),void 0===this.t)){this.f&=-33;for(var t=this.s;void 0!==t;t=t.n)t.S.U(t)}},Xr.prototype.N=function(){if(!(2&this.f)){this.f|=6;for(var e=this.t;void 0!==e;e=e.x)e.t.N()}},Object.defineProperty(Xr.prototype,"value",{get:function(){if(1&this.f)throw new Error("Cycle detected");var e=Ur(this);if(this.h(),void 0!==e&&(e.i=this.i),16&this.f)throw this.v;return this.v}}),ei.prototype.c=function(){var e=this.S();try{if(8&this.f)return;if(void 0===this.x)return;var t=this.x();"function"==typeof t&&(this.u=t)}finally{e()}},ei.prototype.S=function(){if(1&this.f)throw new Error("Cycle detected");this.f|=1,this.f&=-9,Kr(this),Gr(this),Fr++;var e=zr;return zr=this,Qr.bind(this,e)},ei.prototype.N=function(){2&this.f||(this.f|=2,this.o=jr,jr=this)},ei.prototype.d=function(){this.f|=8,1&this.f||Jr(this)},ei.prototype.dispose=function(){this.d()};const ni=(e,t)=>{if("undefined"==typeof window)return;const n=(e=>"string"==typeof e||e instanceof URL?e:new URL(e.path,ri()))(e);t?.replace?(window.history.replaceState(null,"",n),window.dispatchEvent(new Event("replaceState"))):(window.history.pushState(null,"",n),window.dispatchEvent(new Event("pushState")))},ri=()=>"undefined"==typeof window?"":window.location.href,ii=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};const oi=Wr(ri());(e=>{if("undefined"!=typeof window)window.addEventListener("popstate",e),window.addEventListener("replaceState",e),window.addEventListener("pushState",e),window.addEventListener("hashchange",e)})((()=>{oi.peek()!==ri()&&(oi.value=ri())}));const ai=Zr((()=>new URL(oi.value))),si=Zr((()=>ai.value.searchParams)),li=(...e)=>{const t=new URL(ri());for(const n of e)if(t.searchParams.delete(n.key),Array.isArray(n.value))for(const e of n.value)t.searchParams.append(n.key,e);else"string"==typeof n.value&&t.searchParams.set(n.key,n.value);t.href!==ai.peek().href&&ni(t.href,{replace:!0})},ci=Zr((()=>({hash:ai.value.hash,pathname:ai.value.pathname,origin:ai.value.origin,params:ii(si.value)}))),ui=e=>si.value.get(e),di=e=>si.value.getAll(e),fi=e=>si.value.has(e),hi=Zr((()=>{const e=ci.value.hash.startsWith("#")?ci.value.hash.slice(1):ci.value.hash;return{path:e,pathParts:e.split("/").filter(Boolean)}})),pi=e=>{const{path:t,params:n={},replace:r=!1,searchParams:i={},keepSearchParams:o=!1}=e,a=ci.value.pathname,s=new URL(a,ci.value.origin),l=((e,t)=>e.split("/").map((e=>{if(e.startsWith(":")){const n=e.endsWith("?"),r=n?e.slice(1,-1):e.slice(1),i=t[r];return i?i.toString():n?"":e}return e})).filter(Boolean).join("/"))(t,n);s.hash=""===l||"/"===l?"":`#${l}`,o&&((e,t=new URLSearchParams)=>{Object.entries(e).forEach((([e,n])=>{if(Array.isArray(n))for(const r of n)t.append(e,r);else t.set(e,n)}))})(ci.value.params,s.searchParams),Object.entries(i).forEach((([e,t])=>{if(t){if(Array.isArray(t))for(const n of t)s.searchParams.set(e,n.toString());s.searchParams.set(e,t.toString())}})),ni(s,{replace:r})},gi=(e,t=()=>!0)=>{if("/"===e&&0===hi.value.pathParts.length)return{matches:!0,params:{}};const n=e.split("/").filter(Boolean),r=hi.value.pathParts,i={};let o=0,a=0;for(;o<n.length&&a<r.length;){const e=n[o],t=r[a];if(e.startsWith(":")){i[e.endsWith("?")?e.slice(1,-1):e.slice(1)]=t,o++,a++}else{if(e!==t)return{matches:!1,params:{}};o++,a++}}for(;o<n.length;){const e=n[o];if(!e.startsWith(":")||!e.endsWith("?"))return{matches:!1,params:{}};i[e.slice(1,-1)]=void 0,o++}const s=a===r.length;return{matches:s&&t({matches:s,params:i}),params:i}};var mi;!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"}(mi||(mi={}));Error;const vi="GT",bi="GE",yi="LT",_i="LE",wi="EQ",xi="NEQ",ki="CONTAINS",Ci="IN",Si={[wi]:"=",[xi]:"!=",[vi]:">",[bi]:">=",[yi]:"<",[_i]:"<=",[ki]:"~="},Ti="AND",Ai="OR";const Mi=()=>!0;function Li(e){switch(e.type){case"condition":return function(e){const{left:t,operator:n,right:r}=e;return e=>{const i=Ei(e,t),o=Ni(r);return function(e,t,n){if(null==n)return t===wi||t===Si.EQ?null==e:(t===xi||t===Si.NEQ)&&null!=e;if(null==e)return!1;switch(t){case wi:case Si.EQ:return Oi(e,n);case xi:case Si.NEQ:return!Oi(e,n);case vi:case Si.GT:return Ri(e,n)>0;case bi:case Si.GE:return Ri(e,n)>=0;case yi:case Si.LT:return Ri(e,n)<0;case _i:case Si.LE:return Ri(e,n)<=0;case ki:case Si.CONTAINS:return function(e,t){if(null==e)return!1;if(e===t)return!0;const n=String(e).toLocaleLowerCase(),r=String(t).toLocaleLowerCase();return n.includes(r)}(e,n);default:return!1}}(i,n,o)}}(e);case"arrayCondition":return function(e){const{left:t,operator:n,right:r}=e;if(n===Ci)return e=>{const n=Ei(e,t),i=r.map(Ni);return null!=n&&i.some((e=>null==e?null==n:Oi(n,e)))};return()=>!1}(e);case"binary":return function(e){const t=Li(e.left),n=Li(e.right);if(e.operator===Ti)return e=>t(e)&&n(e);if(e.operator===Ai)return e=>t(e)||n(e);return()=>!1}(e);case"not":return function(e){const t=Li(e.expression);return e=>!t(e)}(e);case"paren":return function(e){return Li(e.expression)}(e);case"boolean":return function(e){return()=>e.value}(e);default:return Mi}}function Ei(e,t){let n=e[t.identifier];if(t.param){if(!(Array.isArray(n)||"object"==typeof n&&null!==n))return;n=n[t.param.value]}return n}function Ni(e){switch(e.type){case"NULL":return null;case"BOOLEAN":return"true"===e.value.toLowerCase();case"NUMBER":{const t=parseFloat(e.value);return Number.isNaN(t)?0:Number.isInteger(t)?parseInt(e.value,10):t}default:return e.value}}function Oi(e,t){return e===t||("string"==typeof e&&"string"==typeof t?e.toLocaleLowerCase()===t.toLocaleLowerCase():"number"==typeof e&&"number"==typeof t||"boolean"==typeof e&&"boolean"==typeof t?e===t:!(!Array.isArray(e)||!Array.isArray(t))&&(e.length===t.length&&e.every(((e,n)=>Oi(e,t[n])))))}function Ri(e,t){if(null==e)return-1;const n="number"==typeof e?e:"string"==typeof e?parseFloat(e):Number(e),r="number"==typeof t?t:"string"==typeof t?parseFloat(t):Number(t);return Number.isNaN(n)||Number.isNaN(r)?0:n-r}const Di=e=>{if(0===e.length)throw new Error("chainFieldFilters: filters array cannot be empty");if(1===e.length){const[t]=e;return"field"===t.type?(e=>{const{value:t}=e,{key:n,type:r,strict:i,value:o}=t;if("array"===r){if(0===o.length)throw new Error("ArrayField value cannot be empty");return!1===i?Pi(n,o,20):{type:"arrayCondition",left:{identifier:n},operator:"IN",right:o.map((e=>({value:e,type:"STRING"})))}}let a,s,l="EQ";switch(r){case"number":a=String(o),l=i??1?"EQ":"CONTAINS",s="NUMBER";break;case"boolean":a=o?"true":"false",s="BOOLEAN",l="EQ";break;case"string":a=String(o),l=i??1?"EQ":"CONTAINS",s="STRING";break;default:throw new Error(`Unsupported field type: ${String(r)}`)}return{type:"condition",left:{identifier:n},operator:l,right:{value:a,type:s}}})(t):(e=>{const{value:t}=e;if(0===t.length)throw new Error("buildFieldFilters: value array cannot be empty");return 1===t.length?Di([t[0]]):{type:"paren",expression:Di(t)}})(t)}const[t,n,...r]=e;return 0===r.length?{type:"binary",operator:t.logicalOperator??"AND",left:Di([t]),right:Di([n])}:r.reduce(((e,t)=>({type:"binary",operator:t.logicalOperator??"AND",left:e,right:Di([t])})),Di([t,n]))},Pi=(e,t,n=20)=>{if(0===t.length)throw new Error("buildArrayIntersectionFilter: values array cannot be empty");const r=t.map((t=>{const r=Array.from({length:n+1},((n,r)=>({type:"condition",left:{identifier:e,param:{value:r,type:"number"}},operator:"EQ",right:{value:t,type:"STRING"}})));return 1===r.length?r[0]:r.reduce(((e,t,n)=>0===n?t:{type:"binary",operator:"OR",left:e,right:t}),r[0])}));return 1===r.length?r[0]:r.reduce(((e,t,n)=>0===n?t:{type:"binary",operator:"OR",left:e,right:t}),r[0])},Ii="auto",zi="light",Bi="dark",ji="theme",Fi=[zi,Bi,Ii],Hi={matches:!1,addEventListener:()=>{},removeEventListener:()=>{},media:"",onchange:()=>{},addListener:()=>{},removeListener:()=>{},dispatchEvent:()=>!0},$i=()=>"undefined"==typeof window||"function"!=typeof window.matchMedia?Hi:window.matchMedia("(prefers-color-scheme: dark)"),Ui=H()?.theme,qi=Zr((()=>Wi.value===Ii?Vi.value:Wi.value)),Wi=Wr(Ii),Vi=Wr("undefined"==typeof window?zi:$i().matches?Bi:zi);(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:Wi,key:ji,onRestore:e=>(e=>Fi.includes(e))(e)?e:Ui??Ii}),(e=>{if("undefined"==typeof window)return;const{signal:t,key:n,shouldPersist:r=()=>!0}=e;ti((()=>{const e=t.value;if(r(e))try{window.localStorage.setItem(n,"string"==typeof e?e:JSON.stringify(e))}catch{}}))})({signal:Wi,key:ji});const Gi=Zr((()=>({current:qi.value,selected:Wi.value}))),Yi=()=>{const e=Wi.peek(),t=Fi[(Fi.indexOf(e)+1)%Fi.length];var n;n=t,Wi.value=n};(()=>{if("undefined"==typeof window)return;ti((()=>{document.documentElement.setAttribute("data-theme",qi.value)}));$i().addEventListener("change",(e=>{e.matches?Vi.value=Bi:Vi.value=zi}))})();Symbol("loadableStore");Wr(1);const Xi="\nhtml, body {\n margin: 0;\n padding: 0;\n overflow-x: hidden;\n overflow-y: hidden;\n background: var(--bg-base-primary);\n}\n\nbody {\n color: var(--on-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-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(--on-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(--on-text-primary);\n text-decoration: underline;\n}\n\na:hover {\n color: var(--on-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(--bg-control-secondary);\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(--bg-control-secondary);\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(--on-border-primary);\n color: var(--on-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(--on-border-primary);\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(--on-border-primary) !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(--bg-base-primary);\n}\n\ntr:nth-child(2n) {\n background: var(--bg-control-secondary);\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(--on-text-primary);\n vertical-align: middle;\n background-color: var(--bg-control-secondary);\n border: solid 1px var(--on-border-medium);\n border-bottom-color: var(--on-border-medium);\n border-radius: 6px;\n box-shadow: inset 0 -1px 0 var(--on-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(--bg-support-aldebaran);\n color: var(--on-text-primary);\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(--bg-support-gliese);\n color: var(--on-text-primary);\n text-decoration-color: var(--on-support-gliese);\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(--on-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(--on-text-secondary);\n}\n\nsummary::marker {\n color: var(--on-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",Zi=/var\(\s*(--[\w-]+)\s*(?:,\s*([^)]+))?\)/g,Ki=(e,t,n)=>e.replace(Zi,((e,r,i)=>{if(n.has(r))return i?Ki(i.trim(),t,n):"";const o=new Set(n);o.add(r);const a=t.getPropertyValue(r).trim();return a?Ki(a,t,o):i?Ki(i.trim(),t,o):""})),Ji=(e,t,n,r)=>!!r(e,t)&&n.filter((e=>!e.isRoot)).every((e=>!r(e.id,e.openedByDefault))),Qi=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"},eo=e=>{const{hasOnlyLeafResults:t,isSubtreeCollapsedAll:n,isSubtreeFirstLevelOnly:r}=e;return t?n?"single-down":"single-up":n?"single-down":r?"double-down":"double-up"};var to,no,ro,io,oo,ao,so,lo,co,uo,fo,ho,po,go={},mo=[],vo=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,bo=Array.isArray;function yo(e,t){for(var n in t)e[n]=t[n];return e}function _o(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function wo(e,t,n){var r,i,o,a={};for(o in t)"key"==o?r=t[o]:"ref"==o?i=t[o]:a[o]=t[o];if(arguments.length>2&&(a.children=arguments.length>3?to.call(arguments,2):n),"function"==typeof e&&null!=e.defaultProps)for(o in e.defaultProps)void 0===a[o]&&(a[o]=e.defaultProps[o]);return xo(e,a,r,i,null)}function xo(e,t,n,r,i){var o={type:e,props:t,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:null==i?++ro:i,__i:-1,__u:0};return null==i&&null!=no.vnode&&no.vnode(o),o}function ko(e){return e.children}function Co(e,t){this.props=e,this.context=t}function So(e,t){if(null==t)return e.__?So(e.__,e.__i+1):null;for(var n;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e)return n.__e;return"function"==typeof e.type?So(e):null}function To(e){var t,n;if(null!=(e=e.__)&&null!=e.__c){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e){e.__e=e.__c.base=n.__e;break}return To(e)}}function Ao(e){(!e.__d&&(e.__d=!0)&&oo.push(e)&&!Mo.__r++||ao!=no.debounceRendering)&&((ao=no.debounceRendering)||so)(Mo)}function Mo(){for(var e,t,n,r,i,o,a,s=1;oo.length;)oo.length>s&&oo.sort(lo),e=oo.shift(),s=oo.length,e.__d&&(n=void 0,r=void 0,i=(r=(t=e).__v).__e,o=[],a=[],t.__P&&((n=yo({},r)).__v=r.__v+1,no.vnode&&no.vnode(n),zo(t.__P,n,r,t.__n,t.__P.namespaceURI,32&r.__u?[i]:null,o,null==i?So(r):i,!!(32&r.__u),a),n.__v=r.__v,n.__.__k[n.__i]=n,jo(o,n,a),r.__e=r.__=null,n.__e!=i&&To(n)));Mo.__r=0}function Lo(e,t,n,r,i,o,a,s,l,c,u){var d,f,h,p,g,m,v,b=r&&r.__k||mo,y=t.length;for(l=Eo(n,t,b,l,y),d=0;d<y;d++)null!=(h=n.__k[d])&&(f=-1==h.__i?go:b[h.__i]||go,h.__i=d,m=zo(e,h,f,i,o,a,s,l,c,u),p=h.__e,h.ref&&f.ref!=h.ref&&(f.ref&&$o(f.ref,null,h),u.push(h.ref,h.__c||p,h)),null==g&&null!=p&&(g=p),(v=!!(4&h.__u))||f.__k===h.__k?l=No(h,l,e,v):"function"==typeof h.type&&void 0!==m?l=m:p&&(l=p.nextSibling),h.__u&=-7);return n.__e=g,l}function Eo(e,t,n,r,i){var o,a,s,l,c,u=n.length,d=u,f=0;for(e.__k=new Array(i),o=0;o<i;o++)null!=(a=t[o])&&"boolean"!=typeof a&&"function"!=typeof a?("string"==typeof a||"number"==typeof a||"bigint"==typeof a||a.constructor==String?a=e.__k[o]=xo(null,a,null,null,null):bo(a)?a=e.__k[o]=xo(ko,{children:a},null,null,null):void 0===a.constructor&&a.__b>0?a=e.__k[o]=xo(a.type,a.props,a.key,a.ref?a.ref:null,a.__v):e.__k[o]=a,l=o+f,a.__=e,a.__b=e.__b+1,s=null,-1!=(c=a.__i=Ro(a,n,l,d))&&(d--,(s=n[c])&&(s.__u|=2)),null==s||null==s.__v?(-1==c&&(i>u?f--:i<u&&f++),"function"!=typeof a.type&&(a.__u|=4)):c!=l&&(c==l-1?f--:c==l+1?f++:(c>l?f--:f++,a.__u|=4))):e.__k[o]=null;if(d)for(o=0;o<u;o++)null!=(s=n[o])&&!(2&s.__u)&&(s.__e==r&&(r=So(s)),Uo(s,s));return r}function No(e,t,n,r){var i,o;if("function"==typeof e.type){for(i=e.__k,o=0;i&&o<i.length;o++)i[o]&&(i[o].__=e,t=No(i[o],t,n,r));return t}e.__e!=t&&(r&&(t&&e.type&&!t.parentNode&&(t=So(e)),n.insertBefore(e.__e,t||null)),t=e.__e);do{t=t&&t.nextSibling}while(null!=t&&8==t.nodeType);return t}function Oo(e,t){return t=t||[],null==e||"boolean"==typeof e||(bo(e)?e.some((function(e){Oo(e,t)})):t.push(e)),t}function Ro(e,t,n,r){var i,o,a,s=e.key,l=e.type,c=t[n],u=null!=c&&!(2&c.__u);if(null===c&&null==s||u&&s==c.key&&l==c.type)return n;if(r>(u?1:0))for(i=n-1,o=n+1;i>=0||o<t.length;)if(null!=(c=t[a=i>=0?i--:o++])&&!(2&c.__u)&&s==c.key&&l==c.type)return a;return-1}function Do(e,t,n){"-"==t[0]?e.setProperty(t,null==n?"":n):e[t]=null==n?"":"number"!=typeof n||vo.test(t)?n:n+"px"}function Po(e,t,n,r,i){var o,a;e:if("style"==t)if("string"==typeof n)e.style.cssText=n;else{if("string"==typeof r&&(e.style.cssText=r=""),r)for(t in r)n&&t in n||Do(e.style,t,"");if(n)for(t in n)r&&n[t]==r[t]||Do(e.style,t,n[t])}else if("o"==t[0]&&"n"==t[1])o=t!=(t=t.replace(co,"$1")),a=t.toLowerCase(),t=a in e||"onFocusOut"==t||"onFocusIn"==t?a.slice(2):t.slice(2),e.l||(e.l={}),e.l[t+o]=n,n?r?n.u=r.u:(n.u=uo,e.addEventListener(t,o?ho:fo,o)):e.removeEventListener(t,o?ho:fo,o);else{if("http://www.w3.org/2000/svg"==i)t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!=t&&"height"!=t&&"href"!=t&&"list"!=t&&"form"!=t&&"tabIndex"!=t&&"download"!=t&&"rowSpan"!=t&&"colSpan"!=t&&"role"!=t&&"popover"!=t&&t in e)try{e[t]=null==n?"":n;break e}catch(e){}"function"==typeof n||(null==n||!1===n&&"-"!=t[4]?e.removeAttribute(t):e.setAttribute(t,"popover"==t&&1==n?"":n))}}function Io(e){return function(t){if(this.l){var n=this.l[t.type+e];if(null==t.t)t.t=uo++;else if(t.t<n.u)return;return n(no.event?no.event(t):t)}}}function zo(e,t,n,r,i,o,a,s,l,c){var u,d,f,h,p,g,m,v,b,y,_,w,x,k,C,S,T,A=t.type;if(void 0!==t.constructor)return null;128&n.__u&&(l=!!(32&n.__u),o=[s=t.__e=n.__e]),(u=no.__b)&&u(t);e:if("function"==typeof A)try{if(v=t.props,b="prototype"in A&&A.prototype.render,y=(u=A.contextType)&&r[u.__c],_=u?y?y.props.value:u.__:r,n.__c?m=(d=t.__c=n.__c).__=d.__E:(b?t.__c=d=new A(v,_):(t.__c=d=new Co(v,_),d.constructor=A,d.render=qo),y&&y.sub(d),d.state||(d.state={}),d.__n=r,f=d.__d=!0,d.__h=[],d._sb=[]),b&&null==d.__s&&(d.__s=d.state),b&&null!=A.getDerivedStateFromProps&&(d.__s==d.state&&(d.__s=yo({},d.__s)),yo(d.__s,A.getDerivedStateFromProps(v,d.__s))),h=d.props,p=d.state,d.__v=t,f)b&&null==A.getDerivedStateFromProps&&null!=d.componentWillMount&&d.componentWillMount(),b&&null!=d.componentDidMount&&d.__h.push(d.componentDidMount);else{if(b&&null==A.getDerivedStateFromProps&&v!==h&&null!=d.componentWillReceiveProps&&d.componentWillReceiveProps(v,_),t.__v==n.__v||!d.__e&&null!=d.shouldComponentUpdate&&!1===d.shouldComponentUpdate(v,d.__s,_)){for(t.__v!=n.__v&&(d.props=v,d.state=d.__s,d.__d=!1),t.__e=n.__e,t.__k=n.__k,t.__k.some((function(e){e&&(e.__=t)})),w=0;w<d._sb.length;w++)d.__h.push(d._sb[w]);d._sb=[],d.__h.length&&a.push(d);break e}null!=d.componentWillUpdate&&d.componentWillUpdate(v,d.__s,_),b&&null!=d.componentDidUpdate&&d.__h.push((function(){d.componentDidUpdate(h,p,g)}))}if(d.context=_,d.props=v,d.__P=e,d.__e=!1,x=no.__r,k=0,b){for(d.state=d.__s,d.__d=!1,x&&x(t),u=d.render(d.props,d.state,d.context),C=0;C<d._sb.length;C++)d.__h.push(d._sb[C]);d._sb=[]}else do{d.__d=!1,x&&x(t),u=d.render(d.props,d.state,d.context),d.state=d.__s}while(d.__d&&++k<25);d.state=d.__s,null!=d.getChildContext&&(r=yo(yo({},r),d.getChildContext())),b&&!f&&null!=d.getSnapshotBeforeUpdate&&(g=d.getSnapshotBeforeUpdate(h,p)),S=u,null!=u&&u.type===ko&&null==u.key&&(S=Fo(u.props.children)),s=Lo(e,bo(S)?S:[S],t,n,r,i,o,a,s,l,c),d.base=t.__e,t.__u&=-161,d.__h.length&&a.push(d),m&&(d.__E=d.__=null)}catch(e){if(t.__v=null,l||null!=o)if(e.then){for(t.__u|=l?160:128;s&&8==s.nodeType&&s.nextSibling;)s=s.nextSibling;o[o.indexOf(s)]=null,t.__e=s}else{for(T=o.length;T--;)_o(o[T]);Bo(t)}else t.__e=n.__e,t.__k=n.__k,e.then||Bo(t);no.__e(e,t,n)}else null==o&&t.__v==n.__v?(t.__k=n.__k,t.__e=n.__e):s=t.__e=Ho(n.__e,t,n,r,i,o,a,l,c);return(u=no.diffed)&&u(t),128&t.__u?void 0:s}function Bo(e){e&&e.__c&&(e.__c.__e=!0),e&&e.__k&&e.__k.forEach(Bo)}function jo(e,t,n){for(var r=0;r<n.length;r++)$o(n[r],n[++r],n[++r]);no.__c&&no.__c(t,e),e.some((function(t){try{e=t.__h,t.__h=[],e.some((function(e){e.call(t)}))}catch(e){no.__e(e,t.__v)}}))}function Fo(e){return"object"!=typeof e||null==e||e.__b&&e.__b>0?e:bo(e)?e.map(Fo):yo({},e)}function Ho(e,t,n,r,i,o,a,s,l){var c,u,d,f,h,p,g,m=n.props||go,v=t.props,b=t.type;if("svg"==b?i="http://www.w3.org/2000/svg":"math"==b?i="http://www.w3.org/1998/Math/MathML":i||(i="http://www.w3.org/1999/xhtml"),null!=o)for(c=0;c<o.length;c++)if((h=o[c])&&"setAttribute"in h==!!b&&(b?h.localName==b:3==h.nodeType)){e=h,o[c]=null;break}if(null==e){if(null==b)return document.createTextNode(v);e=document.createElementNS(i,b,v.is&&v),s&&(no.__m&&no.__m(t,o),s=!1),o=null}if(null==b)m===v||s&&e.data==v||(e.data=v);else{if(o=o&&to.call(e.childNodes),!s&&null!=o)for(m={},c=0;c<e.attributes.length;c++)m[(h=e.attributes[c]).name]=h.value;for(c in m)if(h=m[c],"children"==c);else if("dangerouslySetInnerHTML"==c)d=h;else if(!(c in v)){if("value"==c&&"defaultValue"in v||"checked"==c&&"defaultChecked"in v)continue;Po(e,c,null,h,i)}for(c in v)h=v[c],"children"==c?f=h:"dangerouslySetInnerHTML"==c?u=h:"value"==c?p=h:"checked"==c?g=h:s&&"function"!=typeof h||m[c]===h||Po(e,c,h,m[c],i);if(u)s||d&&(u.__html==d.__html||u.__html==e.innerHTML)||(e.innerHTML=u.__html),t.__k=[];else if(d&&(e.innerHTML=""),Lo("template"==t.type?e.content:e,bo(f)?f:[f],t,n,r,"foreignObject"==b?"http://www.w3.org/1999/xhtml":i,o,a,o?o[0]:n.__k&&So(n,0),s,l),null!=o)for(c=o.length;c--;)_o(o[c]);s||(c="value","progress"==b&&null==p?e.removeAttribute("value"):null!=p&&(p!==e[c]||"progress"==b&&!p||"option"==b&&p!=m[c])&&Po(e,c,p,m[c],i),c="checked",null!=g&&g!=e[c]&&Po(e,c,g,m[c],i))}return e}function $o(e,t,n){try{if("function"==typeof e){var r="function"==typeof e.__u;r&&e.__u(),r&&null==t||(e.__u=e(t))}else e.current=t}catch(e){no.__e(e,n)}}function Uo(e,t,n){var r,i;if(no.unmount&&no.unmount(e),(r=e.ref)&&(r.current&&r.current!=e.__e||$o(r,null,t)),null!=(r=e.__c)){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(e){no.__e(e,t)}r.base=r.__P=null}if(r=e.__k)for(i=0;i<r.length;i++)r[i]&&Uo(r[i],t,n||"function"!=typeof e.type);n||_o(e.__e),e.__c=e.__=e.__e=void 0}function qo(e,t,n){return this.constructor(e,n)}function Wo(e,t,n){var r,i,o,a;t==document&&(t=document.documentElement),no.__&&no.__(e,t),i=(r="function"==typeof n)?null:n&&n.__k||t.__k,o=[],a=[],zo(t,e=(!r&&n||t).__k=wo(ko,null,[e]),i||go,go,t.namespaceURI,!r&&n?[n]:i?null:t.firstChild?to.call(t.childNodes):null,o,!r&&n?n:i?i.__e:t.firstChild,r,a),jo(o,e,a)}function Vo(e,t,n){var r,i,o,a,s=yo({},e.props);for(o in e.type&&e.type.defaultProps&&(a=e.type.defaultProps),t)"key"==o?r=t[o]:"ref"==o?i=t[o]:s[o]=void 0===t[o]&&null!=a?a[o]:t[o];return arguments.length>2&&(s.children=arguments.length>3?to.call(arguments,2):n),xo(e.type,s,r||e.key,i||e.ref,null)}function Go(e){function t(e){var n,r;return this.getChildContext||(n=new Set,(r={})[t.__c]=this,this.getChildContext=function(){return r},this.componentWillUnmount=function(){n=null},this.shouldComponentUpdate=function(e){this.props.value!=e.value&&n.forEach((function(e){e.__e=!0,Ao(e)}))},this.sub=function(e){n.add(e);var t=e.componentWillUnmount;e.componentWillUnmount=function(){n&&n.delete(e),t&&t.call(e)}}),e.children}return t.__c="__cC"+po++,t.__=e,t.Provider=t.__l=(t.Consumer=function(e,t){return e.children(t)}).contextType=t,t}to=mo.slice,no={__e:function(e,t,n,r){for(var i,o,a;t=t.__;)if((i=t.__c)&&!i.__)try{if((o=i.constructor)&&null!=o.getDerivedStateFromError&&(i.setState(o.getDerivedStateFromError(e)),a=i.__d),null!=i.componentDidCatch&&(i.componentDidCatch(e,r||{}),a=i.__d),a)return i.__E=i}catch(t){e=t}throw e}},ro=0,io=function(e){return null!=e&&void 0===e.constructor},Co.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!=this.state?this.__s:this.__s=yo({},this.state),"function"==typeof e&&(e=e(yo({},n),this.props)),e&&yo(n,e),null!=e&&this.__v&&(t&&this._sb.push(t),Ao(this))},Co.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),Ao(this))},Co.prototype.render=ko,oo=[],so="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,lo=function(e,t){return e.__v.__b-t.__v.__b},Mo.__r=0,co=/(PointerCapture)$|Capture$/i,uo=0,fo=Io(!1),ho=Io(!0),po=0;var Yo,Xo,Zo,Ko,Jo=0,Qo=[],ea=no,ta=ea.__b,na=ea.__r,ra=ea.diffed,ia=ea.__c,oa=ea.unmount,aa=ea.__;function sa(e,t){ea.__h&&ea.__h(Xo,e,Jo||t),Jo=0;var n=Xo.__H||(Xo.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({}),n.__[e]}function la(e){return Jo=1,ca(ka,e)}function ca(e,t,n){var r=sa(Yo++,2);if(r.t=e,!r.__c&&(r.__=[n?n(t):ka(void 0,t),function(e){var t=r.__N?r.__N[0]:r.__[0],n=r.t(t,e);t!==n&&(r.__N=[n,r.__[1]],r.__c.setState({}))}],r.__c=Xo,!Xo.__f)){var i=function(e,t,n){if(!r.__c.__H)return!0;var i=r.__c.__H.__.filter((function(e){return!!e.__c}));if(i.every((function(e){return!e.__N})))return!o||o.call(this,e,t,n);var a=r.__c.props!==e;return i.forEach((function(e){if(e.__N){var t=e.__[0];e.__=e.__N,e.__N=void 0,t!==e.__[0]&&(a=!0)}})),o&&o.call(this,e,t,n)||a};Xo.__f=!0;var o=Xo.shouldComponentUpdate,a=Xo.componentWillUpdate;Xo.componentWillUpdate=function(e,t,n){if(this.__e){var r=o;o=void 0,i(e,t,n),o=r}a&&a.call(this,e,t,n)},Xo.shouldComponentUpdate=i}return r.__N||r.__}function ua(e,t){var n=sa(Yo++,3);!ea.__s&&xa(n.__H,t)&&(n.__=e,n.u=t,Xo.__H.__h.push(n))}function da(e,t){var n=sa(Yo++,4);!ea.__s&&xa(n.__H,t)&&(n.__=e,n.u=t,Xo.__h.push(n))}function fa(e){return Jo=5,ha((function(){return{current:e}}),[])}function ha(e,t){var n=sa(Yo++,7);return xa(n.__H,t)&&(n.__=e(),n.__H=t,n.__h=e),n.__}function pa(e,t){return Jo=8,ha((function(){return e}),t)}function ga(e){var t=Xo.context[e.__c],n=sa(Yo++,9);return n.c=e,t?(null==n.__&&(n.__=!0,t.sub(Xo)),t.props.value):e.__}function ma(){var e=sa(Yo++,11);if(!e.__){for(var t=Xo.__v;null!==t&&!t.__m&&null!==t.__;)t=t.__;var n=t.__m||(t.__m=[0,0]);e.__="P"+n[0]+"-"+n[1]++}return e.__}function va(){for(var e;e=Qo.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(_a),e.__H.__h.forEach(wa),e.__H.__h=[]}catch(t){e.__H.__h=[],ea.__e(t,e.__v)}}ea.__b=function(e){Xo=null,ta&&ta(e)},ea.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),aa&&aa(e,t)},ea.__r=function(e){na&&na(e),Yo=0;var t=(Xo=e.__c).__H;t&&(Zo===Xo?(t.__h=[],Xo.__h=[],t.__.forEach((function(e){e.__N&&(e.__=e.__N),e.u=e.__N=void 0}))):(t.__h.forEach(_a),t.__h.forEach(wa),t.__h=[],Yo=0)),Zo=Xo},ea.diffed=function(e){ra&&ra(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(1!==Qo.push(t)&&Ko===ea.requestAnimationFrame||((Ko=ea.requestAnimationFrame)||ya)(va)),t.__H.__.forEach((function(e){e.u&&(e.__H=e.u),e.u=void 0}))),Zo=Xo=null},ea.__c=function(e,t){t.some((function(e){try{e.__h.forEach(_a),e.__h=e.__h.filter((function(e){return!e.__||wa(e)}))}catch(n){t.some((function(e){e.__h&&(e.__h=[])})),t=[],ea.__e(n,e.__v)}})),ia&&ia(e,t)},ea.unmount=function(e){oa&&oa(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach((function(e){try{_a(e)}catch(e){t=e}})),n.__H=void 0,t&&ea.__e(t,n.__v))};var ba="function"==typeof requestAnimationFrame;function ya(e){var t,n=function(){clearTimeout(r),ba&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,35);ba&&(t=requestAnimationFrame(n))}function _a(e){var t=Xo,n=e.__c;"function"==typeof n&&(e.__c=void 0,n()),Xo=t}function wa(e){var t=Xo;e.__c=e.__(),Xo=t}function xa(e,t){return!e||e.length!==t.length||t.some((function(t,n){return t!==e[n]}))}function ka(e,t){return"function"==typeof t?t(e):t}var Ca,Sa,Ta,Aa="undefined"!=typeof window&&!!window.__PREACT_SIGNALS_DEVTOOLS__,Ma=[],La=[];function Ea(e,t){no[e]=t.bind(null,no[e]||function(){})}function Na(e){Ta&&Ta(),Ta=e&&e.S()}function Oa(e){var t=this,n=e.data,r=Da(n);r.value=n;var i=ha((function(){for(var e=t,n=t.__v;n=n.__;)if(n.__c){n.__c.__$f|=4;break}var i=Zr((function(){var e=r.value.value;return 0===e?0:!0===e?"":e||""})),o=Zr((function(){return!Array.isArray(i.value)&&!io(i.value)})),a=ti((function(){if(this.N=Ha,o.value){var t=i.value;e.__v&&e.__v.__e&&3===e.__v.__e.nodeType&&(e.__v.__e.data=t)}})),s=t.__$u.d;return t.__$u.d=function(){a(),s.call(this)},[o,i]}),[]),o=i[0],a=i[1];return o.value?a.peek():a.value}function Ra(e,t,n,r){var i=t in e&&void 0===e.ownerSVGElement,o=Wr(n);return{o:function(e,t){o.value=e,r=t},d:ti((function(){this.N=Ha;var n=o.value.value;r[t]!==n&&(r[t]=n,i?e[t]=n:null==n||!1===n&&"-"!==t[4]?e.removeAttribute(t):e.setAttribute(t,n))}))}}function Da(e,t){return la((function(){return Wr(e,t)}))[0]}function Pa(e,t){var n=fa(e);return n.current=e,Sa.__$f|=4,ha((function(){return Zr((function(){return n.current()}),t)}),[])}ti((function(){Ca=this.N}))(),Oa.displayName="ReactiveTextNode",Object.defineProperties(qr.prototype,{constructor:{configurable:!0,value:void 0},type:{configurable:!0,value:Oa},props:{configurable:!0,get:function(){return{data:this}}},__b:{configurable:!0,value:1}}),Ea("__b",(function(e,t){if("string"==typeof t.type){var n,r=t.props;for(var i in r)if("children"!==i){var o=r[i];o instanceof qr&&(n||(t.__np=n={}),n[i]=o,r[i]=o.peek())}}e(t)})),Ea("__r",(function(e,t){if(t.type!==ko){Na();var n,r=t.__c;r&&(r.__$f&=-2,void 0===(n=r.__$u)&&(r.__$u=n=function(e,t){var n;return ti((function(){n=this}),{name:t}),n.c=e,n}((function(){var e;Aa&&(null==(e=n.y)||e.call(n)),r.__$f|=1,r.setState({})}),"function"==typeof t.type?t.type.displayName||t.type.name:""))),Sa=r,Na(n)}e(t)})),Ea("__e",(function(e,t,n,r){Na(),Sa=void 0,e(t,n,r)})),Ea("diffed",(function(e,t){var n;if(Na(),Sa=void 0,"string"==typeof t.type&&(n=t.__e)){var r=t.__np,i=t.props;if(r){var o=n.U;if(o)for(var a in o){var s=o[a];void 0===s||a in r||(s.d(),o[a]=void 0)}else o={},n.U=o;for(var l in r){var c=o[l],u=r[l];void 0===c?(c=Ra(n,l,u,i),o[l]=c):c.o(u,i)}}}e(t)})),Ea("unmount",(function(e,t){if("string"==typeof t.type){var n=t.__e;if(n){var r=n.U;if(r)for(var i in n.U=void 0,r){var o=r[i];o&&o.d()}}}else{var a=t.__c;if(a){var s=a.__$u;s&&(a.__$u=void 0,s.d())}}e(t)})),Ea("__h",(function(e,t,n,r){(r<3||9===r)&&(t.__$f|=2),e(t,n,r)})),Co.prototype.shouldComponentUpdate=function(e,t){var n=this.__$u,r=n&&void 0!==n.s;for(var i in t)return!0;if(this.__f||"boolean"==typeof this.u&&!0===this.u){var o=2&this.__$f;if(!(r||o||4&this.__$f))return!0;if(1&this.__$f)return!0}else{if(!(r||4&this.__$f))return!0;if(3&this.__$f)return!0}for(var a in e)if("__source"!==a&&e[a]!==this.props[a])return!0;for(var s in this.props)if(!(s in e))return!0;return!1};var Ia="undefined"==typeof requestAnimationFrame?setTimeout:function(e){var t=function(){clearTimeout(n),cancelAnimationFrame(r),e()},n=setTimeout(t,35),r=requestAnimationFrame(t)},za=function(e){queueMicrotask((function(){queueMicrotask(e)}))};function Ba(){Ir((function(){for(var e;e=Ma.shift();)Ca.call(e)}))}function ja(){1===Ma.push(this)&&(no.requestAnimationFrame||Ia)(Ba)}function Fa(){Ir((function(){for(var e;e=La.shift();)Ca.call(e)}))}function Ha(){1===La.push(this)&&(no.requestAnimationFrame||za)(Fa)}function $a(e,t){var n=fa(e);n.current=e,ua((function(){return ti((function(){return this.N=ja,n.current()}),t)}),[])}var Ua=function(e){return"function"==typeof e.children?e.children(e.v,e.i):e.children};function qa(e){var t=ha((function(){return new Map}),[]),n=("function"==typeof e.each?e.each():e.each).value;if(!n.length)return e.fallback||null;var r=new Set(t.keys()),i=n.map((function(n,i){if(r.delete(n),!t.has(n)){var o=wo(Ua,{v:n,i:i,children:e.children});return t.set(n,o),o}return t.get(n)}));return r.forEach((function(e){t.delete(e)})),wo(ko,null,i)}Ua.displayName="Item",qa.displayName="For";function Wa(e,t){for(var n in t)e[n]=t[n];return e}function Va(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 Ga(e,t){this.props=e,this.context=t}function Ya(e,t){function n(e){var n=this.props.ref,r=n==e.ref;return!r&&n&&(n.call?n(null):n.current=null),t?!t(this.props,e)||!r:Va(this.props,e)}function r(t){return this.shouldComponentUpdate=n,wo(e,t)}return r.displayName="Memo("+(e.displayName||e.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r.type=e,r}(Ga.prototype=new Co).isPureReactComponent=!0,Ga.prototype.shouldComponentUpdate=function(e,t){return Va(this.props,e)||Va(this.state,t)};var Xa=no.__b;no.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),Xa&&Xa(e)};var Za="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function Ka(e){function t(t){var n=Wa({},t);return delete n.ref,e(n,t.ref||null)}return t.$$typeof=Za,t.render=e,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var Ja=no.__e;no.__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);Ja(e,t,n,r)};var Qa=no.unmount;function es(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=Wa({},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 es(e,t,n)}))),e}function ts(e,t,n){return e&&n&&(e.__v=null,e.__k=e.__k&&e.__k.map((function(e){return ts(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 ns(){this.__u=0,this.o=null,this.__b=null}function rs(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function is(){this.i=null,this.l=null}no.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),Qa&&Qa(e)},(ns.prototype=new Co).__c=function(e,t){var n=t.__c,r=this;null==r.o&&(r.o=[]),r.o.push(n);var i=rs(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]=ts(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)},ns.prototype.componentWillUnmount=function(){this.o=[]},ns.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=es(this.__b,n,r.__O=r.__P)}this.__b=null}var i=t.__a&&wo(ko,null,e.fallback);return i&&(i.__u&=-33),[wo(ko,null,t.__a?null:e.children),i]};var os=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 as(e){return this.getChildContext=function(){return e.context},e.children}function ss(e){var t=this,n=e.h;if(t.componentWillUnmount=function(){Wo(null,t.v),t.v=null,t.h=null},t.h&&t.h!==n&&t.componentWillUnmount(),!t.v){for(var r=t.__v;null!==r&&!r.__m&&null!==r.__;)r=r.__;t.h=n,t.v={nodeType:1,parentNode:n,childNodes:[],__k:{__m:r.__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)}}}Wo(wo(as,{context:t.context},e.__v),t.v)}function ls(e,t){var n=wo(ss,{__v:e,h:t});return n.containerInfo=t,n}(is.prototype=new Co).__a=function(e){var t=this,n=rs(t.__v),r=t.l.get(e);return r[0]++,function(i){var o=function(){t.props.revealOrder?(r.push(i),os(t,e,r)):i()};n?n(o):o()}},is.prototype.render=function(e){this.i=null,this.l=new Map;var t=Oo(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},is.prototype.componentDidUpdate=is.prototype.componentDidMount=function(){var e=this;this.l.forEach((function(t,n){os(e,n,t)}))};var cs="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,us=/^(?: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]/,ds=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,fs=/[A-Z0-9]/g,hs="undefined"!=typeof document,ps=function(e){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/:/fil|che|ra/).test(e)};Co.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach((function(e){Object.defineProperty(Co.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})}));var gs=no.event;function ms(){}function vs(){return this.cancelBubble}function bs(){return this.defaultPrevented}no.event=function(e){return gs&&(e=gs(e)),e.persist=ms,e.isPropagationStopped=vs,e.isDefaultPrevented=bs,e.nativeEvent=e};var ys={enumerable:!1,configurable:!0,get:function(){return this.class}},_s=no.vnode;no.vnode=function(e){"string"==typeof e.type&&function(e){var t=e.props,n=e.type,r={},i=-1===n.indexOf("-");for(var o in t){var a=t[o];if(!("value"===o&&"defaultValue"in t&&null==a||hs&&"children"===o&&"noscript"===n||"class"===o||"className"===o)){var s=o.toLowerCase();"defaultValue"===o&&"value"in t&&null==t.value?o="value":"download"===o&&!0===a?a="":"translate"===s&&"no"===a?a=!1:"o"===s[0]&&"n"===s[1]?"ondoubleclick"===s?o="ondblclick":"onchange"!==s||"input"!==n&&"textarea"!==n||ps(t.type)?"onfocus"===s?o="onfocusin":"onblur"===s?o="onfocusout":ds.test(o)&&(o=s):s=o="oninput":i&&us.test(o)?o=o.replace(fs,"-$&").toLowerCase():null===a&&(a=void 0),"oninput"===s&&r[o=s]&&(o="oninputCapture"),r[o]=a}}"select"==n&&r.multiple&&Array.isArray(r.value)&&(r.value=Oo(t.children).forEach((function(e){e.props.selected=-1!=r.value.indexOf(e.props.value)}))),"select"==n&&null!=r.defaultValue&&(r.value=Oo(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",ys)):(t.className&&!t.class||t.class&&t.className)&&(r.class=r.className=t.className),e.props=r}(e),e.$$typeof=cs,_s&&_s(e)};var ws=no.__r;no.__r=function(e){ws&&ws(e),e.__c};var xs=no.diffed;no.diffed=function(e){xs&&xs(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)};function ks(e){return!!e&&e.$$typeof===cs}function Cs(e){return ks(e)?Vo.apply(null,arguments):e}var Ss=function(e,t){return e(t)},Ts=a(4717),As=a(4818);function Ms(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=Ms(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function Ls(){for(var e,t,n=0,r="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=Ms(e))&&(r&&(r+=" "),r+=t);return r}"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==a.g?a.g:"undefined"!=typeof self&&self;var Es={exports:{}};Es.exports=function(){function e(e){return e&&"object"==typeof e&&"[object RegExp]"!==Object.prototype.toString.call(e)&&"[object Date]"!==Object.prototype.toString.call(e)}function t(t,n){return n&&!0===n.clone&&e(t)?i(function(e){return Array.isArray(e)?[]:{}}(t),t,n):t}function n(n,r,o){var a=n.slice();return r.forEach((function(r,s){void 0===a[s]?a[s]=t(r,o):e(r)?a[s]=i(n[s],r,o):-1===n.indexOf(r)&&a.push(t(r,o))})),a}function r(n,r,o){var a={};return e(n)&&Object.keys(n).forEach((function(e){a[e]=t(n[e],o)})),Object.keys(r).forEach((function(s){e(r[s])&&n[s]?a[s]=i(n[s],r[s],o):a[s]=t(r[s],o)})),a}function i(e,i,o){var a=Array.isArray(i),s=(o||{arrayMerge:n}).arrayMerge||n;return a?Array.isArray(e)?s(e,i,o):t(i,o):r(e,i,o)}return i.all=function(e,t){if(!Array.isArray(e)||e.length<2)throw new Error("first argument should be an array with at least two elements");return e.reduce((function(e,n){return i(e,n,t)}))},i}();var Ns,Os,Rs=Es.exports,Ds={exports:{}};Ns=Ds,(Os=Ds.exports).default={svg:{name:"xmlns",uri:"http://www.w3.org/2000/svg"},xlink:{name:"xmlns:xlink",uri:"http://www.w3.org/1999/xlink"}},Ns.exports=Os.default;var Ps=Ds.exports;const{svg:Is,xlink:zs}=Ps,Bs={[Is.name]:Is.uri,[zs.name]:zs.uri};function js(e="",t){const n=function(e){return Object.keys(e).map((t=>`${t}="${e[t].toString().replace(/"/g,"&quot;")}"`)).join(" ")}(Rs(Bs,t||{}));return`<svg ${n}>${e}</svg>`}const{svg:Fs,xlink:Hs}=Ps;var $s={attrs:{[Fs.name]:Fs.uri,[Hs.name]:Hs.uri,style:["position: absolute","width: 0","height: 0"].join("; "),"aria-hidden":"true"}};class Us{constructor(e){this.config=Rs($s,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 js(t,e)}toString(){return this.stringify()}destroy(){this.symbols.forEach((e=>e.destroy()))}}class qs{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 Ws(e){const t=!!document.importNode,n=(new DOMParser).parseFromString(e,"image/svg+xml").documentElement;return t?document.importNode(n,!0):n}class Vs extends qs{get isMounted(){return!!this.node}static createFromExistingNode(e){return new Vs({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 Ws(js(this.stringify())).childNodes[0]}unmount(){this.node.parentNode.removeChild(this.node)}}var Gs={autoConfigure:!0,mountTo:"body",syncUrlsWithBaseTag:!1,listenLocationChangeEvent:!0,locationChangeEvent:"locationChange",locationChangeAngularEmitter:!1,usagesToUpdate:"use[*|href]",moveGradientsOutsideSymbol:!1};function Ys(e){return Array.prototype.slice.call(e,0)}function Xs(e){return(e||window.location.href).split("#")[0]}function Zs(e,t="linearGradient, radialGradient, pattern, mask, clipPath"){return Ys(e.querySelectorAll("symbol")).forEach((e=>{Ys(e.querySelectorAll(t)).forEach((t=>{e.parentNode.insertBefore(t,e)}))})),e}const Ks=Ps.xlink.uri,Js="xlink:href",Qs=/[{}|\\\^\[\]`"<>]/g;function el(e){return e.replace(Qs,(e=>`%${e[0].charCodeAt(0).toString(16).toUpperCase()}`))}const tl=["clipPath","colorProfile","src","cursor","fill","filter","marker","markerStart","markerMid","markerEnd","mask","stroke","style"],nl=tl.map((e=>`[${e}]`)).join(",");const rl="mount",il="symbol_mount",ol="__SVG_SPRITE_NODE__",al="__SVG_SPRITE__",sl=()=>{const e=document.getElementById(ol);e?ll.attach(e):ll.mount(document.body,!0)};let ll=new class extends Us{constructor(e={}){super(Rs(Gs,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(rl,(()=>this.updateUrls("#",e)))}const i=this._handleLocationChange.bind(this);this._handleLocationChange=i,r.listenLocationChangeEvent&&window.addEventListener(r.locationChangeEvent,i),r.locationChangeAngularEmitter&&function(e){angular.module("ng").run(["$rootScope",t=>{t.$on("$locationChangeSuccess",((t,n,r)=>{!function(e,t){const n=document.createEvent("CustomEvent");n.initCustomEvent(e,!1,!1,t),window.dispatchEvent(n)}(e,{oldUrl:r,newUrl:n})}))}])}(r.locationChangeEvent),t.on(rl,(e=>{r.moveGradientsOutsideSymbol&&Zs(e)})),t.on(il,(e=>{r.moveGradientsOutsideSymbol&&Zs(e.parentNode),(/msie/i.test(navigator.userAgent)||/trident/i.test(navigator.userAgent)||/edge/i.test(navigator.userAgent))&&function(e){const t=[];Ys(e.querySelectorAll("style")).forEach((e=>{e.textContent+="",t.push(e)}))}(e)}))}get isMounted(){return!!this.node}_autoConfigure(e){const{config:t}=this;void 0===e.syncUrlsWithBaseTag&&(t.syncUrlsWithBaseTag=void 0!==document.getElementsByTagName("base")[0]),void 0===e.locationChangeAngularEmitter&&(t.locationChangeAngularEmitter=void 0!==window.angular),void 0===e.moveGradientsOutsideSymbol&&(t.moveGradientsOutsideSymbol=/firefox/i.test(navigator.userAgent))}_handleLocationChange(e){const{oldUrl:t,newUrl:n}=e.detail;this.updateUrls(t,n)}add(e){const t=super.add(e);return this.isMounted&&t&&(e.mount(this.node),this._emitter.emit(il,e.node)),t}attach(e){const t=this;if(t.isMounted)return t.node;const n="string"==typeof e?document.querySelector(e):e;return t.node=n,this.symbols.forEach((e=>{e.mount(t.node),this._emitter.emit(il,e.node)})),Ys(n.querySelectorAll("symbol")).forEach((e=>{const n=Vs.createFromExistingNode(e);n.node=e,t.add(n)})),this._emitter.emit(rl,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(rl,i),i}render(){return Ws(this.stringify())}unmount(){this.node.parentNode.removeChild(this.node)}updateUrls(e,t){if(!this.isMounted)return!1;const n=document.querySelectorAll(this.config.usagesToUpdate);return function(e,t,n,r){const i=el(n),o=el(r),a=function(e,t){return Ys(e).reduce(((e,n)=>{if(!n.attributes)return e;const r=Ys(n.attributes),i=t?r.filter(t):r;return e.concat(i)}),[])}(e.querySelectorAll(nl),(({localName:e,value:t})=>-1!==tl.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){Ys(e).forEach((e=>{const r=e.getAttribute(Js);if(r&&0===r.indexOf(t)){const i=r.replace(t,n);e.setAttributeNS(Ks,Js,i)}}))}(t,i,o)}(this.node,n,`${Xs(e)}#`,`${Xs(t)}#`),!0}}({attrs:{id:ol,"aria-hidden":"true"},autoConfigure:"undefined"!=typeof document,listenLocationChangeEvent:"undefined"!=typeof window});var cl,ul,dl,fl,hl,pl;"undefined"!=typeof window&&"undefined"!=typeof document&&(window[al]?ll=window[al]:window[al]=ll,document.body?sl():(ul=[],fl=(dl=document).documentElement.doScroll,hl="DOMContentLoaded",(pl=(fl?/^loaded|^c/:/^loaded|^i|^c/).test(dl.readyState))||dl.addEventListener(hl,cl=function(){for(dl.removeEventListener(hl,cl),pl=1;cl=ul.shift();)cl()}),function(e){pl?setTimeout(e,0):ul.push(e)})(sl));const gl=new Vs({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"});ll.add(gl);const ml=new Vs({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"});ll.add(ml);const vl=new Vs({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"});ll.add(vl);const bl=new Vs({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"});ll.add(bl);const yl=new Vs({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"});ll.add(yl);const _l=new Vs({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"});ll.add(_l);const wl=new Vs({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"});ll.add(wl);const xl=new Vs({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"});ll.add(xl);const kl=new Vs({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"});ll.add(kl);const Cl=new Vs({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"});ll.add(Cl);const Sl=new Vs({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"});ll.add(Sl);const Tl=new Vs({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"});ll.add(Tl);const Al=new Vs({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"});ll.add(Al);const Ml=new Vs({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"});ll.add(Ml);const Ll=new Vs({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"});ll.add(Ll);const El=new Vs({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"});ll.add(El);const Nl=new Vs({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"});ll.add(Nl);const Ol=new Vs({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"});ll.add(Ol);const Rl=new Vs({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"});ll.add(Rl);const Dl=new Vs({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"});ll.add(Dl);const Pl=new Vs({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"});ll.add(Pl);const Il=new Vs({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"});ll.add(Il);const zl=new Vs({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"});ll.add(zl);const Bl=new Vs({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"});ll.add(Bl);const jl=new Vs({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"});ll.add(jl);const Fl=new Vs({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"});ll.add(Fl);const Hl=new Vs({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"});ll.add(Hl);const $l=new Vs({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"});ll.add($l);const Ul=new Vs({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"});ll.add(Ul);const ql=new Vs({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"});ll.add(ql);const Wl=new Vs({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"});ll.add(Wl);const Vl=new Vs({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"});ll.add(Vl);const Gl=new Vs({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"});ll.add(Gl);const Yl=new Vs({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"});ll.add(Yl);const Xl=new Vs({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"});ll.add(Xl);const Zl=new Vs({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"});ll.add(Zl);const Kl=new Vs({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"});ll.add(Kl);const Jl=new Vs({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"});ll.add(Jl);const Ql=new Vs({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"});ll.add(Ql);const ec=new Vs({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"});ll.add(ec);const tc=new Vs({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"});ll.add(tc);const nc=new Vs({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"});ll.add(nc);const rc=new Vs({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"});ll.add(rc);const ic=new Vs({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"});ll.add(ic);const oc=new Vs({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"});ll.add(oc);const ac=new Vs({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"});ll.add(ac);const sc=new Vs({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"});ll.add(sc);const lc=new Vs({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"});ll.add(lc);const cc=new Vs({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"});ll.add(cc);const uc=new Vs({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"});ll.add(uc);const dc=new Vs({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"});ll.add(dc);const fc=new Vs({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"});ll.add(fc);const hc=new Vs({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"});ll.add(hc);const pc=new Vs({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"});ll.add(pc);const gc=new Vs({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"});ll.add(gc);const mc=new Vs({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"});ll.add(mc);const vc=new Vs({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"});ll.add(vc);const bc=new Vs({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"});ll.add(bc);const yc=new Vs({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"});ll.add(yc);const _c=new Vs({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"});ll.add(_c);const wc=new Vs({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"});ll.add(wc);const xc=new Vs({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"});ll.add(xc);const kc=new Vs({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"});ll.add(kc);const Cc=new Vs({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"});ll.add(Cc);const Sc=new Vs({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"});ll.add(Sc);const Tc=new Vs({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"});ll.add(Tc);const Ac=new Vs({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"});ll.add(Ac);const Mc=new Vs({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"});ll.add(Mc);const Lc=new Vs({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"});ll.add(Lc);const Ec=new Vs({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"});ll.add(Ec);const Nc=new Vs({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"});ll.add(Nc);const Oc=new Vs({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"});ll.add(Oc);const Rc=new Vs({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"});ll.add(Rc);const Dc=new Vs({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"});ll.add(Dc);const Pc=new Vs({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"});ll.add(Pc);const Ic=new Vs({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"});ll.add(Ic);const zc=new Vs({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"});ll.add(zc);const Bc=new Vs({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"});ll.add(Bc);const jc=new Vs({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"});ll.add(jc);const Fc=new Vs({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"});ll.add(Fc);const Hc=new Vs({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"});ll.add(Hc);var $c={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"},Uc=0;function qc(e,t,n,r,i,o){t||(t={});var a,s,l=t;if("ref"in l)for(s in l={},t)"ref"==s?a=t[s]:l[s]=t[s];var c={type:e,props:l,key:n,ref:a,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:--Uc,__i:-1,__u:0,__source:i,__self:o};if("function"==typeof e&&(a=e.defaultProps))for(s in a)void 0===l[s]&&(l[s]=a[s]);return no.vnode&&no.vnode(c),c}const Wc={amazon:gl.id,arrowsChevronDown:ml.id,azure:vl.id,bitbucket:bl.id,circleci:yl.id,draggable:_l.id,drone:wl.id,environment:xl.id,github:kl.id,gitlab:Cl.id,jenkins:Sl.id,lineAlertsAlertCircle:Tl.id,lineAlertsFixed:Al.id,lineAlertsMalfunctioned:Ml.id,lineAlertsNew:Ll.id,lineAlertsNotificationBox:El.id,lineAlertsRegressed:Nl.id,lineArrowsChevronDown:Rl.id,lineArrowsChevronDownDouble:Ol.id,lineArrowsChevronRight:Dl.id,lineArrowsChevronUp:Il.id,lineArrowsChevronUpDouble:Pl.id,lineArrowsCornerDownRight:zl.id,lineArrowsExpand3:Bl.id,lineArrowsRefreshCcw1:jl.id,lineArrowsSortLineAsc:Fl.id,lineArrowsSortLineDesc:Hl.id,lineArrowsSwitchVertical1:$l.id,lineChartsBarChartSquare:Ul.id,lineChartsTimeline:ql.id,lineDevBug2:Wl.id,lineDevCodeSquare:Vl.id,lineDevDataflow3:Gl.id,lineFilesClipboardCheck:Yl.id,lineFilesFile2:Xl.id,lineFilesFileAttachment2:Zl.id,lineFilesFolder:Kl.id,lineGeneralCheck:Ql.id,lineGeneralCheckCircle:Jl.id,lineGeneralChecklist3:ec.id,lineGeneralCopy3:tc.id,lineGeneralDownloadCloud:nc.id,lineGeneralEqual:rc.id,lineGeneralEye:ic.id,lineGeneralHelpCircle:oc.id,lineGeneralHomeLine:ac.id,lineGeneralInfoCircle:sc.id,lineGeneralLink1:lc.id,lineGeneralLinkExternal:cc.id,lineGeneralMinusCircle:uc.id,lineGeneralSearchMd:dc.id,lineGeneralSettings1:fc.id,lineGeneralXCircle:hc.id,lineGeneralXClose:pc.id,lineGeneralZap:gc.id,lineHelpersFlag:mc.id,lineHelpersPlayCircle:vc.id,lineIconBomb2:bc.id,lineImagesImage:yc.id,lineLayoutsColumn2:_c.id,lineLayoutsLayoutTop:wc.id,lineLayoutsMaximize2:xc.id,lineLayoutsMinimize2:kc.id,lineSecurityKey:Cc.id,lineShapesDotCircle:Sc.id,lineShapesMoon:Tc.id,lineShapesSun:Ac.id,lineShapesThemeAuto:Mc.id,lineTimeClockStopwatch:Lc.id,playwrightLogo:Ec.id,reportLogo:Nc.id,solidAlertCircle:Oc.id,solidCheckCircle:Rc.id,solidHelpCircle:Dc.id,solidMinusCircle:Pc.id,solidPlusCircle:Ic.id,solidXCircle:zc.id,spinner:Bc.id,testNew:jc.id,view:Hc.id,viewOff:Fc.id},Vc=({id:e,size:t="s",inline:n=!1,className:r="","data-testid":i,...o})=>qc("svg",{...o,className:Ls($c.icon,$c[`size-${t}`],n&&$c.inline,r),"data-testid":i,children:qc("use",{xlinkHref:`#${e}`})}),Gc=({size:e})=>qc(Vc,{role:"progressbar",id:Bc.id,size:e}),Yc=({size:e="m",tag:t="span",type:n="paragraph",bold:r=!1,className:i,children:o,...a})=>"paragraph"===n?qc(t,{...a,className:Ls(`paragraphs-text-${e}${r?"-bold":""}`,i),children:o}):"ui"===n?qc(t,{...a,className:Ls(`ui-text-${e}-ui${r?"-bold":""}`,i),children:o}):null,Xc=({size:e="m",tag:t="span",type:n="paragraph",bold:r=!1,className:i,children:o,...a})=>"paragraph"===n?qc(t,{...a,className:Ls(`paragraphs-code-${e}${r?"-bold":""}`,i),children:o}):"ui"===n?qc(t,{...a,className:Ls(`ui-code-${e}-ui${r?"-bold":""}`,i),children:o}):null,Zc=({size:e="m",tag:t="span",className:n,children:r,...i})=>qc(t,{...i,className:Ls(`headings-head-${e}`,n),children:r});var Kc={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 Jc=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:w,isLink:x=!1,isTextTruncated:k=!1,iconColor:C="primary",textRef:S,...T}=e,A=d||a,M={...T,tabIndex:g?0:-1,className:Ls(Kc.button,f&&Kc.buttonIcon,Kc[`size_${s}`],Kc[`icon_size_${i}`],Kc[`style_${l}`],"danger"===c&&Kc.danger,"positive"===c&&Kc.positive,a&&Kc.pending,k&&Kc.textTruncatedButton,u&&Kc.fullWidth,!A&&p&&Kc.active,b),onClick:o,"data-rounded":w||void 0,"data-link":x||void 0,"data-icon-color":"default"===c&&C||void 0},L=qc(Yc,{type:"ui",size:"s"===s?"s":"m",bold:!0,className:Kc.content,children:[r&&qc(Vc,{size:"s",className:f?Kc.contentIcon:Kc.leadingIcon,id:r}),y&&qc("div",{className:Kc.leadingSlot,children:y}),!f&&qc("span",{ref:S,className:Ls(Kc.text,k&&Kc.textTruncated),children:t}),_&&qc("div",{className:Kc.trailingSlot,children:_}),h&&qc(Vc,{id:Wc.lineArrowsChevronDown,size:"s",className:Kc.dropdownIcon}),qc("span",{className:Kc.spinner,"aria-hidden":!a,children:qc(Gc,{})})]});return m?qc("a",{...M,href:m,target:v,"aria-disabled":A?"true":void 0,style:A?{pointerEvents:"none"}:void 0,children:L}):qc("button",{...M,disabled:A,type:n,children:L})},Qc=e=>qc(Jc,{...e}),eu=e=>qc(Jc,{...e,isIconButton:!0}),tu=e=>qc(Jc,{...e,isDropdownButton:!0,isActive:e.isExpanded}),nu=e=>qc(Jc,{...e,href:e.href,target:e.target,isLink:!0}),ru=Math.min,iu=Math.max,ou=Math.round,au=Math.floor,su=e=>({x:e,y:e}),lu={left:"right",right:"left",bottom:"top",top:"bottom"},cu={start:"end",end:"start"};function uu(e,t,n){return iu(e,ru(t,n))}function du(e,t){return"function"==typeof e?e(t):e}function fu(e){return e.split("-")[0]}function hu(e){return e.split("-")[1]}function pu(e){return"x"===e?"y":"x"}function gu(e){return"y"===e?"height":"width"}const mu=new Set(["top","bottom"]);function vu(e){return mu.has(fu(e))?"y":"x"}function bu(e){return pu(vu(e))}function yu(e){return e.replace(/start|end/g,(e=>cu[e]))}const _u=["left","right"],wu=["right","left"],xu=["top","bottom"],ku=["bottom","top"];function Cu(e){return e.replace(/left|right|bottom|top/g,(e=>lu[e]))}function Su(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 Tu(e,t,n){let{reference:r,floating:i}=e;const o=vu(t),a=bu(t),s=gu(a),l=fu(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(hu(t)){case"start":h[a]-=f*(n&&c?-1:1);break;case"end":h[a]+=f*(n&&c?-1:1)}return h}async function Au(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}=du(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=Su(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},_=Su(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 Mu=new Set(["left","top"]);function Lu(){return"undefined"!=typeof window}function Eu(e){return Ru(e)?(e.nodeName||"").toLowerCase():"#document"}function Nu(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function Ou(e){var t;return null==(t=(Ru(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function Ru(e){return!!Lu()&&(e instanceof Node||e instanceof Nu(e).Node)}function Du(e){return!!Lu()&&(e instanceof Element||e instanceof Nu(e).Element)}function Pu(e){return!!Lu()&&(e instanceof HTMLElement||e instanceof Nu(e).HTMLElement)}function Iu(e){return!(!Lu()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof Nu(e).ShadowRoot)}const zu=new Set(["inline","contents"]);function Bu(e){const{overflow:t,overflowX:n,overflowY:r,display:i}=Zu(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!zu.has(i)}const ju=new Set(["table","td","th"]);function Fu(e){return ju.has(Eu(e))}const Hu=[":popover-open",":modal"];function $u(e){return Hu.some((t=>{try{return e.matches(t)}catch(e){return!1}}))}const Uu=["transform","translate","scale","rotate","perspective"],qu=["transform","translate","scale","rotate","perspective","filter"],Wu=["paint","layout","strict","content"];function Vu(e){const t=Gu(),n=Du(e)?Zu(e):e;return Uu.some((e=>!!n[e]&&"none"!==n[e]))||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||qu.some((e=>(n.willChange||"").includes(e)))||Wu.some((e=>(n.contain||"").includes(e)))}function Gu(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}const Yu=new Set(["html","body","#document"]);function Xu(e){return Yu.has(Eu(e))}function Zu(e){return Nu(e).getComputedStyle(e)}function Ku(e){return Du(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Ju(e){if("html"===Eu(e))return e;const t=e.assignedSlot||e.parentNode||Iu(e)&&e.host||Ou(e);return Iu(t)?t.host:t}function Qu(e){const t=Ju(e);return Xu(t)?e.ownerDocument?e.ownerDocument.body:e.body:Pu(t)&&Bu(t)?t:Qu(t)}function ed(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);const i=Qu(e),o=i===(null==(r=e.ownerDocument)?void 0:r.body),a=Nu(i);if(o){const e=td(a);return t.concat(a,a.visualViewport||[],Bu(i)?i:[],e&&n?ed(e):[])}return t.concat(i,ed(i,[],n))}function td(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function nd(e){const t=Zu(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const i=Pu(e),o=i?e.offsetWidth:n,a=i?e.offsetHeight:r,s=ou(n)!==o||ou(r)!==a;return s&&(n=o,r=a),{width:n,height:r,$:s}}function rd(e){return Du(e)?e:e.contextElement}function id(e){const t=rd(e);if(!Pu(t))return su(1);const n=t.getBoundingClientRect(),{width:r,height:i,$:o}=nd(t);let a=(o?ou(n.width):n.width)/r,s=(o?ou(n.height):n.height)/i;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const od=su(0);function ad(e){const t=Nu(e);return Gu()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:od}function sd(e,t,n,r){void 0===t&&(t=!1),void 0===n&&(n=!1);const i=e.getBoundingClientRect(),o=rd(e);let a=su(1);t&&(r?Du(r)&&(a=id(r)):a=id(e));const s=function(e,t,n){return void 0===t&&(t=!1),!(!n||t&&n!==Nu(e))&&t}(o,n,r)?ad(o):su(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=Nu(o),t=r&&Du(r)?Nu(r):r;let n=e,i=td(n);for(;i&&r&&t!==n;){const e=id(i),t=i.getBoundingClientRect(),r=Zu(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=Nu(i),i=td(n)}}return Su({width:u,height:d,x:l,y:c})}function ld(e,t){const n=Ku(e).scrollLeft;return t?t.left+n:sd(Ou(e)).left+n}function cd(e,t){const n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-ld(e,n),y:n.top+t.scrollTop}}const ud=new Set(["absolute","fixed"]);function dd(e,t,n){let r;if("viewport"===t)r=function(e,t){const n=Nu(e),r=Ou(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=Gu();(!e||e&&"fixed"===t)&&(s=i.offsetLeft,l=i.offsetTop)}const c=ld(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=Ou(e),n=Ku(e),r=e.ownerDocument.body,i=iu(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),o=iu(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let a=-n.scrollLeft+ld(e);const s=-n.scrollTop;return"rtl"===Zu(r).direction&&(a+=iu(t.clientWidth,r.clientWidth)-i),{width:i,height:o,x:a,y:s}}(Ou(e));else if(Du(t))r=function(e,t){const n=sd(e,!0,"fixed"===t),r=n.top+e.clientTop,i=n.left+e.clientLeft,o=Pu(e)?id(e):su(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=ad(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return Su(r)}function fd(e,t){const n=Ju(e);return!(n===t||!Du(n)||Xu(n))&&("fixed"===Zu(n).position||fd(n,t))}function hd(e,t,n){const r=Pu(t),i=Ou(t),o="fixed"===n,a=sd(e,!0,o,t);let s={scrollLeft:0,scrollTop:0};const l=su(0);function c(){l.x=ld(i)}if(r||!r&&!o)if(("body"!==Eu(t)||Bu(i))&&(s=Ku(t)),r){const e=sd(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?su(0):cd(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 pd(e){return"static"===Zu(e).position}function gd(e,t){if(!Pu(e)||"fixed"===Zu(e).position)return null;if(t)return t(e);let n=e.offsetParent;return Ou(e)===n&&(n=n.ownerDocument.body),n}function md(e,t){const n=Nu(e);if($u(e))return n;if(!Pu(e)){let t=Ju(e);for(;t&&!Xu(t);){if(Du(t)&&!pd(t))return t;t=Ju(t)}return n}let r=gd(e,t);for(;r&&Fu(r)&&pd(r);)r=gd(r,t);return r&&Xu(r)&&pd(r)&&!Vu(r)?n:r||function(e){let t=Ju(e);for(;Pu(t)&&!Xu(t);){if(Vu(t))return t;if($u(t))return null;t=Ju(t)}return null}(e)||n}const vd={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e;const o="fixed"===i,a=Ou(r),s=!!t&&$u(t.floating);if(r===a||s&&o)return n;let l={scrollLeft:0,scrollTop:0},c=su(1);const u=su(0),d=Pu(r);if((d||!d&&!o)&&(("body"!==Eu(r)||Bu(a))&&(l=Ku(r)),Pu(r))){const e=sd(r);c=id(r),u.x=e.x+r.clientLeft,u.y=e.y+r.clientTop}const f=!a||d||o?su(0):cd(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:Ou,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e;const o="clippingAncestors"===n?$u(t)?[]:function(e,t){const n=t.get(e);if(n)return n;let r=ed(e,[],!1).filter((e=>Du(e)&&"body"!==Eu(e))),i=null;const o="fixed"===Zu(e).position;let a=o?Ju(e):e;for(;Du(a)&&!Xu(a);){const t=Zu(a),n=Vu(a);n||"fixed"!==t.position||(i=null),(o?!n&&!i:!n&&"static"===t.position&&i&&ud.has(i.position)||Bu(a)&&!n&&fd(e,a))?r=r.filter((e=>e!==a)):i=t,a=Ju(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=dd(t,n,i);return e.top=iu(r.top,e.top),e.right=ru(r.right,e.right),e.bottom=ru(r.bottom,e.bottom),e.left=iu(r.left,e.left),e}),dd(t,s,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:md,getElementRects:async function(e){const t=this.getOffsetParent||md,n=this.getDimensions,r=await n(e.floating);return{reference:hd(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}=nd(e);return{width:t,height:n}},getScale:id,isElement:Du,isRTL:function(e){return"rtl"===Zu(e).direction}};function bd(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function yd(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=rd(e),u=i||o?[...c?ed(c):[],...ed(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=Ou(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:-au(d)+"px "+-au(i.clientWidth-(u+f))+"px "+-au(i.clientHeight-(d+h))+"px "+-au(u)+"px",threshold:iu(0,ru(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||bd(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?sd(e):null;return l&&function t(){const r=sd(e);g&&!bd(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 _d=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=fu(n),s=hu(n),l="y"===vu(n),c=Mu.has(a)?-1:1,u=o&&l?-1:1,d=du(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}}}}},wd=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}=du(e,t),c={x:n,y:r},u=await Au(t,l),d=vu(fu(i)),f=pu(d);let h=c[f],p=c[d];if(o){const e="y"===f?"bottom":"right";h=uu(h+u["y"===f?"top":"left"],h,h-u[e])}if(a){const e="y"===d?"bottom":"right";p=uu(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}}}}}},xd=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}=du(e,t);if(null!=(n=o.arrow)&&n.alignmentOffset)return{};const v=fu(i),b=vu(s),y=fu(s)===s,_=await(null==l.isRTL?void 0:l.isRTL(c.floating)),w=f||(y||!g?[Cu(s)]:function(e){const t=Cu(e);return[yu(e),t,yu(t)]}(s)),x="none"!==p;!f&&x&&w.push(...function(e,t,n,r){const i=hu(e);let o=function(e,t,n){switch(e){case"top":case"bottom":return n?t?wu:_u:t?_u:wu;case"left":case"right":return t?xu:ku;default:return[]}}(fu(e),"start"===n,r);return i&&(o=o.map((e=>e+"-"+i)),t&&(o=o.concat(o.map(yu)))),o}(s,g,p,_));const k=[s,...w],C=await Au(t,m),S=[];let T=(null==(r=o.flip)?void 0:r.overflows)||[];if(u&&S.push(C[v]),d){const e=function(e,t,n){void 0===n&&(n=!1);const r=hu(e),i=bu(e),o=gu(i);let a="x"===i?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[o]>t.floating[o]&&(a=Cu(a)),[a,Cu(a)]}(i,a,_);S.push(C[e[0]],C[e[1]])}if(T=[...T,{placement:i,overflows:S}],!S.every((e=>e<=0))){var A,M;const e=((null==(A=o.flip)?void 0:A.index)||0)+1,t=k[e];if(t&&("alignment"!==d||b===vu(t)||T.every((e=>vu(e.placement)!==b||e.overflows[0]>0))))return{data:{index:e,overflows:T},reset:{placement:t}};let n=null==(M=T.filter((e=>e.overflows[0]<=0)).sort(((e,t)=>e.overflows[1]-t.overflows[1]))[0])?void 0:M.placement;if(!n)switch(h){case"bestFit":{var L;const e=null==(L=T.filter((e=>{if(x){const t=vu(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{}}}},kd=(e,t,n)=>{const r=new Map,i={platform:vd,...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}=Tu(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}=Tu(c,f,l))),n=-1)}return{x:u,y:d,placement:f,strategy:i,middlewareData:h}})(e,t,{...i,platform:o})};const Cd=({children:e,"data-testid":t})=>qc("div",{className:"styles_custom-tooltip__2reCz","data-testid":t,children:qc(Yc,{className:"tooltip-content",size:"s",bold:!0,children:e})}),Sd=({tooltipText:e,tooltipTextAfterClick:t,tooltipComponent:n,children:r,placement:i="top",triggerMode:o="hover",autoHideDelay:a=600,showDelay:s=200,isTriggerActive:l=!0,"data-testid":c})=>{const u=fa(null),d=fa(null),[f,h]=la(!1),[p,g]=la(e),m=fa(null),v=fa(null);ua((()=>{g(e);const t=()=>{d.current&&u.current&&kd(d.current,u.current,{placement:i,middleware:[_d(6),xd(),wd({padding:5})]}).then((({x:e,y:t})=>{u.current&&Object.assign(u.current.style,{left:`${e}px`,top:`${t}px`,position:"absolute","z-index":100})}))};return f&&t(),d.current&&u.current?yd(d.current,u.current,t):()=>{}}),[f,i,e]),ua((()=>()=>{m.current&&clearTimeout(m.current)}),[]);const b=n||qc(Cd,{"data-testid":c,children:p});return qc("div",{onMouseEnter:()=>{"hover"===o&&l&&(v.current=window.setTimeout((()=>{h(!0)}),s)),"click"===o&&m.current&&clearTimeout(m.current)},onMouseLeave:()=>{v.current&&clearTimeout(v.current),"hover"===o?(h(!1),g(e)):"click"===o&&f&&(m.current=window.setTimeout((()=>{h(!1)}),a))},onClick:()=>{"click"===o&&d.current&&l&&(h(!0),m.current&&clearTimeout(m.current)),t&&g(t)},children:[qc("div",{ref:d,children:r}),qc("div",{ref:u,children:f&&b})]})},Td=(e,t={})=>{const{observeResize:n=!0}=t,[r,i]=la(null),[o,a]=la(!1),s=pa((e=>{i(e)}),[]);return ua((()=>{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}},Ad=e=>{const{source:t,transformData:n=e=>e,renderLoader:r=()=>null,renderError:i=e=>qc("div",{children:e}),renderData:o}=e;return t.value.loading?r():t.value.error?i(t.value.error):o(n(t.value.data))};const Md=()=>qc("div",{className:"styles_page-loader__OFuzd",children:qc(Gc,{size:"m"})});var Ld="styles_slot__Grn3c";const Ed=e=>{e.stopPropagation()},Nd=e=>{const{placeholder:t,value:n,onChange:r,changeDebounce:i=300,leadingSlot:o,trailingSlot:a,error:s}=e,[l,c]=la(n),u=fa(null),d=((e,t=300)=>{const n=fa(e);return ua((()=>{n.current=e}),[e]),pa(((e,t=300)=>{let n;return(...r)=>{clearTimeout(n),n=setTimeout((()=>{e(...r)}),t)}})(((...e)=>n.current(...e)),t),[t])})(r,i),f=!!l,h=!!s;return qc(Yc,{className:"styles_inputWrap__96bWy",type:"ui",size:"m",tag:"div",onClick:()=>u.current?.focus(),"data-invalid":h||void 0,children:[qc("div",{className:"styles_leadingIcon__6Bcbs",children:qc(Vc,{id:dc.id,size:"s"})}),o&&qc("div",{className:Ld,onClick:Ed,children:o}),qc("input",{ref:u,className:"styles_input__ir8z5",type:"text",placeholder:t,onInput:e=>{const t=e.target.value;c(t),d(t)},value:l,name:"search",autocomplete:"off","data-testid":"search-input","aria-invalid":h||void 0}),a&&qc("div",{className:Ld,onClick:Ed,children:a}),f&&qc("div",{className:"styles_clearButton__SR4Dg",children:qc(eu,{size:"s",icon:pc.id,onClick:e=>{e.preventDefault(),e.stopPropagation(),c(""),d("")},style:"ghost","data-testid":"clear-button"})})]})};function Od(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 Rd(e,t){this.props=e,this.context=t}(Rd.prototype=new Co).isPureReactComponent=!0,Rd.prototype.shouldComponentUpdate=function(e,t){return Od(this.props,e)||Od(this.state,t)};var Dd=no.__b;no.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),Dd&&Dd(e)};var Pd=no.__e;no.__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);Pd(e,t,n,r)};var Id=no.unmount;function zd(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 zd(e,t,n)}))),e}function Bd(e,t,n){return e&&n&&(e.__v=null,e.__k=e.__k&&e.__k.map((function(e){return Bd(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 jd(){this.__u=0,this.o=null,this.__b=null}function Fd(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function Hd(){this.i=null,this.l=null}no.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),Id&&Id(e)},(jd.prototype=new Co).__c=function(e,t){var n=t.__c,r=this;null==r.o&&(r.o=[]),r.o.push(n);var i=Fd(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]=Bd(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)},jd.prototype.componentWillUnmount=function(){this.o=[]},jd.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=zd(this.__b,n,r.__O=r.__P)}this.__b=null}var i=t.__a&&wo(ko,null,e.fallback);return i&&(i.__u&=-33),[wo(ko,null,t.__a?null:e.children),i]};var $d=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 Ud(e){return this.getChildContext=function(){return e.context},e.children}function qd(e){var t=this,n=e.h;if(t.componentWillUnmount=function(){Wo(null,t.v),t.v=null,t.h=null},t.h&&t.h!==n&&t.componentWillUnmount(),!t.v){for(var r=t.__v;null!==r&&!r.__m&&null!==r.__;)r=r.__;t.h=n,t.v={nodeType:1,parentNode:n,childNodes:[],__k:{__m:r.__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)}}}Wo(wo(Ud,{context:t.context},e.__v),t.v)}function Wd(e,t){var n=wo(qd,{__v:e,h:t});return n.containerInfo=t,n}(Hd.prototype=new Co).__a=function(e){var t=this,n=Fd(t.__v),r=t.l.get(e);return r[0]++,function(i){var o=function(){t.props.revealOrder?(r.push(i),$d(t,e,r)):i()};n?n(o):o()}},Hd.prototype.render=function(e){this.i=null,this.l=new Map;var t=Oo(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},Hd.prototype.componentDidUpdate=Hd.prototype.componentDidMount=function(){var e=this;this.l.forEach((function(t,n){$d(e,n,t)}))};var Vd="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,Gd=/^(?: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]/,Yd=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,Xd=/[A-Z0-9]/g,Zd="undefined"!=typeof document,Kd=function(e){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/:/fil|che|ra/).test(e)};Co.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach((function(e){Object.defineProperty(Co.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})}));var Jd=no.event;function Qd(){}function ef(){return this.cancelBubble}function tf(){return this.defaultPrevented}no.event=function(e){return Jd&&(e=Jd(e)),e.persist=Qd,e.isPropagationStopped=ef,e.isDefaultPrevented=tf,e.nativeEvent=e};var nf={enumerable:!1,configurable:!0,get:function(){return this.class}},rf=no.vnode;no.vnode=function(e){"string"==typeof e.type&&function(e){var t=e.props,n=e.type,r={},i=-1===n.indexOf("-");for(var o in t){var a=t[o];if(!("value"===o&&"defaultValue"in t&&null==a||Zd&&"children"===o&&"noscript"===n||"class"===o||"className"===o)){var s=o.toLowerCase();"defaultValue"===o&&"value"in t&&null==t.value?o="value":"download"===o&&!0===a?a="":"translate"===s&&"no"===a?a=!1:"o"===s[0]&&"n"===s[1]?"ondoubleclick"===s?o="ondblclick":"onchange"!==s||"input"!==n&&"textarea"!==n||Kd(t.type)?"onfocus"===s?o="onfocusin":"onblur"===s?o="onfocusout":Yd.test(o)&&(o=s):s=o="oninput":i&&Gd.test(o)?o=o.replace(Xd,"-$&").toLowerCase():null===a&&(a=void 0),"oninput"===s&&r[o=s]&&(o="oninputCapture"),r[o]=a}}"select"==n&&r.multiple&&Array.isArray(r.value)&&(r.value=Oo(t.children).forEach((function(e){e.props.selected=-1!=r.value.indexOf(e.props.value)}))),"select"==n&&null!=r.defaultValue&&(r.value=Oo(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",nf)):(t.className&&!t.class||t.class&&t.className)&&(r.class=r.className=t.className),e.props=r}(e),e.$$typeof=Vd,rf&&rf(e)};var of=no.__r;no.__r=function(e){of&&of(e),e.__c};var af=no.diffed;no.diffed=function(e){af&&af(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 sf={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 lf=Go(null),cf=e=>{const{children:t,menuTrigger:n,menuTriggerWrapper:r="div",size:i="m",isInitialOpened:o=!1,placement:a="bottom-end",...s}=e,[l,c]=la(o),u=fa(null),d=fa(null);return ua((()=>{const e=e=>{"Escape"===e.key&&l&&c(!1)};return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)}}),[l]),ua((()=>{const e=e=>{l&&u.current&&(u.current.contains(e.target)||c(!1))};return l&&document.addEventListener("click",e),()=>{document.removeEventListener("click",e)}}),[l]),ua((()=>{const e=()=>{(u.current||d.current)&&kd(d.current,u.current,{placement:a,middleware:[_d(6),xd(),wd({padding:5})],strategy:"fixed"}).then((({x:e,y:t,strategy:n})=>{u.current&&Object.assign(u.current.style,{left:`${e}px`,top:`${t}px`,position:n,zIndex:1e3})}))};return e(),yd(d.current,u.current,e)}),[u.current,d.current]),qc(lf.Provider,{value:{setIsOpened:c},children:qc(ko,{children:["function"==typeof n&&qc(r,{ref:d,children:n({isOpened:l,onClick:()=>{c(!l)},setIsOpened:c})}),Wd(qc("div",{ref:u,...s,children:l&&qc("aside",{className:Ls(sf.menu,sf[`size-${i}`]),children:t})}),document.body)]})})};cf.Section=e=>{const{children:t,...n}=e;return qc("ul",{className:sf.section,...n,children:t})},cf.Section.displayName="Menu.Section";const uf=e=>{const{setIsOpened:t}=(()=>{const e=ga(lf);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 qc("li",{className:sf.menuListItem,...c,children:qc(Yc,{"aria-label":a,type:"paragraph",size:"m",tag:u?"button":"div",className:Ls(sf.menuItem,u&&sf.interactive),onClick:e=>{u&&s&&(e.stopPropagation(),t(!1)),u&&r?.()},"data-interactive-menu-item":!!u||void 0,"data-testid":l,children:[d&&qc(Vc,{id:i,className:sf.leadingIcon,size:"m"}),qc("div",{className:sf.content,children:n}),o&&qc("div",{className:sf.right,children:o})]})})};(cf.Item=uf).displayName="Menu.Item",(cf.ItemWithCheckmark=e=>{const{isChecked:t=!1,...n}=e;return qc(uf,{...n,rightSlot:t&&qc(Vc,{className:sf.checkmarkIcon,id:Ql.id})})}).displayName="Menu.ItemWithCheckmark";var df={"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 ff=({isOpened:e,buttonSize:t="m",iconSize:n="xs",tag:r="button",className:i,icon:o=Wc.lineArrowsChevronDown,onClick:a,...s})=>qc(r,{...s,className:Ls(df["arrow-button"],df[`arrow-button-${t}`]),onClick:a,children:qc(Vc,{id:o,size:n,className:Ls({[df["arrow-button-icon--opened"]]:e},df["arrow-button-icon"],df[`icon-size-${n}`],i)})}),hf=["failed","broken","passed","skipped","unknown"],pf=new Set(["failed","broken"]),gf=new Set(["passed"]),mf=new Set([...pf,...gf]),vf=e=>{const t=new Set(e);return e=>t.has(e.status)};var bf;vf(gf),vf(pf),vf(mf),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"}(bf||(bf={}));const yf=[{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}],_f=e=>{if(void 0===e)return"unknown";if(e<.5)return"0s";const t=[];for(const{accessor:n,suffix:r}of yf){const i=n(e);if((0!==t.length||i)&&(t.push(i+r),t.length>1))break}return t.join(" ")},wf=async(e,t)=>{const n=await(async(e,t="application/octet-stream")=>{if(globalThis.allureReportData){const[n]=e.split("?");return`data:${t};base64,${await(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!`))}))))(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 xf(),i&&r.searchParams.set("live_reload_hash",i),r.toString()})(e,t);return globalThis.fetch(n)},xf=()=>globalThis.allureReportOptions,kf=async({id:e,ext:t,contentType:n})=>wf(`data/attachments/${e||"-"}${t||""}?attachment`,n),Cf=async(e,t,n)=>{const r=await kf({id:e,ext:t,contentType:n});return await r.blob()},Sf=["text/html","text/csv","text/markdown","text/tab-separated-values","text/uri-list"],Tf=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"]),Af=new Set(["text/plain","text/*","text/uri-list"]),Mf=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"]),Lf=e=>{const t=e.lastIndexOf(".");if(!(t<=0||t===e.length-1))return e.slice(t)},Ef=e=>{switch(e){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/markdown":case"text/*":return"text";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";default:return null}},Nf={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 Of,Rf,Df;function Pf(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function If(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function zf(){}!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"}(Of||(Of={})),function(e){e.Status="status",e.Severity="severity"}(Rf||(Rf={})),function(e){e.Raw="raw",e.Percent="percent",e.Diverging="diverging"}(Df||(Df={})),Of.CurrentStatus,Of.StatusDynamics,Of.TrSeverities,Of.StatusTransitions,Of.TestBaseGrowthDynamics,Of.CoverageDiff,Of.SuccessRateDistribution,Of.ProblemsDistribution,Of.StabilityDistribution,Of.StabilityDistribution,Of.StabilityDistribution,Of.Durations,Of.Durations,Of.DurationDynamics,Of.StatusAgePyramid,Of.TestingPyramid;var Bf=.7,jf=1/Bf,Ff="\\s*([+-]?\\d+)\\s*",Hf="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",$f="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",Uf=/^#([0-9a-f]{3,8})$/,qf=new RegExp(`^rgb\\(${Ff},${Ff},${Ff}\\)$`),Wf=new RegExp(`^rgb\\(${$f},${$f},${$f}\\)$`),Vf=new RegExp(`^rgba\\(${Ff},${Ff},${Ff},${Hf}\\)$`),Gf=new RegExp(`^rgba\\(${$f},${$f},${$f},${Hf}\\)$`),Yf=new RegExp(`^hsl\\(${Hf},${$f},${$f}\\)$`),Xf=new RegExp(`^hsla\\(${Hf},${$f},${$f},${Hf}\\)$`),Zf={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 Kf(){return this.rgb().formatHex()}function Jf(){return this.rgb().formatRgb()}function Qf(e){var t,n;return e=(e+"").trim().toLowerCase(),(t=Uf.exec(e))?(n=t[1].length,t=parseInt(t[1],16),6===n?eh(t):3===n?new ih(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===n?th(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===n?th(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=qf.exec(e))?new ih(t[1],t[2],t[3],1):(t=Wf.exec(e))?new ih(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=Vf.exec(e))?th(t[1],t[2],t[3],t[4]):(t=Gf.exec(e))?th(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=Yf.exec(e))?uh(t[1],t[2]/100,t[3]/100,1):(t=Xf.exec(e))?uh(t[1],t[2]/100,t[3]/100,t[4]):Zf.hasOwnProperty(e)?eh(Zf[e]):"transparent"===e?new ih(NaN,NaN,NaN,0):null}function eh(e){return new ih(e>>16&255,e>>8&255,255&e,1)}function th(e,t,n,r){return r<=0&&(e=t=n=NaN),new ih(e,t,n,r)}function nh(e){return e instanceof zf||(e=Qf(e)),e?new ih((e=e.rgb()).r,e.g,e.b,e.opacity):new ih}function rh(e,t,n,r){return 1===arguments.length?nh(e):new ih(e,t,n,null==r?1:r)}function ih(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function oh(){return`#${ch(this.r)}${ch(this.g)}${ch(this.b)}`}function ah(){const e=sh(this.opacity);return`${1===e?"rgb(":"rgba("}${lh(this.r)}, ${lh(this.g)}, ${lh(this.b)}${1===e?")":`, ${e})`}`}function sh(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function lh(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function ch(e){return((e=lh(e))<16?"0":"")+e.toString(16)}function uh(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new fh(e,t,n,r)}function dh(e){if(e instanceof fh)return new fh(e.h,e.s,e.l,e.opacity);if(e instanceof zf||(e=Qf(e)),!e)return new fh;if(e instanceof fh)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 fh(a,s,l,e.opacity)}function fh(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function hh(e){return(e=(e||0)%360)<0?e+360:e}function ph(e){return Math.max(0,Math.min(1,e||0))}function gh(e,t,n){return 255*(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)}Pf(zf,Qf,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:Kf,formatHex:Kf,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return dh(this).formatHsl()},formatRgb:Jf,toString:Jf}),Pf(ih,rh,If(zf,{brighter(e){return e=null==e?jf:Math.pow(jf,e),new ih(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=null==e?Bf:Math.pow(Bf,e),new ih(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new ih(lh(this.r),lh(this.g),lh(this.b),sh(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:oh,formatHex:oh,formatHex8:function(){return`#${ch(this.r)}${ch(this.g)}${ch(this.b)}${ch(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:ah,toString:ah})),Pf(fh,(function(e,t,n,r){return 1===arguments.length?dh(e):new fh(e,t,n,null==r?1:r)}),If(zf,{brighter(e){return e=null==e?jf:Math.pow(jf,e),new fh(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=null==e?Bf:Math.pow(Bf,e),new fh(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 ih(gh(e>=240?e-240:e+120,i,r),gh(e,i,r),gh(e<120?e+240:e-120,i,r),this.opacity)},clamp(){return new fh(hh(this.h),ph(this.s),ph(this.l),sh(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=sh(this.opacity);return`${1===e?"hsl(":"hsla("}${hh(this.h)}, ${100*ph(this.s)}%, ${100*ph(this.l)}%${1===e?")":`, ${e})`}`}}));const mh=Math.PI/180,vh=180/Math.PI;var bh=-.14861,yh=1.78277,_h=-.29227,wh=-.90649,xh=1.97294,kh=xh*wh,Ch=xh*yh,Sh=yh*_h-wh*bh;function Th(e,t,n,r){return 1===arguments.length?function(e){if(e instanceof Ah)return new Ah(e.h,e.s,e.l,e.opacity);e instanceof ih||(e=nh(e));var t=e.r/255,n=e.g/255,r=e.b/255,i=(Sh*r+kh*t-Ch*n)/(Sh+kh-Ch),o=r-i,a=(xh*(n-i)-_h*o)/wh,s=Math.sqrt(a*a+o*o)/(xh*i*(1-i)),l=s?Math.atan2(a,o)*vh-120:NaN;return new Ah(l<0?l+360:l,s,i,e.opacity)}(e):new Ah(e,t,n,null==r?1:r)}function Ah(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}Pf(Ah,Th,If(zf,{brighter(e){return e=null==e?jf:Math.pow(jf,e),new Ah(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=null==e?Bf:Math.pow(Bf,e),new Ah(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=isNaN(this.h)?0:(this.h+120)*mh,t=+this.l,n=isNaN(this.s)?0:this.s*t*(1-t),r=Math.cos(e),i=Math.sin(e);return new ih(255*(t+n*(bh*r+yh*i)),255*(t+n*(_h*r+wh*i)),255*(t+n*(xh*r)),this.opacity)}}));var Mh=e=>()=>e;function Lh(e,t){return function(n){return e+n*t}}function Eh(e,t){var n=t-e;return n?Lh(e,n):Mh(isNaN(e)?t:e)}var Nh,Oh=function e(t){var n=function(e){return 1==(e=+e)?Eh: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):Mh(isNaN(t)?n:t)}}(t);function r(e,t){var r=n((e=rh(e)).r,(t=rh(t)).r),i=n(e.g,t.g),o=n(e.b,t.b),a=Eh(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),Rh=(Nh=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=rh(e[t]),i[t]=n.r||0,o[t]=n.g||0,a[t]=n.b||0;return i=Nh(i),o=Nh(o),a=Nh(a),n.opacity=1,function(e){return n.r=i(e),n.g=o(e),n.b=a(e),n+""}});function Dh(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 Ph(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]=$h(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 Ih(e,t){var n=new Date;return e=+e,t=+t,function(r){return n.setTime(e*(1-r)+t*r),n}}function zh(e,t){return e=+e,t=+t,function(n){return e*(1-n)+t*n}}function Bh(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]=$h(e[n],t[n]):i[n]=t[n];return function(e){for(n in r)i[n]=r[n](e);return i}}var jh=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,Fh=new RegExp(jh.source,"g");function Hh(e,t){var n,r,i,o=jh.lastIndex=Fh.lastIndex=0,a=-1,s=[],l=[];for(e+="",t+="";(n=jh.exec(e))&&(r=Fh.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:zh(n,r)})),o=Fh.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 $h(e,t){var n,r=typeof t;return null==t||"boolean"===r?Mh(t):("number"===r?zh:"string"===r?(n=Qf(t))?(t=n,Oh):Hh:t instanceof Qf?Oh:t instanceof Date?Ih:function(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}(t)?Dh:Array.isArray(t)?Ph:"function"!=typeof t.valueOf&&"function"!=typeof t.toString||isNaN(t)?Bh:zh)(e,t)}function Uh(e,t){return e=+e,t=+t,function(n){return Math.round(e*(1-n)+t*n)}}var qh,Wh=180/Math.PI,Vh={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function Gh(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)*Wh,skewX:Math.atan(l)*Wh,scaleX:a,scaleY:s}}function Yh(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:zh(e,i)},{i:l-2,x:zh(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:zh(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:zh(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:zh(e,n)},{i:s-2,x:zh(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 Xh=Yh((function(e){const t=new("function"==typeof DOMMatrix?DOMMatrix:WebKitCSSMatrix)(e+"");return t.isIdentity?Vh:Gh(t.a,t.b,t.c,t.d,t.e,t.f)}),"px, ","px)","deg)"),Zh=Yh((function(e){return null==e?Vh:(qh||(qh=document.createElementNS("http://www.w3.org/2000/svg","g")),qh.setAttribute("transform",e),(e=qh.transform.baseVal.consolidate())?Gh((e=e.matrix).a,e.b,e.c,e.d,e.e,e.f):Vh)}),", ",")",")");function Kh(e){return function t(n){function r(t,r){var i=e((t=Th(t)).h,(r=Th(r)).h),o=Eh(t.s,r.s),a=Eh(t.l,r.l),s=Eh(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)}Kh((function(e,t){var n=t-e;return n?Lh(e,n>180||n<-180?n-360*Math.round(n/360):n):Mh(isNaN(e)?t:e)}));var Jh=Kh(Eh);function Qh(e,t){return null==e||null==t?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function ep(e,t){return null==e||null==t?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function tp(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=Qh,n=(t,n)=>Qh(e(t),n),r=(t,n)=>e(t)-n):(t=e===Qh||e===ep?e:np,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 np(){return 0}const rp=tp(Qh).right;tp((function(e){return null===e?NaN:+e})).center;class ip extends Map{constructor(e,t=ap){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(op(this,e))}has(e){return super.has(op(this,e))}set(e,t){return super.set(function({_intern:e,_key:t},n){const r=t(n);return e.has(r)?e.get(r):(e.set(r,n),n)}(this,e),t)}delete(e){return super.delete(function({_intern:e,_key:t},n){const r=t(n);return e.has(r)&&(n=e.get(r),e.delete(r)),n}(this,e))}}function op({_intern:e,_key:t},n){const r=t(n);return e.has(r)?e.get(r):n}function ap(e){return null!==e&&"object"==typeof e?e.valueOf():e}const sp=Math.sqrt(50),lp=Math.sqrt(10),cp=Math.sqrt(2);function up(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>=sp?10:o>=lp?5:o>=cp?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?up(e,t,2*n):[s,l,c]}function dp(e,t,n){if(!((n=+n)>0))return[];if((e=+e)==(t=+t))return[e];const r=t<e,[i,o,a]=r?up(t,e,n):up(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 fp(e,t,n){return up(e=+e,t=+t,n=+n)[2]}function hp(e,t,n){n=+n;const r=(t=+t)<(e=+e),i=r?fp(t,e,n):fp(e,t,n);return(r?-1:1)*(i<0?1/-i:i)}function pp(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 gp(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 mp(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e)}return this}function vp(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 bp=Symbol("implicit");function yp(){var e=new ip,t=[],n=[],r=bp;function i(i){let o=e.get(i);if(void 0===o){if(r!==bp)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 ip;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 yp(t,n).unknown(r)},mp.apply(i,arguments),i}function _p(){var e,t,n=yp().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 _p(r(),[o,a]).round(s).paddingInner(l).paddingOuter(c).align(u)},mp.apply(d(),arguments)}function wp(e){var t=e.copy;return e.padding=e.paddingOuter,delete e.paddingInner,delete e.paddingOuter,e.copy=function(){return wp(t())},e}function xp(){return wp(_p.apply(null,arguments).paddingInner(1))}function kp(e){return+e}var Cp=[0,1];function Sp(e){return e}function Tp(e,t){return(t-=e=+e)?function(n){return(n-e)/t}:function(e){return function(){return e}}(isNaN(t)?NaN:.5)}function Ap(e,t,n){var r=e[0],i=e[1],o=t[0],a=t[1];return i<r?(r=Tp(i,r),o=n(a,o)):(r=Tp(r,i),o=n(o,a)),function(e){return o(r(e))}}function Mp(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]=Tp(e[a],e[a+1]),o[a]=n(t[a],t[a+1]);return function(t){var n=rp(e,t,1,r)-1;return o[n](i[n](t))}}function Lp(e,t){return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown())}function Ep(){var e,t,n,r,i,o,a=Cp,s=Cp,l=$h,c=Sp;function u(){var e=Math.min(a.length,s.length);return c!==Sp&&(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?Mp:Ap,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),zh)))(n)))},d.domain=function(e){return arguments.length?(a=Array.from(e,kp),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=Uh,u()},d.clamp=function(e){return arguments.length?(c=!!e||Sp,u()):c!==Sp},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 Np(){return Ep()(Sp,Sp)}function Op(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 Rp(e){return(e=Op(Math.abs(e)))?e[1]:NaN}var Dp,Pp=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function Ip(e){if(!(t=Pp.exec(e)))throw new Error("invalid format: "+e);var t;return new zp({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}function zp(e){this.fill=void 0===e.fill?" ":e.fill+"",this.align=void 0===e.align?">":e.align+"",this.sign=void 0===e.sign?"-":e.sign+"",this.symbol=void 0===e.symbol?"":e.symbol+"",this.zero=!!e.zero,this.width=void 0===e.width?void 0:+e.width,this.comma=!!e.comma,this.precision=void 0===e.precision?void 0:+e.precision,this.trim=!!e.trim,this.type=void 0===e.type?"":e.type+""}function Bp(e,t){var n=Op(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")}Ip.prototype=zp.prototype,zp.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};var jp={"%":(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)=>Bp(100*e,t),r:Bp,s:function(e,t){var n=Op(e,t);if(!n)return e+"";var r=n[0],i=n[1],o=i-(Dp=3*Math.max(-8,Math.min(8,Math.floor(i/3))))+1,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")+Op(e,Math.max(0,t+o-1))[0]},X:e=>Math.round(e).toString(16).toUpperCase(),x:e=>Math.round(e).toString(16)};function Fp(e){return e}var Hp,$p,Up,qp=Array.prototype.map,Wp=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function Vp(e){var t=e.domain;return e.ticks=function(e){var n=t();return dp(n[0],n[n.length-1],null==e?10:e)},e.tickFormat=function(e,n){var r=t();return function(e,t,n,r){var i,o=hp(e,t,n);switch((r=Ip(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(Rp(t)/3)))-Rp(Math.abs(e)))}(o,a))||(r.precision=i),Up(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,Rp(t)-Rp(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,-Rp(Math.abs(e)))}(o))||(r.precision=i-2*("%"===r.type))}return $p(r)}(r[0],r[r.length-1],null==e?10:e,n)},e.nice=function(n){null==n&&(n=10);var r,i,o=t(),a=0,s=o.length-1,l=o[a],c=o[s],u=10;for(c<l&&(i=l,l=c,c=i,i=a,a=s,s=i);u-- >0;){if((i=fp(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 Gp(){var e=Np();return e.copy=function(){return Lp(e,Gp())},mp.apply(e,arguments),Vp(e)}function Yp(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 Xp(e){return Math.log(e)}function Zp(e){return Math.exp(e)}function Kp(e){return-Math.log(-e)}function Jp(e){return-Math.exp(-e)}function Qp(e){return isFinite(e)?+("1e"+e):e<0?0:e}function eg(e){return(t,n)=>-e(-t,n)}function tg(){const e=function(e){const t=e(Xp,Zp),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?Qp:e===Math.E?Math.exp:t=>Math.pow(e,t)}(o),n()[0]<0?(r=eg(r),i=eg(i),e(Kp,Jp)):e(Xp,Zp),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=dp(a,s,h))}else p=dp(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=Ip(n)).precision||(n.trim=!0),n=$p(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(Yp(n(),{floor:e=>i(Math.floor(r(e))),ceil:e=>i(Math.ceil(r(e)))})),t}(Ep()).domain([1,10]);return e.copy=()=>Lp(e,tg()).base(e.base()),mp.apply(e,arguments),e}function ng(e){return function(t){return Math.sign(t)*Math.log1p(Math.abs(t/e))}}function rg(e){return function(t){return Math.sign(t)*Math.expm1(Math.abs(t))*e}}function ig(){var e=function(e){var t=1,n=e(ng(t),rg(t));return n.constant=function(n){return arguments.length?e(ng(t=+n),rg(t)):t},Vp(n)}(Ep());return e.copy=function(){return Lp(e,ig()).constant(e.constant())},mp.apply(e,arguments)}function og(){var e,t=0,n=1,r=1,i=[.5],o=[0,1];function a(t){return null!=t&&t<=t?o[rp(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 og().domain([t,n]).range(o).unknown(e)},mp.apply(Vp(a),arguments)}Hp=function(e){var t,n,r=void 0===e.grouping||void 0===e.thousands?Fp:(t=qp.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?Fp:function(e){return function(t){return t.replace(/[0-9]/g,(function(t){return e[+t]}))}}(qp.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=Ip(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"):jp[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:"",w=jp[b],x=/[defgprs%]/.test(b);function k(e){var i,o,l,f=y,k=_;if("c"===b)k=w(e)+k,e="";else{var C=(e=+e)<0||1/e<0;if(e=isNaN(e)?u:w(Math.abs(e),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?Wp[8+Dp/3]:"")+k+(C&&"("===d?")":""),x)for(i=-1,o=e.length;++i<o;)if(48>(l=e.charCodeAt(i))||l>57){k=(46===l?a+e.slice(i+1):e.slice(i))+k,e=e.slice(0,i);break}}g&&!h&&(e=r(e,1/0));var S=f.length+e.length+k.length,T=S<p?new Array(p-S+1).join(t):"";switch(g&&h&&(e=r(T+e,T.length?p-k.length:1/0),T=""),n){case"<":e=f+e+k+T;break;case"=":e=f+T+e+k;break;case"^":e=T.slice(0,S=T.length>>1)+f+e+k+T.slice(S);break;default:e=T+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=Ip(e)).type="f",e)),r=3*Math.max(-8,Math.min(8,Math.floor(Rp(t)/3))),i=Math.pow(10,-r),o=Wp[8+r/3];return function(e){return n(i*e)+o}}}}({thousands:",",grouping:[3],currency:["$",""]}),$p=Hp.format,Up=Hp.formatPrefix;const ag=new Date,sg=new Date;function lg(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=>lg((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)=>(ag.setTime(+t),sg.setTime(+r),e(ag),e(sg),Math.floor(n(ag,sg))),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 cg=lg((()=>{}),((e,t)=>{e.setTime(+e+t)}),((e,t)=>t-e));cg.every=e=>(e=Math.floor(e),isFinite(e)&&e>0?e>1?lg((t=>{t.setTime(Math.floor(t/e)*e)}),((t,n)=>{t.setTime(+t+n*e)}),((t,n)=>(n-t)/e)):cg:null),cg.range;const ug=1e3,dg=6e4,fg=36e5,hg=864e5,pg=6048e5,gg=31536e6,mg=lg((e=>{e.setTime(e-e.getMilliseconds())}),((e,t)=>{e.setTime(+e+t*ug)}),((e,t)=>(t-e)/ug),(e=>e.getUTCSeconds()));mg.range;const vg=lg((e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*ug)}),((e,t)=>{e.setTime(+e+t*dg)}),((e,t)=>(t-e)/dg),(e=>e.getMinutes()));vg.range;const bg=lg((e=>{e.setUTCSeconds(0,0)}),((e,t)=>{e.setTime(+e+t*dg)}),((e,t)=>(t-e)/dg),(e=>e.getUTCMinutes()));bg.range;const yg=lg((e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*ug-e.getMinutes()*dg)}),((e,t)=>{e.setTime(+e+t*fg)}),((e,t)=>(t-e)/fg),(e=>e.getHours()));yg.range;const _g=lg((e=>{e.setUTCMinutes(0,0,0)}),((e,t)=>{e.setTime(+e+t*fg)}),((e,t)=>(t-e)/fg),(e=>e.getUTCHours()));_g.range;const wg=lg((e=>e.setHours(0,0,0,0)),((e,t)=>e.setDate(e.getDate()+t)),((e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*dg)/hg),(e=>e.getDate()-1));wg.range;const xg=lg((e=>{e.setUTCHours(0,0,0,0)}),((e,t)=>{e.setUTCDate(e.getUTCDate()+t)}),((e,t)=>(t-e)/hg),(e=>e.getUTCDate()-1));xg.range;const kg=lg((e=>{e.setUTCHours(0,0,0,0)}),((e,t)=>{e.setUTCDate(e.getUTCDate()+t)}),((e,t)=>(t-e)/hg),(e=>Math.floor(e/hg)));function Cg(e){return lg((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())*dg)/pg))}kg.range;const Sg=Cg(0),Tg=Cg(1),Ag=Cg(2),Mg=Cg(3),Lg=Cg(4),Eg=Cg(5),Ng=Cg(6);function Og(e){return lg((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)/pg))}Sg.range,Tg.range,Ag.range,Mg.range,Lg.range,Eg.range,Ng.range;const Rg=Og(0),Dg=Og(1),Pg=Og(2),Ig=Og(3),zg=Og(4),Bg=Og(5),jg=Og(6);Rg.range,Dg.range,Pg.range,Ig.range,zg.range,Bg.range,jg.range;const Fg=lg((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()));Fg.range;const Hg=lg((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()));Hg.range;const $g=lg((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()));$g.every=e=>isFinite(e=Math.floor(e))&&e>0?lg((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,$g.range;const Ug=lg((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 qg(e,t,n,r,i,o){const a=[[mg,1,ug],[mg,5,5e3],[mg,15,15e3],[mg,30,3e4],[o,1,dg],[o,5,3e5],[o,15,9e5],[o,30,18e5],[i,1,fg],[i,3,108e5],[i,6,216e5],[i,12,432e5],[r,1,hg],[r,2,1728e5],[n,1,pg],[t,1,2592e6],[t,3,7776e6],[e,1,gg]];function s(t,n,r){const i=Math.abs(n-t)/r,o=tp((([,,e])=>e)).right(a,i);if(o===a.length)return e.every(hp(t/gg,n/gg,r));if(0===o)return cg.every(Math.max(hp(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]}Ug.every=e=>isFinite(e=Math.floor(e))&&e>0?lg((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,Ug.range;const[Wg,Vg]=qg(Ug,Hg,Rg,kg,_g,bg),[Gg,Yg]=qg($g,Fg,Sg,wg,yg,vg);function Xg(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 Zg(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 Kg(e,t,n){return{y:e,m:t,d:n,H:0,M:0,S:0,L:0}}var Jg,Qg,em,tm,nm={"-":"",_:" ",0:"0"},rm=/^\s*\d+/,im=/^%/,om=/[\\^$*+?|[\]().{}]/g;function am(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 sm(e){return e.replace(om,"\\$&")}function lm(e){return new RegExp("^(?:"+e.map(sm).join("|")+")","i")}function cm(e){return new Map(e.map(((e,t)=>[e.toLowerCase(),t])))}function um(e,t,n){var r=rm.exec(t.slice(n,n+1));return r?(e.w=+r[0],n+r[0].length):-1}function dm(e,t,n){var r=rm.exec(t.slice(n,n+1));return r?(e.u=+r[0],n+r[0].length):-1}function fm(e,t,n){var r=rm.exec(t.slice(n,n+2));return r?(e.U=+r[0],n+r[0].length):-1}function hm(e,t,n){var r=rm.exec(t.slice(n,n+2));return r?(e.V=+r[0],n+r[0].length):-1}function pm(e,t,n){var r=rm.exec(t.slice(n,n+2));return r?(e.W=+r[0],n+r[0].length):-1}function gm(e,t,n){var r=rm.exec(t.slice(n,n+4));return r?(e.y=+r[0],n+r[0].length):-1}function mm(e,t,n){var r=rm.exec(t.slice(n,n+2));return r?(e.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function vm(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 bm(e,t,n){var r=rm.exec(t.slice(n,n+1));return r?(e.q=3*r[0]-3,n+r[0].length):-1}function ym(e,t,n){var r=rm.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function _m(e,t,n){var r=rm.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function wm(e,t,n){var r=rm.exec(t.slice(n,n+3));return r?(e.m=0,e.d=+r[0],n+r[0].length):-1}function xm(e,t,n){var r=rm.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function km(e,t,n){var r=rm.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function Cm(e,t,n){var r=rm.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function Sm(e,t,n){var r=rm.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function Tm(e,t,n){var r=rm.exec(t.slice(n,n+6));return r?(e.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function Am(e,t,n){var r=im.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function Mm(e,t,n){var r=rm.exec(t.slice(n));return r?(e.Q=+r[0],n+r[0].length):-1}function Lm(e,t,n){var r=rm.exec(t.slice(n));return r?(e.s=+r[0],n+r[0].length):-1}function Em(e,t){return am(e.getDate(),t,2)}function Nm(e,t){return am(e.getHours(),t,2)}function Om(e,t){return am(e.getHours()%12||12,t,2)}function Rm(e,t){return am(1+wg.count($g(e),e),t,3)}function Dm(e,t){return am(e.getMilliseconds(),t,3)}function Pm(e,t){return Dm(e,t)+"000"}function Im(e,t){return am(e.getMonth()+1,t,2)}function zm(e,t){return am(e.getMinutes(),t,2)}function Bm(e,t){return am(e.getSeconds(),t,2)}function jm(e){var t=e.getDay();return 0===t?7:t}function Fm(e,t){return am(Sg.count($g(e)-1,e),t,2)}function Hm(e){var t=e.getDay();return t>=4||0===t?Lg(e):Lg.ceil(e)}function $m(e,t){return e=Hm(e),am(Lg.count($g(e),e)+(4===$g(e).getDay()),t,2)}function Um(e){return e.getDay()}function qm(e,t){return am(Tg.count($g(e)-1,e),t,2)}function Wm(e,t){return am(e.getFullYear()%100,t,2)}function Vm(e,t){return am((e=Hm(e)).getFullYear()%100,t,2)}function Gm(e,t){return am(e.getFullYear()%1e4,t,4)}function Ym(e,t){var n=e.getDay();return am((e=n>=4||0===n?Lg(e):Lg.ceil(e)).getFullYear()%1e4,t,4)}function Xm(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+am(t/60|0,"0",2)+am(t%60,"0",2)}function Zm(e,t){return am(e.getUTCDate(),t,2)}function Km(e,t){return am(e.getUTCHours(),t,2)}function Jm(e,t){return am(e.getUTCHours()%12||12,t,2)}function Qm(e,t){return am(1+xg.count(Ug(e),e),t,3)}function ev(e,t){return am(e.getUTCMilliseconds(),t,3)}function tv(e,t){return ev(e,t)+"000"}function nv(e,t){return am(e.getUTCMonth()+1,t,2)}function rv(e,t){return am(e.getUTCMinutes(),t,2)}function iv(e,t){return am(e.getUTCSeconds(),t,2)}function ov(e){var t=e.getUTCDay();return 0===t?7:t}function av(e,t){return am(Rg.count(Ug(e)-1,e),t,2)}function sv(e){var t=e.getUTCDay();return t>=4||0===t?zg(e):zg.ceil(e)}function lv(e,t){return e=sv(e),am(zg.count(Ug(e),e)+(4===Ug(e).getUTCDay()),t,2)}function cv(e){return e.getUTCDay()}function uv(e,t){return am(Dg.count(Ug(e)-1,e),t,2)}function dv(e,t){return am(e.getUTCFullYear()%100,t,2)}function fv(e,t){return am((e=sv(e)).getUTCFullYear()%100,t,2)}function hv(e,t){return am(e.getUTCFullYear()%1e4,t,4)}function pv(e,t){var n=e.getUTCDay();return am((e=n>=4||0===n?zg(e):zg.ceil(e)).getUTCFullYear()%1e4,t,4)}function gv(){return"+0000"}function mv(){return"%"}function vv(e){return+e}function bv(e){return Math.floor(+e/1e3)}function yv(e){return new Date(e)}function _v(e){return e instanceof Date?+e:+new Date(+e)}function wv(e,t,n,r,i,o,a,s,l,c){var u=Np(),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 w(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,_v)):f().map(yv)},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?w: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(Yp(n,e)):u},u.copy=function(){return Lp(u,wv(e,t,n,r,i,o,a,s,l,c))},u}function xv(){return mp.apply(wv(Wg,Vg,Ug,Hg,Rg,xg,_g,bg,mg,em).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)}function kv(e,t){return t.domain(e.domain()).interpolator(e.interpolator()).clamp(e.clamp()).unknown(e.unknown())}function Cv(){var e=Vp(function(){var e,t,n,r,i,o=0,a=1,s=Sp,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($h),c.rangeRound=u(Uh),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}}()(Sp));return e.copy=function(){return kv(e,Cv())},vp.apply(e,arguments)}function Sv(){var e=Vp(function(){var e,t,n,r,i,o,a,s=0,l=.5,c=1,u=1,d=Sp,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=$h);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($h),h.rangeRound=p(Uh),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}}()(Sp));return e.copy=function(){return kv(e,Sv())},vp.apply(e,arguments)}function Tv(e){return function(){return e}}Jg=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=lm(i),u=cm(i),d=lm(o),f=cm(o),h=lm(a),p=cm(a),g=lm(s),m=cm(s),v=lm(l),b=cm(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:Em,e:Em,f:Pm,g:Vm,G:Ym,H:Nm,I:Om,j:Rm,L:Dm,m:Im,M:zm,p:function(e){return i[+(e.getHours()>=12)]},q:function(e){return 1+~~(e.getMonth()/3)},Q:vv,s:bv,S:Bm,u:jm,U:Fm,V:$m,w:Um,W:qm,x:null,X:null,y:Wm,Y:Gm,Z:Xm,"%":mv},_={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:Zm,e:Zm,f:tv,g:fv,G:pv,H:Km,I:Jm,j:Qm,L:ev,m:nv,M:rv,p:function(e){return i[+(e.getUTCHours()>=12)]},q:function(e){return 1+~~(e.getUTCMonth()/3)},Q:vv,s:bv,S:iv,u:ov,U:av,V:lv,w:cv,W:uv,x:null,X:null,y:dv,Y:hv,Z:gv,"%":mv},w={a:function(e,t,n){var r=h.exec(t.slice(n));return r?(e.w=p.get(r[0].toLowerCase()),n+r[0].length):-1},A:function(e,t,n){var r=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:_m,e:_m,f:Tm,g:mm,G:gm,H:xm,I:xm,j:wm,L:Sm,m:ym,M:km,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:bm,Q:Mm,s:Lm,S:Cm,u:dm,U:fm,V:hm,w:um,W:pm,x:function(e,t,r){return C(e,n,t,r)},X:function(e,t,n){return C(e,r,t,n)},y:mm,Y:gm,Z:vm,"%":Am};function x(e,t){return function(n){var r,i,o,a=[],s=-1,l=0,c=e.length;for(n instanceof Date||(n=new Date(+n));++s<c;)37===e.charCodeAt(s)&&(a.push(e.slice(l,s)),null!=(i=nm[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=Kg(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=Zg(Kg(o.y,0,1))).getUTCDay(),r=i>4||0===i?Dg.ceil(r):Dg(r),r=xg.offset(r,7*(o.V-1)),o.y=r.getUTCFullYear(),o.m=r.getUTCMonth(),o.d=r.getUTCDate()+(o.w+6)%7):(i=(r=Xg(Kg(o.y,0,1))).getDay(),r=i>4||0===i?Tg.ceil(r):Tg(r),r=wg.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?Zg(Kg(o.y,0,1)).getUTCDay():Xg(Kg(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,Zg(o)):Xg(o)}}function C(e,t,n,r){for(var i,o,a=0,s=t.length,l=n.length;a<s;){if(r>=l)return-1;if(37===(i=t.charCodeAt(a++))){if(i=t.charAt(a++),!(o=w[i in nm?t.charAt(a++):i])||(r=o(e,n,r))<0)return-1}else if(i!=n.charCodeAt(r++))return-1}return r}return y.x=x(n,y),y.X=x(r,y),y.c=x(t,y),_.x=x(n,_),_.X=x(r,_),_.c=x(t,_),{format:function(e){var t=x(e+="",y);return t.toString=function(){return e},t},parse:function(e){var t=k(e+="",!1);return t.toString=function(){return e},t},utcFormat:function(e){var t=x(e+="",_);return t.toString=function(){return e},t},utcParse:function(e){var t=k(e+="",!0);return t.toString=function(){return e},t}}}({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]}),Qg=Jg.format,Jg.parse,em=Jg.utcFormat,Jg.utcParse,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.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.IndexLatestEnvTestResultsByHistoryId="index-latest-env-test-results-by-history-id.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"}(tm||(tm={}));const Av=Math.abs,Mv=Math.atan2,Lv=Math.cos,Ev=Math.max,Nv=Math.min,Ov=Math.sin,Rv=Math.sqrt,Dv=1e-12,Pv=Math.PI,Iv=Pv/2,zv=2*Pv;function Bv(e){return e>=1?Iv:e<=-1?-Iv:Math.asin(e)}const jv=Math.PI,Fv=2*jv,Hv=1e-6,$v=Fv-Hv;function Uv(e){this._+=e[0];for(let t=1,n=e.length;t<n;++t)this._+=arguments[t]+e[t]}let qv=class{constructor(e){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=null==e?Uv:function(e){let t=Math.floor(e);if(!(t>=0))throw new Error(`invalid digits: ${e}`);if(t>15)return Uv;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>Hv)if(Math.abs(u*s-l*c)>Hv&&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((jv-Math.acos((p+d-g)/(2*m*v)))/2),y=b/v,_=b/m;Math.abs(y-1)>Hv&&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}`}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)>Hv||Math.abs(this._y1-c)>Hv)&&this._append`L${l},${c}`,n&&(d<0&&(d=d%Fv+Fv),d>$v?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>Hv&&this._append`A${n},${n},0,${+(d>=jv)},${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 Wv(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 qv(t)}function Vv(e){return e.innerRadius}function Gv(e){return e.outerRadius}function Yv(e){return e.startAngle}function Xv(e){return e.endAngle}function Zv(e){return e&&e.padAngle}function Kv(e,t,n,r,i,o,a){var s=e-n,l=t-r,c=(a?o:-o)/Rv(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,w=i-o,x=f*g-p*h,k=(y<0?-1:1)*Rv(Ev(0,w*w*_-x*x)),C=(x*y-b*k)/_,S=(-x*b-y*k)/_,T=(x*y+b*k)/_,A=(-x*b+y*k)/_,M=C-m,L=S-v,E=T-m,N=A-v;return M*M+L*L>E*E+N*N&&(C=T,S=A),{cx:C,cy:S,x01:-u,y01:-d,x11:C*(i/w-1),y11:S*(i/w-1)}}function Jv(){var e=Vv,t=Gv,n=Tv(0),r=null,i=Yv,o=Xv,a=Zv,s=null,l=Wv(c);function c(){var c,u,d=+e.apply(this,arguments),f=+t.apply(this,arguments),h=i.apply(this,arguments)-Iv,p=o.apply(this,arguments)-Iv,g=Av(p-h),m=p>h;if(s||(s=c=l()),f<d&&(u=f,f=d,d=u),f>Dv)if(g>zv-Dv)s.moveTo(f*Lv(h),f*Ov(h)),s.arc(0,0,f,h,p,!m),d>Dv&&(s.moveTo(d*Lv(p),d*Ov(p)),s.arc(0,0,d,p,h,m));else{var v,b,y=h,_=p,w=h,x=p,k=g,C=g,S=a.apply(this,arguments)/2,T=S>Dv&&(r?+r.apply(this,arguments):Rv(d*d+f*f)),A=Nv(Av(f-d)/2,+n.apply(this,arguments)),M=A,L=A;if(T>Dv){var E=Bv(T/d*Ov(S)),N=Bv(T/f*Ov(S));(k-=2*E)>Dv?(w+=E*=m?1:-1,x-=E):(k=0,w=x=(h+p)/2),(C-=2*N)>Dv?(y+=N*=m?1:-1,_-=N):(C=0,y=_=(h+p)/2)}var O=f*Lv(y),R=f*Ov(y),D=d*Lv(x),P=d*Ov(x);if(A>Dv){var I,z=f*Lv(_),B=f*Ov(_),j=d*Lv(w),F=d*Ov(w);if(g<Pv)if(I=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<Dv))return[e+(f=(u*(t-o)-d*(e-i))/f)*l,t+f*c]}(O,R,j,F,z,B,D,P)){var H=O-I[0],$=R-I[1],U=z-I[0],q=B-I[1],W=1/Ov(function(e){return e>1?0:e<-1?Pv:Math.acos(e)}((H*U+$*q)/(Rv(H*H+$*$)*Rv(U*U+q*q)))/2),V=Rv(I[0]*I[0]+I[1]*I[1]);M=Nv(A,(d-V)/(W-1)),L=Nv(A,(f-V)/(W+1))}else M=L=0}C>Dv?L>Dv?(v=Kv(j,F,O,R,f,L,m),b=Kv(z,B,D,P,f,L,m),s.moveTo(v.cx+v.x01,v.cy+v.y01),L<A?s.arc(v.cx,v.cy,L,Mv(v.y01,v.x01),Mv(b.y01,b.x01),!m):(s.arc(v.cx,v.cy,L,Mv(v.y01,v.x01),Mv(v.y11,v.x11),!m),s.arc(0,0,f,Mv(v.cy+v.y11,v.cx+v.x11),Mv(b.cy+b.y11,b.cx+b.x11),!m),s.arc(b.cx,b.cy,L,Mv(b.y11,b.x11),Mv(b.y01,b.x01),!m))):(s.moveTo(O,R),s.arc(0,0,f,y,_,!m)):s.moveTo(O,R),d>Dv&&k>Dv?M>Dv?(v=Kv(D,P,z,B,d,-M,m),b=Kv(O,R,j,F,d,-M,m),s.lineTo(v.cx+v.x01,v.cy+v.y01),M<A?s.arc(v.cx,v.cy,M,Mv(v.y01,v.x01),Mv(b.y01,b.x01),!m):(s.arc(v.cx,v.cy,M,Mv(v.y01,v.x01),Mv(v.y11,v.x11),!m),s.arc(0,0,d,Mv(v.cy+v.y11,v.cx+v.x11),Mv(b.cy+b.y11,b.cx+b.x11),m),s.arc(b.cx,b.cy,M,Mv(b.y11,b.x11),Mv(b.y01,b.x01),!m))):s.arc(0,0,d,x,w,m):s.lineTo(D,P)}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-Pv/2;return[Lv(r)*n,Ov(r)*n]},c.innerRadius=function(t){return arguments.length?(e="function"==typeof t?t:Tv(+t),c):e},c.outerRadius=function(e){return arguments.length?(t="function"==typeof e?e:Tv(+e),c):t},c.cornerRadius=function(e){return arguments.length?(n="function"==typeof e?e:Tv(+e),c):n},c.padRadius=function(e){return arguments.length?(r=null==e?null:"function"==typeof e?e:Tv(+e),c):r},c.startAngle=function(e){return arguments.length?(i="function"==typeof e?e:Tv(+e),c):i},c.endAngle=function(e){return arguments.length?(o="function"==typeof e?e:Tv(+e),c):o},c.padAngle=function(e){return arguments.length?(a="function"==typeof e?e:Tv(+e),c):a},c.context=function(e){return arguments.length?(s=null==e?null:e,c):s},c}function Qv(e){return"object"==typeof e&&"length"in e?e:Array.from(e)}function eb(e){this._context=e}function tb(e){return new eb(e)}function nb(e){return e[0]}function rb(e){return e[1]}function ib(e,t){var n=Tv(!0),r=null,i=tb,o=null,a=Wv(s);function s(s){var l,c,u,d=(s=Qv(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?nb:Tv(e),t="function"==typeof t?t:void 0===t?rb:Tv(t),s.x=function(t){return arguments.length?(e="function"==typeof t?t:Tv(+t),s):e},s.y=function(e){return arguments.length?(t="function"==typeof e?e:Tv(+e),s):t},s.defined=function(e){return arguments.length?(n="function"==typeof e?e:Tv(!!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 ob(e,t,n){var r=null,i=Tv(!0),o=null,a=tb,s=null,l=Wv(c);function c(c){var u,d,f,h,p,g=(c=Qv(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 ib().defined(i).curve(a).context(o)}return e="function"==typeof e?e:void 0===e?nb:Tv(+e),t="function"==typeof t?t:Tv(void 0===t?0:+t),n="function"==typeof n?n:void 0===n?rb:Tv(+n),c.x=function(t){return arguments.length?(e="function"==typeof t?t:Tv(+t),r=null,c):e},c.x0=function(t){return arguments.length?(e="function"==typeof t?t:Tv(+t),c):e},c.x1=function(e){return arguments.length?(r=null==e?null:"function"==typeof e?e:Tv(+e),c):r},c.y=function(e){return arguments.length?(t="function"==typeof e?e:Tv(+e),n=null,c):t},c.y0=function(e){return arguments.length?(t="function"==typeof e?e:Tv(+e),c):t},c.y1=function(e){return arguments.length?(n=null==e?null:"function"==typeof e?e:Tv(+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:Tv(!!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 ab(e,t){return t<e?-1:t>e?1:t>=e?0:NaN}function sb(e){return e}function lb(){var e=sb,t=ab,n=null,r=Tv(0),i=Tv(zv),o=Tv(0);function a(a){var s,l,c,u,d,f=(a=Qv(a)).length,h=0,p=new Array(f),g=new Array(f),m=+r.apply(this,arguments),v=Math.min(zv,Math.max(-zv,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:Tv(+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:Tv(+e),a):r},a.endAngle=function(e){return arguments.length?(i="function"==typeof e?e:Tv(+e),a):i},a.padAngle=function(e){return arguments.length?(o="function"==typeof e?e:Tv(+e),a):o},a}function cb(){}function ub(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 db(e){this._context=e}function fb(e){return new db(e)}function hb(e){this._context=e}function pb(e){this._context=e}function gb(e,t){this._basis=new db(e),this._beta=t}eb.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)}}},db.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:ub(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:ub(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},hb.prototype={areaStart:cb,areaEnd:cb,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:ub(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},pb.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:ub(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},gb.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 mb=function e(t){function n(e){return 1===t?new db(e):new gb(e,t)}return n.beta=function(t){return e(+t)},n}(.85);function vb(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 bb(e,t){this._context=e,this._k=(1-t)/6}bb.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:vb(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:vb(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 yb=function e(t){function n(e){return new bb(e,t)}return n.tension=function(t){return e(+t)},n}(0);function _b(e,t){this._context=e,this._k=(1-t)/6}_b.prototype={areaStart:cb,areaEnd:cb,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:vb(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 wb=function e(t){function n(e){return new _b(e,t)}return n.tension=function(t){return e(+t)},n}(0);function xb(e,t){this._context=e,this._k=(1-t)/6}xb.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:vb(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 kb=function e(t){function n(e){return new xb(e,t)}return n.tension=function(t){return e(+t)},n}(0);function Cb(e,t,n){var r=e._x1,i=e._y1,o=e._x2,a=e._y2;if(e._l01_a>Dv){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>Dv){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 Sb(e,t){this._context=e,this._alpha=t}Sb.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:Cb(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 Tb=function e(t){function n(e){return t?new Sb(e,t):new bb(e,0)}return n.alpha=function(t){return e(+t)},n}(.5);function Ab(e,t){this._context=e,this._alpha=t}Ab.prototype={areaStart:cb,areaEnd:cb,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:Cb(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 Mb=function e(t){function n(e){return t?new Ab(e,t):new _b(e,0)}return n.alpha=function(t){return e(+t)},n}(.5);function Lb(e,t){this._context=e,this._alpha=t}Lb.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:Cb(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 Eb=function e(t){function n(e){return t?new Lb(e,t):new xb(e,0)}return n.alpha=function(t){return e(+t)},n}(.5);function Nb(e){this._context=e}function Ob(e){return e<0?-1:1}function Rb(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(Ob(o)+Ob(a))*Math.min(Math.abs(o),Math.abs(a),.5*Math.abs(s))||0}function Db(e,t){var n=e._x1-e._x0;return n?(3*(e._y1-e._y0)/n-t)/2:t}function Pb(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 Ib(e){this._context=e}function zb(e){this._context=new Bb(e)}function Bb(e){this._context=e}function jb(e){this._context=e}function Fb(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 Hb(e,t){this._context=e,this._t=t}function $b(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 Ub(e){for(var t=e.length,n=new Array(t);--t>=0;)n[t]=t;return n}function qb(e,t){return e[t]}function Wb(e){const t=[];return t.key=e,t}function Vb(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)}Nb.prototype={areaStart:cb,areaEnd:cb,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))}},Ib.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:Pb(this,this._t0,Db(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,Pb(this,Db(this,n=Rb(this,e,t)),n);break;default:Pb(this,this._t0,n=Rb(this,e,t))}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t,this._t0=n}}},(zb.prototype=Object.create(Ib.prototype)).point=function(e,t){Ib.prototype.point.call(this,t,e)},Bb.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)}},jb.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=Fb(e),i=Fb(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)}},Hb.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 Gb=()=>Jv().innerRadius(40).outerRadius(50).cornerRadius(2).padAngle(.03);lb().value((e=>e.count)).padAngle(.03).sortValues(((e,t)=>e-t)),Gb(),Gb().padAngle(0).cornerRadius(0);var Yb="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==a.g?a.g:"undefined"!=typeof self?self:{};function Xb(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Zb,Kb,Jb={},Qb={},ey={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:"‌"},ty={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:"ÿ"},ny={amp:"&",apos:"'",gt:">",lt:"<",quot:'"'},ry={},iy={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 oy(){if(Kb)return Qb;Kb=1;var e=Qb&&Qb.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Qb,"__esModule",{value:!0}),Qb.decodeHTML=Qb.decodeHTMLStrict=Qb.decodeXML=void 0;var t=e(ey),n=e(ty),r=e(ny),i=e(function(){if(Zb)return ry;Zb=1;var e=ry&&ry.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(ry,"__esModule",{value:!0});var t=e(iy),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 ry.default=function(e){return e>=55296&&e<=57343||e>1114111?"�":(e in t.default&&(e=t.default[e]),n(e))},ry}()),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)}}Qb.decodeXML=a(r.default),Qb.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 Qb.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)}}(),Qb}var ay,sy,ly,cy,uy={};function dy(){if(ay)return uy;ay=1;var e=uy&&uy.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(uy,"__esModule",{value:!0}),uy.escapeUTF8=uy.escape=uy.encodeNonAsciiHTML=uy.encodeHTML=uy.encodeXML=void 0;var t=o(e(ny).default),n=a(t);uy.encodeXML=d(t);var r=o(e(ey).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")}uy.encodeHTML=function(e,t){return function(n){return n.replace(t,(function(t){return e[t]})).replace(s,c)}}(r,i),uy.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 uy.escape=function(e){return e.replace(u,c)},uy.escapeUTF8=function(e){return e.replace(n,c)},uy}var fy=function(){if(cy)return ly;function e(e,n){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,n){if(e){if("string"==typeof e)return t(e,n);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?t(e,n):void 0}}(e))||n){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 t(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}cy=1;var n=(sy||(sy=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=oy(),n=dy();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=dy();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=oy();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}})}(Jb)),Jb),r={fg:"#FFF",bg:"#000",newline:!1,escapeXML:!1,stream:!1,colors:function(){var t={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 s(0,5).forEach((function(n){s(0,5).forEach((function(r){s(0,5).forEach((function(o){return function(t,n,r,o){var a=t>0?40*t+55:0,s=n>0?40*n+55:0,l=r>0?40*r+55:0;o[16+36*t+6*n+r]=function(t){var n,r=[],o=e(t);try{for(o.s();!(n=o.n()).done;){var a=n.value;r.push(i(a))}}catch(t){o.e(t)}finally{o.f()}return"#"+r.join("")}([a,s,l])}(n,r,o,t)}))}))})),s(0,23).forEach((function(e){var n=e+232,r=i(10*e+8);t[n]="#"+r+r+r})),t}()};function i(e){for(var t=e.toString(16);t.length<2;)t="0"+t;return t}function o(e,t,r,i){var o;return"text"===t?o=function(e,t){return t.escapeXML?n.encodeXML(e):e}(r,i):"display"===t?o=function(e,t,n){var r,i={"-1":function(){return"<br/>"},0:function(){return e.length&&a(e)},1:function(){return c(e,"b")},3:function(){return c(e,"i")},4:function(){return c(e,"u")},8:function(){return u(e,"display:none")},9:function(){return c(e,"strike")},22:function(){return u(e,"font-weight:normal;text-decoration:none;font-style:normal")},23:function(){return h(e,"i")},24:function(){return h(e,"u")},39:function(){return d(e,n.fg)},49:function(){return f(e,n.bg)},53:function(){return u(e,"text-decoration:overline")}};return i[t=parseInt(t,10)]?r=i[t]():4<t&&t<7?r=c(e,"blink"):29<t&&t<38?r=d(e,n.colors[t-30]):39<t&&t<48?r=f(e,n.colors[t-40]):89<t&&t<98?r=d(e,n.colors[t-90+8]):99<t&&t<108&&(r=f(e,n.colors[t-100+8])),r}(e,r,i):"xterm256Foreground"===t?o=d(e,i.colors[r]):"xterm256Background"===t?o=f(e,i.colors[r]):"rgb"===t&&(o=function(e,t){var n=+(t=t.substring(2).slice(0,-1)).substr(0,2),r=t.substring(5).split(";").map((function(e){return("0"+Number(e).toString(16)).substr(-2)})).join("");return u(e,(38===n?"color:#":"background-color:#")+r)}(e,r)),o}function a(e){var t=e.slice(0);return e.length=0,t.reverse().map((function(e){return"</"+e+">"})).join("")}function s(e,t){for(var n=[],r=e;r<=t;r++)n.push(r);return n}function l(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 c(e,t,n){return n||(n=""),e.push(t),"<".concat(t).concat(n?' style="'.concat(n,'"'):"",">")}function u(e,t){return c(e,"span",t)}function d(e,t){return c(e,"span","color:"+t)}function f(e,t){return c(e,"span","background-color:"+t)}function h(e,t){var n;if(e.slice(-1)[0]===t&&(n=e.pop()),n)return"</"+t+">"}var p=function(){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(e=e||{}).colors&&(e.colors=Object.assign({},r.colors,e.colors)),this.options=Object.assign({},r,e),this.stack=[],this.stickyStack=[]}return function(e,t){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)}(t,[{key:"toHtml",value:function(t){var n=this;t="string"==typeof t?[t]:t;var r=this.stack,i=this.options,s=[];return this.stickyStack.forEach((function(e){var t=o(r,e.token,e.data,i);t&&s.push(t)})),function(t,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(t,n){i=!0,0===n.trim().length&&(n="0");var o,a=e(n=n.trimRight(";").split(";"));try{for(a.s();!(o=a.n()).done;){var s=o.value;r("display",s)}}catch(t){a.e(t)}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(e,n){n>3&&i||(i=!1,t=t.replace(e.pattern,e.sub))}var c=[],u=t.length;e:for(;u>0;){for(var d=0,f=0,h=s.length;f<h;d=++f)if(l(s[d],d),t.length!==u){u=t.length;continue e}if(t.length===u)break;c.push(0),u=t.length}}(t.join(""),i,(function(e,t){var a=o(r,e,t,i);a&&s.push(a),i.stream&&(n.stickyStack=function(e,t,n){var r;return"text"!==t&&(e=e.filter((r=l(n),function(e){return(null===r||e.category!==r)&&"all"!==r}))).push({token:t,data:n,category:l(n)}),e}(n.stickyStack,e,t))})),r.length&&s.push(a(r)),s.join("")}}]),t}();return ly=p}(),hy=Xb(fy);const py=/\x1B\[[0-9;?]*[ -/]*[@-~]/g,{entries:gy,setPrototypeOf:my,isFrozen:vy,getPrototypeOf:by,getOwnPropertyDescriptor:yy}=Object;let{freeze:_y,seal:wy,create:xy}=Object,{apply:ky,construct:Cy}="undefined"!=typeof Reflect&&Reflect;_y||(_y=function(e){return e}),wy||(wy=function(e){return e}),ky||(ky=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)}),Cy||(Cy=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 Sy=Fy(Array.prototype.forEach),Ty=Fy(Array.prototype.lastIndexOf),Ay=Fy(Array.prototype.pop),My=Fy(Array.prototype.push),Ly=Fy(Array.prototype.splice),Ey=Fy(String.prototype.toLowerCase),Ny=Fy(String.prototype.toString),Oy=Fy(String.prototype.match),Ry=Fy(String.prototype.replace),Dy=Fy(String.prototype.indexOf),Py=Fy(String.prototype.trim),Iy=Fy(Object.prototype.hasOwnProperty),zy=Fy(RegExp.prototype.test),By=(jy=TypeError,function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Cy(jy,t)});var jy;function Fy(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 ky(e,t,r)}}function Hy(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Ey;my&&my(e,null);let r=t.length;for(;r--;){let i=t[r];if("string"==typeof i){const e=n(i);e!==i&&(vy(t)||(t[r]=e),i=e)}e[i]=!0}return e}function $y(e){for(let t=0;t<e.length;t++)Iy(e,t)||(e[t]=null);return e}function Uy(e){const t=xy(null);for(const[n,r]of gy(e))Iy(e,n)&&(Array.isArray(r)?t[n]=$y(r):r&&"object"==typeof r&&r.constructor===Object?t[n]=Uy(r):t[n]=r);return t}function qy(e,t){for(;null!==e;){const n=yy(e,t);if(n){if(n.get)return Fy(n.get);if("function"==typeof n.value)return Fy(n.value)}e=by(e)}return function(){return null}}const Wy=_y(["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"]),Vy=_y(["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"]),Gy=_y(["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"]),Yy=_y(["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"]),Xy=_y(["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"]),Zy=_y(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),Ky=_y(["#text"]),Jy=_y(["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"]),Qy=_y(["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"]),e_=_y(["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"]),t_=_y(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),n_=wy(/\{\{[\w\W]*|[\w\W]*\}\}/gm),r_=wy(/<%[\w\W]*|[\w\W]*%>/gm),i_=wy(/\$\{[\w\W]*/gm),o_=wy(/^data-[\-\w.\u00B7-\uFFFF]+$/),a_=wy(/^aria-[\-\w]+$/),s_=wy(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),l_=wy(/^(?:\w+script|data):/i),c_=wy(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),u_=wy(/^html$/i),d_=wy(/^[a-z][.\w]*(-[.\w]+)+$/i);var f_=Object.freeze({__proto__:null,ARIA_ATTR:a_,ATTR_WHITESPACE:c_,CUSTOM_ELEMENT:d_,DATA_ATTR:o_,DOCTYPE_NAME:u_,ERB_EXPR:r_,IS_ALLOWED_URI:s_,IS_SCRIPT_OR_DATA:l_,MUSTACHE_EXPR:n_,TMPLIT_EXPR:i_});var h_=function e(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"undefined"==typeof window?null:window;const n=t=>e(t);if(n.version="3.4.0",n.removed=[],!t||!t.document||9!==t.document.nodeType||!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=qy(g,"cloneNode"),v=qy(g,"remove"),b=qy(g,"nextSibling"),y=qy(g,"childNodes"),_=qy(g,"parentNode");if("function"==typeof s){const e=r.createElement("template");e.content&&e.content.ownerDocument&&(r=e.content.ownerDocument)}let w,x="";const{implementation:k,createNodeIterator:C,createDocumentFragment:S,getElementsByTagName:T}=r,{importNode:A}=i;let M={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]};n.isSupported="function"==typeof gy&&"function"==typeof _&&k&&void 0!==k.createHTMLDocument;const{MUSTACHE_EXPR:L,ERB_EXPR:E,TMPLIT_EXPR:N,DATA_ATTR:O,ARIA_ATTR:R,IS_SCRIPT_OR_DATA:D,ATTR_WHITESPACE:P,CUSTOM_ELEMENT:I}=f_;let{IS_ALLOWED_URI:z}=f_,B=null;const j=Hy({},[...Wy,...Vy,...Gy,...Xy,...Ky]);let F=null;const H=Hy({},[...Jy,...Qy,...e_,...t_]);let $=Object.seal(xy(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}})),U=null,q=null;const W=Object.seal(xy(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,X=!0,Z=!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=Hy({},["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=Hy({},["audio","video","img","source","image","track"]);let he=null;const pe=Hy({},["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 we=Hy({},[ge,me,ve],Ny);let xe=Hy({},["mi","mo","mn","ms","mtext"]),ke=Hy({},["annotation-xml"]);const Ce=Hy({},["title","style","font","a","script"]);let Se=null;const Te=["application/xhtml+xml","text/html"];let Ae=null,Me=null;const Le=r.createElement("form"),Ee=function(e){return e instanceof RegExp||e instanceof Function},Ne=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!Me||Me!==e){if(e&&"object"==typeof e||(e={}),e=Uy(e),Se=-1===Te.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE,Ae="application/xhtml+xml"===Se?Ny:Ey,B=Iy(e,"ALLOWED_TAGS")?Hy({},e.ALLOWED_TAGS,Ae):j,F=Iy(e,"ALLOWED_ATTR")?Hy({},e.ALLOWED_ATTR,Ae):H,_e=Iy(e,"ALLOWED_NAMESPACES")?Hy({},e.ALLOWED_NAMESPACES,Ny):we,he=Iy(e,"ADD_URI_SAFE_ATTR")?Hy(Uy(pe),e.ADD_URI_SAFE_ATTR,Ae):pe,de=Iy(e,"ADD_DATA_URI_TAGS")?Hy(Uy(fe),e.ADD_DATA_URI_TAGS,Ae):fe,ce=Iy(e,"FORBID_CONTENTS")?Hy({},e.FORBID_CONTENTS,Ae):ue,U=Iy(e,"FORBID_TAGS")?Hy({},e.FORBID_TAGS,Ae):Uy({}),q=Iy(e,"FORBID_ATTR")?Hy({},e.FORBID_ATTR,Ae):Uy({}),le=!!Iy(e,"USE_PROFILES")&&e.USE_PROFILES,V=!1!==e.ALLOW_ARIA_ATTR,G=!1!==e.ALLOW_DATA_ATTR,Y=e.ALLOW_UNKNOWN_PROTOCOLS||!1,X=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,Z=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,z=e.ALLOWED_URI_REGEXP||s_,be=e.NAMESPACE||ve,xe=e.MATHML_TEXT_INTEGRATION_POINTS||xe,ke=e.HTML_INTEGRATION_POINTS||ke,$=e.CUSTOM_ELEMENT_HANDLING||xy(null),e.CUSTOM_ELEMENT_HANDLING&&Ee(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&($.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&Ee(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&($.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&($.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Z&&(G=!1),ne&&(te=!0),le&&(B=Hy({},Ky),F=xy(null),!0===le.html&&(Hy(B,Wy),Hy(F,Jy)),!0===le.svg&&(Hy(B,Vy),Hy(F,Qy),Hy(F,t_)),!0===le.svgFilters&&(Hy(B,Gy),Hy(F,Qy),Hy(F,t_)),!0===le.mathMl&&(Hy(B,Xy),Hy(F,e_),Hy(F,t_))),W.tagCheck=null,W.attributeCheck=null,e.ADD_TAGS&&("function"==typeof e.ADD_TAGS?W.tagCheck=e.ADD_TAGS:(B===j&&(B=Uy(B)),Hy(B,e.ADD_TAGS,Ae))),e.ADD_ATTR&&("function"==typeof e.ADD_ATTR?W.attributeCheck=e.ADD_ATTR:(F===H&&(F=Uy(F)),Hy(F,e.ADD_ATTR,Ae))),e.ADD_URI_SAFE_ATTR&&Hy(he,e.ADD_URI_SAFE_ATTR,Ae),e.FORBID_CONTENTS&&(ce===ue&&(ce=Uy(ce)),Hy(ce,e.FORBID_CONTENTS,Ae)),e.ADD_FORBID_CONTENTS&&(ce===ue&&(ce=Uy(ce)),Hy(ce,e.ADD_FORBID_CONTENTS,Ae)),ae&&(B["#text"]=!0),J&&Hy(B,["html","head","body"]),B.table&&(Hy(B,["tbody"]),delete U.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw By('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw By('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');w=e.TRUSTED_TYPES_POLICY,x=w.createHTML("")}else void 0===w&&(w=function(e,t){if("object"!=typeof e||"function"!=typeof e.createPolicy)return null;let n=null;const r="data-tt-policy-suffix";t&&t.hasAttribute(r)&&(n=t.getAttribute(r));const i="dompurify"+(n?"#"+n:"");try{return e.createPolicy(i,{createHTML:e=>e,createScriptURL:e=>e})}catch(e){return console.warn("TrustedTypes policy "+i+" could not be created."),null}}(p,o)),null!==w&&"string"==typeof x&&(x=w.createHTML(""));_y&&_y(e),Me=e}},Oe=Hy({},[...Vy,...Gy,...Yy]),Re=Hy({},[...Xy,...Zy]),De=function(e){My(n.removed,{element:e});try{_(e).removeChild(e)}catch(t){v(e)}},Pe=function(e,t){try{My(n.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){My(n.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e)if(te||ne)try{De(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},Ie=function(e){let t=null,n=null;if(ee)e="<remove></remove>"+e;else{const t=Oy(e,/^[\r\n\t ]+/);n=t&&t[0]}"application/xhtml+xml"===Se&&be===ve&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");const i=w?w.createHTML(e):e;if(be===ve)try{t=(new h).parseFromString(i,Se)}catch(e){}if(!t||!t.documentElement){t=k.createDocument(be,"template",null);try{t.documentElement.innerHTML=ye?x:i}catch(e){}}const o=t.body||t.documentElement;return e&&n&&o.insertBefore(r.createTextNode(n),o.childNodes[0]||null),be===ve?T.call(t,J?"html":"body")[0]:J?t.documentElement:o},ze=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)},Be=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)},je=function(e){return"function"==typeof l&&e instanceof l};function Fe(e,t,r){Sy(e,(e=>{e.call(n,t,r,Me)}))}const He=function(e){let t=null;if(Fe(M.beforeSanitizeElements,e,null),Be(e))return De(e),!0;const r=Ae(e.nodeName);if(Fe(M.uponSanitizeElement,e,{tagName:r,allowedTags:B}),K&&e.hasChildNodes()&&!je(e.firstElementChild)&&zy(/<[/\w!]/g,e.innerHTML)&&zy(/<[/\w!]/g,e.textContent))return De(e),!0;if(K&&e.namespaceURI===ve&&"style"===r&&je(e.firstElementChild))return De(e),!0;if(7===e.nodeType)return De(e),!0;if(K&&8===e.nodeType&&zy(/<[/\w]/g,e.data))return De(e),!0;if(U[r]||!(W.tagCheck instanceof Function&&W.tagCheck(r))&&!B[r]){if(!U[r]&&Ue(r)){if($.tagNameCheck instanceof RegExp&&zy($.tagNameCheck,r))return!1;if($.tagNameCheck instanceof Function&&$.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 De(e),!0}return e instanceof c&&!function(e){let t=_(e);t&&t.tagName||(t={namespaceURI:be,tagName:"template"});const n=Ey(e.tagName),r=Ey(t.tagName);return!!_e[e.namespaceURI]&&(e.namespaceURI===me?t.namespaceURI===ve?"svg"===n:t.namespaceURI===ge?"svg"===n&&("annotation-xml"===r||xe[r]):Boolean(Oe[n]):e.namespaceURI===ge?t.namespaceURI===ve?"math"===n:t.namespaceURI===me?"math"===n&&ke[r]:Boolean(Re[n]):e.namespaceURI===ve?!(t.namespaceURI===me&&!ke[r])&&!(t.namespaceURI===ge&&!xe[r])&&!Re[n]&&(Ce[n]||!Oe[n]):!("application/xhtml+xml"!==Se||!_e[e.namespaceURI]))}(e)?(De(e),!0):"noscript"!==r&&"noembed"!==r&&"noframes"!==r||!zy(/<\/no(script|embed|frames)/i,e.innerHTML)?(Z&&3===e.nodeType&&(t=e.textContent,Sy([L,E,N],(e=>{t=Ry(t,e," ")})),e.textContent!==t&&(My(n.removed,{element:e.cloneNode()}),e.textContent=t)),Fe(M.afterSanitizeElements,e,null),!1):(De(e),!0)},$e=function(e,t,n){if(q[t])return!1;if(ie&&("id"===t||"name"===t)&&(n in r||n in Le))return!1;if(G&&!q[t]&&zy(O,t));else if(V&&zy(R,t));else if(W.attributeCheck instanceof Function&&W.attributeCheck(t,e));else if(!F[t]||q[t]){if(!(Ue(e)&&($.tagNameCheck instanceof RegExp&&zy($.tagNameCheck,e)||$.tagNameCheck instanceof Function&&$.tagNameCheck(e))&&($.attributeNameCheck instanceof RegExp&&zy($.attributeNameCheck,t)||$.attributeNameCheck instanceof Function&&$.attributeNameCheck(t,e))||"is"===t&&$.allowCustomizedBuiltInElements&&($.tagNameCheck instanceof RegExp&&zy($.tagNameCheck,n)||$.tagNameCheck instanceof Function&&$.tagNameCheck(n))))return!1}else if(he[t]);else if(zy(z,Ry(n,P,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==Dy(n,"data:")||!de[e])if(Y&&!zy(D,Ry(n,P,"")));else if(n)return!1;return!0},Ue=function(e){return"annotation-xml"!==e&&Oy(e,I)},qe=function(e){Fe(M.beforeSanitizeAttributes,e,null);const{attributes:t}=e;if(!t||Be(e))return;const r={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:F,forceKeepAttr:void 0};let i=t.length;for(;i--;){const o=t[i],{name:a,namespaceURI:s,value:l}=o,c=Ae(a),u=l;let d="value"===a?u:Py(u);if(r.attrName=c,r.attrValue=d,r.keepAttr=!0,r.forceKeepAttr=void 0,Fe(M.uponSanitizeAttribute,e,r),d=r.attrValue,!oe||"id"!==c&&"name"!==c||(Pe(a,e),d="user-content-"+d),K&&zy(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,d)){Pe(a,e);continue}if("attributename"===c&&Oy(d,"href")){Pe(a,e);continue}if(r.forceKeepAttr)continue;if(!r.keepAttr){Pe(a,e);continue}if(!X&&zy(/\/>/i,d)){Pe(a,e);continue}Z&&Sy([L,E,N],(e=>{d=Ry(d,e," ")}));const f=Ae(e.nodeName);if($e(f,c,d)){if(w&&"object"==typeof p&&"function"==typeof p.getAttributeType)if(s);else switch(p.getAttributeType(f,c)){case"TrustedHTML":d=w.createHTML(d);break;case"TrustedScriptURL":d=w.createScriptURL(d)}if(d!==u)try{s?e.setAttributeNS(s,a,d):e.setAttribute(a,d),Be(e)?De(e):Ay(n.removed)}catch(t){Pe(a,e)}}else Pe(a,e)}Fe(M.afterSanitizeAttributes,e,null)},We=function(e){let t=null;const n=ze(e);for(Fe(M.beforeSanitizeShadowDOM,e,null);t=n.nextNode();)Fe(M.uponSanitizeShadowNode,t,null),He(t),qe(t),t.content instanceof a&&We(t.content);Fe(M.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&&!je(e)){if("function"!=typeof e.toString)throw By("toString is not a function");if("string"!=typeof(e=e.toString()))throw By("dirty is not a string, aborting")}if(!n.isSupported)return e;if(Q||Ne(t),n.removed=[],"string"==typeof e&&(se=!1),se){if(e.nodeName){const t=Ae(e.nodeName);if(!B[t]||U[t])throw By("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof l)r=Ie("\x3c!----\x3e"),o=r.ownerDocument.importNode(e,!0),1===o.nodeType&&"BODY"===o.nodeName||"HTML"===o.nodeName?r=o:r.appendChild(o);else{if(!te&&!Z&&!J&&-1===e.indexOf("<"))return w&&re?w.createHTML(e):e;if(r=Ie(e),!r)return te?null:re?x:""}r&&ee&&De(r.firstChild);const u=ze(se?e:r);for(;s=u.nextNode();)He(s),qe(s),s.content instanceof a&&We(s.content);if(se)return e;if(te){if(Z){r.normalize();let e=r.innerHTML;Sy([L,E,N],(t=>{e=Ry(e,t," ")})),r.innerHTML=e}if(ne)for(c=S.call(r.ownerDocument);r.firstChild;)c.appendChild(r.firstChild);else c=r;return(F.shadowroot||F.shadowrootmode)&&(c=A.call(i,c,!0)),c}let d=J?r.outerHTML:r.innerHTML;return J&&B["!doctype"]&&r.ownerDocument&&r.ownerDocument.doctype&&r.ownerDocument.doctype.name&&zy(u_,r.ownerDocument.doctype.name)&&(d="<!DOCTYPE "+r.ownerDocument.doctype.name+">\n"+d),Z&&Sy([L,E,N],(e=>{d=Ry(d,e," ")})),w&&re?w.createHTML(d):d},n.setConfig=function(){Ne(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),Q=!0},n.clearConfig=function(){Me=null,Q=!1},n.isValidAttribute=function(e,t,n){Me||Ne({});const r=Ae(e),i=Ae(t);return $e(r,i,n)},n.addHook=function(e,t){"function"==typeof t&&My(M[e],t)},n.removeHook=function(e,t){if(void 0!==t){const n=Ty(M[e],t);return-1===n?void 0:Ly(M[e],n,1)[0]}return Ay(M[e])},n.removeHooks=function(e){M[e]=[]},n.removeAllHooks=function(){M={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},n}();const p_=Symbol.for("preact-signals");function g_(){if(y_>1)return void y_--;let e,t=!1;for(;void 0!==v_;){let n=v_;for(v_=void 0,__++;void 0!==n;){const r=n.o;if(n.o=void 0,n.f&=-3,!(8&n.f)&&S_(n))try{n.c()}catch(n){t||(e=n,t=!0)}n=r}}if(__=0,y_--,t)throw e}let m_,v_;function b_(e){const t=m_;m_=void 0;try{return e()}finally{m_=t}}let y_=0,__=0,w_=0;function x_(e){if(void 0===m_)return;let t=e.n;return void 0===t||t.t!==m_?(t={i:0,S:e,p:m_.s,n:void 0,t:m_,e:void 0,x:void 0,r:t},void 0!==m_.s&&(m_.s.n=t),m_.s=t,e.n=t,32&m_.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=m_.s,t.n=void 0,m_.s.n=t,m_.s=t),t):void 0}function k_(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 C_(e,t){return new k_(e,t)}function S_(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 T_(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 A_(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 M_(e,t){k_.call(this,void 0),this.x=e,this.s=void 0,this.g=w_-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 L_(e,t){return new M_(e,t)}function E_(e){const t=e.u;if(e.u=void 0,"function"==typeof t){y_++;const n=m_;m_=void 0;try{t()}catch(t){throw e.f&=-2,e.f|=8,N_(e),t}finally{m_=n,g_()}}}function N_(e){for(let t=e.s;void 0!==t;t=t.n)t.S.U(t);e.x=void 0,e.s=void 0,E_(e)}function O_(e){if(m_!==this)throw new Error("Out-of-order effect");A_(this),m_=e,this.f&=-2,8&this.f&&N_(this),g_()}function R_(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 D_(e,t){const n=new R_(e,t);try{n.c()}catch(e){throw n.d(),e}const r=n.d.bind(n);return r[Symbol.dispose]=r,r}k_.prototype.brand=p_,k_.prototype.h=function(){return!0},k_.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:b_((()=>{var e;null==(e=this.W)||e.call(this)})))},k_.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&&b_((()=>{var e;null==(e=this.Z)||e.call(this)})))}},k_.prototype.subscribe=function(e){return D_((()=>{const t=this.value,n=m_;m_=void 0;try{e(t)}finally{m_=n}}),{name:"sub"})},k_.prototype.valueOf=function(){return this.value},k_.prototype.toString=function(){return this.value+""},k_.prototype.toJSON=function(){return this.value},k_.prototype.peek=function(){const e=m_;m_=void 0;try{return this.value}finally{m_=e}},Object.defineProperty(k_.prototype,"value",{get(){const e=x_(this);return void 0!==e&&(e.i=this.i),this.v},set(e){if(e!==this.v){if(__>100)throw new Error("Cycle detected");this.v=e,this.i++,w_++,y_++;try{for(let e=this.t;void 0!==e;e=e.x)e.t.N()}finally{g_()}}}}),M_.prototype=new k_,M_.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===w_)return!0;if(this.g=w_,this.f|=1,this.i>0&&!S_(this))return this.f&=-2,!0;const e=m_;try{T_(this),m_=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 m_=e,A_(this),this.f&=-2,!0},M_.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)}k_.prototype.S.call(this,e)},M_.prototype.U=function(e){if(void 0!==this.t&&(k_.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)}},M_.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(M_.prototype,"value",{get(){if(1&this.f)throw new Error("Cycle detected");const e=x_(this);if(this.h(),void 0!==e&&(e.i=this.i),16&this.f)throw this.v;return this.v}}),R_.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()}},R_.prototype.S=function(){if(1&this.f)throw new Error("Cycle detected");this.f|=1,this.f&=-9,E_(this),T_(this),y_++;const e=m_;return m_=this,O_.bind(this,e)},R_.prototype.N=function(){2&this.f||(this.f|=2,this.o=v_,v_=this)},R_.prototype.d=function(){this.f|=8,1&this.f||N_(this)},R_.prototype.dispose=function(){this.d()};const P_=()=>"undefined"==typeof window?"":window.location.href,I_=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},z_=C_(P_());(e=>{"undefined"!=typeof window&&(window.addEventListener("popstate",e),window.addEventListener("replaceState",e),window.addEventListener("pushState",e),window.addEventListener("hashchange",e))})((()=>{z_.peek()!==P_()&&(z_.value=P_())}));const B_=L_((()=>new URL(z_.value))),j_=L_((()=>B_.value.searchParams)),F_=L_((()=>({hash:B_.value.hash,pathname:B_.value.pathname,origin:B_.value.origin,params:I_(j_.value)})));var H_;L_((()=>{const e=F_.value.hash.startsWith("#")?F_.value.hash.slice(1):F_.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"}(H_||(H_={}));const $_="auto",U_="light",q_="dark",W_="theme",V_=[U_,q_,$_],G_={matches:!1,addEventListener:()=>{},removeEventListener:()=>{},media:"",onchange:()=>{},addListener:()=>{},removeListener:()=>{},dispatchEvent:()=>!0},Y_=()=>"undefined"==typeof window||"function"!=typeof window.matchMedia?G_:window.matchMedia("(prefers-color-scheme: dark)"),X_=xf()?.theme,Z_=L_((()=>K_.value===$_?J_.value:K_.value)),K_=C_($_),J_=C_("undefined"==typeof window?U_:Y_().matches?q_:U_);(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:K_,key:W_,onRestore:e=>(e=>V_.includes(e))(e)?e:X_??$_}),(e=>{if("undefined"==typeof window)return;const{signal:t,key:n,shouldPersist:r=()=>!0}=e;D_((()=>{const e=t.value;if(r(e))try{window.localStorage.setItem(n,"string"==typeof e?e:JSON.stringify(e))}catch{}}))})({signal:K_,key:W_}),L_((()=>({current:Z_.value,selected:K_.value}))),"undefined"!=typeof window&&(D_((()=>{document.documentElement.setAttribute("data-theme",Z_.value)})),Y_().addEventListener("change",(e=>{e.matches?J_.value=q_:J_.value=U_}))),C_(1);const Q_={s:"s",m:"m",xs:"xs"},ew=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 qc("div",{"data-size":s,"data-full-height":a||void 0,"data-border":u||void 0,className:Ls("styles_container__9IMGc",l),children:[!!i&&qc(Vc,{id:i,className:Ls("styles_emptyIcon__QSADI",c),"data-size":Q_[s],"data-color":o}),qc("div",{className:"styles_textContainer__AznFB",children:[r&&qc(Yc,{tag:"b",size:"s"===s?"m":"l",bold:!0,className:"styles_title__wOjPO",children:r}),!!n&&qc(Yc,{tag:"p",size:"m",className:"styles_description__Idyva",children:n})]}),t]})};var tw,nw,rw,iw,ow,aw,sw,lw,cw,uw={exports:{}},dw=(tw||(tw=1,function(e){var t=function(e){var t=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,n=0,r={},i={manual:e.Prism&&e.Prism.manual,disableWorkerMessageHandler:e.Prism&&e.Prism.disableWorkerMessageHandler,util:{encode:function e(t){return t instanceof o?new o(t.type,e(t.content),t.alias):Array.isArray(t)?t.map(e):t.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/\u00a0/g," ")},type:function(e){return Object.prototype.toString.call(e).slice(8,-1)},objId:function(e){return e.__id||Object.defineProperty(e,"__id",{value:++n}),e.__id},clone:function e(t,n){var r,o;switch(n=n||{},i.util.type(t)){case"Object":if(o=i.util.objId(t),n[o])return n[o];for(var a in r={},n[o]=r,t)t.hasOwnProperty(a)&&(r[a]=e(t[a],n));return r;case"Array":return o=i.util.objId(t),n[o]?n[o]:(r=[],n[o]=r,t.forEach((function(t,i){r[i]=e(t,n)})),r);default:return t}},getLanguage:function(e){for(;e;){var n=t.exec(e.className);if(n)return n[1].toLowerCase();e=e.parentElement}return"none"},setLanguage:function(e,n){e.className=e.className.replace(RegExp(t,"gi"),""),e.classList.add("language-"+n)},currentScript:function(){if("undefined"==typeof document)return null;if(document.currentScript&&"SCRIPT"===document.currentScript.tagName)return document.currentScript;try{throw new Error}catch(r){var e=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(r.stack)||[])[1];if(e){var t=document.getElementsByTagName("script");for(var n in t)if(t[n].src==e)return t[n]}return null}},isActive:function(e,t,n){for(var r="no-"+t;e;){var i=e.classList;if(i.contains(t))return!0;if(i.contains(r))return!1;e=e.parentElement}return!!n}},languages:{plain:r,plaintext:r,text:r,txt:r,extend:function(e,t){var n=i.util.clone(i.languages[e]);for(var r in t)n[r]=t[r];return n},insertBefore:function(e,t,n,r){var o=(r=r||i.languages)[e],a={};for(var s in o)if(o.hasOwnProperty(s)){if(s==t)for(var l in n)n.hasOwnProperty(l)&&(a[l]=n[l]);n.hasOwnProperty(s)||(a[s]=o[s])}var c=r[e];return r[e]=a,i.languages.DFS(i.languages,(function(t,n){n===c&&t!=e&&(this[t]=a)})),a},DFS:function e(t,n,r,o){o=o||{};var a=i.util.objId;for(var s in t)if(t.hasOwnProperty(s)){n.call(t,s,t[s],r||s);var l=t[s],c=i.util.type(l);"Object"!==c||o[a(l)]?"Array"!==c||o[a(l)]||(o[a(l)]=!0,e(l,n,s,o)):(o[a(l)]=!0,e(l,n,null,o))}}},plugins:{},highlightAll:function(e,t){i.highlightAllUnder(document,e,t)},highlightAllUnder:function(e,t,n){var r={callback:n,container:e,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};i.hooks.run("before-highlightall",r),r.elements=Array.prototype.slice.apply(r.container.querySelectorAll(r.selector)),i.hooks.run("before-all-elements-highlight",r);for(var o,a=0;o=r.elements[a++];)i.highlightElement(o,!0===t,r.callback)},highlightElement:function(t,n,r){var o=i.util.getLanguage(t),a=i.languages[o];i.util.setLanguage(t,o);var s=t.parentElement;s&&"pre"===s.nodeName.toLowerCase()&&i.util.setLanguage(s,o);var l={element:t,language:o,grammar:a,code:t.textContent};function c(e){l.highlightedCode=e,i.hooks.run("before-insert",l),l.element.innerHTML=l.highlightedCode,i.hooks.run("after-highlight",l),i.hooks.run("complete",l),r&&r.call(l.element)}if(i.hooks.run("before-sanity-check",l),(s=l.element.parentElement)&&"pre"===s.nodeName.toLowerCase()&&!s.hasAttribute("tabindex")&&s.setAttribute("tabindex","0"),!l.code)return i.hooks.run("complete",l),void(r&&r.call(l.element));if(i.hooks.run("before-highlight",l),l.grammar)if(n&&e.Worker){var u=new Worker(i.filename);u.onmessage=function(e){c(e.data)},u.postMessage(JSON.stringify({language:l.language,code:l.code,immediateClose:!0}))}else c(i.highlight(l.code,l.grammar,l.language));else c(i.util.encode(l.code))},highlight:function(e,t,n){var r={code:e,grammar:t,language:n};if(i.hooks.run("before-tokenize",r),!r.grammar)throw new Error('The language "'+r.language+'" has no grammar.');return r.tokens=i.tokenize(r.code,r.grammar),i.hooks.run("after-tokenize",r),o.stringify(i.util.encode(r.tokens),r.language)},tokenize:function(e,t){var n=t.rest;if(n){for(var r in n)t[r]=n[r];delete t.rest}var i=new l;return c(i,i.head,e),s(e,i,t,i.head,0),function(e){for(var t=[],n=e.head.next;n!==e.tail;)t.push(n.value),n=n.next;return t}(i)},hooks:{all:{},add:function(e,t){var n=i.hooks.all;n[e]=n[e]||[],n[e].push(t)},run:function(e,t){var n=i.hooks.all[e];if(n&&n.length)for(var r,o=0;r=n[o++];)r(t)}},Token:o};function o(e,t,n,r){this.type=e,this.content=t,this.alias=n,this.length=0|(r||"").length}function a(e,t,n,r){e.lastIndex=t;var i=e.exec(n);if(i&&r&&i[1]){var o=i[1].length;i.index+=o,i[0]=i[0].slice(o)}return i}function s(e,t,n,r,l,d){for(var f in n)if(n.hasOwnProperty(f)&&n[f]){var h=n[f];h=Array.isArray(h)?h:[h];for(var p=0;p<h.length;++p){if(d&&d.cause==f+","+p)return;var g=h[p],m=g.inside,v=!!g.lookbehind,b=!!g.greedy,y=g.alias;if(b&&!g.pattern.global){var _=g.pattern.toString().match(/[imsuy]*$/)[0];g.pattern=RegExp(g.pattern.source,_+"g")}for(var w=g.pattern||g,x=r.next,k=l;x!==t.tail&&!(d&&k>=d.reach);k+=x.value.length,x=x.next){var C=x.value;if(t.length>e.length)return;if(!(C instanceof o)){var S,T=1;if(b){if(!(S=a(w,k,e,v))||S.index>=e.length)break;var A=S.index,M=S.index+S[0].length,L=k;for(L+=x.value.length;A>=L;)L+=(x=x.next).value.length;if(k=L-=x.value.length,x.value instanceof o)continue;for(var E=x;E!==t.tail&&(L<M||"string"==typeof E.value);E=E.next)T++,L+=E.value.length;T--,C=e.slice(k,L),S.index-=k}else if(!(S=a(w,0,C,v)))continue;A=S.index;var N=S[0],O=C.slice(0,A),R=C.slice(A+N.length),D=k+C.length;d&&D>d.reach&&(d.reach=D);var P=x.prev;if(O&&(P=c(t,P,O),k+=O.length),u(t,P,T),x=c(t,P,new o(f,m?i.tokenize(N,m):N,y,N)),R&&c(t,x,R),T>1){var I={cause:f+","+p,reach:D};s(e,t,n,x.prev,k,I),d&&I.reach>d.reach&&(d.reach=I.reach)}}}}}}function l(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0}function c(e,t,n){var r=t.next,i={value:n,prev:t,next:r};return t.next=i,r.prev=i,e.length++,i}function u(e,t,n){for(var r=t.next,i=0;i<n&&r!==e.tail;i++)r=r.next;t.next=r,r.prev=t,e.length-=i}if(e.Prism=i,o.stringify=function e(t,n){if("string"==typeof t)return t;if(Array.isArray(t)){var r="";return t.forEach((function(t){r+=e(t,n)})),r}var o={type:t.type,content:e(t.content,n),tag:"span",classes:["token",t.type],attributes:{},language:n},a=t.alias;a&&(Array.isArray(a)?Array.prototype.push.apply(o.classes,a):o.classes.push(a)),i.hooks.run("wrap",o);var s="";for(var l in o.attributes)s+=" "+l+'="'+(o.attributes[l]||"").replace(/"/g,"&quot;")+'"';return"<"+o.tag+' class="'+o.classes.join(" ")+'"'+s+">"+o.content+"</"+o.tag+">"},!e.document)return e.addEventListener?(i.disableWorkerMessageHandler||e.addEventListener("message",(function(t){var n=JSON.parse(t.data),r=n.language,o=n.code,a=n.immediateClose;e.postMessage(i.highlight(o,i.languages[r],r)),a&&e.close()}),!1),i):i;var d=i.util.currentScript();function f(){i.manual||i.highlightAll()}if(d&&(i.filename=d.src,d.hasAttribute("data-manual")&&(i.manual=!0)),!i.manual){var h=document.readyState;"loading"===h||"interactive"===h&&d&&d.defer?document.addEventListener("DOMContentLoaded",f):window.requestAnimationFrame?window.requestAnimationFrame(f):window.setTimeout(f,16)}return i}("undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{});e.exports&&(e.exports=t),void 0!==Yb&&(Yb.Prism=t)}(uw)),uw.exports),fw=Xb(dw);Prism.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:/[{}[\];(),.:]/},Prism.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]},Prism.languages.markup.tag.inside["attr-value"].inside.entity=Prism.languages.markup.entity,Prism.languages.markup.doctype.inside["internal-subset"].inside=Prism.languages.markup,Prism.hooks.add("wrap",(function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&amp;/,"&"))})),Object.defineProperty(Prism.languages.markup.tag,"addInlined",{value:function(e,t){var n={};n["language-"+t]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:Prism.languages[t]},n.cdata=/^<!\[CDATA\[|\]\]>$/i;var r={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:n}};r["language-"+t]={pattern:/[\s\S]+/,inside:Prism.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},Prism.languages.insertBefore("markup","cdata",i)}}),Object.defineProperty(Prism.languages.markup.tag,"addAttribute",{value:function(e,t){Prism.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:Prism.languages[t]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),Prism.languages.html=Prism.languages.markup,Prism.languages.mathml=Prism.languages.markup,Prism.languages.svg=Prism.languages.markup,Prism.languages.xml=Prism.languages.extend("markup",{}),Prism.languages.ssml=Prism.languages.xml,Prism.languages.atom=Prism.languages.xml,Prism.languages.rss=Prism.languages.xml,Prism.languages.javascript=Prism.languages.extend("clike",{"class-name":[Prism.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}|\?\?=?|\?\.?|[~:]/}),Prism.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,Prism.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:Prism.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:Prism.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:Prism.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:Prism.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),Prism.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:Prism.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"}}),Prism.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),Prism.languages.markup&&(Prism.languages.markup.tag.addInlined("script","javascript"),Prism.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")),Prism.languages.js=Prism.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"))}(Prism),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;return"#"===(t=t.toLowerCase())[0]?(n="x"===t[1]?parseInt(t.slice(2),16):Number(t.slice(1)),l(n)):s[t]||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}(Prism),nw||(nw=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}(Prism)),Prism.languages.csv={value:/[^\r\n,"]+|"(?:[^"]|"")*"(?!")/,punctuation:/,/},Prism.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"}},Prism.languages.webmanifest=Prism.languages.json,rw||(rw=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:/\./}}})}(Prism)),iw||(iw=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]),w=t(/\(<<0>>+(?:,<<0>>+)+\)/.source,[_]),x=t(/(?:<<0>>|<<1>>)(?:\s*(?:\?\s*)?<<2>>)*(?:\s*\?)?/.source,[w,v,b]),k={keyword:u,punctuation:/[<>()?,.:[\]]/},C=/'(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'/.source,S=/"(?:\\.|[^\\"\r\n])*"/.source,T=/@"(?:""|\\[\s\S]|[^\\"])*"(?!")/.source;e.languages.csharp=e.languages.extend("clike",{string:[{pattern:n(/(^|[^$\\])<<0>>/.source,[T]),lookbehind:!0,greedy:!0},{pattern:n(/(^|[^@$\\])<<0>>/.source,[S]),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,x]),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,[x,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,[x,v]),inside:k,alias:"class-name"},"constructor-invocation":{pattern:n(/(\bnew\s+)<<0>>(?=\s*[[({])/.source,[x]),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,x,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(x),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 A=S+"|"+C,M=t(/\/(?![*/])|\/\/[^\r\n]*[\r\n]|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>/.source,[A]),L=r(t(/[^"'/()]|<<0>>|\(<<self>>*\)/.source,[M]),2),E=/\b(?:assembly|event|field|method|module|param|property|return|type)\b/.source,N=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,[E,N]),lookbehind:!0,greedy:!0,inside:{target:{pattern:n(/^<<0>>(?=\s*:)/.source,[E]),alias:"keyword"},"attribute-arguments":{pattern:n(/\(<<0>>*\)/.source,[L]),inside:e.languages.csharp},"class-name":{pattern:RegExp(v),inside:{punctuation:/\./}},punctuation:/[:,]/}}});var O=/:[^}\r\n]+/.source,R=r(t(/[^"'/()]|<<0>>|\(<<self>>*\)/.source,[M]),2),D=t(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[R,O]),P=r(t(/[^"'/()]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>|\(<<self>>*\)/.source,[A]),2),I=t(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[P,O]);function z(t,r){return{interpolation:{pattern:n(/((?:^|[^{])(?:\{\{)*)<<0>>/.source,[t]),lookbehind:!0,inside:{"format-string":{pattern:n(/(^\{(?:(?![}:])<<0>>)*)<<1>>(?=\}$)/.source,[r,O]),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,[D]),lookbehind:!0,greedy:!0,inside:z(D,R)},{pattern:n(/(^|[^@\\])\$"(?:\\.|\{\{|<<0>>|[^\\"{])*"/.source,[I]),lookbehind:!0,greedy:!0,inside:z(I,P)}],char:{pattern:RegExp(C),greedy:!0}}),e.languages.dotnet=e.languages.cs=e.languages.csharp}(Prism)),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}(Prism),ow||(ow=1,Prism.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:/[{}[\];(),.:]/},Prism.languages.python["string-interpolation"].inside.interpolation.inside.rest=Prism.languages.python,Prism.languages.py=Prism.languages.python),aw||(aw=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}(Prism)),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"}}}(Prism),Prism.languages.go=Prism.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/}),Prism.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete Prism.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)}}}})}(Prism),sw||(sw=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")}))}(Prism)),lw||(lw=1,function(){if("undefined"!=typeof Prism&&"undefined"!=typeof document){var e="line-numbers",t=/\n(?!$)/g,n=Prism.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))))})),Prism.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")&&Prism.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]),Prism.hooks.run("line-numbers",n)}}})),Prism.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("undefined"!=typeof Prism&&"undefined"!=typeof document){var e=[],t={},n=function(){};Prism.plugins.toolbar={};var r=Prism.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=Prism.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}})),Prism.hooks.add("complete",i)}}(),cw||(cw=1,function(){if("undefined"!=typeof Prism&&"undefined"!=typeof document)if(Prism.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"};Prism.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.")}());const hw={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"},pw={"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"},gw=e=>e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;"),mw=e=>{if(!e)return;const t=/\.([a-z0-9]+)$/i.exec(e);if(!t)return;const n=t[1].toLowerCase();return hw[n]??n},vw=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=(mw(n?.link?.name)??mw(n?.link?.originalFileName))||i&&(hw[i]??i)||o&&pw[o]||"plaintext",s=t.text??"";if((e=>"string"==typeof e&&new RegExp(py).test(e))(s)&&s.length>0&&r){return qc("pre",{"data-testid":"code-attachment-content",className:r?`language-${a} line-numbers`:"attachment-code-plain",dangerouslySetInnerHTML:{__html:(e=>new hy({escapeXML:!0,fg:"var(--on-text-primary)",bg:"none",colors:{0:"none",1:"none",2:"var(--on-support-sirius)",3:"var(--on-support-atlas)",4:"var(--bg-support-skat)",5:"var(--on-support-betelgeuse)"}}).toHtml(e))(s)}},n?.link?.id)}if(!r)return qc("pre",{"data-testid":"code-attachment-content",className:"attachment-code-plain",children:qc("code",{children:s})},n?.link?.id);const l=((e,t)=>{const n=fw.languages[t];if(!n)return gw(e);try{return fw.highlight(e,n,t)}catch{return gw(e)}})(s,a);return qc("pre",{"data-testid":"code-attachment-content",className:`language-${a} line-numbers`,children:qc("code",{className:`language-${a}`,dangerouslySetInnerHTML:{__html:l}})},n?.link?.id)};const bw=e=>{const{attachment:t,item:n}=e,[r,i]=la(!0);return ua((()=>{if(t&&"img"in t&&t.img){const e=new Image;e.onload=()=>i(!0),e.onerror=()=>i(!1),e.src=t.img}}),[t]),qc("div",t&&"img"in t&&r?{"data-testid":"image-attachment-content",className:"styles_test-result-attachment-image__sJpWk",children:qc("img",{src:t.img,alt:n.link.originalFileName})}:{className:"styles_test-result-attachment-error__od2Zn",children:"something went wrong"})};const yw=Go(null),_w=e=>{const{children:t,initialTab:n}=e,r=Da(n),i=pa((e=>{r.value=e}),[r]);return qc(yw.Provider,{value:{currentTab:r,setCurrentTab:i},children:t})},ww=e=>qc(_w,{...e}),xw=e=>qc("div",{className:"styles_list__pI3IS",children:e.children}),kw=e=>{const{currentTab:t,setCurrentTab:n}=(()=>{const e=ga(yw);if(!e)throw new Error("NavTabs components must be used within a NavTabs component");return e})(),r=Pa((()=>t.value===e.tabId)),{tabId:i,children:o,onClick:a,testId:s,isCurrentTab:l=r.value}=e;return qc("button",{className:"styles_tab__nrjgs",onClick:()=>{if(!l)return a?a():void n(i)},"data-testid":s||`tab-${i}`,"aria-current":l||void 0,children:qc(Yc,{type:"paragraph",size:"m",bold:l,children:o})})};var Cw,Sw={exports:{}},Tw=Sw.exports,Aw=(Cw||(Cw=1,function(e,t){(function(){var n,r="Expected a function",i="__lodash_hash_undefined__",o="__lodash_placeholder__",a=32,s=128,l=1/0,c=9007199254740991,u=NaN,d=4294967295,f=[["ary",s],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",a],["partialRight",64],["rearg",256]],h="[object Arguments]",p="[object Array]",g="[object Boolean]",m="[object Date]",v="[object Error]",b="[object Function]",y="[object GeneratorFunction]",_="[object Map]",w="[object Number]",x="[object Object]",k="[object Promise]",C="[object RegExp]",S="[object Set]",T="[object String]",A="[object Symbol]",M="[object WeakMap]",L="[object ArrayBuffer]",E="[object DataView]",N="[object Float32Array]",O="[object Float64Array]",R="[object Int8Array]",D="[object Int16Array]",P="[object Int32Array]",I="[object Uint8Array]",z="[object Uint8ClampedArray]",B="[object Uint16Array]",j="[object Uint32Array]",F=/\b__p \+= '';/g,H=/\b(__p \+=) '' \+/g,$=/(__e\(.*?\)|\b__t\)) \+\n'';/g,U=/&(?:amp|lt|gt|quot|#39);/g,q=/[&<>"']/g,W=RegExp(U.source),V=RegExp(q.source),G=/<%-([\s\S]+?)%>/g,Y=/<%([\s\S]+?)%>/g,X=/<%=([\s\S]+?)%>/g,Z=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,K=/^\w*$/,J=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Q=/[\\^$.*+?()[\]{}|]/g,ee=RegExp(Q.source),te=/^\s+/,ne=/\s/,re=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ie=/\{\n\/\* \[wrapped with (.+)\] \*/,oe=/,? & /,ae=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,se=/[()=,{}\[\]\/\s]/,le=/\\(\\)?/g,ce=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,ue=/\w*$/,de=/^[-+]0x[0-9a-f]+$/i,fe=/^0b[01]+$/i,he=/^\[object .+?Constructor\]$/,pe=/^0o[0-7]+$/i,ge=/^(?:0|[1-9]\d*)$/,me=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,ve=/($^)/,be=/['\n\r\u2028\u2029\\]/g,ye="\\ud800-\\udfff",_e="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",we="\\u2700-\\u27bf",xe="a-z\\xdf-\\xf6\\xf8-\\xff",ke="A-Z\\xc0-\\xd6\\xd8-\\xde",Ce="\\ufe0e\\ufe0f",Se="\\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",Te="["+ye+"]",Ae="["+Se+"]",Me="["+_e+"]",Le="\\d+",Ee="["+we+"]",Ne="["+xe+"]",Oe="[^"+ye+Se+Le+we+xe+ke+"]",Re="\\ud83c[\\udffb-\\udfff]",De="[^"+ye+"]",Pe="(?:\\ud83c[\\udde6-\\uddff]){2}",Ie="[\\ud800-\\udbff][\\udc00-\\udfff]",ze="["+ke+"]",Be="\\u200d",je="(?:"+Ne+"|"+Oe+")",Fe="(?:"+ze+"|"+Oe+")",He="(?:['’](?:d|ll|m|re|s|t|ve))?",$e="(?:['’](?:D|LL|M|RE|S|T|VE))?",Ue="(?:"+Me+"|"+Re+")?",qe="["+Ce+"]?",We=qe+Ue+"(?:"+Be+"(?:"+[De,Pe,Ie].join("|")+")"+qe+Ue+")*",Ve="(?:"+[Ee,Pe,Ie].join("|")+")"+We,Ge="(?:"+[De+Me+"?",Me,Pe,Ie,Te].join("|")+")",Ye=RegExp("['’]","g"),Xe=RegExp(Me,"g"),Ze=RegExp(Re+"(?="+Re+")|"+Ge+We,"g"),Ke=RegExp([ze+"?"+Ne+"+"+He+"(?="+[Ae,ze,"$"].join("|")+")",Fe+"+"+$e+"(?="+[Ae,ze+je,"$"].join("|")+")",ze+"?"+je+"+"+He,ze+"+"+$e,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Le,Ve].join("|"),"g"),Je=RegExp("["+Be+ye+_e+Ce+"]"),Qe=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,et=["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"],tt=-1,nt={};nt[N]=nt[O]=nt[R]=nt[D]=nt[P]=nt[I]=nt[z]=nt[B]=nt[j]=!0,nt[h]=nt[p]=nt[L]=nt[g]=nt[E]=nt[m]=nt[v]=nt[b]=nt[_]=nt[w]=nt[x]=nt[C]=nt[S]=nt[T]=nt[M]=!1;var rt={};rt[h]=rt[p]=rt[L]=rt[E]=rt[g]=rt[m]=rt[N]=rt[O]=rt[R]=rt[D]=rt[P]=rt[_]=rt[w]=rt[x]=rt[C]=rt[S]=rt[T]=rt[A]=rt[I]=rt[z]=rt[B]=rt[j]=!0,rt[v]=rt[b]=rt[M]=!1;var it={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},ot=parseFloat,at=parseInt,st="object"==typeof Yb&&Yb&&Yb.Object===Object&&Yb,lt="object"==typeof self&&self&&self.Object===Object&&self,ct=st||lt||Function("return this")(),ut=t&&!t.nodeType&&t,dt=ut&&e&&!e.nodeType&&e,ft=dt&&dt.exports===ut,ht=ft&&st.process,pt=function(){try{return dt&&dt.require&&dt.require("util").types||ht&&ht.binding&&ht.binding("util")}catch(e){}}(),gt=pt&&pt.isArrayBuffer,mt=pt&&pt.isDate,vt=pt&&pt.isMap,bt=pt&&pt.isRegExp,yt=pt&&pt.isSet,_t=pt&&pt.isTypedArray;function wt(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 xt(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 kt(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}function Ct(e,t){for(var n=null==e?0:e.length;n--&&!1!==t(e[n],n,e););return e}function St(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 Tt(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 At(e,t){return!(null==e||!e.length)&&zt(e,t,0)>-1}function Mt(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 Lt(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 Et(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}function Nt(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 Ot(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 Rt(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 Dt=Ht("length");function Pt(e,t,n){var r;return n(e,(function(e,n,i){if(t(e,n,i))return r=n,!1})),r}function It(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 zt(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):It(e,jt,n)}function Bt(e,t,n,r){for(var i=n-1,o=e.length;++i<o;)if(r(e[i],t))return i;return-1}function jt(e){return e!=e}function Ft(e,t){var n=null==e?0:e.length;return n?qt(e,t)/n:u}function Ht(e){return function(t){return null==t?n:t[e]}}function $t(e){return function(t){return null==e?n:e[t]}}function Ut(e,t,n,r,i){return i(e,(function(e,i,o){n=r?(r=!1,e):t(n,e,i,o)})),n}function qt(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 Wt(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}function Vt(e){return e?e.slice(0,cn(e)+1).replace(te,""):e}function Gt(e){return function(t){return e(t)}}function Yt(e,t){return Lt(t,(function(t){return e[t]}))}function Xt(e,t){return e.has(t)}function Zt(e,t){for(var n=-1,r=e.length;++n<r&&zt(t,e[n],0)>-1;);return n}function Kt(e,t){for(var n=e.length;n--&&zt(t,e[n],0)>-1;);return n}var Jt=$t({"À":"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"}),Qt=$t({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"});function en(e){return"\\"+it[e]}function tn(e){return Je.test(e)}function nn(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function rn(e,t){return function(n){return e(t(n))}}function on(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 an(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}function sn(e){return tn(e)?function(e){for(var t=Ze.lastIndex=0;Ze.test(e);)++t;return t}(e):Dt(e)}function ln(e){return tn(e)?function(e){return e.match(Ze)||[]}(e):function(e){return e.split("")}(e)}function cn(e){for(var t=e.length;t--&&ne.test(e.charAt(t)););return t}var un=$t({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"}),dn=function e(t){var ne,ye=(t=null==t?ct:dn.defaults(ct.Object(),t,dn.pick(ct,et))).Array,_e=t.Date,we=t.Error,xe=t.Function,ke=t.Math,Ce=t.Object,Se=t.RegExp,Te=t.String,Ae=t.TypeError,Me=ye.prototype,Le=xe.prototype,Ee=Ce.prototype,Ne=t["__core-js_shared__"],Oe=Le.toString,Re=Ee.hasOwnProperty,De=0,Pe=(ne=/[^.]+$/.exec(Ne&&Ne.keys&&Ne.keys.IE_PROTO||""))?"Symbol(src)_1."+ne:"",Ie=Ee.toString,ze=Oe.call(Ce),Be=ct._,je=Se("^"+Oe.call(Re).replace(Q,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Fe=ft?t.Buffer:n,He=t.Symbol,$e=t.Uint8Array,Ue=Fe?Fe.allocUnsafe:n,qe=rn(Ce.getPrototypeOf,Ce),We=Ce.create,Ve=Ee.propertyIsEnumerable,Ge=Me.splice,Ze=He?He.isConcatSpreadable:n,Je=He?He.iterator:n,it=He?He.toStringTag:n,st=function(){try{var e=so(Ce,"defineProperty");return e({},"",{}),e}catch(e){}}(),lt=t.clearTimeout!==ct.clearTimeout&&t.clearTimeout,ut=_e&&_e.now!==ct.Date.now&&_e.now,dt=t.setTimeout!==ct.setTimeout&&t.setTimeout,ht=ke.ceil,pt=ke.floor,Dt=Ce.getOwnPropertySymbols,$t=Fe?Fe.isBuffer:n,fn=t.isFinite,hn=Me.join,pn=rn(Ce.keys,Ce),gn=ke.max,mn=ke.min,vn=_e.now,bn=t.parseInt,yn=ke.random,_n=Me.reverse,wn=so(t,"DataView"),xn=so(t,"Map"),kn=so(t,"Promise"),Cn=so(t,"Set"),Sn=so(t,"WeakMap"),Tn=so(Ce,"create"),An=Sn&&new Sn,Mn={},Ln=Do(wn),En=Do(xn),Nn=Do(kn),On=Do(Cn),Rn=Do(Sn),Dn=He?He.prototype:n,Pn=Dn?Dn.valueOf:n,In=Dn?Dn.toString:n;function zn(e){if(Ka(e)&&!Fa(e)&&!(e instanceof Hn)){if(e instanceof Fn)return e;if(Re.call(e,"__wrapped__"))return Po(e)}return new Fn(e)}var Bn=function(){function e(){}return function(t){if(!Za(t))return{};if(We)return We(t);e.prototype=t;var r=new e;return e.prototype=n,r}}();function jn(){}function Fn(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=n}function Hn(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=d,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 qn(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 Wn(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new qn;++t<n;)this.add(e[t])}function Vn(e){var t=this.__data__=new Un(e);this.size=t.size}function Gn(e,t){var n=Fa(e),r=!n&&ja(e),i=!n&&!r&&qa(e),o=!n&&!r&&!i&&os(e),a=n||r||i||o,s=a?Wt(e.length,Te):[],l=s.length;for(var c in e)!t&&!Re.call(e,c)||a&&("length"==c||i&&("offset"==c||"parent"==c)||o&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||go(c,l))||s.push(c);return s}function Yn(e){var t=e.length;return t?e[qr(0,t-1)]:n}function Xn(e,t){return No(Si(e),ir(t,0,e.length))}function Zn(e){return No(Si(e))}function Kn(e,t,r){(r!==n&&!Ia(e[t],r)||r===n&&!(t in e))&&nr(e,t,r)}function Jn(e,t,r){var i=e[t];Re.call(e,t)&&Ia(i,r)&&(r!==n||t in e)||nr(e,t,r)}function Qn(e,t){for(var n=e.length;n--;)if(Ia(e[n][0],t))return n;return-1}function er(e,t,n,r){return cr(e,(function(e,i,o){t(r,e,n(e),o)})),r}function tr(e,t){return e&&Ti(t,As(t),e)}function nr(e,t,n){"__proto__"==t&&st?st(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function rr(e,t){for(var r=-1,i=t.length,o=ye(i),a=null==e;++r<i;)o[r]=a?n:xs(e,t[r]);return o}function ir(e,t,r){return e==e&&(r!==n&&(e=e<=r?e:r),t!==n&&(e=e>=t?e:t)),e}function or(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(!Za(e))return e;var d=Fa(e);if(d){if(s=function(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&Re.call(e,"index")&&(n.index=e.index,n.input=e.input),n}(e),!l)return Si(e,s)}else{var f=uo(e),p=f==b||f==y;if(qa(e))return yi(e,l);if(f==x||f==h||p&&!o){if(s=c||p?{}:ho(e),!l)return c?function(e,t){return Ti(e,co(e),t)}(e,function(e,t){return e&&Ti(t,Ms(t),e)}(s,e)):function(e,t){return Ti(e,lo(e),t)}(e,tr(s,e))}else{if(!rt[f])return o?e:{};s=function(e,t,n){var r=e.constructor;switch(t){case L:return _i(e);case g:case m:return new r(+e);case E:return function(e,t){var n=t?_i(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case N:case O:case R:case D:case P:case I:case z:case B:case j:return wi(e,n);case _:return new r;case w:case T:return new r(e);case C:return function(e){var t=new e.constructor(e.source,ue.exec(e));return t.lastIndex=e.lastIndex,t}(e);case S:return new r;case A:return function(e){return Pn?Ce(Pn.call(e)):{}}(e)}}(e,f,l)}}a||(a=new Vn);var v=a.get(e);if(v)return v;a.set(e,s),ns(e)?e.forEach((function(n){s.add(or(n,t,r,n,e,a))})):Ja(e)&&e.forEach((function(n,i){s.set(i,or(n,t,r,i,e,a))}));var k=d?n:(u?c?eo:Qi:c?Ms:As)(e);return kt(k||e,(function(n,i){k&&(n=e[i=n]),Jn(s,i,or(n,t,r,i,e,a))})),s}function ar(e,t,r){var i=r.length;if(null==e)return!i;for(e=Ce(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 sr(e,t,i){if("function"!=typeof e)throw new Ae(r);return Ao((function(){e.apply(n,i)}),t)}function lr(e,t,n,r){var i=-1,o=At,a=!0,s=e.length,l=[],c=t.length;if(!s)return l;n&&(t=Lt(t,Gt(n))),r?(o=Mt,a=!1):t.length>=200&&(o=Xt,a=!1,t=new Wn(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}zn.templateSettings={escape:G,evaluate:Y,interpolate:X,variable:"",imports:{_:zn}},zn.prototype=jn.prototype,zn.prototype.constructor=zn,Fn.prototype=Bn(jn.prototype),Fn.prototype.constructor=Fn,Hn.prototype=Bn(jn.prototype),Hn.prototype.constructor=Hn,$n.prototype.clear=function(){this.__data__=Tn?Tn(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(Tn){var r=t[e];return r===i?n:r}return Re.call(t,e)?t[e]:n},$n.prototype.has=function(e){var t=this.__data__;return Tn?t[e]!==n:Re.call(t,e)},$n.prototype.set=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=Tn&&t===n?i:t,this},Un.prototype.clear=function(){this.__data__=[],this.size=0},Un.prototype.delete=function(e){var t=this.__data__,n=Qn(t,e);return!(n<0||(n==t.length-1?t.pop():Ge.call(t,n,1),--this.size,0))},Un.prototype.get=function(e){var t=this.__data__,r=Qn(t,e);return r<0?n:t[r][1]},Un.prototype.has=function(e){return Qn(this.__data__,e)>-1},Un.prototype.set=function(e,t){var n=this.__data__,r=Qn(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},qn.prototype.clear=function(){this.size=0,this.__data__={hash:new $n,map:new(xn||Un),string:new $n}},qn.prototype.delete=function(e){var t=oo(this,e).delete(e);return this.size-=t?1:0,t},qn.prototype.get=function(e){return oo(this,e).get(e)},qn.prototype.has=function(e){return oo(this,e).has(e)},qn.prototype.set=function(e,t){var n=oo(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},Wn.prototype.add=Wn.prototype.push=function(e){return this.__data__.set(e,i),this},Wn.prototype.has=function(e){return this.__data__.has(e)},Vn.prototype.clear=function(){this.__data__=new Un,this.size=0},Vn.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},Vn.prototype.get=function(e){return this.__data__.get(e)},Vn.prototype.has=function(e){return this.__data__.has(e)},Vn.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Un){var r=n.__data__;if(!xn||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new qn(r)}return n.set(e,t),this.size=n.size,this};var cr=Li(vr),ur=Li(br,!0);function dr(e,t){var n=!0;return cr(e,(function(e,r,i){return n=!!t(e,r,i)})),n}function fr(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&&!is(s):r(s,l)))var l=s,c=a}return c}function hr(e,t){var n=[];return cr(e,(function(e,r,i){t(e,r,i)&&n.push(e)})),n}function pr(e,t,n,r,i){var o=-1,a=e.length;for(n||(n=po),i||(i=[]);++o<a;){var s=e[o];t>0&&n(s)?t>1?pr(s,t-1,n,r,i):Et(i,s):r||(i[i.length]=s)}return i}var gr=Ei(),mr=Ei(!0);function vr(e,t){return e&&gr(e,t,As)}function br(e,t){return e&&mr(e,t,As)}function yr(e,t){return Tt(t,(function(t){return Ga(e[t])}))}function _r(e,t){for(var r=0,i=(t=gi(t,e)).length;null!=e&&r<i;)e=e[Ro(t[r++])];return r&&r==i?e:n}function wr(e,t,n){var r=t(e);return Fa(e)?r:Et(r,n(e))}function xr(e){return null==e?e===n?"[object Undefined]":"[object Null]":it&&it in Ce(e)?function(e){var t=Re.call(e,it),r=e[it];try{e[it]=n;var i=!0}catch(e){}var o=Ie.call(e);return i&&(t?e[it]=r:delete e[it]),o}(e):function(e){return Ie.call(e)}(e)}function kr(e,t){return e>t}function Cr(e,t){return null!=e&&Re.call(e,t)}function Sr(e,t){return null!=e&&t in Ce(e)}function Tr(e,t,r){for(var i=r?Mt:At,o=e[0].length,a=e.length,s=a,l=ye(a),c=1/0,u=[];s--;){var d=e[s];s&&t&&(d=Lt(d,Gt(t))),c=mn(d.length,c),l[s]=!r&&(t||o>=120&&d.length>=120)?new Wn(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?Xt(h,g):i(u,g,r))){for(s=a;--s;){var m=l[s];if(!(m?Xt(m,g):i(e[s],g,r)))continue e}h&&h.push(g),u.push(p)}}return u}function Ar(e,t,r){var i=null==(e=Co(e,t=gi(t,e)))?e:e[Ro(Vo(t))];return null==i?n:wt(i,e,r)}function Mr(e){return Ka(e)&&xr(e)==h}function Lr(e,t,r,i,o){return e===t||(null==e||null==t||!Ka(e)&&!Ka(t)?e!=e&&t!=t:function(e,t,r,i,o,a){var s=Fa(e),l=Fa(t),c=s?p:uo(e),u=l?p:uo(t),d=(c=c==h?x:c)==x,f=(u=u==h?x:u)==x,b=c==u;if(b&&qa(e)){if(!qa(t))return!1;s=!0,d=!1}if(b&&!d)return a||(a=new Vn),s||os(e)?Ki(e,t,r,i,o,a):function(e,t,n,r,i,o,a){switch(n){case E:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case L:return!(e.byteLength!=t.byteLength||!o(new $e(e),new $e(t)));case g:case m:case w:return Ia(+e,+t);case v:return e.name==t.name&&e.message==t.message;case C:case T:return e==t+"";case _:var s=nn;case S:var l=1&r;if(s||(s=an),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=Ki(s(e),s(t),r,i,o,a);return a.delete(e),u;case A:if(Pn)return Pn.call(e)==Pn.call(t)}return!1}(e,t,c,r,i,o,a);if(!(1&r)){var y=d&&Re.call(e,"__wrapped__"),k=f&&Re.call(t,"__wrapped__");if(y||k){var M=y?e.value():e,N=k?t.value():t;return a||(a=new Vn),o(M,N,r,i,a)}}return!!b&&(a||(a=new Vn),function(e,t,r,i,o,a){var s=1&r,l=Qi(e),c=l.length;if(c!=Qi(t).length&&!s)return!1;for(var u=c;u--;){var d=l[u];if(!(s?d in t:Re.call(t,d)))return!1}var f=a.get(e),h=a.get(t);if(f&&h)return f==t&&h==e;var p=!0;a.set(e,t),a.set(t,e);for(var g=s;++u<c;){var m=e[d=l[u]],v=t[d];if(i)var b=s?i(v,m,d,t,e,a):i(m,v,d,e,t,a);if(!(b===n?m===v||o(m,v,r,i,a):b)){p=!1;break}g||(g="constructor"==d)}if(p&&!g){var y=e.constructor,_=t.constructor;y==_||!("constructor"in e)||!("constructor"in t)||"function"==typeof y&&y instanceof y&&"function"==typeof _&&_ instanceof _||(p=!1)}return a.delete(e),a.delete(t),p}(e,t,r,i,o,a))}(e,t,r,i,Lr,o))}function Er(e,t,r,i){var o=r.length,a=o,s=!i;if(null==e)return!a;for(e=Ce(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 Vn;if(i)var h=i(u,d,c,e,t,f);if(!(h===n?Lr(d,u,3,i,f):h))return!1}}return!0}function Nr(e){return!(!Za(e)||(t=e,Pe&&Pe in t))&&(Ga(e)?je:he).test(Do(e));var t}function Or(e){return"function"==typeof e?e:null==e?Qs:"object"==typeof e?Fa(e)?zr(e[0],e[1]):Ir(e):ll(e)}function Rr(e){if(!_o(e))return pn(e);var t=[];for(var n in Ce(e))Re.call(e,n)&&"constructor"!=n&&t.push(n);return t}function Dr(e,t){return e<t}function Pr(e,t){var n=-1,r=$a(e)?ye(e.length):[];return cr(e,(function(e,i,o){r[++n]=t(e,i,o)})),r}function Ir(e){var t=ao(e);return 1==t.length&&t[0][2]?xo(t[0][0],t[0][1]):function(n){return n===e||Er(n,e,t)}}function zr(e,t){return vo(e)&&wo(t)?xo(Ro(e),t):function(r){var i=xs(r,e);return i===n&&i===t?ks(r,e):Lr(t,i,3)}}function Br(e,t,r,i,o){e!==t&&gr(t,(function(a,s){if(o||(o=new Vn),Za(a))!function(e,t,r,i,o,a,s){var l=So(e,r),c=So(t,r),u=s.get(c);if(u)Kn(e,r,u);else{var d=a?a(l,c,r+"",e,t,s):n,f=d===n;if(f){var h=Fa(c),p=!h&&qa(c),g=!h&&!p&&os(c);d=c,h||p||g?Fa(l)?d=l:Ua(l)?d=Si(l):p?(f=!1,d=yi(c,!0)):g?(f=!1,d=wi(c,!0)):d=[]:es(c)||ja(c)?(d=l,ja(l)?d=hs(l):Za(l)&&!Ga(l)||(d=ho(c))):f=!1}f&&(s.set(c,d),o(d,c,i,a,s),s.delete(c)),Kn(e,r,d)}}(e,t,s,r,Br,i,o);else{var l=i?i(So(e,s),a,s+"",e,t,o):n;l===n&&(l=a),Kn(e,s,l)}}),Ms)}function jr(e,t){var r=e.length;if(r)return go(t+=t<0?r:0,r)?e[t]:n}function Fr(e,t,n){t=t.length?Lt(t,(function(e){return Fa(e)?function(t){return _r(t,1===e.length?e[0]:e)}:e})):[Qs];var r=-1;t=Lt(t,Gt(io()));var i=Pr(e,(function(e,n,i){var o=Lt(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=xi(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 Hr(e,t,n){for(var r=-1,i=t.length,o={};++r<i;){var a=t[r],s=_r(e,a);n(s,a)&&Xr(o,gi(a,e),s)}return o}function $r(e,t,n,r){var i=r?Bt:zt,o=-1,a=t.length,s=e;for(e===t&&(t=Si(t)),n&&(s=Lt(e,Gt(n)));++o<a;)for(var l=0,c=t[o],u=n?n(c):c;(l=i(s,u,l,r))>-1;)s!==e&&Ge.call(s,l,1),Ge.call(e,l,1);return e}function Ur(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;go(i)?Ge.call(e,i,1):si(e,i)}}return e}function qr(e,t){return e+pt(yn()*(t-e+1))}function Wr(e,t){var n="";if(!e||t<1||t>c)return n;do{t%2&&(n+=e),(t=pt(t/2))&&(e+=e)}while(t);return n}function Vr(e,t){return Mo(ko(e,t,Qs),e+"")}function Gr(e){return Yn(Is(e))}function Yr(e,t){var n=Is(e);return No(n,ir(t,0,n.length))}function Xr(e,t,r,i){if(!Za(e))return e;for(var o=-1,a=(t=gi(t,e)).length,s=a-1,l=e;null!=l&&++o<a;){var c=Ro(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=Za(d)?d:go(t[o+1])?[]:{})}Jn(l,c,u),l=l[c]}return e}var Zr=An?function(e,t){return An.set(e,t),e}:Qs,Kr=st?function(e,t){return st(e,"toString",{configurable:!0,enumerable:!1,value:Zs(t),writable:!0})}:Qs;function Jr(e){return No(Is(e))}function Qr(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=ye(i);++r<i;)o[r]=e[r+t];return o}function ei(e,t){var n;return cr(e,(function(e,r,i){return!(n=t(e,r,i))})),!!n}function ti(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&&!is(a)&&(n?a<=t:a<t)?r=o+1:i=o}return i}return ni(e,t,Qs,n)}function ni(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=is(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=is(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 mn(a,4294967294)}function ri(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||!Ia(s,l)){var l=s;o[i++]=0===a?0:a}}return o}function ii(e){return"number"==typeof e?e:is(e)?u:+e}function oi(e){if("string"==typeof e)return e;if(Fa(e))return Lt(e,oi)+"";if(is(e))return In?In.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function ai(e,t,n){var r=-1,i=At,o=e.length,a=!0,s=[],l=s;if(n)a=!1,i=Mt;else if(o>=200){var c=t?null:Wi(e);if(c)return an(c);a=!1,i=Xt,l=new Wn}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 si(e,t){var n=-1,r=(t=gi(t,e)).length;if(!r)return!0;for(;++n<r;){var i=Ro(t[n]);if("__proto__"===i&&!Re.call(e,"__proto__"))return!1;if(("constructor"===i||"prototype"===i)&&n<r-1)return!1}var o=Co(e,t);return null==o||delete o[Ro(Vo(t))]}function li(e,t,n,r){return Xr(e,t,n(_r(e,t)),r)}function ci(e,t,n,r){for(var i=e.length,o=r?i:-1;(r?o--:++o<i)&&t(e[o],o,e););return n?Qr(e,r?0:o,r?o+1:i):Qr(e,r?o+1:0,r?i:o)}function ui(e,t){var n=e;return n instanceof Hn&&(n=n.value()),Nt(t,(function(e,t){return t.func.apply(t.thisArg,Et([e],t.args))}),n)}function di(e,t,n){var r=e.length;if(r<2)return r?ai(e[0]):[];for(var i=-1,o=ye(r);++i<r;)for(var a=e[i],s=-1;++s<r;)s!=i&&(o[i]=lr(o[i]||a,e[s],t,n));return ai(pr(o,1),t,n)}function fi(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 hi(e){return Ua(e)?e:[]}function pi(e){return"function"==typeof e?e:Qs}function gi(e,t){return Fa(e)?e:vo(e,t)?[e]:Oo(ps(e))}var mi=Vr;function vi(e,t,r){var i=e.length;return r=r===n?i:r,!t&&r>=i?e:Qr(e,t,r)}var bi=lt||function(e){return ct.clearTimeout(e)};function yi(e,t){if(t)return e.slice();var n=e.length,r=Ue?Ue(n):new e.constructor(n);return e.copy(r),r}function _i(e){var t=new e.constructor(e.byteLength);return new $e(t).set(new $e(e)),t}function wi(e,t){var n=t?_i(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function xi(e,t){if(e!==t){var r=e!==n,i=null===e,o=e==e,a=is(e),s=t!==n,l=null===t,c=t==t,u=is(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 ki(e,t,n,r){for(var i=-1,o=e.length,a=n.length,s=-1,l=t.length,c=gn(o-a,0),u=ye(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 Ci(e,t,n,r){for(var i=-1,o=e.length,a=-1,s=n.length,l=-1,c=t.length,u=gn(o-s,0),d=ye(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 Si(e,t){var n=-1,r=e.length;for(t||(t=ye(r));++n<r;)t[n]=e[n];return t}function Ti(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?nr(r,l,c):Jn(r,l,c)}return r}function Ai(e,t){return function(n,r){var i=Fa(n)?xt:er,o=t?t():{};return i(n,e,io(r,2),o)}}function Mi(e){return Vr((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&&mo(r[0],r[1],s)&&(a=o<3?n:a,o=1),t=Ce(t);++i<o;){var l=r[i];l&&e(t,l,i,a)}return t}))}function Li(e,t){return function(n,r){if(null==n)return n;if(!$a(n))return e(n,r);for(var i=n.length,o=t?i:-1,a=Ce(n);(t?o--:++o<i)&&!1!==r(a[o],o,a););return n}}function Ei(e){return function(t,n,r){for(var i=-1,o=Ce(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 Ni(e){return function(t){var r=tn(t=ps(t))?ln(t):n,i=r?r[0]:t.charAt(0),o=r?vi(r,1).join(""):t.slice(1);return i[e]()+o}}function Oi(e){return function(t){return Nt(Gs(js(t).replace(Ye,"")),e,"")}}function Ri(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=Bn(e.prototype),r=e.apply(n,t);return Za(r)?r:n}}function Di(e){return function(t,r,i){var o=Ce(t);if(!$a(t)){var a=io(r,3);t=As(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 Pi(e){return Ji((function(t){var i=t.length,o=i,a=Fn.prototype.thru;for(e&&t.reverse();o--;){var s=t[o];if("function"!=typeof s)throw new Ae(r);if(a&&!l&&"wrapper"==no(s))var l=new Fn([],!0)}for(o=l?o:i;++o<i;){var c=no(s=t[o]),u="wrapper"==c?to(s):n;l=u&&bo(u[0])&&424==u[1]&&!u[4].length&&1==u[9]?l[no(u[0])].apply(l,u[3]):1==s.length&&bo(s)?l[c]():l.thru(s)}return function(){var e=arguments,n=e[0];if(l&&1==e.length&&Fa(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 Ii(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:Ri(e);return function s(){for(var b=arguments.length,y=ye(b),_=b;_--;)y[_]=arguments[_];if(g)var w=ro(s),x=function(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&++r;return r}(y,w);if(i&&(y=ki(y,i,o,g)),a&&(y=Ci(y,a,l,g)),b-=x,g&&b<d){var k=on(y,w);return Ui(e,t,Ii,s.placeholder,r,y,k,c,u,d-b)}var C=h?r:this,S=p?C[e]:e;return b=y.length,c?y=function(e,t){for(var r=e.length,i=mn(t.length,r),o=Si(e);i--;){var a=t[i];e[i]=go(a,r)?o[a]:n}return e}(y,c):m&&b>1&&y.reverse(),f&&u<b&&(y.length=u),this&&this!==ct&&this instanceof s&&(S=v||Ri(S)),S.apply(C,y)}}function zi(e,t){return function(n,r){return function(e,t,n,r){return vr(e,(function(e,i,o){t(r,n(e),i,o)})),r}(n,e,t(r),{})}}function Bi(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=oi(r),i=oi(i)):(r=ii(r),i=ii(i)),o=e(r,i)}return o}}function ji(e){return Ji((function(t){return t=Lt(t,Gt(io())),Vr((function(n){var r=this;return e(t,(function(e){return wt(e,r,n)}))}))}))}function Fi(e,t){var r=(t=t===n?" ":oi(t)).length;if(r<2)return r?Wr(t,e):t;var i=Wr(t,ht(e/sn(t)));return tn(t)?vi(ln(i),0,e).join(""):i.slice(0,e)}function Hi(e){return function(t,r,i){return i&&"number"!=typeof i&&mo(t,r,i)&&(r=i=n),t=cs(t),r===n?(r=t,t=0):r=cs(r),function(e,t,n,r){for(var i=-1,o=gn(ht((t-e)/(n||1)),0),a=ye(o);o--;)a[r?o:++i]=e,e+=n;return a}(t,r,i=i===n?t<r?1:-1:cs(i),e)}}function $i(e){return function(t,n){return"string"==typeof t&&"string"==typeof n||(t=fs(t),n=fs(n)),e(t,n)}}function Ui(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 bo(e)&&To(p,h),p.placeholder=i,Lo(p,e,t)}function qi(e){var t=ke[e];return function(e,n){if(e=fs(e),(n=null==n?0:mn(us(n),292))&&fn(e)){var r=(ps(e)+"e").split("e");return+((r=(ps(t(r[0]+"e"+(+r[1]+n)))+"e").split("e"))[0]+"e"+(+r[1]-n))}return t(e)}}var Wi=Cn&&1/an(new Cn([,-0]))[1]==l?function(e){return new Cn(e)}:il;function Vi(e){return function(t){var n=uo(t);return n==_?nn(t):n==S?function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=[e,e]})),n}(t):function(e,t){return Lt(t,(function(t){return[t,e[t]]}))}(t,e(t))}}function Gi(e,t,i,l,c,u,d,f){var h=2&t;if(!h&&"function"!=typeof e)throw new Ae(r);var p=l?l.length:0;if(p||(t&=-97,l=c=n),d=d===n?d:gn(us(d),0),f=f===n?f:us(f),p-=c?c.length:0,64&t){var g=l,m=c;l=c=n}var v=h?n:to(e),b=[e,t,i,l,c,g,m,u,d,f];if(v&&function(e,t){var n=e[1],r=t[1],i=n|r,a=i<131,l=r==s&&8==n||r==s&&256==n&&e[7].length<=t[8]||384==r&&t[7].length<=t[8]&&8==n;if(!a&&!l)return e;1&r&&(e[2]=t[2],i|=1&n?0:4);var c=t[3];if(c){var u=e[3];e[3]=u?ki(u,c,t[4]):c,e[4]=u?on(e[3],o):t[4]}(c=t[5])&&(u=e[5],e[5]=u?Ci(u,c,t[6]):c,e[6]=u?on(e[5],o):t[6]),(c=t[7])&&(e[7]=c),r&s&&(e[8]=null==e[8]?t[8]:mn(e[8],t[8])),null==e[9]&&(e[9]=t[9]),e[0]=t[0],e[1]=i}(b,v),e=b[0],t=b[1],i=b[2],l=b[3],c=b[4],!(f=b[9]=b[9]===n?h?0:e.length:gn(b[9]-p,0))&&24&t&&(t&=-25),t&&1!=t)y=8==t||16==t?function(e,t,r){var i=Ri(e);return function o(){for(var a=arguments.length,s=ye(a),l=a,c=ro(o);l--;)s[l]=arguments[l];var u=a<3&&s[0]!==c&&s[a-1]!==c?[]:on(s,c);return(a-=u.length)<r?Ui(e,t,Ii,o.placeholder,n,s,u,n,n,r-a):wt(this&&this!==ct&&this instanceof o?i:e,this,s)}}(e,t,f):t!=a&&33!=t||c.length?Ii.apply(n,b):function(e,t,n,r){var i=1&t,o=Ri(e);return function t(){for(var a=-1,s=arguments.length,l=-1,c=r.length,u=ye(c+s),d=this&&this!==ct&&this instanceof t?o:e;++l<c;)u[l]=r[l];for(;s--;)u[l++]=arguments[++a];return wt(d,i?n:this,u)}}(e,t,i,l);else var y=function(e,t,n){var r=1&t,i=Ri(e);return function t(){return(this&&this!==ct&&this instanceof t?i:e).apply(r?n:this,arguments)}}(e,t,i);return Lo((v?Zr:To)(y,b),e,t)}function Yi(e,t,r,i){return e===n||Ia(e,Ee[r])&&!Re.call(i,r)?t:e}function Xi(e,t,r,i,o,a){return Za(e)&&Za(t)&&(a.set(t,e),Br(e,t,n,Xi,a),a.delete(t)),e}function Zi(e){return es(e)?n:e}function Ki(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 Wn: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(!Rt(t,(function(e,t){if(!Xt(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 Ji(e){return Mo(ko(e,n,Ho),e+"")}function Qi(e){return wr(e,As,lo)}function eo(e){return wr(e,Ms,co)}var to=An?function(e){return An.get(e)}:il;function no(e){for(var t=e.name+"",n=Mn[t],r=Re.call(Mn,t)?n.length:0;r--;){var i=n[r],o=i.func;if(null==o||o==e)return i.name}return t}function ro(e){return(Re.call(zn,"placeholder")?zn:e).placeholder}function io(){var e=zn.iteratee||el;return e=e===el?Or:e,arguments.length?e(arguments[0],arguments[1]):e}function oo(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 ao(e){for(var t=As(e),n=t.length;n--;){var r=t[n],i=e[r];t[n]=[r,i,wo(i)]}return t}function so(e,t){var r=function(e,t){return null==e?n:e[t]}(e,t);return Nr(r)?r:n}var lo=Dt?function(e){return null==e?[]:(e=Ce(e),Tt(Dt(e),(function(t){return Ve.call(e,t)})))}:dl,co=Dt?function(e){for(var t=[];e;)Et(t,lo(e)),e=qe(e);return t}:dl,uo=xr;function fo(e,t,n){for(var r=-1,i=(t=gi(t,e)).length,o=!1;++r<i;){var a=Ro(t[r]);if(!(o=null!=e&&n(e,a)))break;e=e[a]}return o||++r!=i?o:!!(i=null==e?0:e.length)&&Xa(i)&&go(a,i)&&(Fa(e)||ja(e))}function ho(e){return"function"!=typeof e.constructor||_o(e)?{}:Bn(qe(e))}function po(e){return Fa(e)||ja(e)||!!(Ze&&e&&e[Ze])}function go(e,t){var n=typeof e;return!!(t=null==t?c:t)&&("number"==n||"symbol"!=n&&ge.test(e))&&e>-1&&e%1==0&&e<t}function mo(e,t,n){if(!Za(n))return!1;var r=typeof t;return!!("number"==r?$a(n)&&go(t,n.length):"string"==r&&t in n)&&Ia(n[t],e)}function vo(e,t){if(Fa(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!is(e))||K.test(e)||!Z.test(e)||null!=t&&e in Ce(t)}function bo(e){var t=no(e),n=zn[t];if("function"!=typeof n||!(t in Hn.prototype))return!1;if(e===n)return!0;var r=to(n);return!!r&&e===r[0]}(wn&&uo(new wn(new ArrayBuffer(1)))!=E||xn&&uo(new xn)!=_||kn&&uo(kn.resolve())!=k||Cn&&uo(new Cn)!=S||Sn&&uo(new Sn)!=M)&&(uo=function(e){var t=xr(e),r=t==x?e.constructor:n,i=r?Do(r):"";if(i)switch(i){case Ln:return E;case En:return _;case Nn:return k;case On:return S;case Rn:return M}return t});var yo=Ne?Ga:fl;function _o(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||Ee)}function wo(e){return e==e&&!Za(e)}function xo(e,t){return function(r){return null!=r&&r[e]===t&&(t!==n||e in Ce(r))}}function ko(e,t,r){return t=gn(t===n?e.length-1:t,0),function(){for(var n=arguments,i=-1,o=gn(n.length-t,0),a=ye(o);++i<o;)a[i]=n[t+i];i=-1;for(var s=ye(t+1);++i<t;)s[i]=n[i];return s[t]=r(a),wt(e,this,s)}}function Co(e,t){return t.length<2?e:_r(e,Qr(t,0,-1))}function So(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var To=Eo(Zr),Ao=dt||function(e,t){return ct.setTimeout(e,t)},Mo=Eo(Kr);function Lo(e,t,n){var r=t+"";return Mo(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(re,"{\n/* [wrapped with "+t+"] */\n")}(r,function(e,t){return kt(f,(function(n){var r="_."+n[0];t&n[1]&&!At(e,r)&&e.push(r)})),e.sort()}(function(e){var t=e.match(ie);return t?t[1].split(oe):[]}(r),n)))}function Eo(e){var t=0,r=0;return function(){var i=vn(),o=16-(i-r);if(r=i,o>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(n,arguments)}}function No(e,t){var r=-1,i=e.length,o=i-1;for(t=t===n?i:t;++r<t;){var a=qr(r,o),s=e[a];e[a]=e[r],e[r]=s}return e.length=t,e}var Oo=function(){var e=Ea((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(J,(function(e,n,r,i){t.push(r?i.replace(le,"$1"):n||e)})),t}),(function(e){return 500===t.size&&t.clear(),e})),t=e.cache;return e}();function Ro(e){if("string"==typeof e||is(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function Do(e){if(null!=e){try{return Oe.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function Po(e){if(e instanceof Hn)return e.clone();var t=new Fn(e.__wrapped__,e.__chain__);return t.__actions__=Si(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}var Io=Vr((function(e,t){return Ua(e)?lr(e,pr(t,1,Ua,!0)):[]})),zo=Vr((function(e,t){var r=Vo(t);return Ua(r)&&(r=n),Ua(e)?lr(e,pr(t,1,Ua,!0),io(r,2)):[]})),Bo=Vr((function(e,t){var r=Vo(t);return Ua(r)&&(r=n),Ua(e)?lr(e,pr(t,1,Ua,!0),n,r):[]}));function jo(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=null==n?0:us(n);return i<0&&(i=gn(r+i,0)),It(e,io(t,3),i)}function Fo(e,t,r){var i=null==e?0:e.length;if(!i)return-1;var o=i-1;return r!==n&&(o=us(r),o=r<0?gn(i+o,0):mn(o,i-1)),It(e,io(t,3),o,!0)}function Ho(e){return null!=e&&e.length?pr(e,1):[]}function $o(e){return e&&e.length?e[0]:n}var Uo=Vr((function(e){var t=Lt(e,hi);return t.length&&t[0]===e[0]?Tr(t):[]})),qo=Vr((function(e){var t=Vo(e),r=Lt(e,hi);return t===Vo(r)?t=n:r.pop(),r.length&&r[0]===e[0]?Tr(r,io(t,2)):[]})),Wo=Vr((function(e){var t=Vo(e),r=Lt(e,hi);return(t="function"==typeof t?t:n)&&r.pop(),r.length&&r[0]===e[0]?Tr(r,n,t):[]}));function Vo(e){var t=null==e?0:e.length;return t?e[t-1]:n}var Go=Vr(Yo);function Yo(e,t){return e&&e.length&&t&&t.length?$r(e,t):e}var Xo=Ji((function(e,t){var n=null==e?0:e.length,r=rr(e,t);return Ur(e,Lt(t,(function(e){return go(e,n)?+e:e})).sort(xi)),r}));function Zo(e){return null==e?e:_n.call(e)}var Ko=Vr((function(e){return ai(pr(e,1,Ua,!0))})),Jo=Vr((function(e){var t=Vo(e);return Ua(t)&&(t=n),ai(pr(e,1,Ua,!0),io(t,2))})),Qo=Vr((function(e){var t=Vo(e);return t="function"==typeof t?t:n,ai(pr(e,1,Ua,!0),n,t)}));function ea(e){if(!e||!e.length)return[];var t=0;return e=Tt(e,(function(e){if(Ua(e))return t=gn(e.length,t),!0})),Wt(t,(function(t){return Lt(e,Ht(t))}))}function ta(e,t){if(!e||!e.length)return[];var r=ea(e);return null==t?r:Lt(r,(function(e){return wt(t,n,e)}))}var na=Vr((function(e,t){return Ua(e)?lr(e,t):[]})),ra=Vr((function(e){return di(Tt(e,Ua))})),ia=Vr((function(e){var t=Vo(e);return Ua(t)&&(t=n),di(Tt(e,Ua),io(t,2))})),oa=Vr((function(e){var t=Vo(e);return t="function"==typeof t?t:n,di(Tt(e,Ua),n,t)})),aa=Vr(ea),sa=Vr((function(e){var t=e.length,r=t>1?e[t-1]:n;return r="function"==typeof r?(e.pop(),r):n,ta(e,r)}));function la(e){var t=zn(e);return t.__chain__=!0,t}function ca(e,t){return t(e)}var ua=Ji((function(e){var t=e.length,r=t?e[0]:0,i=this.__wrapped__,o=function(t){return rr(t,e)};return!(t>1||this.__actions__.length)&&i instanceof Hn&&go(r)?((i=i.slice(r,+r+(t?1:0))).__actions__.push({func:ca,args:[o],thisArg:n}),new Fn(i,this.__chain__).thru((function(e){return t&&!e.length&&e.push(n),e}))):this.thru(o)})),da=Ai((function(e,t,n){Re.call(e,n)?++e[n]:nr(e,n,1)})),fa=Di(jo),ha=Di(Fo);function pa(e,t){return(Fa(e)?kt:cr)(e,io(t,3))}function ga(e,t){return(Fa(e)?Ct:ur)(e,io(t,3))}var ma=Ai((function(e,t,n){Re.call(e,n)?e[n].push(t):nr(e,n,[t])})),va=Vr((function(e,t,n){var r=-1,i="function"==typeof t,o=$a(e)?ye(e.length):[];return cr(e,(function(e){o[++r]=i?wt(t,e,n):Ar(e,t,n)})),o})),ba=Ai((function(e,t,n){nr(e,n,t)}));function ya(e,t){return(Fa(e)?Lt:Pr)(e,io(t,3))}var _a=Ai((function(e,t,n){e[n?0:1].push(t)}),(function(){return[[],[]]})),wa=Vr((function(e,t){if(null==e)return[];var n=t.length;return n>1&&mo(e,t[0],t[1])?t=[]:n>2&&mo(t[0],t[1],t[2])&&(t=[t[0]]),Fr(e,pr(t,1),[])})),xa=ut||function(){return ct.Date.now()};function ka(e,t,r){return t=r?n:t,t=e&&null==t?e.length:t,Gi(e,s,n,n,n,n,t)}function Ca(e,t){var i;if("function"!=typeof t)throw new Ae(r);return e=us(e),function(){return--e>0&&(i=t.apply(this,arguments)),e<=1&&(t=n),i}}var Sa=Vr((function(e,t,n){var r=1;if(n.length){var i=on(n,ro(Sa));r|=a}return Gi(e,r,t,n,i)})),Ta=Vr((function(e,t,n){var r=3;if(n.length){var i=on(n,ro(Ta));r|=a}return Gi(t,r,e,n,i)}));function Aa(e,t,i){var o,a,s,l,c,u,d=0,f=!1,h=!1,p=!0;if("function"!=typeof e)throw new Ae(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=xa();if(m(e))return b(e);c=Ao(v,function(e){var n=t-(e-u);return h?mn(n,s-(e-d)):n}(e))}function b(e){return c=n,p&&o?g(e):(o=a=n,l)}function y(){var e=xa(),r=m(e);if(o=arguments,a=this,u=e,r){if(c===n)return function(e){return d=e,c=Ao(v,t),f?g(e):l}(u);if(h)return bi(c),c=Ao(v,t),g(u)}return c===n&&(c=Ao(v,t)),l}return t=fs(t)||0,Za(i)&&(f=!!i.leading,s=(h="maxWait"in i)?gn(fs(i.maxWait)||0,t):s,p="trailing"in i?!!i.trailing:p),y.cancel=function(){c!==n&&bi(c),d=0,o=u=a=c=n},y.flush=function(){return c===n?l:b(xa())},y}var Ma=Vr((function(e,t){return sr(e,1,t)})),La=Vr((function(e,t,n){return sr(e,fs(t)||0,n)}));function Ea(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new Ae(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(Ea.Cache||qn),n}function Na(e){if("function"!=typeof e)throw new Ae(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)}}Ea.Cache=qn;var Oa=mi((function(e,t){var n=(t=1==t.length&&Fa(t[0])?Lt(t[0],Gt(io())):Lt(pr(t,1),Gt(io()))).length;return Vr((function(r){for(var i=-1,o=mn(r.length,n);++i<o;)r[i]=t[i].call(this,r[i]);return wt(e,this,r)}))})),Ra=Vr((function(e,t){var r=on(t,ro(Ra));return Gi(e,a,n,t,r)})),Da=Vr((function(e,t){var r=on(t,ro(Da));return Gi(e,64,n,t,r)})),Pa=Ji((function(e,t){return Gi(e,256,n,n,n,t)}));function Ia(e,t){return e===t||e!=e&&t!=t}var za=$i(kr),Ba=$i((function(e,t){return e>=t})),ja=Mr(function(){return arguments}())?Mr:function(e){return Ka(e)&&Re.call(e,"callee")&&!Ve.call(e,"callee")},Fa=ye.isArray,Ha=gt?Gt(gt):function(e){return Ka(e)&&xr(e)==L};function $a(e){return null!=e&&Xa(e.length)&&!Ga(e)}function Ua(e){return Ka(e)&&$a(e)}var qa=$t||fl,Wa=mt?Gt(mt):function(e){return Ka(e)&&xr(e)==m};function Va(e){if(!Ka(e))return!1;var t=xr(e);return t==v||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!es(e)}function Ga(e){if(!Za(e))return!1;var t=xr(e);return t==b||t==y||"[object AsyncFunction]"==t||"[object Proxy]"==t}function Ya(e){return"number"==typeof e&&e==us(e)}function Xa(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=c}function Za(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function Ka(e){return null!=e&&"object"==typeof e}var Ja=vt?Gt(vt):function(e){return Ka(e)&&uo(e)==_};function Qa(e){return"number"==typeof e||Ka(e)&&xr(e)==w}function es(e){if(!Ka(e)||xr(e)!=x)return!1;var t=qe(e);if(null===t)return!0;var n=Re.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&Oe.call(n)==ze}var ts=bt?Gt(bt):function(e){return Ka(e)&&xr(e)==C},ns=yt?Gt(yt):function(e){return Ka(e)&&uo(e)==S};function rs(e){return"string"==typeof e||!Fa(e)&&Ka(e)&&xr(e)==T}function is(e){return"symbol"==typeof e||Ka(e)&&xr(e)==A}var os=_t?Gt(_t):function(e){return Ka(e)&&Xa(e.length)&&!!nt[xr(e)]},as=$i(Dr),ss=$i((function(e,t){return e<=t}));function ls(e){if(!e)return[];if($a(e))return rs(e)?ln(e):Si(e);if(Je&&e[Je])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[Je]());var t=uo(e);return(t==_?nn:t==S?an:Is)(e)}function cs(e){return e?(e=fs(e))===l||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}function us(e){var t=cs(e),n=t%1;return t==t?n?t-n:t:0}function ds(e){return e?ir(us(e),0,d):0}function fs(e){if("number"==typeof e)return e;if(is(e))return u;if(Za(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=Za(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Vt(e);var n=fe.test(e);return n||pe.test(e)?at(e.slice(2),n?2:8):de.test(e)?u:+e}function hs(e){return Ti(e,Ms(e))}function ps(e){return null==e?"":oi(e)}var gs=Mi((function(e,t){if(_o(t)||$a(t))Ti(t,As(t),e);else for(var n in t)Re.call(t,n)&&Jn(e,n,t[n])})),ms=Mi((function(e,t){Ti(t,Ms(t),e)})),vs=Mi((function(e,t,n,r){Ti(t,Ms(t),e,r)})),bs=Mi((function(e,t,n,r){Ti(t,As(t),e,r)})),ys=Ji(rr),_s=Vr((function(e,t){e=Ce(e);var r=-1,i=t.length,o=i>2?t[2]:n;for(o&&mo(t[0],t[1],o)&&(i=1);++r<i;)for(var a=t[r],s=Ms(a),l=-1,c=s.length;++l<c;){var u=s[l],d=e[u];(d===n||Ia(d,Ee[u])&&!Re.call(e,u))&&(e[u]=a[u])}return e})),ws=Vr((function(e){return e.push(n,Xi),wt(Es,n,e)}));function xs(e,t,r){var i=null==e?n:_r(e,t);return i===n?r:i}function ks(e,t){return null!=e&&fo(e,t,Sr)}var Cs=zi((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=Ie.call(t)),e[t]=n}),Zs(Qs)),Ss=zi((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=Ie.call(t)),Re.call(e,t)?e[t].push(n):e[t]=[n]}),io),Ts=Vr(Ar);function As(e){return $a(e)?Gn(e):Rr(e)}function Ms(e){return $a(e)?Gn(e,!0):function(e){if(!Za(e))return function(e){var t=[];if(null!=e)for(var n in Ce(e))t.push(n);return t}(e);var t=_o(e),n=[];for(var r in e)("constructor"!=r||!t&&Re.call(e,r))&&n.push(r);return n}(e)}var Ls=Mi((function(e,t,n){Br(e,t,n)})),Es=Mi((function(e,t,n,r){Br(e,t,n,r)})),Ns=Ji((function(e,t){var n={};if(null==e)return n;var r=!1;t=Lt(t,(function(t){return t=gi(t,e),r||(r=t.length>1),t})),Ti(e,eo(e),n),r&&(n=or(n,7,Zi));for(var i=t.length;i--;)si(n,t[i]);return n})),Os=Ji((function(e,t){return null==e?{}:function(e,t){return Hr(e,t,(function(t,n){return ks(e,n)}))}(e,t)}));function Rs(e,t){if(null==e)return{};var n=Lt(eo(e),(function(e){return[e]}));return t=io(t),Hr(e,n,(function(e,n){return t(e,n[0])}))}var Ds=Vi(As),Ps=Vi(Ms);function Is(e){return null==e?[]:Yt(e,As(e))}var zs=Oi((function(e,t,n){return t=t.toLowerCase(),e+(n?Bs(t):t)}));function Bs(e){return Vs(ps(e).toLowerCase())}function js(e){return(e=ps(e))&&e.replace(me,Jt).replace(Xe,"")}var Fs=Oi((function(e,t,n){return e+(n?"-":"")+t.toLowerCase()})),Hs=Oi((function(e,t,n){return e+(n?" ":"")+t.toLowerCase()})),$s=Ni("toLowerCase"),Us=Oi((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()})),qs=Oi((function(e,t,n){return e+(n?" ":"")+Vs(t)})),Ws=Oi((function(e,t,n){return e+(n?" ":"")+t.toUpperCase()})),Vs=Ni("toUpperCase");function Gs(e,t,r){return e=ps(e),(t=r?n:t)===n?function(e){return Qe.test(e)}(e)?function(e){return e.match(Ke)||[]}(e):function(e){return e.match(ae)||[]}(e):e.match(t)||[]}var Ys=Vr((function(e,t){try{return wt(e,n,t)}catch(e){return Va(e)?e:new we(e)}})),Xs=Ji((function(e,t){return kt(t,(function(t){t=Ro(t),nr(e,t,Sa(e[t],e))})),e}));function Zs(e){return function(){return e}}var Ks=Pi(),Js=Pi(!0);function Qs(e){return e}function el(e){return Or("function"==typeof e?e:or(e,1))}var tl=Vr((function(e,t){return function(n){return Ar(n,e,t)}})),nl=Vr((function(e,t){return function(n){return Ar(e,n,t)}}));function rl(e,t,n){var r=As(t),i=yr(t,r);null!=n||Za(t)&&(i.length||!r.length)||(n=t,t=e,e=this,i=yr(t,As(t)));var o=!(Za(n)&&"chain"in n&&!n.chain),a=Ga(e);return kt(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__=Si(this.__actions__)).push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,Et([this.value()],arguments))})})),e}function il(){}var ol=ji(Lt),al=ji(St),sl=ji(Rt);function ll(e){return vo(e)?Ht(Ro(e)):function(e){return function(t){return _r(t,e)}}(e)}var cl=Hi(),ul=Hi(!0);function dl(){return[]}function fl(){return!1}var hl,pl=Bi((function(e,t){return e+t}),0),gl=qi("ceil"),ml=Bi((function(e,t){return e/t}),1),vl=qi("floor"),bl=Bi((function(e,t){return e*t}),1),yl=qi("round"),_l=Bi((function(e,t){return e-t}),0);return zn.after=function(e,t){if("function"!=typeof t)throw new Ae(r);return e=us(e),function(){if(--e<1)return t.apply(this,arguments)}},zn.ary=ka,zn.assign=gs,zn.assignIn=ms,zn.assignInWith=vs,zn.assignWith=bs,zn.at=ys,zn.before=Ca,zn.bind=Sa,zn.bindAll=Xs,zn.bindKey=Ta,zn.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return Fa(e)?e:[e]},zn.chain=la,zn.chunk=function(e,t,r){t=(r?mo(e,t,r):t===n)?1:gn(us(t),0);var i=null==e?0:e.length;if(!i||t<1)return[];for(var o=0,a=0,s=ye(ht(i/t));o<i;)s[a++]=Qr(e,o,o+=t);return s},zn.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},zn.concat=function(){var e=arguments.length;if(!e)return[];for(var t=ye(e-1),n=arguments[0],r=e;r--;)t[r-1]=arguments[r];return Et(Fa(n)?Si(n):[n],pr(t,1))},zn.cond=function(e){var t=null==e?0:e.length,n=io();return e=t?Lt(e,(function(e){if("function"!=typeof e[1])throw new Ae(r);return[n(e[0]),e[1]]})):[],Vr((function(n){for(var r=-1;++r<t;){var i=e[r];if(wt(i[0],this,n))return wt(i[1],this,n)}}))},zn.conforms=function(e){return function(e){var t=As(e);return function(n){return ar(n,e,t)}}(or(e,1))},zn.constant=Zs,zn.countBy=da,zn.create=function(e,t){var n=Bn(e);return null==t?n:tr(n,t)},zn.curry=function e(t,r,i){var o=Gi(t,8,n,n,n,n,n,r=i?n:r);return o.placeholder=e.placeholder,o},zn.curryRight=function e(t,r,i){var o=Gi(t,16,n,n,n,n,n,r=i?n:r);return o.placeholder=e.placeholder,o},zn.debounce=Aa,zn.defaults=_s,zn.defaultsDeep=ws,zn.defer=Ma,zn.delay=La,zn.difference=Io,zn.differenceBy=zo,zn.differenceWith=Bo,zn.drop=function(e,t,r){var i=null==e?0:e.length;return i?Qr(e,(t=r||t===n?1:us(t))<0?0:t,i):[]},zn.dropRight=function(e,t,r){var i=null==e?0:e.length;return i?Qr(e,0,(t=i-(t=r||t===n?1:us(t)))<0?0:t):[]},zn.dropRightWhile=function(e,t){return e&&e.length?ci(e,io(t,3),!0,!0):[]},zn.dropWhile=function(e,t){return e&&e.length?ci(e,io(t,3),!0):[]},zn.fill=function(e,t,r,i){var o=null==e?0:e.length;return o?(r&&"number"!=typeof r&&mo(e,t,r)&&(r=0,i=o),function(e,t,r,i){var o=e.length;for((r=us(r))<0&&(r=-r>o?0:o+r),(i=i===n||i>o?o:us(i))<0&&(i+=o),i=r>i?0:ds(i);r<i;)e[r++]=t;return e}(e,t,r,i)):[]},zn.filter=function(e,t){return(Fa(e)?Tt:hr)(e,io(t,3))},zn.flatMap=function(e,t){return pr(ya(e,t),1)},zn.flatMapDeep=function(e,t){return pr(ya(e,t),l)},zn.flatMapDepth=function(e,t,r){return r=r===n?1:us(r),pr(ya(e,t),r)},zn.flatten=Ho,zn.flattenDeep=function(e){return null!=e&&e.length?pr(e,l):[]},zn.flattenDepth=function(e,t){return null!=e&&e.length?pr(e,t=t===n?1:us(t)):[]},zn.flip=function(e){return Gi(e,512)},zn.flow=Ks,zn.flowRight=Js,zn.fromPairs=function(e){for(var t=-1,n=null==e?0:e.length,r={};++t<n;){var i=e[t];nr(r,i[0],i[1])}return r},zn.functions=function(e){return null==e?[]:yr(e,As(e))},zn.functionsIn=function(e){return null==e?[]:yr(e,Ms(e))},zn.groupBy=ma,zn.initial=function(e){return null!=e&&e.length?Qr(e,0,-1):[]},zn.intersection=Uo,zn.intersectionBy=qo,zn.intersectionWith=Wo,zn.invert=Cs,zn.invertBy=Ss,zn.invokeMap=va,zn.iteratee=el,zn.keyBy=ba,zn.keys=As,zn.keysIn=Ms,zn.map=ya,zn.mapKeys=function(e,t){var n={};return t=io(t,3),vr(e,(function(e,r,i){nr(n,t(e,r,i),e)})),n},zn.mapValues=function(e,t){var n={};return t=io(t,3),vr(e,(function(e,r,i){nr(n,r,t(e,r,i))})),n},zn.matches=function(e){return Ir(or(e,1))},zn.matchesProperty=function(e,t){return zr(e,or(t,1))},zn.memoize=Ea,zn.merge=Ls,zn.mergeWith=Es,zn.method=tl,zn.methodOf=nl,zn.mixin=rl,zn.negate=Na,zn.nthArg=function(e){return e=us(e),Vr((function(t){return jr(t,e)}))},zn.omit=Ns,zn.omitBy=function(e,t){return Rs(e,Na(io(t)))},zn.once=function(e){return Ca(2,e)},zn.orderBy=function(e,t,r,i){return null==e?[]:(Fa(t)||(t=null==t?[]:[t]),Fa(r=i?n:r)||(r=null==r?[]:[r]),Fr(e,t,r))},zn.over=ol,zn.overArgs=Oa,zn.overEvery=al,zn.overSome=sl,zn.partial=Ra,zn.partialRight=Da,zn.partition=_a,zn.pick=Os,zn.pickBy=Rs,zn.property=ll,zn.propertyOf=function(e){return function(t){return null==e?n:_r(e,t)}},zn.pull=Go,zn.pullAll=Yo,zn.pullAllBy=function(e,t,n){return e&&e.length&&t&&t.length?$r(e,t,io(n,2)):e},zn.pullAllWith=function(e,t,r){return e&&e.length&&t&&t.length?$r(e,t,n,r):e},zn.pullAt=Xo,zn.range=cl,zn.rangeRight=ul,zn.rearg=Pa,zn.reject=function(e,t){return(Fa(e)?Tt:hr)(e,Na(io(t,3)))},zn.remove=function(e,t){var n=[];if(!e||!e.length)return n;var r=-1,i=[],o=e.length;for(t=io(t,3);++r<o;){var a=e[r];t(a,r,e)&&(n.push(a),i.push(r))}return Ur(e,i),n},zn.rest=function(e,t){if("function"!=typeof e)throw new Ae(r);return Vr(e,t=t===n?t:us(t))},zn.reverse=Zo,zn.sampleSize=function(e,t,r){return t=(r?mo(e,t,r):t===n)?1:us(t),(Fa(e)?Xn:Yr)(e,t)},zn.set=function(e,t,n){return null==e?e:Xr(e,t,n)},zn.setWith=function(e,t,r,i){return i="function"==typeof i?i:n,null==e?e:Xr(e,t,r,i)},zn.shuffle=function(e){return(Fa(e)?Zn:Jr)(e)},zn.slice=function(e,t,r){var i=null==e?0:e.length;return i?(r&&"number"!=typeof r&&mo(e,t,r)?(t=0,r=i):(t=null==t?0:us(t),r=r===n?i:us(r)),Qr(e,t,r)):[]},zn.sortBy=wa,zn.sortedUniq=function(e){return e&&e.length?ri(e):[]},zn.sortedUniqBy=function(e,t){return e&&e.length?ri(e,io(t,2)):[]},zn.split=function(e,t,r){return r&&"number"!=typeof r&&mo(e,t,r)&&(t=r=n),(r=r===n?d:r>>>0)?(e=ps(e))&&("string"==typeof t||null!=t&&!ts(t))&&!(t=oi(t))&&tn(e)?vi(ln(e),0,r):e.split(t,r):[]},zn.spread=function(e,t){if("function"!=typeof e)throw new Ae(r);return t=null==t?0:gn(us(t),0),Vr((function(n){var r=n[t],i=vi(n,0,t);return r&&Et(i,r),wt(e,this,i)}))},zn.tail=function(e){var t=null==e?0:e.length;return t?Qr(e,1,t):[]},zn.take=function(e,t,r){return e&&e.length?Qr(e,0,(t=r||t===n?1:us(t))<0?0:t):[]},zn.takeRight=function(e,t,r){var i=null==e?0:e.length;return i?Qr(e,(t=i-(t=r||t===n?1:us(t)))<0?0:t,i):[]},zn.takeRightWhile=function(e,t){return e&&e.length?ci(e,io(t,3),!1,!0):[]},zn.takeWhile=function(e,t){return e&&e.length?ci(e,io(t,3)):[]},zn.tap=function(e,t){return t(e),e},zn.throttle=function(e,t,n){var i=!0,o=!0;if("function"!=typeof e)throw new Ae(r);return Za(n)&&(i="leading"in n?!!n.leading:i,o="trailing"in n?!!n.trailing:o),Aa(e,t,{leading:i,maxWait:t,trailing:o})},zn.thru=ca,zn.toArray=ls,zn.toPairs=Ds,zn.toPairsIn=Ps,zn.toPath=function(e){return Fa(e)?Lt(e,Ro):is(e)?[e]:Si(Oo(ps(e)))},zn.toPlainObject=hs,zn.transform=function(e,t,n){var r=Fa(e),i=r||qa(e)||os(e);if(t=io(t,4),null==n){var o=e&&e.constructor;n=i?r?new o:[]:Za(e)&&Ga(o)?Bn(qe(e)):{}}return(i?kt:vr)(e,(function(e,r,i){return t(n,e,r,i)})),n},zn.unary=function(e){return ka(e,1)},zn.union=Ko,zn.unionBy=Jo,zn.unionWith=Qo,zn.uniq=function(e){return e&&e.length?ai(e):[]},zn.uniqBy=function(e,t){return e&&e.length?ai(e,io(t,2)):[]},zn.uniqWith=function(e,t){return t="function"==typeof t?t:n,e&&e.length?ai(e,n,t):[]},zn.unset=function(e,t){return null==e||si(e,t)},zn.unzip=ea,zn.unzipWith=ta,zn.update=function(e,t,n){return null==e?e:li(e,t,pi(n))},zn.updateWith=function(e,t,r,i){return i="function"==typeof i?i:n,null==e?e:li(e,t,pi(r),i)},zn.values=Is,zn.valuesIn=function(e){return null==e?[]:Yt(e,Ms(e))},zn.without=na,zn.words=Gs,zn.wrap=function(e,t){return Ra(pi(t),e)},zn.xor=ra,zn.xorBy=ia,zn.xorWith=oa,zn.zip=aa,zn.zipObject=function(e,t){return fi(e||[],t||[],Jn)},zn.zipObjectDeep=function(e,t){return fi(e||[],t||[],Xr)},zn.zipWith=sa,zn.entries=Ds,zn.entriesIn=Ps,zn.extend=ms,zn.extendWith=vs,rl(zn,zn),zn.add=pl,zn.attempt=Ys,zn.camelCase=zs,zn.capitalize=Bs,zn.ceil=gl,zn.clamp=function(e,t,r){return r===n&&(r=t,t=n),r!==n&&(r=(r=fs(r))==r?r:0),t!==n&&(t=(t=fs(t))==t?t:0),ir(fs(e),t,r)},zn.clone=function(e){return or(e,4)},zn.cloneDeep=function(e){return or(e,5)},zn.cloneDeepWith=function(e,t){return or(e,5,t="function"==typeof t?t:n)},zn.cloneWith=function(e,t){return or(e,4,t="function"==typeof t?t:n)},zn.conformsTo=function(e,t){return null==t||ar(e,t,As(t))},zn.deburr=js,zn.defaultTo=function(e,t){return null==e||e!=e?t:e},zn.divide=ml,zn.endsWith=function(e,t,r){e=ps(e),t=oi(t);var i=e.length,o=r=r===n?i:ir(us(r),0,i);return(r-=t.length)>=0&&e.slice(r,o)==t},zn.eq=Ia,zn.escape=function(e){return(e=ps(e))&&V.test(e)?e.replace(q,Qt):e},zn.escapeRegExp=function(e){return(e=ps(e))&&ee.test(e)?e.replace(Q,"\\$&"):e},zn.every=function(e,t,r){var i=Fa(e)?St:dr;return r&&mo(e,t,r)&&(t=n),i(e,io(t,3))},zn.find=fa,zn.findIndex=jo,zn.findKey=function(e,t){return Pt(e,io(t,3),vr)},zn.findLast=ha,zn.findLastIndex=Fo,zn.findLastKey=function(e,t){return Pt(e,io(t,3),br)},zn.floor=vl,zn.forEach=pa,zn.forEachRight=ga,zn.forIn=function(e,t){return null==e?e:gr(e,io(t,3),Ms)},zn.forInRight=function(e,t){return null==e?e:mr(e,io(t,3),Ms)},zn.forOwn=function(e,t){return e&&vr(e,io(t,3))},zn.forOwnRight=function(e,t){return e&&br(e,io(t,3))},zn.get=xs,zn.gt=za,zn.gte=Ba,zn.has=function(e,t){return null!=e&&fo(e,t,Cr)},zn.hasIn=ks,zn.head=$o,zn.identity=Qs,zn.includes=function(e,t,n,r){e=$a(e)?e:Is(e),n=n&&!r?us(n):0;var i=e.length;return n<0&&(n=gn(i+n,0)),rs(e)?n<=i&&e.indexOf(t,n)>-1:!!i&&zt(e,t,n)>-1},zn.indexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=null==n?0:us(n);return i<0&&(i=gn(r+i,0)),zt(e,t,i)},zn.inRange=function(e,t,r){return t=cs(t),r===n?(r=t,t=0):r=cs(r),function(e,t,n){return e>=mn(t,n)&&e<gn(t,n)}(e=fs(e),t,r)},zn.invoke=Ts,zn.isArguments=ja,zn.isArray=Fa,zn.isArrayBuffer=Ha,zn.isArrayLike=$a,zn.isArrayLikeObject=Ua,zn.isBoolean=function(e){return!0===e||!1===e||Ka(e)&&xr(e)==g},zn.isBuffer=qa,zn.isDate=Wa,zn.isElement=function(e){return Ka(e)&&1===e.nodeType&&!es(e)},zn.isEmpty=function(e){if(null==e)return!0;if($a(e)&&(Fa(e)||"string"==typeof e||"function"==typeof e.splice||qa(e)||os(e)||ja(e)))return!e.length;var t=uo(e);if(t==_||t==S)return!e.size;if(_o(e))return!Rr(e).length;for(var n in e)if(Re.call(e,n))return!1;return!0},zn.isEqual=function(e,t){return Lr(e,t)},zn.isEqualWith=function(e,t,r){var i=(r="function"==typeof r?r:n)?r(e,t):n;return i===n?Lr(e,t,n,r):!!i},zn.isError=Va,zn.isFinite=function(e){return"number"==typeof e&&fn(e)},zn.isFunction=Ga,zn.isInteger=Ya,zn.isLength=Xa,zn.isMap=Ja,zn.isMatch=function(e,t){return e===t||Er(e,t,ao(t))},zn.isMatchWith=function(e,t,r){return r="function"==typeof r?r:n,Er(e,t,ao(t),r)},zn.isNaN=function(e){return Qa(e)&&e!=+e},zn.isNative=function(e){if(yo(e))throw new we("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return Nr(e)},zn.isNil=function(e){return null==e},zn.isNull=function(e){return null===e},zn.isNumber=Qa,zn.isObject=Za,zn.isObjectLike=Ka,zn.isPlainObject=es,zn.isRegExp=ts,zn.isSafeInteger=function(e){return Ya(e)&&e>=-9007199254740991&&e<=c},zn.isSet=ns,zn.isString=rs,zn.isSymbol=is,zn.isTypedArray=os,zn.isUndefined=function(e){return e===n},zn.isWeakMap=function(e){return Ka(e)&&uo(e)==M},zn.isWeakSet=function(e){return Ka(e)&&"[object WeakSet]"==xr(e)},zn.join=function(e,t){return null==e?"":hn.call(e,t)},zn.kebabCase=Fs,zn.last=Vo,zn.lastIndexOf=function(e,t,r){var i=null==e?0:e.length;if(!i)return-1;var o=i;return r!==n&&(o=(o=us(r))<0?gn(i+o,0):mn(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):It(e,jt,o,!0)},zn.lowerCase=Hs,zn.lowerFirst=$s,zn.lt=as,zn.lte=ss,zn.max=function(e){return e&&e.length?fr(e,Qs,kr):n},zn.maxBy=function(e,t){return e&&e.length?fr(e,io(t,2),kr):n},zn.mean=function(e){return Ft(e,Qs)},zn.meanBy=function(e,t){return Ft(e,io(t,2))},zn.min=function(e){return e&&e.length?fr(e,Qs,Dr):n},zn.minBy=function(e,t){return e&&e.length?fr(e,io(t,2),Dr):n},zn.stubArray=dl,zn.stubFalse=fl,zn.stubObject=function(){return{}},zn.stubString=function(){return""},zn.stubTrue=function(){return!0},zn.multiply=bl,zn.nth=function(e,t){return e&&e.length?jr(e,us(t)):n},zn.noConflict=function(){return ct._===this&&(ct._=Be),this},zn.noop=il,zn.now=xa,zn.pad=function(e,t,n){e=ps(e);var r=(t=us(t))?sn(e):0;if(!t||r>=t)return e;var i=(t-r)/2;return Fi(pt(i),n)+e+Fi(ht(i),n)},zn.padEnd=function(e,t,n){e=ps(e);var r=(t=us(t))?sn(e):0;return t&&r<t?e+Fi(t-r,n):e},zn.padStart=function(e,t,n){e=ps(e);var r=(t=us(t))?sn(e):0;return t&&r<t?Fi(t-r,n)+e:e},zn.parseInt=function(e,t,n){return n||null==t?t=0:t&&(t=+t),bn(ps(e).replace(te,""),t||0)},zn.random=function(e,t,r){if(r&&"boolean"!=typeof r&&mo(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=cs(e),t===n?(t=e,e=0):t=cs(t)),e>t){var i=e;e=t,t=i}if(r||e%1||t%1){var o=yn();return mn(e+o*(t-e+ot("1e-"+((o+"").length-1))),t)}return qr(e,t)},zn.reduce=function(e,t,n){var r=Fa(e)?Nt:Ut,i=arguments.length<3;return r(e,io(t,4),n,i,cr)},zn.reduceRight=function(e,t,n){var r=Fa(e)?Ot:Ut,i=arguments.length<3;return r(e,io(t,4),n,i,ur)},zn.repeat=function(e,t,r){return t=(r?mo(e,t,r):t===n)?1:us(t),Wr(ps(e),t)},zn.replace=function(){var e=arguments,t=ps(e[0]);return e.length<3?t:t.replace(e[1],e[2])},zn.result=function(e,t,r){var i=-1,o=(t=gi(t,e)).length;for(o||(o=1,e=n);++i<o;){var a=null==e?n:e[Ro(t[i])];a===n&&(i=o,a=r),e=Ga(a)?a.call(e):a}return e},zn.round=yl,zn.runInContext=e,zn.sample=function(e){return(Fa(e)?Yn:Gr)(e)},zn.size=function(e){if(null==e)return 0;if($a(e))return rs(e)?sn(e):e.length;var t=uo(e);return t==_||t==S?e.size:Rr(e).length},zn.snakeCase=Us,zn.some=function(e,t,r){var i=Fa(e)?Rt:ei;return r&&mo(e,t,r)&&(t=n),i(e,io(t,3))},zn.sortedIndex=function(e,t){return ti(e,t)},zn.sortedIndexBy=function(e,t,n){return ni(e,t,io(n,2))},zn.sortedIndexOf=function(e,t){var n=null==e?0:e.length;if(n){var r=ti(e,t);if(r<n&&Ia(e[r],t))return r}return-1},zn.sortedLastIndex=function(e,t){return ti(e,t,!0)},zn.sortedLastIndexBy=function(e,t,n){return ni(e,t,io(n,2),!0)},zn.sortedLastIndexOf=function(e,t){if(null!=e&&e.length){var n=ti(e,t,!0)-1;if(Ia(e[n],t))return n}return-1},zn.startCase=qs,zn.startsWith=function(e,t,n){return e=ps(e),n=null==n?0:ir(us(n),0,e.length),t=oi(t),e.slice(n,n+t.length)==t},zn.subtract=_l,zn.sum=function(e){return e&&e.length?qt(e,Qs):0},zn.sumBy=function(e,t){return e&&e.length?qt(e,io(t,2)):0},zn.template=function(e,t,r){var i=zn.templateSettings;r&&mo(e,t,r)&&(t=n),e=ps(e),t=bs({},t,i,Yi);var o=bs({},t.imports,i.imports,Yi),a=As(o),s=Yt(o,a);kt(a,(function(e){if(se.test(e))throw new we("Invalid `imports` option passed into `_.template`")}));var l,c,u=0,d=t.interpolate||ve,f="__p += '",h=Se((t.escape||ve).source+"|"+d.source+"|"+(d===X?ce:ve).source+"|"+(t.evaluate||ve).source+"|$","g"),p="//# sourceURL="+(Re.call(t,"sourceURL")?(t.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++tt+"]")+"\n";e.replace(h,(function(t,n,r,i,o,a){return r||(r=i),f+=e.slice(u,a).replace(be,en),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=Re.call(t,"variable")&&t.variable;if(g){if(se.test(g))throw new we("Invalid `variable` option passed into `_.template`")}else f="with (obj) {\n"+f+"\n}\n";f=(c?f.replace(F,""):f).replace(H,"$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=Ys((function(){return xe(a,p+"return "+f).apply(n,s)}));if(m.source=f,Va(m))throw m;return m},zn.times=function(e,t){if((e=us(e))<1||e>c)return[];var n=d,r=mn(e,d);t=io(t),e-=d;for(var i=Wt(r,t);++n<e;)t(n);return i},zn.toFinite=cs,zn.toInteger=us,zn.toLength=ds,zn.toLower=function(e){return ps(e).toLowerCase()},zn.toNumber=fs,zn.toSafeInteger=function(e){return e?ir(us(e),-9007199254740991,c):0===e?e:0},zn.toString=ps,zn.toUpper=function(e){return ps(e).toUpperCase()},zn.trim=function(e,t,r){if((e=ps(e))&&(r||t===n))return Vt(e);if(!e||!(t=oi(t)))return e;var i=ln(e),o=ln(t);return vi(i,Zt(i,o),Kt(i,o)+1).join("")},zn.trimEnd=function(e,t,r){if((e=ps(e))&&(r||t===n))return e.slice(0,cn(e)+1);if(!e||!(t=oi(t)))return e;var i=ln(e);return vi(i,0,Kt(i,ln(t))+1).join("")},zn.trimStart=function(e,t,r){if((e=ps(e))&&(r||t===n))return e.replace(te,"");if(!e||!(t=oi(t)))return e;var i=ln(e);return vi(i,Zt(i,ln(t))).join("")},zn.truncate=function(e,t){var r=30,i="...";if(Za(t)){var o="separator"in t?t.separator:o;r="length"in t?us(t.length):r,i="omission"in t?oi(t.omission):i}var a=(e=ps(e)).length;if(tn(e)){var s=ln(e);a=s.length}if(r>=a)return e;var l=r-sn(i);if(l<1)return i;var c=s?vi(s,0,l).join(""):e.slice(0,l);if(o===n)return c+i;if(s&&(l+=c.length-l),ts(o)){if(e.slice(l).search(o)){var u,d=c;for(o.global||(o=Se(o.source,ps(ue.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(oi(o),l)!=l){var h=c.lastIndexOf(o);h>-1&&(c=c.slice(0,h))}return c+i},zn.unescape=function(e){return(e=ps(e))&&W.test(e)?e.replace(U,un):e},zn.uniqueId=function(e){var t=++De;return ps(e)+t},zn.upperCase=Ws,zn.upperFirst=Vs,zn.each=pa,zn.eachRight=ga,zn.first=$o,rl(zn,(hl={},vr(zn,(function(e,t){Re.call(zn.prototype,t)||(hl[t]=e)})),hl),{chain:!1}),zn.VERSION="4.18.1",kt(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){zn[e].placeholder=zn})),kt(["drop","take"],(function(e,t){Hn.prototype[e]=function(r){r=r===n?1:gn(us(r),0);var i=this.__filtered__&&!t?new Hn(this):this.clone();return i.__filtered__?i.__takeCount__=mn(r,i.__takeCount__):i.__views__.push({size:mn(r,d),type:e+(i.__dir__<0?"Right":"")}),i},Hn.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),kt(["filter","map","takeWhile"],(function(e,t){var n=t+1,r=1==n||3==n;Hn.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:io(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}})),kt(["head","last"],(function(e,t){var n="take"+(t?"Right":"");Hn.prototype[e]=function(){return this[n](1).value()[0]}})),kt(["initial","tail"],(function(e,t){var n="drop"+(t?"":"Right");Hn.prototype[e]=function(){return this.__filtered__?new Hn(this):this[n](1)}})),Hn.prototype.compact=function(){return this.filter(Qs)},Hn.prototype.find=function(e){return this.filter(e).head()},Hn.prototype.findLast=function(e){return this.reverse().find(e)},Hn.prototype.invokeMap=Vr((function(e,t){return"function"==typeof e?new Hn(this):this.map((function(n){return Ar(n,e,t)}))})),Hn.prototype.reject=function(e){return this.filter(Na(io(e)))},Hn.prototype.slice=function(e,t){e=us(e);var r=this;return r.__filtered__&&(e>0||t<0)?new Hn(r):(e<0?r=r.takeRight(-e):e&&(r=r.drop(e)),t!==n&&(r=(t=us(t))<0?r.dropRight(-t):r.take(t-e)),r)},Hn.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Hn.prototype.toArray=function(){return this.take(d)},vr(Hn.prototype,(function(e,t){var r=/^(?:filter|find|map|reject)|While$/.test(t),i=/^(?:head|last)$/.test(t),o=zn[i?"take"+("last"==t?"Right":""):t],a=i||/^find/.test(t);o&&(zn.prototype[t]=function(){var t=this.__wrapped__,s=i?[1]:arguments,l=t instanceof Hn,c=s[0],u=l||Fa(t),d=function(e){var t=o.apply(zn,Et([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 Hn(this);var m=e.apply(t,s);return m.__actions__.push({func:ca,args:[d],thisArg:n}),new Fn(m,f)}return p&&g?e.apply(this,s):(m=this.thru(d),p?i?m.value()[0]:m.value():m)})})),kt(["pop","push","shift","sort","splice","unshift"],(function(e){var t=Me[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",r=/^(?:pop|shift)$/.test(e);zn.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var i=this.value();return t.apply(Fa(i)?i:[],e)}return this[n]((function(n){return t.apply(Fa(n)?n:[],e)}))}})),vr(Hn.prototype,(function(e,t){var n=zn[t];if(n){var r=n.name+"";Re.call(Mn,r)||(Mn[r]=[]),Mn[r].push({name:t,func:n})}})),Mn[Ii(n,2).name]=[{name:"wrapper",func:n}],Hn.prototype.clone=function(){var e=new Hn(this.__wrapped__);return e.__actions__=Si(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=Si(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=Si(this.__views__),e},Hn.prototype.reverse=function(){if(this.__filtered__){var e=new Hn(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},Hn.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=Fa(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=mn(t,e+a);break;case"takeRight":e=gn(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=mn(l,this.__takeCount__);if(!n||!r&&i==l&&h==l)return ui(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},zn.prototype.at=ua,zn.prototype.chain=function(){return la(this)},zn.prototype.commit=function(){return new Fn(this.value(),this.__chain__)},zn.prototype.next=function(){this.__values__===n&&(this.__values__=ls(this.value()));var e=this.__index__>=this.__values__.length;return{done:e,value:e?n:this.__values__[this.__index__++]}},zn.prototype.plant=function(e){for(var t,r=this;r instanceof jn;){var i=Po(r);i.__index__=0,i.__values__=n,t?o.__wrapped__=i:t=i;var o=i;r=r.__wrapped__}return o.__wrapped__=e,t},zn.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof Hn){var t=e;return this.__actions__.length&&(t=new Hn(this)),(t=t.reverse()).__actions__.push({func:ca,args:[Zo],thisArg:n}),new Fn(t,this.__chain__)}return this.thru(Zo)},zn.prototype.toJSON=zn.prototype.valueOf=zn.prototype.value=function(){return ui(this.__wrapped__,this.__actions__)},zn.prototype.first=zn.prototype.head,Je&&(zn.prototype[Je]=function(){return this}),zn}();dt?((dt.exports=dn)._=dn,ut._=dn):ct._=dn}).call(Tw)}(Sw,Sw.exports)),Sw.exports);const Mw=e=>{const{debounceTimeout:t=0,children:n}=e,r=fa(null),i=Da(r.current?.clientWidth??0),o=Da(r.current?.clientHeight??0),a=fa(!0);return ua((()=>()=>{a.current=!1}),[]),ua((()=>{if(!r.current)return;const e=Aw.debounce((e=>{a.current&&Ir((()=>{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]),qc("div",{ref:r,style:{width:"100%"},children:n(i.value,o.value)})};var Lw="styles_view__RIAGy",Ew="styles_imageCard__q1Tt-";const Nw=Go({width:0,height:0}),Ow=e=>qc(Mw,{children:(t,n)=>qc(Nw.Provider,{value:{width:t,height:n},children:qc("div",{className:"styles_wrapper__lYgmR",children:e.children})})}),Rw=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},Dw=Go(null),Pw=()=>{const e=ga(Dw);if(!e)throw new Error("ImageDiffContext must be used within a ImageDiffContextProvider");return e},Iw=e=>{const{children:t,diff:n}=e,r=(e=>{const t=ga(Nw),n=Da(!0),r=Da(null),i=Da(null),o=Da(null),a=Da(t);ua((()=>{a.value=t}),[t,a]);const s=Pa((()=>{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=Da(s.value[0]);$a((()=>{!1===n.value&&(l.value=s.value[0])}));const c=Pa((()=>0===s.value.length||!(!e.actual||null!==i.value)||!(!e.expected||null!==r.value)||!(!e.diff||null!==o.value))),u=Pa((()=>{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 ua((()=>{const t=new AbortController;return n.value=!0,Promise.all([Rw(e.expected),Rw(e.actual),Rw(e.diff)]).then((([e,a,s])=>{t.signal.aborted||Ir((()=>{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:u,images:{expected:r,actual:i,diff:o},diffMode:l}})(n);return qc(Dw.Provider,{value:r,children:t})},zw=Go((()=>{})),Bw=()=>{},jw=e=>{const{children:t,i18n:n}=e;return qc(zw.Provider,{value:n??Bw,children:t})},Fw=()=>ga(zw),Hw={diff:"Diff",actual:"Actual",expected:"Expected","side-by-side":"Side by side",overlay:"Overlay"},$w=()=>{const{diffModes:e,diffMode:t}=Pw(),n=Fw();return qc("div",{className:"styles_selector__znOxx",children:qc(ww,{children:qc(xw,{children:qc(qa,{each:e,children:e=>qc(kw,{tabId:e,isCurrentTab:t.value===e,onClick:()=>t.value=e,children:n?.(`mode.${e}`)??Hw[e]},e)})})})})};var Uw={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 qw=({className:e,skin:t,children:n,"data-testid":r})=>qc(Yc,{className:Ls(Uw.tag,e,t&&Uw[t]),bold:!0,size:"s",type:"ui","data-testid":r,children:n}),Ww=e=>{const{className:t,...n}=e;return qc("img",{className:Ls(t,"styles_image__tDz1w"),...n,draggable:!1})},Vw=e=>{const{diff:t,actual:n,expected:r,containerSize:i}=e;return Math.min(...[t,n,r,i].filter((e=>e>0)))},Gw=e=>{const{options:t,current:n,onChange:r}=e,i=Fw();return qc(cf,{size:"s",menuTrigger:({isOpened:e,onClick:t})=>qc(tu,{style:"ghost",size:"s",text:i(`image.${n}`)??Aw.capitalize(n),isExpanded:e,onClick:t}),children:qc(cf.Section,{children:t.filter((e=>e!==n)).map((e=>qc(cf.Item,{onClick:()=>r(e),children:i(`image.${e}`)??Aw.capitalize(e)},e)))})})},Yw=e=>{const{sizes:t,children:n}=e;return qc("div",{className:"styles_imageLabel__-Bqlj",children:[n,qc(qw,{skin:"secondary",children:`${t.width} × ${t.height}`})]})},Xw=()=>{const{images:e,imageDimensions:t,containerDimensions:n}=Pw(),r=Pa((()=>Vw({diff:t.value.diff.width,actual:t.value.actual.width,expected:t.value.expected.width,containerSize:n.value.width})));return qc("div",{className:Lw,children:qc("div",{className:Ew,children:[qc(Yw,{sizes:{height:e.diff.value?.naturalHeight??0,width:e.diff.value?.naturalWidth??0}}),qc(Ww,{src:e.diff.value?.src,width:r.value})]})})},Zw=()=>{const{images:e,imageDimensions:t,containerDimensions:n}=Pw(),r=Pa((()=>Vw({diff:t.value.diff.width,actual:t.value.actual.width,expected:t.value.expected.width,containerSize:n.value.width})));return qc("div",{className:Lw,children:qc("div",{className:Ew,children:[qc(Yw,{sizes:{height:e.actual.value?.naturalHeight??0,width:e.actual.value?.naturalWidth??0}}),qc(Ww,{src:e.actual.value?.src,width:r.value})]})})},Kw=()=>{const{images:e,imageDimensions:t,containerDimensions:n}=Pw(),r=Pa((()=>Vw({diff:t.value.diff.width,actual:t.value.actual.width,expected:t.value.expected.width,containerSize:n.value.width})));return qc("div",{className:Lw,children:qc("div",{className:Ew,children:[qc(Yw,{sizes:{height:e.expected.value?.naturalHeight??0,width:e.expected.value?.naturalWidth??0}}),qc(Ww,{src:e.expected.value?.src,width:r.value})]})})},Jw=()=>{const{images:e,imageDimensions:t,containerDimensions:n}=Pw(),r=e.expected.value,i=e.actual.value,o=Pa((()=>Vw({diff:t.value.diff.width,actual:t.value.actual.width,expected:t.value.expected.width,containerSize:n.value.width}))),a=Da(o.value/2),s=fa(null),l=Da(!1),c=Pa((()=>{const e=a.value;return e<0?0:e>o.value?o.value-3:a.value})),u=e=>{const t=s.current?.getBoundingClientRect();t&&(a.value=e-t.left)},d=()=>{l.value=!1},f=Pa((()=>{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 qc("div",{className:Lw,children:[qc(Yw,{sizes:{width:r?.naturalWidth??0,height:r?.naturalHeight??0}}),qc("div",{ref:s,className:"styles_overlayContainer__nBpEU",style:{width:o.value,height:f.value},children:[qc("div",{className:Ew,children:qc(Ww,{src:r?.src,width:o.value})}),qc("div",{className:Ew,style:{maxWidth:c.value},children:qc(Ww,{src:i?.src,width:o.value})}),qc("div",{className:"styles_overlayHandle__SYBWC",style:{transform:`translateX(${c.value}px)`,height:f.value},onPointerDown:e=>{e.preventDefault(),l.value=!0,e.currentTarget.setPointerCapture(e.pointerId),u(e.clientX)},onPointerMove:e=>{l.value&&u(e.clientX)},onPointerUp:d,onPointerCancel:d,onLostPointerCapture:d,"data-dragging":l.value||void 0})]})]})},Qw=()=>{const{images:e,imageDimensions:t,containerDimensions:n}=Pw(),r=Da("actual"),i=Da("expected"),o=Pa((()=>["actual","expected","diff"])),a=Pa((()=>["actual","expected","diff"])),s=Pa((()=>"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=Pa((()=>"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=Pa((()=>Vw({diff:t.value.diff.width,actual:t.value.actual.width,expected:t.value.expected.width,containerSize:n.value.width}))),u=Pa((()=>2*c.value+24>n.value.width?n.value.width/2-24:c.value)),d=u.value>320,[f,h]=s.value,[p,g]=l.value;return qc("div",{className:Lw,"data-row":d||void 0,children:[qc("div",{className:Ew,children:[qc(Yw,{sizes:f,children:qc(Gw,{options:o.value,current:r.value,onChange:e=>{r.value=e}})}),qc(Ww,{src:h,width:d?u.value:n.value.width})]}),qc("div",{className:Ew,children:[qc(Yw,{sizes:p,children:qc(Gw,{options:a.value,current:i.value,onChange:e=>{i.value=e}})}),qc(Ww,{src:g,width:d?u.value:n.value.width})]})]})},ex=()=>{const{diffMode:e}=Pw();switch(e.value){case"diff":return qc(Xw,{});case"actual":return qc(Zw,{});case"expected":return qc(Kw,{});case"side-by-side":return qc(Qw,{});case"overlay":return qc(Jw,{})}},tx=()=>{const e=Fw(),{isLoading:t,failedToLoad:n}=Pw();return t.value?qc(Gc,{size:"m"}):n.value?qc(ew,{title:e("empty.failed-to-load")??"Failed to load",icon:Wc.lineImagesImage}):qc(ko,{children:[qc($w,{}),qc(ex,{})]})},nx=e=>{const{i18n:t,diff:n}=e;return qc(jw,{i18n:t,children:qc(Ow,{children:qc(Iw,{diff:n,children:qc(tx,{})})})})},rx="<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>",ix={image:bw,svg:bw,json:vw,code:vw,uri:vw,css:vw,table:vw,html:vw,text:vw,video:({attachment:e,item:t})=>e&&"src"in e?qc("video",{"data-testid":"video-attachment-content",class:"styles_test-result-attachment-video__251vv",controls:!0,loop:!0,muted:!0,children:qc("source",{src:e.src,type:t.link.contentType})}):qc(Gc,{}),"image-diff":e=>{const{attachment:t,i18n:n}=e;return t&&"diff"in t?qc("div",{className:"styles_imageDiffWrapper__5nf3F",children:qc(nx,{diff:t.diff,i18n:n})}):qc(Gc,{})},archive:null},ox={html:({attachment:e})=>{const[t,n]=la(""),r=e.text??"",i=r.length>0?(e=>h_.sanitize(e,void 0))(r):"";return ua((()=>{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+rx)):/<body(\s[^>]*)?>/i.test(i)?i.replace(/<body(\s[^>]*)?>/i,(e=>e+rx)):rx+i);const t=new Blob([e],{type:"text/html"}),r=URL.createObjectURL(t);return n(r),()=>{URL.revokeObjectURL(r)}}}),[i]),i?qc("div",{className:"styles_html-attachment-preview__0-kmL",children:qc("iframe",{src:t,width:"100%",height:"100%",frameBorder:"0",sandbox:"allow-same-origin"})}):null}},ax=e=>{const{item:t,previewable:n,highlightCode:r=!0,i18n:i}=e,{link:{contentType:o,id:a,ext:s}}=t,l=Da(null),c=Da(!0),u=Da(!1),d=Ef(o),f=pa((async()=>{c.value=!0,u.value=!1;try{const e=await(async(e,t,n)=>{if(!e&&!t)return null;const r=await kf({id:e,ext:t,contentType:n}),i=Ef(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"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()};default:return null}})(a,s,o);Ir((()=>{c.value=!1,l.value=e}))}catch(e){Ir((()=>{c.value=!1,u.value=!0}))}}),[a,s,o,c,l,u]);if(ua((()=>{d&&f()}),[d,f]),!d)return null;if(c.value)return qc("div",{className:"styles_test-result-spinner__B3aF3",children:qc(Gc,{})});if(u.value)return qc(ew,{description:"Failed to load attachment",size:"xs",children:qc(eu,{style:"flat",icon:Wc.lineArrowsRefreshCcw1,onClick:f})});const h=ox[d],p=i?.["image-diff"===d?"imageDiff":d];if(n&&h)return qc(h,{attachment:l.value,item:t,i18n:p});const g=ix[d];if(!g)return null;const m=g===vw;return qc(g,{attachment:l.value,item:t,i18n:p,...m?{highlight:r}:{}})},sx=({code:e,children:t,className:n})=>(ua((()=>{fw.highlightAll()}),[]),qc("pre",{className:Ls("language-text line-numbers language-diff",n),children:[e&&qc("code",{children:e}),t]}));var lx="styles_modal-wrapper-fullscreen__11W3U",cx="styles_active__YdnV4";const ux=({changeThumb:e,children:t,isActiveThumb:n})=>qc("div",{className:Ls("styles_modal-thumb__O5sLe",{[cx]:n}),onClick:()=>()=>e?.(),children:t}),dx=({attachments:e=[]})=>{const t=e?.filter((({link:{contentType:e}})=>{const t=Ef(e);return!["archive",null].includes(t)}));return qc("div",{className:"styles_modal-gallery__w0J0I",children:t?.map((e=>qc(ux,{item:e,children:qc(ax,{item:e})},e?.link?.id)))})},fx=({data:e,isModalOpen:t,preview:n,component:r,attachments:i,closeModal:o,translations:a,title:s})=>{const{tooltipPreview:l,tooltipSyntaxHighlight:c,tooltipDownload:u,openInNewTabButton:d}=a,{link:f}=e||{},[h,p]=la(!1),[g,m]=la(!!n),[v,b]=la(!0),y=f?.contentType?.startsWith("image"),_=(e=>!!e&&Sf.includes(e))(f?.contentType),w=!(y||f?.contentType?.startsWith("video")||_&&g),x=(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=(Lf(t)??t.replace(/^\./,"")).toLowerCase(),r=e.includes(".")?e.split(".").pop():e;if(r){n=r;break}}return(!t||!Af.has(t))&&(!(!t||!Mf.has(t))||!!n&&Tf.has(n))})({contentType:f?.contentType,ext:f?.ext,name:f?.name,originalFileName:f?.originalFileName}),k=f?.id&&f?.ext&&f?.contentType,C=f?.name||f?.id&&f?.ext&&`${f.id}${f.ext}`||"",S=s||C;ua((()=>{t&&(m(!!n),b(!0))}),[t,n]);const T=ha((()=>r&&function(e){return function(e){return!!e&&e.$$typeof===Vd}(e)?Vo.apply(null,arguments):e}(r,{data:e,isFullScreen:h,previewable:g,highlightCode:v})),[r,e,h,g,v]);ua((()=>(document.body.style.overflow=t?"hidden":"",()=>{document.body.style.overflow=""})),[t]);return t?qc("div",{className:"styles_modal-overlay__xdM2o",onClick:o,children:qc("div",{className:Ls("styles_modal-content__2yYdb"),onClick:e=>e.stopPropagation(),children:[qc("div",{className:Ls("styles_modal-wrapper__KacuO",{[lx]:h}),children:[qc("div",{className:"styles_modal-header__IcCg9",children:[qc(Zc,{size:"s",children:S}),qc("div",{className:"styles_modal-buttons__OBqaM",children:[y&&qc(Qc,{style:"outline",onClick:async()=>{const{id:e,ext:t,contentType:n}=f||{};await(async(e,t,n)=>{if(!e&&!t)return;const r=await Cf(e,t,n),i=URL.createObjectURL(r);globalThis.open(i,"_blank")})(e,t,n)},icon:Wc.lineGeneralLinkExternal,text:d}),_&&qc(Sd,{tooltipText:l,children:qc(eu,{style:"outline",size:"m",iconSize:"s",icon:g?Wc.viewOff:Wc.view,onClick:()=>m(!g)})}),w&&x&&qc(Sd,{tooltipText:c??"Syntax highlighting",children:qc(eu,{className:Ls(!v&&"styles_syntax-highlight-off__q6J31"),style:"outline",size:"m",iconSize:"s",icon:Wc.lineDevCodeSquare,onClick:()=>b(!v)})}),k&&qc(Sd,{tooltipText:u,children:qc(eu,{style:"outline",size:"m",iconSize:"s",icon:Wc.lineGeneralDownloadCloud,onClick:e=>(async e=>{e.stopPropagation();const{id:t,ext:n,contentType:r}=f||{};t&&n&&r&&await(async(e,t,n)=>{if(!e&&!t)return;const r=`${e}${t}`,i=await Cf(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)})(e)})}),qc(eu,{iconSize:"m",style:"ghost",onClick:()=>p(!h),icon:h?Wc.lineLayoutsMinimize2:Wc.lineLayoutsMaximize2}),qc(eu,{iconSize:"m",style:"ghost",onClick:o,icon:Wc.lineGeneralXClose})]})]}),qc("div",{className:"styles_modal-data__tEK64",children:qc("div",{className:"styles_modal-data-component__3HBgz",children:T},e?.link?.id)})]}),i?.length&&qc(dx,{attachments:i})]})}):null};var hx={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","status-passed":"styles_status-passed__kTMq4","status-failed":"styles_status-failed__2uYs3","status-broken":"styles_status-broken__34I8R","status-skipped":"styles_status-skipped__MEGGW","status-unknown":"styles_status-unknown__p2KHg","tree-status-bar":"styles_tree-status-bar__LJ7Y1","tree-status-bar-item":"styles_tree-status-bar-item__Yofv2",passed:"styles_passed__SeJia",failed:"styles_failed__-3jyb",broken:"styles_broken__g7-KJ",skipped:"styles_skipped__RfV4j",unknown:"styles_unknown__hkDQ1","tree-empty-results":"styles_tree-empty-results__4EWH4","tree-empty-results-title":"styles_tree-empty-results-title__hGsAb","tree-empty-results-clear-button":"styles_tree-empty-results-clear-button__9nCUy",order:"styles_order__-yTyr","tree-item-marked":"styles_tree-item-marked__TW7os"};const{solidAlertCircle:px,solidCheckCircle:gx,solidHelpCircle:mx,solidMinusCircle:vx,solidXCircle:bx}=Wc,yx={failed:bx,broken:px,passed:gx,skipped:vx,unknown:mx},_x=({status:e="unknown",className:t,classNameIcon:n})=>{const r=Ls(hx[`status-${e}`],n);return qc("div",{"data-testid":`tree-leaf-status-${e}`,className:Ls(hx["tree-item-icon"],t),children:qc(Vc,{className:r,id:yx[e]})})};var wx={"tree-item-retries":"styles_tree-item-retries__dhixw"};const xx=({retriesCount:e=0})=>e>0?qc("div",{"data-testid":"tree-leaf-retries",className:wx["tree-item-retries"],children:[qc(Vc,{className:wx["tree-leaf-retries-icon"],id:Wc.lineArrowsRefreshCcw1}),qc(Yc,{type:"ui",size:"m",children:e})]}):null,kx=e=>{switch(e){case"new":return Wc.lineAlertsNew;case"fixed":return Wc.lineAlertsFixed;case"regressed":return Wc.lineAlertsRegressed;case"malfunctioned":return Wc.lineAlertsMalfunctioned;default:return Wc.lineAlertsAlertCircle}};var Cx={"item-info":"styles_item-info__ELNw-","item-info-time":"styles_item-info-time__fWpPK"};const Sx=({duration:e,retriesCount:t,flaky:n,transition:r,tooltips:i})=>{const o=_f(e);return qc("div",{className:Cx["item-info"],children:[n&&qc(Sd,{"data-testid":"tree-leaf-flaky-tooltip",tooltipText:i?.flaky,children:qc(Vc,{"data-testid":"tree-leaf-flaky",id:Wc.lineIconBomb2})}),Boolean(t)&&qc(Sd,{"data-testid":"tree-leaf-retries-tooltip",tooltipText:i?.retries,children:qc(xx,{retriesCount:t})}),r&&qc(Sd,{"data-testid":"tree-leaf-transition-tooltip",tooltipText:i?.transition,children:qc(Vc,{"data-testid":`tree-leaf-transition-${r}`,id:kx(r),className:Cx["item-info-transition"]})}),qc(Yc,{"data-testid":"tree-leaf-duration",type:"ui",size:"m",className:Cx["item-info-time"],children:o})]})},Tx=({name:e,groupOrder:t,status:n,duration:r,retriesCount:i,flaky:o,transition:a,transitionTooltip:s,id:l,marked:c,navigateTo:u,tooltips:d,...f})=>qc("div",{...f,className:Ls(hx["tree-item"],c?hx["tree-item-marked"]:""),onClick:()=>u(l),id:l,children:[qc(_x,{status:n}),qc(Xc,{"data-testid":"tree-leaf-order",size:"s",className:hx.order,children:t}),qc(Yc,{"data-testid":"tree-leaf-title",className:hx["item-title"],children:e}),qc(Sx,{"data-testid":"tree-leaf-info",duration:r,flaky:o,retriesCount:i,transition:a,transitionTooltip:s,tooltips:d})]}),Ax=({title:e,icon:t,isOpened:n,toggleTree:r,children:i,...o})=>qc("div",{"data-testid":"tree-section",...o,className:hx["tree-section"],onClick:r,children:[qc(ff,{"data-testid":"tree-arrow",isOpened:n}),t&&qc(Vc,{id:t,size:"xs"}),qc(Yc,{"data-testid":"tree-section-title",size:"m",bold:!0,className:hx["tree-section-title"],children:e}),i]}),Mx=({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?qc("div",{className:hx["tree-status-bar"],style:{width:`${a}px`},children:hf.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})=>qc("div",{className:Ls(hx["tree-status-bar-item"],hx[e]),style:{flexGrow:t},children:t},e)))}):null},Lx=({categoryTitle:e,isOpened:t,toggleTree:n,statistic:r,reportStatistic:i,statusFilter:o,actions:a,...s})=>qc(Ax,{...s,title:e,isOpened:t,toggleTree:n,children:[a,qc(Mx,{reportStatistic:i,statusFilter:o,statistic:r})]}),Ex=(e,t=!1)=>t||(e=>void 0===e||Boolean(e?.failed||e?.broken))(e),Nx=(e,t,n)=>t.has(e)?!n:n,Ox=e=>e.trees.length>0||e.leaves.length>0,Rx={"single-down":Wc.lineArrowsChevronDown,"single-up":Wc.lineArrowsChevronUp,"double-down":Wc.lineArrowsChevronDownDouble,"double-up":Wc.lineArrowsChevronUpDouble},Dx=({tree:e,statusFilter:t,root:n,name:r,statistic:i,reportStatistic:o,collapsedTrees:a,toggleTree:s,routeId:l,navigateTo:c})=>{const u=e.nodeId,d=Ex(i,Boolean(n)),f=Nx(u,a,d),h=Ox(e),p=(e=>Ox(e)&&0===e.trees.length)(e),g=h?(e=>{const t=[],n=[{tree:e,isRoot:!0}];for(;n.length>0;){const e=n.pop();e&&(t.push({id:e.tree.nodeId,openedByDefault:Ex(e.tree.statistic),isRoot:e.isRoot}),e.tree.trees.forEach((e=>n.push({tree:e,isRoot:!1}))))}return t})(e):[],[m,v]=la(null),b=!Nx(u,a,d),y=((e,t,n,r)=>!!r(e,t)&&n.filter((e=>!e.isRoot)).every((e=>!r(e.id,e.openedByDefault))))(u,d,g,((e,t)=>Nx(e,a,t))),_=h&&(e=>e.every((e=>((e,t)=>Nx(e,a,t))(e.id,e.openedByDefault))))(g),w=Rx[(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:p,isSubtreeCollapsedAll:b,isSubtreeFirstLevelOnly:y})],x=Boolean(r),k=e.trees.length>0||e.leaves.length>0,C=Ls({[hx["tree-content"]]:!0,[hx.root]:n});if(!k)return null;const S=e.trees.map((e=>qc(Dx,{name:e.name,tree:e,statistic:e.statistic,reportStatistic:o,statusFilter:t,collapsedTrees:a,toggleTree:s,routeId:l,navigateTo:c},e.nodeId))),T=e.leaves.map((e=>qc(Tx,{"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,navigateTo:c},e.nodeId))),A=h?qc(eu,{size:"xs",style:"ghost",icon:w,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:p,isSubtreeCollapsedAll:b,isSubtreeFirstLevelOnly:y,isSubtreeExpandedAll:_,lastSubtreeToggle:m});var n;n=t,g.forEach((e=>{const t="all"===n||"first"===n&&e.isRoot;Nx(e.id,a,e.openedByDefault)!==t&&s(e.id)})),"first"!==t&&v(t)},className:hx["tree-subtree-toggle"],"data-testid":"tree-subtree-toggle"}):void 0,M=f?qc("div",{"data-testid":"tree-content",className:C,children:[S,T]}):null;return qc("div",{className:hx.tree,children:[x?qc(Lx,{statusFilter:t,categoryTitle:r,isOpened:f,toggleTree:()=>{s(u),v(null)},statistic:i,reportStatistic:o,actions:A}):null,M]})};var Px={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 Ix=e=>{const{count:t,size:n="s",truncateCount:r=!1,status:i}=e,o=r&&t>99?"99+":t;return qc(Yc,{tag:"small",size:"l"===n?"m":"s",type:"ui",bold:!0,className:Ls(Px.counter,Px[`size-${n}`],i&&Px[`status-${i}`]),"data-testid":"counter",children:o})};const zx=e=>{const{children:t,onClick:n,href:r}=e;return qc(void 0===r?"button":"a",{href:r,onClick:n,className:"styles_link__BC-2O",children:t})};const Bx=e=>{const{className:t}=e;return qc(Yc,{type:"paragraph",size:"m",bold:!0,className:Ls("styles_text__BcILe",t),children:[qc(Vc,{id:Wc.reportLogo,size:"m",inline:!0,className:"styles_logo__jHlBl"}),qc("span",{children:"Allure Report"})]})};const jx=e=>{const{className:t,logo:n}=e;return qc("div",{className:Ls("styles_report-logo__OOEnL",t),children:n?qc("img",{src:n,alt:"report logo"}):qc(Vc,{id:Wc.reportLogo,inline:!0})})};const Fx=({children:e,title:t,centerContent:n,dropShadow:r=!0})=>qc("div",{className:"styles_widget__JLpmE","data-drop-shadow":r||void 0,children:[t&&qc("div",{className:"styles_header__yKZiz",children:qc(Zc,{size:"s",children:t})}),qc("div",{className:"styles_content__zvonT","data-center-content":n,children:e})]});function Hx(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 $x(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Hx(Object(n),!0).forEach((function(t){qx(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Hx(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ux(e){return Ux="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},Ux(e)}function qx(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Wx(){return Wx=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},Wx.apply(this,arguments)}function Vx(e){if("undefined"!=typeof window&&window.navigator)return!!navigator.userAgent.match(e)}var Gx=Vx(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),Yx=Vx(/Edge/i),Xx=Vx(/firefox/i),Zx=Vx(/safari/i)&&!Vx(/chrome/i)&&!Vx(/android/i),Kx=Vx(/iP(ad|od|hone)/i),Jx=Vx(/chrome/i)&&Vx(/android/i),Qx={capture:!1,passive:!1};function ek(e,t,n){e.addEventListener(t,n,!Gx&&Qx)}function tk(e,t,n){e.removeEventListener(t,n,!Gx&&Qx)}function nk(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 rk(e){return e.host&&e!==document&&e.host.nodeType?e.host:e.parentNode}function ik(e,t,n,r){if(e){n=n||document;do{if(null!=t&&(">"===t[0]?e.parentNode===n&&nk(e,t):nk(e,t))||r&&e===n)return e;if(e===n)break}while(e=rk(e))}return null}var ok,ak=/\s+/g;function sk(e,t,n){if(e&&t)if(e.classList)e.classList[n?"add":"remove"](t);else{var r=(" "+e.className+" ").replace(ak," ").replace(" "+t+" "," ");e.className=(r+(n?" "+t:"")).replace(ak," ")}}function lk(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 ck(e,t){var n="";if("string"==typeof e)n=e;else do{var r=lk(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 uk(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 dk(){return document.scrollingElement||document.documentElement}function fk(e,t,n,r,i){if(e.getBoundingClientRect||e===window){var o,a,s,l,c,u,d;if(e!==window&&e.parentNode&&e!==dk()?(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,!Gx))do{if(i&&i.getBoundingClientRect&&("none"!==lk(i,"transform")||n&&"static"!==lk(i,"position"))){var f=i.getBoundingClientRect();a-=f.top+parseInt(lk(i,"border-top-width")),s-=f.left+parseInt(lk(i,"border-left-width")),l=a+o.height,c=s+o.width;break}}while(i=i.parentNode);if(r&&e!==window){var h=ck(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 hk(e,t,n){for(var r=bk(e,!0),i=fk(e)[t];r;){if(!(i>=fk(r)[n]))return r;if(r===dk())break;r=bk(r,!1)}return!1}function pk(e,t,n,r){for(var i=0,o=0,a=e.children;o<a.length;){if("none"!==a[o].style.display&&a[o]!==wC.ghost&&(r||a[o]!==wC.dragged)&&ik(a[o],n.draggable,e,!1)){if(i===t)return a[o];i++}o++}return null}function gk(e,t){for(var n=e.lastElementChild;n&&(n===wC.ghost||"none"===lk(n,"display")||t&&!nk(n,t));)n=n.previousElementSibling;return n||null}function mk(e,t){var n=0;if(!e||!e.parentNode)return-1;for(;e=e.previousElementSibling;)"TEMPLATE"===e.nodeName.toUpperCase()||e===wC.clone||t&&!nk(e,t)||n++;return n}function vk(e){var t=0,n=0,r=dk();if(e)do{var i=ck(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 bk(e,t){if(!e||!e.getBoundingClientRect)return dk();var n=e,r=!1;do{if(n.clientWidth<n.scrollWidth||n.clientHeight<n.scrollHeight){var i=lk(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 dk();if(r||t)return n;r=!0}}}while(n=n.parentNode);return dk()}function yk(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 _k(e,t){return function(){if(!ok){var n=arguments;1===n.length?e.call(this,n[0]):e.apply(this,n),ok=setTimeout((function(){ok=void 0}),t)}}}function wk(e,t,n){e.scrollLeft+=t,e.scrollTop+=n}function xk(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 kk(e,t,n){var r={};return Array.from(e.children).forEach((function(i){var o,a,s,l;if(ik(i,t.draggable,e,!1)&&!i.animated&&i!==n){var c=fk(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 Ck="Sortable"+(new Date).getTime();var Sk=[],Tk={initializeByDefault:!0},Ak={mount:function(e){for(var t in Tk)Tk.hasOwnProperty(t)&&!(t in e)&&(e[t]=Tk[t]);Sk.forEach((function(t){if(t.pluginName===e.pluginName)throw"Sortable: Cannot mount plugin ".concat(e.pluginName," more than once")})),Sk.push(e)},pluginEvent:function(e,t,n){var r=this;this.eventCanceled=!1,n.cancel=function(){r.eventCanceled=!0};var i=e+"Global";Sk.forEach((function(r){t[r.pluginName]&&(t[r.pluginName][i]&&t[r.pluginName][i]($x({sortable:t},n)),t.options[r.pluginName]&&t[r.pluginName][e]&&t[r.pluginName][e]($x({sortable:t},n)))}))},initializePlugins:function(e,t,n,r){for(var i in Sk.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,Wx(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 Sk.forEach((function(r){"function"==typeof r.eventProperties&&Wx(n,r.eventProperties.call(t[r.pluginName],e))})),n},modifyOption:function(e,t,n){var r;return Sk.forEach((function(i){e[i.pluginName]&&i.optionListeners&&"function"==typeof i.optionListeners[t]&&(r=i.optionListeners[t].call(e[i.pluginName],n))})),r}},Mk=["evt"],Lk=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.evt,i=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(n,Mk);Ak.pluginEvent.bind(wC)(e,t,$x({dragEl:Nk,parentEl:Ok,ghostEl:Rk,rootEl:Dk,nextEl:Pk,lastDownEl:Ik,cloneEl:zk,cloneHidden:Bk,dragStarted:Kk,putSortable:qk,activeSortable:wC.active,originalEvent:r,oldIndex:jk,oldDraggableIndex:Hk,newIndex:Fk,newDraggableIndex:$k,hideGhostForTarget:vC,unhideGhostForTarget:bC,cloneNowHidden:function(){Bk=!0},cloneNowShown:function(){Bk=!1},dispatchSortableEvent:function(e){Ek({sortable:t,name:e,originalEvent:r})}},i))};function Ek(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[Ck]){var g,m=t.options,v="on"+r.charAt(0).toUpperCase()+r.substr(1);!window.CustomEvent||Gx||Yx?(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=$x($x({},p),Ak.getEventProperties(r,t));for(var y in b)g[y]=b[y];n&&n.dispatchEvent(g),m[v]&&m[v].call(t,g)}}($x({putSortable:qk,cloneEl:zk,targetEl:Nk,rootEl:Dk,oldIndex:jk,oldDraggableIndex:Hk,newIndex:Fk,newDraggableIndex:$k},e))}var Nk,Ok,Rk,Dk,Pk,Ik,zk,Bk,jk,Fk,Hk,$k,Uk,qk,Wk,Vk,Gk,Yk,Xk,Zk,Kk,Jk,Qk,eC,tC,nC=!1,rC=!1,iC=[],oC=!1,aC=!1,sC=[],lC=!1,cC=[],uC="undefined"!=typeof document,dC=Kx,fC=Yx||Gx?"cssFloat":"float",hC=uC&&!Jx&&!Kx&&"draggable"in document.createElement("div"),pC=function(){if(uC){if(Gx)return!1;var e=document.createElement("x");return e.style.cssText="pointer-events:auto","auto"===e.style.pointerEvents}}(),gC=function(e,t){var n=lk(e),r=parseInt(n.width)-parseInt(n.paddingLeft)-parseInt(n.paddingRight)-parseInt(n.borderLeftWidth)-parseInt(n.borderRightWidth),i=pk(e,0,t),o=pk(e,1,t),a=i&&lk(i),s=o&&lk(o),l=a&&parseInt(a.marginLeft)+parseInt(a.marginRight)+fk(i).width,c=s&&parseInt(s.marginLeft)+parseInt(s.marginRight)+fk(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[fC]||o&&"none"===n[fC]&&l+c>r)?"vertical":"horizontal"},mC=function(e){function t(e,n){return function(r,i,o,a){var s=r.options.group.name&&i.options.group.name&&r.options.group.name===i.options.group.name;if(null==e&&(n||s))return!0;if(null==e||!1===e)return!1;if(n&&"clone"===e)return e;if("function"==typeof e)return t(e(r,i,o,a),n)(r,i,o,a);var 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"==Ux(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},vC=function(){!pC&&Rk&&lk(Rk,"display","none")},bC=function(){!pC&&Rk&&lk(Rk,"display","")};uC&&!Jx&&document.addEventListener("click",(function(e){if(rC)return e.preventDefault(),e.stopPropagation&&e.stopPropagation(),e.stopImmediatePropagation&&e.stopImmediatePropagation(),rC=!1,!1}),!0);var yC=function(e){if(Nk){var t=function(e,t){var n;return iC.some((function(r){var i=r[Ck].options.emptyInsertThreshold;if(i&&!gk(r)){var o=fk(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[Ck]._onDragOver(n)}}},_C=function(e){Nk&&Nk.parentNode[Ck]._isOutsideThisEl(e.target)};function wC(e,t){if(!e||!e.nodeType||1!==e.nodeType)throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(e));this.el=e,this.options=t=Wx({},t),e[Ck]=this;var n={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(e.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return gC(e,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(e,t){e.setData("Text",t.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:!1!==wC.supportPointer&&"PointerEvent"in window&&(!Zx||Kx),emptyInsertThreshold:5};for(var r in Ak.initializePlugins(this,e,n),n)!(r in t)&&(t[r]=n[r]);for(var i in mC(t),this)"_"===i.charAt(0)&&"function"==typeof this[i]&&(this[i]=this[i].bind(this));this.nativeDraggable=!t.forceFallback&&hC,this.nativeDraggable&&(this.options.touchStartThreshold=1),t.supportPointer?ek(e,"pointerdown",this._onTapStart):(ek(e,"mousedown",this._onTapStart),ek(e,"touchstart",this._onTapStart)),this.nativeDraggable&&(ek(e,"dragover",this),ek(e,"dragenter",this)),iC.push(this.el),t.store&&t.store.get&&this.sort(t.store.get(this)||[]),Wx(this,function(){var e,t=[];return{captureAnimationState:function(){t=[],this.options.animation&&[].slice.call(this.el.children).forEach((function(e){if("none"!==lk(e,"display")&&e!==wC.ghost){t.push({target:e,rect:fk(e)});var n=$x({},t[t.length-1].rect);if(e.thisAnimationDuration){var r=ck(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=fk(n),l=n.prevFromRect,c=n.prevToRect,u=e.rect,d=ck(n,!0);d&&(s.top-=d.f,s.left-=d.e),n.toRect=s,n.thisAnimationDuration&&yk(l,s)&&!yk(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)),yk(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){lk(e,"transition",""),lk(e,"transform","");var i=ck(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,lk(e,"transform","translate3d("+s+"px,"+l+"px,0)"),this.forRepaintDummy=function(e){return e.offsetWidth}(e),lk(e,"transition","transform "+r+"ms"+(this.options.easing?" "+this.options.easing:"")),lk(e,"transform","translate3d(0,0,0)"),"number"==typeof e.animated&&clearTimeout(e.animated),e.animated=setTimeout((function(){lk(e,"transition",""),lk(e,"transform",""),e.animated=!1,e.animatingX=!1,e.animatingY=!1}),r)}}}}())}function xC(e,t,n,r,i,o,a,s){var l,c,u=e[Ck],d=u.options.onMove;return!window.CustomEvent||Gx||Yx?(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||fk(t),l.willInsertAfter=s,l.originalEvent=a,e.dispatchEvent(l),d&&(c=d.call(u,l,a)),c}function kC(e){e.draggable=!1}function CC(){lC=!1}function SC(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 TC(e){return setTimeout(e,0)}function AC(e){return clearTimeout(e)}wC.prototype={constructor:wC,_isOutsideThisEl:function(e){this.el.contains(e)||e===this.el||(Jk=null)},_getDirection:function(e,t){return"function"==typeof this.options.direction?this.options.direction.call(this,e,t,Nk):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){cC.length=0;for(var t=e.getElementsByTagName("input"),n=t.length;n--;){var r=t[n];r.checked&&cC.push(r)}}(n),!Nk&&!(/mousedown|pointerdown/.test(o)&&0!==e.button||r.disabled)&&!l.isContentEditable&&(this.nativeDraggable||!Zx||!s||"SELECT"!==s.tagName.toUpperCase())&&!((s=ik(s,r.draggable,n,!1))&&s.animated||Ik===s)){if(jk=mk(s),Hk=mk(s,r.draggable),"function"==typeof c){if(c.call(this,e,s,this))return Ek({sortable:t,rootEl:l,name:"filter",targetEl:s,toEl:n,fromEl:n}),Lk("filter",t,{evt:e}),void(i&&e.preventDefault())}else if(c&&(c=c.split(",").some((function(r){if(r=ik(l,r.trim(),n,!1))return Ek({sortable:t,rootEl:r,name:"filter",targetEl:s,fromEl:n,toEl:n}),Lk("filter",t,{evt:e}),!0}))))return void(i&&e.preventDefault());r.handle&&!ik(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&&!Nk&&n.parentNode===o){var l=fk(n);if(Dk=o,Ok=(Nk=n).parentNode,Pk=Nk.nextSibling,Ik=n,Uk=a.group,wC.dragged=Nk,Wk={target:Nk,clientX:(t||e).clientX,clientY:(t||e).clientY},Xk=Wk.clientX-l.left,Zk=Wk.clientY-l.top,this._lastX=(t||e).clientX,this._lastY=(t||e).clientY,Nk.style["will-change"]="all",r=function(){Lk("delayEnded",i,{evt:e}),wC.eventCanceled?i._onDrop():(i._disableDelayedDragEvents(),!Xx&&i.nativeDraggable&&(Nk.draggable=!0),i._triggerDragStart(e,t),Ek({sortable:i,name:"choose",originalEvent:e}),sk(Nk,a.chosenClass,!0))},a.ignore.split(",").forEach((function(e){uk(Nk,e.trim(),kC)})),ek(s,"dragover",yC),ek(s,"mousemove",yC),ek(s,"touchmove",yC),a.supportPointer?(ek(s,"pointerup",i._onDrop),!this.nativeDraggable&&ek(s,"pointercancel",i._onDrop)):(ek(s,"mouseup",i._onDrop),ek(s,"touchend",i._onDrop),ek(s,"touchcancel",i._onDrop)),Xx&&this.nativeDraggable&&(this.options.touchStartThreshold=4,Nk.draggable=!0),Lk("delayStart",this,{evt:e}),!a.delay||a.delayOnTouchOnly&&!t||this.nativeDraggable&&(Yx||Gx))r();else{if(wC.eventCanceled)return void this._onDrop();a.supportPointer?(ek(s,"pointerup",i._disableDelayedDrag),ek(s,"pointercancel",i._disableDelayedDrag)):(ek(s,"mouseup",i._disableDelayedDrag),ek(s,"touchend",i._disableDelayedDrag),ek(s,"touchcancel",i._disableDelayedDrag)),ek(s,"mousemove",i._delayedDragTouchMoveHandler),ek(s,"touchmove",i._delayedDragTouchMoveHandler),a.supportPointer&&ek(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(){Nk&&kC(Nk),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var e=this.el.ownerDocument;tk(e,"mouseup",this._disableDelayedDrag),tk(e,"touchend",this._disableDelayedDrag),tk(e,"touchcancel",this._disableDelayedDrag),tk(e,"pointerup",this._disableDelayedDrag),tk(e,"pointercancel",this._disableDelayedDrag),tk(e,"mousemove",this._delayedDragTouchMoveHandler),tk(e,"touchmove",this._delayedDragTouchMoveHandler),tk(e,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(e,t){t=t||"touch"==e.pointerType&&e,!this.nativeDraggable||t?this.options.supportPointer?ek(document,"pointermove",this._onTouchMove):ek(document,t?"touchmove":"mousemove",this._onTouchMove):(ek(Nk,"dragend",this),ek(Dk,"dragstart",this._onDragStart));try{document.selection?TC((function(){document.selection.empty()})):window.getSelection().removeAllRanges()}catch(e){}},_dragStarted:function(e,t){if(nC=!1,Dk&&Nk){Lk("dragStarted",this,{evt:t}),this.nativeDraggable&&ek(document,"dragover",_C);var n=this.options;!e&&sk(Nk,n.dragClass,!1),sk(Nk,n.ghostClass,!0),wC.active=this,e&&this._appendGhost(),Ek({sortable:this,name:"start",originalEvent:t})}else this._nulling()},_emulateDragOver:function(){if(Vk){this._lastX=Vk.clientX,this._lastY=Vk.clientY,vC();for(var e=document.elementFromPoint(Vk.clientX,Vk.clientY),t=e;e&&e.shadowRoot&&(e=e.shadowRoot.elementFromPoint(Vk.clientX,Vk.clientY))!==t;)t=e;if(Nk.parentNode[Ck]._isOutsideThisEl(e),t)do{if(t[Ck]&&t[Ck]._onDragOver({clientX:Vk.clientX,clientY:Vk.clientY,target:e,rootEl:t})&&!this.options.dragoverBubble)break;e=t}while(t=rk(t));bC()}},_onTouchMove:function(e){if(Wk){var t=this.options,n=t.fallbackTolerance,r=t.fallbackOffset,i=e.touches?e.touches[0]:e,o=Rk&&ck(Rk,!0),a=Rk&&o&&o.a,s=Rk&&o&&o.d,l=dC&&tC&&vk(tC),c=(i.clientX-Wk.clientX+r.x)/(a||1)+(l?l[0]-sC[0]:0)/(a||1),u=(i.clientY-Wk.clientY+r.y)/(s||1)+(l?l[1]-sC[1]:0)/(s||1);if(!wC.active&&!nC){if(n&&Math.max(Math.abs(i.clientX-this._lastX),Math.abs(i.clientY-this._lastY))<n)return;this._onDragStart(e,!0)}if(Rk){o?(o.e+=c-(Gk||0),o.f+=u-(Yk||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,")");lk(Rk,"webkitTransform",d),lk(Rk,"mozTransform",d),lk(Rk,"msTransform",d),lk(Rk,"transform",d),Gk=c,Yk=u,Vk=i}e.cancelable&&e.preventDefault()}},_appendGhost:function(){if(!Rk){var e=this.options.fallbackOnBody?document.body:Dk,t=fk(Nk,!0,dC,!0,e),n=this.options;if(dC){for(tC=e;"static"===lk(tC,"position")&&"none"===lk(tC,"transform")&&tC!==document;)tC=tC.parentNode;tC!==document.body&&tC!==document.documentElement?(tC===document&&(tC=dk()),t.top+=tC.scrollTop,t.left+=tC.scrollLeft):tC=dk(),sC=vk(tC)}sk(Rk=Nk.cloneNode(!0),n.ghostClass,!1),sk(Rk,n.fallbackClass,!0),sk(Rk,n.dragClass,!0),lk(Rk,"transition",""),lk(Rk,"transform",""),lk(Rk,"box-sizing","border-box"),lk(Rk,"margin",0),lk(Rk,"top",t.top),lk(Rk,"left",t.left),lk(Rk,"width",t.width),lk(Rk,"height",t.height),lk(Rk,"opacity","0.8"),lk(Rk,"position",dC?"absolute":"fixed"),lk(Rk,"zIndex","100000"),lk(Rk,"pointerEvents","none"),wC.ghost=Rk,e.appendChild(Rk),lk(Rk,"transform-origin",Xk/parseInt(Rk.style.width)*100+"% "+Zk/parseInt(Rk.style.height)*100+"%")}},_onDragStart:function(e,t){var n=this,r=e.dataTransfer,i=n.options;Lk("dragStart",this,{evt:e}),wC.eventCanceled?this._onDrop():(Lk("setupClone",this),wC.eventCanceled||((zk=xk(Nk)).removeAttribute("id"),zk.draggable=!1,zk.style["will-change"]="",this._hideClone(),sk(zk,this.options.chosenClass,!1),wC.clone=zk),n.cloneId=TC((function(){Lk("clone",n),wC.eventCanceled||(n.options.removeCloneOnHide||Dk.insertBefore(zk,Nk),n._hideClone(),Ek({sortable:n,name:"clone"}))})),!t&&sk(Nk,i.dragClass,!0),t?(rC=!0,n._loopId=setInterval(n._emulateDragOver,50)):(tk(document,"mouseup",n._onDrop),tk(document,"touchend",n._onDrop),tk(document,"touchcancel",n._onDrop),r&&(r.effectAllowed="move",i.setData&&i.setData.call(n,r,Nk)),ek(document,"drop",n),lk(Nk,"transform","translateZ(0)")),nC=!0,n._dragStartId=TC(n._dragStarted.bind(n,t,e)),ek(document,"selectstart",n),Kk=!0,window.getSelection().removeAllRanges(),Zx&&lk(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=wC.active,u=Uk===l,d=s.sort,f=qk||c,h=this,p=!1;if(!lC){if(void 0!==e.preventDefault&&e.cancelable&&e.preventDefault(),a=ik(a,s.draggable,o,!0),L("dragOver"),wC.eventCanceled)return p;if(Nk.contains(e.target)||a.animated&&a.animatingX&&a.animatingY||h._ignoreWhileAnimating===a)return N(!1);if(rC=!1,c&&!s.disabled&&(u?d||(r=Ok!==Dk):qk===this||(this.lastPutMode=Uk.checkPull(this,c,Nk,e))&&l.checkPut(this,c,Nk,e))){if(i="vertical"===this._getDirection(e,a),t=fk(Nk),L("dragOverValid"),wC.eventCanceled)return p;if(r)return Ok=Dk,E(),this._hideClone(),L("revert"),wC.eventCanceled||(Pk?Dk.insertBefore(Nk,Pk):Dk.appendChild(Nk)),N(!0);var g=gk(o,s.draggable);if(!g||function(e,t,n){var r=fk(gk(n.el,n.options.draggable)),i=kk(n.el,n.options,Rk);return t?e.clientX>i.right+10||e.clientY>r.bottom&&e.clientX>r.left:e.clientY>i.bottom+10||e.clientX>r.right&&e.clientY>r.top}(e,i,this)&&!g.animated){if(g===Nk)return N(!1);if(g&&o===e.target&&(a=g),a&&(n=fk(a)),!1!==xC(Dk,o,Nk,t,a,n,e,!!a))return E(),g&&g.nextSibling?o.insertBefore(Nk,g.nextSibling):o.appendChild(Nk),Ok=o,O(),N(!0)}else if(g&&function(e,t,n){var r=fk(pk(n.el,0,n.options,!0)),i=kk(n.el,n.options,Rk);return t?e.clientX<i.left-10||e.clientY<r.top&&e.clientX<r.right:e.clientY<i.top-10||e.clientY<r.bottom&&e.clientX<r.left}(e,i,this)){var m=pk(o,0,s,!0);if(m===Nk)return N(!1);if(n=fk(a=m),!1!==xC(Dk,o,Nk,t,a,n,e,!1))return E(),o.insertBefore(Nk,m),Ok=o,O(),N(!0)}else if(a.parentNode===o){n=fk(a);var v,b,y,_=Nk.parentNode!==o,w=!function(e,t,n){var r=n?e.left:e.top,i=n?e.right:e.bottom,o=n?e.width:e.height,a=n?t.left:t.top,s=n?t.right:t.bottom,l=n?t.width:t.height;return r===a||i===s||r+o/2===a+l/2}(Nk.animated&&Nk.toRect||t,a.animated&&a.toRect||n,i),x=i?"top":"left",k=hk(a,"top","top")||hk(Nk,"top","top"),C=k?k.scrollTop:void 0;if(Jk!==a&&(b=n[x],oC=!1,aC=!w&&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&&eC<c*i){if(!oC&&(1===Qk?l>u+c*o/2:l<d-c*o/2)&&(oC=!0),oC)f=!0;else if(1===Qk?l<u+eC:l>d-eC)return-Qk}else if(l>u+c*(1-i)/2&&l<d-c*(1-i)/2)return function(e){return mk(Nk)<mk(e)?1:-1}(t);return(f=f||a)&&(l<u+c*o/2||l>d-c*o/2)?l>u+c/2?1:-1:0}(e,a,n,i,w?1:s.swapThreshold,null==s.invertedSwapThreshold?s.swapThreshold:s.invertedSwapThreshold,aC,Jk===a),0!==v){var S=mk(Nk);do{S-=v,y=Ok.children[S]}while(y&&("none"===lk(y,"display")||y===Rk))}if(0===v||y===a)return N(!1);Jk=a,Qk=v;var T=a.nextElementSibling,A=!1,M=xC(Dk,o,Nk,t,a,n,e,A=1===v);if(!1!==M)return 1!==M&&-1!==M||(A=1===M),lC=!0,setTimeout(CC,30),E(),A&&!T?o.appendChild(Nk):a.parentNode.insertBefore(Nk,A?T:a),k&&wk(k,0,C-k.scrollTop),Ok=Nk.parentNode,void 0===b||aC||(eC=Math.abs(b-fk(a)[x])),O(),N(!0)}if(o.contains(Nk))return N(!1)}return!1}function L(s,l){Lk(s,h,$x({evt:e,isOwner:u,axis:i?"vertical":"horizontal",revert:r,dragRect:t,targetRect:n,canSort:d,fromSortable:f,target:a,completed:N,onMove:function(n,r){return xC(Dk,o,Nk,t,n,fk(n),e,r)},changed:O},l))}function E(){L("dragOverAnimationCapture"),h.captureAnimationState(),h!==f&&f.captureAnimationState()}function N(t){return L("dragOverCompleted",{insertion:t}),t&&(u?c._hideClone():c._showClone(h),h!==f&&(sk(Nk,qk?qk.options.ghostClass:c.options.ghostClass,!1),sk(Nk,s.ghostClass,!0)),qk!==h&&h!==wC.active?qk=h:h===wC.active&&qk&&(qk=null),f===h&&(h._ignoreWhileAnimating=a),h.animateAll((function(){L("dragOverAnimationComplete"),h._ignoreWhileAnimating=null})),h!==f&&(f.animateAll(),f._ignoreWhileAnimating=null)),(a===Nk&&!Nk.animated||a===o&&!a.animated)&&(Jk=null),s.dragoverBubble||e.rootEl||a===document||(Nk.parentNode[Ck]._isOutsideThisEl(e.target),!t&&yC(e)),!s.dragoverBubble&&e.stopPropagation&&e.stopPropagation(),p=!0}function O(){Fk=mk(Nk),$k=mk(Nk,s.draggable),Ek({sortable:h,name:"change",toEl:o,newIndex:Fk,newDraggableIndex:$k,originalEvent:e})}},_ignoreWhileAnimating:null,_offMoveEvents:function(){tk(document,"mousemove",this._onTouchMove),tk(document,"touchmove",this._onTouchMove),tk(document,"pointermove",this._onTouchMove),tk(document,"dragover",yC),tk(document,"mousemove",yC),tk(document,"touchmove",yC)},_offUpEvents:function(){var e=this.el.ownerDocument;tk(e,"mouseup",this._onDrop),tk(e,"touchend",this._onDrop),tk(e,"pointerup",this._onDrop),tk(e,"pointercancel",this._onDrop),tk(e,"touchcancel",this._onDrop),tk(document,"selectstart",this)},_onDrop:function(e){var t=this.el,n=this.options;Fk=mk(Nk),$k=mk(Nk,n.draggable),Lk("drop",this,{evt:e}),Ok=Nk&&Nk.parentNode,Fk=mk(Nk),$k=mk(Nk,n.draggable),wC.eventCanceled||(nC=!1,aC=!1,oC=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),AC(this.cloneId),AC(this._dragStartId),this.nativeDraggable&&(tk(document,"drop",this),tk(t,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),Zx&&lk(document.body,"user-select",""),lk(Nk,"transform",""),e&&(Kk&&(e.cancelable&&e.preventDefault(),!n.dropBubble&&e.stopPropagation()),Rk&&Rk.parentNode&&Rk.parentNode.removeChild(Rk),(Dk===Ok||qk&&"clone"!==qk.lastPutMode)&&zk&&zk.parentNode&&zk.parentNode.removeChild(zk),Nk&&(this.nativeDraggable&&tk(Nk,"dragend",this),kC(Nk),Nk.style["will-change"]="",Kk&&!nC&&sk(Nk,qk?qk.options.ghostClass:this.options.ghostClass,!1),sk(Nk,this.options.chosenClass,!1),Ek({sortable:this,name:"unchoose",toEl:Ok,newIndex:null,newDraggableIndex:null,originalEvent:e}),Dk!==Ok?(Fk>=0&&(Ek({rootEl:Ok,name:"add",toEl:Ok,fromEl:Dk,originalEvent:e}),Ek({sortable:this,name:"remove",toEl:Ok,originalEvent:e}),Ek({rootEl:Ok,name:"sort",toEl:Ok,fromEl:Dk,originalEvent:e}),Ek({sortable:this,name:"sort",toEl:Ok,originalEvent:e})),qk&&qk.save()):Fk!==jk&&Fk>=0&&(Ek({sortable:this,name:"update",toEl:Ok,originalEvent:e}),Ek({sortable:this,name:"sort",toEl:Ok,originalEvent:e})),wC.active&&(null!=Fk&&-1!==Fk||(Fk=jk,$k=Hk),Ek({sortable:this,name:"end",toEl:Ok,originalEvent:e}),this.save())))),this._nulling()},_nulling:function(){Lk("nulling",this),Dk=Nk=Ok=Rk=Pk=zk=Ik=Bk=Wk=Vk=Kk=Fk=$k=jk=Hk=Jk=Qk=qk=Uk=wC.dragged=wC.ghost=wC.clone=wC.active=null,cC.forEach((function(e){e.checked=!0})),cC.length=Gk=Yk=0},handleEvent:function(e){switch(e.type){case"drop":case"dragend":this._onDrop(e);break;case"dragenter":case"dragover":Nk&&(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++)ik(e=n[r],o.draggable,this.el,!1)&&t.push(e.getAttribute(o.dataIdAttr)||SC(e));return t},sort:function(e,t){var n={},r=this.el;this.toArray().forEach((function(e,t){var i=r.children[t];ik(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 ik(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=Ak.modifyOption(this,e,t);n[e]=void 0!==r?r:t,"group"===e&&mC(n)},destroy:function(){Lk("destroy",this);var e=this.el;e[Ck]=null,tk(e,"mousedown",this._onTapStart),tk(e,"touchstart",this._onTapStart),tk(e,"pointerdown",this._onTapStart),this.nativeDraggable&&(tk(e,"dragover",this),tk(e,"dragenter",this)),Array.prototype.forEach.call(e.querySelectorAll("[draggable]"),(function(e){e.removeAttribute("draggable")})),this._onDrop(),this._disableDelayedDragEvents(),iC.splice(iC.indexOf(this.el),1),this.el=e=null},_hideClone:function(){if(!Bk){if(Lk("hideClone",this),wC.eventCanceled)return;lk(zk,"display","none"),this.options.removeCloneOnHide&&zk.parentNode&&zk.parentNode.removeChild(zk),Bk=!0}},_showClone:function(e){if("clone"===e.lastPutMode){if(Bk){if(Lk("showClone",this),wC.eventCanceled)return;Nk.parentNode!=Dk||this.options.group.revertClone?Pk?Dk.insertBefore(zk,Pk):Dk.appendChild(zk):Dk.insertBefore(zk,Nk),this.options.group.revertClone&&this.animate(Nk,zk),lk(zk,"display",""),Bk=!1}}else this._hideClone()}},uC&&ek(document,"touchmove",(function(e){(wC.active||nC)&&e.cancelable&&e.preventDefault()})),wC.utils={on:ek,off:tk,css:lk,find:uk,is:function(e,t){return!!ik(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:_k,closest:ik,toggleClass:sk,clone:xk,index:mk,nextTick:TC,cancelNextTick:AC,detectDirection:gC,getChild:pk,expando:Ck},wC.get=function(e){return e[Ck]},wC.mount=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];t[0].constructor===Array&&(t=t[0]),t.forEach((function(e){if(!e.prototype||!e.prototype.constructor)throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(e));e.utils&&(wC.utils=$x($x({},wC.utils),e.utils)),Ak.mount(e)}))},wC.create=function(e,t){return new wC(e,t)},wC.version="1.15.6";var MC,LC,EC,NC,OC,RC,DC=[],PC=!1;function IC(){DC.forEach((function(e){clearInterval(e.pid)})),DC=[]}function zC(){clearInterval(RC)}var BC,jC=_k((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=dk(),u=!1;LC!==n&&(LC=n,IC(),MC=t.scroll,i=t.scrollFn,!0===MC&&(MC=bk(n,!0)));var d=0,f=MC;do{var h=f,p=fk(h),g=p.top,m=p.bottom,v=p.left,b=p.right,y=p.width,_=p.height,w=void 0,x=void 0,k=h.scrollWidth,C=h.scrollHeight,S=lk(h),T=h.scrollLeft,A=h.scrollTop;h===c?(w=y<k&&("auto"===S.overflowX||"scroll"===S.overflowX||"visible"===S.overflowX),x=_<C&&("auto"===S.overflowY||"scroll"===S.overflowY||"visible"===S.overflowY)):(w=y<k&&("auto"===S.overflowX||"scroll"===S.overflowX),x=_<C&&("auto"===S.overflowY||"scroll"===S.overflowY));var M=w&&(Math.abs(b-o)<=s&&T+y<k)-(Math.abs(v-o)<=s&&!!T),L=x&&(Math.abs(m-a)<=s&&A+_<C)-(Math.abs(g-a)<=s&&!!A);if(!DC[d])for(var E=0;E<=d;E++)DC[E]||(DC[E]={});DC[d].vx==M&&DC[d].vy==L&&DC[d].el===h||(DC[d].el=h,DC[d].vx=M,DC[d].vy=L,clearInterval(DC[d].pid),0==M&&0==L||(u=!0,DC[d].pid=setInterval(function(){r&&0===this.layer&&wC.active._onTouchMove(OC);var t=DC[this.layer].vy?DC[this.layer].vy*l:0,n=DC[this.layer].vx?DC[this.layer].vx*l:0;"function"==typeof i&&"continue"!==i.call(wC.dragged.parentNode[Ck],n,t,e,OC,DC[this.layer].el)||wk(DC[this.layer].el,n,t)}.bind({layer:d}),24))),d++}while(t.bubbleScroll&&f!==c&&(f=bk(f,!1)));PC=u}}),30),FC=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 HC(){}function $C(){}HC.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=pk(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:FC},Wx(HC,{pluginName:"revertOnSpill"}),$C.prototype={onSpill:function(e){var t=e.dragEl,n=e.putSortable||this.sortable;n.captureAnimationState(),t.parentNode&&t.parentNode.removeChild(t),n.animateAll()},drop:FC},Wx($C,{pluginName:"removeOnSpill"}),wC.mount(new function(){function e(){for(var e in this.defaults={scroll:!0,forceAutoScrollFallback:!1,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0},this)"_"===e.charAt(0)&&"function"==typeof this[e]&&(this[e]=this[e].bind(this))}return e.prototype={dragStarted:function(e){var t=e.originalEvent;this.sortable.nativeDraggable?ek(document,"dragover",this._handleAutoScroll):this.options.supportPointer?ek(document,"pointermove",this._handleFallbackAutoScroll):t.touches?ek(document,"touchmove",this._handleFallbackAutoScroll):ek(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(e){var t=e.originalEvent;this.options.dragOverBubble||t.rootEl||this._handleAutoScroll(t)},drop:function(){this.sortable.nativeDraggable?tk(document,"dragover",this._handleAutoScroll):(tk(document,"pointermove",this._handleFallbackAutoScroll),tk(document,"touchmove",this._handleFallbackAutoScroll),tk(document,"mousemove",this._handleFallbackAutoScroll)),zC(),IC(),clearTimeout(ok),ok=void 0},nulling:function(){OC=LC=MC=PC=RC=EC=NC=null,DC.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(OC=e,t||this.options.forceAutoScrollFallback||Yx||Gx||Zx){jC(e,this.options,o,t);var a=bk(o,!0);!PC||RC&&r===EC&&i===NC||(RC&&zC(),RC=setInterval((function(){var o=bk(document.elementFromPoint(r,i),!0);o!==a&&(a=o,IC()),jC(e,n.options,o,t)}),10),EC=r,NC=i)}else{if(!this.options.bubbleScroll||bk(o,!0)===dk())return void IC();jC(e,this.options,bk(o,!1),!1)}}},Wx(e,{pluginName:"scroll",initializeByDefault:!0})}),wC.mount($C,HC);const UC="dnd-drag-handle",qC="dnd-drag-enabled";wC.mount(new function(){function e(){this.defaults={swapClass:"sortable-swap-highlight"}}return e.prototype={dragStart:function(e){var t=e.dragEl;BC=t},dragOverValid:function(e){var t=e.completed,n=e.target,r=e.onMove,i=e.activeSortable,o=e.changed,a=e.cancel;if(i.options.swap){var s=this.sortable.el,l=this.options;if(n&&n!==s){var c=BC;!1!==r(n)?(sk(n,l.swapClass,!0),BC=n):BC=null,c&&c!==BC&&sk(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;BC&&sk(BC,o.swapClass,!1),BC&&(o.swap||n&&n.options.swap)&&r!==BC&&(i.captureAnimationState(),i!==t&&t.captureAnimationState(),function(e,t){var n,r,i=e.parentNode,o=t.parentNode;i&&o&&!i.isEqualNode(t)&&!o.isEqualNode(e)&&(n=mk(e),r=mk(t),i.isEqualNode(o)&&n<r&&r++,i.insertBefore(t,i.children[n]),o.insertBefore(e,o.children[r]))}(r,BC),i.animateAll(),i!==t&&t.animateAll())},nulling:function(){BC=null}},Wx(e,{pluginName:"swap",eventProperties:function(){return{swapItem:BC}}})});const WC=({className:e,options:t,kind:n="default",children:r,...i})=>{const o=fa(null);return((e,t)=>{ua((()=>{if(e.current){const n=wC.create(e.current,{animation:150,handle:`.${UC}`,draggable:`.${qC}`,...t});return()=>{n.destroy()}}}),[e,t])})(o,ha((()=>({...t,..."swap"===n&&{swap:!0,swapClass:"dnd-drag-swap-highlight"}})),[t,n])),qc("div",{ref:o,className:Ls("styles_grid__bgsAQ",e),...i,children:r})},VC=({className:e})=>qc(Vc,{id:Wc.draggable,className:e});const GC=({className:e})=>qc("div",{className:Ls("styles_drag-handle__2DC4-",UC,e),children:qc(VC,{})});const YC=({className:e,children:t,dndEnabled:n=!1,...r})=>qc("div",{...r,className:Ls("styles_grid-item__-kGp3",{[qC]:n},e),children:[qc("div",{className:"styles_grid-item-content__hZ5TS",children:t}),n&&qc(GC,{className:"styles_grid-item-handle__OyO7A"})]}),XC=({locale:e,setLocale:t,availableLocales:n})=>{const r=n||Object.keys(Nf),i=[...new Set(r)].map((e=>({key:e,value:Nf[e].full})));return qc(cf,{size:"s",menuTrigger:({isOpened:t,onClick:n})=>qc(tu,{style:"ghost",size:"s",text:Nf[e]&&Nf[e].short||Nf.en.short,isExpanded:t,onClick:n}),children:qc(cf.Section,{children:i.map((({key:n,value:r})=>qc(cf.ItemWithCheckmark,{onClick:()=>{t(n)},isChecked:e===n,children:r},n)))})})},ZC={light:Wc.lineShapesSun,dark:Wc.lineShapesMoon,auto:Wc.lineShapesThemeAuto},KC=({theme:e,toggleTheme:t})=>qc(eu,{onClick:t,style:"ghost",icon:ZC[e],size:"s"});var JC="styles_label__IW9cn";const QC=e=>{const{icon:t,children:n,tooltip:r,className:i,style:o="secondary",...a}=e,s=qc("div",{className:Ls("styles_wrapper__elS6G",i),children:[qc(Vc,{className:"styles_icon__GXXnU",id:t}),qc(Yc,{className:"styles_text__fEQgL",type:"ui",size:"s",bold:!0,children:n})]});return qc("div",r?{className:JC,...a,"data-style":o,children:qc(Sd,{tooltipText:r,children:s})}:{className:JC,...a,"data-style":o,children:s})};var eS=mS(),tS=e=>fS(e,eS),nS=mS();tS.write=e=>fS(e,nS);var rS=mS();tS.onStart=e=>fS(e,rS);var iS=mS();tS.onFrame=e=>fS(e,iS);var oS=mS();tS.onFinish=e=>fS(e,oS);var aS=[];tS.setTimeout=(e,t)=>{const n=tS.now()+t,r=()=>{const e=aS.findIndex((e=>e.cancel==r));~e&&aS.splice(e,1),uS-=~e?1:0},i={time:n,handler:e,cancel:r};return aS.splice(sS(n),0,i),uS+=1,hS(),i};var sS=e=>~(~aS.findIndex((t=>t.time>e))||~aS.length);tS.cancel=e=>{rS.delete(e),iS.delete(e),oS.delete(e),eS.delete(e),nS.delete(e)},tS.sync=e=>{dS=!0,tS.batchedUpdates(e),dS=!1},tS.throttle=e=>{let t;function n(){try{e(...t)}finally{t=null}}function r(...e){t=e,tS.onStart(n)}return r.handler=e,r.cancel=()=>{rS.delete(n),t=null},r};var lS="undefined"!=typeof window?window.requestAnimationFrame:()=>{};tS.use=e=>lS=e,tS.now="undefined"!=typeof performance?()=>performance.now():Date.now,tS.batchedUpdates=e=>e(),tS.catch=console.error,tS.frameLoop="always",tS.advance=()=>{"demand"!==tS.frameLoop?console.warn("Cannot call the manual advancement of rafz whilst frameLoop is not set as demand"):gS()};var cS=-1,uS=0,dS=!1;function fS(e,t){dS?(t.delete(e),e(0)):(t.add(e),hS())}function hS(){cS<0&&(cS=0,"demand"!==tS.frameLoop&&lS(pS))}function pS(){~cS&&(lS(pS),tS.batchedUpdates(gS))}function gS(){const e=cS;cS=tS.now();const t=sS(cS);t&&(vS(aS.splice(0,t),(e=>e.handler())),uS-=t),uS?(rS.flush(),eS.flush(e?Math.min(64,cS-e):16.667),iS.flush(),nS.flush(),oS.flush()):cS=-1}function mS(){let e=new Set,t=e;return{add(n){uS+=t!=e||e.has(n)?0:1,e.add(n)},delete:n=>(uS-=t==e&&e.has(n)?1:0,e.delete(n)),flush(n){t.size&&(e=new Set,uS-=t.size,vS(t,(t=>t(n)&&e.add(t))),uS+=e.size,t=e)}}}function vS(e,t){e.forEach((e=>{try{t(e)}catch(e){tS.catch(e)}}))}var bS=Object.defineProperty,yS={};function _S(){}((e,t)=>{for(var n in t)bS(e,n,{get:t[n],enumerable:!0})})(yS,{assign:()=>DS,colors:()=>NS,createStringInterpolator:()=>AS,skipAnimation:()=>OS,to:()=>MS,willAdvance:()=>RS});var wS={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 xS(e,t){if(wS.arr(e)){if(!wS.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 kS=(e,t)=>e.forEach(t);function CS(e,t,n){if(wS.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 SS=e=>wS.und(e)?[]:wS.arr(e)?e:[e];function TS(e,t){if(e.size){const n=Array.from(e);e.clear(),kS(n,t)}}var AS,MS,LS=(e,...t)=>TS(e,(e=>e(...t))),ES=()=>"undefined"==typeof window||!window.navigator||/ServerSideRendering|^Deno\//.test(window.navigator.userAgent),NS=null,OS=!1,RS=_S,DS=e=>{e.to&&(MS=e.to),e.now&&(tS.now=e.now),void 0!==e.colors&&(NS=e.colors),null!=e.skipAnimation&&(OS=e.skipAnimation),e.createStringInterpolator&&(AS=e.createStringInterpolator),e.requestAnimationFrame&&tS.use(e.requestAnimationFrame),e.batchedUpdates&&(tS.batchedUpdates=e.batchedUpdates),e.willAdvance&&(RS=e.willAdvance),e.frameLoop&&(tS.frameLoop=e.frameLoop)},PS=new Set,IS=[],zS=[],BS=0,jS={get idle(){return!PS.size&&!IS.length},start(e){BS>e.priority?(PS.add(e),tS.onStart(FS)):(HS(e),tS(US))},advance:US,sort(e){if(BS)tS.onFrame((()=>jS.sort(e)));else{const t=IS.indexOf(e);~t&&(IS.splice(t,1),$S(e))}},clear(){IS=[],PS.clear()}};function FS(){PS.forEach(HS),PS.clear(),tS(US)}function HS(e){IS.includes(e)||$S(e)}function $S(e){IS.splice(function(e,t){const n=e.findIndex(t);return n<0?e.length:n}(IS,(t=>t.priority>e.priority)),0,e)}function US(e){const t=zS;for(let n=0;n<IS.length;n++){const r=IS[n];BS=r.priority,r.idle||(RS(r),r.advance(e),r.idle||t.push(r))}return BS=0,(zS=IS).length=0,(IS=t).length>0}var qS={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},WS="[-+]?\\d*\\.?\\d+",VS=WS+"%";function GS(...e){return"\\(\\s*("+e.join(")\\s*,\\s*(")+")\\s*\\)"}var YS=new RegExp("rgb"+GS(WS,WS,WS)),XS=new RegExp("rgba"+GS(WS,WS,WS,WS)),ZS=new RegExp("hsl"+GS(WS,VS,VS)),KS=new RegExp("hsla"+GS(WS,VS,VS,WS)),JS=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,QS=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,eT=/^#([0-9a-fA-F]{6})$/,tT=/^#([0-9a-fA-F]{8})$/;function nT(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 rT(e,t,n){const r=n<.5?n*(1+t):n+t-n*t,i=2*n-r,o=nT(i,r,e+1/3),a=nT(i,r,e),s=nT(i,r,e-1/3);return Math.round(255*o)<<24|Math.round(255*a)<<16|Math.round(255*s)<<8}function iT(e){const t=parseInt(e,10);return t<0?0:t>255?255:t}function oT(e){return(parseFloat(e)%360+360)%360/360}function aT(e){const t=parseFloat(e);return t<0?0:t>1?255:Math.round(255*t)}function sT(e){const t=parseFloat(e);return t<0?0:t>100?1:t/100}function lT(e){let t=function(e){let t;return"number"==typeof e?e>>>0===e&&e>=0&&e<=4294967295?e:null:(t=eT.exec(e))?parseInt(t[1]+"ff",16)>>>0:NS&&void 0!==NS[e]?NS[e]:(t=YS.exec(e))?(iT(t[1])<<24|iT(t[2])<<16|iT(t[3])<<8|255)>>>0:(t=XS.exec(e))?(iT(t[1])<<24|iT(t[2])<<16|iT(t[3])<<8|aT(t[4]))>>>0:(t=JS.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+"ff",16)>>>0:(t=tT.exec(e))?parseInt(t[1],16)>>>0:(t=QS.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+t[4]+t[4],16)>>>0:(t=ZS.exec(e))?(255|rT(oT(t[1]),sT(t[2]),sT(t[3])))>>>0:(t=KS.exec(e))?(rT(oT(t[1]),sT(t[2]),sT(t[3]))|aT(t[4]))>>>0:null}(e);return null===t?e:(t=t||0,`rgba(${(4278190080&t)>>>24}, ${(16711680&t)>>>16}, ${(65280&t)>>>8}, ${(255&t)/255})`)}var cT=(e,t,n)=>{if(wS.fun(e))return e;if(wS.arr(e))return cT({range:e,output:t,extrapolate:n});if(wS.str(e.output[0]))return AS(e);const r=e,i=r.output,o=r.range||[0,1],a=r.extrapolateLeft||r.extrapolate||"extend",s=r.extrapolateRight||r.extrapolate||"extend",l=r.easing||(e=>e);return e=>{const t=function(e,t){for(var n=1;n<t.length-1&&!(t[n]>=e);++n);return n-1}(e,o);return function(e,t,n,r,i,o,a,s,l){let c=l?l(e):e;if(c<t){if("identity"===a)return c;"clamp"===a&&(c=t)}if(c>n){if("identity"===s)return c;"clamp"===s&&(c=n)}return r===i?r:t===n?e<=t?r:i:(t===-1/0?c=-c:n===1/0?c-=t:c=(c-t)/(n-t),c=o(c),r===-1/0?c=-c:i===1/0?c+=r:c=c*(i-r)+r,c)}(e,o[t],o[t+1],i[t],i[t+1],l,a,s,r.map)}},uT=Symbol.for("FluidValue.get"),dT=Symbol.for("FluidValue.observers"),fT=e=>Boolean(e&&e[uT]),hT=e=>e&&e[uT]?e[uT]():e,pT=e=>e[dT]||null;function gT(e,t){const n=e[dT];n&&n.forEach((e=>{!function(e,t){e.eventObserved?e.eventObserved(t):e(t)}(e,t)}))}var mT=class{constructor(e){if(!e&&!(e=this.get))throw Error("Unknown getter");vT(this,e)}},vT=(e,t)=>wT(e,uT,t);function bT(e,t){if(e[uT]){let n=e[dT];n||wT(e,dT,n=new Set),n.has(t)||(n.add(t),e.observerAdded&&e.observerAdded(n.size,t))}return t}function yT(e,t){const n=e[dT];if(n&&n.has(t)){const r=n.size-1;r?n.delete(t):e[dT]=null,e.observerRemoved&&e.observerRemoved(r,t)}}var _T,wT=(e,t,n)=>Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0}),xT=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,kT=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,CT=new RegExp(`(${xT.source})(%|[a-z]+)`,"i"),ST=/rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi,TT=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/,AT=e=>{const[t,n]=MT(e);if(!t||ES())return e;const r=window.getComputedStyle(document.documentElement).getPropertyValue(t);if(r)return r.trim();if(n&&n.startsWith("--")){return window.getComputedStyle(document.documentElement).getPropertyValue(n)||e}return n&&TT.test(n)?AT(n):n||e},MT=e=>{const t=TT.exec(e);if(!t)return[,];const[,n,r]=t;return[n,r]},LT=(e,t,n,r,i)=>`rgba(${Math.round(t)}, ${Math.round(n)}, ${Math.round(r)}, ${i})`,ET=e=>{_T||(_T=NS?new RegExp(`(${Object.keys(NS).join("|")})(?!\\w)`,"g"):/^\b$/);const t=e.output.map((e=>hT(e).replace(TT,AT).replace(kT,lT).replace(_T,lT))),n=t.map((e=>e.match(xT).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=>cT({...e,output:t})));return e=>{const n=!CT.test(t[0])&&t.find((e=>CT.test(e)))?.replace(xT,"");let r=0;return t[0].replace(xT,(()=>`${i[r++](e)}${n||""}`)).replace(ST,LT)}},NT="react-spring: ",OT=e=>{const t=e;let n=!1;if("function"!=typeof t)throw new TypeError(`${NT}once requires a function parameter`);return(...e)=>{n||(t(...e),n=!0)}},RT=OT(console.warn),DT=OT(console.warn);function PT(e){return wS.str(e)&&("#"==e[0]||/\d/.test(e)||!ES()&&TT.test(e)||e in(NS||{}))}var IT=ES()?ua:da;function zT(){const e=la()[1],t=(()=>{const e=fa(!1);return IT((()=>(e.current=!0,()=>{e.current=!1})),[]),e})();return()=>{t.current&&e(Math.random())}}var BT=e=>ua(e,jT),jT=[];function FT(e){const t=fa(void 0);return ua((()=>{t.current=e})),t.current}var HT=Symbol.for("Animated:node"),$T=e=>e&&e[HT],UT=(e,t)=>{return n=e,r=HT,i=t,Object.defineProperty(n,r,{value:i,writable:!0,configurable:!0});var n,r,i},qT=e=>e&&e[HT]&&e[HT].getPayload(),WT=class{constructor(){UT(this,this)}getPayload(){return this.payload||[]}},VT=class e extends WT{constructor(e){super(),this._value=e,this.done=!0,this.durationProgress=0,wS.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 wS.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,wS.num(this._value)&&(this.elapsedTime=0,this.durationProgress=0,this.lastPosition=this._value,e&&(this.lastVelocity=null),this.v0=null)}},GT=class e extends VT{constructor(e){super(0),this._string=null,this._toString=cT({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(wS.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=cT({output:[this.getValue(),e]})),this._value=0,super.reset()}},YT={dependencies:null},XT=class extends WT{constructor(e){super(),this.source=e,this.setValue(e)}getValue(e){const t={};return CS(this.source,((n,r)=>{var i;(i=n)&&i[HT]===i?t[r]=n.getValue(e):fT(n)?t[r]=hT(n):e||(t[r]=n)})),t}setValue(e){this.source=e,this.payload=this._makePayload(e)}reset(){this.payload&&kS(this.payload,(e=>e.reset()))}_makePayload(e){if(e){const t=new Set;return CS(e,this._addToPayload,t),Array.from(t)}}_addToPayload(e){YT.dependencies&&fT(e)&&YT.dependencies.add(e);const t=qT(e);t&&kS(t,(e=>this.add(e)))}},ZT=class e extends XT{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(KT)),!0)}};function KT(e){return(PT(e)?GT:VT).create(e)}function JT(e){const t=$T(e);return t?t.constructor:wS.arr(e)?ZT:PT(e)?GT:VT}var QT=(e,t)=>{const n=!wS.fun(e)||e.prototype&&e.prototype.isReactComponent;return Ka(((r,i)=>{const o=fa(null),a=n&&pa((e=>{o.current=function(e,t){return e&&(wS.fun(e)?e(t):e.current=t),t}(i,e)}),[i]),[s,l]=function(e,t){const n=new Set;return YT.dependencies=n,e.style&&(e={...e,style:t.createAnimatedStyle(e.style)}),e=new XT(e),YT.dependencies=null,[e,n]}(r,t),c=zT(),u=()=>{const e=o.current;n&&!e||!1===(!!e&&t.applyAnimatedValues(e,s.getValue(!0)))&&c()},d=new eA(u,l),f=fa(void 0);IT((()=>(f.current=d,kS(l,(e=>bT(e,d))),()=>{f.current&&(kS(f.current.deps,(e=>yT(e,f.current))),tS.cancel(f.current.update))}))),ua(u,[]),BT((()=>()=>{const e=f.current;kS(e.deps,(t=>yT(t,e)))}));const h=t.getComponentProps(s.getValue());return wo(e,{...h,ref:a})}))},eA=class{constructor(e,t){this.update=e,this.deps=t}eventObserved(e){"change"==e.type&&tS.write(this.update)}},tA=Symbol.for("AnimatedComponent"),nA=(e,{applyAnimatedValues:t=()=>!1,createAnimatedStyle:n=e=>new XT(e),getComponentProps:r=e=>e}={})=>{const i={applyAnimatedValues:t,createAnimatedStyle:n,getComponentProps:r},o=e=>{const t=rA(e)||"Anonymous";return(e=wS.str(e)?o[e]||(o[e]=QT(e,i)):e[tA]||(e[tA]=QT(e,i))).displayName=`Animated(${t})`,e};return CS(e,((t,n)=>{wS.arr(e)&&(n=rA(t)),o[n]=o(t)})),{animated:o}},rA=e=>wS.str(e)?e:e&&wS.str(e.displayName)?e.displayName:wS.fun(e)&&e.name||null;function iA(e,...t){return wS.fun(e)?e(...t):e}var oA=(e,t)=>!0===e||!!(t&&e&&(wS.fun(e)?e(t):SS(e).includes(t))),aA=(e,t)=>wS.obj(e)?t&&e[t]:e,sA=(e,t)=>!0===e.default?e[t]:e.default?e.default[t]:void 0,lA=e=>e,cA=(e,t=lA)=>{let n=uA;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);wS.und(n)||(r[i]=n)}return r},uA=["config","onProps","onStart","onChange","onPause","onResume","onRest"],dA={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 fA(e){const t=function(e){const t={};let n=0;if(CS(e,((e,r)=>{dA[r]||(t[r]=e,n++)})),n)return t}(e);if(t){const n={to:t};return CS(e,((e,r)=>r in t||(n[r]=e))),n}return{...e}}function hA(e){return e=hT(e),wS.arr(e)?e.map(hA):PT(e)?yS.createStringInterpolator({range:[0,1],output:[e,e]})(1):e}function pA(e){for(const t in e)return!0;return!1}function gA(e){return wS.fun(e)||wS.arr(e)&&wS.obj(e[0])}function mA(e,t){e.ref?.delete(e),t?.delete(e)}function vA(e,t){t&&e.ref!==t&&(e.ref?.delete(e),t.add(e),e.ref=t)}var bA={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}},yA={...bA.default,mass:1,damping:1,easing:e=>e,clamp:!1},_A=class{constructor(){this.velocity=0,Object.assign(this,yA)}};function wA(e,t){if(wS.und(t.decay)){const n=!wS.und(t.tension)||!wS.und(t.friction);!n&&wS.und(t.frequency)&&wS.und(t.damping)&&wS.und(t.mass)||(e.duration=void 0,e.decay=void 0),n&&(e.frequency=void 0)}else e.duration=void 0}var xA=[],kA=class{constructor(){this.changed=!1,this.values=xA,this.toValues=null,this.fromValues=xA,this.config=new _A,this.immediate=!1}};function CA(e,{key:t,props:n,defaultProps:r,state:i,actions:o}){return new Promise(((a,s)=>{let l,c,u=oA(n.cancel??r?.cancel,t);if(u)h();else{wS.und(n.pause)||(i.paused=oA(n.pause,t));let e=r?.pause;!0!==e&&(e=i.paused||oA(e,t)),l=iA(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-tS.now()}function f(){l>0&&!yS.skipAnimation?(i.delayed=!0,c=tS.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 SA=(e,t)=>1==t.length?t[0]:t.some((e=>e.cancelled))?MA(e.get()):t.every((e=>e.noop))?TA(e.get()):AA(e.get(),t.every((e=>e.finished))),TA=e=>({value:e,noop:!0,finished:!0,cancelled:!1}),AA=(e,t,n=!1)=>({value:e,finished:t,cancelled:n}),MA=e=>({value:e,cancelled:!0,finished:!1});function LA(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=cA(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)&&MA(r)||i!==n.asyncId&&AA(r,!1);if(t)throw e.result=t,d(e),e},p=(e,t)=>{const o=new NA,a=new OA;return(async()=>{if(yS.skipAnimation)throw EA(n),a.result=AA(r,!1),d(a),a;h(o);const s=wS.obj(e)?{...e}:{...t,to:e};s.parentId=i,CS(c,((e,t)=>{wS.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(yS.skipAnimation)return EA(n),AA(r,!1);try{let t;t=wS.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=AA(r.get(),!0,!1)}catch(e){if(e instanceof NA)g=e.result;else{if(!(e instanceof OA))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 wS.fun(a)&&tS.batchedUpdates((()=>{a(g,r,r.item)})),g})():l}function EA(e,t){TS(e.timeouts,(e=>e.cancel())),e.pauseQueue.clear(),e.resumeQueue.clear(),e.asyncId=e.asyncTo=e.promise=void 0,t&&(e.cancelId=t)}var NA=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.")}},OA=class extends Error{constructor(){super("SkipAnimationSignal")}},RA=e=>e instanceof PA,DA=1,PA=class extends mT{constructor(){super(...arguments),this.id=DA++,this._priority=0}get priority(){return this._priority}set priority(e){this._priority!=e&&(this._priority=e,this._onPriorityChange(e))}get(){const e=$T(this);return e&&e.getValue()}to(...e){return yS.to(this,e)}interpolate(...e){return RT(`${NT}The "interpolate" function is deprecated in v9 (use "to" instead)`),yS.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){gT(this,{type:"change",parent:this,value:e,idle:t})}_onPriorityChange(e){this.idle||jS.sort(this),gT(this,{type:"priority",parent:this,priority:e})}},IA=Symbol.for("SpringPhase"),zA=e=>(1&e[IA])>0,BA=e=>(2&e[IA])>0,jA=e=>(4&e[IA])>0,FA=(e,t)=>t?e[IA]|=3:e[IA]&=-3,HA=(e,t)=>t?e[IA]|=4:e[IA]&=-5,$A=class extends PA{constructor(e,t){if(super(),this.animation=new kA,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,!wS.und(e)||!wS.und(t)){const n=wS.obj(e)?{...e}:{...t,from:e};wS.und(n.default)&&(n.default=!0),this.start(n)}}get idle(){return!(BA(this)||this._state.asyncTo)||jA(this)}get goal(){return hT(this.animation.to)}get velocity(){const e=$T(this);return e instanceof VT?e.lastVelocity||0:e.getPayload().map((e=>e.lastVelocity||0))}get hasAnimated(){return zA(this)}get isAnimating(){return BA(this)}get isPaused(){return jA(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=qT(r.to);!a&&fT(r.to)&&(i=SS(hT(r.to))),r.values.forEach(((s,l)=>{if(s.done)return;const c=s.constructor==GT?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=wS.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(wS.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=!wS.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=$T(this),l=s.getValue();if(t){const e=hT(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 tS.batchedUpdates((()=>{this._stop(),this._focus(e),this._set(e)})),this}pause(){this._update({pause:!0})}resume(){this._update({pause:!1})}finish(){if(BA(this)){const{to:e,config:t}=this.animation;tS.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 wS.und(e)?(n=this.queue||[],this.queue=[]):n=[wS.obj(e)?e:{...t,to:e}],Promise.all(n.map((e=>this._update(e)))).then((e=>SA(this,e)))}stop(e){const{to:t}=this.animation;return this._focus(this.get()),EA(this._state,e&&this._lastCallId),tS.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=wS.obj(n)?n[t]:n,(null==n||gA(n))&&(n=void 0),r=wS.obj(r)?r[t]:r,null==r&&(r=void 0);const i={to:n,from:r};return zA(this)||(e.reverse&&([n,r]=[r,n]),r=hT(r),wS.und(r)?$T(this)||this._set(n):this._set(r)),i}_update({...e},t){const{key:n,defaultProps:r}=this;e.default&&Object.assign(r,cA(e,((e,t)=>/^on/.test(t)?aA(e,n):e))),XA(this,e,"onProps"),ZA(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 CA(++this._lastCallId,{key:n,props:e,defaultProps:r,state:o,actions:{pause:()=>{jA(this)||(HA(this,!0),LS(o.pauseQueue),ZA(this,"onPause",AA(this,UA(this,this.animation.to)),this))},resume:()=>{jA(this)&&(HA(this,!1),BA(this)&&this._resume(),LS(o.resumeQueue),ZA(this,"onResume",AA(this,UA(this,this.animation.to)),this))},start:this._merge.bind(this,i)}}).then((n=>{if(e.loop&&n.finished&&(!t||!n.noop)){const t=qA(e);if(t)return this._update(t,!0)}return n}))}_merge(e,t,n){if(t.cancel)return this.stop(!0),n(MA(this));const r=!wS.und(e.to),i=!wS.und(e.from);if(r||i){if(!(t.callId>this._lastToId))return n(MA(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&&!wS.und(u)||(u=d),t.reverse&&([u,d]=[d,u]);const f=!xS(d,c);f&&(s.from=d),d=hT(d);const h=!xS(u,l);h&&this._focus(u);const p=gA(t.to),{config:g}=s,{decay:m,velocity:v}=g;(r||i)&&(g.velocity=0),t.config&&!p&&function(e,t,n){n&&(wA(n={...n},t),t={...n,...t}),wA(e,t),Object.assign(e,t);for(const t in yA)null==e[t]&&(e[t]=yA[t]);let{frequency:r,damping:i}=e;const{mass:o}=e;wS.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,iA(t.config,o),t.config!==a.config?iA(a.config,o):void 0);let b=$T(this);if(!b||wS.und(u))return n(AA(this,!0));const y=wS.und(t.reset)?i&&!t.default:!wS.und(d)&&oA(t.reset,o),_=y?d:this.get(),w=hA(u),x=wS.num(w)||wS.arr(w)||PT(w),k=!p&&(!x||oA(a.immediate||t.immediate,o));if(h){const e=JT(u);if(e!==b.constructor){if(!k)throw Error(`Cannot animate between ${b.constructor.name} and ${e.name}, as the "to" prop suggests`);b=this._set(w)}}const C=b.constructor;let S=fT(u),T=!1;if(!S){const e=y||!zA(this)&&f;(h||e)&&(T=xS(hA(_),w),S=!T),(xS(s.immediate,k)||k)&&xS(g.decay,m)&&xS(g.velocity,v)||(S=!0)}if(T&&BA(this)&&(s.changed&&!y?S=!0:S||this._stop(l)),!p&&((S||fT(l))&&(s.values=b.getPayload(),s.toValues=fT(u)?null:C==GT?[1]:SS(w)),s.immediate!=k&&(s.immediate=k,k||y||this._set(l)),S)){const{onRest:e}=s;kS(YA,(e=>XA(this,t,e)));const r=AA(this,UA(this,l));LS(this._pendingCalls,r),this._pendingCalls.add(n),s.changed&&tS.batchedUpdates((()=>{s.changed=!y,e?.(r,this),y?iA(a.onRest,r):s.onStart?.(r,this)}))}y&&this._set(_),p?n(LA(t.to,t,this._state,this)):S?this._start():BA(this)&&!h?this._pendingCalls.add(n):n(TA(_))}_focus(e){const t=this.animation;e!==t.to&&(pT(this)&&this._detach(),t.to=e,pT(this)&&this._attach())}_attach(){let e=0;const{to:t}=this.animation;fT(t)&&(bT(t,this),RA(t)&&(e=t.priority+1)),this.priority=e}_detach(){const{to:e}=this.animation;fT(e)&&yT(e,this)}_set(e,t=!0){const n=hT(e);if(!wS.und(n)){const e=$T(this);if(!e||!xS(n,e.getValue())){const r=JT(n);e&&e.constructor==r?e.setValue(n):UT(this,r.create(n)),e&&tS.batchedUpdates((()=>{this._onChange(n,t)}))}}return $T(this)}_onStart(){const e=this.animation;e.changed||(e.changed=!0,ZA(this,"onStart",AA(this,UA(this,e.to)),this))}_onChange(e,t){t||(this._onStart(),iA(this.animation.onChange,e,this)),iA(this.defaultProps.onChange,e,this),super._onChange(e,t)}_start(){const e=this.animation;$T(this).reset(hT(e.to)),e.immediate||(e.fromValues=e.values.map((e=>e.lastPosition))),BA(this)||(FA(this,!0),jA(this)||this._resume())}_resume(){yS.skipAnimation?this.finish():jS.start(this)}_stop(e,t){if(BA(this)){FA(this,!1);const n=this.animation;kS(n.values,(e=>{e.done=!0})),n.toValues&&(n.onChange=n.onPause=n.onResume=void 0),gT(this,{type:"idle",parent:this});const r=t?MA(this.get()):AA(this.get(),UA(this,e??n.to));LS(this._pendingCalls,r),n.changed&&(n.changed=!1,ZA(this,"onRest",r,this))}}};function UA(e,t){const n=hA(t);return xS(hA(e.get()),n)}function qA(e,t=e.loop,n=e.to){const r=iA(t);if(r){const i=!0!==r&&fA(r),o=(i||e).reverse,a=!i||i.reset;return WA({...e,loop:t,default:!1,pause:void 0,to:!o||gA(n)?n:void 0,from:a?e.from:void 0,reset:a,...i})}}function WA(e){const{to:t,from:n}=e=fA(e),r=new Set;return wS.obj(t)&&GA(t,r),wS.obj(n)&&GA(n,r),e.keys=r.size?Array.from(r):null,e}function VA(e){const t=WA(e);return wS.und(t.default)&&(t.default=cA(t)),t}function GA(e,t){CS(e,((e,n)=>null!=e&&t.add(n)))}var YA=["onStart","onRest","onChange","onPause","onResume"];function XA(e,t,n){e.animation[n]=t[n]!==sA(t,n)?aA(t[n],e.key):void 0}function ZA(e,t,...n){e.animation[t]?.(...n),e.defaultProps[t]?.(...n)}var KA=["onStart","onChange","onRest"],JA=1,QA=class{constructor(e,t){this.id=JA++,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];wS.und(n)||this.springs[t].set(n)}}update(e){return e&&this.queue.push(WA(e)),this}start(e){let{queue:t}=this;return e?t=SS(e).map(WA):this.queue=[],this._flush?this._flush(this,t):(aM(this,t),eM(this,t))}stop(e,t){if(e!==!!e&&(t=e),t){const n=this.springs;kS(SS(t),(t=>n[t].stop(!!e)))}else EA(this._state,this._lastAsyncId),this.each((t=>t.stop(!!e)));return this}pause(e){if(wS.und(e))this.start({pause:!0});else{const t=this.springs;kS(SS(e),(e=>t[e].pause()))}return this}resume(e){if(wS.und(e))this.start({pause:!1});else{const t=this.springs;kS(SS(e),(e=>t[e].resume()))}return this}each(e){CS(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,TS(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&&TS(t,(([e,t])=>{t.value=a,e(t,this,this._item)})),o&&(this._started=!1,TS(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)}tS.onFrame(this._onFrame)}};function eM(e,t){return Promise.all(t.map((t=>tM(e,t)))).then((t=>SA(e,t)))}async function tM(e,t,n){const{keys:r,to:i,from:o,loop:a,onRest:s,onResolve:l}=t,c=wS.obj(t.default)&&t.default;a&&(t.loop=!1),!1===i&&(t.to=null),!1===o&&(t.from=null);const u=wS.arr(i)||wS.fun(i)?i:void 0;u?(t.to=void 0,t.onRest=void 0,c&&(c.onRest=void 0)):kS(KA,(n=>{const r=t[n];if(wS.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,LS(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===sA(t,"cancel");(u||h&&d.asyncId)&&f.push(CA(++e._lastAsyncId,{props:t,state:d,actions:{pause:_S,resume:_S,start(t,n){h?(EA(d,e._lastAsyncId),n(MA(e))):(t.onRest=s,n(LA(u,t,d,e)))}}})),d.paused&&await new Promise((e=>{d.resumeQueue.add(e)}));const p=SA(e,await Promise.all(f));if(a&&p.finished&&(!n||!p.noop)){const n=qA(t,a,i);if(n)return aM(e,[n]),tM(e,n,!0)}return l&&tS.batchedUpdates((()=>l(p,e,e.item))),p}function nM(e,t){const n={...e.springs};return t&&kS(SS(t),(e=>{wS.und(e.keys)&&(e=WA(e)),wS.obj(e.to)||(e={...e,to:void 0}),oM(n,e,(e=>iM(e)))})),rM(e,n),n}function rM(e,t){CS(t,((t,n)=>{e.springs[n]||(e.springs[n]=t,bT(t,e))}))}function iM(e,t){const n=new $A;return n.key=e,t&&bT(n,t),n}function oM(e,t,n){t.keys&&kS(t.keys,(r=>{(e[r]||(e[r]=n(r)))._prepareNode(t)}))}function aM(e,t){kS(t,(t=>{oM(e.springs,t,(t=>iM(t,e)))}))}var sM=Go({pause:!1,immediate:!1}),lM=()=>{const e=[],t=function(t){DT(`${NT}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 kS(e,((e,i)=>{if(wS.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 kS(e,(e=>e.pause(...arguments))),this},t.resume=function(){return kS(e,(e=>e.resume(...arguments))),this},t.set=function(t){kS(e,((e,n)=>{const r=wS.fun(t)?t(n,e):t;r&&e.set(r)}))},t.start=function(t){const n=[];return kS(e,((e,r)=>{if(wS.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 kS(e,(e=>e.stop(...arguments))),this},t.update=function(t){return kS(e,((e,n)=>e.update(this._getProps(t,e,n)))),this};const n=function(e,t,n){return wS.fun(e)?e(n,t):e};return t._getProps=n,t};function cM(e,t){const n=wS.fun(e),[[r],i]=function(e,t,n){const r=wS.fun(t)&&t;r&&!n&&(n=[]);const i=ha((()=>r||3==arguments.length?lM():void 0),[]),o=fa(0),a=zT(),s=ha((()=>({ctrls:[],queue:[],flush(e,t){const n=nM(e,t);return o.current>0&&!s.queue.length&&!Object.keys(n).some((t=>!e.springs[t]))?eM(e,t):new Promise((r=>{rM(e,n),s.queue.push((()=>{r(eM(e,t))})),a()}))}})),[]),l=fa([...s.ctrls]),c=fa([]),u=FT(e)||0;function d(e,n){for(let i=e;i<n;i++){const e=l.current[i]||(l.current[i]=new QA(null,s.flush)),n=r?r(i,e):t[i];n&&(c.current[i]=VA(n))}}ha((()=>{kS(l.current.slice(e,u),(e=>{mA(e,i),e.stop(!0)})),l.current.length=e,d(u,e)}),[e]),ha((()=>{d(0,Math.min(u,e))}),n);const f=l.current.map(((e,t)=>nM(e,c.current[t]))),h=ga(sM),p=FT(h),g=h!==p&&pA(h);IT((()=>{o.current++,s.ctrls=l.current;const{queue:e}=s;e.length&&(s.queue=[],kS(e,(e=>e()))),kS(l.current,((e,t)=>{i?.add(e),g&&e.start({default:h});const n=c.current[t];n&&(vA(e,n.ref),e.ref?e.queue.push(n):e.start(n))}))})),BT((()=>()=>{kS(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 uM(e,t,n){const r=wS.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=ha((()=>r||3==arguments.length?lM():void 0),[]),h=SS(e),p=[],g=fa(null),m=i?null:g.current;IT((()=>{g.current=p})),BT((()=>(kS(p,(e=>{f?.add(e.ctrl),e.ctrl.ref=f})),()=>{kS(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):dM++}))}return wS.und(n)?e:wS.fun(n)?e.map(n):SS(n)}(h,r?r():t,m),b=i&&g.current||[];IT((()=>kS(b,(({ctrl:e,item:t,key:n})=>{mA(e,f),iA(c,t,n)}))));const y=[];if(m&&kS(m,((e,t)=>{e.expired?(clearTimeout(e.expirationId),b.push(e)):~(t=y[t]=v.indexOf(e.key))&&(p[t]=e)})),kS(h,((e,t)=>{p[t]||(p[t]={key:v[t],item:e,phase:"mount",ctrl:new QA},p[t].ctrl.item=e)})),y.length){let e=-1;const{leave:n}=r?r():t;kS(y,((t,r)=>{const i=m[r];~t?(e=p.indexOf(i),p[e]={...i,item:h[t]}):n&&p.splice(++e,0,i)}))}wS.fun(o)&&p.sort(((e,t)=>o(e.item,t.item)));let _=-a;const w=zT(),x=cA(t),k=new Map,C=fa(new Map),S=fa(!1);kS(p,((e,n)=>{const i=e.key,o=e.phase,c=r?r():t;let f,h;const p=iA(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=iA(f,e.item,n),f=wS.obj(f)?fA(f):{to:f},!f.config){const t=d||x.config;f.config=iA(t,e.item,n,h)}_+=a;const b={...x,delay:p+_,ref:u,immediate:c.immediate,reset:!1,...f};if("enter"==h&&wS.und(b.from)){const i=r?r():t,o=wS.und(i.initial)||m?i.from:i.initial;b.from=iA(o,e.item,n)}const{onResolve:y}=b;b.onResolve=e=>{iA(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=iA(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))&&(C.current.delete(n),l&&(S.current=!0),w())}};const T=nM(e.ctrl,b);"leave"===h&&l?C.current.set(e,{phase:h,springs:T,payload:b}):k.set(e,{phase:h,springs:T,payload:b})}));const T=ga(sM),A=FT(T),M=T!==A&&pA(T);IT((()=>{M&&kS(p,(e=>{e.ctrl.start({default:T})}))}),[T]),kS(k,((e,t)=>{if(C.current.size){const e=p.findIndex((e=>e.key===t.key));p.splice(e,1)}})),IT((()=>{kS(C.current.size?C.current:k,(({phase:e,payload:t},n)=>{const{ctrl:r}=n;n.phase=e,f?.add(r),M&&"enter"==e&&r.start({default:T}),t&&(vA(r,t.ref),!r.ref&&!f||S.current?(r.start(t),S.current&&(S.current=!1)):r.update(t))}))}),i?void 0:n);const L=e=>wo(ko,null,p.map(((t,n)=>{const{springs:r}=k.get(t)||t.ctrl,i=e({...r},t.item,t,n),o=wS.str(t.key)||wS.num(t.key)?t.key:t.ctrl.id,a=i?.props??{},s=i?.ref;return i&&i.type?wo(i.type,{...a,key:o,ref:s}):i})));return f?[L,f]:L}var dM=1,fM=class extends PA{constructor(e,t){super(),this.source=e,this.idle=!0,this._active=new Set,this.calc=cT(...t);const n=this._get(),r=JT(n);UT(this,r.create(n))}advance(e){const t=this._get();xS(t,this.get())||($T(this).setValue(t),this._onChange(t,this.idle)),!this.idle&&pM(this._active)&&gM(this)}_get(){const e=wS.arr(this.source)?this.source.map(hT):SS(hT(this.source));return this.calc(...e)}_start(){this.idle&&!pM(this._active)&&(this.idle=!1,kS(qT(this),(e=>{e.done=!1})),yS.skipAnimation?(tS.batchedUpdates((()=>this.advance())),gM(this)):jS.start(this))}_attach(){let e=1;kS(SS(this.source),(t=>{fT(t)&&bT(t,this),RA(t)&&(t.idle||this._active.add(t),e=Math.max(e,t.priority+1))})),this.priority=e,this._start()}_detach(){kS(SS(this.source),(e=>{fT(e)&&yT(e,this)})),this._active.clear(),gM(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=SS(this.source).reduce(((e,t)=>Math.max(e,(RA(t)?t.priority:0)+1)),0))}};function hM(e){return!1!==e.idle}function pM(e){return!e.size||Array.from(e).every(hM)}function gM(e){e.idle||(e.idle=!0,kS(qT(e),(e=>{e.done=!0})),gT(e,{type:"idle",parent:e}))}var mM=(e,...t)=>new fM(e,t);yS.assign({createStringInterpolator:ET,to:(e,t)=>new fM(e,t)});var vM=/^--/;function bM(e,t){return null==t||"boolean"==typeof t||""===t?"":"number"!=typeof t||0===t||vM.test(e)||_M.hasOwnProperty(e)&&_M[e]?(""+t).trim():t+"px"}var yM={},_M={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},wM=["Webkit","Ms","Moz","O"];_M=Object.keys(_M).reduce(((e,t)=>(wM.forEach((n=>e[((e,t)=>e+t.charAt(0).toUpperCase()+t.substring(1))(n,t)]=e[t])),e)),_M);var xM=/^(matrix|translate|scale|rotate|skew)/,kM=/^(translate)/,CM=/^(rotate|skew)/,SM=(e,t)=>wS.num(e)&&0!==e?e+t:e,TM=(e,t)=>wS.arr(e)?e.every((e=>TM(e,t))):wS.num(e)?e===t:parseFloat(e)===t,AM=class extends XT{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=>SM(e,"px"))).join(",")})`,TM(e,0)]))),CS(r,((e,t)=>{if("transform"===t)i.push([e||""]),o.push((e=>[e,""===e]));else if(xM.test(t)){if(delete r[t],wS.und(e))return;const n=kM.test(t)?"px":CM.test(t)?"deg":"";i.push(SS(e)),o.push("rotate3d"===t?([e,t,r,i])=>[`rotate3d(${e},${t},${r},${SM(i,n)})`,TM(i,0)]:e=>[`${t}(${e.map((e=>SM(e,n))).join(",")})`,TM(e,t.startsWith("scale")?1:0)])}})),i.length&&(r.transform=new MM(i,o)),super(r)}},MM=class extends mT{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 kS(this.inputs,((n,r)=>{const i=hT(n[0]),[o,a]=this.transforms[r](wS.arr(i)?i:n.map(hT));e+=" "+o,t=t&&a})),t?"none":e}observerAdded(e){1==e&&kS(this.inputs,(e=>kS(e,(e=>fT(e)&&bT(e,this)))))}observerRemoved(e){0==e&&kS(this.inputs,(e=>kS(e,(e=>fT(e)&&yT(e,this)))))}eventObserved(e){"change"==e.type&&(this._value=null),gT(this,e)}};yS.assign({batchedUpdates:Ss,createStringInterpolator:ET,colors:qS});var LM,EM,NM,OM,RM,DM,PM,IM,zM,BM,jM,FM,HM,$M,UM,qM,WM,VM,GM,YM,XM,ZM,KM,JM,QM,eL,tL,nL,rL,iL,oL,aL,sL,lL,cL,uL,dL,fL,hL,pL,gL,mL,vL,bL,yL,_L,wL,xL,kL,CL,SL,TL,AL,ML,LL,EL,NL,OL,RL,DL,PL,IL,zL,BL,jL,FL,HL,$L,UL,qL,WL,VL,GL,YL,XL,ZL,KL,JL,QL,eE,tE,nE,rE,iE,oE,aE,sE,lE,cE,uE,dE,fE,hE,pE,gE,mE,vE,bE,yE=nA(["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:yM[t]||(yM[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=bM(t,i[t]);vM.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 AM(e),getComponentProps:({scrollTop:e,scrollLeft:t,...n})=>n}),_E=yE.animated;function wE(){return OM?NM:(OM=1,NM=function(e,t){return e===t||e!=e&&t!=t})}function xE(){if(DM)return RM;DM=1;var e=wE();return RM=function(t,n){for(var r=t.length;r--;)if(e(t[r][0],n))return r;return-1},RM}function kE(){if(qM)return UM;qM=1;var e=EM?LM:(EM=1,LM=function(){this.__data__=[],this.size=0}),t=function(){if(IM)return PM;IM=1;var e=xE(),t=Array.prototype.splice;return PM=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))},PM}(),n=function(){if(BM)return zM;BM=1;var e=xE();return zM=function(t){var n=this.__data__,r=e(n,t);return r<0?void 0:n[r][1]},zM}(),r=function(){if(FM)return jM;FM=1;var e=xE();return jM=function(t){return e(this.__data__,t)>-1}}(),i=function(){if($M)return HM;$M=1;var e=xE();return HM=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},HM}();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,UM=o}function CE(){if(eL)return QM;eL=1;var e="object"==typeof Yb&&Yb&&Yb.Object===Object&&Yb;return QM=e}function SE(){if(nL)return tL;nL=1;var e=CE(),t="object"==typeof self&&self&&self.Object===Object&&self,n=e||t||Function("return this")();return tL=n}function TE(){if(iL)return rL;iL=1;var e=SE().Symbol;return rL=e}function AE(){if(uL)return cL;uL=1;var e=TE(),t=function(){if(aL)return oL;aL=1;var e=TE(),t=Object.prototype,n=t.hasOwnProperty,r=t.toString,i=e?e.toStringTag:void 0;return oL=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(lL)return sL;lL=1;var e=Object.prototype.toString;return sL=function(t){return e.call(t)}}(),r=e?e.toStringTag:void 0;return cL=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":r&&r in Object(e)?t(e):n(e)}}function ME(){return fL||(fL=1,dL=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}),dL}function LE(){if(pL)return hL;pL=1;var e=AE(),t=ME();return hL=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 EE(){if(_L)return yL;_L=1;var e=Function.prototype.toString;return yL=function(t){if(null!=t){try{return e.call(t)}catch(e){}try{return t+""}catch(e){}}return""}}function NE(){if(TL)return SL;TL=1;var e=function(){if(xL)return wL;xL=1;var e=LE(),t=function(){if(bL)return vL;bL=1;var e,t=function(){if(mL)return gL;mL=1;var e=SE()["__core-js_shared__"];return gL=e}(),n=(e=/[^.]+$/.exec(t&&t.keys&&t.keys.IE_PROTO||""))?"Symbol(src)_1."+e:"";return vL=function(e){return!!n&&n in e}}(),n=ME(),r=EE(),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 wL=function(o){return!(!n(o)||t(o))&&(e(o)?c:i).test(r(o))}}(),t=(CL||(CL=1,kL=function(e,t){return null==e?void 0:e[t]}),kL);return SL=function(n,r){var i=t(n,r);return e(i)?i:void 0},SL}function OE(){if(ML)return AL;ML=1;var e=NE()(SE(),"Map");return AL=e}function RE(){if(EL)return LL;EL=1;var e=NE()(Object,"create");return LL=e}function DE(){if(YL)return GL;YL=1;var e=(VL||(VL=1,WL=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}),WL);return GL=function(t,n){var r=t.__data__;return e(n)?r["string"==typeof n?"string":"hash"]:r.map},GL}function PE(){if(iE)return rE;iE=1;var e=function(){if(qL)return UL;qL=1;var e=function(){if($L)return HL;$L=1;var e=function(){if(OL)return NL;OL=1;var e=RE();return NL=function(){this.__data__=e?e(null):{},this.size=0}}(),t=DL?RL:(DL=1,RL=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}),n=function(){if(IL)return PL;IL=1;var e=RE(),t=Object.prototype.hasOwnProperty;return PL=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(BL)return zL;BL=1;var e=RE(),t=Object.prototype.hasOwnProperty;return zL=function(n){var r=this.__data__;return e?void 0!==r[n]:t.call(r,n)}}(),i=function(){if(FL)return jL;FL=1;var e=RE();return jL=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,HL=o}(),t=kE(),n=OE();return UL=function(){this.size=0,this.__data__={hash:new e,map:new(n||t),string:new e}}}(),t=function(){if(ZL)return XL;ZL=1;var e=DE();return XL=function(t){var n=e(this,t).delete(t);return this.size-=n?1:0,n}}(),n=function(){if(JL)return KL;JL=1;var e=DE();return KL=function(t){return e(this,t).get(t)}}(),r=function(){if(eE)return QL;eE=1;var e=DE();return QL=function(t){return e(this,t).has(t)}}(),i=function(){if(nE)return tE;nE=1;var e=DE();return tE=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,rE=o}function IE(){if(lE)return sE;lE=1;var e=kE(),t=function(){if(VM)return WM;VM=1;var e=kE();return WM=function(){this.__data__=new e,this.size=0}}(),n=YM?GM:(YM=1,GM=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}),r=ZM?XM:(ZM=1,XM=function(e){return this.__data__.get(e)}),i=JM?KM:(JM=1,KM=function(e){return this.__data__.has(e)}),o=function(){if(aE)return oE;aE=1;var e=kE(),t=OE(),n=PE();return oE=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,sE=a}function zE(){if(uE)return cE;uE=1;var e=NE(),t=function(){try{var t=e(Object,"defineProperty");return t({},"",{}),t}catch(e){}}();return cE=t}function BE(){if(fE)return dE;fE=1;var e=zE();return dE=function(t,n,r){"__proto__"==n&&e?e(t,n,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[n]=r},dE}function jE(){if(pE)return hE;pE=1;var e=BE(),t=wE();return hE=function(n,r,i){(void 0!==i&&!t(n[r],i)||void 0===i&&!(r in n))&&e(n,r,i)},hE}function FE(){if(bE)return vE;bE=1;var e=(mE||(mE=1,gE=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}}),gE),t=e();return vE=t}var HE,$E,UE,qE,WE,VE,GE,YE,XE,ZE,KE,JE,QE,eN,tN,nN,rN,iN,oN,aN,sN,lN,cN,uN,dN,fN,hN,pN,gN,mN,vN,bN,yN,_N={exports:{}};function wN(){return HE||(HE=1,function(e,t){var n=SE(),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}}(_N,_N.exports)),_N.exports}function xN(){if(UE)return $E;UE=1;var e=SE().Uint8Array;return $E=e}function kN(){if(WE)return qE;WE=1;var e=xN();return qE=function(t){var n=new t.constructor(t.byteLength);return new e(n).set(new e(t)),n}}function CN(){if(GE)return VE;GE=1;var e=kN();return VE=function(t,n){var r=n?e(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.length)}}function SN(){return XE||(XE=1,YE=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}),YE}function TN(){return QE?JE:(QE=1,JE=function(e,t){return function(n){return e(t(n))}})}function AN(){if(tN)return eN;tN=1;var e=TN()(Object.getPrototypeOf,Object);return eN=e}function MN(){if(rN)return nN;rN=1;var e=Object.prototype;return nN=function(t){var n=t&&t.constructor;return t===("function"==typeof n&&n.prototype||e)}}function LN(){if(oN)return iN;oN=1;var e=function(){if(KE)return ZE;KE=1;var e=ME(),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 ZE=n}(),t=AN(),n=MN();return iN=function(r){return"function"!=typeof r.constructor||n(r)?{}:e(t(r))},iN}function EN(){return sN?aN:(sN=1,aN=function(e){return null!=e&&"object"==typeof e})}function NN(){if(dN)return uN;dN=1;var e=function(){if(cN)return lN;cN=1;var e=AE(),t=EN();return lN=function(n){return t(n)&&"[object Arguments]"==e(n)}}(),t=EN(),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 uN=o}function ON(){if(hN)return fN;hN=1;var e=Array.isArray;return fN=e}function RN(){return gN?pN:(gN=1,pN=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991})}function DN(){if(vN)return mN;vN=1;var e=LE(),t=RN();return mN=function(n){return null!=n&&t(n.length)&&!e(n)}}function PN(){if(yN)return bN;yN=1;var e=DN(),t=EN();return bN=function(n){return t(n)&&e(n)}}var IN,zN,BN,jN,FN,HN,$N,UN,qN,WN={exports:{}};function VN(){return BN||(BN=1,function(e,t){var n=SE(),r=zN?IN:(zN=1,IN=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}(WN,WN.exports)),WN.exports}function GN(){if(FN)return jN;FN=1;var e=AE(),t=AN(),n=EN(),r=Function.prototype,i=Object.prototype,o=r.toString,a=i.hasOwnProperty,s=o.call(Object);return jN=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 YN(){return qN?UN:(qN=1,UN=function(e){return function(t){return e(t)}})}var XN,ZN,KN,JN,QN,eO,tO,nO,rO,iO,oO,aO,sO,lO,cO,uO,dO,fO,hO,pO,gO,mO,vO,bO,yO,_O,wO,xO,kO,CO,SO,TO,AO,MO,LO,EO,NO,OO,RO,DO,PO,IO,zO,BO,jO,FO,HO,$O,UO,qO={exports:{}};function WO(){return XN||(XN=1,function(e,t){var n=CE(),r=t&&!t.nodeType&&t,i=r&&e&&!e.nodeType&&e,o=i&&i.exports===r&&n.process,a=function(){try{return i&&i.require&&i.require("util").types||o&&o.binding&&o.binding("util")}catch(e){}}();e.exports=a}(qO,qO.exports)),qO.exports}function VO(){if(KN)return ZN;KN=1;var e=function(){if($N)return HN;$N=1;var e=AE(),t=RN(),n=EN(),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,HN=function(i){return n(i)&&t(i.length)&&!!r[e(i)]}}(),t=YN(),n=WO(),r=n&&n.isTypedArray,i=r?t(r):e;return ZN=i}function GO(){return QN||(QN=1,JN=function(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}),JN}function YO(){if(tO)return eO;tO=1;var e=BE(),t=wE(),n=Object.prototype.hasOwnProperty;return eO=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)},eO}function XO(){if(rO)return nO;rO=1;var e=YO(),t=BE();return nO=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},nO}function ZO(){if(sO)return aO;sO=1;var e=/^(?:0|[1-9]\d*)$/;return aO=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},aO}function KO(){if(cO)return lO;cO=1;var e=(oO||(oO=1,iO=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}),iO),t=NN(),n=ON(),r=VN(),i=ZO(),o=VO(),a=Object.prototype.hasOwnProperty;return lO=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 JO(){if(gO)return pO;gO=1;var e=KO(),t=function(){if(hO)return fO;hO=1;var e=ME(),t=MN(),n=(dO||(dO=1,uO=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}),uO),r=Object.prototype.hasOwnProperty;return fO=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},fO}(),n=DN();return pO=function(r){return n(r)?e(r,!0):t(r)},pO}function QO(){return kO?xO:(kO=1,xO=function(e){return e})}function eR(){if(AO)return TO;AO=1;var e=SO?CO:(SO=1,CO=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 TO=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)}},TO}function tR(){if(PO)return DO;PO=1;var e=function(){if(NO)return EO;NO=1;var e=LO?MO:(LO=1,MO=function(e){return function(){return e}}),t=zE(),n=QO();return EO=t?function(n,r){return t(n,"toString",{configurable:!0,enumerable:!1,value:e(r),writable:!0})}:n}(),t=function(){if(RO)return OO;RO=1;var e=Date.now;return OO=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)}},OO}(),n=t(e);return DO=n}function nR(){if(zO)return IO;zO=1;var e=QO(),t=eR(),n=tR();return IO=function(r,i){return n(t(r,i,e),r+"")},IO}function rR(){if(jO)return BO;jO=1;var e=wE(),t=DN(),n=ZO(),r=ME();return BO=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)},BO}var iR,oR,aR,sR,lR,cR,uR,dR,fR,hR,pR,gR,mR,vR,bR,yR,_R,wR,xR,kR,CR,SR,TR,AR,MR=function(){if(UO)return $O;UO=1;var e=function(){if(wO)return _O;wO=1;var e=IE(),t=jE(),n=FE(),r=function(){if(yO)return bO;yO=1;var e=jE(),t=wN(),n=CN(),r=SN(),i=LN(),o=NN(),a=ON(),s=PN(),l=VN(),c=LE(),u=ME(),d=GN(),f=VO(),h=GO(),p=function(){if(vO)return mO;vO=1;var e=XO(),t=JO();return mO=function(n){return e(n,t(n))}}();return bO=function(g,m,v,b,y,_,w){var x=h(g,v),k=h(m,v),C=w.get(k);if(C)e(g,v,C);else{var S=_?_(x,k,v+"",g,m,w):void 0,T=void 0===S;if(T){var A=a(k),M=!A&&l(k),L=!A&&!M&&f(k);S=k,A||M||L?a(x)?S=x:s(x)?S=r(x):M?(T=!1,S=t(k,!0)):L?(T=!1,S=n(k,!0)):S=[]:d(k)||o(k)?(S=x,o(x)?S=p(x):u(x)&&!c(x)||(S=i(k))):T=!1}T&&(w.set(k,S),y(S,k,b,_,w),w.delete(k)),e(g,v,S)}},bO}(),i=ME(),o=JO(),a=GO();return _O=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)},_O}(),t=function(){if(HO)return FO;HO=1;var e=nR(),t=rR();return FO=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}))},FO}(),n=t((function(t,n,r){e(t,n,r)}));return $O=n}(),LR=Xb(MR);function ER(){if(oR)return iR;oR=1;var e=AE(),t=EN();return iR=function(n){return"symbol"==typeof n||t(n)&&"[object Symbol]"==e(n)}}function NR(){if(sR)return aR;sR=1;var e=ON(),t=ER(),n=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,r=/^\w*$/;return aR=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)},aR}function OR(){return gR||(gR=1,pR=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}),pR}function RR(){if(yR)return bR;yR=1;var e=function(){if(vR)return mR;vR=1;var e=TE(),t=OR(),n=ON(),r=ER(),i=e?e.prototype:void 0,o=i?i.toString:void 0;return mR=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},mR}();return bR=function(t){return null==t?"":e(t)}}function DR(){if(wR)return _R;wR=1;var e=ON(),t=NR(),n=function(){if(hR)return fR;hR=1;var e=function(){if(dR)return uR;dR=1;var e=function(){if(cR)return lR;cR=1;var e=PE();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,lR=t}();return uR=function(t){var n=e(t,(function(e){return 500===r.size&&r.clear(),e})),r=n.cache;return n}}(),t=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,n=/\\(\\)?/g,r=e((function(e){var r=[];return 46===e.charCodeAt(0)&&r.push(""),e.replace(t,(function(e,t,i,o){r.push(i?o.replace(n,"$1"):t||e)})),r}));return fR=r}(),r=RR();return _R=function(i,o){return e(i)?i:t(i,o)?[i]:n(r(i))},_R}function PR(){if(kR)return xR;kR=1;var e=ER();return xR=function(t){if("string"==typeof t||e(t))return t;var n=t+"";return"0"==n&&1/t==-1/0?"-0":n}}function IR(){if(SR)return CR;SR=1;var e=DR(),t=PR();return CR=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},CR}function zR(){if(AR)return TR;AR=1;var e=IR();return TR=function(t,n,r){var i=null==t?void 0:e(t,n);return void 0===i?r:i},TR}var BR,jR,FR,HR,$R=Xb(zR());function UR(){if(jR)return BR;jR=1;var e=YO(),t=DR(),n=ZO(),r=ME(),i=PR();return BR=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},BR}var qR=function(){if(HR)return FR;HR=1;var e=UR();return FR=function(t,n,r){return null==t?t:e(t,n,r)},FR}(),WR=Xb(qR);function VR(){return VR=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},VR.apply(null,arguments)}var GR=["outlineWidth","outlineColor","outlineOpacity"],YR=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,GR)},XR=["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"],ZR=function(e,t){return t?LR({},e,t):e},KR={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}}},JR=Go(null),QR={},eD=function(e){var t=e.theme,n=void 0===t?QR:t,r=e.children,i=function(e){return ha((function(){return function(e,t){var n=LR({},e,t);return XR.forEach((function(e){WR(n,e,function(e,t){return VR({},t,e)}($R(n,e),n.text))})),n}(KR,e)}),[e])}(n);return qc(JR.Provider,{value:i,children:r})},tD=function(){var e=ga(JR);if(null===e)throw new Error("Unable to find the theme, did you forget to wrap your component with ThemeProvider?");return e};function nD(){return nD=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},nD.apply(null,arguments)}var rD=["basic","chip","container","table","tableCell","tableCellValue"],iD={pointerEvents:"none",position:"absolute",zIndex:10,top:0,left:0},oD=function(e,t){return"translate("+e+"px, "+t+"px)"},aD=Ya((function(e){var t,n=e.position,r=e.anchor,i=e.children,o=tD(),a=CF(),s=a.animate,l=a.config,c=iH(),u=c[0],d=c[1],f=fa(!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:oD(m,v)},f.current||(p=!0),f.current=[m,v]);var b=cM({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,rD),w=nD({},iD,_,{transform:null!=(t=b.transform)?t:oD(m,v),opacity:b.transform?1:0});return qc(_E.div,{ref:u,style:w,children:i})}));aD.displayName="TooltipWrapper";var sD=Ya((function(e){var t=e.size,n=void 0===t?12:t,r=e.color,i=e.style;return qc("span",{style:nD({display:"block",width:n,height:n,background:r},void 0===i?{}:i)})})),lD=Ya((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=tD(),u=aH(i);if("function"==typeof l)t=l();else{var d=r;void 0!==u&&void 0!==d&&(d=u(d)),t=qc("div",{style:c.tooltip.basic,children:[a&&qc(sD,{color:s,style:c.tooltip.chip}),void 0!==d?qc("span",{children:[n,": ",qc("strong",{children:""+d})]}):n]})}return qc("div",{style:c.tooltip.container,role:"tooltip",children:t})})),cD={width:"100%",borderCollapse:"collapse"},uD=Ya((function(e){var t,n=e.title,r=e.rows,i=void 0===r?[]:r,o=e.renderContent,a=tD();return i.length?(t="function"==typeof o?o():qc("div",{children:[n&&n,qc("table",{style:nD({},cD,a.tooltip.table),children:qc("tbody",{children:i.map((function(e,t){return qc("tr",{children:e.map((function(e,t){return qc("td",{style:a.tooltip.tableCell,children:e},t)}))},t)}))})})]}),qc("div",{style:a.tooltip.container,children:t})):null}));uD.displayName="TableTooltip";var dD=Ya((function(e){var t=e.x0,n=e.x1,r=e.y0,i=e.y1,o=tD(),a=CF(),s=a.animate,l=a.config,c=ha((function(){return nD({},o.crosshair.line,{pointerEvents:"none"})}),[o.crosshair.line]),u=cM({x1:t,x2:n,y1:r,y2:i,config:l,immediate:!s});return qc(_E.line,nD({},u,{fill:"none",style:c}))}));dD.displayName="CrosshairLine";var fD=Ya((function(e){var t,n,r=e.width,i=e.height,o=e.type,a=e.x,s=e.y;return"cross"===o?(t={x0:a,x1:a,y0:0,y1:i},n={x0:0,x1:r,y0:s,y1:s}):"top-left"===o?(t={x0:a,x1:a,y0:0,y1:s},n={x0:0,x1:a,y0:s,y1:s}):"top"===o?t={x0:a,x1:a,y0:0,y1:s}:"top-right"===o?(t={x0:a,x1:a,y0:0,y1:s},n={x0:a,x1:r,y0:s,y1:s}):"right"===o?n={x0:a,x1:r,y0:s,y1:s}:"bottom-right"===o?(t={x0:a,x1:a,y0:s,y1:i},n={x0:a,x1:r,y0:s,y1:s}):"bottom"===o?t={x0:a,x1:a,y0:s,y1:i}:"bottom-left"===o?(t={x0:a,x1:a,y0:s,y1:i},n={x0:0,x1:a,y0:s,y1:s}):"left"===o?n={x0:0,x1:a,y0:s,y1:s}:"x"===o?t={x0:a,x1:a,y0:0,y1:i}:"y"===o&&(n={x0:0,x1:r,y0:s,y1:s}),qc(ko,{children:[t&&qc(dD,{x0:t.x0,x1:t.x1,y0:t.y0,y1:t.y1}),n&&qc(dD,{x0:n.x0,x1:n.x1,y0:n.y0,y1:n.y1})]})}));fD.displayName="Crosshair";var hD,pD,gD=Go({showTooltipAt:function(){},showTooltipFromEvent:function(){},hideTooltip:function(){}}),mD={isVisible:!1,position:[null,null],content:null,anchor:null},vD=Go(mD),bD=function(){var e=ga(gD);if(void 0===e)throw new Error("useTooltip must be used within a TooltipProvider");return e},yD=function(){var e=function(){var e=ga(vD);if(void 0===e)throw new Error("useTooltipState must be used within a TooltipProvider");return e}();return function(e){return e.isVisible}(e)?qc(aD,{position:e.position,anchor:e.anchor,children:e.content}):null},_D=function(e){var t=e.container,n=e.children,r=function(e){var t=la(mD),n=t[0],r=t[1],i=pa((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=pa((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=pa((function(){r(mD)}),[r]);return{actions:ha((function(){return{showTooltipAt:i,showTooltipFromEvent:o,hideTooltip:a}}),[i,o,a]),state:n}}(t),i=r.actions,o=r.state;return qc(gD.Provider,{value:i,children:qc(vD.Provider,{value:o,children:n})})},wD=Xb(function(){if(pD)return hD;pD=1;var e=AE(),t=ON(),n=EN();return hD=function(r){return"string"==typeof r||!t(r)&&n(r)&&"[object String]"==e(r)}}());let xD;xD="undefined"!=typeof window?window:"undefined"!=typeof self?self:a.g;let kD=null,CD=null;const SD=xD.clearTimeout,TD=xD.setTimeout,AD=xD.cancelAnimationFrame||xD.mozCancelAnimationFrame||xD.webkitCancelAnimationFrame,MD=xD.requestAnimationFrame||xD.mozRequestAnimationFrame||xD.webkitRequestAnimationFrame;null==AD||null==MD?(kD=SD,CD=function(e){return TD(e,20)}):(kD=function([e,t]){AD(e),SD(t)},CD=function(e){const t=MD((function(){SD(n),e()})),n=TD((function(){AD(t),e()}),20);return[t,n]});class LD extends Co{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=function(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__&&kD(this.__resizeRAF__),this.__resizeRAF__=CD((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=xD.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){}}}}}(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),wo(c,{ref:this._setRef,style:{...h,...l},...u},!g&&e(p))}}function ED(e,t){return e===t}function ND(e,t,n){var r=n&&n.equalityFn||ED,i=fa(e),o=la({})[1],a=function(e,t,n,r){var i=this,o=fa(null),a=fa(0),s=fa(0),l=fa(null),c=fa([]),u=fa(),d=fa(),f=fa(e),h=fa(!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;ua((function(){return h.current=!0,function(){h.current=!1}}),[]);var w=ha((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)},w=function(e){if(!h.current)return!1;var n=e-o.current;return!o.current||n>=t||n<0||b&&e-a.current>=_},x=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(),w(r))return x(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({})},S=function(){if(p||y){var r=Date.now(),s=w(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 S.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({})},S.isPending=function(){return!!l.current},S.flush=function(){return l.current?x(Date.now()):d.current},S}),[m,b,t,_,v,g,p,y,r]);return w}(pa((function(e){i.current=e,o({})}),[o]),t,n,o),s=fa(e);return r(s.current,e)||(a(e),s.current=e),[i.current,a]}var OD,RD,DD,PD,ID,zD,BD,jD,FD,HD,$D,UD,qD,WD,VD,GD,YD,XD,ZD,KD,JD,QD,eP,tP;function nP(){if(zD)return ID;zD=1;var e=PE(),t=RD?OD:(RD=1,OD=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}),n=PD?DD:(PD=1,DD=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,ID=r}function rP(){if(GD)return VD;GD=1;var e=function(){if(WD)return qD;WD=1;var e=(jD||(jD=1,BD=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}),BD),t=HD?FD:(HD=1,FD=function(e){return e!=e}),n=(UD||(UD=1,$D=function(e,t,n){for(var r=n-1,i=e.length;++r<i;)if(e[r]===t)return r;return-1}),$D);return qD=function(r,i,o){return i==i?n(r,i,o):e(r,t,o)},qD}();return VD=function(t,n){return!(null==t||!t.length)&&e(t,n,0)>-1},VD}function iP(){return XD||(XD=1,YD=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}),YD}function oP(){return KD?ZD:(KD=1,ZD=function(e,t){return e.has(t)})}var aP=function(){if(tP)return eP;tP=1;var e=function(){if(QD)return JD;QD=1;var e=nP(),t=rP(),n=iP(),r=OR(),i=YN(),o=oP();return JD=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},JD}(),t=nR(),n=PN(),r=t((function(t,r){return n(t)?e(t,r):[]}));return eP=r}(),sP=Xb(aP);function lP(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 cP=lP("1f77b4ff7f0e2ca02cd627289467bd8c564be377c27f7f7fbcbd2217becf"),uP=lP("7fc97fbeaed4fdc086ffff99386cb0f0027fbf5b17666666"),dP=lP("1b9e77d95f027570b3e7298a66a61ee6ab02a6761d666666"),fP=lP("a6cee31f78b4b2df8a33a02cfb9a99e31a1cfdbf6fff7f00cab2d66a3d9affff99b15928"),hP=lP("fbb4aeb3cde3ccebc5decbe4fed9a6ffffcce5d8bdfddaecf2f2f2"),pP=lP("b3e2cdfdcdaccbd5e8f4cae4e6f5c9fff2aef1e2cccccccc"),gP=lP("e41a1c377eb84daf4a984ea3ff7f00ffff33a65628f781bf999999"),mP=lP("66c2a5fc8d628da0cbe78ac3a6d854ffd92fe5c494b3b3b3"),vP=lP("8dd3c7ffffb3bebadafb807280b1d3fdb462b3de69fccde5d9d9d9bc80bdccebc5ffed6f"),bP=lP("4e79a7f28e2ce1575976b7b259a14fedc949af7aa1ff9da79c755fbab0ab"),yP=e=>Rh(e[e.length-1]),_P=new Array(3).concat("d8b365f5f5f55ab4ac","a6611adfc27d80cdc1018571","a6611adfc27df5f5f580cdc1018571","8c510ad8b365f6e8c3c7eae55ab4ac01665e","8c510ad8b365f6e8c3f5f5f5c7eae55ab4ac01665e","8c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e","8c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e","5430058c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e003c30","5430058c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e003c30").map(lP),wP=yP(_P),xP=new Array(3).concat("af8dc3f7f7f77fbf7b","7b3294c2a5cfa6dba0008837","7b3294c2a5cff7f7f7a6dba0008837","762a83af8dc3e7d4e8d9f0d37fbf7b1b7837","762a83af8dc3e7d4e8f7f7f7d9f0d37fbf7b1b7837","762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b7837","762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b7837","40004b762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b783700441b","40004b762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b783700441b").map(lP),kP=yP(xP),CP=new Array(3).concat("e9a3c9f7f7f7a1d76a","d01c8bf1b6dab8e1864dac26","d01c8bf1b6daf7f7f7b8e1864dac26","c51b7de9a3c9fde0efe6f5d0a1d76a4d9221","c51b7de9a3c9fde0eff7f7f7e6f5d0a1d76a4d9221","c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221","c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221","8e0152c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221276419","8e0152c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221276419").map(lP),SP=yP(CP),TP=new Array(3).concat("998ec3f7f7f7f1a340","5e3c99b2abd2fdb863e66101","5e3c99b2abd2f7f7f7fdb863e66101","542788998ec3d8daebfee0b6f1a340b35806","542788998ec3d8daebf7f7f7fee0b6f1a340b35806","5427888073acb2abd2d8daebfee0b6fdb863e08214b35806","5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b35806","2d004b5427888073acb2abd2d8daebfee0b6fdb863e08214b358067f3b08","2d004b5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b358067f3b08").map(lP),AP=yP(TP),MP=new Array(3).concat("ef8a62f7f7f767a9cf","ca0020f4a58292c5de0571b0","ca0020f4a582f7f7f792c5de0571b0","b2182bef8a62fddbc7d1e5f067a9cf2166ac","b2182bef8a62fddbc7f7f7f7d1e5f067a9cf2166ac","b2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac","b2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac","67001fb2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac053061","67001fb2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac053061").map(lP),LP=yP(MP),EP=new Array(3).concat("ef8a62ffffff999999","ca0020f4a582bababa404040","ca0020f4a582ffffffbababa404040","b2182bef8a62fddbc7e0e0e09999994d4d4d","b2182bef8a62fddbc7ffffffe0e0e09999994d4d4d","b2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d","b2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d","67001fb2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d1a1a1a","67001fb2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d1a1a1a").map(lP),NP=yP(EP),OP=new Array(3).concat("fc8d59ffffbf91bfdb","d7191cfdae61abd9e92c7bb6","d7191cfdae61ffffbfabd9e92c7bb6","d73027fc8d59fee090e0f3f891bfdb4575b4","d73027fc8d59fee090ffffbfe0f3f891bfdb4575b4","d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4","d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4","a50026d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4313695","a50026d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4313695").map(lP),RP=yP(OP),DP=new Array(3).concat("fc8d59ffffbf91cf60","d7191cfdae61a6d96a1a9641","d7191cfdae61ffffbfa6d96a1a9641","d73027fc8d59fee08bd9ef8b91cf601a9850","d73027fc8d59fee08bffffbfd9ef8b91cf601a9850","d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850","d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850","a50026d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850006837","a50026d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850006837").map(lP),PP=yP(DP),IP=new Array(3).concat("fc8d59ffffbf99d594","d7191cfdae61abdda42b83ba","d7191cfdae61ffffbfabdda42b83ba","d53e4ffc8d59fee08be6f59899d5943288bd","d53e4ffc8d59fee08bffffbfe6f59899d5943288bd","d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd","d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd","9e0142d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd5e4fa2","9e0142d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd5e4fa2").map(lP),zP=yP(IP),BP=new Array(3).concat("e5f5f999d8c92ca25f","edf8fbb2e2e266c2a4238b45","edf8fbb2e2e266c2a42ca25f006d2c","edf8fbccece699d8c966c2a42ca25f006d2c","edf8fbccece699d8c966c2a441ae76238b45005824","f7fcfde5f5f9ccece699d8c966c2a441ae76238b45005824","f7fcfde5f5f9ccece699d8c966c2a441ae76238b45006d2c00441b").map(lP),jP=yP(BP),FP=new Array(3).concat("e0ecf49ebcda8856a7","edf8fbb3cde38c96c688419d","edf8fbb3cde38c96c68856a7810f7c","edf8fbbfd3e69ebcda8c96c68856a7810f7c","edf8fbbfd3e69ebcda8c96c68c6bb188419d6e016b","f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d6e016b","f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d810f7c4d004b").map(lP),HP=yP(FP),$P=new Array(3).concat("e0f3dba8ddb543a2ca","f0f9e8bae4bc7bccc42b8cbe","f0f9e8bae4bc7bccc443a2ca0868ac","f0f9e8ccebc5a8ddb57bccc443a2ca0868ac","f0f9e8ccebc5a8ddb57bccc44eb3d32b8cbe08589e","f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe08589e","f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe0868ac084081").map(lP),UP=yP($P),qP=new Array(3).concat("fee8c8fdbb84e34a33","fef0d9fdcc8afc8d59d7301f","fef0d9fdcc8afc8d59e34a33b30000","fef0d9fdd49efdbb84fc8d59e34a33b30000","fef0d9fdd49efdbb84fc8d59ef6548d7301f990000","fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301f990000","fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301fb300007f0000").map(lP),WP=yP(qP),VP=new Array(3).concat("ece2f0a6bddb1c9099","f6eff7bdc9e167a9cf02818a","f6eff7bdc9e167a9cf1c9099016c59","f6eff7d0d1e6a6bddb67a9cf1c9099016c59","f6eff7d0d1e6a6bddb67a9cf3690c002818a016450","fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016450","fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016c59014636").map(lP),GP=yP(VP),YP=new Array(3).concat("ece7f2a6bddb2b8cbe","f1eef6bdc9e174a9cf0570b0","f1eef6bdc9e174a9cf2b8cbe045a8d","f1eef6d0d1e6a6bddb74a9cf2b8cbe045a8d","f1eef6d0d1e6a6bddb74a9cf3690c00570b0034e7b","fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0034e7b","fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0045a8d023858").map(lP),XP=yP(YP),ZP=new Array(3).concat("e7e1efc994c7dd1c77","f1eef6d7b5d8df65b0ce1256","f1eef6d7b5d8df65b0dd1c77980043","f1eef6d4b9dac994c7df65b0dd1c77980043","f1eef6d4b9dac994c7df65b0e7298ace125691003f","f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125691003f","f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125698004367001f").map(lP),KP=yP(ZP),JP=new Array(3).concat("fde0ddfa9fb5c51b8a","feebe2fbb4b9f768a1ae017e","feebe2fbb4b9f768a1c51b8a7a0177","feebe2fcc5c0fa9fb5f768a1c51b8a7a0177","feebe2fcc5c0fa9fb5f768a1dd3497ae017e7a0177","fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a0177","fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a017749006a").map(lP),QP=yP(JP),eI=new Array(3).concat("edf8b17fcdbb2c7fb8","ffffcca1dab441b6c4225ea8","ffffcca1dab441b6c42c7fb8253494","ffffccc7e9b47fcdbb41b6c42c7fb8253494","ffffccc7e9b47fcdbb41b6c41d91c0225ea80c2c84","ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea80c2c84","ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea8253494081d58").map(lP),tI=yP(eI),nI=new Array(3).concat("f7fcb9addd8e31a354","ffffccc2e69978c679238443","ffffccc2e69978c67931a354006837","ffffccd9f0a3addd8e78c67931a354006837","ffffccd9f0a3addd8e78c67941ab5d238443005a32","ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443005a32","ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443006837004529").map(lP),rI=yP(nI),iI=new Array(3).concat("fff7bcfec44fd95f0e","ffffd4fed98efe9929cc4c02","ffffd4fed98efe9929d95f0e993404","ffffd4fee391fec44ffe9929d95f0e993404","ffffd4fee391fec44ffe9929ec7014cc4c028c2d04","ffffe5fff7bcfee391fec44ffe9929ec7014cc4c028c2d04","ffffe5fff7bcfee391fec44ffe9929ec7014cc4c02993404662506").map(lP),oI=yP(iI),aI=new Array(3).concat("ffeda0feb24cf03b20","ffffb2fecc5cfd8d3ce31a1c","ffffb2fecc5cfd8d3cf03b20bd0026","ffffb2fed976feb24cfd8d3cf03b20bd0026","ffffb2fed976feb24cfd8d3cfc4e2ae31a1cb10026","ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cb10026","ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cbd0026800026").map(lP),sI=yP(aI),lI=new Array(3).concat("deebf79ecae13182bd","eff3ffbdd7e76baed62171b5","eff3ffbdd7e76baed63182bd08519c","eff3ffc6dbef9ecae16baed63182bd08519c","eff3ffc6dbef9ecae16baed64292c62171b5084594","f7fbffdeebf7c6dbef9ecae16baed64292c62171b5084594","f7fbffdeebf7c6dbef9ecae16baed64292c62171b508519c08306b").map(lP),cI=yP(lI),uI=new Array(3).concat("e5f5e0a1d99b31a354","edf8e9bae4b374c476238b45","edf8e9bae4b374c47631a354006d2c","edf8e9c7e9c0a1d99b74c47631a354006d2c","edf8e9c7e9c0a1d99b74c47641ab5d238b45005a32","f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45005a32","f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45006d2c00441b").map(lP),dI=yP(uI),fI=new Array(3).concat("f0f0f0bdbdbd636363","f7f7f7cccccc969696525252","f7f7f7cccccc969696636363252525","f7f7f7d9d9d9bdbdbd969696636363252525","f7f7f7d9d9d9bdbdbd969696737373525252252525","fffffff0f0f0d9d9d9bdbdbd969696737373525252252525","fffffff0f0f0d9d9d9bdbdbd969696737373525252252525000000").map(lP),hI=yP(fI),pI=new Array(3).concat("efedf5bcbddc756bb1","f2f0f7cbc9e29e9ac86a51a3","f2f0f7cbc9e29e9ac8756bb154278f","f2f0f7dadaebbcbddc9e9ac8756bb154278f","f2f0f7dadaebbcbddc9e9ac8807dba6a51a34a1486","fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a34a1486","fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a354278f3f007d").map(lP),gI=yP(pI),mI=new Array(3).concat("fee0d2fc9272de2d26","fee5d9fcae91fb6a4acb181d","fee5d9fcae91fb6a4ade2d26a50f15","fee5d9fcbba1fc9272fb6a4ade2d26a50f15","fee5d9fcbba1fc9272fb6a4aef3b2ccb181d99000d","fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181d99000d","fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181da50f1567000d").map(lP),vI=yP(mI),bI=new Array(3).concat("fee6cefdae6be6550d","feeddefdbe85fd8d3cd94701","feeddefdbe85fd8d3ce6550da63603","feeddefdd0a2fdae6bfd8d3ce6550da63603","feeddefdd0a2fdae6bfd8d3cf16913d948018c2d04","fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d948018c2d04","fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d94801a636037f2704").map(lP),yI=yP(bI),_I=Jh(Th(300,.5,0),Th(-240,.5,1)),wI=Jh(Th(-100,.75,.35),Th(80,1.5,.8)),xI=Jh(Th(260,.75,.35),Th(80,1.5,.8)),kI=Th(),CI=rh(),SI=Math.PI/3,TI=2*Math.PI/3;function AI(e){var t=e.length;return function(n){return e[Math.max(0,Math.min(t-1,Math.floor(n*t)))]}}var MI,LI,EI=AI(lP("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725")),NI=AI(lP("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf")),OI=AI(lP("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4")),RI=AI(lP("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921"));function DI(){return LI||(LI=1,MI=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}),MI}var PI=Xb(DI());ON();var II=Xb(LE());function zI(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 BI,jI=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function FI(e){if(!(t=jI.exec(e)))throw new Error("invalid format: "+e);var t;return new HI({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 HI(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 $I(e,t){var n=zI(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")}FI.prototype=HI.prototype,HI.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 UI={"%":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 $I(100*e,t)},r:$I,s:function(e,t){var n=zI(e,t);if(!n)return e+"";var r=n[0],i=n[1],o=i-(BI=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")+zI(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 qI(e){return e}var WI,VI,GI=Array.prototype.map,YI=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];WI=function(e){var t,n,r=void 0===e.grouping||void 0===e.thousands?qI:(t=GI.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?qI:function(e){return function(t){return t.replace(/[0-9]/g,(function(t){return e[+t]}))}}(GI.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=FI(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"):UI[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:"",w=UI[b],x=/[defgprs%]/.test(b);function k(e){var i,o,l,f=y,k=_;if("c"===b)k=w(e)+k,e="";else{var C=(e=+e)<0||1/e<0;if(e=isNaN(e)?u:w(Math.abs(e),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?YI[8+BI/3]:"")+k+(C&&"("===d?")":""),x)for(i=-1,o=e.length;++i<o;)if(48>(l=e.charCodeAt(i))||l>57){k=(46===l?a+e.slice(i+1):e.slice(i))+k,e=e.slice(0,i);break}}g&&!h&&(e=r(e,1/0));var S=f.length+e.length+k.length,T=S<p?new Array(p-S+1).join(t):"";switch(g&&h&&(e=r(T+e,T.length?p-k.length:1/0),T=""),n){case"<":e=f+e+k+T;break;case"=":e=f+T+e+k;break;case"^":e=T.slice(0,S=T.length>>1)+f+e+k+T.slice(S);break;default:e=T+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=FI(e)).type="f",e)),r=3*Math.max(-8,Math.min(8,Math.floor(function(e){return(e=zI(Math.abs(e)))?e[1]:NaN}(t)/3))),i=Math.pow(10,-r),o=YI[8+r/3];return function(e){return n(i*e)+o}}}}({decimal:".",thousands:",",grouping:[3],currency:["$",""],minus:"-"}),VI=WI.format,WI.formatPrefix;var XI=new Date,ZI=new Date;function KI(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 KI((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 XI.setTime(+t),ZI.setTime(+r),e(XI),e(ZI),Math.floor(n(XI,ZI))},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 JI=864e5,QI=6048e5;var ez=KI((e=>e.setHours(0,0,0,0)),((e,t)=>e.setDate(e.getDate()+t)),((e,t)=>(t-e-6e4*(t.getTimezoneOffset()-e.getTimezoneOffset()))/JI),(e=>e.getDate()-1));function tz(e){return KI((function(t){t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)}),(function(e,t){e.setDate(e.getDate()+7*t)}),(function(e,t){return(t-e-6e4*(t.getTimezoneOffset()-e.getTimezoneOffset()))/QI}))}ez.range;var nz=tz(0),rz=tz(1),iz=tz(2),oz=tz(3),az=tz(4),sz=tz(5),lz=tz(6);nz.range,rz.range,iz.range,oz.range,az.range,sz.range,lz.range;var cz=KI((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()}));cz.every=function(e){return isFinite(e=Math.floor(e))&&e>0?KI((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},cz.range;var uz=KI((function(e){e.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCDate(e.getUTCDate()+t)}),(function(e,t){return(t-e)/JI}),(function(e){return e.getUTCDate()-1}));function dz(e){return KI((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)/QI}))}uz.range;var fz=dz(0),hz=dz(1),pz=dz(2),gz=dz(3),mz=dz(4),vz=dz(5),bz=dz(6);fz.range,hz.range,pz.range,gz.range,mz.range,vz.range,bz.range;var yz=KI((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 _z(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 wz(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 xz(e,t,n){return{y:e,m:t,d:n,H:0,M:0,S:0,L:0}}yz.every=function(e){return isFinite(e=Math.floor(e))&&e>0?KI((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},yz.range;var kz,Cz,Sz,Tz,Az={"-":"",_:" ",0:"0"},Mz=/^\s*\d+/,Lz=/^%/,Ez=/[\\^$*+?|[\]().{}]/g;function Nz(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 Oz(e){return e.replace(Ez,"\\$&")}function Rz(e){return new RegExp("^(?:"+e.map(Oz).join("|")+")","i")}function Dz(e){return new Map(e.map(((e,t)=>[e.toLowerCase(),t])))}function Pz(e,t,n){var r=Mz.exec(t.slice(n,n+1));return r?(e.w=+r[0],n+r[0].length):-1}function Iz(e,t,n){var r=Mz.exec(t.slice(n,n+1));return r?(e.u=+r[0],n+r[0].length):-1}function zz(e,t,n){var r=Mz.exec(t.slice(n,n+2));return r?(e.U=+r[0],n+r[0].length):-1}function Bz(e,t,n){var r=Mz.exec(t.slice(n,n+2));return r?(e.V=+r[0],n+r[0].length):-1}function jz(e,t,n){var r=Mz.exec(t.slice(n,n+2));return r?(e.W=+r[0],n+r[0].length):-1}function Fz(e,t,n){var r=Mz.exec(t.slice(n,n+4));return r?(e.y=+r[0],n+r[0].length):-1}function Hz(e,t,n){var r=Mz.exec(t.slice(n,n+2));return r?(e.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function $z(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 Uz(e,t,n){var r=Mz.exec(t.slice(n,n+1));return r?(e.q=3*r[0]-3,n+r[0].length):-1}function qz(e,t,n){var r=Mz.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function Wz(e,t,n){var r=Mz.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function Vz(e,t,n){var r=Mz.exec(t.slice(n,n+3));return r?(e.m=0,e.d=+r[0],n+r[0].length):-1}function Gz(e,t,n){var r=Mz.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function Yz(e,t,n){var r=Mz.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function Xz(e,t,n){var r=Mz.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function Zz(e,t,n){var r=Mz.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function Kz(e,t,n){var r=Mz.exec(t.slice(n,n+6));return r?(e.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function Jz(e,t,n){var r=Lz.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function Qz(e,t,n){var r=Mz.exec(t.slice(n));return r?(e.Q=+r[0],n+r[0].length):-1}function eB(e,t,n){var r=Mz.exec(t.slice(n));return r?(e.s=+r[0],n+r[0].length):-1}function tB(e,t){return Nz(e.getDate(),t,2)}function nB(e,t){return Nz(e.getHours(),t,2)}function rB(e,t){return Nz(e.getHours()%12||12,t,2)}function iB(e,t){return Nz(1+ez.count(cz(e),e),t,3)}function oB(e,t){return Nz(e.getMilliseconds(),t,3)}function aB(e,t){return oB(e,t)+"000"}function sB(e,t){return Nz(e.getMonth()+1,t,2)}function lB(e,t){return Nz(e.getMinutes(),t,2)}function cB(e,t){return Nz(e.getSeconds(),t,2)}function uB(e){var t=e.getDay();return 0===t?7:t}function dB(e,t){return Nz(nz.count(cz(e)-1,e),t,2)}function fB(e){var t=e.getDay();return t>=4||0===t?az(e):az.ceil(e)}function hB(e,t){return e=fB(e),Nz(az.count(cz(e),e)+(4===cz(e).getDay()),t,2)}function pB(e){return e.getDay()}function gB(e,t){return Nz(rz.count(cz(e)-1,e),t,2)}function mB(e,t){return Nz(e.getFullYear()%100,t,2)}function vB(e,t){return Nz((e=fB(e)).getFullYear()%100,t,2)}function bB(e,t){return Nz(e.getFullYear()%1e4,t,4)}function yB(e,t){var n=e.getDay();return Nz((e=n>=4||0===n?az(e):az.ceil(e)).getFullYear()%1e4,t,4)}function _B(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+Nz(t/60|0,"0",2)+Nz(t%60,"0",2)}function wB(e,t){return Nz(e.getUTCDate(),t,2)}function xB(e,t){return Nz(e.getUTCHours(),t,2)}function kB(e,t){return Nz(e.getUTCHours()%12||12,t,2)}function CB(e,t){return Nz(1+uz.count(yz(e),e),t,3)}function SB(e,t){return Nz(e.getUTCMilliseconds(),t,3)}function TB(e,t){return SB(e,t)+"000"}function AB(e,t){return Nz(e.getUTCMonth()+1,t,2)}function MB(e,t){return Nz(e.getUTCMinutes(),t,2)}function LB(e,t){return Nz(e.getUTCSeconds(),t,2)}function EB(e){var t=e.getUTCDay();return 0===t?7:t}function NB(e,t){return Nz(fz.count(yz(e)-1,e),t,2)}function OB(e){var t=e.getUTCDay();return t>=4||0===t?mz(e):mz.ceil(e)}function RB(e,t){return e=OB(e),Nz(mz.count(yz(e),e)+(4===yz(e).getUTCDay()),t,2)}function DB(e){return e.getUTCDay()}function PB(e,t){return Nz(hz.count(yz(e)-1,e),t,2)}function IB(e,t){return Nz(e.getUTCFullYear()%100,t,2)}function zB(e,t){return Nz((e=OB(e)).getUTCFullYear()%100,t,2)}function BB(e,t){return Nz(e.getUTCFullYear()%1e4,t,4)}function jB(e,t){var n=e.getUTCDay();return Nz((e=n>=4||0===n?mz(e):mz.ceil(e)).getUTCFullYear()%1e4,t,4)}function FB(){return"+0000"}function HB(){return"%"}function $B(e){return+e}function UB(e){return Math.floor(+e/1e3)}kz=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=Rz(i),u=Dz(i),d=Rz(o),f=Dz(o),h=Rz(a),p=Dz(a),g=Rz(s),m=Dz(s),v=Rz(l),b=Dz(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:tB,e:tB,f:aB,g:vB,G:yB,H:nB,I:rB,j:iB,L:oB,m:sB,M:lB,p:function(e){return i[+(e.getHours()>=12)]},q:function(e){return 1+~~(e.getMonth()/3)},Q:$B,s:UB,S:cB,u:uB,U:dB,V:hB,w:pB,W:gB,x:null,X:null,y:mB,Y:bB,Z:_B,"%":HB},_={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:wB,e:wB,f:TB,g:zB,G:jB,H:xB,I:kB,j:CB,L:SB,m:AB,M:MB,p:function(e){return i[+(e.getUTCHours()>=12)]},q:function(e){return 1+~~(e.getUTCMonth()/3)},Q:$B,s:UB,S:LB,u:EB,U:NB,V:RB,w:DB,W:PB,x:null,X:null,y:IB,Y:BB,Z:FB,"%":HB},w={a:function(e,t,n){var r=h.exec(t.slice(n));return r?(e.w=p.get(r[0].toLowerCase()),n+r[0].length):-1},A:function(e,t,n){var r=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:Wz,e:Wz,f:Kz,g:Hz,G:Fz,H:Gz,I:Gz,j:Vz,L:Zz,m:qz,M:Yz,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:Uz,Q:Qz,s:eB,S:Xz,u:Iz,U:zz,V:Bz,w:Pz,W:jz,x:function(e,t,r){return C(e,n,t,r)},X:function(e,t,n){return C(e,r,t,n)},y:Hz,Y:Fz,Z:$z,"%":Jz};function x(e,t){return function(n){var r,i,o,a=[],s=-1,l=0,c=e.length;for(n instanceof Date||(n=new Date(+n));++s<c;)37===e.charCodeAt(s)&&(a.push(e.slice(l,s)),null!=(i=Az[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=xz(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=wz(xz(o.y,0,1))).getUTCDay(),r=i>4||0===i?hz.ceil(r):hz(r),r=uz.offset(r,7*(o.V-1)),o.y=r.getUTCFullYear(),o.m=r.getUTCMonth(),o.d=r.getUTCDate()+(o.w+6)%7):(i=(r=_z(xz(o.y,0,1))).getDay(),r=i>4||0===i?rz.ceil(r):rz(r),r=ez.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?wz(xz(o.y,0,1)).getUTCDay():_z(xz(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,wz(o)):_z(o)}}function C(e,t,n,r){for(var i,o,a=0,s=t.length,l=n.length;a<s;){if(r>=l)return-1;if(37===(i=t.charCodeAt(a++))){if(i=t.charAt(a++),!(o=w[i in Az?t.charAt(a++):i])||(r=o(e,n,r))<0)return-1}else if(i!=n.charCodeAt(r++))return-1}return r}return y.x=x(n,y),y.X=x(r,y),y.c=x(t,y),_.x=x(n,_),_.X=x(r,_),_.c=x(t,_),{format:function(e){var t=x(e+="",y);return t.toString=function(){return e},t},parse:function(e){var t=k(e+="",!1);return t.toString=function(){return e},t},utcFormat:function(e){var t=x(e+="",_);return t.toString=function(){return e},t},utcParse:function(e){var t=k(e+="",!0);return t.toString=function(){return e},t}}}({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]}),Cz=kz.format,Sz=kz.parse,kz.utcFormat,Tz=kz.utcParse;var qB,WB,VB,GB,YB,XB,ZB,KB,JB,QB,ej,tj,nj,rj,ij,oj,aj,sj,lj,cj,uj,dj,fj=Xb(GN());function hj(){if(KB)return ZB;KB=1;var e=(GB||(GB=1,VB=function(e,t){return null!=e&&t in Object(e)}),VB),t=function(){if(XB)return YB;XB=1;var e=DR(),t=NN(),n=ON(),r=ZO(),i=RN(),o=PR();return YB=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))},YB}();return ZB=function(n,r){return null!=n&&t(n,r,e)},ZB}function pj(){return tj||(tj=1,ej=function(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}),ej}function gj(){if(oj)return ij;oj=1;var e=pj(),t=function(){if(rj)return nj;rj=1;var e=TE(),t=NN(),n=ON(),r=e?e.isConcatSpreadable:void 0;return nj=function(e){return n(e)||t(e)||!!(r&&e&&e[r])}}();return ij=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},ij}function mj(){if(cj)return lj;cj=1;var e=function(){if(sj)return aj;sj=1;var e=gj();return aj=function(t){return null!=t&&t.length?e(t,1):[]},aj}(),t=eR(),n=tR();return lj=function(r){return n(t(r,void 0,e),r+"")}}var vj,bj,yj,_j,wj,xj,kj,Cj,Sj,Tj,Aj,Mj,Lj,Ej,Nj,Oj,Rj,Dj,Pj,Ij,zj,Bj,jj,Fj,Hj,$j,Uj,qj,Wj,Vj,Gj,Yj,Xj,Zj,Kj,Jj,Qj,eF,tF,nF,rF,iF,oF,aF,sF=function(){if(dj)return uj;dj=1;var e=function(){if(QB)return JB;QB=1;var e=function(){if(WB)return qB;WB=1;var e=IR(),t=UR(),n=DR();return qB=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},qB}(),t=hj();return JB=function(n,r){return e(n,r,(function(e,r){return t(n,r)}))},JB}(),t=mj()((function(t,n){return null==t?{}:e(t,n)}));return uj=t}(),lF=Xb(sF);function cF(){if(_j)return yj;_j=1;var e=nP(),t=(bj||(bj=1,vj=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}),vj),n=oP();return yj=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},yj}function uF(){return Cj||(Cj=1,kj=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}),kj}function dF(){if(Mj)return Aj;Mj=1;var e=pj(),t=ON();return Aj=function(n,r,i){var o=r(n);return t(n)?o:e(o,i(n))},Aj}function fF(){return Ej||(Ej=1,Lj=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}),Lj}function hF(){return Oj?Nj:(Oj=1,Nj=function(){return[]})}function pF(){if(Dj)return Rj;Dj=1;var e=fF(),t=hF(),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 Rj=i}function gF(){if(Fj)return jj;Fj=1;var e=KO(),t=function(){if(Bj)return zj;Bj=1;var e=MN(),t=function(){if(Ij)return Pj;Ij=1;var e=TN()(Object.keys,Object);return Pj=e}(),n=Object.prototype.hasOwnProperty;return zj=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},zj}(),n=DN();return jj=function(r){return n(r)?e(r):t(r)},jj}function mF(){if($j)return Hj;$j=1;var e=dF(),t=pF(),n=gF();return Hj=function(r){return e(r,n,t)},Hj}function vF(){if(Zj)return Xj;Zj=1;var e=NE()(SE(),"Set");return Xj=e}function bF(){if(eF)return Qj;eF=1;var e=function(){if(Vj)return Wj;Vj=1;var e=NE()(SE(),"DataView");return Wj=e}(),t=OE(),n=function(){if(Yj)return Gj;Yj=1;var e=NE()(SE(),"Promise");return Gj=e}(),r=vF(),i=function(){if(Jj)return Kj;Jj=1;var e=NE()(SE(),"WeakMap");return Kj=e}(),o=AE(),a=EE(),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}),Qj=v}function yF(){if(nF)return tF;nF=1;var e=IE(),t=cF(),n=function(){if(Tj)return Sj;Tj=1;var e=TE(),t=xN(),n=wE(),r=cF(),i=(xj||(xj=1,wj=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}),wj),o=uF(),a=e?e.prototype:void 0,s=a?a.valueOf:void 0;return Sj=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},Sj}(),r=function(){if(qj)return Uj;qj=1;var e=mF(),t=Object.prototype.hasOwnProperty;return Uj=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,w=r.constructor;_==w||!("constructor"in n)||!("constructor"in r)||"function"==typeof _&&_ instanceof _&&"function"==typeof w&&w instanceof w||(g=!1)}return s.delete(n),s.delete(r),g},Uj}(),i=bF(),o=ON(),a=VN(),s=VO(),l="[object Arguments]",c="[object Array]",u="[object Object]",d=Object.prototype.hasOwnProperty;return tF=function(f,h,p,g,m,v){var b=o(f),y=o(h),_=b?c:i(f),w=y?c:i(h),x=(_=_==l?u:_)==u,k=(w=w==l?u:w)==u,C=_==w;if(C&&a(f)){if(!a(h))return!1;b=!0,x=!1}if(C&&!x)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 S=x&&d.call(f,"__wrapped__"),T=k&&d.call(h,"__wrapped__");if(S||T){var A=S?f.value():f,M=T?h.value():h;return v||(v=new e),m(A,M,p,g,v)}}return!!C&&(v||(v=new e),r(f,h,p,g,m,v))},tF}function _F(){if(iF)return rF;iF=1;var e=yF(),t=EN();return rF=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))},rF}var wF=Xb(function(){if(aF)return oF;aF=1;var e=_F();return oF=function(t,n){return e(t,n)}}()),xF=Go(),kF=function(e){var t=e.children,n=e.animate,r=void 0===n||n,i=e.config,o=void 0===i?"default":i,a=ha((function(){var e=wD(o)?bA[o]:o;return{animate:r,config:e}}),[r,o]);return qc(xF.Provider,{value:a,children:t})},CF=function(){return ga(xF)},SF=function(e){var t=e.children,n=e.condition,r=e.wrapper;return n?Cs(r,{},t):t},TF={position:"relative"},AF=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=fa(null);return qc(eD,{theme:n,children:qc(kF,{animate:s,config:l,children:qc(_D,{container:c,children:qc(SF,{condition:i,wrapper:qc("div",{style:TF,ref:c}),children:[t,a&&qc(yD,{})]})})})})},MF=function(e,t){return e.width===t.width&&e.height===t.height},LF=function(e){var t=e.children,n=e.width,r=e.height,i=e.onResize,o=ND({width:n,height:r},e.debounceResize,{equalityFn:MF})[0];return ua((function(){null==i||i(o)}),[o,i]),qc(ko,{children:t(o)})},EF=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 qc(LD,{defaultWidth:n,defaultHeight:r,children:function(e){var n=e.width,r=e.height;return qc(LF,{width:n,height:r,onResize:i,debounceResize:a,children:t})}})};function NF(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 OF(){return OF=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},OF.apply(null,arguments)}function RF(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 DF=["id","colors"],PF={linearGradient:function(e){var t=e.id,n=e.colors;return qc("linearGradient",OF({id:t,x1:0,x2:0,y1:0,y2:1},RF(e,DF),{children:n.map((function(e){var t=e.offset,n=e.color,r=e.opacity;return qc("stop",{offset:t+"%",stopColor:n,stopOpacity:void 0!==r?r:1},t)}))}))}},IF=Ya((function(e){var t=e.id,n=e.background,r=void 0===n?"#ffffff":n,i=e.color,o=void 0===i?"#000000":i,a=e.size,s=void 0===a?4:a,l=e.padding,c=void 0===l?4:l,u=e.stagger,d=void 0!==u&&u,f=s+c,h=s/2,p=c/2;return!0===d&&(f=2*s+2*c),qc("pattern",{id:t,width:f,height:f,patternUnits:"userSpaceOnUse",children:[qc("rect",{width:f,height:f,fill:r}),qc("circle",{cx:p+h,cy:p+h,r:h,fill:o}),d&&qc("circle",{cx:1.5*c+s+h,cy:1.5*c+s+h,r:h,fill:o})]})})),zF=function(e){return e*Math.PI/180},BF=function(e){return 180*e/Math.PI},jF=function(e,t){return{x:Math.cos(e)*t,y:Math.sin(e)*t}},FF={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"}}},HF=Ya((function(e){var t=e.id,n=e.spacing,r=void 0===n?5:n,i=e.rotation,o=void 0===i?0:i,a=e.background,s=void 0===a?"#000000":a,l=e.color,c=void 0===l?"#ffffff":l,u=e.lineWidth,d=void 0===u?2: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(zF(f))),m=h/Math.sin(zF(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 "),qc("pattern",{id:t,width:g,height:m,patternUnits:"userSpaceOnUse",children:[qc("rect",{width:g,height:m,fill:s,stroke:"rgba(255, 0, 0, 0.1)",strokeWidth:0}),qc("path",{d:p,strokeWidth:d,stroke:c,strokeLinecap:"square"})]})})),$F=Ya((function(e){var t=e.id,n=e.color,r=void 0===n?"#000000":n,i=e.background,o=void 0===i?"#ffffff":i,a=e.size,s=void 0===a?4:a,l=e.padding,c=void 0===l?4:l,u=e.stagger,d=void 0!==u&&u,f=s+c,h=c/2;return!0===d&&(f=2*s+2*c),qc("pattern",{id:t,width:f,height:f,patternUnits:"userSpaceOnUse",children:[qc("rect",{width:f,height:f,fill:o}),qc("rect",{x:h,y:h,width:s,height:s,fill:r}),d&&qc("rect",{x:1.5*c+s,y:1.5*c+s,width:s,height:s,fill:r})]})})),UF={patternDots:IF,patternLines:HF,patternSquares:$F},qF=["type"],WF=OF({},PF,UF),VF=Ya((function(e){var t=e.defs;return!t||t.length<1?null:qc("defs",{"aria-hidden":!0,children:t.map((function(e){var t=e.type,n=RF(e,qF);return WF[t]?wo(WF[t],OF({key:n.id},n)):null}))})})),GF=Ka((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=tD();return qc("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:[qc(VF,{defs:o}),qc("rect",{width:n,height:r,fill:f.background}),qc("g",{transform:"translate("+i.left+","+i.top+")",children:a})]})})),YF=Ya((function(e){var t=e.size,n=e.color,r=e.borderWidth;return qc("circle",{r:t/2,fill:n,stroke:e.borderColor,strokeWidth:r,style:{pointerEvents:"none"}})})),XF=Ya((function(e){var t=e.x,n=e.y,r=e.symbol,i=void 0===r?YF: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,w=void 0!==_&&_,x=e.tabIndex,k=void 0===x?0:x,C=e.onFocus,S=e.onBlur,T=e.testId,A=tD(),M=CF(),L=M.animate,E=cM({transform:"translate("+t+", "+n+")",config:M.config,immediate:!L}),N=pa((function(e){null==C||C(a,e)}),[C,a]),O=pa((function(e){null==S||S(a,e)}),[S,a]);return qc(_E.g,{transform:E.transform,style:{pointerEvents:"none"},focusable:w,tabIndex:w?k:void 0,"aria-label":g,"aria-labelledby":m,"aria-describedby":v,"aria-disabled":y,"aria-hidden":b,onFocus:w&&C?N:void 0,onBlur:w&&S?O:void 0,"data-testid":T,children:[wo(i,{size:o,color:s,datum:a,borderWidth:l,borderColor:c}),u&&qc("text",{textAnchor:f,y:p,style:YR(A.dots.text),children:u})]})})),ZF=Ya((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=tD(),y=0,_=0,w=0,x=0;if("y"===r?(w=i(o),_=t):(y=i(o),x=n),l&&!c){var k=function(e){var t=e.width,n=e.height,r=e.position,i=e.offsetX,o=e.offsetY,a=e.orientation,s=0,l=0,c="vertical"===a?-90:0,u="start";if("x"===e.axis)switch(r){case"top-left":s=-i,l=o,u="end";break;case"top":l=-o,u="horizontal"===a?"middle":"start";break;case"top-right":s=i,l=o,u="horizontal"===a?"start":"end";break;case"right":s=i,l=n/2,u="horizontal"===a?"start":"middle";break;case"bottom-right":s=i,l=n-o,u="start";break;case"bottom":l=n+o,u="horizontal"===a?"middle":"end";break;case"bottom-left":l=n-o,s=-i,u="horizontal"===a?"end":"start";break;case"left":s=-i,l=n/2,u="horizontal"===a?"end":"middle"}else switch(r){case"top-left":s=i,l=-o,u="start";break;case"top":s=t/2,l=-o,u="horizontal"===a?"middle":"start";break;case"top-right":s=t-i,l=-o,u="horizontal"===a?"end":"start";break;case"right":s=t+i,u="horizontal"===a?"start":"middle";break;case"bottom-right":s=t-i,l=o,u="end";break;case"bottom":s=t/2,l=o,u="horizontal"===a?"middle":"end";break;case"bottom-left":s=i,l=o,u="horizontal"===a?"start":"end";break;case"left":s=-i,u="horizontal"===a?"end":"middle"}return{x:s,y:l,rotation:c,textAnchor:u}}({axis:r,width:t,height:n,position:d,offsetX:h,offsetY:g,orientation:v});c=qc("text",{transform:"translate("+k.x+", "+k.y+") rotate("+k.rotation+")",textAnchor:k.textAnchor,dominantBaseline:"central",style:s,children:l})}return qc("g",{transform:"translate("+y+", "+w+")",children:[qc("line",{x1:0,x2:_,y1:0,y2:x,stroke:b.markers.lineColor,strokeWidth:b.markers.lineStrokeWidth,style:a}),c]})})),KF=Ya((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 qc(ZF,OF({},e,{width:n,height:r,scale:"y"===e.axis?o:i}),t)})):null})),JF=function(e){var t=CF(),n=t.animate,r=t.config,i=function(e){var t=fa();return ua((function(){t.current=e}),[e]),t.current}(e),o=ha((function(){return Hh(i,e)}),[i,e]),a=cM({from:{value:0},to:{value:1},reset:!0,config:r,immediate:!n}).value;return mM(a,o)};Go(void 0);var QF={basis:fb,basisClosed:function(e){return new hb(e)},basisOpen:function(e){return new pb(e)},bundle:mb,cardinal:yb,cardinalClosed:wb,cardinalOpen:kb,catmullRom:Tb,catmullRomClosed:Mb,catmullRomOpen:Eb,linear:tb,linearClosed:function(e){return new Nb(e)},monotoneX:function(e){return new Ib(e)},monotoneY:function(e){return new zb(e)},natural:function(e){return new jb(e)},step:function(e){return new Hb(e,.5)},stepAfter:function(e){return new Hb(e,1)},stepBefore:function(e){return new Hb(e,0)}},eH=Object.keys(QF);eH.filter((function(e){return e.endsWith("Closed")})),sP(eH,"bundle","basisClosed","basisOpen","cardinalClosed","cardinalOpen","catmullRomClosed","catmullRomOpen","linearClosed"),sP(eH,"bundle","basisClosed","basisOpen","cardinalClosed","cardinalOpen","catmullRomClosed","catmullRomOpen","linearClosed");var tH=function(e){if(!QF[e])throw new TypeError("'"+e+"', is not a valid curve interpolator identifier.");return QF[e]};PI(_P),PI(xP),PI(CP),PI(TP),PI(MP),PI(EP),PI(OP),PI(DP),PI(IP),PI(lI),PI(uI),PI(fI),PI(bI),PI(pI),PI(mI),PI(BP),PI(FP),PI($P),PI(qP),PI(VP),PI(YP),PI(ZP),PI(JP),PI(eI),PI(nI),PI(iI),PI(aI),PI(_P),PI(xP),PI(CP),PI(TP),PI(MP),PI(EP),PI(OP),PI(DP),PI(IP),PI(lI),PI(uI),PI(fI),PI(bI),PI(pI),PI(mI),PI(BP),PI(FP),PI($P),PI(qP),PI(VP),PI(YP),PI(ZP),PI(JP),PI(eI),PI(nI),PI(iI),PI(aI),yp(vP);var nH={top:0,right:0,bottom:0,left:0},rH=function(e,t,n){return void 0===n&&(n={}),ha((function(){var r=OF({},nH,n);return{margin:r,innerWidth:e-r.left-r.right,innerHeight:t-r.top-r.bottom,outerWidth:e,outerHeight:t}}),[e,t,n])},iH=function(){var e=fa(null),t=la({left:0,top:0,width:0,height:0}),n=t[0],r=t[1],i=la((function(){return"undefined"==typeof ResizeObserver?null:new ResizeObserver((function(e){var t=e[0];return r(t.contentRect)}))}))[0];return ua((function(){return e.current&&null!==i&&i.observe(e.current),function(){null!==i&&i.disconnect()}}),[i]),[e,n]},oH=function(e){return"function"==typeof e?e:"string"==typeof e?0===e.indexOf("time:")?Cz(e.slice("5")):VI(e):function(e){return""+e}},aH=function(e){return ha((function(){return oH(e)}),[e])},sH=function(e){return II(e)?e:function(t){return $R(t,e)}},lH=function(e){return ha((function(){return sH(e)}),[e])},cH=function(e,t,n,r){return Math.sqrt(Math.pow(n-e,2)+Math.pow(r-t,2))},uH=function(e,t,n,r,i,o){return e<=i&&i<=e+n&&t<=o&&o<=t+r},dH=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]},fH=Object.keys(PF),hH=Object.keys(UF),pH=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(II(e))return e(t);if(fj(e)){var r=n?$R(t,n):t;return wF(lF(r,Object.keys(e)),e)}return!1}(n.match,t,o)){var a=e.find((function(e){return e.id===i}));if(a)if(hH.includes(a.type))if("inherit"===a.background||"inherit"===a.color){var l=$R(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),WR(t,c,"url(#"+p+")"),d[p]||(u.push(OF({},a,{id:p,background:f,color:h})),d[p]=1)}else WR(t,c,"url(#"+i+")");else if(fH.includes(a.type))if(a.colors.map((function(e){return e.color})).includes("inherit")){var g=$R(t,s),m=i,v=OF({},a,{colors:a.colors.map((function(e,t){return"inherit"!==e.color?e:(m=m+"."+t+"."+g,OF({},e,{color:"inherit"===e.color?g:e.color}))}))});v.id=m,WR(t,c,"url(#"+m+")"),d[m]||(u.push(v),d[m]=1)}else WR(t,c,"url(#"+i+")");return 1}},a=function(e){var t="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(t)return(t=t.call(e)).next.bind(t);if(Array.isArray(e)||(t=function(e,t){if(e){if("string"==typeof e)return NF(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)?NF(e,t):void 0}}(e))){t&&(e=t);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}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 gH(){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 mH=function(e,t){e.font=(t.fontWeight?t.fontWeight+" ":"")+t.fontSize+"px "+t.fontFamily},vH=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 bH(){return bH=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},bH.apply(null,arguments)}function yH(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 _H,wH,xH,kH,CH,SH,TH,AH,MH=["style","children"],LH=["outlineWidth","outlineColor","outlineOpacity"],EH=function(e){var t=e.style,n=e.children,r=yH(e,MH),i=t.outlineWidth,o=t.outlineColor,a=t.outlineOpacity,s=yH(t,LH);return qc(ko,{children:[i>0&&qc(_E.text,bH({},r,{style:bH({},s,{strokeWidth:2*i,stroke:o,strokeOpacity:a,strokeLinejoin:"round"}),children:n})),qc(_E.text,bH({},r,{style:s,children:n}))]})};function NH(){if(SH)return CH;SH=1;var e=nP(),t=rP(),n=iP(),r=oP(),i=function(){if(kH)return xH;kH=1;var e=vF(),t=wH?_H:(wH=1,_H=function(){}),n=uF(),r=e&&1/n(new e([,-0]))[1]==1/0?function(t){return new e(t)}:t;return xH=r}(),o=uF();return CH=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},CH}var OH,RH,DH,PH,IH,zH,BH,jH,FH,HH,$H,UH,qH,WH,VH,GH,YH,XH,ZH,KH,JH,QH,e$=function(){if(AH)return TH;AH=1;var e=NH();return TH=function(t){return t&&t.length?e(t):[]},TH}(),t$=Xb(e$);function n$(){if(PH)return DH;PH=1;var e=ME();return DH=function(t){return t==t&&!e(t)}}function r$(){return jH||(jH=1,BH=function(e,t){return function(n){return null!=n&&n[e]===t&&(void 0!==t||e in Object(n))}}),BH}function i$(){if(KH)return ZH;KH=1;var e=function(){if(HH)return FH;HH=1;var e=function(){if(RH)return OH;RH=1;var e=IE(),t=_F();return OH=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},OH}(),t=function(){if(zH)return IH;zH=1;var e=n$(),t=gF();return IH=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},IH}(),n=r$();return FH=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)}},FH}(),t=function(){if(UH)return $H;UH=1;var e=_F(),t=zR(),n=hj(),r=NR(),i=n$(),o=r$(),a=PR();return $H=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)}},$H}(),n=QO(),r=ON(),i=function(){if(XH)return YH;XH=1;var e=(WH||(WH=1,qH=function(e){return function(t){return null==t?void 0:t[e]}}),qH),t=function(){if(GH)return VH;GH=1;var e=IR();return VH=function(t){return function(n){return e(n,t)}},VH}(),n=NR(),r=PR();return YH=function(i){return n(i)?e(r(i)):t(i)}}();return ZH=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 o$,a$,s$,l$,c$,u$,d$,f$,h$,p$,g$,m$,v$,b$,y$,_$,w$,x$,k$=function(){if(QH)return JH;QH=1;var e=i$(),t=NH();return JH=function(n,r){return n&&n.length?t(n,e(r,2)):[]},JH}(),C$=Xb(k$);function S$(){if(u$)return c$;u$=1;var e=function(){if(a$)return o$;a$=1;var e=FE(),t=gF();return o$=function(n,r){return n&&e(n,r,t)},o$}(),t=function(){if(l$)return s$;l$=1;var e=DN();return s$=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}},s$}(),n=t(e);return c$=n}function T$(){if(_$)return y$;_$=1;var e=OR(),t=IR(),n=i$(),r=function(){if(f$)return d$;f$=1;var e=S$(),t=DN();return d$=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},d$}(),i=(p$||(p$=1,h$=function(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}),h$),o=YN(),a=function(){if(b$)return v$;b$=1;var e=function(){if(m$)return g$;m$=1;var e=ER();return g$=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 v$=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},v$}(),s=QO(),l=ON();return y$=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)}))},y$}var A$,M$,L$,E$,N$=Xb(function(){if(x$)return w$;x$=1;var e=gj(),t=T$(),n=nR(),r=rR(),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 w$=i}()),O$=Xb(function(){if(E$)return L$;E$=1;var e=function(){if(M$)return A$;M$=1;var e=AE(),t=EN();return A$=function(n){return t(n)&&"[object Date]"==e(n)}}(),t=YN(),n=WO(),r=n&&n.isDate,i=r?t(r):e;return L$=i}()),R$=new Date,D$=new Date;function P$(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 P$((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 R$.setTime(+t),D$.setTime(+r),e(R$),e(D$),Math.floor(n(R$,D$))},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 I$=P$((function(){}),(function(e,t){e.setTime(+e+t)}),(function(e,t){return t-e}));I$.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?P$((function(t){t.setTime(Math.floor(t/e)*e)}),(function(t,n){t.setTime(+t+n*e)}),(function(t,n){return(n-t)/e})):I$:null},I$.range;var z$=1e3,B$=6e4,j$=36e5,F$=6048e5,H$=P$((function(e){e.setTime(e-e.getMilliseconds())}),(function(e,t){e.setTime(+e+t*z$)}),(function(e,t){return(t-e)/z$}),(function(e){return e.getUTCSeconds()}));H$.range;var $$=P$((function(e){e.setTime(e-e.getMilliseconds()-e.getSeconds()*z$)}),(function(e,t){e.setTime(+e+t*B$)}),(function(e,t){return(t-e)/B$}),(function(e){return e.getMinutes()}));$$.range;var U$=P$((function(e){e.setTime(e-e.getMilliseconds()-e.getSeconds()*z$-e.getMinutes()*B$)}),(function(e,t){e.setTime(+e+t*j$)}),(function(e,t){return(t-e)/j$}),(function(e){return e.getHours()}));function q$(e){return P$((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())*B$)/F$}))}U$.range;var W$=q$(0),V$=q$(1),G$=q$(2),Y$=q$(3),X$=q$(4),Z$=q$(5),K$=q$(6);W$.range,V$.range,G$.range,Y$.range,X$.range,Z$.range,K$.range;var J$=P$((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()}));J$.range;var Q$=P$((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()}));Q$.every=function(e){return isFinite(e=Math.floor(e))&&e>0?P$((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},Q$.range;var eU=P$((function(e){e.setUTCSeconds(0,0)}),(function(e,t){e.setTime(+e+t*B$)}),(function(e,t){return(t-e)/B$}),(function(e){return e.getUTCMinutes()}));eU.range;var tU=P$((function(e){e.setUTCMinutes(0,0,0)}),(function(e,t){e.setTime(+e+t*j$)}),(function(e,t){return(t-e)/j$}),(function(e){return e.getUTCHours()}));function nU(e){return P$((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)/F$}))}tU.range;var rU=nU(0),iU=nU(1),oU=nU(2),aU=nU(3),sU=nU(4),lU=nU(5),cU=nU(6);rU.range,iU.range,oU.range,aU.range,sU.range,lU.range,cU.range;var uU=P$((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()}));uU.range;var dU=P$((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 fU(){return fU=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},fU.apply(null,arguments)}dU.every=function(e){return isFinite(e=Math.floor(e))&&e>0?P$((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},dU.range;var hU=[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)}],pU={millisecond:[],second:hU.slice(0,1),minute:hU.slice(0,2),hour:hU.slice(0,3),day:hU.slice(0,4),month:hU.slice(0,5),year:hU.slice(0,6)},gU=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 pU[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?Tz(n):Sz(n);return s(t(e))}},mU=function(e){var t=e;return t.type="band",t},vU=function(e,t){return e===t},bU=function(e,t){return e.getTime()===t.getTime()};function yU(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?0:l,u=e.max,d=void 0===u?"auto":u,f=e.stacked,h=void 0!==f&&f,p=e.reverse,g=void 0!==p&&p,m=e.clamp,v=void 0!==m&&m,b=e.nice,y=void 0===b||b,_=e.round,w=void 0!==_&&_;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 x=Gp().range("x"===r?[0,n]:[n,0]).interpolate(w?Uh:zh).domain(g?[a,i]:[i,a]).clamp(v);return!0===y?x.nice():"number"==typeof y&&x.nice(y),function(e,t){void 0===t&&(t=!1);var n=e;return n.type="linear",n.stacked=t,n}(x,h)}(e,t,n,r);case"point":return function(e,t,n){var r=xp().range([0,n]).domain(t.all);return r.type="point",r}(0,t,n);case"band":return function(e,t,n,r){var i=e.round,o=void 0!==i&&i,a=_p().range("x"===r?[0,n]:[n,0]).domain(t.all).round(o);return mU(a)}(e,t,n,r);case"time":return function(e,t,n){var r,i,o=e.format,a=void 0===o?"native":o,s=e.precision,l=void 0===s?"millisecond":s,c=e.min,u=void 0===c?"auto":c,d=e.max,f=void 0===d?"auto":d,h=e.useUTC,p=void 0===h||h,g=e.nice,m=void 0!==g&&g,v=gU({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?xv():function(){return mp.apply(wv(Gg,Yg,$g,Fg,Sg,wg,yg,vg,mg,Qg).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}(e,t,n);case"log":return function(e,t,n,r){var i,o=e.base,a=void 0===o?10:o,s=e.min,l=void 0===s?"auto":s,c=e.max,u=void 0===c?"auto":c,d=e.round,f=void 0!==d&&d,h=e.reverse,p=void 0!==h&&h,g=e.nice,m=void 0===g||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 _=tg().base(a),w="x"===r?[0,n]:[n,0];!0===f?_.rangeRound(w):_.range(w),!0===p?_.domain([b,v]):_.domain([v,b]),!0===m?_.nice():"number"==typeof m&&_.nice(m);var x=_;return x.type="log",x}(e,t,n,r);case"symlog":return function(e,t,n,r){var i,o,a=e.constant,s=void 0===a?1:a,l=e.min,c=void 0===l?"auto":l,u=e.max,d=void 0===u?"auto":u,f=e.round,h=void 0!==f&&f,p=e.reverse,g=void 0!==p&&p,m=e.nice,v=void 0===m||m;i="auto"===c?t.min:c,o="auto"===d?t.max:d;var b=ig().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 _U=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},wU=function(e,t,n,r,i){var o=e.map((function(e){return function(e){return fU({},e,{data:e.data.map((function(e){return{data:fU({},e)}}))})}(e)})),a=xU(o,t,n);"stacked"in t&&!0===t.stacked&&SU(a,o),"stacked"in n&&!0===n.stacked&&TU(a,o);var s=yU(t,a.x,r,"x"),l=yU(n,a.y,i,"y"),c=o.map((function(e){return fU({},e,{data:e.data.map((function(e){return fU({},e,{position:{x:_U(e,"x",s),y:_U(e,"y",l)}})}))})}));return fU({},a,{series:c,xScale:s,yScale:l})},xU=function(e,t,n){return{x:kU(e,"x",t),y:kU(e,"y",n)}},kU=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=gU(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=N$(t$(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=C$(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:PI(f)};default:var h=t$(u);return{all:h,min:h[0],max:PI(h)}}},CU=function(e,t,n){var r=function(e){return"x"===e?"y":"x"}(e),i=[];t[r].all.forEach((function(t){var o=O$(t)?bU:vU,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=PI(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)},SU=function(e,t){return CU("x",e,t)},TU=function(e,t){return CU("y",e,t)},AU=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}},MU={millisecond:[I$,I$],second:[H$,H$],minute:[$$,eU],hour:[U$,tU],day:[P$((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)})),P$((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:[W$,rU],sunday:[W$,rU],monday:[V$,iU],tuesday:[G$,oU],wednesday:[Y$,aU],thursday:[X$,sU],friday:[Z$,lU],saturday:[K$,cU],month:[J$,uU],year:[Q$,dU]},LU=Object.keys(MU),EU=new RegExp("^every\\s*(\\d+)?\\s*("+LU.join("|")+")s?$","i"),NU=function(e,t){if(Array.isArray(t))return t;if("string"==typeof t&&"useUTC"in e){var n=t.match(EU);if(n){var r=n[1],i=n[2],o=MU[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 OU(){return OU=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},OU.apply(null,arguments)}var RU=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=NU(r,o),h=FF[d],p="bandwidth"in r?AU(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 OU({key:e instanceof Date?""+e.valueOf():""+e,value:n},t(e),g,m)})),textAlign:b,textBaseline:y}},DU=function(e,t){if(void 0===e||"function"==typeof e)return e;if("time"===t.type){var n=Cz(e);return function(e){return n(e instanceof Date?e:new Date(e))}}return VI(e)},PU=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)||NU(i,a)),l="bandwidth"in i?AU(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},IU=Ya((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=ha((function(){var e={opacity:u.opacity};return a?{style:OU({},e,{cursor:"pointer"}),onClick:function(e){return a(e,d)}}:{style:e}}),[u.opacity,a,d]);return qc(_E.g,OU({transform:u.transform},f,{children:[qc("line",{x1:0,x2:i,y1:0,y2:o,style:c.line}),qc(EH,{dominantBaseline:s,textAnchor:l,transform:u.textTransform,style:c.text,children:""+d})]}))})),zU={tickSize:5,tickPadding:5,tickRotation:0,legendPosition:"middle",legendOffset:0},BU=Ya((function(e){var t=e.axis,n=e.scale,r=e.x,i=void 0===r?0:r,o=e.y,a=void 0===o?0:o,s=e.length,l=e.ticksPosition,c=e.tickValues,u=e.tickSize,d=void 0===u?zU.tickSize:u,f=e.tickPadding,h=void 0===f?zU.tickPadding:f,p=e.tickRotation,g=void 0===p?zU.tickRotation:p,m=e.format,v=e.renderTick,b=void 0===v?IU:v,y=e.truncateTickAt,_=e.legend,w=e.legendPosition,x=void 0===w?zU.legendPosition:w,k=e.legendOffset,C=void 0===k?zU.legendOffset:k,S=e.style,T=e.onClick,A=e.ariaHidden,M=function(e,t){return ha((function(){return ZR(e,t)}),[e,t])}(tD().axis,S),L=ha((function(){return DU(m,n)}),[m,n]),E=RU({axis:t,scale:n,ticksPosition:l,tickValues:c,tickSize:d,tickPadding:h,tickRotation:g,truncateTickAt:y}),N=E.ticks,O=E.textAlign,R=E.textBaseline,D=null;if(void 0!==_){var P,I=0,z=0,B=0;"y"===t?(B=-90,I=C,"start"===x?(P="start",z=s):"middle"===x?(P="middle",z=s/2):"end"===x&&(P="end")):(z=C,"start"===x?P="start":"middle"===x?(P="middle",I=s/2):"end"===x&&(P="end",I=s)),D=qc(ko,{children:qc(EH,{transform:"translate("+I+", "+z+") rotate("+B+")",textAnchor:P,style:OU({},M.legend.text,{dominantBaseline:"central"}),children:_})})}var j=CF(),F=j.animate,H=j.config,$=cM({transform:"translate("+i+","+a+")",lineX2:"x"===t?s:0,lineY2:"x"===t?0:s,config:H,immediate:!F}),U=pa((function(e){return{opacity:1,transform:"translate("+e.x+","+e.y+")",textTransform:"translate("+e.textX+","+e.textY+") rotate("+g+")"}}),[g]),q=pa((function(e){return{opacity:0,transform:"translate("+e.x+","+e.y+")",textTransform:"translate("+e.textX+","+e.textY+") rotate("+g+")"}}),[g]),W=uM(N,{keys:function(e){return e.key},initial:U,from:q,enter:U,update:U,leave:{opacity:0},config:H,immediate:!F});return qc(_E.g,{transform:$.transform,"aria-hidden":A,children:[W((function(e,t,n,r){return wo(b,OU({tickIndex:r,format:L,rotate:g,textBaseline:R,textAnchor:O,truncateTickAt:y,animatedProps:e,theme:M.ticks},t,T?{onClick:T}:{}))})),qc(_E.line,{style:M.domain.line,x1:0,x2:$.lineX2,y1:0,y2:$.lineY2}),D]})})),jU=["top","right","bottom","left"],FU=Ya((function(e){var t=e.xScale,n=e.yScale,r=e.width,i=e.height,o={top:e.top,right:e.right,bottom:e.bottom,left:e.left};return qc(ko,{children:jU.map((function(e){var a=o[e];if(!a)return null;var s="top"===e||"bottom"===e;return qc(BU,OU({},a,{axis:s?"x":"y",x:"right"===e?r:0,y:"bottom"===e?i:0,scale:s?t:n,length:s?r:i,ticksPosition:"top"===e||"left"===e?"before":"after",truncateTickAt:a.truncateTickAt}),e)}))})})),HU=Ya((function(e){var t=e.animatedProps,n=tD();return qc(_E.line,OU({},t,n.grid.line))})),$U=Ya((function(e){var t=e.lines,n=CF(),r=n.animate,i=uM(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 qc("g",{children:i((function(e,t){return wo(HU,OU({},t,{key:t.key,animatedProps:e}))}))})})),UU=Ya((function(e){var t=e.width,n=e.height,r=e.xScale,i=e.yScale,o=e.xValues,a=e.yValues,s=ha((function(){return!!r&&PU({width:t,height:n,scale:r,axis:"x",values:o})}),[r,o,t,n]),l=ha((function(){return!!i&&PU({width:t,height:n,scale:i,axis:"y",values:a})}),[n,t,i,a]);return qc(ko,{children:[s&&qc($U,{lines:s}),l&&qc($U,{lines:l})]})})),qU=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};jU.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=DU(a.format,c);!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?zU.tickSize:h,g=t.tickPadding,m=void 0===g?zU.tickPadding:g,v=t.tickRotation,b=void 0===v?zU.tickRotation:v,y=t.format,_=t.legend,w=t.legendPosition,x=void 0===w?zU.legendPosition:w,k=t.legendOffset,C=void 0===k?zU.legendOffset:k,S=t.theme,T=t.style,A=RU({axis:i,scale:o,ticksPosition:d,tickValues:f,tickSize:p,tickPadding:m,tickRotation:b,engine:"canvas"}),M=A.ticks,L=A.textAlign,E=A.textBaseline;e.save(),e.translate(s,c);var N=ZR(S.axis,T);e.textAlign=L,e.textBaseline=E,mH(e,N.ticks.text);var O=null!=(n=N.domain.line.strokeWidth)?n:0;"string"!=typeof O&&O>0&&(e.lineWidth=O,e.lineCap="square",N.domain.line.stroke&&(e.strokeStyle=N.domain.line.stroke),e.beginPath(),e.moveTo(0,0),e.lineTo("x"===i?u:0,"x"===i?0:u),e.stroke());var R="function"==typeof y?y:function(e){return""+e},D=null!=(r=N.ticks.line.strokeWidth)?r:0,P="string"!=typeof D&&D>0;if(M.forEach((function(t){P&&(e.lineWidth=D,e.lineCap="square",N.ticks.line.stroke&&(e.strokeStyle=N.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=R(t.value);e.save(),e.translate(t.x+t.textX,t.y+t.textY),e.rotate(zF(b)),vH(e,N.ticks.text,""+n),e.fillText(""+n,0,0),e.restore()})),void 0!==_){var I=0,z=0,B=0,j="center";"y"===i?(B=-90,I=C,"start"===x?(j="start",z=u):"middle"===x?(j="center",z=u/2):"end"===x&&(j="end")):(z=C,"start"===x?j="start":"middle"===x?(j="center",I=u/2):"end"===x&&(j="end",I=u)),e.translate(I,z),e.rotate(zF(B)),mH(e,N.legend.text),N.legend.text.fill&&(e.fillStyle=N.legend.text.fill),e.textAlign=j,e.textBaseline="middle",vH(e,N.legend.text,_)}e.restore()}(e,OU({},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}))}))},WU=function(e,t){var n=t.width,r=t.height,i=t.scale,o=t.axis,a=t.values;PU({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 VU(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 GU(){return GU=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},GU.apply(null,arguments)}var YU={nivo:["#e8c1a0","#f47560","#f1e15b","#e8a838","#61cdbb","#97e3d5"],category10:cP,accent:uP,dark2:dP,paired:fP,pastel1:hP,pastel2:pP,set1:gP,set2:mP,set3:vP,tableau10:bP},XU=Object.keys(YU),ZU={brown_blueGreen:_P,purpleRed_green:xP,pink_yellowGreen:CP,purple_orange:TP,red_blue:MP,red_grey:EP,red_yellow_blue:OP,red_yellow_green:DP,spectral:IP},KU=Object.keys(ZU),JU={brown_blueGreen:wP,purpleRed_green:kP,pink_yellowGreen:SP,purple_orange:AP,red_blue:LP,red_grey:NP,red_yellow_blue:RP,red_yellow_green:PP,spectral:zP},QU={blues:lI,greens:uI,greys:fI,oranges:bI,purples:pI,reds:mI,blue_green:BP,blue_purple:FP,green_blue:$P,orange_red:qP,purple_blue_green:VP,purple_blue:YP,purple_red:ZP,red_purple:JP,yellow_green_blue:eI,yellow_green:nI,yellow_orange_brown:iI,yellow_orange_red:aI},eq=Object.keys(QU),tq={blues:cI,greens:dI,greys:hI,oranges:yI,purples:gI,reds:vI,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:EI,inferno:OI,magma:NI,plasma:RI,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:wI,cool:xI,cubehelixDefault:_I,blue_green:jP,blue_purple:HP,green_blue:UP,orange_red:WP,purple_blue_green:GP,purple_blue:XP,purple_red:KP,red_purple:QP,yellow_green_blue:tI,yellow_green:rI,yellow_orange_brown:oI,yellow_orange_red:sI},nq=GU({},YU,ZU,QU),rq={rainbow:function(e){(e<0||e>1)&&(e-=Math.floor(e));var t=Math.abs(e-.5);return kI.h=360*e-100,kI.s=1.5-1.5*t,kI.l=.8-.9*t,kI+""},sinebow:function(e){var t;return e=(.5-e)*Math.PI,CI.r=255*(t=Math.sin(e))*t,CI.g=255*(t=Math.sin(e+SI))*t,CI.b=255*(t=Math.sin(e+TI))*t,CI+""}},iq=GU({},JU,tq,rq),oq=function(e,t){return ha((function(){return function(e,t){if("function"==typeof e)return e;if(fj(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=$R(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 $R(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){var t="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(t)return(t=t.call(e)).next.bind(t);if(Array.isArray(e)||(t=function(e,t){if(e){if("string"==typeof e)return VU(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)?VU(e,t):void 0}}(e))){t&&(e=t);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}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)}),rh(r(e))).toString()}}return r}throw new Error("Invalid color spec, you should either specify 'theme' or 'from' when using a config object")}return function(){return e}}(e,t)}),[e,t])},aq=function(e,t){var n=og().domain(e.domain||[t.min,t.max]).nice();if("colors"in e)n.range(e.colors);else{var r=e.scheme||"turbo",i=void 0===e.steps?7:e.steps,o=iq[r],a=Array.from({length:i}).map((function(e,t){return o(t*(1/(i-1)))}));n.range(a)}return n},sq=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=Cv().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:"turbo";a.interpolator(iq[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:.5),c=Sv().domain(s).clamp(!0),u=function(e){return String(e)};if("colors"in e)u=Sv().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:"red_yellow_blue";u=iq[f]}return c.interpolator((function(e){return u(e+l)}))}(e,t);if(function(e){return"quantize"===e.type}(e))return aq(e,t);throw new Error("Invalid continuous color scale config")},lq=function(e,t){return ha((function(){return function(e,t){if("function"==typeof e)return e;var n="function"==typeof t?t:function(e){return $R(e,t)};if(Array.isArray(e)){var r=yp(e),i=function(e){return r(n(e))};return i.scale=r,i}if(fj(e)){if(function(e){return void 0!==e.datum}(e))return function(t){return $R(t,e.datum)};if(function(e){return void 0!==e.scheme}(e)){if(function(e){return XU.includes(e)}(e.scheme)){var o=yp(nq[e.scheme]),a=function(e){return o(n(e))};return a.scale=o,a}if(function(e){return KU.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=yp(nq[e.scheme][e.size||11]),l=function(e){return s(n(e))};return l.scale=s,l}if(function(e){return eq.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=yp(nq[e.scheme][e.size||9]),u=function(e){return c(n(e))};return u.scale=c,u}}throw new Error("Invalid colors, when using an object, you should either pass a 'datum' or a 'scheme' property")}return function(){return e}}(e,t)}),[e,t])};function cq(){return cq=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},cq.apply(null,arguments)}var uq,dq,fq="left-to-right",hq={length:200,thickness:16,direction:"row",tickPosition:"after",tickSize:4,tickSpacing:3,tickOverlap:!1,tickFormat:function(e){return""+e},titleAlign:"start",titleOffset:4},pq={top:0,right:0,bottom:0,left:0},gq=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}:cq({},pq,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}},mq=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}},vq=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}},bq=function(e){var t,n=e.scale,r=e.ticks,i=e.length,o=void 0===i?hq.length:i,a=e.thickness,s=void 0===a?hq.thickness:a,l=e.direction,c=void 0===l?hq.direction:l,u=e.tickPosition,d=void 0===u?hq.tickPosition:u,f=e.tickSize,h=void 0===f?hq.tickSize:f,p=e.tickSpacing,g=void 0===p?hq.tickSpacing:p,m=e.tickOverlap,v=void 0===m?hq.tickOverlap:m,b=e.tickFormat,y=void 0===b?hq.tickFormat:b,_=e.title,w=e.titleAlign,x=void 0===w?hq.titleAlign:w,k=e.titleOffset,C=void 0===k?hq.titleOffset:k,S="column"===c?[].concat(n.domain()).reverse():n.domain(),T=Gp().domain(S);2===S.length?T.range([0,o]):3===S.length&&T.range([0,o/2,o]),t="thresholds"in n?[S[0]].concat(n.thresholds(),[S[1]]):Array.isArray(r)?r:n.ticks(r);var A,M,L,E,N,O,R,D,P,I,z,B,j,F,H=function(e){var t=e.domain();if("thresholds"in e){var n=[],r=Gp().domain(t).range([0,1]);return e.range().forEach((function(t,i){var o=e.invertExtent(t),a=o[0],s=o[1];n.push({key:i+".0",offset:r(a),stopColor:t}),n.push({key:i+".1",offset:r(s),stopColor:t})})),n}var i=e.copy();return 2===t.length?i.domain([0,1]):3===t.length&&i.domain([0,.5,1]),i.ticks(32).map((function(e){return{key:""+e,offset:e,stopColor:""+i(e)}}))}(n),$=oH(y),U=[],q=0,W=0;return"row"===c?(A=o,M=s,W=1,N=0,L="start"===x?0:"middle"===x?o/2:o,"before"===d?(R=-h,D=v?s:0,P=-h-g,I="alphabetic",E=s+C,O="hanging"):(R=v?0:s,P=(D=s+h)+g,I="hanging",E=-C,O="alphabetic"),t.forEach((function(e){var t=T(e);U.push({x1:t,y1:R,x2:t,y2:D,text:$(e),textX:t,textY:P,textHorizontalAlign:"middle",textVerticalAlign:I})}))):(A=s,M=o,q=1,N=-90,E="start"===x?o:"middle"===x?o/2:0,"before"===d?(B=v?s:0,j=(z=-h)-g,F="end",L=s+C,O="hanging"):(z=v?0:s,j=(B=s+h)+g,F="start",L=-C,O="alphabetic"),t.forEach((function(e){var t=T(e);U.push({x1:z,y1:t,x2:B,y2:t,text:$(e),textX:j,textY:t,textHorizontalAlign:F,textVerticalAlign:"central"})}))),{width:A,height:M,gradientX1:0,gradientY1:q,gradientX2:W,gradientY2:0,colorStops:H,ticks:U,titleText:_,titleX:L,titleY:E,titleRotation:N,titleHorizontalAlign:x,titleVerticalAlign:O}},yq=function(e){var t=e.scale,n=e.ticks,r=e.length,i=void 0===r?hq.length:r,o=e.thickness,a=void 0===o?hq.thickness:o,s=e.direction,l=void 0===s?hq.direction:s,c=e.tickPosition,u=void 0===c?hq.tickPosition:c,d=e.tickSize,f=void 0===d?hq.tickSize:d,h=e.tickSpacing,p=void 0===h?hq.tickSpacing:h,g=e.tickOverlap,m=void 0===g?hq.tickOverlap:g,v=e.tickFormat,b=void 0===v?hq.tickFormat:v,y=e.title,_=e.titleAlign,w=void 0===_?hq.titleAlign:_,x=e.titleOffset,k=bq({scale:t,ticks:n,length:i,thickness:a,direction:l,tickPosition:u,tickSize:f,tickSpacing:p,tickOverlap:m,tickFormat:b,title:y,titleAlign:w,titleOffset:void 0===x?hq.titleOffset:x}),C=k.width,S=k.height,T=k.gradientX1,A=k.gradientY1,M=k.gradientX2,L=k.gradientY2,E=k.ticks,N=k.colorStops,O=k.titleText,R=k.titleX,D=k.titleY,P=k.titleRotation,I=k.titleVerticalAlign,z=k.titleHorizontalAlign,B=tD(),j="ContinuousColorsLegendSvgGradient."+l+"."+N.map((function(e){return e.stopColor.replace(/[(),\s]/g,"")+"."+e.offset})).join("_");return qc("g",{children:[qc("defs",{children:qc("linearGradient",{id:j,x1:T,y1:A,x2:M,y2:L,children:N.map((function(e){return qc("stop",{offset:e.offset,stopColor:e.stopColor},e.key)}))})}),O&&qc("text",{transform:"translate("+R+", "+D+") rotate("+P+")",textAnchor:z,dominantBaseline:I,style:B.legends.title.text,children:O}),qc("rect",{width:C,height:S,fill:"url(#"+j}),E.map((function(e,t){return qc(ko,{children:[qc("line",{x1:e.x1,y1:e.y1,x2:e.x2,y2:e.y2,style:B.legends.ticks.line}),qc(EH,{x:e.textX,y:e.textY,textAnchor:e.textHorizontalAlign,dominantBaseline:e.textVerticalAlign,style:B.legends.ticks.text,children:e.text})]},t)}))]})},_q=["containerWidth","containerHeight","anchor","translateX","translateY","length","thickness","direction"],wq=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?hq.length:u,f=e.thickness,h=void 0===f?hq.thickness:f,p=e.direction,g=void 0===p?hq.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,_q);"row"===g?(t=d,n=h):(t=h,n=d);var v=mq({anchor:o,translateX:s,translateY:c,containerWidth:r,containerHeight:i,width:t,height:n});return qc("g",{transform:"translate("+v.x+", "+v.y+")",children:qc(yq,cq({length:d,thickness:h,direction:g},m))})},xq={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 qc("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 qc("g",{transform:"translate("+t+","+n+")",children:qc("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 qc("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 qc("g",{transform:"translate("+t+","+n+")",children:qc("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"}})})}},kq=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?fq:v,y=e.justify,_=void 0!==y&&y,w=e.textColor,x=e.background,k=void 0===x?"transparent":x,C=e.opacity,S=void 0===C?1:C,T=e.symbolShape,A=void 0===T?"square":T,M=e.symbolSize,L=void 0===M?16:M,E=e.symbolSpacing,N=void 0===E?8:E,O=e.symbolBorderWidth,R=void 0===O?0:O,D=e.symbolBorderColor,P=void 0===D?"transparent":D,I=e.onClick,z=e.onMouseEnter,B=e.onMouseLeave,j=e.toggleSerie,F=e.effects,H=la({}),$=H[0],U=H[1],q=tD(),W=pa((function(e){if(F){var t=F.filter((function(e){return"hover"===e.on})).reduce((function(e,t){return cq({},e,t.style)}),{});U(t)}null==z||z(m,e)}),[z,m,F]),V=pa((function(e){if(F){var t=F.filter((function(e){return"hover"!==e.on})).reduce((function(e,t){return cq({},e,t.style)}),{});U(t)}null==B||B(m,e)}),[B,m,F]),G=vq({direction:b,justify:_,symbolSize:null!=(t=$.symbolSize)?t:L,symbolSpacing:N,width:p,height:g}),Y=G.symbolX,X=G.symbolY,Z=G.labelX,K=G.labelY,J=G.labelAnchor,Q=G.labelAlignment,ee=[I,z,B,j].some((function(e){return void 0!==e})),te="function"==typeof A?A:xq[A];return qc("g",{transform:"translate("+f+","+h+")",style:{opacity:null!=(n=$.itemOpacity)?n:S},children:[qc("rect",{width:p,height:g,fill:null!=(r=$.itemBackground)?r:k,style:{cursor:ee?"pointer":"auto"},onClick:function(e){null==I||I(m,e),null==j||j(m.id)},onMouseEnter:W,onMouseLeave:V}),wo(te,cq({id:m.id,x:Y,y:X,size:null!=(i=$.symbolSize)?i:L,fill:null!=(o=null!=(a=m.fill)?a:m.color)?o:"black",borderWidth:null!=(s=$.symbolBorderWidth)?s:R,borderColor:null!=(l=$.symbolBorderColor)?l:P},m.hidden?q.legends.hidden.symbol:void 0)),qc(EH,{textAnchor:J,style:cq({},q.legends.text,{fill:null!=(c=null!=(u=null!=(d=$.itemTextColor)?d:w)?u:q.legends.text.fill)?c:"black",dominantBaseline:Q,pointerEvents:"none",userSelect:"none"},m.hidden?q.legends.hidden.text:void 0),x:Z,y:K,children:m.label})]})},Cq=function(e){var t=e.data,n=e.x,r=e.y,i=e.direction,o=e.padding,a=void 0===o?0:o,s=e.justify,l=e.effects,c=e.itemWidth,u=e.itemHeight,d=e.itemDirection,f=void 0===d?fq:d,h=e.itemsSpacing,p=void 0===h?0:h,g=e.itemTextColor,m=e.itemBackground,v=void 0===m?"transparent":m,b=e.itemOpacity,y=void 0===b?1:b,_=e.symbolShape,w=e.symbolSize,x=e.symbolSpacing,k=e.symbolBorderWidth,C=e.symbolBorderColor,S=e.onClick,T=e.onMouseEnter,A=e.onMouseLeave,M=e.toggleSerie,L=gq({itemCount:t.length,itemWidth:c,itemHeight:u,itemsSpacing:p,direction:i,padding:a}).padding,E="row"===i?c+p:0,N="column"===i?u+p:0;return qc("g",{transform:"translate("+n+","+r+")",children:t.map((function(e,t){return qc(kq,{data:e,x:t*E+L.left,y:t*N+L.top,width:c,height:u,direction:f,justify:s,effects:l,textColor:g,background:v,opacity:y,symbolShape:_,symbolSize:w,symbolSpacing:x,symbolBorderWidth:k,symbolBorderColor:C,onClick:S,onMouseEnter:T,onMouseLeave:A,toggleSerie:M},t)}))})},Sq=function(e){var t=e.data,n=e.containerWidth,r=e.containerHeight,i=e.translateX,o=void 0===i?0:i,a=e.translateY,s=void 0===a?0:a,l=e.anchor,c=e.direction,u=e.padding,d=void 0===u?0:u,f=e.justify,h=e.itemsSpacing,p=void 0===h?0:h,g=e.itemWidth,m=e.itemHeight,v=e.itemDirection,b=e.itemTextColor,y=e.itemBackground,_=e.itemOpacity,w=e.symbolShape,x=e.symbolSize,k=e.symbolSpacing,C=e.symbolBorderWidth,S=e.symbolBorderColor,T=e.onClick,A=e.onMouseEnter,M=e.onMouseLeave,L=e.toggleSerie,E=e.effects,N=gq({itemCount:t.length,itemsSpacing:p,itemWidth:g,itemHeight:m,direction:c,padding:d}),O=N.width,R=N.height,D=mq({anchor:l,translateX:o,translateY:s,containerWidth:n,containerHeight:r,width:O,height:R}),P=D.x,I=D.y;return qc(Cq,{data:t,x:P,y:I,direction:c,padding:d,justify:f,effects:E,itemsSpacing:p,itemWidth:g,itemHeight:m,itemDirection:v,itemTextColor:b,itemBackground:y,itemOpacity:_,symbolShape:w,symbolSize:x,symbolSpacing:k,symbolBorderWidth:C,symbolBorderColor:S,onClick:T,onMouseEnter:A,onMouseLeave:M,toggleSerie:"boolean"==typeof L?void 0:L})},Tq={start:"left",middle:"center",end:"right"},Aq=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,w=t.itemTextColor,x=t.symbolSize,k=void 0===x?16:x,C=t.symbolSpacing,S=void 0===C?8:C,T=t.theme,A=gq({itemCount:n.length,itemWidth:v,itemHeight:b,itemsSpacing:m,direction:u,padding:f}),M=A.width,L=A.height,E=A.padding,N=mq({anchor:c,translateX:a,translateY:l,containerWidth:r,containerHeight:i,width:M,height:L}),O=N.x,R=N.y,D="row"===u?v+m:0,P="column"===u?b+m:0;e.save(),e.translate(O,R),mH(e,T.legends.text),n.forEach((function(t,n){var r,i=n*D+E.left,o=n*P+E.top,a=vq({direction:_,justify:p,symbolSize:k,symbolSpacing:S,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=Tq[d],"central"===f&&(e.textBaseline="middle"),vH(e,cq({},T.legends.text,{fill:null!=w?w:T.legends.text.fill}),String(t.label),i+c,o+u)})),e.restore()},Mq=function(){if(dq)return uq;dq=1;var e=RR(),t=0;return uq=function(n){var r=++t;return e(n)+r},uq}(),Lq=Xb(Mq);const Eq=134217729;function Nq(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 Oq(e){return new Float64Array(e)}const Rq=Oq(4),Dq=Oq(8),Pq=Oq(12),Iq=Oq(16),zq=Oq(4);function Bq(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,_,w,x,k,C;const S=e-i,T=n-i,A=t-o,M=r-o;_=S*M,f=Eq*S,h=f-(f-S),p=S-h,f=Eq*M,g=f-(f-M),m=M-g,w=p*m-(_-h*g-p*g-h*m),x=A*T,f=Eq*A,h=f-(f-A),p=A-h,f=Eq*T,g=f-(f-T),m=T-g,k=p*m-(x-h*g-p*g-h*m),v=w-k,d=w-v,Rq[0]=w-(v+d)+(d-k),b=_+v,d=b-_,y=_-(b-d)+(v-d),v=y-x,d=y-v,Rq[1]=y-(v+d)+(d-x),C=b+v,d=C-b,Rq[2]=b-(C-d)+(v-d),Rq[3]=C;let L=function(e,t){let n=t[0];for(let e=1;e<4;e++)n+=t[e];return n}(0,Rq),E=22204460492503146e-32*a;if(L>=E||-L>=E)return L;if(d=e-S,s=e-(S+d)+(d-i),d=n-T,c=n-(T+d)+(d-i),d=t-A,l=t-(A+d)+(d-o),d=r-M,u=r-(M+d)+(d-o),0===s&&0===l&&0===c&&0===u)return L;if(E=11093356479670487e-47*a+33306690738754706e-32*Math.abs(L),L+=S*u+M*s-(A*c+T*l),L>=E||-L>=E)return L;_=s*M,f=Eq*s,h=f-(f-s),p=s-h,f=Eq*M,g=f-(f-M),m=M-g,w=p*m-(_-h*g-p*g-h*m),x=l*T,f=Eq*l,h=f-(f-l),p=l-h,f=Eq*T,g=f-(f-T),m=T-g,k=p*m-(x-h*g-p*g-h*m),v=w-k,d=w-v,zq[0]=w-(v+d)+(d-k),b=_+v,d=b-_,y=_-(b-d)+(v-d),v=y-x,d=y-v,zq[1]=y-(v+d)+(d-x),C=b+v,d=C-b,zq[2]=b-(C-d)+(v-d),zq[3]=C;const N=Nq(4,Rq,4,zq,Dq);_=S*u,f=Eq*S,h=f-(f-S),p=S-h,f=Eq*u,g=f-(f-u),m=u-g,w=p*m-(_-h*g-p*g-h*m),x=A*c,f=Eq*A,h=f-(f-A),p=A-h,f=Eq*c,g=f-(f-c),m=c-g,k=p*m-(x-h*g-p*g-h*m),v=w-k,d=w-v,zq[0]=w-(v+d)+(d-k),b=_+v,d=b-_,y=_-(b-d)+(v-d),v=y-x,d=y-v,zq[1]=y-(v+d)+(d-x),C=b+v,d=C-b,zq[2]=b-(C-d)+(v-d),zq[3]=C;const O=Nq(N,Dq,4,zq,Pq);_=s*u,f=Eq*s,h=f-(f-s),p=s-h,f=Eq*u,g=f-(f-u),m=u-g,w=p*m-(_-h*g-p*g-h*m),x=l*c,f=Eq*l,h=f-(f-l),p=l-h,f=Eq*c,g=f-(f-c),m=c-g,k=p*m-(x-h*g-p*g-h*m),v=w-k,d=w-v,zq[0]=w-(v+d)+(d-k),b=_+v,d=b-_,y=_-(b-d)+(v-d),v=y-x,d=y-v,zq[1]=y-(v+d)+(d-x),C=b+v,d=C-b,zq[2]=b-(C-d)+(v-d),zq[3]=C;const R=Nq(O,Pq,4,zq,Iq);return Iq[R-1]}(e,t,n,r,i,o,c)}const jq=Math.pow(2,-52),Fq=new Uint32Array(512);class Hq{static from(e,t=Gq,n=Yq){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 Hq(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=$q(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=$q(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=qq(g,m,v,b,e[2*t],e[2*t+1]);n<y&&(p=t,y=n)}let _=e[2*p],w=e[2*p+1];if(y===1/0){for(let t=0;t<o;t++)this._dists[t]=e[2*t]-e[0]||e[2*t+1]-e[1];Wq(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(Bq(g,m,v,b,_,w)<0){const e=h,t=v,n=b;h=p,v=_,b=w,p=e,_=t,w=n}const x=function(e,t,n,r,i,o){const a=n-e,s=r-t,l=i-e,c=o-t,u=a*a+s*s,d=l*l+c*c,f=.5/(a*c-s*l);return{x:e+(c*u-s*d)*f,y:t+(a*d-l*u)*f}}(g,m,v,b,_,w);this._cx=x.x,this._cy=x.y;for(let t=0;t<o;t++)this._dists[t]=$q(e[2*t],e[2*t+1],x.x,x.y);Wq(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(_,w)]=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)<=jq&&Math.abs(u-a)<=jq)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],Bq(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],Bq(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],Bq(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=Fq[--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(Uq(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<Fq.length&&(Fq[i++]=s)}else{if(0===i)break;e=Fq[--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 $q(e,t,n,r){const i=e-n,o=t-r;return i*i+o*o}function Uq(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 qq(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 Wq(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;Vq(e,n+r>>1,i),t[e[n]]>t[e[r]]&&Vq(e,n,r),t[e[i]]>t[e[r]]&&Vq(e,i,r),t[e[n]]>t[e[i]]&&Vq(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;Vq(e,i,o)}e[n+1]=e[o],e[o]=a,r-i+1>=o-n?(Wq(e,t,i,r),Wq(e,t,n,o-1)):(Wq(e,t,n,o-1),Wq(e,t,i,r))}}function Vq(e,t,n){const r=e[t];e[t]=e[n],e[n]=r}function Gq(e){return e[0]}function Yq(e){return e[1]}const Xq=1e-6;class Zq{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)>Xq||Math.abs(this._y1-i)>Xq)&&(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 Kq{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 Jq{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,w=v-h,x=b-p,k=2*(y*x-_*w);if(Math.abs(k)<1e-9){if(void 0===i){i=o=0;for(const n of t)i+=e[2*n],o+=e[2*n+1];i/=t.length,o/=t.length}const n=1e9*Math.sign((i-h)*x-(o-p)*w);r=(h+v)/2-n*x,s=(p+b)/2+n*w}else{const e=1/k,t=y*y+_*_,n=w*w+x*x;r=h+(x*t-_*n)*e,s=p+(y*n-w*t)*e}a[c]=r,a[c+1]=s}let s,l,c,u=t[t.length-1],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 Zq: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 Zq: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 Zq: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 Kq;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 Qq=2*Math.PI,eW=Math.pow;function tW(e){return e[0]}function nW(e){return e[1]}function rW(e,t,n){return[e+Math.sin(e+t)*n,t+Math.cos(e-t)*n]}class iW{static from(e,t=tW,n=nW,r){return new iW("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 Hq(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=rW(t[2*e],t[2*e+1],i);t[2*e]=n[0],t[2*e+1]=n[1]}this._delaunator=new Hq(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 Jq(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=eW(t-l[2*e],2)+eW(n-l[2*e+1],2);const d=r[e];let f=d;do{let r=s[f];const d=eW(t-l[2*r],2)+eW(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&&eW(t-l[2*f],2)+eW(n-l[2*f+1],2)<u)return f;break}}while(f!==d);return c}render(e){const t=null==e?e=new Zq: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 Zq: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,Qq)}return n&&n.value()}renderHull(e){const t=null==e?e=new Zq: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 Kq;return this.renderHull(e),e.value()}renderTriangle(e,t){const n=null==t?t=new Zq: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 Kq;return this.renderTriangle(e,t),t.value()}}function oW(){return oW=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},oW.apply(null,arguments)}function aW(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 sW={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"},lW=function(e){return[e.x,e.y]},cW=nH,uW="cursor",dW=function(e){var t=e.points,n=e.getNodePosition,r=void 0===n?lW:n,i=e.margin,o=void 0===i?cW:i;return t.map((function(e){var t=r(e),n=t[0],i=t[1];return[n+o.left,i+o.top]}))},fW=function(e){var t=e.points,n=e.getNodePosition,r=void 0===n?lW:n,i=e.width,o=e.height,a=e.margin,s=void 0===a?cW:a,l=e.debug;return ha((function(){return function(e){var t=e.points,n=e.width,r=e.height,i=e.margin,o=void 0===i?cW:i,a=e.debug,s=iW.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:dW({points:t,margin:s,getNodePosition:r}),width:i,height:o,margin:s,debug:l})}),[r,t,i,o,s,l])},hW=["theme"],pW=function(e){var t=e.data,n=e.width,r=e.height,i=e.margin,o=e.layers,a=void 0===o?sW.layers:o,s=e.xDomain,l=void 0===s?sW.xDomain:s,c=e.yDomain,u=void 0===c?sW.yDomain:c,d=e.enableLinks,f=void 0===d?sW.enableLinks:d,h=e.linkLineWidth,p=void 0===h?sW.linkLineWidth:h,g=e.linkLineColor,m=void 0===g?sW.linkLineColor:g,v=e.enableCells,b=void 0===v?sW.enableCells:v,y=e.cellLineWidth,_=void 0===y?sW.cellLineWidth:y,w=e.cellLineColor,x=void 0===w?sW.cellLineColor:w,k=e.enablePoints,C=void 0===k?sW.enableCells:k,S=e.pointSize,T=void 0===S?sW.pointSize:S,A=e.pointColor,M=void 0===A?sW.pointColor:A,L=e.role,E=void 0===L?sW.role:L,N=e.forwardedRef,O=rH(n,r,i),R=O.outerWidth,D=O.outerHeight,P=O.margin,I=function(e){var t=e.data,n=e.width,r=e.height,i=e.xDomain,o=e.yDomain,a=ha((function(){return Gp().domain(i).range([0,n])}),[i,n]),s=ha((function(){return Gp().domain(o).range([0,r])}),[o,r]),l=ha((function(){return t.map((function(e){return{x:a(e.x),y:s(e.y),data:e}}))}),[t,a,s]);return ha((function(){var e=iW.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:O.innerWidth,height:O.innerHeight,xDomain:l,yDomain:u}),z=I.points,B=I.delaunay,j=I.voronoi,F={links:null,cells:null,points:null,bounds:null};f&&a.includes("links")&&(F.links=qc("path",{stroke:m,strokeWidth:p,fill:"none",d:B.render()},"links")),b&&a.includes("cells")&&(F.cells=qc("path",{d:j.render(),fill:"none",stroke:x,strokeWidth:_},"cells")),C&&a.includes("points")&&(F.points=qc("path",{stroke:"none",fill:M,d:B.renderPoints(void 0,T/2)},"points")),a.includes("bounds")&&(F.bounds=qc("path",{fill:"none",stroke:x,strokeWidth:_,d:j.renderBounds()},"bounds"));var H=function(e){var t=e.points,n=e.delaunay,r=e.voronoi;return ha((function(){return{points:t,delaunay:n,voronoi:r}}),[t,n,r])}({points:z,delaunay:B,voronoi:j});return qc(GF,{width:R,height:D,margin:P,role:E,ref:N,children:a.map((function(e,t){return void 0!==F[e]?F[e]:"function"==typeof e?qc(ko,{children:wo(e,H)},t):null}))})},gW=Ka((function(e,t){var n=e.theme,r=aW(e,hW);return qc(AF,{isInteractive:!1,animate:!1,theme:n,children:qc(pW,oW({},r,{forwardedRef:t}))})})),mW=["defaultWidth","defaultHeight","onResize","debounceResize"];Ka((function(e,t){var n=e.defaultWidth,r=e.defaultHeight,i=e.onResize,o=e.debounceResize,a=aW(e,mW);return qc(EF,{defaultWidth:n,defaultHeight:r,onResize:i,debounceResize:o,children:function(e){var n=e.width,r=e.height;return qc(gW,oW({},a,{width:n,height:r,ref:t}))}})}));var vW=function(e){var t=e.nodes,n=e.width,r=e.height,i=e.margin,o=void 0===i?cW:i,a=e.getNodePosition,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=e.enableTouchCrosshair,y=void 0!==b&&b,_=e.detectionRadius,w=void 0===_?1/0:_,x=e.tooltip,k=e.tooltipPosition,C=void 0===k?uW:k,S=e.tooltipAnchor,T=void 0===S?"top":S,A=e.debug,M=fa(null),L=fW({points:t,getNodePosition:a,width:n,height:r,margin:o,debug:A}),E=L.delaunay,N=L.voronoi,O=function(e){var t=e.elementRef,n=e.nodes,r=e.getNodePosition,i=void 0===r?lW:r,o=e.delaunay,a=e.setCurrent,s=e.margin,l=void 0===s?cW: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,w=e.onTouchMove,x=e.onTouchEnd,k=e.enableTouchCrosshair,C=void 0!==k&&k,S=e.tooltip,T=e.tooltipPosition,A=void 0===T?uW:T,M=e.tooltipAnchor,L=void 0===M?"top":M,E=la(null),N=E[0],O=E[1],R=fa(null);ua((function(){R.current=N}),[R,N]);var D=pa((function(e){if(!t.current||0===n.length)return null;var r=dH(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];cH(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]),P=bD(),I=P.showTooltipAt,z=P.showTooltipFromEvent,B=P.hideTooltip,j=ha((function(){if(S)return"cursor"===A?function(e,t){z(S(e),t,L)}:function(e){var t=i(e),n=t[0],r=t[1];I(S(e),[n+l.left,r+l.top],L)}}),[I,z,S,A,L,i,l]),F=pa((function(e){var t=D(e);if(O(t),null==a||a(t?t[1]:null),t){var n=t[1];null==j||j(n,e),null==h||h(t[1],e)}}),[D,O,a,j,h]),H=pa((function(e){var t=D(e);if(O(t),t){var n=t[0],r=t[1];if(null==a||a(r),null==j||j(r,e),R.current){var i=R.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==B||B(),R.current&&(null==g||g(R.current[1],e))}),[D,O,a,R,h,p,g,j,B]),$=pa((function(e){O(null),null==a||a(null),B(),g&&R.current&&g(R.current[1],e)}),[O,a,R,B,g]),U=pa((function(e){var t=D(e);O(t),t&&(null==m||m(t[1],e))}),[D,O,m]),q=pa((function(e){var t=D(e);O(t),t&&(null==v||v(t[1],e))}),[D,O,v]),W=pa((function(e){var t=D(e);O(t),t&&(null==b||b(t[1],e))}),[D,O,b]),V=pa((function(e){var t=D(e);O(t),t&&(null==y||y(t[1],e))}),[D,O,y]),G=pa((function(e){var t=D(e);C&&(O(t),null==a||a(t?t[1]:null)),t&&(null==_||_(t[1],e))}),[D,O,a,C,_]),Y=pa((function(e){var t=D(e);C&&(O(t),null==a||a(t?t[1]:null)),t&&(null==w||w(t[1],e))}),[D,O,a,C,w]),X=pa((function(e){C&&(O(null),null==a||a(null)),x&&R.current&&x(R.current[1],e)}),[C,O,a,x,R]);return{current:N,handleMouseEnter:f?F:void 0,handleMouseMove:f?H:void 0,handleMouseLeave:f?$:void 0,handleMouseDown:f?U:void 0,handleMouseUp:f?q:void 0,handleClick:f?W:void 0,handleDoubleClick:f?V:void 0,handleTouchStart:f?G:void 0,handleTouchMove:f?Y:void 0,handleTouchEnd:f?X:void 0}}({elementRef:M,nodes:t,delaunay:E,margin:o,detectionRadius:w,setCurrent:s,onMouseEnter:l,onMouseMove:c,onMouseLeave:u,onMouseDown:d,onMouseUp:f,onClick:h,onDoubleClick:p,onTouchStart:g,onTouchMove:m,onTouchEnd:v,enableTouchCrosshair:y,tooltip:x,tooltipPosition:C,tooltipAnchor:T}),R=O.current,D=O.handleMouseEnter,P=O.handleMouseMove,I=O.handleMouseLeave,z=O.handleMouseDown,B=O.handleMouseUp,j=O.handleClick,F=O.handleDoubleClick,H=O.handleTouchStart,$=O.handleTouchMove,U=O.handleTouchEnd,q=ha((function(){if(A&&N)return N.render()}),[A,N]);return qc("g",{ref:M,transform:"translate("+-o.left+","+-o.top+")",children:[A&&N&&qc(ko,{children:[qc("path",{d:q,stroke:"red",strokeWidth:1,opacity:.75}),w<1/0&&qc("path",{stroke:"red",strokeWidth:.35,fill:"none",d:E.renderPoints(void 0,w)}),R&&qc("path",{fill:"pink",opacity:.35,d:N.renderCell(R[0])})]}),qc("rect",{"data-ref":"mesh-interceptor",width:o.left+n+o.right,height:o.top+r+o.bottom,fill:"red",opacity:0,style:{cursor:"auto"},onMouseEnter:D,onMouseMove:P,onMouseLeave:I,onMouseDown:z,onMouseUp:B,onTouchStart:H,onTouchMove:$,onTouchEnd:U,onClick:j,onDoubleClick:F})]})};function bW(){return bW=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},bW.apply(null,arguments)}function yW(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 _W,wW={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:Ya((function(e){var t=e.point;return qc(lD,{id:qc("span",{children:["x: ",qc("strong",{children:t.data.xFormatted}),", y:"," ",qc("strong",{children:t.data.yFormatted})]}),enableChip:!0,color:t.seriesColor})})),sliceTooltip:Ya((function(e){var t=e.slice,n=e.axis,r=tD(),i="x"===n?"y":"x";return qc(uD,{rows:t.points.map((function(e){return[qc(sD,{color:e.seriesColor,style:r.tooltip.chip},"chip"),e.seriesId,qc("span",{style:r.tooltip.tableCellValue,children:e.data[i+"Formatted"]},"value")]}))})})),debugMesh:!1,renderWrapper:!0},xW=bW({},wW,{defs:[],fill:[],enablePointLabel:!1,pointLabel:"data.yFormatted",areaBlendMode:"normal",axisTop:null,axisRight:null,axisBottom:zU,axisLeft:zU,useMesh:!1,enableSlices:!1,debugSlices:!1,enableCrosshair:!0,crosshairType:"bottom-left",enableTouchCrosshair:!1,initialHiddenIds:[],animate:!0,motionConfig:"gentle",role:"img",isFocusable:!1}),kW=bW({},wW,{pixelRatio:"undefined"!=typeof window&&null!=(_W=window.devicePixelRatio)?_W:1,axisTop:null,axisRight:null,axisBottom:zU,axisLeft:zU});function CW(e){return ha((function(){return ib().defined((function(e){return null!==e.x&&null!==e.y})).x((function(e){return e.x})).y((function(e){return e.y})).curve(tH(e))}),[e])}function SW(e){var t=e.curve,n=e.yScale,r=e.areaBaselineValue;return ha((function(){return ob().defined((function(e){return null!==e.x&&null!==e.y})).x((function(e){return e.x})).y1((function(e){return e.y})).curve(tH(t)).y0(n(r))}),[t,n,r])}var TW=function(e){var t=e.data,n=e.xScale,r=void 0===n?wW.xScale:n,i=e.xFormat,o=e.yScale,a=void 0===o?wW.yScale:o,s=e.yFormat,l=e.width,c=e.height,u=e.colors,d=void 0===u?wW.colors:u,f=e.curve,h=void 0===f?wW.curve:f,p=e.areaBaselineValue,g=void 0===p?wW.areaBaselineValue:p,m=e.pointColor,v=void 0===m?wW.pointColor:m,b=e.pointBorderColor,y=void 0===b?wW.pointBorderColor:b,_=e.enableSlices,w=void 0===_?xW.enableSlices:_,x=e.initialHiddenIds,k=void 0===x?xW.initialHiddenIds:x,C=la(Lq("line"))[0],S=aH(i),T=aH(s),A=lq(d,"id"),M=tD(),L=oq(v,M),E=oq(y,M),N=la(null!=k?k:[]),O=N[0],R=N[1],D=ha((function(){return wU(t.filter((function(e){return-1===O.indexOf(e.id)})),r,a,l,c)}),[t,O,r,a,l,c]),P=D.xScale,I=D.yScale,z=D.series,B=ha((function(){var e=t.map((function(e){return{id:e.id,label:""+e.id,color:A(e)}})),n=e.map((function(e){return bW({},z.find((function(t){return t.id===e.id})),{color:e.color})})).filter((function(e){return Boolean(e.id)}));return{legendData:e.map((function(e){return bW({},e,{hidden:!n.find((function(t){return t.id===e.id}))})})).reverse(),series:n}}),[t,z,A]),j=B.legendData,F=B.series,H=pa((function(e){R((function(t){return t.indexOf(e)>-1?t.filter((function(t){return t!==e})):[].concat(t,[e])}))}),[]),$=function(e){var t=e.series,n=e.getPointColor,r=e.getPointBorderColor,i=e.formatX,o=e.formatY;return ha((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:bW({},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:F,getPointColor:L,getPointBorderColor:E,formatX:S,formatY:T}),U=function(e){var t=e.componentId,n=e.enableSlices,r=e.points,i=e.width,o=e.height;return ha((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:C,enableSlices:w,points:$,width:l,height:c});return{legendData:j,toggleSeries:H,lineGenerator:CW(h),areaGenerator:SW({curve:h,yScale:I,areaBaselineValue:g}),getColor:A,series:F,xScale:P,yScale:I,slices:U,points:$}},AW=function(e){var t=e.areaBlendMode,n=e.areaOpacity,r=e.color,i=e.fill,o=e.path,a=CF(),s=a.animate,l=a.config,c=JF(o),u=cM({color:r,config:l,immediate:!s});return qc(_E.path,{d:c,fill:i||u.color,fillOpacity:n,strokeWidth:0,style:{mixBlendMode:t}})},MW=Ya((function(e){var t=e.areaGenerator,n=e.areaOpacity,r=e.areaBlendMode;return qc("g",{children:e.series.slice(0).reverse().map((function(e){return qc(AW,bW({path:t(e.data.map((function(e){return e.position})))},bW({areaOpacity:n,areaBlendMode:r},e)),""+e.id)}))})})),LW=Ya((function(e){var t=e.lineGenerator,n=e.points,r=e.color,i=e.thickness,o=ha((function(){return t(n)}),[t,n]),a=JF(o);return qc(_E.path,{d:a,fill:"none",strokeWidth:i,stroke:r})})),EW=Ya((function(e){var t=e.series,n=e.lineGenerator,r=e.lineWidth;return qc(ko,{children:t.slice(0).reverse().map((function(e){var t=e.id,i=e.data,o=e.color;return qc(LW,{points:i.map((function(e){return e.position})),lineGenerator:n,color:o,thickness:r},t)}))})})),NW=Ya((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=bD(),y=b.showTooltipFromEvent,_=b.hideTooltip,w=pa((function(e){y(wo(o,{slice:t,axis:r}),e,"right"),s(t),null==l||l(t,e)}),[y,o,t,r,s,l]),x=pa((function(e){y(wo(o,{slice:t,axis:r}),e,"right"),null==c||c(t,e)}),[y,o,t,r,c]),k=pa((function(e){_(),s(null),null==u||u(t,e)}),[_,s,u,t]),C=pa((function(e){null==d||d(t,e)}),[t,d]),S=pa((function(e){null==f||f(t,e)}),[t,f]),T=pa((function(e){null==h||h(t,e)}),[t,h]),A=pa((function(e){null==p||p(t,e)}),[t,p]),M=pa((function(e){y(wo(o,{slice:t,axis:r}),e,"right"),s(t),null==g||g(t,e)}),[r,g,s,y,t,o]),L=pa((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(wo(o,{slice:c,axis:r}),e,"right"),s(c))}null==m||m(t,e)}),[r,m,s,y,t,n,o]),E=pa((function(e){_(),s(null),null==v||v(t,e)}),[_,s,v,t]);return qc("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:w,onMouseMove:x,onMouseLeave:k,onMouseDown:C,onMouseUp:S,onClick:T,onDoubleClick:A,onTouchStart:M,onTouchMove:L,onTouchEnd:E,"data-ref":t.id})})),OW=Ya((function(e){var t=e.slices,n=e.axis,r=e.debug,i=e.tooltip,o=e.current,a=e.setCurrent,s=e.onMouseEnter,l=e.onMouseMove,c=e.onMouseLeave,u=e.onMouseDown,d=e.onMouseUp,f=e.onClick,h=e.onDoubleClick,p=e.onTouchStart,g=e.onTouchMove,m=e.onTouchEnd;return qc(ko,{children:t.map((function(e){return qc(NW,{slice:e,slices:t,axis:n,debug:r,tooltip:i,setCurrent:a,isCurrent:null!==o&&o.id===e.id,onMouseEnter:s,onMouseMove:l,onMouseLeave:c,onMouseDown:u,onMouseUp:d,onClick:f,onDoubleClick:h,onTouchStart:p,onTouchMove:g,onTouchEnd:m},e.id)}))})})),RW=Ya((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){return II(e)?e:function(t){return $R(t,e)}}(a),b=bD(),y=b.showTooltipAt,_=b.hideTooltip,w=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(wo(u,{point:e}),[d.left+e.x,d.top+e.y],"top")}:void 0,onBlur:l?function(){c(null),_()}:void 0}}));return qc("g",{children:w.map((function(e){return qc(XF,{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)}))})})),DW=Ya((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=bD(),_=y.showTooltipAt,w=y.hideTooltip,x=pa((function(e,t){_(wo(m,{point:e}),[e.x+i.left,e.y+i.top],"top"),null==a||a(e,t)}),[_,m,a,i]),k=pa((function(e,t){_(wo(m,{point:e}),[e.x+i.left,e.y+i.top],"top"),null==s||s(e,t)}),[_,m,i.left,i.top,s]),C=pa((function(e,t){w(),null==l||l(e,t)}),[w,l]),S=pa((function(e,t){null==c||c(e,t)}),[c]),T=pa((function(e,t){null==u||u(e,t)}),[u]),A=pa((function(e,t){null==d||d(e,t)}),[d]),M=pa((function(e,t){null==f||f(e,t)}),[f]),L=pa((function(e,t){_(wo(m,{point:e}),[e.x+i.left,e.y+i.top],"top"),null==h||h(e,t)}),[i.left,i.top,h,_,m]),E=pa((function(e,t){_(wo(m,{point:e}),[e.x+i.left,e.y+i.top],"top"),null==p||p(e,t)}),[i.left,i.top,p,_,m]),N=pa((function(e,t){w(),null==g||g(e,t)}),[g,w]);return qc(vW,{nodes:t,width:n,height:r,setCurrent:o,onMouseEnter:x,onMouseMove:k,onMouseLeave:C,onMouseDown:S,onMouseUp:T,onClick:A,onDoubleClick:M,onTouchStart:L,onTouchMove:E,onTouchEnd:N,enableTouchCrosshair:b,debug:v})})),PW=["isInteractive","animate","motionConfig","theme","renderWrapper"];function IW(e){var t=e.data,n=e.xScale,r=void 0===n?xW.xScale:n,i=e.xFormat,o=e.yScale,a=void 0===o?xW.yScale:o,s=e.yFormat,l=e.curve,c=void 0===l?xW.curve:l,u=e.margin,d=e.width,f=e.height,h=e.colors,p=void 0===h?xW.colors:h,g=e.lineWidth,m=void 0===g?xW.lineWidth:g,v=e.layers,b=void 0===v?xW.layers:v,y=e.enableArea,_=void 0===y?xW.enableArea:y,w=e.areaBaselineValue,x=void 0===w?xW.areaBaselineValue:w,k=e.areaOpacity,C=void 0===k?xW.areaOpacity:k,S=e.areaBlendMode,T=void 0===S?xW.areaBlendMode:S,A=e.enablePoints,M=void 0===A?xW.enablePoints:A,L=e.pointSymbol,E=e.pointSize,N=void 0===E?xW.pointSize:E,O=e.pointColor,R=void 0===O?xW.pointColor:O,D=e.pointBorderWidth,P=void 0===D?xW.pointBorderWidth:D,I=e.pointBorderColor,z=void 0===I?xW.pointBorderColor:I,B=e.enablePointLabel,j=void 0===B?xW.enablePointLabel:B,F=e.pointLabel,H=void 0===F?xW.pointLabel:F,$=e.pointLabelYOffset,U=e.enableGridX,q=void 0===U?xW.enableGridX:U,W=e.gridXValues,V=e.enableGridY,G=void 0===V?xW.enableGridY:V,Y=e.gridYValues,X=e.axisTop,Z=e.axisRight,K=e.axisBottom,J=void 0===K?xW.axisBottom:K,Q=e.axisLeft,ee=void 0===Q?xW.axisLeft:Q,te=e.defs,ne=void 0===te?xW.defs:te,re=e.fill,ie=void 0===re?xW.fill:re,oe=e.markers,ae=e.legends,se=void 0===ae?xW.legends:ae,le=e.isInteractive,ce=void 0===le?xW.isInteractive:le,ue=e.useMesh,de=void 0===ue?xW.useMesh:ue,fe=e.debugMesh,he=void 0===fe?xW.debugMesh:fe,pe=e.onMouseEnter,ge=e.onMouseMove,me=e.onMouseLeave,ve=e.onMouseDown,be=e.onMouseUp,ye=e.onClick,_e=e.onDoubleClick,we=e.onTouchStart,xe=e.onTouchMove,ke=e.onTouchEnd,Ce=e.tooltip,Se=void 0===Ce?xW.tooltip:Ce,Te=e.enableSlices,Ae=void 0===Te?xW.enableSlices:Te,Me=e.debugSlices,Le=void 0===Me?xW.debugSlices:Me,Ee=e.sliceTooltip,Ne=void 0===Ee?xW.sliceTooltip:Ee,Oe=e.enableCrosshair,Re=void 0===Oe?xW.enableCrosshair:Oe,De=e.crosshairType,Pe=void 0===De?xW.crosshairType:De,Ie=e.enableTouchCrosshair,ze=void 0===Ie?xW.enableTouchCrosshair:Ie,Be=e.role,je=void 0===Be?xW.role:Be,Fe=e.ariaLabel,He=e.ariaLabelledBy,$e=e.ariaDescribedBy,Ue=e.isFocusable,qe=void 0===Ue?xW.isFocusable:Ue,We=e.pointAriaLabel,Ve=e.pointAriaLabelledBy,Ge=e.pointAriaDescribedBy,Ye=e.pointAriaHidden,Xe=e.pointAriaDisabled,Ze=e.initialHiddenIds,Ke=void 0===Ze?xW.initialHiddenIds:Ze,Je=e.forwardedRef,Qe=rH(d,f,u),et=Qe.margin,tt=Qe.innerWidth,nt=Qe.innerHeight,rt=Qe.outerWidth,it=Qe.outerHeight,ot=TW({data:t,xScale:r,xFormat:i,yScale:a,yFormat:s,width:tt,height:nt,colors:p,curve:c,areaBaselineValue:x,pointColor:R,pointBorderColor:z,enableSlices:Ae,initialHiddenIds:Ke}),at=ot.legendData,st=ot.toggleSeries,lt=ot.lineGenerator,ct=ot.areaGenerator,ut=ot.series,dt=ot.xScale,ft=ot.yScale,ht=ot.slices,pt=ot.points,gt=la(null),mt=gt[0],vt=gt[1],bt=la(null),yt=bt[0],_t=bt[1],wt={grid:null,markers:null,axes:null,areas:null,crosshair:null,lines:null,points:null,slices:null,mesh:null,legends:null};b.includes("grid")&&(q||G)&&(wt.grid=qc(UU,{width:tt,height:nt,xScale:q?dt:null,yScale:G?ft:null,xValues:W,yValues:Y},"grid")),b.includes("markers")&&Array.isArray(oe)&&oe.length>0&&(wt.markers=qc(KF,{markers:oe,width:tt,height:nt,xScale:dt,yScale:ft},"markers")),b.includes("axes")&&(wt.axes=qc(FU,{xScale:dt,yScale:ft,width:tt,height:nt,top:X,right:Z,bottom:J,left:ee},"axes")),b.includes("lines")&&(wt.lines=qc(EW,{series:ut,lineGenerator:lt,lineWidth:m},"lines")),b.includes("legends")&&se.length>0&&(wt.legends=qc(ko,{children:se.map((function(e,t){return qc(Sq,bW({},e,{containerWidth:tt,containerHeight:nt,data:e.data||at,toggleSerie:e.toggleSerie?st:void 0}),t)}))},"legends"));var xt=pH(ne,ut,ie);_&&(wt.areas=qc(MW,{areaGenerator:ct,areaOpacity:C,areaBlendMode:T,series:ut},"areas")),ce&&!1!==Ae&&(wt.slices=qc(OW,{slices:ht,axis:Ae,debug:Le,tooltip:Ne,current:yt,setCurrent:_t,onMouseEnter:pe,onMouseMove:ge,onMouseLeave:me,onMouseDown:ve,onMouseUp:be,onClick:ye,onDoubleClick:_e,onTouchStart:we,onTouchMove:xe,onTouchEnd:ke},"slices")),M&&(wt.points=qc(RW,{points:pt,symbol:L,size:N,borderWidth:P,enableLabel:j,label:H,labelYOffset:$,isFocusable:qe,setCurrentPoint:vt,tooltip:Se,margin:et,ariaLabel:We,ariaLabelledBy:Ve,ariaDescribedBy:Ge,ariaHidden:Ye,ariaDisabled:Xe},"points")),ce&&Re&&(null!==mt&&(wt.crosshair=qc(fD,{width:tt,height:nt,x:mt.x,y:mt.y,type:Pe},"crosshair")),null!==yt&&Ae&&(wt.crosshair=qc(fD,{width:tt,height:nt,x:yt.x,y:yt.y,type:Ae},"crosshair"))),ce&&de&&!1===Ae&&(wt.mesh=qc(DW,{points:pt,width:tt,height:nt,margin:et,setCurrent:vt,onMouseEnter:pe,onMouseMove:ge,onMouseLeave:me,onMouseDown:ve,onMouseUp:be,onClick:ye,onDoubleClick:_e,onTouchStart:we,onTouchMove:xe,onTouchEnd:ke,tooltip:Se,enableTouchCrosshair:ze,debug:he},"mesh"));var kt=bW({},e,{innerWidth:tt,innerHeight:nt,series:ut,slices:ht,points:pt,xScale:dt,yScale:ft,lineGenerator:lt,areaGenerator:ct,currentPoint:mt,setCurrentPoint:vt,currentSlice:yt,setCurrentSlice:_t});return qc(GF,{defs:xt,width:rt,height:it,margin:et,role:je,ariaLabel:Fe,ariaLabelledBy:He,ariaDescribedBy:$e,isFocusable:qe,ref:Je,children:b.map((function(e,t){return"function"==typeof e?qc(ko,{children:e(kt)},t):wt[e]}))})}var zW=Ka((function(e,t){var n=e.isInteractive,r=void 0===n?xW.isInteractive:n,i=e.animate,o=void 0===i?xW.animate:i,a=e.motionConfig,s=void 0===a?xW.motionConfig:a,l=e.theme,c=e.renderWrapper,u=yW(e,PW);return qc(AF,{animate:o,isInteractive:r,motionConfig:s,renderWrapper:c,theme:l,children:qc(IW,bW({isInteractive:r},u,{forwardedRef:t}))})})),BW=["defaultWidth","defaultHeight","onResize","debounceResize"],jW=(Ka((function(e,t){var n=e.defaultWidth,r=e.defaultHeight,i=e.onResize,o=e.debounceResize,a=yW(e,BW);return qc(EF,{defaultWidth:n,defaultHeight:r,onResize:i,debounceResize:o,children:function(e){var n=e.width,r=e.height;return qc(zW,bW({width:n,height:r},a,{ref:t}))}})})),["isInteractive","renderWrapper","theme"]),FW=function(e){var t=e.width,n=e.height,r=e.margin,i=e.pixelRatio,o=void 0===i?kW.pixelRatio:i,a=e.data,s=e.xScale,l=void 0===s?kW.xScale:s,c=e.xFormat,u=e.yScale,d=void 0===u?kW.yScale:u,f=e.yFormat,h=e.curve,p=void 0===h?kW.curve:h,g=e.layers,m=void 0===g?kW.layers:g,v=e.colors,b=void 0===v?kW.colors:v,y=e.lineWidth,_=void 0===y?kW.lineWidth:y,w=e.enableArea,x=void 0===w?kW.enableArea:w,k=e.areaBaselineValue,C=void 0===k?kW.areaBaselineValue:k,S=e.areaOpacity,T=void 0===S?kW.areaOpacity:S,A=e.enablePoints,M=void 0===A?kW.enablePoints:A,L=e.pointSize,E=void 0===L?kW.pointSize:L,N=e.pointColor,O=void 0===N?kW.pointColor:N,R=e.pointBorderWidth,D=void 0===R?kW.pointBorderWidth:R,P=e.pointBorderColor,I=void 0===P?kW.pointBorderColor:P,z=e.enableGridX,B=void 0===z?kW.enableGridX:z,j=e.gridXValues,F=e.enableGridY,H=void 0===F?kW.enableGridY:F,$=e.gridYValues,U=e.axisTop,q=e.axisRight,W=e.axisBottom,V=void 0===W?kW.axisBottom:W,G=e.axisLeft,Y=void 0===G?kW.axisLeft:G,X=e.legends,Z=void 0===X?kW.legends:X,K=e.isInteractive,J=void 0===K?kW.isInteractive:K,Q=e.debugMesh,ee=void 0===Q?kW.debugMesh:Q,te=e.onMouseLeave,ne=e.onMouseDown,re=e.onMouseUp,ie=e.onClick,oe=e.onDoubleClick,ae=e.tooltip,se=void 0===ae?kW.tooltip:ae,le=e.role,ce=e.forwardedRef,ue=fa(null),de=rH(t,n,r),fe=de.margin,he=de.innerWidth,pe=de.innerHeight,ge=de.outerWidth,me=de.outerHeight,ve=tD(),be=la(null),ye=be[0],_e=be[1],we=TW({data:a,xScale:l,xFormat:c,yScale:d,yFormat:f,width:he,height:pe,colors:b,curve:p,areaBaselineValue:C,pointColor:O,pointBorderColor:I}),xe=we.lineGenerator,ke=we.areaGenerator,Ce=we.series,Se=we.xScale,Te=we.yScale,Ae=we.points,Me=ha((function(){return{innerWidth:he,innerHeight:pe,series:Ce,points:Ae,xScale:Se,yScale:Te,lineWidth:_,lineGenerator:xe,areaGenerator:ke,currentPoint:ye,setCurrentPoint:_e}}),[he,pe,Ce,Ae,Se,Te,_,xe,ke,ye,_e]),Le=fW({points:Ae,width:he,height:pe,debug:ee}),Ee=Le.delaunay,Ne=Le.voronoi;ua((function(){if(null!==ue.current){ue.current.width=ge*o,ue.current.height=me*o;var e=ue.current.getContext("2d");e.scale(o,o),e.fillStyle=ve.background,e.fillRect(0,0,ge,me),e.translate(fe.left,fe.top),m.forEach((function(t){var n;"function"==typeof t&&t(e,Me);var r=null!=(n=ve.grid.line.strokeWidth)?n:0;if("grid"===t&&"string"!=typeof r&&r>0&&(e.lineWidth=r,e.strokeStyle=ve.grid.line.stroke,B&&WU(e,{width:he,height:pe,scale:Se,axis:"x",values:j}),H&&WU(e,{width:he,height:pe,scale:Te,axis:"y",values:$})),"axes"===t&&qU(e,{xScale:Se,yScale:Te,width:he,height:pe,top:U,right:q,bottom:V,left:Y,theme:ve}),"areas"===t&&!0===x){e.save(),e.globalAlpha=T,ke.context(e);for(var i=Ce.length-1;i>=0;i--)e.fillStyle=Ce[i].color,e.beginPath(),ke(Ce[i].data.map((function(e){return e.position}))),e.fill();e.restore()}if("lines"===t&&(xe.context(e),Ce.forEach((function(t){e.strokeStyle=t.color,e.lineWidth=_,e.beginPath(),xe(t.data.map((function(e){return e.position}))),e.stroke()}))),"points"===t&&!0===M&&E>0&&Ae.forEach((function(t){e.fillStyle=t.color,e.beginPath(),e.arc(t.x,t.y,E/2,0,2*Math.PI),e.fill(),D>0&&(e.strokeStyle=t.borderColor,e.lineWidth=D,e.stroke())})),"mesh"===t&&!0===ee&&void 0!==Ne&&(function(e,t){e.save(),e.globalAlpha=.75,e.beginPath(),t.render(e),e.strokeStyle="red",e.lineWidth=1,e.stroke(),e.restore()}(e,Ne),ye&&function(e,t,n){e.save(),e.globalAlpha=.35,e.beginPath(),t.renderCell(n,e),e.fillStyle="pink",e.fill(),e.restore()}(e,Ne,ye.absIndex)),"legends"===t){var o=Ce.map((function(e){return{id:e.id,label:e.id,color:e.color}})).reverse();Z.forEach((function(t){Aq(e,bW({},t,{data:t.data||o,containerWidth:he,containerHeight:pe,theme:ve}))}))}}))}}),[ue,he,ge,pe,me,fe.left,fe.top,o,m,ve,xe,Ce,Se,Te,B,j,H,$,U,q,V,Y,Z,Ae,M,E,D,ye,Me,ee,x,ke,T,_,Ne]);var Oe=pa((function(e){if(!ue.current)return null;var t=dH(ue.current,e),n=t[0],r=t[1];if(!uH(fe.left,fe.top,he,pe,n,r))return null;var i=Ee.find(n-fe.left,r-fe.top);return Ae[i]}),[ue,fe,he,pe,Ee,Ae]),Re=bD(),De=Re.showTooltipFromEvent,Pe=Re.hideTooltip,Ie=pa((function(e){var t=Oe(e);_e(t),t?De(wo(se,{point:t}),e):Pe()}),[Oe,_e,De,Pe,se]),ze=pa((function(e){Pe(),_e(null),ye&&(null==te||te(ye,e))}),[Pe,_e,te,ye]),Be=pa((function(e){if(ne){var t=Oe(e);t&&ne(t,e)}}),[Oe,ne]),je=pa((function(e){if(re){var t=Oe(e);t&&re(t,e)}}),[Oe,re]),Fe=pa((function(e){if(ie){var t=Oe(e);t&&ie(t,e)}}),[Oe,ie]),He=pa((function(e){if(oe){var t=Oe(e);t&&oe(t,e)}}),[Oe,oe]);return qc("canvas",{ref:gH(ue,ce),width:ge*o,height:me*o,style:{width:ge,height:me,cursor:J?"auto":"normal"},onMouseEnter:J?Ie:void 0,onMouseMove:J?Ie:void 0,onMouseLeave:J?ze:void 0,onMouseDown:J?Be:void 0,onMouseUp:J?je:void 0,onClick:J?Fe:void 0,onDoubleClick:J?He:void 0,role:le})},HW=Ka((function(e,t){var n=e.isInteractive,r=e.renderWrapper,i=e.theme,o=yW(e,jW);return qc(AF,{isInteractive:n,renderWrapper:r,theme:i,animate:!1,children:qc(FW,bW({},o,{forwardedRef:t}))})})),$W=["defaultWidth","defaultHeight","onResize","debounceResize"];Ka((function(e,t){var n=e.defaultWidth;e.defaultHeight;var r=e.onResize,i=e.debounceResize,o=yW(e,$W);return qc(EF,{defaultWidth:n,defaultHeight:n,onResize:r,debounceResize:i,children:function(e){var n=e.width,r=e.height;return qc(HW,bW({width:n,height:r},o,{ref:t}))}})}));const UW=({label:e,width:t,height:n,ariaLabel:r=e})=>qc("div",{role:"img","aria-label":r,className:"styles_empty-data-stub__DuGJ2",style:{width:t,height:n},children:e});!function(e){e.Mesh="Mesh",e.SlicesX="SlicesX",e.SlicesY="SlicesY"}({});const qW=e=>{switch(e){case"passed":return"var(--bg-support-castor)";case"failed":return"var(--bg-support-capella)";case"broken":return"var(--bg-support-atlas)";case"unknown":default:return"var(--bg-support-skat)";case"skipped":return"var(--bg-support-rau)"}},WW=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},VW=(e,t)=>{const[n,r]=e,i=t.map(((e,i)=>n+(r-n)*(i/(t.length-1))));return Gp().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(Oh).clamp(!0)};const GW=e=>"number"==typeof e&&e>=0&&e<=100,YW=({slices:e,percentage:t,className:n})=>qc("article",{"aria-label":"Success rate",role:"presentation",className:Ls("styles_chart__mUNSO",n),children:[qc("svg",{"aria-hidden":!0,viewBox:"0 0 100 100",children:qc("g",{transform:"translate(50, 50)",children:e.map((e=>!!e.d&&qc("path",{d:e.d,fill:"__empty__"===e.status?"var(--bg-control-secondary)":qW(e.status)},e.status)))})}),GW(t)&&qc(Zc,{className:"styles_legend__JMBvn",size:"s",tag:"b",children:0===t?"0":`${t}%`})]});var XW,ZW,KW,JW,QW,eV,tV,nV,rV,iV,oV,aV,sV,lV,cV,uV,dV,fV,hV,pV,gV,mV,vV,bV,yV,_V,wV,xV,kV,CV,SV,TV,AV,MV,LV,EV,NV,OV,RV,DV,PV,IV,zV,BV;function jV(){if(iV)return rV;iV=1;var e=pj(),t=AN(),n=pF(),r=hF(),i=Object.getOwnPropertySymbols?function(r){for(var i=[];r;)e(i,n(r)),r=t(r);return i}:r;return rV=i}function FV(){if(lV)return sV;lV=1;var e=dF(),t=jV(),n=JO();return sV=function(r){return e(r,n,t)},sV}function HV(){if(MV)return AV;MV=1;var e=IE(),t=(ZW||(ZW=1,XW=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}),XW),n=YO(),r=function(){if(JW)return KW;JW=1;var e=XO(),t=gF();return KW=function(n,r){return n&&e(r,t(r),n)},KW}(),i=function(){if(eV)return QW;eV=1;var e=XO(),t=JO();return QW=function(n,r){return n&&e(r,t(r),n)},QW}(),o=wN(),a=SN(),s=function(){if(nV)return tV;nV=1;var e=XO(),t=pF();return tV=function(n,r){return e(n,t(n),r)},tV}(),l=function(){if(aV)return oV;aV=1;var e=XO(),t=jV();return oV=function(n,r){return e(n,t(n),r)},oV}(),c=mF(),u=FV(),d=bF(),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=function(){if(bV)return vV;bV=1;var e=kN(),t=function(){if(fV)return dV;fV=1;var e=kN();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=TE(),t=e?e.prototype:void 0,n=t?t.valueOf:void 0;return gV=function(e){return n?Object(n.call(e)):{}},gV}(),i=CN();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}(),p=LN(),g=ON(),m=VN(),v=function(){if(xV)return wV;xV=1;var e=function(){if(_V)return yV;_V=1;var e=bF(),t=EN();return yV=function(n){return t(n)&&"[object Map]"==e(n)}}(),t=YN(),n=WO(),r=n&&n.isMap,i=r?t(r):e;return wV=i}(),b=ME(),y=function(){if(TV)return SV;TV=1;var e=function(){if(CV)return kV;CV=1;var e=bF(),t=EN();return kV=function(n){return t(n)&&"[object Set]"==e(n)}}(),t=YN(),n=WO(),r=n&&n.isSet,i=r?t(r):e;return SV=i}(),_=gF(),w=JO(),x="[object Arguments]",k="[object Function]",C="[object Object]",S={};return S[x]=S["[object Array]"]=S["[object ArrayBuffer]"]=S["[object DataView]"]=S["[object Boolean]"]=S["[object Date]"]=S["[object Float32Array]"]=S["[object Float64Array]"]=S["[object Int8Array]"]=S["[object Int16Array]"]=S["[object Int32Array]"]=S["[object Map]"]=S["[object Number]"]=S[C]=S["[object RegExp]"]=S["[object Set]"]=S["[object String]"]=S["[object Symbol]"]=S["[object Uint8Array]"]=S["[object Uint8ClampedArray]"]=S["[object Uint16Array]"]=S["[object Uint32Array]"]=!0,S["[object Error]"]=S[k]=S["[object WeakMap]"]=!1,AV=function T(A,M,L,E,N,O){var R,D=1&M,P=2&M,I=4&M;if(L&&(R=N?L(A,E,N,O):L(A)),void 0!==R)return R;if(!b(A))return A;var z=g(A);if(z){if(R=f(A),!D)return a(A,R)}else{var B=d(A),j=B==k||"[object GeneratorFunction]"==B;if(m(A))return o(A,D);if(B==C||B==x||j&&!N){if(R=P||j?{}:p(A),!D)return P?l(A,i(R,A)):s(A,r(R,A))}else{if(!S[B])return N?A:{};R=h(A,B,D)}}O||(O=new e);var F=O.get(A);if(F)return F;O.set(A,R),y(A)?A.forEach((function(e){R.add(T(e,M,L,e,A,O))})):v(A)&&A.forEach((function(e,t){R.set(t,T(e,M,L,t,A,O))}));var H=z?void 0:(I?P?u:c:P?w:_)(A);return t(H||A,(function(e,t){H&&(e=A[t=e]),n(R,t,T(e,M,L,t,A,O))})),R},AV}function $V(){return EV||(EV=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}var UV,qV,WV,VV,GV,YV,XV,ZV,KV,JV,QV,eG,tG,nG,rG,iG,oG,aG,sG,lG,cG,uG,dG,fG,hG,pG,gG,mG,vG,bG,yG,_G,wG,xG,kG,CG,SG=function(){if(BV)return zV;BV=1;var e=OR(),t=HV(),n=function(){if(DV)return RV;DV=1;var e=DR(),t=DI(),n=function(){if(OV)return NV;OV=1;var e=IR(),t=$V();return NV=function(n,r){return r.length<2?n:e(n,t(r,0,-1))},NV}(),r=PR(),i=Object.prototype.hasOwnProperty;return RV=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))]},RV}(),r=DR(),i=XO(),o=function(){if(IV)return PV;IV=1;var e=GN();return PV=function(t){return e(t)?void 0:t}}(),a=mj(),s=FV(),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 zV=l}(),TG=Xb(SG),AG=Xb(function(){if(qV)return UV;qV=1;var e=HV();return UV=function(t){return e(t,5)}}());function MG(){if(lG)return sG;lG=1;var e=(VV||(VV=1,WV=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}),WV),t=function(){if(JV)return KV;JV=1;var e=function(){if(ZV)return XV;ZV=1;var e=(YV||(YV=1,GV=function(e){return function(t){return null==e?void 0:e[t]}}),GV),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 XV=t}(),t=RR(),n=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,r=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");return KV=function(i){return(i=t(i))&&i.replace(n,e).replace(r,"")}}(),n=function(){if(aG)return oG;aG=1;var e=function(){if(eG)return QV;eG=1;var e=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;return QV=function(t){return t.match(e)||[]}}(),t=function(){if(nG)return tG;nG=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 tG=function(t){return e.test(t)}}(),n=RR(),r=function(){if(iG)return rG;iG=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,w=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 rG=function(e){return e.match(w)||[]}}();return oG=function(i,o,a){return i=n(i),void 0===(o=a?void 0:o)?t(i)?r(i):e(i):i.match(o)||[]}}(),r=RegExp("['’]","g");return sG=function(i){return function(o){return e(n(t(o).replace(r,"")),i,"")}}}function LG(){if(fG)return dG;fG=1;var e=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");return dG=function(t){return e.test(t)}}function EG(){if(_G)return yG;_G=1;var e=function(){if(uG)return cG;uG=1;var e=$V();return cG=function(t,n,r){var i=t.length;return r=void 0===r?i:r,!n&&r>=i?t:e(t,n,r)},cG}(),t=LG(),n=function(){if(bG)return vG;bG=1;var e=pG?hG:(pG=1,hG=function(e){return e.split("")}),t=LG(),n=function(){if(mG)return gG;mG=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 gG=function(e){return e.match(d)||[]}}();return vG=function(r){return t(r)?n(r):e(r)}}(),r=RR();return yG=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 NG=function(){if(CG)return kG;CG=1;var e=MG(),t=function(){if(xG)return wG;xG=1;var e=EG()("toUpperCase");return wG=e}(),n=e((function(e,n,r){return e+(r?" ":"")+t(n)}));return kG=n}(),OG=Xb(NG);function RG(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 DG(e,t){e instanceof Map?(e=[void 0,e],void 0===t&&(t=IG)):void 0===t&&(t=PG);for(var n,r,i,o,a,s=new jG(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 jG(i[o])),r.parent=n,r.depth=n.depth+1;return s.eachBefore(BG)}function PG(e){return e.children}function IG(e){return Array.isArray(e)?e[1]:null}function zG(e){void 0!==e.data.value&&(e.value=e.data.value),e.data=e.data.data}function BG(e){var t=0;do{e.height=t}while((e=e.parent)&&e.height<++t)}function jG(e){this.data=e,this.depth=this.height=0,this.parent=null}function FG(){return 0}function HG(e){return function(){return e}}function $G(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 UG(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 qG(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}jG.prototype=DG.prototype={constructor:jG,count:function(){return this.eachAfter(RG)},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;for(e=n.pop(),t=r.pop();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 DG(this).eachBefore(zG)},[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 WG=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,w=b.length,x=t.value;y<w;){l=i-n,c=o-r;do{u=b[_++].value}while(!u&&_<w);for(d=f=u,m=u*u*(g=Math.max(c/l,l/c)/(x*e)),p=Math.max(f/m,m/d);_<w;++_){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?UG(a,n,r,i,x?r+=c*u/x:o):qG(a,n,r,x?n+=l*u/x:i,o),x-=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 VG(){return VG=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},VG.apply(null,arguments)}function GG(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 YG=function(e,t){return mM([e,t],(function(e,t){return"translate("+e+","+t+")"}))},XG=function(e,t){return mM([e,t],(function(e,t){return"translate("+e+"px, "+t+"px)"}))},ZG=function(e,t,n){return mM([e,t,n],(function(e,t,n){return"translate("+e+","+t+") rotate("+n+")"}))},KG=function(e,t,n){return mM([e,t,n],(function(e,t,n){return"translate("+e+"px,"+t+"px) rotate("+n+"deg)"}))},JG=function(e,t,n){return mM([e,t,n],(function(e,t,n){return"translate("+(e-(0===n?0:5))+"px,"+(t-(0===n?5:0))+"px) rotate("+n+"deg)"}))},QG=Ya((function(e){var t=e.node,n=e.animatedProps,r=e.borderWidth,i=e.enableLabel,o=e.enableParentLabel,a=e.labelSkipSize,s=tD(),l=i&&t.isLeaf&&(0===a||Math.min(t.width,t.height)>a),c=o&&t.isParent;return qc(_E.g,{transform:YG(n.x,n.y),children:[qc(_E.rect,{"data-testid":"node."+t.id,width:mM(n.width,(function(e){return Math.max(e,0)})),height:mM(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&&qc(EH,{"data-testid":"label."+t.id,textAnchor:"middle",dominantBaseline:"central",style:VG({},s.labels.text,{fill:t.labelTextColor,pointerEvents:"none"}),fillOpacity:n.labelOpacity,transform:ZG(n.labelX,n.labelY,n.labelRotation),children:t.label}),c&&qc(EH,{"data-testid":"parentLabel."+t.id,dominantBaseline:"central",style:VG({},s.labels.text,{fill:t.parentLabelTextColor,pointerEvents:"none"}),fillOpacity:n.parentLabelOpacity,transform:ZG(n.parentLabelX,n.parentLabelY,n.parentLabelRotation),children:t.parentLabel})]})})),eY=Ya((function(e){var t=e.node;return qc(lD,{id:t.id,value:t.formattedValue,enableChip:!0,color:t.color})})),tY=Ya((function(e){var t=e.node,n=e.animatedProps,r=e.borderWidth,i=e.enableLabel,o=e.enableParentLabel,a=e.labelSkipSize,s=tD(),l=i&&t.isLeaf&&(0===a||Math.min(t.width,t.height)>a),c=o&&t.isParent;return qc(_E.div,{"data-testid":"node."+t.id,id:t.path.replace(/[^\w]/gi,"-"),style:{boxSizing:"border-box",position:"absolute",top:0,left:0,transform:XG(n.x,n.y),width:n.width,height:n.height,borderWidth:r,borderStyle:"solid",borderColor:t.borderColor,overflow:"hidden"},children:[qc(_E.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&&qc(_E.span,{"data-testid":"label."+t.id,style:VG({},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:KG(n.labelX,n.labelY,n.labelRotation),opacity:n.labelOpacity,pointerEvents:"none"}),children:t.label}),c&&qc(_E.span,{"data-testid":"parentLabel."+t.id,style:VG({},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:JG(n.parentLabelX,n.parentLabelY,n.parentLabelRotation),opacity:n.parentLabelOpacity,pointerEvents:"none"}),children:t.parentLabel})]})})),nY={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:eY,role:"img",animate:!0,motionConfig:"gentle"},rY=VG({},nY,{nodeComponent:QG,defs:[],fill:[]}),iY=VG({},nY,{nodeComponent:tY}),oY=VG({},nY,{pixelRatio:"undefined"!=typeof window&&window.devicePixelRatio||1}),aY={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)}for(var d=c[t],f=r/2+d,h=t+1,p=n-1;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:UG,slice:qG,sliceDice:function(e,t,n,r,i){(1&e.depth?qG:UG)(e,t,n,r,i)},squarify:WG},sY=function(e){var t=e.data,n=e.width,r=e.height,i=e.identity,o=void 0===i?nY.identity:i,a=e.value,s=void 0===a?nY.value:a,l=e.valueFormat,c=e.leavesOnly,u=void 0===c?nY.leavesOnly:c,d=e.tile,f=void 0===d?nY.tile:d,h=e.innerPadding,p=void 0===h?nY.innerPadding:h,g=e.outerPadding,m=void 0===g?nY.outerPadding:g,v=e.label,b=void 0===v?nY.label:v,y=e.orientLabel,_=void 0===y?nY.orientLabel:y,w=e.enableParentLabel,x=void 0===w?nY.enableParentLabel:w,k=e.parentLabel,C=void 0===k?nY.parentLabel:k,S=e.parentLabelSize,T=void 0===S?nY.parentLabelSize:S,A=e.parentLabelPosition,M=void 0===A?nY.parentLabelPosition:A,L=e.parentLabelPadding,E=void 0===L?nY.parentLabelPadding:L,N=e.colors,O=void 0===N?nY.colors:N,R=e.colorBy,D=void 0===R?nY.colorBy:R,P=e.nodeOpacity,I=void 0===P?nY.nodeOpacity:P,z=e.borderColor,B=void 0===z?nY.borderColor:z,j=e.labelTextColor,F=void 0===j?nY.labelTextColor:j,H=e.parentLabelTextColor,$=void 0===H?nY.parentLabelTextColor:H,U=lH(o),q=lH(s),W=aH(l),V=lH(b),G=lH(C),Y=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 ha((function(){var e=function(){var e=WG,t=!1,n=1,r=1,i=[0],o=FG,a=FG,s=FG,l=FG,c=FG;function u(e){return e.x0=e.y0=0,e.x1=n,e.y1=r,e.eachBefore(d),i=[0],t&&e.eachBefore($G),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:HG(+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:HG(+e),u):a},u.paddingRight=function(e){return arguments.length?(s="function"==typeof e?e:HG(+e),u):s},u.paddingBottom=function(e){return arguments.length?(l="function"==typeof e?e:HG(+e),u):l},u.paddingLeft=function(e){return arguments.length?(c="function"==typeof e?e:HG(+e),u):c},u}().size([t,n]).tile(aY[r]).round(!0).paddingInner(i).paddingOuter(o);if(a&&!c){var u=s+2*o;e["padding"+OG(l)](u)}return e}),[t,n,r,i,o,a,s,l,c])}({width:n,height:r,tile:f,innerPadding:p,outerPadding:m,enableParentLabel:x,parentLabelSize:T,parentLabelPosition:M,leavesOnly:u}),X=function(e){var t=e.root,n=e.getValue;return ha((function(){return DG(t).sum(n)}),[t,n])}({root:t,getValue:q}),Z=ha((function(){var e=AG(X);return Y(e),u?e.leaves():e.descendants()}),[X,Y,u]),K=ha((function(){return Z.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,U),n=t.path,r=t.pathComponents,i={id:U(e.data),path:n,pathComponents:r,data:TG(e.data,"children"),x:e.x0,y:e.y0,width:e.x1-e.x0,height:e.y1-e.y0,value:e.value,formattedValue:W(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"===M&&(i.parentLabelX=m+E,i.parentLabelY=m+T/2),"right"===M&&(i.parentLabelX=i.width-m-T/2,i.parentLabelY=i.height-m-E,i.parentLabelRotation=-90),"bottom"===M&&(i.parentLabelX=m+E,i.parentLabelY=i.height-m-T/2),"left"===M&&(i.parentLabelX=m+T/2,i.parentLabelY=i.height-m-E,i.parentLabelRotation=-90),i.label=V(i),i.parentLabel=G(i),i}))}),[Z,U,W,V,_,G,T,M,E,m]),J=tD(),Q=lq(O,D),ee=oq(B,J),te=oq(F,J),ne=oq($,J),re=ha((function(){return K.map((function(e){var t=VG({},e,{color:Q(e),opacity:I});return t.borderColor=ee(t),t.labelTextColor=te(t),t.parentLabelTextColor=ne(t),t}))}),[K,Q,I,ee,te,ne]);return{hierarchy:X,nodes:re,layout:Y}},lY=function(e){var t=e.nodes;return ha((function(){return{nodes:t}}),[t])},cY=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}},uY=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}},dY=Ya((function(e){var t=e.nodes,n=e.nodeComponent,r=e.borderWidth,i=e.enableLabel,o=e.labelSkipSize,a=e.enableParentLabel,s=function(e,t){var n=t.isInteractive,r=t.onMouseEnter,i=t.onMouseMove,o=t.onMouseLeave,a=t.onClick,s=t.tooltip,l=bD(),c=l.showTooltipFromEvent,u=l.hideTooltip,d=pa((function(e,t){c(wo(s,{node:e}),t,"left")}),[c,s]),f=pa((function(e,t){d(e,t),null==r||r(e,t)}),[r,d]),h=pa((function(e,t){d(e,t),null==i||i(e,t)}),[i,d]),p=pa((function(e,t){u(),null==o||o(e,t)}),[o,u]),g=pa((function(e,t){null==a||a(e,t)}),[a]);return ha((function(){return e.map((function(e){return n?VG({},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}),l=CF(),c=l.animate,u=l.config,d=uM(s,{keys:function(e){return e.path},initial:cY,from:uY,enter:cY,update:cY,leave:uY,config:u,immediate:!c});return qc(ko,{children:d((function(e,t){return wo(n,{key:t.path,node:t,animatedProps:e,borderWidth:r,enableLabel:i,labelSkipSize:o,enableParentLabel:a})}))})})),fY=["isInteractive","animate","motionConfig","theme","renderWrapper"],hY=function(e){var t=e.data,n=e.identity,r=void 0===n?rY.identity:n,i=e.value,o=void 0===i?rY.value:i,a=e.valueFormat,s=e.tile,l=void 0===s?rY.tile:s,c=e.nodeComponent,u=void 0===c?rY.nodeComponent:c,d=e.innerPadding,f=void 0===d?rY.innerPadding:d,h=e.outerPadding,p=void 0===h?rY.outerPadding:h,g=e.leavesOnly,m=void 0===g?rY.leavesOnly:g,v=e.width,b=e.height,y=e.margin,_=e.layers,w=void 0===_?rY.layers:_,x=e.colors,k=void 0===x?rY.colors:x,C=e.colorBy,S=void 0===C?rY.colorBy:C,T=e.nodeOpacity,A=void 0===T?rY.nodeOpacity:T,M=e.borderWidth,L=void 0===M?rY.borderWidth:M,E=e.borderColor,N=void 0===E?rY.borderColor:E,O=e.defs,R=void 0===O?rY.defs:O,D=e.fill,P=void 0===D?rY.fill:D,I=e.enableLabel,z=void 0===I?rY.enableLabel:I,B=e.label,j=void 0===B?rY.label:B,F=e.labelTextColor,H=void 0===F?rY.labelTextColor:F,$=e.orientLabel,U=void 0===$?rY.orientLabel:$,q=e.labelSkipSize,W=void 0===q?rY.labelSkipSize:q,V=e.enableParentLabel,G=void 0===V?rY.enableParentLabel:V,Y=e.parentLabel,X=void 0===Y?rY.parentLabel:Y,Z=e.parentLabelSize,K=void 0===Z?rY.parentLabelSize:Z,J=e.parentLabelPosition,Q=void 0===J?rY.parentLabelPosition:J,ee=e.parentLabelPadding,te=void 0===ee?rY.parentLabelPadding:ee,ne=e.parentLabelTextColor,re=void 0===ne?rY.parentLabelTextColor:ne,ie=e.isInteractive,oe=void 0===ie?rY.isInteractive:ie,ae=e.onMouseEnter,se=e.onMouseMove,le=e.onMouseLeave,ce=e.onClick,ue=e.tooltip,de=void 0===ue?rY.tooltip:ue,fe=e.role,he=e.ariaLabel,pe=e.ariaLabelledBy,ge=e.ariaDescribedBy,me=e.forwardedRef,ve=rH(v,b,y),be=ve.margin,ye=ve.innerWidth,_e=ve.innerHeight,we=ve.outerWidth,xe=ve.outerHeight,ke=sY({data:t,identity:r,value:o,valueFormat:a,leavesOnly:m,width:ye,height:_e,tile:l,innerPadding:f,outerPadding:p,colors:k,colorBy:S,nodeOpacity:A,borderColor:N,label:j,labelTextColor:H,orientLabel:U,enableParentLabel:G,parentLabel:X,parentLabelSize:K,parentLabelPosition:Q,parentLabelPadding:te,parentLabelTextColor:re}).nodes,Ce={nodes:null};w.includes("nodes")&&(Ce.nodes=qc(dY,{nodes:ke,nodeComponent:u,borderWidth:L,enableLabel:z,labelSkipSize:W,enableParentLabel:G,isInteractive:oe,onMouseEnter:ae,onMouseMove:se,onMouseLeave:le,onClick:ce,tooltip:de},"nodes"));var Se=lY({nodes:ke}),Te=pH(R,ke,P);return qc(GF,{width:we,height:xe,margin:be,defs:Te,role:fe,ariaLabel:he,ariaLabelledBy:pe,ariaDescribedBy:ge,ref:me,children:w.map((function(e,t){var n;return"function"==typeof e?qc(ko,{children:wo(e,Se)},t):null!=(n=null==Ce?void 0:Ce[e])?n:null}))})},pY=Ka((function(e,t){var n=e.isInteractive,r=void 0===n?rY.isInteractive:n,i=e.animate,o=void 0===i?rY.animate:i,a=e.motionConfig,s=void 0===a?rY.motionConfig:a,l=e.theme,c=e.renderWrapper,u=GG(e,fY);return qc(AF,{animate:o,isInteractive:r,motionConfig:s,renderWrapper:c,theme:l,children:qc(hY,VG({},u,{isInteractive:r,forwardedRef:t}))})})),gY=["defaultWidth","defaultHeight","onResize","debounceResize"],mY=Ka((function(e,t){var n=e.defaultWidth,r=e.defaultHeight,i=e.onResize,o=e.debounceResize,a=GG(e,gY);return qc(EF,{defaultWidth:n,defaultHeight:r,onResize:i,debounceResize:o,children:function(e){var n=e.width,r=e.height;return qc(pY,VG({},a,{width:n,height:r,ref:t}))}})})),vY=["isInteractive","animate","motionConfig","theme","renderWrapper"],bY=function(e){var t=e.data,n=e.identity,r=void 0===n?iY.identity:n,i=e.value,o=void 0===i?iY.value:i,a=e.tile,s=void 0===a?iY.tile:a,l=e.nodeComponent,c=void 0===l?iY.nodeComponent:l,u=e.valueFormat,d=e.innerPadding,f=void 0===d?iY.innerPadding:d,h=e.outerPadding,p=void 0===h?iY.outerPadding:h,g=e.leavesOnly,m=void 0===g?iY.leavesOnly:g,v=e.width,b=e.height,y=e.margin,_=e.layers,w=void 0===_?rY.layers:_,x=e.colors,k=void 0===x?iY.colors:x,C=e.colorBy,S=void 0===C?iY.colorBy:C,T=e.nodeOpacity,A=void 0===T?iY.nodeOpacity:T,M=e.borderWidth,L=void 0===M?iY.borderWidth:M,E=e.borderColor,N=void 0===E?iY.borderColor:E,O=e.enableLabel,R=void 0===O?iY.enableLabel:O,D=e.label,P=void 0===D?iY.label:D,I=e.labelTextColor,z=void 0===I?iY.labelTextColor:I,B=e.orientLabel,j=void 0===B?iY.orientLabel:B,F=e.labelSkipSize,H=void 0===F?iY.labelSkipSize:F,$=e.enableParentLabel,U=void 0===$?iY.enableParentLabel:$,q=e.parentLabel,W=void 0===q?iY.parentLabel:q,V=e.parentLabelSize,G=void 0===V?iY.parentLabelSize:V,Y=e.parentLabelPosition,X=void 0===Y?iY.parentLabelPosition:Y,Z=e.parentLabelPadding,K=void 0===Z?iY.parentLabelPadding:Z,J=e.parentLabelTextColor,Q=void 0===J?iY.parentLabelTextColor:J,ee=e.isInteractive,te=void 0===ee?iY.isInteractive:ee,ne=e.onMouseEnter,re=e.onMouseMove,ie=e.onMouseLeave,oe=e.onClick,ae=e.tooltip,se=void 0===ae?iY.tooltip:ae,le=e.role,ce=e.ariaLabel,ue=e.ariaLabelledBy,de=e.ariaDescribedBy,fe=e.forwardedRef,he=rH(v,b,y),pe=he.margin,ge=he.innerWidth,me=he.innerHeight,ve=he.outerWidth,be=he.outerHeight,ye=sY({data:t,identity:r,value:o,valueFormat:u,leavesOnly:m,width:ge,height:me,tile:s,innerPadding:f,outerPadding:p,colors:k,colorBy:S,nodeOpacity:A,borderColor:N,label:P,labelTextColor:z,orientLabel:j,enableParentLabel:U,parentLabel:W,parentLabelSize:G,parentLabelPosition:X,parentLabelPadding:K,parentLabelTextColor:Q}).nodes,_e={nodes:null};w.includes("nodes")&&(_e.nodes=qc(dY,{nodes:ye,nodeComponent:c,borderWidth:L,enableLabel:R,labelSkipSize:H,enableParentLabel:U,isInteractive:te,onMouseEnter:ne,onMouseMove:re,onMouseLeave:ie,onClick:oe,tooltip:se},"nodes"));var we=lY({nodes:ye});return qc("div",{role:le,"aria-label":ce,"aria-labelledby":ue,"aria-describedby":de,style:{position:"relative",width:ve,height:be},ref:fe,children:qc("div",{style:{position:"absolute",top:pe.top,left:pe.left},children:w.map((function(e,t){var n;return"function"==typeof e?qc(ko,{children:wo(e,we)},t):null!=(n=null==_e?void 0:_e[e])?n:null}))})})},yY=Ka((function(e,t){var n=e.isInteractive,r=void 0===n?iY.isInteractive:n,i=e.animate,o=void 0===i?iY.animate:i,a=e.motionConfig,s=void 0===a?iY.motionConfig:a,l=e.theme,c=e.renderWrapper,u=GG(e,vY);return qc(AF,{animate:o,isInteractive:r,motionConfig:s,renderWrapper:c,theme:l,children:qc(bY,VG({},u,{isInteractive:r,forwardedRef:t}))})})),_Y=["defaultWidth","defaultHeight","onResize","debounceResize"];Ka((function(e,t){var n=e.defaultWidth,r=e.defaultHeight,i=e.onResize,o=e.debounceResize,a=GG(e,_Y);return qc(EF,{defaultWidth:n,defaultHeight:r,onResize:i,debounceResize:o,children:function(e){var n=e.width,r=e.height;return qc(yY,VG({},a,{width:n,height:r,ref:t}))}})}));var wY=["theme","isInteractive","animate","motionConfig","renderWrapper"],xY=function(e,t,n,r){return e.find((function(e){return uH(e.x+t.left,e.y+t.top,e.width,e.height,n,r)}))},kY=function(e){var t=e.data,n=e.identity,r=void 0===n?oY.identity:n,i=e.value,o=void 0===i?oY.identity:i,a=e.tile,s=void 0===a?oY.tile:a,l=e.valueFormat,c=e.innerPadding,u=void 0===c?oY.innerPadding:c,d=e.outerPadding,f=void 0===d?oY.outerPadding:d,h=e.leavesOnly,p=void 0===h?oY.leavesOnly:h,g=e.width,m=e.height,v=e.margin,b=e.colors,y=void 0===b?oY.colors:b,_=e.colorBy,w=void 0===_?oY.colorBy:_,x=e.nodeOpacity,k=void 0===x?oY.nodeOpacity:x,C=e.borderWidth,S=void 0===C?oY.borderWidth:C,T=e.borderColor,A=void 0===T?oY.borderColor:T,M=e.enableLabel,L=void 0===M?oY.enableLabel:M,E=e.label,N=void 0===E?oY.label:E,O=e.labelTextColor,R=void 0===O?oY.labelTextColor:O,D=e.orientLabel,P=void 0===D?oY.orientLabel:D,I=e.labelSkipSize,z=void 0===I?oY.labelSkipSize:I,B=e.isInteractive,j=void 0===B?oY.isInteractive:B,F=e.onMouseMove,H=e.onClick,$=e.tooltip,U=void 0===$?oY.tooltip:$,q=e.pixelRatio,W=void 0===q?oY.pixelRatio:q,V=e.role,G=e.ariaLabel,Y=e.ariaLabelledBy,X=e.ariaDescribedBy,Z=e.forwardedRef,K=fa(null),J=rH(g,m,v),Q=J.margin,ee=J.innerWidth,te=J.innerHeight,ne=J.outerWidth,re=J.outerHeight,ie=sY({data:t,identity:r,value:o,valueFormat:l,leavesOnly:p,width:ee,height:te,tile:s,innerPadding:u,outerPadding:f,colors:y,colorBy:w,nodeOpacity:k,borderColor:A,label:N,labelTextColor:R,orientLabel:P,enableParentLabel:!1}).nodes,oe=tD();ua((function(){if(null!==K.current){var e=K.current.getContext("2d");null!==e&&(K.current.width=ne*W,K.current.height=re*W,e.scale(W,W),e.fillStyle=oe.background,e.fillRect(0,0,ne,re),e.translate(Q.left,Q.top),ie.forEach((function(t){e.fillStyle=t.color,e.fillRect(t.x,t.y,t.width,t.height),S>0&&(e.strokeStyle=t.borderColor,e.lineWidth=S,e.strokeRect(t.x,t.y,t.width,t.height))})),L&&(e.textAlign="center",e.textBaseline="middle",mH(e,oe.labels.text),ie.forEach((function(t){if(t.isLeaf&&(0===z||Math.min(t.width,t.height)>z)){var n=P&&t.height>t.width;e.save(),e.translate(t.x+t.width/2,t.y+t.height/2),e.rotate(zF(n?-90:0)),vH(e,VG({},oe.labels.text,{fill:t.labelTextColor}),String(t.label)),e.restore()}}))))}}),[K,ie,ne,re,ee,te,Q,S,L,P,z,oe,W]);var ae=bD(),se=ae.showTooltipFromEvent,le=ae.hideTooltip,ce=pa((function(e){if(null!==K.current){var t=dH(K.current,e),n=t[0],r=t[1],i=xY(ie,Q,n,r);void 0!==i?(se(wo(U,{node:i}),e,"left"),null==F||F(i,e)):le()}}),[K,ie,Q,se,le,U,F]),ue=pa((function(){le()}),[le]),de=pa((function(e){if(null!==K.current){var t=dH(K.current,e),n=t[0],r=t[1],i=xY(ie,Q,n,r);void 0!==i&&(null==H||H(i,e))}}),[K,ie,Q,H]);return qc("canvas",{ref:gH(K,Z),width:ne*W,height:re*W,style:{width:ne,height:re},onMouseEnter:j?ce:void 0,onMouseMove:j?ce:void 0,onMouseLeave:j?ue:void 0,onClick:j?de:void 0,role:V,"aria-label":G,"aria-labelledby":Y,"aria-describedby":X})},CY=Ka((function(e,t){var n=e.theme,r=e.isInteractive,i=void 0===r?oY.isInteractive:r,o=e.animate,a=void 0===o?oY.animate:o,s=e.motionConfig,l=void 0===s?oY.motionConfig:s,c=e.renderWrapper,u=GG(e,wY);return qc(AF,{isInteractive:i,animate:a,motionConfig:l,theme:n,renderWrapper:c,children:qc(kY,VG({},u,{isInteractive:i,forwardedRef:t}))})})),SY=["defaultWidth","defaultHeight","onResize","debounceResize"];Ka((function(e,t){var n=e.defaultWidth,r=e.defaultHeight,i=e.onResize,o=e.debounceResize,a=GG(e,SY);return qc(EF,{defaultWidth:n,defaultHeight:r,onResize:i,debounceResize:o,children:function(e){var n=e.width,r=e.height;return qc(CY,VG({},a,{width:n,height:r,ref:t}))}})}));const TY={mass:1,tension:500,friction:40,clamp:!1,precision:.01,velocity:0},AY=window.matchMedia("(prefers-reduced-motion: reduce)").matches,MY="var(--on-text-secondary)",LY="var(--on-text-primary)",EY={background:"var(--bg-base-primary)",axis:{ticks:{text:{fill:MY,fontSize:12}}},grid:{line:{stroke:"var(--on-border-muted)",strokeDasharray:"4",strokeLinecap:"round"}},dots:{text:{fill:MY,fontSize:12}},labels:{text:{fill:LY,fontSize:12}},text:{fill:LY,fontSize:12},markers:{lineColor:"var(--on-border-primary)",lineStrokeWidth:2,text:{fill:LY,fontSize:12,fontWeight:600}},legends:{text:{fill:LY,fontSize:12}},tooltip:{container:{background:"var(--bg-base-modal)",color:"var(--on-text-primary)"}}},NY={nodeOpacity:1,borderWidth:1,labelSkipSize:12,parentLabelSize:14,parentLabelPosition:"top",parentLabelPadding:6,enableParentLabel:!0,animate:!0,innerPadding:4,outerPadding:4};var OY=/^--/;function RY(e,t){return null==t||"boolean"==typeof t||""===t?"":"number"!=typeof t||0===t||OY.test(e)||PY.hasOwnProperty(e)&&PY[e]?(""+t).trim():t+"px"}var DY={},PY={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},IY=["Webkit","Ms","Moz","O"];PY=Object.keys(PY).reduce(((e,t)=>(IY.forEach((n=>e[((e,t)=>e+t.charAt(0).toUpperCase()+t.substring(1))(n,t)]=e[t])),e)),PY);var zY=/^(matrix|translate|scale|rotate|skew)/,BY=/^(translate)/,jY=/^(rotate|skew)/,FY=(e,t)=>wS.num(e)&&0!==e?e+t:e,HY=(e,t)=>wS.arr(e)?e.every((e=>HY(e,t))):wS.num(e)?e===t:parseFloat(e)===t,$Y=class extends XT{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=>FY(e,"px"))).join(",")})`,HY(e,0)]))),CS(r,((e,t)=>{if("transform"===t)i.push([e||""]),o.push((e=>[e,""===e]));else if(zY.test(t)){if(delete r[t],wS.und(e))return;const n=BY.test(t)?"px":jY.test(t)?"deg":"";i.push(SS(e)),o.push("rotate3d"===t?([e,t,r,i])=>[`rotate3d(${e},${t},${r},${FY(i,n)})`,HY(i,0)]:e=>[`${t}(${e.map((e=>FY(e,n))).join(",")})`,HY(e,t.startsWith("scale")?1:0)])}})),i.length&&(r.transform=new UY(i,o)),super(r)}},UY=class extends mT{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 kS(this.inputs,((n,r)=>{const i=hT(n[0]),[o,a]=this.transforms[r](wS.arr(i)?i:n.map(hT));e+=" "+o,t=t&&a})),t?"none":e}observerAdded(e){1==e&&kS(this.inputs,(e=>kS(e,(e=>fT(e)&&bT(e,this)))))}observerRemoved(e){0==e&&kS(this.inputs,(e=>kS(e,(e=>fT(e)&&yT(e,this)))))}eventObserved(e){"change"==e.type&&(this._value=null),gT(this,e)}};yS.assign({batchedUpdates:Ss,createStringInterpolator:ET,colors:qS});var qY=nA(["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:DY[t]||(DY[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=RY(t,i[t]);OY.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 $Y(e),getComponentProps:({scrollTop:e,scrollLeft:t,...n})=>n}),WY=qY.animated;const VY=({node:e,animatedProps:t,borderWidth:n,enableLabel:r,enableParentLabel:i,labelSkipSize:o})=>{const a=tD(),s=r&&e.isLeaf&&(0===o||Math.min(e.width,e.height)>o),l=i&&e.isParent;return qc(WY.g,{transform:mM([t.x,t.y],((e,t)=>`translate(${e},${t})`)),children:[qc(WY.rect,{"data-testid":`node.${e.id}`,width:mM(t.width,(e=>Math.max(e,0))),height:mM(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&&qc(EH,{"data-testid":`label.${e.id}`,textAnchor:"middle",dominantBaseline:"central",style:{...a.labels.text,fill:e.labelTextColor,pointerEvents:"none"},fillOpacity:t.labelOpacity,transform:mM([t.labelX,t.labelY,t.labelRotation],((e,t,n)=>`translate(${e},${t}) rotate(${n})`)),children:e.label}),l&&qc(EH,{"data-testid":`parentLabel.${e.id}`,dominantBaseline:"central",style:{...a.labels.text,fill:e.parentLabelTextColor,pointerEvents:"none"},fillOpacity:t.parentLabelOpacity,transform:mM([t.parentLabelX,t.parentLabelY,t.parentLabelRotation],((e,t,n)=>`translate(${e},${t}) rotate(${n})`)),children:e.parentLabel})]})};var GY={treeMapLegend:"styles_treeMapLegend__dV-Ny",treeMapLegend__gradient:"styles_treeMapLegend__gradient__v853j"};const YY=({minValue:e,maxValue:t,colorFn:n,formatValue:r=e=>e.toFixed(2),domain:i})=>{const o=ha((()=>i&&i.length>0?Math.min(...i):e??0),[i,e]),a=ha((()=>i&&i.length>0?Math.max(...i):t??1),[i,t]),s=ha((()=>{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=ha((()=>r(o)),[o,r]),c=ha((()=>r(a)),[a,r]);return qc("div",{className:GY.treeMapLegend,children:[qc(Yc,{size:"s",type:"ui",className:GY.treeMapLegend__label,children:c}),qc("div",{className:GY.treeMapLegend__gradient,style:{"--gradient-stops":s}}),qc(Yc,{size:"s",type:"ui",className:GY.treeMapLegend__label,children:l})]})};const XY=e=>{const{color:t,border:n}=e;return qc("div",{className:"styles_legendIndicatorContainer__sdAMj",children:qc("div",{className:"styles_legendIndicatorContainerBase__OuGDD","data-has-color":!!t||void 0,children:qc("i",{"aria-hidden":!0,className:"styles_legendIndicator__e9eaz",style:{backgroundColor:t,borderColor:n??void 0}})})})};const ZY=e=>{const{children:t,labelColor:n,label:r}=e;return qc("div",{"data-testid":"chart-tooltip",className:"styles_tooltip__ErmeC","data-tooltip-type":"chart",children:qc("div",{className:"styles_container__mEUzr",children:[!!r&&qc(Yc,{className:"styles_label__oqfkW",type:"ui",size:"s",bold:!0,tag:"div",children:[n&&qc(XY,{color:n}),qc(Yc,{tag:"div",bold:!0,children:r})]}),t]})})};const KY=e=>"number"==typeof e&&!Number.isNaN(e)||"string"==typeof e&&!!e,JY=(e,t="en-US")=>KY(e)?"number"==typeof e?new Intl.NumberFormat(t,{useGrouping:!0}).format(e):String(e):"",QY=({color:e})=>qc("div",{className:"styles_point__eFnBu",children:qc("svg",{width:"16",height:"8",viewBox:"0 0 16 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[qc("path",{d:"M0 4H16",stroke:e,"stroke-width":"2"}),qc("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"})]})}),eX=e=>{const{onClick:t,legend:n,mode:r="default",hideOnEmptyValue:i=!0}=e,{color:o,border:a,label:s,link:l,value:c}=n,u=l?"a":"div",d=n.type??"default";return i&&void 0===c?null:qc(u,{href:l,className:Ls("styles_legendItem__NCAPr",l&&"styles_legendItemLink__Yo6du"),onClick:"function"==typeof t?()=>{t(n)}:void 0,children:[qc("div",{className:"styles_legendName__WZbe8",children:["default"===d&&qc(XY,{color:o,border:a}),"point"===d&&qc(QY,{color:o}),qc(Yc,{type:"ui",size:"s",className:"styles_legendLabel__-HDGz",children:s})]}),KY(c)&&qc(ko,{children:[qc("div",{className:Ls("menu"===r?"styles_menuSpace__7N7yT":"styles_space__pQ9pa")}),qc(Yc,{type:"ui",size:"s",className:"styles_legendValue__vV5dD",children:c})]})]})},tX=({node:e,rows:t})=>{const{id:n,formattedValue:r,color:i,parentLabel:o}=e;return qc(ZY,{label:`${o||n}: ${r}`,labelColor:i,children:t&&t.map(((e,t)=>qc(eX,{mode:"default",legend:{label:e,type:"none",id:t.toString(),color:i},hideOnEmptyValue:!1},t.toString())))})};const nX=({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:d,parentSkipSize:f,tooltipRows:h,labelColor:p,...g})=>{const m=ha((()=>0===(o.children??[]).length),[o]),v=pa((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:f})(e)),[f]),b=pa((({node:e})=>qc(tX,{node:e,rows:h&&h(e)})),[h]);return m?qc(UW,{label:r,width:e,height:t,ariaLabel:i}):qc("div",{role:"img","aria-label":n,tabIndex:0,style:{width:e,height:t},className:"styles_treeMapChart__G6ayQ",children:[qc(mY,{data:o,parentLabel:v,tooltip:b,...NY,...g,theme:EY,motionConfig:TY,animate:!AY,colors:e=>u(e.data.colorValue??0),labelTextColor:p,parentLabelTextColor:p,borderColor:"var(--bg-base-primary)",borderWidth:1,nodeComponent:VY}),a&&qc(YY,{minValue:s,maxValue:l,colorFn:u,formatValue:c,domain:d})]})},rX=Go("light"),iX=()=>ga(rX)??"light",oX=e=>{const{children:t,theme:n}=e;return qc(rX.Provider,{value:n,children:t})},aX=({title:e,translations:t,chartType:n,...r})=>{const i=t["no-results"],o=iX(),a=((e="light")=>{const t=ha((()=>VW([0,1],["var(--bg-support-capella)","var(--bg-support-sirius)","var(--bg-support-castor)"])),[e]);return pa((e=>t(e)),[t])})(o),s=((e="light")=>{const t=ha((()=>VW([0,1],["var(--bg-support-capella)","var(--bg-support-castor)"])),[e]);return pa((e=>t(e)),[t])})(o),l=((e="light")=>{const t=ha((()=>VW([0,1],["var(--constant-on-text-primary)","var(--on-text-primary)","var(--constant-on-text-primary)"])),[e]);return pa((e=>t(e)),[t])})(o);return qc(Fx,{title:e,children:qc(nX,{emptyLabel:i,emptyAriaLabel:i,...r,colors:n===Of.CoverageDiff?a:s,showLegend:!1,labelColor:n===Of.CoverageDiff?e=>l(e.data.colorValue??0):()=>"var(--constant-on-text-primary)"})})};var sX,lX,cX,uX,dX,fX,hX=function(){if(uX)return cX;uX=1;var e=fF(),t=function(){if(lX)return sX;lX=1;var e=S$();return sX=function(t,n){var r=[];return e(t,(function(e,t,i){n(e,t,i)&&r.push(e)})),r},sX}(),n=i$(),r=ON();return cX=function(i,o){return(r(i)?e:t)(i,n(o,3))}}(),pX=Xb(hX),gX=Xb(function(){if(fX)return dX;fX=1;var e=AE(),t=EN();return dX=function(n){return"number"==typeof n||t(n)&&"[object Number]"==e(n)}}());function mX(){return mX=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},mX.apply(null,arguments)}var vX=function(e){return"circle"===e.type},bX=function(e){return"dot"===e.type},yX=function(e){return"rect"===e.type},_X=function(e){var t,n,r=e.x,i=e.y,o=e.noteX,a=e.noteY,s=e.noteWidth,l=void 0===s?120:s,c=e.noteTextOffset,u=void 0===c?8:c;if(gX(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(gX(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}(BF(i))}(r,i,t,n);if(vX(e)){var p=jF(zF(h),e.size/2);d+=p.x,f+=p.y}if(yX(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}},wX=function(e){var t=e.data,n=e.annotations,r=e.getPosition,i=e.getDimensions;return ha((function(){return function(e){var t=e.data,n=e.annotations,r=e.getPosition,i=e.getDimensions;return n.reduce((function(e,n){var o=n.offset||0;return[].concat(e,pX(t,n.match).map((function(e){var t=r(e),a=i(e);return(vX(n)||yX(n))&&(a.size=a.size+2*o,a.width=a.width+2*o,a.height=a.height+2*o),mX({},TG(n,["match","offset"]),t,a,{size:n.size||a.size,datum:e})})))}),[])}({data:t,annotations:n,getPosition:r,getDimensions:i})}),[t,n,r,i])},xX=function(e){var t=e.annotations;return ha((function(){return t.map((function(e){return mX({},e,{computed:_X(mX({},e))})}))}),[t])},kX=function(e){var t=e.datum,n=e.x,r=e.y,i=e.note,o=tD(),a=CF(),s=a.animate,l=cM({x:n,y:r,config:a.config,immediate:!s});return"function"==typeof i?wo(i,{x:n,y:r,datum:t}):qc(ko,{children:[o.annotations.text.outlineWidth>0&&qc(_E.text,{x:l.x,y:l.y,style:mX({},o.annotations.text,{strokeLinejoin:"round",strokeWidth:2*o.annotations.text.outlineWidth,stroke:o.annotations.text.outlineColor}),children:i}),qc(_E.text,{x:l.x,y:l.y,style:TG(o.annotations.text,["outlineWidth","outlineColor"]),children:i})]})},CX=function(e){var t=e.points,n=e.isOutline,r=void 0!==n&&n,i=tD(),o=ha((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=JF(o);if(r&&i.annotations.link.outlineWidth<=0)return null;var s=mX({},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),qc(_E.path,{fill:"none",d:a,style:s})},SX=function(e){var t=e.x,n=e.y,r=e.size,i=tD(),o=CF(),a=o.animate,s=cM({x:t,y:n,radius:r/2,config:o.config,immediate:!a});return qc(ko,{children:[i.annotations.outline.outlineWidth>0&&qc(_E.circle,{cx:s.x,cy:s.y,r:s.radius,style:mX({},i.annotations.outline,{fill:"none",strokeWidth:i.annotations.outline.strokeWidth+2*i.annotations.outline.outlineWidth,stroke:i.annotations.outline.outlineColor,opacity:i.annotations.outline.outlineOpacity})}),qc(_E.circle,{cx:s.x,cy:s.y,r:s.radius,style:i.annotations.outline})]})},TX=function(e){var t=e.x,n=e.y,r=e.size,i=void 0===r?4:r,o=tD(),a=CF(),s=a.animate,l=cM({x:t,y:n,radius:i/2,config:a.config,immediate:!s});return qc(ko,{children:[o.annotations.outline.outlineWidth>0&&qc(_E.circle,{cx:l.x,cy:l.y,r:l.radius,style:mX({},o.annotations.outline,{fill:"none",strokeWidth:2*o.annotations.outline.outlineWidth,stroke:o.annotations.outline.outlineColor,opacity:o.annotations.outline.outlineOpacity})}),qc(_E.circle,{cx:l.x,cy:l.y,r:l.radius,style:o.annotations.symbol})]})},AX=function(e){var t=e.x,n=e.y,r=e.width,i=e.height,o=e.borderRadius,a=void 0===o?6:o,s=tD(),l=CF(),c=l.animate,u=cM({x:t-r/2,y:n-i/2,width:r,height:i,config:l.config,immediate:!c});return qc(ko,{children:[s.annotations.outline.outlineWidth>0&&qc(_E.rect,{x:u.x,y:u.y,rx:a,ry:a,width:u.width,height:u.height,style:mX({},s.annotations.outline,{fill:"none",strokeWidth:s.annotations.outline.strokeWidth+2*s.annotations.outline.outlineWidth,stroke:s.annotations.outline.outlineColor,opacity:s.annotations.outline.outlineOpacity})}),qc(_E.rect,{x:u.x,y:u.y,rx:a,ry:a,width:u.width,height:u.height,style:s.annotations.outline})]})},MX=function(e){var t=e.datum,n=e.x,r=e.y,i=e.note,o=function(e){return ha((function(){return _X(e)}),[e])}(e);if(!function(e){var t=typeof e;return ks(e)||"string"===t||"function"===t||"object"===t}(i))throw new Error("note should be a valid react element");return qc(ko,{children:[qc(CX,{points:o.points,isOutline:!0}),vX(e)&&qc(SX,{x:n,y:r,size:e.size}),bX(e)&&qc(TX,{x:n,y:r,size:e.size}),yX(e)&&qc(AX,{x:n,y:r,width:e.width,height:e.height,borderRadius:e.borderRadius}),qc(CX,{points:o.points}),qc(kX,{datum:t,x:o.text[0],y:o.text[1],note:i})]})},LX=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)}))},EX=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(),LX(e,t.computed.points),e.stroke(),e.lineCap="butt"),vX(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()),bX(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()),yX(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(),LX(e,t.computed.points),e.stroke(),vX(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()),bX(t)&&(e.fillStyle=r.annotations.symbol.fill,e.beginPath(),e.arc(t.x,t.y,t.size/2,0,2*Math.PI),e.fill()),yX(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 NX(){return NX=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},NX.apply(null,arguments)}function OX(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 RX={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:Ya((function(e){var t=e.cell;return null===t.formattedValue?null:qc(lD,{id:t.serieId+" - "+t.data.x,value:t.formattedValue,enableChip:!0,color:t.color})})),animate:!0,motionConfig:"gentle"},DX=NX({},RX,{axisTop:{},axisRight:null,axisBottom:null,axisLeft:{},borderRadius:0,cellComponent:"rect"}),PX=NX({},RX,{axisTop:{},axisRight:null,axisBottom:null,axisLeft:{},renderCell:"rect",pixelRatio:"undefined"!=typeof window&&window.devicePixelRatio||1}),IX=function(e){return{x:e.x,y:e.y}},zX=function(e){return{size:Math.max(e.width,e.height),width:e.width,height:e.height}},BX={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}},jX=function(e){var t=e.data,n=e.valueFormat,r=e.width,i=e.height,o=e.xOuterPadding,a=void 0===o?RX.xOuterPadding:o,s=e.xInnerPadding,l=void 0===s?RX.xInnerPadding:s,c=e.yOuterPadding,u=void 0===c?RX.yOuterPadding:c,d=e.yInnerPadding,f=void 0===d?RX.yInnerPadding:d,h=e.forceSquare,p=void 0===h?RX.forceSquare:h,g=e.sizeVariation,m=void 0===g?RX.sizeVariation:g,v=e.colors,b=void 0===v?RX.colors:v,y=e.emptyColor,_=void 0===y?RX.emptyColor:y,w=e.opacity,x=void 0===w?RX.opacity:w,k=e.activeOpacity,C=void 0===k?RX.activeOpacity:k,S=e.inactiveOpacity,T=void 0===S?RX.inactiveOpacity:S,A=e.borderColor,M=void 0===A?RX.borderColor:A,L=e.label,E=void 0===L?RX.label:L,N=e.labelTextColor,O=void 0===N?RX.labelTextColor:N,R=e.hoverTarget,D=void 0===R?RX.hoverTarget:R,P=la(null),I=P[0],z=P[1],B=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 ha((function(){return 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=mU(_p().domain(h).range([0,g]).paddingOuter(o).paddingInner(i)),_=mU(_p().domain(u).range([0,m]).paddingOuter(s).paddingInner(a)),w=y.bandwidth(),x=_.bandwidth(),k=f.map((function(e){return NX({},e,{x:y(e.data.x)+w/2,y:_(e.serieId)+x/2,width:w,height:x})}));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}}({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}),j=B.width,F=B.height,H=B.offsetX,$=B.offsetY,U=B.cells,q=B.xScale,W=B.yScale,V=B.minValue,G=B.maxValue,Y=ha((function(){if(!I)return[];var e=BX[D];return U.filter((function(t){return e(t,I)})).map((function(e){return e.id}))}),[U,I,D]),X=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=ha((function(){return function(e,t,n){if(!e)return function(){return 1};var r=Gp().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=ha((function(){return"function"==typeof l?null:sq(l,{min:o,max:a})}),[l,o,a]),_=pa((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]),w=tD(),x=oq(h,w),k=oq(g,w),C=aH(m),S=lH(p);return{cells:ha((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=NX({},e,{width:e.width*n,height:e.height*n,formattedValue:null!==e.value?C(e.value):null,opacity:t});return r.label=S(r),r.color=_(r),r.borderColor=x(r),r.labelTextColor=k(r),r}))}),[i,b,_,x,k,C,S,v,u,d,f]),colorScale:y}}({cells:U,minValue:V,maxValue:G,sizeVariation:m,colors:b,emptyColor:_,opacity:x,activeOpacity:C,inactiveOpacity:T,borderColor:M,label:E,labelTextColor:O,valueFormat:n,activeIds:Y});return{width:j,height:F,offsetX:H,offsetY:$,cells:X.cells,xScale:q,yScale:W,colorScale:X.colorScale,activeCell:I,setActiveCell:z}},FX=function(e,t){return wX({data:e,annotations:t,getPosition:IX,getDimensions:zX})},HX=Ya((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=tD(),d=ha((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 qc(_E.g,NX({"data-testid":"cell."+t.id,style:{cursor:"pointer"},opacity:i.opacity},d,{transform:mM([i.x,i.y,i.scale],(function(e,t,n){return"translate("+e+", "+t+") scale("+n+")"})),children:[qc(_E.rect,{transform:mM([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&&qc(EH,{textAnchor:"middle",dominantBaseline:"central",fill:i.labelTextColor,style:NX({},u.labels.text,{fill:void 0,userSelect:"none"}),children:t.label})]}))})),$X=Ya((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=tD(),u=ha((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 qc(_E.g,NX({"data-testid":"cell."+t.id,style:{cursor:"pointer"},opacity:r.opacity},u,{transform:mM([r.x,r.y],(function(e,t){return"translate("+e+", "+t+")"})),children:[qc(_E.circle,{r:mM([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&&qc(EH,{dominantBaseline:"central",textAnchor:"middle",fill:r.labelTextColor,style:NX({},c.labels.text,{fill:void 0}),children:t.label})]}))})),UX=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}},qX=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}},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}},VX=function(e){var t,n=e.cells,r=e.cellComponent,i=e.borderRadius,o=e.borderWidth,a=e.isInteractive,s=e.setActiveCell,l=e.onMouseEnter,c=e.onMouseMove,u=e.onMouseLeave,d=e.onClick,f=e.tooltip,h=e.enableLabels,p=CF(),g=p.animate,m=p.config,v=uM(n,{keys:function(e){return e.id},initial:qX,from:UX,enter:qX,update:qX,leave:WX,config:m,immediate:!g}),b=bD(),y=b.showTooltipFromEvent,_=b.hideTooltip,w=ha((function(){if(a)return function(e){return function(t){y(wo(f,{cell:e}),t),s(e),null==l||l(e,t)}}}),[a,y,f,s,l]),x=ha((function(){if(a)return function(e){return function(t){y(wo(f,{cell:e}),t),null==c||c(e,t)}}}),[a,y,f,c]),k=ha((function(){if(a)return function(e){return function(t){_(),s(null),null==u||u(e,t)}}}),[a,_,s,u]),C=ha((function(){if(a)return function(e){return function(t){null==d||d(e,t)}}}),[a,d]);return t="rect"===r?HX:"circle"===r?$X:r,qc(ko,{children:v((function(e,n){return wo(t,{cell:n,borderRadius:i,borderWidth:o,animatedProps:e,enableLabels:h,onMouseEnter:w,onMouseMove:x,onMouseLeave:k,onClick:C})}))})},GX=function(e){var t=e.cells,n=e.annotations;return qc(ko,{children:FX(t,n).map((function(e,t){return qc(MX,NX({},e),t)}))})},YX=["isInteractive","animate","motionConfig","theme","renderWrapper"],XX=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,w=void 0===_?DX.cellComponent:_,x=e.opacity,k=void 0===x?DX.opacity:x,C=e.activeOpacity,S=void 0===C?DX.activeOpacity:C,T=e.inactiveOpacity,A=void 0===T?DX.inactiveOpacity:T,M=e.borderRadius,L=void 0===M?DX.borderRadius:M,E=e.borderWidth,N=void 0===E?DX.borderWidth:E,O=e.borderColor,R=void 0===O?DX.borderColor:O,D=e.enableGridX,P=void 0===D?DX.enableGridX:D,I=e.enableGridY,z=void 0===I?DX.enableGridY:I,B=e.axisTop,j=void 0===B?DX.axisTop:B,F=e.axisRight,H=void 0===F?DX.axisRight:F,$=e.axisBottom,U=void 0===$?DX.axisBottom:$,q=e.axisLeft,W=void 0===q?DX.axisLeft:q,V=e.enableLabels,G=void 0===V?DX.enableLabels:V,Y=e.label,X=void 0===Y?DX.label:Y,Z=e.labelTextColor,K=void 0===Z?DX.labelTextColor:Z,J=e.colors,Q=void 0===J?DX.colors:J,ee=e.emptyColor,te=void 0===ee?DX.emptyColor:ee,ne=e.legends,re=void 0===ne?DX.legends:ne,ie=e.annotations,oe=void 0===ie?DX.annotations:ie,ae=e.isInteractive,se=void 0===ae?DX.isInteractive:ae,le=e.onMouseEnter,ce=e.onMouseMove,ue=e.onMouseLeave,de=e.onClick,fe=e.hoverTarget,he=void 0===fe?DX.hoverTarget:fe,pe=e.tooltip,ge=void 0===pe?DX.tooltip:pe,me=e.role,ve=e.ariaLabel,be=e.ariaLabelledBy,ye=e.ariaDescribedBy,_e=e.forwardedRef,we=rH(o,a,s),xe=we.margin,ke=we.innerWidth,Ce=we.innerHeight,Se=we.outerWidth,Te=we.outerHeight,Ae=jX({data:t,valueFormat:i,width:ke,height:Ce,forceSquare:c,xInnerPadding:d,xOuterPadding:h,yInnerPadding:g,yOuterPadding:v,sizeVariation:y,colors:Q,emptyColor:te,opacity:k,activeOpacity:S,inactiveOpacity:A,borderColor:R,label:X,labelTextColor:K,hoverTarget:he}),Me=Ae.width,Le=Ae.height,Ee=Ae.offsetX,Ne=Ae.offsetY,Oe=Ae.xScale,Re=Ae.yScale,De=Ae.cells,Pe=Ae.colorScale,Ie=Ae.activeCell,ze=Ae.setActiveCell,Be=ha((function(){return NX({},xe,{top:xe.top+Ne,left:xe.left+Ee})}),[xe,Ee,Ne]),je={grid:null,axes:null,cells:null,legends:null,annotations:null};r.includes("grid")&&(je.grid=qc(UU,{width:Me,height:Le,xScale:P?Oe:null,yScale:z?Re:null},"grid")),r.includes("axes")&&(je.axes=qc(FU,{xScale:Oe,yScale:Re,width:Me,height:Le,top:j,right:H,bottom:U,left:W},"axes")),r.includes("cells")&&(je.cells=qc(ko,{children:qc(VX,{cells:De,cellComponent:w,borderRadius:L,borderWidth:N,isInteractive:se,setActiveCell:ze,onMouseEnter:le,onMouseMove:ce,onMouseLeave:ue,onClick:de,tooltip:ge,enableLabels:G})},"cells")),r.includes("legends")&&null!==Pe&&(je.legends=qc(ko,{children:re.map((function(e,t){return wo(wq,NX({},e,{key:t,containerWidth:Me,containerHeight:Le,scale:Pe}))}))},"legends")),r.includes("annotations")&&oe.length>0&&(je.annotations=qc(GX,{cells:De,annotations:oe},"annotations"));var Fe={cells:De,activeCell:Ie,setActiveCell:ze};return qc(GF,{width:Se,height:Te,margin:Object.assign({},Be,{top:Be.top,left:Be.left}),role:me,ariaLabel:ve,ariaLabelledBy:be,ariaDescribedBy:ye,ref:_e,children:r.map((function(e,t){var n;return"function"==typeof e?qc(ko,{children:wo(e,Fe)},t):null!=(n=null==je?void 0:je[e])?n:null}))})},ZX=Ka((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=OX(e,YX);return qc(AF,{animate:o,isInteractive:r,motionConfig:s,renderWrapper:c,theme:l,children:qc(XX,NX({isInteractive:r},u,{forwardedRef:t}))})})),KX=["defaultWidth","defaultHeight","onResize","debounceResize"],JX=Ka((function(e,t){var n=e.defaultWidth,r=e.defaultHeight,i=e.onResize,o=e.debounceResize,a=OX(e,KX);return qc(EF,{defaultWidth:n,defaultHeight:r,onResize:i,debounceResize:o,children:function(e){var n=e.width,r=e.height;return qc(ZX,NX({width:n,height:r},a,{ref:t}))}})})),QX=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&&(mH(e,p.labels.text),e.textAlign="center",e.textBaseline="middle",vH(e,NX({},p.labels.text,{fill:u}),d,r,i)),e.restore()},eZ=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&&(mH(e,p.labels.text),e.textAlign="center",e.textBaseline="middle",vH(e,NX({},p.labels.text,{fill:u}),d,r,i)),e.restore()},tZ=["theme","isInteractive","animate","motionConfig","renderWrapper"],nZ=function(e){var t,n=e.data,r=e.layers,i=void 0===r?PX.layers:r,o=e.valueFormat,a=e.width,s=e.height,l=e.margin,c=e.xInnerPadding,u=void 0===c?PX.xInnerPadding:c,d=e.xOuterPadding,f=void 0===d?PX.xOuterPadding:d,h=e.yInnerPadding,p=void 0===h?PX.yInnerPadding:h,g=e.yOuterPadding,m=void 0===g?PX.yOuterPadding:g,v=e.forceSquare,b=void 0===v?PX.forceSquare:v,y=e.sizeVariation,_=void 0===y?PX.sizeVariation:y,w=e.renderCell,x=void 0===w?PX.renderCell:w,k=e.opacity,C=void 0===k?PX.opacity:k,S=e.activeOpacity,T=void 0===S?PX.activeOpacity:S,A=e.inactiveOpacity,M=void 0===A?PX.inactiveOpacity:A,L=e.borderWidth,E=void 0===L?PX.borderWidth:L,N=e.borderColor,O=void 0===N?PX.borderColor:N,R=e.enableGridX,D=void 0===R?PX.enableGridX:R,P=e.enableGridY,I=void 0===P?PX.enableGridY:P,z=e.axisTop,B=void 0===z?PX.axisTop:z,j=e.axisRight,F=void 0===j?PX.axisRight:j,H=e.axisBottom,$=void 0===H?PX.axisBottom:H,U=e.axisLeft,q=void 0===U?PX.axisLeft:U,W=e.enableLabels,V=void 0===W?PX.enableLabels:W,G=e.label,Y=void 0===G?PX.label:G,X=e.labelTextColor,Z=void 0===X?PX.labelTextColor:X,K=e.colors,J=void 0===K?PX.colors:K,Q=e.emptyColor,ee=void 0===Q?PX.emptyColor:Q,te=e.legends,ne=void 0===te?PX.legends:te,re=e.annotations,ie=void 0===re?PX.annotations:re,oe=e.isInteractive,ae=void 0===oe?PX.isInteractive:oe,se=e.onClick,le=e.hoverTarget,ce=void 0===le?PX.hoverTarget:le,ue=e.tooltip,de=void 0===ue?PX.tooltip:ue,fe=e.role,he=e.ariaLabel,pe=e.ariaLabelledBy,ge=e.ariaDescribedBy,me=e.pixelRatio,ve=void 0===me?PX.pixelRatio:me,be=e.forwardedRef,ye=fa(null),_e=rH(a,s,l),we=_e.margin,xe=_e.innerWidth,ke=_e.innerHeight,Ce=_e.outerWidth,Se=_e.outerHeight,Te=jX({data:n,valueFormat:o,width:xe,height:ke,xInnerPadding:u,xOuterPadding:f,yInnerPadding:p,yOuterPadding:m,forceSquare:b,sizeVariation:_,colors:J,emptyColor:ee,opacity:C,activeOpacity:T,inactiveOpacity:M,borderColor:O,label:Y,labelTextColor:Z,hoverTarget:ce}),Ae=Te.width,Me=Te.height,Le=Te.offsetX,Ee=Te.offsetY,Ne=Te.xScale,Oe=Te.yScale,Re=Te.cells,De=Te.colorScale,Pe=Te.activeCell,Ie=Te.setActiveCell,ze=ha((function(){return NX({},we,{top:we.top+Ee,left:we.left+Le})}),[we,Le,Ee]),Be=FX(Re,ie),je=xX({annotations:Be});t="function"==typeof x?x:"circle"===x?eZ:QX;var Fe=tD(),He=ha((function(){return{cells:Re,activeCell:Pe,setActiveCell:Ie}}),[Re,Pe,Ie]);ua((function(){if(null!==ye.current){var e=ye.current.getContext("2d");e&&(ye.current.width=Ce*ve,ye.current.height=Se*ve,e.scale(ve,ve),e.fillStyle=Fe.background,e.fillRect(0,0,Ce,Se),e.translate(ze.left,ze.top),i.forEach((function(n){"grid"===n?(e.lineWidth=Fe.grid.line.strokeWidth,e.strokeStyle=Fe.grid.line.stroke,D&&WU(e,{width:Ae,height:Me,scale:Ne,axis:"x"}),I&&WU(e,{width:Ae,height:Me,scale:Oe,axis:"y"})):"axes"===n?qU(e,{xScale:Ne,yScale:Oe,width:Ae,height:Me,top:B,right:F,bottom:$,left:q,theme:Fe}):"cells"===n?(e.textAlign="center",e.textBaseline="middle",Re.forEach((function(n){t(e,{cell:n,borderWidth:E,enableLabels:V,theme:Fe})}))):"legends"===n&&null!==De?ne.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?hq.length:d,h=t.thickness,p=void 0===h?hq.thickness:h,g=t.direction,m=void 0===g?hq.direction:g,v=t.ticks,b=t.tickPosition,y=void 0===b?hq.tickPosition:b,_=t.tickSize,w=void 0===_?hq.tickSize:_,x=t.tickSpacing,k=void 0===x?hq.tickSpacing:x,C=t.tickOverlap,S=void 0===C?hq.tickOverlap:C,T=t.tickFormat,A=void 0===T?hq.tickFormat:T,M=t.title,L=t.titleAlign,E=void 0===L?hq.titleAlign:L,N=t.titleOffset,O=void 0===N?hq.titleOffset:N,R=t.theme,D=bq({scale:u,ticks:v,length:f,thickness:p,direction:m,tickPosition:y,tickSize:w,tickSpacing:k,tickOverlap:S,tickFormat:A,title:M,titleAlign:E,titleOffset:O}),P=D.width,I=D.height,z=D.gradientX1,B=D.gradientY1,j=D.gradientX2,F=D.gradientY2,H=D.colorStops,$=D.ticks,U=D.titleText,q=D.titleX,W=D.titleY,V=D.titleRotation,G=D.titleVerticalAlign,Y=D.titleHorizontalAlign,X=mq({anchor:o,translateX:s,translateY:c,containerWidth:r,containerHeight:i,width:P,height:I}),Z=X.x,K=X.y,J={font:e.font,textAlign:e.textAlign,textBaseline:e.textBaseline};e.save(),e.translate(Z,K);var Q=e.createLinearGradient(z*P,B*I,j*P,F*I);H.forEach((function(e){Q.addColorStop(e.offset,e.stopColor)})),e.fillStyle=Q,e.fillRect(0,0,P,I),mH(e,R.legends.ticks.text);var ee=null!=(n=R.legends.ticks.line.strokeWidth)?n:0,te="string"!=typeof ee&&ee>0;$.forEach((function(t){te&&(e.lineWidth=ee,R.axis.ticks.line.stroke&&(e.strokeStyle=R.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,vH(e,R.legends.ticks.text,t.text,t.textX,t.textY)})),U&&(e.save(),e.translate(q,W),e.rotate(zF(V)),mH(e,R.legends.title.text),e.textAlign="middle"===Y?"center":Y,e.textBaseline=G,vH(e,R.legends.title.text,U),e.restore()),e.restore(),e.font=J.font,e.textAlign=J.textAlign,e.textBaseline=J.textBaseline}(e,NX({},t,{containerWidth:Ae,containerHeight:Me,scale:De,theme:Fe}))})):"annotations"===n?EX(e,{annotations:je,theme:Fe}):"function"==typeof n&&n(e,He)})))}}),[ye,ve,Ce,Se,Ae,Me,ze,i,He,Re,t,D,I,B,F,$,q,Ne,Oe,Fe,E,V,De,ne,je]);var $e=bD(),Ue=$e.showTooltipFromEvent,qe=$e.hideTooltip,We=pa((function(e){if(null!==ye.current){var t=dH(ye.current,e),n=t[0],r=t[1],i=Re.find((function(e){return uH(e.x+ze.left-e.width/2,e.y+ze.top-e.height/2,e.width,e.height,n,r)}));void 0!==i?(Ie(i),Ue(wo(de,{cell:i}),e)):(Ie(null),qe())}}),[ye,Re,ze,Ie,Ue,qe,de]),Ve=pa((function(){Ie(null),qe()}),[Ie,qe]),Ge=pa((function(e){null!==Pe&&(null==se||se(Pe,e))}),[Pe,se]);return qc("canvas",{ref:gH(ye,be),width:Ce*ve,height:Se*ve,style:{width:Ce,height:Se},onMouseEnter:ae?We:void 0,onMouseMove:ae?We:void 0,onMouseLeave:ae?Ve:void 0,onClick:ae?Ge:void 0,role:fe,"aria-label":he,"aria-labelledby":pe,"aria-describedby":ge})},rZ=Ka((function(e,t){var n=e.theme,r=e.isInteractive,i=void 0===r?PX.isInteractive:r,o=e.animate,a=void 0===o?PX.animate:o,s=e.motionConfig,l=void 0===s?PX.motionConfig:s,c=e.renderWrapper,u=OX(e,tZ);return qc(AF,{isInteractive:i,animate:a,motionConfig:l,theme:n,renderWrapper:c,children:qc(nZ,NX({isInteractive:i},u,{forwardedRef:t}))})})),iZ=["defaultWidth","defaultHeight","onResize","debounceResize"];Ka((function(e,t){var n=e.defaultWidth,r=e.defaultHeight,i=e.onResize,o=e.debounceResize,a=OX(e,iZ);return qc(EF,{defaultWidth:n,defaultHeight:r,onResize:i,debounceResize:o,children:function(e){var n=e.width,r=e.height;return qc(rZ,NX({width:n,height:r},a,{ref:t}))}})}));const oZ={top:60,right:90,bottom:60,left:90},aZ={tickSize:5,tickPadding:5,tickRotation:0},sZ={tickSize:5,tickPadding:5,tickRotation:-90},lZ={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},cZ=e=>{const{cell:t}=e,n=ha((()=>({id:t.id.toString(),color:t.color,label:t.data.x,value:t.label})),[t]);return qc(ZY,{label:t.serieId,children:qc(eX,{mode:"default",legend:n})})};const uZ=({width:e="100%",height:t=400,data:n,rootAriaLabel:r,emptyLabel:i="No data available",emptyAriaLabel:o="No data available",margin:a=oZ,axisLeft:s=aZ,axisTop:l=sZ,xInnerPadding:c=.05,yInnerPadding:u=.05,legends:d=[lZ],forceSquare:f=!0,valueFormat:h=">-.2%",...p})=>{const g=ha((()=>0===n.length),[n]),m=((e="light")=>{const t=ha((()=>VW([0,1],["var(--bg-support-castor)","var(--bg-support-atlas-heavy)","var(--bg-support-atlas)","var(--bg-support-atlas-heavy)","var(--bg-support-capella)"])),[e]);return pa((e=>t(e)),[t])})(iX());return g?qc(UW,{label:i,width:e,height:t,ariaLabel:o}):qc("div",{role:"img","aria-label":r,tabIndex:0,style:{width:e,height:t},className:"styles_heatMap__E95gO",children:qc(JX,{data:n,margin:a,axisBottom:null,axisRight:null,axisLeft:s,axisTop:l,xInnerPadding:c,yInnerPadding:u,legends:d,forceSquare:f,theme:EY,motionConfig:TY,animate:!AY,valueFormat:h,colors:e=>m(e.data.y??0),labelTextColor:"var(--constant-on-text-primary)",tooltip:cZ,emptyColor:"var(--bg-control-secondary)",inactiveOpacity:0,borderRadius:4,...p})})},dZ=({title:e,translations:t,rootAriaLabel:n,width:r,height:i,data:o,...a})=>{const s=t["no-results"];return qc(Fx,{title:e,children:qc(uZ,{data:o,width:r,height:i,emptyLabel:s,emptyAriaLabel:s,rootAriaLabel:n,...a})})};function fZ(){return fZ=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},fZ.apply(null,arguments)}function hZ(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 pZ,gZ=function(e){var t=e.bars,n=e.annotations,r=wX({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 qc(ko,{children:r.map((function(e,t){return qc(MX,fZ({},e),t)}))})},mZ=function(e){var t=e.width,n=e.height,r=e.legends,i=e.toggleSerie;return qc(ko,{children:r.map((function(e,r){var o,a=e[0],s=e[1];return qc(Sq,fZ({},a,{containerWidth:t,containerHeight:n,data:null!=(o=a.data)?o:s,toggleSerie:a.toggleSerie&&"keys"===a.dataFrom?i:void 0}),r)}))})},vZ=["data"],bZ=["color","label"],yZ={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=hZ(e,bZ);return qc(lD,{id:n,value:r.formattedValue,enableChip:!0,color:t})},tooltipLabel:function(e){return e.id+" - "+e.indexValue},legends:[],initialHiddenIds:[],annotations:[],enableTotals:!1,totalsOffset:10},_Z=fZ({},yZ,{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=hZ(n,vZ),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,w=e.onClick,x=e.onMouseEnter,k=e.onMouseLeave,C=e.tooltip,S=e.isFocusable,T=e.ariaLabel,A=e.ariaLabelledBy,M=e.ariaDescribedBy,L=e.ariaDisabled,E=e.ariaHidden,N=tD(),O=bD(),R=O.showTooltipFromEvent,D=O.showTooltipAt,P=O.hideTooltip,I=ha((function(){return function(){return wo(C,fZ({},i,r))}}),[C,i,r]),z=pa((function(e){null==w||w(fZ({color:i.color},r),e)}),[i,r,w]),B=pa((function(e){return R(I(),e)}),[R,I]),j=pa((function(e){null==x||x(r,e),R(I(),e)}),[r,x,R,I]),F=pa((function(e){null==k||k(r,e),P()}),[r,P,k]),H=pa((function(){D(I(),[i.absX+i.width/2,i.absY])}),[D,I,i]),$=pa((function(){P()}),[P]);return qc(_E.g,{transform:h,children:[qc(_E.rect,{width:mM(p,(function(e){return Math.max(e,0)})),height:mM(l,(function(e){return Math.max(e,0)})),rx:m,ry:m,fill:null!=(t=r.fill)?t:s,strokeWidth:v,stroke:a,focusable:S,tabIndex:S?0:void 0,"aria-label":T?T(r):void 0,"aria-labelledby":A?A(r):void 0,"aria-describedby":M?M(r):void 0,"aria-disabled":L?L(r):void 0,"aria-hidden":E?E(r):void 0,onMouseEnter:_?j:void 0,onMouseMove:_?B:void 0,onMouseLeave:_?F:void 0,onClick:_?z:void 0,onFocus:_&&S?H:void 0,onBlur:_&&S?$:void 0,"data-testid":"bar.item."+r.id+"."+r.index}),y&&qc(EH,{x:d,y:f,textAnchor:g,dominantBaseline:"central",fillOpacity:u,style:fZ({},N.labels.text,{pointerEvents:"none",fill:c}),children:b})]})},defs:[],fill:[],markers:[],animate:!0,animateOnMount:!1,motionConfig:"default",role:"img",isFocusable:!1}),wZ=fZ({},yZ,{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,vH(e,h,d,a+p,s+g))},pixelRatio:"undefined"!=typeof window&&null!=(pZ=window.devicePixelRatio)?pZ:1}),xZ=function(e,t,n,r,i,o){return yU(r,{all:e.map(t),min:0,max:0},i,o).padding(n)},kZ=function(e,t){return e.map((function(e){return fZ({},t.reduce((function(e,t){return e[t]=null,e}),{}),e)}))},CZ=function(e){return Object.keys(e).reduce((function(t,n){return e[n]&&(t[n]=e[n]),t}),{})},SZ=function(e){return[e,Number(e)]};function TZ(e,t,n,r){return void 0===e&&(e=yZ.layout),void 0===n&&(n=yZ.labelPosition),void 0===r&&(r=yZ.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 AZ=["layout","width","height","padding","innerPadding","valueScale","indexScale","hiddenIds"],MZ=function(e,t){return e>t},LZ=function(e,t){return e<t},EZ=function(e,t){return Array.from(" ".repeat(t-e),(function(t,n){return e+n}))},NZ=function(e){return MZ(e,0)?0:e},OZ=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?LZ:MZ,m=i.map(CZ),v=[];return d.forEach((function(e,n){return EZ(0,f.domain().length).forEach((function(c){var d,b,y,_=SZ(i[c][e]),w=_[0],x=_[1],k=s(i[c]),C=(null!=(d=f(k))?d:0)+t*n+u*n,S=g(b=x,0)?null!=(y=h(b))?y:0:r,T=function(e,t){var n;return g(e,0)?r-t:(null!=(n=h(e))?n:0)-r}(x,S),A={id:e,value:null===w?w:x,formattedValue:o(x),hidden:!1,index:c,indexValue:k,data:m[c]};v.push({key:e+"."+A.indexValue,index:v.length,data:A,x:C,y:S,absX:p.left+C,absY:p.top+S,width:t,height:T,color:a(A),label:l(A)})}))})),v},RZ=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?LZ:MZ,m=i.map(CZ),v=[];return c.forEach((function(e,n){return EZ(0,h.domain().length).forEach((function(c){var u,b,y,_=SZ(i[c][e]),w=_[0],x=_[1],k=a(i[c]),C=g(b=x,0)?r:null!=(y=f(b))?y:0,S=(null!=(u=h(k))?u:0)+t*n+d*n,T=function(e,t){var n;return g(e,0)?(null!=(n=f(e))?n:0)-r:r-t}(x,C),A={id:e,value:null===w?w:x,formattedValue:o(x),hidden:!1,index:c,indexValue:k,data:m[c]};v.push({key:e+"."+A.indexValue,index:v.length,data:A,x:C,y:S,absX:p.left+C,absY:p.top+S,width:T,height:t,color:s(A),label:l(A)})}))})),v},DZ=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=hZ(e,AZ),m=g.keys.filter((function(e){return!p.includes(e)})),v=kZ(g.data,m),b="vertical"===i?["y","x",o]:["x","y",a],y=b[0],_=b[1],w=b[2],x=xZ(v,g.getIndex,l,f,w,_),k="auto"===d.min?NZ:function(e){return e},C=v.reduce((function(e,t){return[].concat(e,m.map((function(e){return t[e]})))}),[]).filter(Boolean),S=yU(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),T="vertical"===i?[x,S]:[S,x],A=T[0],M=T[1],L=(x.bandwidth()-u*(m.length-1))/m.length,E=[fZ({},g,{data:v,keys:m,innerPadding:u,xScale:A,yScale:M}),L,null!=(t=d.reverse)&&t,null!=(n=S(0))?n:0];return{xScale:A,yScale:M,bars:L>0?"vertical"===i?OZ.apply(void 0,E):RZ.apply(void 0,E):[]}},PZ=["data","layout","width","height","padding","valueScale","indexScale","hiddenIds"],IZ=function(e){var t;return e.some(Array.isArray)?IZ((t=[]).concat.apply(t,e)):e},zZ=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,_=SZ(m.data[e.key]),w=_[0],x=_[1],k={id:e.key,value:null===w?w:x,formattedValue:r(x),hidden:!1,index:h,indexValue:l,data:CZ(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},BZ=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,_=SZ(m.data[e.key]),w=_[0],x=_[1],k={id:e.key,value:null===w?w:x,formattedValue:r(x),hidden:!1,index:h,indexValue:l,data:CZ(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},jZ=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=hZ(e,PZ),p=h.keys.filter((function(e){return!f.includes(e)})),g=function(){var e=Tv([]),t=Ub,n=$b,r=qb;function i(i){var o,a,s=Array.from(e.apply(this,arguments),Wb),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=Qv(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:Tv(Array.from(t)),i):e},i.value=function(e){return arguments.length?(r="function"==typeof e?e:Tv(+e),i):r},i.order=function(e){return arguments.length?(t=null==e?Ub:"function"==typeof e?e:Tv(Array.from(e)),i):t},i.offset=function(e){return arguments.length?(n=null==e?$b:e,i):n},i}().keys(p).offset(Vb)(kZ(r,p)),m="vertical"===i?["y","x",o]:["x","y",a],v=m[0],b=m[1],y=m[2],_=xZ(r,h.getIndex,l,u,y,b),w=(n=IZ(g),"log"===c.type?n.filter((function(e){return 0!==e})):n),x=yU(c,{all:w,min:Math.min.apply(Math,w),max:Math.max.apply(Math,w)},"x"===v?o:a,v),k="vertical"===i?[_,x]:[x,_],C=k[0],S=k[1],T=h.innerPadding>0?h.innerPadding:0,A=_.bandwidth(),M=[fZ({},h,{innerPadding:T,stackedData:g,xScale:C,yScale:S}),A,null!=(t=c.reverse)&&t];return{xScale:C,yScale:S,bars:A>0?"vertical"===i?zZ.apply(void 0,M):BZ.apply(void 0,M):[]}},FZ=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=sH(null!=a?a:"indexes"===r?"indexValue":"id");return"indexes"===r?function(e,t,n){var r=C$(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=C$(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)},HZ=function(e,t,n){var r=e.get(t)||0;e.set(t,r+n)},$Z=function(e){var t,n=e.indexBy,r=void 0===n?yZ.indexBy:n,i=e.keys,o=void 0===i?yZ.keys:i,a=e.label,s=void 0===a?yZ.label:a,l=e.tooltipLabel,c=void 0===l?yZ.tooltipLabel:l,u=e.valueFormat,d=e.colors,f=void 0===d?yZ.colors:d,h=e.colorBy,p=void 0===h?yZ.colorBy:h,g=e.borderColor,m=void 0===g?yZ.borderColor:g,v=e.labelTextColor,b=void 0===v?yZ.labelTextColor:v,y=e.groupMode,_=void 0===y?yZ.groupMode:y,w=e.layout,x=void 0===w?yZ.layout:w,k=e.data,C=e.margin,S=e.width,T=e.height,A=e.padding,M=void 0===A?yZ.padding:A,L=e.innerPadding,E=void 0===L?yZ.innerPadding:L,N=e.valueScale,O=void 0===N?yZ.valueScale:N,R=e.indexScale,D=void 0===R?yZ.indexScale:R,P=e.initialHiddenIds,I=void 0===P?yZ.initialHiddenIds:P,z=e.enableLabel,B=void 0===z?yZ.enableLabel:z,j=e.labelSkipWidth,F=void 0===j?yZ.labelSkipWidth:j,H=e.labelSkipHeight,$=void 0===H?yZ.labelSkipHeight:H,U=e.legends,q=void 0===U?yZ.legends:U,W=e.legendLabel,V=e.totalsOffset,G=void 0===V?yZ.totalsOffset:V,Y=la(null!=I?I:[]),X=Y[0],Z=Y[1],K=pa((function(e){Z((function(t){return t.indexOf(e)>-1?t.filter((function(t){return t!==e})):[].concat(t,[e])}))}),[]),J=lH(r),Q=lH(s),ee=lH(c),te=aH(u),ne=tD(),re=lq(f,p),ie=oq(m,ne),oe=oq(b,ne),ae=("grouped"===_?DZ:jZ)({layout:x,data:k,getIndex:J,keys:o,width:S,height:T,getColor:re,padding:M,innerPadding:E,valueScale:O,indexScale:D,hiddenIds:X,formatValue:te,getTooltipLabel:ee,margin:C}),se=ae.bars,le=ae.xScale,ce=ae.yScale,ue=ha((function(){return se.filter((function(e){return null!==e.data.value})).map((function(e,t){return fZ({},e,{index:t})}))}),[se]),de=pa((function(e){var t=e.width,n=e.height;return!(!B||F>0&&t<F||$>0&&n<$)}),[B,F,$]),fe=ha((function(){return o.map((function(e){var t=se.find((function(t){return t.data.id===e}));return fZ({},t,{data:fZ({id:e},null==t?void 0:t.data,{hidden:X.includes(e)})})}))}),[X,o,se]),he=null!=(t=O.reverse)&&t,pe=ha((function(){return q.map((function(e){return[e,FZ({bars:"keys"===e.dataFrom?fe:se,direction:e.direction,from:e.dataFrom,groupMode:_,layout:x,legendLabel:W,reverse:he})]}))}),[q,fe,se,_,x,W,he]),ge=ha((function(){return function(e,t,n,r,i,o,a){void 0===r&&(r=yZ.layout),void 0===i&&(i=yZ.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;HZ(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;HZ(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}(se,le,ce,x,_,G,te)}),[se,le,ce,x,_,G,te]);return{bars:se,barsWithValue:ue,xScale:le,yScale:ce,getIndex:J,getLabel:Q,getTooltipLabel:ee,formatValue:te,getColor:re,getBorderColor:ie,getLabelColor:oe,shouldRenderBarLabel:de,hiddenIds:X,toggleSerie:K,legendsWithData:pe,barTotals:ge}},UZ=function(e){var t=e.data,n=e.springConfig,r=e.animate,i=e.layout,o=void 0===i?_Z.layout:i,a=tD();return uM(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 qc(_E.text,{x:e.x,y:e.y,fillOpacity:e.labelOpacity,style:fZ({},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)}))},qZ=["isInteractive","animate","motionConfig","theme","renderWrapper"],WZ=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?_Z.axisBottom:m,b=e.axisLeft,y=void 0===b?_Z.axisLeft:b,_=e.enableGridX,w=void 0===_?_Z.enableGridX:_,x=e.enableGridY,k=void 0===x?_Z.enableGridY:x,C=e.gridXValues,S=e.gridYValues,T=e.layers,A=void 0===T?_Z.layers:T,M=e.barComponent,L=void 0===M?_Z.barComponent:M,E=e.enableLabel,N=void 0===E?_Z.enableLabel:E,O=e.label,R=e.labelSkipWidth,D=void 0===R?_Z.labelSkipWidth:R,P=e.labelSkipHeight,I=void 0===P?_Z.labelSkipHeight:P,z=e.labelTextColor,B=e.labelPosition,j=void 0===B?_Z.labelPosition:B,F=e.labelOffset,H=void 0===F?_Z.labelOffset:F,$=e.markers,U=void 0===$?_Z.markers:$,q=e.colorBy,W=e.colors,V=e.defs,G=void 0===V?_Z.defs:V,Y=e.fill,X=void 0===Y?_Z.fill:Y,Z=e.borderRadius,K=void 0===Z?_Z.borderRadius:Z,J=e.borderWidth,Q=void 0===J?_Z.borderWidth:J,ee=e.borderColor,te=e.annotations,ne=void 0===te?_Z.annotations:te,re=e.legendLabel,ie=e.tooltipLabel,oe=e.valueFormat,ae=e.isInteractive,se=void 0===ae?_Z.isInteractive:ae,le=e.tooltip,ce=void 0===le?_Z.tooltip:le,ue=e.onClick,de=e.onMouseEnter,fe=e.onMouseLeave,he=e.legends,pe=e.role,ge=void 0===pe?_Z.role:pe,me=e.ariaLabel,ve=e.ariaLabelledBy,be=e.ariaDescribedBy,ye=e.isFocusable,_e=void 0===ye?_Z.isFocusable:ye,we=e.barAriaLabel,xe=e.barAriaLabelledBy,ke=e.barAriaDescribedBy,Ce=e.barAriaHidden,Se=e.barAriaDisabled,Te=e.initialHiddenIds,Ae=e.enableTotals,Me=void 0===Ae?_Z.enableTotals:Ae,Le=e.totalsOffset,Ee=void 0===Le?_Z.totalsOffset:Le,Ne=e.forwardedRef,Oe=CF(),Re=Oe.animate,De=Oe.config,Pe=rH(a,s,o),Ie=Pe.outerWidth,ze=Pe.outerHeight,Be=Pe.margin,je=Pe.innerWidth,Fe=Pe.innerHeight,He=$Z({indexBy:r,label:O,tooltipLabel:ie,valueFormat:oe,colors:W,colorBy:q,borderColor:ee,labelTextColor:z,groupMode:l,layout:c,data:n,keys:i,margin:Be,width:je,height:Fe,padding:f,innerPadding:h,valueScale:u,indexScale:d,enableLabel:N,labelSkipWidth:D,labelSkipHeight:I,legends:he,legendLabel:re,initialHiddenIds:Te,totalsOffset:Ee}),$e=He.bars,Ue=He.barsWithValue,qe=He.xScale,We=He.yScale,Ve=He.getLabel,Ge=He.getTooltipLabel,Ye=He.getBorderColor,Xe=He.getLabelColor,Ze=He.shouldRenderBarLabel,Ke=He.toggleSerie,Je=He.legendsWithData,Qe=He.barTotals,et=He.getColor,tt=TZ(c,null!=(t=null==u?void 0:u.reverse)&&t,j,H),nt=uM(Ue,{keys:function(e){return e.key},from:function(e){return fZ({borderColor:Ye(e),color:e.color,height:0,labelColor:Xe(e),labelOpacity:0},tt(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 fZ({borderColor:Ye(e),color:e.color,height:e.height,labelColor:Xe(e),labelOpacity:1},tt(e.width,e.height),{transform:"translate("+e.x+", "+e.y+")",width:e.width})},update:function(e){return fZ({borderColor:Ye(e),color:e.color,height:e.height,labelColor:Xe(e),labelOpacity:1},tt(e.width,e.height),{transform:"translate("+e.x+", "+e.y+")",width:e.width})},leave:function(e){return fZ({borderColor:Ye(e),color:e.color,height:0,labelColor:Xe(e),labelOpacity:0},tt(e.width,e.height),{labelY:0,transform:"translate("+e.x+", "+(e.y+e.height)+")",width:e.width},"vertical"===c?{}:fZ({},tt(e.width,e.height),{labelX:0,height:e.height,transform:"translate("+e.x+", "+e.y+")",width:0}))},config:De,immediate:!Re,initial:Re?void 0:null}),rt=ha((function(){return{borderRadius:K,borderWidth:Q,enableLabel:N,isInteractive:se,labelSkipWidth:D,labelSkipHeight:I,onClick:ue,onMouseEnter:de,onMouseLeave:fe,getTooltipLabel:Ge,tooltip:ce,isFocusable:_e,ariaLabel:we,ariaLabelledBy:xe,ariaDescribedBy:ke,ariaHidden:Ce,ariaDisabled:Se}}),[K,Q,N,Ge,se,I,D,ue,de,fe,ce,_e,we,xe,ke,Ce,Se]),it=pH(G,$e,X,{dataKey:"data",targetKey:"data.fill"}),ot={annotations:null,axes:null,bars:null,grid:null,legends:null,markers:null,totals:null};A.includes("annotations")&&(ot.annotations=qc(gZ,{bars:$e,annotations:ne},"annotations")),A.includes("axes")&&(ot.axes=qc(FU,{xScale:qe,yScale:We,width:je,height:Fe,top:p,right:g,bottom:v,left:y},"axes")),A.includes("bars")&&(ot.bars=qc(ko,{children:nt((function(e,t){return wo(L,fZ({},rt,{bar:t,style:e,shouldRenderLabel:Ze(t),label:Ve(t.data)}))}))},"bars")),A.includes("grid")&&(ot.grid=qc(UU,{width:je,height:Fe,xScale:w?qe:null,yScale:k?We:null,xValues:C,yValues:S},"grid")),A.includes("legends")&&(ot.legends=qc(mZ,{width:je,height:Fe,legends:Je,toggleSerie:Ke},"legends")),A.includes("markers")&&(ot.markers=qc(KF,{markers:U,width:je,height:Fe,xScale:qe,yScale:We},"markers")),A.includes("totals")&&Me&&(ot.totals=qc(UZ,{data:Qe,springConfig:De,animate:Re,layout:c},"totals"));var at=fZ({},rt,{margin:Be,width:a,height:s,innerWidth:je,innerHeight:Fe,bars:$e,legendData:Je,enableLabel:N,xScale:qe,yScale:We,tooltip:ce,getTooltipLabel:Ge,onClick:ue,onMouseEnter:de,onMouseLeave:fe,getColor:et});return qc(GF,{width:Ie,height:ze,margin:Be,defs:it,role:ge,ariaLabel:me,ariaLabelledBy:ve,ariaDescribedBy:be,isFocusable:_e,ref:Ne,children:A.map((function(e,t){var n;return"function"==typeof e?qc(ko,{children:wo(e,at)},t):null!=(n=null==ot?void 0:ot[e])?n:null}))})},VZ=Ka((function(e,t){var n=e.isInteractive,r=void 0===n?_Z.isInteractive:n,i=e.animate,o=void 0===i?_Z.animate:i,a=e.motionConfig,s=void 0===a?_Z.motionConfig:a,l=e.theme,c=e.renderWrapper,u=hZ(e,qZ);return qc(AF,{animate:o,isInteractive:r,motionConfig:s,renderWrapper:c,theme:l,children:qc(WZ,fZ({},u,{isInteractive:r,forwardedRef:t}))})})),GZ=["isInteractive","renderWrapper","theme"],YZ=function(e,t,n,r){return e.find((function(e){return uH(e.x+t.left,e.y+t.top,e.width,e.height,n,r)}))},XZ=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?wZ.axisBottom:m,b=e.axisLeft,y=void 0===b?wZ.axisLeft:b,_=e.enableGridX,w=void 0===_?wZ.enableGridX:_,x=e.enableGridY,k=void 0===x?wZ.enableGridY:x,C=e.gridXValues,S=e.gridYValues,T=e.labelPosition,A=void 0===T?wZ.labelPosition:T,M=e.labelOffset,L=void 0===M?wZ.labelOffset:M,E=e.layers,N=void 0===E?wZ.layers:E,O=e.renderBar,R=void 0===O?wZ.renderBar:O,D=e.enableLabel,P=void 0===D?wZ.enableLabel:D,I=e.label,z=e.labelSkipWidth,B=void 0===z?wZ.labelSkipWidth:z,j=e.labelSkipHeight,F=void 0===j?wZ.labelSkipHeight:j,H=e.labelTextColor,$=e.colorBy,U=e.colors,q=e.borderRadius,W=void 0===q?wZ.borderRadius:q,V=e.borderWidth,G=void 0===V?wZ.borderWidth:V,Y=e.borderColor,X=e.annotations,Z=void 0===X?wZ.annotations:X,K=e.legendLabel,J=e.tooltipLabel,Q=e.valueFormat,ee=e.isInteractive,te=void 0===ee?wZ.isInteractive:ee,ne=e.tooltip,re=void 0===ne?wZ.tooltip:ne,ie=e.onClick,oe=e.onMouseEnter,ae=e.onMouseLeave,se=e.legends,le=e.pixelRatio,ce=void 0===le?wZ.pixelRatio:le,ue=e.role,de=e.forwardedRef,fe=e.enableTotals,he=void 0===fe?wZ.enableTotals:fe,pe=e.totalsOffset,ge=void 0===pe?wZ.totalsOffset:pe,me=fa(null),ve=tD(),be=rH(a,s,o),ye=be.margin,_e=be.innerWidth,we=be.innerHeight,xe=be.outerWidth,ke=be.outerHeight,Ce=$Z({indexBy:r,label:I,tooltipLabel:J,valueFormat:Q,colors:U,colorBy:$,borderColor:Y,labelTextColor:H,groupMode:l,layout:c,data:n,keys:i,margin:ye,width:_e,height:we,padding:f,innerPadding:h,valueScale:u,indexScale:d,enableLabel:P,labelSkipWidth:B,labelSkipHeight:F,legends:se,legendLabel:K,totalsOffset:ge}),Se=Ce.bars,Te=Ce.barsWithValue,Ae=Ce.xScale,Me=Ce.yScale,Le=Ce.getLabel,Ee=Ce.getTooltipLabel,Ne=Ce.getBorderColor,Oe=Ce.getLabelColor,Re=Ce.shouldRenderBarLabel,De=Ce.legendsWithData,Pe=Ce.barTotals,Ie=Ce.getColor,ze=bD(),Be=ze.showTooltipFromEvent,je=ze.hideTooltip,Fe=xX({annotations:wX({data:Se,annotations:Z,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)}}})}),He=ha((function(){return{borderRadius:W,borderWidth:G,isInteractive:te,isFocusable:!1,labelSkipWidth:B,labelSkipHeight:F,margin:ye,width:a,height:s,innerWidth:_e,innerHeight:we,bars:Se,legendData:De,enableLabel:P,xScale:Ae,yScale:Me,tooltip:re,getTooltipLabel:Ee,onClick:ie,onMouseEnter:oe,onMouseLeave:ae,getColor:Ie}}),[W,G,te,B,F,ye,a,s,_e,we,Se,De,P,Ae,Me,re,Ee,ie,oe,ae,Ie]),$e=aH(Q),Ue=TZ(c,null!=(t=null==u?void 0:u.reverse)&&t,A,L);ua((function(){if(me.current){me.current.width=xe*ce,me.current.height=ke*ce;var e=me.current.getContext("2d");e.scale(ce,ce),e.fillStyle=ve.background,e.fillRect(0,0,xe,ke),e.translate(ye.left,ye.top),N.forEach((function(t){"grid"===t?"number"==typeof ve.grid.line.strokeWidth&&ve.grid.line.strokeWidth>0&&(e.lineWidth=ve.grid.line.strokeWidth,e.strokeStyle=ve.grid.line.stroke,w&&WU(e,{width:_e,height:we,scale:Ae,axis:"x",values:C}),k&&WU(e,{width:_e,height:we,scale:Me,axis:"y",values:S})):"axes"===t?qU(e,{xScale:Ae,yScale:Me,width:_e,height:we,top:p,right:g,bottom:v,left:y,theme:ve}):"bars"===t?(mH(e,ve.text),Te.forEach((function(t){R(e,fZ({bar:t,borderColor:Ne(t),borderRadius:W,borderWidth:G,label:Le(t.data),shouldRenderLabel:Re(t),labelStyle:fZ({},ve.labels.text,{fill:Oe(t)})},Ue(t.width,t.height)))}))):"legends"===t?De.forEach((function(t){var n=t[0],r=t[1];Aq(e,fZ({},n,{data:r,containerWidth:_e,containerHeight:we,theme:ve}))})):"annotations"===t?EX(e,{annotations:Fe,theme:ve}):"totals"===t&&he?function(e,t,n,r){void 0===r&&(r=wZ.layout),mH(e,n.labels.text),e.textBaseline="vertical"===r?"alphabetic":"middle",e.textAlign="vertical"===r?"center":"start",t.forEach((function(t){vH(e,n.labels.text,t.formattedValue,t.x,t.y)}))}(e,Pe,ve,c):"function"==typeof t&&t(e,He)})),e.save()}}),[v,y,g,p,Te,W,G,Fe,w,k,Ne,Le,Oe,C,S,l,s,we,_e,He,N,c,De,ye.left,ye.top,ke,xe,ce,R,Ae,Me,Re,ve,a,Pe,he,$e,Ue]);var qe=pa((function(e){if(Se&&me.current){var t=dH(me.current,e),n=t[0],r=t[1],i=YZ(Se,ye,n,r);void 0!==i?(Be(wo(re,fZ({},i.data,{color:i.color,label:i.label,value:Number(i.data.value)})),e),"mouseenter"===e.type&&(null==oe||oe(i.data,e))):je()}}),[je,ye,oe,Se,Be,re]),We=pa((function(e){if(Se&&me.current){je();var t=dH(me.current,e),n=t[0],r=t[1],i=YZ(Se,ye,n,r);i&&(null==ae||ae(i.data,e))}}),[je,ye,ae,Se]),Ve=pa((function(e){if(Se&&me.current){var t=dH(me.current,e),n=t[0],r=t[1],i=YZ(Se,ye,n,r);void 0!==i&&(null==ie||ie(fZ({},i.data,{color:i.color}),e))}}),[ye,ie,Se]);return qc("canvas",{ref:gH(me,de),width:xe*ce,height:ke*ce,style:{width:xe,height:ke,cursor:te?"auto":"normal"},onMouseEnter:te?qe:void 0,onMouseMove:te?qe:void 0,onMouseLeave:te?We:void 0,onClick:te?Ve:void 0,role:ue})},ZZ=Ka((function(e,t){var n=e.isInteractive,r=e.renderWrapper,i=e.theme,o=hZ(e,GZ);return qc(AF,{isInteractive:n,renderWrapper:r,theme:i,animate:!1,children:qc(XZ,fZ({},o,{isInteractive:n,forwardedRef:t}))})})),KZ=["defaultWidth","defaultHeight","onResize","debounceResize"],JZ=Ka((function(e,t){var n=e.defaultWidth,r=e.defaultHeight,i=e.onResize,o=e.debounceResize,a=hZ(e,KZ);return qc(EF,{defaultWidth:n,defaultHeight:r,onResize:i,debounceResize:o,children:function(e){var n=e.width,r=e.height;return qc(VZ,fZ({},a,{width:n,height:r,ref:t}))}})})),QZ=["defaultWidth","defaultHeight","onResize","debounceResize"];Ka((function(e,t){var n=e.defaultWidth,r=e.defaultHeight,i=e.onResize,o=e.debounceResize,a=hZ(e,QZ);return qc(EF,{defaultWidth:n,defaultHeight:r,onResize:i,debounceResize:o,children:function(e){var n=e.width,r=e.height;return qc(ZZ,fZ({},a,{width:n,height:r,ref:t}))}})}));const eK=e=>{const{data:t,onLegendClick:n}=e;return qc("div",{className:"styles_legends__LAO35",children:t.map((e=>qc(eX,{legend:e,onClick:n},e.id)))})},tK=({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=>KY(e[t.id])&&0!==Number(e[t.id])));return qc(ZY,{label:r(e,t),children:a.map((t=>qc(eX,{mode:"menu",legend:{...t,value:i({...t,value:e[t.id]})}},t.id)))})},nK=e=>{const{background:t,grid:n}=tD();return qc("g",{children:[qc("line",{opacity:"1",x1:"0",x2:e.innerWidth,y1:e.innerHeight,y2:e.innerHeight,stroke:t,strokeWidth:"1"}),qc("line",{opacity:"1",x1:"0",x2:e.innerWidth,y1:e.innerHeight,y2:e.innerHeight,stroke:n.line.stroke,strokeWidth:"1"})]})},rK=Go(null),iK=e=>{const{children:t}=e,[n,r]=la(void 0);return qc(rK.Provider,{value:[n,r],children:t})},oK=e=>{const t=fa(null),[n,r]=la(!1),[i,o]=la(null),a=fa(null),s=fa((()=>{})),l=pa((async(n,i)=>{if(!t.current)return;if(a.current===n)return;const l=()=>{if(t.current)return kd(n,t.current,{middleware:[xd(),_d(6),wd({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=yd(n,t.current,l)}),[e]),c=pa((e=>{a.current===e&&(s.current(),a.current=null,r(!1),o(null))}),[]);return{tooltipRef:t,isVisible:n,handleShowTooltip:l,handleHideTooltip:c,data:i}},aK={s:16,m:24,l:32},sK=(e,t)=>Math.min(e,aK[t]),lK=e=>{const{isInteractive:t,isFocusable:n,innerHeight:r,innerWidth:i,tooltip:o,indexBy:a,layout:s="vertical",bars:l,hasValueFn:c=t=>Object.entries(t).filter((([t])=>t!==e.indexBy)).reduce(((e,[,t])=>e+Aw.toNumber(t??0)),0)>0}=e,u="horizontal"===s,{handleShowTooltip:d,isVisible:f,handleHideTooltip:h,tooltipRef:p,data:g}=oK(u?"bottom":"left"),{animate:m,config:v}=CF(),{opacity:b}=cM({opacity:f?1:0,config:{...v,duration:75},immediate:!m});if(!t)return null;const y=Math.max(...l.map((e=>e.data.index+1))),_=l.slice(0,y);if(_.length<=0)return null;const[w,x]=_;if(!w)return null;const k=x?.x?x.x-w.x:w.width,C=k-w.width,S=x?.y?w.y-x.y:w.height,T=S-w.height;return qc(WY.g,{"data-testid":"hover-layer",children:[_.map(((e,o)=>{const s=e.x-C/2,l=e.y-T/2;return c(e.data.data)?qc(cK,{x:u?0:s,y:u?l:0,width:u?i:k,height:u?S:r,value:e.data.data,indexBy:a,isInteractive:t,isFocusable:n,onTooltipShow:d,onTooltipHide:h},o):null})),Wd(qc(WY.div,{ref:p,style:{display:b?"block":"none",opacity:b},children:f&&g&&wo(o,{value:g})}),document.body)]})},cK=({x:e,y:t,width:n,height:r,value:i,isInteractive:o=!0,isFocusable:a=!0,indexBy:s,onTooltipShow:l,onTooltipHide:c})=>{const[u,d]=(()=>{const e=ga(rK);if(!e)throw new Error("useBarChartState must be used within a BarChartStateProvider");return e})(),{animate:f,config:h}=CF(),p=i[s],g=u===String(p),{fill:m}=cM({from:{fill:"#ffffff00"},to:{fill:"var(--bg-control-flat-medium)"},config:{...h,duration:150},reverse:!g,immediate:!f}),v=pa((e=>{l(e.target,i)}),[l,i]),b=pa((e=>{l(e.target,i),d(String(p))}),[l,i,d,p]),y=pa((e=>{c(e.target),d(void 0)}),[c,d]),_=pa((e=>{l(e.target,i),d(String(p))}),[l,i,d,p]),w=pa((e=>{c(e.target),d(void 0)}),[c,d]);return qc(WY.rect,{x:e,y:t,"data-testid":"hover-rect",width:n,height:r,fill:m,onMouseMove:o?v:void 0,onMouseEnter:o?b:void 0,onMouseLeave:o?y:void 0,onFocus:o&&a?_:void 0,onBlur:o&&a?w:void 0})},uK=Go(null),dK=()=>{const e=ga(uK);if(!e)throw new Error("useBarContext must be used within a BarContext");return e},fK=e=>{const{bars:t,indexBy:n,layout:r="vertical",barSize:i,groupMode:o="stacked"}=e,a=ha((()=>(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 qc(uK.Provider,{value:{barSize:i,layout:r,groupMode:o},children:qc(WY.g,{"data-testid":"bars",pointerEvents:"none",children:a.map((e=>qc(hK,{group:e,offsetY:s,offsetX:l},e.id)))})})},hK=e=>{const{group:t}=e,{barSize:n,layout:r}=dK(),{animate:i,config:o}=CF(),a=ma(),s="horizontal"===r,l=sK(t.height,n),c=sK(t.width,n),u=t.width-c,d=t.height-l,f=s?t.x:t.x+u/2,h=s?t.y+d/2:t.y,p=s?t.width:c,g=s?l:t.height,m=(v=s?l:c)<=4?0:v<=aK.s/3?1:v<=aK.s/2?1.5:v<aK.s?2:v>=aK.s&&v<aK.m?4:v>=aK.m?6:0;var v;const{transform:b}=cM({transform:`translate(${f}, ${h})`,config:o,immediate:!i}),y=ha((()=>{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]),_="horizontal"===r?p<2*m:g<2*m;return qc(WY.g,{clipPath:_?void 0:`url(#clip-${a})`,transform:b,"data-testid":"group","data-id":t.id,children:[!_&&qc("defs",{children:qc("clipPath",{id:`clip-${a}`,children:qc(WY.rect,{x:0,y:0,width:p,height:g,rx:m,ry:m})})}),y.map(((e,t)=>qc(pK,{id:e.data.id,x:s?e.x-f:0,y:s?0:e.y-h,width:s?e.width:p,height:s?g:e.height,fill:e.color,isFirst:0===t,isLast:t===y.length-1},e.data.id)))]})},pK=e=>{const{isFirst:t,isLast:n,id:r,...i}=e,{layout:o}=dK(),{animate:a,config:s}=CF(),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=cM({x:h,y:p,width:d,height:f,config:s,immediate:!a});return qc(WY.rect,{...g,fill:i.fill,"data-testid":"bar","data-id":r})};function gK(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 mK=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;gK(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=function(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")}()}(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 gK(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)),vK=ib().x((e=>e[0])).y((e=>e[1])),bK=e=>{const{legend:t,indexBy:n,bars:r,innerHeight:i,innerWidth:o,formatValue:a=e=>Aw.toNumber(e)}=e,s=ha((()=>t.filter((e=>"point"===e.type)).map((e=>e.id))),[t]),l=ma(),c=ha((()=>t.filter((e=>"point"===e.type)).reduce(((e,t)=>(e[t.id]=t.color,e)),{})),[t]),u=ha((()=>(e=>{const t=Math.max(...e.map((e=>e.data.index+1)));return e.slice(0,t)})(r)),[r]),d=ha((()=>wU(s.map((e=>({id:e,data:u.map((t=>{const r=a(Aw.toNumber(t.data.data[e]??0),e);return void 0===r?null:{x:Aw.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=ha((()=>s.map((e=>{if(u.length<2)return null;const t=c[e]??"",n=u.map((t=>{const n=a(Aw.toNumber(t.data.data[e]??0),e);return void 0===n?null:{x:Aw.toNumber(t.x+t.width/2),y:Aw.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=mK(n),i=u.map((t=>{const n=a(Aw.toNumber(t.data.data[e]??0),e),i=Aw.toNumber(t.x+t.width/2);let o=r.predict(i);return void 0!==n&&(o=Aw.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]);return 0===s.length||0===f.length?null:qc(WY.g,{"data-testid":"trend-lines-layer",pointerEvents:"none",clipPath:`url(#${l})`,children:[qc("defs",{children:qc("clipPath",{id:l,children:qc("rect",{x:-5,y:-5,width:o+5,height:i+5})})}),f.map((({trendKey:e,points:t,color:n})=>qc(WY.g,{"data-testid":"trend-line-group","data-trend-key":e,children:[qc(yK,{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})=>qc(_K,{x:e,y:t,color:n},r)))]},e)))]})},yK=e=>{const{points:t,color:n}=e,{animate:r,config:i}=CF(),o=ha((()=>0===t.length||t.length<2?[]:mK(t)),[t]),{d:a}=cM({d:vK(o)??void 0,config:i,immediate:!r});return 0===t.length||t.length<2||0===o.length?null:qc(WY.path,{d:a,"data-testid":"trend-line",fill:"none",stroke:n,strokeWidth:2,strokeLinecap:"round",pointerEvents:"none",strokeDasharray:"4"})},_K=e=>{const{x:t,y:n,color:r}=e,{animate:i,config:o}=CF(),{cx:a,cy:s}=cM({cx:t,cy:n,config:o,immediate:!i});return qc(WY.circle,{"data-testid":"trend-line-point",cx:a,cy:s,r:3,strokeWidth:2,fill:"white",stroke:r,pointerEvents:"none"})},wK=({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=>Aw.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};const xK=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=>JY(e,u),bottomTickRotation:h=0,noLegend:p=!1,minValue:g,maxValue:m,groupMode:v="stacked",bottomTickSize:b=12,markers:y=[],colors:_,leftAxisTickValues:w,layout:x="vertical",formatTrendValue:k}=e,C=ha((()=>new Map(n.map((e=>[e.id,e])))),[n]),S=ha((()=>n.filter((e=>"point"!==e.type&&"tree"!==e.type)).map((e=>e.id))),[n]),T=ha((()=>((e,t)=>e.every((e=>Object.keys(e).filter((e=>e!==t)).every((t=>0===e[t])))))(t,r)),[t,r]),A=ha((()=>t.length>=8?"s":t.length>=6?"m":"l"),[t]),M="horizontal"===x;return qc("div",{className:"styles_container__nVJhv",children:[qc("div",{className:"styles_barContainer__DTIpd",children:qc(iK,{children:qc(JZ,{data:t,theme:EY,groupMode:v,layout:x,defaultHeight:275,keys:S,indexBy:r,margin:{top:10,right:20,bottom:h>0?60:40,left:wK({data:t,layout:x,keys:S,indexBy:r,stacked:!0,position:"left",formatLeftTick:f,formatBottomTick:d})},padding:a,innerPadding:0,valueScale:{type:"linear",nice:!0,min:g,max:m},indexScale:{type:"band",round:!0},layers:["grid","axes",nK,e=>qc(fK,{...e,indexBy:r,layout:x,legend:n,barSize:A,groupMode:v}),e=>qc(bK,{...e,legend:n,indexBy:r,formatValue:k}),"markers",e=>qc(lK,{...e,hasValueFn:c,indexBy:r,layout:x,tooltip:({value:e})=>qc(tK,{allowZeroValues:!0,value:e,indexBy:r,legend:n,formatLegendValue:s,formatIndexBy:l})})],markers:y,colors:"function"==typeof _?_:e=>C.get(e.id)?.color??"var(--bg-base-secondary)",enableLabel:!1,enableTotals:!1,axisTop:null,axisRight:null,axisBottom:{tickSize:0,tickPadding:5,tickRotation:h,truncateTickAt:0,renderTick:i,style:{ticks:{text:{fontSize:b}}},format:M?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:M?d?e=>d(e,t.find((t=>t[r]===e))):void 0:f,tickValues:w},animate:!AY,motionConfig:TY,onClick:o})})}),!T&&!p&&qc(eK,{data:n})]})},kK=(e,t)=>e>=t,CK=e=>e>=91?"bottom-right":"top-right",SK=e=>{const{title:t,data:n,i18n:r,keys:i,threshold:o=90}=e,a=ha((()=>Aw.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=ha((()=>a.map((({id:e,stabilityRate:t})=>({id:e,label:s,color:kK(t,l)?"var(--bg-support-castor-heavy)":"var(--bg-support-capella-heavy)",value:t,[e]:t})))),[a,s,l]),u=0===a.length;return qc(Fx,u?{title:t,children:qc(ew,{title:r("no-results"),icon:Wc.lineChartsBarChartSquare})}:{title:t,children:qc(xK,{markers:[{axis:"y",value:o,legend:`${o}%`,textStyle:{fill:EY.markers?.text?.fill,fontSize:EY.markers?.text?.fontSize,fontWeight:EY.markers?.text?.fontWeight},lineStyle:{stroke:EY.markers?.lineColor,strokeWidth:EY.markers?.lineStrokeWidth},legendPosition:CK(l),legendOffsetY:10,legendOffsetX:7}],groupMode:"stacked",data:a,legend:c,indexBy:"id",hasValueFn:()=>!0,formatIndexBy:e=>i[e.id],formatBottomTick:(e,t)=>Aw.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(--bg-support-castor-heavy)";const n=t>20?t-5:void 0;return n&&e>=n?"var(--bg-support-atlas-heavy)":"var(--bg-support-capella-heavy)"})(e.data.stabilityRate,l)})})},TK=e=>e.startsWith("new:"),AK=e=>e.startsWith("removed:"),MK=e=>{const{title:t,data:n,i18n:r,statuses:i}=e,o=n.find((e=>"current"===e.id)),a=ha((()=>{const e=[];for(const t of i)e.push(`new:${t}`);for(const t of i)e.push(`removed:${t}`);return e}),[i]),s=ha((()=>[...a.map((e=>{const t=e.replace(":",""),n=e.replace("new:","").replace("removed:","");return{id:e,label:r(`status.${t}`),color:qW(n),value:TK(e)?1:-1}})),{id:"trend",label:r("legend.trend"),color:"var(--bg-support-betelgeuse-medium)",type:"point"}]),[a,r]),l=Math.ceil(1.01*Math.max(...n.map((e=>{const t=Math.abs(a.filter((e=>AK(e))).reduce(((t,n)=>t+(e[n]??0)),0)),n=Math.abs(a.filter((e=>TK(e))).reduce(((t,n)=>t+(e[n]??0)),0));return Math.max(n,t)})))),c=ha((()=>n.map((e=>{const t=2*l,n=((e,t)=>t.reduce(((t,n)=>(TK(n)&&(t[n]=e[n]??0),AK(n)&&(t[n]=-(e[n]??0)),t)),{}))(e,a),r=Math.abs(a.filter((e=>AK(e))).reduce(((e,t)=>e+(n[t]??0)),0)),i=Math.abs(a.filter((e=>TK(e))).reduce(((e,t)=>e+(n[t]??0)),0)),o=WW({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?qc(Fx,{title:t,children:qc(ew,{title:r("no-results"),icon:Wc.lineChartsBarChartSquare})}):1===n.length&&o||d?qc(Fx,{title:t,children:qc(ew,{title:r("no-history"),icon:Wc.lineChartsBarChartSquare})}):qc(Fx,{title:t,children:qc(xK,{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?JY(Math.abs(Number(e))):"-",noLegend:!0,formatLeftTick:e=>{const t=Math.abs(Number(e));return Number.isInteger(t)?JY(Math.abs(Number(e))):""},minValue:-l,maxValue:l,formatTrendValue:e=>{if(-1!==e)return e}})})},LK=e=>"skipped"===e||"unknown"===e,EK=e=>"failed"===e||"broken"===e,NK=(e,t)=>t.reduce(((t,n)=>(LK(n)&&(t[n]=e[n]??0),EK(n)&&(t[n]=-(e[n]??0)),t)),{}),OK=e=>{const{title:t,data:n,i18n:r,statuses:i}=e,o=n.find((e=>"current"===e.id)),a=ha((()=>i.map((e=>({id:e,label:r(`status.${e}`),color:qW(e),value:LK(e)?1:-1})))),[i,r]),s=ha((()=>n.map((e=>({id:e.id,timestamp:e.timestamp,...NK(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 qc(Fx,{title:t,children:qc(ew,{title:r("no-results"),icon:Wc.lineChartsBarChartSquare})});if(1===n.length&&o||c)return qc(Fx,{title:t,children:qc(ew,{title:r("no-history"),icon:Wc.lineChartsBarChartSquare})});const u=Math.max(...s.map((e=>{const t=Math.abs(i.filter((e=>EK(e))).reduce(((t,n)=>t+(e[n]??0)),0)),n=Math.abs(i.filter((e=>LK(e))).reduce(((t,n)=>t+(e[n]??0)),0));return Math.max(t,n)}))),d=Math.ceil(1.01*u);return qc(Fx,{title:t,children:qc(xK,{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 Aw.truncate(r("ticks.current"),{length:15});const t=s.find((t=>t.id===e));return t?Aw.truncate(r("ticks.history",{timestamp:t?.timestamp}),{length:15}):""},bottomTickSize:10,formatLegendValue:({value:e})=>e?JY(Math.abs(Number(e))):"-",noLegend:!0,formatLeftTick:e=>{const t=Math.abs(Number(e));return Number.isInteger(t)?JY(Math.abs(Number(e))):""},minValue:-d,maxValue:d})})};function RK(){return RK=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},RK.apply(null,arguments)}function DK(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 PK={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:!0,motionConfig:"default"},IK=function(e){var t=e.part;return qc(lD,{id:t.data.label,value:t.formattedValue,color:t.color,enableChip:!0})},zK=function(e){var t,n,r=e.data,i=e.width,o=e.height,a=e.direction,s=void 0===a?PK.direction:a,l=e.interpolation,c=void 0===l?PK.interpolation:l,u=e.spacing,d=void 0===u?PK.spacing:u,f=e.shapeBlending,h=void 0===f?PK.shapeBlending:f,p=e.valueFormat,g=e.colors,m=void 0===g?PK.colors:g,v=e.size,b=void 0===v?PK.size:v,y=e.fillOpacity,_=void 0===y?PK.fillOpacity:y,w=e.borderWidth,x=void 0===w?PK.borderWidth:w,k=e.borderColor,C=void 0===k?PK.borderColor:k,S=e.borderOpacity,T=void 0===S?PK.borderOpacity:S,A=e.labelColor,M=void 0===A?PK.labelColor:A,L=e.enableBeforeSeparators,E=void 0===L?PK.enableBeforeSeparators:L,N=e.beforeSeparatorLength,O=void 0===N?PK.beforeSeparatorLength:N,R=e.beforeSeparatorOffset,D=void 0===R?PK.beforeSeparatorOffset:R,P=e.enableAfterSeparators,I=void 0===P?PK.enableAfterSeparators:P,z=e.afterSeparatorLength,B=void 0===z?PK.afterSeparatorLength:z,j=e.afterSeparatorOffset,F=void 0===j?PK.afterSeparatorOffset:j,H=e.isInteractive,$=void 0===H?PK.isInteractive:H,U=e.currentPartSizeExtension,q=void 0===U?PK.currentPartSizeExtension:U,W=e.currentBorderWidth,V=e.onMouseEnter,G=e.onMouseMove,Y=e.onMouseLeave,X=e.onClick,Z=e.tooltip,K=tD(),J=lq(m,"id"),Q=oq(C,K),ee=oq(M,K),te=aH(p),ne=ha((function(){return function(e,t){var n=ob();return"vertical"===t?n.curve("smooth"===e?fb:tb).x0((function(e){return e.x0})).x1((function(e){return e.x1})).y((function(e){return e.y})):n.curve("smooth"===e?fb:tb).y0((function(e){return e.y0})).y1((function(e){return e.y1})).x((function(e){return e.x})),[n,ib().defined((function(e){return null!==e})).x((function(e){return e.x})).y((function(e){return e.y})).curve("smooth"===e?fb:tb)]}(c,s)}),[c,s]),re=ne[0],ie=ne[1],oe=E?O+D:0,ae=I?B+F:0;"vertical"===s?(t=i-oe-ae,n=o):(t=i,n=o-oe-ae);var se=ha((function(){return function(e){var t,n,r=e.data,i=e.width,o=e.height,a=e.spacing;"vertical"===e.direction?(t=o,n=i):(t=i,n=o);var s=(t-a*(r.length-1))/r.length,l=function(e){return a*e+s*e};l.bandwidth=s;var c=r.map((function(e){return e.value}));return[l,Gp().domain([0,Math.max.apply(Math,c)]).range([0,n])]}({data:r,direction:s,width:t,height:n,spacing:d})}),[r,s,t,n,d]),le=se[0],ce=function(e,t){return ha((function(){return function(e,t){if("function"==typeof e)return e;if(Array.isArray(e)){var n=yp(e);return function(e){return Number(n(String(e.id)))}}if(Ts(e)){if(function(e){return void 0!==e.datum}(e))return function(t){var n=As(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])}(b,se[1]),ue=la(null),de=ue[0],fe=ue[1],he=ha((function(){var e=r.map((function(e,r){var i,o,a,l,c=e.id===de,u=ce(e);"vertical"===s?(i=u,o=le.bandwidth,l=oe+.5*(t-i),a=le(r)):(i=le.bandwidth,o=u,l=le(r),a=oe+.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:J(e),fillOpacity:_,borderWidth:c&&void 0!==W?W:x,borderOpacity:T,formattedValue:te(e.value),isCurrent:c,x:f,x0:l,x1:d,y:p,y0:a,y1:h,borderColor:"",labelColor:"",points:[],areaPoints:[],borderPoints:[]};return g.borderColor=Q(g),g.labelColor=ee(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-=q,t.points[1].x+=q,t.points[2].x+=q,t.points[3].x-=q),t.areaPoints=[{x:0,x0:t.points[0].x,x1:t.points[1].x,y:t.y0,y0:0,y1:0}],t.areaPoints.push(RK({},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(RK({},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-=q,t.points[1].y-=q,t.points[2].y+=q,t.points[3].y+=q),t.areaPoints=[{x:t.x0,x0:0,x1:0,y:0,y0:t.points[0].y,y1:t.points[3].y}],t.areaPoints.push(RK({},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(RK({},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,le,t,n,oe,h,J,te,Q,ee,de,T,x,W,q,_,ce]),pe=bD(),ge=pe.showTooltipFromEvent,me=pe.hideTooltip,ve=ha((function(){return function(e){var t=e.parts,n=e.setCurrentPartId,r=e.onMouseEnter,i=e.onMouseLeave,o=e.onMouseMove,a=e.onClick,s=e.showTooltipFromEvent,l=e.hideTooltip,c=e.tooltip,u=void 0===c?IK:c;return e.isInteractive?t.map((function(e){return RK({},e,{onMouseEnter:function(t){n(e.data.id),s(wo(u,{part:e}),t),null==r||r(e,t)},onMouseLeave:function(t){n(null),l(),null==i||i(e,t)},onMouseMove:function(t){s(wo(u,{part:e}),t),null==o||o(e,t)},onClick:void 0!==a?function(t){a(e,t)}:void 0})})):t}({parts:he,setCurrentPartId:fe,isInteractive:$,onMouseEnter:V,onMouseLeave:Y,onMouseMove:G,onClick:X,showTooltipFromEvent:ge,hideTooltip:me,tooltip:Z})}),[he,fe,$,V,Y,G,X,ge,me,Z]),be=ha((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(RK({},u[u.length-1],{partId:"none",y0:h,y1:h})),l&&d.push(RK({},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(RK({},u[u.length-1],{partId:"none",x0:p,x1:p})),d.push(RK({},d[d.length-1],{partId:"none",x0:p,x1:p}))}return[u,d]}({parts:he,direction:s,width:i,height:o,spacing:d,enableBeforeSeparators:E,beforeSeparatorOffset:D,enableAfterSeparators:I,afterSeparatorOffset:F})}),[he,s,i,o,d,E,D,I,F]),ye=be[0],_e=be[1],we=ha((function(){return{width:i,height:o,parts:ve,areaGenerator:re,borderGenerator:ie,beforeSeparators:ye,afterSeparators:_e,setCurrentPartId:fe}}),[i,o,ve,re,ie,ye,_e,fe]);return{parts:ve,areaGenerator:re,borderGenerator:ie,beforeSeparators:ye,afterSeparators:_e,setCurrentPartId:fe,currentPartId:de,customLayerProps:we}},BK=function(e){var t=e.part,n=e.areaGenerator,r=e.borderGenerator,i=CF(),o=i.animate,a=i.config,s=JF(n(t.areaPoints)),l=JF(r(t.borderPoints)),c=cM({areaColor:t.color,borderWidth:t.borderWidth,borderColor:t.borderColor,config:a,immediate:!o});return qc(ko,{children:[t.borderWidth>0&&qc(_E.path,{d:l,stroke:c.borderColor,strokeWidth:c.borderWidth,strokeOpacity:t.borderOpacity,fill:"none"}),qc(_E.path,{d:s,fill:c.areaColor,fillOpacity:t.fillOpacity,onMouseEnter:t.onMouseEnter,onMouseLeave:t.onMouseLeave,onMouseMove:t.onMouseMove,onClick:t.onClick})]})},jK=function(e){var t=e.parts,n=e.areaGenerator,r=e.borderGenerator;return qc(ko,{children:t.map((function(e){return qc(BK,{part:e,areaGenerator:n,borderGenerator:r},e.data.id)}))})},FK=function(e){var t=e.part,n=tD(),r=CF(),i=r.animate,o=r.config,a=cM({transform:"translate("+t.x+", "+t.y+")",color:t.labelColor,config:o,immediate:!i});return qc(_E.g,{transform:a.transform,children:qc(EH,{textAnchor:"middle",dominantBaseline:"central",style:RK({},n.labels.text,{fill:a.color,pointerEvents:"none"}),children:t.formattedValue})})},HK=function(e){return qc(ko,{children:e.parts.map((function(e){return qc(FK,{part:e},e.data.id)}))})},$K=function(e){var t=e.separator,n=tD(),r=CF(),i=r.animate,o=r.config,a=cM({x1:t.x0,x2:t.x1,y1:t.y0,y2:t.y1,config:o,immediate:!i});return qc(_E.line,RK({x1:a.x1,x2:a.x2,y1:a.y1,y2:a.y2,fill:"none"},n.grid.line))},UK=function(e){var t=e.beforeSeparators,n=e.afterSeparators;return qc(ko,{children:[t.map((function(e){return qc($K,{separator:e},e.partId)})),n.map((function(e){return qc($K,{separator:e},e.partId)}))]})},qK=function(e){var t=function(e,t){return wX({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 qc(ko,{children:t.map((function(e,t){return qc(MX,RK({},e),t)}))})},WK=["isInteractive","animate","motionConfig","theme","renderWrapper"],VK=function(e){var t=e.data,n=e.width,r=e.height,i=e.margin,o=e.direction,a=void 0===o?PK.direction:o,s=e.interpolation,l=void 0===s?PK.interpolation:s,c=e.spacing,u=void 0===c?PK.spacing:c,d=e.shapeBlending,f=void 0===d?PK.shapeBlending:d,h=e.valueFormat,p=e.colors,g=void 0===p?PK.colors:p,m=e.size,v=void 0===m?PK.size:m,b=e.fillOpacity,y=void 0===b?PK.fillOpacity:b,_=e.borderWidth,w=void 0===_?PK.borderWidth:_,x=e.borderColor,k=void 0===x?PK.borderColor:x,C=e.borderOpacity,S=void 0===C?PK.borderOpacity:C,T=e.enableLabel,A=void 0===T?PK.enableLabel:T,M=e.labelColor,L=void 0===M?PK.labelColor:M,E=e.enableBeforeSeparators,N=void 0===E?PK.enableBeforeSeparators:E,O=e.beforeSeparatorLength,R=void 0===O?PK.beforeSeparatorLength:O,D=e.beforeSeparatorOffset,P=void 0===D?PK.beforeSeparatorOffset:D,I=e.enableAfterSeparators,z=void 0===I?PK.enableAfterSeparators:I,B=e.afterSeparatorLength,j=void 0===B?PK.afterSeparatorLength:B,F=e.afterSeparatorOffset,H=void 0===F?PK.afterSeparatorOffset:F,$=e.layers,U=void 0===$?PK.layers:$,q=e.annotations,W=void 0===q?PK.annotations:q,V=e.isInteractive,G=void 0===V?PK.isInteractive:V,Y=e.currentPartSizeExtension,X=void 0===Y?PK.currentPartSizeExtension:Y,Z=e.currentBorderWidth,K=e.onMouseEnter,J=e.onMouseMove,Q=e.onMouseLeave,ee=e.onClick,te=e.tooltip,ne=e.role,re=void 0===ne?PK.role:ne,ie=e.ariaLabel,oe=e.ariaLabelledBy,ae=e.ariaDescribedBy,se=e.forwardedRef,le=rH(n,r,i),ce=le.margin,ue=le.innerWidth,de=le.innerHeight,fe=le.outerWidth,he=le.outerHeight,pe=zK({data:t,width:ue,height:de,direction:a,interpolation:l,spacing:u,shapeBlending:f,valueFormat:h,colors:g,size:v,fillOpacity:y,borderWidth:w,borderColor:k,borderOpacity:S,labelColor:L,enableBeforeSeparators:N,beforeSeparatorLength:R,beforeSeparatorOffset:P,enableAfterSeparators:z,afterSeparatorLength:j,afterSeparatorOffset:H,isInteractive:G,currentPartSizeExtension:X,currentBorderWidth:Z,onMouseEnter:K,onMouseMove:J,onMouseLeave:Q,onClick:ee,tooltip:te}),ge=pe.areaGenerator,me=pe.borderGenerator,ve=pe.parts,be=pe.beforeSeparators,ye=pe.afterSeparators,_e=pe.customLayerProps,we={separators:null,parts:null,annotations:null,labels:null};return U.includes("separators")&&(we.separators=qc(UK,{beforeSeparators:be,afterSeparators:ye},"separators")),U.includes("parts")&&(we.parts=qc(jK,{parts:ve,areaGenerator:ge,borderGenerator:me},"parts")),null!=U&&U.includes("annotations")&&(we.annotations=qc(qK,{parts:ve,annotations:W},"annotations")),U.includes("labels")&&A&&(we.labels=qc(HK,{parts:ve},"labels")),qc(GF,{width:fe,height:he,margin:ce,role:re,ariaLabel:ie,ariaLabelledBy:oe,ariaDescribedBy:ae,ref:se,children:U.map((function(e,t){var n;return"function"==typeof e?qc(ko,{children:wo(e,_e)},t):null!=(n=null==we?void 0:we[e])?n:null}))})},GK=Ka((function(e,t){var n=e.isInteractive,r=void 0===n?PK.isInteractive:n,i=e.animate,o=void 0===i?PK.animate:i,a=e.motionConfig,s=void 0===a?PK.motionConfig:a,l=e.theme,c=e.renderWrapper,u=DK(e,WK);return qc(AF,{animate:o,isInteractive:r,motionConfig:s,renderWrapper:c,theme:l,children:qc(VK,RK({isInteractive:r},u,{forwardedRef:t}))})})),YK=["defaultWidth","defaultHeight","onResize","debounceResize"],XK=Ka((function(e,t){var n=e.defaultWidth,r=e.defaultHeight,i=e.onResize,o=e.debounceResize,a=DK(e,YK);return qc(EF,{defaultWidth:n,defaultHeight:r,onResize:i,debounceResize:o,children:function(e){var n=e.width,r=e.height;return qc(GK,RK({width:n,height:r},a,{ref:t}))}})}));const ZK={background:"var(--bg-base-primary)",axis:{ticks:{text:{fill:"var(--on-text-secondary)"}},legend:{text:{fill:"var(--on-text-primary)"}}},grid:{line:{stroke:"var(--on-border-muted)"}},legends:{text:{fill:"var(--on-text-secondary)"}},tooltip:{container:{background:"var(--bg-base-modal)",color:"var(--on-text-primary)"}},text:{fill:"var(--on-text-primary)"}},KK=e=>{const t=tD(),{animate:n,config:r}=CF(),i=cM({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"),qc(WY.g,{transform:i.transform,children:qc(EH,{style:{...t.labels.text,pointerEvents:"none"},lineHeight:1.2,children:o.map(((e,t)=>qc(WY.tspan,{x:0,dy:0===t?0:"1.2em",children:e},t)))},e.data.id)})},JK=e=>{const{parts:t}=e;return t.map((e=>qc(KK,{...e},e.data.id)))},QK=e=>{const{data:t,title:n,translations:r,height:i=400,width:o="100%"}=e,a=r["no-results"],s=ha((()=>[...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(--bg-support-aldebaran)":"var(--bg-support-rau)"})))),[t]);return t&&0!==t.length?qc(Fx,{title:n,children:qc("div",{role:"img",tabIndex:0,style:{width:o,height:i},children:qc(XK,{data:s,theme:ZK,enableLabel:!1,layers:["separators","parts","labels","annotations",JK],interpolation:"linear",spacing:5,shapeBlending:0,borderWidth:0,colors:e=>e.color,labelColor:{theme:"background"},enableAfterSeparators:!1})})}):qc(Fx,{title:n,children:qc(UW,{label:a,width:o,height:i,ariaLabel:a})})};function eJ(){return eJ=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},eJ.apply(null,arguments)}var tJ={pointerEvents:"none"},nJ=function(e){var t=e.label,n=e.style,r=tD();return qc(_E.g,{transform:n.transform,opacity:n.progress,style:tJ,children:qc(EH,{textAnchor:"middle",dominantBaseline:"central",style:eJ({},r.labels.text,{fill:n.textColor}),children:t})})},rJ=function(e){var t=e%(2*Math.PI);return t<0&&(t+=2*Math.PI),t},iJ=function(e,t){return e.filter((function(e){return Math.abs(BF(e.arc.endAngle-e.arc.startAngle))>=t}))},oJ={startAngle:{enter:function(e){return eJ({},e,{endAngle:e.startAngle})},update:function(e){return e},leave:function(e){return eJ({},e,{startAngle:e.endAngle})}},middleAngle:{enter:function(e){var t=e.startAngle+(e.endAngle-e.startAngle)/2;return eJ({},e,{startAngle:t,endAngle:t})},update:function(e){return e},leave:function(e){var t=e.startAngle+(e.endAngle-e.startAngle)/2;return eJ({},e,{startAngle:t,endAngle:t})}},endAngle:{enter:function(e){return eJ({},e,{startAngle:e.endAngle})},update:function(e){return e},leave:function(e){return eJ({},e,{endAngle:e.startAngle})}},innerRadius:{enter:function(e){return eJ({},e,{outerRadius:e.innerRadius})},update:function(e){return e},leave:function(e){return eJ({},e,{innerRadius:e.outerRadius})}},centerRadius:{enter:function(e){var t=e.innerRadius+(e.outerRadius-e.innerRadius)/2;return eJ({},e,{innerRadius:t,outerRadius:t})},update:function(e){return e},leave:function(e){var t=e.innerRadius+(e.outerRadius-e.innerRadius)/2;return eJ({},e,{innerRadius:t,outerRadius:t})}},outerRadius:{enter:function(e){return eJ({},e,{innerRadius:e.outerRadius})},update:function(e){return e},leave:function(e){return eJ({},e,{outerRadius:e.innerRadius})}},pushIn:{enter:function(e){return eJ({},e,{innerRadius:e.innerRadius-e.outerRadius+e.innerRadius,outerRadius:e.innerRadius})},update:function(e){return e},leave:function(e){return eJ({},e,{innerRadius:e.outerRadius,outerRadius:e.outerRadius+e.outerRadius-e.innerRadius})}},pushOut:{enter:function(e){return eJ({},e,{innerRadius:e.outerRadius,outerRadius:e.outerRadius+e.outerRadius-e.innerRadius})},update:function(e){return e},leave:function(e){return eJ({},e,{innerRadius:e.innerRadius-e.outerRadius+e.innerRadius,outerRadius:e.innerRadius})}}},aJ=function(e,t){return ha((function(){var n=oJ[e];return{enter:function(e){return eJ({progress:0},n.enter(e.arc),t?t.enter(e):{})},update:function(e){return eJ({progress:1},n.update(e.arc),t?t.update(e):{})},leave:function(e){return eJ({progress:0},n.leave(e.arc),t?t.leave(e):{})}}}),[e,t])},sJ=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 jF(n,r)},lJ=function(e){return function(t,n,r,i){return mM([t,n,r,i],(function(t,n,r,i){var o=sJ({startAngle:t,endAngle:n,innerRadius:r,outerRadius:i},e);return"translate("+o.x+","+o.y+")"}))}},cJ=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?nJ:c,d=lH(i),f=tD(),h=oq(l,f),p=ha((function(){return n.filter((function(e){var t=Math.abs(BF(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){void 0===t&&(t=.5),void 0===n&&(n="innerRadius");var r=CF(),i=r.animate,o=r.config,a=aJ(n,void 0);return{transition:uM(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:lJ(t)}}(p,o,r),m=g.transition,v=g.interpolate,b=u;return qc("g",{transform:"translate("+t[0]+","+t[1]+")",children:m((function(e,t){return wo(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)}})}))})},uJ=function(e){var t=e.label,n=e.style,r=tD();return qc(_E.g,{opacity:n.opacity,children:[qc(_E.path,{fill:"none",stroke:n.linkColor,strokeWidth:n.thickness,d:n.path}),qc(EH,{transform:n.textPosition,textAnchor:n.textAnchor,dominantBaseline:"central",style:eJ({},r.labels.text,{fill:n.textColor}),children:t})]})},dJ=function(e,t,n,r){var i,o,a=rJ(e.startAngle+(e.endAngle-e.startAngle)/2-Math.PI/2),s=jF(a,e.outerRadius+t),l=jF(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]}},fJ=ib().x((function(e){return e.x})).y((function(e){return e.y})),hJ=function(e,t,n,r,i,o,a){return mM([e,t,n,r,i,o,a],(function(e,t,n,r,i,o,a){var s=dJ({startAngle:e,endAngle:t,outerRadius:r},i,o,a).points;return fJ(s)}))},pJ=function(e,t,n,r){return mM([e,t,n,r],(function(e,t,n,r){return function(e){var t=rJ(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})}))},gJ=function(e,t,n,r,i,o,a,s){return mM([e,t,n,r,i,o,a,s],(function(e,t,n,r,i,o,a,s){var l=dJ({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+")"}))},mJ=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?uJ:f,p=lH(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=CF(),f=d.animate,h=d.config,p=tD(),g=oq(c,p),m=oq(u,p),v=function(e,t){return ha((function(){return iJ(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 ha((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:uM(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:hJ,interpolateTextAnchor:pJ,interpolateTextPosition:gJ}}({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 qc("g",{transform:"translate("+t[0]+","+t[1]+")",children:m((function(e,t){return wo(_,{key:t.id,datum:t,label:p(t),style:eJ({},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)})})}))})},vJ=function(e){var t=e.datum,n=e.style,r=e.onClick,i=e.onMouseEnter,o=e.onMouseMove,a=e.onMouseLeave,s=pa((function(e){return null==r?void 0:r(t,e)}),[r,t]),l=pa((function(e){return null==i?void 0:i(t,e)}),[i,t]),c=pa((function(e){return null==o?void 0:o(t,e)}),[o,t]),u=pa((function(e){return null==a?void 0:a(t,e)}),[a,t]);return qc(_E.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})},bJ=function(e,t,n,r,i){return mM([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)})}))},yJ=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?vJ:d,h=tD(),p=oq(o,h),g=function(e,t,n){void 0===t&&(t="innerRadius");var r=CF(),i=r.animate,o=r.config,a=aJ(t,n);return{transition:uM(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:bJ}}(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 qc("g",{transform:"translate("+t[0]+","+t[1]+")",children:m((function(e,t){return wo(b,{key:t.id,datum:t,style:eJ({},e,{borderWidth:i,path:v(e.startAngle,e.endAngle,e.innerRadius,e.outerRadius,r)}),onClick:a,onMouseEnter:s,onMouseMove:l,onMouseLeave:c})}))})},_J=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 ha((function(){return Jv().innerRadius((function(e){return e.innerRadius})).outerRadius((function(e){return e.outerRadius})).cornerRadius(r).padAngle(o)}),[r,o])};function wJ(){return wJ=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},wJ.apply(null,arguments)}function xJ(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 kJ,CJ=function(e){var t=e.width,n=e.height,r=e.legends,i=e.data,o=e.toggleSerie;return qc(ko,{children:r.map((function(e,r){var a;return qc(Sq,wJ({},e,{containerWidth:t,containerHeight:n,data:null!=(a=e.data)?a:i,toggleSerie:e.toggleSerie?o:void 0}),r)}))})},SJ={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 qc(lD,{id:t.id,value:t.formattedValue,enableChip:!0,color:t.color})},legends:[],role:"img",pixelRatio:"undefined"!=typeof window&&null!=(kJ=window.devicePixelRatio)?kJ:1},TJ=["points"],AJ=function(e){var t=e.data,n=e.id,r=void 0===n?SJ.id:n,i=e.value,o=void 0===i?SJ.value:i,a=e.valueFormat,s=e.colors,l=void 0===s?SJ.colors:s,c=lH(r),u=lH(o),d=aH(a),f=lq(l,"id");return ha((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 wJ({},i,{color:f(i)})}))}),[t,c,u,d,f])},MJ=function(e){var t=e.data,n=e.width,r=e.height,i=e.innerRadius,o=void 0===i?SJ.innerRadius:i,a=e.startAngle,s=void 0===a?SJ.startAngle:a,l=e.endAngle,c=void 0===l?SJ.endAngle:l,u=e.padAngle,d=void 0===u?SJ.padAngle:u,f=e.sortByValue,h=void 0===f?SJ.sortByValue:f,p=e.cornerRadius,g=void 0===p?SJ.cornerRadius:p,m=e.fit,v=void 0===m?SJ.fit:m,b=e.activeInnerRadiusOffset,y=void 0===b?SJ.activeInnerRadiusOffset:b,_=e.activeOuterRadiusOffset,w=void 0===_?SJ.activeOuterRadiusOffset:_,x=e.activeId,k=e.onActiveIdChange,C=e.defaultActiveId,S=e.forwardLegendData,T=function(e){var t=e.activeId,n=e.onActiveIdChange,r=e.defaultActiveId,i=void 0!==t,o=la(i||void 0===r?null:r),a=o[0],s=o[1];return{activeId:i?t:a,setActiveId:pa((function(e){n&&n(e),i||s(e)}),[i,n,s])}}({activeId:x,onActiveIdChange:k,defaultActiveId:C}),A=T.activeId,M=T.setActiveId,L=la([]),E=L[0],N=L[1],O=ha((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=jF(zF(r),n);a.push([s.x,s.y]);var l=jF(zF(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=jF(zF(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=xJ(u,TJ),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]),R=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=ha((function(){var e=lb().value((function(e){return e.value})).startAngle(zF(n)).endAngle(zF(r)).padAngle(zF(a));return s||e.sortValues(null),e}),[n,r,a,s]),p=ha((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 wJ({},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:BF(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=fa(f);return ua((function(){"function"==typeof m.current&&m.current(g)}),[m,g]),p}({data:t,startAngle:s,endAngle:c,innerRadius:O.innerRadius,outerRadius:O.radius,padAngle:d,sortByValue:h,activeId:A,activeInnerRadiusOffset:y,activeOuterRadiusOffset:w,hiddenIds:E,forwardLegendData:S}),D=pa((function(e){N((function(t){return t.indexOf(e)>-1?t.filter((function(t){return t!==e})):[].concat(t,[e])}))}),[]);return wJ({arcGenerator:_J({cornerRadius:g,padAngle:zF(d)}),activeId:A,setActiveId:M,toggleSerie:D},R,O)},LJ=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=bD(),g=p.showTooltipFromEvent,m=p.hideTooltip,v=ha((function(){if(a)return function(e,t){null==s||s(e,t)}}),[a,s]),b=ha((function(){if(a)return function(e,t){g(wo(f,{datum:e}),t),d(e.id),null==l||l(e,t)}}),[a,g,d,l,f]),y=ha((function(){if(a)return function(e,t){g(wo(f,{datum:e}),t),null==c||c(e,t)}}),[a,g,c,f]),_=ha((function(){if(a)return function(e,t){m(),d(null),null==u||u(e,t)}}),[a,m,d,u]);return qc(yJ,{center:t,data:n,arcGenerator:r,borderWidth:i,borderColor:o,transitionMode:h,onClick:v,onMouseEnter:b,onMouseMove:y,onMouseLeave:_})},EJ=["isInteractive","animate","motionConfig","theme","renderWrapper"],NJ=function(e){var t=e.data,n=e.id,r=void 0===n?SJ.id:n,i=e.value,o=void 0===i?SJ.value:i,a=e.valueFormat,s=e.sortByValue,l=void 0===s?SJ.sortByValue:s,c=e.layers,u=void 0===c?SJ.layers:c,d=e.startAngle,f=void 0===d?SJ.startAngle:d,h=e.endAngle,p=void 0===h?SJ.endAngle:h,g=e.padAngle,m=void 0===g?SJ.padAngle:g,v=e.fit,b=void 0===v?SJ.fit:v,y=e.innerRadius,_=void 0===y?SJ.innerRadius:y,w=e.cornerRadius,x=void 0===w?SJ.cornerRadius:w,k=e.activeInnerRadiusOffset,C=void 0===k?SJ.activeInnerRadiusOffset:k,S=e.activeOuterRadiusOffset,T=void 0===S?SJ.activeOuterRadiusOffset:S,A=e.width,M=e.height,L=e.margin,E=e.colors,N=void 0===E?SJ.colors:E,O=e.borderWidth,R=void 0===O?SJ.borderWidth:O,D=e.borderColor,P=void 0===D?SJ.borderColor:D,I=e.enableArcLabels,z=void 0===I?SJ.enableArcLabels:I,B=e.arcLabel,j=void 0===B?SJ.arcLabel:B,F=e.arcLabelsSkipAngle,H=void 0===F?SJ.arcLabelsSkipAngle:F,$=e.arcLabelsSkipRadius,U=void 0===$?SJ.arcLabelsSkipRadius:$,q=e.arcLabelsTextColor,W=void 0===q?SJ.arcLabelsTextColor:q,V=e.arcLabelsRadiusOffset,G=void 0===V?SJ.arcLabelsRadiusOffset:V,Y=e.arcLabelsComponent,X=e.enableArcLinkLabels,Z=void 0===X?SJ.enableArcLinkLabels:X,K=e.arcLinkLabel,J=void 0===K?SJ.arcLinkLabel:K,Q=e.arcLinkLabelsSkipAngle,ee=void 0===Q?SJ.arcLinkLabelsSkipAngle:Q,te=e.arcLinkLabelsOffset,ne=void 0===te?SJ.arcLinkLabelsOffset:te,re=e.arcLinkLabelsDiagonalLength,ie=void 0===re?SJ.arcLinkLabelsDiagonalLength:re,oe=e.arcLinkLabelsStraightLength,ae=void 0===oe?SJ.arcLinkLabelsStraightLength:oe,se=e.arcLinkLabelsThickness,le=void 0===se?SJ.arcLinkLabelsThickness:se,ce=e.arcLinkLabelsTextOffset,ue=void 0===ce?SJ.arcLinkLabelsTextOffset:ce,de=e.arcLinkLabelsTextColor,fe=void 0===de?SJ.arcLinkLabelsTextColor:de,he=e.arcLinkLabelsColor,pe=void 0===he?SJ.arcLinkLabelsColor:he,ge=e.arcLinkLabelComponent,me=e.defs,ve=void 0===me?SJ.defs:me,be=e.fill,ye=void 0===be?SJ.fill:be,_e=e.isInteractive,we=void 0===_e?SJ.isInteractive:_e,xe=e.onClick,ke=e.onMouseEnter,Ce=e.onMouseMove,Se=e.onMouseLeave,Te=e.tooltip,Ae=void 0===Te?SJ.tooltip:Te,Me=e.activeId,Le=e.onActiveIdChange,Ee=e.defaultActiveId,Ne=e.transitionMode,Oe=void 0===Ne?SJ.transitionMode:Ne,Re=e.legends,De=void 0===Re?SJ.legends:Re,Pe=e.forwardLegendData,Ie=e.role,ze=void 0===Ie?SJ.role:Ie,Be=e.forwardedRef,je=rH(A,M,L),Fe=je.outerWidth,He=je.outerHeight,$e=je.margin,Ue=je.innerWidth,qe=je.innerHeight,We=AJ({data:t,id:r,value:o,valueFormat:a,colors:N}),Ve=MJ({data:We,width:Ue,height:qe,fit:b,innerRadius:_,startAngle:f,endAngle:p,padAngle:m,sortByValue:l,cornerRadius:x,activeInnerRadiusOffset:C,activeOuterRadiusOffset:T,activeId:Me,onActiveIdChange:Le,defaultActiveId:Ee,forwardLegendData:Pe}),Ge=Ve.dataWithArc,Ye=Ve.legendData,Xe=Ve.arcGenerator,Ze=Ve.centerX,Ke=Ve.centerY,Je=Ve.radius,Qe=Ve.innerRadius,et=Ve.setActiveId,tt=Ve.toggleSerie,nt=pH(ve,Ge,ye),rt={arcs:null,arcLinkLabels:null,arcLabels:null,legends:null};u.includes("arcs")&&(rt.arcs=qc(LJ,{center:[Ze,Ke],data:Ge,arcGenerator:Xe,borderWidth:R,borderColor:P,isInteractive:we,onClick:xe,onMouseEnter:ke,onMouseMove:Ce,onMouseLeave:Se,setActiveId:et,tooltip:Ae,transitionMode:Oe},"arcs")),Z&&u.includes("arcLinkLabels")&&(rt.arcLinkLabels=qc(mJ,{center:[Ze,Ke],data:Ge,label:J,skipAngle:ee,offset:ne,diagonalLength:ie,straightLength:ae,strokeWidth:le,textOffset:ue,textColor:fe,linkColor:pe,component:ge},"arcLinkLabels")),z&&u.includes("arcLabels")&&(rt.arcLabels=qc(cJ,{center:[Ze,Ke],data:Ge,label:j,radiusOffset:G,skipAngle:H,skipRadius:U,textColor:W,transitionMode:Oe,component:Y},"arcLabels")),De.length>0&&u.includes("legends")&&(rt.legends=qc(CJ,{width:Ue,height:qe,data:Ye,legends:De,toggleSerie:tt},"legends"));var it=function(e){var t=e.dataWithArc,n=e.arcGenerator,r=e.centerX,i=e.centerY,o=e.radius,a=e.innerRadius;return ha((function(){return{dataWithArc:t,arcGenerator:n,centerX:r,centerY:i,radius:o,innerRadius:a}}),[t,n,r,i,o,a])}({dataWithArc:Ge,arcGenerator:Xe,centerX:Ze,centerY:Ke,radius:Je,innerRadius:Qe});return qc(GF,{width:Fe,height:He,margin:$e,defs:nt,role:ze,ref:Be,children:u.map((function(e,t){return void 0!==rt[e]?rt[e]:"function"==typeof e?qc(ko,{children:wo(e,it)},t):null}))})},OJ=Ka((function(e,t){var n=e.isInteractive,r=void 0===n?SJ.isInteractive:n,i=e.animate,o=void 0===i?SJ.animate:i,a=e.motionConfig,s=void 0===a?SJ.motionConfig:a,l=e.theme,c=e.renderWrapper,u=xJ(e,EJ);return qc(AF,{animate:o,isInteractive:r,motionConfig:s,renderWrapper:c,theme:l,children:qc(NJ,wJ({isInteractive:r},u,{forwardedRef:t}))})})),RJ=["defaultWidth","defaultHeight","onResize","debounceResize"];Ka((function(e,t){var n=e.defaultWidth,r=e.defaultHeight,i=e.onResize,o=e.debounceResize,a=xJ(e,RJ);return qc(EF,{defaultWidth:n,defaultHeight:r,onResize:i,debounceResize:o,children:function(e){var n=e.width,r=e.height;return qc(OJ,wJ({width:n,height:r},a,{ref:t}))}})}));var DJ=["isInteractive","theme","renderWrapper"],PJ=function(e){var t=e.data,n=e.id,r=void 0===n?SJ.id:n,i=e.value,o=void 0===i?SJ.value:i,a=e.valueFormat,s=e.sortByValue,l=void 0===s?SJ.sortByValue:s,c=e.startAngle,u=void 0===c?SJ.startAngle:c,d=e.endAngle,f=void 0===d?SJ.endAngle:d,h=e.padAngle,p=void 0===h?SJ.padAngle:h,g=e.fit,m=void 0===g?SJ.fit:g,v=e.innerRadius,b=void 0===v?SJ.innerRadius:v,y=e.cornerRadius,_=void 0===y?SJ.cornerRadius:y,w=e.activeInnerRadiusOffset,x=void 0===w?SJ.activeInnerRadiusOffset:w,k=e.activeOuterRadiusOffset,C=void 0===k?SJ.activeOuterRadiusOffset:k,S=e.width,T=e.height,A=e.margin,M=e.pixelRatio,L=void 0===M?SJ.pixelRatio:M,E=e.colors,N=void 0===E?SJ.colors:E,O=e.borderWidth,R=void 0===O?SJ.borderWidth:O,D=e.borderColor,P=void 0===D?SJ.borderColor:D,I=e.enableArcLabels,z=void 0===I?SJ.enableArcLabels:I,B=e.arcLabel,j=void 0===B?SJ.arcLabel:B,F=e.arcLabelsSkipAngle,H=void 0===F?SJ.arcLabelsSkipAngle:F,$=e.arcLabelsTextColor,U=void 0===$?SJ.arcLabelsTextColor:$,q=e.arcLabelsRadiusOffset,W=void 0===q?SJ.arcLabelsRadiusOffset:q,V=e.enableArcLinkLabels,G=void 0===V?SJ.enableArcLinkLabels:V,Y=e.arcLinkLabel,X=void 0===Y?SJ.arcLinkLabel:Y,Z=e.arcLinkLabelsSkipAngle,K=void 0===Z?SJ.arcLinkLabelsSkipAngle:Z,J=e.arcLinkLabelsOffset,Q=void 0===J?SJ.arcLinkLabelsOffset:J,ee=e.arcLinkLabelsDiagonalLength,te=void 0===ee?SJ.arcLinkLabelsDiagonalLength:ee,ne=e.arcLinkLabelsStraightLength,re=void 0===ne?SJ.arcLinkLabelsStraightLength:ne,ie=e.arcLinkLabelsThickness,oe=void 0===ie?SJ.arcLinkLabelsThickness:ie,ae=e.arcLinkLabelsTextOffset,se=void 0===ae?SJ.arcLinkLabelsTextOffset:ae,le=e.arcLinkLabelsTextColor,ce=void 0===le?SJ.arcLinkLabelsTextColor:le,ue=e.arcLinkLabelsColor,de=void 0===ue?SJ.arcLinkLabelsColor:ue,fe=e.isInteractive,he=void 0===fe?SJ.isInteractive:fe,pe=e.onClick,ge=e.onMouseMove,me=e.tooltip,ve=void 0===me?SJ.tooltip:me,be=e.activeId,ye=e.onActiveIdChange,_e=e.defaultActiveId,we=e.legends,xe=void 0===we?SJ.legends:we,ke=e.forwardLegendData,Ce=e.role,Se=e.forwardedRef,Te=fa(null),Ae=tD(),Me=rH(S,T,A),Le=Me.margin,Ee=Me.innerWidth,Ne=Me.innerHeight,Oe=Me.outerWidth,Re=Me.outerHeight,De=AJ({data:t,id:r,value:o,valueFormat:a,colors:N}),Pe=MJ({data:De,width:Ee,height:Ne,fit:m,innerRadius:b,startAngle:u,endAngle:f,padAngle:p,sortByValue:l,cornerRadius:_,activeInnerRadiusOffset:x,activeOuterRadiusOffset:C,activeId:be,onActiveIdChange:ye,defaultActiveId:_e,forwardLegendData:ke}),Ie=Pe.dataWithArc,ze=Pe.arcGenerator,Be=Pe.centerX,je=Pe.centerY,Fe=Pe.radius,He=Pe.innerRadius,$e=Pe.setActiveId,Ue=oq(P,Ae),qe=function(e){var t=e.data,n=e.offset,r=e.skipAngle,i=e.label,o=e.textColor,a=lH(i),s=tD(),l=oq(o,s),c=pa((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 ha((function(){return iJ(t,o).map((function(e){var t=sJ(e.arc,r);return eJ({},s(e),{x:t.x,y:t.y,data:e})}))}),[t,r,o,s])}({data:t,offset:n,skipAngle:r,computeExtraProps:c})}({data:Ie,label:j,skipAngle:H,offset:W,textColor:U}),We=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=lH(l),f=tD(),h=oq(c,f),p=oq(u,f),g=pa((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"),eJ({},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=ha((function(){return t.filter((function(e){return Math.abs(BF(e.arc.endAngle-e.arc.startAngle))>=r})).map((function(e){return eJ({},dJ(e.arc,o,a,s),{data:e})}))}),[t,r,o,a,s]);return ha((function(){return u.map((function(e){return eJ({},c(e),e)}))}),[u,c])}({data:t,skipAngle:n,offset:r,diagonalLength:i,straightLength:o,computeExtraProps:g})}({data:Ie,skipAngle:K,offset:Q,diagonalLength:te,straightLength:re,label:X,linkColor:de,textOffset:se,textColor:ce});ua((function(){if(Te.current){Te.current.width=Oe*L,Te.current.height=Re*L;var e=Te.current.getContext("2d");e.scale(L,L),e.fillStyle=Ae.background,e.fillRect(0,0,Oe,Re),e.save(),e.translate(Le.left,Le.top),ze.context(e),e.save(),e.translate(Be,je),Ie.forEach((function(t){e.beginPath(),e.fillStyle=t.color,e.strokeStyle=Ue(t),e.lineWidth=R,ze(t.arc),e.fill(),R>0&&e.stroke()})),!0===G&&function(e,t,n,r){e.textBaseline="middle",mH(e,n.labels.text),t.forEach((function(t){e.textAlign=FF.canvas.align[t.textAnchor],vH(e,eJ({},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()}))}(e,We,Ae,oe),!0===z&&function(e,t,n){mH(e,n.labels.text),e.textAlign="center",e.textBaseline="middle",t.forEach((function(t){vH(e,eJ({},n.labels.text,{fill:t.textColor}),String(t.label),t.x,t.y)}))}(e,qe,Ae),e.restore(),xe.forEach((function(t){Aq(e,wJ({},t,{data:Ie,containerWidth:Ee,containerHeight:Ne,theme:Ae}))}))}}),[Te,Ee,Ne,Oe,Re,Le.top,Le.left,L,Be,je,ze,Ie,R,Ue,z,qe,G,We,oe,xe,Ae]);var Ve=ha((function(){return Ie.map((function(e){return wJ({id:e.id},e.arc)}))}),[Ie]),Ge=function(e){if(!Te.current)return null;var t=dH(Te.current,e),n=t[0],r=t[1],i=function(e,t,n,r,i,o,a){if(function(e,t,n,r,i,o){var a=cH(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}))}}(Le.left+Be,Le.top+je,Fe,He,Ve,n,r);return i?Ie.find((function(e){return e.id===i.id})):null},Ye=bD(),Xe=Ye.showTooltipFromEvent,Ze=Ye.hideTooltip,Ke=function(e){var t=Ge(e);t?(null==ge||ge(t,e),$e(t.id),Xe(wo(ve,{datum:t}),e)):($e(null),Ze())};return qc("canvas",{ref:gH(Te,Se),width:Oe*L,height:Re*L,style:{width:Oe,height:Re,cursor:he?"auto":"normal"},onMouseEnter:he?Ke:void 0,onMouseMove:he?Ke:void 0,onMouseLeave:he?function(){Ze()}:void 0,onClick:he?function(e){if(pe){var t=Ge(e);t&&pe(t,e)}}:void 0,role:Ce})},IJ=Ka((function(e,t){var n=e.isInteractive,r=void 0===n?SJ.isInteractive:n,i=e.theme,o=e.renderWrapper,a=xJ(e,DJ);return qc(AF,{isInteractive:r,renderWrapper:o,theme:i,children:qc(PJ,wJ({isInteractive:r},a,{forwardedRef:t}))})})),zJ=["defaultWidth","defaultHeight","onResize","debounceResize"];Ka((function(e,t){var n=e.defaultWidth,r=e.defaultHeight,i=e.onResize,o=e.debounceResize,a=xJ(e,zJ);return qc(EF,{defaultWidth:n,defaultHeight:r,onResize:i,debounceResize:o,children:function(e){var n=e.width,r=e.height;return qc(IJ,wJ({width:n,height:r},a,{ref:t}))}})}));const BJ={id:"__EMPTY_ARC_DO_NOT_COUNT_IT_USED_FOR_VISUALS__",value:1,color:"var(--bg-control-secondary)",label:""},jJ=["new","flaky","retries"];const FJ=e=>e>1e3?"999+":e.toString(),HJ=e=>{switch(e){case"new":return Wc.testNew;case"flaky":return Wc.lineIconBomb2;case"retries":return Wc.lineGeneralZap}},$J=e=>{const{stats:t,i18n:n,layout:r}=e;return qc("div",{className:"styles_additionalStats__Yztrs","data-layout":r,children:jJ.map((e=>{const r=t[e]??0;return qc(QC,{style:"primary",tooltip:n(`tests.${e}`,{count:r}),icon:HJ(e),children:r?FJ(r):"-"},e)}))})},UJ=[{limit:1e3,suffix:"K"},{limit:1e6,suffix:"M"},{limit:1e9,suffix:"B"},{limit:1e12,suffix:"T"},{limit:1e15,suffix:"Q"}],qJ=({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<UJ.length;e++){const{limit:t,suffix:n}=UJ[e];if(s=o/t,Math.round(s)<1e3||e===UJ.length-1){l=n;break}}let c=s.toFixed(2).replace(/\.?0+$/,"").replace(/(\.\d)0$/,"$1");return(c+l).length>i&&(c=Math.round(+c).toString()),`${(+c).toLocaleString("ru")}${l}`},WJ=({metric:e,metricType:t,layerProps:n,isEmpty:r,i18n:i,total:o})=>"total"===t||r?qc(VJ,{layer:n,i18n:i,total:o}):"percent"===t?qc(GJ,{layer:n,metric:e,i18n:i,total:o}):null,VJ=({layer:e,i18n:t,total:n})=>{const{radius:r,centerX:i,centerY:o}=e;return qc(YJ,{radius:r,centerX:i,centerY:o,title:n,description:t("total")})},GJ=({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 qc(YJ,{radius:o,centerX:a,centerY:s,title:n("percentage",{percentage:c}),description:n("of",{total:r})})},YJ=({radius:e,centerX:t,centerY:n,title:r,description:i})=>{const o=r.toString(),a=o.includes("%"),s=Math.round(Math.min(e/1.8,36)),l=Math.round(Math.min(e/3.3,16)),c=Math.min(e/2.5,2*l),u=ha((()=>a?(({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:o,symbolWidth:s/3}):qJ({width:e,text:o,symbolWidth:s/3})),[a,e,o,s]),d=ha((()=>(({width:e,text:t,symbolWidth:n})=>{const r=t.match(/\d+/g)||[],i=t.replace(/\d+/g,"").length,o=r.map((t=>qJ({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:i.toString(),symbolWidth:l/3})),[i,l,e]);return qc(ko,{children:[qc("text",{x:t,y:n-c/3,textAnchor:"middle",dominantBaseline:"central",style:{fontSize:s},className:"styles_centeredMetricTitle__-DWkh",children:u}),qc("text",{x:t,y:n+c/1.5,textAnchor:"middle",dominantBaseline:"central",style:{fontSize:l},className:"styles_centeredMetricDescription__7Q2Vf",children:d})]})},XJ=e=>e,ZJ=e=>e>=300?284:e-16,KJ={top:8,right:8,bottom:8,left:8},JJ={datum:"data.color"},QJ={theme:"background"},eQ=e=>{const{title:t,data:n,statuses:r,metric:i="passed",i18n:o=XJ}=e,a=ha((()=>(e=>{const{data:t,i18n:n,statuses:r=hf}=e,i=[];for(const e of r)e in t&&i.push({color:qW(e),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,jJ.some((e=>e in u)));var u;const d=c?362:300;return qc(Fx,{title:t??"",centerContent:!0,children:qc(Mw,{children:e=>qc("div",{className:"styles_wrapper__UrP78","data-layout":e>d?"vertical":"horizontal",children:[qc("div",{className:"styles_pie__EtJEe",children:qc(OJ,{width:ZJ(c?e-62:e),height:ZJ(c?e-62:e),data:l?[BJ]:a,margin:KJ,colors:JJ,innerRadius:.75,padAngle:1,cornerRadius:4,activeOuterRadiusOffset:4,borderWidth:0,borderColor:QJ,enableArcLabels:!1,enableArcLinkLabels:!1,isInteractive:!l,sortByValue:!0,transitionMode:"startAngle",layers:["arcs",e=>qc(WJ,{layerProps:e,i18n:o,metricType:"percent",metric:i,isEmpty:l,total:s})],animate:!AY,motionConfig:TY,tooltip:tQ,theme:EY})}),c&&qc($J,{stats:n,i18n:o,layout:e>d?"vertical":"horizontal"})]})})})},tQ=e=>{const{datum:t}=e,n=ha((()=>({id:t.id.toString(),color:t.color,label:t.label,value:t.value})),[t]);return qc(ZY,{children:qc(eX,{mode:"default",legend:n})})},nQ=e=>{const{title:t,data:n,statuses:r=hf,i18n:i}=e,o=n.find((e=>"current"===e.id)),a=r.map((e=>({id:e,label:i(`status.${e}`),color:qW(e)}))),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?qc(Fx,{title:t,children:qc(ew,{title:i("no-results"),icon:Wc.lineChartsBarChartSquare})}):1===n.length&&o||c?qc(Fx,{title:t,children:qc(ew,{title:i("no-history"),icon:Wc.lineChartsBarChartSquare})}):qc(Fx,{title:t,children:qc(xK,{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)?JY(Math.abs(Number(e))):""},formatLegendValue:({value:e})=>e?JY(e):"-",noLegend:!0,maxValue:d})})},rQ=e=>{switch(e){case"new":return"var(--on-support-sirius)";case"fixed":return"var(--on-support-castor)";case"regressed":return"var(--on-support-capella)";case"malfunctioned":return"var(--on-support-atlas)"}},iQ=["fixed","regressed","malfunctioned"],oQ=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=WW({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=ha((()=>[...iQ.map((e=>({id:e,label:r(`transitions.${e}`),color:rQ(e),value:"fixed"===e?1:-1}))),{id:"trend",label:r("legend.trend"),color:"var(--bg-support-betelgeuse-medium)",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));return!a||l?qc(Fx,{title:t,children:qc(ew,{title:r("no-results"),icon:Wc.lineChartsBarChartSquare})}):1===n.length&&a||c?qc(Fx,{title:t,children:qc(ew,{title:r("no-history"),icon:Wc.lineChartsBarChartSquare})}):qc(Fx,{title:t,children:qc(xK,{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?JY(Math.abs(Number(e))):"-",noLegend:!0,formatLeftTick:e=>{const t=Math.abs(Number(e));return Number.isInteger(t)?JY(Math.abs(Number(e))):""},minValue:-i,maxValue:i})})},aQ=["var(--bg-support-aldebaran)","var(--bg-support-betelgeuse)","var(--bg-support-sirius)","var(--bg-support-mirach)","var(--bg-support-rigel)","var(--bg-support-gliese)","var(--bg-support-rau)","var(--bg-support-aldebaran-heavy)","var(--bg-support-betelgeuse-heavy)","var(--bg-support-sirius-heavy)","var(--bg-support-mirach-heavy)","var(--bg-support-gliese-heavy)","var(--bg-support-rigel-heavy)","var(--bg-support-rau-heavy)"],sQ=e=>{const{title:t,data:n,i18n:r,groupBy:i,keys:o}=e,a=ha((()=>(e=>e.reduce(((e,t,n)=>{let r=aQ[n];return r||(r=aQ[n-aQ.length]),e[t]=r,e}),{}))(Object.keys(o))),[o]),s=r("legend.total"),l=ha((()=>Object.entries(o).map((([e,t])=>({id:e,label:"none"===i?s:t,color:a[e]})))),[o,a,i,s]),c=ha((()=>n.map((e=>({id:`${e.from}-${e.to}`,...e})))),[n]),u=1.01*ha((()=>{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 qc(Fx,d?{title:t,children:qc(ew,{title:r("no-results"),icon:Wc.lineChartsBarChartSquare})}:{title:t,children:qc(xK,{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)?JY(Math.abs(Number(e))):""},maxValue:u})})},lQ=e=>{const{title:t,data:n,i18n:r,statuses:i}=e,o=ha((()=>i.map((e=>({id:e,label:r(`status.${e}`),color:qW(e)})))),[i,r]),a=n,s=a.every((e=>i.every((t=>0===e[t]))));return qc(Fx,s?{title:t,children:qc(ew,{title:r("no-results"),icon:Wc.lineChartsBarChartSquare})}:{title:t,children:qc(xK,{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?JY(Math.abs(Number(e))):"-",noLegend:!0,formatLeftTick:e=>{const t=Math.abs(Number(e));return Number.isInteger(t)?JY(Math.abs(Number(e))):""}})})},cQ=e=>0===e.duration&&0===e.sequentialDuration,uQ=e=>{const{title:t,data:n,i18n:r}=e,i=n,o=ha((()=>[{id:"sequentialDuration",label:r("durations.sequential"),color:"var(--bg-support-rigel)",type:"default"},{id:"duration",label:r("durations.duration"),color:"var(--bg-support-betelgeuse)",type:"default"},{id:"speedup",label:r("durations.speedup"),color:"var(--bg-support-betelgeuse-medium)",type:"point"}]),[r]),a=n.find((e=>"current"===e.id));return i.every((e=>cQ(e)))||!a||cQ(a)?qc(Fx,{title:t,children:qc(ew,{title:r("no-results"),icon:Wc.lineChartsBarChartSquare})}):qc(Fx,{title:t,children:qc(xK,{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 dQ="http://www.w3.org/1999/xhtml",fQ={svg:"http://www.w3.org/2000/svg",xhtml:dQ,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function hQ(e){var t=e+="",n=t.indexOf(":");return n>=0&&"xmlns"!==(t=e.slice(0,n))&&(e=e.slice(n+1)),fQ.hasOwnProperty(t)?{space:fQ[t],local:e}:e}function pQ(e){return function(){var t=this.ownerDocument,n=this.namespaceURI;return n===dQ&&t.documentElement.namespaceURI===dQ?t.createElement(e):t.createElementNS(n,e)}}function gQ(e){return function(){return this.ownerDocument.createElementNS(e.space,e.local)}}function mQ(e){var t=hQ(e);return(t.local?gQ:pQ)(t)}function vQ(){}function bQ(e){return null==e?vQ:function(){return this.querySelector(e)}}function yQ(){return[]}function _Q(e){return null==e?yQ:function(){return this.querySelectorAll(e)}}function wQ(e){return function(){return this.matches(e)}}function xQ(e){return function(t){return t.matches(e)}}var kQ=Array.prototype.find;function CQ(){return this.firstElementChild}var SQ=Array.prototype.filter;function TQ(){return Array.from(this.children)}function AQ(e){return new Array(e.length)}function MQ(e,t){this.ownerDocument=e.ownerDocument,this.namespaceURI=e.namespaceURI,this._next=null,this._parent=e,this.__data__=t}function LQ(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 MQ(e,o[s]);for(;s<l;++s)(a=t[s])&&(i[s]=a)}function EQ(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 MQ(e,o[s]);for(s=0;s<d;++s)(l=t[s])&&u.get(h[s])===l&&(i[s]=l)}function NQ(e){return e.__data__}function OQ(e){return"object"==typeof e&&"length"in e?e:Array.from(e)}function RQ(e,t){return e<t?-1:e>t?1:e>=t?0:NaN}function DQ(e){return function(){this.removeAttribute(e)}}function PQ(e){return function(){this.removeAttributeNS(e.space,e.local)}}function IQ(e,t){return function(){this.setAttribute(e,t)}}function zQ(e,t){return function(){this.setAttributeNS(e.space,e.local,t)}}function BQ(e,t){return function(){var n=t.apply(this,arguments);null==n?this.removeAttribute(e):this.setAttribute(e,n)}}function jQ(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 FQ(e){return e.ownerDocument&&e.ownerDocument.defaultView||e.document&&e||e.defaultView}function HQ(e){return function(){this.style.removeProperty(e)}}function $Q(e,t,n){return function(){this.style.setProperty(e,t,n)}}function UQ(e,t,n){return function(){var r=t.apply(this,arguments);null==r?this.style.removeProperty(e):this.style.setProperty(e,r,n)}}function qQ(e,t){return e.style.getPropertyValue(t)||FQ(e).getComputedStyle(e,null).getPropertyValue(t)}function WQ(e){return function(){delete this[e]}}function VQ(e,t){return function(){this[e]=t}}function GQ(e,t){return function(){var n=t.apply(this,arguments);null==n?delete this[e]:this[e]=n}}function YQ(e){return e.trim().split(/^|\s+/)}function XQ(e){return e.classList||new ZQ(e)}function ZQ(e){this._node=e,this._names=YQ(e.getAttribute("class")||"")}function KQ(e,t){for(var n=XQ(e),r=-1,i=t.length;++r<i;)n.add(t[r])}function JQ(e,t){for(var n=XQ(e),r=-1,i=t.length;++r<i;)n.remove(t[r])}function QQ(e){return function(){KQ(this,e)}}function e0(e){return function(){JQ(this,e)}}function t0(e,t){return function(){(t.apply(this,arguments)?KQ:JQ)(this,e)}}function n0(){this.textContent=""}function r0(e){return function(){this.textContent=e}}function i0(e){return function(){var t=e.apply(this,arguments);this.textContent=null==t?"":t}}function o0(){this.innerHTML=""}function a0(e){return function(){this.innerHTML=e}}function s0(e){return function(){var t=e.apply(this,arguments);this.innerHTML=null==t?"":t}}function l0(){this.nextSibling&&this.parentNode.appendChild(this)}function c0(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function u0(){return null}function d0(){var e=this.parentNode;e&&e.removeChild(this)}function f0(){var e=this.cloneNode(!1),t=this.parentNode;return t?t.insertBefore(e,this.nextSibling):e}function h0(){var e=this.cloneNode(!0),t=this.parentNode;return t?t.insertBefore(e,this.nextSibling):e}function p0(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 g0(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 m0(e,t,n){var r=FQ(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 v0(e,t){return function(){return m0(this,e,t)}}function b0(e,t){return function(){return m0(this,e,t.apply(this,arguments))}}MQ.prototype={constructor:MQ,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)}},ZQ.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 y0=[null];function _0(e,t){this._groups=e,this._parents=t}function w0(){return new _0([[document.documentElement]],y0)}function x0(e){return"string"==typeof e?new _0([[document.querySelector(e)]],[document.documentElement]):new _0([[e]],y0)}function k0(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]}_0.prototype=w0.prototype={constructor:_0,select:function(e){"function"!=typeof e&&(e=bQ(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 _0(r,this._parents)},selectAll:function(e){e="function"==typeof e?function(e){return function(){return function(e){return null==e?[]:Array.isArray(e)?e:Array.from(e)}(e.apply(this,arguments))}}(e):_Q(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 _0(r,i)},selectChild:function(e){return this.select(null==e?CQ:function(e){return function(){return kQ.call(this.children,e)}}("function"==typeof e?e:xQ(e)))},selectChildren:function(e){return this.selectAll(null==e?TQ:function(e){return function(){return SQ.call(this.children,e)}}("function"==typeof e?e:xQ(e)))},filter:function(e){"function"!=typeof e&&(e=wQ(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 _0(r,this._parents)},data:function(e,t){if(!arguments.length)return Array.from(this,NQ);var n=t?EQ:LQ,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=OQ(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 _0(a,r))._enter=s,a._exit=l,a},enter:function(){return new _0(this._enter||this._groups.map(AQ),this._parents)},exit:function(){return new _0(this._exit||this._groups.map(AQ),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 _0(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=RQ);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 _0(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=hQ(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?PQ:DQ:"function"==typeof t?n.local?jQ:BQ:n.local?zQ:IQ)(n,t))},style:function(e,t,n){return arguments.length>1?this.each((null==t?HQ:"function"==typeof t?UQ:$Q)(e,t,null==n?"":n)):qQ(this.node(),e)},property:function(e,t){return arguments.length>1?this.each((null==t?WQ:"function"==typeof t?GQ:VQ)(e,t)):this.node()[e]},classed:function(e,t){var n=YQ(e+"");if(arguments.length<2){for(var r=XQ(this.node()),i=-1,o=n.length;++i<o;)if(!r.contains(n[i]))return!1;return!0}return this.each(("function"==typeof t?t0:t?QQ:e0)(n,t))},text:function(e){return arguments.length?this.each(null==e?n0:("function"==typeof e?i0:r0)(e)):this.node().textContent},html:function(e){return arguments.length?this.each(null==e?o0:("function"==typeof e?s0:a0)(e)):this.node().innerHTML},raise:function(){return this.each(l0)},lower:function(){return this.each(c0)},append:function(e){var t="function"==typeof e?e:mQ(e);return this.select((function(){return this.appendChild(t.apply(this,arguments))}))},insert:function(e,t){var n="function"==typeof e?e:mQ(e),r=null==t?u0:"function"==typeof t?t:bQ(t);return this.select((function(){return this.insertBefore(n.apply(this,arguments),r.apply(this,arguments)||null)}))},remove:function(){return this.each(d0)},clone:function(e){return this.select(e?h0:f0)},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?g0:p0,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?b0:v0)(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 C0={value:()=>{}};function S0(){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 T0(r)}function T0(e){this._=e}function A0(e,t){for(var n,r=0,i=e.length;r<i;++r)if((n=e[r]).name===t)return n.value}function M0(e,t,n){for(var r=0,i=e.length;r<i;++r)if(e[r].name===t){e[r]=C0,e=e.slice(0,r).concat(e.slice(r+1));break}return null!=n&&e.push({name:t,value:n}),e}T0.prototype=S0.prototype={constructor:T0,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]=M0(i[n],e.name,t);else if(null==t)for(n in i)i[n]=M0(i[n],e.name,null);return this}for(;++a<s;)if((n=(e=o[a]).type)&&(n=A0(i[n],e.name)))return n},copy:function(){var e={},t=this._;for(var n in t)e[n]=t[n].slice();return new T0(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 L0,E0,N0=0,O0=0,R0=0,D0=0,P0=0,I0=0,z0="object"==typeof performance&&performance.now?performance:Date,B0="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(e){setTimeout(e,17)};function j0(){return P0||(B0(F0),P0=z0.now()+I0)}function F0(){P0=0}function H0(){this._call=this._time=this._next=null}function $0(e,t,n){var r=new H0;return r.restart(e,t,n),r}function U0(){P0=(D0=z0.now())+I0,N0=O0=0;try{!function(){j0(),++N0;for(var e,t=L0;t;)(e=P0-t._time)>=0&&t._call.call(void 0,e),t=t._next;--N0}()}finally{N0=0,function(){for(var e,t,n=L0,r=1/0;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:L0=t);E0=e,W0(r)}(),P0=0}}function q0(){var e=z0.now(),t=e-D0;t>1e3&&(I0-=t,D0=e)}function W0(e){N0||(O0&&(O0=clearTimeout(O0)),e-P0>24?(e<1/0&&(O0=setTimeout(U0,e-z0.now()-I0)),R0&&(R0=clearInterval(R0))):(R0||(D0=z0.now(),R0=setInterval(q0,1e3)),N0=1,B0(U0)))}function V0(e,t,n){var r=new H0;return t=null==t?0:+t,r.restart((n=>{r.stop(),e(n+t)}),t,n),r}H0.prototype=$0.prototype={constructor:H0,restart:function(e,t,n){if("function"!=typeof e)throw new TypeError("callback is not a function");n=(null==n?j0():+n)+(null==t?0:+t),this._next||E0===this||(E0?E0._next=this:L0=this,E0=this),this._call=e,this._time=n,W0()},stop:function(){this._call&&(this._call=null,this._time=1/0,W0())}};var G0=S0("start","end","cancel","interrupt"),Y0=[];function X0(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(l){var c,u,d,f;if(1!==n.state)return s();for(c in i)if((f=i[c]).name===n.name){if(3===f.state)return V0(o);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(V0((function(){3===n.state&&(n.state=4,n.timer.restart(a,n.delay,n.time),a(l))})),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 a(t){for(var i=t<n.duration?n.ease.call(null,t/n.duration):(n.timer.restart(s),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),s())}function s(){for(var r in n.state=6,n.timer.stop(),delete i[t],i)return;delete e.__transition}i[t]=n,n.timer=$0((function(e){n.state=1,n.timer.restart(o,n.delay,n.time),n.delay<=e&&o(e-n.delay)}),0,n.time)}(e,n,{name:t,index:r,group:i,on:G0,tween:Y0,time:o.time,delay:o.delay,duration:o.duration,ease:o.ease,timer:null,state:0})}function Z0(e,t){var n=J0(e,t);if(n.state>0)throw new Error("too late; already scheduled");return n}function K0(e,t){var n=J0(e,t);if(n.state>3)throw new Error("too late; already running");return n}function J0(e,t){var n=e.__transition;if(!n||!(n=n[t]))throw new Error("transition not found");return n}function Q0(e,t){var n,r;return function(){var i=K0(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 e1(e,t,n){var r,i;if("function"!=typeof n)throw new Error;return function(){var o=K0(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 t1(e,t,n){var r=e._id;return e.each((function(){var e=K0(this,r);(e.value||(e.value={}))[t]=n.apply(this,arguments)})),function(e){return J0(e,r).value[t]}}function n1(e,t){var n;return("number"==typeof t?zh:t instanceof Qf?Oh:(n=Qf(t))?(t=n,Oh):Hh)(e,t)}function r1(e){return function(){this.removeAttribute(e)}}function i1(e){return function(){this.removeAttributeNS(e.space,e.local)}}function o1(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 a1(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 s1(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 l1(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 c1(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 u1(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 d1(e,t){return function(){Z0(this,e).delay=+t.apply(this,arguments)}}function f1(e,t){return t=+t,function(){Z0(this,e).delay=t}}function h1(e,t){return function(){K0(this,e).duration=+t.apply(this,arguments)}}function p1(e,t){return t=+t,function(){K0(this,e).duration=t}}var g1=w0.prototype.constructor;function m1(e){return function(){this.style.removeProperty(e)}}var v1=0;function b1(e,t,n,r){this._groups=e,this._parents=t,this._name=n,this._id=r}function y1(e){return w0().transition(e)}function _1(){return++v1}var w1=w0.prototype;function x1(e){return((e*=2)<=1?e*e*e:(e-=2)*e*e+2)/2}b1.prototype=y1.prototype={constructor:b1,select:function(e){var t=this._name,n=this._id;"function"!=typeof e&&(e=bQ(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,X0(d[f],t,n,f,d,J0(s,n)));return new b1(o,this._parents,t,n)},selectAll:function(e){var t=this._name,n=this._id;"function"!=typeof e&&(e=_Q(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=J0(l,n),g=0,m=h.length;g<m;++g)(f=h[g])&&X0(f,t,n,g,h,p);o.push(h),a.push(l)}return new b1(o,a,t,n)},selectChild:w1.selectChild,selectChildren:w1.selectChildren,filter:function(e){"function"!=typeof e&&(e=wQ(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 b1(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 b1(a,this._parents,this._name,this._id)},selection:function(){return new g1(this._groups,this._parents)},transition:function(){for(var e=this._name,t=this._id,n=_1(),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=J0(a,t);X0(a,e,n,c,s,{time:u.time+u.delay+u.duration,delay:0,duration:u.duration,ease:u.ease})}return new b1(r,this._parents,e,n)},call:w1.call,nodes:w1.nodes,node:w1.node,size:w1.size,empty:w1.empty,each:w1.each,on:function(e,t){var n=this._id;return arguments.length<2?J0(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)?Z0:K0;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=hQ(e),r="transform"===n?Zh:n1;return this.attrTween(e,"function"==typeof t?(n.local?l1:s1)(n,r,t1(this,"attr."+e,t)):null==t?(n.local?i1:r1)(n):(n.local?a1:o1)(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=hQ(e);return this.tween(n,(r.local?c1:u1)(r,t))},style:function(e,t,n){var r="transform"==(e+="")?Xh:n1;return null==t?this.styleTween(e,function(e,t){var n,r,i;return function(){var o=qQ(this,e),a=(this.style.removeProperty(e),qQ(this,e));return o===a?null:o===n&&a===r?i:i=t(n=o,r=a)}}(e,r)).on("end.style."+e,m1(e)):"function"==typeof t?this.styleTween(e,function(e,t,n){var r,i,o;return function(){var a=qQ(this,e),s=n(this),l=s+"";return null==s&&(this.style.removeProperty(e),l=s=qQ(this,e)),a===l?null:a===r&&l===i?o:(i=l,o=t(r=a,s))}}(e,r,t1(this,"style."+e,t))).each(function(e,t){var n,r,i,o,a="style."+t,s="end."+a;return function(){var l=K0(this,e),c=l.on,u=null==l.value[a]?o||(o=m1(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=qQ(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}}(t1(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=J0(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?Q0:e1)(n,e,t))},delay:function(e){var t=this._id;return arguments.length?this.each(("function"==typeof e?d1:f1)(t,e)):J0(this.node(),t).delay},duration:function(e){var t=this._id;return arguments.length?this.each(("function"==typeof e?h1:p1)(t,e)):J0(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(){K0(this,e).ease=t}}(t,e)):J0(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;K0(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=K0(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]:w1[Symbol.iterator]};var k1={time:null,delay:0,duration:250,ease:x1};function C1(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 S1(e){return e}w0.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)}))},w0.prototype.transition=function(e){var t,n;e instanceof b1?(t=e._id,e=e._name):(t=_1(),(n=k1).time=j0(),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])&&X0(a,e,t,c,s,n||C1(a,t));return new b1(r,this._parents,e,t)};var T1=1e-6;function A1(e){return"translate("+e+",0)"}function M1(e){return"translate(0,"+e+")"}function L1(e){return t=>+e(t)}function E1(e,t){return t=Math.max(0,e.bandwidth()-2*t)/2,e.round()&&(t=Math.round(t)),n=>+e(n)+t}function N1(){return!this.__axis}function O1(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?A1:M1;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):S1:i,g=Math.max(o,0)+s,m=t.range(),v=+m[0]+l,b=+m[m.length-1]+l,y=(t.bandwidth?E1:L1)(t.copy(),l),_=f.selection?f.selection():f,w=_.selectAll(".domain").data([null]),x=_.selectAll(".tick").data(h,t).order(),k=x.exit(),C=x.enter().append("g").attr("class","tick"),S=x.select("line"),T=x.select("text");w=w.merge(w.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),x=x.merge(C),S=S.merge(C.append("line").attr("stroke","currentColor").attr(u+"2",c*o)),T=T.merge(C.append("text").attr("fill","currentColor").attr(u,c*g).attr("dy",1===e?"0em":3===e?"0.71em":"0.32em")),f!==_&&(w=w.transition(f),x=x.transition(f),S=S.transition(f),T=T.transition(f),k=k.transition(f).attr("opacity",T1).attr("transform",(function(e){return isFinite(e=y(e))?d(e+l):this.getAttribute("transform")})),C.attr("opacity",T1).attr("transform",(function(e){var t=this.parentNode.__axis;return d((t&&isFinite(t=t(e))?t:y(e))+l)}))),k.remove(),w.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),x.attr("opacity",1).attr("transform",(function(e){return d(y(e)+l)})),S.attr(u+"2",c*o),T.attr(u,c*g).text(p),_.filter(N1).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 R1(e){return O1(3,e)}const D1={capture:!0,passive:!1};function P1(e){e.preventDefault(),e.stopImmediatePropagation()}var I1=S0("start","end","cancel","interrupt"),z1=[];function B1(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(l){var c,u,d,f;if(1!==n.state)return s();for(c in i)if((f=i[c]).name===n.name){if(3===f.state)return V0(o);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(V0((function(){3===n.state&&(n.state=4,n.timer.restart(a,n.delay,n.time),a(l))})),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 a(t){for(var i=t<n.duration?n.ease.call(null,t/n.duration):(n.timer.restart(s),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),s())}function s(){for(var r in n.state=6,n.timer.stop(),delete i[t],i)return;delete e.__transition}i[t]=n,n.timer=$0((function(e){n.state=1,n.timer.restart(o,n.delay,n.time),n.delay<=e&&o(e-n.delay)}),0,n.time)}(e,n,{name:t,index:r,group:i,on:I1,tween:z1,time:o.time,delay:o.delay,duration:o.duration,ease:o.ease,timer:null,state:0})}function j1(e,t){var n=H1(e,t);if(n.state>0)throw new Error("too late; already scheduled");return n}function F1(e,t){var n=H1(e,t);if(n.state>3)throw new Error("too late; already running");return n}function H1(e,t){var n=e.__transition;if(!n||!(n=n[t]))throw new Error("transition not found");return n}function $1(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 U1(e,t){var n,r;return function(){var i=F1(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 q1(e,t,n){var r,i;if("function"!=typeof n)throw new Error;return function(){var o=F1(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 W1(e,t,n){var r=e._id;return e.each((function(){var e=F1(this,r);(e.value||(e.value={}))[t]=n.apply(this,arguments)})),function(e){return H1(e,r).value[t]}}function V1(e,t){var n;return("number"==typeof t?zh:t instanceof Qf?Oh:(n=Qf(t))?(t=n,Oh):Hh)(e,t)}function G1(e){return function(){this.removeAttribute(e)}}function Y1(e){return function(){this.removeAttributeNS(e.space,e.local)}}function X1(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 Z1(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 K1(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 J1(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 Q1(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 e2(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 t2(e,t){return function(){j1(this,e).delay=+t.apply(this,arguments)}}function n2(e,t){return t=+t,function(){j1(this,e).delay=t}}function r2(e,t){return function(){F1(this,e).duration=+t.apply(this,arguments)}}function i2(e,t){return t=+t,function(){F1(this,e).duration=t}}var o2=w0.prototype.constructor;function a2(e){return function(){this.style.removeProperty(e)}}var s2=0;function l2(e,t,n,r){this._groups=e,this._parents=t,this._name=n,this._id=r}function c2(){return++s2}var u2=w0.prototype;l2.prototype={constructor:l2,select:function(e){var t=this._name,n=this._id;"function"!=typeof e&&(e=bQ(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,B1(d[f],t,n,f,d,H1(s,n)));return new l2(o,this._parents,t,n)},selectAll:function(e){var t=this._name,n=this._id;"function"!=typeof e&&(e=_Q(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=H1(l,n),g=0,m=h.length;g<m;++g)(f=h[g])&&B1(f,t,n,g,h,p);o.push(h),a.push(l)}return new l2(o,a,t,n)},selectChild:u2.selectChild,selectChildren:u2.selectChildren,filter:function(e){"function"!=typeof e&&(e=wQ(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 l2(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 l2(a,this._parents,this._name,this._id)},selection:function(){return new o2(this._groups,this._parents)},transition:function(){for(var e=this._name,t=this._id,n=c2(),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=H1(a,t);B1(a,e,n,c,s,{time:u.time+u.delay+u.duration,delay:0,duration:u.duration,ease:u.ease})}return new l2(r,this._parents,e,n)},call:u2.call,nodes:u2.nodes,node:u2.node,size:u2.size,empty:u2.empty,each:u2.each,on:function(e,t){var n=this._id;return arguments.length<2?H1(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)?j1:F1;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=hQ(e),r="transform"===n?Zh:V1;return this.attrTween(e,"function"==typeof t?(n.local?J1:K1)(n,r,W1(this,"attr."+e,t)):null==t?(n.local?Y1:G1)(n):(n.local?Z1:X1)(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=hQ(e);return this.tween(n,(r.local?Q1:e2)(r,t))},style:function(e,t,n){var r="transform"==(e+="")?Xh:V1;return null==t?this.styleTween(e,function(e,t){var n,r,i;return function(){var o=qQ(this,e),a=(this.style.removeProperty(e),qQ(this,e));return o===a?null:o===n&&a===r?i:i=t(n=o,r=a)}}(e,r)).on("end.style."+e,a2(e)):"function"==typeof t?this.styleTween(e,function(e,t,n){var r,i,o;return function(){var a=qQ(this,e),s=n(this),l=s+"";return null==s&&(this.style.removeProperty(e),l=s=qQ(this,e)),a===l?null:a===r&&l===i?o:(i=l,o=t(r=a,s))}}(e,r,W1(this,"style."+e,t))).each(function(e,t){var n,r,i,o,a="style."+t,s="end."+a;return function(){var l=F1(this,e),c=l.on,u=null==l.value[a]?o||(o=a2(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=qQ(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}}(W1(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=H1(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?U1:q1)(n,e,t))},delay:function(e){var t=this._id;return arguments.length?this.each(("function"==typeof e?t2:n2)(t,e)):H1(this.node(),t).delay},duration:function(e){var t=this._id;return arguments.length?this.each(("function"==typeof e?r2:i2)(t,e)):H1(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(){F1(this,e).ease=t}}(t,e)):H1(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;F1(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=F1(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]:u2[Symbol.iterator]};var d2={time:null,delay:0,duration:250,ease:x1};function f2(e,t){for(var n;!(n=e.__transition)||!(n=n[t]);)if(!(e=e.parentNode))throw new Error(`transition ${t} not found`);return n}w0.prototype.interrupt=function(e){return this.each((function(){$1(this,e)}))},w0.prototype.transition=function(e){var t,n;e instanceof l2?(t=e._id,e=e._name):(t=c2(),(n=d2).time=j0(),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])&&B1(a,e,t,c,s,n||f2(a,t));return new l2(r,this._parents,e,t)};var h2=e=>()=>e;function p2(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 g2(e){e.preventDefault(),e.stopImmediatePropagation()}var m2={name:"drag"},v2={name:"space"},b2={name:"handle"},y2={name:"center"};const{abs:_2,max:w2,min:x2}=Math;function k2(e){return[+e[0],+e[1]]}function C2(e){return[k2(e[0]),k2(e[1])]}var S2={name:"x",handles:["w","e"].map(O2),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]]}},T2={},A2={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"},M2={e:"w",w:"e",nw:"ne",ne:"nw",se:"sw",sw:"se"},L2={n:"s",s:"n",nw:"sw",ne:"se",se:"ne",sw:"nw"},E2={overlay:1,selection:1,n:null,e:1,s:null,w:-1,nw:-1,ne:1,se:1,sw:-1},N2={overlay:1,selection:1,n:-1,e:null,s:1,w:null,nw:-1,ne:-1,se:1,sw:1};function O2(e){return{type:e}}function R2(e){return!e.ctrlKey&&!e.button}function D2(){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 P2(){return navigator.maxTouchPoints||"ontouchstart"in this}function I2(e){for(;!e.__brush;)if(!(e=e.parentNode))return;return e.__brush}function z2(){return function(e){var t,n=D2,r=R2,i=P2,o=!0,a=S0("start","brush","end"),s=6;function l(t){var n=t.property("__brush",g).selectAll(".overlay").data([O2("overlay")]);n.enter().append("rect").attr("class","overlay").attr("pointer-events","all").attr("cursor",A2.overlay).merge(n).each((function(){var e=I2(this).extent;x0(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([O2("selection")]).enter().append("rect").attr("class","selection").attr("cursor",A2.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 A2[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=x0(this),t=I2(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)?m2:o&&n.altKey?y2:b2,w=e===T2?null:E2[y],x=e===S2?null:N2[y],k=I2(b),C=k.extent,S=k.selection,T=C[0][0],A=C[0][1],M=C[1][0],L=C[1][1],E=0,N=0,O=w&&x&&o&&n.shiftKey,R=Array.from(n.touches||[n],(e=>{const t=e.identifier;return(e=k0(e,b)).point0=e.slice(),e.identifier=t,e}));$1(b);var D=u(b,arguments,!0).beforestart();if("overlay"===y){S&&(g=!0);const t=[R[0],R[1]||R[0]];k.selection=S=[[i=e===T2?T:x2(t[0][0],t[1][0]),s=e===S2?A:x2(t[0][1],t[1][1])],[d=e===T2?M:w2(t[0][0],t[1][0]),h=e===S2?L:w2(t[0][1],t[1][1])]],R.length>1&&j(n)}else i=S[0][0],s=S[0][1],d=S[1][0],h=S[1][1];a=i,l=s,f=d,p=h;var P=x0(b).attr("pointer-events","none"),I=P.selectAll(".overlay").attr("cursor",A2[y]);if(n.touches)D.moved=B,D.ended=F;else{var z=x0(n.view).on("mousemove.brush",B,!0).on("mouseup.brush",F,!0);o&&z.on("keydown.brush",(function(e){switch(e.keyCode){case 16:O=w&&x;break;case 18:_===b2&&(w&&(d=f-E*w,i=a+E*w),x&&(h=p-N*x,s=l+N*x),_=y2,j(e));break;case 32:_!==b2&&_!==y2||(w<0?d=f-E:w>0&&(i=a-E),x<0?h=p-N:x>0&&(s=l-N),_=v2,I.attr("cursor",A2.selection),j(e));break;default:return}g2(e)}),!0).on("keyup.brush",(function(e){switch(e.keyCode){case 16:O&&(m=v=O=!1,j(e));break;case 18:_===y2&&(w<0?d=f:w>0&&(i=a),x<0?h=p:x>0&&(s=l),_=b2,j(e));break;case 32:_===v2&&(e.altKey?(w&&(d=f-E*w,i=a+E*w),x&&(h=p-N*x,s=l+N*x),_=y2):(w<0?d=f:w>0&&(i=a),x<0?h=p:x>0&&(s=l),_=b2),I.attr("cursor",A2[y]),j(e));break;default:return}g2(e)}),!0),function(e){var t=e.document.documentElement,n=x0(e).on("dragstart.drag",P1,D1);"onselectstart"in t?n.on("selectstart.drag",P1,D1):(t.__noselect=t.style.MozUserSelect,t.style.MozUserSelect="none")}(n.view)}c.call(b),D.start(n,_.name)}function B(e){for(const t of e.changedTouches||[e])for(const e of R)e.identifier===t.identifier&&(e.cur=k0(t,b));if(O&&!m&&!v&&1===R.length){const e=R[0];_2(e.cur[0]-e[0])>_2(e.cur[1]-e[1])?v=!0:m=!0}for(const e of R)e.cur&&(e[0]=e.cur[0],e[1]=e.cur[1]);g=!0,g2(e),j(e)}function j(e){const t=R[0],n=t.point0;var r;switch(E=t[0]-n[0],N=t[1]-n[1],_){case v2:case m2:w&&(E=w2(T-i,x2(M-d,E)),a=i+E,f=d+E),x&&(N=w2(A-s,x2(L-h,N)),l=s+N,p=h+N);break;case b2:R[1]?(w&&(a=w2(T,x2(M,R[0][0])),f=w2(T,x2(M,R[1][0])),w=1),x&&(l=w2(A,x2(L,R[0][1])),p=w2(A,x2(L,R[1][1])),x=1)):(w<0?(E=w2(T-i,x2(M-i,E)),a=i+E,f=d):w>0&&(E=w2(T-d,x2(M-d,E)),a=i,f=d+E),x<0?(N=w2(A-s,x2(L-s,N)),l=s+N,p=h):x>0&&(N=w2(A-h,x2(L-h,N)),l=s,p=h+N));break;case y2:w&&(a=w2(T,x2(M,i-E*w)),f=w2(T,x2(M,d+E*w))),x&&(l=w2(A,x2(L,s-N*x)),p=w2(A,x2(L,h+N*x)))}f<a&&(w*=-1,r=i,i=d,d=r,r=a,a=f,f=r,y in M2&&I.attr("cursor",A2[y=M2[y]])),p<l&&(x*=-1,r=s,s=h,h=r,r=l,l=p,p=r,y in L2&&I.attr("cursor",A2[y=L2[y]])),k.selection&&(S=k.selection),m&&(a=S[0][0],f=S[1][0]),v&&(l=S[0][1],p=S[1][1]),S[0][0]===a&&S[0][1]===l&&S[1][0]===f&&S[1][1]===p||(k.selection=[[a,l],[f,p]],c.call(b),D.brush(e,_.name))}function F(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=x0(e).on("dragstart.drag",null);t&&(r.on("click.drag",P1,D1),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),z.on("keydown.brush keyup.brush mousemove.brush mouseup.brush",null);P.attr("pointer-events","all"),I.attr("cursor",A2.overlay),k.selection&&(S=k.selection),function(e){return e[0][0]===e[1][0]||e[0][1]===e[1][1]}(S)&&(k.selection=null,c.call(b)),D.end(e,_.name)}}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=C2(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=$h(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();$1(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=x0(this.that).datum();a.call(t,this.that,new p2(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:h2(C2(e)),l):n},l.filter=function(e){return arguments.length?(r="function"==typeof e?e:h2(!!e),l):r},l.touchable=function(e){return arguments.length?(i="function"==typeof e?e:h2(!!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}(S2)}const B2=(e,t)=>{let n=5381;const r=Array.from(`${e}:${t}`);for(const e of r)n=Math.imul(n,33)+e.charCodeAt(0);const i=new Array(21);let o=Math.abs(n);for(let e=0;e<21;++e)o=(1664525*o+1013904223)%4294967296,i[e]="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz-"[o%64];return i.join("")};class j2 extends CustomEvent{constructor(e){super("zoom",{detail:e})}}const F2=(e,t=H2)=>{const[n,r]=la(e),i=fa(n),o=fa(t);return ua((()=>{o.current=t}),[t]),ua((()=>{i.current=n,o.current(i.current)}),[n]),[i,n,r]},H2=()=>{},$2=e=>e?e<0?0:e:0;var U2={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 q2=()=>R1(),W2={top:0,right:0,bottom:20,left:0},V2=300,G2=20,Y2=()=>{},X2=e=>{const{width:t=V2,height:n=G2,margins:r=W2,domainRange:i,currentSelection:o,tickFormat:a,onChange:s=Y2,onReset:l=Y2,selectedTestsCount:c,totalTestsCount:u,translations:d,transitionDuration:f=300}=e,h=$2(t-r.left-r.right),p=$2(n-r.top-r.bottom),[g,m,v]=F2((()=>Gp().domain(i).range([0,h])));ua((()=>{v((()=>Gp().domain(i).range([0,h])))}),[i,h]);const b=fa(null),y=fa(null),_=fa(null),w=fa(null),x=fa(null),k=fa(null),C=fa(s),S=fa(l);ua((()=>{C.current=s,S.current=l}),[s,l]);const T=fa(q2().tickFormat((()=>""))),A=fa(q2().tickPadding(0)),M=fa(z2().handleSize(24).on("end",(e=>{if(!e.sourceEvent||!g.current||!C.current)return;if(!e.selection||2!==e.selection.length){const[e,t]=g.current.domain();return void C.current(e,t)}const[t,n]=e.selection.map((e=>m.invert(e)));C.current(t,n)})));ua((()=>{if(!b.current||!m)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,A.current.scale(m).tickFormat(a).tickValues(s),T.current.scale(m).tickSize(-p).tickValues(s),x0(y.current).attr("transform",`translate(${r.left},${r.top})`),x0(_.current).exit().transition().duration(f).attr("width",0).attr("height",0),w.current&&(x0(w.current).attr("transform",`translate(0,${p})`),x0(w.current).call(T.current)),x.current&&(x0(x.current).attr("transform",`translate(0,${p})`),x0(x.current).call(A.current).selectAll("text").attr("y",8)),k.current){const e=x0(k.current);e.select(".selection").attr("rx",2).attr("ry",2),e.call(M.current.extent([[0,0],[h,p]]));const t=[m(o[0]??i[0]),m(o[1]??i[1])];M.current.move(e,t)}}),[r,m,i,o,a,h,p,f]);const L=(c/u*100).toFixed(2);return qc("svg",{ref:b,className:U2.brusher,width:t,height:n+14,children:qc("g",{ref:y,className:U2.brusherMargins,children:[qc("rect",{ref:_,className:U2.gridBackground}),qc("g",{ref:k,className:U2.brush}),qc("g",{className:U2.axises,children:[qc("g",{ref:w,className:U2.xGrid}),qc("g",{ref:x,className:U2.xAxis}),qc("text",{x:h/2,y:60,textAnchor:"middle",className:U2.durationRangeText,children:d.selected({count:c,percentage:L,minDuration:_f(o[0]),maxDuration:_f(o[1])})})]})]})})},Z2=e=>{const{segments:t,groupId:n,groupName:r,offsetTime:i}=e,[o,a]=ha((()=>{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 qc("div",{className:U2.tooltipContent,children:[qc("div",{children:r}),qc("div",{children:[_f(o-i)," — ",_f(a-i)]})]})},K2=Go(null),J2=e=>{const{children:t,width:n}=e;return qc(K2.Provider,{value:n,children:t})},Q2=()=>{},e3=e=>{const{children:t,width:n,onResize:r,debounceResize:i=0}=e,[o]=ND(n,i);return ua((()=>{r?.(o)}),[o,r]),o>0?qc(J2,{width:o,children:t}):null},t3=e=>{const{children:t,defaultWidth:n=0,onResize:r=Q2,debounceResize:i=0}=e,o=fa(null),[a,s]=la(n);return ua((()=>{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]),qc("div",{ref:o,children:qc(e3,{width:a,onResize:r,debounceResize:i,children:t})})},n3=e=>{const{segment:t,offsetTime:n}=e;if(!t.id)return null;const r=t.labelGroup.length>1;return qc("div",{className:U2.tooltipContent,children:[r?qc("div",{className:U2.labelGroup,children:t.labelGroup.map(((e,t)=>qc(Yc,{type:"ui",size:"s",bold:!0,children:e},t)))}):qc(Yc,{type:"ui",size:"s",bold:!0,children:t.label}),qc("div",{children:[_f(t.timeRange[0].getTime()-n)," — ",_f(t.timeRange[1].getTime()-n)]})]})},r3=()=>R1(),i3={top:0,right:0,bottom:20,left:0},o3=300,a3=20,s3=()=>{},l3=e=>{const{width:t=o3,height:n=a3,margins:r=i3,scale:i,domainRange:o,currentSelection:a,tickFormat:s,onChange:l=s3,onReset:c=s3,transitionDuration:u=300}=e,[d,f,h]=F2((()=>i.copy()));ua((()=>{h((()=>d.current.domain()===i.domain()&&d.current.range()===i.range()?d.current:i.copy()))}),[i]);const p=$2(t-r.left-r.right),g=$2(n-r.top-r.bottom);ua((()=>{h((()=>i.copy().domain(o??[]).range([0,p])))}),[o,p,i]);const m=fa(null),v=fa(null),b=fa(null),y=fa(null),_=fa(null),w=fa(null),x=fa(l),k=fa(c),C=fa(r3().tickFormat((()=>""))),S=fa(r3().tickPadding(0)),T=fa(z2().handleSize(24).on("end",(e=>{if(!e.sourceEvent||!d.current||!x.current)return;if(!e.selection||2!==e.selection.length){const[e,t]=d.current.domain();return void x.current(e,t)}const[t,n]=e.selection.map((e=>d.current.invert(e)));x.current(t,n)})));return ua((()=>{x.current=l,k.current=c}),[l,c]),ua((()=>{if(m.current&&f&&o&&!(o[1]<=o[0])&&(S.current.scale(f).tickFormat(s),C.current.scale(f).tickSize(-g),C.current.ticks(7),x0(v.current).attr("transform",`translate(${r.left},${r.top})`),x0(b.current).transition().duration(u).attr("width",String(p)).attr("height",String(g)),y.current&&(x0(y.current).attr("transform",`translate(0,${g})`),x0(y.current).call(C.current)),_.current&&(x0(_.current).attr("transform",`translate(0,${g})`),x0(_.current).call(S.current).selectAll("text").attr("y",8)),w.current)){const e=x0(w.current);e.select(".selection").attr("rx",2).attr("ry",2),e.call(T.current.extent([[0,0],[p,g]]));const t=[f(a?.[0]??o[0].getTime()),f(a?.[1]??o[1].getTime())];T.current.move(e,t)}}),[p,g,r,o,a,s,f,u]),qc("svg",{ref:m,className:U2.brusher,width:t,height:n,children:qc("g",{ref:v,className:U2.brusherMargins,children:[qc("rect",{ref:b,className:U2.gridBackground}),qc("g",{ref:w,className:U2.brush}),qc("g",{className:U2.axises,children:[qc("g",{ref:y,className:U2.xGrid}),qc("g",{ref:_,className:U2.xAxis})]})]})})};x0.prototype.transition=y1;const c3=e=>{const t={failed:"var(--timeline-status-failed, #E8452CFF)",broken:"var(--timeline-status-broken, #E88D2CFF)",passed:"var(--timeline-status-passed, #099337FF)",skipped:"var(--timeline-status-skipped, #7281A1FF)",unknown:"var(--timeline-status-unknown, #B92CE8FF)"};return t[e]||t.unknown},u3=e=>{const t={failed:"var(--on-support-capella, #E8452CFF)",broken:"var(--on-support-atlas, #E88D2CFF)",passed:"var(--on-support-castor, #099337FF)",skipped:"var(--on-support-rau, #7281A1FF)",unknown:"var(--on-support-skat, #B92CE8FF)"};return t[e]||t.unknown},d3=e=>{if(e>=20)return 4;if(e<4)return 0;const t=(e-4)/16;return t*(2-t)*4},f3=100,h3=100,p3=e=>{const{data:t=[],translations:n}=e,r=ma(),{durationRange:i,handleDurationChange:o,durationDomain:a}=(e=>{const t=ha((()=>{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]=la(t[0]),[i,o]=la(t[1]);ua((()=>{r(t[0])}),[t[0]]),ua((()=>{o(t[1])}),[t[1]]);const a=pa(((e,t)=>{r(e),o(t)}),[]);return{durationRange:[n,i],handleDurationChange:a,durationDomain:t}})(t),s=(()=>{const e=ga(K2);if(!e)throw new Error("useWidth must be used within a ResponsiveWrapper");return e})(),l=fa(null),c=fa(null),u=fa(null),d=fa(null),f=fa(null),h=fa(null),[p,g,m]=F2((()=>xp())),[v,b,y]=F2((()=>yp())),_=fa(R1()),w=fa(O1(1,void 0)),x=fa(O1(4,void 0)),{tooltipRef:k,isVisible:C,handleShowTooltip:S,handleHideTooltip:T,data:A}=oK("bottom"),{tooltipRef:M,isVisible:L,handleShowTooltip:E,handleHideTooltip:N,data:O}=oK("bottom"),R=AY?0:500,D=AY?0:150,P=fa(!1),I=t.length,z=$2(s-f3-h3),B=$2(24*I),j=B+26+30,F=ha((()=>{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,hidden:t.hidden,val:t.val,labelVal:t.val,segment:t,id:t.id});return e}),[t]),H=ha((()=>t.map((e=>({id:e.id,name:e.name})))),[t]),$=ha((()=>[gp(F,(e=>e.timeRange[0])),pp(F,(e=>e.timeRange[1]))]),[F]),[U,q]=la($),[W,V]=la([null,null]),G=pa((e=>{q((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))}),[]),Y=pa((e=>{V((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))}),[]),[X,Z,K]=F2((()=>xv().domain($).range([0,z]).clamp(!0)));ua((()=>{K((()=>X.current.copy().domain($))),G($)}),[...$,G]),ua((()=>{K((()=>X.current.copy().range([0,z]).clamp(!0)))}),[z]);const J=ha((()=>[gp(F,(e=>e.timeRange[0])),pp(F,(e=>e.timeRange[1]))]),[F]);ua((()=>{if(!l.current)return;const e=e=>{const{zoomX:t,zoomY:n}=e.detail;t&&G(t),n&&Y(n)};if(l.current?.addEventListener("zoom",e),!c.current)return;const t=x0(c.current),n=e=>k0(e,c.current);return t.on("mousedown",(e=>{if(null!=x0(window).on("mousemove.zoomRect"))return;const r=n(e);if(r[0]<0||r[0]>z||r[1]<0||r[1]>B)return;P.current=!0;const i=t.append("rect").attr("class",U2.zoomSelection);x0(window).on("mousemove.zoomRect",(e=>{e.stopPropagation();const t=n(e),o=[Math.max(0,Math.min(z,t[0])),Math.max(0,Math.min(B,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=>{x0(window).on("mousemove.zoomRect",null).on("mouseup.zoomRect",null),i.remove(),P.current=!1;const t=n(e),o=[Math.max(0,Math.min(z,t[0])),Math.max(0,Math.min(B,t[1]))];if(r[0]===o[0]&&r[1]===o[1])return;const a=[r[0],o[0]].sort(Qh).map((e=>X.current.invert(e)));a[1].getTime()-a[0].getTime()>10&&l.current?.dispatchEvent(new j2({zoomX:a,zoomY:null}))}),!0),e.stopPropagation()})),()=>{l.current?.removeEventListener("zoom",e)}}),[z,B,W,F,G,Y,b]),ua((()=>{const e=U?.[0]&&U?.[1]?U:$;K((()=>X.current.copy().domain(e).range([0,z]).clamp(!0)))}),[U,$,z]),ua((()=>{x.current.scale(b)}),[b,H]),ua((()=>{y((()=>v.current.copy().domain(H.map((e=>e.id))).range(H.map(((e,t)=>(t+.5)/I*B)))))}),[H,I,B]),ua((()=>{m((()=>p.current.copy().domain(H.map((e=>e.id))).range([B/H.length*.5,B*(1-.5/H.length)])))}),[H,B,I]),ua((()=>{if(!(l.current&&Z&&0!==B&&d.current&&f.current))return;const[e,t]=Z.range();if(e===t)return;_.current.scale(Z),_.current.ticks(7),_.current.tickFormat((e=>J[0]?_f(e.getTime()-J[0].getTime()):"")),w.current.scale(Z).ticks(7).tickFormat((()=>"")),x0(d.current).style("stroke-opacity",0).style("fill-opacity",0).attr("transform",`translate(0,${B})`).transition().duration(R).call(_.current).style("stroke-opacity",1).style("fill-opacity",1),w.current.tickSize(B),x0(f.current).attr("transform",`translate(0,${B})`).transition().duration(R).call(w.current);const n=Math.ceil(2*I/Math.sqrt(2)/B/.6),r=p.current.domain().filter(((e,t)=>!(t%n)));let i=Math.min(12,B/r.length*.6*Math.sqrt(2)),o=Math.ceil(h3/(i/Math.sqrt(2)));const a=b.range(),s=gp(a,((e,t)=>t>0?e-a[t-1]:2*e));i=Math.min(14,.6*$2(s)*Math.sqrt(2)),o=Math.floor(f3/(i/Math.sqrt(2))),x.current.tickFormat((e=>{const t=H.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)}`})),x0(h.current).transition().duration(R).style("font-size",`${i}px`).call(x.current),x0(h.current).selectAll(".tick").each((function(e){const t=e,n=H.find((e=>e.id===t));n&&x0(this).select("text").on("mouseover",(e=>{S(e.target,n)})).on("mouseout",(e=>{T(e.target)}))}))}),[z,B,I,R,J,Z,b,H,S,T]),ua((()=>{if(!c.current||0===B)return;const e=x0(c.current).selectAll(`rect.${U2.group}`).data(H,(e=>e.id));e.exit().transition().duration(R).style("stroke-opacity",0).style("fill-opacity",0).remove();const t=e.enter().append("rect").attr("class",U2.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(R).attr("width",z).attr("height",B/I).attr("y",(e=>{const t=b(e.id);return Number.isInteger(t)?t-B/I/2:0})).style("fill-opacity",1).style("stroke-opacity",1)}),[H,z,B,I,R,b,S,T]);const[Q,ee]=i,te=ha((()=>F.filter((e=>{if(-1===b.domain().indexOf(e.groupId))return!1;const t=e.val;return!(t<Q||t>ee)})).length),[b,F,Q,ee]),ne=ha((()=>F.filter((e=>{if(-1===b.domain().indexOf(e.groupId))return!1;const t=e.val;if(t<Q||t>ee)return!1;const[n,r]=Z.domain(),[i,o]=e.timeRange;return!(o<n||i>r)}))),[b,Z,F,Q,ee]);ua((()=>{c.current&&0!==B&&Z&&(async()=>{let e=x0(c.current).selectAll(`rect.${U2.segment}`).data(ne,(e=>e.id));if(0===ne.length)return void e.exit().remove();e.exit().transition().duration(R).style("fill-opacity",0).remove();const t=e.enter().append("rect").attr("class",U2.segment).attr("rx",1).attr("ry",1).attr("x",(e=>Z(e.timeRange[0]))).attr("y",(e=>(g(e.groupId)||0)-10)).attr("width",0).attr("height",0).style("fill",(e=>c3(e.segment.status))).style("fill-opacity",0);t.on("mouseover",(function(e,t){P.current||(x0(this).transition().duration(D).attr("x",X.current(t.timeRange[0])-1).attr("width",pp([2,X.current(t.timeRange[1])-X.current(t.timeRange[0])])+2).attr("y",(p.current(t.groupId)||0)-11).attr("height",22).style("fill-opacity",1),E(e.target,t))})).on("mouseout",(function(e,t){if(P.current)return;const n=X.current(t.timeRange[1])-X.current(t.timeRange[0]);x0(this).transition().duration(D).attr("x",X.current(t.timeRange[0])).attr("width",pp([2,n])??0).attr("y",(p.current(t.groupId)??0)-10).attr("height",20).style("fill-opacity",1),N(e.target)})),e=e.merge(t),e.attr("rx",(e=>{const t=Z(e.timeRange[1])-Z(e.timeRange[0]);return d3(t)})).attr("ry",(e=>{const t=Z(e.timeRange[1])-Z(e.timeRange[0]);return d3(t)})).attr("stroke-width",(e=>Z(e.timeRange[1])-Z(e.timeRange[0])>=12?.5:.1)).attr("stroke","var(--timeline-bg, #ffffff)").attr("height",20),e.transition().duration(R).attr("x",(e=>Z(e.timeRange[0]))).attr("y",(e=>(g(e.groupId)||0)-10)).attr("width",(e=>{const t=pp([2,(Z(e.timeRange[1])??0)-(Z(e.timeRange[0])??0)]);return(t??0)<0?0:t??0})).attr("height",20).style("fill",(e=>e.hidden?`url(#gradient-${r}-${e.segment.status})`:c3(e.segment.status))).style("fill-opacity",1)})()}),[ne,z,B,z,R,U,Z,D,g,r]),ua((()=>{l.current&&x0(l.current).transition().duration(R).attr("width",s).attr("height",j)}),[s,j,R]);const re=pa(((e,t)=>G([e,t])),[G]),[ie,oe]=Z.range(),ae=ie!==oe;return ae?qc("div",{className:U2.timelineChart,children:[a[0]!==a[1]&&ae&&qc(X2,{selectedTestsCount:te,totalTestsCount:F.length,translations:n,width:s,height:76,margins:{top:26,right:h3,bottom:30,left:f3},domainRange:a,currentSelection:[Q,ee],onChange:o,onReset:()=>o(a[0],a[1]),tickFormat:e=>_f(e)},s),qc("svg",{ref:l,width:s,height:j,children:[qc("defs",{children:hf.map((e=>qc("pattern",{id:`gradient-${r}-${e}`,patternUnits:"userSpaceOnUse",width:"10",height:"10",patternTransform:"rotate(-45 5 5)",children:[qc("rect",{width:"5",height:"10",fill:u3(e)}),qc("rect",{x:"5",width:"5",height:"10",fill:c3(e)})]},e)))}),qc("g",{ref:u,className:U2.axises,"data-label":"axises",transform:"translate(100,26)",children:[qc("g",{ref:d,className:U2.xAxis,"data-label":"x-axis"}),qc("g",{ref:f,className:U2.xGrid,"data-label":"grid"}),qc("g",{ref:h,className:U2.groupAxis,"data-label":"groups-axis"})]}),qc("g",{ref:c,"data-label":"graph",transform:"translate(100,26)",children:qc("rect",{"data-label":"graph-selection",x:0,y:0,width:z,height:B,fill:"transparent"})})]}),$[0].getTime()!==$[1].getTime()&&ae&&qc(l3,{width:s,height:76,margins:{top:26,right:h3,bottom:30,left:f3},scale:Z,domainRange:$,currentSelection:U,onChange:re,onReset:()=>G($),tickFormat:e=>_f(e.getTime()-J[0].getTime())}),Wd(qc("div",{ref:k,"data-visible":C,className:U2.tooltip,children:A?.id&&qc(Z2,{segments:ne,groupId:A.id,groupName:A.name,offsetTime:J[0].getTime()})}),document.body),Wd(qc("div",{ref:M,"data-visible":L,className:U2.tooltip,children:O&&qc(n3,{segment:O,offsetTime:J[0].getTime()})}),document.body)]}):null},g3=e=>{const{data:t,width:n,dataId:r,...i}=e,o=ha((()=>((e,t)=>{const n=[];for(const r of e){const{host:e,thread:i,historyId:o,id:a,start:s,duration:l,status:c,hidden:u,name:d}=r,f=s+l,h=B2(e,t),p=B2(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,hidden: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 qc("div",{className:U2.timelineContainer,children:qc(t3,{defaultWidth:n,children:qc(p3,{...i,data:o},r)})})};function m3(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=m3(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function v3(){for(var e,t,n=0,r="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=m3(e))&&(r&&(r+=" "),r+=t);return r}var b3=v3,y3="fma_u1MG";var _3=0;Array.isArray;function w3(e,t,n,r,i,o){t||(t={});var a,s,l=t;if("ref"in l)for(s in l={},t)"ref"==s?a=t[s]:l[s]=t[s];var c={type:e,props:l,key:n,ref:a,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:--_3,__i:-1,__u:0,__source:i,__self:o};if("function"==typeof e&&(a=e.defaultProps))for(s in a)void 0===l[s]&&(l[s]=a[s]);return no.vnode&&no.vnode(c),c}const x3=()=>w3("div",{className:y3,children:w3("a",{href:"https://allurereport.org",target:"_blank",rel:"noreferrer",children:[w3(Yc,{type:"paragraph",size:"m",className:y3,children:"Powered by"}),w3(Bx,{className:"XNvCzvZ7"})]})}),k3=Wr({loading:!0,error:void 0,data:{total:0}}),C3=Wr({loading:!0,error:void 0,data:{}}),S3=async()=>{k3.value={...k3.peek(),loading:!0,error:void 0};try{const e=await F("widgets/statistic.json",{bustCache:!0});k3.value={data:e,error:void 0,loading:!1}}catch(e){k3.value={data:{total:0},error:j(e),loading:!1}}},T3=async e=>{const t=e.filter((e=>!C3.peek().data?.[e]));if(0!==t.length){C3.value={...C3.peek(),loading:!0,error:void 0};try{const e=await Promise.all(t.map((e=>F(`widgets/${e}/statistic.json`,{bustCache:!0})))),n=C3.peek().data;C3.value={data:t.reduce(((t,n,r)=>({...t,[n]:e[r]})),{...n}),loading:!1,error:void 0}}catch(e){C3.value={...C3.peek(),error:j(e),loading:!1}}}},A3=e=>"string"==typeof e,M3=()=>{let e,t;const n=new Promise(((n,r)=>{e=n,t=r}));return n.resolve=e,n.reject=t,n},L3=e=>null==e?"":""+e,E3=/###/g,N3=e=>e&&e.indexOf("###")>-1?e.replace(E3,"."):e,O3=e=>!e||A3(e),R3=(e,t,n)=>{const r=A3(t)?t.split("."):t;let i=0;for(;i<r.length-1;){if(O3(e))return{};const t=N3(r[i]);!e[t]&&n&&(e[t]=new n),e=Object.prototype.hasOwnProperty.call(e,t)?e[t]:{},++i}return O3(e)?{}:{obj:e,k:N3(r[i])}},D3=(e,t,n)=>{const{obj:r,k:i}=R3(e,t,Object);if(void 0!==r||1===t.length)return void(r[i]=n);let o=t[t.length-1],a=t.slice(0,t.length-1),s=R3(e,a,Object);for(;void 0===s.obj&&a.length;)o=`${a[a.length-1]}.${o}`,a=a.slice(0,a.length-1),s=R3(e,a,Object),s?.obj&&void 0!==s.obj[`${s.k}.${o}`]&&(s.obj=void 0);s.obj[`${s.k}.${o}`]=n},P3=(e,t)=>{const{obj:n,k:r}=R3(e,t);if(n)return n[r]},I3=(e,t,n)=>{for(const r in t)"__proto__"!==r&&"constructor"!==r&&(r in e?A3(e[r])||e[r]instanceof String||A3(t[r])||t[r]instanceof String?n&&(e[r]=t[r]):I3(e[r],t[r],n):e[r]=t[r]);return e},z3=e=>e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&");var B3={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"};const j3=e=>A3(e)?e.replace(/[&<>"'\/]/g,(e=>B3[e])):e;const F3=[" ",",","?","!",";"],H3=new class{constructor(e){this.capacity=e,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(e){const t=this.regExpMap.get(e);if(void 0!==t)return t;const n=new RegExp(e);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(e,n),this.regExpQueue.push(e),n}}(20),$3=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:".";if(!e)return;if(e[t])return e[t];const r=t.split(n);let i=e;for(let e=0;e<r.length;){if(!i||"object"!=typeof i)return;let t,o="";for(let a=e;a<r.length;++a)if(a!==e&&(o+=n),o+=r[a],t=i[o],void 0!==t){if(["string","number","boolean"].indexOf(typeof t)>-1&&a<r.length-1)continue;e+=a-e+1;break}i=t}return i},U3=e=>e?.replace("_","-"),q3={type:"logger",log(e){this.output("log",e)},warn(e){this.output("warn",e)},error(e){this.output("error",e)},output(e,t){console?.[e]?.apply?.(console,t)}};class W3{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.init(e,t)}init(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.prefix=t.prefix||"i18next:",this.logger=e||q3,this.options=t,this.debug=t.debug}log(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"log","",!0)}warn(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"warn","",!0)}error(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"error","")}deprecate(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"warn","WARNING DEPRECATED: ",!0)}forward(e,t,n,r){return r&&!this.debug?null:(A3(e[0])&&(e[0]=`${n}${this.prefix} ${e[0]}`),this.logger[t](e))}create(e){return new W3(this.logger,{prefix:`${this.prefix}:${e}:`,...this.options})}clone(e){return(e=e||this.options).prefix=e.prefix||this.prefix,new W3(this.logger,e)}}var V3=new W3;class G3{constructor(){this.observers={}}on(e,t){return e.split(" ").forEach((e=>{this.observers[e]||(this.observers[e]=new Map);const n=this.observers[e].get(t)||0;this.observers[e].set(t,n+1)})),this}off(e,t){this.observers[e]&&(t?this.observers[e].delete(t):delete this.observers[e])}emit(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];if(this.observers[e]){Array.from(this.observers[e].entries()).forEach((e=>{let[t,r]=e;for(let e=0;e<r;e++)t(...n)}))}if(this.observers["*"]){Array.from(this.observers["*"].entries()).forEach((t=>{let[r,i]=t;for(let t=0;t<i;t++)r.apply(r,[e,...n])}))}}}class Y3 extends G3{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{ns:["translation"],defaultNS:"translation"};super(),this.data=e||{},this.options=t,void 0===this.options.keySeparator&&(this.options.keySeparator="."),void 0===this.options.ignoreJSONStructure&&(this.options.ignoreJSONStructure=!0)}addNamespaces(e){this.options.ns.indexOf(e)<0&&this.options.ns.push(e)}removeNamespaces(e){const t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)}getResource(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};const i=void 0!==r.keySeparator?r.keySeparator:this.options.keySeparator,o=void 0!==r.ignoreJSONStructure?r.ignoreJSONStructure:this.options.ignoreJSONStructure;let a;e.indexOf(".")>-1?a=e.split("."):(a=[e,t],n&&(Array.isArray(n)?a.push(...n):A3(n)&&i?a.push(...n.split(i)):a.push(n)));const s=P3(this.data,a);return!s&&!t&&!n&&e.indexOf(".")>-1&&(e=a[0],t=a[1],n=a.slice(2).join(".")),!s&&o&&A3(n)?$3(this.data?.[e]?.[t],n,i):s}addResource(e,t,n,r){let i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{silent:!1};const o=void 0!==i.keySeparator?i.keySeparator:this.options.keySeparator;let a=[e,t];n&&(a=a.concat(o?n.split(o):n)),e.indexOf(".")>-1&&(a=e.split("."),r=t,t=a[1]),this.addNamespaces(t),D3(this.data,a,r),i.silent||this.emit("added",e,t,n,r)}addResources(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{silent:!1};for(const r in n)(A3(n[r])||Array.isArray(n[r]))&&this.addResource(e,t,r,n[r],{silent:!0});r.silent||this.emit("added",e,t,n)}addResourceBundle(e,t,n,r,i){let o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{silent:!1,skipCopy:!1},a=[e,t];e.indexOf(".")>-1&&(a=e.split("."),r=n,n=t,t=a[1]),this.addNamespaces(t);let s=P3(this.data,a)||{};o.skipCopy||(n=JSON.parse(JSON.stringify(n))),r?I3(s,n,i):s={...s,...n},D3(this.data,a,s),o.silent||this.emit("added",e,t,n)}removeResourceBundle(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit("removed",e,t)}hasResourceBundle(e,t){return void 0!==this.getResource(e,t)}getResourceBundle(e,t){return t||(t=this.options.defaultNS),this.getResource(e,t)}getDataByLanguage(e){return this.data[e]}hasLanguageSomeTranslations(e){const t=this.getDataByLanguage(e);return!!(t&&Object.keys(t)||[]).find((e=>t[e]&&Object.keys(t[e]).length>0))}toJSON(){return this.data}}var X3={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,t,n,r,i){return e.forEach((e=>{t=this.processors[e]?.process(t,n,r,i)??t})),t}};const Z3={};class K3 extends G3{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};super(),((e,t,n)=>{e.forEach((e=>{t[e]&&(n[e]=t[e])}))})(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],e,this),this.options=t,void 0===this.options.keySeparator&&(this.options.keySeparator="."),this.logger=V3.create("translator")}changeLanguage(e){e&&(this.language=e)}exists(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}};if(null==e)return!1;const n=this.resolve(e,t);return void 0!==n?.res}extractFromKey(e,t){let n=void 0!==t.nsSeparator?t.nsSeparator:this.options.nsSeparator;void 0===n&&(n=":");const r=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator;let i=t.ns||this.options.defaultNS||[];const o=n&&e.indexOf(n)>-1,a=!(this.options.userDefinedKeySeparator||t.keySeparator||this.options.userDefinedNsSeparator||t.nsSeparator||((e,t,n)=>{t=t||"",n=n||"";const r=F3.filter((e=>t.indexOf(e)<0&&n.indexOf(e)<0));if(0===r.length)return!0;const i=H3.getRegExp(`(${r.map((e=>"?"===e?"\\?":e)).join("|")})`);let o=!i.test(e);if(!o){const t=e.indexOf(n);t>0&&!i.test(e.substring(0,t))&&(o=!0)}return o})(e,n,r));if(o&&!a){const t=e.match(this.interpolator.nestingRegexp);if(t&&t.length>0)return{key:e,namespaces:A3(i)?[i]:i};const o=e.split(n);(n!==r||n===r&&this.options.ns.indexOf(o[0])>-1)&&(i=o.shift()),e=o.join(r)}return{key:e,namespaces:A3(i)?[i]:i}}translate(e,t,n){if("object"!=typeof t&&this.options.overloadTranslationOptionHandler&&(t=this.options.overloadTranslationOptionHandler(arguments)),"object"==typeof t&&(t={...t}),t||(t={}),null==e)return"";Array.isArray(e)||(e=[String(e)]);const r=void 0!==t.returnDetails?t.returnDetails:this.options.returnDetails,i=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,{key:o,namespaces:a}=this.extractFromKey(e[e.length-1],t),s=a[a.length-1],l=t.lng||this.language,c=t.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if("cimode"===l?.toLowerCase()){if(c){const e=t.nsSeparator||this.options.nsSeparator;return r?{res:`${s}${e}${o}`,usedKey:o,exactUsedKey:o,usedLng:l,usedNS:s,usedParams:this.getUsedParamsDetails(t)}:`${s}${e}${o}`}return r?{res:o,usedKey:o,exactUsedKey:o,usedLng:l,usedNS:s,usedParams:this.getUsedParamsDetails(t)}:o}const u=this.resolve(e,t);let d=u?.res;const f=u?.usedKey||o,h=u?.exactUsedKey||o,p=Object.prototype.toString.apply(d),g=void 0!==t.joinArrays?t.joinArrays:this.options.joinArrays,m=!this.i18nFormat||this.i18nFormat.handleAsObject,v=!A3(d)&&"boolean"!=typeof d&&"number"!=typeof d;if(!(m&&d&&v&&["[object Number]","[object Function]","[object RegExp]"].indexOf(p)<0)||A3(g)&&Array.isArray(d))if(m&&A3(g)&&Array.isArray(d))d=d.join(g),d&&(d=this.extendTranslation(d,e,t,n));else{let r=!1,a=!1;const c=void 0!==t.count&&!A3(t.count),f=K3.hasDefaultValue(t),h=c?this.pluralResolver.getSuffix(l,t.count,t):"",p=t.ordinal&&c?this.pluralResolver.getSuffix(l,t.count,{ordinal:!1}):"",g=c&&!t.ordinal&&0===t.count,m=g&&t[`defaultValue${this.options.pluralSeparator}zero`]||t[`defaultValue${h}`]||t[`defaultValue${p}`]||t.defaultValue;!this.isValidLookup(d)&&f&&(r=!0,d=m),this.isValidLookup(d)||(a=!0,d=o);const v=(t.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&a?void 0:d,b=f&&m!==d&&this.options.updateMissing;if(a||r||b){if(this.logger.log(b?"updateKey":"missingKey",l,s,o,b?m:d),i){const e=this.resolve(o,{...t,keySeparator:!1});e&&e.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let e=[];const n=this.languageUtils.getFallbackCodes(this.options.fallbackLng,t.lng||this.language);if("fallback"===this.options.saveMissingTo&&n&&n[0])for(let t=0;t<n.length;t++)e.push(n[t]);else"all"===this.options.saveMissingTo?e=this.languageUtils.toResolveHierarchy(t.lng||this.language):e.push(t.lng||this.language);const r=(e,n,r)=>{const i=f&&r!==d?r:v;this.options.missingKeyHandler?this.options.missingKeyHandler(e,s,n,i,b,t):this.backendConnector?.saveMissing&&this.backendConnector.saveMissing(e,s,n,i,b,t),this.emit("missingKey",e,s,n,d)};this.options.saveMissing&&(this.options.saveMissingPlurals&&c?e.forEach((e=>{const n=this.pluralResolver.getSuffixes(e,t);g&&t[`defaultValue${this.options.pluralSeparator}zero`]&&n.indexOf(`${this.options.pluralSeparator}zero`)<0&&n.push(`${this.options.pluralSeparator}zero`),n.forEach((n=>{r([e],o+n,t[`defaultValue${n}`]||m)}))})):r(e,o,m))}d=this.extendTranslation(d,e,t,u,n),a&&d===o&&this.options.appendNamespaceToMissingKey&&(d=`${s}:${o}`),(a||r)&&this.options.parseMissingKeyHandler&&(d=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${s}:${o}`:o,r?d:void 0))}else{if(!t.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const e=this.options.returnedObjectHandler?this.options.returnedObjectHandler(f,d,{...t,ns:a}):`key '${o} (${this.language})' returned an object instead of string.`;return r?(u.res=e,u.usedParams=this.getUsedParamsDetails(t),u):e}if(i){const e=Array.isArray(d),n=e?[]:{},r=e?h:f;for(const e in d)if(Object.prototype.hasOwnProperty.call(d,e)){const o=`${r}${i}${e}`;n[e]=this.translate(o,{...t,joinArrays:!1,ns:a}),n[e]===o&&(n[e]=d[e])}d=n}}return r?(u.res=d,u.usedParams=this.getUsedParamsDetails(t),u):d}extendTranslation(e,t,n,r,i){var o=this;if(this.i18nFormat?.parse)e=this.i18nFormat.parse(e,{...this.options.interpolation.defaultVariables,...n},n.lng||this.language||r.usedLng,r.usedNS,r.usedKey,{resolved:r});else if(!n.skipInterpolation){n.interpolation&&this.interpolator.init({...n,interpolation:{...this.options.interpolation,...n.interpolation}});const a=A3(e)&&(void 0!==n?.interpolation?.skipOnVariables?n.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let s;if(a){const t=e.match(this.interpolator.nestingRegexp);s=t&&t.length}let l=n.replace&&!A3(n.replace)?n.replace:n;if(this.options.interpolation.defaultVariables&&(l={...this.options.interpolation.defaultVariables,...l}),e=this.interpolator.interpolate(e,l,n.lng||this.language||r.usedLng,n),a){const t=e.match(this.interpolator.nestingRegexp);s<(t&&t.length)&&(n.nest=!1)}!n.lng&&r&&r.res&&(n.lng=this.language||r.usedLng),!1!==n.nest&&(e=this.interpolator.nest(e,(function(){for(var e=arguments.length,r=new Array(e),a=0;a<e;a++)r[a]=arguments[a];return i?.[0]!==r[0]||n.context?o.translate(...r,t):(o.logger.warn(`It seems you are nesting recursively key: ${r[0]} in key: ${t[0]}`),null)}),n)),n.interpolation&&this.interpolator.reset()}const a=n.postProcess||this.options.postProcess,s=A3(a)?[a]:a;return null!=e&&s?.length&&!1!==n.applyPostProcessor&&(e=X3.handle(s,e,t,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...r,usedParams:this.getUsedParamsDetails(n)},...n}:n,this)),e}resolve(e){let t,n,r,i,o,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return A3(e)&&(e=[e]),e.forEach((e=>{if(this.isValidLookup(t))return;const s=this.extractFromKey(e,a),l=s.key;n=l;let c=s.namespaces;this.options.fallbackNS&&(c=c.concat(this.options.fallbackNS));const u=void 0!==a.count&&!A3(a.count),d=u&&!a.ordinal&&0===a.count,f=void 0!==a.context&&(A3(a.context)||"number"==typeof a.context)&&""!==a.context,h=a.lngs?a.lngs:this.languageUtils.toResolveHierarchy(a.lng||this.language,a.fallbackLng);c.forEach((e=>{this.isValidLookup(t)||(o=e,Z3[`${h[0]}-${e}`]||!this.utils?.hasLoadedNamespace||this.utils?.hasLoadedNamespace(o)||(Z3[`${h[0]}-${e}`]=!0,this.logger.warn(`key "${n}" for languages "${h.join(", ")}" won't get resolved as namespace "${o}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),h.forEach((n=>{if(this.isValidLookup(t))return;i=n;const o=[l];if(this.i18nFormat?.addLookupKeys)this.i18nFormat.addLookupKeys(o,l,n,e,a);else{let e;u&&(e=this.pluralResolver.getSuffix(n,a.count,a));const t=`${this.options.pluralSeparator}zero`,r=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(u&&(o.push(l+e),a.ordinal&&0===e.indexOf(r)&&o.push(l+e.replace(r,this.options.pluralSeparator)),d&&o.push(l+t)),f){const n=`${l}${this.options.contextSeparator}${a.context}`;o.push(n),u&&(o.push(n+e),a.ordinal&&0===e.indexOf(r)&&o.push(n+e.replace(r,this.options.pluralSeparator)),d&&o.push(n+t))}}let s;for(;s=o.pop();)this.isValidLookup(t)||(r=s,t=this.getResource(n,e,s,a))})))}))})),{res:t,usedKey:n,exactUsedKey:r,usedLng:i,usedNS:o}}isValidLookup(e){return!(void 0===e||!this.options.returnNull&&null===e||!this.options.returnEmptyString&&""===e)}getResource(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return this.i18nFormat?.getResource?this.i18nFormat.getResource(e,t,n,r):this.resourceStore.getResource(e,t,n,r)}getUsedParamsDetails(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],n=e.replace&&!A3(e.replace);let r=n?e.replace:e;if(n&&void 0!==e.count&&(r.count=e.count),this.options.interpolation.defaultVariables&&(r={...this.options.interpolation.defaultVariables,...r}),!n){r={...r};for(const e of t)delete r[e]}return r}static hasDefaultValue(e){const t="defaultValue";for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t===n.substring(0,12)&&void 0!==e[n])return!0;return!1}}class J3{constructor(e){this.options=e,this.supportedLngs=this.options.supportedLngs||!1,this.logger=V3.create("languageUtils")}getScriptPartFromCode(e){if(!(e=U3(e))||e.indexOf("-")<0)return null;const t=e.split("-");return 2===t.length?null:(t.pop(),"x"===t[t.length-1].toLowerCase()?null:this.formatLanguageCode(t.join("-")))}getLanguagePartFromCode(e){if(!(e=U3(e))||e.indexOf("-")<0)return e;const t=e.split("-");return this.formatLanguageCode(t[0])}formatLanguageCode(e){if(A3(e)&&e.indexOf("-")>-1){let t;try{t=Intl.getCanonicalLocales(e)[0]}catch(e){}return t&&this.options.lowerCaseLng&&(t=t.toLowerCase()),t||(this.options.lowerCaseLng?e.toLowerCase():e)}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}isSupportedCode(e){return("languageOnly"===this.options.load||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}getBestMatchFromCodes(e){if(!e)return null;let t;return e.forEach((e=>{if(t)return;const n=this.formatLanguageCode(e);this.options.supportedLngs&&!this.isSupportedCode(n)||(t=n)})),!t&&this.options.supportedLngs&&e.forEach((e=>{if(t)return;const n=this.getLanguagePartFromCode(e);if(this.isSupportedCode(n))return t=n;t=this.options.supportedLngs.find((e=>e===n?e:e.indexOf("-")<0&&n.indexOf("-")<0?void 0:e.indexOf("-")>0&&n.indexOf("-")<0&&e.substring(0,e.indexOf("-"))===n||0===e.indexOf(n)&&n.length>1?e:void 0))})),t||(t=this.getFallbackCodes(this.options.fallbackLng)[0]),t}getFallbackCodes(e,t){if(!e)return[];if("function"==typeof e&&(e=e(t)),A3(e)&&(e=[e]),Array.isArray(e))return e;if(!t)return e.default||[];let n=e[t];return n||(n=e[this.getScriptPartFromCode(t)]),n||(n=e[this.formatLanguageCode(t)]),n||(n=e[this.getLanguagePartFromCode(t)]),n||(n=e.default),n||[]}toResolveHierarchy(e,t){const n=this.getFallbackCodes(t||this.options.fallbackLng||[],e),r=[],i=e=>{e&&(this.isSupportedCode(e)?r.push(e):this.logger.warn(`rejecting language code not found in supportedLngs: ${e}`))};return A3(e)&&(e.indexOf("-")>-1||e.indexOf("_")>-1)?("languageOnly"!==this.options.load&&i(this.formatLanguageCode(e)),"languageOnly"!==this.options.load&&"currentOnly"!==this.options.load&&i(this.getScriptPartFromCode(e)),"currentOnly"!==this.options.load&&i(this.getLanguagePartFromCode(e))):A3(e)&&i(this.formatLanguageCode(e)),n.forEach((e=>{r.indexOf(e)<0&&i(this.formatLanguageCode(e))})),r}}const Q3={zero:0,one:1,two:2,few:3,many:4,other:5},e4={select:e=>1===e?"one":"other",resolvedOptions:()=>({pluralCategories:["one","other"]})};class t4{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.languageUtils=e,this.options=t,this.logger=V3.create("pluralResolver"),this.pluralRulesCache={}}addRule(e,t){this.rules[e]=t}clearCache(){this.pluralRulesCache={}}getRule(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=U3("dev"===e?"en":e),r=t.ordinal?"ordinal":"cardinal",i=JSON.stringify({cleanedCode:n,type:r});if(i in this.pluralRulesCache)return this.pluralRulesCache[i];let o;try{o=new Intl.PluralRules(n,{type:r})}catch(n){if(!Intl)return this.logger.error("No Intl support, please use an Intl polyfill!"),e4;if(!e.match(/-|_/))return e4;const r=this.languageUtils.getLanguagePartFromCode(e);o=this.getRule(r,t)}return this.pluralRulesCache[i]=o,o}needsPlural(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this.getRule(e,t);return n||(n=this.getRule("dev",t)),n?.resolvedOptions().pluralCategories.length>1}getPluralFormsOfKey(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.getSuffixes(e,n).map((e=>`${t}${e}`))}getSuffixes(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this.getRule(e,t);return n||(n=this.getRule("dev",t)),n?n.resolvedOptions().pluralCategories.sort(((e,t)=>Q3[e]-Q3[t])).map((e=>`${this.options.prepend}${t.ordinal?`ordinal${this.options.prepend}`:""}${e}`)):[]}getSuffix(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const r=this.getRule(e,n);return r?`${this.options.prepend}${n.ordinal?`ordinal${this.options.prepend}`:""}${r.select(t)}`:(this.logger.warn(`no plural rule found for: ${e}`),this.getSuffix("dev",t,n))}}const n4=function(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:".",i=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],o=((e,t,n)=>{const r=P3(e,n);return void 0!==r?r:P3(t,n)})(e,t,n);return!o&&i&&A3(n)&&(o=$3(e,n,r),void 0===o&&(o=$3(t,n,r))),o},r4=e=>e.replace(/\$/g,"$$$$");class i4{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.logger=V3.create("interpolator"),this.options=e,this.format=e?.interpolation?.format||(e=>e),this.init(e)}init(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.interpolation||(e.interpolation={escapeValue:!0});const{escape:t,escapeValue:n,useRawValueToEscape:r,prefix:i,prefixEscaped:o,suffix:a,suffixEscaped:s,formatSeparator:l,unescapeSuffix:c,unescapePrefix:u,nestingPrefix:d,nestingPrefixEscaped:f,nestingSuffix:h,nestingSuffixEscaped:p,nestingOptionsSeparator:g,maxReplaces:m,alwaysFormat:v}=e.interpolation;this.escape=void 0!==t?t:j3,this.escapeValue=void 0===n||n,this.useRawValueToEscape=void 0!==r&&r,this.prefix=i?z3(i):o||"{{",this.suffix=a?z3(a):s||"}}",this.formatSeparator=l||",",this.unescapePrefix=c?"":u||"-",this.unescapeSuffix=this.unescapePrefix?"":c||"",this.nestingPrefix=d?z3(d):f||z3("$t("),this.nestingSuffix=h?z3(h):p||z3(")"),this.nestingOptionsSeparator=g||",",this.maxReplaces=m||1e3,this.alwaysFormat=void 0!==v&&v,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const e=(e,t)=>e?.source===t?(e.lastIndex=0,e):new RegExp(t,"g");this.regexp=e(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=e(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=e(this.nestingRegexp,`${this.nestingPrefix}(.+?)${this.nestingSuffix}`)}interpolate(e,t,n,r){let i,o,a;const s=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},l=e=>{if(e.indexOf(this.formatSeparator)<0){const i=n4(t,s,e,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(i,void 0,n,{...r,...t,interpolationkey:e}):i}const i=e.split(this.formatSeparator),o=i.shift().trim(),a=i.join(this.formatSeparator).trim();return this.format(n4(t,s,o,this.options.keySeparator,this.options.ignoreJSONStructure),a,n,{...r,...t,interpolationkey:o})};this.resetRegExp();const c=r?.missingInterpolationHandler||this.options.missingInterpolationHandler,u=void 0!==r?.interpolation?.skipOnVariables?r.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:e=>r4(e)},{regex:this.regexp,safeValue:e=>this.escapeValue?r4(this.escape(e)):r4(e)}].forEach((t=>{for(a=0;i=t.regex.exec(e);){const n=i[1].trim();if(o=l(n),void 0===o)if("function"==typeof c){const t=c(e,i,r);o=A3(t)?t:""}else if(r&&Object.prototype.hasOwnProperty.call(r,n))o="";else{if(u){o=i[0];continue}this.logger.warn(`missed to pass in variable ${n} for interpolating ${e}`),o=""}else A3(o)||this.useRawValueToEscape||(o=L3(o));const s=t.safeValue(o);if(e=e.replace(i[0],s),u?(t.regex.lastIndex+=o.length,t.regex.lastIndex-=i[0].length):t.regex.lastIndex=0,a++,a>=this.maxReplaces)break}})),e}nest(e,t){let n,r,i,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const a=(e,t)=>{const n=this.nestingOptionsSeparator;if(e.indexOf(n)<0)return e;const r=e.split(new RegExp(`${n}[ ]*{`));let o=`{${r[1]}`;e=r[0],o=this.interpolate(o,i);const a=o.match(/'/g),s=o.match(/"/g);((a?.length??0)%2==0&&!s||s.length%2!=0)&&(o=o.replace(/'/g,'"'));try{i=JSON.parse(o),t&&(i={...t,...i})}catch(t){return this.logger.warn(`failed parsing options string in nesting for key ${e}`,t),`${e}${n}${o}`}return i.defaultValue&&i.defaultValue.indexOf(this.prefix)>-1&&delete i.defaultValue,e};for(;n=this.nestingRegexp.exec(e);){let s=[];i={...o},i=i.replace&&!A3(i.replace)?i.replace:i,i.applyPostProcessor=!1,delete i.defaultValue;let l=!1;if(-1!==n[0].indexOf(this.formatSeparator)&&!/{.*}/.test(n[1])){const e=n[1].split(this.formatSeparator).map((e=>e.trim()));n[1]=e.shift(),s=e,l=!0}if(r=t(a.call(this,n[1].trim(),i),i),r&&n[0]===e&&!A3(r))return r;A3(r)||(r=L3(r)),r||(this.logger.warn(`missed to resolve ${n[1]} for nesting ${e}`),r=""),l&&(r=s.reduce(((e,t)=>this.format(e,t,o.lng,{...o,interpolationkey:n[1].trim()})),r.trim())),e=e.replace(n[0],r),this.regexp.lastIndex=0}return e}}const o4=e=>{const t={};return(n,r,i)=>{let o=i;i&&i.interpolationkey&&i.formatParams&&i.formatParams[i.interpolationkey]&&i[i.interpolationkey]&&(o={...o,[i.interpolationkey]:void 0});const a=r+JSON.stringify(o);let s=t[a];return s||(s=e(U3(r),i),t[a]=s),s(n)}};class a4{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.logger=V3.create("formatter"),this.options=e,this.formats={number:o4(((e,t)=>{const n=new Intl.NumberFormat(e,{...t});return e=>n.format(e)})),currency:o4(((e,t)=>{const n=new Intl.NumberFormat(e,{...t,style:"currency"});return e=>n.format(e)})),datetime:o4(((e,t)=>{const n=new Intl.DateTimeFormat(e,{...t});return e=>n.format(e)})),relativetime:o4(((e,t)=>{const n=new Intl.RelativeTimeFormat(e,{...t});return e=>n.format(e,t.range||"day")})),list:o4(((e,t)=>{const n=new Intl.ListFormat(e,{...t});return e=>n.format(e)}))},this.init(e)}init(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}};this.formatSeparator=t.interpolation.formatSeparator||","}add(e,t){this.formats[e.toLowerCase().trim()]=t}addCached(e,t){this.formats[e.toLowerCase().trim()]=o4(t)}format(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};const i=t.split(this.formatSeparator);if(i.length>1&&i[0].indexOf("(")>1&&i[0].indexOf(")")<0&&i.find((e=>e.indexOf(")")>-1))){const e=i.findIndex((e=>e.indexOf(")")>-1));i[0]=[i[0],...i.splice(1,e)].join(this.formatSeparator)}const o=i.reduce(((e,t)=>{const{formatName:i,formatOptions:o}=(e=>{let t=e.toLowerCase().trim();const n={};if(e.indexOf("(")>-1){const r=e.split("(");t=r[0].toLowerCase().trim();const i=r[1].substring(0,r[1].length-1);"currency"===t&&i.indexOf(":")<0?n.currency||(n.currency=i.trim()):"relativetime"===t&&i.indexOf(":")<0?n.range||(n.range=i.trim()):i.split(";").forEach((e=>{if(e){const[t,...r]=e.split(":"),i=r.join(":").trim().replace(/^'+|'+$/g,""),o=t.trim();n[o]||(n[o]=i),"false"===i&&(n[o]=!1),"true"===i&&(n[o]=!0),isNaN(i)||(n[o]=parseInt(i,10))}}))}return{formatName:t,formatOptions:n}})(t);if(this.formats[i]){let t=e;try{const a=r?.formatParams?.[r.interpolationkey]||{},s=a.locale||a.lng||r.locale||r.lng||n;t=this.formats[i](e,s,{...o,...r,...a})}catch(e){this.logger.warn(e)}return t}return this.logger.warn(`there was no format function for ${i}`),e}),e);return o}}class s4 extends G3{constructor(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};super(),this.backend=e,this.store=t,this.services=n,this.languageUtils=n.languageUtils,this.options=r,this.logger=V3.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=r.maxParallelReads||10,this.readingCalls=0,this.maxRetries=r.maxRetries>=0?r.maxRetries:5,this.retryTimeout=r.retryTimeout>=1?r.retryTimeout:350,this.state={},this.queue=[],this.backend?.init?.(n,r.backend,r)}queueLoad(e,t,n,r){const i={},o={},a={},s={};return e.forEach((e=>{let r=!0;t.forEach((t=>{const a=`${e}|${t}`;!n.reload&&this.store.hasResourceBundle(e,t)?this.state[a]=2:this.state[a]<0||(1===this.state[a]?void 0===o[a]&&(o[a]=!0):(this.state[a]=1,r=!1,void 0===o[a]&&(o[a]=!0),void 0===i[a]&&(i[a]=!0),void 0===s[t]&&(s[t]=!0)))})),r||(a[e]=!0)})),(Object.keys(i).length||Object.keys(o).length)&&this.queue.push({pending:o,pendingCount:Object.keys(o).length,loaded:{},errors:[],callback:r}),{toLoad:Object.keys(i),pending:Object.keys(o),toLoadLanguages:Object.keys(a),toLoadNamespaces:Object.keys(s)}}loaded(e,t,n){const r=e.split("|"),i=r[0],o=r[1];t&&this.emit("failedLoading",i,o,t),!t&&n&&this.store.addResourceBundle(i,o,n,void 0,void 0,{skipCopy:!0}),this.state[e]=t?-1:2,t&&n&&(this.state[e]=0);const a={};this.queue.forEach((n=>{((e,t,n)=>{const{obj:r,k:i}=R3(e,t,Object);r[i]=r[i]||[],r[i].push(n)})(n.loaded,[i],o),((e,t)=>{void 0!==e.pending[t]&&(delete e.pending[t],e.pendingCount--)})(n,e),t&&n.errors.push(t),0!==n.pendingCount||n.done||(Object.keys(n.loaded).forEach((e=>{a[e]||(a[e]={});const t=n.loaded[e];t.length&&t.forEach((t=>{void 0===a[e][t]&&(a[e][t]=!0)}))})),n.done=!0,n.errors.length?n.callback(n.errors):n.callback())})),this.emit("loaded",a),this.queue=this.queue.filter((e=>!e.done))}read(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:this.retryTimeout,o=arguments.length>5?arguments[5]:void 0;if(!e.length)return o(null,{});if(this.readingCalls>=this.maxParallelReads)return void this.waitingReads.push({lng:e,ns:t,fcName:n,tried:r,wait:i,callback:o});this.readingCalls++;const a=(a,s)=>{if(this.readingCalls--,this.waitingReads.length>0){const e=this.waitingReads.shift();this.read(e.lng,e.ns,e.fcName,e.tried,e.wait,e.callback)}a&&s&&r<this.maxRetries?setTimeout((()=>{this.read.call(this,e,t,n,r+1,2*i,o)}),i):o(a,s)},s=this.backend[n].bind(this.backend);if(2!==s.length)return s(e,t,a);try{const n=s(e,t);n&&"function"==typeof n.then?n.then((e=>a(null,e))).catch(a):a(null,n)}catch(e){a(e)}}prepareLoading(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),r&&r();A3(e)&&(e=this.languageUtils.toResolveHierarchy(e)),A3(t)&&(t=[t]);const i=this.queueLoad(e,t,n,r);if(!i.toLoad.length)return i.pending.length||r(),null;i.toLoad.forEach((e=>{this.loadOne(e)}))}load(e,t,n){this.prepareLoading(e,t,{},n)}reload(e,t,n){this.prepareLoading(e,t,{reload:!0},n)}loadOne(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";const n=e.split("|"),r=n[0],i=n[1];this.read(r,i,"read",void 0,void 0,((n,o)=>{n&&this.logger.warn(`${t}loading namespace ${i} for language ${r} failed`,n),!n&&o&&this.logger.log(`${t}loaded namespace ${i} for language ${r}`,o),this.loaded(e,n,o)}))}saveMissing(e,t,n,r,i){let o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:()=>{};if(!this.services?.utils?.hasLoadedNamespace||this.services?.utils?.hasLoadedNamespace(t)){if(null!=n&&""!==n){if(this.backend?.create){const s={...o,isUpdate:i},l=this.backend.create.bind(this.backend);if(l.length<6)try{let i;i=5===l.length?l(e,t,n,r,s):l(e,t,n,r),i&&"function"==typeof i.then?i.then((e=>a(null,e))).catch(a):a(null,i)}catch(e){a(e)}else l(e,t,n,r,a,s)}e&&e[0]&&this.store.addResource(e[0],t,n,r)}}else this.logger.warn(`did not save key "${n}" as the namespace "${t}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")}}const l4=()=>({debug:!1,initAsync:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:e=>{let t={};if("object"==typeof e[1]&&(t=e[1]),A3(e[1])&&(t.defaultValue=e[1]),A3(e[2])&&(t.tDescription=e[2]),"object"==typeof e[2]||"object"==typeof e[3]){const n=e[3]||e[2];Object.keys(n).forEach((e=>{t[e]=n[e]}))}return t},interpolation:{escapeValue:!0,format:e=>e,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}),c4=e=>(A3(e.ns)&&(e.ns=[e.ns]),A3(e.fallbackLng)&&(e.fallbackLng=[e.fallbackLng]),A3(e.fallbackNS)&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs?.indexOf?.("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),"boolean"==typeof e.initImmediate&&(e.initAsync=e.initImmediate),e),u4=()=>{};class d4 extends G3{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;var n;if(super(),this.options=c4(e),this.services={},this.logger=V3,this.modules={external:[]},n=this,Object.getOwnPropertyNames(Object.getPrototypeOf(n)).forEach((e=>{"function"==typeof n[e]&&(n[e]=n[e].bind(n))})),t&&!this.isInitialized&&!e.isClone){if(!this.options.initAsync)return this.init(e,t),this;setTimeout((()=>{this.init(e,t)}),0)}}init(){var e=this;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;this.isInitializing=!0,"function"==typeof t&&(n=t,t={}),!t.defaultNS&&!1!==t.defaultNS&&t.ns&&(A3(t.ns)?t.defaultNS=t.ns:t.ns.indexOf("translation")<0&&(t.defaultNS=t.ns[0]));const r=l4();this.options={...r,...this.options,...c4(t)},this.options.interpolation={...r.interpolation,...this.options.interpolation},void 0!==t.keySeparator&&(this.options.userDefinedKeySeparator=t.keySeparator),void 0!==t.nsSeparator&&(this.options.userDefinedNsSeparator=t.nsSeparator);const i=e=>e?"function"==typeof e?new e:e:null;if(!this.options.isClone){let t;this.modules.logger?V3.init(i(this.modules.logger),this.options):V3.init(null,this.options),t=this.modules.formatter?this.modules.formatter:a4;const n=new J3(this.options);this.store=new Y3(this.options.resources,this.options);const o=this.services;o.logger=V3,o.resourceStore=this.store,o.languageUtils=n,o.pluralResolver=new t4(n,{prepend:this.options.pluralSeparator,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),!t||this.options.interpolation.format&&this.options.interpolation.format!==r.interpolation.format||(o.formatter=i(t),o.formatter.init(o,this.options),this.options.interpolation.format=o.formatter.format.bind(o.formatter)),o.interpolator=new i4(this.options),o.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},o.backendConnector=new s4(i(this.modules.backend),o.resourceStore,o,this.options),o.backendConnector.on("*",(function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];e.emit(t,...r)})),this.modules.languageDetector&&(o.languageDetector=i(this.modules.languageDetector),o.languageDetector.init&&o.languageDetector.init(o,this.options.detection,this.options)),this.modules.i18nFormat&&(o.i18nFormat=i(this.modules.i18nFormat),o.i18nFormat.init&&o.i18nFormat.init(this)),this.translator=new K3(this.services,this.options),this.translator.on("*",(function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];e.emit(t,...r)})),this.modules.external.forEach((e=>{e.init&&e.init(this)}))}if(this.format=this.options.interpolation.format,n||(n=u4),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const e=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);e.length>0&&"dev"!==e[0]&&(this.options.lng=e[0])}this.services.languageDetector||this.options.lng||this.logger.warn("init: no languageDetector is used and no lng is defined");["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach((t=>{this[t]=function(){return e.store[t](...arguments)}}));["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach((t=>{this[t]=function(){return e.store[t](...arguments),e}}));const o=M3(),a=()=>{const e=(e,t)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),o.resolve(t),n(e,t)};if(this.languages&&!this.isInitialized)return e(null,this.t.bind(this));this.changeLanguage(this.options.lng,e)};return this.options.resources||!this.options.initAsync?a():setTimeout(a,0),o}loadResources(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:u4;const n=A3(e)?e:this.language;if("function"==typeof e&&(t=e),!this.options.resources||this.options.partialBundledLanguages){if("cimode"===n?.toLowerCase()&&(!this.options.preload||0===this.options.preload.length))return t();const e=[],r=t=>{if(!t)return;if("cimode"===t)return;this.services.languageUtils.toResolveHierarchy(t).forEach((t=>{"cimode"!==t&&e.indexOf(t)<0&&e.push(t)}))};if(n)r(n);else{this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach((e=>r(e)))}this.options.preload?.forEach?.((e=>r(e))),this.services.backendConnector.load(e,this.options.ns,(e=>{e||this.resolvedLanguage||!this.language||this.setResolvedLanguage(this.language),t(e)}))}else t(null)}reloadResources(e,t,n){const r=M3();return"function"==typeof e&&(n=e,e=void 0),"function"==typeof t&&(n=t,t=void 0),e||(e=this.languages),t||(t=this.options.ns),n||(n=u4),this.services.backendConnector.reload(e,t,(e=>{r.resolve(),n(e)})),r}use(e){if(!e)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!e.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return"backend"===e.type&&(this.modules.backend=e),("logger"===e.type||e.log&&e.warn&&e.error)&&(this.modules.logger=e),"languageDetector"===e.type&&(this.modules.languageDetector=e),"i18nFormat"===e.type&&(this.modules.i18nFormat=e),"postProcessor"===e.type&&X3.addPostProcessor(e),"formatter"===e.type&&(this.modules.formatter=e),"3rdParty"===e.type&&this.modules.external.push(e),this}setResolvedLanguage(e){if(e&&this.languages&&!(["cimode","dev"].indexOf(e)>-1))for(let e=0;e<this.languages.length;e++){const t=this.languages[e];if(!(["cimode","dev"].indexOf(t)>-1)&&this.store.hasLanguageSomeTranslations(t)){this.resolvedLanguage=t;break}}}changeLanguage(e,t){var n=this;this.isLanguageChangingTo=e;const r=M3();this.emit("languageChanging",e);const i=e=>{this.language=e,this.languages=this.services.languageUtils.toResolveHierarchy(e),this.resolvedLanguage=void 0,this.setResolvedLanguage(e)},o=(e,o)=>{o?(i(o),this.translator.changeLanguage(o),this.isLanguageChangingTo=void 0,this.emit("languageChanged",o),this.logger.log("languageChanged",o)):this.isLanguageChangingTo=void 0,r.resolve((function(){return n.t(...arguments)})),t&&t(e,(function(){return n.t(...arguments)}))},a=t=>{e||t||!this.services.languageDetector||(t=[]);const n=A3(t)?t:this.services.languageUtils.getBestMatchFromCodes(t);n&&(this.language||i(n),this.translator.language||this.translator.changeLanguage(n),this.services.languageDetector?.cacheUserLanguage?.(n)),this.loadResources(n,(e=>{o(e,n)}))};return e||!this.services.languageDetector||this.services.languageDetector.async?!e&&this.services.languageDetector&&this.services.languageDetector.async?0===this.services.languageDetector.detect.length?this.services.languageDetector.detect().then(a):this.services.languageDetector.detect(a):a(e):a(this.services.languageDetector.detect()),r}getFixedT(e,t,n){var r=this;const i=function(e,t){let o;if("object"!=typeof t){for(var a=arguments.length,s=new Array(a>2?a-2:0),l=2;l<a;l++)s[l-2]=arguments[l];o=r.options.overloadTranslationOptionHandler([e,t].concat(s))}else o={...t};o.lng=o.lng||i.lng,o.lngs=o.lngs||i.lngs,o.ns=o.ns||i.ns,""!==o.keyPrefix&&(o.keyPrefix=o.keyPrefix||n||i.keyPrefix);const c=r.options.keySeparator||".";let u;return u=o.keyPrefix&&Array.isArray(e)?e.map((e=>`${o.keyPrefix}${c}${e}`)):o.keyPrefix?`${o.keyPrefix}${c}${e}`:e,r.t(u,o)};return A3(e)?i.lng=e:i.lngs=e,i.ns=t,i.keyPrefix=n,i}t(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.translator?.translate(...t)}exists(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.translator?.exists(...t)}setDefaultNamespace(e){this.options.defaultNS=e}hasLoadedNamespace(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;const n=t.lng||this.resolvedLanguage||this.languages[0],r=!!this.options&&this.options.fallbackLng,i=this.languages[this.languages.length-1];if("cimode"===n.toLowerCase())return!0;const o=(e,t)=>{const n=this.services.backendConnector.state[`${e}|${t}`];return-1===n||0===n||2===n};if(t.precheck){const e=t.precheck(this,o);if(void 0!==e)return e}return!!this.hasResourceBundle(n,e)||(!(this.services.backendConnector.backend&&(!this.options.resources||this.options.partialBundledLanguages))||!(!o(n,e)||r&&!o(i,e)))}loadNamespaces(e,t){const n=M3();return this.options.ns?(A3(e)&&(e=[e]),e.forEach((e=>{this.options.ns.indexOf(e)<0&&this.options.ns.push(e)})),this.loadResources((e=>{n.resolve(),t&&t(e)})),n):(t&&t(),Promise.resolve())}loadLanguages(e,t){const n=M3();A3(e)&&(e=[e]);const r=this.options.preload||[],i=e.filter((e=>r.indexOf(e)<0&&this.services.languageUtils.isSupportedCode(e)));return i.length?(this.options.preload=r.concat(i),this.loadResources((e=>{n.resolve(),t&&t(e)})),n):(t&&t(),Promise.resolve())}dir(e){if(e||(e=this.resolvedLanguage||(this.languages?.length>0?this.languages[0]:this.language)),!e)return"rtl";const t=this.services?.languageUtils||new J3(l4());return["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"].indexOf(t.getLanguagePartFromCode(e))>-1||e.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(){return new d4(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},arguments.length>1?arguments[1]:void 0)}cloneInstance(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:u4;const n=e.forkResourceStore;n&&delete e.forkResourceStore;const r={...this.options,...e,isClone:!0},i=new d4(r);void 0===e.debug&&void 0===e.prefix||(i.logger=i.logger.clone(e));return["store","services","language"].forEach((e=>{i[e]=this[e]})),i.services={...this.services},i.services.utils={hasLoadedNamespace:i.hasLoadedNamespace.bind(i)},n&&(i.store=new Y3(this.store.data,r),i.services.resourceStore=i.store),i.translator=new K3(i.services,r),i.translator.on("*",(function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];i.emit(e,...n)})),i.init(r,t),i.translator.options=r,i.translator.backendConnector.services.utils={hasLoadedNamespace:i.hasLoadedNamespace.bind(i)},i}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}const f4=d4.createInstance();f4.createInstance=d4.createInstance;f4.createInstance,f4.dir,f4.init,f4.loadResources,f4.reloadResources,f4.use,f4.changeLanguage,f4.getFixedT,f4.t,f4.exists,f4.setDefaultNamespace,f4.hasLoadedNamespace,f4.loadNamespaces,f4.loadLanguages;const h4=Wr("en"),p4=Zr((()=>K[h4.value]?.iso??K.en.iso)),g4=(Zr((()=>["ar","he","fa"].includes(h4.value))),async()=>{const{reportLanguage:e}=H()??{},t=localStorage.getItem("currentLocale")||e||"en";await b4(t)}),m4=f4.use({type:"backend",read:async(e,t,n)=>{const r="en-iso"===e?"en":e;await a(7228)(`./${r}.json`).then((e=>{n(null,e[t])})).catch((e=>{n(e,null)}))}}).init({lng:h4.value,fallbackLng:"en",ns:["empty","execution","filters","search","severity","sort-by","sort-by.directions","sort-by.values","statuses","tabs","testSummary","ui","welcome","controls","errors","split","modal","environments","charts","sections","timeline","transitions","trHistory","attachments"],interpolation:{escapeValue:!1}}).then((()=>{f4.services.formatter.add("capitalize",(e=>e.charAt(0).toLocaleUpperCase()+e.slice(1))),f4.services.formatter.add("timestamp_date",((e,t,n)=>{const r=Z(t,"date"),i=new Intl.DateTimeFormat(r?.locale??t,{...n,month:"numeric",day:"numeric",year:"numeric",...r?.options??{}}).format(e);return r?.stripComma?i.replace(",",""):i})),f4.services.formatter.add("timestamp_long",((e,t,n)=>{const r=Z(t,"dateTime"),i=new Intl.DateTimeFormat(r?.locale??t,{...n,month:"numeric",day:"numeric",year:"numeric",hour:"numeric",minute:"numeric",second:"numeric",hour12:!1,...r?.options??{}}).format(e);return!1===r?.includeAtSeparator||r?.stripComma?i.replace(",",""):i.replace(",",` ${f4.t("ui:at")}`)})),f4.services.formatter.add("timestamp_long_no_seconds",((e,t,n)=>{const r=Z(t,"dateTimeNoSeconds"),i=new Intl.DateTimeFormat(r?.locale??t,{...n,month:"numeric",day:"numeric",year:"numeric",hour:"numeric",minute:"numeric",hour12:!1,...r?.options??{}}).format(e);return!1===r?.includeAtSeparator||r?.stripComma?i.replace(",",""):i.replace(",",` ${f4.t("ui:at")}`)})),f4.services.formatter.add("format_duration",(e=>y(e)))})),v4=e=>{const t=Zr((()=>(t,n={})=>f4.t(t,{ns:e,...n})));return{t:t.value,currentLocale:h4.value}},b4=async e=>{await f4.changeLanguage(e),localStorage.setItem("currentLocale",e),h4.value=e,document.documentElement.dir=["ar","he","fa"].includes(e)?"rtl":"ltr"},y4=()=>{const[e]=la((()=>{const e=H();if(e?.createdAt)return Number(e.createdAt)})),[t]=la((()=>{const e=H();if(e?.allureVersion)return e.allureVersion})),n=new Date(e).toLocaleDateString(p4.value,{month:"numeric",day:"numeric",year:"numeric",hour:"numeric",minute:"numeric",second:"numeric"});return w3(Yc,{type:"paragraph",size:"m",className:"YdnHCDVV",children:[n,t&&w3("span",{children:[" Ver: ",t]})]})};var _4="CfGgwYiF",w4="b2XhjWBW";const x4=({className:e})=>w3("div",{className:v3("hYe6DCa9",e),children:[w3(x3,{}),w3(y4,{})]}),k4=(e,t)=>{try{const n=localStorage.getItem(e);return n?JSON.parse(n):t}catch{return t}},C4=Wr({loading:!1,error:void 0,data:[]}),S4=Wr({loading:!1,error:void 0,data:{}}),T4=Wr(k4("collapsedEnvironments",[])),A4=Wr(k4("currentEnvironment","")),M4=e=>((e,t)=>e.find((({id:e})=>e===t))?.name??t)(C4.peek().data,e),L4=async()=>{C4.value={...C4.peek(),loading:!0,error:void 0};try{const e=(e=>{if(!Array.isArray(e))return[];const t=[];for(const n of e){if("string"==typeof n){t.push({id:n,name:n});continue}if(!n||"object"!=typeof n)continue;const e=n;if("string"!=typeof e.id)continue;const r=E(e.id);if(!r.valid)continue;const i=e.name;if("string"==typeof i){const e=L(i);if(e.valid){t.push({id:r.normalized,name:e.normalized});continue}}t.push({id:r.normalized,name:r.normalized})}return t})(await F("widgets/environments.json",{bustCache:!0}));C4.value={data:e,error:void 0,loading:!1},A4.value=((e,t)=>{if(!e)return"";if(t.some((({id:t})=>t===e)))return e;const n=t.filter((({name:t})=>t===e));return 1===n.length?n[0].id:""})(A4.value,e)}catch(e){C4.value={...C4.peek(),error:j(e),loading:!1}}};ti((()=>{localStorage.setItem("currentEnvironment",JSON.stringify(A4.value))})),ti((()=>{localStorage.setItem("collapsedEnvironments",JSON.stringify([...T4.value]))}));const E4=({value:e})=>{const t=fa(null),[n,r]=la(!1);ua((()=>{const e=t.current;e&&r((e=>e.scrollWidth>e.clientWidth)(e))}),[e]);const i=w3("span",{ref:t,className:"cYS83oHN",children:e});return n?w3(Sd,{tooltipText:e,children:i}):i},N4=()=>{const{t:e}=v4("environments"),t=A4.value,n=t?M4(t):e("all"),{ref:r,isTruncated:i}=Td([n]),o=e=>{var t;t=e,A4.value=t};return C4.value.data.length<=1?null:w3("div",{className:"J13nhfx4","data-testid":"environment-picker",children:[w3(Vc,{id:Wc.environment,size:"s"}),w3(Yc,{className:"oDZnH_Bx",type:"ui",size:"s",bold:!0,children:[e("environment",{count:1}),":"]}),w3(cf,{size:"s",menuTrigger:({isOpened:e,onClick:t})=>{const o=w3(tu,{style:"ghost",size:"s",text:n,textRef:r,isExpanded:e,isTextTruncated:!0,className:"fZMWSBUa","data-testid":"environment-picker-button",onClick:t});return e||!i?o:w3(Sd,{tooltipText:n,"data-testid":"environment-picker-selected-tooltip",children:o})},children:w3(cf.Section,{children:[w3(cf.ItemWithCheckmark,{"data-testid":"environment-picker-item",onClick:()=>o(""),isChecked:!t,children:e("all")}),C4.value.data.map((e=>w3(cf.ItemWithCheckmark,{"data-testid":"environment-picker-item",onClick:()=>o(e.id),isChecked:e.id===t,children:w3(E4,{value:e.name})},e.id)))]})})]})},O4=H(),R4="base",D4=Wr((()=>{if("undefined"==typeof window)return R4;const e=localStorage.getItem("layout");return null!==e?e:e??O4?.layout??R4})()),P4=Wr(!1),I4=()=>{P4.value=!0,setTimeout((()=>{var e;e="base"===D4.value?"split":"base",D4.value=e,document.documentElement.setAttribute("data-layout",e),window.localStorage.setItem("layout",e),setTimeout((()=>{P4.value=!1}),300)}),200)},z4=Zr((()=>"split"===D4.value));var B4=()=>{const e=z4.value?Wc.lineLayoutsLayoutTop:Wc.lineLayoutsColumn2;return w3(eu,{"data-testId":"toggle-layout-button",size:"s",icon:e,style:"ghost",onClick:()=>I4()})};const j4=Zr((()=>Gi.value.selected)),F4=({className:e})=>w3("div",{className:e,children:[w3(N4,{}),w3(XC,{locale:h4.value,setLocale:b4}),w3(B4,{}),w3(KC,{theme:j4.value,toggleTheme:Yi})]});const H4=e=>e&&"overview"!==e?e:void 0,$4=e=>{const t={...e,tab:H4(e.tab)},n=Y4.value.matches?"/:rootTab/:testResultId/:tab?":"/:testResultId/:tab?",r=Y4.value.matches?{...t,rootTab:Y4.value.params.rootTab}:t;pi({path:n,params:r,keepSearchParams:!0})},U4=e=>{const t={...e,tab:H4(e.tab)},n=Y4.value.matches?"/:rootTab/:testResultId/:tab?":"/:testResultId/:tab?",r=Y4.value.matches?{...t,rootTab:Y4.value.params.rootTab}:t;pi({path:n,params:r,keepSearchParams:!0,replace:!0})},q4=()=>{pi({path:"/",keepSearchParams:!0})},W4=e=>{pi({path:"/:section",params:e,keepSearchParams:!0,replace:!1})},V4=["charts","timeline"],G4=["categories","qualityGate","globalAttachments","globalErrors"],Y4=Zr((()=>gi("/:rootTab/:testResultId?/:tab?",(({params:e})=>G4.includes(e.rootTab)&&e.rootTab!==e.testResultId)))),X4=(Zr((()=>gi("/categories/:testResultId?/:tab?"))),Zr((()=>gi("/:testResultId/:tab?",(({params:e})=>e.testResultId&&"categories"!==e.testResultId&&!V4.includes(e.testResultId)&&!G4.includes(e.testResultId)))))),Z4=(Zr((()=>gi("/"))),Zr((()=>gi("/:section",(({params:e})=>V4.includes(e.section)))))),K4="default",J4=H(),Q4=J4?.defaultSection??"default",e5=J4?.sections??[];(()=>{const e=Z4.peek().matches,t=Q4===K4,n=e5.includes(Q4);e||t||!n||W4({section:Q4})})();const t5=Zr((()=>Z4.value.matches?Z4.value.params.section??"default":"default"));ti((()=>{const e=t5.value;e&&document.documentElement.setAttribute("data-section",e)}));const n5={name:"report",logo:Wc.reportLogo},r5={default:n5,charts:{name:"charts",logo:Wc.lineChartsBarChartSquare},timeline:{name:"timeline",logo:Wc.lineChartsTimeline}},i5=()=>{const e=r5[t5.value]||n5,{t:t}=v4("sections");return w3(cf,{size:"m",placement:"bottom-start",menuTrigger:({isOpened:n,onClick:r})=>w3(tu,{style:"ghost",size:"m",text:t(e.name),icon:e.logo,isExpanded:n,onClick:r,iconSize:"xs"}),children:w3(cf.Section,{children:["default",...e5].map((e=>w3(cf.ItemWithCheckmark,{onClick:()=>(e=>{const t=e===K4,n=e5.includes(e),r=t5.peek()!==e;t?q4():r&&n&&W4({section:e})})(e),isChecked:t5.value===e,children:w3("div",{className:"FdktBcO1",children:[w3(Vc,{id:r5[e]?.logo,size:"s"}),t(r5[e]?.name)||e]})},e)))})})};var o5="ChConoqG",a5="DC096Vl9",s5="vCHAp_yZ";const l5=({testResult:e})=>{const{breadcrumbs:t,name:n}=e||{};return w3("div",{className:"KayT_VKx",children:[w3("div",{className:b3(o5,"DJELNKs1"),children:w3(eu,{icon:Wc.lineGeneralHomeLine,size:"s",style:"ghost",className:"F1I3vLtG",onClick:()=>q4()})}),Boolean(t?.length)&&t?.[0]?.map(((e,t)=>w3("div",{className:o5,children:[w3(Vc,{id:Wc.lineArrowsChevronDown,className:a5}),w3(Yc,{size:"s",bold:!0,className:s5,children:e})]},t))),w3("div",{className:o5,children:[n&&w3(Vc,{id:Wc.lineArrowsChevronDown,className:a5}),w3(Yc,{size:"s",bold:!0,className:s5,children:n})]})]})},c5={matches:!1,params:{}},u5=Zr((()=>Y4.value.matches&&Y4.value.params.testResultId?Y4.value:X4.value.matches?X4.value:c5)),d5=Zr((()=>u5.value.params.tab??"overview")),f5=Zr((()=>u5.value.params.testResultId)),h5=Wr({loading:!0,error:void 0,data:void 0}),p5=Wr({loading:!0,error:void 0,data:void 0}),g5=async e=>{const t=h5.peek().data;if(!(!e||t&&e in t)){h5.value={...h5.peek(),loading:!0,error:void 0};try{const t=await F(`data/test-results/${e}.json`,{bustCache:!0});h5.value={data:{...h5.peek().data,[e]:t},error:void 0,loading:!1}}catch(e){h5.value={...h5.peek(),error:e.message,loading:!1}}}};var m5="K4Vp94XL";const v5=({type:e})=>{const t={width:16,height:16};switch(e){case v.Amazon:return w3(Vc,{id:Wc.amazon,...t});case v.Azure:return w3(Vc,{id:Wc.azure,...t});case v.Bitbucket:return w3(Vc,{id:Wc.bitbucket,...t});case v.Circle:return w3(Vc,{id:Wc.circleci,...t});case v.Drone:return w3(Vc,{id:Wc.drone,...t});case v.Github:return w3(Vc,{id:Wc.github,...t});case v.Gitlab:return w3(Vc,{id:Wc.gitlab,...t});case v.Jenkins:return w3(Vc,{id:Wc.jenkins,...t});default:return null}},b5=({className:e})=>{const{ci:t}=H();if(!t)return null;const n=t.pullRequestUrl||t.jobRunUrl||t.jobUrl,r=P(n),i=t.pullRequestName||t.jobRunName||t.jobName||n;return n?r?w3("a",{className:b3(m5,e),href:r,target:"_blank",rel:"noopener noreferrer",children:[w3(v5,{type:t.type}),w3(Yc,{type:"paragraph",size:"m",bold:!0,children:i})]}):w3("span",{className:b3(m5,e),children:[w3(v5,{type:t.type}),w3(Yc,{type:"paragraph",size:"m",bold:!0,children:i})]}):null};const y5=Zr((()=>X4.value.matches||Boolean(Y4.value.params.testResultId))),_5=Zr((()=>h5.value?.data?.[f5.value])),w5=({className:e})=>w3("div",{className:b3("y3b2nNS8",e),children:[w3(i5,{}),!y5.value&&w3(b5,{}),y5.value&&w3(l5,{testResult:_5.value}),w3(F4,{className:"yme8680C"})]}),x5=Wr(!1),k5=Wr({data:null,preview:!1,component:null,isModalOpen:x5.value,closeModal:null,title:""}),C5=e=>{k5.value={...e},x5.value=!0},S5=()=>{const{t:e}=v4("controls"),t={tooltipDownload:e("downloadAttachment"),tooltipPreview:e("previewAttachment"),tooltipSyntaxHighlight:e("syntaxHighlight"),openInNewTabButton:e("openInNewTab")};return w3(fx,{...k5.value,translations:t,isModalOpen:x5.value,closeModal:()=>x5.value=!1})},T5=Wr({loading:!0,error:void 0,data:void 0}),A5=async e=>{T5.value={...T5.peek(),loading:!0,error:void 0};try{const t=await F(e?`widgets/${e}/statistic.json`:"widgets/statistic.json",{bustCache:!0});T5.value={data:Cn(t),error:void 0,loading:!1}}catch(e){T5.value={error:e.message,loading:!1}}},M5=Wr({loading:!0,error:void 0,data:void 0});const L5=Zr((()=>Gi.value.current)),E5=()=>{const{t:e}=v4("charts"),{t:t}=v4("empty");return ua((()=>{(async()=>{M5.value={...M5.peek(),loading:!0,error:void 0};try{const e=await F("widgets/charts.json",{bustCache:!0});M5.value={data:Ut(e),error:void 0,loading:!1}}catch(e){M5.value={data:void 0,error:e.message,loading:!1}}})()}),[]),w3(oX,{theme:L5.value,children:w3(Ad,{source:M5,renderLoader:()=>w3(Md,{}),renderData:n=>{const r=A4.value?n.byEnv[A4.value]:n.general;if(!r)return null;const i=Object.entries(r).map((([n,r])=>{const i=((e,{t:t,empty:n})=>{switch(e.type){case J.CurrentStatus:{const n=e.title??t("currentStatus.title");return w3(eQ,{title:n,data:e.data,statuses:e.statuses,metric:e.metric,i18n:(e,n={})=>t(`currentStatus.${e}`,n)})}case J.StatusDynamics:{const n=e.title??t("statusDynamics.title");return w3(nQ,{title:n,data:e.data,limit:e.limit,statuses:e.statuses,i18n:(e,n={})=>t(`statusDynamics.${e}`,n)})}case J.StatusTransitions:{const n=e.title??t("statusTransitions.title");return w3(oQ,{title:n,data:e.data,i18n:(e,n={})=>t(`statusTransitions.${e}`,n)})}case J.Durations:{const n=e.title??("none"===e.groupBy?t("durations.title_none"):t("durations.title",{groupBy:e.groupBy}));return w3(sQ,{title:n,data:e.data,groupBy:e.groupBy,keys:e.keys,i18n:(e,n={})=>t(`durations.${e}`,n)})}case J.StabilityDistribution:{const n=e.title??t("stabilityDistribution.title");return w3(SK,{title:n,data:e.data,keys:e.keys,i18n:(e,n={})=>t(`stabilityDistribution.${e}`,n),threshold:e.threshold})}case J.TestBaseGrowthDynamics:{const n=e.title??t("testBaseGrowthDynamics.title");return w3(MK,{title:n,data:e.data,statuses:e.statuses,i18n:(e,n={})=>t(`testBaseGrowthDynamics.${e}`,n)})}case J.StatusAgePyramid:{const n=e.title??t("statusAgePyramid.title");return w3(OK,{title:n,data:e.data,statuses:e.statuses,i18n:(e,n={})=>t(`statusAgePyramid.${e}`,n)})}case J.TrSeverities:{const n=e.title??t("trSeverities.title");return w3(lQ,{title:n,data:e.data,levels:e.levels,statuses:e.statuses,i18n:(e,n={})=>t(`trSeverities.${e}`,n)})}case J.DurationDynamics:{const n=e.title??t("durationDynamics.title");return w3(uQ,{title:n,data:e.data,i18n:(e,n={})=>t(`durationDynamics.${e}`,n)})}case J.CoverageDiff:return w3(aX,{data:e.treeMap,chartType:J.CoverageDiff,title:e.title,formatLegend:e.formatLegend,colors:e.colors,legendDomain:e.legendDomain,tooltipRows:e.tooltipRows,translations:{"no-results":n("no-results")}});case J.SuccessRateDistribution:return w3(aX,{chartType:J.SuccessRateDistribution,data:e.treeMap,title:e.title,formatLegend:e.formatLegend,colors:e.colors,legendDomain:e.legendDomain,tooltipRows:e.tooltipRows,translations:{"no-results":n("no-results")}});case J.ProblemsDistribution:return w3(dZ,{title:e.title,data:e.data,translations:{"no-results":n("no-results")}});case J.TestingPyramid:{const t=!e.data.some((e=>e.testCount>0));return w3(QK,{title:e.title,data:t?[]:e.data,translations:{"no-results":n("no-results")}})}default:return null}})(r,{t:e,empty:t});return w3(YC,{className:"H3rQvdpP",children:i},n)}));return w3("div",{className:"yh56pOPH",children:w3(WC,{kind:"swap",className:"Tn5cbYVY",children:i})})}})})};const N5=Go(null),O5=()=>{const e=ga(N5);if(!e)throw new Error("NavTabs components must be used within a NavTabs component");return e},R5=e=>{const{children:t,initialTab:n}=e,[r,i]=la(n);return w3(N5.Provider,{value:{currentTab:r,setCurrentTab:i},children:t})},D5=e=>w3(R5,{...e}),P5=e=>w3("div",{className:"XBeFwRAE",children:e.children}),I5=e=>{const{currentTab:t,setCurrentTab:n}=O5(),{id:r,children:i,onClick:o,"data-testid":a,isCurrentTab:s}=e,l=void 0!==s?s:t===r;return w3("button",{className:"Xypu7Gjd",onClick:()=>{if(o)o();else{if(l)return;n(r)}},"data-testid":a||`nav-tab-${r}`,"aria-current":!!l||void 0,children:w3(Yc,{type:"paragraph",size:"m",children:i})})},z5=["new","fixed","regressed","malfunctioned"],B5=["passed","failed","skipped","broken","unknown"],j5="query",F5="status",H5="flaky",$5="retry",U5="transition",q5="tags",W5="categories",V5=e=>{li({key:j5,value:""===e?.trim()?void 0:e})},G5=e=>{li({key:F5,value:e})},Y5=e=>{li({key:H5,value:e?"true":void 0})},X5=e=>{li({key:$5,value:e?"true":void 0})},Z5=e=>{li({key:U5,value:e})},K5=e=>{li({key:q5,value:e})},J5=e=>{li({key:W5,value:e})};const Q5=e=>{const t=new URL(window.location.pathname,window.location.origin);return e.forEach((e=>{t.searchParams.append("tags",e)})),t.toString()},e6=e=>z5.includes(e),t6=e=>"field"===e.type&&"boolean"===e.value.type&&"retry"===e.value.key,n6=e=>"field"===e.type&&"boolean"===e.value.type&&"flaky"===e.value.key,r6=e=>"field"===e.type&&"array"===e.value.type&&"tags"===e.value.key,i6=e=>"field"===e.type&&"array"===e.value.type&&"categories"===e.value.key,o6=e=>"group"===e.type&&"transition"===e.fieldKey,a6=Wr([]),s6=Wr([]),l6=Zr((()=>a6.value.length>0)),c6=Zr((()=>s6.value.length>0)),u6=Zr((()=>{const e=ui(j5)??"";if(""!==e.trim())return e})),d6=Zr((()=>{const e=ui(F5)??void 0;if(e&&(e=>B5.includes(e))(e))return e})),f6=Zr((()=>"true"===ui(H5))),h6=Zr((()=>"true"===ui($5))),p6=[],g6=Zr((()=>{const e=di(U5)??p6;return 0===e.length?p6:e.filter((e=>e6(e)))})),m6=[],v6=Zr((()=>{const e=di(q5)??m6;return 0===e.length?m6:0===a6.value.length?e:e.filter((e=>a6.value.includes(e)))})),b6=[],y6=Zr((()=>{const e=di(W5)??b6;return 0===e.length?b6:0===s6.value.length?e:e.filter((e=>s6.value.includes(e)))})),_6=Zr((()=>({type:"field",logicalOperator:"AND",value:{key:"status",value:d6.value,type:"string",strict:!1}}))),w6=Zr((()=>({type:"group",logicalOperator:"AND",value:[{type:"field",logicalOperator:"OR",value:{key:"name",value:u6.value,type:"string",strict:!1}},{type:"field",logicalOperator:"OR",value:{key:"id",value:u6.value,type:"string",strict:!1}}]}))),x6=Zr((()=>w6.value.value[0].value.value)),k6=e=>{V5(e)},C6=Zr((()=>({type:"field",logicalOperator:"OR",value:{key:"retry",value:!!h6.value,type:"boolean"}}))),S6=Zr((()=>({type:"field",logicalOperator:"OR",value:{key:"flaky",value:!!f6.value,type:"boolean"}}))),T6=Zr((()=>({type:"group",logicalOperator:"AND",fieldKey:"transition",value:g6.value.map((e=>({type:"field",value:{key:"transition",value:e,type:"string",logicalOperator:"OR",strict:!0}})))}))),A6=Zr((()=>({type:"field",logicalOperator:"AND",value:{key:"tags",value:v6.value,type:"array",strict:!1}}))),M6=Zr((()=>({type:"field",logicalOperator:"AND",value:{key:"categories",value:y6.value,type:"array",strict:!1}}))),L6=Zr((()=>[C6.value,S6.value,T6.value,A6.value,M6.value])),E6=Zr((()=>{const e=[];x6.value&&e.push(w6.value);const t=h6.value&&f6.value;return t&&e.push({type:"group",logicalOperator:"AND",value:[{...C6.value,logicalOperator:"OR"},{...S6.value,logicalOperator:"OR"}]}),!t&&h6.value&&e.push({...C6.value,logicalOperator:"AND"}),!t&&f6.value&&e.push({...S6.value,logicalOperator:"AND"}),g6.value.length>0&&e.push(T6.value),v6.value.length>0&&e.push(A6.value),y6.value.length>0&&e.push(M6.value),d6.value&&e.push(_6.value),e})),N6=e=>{if(o6(e)){const t=[];for(const n of e.value)"field"===n.type&&"string"===n.value.type&&"transition"===n.value.key&&t.push(n.value.value);Z5(t)}t6(e)&&X5(e.value.value),n6(e)&&Y5(e.value.value),r6(e)&&l6.peek()&&K5(e.value.value),i6(e)&&c6.peek()&&J5(e.value.value)},O6=Zr((()=>d6.value??"total")),R6=e=>{G5("total"===e?void 0:e)};const D6=e=>w3("div",{className:"Az8wkX1_",children:e.children}),P6=e=>{const{id:t,children:n,...r}=e,i=Pa((()=>O6.value===t)),o=pa((()=>{R6("total")}),[]),a=pa((()=>{R6(t)}),[t]);return w3("button",{...r,className:"MFe89HBe",onClick:i.value?o:a,"aria-current":i.value||void 0,children:w3(Yc,{type:"paragraph",size:"m",bold:!0,children:n})})};const I6=({isOpened:e,setIsOpen:t,counter:n,title:r,titleTooltipText:i,truncateTitle:o=!1,...a})=>{const{ref:s,isTruncated:l}=Td([r],{observeResize:o}),c=w3(Yc,{size:"m",bold:!0,className:b3(o&&"KHvhhq6S"),children:w3("span",{ref:s,className:b3(o&&"_IANRlnH"),children:r})}),u=w3("button",{...a,className:b3("pLtXZ2UC",o&&"CYsNwIIF",e&&"WwtUTGAA"),type:"button",onClick:()=>t(!e),children:[c,!!n&&w3(Ix,{count:n,size:"s"}),w3(ff,{isOpened:e,iconSize:"s",buttonSize:"s",className:"tRJc3qyU",tag:"div"})]});return!!i&&(!o||l)?w3(Sd,{tooltipText:i,children:u}):u},z6=(e="status,asc")=>{const t=x;switch(e){case"order,asc":case"order,desc":return t("groupOrder",S());case"duration,asc":case"duration,desc":return t("duration",S());case"name,asc":case"name,desc":return t("name",C());case"status,asc":case"status,desc":return t("status",w(((e,t)=>u.indexOf(e)-u.indexOf(t))));default:return console.warn(`unsupported comparator ${e}`),()=>0}},B6=(e="status,asc")=>{const t=x;switch(e){case"name,desc":case"name,asc":return t("name",C());case"order,desc":case"order,asc":case"duration,desc":case"duration,asc":case"status,desc":case"status,asc":return t("statistic",(()=>{const e=u.map((e=>x(e,_(S()),0)));return w(k(e))})());default:return console.warn(`unsupported comparator ${e}`),()=>0}},j6=(e="status,asc")=>{const t=B6(e),n="asc"===e.split(",")[1]?t:_(t);return k([n,x("name",C())])},F6=(e=[],t,n,r="status,asc")=>{let i=[...e].map((e=>t[e]));n&&(i=i.filter(n));const o=((e="status,asc")=>{const t=z6(e),n="asc"===e.split(",")[1]?t:_(t);return k([n,x("name",C())])})(r);return i.sort(o)},H6=e=>{const{group:t,groupsById:n,leavesById:r,filterPredicate:i,sortBy:o}=e,a=t.leaves??[],s=F6(a,r,i,o),l=t.groups?.flatMap((e=>{const t=n[e];return t?[H6({group:t,groupsById:n,leavesById:r,filterPredicate:i,sortBy:o})]:[]}))?.filter((e=>!$6(e)))??[],c={total:0};return l.forEach((e=>{if(e.statistic){const t=e.statistic;((e,t)=>{u.forEach((n=>{t?.[n]&&m(e,n,t[n])}))})(c,t)}})),s.forEach((e=>{const t=e.status;m(c,t)})),{...t,statistic:c,leaves:s,trees:l.sort(j6(o))}},$6=e=>!e.trees?.length&&!e.leaves?.length||!e.leaves?.length&&e.trees?.every((e=>$6(e))),U6="order,asc",q6=["asc","desc"],W6="ALLURE_REPORT_SORT_BY",V6=["order","duration","status","name"],G6="sortBy",Y6=Zr((()=>fi(G6))),X6=e=>{const t=e.split(",");if(2!==t.length)return!1;const[n,r]=t;return V6.includes(n)&&q6.includes(r)},Z6=Wr((()=>{if("undefined"==typeof window)return U6;const e=localStorage.getItem(W6);return e&&X6(e.toLowerCase())?e.toLowerCase():U6})()),K6=e=>{Y6.peek()&&li({key:G6,value:void 0}),Z6.value=e},J6=Zr((()=>{const e=ui(G6)??void 0;return e&&X6(e.toLowerCase())?e.toLowerCase():"undefined"==typeof window?U6:Z6.value}));ti((()=>{"undefined"!=typeof window&&localStorage.setItem(W6,J6.value)}));const Q6=Wr({loading:!0,error:void 0,data:void 0}),e8=Zr((()=>Object.values(Q6?.value?.data??{}).every((({leavesById:e})=>!e||!Object.keys(e).length)))),t8=Wr(new Set(k4("collapsedTrees",[]))),n8=Wr(new Set(k4("expandedTrees",[])));ti((()=>{localStorage.setItem("collapsedTrees",JSON.stringify([...t8.value]))})),ti((()=>{localStorage.setItem("expandedTrees",JSON.stringify([...n8.value]))}));const r8=(e,t=!0)=>t?!t8.value.has(e):n8.value.has(e),i8=(e,t,n)=>{if(n){const n=new Set(t8.value);return t?n.delete(e):n.add(e),void(t8.value=n)}const r=new Set(n8.value);t?r.add(e):r.delete(e),n8.value=r},o8=(e,t=!0)=>{i8(e,!r8(e,t),t)},a8=(e,t,n=!0)=>{i8(e,t,n)},s8=async e=>{const t=e.filter((e=>!Q6.peek().data?.[e]));if(0!==t.length){Q6.value={...Q6.peek(),loading:!0,error:void 0};try{const e=await Promise.all(t.map((e=>F(`widgets/${e}/tree.json`,{bustCache:!0})))),n=Q6.peek().data;Q6.value={data:t.reduce(((t,n,r)=>({...t,[n]:e[r]})),{...n}),loading:!1,error:void 0}}catch(e){Q6.value={...Q6.peek(),error:j(e),loading:!1}}}},l8=Zr((()=>Q6.value.data?Object.entries(Q6.value.data):[])),c8=()=>!0,u8=Zr((()=>{return 0===E6.value.length?c8:(e=E6.value,Li(Di(e)));var e})),d8=Zr((()=>l8.value.reduce(((e,[t,n])=>{if(!n)return e;const{root:r,leavesById:i,groupsById:o}=n,a=H6({group:r,leavesById:i,groupsById:o,filterPredicate:u8.value,sortBy:J6.value});return Object.assign(e,{[t]:a})}),{}))),f8=Zr((()=>!Object.values(d8.value).some((e=>!$6(e))))),h8=e=>t=>{const n={transition:e.tooltip(t.transition),flaky:t.flaky&&e.tooltip("flaky"),retries:t.retriesCount&&e.tooltip("retries",{count:t.retriesCount})};return{...t,tooltips:n}},p8=e=>t=>({...t,leaves:t.leaves.length?t.leaves.map(h8(e)):t.leaves,trees:t.trees.length?t.trees.map(p8(e)):t.trees});var g8="qWrwxu6j",m8="fsOIsHLA";const v8=e=>{$4({testResultId:e})},b8=()=>{const{t:e}=v4("empty"),{t:t}=v4("environments"),{t:n}=v4("transitions"),r=f5.value,i=O6.value,o=ha((()=>({tooltip:(e,t)=>n(`description.${e}`,t)})),[n]);return w3(Ad,{source:Q6,renderLoader:()=>w3(Md,{}),renderData:()=>{if(e8.value)return w3("div",{children:w3("div",{className:g8,children:w3(Yc,{className:m8,children:e("no-results")})})});if(f8.value)return w3("div",{children:w3("div",{className:g8,children:[w3(Yc,{tag:"p",className:m8,children:e("no-tests-found")}),w3(Qc,{className:"i31d8d94",type:"button",text:e("clear-filters"),size:"s",style:"outline",onClick:()=>(V5(""),X5(!1),Y5(!1),Z5([]),K5([]),J5([]),void G5())})]})});const n=p8(o);if(1===C4.value.data.length){const e=C4.value.data[0].id,t=A4.value?C3.value.data[A4.value]:C3.value.data[e];return w3("div",{children:w3(Dx,{reportStatistic:k3.value.data,statistic:t,collapsedTrees:t8.value,toggleTree:o8,navigateTo:v8,tree:n(d8.value[e]),statusFilter:i,routeId:r,root:!0})})}const a=A4.value?d8.value[A4.value]:void 0;return a?w3("div",{children:w3(Dx,{reportStatistic:k3.value.data,statistic:C3.value.data[A4.value],collapsedTrees:t8.value,toggleTree:o8,navigateTo:v8,tree:n(a),statusFilter:i,routeId:r,root:!0})}):w3(ko,{children:Object.entries(d8.value).map((([e,o])=>{const{total:a}=o.statistic;if(0===a)return null;const s=!T4.value.includes(e),l=C3.value.data[e];return w3("div",{className:"vLyntNe5","data-testid":"tree-section",children:[w3("div",{className:"s_iBWA8v",children:[w3(I6,{isOpened:s,setIsOpen:()=>{T4.value=s?T4.value.concat(e):T4.value.filter((t=>t!==e))},title:`${t("environment",{count:1})}: "${M4(e)}"`,titleTooltipText:`${t("environment",{count:1})}: "${M4(e)}"`,truncateTitle:!0,counter:a,"data-testid":"tree-section-env-button"}),w3(Mx,{statistic:l,reportStatistic:k3.value.data,statusFilter:i})]}),s&&w3("div",{"data-testid":"tree-section-env-content",children:w3(Dx,{statistic:C3.value.data[e],reportStatistic:k3.value.data,collapsedTrees:t8.value,toggleTree:o8,statusFilter:i,navigateTo:v8,tree:n(o),routeId:r,root:!0})})]},e)}))})}})};const y8=Go(null),_8=({children:e})=>{const[t,n]=ca(((e,t)=>{switch(t.type){case"setDirection":return{...e,direction:t.payload};case"setSortBy":return{...e,sortBy:t.payload};case"setFilter":return{...e,filter:{...e.filter,[t.payload.filterKey]:t.payload.value}};case"setQuery":return{...e,query:t.payload};default:return e}}),{query:"",direction:"asc",filter:{flaky:!1,new:!1,retry:!1},sortBy:"alphabet"}),r=pa((e=>n({type:"setSortBy",payload:e})),[]),i=pa((e=>n({type:"setDirection",payload:e})),[]),o=pa(((e,t)=>n({type:"setFilter",payload:{filterKey:e,value:t}})),[]),a=pa((e=>n({type:"setQuery",payload:e})),[]);return w3(y8.Provider,{value:{...t,setSortBy:r,setDirection:i,setFilter:o,setQuery:a},children:e})};const w8=e=>{const{icon:t,text:n,isActive:r,counter:i,onClick:o,onClear:a,isDropdown:s,isExpanded:l,error:c,testId:u,description:d,disabled:f}=e,[h,p]=la(!1),g=fa(null),m=fa(null);(e=>{const{placement:t="top",triggerRef:n,tooltipRef:r,isVisible:i}=e,o=fa(null),a=fa(null);ua((()=>{o.current=n.current,a.current=r.current}),[n,r]),ua((()=>{const e=()=>{o.current&&a.current&&kd(o.current,a.current,{placement:t,middleware:[_d(6),xd(),wd({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&&yd(o.current,a.current,e)}),[i,t])})({isVisible:h,triggerRef:m,tooltipRef:g,placement:"top"});const v=c?.length>0,b=d?.length>0;ua((()=>{v||b||p(!1)}),[v,b]);const y=pa((()=>{(v||b)&&p(!0)}),[v,b]),_=pa((()=>{p(!1)}),[]),w={icon:t,text:n,size:"m",style:r?"raised":"ghost",action:v?"danger":"default",onClick:o,trailingSlot:void 0!==i?w3(Ix,{count:i,size:"s",truncateCount:!0}):null,isDisabled:f},x=r&&a?w3("div",{className:"OzprxFt4",children:w3(eu,{size:"xs",style:"ghost",icon:Wc.solidXCircle,onClick:a,rounded:!0})}):null;let k=w3(Qc,{...w});s&&(k=w3(tu,{...w,isExpanded:l}));const C=!l&&(v||b);return w3("div",{className:"c7zlbsCH","data-testid":u,children:[w3("div",{ref:m,onPointerOver:y,onPointerLeave:_,children:k}),x,ls(w3("div",{ref:g,className:"tGodXU9h","data-testid":"filter-tooltip","data-visible":h&&C||void 0,children:[c&&w3(Cd,{ref:g,children:c}),!c&&d&&w3(Cd,{ref:g,children:d})]}),document.body)]})},x8=e=>{const{field:t,onChange:n,icon:r,label:i,testId:o,description:a}=e,{value:s,key:l}=t,c=pa((()=>{n({...t,value:!s})}),[t,n,s]);return w3(w8,{icon:r,text:i??l,isActive:s,onClick:c,testId:o,description:a})},k8=e=>{const{group:t,onChange:n,icon:r,label:i,fieldKey:o,options:a,logicalOperator:s="AND",strict:l=!0,counter:c=!0,onClear:u,testId:d,disabled:f}=e,{value:h}=t,p=pa(((e,r)=>{const i=h.filter((t=>"field"===t.type&&"string"===t.value.type&&t.value.key===o&&t.value.value!==e));r&&i.push({type:"field",value:{type:"string",key:o,value:e,strict:l},logicalOperator:s}),n({...t,value:i})}),[t,n,h,o,l,s]),g=e=>h.some((t=>"field"===t.type&&"string"===t.value.type&&t.value.key===o&&t.value.value===e)),m=a.map((({key:e})=>e)).filter(g).length,v=m>0;return f?w3(w8,{icon:r,text:i??o,isActive:v,onClick:()=>{},disabled:!0,testId:d}):w3(cf,{size:"l",placement:"bottom-start",menuTrigger:({onClick:e,isOpened:t})=>w3(w8,{icon:r,text:i??o,isActive:v,isExpanded:t,counter:c&&v?m:void 0,onClick:e,onClear:u,isDropdown:!0,testId:d}),children:w3(cf.Section,{children:a.map((e=>w3(cf.ItemWithCheckmark,{onClick:()=>p(e.key,!g(e.key)),isChecked:g(e.key),leadingIcon:e.icon,closeMenuOnClick:!1,dataTestId:`${e.key}-filter`,children:w3("div",{className:"a64XtmY7",children:[w3(Yc,{tag:"div",children:e.label??e.key}),e.description&&w3(Yc,{tag:"div",size:"s",type:"paragraph",className:"uENssymO",children:e.description})]})},e.key)))})})},C8=e=>{const{filter:t,onChange:n,icon:r,label:i,options:o,counter:a=!0,onClear:s,description:l,disabled:c}=e,{value:u,key:d}=t.value,{t:f}=v4("filters"),h=pa(((e,r)=>{const i=u.filter((t=>t!==e));r&&i.push(e),n({...t,value:{...t.value,value:i}})}),[t,n,u]),p=e=>u.some((t=>t===e)),g=o.map((({key:e})=>e)).filter(p).length,m=g>0,v=f("errors.max_values",{count:20}),b=g>20;return w3(cf,{placement:"bottom-start",menuTrigger:({onClick:e,isOpened:t})=>w3(w8,{icon:r,text:i??d,isActive:m,isExpanded:t,counter:a&&m?g:void 0,onClick:e,onClear:s,isDropdown:!0,error:b?v:void 0,description:l,disabled:c}),children:w3(cf.Section,{children:o.map((e=>w3(cf.ItemWithCheckmark,{closeMenuOnClick:!1,onClick:()=>h(e.key,!p(e.key)),isChecked:p(e.key),leadingIcon:e.icon,children:e.label??e.key},e.key)))})})},S8=Zr((()=>s6.value.map((e=>({key:e,label:e}))))),T8=e=>{const{filter:t,onChange:n}=e,{t:r}=v4("filters");return 0===S8.value.length?null:w3(C8,{filter:t,onChange:n,options:S8.value,label:r("categories"),description:r("description.categories"),counter:!0,onClear:()=>n({...t,value:{...t.value,value:[]}})})},A8=e=>{const{filter:t,onChange:n}=e,{value:r}=t,{key:i}=r,{t:o,t:a}=v4("filters");return w3(x8,{field:r,onChange:e=>n({...t,value:e}),icon:"retry"===i?Wc.lineArrowsRefreshCcw1:Wc.lineIconBomb2,label:o(i),testId:`${i}-filter`,description:a(`description.${i}`)})},M8=Zr((()=>a6.value.map((e=>({key:e,label:e}))))),L8=e=>{const{filter:t,onChange:n}=e,{t:r}=v4("filters");return 0===M8.value.length?null:w3(C8,{filter:t,onChange:n,options:M8.value,label:r("tags"),description:r("description.tags"),counter:!0,onClear:()=>n({...t,value:{...t.value,value:[]}})})},E8=[{key:"new",icon:Wc.lineAlertsNew},{key:"fixed",icon:Wc.lineAlertsFixed},{key:"regressed",icon:Wc.lineAlertsRegressed},{key:"malfunctioned",icon:Wc.lineAlertsMalfunctioned}],N8=e=>{const{group:t,onChange:n}=e,{t:r}=v4("filters"),i=ha((()=>E8.map((e=>({...e,label:r(e.key),description:r(`description.${e.key}`)})))),[r]);return w3(k8,{group:t,onChange:n,options:i,label:r("transition"),fieldKey:"transition",logicalOperator:"OR",strict:!0,counter:!0,testId:"transition-filter",onClear:()=>n({...t,value:[]})})},O8=e=>{const{filter:t,onChange:n}=e,{value:r,type:i}=t;return t6(t)||n6(t)?w3(A8,{filter:t,onChange:n}):o6(t)?w3(N8,{group:t,onChange:n}):"field"===i&&"boolean"===r.type?w3(x8,{field:r,onChange:e=>n({...t,value:e})}):r6(t)?w3(L8,{filter:t,onChange:n}):i6(t)?w3(T8,{filter:t,onChange:n}):null},R8=()=>w3(qa,{each:L6,children:e=>w3(O8,{filter:e,onChange:N6})}),D8=()=>w3("div",{className:"CcgL6tD2",children:w3(R8,{})}),P8=e=>{k6(e||void 0)},I8=()=>{const{t:e}=v4("search");return w3(Nd,{placeholder:e("search-placeholder"),value:x6.value,onChange:P8,changeDebounce:150})},z8=()=>w3(I8,{});const B8=()=>w3("div",{className:"yC7Qklga",children:[w3(z8,{}),w3(D8,{})]}),j8=({children:e})=>w3("div",{className:"R_ww6ldK",children:e}),F8=e=>{const t=J6.peek().split(",")[1];K6(`${e},${t}`)},H8=e=>{K6(`${J6.peek().split(",")[0]},${e}`)},$8=()=>{const{t:e}=v4("sort-by"),{t:t}=v4("sort-by.values"),{t:n}=v4("sort-by.directions"),r=J6.value.split(",")[0],i=J6.value.split(",")[1],o=t("name"===r?"alphabet":r),a=n(`${"name"===r?"alphabet":r}-${i}-short`);return w3("div",{children:w3(Yc,{type:"paragraph",size:"m",className:"bgbbgYmw",children:[e("sort-by-text")," ",w3(cf,{size:"l",menuTriggerWrapper:"span",menuTrigger:({onClick:e,isOpened:t})=>w3(Yc,{type:"paragraph",size:"m",children:w3(zx,{onClick:e,children:[o," ",a,w3(Vc,{size:"s",id:Wc.lineArrowsChevronDown,className:b3("qpX6Ct89",t&&"R0U9mYzd")})]})}),children:w3(cf.Section,{children:[w3(cf,{size:"s",menuTrigger:({onClick:t,isOpened:n})=>w3(cf.Item,{closeMenuOnClick:!1,onClick:t,leadingIcon:Wc.lineArrowsSwitchVertical1,rightSlot:w3(j8,{children:w3(tu,{style:"outline",size:"s",isExpanded:n,text:o,focusable:!1})}),children:e("sort-by-category")}),children:w3(cf.Section,{children:[w3(cf.ItemWithCheckmark,{onClick:()=>F8("order"),isChecked:"order"===r,children:t("order")}),w3(cf.ItemWithCheckmark,{onClick:()=>F8("duration"),isChecked:"duration"===r,children:t("duration")}),w3(cf.ItemWithCheckmark,{onClick:()=>F8("status"),isChecked:"status"===r,children:t("status")}),w3(cf.ItemWithCheckmark,{onClick:()=>F8("name"),isChecked:"name"===r,children:t("alphabet")})]})}),w3(cf,{size:"m",menuTrigger:({onClick:t,isOpened:n})=>w3(cf.Item,{closeMenuOnClick:!1,onClick:t,leadingIcon:"asc"===i?Wc.lineArrowsSortLineAsc:Wc.lineArrowsSortLineDesc,rightSlot:w3(j8,{children:w3(tu,{style:"outline",size:"s",isExpanded:n,text:a,focusable:!1})}),children:e("direction-category")}),children:w3(cf.Section,{children:[w3(cf.ItemWithCheckmark,{onClick:()=>H8("asc"),leadingIcon:Wc.lineArrowsSortLineAsc,isChecked:"asc"===i,children:n(`${r}-asc`)}),w3(cf.ItemWithCheckmark,{onClick:()=>H8("desc"),leadingIcon:Wc.lineArrowsSortLineDesc,isChecked:"desc"===i,children:n(`${r}-desc`)})]})})]})})]})})},U8=()=>{const{t:e}=v4("statuses");return w3("header",{className:"rcYygsvy",children:[w3(B8,{}),w3("div",{className:"fAV2rQGO",children:[w3(D6,{children:w3(Ad,{source:C3,renderData:t=>{const n=t[A4.value]||k3.value.data,r=u.map((e=>({status:e,value:n[e]}))).filter((({value:e})=>e));r.filter((({status:e})=>e===O6.value)).length||"total"===O6.value||R6("total");const i=r.map((({status:t,value:n})=>w3(P6,{"data-testid":`tab-${t}`,id:t,children:[O(e(t)??t)," ",w3(Ix,{count:n,size:"s",status:t})]},t)));return w3(ko,{children:[w3(P6,{"data-testid":"tab-all",id:"total",children:[O(e("total"))," ",w3(Ix,{count:n?.total??0,size:"s"})]}),i]})}})}),w3($8,{})]})]})},q8=()=>w3("div",{className:"kCl0Zs3g",children:w3(b8,{})}),W8=()=>w3(_8,{children:w3("section",{children:[w3(U8,{}),w3(q8,{})]})}),V8=(e,t={})=>({"--categories-sticky-depth":`${e}`,"--tree-section-position":"sticky","--tree-section-top":`calc(${e} * var(--categories-sticky-step))`,"--tree-section-z":""+(100-e),"--tree-section-bg":"var(--bg-base-primary)","--tree-section-min-height":"var(--categories-sticky-step)",...t});const G8=({node:e,nodeId:t,isOpened:n,onToggle:r,children:i,depth:o,subtreeToggle:a,reportStatistic:s})=>{const l=V8(o),c=w3("div",{className:"iEvEloCL",children:[w3("span",{className:"v51D0zjm",children:e.name}),a]});return w3("div",{className:"Y8AD3JIb",id:t,children:[w3(Lx,{categoryTitle:c,isOpened:n,toggleTree:r,"data-tree-header":!0,style:l,statistic:e.statistic,reportStatistic:s,statusFilter:"total"}),n&&i]})};const Y8=({node:e,nodeId:t,isOpened:n,onToggle:r,children:i,depth:o,reportStatistic:a,className:s,title:l,subtreeToggle:c})=>{const{t:u}=v4("empty"),{t:d}=v4("filters"),{t:f}=v4("environments"),h=V8(o),p="<Empty>"===e.name?u(e.key?{transition:"no-transition",layer:"no-layer",owner:"no-owner",severity:"no-severity",status:"no-status",environment:"no-environment",flaky:"no-flaky"}[e.key]??"no-value":"no-value"):e.name,g=c?w3("span",{className:"Rri1tAtf",children:[w3("span",{className:"lEc1FaKK",children:l??p}),c]}):l??p;return w3("div",{className:b3("dPGOP26W","Meg3M8x1",s),id:t,"data-group-key":e.key,children:[w3(Lx,{isOpened:n,categoryTitle:g,toggleTree:r,"data-tree-header":!0,style:h,reportStatistic:a,statistic:e.statistic,statusFilter:"total"}),n&&i]})},X8=async e=>{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.focus(),t.select(),document.execCommand("copy"),document.body.removeChild(t)};const Z8=({node:e,nodeId:t,isOpened:n,onToggle:r,children:i,depth:o,subtreeToggle:a,reportStatistic:s})=>{const{t:l}=v4("controls"),c=V8(o),u=w3("div",{className:"dxkfLXeB",children:[w3("div",{className:"sIa3F8zG",children:[w3("span",{className:"_YwiW80r",children:e.name}),e.historyId&&w3("span",{className:"izOXbGXb",children:w3(Sd,{tooltipText:l("clipboard"),tooltipTextAfterClick:l("clipboardSuccess"),children:w3(eu,{style:"ghost",size:"s",icon:Wc.lineGeneralCopy3,onClick:t=>{t.stopPropagation(),X8(e.historyId??"")}})})})]}),a]});return w3("div",{className:b3("KDkKknyc","i7GyJnlA"),id:t,children:[w3(Lx,{categoryTitle:u,isOpened:n,toggleTree:r,"data-tree-header":!0,style:c,statistic:e.statistic,reportStatistic:s,statusFilter:"total"}),n&&i]})};var K8="bZfVSAWd",J8="IyMtG5f9",Q8="tsNZ2hZ0",e7="BDowOGLG",t7="khqNXjFC",n7="OR0Vz8Ro",r7="bGq0bpCD",i7="qv4ikC9p";const o7=({status:t})=>{const{t:n}=v4("statuses");return w3("div",{"data-testid":`test-result-status-${t}`,className:b3(n7,e[`status-${t}`]),children:[w3(_x,{status:t,className:r7,classNameIcon:r7}),w3(Yc,{type:"ui",size:"s",className:i7,children:O(n(t)??t)})]})};var a7="LHMrtyIu";const s7=({node:e,nodeId:t,store:n,isOpened:r,onToggle:i,children:o,depth:a,subtreeToggle:s,reportStatistic:l})=>{const{t:c}=v4("transitions"),{t:u}=v4("environments"),{t:d}=v4("filters"),{t:f}=v4("empty"),h={new:Wc.lineAlertsNew,fixed:Wc.lineAlertsFixed,regressed:Wc.lineAlertsRegressed,malfunctioned:Wc.lineAlertsMalfunctioned},p={owner:d("owner"),layer:d("layer"),severity:d("severity"),status:d("status"),transition:d("transition"),flaky:d("flaky"),environment:u("environment",{count:1})},g=e.key?p[e.key]??e.key:e.key,m=e.key?f({transition:"no-transition",layer:"no-layer",owner:"no-owner",severity:"no-severity",status:"no-status",environment:"no-environment",flaky:"no-flaky"}[e.key]??"no-value"):f("no-value"),v="<Empty>"===e.value?m:e.value??"",b="status"===e.key,y="transition"===e.key,_="flaky"===e.key,w="<Empty>"===e.value?"unknown":e.value??"unknown",x="status"===e.key?e.value??"":"",k="transition"===e.key?e.value??"":"",C=x&&"<Empty>"!==x?x:void 0,S=k&&"<Empty>"!==k?h[k]:void 0,T="<Empty>"===k?f("no-transition"):k?c(k)??k:k,A=!0===e.value||"true"===e.value,M="<Empty>"===e.value?f("no-flaky"):d(A?"flaky":"nonFlaky"),L=A?Wc.lineIconBomb2:void 0;return w3(Y8,{node:e,nodeId:t,store:n,isOpened:r,onToggle:i,depth:a,subtreeToggle:s,reportStatistic:l,className:b3("ya5YlQ60",b&&"ieJpKbxJ",y&&"tzQtvnn2",_&&"YUKlGTpl"),title:w3("div",b?{className:"vaNYHlAy",children:w3(o7,{status:w})}:y?{className:"YA3LdHtl",children:[S&&w3(Vc,{id:S,className:a7}),w3(Yc,{size:"m",className:"VlHHDu4n",children:O(T??"")})]}:_?{className:"J4VDksEr",children:[L&&w3(Vc,{id:L,className:"rzwF1AGa"}),w3(Yc,{size:"m",className:"htUHi1lr",children:M})]}:{className:"hhMYCdHc",children:[w3(Yc,{type:"ui",size:"m",className:"SuQtBxxQ",children:g}),w3("div",{className:"pKWUT9rF",children:w3("div",{className:"wiMROynG",children:[C?w3(_x,{status:C,className:"zNktNR3L"}):S?w3(Vc,{id:S,className:a7}):null,w3(Yc,{size:"m",bold:!0,className:"fahd2Lxp",children:v})]})})]}),children:o})};var l7="qGxCoczp",c7="ZoDs9GKE",u7="HjEVsshG",d7="WyEMHPEa",f7="WjgxaX6l",h7="h0WNyvNR",p7="x6XvXsdF",g7="EYb8N2JX",m7="ywV1I7Rk",v7="iozq1SQe",b7="RHoWUiR9",y7="TkAPRekq",_7="OhETl5lI",w7="YxvnXCJ4",x7="ptVv6yXb",k7="m73mic1c",C7="rVOi6mjF",S7="DfaezMU8",T7="dLeQ2h1G",A7="lnEXb9Vt",M7="kTWcR0v8",L7="ZiZH1BH1",E7="gofttWVe",N7="sPCmbiiu";const O7=e=>{if(!e)return;const t=[];return e.failed&&t.push("failed"),e.broken&&t.push("broken"),e.passed&&t.push("passed"),e.skipped&&t.push("skipped"),e.unknown&&t.push("unknown"),(e=>{if(0!==e.length)return e.sort(((e,t)=>A(e)-A(t)))[0]})(t)},R7=({node:e,nodeId:n,isOpened:r,onToggle:i,children:o,depth:a,subtreeToggle:s,reportStatistic:l})=>{const{t:c}=v4("ui"),u=O7(e.statistic),d=Tn(e.name??"",{fg:"var(--on-text-primary)",colors:{}}),f=V8(a),h=(e.name??"").length>80,[p,g]=la(!1);return w3("div",{className:b3(b7,y7),id:n,children:[w3("div",{className:S7,"data-tree-header":!0,style:f,onClick:i,children:[w3(ff,{isOpened:r,className:w7}),w3("div",{className:b3(k7,u&&t[`message-status-${u}`],p&&C7),children:[w3(Xc,{size:"s",className:b3(A7,p&&M7),children:w3("pre",{dangerouslySetInnerHTML:{__html:d}})}),w3("div",{className:_7,children:[h&&w3(Qc,{size:"s",style:"ghost",text:c(p?"showLess":"showMore"),className:T7,onClick:e=>{e.stopPropagation(),g((e=>!e))}}),s,w3("div",{className:L7,children:w3(Mx,{reportStatistic:l,statusFilter:"total",statistic:e.statistic})})]})]})]}),r&&o]})};var D7="GnI1LVKC",P7="ECouP9l9",I7="IdGh4r5i",z7="K7nDhuR6",B7="x0Fr7zsV",j7="rjsNCUai",F7="AfnYIQTv";const H7={blocker:Wc.lineArrowsChevronUpDouble,critical:Wc.lineArrowsChevronUp,normal:Wc.lineGeneralEqual,minor:Wc.lineArrowsChevronDown,trivial:Wc.lineArrowsChevronDownDouble,none:Wc.lineGeneralXClose},$7=({severity:e="normal",text:t="",size:r="s"})=>{const{t:i}=v4("severity"),o=b3(n[`severity-${e}`]);return w3("div",{className:j7,children:[w3(Vc,{className:o,id:H7[e],size:r}),w3(Yc,{size:r,bold:!0,className:F7,children:t||O(i(e))})]})};const U7=({node:e,nodeId:t,store:n,isOpened:r,onToggle:i,children:o,depth:a,subtreeToggle:s,reportStatistic:l})=>{const c="<Empty>"===e.value?"normal":e.value??"normal";return w3(Y8,{node:e,nodeId:t,store:n,isOpened:r,onToggle:i,depth:a,subtreeToggle:s,reportStatistic:l,className:"cgLeSt6P",title:w3("div",{className:"aDSZT21y",children:w3($7,{severity:c,size:"m"})}),children:o})};const q7=e=>"category"!==e?.type||Boolean(e.expand),W7=(e,t)=>{const n=t.nodes[e],r=q7(n);return t8.value.has(e)?!r:r},V7=({nodeId:e,store:t,order:n,depth:r=0})=>{const i=t.nodes[e],o=f5.value,{t:a}=v4("transitions"),{t:s}=v4("environments"),{t:l}=v4("empty"),c=t8.value.has(e),u=q7(i),[d,f]=la(c?!u:u),[h,p]=la(0),[g,m]=la(null);if(!i)return null;const v=Boolean(i.childrenIds?.length),b=!!v&&(i.childrenIds??[]).every((e=>"tr"===t.nodes[e]?.type)),y=v?((e,t)=>{const n=[],r=[e];for(;r.length;){const e=r.pop();if(!e)continue;const i=t.nodes[e];i&&(i.childrenIds?.length&&n.push(e),(i.childrenIds??[]).forEach((e=>r.push(e))))}return n})(e,t):[],_=!W7(e,t),w=W7(e,t)&&y.filter((t=>t!==e)).every((e=>!W7(e,t))),x=W7(e,t)&&y.every((e=>W7(e,t))),k=()=>{f(!d),o8(e),m(null)},C=n=>{const r=new Set(t8.value);y.forEach((i=>{const o=t.nodes[i],a=q7(o);let s=!1;s="all"===n||"first"===n&&i===e,a===s?r.delete(i):r.add(i)})),t8.value=r},S=v?w3(eu,{size:"xs",style:"ghost",icon:b?_?Wc.lineArrowsChevronDown:Wc.lineArrowsChevronUp:_?Wc.lineArrowsChevronDown:w?Wc.lineArrowsChevronDownDouble:Wc.lineArrowsChevronUpDouble,onClick:e=>{if(e.stopPropagation(),b)return _?(C("all"),f(!0),m("all")):(C("none"),f(!1),m("none")),void p((e=>e+1));let t="first";t=_?"first":w?"all"===g?"none":"all":x?"first":"all",C(t),f("none"!==t),m(t),p((e=>e+1))},className:"iwrJnJ13"}):null,T=()=>w3("div",{className:"KUZ4m350",children:(i.childrenIds??[]).map(((e,n)=>w3("div",{className:"ayUf_HIB","data-tree-content":!0,children:w3(V7,{nodeId:e,store:t,order:n,depth:r+1},e)},e)))},h);if("category"===i.type)return w3(G8,{node:i,nodeId:e,store:t,isOpened:d,onToggle:k,depth:r,subtreeToggle:S,reportStatistic:k3.value.data,children:T()});if("history"===i.type)return w3(Z8,{node:i,nodeId:e,store:t,isOpened:d,onToggle:k,depth:r,subtreeToggle:S,reportStatistic:k3.value.data,children:T()});if("message"===i.type||"group"===i.type)return"message"===i.type?w3(R7,{node:i,nodeId:e,store:t,isOpened:d,onToggle:k,depth:r,subtreeToggle:S,reportStatistic:k3.value.data,children:T()}):"severity"===i.key?w3(U7,{node:i,nodeId:e,store:t,isOpened:d,onToggle:k,depth:r,subtreeToggle:S,reportStatistic:k3.value.data,children:T()}):i.key?w3(s7,{node:i,nodeId:e,store:t,isOpened:d,onToggle:k,depth:r,subtreeToggle:S,reportStatistic:k3.value.data,children:T()}):w3(Y8,{node:i,nodeId:e,store:t,isOpened:d,onToggle:k,depth:r,subtreeToggle:S,reportStatistic:k3.value.data,children:T()});if("tr"===i.type){const t="environment"===i.key;let r=i.value??i.name;"string"==typeof r&&r.toLowerCase().startsWith("environment:")&&(r=r.slice(12).trim()),"<Empty>"===i.value&&(r=l("no-environment"));const c=t?`${s("environment",{count:1})}: ${r}`:i.name,u="tr"===i.type?{transition:i.tooltips?.transition??(i.transition?a(`description.${i.transition}`):void 0),flaky:i.tooltips?.flaky??(i.flaky?a("description.flaky"):void 0),retries:i.tooltips?.retries??(i.retriesCount?a("description.retries",{count:i.retriesCount}):void 0)}:i.tooltips;return w3("div",{className:"B4UNfGcP",id:e,children:w3(Tx,{...i,name:c,groupOrder:(n??0)+1,marked:i.id===o,navigateTo:()=>$4({testResultId:e}),tooltips:u})})}};const G7=({store:e})=>w3("div",{className:"Y4M1IiGS",children:e.roots.map((t=>w3(V7,{nodeId:t,store:e},t)))}),Y7=Wr({loading:!0,error:void 0,data:void 0});Zr((()=>Y7?.value?.data.roots.length));let X7;const Z7=async e=>{if(X7!==e||!Y7.peek().data){X7=e,Y7.value={...Y7.value,loading:!0,error:void 0};try{const t=await F((e=>e?`widgets/${e}/categories.json`:"widgets/categories.json")(e));Y7.value={data:t,error:void 0,loading:!1}}catch(e){Y7.value={...Y7.value,error:void 0,loading:!1}}}};const K7=()=>{const{t:e}=v4("empty");return w3(Ad,{source:Y7,renderLoader:()=>w3("div",{className:"VjjrpeUw",children:w3(Md,{})}),renderData:t=>Y7.value.data?.roots?.length?w3(G7,{store:t}):w3("div",{className:"yT9qhy8N",children:e("no-categories-results")})})},J7="bits",Q7="bytes",e9="",t9="jedec",n9="round",r9="string",i9={symbol:{iec:{bits:["bit","Kibit","Mibit","Gibit","Tibit","Pibit","Eibit","Zibit","Yibit"],bytes:["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"]},jedec:{bits:["bit","Kbit","Mbit","Gbit","Tbit","Pbit","Ebit","Zbit","Ybit"],bytes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"]}},fullform:{iec:["","kibi","mebi","gibi","tebi","pebi","exbi","zebi","yobi"],jedec:["","kilo","mega","giga","tera","peta","exa","zetta","yotta"]}};function o9(e,{bits:t=!1,pad:n=!1,base:r=-1,round:i=2,locale:o="",localeOptions:a={},separator:s="",spacer:l=" ",symbols:c={},standard:u="",output:d=r9,fullform:f=!1,fullforms:h=[],exponent:p=-1,roundingMethod:g=n9,precision:m=0}={}){let v=p,b=Number(e),y=[],_=0,w=e9;"si"===u?(r=10,u=t9):"iec"===u||u===t9?r=2:2===r?u="iec":(r=10,u=t9);const x=10===r?1e3:1024,k=!0===f,C=b<0,S=Math[g];if("bigint"!=typeof e&&isNaN(e))throw new TypeError("Invalid number");if("function"!=typeof S)throw new TypeError("Invalid rounding method");if(C&&(b=-b),(-1===v||isNaN(v))&&(v=Math.floor(Math.log(b)/Math.log(x)),v<0&&(v=0)),v>8&&(m>0&&(m+=8-v),v=8),"exponent"===d)return v;if(0===b)y[0]=0,w=y[1]=i9.symbol[u][t?J7:Q7][v];else{_=b/(2===r?Math.pow(2,10*v):Math.pow(1e3,v)),t&&(_*=8,_>=x&&v<8&&(_/=x,v++));const e=Math.pow(10,v>0?i:0);y[0]=S(_*e)/e,y[0]===x&&v<8&&-1===p&&(y[0]=1,v++),w=y[1]=10===r&&1===v?t?"kbit":"kB":i9.symbol[u][t?J7:Q7][v]}if(C&&(y[0]=-y[0]),m>0&&(y[0]=y[0].toPrecision(m)),y[1]=c[y[1]]||y[1],!0===o?y[0]=y[0].toLocaleString():o.length>0?y[0]=y[0].toLocaleString(o,a):s.length>0&&(y[0]=y[0].toString().replace(".",s)),n&&i>0){const e=y[0].toString(),t=s||(e.match(/(\D)/g)||[]).pop()||".",n=e.toString().split(t),r=n[1]||e9,o=r.length,a=i-o;y[0]=`${n[0]}${t}${r.padEnd(o+a,"0")}`}return k&&(y[1]=h[v]?h[v]:i9.fullform[u][v]+(t?"bit":"byte")+(1===y[0]?e9:"s")),"array"===d?y:"object"===d?{value:y[0],symbol:y[1],exponent:v,unit:w}:y.join(l)}const a9="https://trace.playwright.dev",s9=`${a9}/next/`,l9=({onRetry:e,t:t})=>w3("div",{"data-testid":"pw-trace-popup-blocked",children:[w3(Yc,{children:[t("pwTracePopupBlocked"),w3("br",{}),t("pwTracePopupBlockedHint")]}),w3(Qc,{style:"flat",size:"s",text:t("retries"),onClick:()=>{x5.value=!1,e()}})]}),c9=({link:e})=>{const{t:t}=v4("ui"),n=`Playwright Trace Viewer | ${e.name}${e.ext}`,r=async()=>{try{const i=await $(e),o=(e=>{const t=window.open("","_blank");if(!t)return!1;const n={method:"load",params:{trace:e}},r=()=>{t.closed||t.postMessage(n,a9)};return t.location.href=s9,t.focus(),r(),globalThis.setTimeout((()=>{r()}),300),!0})(await i.blob());o||C5({title:n,component:w3(l9,{onRetry:r,t:t})})}catch{C5({title:n,component:w3(Yc,{children:"Failed to load Playwright trace attachment."})})}};return w3(Sd,{tooltipText:t("openPwTrace"),children:w3(eu,{icon:Wc.lineArrowsExpand3,size:"s",style:"ghost",onClick:r})})};var u9="rSMkogjt",d9="m8rk9tDG",f9="xefMEPSS",h9="HHsybWob",p9="VKOlcV4U",g9="h339ZMEJ",m9="mNhMD4M5",v9="sXJUrXQT",b9="nn68CIdd",y9="luT1VnGP",_9="nfjZcJp6",w9="a30JIKUL",x9="fG3nxMw9",k9="bVvMHCl8",C9="F8sZC2Xp",S9="CTjfDSfX",T9="o7YilZwI",A9="lEcTTfo0",M9="Ij4Cg4Kx",L9="uughArgE",E9="Px8Q9Npk",N9="Yino1buJ",O9="nj9hJGT8",R9="eVefXDQ_",D9="yzcDORxL",P9="pbsM6UgE",I9="ZIuCxI4O",z9="YYCSAKki",B9="jex1quuI",j9="AHvvSUfJ",F9="JSrX31Ic",H9="Bio0Im7S",$9="zGCnYcwA",U9="wAbIx1a1",q9="mkH_PBnf",W9="INLdyBW3",V9="ZC6k5aDG",G9="shp49_Ch",Y9="p8fgu_re",X9="l7iVQhqV",Z9="fv3dpOau",K9="_95lTgH3b",J9="QyDf7oEf",Q9="blSCD0ef",eee="ayR3EuIO",tee="CueB19ej";const nee=({item:e,shouldExpand:t,isPreviewable:n,showPreview:r,onPreviewToggle:i,isCodeView:o,highlightCode:a=!0,onHighlightToggle:s})=>{const{t:l}=v4("controls"),{t:c}=v4("attachments"),{id:u,ext:d,contentType:f}=e.link,h="application/vnd.allure.playwright-trace"===f,p=!1===e.link.missed?e.link.contentLength:void 0,g=p?o9(p,{base:2,round:1}):"-";ua((()=>{x5.value&&C5({isModalOpen:!0,data:e,component:w3(ax,{item:e,i18n:{imageDiff:e=>c(`imageDiff.${e}`)}})})}),[e,c]);const m=async e=>{e.stopPropagation(),await(async(e,t,n)=>{if(!e&&!t)return;const r=`${e}${t}`,i=await U(e,t,n),o=URL.createObjectURL(i),a=document.createElement("a");a.href=o,a.download=r,a.click(),URL.revokeObjectURL(o)})(u,d,f)};return w3("div",{className:v9,children:[Boolean(f)&&w3(Yc,{size:"s",children:f}),Boolean(g)&&w3(Yc,{size:"s",children:g}),w3("div",{className:m9,children:[h&&w3(c9,{link:e.link}),n&&i&&w3(Sd,{tooltipText:l(r?"viewCode":"previewAttachment"),children:w3(eu,{className:p9,style:"ghost",size:"s",iconSize:"s",icon:r?Wc.viewOff:Wc.view,onClick:e=>{e.stopPropagation(),i()}})}),o&&s&&w3(Sd,{tooltipText:l("syntaxHighlight"),children:w3(eu,{className:b3(p9,!a&&g9),style:"ghost",size:"s",iconSize:"s",icon:Wc.lineDevCodeSquare,onClick:e=>{e.stopPropagation(),s()}})}),t&&w3(Sd,{tooltipText:l("expand"),children:w3(eu,{className:p9,style:"ghost",size:"s",iconSize:"s",icon:Wc.lineArrowsExpand3,onClick:t=>{t.stopPropagation(),C5({data:e,component:w3(ax,{item:e,previewable:!0,i18n:{imageDiff:e=>c(`imageDiff.${e}`)}})})}})}),w3(Sd,{tooltipText:l("downloadAttachment"),children:w3(eu,{style:"ghost",size:"s",iconSize:"s",className:p9,icon:Wc.lineGeneralDownloadCloud,onClick:e=>m(e)})})]})]})},{lineImagesImage:ree,lineFilesFileAttachment2:iee,playwrightLogo:oee}=Wc,aee={"text/plain":iee,"application/xml":iee,"text/html":iee,"text/csv":iee,"text/markdown":iee,"text/javascript":iee,"text/typescript":iee,"text/ruby":iee,"text/python":iee,"text/php":iee,"text/java":iee,"text/csharp":iee,"text/cpp":iee,"text/c":iee,"text/go":iee,"text/rust":iee,"text/swift":iee,"text/kotlin":iee,"text/scala":iee,"text/perl":iee,"text/r":iee,"text/dart":iee,"text/lua":iee,"text/haskell":iee,"text/sql":iee,"text/tab-separated-values":iee,"text/css":iee,"text/uri-list":iee,"image/svg+xml":ree,"image/png":ree,"application/json":iee,"application/zip":iee,"video/webm":ree,"image/jpeg":ree,"video/mp4":ree,"application/vnd.allure.image.diff":ree,"application/vnd.allure.playwright-trace":oee},see=new Set(["html"]),lee=({item:e,stepIndex:t})=>{const n=null!==e.link?.id?`attachment-${e.link.id}`:null,r=null!==n&&r8(n,!1),[i,o]=la(!1),[a,s]=la(!0),{t:l}=v4("attachments"),{link:c}=e,{missed:u}=c,d=Y(c.contentType),f=!["archive",null].includes(d),h=see.has(d??""),p=!("code"!==d&&"text"!==d||h&&i),g=(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=(G(t)??t.replace(/^\./,"")).toLowerCase(),r=e.includes(".")?e.split(".").pop():e;if(r){n=r;break}}return(!t||!W.has(t))&&(!(!t||!V.has(t))||!!n&&q.has(n))})({contentType:c.contentType,ext:c.ext,name:c.name,originalFileName:c.originalFileName});return w3("div",{"data-testid":"test-result-attachment",className:$9,children:[w3("div",{"data-testid":"test-result-attachment-header",className:b3(R9,{[d9]:!f}),onClick:e=>{e.stopPropagation(),null!==n&&o8(n,!1)},children:[f?w3(ff,{isOpened:r}):w3("div",{className:Q9}),w3("div",{className:D9,children:w3(Vc,{size:"s",id:aee[c.contentType]??iee})}),w3(Xc,{size:"s",className:Y9,children:t}),w3(Yc,{className:z9,children:c.name||c.originalFileName}),u&&w3(Yc,{size:"s",className:I9,"data-testid":"test-result-attachment-missed",children:"missed"}),w3("div",{children:w3(nee,{item:e,shouldExpand:f,isPreviewable:h,showPreview:i,onPreviewToggle:h?()=>o((e=>!e)):void 0,isCodeView:p&&g,highlightCode:a,onHighlightToggle:p&&g?()=>s((e=>!e)):void 0})})]}),r&&f&&w3("div",{className:N9,children:w3("div",{className:E9,role:"button",onClick:t=>{t.stopPropagation(),"image"===d&&C5({data:e,component:w3(ax,{item:e,previewable:!0})})},children:w3(ax,{item:e,previewable:i,highlightCode:a,i18n:{imageDiff:e=>l(`imageDiff.${e}`)}})})})]})},cee=Wr({loading:!0,error:void 0,data:void 0}),uee=async()=>{try{const e=await F("widgets/globals.json");cee.value={data:e,error:void 0,loading:!1}}catch(e){cee.value={...cee.peek(),error:e.message,loading:!1}}};var dee="KTUjVPHJ",fee="H8TGa37o";const hee=()=>{const{t:e}=v4("empty"),{t:t}=v4("environments"),[n,r]=la([]),i=e=>w3("div",{className:"OTyWImw_",children:e.map((e=>({link:e,type:"attachment"}))).map(((e,t)=>w3(lee,{item:e,stepIndex:t+1},e.link.id??`${e.link.name}-${t}`)))}),o=e=>w3("div",{className:dee,children:i(e)});return w3(Ad,{source:cee,renderData:({attachments:a=[],attachmentsByEnv:s={}})=>{if(A4.value){const t=s[A4.value]??[];return t.length?o(t):w3("div",{className:fee,children:e("no-attachments-results")})}const l=Object.entries(s).filter((([,e])=>e.length>0));return l.length||a.length?l.length?1===l.length&&l[0][0]===M?o(l[0][1]??[]):a.length?w3("div",{className:dee,children:l.map((([e,o])=>{const a=!n.includes(e);return w3("div",{className:"bIAyzs6S",children:[w3(I6,{isOpened:a,setIsOpen:()=>{r((t=>a?t.concat(e):t.filter((t=>t!==e))))},title:`${t("environment",{count:1})}: "${M4(e)}"`,titleTooltipText:M4(e),truncateTitle:!0,counter:o.length}),a?i(o):null]},e)}))}):w3("div",{className:fee,children:e("no-attachments-results")}):o(a):w3("div",{className:fee,children:e("no-attachments-results")})}})},pee=/\x1B\[[0-9;?]*[ -/]*[@-~]/g,gee=e=>`__test-error__:${e}`,mee=e=>"string"!=typeof e?"":e.replace(pee,"").trim(),vee=e=>Boolean(e?.actual)&&"undefined"!==e.actual&&Boolean(e?.expected)&&"undefined"!==e.expected,bee=e=>Boolean(mee(e?.trace).length)||vee(e),yee=(e,t)=>{if("failed"!==e.status&&"broken"!==e.status)return!1;const n=mee(e.message),r=mee(t.message);if(n&&r)return n===r;const i=mee(e.trace),o=mee(t.trace);return Boolean(i)&&Boolean(o)&&i===o},_ee=(e,t)=>{const n=[];let r=!1;for(const i of e){if("attachment"===i.type){n.push(i);continue}const e=_ee(i.steps,t),o=Boolean(t)&&!e.didPlaceSyntheticError&&yee(i,t.error);n.push({type:"step",item:i,bodyItems:o?[...e.bodyItems,t]:e.bodyItems,suppressInlineError:o}),(e.didPlaceSyntheticError||o)&&(r=!0)}return{bodyItems:n,didPlaceSyntheticError:r}},wee=e=>{const t=e.error;return{type:"step",item:{type:"step",name:e.name,status:e.status,parameters:[],steps:e.steps,stepId:e.id,duration:e.duration,message:t?.message,trace:t?.trace,error:t},bodyItems:(n=e.steps,_ee(n,void 0).bodyItems),suppressInlineError:!1};var n},xee=(e,t="Error")=>{if(!e)return[];const n=("failed"===e.status||"broken"===e.status)&&(r=e.error,Boolean(mee(r?.message).length)||Boolean(mee(r?.trace).length)||vee(r))?((e,t,n,r)=>{return{type:"error",id:gee(e),title:(i=n.message,(mee(i).split("\n").map((e=>e.trim())).find((e=>e.length>0))??"")||r),status:t,error:n};var i})(e.id,e.status,e.error,t):void 0;var r;const{bodyItems:i,didPlaceSyntheticError:o}=_ee(e.steps,n);return n&&!o?[...i,n]:i};class kee{diff(e,t,n={}){let r;"function"==typeof n?(r=n,n={}):"callback"in n&&(r=n.callback);const i=this.castInput(e,n),o=this.castInput(t,n),a=this.removeEmpty(this.tokenize(i,n)),s=this.removeEmpty(this.tokenize(o,n));return this.diffWithOptionsObj(a,s,n,r)}diffWithOptionsObj(e,t,n,r){var i;const o=e=>(e=this.postProcess(e,n),r?void setTimeout((function(){r(e)}),0):e),a=t.length,s=e.length;let l=1,c=a+s;null!=n.maxEditLength&&(c=Math.min(c,n.maxEditLength));const u=null!==(i=n.timeout)&&void 0!==i?i:1/0,d=Date.now()+u,f=[{oldPos:-1,lastComponent:void 0}];let h=this.extractCommon(f[0],t,e,0,n);if(f[0].oldPos+1>=s&&h+1>=a)return o(this.buildValues(f[0].lastComponent,t,e));let p=-1/0,g=1/0;const m=()=>{for(let r=Math.max(p,-l);r<=Math.min(g,l);r+=2){let i;const l=f[r-1],c=f[r+1];l&&(f[r-1]=void 0);let u=!1;if(c){const e=c.oldPos-r;u=c&&0<=e&&e<a}const d=l&&l.oldPos+1<s;if(u||d){if(i=!d||u&&l.oldPos<c.oldPos?this.addToPath(c,!0,!1,0,n):this.addToPath(l,!1,!0,1,n),h=this.extractCommon(i,t,e,r,n),i.oldPos+1>=s&&h+1>=a)return o(this.buildValues(i.lastComponent,t,e))||!0;f[r]=i,i.oldPos+1>=s&&(g=Math.min(g,r-1)),h+1>=a&&(p=Math.max(p,r+1))}else f[r]=void 0}l++};if(r)!function e(){setTimeout((function(){if(l>c||Date.now()>d)return r(void 0);m()||e()}),0)}();else for(;l<=c&&Date.now()<=d;){const e=m();if(e)return e}}addToPath(e,t,n,r,i){const o=e.lastComponent;return o&&!i.oneChangePerToken&&o.added===t&&o.removed===n?{oldPos:e.oldPos+r,lastComponent:{count:o.count+1,added:t,removed:n,previousComponent:o.previousComponent}}:{oldPos:e.oldPos+r,lastComponent:{count:1,added:t,removed:n,previousComponent:o}}}extractCommon(e,t,n,r,i){const o=t.length,a=n.length;let s=e.oldPos,l=s-r,c=0;for(;l+1<o&&s+1<a&&this.equals(n[s+1],t[l+1],i);)l++,s++,c++,i.oneChangePerToken&&(e.lastComponent={count:1,previousComponent:e.lastComponent,added:!1,removed:!1});return c&&!i.oneChangePerToken&&(e.lastComponent={count:c,previousComponent:e.lastComponent,added:!1,removed:!1}),e.oldPos=s,l}equals(e,t,n){return n.comparator?n.comparator(e,t):e===t||!!n.ignoreCase&&e.toLowerCase()===t.toLowerCase()}removeEmpty(e){const t=[];for(let n=0;n<e.length;n++)e[n]&&t.push(e[n]);return t}castInput(e,t){return e}tokenize(e,t){return Array.from(e)}join(e){return e.join("")}postProcess(e,t){return e}get useLongestToken(){return!1}buildValues(e,t,n){const r=[];let i;for(;e;)r.push(e),i=e.previousComponent,delete e.previousComponent,e=i;r.reverse();const o=r.length;let a=0,s=0,l=0;for(;a<o;a++){const e=r[a];if(e.removed)e.value=this.join(n.slice(l,l+e.count)),l+=e.count;else{if(!e.added&&this.useLongestToken){let r=t.slice(s,s+e.count);r=r.map((function(e,t){const r=n[l+t];return r.length>e.length?r:e})),e.value=this.join(r)}else e.value=this.join(t.slice(s,s+e.count));s+=e.count,e.added||(l+=e.count)}}return r}}const Cee=new class extends kee{};function See(e,t){let n;for(n=0;n<e.length&&n<t.length;n++)if(e[n]!=t[n])return e.slice(0,n);return e.slice(0,n)}function Tee(e,t){let n;if(!e||!t||e[e.length-1]!=t[t.length-1])return"";for(n=0;n<e.length&&n<t.length;n++)if(e[e.length-(n+1)]!=t[t.length-(n+1)])return e.slice(-n);return e.slice(-n)}function Aee(e,t,n){if(e.slice(0,t.length)!=t)throw Error(`string ${JSON.stringify(e)} doesn't start with prefix ${JSON.stringify(t)}; this is a bug`);return n+e.slice(t.length)}function Mee(e,t,n){if(!t)return e+n;if(e.slice(-t.length)!=t)throw Error(`string ${JSON.stringify(e)} doesn't end with suffix ${JSON.stringify(t)}; this is a bug`);return e.slice(0,-t.length)+n}function Lee(e,t){return Aee(e,t,"")}function Eee(e,t){return Mee(e,t,"")}function Nee(e,t){return t.slice(0,function(e,t){let n=0;e.length>t.length&&(n=e.length-t.length);let r=t.length;e.length<t.length&&(r=e.length);const i=Array(r);let o=0;i[0]=0;for(let e=1;e<r;e++){for(t[e]==t[o]?i[e]=i[o]:i[e]=o;o>0&&t[e]!=t[o];)o=i[o];t[e]==t[o]&&o++}o=0;for(let r=n;r<e.length;r++){for(;o>0&&e[r]!=t[o];)o=i[o];e[r]==t[o]&&o++}return o}(e,t))}function Oee(e){let t;for(t=e.length-1;t>=0&&e[t].match(/\s/);t--);return e.substring(t+1)}function Ree(e){const t=e.match(/^\s*/);return t?t[0]:""}const Dee="a-zA-Z0-9_\\u{AD}\\u{C0}-\\u{D6}\\u{D8}-\\u{F6}\\u{F8}-\\u{2C6}\\u{2C8}-\\u{2D7}\\u{2DE}-\\u{2FF}\\u{1E00}-\\u{1EFF}",Pee=new RegExp(`[${Dee}]+|\\s+|[^${Dee}]`,"ug");const Iee=new class extends kee{equals(e,t,n){return n.ignoreCase&&(e=e.toLowerCase(),t=t.toLowerCase()),e.trim()===t.trim()}tokenize(e,t={}){let n;if(t.intlSegmenter){const r=t.intlSegmenter;if("word"!=r.resolvedOptions().granularity)throw new Error('The segmenter passed must have a granularity of "word"');n=[];for(const t of Array.from(r.segment(e))){const e=t.segment;n.length&&/\s/.test(n[n.length-1])&&/\s/.test(e)?n[n.length-1]+=e:n.push(e)}}else n=e.match(Pee)||[];const r=[];let i=null;return n.forEach((e=>{/\s/.test(e)?null==i?r.push(e):r.push(r.pop()+e):null!=i&&/\s/.test(i)?r[r.length-1]==i?r.push(r.pop()+e):r.push(i+e):r.push(e),i=e})),r}join(e){return e.map(((e,t)=>0==t?e:e.replace(/^\s+/,""))).join("")}postProcess(e,t){if(!e||t.oneChangePerToken)return e;let n=null,r=null,i=null;return e.forEach((e=>{e.added?r=e:e.removed?i=e:((r||i)&&zee(n,i,r,e),n=e,r=null,i=null)})),(r||i)&&zee(n,i,r,null),e}};function zee(e,t,n,r){if(t&&n){const i=Ree(t.value),o=Oee(t.value),a=Ree(n.value),s=Oee(n.value);if(e){const r=See(i,a);e.value=Mee(e.value,a,r),t.value=Lee(t.value,r),n.value=Lee(n.value,r)}if(r){const e=Tee(o,s);r.value=Aee(r.value,s,e),t.value=Eee(t.value,e),n.value=Eee(n.value,e)}}else if(n){if(e){const e=Ree(n.value);n.value=n.value.substring(e.length)}if(r){const e=Ree(r.value);r.value=r.value.substring(e.length)}}else if(e&&r){const n=Ree(r.value),i=Ree(t.value),o=Oee(t.value),a=See(n,i);t.value=Lee(t.value,a);const s=Tee(Lee(n,a),o);t.value=Eee(t.value,s),r.value=Aee(r.value,n,s),e.value=Mee(e.value,n,n.slice(0,n.length-s.length))}else if(r){const e=Ree(r.value),n=Nee(Oee(t.value),e);t.value=Eee(t.value,n)}else if(e){const n=Nee(Oee(e.value),Ree(t.value));t.value=Lee(t.value,n)}}const Bee=new class extends kee{tokenize(e){const t=new RegExp(`(\\r?\\n)|[${Dee}]+|[^\\S\\n\\r]+|[^${Dee}]`,"ug");return e.match(t)||[]}};const jee=new class extends kee{constructor(){super(...arguments),this.tokenize=Hee}equals(e,t,n){return n.ignoreWhitespace?(n.newlineIsToken&&e.includes("\n")||(e=e.trim()),n.newlineIsToken&&t.includes("\n")||(t=t.trim())):n.ignoreNewlineAtEof&&!n.newlineIsToken&&(e.endsWith("\n")&&(e=e.slice(0,-1)),t.endsWith("\n")&&(t=t.slice(0,-1))),super.equals(e,t,n)}};function Fee(e,t,n){return jee.diff(e,t,n)}function Hee(e,t){t.stripTrailingCr&&(e=e.replace(/\r\n/g,"\n"));const n=[],r=e.split(/(\n|\r\n)/);r[r.length-1]||r.pop();for(let e=0;e<r.length;e++){const i=r[e];e%2&&!t.newlineIsToken?n[n.length-1]+=i:n.push(i)}return n}var $ee="syGZIoxJ",Uee="RXa8doT1",qee="zpir2BWl",Wee="G950Nz0z",Vee="zsrd3avP",Gee="lhxolKcF",Yee="mBwUCrFL",Xee="g4KlyZzX",Zee="hJeLOo1U",Kee="N_wcZPgp",Jee="Dsth5JnN",Qee="esQmeeTd",ete="oJ9BJkyy",tte="nwVUw1wN",nte="zPbBjLko",rte="DszOlnW0",ite="dUSZKrAh",ote="dDI6ZI0h",ate="uNUwe_HS",ste="sG54O2AC",lte="puYODjqd",cte="h0ucaiY8",ute="yDO2U9CM",dte="tqCmioIo",fte="ZfK0VKlv",hte="bZnjmgRq",pte="iSKfb3Ul",gte="SG8hz9WF",mte="yHFYrUoh";const vte={chars:function(e,t,n){return Cee.diff(e,t,n)},words:function(e,t,n){return null==(null==n?void 0:n.ignoreWhitespace)||n.ignoreWhitespace?Iee.diff(e,t,n):function(e,t,n){return Bee.diff(e,t,n)}(e,t,n)},lines:Fee},bte=({expected:e,actual:t})=>{const[n,r]=la("lines"),[i,o]=la("unified"),[a,s]=la((()=>Fee(e,t))),{t:l}=v4("controls"),c=()=>w3(ko,{children:a.map(((e,t)=>w3("div",{className:e.added?Vee:e.removed?Yee:"",children:e.value},t)))});return w3("div",{className:$ee,"data-testId":"test-result-diff",children:[w3("div",{className:Wee,children:[w3("div",{className:Uee,children:[w3(Xc,{size:"s",className:qee,children:[l("viewMode"),":"]}),w3("div",{className:Zee,children:["unified","side-by-side"].map((e=>w3(Qc,{size:"s",style:i===e?"primary":"outline",text:l(e),onClick:()=>o(e)},e)))})]}),w3("div",{className:Uee,children:[w3(Xc,{size:"s",className:qee,children:[l("compareBy"),":"]}),["chars","words","lines"].map((i=>w3(Qc,{size:"s",style:n===i?"primary":"outline",text:l(i),onClick:()=>((n="chars")=>{const i=(0,vte[n])(e,t,{});r(n),s(i)})(i)},i)))]})]}),w3("side-by-side"===i?()=>w3("div",{className:Qee,children:[w3("div",{className:Jee,children:[w3(Xc,{type:"ui",size:"s",className:ete,children:l("expected")}),w3(sx,{code:e,className:Xee})]}),w3("div",{className:Jee,children:[w3("div",{className:Kee,children:w3(Xc,{size:"s",className:ete,children:l("actual")})}),w3(sx,{className:Xee,children:w3(c,{})})]})]}):()=>w3(ko,{children:w3("div",{className:mte,children:w3(sx,{className:Xee,children:[w3("div",{className:Gee,children:e}),w3(c,{})]})})}),{})]})},yte=({trace:e})=>{const t=Tn(e,{fg:"var(--on-text-primary)",bg:"none",colors:{0:"none",1:"none",2:"var(--on-support-sirius)",3:"var(--on-support-atlas)",4:"var(--bg-support-skat)",5:"var(--on-support-betelgeuse)"}});return w3("div",{"data-testid":"test-result-error-trace",className:ote,children:w3(Xc,{size:"s",type:"ui",children:w3("pre",{dangerouslySetInnerHTML:{__html:t}})})})},_te=({className:e,message:t="",trace:n,actual:r,expected:o,status:a,showMessage:s=!0,...l})=>{const[c,u]=la(!1),{t:d}=v4("ui"),{t:f}=v4("controls"),{t:h}=v4("empty"),p=Boolean(n?.length),g=vee({actual:r,expected:o}),m=s&&t?Tn(t,{fg:"var(--on-text-primary)",colors:{}}):"";return w3("div",{"data-testid":"test-result-error",className:b3(tte,i[`tr-status-${a}`],e),...l,children:[s&&t?w3(ko,{children:[w3("div",{"data-testid":"test-result-error-header",className:nte,children:[w3(Yc,{tag:"p",size:"m",bold:!0,className:b3(ite,i[`tr-color-${a}`]),children:d("error")}),w3(Sd,{tooltipText:f("clipboard"),tooltipTextAfterClick:f("clipboardSuccess"),children:w3(eu,{style:"ghost",size:"s",icon:Wc.lineGeneralCopy3,onClick:()=>{X8(t)}})})]}),w3("div",{className:rte,onClick:()=>u(!c),children:w3(Xc,{"data-testid":"test-result-error-message",size:"s",children:w3("pre",{dangerouslySetInnerHTML:{__html:m}})})})]}):s?h("no-message-provided"):null,g&&w3(Qc,{style:"flat","data-testId":"test-result-diff-button",size:"s",text:f("showDiff"),onClick:()=>C5({title:f("comparison"),data:{actual:r,expected:o},component:w3(bte,{actual:r,expected:o})})}),(c||!s)&&p&&w3(yte,{trace:n})]})};var wte="Sh6ni82w",xte="pXnEbQSL";const kte=()=>{const{t:e}=v4("empty"),{t:t}=v4("environments"),[n,r]=la([]),i=e=>w3("ul",{className:"RorQpJLu",children:e.map(((e,t)=>w3("li",{className:"nTIk374J",children:w3(_te,{...e})},t)))}),o=e=>w3("div",{className:wte,children:i(e)});return w3(Ad,{source:cee,renderData:({errors:a=[],errorsByEnv:s={}})=>{if(A4.value){const t=s[A4.value]??[];return t.length?o(t):w3("div",{className:xte,children:e("no-global-errors-results")})}const l=Object.entries(s).filter((([,e])=>e.length>0));return l.length||a.length?l.length?1===l.length&&l[0][0]===M?o(l[0][1]??[]):a.length?w3("div",{className:wte,children:l.map((([e,o])=>{const a=!n.includes(e);return w3("div",{className:"nT3QRdeW",children:[w3(I6,{isOpened:a,setIsOpen:()=>{r((t=>a?t.concat(e):t.filter((t=>t!==e))))},title:`${t("environment",{count:1})}: "${M4(e)}"`,titleTooltipText:M4(e),truncateTitle:!0,counter:o.length}),a?i(o):null]},e)}))}):w3("div",{className:xte,children:e("no-global-errors-results")}):o(a):w3("div",{className:xte,children:e("no-global-errors-results")})}})};const Cte=()=>{const{logo:e}=H()??{};return w3("div",{className:"WTJPyB_J",children:w3(jx,{logo:e})})},Ste=()=>w3("div",{className:"n4rYharX",children:w3(Ad,{source:T5,renderLoader:()=>null,renderData:e=>w3(YW,{slices:e.slices,percentage:e.percentage})})}),Tte=()=>{const{reportName:e,createdAt:t}=H()??{},{t:n}=v4("ui"),r=new Date(t).toLocaleDateString(p4.value,{month:"long",day:"numeric",year:"numeric",hour:"numeric",minute:"numeric",second:"numeric"});return w3("div",{className:"_c9rkrJI",children:[w3("div",{className:"zS7_OItU",children:[w3(Cte,{}),w3(Ad,{source:cee,renderData:({exitCode:t})=>{const i=t?.actual??t?.original;return w3("div",{className:"vMfYOHzS","data-testid":"report-header",children:[w3("div",{className:"oL7cUE3O",children:[void 0!==i&&w3(o7,{status:0===i?"passed":"failed"}),w3(Zc,{size:"s",tag:"h2",className:"O3rCqOkG","data-testid":"report-title",children:e})]}),w3(Yc,{type:"paragraph",size:"m",className:"dNa2n1iH","data-testid":"report-data",children:void 0===i?r:void 0!==t.actual?n("finishedAtBoth",{formattedCreatedAt:r,actual:t.actual,original:t.original}):n("finishedAtOriginal",{formattedCreatedAt:r,original:t.original})})]})}})]}),w3(Ste,{})]})},Ate=/^([^<>]+)\s+<\s*(\S*)\s*>$/,Mte=e=>{if(!e||""===e.trim())return{displayName:"",type:"none"};if(!((t=e).includes("@")||t.includes(":")||t.includes("<")))return{displayName:e,type:"none"};var t;let n=e,r=e;const i=e.match(Ate);return i&&(n=i[1].trim(),r=i[2]),""===r?{displayName:n,type:"none"}:(e=>{try{const t=new URL(e);return"http:"===t.protocol||"https:"===t.protocol}catch{return!1}})(r)?{displayName:n,url:r,type:"url"}:(e=>/^[^\s@]+@[^\s.@][^\s@]*\.[^\s@]+$/.test(e))(r)?{displayName:n,email:r,type:"email"}:{displayName:e,type:"none"}};var Lte="nN4HTcaV",Ete="zekPInHE",Nte="n8aAEqJN",Ote="gWhwmmak",Rte="vbS07EBz",Dte="GnFlAHvD",Pte="SOj4fXZr",Ite="Y0BjnooD",zte="DYf1zpQK",Bte="x3aRsFUn",jte="UDXyMSw0",Fte="S2HdG_Q4",Hte="J2Ih3NTA",$te="P3sa8qE8",Ute="mINTqK_J",qte="Mo_tidg4",Wte="A6GWJHtf",Vte="mS0_tpbu",Gte="Qc1PPhPw",Yte="WnwsZxzW",Xte="FFZ1ZZHu",Zte="SmbunT7K",Kte="XZvscg6t",Jte="tf5VzSUo",Qte="a26GxOK7",ene="HaG13R7H";const tne=({envInfo:e,size:t="m",columns:n=2})=>w3("div",{class:Ute,style:{gridTemplateColumns:`repeat(${n}, ${100/n-5}%)`},"data-testid":"metadata-list",children:e?.map((({name:e,values:n,value:r})=>w3(lne,{size:t,title:e,value:r,values:n},e)))}),nne=({groupedLabels:e,size:t="m"})=>w3("div",{class:Ute,children:e&&Object.entries(e)?.map((([e,n])=>w3(lne,{size:t,title:e,values:n},e)))}),rne=({url:e})=>{const{t:t}=v4("filters");return w3(nu,{href:e,target:"_blank",style:"ghost",icon:Wc.lineGeneralLinkExternal,text:t("goto_filter")})},ine=e=>{const{t:t}=v4("ui"),{ownerValue:n}=e,r=Mte(n);if("none"===r.type)return null;if("email"===r.type&&r.email===n)return null;if("email"===r.type)return w3(Qc,{icon:Wc.lineGeneralCopy3,style:"outline",text:t("copy-email"),onClick:()=>X8(r.email)});if("url"===r.type){const e=r.url.length>25?`${r.url.slice(0,25)}...`:r.url;return w3(nu,{href:r.url,target:"_blank",style:"ghost",icon:Wc.lineGeneralLinkExternal,text:e})}},one=e=>{const{value:t,name:n}=e,{t:r}=v4("ui");return w3("div",{className:Dte,children:[w3("div",{className:Pte,children:w3(Yc,{children:t})}),"tag"===n&&w3(rne,{url:Q5([t])}),"owner"===n&&w3(ine,{ownerValue:t}),w3(Qc,{style:"outline",icon:Wc.lineGeneralCopy3,text:r("copy"),onClick:()=>X8(t)})]})},ane=({value:e,size:t="s"})=>{const n=Mte(e).displayName??e;return w3(cf,{size:"xl",menuTrigger:({onClick:e})=>w3("div",{className:$te,children:w3(Yc,{type:"ui",size:t,onClick:e,bold:!0,className:Hte,children:n})}),children:w3(cf.Section,{children:w3(one,{value:e,name:"owner"})})})},sne=({name:e,size:t="s",value:n})=>"owner"===e?w3(ane,{value:n,size:t}):w3(cf,{size:"xl",menuTrigger:({onClick:e})=>w3("div",{className:$te,children:w3(Yc,{type:"ui",size:t,onClick:e,bold:!0,className:Hte,children:n})}),children:w3(cf.Section,{children:w3(one,{value:n,name:e})})}),lne=({title:e,value:t,values:n,size:r="m"})=>w3("div",{className:jte,"data-testid":"metadata-item",children:[w3(Yc,{type:"ui",size:r,className:b3(Fte,o[`report-metadata-${r}`]),"data-testid":"metadata-item-key",children:e}),w3("div",n?.length?{className:Yte,"data-testid":"metadata-item-value",children:n.map((t=>w3(sne,{value:t,name:e},t)))}:{className:Yte,"data-testid":"metadata-item-value",children:w3(sne,{value:t??"",name:e})})]});var cne="H1FTwt0p",une="olN4GBkY",dne="BPmah4u0",fne="nniai2BI",hne="v3ysKQxp",pne="qzVfMJ62",gne="rSSOw0a2",mne="GX_rB7lR",vne="leWWvIJ0",bne="mVVC1964",yne="scoj0j8L",_ne="ITwjhwRa",wne="g27isKzC",xne="wzfUu19I",kne="GF7CSNA8",Cne="Qa3VANQ9",Sne="ue52FuVD",Tne="TE01RZXH",Ane="uginZSIO",Mne="qkhMdfXn",Lne="GwUOcir4";const Ene=({count:e})=>w3(Yc,{"data-testid":"metadata-value",type:"ui",size:"m",tag:"div",className:fne,children:e});var Nne=({className:e,renderComponent:t=Ene,props:n,...r})=>{const{title:i}=n||{};return w3("div",{...r,className:v3("metadata-item",e),children:[w3(Yc,{type:"ui",size:"s",tag:"div",className:dne,children:i}),w3(t||Ene,{...n})]})};const One=({status:e,count:t})=>w3("div",{"data-testid":"metadata-value",className:hne,children:[w3("div",{className:v3(cne,s?.[`status-${e}`])}),w3(Yc,{type:"ui",size:"m",bold:!0,children:t})]}),Rne={flaky:Wc.lineIconBomb2,retries:Wc.lineArrowsRefreshCcw1,new:Wc.lineAlertsNew},Dne=({type:e,count:t})=>w3("div",{"data-testid":"metadata-value",className:pne,children:["all"!==e&&w3(Vc,{className:une,id:Rne[e],size:"s"}),w3(Yc,{size:"m",bold:!0,children:t})]}),Pne=["flaky","new","retries"],Ine=({stats:e})=>{const{t:t}=v4("statuses"),{t:n}=v4("testSummary"),r=Zr((()=>({title:n("total"),type:"all",count:e.total}))),i=Pne.map((t=>{if(!e[t])return;const r={title:n(t),count:e[t]||0,type:t};return w3("div",{children:w3(Nne,{"data-testid":`metadata-item-${t}`,props:r,renderComponent:Dne})},t)})).filter(Boolean),o=u.map((t=>({status:t,value:e[t]}))).filter((({value:e})=>e)).map((({status:e,value:n})=>{const r=O(t(e)??e??"");return w3(Nne,{"data-testid":`metadata-item-${e}`,props:{title:r,count:n,status:e},renderComponent:One},e)}));return w3("div",{class:kne,children:[w3("div",{className:mne,children:[w3(Nne,{"data-testid":"metadata-item-total",props:r.value,renderComponent:Dne}),Boolean(i.length)&&w3("div",{className:wne}),i]}),w3("div",{className:xne,children:o})]})},zne=Wr({loading:!1,error:void 0,data:void 0}),Bne=async()=>{zne.value={...zne.peek(),loading:!0,error:void 0};try{const e=await F("widgets/allure_environment.json",{bustCache:!0});zne.value={data:e,error:void 0,loading:!1}}catch(e){zne.value={...zne.peek(),error:j(e),loading:!1}}},jne=Wr({loading:!1,error:void 0,data:void 0}),Fne=({envInfo:e=[]})=>{const t=A4.value??"default",n=`report-${t}-metadata`,r=`report-${t}-metadata-showAll`,i=!t8.value.has(n),o=t8.value.has(r),a=e.map((e=>({...e,value:e.values.join(", ")}))),s=a.length,l=s<=8||o?a:a.slice(0,8),{t:c}=v4("ui");return w3("div",{class:gne,children:[w3(I6,{isOpened:i,setIsOpen:()=>o8(n),title:c("metadata"),counter:e.length}),i&&w3(ko,{children:[w3(tne,{envInfo:l}),s>8&&w3(Qc,{style:"ghost",size:"s",text:c(o?"showLess":"showMore"),onClick:()=>o8(r)})]})]})},Hne=e=>{const{t:t}=v4("ui"),n=A4.value??"default",r=`report-${n}-variables`,i=`report-${n}-variables-showAll`,o=!t8.value.has(r),a=t8.value.has(i),s=Object.entries(e.variables).map((([e,t])=>({name:e,value:t}))),l=s.length,c=l<=8||a?s:s.slice(0,8);return w3("div",{class:gne,"data-testid":"report-variables",children:[w3(I6,{isOpened:o,setIsOpen:()=>o8(r),title:t("variables"),counter:Object.keys(e.variables).length,"data-testid":"report-variables-button"}),o&&w3(ko,{children:[w3(tne,{envInfo:c}),l>8&&w3(Qc,{style:"ghost",size:"s",text:t(a?"showLess":"showMore"),onClick:()=>o8(i)})]})]})},$ne=()=>{const e=A4.value?C3.value.data[A4.value]:k3.value.data;return ua((()=>{(async(e="default")=>{jne.value={...jne.peek(),loading:!0,error:void 0};try{const t=await F(e?`widgets/${e}/variables.json`:"widgets/variables.json",{bustCache:!0});jne.value={data:{...jne.peek().data,[e]:t},error:void 0,loading:!1}}catch(e){jne.value={...jne.peek(),error:e.message,loading:!1}}})(A4.value)}),[A4.value]),w3("div",{className:Cne,children:[e&&w3(Ine,{stats:e}),w3(Ad,{source:jne,transformData:e=>e?.[A4.value??"default"]??{},renderData:e=>!!Object.keys(e).length&&w3(Hne,{variables:e})}),w3(Ad,{source:zne,renderError:()=>null,renderData:e=>Boolean(e?.length)&&w3(Fne,{envInfo:e})})]})},Une=Wr({loading:!0,error:void 0,data:void 0}),qne=async()=>{try{const e=await F("widgets/quality-gate.json");Une.value={data:e,error:void 0,loading:!1}}catch(e){Une.value={...Une.peek(),error:e.message,loading:!1}}};var Wne="u7c2Gp3S";const Vne=({results:e})=>w3("ul",{className:"W2Wj9sPD","data-testid":"quality-gate-results-section-env-content",children:e.map((e=>w3("li",{"data-testid":"quality-gate-result",children:w3("div",{className:"c_o9yDWb",children:[w3(Vc,{id:Wc.solidXCircle,className:"uUNweAEI"}),w3("div",{className:"F5kBsuGq",children:[w3(Yc,{tag:"p",size:"l",type:"ui",bold:!0,"data-testid":"quality-gate-result-rule",children:e.rule}),w3(_te,{className:"WcL1EdUx",message:e.message,"data-testid":"quality-gate-result-message"})]})]})},e.rule)))}),Gne=()=>{const{t:e}=v4("empty"),{t:t}=v4("environments"),[n,r]=la([]);return w3(Ad,{source:Une,renderData:i=>{if(A4.value){const t=i[A4.value]??[];return t.length?w3(Vne,{results:t}):w3("div",{className:Wne,children:e("no-quality-gate-results")})}const o=Object.entries(i).filter((([,e])=>e.length>0));if(!o.length)return w3("div",{className:Wne,children:e("no-quality-gate-results")});if(1===o.length&&o[0][0]===M){const t=o[0][1]??[];return t.length?w3(Vne,{results:t}):w3("div",{className:Wne,children:e("no-quality-gate-results")})}return w3("div",{className:"NUdzNGyk",children:o.map((([e,i])=>{const o=!n.includes(e);return w3("div",{className:"s8fDLKPX","data-testid":"quality-gate-results-section",children:[w3(I6,{isOpened:o,setIsOpen:()=>{r((t=>o?t.concat(e):t.filter((t=>t!==e))))},title:`${t("environment",{count:1})}: "${M4(e)}"`,titleTooltipText:M4(e),truncateTitle:!0,counter:i.length,"data-testid":"quality-gate-results-section-env-button"}),o&&w3(Vne,{results:i})]},e)}))})}})};let Yne=function(e){return e.Results="results",e.QualityGate="qualityGate",e.GlobalAttachments="globalAttachments",e.GlobalErrors="globalErrors",e.Categories="categories",e}({});const Xne={[Yne.Results]:()=>w3(ko,{children:[w3($ne,{}),w3(W8,{})]}),[Yne.GlobalAttachments]:()=>w3(hee,{}),[Yne.GlobalErrors]:()=>w3(kte,{}),[Yne.QualityGate]:()=>w3(Gne,{}),[Yne.Categories]:()=>w3(K7,{})},Zne=()=>{const{currentTab:e}=O5(),t=e||Yne.Results;return w3(Xne[t],{})};var Kne=()=>{const{t:e}=v4("tabs"),t={categories:Yne.Categories,qualityGate:Yne.QualityGate,globalAttachments:Yne.GlobalAttachments,globalErrors:Yne.GlobalErrors},n={[Yne.Categories]:"categories",[Yne.QualityGate]:"qualityGate",[Yne.GlobalAttachments]:"globalAttachments",[Yne.GlobalErrors]:"globalErrors"},r=Y4.value.matches?t[Y4.value.params.rootTab]??Yne.Results:Yne.Results,i=e=>{const{id:t,children:r}=e,{currentTab:i,setCurrentTab:o}=O5(),a=i===t;return w3(I5,{id:t,onClick:()=>{if(a)return;if(o(t),t===Yne.Results)return void(f5.value?(e=>{const t={...e,tab:H4(e.tab)};pi({path:"/:testResultId/:tab?",params:t,keepSearchParams:!0})})({testResultId:f5.value,tab:d5.value}):q4());const e=n[t];e?f5.value?(e=>{const t={...e,tab:H4(e.tab)};pi({path:"/:rootTab/:testResultId/:tab?",params:t,keepSearchParams:!0})})({rootTab:e,testResultId:f5.value,tab:d5.value}):pi({path:"/:rootTab",params:{rootTab:e},keepSearchParams:!0}):q4()},isCurrentTab:a,children:r})};return w3("div",{className:b3("jMfDHmT3",z4.value?"vxvi7vCG":""),children:[w3(Tte,{}),w3("div",{className:"QUJMdpd1",children:w3(D5,{initialTab:r,children:[w3((()=>{const{currentTab:e,setCurrentTab:n}=O5(),r=Y4.value.matches?Y4.value.params.rootTab??"":"";return ua((()=>{const r=Y4.value.matches,i=r?Y4.value.params.rootTab:void 0,o=r?t[i]??Yne.Results:Yne.Results;e!==o&&n(o)}),[e,n,r]),null}),{}),w3(P5,{children:[w3(Ad,{source:k3,renderData:t=>w3(i,{id:Yne.Results,children:[e("results")," ",w3(Ix,{count:t?.total??0})]})}),w3(Ad,{source:Y7,renderData:t=>t&&t.roots?.length?w3(ko,{children:w3(i,{id:Yne.Categories,children:[e("categories")," ",w3(Ix,{count:t.roots?.length})]})}):null}),w3(Ad,{source:Une,renderData:t=>{const n=A4.value?t[A4.value]??[]:Object.values(t).flatMap((e=>e));return w3(i,{id:Yne.QualityGate,children:[e("qualityGates")," ",w3(Ix,{status:n.length>0?"failed":void 0,count:n.length})]})}}),w3(Ad,{source:cee,renderData:({attachments:t=[],attachmentsByEnv:n={},errors:r=[],errorsByEnv:o={}})=>{const a=A4.value?n[A4.value]??[]:t,s=A4.value?o[A4.value]??[]:r;return w3(ko,{children:[w3(i,{id:Yne.GlobalAttachments,children:[e("globalAttachments")," ",w3(Ix,{count:a.length})]}),w3(i,{id:Yne.GlobalErrors,children:[e("globalErrors")," ",w3(Ix,{status:s.length>0?"failed":void 0,count:s.length})]})]})}})]}),w3("div",{className:"XJmcSSxb",children:w3(Zne,{})})]})})]})};const Jne=({testResult:e,className:t})=>{const{attachments:n}=e??{},{t:r}=v4("ui");return w3("div",{className:b3("zfDiQjUs",t),children:n.length?n?.map(((e,t)=>w3(lee,{item:e,stepIndex:t+1},t))):w3("div",{className:"gHLb2IHz",children:r("no-attachments-results")})})};var Qne="vU4QD1Zt";const ere={flaky:Wc.lineIconBomb2,known:Wc.lineAlertsAlertCircle,muted:Wc.lineGeneralEye},tre=({statuses:e})=>{const{t:t}=v4("filters");return w3("div",{className:"Y_ABjIlV",children:e.map((([e],n)=>{const r=t(e);return w3("div",{className:"RzEWIfyL",children:[w3(Vc,{className:"sYnvAmJE",id:ere[e],size:"s"}),w3(Yc,{type:"ui",size:"s",children:O(r)})]},n)}))})};const nre=e=>{const{trId:t,type:n}=e,{t:r}=v4("controls"),i=void 0===t,o="prev"===n,a=o?Wc.lineArrowsChevronUp:Wc.lineArrowsChevronDown,s=r("prevTR"),l=r("nextTR"),c=`test-result-nav-${n}`;return i?w3(eu,{icon:a,style:"ghost",isDisabled:!0,"data-testid":c}):w3(Sd,{tooltipText:o?s:l,children:w3(eu,{icon:a,style:"ghost","data-testid":c,onClick:()=>$4({testResultId:t,tab:d5.value})})})},rre=e=>{const{fullName:t}=e,{t:n}=v4("controls");return w3("div",{"data-testid":"test-result-fullname",className:"UMtt6eky",children:[w3(Sd,{tooltipText:n("clipboard"),tooltipTextAfterClick:n("clipboardSuccess"),children:w3(eu,{"data-testid":"test-result-fullname-copy",style:"ghost",size:"s",iconColor:"secondary",icon:Wc.lineGeneralCopy3,onClick:()=>X8(t)})}),w3(Xc,{tag:"div",size:"s",className:"m0hjvF1C",children:t})]})},ire=e=>{const{current:t,total:n}=e;return w3(Xc,{"data-testid":"test-result-nav-current",size:"s",className:"uY32EKiB",children:[t,"/",n]})},ore=Zr((()=>p5.value.data??[])),are=Zr((()=>ore.value.length>0)),sre=e=>{const{currentId:t}=e,n=Pa((()=>ore.value[ore.value.indexOf(t)+1])),r=Pa((()=>ore.value[ore.value.indexOf(t)-1])),i=Pa((()=>ore.value.indexOf(t)+1)),o=Pa((()=>ore.value.length));return are.value?w3("div",{className:"kpgcHGgL",children:[w3(nre,{trId:r.value,type:"prev"}),w3(ire,{current:i.value,total:o.value}),w3(nre,{trId:n.value,type:"next"})]}):null},lre=e=>{const{testResult:t}=e;if(!t?.id)return null;const n=!!t?.hidden,r=!!t?.fullName;return!n&&are.value||r?w3("div",{className:"S2MigNqx",children:[r&&w3(rre,{fullName:t.fullName}),!n&&w3(sre,{currentId:t.id})]}):null},cre={month:"numeric",day:"numeric",year:"numeric",hour:"numeric",minute:"numeric",second:"numeric",hour12:!1},ure=(e,t=cre)=>{const n=new Date(e),{t:r}=v4("ui"),i=t.second?"dateTime":t.hour||t.minute?"dateTimeNoSeconds":"date",o=Z(h4.value,i),a=new Intl.DateTimeFormat(o?.locale??p4.value,{...t,...o?.options??{}}).format(n);return!1===o?.includeAtSeparator||o?.stripComma?a.replace(",",""):a.replace(",",` ${r("at")}`)};var dre="Qtaknh4H",fre="MvcZI6N6",hre="ZklQzVpr",pre="KWGGj5BL",gre="AqrlysBM",mre="mYGYsQ_6",vre="pd_eIpqc",bre="_7pQBjWyU";const yre=({item:e})=>{const t=H();if(!e.url)return w3("div",{className:mre,children:w3(Vc,{id:Wc.lineShapesDotCircle,className:l[`status-${e?.status}`]})});const{origin:n,pathname:r}=new URL(e.url),i=new URL([r,t.id].join("/"),n);return i.hash=e.id,w3("a",{className:mre,href:i.toString(),children:w3(Vc,{id:Wc.lineShapesDotCircle,className:l[`status-${e?.status}`]})})},_re=({item:e})=>{const t=e.stop&&ure(e.stop),{t:n}=v4("statuses"),r=n(e.status);return w3("div",{className:vre,children:[w3(Yc,{tag:"div",size:"m",bold:!0,children:O(r)}),w3(Yc,{size:"m",children:t})]})},wre=({history:e})=>w3("div",{className:bre,children:e?.slice(0,6).map(((e,t)=>w3("div",{"data-testid":"test-result-prev-status",className:mre,children:w3(Sd,{tooltipComponent:w3(_re,{item:e}),children:w3(yre,{item:e})},t)},t)))}),xre=D5,kre=P5,Cre=e=>{const{id:t,children:n}=e,r=d5.value===t;return w3(I5,{id:t,onClick:()=>{r||U4("overview"!==t?{testResultId:f5.value,tab:t}:{testResultId:f5.value,tab:""})},"data-testid":`test-result-tab-${t}`,isCurrentTab:r,children:n})},Sre=({testResult:e})=>{const{name:t,status:n,muted:r,flaky:i,known:o,duration:a,labels:s,history:l,retries:c,attachments:u,stop:d,categories:f}=e??{},h=y(a),p=d&&ure(d),g=s?.find((e=>"severity"===e.name))?.value??"normal",m=f?.[0]?.name,{t:v}=v4("ui"),b=Object.entries({flaky:i,muted:r,known:o}).filter((([,e])=>e));return w3("div",{className:b3("_ySO1N0z",z4.value&&"pFFeg3Zk"),children:[w3(lre,{testResult:e}),e&&w3((()=>w3(ko,{children:[t&&w3(Zc,{"data-testid":"test-result-info-title",tag:"h1",size:"s",className:"JO7GwVtt",children:t}),w3("div",{className:"F6S5W1e2",children:[Boolean(n)&&w3(o7,{status:n}),Boolean(l?.length)&&w3(wre,{history:l}),w3($7,{severity:g}),Boolean(b.length)&&w3(tre,{statuses:b}),m&&w3(Yc,{tag:"div",size:"s",className:"BFFYU7Wv",children:[v("category"),": ",m]}),w3(Sd,{tooltipText:p,children:w3(Yc,{tag:"div",size:"s",bold:!0,className:"me_UMwzF",children:h})})]}),w3("div",{className:"T9uo7iug",children:w3(kre,{children:[w3(Cre,{id:"overview",children:v("overview")}),w3(Cre,{id:"history",children:w3("div",{className:Qne,children:[v("history"),Boolean(l?.length)&&w3(Ix,{size:"s",count:l?.length})]})}),w3(Cre,{id:"retries",children:w3("div",{className:Qne,children:[v("retries"),Boolean(c?.length)&&w3(Ix,{size:"s",count:c?.length})]})}),w3(Cre,{id:"attachments",children:w3("div",{className:Qne,children:[v("attachments"),Boolean(u?.length)&&w3(Ix,{size:"s",count:u?.length})]})}),w3(Ad,{source:S4,transformData:t=>t?.[e?.testCase?.id],renderData:e=>{const t=N(e);return w3(Cre,{id:"environments",children:w3("div",{className:Qne,children:[v("environments"),!!t&&w3(Ix,{size:"s",count:t})]})})}})]})})]})),{})]})};const Tre=()=>{const{t:e}=v4("empty");return w3("div",{className:"BzXsHBvw",children:w3("div",{className:"koOYvEfj",children:[w3(Vc,{size:"xl",id:Wc.lineDevCodeSquare,className:"lGholSnL"}),w3(Yc,{className:"IGp9O8Vd",children:e("no-test-case-results")})]})})};var Are=()=>w3("div",{className:"N3IRv8v_",children:[w3(Sre,{}),w3(Tre,{})]}),Mre="IUE2Omu5";const Lre=({env:e,testResult:t,current:n=!1})=>{const{status:r,error:i,stop:o,duration:a,id:s}=t,[l,c]=la(!1),u=!i||!Object.keys(i).length,d=o?ure(o):"",f=y(a),{t:h}=v4("controls"),p=s;return w3("div",{"data-testid":"test-result-env-item",children:[w3("div",{className:"dMWnxDb0",children:[!u&&w3("span",{onClick:()=>c(!l),children:w3(ff,{isOpened:l,icon:Wc.arrowsChevronDown})}),w3("div",{className:b3("lWx95Nbt",{[Mre]:n}),role:n?void 0:"button",onClick:e=>{n||(e.stopPropagation(),$4({testResultId:s}))},children:[w3(_x,{status:r,className:"JaebewVW"}),w3(Yc,{className:"aYdTB6bA",bold:!0,children:e}),w3(Yc,{className:"YDQT9BDS",children:d}),w3("div",{className:"W1EawBgQ",children:[w3(Yc,{type:"ui",size:"s",className:"VhLNf09q",children:f}),!n&&w3(Sd,{tooltipText:h("openInNewTab"),children:w3(eu,{icon:Wc.lineGeneralLinkExternal,style:"ghost",size:"s",className:"iULZkSC8","data-testid":"test-result-env-item-new-tab-button",onClick:e=>{e.stopPropagation(),(e=>{"undefined"!=typeof window&&window.open(`#${e}`,"_blank")})(p)}})})]})]})]}),l&&!u&&w3("div",{children:w3(_te,{status:r,...i})})]})};const Ere=({env:e,activeTestResultId:t,testResultId:n})=>(ua((()=>{g5(n)}),[n]),w3(Ad,{source:h5,transformData:e=>e[n],renderData:r=>r&&w3(Lre,{env:e,testResult:r,current:t===n})})),Nre=({testResult:e})=>{const{t:t}=v4("empty");return w3("div",{className:"ozZv4YYg",children:w3(Ad,{source:S4,renderData:n=>{if(!N(n))return w3("div",{className:"W1D3Dob7",children:t("no-environments-results")});const r=Object.entries(n.testResultsByEnv).sort((([e],[t])=>t.localeCompare(e)));return w3("ul",{children:r.map((([t,n])=>w3("li",{children:w3(Ere,{env:M4(t),testResultId:n,activeTestResultId:e.id})},`${t}-${n}`)))})},transformData:t=>t[e?.testCase?.id]})})};var Ore="aJcIdb37",Rre="SMPSTdLn";const Dre=e=>{const{t:t}=v4("trHistory"),{date:n}=e;return w3(Yc,{"data-unknown":!n||void 0,className:"UZnGR7He",children:n??t("unknown-date")})},Pre=e=>{const t=H(),{historyTr:n}=e,{status:r,error:i,duration:o,id:a,url:s}=n,[l,c]=la(!1),u=(e=>{const{stop:t,duration:n,start:r}=e;return t?ure(t):r&&n?ure(r+n):void 0})(n),d=o?y(o):void 0,{t:f}=v4("controls"),h=ha((()=>{if(!s)return;const{origin:e,pathname:n}=new URL(s),r=new URL([n,t.id].join("/"),e);return r.hash=a,r.toString()}),[a,s]),p=()=>w3(ko,{children:[w3(_x,{status:r,className:"OMi8QUdx"}),w3(Dre,{date:u}),w3("div",{className:"SoDTj6MG",children:[d&&w3(Yc,{type:"ui",size:"s",className:"XPnhNSK8",children:d}),h?w3(Sd,{tooltipText:f("openInNewTab"),children:w3(eu,{href:h.toString(),target:"_blank",icon:Wc.lineGeneralLinkExternal,style:"ghost",size:"s",className:"cDd5rF2D",onClick:e=>{e.stopPropagation()}})}):null]})]});return w3("div",{"data-testid":"test-result-history-item",children:[w3("div",{className:"kswjYBvR",children:[Boolean(i)&&w3("span",{onClick:()=>c(!l),children:w3(ff,{isOpened:l,icon:Wc.arrowsChevronDown})}),h?w3("a",{href:h,className:Rre,children:p()}):w3("div",{className:Rre,children:p()})]}),l&&i&&w3("div",{children:w3(_te,{...i,status:r})})]})};var Ire=e=>{const{testResult:t={}}=e,{history:n=[]}=t,{t:r}=v4("empty");return w3("div",n.length>0?{className:Ore,children:n.map(((e,t)=>w3(Pre,{historyTr:e},t)))}:{className:Ore,children:w3(ew,{description:r("no-history-results")})})};var zre=()=>{const{t:e}=v4("empty");return w3("div",{className:"y8QoXSIL",children:w3("div",{className:"PB69_VZ_",children:[w3(Vc,{size:"xl",id:Wc.lineDevCodeSquare,className:"yDYp5hpY"}),w3(Yc,{className:"pSX73zId",children:e("no-test-steps-results")})]})})};const Bre=({id:e,descriptionHtml:t})=>{const n=null!==e?`${e}-description`:null,r=!t8.value.has(n),[i,o]=la(""),[a,s]=la(120),l=Gi.value.current,c=ha((()=>t?Rr(t):""),[t]);ua((()=>{if(!c)return void o("");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=Ki(n,t,new Set([e])).trim();return r?`${e}: ${r};`:""})).filter(Boolean).join("\n")})(Xi),t=new Blob([`<!DOCTYPE html>\n <html data-theme="${l}">\n <head>\n <meta charset="utf-8">\n <style>:root {${e}}</style>\n <style>${Xi}</style>\n </head>\n <body>${c}</body>\n </html>`],{type:"text/html"}),n=URL.createObjectURL(t);return o(n),()=>URL.revokeObjectURL(n)}),[l,c]);return w3("div",{className:"Q1HbMGcP","data-testid":"test-result-description",children:w3("div",{className:"DYtd2iR0",children:[w3(I6,{title:"Description",setIsOpen:()=>{null!==n&&o8(n)},isOpened:r}),r&&w3("div",{className:"lcO4cBIj",children:i&&w3("iframe",{"data-testid":"test-result-description-frame",src:i,width:"100%",height:String(a),style:{border:0},sandbox:"allow-same-origin",onLoad:e=>{const t=e.currentTarget,n=t.contentDocument?.documentElement,r=t.contentDocument?.body,i=Math.max(n?.scrollHeight??0,r?.scrollHeight??0);s(Math.max(i,120))}})})]})})};var jre="Pv304n1w";const Fre={issue:Wc.lineDevBug2,link:Wc.lineGeneralLink1,tms:Wc.lineGeneralChecklist3,github:Wc.github},Hre=({link:e})=>{const{url:t,name:n,type:r}=e,i=P(t),o=n||t;return w3("div",{className:"wH1b223H","data-testid":"test-result-meta-link",children:[w3(Vc,{id:Fre[r]??Wc.lineGeneralLink1}),w3(Yc,i?{tag:"a",href:i,target:"_blank",rel:"noopener noreferrer",size:"m",className:jre,children:o}:{size:"m",className:jre,children:o})]})},$re=({id:e,links:t})=>{const{t:n}=v4("ui"),r=null!==e?`${e}-links`:null,i=null!==e?`${e}-links-showAll`:null,o=!t8.value.has(r),a=t8.value.has(i),s=(t.length<=8||a?t:t.slice(0,8)).map(((e,t)=>w3(Hre,{link:e},t)));return w3("div",{className:"rU8uOnpG","data-testid":"test-result-meta-links",children:w3("div",{className:"PZxhaJkM",children:[w3(I6,{isOpened:o,setIsOpen:()=>{null!==r&&o8(r)},counter:t.length,title:n("links")}),o&&w3(ko,{children:[w3("div",{className:"WTRPAslw",children:s}),t.length>8&&w3(Qc,{style:"ghost",size:"s",text:n(a?"showLess":"showMore"),onClick:()=>{null!==i&&o8(i)}})]})]})})};const Ure=({id:e,testResult:t})=>{const{t:n}=v4("ui"),{labels:r,groupedLabels:i}=t??{},o=null!==e?`${e}-labels`:null,a=null!==e?`${e}-labels-showAll`:null,s=!t8.value.has(o),l=i?Object.entries(i):[],c=t8.value.has(a),u=c?l:l.slice(0,8),d=Object.fromEntries(u);return w3("div",{className:"SvCoMxvo",children:[w3(I6,{isOpened:s,setIsOpen:()=>{null!==o&&o8(o)},counter:r?.length,title:n("labels")}),w3("div",{className:"gAGfGuP8",children:s&&w3(ko,{children:[w3(nne,{groupedLabels:d}),l.length>8&&w3(Qc,{style:"ghost",size:"s",text:n(c?"showLess":"showMore"),onClick:()=>{null!==a&&o8(a)}})]})})]})};const qre=({id:e,parameters:t})=>{const{t:n}=v4("ui"),r=null!==e?`${e}-parameters`:null,i=null!==e?`${e}-parameters-showAll`:null,o=!t8.value.has(r),a=t??[],s=a.length,l=t8.value.has(i),c=l?a:a.slice(0,8);return w3("div",{className:"DXuoyqyf",children:[w3(I6,{isOpened:o,setIsOpen:()=>{null!==r&&o8(r)},counter:t?.length,title:n("parameters")}),w3("div",{className:"uUacfxad",children:o&&w3(ko,{children:[w3(tne,{envInfo:c}),s>8&&w3(Qc,{style:"ghost",size:"s",text:n(l?"showLess":"showMore"),onClick:()=>{null!==i&&o8(i)}})]})})]})};const Wre=({pwTraces:e})=>{const[t,n]=la(!0);return w3("div",{className:"QfnFjFD6",children:[w3(I6,{isOpened:t,setIsOpen:n,counter:e?.length,title:"Playwright Trace"}),t&&w3("div",{className:"I6_o5RUi",children:e?.map(((e,t)=>w3(lee,{stepIndex:t+1,item:e},e.link.id)))})]})};const Vre=({isOpened:e,setIsOpen:t,title:n,icon:r,counter:i,actions:o,className:a})=>w3("div",{className:b3("XDKNsrBT",a),onClick:()=>t(!e),children:[w3(ff,{isOpened:e,icon:Wc.arrowsChevronDown}),w3("div",{className:"g_DYfW02",children:[w3(Vc,{id:r}),w3(Yc,{bold:!0,children:n}),w3(Ix,{count:i,size:"s"}),o?w3("div",{className:"NvWIcNCA",onClick:e=>e.stopPropagation(),children:o}):null]})]}),Gre=e=>"failed"===e||"broken"===e,Yre=e=>e.some((e=>"step"===e.type?Gre(e.item.status)||Yre(e.bodyItems):"error"===e.type&&Gre(e.status))),Xre=e=>Boolean(e.bodyItems.length||e.item.parameters?.length||(e=>{const{item:t,suppressInlineError:n}=e;return Boolean((t.message||t.trace)&&!t.hasSimilarErrorInSubSteps&&!n)})(e)),Zre=(e,t,n)=>{const r="failed"===t||"broken"===t||Yre(n);return Qre(e,r)},Kre=(e,t)=>{const n=[];return e.forEach((e=>{if("step"===e.type)return Xre(e)&&n.push({id:e.item.stepId,openedByDefault:Zre(t,e.item.status,e.bodyItems)}),void n.push(...Kre(e.bodyItems,t));"error"===e.type&&bee(e.error)&&n.push({id:e.id,openedByDefault:Qre(t,"failed"===e.status||"broken"===e.status)})})),n},Jre=()=>H()?.stepTreeExpansion??"expand_failed_only",Qre=(e,t)=>"expanded"===e||"collapsed"!==e&&t,eie=({title:e,status:t,stepIndex:n,isOpened:r,hasContent:i,onToggle:o,extra:a,subtreeToggle:s})=>w3("div",{"data-testid":"test-result-step-header",className:G9,onClick:i?o:void 0,children:[i?w3(ff,{isOpened:r,icon:Wc.arrowsChevronDown,iconSize:"xs","data-testid":"test-result-step-arrow-button"}):w3("div",{className:Q9}),w3(_x,{status:t}),w3(Xc,{size:"s",className:Y9,children:n}),w3(Yc,{"data-testid":"test-result-step-title",className:j9,children:e}),s,a]}),tie=({item:e,stepIndex:t})=>{const n=bee(e.error),r=Jre(),i=Qre(r,"failed"===e.status||"broken"===e.status),o=r8(e.id,i);return w3("div",{"data-testid":"test-result-step",className:$9,children:[w3(eie,{title:e.title,status:e.status,stepIndex:t,isOpened:o,hasContent:n,onToggle:()=>o8(e.id,i)}),o&&n&&w3("div",{"data-testid":"test-result-step-content",className:b3(V9,B9),children:w3(_te,{...e.error,status:e.status,showMessage:!1})})]})},nie=(e,t)=>{switch(e.type){case"step":return e.item.stepId??`${e.item.name}-${t}`;case"attachment":return e.link.id;case"error":return e.id;default:return`${t}`}},rie=({bodyItems:e})=>w3(ko,{children:e.map(((e,t)=>{switch(e.type){case"step":return w3(pie,{item:e,stepIndex:t+1},nie(e,t));case"attachment":return w3(lee,{item:e,stepIndex:t+1},nie(e,t));case"error":return w3(tie,{item:e,stepIndex:t+1},nie(e,t));default:return null}}))}),{lineGeneralCheckCircle:iie,lineGeneralHelpCircle:oie,lineGeneralMinusCircle:aie,lineGeneralXCircle:sie,lineGeneralInfoCircle:lie}=Wc,cie={failed:sie,broken:lie,passed:iie,skipped:aie,unknown:oie},uie=e=>{const{item:t}=e,n=y(t?.duration),i=t.steps?.length,o=t.steps?.filter((e=>"attachment"===e.type))?.length,a=(e=>{if("step"!==e.type)return;const t={},n=e=>{"step"===e.type&&("passed"!==e.status&&(t[e.status]=(t[e.status]||0)+1),e.steps?.forEach(n))};return e?.steps?.forEach(n),t})(t)||{};return w3("div",{className:v9,children:[w3((()=>w3("div",{className:f9,children:Object.entries(a).map((([e,t],n)=>w3("div",{className:_9,children:[w3(Vc,{size:"s",id:cie[e],className:b3(w9,r[`status-${e}`])}),t&&w3(Yc,{size:"s",children:t})]},n)))})),{}),Boolean(i)&&w3("div",{className:b9,children:[w3(Vc,{id:Wc.lineArrowsCornerDownRight,className:y9}),w3(Yc,{size:"s",children:i})]}),Boolean(o)&&w3("div",{className:b9,children:[w3(Vc,{id:Wc.lineFilesFileAttachment2,className:y9}),w3(Yc,{size:"s",children:o})]}),w3(Yc,{type:"ui",size:"s",className:x9,children:n})]})},die={"single-down":Wc.lineArrowsChevronDown,"single-up":Wc.lineArrowsChevronUp,"double-down":Wc.lineArrowsChevronDownDouble,"double-up":Wc.lineArrowsChevronUpDouble},fie=e=>{const{parameters:t}=e;return w3("div",{className:F9,children:w3(tne,{size:"s",envInfo:t,columns:1})})},hie=e=>{const{item:t,bodyItems:n,suppressInlineError:r}=e.item,i={message:t.message??t.error?.message,trace:t.trace??t.error?.trace,actual:t.error?.actual,expected:t.error?.expected},o=Boolean((i.message||i.trace||vee(i))&&!t.hasSimilarErrorInSubSteps&&!r);return w3("div",{"data-testid":"test-result-step-content",className:V9,children:[Boolean(t.parameters?.length)&&w3(fie,{parameters:t.parameters}),o&&w3(_te,{...i,status:t.status}),Boolean(n.length)&&w3(rie,{bodyItems:n})]})},pie=({item:e,stepIndex:t})=>{const{item:n,bodyItems:r,suppressInlineError:i}=e,o={message:n.message??n.error?.message,trace:n.trace??n.error?.trace,actual:n.error?.actual,expected:n.error?.expected},a=(Boolean((o.message||o.trace||vee(o))&&!n.hasSimilarErrorInSubSteps&&!i),Jre()),s=Xre(e),l=Zre(a,n.status,r),c=r8(n.stepId,l),u=Kre(r,a),d=u.length>0,f=d?[{id:n.stepId,openedByDefault:l,isRoot:!0},...u.map((e=>({...e,isRoot:!1})))]:[],[h,p]=la(null),g=!r8(n.stepId,l),m=Ji(n.stepId,l,f,r8),v=d&&f.every((e=>r8(e.id,e.openedByDefault))),b=d&&f.every((e=>e.isRoot)),y=die[eo({hasOnlyLeafResults:b,isSubtreeCollapsedAll:g,isSubtreeFirstLevelOnly:m})];return w3("div",{"data-testid":"test-result-step",className:$9,children:[w3(eie,{title:n.name,status:n.status,stepIndex:t,isOpened:c,hasContent:s,onToggle:()=>{p(null),o8(n.stepId,l)},subtreeToggle:d?w3(eu,{style:"ghost",size:"xs",icon:y,onClick:e=>{e.stopPropagation();const t=Qi({hasOnlyLeafResults:b,isSubtreeCollapsedAll:g,isSubtreeFirstLevelOnly:m,isSubtreeExpandedAll:v,lastSubtreeToggle:h});var n;n=t,f.forEach((e=>{const t="all"===n||"first"===n&&e.isRoot;a8(e.id,t,e.openedByDefault)})),"first"!==t&&p(t)},"data-testid":"test-result-step-subtree-toggle",className:Z9}):null,extra:w3(uie,{item:n})}),s&&c&&w3(hie,{item:e})]})},gie=({setup:e,id:t})=>{const n=`${t}-setup`,r=Boolean(!t8.value.has(n)),[i,o]=la(r),{t:a}=v4("execution");return w3("div",{className:K9,children:[w3(Vre,{icon:Wc.lineTimeClockStopwatch,isOpened:i,setIsOpen:()=>{o(!i),o8(n)},counter:e?.length,title:a("setup")}),i&&w3("div",{className:J9,children:e?.map(((e,t)=>w3("div",{className:X9,children:w3(pie,{item:wee(e),stepIndex:t+1})},e.id)))})]})},mie={"single-down":Wc.lineArrowsChevronDown,"single-up":Wc.lineArrowsChevronUp,"double-down":Wc.lineArrowsChevronDownDouble,"double-up":Wc.lineArrowsChevronUpDouble},vie=({bodyItems:e,id:t})=>{const n="string"==typeof t?`${t}-steps`:null,r=Jre(),i=Qre(r,Yre(e)),o=null!==n?r8(n,i):i,a=Kre(e,r),s=null!==n&&e.length>0,l=s?[{id:n,openedByDefault:i,isRoot:!0},...a.map((e=>({...e,isRoot:!1})))]:[],[c,u]=la(null),d=!(null!==n&&r8(n,i)),f=null!==n&&Ji(n,i,l,r8),h=s&&l.every((e=>r8(e.id,e.openedByDefault))),p=s&&l.every((e=>e.isRoot)),g=mie[eo({hasOnlyLeafResults:p,isSubtreeCollapsedAll:d,isSubtreeFirstLevelOnly:f})],{t:m}=v4("execution");return w3("div",{className:K9,children:[w3(Vre,{icon:Wc.lineHelpersPlayCircle,isOpened:o,setIsOpen:()=>{null!==n&&(u(null),o8(n,i))},counter:e.length,title:m("body"),actions:s?w3(eu,{style:"ghost",size:"xs",icon:g,onClick:e=>{e.stopPropagation();const t=Qi({hasOnlyLeafResults:p,isSubtreeCollapsedAll:d,isSubtreeFirstLevelOnly:f,isSubtreeExpandedAll:h,lastSubtreeToggle:c});var n;n=t,l.forEach((e=>{const t="all"===n||"first"===n&&e.isRoot;a8(e.id,t,e.openedByDefault)})),"first"!==t&&u(t)},"data-testid":"test-result-steps-subtree-toggle"}):null}),o&&w3("div",{"data-testid":"test-result-steps-root",className:J9,children:w3(rie,{bodyItems:e})})]})},bie=({teardown:e,id:t})=>{const n=`${t}-teardown`,r=!t8.value.has(n),[i,o]=la(r),{t:a}=v4("execution");return w3("div",{className:K9,children:[w3(Vre,{icon:Wc.lineHelpersFlag,isOpened:i,setIsOpen:()=>{o(!i),o8(n)},counter:e?.length,title:a("teardown")}),i&&w3("div",{className:J9,children:e?.map(((e,t)=>w3("div",{className:X9,children:w3(pie,{item:wee(e),stepIndex:t+1})},e.id)))})]})},yie=({testResult:e})=>{const{parameters:t,groupedLabels:n,links:r,descriptionHtml:i,setup:o,teardown:a,id:s}=e||{},l=s??f5.value,{t:c}=v4("ui"),u=xee(e,c("error")),d=!o?.length&&!u.length&&!a?.length,f=e?.attachments?.filter((e=>"application/vnd.allure.playwright-trace"===e.link.contentType));return w3(ko,{children:[Boolean(f?.length)&&w3(Wre,{pwTraces:f}),Boolean(t?.length)&&w3(qre,{id:l,parameters:t}),Boolean(n&&Object.keys(n||{})?.length)&&w3(Ure,{id:l,testResult:e}),Boolean(r?.length)&&w3($re,{id:l,links:r}),Boolean(i)&&w3(Bre,{id:l,descriptionHtml:i}),w3("div",{className:"ngxaEBWQ",children:[d&&w3(zre,{}),Boolean(o?.length)&&w3(gie,{id:l,setup:o}),Boolean(u.length)&&w3(vie,{id:l,bodyItems:u}),Boolean(a?.length)&&w3(bie,{id:l,teardown:a})]})]})};const _ie=({testResultItem:e,attempt:t,totalAttempts:n})=>{const{id:r,status:i,error:o,stop:a,duration:s}=e,[l,c]=la(!1),{t:u}=v4("ui"),d=u("attempt",{attempt:t,total:n}),f=a?ure(a):void 0,h=f?`${d} – ${f}`:d,p="number"==typeof s?y(s):void 0,g=Boolean(o?.trace||o?.message);return w3("div",{"data-testid":"test-result-retries-item",children:[w3("div",{className:"qheQzcdJ",onClick:()=>c(!l),children:[g&&w3(ff,{"data-testid":"test-result-retries-item-arrow-button",isOpened:l,icon:Wc.lineArrowsChevronDown}),w3("div",{className:"enXpP7zD",children:[w3(_x,{status:i,className:"pOxQO3ZQ"}),w3(Yc,{"data-testid":"test-result-retries-item-text",className:"QabAX8v8",children:h}),w3("div",{className:"Jwmue9vu",children:[Boolean(p)&&w3(Yc,{type:"ui",size:"s",className:"B5X8kwrh",children:p}),w3(eu,{icon:Wc.lineGeneralLinkExternal,style:"ghost",size:"s",className:"ZZHyNee5","data-testid":"test-result-retries-item-open-button",onClick:()=>$4({testResultId:r})})]})]})]}),l&&g&&w3("div",{className:"uKSvG6dg",children:w3(_te,{...o??{},status:i})})]})},wie=({testResult:e})=>{const t=e?.retries??[],{t:n}=v4("empty");return w3("div",{className:"VUnJCesX",children:t.length?t.map(((e,n)=>w3(_ie,{testResultItem:e,attempt:t.length-n,totalAttempts:t.length+1},n))):w3(ew,{description:n("no-retries-results")})})};const xie=Zr((()=>({overview:yie,history:Ire,attachments:Jne,retries:wie,environments:Nre}[d5.value]))),kie=({testResult:e})=>w3(xie.value,{testResult:e}),Cie=({testResult:e})=>w3(xre,{initialTab:"overview",children:[w3(Sre,{testResult:e}),w3(kie,{testResult:e})]});var Sie=({testResult:e})=>{const t=z4.value?"OudN9AzA":"";return ua((()=>{const t=e?.testCase?.id;t&&(async e=>{if(!S4.peek().data[e]){S4.value={...S4.peek(),loading:!0,error:void 0};try{const t=await F(`data/test-env-groups/${e}.json`);S4.value={data:{...S4.peek().data,[e]:t},error:void 0,loading:!1}}catch(e){S4.value={...S4.peek(),error:j(e),loading:!1}}}})(t)}),[e]),w3(ko,{children:w3("div",{className:b3("fMON1QNO",t),children:e?w3(Cie,{testResult:e}):w3(Are,{})})})};const Tie=()=>{const e=X4.value.matches||Boolean(Y4.value.params.testResultId),t=X4.value.matches?X4.value.params.testResultId:Y4.value.params.testResultId;return w3("div",e?{className:_4,"data-testid":"base-layout",children:w3(Ad,{source:h5,renderLoader:()=>w3(Md,{}),transformData:e=>e[t],renderData:e=>w3(ko,{children:w3("div",{className:w4,children:w3(Sie,{testResult:e})},e?.id)})})}:{className:_4,"data-testid":"base-layout",children:w3("div",{className:w4,children:w3(Ad,{source:Q6,renderLoader:()=>w3(Md,{}),renderData:()=>w3(Kne,{})})})})};var Aie="undefined"!=typeof window?window:null,Mie=null===Aie,Lie=Mie?void 0:Aie.document,Eie="addEventListener",Nie="removeEventListener",Oie="getBoundingClientRect",Rie="_a",Die="_b",Pie="_c",Iie="horizontal",zie=function(){return!1},Bie=Mie?"calc":["","-webkit-","-moz-","-o-"].filter((function(e){var t=Lie.createElement("div");return t.style.cssText="width:"+e+"calc(9px)",!!t.style.length})).shift()+"calc",jie=function(e){return"string"==typeof e||e instanceof String},Fie=function(e){if(jie(e)){var t=Lie.querySelector(e);if(!t)throw new Error("Selector "+e+" did not match a DOM element");return t}return e},Hie=function(e,t,n){var r=e[t];return void 0!==r?r:n},$ie=function(e,t,n,r){if(t){if("end"===r)return 0;if("center"===r)return e/2}else if(n){if("start"===r)return 0;if("center"===r)return e/2}return e},Uie=function(e,t){var n=Lie.createElement("div");return n.className="gutter gutter-"+t,n},qie=function(e,t,n){var r={};return jie(t)?r[e]=t:r[e]=Bie+"("+t+"% - "+n+"px)",r},Wie=function(e,t){var n;return(n={})[e]=t+"px",n},Vie=function(e,t){if(void 0===t&&(t={}),Mie)return{};var n,r,i,o,a,s,l=e;Array.from&&(l=Array.from(l));var c=Fie(l[0]).parentNode,u=getComputedStyle?getComputedStyle(c):null,d=u?u.flexDirection:null,f=Hie(t,"sizes")||l.map((function(){return 100/l.length})),h=Hie(t,"minSize",100),p=Array.isArray(h)?h:l.map((function(){return h})),g=Hie(t,"maxSize",1/0),m=Array.isArray(g)?g:l.map((function(){return g})),v=Hie(t,"expandToMin",!1),b=Hie(t,"gutterSize",10),y=Hie(t,"gutterAlign","center"),_=Hie(t,"snapOffset",30),w=Array.isArray(_)?_:l.map((function(){return _})),x=Hie(t,"dragInterval",1),k=Hie(t,"direction",Iie),C=Hie(t,"cursor",k===Iie?"col-resize":"row-resize"),S=Hie(t,"gutter",Uie),T=Hie(t,"elementStyle",qie),A=Hie(t,"gutterStyle",Wie);function M(e,t,r,i){var o=T(n,t,r,i);Object.keys(o).forEach((function(t){e.style[t]=o[t]}))}function L(){return s.map((function(e){return e.size}))}function E(e){return"touches"in e?e.touches[0][r]:e[r]}function N(e){var t=s[this.a],n=s[this.b],r=t.size+n.size;t.size=e/this.size*r,n.size=r-e/this.size*r,M(t.element,t.size,this[Die],t.i),M(n.element,n.size,this[Pie],n.i)}function O(e){var n,r=s[this.a],i=s[this.b];this.dragging&&(n=E(e)-this.start+(this[Die]-this.dragOffset),x>1&&(n=Math.round(n/x)*x),n<=r.minSize+r.snapOffset+this[Die]?n=r.minSize+this[Die]:n>=this.size-(i.minSize+i.snapOffset+this[Pie])&&(n=this.size-(i.minSize+this[Pie])),n>=r.maxSize-r.snapOffset+this[Die]?n=r.maxSize+this[Die]:n<=this.size-(i.maxSize-i.snapOffset+this[Pie])&&(n=this.size-(i.maxSize+this[Pie])),N.call(this,n),Hie(t,"onDrag",zie)(L()))}function R(){var e=s[this.a].element,t=s[this.b].element,r=e[Oie](),a=t[Oie]();this.size=r[n]+a[n]+this[Die]+this[Pie],this.start=r[i],this.end=r[o]}function D(e){var t=function(e){if(!getComputedStyle)return null;var t=getComputedStyle(e);if(!t)return null;var n=e[a];return 0===n?null:n-=k===Iie?parseFloat(t.paddingLeft)+parseFloat(t.paddingRight):parseFloat(t.paddingTop)+parseFloat(t.paddingBottom)}(c);if(null===t)return e;if(p.reduce((function(e,t){return e+t}),0)>t)return e;var n=0,r=[],i=e.map((function(i,o){var a=t*i/100,s=$ie(b,0===o,o===e.length-1,y),l=p[o]+s;return a<l?(n+=l-a,r.push(0),l):(r.push(a-l),a)}));return 0===n?e:i.map((function(e,i){var o=e;if(n>0&&r[i]-n>0){var a=Math.min(n,r[i]-n);n-=a,o=e-a}return o/t*100}))}function P(){var e=this,n=s[e.a].element,r=s[e.b].element;e.dragging&&Hie(t,"onDragEnd",zie)(L()),e.dragging=!1,Aie[Nie]("mouseup",e.stop),Aie[Nie]("touchend",e.stop),Aie[Nie]("touchcancel",e.stop),Aie[Nie]("mousemove",e.move),Aie[Nie]("touchmove",e.move),e.stop=null,e.move=null,n[Nie]("selectstart",zie),n[Nie]("dragstart",zie),r[Nie]("selectstart",zie),r[Nie]("dragstart",zie),n.style.userSelect="",n.style.webkitUserSelect="",n.style.MozUserSelect="",n.style.pointerEvents="",r.style.userSelect="",r.style.webkitUserSelect="",r.style.MozUserSelect="",r.style.pointerEvents="",e.gutter.style.cursor="",e.parent.style.cursor="",Lie.body.style.cursor=""}function I(e){if(!("button"in e)||0===e.button){var n=this,r=s[n.a].element,i=s[n.b].element;n.dragging||Hie(t,"onDragStart",zie)(L()),e.preventDefault(),n.dragging=!0,n.move=O.bind(n),n.stop=P.bind(n),Aie[Eie]("mouseup",n.stop),Aie[Eie]("touchend",n.stop),Aie[Eie]("touchcancel",n.stop),Aie[Eie]("mousemove",n.move),Aie[Eie]("touchmove",n.move),r[Eie]("selectstart",zie),r[Eie]("dragstart",zie),i[Eie]("selectstart",zie),i[Eie]("dragstart",zie),r.style.userSelect="none",r.style.webkitUserSelect="none",r.style.MozUserSelect="none",r.style.pointerEvents="none",i.style.userSelect="none",i.style.webkitUserSelect="none",i.style.MozUserSelect="none",i.style.pointerEvents="none",n.gutter.style.cursor=C,n.parent.style.cursor=C,Lie.body.style.cursor=C,R.call(n),n.dragOffset=E(e)-n.end}}k===Iie?(n="width",r="clientX",i="left",o="right",a="clientWidth"):"vertical"===k&&(n="height",r="clientY",i="top",o="bottom",a="clientHeight"),f=D(f);var z=[];function B(e){var t=e.i===z.length,n=t?z[e.i-1]:z[e.i];R.call(n);var r=t?n.size-e.minSize-n[Pie]:e.minSize+n[Die];N.call(n,r)}return s=l.map((function(e,t){var r,i={element:Fie(e),size:f[t],minSize:p[t],maxSize:m[t],snapOffset:w[t],i:t};if(t>0&&((r={a:t-1,b:t,dragging:!1,direction:k,parent:c})[Die]=$ie(b,t-1==0,!1,y),r[Pie]=$ie(b,!1,t===l.length-1,y),"row-reverse"===d||"column-reverse"===d)){var o=r.a;r.a=r.b,r.b=o}if(t>0){var a=S(t,k,i.element);!function(e,t,r){var i=A(n,t,r);Object.keys(i).forEach((function(t){e.style[t]=i[t]}))}(a,b,t),r[Rie]=I.bind(r),a[Eie]("mousedown",r[Rie]),a[Eie]("touchstart",r[Rie]),c.insertBefore(a,i.element),r.gutter=a}return M(i.element,i.size,$ie(b,0===t,t===l.length-1,y),t),t>0&&z.push(r),i})),s.forEach((function(e){var t=e.element[Oie]()[n];t<e.minSize&&(v?B(e):e.minSize=t)})),{setSizes:function(e){var t=D(e);t.forEach((function(e,n){if(n>0){var r=z[n-1],i=s[r.a],o=s[r.b];i.size=t[n-1],o.size=e,M(i.element,i.size,r[Die],i.i),M(o.element,o.size,r[Pie],o.i)}}))},getSizes:L,collapse:function(e){B(s[e])},destroy:function(e,t){z.forEach((function(r){if(!0!==t?r.parent.removeChild(r.gutter):(r.gutter[Nie]("mousedown",r[Rie]),r.gutter[Nie]("touchstart",r[Rie])),!0!==e){var i=T(n,r.a.size,r[Die]);Object.keys(i).forEach((function(e){s[r.a].element.style[e]="",s[r.b].element.style[e]=""}))}}))},parent:c,pairs:z}},Gie="OyL7dy7N",Yie="t22uAI7s";var Xie=({left:e,right:t})=>{const n=fa(null),r=ha((()=>e),[e]),i=ha((()=>t),[t]);return ua((()=>{const e=JSON.parse(localStorage.getItem("sideBySidePosition")||"[50, 50]"),t=Vie([`.${Gie}`,`.${Yie}`],{sizes:e,gutterSize:4,gutter:()=>{const e=document.createElement("div");return e.className="sgMxjSNq",e.addEventListener("dblclick",(()=>{const e=t.getSizes();if("[50,50]"===JSON.stringify(e))return t.setSizes([30,70]),void localStorage.setItem("sideBySidePosition",JSON.stringify([30,70]));t.setSizes([50,50]),localStorage.setItem("sideBySidePosition",JSON.stringify([50,50]))})),e},onDragEnd:()=>{const e=t.getSizes();localStorage.setItem("sideBySidePosition",JSON.stringify(e))}});return()=>{t.destroy()}}),[]),w3("div",{class:"Jryczg8r",ref:n,children:[w3("div",{class:Gie,children:r}),w3("div",{class:Yie,children:i})]})};const Zie=()=>w3("div",{className:"J3luvrjd",ref:fa(null),children:w3(Kne,{})}),Kie=()=>w3("div",{className:"BpSc4eib",children:w3(Md,{})}),Jie=Zr((()=>X4.value.matches||Boolean(Y4.value.params.testResultId))),Qie=()=>{const e=f5.value,[t,n]=la(null),{t:r}=v4("controls"),i=w3(Ad,{source:Q6,renderLoader:()=>w3(Md,{}),renderData:()=>w3(Zie,{})});return ua((()=>{t||n(i)}),[t]),w3("div",{className:"uWkVNOG3","data-testId":"split-layout",children:w3(Xie,{left:t,right:w3((()=>Jie.value?w3(Ad,{source:h5,renderLoader:()=>w3(Kie,{}),transformData:t=>{if(e in t)return t[e]},renderData:e=>e?w3(Sie,{testResult:e}):w3(Kie,{})}):w3("div",{className:"FJ3CL24V",children:w3(Yc,{children:r("noSelectedTR")})})),{})})})},eoe=()=>z4.value?w3(Qie,{}):w3(Tie,{}),toe=Wr({loading:!0,error:void 0,data:void 0});var noe="AZZDr1a8",roe="YjGJbbhT",ioe="Aop2iD35",ooe="ngWCd_e9";const aoe=e=>[...new Set(e.map((e=>e.host)))],soe=(e,t)=>e.filter((e=>e.host===t)),loe=Zr((()=>{const e=toe.value.data??[];if(!e.length)return[];if(A4.value){const t=e.filter((e=>((e,t)=>void 0!==e.environmentName?e.environment===t:e.environment===M4(t))(e,A4.value)));return aoe(t).map((e=>({data:soe(t,e),host:e})))}return aoe(e).map((t=>({data:soe(e,t),host:t})))})),coe=()=>{const{t:e}=v4("timeline");ua((()=>{(async()=>{toe.value={...toe.value,loading:!0,error:void 0};try{const e=await F("widgets/timeline.json",{bustCache:!0});toe.value={data:e,error:void 0,loading:!1}}catch(e){toe.value={data:void 0,error:e.message,loading:!1}}})()}),[]);const t=ha((()=>({empty:e("empty"),selected:t=>e("selected",{count:t.count,percentage:t.percentage,minDuration:t.minDuration,maxDuration:t.maxDuration})})),[e]);return w3(Ad,{source:toe,renderLoader:()=>w3(Md,{}),renderData:()=>0===loe.value.length?w3("div",{className:roe,children:w3(WC,{kind:"swap",className:ioe,children:w3(YC,{className:ooe,children:w3(Fx,{children:w3("div",{className:noe,children:e("empty")})})})})}):w3("div",{className:roe,children:w3(WC,{kind:"swap",className:ioe,children:loe.value.map((({data:n,host:r})=>w3(YC,{className:ooe,children:w3(Fx,{title:e("host",{host:r}),children:[n.length>0&&w3(g3,{data:n,dataId:r,width:100,translations:t}),0===n.length&&w3("div",{className:noe,children:e("empty_host",{host:r})})]})},r)))})})})};const uoe=()=>{const e={report:w3(eoe,{}),charts:w3(E5,{}),timeline:w3(coe,{})};return w3("div",{className:"X1bxR0kX",children:e[t5.value]||e.report})},doe=(e=>{const t=window?.navigator?.userAgentData?.platform??window?.navigator?.platform;return!!t&&e.test(t)})(/^Mac/i);var foe="s5e3ntNr",hoe="q6NnC3sf",poe="hxjIgDys",goe="lh7Hl9Np",moe="qK8S7ypD",voe="P1qG0zXS",boe="LjbC5hy8";const yoe=()=>w3("div",{className:b3(goe,P4.value?moe:""),"data-testid":"loader",children:[w3(Vc,{id:Wc.reportLogo,size:"m"}),w3(Gc,{})]}),_oe=Zr((()=>X4.value.matches||Boolean(Y4.value.params.testResultId))),woe=document.getElementById("app");document.addEventListener("DOMContentLoaded",(()=>{doe&&document.documentElement.setAttribute("data-os","mac")})),(()=>{if("undefined"==typeof window)return;const e=new URL(ri());if(!e.searchParams.has("filter"))return;const t=e.searchParams.getAll("filter")??[],n=t.includes("retry"),r=t.includes("flaky"),i="true"===e.searchParams.get("retry"),o="true"===e.searchParams.get("flaky"),a=e.searchParams.get("transition")??void 0,s=t.find((e=>e6(e)));n||i?e.searchParams.set("retry","true"):e.searchParams.delete("retry"),r||o?e.searchParams.set("flaky","true"):e.searchParams.delete("flaky"),a||s?e.searchParams.set("transition",s??""):e.searchParams.delete("transition"),e.searchParams.delete("filter"),window.history.replaceState(null,"",e.toString()),window.dispatchEvent(new Event("replaceState"))})(),Wo(w3((()=>{const e=c[`layout-${"default"!==t5.value?t5.value:D4.value}`],[t,n]=la(!1);return ua((()=>{(async()=>{const e=[I,S3,A5,L4,Bne,uee,qne,Z7];globalThis&&e.unshift(g4),await m4,await Promise.all(e.map((e=>e(A4.value))));const t=C4.value.data.map((({id:e})=>e)).filter((e=>Boolean(e)));A4.value?(await s8([A4.value]),await T3(t)):(await s8(t),await T3(t)),n(!0)})()}),[]),$a((()=>{const e=A4.value;t&&e&&(s8([e]),T3([e]))})),$a((()=>{const e=f5.value;_oe.value&&e&&(g5(e),(async e=>{try{const t=await F(e?`widgets/${e}/nav.json`:"widgets/nav.json",{bustCache:!0});p5.value={data:t,error:void 0,loading:!1}}catch(e){p5.value={...p5.peek(),error:e.message,loading:!1}}})(A4.value))})),ua((()=>{(async()=>{try{const e=await F("widgets/tree-filters.json",{bustCache:!0});a6.value=e.tags,s6.value=e.categories??[]}catch(e){if(e instanceof B&&404===e.response.status)return a6.value=[],void(s6.value=[]);console.error("Failed to fetch tree filters data:\n\n",e)}})()}),[]),w3(ko,{children:[!t&&w3(yoe,{}),t&&w3("div",{className:voe,children:[w3(w5,{className:e}),w3(uoe,{}),w3(x4,{className:e}),w3(S5,{})]})]})}),{}),woe)}()}();