@allurereport/web-awesome 3.6.0 → 3.6.2

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 (62) hide show
  1. package/dist/multi/app-1c928f385beb78e2c2e8.js +2 -0
  2. package/dist/multi/{app-15cc636581486c011867.js.LICENSE.txt → app-1c928f385beb78e2c2e8.js.LICENSE.txt} +1 -1
  3. package/dist/multi/manifest.json +23 -23
  4. package/dist/multi/{styles-fd12e72f7e024e668bb4.css → styles-3515d3bdd45651cd4e66.css} +8 -8
  5. package/dist/single/app-16786ab64ac3e094685f.js +2 -0
  6. package/dist/single/{app-bbd6e33664f6d94cfaac.js.LICENSE.txt → app-16786ab64ac3e094685f.js.LICENSE.txt} +1 -1
  7. package/dist/single/manifest.json +1 -1
  8. package/package.json +6 -6
  9. package/src/components/Header/styles.scss +2 -1
  10. package/src/components/SectionSwitcher/styles.scss +1 -1
  11. package/src/components/SideBySide/index.tsx +1 -1
  12. package/src/components/SideBySide/styles.scss +6 -5
  13. package/src/components/TestResult/TrDropdown/index.tsx +7 -1
  14. package/src/components/TestResult/TrDropdown/styles.scss +7 -0
  15. package/src/components/TestResult/TrHeader/styles.scss +3 -0
  16. package/src/components/TestResult/TrRetriesView/TrRetriesItem.tsx +4 -3
  17. package/src/components/TestResult/TrRetriesView/index.tsx +2 -2
  18. package/src/components/TestResult/TrSetup/index.tsx +6 -16
  19. package/src/components/TestResult/TrSteps/TrAttachment.tsx +3 -3
  20. package/src/components/TestResult/TrSteps/TrErrorStep.tsx +9 -3
  21. package/src/components/TestResult/TrSteps/TrStep.tsx +113 -8
  22. package/src/components/TestResult/TrSteps/TrStepHeader.tsx +3 -0
  23. package/src/components/TestResult/TrSteps/index.tsx +90 -5
  24. package/src/components/TestResult/TrSteps/stepTreeExpansion.ts +101 -0
  25. package/src/components/TestResult/TrSteps/styles.scss +12 -0
  26. package/src/components/TestResult/TrTeardown/index.tsx +6 -16
  27. package/src/components/TestResult/bodyItems.ts +26 -1
  28. package/src/components/Tree/index.tsx +7 -2
  29. package/src/components/Tree/styles.scss +1 -1
  30. package/src/index.tsx +13 -2
  31. package/src/stores/env.ts +6 -3
  32. package/src/stores/envInfo.ts +2 -2
  33. package/src/stores/sections.ts +3 -1
  34. package/src/stores/stats.ts +3 -3
  35. package/src/stores/tree.ts +40 -8
  36. package/test/components/TestResult/bodyItems.test.ts +25 -2
  37. package/test/components/TestResult/stepTreeExpansion.test.ts +179 -0
  38. package/types.d.ts +2 -0
  39. package/webpack.config.js +15 -3
  40. package/dist/multi/app-15cc636581486c011867.js +0 -2
  41. package/dist/single/app-bbd6e33664f6d94cfaac.js +0 -2
  42. /package/dist/multi/{173.app-15cc636581486c011867.js → 173.app-1c928f385beb78e2c2e8.js} +0 -0
  43. /package/dist/multi/{174.app-15cc636581486c011867.js → 174.app-1c928f385beb78e2c2e8.js} +0 -0
  44. /package/dist/multi/{252.app-15cc636581486c011867.js → 252.app-1c928f385beb78e2c2e8.js} +0 -0
  45. /package/dist/multi/{282.app-15cc636581486c011867.js → 282.app-1c928f385beb78e2c2e8.js} +0 -0
  46. /package/dist/multi/{29.app-15cc636581486c011867.js → 29.app-1c928f385beb78e2c2e8.js} +0 -0
  47. /package/dist/multi/{310.app-15cc636581486c011867.js → 310.app-1c928f385beb78e2c2e8.js} +0 -0
  48. /package/dist/multi/{416.app-15cc636581486c011867.js → 416.app-1c928f385beb78e2c2e8.js} +0 -0
  49. /package/dist/multi/{507.app-15cc636581486c011867.js → 507.app-1c928f385beb78e2c2e8.js} +0 -0
  50. /package/dist/multi/{527.app-15cc636581486c011867.js → 527.app-1c928f385beb78e2c2e8.js} +0 -0
  51. /package/dist/multi/{600.app-15cc636581486c011867.js → 600.app-1c928f385beb78e2c2e8.js} +0 -0
  52. /package/dist/multi/{605.app-15cc636581486c011867.js → 605.app-1c928f385beb78e2c2e8.js} +0 -0
  53. /package/dist/multi/{638.app-15cc636581486c011867.js → 638.app-1c928f385beb78e2c2e8.js} +0 -0
  54. /package/dist/multi/{672.app-15cc636581486c011867.js → 672.app-1c928f385beb78e2c2e8.js} +0 -0
  55. /package/dist/multi/{686.app-15cc636581486c011867.js → 686.app-1c928f385beb78e2c2e8.js} +0 -0
  56. /package/dist/multi/{725.app-15cc636581486c011867.js → 725.app-1c928f385beb78e2c2e8.js} +0 -0
  57. /package/dist/multi/{741.app-15cc636581486c011867.js → 741.app-1c928f385beb78e2c2e8.js} +0 -0
  58. /package/dist/multi/{749.app-15cc636581486c011867.js → 749.app-1c928f385beb78e2c2e8.js} +0 -0
  59. /package/dist/multi/{755.app-15cc636581486c011867.js → 755.app-1c928f385beb78e2c2e8.js} +0 -0
  60. /package/dist/multi/{894.app-15cc636581486c011867.js → 894.app-1c928f385beb78e2c2e8.js} +0 -0
  61. /package/dist/multi/{943.app-15cc636581486c011867.js → 943.app-1c928f385beb78e2c2e8.js} +0 -0
  62. /package/dist/multi/{980.app-15cc636581486c011867.js → 980.app-1c928f385beb78e2c2e8.js} +0 -0
@@ -1,2 +0,0 @@
1
- /*! For license information please see app-15cc636581486c011867.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"15cc636581486c011867"},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 z8},"status-failed":function(){return j8},"status-passed":function(){return B8},"status-skipped":function(){return F8},"status-unknown":function(){return H8},"test-result-status":function(){return $8},"test-result-status-icon":function(){return U8},"test-result-status-text":function(){return q8}});var t={};a.r(t),a.d(t,{"message-color-broken":function(){return Y8},"message-color-failed":function(){return X8},"message-color-passed":function(){return Z8},"message-color-skipped":function(){return K8},"message-color-unknown":function(){return J8},"message-status-broken":function(){return Q8},"message-status-failed":function(){return e7},"message-status-passed":function(){return t7},"message-status-skipped":function(){return n7},"message-status-unknown":function(){return r7},"tree-content":function(){return i7},"tree-item-message":function(){return o7},"tree-item-message-actions":function(){return a7},"tree-item-message-arrow":function(){return s7},"tree-item-message-body":function(){return l7},"tree-item-message-card":function(){return c7},"tree-item-message-card-expanded":function(){return u7},"tree-item-message-container":function(){return d7},"tree-item-message-expand":function(){return f7},"tree-item-message-header":function(){return h7},"tree-item-message-header-expanded":function(){return p7},"tree-item-message-stats":function(){return g7},"tree-item-message-title":function(){return m7},"tree-item-subtree-toggle":function(){return v7}});var n={};a.r(n),a.d(n,{"severity-blocker":function(){return _7},"severity-critical":function(){return w7},"severity-minor":function(){return x7},"severity-normal":function(){return k7},"severity-trivial":function(){return C7},"test-result-severity":function(){return S7},"test-result-severity-text":function(){return T7}});var r={};a.r(r),a.d(r,{"attachment-background":function(){return Z7},empty:function(){return K7},"failed-steps":function(){return J7},"html-attachment-preview":function(){return Q7},"item-button":function(){return e9},"item-button-syntax-off":function(){return t9},"item-buttons":function(){return n9},"item-info":function(){return r9},"item-info-step":function(){return i9},"item-info-step-icon":function(){return o9},"item-status":function(){return a9},"item-status-icon":function(){return s9},"item-time":function(){return l9},"status-broken":function(){return c9},"status-failed":function(){return u9},"status-passed":function(){return d9},"status-skipped":function(){return f9},"status-unknown":function(){return h9},"test-result-attachment-arrow":function(){return p9},"test-result-attachment-arrow-opened":function(){return g9},"test-result-attachment-content":function(){return m9},"test-result-attachment-content-wrapper":function(){return v9},"test-result-attachment-error":function(){return b9},"test-result-attachment-header":function(){return y9},"test-result-attachment-icon":function(){return _9},"test-result-attachment-image":function(){return w9},"test-result-attachment-missed":function(){return x9},"test-result-attachment-text":function(){return k9},"test-result-error-step-content":function(){return C9},"test-result-header-text":function(){return S9},"test-result-parameters":function(){return T9},"test-result-spinner":function(){return A9},"test-result-step":function(){return M9},"test-result-step-button":function(){return L9},"test-result-step-chevron":function(){return E9},"test-result-step-chevron-open":function(){return N9},"test-result-step-content":function(){return O9},"test-result-step-header":function(){return R9},"test-result-step-number":function(){return D9},"test-result-step-root":function(){return P9},"test-result-steps":function(){return I9},"test-result-steps-root":function(){return z9},"test-result-strut":function(){return j9},"test-result-visibility-hidden":function(){return B9},"wrong-attachment-sign":function(){return F9}});var i={};a.r(i),a.d(i,{diff:function(){return See},"diff-buttons":function(){return Tee},"diff-buttons-title":function(){return Aee},"diff-controls":function(){return Mee},"diff-green":function(){return Lee},"diff-grey":function(){return Eee},"diff-red":function(){return Nee},"diff-screen":function(){return Oee},"diff-view":function(){return Ree},expected:function(){return Dee},side:function(){return Pee},"side-by-side":function(){return Iee},"side-title":function(){return zee},"test-result-error":function(){return jee},"test-result-error-header":function(){return Bee},"test-result-error-message":function(){return Fee},"test-result-error-text":function(){return Hee},"test-result-error-trace":function(){return $ee},"tr-color-broken":function(){return Uee},"tr-color-failed":function(){return qee},"tr-color-passed":function(){return Wee},"tr-color-skipped":function(){return Vee},"tr-color-unknown":function(){return Gee},"tr-status-broken":function(){return Yee},"tr-status-failed":function(){return Xee},"tr-status-passed":function(){return Zee},"tr-status-skipped":function(){return Kee},"tr-status-unknown":function(){return Jee},unified:function(){return Qee}});var o={};a.r(o),a.d(o,{"metadata-color-badge":function(){return fte},"metadata-icon":function(){return hte},"metadata-item-title":function(){return pte},"metadata-item-value":function(){return gte},"metadata-test-type":function(){return mte},"metadata-tooltip":function(){return vte},"metadata-tooltip-value":function(){return bte},"metadata-with-icon":function(){return yte},"report-metadata":function(){return _te},"report-metadata-all-tests":function(){return wte},"report-metadata-keyvalue":function(){return xte},"report-metadata-keyvalue-title":function(){return kte},"report-metadata-keyvalue-value":function(){return Cte},"report-metadata-keyvalue-wrapper":function(){return Ste},"report-metadata-list":function(){return Tte},"report-metadata-s":function(){return Ate},"report-metadata-separator":function(){return Mte},"report-metadata-status":function(){return Lte},"report-metadata-summary":function(){return Ete},"report-metadata-values":function(){return Nte},"report-metadata-wrapper":function(){return Ote},"status-broken":function(){return Rte},"status-failed":function(){return Dte},"status-passed":function(){return Pte},"status-skipped":function(){return Ite},"status-unknown":function(){return zte}});var s={};a.r(s),a.d(s,{"metadata-color-badge":function(){return Vte},"metadata-icon":function(){return Gte},"metadata-item-title":function(){return Yte},"metadata-item-value":function(){return Xte},"metadata-test-type":function(){return Zte},"metadata-with-icon":function(){return Kte},"report-metadata":function(){return Jte},"report-metadata-all-tests":function(){return Qte},"report-metadata-keyvalue":function(){return ene},"report-metadata-keyvalue-title":function(){return tne},"report-metadata-keyvalue-value":function(){return nne},"report-metadata-list":function(){return rne},"report-metadata-separator":function(){return ine},"report-metadata-status":function(){return one},"report-metadata-summary":function(){return ane},"report-metadata-wrapper":function(){return sne},"status-broken":function(){return lne},"status-failed":function(){return cne},"status-passed":function(){return une},"status-skipped":function(){return dne},"status-unknown":function(){return fne}});var l={};a.r(l),a.d(l,{"status-broken":function(){return Yne},"status-failed":function(){return Xne},"status-passed":function(){return Zne},"status-skipped":function(){return Kne},"status-unknown":function(){return Jne},"test-result-prev-status":function(){return Qne},"test-result-prev-status-tooltip":function(){return ere},"test-result-prev-statuses":function(){return tre}});var c={};a.r(c),a.d(c,{content:function(){return $ie},layout:function(){return Uie},"layout-base":function(){return qie},loader:function(){return Wie},loading:function(){return Vie},main:function(){return Gie},split:function(){return Yie}});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=>{const{testResultsByEnv:t={}}=e??{},n=Object.keys(t).length;return n<=1&&M in t?0:n};crypto;const E=e=>{if(e)return e.charAt(0).toLocaleUpperCase()+e.slice(1)},N=e=>e.replace(/\\/g,"/"),O=new Set(["http:","https:","mailto:","tel:"]),R=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(O.has(r))try{return new URL(t).toString()}catch{return}},D=()=>new Promise((e=>{const t=()=>{if(globalThis.allureReportDataReady)return e(!0);setTimeout(t,30)};t()})),P=async(e,t="application/octet-stream",n)=>{if(globalThis.allureReportData){const[n]=e.split("?");return`data:${t};base64,${await(async e=>(await D(),new Promise(((t,n)=>{const r=globalThis.allureReportData??{};if(e in r)return t(r[e]);const i=N(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=j()?.cacheKey;return o&&i.searchParams.set("live_reload_hash",o),n?.bustCache&&a&&i.searchParams.set("v",a),i.toString()};class I extends Error{constructor(e,t){super(e),this.response=t}}const z=async(e,t)=>{let n;try{n=await P(e,void 0,t)}catch{throw new I(`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 I(`Failed to fetch ${n}, response status: ${r.status}`,r);return r.json()},j=()=>globalThis.allureReportOptions,B=async({id:e,ext:t,contentType:n})=>(async(e,t)=>{const n=await P(e,t);return globalThis.fetch(n)})(`data/attachments/${`${e||"-"}${t||""}`}?attachment`,n),F=async(e,t,n)=>{const r=await B({id:e,ext:t,contentType:n});return await r.blob()},H=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"]),$=new Set(["text/plain","text/*","text/uri-list"]),U=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"]),q=e=>{const t=e.lastIndexOf(".");if(!(t<=0||t===e.length-1))return e.slice(t)},W=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}},V={"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}}},G=(e,t)=>V[e]?.[t],Y={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 X,Z,K;!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"}(X||(X={})),function(e){e.Status="status",e.Severity="severity"}(Z||(Z={})),function(e){e.Raw="raw",e.Percent="percent",e.Diverging="diverging"}(K||(K={}));X.CurrentStatus,X.StatusDynamics,X.TrSeverities,X.StatusTransitions,X.TestBaseGrowthDynamics,X.CoverageDiff,X.SuccessRateDistribution,X.ProblemsDistribution,X.StabilityDistribution,X.StabilityDistribution,X.StabilityDistribution,X.Durations,X.Durations,X.DurationDynamics,X.StatusAgePyramid,X.TestingPyramid;function J(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function Q(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function ee(){}var te=.7,ne=1/te,re="\\s*([+-]?\\d+)\\s*",ie="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",oe="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",ae=/^#([0-9a-f]{3,8})$/,se=new RegExp(`^rgb\\(${re},${re},${re}\\)$`),le=new RegExp(`^rgb\\(${oe},${oe},${oe}\\)$`),ce=new RegExp(`^rgba\\(${re},${re},${re},${ie}\\)$`),ue=new RegExp(`^rgba\\(${oe},${oe},${oe},${ie}\\)$`),de=new RegExp(`^hsl\\(${ie},${oe},${oe}\\)$`),fe=new RegExp(`^hsla\\(${ie},${oe},${oe},${ie}\\)$`),he={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 pe(){return this.rgb().formatHex()}function ge(){return this.rgb().formatRgb()}function me(e){var t,n;return e=(e+"").trim().toLowerCase(),(t=ae.exec(e))?(n=t[1].length,t=parseInt(t[1],16),6===n?ve(t):3===n?new _e(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===n?be(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===n?be(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=se.exec(e))?new _e(t[1],t[2],t[3],1):(t=le.exec(e))?new _e(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=ce.exec(e))?be(t[1],t[2],t[3],t[4]):(t=ue.exec(e))?be(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=de.exec(e))?Te(t[1],t[2]/100,t[3]/100,1):(t=fe.exec(e))?Te(t[1],t[2]/100,t[3]/100,t[4]):he.hasOwnProperty(e)?ve(he[e]):"transparent"===e?new _e(NaN,NaN,NaN,0):null}function ve(e){return new _e(e>>16&255,e>>8&255,255&e,1)}function be(e,t,n,r){return r<=0&&(e=t=n=NaN),new _e(e,t,n,r)}function ye(e,t,n,r){return 1===arguments.length?function(e){return e instanceof ee||(e=me(e)),e?new _e((e=e.rgb()).r,e.g,e.b,e.opacity):new _e}(e):new _e(e,t,n,null==r?1:r)}function _e(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function we(){return`#${Se(this.r)}${Se(this.g)}${Se(this.b)}`}function xe(){const e=ke(this.opacity);return`${1===e?"rgb(":"rgba("}${Ce(this.r)}, ${Ce(this.g)}, ${Ce(this.b)}${1===e?")":`, ${e})`}`}function ke(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function Ce(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function Se(e){return((e=Ce(e))<16?"0":"")+e.toString(16)}function Te(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new Me(e,t,n,r)}function Ae(e){if(e instanceof Me)return new Me(e.h,e.s,e.l,e.opacity);if(e instanceof ee||(e=me(e)),!e)return new Me;if(e instanceof Me)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 Me(a,s,l,e.opacity)}function Me(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function Le(e){return(e=(e||0)%360)<0?e+360:e}function Ee(e){return Math.max(0,Math.min(1,e||0))}function Ne(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 Oe(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}J(ee,me,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:pe,formatHex:pe,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return Ae(this).formatHsl()},formatRgb:ge,toString:ge}),J(_e,ye,Q(ee,{brighter(e){return e=null==e?ne:Math.pow(ne,e),new _e(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=null==e?te:Math.pow(te,e),new _e(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new _e(Ce(this.r),Ce(this.g),Ce(this.b),ke(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:we,formatHex:we,formatHex8:function(){return`#${Se(this.r)}${Se(this.g)}${Se(this.b)}${Se(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:xe,toString:xe})),J(Me,(function(e,t,n,r){return 1===arguments.length?Ae(e):new Me(e,t,n,null==r?1:r)}),Q(ee,{brighter(e){return e=null==e?ne:Math.pow(ne,e),new Me(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=null==e?te:Math.pow(te,e),new Me(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 _e(Ne(e>=240?e-240:e+120,i,r),Ne(e,i,r),Ne(e<120?e+240:e-120,i,r),this.opacity)},clamp(){return new Me(Le(this.h),Ee(this.s),Ee(this.l),ke(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=ke(this.opacity);return`${1===e?"hsl(":"hsla("}${Le(this.h)}, ${100*Ee(this.s)}%, ${100*Ee(this.l)}%${1===e?")":`, ${e})`}`}}));var Re=e=>()=>e;function De(e,t){return function(n){return e+n*t}}function Pe(e){return 1==(e=+e)?Ie: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):Re(isNaN(t)?n:t)}}function Ie(e,t){var n=t-e;return n?De(e,n):Re(isNaN(e)?t:e)}var ze=function e(t){var n=Pe(t);function r(e,t){var r=n((e=ye(e)).r,(t=ye(t)).r),i=n(e.g,t.g),o=n(e.b,t.b),a=Ie(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 je(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=ye(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+""}}}je((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 Oe((n-r/t)*t,a,i,o,s)}})),je((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 Oe((n-r/t)*t,i,o,a,s)}}));const Be=Math.sqrt(50),Fe=Math.sqrt(10),He=Math.sqrt(2);function $e(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>=Be?10:o>=Fe?5:o>=He?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?$e(e,t,2*n):[s,l,c]}function Ue(e,t,n){return $e(e=+e,t=+t,n=+n)[2]}function qe(e,t){return null==e||null==t?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function We(e,t){return null==e||null==t?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function Ve(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=qe,n=(t,n)=>qe(e(t),n),r=(t,n)=>e(t)-n):(t=e===qe||e===We?e:Ge,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 Ge(){return 0}const Ye=Ve(qe),Xe=Ye.right;Ye.left,Ve((function(e){return null===e?NaN:+e})).center;var Ze=Xe;function Ke(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]=ot(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 Je(e,t){var n=new Date;return e=+e,t=+t,function(r){return n.setTime(e*(1-r)+t*r),n}}function Qe(e,t){return e=+e,t=+t,function(n){return e*(1-n)+t*n}}function et(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]=ot(e[n],t[n]):i[n]=t[n];return function(e){for(n in r)i[n]=r[n](e);return i}}var tt=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,nt=new RegExp(tt.source,"g");function rt(e,t){var n,r,i,o=tt.lastIndex=nt.lastIndex=0,a=-1,s=[],l=[];for(e+="",t+="";(n=tt.exec(e))&&(r=nt.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:Qe(n,r)})),o=nt.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 it(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 ot(e,t){var n,r=typeof t;return null==t||"boolean"===r?Re(t):("number"===r?Qe:"string"===r?(n=me(t))?(t=n,ze):rt:t instanceof me?ze:t instanceof Date?Je:function(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}(t)?it:Array.isArray(t)?Ke:"function"!=typeof t.valueOf&&"function"!=typeof t.toString||isNaN(t)?et:Qe)(e,t)}function at(e,t){return e=+e,t=+t,function(n){return Math.round(e*(1-n)+t*n)}}function st(e){return+e}var lt=[0,1];function ct(e){return e}function ut(e,t){return(t-=e=+e)?function(n){return(n-e)/t}:function(e){return function(){return e}}(isNaN(t)?NaN:.5)}function dt(e,t,n){var r=e[0],i=e[1],o=t[0],a=t[1];return i<r?(r=ut(i,r),o=n(a,o)):(r=ut(r,i),o=n(o,a)),function(e){return o(r(e))}}function ft(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]=ut(e[a],e[a+1]),o[a]=n(t[a],t[a+1]);return function(t){var n=Ze(e,t,1,r)-1;return o[n](i[n](t))}}function ht(){var e,t,n,r,i,o,a=lt,s=lt,l=ot,c=ct;function u(){var e=Math.min(a.length,s.length);return c!==ct&&(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?ft:dt,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),Qe)))(n)))},d.domain=function(e){return arguments.length?(a=Array.from(e,st),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=at,u()},d.clamp=function(e){return arguments.length?(c=!!e||ct,u()):c!==ct},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 pt(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e)}return this}var gt,mt=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function vt(e){if(!(t=mt.exec(e)))throw new Error("invalid format: "+e);var t;return new bt({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 bt(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 yt(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 _t(e){return(e=yt(Math.abs(e)))?e[1]:NaN}function wt(e,t){var n=yt(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")}vt.prototype=bt.prototype,bt.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 xt={"%":(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)=>wt(100*e,t),r:wt,s:function(e,t){var n=yt(e,t);if(!n)return e+"";var r=n[0],i=n[1],o=i-(gt=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")+yt(e,Math.max(0,t+o-1))[0]},X:e=>Math.round(e).toString(16).toUpperCase(),x:e=>Math.round(e).toString(16)};function kt(e){return e}var Ct,St,Tt,At=Array.prototype.map,Mt=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function Lt(e){var t,n,r=void 0===e.grouping||void 0===e.thousands?kt:(t=At.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?kt:function(e){return function(t){return t.replace(/[0-9]/g,(function(t){return e[+t]}))}}(At.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=vt(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"):xt[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=xt[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?Mt[8+gt/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=vt(e)).type="f",e)),r=3*Math.max(-8,Math.min(8,Math.floor(_t(t)/3))),i=Math.pow(10,-r),o=Mt[8+r/3];return function(e){return n(i*e)+o}}}}function Et(e,t,n,r){var i,o=function(e,t,n){n=+n;const r=(t=+t)<(e=+e),i=r?Ue(t,e,n):Ue(e,t,n);return(r?-1:1)*(i<0?1/-i:i)}(e,t,n);switch((r=vt(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(_t(t)/3)))-_t(Math.abs(e)))}(o,a))||(r.precision=i),Tt(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,_t(t)-_t(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,-_t(Math.abs(e)))}(o))||(r.precision=i-2*("%"===r.type))}return St(r)}function Nt(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?$e(t,e,n):$e(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 Et(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=Ue(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 Ot(){var e=ht()(ct,ct);return e.copy=function(){return t=e,Ot().domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp()).unknown(t.unknown());var t},pt.apply(e,arguments),Nt(e)}Ct=Lt({thousands:",",grouping:[3],currency:["$",""]}),St=Ct.format,Tt=Ct.formatPrefix;const Rt="var(--bg-support-capella)",Dt="var(--bg-support-castor)",Pt=(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 It=(e,t,n,r,i)=>{const o=e();if(o)return{...o,colors:t,formatLegend:n,legendDomain:r,tooltipRows:i}},zt=(e,t,n)=>t.type===X.SuccessRateDistribution?((e,t)=>{const n=[0,1];return It((()=>t[e]),((e,t=n)=>Ot().domain(t).range([Pt(Rt),Pt(Dt)]).interpolate(ze).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===X.CoverageDiff?((e,t)=>{const n=[0,.5,1];return It((()=>t[e]),((e,t=n)=>Ot().domain(t).range([Pt(Rt),"#fff",Pt(Dt)]).interpolate(ze).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,jt=(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)=>Ot().domain(t).range([Pt(Dt),Pt(Rt)]).interpolate(ze).clamp(!0)(e)))})(e,t),Bt=e=>Object.entries(e).reduce(((t,[n,r])=>{if(r.type===X.CurrentStatus)t[n]=e[n];else if(r.type===X.StatusDynamics)t[n]=e[n];else if(r.type===X.StatusTransitions)t[n]=e[n];else if(r.type===X.Durations)t[n]=e[n];else if(r.type===X.StabilityDistribution)t[n]=e[n];else if(r.type===X.TestBaseGrowthDynamics)t[n]=e[n];else if(r.type===X.StatusAgePyramid)t[n]=e[n];else if(r.type===X.TrSeverities)t[n]=e[n];else if(r.type===X.DurationDynamics)t[n]=e[n];else if(r.type===X.CoverageDiff||r.type===X.SuccessRateDistribution){const i=zt(n,r,e);i&&(t[n]=i)}else if(r.type===X.ProblemsDistribution){const r=jt(n,e);r&&(t[n]=r)}else r.type===X.TestingPyramid&&(t[n]=e[n]);return t}),{}),Ft=e=>{if(!("general"in e)&&!("byEnv"in e))return{general:Bt(e),byEnv:{}};const t={general:Bt(e.general),byEnv:{}};for(const[n,r]of Object.entries(e.byEnv))t.byEnv[n]=Bt(r);return t};var Ht;!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"}(Ht||(Ht={}));function $t(e){return function(){return e}}const Ut=Math.abs,qt=Math.atan2,Wt=Math.cos,Vt=Math.max,Gt=Math.min,Yt=Math.sin,Xt=Math.sqrt,Zt=1e-12,Kt=Math.PI,Jt=Kt/2,Qt=2*Kt;function en(e){return e>=1?Jt:e<=-1?-Jt:Math.asin(e)}const tn=Math.PI,nn=2*tn,rn=1e-6,on=nn-rn;function an(e){this._+=e[0];for(let t=1,n=e.length;t<n;++t)this._+=arguments[t]+e[t]}class sn{constructor(e){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=null==e?an:function(e){let t=Math.floor(e);if(!(t>=0))throw new Error(`invalid digits: ${e}`);if(t>15)return an;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>rn)if(Math.abs(u*s-l*c)>rn&&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((tn-Math.acos((p+d-g)/(2*m*v)))/2),y=b/v,_=b/m;Math.abs(y-1)>rn&&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)>rn||Math.abs(this._y1-c)>rn)&&this._append`L${l},${c}`,n&&(d<0&&(d=d%nn+nn),d>on?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>rn&&this._append`A${n},${n},0,${+(d>=tn)},${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 ln(e){return e.innerRadius}function cn(e){return e.outerRadius}function un(e){return e.startAngle}function dn(e){return e.endAngle}function fn(e){return e&&e.padAngle}function hn(e,t,n,r,i,o,a){var s=e-n,l=t-r,c=(a?o:-o)/Xt(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)*Xt(Vt(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 pn(){var e=ln,t=cn,n=$t(0),r=null,i=un,o=dn,a=fn,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 sn(t)}(c);function c(){var c,u,d=+e.apply(this,arguments),f=+t.apply(this,arguments),h=i.apply(this,arguments)-Jt,p=o.apply(this,arguments)-Jt,g=Ut(p-h),m=p>h;if(s||(s=c=l()),f<d&&(u=f,f=d,d=u),f>Zt)if(g>Qt-Zt)s.moveTo(f*Wt(h),f*Yt(h)),s.arc(0,0,f,h,p,!m),d>Zt&&(s.moveTo(d*Wt(p),d*Yt(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>Zt&&(r?+r.apply(this,arguments):Xt(d*d+f*f)),A=Gt(Ut(f-d)/2,+n.apply(this,arguments)),M=A,L=A;if(T>Zt){var E=en(T/d*Yt(S)),N=en(T/f*Yt(S));(k-=2*E)>Zt?(w+=E*=m?1:-1,x-=E):(k=0,w=x=(h+p)/2),(C-=2*N)>Zt?(y+=N*=m?1:-1,_-=N):(C=0,y=_=(h+p)/2)}var O=f*Wt(y),R=f*Yt(y),D=d*Wt(x),P=d*Yt(x);if(A>Zt){var I,z=f*Wt(_),j=f*Yt(_),B=d*Wt(w),F=d*Yt(w);if(g<Kt)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<Zt))return[e+(f=(u*(t-o)-d*(e-i))/f)*l,t+f*c]}(O,R,B,F,z,j,D,P)){var H=O-I[0],$=R-I[1],U=z-I[0],q=j-I[1],W=1/Yt(function(e){return e>1?0:e<-1?Kt:Math.acos(e)}((H*U+$*q)/(Xt(H*H+$*$)*Xt(U*U+q*q)))/2),V=Xt(I[0]*I[0]+I[1]*I[1]);M=Gt(A,(d-V)/(W-1)),L=Gt(A,(f-V)/(W+1))}else M=L=0}C>Zt?L>Zt?(v=hn(B,F,O,R,f,L,m),b=hn(z,j,D,P,f,L,m),s.moveTo(v.cx+v.x01,v.cy+v.y01),L<A?s.arc(v.cx,v.cy,L,qt(v.y01,v.x01),qt(b.y01,b.x01),!m):(s.arc(v.cx,v.cy,L,qt(v.y01,v.x01),qt(v.y11,v.x11),!m),s.arc(0,0,f,qt(v.cy+v.y11,v.cx+v.x11),qt(b.cy+b.y11,b.cx+b.x11),!m),s.arc(b.cx,b.cy,L,qt(b.y11,b.x11),qt(b.y01,b.x01),!m))):(s.moveTo(O,R),s.arc(0,0,f,y,_,!m)):s.moveTo(O,R),d>Zt&&k>Zt?M>Zt?(v=hn(D,P,z,j,d,-M,m),b=hn(O,R,B,F,d,-M,m),s.lineTo(v.cx+v.x01,v.cy+v.y01),M<A?s.arc(v.cx,v.cy,M,qt(v.y01,v.x01),qt(b.y01,b.x01),!m):(s.arc(v.cx,v.cy,M,qt(v.y01,v.x01),qt(v.y11,v.x11),!m),s.arc(0,0,d,qt(v.cy+v.y11,v.cx+v.x11),qt(b.cy+b.y11,b.cx+b.x11),m),s.arc(b.cx,b.cy,M,qt(b.y11,b.x11),qt(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-Kt/2;return[Wt(r)*n,Yt(r)*n]},c.innerRadius=function(t){return arguments.length?(e="function"==typeof t?t:$t(+t),c):e},c.outerRadius=function(e){return arguments.length?(t="function"==typeof e?e:$t(+e),c):t},c.cornerRadius=function(e){return arguments.length?(n="function"==typeof e?e:$t(+e),c):n},c.padRadius=function(e){return arguments.length?(r=null==e?null:"function"==typeof e?e:$t(+e),c):r},c.startAngle=function(e){return arguments.length?(i="function"==typeof e?e:$t(+e),c):i},c.endAngle=function(e){return arguments.length?(o="function"==typeof e?e:$t(+e),c):o},c.padAngle=function(e){return arguments.length?(a="function"==typeof e?e:$t(+e),c):a},c.context=function(e){return arguments.length?(s=null==e?null:e,c):s},c}Array.prototype.slice;function gn(e,t){return t<e?-1:t>e?1:t>=e?0:NaN}function mn(e){return e}const vn=()=>pn().innerRadius(40).outerRadius(50).cornerRadius(2).padAngle(.03),bn=function(){var e=mn,t=gn,n=null,r=$t(0),i=$t(Qt),o=$t(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(Qt,Math.max(-Qt,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:$t(+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:$t(+e),a):r},a.endAngle=function(e){return arguments.length?(i="function"==typeof e?e:$t(+e),a):i},a.padAngle=function(e){return arguments.length?(o="function"==typeof e?e:$t(+e),a):o},a}().value((e=>e.count)).padAngle(.03).sortValues(((e,t)=>e-t)),yn=vn(),_n=vn().padAngle(0).cornerRadius(0),wn=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:_n(t),...e}],percentage:0}}const t=u.filter((t=>!!e?.[t])).map((t=>({status:t,count:e[t]}))),n=bn(t).map((e=>{const t=yn(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 xn=a(7985);const kn=(e,t)=>new xn({escapeXML:!0,...t}).toHtml(e),{entries:Cn,setPrototypeOf:Sn,isFrozen:Tn,getPrototypeOf:An,getOwnPropertyDescriptor:Mn}=Object;let{freeze:Ln,seal:En,create:Nn}=Object,{apply:On,construct:Rn}="undefined"!=typeof Reflect&&Reflect;Ln||(Ln=function(e){return e}),En||(En=function(e){return e}),On||(On=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)}),Rn||(Rn=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 Dn=Xn(Array.prototype.forEach),Pn=Xn(Array.prototype.lastIndexOf),In=Xn(Array.prototype.pop),zn=Xn(Array.prototype.push),jn=Xn(Array.prototype.splice),Bn=Xn(String.prototype.toLowerCase),Fn=Xn(String.prototype.toString),Hn=Xn(String.prototype.match),$n=Xn(String.prototype.replace),Un=Xn(String.prototype.indexOf),qn=Xn(String.prototype.trim),Wn=Xn(Object.prototype.hasOwnProperty),Vn=Xn(RegExp.prototype.test),Gn=(Yn=TypeError,function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Rn(Yn,t)});var Yn;function Xn(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 On(e,t,r)}}function Zn(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Bn;Sn&&Sn(e,null);let r=t.length;for(;r--;){let i=t[r];if("string"==typeof i){const e=n(i);e!==i&&(Tn(t)||(t[r]=e),i=e)}e[i]=!0}return e}function Kn(e){for(let t=0;t<e.length;t++){Wn(e,t)||(e[t]=null)}return e}function Jn(e){const t=Nn(null);for(const[n,r]of Cn(e)){Wn(e,n)&&(Array.isArray(r)?t[n]=Kn(r):r&&"object"==typeof r&&r.constructor===Object?t[n]=Jn(r):t[n]=r)}return t}function Qn(e,t){for(;null!==e;){const n=Mn(e,t);if(n){if(n.get)return Xn(n.get);if("function"==typeof n.value)return Xn(n.value)}e=An(e)}return function(){return null}}const er=Ln(["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"]),tr=Ln(["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"]),nr=Ln(["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"]),rr=Ln(["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"]),ir=Ln(["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"]),or=Ln(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),ar=Ln(["#text"]),sr=Ln(["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"]),lr=Ln(["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"]),cr=Ln(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),ur=Ln(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),dr=En(/\{\{[\w\W]*|[\w\W]*\}\}/gm),fr=En(/<%[\w\W]*|[\w\W]*%>/gm),hr=En(/\$\{[\w\W]*/gm),pr=En(/^data-[\-\w.\u00B7-\uFFFF]+$/),gr=En(/^aria-[\-\w]+$/),mr=En(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),vr=En(/^(?:\w+script|data):/i),br=En(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),yr=En(/^html$/i),_r=En(/^[a-z][.\w]*(-[.\w]+)+$/i);var wr=Object.freeze({__proto__:null,ARIA_ATTR:gr,ATTR_WHITESPACE:br,CUSTOM_ELEMENT:_r,DATA_ATTR:pr,DOCTYPE_NAME:yr,ERB_EXPR:fr,IS_ALLOWED_URI:mr,IS_SCRIPT_OR_DATA:vr,MUSTACHE_EXPR:dr,TMPLIT_EXPR:hr});const xr=1,kr=3,Cr=7,Sr=8,Tr=9,Ar=function(){return"undefined"==typeof window?null:window};var Mr=function e(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Ar();const n=t=>e(t);if(n.version="3.3.3",n.removed=[],!t||!t.document||t.document.nodeType!==Tr||!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=Qn(g,"cloneNode"),v=Qn(g,"remove"),b=Qn(g,"nextSibling"),y=Qn(g,"childNodes"),_=Qn(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 Cn&&"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}=wr;let{IS_ALLOWED_URI:z}=wr,j=null;const B=Zn({},[...er,...tr,...nr,...ir,...ar]);let F=null;const H=Zn({},[...sr,...lr,...cr,...ur]);let $=Object.seal(Nn(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(Nn(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=Zn({},["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=Zn({},["audio","video","img","source","image","track"]);let he=null;const pe=Zn({},["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=Zn({},[ge,me,ve],Fn);let xe=Zn({},["mi","mo","mn","ms","mtext"]),ke=Zn({},["annotation-xml"]);const Ce=Zn({},["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=Jn(e),Se=-1===Te.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE,Ae="application/xhtml+xml"===Se?Fn:Bn,j=Wn(e,"ALLOWED_TAGS")?Zn({},e.ALLOWED_TAGS,Ae):B,F=Wn(e,"ALLOWED_ATTR")?Zn({},e.ALLOWED_ATTR,Ae):H,_e=Wn(e,"ALLOWED_NAMESPACES")?Zn({},e.ALLOWED_NAMESPACES,Fn):we,he=Wn(e,"ADD_URI_SAFE_ATTR")?Zn(Jn(pe),e.ADD_URI_SAFE_ATTR,Ae):pe,de=Wn(e,"ADD_DATA_URI_TAGS")?Zn(Jn(fe),e.ADD_DATA_URI_TAGS,Ae):fe,ce=Wn(e,"FORBID_CONTENTS")?Zn({},e.FORBID_CONTENTS,Ae):ue,U=Wn(e,"FORBID_TAGS")?Zn({},e.FORBID_TAGS,Ae):Jn({}),q=Wn(e,"FORBID_ATTR")?Zn({},e.FORBID_ATTR,Ae):Jn({}),le=!!Wn(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||mr,be=e.NAMESPACE||ve,xe=e.MATHML_TEXT_INTEGRATION_POINTS||xe,ke=e.HTML_INTEGRATION_POINTS||ke,$=e.CUSTOM_ELEMENT_HANDLING||{},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&&(j=Zn({},ar),F=Nn(null),!0===le.html&&(Zn(j,er),Zn(F,sr)),!0===le.svg&&(Zn(j,tr),Zn(F,lr),Zn(F,ur)),!0===le.svgFilters&&(Zn(j,nr),Zn(F,lr),Zn(F,ur)),!0===le.mathMl&&(Zn(j,ir),Zn(F,cr),Zn(F,ur))),Wn(e,"ADD_TAGS")||(W.tagCheck=null),Wn(e,"ADD_ATTR")||(W.attributeCheck=null),e.ADD_TAGS&&("function"==typeof e.ADD_TAGS?W.tagCheck=e.ADD_TAGS:(j===B&&(j=Jn(j)),Zn(j,e.ADD_TAGS,Ae))),e.ADD_ATTR&&("function"==typeof e.ADD_ATTR?W.attributeCheck=e.ADD_ATTR:(F===H&&(F=Jn(F)),Zn(F,e.ADD_ATTR,Ae))),e.ADD_URI_SAFE_ATTR&&Zn(he,e.ADD_URI_SAFE_ATTR,Ae),e.FORBID_CONTENTS&&(ce===ue&&(ce=Jn(ce)),Zn(ce,e.FORBID_CONTENTS,Ae)),e.ADD_FORBID_CONTENTS&&(ce===ue&&(ce=Jn(ce)),Zn(ce,e.ADD_FORBID_CONTENTS,Ae)),ae&&(j["#text"]=!0),J&&Zn(j,["html","head","body"]),j.table&&(Zn(j,["tbody"]),delete U.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw Gn('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw Gn('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(""));Ln&&Ln(e),Me=e}},Oe=Zn({},[...tr,...nr,...rr]),Re=Zn({},[...ir,...or]),De=function(e){zn(n.removed,{element:e});try{_(e).removeChild(e)}catch(t){v(e)}},Pe=function(e,t){try{zn(n.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){zn(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=Hn(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)},je=function(e){return e instanceof f&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof d)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes)},Be=function(e){return"function"==typeof l&&e instanceof l};function Fe(e,t,r){Dn(e,(e=>{e.call(n,t,r,Me)}))}const He=function(e){let t=null;if(Fe(M.beforeSanitizeElements,e,null),je(e))return De(e),!0;const r=Ae(e.nodeName);if(Fe(M.uponSanitizeElement,e,{tagName:r,allowedTags:j}),K&&e.hasChildNodes()&&!Be(e.firstElementChild)&&Vn(/<[/\w!]/g,e.innerHTML)&&Vn(/<[/\w!]/g,e.textContent))return De(e),!0;if(e.nodeType===Cr)return De(e),!0;if(K&&e.nodeType===Sr&&Vn(/<[/\w]/g,e.data))return De(e),!0;if(!(W.tagCheck instanceof Function&&W.tagCheck(r))&&(!j[r]||U[r])){if(!U[r]&&Ue(r)){if($.tagNameCheck instanceof RegExp&&Vn($.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=Bn(e.tagName),r=Bn(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||!Vn(/<\/no(script|embed|frames)/i,e.innerHTML)?(Z&&e.nodeType===kr&&(t=e.textContent,Dn([L,E,N],(e=>{t=$n(t,e," ")})),e.textContent!==t&&(zn(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]&&Vn(O,t));else if(V&&Vn(R,t));else if(W.attributeCheck instanceof Function&&W.attributeCheck(t,e));else if(!F[t]||q[t]){if(!(Ue(e)&&($.tagNameCheck instanceof RegExp&&Vn($.tagNameCheck,e)||$.tagNameCheck instanceof Function&&$.tagNameCheck(e))&&($.attributeNameCheck instanceof RegExp&&Vn($.attributeNameCheck,t)||$.attributeNameCheck instanceof Function&&$.attributeNameCheck(t,e))||"is"===t&&$.allowCustomizedBuiltInElements&&($.tagNameCheck instanceof RegExp&&Vn($.tagNameCheck,n)||$.tagNameCheck instanceof Function&&$.tagNameCheck(n))))return!1}else if(he[t]);else if(Vn(z,$n(n,P,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==Un(n,"data:")||!de[e]){if(Y&&!Vn(D,$n(n,P,"")));else if(n)return!1}else;return!0},Ue=function(e){return"annotation-xml"!==e&&Hn(e,I)},qe=function(e){Fe(M.beforeSanitizeAttributes,e,null);const{attributes:t}=e;if(!t||je(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:qn(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&&Vn(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,d)){Pe(a,e);continue}if("attributename"===c&&Hn(d,"href")){Pe(a,e);continue}if(r.forceKeepAttr)continue;if(!r.keepAttr){Pe(a,e);continue}if(!X&&Vn(/\/>/i,d)){Pe(a,e);continue}Z&&Dn([L,E,N],(e=>{d=$n(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),je(e)?De(e):In(n.removed)}catch(t){Pe(a,e)}}else Pe(a,e)}Fe(M.afterSanitizeAttributes,e,null)},We=function e(t){let n=null;const r=ze(t);for(Fe(M.beforeSanitizeShadowDOM,t,null);n=r.nextNode();)Fe(M.uponSanitizeShadowNode,n,null),He(n),qe(n),n.content instanceof a&&e(n.content);Fe(M.afterSanitizeShadowDOM,t,null)};return n.sanitize=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=null,o=null,s=null,c=null;if(ye=!e,ye&&(e="\x3c!--\x3e"),"string"!=typeof e&&!Be(e)){if("function"!=typeof e.toString)throw Gn("toString is not a function");if("string"!=typeof(e=e.toString()))throw Gn("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(!j[t]||U[t])throw Gn("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===xr&&"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(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&&j["!doctype"]&&r.ownerDocument&&r.ownerDocument.doctype&&r.ownerDocument.doctype.name&&Vn(yr,r.ownerDocument.doctype.name)&&(d="<!DOCTYPE "+r.ownerDocument.doctype.name+">\n"+d),Z&&Dn([L,E,N],(e=>{d=$n(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&&zn(M[e],t)},n.removeHook=function(e,t){if(void 0!==t){const n=Pn(M[e],t);return-1===n?void 0:jn(M[e],n,1)[0]}return In(M[e])},n.removeHooks=function(e){M[e]=[]},n.removeAllHooks=function(){M={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},n}();const Lr={USE_PROFILES:{html:!0}},Er=e=>((e,t)=>Mr.sanitize(e,t))(e,Lr);var Nr=Symbol.for("preact-signals");function Or(){if(zr>1)zr--;else{for(var e,t=!1;void 0!==Ir;){var n=Ir;for(Ir=void 0,jr++;void 0!==n;){var r=n.o;if(n.o=void 0,n.f&=-3,!(8&n.f)&&Ur(n))try{n.c()}catch(n){t||(e=n,t=!0)}n=r}}if(jr=0,zr--,t)throw e}}function Rr(e){if(zr>0)return e();zr++;try{return e()}finally{Or()}}var Dr=void 0;function Pr(e){var t=Dr;Dr=void 0;try{return e()}finally{Dr=t}}var Ir=void 0,zr=0,jr=0,Br=0;function Fr(e){if(void 0!==Dr){var t=e.n;if(void 0===t||t.t!==Dr)return t={i:0,S:e,p:Dr.s,n:void 0,t:Dr,e:void 0,x:void 0,r:t},void 0!==Dr.s&&(Dr.s.n=t),Dr.s=t,e.n=t,32&Dr.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=Dr.s,t.n=void 0,Dr.s.n=t,Dr.s=t),t}}function Hr(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 $r(e,t){return new Hr(e,t)}function Ur(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 qr(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 Wr(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 Vr(e,t){Hr.call(this,void 0),this.x=e,this.s=void 0,this.g=Br-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 Gr(e,t){return new Vr(e,t)}function Yr(e){var t=e.u;if(e.u=void 0,"function"==typeof t){zr++;var n=Dr;Dr=void 0;try{t()}catch(t){throw e.f&=-2,e.f|=8,Xr(e),t}finally{Dr=n,Or()}}}function Xr(e){for(var t=e.s;void 0!==t;t=t.n)t.S.U(t);e.x=void 0,e.s=void 0,Yr(e)}function Zr(e){if(Dr!==this)throw new Error("Out-of-order effect");Wr(this),Dr=e,this.f&=-2,8&this.f&&Xr(this),Or()}function Kr(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 Jr(e,t){var n=new Kr(e,t);try{n.c()}catch(e){throw n.d(),e}var r=n.d.bind(n);return r[Symbol.dispose]=r,r}Hr.prototype.brand=Nr,Hr.prototype.h=function(){return!0},Hr.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:Pr((function(){var e;null==(e=t.W)||e.call(t)})))},Hr.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&&Pr((function(){var e;null==(e=t.Z)||e.call(t)})))}},Hr.prototype.subscribe=function(e){var t=this;return Jr((function(){var n=t.value,r=Dr;Dr=void 0;try{e(n)}finally{Dr=r}}),{name:"sub"})},Hr.prototype.valueOf=function(){return this.value},Hr.prototype.toString=function(){return this.value+""},Hr.prototype.toJSON=function(){return this.value},Hr.prototype.peek=function(){var e=Dr;Dr=void 0;try{return this.value}finally{Dr=e}},Object.defineProperty(Hr.prototype,"value",{get:function(){var e=Fr(this);return void 0!==e&&(e.i=this.i),this.v},set:function(e){if(e!==this.v){if(jr>100)throw new Error("Cycle detected");this.v=e,this.i++,Br++,zr++;try{for(var t=this.t;void 0!==t;t=t.x)t.t.N()}finally{Or()}}}}),Vr.prototype=new Hr,Vr.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===Br)return!0;if(this.g=Br,this.f|=1,this.i>0&&!Ur(this))return this.f&=-2,!0;var e=Dr;try{qr(this),Dr=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 Dr=e,Wr(this),this.f&=-2,!0},Vr.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)}Hr.prototype.S.call(this,e)},Vr.prototype.U=function(e){if(void 0!==this.t&&(Hr.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)}},Vr.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(Vr.prototype,"value",{get:function(){if(1&this.f)throw new Error("Cycle detected");var e=Fr(this);if(this.h(),void 0!==e&&(e.i=this.i),16&this.f)throw this.v;return this.v}}),Kr.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()}},Kr.prototype.S=function(){if(1&this.f)throw new Error("Cycle detected");this.f|=1,this.f&=-9,Yr(this),qr(this),zr++;var e=Dr;return Dr=this,Zr.bind(this,e)},Kr.prototype.N=function(){2&this.f||(this.f|=2,this.o=Ir,Ir=this)},Kr.prototype.d=function(){this.f|=8,1&this.f||Xr(this)},Kr.prototype.dispose=function(){this.d()};const Qr=(e,t)=>{if("undefined"==typeof window)return;const n=(e=>"string"==typeof e||e instanceof URL?e:new URL(e.path,ei()))(e);t?.replace?(window.history.replaceState(null,"",n),window.dispatchEvent(new Event("replaceState"))):(window.history.pushState(null,"",n),window.dispatchEvent(new Event("pushState")))},ei=()=>"undefined"==typeof window?"":window.location.href,ti=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 ni=$r(ei());(e=>{if("undefined"!=typeof window)window.addEventListener("popstate",e),window.addEventListener("replaceState",e),window.addEventListener("pushState",e),window.addEventListener("hashchange",e)})((()=>{ni.peek()!==ei()&&(ni.value=ei())}));const ri=Gr((()=>new URL(ni.value))),ii=Gr((()=>ri.value.searchParams)),oi=(...e)=>{const t=new URL(ei());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!==ri.peek().href&&Qr(t.href,{replace:!0})},ai=Gr((()=>({hash:ri.value.hash,pathname:ri.value.pathname,origin:ri.value.origin,params:ti(ii.value)}))),si=e=>ii.value.get(e),li=e=>ii.value.getAll(e),ci=e=>ii.value.has(e),ui=Gr((()=>{const e=ai.value.hash.startsWith("#")?ai.value.hash.slice(1):ai.value.hash;return{path:e,pathParts:e.split("/").filter(Boolean)}})),di=e=>{const{path:t,params:n={},replace:r=!1,searchParams:i={},keepSearchParams:o=!1}=e,a=ai.value.pathname,s=new URL(a,ai.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)}))})(ai.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())}})),Qr(s,{replace:r})},fi=(e,t=()=>!0)=>{if("/"===e&&0===ui.value.pathParts.length)return{matches:!0,params:{}};const n=e.split("/").filter(Boolean),r=ui.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 hi;!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"}(hi||(hi={}));Error;const pi="GT",gi="GE",mi="LT",vi="LE",bi="EQ",yi="NEQ",_i="CONTAINS",wi="IN",xi={[bi]:"=",[yi]:"!=",[pi]:">",[gi]:">=",[mi]:"<",[vi]:"<=",[_i]:"~="},ki="AND",Ci="OR";const Si=()=>!0;function Ti(e){switch(e.type){case"condition":return function(e){const{left:t,operator:n,right:r}=e;return e=>{const i=Ai(e,t),o=Mi(r);return function(e,t,n){if(null==n)return t===bi||t===xi.EQ?null==e:(t===yi||t===xi.NEQ)&&null!=e;if(null==e)return!1;switch(t){case bi:case xi.EQ:return Li(e,n);case yi:case xi.NEQ:return!Li(e,n);case pi:case xi.GT:return Ei(e,n)>0;case gi:case xi.GE:return Ei(e,n)>=0;case mi:case xi.LT:return Ei(e,n)<0;case vi:case xi.LE:return Ei(e,n)<=0;case _i:case xi.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===wi)return e=>{const n=Ai(e,t),i=r.map(Mi);return null!=n&&i.some((e=>null==e?null==n:Li(n,e)))};return()=>!1}(e);case"binary":return function(e){const t=Ti(e.left),n=Ti(e.right);if(e.operator===ki)return e=>t(e)&&n(e);if(e.operator===Ci)return e=>t(e)||n(e);return()=>!1}(e);case"not":return function(e){const t=Ti(e.expression);return e=>!t(e)}(e);case"paren":return function(e){return Ti(e.expression)}(e);case"boolean":return function(e){return()=>e.value}(e);default:return Si}}function Ai(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 Mi(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 Li(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)=>Li(e,t[n])))))}function Ei(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 Ni=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?Oi(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?Ni([t[0]]):{type:"paren",expression:Ni(t)}})(t)}const[t,n,...r]=e;return 0===r.length?{type:"binary",operator:t.logicalOperator??"AND",left:Ni([t]),right:Ni([n])}:r.reduce(((e,t)=>({type:"binary",operator:t.logicalOperator??"AND",left:e,right:Ni([t])})),Ni([t,n]))},Oi=(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])},Ri="auto",Di="light",Pi="dark",Ii="theme",zi=[Di,Pi,Ri],ji={matches:!1,addEventListener:()=>{},removeEventListener:()=>{},media:"",onchange:()=>{},addListener:()=>{},removeListener:()=>{},dispatchEvent:()=>!0},Bi=()=>"undefined"==typeof window||"function"!=typeof window.matchMedia?ji:window.matchMedia("(prefers-color-scheme: dark)"),Fi=j()?.theme,Hi=Gr((()=>$i.value===Ri?Ui.value:$i.value)),$i=$r(Ri),Ui=$r("undefined"==typeof window?Di:Bi().matches?Pi:Di);(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:$i,key:Ii,onRestore:e=>(e=>zi.includes(e))(e)?e:Fi??Ri}),(e=>{if("undefined"==typeof window)return;const{signal:t,key:n,shouldPersist:r=()=>!0}=e;Jr((()=>{const e=t.value;if(r(e))try{window.localStorage.setItem(n,"string"==typeof e?e:JSON.stringify(e))}catch{}}))})({signal:$i,key:Ii});const qi=Gr((()=>({current:Hi.value,selected:$i.value}))),Wi=()=>{const e=$i.peek(),t=zi[(zi.indexOf(e)+1)%zi.length];var n;n=t,$i.value=n};(()=>{if("undefined"==typeof window)return;Jr((()=>{document.documentElement.setAttribute("data-theme",Hi.value)}));Bi().addEventListener("change",(e=>{e.matches?Ui.value=Pi:Ui.value=Di}))})();Symbol("loadableStore");$r(1);const Vi="\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",Gi=/var\(\s*(--[\w-]+)\s*(?:,\s*([^)]+))?\)/g,Yi=(e,t,n)=>e.replace(Gi,((e,r,i)=>{if(n.has(r))return i?Yi(i.trim(),t,n):"";const o=new Set(n);o.add(r);const a=t.getPropertyValue(r).trim();return a?Yi(a,t,o):i?Yi(i.trim(),t,o):""}));var Xi,Zi,Ki,Ji,Qi,eo,to,no,ro,io,oo,ao,so,lo={},co=[],uo=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,fo=Array.isArray;function ho(e,t){for(var n in t)e[n]=t[n];return e}function po(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function go(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?Xi.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 mo(e,a,r,i,null)}function mo(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?++Ki:i,__i:-1,__u:0};return null==i&&null!=Zi.vnode&&Zi.vnode(o),o}function vo(e){return e.children}function bo(e,t){this.props=e,this.context=t}function yo(e,t){if(null==t)return e.__?yo(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?yo(e):null}function _o(e){var t,n;if(null!=(e=e.__)&&null!=e.__c){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e){e.__e=e.__c.base=n.__e;break}return _o(e)}}function wo(e){(!e.__d&&(e.__d=!0)&&Qi.push(e)&&!xo.__r++||eo!=Zi.debounceRendering)&&((eo=Zi.debounceRendering)||to)(xo)}function xo(){for(var e,t,n,r,i,o,a,s=1;Qi.length;)Qi.length>s&&Qi.sort(no),e=Qi.shift(),s=Qi.length,e.__d&&(n=void 0,r=void 0,i=(r=(t=e).__v).__e,o=[],a=[],t.__P&&((n=ho({},r)).__v=r.__v+1,Zi.vnode&&Zi.vnode(n),No(t.__P,n,r,t.__n,t.__P.namespaceURI,32&r.__u?[i]:null,o,null==i?yo(r):i,!!(32&r.__u),a),n.__v=r.__v,n.__.__k[n.__i]=n,Ro(o,n,a),r.__e=r.__=null,n.__e!=i&&_o(n)));xo.__r=0}function ko(e,t,n,r,i,o,a,s,l,c,u){var d,f,h,p,g,m,v,b=r&&r.__k||co,y=t.length;for(l=Co(n,t,b,l,y),d=0;d<y;d++)null!=(h=n.__k[d])&&(f=-1==h.__i?lo:b[h.__i]||lo,h.__i=d,m=No(e,h,f,i,o,a,s,l,c,u),p=h.__e,h.ref&&f.ref!=h.ref&&(f.ref&&Io(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=So(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 Co(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]=mo(null,a,null,null,null):fo(a)?a=e.__k[o]=mo(vo,{children:a},null,null,null):void 0===a.constructor&&a.__b>0?a=e.__k[o]=mo(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=Ao(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=yo(s)),zo(s,s));return r}function So(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=So(i[o],t,n,r));return t}e.__e!=t&&(r&&(t&&e.type&&!t.parentNode&&(t=yo(e)),n.insertBefore(e.__e,t||null)),t=e.__e);do{t=t&&t.nextSibling}while(null!=t&&8==t.nodeType);return t}function To(e,t){return t=t||[],null==e||"boolean"==typeof e||(fo(e)?e.some((function(e){To(e,t)})):t.push(e)),t}function Ao(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 Mo(e,t,n){"-"==t[0]?e.setProperty(t,null==n?"":n):e[t]=null==n?"":"number"!=typeof n||uo.test(t)?n:n+"px"}function Lo(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||Mo(e.style,t,"");if(n)for(t in n)r&&n[t]==r[t]||Mo(e.style,t,n[t])}else if("o"==t[0]&&"n"==t[1])o=t!=(t=t.replace(ro,"$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=io,e.addEventListener(t,o?ao:oo,o)):e.removeEventListener(t,o?ao:oo,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 Eo(e){return function(t){if(this.l){var n=this.l[t.type+e];if(null==t.t)t.t=io++;else if(t.t<n.u)return;return n(Zi.event?Zi.event(t):t)}}}function No(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=Zi.__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 bo(v,_),d.constructor=A,d.render=jo),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=ho({},d.__s)),ho(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=Zi.__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=ho(ho({},r),d.getChildContext())),b&&!f&&null!=d.getSnapshotBeforeUpdate&&(g=d.getSnapshotBeforeUpdate(h,p)),S=u,null!=u&&u.type===vo&&null==u.key&&(S=Do(u.props.children)),s=ko(e,fo(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--;)po(o[T]);Oo(t)}else t.__e=n.__e,t.__k=n.__k,e.then||Oo(t);Zi.__e(e,t,n)}else null==o&&t.__v==n.__v?(t.__k=n.__k,t.__e=n.__e):s=t.__e=Po(n.__e,t,n,r,i,o,a,l,c);return(u=Zi.diffed)&&u(t),128&t.__u?void 0:s}function Oo(e){e&&e.__c&&(e.__c.__e=!0),e&&e.__k&&e.__k.forEach(Oo)}function Ro(e,t,n){for(var r=0;r<n.length;r++)Io(n[r],n[++r],n[++r]);Zi.__c&&Zi.__c(t,e),e.some((function(t){try{e=t.__h,t.__h=[],e.some((function(e){e.call(t)}))}catch(e){Zi.__e(e,t.__v)}}))}function Do(e){return"object"!=typeof e||null==e||e.__b&&e.__b>0?e:fo(e)?e.map(Do):ho({},e)}function Po(e,t,n,r,i,o,a,s,l){var c,u,d,f,h,p,g,m=n.props||lo,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&&(Zi.__m&&Zi.__m(t,o),s=!1),o=null}if(null==b)m===v||s&&e.data==v||(e.data=v);else{if(o=o&&Xi.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;Lo(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||Lo(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=""),ko("template"==t.type?e.content:e,fo(f)?f:[f],t,n,r,"foreignObject"==b?"http://www.w3.org/1999/xhtml":i,o,a,o?o[0]:n.__k&&yo(n,0),s,l),null!=o)for(c=o.length;c--;)po(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])&&Lo(e,c,p,m[c],i),c="checked",null!=g&&g!=e[c]&&Lo(e,c,g,m[c],i))}return e}function Io(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){Zi.__e(e,n)}}function zo(e,t,n){var r,i;if(Zi.unmount&&Zi.unmount(e),(r=e.ref)&&(r.current&&r.current!=e.__e||Io(r,null,t)),null!=(r=e.__c)){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(e){Zi.__e(e,t)}r.base=r.__P=null}if(r=e.__k)for(i=0;i<r.length;i++)r[i]&&zo(r[i],t,n||"function"!=typeof e.type);n||po(e.__e),e.__c=e.__=e.__e=void 0}function jo(e,t,n){return this.constructor(e,n)}function Bo(e,t,n){var r,i,o,a;t==document&&(t=document.documentElement),Zi.__&&Zi.__(e,t),i=(r="function"==typeof n)?null:n&&n.__k||t.__k,o=[],a=[],No(t,e=(!r&&n||t).__k=go(vo,null,[e]),i||lo,lo,t.namespaceURI,!r&&n?[n]:i?null:t.firstChild?Xi.call(t.childNodes):null,o,!r&&n?n:i?i.__e:t.firstChild,r,a),Ro(o,e,a)}function Fo(e,t,n){var r,i,o,a,s=ho({},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?Xi.call(arguments,2):n),mo(e.type,s,r||e.key,i||e.ref,null)}function Ho(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,wo(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"+so++,t.__=e,t.Provider=t.__l=(t.Consumer=function(e,t){return e.children(t)}).contextType=t,t}Xi=co.slice,Zi={__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}},Ki=0,Ji=function(e){return null!=e&&void 0===e.constructor},bo.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!=this.state?this.__s:this.__s=ho({},this.state),"function"==typeof e&&(e=e(ho({},n),this.props)),e&&ho(n,e),null!=e&&this.__v&&(t&&this._sb.push(t),wo(this))},bo.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),wo(this))},bo.prototype.render=vo,Qi=[],to="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,no=function(e,t){return e.__v.__b-t.__v.__b},xo.__r=0,ro=/(PointerCapture)$|Capture$/i,io=0,oo=Eo(!1),ao=Eo(!0),so=0;var $o,Uo,qo,Wo,Vo=0,Go=[],Yo=Zi,Xo=Yo.__b,Zo=Yo.__r,Ko=Yo.diffed,Jo=Yo.__c,Qo=Yo.unmount,ea=Yo.__;function ta(e,t){Yo.__h&&Yo.__h(Uo,e,Vo||t),Vo=0;var n=Uo.__H||(Uo.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({}),n.__[e]}function na(e){return Vo=1,ra(va,e)}function ra(e,t,n){var r=ta($o++,2);if(r.t=e,!r.__c&&(r.__=[n?n(t):va(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=Uo,!Uo.__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};Uo.__f=!0;var o=Uo.shouldComponentUpdate,a=Uo.componentWillUpdate;Uo.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)},Uo.shouldComponentUpdate=i}return r.__N||r.__}function ia(e,t){var n=ta($o++,3);!Yo.__s&&ma(n.__H,t)&&(n.__=e,n.u=t,Uo.__H.__h.push(n))}function oa(e,t){var n=ta($o++,4);!Yo.__s&&ma(n.__H,t)&&(n.__=e,n.u=t,Uo.__h.push(n))}function aa(e){return Vo=5,sa((function(){return{current:e}}),[])}function sa(e,t){var n=ta($o++,7);return ma(n.__H,t)&&(n.__=e(),n.__H=t,n.__h=e),n.__}function la(e,t){return Vo=8,sa((function(){return e}),t)}function ca(e){var t=Uo.context[e.__c],n=ta($o++,9);return n.c=e,t?(null==n.__&&(n.__=!0,t.sub(Uo)),t.props.value):e.__}function ua(){var e=ta($o++,11);if(!e.__){for(var t=Uo.__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 da(){for(var e;e=Go.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(pa),e.__H.__h.forEach(ga),e.__H.__h=[]}catch(t){e.__H.__h=[],Yo.__e(t,e.__v)}}Yo.__b=function(e){Uo=null,Xo&&Xo(e)},Yo.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),ea&&ea(e,t)},Yo.__r=function(e){Zo&&Zo(e),$o=0;var t=(Uo=e.__c).__H;t&&(qo===Uo?(t.__h=[],Uo.__h=[],t.__.forEach((function(e){e.__N&&(e.__=e.__N),e.u=e.__N=void 0}))):(t.__h.forEach(pa),t.__h.forEach(ga),t.__h=[],$o=0)),qo=Uo},Yo.diffed=function(e){Ko&&Ko(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(1!==Go.push(t)&&Wo===Yo.requestAnimationFrame||((Wo=Yo.requestAnimationFrame)||ha)(da)),t.__H.__.forEach((function(e){e.u&&(e.__H=e.u),e.u=void 0}))),qo=Uo=null},Yo.__c=function(e,t){t.some((function(e){try{e.__h.forEach(pa),e.__h=e.__h.filter((function(e){return!e.__||ga(e)}))}catch(n){t.some((function(e){e.__h&&(e.__h=[])})),t=[],Yo.__e(n,e.__v)}})),Jo&&Jo(e,t)},Yo.unmount=function(e){Qo&&Qo(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach((function(e){try{pa(e)}catch(e){t=e}})),n.__H=void 0,t&&Yo.__e(t,n.__v))};var fa="function"==typeof requestAnimationFrame;function ha(e){var t,n=function(){clearTimeout(r),fa&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,35);fa&&(t=requestAnimationFrame(n))}function pa(e){var t=Uo,n=e.__c;"function"==typeof n&&(e.__c=void 0,n()),Uo=t}function ga(e){var t=Uo;e.__c=e.__(),Uo=t}function ma(e,t){return!e||e.length!==t.length||t.some((function(t,n){return t!==e[n]}))}function va(e,t){return"function"==typeof t?t(e):t}var ba,ya,_a,wa="undefined"!=typeof window&&!!window.__PREACT_SIGNALS_DEVTOOLS__,xa=[],ka=[];function Ca(e,t){Zi[e]=t.bind(null,Zi[e]||function(){})}function Sa(e){_a&&_a(),_a=e&&e.S()}function Ta(e){var t=this,n=e.data,r=Ma(n);r.value=n;var i=sa((function(){for(var e=t,n=t.__v;n=n.__;)if(n.__c){n.__c.__$f|=4;break}var i=Gr((function(){var e=r.value.value;return 0===e?0:!0===e?"":e||""})),o=Gr((function(){return!Array.isArray(i.value)&&!Ji(i.value)})),a=Jr((function(){if(this.N=Pa,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 Aa(e,t,n,r){var i=t in e&&void 0===e.ownerSVGElement,o=$r(n);return{o:function(e,t){o.value=e,r=t},d:Jr((function(){this.N=Pa;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 Ma(e,t){return na((function(){return $r(e,t)}))[0]}function La(e,t){var n=aa(e);return n.current=e,ya.__$f|=4,sa((function(){return Gr((function(){return n.current()}),t)}),[])}Jr((function(){ba=this.N}))(),Ta.displayName="ReactiveTextNode",Object.defineProperties(Hr.prototype,{constructor:{configurable:!0,value:void 0},type:{configurable:!0,value:Ta},props:{configurable:!0,get:function(){return{data:this}}},__b:{configurable:!0,value:1}}),Ca("__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 Hr&&(n||(t.__np=n={}),n[i]=o,r[i]=o.peek())}}e(t)})),Ca("__r",(function(e,t){if(t.type!==vo){Sa();var n,r=t.__c;r&&(r.__$f&=-2,void 0===(n=r.__$u)&&(r.__$u=n=function(e,t){var n;return Jr((function(){n=this}),{name:t}),n.c=e,n}((function(){var e;wa&&(null==(e=n.y)||e.call(n)),r.__$f|=1,r.setState({})}),"function"==typeof t.type?t.type.displayName||t.type.name:""))),ya=r,Sa(n)}e(t)})),Ca("__e",(function(e,t,n,r){Sa(),ya=void 0,e(t,n,r)})),Ca("diffed",(function(e,t){var n;if(Sa(),ya=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=Aa(n,l,u,i),o[l]=c):c.o(u,i)}}}e(t)})),Ca("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)})),Ca("__h",(function(e,t,n,r){(r<3||9===r)&&(t.__$f|=2),e(t,n,r)})),bo.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 Ea="undefined"==typeof requestAnimationFrame?setTimeout:function(e){var t=function(){clearTimeout(n),cancelAnimationFrame(r),e()},n=setTimeout(t,35),r=requestAnimationFrame(t)},Na=function(e){queueMicrotask((function(){queueMicrotask(e)}))};function Oa(){Rr((function(){for(var e;e=xa.shift();)ba.call(e)}))}function Ra(){1===xa.push(this)&&(Zi.requestAnimationFrame||Ea)(Oa)}function Da(){Rr((function(){for(var e;e=ka.shift();)ba.call(e)}))}function Pa(){1===ka.push(this)&&(Zi.requestAnimationFrame||Na)(Da)}function Ia(e,t){var n=aa(e);n.current=e,ia((function(){return Jr((function(){return this.N=Ra,n.current()}),t)}),[])}var za=function(e){return"function"==typeof e.children?e.children(e.v,e.i):e.children};function ja(e){var t=sa((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=go(za,{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)})),go(vo,null,i)}za.displayName="Item",ja.displayName="For";function Ba(e,t){for(var n in t)e[n]=t[n];return e}function Fa(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 Ha(e,t){this.props=e,this.context=t}function $a(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:Fa(this.props,e)}function r(t){return this.shouldComponentUpdate=n,go(e,t)}return r.displayName="Memo("+(e.displayName||e.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r.type=e,r}(Ha.prototype=new bo).isPureReactComponent=!0,Ha.prototype.shouldComponentUpdate=function(e,t){return Fa(this.props,e)||Fa(this.state,t)};var Ua=Zi.__b;Zi.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),Ua&&Ua(e)};var qa="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function Wa(e){function t(t){var n=Ba({},t);return delete n.ref,e(n,t.ref||null)}return t.$$typeof=qa,t.render=e,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var Va=Zi.__e;Zi.__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);Va(e,t,n,r)};var Ga=Zi.unmount;function Ya(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=Ba({},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 Ya(e,t,n)}))),e}function Xa(e,t,n){return e&&n&&(e.__v=null,e.__k=e.__k&&e.__k.map((function(e){return Xa(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 Za(){this.__u=0,this.o=null,this.__b=null}function Ka(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function Ja(){this.i=null,this.l=null}Zi.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),Ga&&Ga(e)},(Za.prototype=new bo).__c=function(e,t){var n=t.__c,r=this;null==r.o&&(r.o=[]),r.o.push(n);var i=Ka(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]=Xa(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)},Za.prototype.componentWillUnmount=function(){this.o=[]},Za.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]=Ya(this.__b,n,r.__O=r.__P)}this.__b=null}var i=t.__a&&go(vo,null,e.fallback);return i&&(i.__u&=-33),[go(vo,null,t.__a?null:e.children),i]};var Qa=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 es(e){return this.getChildContext=function(){return e.context},e.children}function ts(e){var t=this,n=e.h;if(t.componentWillUnmount=function(){Bo(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)}}}Bo(go(es,{context:t.context},e.__v),t.v)}function ns(e,t){var n=go(ts,{__v:e,h:t});return n.containerInfo=t,n}(Ja.prototype=new bo).__a=function(e){var t=this,n=Ka(t.__v),r=t.l.get(e);return r[0]++,function(i){var o=function(){t.props.revealOrder?(r.push(i),Qa(t,e,r)):i()};n?n(o):o()}},Ja.prototype.render=function(e){this.i=null,this.l=new Map;var t=To(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},Ja.prototype.componentDidUpdate=Ja.prototype.componentDidMount=function(){var e=this;this.l.forEach((function(t,n){Qa(e,n,t)}))};var rs="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,is=/^(?: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]/,os=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,as=/[A-Z0-9]/g,ss="undefined"!=typeof document,ls=function(e){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/:/fil|che|ra/).test(e)};bo.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach((function(e){Object.defineProperty(bo.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})}));var cs=Zi.event;function us(){}function ds(){return this.cancelBubble}function fs(){return this.defaultPrevented}Zi.event=function(e){return cs&&(e=cs(e)),e.persist=us,e.isPropagationStopped=ds,e.isDefaultPrevented=fs,e.nativeEvent=e};var hs={enumerable:!1,configurable:!0,get:function(){return this.class}},ps=Zi.vnode;Zi.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||ss&&"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||ls(t.type)?"onfocus"===s?o="onfocusin":"onblur"===s?o="onfocusout":os.test(o)&&(o=s):s=o="oninput":i&&is.test(o)?o=o.replace(as,"-$&").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=To(t.children).forEach((function(e){e.props.selected=-1!=r.value.indexOf(e.props.value)}))),"select"==n&&null!=r.defaultValue&&(r.value=To(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",hs)):(t.className&&!t.class||t.class&&t.className)&&(r.class=r.className=t.className),e.props=r}(e),e.$$typeof=rs,ps&&ps(e)};var gs=Zi.__r;Zi.__r=function(e){gs&&gs(e),e.__c};var ms=Zi.diffed;Zi.diffed=function(e){ms&&ms(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 vs(e){return!!e&&e.$$typeof===rs}function bs(e){return vs(e)?Fo.apply(null,arguments):e}var ys=function(e,t){return e(t)},_s=a(4717),ws=a(4818);function xs(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=xs(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function ks(){for(var e,t,n=0,r="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=xs(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 Cs={exports:{}};Cs.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 Ss,Ts,As=Cs.exports,Ms={exports:{}};Ss=Ms,(Ts=Ms.exports).default={svg:{name:"xmlns",uri:"http://www.w3.org/2000/svg"},xlink:{name:"xmlns:xlink",uri:"http://www.w3.org/1999/xlink"}},Ss.exports=Ts.default;var Ls=Ms.exports;const{svg:Es,xlink:Ns}=Ls,Os={[Es.name]:Es.uri,[Ns.name]:Ns.uri};function Rs(e="",t){const n=function(e){return Object.keys(e).map((t=>`${t}="${e[t].toString().replace(/"/g,"&quot;")}"`)).join(" ")}(As(Os,t||{}));return`<svg ${n}>${e}</svg>`}const{svg:Ds,xlink:Ps}=Ls;var Is={attrs:{[Ds.name]:Ds.uri,[Ps.name]:Ps.uri,style:["position: absolute","width: 0","height: 0"].join("; "),"aria-hidden":"true"}};class zs{constructor(e){this.config=As(Is,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 Rs(t,e)}toString(){return this.stringify()}destroy(){this.symbols.forEach((e=>e.destroy()))}}class js{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 Bs(e){const t=!!document.importNode,n=(new DOMParser).parseFromString(e,"image/svg+xml").documentElement;return t?document.importNode(n,!0):n}class Fs extends js{get isMounted(){return!!this.node}static createFromExistingNode(e){return new Fs({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 Bs(Rs(this.stringify())).childNodes[0]}unmount(){this.node.parentNode.removeChild(this.node)}}var Hs={autoConfigure:!0,mountTo:"body",syncUrlsWithBaseTag:!1,listenLocationChangeEvent:!0,locationChangeEvent:"locationChange",locationChangeAngularEmitter:!1,usagesToUpdate:"use[*|href]",moveGradientsOutsideSymbol:!1};function $s(e){return Array.prototype.slice.call(e,0)}function Us(e){return(e||window.location.href).split("#")[0]}function qs(e,t="linearGradient, radialGradient, pattern, mask, clipPath"){return $s(e.querySelectorAll("symbol")).forEach((e=>{$s(e.querySelectorAll(t)).forEach((t=>{e.parentNode.insertBefore(t,e)}))})),e}const Ws=Ls.xlink.uri,Vs="xlink:href",Gs=/[{}|\\\^\[\]`"<>]/g;function Ys(e){return e.replace(Gs,(e=>`%${e[0].charCodeAt(0).toString(16).toUpperCase()}`))}const Xs=["clipPath","colorProfile","src","cursor","fill","filter","marker","markerStart","markerMid","markerEnd","mask","stroke","style"],Zs=Xs.map((e=>`[${e}]`)).join(",");const Ks="mount",Js="symbol_mount",Qs="__SVG_SPRITE_NODE__",el="__SVG_SPRITE__",tl=()=>{const e=document.getElementById(Qs);e?nl.attach(e):nl.mount(document.body,!0)};let nl=new class extends zs{constructor(e={}){super(As(Hs,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(Ks,(()=>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(Ks,(e=>{r.moveGradientsOutsideSymbol&&qs(e)})),t.on(Js,(e=>{r.moveGradientsOutsideSymbol&&qs(e.parentNode),(/msie/i.test(navigator.userAgent)||/trident/i.test(navigator.userAgent)||/edge/i.test(navigator.userAgent))&&function(e){const t=[];$s(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(Js,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(Js,e.node)})),$s(n.querySelectorAll("symbol")).forEach((e=>{const n=Fs.createFromExistingNode(e);n.node=e,t.add(n)})),this._emitter.emit(Ks,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(Ks,i),i}render(){return Bs(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=Ys(n),o=Ys(r),a=function(e,t){return $s(e).reduce(((e,n)=>{if(!n.attributes)return e;const r=$s(n.attributes),i=t?r.filter(t):r;return e.concat(i)}),[])}(e.querySelectorAll(Zs),(({localName:e,value:t})=>-1!==Xs.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){$s(e).forEach((e=>{const r=e.getAttribute(Vs);if(r&&0===r.indexOf(t)){const i=r.replace(t,n);e.setAttributeNS(Ws,Vs,i)}}))}(t,i,o)}(this.node,n,`${Us(e)}#`,`${Us(t)}#`),!0}}({attrs:{id:Qs,"aria-hidden":"true"},autoConfigure:"undefined"!=typeof document,listenLocationChangeEvent:"undefined"!=typeof window});var rl,il,ol,al,sl,ll;"undefined"!=typeof window&&"undefined"!=typeof document&&(window[el]?nl=window[el]:window[el]=nl,document.body?tl():(il=[],al=(ol=document).documentElement.doScroll,sl="DOMContentLoaded",(ll=(al?/^loaded|^c/:/^loaded|^i|^c/).test(ol.readyState))||ol.addEventListener(sl,rl=function(){for(ol.removeEventListener(sl,rl),ll=1;rl=il.shift();)rl()}),function(e){ll?setTimeout(e,0):il.push(e)})(tl));const cl=new Fs({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"});nl.add(cl);const ul=new Fs({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"});nl.add(ul);const dl=new Fs({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"});nl.add(dl);const fl=new Fs({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"});nl.add(fl);const hl=new Fs({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"});nl.add(hl);const pl=new Fs({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"});nl.add(pl);const gl=new Fs({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"});nl.add(gl);const ml=new Fs({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"});nl.add(ml);const vl=new Fs({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"});nl.add(vl);const bl=new Fs({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"});nl.add(bl);const yl=new Fs({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"});nl.add(yl);const _l=new Fs({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"});nl.add(_l);const wl=new Fs({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"});nl.add(wl);const xl=new Fs({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"});nl.add(xl);const kl=new Fs({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"});nl.add(kl);const Cl=new Fs({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"});nl.add(Cl);const Sl=new Fs({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"});nl.add(Sl);const Tl=new Fs({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"});nl.add(Tl);const Al=new Fs({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"});nl.add(Al);const Ml=new Fs({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"});nl.add(Ml);const Ll=new Fs({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"});nl.add(Ll);const El=new Fs({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"});nl.add(El);const Nl=new Fs({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"});nl.add(Nl);const Ol=new Fs({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"});nl.add(Ol);const Rl=new Fs({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"});nl.add(Rl);const Dl=new Fs({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"});nl.add(Dl);const Pl=new Fs({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"});nl.add(Pl);const Il=new Fs({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"});nl.add(Il);const zl=new Fs({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"});nl.add(zl);const jl=new Fs({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"});nl.add(jl);const Bl=new Fs({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"});nl.add(Bl);const Fl=new Fs({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"});nl.add(Fl);const Hl=new Fs({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"});nl.add(Hl);const $l=new Fs({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"});nl.add($l);const Ul=new Fs({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"});nl.add(Ul);const ql=new Fs({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"});nl.add(ql);const Wl=new Fs({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"});nl.add(Wl);const Vl=new Fs({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"});nl.add(Vl);const Gl=new Fs({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"});nl.add(Gl);const Yl=new Fs({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"});nl.add(Yl);const Xl=new Fs({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"});nl.add(Xl);const Zl=new Fs({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"});nl.add(Zl);const Kl=new Fs({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"});nl.add(Kl);const Jl=new Fs({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"});nl.add(Jl);const Ql=new Fs({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"});nl.add(Ql);const ec=new Fs({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"});nl.add(ec);const tc=new Fs({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"});nl.add(tc);const nc=new Fs({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"});nl.add(nc);const rc=new Fs({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"});nl.add(rc);const ic=new Fs({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"});nl.add(ic);const oc=new Fs({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"});nl.add(oc);const ac=new Fs({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"});nl.add(ac);const sc=new Fs({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"});nl.add(sc);const lc=new Fs({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"});nl.add(lc);const cc=new Fs({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"});nl.add(cc);const uc=new Fs({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"});nl.add(uc);const dc=new Fs({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"});nl.add(dc);const fc=new Fs({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"});nl.add(fc);const hc=new Fs({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"});nl.add(hc);const pc=new Fs({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"});nl.add(pc);const gc=new Fs({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"});nl.add(gc);const mc=new Fs({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"});nl.add(mc);const vc=new Fs({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"});nl.add(vc);const bc=new Fs({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"});nl.add(bc);const yc=new Fs({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"});nl.add(yc);const _c=new Fs({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"});nl.add(_c);const wc=new Fs({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"});nl.add(wc);const xc=new Fs({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"});nl.add(xc);const kc=new Fs({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"});nl.add(kc);const Cc=new Fs({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"});nl.add(Cc);const Sc=new Fs({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"});nl.add(Sc);const Tc=new Fs({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"});nl.add(Tc);const Ac=new Fs({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"});nl.add(Ac);const Mc=new Fs({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"});nl.add(Mc);const Lc=new Fs({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"});nl.add(Lc);const Ec=new Fs({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"});nl.add(Ec);const Nc=new Fs({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"});nl.add(Nc);const Oc=new Fs({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"});nl.add(Oc);const Rc=new Fs({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"});nl.add(Rc);const Dc=new Fs({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"});nl.add(Dc);const Pc=new Fs({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"});nl.add(Pc);var Ic={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"},zc=0;function jc(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:--zc,__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 Zi.vnode&&Zi.vnode(c),c}const Bc={amazon:cl.id,arrowsChevronDown:ul.id,azure:dl.id,bitbucket:fl.id,circleci:hl.id,draggable:pl.id,drone:gl.id,environment:ml.id,github:vl.id,gitlab:bl.id,jenkins:yl.id,lineAlertsAlertCircle:_l.id,lineAlertsFixed:wl.id,lineAlertsMalfunctioned:xl.id,lineAlertsNew:kl.id,lineAlertsNotificationBox:Cl.id,lineAlertsRegressed:Sl.id,lineArrowsChevronDown:Al.id,lineArrowsChevronDownDouble:Tl.id,lineArrowsChevronRight:Ml.id,lineArrowsChevronUp:El.id,lineArrowsChevronUpDouble:Ll.id,lineArrowsCornerDownRight:Nl.id,lineArrowsExpand3:Ol.id,lineArrowsRefreshCcw1:Rl.id,lineArrowsSortLineAsc:Dl.id,lineArrowsSortLineDesc:Pl.id,lineArrowsSwitchVertical1:Il.id,lineChartsBarChartSquare:zl.id,lineChartsTimeline:jl.id,lineDevBug2:Bl.id,lineDevCodeSquare:Fl.id,lineDevDataflow3:Hl.id,lineFilesClipboardCheck:$l.id,lineFilesFile2:Ul.id,lineFilesFileAttachment2:ql.id,lineFilesFolder:Wl.id,lineGeneralCheck:Gl.id,lineGeneralCheckCircle:Vl.id,lineGeneralChecklist3:Yl.id,lineGeneralCopy3:Xl.id,lineGeneralDownloadCloud:Zl.id,lineGeneralEqual:Kl.id,lineGeneralEye:Jl.id,lineGeneralHelpCircle:Ql.id,lineGeneralHomeLine:ec.id,lineGeneralInfoCircle:tc.id,lineGeneralLink1:nc.id,lineGeneralLinkExternal:rc.id,lineGeneralMinusCircle:ic.id,lineGeneralSearchMd:oc.id,lineGeneralSettings1:ac.id,lineGeneralXCircle:sc.id,lineGeneralXClose:lc.id,lineGeneralZap:cc.id,lineHelpersFlag:uc.id,lineHelpersPlayCircle:dc.id,lineIconBomb2:fc.id,lineImagesImage:hc.id,lineLayoutsColumn2:pc.id,lineLayoutsLayoutTop:gc.id,lineLayoutsMaximize2:mc.id,lineLayoutsMinimize2:vc.id,lineSecurityKey:bc.id,lineShapesDotCircle:yc.id,lineShapesMoon:_c.id,lineShapesSun:wc.id,lineShapesThemeAuto:xc.id,lineTimeClockStopwatch:kc.id,playwrightLogo:Cc.id,reportLogo:Sc.id,solidAlertCircle:Tc.id,solidCheckCircle:Ac.id,solidHelpCircle:Mc.id,solidMinusCircle:Lc.id,solidPlusCircle:Ec.id,solidXCircle:Nc.id,spinner:Oc.id,testNew:Rc.id,view:Pc.id,viewOff:Dc.id},Fc=({id:e,size:t="s",inline:n=!1,className:r="","data-testid":i,...o})=>jc("svg",{...o,className:ks(Ic.icon,Ic[`size-${t}`],n&&Ic.inline,r),"data-testid":i,children:jc("use",{xlinkHref:`#${e}`})}),Hc=({size:e})=>jc(Fc,{role:"progressbar",id:Oc.id,size:e}),$c=({size:e="m",tag:t="span",type:n="paragraph",bold:r=!1,className:i,children:o,...a})=>"paragraph"===n?jc(t,{...a,className:ks(`paragraphs-text-${e}${r?"-bold":""}`,i),children:o}):"ui"===n?jc(t,{...a,className:ks(`ui-text-${e}-ui${r?"-bold":""}`,i),children:o}):null,Uc=({size:e="m",tag:t="span",type:n="paragraph",bold:r=!1,className:i,children:o,...a})=>"paragraph"===n?jc(t,{...a,className:ks(`paragraphs-code-${e}${r?"-bold":""}`,i),children:o}):"ui"===n?jc(t,{...a,className:ks(`ui-code-${e}-ui${r?"-bold":""}`,i),children:o}):null,qc=({size:e="m",tag:t="span",className:n,children:r,...i})=>jc(t,{...i,className:ks(`headings-head-${e}`,n),children:r});var Wc={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 Vc=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:ks(Wc.button,f&&Wc.buttonIcon,Wc[`size_${s}`],Wc[`icon_size_${i}`],Wc[`style_${l}`],"danger"===c&&Wc.danger,"positive"===c&&Wc.positive,a&&Wc.pending,k&&Wc.textTruncatedButton,u&&Wc.fullWidth,!A&&p&&Wc.active,b),onClick:o,"data-rounded":w||void 0,"data-link":x||void 0,"data-icon-color":"default"===c&&C||void 0},L=jc($c,{type:"ui",size:"s"===s?"s":"m",bold:!0,className:Wc.content,children:[r&&jc(Fc,{size:"s",className:f?Wc.contentIcon:Wc.leadingIcon,id:r}),y&&jc("div",{className:Wc.leadingSlot,children:y}),!f&&jc("span",{ref:S,className:ks(Wc.text,k&&Wc.textTruncated),children:t}),_&&jc("div",{className:Wc.trailingSlot,children:_}),h&&jc(Fc,{id:Bc.lineArrowsChevronDown,size:"s",className:Wc.dropdownIcon}),jc("span",{className:Wc.spinner,"aria-hidden":!a,children:jc(Hc,{})})]});return m?jc("a",{...M,href:m,target:v,"aria-disabled":A?"true":void 0,style:A?{pointerEvents:"none"}:void 0,children:L}):jc("button",{...M,disabled:A,type:n,children:L})},Gc=e=>jc(Vc,{...e}),Yc=e=>jc(Vc,{...e,isIconButton:!0}),Xc=e=>jc(Vc,{...e,isDropdownButton:!0,isActive:e.isExpanded}),Zc=e=>jc(Vc,{...e,href:e.href,target:e.target,isLink:!0}),Kc=Math.min,Jc=Math.max,Qc=Math.round,eu=Math.floor,tu=e=>({x:e,y:e}),nu={left:"right",right:"left",bottom:"top",top:"bottom"},ru={start:"end",end:"start"};function iu(e,t,n){return Jc(e,Kc(t,n))}function ou(e,t){return"function"==typeof e?e(t):e}function au(e){return e.split("-")[0]}function su(e){return e.split("-")[1]}function lu(e){return"x"===e?"y":"x"}function cu(e){return"y"===e?"height":"width"}const uu=new Set(["top","bottom"]);function du(e){return uu.has(au(e))?"y":"x"}function fu(e){return lu(du(e))}function hu(e){return e.replace(/start|end/g,(e=>ru[e]))}const pu=["left","right"],gu=["right","left"],mu=["top","bottom"],vu=["bottom","top"];function bu(e){return e.replace(/left|right|bottom|top/g,(e=>nu[e]))}function yu(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 _u(e,t,n){let{reference:r,floating:i}=e;const o=du(t),a=fu(t),s=cu(a),l=au(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(su(t)){case"start":h[a]-=f*(n&&c?-1:1);break;case"end":h[a]+=f*(n&&c?-1:1)}return h}async function wu(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}=ou(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=yu(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},_=yu(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 xu=new Set(["left","top"]);function ku(){return"undefined"!=typeof window}function Cu(e){return Au(e)?(e.nodeName||"").toLowerCase():"#document"}function Su(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function Tu(e){var t;return null==(t=(Au(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function Au(e){return!!ku()&&(e instanceof Node||e instanceof Su(e).Node)}function Mu(e){return!!ku()&&(e instanceof Element||e instanceof Su(e).Element)}function Lu(e){return!!ku()&&(e instanceof HTMLElement||e instanceof Su(e).HTMLElement)}function Eu(e){return!(!ku()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof Su(e).ShadowRoot)}const Nu=new Set(["inline","contents"]);function Ou(e){const{overflow:t,overflowX:n,overflowY:r,display:i}=qu(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!Nu.has(i)}const Ru=new Set(["table","td","th"]);function Du(e){return Ru.has(Cu(e))}const Pu=[":popover-open",":modal"];function Iu(e){return Pu.some((t=>{try{return e.matches(t)}catch(e){return!1}}))}const zu=["transform","translate","scale","rotate","perspective"],ju=["transform","translate","scale","rotate","perspective","filter"],Bu=["paint","layout","strict","content"];function Fu(e){const t=Hu(),n=Mu(e)?qu(e):e;return zu.some((e=>!!n[e]&&"none"!==n[e]))||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||ju.some((e=>(n.willChange||"").includes(e)))||Bu.some((e=>(n.contain||"").includes(e)))}function Hu(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}const $u=new Set(["html","body","#document"]);function Uu(e){return $u.has(Cu(e))}function qu(e){return Su(e).getComputedStyle(e)}function Wu(e){return Mu(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Vu(e){if("html"===Cu(e))return e;const t=e.assignedSlot||e.parentNode||Eu(e)&&e.host||Tu(e);return Eu(t)?t.host:t}function Gu(e){const t=Vu(e);return Uu(t)?e.ownerDocument?e.ownerDocument.body:e.body:Lu(t)&&Ou(t)?t:Gu(t)}function Yu(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);const i=Gu(e),o=i===(null==(r=e.ownerDocument)?void 0:r.body),a=Su(i);if(o){const e=Xu(a);return t.concat(a,a.visualViewport||[],Ou(i)?i:[],e&&n?Yu(e):[])}return t.concat(i,Yu(i,[],n))}function Xu(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Zu(e){const t=qu(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const i=Lu(e),o=i?e.offsetWidth:n,a=i?e.offsetHeight:r,s=Qc(n)!==o||Qc(r)!==a;return s&&(n=o,r=a),{width:n,height:r,$:s}}function Ku(e){return Mu(e)?e:e.contextElement}function Ju(e){const t=Ku(e);if(!Lu(t))return tu(1);const n=t.getBoundingClientRect(),{width:r,height:i,$:o}=Zu(t);let a=(o?Qc(n.width):n.width)/r,s=(o?Qc(n.height):n.height)/i;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const Qu=tu(0);function ed(e){const t=Su(e);return Hu()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:Qu}function td(e,t,n,r){void 0===t&&(t=!1),void 0===n&&(n=!1);const i=e.getBoundingClientRect(),o=Ku(e);let a=tu(1);t&&(r?Mu(r)&&(a=Ju(r)):a=Ju(e));const s=function(e,t,n){return void 0===t&&(t=!1),!(!n||t&&n!==Su(e))&&t}(o,n,r)?ed(o):tu(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=Su(o),t=r&&Mu(r)?Su(r):r;let n=e,i=Xu(n);for(;i&&r&&t!==n;){const e=Ju(i),t=i.getBoundingClientRect(),r=qu(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=Su(i),i=Xu(n)}}return yu({width:u,height:d,x:l,y:c})}function nd(e,t){const n=Wu(e).scrollLeft;return t?t.left+n:td(Tu(e)).left+n}function rd(e,t){const n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-nd(e,n),y:n.top+t.scrollTop}}const id=new Set(["absolute","fixed"]);function od(e,t,n){let r;if("viewport"===t)r=function(e,t){const n=Su(e),r=Tu(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=Hu();(!e||e&&"fixed"===t)&&(s=i.offsetLeft,l=i.offsetTop)}const c=nd(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=Tu(e),n=Wu(e),r=e.ownerDocument.body,i=Jc(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),o=Jc(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let a=-n.scrollLeft+nd(e);const s=-n.scrollTop;return"rtl"===qu(r).direction&&(a+=Jc(t.clientWidth,r.clientWidth)-i),{width:i,height:o,x:a,y:s}}(Tu(e));else if(Mu(t))r=function(e,t){const n=td(e,!0,"fixed"===t),r=n.top+e.clientTop,i=n.left+e.clientLeft,o=Lu(e)?Ju(e):tu(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=ed(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return yu(r)}function ad(e,t){const n=Vu(e);return!(n===t||!Mu(n)||Uu(n))&&("fixed"===qu(n).position||ad(n,t))}function sd(e,t,n){const r=Lu(t),i=Tu(t),o="fixed"===n,a=td(e,!0,o,t);let s={scrollLeft:0,scrollTop:0};const l=tu(0);function c(){l.x=nd(i)}if(r||!r&&!o)if(("body"!==Cu(t)||Ou(i))&&(s=Wu(t)),r){const e=td(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?tu(0):rd(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 ld(e){return"static"===qu(e).position}function cd(e,t){if(!Lu(e)||"fixed"===qu(e).position)return null;if(t)return t(e);let n=e.offsetParent;return Tu(e)===n&&(n=n.ownerDocument.body),n}function ud(e,t){const n=Su(e);if(Iu(e))return n;if(!Lu(e)){let t=Vu(e);for(;t&&!Uu(t);){if(Mu(t)&&!ld(t))return t;t=Vu(t)}return n}let r=cd(e,t);for(;r&&Du(r)&&ld(r);)r=cd(r,t);return r&&Uu(r)&&ld(r)&&!Fu(r)?n:r||function(e){let t=Vu(e);for(;Lu(t)&&!Uu(t);){if(Fu(t))return t;if(Iu(t))return null;t=Vu(t)}return null}(e)||n}const dd={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e;const o="fixed"===i,a=Tu(r),s=!!t&&Iu(t.floating);if(r===a||s&&o)return n;let l={scrollLeft:0,scrollTop:0},c=tu(1);const u=tu(0),d=Lu(r);if((d||!d&&!o)&&(("body"!==Cu(r)||Ou(a))&&(l=Wu(r)),Lu(r))){const e=td(r);c=Ju(r),u.x=e.x+r.clientLeft,u.y=e.y+r.clientTop}const f=!a||d||o?tu(0):rd(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:Tu,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e;const o="clippingAncestors"===n?Iu(t)?[]:function(e,t){const n=t.get(e);if(n)return n;let r=Yu(e,[],!1).filter((e=>Mu(e)&&"body"!==Cu(e))),i=null;const o="fixed"===qu(e).position;let a=o?Vu(e):e;for(;Mu(a)&&!Uu(a);){const t=qu(a),n=Fu(a);n||"fixed"!==t.position||(i=null),(o?!n&&!i:!n&&"static"===t.position&&i&&id.has(i.position)||Ou(a)&&!n&&ad(e,a))?r=r.filter((e=>e!==a)):i=t,a=Vu(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=od(t,n,i);return e.top=Jc(r.top,e.top),e.right=Kc(r.right,e.right),e.bottom=Kc(r.bottom,e.bottom),e.left=Jc(r.left,e.left),e}),od(t,s,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:ud,getElementRects:async function(e){const t=this.getOffsetParent||ud,n=this.getDimensions,r=await n(e.floating);return{reference:sd(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}=Zu(e);return{width:t,height:n}},getScale:Ju,isElement:Mu,isRTL:function(e){return"rtl"===qu(e).direction}};function fd(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function hd(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=Ku(e),u=i||o?[...c?Yu(c):[],...Yu(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=Tu(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:-eu(d)+"px "+-eu(i.clientWidth-(u+f))+"px "+-eu(i.clientHeight-(d+h))+"px "+-eu(u)+"px",threshold:Jc(0,Kc(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||fd(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?td(e):null;return l&&function t(){const r=td(e);g&&!fd(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 pd=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=au(n),s=su(n),l="y"===du(n),c=xu.has(a)?-1:1,u=o&&l?-1:1,d=ou(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}}}}},gd=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}=ou(e,t),c={x:n,y:r},u=await wu(t,l),d=du(au(i)),f=lu(d);let h=c[f],p=c[d];if(o){const e="y"===f?"bottom":"right";h=iu(h+u["y"===f?"top":"left"],h,h-u[e])}if(a){const e="y"===d?"bottom":"right";p=iu(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}}}}}},md=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}=ou(e,t);if(null!=(n=o.arrow)&&n.alignmentOffset)return{};const v=au(i),b=du(s),y=au(s)===s,_=await(null==l.isRTL?void 0:l.isRTL(c.floating)),w=f||(y||!g?[bu(s)]:function(e){const t=bu(e);return[hu(e),t,hu(t)]}(s)),x="none"!==p;!f&&x&&w.push(...function(e,t,n,r){const i=su(e);let o=function(e,t,n){switch(e){case"top":case"bottom":return n?t?gu:pu:t?pu:gu;case"left":case"right":return t?mu:vu;default:return[]}}(au(e),"start"===n,r);return i&&(o=o.map((e=>e+"-"+i)),t&&(o=o.concat(o.map(hu)))),o}(s,g,p,_));const k=[s,...w],C=await wu(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=su(e),i=fu(e),o=cu(i);let a="x"===i?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[o]>t.floating[o]&&(a=bu(a)),[a,bu(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===du(t)||T.every((e=>du(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=du(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{}}}},vd=(e,t,n)=>{const r=new Map,i={platform:dd,...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}=_u(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}=_u(c,f,l))),n=-1)}return{x:u,y:d,placement:f,strategy:i,middlewareData:h}})(e,t,{...i,platform:o})};const bd=({children:e,"data-testid":t})=>jc("div",{className:"styles_custom-tooltip__2reCz","data-testid":t,children:jc($c,{className:"tooltip-content",size:"s",bold:!0,children:e})}),yd=({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=aa(null),d=aa(null),[f,h]=na(!1),[p,g]=na(e),m=aa(null),v=aa(null);ia((()=>{g(e);const t=()=>{d.current&&u.current&&vd(d.current,u.current,{placement:i,middleware:[pd(6),md(),gd({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?hd(d.current,u.current,t):()=>{}}),[f,i,e]),ia((()=>()=>{m.current&&clearTimeout(m.current)}),[]);const b=n||jc(bd,{"data-testid":c,children:p});return jc("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:[jc("div",{ref:d,children:r}),jc("div",{ref:u,children:f&&b})]})},_d=(e,t={})=>{const{observeResize:n=!0}=t,[r,i]=na(null),[o,a]=na(!1),s=la((e=>{i(e)}),[]);return ia((()=>{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}},wd=e=>{const{source:t,transformData:n=e=>e,renderLoader:r=()=>null,renderError:i=e=>jc("div",{children:e}),renderData:o}=e;return t.value.loading?r():t.value.error?i(t.value.error):o(n(t.value.data))};const xd=()=>jc("div",{className:"styles_page-loader__OFuzd",children:jc(Hc,{size:"m"})});var kd="styles_slot__Grn3c";const Cd=e=>{e.stopPropagation()},Sd=e=>{const{placeholder:t,value:n,onChange:r,changeDebounce:i=300,leadingSlot:o,trailingSlot:a,error:s}=e,[l,c]=na(n),u=aa(null),d=((e,t=300)=>{const n=aa(e);return ia((()=>{n.current=e}),[e]),la(((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 jc($c,{className:"styles_inputWrap__96bWy",type:"ui",size:"m",tag:"div",onClick:()=>u.current?.focus(),"data-invalid":h||void 0,children:[jc("div",{className:"styles_leadingIcon__6Bcbs",children:jc(Fc,{id:oc.id,size:"s"})}),o&&jc("div",{className:kd,onClick:Cd,children:o}),jc("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&&jc("div",{className:kd,onClick:Cd,children:a}),f&&jc("div",{className:"styles_clearButton__SR4Dg",children:jc(Yc,{size:"s",icon:lc.id,onClick:e=>{e.preventDefault(),e.stopPropagation(),c(""),d("")},style:"ghost","data-testid":"clear-button"})})]})};function Td(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 Ad(e,t){this.props=e,this.context=t}(Ad.prototype=new bo).isPureReactComponent=!0,Ad.prototype.shouldComponentUpdate=function(e,t){return Td(this.props,e)||Td(this.state,t)};var Md=Zi.__b;Zi.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),Md&&Md(e)};var Ld=Zi.__e;Zi.__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);Ld(e,t,n,r)};var Ed=Zi.unmount;function Nd(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 Nd(e,t,n)}))),e}function Od(e,t,n){return e&&n&&(e.__v=null,e.__k=e.__k&&e.__k.map((function(e){return Od(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 Rd(){this.__u=0,this.o=null,this.__b=null}function Dd(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function Pd(){this.i=null,this.l=null}Zi.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),Ed&&Ed(e)},(Rd.prototype=new bo).__c=function(e,t){var n=t.__c,r=this;null==r.o&&(r.o=[]),r.o.push(n);var i=Dd(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]=Od(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)},Rd.prototype.componentWillUnmount=function(){this.o=[]},Rd.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]=Nd(this.__b,n,r.__O=r.__P)}this.__b=null}var i=t.__a&&go(vo,null,e.fallback);return i&&(i.__u&=-33),[go(vo,null,t.__a?null:e.children),i]};var Id=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 zd(e){return this.getChildContext=function(){return e.context},e.children}function jd(e){var t=this,n=e.h;if(t.componentWillUnmount=function(){Bo(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)}}}Bo(go(zd,{context:t.context},e.__v),t.v)}function Bd(e,t){var n=go(jd,{__v:e,h:t});return n.containerInfo=t,n}(Pd.prototype=new bo).__a=function(e){var t=this,n=Dd(t.__v),r=t.l.get(e);return r[0]++,function(i){var o=function(){t.props.revealOrder?(r.push(i),Id(t,e,r)):i()};n?n(o):o()}},Pd.prototype.render=function(e){this.i=null,this.l=new Map;var t=To(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},Pd.prototype.componentDidUpdate=Pd.prototype.componentDidMount=function(){var e=this;this.l.forEach((function(t,n){Id(e,n,t)}))};var Fd="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,Hd=/^(?: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]/,$d=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,Ud=/[A-Z0-9]/g,qd="undefined"!=typeof document,Wd=function(e){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/:/fil|che|ra/).test(e)};bo.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach((function(e){Object.defineProperty(bo.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})}));var Vd=Zi.event;function Gd(){}function Yd(){return this.cancelBubble}function Xd(){return this.defaultPrevented}Zi.event=function(e){return Vd&&(e=Vd(e)),e.persist=Gd,e.isPropagationStopped=Yd,e.isDefaultPrevented=Xd,e.nativeEvent=e};var Zd={enumerable:!1,configurable:!0,get:function(){return this.class}},Kd=Zi.vnode;Zi.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||qd&&"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||Wd(t.type)?"onfocus"===s?o="onfocusin":"onblur"===s?o="onfocusout":$d.test(o)&&(o=s):s=o="oninput":i&&Hd.test(o)?o=o.replace(Ud,"-$&").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=To(t.children).forEach((function(e){e.props.selected=-1!=r.value.indexOf(e.props.value)}))),"select"==n&&null!=r.defaultValue&&(r.value=To(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",Zd)):(t.className&&!t.class||t.class&&t.className)&&(r.class=r.className=t.className),e.props=r}(e),e.$$typeof=Fd,Kd&&Kd(e)};var Jd=Zi.__r;Zi.__r=function(e){Jd&&Jd(e),e.__c};var Qd=Zi.diffed;Zi.diffed=function(e){Qd&&Qd(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 ef={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 tf=Ho(null),nf=e=>{const{children:t,menuTrigger:n,menuTriggerWrapper:r="div",size:i="m",isInitialOpened:o=!1,placement:a="bottom-end",...s}=e,[l,c]=na(o),u=aa(null),d=aa(null);return ia((()=>{const e=e=>{"Escape"===e.key&&l&&c(!1)};return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)}}),[l]),ia((()=>{const e=e=>{l&&u.current&&(u.current.contains(e.target)||c(!1))};return l&&document.addEventListener("click",e),()=>{document.removeEventListener("click",e)}}),[l]),ia((()=>{const e=()=>{(u.current||d.current)&&vd(d.current,u.current,{placement:a,middleware:[pd(6),md(),gd({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(),hd(d.current,u.current,e)}),[u.current,d.current]),jc(tf.Provider,{value:{setIsOpened:c},children:jc(vo,{children:["function"==typeof n&&jc(r,{ref:d,children:n({isOpened:l,onClick:()=>{c(!l)},setIsOpened:c})}),Bd(jc("div",{ref:u,...s,children:l&&jc("aside",{className:ks(ef.menu,ef[`size-${i}`]),children:t})}),document.body)]})})};nf.Section=e=>{const{children:t,...n}=e;return jc("ul",{className:ef.section,...n,children:t})},nf.Section.displayName="Menu.Section";const rf=e=>{const{setIsOpened:t}=(()=>{const e=ca(tf);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 jc("li",{className:ef.menuListItem,...c,children:jc($c,{"aria-label":a,type:"paragraph",size:"m",tag:u?"button":"div",className:ks(ef.menuItem,u&&ef.interactive),onClick:e=>{u&&s&&(e.stopPropagation(),t(!1)),u&&r?.()},"data-interactive-menu-item":!!u||void 0,"data-testid":l,children:[d&&jc(Fc,{id:i,className:ef.leadingIcon,size:"m"}),jc("div",{className:ef.content,children:n}),o&&jc("div",{className:ef.right,children:o})]})})};(nf.Item=rf).displayName="Menu.Item",(nf.ItemWithCheckmark=e=>{const{isChecked:t=!1,...n}=e;return jc(rf,{...n,rightSlot:t&&jc(Fc,{className:ef.checkmarkIcon,id:Gl.id})})}).displayName="Menu.ItemWithCheckmark";var of={"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 af=({isOpened:e,buttonSize:t="m",iconSize:n="xs",tag:r="button",className:i,icon:o=Bc.lineArrowsChevronDown,onClick:a,...s})=>jc(r,{...s,className:ks(of["arrow-button"],of[`arrow-button-${t}`]),onClick:a,children:jc(Fc,{id:o,size:n,className:ks({[of["arrow-button-icon--opened"]]:e},of["arrow-button-icon"],of[`icon-size-${n}`],i)})}),sf=["failed","broken","passed","skipped","unknown"],lf=new Set(["failed","broken"]),cf=new Set(["passed"]),uf=new Set([...lf,...cf]),df=e=>{const t=new Set(e);return e=>t.has(e.status)};var ff;df(cf),df(lf),df(uf),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"}(ff||(ff={}));const hf=[{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}],pf=e=>{if(void 0===e)return"unknown";if(e<.5)return"0s";const t=[];for(const{accessor:n,suffix:r}of hf){const i=n(e);if((0!==t.length||i)&&(t.push(i+r),t.length>1))break}return t.join(" ")},gf=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 mf(),i&&r.searchParams.set("live_reload_hash",i),r.toString()})(e,t);return globalThis.fetch(n)},mf=()=>globalThis.allureReportOptions,vf=async({id:e,ext:t,contentType:n})=>gf(`data/attachments/${e||"-"}${t||""}?attachment`,n),bf=async(e,t,n)=>{const r=await vf({id:e,ext:t,contentType:n});return await r.blob()},yf=["text/html","text/csv","text/markdown","text/tab-separated-values","text/uri-list"],_f=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"]),wf=new Set(["text/plain","text/*","text/uri-list"]),xf=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"]),kf=e=>{const t=e.lastIndexOf(".");if(!(t<=0||t===e.length-1))return e.slice(t)},Cf=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}},Sf={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 Tf,Af,Mf;function Lf(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function Ef(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function Nf(){}!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"}(Tf||(Tf={})),function(e){e.Status="status",e.Severity="severity"}(Af||(Af={})),function(e){e.Raw="raw",e.Percent="percent",e.Diverging="diverging"}(Mf||(Mf={})),Tf.CurrentStatus,Tf.StatusDynamics,Tf.TrSeverities,Tf.StatusTransitions,Tf.TestBaseGrowthDynamics,Tf.CoverageDiff,Tf.SuccessRateDistribution,Tf.ProblemsDistribution,Tf.StabilityDistribution,Tf.StabilityDistribution,Tf.StabilityDistribution,Tf.Durations,Tf.Durations,Tf.DurationDynamics,Tf.StatusAgePyramid,Tf.TestingPyramid;var Of=.7,Rf=1/Of,Df="\\s*([+-]?\\d+)\\s*",Pf="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",If="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",zf=/^#([0-9a-f]{3,8})$/,jf=new RegExp(`^rgb\\(${Df},${Df},${Df}\\)$`),Bf=new RegExp(`^rgb\\(${If},${If},${If}\\)$`),Ff=new RegExp(`^rgba\\(${Df},${Df},${Df},${Pf}\\)$`),Hf=new RegExp(`^rgba\\(${If},${If},${If},${Pf}\\)$`),$f=new RegExp(`^hsl\\(${Pf},${If},${If}\\)$`),Uf=new RegExp(`^hsla\\(${Pf},${If},${If},${Pf}\\)$`),qf={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 Wf(){return this.rgb().formatHex()}function Vf(){return this.rgb().formatRgb()}function Gf(e){var t,n;return e=(e+"").trim().toLowerCase(),(t=zf.exec(e))?(n=t[1].length,t=parseInt(t[1],16),6===n?Yf(t):3===n?new Jf(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===n?Xf(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===n?Xf(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=jf.exec(e))?new Jf(t[1],t[2],t[3],1):(t=Bf.exec(e))?new Jf(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=Ff.exec(e))?Xf(t[1],t[2],t[3],t[4]):(t=Hf.exec(e))?Xf(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=$f.exec(e))?ih(t[1],t[2]/100,t[3]/100,1):(t=Uf.exec(e))?ih(t[1],t[2]/100,t[3]/100,t[4]):qf.hasOwnProperty(e)?Yf(qf[e]):"transparent"===e?new Jf(NaN,NaN,NaN,0):null}function Yf(e){return new Jf(e>>16&255,e>>8&255,255&e,1)}function Xf(e,t,n,r){return r<=0&&(e=t=n=NaN),new Jf(e,t,n,r)}function Zf(e){return e instanceof Nf||(e=Gf(e)),e?new Jf((e=e.rgb()).r,e.g,e.b,e.opacity):new Jf}function Kf(e,t,n,r){return 1===arguments.length?Zf(e):new Jf(e,t,n,null==r?1:r)}function Jf(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function Qf(){return`#${rh(this.r)}${rh(this.g)}${rh(this.b)}`}function eh(){const e=th(this.opacity);return`${1===e?"rgb(":"rgba("}${nh(this.r)}, ${nh(this.g)}, ${nh(this.b)}${1===e?")":`, ${e})`}`}function th(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function nh(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function rh(e){return((e=nh(e))<16?"0":"")+e.toString(16)}function ih(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new ah(e,t,n,r)}function oh(e){if(e instanceof ah)return new ah(e.h,e.s,e.l,e.opacity);if(e instanceof Nf||(e=Gf(e)),!e)return new ah;if(e instanceof ah)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 ah(a,s,l,e.opacity)}function ah(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function sh(e){return(e=(e||0)%360)<0?e+360:e}function lh(e){return Math.max(0,Math.min(1,e||0))}function ch(e,t,n){return 255*(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)}Lf(Nf,Gf,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:Wf,formatHex:Wf,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return oh(this).formatHsl()},formatRgb:Vf,toString:Vf}),Lf(Jf,Kf,Ef(Nf,{brighter(e){return e=null==e?Rf:Math.pow(Rf,e),new Jf(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=null==e?Of:Math.pow(Of,e),new Jf(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new Jf(nh(this.r),nh(this.g),nh(this.b),th(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:Qf,formatHex:Qf,formatHex8:function(){return`#${rh(this.r)}${rh(this.g)}${rh(this.b)}${rh(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:eh,toString:eh})),Lf(ah,(function(e,t,n,r){return 1===arguments.length?oh(e):new ah(e,t,n,null==r?1:r)}),Ef(Nf,{brighter(e){return e=null==e?Rf:Math.pow(Rf,e),new ah(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=null==e?Of:Math.pow(Of,e),new ah(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 Jf(ch(e>=240?e-240:e+120,i,r),ch(e,i,r),ch(e<120?e+240:e-120,i,r),this.opacity)},clamp(){return new ah(sh(this.h),lh(this.s),lh(this.l),th(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=th(this.opacity);return`${1===e?"hsl(":"hsla("}${sh(this.h)}, ${100*lh(this.s)}%, ${100*lh(this.l)}%${1===e?")":`, ${e})`}`}}));const uh=Math.PI/180,dh=180/Math.PI;var fh=-.14861,hh=1.78277,ph=-.29227,gh=-.90649,mh=1.97294,vh=mh*gh,bh=mh*hh,yh=hh*ph-gh*fh;function _h(e,t,n,r){return 1===arguments.length?function(e){if(e instanceof wh)return new wh(e.h,e.s,e.l,e.opacity);e instanceof Jf||(e=Zf(e));var t=e.r/255,n=e.g/255,r=e.b/255,i=(yh*r+vh*t-bh*n)/(yh+vh-bh),o=r-i,a=(mh*(n-i)-ph*o)/gh,s=Math.sqrt(a*a+o*o)/(mh*i*(1-i)),l=s?Math.atan2(a,o)*dh-120:NaN;return new wh(l<0?l+360:l,s,i,e.opacity)}(e):new wh(e,t,n,null==r?1:r)}function wh(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}Lf(wh,_h,Ef(Nf,{brighter(e){return e=null==e?Rf:Math.pow(Rf,e),new wh(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=null==e?Of:Math.pow(Of,e),new wh(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=isNaN(this.h)?0:(this.h+120)*uh,t=+this.l,n=isNaN(this.s)?0:this.s*t*(1-t),r=Math.cos(e),i=Math.sin(e);return new Jf(255*(t+n*(fh*r+hh*i)),255*(t+n*(ph*r+gh*i)),255*(t+n*(mh*r)),this.opacity)}}));var xh=e=>()=>e;function kh(e,t){return function(n){return e+n*t}}function Ch(e,t){var n=t-e;return n?kh(e,n):xh(isNaN(e)?t:e)}var Sh,Th=function e(t){var n=function(e){return 1==(e=+e)?Ch: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):xh(isNaN(t)?n:t)}}(t);function r(e,t){var r=n((e=Kf(e)).r,(t=Kf(t)).r),i=n(e.g,t.g),o=n(e.b,t.b),a=Ch(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),Ah=(Sh=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=Kf(e[t]),i[t]=n.r||0,o[t]=n.g||0,a[t]=n.b||0;return i=Sh(i),o=Sh(o),a=Sh(a),n.opacity=1,function(e){return n.r=i(e),n.g=o(e),n.b=a(e),n+""}});function Mh(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 Lh(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]=Ih(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 Eh(e,t){var n=new Date;return e=+e,t=+t,function(r){return n.setTime(e*(1-r)+t*r),n}}function Nh(e,t){return e=+e,t=+t,function(n){return e*(1-n)+t*n}}function Oh(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]=Ih(e[n],t[n]):i[n]=t[n];return function(e){for(n in r)i[n]=r[n](e);return i}}var Rh=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,Dh=new RegExp(Rh.source,"g");function Ph(e,t){var n,r,i,o=Rh.lastIndex=Dh.lastIndex=0,a=-1,s=[],l=[];for(e+="",t+="";(n=Rh.exec(e))&&(r=Dh.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:Nh(n,r)})),o=Dh.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 Ih(e,t){var n,r=typeof t;return null==t||"boolean"===r?xh(t):("number"===r?Nh:"string"===r?(n=Gf(t))?(t=n,Th):Ph:t instanceof Gf?Th:t instanceof Date?Eh:function(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}(t)?Mh:Array.isArray(t)?Lh:"function"!=typeof t.valueOf&&"function"!=typeof t.toString||isNaN(t)?Oh:Nh)(e,t)}function zh(e,t){return e=+e,t=+t,function(n){return Math.round(e*(1-n)+t*n)}}var jh,Bh=180/Math.PI,Fh={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function Hh(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)*Bh,skewX:Math.atan(l)*Bh,scaleX:a,scaleY:s}}function $h(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:Nh(e,i)},{i:l-2,x:Nh(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:Nh(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:Nh(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:Nh(e,n)},{i:s-2,x:Nh(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 Uh=$h((function(e){const t=new("function"==typeof DOMMatrix?DOMMatrix:WebKitCSSMatrix)(e+"");return t.isIdentity?Fh:Hh(t.a,t.b,t.c,t.d,t.e,t.f)}),"px, ","px)","deg)"),qh=$h((function(e){return null==e?Fh:(jh||(jh=document.createElementNS("http://www.w3.org/2000/svg","g")),jh.setAttribute("transform",e),(e=jh.transform.baseVal.consolidate())?Hh((e=e.matrix).a,e.b,e.c,e.d,e.e,e.f):Fh)}),", ",")",")");function Wh(e){return function t(n){function r(t,r){var i=e((t=_h(t)).h,(r=_h(r)).h),o=Ch(t.s,r.s),a=Ch(t.l,r.l),s=Ch(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)}Wh((function(e,t){var n=t-e;return n?kh(e,n>180||n<-180?n-360*Math.round(n/360):n):xh(isNaN(e)?t:e)}));var Vh=Wh(Ch);function Gh(e,t){return null==e||null==t?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function Yh(e,t){return null==e||null==t?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function Xh(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=Gh,n=(t,n)=>Gh(e(t),n),r=(t,n)=>e(t)-n):(t=e===Gh||e===Yh?e:Zh,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 Zh(){return 0}const Kh=Xh(Gh).right;Xh((function(e){return null===e?NaN:+e})).center;class Jh extends Map{constructor(e,t=ep){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(Qh(this,e))}has(e){return super.has(Qh(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 Qh({_intern:e,_key:t},n){const r=t(n);return e.has(r)?e.get(r):n}function ep(e){return null!==e&&"object"==typeof e?e.valueOf():e}const tp=Math.sqrt(50),np=Math.sqrt(10),rp=Math.sqrt(2);function ip(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>=tp?10:o>=np?5:o>=rp?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?ip(e,t,2*n):[s,l,c]}function op(e,t,n){if(!((n=+n)>0))return[];if((e=+e)==(t=+t))return[e];const r=t<e,[i,o,a]=r?ip(t,e,n):ip(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 ap(e,t,n){return ip(e=+e,t=+t,n=+n)[2]}function sp(e,t,n){n=+n;const r=(t=+t)<(e=+e),i=r?ap(t,e,n):ap(e,t,n);return(r?-1:1)*(i<0?1/-i:i)}function lp(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 cp(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 up(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e)}return this}function dp(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 fp=Symbol("implicit");function hp(){var e=new Jh,t=[],n=[],r=fp;function i(i){let o=e.get(i);if(void 0===o){if(r!==fp)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 Jh;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 hp(t,n).unknown(r)},up.apply(i,arguments),i}function pp(){var e,t,n=hp().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 pp(r(),[o,a]).round(s).paddingInner(l).paddingOuter(c).align(u)},up.apply(d(),arguments)}function gp(e){var t=e.copy;return e.padding=e.paddingOuter,delete e.paddingInner,delete e.paddingOuter,e.copy=function(){return gp(t())},e}function mp(){return gp(pp.apply(null,arguments).paddingInner(1))}function vp(e){return+e}var bp=[0,1];function yp(e){return e}function _p(e,t){return(t-=e=+e)?function(n){return(n-e)/t}:function(e){return function(){return e}}(isNaN(t)?NaN:.5)}function wp(e,t,n){var r=e[0],i=e[1],o=t[0],a=t[1];return i<r?(r=_p(i,r),o=n(a,o)):(r=_p(r,i),o=n(o,a)),function(e){return o(r(e))}}function xp(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]=_p(e[a],e[a+1]),o[a]=n(t[a],t[a+1]);return function(t){var n=Kh(e,t,1,r)-1;return o[n](i[n](t))}}function kp(e,t){return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown())}function Cp(){var e,t,n,r,i,o,a=bp,s=bp,l=Ih,c=yp;function u(){var e=Math.min(a.length,s.length);return c!==yp&&(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?xp:wp,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),Nh)))(n)))},d.domain=function(e){return arguments.length?(a=Array.from(e,vp),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=zh,u()},d.clamp=function(e){return arguments.length?(c=!!e||yp,u()):c!==yp},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 Sp(){return Cp()(yp,yp)}function Tp(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 Ap(e){return(e=Tp(Math.abs(e)))?e[1]:NaN}var Mp,Lp=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function Ep(e){if(!(t=Lp.exec(e)))throw new Error("invalid format: "+e);var t;return new Np({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 Np(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 Op(e,t){var n=Tp(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")}Ep.prototype=Np.prototype,Np.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 Rp={"%":(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)=>Op(100*e,t),r:Op,s:function(e,t){var n=Tp(e,t);if(!n)return e+"";var r=n[0],i=n[1],o=i-(Mp=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")+Tp(e,Math.max(0,t+o-1))[0]},X:e=>Math.round(e).toString(16).toUpperCase(),x:e=>Math.round(e).toString(16)};function Dp(e){return e}var Pp,Ip,zp,jp=Array.prototype.map,Bp=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function Fp(e){var t=e.domain;return e.ticks=function(e){var n=t();return op(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=sp(e,t,n);switch((r=Ep(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(Ap(t)/3)))-Ap(Math.abs(e)))}(o,a))||(r.precision=i),zp(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,Ap(t)-Ap(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,-Ap(Math.abs(e)))}(o))||(r.precision=i-2*("%"===r.type))}return Ip(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=ap(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 Hp(){var e=Sp();return e.copy=function(){return kp(e,Hp())},up.apply(e,arguments),Fp(e)}function $p(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 Up(e){return Math.log(e)}function qp(e){return Math.exp(e)}function Wp(e){return-Math.log(-e)}function Vp(e){return-Math.exp(-e)}function Gp(e){return isFinite(e)?+("1e"+e):e<0?0:e}function Yp(e){return(t,n)=>-e(-t,n)}function Xp(){const e=function(e){const t=e(Up,qp),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?Gp:e===Math.E?Math.exp:t=>Math.pow(e,t)}(o),n()[0]<0?(r=Yp(r),i=Yp(i),e(Wp,Vp)):e(Up,qp),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=op(a,s,h))}else p=op(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=Ep(n)).precision||(n.trim=!0),n=Ip(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($p(n(),{floor:e=>i(Math.floor(r(e))),ceil:e=>i(Math.ceil(r(e)))})),t}(Cp()).domain([1,10]);return e.copy=()=>kp(e,Xp()).base(e.base()),up.apply(e,arguments),e}function Zp(e){return function(t){return Math.sign(t)*Math.log1p(Math.abs(t/e))}}function Kp(e){return function(t){return Math.sign(t)*Math.expm1(Math.abs(t))*e}}function Jp(){var e=function(e){var t=1,n=e(Zp(t),Kp(t));return n.constant=function(n){return arguments.length?e(Zp(t=+n),Kp(t)):t},Fp(n)}(Cp());return e.copy=function(){return kp(e,Jp()).constant(e.constant())},up.apply(e,arguments)}function Qp(){var e,t=0,n=1,r=1,i=[.5],o=[0,1];function a(t){return null!=t&&t<=t?o[Kh(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 Qp().domain([t,n]).range(o).unknown(e)},up.apply(Fp(a),arguments)}Pp=function(e){var t,n,r=void 0===e.grouping||void 0===e.thousands?Dp:(t=jp.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?Dp:function(e){return function(t){return t.replace(/[0-9]/g,(function(t){return e[+t]}))}}(jp.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=Ep(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"):Rp[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=Rp[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?Bp[8+Mp/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=Ep(e)).type="f",e)),r=3*Math.max(-8,Math.min(8,Math.floor(Ap(t)/3))),i=Math.pow(10,-r),o=Bp[8+r/3];return function(e){return n(i*e)+o}}}}({thousands:",",grouping:[3],currency:["$",""]}),Ip=Pp.format,zp=Pp.formatPrefix;const eg=new Date,tg=new Date;function ng(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=>ng((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)=>(eg.setTime(+t),tg.setTime(+r),e(eg),e(tg),Math.floor(n(eg,tg))),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 rg=ng((()=>{}),((e,t)=>{e.setTime(+e+t)}),((e,t)=>t-e));rg.every=e=>(e=Math.floor(e),isFinite(e)&&e>0?e>1?ng((t=>{t.setTime(Math.floor(t/e)*e)}),((t,n)=>{t.setTime(+t+n*e)}),((t,n)=>(n-t)/e)):rg:null),rg.range;const ig=1e3,og=6e4,ag=36e5,sg=864e5,lg=6048e5,cg=31536e6,ug=ng((e=>{e.setTime(e-e.getMilliseconds())}),((e,t)=>{e.setTime(+e+t*ig)}),((e,t)=>(t-e)/ig),(e=>e.getUTCSeconds()));ug.range;const dg=ng((e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*ig)}),((e,t)=>{e.setTime(+e+t*og)}),((e,t)=>(t-e)/og),(e=>e.getMinutes()));dg.range;const fg=ng((e=>{e.setUTCSeconds(0,0)}),((e,t)=>{e.setTime(+e+t*og)}),((e,t)=>(t-e)/og),(e=>e.getUTCMinutes()));fg.range;const hg=ng((e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*ig-e.getMinutes()*og)}),((e,t)=>{e.setTime(+e+t*ag)}),((e,t)=>(t-e)/ag),(e=>e.getHours()));hg.range;const pg=ng((e=>{e.setUTCMinutes(0,0,0)}),((e,t)=>{e.setTime(+e+t*ag)}),((e,t)=>(t-e)/ag),(e=>e.getUTCHours()));pg.range;const gg=ng((e=>e.setHours(0,0,0,0)),((e,t)=>e.setDate(e.getDate()+t)),((e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*og)/sg),(e=>e.getDate()-1));gg.range;const mg=ng((e=>{e.setUTCHours(0,0,0,0)}),((e,t)=>{e.setUTCDate(e.getUTCDate()+t)}),((e,t)=>(t-e)/sg),(e=>e.getUTCDate()-1));mg.range;const vg=ng((e=>{e.setUTCHours(0,0,0,0)}),((e,t)=>{e.setUTCDate(e.getUTCDate()+t)}),((e,t)=>(t-e)/sg),(e=>Math.floor(e/sg)));function bg(e){return ng((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())*og)/lg))}vg.range;const yg=bg(0),_g=bg(1),wg=bg(2),xg=bg(3),kg=bg(4),Cg=bg(5),Sg=bg(6);function Tg(e){return ng((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)/lg))}yg.range,_g.range,wg.range,xg.range,kg.range,Cg.range,Sg.range;const Ag=Tg(0),Mg=Tg(1),Lg=Tg(2),Eg=Tg(3),Ng=Tg(4),Og=Tg(5),Rg=Tg(6);Ag.range,Mg.range,Lg.range,Eg.range,Ng.range,Og.range,Rg.range;const Dg=ng((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()));Dg.range;const Pg=ng((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()));Pg.range;const Ig=ng((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()));Ig.every=e=>isFinite(e=Math.floor(e))&&e>0?ng((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,Ig.range;const zg=ng((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 jg(e,t,n,r,i,o){const a=[[ug,1,ig],[ug,5,5e3],[ug,15,15e3],[ug,30,3e4],[o,1,og],[o,5,3e5],[o,15,9e5],[o,30,18e5],[i,1,ag],[i,3,108e5],[i,6,216e5],[i,12,432e5],[r,1,sg],[r,2,1728e5],[n,1,lg],[t,1,2592e6],[t,3,7776e6],[e,1,cg]];function s(t,n,r){const i=Math.abs(n-t)/r,o=Xh((([,,e])=>e)).right(a,i);if(o===a.length)return e.every(sp(t/cg,n/cg,r));if(0===o)return rg.every(Math.max(sp(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]}zg.every=e=>isFinite(e=Math.floor(e))&&e>0?ng((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,zg.range;const[Bg,Fg]=jg(zg,Pg,Ag,vg,pg,fg),[Hg,$g]=jg(Ig,Dg,yg,gg,hg,dg);function Ug(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 qg(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 Wg(e,t,n){return{y:e,m:t,d:n,H:0,M:0,S:0,L:0}}var Vg,Gg,Yg,Xg,Zg={"-":"",_:" ",0:"0"},Kg=/^\s*\d+/,Jg=/^%/,Qg=/[\\^$*+?|[\]().{}]/g;function em(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 tm(e){return e.replace(Qg,"\\$&")}function nm(e){return new RegExp("^(?:"+e.map(tm).join("|")+")","i")}function rm(e){return new Map(e.map(((e,t)=>[e.toLowerCase(),t])))}function im(e,t,n){var r=Kg.exec(t.slice(n,n+1));return r?(e.w=+r[0],n+r[0].length):-1}function om(e,t,n){var r=Kg.exec(t.slice(n,n+1));return r?(e.u=+r[0],n+r[0].length):-1}function am(e,t,n){var r=Kg.exec(t.slice(n,n+2));return r?(e.U=+r[0],n+r[0].length):-1}function sm(e,t,n){var r=Kg.exec(t.slice(n,n+2));return r?(e.V=+r[0],n+r[0].length):-1}function lm(e,t,n){var r=Kg.exec(t.slice(n,n+2));return r?(e.W=+r[0],n+r[0].length):-1}function cm(e,t,n){var r=Kg.exec(t.slice(n,n+4));return r?(e.y=+r[0],n+r[0].length):-1}function um(e,t,n){var r=Kg.exec(t.slice(n,n+2));return r?(e.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function dm(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 fm(e,t,n){var r=Kg.exec(t.slice(n,n+1));return r?(e.q=3*r[0]-3,n+r[0].length):-1}function hm(e,t,n){var r=Kg.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function pm(e,t,n){var r=Kg.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function gm(e,t,n){var r=Kg.exec(t.slice(n,n+3));return r?(e.m=0,e.d=+r[0],n+r[0].length):-1}function mm(e,t,n){var r=Kg.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function vm(e,t,n){var r=Kg.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function bm(e,t,n){var r=Kg.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function ym(e,t,n){var r=Kg.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function _m(e,t,n){var r=Kg.exec(t.slice(n,n+6));return r?(e.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function wm(e,t,n){var r=Jg.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function xm(e,t,n){var r=Kg.exec(t.slice(n));return r?(e.Q=+r[0],n+r[0].length):-1}function km(e,t,n){var r=Kg.exec(t.slice(n));return r?(e.s=+r[0],n+r[0].length):-1}function Cm(e,t){return em(e.getDate(),t,2)}function Sm(e,t){return em(e.getHours(),t,2)}function Tm(e,t){return em(e.getHours()%12||12,t,2)}function Am(e,t){return em(1+gg.count(Ig(e),e),t,3)}function Mm(e,t){return em(e.getMilliseconds(),t,3)}function Lm(e,t){return Mm(e,t)+"000"}function Em(e,t){return em(e.getMonth()+1,t,2)}function Nm(e,t){return em(e.getMinutes(),t,2)}function Om(e,t){return em(e.getSeconds(),t,2)}function Rm(e){var t=e.getDay();return 0===t?7:t}function Dm(e,t){return em(yg.count(Ig(e)-1,e),t,2)}function Pm(e){var t=e.getDay();return t>=4||0===t?kg(e):kg.ceil(e)}function Im(e,t){return e=Pm(e),em(kg.count(Ig(e),e)+(4===Ig(e).getDay()),t,2)}function zm(e){return e.getDay()}function jm(e,t){return em(_g.count(Ig(e)-1,e),t,2)}function Bm(e,t){return em(e.getFullYear()%100,t,2)}function Fm(e,t){return em((e=Pm(e)).getFullYear()%100,t,2)}function Hm(e,t){return em(e.getFullYear()%1e4,t,4)}function $m(e,t){var n=e.getDay();return em((e=n>=4||0===n?kg(e):kg.ceil(e)).getFullYear()%1e4,t,4)}function Um(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+em(t/60|0,"0",2)+em(t%60,"0",2)}function qm(e,t){return em(e.getUTCDate(),t,2)}function Wm(e,t){return em(e.getUTCHours(),t,2)}function Vm(e,t){return em(e.getUTCHours()%12||12,t,2)}function Gm(e,t){return em(1+mg.count(zg(e),e),t,3)}function Ym(e,t){return em(e.getUTCMilliseconds(),t,3)}function Xm(e,t){return Ym(e,t)+"000"}function Zm(e,t){return em(e.getUTCMonth()+1,t,2)}function Km(e,t){return em(e.getUTCMinutes(),t,2)}function Jm(e,t){return em(e.getUTCSeconds(),t,2)}function Qm(e){var t=e.getUTCDay();return 0===t?7:t}function ev(e,t){return em(Ag.count(zg(e)-1,e),t,2)}function tv(e){var t=e.getUTCDay();return t>=4||0===t?Ng(e):Ng.ceil(e)}function nv(e,t){return e=tv(e),em(Ng.count(zg(e),e)+(4===zg(e).getUTCDay()),t,2)}function rv(e){return e.getUTCDay()}function iv(e,t){return em(Mg.count(zg(e)-1,e),t,2)}function ov(e,t){return em(e.getUTCFullYear()%100,t,2)}function av(e,t){return em((e=tv(e)).getUTCFullYear()%100,t,2)}function sv(e,t){return em(e.getUTCFullYear()%1e4,t,4)}function lv(e,t){var n=e.getUTCDay();return em((e=n>=4||0===n?Ng(e):Ng.ceil(e)).getUTCFullYear()%1e4,t,4)}function cv(){return"+0000"}function uv(){return"%"}function dv(e){return+e}function fv(e){return Math.floor(+e/1e3)}function hv(e){return new Date(e)}function pv(e){return e instanceof Date?+e:+new Date(+e)}function gv(e,t,n,r,i,o,a,s,l,c){var u=Sp(),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,pv)):f().map(hv)},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($p(n,e)):u},u.copy=function(){return kp(u,gv(e,t,n,r,i,o,a,s,l,c))},u}function mv(){return up.apply(gv(Bg,Fg,zg,Pg,Ag,mg,pg,fg,ug,Yg).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)}function vv(e,t){return t.domain(e.domain()).interpolator(e.interpolator()).clamp(e.clamp()).unknown(e.unknown())}function bv(){var e=Fp(function(){var e,t,n,r,i,o=0,a=1,s=yp,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(Ih),c.rangeRound=u(zh),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}}()(yp));return e.copy=function(){return vv(e,bv())},dp.apply(e,arguments)}function yv(){var e=Fp(function(){var e,t,n,r,i,o,a,s=0,l=.5,c=1,u=1,d=yp,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=Ih);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(Ih),h.rangeRound=p(zh),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}}()(yp));return e.copy=function(){return vv(e,yv())},dp.apply(e,arguments)}function _v(e){return function(){return e}}Vg=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=nm(i),u=rm(i),d=nm(o),f=rm(o),h=nm(a),p=rm(a),g=nm(s),m=rm(s),v=nm(l),b=rm(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:Cm,e:Cm,f:Lm,g:Fm,G:$m,H:Sm,I:Tm,j:Am,L:Mm,m:Em,M:Nm,p:function(e){return i[+(e.getHours()>=12)]},q:function(e){return 1+~~(e.getMonth()/3)},Q:dv,s:fv,S:Om,u:Rm,U:Dm,V:Im,w:zm,W:jm,x:null,X:null,y:Bm,Y:Hm,Z:Um,"%":uv},_={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:qm,e:qm,f:Xm,g:av,G:lv,H:Wm,I:Vm,j:Gm,L:Ym,m:Zm,M:Km,p:function(e){return i[+(e.getUTCHours()>=12)]},q:function(e){return 1+~~(e.getUTCMonth()/3)},Q:dv,s:fv,S:Jm,u:Qm,U:ev,V:nv,w:rv,W:iv,x:null,X:null,y:ov,Y:sv,Z:cv,"%":uv},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:pm,e:pm,f:_m,g:um,G:cm,H:mm,I:mm,j:gm,L:ym,m:hm,M:vm,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:fm,Q:xm,s:km,S:bm,u:om,U:am,V:sm,w:im,W:lm,x:function(e,t,r){return C(e,n,t,r)},X:function(e,t,n){return C(e,r,t,n)},y:um,Y:cm,Z:dm,"%":wm};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=Zg[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=Wg(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=qg(Wg(o.y,0,1))).getUTCDay(),r=i>4||0===i?Mg.ceil(r):Mg(r),r=mg.offset(r,7*(o.V-1)),o.y=r.getUTCFullYear(),o.m=r.getUTCMonth(),o.d=r.getUTCDate()+(o.w+6)%7):(i=(r=Ug(Wg(o.y,0,1))).getDay(),r=i>4||0===i?_g.ceil(r):_g(r),r=gg.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?qg(Wg(o.y,0,1)).getUTCDay():Ug(Wg(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,qg(o)):Ug(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 Zg?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"]}),Gg=Vg.format,Vg.parse,Yg=Vg.utcFormat,Vg.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"}(Xg||(Xg={}));const wv=Math.abs,xv=Math.atan2,kv=Math.cos,Cv=Math.max,Sv=Math.min,Tv=Math.sin,Av=Math.sqrt,Mv=1e-12,Lv=Math.PI,Ev=Lv/2,Nv=2*Lv;function Ov(e){return e>=1?Ev:e<=-1?-Ev:Math.asin(e)}const Rv=Math.PI,Dv=2*Rv,Pv=1e-6,Iv=Dv-Pv;function zv(e){this._+=e[0];for(let t=1,n=e.length;t<n;++t)this._+=arguments[t]+e[t]}let jv=class{constructor(e){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=null==e?zv:function(e){let t=Math.floor(e);if(!(t>=0))throw new Error(`invalid digits: ${e}`);if(t>15)return zv;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>Pv)if(Math.abs(u*s-l*c)>Pv&&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((Rv-Math.acos((p+d-g)/(2*m*v)))/2),y=b/v,_=b/m;Math.abs(y-1)>Pv&&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)>Pv||Math.abs(this._y1-c)>Pv)&&this._append`L${l},${c}`,n&&(d<0&&(d=d%Dv+Dv),d>Iv?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>Pv&&this._append`A${n},${n},0,${+(d>=Rv)},${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 Bv(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 jv(t)}function Fv(e){return e.innerRadius}function Hv(e){return e.outerRadius}function $v(e){return e.startAngle}function Uv(e){return e.endAngle}function qv(e){return e&&e.padAngle}function Wv(e,t,n,r,i,o,a){var s=e-n,l=t-r,c=(a?o:-o)/Av(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)*Av(Cv(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 Vv(){var e=Fv,t=Hv,n=_v(0),r=null,i=$v,o=Uv,a=qv,s=null,l=Bv(c);function c(){var c,u,d=+e.apply(this,arguments),f=+t.apply(this,arguments),h=i.apply(this,arguments)-Ev,p=o.apply(this,arguments)-Ev,g=wv(p-h),m=p>h;if(s||(s=c=l()),f<d&&(u=f,f=d,d=u),f>Mv)if(g>Nv-Mv)s.moveTo(f*kv(h),f*Tv(h)),s.arc(0,0,f,h,p,!m),d>Mv&&(s.moveTo(d*kv(p),d*Tv(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>Mv&&(r?+r.apply(this,arguments):Av(d*d+f*f)),A=Sv(wv(f-d)/2,+n.apply(this,arguments)),M=A,L=A;if(T>Mv){var E=Ov(T/d*Tv(S)),N=Ov(T/f*Tv(S));(k-=2*E)>Mv?(w+=E*=m?1:-1,x-=E):(k=0,w=x=(h+p)/2),(C-=2*N)>Mv?(y+=N*=m?1:-1,_-=N):(C=0,y=_=(h+p)/2)}var O=f*kv(y),R=f*Tv(y),D=d*kv(x),P=d*Tv(x);if(A>Mv){var I,z=f*kv(_),j=f*Tv(_),B=d*kv(w),F=d*Tv(w);if(g<Lv)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<Mv))return[e+(f=(u*(t-o)-d*(e-i))/f)*l,t+f*c]}(O,R,B,F,z,j,D,P)){var H=O-I[0],$=R-I[1],U=z-I[0],q=j-I[1],W=1/Tv(function(e){return e>1?0:e<-1?Lv:Math.acos(e)}((H*U+$*q)/(Av(H*H+$*$)*Av(U*U+q*q)))/2),V=Av(I[0]*I[0]+I[1]*I[1]);M=Sv(A,(d-V)/(W-1)),L=Sv(A,(f-V)/(W+1))}else M=L=0}C>Mv?L>Mv?(v=Wv(B,F,O,R,f,L,m),b=Wv(z,j,D,P,f,L,m),s.moveTo(v.cx+v.x01,v.cy+v.y01),L<A?s.arc(v.cx,v.cy,L,xv(v.y01,v.x01),xv(b.y01,b.x01),!m):(s.arc(v.cx,v.cy,L,xv(v.y01,v.x01),xv(v.y11,v.x11),!m),s.arc(0,0,f,xv(v.cy+v.y11,v.cx+v.x11),xv(b.cy+b.y11,b.cx+b.x11),!m),s.arc(b.cx,b.cy,L,xv(b.y11,b.x11),xv(b.y01,b.x01),!m))):(s.moveTo(O,R),s.arc(0,0,f,y,_,!m)):s.moveTo(O,R),d>Mv&&k>Mv?M>Mv?(v=Wv(D,P,z,j,d,-M,m),b=Wv(O,R,B,F,d,-M,m),s.lineTo(v.cx+v.x01,v.cy+v.y01),M<A?s.arc(v.cx,v.cy,M,xv(v.y01,v.x01),xv(b.y01,b.x01),!m):(s.arc(v.cx,v.cy,M,xv(v.y01,v.x01),xv(v.y11,v.x11),!m),s.arc(0,0,d,xv(v.cy+v.y11,v.cx+v.x11),xv(b.cy+b.y11,b.cx+b.x11),m),s.arc(b.cx,b.cy,M,xv(b.y11,b.x11),xv(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-Lv/2;return[kv(r)*n,Tv(r)*n]},c.innerRadius=function(t){return arguments.length?(e="function"==typeof t?t:_v(+t),c):e},c.outerRadius=function(e){return arguments.length?(t="function"==typeof e?e:_v(+e),c):t},c.cornerRadius=function(e){return arguments.length?(n="function"==typeof e?e:_v(+e),c):n},c.padRadius=function(e){return arguments.length?(r=null==e?null:"function"==typeof e?e:_v(+e),c):r},c.startAngle=function(e){return arguments.length?(i="function"==typeof e?e:_v(+e),c):i},c.endAngle=function(e){return arguments.length?(o="function"==typeof e?e:_v(+e),c):o},c.padAngle=function(e){return arguments.length?(a="function"==typeof e?e:_v(+e),c):a},c.context=function(e){return arguments.length?(s=null==e?null:e,c):s},c}function Gv(e){return"object"==typeof e&&"length"in e?e:Array.from(e)}function Yv(e){this._context=e}function Xv(e){return new Yv(e)}function Zv(e){return e[0]}function Kv(e){return e[1]}function Jv(e,t){var n=_v(!0),r=null,i=Xv,o=null,a=Bv(s);function s(s){var l,c,u,d=(s=Gv(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?Zv:_v(e),t="function"==typeof t?t:void 0===t?Kv:_v(t),s.x=function(t){return arguments.length?(e="function"==typeof t?t:_v(+t),s):e},s.y=function(e){return arguments.length?(t="function"==typeof e?e:_v(+e),s):t},s.defined=function(e){return arguments.length?(n="function"==typeof e?e:_v(!!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 Qv(e,t,n){var r=null,i=_v(!0),o=null,a=Xv,s=null,l=Bv(c);function c(c){var u,d,f,h,p,g=(c=Gv(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 Jv().defined(i).curve(a).context(o)}return e="function"==typeof e?e:void 0===e?Zv:_v(+e),t="function"==typeof t?t:_v(void 0===t?0:+t),n="function"==typeof n?n:void 0===n?Kv:_v(+n),c.x=function(t){return arguments.length?(e="function"==typeof t?t:_v(+t),r=null,c):e},c.x0=function(t){return arguments.length?(e="function"==typeof t?t:_v(+t),c):e},c.x1=function(e){return arguments.length?(r=null==e?null:"function"==typeof e?e:_v(+e),c):r},c.y=function(e){return arguments.length?(t="function"==typeof e?e:_v(+e),n=null,c):t},c.y0=function(e){return arguments.length?(t="function"==typeof e?e:_v(+e),c):t},c.y1=function(e){return arguments.length?(n=null==e?null:"function"==typeof e?e:_v(+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:_v(!!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 eb(e,t){return t<e?-1:t>e?1:t>=e?0:NaN}function tb(e){return e}function nb(){var e=tb,t=eb,n=null,r=_v(0),i=_v(Nv),o=_v(0);function a(a){var s,l,c,u,d,f=(a=Gv(a)).length,h=0,p=new Array(f),g=new Array(f),m=+r.apply(this,arguments),v=Math.min(Nv,Math.max(-Nv,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:_v(+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:_v(+e),a):r},a.endAngle=function(e){return arguments.length?(i="function"==typeof e?e:_v(+e),a):i},a.padAngle=function(e){return arguments.length?(o="function"==typeof e?e:_v(+e),a):o},a}function rb(){}function ib(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 ob(e){this._context=e}function ab(e){return new ob(e)}function sb(e){this._context=e}function lb(e){this._context=e}function cb(e,t){this._basis=new ob(e),this._beta=t}Yv.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)}}},ob.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:ib(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:ib(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},sb.prototype={areaStart:rb,areaEnd:rb,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:ib(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},lb.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:ib(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},cb.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 ub=function e(t){function n(e){return 1===t?new ob(e):new cb(e,t)}return n.beta=function(t){return e(+t)},n}(.85);function db(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 fb(e,t){this._context=e,this._k=(1-t)/6}fb.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:db(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:db(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 hb=function e(t){function n(e){return new fb(e,t)}return n.tension=function(t){return e(+t)},n}(0);function pb(e,t){this._context=e,this._k=(1-t)/6}pb.prototype={areaStart:rb,areaEnd:rb,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:db(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 gb=function e(t){function n(e){return new pb(e,t)}return n.tension=function(t){return e(+t)},n}(0);function mb(e,t){this._context=e,this._k=(1-t)/6}mb.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:db(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 vb=function e(t){function n(e){return new mb(e,t)}return n.tension=function(t){return e(+t)},n}(0);function bb(e,t,n){var r=e._x1,i=e._y1,o=e._x2,a=e._y2;if(e._l01_a>Mv){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>Mv){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 yb(e,t){this._context=e,this._alpha=t}yb.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:bb(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 _b=function e(t){function n(e){return t?new yb(e,t):new fb(e,0)}return n.alpha=function(t){return e(+t)},n}(.5);function wb(e,t){this._context=e,this._alpha=t}wb.prototype={areaStart:rb,areaEnd:rb,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:bb(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 xb=function e(t){function n(e){return t?new wb(e,t):new pb(e,0)}return n.alpha=function(t){return e(+t)},n}(.5);function kb(e,t){this._context=e,this._alpha=t}kb.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:bb(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 Cb=function e(t){function n(e){return t?new kb(e,t):new mb(e,0)}return n.alpha=function(t){return e(+t)},n}(.5);function Sb(e){this._context=e}function Tb(e){return e<0?-1:1}function Ab(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(Tb(o)+Tb(a))*Math.min(Math.abs(o),Math.abs(a),.5*Math.abs(s))||0}function Mb(e,t){var n=e._x1-e._x0;return n?(3*(e._y1-e._y0)/n-t)/2:t}function Lb(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 Eb(e){this._context=e}function Nb(e){this._context=new Ob(e)}function Ob(e){this._context=e}function Rb(e){this._context=e}function Db(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 Pb(e,t){this._context=e,this._t=t}function Ib(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 zb(e){for(var t=e.length,n=new Array(t);--t>=0;)n[t]=t;return n}function jb(e,t){return e[t]}function Bb(e){const t=[];return t.key=e,t}function Fb(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)}Sb.prototype={areaStart:rb,areaEnd:rb,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))}},Eb.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:Lb(this,this._t0,Mb(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,Lb(this,Mb(this,n=Ab(this,e,t)),n);break;default:Lb(this,this._t0,n=Ab(this,e,t))}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t,this._t0=n}}},(Nb.prototype=Object.create(Eb.prototype)).point=function(e,t){Eb.prototype.point.call(this,t,e)},Ob.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)}},Rb.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=Db(e),i=Db(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)}},Pb.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 Hb=()=>Vv().innerRadius(40).outerRadius(50).cornerRadius(2).padAngle(.03);nb().value((e=>e.count)).padAngle(.03).sortValues(((e,t)=>e-t)),Hb(),Hb().padAngle(0).cornerRadius(0);var $b="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==a.g?a.g:"undefined"!=typeof self?self:{};function Ub(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var qb,Wb,Vb={},Gb={},Yb={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:"‌"},Xb={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:"ÿ"},Zb={amp:"&",apos:"'",gt:">",lt:"<",quot:'"'},Kb={},Jb={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 Qb(){if(Wb)return Gb;Wb=1;var e=Gb&&Gb.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Gb,"__esModule",{value:!0}),Gb.decodeHTML=Gb.decodeHTMLStrict=Gb.decodeXML=void 0;var t=e(Yb),n=e(Xb),r=e(Zb),i=e(function(){if(qb)return Kb;qb=1;var e=Kb&&Kb.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Kb,"__esModule",{value:!0});var t=e(Jb),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 Kb.default=function(e){return e>=55296&&e<=57343||e>1114111?"�":(e in t.default&&(e=t.default[e]),n(e))},Kb}()),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)}}Gb.decodeXML=a(r.default),Gb.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 Gb.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)}}(),Gb}var ey,ty,ny,ry,iy={};function oy(){if(ey)return iy;ey=1;var e=iy&&iy.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(iy,"__esModule",{value:!0}),iy.escapeUTF8=iy.escape=iy.encodeNonAsciiHTML=iy.encodeHTML=iy.encodeXML=void 0;var t=o(e(Zb).default),n=a(t);iy.encodeXML=d(t);var r=o(e(Yb).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")}iy.encodeHTML=function(e,t){return function(n){return n.replace(t,(function(t){return e[t]})).replace(s,c)}}(r,i),iy.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 iy.escape=function(e){return e.replace(u,c)},iy.escapeUTF8=function(e){return e.replace(n,c)},iy}var ay=function(){if(ry)return ny;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}ry=1;var n=(ty||(ty=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=Qb(),n=oy();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=oy();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=Qb();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}})}(Vb)),Vb),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 ny=p}(),sy=Ub(ay);const ly=/\x1B\[[0-9;?]*[ -/]*[@-~]/g,{entries:cy,setPrototypeOf:uy,isFrozen:dy,getPrototypeOf:fy,getOwnPropertyDescriptor:hy}=Object;let{freeze:py,seal:gy,create:my}=Object,{apply:vy,construct:by}="undefined"!=typeof Reflect&&Reflect;py||(py=function(e){return e}),gy||(gy=function(e){return e}),vy||(vy=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)}),by||(by=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 yy=Dy(Array.prototype.forEach),_y=Dy(Array.prototype.lastIndexOf),wy=Dy(Array.prototype.pop),xy=Dy(Array.prototype.push),ky=Dy(Array.prototype.splice),Cy=Dy(String.prototype.toLowerCase),Sy=Dy(String.prototype.toString),Ty=Dy(String.prototype.match),Ay=Dy(String.prototype.replace),My=Dy(String.prototype.indexOf),Ly=Dy(String.prototype.trim),Ey=Dy(Object.prototype.hasOwnProperty),Ny=Dy(RegExp.prototype.test),Oy=(Ry=TypeError,function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return by(Ry,t)});var Ry;function Dy(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 vy(e,t,r)}}function Py(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Cy;uy&&uy(e,null);let r=t.length;for(;r--;){let i=t[r];if("string"==typeof i){const e=n(i);e!==i&&(dy(t)||(t[r]=e),i=e)}e[i]=!0}return e}function Iy(e){for(let t=0;t<e.length;t++)Ey(e,t)||(e[t]=null);return e}function zy(e){const t=my(null);for(const[n,r]of cy(e))Ey(e,n)&&(Array.isArray(r)?t[n]=Iy(r):r&&"object"==typeof r&&r.constructor===Object?t[n]=zy(r):t[n]=r);return t}function jy(e,t){for(;null!==e;){const n=hy(e,t);if(n){if(n.get)return Dy(n.get);if("function"==typeof n.value)return Dy(n.value)}e=fy(e)}return function(){return null}}const By=py(["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"]),Fy=py(["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"]),Hy=py(["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"]),$y=py(["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"]),Uy=py(["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"]),qy=py(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),Wy=py(["#text"]),Vy=py(["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"]),Gy=py(["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"]),Yy=py(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),Xy=py(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),Zy=gy(/\{\{[\w\W]*|[\w\W]*\}\}/gm),Ky=gy(/<%[\w\W]*|[\w\W]*%>/gm),Jy=gy(/\$\{[\w\W]*/gm),Qy=gy(/^data-[\-\w.\u00B7-\uFFFF]+$/),e_=gy(/^aria-[\-\w]+$/),t_=gy(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),n_=gy(/^(?:\w+script|data):/i),r_=gy(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),i_=gy(/^html$/i),o_=gy(/^[a-z][.\w]*(-[.\w]+)+$/i);var a_=Object.freeze({__proto__:null,ARIA_ATTR:e_,ATTR_WHITESPACE:r_,CUSTOM_ELEMENT:o_,DATA_ATTR:Qy,DOCTYPE_NAME:i_,ERB_EXPR:Ky,IS_ALLOWED_URI:t_,IS_SCRIPT_OR_DATA:n_,MUSTACHE_EXPR:Zy,TMPLIT_EXPR:Jy});var s_=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.3.3",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=jy(g,"cloneNode"),v=jy(g,"remove"),b=jy(g,"nextSibling"),y=jy(g,"childNodes"),_=jy(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 cy&&"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}=a_;let{IS_ALLOWED_URI:z}=a_,j=null;const B=Py({},[...By,...Fy,...Hy,...Uy,...Wy]);let F=null;const H=Py({},[...Vy,...Gy,...Yy,...Xy]);let $=Object.seal(my(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(my(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=Py({},["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=Py({},["audio","video","img","source","image","track"]);let he=null;const pe=Py({},["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=Py({},[ge,me,ve],Sy);let xe=Py({},["mi","mo","mn","ms","mtext"]),ke=Py({},["annotation-xml"]);const Ce=Py({},["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=zy(e),Se=-1===Te.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE,Ae="application/xhtml+xml"===Se?Sy:Cy,j=Ey(e,"ALLOWED_TAGS")?Py({},e.ALLOWED_TAGS,Ae):B,F=Ey(e,"ALLOWED_ATTR")?Py({},e.ALLOWED_ATTR,Ae):H,_e=Ey(e,"ALLOWED_NAMESPACES")?Py({},e.ALLOWED_NAMESPACES,Sy):we,he=Ey(e,"ADD_URI_SAFE_ATTR")?Py(zy(pe),e.ADD_URI_SAFE_ATTR,Ae):pe,de=Ey(e,"ADD_DATA_URI_TAGS")?Py(zy(fe),e.ADD_DATA_URI_TAGS,Ae):fe,ce=Ey(e,"FORBID_CONTENTS")?Py({},e.FORBID_CONTENTS,Ae):ue,U=Ey(e,"FORBID_TAGS")?Py({},e.FORBID_TAGS,Ae):zy({}),q=Ey(e,"FORBID_ATTR")?Py({},e.FORBID_ATTR,Ae):zy({}),le=!!Ey(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||t_,be=e.NAMESPACE||ve,xe=e.MATHML_TEXT_INTEGRATION_POINTS||xe,ke=e.HTML_INTEGRATION_POINTS||ke,$=e.CUSTOM_ELEMENT_HANDLING||{},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&&(j=Py({},Wy),F=my(null),!0===le.html&&(Py(j,By),Py(F,Vy)),!0===le.svg&&(Py(j,Fy),Py(F,Gy),Py(F,Xy)),!0===le.svgFilters&&(Py(j,Hy),Py(F,Gy),Py(F,Xy)),!0===le.mathMl&&(Py(j,Uy),Py(F,Yy),Py(F,Xy))),Ey(e,"ADD_TAGS")||(W.tagCheck=null),Ey(e,"ADD_ATTR")||(W.attributeCheck=null),e.ADD_TAGS&&("function"==typeof e.ADD_TAGS?W.tagCheck=e.ADD_TAGS:(j===B&&(j=zy(j)),Py(j,e.ADD_TAGS,Ae))),e.ADD_ATTR&&("function"==typeof e.ADD_ATTR?W.attributeCheck=e.ADD_ATTR:(F===H&&(F=zy(F)),Py(F,e.ADD_ATTR,Ae))),e.ADD_URI_SAFE_ATTR&&Py(he,e.ADD_URI_SAFE_ATTR,Ae),e.FORBID_CONTENTS&&(ce===ue&&(ce=zy(ce)),Py(ce,e.FORBID_CONTENTS,Ae)),e.ADD_FORBID_CONTENTS&&(ce===ue&&(ce=zy(ce)),Py(ce,e.ADD_FORBID_CONTENTS,Ae)),ae&&(j["#text"]=!0),J&&Py(j,["html","head","body"]),j.table&&(Py(j,["tbody"]),delete U.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw Oy('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw Oy('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(""));py&&py(e),Me=e}},Oe=Py({},[...Fy,...Hy,...$y]),Re=Py({},[...Uy,...qy]),De=function(e){xy(n.removed,{element:e});try{_(e).removeChild(e)}catch(t){v(e)}},Pe=function(e,t){try{xy(n.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){xy(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=Ty(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)},je=function(e){return e instanceof f&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof d)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes)},Be=function(e){return"function"==typeof l&&e instanceof l};function Fe(e,t,r){yy(e,(e=>{e.call(n,t,r,Me)}))}const He=function(e){let t=null;if(Fe(M.beforeSanitizeElements,e,null),je(e))return De(e),!0;const r=Ae(e.nodeName);if(Fe(M.uponSanitizeElement,e,{tagName:r,allowedTags:j}),K&&e.hasChildNodes()&&!Be(e.firstElementChild)&&Ny(/<[/\w!]/g,e.innerHTML)&&Ny(/<[/\w!]/g,e.textContent))return De(e),!0;if(7===e.nodeType)return De(e),!0;if(K&&8===e.nodeType&&Ny(/<[/\w]/g,e.data))return De(e),!0;if(!(W.tagCheck instanceof Function&&W.tagCheck(r))&&(!j[r]||U[r])){if(!U[r]&&Ue(r)){if($.tagNameCheck instanceof RegExp&&Ny($.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=Cy(e.tagName),r=Cy(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||!Ny(/<\/no(script|embed|frames)/i,e.innerHTML)?(Z&&3===e.nodeType&&(t=e.textContent,yy([L,E,N],(e=>{t=Ay(t,e," ")})),e.textContent!==t&&(xy(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]&&Ny(O,t));else if(V&&Ny(R,t));else if(W.attributeCheck instanceof Function&&W.attributeCheck(t,e));else if(!F[t]||q[t]){if(!(Ue(e)&&($.tagNameCheck instanceof RegExp&&Ny($.tagNameCheck,e)||$.tagNameCheck instanceof Function&&$.tagNameCheck(e))&&($.attributeNameCheck instanceof RegExp&&Ny($.attributeNameCheck,t)||$.attributeNameCheck instanceof Function&&$.attributeNameCheck(t,e))||"is"===t&&$.allowCustomizedBuiltInElements&&($.tagNameCheck instanceof RegExp&&Ny($.tagNameCheck,n)||$.tagNameCheck instanceof Function&&$.tagNameCheck(n))))return!1}else if(he[t]);else if(Ny(z,Ay(n,P,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==My(n,"data:")||!de[e])if(Y&&!Ny(D,Ay(n,P,"")));else if(n)return!1;return!0},Ue=function(e){return"annotation-xml"!==e&&Ty(e,I)},qe=function(e){Fe(M.beforeSanitizeAttributes,e,null);const{attributes:t}=e;if(!t||je(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:Ly(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&&Ny(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,d)){Pe(a,e);continue}if("attributename"===c&&Ty(d,"href")){Pe(a,e);continue}if(r.forceKeepAttr)continue;if(!r.keepAttr){Pe(a,e);continue}if(!X&&Ny(/\/>/i,d)){Pe(a,e);continue}Z&&yy([L,E,N],(e=>{d=Ay(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),je(e)?De(e):wy(n.removed)}catch(t){Pe(a,e)}}else Pe(a,e)}Fe(M.afterSanitizeAttributes,e,null)},We=function e(t){let n=null;const r=ze(t);for(Fe(M.beforeSanitizeShadowDOM,t,null);n=r.nextNode();)Fe(M.uponSanitizeShadowNode,n,null),He(n),qe(n),n.content instanceof a&&e(n.content);Fe(M.afterSanitizeShadowDOM,t,null)};return n.sanitize=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=null,o=null,s=null,c=null;if(ye=!e,ye&&(e="\x3c!--\x3e"),"string"!=typeof e&&!Be(e)){if("function"!=typeof e.toString)throw Oy("toString is not a function");if("string"!=typeof(e=e.toString()))throw Oy("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(!j[t]||U[t])throw Oy("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(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&&j["!doctype"]&&r.ownerDocument&&r.ownerDocument.doctype&&r.ownerDocument.doctype.name&&Ny(i_,r.ownerDocument.doctype.name)&&(d="<!DOCTYPE "+r.ownerDocument.doctype.name+">\n"+d),Z&&yy([L,E,N],(e=>{d=Ay(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&&xy(M[e],t)},n.removeHook=function(e,t){if(void 0!==t){const n=_y(M[e],t);return-1===n?void 0:ky(M[e],n,1)[0]}return wy(M[e])},n.removeHooks=function(e){M[e]=[]},n.removeAllHooks=function(){M={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},n}();const l_=Symbol.for("preact-signals");function c_(){if(h_>1)return void h_--;let e,t=!1;for(;void 0!==d_;){let n=d_;for(d_=void 0,p_++;void 0!==n;){const r=n.o;if(n.o=void 0,n.f&=-3,!(8&n.f)&&y_(n))try{n.c()}catch(n){t||(e=n,t=!0)}n=r}}if(p_=0,h_--,t)throw e}let u_,d_;function f_(e){const t=u_;u_=void 0;try{return e()}finally{u_=t}}let h_=0,p_=0,g_=0;function m_(e){if(void 0===u_)return;let t=e.n;return void 0===t||t.t!==u_?(t={i:0,S:e,p:u_.s,n:void 0,t:u_,e:void 0,x:void 0,r:t},void 0!==u_.s&&(u_.s.n=t),u_.s=t,e.n=t,32&u_.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=u_.s,t.n=void 0,u_.s.n=t,u_.s=t),t):void 0}function v_(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 b_(e,t){return new v_(e,t)}function y_(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 __(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 w_(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 x_(e,t){v_.call(this,void 0),this.x=e,this.s=void 0,this.g=g_-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 k_(e,t){return new x_(e,t)}function C_(e){const t=e.u;if(e.u=void 0,"function"==typeof t){h_++;const n=u_;u_=void 0;try{t()}catch(t){throw e.f&=-2,e.f|=8,S_(e),t}finally{u_=n,c_()}}}function S_(e){for(let t=e.s;void 0!==t;t=t.n)t.S.U(t);e.x=void 0,e.s=void 0,C_(e)}function T_(e){if(u_!==this)throw new Error("Out-of-order effect");w_(this),u_=e,this.f&=-2,8&this.f&&S_(this),c_()}function A_(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 M_(e,t){const n=new A_(e,t);try{n.c()}catch(e){throw n.d(),e}const r=n.d.bind(n);return r[Symbol.dispose]=r,r}v_.prototype.brand=l_,v_.prototype.h=function(){return!0},v_.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:f_((()=>{var e;null==(e=this.W)||e.call(this)})))},v_.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&&f_((()=>{var e;null==(e=this.Z)||e.call(this)})))}},v_.prototype.subscribe=function(e){return M_((()=>{const t=this.value,n=u_;u_=void 0;try{e(t)}finally{u_=n}}),{name:"sub"})},v_.prototype.valueOf=function(){return this.value},v_.prototype.toString=function(){return this.value+""},v_.prototype.toJSON=function(){return this.value},v_.prototype.peek=function(){const e=u_;u_=void 0;try{return this.value}finally{u_=e}},Object.defineProperty(v_.prototype,"value",{get(){const e=m_(this);return void 0!==e&&(e.i=this.i),this.v},set(e){if(e!==this.v){if(p_>100)throw new Error("Cycle detected");this.v=e,this.i++,g_++,h_++;try{for(let e=this.t;void 0!==e;e=e.x)e.t.N()}finally{c_()}}}}),x_.prototype=new v_,x_.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===g_)return!0;if(this.g=g_,this.f|=1,this.i>0&&!y_(this))return this.f&=-2,!0;const e=u_;try{__(this),u_=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 u_=e,w_(this),this.f&=-2,!0},x_.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)}v_.prototype.S.call(this,e)},x_.prototype.U=function(e){if(void 0!==this.t&&(v_.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)}},x_.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(x_.prototype,"value",{get(){if(1&this.f)throw new Error("Cycle detected");const e=m_(this);if(this.h(),void 0!==e&&(e.i=this.i),16&this.f)throw this.v;return this.v}}),A_.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()}},A_.prototype.S=function(){if(1&this.f)throw new Error("Cycle detected");this.f|=1,this.f&=-9,C_(this),__(this),h_++;const e=u_;return u_=this,T_.bind(this,e)},A_.prototype.N=function(){2&this.f||(this.f|=2,this.o=d_,d_=this)},A_.prototype.d=function(){this.f|=8,1&this.f||S_(this)},A_.prototype.dispose=function(){this.d()};const L_=()=>"undefined"==typeof window?"":window.location.href,E_=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},N_=b_(L_());(e=>{"undefined"!=typeof window&&(window.addEventListener("popstate",e),window.addEventListener("replaceState",e),window.addEventListener("pushState",e),window.addEventListener("hashchange",e))})((()=>{N_.peek()!==L_()&&(N_.value=L_())}));const O_=k_((()=>new URL(N_.value))),R_=k_((()=>O_.value.searchParams)),D_=k_((()=>({hash:O_.value.hash,pathname:O_.value.pathname,origin:O_.value.origin,params:E_(R_.value)})));var P_;k_((()=>{const e=D_.value.hash.startsWith("#")?D_.value.hash.slice(1):D_.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"}(P_||(P_={}));const I_="auto",z_="light",j_="dark",B_="theme",F_=[z_,j_,I_],H_={matches:!1,addEventListener:()=>{},removeEventListener:()=>{},media:"",onchange:()=>{},addListener:()=>{},removeListener:()=>{},dispatchEvent:()=>!0},$_=()=>"undefined"==typeof window||"function"!=typeof window.matchMedia?H_:window.matchMedia("(prefers-color-scheme: dark)"),U_=mf()?.theme,q_=k_((()=>W_.value===I_?V_.value:W_.value)),W_=b_(I_),V_=b_("undefined"==typeof window?z_:$_().matches?j_:z_);(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:W_,key:B_,onRestore:e=>(e=>F_.includes(e))(e)?e:U_??I_}),(e=>{if("undefined"==typeof window)return;const{signal:t,key:n,shouldPersist:r=()=>!0}=e;M_((()=>{const e=t.value;if(r(e))try{window.localStorage.setItem(n,"string"==typeof e?e:JSON.stringify(e))}catch{}}))})({signal:W_,key:B_}),k_((()=>({current:q_.value,selected:W_.value}))),"undefined"!=typeof window&&(M_((()=>{document.documentElement.setAttribute("data-theme",q_.value)})),$_().addEventListener("change",(e=>{e.matches?V_.value=j_:V_.value=z_}))),b_(1);const G_={s:"s",m:"m",xs:"xs"},Y_=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 jc("div",{"data-size":s,"data-full-height":a||void 0,"data-border":u||void 0,className:ks("styles_container__9IMGc",l),children:[!!i&&jc(Fc,{id:i,className:ks("styles_emptyIcon__QSADI",c),"data-size":G_[s],"data-color":o}),jc("div",{className:"styles_textContainer__AznFB",children:[r&&jc($c,{tag:"b",size:"s"===s?"m":"l",bold:!0,className:"styles_title__wOjPO",children:r}),!!n&&jc($c,{tag:"p",size:"m",className:"styles_description__Idyva",children:n})]}),t]})};var X_,Z_,K_,J_,Q_,ew,tw,nw,rw,iw={exports:{}},ow=(X_||(X_=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!==$b&&($b.Prism=t)}(iw)),iw.exports),aw=Ub(ow);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),Z_||(Z_=1,function(e){e.languages.typescript=e.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),e.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete e.languages.typescript.parameter,delete e.languages.typescript["literal-property"];var t=e.languages.extend("typescript",{});delete t["class-name"],e.languages.typescript["class-name"].inside=t,e.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:t}}}}),e.languages.ts=e.languages.typescript}(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,K_||(K_=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)),J_||(J_=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),Q_||(Q_=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),ew||(ew=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),tw||(tw=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)),nw||(nw=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)}}(),rw||(rw=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 sw={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"},lw={"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"},cw=e=>e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;"),uw=e=>{if(!e)return;const t=/\.([a-z0-9]+)$/i.exec(e);if(!t)return;const n=t[1].toLowerCase();return sw[n]??n},dw=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=(uw(n?.link?.name)??uw(n?.link?.originalFileName))||i&&(sw[i]??i)||o&&lw[o]||"plaintext",s=t.text??"";if((e=>"string"==typeof e&&new RegExp(ly).test(e))(s)&&s.length>0&&r){return jc("pre",{"data-testid":"code-attachment-content",className:r?`language-${a} line-numbers`:"attachment-code-plain",dangerouslySetInnerHTML:{__html:(e=>new sy({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 jc("pre",{"data-testid":"code-attachment-content",className:"attachment-code-plain",children:jc("code",{children:s})},n?.link?.id);const l=((e,t)=>{const n=aw.languages[t];if(!n)return cw(e);try{return aw.highlight(e,n,t)}catch{return cw(e)}})(s,a);return jc("pre",{"data-testid":"code-attachment-content",className:`language-${a} line-numbers`,children:jc("code",{className:`language-${a}`,dangerouslySetInnerHTML:{__html:l}})},n?.link?.id)};const fw=e=>{const{attachment:t,item:n}=e,[r,i]=na(!0);return ia((()=>{if(t&&"img"in t&&t.img){const e=new Image;e.onload=()=>i(!0),e.onerror=()=>i(!1),e.src=t.img}}),[t]),jc("div",t&&"img"in t&&r?{"data-testid":"image-attachment-content",className:"styles_test-result-attachment-image__sJpWk",children:jc("img",{src:t.img,alt:n.link.originalFileName})}:{className:"styles_test-result-attachment-error__od2Zn",children:"something went wrong"})};const hw=Ho(null),pw=e=>{const{children:t,initialTab:n}=e,r=Ma(n),i=la((e=>{r.value=e}),[r]);return jc(hw.Provider,{value:{currentTab:r,setCurrentTab:i},children:t})},gw=e=>jc(pw,{...e}),mw=e=>jc("div",{className:"styles_list__pI3IS",children:e.children}),vw=e=>{const{currentTab:t,setCurrentTab:n}=(()=>{const e=ca(hw);if(!e)throw new Error("NavTabs components must be used within a NavTabs component");return e})(),r=La((()=>t.value===e.tabId)),{tabId:i,children:o,onClick:a,testId:s,isCurrentTab:l=r.value}=e;return jc("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:jc($c,{type:"paragraph",size:"m",bold:l,children:o})})};var bw,yw={exports:{}},_w=yw.exports,ww=(bw||(bw=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]",j="[object Uint16Array]",B="[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+"]",je="\\u200d",Be="(?:"+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+"(?:"+je+"(?:"+[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+Be,"$"].join("|")+")",ze+"?"+Be+"+"+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("["+je+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[j]=nt[B]=!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[j]=rt[B]=!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 $b&&$b&&$b.Object===Object&&$b,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,Bt,n)}function jt(e,t,n,r){for(var i=n-1,o=e.length;++i<o;)if(r(e[i],t))return i;return-1}function Bt(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),je=ct._,Be=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 jn=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 Bn(){}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&&Ba(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 j:case B: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=Bn.prototype,zn.prototype.constructor=zn,Fn.prototype=jn(Bn.prototype),Fn.prototype.constructor=Fn,Hn.prototype=jn(Bn.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)?Be: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 jr(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)||Ba(c)?(d=l,Ba(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,jr,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 Br(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?jt: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(Bs(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=jn(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 ji(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 Bi(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),jr(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)||Ba(e))}function ho(e){return"function"!=typeof e.constructor||_o(e)?{}:jn(qe(e))}function po(e){return Fa(e)||Ba(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)):[]})),jo=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 Bo(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(Bo),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),ja=$i((function(e,t){return e>=t})),Ba=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){jr(e,t,n)})),Es=Mi((function(e,t,n,r){jr(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?js(t):t)}));function js(e){return Vs(ps(e).toLowerCase())}function Bs(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=Bi(Lt),al=Bi(St),sl=Bi(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=ji((function(e,t){return e+t}),0),gl=qi("ceil"),ml=ji((function(e,t){return e/t}),1),vl=qi("floor"),bl=ji((function(e,t){return e*t}),1),yl=qi("round"),_l=ji((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=jn(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=jo,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 Br(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)?jn(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=js,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=Bs,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=Bo,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=ja,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=Ba,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)||Ba(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,Bt,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?Br(e,us(t)):n},zn.noConflict=function(){return ct._===this&&(ct._=je),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 Bn;){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(_w)}(yw,yw.exports)),yw.exports);const xw=e=>{const{debounceTimeout:t=0,children:n}=e,r=aa(null),i=Ma(r.current?.clientWidth??0),o=Ma(r.current?.clientHeight??0),a=aa(!0);return ia((()=>()=>{a.current=!1}),[]),ia((()=>{if(!r.current)return;const e=ww.debounce((e=>{a.current&&Rr((()=>{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]),jc("div",{ref:r,style:{width:"100%"},children:n(i.value,o.value)})};var kw="styles_view__RIAGy",Cw="styles_imageCard__q1Tt-";const Sw=Ho({width:0,height:0}),Tw=e=>jc(xw,{children:(t,n)=>jc(Sw.Provider,{value:{width:t,height:n},children:jc("div",{className:"styles_wrapper__lYgmR",children:e.children})})}),Aw=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},Mw=Ho(null),Lw=()=>{const e=ca(Mw);if(!e)throw new Error("ImageDiffContext must be used within a ImageDiffContextProvider");return e},Ew=e=>{const{children:t,diff:n}=e,r=(e=>{const t=ca(Sw),n=Ma(!0),r=Ma(null),i=Ma(null),o=Ma(null),a=Ma(t);ia((()=>{a.value=t}),[t,a]);const s=La((()=>{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=Ma(s.value[0]);Ia((()=>{!1===n.value&&(l.value=s.value[0])}));const c=La((()=>0===s.value.length||!(!e.actual||null!==i.value)||!(!e.expected||null!==r.value)||!(!e.diff||null!==o.value))),u=La((()=>{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 ia((()=>{const t=new AbortController;return n.value=!0,Promise.all([Aw(e.expected),Aw(e.actual),Aw(e.diff)]).then((([e,a,s])=>{t.signal.aborted||Rr((()=>{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 jc(Mw.Provider,{value:r,children:t})},Nw=Ho((()=>{})),Ow=()=>{},Rw=e=>{const{children:t,i18n:n}=e;return jc(Nw.Provider,{value:n??Ow,children:t})},Dw=()=>ca(Nw),Pw={diff:"Diff",actual:"Actual",expected:"Expected","side-by-side":"Side by side",overlay:"Overlay"},Iw=()=>{const{diffModes:e,diffMode:t}=Lw(),n=Dw();return jc("div",{className:"styles_selector__znOxx",children:jc(gw,{children:jc(mw,{children:jc(ja,{each:e,children:e=>jc(vw,{tabId:e,isCurrentTab:t.value===e,onClick:()=>t.value=e,children:n?.(`mode.${e}`)??Pw[e]},e)})})})})};var zw={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 jw=({className:e,skin:t,children:n,"data-testid":r})=>jc($c,{className:ks(zw.tag,e,t&&zw[t]),bold:!0,size:"s",type:"ui","data-testid":r,children:n}),Bw=e=>{const{className:t,...n}=e;return jc("img",{className:ks(t,"styles_image__tDz1w"),...n,draggable:!1})},Fw=e=>{const{diff:t,actual:n,expected:r,containerSize:i}=e;return Math.min(...[t,n,r,i].filter((e=>e>0)))},Hw=e=>{const{options:t,current:n,onChange:r}=e,i=Dw();return jc(nf,{size:"s",menuTrigger:({isOpened:e,onClick:t})=>jc(Xc,{style:"ghost",size:"s",text:i(`image.${n}`)??ww.capitalize(n),isExpanded:e,onClick:t}),children:jc(nf.Section,{children:t.filter((e=>e!==n)).map((e=>jc(nf.Item,{onClick:()=>r(e),children:i(`image.${e}`)??ww.capitalize(e)},e)))})})},$w=e=>{const{sizes:t,children:n}=e;return jc("div",{className:"styles_imageLabel__-Bqlj",children:[n,jc(jw,{skin:"secondary",children:`${t.width} × ${t.height}`})]})},Uw=()=>{const{images:e,imageDimensions:t,containerDimensions:n}=Lw(),r=La((()=>Fw({diff:t.value.diff.width,actual:t.value.actual.width,expected:t.value.expected.width,containerSize:n.value.width})));return jc("div",{className:kw,children:jc("div",{className:Cw,children:[jc($w,{sizes:{height:e.diff.value?.naturalHeight??0,width:e.diff.value?.naturalWidth??0}}),jc(Bw,{src:e.diff.value?.src,width:r.value})]})})},qw=()=>{const{images:e,imageDimensions:t,containerDimensions:n}=Lw(),r=La((()=>Fw({diff:t.value.diff.width,actual:t.value.actual.width,expected:t.value.expected.width,containerSize:n.value.width})));return jc("div",{className:kw,children:jc("div",{className:Cw,children:[jc($w,{sizes:{height:e.actual.value?.naturalHeight??0,width:e.actual.value?.naturalWidth??0}}),jc(Bw,{src:e.actual.value?.src,width:r.value})]})})},Ww=()=>{const{images:e,imageDimensions:t,containerDimensions:n}=Lw(),r=La((()=>Fw({diff:t.value.diff.width,actual:t.value.actual.width,expected:t.value.expected.width,containerSize:n.value.width})));return jc("div",{className:kw,children:jc("div",{className:Cw,children:[jc($w,{sizes:{height:e.expected.value?.naturalHeight??0,width:e.expected.value?.naturalWidth??0}}),jc(Bw,{src:e.expected.value?.src,width:r.value})]})})},Vw=()=>{const{images:e,imageDimensions:t,containerDimensions:n}=Lw(),r=e.expected.value,i=e.actual.value,o=La((()=>Fw({diff:t.value.diff.width,actual:t.value.actual.width,expected:t.value.expected.width,containerSize:n.value.width}))),a=Ma(o.value/2),s=aa(null),l=Ma(!1),c=La((()=>{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=La((()=>{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 jc("div",{className:kw,children:[jc($w,{sizes:{width:r?.naturalWidth??0,height:r?.naturalHeight??0}}),jc("div",{ref:s,className:"styles_overlayContainer__nBpEU",style:{width:o.value,height:f.value},children:[jc("div",{className:Cw,children:jc(Bw,{src:r?.src,width:o.value})}),jc("div",{className:Cw,style:{maxWidth:c.value},children:jc(Bw,{src:i?.src,width:o.value})}),jc("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})]})]})},Gw=()=>{const{images:e,imageDimensions:t,containerDimensions:n}=Lw(),r=Ma("actual"),i=Ma("expected"),o=La((()=>["actual","expected","diff"])),a=La((()=>["actual","expected","diff"])),s=La((()=>"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=La((()=>"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=La((()=>Fw({diff:t.value.diff.width,actual:t.value.actual.width,expected:t.value.expected.width,containerSize:n.value.width}))),u=La((()=>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 jc("div",{className:kw,"data-row":d||void 0,children:[jc("div",{className:Cw,children:[jc($w,{sizes:f,children:jc(Hw,{options:o.value,current:r.value,onChange:e=>{r.value=e}})}),jc(Bw,{src:h,width:d?u.value:n.value.width})]}),jc("div",{className:Cw,children:[jc($w,{sizes:p,children:jc(Hw,{options:a.value,current:i.value,onChange:e=>{i.value=e}})}),jc(Bw,{src:g,width:d?u.value:n.value.width})]})]})},Yw=()=>{const{diffMode:e}=Lw();switch(e.value){case"diff":return jc(Uw,{});case"actual":return jc(qw,{});case"expected":return jc(Ww,{});case"side-by-side":return jc(Gw,{});case"overlay":return jc(Vw,{})}},Xw=()=>{const e=Dw(),{isLoading:t,failedToLoad:n}=Lw();return t.value?jc(Hc,{size:"m"}):n.value?jc(Y_,{title:e("empty.failed-to-load")??"Failed to load",icon:Bc.lineImagesImage}):jc(vo,{children:[jc(Iw,{}),jc(Yw,{})]})},Zw=e=>{const{i18n:t,diff:n}=e;return jc(Rw,{i18n:t,children:jc(Tw,{children:jc(Ew,{diff:n,children:jc(Xw,{})})})})},Kw="<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>",Jw={image:fw,svg:fw,json:dw,code:dw,uri:dw,css:dw,table:dw,html:dw,text:dw,video:({attachment:e,item:t})=>e&&"src"in e?jc("video",{"data-testid":"video-attachment-content",class:"styles_test-result-attachment-video__251vv",controls:!0,loop:!0,muted:!0,children:jc("source",{src:e.src,type:t.link.contentType})}):jc(Hc,{}),"image-diff":e=>{const{attachment:t,i18n:n}=e;return t&&"diff"in t?jc("div",{className:"styles_imageDiffWrapper__5nf3F",children:jc(Zw,{diff:t.diff,i18n:n})}):jc(Hc,{})},archive:null},Qw={html:({attachment:e})=>{const[t,n]=na(""),r=e.text??"",i=r.length>0?(e=>s_.sanitize(e,void 0))(r):"";return ia((()=>{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+Kw)):/<body(\s[^>]*)?>/i.test(i)?i.replace(/<body(\s[^>]*)?>/i,(e=>e+Kw)):Kw+i);const t=new Blob([e],{type:"text/html"}),r=URL.createObjectURL(t);return n(r),()=>{URL.revokeObjectURL(r)}}}),[i]),i?jc("div",{className:"styles_html-attachment-preview__0-kmL",children:jc("iframe",{src:t,width:"100%",height:"100%",frameBorder:"0",sandbox:"allow-same-origin"})}):null}},ex=e=>{const{item:t,previewable:n,highlightCode:r=!0,i18n:i}=e,{link:{contentType:o,id:a,ext:s}}=t,l=Ma(null),c=Ma(!0),u=Ma(!1),d=Cf(o),f=la((async()=>{c.value=!0,u.value=!1;try{const e=await(async(e,t,n)=>{if(!e&&!t)return null;const r=await vf({id:e,ext:t,contentType:n}),i=Cf(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);Rr((()=>{c.value=!1,l.value=e}))}catch(e){Rr((()=>{c.value=!1,u.value=!0}))}}),[a,s,o,c,l,u]);if(ia((()=>{d&&f()}),[d,f]),!d)return null;if(c.value)return jc("div",{className:"styles_test-result-spinner__B3aF3",children:jc(Hc,{})});if(u.value)return jc(Y_,{description:"Failed to load attachment",size:"xs",children:jc(Yc,{style:"flat",icon:Bc.lineArrowsRefreshCcw1,onClick:f})});const h=Qw[d],p=i?.["image-diff"===d?"imageDiff":d];if(n&&h)return jc(h,{attachment:l.value,item:t,i18n:p});const g=Jw[d];if(!g)return null;const m=g===dw;return jc(g,{attachment:l.value,item:t,i18n:p,...m?{highlight:r}:{}})},tx=({code:e,children:t,className:n})=>(ia((()=>{aw.highlightAll()}),[]),jc("pre",{className:ks("language-text line-numbers language-diff",n),children:[e&&jc("code",{children:e}),t]}));var nx="styles_modal-wrapper-fullscreen__11W3U",rx="styles_active__YdnV4";const ix=({changeThumb:e,children:t,isActiveThumb:n})=>jc("div",{className:ks("styles_modal-thumb__O5sLe",{[rx]:n}),onClick:()=>()=>e?.(),children:t}),ox=({attachments:e=[]})=>{const t=e?.filter((({link:{contentType:e}})=>{const t=Cf(e);return!["archive",null].includes(t)}));return jc("div",{className:"styles_modal-gallery__w0J0I",children:t?.map((e=>jc(ix,{item:e,children:jc(ex,{item:e})},e?.link?.id)))})},ax=({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]=na(!1),[g,m]=na(!!n),[v,b]=na(!0),y=f?.contentType?.startsWith("image"),_=(e=>!!e&&yf.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=(kf(t)??t.replace(/^\./,"")).toLowerCase(),r=e.includes(".")?e.split(".").pop():e;if(r){n=r;break}}return(!t||!wf.has(t))&&(!(!t||!xf.has(t))||!!n&&_f.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;ia((()=>{t&&(m(!!n),b(!0))}),[t,n]);const T=sa((()=>r&&function(e){return function(e){return!!e&&e.$$typeof===Fd}(e)?Fo.apply(null,arguments):e}(r,{data:e,isFullScreen:h,previewable:g,highlightCode:v})),[r,e,h,g,v]);ia((()=>(document.body.style.overflow=t?"hidden":"",()=>{document.body.style.overflow=""})),[t]);return t?jc("div",{className:"styles_modal-overlay__xdM2o",onClick:o,children:jc("div",{className:ks("styles_modal-content__2yYdb"),onClick:e=>e.stopPropagation(),children:[jc("div",{className:ks("styles_modal-wrapper__KacuO",{[nx]:h}),children:[jc("div",{className:"styles_modal-header__IcCg9",children:[jc(qc,{size:"s",children:S}),jc("div",{className:"styles_modal-buttons__OBqaM",children:[y&&jc(Gc,{style:"outline",onClick:async()=>{const{id:e,ext:t,contentType:n}=f||{};await(async(e,t,n)=>{if(!e&&!t)return;const r=await bf(e,t,n),i=URL.createObjectURL(r);globalThis.open(i,"_blank")})(e,t,n)},icon:Bc.lineGeneralLinkExternal,text:d}),_&&jc(yd,{tooltipText:l,children:jc(Yc,{style:"outline",size:"m",iconSize:"s",icon:g?Bc.viewOff:Bc.view,onClick:()=>m(!g)})}),w&&x&&jc(yd,{tooltipText:c??"Syntax highlighting",children:jc(Yc,{className:ks(!v&&"styles_syntax-highlight-off__q6J31"),style:"outline",size:"m",iconSize:"s",icon:Bc.lineDevCodeSquare,onClick:()=>b(!v)})}),k&&jc(yd,{tooltipText:u,children:jc(Yc,{style:"outline",size:"m",iconSize:"s",icon:Bc.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 bf(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)})}),jc(Yc,{iconSize:"m",style:"ghost",onClick:()=>p(!h),icon:h?Bc.lineLayoutsMinimize2:Bc.lineLayoutsMaximize2}),jc(Yc,{iconSize:"m",style:"ghost",onClick:o,icon:Bc.lineGeneralXClose})]})]}),jc("div",{className:"styles_modal-data__tEK64",children:jc("div",{className:"styles_modal-data-component__3HBgz",children:T},e?.link?.id)})]}),i?.length&&jc(ox,{attachments:i})]})}):null};var sx={tree:"styles_tree__fG6jK","tree-list":"styles_tree-list__3q7eT","tree-section":"styles_tree-section__iV9nA","tree-section-title":"styles_tree-section-title__3v2nF","tree-count":"styles_tree-count__RjQCr","tree-item":"styles_tree-item__-43NH","item-title":"styles_item-title__ip78x","test-count":"styles_test-count__ynxa4","tree-content":"styles_tree-content__RqVeR",root:"styles_root__gLSTv","tree-item-icon":"styles_tree-item-icon__pSBl5","status-passed":"styles_status-passed__kTMq4","status-failed":"styles_status-failed__2uYs3","status-broken":"styles_status-broken__34I8R","status-skipped":"styles_status-skipped__MEGGW","status-unknown":"styles_status-unknown__p2KHg","tree-status-bar":"styles_tree-status-bar__LJ7Y1","tree-status-bar-item":"styles_tree-status-bar-item__Yofv2",passed:"styles_passed__SeJia",failed:"styles_failed__-3jyb",broken:"styles_broken__g7-KJ",skipped:"styles_skipped__RfV4j",unknown:"styles_unknown__hkDQ1","tree-empty-results":"styles_tree-empty-results__4EWH4","tree-empty-results-title":"styles_tree-empty-results-title__hGsAb","tree-empty-results-clear-button":"styles_tree-empty-results-clear-button__9nCUy",order:"styles_order__-yTyr","tree-item-marked":"styles_tree-item-marked__TW7os"};const{solidAlertCircle:lx,solidCheckCircle:cx,solidHelpCircle:ux,solidMinusCircle:dx,solidXCircle:fx}=Bc,hx={failed:fx,broken:lx,passed:cx,skipped:dx,unknown:ux},px=({status:e="unknown",className:t,classNameIcon:n})=>{const r=ks(sx[`status-${e}`],n);return jc("div",{"data-testid":`tree-leaf-status-${e}`,className:ks(sx["tree-item-icon"],t),children:jc(Fc,{className:r,id:hx[e]})})};var gx={"tree-item-retries":"styles_tree-item-retries__dhixw"};const mx=({retriesCount:e=0})=>e>0?jc("div",{"data-testid":"tree-leaf-retries",className:gx["tree-item-retries"],children:[jc(Fc,{className:gx["tree-leaf-retries-icon"],id:Bc.lineArrowsRefreshCcw1}),jc($c,{type:"ui",size:"m",children:e})]}):null,vx=e=>{switch(e){case"new":return Bc.lineAlertsNew;case"fixed":return Bc.lineAlertsFixed;case"regressed":return Bc.lineAlertsRegressed;case"malfunctioned":return Bc.lineAlertsMalfunctioned;default:return Bc.lineAlertsAlertCircle}};var bx={"item-info":"styles_item-info__ELNw-","item-info-time":"styles_item-info-time__fWpPK"};const yx=({duration:e,retriesCount:t,flaky:n,transition:r,tooltips:i})=>{const o=pf(e);return jc("div",{className:bx["item-info"],children:[n&&jc(yd,{"data-testid":"tree-leaf-flaky-tooltip",tooltipText:i?.flaky,children:jc(Fc,{"data-testid":"tree-leaf-flaky",id:Bc.lineIconBomb2})}),Boolean(t)&&jc(yd,{"data-testid":"tree-leaf-retries-tooltip",tooltipText:i?.retries,children:jc(mx,{retriesCount:t})}),r&&jc(yd,{"data-testid":"tree-leaf-transition-tooltip",tooltipText:i?.transition,children:jc(Fc,{"data-testid":`tree-leaf-transition-${r}`,id:vx(r),className:bx["item-info-transition"]})}),jc($c,{"data-testid":"tree-leaf-duration",type:"ui",size:"m",className:bx["item-info-time"],children:o})]})},_x=({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})=>jc("div",{...f,className:ks(sx["tree-item"],c?sx["tree-item-marked"]:""),onClick:()=>u(l),id:l,children:[jc(px,{status:n}),jc(Uc,{"data-testid":"tree-leaf-order",size:"s",className:sx.order,children:t}),jc($c,{"data-testid":"tree-leaf-title",className:sx["item-title"],children:e}),jc(yx,{"data-testid":"tree-leaf-info",duration:r,flaky:o,retriesCount:i,transition:a,transitionTooltip:s,tooltips:d})]}),wx=({title:e,icon:t,isOpened:n,toggleTree:r,children:i,...o})=>jc("div",{"data-testid":"tree-section",...o,className:sx["tree-section"],onClick:r,children:[jc(af,{"data-testid":"tree-arrow",isOpened:n}),t&&jc(Fc,{id:t,size:"xs"}),jc($c,{"data-testid":"tree-section-title",size:"m",bold:!0,className:sx["tree-section-title"],children:e}),i]}),xx=({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?jc("div",{className:sx["tree-status-bar"],style:{width:`${a}px`},children:sf.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})=>jc("div",{className:ks(sx["tree-status-bar-item"],sx[e]),style:{flexGrow:t},children:t},e)))}):null},kx=({categoryTitle:e,isOpened:t,toggleTree:n,statistic:r,reportStatistic:i,statusFilter:o,...a})=>jc(wx,{...a,title:e,isOpened:t,toggleTree:n,children:jc(xx,{reportStatistic:i,statusFilter:o,statistic:r})}),Cx=({tree:e,statusFilter:t,root:n,name:r,statistic:i,reportStatistic:o,collapsedTrees:a,toggleTree:s,routeId:l,navigateTo:c})=>{const u=a.has(e.nodeId),d=void 0===i||!!i?.failed||!!i?.broken,[f,h]=na((()=>n||(u?!d:d)));if(!e?.trees?.length&&!e?.leaves?.length)return null;const p=f&&jc("div",{"data-testid":"tree-content",className:ks({[sx["tree-content"]]:!0,[sx.root]:n}),children:[e?.trees?.map?.((e=>jc(Cx,{name:e.name,tree:e,statistic:e.statistic,reportStatistic:o,statusFilter:t,collapsedTrees:a,toggleTree:s,routeId:l,navigateTo:c},e.nodeId))),e?.leaves?.map?.((e=>jc(_x,{"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)))]});return jc("div",{className:sx.tree,children:[r&&jc(kx,{statusFilter:t,categoryTitle:r,isOpened:f,toggleTree:()=>{h(!f),s(e.nodeId)},statistic:i,reportStatistic:o}),p]})};var Sx={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 Tx=e=>{const{count:t,size:n="s",truncateCount:r=!1,status:i}=e,o=r&&t>99?"99+":t;return jc($c,{tag:"small",size:"l"===n?"m":"s",type:"ui",bold:!0,className:ks(Sx.counter,Sx[`size-${n}`],i&&Sx[`status-${i}`]),"data-testid":"counter",children:o})};const Ax=e=>{const{children:t,onClick:n,href:r}=e;return jc(void 0===r?"button":"a",{href:r,onClick:n,className:"styles_link__BC-2O",children:t})};const Mx=e=>{const{className:t}=e;return jc($c,{type:"paragraph",size:"m",bold:!0,className:ks("styles_text__BcILe",t),children:[jc(Fc,{id:Bc.reportLogo,size:"m",inline:!0,className:"styles_logo__jHlBl"}),jc("span",{children:"Allure Report"})]})};const Lx=e=>{const{className:t,logo:n}=e;return jc("div",{className:ks("styles_report-logo__OOEnL",t),children:n?jc("img",{src:n,alt:"report logo"}):jc(Fc,{id:Bc.reportLogo,inline:!0})})};const Ex=({children:e,title:t,centerContent:n,dropShadow:r=!0})=>jc("div",{className:"styles_widget__JLpmE","data-drop-shadow":r||void 0,children:[t&&jc("div",{className:"styles_header__yKZiz",children:jc(qc,{size:"s",children:t})}),jc("div",{className:"styles_content__zvonT","data-center-content":n,children:e})]});function Nx(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 Ox(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Nx(Object(n),!0).forEach((function(t){Dx(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Nx(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Rx(e){return Rx="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},Rx(e)}function Dx(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Px(){return Px=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},Px.apply(this,arguments)}function Ix(e){if("undefined"!=typeof window&&window.navigator)return!!navigator.userAgent.match(e)}var zx=Ix(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),jx=Ix(/Edge/i),Bx=Ix(/firefox/i),Fx=Ix(/safari/i)&&!Ix(/chrome/i)&&!Ix(/android/i),Hx=Ix(/iP(ad|od|hone)/i),$x=Ix(/chrome/i)&&Ix(/android/i),Ux={capture:!1,passive:!1};function qx(e,t,n){e.addEventListener(t,n,!zx&&Ux)}function Wx(e,t,n){e.removeEventListener(t,n,!zx&&Ux)}function Vx(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 Gx(e){return e.host&&e!==document&&e.host.nodeType?e.host:e.parentNode}function Yx(e,t,n,r){if(e){n=n||document;do{if(null!=t&&(">"===t[0]?e.parentNode===n&&Vx(e,t):Vx(e,t))||r&&e===n)return e;if(e===n)break}while(e=Gx(e))}return null}var Xx,Zx=/\s+/g;function Kx(e,t,n){if(e&&t)if(e.classList)e.classList[n?"add":"remove"](t);else{var r=(" "+e.className+" ").replace(Zx," ").replace(" "+t+" "," ");e.className=(r+(n?" "+t:"")).replace(Zx," ")}}function Jx(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 Qx(e,t){var n="";if("string"==typeof e)n=e;else do{var r=Jx(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 ek(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 tk(){return document.scrollingElement||document.documentElement}function nk(e,t,n,r,i){if(e.getBoundingClientRect||e===window){var o,a,s,l,c,u,d;if(e!==window&&e.parentNode&&e!==tk()?(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,!zx))do{if(i&&i.getBoundingClientRect&&("none"!==Jx(i,"transform")||n&&"static"!==Jx(i,"position"))){var f=i.getBoundingClientRect();a-=f.top+parseInt(Jx(i,"border-top-width")),s-=f.left+parseInt(Jx(i,"border-left-width")),l=a+o.height,c=s+o.width;break}}while(i=i.parentNode);if(r&&e!==window){var h=Qx(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 rk(e,t,n){for(var r=lk(e,!0),i=nk(e)[t];r;){if(!(i>=nk(r)[n]))return r;if(r===tk())break;r=lk(r,!1)}return!1}function ik(e,t,n,r){for(var i=0,o=0,a=e.children;o<a.length;){if("none"!==a[o].style.display&&a[o]!==dC.ghost&&(r||a[o]!==dC.dragged)&&Yx(a[o],n.draggable,e,!1)){if(i===t)return a[o];i++}o++}return null}function ok(e,t){for(var n=e.lastElementChild;n&&(n===dC.ghost||"none"===Jx(n,"display")||t&&!Vx(n,t));)n=n.previousElementSibling;return n||null}function ak(e,t){var n=0;if(!e||!e.parentNode)return-1;for(;e=e.previousElementSibling;)"TEMPLATE"===e.nodeName.toUpperCase()||e===dC.clone||t&&!Vx(e,t)||n++;return n}function sk(e){var t=0,n=0,r=tk();if(e)do{var i=Qx(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 lk(e,t){if(!e||!e.getBoundingClientRect)return tk();var n=e,r=!1;do{if(n.clientWidth<n.scrollWidth||n.clientHeight<n.scrollHeight){var i=Jx(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 tk();if(r||t)return n;r=!0}}}while(n=n.parentNode);return tk()}function ck(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 uk(e,t){return function(){if(!Xx){var n=arguments;1===n.length?e.call(this,n[0]):e.apply(this,n),Xx=setTimeout((function(){Xx=void 0}),t)}}}function dk(e,t,n){e.scrollLeft+=t,e.scrollTop+=n}function fk(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 hk(e,t,n){var r={};return Array.from(e.children).forEach((function(i){var o,a,s,l;if(Yx(i,t.draggable,e,!1)&&!i.animated&&i!==n){var c=nk(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 pk="Sortable"+(new Date).getTime();var gk=[],mk={initializeByDefault:!0},vk={mount:function(e){for(var t in mk)mk.hasOwnProperty(t)&&!(t in e)&&(e[t]=mk[t]);gk.forEach((function(t){if(t.pluginName===e.pluginName)throw"Sortable: Cannot mount plugin ".concat(e.pluginName," more than once")})),gk.push(e)},pluginEvent:function(e,t,n){var r=this;this.eventCanceled=!1,n.cancel=function(){r.eventCanceled=!0};var i=e+"Global";gk.forEach((function(r){t[r.pluginName]&&(t[r.pluginName][i]&&t[r.pluginName][i](Ox({sortable:t},n)),t.options[r.pluginName]&&t[r.pluginName][e]&&t[r.pluginName][e](Ox({sortable:t},n)))}))},initializePlugins:function(e,t,n,r){for(var i in gk.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,Px(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 gk.forEach((function(r){"function"==typeof r.eventProperties&&Px(n,r.eventProperties.call(t[r.pluginName],e))})),n},modifyOption:function(e,t,n){var r;return gk.forEach((function(i){e[i.pluginName]&&i.optionListeners&&"function"==typeof i.optionListeners[t]&&(r=i.optionListeners[t].call(e[i.pluginName],n))})),r}},bk=["evt"],yk=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,bk);vk.pluginEvent.bind(dC)(e,t,Ox({dragEl:wk,parentEl:xk,ghostEl:kk,rootEl:Ck,nextEl:Sk,lastDownEl:Tk,cloneEl:Ak,cloneHidden:Mk,dragStarted:Hk,putSortable:Dk,activeSortable:dC.active,originalEvent:r,oldIndex:Lk,oldDraggableIndex:Nk,newIndex:Ek,newDraggableIndex:Ok,hideGhostForTarget:sC,unhideGhostForTarget:lC,cloneNowHidden:function(){Mk=!0},cloneNowShown:function(){Mk=!1},dispatchSortableEvent:function(e){_k({sortable:t,name:e,originalEvent:r})}},i))};function _k(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[pk]){var g,m=t.options,v="on"+r.charAt(0).toUpperCase()+r.substr(1);!window.CustomEvent||zx||jx?(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=Ox(Ox({},p),vk.getEventProperties(r,t));for(var y in b)g[y]=b[y];n&&n.dispatchEvent(g),m[v]&&m[v].call(t,g)}}(Ox({putSortable:Dk,cloneEl:Ak,targetEl:wk,rootEl:Ck,oldIndex:Lk,oldDraggableIndex:Nk,newIndex:Ek,newDraggableIndex:Ok},e))}var wk,xk,kk,Ck,Sk,Tk,Ak,Mk,Lk,Ek,Nk,Ok,Rk,Dk,Pk,Ik,zk,jk,Bk,Fk,Hk,$k,Uk,qk,Wk,Vk=!1,Gk=!1,Yk=[],Xk=!1,Zk=!1,Kk=[],Jk=!1,Qk=[],eC="undefined"!=typeof document,tC=Hx,nC=jx||zx?"cssFloat":"float",rC=eC&&!$x&&!Hx&&"draggable"in document.createElement("div"),iC=function(){if(eC){if(zx)return!1;var e=document.createElement("x");return e.style.cssText="pointer-events:auto","auto"===e.style.pointerEvents}}(),oC=function(e,t){var n=Jx(e),r=parseInt(n.width)-parseInt(n.paddingLeft)-parseInt(n.paddingRight)-parseInt(n.borderLeftWidth)-parseInt(n.borderRightWidth),i=ik(e,0,t),o=ik(e,1,t),a=i&&Jx(i),s=o&&Jx(o),l=a&&parseInt(a.marginLeft)+parseInt(a.marginRight)+nk(i).width,c=s&&parseInt(s.marginLeft)+parseInt(s.marginRight)+nk(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[nC]||o&&"none"===n[nC]&&l+c>r)?"vertical":"horizontal"},aC=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"==Rx(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},sC=function(){!iC&&kk&&Jx(kk,"display","none")},lC=function(){!iC&&kk&&Jx(kk,"display","")};eC&&!$x&&document.addEventListener("click",(function(e){if(Gk)return e.preventDefault(),e.stopPropagation&&e.stopPropagation(),e.stopImmediatePropagation&&e.stopImmediatePropagation(),Gk=!1,!1}),!0);var cC=function(e){if(wk){var t=function(e,t){var n;return Yk.some((function(r){var i=r[pk].options.emptyInsertThreshold;if(i&&!ok(r)){var o=nk(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[pk]._onDragOver(n)}}},uC=function(e){wk&&wk.parentNode[pk]._isOutsideThisEl(e.target)};function dC(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=Px({},t),e[pk]=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 oC(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!==dC.supportPointer&&"PointerEvent"in window&&(!Fx||Hx),emptyInsertThreshold:5};for(var r in vk.initializePlugins(this,e,n),n)!(r in t)&&(t[r]=n[r]);for(var i in aC(t),this)"_"===i.charAt(0)&&"function"==typeof this[i]&&(this[i]=this[i].bind(this));this.nativeDraggable=!t.forceFallback&&rC,this.nativeDraggable&&(this.options.touchStartThreshold=1),t.supportPointer?qx(e,"pointerdown",this._onTapStart):(qx(e,"mousedown",this._onTapStart),qx(e,"touchstart",this._onTapStart)),this.nativeDraggable&&(qx(e,"dragover",this),qx(e,"dragenter",this)),Yk.push(this.el),t.store&&t.store.get&&this.sort(t.store.get(this)||[]),Px(this,function(){var e,t=[];return{captureAnimationState:function(){t=[],this.options.animation&&[].slice.call(this.el.children).forEach((function(e){if("none"!==Jx(e,"display")&&e!==dC.ghost){t.push({target:e,rect:nk(e)});var n=Ox({},t[t.length-1].rect);if(e.thisAnimationDuration){var r=Qx(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=nk(n),l=n.prevFromRect,c=n.prevToRect,u=e.rect,d=Qx(n,!0);d&&(s.top-=d.f,s.left-=d.e),n.toRect=s,n.thisAnimationDuration&&ck(l,s)&&!ck(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)),ck(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){Jx(e,"transition",""),Jx(e,"transform","");var i=Qx(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,Jx(e,"transform","translate3d("+s+"px,"+l+"px,0)"),this.forRepaintDummy=function(e){return e.offsetWidth}(e),Jx(e,"transition","transform "+r+"ms"+(this.options.easing?" "+this.options.easing:"")),Jx(e,"transform","translate3d(0,0,0)"),"number"==typeof e.animated&&clearTimeout(e.animated),e.animated=setTimeout((function(){Jx(e,"transition",""),Jx(e,"transform",""),e.animated=!1,e.animatingX=!1,e.animatingY=!1}),r)}}}}())}function fC(e,t,n,r,i,o,a,s){var l,c,u=e[pk],d=u.options.onMove;return!window.CustomEvent||zx||jx?(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||nk(t),l.willInsertAfter=s,l.originalEvent=a,e.dispatchEvent(l),d&&(c=d.call(u,l,a)),c}function hC(e){e.draggable=!1}function pC(){Jk=!1}function gC(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 mC(e){return setTimeout(e,0)}function vC(e){return clearTimeout(e)}dC.prototype={constructor:dC,_isOutsideThisEl:function(e){this.el.contains(e)||e===this.el||($k=null)},_getDirection:function(e,t){return"function"==typeof this.options.direction?this.options.direction.call(this,e,t,wk):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){Qk.length=0;for(var t=e.getElementsByTagName("input"),n=t.length;n--;){var r=t[n];r.checked&&Qk.push(r)}}(n),!wk&&!(/mousedown|pointerdown/.test(o)&&0!==e.button||r.disabled)&&!l.isContentEditable&&(this.nativeDraggable||!Fx||!s||"SELECT"!==s.tagName.toUpperCase())&&!((s=Yx(s,r.draggable,n,!1))&&s.animated||Tk===s)){if(Lk=ak(s),Nk=ak(s,r.draggable),"function"==typeof c){if(c.call(this,e,s,this))return _k({sortable:t,rootEl:l,name:"filter",targetEl:s,toEl:n,fromEl:n}),yk("filter",t,{evt:e}),void(i&&e.preventDefault())}else if(c&&(c=c.split(",").some((function(r){if(r=Yx(l,r.trim(),n,!1))return _k({sortable:t,rootEl:r,name:"filter",targetEl:s,fromEl:n,toEl:n}),yk("filter",t,{evt:e}),!0}))))return void(i&&e.preventDefault());r.handle&&!Yx(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&&!wk&&n.parentNode===o){var l=nk(n);if(Ck=o,xk=(wk=n).parentNode,Sk=wk.nextSibling,Tk=n,Rk=a.group,dC.dragged=wk,Pk={target:wk,clientX:(t||e).clientX,clientY:(t||e).clientY},Bk=Pk.clientX-l.left,Fk=Pk.clientY-l.top,this._lastX=(t||e).clientX,this._lastY=(t||e).clientY,wk.style["will-change"]="all",r=function(){yk("delayEnded",i,{evt:e}),dC.eventCanceled?i._onDrop():(i._disableDelayedDragEvents(),!Bx&&i.nativeDraggable&&(wk.draggable=!0),i._triggerDragStart(e,t),_k({sortable:i,name:"choose",originalEvent:e}),Kx(wk,a.chosenClass,!0))},a.ignore.split(",").forEach((function(e){ek(wk,e.trim(),hC)})),qx(s,"dragover",cC),qx(s,"mousemove",cC),qx(s,"touchmove",cC),a.supportPointer?(qx(s,"pointerup",i._onDrop),!this.nativeDraggable&&qx(s,"pointercancel",i._onDrop)):(qx(s,"mouseup",i._onDrop),qx(s,"touchend",i._onDrop),qx(s,"touchcancel",i._onDrop)),Bx&&this.nativeDraggable&&(this.options.touchStartThreshold=4,wk.draggable=!0),yk("delayStart",this,{evt:e}),!a.delay||a.delayOnTouchOnly&&!t||this.nativeDraggable&&(jx||zx))r();else{if(dC.eventCanceled)return void this._onDrop();a.supportPointer?(qx(s,"pointerup",i._disableDelayedDrag),qx(s,"pointercancel",i._disableDelayedDrag)):(qx(s,"mouseup",i._disableDelayedDrag),qx(s,"touchend",i._disableDelayedDrag),qx(s,"touchcancel",i._disableDelayedDrag)),qx(s,"mousemove",i._delayedDragTouchMoveHandler),qx(s,"touchmove",i._delayedDragTouchMoveHandler),a.supportPointer&&qx(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(){wk&&hC(wk),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var e=this.el.ownerDocument;Wx(e,"mouseup",this._disableDelayedDrag),Wx(e,"touchend",this._disableDelayedDrag),Wx(e,"touchcancel",this._disableDelayedDrag),Wx(e,"pointerup",this._disableDelayedDrag),Wx(e,"pointercancel",this._disableDelayedDrag),Wx(e,"mousemove",this._delayedDragTouchMoveHandler),Wx(e,"touchmove",this._delayedDragTouchMoveHandler),Wx(e,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(e,t){t=t||"touch"==e.pointerType&&e,!this.nativeDraggable||t?this.options.supportPointer?qx(document,"pointermove",this._onTouchMove):qx(document,t?"touchmove":"mousemove",this._onTouchMove):(qx(wk,"dragend",this),qx(Ck,"dragstart",this._onDragStart));try{document.selection?mC((function(){document.selection.empty()})):window.getSelection().removeAllRanges()}catch(e){}},_dragStarted:function(e,t){if(Vk=!1,Ck&&wk){yk("dragStarted",this,{evt:t}),this.nativeDraggable&&qx(document,"dragover",uC);var n=this.options;!e&&Kx(wk,n.dragClass,!1),Kx(wk,n.ghostClass,!0),dC.active=this,e&&this._appendGhost(),_k({sortable:this,name:"start",originalEvent:t})}else this._nulling()},_emulateDragOver:function(){if(Ik){this._lastX=Ik.clientX,this._lastY=Ik.clientY,sC();for(var e=document.elementFromPoint(Ik.clientX,Ik.clientY),t=e;e&&e.shadowRoot&&(e=e.shadowRoot.elementFromPoint(Ik.clientX,Ik.clientY))!==t;)t=e;if(wk.parentNode[pk]._isOutsideThisEl(e),t)do{if(t[pk]&&t[pk]._onDragOver({clientX:Ik.clientX,clientY:Ik.clientY,target:e,rootEl:t})&&!this.options.dragoverBubble)break;e=t}while(t=Gx(t));lC()}},_onTouchMove:function(e){if(Pk){var t=this.options,n=t.fallbackTolerance,r=t.fallbackOffset,i=e.touches?e.touches[0]:e,o=kk&&Qx(kk,!0),a=kk&&o&&o.a,s=kk&&o&&o.d,l=tC&&Wk&&sk(Wk),c=(i.clientX-Pk.clientX+r.x)/(a||1)+(l?l[0]-Kk[0]:0)/(a||1),u=(i.clientY-Pk.clientY+r.y)/(s||1)+(l?l[1]-Kk[1]:0)/(s||1);if(!dC.active&&!Vk){if(n&&Math.max(Math.abs(i.clientX-this._lastX),Math.abs(i.clientY-this._lastY))<n)return;this._onDragStart(e,!0)}if(kk){o?(o.e+=c-(zk||0),o.f+=u-(jk||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,")");Jx(kk,"webkitTransform",d),Jx(kk,"mozTransform",d),Jx(kk,"msTransform",d),Jx(kk,"transform",d),zk=c,jk=u,Ik=i}e.cancelable&&e.preventDefault()}},_appendGhost:function(){if(!kk){var e=this.options.fallbackOnBody?document.body:Ck,t=nk(wk,!0,tC,!0,e),n=this.options;if(tC){for(Wk=e;"static"===Jx(Wk,"position")&&"none"===Jx(Wk,"transform")&&Wk!==document;)Wk=Wk.parentNode;Wk!==document.body&&Wk!==document.documentElement?(Wk===document&&(Wk=tk()),t.top+=Wk.scrollTop,t.left+=Wk.scrollLeft):Wk=tk(),Kk=sk(Wk)}Kx(kk=wk.cloneNode(!0),n.ghostClass,!1),Kx(kk,n.fallbackClass,!0),Kx(kk,n.dragClass,!0),Jx(kk,"transition",""),Jx(kk,"transform",""),Jx(kk,"box-sizing","border-box"),Jx(kk,"margin",0),Jx(kk,"top",t.top),Jx(kk,"left",t.left),Jx(kk,"width",t.width),Jx(kk,"height",t.height),Jx(kk,"opacity","0.8"),Jx(kk,"position",tC?"absolute":"fixed"),Jx(kk,"zIndex","100000"),Jx(kk,"pointerEvents","none"),dC.ghost=kk,e.appendChild(kk),Jx(kk,"transform-origin",Bk/parseInt(kk.style.width)*100+"% "+Fk/parseInt(kk.style.height)*100+"%")}},_onDragStart:function(e,t){var n=this,r=e.dataTransfer,i=n.options;yk("dragStart",this,{evt:e}),dC.eventCanceled?this._onDrop():(yk("setupClone",this),dC.eventCanceled||((Ak=fk(wk)).removeAttribute("id"),Ak.draggable=!1,Ak.style["will-change"]="",this._hideClone(),Kx(Ak,this.options.chosenClass,!1),dC.clone=Ak),n.cloneId=mC((function(){yk("clone",n),dC.eventCanceled||(n.options.removeCloneOnHide||Ck.insertBefore(Ak,wk),n._hideClone(),_k({sortable:n,name:"clone"}))})),!t&&Kx(wk,i.dragClass,!0),t?(Gk=!0,n._loopId=setInterval(n._emulateDragOver,50)):(Wx(document,"mouseup",n._onDrop),Wx(document,"touchend",n._onDrop),Wx(document,"touchcancel",n._onDrop),r&&(r.effectAllowed="move",i.setData&&i.setData.call(n,r,wk)),qx(document,"drop",n),Jx(wk,"transform","translateZ(0)")),Vk=!0,n._dragStartId=mC(n._dragStarted.bind(n,t,e)),qx(document,"selectstart",n),Hk=!0,window.getSelection().removeAllRanges(),Fx&&Jx(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=dC.active,u=Rk===l,d=s.sort,f=Dk||c,h=this,p=!1;if(!Jk){if(void 0!==e.preventDefault&&e.cancelable&&e.preventDefault(),a=Yx(a,s.draggable,o,!0),L("dragOver"),dC.eventCanceled)return p;if(wk.contains(e.target)||a.animated&&a.animatingX&&a.animatingY||h._ignoreWhileAnimating===a)return N(!1);if(Gk=!1,c&&!s.disabled&&(u?d||(r=xk!==Ck):Dk===this||(this.lastPutMode=Rk.checkPull(this,c,wk,e))&&l.checkPut(this,c,wk,e))){if(i="vertical"===this._getDirection(e,a),t=nk(wk),L("dragOverValid"),dC.eventCanceled)return p;if(r)return xk=Ck,E(),this._hideClone(),L("revert"),dC.eventCanceled||(Sk?Ck.insertBefore(wk,Sk):Ck.appendChild(wk)),N(!0);var g=ok(o,s.draggable);if(!g||function(e,t,n){var r=nk(ok(n.el,n.options.draggable)),i=hk(n.el,n.options,kk);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===wk)return N(!1);if(g&&o===e.target&&(a=g),a&&(n=nk(a)),!1!==fC(Ck,o,wk,t,a,n,e,!!a))return E(),g&&g.nextSibling?o.insertBefore(wk,g.nextSibling):o.appendChild(wk),xk=o,O(),N(!0)}else if(g&&function(e,t,n){var r=nk(ik(n.el,0,n.options,!0)),i=hk(n.el,n.options,kk);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=ik(o,0,s,!0);if(m===wk)return N(!1);if(n=nk(a=m),!1!==fC(Ck,o,wk,t,a,n,e,!1))return E(),o.insertBefore(wk,m),xk=o,O(),N(!0)}else if(a.parentNode===o){n=nk(a);var v,b,y,_=wk.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}(wk.animated&&wk.toRect||t,a.animated&&a.toRect||n,i),x=i?"top":"left",k=rk(a,"top","top")||rk(wk,"top","top"),C=k?k.scrollTop:void 0;if($k!==a&&(b=n[x],Xk=!1,Zk=!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&&qk<c*i){if(!Xk&&(1===Uk?l>u+c*o/2:l<d-c*o/2)&&(Xk=!0),Xk)f=!0;else if(1===Uk?l<u+qk:l>d-qk)return-Uk}else if(l>u+c*(1-i)/2&&l<d-c*(1-i)/2)return function(e){return ak(wk)<ak(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,Zk,$k===a),0!==v){var S=ak(wk);do{S-=v,y=xk.children[S]}while(y&&("none"===Jx(y,"display")||y===kk))}if(0===v||y===a)return N(!1);$k=a,Uk=v;var T=a.nextElementSibling,A=!1,M=fC(Ck,o,wk,t,a,n,e,A=1===v);if(!1!==M)return 1!==M&&-1!==M||(A=1===M),Jk=!0,setTimeout(pC,30),E(),A&&!T?o.appendChild(wk):a.parentNode.insertBefore(wk,A?T:a),k&&dk(k,0,C-k.scrollTop),xk=wk.parentNode,void 0===b||Zk||(qk=Math.abs(b-nk(a)[x])),O(),N(!0)}if(o.contains(wk))return N(!1)}return!1}function L(s,l){yk(s,h,Ox({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 fC(Ck,o,wk,t,n,nk(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&&(Kx(wk,Dk?Dk.options.ghostClass:c.options.ghostClass,!1),Kx(wk,s.ghostClass,!0)),Dk!==h&&h!==dC.active?Dk=h:h===dC.active&&Dk&&(Dk=null),f===h&&(h._ignoreWhileAnimating=a),h.animateAll((function(){L("dragOverAnimationComplete"),h._ignoreWhileAnimating=null})),h!==f&&(f.animateAll(),f._ignoreWhileAnimating=null)),(a===wk&&!wk.animated||a===o&&!a.animated)&&($k=null),s.dragoverBubble||e.rootEl||a===document||(wk.parentNode[pk]._isOutsideThisEl(e.target),!t&&cC(e)),!s.dragoverBubble&&e.stopPropagation&&e.stopPropagation(),p=!0}function O(){Ek=ak(wk),Ok=ak(wk,s.draggable),_k({sortable:h,name:"change",toEl:o,newIndex:Ek,newDraggableIndex:Ok,originalEvent:e})}},_ignoreWhileAnimating:null,_offMoveEvents:function(){Wx(document,"mousemove",this._onTouchMove),Wx(document,"touchmove",this._onTouchMove),Wx(document,"pointermove",this._onTouchMove),Wx(document,"dragover",cC),Wx(document,"mousemove",cC),Wx(document,"touchmove",cC)},_offUpEvents:function(){var e=this.el.ownerDocument;Wx(e,"mouseup",this._onDrop),Wx(e,"touchend",this._onDrop),Wx(e,"pointerup",this._onDrop),Wx(e,"pointercancel",this._onDrop),Wx(e,"touchcancel",this._onDrop),Wx(document,"selectstart",this)},_onDrop:function(e){var t=this.el,n=this.options;Ek=ak(wk),Ok=ak(wk,n.draggable),yk("drop",this,{evt:e}),xk=wk&&wk.parentNode,Ek=ak(wk),Ok=ak(wk,n.draggable),dC.eventCanceled||(Vk=!1,Zk=!1,Xk=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),vC(this.cloneId),vC(this._dragStartId),this.nativeDraggable&&(Wx(document,"drop",this),Wx(t,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),Fx&&Jx(document.body,"user-select",""),Jx(wk,"transform",""),e&&(Hk&&(e.cancelable&&e.preventDefault(),!n.dropBubble&&e.stopPropagation()),kk&&kk.parentNode&&kk.parentNode.removeChild(kk),(Ck===xk||Dk&&"clone"!==Dk.lastPutMode)&&Ak&&Ak.parentNode&&Ak.parentNode.removeChild(Ak),wk&&(this.nativeDraggable&&Wx(wk,"dragend",this),hC(wk),wk.style["will-change"]="",Hk&&!Vk&&Kx(wk,Dk?Dk.options.ghostClass:this.options.ghostClass,!1),Kx(wk,this.options.chosenClass,!1),_k({sortable:this,name:"unchoose",toEl:xk,newIndex:null,newDraggableIndex:null,originalEvent:e}),Ck!==xk?(Ek>=0&&(_k({rootEl:xk,name:"add",toEl:xk,fromEl:Ck,originalEvent:e}),_k({sortable:this,name:"remove",toEl:xk,originalEvent:e}),_k({rootEl:xk,name:"sort",toEl:xk,fromEl:Ck,originalEvent:e}),_k({sortable:this,name:"sort",toEl:xk,originalEvent:e})),Dk&&Dk.save()):Ek!==Lk&&Ek>=0&&(_k({sortable:this,name:"update",toEl:xk,originalEvent:e}),_k({sortable:this,name:"sort",toEl:xk,originalEvent:e})),dC.active&&(null!=Ek&&-1!==Ek||(Ek=Lk,Ok=Nk),_k({sortable:this,name:"end",toEl:xk,originalEvent:e}),this.save())))),this._nulling()},_nulling:function(){yk("nulling",this),Ck=wk=xk=kk=Sk=Ak=Tk=Mk=Pk=Ik=Hk=Ek=Ok=Lk=Nk=$k=Uk=Dk=Rk=dC.dragged=dC.ghost=dC.clone=dC.active=null,Qk.forEach((function(e){e.checked=!0})),Qk.length=zk=jk=0},handleEvent:function(e){switch(e.type){case"drop":case"dragend":this._onDrop(e);break;case"dragenter":case"dragover":wk&&(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++)Yx(e=n[r],o.draggable,this.el,!1)&&t.push(e.getAttribute(o.dataIdAttr)||gC(e));return t},sort:function(e,t){var n={},r=this.el;this.toArray().forEach((function(e,t){var i=r.children[t];Yx(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 Yx(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=vk.modifyOption(this,e,t);n[e]=void 0!==r?r:t,"group"===e&&aC(n)},destroy:function(){yk("destroy",this);var e=this.el;e[pk]=null,Wx(e,"mousedown",this._onTapStart),Wx(e,"touchstart",this._onTapStart),Wx(e,"pointerdown",this._onTapStart),this.nativeDraggable&&(Wx(e,"dragover",this),Wx(e,"dragenter",this)),Array.prototype.forEach.call(e.querySelectorAll("[draggable]"),(function(e){e.removeAttribute("draggable")})),this._onDrop(),this._disableDelayedDragEvents(),Yk.splice(Yk.indexOf(this.el),1),this.el=e=null},_hideClone:function(){if(!Mk){if(yk("hideClone",this),dC.eventCanceled)return;Jx(Ak,"display","none"),this.options.removeCloneOnHide&&Ak.parentNode&&Ak.parentNode.removeChild(Ak),Mk=!0}},_showClone:function(e){if("clone"===e.lastPutMode){if(Mk){if(yk("showClone",this),dC.eventCanceled)return;wk.parentNode!=Ck||this.options.group.revertClone?Sk?Ck.insertBefore(Ak,Sk):Ck.appendChild(Ak):Ck.insertBefore(Ak,wk),this.options.group.revertClone&&this.animate(wk,Ak),Jx(Ak,"display",""),Mk=!1}}else this._hideClone()}},eC&&qx(document,"touchmove",(function(e){(dC.active||Vk)&&e.cancelable&&e.preventDefault()})),dC.utils={on:qx,off:Wx,css:Jx,find:ek,is:function(e,t){return!!Yx(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:uk,closest:Yx,toggleClass:Kx,clone:fk,index:ak,nextTick:mC,cancelNextTick:vC,detectDirection:oC,getChild:ik,expando:pk},dC.get=function(e){return e[pk]},dC.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&&(dC.utils=Ox(Ox({},dC.utils),e.utils)),vk.mount(e)}))},dC.create=function(e,t){return new dC(e,t)},dC.version="1.15.6";var bC,yC,_C,wC,xC,kC,CC=[],SC=!1;function TC(){CC.forEach((function(e){clearInterval(e.pid)})),CC=[]}function AC(){clearInterval(kC)}var MC,LC=uk((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=tk(),u=!1;yC!==n&&(yC=n,TC(),bC=t.scroll,i=t.scrollFn,!0===bC&&(bC=lk(n,!0)));var d=0,f=bC;do{var h=f,p=nk(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=Jx(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(!CC[d])for(var E=0;E<=d;E++)CC[E]||(CC[E]={});CC[d].vx==M&&CC[d].vy==L&&CC[d].el===h||(CC[d].el=h,CC[d].vx=M,CC[d].vy=L,clearInterval(CC[d].pid),0==M&&0==L||(u=!0,CC[d].pid=setInterval(function(){r&&0===this.layer&&dC.active._onTouchMove(xC);var t=CC[this.layer].vy?CC[this.layer].vy*l:0,n=CC[this.layer].vx?CC[this.layer].vx*l:0;"function"==typeof i&&"continue"!==i.call(dC.dragged.parentNode[pk],n,t,e,xC,CC[this.layer].el)||dk(CC[this.layer].el,n,t)}.bind({layer:d}),24))),d++}while(t.bubbleScroll&&f!==c&&(f=lk(f,!1)));SC=u}}),30),EC=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 NC(){}function OC(){}NC.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=ik(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:EC},Px(NC,{pluginName:"revertOnSpill"}),OC.prototype={onSpill:function(e){var t=e.dragEl,n=e.putSortable||this.sortable;n.captureAnimationState(),t.parentNode&&t.parentNode.removeChild(t),n.animateAll()},drop:EC},Px(OC,{pluginName:"removeOnSpill"}),dC.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?qx(document,"dragover",this._handleAutoScroll):this.options.supportPointer?qx(document,"pointermove",this._handleFallbackAutoScroll):t.touches?qx(document,"touchmove",this._handleFallbackAutoScroll):qx(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(e){var t=e.originalEvent;this.options.dragOverBubble||t.rootEl||this._handleAutoScroll(t)},drop:function(){this.sortable.nativeDraggable?Wx(document,"dragover",this._handleAutoScroll):(Wx(document,"pointermove",this._handleFallbackAutoScroll),Wx(document,"touchmove",this._handleFallbackAutoScroll),Wx(document,"mousemove",this._handleFallbackAutoScroll)),AC(),TC(),clearTimeout(Xx),Xx=void 0},nulling:function(){xC=yC=bC=SC=kC=_C=wC=null,CC.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(xC=e,t||this.options.forceAutoScrollFallback||jx||zx||Fx){LC(e,this.options,o,t);var a=lk(o,!0);!SC||kC&&r===_C&&i===wC||(kC&&AC(),kC=setInterval((function(){var o=lk(document.elementFromPoint(r,i),!0);o!==a&&(a=o,TC()),LC(e,n.options,o,t)}),10),_C=r,wC=i)}else{if(!this.options.bubbleScroll||lk(o,!0)===tk())return void TC();LC(e,this.options,lk(o,!1),!1)}}},Px(e,{pluginName:"scroll",initializeByDefault:!0})}),dC.mount(OC,NC);const RC="dnd-drag-handle",DC="dnd-drag-enabled";dC.mount(new function(){function e(){this.defaults={swapClass:"sortable-swap-highlight"}}return e.prototype={dragStart:function(e){var t=e.dragEl;MC=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=MC;!1!==r(n)?(Kx(n,l.swapClass,!0),MC=n):MC=null,c&&c!==MC&&Kx(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;MC&&Kx(MC,o.swapClass,!1),MC&&(o.swap||n&&n.options.swap)&&r!==MC&&(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=ak(e),r=ak(t),i.isEqualNode(o)&&n<r&&r++,i.insertBefore(t,i.children[n]),o.insertBefore(e,o.children[r]))}(r,MC),i.animateAll(),i!==t&&t.animateAll())},nulling:function(){MC=null}},Px(e,{pluginName:"swap",eventProperties:function(){return{swapItem:MC}}})});const PC=({className:e,options:t,kind:n="default",children:r,...i})=>{const o=aa(null);return((e,t)=>{ia((()=>{if(e.current){const n=dC.create(e.current,{animation:150,handle:`.${RC}`,draggable:`.${DC}`,...t});return()=>{n.destroy()}}}),[e,t])})(o,sa((()=>({...t,..."swap"===n&&{swap:!0,swapClass:"dnd-drag-swap-highlight"}})),[t,n])),jc("div",{ref:o,className:ks("styles_grid__bgsAQ",e),...i,children:r})},IC=({className:e})=>jc(Fc,{id:Bc.draggable,className:e});const zC=({className:e})=>jc("div",{className:ks("styles_drag-handle__2DC4-",RC,e),children:jc(IC,{})});const jC=({className:e,children:t,dndEnabled:n=!1,...r})=>jc("div",{...r,className:ks("styles_grid-item__-kGp3",{[DC]:n},e),children:[jc("div",{className:"styles_grid-item-content__hZ5TS",children:t}),n&&jc(zC,{className:"styles_grid-item-handle__OyO7A"})]}),BC=({locale:e,setLocale:t,availableLocales:n})=>{const r=n||Object.keys(Sf),i=[...new Set(r)].map((e=>({key:e,value:Sf[e].full})));return jc(nf,{size:"s",menuTrigger:({isOpened:t,onClick:n})=>jc(Xc,{style:"ghost",size:"s",text:Sf[e]&&Sf[e].short||Sf.en.short,isExpanded:t,onClick:n}),children:jc(nf.Section,{children:i.map((({key:n,value:r})=>jc(nf.ItemWithCheckmark,{onClick:()=>{t(n)},isChecked:e===n,children:r},n)))})})},FC={light:Bc.lineShapesSun,dark:Bc.lineShapesMoon,auto:Bc.lineShapesThemeAuto},HC=({theme:e,toggleTheme:t})=>jc(Yc,{onClick:t,style:"ghost",icon:FC[e],size:"s"});var $C="styles_label__IW9cn";const UC=e=>{const{icon:t,children:n,tooltip:r,className:i,style:o="secondary",...a}=e,s=jc("div",{className:ks("styles_wrapper__elS6G",i),children:[jc(Fc,{className:"styles_icon__GXXnU",id:t}),jc($c,{className:"styles_text__fEQgL",type:"ui",size:"s",bold:!0,children:n})]});return jc("div",r?{className:$C,...a,"data-style":o,children:jc(yd,{tooltipText:r,children:s})}:{className:$C,...a,"data-style":o,children:s})};var qC=aS(),WC=e=>nS(e,qC),VC=aS();WC.write=e=>nS(e,VC);var GC=aS();WC.onStart=e=>nS(e,GC);var YC=aS();WC.onFrame=e=>nS(e,YC);var XC=aS();WC.onFinish=e=>nS(e,XC);var ZC=[];WC.setTimeout=(e,t)=>{const n=WC.now()+t,r=()=>{const e=ZC.findIndex((e=>e.cancel==r));~e&&ZC.splice(e,1),eS-=~e?1:0},i={time:n,handler:e,cancel:r};return ZC.splice(KC(n),0,i),eS+=1,rS(),i};var KC=e=>~(~ZC.findIndex((t=>t.time>e))||~ZC.length);WC.cancel=e=>{GC.delete(e),YC.delete(e),XC.delete(e),qC.delete(e),VC.delete(e)},WC.sync=e=>{tS=!0,WC.batchedUpdates(e),tS=!1},WC.throttle=e=>{let t;function n(){try{e(...t)}finally{t=null}}function r(...e){t=e,WC.onStart(n)}return r.handler=e,r.cancel=()=>{GC.delete(n),t=null},r};var JC="undefined"!=typeof window?window.requestAnimationFrame:()=>{};WC.use=e=>JC=e,WC.now="undefined"!=typeof performance?()=>performance.now():Date.now,WC.batchedUpdates=e=>e(),WC.catch=console.error,WC.frameLoop="always",WC.advance=()=>{"demand"!==WC.frameLoop?console.warn("Cannot call the manual advancement of rafz whilst frameLoop is not set as demand"):oS()};var QC=-1,eS=0,tS=!1;function nS(e,t){tS?(t.delete(e),e(0)):(t.add(e),rS())}function rS(){QC<0&&(QC=0,"demand"!==WC.frameLoop&&JC(iS))}function iS(){~QC&&(JC(iS),WC.batchedUpdates(oS))}function oS(){const e=QC;QC=WC.now();const t=KC(QC);t&&(sS(ZC.splice(0,t),(e=>e.handler())),eS-=t),eS?(GC.flush(),qC.flush(e?Math.min(64,QC-e):16.667),YC.flush(),VC.flush(),XC.flush()):QC=-1}function aS(){let e=new Set,t=e;return{add(n){eS+=t!=e||e.has(n)?0:1,e.add(n)},delete:n=>(eS-=t==e&&e.has(n)?1:0,e.delete(n)),flush(n){t.size&&(e=new Set,eS-=t.size,sS(t,(t=>t(n)&&e.add(t))),eS+=e.size,t=e)}}}function sS(e,t){e.forEach((e=>{try{t(e)}catch(e){WC.catch(e)}}))}var lS=Object.defineProperty,cS={};function uS(){}((e,t)=>{for(var n in t)lS(e,n,{get:t[n],enumerable:!0})})(cS,{assign:()=>CS,colors:()=>wS,createStringInterpolator:()=>vS,skipAnimation:()=>xS,to:()=>bS,willAdvance:()=>kS});var dS={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 fS(e,t){if(dS.arr(e)){if(!dS.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 hS=(e,t)=>e.forEach(t);function pS(e,t,n){if(dS.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 gS=e=>dS.und(e)?[]:dS.arr(e)?e:[e];function mS(e,t){if(e.size){const n=Array.from(e);e.clear(),hS(n,t)}}var vS,bS,yS=(e,...t)=>mS(e,(e=>e(...t))),_S=()=>"undefined"==typeof window||!window.navigator||/ServerSideRendering|^Deno\//.test(window.navigator.userAgent),wS=null,xS=!1,kS=uS,CS=e=>{e.to&&(bS=e.to),e.now&&(WC.now=e.now),void 0!==e.colors&&(wS=e.colors),null!=e.skipAnimation&&(xS=e.skipAnimation),e.createStringInterpolator&&(vS=e.createStringInterpolator),e.requestAnimationFrame&&WC.use(e.requestAnimationFrame),e.batchedUpdates&&(WC.batchedUpdates=e.batchedUpdates),e.willAdvance&&(kS=e.willAdvance),e.frameLoop&&(WC.frameLoop=e.frameLoop)},SS=new Set,TS=[],AS=[],MS=0,LS={get idle(){return!SS.size&&!TS.length},start(e){MS>e.priority?(SS.add(e),WC.onStart(ES)):(NS(e),WC(RS))},advance:RS,sort(e){if(MS)WC.onFrame((()=>LS.sort(e)));else{const t=TS.indexOf(e);~t&&(TS.splice(t,1),OS(e))}},clear(){TS=[],SS.clear()}};function ES(){SS.forEach(NS),SS.clear(),WC(RS)}function NS(e){TS.includes(e)||OS(e)}function OS(e){TS.splice(function(e,t){const n=e.findIndex(t);return n<0?e.length:n}(TS,(t=>t.priority>e.priority)),0,e)}function RS(e){const t=AS;for(let n=0;n<TS.length;n++){const r=TS[n];MS=r.priority,r.idle||(kS(r),r.advance(e),r.idle||t.push(r))}return MS=0,(AS=TS).length=0,(TS=t).length>0}var DS={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},PS="[-+]?\\d*\\.?\\d+",IS=PS+"%";function zS(...e){return"\\(\\s*("+e.join(")\\s*,\\s*(")+")\\s*\\)"}var jS=new RegExp("rgb"+zS(PS,PS,PS)),BS=new RegExp("rgba"+zS(PS,PS,PS,PS)),FS=new RegExp("hsl"+zS(PS,IS,IS)),HS=new RegExp("hsla"+zS(PS,IS,IS,PS)),$S=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,US=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,qS=/^#([0-9a-fA-F]{6})$/,WS=/^#([0-9a-fA-F]{8})$/;function VS(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 GS(e,t,n){const r=n<.5?n*(1+t):n+t-n*t,i=2*n-r,o=VS(i,r,e+1/3),a=VS(i,r,e),s=VS(i,r,e-1/3);return Math.round(255*o)<<24|Math.round(255*a)<<16|Math.round(255*s)<<8}function YS(e){const t=parseInt(e,10);return t<0?0:t>255?255:t}function XS(e){return(parseFloat(e)%360+360)%360/360}function ZS(e){const t=parseFloat(e);return t<0?0:t>1?255:Math.round(255*t)}function KS(e){const t=parseFloat(e);return t<0?0:t>100?1:t/100}function JS(e){let t=function(e){let t;return"number"==typeof e?e>>>0===e&&e>=0&&e<=4294967295?e:null:(t=qS.exec(e))?parseInt(t[1]+"ff",16)>>>0:wS&&void 0!==wS[e]?wS[e]:(t=jS.exec(e))?(YS(t[1])<<24|YS(t[2])<<16|YS(t[3])<<8|255)>>>0:(t=BS.exec(e))?(YS(t[1])<<24|YS(t[2])<<16|YS(t[3])<<8|ZS(t[4]))>>>0:(t=$S.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+"ff",16)>>>0:(t=WS.exec(e))?parseInt(t[1],16)>>>0:(t=US.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+t[4]+t[4],16)>>>0:(t=FS.exec(e))?(255|GS(XS(t[1]),KS(t[2]),KS(t[3])))>>>0:(t=HS.exec(e))?(GS(XS(t[1]),KS(t[2]),KS(t[3]))|ZS(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 QS=(e,t,n)=>{if(dS.fun(e))return e;if(dS.arr(e))return QS({range:e,output:t,extrapolate:n});if(dS.str(e.output[0]))return vS(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)}},eT=Symbol.for("FluidValue.get"),tT=Symbol.for("FluidValue.observers"),nT=e=>Boolean(e&&e[eT]),rT=e=>e&&e[eT]?e[eT]():e,iT=e=>e[tT]||null;function oT(e,t){const n=e[tT];n&&n.forEach((e=>{!function(e,t){e.eventObserved?e.eventObserved(t):e(t)}(e,t)}))}var aT=class{constructor(e){if(!e&&!(e=this.get))throw Error("Unknown getter");sT(this,e)}},sT=(e,t)=>dT(e,eT,t);function lT(e,t){if(e[eT]){let n=e[tT];n||dT(e,tT,n=new Set),n.has(t)||(n.add(t),e.observerAdded&&e.observerAdded(n.size,t))}return t}function cT(e,t){const n=e[tT];if(n&&n.has(t)){const r=n.size-1;r?n.delete(t):e[tT]=null,e.observerRemoved&&e.observerRemoved(r,t)}}var uT,dT=(e,t,n)=>Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0}),fT=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,hT=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,pT=new RegExp(`(${fT.source})(%|[a-z]+)`,"i"),gT=/rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi,mT=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/,vT=e=>{const[t,n]=bT(e);if(!t||_S())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&&mT.test(n)?vT(n):n||e},bT=e=>{const t=mT.exec(e);if(!t)return[,];const[,n,r]=t;return[n,r]},yT=(e,t,n,r,i)=>`rgba(${Math.round(t)}, ${Math.round(n)}, ${Math.round(r)}, ${i})`,_T=e=>{uT||(uT=wS?new RegExp(`(${Object.keys(wS).join("|")})(?!\\w)`,"g"):/^\b$/);const t=e.output.map((e=>rT(e).replace(mT,vT).replace(hT,JS).replace(uT,JS))),n=t.map((e=>e.match(fT).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=>QS({...e,output:t})));return e=>{const n=!pT.test(t[0])&&t.find((e=>pT.test(e)))?.replace(fT,"");let r=0;return t[0].replace(fT,(()=>`${i[r++](e)}${n||""}`)).replace(gT,yT)}},wT="react-spring: ",xT=e=>{const t=e;let n=!1;if("function"!=typeof t)throw new TypeError(`${wT}once requires a function parameter`);return(...e)=>{n||(t(...e),n=!0)}},kT=xT(console.warn),CT=xT(console.warn);function ST(e){return dS.str(e)&&("#"==e[0]||/\d/.test(e)||!_S()&&mT.test(e)||e in(wS||{}))}var TT=_S()?ia:oa;function AT(){const e=na()[1],t=(()=>{const e=aa(!1);return TT((()=>(e.current=!0,()=>{e.current=!1})),[]),e})();return()=>{t.current&&e(Math.random())}}var MT=e=>ia(e,LT),LT=[];function ET(e){const t=aa(void 0);return ia((()=>{t.current=e})),t.current}var NT=Symbol.for("Animated:node"),OT=e=>e&&e[NT],RT=(e,t)=>{return n=e,r=NT,i=t,Object.defineProperty(n,r,{value:i,writable:!0,configurable:!0});var n,r,i},DT=e=>e&&e[NT]&&e[NT].getPayload(),PT=class{constructor(){RT(this,this)}getPayload(){return this.payload||[]}},IT=class e extends PT{constructor(e){super(),this._value=e,this.done=!0,this.durationProgress=0,dS.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 dS.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,dS.num(this._value)&&(this.elapsedTime=0,this.durationProgress=0,this.lastPosition=this._value,e&&(this.lastVelocity=null),this.v0=null)}},zT=class e extends IT{constructor(e){super(0),this._string=null,this._toString=QS({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(dS.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=QS({output:[this.getValue(),e]})),this._value=0,super.reset()}},jT={dependencies:null},BT=class extends PT{constructor(e){super(),this.source=e,this.setValue(e)}getValue(e){const t={};return pS(this.source,((n,r)=>{var i;(i=n)&&i[NT]===i?t[r]=n.getValue(e):nT(n)?t[r]=rT(n):e||(t[r]=n)})),t}setValue(e){this.source=e,this.payload=this._makePayload(e)}reset(){this.payload&&hS(this.payload,(e=>e.reset()))}_makePayload(e){if(e){const t=new Set;return pS(e,this._addToPayload,t),Array.from(t)}}_addToPayload(e){jT.dependencies&&nT(e)&&jT.dependencies.add(e);const t=DT(e);t&&hS(t,(e=>this.add(e)))}},FT=class e extends BT{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(HT)),!0)}};function HT(e){return(ST(e)?zT:IT).create(e)}function $T(e){const t=OT(e);return t?t.constructor:dS.arr(e)?FT:ST(e)?zT:IT}var UT=(e,t)=>{const n=!dS.fun(e)||e.prototype&&e.prototype.isReactComponent;return Wa(((r,i)=>{const o=aa(null),a=n&&la((e=>{o.current=function(e,t){return e&&(dS.fun(e)?e(t):e.current=t),t}(i,e)}),[i]),[s,l]=function(e,t){const n=new Set;return jT.dependencies=n,e.style&&(e={...e,style:t.createAnimatedStyle(e.style)}),e=new BT(e),jT.dependencies=null,[e,n]}(r,t),c=AT(),u=()=>{const e=o.current;n&&!e||!1===(!!e&&t.applyAnimatedValues(e,s.getValue(!0)))&&c()},d=new qT(u,l),f=aa(void 0);TT((()=>(f.current=d,hS(l,(e=>lT(e,d))),()=>{f.current&&(hS(f.current.deps,(e=>cT(e,f.current))),WC.cancel(f.current.update))}))),ia(u,[]),MT((()=>()=>{const e=f.current;hS(e.deps,(t=>cT(t,e)))}));const h=t.getComponentProps(s.getValue());return go(e,{...h,ref:a})}))},qT=class{constructor(e,t){this.update=e,this.deps=t}eventObserved(e){"change"==e.type&&WC.write(this.update)}},WT=Symbol.for("AnimatedComponent"),VT=(e,{applyAnimatedValues:t=()=>!1,createAnimatedStyle:n=e=>new BT(e),getComponentProps:r=e=>e}={})=>{const i={applyAnimatedValues:t,createAnimatedStyle:n,getComponentProps:r},o=e=>{const t=GT(e)||"Anonymous";return(e=dS.str(e)?o[e]||(o[e]=UT(e,i)):e[WT]||(e[WT]=UT(e,i))).displayName=`Animated(${t})`,e};return pS(e,((t,n)=>{dS.arr(e)&&(n=GT(t)),o[n]=o(t)})),{animated:o}},GT=e=>dS.str(e)?e:e&&dS.str(e.displayName)?e.displayName:dS.fun(e)&&e.name||null;function YT(e,...t){return dS.fun(e)?e(...t):e}var XT=(e,t)=>!0===e||!!(t&&e&&(dS.fun(e)?e(t):gS(e).includes(t))),ZT=(e,t)=>dS.obj(e)?t&&e[t]:e,KT=(e,t)=>!0===e.default?e[t]:e.default?e.default[t]:void 0,JT=e=>e,QT=(e,t=JT)=>{let n=eA;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);dS.und(n)||(r[i]=n)}return r},eA=["config","onProps","onStart","onChange","onPause","onResume","onRest"],tA={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 nA(e){const t=function(e){const t={};let n=0;if(pS(e,((e,r)=>{tA[r]||(t[r]=e,n++)})),n)return t}(e);if(t){const n={to:t};return pS(e,((e,r)=>r in t||(n[r]=e))),n}return{...e}}function rA(e){return e=rT(e),dS.arr(e)?e.map(rA):ST(e)?cS.createStringInterpolator({range:[0,1],output:[e,e]})(1):e}function iA(e){for(const t in e)return!0;return!1}function oA(e){return dS.fun(e)||dS.arr(e)&&dS.obj(e[0])}function aA(e,t){e.ref?.delete(e),t?.delete(e)}function sA(e,t){t&&e.ref!==t&&(e.ref?.delete(e),t.add(e),e.ref=t)}var lA={default:{tension:170,friction:26},gentle:{tension:120,friction:14},wobbly:{tension:180,friction:12},stiff:{tension:210,friction:20},slow:{tension:280,friction:60},molasses:{tension:280,friction:120}},cA={...lA.default,mass:1,damping:1,easing:e=>e,clamp:!1},uA=class{constructor(){this.velocity=0,Object.assign(this,cA)}};function dA(e,t){if(dS.und(t.decay)){const n=!dS.und(t.tension)||!dS.und(t.friction);!n&&dS.und(t.frequency)&&dS.und(t.damping)&&dS.und(t.mass)||(e.duration=void 0,e.decay=void 0),n&&(e.frequency=void 0)}else e.duration=void 0}var fA=[],hA=class{constructor(){this.changed=!1,this.values=fA,this.toValues=null,this.fromValues=fA,this.config=new uA,this.immediate=!1}};function pA(e,{key:t,props:n,defaultProps:r,state:i,actions:o}){return new Promise(((a,s)=>{let l,c,u=XT(n.cancel??r?.cancel,t);if(u)h();else{dS.und(n.pause)||(i.paused=XT(n.pause,t));let e=r?.pause;!0!==e&&(e=i.paused||XT(e,t)),l=YT(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-WC.now()}function f(){l>0&&!cS.skipAnimation?(i.delayed=!0,c=WC.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 gA=(e,t)=>1==t.length?t[0]:t.some((e=>e.cancelled))?bA(e.get()):t.every((e=>e.noop))?mA(e.get()):vA(e.get(),t.every((e=>e.finished))),mA=e=>({value:e,noop:!0,finished:!0,cancelled:!1}),vA=(e,t,n=!1)=>({value:e,finished:t,cancelled:n}),bA=e=>({value:e,cancelled:!0,finished:!1});function yA(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=QT(t,((e,t)=>"onRest"===t?void 0:e));let u,d;const f=new Promise(((e,t)=>(u=e,d=t))),h=e=>{const t=i<=(n.cancelId||0)&&bA(r)||i!==n.asyncId&&vA(r,!1);if(t)throw e.result=t,d(e),e},p=(e,t)=>{const o=new wA,a=new xA;return(async()=>{if(cS.skipAnimation)throw _A(n),a.result=vA(r,!1),d(a),a;h(o);const s=dS.obj(e)?{...e}:{...t,to:e};s.parentId=i,pS(c,((e,t)=>{dS.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(cS.skipAnimation)return _A(n),vA(r,!1);try{let t;t=dS.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=vA(r.get(),!0,!1)}catch(e){if(e instanceof wA)g=e.result;else{if(!(e instanceof xA))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 dS.fun(a)&&WC.batchedUpdates((()=>{a(g,r,r.item)})),g})():l}function _A(e,t){mS(e.timeouts,(e=>e.cancel())),e.pauseQueue.clear(),e.resumeQueue.clear(),e.asyncId=e.asyncTo=e.promise=void 0,t&&(e.cancelId=t)}var wA=class extends Error{constructor(){super("An async animation has been interrupted. You see this error because you forgot to use `await` or `.catch(...)` on its returned promise.")}},xA=class extends Error{constructor(){super("SkipAnimationSignal")}},kA=e=>e instanceof SA,CA=1,SA=class extends aT{constructor(){super(...arguments),this.id=CA++,this._priority=0}get priority(){return this._priority}set priority(e){this._priority!=e&&(this._priority=e,this._onPriorityChange(e))}get(){const e=OT(this);return e&&e.getValue()}to(...e){return cS.to(this,e)}interpolate(...e){return kT(`${wT}The "interpolate" function is deprecated in v9 (use "to" instead)`),cS.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){oT(this,{type:"change",parent:this,value:e,idle:t})}_onPriorityChange(e){this.idle||LS.sort(this),oT(this,{type:"priority",parent:this,priority:e})}},TA=Symbol.for("SpringPhase"),AA=e=>(1&e[TA])>0,MA=e=>(2&e[TA])>0,LA=e=>(4&e[TA])>0,EA=(e,t)=>t?e[TA]|=3:e[TA]&=-3,NA=(e,t)=>t?e[TA]|=4:e[TA]&=-5,OA=class extends SA{constructor(e,t){if(super(),this.animation=new hA,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,!dS.und(e)||!dS.und(t)){const n=dS.obj(e)?{...e}:{...t,from:e};dS.und(n.default)&&(n.default=!0),this.start(n)}}get idle(){return!(MA(this)||this._state.asyncTo)||LA(this)}get goal(){return rT(this.animation.to)}get velocity(){const e=OT(this);return e instanceof IT?e.lastVelocity||0:e.getPayload().map((e=>e.lastVelocity||0))}get hasAnimated(){return AA(this)}get isAnimating(){return MA(this)}get isPaused(){return LA(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=DT(r.to);!a&&nT(r.to)&&(i=gS(rT(r.to))),r.values.forEach(((s,l)=>{if(s.done)return;const c=s.constructor==zT?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=dS.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(dS.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=!dS.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=OT(this),l=s.getValue();if(t){const e=rT(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 WC.batchedUpdates((()=>{this._stop(),this._focus(e),this._set(e)})),this}pause(){this._update({pause:!0})}resume(){this._update({pause:!1})}finish(){if(MA(this)){const{to:e,config:t}=this.animation;WC.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 dS.und(e)?(n=this.queue||[],this.queue=[]):n=[dS.obj(e)?e:{...t,to:e}],Promise.all(n.map((e=>this._update(e)))).then((e=>gA(this,e)))}stop(e){const{to:t}=this.animation;return this._focus(this.get()),_A(this._state,e&&this._lastCallId),WC.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=dS.obj(n)?n[t]:n,(null==n||oA(n))&&(n=void 0),r=dS.obj(r)?r[t]:r,null==r&&(r=void 0);const i={to:n,from:r};return AA(this)||(e.reverse&&([n,r]=[r,n]),r=rT(r),dS.und(r)?OT(this)||this._set(n):this._set(r)),i}_update({...e},t){const{key:n,defaultProps:r}=this;e.default&&Object.assign(r,QT(e,((e,t)=>/^on/.test(t)?ZT(e,n):e))),BA(this,e,"onProps"),FA(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 pA(++this._lastCallId,{key:n,props:e,defaultProps:r,state:o,actions:{pause:()=>{LA(this)||(NA(this,!0),yS(o.pauseQueue),FA(this,"onPause",vA(this,RA(this,this.animation.to)),this))},resume:()=>{LA(this)&&(NA(this,!1),MA(this)&&this._resume(),yS(o.resumeQueue),FA(this,"onResume",vA(this,RA(this,this.animation.to)),this))},start:this._merge.bind(this,i)}}).then((n=>{if(e.loop&&n.finished&&(!t||!n.noop)){const t=DA(e);if(t)return this._update(t,!0)}return n}))}_merge(e,t,n){if(t.cancel)return this.stop(!0),n(bA(this));const r=!dS.und(e.to),i=!dS.und(e.from);if(r||i){if(!(t.callId>this._lastToId))return n(bA(this));this._lastToId=t.callId}const{key:o,defaultProps:a,animation:s}=this,{to:l,from:c}=s;let{to:u=l,from:d=c}=e;!i||r||t.default&&!dS.und(u)||(u=d),t.reverse&&([u,d]=[d,u]);const f=!fS(d,c);f&&(s.from=d),d=rT(d);const h=!fS(u,l);h&&this._focus(u);const p=oA(t.to),{config:g}=s,{decay:m,velocity:v}=g;(r||i)&&(g.velocity=0),t.config&&!p&&function(e,t,n){n&&(dA(n={...n},t),t={...n,...t}),dA(e,t),Object.assign(e,t);for(const t in cA)null==e[t]&&(e[t]=cA[t]);let{frequency:r,damping:i}=e;const{mass:o}=e;dS.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,YT(t.config,o),t.config!==a.config?YT(a.config,o):void 0);let b=OT(this);if(!b||dS.und(u))return n(vA(this,!0));const y=dS.und(t.reset)?i&&!t.default:!dS.und(d)&&XT(t.reset,o),_=y?d:this.get(),w=rA(u),x=dS.num(w)||dS.arr(w)||ST(w),k=!p&&(!x||XT(a.immediate||t.immediate,o));if(h){const e=$T(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=nT(u),T=!1;if(!S){const e=y||!AA(this)&&f;(h||e)&&(T=fS(rA(_),w),S=!T),(fS(s.immediate,k)||k)&&fS(g.decay,m)&&fS(g.velocity,v)||(S=!0)}if(T&&MA(this)&&(s.changed&&!y?S=!0:S||this._stop(l)),!p&&((S||nT(l))&&(s.values=b.getPayload(),s.toValues=nT(u)?null:C==zT?[1]:gS(w)),s.immediate!=k&&(s.immediate=k,k||y||this._set(l)),S)){const{onRest:e}=s;hS(jA,(e=>BA(this,t,e)));const r=vA(this,RA(this,l));yS(this._pendingCalls,r),this._pendingCalls.add(n),s.changed&&WC.batchedUpdates((()=>{s.changed=!y,e?.(r,this),y?YT(a.onRest,r):s.onStart?.(r,this)}))}y&&this._set(_),p?n(yA(t.to,t,this._state,this)):S?this._start():MA(this)&&!h?this._pendingCalls.add(n):n(mA(_))}_focus(e){const t=this.animation;e!==t.to&&(iT(this)&&this._detach(),t.to=e,iT(this)&&this._attach())}_attach(){let e=0;const{to:t}=this.animation;nT(t)&&(lT(t,this),kA(t)&&(e=t.priority+1)),this.priority=e}_detach(){const{to:e}=this.animation;nT(e)&&cT(e,this)}_set(e,t=!0){const n=rT(e);if(!dS.und(n)){const e=OT(this);if(!e||!fS(n,e.getValue())){const r=$T(n);e&&e.constructor==r?e.setValue(n):RT(this,r.create(n)),e&&WC.batchedUpdates((()=>{this._onChange(n,t)}))}}return OT(this)}_onStart(){const e=this.animation;e.changed||(e.changed=!0,FA(this,"onStart",vA(this,RA(this,e.to)),this))}_onChange(e,t){t||(this._onStart(),YT(this.animation.onChange,e,this)),YT(this.defaultProps.onChange,e,this),super._onChange(e,t)}_start(){const e=this.animation;OT(this).reset(rT(e.to)),e.immediate||(e.fromValues=e.values.map((e=>e.lastPosition))),MA(this)||(EA(this,!0),LA(this)||this._resume())}_resume(){cS.skipAnimation?this.finish():LS.start(this)}_stop(e,t){if(MA(this)){EA(this,!1);const n=this.animation;hS(n.values,(e=>{e.done=!0})),n.toValues&&(n.onChange=n.onPause=n.onResume=void 0),oT(this,{type:"idle",parent:this});const r=t?bA(this.get()):vA(this.get(),RA(this,e??n.to));yS(this._pendingCalls,r),n.changed&&(n.changed=!1,FA(this,"onRest",r,this))}}};function RA(e,t){const n=rA(t);return fS(rA(e.get()),n)}function DA(e,t=e.loop,n=e.to){const r=YT(t);if(r){const i=!0!==r&&nA(r),o=(i||e).reverse,a=!i||i.reset;return PA({...e,loop:t,default:!1,pause:void 0,to:!o||oA(n)?n:void 0,from:a?e.from:void 0,reset:a,...i})}}function PA(e){const{to:t,from:n}=e=nA(e),r=new Set;return dS.obj(t)&&zA(t,r),dS.obj(n)&&zA(n,r),e.keys=r.size?Array.from(r):null,e}function IA(e){const t=PA(e);return dS.und(t.default)&&(t.default=QT(t)),t}function zA(e,t){pS(e,((e,n)=>null!=e&&t.add(n)))}var jA=["onStart","onRest","onChange","onPause","onResume"];function BA(e,t,n){e.animation[n]=t[n]!==KT(t,n)?ZT(t[n],e.key):void 0}function FA(e,t,...n){e.animation[t]?.(...n),e.defaultProps[t]?.(...n)}var HA=["onStart","onChange","onRest"],$A=1,UA=class{constructor(e,t){this.id=$A++,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];dS.und(n)||this.springs[t].set(n)}}update(e){return e&&this.queue.push(PA(e)),this}start(e){let{queue:t}=this;return e?t=gS(e).map(PA):this.queue=[],this._flush?this._flush(this,t):(ZA(this,t),qA(this,t))}stop(e,t){if(e!==!!e&&(t=e),t){const n=this.springs;hS(gS(t),(t=>n[t].stop(!!e)))}else _A(this._state,this._lastAsyncId),this.each((t=>t.stop(!!e)));return this}pause(e){if(dS.und(e))this.start({pause:!0});else{const t=this.springs;hS(gS(e),(e=>t[e].pause()))}return this}resume(e){if(dS.und(e))this.start({pause:!1});else{const t=this.springs;hS(gS(e),(e=>t[e].resume()))}return this}each(e){pS(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,mS(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&&mS(t,(([e,t])=>{t.value=a,e(t,this,this._item)})),o&&(this._started=!1,mS(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)}WC.onFrame(this._onFrame)}};function qA(e,t){return Promise.all(t.map((t=>WA(e,t)))).then((t=>gA(e,t)))}async function WA(e,t,n){const{keys:r,to:i,from:o,loop:a,onRest:s,onResolve:l}=t,c=dS.obj(t.default)&&t.default;a&&(t.loop=!1),!1===i&&(t.to=null),!1===o&&(t.from=null);const u=dS.arr(i)||dS.fun(i)?i:void 0;u?(t.to=void 0,t.onRest=void 0,c&&(c.onRest=void 0)):hS(HA,(n=>{const r=t[n];if(dS.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,yS(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===KT(t,"cancel");(u||h&&d.asyncId)&&f.push(pA(++e._lastAsyncId,{props:t,state:d,actions:{pause:uS,resume:uS,start(t,n){h?(_A(d,e._lastAsyncId),n(bA(e))):(t.onRest=s,n(yA(u,t,d,e)))}}})),d.paused&&await new Promise((e=>{d.resumeQueue.add(e)}));const p=gA(e,await Promise.all(f));if(a&&p.finished&&(!n||!p.noop)){const n=DA(t,a,i);if(n)return ZA(e,[n]),WA(e,n,!0)}return l&&WC.batchedUpdates((()=>l(p,e,e.item))),p}function VA(e,t){const n={...e.springs};return t&&hS(gS(t),(e=>{dS.und(e.keys)&&(e=PA(e)),dS.obj(e.to)||(e={...e,to:void 0}),XA(n,e,(e=>YA(e)))})),GA(e,n),n}function GA(e,t){pS(t,((t,n)=>{e.springs[n]||(e.springs[n]=t,lT(t,e))}))}function YA(e,t){const n=new OA;return n.key=e,t&&lT(n,t),n}function XA(e,t,n){t.keys&&hS(t.keys,(r=>{(e[r]||(e[r]=n(r)))._prepareNode(t)}))}function ZA(e,t){hS(t,(t=>{XA(e.springs,t,(t=>YA(t,e)))}))}var KA=Ho({pause:!1,immediate:!1}),JA=()=>{const e=[],t=function(t){CT(`${wT}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 hS(e,((e,i)=>{if(dS.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 hS(e,(e=>e.pause(...arguments))),this},t.resume=function(){return hS(e,(e=>e.resume(...arguments))),this},t.set=function(t){hS(e,((e,n)=>{const r=dS.fun(t)?t(n,e):t;r&&e.set(r)}))},t.start=function(t){const n=[];return hS(e,((e,r)=>{if(dS.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 hS(e,(e=>e.stop(...arguments))),this},t.update=function(t){return hS(e,((e,n)=>e.update(this._getProps(t,e,n)))),this};const n=function(e,t,n){return dS.fun(e)?e(n,t):e};return t._getProps=n,t};function QA(e,t){const n=dS.fun(e),[[r],i]=function(e,t,n){const r=dS.fun(t)&&t;r&&!n&&(n=[]);const i=sa((()=>r||3==arguments.length?JA():void 0),[]),o=aa(0),a=AT(),s=sa((()=>({ctrls:[],queue:[],flush(e,t){const n=VA(e,t);return o.current>0&&!s.queue.length&&!Object.keys(n).some((t=>!e.springs[t]))?qA(e,t):new Promise((r=>{GA(e,n),s.queue.push((()=>{r(qA(e,t))})),a()}))}})),[]),l=aa([...s.ctrls]),c=aa([]),u=ET(e)||0;function d(e,n){for(let i=e;i<n;i++){const e=l.current[i]||(l.current[i]=new UA(null,s.flush)),n=r?r(i,e):t[i];n&&(c.current[i]=IA(n))}}sa((()=>{hS(l.current.slice(e,u),(e=>{aA(e,i),e.stop(!0)})),l.current.length=e,d(u,e)}),[e]),sa((()=>{d(0,Math.min(u,e))}),n);const f=l.current.map(((e,t)=>VA(e,c.current[t]))),h=ca(KA),p=ET(h),g=h!==p&&iA(h);TT((()=>{o.current++,s.ctrls=l.current;const{queue:e}=s;e.length&&(s.queue=[],hS(e,(e=>e()))),hS(l.current,((e,t)=>{i?.add(e),g&&e.start({default:h});const n=c.current[t];n&&(sA(e,n.ref),e.ref?e.queue.push(n):e.start(n))}))})),MT((()=>()=>{hS(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 eM(e,t,n){const r=dS.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=sa((()=>r||3==arguments.length?JA():void 0),[]),h=gS(e),p=[],g=aa(null),m=i?null:g.current;TT((()=>{g.current=p})),MT((()=>(hS(p,(e=>{f?.add(e.ctrl),e.ctrl.ref=f})),()=>{hS(g.current,(e=>{e.expired&&clearTimeout(e.expirationId),aA(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):tM++}))}return dS.und(n)?e:dS.fun(n)?e.map(n):gS(n)}(h,r?r():t,m),b=i&&g.current||[];TT((()=>hS(b,(({ctrl:e,item:t,key:n})=>{aA(e,f),YT(c,t,n)}))));const y=[];if(m&&hS(m,((e,t)=>{e.expired?(clearTimeout(e.expirationId),b.push(e)):~(t=y[t]=v.indexOf(e.key))&&(p[t]=e)})),hS(h,((e,t)=>{p[t]||(p[t]={key:v[t],item:e,phase:"mount",ctrl:new UA},p[t].ctrl.item=e)})),y.length){let e=-1;const{leave:n}=r?r():t;hS(y,((t,r)=>{const i=m[r];~t?(e=p.indexOf(i),p[e]={...i,item:h[t]}):n&&p.splice(++e,0,i)}))}dS.fun(o)&&p.sort(((e,t)=>o(e.item,t.item)));let _=-a;const w=AT(),x=QT(t),k=new Map,C=aa(new Map),S=aa(!1);hS(p,((e,n)=>{const i=e.key,o=e.phase,c=r?r():t;let f,h;const p=YT(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=YT(f,e.item,n),f=dS.obj(f)?nA(f):{to:f},!f.config){const t=d||x.config;f.config=YT(t,e.item,n,h)}_+=a;const b={...x,delay:p+_,ref:u,immediate:c.immediate,reset:!1,...f};if("enter"==h&&dS.und(b.from)){const i=r?r():t,o=dS.und(i.initial)||m?i.from:i.initial;b.from=YT(o,e.item,n)}const{onResolve:y}=b;b.onResolve=e=>{YT(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=YT(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=VA(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=ca(KA),A=ET(T),M=T!==A&&iA(T);TT((()=>{M&&hS(p,(e=>{e.ctrl.start({default:T})}))}),[T]),hS(k,((e,t)=>{if(C.current.size){const e=p.findIndex((e=>e.key===t.key));p.splice(e,1)}})),TT((()=>{hS(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&&(sA(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=>go(vo,null,p.map(((t,n)=>{const{springs:r}=k.get(t)||t.ctrl,i=e({...r},t.item,t,n),o=dS.str(t.key)||dS.num(t.key)?t.key:t.ctrl.id,a=i?.props??{},s=i?.ref;return i&&i.type?go(i.type,{...a,key:o,ref:s}):i})));return f?[L,f]:L}var tM=1,nM=class extends SA{constructor(e,t){super(),this.source=e,this.idle=!0,this._active=new Set,this.calc=QS(...t);const n=this._get(),r=$T(n);RT(this,r.create(n))}advance(e){const t=this._get();fS(t,this.get())||(OT(this).setValue(t),this._onChange(t,this.idle)),!this.idle&&iM(this._active)&&oM(this)}_get(){const e=dS.arr(this.source)?this.source.map(rT):gS(rT(this.source));return this.calc(...e)}_start(){this.idle&&!iM(this._active)&&(this.idle=!1,hS(DT(this),(e=>{e.done=!1})),cS.skipAnimation?(WC.batchedUpdates((()=>this.advance())),oM(this)):LS.start(this))}_attach(){let e=1;hS(gS(this.source),(t=>{nT(t)&&lT(t,this),kA(t)&&(t.idle||this._active.add(t),e=Math.max(e,t.priority+1))})),this.priority=e,this._start()}_detach(){hS(gS(this.source),(e=>{nT(e)&&cT(e,this)})),this._active.clear(),oM(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=gS(this.source).reduce(((e,t)=>Math.max(e,(kA(t)?t.priority:0)+1)),0))}};function rM(e){return!1!==e.idle}function iM(e){return!e.size||Array.from(e).every(rM)}function oM(e){e.idle||(e.idle=!0,hS(DT(e),(e=>{e.done=!0})),oT(e,{type:"idle",parent:e}))}var aM=(e,...t)=>new nM(e,t);cS.assign({createStringInterpolator:_T,to:(e,t)=>new nM(e,t)});var sM=/^--/;function lM(e,t){return null==t||"boolean"==typeof t||""===t?"":"number"!=typeof t||0===t||sM.test(e)||uM.hasOwnProperty(e)&&uM[e]?(""+t).trim():t+"px"}var cM={},uM={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},dM=["Webkit","Ms","Moz","O"];uM=Object.keys(uM).reduce(((e,t)=>(dM.forEach((n=>e[((e,t)=>e+t.charAt(0).toUpperCase()+t.substring(1))(n,t)]=e[t])),e)),uM);var fM=/^(matrix|translate|scale|rotate|skew)/,hM=/^(translate)/,pM=/^(rotate|skew)/,gM=(e,t)=>dS.num(e)&&0!==e?e+t:e,mM=(e,t)=>dS.arr(e)?e.every((e=>mM(e,t))):dS.num(e)?e===t:parseFloat(e)===t,vM=class extends BT{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=>gM(e,"px"))).join(",")})`,mM(e,0)]))),pS(r,((e,t)=>{if("transform"===t)i.push([e||""]),o.push((e=>[e,""===e]));else if(fM.test(t)){if(delete r[t],dS.und(e))return;const n=hM.test(t)?"px":pM.test(t)?"deg":"";i.push(gS(e)),o.push("rotate3d"===t?([e,t,r,i])=>[`rotate3d(${e},${t},${r},${gM(i,n)})`,mM(i,0)]:e=>[`${t}(${e.map((e=>gM(e,n))).join(",")})`,mM(e,t.startsWith("scale")?1:0)])}})),i.length&&(r.transform=new bM(i,o)),super(r)}},bM=class extends aT{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 hS(this.inputs,((n,r)=>{const i=rT(n[0]),[o,a]=this.transforms[r](dS.arr(i)?i:n.map(rT));e+=" "+o,t=t&&a})),t?"none":e}observerAdded(e){1==e&&hS(this.inputs,(e=>hS(e,(e=>nT(e)&&lT(e,this)))))}observerRemoved(e){0==e&&hS(this.inputs,(e=>hS(e,(e=>nT(e)&&cT(e,this)))))}eventObserved(e){"change"==e.type&&(this._value=null),oT(this,e)}};cS.assign({batchedUpdates:ys,createStringInterpolator:_T,colors:DS});var yM,_M,wM,xM,kM,CM,SM,TM,AM,MM,LM,EM,NM,OM,RM,DM,PM,IM,zM,jM,BM,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,jL,BL,FL,HL,$L,UL,qL,WL,VL,GL,YL,XL,ZL,KL,JL,QL,eE,tE,nE,rE,iE,oE,aE,sE,lE,cE=VT(["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:cM[t]||(cM[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=lM(t,i[t]);sM.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 vM(e),getComponentProps:({scrollTop:e,scrollLeft:t,...n})=>n}),uE=cE.animated;function dE(){return xM?wM:(xM=1,wM=function(e,t){return e===t||e!=e&&t!=t})}function fE(){if(CM)return kM;CM=1;var e=dE();return kM=function(t,n){for(var r=t.length;r--;)if(e(t[r][0],n))return r;return-1},kM}function hE(){if(DM)return RM;DM=1;var e=_M?yM:(_M=1,yM=function(){this.__data__=[],this.size=0}),t=function(){if(TM)return SM;TM=1;var e=fE(),t=Array.prototype.splice;return SM=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))},SM}(),n=function(){if(MM)return AM;MM=1;var e=fE();return AM=function(t){var n=this.__data__,r=e(n,t);return r<0?void 0:n[r][1]},AM}(),r=function(){if(EM)return LM;EM=1;var e=fE();return LM=function(t){return e(this.__data__,t)>-1}}(),i=function(){if(OM)return NM;OM=1;var e=fE();return NM=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},NM}();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,RM=o}function pE(){if(qM)return UM;qM=1;var e="object"==typeof $b&&$b&&$b.Object===Object&&$b;return UM=e}function gE(){if(VM)return WM;VM=1;var e=pE(),t="object"==typeof self&&self&&self.Object===Object&&self,n=e||t||Function("return this")();return WM=n}function mE(){if(YM)return GM;YM=1;var e=gE().Symbol;return GM=e}function vE(){if(eL)return QM;eL=1;var e=mE(),t=function(){if(ZM)return XM;ZM=1;var e=mE(),t=Object.prototype,n=t.hasOwnProperty,r=t.toString,i=e?e.toStringTag:void 0;return XM=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(JM)return KM;JM=1;var e=Object.prototype.toString;return KM=function(t){return e.call(t)}}(),r=e?e.toStringTag:void 0;return QM=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":r&&r in Object(e)?t(e):n(e)}}function bE(){return nL||(nL=1,tL=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}),tL}function yE(){if(iL)return rL;iL=1;var e=vE(),t=bE();return rL=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 _E(){if(uL)return cL;uL=1;var e=Function.prototype.toString;return cL=function(t){if(null!=t){try{return e.call(t)}catch(e){}try{return t+""}catch(e){}}return""}}function wE(){if(mL)return gL;mL=1;var e=function(){if(fL)return dL;fL=1;var e=yE(),t=function(){if(lL)return sL;lL=1;var e,t=function(){if(aL)return oL;aL=1;var e=gE()["__core-js_shared__"];return oL=e}(),n=(e=/[^.]+$/.exec(t&&t.keys&&t.keys.IE_PROTO||""))?"Symbol(src)_1."+e:"";return sL=function(e){return!!n&&n in e}}(),n=bE(),r=_E(),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 dL=function(o){return!(!n(o)||t(o))&&(e(o)?c:i).test(r(o))}}(),t=(pL||(pL=1,hL=function(e,t){return null==e?void 0:e[t]}),hL);return gL=function(n,r){var i=t(n,r);return e(i)?i:void 0},gL}function xE(){if(bL)return vL;bL=1;var e=wE()(gE(),"Map");return vL=e}function kE(){if(_L)return yL;_L=1;var e=wE()(Object,"create");return yL=e}function CE(){if(jL)return zL;jL=1;var e=(IL||(IL=1,PL=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}),PL);return zL=function(t,n){var r=t.__data__;return e(n)?r["string"==typeof n?"string":"hash"]:r.map},zL}function SE(){if(YL)return GL;YL=1;var e=function(){if(DL)return RL;DL=1;var e=function(){if(OL)return NL;OL=1;var e=function(){if(xL)return wL;xL=1;var e=kE();return wL=function(){this.__data__=e?e(null):{},this.size=0}}(),t=CL?kL:(CL=1,kL=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}),n=function(){if(TL)return SL;TL=1;var e=kE(),t=Object.prototype.hasOwnProperty;return SL=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(ML)return AL;ML=1;var e=kE(),t=Object.prototype.hasOwnProperty;return AL=function(n){var r=this.__data__;return e?void 0!==r[n]:t.call(r,n)}}(),i=function(){if(EL)return LL;EL=1;var e=kE();return LL=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,NL=o}(),t=hE(),n=xE();return RL=function(){this.size=0,this.__data__={hash:new e,map:new(n||t),string:new e}}}(),t=function(){if(FL)return BL;FL=1;var e=CE();return BL=function(t){var n=e(this,t).delete(t);return this.size-=n?1:0,n}}(),n=function(){if($L)return HL;$L=1;var e=CE();return HL=function(t){return e(this,t).get(t)}}(),r=function(){if(qL)return UL;qL=1;var e=CE();return UL=function(t){return e(this,t).has(t)}}(),i=function(){if(VL)return WL;VL=1;var e=CE();return WL=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,GL=o}function TE(){if(JL)return KL;JL=1;var e=hE(),t=function(){if(IM)return PM;IM=1;var e=hE();return PM=function(){this.__data__=new e,this.size=0}}(),n=jM?zM:(jM=1,zM=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}),r=FM?BM:(FM=1,BM=function(e){return this.__data__.get(e)}),i=$M?HM:($M=1,HM=function(e){return this.__data__.has(e)}),o=function(){if(ZL)return XL;ZL=1;var e=hE(),t=xE(),n=SE();return XL=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,KL=a}function AE(){if(eE)return QL;eE=1;var e=wE(),t=function(){try{var t=e(Object,"defineProperty");return t({},"",{}),t}catch(e){}}();return QL=t}function ME(){if(nE)return tE;nE=1;var e=AE();return tE=function(t,n,r){"__proto__"==n&&e?e(t,n,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[n]=r},tE}function LE(){if(iE)return rE;iE=1;var e=ME(),t=dE();return rE=function(n,r,i){(void 0!==i&&!t(n[r],i)||void 0===i&&!(r in n))&&e(n,r,i)},rE}function EE(){if(lE)return sE;lE=1;var e=(aE||(aE=1,oE=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}}),oE),t=e();return sE=t}var NE,OE,RE,DE,PE,IE,zE,jE,BE,FE,HE,$E,UE,qE,WE,VE,GE,YE,XE,ZE,KE,JE,QE,eN,tN,nN,rN,iN,oN,aN,sN,lN,cN,uN={exports:{}};function dN(){return NE||(NE=1,function(e,t){var n=gE(),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}}(uN,uN.exports)),uN.exports}function fN(){if(RE)return OE;RE=1;var e=gE().Uint8Array;return OE=e}function hN(){if(PE)return DE;PE=1;var e=fN();return DE=function(t){var n=new t.constructor(t.byteLength);return new e(n).set(new e(t)),n}}function pN(){if(zE)return IE;zE=1;var e=hN();return IE=function(t,n){var r=n?e(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.length)}}function gN(){return BE||(BE=1,jE=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}),jE}function mN(){return UE?$E:(UE=1,$E=function(e,t){return function(n){return e(t(n))}})}function vN(){if(WE)return qE;WE=1;var e=mN()(Object.getPrototypeOf,Object);return qE=e}function bN(){if(GE)return VE;GE=1;var e=Object.prototype;return VE=function(t){var n=t&&t.constructor;return t===("function"==typeof n&&n.prototype||e)}}function yN(){if(XE)return YE;XE=1;var e=function(){if(HE)return FE;HE=1;var e=bE(),t=Object.create,n=function(){function n(){}return function(r){if(!e(r))return{};if(t)return t(r);n.prototype=r;var i=new n;return n.prototype=void 0,i}}();return FE=n}(),t=vN(),n=bN();return YE=function(r){return"function"!=typeof r.constructor||n(r)?{}:e(t(r))},YE}function _N(){return KE?ZE:(KE=1,ZE=function(e){return null!=e&&"object"==typeof e})}function wN(){if(tN)return eN;tN=1;var e=function(){if(QE)return JE;QE=1;var e=vE(),t=_N();return JE=function(n){return t(n)&&"[object Arguments]"==e(n)}}(),t=_N(),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 eN=o}function xN(){if(rN)return nN;rN=1;var e=Array.isArray;return nN=e}function kN(){return oN?iN:(oN=1,iN=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991})}function CN(){if(sN)return aN;sN=1;var e=yE(),t=kN();return aN=function(n){return null!=n&&t(n.length)&&!e(n)}}function SN(){if(cN)return lN;cN=1;var e=CN(),t=_N();return lN=function(n){return t(n)&&e(n)}}var TN,AN,MN,LN,EN,NN,ON,RN,DN,PN={exports:{}};function IN(){return MN||(MN=1,function(e,t){var n=gE(),r=AN?TN:(AN=1,TN=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}(PN,PN.exports)),PN.exports}function zN(){if(EN)return LN;EN=1;var e=vE(),t=vN(),n=_N(),r=Function.prototype,i=Object.prototype,o=r.toString,a=i.hasOwnProperty,s=o.call(Object);return LN=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 jN(){return DN?RN:(DN=1,RN=function(e){return function(t){return e(t)}})}var BN,FN,HN,$N,UN,qN,WN,VN,GN,YN,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={exports:{}};function PO(){return BN||(BN=1,function(e,t){var n=pE(),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}(DO,DO.exports)),DO.exports}function IO(){if(HN)return FN;HN=1;var e=function(){if(ON)return NN;ON=1;var e=vE(),t=kN(),n=_N(),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,NN=function(i){return n(i)&&t(i.length)&&!!r[e(i)]}}(),t=jN(),n=PO(),r=n&&n.isTypedArray,i=r?t(r):e;return FN=i}function zO(){return UN||(UN=1,$N=function(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}),$N}function jO(){if(WN)return qN;WN=1;var e=ME(),t=dE(),n=Object.prototype.hasOwnProperty;return qN=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)},qN}function BO(){if(GN)return VN;GN=1;var e=jO(),t=ME();return VN=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},VN}function FO(){if(KN)return ZN;KN=1;var e=/^(?:0|[1-9]\d*)$/;return ZN=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},ZN}function HO(){if(QN)return JN;QN=1;var e=(XN||(XN=1,YN=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}),YN),t=wN(),n=xN(),r=IN(),i=FO(),o=IO(),a=Object.prototype.hasOwnProperty;return JN=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 $O(){if(oO)return iO;oO=1;var e=HO(),t=function(){if(rO)return nO;rO=1;var e=bE(),t=bN(),n=(tO||(tO=1,eO=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}),eO),r=Object.prototype.hasOwnProperty;return nO=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},nO}(),n=CN();return iO=function(r){return n(r)?e(r,!0):t(r)},iO}function UO(){return hO?fO:(hO=1,fO=function(e){return e})}function qO(){if(vO)return mO;vO=1;var e=gO?pO:(gO=1,pO=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 mO=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)}},mO}function WO(){if(SO)return CO;SO=1;var e=function(){if(wO)return _O;wO=1;var e=yO?bO:(yO=1,bO=function(e){return function(){return e}}),t=AE(),n=UO();return _O=t?function(n,r){return t(n,"toString",{configurable:!0,enumerable:!1,value:e(r),writable:!0})}:n}(),t=function(){if(kO)return xO;kO=1;var e=Date.now;return xO=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)}},xO}(),n=t(e);return CO=n}function VO(){if(AO)return TO;AO=1;var e=UO(),t=qO(),n=WO();return TO=function(r,i){return n(t(r,i,e),r+"")},TO}function GO(){if(LO)return MO;LO=1;var e=dE(),t=CN(),n=FO(),r=bE();return MO=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)},MO}var YO,XO,ZO,KO,JO,QO,eR,tR,nR,rR,iR,oR,aR,sR,lR,cR,uR,dR,fR,hR,pR,gR,mR,vR,bR=function(){if(RO)return OO;RO=1;var e=function(){if(dO)return uO;dO=1;var e=TE(),t=LE(),n=EE(),r=function(){if(cO)return lO;cO=1;var e=LE(),t=dN(),n=pN(),r=gN(),i=yN(),o=wN(),a=xN(),s=SN(),l=IN(),c=yE(),u=bE(),d=zN(),f=IO(),h=zO(),p=function(){if(sO)return aO;sO=1;var e=BO(),t=$O();return aO=function(n){return e(n,t(n))}}();return lO=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)}},lO}(),i=bE(),o=$O(),a=zO();return uO=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)},uO}(),t=function(){if(NO)return EO;NO=1;var e=VO(),t=GO();return EO=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}))},EO}(),n=t((function(t,n,r){e(t,n,r)}));return OO=n}(),yR=Ub(bR);function _R(){if(XO)return YO;XO=1;var e=vE(),t=_N();return YO=function(n){return"symbol"==typeof n||t(n)&&"[object Symbol]"==e(n)}}function wR(){if(KO)return ZO;KO=1;var e=xN(),t=_R(),n=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,r=/^\w*$/;return ZO=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)},ZO}function xR(){return oR||(oR=1,iR=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}),iR}function kR(){if(cR)return lR;cR=1;var e=function(){if(sR)return aR;sR=1;var e=mE(),t=xR(),n=xN(),r=_R(),i=e?e.prototype:void 0,o=i?i.toString:void 0;return aR=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},aR}();return lR=function(t){return null==t?"":e(t)}}function CR(){if(dR)return uR;dR=1;var e=xN(),t=wR(),n=function(){if(rR)return nR;rR=1;var e=function(){if(tR)return eR;tR=1;var e=function(){if(QO)return JO;QO=1;var e=SE();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,JO=t}();return eR=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 nR=r}(),r=kR();return uR=function(i,o){return e(i)?i:t(i,o)?[i]:n(r(i))},uR}function SR(){if(hR)return fR;hR=1;var e=_R();return fR=function(t){if("string"==typeof t||e(t))return t;var n=t+"";return"0"==n&&1/t==-1/0?"-0":n}}function TR(){if(gR)return pR;gR=1;var e=CR(),t=SR();return pR=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},pR}function AR(){if(vR)return mR;vR=1;var e=TR();return mR=function(t,n,r){var i=null==t?void 0:e(t,n);return void 0===i?r:i},mR}var MR,LR,ER,NR,OR=Ub(AR());function RR(){if(LR)return MR;LR=1;var e=jO(),t=CR(),n=FO(),r=bE(),i=SR();return MR=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},MR}var DR=function(){if(NR)return ER;NR=1;var e=RR();return ER=function(t,n,r){return null==t?t:e(t,n,r)},ER}(),PR=Ub(DR);function IR(){return IR=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},IR.apply(null,arguments)}var zR=["outlineWidth","outlineColor","outlineOpacity"],jR=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,zR)},BR=["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"],FR=function(e,t){return t?yR({},e,t):e},HR={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}}},$R=Ho(null),UR={},qR=function(e){var t=e.theme,n=void 0===t?UR:t,r=e.children,i=function(e){return sa((function(){return function(e,t){var n=yR({},e,t);return BR.forEach((function(e){PR(n,e,function(e,t){return IR({},t,e)}(OR(n,e),n.text))})),n}(HR,e)}),[e])}(n);return jc($R.Provider,{value:i,children:r})},WR=function(){var e=ca($R);if(null===e)throw new Error("Unable to find the theme, did you forget to wrap your component with ThemeProvider?");return e};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=["basic","chip","container","table","tableCell","tableCellValue"],YR={pointerEvents:"none",position:"absolute",zIndex:10,top:0,left:0},XR=function(e,t){return"translate("+e+"px, "+t+"px)"},ZR=$a((function(e){var t,n=e.position,r=e.anchor,i=e.children,o=WR(),a=pF(),s=a.animate,l=a.config,c=YF(),u=c[0],d=c[1],f=aa(!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:XR(m,v)},f.current||(p=!0),f.current=[m,v]);var b=QA({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,GR),w=VR({},YR,_,{transform:null!=(t=b.transform)?t:XR(m,v),opacity:b.transform?1:0});return jc(uE.div,{ref:u,style:w,children:i})}));ZR.displayName="TooltipWrapper";var KR=$a((function(e){var t=e.size,n=void 0===t?12:t,r=e.color,i=e.style;return jc("span",{style:VR({display:"block",width:n,height:n,background:r},void 0===i?{}:i)})})),JR=$a((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=WR(),u=ZF(i);if("function"==typeof l)t=l();else{var d=r;void 0!==u&&void 0!==d&&(d=u(d)),t=jc("div",{style:c.tooltip.basic,children:[a&&jc(KR,{color:s,style:c.tooltip.chip}),void 0!==d?jc("span",{children:[n,": ",jc("strong",{children:""+d})]}):n]})}return jc("div",{style:c.tooltip.container,role:"tooltip",children:t})})),QR={width:"100%",borderCollapse:"collapse"},eD=$a((function(e){var t,n=e.title,r=e.rows,i=void 0===r?[]:r,o=e.renderContent,a=WR();return i.length?(t="function"==typeof o?o():jc("div",{children:[n&&n,jc("table",{style:VR({},QR,a.tooltip.table),children:jc("tbody",{children:i.map((function(e,t){return jc("tr",{children:e.map((function(e,t){return jc("td",{style:a.tooltip.tableCell,children:e},t)}))},t)}))})})]}),jc("div",{style:a.tooltip.container,children:t})):null}));eD.displayName="TableTooltip";var tD=$a((function(e){var t=e.x0,n=e.x1,r=e.y0,i=e.y1,o=WR(),a=pF(),s=a.animate,l=a.config,c=sa((function(){return VR({},o.crosshair.line,{pointerEvents:"none"})}),[o.crosshair.line]),u=QA({x1:t,x2:n,y1:r,y2:i,config:l,immediate:!s});return jc(uE.line,VR({},u,{fill:"none",style:c}))}));tD.displayName="CrosshairLine";var nD=$a((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}),jc(vo,{children:[t&&jc(tD,{x0:t.x0,x1:t.x1,y0:t.y0,y1:t.y1}),n&&jc(tD,{x0:n.x0,x1:n.x1,y0:n.y0,y1:n.y1})]})}));nD.displayName="Crosshair";var rD,iD,oD=Ho({showTooltipAt:function(){},showTooltipFromEvent:function(){},hideTooltip:function(){}}),aD={isVisible:!1,position:[null,null],content:null,anchor:null},sD=Ho(aD),lD=function(){var e=ca(oD);if(void 0===e)throw new Error("useTooltip must be used within a TooltipProvider");return e},cD=function(){var e=function(){var e=ca(sD);if(void 0===e)throw new Error("useTooltipState must be used within a TooltipProvider");return e}();return function(e){return e.isVisible}(e)?jc(ZR,{position:e.position,anchor:e.anchor,children:e.content}):null},uD=function(e){var t=e.container,n=e.children,r=function(e){var t=na(aD),n=t[0],r=t[1],i=la((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=la((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=la((function(){r(aD)}),[r]);return{actions:sa((function(){return{showTooltipAt:i,showTooltipFromEvent:o,hideTooltip:a}}),[i,o,a]),state:n}}(t),i=r.actions,o=r.state;return jc(oD.Provider,{value:i,children:jc(sD.Provider,{value:o,children:n})})},dD=Ub(function(){if(iD)return rD;iD=1;var e=vE(),t=xN(),n=_N();return rD=function(r){return"string"==typeof r||!t(r)&&n(r)&&"[object String]"==e(r)}}());let fD;fD="undefined"!=typeof window?window:"undefined"!=typeof self?self:a.g;let hD=null,pD=null;const gD=fD.clearTimeout,mD=fD.setTimeout,vD=fD.cancelAnimationFrame||fD.mozCancelAnimationFrame||fD.webkitCancelAnimationFrame,bD=fD.requestAnimationFrame||fD.mozRequestAnimationFrame||fD.webkitRequestAnimationFrame;null==vD||null==bD?(hD=gD,pD=function(e){return mD(e,20)}):(hD=function([e,t]){vD(e),gD(t)},pD=function(e){const t=bD((function(){gD(n),e()})),n=mD((function(){vD(t),e()}),20);return[t,n]});class yD extends bo{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__&&hD(this.__resizeRAF__),this.__resizeRAF__=pD((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=fD.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),go(c,{ref:this._setRef,style:{...h,...l},...u},!g&&e(p))}}function _D(e,t){return e===t}function wD(e,t,n){var r=n&&n.equalityFn||_D,i=aa(e),o=na({})[1],a=function(e,t,n,r){var i=this,o=aa(null),a=aa(0),s=aa(0),l=aa(null),c=aa([]),u=aa(),d=aa(),f=aa(e),h=aa(!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;ia((function(){return h.current=!0,function(){h.current=!1}}),[]);var w=sa((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}(la((function(e){i.current=e,o({})}),[o]),t,n,o),s=aa(e);return r(s.current,e)||(a(e),s.current=e),[i.current,a]}var xD,kD,CD,SD,TD,AD,MD,LD,ED,ND,OD,RD,DD,PD,ID,zD,jD,BD,FD,HD,$D,UD,qD,WD;function VD(){if(AD)return TD;AD=1;var e=SE(),t=kD?xD:(kD=1,xD=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}),n=SD?CD:(SD=1,CD=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,TD=r}function GD(){if(zD)return ID;zD=1;var e=function(){if(PD)return DD;PD=1;var e=(LD||(LD=1,MD=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}),MD),t=ND?ED:(ND=1,ED=function(e){return e!=e}),n=(RD||(RD=1,OD=function(e,t,n){for(var r=n-1,i=e.length;++r<i;)if(e[r]===t)return r;return-1}),OD);return DD=function(r,i,o){return i==i?n(r,i,o):e(r,t,o)},DD}();return ID=function(t,n){return!(null==t||!t.length)&&e(t,n,0)>-1},ID}function YD(){return BD||(BD=1,jD=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}),jD}function XD(){return HD?FD:(HD=1,FD=function(e,t){return e.has(t)})}var ZD=function(){if(WD)return qD;WD=1;var e=function(){if(UD)return $D;UD=1;var e=VD(),t=GD(),n=YD(),r=xR(),i=jN(),o=XD();return $D=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},$D}(),t=VO(),n=SN(),r=t((function(t,r){return n(t)?e(t,r):[]}));return qD=r}(),KD=Ub(ZD);function JD(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 QD=JD("1f77b4ff7f0e2ca02cd627289467bd8c564be377c27f7f7fbcbd2217becf"),eP=JD("7fc97fbeaed4fdc086ffff99386cb0f0027fbf5b17666666"),tP=JD("1b9e77d95f027570b3e7298a66a61ee6ab02a6761d666666"),nP=JD("a6cee31f78b4b2df8a33a02cfb9a99e31a1cfdbf6fff7f00cab2d66a3d9affff99b15928"),rP=JD("fbb4aeb3cde3ccebc5decbe4fed9a6ffffcce5d8bdfddaecf2f2f2"),iP=JD("b3e2cdfdcdaccbd5e8f4cae4e6f5c9fff2aef1e2cccccccc"),oP=JD("e41a1c377eb84daf4a984ea3ff7f00ffff33a65628f781bf999999"),aP=JD("66c2a5fc8d628da0cbe78ac3a6d854ffd92fe5c494b3b3b3"),sP=JD("8dd3c7ffffb3bebadafb807280b1d3fdb462b3de69fccde5d9d9d9bc80bdccebc5ffed6f"),lP=JD("4e79a7f28e2ce1575976b7b259a14fedc949af7aa1ff9da79c755fbab0ab"),cP=e=>Ah(e[e.length-1]),uP=new Array(3).concat("d8b365f5f5f55ab4ac","a6611adfc27d80cdc1018571","a6611adfc27df5f5f580cdc1018571","8c510ad8b365f6e8c3c7eae55ab4ac01665e","8c510ad8b365f6e8c3f5f5f5c7eae55ab4ac01665e","8c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e","8c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e","5430058c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e003c30","5430058c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e003c30").map(JD),dP=cP(uP),fP=new Array(3).concat("af8dc3f7f7f77fbf7b","7b3294c2a5cfa6dba0008837","7b3294c2a5cff7f7f7a6dba0008837","762a83af8dc3e7d4e8d9f0d37fbf7b1b7837","762a83af8dc3e7d4e8f7f7f7d9f0d37fbf7b1b7837","762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b7837","762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b7837","40004b762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b783700441b","40004b762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b783700441b").map(JD),hP=cP(fP),pP=new Array(3).concat("e9a3c9f7f7f7a1d76a","d01c8bf1b6dab8e1864dac26","d01c8bf1b6daf7f7f7b8e1864dac26","c51b7de9a3c9fde0efe6f5d0a1d76a4d9221","c51b7de9a3c9fde0eff7f7f7e6f5d0a1d76a4d9221","c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221","c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221","8e0152c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221276419","8e0152c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221276419").map(JD),gP=cP(pP),mP=new Array(3).concat("998ec3f7f7f7f1a340","5e3c99b2abd2fdb863e66101","5e3c99b2abd2f7f7f7fdb863e66101","542788998ec3d8daebfee0b6f1a340b35806","542788998ec3d8daebf7f7f7fee0b6f1a340b35806","5427888073acb2abd2d8daebfee0b6fdb863e08214b35806","5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b35806","2d004b5427888073acb2abd2d8daebfee0b6fdb863e08214b358067f3b08","2d004b5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b358067f3b08").map(JD),vP=cP(mP),bP=new Array(3).concat("ef8a62f7f7f767a9cf","ca0020f4a58292c5de0571b0","ca0020f4a582f7f7f792c5de0571b0","b2182bef8a62fddbc7d1e5f067a9cf2166ac","b2182bef8a62fddbc7f7f7f7d1e5f067a9cf2166ac","b2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac","b2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac","67001fb2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac053061","67001fb2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac053061").map(JD),yP=cP(bP),_P=new Array(3).concat("ef8a62ffffff999999","ca0020f4a582bababa404040","ca0020f4a582ffffffbababa404040","b2182bef8a62fddbc7e0e0e09999994d4d4d","b2182bef8a62fddbc7ffffffe0e0e09999994d4d4d","b2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d","b2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d","67001fb2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d1a1a1a","67001fb2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d1a1a1a").map(JD),wP=cP(_P),xP=new Array(3).concat("fc8d59ffffbf91bfdb","d7191cfdae61abd9e92c7bb6","d7191cfdae61ffffbfabd9e92c7bb6","d73027fc8d59fee090e0f3f891bfdb4575b4","d73027fc8d59fee090ffffbfe0f3f891bfdb4575b4","d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4","d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4","a50026d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4313695","a50026d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4313695").map(JD),kP=cP(xP),CP=new Array(3).concat("fc8d59ffffbf91cf60","d7191cfdae61a6d96a1a9641","d7191cfdae61ffffbfa6d96a1a9641","d73027fc8d59fee08bd9ef8b91cf601a9850","d73027fc8d59fee08bffffbfd9ef8b91cf601a9850","d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850","d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850","a50026d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850006837","a50026d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850006837").map(JD),SP=cP(CP),TP=new Array(3).concat("fc8d59ffffbf99d594","d7191cfdae61abdda42b83ba","d7191cfdae61ffffbfabdda42b83ba","d53e4ffc8d59fee08be6f59899d5943288bd","d53e4ffc8d59fee08bffffbfe6f59899d5943288bd","d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd","d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd","9e0142d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd5e4fa2","9e0142d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd5e4fa2").map(JD),AP=cP(TP),MP=new Array(3).concat("e5f5f999d8c92ca25f","edf8fbb2e2e266c2a4238b45","edf8fbb2e2e266c2a42ca25f006d2c","edf8fbccece699d8c966c2a42ca25f006d2c","edf8fbccece699d8c966c2a441ae76238b45005824","f7fcfde5f5f9ccece699d8c966c2a441ae76238b45005824","f7fcfde5f5f9ccece699d8c966c2a441ae76238b45006d2c00441b").map(JD),LP=cP(MP),EP=new Array(3).concat("e0ecf49ebcda8856a7","edf8fbb3cde38c96c688419d","edf8fbb3cde38c96c68856a7810f7c","edf8fbbfd3e69ebcda8c96c68856a7810f7c","edf8fbbfd3e69ebcda8c96c68c6bb188419d6e016b","f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d6e016b","f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d810f7c4d004b").map(JD),NP=cP(EP),OP=new Array(3).concat("e0f3dba8ddb543a2ca","f0f9e8bae4bc7bccc42b8cbe","f0f9e8bae4bc7bccc443a2ca0868ac","f0f9e8ccebc5a8ddb57bccc443a2ca0868ac","f0f9e8ccebc5a8ddb57bccc44eb3d32b8cbe08589e","f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe08589e","f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe0868ac084081").map(JD),RP=cP(OP),DP=new Array(3).concat("fee8c8fdbb84e34a33","fef0d9fdcc8afc8d59d7301f","fef0d9fdcc8afc8d59e34a33b30000","fef0d9fdd49efdbb84fc8d59e34a33b30000","fef0d9fdd49efdbb84fc8d59ef6548d7301f990000","fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301f990000","fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301fb300007f0000").map(JD),PP=cP(DP),IP=new Array(3).concat("ece2f0a6bddb1c9099","f6eff7bdc9e167a9cf02818a","f6eff7bdc9e167a9cf1c9099016c59","f6eff7d0d1e6a6bddb67a9cf1c9099016c59","f6eff7d0d1e6a6bddb67a9cf3690c002818a016450","fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016450","fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016c59014636").map(JD),zP=cP(IP),jP=new Array(3).concat("ece7f2a6bddb2b8cbe","f1eef6bdc9e174a9cf0570b0","f1eef6bdc9e174a9cf2b8cbe045a8d","f1eef6d0d1e6a6bddb74a9cf2b8cbe045a8d","f1eef6d0d1e6a6bddb74a9cf3690c00570b0034e7b","fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0034e7b","fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0045a8d023858").map(JD),BP=cP(jP),FP=new Array(3).concat("e7e1efc994c7dd1c77","f1eef6d7b5d8df65b0ce1256","f1eef6d7b5d8df65b0dd1c77980043","f1eef6d4b9dac994c7df65b0dd1c77980043","f1eef6d4b9dac994c7df65b0e7298ace125691003f","f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125691003f","f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125698004367001f").map(JD),HP=cP(FP),$P=new Array(3).concat("fde0ddfa9fb5c51b8a","feebe2fbb4b9f768a1ae017e","feebe2fbb4b9f768a1c51b8a7a0177","feebe2fcc5c0fa9fb5f768a1c51b8a7a0177","feebe2fcc5c0fa9fb5f768a1dd3497ae017e7a0177","fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a0177","fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a017749006a").map(JD),UP=cP($P),qP=new Array(3).concat("edf8b17fcdbb2c7fb8","ffffcca1dab441b6c4225ea8","ffffcca1dab441b6c42c7fb8253494","ffffccc7e9b47fcdbb41b6c42c7fb8253494","ffffccc7e9b47fcdbb41b6c41d91c0225ea80c2c84","ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea80c2c84","ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea8253494081d58").map(JD),WP=cP(qP),VP=new Array(3).concat("f7fcb9addd8e31a354","ffffccc2e69978c679238443","ffffccc2e69978c67931a354006837","ffffccd9f0a3addd8e78c67931a354006837","ffffccd9f0a3addd8e78c67941ab5d238443005a32","ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443005a32","ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443006837004529").map(JD),GP=cP(VP),YP=new Array(3).concat("fff7bcfec44fd95f0e","ffffd4fed98efe9929cc4c02","ffffd4fed98efe9929d95f0e993404","ffffd4fee391fec44ffe9929d95f0e993404","ffffd4fee391fec44ffe9929ec7014cc4c028c2d04","ffffe5fff7bcfee391fec44ffe9929ec7014cc4c028c2d04","ffffe5fff7bcfee391fec44ffe9929ec7014cc4c02993404662506").map(JD),XP=cP(YP),ZP=new Array(3).concat("ffeda0feb24cf03b20","ffffb2fecc5cfd8d3ce31a1c","ffffb2fecc5cfd8d3cf03b20bd0026","ffffb2fed976feb24cfd8d3cf03b20bd0026","ffffb2fed976feb24cfd8d3cfc4e2ae31a1cb10026","ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cb10026","ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cbd0026800026").map(JD),KP=cP(ZP),JP=new Array(3).concat("deebf79ecae13182bd","eff3ffbdd7e76baed62171b5","eff3ffbdd7e76baed63182bd08519c","eff3ffc6dbef9ecae16baed63182bd08519c","eff3ffc6dbef9ecae16baed64292c62171b5084594","f7fbffdeebf7c6dbef9ecae16baed64292c62171b5084594","f7fbffdeebf7c6dbef9ecae16baed64292c62171b508519c08306b").map(JD),QP=cP(JP),eI=new Array(3).concat("e5f5e0a1d99b31a354","edf8e9bae4b374c476238b45","edf8e9bae4b374c47631a354006d2c","edf8e9c7e9c0a1d99b74c47631a354006d2c","edf8e9c7e9c0a1d99b74c47641ab5d238b45005a32","f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45005a32","f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45006d2c00441b").map(JD),tI=cP(eI),nI=new Array(3).concat("f0f0f0bdbdbd636363","f7f7f7cccccc969696525252","f7f7f7cccccc969696636363252525","f7f7f7d9d9d9bdbdbd969696636363252525","f7f7f7d9d9d9bdbdbd969696737373525252252525","fffffff0f0f0d9d9d9bdbdbd969696737373525252252525","fffffff0f0f0d9d9d9bdbdbd969696737373525252252525000000").map(JD),rI=cP(nI),iI=new Array(3).concat("efedf5bcbddc756bb1","f2f0f7cbc9e29e9ac86a51a3","f2f0f7cbc9e29e9ac8756bb154278f","f2f0f7dadaebbcbddc9e9ac8756bb154278f","f2f0f7dadaebbcbddc9e9ac8807dba6a51a34a1486","fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a34a1486","fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a354278f3f007d").map(JD),oI=cP(iI),aI=new Array(3).concat("fee0d2fc9272de2d26","fee5d9fcae91fb6a4acb181d","fee5d9fcae91fb6a4ade2d26a50f15","fee5d9fcbba1fc9272fb6a4ade2d26a50f15","fee5d9fcbba1fc9272fb6a4aef3b2ccb181d99000d","fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181d99000d","fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181da50f1567000d").map(JD),sI=cP(aI),lI=new Array(3).concat("fee6cefdae6be6550d","feeddefdbe85fd8d3cd94701","feeddefdbe85fd8d3ce6550da63603","feeddefdd0a2fdae6bfd8d3ce6550da63603","feeddefdd0a2fdae6bfd8d3cf16913d948018c2d04","fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d948018c2d04","fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d94801a636037f2704").map(JD),cI=cP(lI),uI=Vh(_h(300,.5,0),_h(-240,.5,1)),dI=Vh(_h(-100,.75,.35),_h(80,1.5,.8)),fI=Vh(_h(260,.75,.35),_h(80,1.5,.8)),hI=_h(),pI=Kf(),gI=Math.PI/3,mI=2*Math.PI/3;function vI(e){var t=e.length;return function(n){return e[Math.max(0,Math.min(t-1,Math.floor(n*t)))]}}var bI,yI,_I=vI(JD("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725")),wI=vI(JD("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf")),xI=vI(JD("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4")),kI=vI(JD("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921"));function CI(){return yI||(yI=1,bI=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}),bI}var SI=Ub(CI());xN();var TI=Ub(yE());function AI(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 MI,LI=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function EI(e){if(!(t=LI.exec(e)))throw new Error("invalid format: "+e);var t;return new NI({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 NI(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 OI(e,t){var n=AI(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")}EI.prototype=NI.prototype,NI.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 RI={"%":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 OI(100*e,t)},r:OI,s:function(e,t){var n=AI(e,t);if(!n)return e+"";var r=n[0],i=n[1],o=i-(MI=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")+AI(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 DI(e){return e}var PI,II,zI=Array.prototype.map,jI=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];PI=function(e){var t,n,r=void 0===e.grouping||void 0===e.thousands?DI:(t=zI.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?DI:function(e){return function(t){return t.replace(/[0-9]/g,(function(t){return e[+t]}))}}(zI.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=EI(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"):RI[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=RI[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?jI[8+MI/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=EI(e)).type="f",e)),r=3*Math.max(-8,Math.min(8,Math.floor(function(e){return(e=AI(Math.abs(e)))?e[1]:NaN}(t)/3))),i=Math.pow(10,-r),o=jI[8+r/3];return function(e){return n(i*e)+o}}}}({decimal:".",thousands:",",grouping:[3],currency:["$",""],minus:"-"}),II=PI.format,PI.formatPrefix;var BI=new Date,FI=new Date;function HI(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 HI((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 BI.setTime(+t),FI.setTime(+r),e(BI),e(FI),Math.floor(n(BI,FI))},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 $I=864e5,UI=6048e5;var qI=HI((e=>e.setHours(0,0,0,0)),((e,t)=>e.setDate(e.getDate()+t)),((e,t)=>(t-e-6e4*(t.getTimezoneOffset()-e.getTimezoneOffset()))/$I),(e=>e.getDate()-1));function WI(e){return HI((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()))/UI}))}qI.range;var VI=WI(0),GI=WI(1),YI=WI(2),XI=WI(3),ZI=WI(4),KI=WI(5),JI=WI(6);VI.range,GI.range,YI.range,XI.range,ZI.range,KI.range,JI.range;var QI=HI((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()}));QI.every=function(e){return isFinite(e=Math.floor(e))&&e>0?HI((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},QI.range;var ez=HI((function(e){e.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCDate(e.getUTCDate()+t)}),(function(e,t){return(t-e)/$I}),(function(e){return e.getUTCDate()-1}));function tz(e){return HI((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)/UI}))}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=HI((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 uz(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 dz(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 fz(e,t,n){return{y:e,m:t,d:n,H:0,M:0,S:0,L:0}}cz.every=function(e){return isFinite(e=Math.floor(e))&&e>0?HI((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},cz.range;var hz,pz,gz,mz,vz={"-":"",_:" ",0:"0"},bz=/^\s*\d+/,yz=/^%/,_z=/[\\^$*+?|[\]().{}]/g;function wz(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 xz(e){return e.replace(_z,"\\$&")}function kz(e){return new RegExp("^(?:"+e.map(xz).join("|")+")","i")}function Cz(e){return new Map(e.map(((e,t)=>[e.toLowerCase(),t])))}function Sz(e,t,n){var r=bz.exec(t.slice(n,n+1));return r?(e.w=+r[0],n+r[0].length):-1}function Tz(e,t,n){var r=bz.exec(t.slice(n,n+1));return r?(e.u=+r[0],n+r[0].length):-1}function Az(e,t,n){var r=bz.exec(t.slice(n,n+2));return r?(e.U=+r[0],n+r[0].length):-1}function Mz(e,t,n){var r=bz.exec(t.slice(n,n+2));return r?(e.V=+r[0],n+r[0].length):-1}function Lz(e,t,n){var r=bz.exec(t.slice(n,n+2));return r?(e.W=+r[0],n+r[0].length):-1}function Ez(e,t,n){var r=bz.exec(t.slice(n,n+4));return r?(e.y=+r[0],n+r[0].length):-1}function Nz(e,t,n){var r=bz.exec(t.slice(n,n+2));return r?(e.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function Oz(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 Rz(e,t,n){var r=bz.exec(t.slice(n,n+1));return r?(e.q=3*r[0]-3,n+r[0].length):-1}function Dz(e,t,n){var r=bz.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function Pz(e,t,n){var r=bz.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function Iz(e,t,n){var r=bz.exec(t.slice(n,n+3));return r?(e.m=0,e.d=+r[0],n+r[0].length):-1}function zz(e,t,n){var r=bz.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function jz(e,t,n){var r=bz.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function Bz(e,t,n){var r=bz.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function Fz(e,t,n){var r=bz.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function Hz(e,t,n){var r=bz.exec(t.slice(n,n+6));return r?(e.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function $z(e,t,n){var r=yz.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function Uz(e,t,n){var r=bz.exec(t.slice(n));return r?(e.Q=+r[0],n+r[0].length):-1}function qz(e,t,n){var r=bz.exec(t.slice(n));return r?(e.s=+r[0],n+r[0].length):-1}function Wz(e,t){return wz(e.getDate(),t,2)}function Vz(e,t){return wz(e.getHours(),t,2)}function Gz(e,t){return wz(e.getHours()%12||12,t,2)}function Yz(e,t){return wz(1+qI.count(QI(e),e),t,3)}function Xz(e,t){return wz(e.getMilliseconds(),t,3)}function Zz(e,t){return Xz(e,t)+"000"}function Kz(e,t){return wz(e.getMonth()+1,t,2)}function Jz(e,t){return wz(e.getMinutes(),t,2)}function Qz(e,t){return wz(e.getSeconds(),t,2)}function ej(e){var t=e.getDay();return 0===t?7:t}function tj(e,t){return wz(VI.count(QI(e)-1,e),t,2)}function nj(e){var t=e.getDay();return t>=4||0===t?ZI(e):ZI.ceil(e)}function rj(e,t){return e=nj(e),wz(ZI.count(QI(e),e)+(4===QI(e).getDay()),t,2)}function ij(e){return e.getDay()}function oj(e,t){return wz(GI.count(QI(e)-1,e),t,2)}function aj(e,t){return wz(e.getFullYear()%100,t,2)}function sj(e,t){return wz((e=nj(e)).getFullYear()%100,t,2)}function lj(e,t){return wz(e.getFullYear()%1e4,t,4)}function cj(e,t){var n=e.getDay();return wz((e=n>=4||0===n?ZI(e):ZI.ceil(e)).getFullYear()%1e4,t,4)}function uj(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+wz(t/60|0,"0",2)+wz(t%60,"0",2)}function dj(e,t){return wz(e.getUTCDate(),t,2)}function fj(e,t){return wz(e.getUTCHours(),t,2)}function hj(e,t){return wz(e.getUTCHours()%12||12,t,2)}function pj(e,t){return wz(1+ez.count(cz(e),e),t,3)}function gj(e,t){return wz(e.getUTCMilliseconds(),t,3)}function mj(e,t){return gj(e,t)+"000"}function vj(e,t){return wz(e.getUTCMonth()+1,t,2)}function bj(e,t){return wz(e.getUTCMinutes(),t,2)}function yj(e,t){return wz(e.getUTCSeconds(),t,2)}function _j(e){var t=e.getUTCDay();return 0===t?7:t}function wj(e,t){return wz(nz.count(cz(e)-1,e),t,2)}function xj(e){var t=e.getUTCDay();return t>=4||0===t?az(e):az.ceil(e)}function kj(e,t){return e=xj(e),wz(az.count(cz(e),e)+(4===cz(e).getUTCDay()),t,2)}function Cj(e){return e.getUTCDay()}function Sj(e,t){return wz(rz.count(cz(e)-1,e),t,2)}function Tj(e,t){return wz(e.getUTCFullYear()%100,t,2)}function Aj(e,t){return wz((e=xj(e)).getUTCFullYear()%100,t,2)}function Mj(e,t){return wz(e.getUTCFullYear()%1e4,t,4)}function Lj(e,t){var n=e.getUTCDay();return wz((e=n>=4||0===n?az(e):az.ceil(e)).getUTCFullYear()%1e4,t,4)}function Ej(){return"+0000"}function Nj(){return"%"}function Oj(e){return+e}function Rj(e){return Math.floor(+e/1e3)}hz=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=kz(i),u=Cz(i),d=kz(o),f=Cz(o),h=kz(a),p=Cz(a),g=kz(s),m=Cz(s),v=kz(l),b=Cz(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:Wz,e:Wz,f:Zz,g:sj,G:cj,H:Vz,I:Gz,j:Yz,L:Xz,m:Kz,M:Jz,p:function(e){return i[+(e.getHours()>=12)]},q:function(e){return 1+~~(e.getMonth()/3)},Q:Oj,s:Rj,S:Qz,u:ej,U:tj,V:rj,w:ij,W:oj,x:null,X:null,y:aj,Y:lj,Z:uj,"%":Nj},_={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:dj,e:dj,f:mj,g:Aj,G:Lj,H:fj,I:hj,j:pj,L:gj,m:vj,M:bj,p:function(e){return i[+(e.getUTCHours()>=12)]},q:function(e){return 1+~~(e.getUTCMonth()/3)},Q:Oj,s:Rj,S:yj,u:_j,U:wj,V:kj,w:Cj,W:Sj,x:null,X:null,y:Tj,Y:Mj,Z:Ej,"%":Nj},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:Pz,e:Pz,f:Hz,g:Nz,G:Ez,H:zz,I:zz,j:Iz,L:Fz,m:Dz,M:jz,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:Rz,Q:Uz,s:qz,S:Bz,u:Tz,U:Az,V:Mz,w:Sz,W:Lz,x:function(e,t,r){return C(e,n,t,r)},X:function(e,t,n){return C(e,r,t,n)},y:Nz,Y:Ez,Z:Oz,"%":$z};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=vz[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=fz(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=dz(fz(o.y,0,1))).getUTCDay(),r=i>4||0===i?rz.ceil(r):rz(r),r=ez.offset(r,7*(o.V-1)),o.y=r.getUTCFullYear(),o.m=r.getUTCMonth(),o.d=r.getUTCDate()+(o.w+6)%7):(i=(r=uz(fz(o.y,0,1))).getDay(),r=i>4||0===i?GI.ceil(r):GI(r),r=qI.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?dz(fz(o.y,0,1)).getUTCDay():uz(fz(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,dz(o)):uz(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 vz?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"]}),pz=hz.format,gz=hz.parse,hz.utcFormat,mz=hz.utcParse;var Dj,Pj,Ij,zj,jj,Bj,Fj,Hj,$j,Uj,qj,Wj,Vj,Gj,Yj,Xj,Zj,Kj,Jj,Qj,eB,tB,nB=Ub(zN());function rB(){if(Hj)return Fj;Hj=1;var e=(zj||(zj=1,Ij=function(e,t){return null!=e&&t in Object(e)}),Ij),t=function(){if(Bj)return jj;Bj=1;var e=CR(),t=wN(),n=xN(),r=FO(),i=kN(),o=SR();return jj=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))},jj}();return Fj=function(n,r){return null!=n&&t(n,r,e)},Fj}function iB(){return Wj||(Wj=1,qj=function(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}),qj}function oB(){if(Xj)return Yj;Xj=1;var e=iB(),t=function(){if(Gj)return Vj;Gj=1;var e=mE(),t=wN(),n=xN(),r=e?e.isConcatSpreadable:void 0;return Vj=function(e){return n(e)||t(e)||!!(r&&e&&e[r])}}();return Yj=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},Yj}function aB(){if(Qj)return Jj;Qj=1;var e=function(){if(Kj)return Zj;Kj=1;var e=oB();return Zj=function(t){return null!=t&&t.length?e(t,1):[]},Zj}(),t=qO(),n=WO();return Jj=function(r){return n(t(r,void 0,e),r+"")}}var sB,lB,cB,uB,dB,fB,hB,pB,gB,mB,vB,bB,yB,_B,wB,xB,kB,CB,SB,TB,AB,MB,LB,EB,NB,OB,RB,DB,PB,IB,zB,jB,BB,FB,HB,$B,UB,qB,WB,VB,GB,YB,XB,ZB,KB=function(){if(tB)return eB;tB=1;var e=function(){if(Uj)return $j;Uj=1;var e=function(){if(Pj)return Dj;Pj=1;var e=TR(),t=RR(),n=CR();return Dj=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},Dj}(),t=rB();return $j=function(n,r){return e(n,r,(function(e,r){return t(n,r)}))},$j}(),t=aB()((function(t,n){return null==t?{}:e(t,n)}));return eB=t}(),JB=Ub(KB);function QB(){if(uB)return cB;uB=1;var e=VD(),t=(lB||(lB=1,sB=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}),sB),n=XD();return cB=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},cB}function eF(){return pB||(pB=1,hB=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}),hB}function tF(){if(bB)return vB;bB=1;var e=iB(),t=xN();return vB=function(n,r,i){var o=r(n);return t(n)?o:e(o,i(n))},vB}function nF(){return _B||(_B=1,yB=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}),yB}function rF(){return xB?wB:(xB=1,wB=function(){return[]})}function iF(){if(CB)return kB;CB=1;var e=nF(),t=rF(),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 kB=i}function oF(){if(EB)return LB;EB=1;var e=HO(),t=function(){if(MB)return AB;MB=1;var e=bN(),t=function(){if(TB)return SB;TB=1;var e=mN()(Object.keys,Object);return SB=e}(),n=Object.prototype.hasOwnProperty;return AB=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},AB}(),n=CN();return LB=function(r){return n(r)?e(r):t(r)},LB}function aF(){if(OB)return NB;OB=1;var e=tF(),t=iF(),n=oF();return NB=function(r){return e(r,n,t)},NB}function sF(){if(FB)return BB;FB=1;var e=wE()(gE(),"Set");return BB=e}function lF(){if(qB)return UB;qB=1;var e=function(){if(IB)return PB;IB=1;var e=wE()(gE(),"DataView");return PB=e}(),t=xE(),n=function(){if(jB)return zB;jB=1;var e=wE()(gE(),"Promise");return zB=e}(),r=sF(),i=function(){if($B)return HB;$B=1;var e=wE()(gE(),"WeakMap");return HB=e}(),o=vE(),a=_E(),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}),UB=v}function cF(){if(VB)return WB;VB=1;var e=TE(),t=QB(),n=function(){if(mB)return gB;mB=1;var e=mE(),t=fN(),n=dE(),r=QB(),i=(fB||(fB=1,dB=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}),dB),o=eF(),a=e?e.prototype:void 0,s=a?a.valueOf:void 0;return gB=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},gB}(),r=function(){if(DB)return RB;DB=1;var e=aF(),t=Object.prototype.hasOwnProperty;return RB=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},RB}(),i=lF(),o=xN(),a=IN(),s=IO(),l="[object Arguments]",c="[object Array]",u="[object Object]",d=Object.prototype.hasOwnProperty;return WB=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))},WB}function uF(){if(YB)return GB;YB=1;var e=cF(),t=_N();return GB=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))},GB}var dF=Ub(function(){if(ZB)return XB;ZB=1;var e=uF();return XB=function(t,n){return e(t,n)}}()),fF=Ho(),hF=function(e){var t=e.children,n=e.animate,r=void 0===n||n,i=e.config,o=void 0===i?"default":i,a=sa((function(){var e=dD(o)?lA[o]:o;return{animate:r,config:e}}),[r,o]);return jc(fF.Provider,{value:a,children:t})},pF=function(){return ca(fF)},gF=function(e){var t=e.children,n=e.condition,r=e.wrapper;return n?bs(r,{},t):t},mF={position:"relative"},vF=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=aa(null);return jc(qR,{theme:n,children:jc(hF,{animate:s,config:l,children:jc(uD,{container:c,children:jc(gF,{condition:i,wrapper:jc("div",{style:mF,ref:c}),children:[t,a&&jc(cD,{})]})})})})},bF=function(e,t){return e.width===t.width&&e.height===t.height},yF=function(e){var t=e.children,n=e.width,r=e.height,i=e.onResize,o=wD({width:n,height:r},e.debounceResize,{equalityFn:bF})[0];return ia((function(){null==i||i(o)}),[o,i]),jc(vo,{children:t(o)})},_F=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 jc(yD,{defaultWidth:n,defaultHeight:r,children:function(e){var n=e.width,r=e.height;return jc(yF,{width:n,height:r,onResize:i,debounceResize:a,children:t})}})};function wF(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 xF(){return xF=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},xF.apply(null,arguments)}function kF(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 CF=["id","colors"],SF={linearGradient:function(e){var t=e.id,n=e.colors;return jc("linearGradient",xF({id:t,x1:0,x2:0,y1:0,y2:1},kF(e,CF),{children:n.map((function(e){var t=e.offset,n=e.color,r=e.opacity;return jc("stop",{offset:t+"%",stopColor:n,stopOpacity:void 0!==r?r:1},t)}))}))}},TF=$a((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),jc("pattern",{id:t,width:f,height:f,patternUnits:"userSpaceOnUse",children:[jc("rect",{width:f,height:f,fill:r}),jc("circle",{cx:p+h,cy:p+h,r:h,fill:o}),d&&jc("circle",{cx:1.5*c+s+h,cy:1.5*c+s+h,r:h,fill:o})]})})),AF=function(e){return e*Math.PI/180},MF=function(e){return 180*e/Math.PI},LF=function(e,t){return{x:Math.cos(e)*t,y:Math.sin(e)*t}},EF={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"}}},NF=$a((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(AF(f))),m=h/Math.sin(AF(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 "),jc("pattern",{id:t,width:g,height:m,patternUnits:"userSpaceOnUse",children:[jc("rect",{width:g,height:m,fill:s,stroke:"rgba(255, 0, 0, 0.1)",strokeWidth:0}),jc("path",{d:p,strokeWidth:d,stroke:c,strokeLinecap:"square"})]})})),OF=$a((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),jc("pattern",{id:t,width:f,height:f,patternUnits:"userSpaceOnUse",children:[jc("rect",{width:f,height:f,fill:o}),jc("rect",{x:h,y:h,width:s,height:s,fill:r}),d&&jc("rect",{x:1.5*c+s,y:1.5*c+s,width:s,height:s,fill:r})]})})),RF={patternDots:TF,patternLines:NF,patternSquares:OF},DF=["type"],PF=xF({},SF,RF),IF=$a((function(e){var t=e.defs;return!t||t.length<1?null:jc("defs",{"aria-hidden":!0,children:t.map((function(e){var t=e.type,n=kF(e,DF);return PF[t]?go(PF[t],xF({key:n.id},n)):null}))})})),zF=Wa((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=WR();return jc("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:[jc(IF,{defs:o}),jc("rect",{width:n,height:r,fill:f.background}),jc("g",{transform:"translate("+i.left+","+i.top+")",children:a})]})})),jF=$a((function(e){var t=e.size,n=e.color,r=e.borderWidth;return jc("circle",{r:t/2,fill:n,stroke:e.borderColor,strokeWidth:r,style:{pointerEvents:"none"}})})),BF=$a((function(e){var t=e.x,n=e.y,r=e.symbol,i=void 0===r?jF: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=WR(),M=pF(),L=M.animate,E=QA({transform:"translate("+t+", "+n+")",config:M.config,immediate:!L}),N=la((function(e){null==C||C(a,e)}),[C,a]),O=la((function(e){null==S||S(a,e)}),[S,a]);return jc(uE.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:[go(i,{size:o,color:s,datum:a,borderWidth:l,borderColor:c}),u&&jc("text",{textAnchor:f,y:p,style:jR(A.dots.text),children:u})]})})),FF=$a((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=WR(),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=jc("text",{transform:"translate("+k.x+", "+k.y+") rotate("+k.rotation+")",textAnchor:k.textAnchor,dominantBaseline:"central",style:s,children:l})}return jc("g",{transform:"translate("+y+", "+w+")",children:[jc("line",{x1:0,x2:_,y1:0,y2:x,stroke:b.markers.lineColor,strokeWidth:b.markers.lineStrokeWidth,style:a}),c]})})),HF=$a((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 jc(FF,xF({},e,{width:n,height:r,scale:"y"===e.axis?o:i}),t)})):null})),$F=function(e){var t=pF(),n=t.animate,r=t.config,i=function(e){var t=aa();return ia((function(){t.current=e}),[e]),t.current}(e),o=sa((function(){return Ph(i,e)}),[i,e]),a=QA({from:{value:0},to:{value:1},reset:!0,config:r,immediate:!n}).value;return aM(a,o)};Ho(void 0);var UF={basis:ab,basisClosed:function(e){return new sb(e)},basisOpen:function(e){return new lb(e)},bundle:ub,cardinal:hb,cardinalClosed:gb,cardinalOpen:vb,catmullRom:_b,catmullRomClosed:xb,catmullRomOpen:Cb,linear:Xv,linearClosed:function(e){return new Sb(e)},monotoneX:function(e){return new Eb(e)},monotoneY:function(e){return new Nb(e)},natural:function(e){return new Rb(e)},step:function(e){return new Pb(e,.5)},stepAfter:function(e){return new Pb(e,1)},stepBefore:function(e){return new Pb(e,0)}},qF=Object.keys(UF);qF.filter((function(e){return e.endsWith("Closed")})),KD(qF,"bundle","basisClosed","basisOpen","cardinalClosed","cardinalOpen","catmullRomClosed","catmullRomOpen","linearClosed"),KD(qF,"bundle","basisClosed","basisOpen","cardinalClosed","cardinalOpen","catmullRomClosed","catmullRomOpen","linearClosed");var WF=function(e){if(!UF[e])throw new TypeError("'"+e+"', is not a valid curve interpolator identifier.");return UF[e]};SI(uP),SI(fP),SI(pP),SI(mP),SI(bP),SI(_P),SI(xP),SI(CP),SI(TP),SI(JP),SI(eI),SI(nI),SI(lI),SI(iI),SI(aI),SI(MP),SI(EP),SI(OP),SI(DP),SI(IP),SI(jP),SI(FP),SI($P),SI(qP),SI(VP),SI(YP),SI(ZP),SI(uP),SI(fP),SI(pP),SI(mP),SI(bP),SI(_P),SI(xP),SI(CP),SI(TP),SI(JP),SI(eI),SI(nI),SI(lI),SI(iI),SI(aI),SI(MP),SI(EP),SI(OP),SI(DP),SI(IP),SI(jP),SI(FP),SI($P),SI(qP),SI(VP),SI(YP),SI(ZP),hp(sP);var VF={top:0,right:0,bottom:0,left:0},GF=function(e,t,n){return void 0===n&&(n={}),sa((function(){var r=xF({},VF,n);return{margin:r,innerWidth:e-r.left-r.right,innerHeight:t-r.top-r.bottom,outerWidth:e,outerHeight:t}}),[e,t,n])},YF=function(){var e=aa(null),t=na({left:0,top:0,width:0,height:0}),n=t[0],r=t[1],i=na((function(){return"undefined"==typeof ResizeObserver?null:new ResizeObserver((function(e){var t=e[0];return r(t.contentRect)}))}))[0];return ia((function(){return e.current&&null!==i&&i.observe(e.current),function(){null!==i&&i.disconnect()}}),[i]),[e,n]},XF=function(e){return"function"==typeof e?e:"string"==typeof e?0===e.indexOf("time:")?pz(e.slice("5")):II(e):function(e){return""+e}},ZF=function(e){return sa((function(){return XF(e)}),[e])},KF=function(e){return TI(e)?e:function(t){return OR(t,e)}},JF=function(e){return sa((function(){return KF(e)}),[e])},QF=function(e,t,n,r){return Math.sqrt(Math.pow(n-e,2)+Math.pow(r-t,2))},eH=function(e,t,n,r,i,o){return e<=i&&i<=e+n&&t<=o&&o<=t+r},tH=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]},nH=Object.keys(SF),rH=Object.keys(RF),iH=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(TI(e))return e(t);if(nB(e)){var r=n?OR(t,n):t;return dF(JB(r,Object.keys(e)),e)}return!1}(n.match,t,o)){var a=e.find((function(e){return e.id===i}));if(a)if(rH.includes(a.type))if("inherit"===a.background||"inherit"===a.color){var l=OR(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),PR(t,c,"url(#"+p+")"),d[p]||(u.push(xF({},a,{id:p,background:f,color:h})),d[p]=1)}else PR(t,c,"url(#"+i+")");else if(nH.includes(a.type))if(a.colors.map((function(e){return e.color})).includes("inherit")){var g=OR(t,s),m=i,v=xF({},a,{colors:a.colors.map((function(e,t){return"inherit"!==e.color?e:(m=m+"."+t+"."+g,xF({},e,{color:"inherit"===e.color?g:e.color}))}))});v.id=m,PR(t,c,"url(#"+m+")"),d[m]||(u.push(v),d[m]=1)}else PR(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 wF(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)?wF(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 oH(){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 aH=function(e,t){e.font=(t.fontWeight?t.fontWeight+" ":"")+t.fontSize+"px "+t.fontFamily},sH=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 lH(){return lH=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},lH.apply(null,arguments)}function cH(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 uH,dH,fH,hH,pH,gH,mH,vH,bH=["style","children"],yH=["outlineWidth","outlineColor","outlineOpacity"],_H=function(e){var t=e.style,n=e.children,r=cH(e,bH),i=t.outlineWidth,o=t.outlineColor,a=t.outlineOpacity,s=cH(t,yH);return jc(vo,{children:[i>0&&jc(uE.text,lH({},r,{style:lH({},s,{strokeWidth:2*i,stroke:o,strokeOpacity:a,strokeLinejoin:"round"}),children:n})),jc(uE.text,lH({},r,{style:s,children:n}))]})};function wH(){if(gH)return pH;gH=1;var e=VD(),t=GD(),n=YD(),r=XD(),i=function(){if(hH)return fH;hH=1;var e=sF(),t=dH?uH:(dH=1,uH=function(){}),n=eF(),r=e&&1/n(new e([,-0]))[1]==1/0?function(t){return new e(t)}:t;return fH=r}(),o=eF();return pH=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},pH}var xH,kH,CH,SH,TH,AH,MH,LH,EH,NH,OH,RH,DH,PH,IH,zH,jH,BH,FH,HH,$H,UH,qH=function(){if(vH)return mH;vH=1;var e=wH();return mH=function(t){return t&&t.length?e(t):[]},mH}(),WH=Ub(qH);function VH(){if(SH)return CH;SH=1;var e=bE();return CH=function(t){return t==t&&!e(t)}}function GH(){return LH||(LH=1,MH=function(e,t){return function(n){return null!=n&&n[e]===t&&(void 0!==t||e in Object(n))}}),MH}function YH(){if(HH)return FH;HH=1;var e=function(){if(NH)return EH;NH=1;var e=function(){if(kH)return xH;kH=1;var e=TE(),t=uF();return xH=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},xH}(),t=function(){if(AH)return TH;AH=1;var e=VH(),t=oF();return TH=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},TH}(),n=GH();return EH=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)}},EH}(),t=function(){if(RH)return OH;RH=1;var e=uF(),t=AR(),n=rB(),r=wR(),i=VH(),o=GH(),a=SR();return OH=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)}},OH}(),n=UO(),r=xN(),i=function(){if(BH)return jH;BH=1;var e=(PH||(PH=1,DH=function(e){return function(t){return null==t?void 0:t[e]}}),DH),t=function(){if(zH)return IH;zH=1;var e=TR();return IH=function(t){return function(n){return e(n,t)}},IH}(),n=wR(),r=SR();return jH=function(i){return n(i)?e(r(i)):t(i)}}();return FH=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 XH,ZH,KH,JH,QH,e$,t$,n$,r$,i$,o$,a$,s$,l$,c$,u$,d$,f$,h$=function(){if(UH)return $H;UH=1;var e=YH(),t=wH();return $H=function(n,r){return n&&n.length?t(n,e(r,2)):[]},$H}(),p$=Ub(h$);function g$(){if(e$)return QH;e$=1;var e=function(){if(ZH)return XH;ZH=1;var e=EE(),t=oF();return XH=function(n,r){return n&&e(n,r,t)},XH}(),t=function(){if(JH)return KH;JH=1;var e=CN();return KH=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}},KH}(),n=t(e);return QH=n}function m$(){if(u$)return c$;u$=1;var e=xR(),t=TR(),n=YH(),r=function(){if(n$)return t$;n$=1;var e=g$(),t=CN();return t$=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},t$}(),i=(i$||(i$=1,r$=function(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}),r$),o=jN(),a=function(){if(l$)return s$;l$=1;var e=function(){if(a$)return o$;a$=1;var e=_R();return o$=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 s$=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},s$}(),s=UO(),l=xN();return c$=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)}))},c$}var v$,b$,y$,_$,w$=Ub(function(){if(f$)return d$;f$=1;var e=oB(),t=m$(),n=VO(),r=GO(),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 d$=i}()),x$=Ub(function(){if(_$)return y$;_$=1;var e=function(){if(b$)return v$;b$=1;var e=vE(),t=_N();return v$=function(n){return t(n)&&"[object Date]"==e(n)}}(),t=jN(),n=PO(),r=n&&n.isDate,i=r?t(r):e;return y$=i}()),k$=new Date,C$=new Date;function S$(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 S$((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 k$.setTime(+t),C$.setTime(+r),e(k$),e(C$),Math.floor(n(k$,C$))},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 T$=S$((function(){}),(function(e,t){e.setTime(+e+t)}),(function(e,t){return t-e}));T$.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?S$((function(t){t.setTime(Math.floor(t/e)*e)}),(function(t,n){t.setTime(+t+n*e)}),(function(t,n){return(n-t)/e})):T$:null},T$.range;var A$=1e3,M$=6e4,L$=36e5,E$=6048e5,N$=S$((function(e){e.setTime(e-e.getMilliseconds())}),(function(e,t){e.setTime(+e+t*A$)}),(function(e,t){return(t-e)/A$}),(function(e){return e.getUTCSeconds()}));N$.range;var O$=S$((function(e){e.setTime(e-e.getMilliseconds()-e.getSeconds()*A$)}),(function(e,t){e.setTime(+e+t*M$)}),(function(e,t){return(t-e)/M$}),(function(e){return e.getMinutes()}));O$.range;var R$=S$((function(e){e.setTime(e-e.getMilliseconds()-e.getSeconds()*A$-e.getMinutes()*M$)}),(function(e,t){e.setTime(+e+t*L$)}),(function(e,t){return(t-e)/L$}),(function(e){return e.getHours()}));function D$(e){return S$((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())*M$)/E$}))}R$.range;var P$=D$(0),I$=D$(1),z$=D$(2),j$=D$(3),B$=D$(4),F$=D$(5),H$=D$(6);P$.range,I$.range,z$.range,j$.range,B$.range,F$.range,H$.range;var $$=S$((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()}));$$.range;var U$=S$((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()}));U$.every=function(e){return isFinite(e=Math.floor(e))&&e>0?S$((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},U$.range;var q$=S$((function(e){e.setUTCSeconds(0,0)}),(function(e,t){e.setTime(+e+t*M$)}),(function(e,t){return(t-e)/M$}),(function(e){return e.getUTCMinutes()}));q$.range;var W$=S$((function(e){e.setUTCMinutes(0,0,0)}),(function(e,t){e.setTime(+e+t*L$)}),(function(e,t){return(t-e)/L$}),(function(e){return e.getUTCHours()}));function V$(e){return S$((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)/E$}))}W$.range;var G$=V$(0),Y$=V$(1),X$=V$(2),Z$=V$(3),K$=V$(4),J$=V$(5),Q$=V$(6);G$.range,Y$.range,X$.range,Z$.range,K$.range,J$.range,Q$.range;var eU=S$((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()}));eU.range;var tU=S$((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 nU(){return nU=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},nU.apply(null,arguments)}tU.every=function(e){return isFinite(e=Math.floor(e))&&e>0?S$((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},tU.range;var rU=[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)}],iU={millisecond:[],second:rU.slice(0,1),minute:rU.slice(0,2),hour:rU.slice(0,3),day:rU.slice(0,4),month:rU.slice(0,5),year:rU.slice(0,6)},oU=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 iU[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?mz(n):gz(n);return s(t(e))}},aU=function(e){var t=e;return t.type="band",t},sU=function(e,t){return e===t},lU=function(e,t){return e.getTime()===t.getTime()};function cU(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=Hp().range("x"===r?[0,n]:[n,0]).interpolate(w?zh:Nh).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=mp().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=pp().range("x"===r?[0,n]:[n,0]).domain(t.all).round(o);return aU(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=oU({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?mv():function(){return up.apply(gv(Hg,$g,Ig,Dg,yg,gg,hg,dg,ug,Gg).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 _=Xp().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=Jp().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 uU=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},dU=function(e,t,n,r,i){var o=e.map((function(e){return function(e){return nU({},e,{data:e.data.map((function(e){return{data:nU({},e)}}))})}(e)})),a=fU(o,t,n);"stacked"in t&&!0===t.stacked&&gU(a,o),"stacked"in n&&!0===n.stacked&&mU(a,o);var s=cU(t,a.x,r,"x"),l=cU(n,a.y,i,"y"),c=o.map((function(e){return nU({},e,{data:e.data.map((function(e){return nU({},e,{position:{x:uU(e,"x",s),y:uU(e,"y",l)}})}))})}));return nU({},a,{series:c,xScale:s,yScale:l})},fU=function(e,t,n){return{x:hU(e,"x",t),y:hU(e,"y",n)}},hU=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=oU(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=w$(WH(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=p$(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:SI(f)};default:var h=WH(u);return{all:h,min:h[0],max:SI(h)}}},pU=function(e,t,n){var r=function(e){return"x"===e?"y":"x"}(e),i=[];t[r].all.forEach((function(t){var o=x$(t)?lU:sU,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=SI(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)},gU=function(e,t){return pU("x",e,t)},mU=function(e,t){return pU("y",e,t)},vU=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}},bU={millisecond:[T$,T$],second:[N$,N$],minute:[O$,q$],hour:[R$,W$],day:[S$((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)})),S$((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:[P$,G$],sunday:[P$,G$],monday:[I$,Y$],tuesday:[z$,X$],wednesday:[j$,Z$],thursday:[B$,K$],friday:[F$,J$],saturday:[H$,Q$],month:[$$,eU],year:[U$,tU]},yU=Object.keys(bU),_U=new RegExp("^every\\s*(\\d+)?\\s*("+yU.join("|")+")s?$","i"),wU=function(e,t){if(Array.isArray(t))return t;if("string"==typeof t&&"useUTC"in e){var n=t.match(_U);if(n){var r=n[1],i=n[2],o=bU[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 xU(){return xU=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},xU.apply(null,arguments)}var kU=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=wU(r,o),h=EF[d],p="bandwidth"in r?vU(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 xU({key:e instanceof Date?""+e.valueOf():""+e,value:n},t(e),g,m)})),textAlign:b,textBaseline:y}},CU=function(e,t){if(void 0===e||"function"==typeof e)return e;if("time"===t.type){var n=pz(e);return function(e){return n(e instanceof Date?e:new Date(e))}}return II(e)},SU=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)||wU(i,a)),l="bandwidth"in i?vU(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},TU=$a((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=sa((function(){var e={opacity:u.opacity};return a?{style:xU({},e,{cursor:"pointer"}),onClick:function(e){return a(e,d)}}:{style:e}}),[u.opacity,a,d]);return jc(uE.g,xU({transform:u.transform},f,{children:[jc("line",{x1:0,x2:i,y1:0,y2:o,style:c.line}),jc(_H,{dominantBaseline:s,textAnchor:l,transform:u.textTransform,style:c.text,children:""+d})]}))})),AU={tickSize:5,tickPadding:5,tickRotation:0,legendPosition:"middle",legendOffset:0},MU=$a((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?AU.tickSize:u,f=e.tickPadding,h=void 0===f?AU.tickPadding:f,p=e.tickRotation,g=void 0===p?AU.tickRotation:p,m=e.format,v=e.renderTick,b=void 0===v?TU:v,y=e.truncateTickAt,_=e.legend,w=e.legendPosition,x=void 0===w?AU.legendPosition:w,k=e.legendOffset,C=void 0===k?AU.legendOffset:k,S=e.style,T=e.onClick,A=e.ariaHidden,M=function(e,t){return sa((function(){return FR(e,t)}),[e,t])}(WR().axis,S),L=sa((function(){return CU(m,n)}),[m,n]),E=kU({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,j=0;"y"===t?(j=-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=jc(vo,{children:jc(_H,{transform:"translate("+I+", "+z+") rotate("+j+")",textAnchor:P,style:xU({},M.legend.text,{dominantBaseline:"central"}),children:_})})}var B=pF(),F=B.animate,H=B.config,$=QA({transform:"translate("+i+","+a+")",lineX2:"x"===t?s:0,lineY2:"x"===t?0:s,config:H,immediate:!F}),U=la((function(e){return{opacity:1,transform:"translate("+e.x+","+e.y+")",textTransform:"translate("+e.textX+","+e.textY+") rotate("+g+")"}}),[g]),q=la((function(e){return{opacity:0,transform:"translate("+e.x+","+e.y+")",textTransform:"translate("+e.textX+","+e.textY+") rotate("+g+")"}}),[g]),W=eM(N,{keys:function(e){return e.key},initial:U,from:q,enter:U,update:U,leave:{opacity:0},config:H,immediate:!F});return jc(uE.g,{transform:$.transform,"aria-hidden":A,children:[W((function(e,t,n,r){return go(b,xU({tickIndex:r,format:L,rotate:g,textBaseline:R,textAnchor:O,truncateTickAt:y,animatedProps:e,theme:M.ticks},t,T?{onClick:T}:{}))})),jc(uE.line,{style:M.domain.line,x1:0,x2:$.lineX2,y1:0,y2:$.lineY2}),D]})})),LU=["top","right","bottom","left"],EU=$a((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 jc(vo,{children:LU.map((function(e){var a=o[e];if(!a)return null;var s="top"===e||"bottom"===e;return jc(MU,xU({},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)}))})})),NU=$a((function(e){var t=e.animatedProps,n=WR();return jc(uE.line,xU({},t,n.grid.line))})),OU=$a((function(e){var t=e.lines,n=pF(),r=n.animate,i=eM(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 jc("g",{children:i((function(e,t){return go(NU,xU({},t,{key:t.key,animatedProps:e}))}))})})),RU=$a((function(e){var t=e.width,n=e.height,r=e.xScale,i=e.yScale,o=e.xValues,a=e.yValues,s=sa((function(){return!!r&&SU({width:t,height:n,scale:r,axis:"x",values:o})}),[r,o,t,n]),l=sa((function(){return!!i&&SU({width:t,height:n,scale:i,axis:"y",values:a})}),[n,t,i,a]);return jc(vo,{children:[s&&jc(OU,{lines:s}),l&&jc(OU,{lines:l})]})})),DU=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};LU.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=CU(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?AU.tickSize:h,g=t.tickPadding,m=void 0===g?AU.tickPadding:g,v=t.tickRotation,b=void 0===v?AU.tickRotation:v,y=t.format,_=t.legend,w=t.legendPosition,x=void 0===w?AU.legendPosition:w,k=t.legendOffset,C=void 0===k?AU.legendOffset:k,S=t.theme,T=t.style,A=kU({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=FR(S.axis,T);e.textAlign=L,e.textBaseline=E,aH(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(AF(b)),sH(e,N.ticks.text,""+n),e.fillText(""+n,0,0),e.restore()})),void 0!==_){var I=0,z=0,j=0,B="center";"y"===i?(j=-90,I=C,"start"===x?(B="start",z=u):"middle"===x?(B="center",z=u/2):"end"===x&&(B="end")):(z=C,"start"===x?B="start":"middle"===x?(B="center",I=u/2):"end"===x&&(B="end",I=u)),e.translate(I,z),e.rotate(AF(j)),aH(e,N.legend.text),N.legend.text.fill&&(e.fillStyle=N.legend.text.fill),e.textAlign=B,e.textBaseline="middle",sH(e,N.legend.text,_)}e.restore()}(e,xU({},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}))}))},PU=function(e,t){var n=t.width,r=t.height,i=t.scale,o=t.axis,a=t.values;SU({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 IU(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 zU(){return zU=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},zU.apply(null,arguments)}var jU={nivo:["#e8c1a0","#f47560","#f1e15b","#e8a838","#61cdbb","#97e3d5"],category10:QD,accent:eP,dark2:tP,paired:nP,pastel1:rP,pastel2:iP,set1:oP,set2:aP,set3:sP,tableau10:lP},BU=Object.keys(jU),FU={brown_blueGreen:uP,purpleRed_green:fP,pink_yellowGreen:pP,purple_orange:mP,red_blue:bP,red_grey:_P,red_yellow_blue:xP,red_yellow_green:CP,spectral:TP},HU=Object.keys(FU),$U={brown_blueGreen:dP,purpleRed_green:hP,pink_yellowGreen:gP,purple_orange:vP,red_blue:yP,red_grey:wP,red_yellow_blue:kP,red_yellow_green:SP,spectral:AP},UU={blues:JP,greens:eI,greys:nI,oranges:lI,purples:iI,reds:aI,blue_green:MP,blue_purple:EP,green_blue:OP,orange_red:DP,purple_blue_green:IP,purple_blue:jP,purple_red:FP,red_purple:$P,yellow_green_blue:qP,yellow_green:VP,yellow_orange_brown:YP,yellow_orange_red:ZP},qU=Object.keys(UU),WU={blues:QP,greens:tI,greys:rI,oranges:cI,purples:oI,reds:sI,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:_I,inferno:xI,magma:wI,plasma:kI,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:dI,cool:fI,cubehelixDefault:uI,blue_green:LP,blue_purple:NP,green_blue:RP,orange_red:PP,purple_blue_green:zP,purple_blue:BP,purple_red:HP,red_purple:UP,yellow_green_blue:WP,yellow_green:GP,yellow_orange_brown:XP,yellow_orange_red:KP},VU=zU({},jU,FU,UU),GU={rainbow:function(e){(e<0||e>1)&&(e-=Math.floor(e));var t=Math.abs(e-.5);return hI.h=360*e-100,hI.s=1.5-1.5*t,hI.l=.8-.9*t,hI+""},sinebow:function(e){var t;return e=(.5-e)*Math.PI,pI.r=255*(t=Math.sin(e))*t,pI.g=255*(t=Math.sin(e+gI))*t,pI.b=255*(t=Math.sin(e+mI))*t,pI+""}},YU=zU({},$U,WU,GU),XU=function(e,t){return sa((function(){return function(e,t){if("function"==typeof e)return e;if(nB(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=OR(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 OR(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 IU(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)?IU(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)}),Kf(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])},ZU=function(e,t){var n=Qp().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=YU[r],a=Array.from({length:i}).map((function(e,t){return o(t*(1/(i-1)))}));n.range(a)}return n},KU=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=bv().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(YU[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=yv().domain(s).clamp(!0),u=function(e){return String(e)};if("colors"in e)u=yv().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=YU[f]}return c.interpolator((function(e){return u(e+l)}))}(e,t);if(function(e){return"quantize"===e.type}(e))return ZU(e,t);throw new Error("Invalid continuous color scale config")},JU=function(e,t){return sa((function(){return function(e,t){if("function"==typeof e)return e;var n="function"==typeof t?t:function(e){return OR(e,t)};if(Array.isArray(e)){var r=hp(e),i=function(e){return r(n(e))};return i.scale=r,i}if(nB(e)){if(function(e){return void 0!==e.datum}(e))return function(t){return OR(t,e.datum)};if(function(e){return void 0!==e.scheme}(e)){if(function(e){return BU.includes(e)}(e.scheme)){var o=hp(VU[e.scheme]),a=function(e){return o(n(e))};return a.scale=o,a}if(function(e){return HU.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=hp(VU[e.scheme][e.size||11]),l=function(e){return s(n(e))};return l.scale=s,l}if(function(e){return qU.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=hp(VU[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 QU(){return QU=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},QU.apply(null,arguments)}var eq,tq,nq="left-to-right",rq={length:200,thickness:16,direction:"row",tickPosition:"after",tickSize:4,tickSpacing:3,tickOverlap:!1,tickFormat:function(e){return""+e},titleAlign:"start",titleOffset:4},iq={top:0,right:0,bottom:0,left:0},oq=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}:QU({},iq,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}},aq=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}},sq=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}},lq=function(e){var t,n=e.scale,r=e.ticks,i=e.length,o=void 0===i?rq.length:i,a=e.thickness,s=void 0===a?rq.thickness:a,l=e.direction,c=void 0===l?rq.direction:l,u=e.tickPosition,d=void 0===u?rq.tickPosition:u,f=e.tickSize,h=void 0===f?rq.tickSize:f,p=e.tickSpacing,g=void 0===p?rq.tickSpacing:p,m=e.tickOverlap,v=void 0===m?rq.tickOverlap:m,b=e.tickFormat,y=void 0===b?rq.tickFormat:b,_=e.title,w=e.titleAlign,x=void 0===w?rq.titleAlign:w,k=e.titleOffset,C=void 0===k?rq.titleOffset:k,S="column"===c?[].concat(n.domain()).reverse():n.domain(),T=Hp().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,j,B,F,H=function(e){var t=e.domain();if("thresholds"in e){var n=[],r=Hp().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),$=XF(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?(j=v?s:0,B=(z=-h)-g,F="end",L=s+C,O="hanging"):(z=v?0:s,B=(j=s+h)+g,F="start",L=-C,O="alphabetic"),t.forEach((function(e){var t=T(e);U.push({x1:z,y1:t,x2:j,y2:t,text:$(e),textX:B,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}},cq=function(e){var t=e.scale,n=e.ticks,r=e.length,i=void 0===r?rq.length:r,o=e.thickness,a=void 0===o?rq.thickness:o,s=e.direction,l=void 0===s?rq.direction:s,c=e.tickPosition,u=void 0===c?rq.tickPosition:c,d=e.tickSize,f=void 0===d?rq.tickSize:d,h=e.tickSpacing,p=void 0===h?rq.tickSpacing:h,g=e.tickOverlap,m=void 0===g?rq.tickOverlap:g,v=e.tickFormat,b=void 0===v?rq.tickFormat:v,y=e.title,_=e.titleAlign,w=void 0===_?rq.titleAlign:_,x=e.titleOffset,k=lq({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?rq.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,j=WR(),B="ContinuousColorsLegendSvgGradient."+l+"."+N.map((function(e){return e.stopColor.replace(/[(),\s]/g,"")+"."+e.offset})).join("_");return jc("g",{children:[jc("defs",{children:jc("linearGradient",{id:B,x1:T,y1:A,x2:M,y2:L,children:N.map((function(e){return jc("stop",{offset:e.offset,stopColor:e.stopColor},e.key)}))})}),O&&jc("text",{transform:"translate("+R+", "+D+") rotate("+P+")",textAnchor:z,dominantBaseline:I,style:j.legends.title.text,children:O}),jc("rect",{width:C,height:S,fill:"url(#"+B}),E.map((function(e,t){return jc(vo,{children:[jc("line",{x1:e.x1,y1:e.y1,x2:e.x2,y2:e.y2,style:j.legends.ticks.line}),jc(_H,{x:e.textX,y:e.textY,textAnchor:e.textHorizontalAlign,dominantBaseline:e.textVerticalAlign,style:j.legends.ticks.text,children:e.text})]},t)}))]})},uq=["containerWidth","containerHeight","anchor","translateX","translateY","length","thickness","direction"],dq=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?rq.length:u,f=e.thickness,h=void 0===f?rq.thickness:f,p=e.direction,g=void 0===p?rq.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,uq);"row"===g?(t=d,n=h):(t=h,n=d);var v=aq({anchor:o,translateX:s,translateY:c,containerWidth:r,containerHeight:i,width:t,height:n});return jc("g",{transform:"translate("+v.x+", "+v.y+")",children:jc(cq,QU({length:d,thickness:h,direction:g},m))})},fq={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 jc("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 jc("g",{transform:"translate("+t+","+n+")",children:jc("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 jc("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 jc("g",{transform:"translate("+t+","+n+")",children:jc("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"}})})}},hq=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?nq: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,j=e.onMouseLeave,B=e.toggleSerie,F=e.effects,H=na({}),$=H[0],U=H[1],q=WR(),W=la((function(e){if(F){var t=F.filter((function(e){return"hover"===e.on})).reduce((function(e,t){return QU({},e,t.style)}),{});U(t)}null==z||z(m,e)}),[z,m,F]),V=la((function(e){if(F){var t=F.filter((function(e){return"hover"!==e.on})).reduce((function(e,t){return QU({},e,t.style)}),{});U(t)}null==j||j(m,e)}),[j,m,F]),G=sq({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,j,B].some((function(e){return void 0!==e})),te="function"==typeof A?A:fq[A];return jc("g",{transform:"translate("+f+","+h+")",style:{opacity:null!=(n=$.itemOpacity)?n:S},children:[jc("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==B||B(m.id)},onMouseEnter:W,onMouseLeave:V}),go(te,QU({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)),jc(_H,{textAnchor:J,style:QU({},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})]})},pq=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?nq: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=oq({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 jc("g",{transform:"translate("+n+","+r+")",children:t.map((function(e,t){return jc(hq,{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)}))})},gq=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=oq({itemCount:t.length,itemsSpacing:p,itemWidth:g,itemHeight:m,direction:c,padding:d}),O=N.width,R=N.height,D=aq({anchor:l,translateX:o,translateY:s,containerWidth:n,containerHeight:r,width:O,height:R}),P=D.x,I=D.y;return jc(pq,{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})},mq={start:"left",middle:"center",end:"right"},vq=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=oq({itemCount:n.length,itemWidth:v,itemHeight:b,itemsSpacing:m,direction:u,padding:f}),M=A.width,L=A.height,E=A.padding,N=aq({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),aH(e,T.legends.text),n.forEach((function(t,n){var r,i=n*D+E.left,o=n*P+E.top,a=sq({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=mq[d],"central"===f&&(e.textBaseline="middle"),sH(e,QU({},T.legends.text,{fill:null!=w?w:T.legends.text.fill}),String(t.label),i+c,o+u)})),e.restore()},bq=function(){if(tq)return eq;tq=1;var e=kR(),t=0;return eq=function(n){var r=++t;return e(n)+r},eq}(),yq=Ub(bq);const _q=134217729;function wq(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 xq(e){return new Float64Array(e)}const kq=xq(4),Cq=xq(8),Sq=xq(12),Tq=xq(16),Aq=xq(4);function Mq(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=_q*S,h=f-(f-S),p=S-h,f=_q*M,g=f-(f-M),m=M-g,w=p*m-(_-h*g-p*g-h*m),x=A*T,f=_q*A,h=f-(f-A),p=A-h,f=_q*T,g=f-(f-T),m=T-g,k=p*m-(x-h*g-p*g-h*m),v=w-k,d=w-v,kq[0]=w-(v+d)+(d-k),b=_+v,d=b-_,y=_-(b-d)+(v-d),v=y-x,d=y-v,kq[1]=y-(v+d)+(d-x),C=b+v,d=C-b,kq[2]=b-(C-d)+(v-d),kq[3]=C;let L=function(e,t){let n=t[0];for(let e=1;e<4;e++)n+=t[e];return n}(0,kq),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=_q*s,h=f-(f-s),p=s-h,f=_q*M,g=f-(f-M),m=M-g,w=p*m-(_-h*g-p*g-h*m),x=l*T,f=_q*l,h=f-(f-l),p=l-h,f=_q*T,g=f-(f-T),m=T-g,k=p*m-(x-h*g-p*g-h*m),v=w-k,d=w-v,Aq[0]=w-(v+d)+(d-k),b=_+v,d=b-_,y=_-(b-d)+(v-d),v=y-x,d=y-v,Aq[1]=y-(v+d)+(d-x),C=b+v,d=C-b,Aq[2]=b-(C-d)+(v-d),Aq[3]=C;const N=wq(4,kq,4,Aq,Cq);_=S*u,f=_q*S,h=f-(f-S),p=S-h,f=_q*u,g=f-(f-u),m=u-g,w=p*m-(_-h*g-p*g-h*m),x=A*c,f=_q*A,h=f-(f-A),p=A-h,f=_q*c,g=f-(f-c),m=c-g,k=p*m-(x-h*g-p*g-h*m),v=w-k,d=w-v,Aq[0]=w-(v+d)+(d-k),b=_+v,d=b-_,y=_-(b-d)+(v-d),v=y-x,d=y-v,Aq[1]=y-(v+d)+(d-x),C=b+v,d=C-b,Aq[2]=b-(C-d)+(v-d),Aq[3]=C;const O=wq(N,Cq,4,Aq,Sq);_=s*u,f=_q*s,h=f-(f-s),p=s-h,f=_q*u,g=f-(f-u),m=u-g,w=p*m-(_-h*g-p*g-h*m),x=l*c,f=_q*l,h=f-(f-l),p=l-h,f=_q*c,g=f-(f-c),m=c-g,k=p*m-(x-h*g-p*g-h*m),v=w-k,d=w-v,Aq[0]=w-(v+d)+(d-k),b=_+v,d=b-_,y=_-(b-d)+(v-d),v=y-x,d=y-v,Aq[1]=y-(v+d)+(d-x),C=b+v,d=C-b,Aq[2]=b-(C-d)+(v-d),Aq[3]=C;const R=wq(O,Sq,4,Aq,Tq);return Tq[R-1]}(e,t,n,r,i,o,c)}const Lq=Math.pow(2,-52),Eq=new Uint32Array(512);class Nq{static from(e,t=zq,n=jq){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 Nq(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=Oq(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=Oq(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=Dq(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];Pq(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(Mq(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]=Oq(e[2*t],e[2*t+1],x.x,x.y);Pq(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)<=Lq&&Math.abs(u-a)<=Lq)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],Mq(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],Mq(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],Mq(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=Eq[--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(Rq(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<Eq.length&&(Eq[i++]=s)}else{if(0===i)break;e=Eq[--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 Oq(e,t,n,r){const i=e-n,o=t-r;return i*i+o*o}function Rq(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 Dq(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 Pq(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;Iq(e,n+r>>1,i),t[e[n]]>t[e[r]]&&Iq(e,n,r),t[e[i]]>t[e[r]]&&Iq(e,i,r),t[e[n]]>t[e[i]]&&Iq(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;Iq(e,i,o)}e[n+1]=e[o],e[o]=a,r-i+1>=o-n?(Pq(e,t,i,r),Pq(e,t,n,o-1)):(Pq(e,t,n,o-1),Pq(e,t,i,r))}}function Iq(e,t,n){const r=e[t];e[t]=e[n],e[n]=r}function zq(e){return e[0]}function jq(e){return e[1]}const Bq=1e-6;class Fq{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)>Bq||Math.abs(this._y1-i)>Bq)&&(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 Hq{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 $q{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 Fq: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 Fq: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 Fq: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 Hq;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 Uq=2*Math.PI,qq=Math.pow;function Wq(e){return e[0]}function Vq(e){return e[1]}function Gq(e,t,n){return[e+Math.sin(e+t)*n,t+Math.cos(e-t)*n]}class Yq{static from(e,t=Wq,n=Vq,r){return new Yq("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 Nq(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=Gq(t[2*e],t[2*e+1],i);t[2*e]=n[0],t[2*e+1]=n[1]}this._delaunator=new Nq(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 $q(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=qq(t-l[2*e],2)+qq(n-l[2*e+1],2);const d=r[e];let f=d;do{let r=s[f];const d=qq(t-l[2*r],2)+qq(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&&qq(t-l[2*f],2)+qq(n-l[2*f+1],2)<u)return f;break}}while(f!==d);return c}render(e){const t=null==e?e=new Fq: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 Fq: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,Uq)}return n&&n.value()}renderHull(e){const t=null==e?e=new Fq: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 Hq;return this.renderHull(e),e.value()}renderTriangle(e,t){const n=null==t?t=new Fq: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 Hq;return this.renderTriangle(e,t),t.value()}}function Xq(){return Xq=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},Xq.apply(null,arguments)}function Zq(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 Kq={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"},Jq=function(e){return[e.x,e.y]},Qq=VF,eW="cursor",tW=function(e){var t=e.points,n=e.getNodePosition,r=void 0===n?Jq:n,i=e.margin,o=void 0===i?Qq:i;return t.map((function(e){var t=r(e),n=t[0],i=t[1];return[n+o.left,i+o.top]}))},nW=function(e){var t=e.points,n=e.getNodePosition,r=void 0===n?Jq:n,i=e.width,o=e.height,a=e.margin,s=void 0===a?Qq:a,l=e.debug;return sa((function(){return function(e){var t=e.points,n=e.width,r=e.height,i=e.margin,o=void 0===i?Qq:i,a=e.debug,s=Yq.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:tW({points:t,margin:s,getNodePosition:r}),width:i,height:o,margin:s,debug:l})}),[r,t,i,o,s,l])},rW=["theme"],iW=function(e){var t=e.data,n=e.width,r=e.height,i=e.margin,o=e.layers,a=void 0===o?Kq.layers:o,s=e.xDomain,l=void 0===s?Kq.xDomain:s,c=e.yDomain,u=void 0===c?Kq.yDomain:c,d=e.enableLinks,f=void 0===d?Kq.enableLinks:d,h=e.linkLineWidth,p=void 0===h?Kq.linkLineWidth:h,g=e.linkLineColor,m=void 0===g?Kq.linkLineColor:g,v=e.enableCells,b=void 0===v?Kq.enableCells:v,y=e.cellLineWidth,_=void 0===y?Kq.cellLineWidth:y,w=e.cellLineColor,x=void 0===w?Kq.cellLineColor:w,k=e.enablePoints,C=void 0===k?Kq.enableCells:k,S=e.pointSize,T=void 0===S?Kq.pointSize:S,A=e.pointColor,M=void 0===A?Kq.pointColor:A,L=e.role,E=void 0===L?Kq.role:L,N=e.forwardedRef,O=GF(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=sa((function(){return Hp().domain(i).range([0,n])}),[i,n]),s=sa((function(){return Hp().domain(o).range([0,r])}),[o,r]),l=sa((function(){return t.map((function(e){return{x:a(e.x),y:s(e.y),data:e}}))}),[t,a,s]);return sa((function(){var e=Yq.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,j=I.delaunay,B=I.voronoi,F={links:null,cells:null,points:null,bounds:null};f&&a.includes("links")&&(F.links=jc("path",{stroke:m,strokeWidth:p,fill:"none",d:j.render()},"links")),b&&a.includes("cells")&&(F.cells=jc("path",{d:B.render(),fill:"none",stroke:x,strokeWidth:_},"cells")),C&&a.includes("points")&&(F.points=jc("path",{stroke:"none",fill:M,d:j.renderPoints(void 0,T/2)},"points")),a.includes("bounds")&&(F.bounds=jc("path",{fill:"none",stroke:x,strokeWidth:_,d:B.renderBounds()},"bounds"));var H=function(e){var t=e.points,n=e.delaunay,r=e.voronoi;return sa((function(){return{points:t,delaunay:n,voronoi:r}}),[t,n,r])}({points:z,delaunay:j,voronoi:B});return jc(zF,{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?jc(vo,{children:go(e,H)},t):null}))})},oW=Wa((function(e,t){var n=e.theme,r=Zq(e,rW);return jc(vF,{isInteractive:!1,animate:!1,theme:n,children:jc(iW,Xq({},r,{forwardedRef:t}))})})),aW=["defaultWidth","defaultHeight","onResize","debounceResize"];Wa((function(e,t){var n=e.defaultWidth,r=e.defaultHeight,i=e.onResize,o=e.debounceResize,a=Zq(e,aW);return jc(_F,{defaultWidth:n,defaultHeight:r,onResize:i,debounceResize:o,children:function(e){var n=e.width,r=e.height;return jc(oW,Xq({},a,{width:n,height:r,ref:t}))}})}));var sW=function(e){var t=e.nodes,n=e.width,r=e.height,i=e.margin,o=void 0===i?Qq: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?eW:k,S=e.tooltipAnchor,T=void 0===S?"top":S,A=e.debug,M=aa(null),L=nW({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?Jq:r,o=e.delaunay,a=e.setCurrent,s=e.margin,l=void 0===s?Qq: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?eW:T,M=e.tooltipAnchor,L=void 0===M?"top":M,E=na(null),N=E[0],O=E[1],R=aa(null);ia((function(){R.current=N}),[R,N]);var D=la((function(e){if(!t.current||0===n.length)return null;var r=tH(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];QF(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=lD(),I=P.showTooltipAt,z=P.showTooltipFromEvent,j=P.hideTooltip,B=sa((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=la((function(e){var t=D(e);if(O(t),null==a||a(t?t[1]:null),t){var n=t[1];null==B||B(n,e),null==h||h(t[1],e)}}),[D,O,a,B,h]),H=la((function(e){var t=D(e);if(O(t),t){var n=t[0],r=t[1];if(null==a||a(r),null==B||B(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==j||j(),R.current&&(null==g||g(R.current[1],e))}),[D,O,a,R,h,p,g,B,j]),$=la((function(e){O(null),null==a||a(null),j(),g&&R.current&&g(R.current[1],e)}),[O,a,R,j,g]),U=la((function(e){var t=D(e);O(t),t&&(null==m||m(t[1],e))}),[D,O,m]),q=la((function(e){var t=D(e);O(t),t&&(null==v||v(t[1],e))}),[D,O,v]),W=la((function(e){var t=D(e);O(t),t&&(null==b||b(t[1],e))}),[D,O,b]),V=la((function(e){var t=D(e);O(t),t&&(null==y||y(t[1],e))}),[D,O,y]),G=la((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=la((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=la((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,j=O.handleMouseUp,B=O.handleClick,F=O.handleDoubleClick,H=O.handleTouchStart,$=O.handleTouchMove,U=O.handleTouchEnd,q=sa((function(){if(A&&N)return N.render()}),[A,N]);return jc("g",{ref:M,transform:"translate("+-o.left+","+-o.top+")",children:[A&&N&&jc(vo,{children:[jc("path",{d:q,stroke:"red",strokeWidth:1,opacity:.75}),w<1/0&&jc("path",{stroke:"red",strokeWidth:.35,fill:"none",d:E.renderPoints(void 0,w)}),R&&jc("path",{fill:"pink",opacity:.35,d:N.renderCell(R[0])})]}),jc("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:j,onTouchStart:H,onTouchMove:$,onTouchEnd:U,onClick:B,onDoubleClick:F})]})};function lW(){return lW=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},lW.apply(null,arguments)}function cW(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 uW,dW={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:$a((function(e){var t=e.point;return jc(JR,{id:jc("span",{children:["x: ",jc("strong",{children:t.data.xFormatted}),", y:"," ",jc("strong",{children:t.data.yFormatted})]}),enableChip:!0,color:t.seriesColor})})),sliceTooltip:$a((function(e){var t=e.slice,n=e.axis,r=WR(),i="x"===n?"y":"x";return jc(eD,{rows:t.points.map((function(e){return[jc(KR,{color:e.seriesColor,style:r.tooltip.chip},"chip"),e.seriesId,jc("span",{style:r.tooltip.tableCellValue,children:e.data[i+"Formatted"]},"value")]}))})})),debugMesh:!1,renderWrapper:!0},fW=lW({},dW,{defs:[],fill:[],enablePointLabel:!1,pointLabel:"data.yFormatted",areaBlendMode:"normal",axisTop:null,axisRight:null,axisBottom:AU,axisLeft:AU,useMesh:!1,enableSlices:!1,debugSlices:!1,enableCrosshair:!0,crosshairType:"bottom-left",enableTouchCrosshair:!1,initialHiddenIds:[],animate:!0,motionConfig:"gentle",role:"img",isFocusable:!1}),hW=lW({},dW,{pixelRatio:"undefined"!=typeof window&&null!=(uW=window.devicePixelRatio)?uW:1,axisTop:null,axisRight:null,axisBottom:AU,axisLeft:AU});function pW(e){return sa((function(){return Jv().defined((function(e){return null!==e.x&&null!==e.y})).x((function(e){return e.x})).y((function(e){return e.y})).curve(WF(e))}),[e])}function gW(e){var t=e.curve,n=e.yScale,r=e.areaBaselineValue;return sa((function(){return Qv().defined((function(e){return null!==e.x&&null!==e.y})).x((function(e){return e.x})).y1((function(e){return e.y})).curve(WF(t)).y0(n(r))}),[t,n,r])}var mW=function(e){var t=e.data,n=e.xScale,r=void 0===n?dW.xScale:n,i=e.xFormat,o=e.yScale,a=void 0===o?dW.yScale:o,s=e.yFormat,l=e.width,c=e.height,u=e.colors,d=void 0===u?dW.colors:u,f=e.curve,h=void 0===f?dW.curve:f,p=e.areaBaselineValue,g=void 0===p?dW.areaBaselineValue:p,m=e.pointColor,v=void 0===m?dW.pointColor:m,b=e.pointBorderColor,y=void 0===b?dW.pointBorderColor:b,_=e.enableSlices,w=void 0===_?fW.enableSlices:_,x=e.initialHiddenIds,k=void 0===x?fW.initialHiddenIds:x,C=na(yq("line"))[0],S=ZF(i),T=ZF(s),A=JU(d,"id"),M=WR(),L=XU(v,M),E=XU(y,M),N=na(null!=k?k:[]),O=N[0],R=N[1],D=sa((function(){return dU(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,j=sa((function(){var e=t.map((function(e){return{id:e.id,label:""+e.id,color:A(e)}})),n=e.map((function(e){return lW({},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 lW({},e,{hidden:!n.find((function(t){return t.id===e.id}))})})).reverse(),series:n}}),[t,z,A]),B=j.legendData,F=j.series,H=la((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 sa((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:lW({},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 sa((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:B,toggleSeries:H,lineGenerator:pW(h),areaGenerator:gW({curve:h,yScale:I,areaBaselineValue:g}),getColor:A,series:F,xScale:P,yScale:I,slices:U,points:$}},vW=function(e){var t=e.areaBlendMode,n=e.areaOpacity,r=e.color,i=e.fill,o=e.path,a=pF(),s=a.animate,l=a.config,c=$F(o),u=QA({color:r,config:l,immediate:!s});return jc(uE.path,{d:c,fill:i||u.color,fillOpacity:n,strokeWidth:0,style:{mixBlendMode:t}})},bW=$a((function(e){var t=e.areaGenerator,n=e.areaOpacity,r=e.areaBlendMode;return jc("g",{children:e.series.slice(0).reverse().map((function(e){return jc(vW,lW({path:t(e.data.map((function(e){return e.position})))},lW({areaOpacity:n,areaBlendMode:r},e)),""+e.id)}))})})),yW=$a((function(e){var t=e.lineGenerator,n=e.points,r=e.color,i=e.thickness,o=sa((function(){return t(n)}),[t,n]),a=$F(o);return jc(uE.path,{d:a,fill:"none",strokeWidth:i,stroke:r})})),_W=$a((function(e){var t=e.series,n=e.lineGenerator,r=e.lineWidth;return jc(vo,{children:t.slice(0).reverse().map((function(e){var t=e.id,i=e.data,o=e.color;return jc(yW,{points:i.map((function(e){return e.position})),lineGenerator:n,color:o,thickness:r},t)}))})})),wW=$a((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=lD(),y=b.showTooltipFromEvent,_=b.hideTooltip,w=la((function(e){y(go(o,{slice:t,axis:r}),e,"right"),s(t),null==l||l(t,e)}),[y,o,t,r,s,l]),x=la((function(e){y(go(o,{slice:t,axis:r}),e,"right"),null==c||c(t,e)}),[y,o,t,r,c]),k=la((function(e){_(),s(null),null==u||u(t,e)}),[_,s,u,t]),C=la((function(e){null==d||d(t,e)}),[t,d]),S=la((function(e){null==f||f(t,e)}),[t,f]),T=la((function(e){null==h||h(t,e)}),[t,h]),A=la((function(e){null==p||p(t,e)}),[t,p]),M=la((function(e){y(go(o,{slice:t,axis:r}),e,"right"),s(t),null==g||g(t,e)}),[r,g,s,y,t,o]),L=la((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(go(o,{slice:c,axis:r}),e,"right"),s(c))}null==m||m(t,e)}),[r,m,s,y,t,n,o]),E=la((function(e){_(),s(null),null==v||v(t,e)}),[_,s,v,t]);return jc("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})})),xW=$a((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 jc(vo,{children:t.map((function(e){return jc(wW,{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)}))})})),kW=$a((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 TI(e)?e:function(t){return OR(t,e)}}(a),b=lD(),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(go(u,{point:e}),[d.left+e.x,d.top+e.y],"top")}:void 0,onBlur:l?function(){c(null),_()}:void 0}}));return jc("g",{children:w.map((function(e){return jc(BF,{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)}))})})),CW=$a((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=lD(),_=y.showTooltipAt,w=y.hideTooltip,x=la((function(e,t){_(go(m,{point:e}),[e.x+i.left,e.y+i.top],"top"),null==a||a(e,t)}),[_,m,a,i]),k=la((function(e,t){_(go(m,{point:e}),[e.x+i.left,e.y+i.top],"top"),null==s||s(e,t)}),[_,m,i.left,i.top,s]),C=la((function(e,t){w(),null==l||l(e,t)}),[w,l]),S=la((function(e,t){null==c||c(e,t)}),[c]),T=la((function(e,t){null==u||u(e,t)}),[u]),A=la((function(e,t){null==d||d(e,t)}),[d]),M=la((function(e,t){null==f||f(e,t)}),[f]),L=la((function(e,t){_(go(m,{point:e}),[e.x+i.left,e.y+i.top],"top"),null==h||h(e,t)}),[i.left,i.top,h,_,m]),E=la((function(e,t){_(go(m,{point:e}),[e.x+i.left,e.y+i.top],"top"),null==p||p(e,t)}),[i.left,i.top,p,_,m]),N=la((function(e,t){w(),null==g||g(e,t)}),[g,w]);return jc(sW,{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})})),SW=["isInteractive","animate","motionConfig","theme","renderWrapper"];function TW(e){var t=e.data,n=e.xScale,r=void 0===n?fW.xScale:n,i=e.xFormat,o=e.yScale,a=void 0===o?fW.yScale:o,s=e.yFormat,l=e.curve,c=void 0===l?fW.curve:l,u=e.margin,d=e.width,f=e.height,h=e.colors,p=void 0===h?fW.colors:h,g=e.lineWidth,m=void 0===g?fW.lineWidth:g,v=e.layers,b=void 0===v?fW.layers:v,y=e.enableArea,_=void 0===y?fW.enableArea:y,w=e.areaBaselineValue,x=void 0===w?fW.areaBaselineValue:w,k=e.areaOpacity,C=void 0===k?fW.areaOpacity:k,S=e.areaBlendMode,T=void 0===S?fW.areaBlendMode:S,A=e.enablePoints,M=void 0===A?fW.enablePoints:A,L=e.pointSymbol,E=e.pointSize,N=void 0===E?fW.pointSize:E,O=e.pointColor,R=void 0===O?fW.pointColor:O,D=e.pointBorderWidth,P=void 0===D?fW.pointBorderWidth:D,I=e.pointBorderColor,z=void 0===I?fW.pointBorderColor:I,j=e.enablePointLabel,B=void 0===j?fW.enablePointLabel:j,F=e.pointLabel,H=void 0===F?fW.pointLabel:F,$=e.pointLabelYOffset,U=e.enableGridX,q=void 0===U?fW.enableGridX:U,W=e.gridXValues,V=e.enableGridY,G=void 0===V?fW.enableGridY:V,Y=e.gridYValues,X=e.axisTop,Z=e.axisRight,K=e.axisBottom,J=void 0===K?fW.axisBottom:K,Q=e.axisLeft,ee=void 0===Q?fW.axisLeft:Q,te=e.defs,ne=void 0===te?fW.defs:te,re=e.fill,ie=void 0===re?fW.fill:re,oe=e.markers,ae=e.legends,se=void 0===ae?fW.legends:ae,le=e.isInteractive,ce=void 0===le?fW.isInteractive:le,ue=e.useMesh,de=void 0===ue?fW.useMesh:ue,fe=e.debugMesh,he=void 0===fe?fW.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?fW.tooltip:Ce,Te=e.enableSlices,Ae=void 0===Te?fW.enableSlices:Te,Me=e.debugSlices,Le=void 0===Me?fW.debugSlices:Me,Ee=e.sliceTooltip,Ne=void 0===Ee?fW.sliceTooltip:Ee,Oe=e.enableCrosshair,Re=void 0===Oe?fW.enableCrosshair:Oe,De=e.crosshairType,Pe=void 0===De?fW.crosshairType:De,Ie=e.enableTouchCrosshair,ze=void 0===Ie?fW.enableTouchCrosshair:Ie,je=e.role,Be=void 0===je?fW.role:je,Fe=e.ariaLabel,He=e.ariaLabelledBy,$e=e.ariaDescribedBy,Ue=e.isFocusable,qe=void 0===Ue?fW.isFocusable:Ue,We=e.pointAriaLabel,Ve=e.pointAriaLabelledBy,Ge=e.pointAriaDescribedBy,Ye=e.pointAriaHidden,Xe=e.pointAriaDisabled,Ze=e.initialHiddenIds,Ke=void 0===Ze?fW.initialHiddenIds:Ze,Je=e.forwardedRef,Qe=GF(d,f,u),et=Qe.margin,tt=Qe.innerWidth,nt=Qe.innerHeight,rt=Qe.outerWidth,it=Qe.outerHeight,ot=mW({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=na(null),mt=gt[0],vt=gt[1],bt=na(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=jc(RU,{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=jc(HF,{markers:oe,width:tt,height:nt,xScale:dt,yScale:ft},"markers")),b.includes("axes")&&(wt.axes=jc(EU,{xScale:dt,yScale:ft,width:tt,height:nt,top:X,right:Z,bottom:J,left:ee},"axes")),b.includes("lines")&&(wt.lines=jc(_W,{series:ut,lineGenerator:lt,lineWidth:m},"lines")),b.includes("legends")&&se.length>0&&(wt.legends=jc(vo,{children:se.map((function(e,t){return jc(gq,lW({},e,{containerWidth:tt,containerHeight:nt,data:e.data||at,toggleSerie:e.toggleSerie?st:void 0}),t)}))},"legends"));var xt=iH(ne,ut,ie);_&&(wt.areas=jc(bW,{areaGenerator:ct,areaOpacity:C,areaBlendMode:T,series:ut},"areas")),ce&&!1!==Ae&&(wt.slices=jc(xW,{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=jc(kW,{points:pt,symbol:L,size:N,borderWidth:P,enableLabel:B,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=jc(nD,{width:tt,height:nt,x:mt.x,y:mt.y,type:Pe},"crosshair")),null!==yt&&Ae&&(wt.crosshair=jc(nD,{width:tt,height:nt,x:yt.x,y:yt.y,type:Ae},"crosshair"))),ce&&de&&!1===Ae&&(wt.mesh=jc(CW,{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=lW({},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 jc(zF,{defs:xt,width:rt,height:it,margin:et,role:Be,ariaLabel:Fe,ariaLabelledBy:He,ariaDescribedBy:$e,isFocusable:qe,ref:Je,children:b.map((function(e,t){return"function"==typeof e?jc(vo,{children:e(kt)},t):wt[e]}))})}var AW=Wa((function(e,t){var n=e.isInteractive,r=void 0===n?fW.isInteractive:n,i=e.animate,o=void 0===i?fW.animate:i,a=e.motionConfig,s=void 0===a?fW.motionConfig:a,l=e.theme,c=e.renderWrapper,u=cW(e,SW);return jc(vF,{animate:o,isInteractive:r,motionConfig:s,renderWrapper:c,theme:l,children:jc(TW,lW({isInteractive:r},u,{forwardedRef:t}))})})),MW=["defaultWidth","defaultHeight","onResize","debounceResize"],LW=(Wa((function(e,t){var n=e.defaultWidth,r=e.defaultHeight,i=e.onResize,o=e.debounceResize,a=cW(e,MW);return jc(_F,{defaultWidth:n,defaultHeight:r,onResize:i,debounceResize:o,children:function(e){var n=e.width,r=e.height;return jc(AW,lW({width:n,height:r},a,{ref:t}))}})})),["isInteractive","renderWrapper","theme"]),EW=function(e){var t=e.width,n=e.height,r=e.margin,i=e.pixelRatio,o=void 0===i?hW.pixelRatio:i,a=e.data,s=e.xScale,l=void 0===s?hW.xScale:s,c=e.xFormat,u=e.yScale,d=void 0===u?hW.yScale:u,f=e.yFormat,h=e.curve,p=void 0===h?hW.curve:h,g=e.layers,m=void 0===g?hW.layers:g,v=e.colors,b=void 0===v?hW.colors:v,y=e.lineWidth,_=void 0===y?hW.lineWidth:y,w=e.enableArea,x=void 0===w?hW.enableArea:w,k=e.areaBaselineValue,C=void 0===k?hW.areaBaselineValue:k,S=e.areaOpacity,T=void 0===S?hW.areaOpacity:S,A=e.enablePoints,M=void 0===A?hW.enablePoints:A,L=e.pointSize,E=void 0===L?hW.pointSize:L,N=e.pointColor,O=void 0===N?hW.pointColor:N,R=e.pointBorderWidth,D=void 0===R?hW.pointBorderWidth:R,P=e.pointBorderColor,I=void 0===P?hW.pointBorderColor:P,z=e.enableGridX,j=void 0===z?hW.enableGridX:z,B=e.gridXValues,F=e.enableGridY,H=void 0===F?hW.enableGridY:F,$=e.gridYValues,U=e.axisTop,q=e.axisRight,W=e.axisBottom,V=void 0===W?hW.axisBottom:W,G=e.axisLeft,Y=void 0===G?hW.axisLeft:G,X=e.legends,Z=void 0===X?hW.legends:X,K=e.isInteractive,J=void 0===K?hW.isInteractive:K,Q=e.debugMesh,ee=void 0===Q?hW.debugMesh:Q,te=e.onMouseLeave,ne=e.onMouseDown,re=e.onMouseUp,ie=e.onClick,oe=e.onDoubleClick,ae=e.tooltip,se=void 0===ae?hW.tooltip:ae,le=e.role,ce=e.forwardedRef,ue=aa(null),de=GF(t,n,r),fe=de.margin,he=de.innerWidth,pe=de.innerHeight,ge=de.outerWidth,me=de.outerHeight,ve=WR(),be=na(null),ye=be[0],_e=be[1],we=mW({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=sa((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=nW({points:Ae,width:he,height:pe,debug:ee}),Ee=Le.delaunay,Ne=Le.voronoi;ia((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,j&&PU(e,{width:he,height:pe,scale:Se,axis:"x",values:B}),H&&PU(e,{width:he,height:pe,scale:Te,axis:"y",values:$})),"axes"===t&&DU(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){vq(e,lW({},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,j,B,H,$,U,q,V,Y,Z,Ae,M,E,D,ye,Me,ee,x,ke,T,_,Ne]);var Oe=la((function(e){if(!ue.current)return null;var t=tH(ue.current,e),n=t[0],r=t[1];if(!eH(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=lD(),De=Re.showTooltipFromEvent,Pe=Re.hideTooltip,Ie=la((function(e){var t=Oe(e);_e(t),t?De(go(se,{point:t}),e):Pe()}),[Oe,_e,De,Pe,se]),ze=la((function(e){Pe(),_e(null),ye&&(null==te||te(ye,e))}),[Pe,_e,te,ye]),je=la((function(e){if(ne){var t=Oe(e);t&&ne(t,e)}}),[Oe,ne]),Be=la((function(e){if(re){var t=Oe(e);t&&re(t,e)}}),[Oe,re]),Fe=la((function(e){if(ie){var t=Oe(e);t&&ie(t,e)}}),[Oe,ie]),He=la((function(e){if(oe){var t=Oe(e);t&&oe(t,e)}}),[Oe,oe]);return jc("canvas",{ref:oH(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?je:void 0,onMouseUp:J?Be:void 0,onClick:J?Fe:void 0,onDoubleClick:J?He:void 0,role:le})},NW=Wa((function(e,t){var n=e.isInteractive,r=e.renderWrapper,i=e.theme,o=cW(e,LW);return jc(vF,{isInteractive:n,renderWrapper:r,theme:i,animate:!1,children:jc(EW,lW({},o,{forwardedRef:t}))})})),OW=["defaultWidth","defaultHeight","onResize","debounceResize"];Wa((function(e,t){var n=e.defaultWidth;e.defaultHeight;var r=e.onResize,i=e.debounceResize,o=cW(e,OW);return jc(_F,{defaultWidth:n,defaultHeight:n,onResize:r,debounceResize:i,children:function(e){var n=e.width,r=e.height;return jc(NW,lW({width:n,height:r},o,{ref:t}))}})}));const RW=({label:e,width:t,height:n,ariaLabel:r=e})=>jc("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 DW=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)"}},PW=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},IW=(e,t)=>{const[n,r]=e,i=t.map(((e,i)=>n+(r-n)*(i/(t.length-1))));return Hp().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(Th).clamp(!0)};const zW=e=>"number"==typeof e&&e>=0&&e<=100,jW=({slices:e,percentage:t,className:n})=>jc("article",{"aria-label":"Success rate",role:"presentation",className:ks("styles_chart__mUNSO",n),children:[jc("svg",{"aria-hidden":!0,viewBox:"0 0 100 100",children:jc("g",{transform:"translate(50, 50)",children:e.map((e=>!!e.d&&jc("path",{d:e.d,fill:"__empty__"===e.status?"var(--bg-control-secondary)":DW(e.status)},e.status)))})}),zW(t)&&jc(qc,{className:"styles_legend__JMBvn",size:"s",tag:"b",children:0===t?"0":`${t}%`})]});var BW,FW,HW,$W,UW,qW,WW,VW,GW,YW,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;function LV(){if(YW)return GW;YW=1;var e=iB(),t=vN(),n=iF(),r=rF(),i=Object.getOwnPropertySymbols?function(r){for(var i=[];r;)e(i,n(r)),r=t(r);return i}:r;return GW=i}function EV(){if(JW)return KW;JW=1;var e=tF(),t=LV(),n=$O();return KW=function(r){return e(r,n,t)},KW}function NV(){if(bV)return vV;bV=1;var e=TE(),t=(FW||(FW=1,BW=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}),BW),n=jO(),r=function(){if($W)return HW;$W=1;var e=BO(),t=oF();return HW=function(n,r){return n&&e(r,t(r),n)},HW}(),i=function(){if(qW)return UW;qW=1;var e=BO(),t=$O();return UW=function(n,r){return n&&e(r,t(r),n)},UW}(),o=dN(),a=gN(),s=function(){if(VW)return WW;VW=1;var e=BO(),t=iF();return WW=function(n,r){return e(n,t(n),r)},WW}(),l=function(){if(ZW)return XW;ZW=1;var e=BO(),t=LV();return XW=function(n,r){return e(n,t(n),r)},XW}(),c=aF(),u=EV(),d=lF(),f=function(){if(eV)return QW;eV=1;var e=Object.prototype.hasOwnProperty;return QW=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},QW}(),h=function(){if(lV)return sV;lV=1;var e=hN(),t=function(){if(nV)return tV;nV=1;var e=hN();return tV=function(t,n){var r=n?e(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.byteLength)}}(),n=function(){if(iV)return rV;iV=1;var e=/\w*$/;return rV=function(t){var n=new t.constructor(t.source,e.exec(t));return n.lastIndex=t.lastIndex,n}}(),r=function(){if(aV)return oV;aV=1;var e=mE(),t=e?e.prototype:void 0,n=t?t.valueOf:void 0;return oV=function(e){return n?Object(n.call(e)):{}},oV}(),i=pN();return sV=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)}},sV}(),p=yN(),g=xN(),m=IN(),v=function(){if(fV)return dV;fV=1;var e=function(){if(uV)return cV;uV=1;var e=lF(),t=_N();return cV=function(n){return t(n)&&"[object Map]"==e(n)}}(),t=jN(),n=PO(),r=n&&n.isMap,i=r?t(r):e;return dV=i}(),b=bE(),y=function(){if(mV)return gV;mV=1;var e=function(){if(pV)return hV;pV=1;var e=lF(),t=_N();return hV=function(n){return t(n)&&"[object Set]"==e(n)}}(),t=jN(),n=PO(),r=n&&n.isSet,i=r?t(r):e;return gV=i}(),_=oF(),w=$O(),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,vV=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 j=d(A),B=j==k||"[object GeneratorFunction]"==j;if(m(A))return o(A,D);if(j==C||j==x||B&&!N){if(R=P||B?{}:p(A),!D)return P?l(A,i(R,A)):s(A,r(R,A))}else{if(!S[j])return N?A:{};R=h(A,j,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},vV}function OV(){return _V||(_V=1,yV=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}),yV}var RV,DV,PV,IV,zV,jV,BV,FV,HV,$V,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=function(){if(MV)return AV;MV=1;var e=xR(),t=NV(),n=function(){if(CV)return kV;CV=1;var e=CR(),t=CI(),n=function(){if(xV)return wV;xV=1;var e=TR(),t=OV();return wV=function(n,r){return r.length<2?n:e(n,t(r,0,-1))},wV}(),r=SR(),i=Object.prototype.hasOwnProperty;return kV=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))]},kV}(),r=CR(),i=BO(),o=function(){if(TV)return SV;TV=1;var e=zN();return SV=function(t){return e(t)?void 0:t}}(),a=aB(),s=EV(),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 AV=l}(),mG=Ub(gG),vG=Ub(function(){if(DV)return RV;DV=1;var e=NV();return RV=function(t){return e(t,5)}}());function bG(){if(JV)return KV;JV=1;var e=(IV||(IV=1,PV=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}),PV),t=function(){if($V)return HV;$V=1;var e=function(){if(FV)return BV;FV=1;var e=(jV||(jV=1,zV=function(e){return function(t){return null==e?void 0:e[t]}}),zV),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 BV=t}(),t=kR(),n=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,r=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");return HV=function(i){return(i=t(i))&&i.replace(n,e).replace(r,"")}}(),n=function(){if(ZV)return XV;ZV=1;var e=function(){if(qV)return UV;qV=1;var e=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;return UV=function(t){return t.match(e)||[]}}(),t=function(){if(VV)return WV;VV=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 WV=function(t){return e.test(t)}}(),n=kR(),r=function(){if(YV)return GV;YV=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 GV=function(e){return e.match(w)||[]}}();return XV=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 KV=function(i){return function(o){return e(n(t(o).replace(r,"")),i,"")}}}function yG(){if(nG)return tG;nG=1;var e=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");return tG=function(t){return e.test(t)}}function _G(){if(uG)return cG;uG=1;var e=function(){if(eG)return QV;eG=1;var e=OV();return QV=function(t,n,r){var i=t.length;return r=void 0===r?i:r,!n&&r>=i?t:e(t,n,r)},QV}(),t=yG(),n=function(){if(lG)return sG;lG=1;var e=iG?rG:(iG=1,rG=function(e){return e.split("")}),t=yG(),n=function(){if(aG)return oG;aG=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 oG=function(e){return e.match(d)||[]}}();return sG=function(r){return t(r)?n(r):e(r)}}(),r=kR();return cG=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 wG=function(){if(pG)return hG;pG=1;var e=bG(),t=function(){if(fG)return dG;fG=1;var e=_G()("toUpperCase");return dG=e}(),n=e((function(e,n,r){return e+(r?" ":"")+t(n)}));return hG=n}(),xG=Ub(wG);function kG(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 CG(e,t){e instanceof Map?(e=[void 0,e],void 0===t&&(t=TG)):void 0===t&&(t=SG);for(var n,r,i,o,a,s=new LG(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 LG(i[o])),r.parent=n,r.depth=n.depth+1;return s.eachBefore(MG)}function SG(e){return e.children}function TG(e){return Array.isArray(e)?e[1]:null}function AG(e){void 0!==e.data.value&&(e.value=e.data.value),e.data=e.data.data}function MG(e){var t=0;do{e.height=t}while((e=e.parent)&&e.height<++t)}function LG(e){this.data=e,this.depth=this.height=0,this.parent=null}function EG(){return 0}function NG(e){return function(){return e}}function OG(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 RG(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 DG(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}LG.prototype=CG.prototype={constructor:LG,count:function(){return this.eachAfter(kG)},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 CG(this).eachBefore(AG)},[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 PG=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?RG(a,n,r,i,x?r+=c*u/x:o):DG(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 IG(){return IG=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},IG.apply(null,arguments)}function zG(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 jG=function(e,t){return aM([e,t],(function(e,t){return"translate("+e+","+t+")"}))},BG=function(e,t){return aM([e,t],(function(e,t){return"translate("+e+"px, "+t+"px)"}))},FG=function(e,t,n){return aM([e,t,n],(function(e,t,n){return"translate("+e+","+t+") rotate("+n+")"}))},HG=function(e,t,n){return aM([e,t,n],(function(e,t,n){return"translate("+e+"px,"+t+"px) rotate("+n+"deg)"}))},$G=function(e,t,n){return aM([e,t,n],(function(e,t,n){return"translate("+(e-(0===n?0:5))+"px,"+(t-(0===n?5:0))+"px) rotate("+n+"deg)"}))},UG=$a((function(e){var t=e.node,n=e.animatedProps,r=e.borderWidth,i=e.enableLabel,o=e.enableParentLabel,a=e.labelSkipSize,s=WR(),l=i&&t.isLeaf&&(0===a||Math.min(t.width,t.height)>a),c=o&&t.isParent;return jc(uE.g,{transform:jG(n.x,n.y),children:[jc(uE.rect,{"data-testid":"node."+t.id,width:aM(n.width,(function(e){return Math.max(e,0)})),height:aM(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&&jc(_H,{"data-testid":"label."+t.id,textAnchor:"middle",dominantBaseline:"central",style:IG({},s.labels.text,{fill:t.labelTextColor,pointerEvents:"none"}),fillOpacity:n.labelOpacity,transform:FG(n.labelX,n.labelY,n.labelRotation),children:t.label}),c&&jc(_H,{"data-testid":"parentLabel."+t.id,dominantBaseline:"central",style:IG({},s.labels.text,{fill:t.parentLabelTextColor,pointerEvents:"none"}),fillOpacity:n.parentLabelOpacity,transform:FG(n.parentLabelX,n.parentLabelY,n.parentLabelRotation),children:t.parentLabel})]})})),qG=$a((function(e){var t=e.node;return jc(JR,{id:t.id,value:t.formattedValue,enableChip:!0,color:t.color})})),WG=$a((function(e){var t=e.node,n=e.animatedProps,r=e.borderWidth,i=e.enableLabel,o=e.enableParentLabel,a=e.labelSkipSize,s=WR(),l=i&&t.isLeaf&&(0===a||Math.min(t.width,t.height)>a),c=o&&t.isParent;return jc(uE.div,{"data-testid":"node."+t.id,id:t.path.replace(/[^\w]/gi,"-"),style:{boxSizing:"border-box",position:"absolute",top:0,left:0,transform:BG(n.x,n.y),width:n.width,height:n.height,borderWidth:r,borderStyle:"solid",borderColor:t.borderColor,overflow:"hidden"},children:[jc(uE.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&&jc(uE.span,{"data-testid":"label."+t.id,style:IG({},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:HG(n.labelX,n.labelY,n.labelRotation),opacity:n.labelOpacity,pointerEvents:"none"}),children:t.label}),c&&jc(uE.span,{"data-testid":"parentLabel."+t.id,style:IG({},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:$G(n.parentLabelX,n.parentLabelY,n.parentLabelRotation),opacity:n.parentLabelOpacity,pointerEvents:"none"}),children:t.parentLabel})]})})),VG={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:qG,role:"img",animate:!0,motionConfig:"gentle"},GG=IG({},VG,{nodeComponent:UG,defs:[],fill:[]}),YG=IG({},VG,{nodeComponent:WG}),XG=IG({},VG,{pixelRatio:"undefined"!=typeof window&&window.devicePixelRatio||1}),ZG={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:RG,slice:DG,sliceDice:function(e,t,n,r,i){(1&e.depth?DG:RG)(e,t,n,r,i)},squarify:PG},KG=function(e){var t=e.data,n=e.width,r=e.height,i=e.identity,o=void 0===i?VG.identity:i,a=e.value,s=void 0===a?VG.value:a,l=e.valueFormat,c=e.leavesOnly,u=void 0===c?VG.leavesOnly:c,d=e.tile,f=void 0===d?VG.tile:d,h=e.innerPadding,p=void 0===h?VG.innerPadding:h,g=e.outerPadding,m=void 0===g?VG.outerPadding:g,v=e.label,b=void 0===v?VG.label:v,y=e.orientLabel,_=void 0===y?VG.orientLabel:y,w=e.enableParentLabel,x=void 0===w?VG.enableParentLabel:w,k=e.parentLabel,C=void 0===k?VG.parentLabel:k,S=e.parentLabelSize,T=void 0===S?VG.parentLabelSize:S,A=e.parentLabelPosition,M=void 0===A?VG.parentLabelPosition:A,L=e.parentLabelPadding,E=void 0===L?VG.parentLabelPadding:L,N=e.colors,O=void 0===N?VG.colors:N,R=e.colorBy,D=void 0===R?VG.colorBy:R,P=e.nodeOpacity,I=void 0===P?VG.nodeOpacity:P,z=e.borderColor,j=void 0===z?VG.borderColor:z,B=e.labelTextColor,F=void 0===B?VG.labelTextColor:B,H=e.parentLabelTextColor,$=void 0===H?VG.parentLabelTextColor:H,U=JF(o),q=JF(s),W=ZF(l),V=JF(b),G=JF(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 sa((function(){var e=function(){var e=PG,t=!1,n=1,r=1,i=[0],o=EG,a=EG,s=EG,l=EG,c=EG;function u(e){return e.x0=e.y0=0,e.x1=n,e.y1=r,e.eachBefore(d),i=[0],t&&e.eachBefore(OG),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:NG(+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:NG(+e),u):a},u.paddingRight=function(e){return arguments.length?(s="function"==typeof e?e:NG(+e),u):s},u.paddingBottom=function(e){return arguments.length?(l="function"==typeof e?e:NG(+e),u):l},u.paddingLeft=function(e){return arguments.length?(c="function"==typeof e?e:NG(+e),u):c},u}().size([t,n]).tile(ZG[r]).round(!0).paddingInner(i).paddingOuter(o);if(a&&!c){var u=s+2*o;e["padding"+xG(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 sa((function(){return CG(t).sum(n)}),[t,n])}({root:t,getValue:q}),Z=sa((function(){var e=vG(X);return Y(e),u?e.leaves():e.descendants()}),[X,Y,u]),K=sa((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:mG(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=WR(),Q=JU(O,D),ee=XU(j,J),te=XU(F,J),ne=XU($,J),re=sa((function(){return K.map((function(e){var t=IG({},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}},JG=function(e){var t=e.nodes;return sa((function(){return{nodes:t}}),[t])},QG=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}},eY=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}},tY=$a((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=lD(),c=l.showTooltipFromEvent,u=l.hideTooltip,d=la((function(e,t){c(go(s,{node:e}),t,"left")}),[c,s]),f=la((function(e,t){d(e,t),null==r||r(e,t)}),[r,d]),h=la((function(e,t){d(e,t),null==i||i(e,t)}),[i,d]),p=la((function(e,t){u(),null==o||o(e,t)}),[o,u]),g=la((function(e,t){null==a||a(e,t)}),[a]);return sa((function(){return e.map((function(e){return n?IG({},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=pF(),c=l.animate,u=l.config,d=eM(s,{keys:function(e){return e.path},initial:QG,from:eY,enter:QG,update:QG,leave:eY,config:u,immediate:!c});return jc(vo,{children:d((function(e,t){return go(n,{key:t.path,node:t,animatedProps:e,borderWidth:r,enableLabel:i,labelSkipSize:o,enableParentLabel:a})}))})})),nY=["isInteractive","animate","motionConfig","theme","renderWrapper"],rY=function(e){var t=e.data,n=e.identity,r=void 0===n?GG.identity:n,i=e.value,o=void 0===i?GG.value:i,a=e.valueFormat,s=e.tile,l=void 0===s?GG.tile:s,c=e.nodeComponent,u=void 0===c?GG.nodeComponent:c,d=e.innerPadding,f=void 0===d?GG.innerPadding:d,h=e.outerPadding,p=void 0===h?GG.outerPadding:h,g=e.leavesOnly,m=void 0===g?GG.leavesOnly:g,v=e.width,b=e.height,y=e.margin,_=e.layers,w=void 0===_?GG.layers:_,x=e.colors,k=void 0===x?GG.colors:x,C=e.colorBy,S=void 0===C?GG.colorBy:C,T=e.nodeOpacity,A=void 0===T?GG.nodeOpacity:T,M=e.borderWidth,L=void 0===M?GG.borderWidth:M,E=e.borderColor,N=void 0===E?GG.borderColor:E,O=e.defs,R=void 0===O?GG.defs:O,D=e.fill,P=void 0===D?GG.fill:D,I=e.enableLabel,z=void 0===I?GG.enableLabel:I,j=e.label,B=void 0===j?GG.label:j,F=e.labelTextColor,H=void 0===F?GG.labelTextColor:F,$=e.orientLabel,U=void 0===$?GG.orientLabel:$,q=e.labelSkipSize,W=void 0===q?GG.labelSkipSize:q,V=e.enableParentLabel,G=void 0===V?GG.enableParentLabel:V,Y=e.parentLabel,X=void 0===Y?GG.parentLabel:Y,Z=e.parentLabelSize,K=void 0===Z?GG.parentLabelSize:Z,J=e.parentLabelPosition,Q=void 0===J?GG.parentLabelPosition:J,ee=e.parentLabelPadding,te=void 0===ee?GG.parentLabelPadding:ee,ne=e.parentLabelTextColor,re=void 0===ne?GG.parentLabelTextColor:ne,ie=e.isInteractive,oe=void 0===ie?GG.isInteractive:ie,ae=e.onMouseEnter,se=e.onMouseMove,le=e.onMouseLeave,ce=e.onClick,ue=e.tooltip,de=void 0===ue?GG.tooltip:ue,fe=e.role,he=e.ariaLabel,pe=e.ariaLabelledBy,ge=e.ariaDescribedBy,me=e.forwardedRef,ve=GF(v,b,y),be=ve.margin,ye=ve.innerWidth,_e=ve.innerHeight,we=ve.outerWidth,xe=ve.outerHeight,ke=KG({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:B,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=jc(tY,{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=JG({nodes:ke}),Te=iH(R,ke,P);return jc(zF,{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?jc(vo,{children:go(e,Se)},t):null!=(n=null==Ce?void 0:Ce[e])?n:null}))})},iY=Wa((function(e,t){var n=e.isInteractive,r=void 0===n?GG.isInteractive:n,i=e.animate,o=void 0===i?GG.animate:i,a=e.motionConfig,s=void 0===a?GG.motionConfig:a,l=e.theme,c=e.renderWrapper,u=zG(e,nY);return jc(vF,{animate:o,isInteractive:r,motionConfig:s,renderWrapper:c,theme:l,children:jc(rY,IG({},u,{isInteractive:r,forwardedRef:t}))})})),oY=["defaultWidth","defaultHeight","onResize","debounceResize"],aY=Wa((function(e,t){var n=e.defaultWidth,r=e.defaultHeight,i=e.onResize,o=e.debounceResize,a=zG(e,oY);return jc(_F,{defaultWidth:n,defaultHeight:r,onResize:i,debounceResize:o,children:function(e){var n=e.width,r=e.height;return jc(iY,IG({},a,{width:n,height:r,ref:t}))}})})),sY=["isInteractive","animate","motionConfig","theme","renderWrapper"],lY=function(e){var t=e.data,n=e.identity,r=void 0===n?YG.identity:n,i=e.value,o=void 0===i?YG.value:i,a=e.tile,s=void 0===a?YG.tile:a,l=e.nodeComponent,c=void 0===l?YG.nodeComponent:l,u=e.valueFormat,d=e.innerPadding,f=void 0===d?YG.innerPadding:d,h=e.outerPadding,p=void 0===h?YG.outerPadding:h,g=e.leavesOnly,m=void 0===g?YG.leavesOnly:g,v=e.width,b=e.height,y=e.margin,_=e.layers,w=void 0===_?GG.layers:_,x=e.colors,k=void 0===x?YG.colors:x,C=e.colorBy,S=void 0===C?YG.colorBy:C,T=e.nodeOpacity,A=void 0===T?YG.nodeOpacity:T,M=e.borderWidth,L=void 0===M?YG.borderWidth:M,E=e.borderColor,N=void 0===E?YG.borderColor:E,O=e.enableLabel,R=void 0===O?YG.enableLabel:O,D=e.label,P=void 0===D?YG.label:D,I=e.labelTextColor,z=void 0===I?YG.labelTextColor:I,j=e.orientLabel,B=void 0===j?YG.orientLabel:j,F=e.labelSkipSize,H=void 0===F?YG.labelSkipSize:F,$=e.enableParentLabel,U=void 0===$?YG.enableParentLabel:$,q=e.parentLabel,W=void 0===q?YG.parentLabel:q,V=e.parentLabelSize,G=void 0===V?YG.parentLabelSize:V,Y=e.parentLabelPosition,X=void 0===Y?YG.parentLabelPosition:Y,Z=e.parentLabelPadding,K=void 0===Z?YG.parentLabelPadding:Z,J=e.parentLabelTextColor,Q=void 0===J?YG.parentLabelTextColor:J,ee=e.isInteractive,te=void 0===ee?YG.isInteractive:ee,ne=e.onMouseEnter,re=e.onMouseMove,ie=e.onMouseLeave,oe=e.onClick,ae=e.tooltip,se=void 0===ae?YG.tooltip:ae,le=e.role,ce=e.ariaLabel,ue=e.ariaLabelledBy,de=e.ariaDescribedBy,fe=e.forwardedRef,he=GF(v,b,y),pe=he.margin,ge=he.innerWidth,me=he.innerHeight,ve=he.outerWidth,be=he.outerHeight,ye=KG({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:B,enableParentLabel:U,parentLabel:W,parentLabelSize:G,parentLabelPosition:X,parentLabelPadding:K,parentLabelTextColor:Q}).nodes,_e={nodes:null};w.includes("nodes")&&(_e.nodes=jc(tY,{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=JG({nodes:ye});return jc("div",{role:le,"aria-label":ce,"aria-labelledby":ue,"aria-describedby":de,style:{position:"relative",width:ve,height:be},ref:fe,children:jc("div",{style:{position:"absolute",top:pe.top,left:pe.left},children:w.map((function(e,t){var n;return"function"==typeof e?jc(vo,{children:go(e,we)},t):null!=(n=null==_e?void 0:_e[e])?n:null}))})})},cY=Wa((function(e,t){var n=e.isInteractive,r=void 0===n?YG.isInteractive:n,i=e.animate,o=void 0===i?YG.animate:i,a=e.motionConfig,s=void 0===a?YG.motionConfig:a,l=e.theme,c=e.renderWrapper,u=zG(e,sY);return jc(vF,{animate:o,isInteractive:r,motionConfig:s,renderWrapper:c,theme:l,children:jc(lY,IG({},u,{isInteractive:r,forwardedRef:t}))})})),uY=["defaultWidth","defaultHeight","onResize","debounceResize"];Wa((function(e,t){var n=e.defaultWidth,r=e.defaultHeight,i=e.onResize,o=e.debounceResize,a=zG(e,uY);return jc(_F,{defaultWidth:n,defaultHeight:r,onResize:i,debounceResize:o,children:function(e){var n=e.width,r=e.height;return jc(cY,IG({},a,{width:n,height:r,ref:t}))}})}));var dY=["theme","isInteractive","animate","motionConfig","renderWrapper"],fY=function(e,t,n,r){return e.find((function(e){return eH(e.x+t.left,e.y+t.top,e.width,e.height,n,r)}))},hY=function(e){var t=e.data,n=e.identity,r=void 0===n?XG.identity:n,i=e.value,o=void 0===i?XG.identity:i,a=e.tile,s=void 0===a?XG.tile:a,l=e.valueFormat,c=e.innerPadding,u=void 0===c?XG.innerPadding:c,d=e.outerPadding,f=void 0===d?XG.outerPadding:d,h=e.leavesOnly,p=void 0===h?XG.leavesOnly:h,g=e.width,m=e.height,v=e.margin,b=e.colors,y=void 0===b?XG.colors:b,_=e.colorBy,w=void 0===_?XG.colorBy:_,x=e.nodeOpacity,k=void 0===x?XG.nodeOpacity:x,C=e.borderWidth,S=void 0===C?XG.borderWidth:C,T=e.borderColor,A=void 0===T?XG.borderColor:T,M=e.enableLabel,L=void 0===M?XG.enableLabel:M,E=e.label,N=void 0===E?XG.label:E,O=e.labelTextColor,R=void 0===O?XG.labelTextColor:O,D=e.orientLabel,P=void 0===D?XG.orientLabel:D,I=e.labelSkipSize,z=void 0===I?XG.labelSkipSize:I,j=e.isInteractive,B=void 0===j?XG.isInteractive:j,F=e.onMouseMove,H=e.onClick,$=e.tooltip,U=void 0===$?XG.tooltip:$,q=e.pixelRatio,W=void 0===q?XG.pixelRatio:q,V=e.role,G=e.ariaLabel,Y=e.ariaLabelledBy,X=e.ariaDescribedBy,Z=e.forwardedRef,K=aa(null),J=GF(g,m,v),Q=J.margin,ee=J.innerWidth,te=J.innerHeight,ne=J.outerWidth,re=J.outerHeight,ie=KG({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=WR();ia((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",aH(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(AF(n?-90:0)),sH(e,IG({},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=lD(),se=ae.showTooltipFromEvent,le=ae.hideTooltip,ce=la((function(e){if(null!==K.current){var t=tH(K.current,e),n=t[0],r=t[1],i=fY(ie,Q,n,r);void 0!==i?(se(go(U,{node:i}),e,"left"),null==F||F(i,e)):le()}}),[K,ie,Q,se,le,U,F]),ue=la((function(){le()}),[le]),de=la((function(e){if(null!==K.current){var t=tH(K.current,e),n=t[0],r=t[1],i=fY(ie,Q,n,r);void 0!==i&&(null==H||H(i,e))}}),[K,ie,Q,H]);return jc("canvas",{ref:oH(K,Z),width:ne*W,height:re*W,style:{width:ne,height:re},onMouseEnter:B?ce:void 0,onMouseMove:B?ce:void 0,onMouseLeave:B?ue:void 0,onClick:B?de:void 0,role:V,"aria-label":G,"aria-labelledby":Y,"aria-describedby":X})},pY=Wa((function(e,t){var n=e.theme,r=e.isInteractive,i=void 0===r?XG.isInteractive:r,o=e.animate,a=void 0===o?XG.animate:o,s=e.motionConfig,l=void 0===s?XG.motionConfig:s,c=e.renderWrapper,u=zG(e,dY);return jc(vF,{isInteractive:i,animate:a,motionConfig:l,theme:n,renderWrapper:c,children:jc(hY,IG({},u,{isInteractive:i,forwardedRef:t}))})})),gY=["defaultWidth","defaultHeight","onResize","debounceResize"];Wa((function(e,t){var n=e.defaultWidth,r=e.defaultHeight,i=e.onResize,o=e.debounceResize,a=zG(e,gY);return jc(_F,{defaultWidth:n,defaultHeight:r,onResize:i,debounceResize:o,children:function(e){var n=e.width,r=e.height;return jc(pY,IG({},a,{width:n,height:r,ref:t}))}})}));const mY={mass:1,tension:500,friction:40,clamp:!1,precision:.01,velocity:0},vY=window.matchMedia("(prefers-reduced-motion: reduce)").matches,bY="var(--on-text-secondary)",yY="var(--on-text-primary)",_Y={background:"var(--bg-base-primary)",axis:{ticks:{text:{fill:bY,fontSize:12}}},grid:{line:{stroke:"var(--on-border-muted)",strokeDasharray:"4",strokeLinecap:"round"}},dots:{text:{fill:bY,fontSize:12}},labels:{text:{fill:yY,fontSize:12}},text:{fill:yY,fontSize:12},markers:{lineColor:"var(--on-border-primary)",lineStrokeWidth:2,text:{fill:yY,fontSize:12,fontWeight:600}},legends:{text:{fill:yY,fontSize:12}},tooltip:{container:{background:"var(--bg-base-modal)",color:"var(--on-text-primary)"}}},wY={nodeOpacity:1,borderWidth:1,labelSkipSize:12,parentLabelSize:14,parentLabelPosition:"top",parentLabelPadding:6,enableParentLabel:!0,animate:!0,innerPadding:4,outerPadding:4};var xY=/^--/;function kY(e,t){return null==t||"boolean"==typeof t||""===t?"":"number"!=typeof t||0===t||xY.test(e)||SY.hasOwnProperty(e)&&SY[e]?(""+t).trim():t+"px"}var CY={},SY={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},TY=["Webkit","Ms","Moz","O"];SY=Object.keys(SY).reduce(((e,t)=>(TY.forEach((n=>e[((e,t)=>e+t.charAt(0).toUpperCase()+t.substring(1))(n,t)]=e[t])),e)),SY);var AY=/^(matrix|translate|scale|rotate|skew)/,MY=/^(translate)/,LY=/^(rotate|skew)/,EY=(e,t)=>dS.num(e)&&0!==e?e+t:e,NY=(e,t)=>dS.arr(e)?e.every((e=>NY(e,t))):dS.num(e)?e===t:parseFloat(e)===t,OY=class extends BT{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=>EY(e,"px"))).join(",")})`,NY(e,0)]))),pS(r,((e,t)=>{if("transform"===t)i.push([e||""]),o.push((e=>[e,""===e]));else if(AY.test(t)){if(delete r[t],dS.und(e))return;const n=MY.test(t)?"px":LY.test(t)?"deg":"";i.push(gS(e)),o.push("rotate3d"===t?([e,t,r,i])=>[`rotate3d(${e},${t},${r},${EY(i,n)})`,NY(i,0)]:e=>[`${t}(${e.map((e=>EY(e,n))).join(",")})`,NY(e,t.startsWith("scale")?1:0)])}})),i.length&&(r.transform=new RY(i,o)),super(r)}},RY=class extends aT{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 hS(this.inputs,((n,r)=>{const i=rT(n[0]),[o,a]=this.transforms[r](dS.arr(i)?i:n.map(rT));e+=" "+o,t=t&&a})),t?"none":e}observerAdded(e){1==e&&hS(this.inputs,(e=>hS(e,(e=>nT(e)&&lT(e,this)))))}observerRemoved(e){0==e&&hS(this.inputs,(e=>hS(e,(e=>nT(e)&&cT(e,this)))))}eventObserved(e){"change"==e.type&&(this._value=null),oT(this,e)}};cS.assign({batchedUpdates:ys,createStringInterpolator:_T,colors:DS});var DY=VT(["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:CY[t]||(CY[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=kY(t,i[t]);xY.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 OY(e),getComponentProps:({scrollTop:e,scrollLeft:t,...n})=>n}),PY=DY.animated;const IY=({node:e,animatedProps:t,borderWidth:n,enableLabel:r,enableParentLabel:i,labelSkipSize:o})=>{const a=WR(),s=r&&e.isLeaf&&(0===o||Math.min(e.width,e.height)>o),l=i&&e.isParent;return jc(PY.g,{transform:aM([t.x,t.y],((e,t)=>`translate(${e},${t})`)),children:[jc(PY.rect,{"data-testid":`node.${e.id}`,width:aM(t.width,(e=>Math.max(e,0))),height:aM(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&&jc(_H,{"data-testid":`label.${e.id}`,textAnchor:"middle",dominantBaseline:"central",style:{...a.labels.text,fill:e.labelTextColor,pointerEvents:"none"},fillOpacity:t.labelOpacity,transform:aM([t.labelX,t.labelY,t.labelRotation],((e,t,n)=>`translate(${e},${t}) rotate(${n})`)),children:e.label}),l&&jc(_H,{"data-testid":`parentLabel.${e.id}`,dominantBaseline:"central",style:{...a.labels.text,fill:e.parentLabelTextColor,pointerEvents:"none"},fillOpacity:t.parentLabelOpacity,transform:aM([t.parentLabelX,t.parentLabelY,t.parentLabelRotation],((e,t,n)=>`translate(${e},${t}) rotate(${n})`)),children:e.parentLabel})]})};var zY={treeMapLegend:"styles_treeMapLegend__dV-Ny",treeMapLegend__gradient:"styles_treeMapLegend__gradient__v853j"};const jY=({minValue:e,maxValue:t,colorFn:n,formatValue:r=e=>e.toFixed(2),domain:i})=>{const o=sa((()=>i&&i.length>0?Math.min(...i):e??0),[i,e]),a=sa((()=>i&&i.length>0?Math.max(...i):t??1),[i,t]),s=sa((()=>{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=sa((()=>r(o)),[o,r]),c=sa((()=>r(a)),[a,r]);return jc("div",{className:zY.treeMapLegend,children:[jc($c,{size:"s",type:"ui",className:zY.treeMapLegend__label,children:c}),jc("div",{className:zY.treeMapLegend__gradient,style:{"--gradient-stops":s}}),jc($c,{size:"s",type:"ui",className:zY.treeMapLegend__label,children:l})]})};const BY=e=>{const{color:t,border:n}=e;return jc("div",{className:"styles_legendIndicatorContainer__sdAMj",children:jc("div",{className:"styles_legendIndicatorContainerBase__OuGDD","data-has-color":!!t||void 0,children:jc("i",{"aria-hidden":!0,className:"styles_legendIndicator__e9eaz",style:{backgroundColor:t,borderColor:n??void 0}})})})};const FY=e=>{const{children:t,labelColor:n,label:r}=e;return jc("div",{"data-testid":"chart-tooltip",className:"styles_tooltip__ErmeC","data-tooltip-type":"chart",children:jc("div",{className:"styles_container__mEUzr",children:[!!r&&jc($c,{className:"styles_label__oqfkW",type:"ui",size:"s",bold:!0,tag:"div",children:[n&&jc(BY,{color:n}),jc($c,{tag:"div",bold:!0,children:r})]}),t]})})};const HY=e=>"number"==typeof e&&!Number.isNaN(e)||"string"==typeof e&&!!e,$Y=(e,t="en-US")=>HY(e)?"number"==typeof e?new Intl.NumberFormat(t,{useGrouping:!0}).format(e):String(e):"",UY=({color:e})=>jc("div",{className:"styles_point__eFnBu",children:jc("svg",{width:"16",height:"8",viewBox:"0 0 16 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[jc("path",{d:"M0 4H16",stroke:e,"stroke-width":"2"}),jc("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"})]})}),qY=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:jc(u,{href:l,className:ks("styles_legendItem__NCAPr",l&&"styles_legendItemLink__Yo6du"),onClick:"function"==typeof t?()=>{t(n)}:void 0,children:[jc("div",{className:"styles_legendName__WZbe8",children:["default"===d&&jc(BY,{color:o,border:a}),"point"===d&&jc(UY,{color:o}),jc($c,{type:"ui",size:"s",className:"styles_legendLabel__-HDGz",children:s})]}),HY(c)&&jc(vo,{children:[jc("div",{className:ks("menu"===r?"styles_menuSpace__7N7yT":"styles_space__pQ9pa")}),jc($c,{type:"ui",size:"s",className:"styles_legendValue__vV5dD",children:c})]})]})},WY=({node:e,rows:t})=>{const{id:n,formattedValue:r,color:i,parentLabel:o}=e;return jc(FY,{label:`${o||n}: ${r}`,labelColor:i,children:t&&t.map(((e,t)=>jc(qY,{mode:"default",legend:{label:e,type:"none",id:t.toString(),color:i},hideOnEmptyValue:!1},t.toString())))})};const VY=({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=sa((()=>0===(o.children??[]).length),[o]),v=la((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=la((({node:e})=>jc(WY,{node:e,rows:h&&h(e)})),[h]);return m?jc(RW,{label:r,width:e,height:t,ariaLabel:i}):jc("div",{role:"img","aria-label":n,tabIndex:0,style:{width:e,height:t},className:"styles_treeMapChart__G6ayQ",children:[jc(aY,{data:o,parentLabel:v,tooltip:b,...wY,...g,theme:_Y,motionConfig:mY,animate:!vY,colors:e=>u(e.data.colorValue??0),labelTextColor:p,parentLabelTextColor:p,borderColor:"var(--bg-base-primary)",borderWidth:1,nodeComponent:IY}),a&&jc(jY,{minValue:s,maxValue:l,colorFn:u,formatValue:c,domain:d})]})},GY=Ho("light"),YY=()=>ca(GY)??"light",XY=e=>{const{children:t,theme:n}=e;return jc(GY.Provider,{value:n,children:t})},ZY=({title:e,translations:t,chartType:n,...r})=>{const i=t["no-results"],o=YY(),a=((e="light")=>{const t=sa((()=>IW([0,1],["var(--bg-support-capella)","var(--bg-support-sirius)","var(--bg-support-castor)"])),[e]);return la((e=>t(e)),[t])})(o),s=((e="light")=>{const t=sa((()=>IW([0,1],["var(--bg-support-capella)","var(--bg-support-castor)"])),[e]);return la((e=>t(e)),[t])})(o),l=((e="light")=>{const t=sa((()=>IW([0,1],["var(--constant-on-text-primary)","var(--on-text-primary)","var(--constant-on-text-primary)"])),[e]);return la((e=>t(e)),[t])})(o);return jc(Ex,{title:e,children:jc(VY,{emptyLabel:i,emptyAriaLabel:i,...r,colors:n===Tf.CoverageDiff?a:s,showLegend:!1,labelColor:n===Tf.CoverageDiff?e=>l(e.data.colorValue??0):()=>"var(--constant-on-text-primary)"})})};var KY,JY,QY,eX,tX,nX,rX=function(){if(eX)return QY;eX=1;var e=nF(),t=function(){if(JY)return KY;JY=1;var e=g$();return KY=function(t,n){var r=[];return e(t,(function(e,t,i){n(e,t,i)&&r.push(e)})),r},KY}(),n=YH(),r=xN();return QY=function(i,o){return(r(i)?e:t)(i,n(o,3))}}(),iX=Ub(rX),oX=Ub(function(){if(nX)return tX;nX=1;var e=vE(),t=_N();return tX=function(n){return"number"==typeof n||t(n)&&"[object Number]"==e(n)}}());function aX(){return aX=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},aX.apply(null,arguments)}var sX=function(e){return"circle"===e.type},lX=function(e){return"dot"===e.type},cX=function(e){return"rect"===e.type},uX=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(oX(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(oX(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}(MF(i))}(r,i,t,n);if(sX(e)){var p=LF(AF(h),e.size/2);d+=p.x,f+=p.y}if(cX(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}},dX=function(e){var t=e.data,n=e.annotations,r=e.getPosition,i=e.getDimensions;return sa((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,iX(t,n.match).map((function(e){var t=r(e),a=i(e);return(sX(n)||cX(n))&&(a.size=a.size+2*o,a.width=a.width+2*o,a.height=a.height+2*o),aX({},mG(n,["match","offset"]),t,a,{size:n.size||a.size,datum:e})})))}),[])}({data:t,annotations:n,getPosition:r,getDimensions:i})}),[t,n,r,i])},fX=function(e){var t=e.annotations;return sa((function(){return t.map((function(e){return aX({},e,{computed:uX(aX({},e))})}))}),[t])},hX=function(e){var t=e.datum,n=e.x,r=e.y,i=e.note,o=WR(),a=pF(),s=a.animate,l=QA({x:n,y:r,config:a.config,immediate:!s});return"function"==typeof i?go(i,{x:n,y:r,datum:t}):jc(vo,{children:[o.annotations.text.outlineWidth>0&&jc(uE.text,{x:l.x,y:l.y,style:aX({},o.annotations.text,{strokeLinejoin:"round",strokeWidth:2*o.annotations.text.outlineWidth,stroke:o.annotations.text.outlineColor}),children:i}),jc(uE.text,{x:l.x,y:l.y,style:mG(o.annotations.text,["outlineWidth","outlineColor"]),children:i})]})},pX=function(e){var t=e.points,n=e.isOutline,r=void 0!==n&&n,i=WR(),o=sa((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=$F(o);if(r&&i.annotations.link.outlineWidth<=0)return null;var s=aX({},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),jc(uE.path,{fill:"none",d:a,style:s})},gX=function(e){var t=e.x,n=e.y,r=e.size,i=WR(),o=pF(),a=o.animate,s=QA({x:t,y:n,radius:r/2,config:o.config,immediate:!a});return jc(vo,{children:[i.annotations.outline.outlineWidth>0&&jc(uE.circle,{cx:s.x,cy:s.y,r:s.radius,style:aX({},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})}),jc(uE.circle,{cx:s.x,cy:s.y,r:s.radius,style:i.annotations.outline})]})},mX=function(e){var t=e.x,n=e.y,r=e.size,i=void 0===r?4:r,o=WR(),a=pF(),s=a.animate,l=QA({x:t,y:n,radius:i/2,config:a.config,immediate:!s});return jc(vo,{children:[o.annotations.outline.outlineWidth>0&&jc(uE.circle,{cx:l.x,cy:l.y,r:l.radius,style:aX({},o.annotations.outline,{fill:"none",strokeWidth:2*o.annotations.outline.outlineWidth,stroke:o.annotations.outline.outlineColor,opacity:o.annotations.outline.outlineOpacity})}),jc(uE.circle,{cx:l.x,cy:l.y,r:l.radius,style:o.annotations.symbol})]})},vX=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=WR(),l=pF(),c=l.animate,u=QA({x:t-r/2,y:n-i/2,width:r,height:i,config:l.config,immediate:!c});return jc(vo,{children:[s.annotations.outline.outlineWidth>0&&jc(uE.rect,{x:u.x,y:u.y,rx:a,ry:a,width:u.width,height:u.height,style:aX({},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})}),jc(uE.rect,{x:u.x,y:u.y,rx:a,ry:a,width:u.width,height:u.height,style:s.annotations.outline})]})},bX=function(e){var t=e.datum,n=e.x,r=e.y,i=e.note,o=function(e){return sa((function(){return uX(e)}),[e])}(e);if(!function(e){var t=typeof e;return vs(e)||"string"===t||"function"===t||"object"===t}(i))throw new Error("note should be a valid react element");return jc(vo,{children:[jc(pX,{points:o.points,isOutline:!0}),sX(e)&&jc(gX,{x:n,y:r,size:e.size}),lX(e)&&jc(mX,{x:n,y:r,size:e.size}),cX(e)&&jc(vX,{x:n,y:r,width:e.width,height:e.height,borderRadius:e.borderRadius}),jc(pX,{points:o.points}),jc(hX,{datum:t,x:o.text[0],y:o.text[1],note:i})]})},yX=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)}))},_X=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(),yX(e,t.computed.points),e.stroke(),e.lineCap="butt"),sX(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()),lX(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()),cX(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(),yX(e,t.computed.points),e.stroke(),sX(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()),lX(t)&&(e.fillStyle=r.annotations.symbol.fill,e.beginPath(),e.arc(t.x,t.y,t.size/2,0,2*Math.PI),e.fill()),cX(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 wX(){return wX=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},wX.apply(null,arguments)}function xX(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 kX={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:$a((function(e){var t=e.cell;return null===t.formattedValue?null:jc(JR,{id:t.serieId+" - "+t.data.x,value:t.formattedValue,enableChip:!0,color:t.color})})),animate:!0,motionConfig:"gentle"},CX=wX({},kX,{axisTop:{},axisRight:null,axisBottom:null,axisLeft:{},borderRadius:0,cellComponent:"rect"}),SX=wX({},kX,{axisTop:{},axisRight:null,axisBottom:null,axisLeft:{},renderCell:"rect",pixelRatio:"undefined"!=typeof window&&window.devicePixelRatio||1}),TX=function(e){return{x:e.x,y:e.y}},AX=function(e){return{size:Math.max(e.width,e.height),width:e.width,height:e.height}},MX={cell:function(e,t){return e.id===t.id},row:function(e,t){return e.serieId===t.serieId},column:function(e,t){return e.data.x===t.data.x},rowColumn:function(e,t){return e.serieId===t.serieId||e.data.x===t.data.x}},LX=function(e){var t=e.data,n=e.valueFormat,r=e.width,i=e.height,o=e.xOuterPadding,a=void 0===o?kX.xOuterPadding:o,s=e.xInnerPadding,l=void 0===s?kX.xInnerPadding:s,c=e.yOuterPadding,u=void 0===c?kX.yOuterPadding:c,d=e.yInnerPadding,f=void 0===d?kX.yInnerPadding:d,h=e.forceSquare,p=void 0===h?kX.forceSquare:h,g=e.sizeVariation,m=void 0===g?kX.sizeVariation:g,v=e.colors,b=void 0===v?kX.colors:v,y=e.emptyColor,_=void 0===y?kX.emptyColor:y,w=e.opacity,x=void 0===w?kX.opacity:w,k=e.activeOpacity,C=void 0===k?kX.activeOpacity:k,S=e.inactiveOpacity,T=void 0===S?kX.inactiveOpacity:S,A=e.borderColor,M=void 0===A?kX.borderColor:A,L=e.label,E=void 0===L?kX.label:L,N=e.labelTextColor,O=void 0===N?kX.labelTextColor:N,R=e.hoverTarget,D=void 0===R?kX.hoverTarget:R,P=na(null),I=P[0],z=P[1],j=function(e){var t=e.data,n=e.width,r=e.height,i=e.xInnerPadding,o=e.xOuterPadding,a=e.yInnerPadding,s=e.yOuterPadding,l=e.forceSquare;return sa((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=aU(pp().domain(h).range([0,g]).paddingOuter(o).paddingInner(i)),_=aU(pp().domain(u).range([0,m]).paddingOuter(s).paddingInner(a)),w=y.bandwidth(),x=_.bandwidth(),k=f.map((function(e){return wX({},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}),B=j.width,F=j.height,H=j.offsetX,$=j.offsetY,U=j.cells,q=j.xScale,W=j.yScale,V=j.minValue,G=j.maxValue,Y=sa((function(){if(!I)return[];var e=MX[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=sa((function(){return function(e,t,n){if(!e)return function(){return 1};var r=Hp().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=sa((function(){return"function"==typeof l?null:KU(l,{min:o,max:a})}),[l,o,a]),_=la((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=WR(),x=XU(h,w),k=XU(g,w),C=ZF(m),S=JF(p);return{cells:sa((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=wX({},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:B,height:F,offsetX:H,offsetY:$,cells:X.cells,xScale:q,yScale:W,colorScale:X.colorScale,activeCell:I,setActiveCell:z}},EX=function(e,t){return dX({data:e,annotations:t,getPosition:TX,getDimensions:AX})},NX=$a((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=WR(),d=sa((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 jc(uE.g,wX({"data-testid":"cell."+t.id,style:{cursor:"pointer"},opacity:i.opacity},d,{transform:aM([i.x,i.y,i.scale],(function(e,t,n){return"translate("+e+", "+t+") scale("+n+")"})),children:[jc(uE.rect,{transform:aM([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&&jc(_H,{textAnchor:"middle",dominantBaseline:"central",fill:i.labelTextColor,style:wX({},u.labels.text,{fill:void 0,userSelect:"none"}),children:t.label})]}))})),OX=$a((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=WR(),u=sa((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 jc(uE.g,wX({"data-testid":"cell."+t.id,style:{cursor:"pointer"},opacity:r.opacity},u,{transform:aM([r.x,r.y],(function(e,t){return"translate("+e+", "+t+")"})),children:[jc(uE.circle,{r:aM([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&&jc(_H,{dominantBaseline:"central",textAnchor:"middle",fill:r.labelTextColor,style:wX({},c.labels.text,{fill:void 0}),children:t.label})]}))})),RX=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}},DX=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}},PX=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}},IX=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=pF(),g=p.animate,m=p.config,v=eM(n,{keys:function(e){return e.id},initial:DX,from:RX,enter:DX,update:DX,leave:PX,config:m,immediate:!g}),b=lD(),y=b.showTooltipFromEvent,_=b.hideTooltip,w=sa((function(){if(a)return function(e){return function(t){y(go(f,{cell:e}),t),s(e),null==l||l(e,t)}}}),[a,y,f,s,l]),x=sa((function(){if(a)return function(e){return function(t){y(go(f,{cell:e}),t),null==c||c(e,t)}}}),[a,y,f,c]),k=sa((function(){if(a)return function(e){return function(t){_(),s(null),null==u||u(e,t)}}}),[a,_,s,u]),C=sa((function(){if(a)return function(e){return function(t){null==d||d(e,t)}}}),[a,d]);return t="rect"===r?NX:"circle"===r?OX:r,jc(vo,{children:v((function(e,n){return go(t,{cell:n,borderRadius:i,borderWidth:o,animatedProps:e,enableLabels:h,onMouseEnter:w,onMouseMove:x,onMouseLeave:k,onClick:C})}))})},zX=function(e){var t=e.cells,n=e.annotations;return jc(vo,{children:EX(t,n).map((function(e,t){return jc(bX,wX({},e),t)}))})},jX=["isInteractive","animate","motionConfig","theme","renderWrapper"],BX=function(e){var t=e.data,n=e.layers,r=void 0===n?CX.layers:n,i=e.valueFormat,o=e.width,a=e.height,s=e.margin,l=e.forceSquare,c=void 0===l?CX.forceSquare:l,u=e.xInnerPadding,d=void 0===u?CX.xInnerPadding:u,f=e.xOuterPadding,h=void 0===f?CX.xOuterPadding:f,p=e.yInnerPadding,g=void 0===p?CX.yInnerPadding:p,m=e.yOuterPadding,v=void 0===m?CX.yOuterPadding:m,b=e.sizeVariation,y=void 0===b?CX.sizeVariation:b,_=e.cellComponent,w=void 0===_?CX.cellComponent:_,x=e.opacity,k=void 0===x?CX.opacity:x,C=e.activeOpacity,S=void 0===C?CX.activeOpacity:C,T=e.inactiveOpacity,A=void 0===T?CX.inactiveOpacity:T,M=e.borderRadius,L=void 0===M?CX.borderRadius:M,E=e.borderWidth,N=void 0===E?CX.borderWidth:E,O=e.borderColor,R=void 0===O?CX.borderColor:O,D=e.enableGridX,P=void 0===D?CX.enableGridX:D,I=e.enableGridY,z=void 0===I?CX.enableGridY:I,j=e.axisTop,B=void 0===j?CX.axisTop:j,F=e.axisRight,H=void 0===F?CX.axisRight:F,$=e.axisBottom,U=void 0===$?CX.axisBottom:$,q=e.axisLeft,W=void 0===q?CX.axisLeft:q,V=e.enableLabels,G=void 0===V?CX.enableLabels:V,Y=e.label,X=void 0===Y?CX.label:Y,Z=e.labelTextColor,K=void 0===Z?CX.labelTextColor:Z,J=e.colors,Q=void 0===J?CX.colors:J,ee=e.emptyColor,te=void 0===ee?CX.emptyColor:ee,ne=e.legends,re=void 0===ne?CX.legends:ne,ie=e.annotations,oe=void 0===ie?CX.annotations:ie,ae=e.isInteractive,se=void 0===ae?CX.isInteractive:ae,le=e.onMouseEnter,ce=e.onMouseMove,ue=e.onMouseLeave,de=e.onClick,fe=e.hoverTarget,he=void 0===fe?CX.hoverTarget:fe,pe=e.tooltip,ge=void 0===pe?CX.tooltip:pe,me=e.role,ve=e.ariaLabel,be=e.ariaLabelledBy,ye=e.ariaDescribedBy,_e=e.forwardedRef,we=GF(o,a,s),xe=we.margin,ke=we.innerWidth,Ce=we.innerHeight,Se=we.outerWidth,Te=we.outerHeight,Ae=LX({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,je=sa((function(){return wX({},xe,{top:xe.top+Ne,left:xe.left+Ee})}),[xe,Ee,Ne]),Be={grid:null,axes:null,cells:null,legends:null,annotations:null};r.includes("grid")&&(Be.grid=jc(RU,{width:Me,height:Le,xScale:P?Oe:null,yScale:z?Re:null},"grid")),r.includes("axes")&&(Be.axes=jc(EU,{xScale:Oe,yScale:Re,width:Me,height:Le,top:B,right:H,bottom:U,left:W},"axes")),r.includes("cells")&&(Be.cells=jc(vo,{children:jc(IX,{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&&(Be.legends=jc(vo,{children:re.map((function(e,t){return go(dq,wX({},e,{key:t,containerWidth:Me,containerHeight:Le,scale:Pe}))}))},"legends")),r.includes("annotations")&&oe.length>0&&(Be.annotations=jc(zX,{cells:De,annotations:oe},"annotations"));var Fe={cells:De,activeCell:Ie,setActiveCell:ze};return jc(zF,{width:Se,height:Te,margin:Object.assign({},je,{top:je.top,left:je.left}),role:me,ariaLabel:ve,ariaLabelledBy:be,ariaDescribedBy:ye,ref:_e,children:r.map((function(e,t){var n;return"function"==typeof e?jc(vo,{children:go(e,Fe)},t):null!=(n=null==Be?void 0:Be[e])?n:null}))})},FX=Wa((function(e,t){var n=e.isInteractive,r=void 0===n?CX.isInteractive:n,i=e.animate,o=void 0===i?CX.animate:i,a=e.motionConfig,s=void 0===a?CX.motionConfig:a,l=e.theme,c=e.renderWrapper,u=xX(e,jX);return jc(vF,{animate:o,isInteractive:r,motionConfig:s,renderWrapper:c,theme:l,children:jc(BX,wX({isInteractive:r},u,{forwardedRef:t}))})})),HX=["defaultWidth","defaultHeight","onResize","debounceResize"],$X=Wa((function(e,t){var n=e.defaultWidth,r=e.defaultHeight,i=e.onResize,o=e.debounceResize,a=xX(e,HX);return jc(_F,{defaultWidth:n,defaultHeight:r,onResize:i,debounceResize:o,children:function(e){var n=e.width,r=e.height;return jc(FX,wX({width:n,height:r},a,{ref:t}))}})})),UX=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&&(aH(e,p.labels.text),e.textAlign="center",e.textBaseline="middle",sH(e,wX({},p.labels.text,{fill:u}),d,r,i)),e.restore()},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;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&&(aH(e,p.labels.text),e.textAlign="center",e.textBaseline="middle",sH(e,wX({},p.labels.text,{fill:u}),d,r,i)),e.restore()},WX=["theme","isInteractive","animate","motionConfig","renderWrapper"],VX=function(e){var t,n=e.data,r=e.layers,i=void 0===r?SX.layers:r,o=e.valueFormat,a=e.width,s=e.height,l=e.margin,c=e.xInnerPadding,u=void 0===c?SX.xInnerPadding:c,d=e.xOuterPadding,f=void 0===d?SX.xOuterPadding:d,h=e.yInnerPadding,p=void 0===h?SX.yInnerPadding:h,g=e.yOuterPadding,m=void 0===g?SX.yOuterPadding:g,v=e.forceSquare,b=void 0===v?SX.forceSquare:v,y=e.sizeVariation,_=void 0===y?SX.sizeVariation:y,w=e.renderCell,x=void 0===w?SX.renderCell:w,k=e.opacity,C=void 0===k?SX.opacity:k,S=e.activeOpacity,T=void 0===S?SX.activeOpacity:S,A=e.inactiveOpacity,M=void 0===A?SX.inactiveOpacity:A,L=e.borderWidth,E=void 0===L?SX.borderWidth:L,N=e.borderColor,O=void 0===N?SX.borderColor:N,R=e.enableGridX,D=void 0===R?SX.enableGridX:R,P=e.enableGridY,I=void 0===P?SX.enableGridY:P,z=e.axisTop,j=void 0===z?SX.axisTop:z,B=e.axisRight,F=void 0===B?SX.axisRight:B,H=e.axisBottom,$=void 0===H?SX.axisBottom:H,U=e.axisLeft,q=void 0===U?SX.axisLeft:U,W=e.enableLabels,V=void 0===W?SX.enableLabels:W,G=e.label,Y=void 0===G?SX.label:G,X=e.labelTextColor,Z=void 0===X?SX.labelTextColor:X,K=e.colors,J=void 0===K?SX.colors:K,Q=e.emptyColor,ee=void 0===Q?SX.emptyColor:Q,te=e.legends,ne=void 0===te?SX.legends:te,re=e.annotations,ie=void 0===re?SX.annotations:re,oe=e.isInteractive,ae=void 0===oe?SX.isInteractive:oe,se=e.onClick,le=e.hoverTarget,ce=void 0===le?SX.hoverTarget:le,ue=e.tooltip,de=void 0===ue?SX.tooltip:ue,fe=e.role,he=e.ariaLabel,pe=e.ariaLabelledBy,ge=e.ariaDescribedBy,me=e.pixelRatio,ve=void 0===me?SX.pixelRatio:me,be=e.forwardedRef,ye=aa(null),_e=GF(a,s,l),we=_e.margin,xe=_e.innerWidth,ke=_e.innerHeight,Ce=_e.outerWidth,Se=_e.outerHeight,Te=LX({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=sa((function(){return wX({},we,{top:we.top+Ee,left:we.left+Le})}),[we,Le,Ee]),je=EX(Re,ie),Be=fX({annotations:je});t="function"==typeof x?x:"circle"===x?qX:UX;var Fe=WR(),He=sa((function(){return{cells:Re,activeCell:Pe,setActiveCell:Ie}}),[Re,Pe,Ie]);ia((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&&PU(e,{width:Ae,height:Me,scale:Ne,axis:"x"}),I&&PU(e,{width:Ae,height:Me,scale:Oe,axis:"y"})):"axes"===n?DU(e,{xScale:Ne,yScale:Oe,width:Ae,height:Me,top:j,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?rq.length:d,h=t.thickness,p=void 0===h?rq.thickness:h,g=t.direction,m=void 0===g?rq.direction:g,v=t.ticks,b=t.tickPosition,y=void 0===b?rq.tickPosition:b,_=t.tickSize,w=void 0===_?rq.tickSize:_,x=t.tickSpacing,k=void 0===x?rq.tickSpacing:x,C=t.tickOverlap,S=void 0===C?rq.tickOverlap:C,T=t.tickFormat,A=void 0===T?rq.tickFormat:T,M=t.title,L=t.titleAlign,E=void 0===L?rq.titleAlign:L,N=t.titleOffset,O=void 0===N?rq.titleOffset:N,R=t.theme,D=lq({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,j=D.gradientY1,B=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=aq({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,j*I,B*P,F*I);H.forEach((function(e){Q.addColorStop(e.offset,e.stopColor)})),e.fillStyle=Q,e.fillRect(0,0,P,I),aH(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,sH(e,R.legends.ticks.text,t.text,t.textX,t.textY)})),U&&(e.save(),e.translate(q,W),e.rotate(AF(V)),aH(e,R.legends.title.text),e.textAlign="middle"===Y?"center":Y,e.textBaseline=G,sH(e,R.legends.title.text,U),e.restore()),e.restore(),e.font=J.font,e.textAlign=J.textAlign,e.textBaseline=J.textBaseline}(e,wX({},t,{containerWidth:Ae,containerHeight:Me,scale:De,theme:Fe}))})):"annotations"===n?_X(e,{annotations:Be,theme:Fe}):"function"==typeof n&&n(e,He)})))}}),[ye,ve,Ce,Se,Ae,Me,ze,i,He,Re,t,D,I,j,F,$,q,Ne,Oe,Fe,E,V,De,ne,Be]);var $e=lD(),Ue=$e.showTooltipFromEvent,qe=$e.hideTooltip,We=la((function(e){if(null!==ye.current){var t=tH(ye.current,e),n=t[0],r=t[1],i=Re.find((function(e){return eH(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(go(de,{cell:i}),e)):(Ie(null),qe())}}),[ye,Re,ze,Ie,Ue,qe,de]),Ve=la((function(){Ie(null),qe()}),[Ie,qe]),Ge=la((function(e){null!==Pe&&(null==se||se(Pe,e))}),[Pe,se]);return jc("canvas",{ref:oH(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})},GX=Wa((function(e,t){var n=e.theme,r=e.isInteractive,i=void 0===r?SX.isInteractive:r,o=e.animate,a=void 0===o?SX.animate:o,s=e.motionConfig,l=void 0===s?SX.motionConfig:s,c=e.renderWrapper,u=xX(e,WX);return jc(vF,{isInteractive:i,animate:a,motionConfig:l,theme:n,renderWrapper:c,children:jc(VX,wX({isInteractive:i},u,{forwardedRef:t}))})})),YX=["defaultWidth","defaultHeight","onResize","debounceResize"];Wa((function(e,t){var n=e.defaultWidth,r=e.defaultHeight,i=e.onResize,o=e.debounceResize,a=xX(e,YX);return jc(_F,{defaultWidth:n,defaultHeight:r,onResize:i,debounceResize:o,children:function(e){var n=e.width,r=e.height;return jc(GX,wX({width:n,height:r},a,{ref:t}))}})}));const XX={top:60,right:90,bottom:60,left:90},ZX={tickSize:5,tickPadding:5,tickRotation:0},KX={tickSize:5,tickPadding:5,tickRotation:-90},JX={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},QX=e=>{const{cell:t}=e,n=sa((()=>({id:t.id.toString(),color:t.color,label:t.data.x,value:t.label})),[t]);return jc(FY,{label:t.serieId,children:jc(qY,{mode:"default",legend:n})})};const eZ=({width:e="100%",height:t=400,data:n,rootAriaLabel:r,emptyLabel:i="No data available",emptyAriaLabel:o="No data available",margin:a=XX,axisLeft:s=ZX,axisTop:l=KX,xInnerPadding:c=.05,yInnerPadding:u=.05,legends:d=[JX],forceSquare:f=!0,valueFormat:h=">-.2%",...p})=>{const g=sa((()=>0===n.length),[n]),m=((e="light")=>{const t=sa((()=>IW([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 la((e=>t(e)),[t])})(YY());return g?jc(RW,{label:i,width:e,height:t,ariaLabel:o}):jc("div",{role:"img","aria-label":r,tabIndex:0,style:{width:e,height:t},className:"styles_heatMap__E95gO",children:jc($X,{data:n,margin:a,axisBottom:null,axisRight:null,axisLeft:s,axisTop:l,xInnerPadding:c,yInnerPadding:u,legends:d,forceSquare:f,theme:_Y,motionConfig:mY,animate:!vY,valueFormat:h,colors:e=>m(e.data.y??0),labelTextColor:"var(--constant-on-text-primary)",tooltip:QX,emptyColor:"var(--bg-control-secondary)",inactiveOpacity:0,borderRadius:4,...p})})},tZ=({title:e,translations:t,rootAriaLabel:n,width:r,height:i,data:o,...a})=>{const s=t["no-results"];return jc(Ex,{title:e,children:jc(eZ,{data:o,width:r,height:i,emptyLabel:s,emptyAriaLabel:s,rootAriaLabel:n,...a})})};function nZ(){return nZ=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},nZ.apply(null,arguments)}function rZ(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 iZ,oZ=function(e){var t=e.bars,n=e.annotations,r=dX({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 jc(vo,{children:r.map((function(e,t){return jc(bX,nZ({},e),t)}))})},aZ=function(e){var t=e.width,n=e.height,r=e.legends,i=e.toggleSerie;return jc(vo,{children:r.map((function(e,r){var o,a=e[0],s=e[1];return jc(gq,nZ({},a,{containerWidth:t,containerHeight:n,data:null!=(o=a.data)?o:s,toggleSerie:a.toggleSerie&&"keys"===a.dataFrom?i:void 0}),r)}))})},sZ=["data"],lZ=["color","label"],cZ={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=rZ(e,lZ);return jc(JR,{id:n,value:r.formattedValue,enableChip:!0,color:t})},tooltipLabel:function(e){return e.id+" - "+e.indexValue},legends:[],initialHiddenIds:[],annotations:[],enableTotals:!1,totalsOffset:10},uZ=nZ({},cZ,{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=rZ(n,sZ),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=WR(),O=lD(),R=O.showTooltipFromEvent,D=O.showTooltipAt,P=O.hideTooltip,I=sa((function(){return function(){return go(C,nZ({},i,r))}}),[C,i,r]),z=la((function(e){null==w||w(nZ({color:i.color},r),e)}),[i,r,w]),j=la((function(e){return R(I(),e)}),[R,I]),B=la((function(e){null==x||x(r,e),R(I(),e)}),[r,x,R,I]),F=la((function(e){null==k||k(r,e),P()}),[r,P,k]),H=la((function(){D(I(),[i.absX+i.width/2,i.absY])}),[D,I,i]),$=la((function(){P()}),[P]);return jc(uE.g,{transform:h,children:[jc(uE.rect,{width:aM(p,(function(e){return Math.max(e,0)})),height:aM(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:_?B:void 0,onMouseMove:_?j: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&&jc(_H,{x:d,y:f,textAnchor:g,dominantBaseline:"central",fillOpacity:u,style:nZ({},N.labels.text,{pointerEvents:"none",fill:c}),children:b})]})},defs:[],fill:[],markers:[],animate:!0,animateOnMount:!1,motionConfig:"default",role:"img",isFocusable:!1}),dZ=nZ({},cZ,{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,sH(e,h,d,a+p,s+g))},pixelRatio:"undefined"!=typeof window&&null!=(iZ=window.devicePixelRatio)?iZ:1}),fZ=function(e,t,n,r,i,o){return cU(r,{all:e.map(t),min:0,max:0},i,o).padding(n)},hZ=function(e,t){return e.map((function(e){return nZ({},t.reduce((function(e,t){return e[t]=null,e}),{}),e)}))},pZ=function(e){return Object.keys(e).reduce((function(t,n){return e[n]&&(t[n]=e[n]),t}),{})},gZ=function(e){return[e,Number(e)]};function mZ(e,t,n,r){return void 0===e&&(e=cZ.layout),void 0===n&&(n=cZ.labelPosition),void 0===r&&(r=cZ.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 vZ=["layout","width","height","padding","innerPadding","valueScale","indexScale","hiddenIds"],bZ=function(e,t){return e>t},yZ=function(e,t){return e<t},_Z=function(e,t){return Array.from(" ".repeat(t-e),(function(t,n){return e+n}))},wZ=function(e){return bZ(e,0)?0:e},xZ=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?yZ:bZ,m=i.map(pZ),v=[];return d.forEach((function(e,n){return _Z(0,f.domain().length).forEach((function(c){var d,b,y,_=gZ(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},kZ=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?yZ:bZ,m=i.map(pZ),v=[];return c.forEach((function(e,n){return _Z(0,h.domain().length).forEach((function(c){var u,b,y,_=gZ(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},CZ=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=rZ(e,vZ),m=g.keys.filter((function(e){return!p.includes(e)})),v=hZ(g.data,m),b="vertical"===i?["y","x",o]:["x","y",a],y=b[0],_=b[1],w=b[2],x=fZ(v,g.getIndex,l,f,w,_),k="auto"===d.min?wZ:function(e){return e},C=v.reduce((function(e,t){return[].concat(e,m.map((function(e){return t[e]})))}),[]).filter(Boolean),S=cU(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=[nZ({},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?xZ.apply(void 0,E):kZ.apply(void 0,E):[]}},SZ=["data","layout","width","height","padding","valueScale","indexScale","hiddenIds"],TZ=function(e){var t;return e.some(Array.isArray)?TZ((t=[]).concat.apply(t,e)):e},AZ=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,_=gZ(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:pZ(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},MZ=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,_=gZ(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:pZ(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},LZ=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=rZ(e,SZ),p=h.keys.filter((function(e){return!f.includes(e)})),g=function(){var e=_v([]),t=zb,n=Ib,r=jb;function i(i){var o,a,s=Array.from(e.apply(this,arguments),Bb),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=Gv(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:_v(Array.from(t)),i):e},i.value=function(e){return arguments.length?(r="function"==typeof e?e:_v(+e),i):r},i.order=function(e){return arguments.length?(t=null==e?zb:"function"==typeof e?e:_v(Array.from(e)),i):t},i.offset=function(e){return arguments.length?(n=null==e?Ib:e,i):n},i}().keys(p).offset(Fb)(hZ(r,p)),m="vertical"===i?["y","x",o]:["x","y",a],v=m[0],b=m[1],y=m[2],_=fZ(r,h.getIndex,l,u,y,b),w=(n=TZ(g),"log"===c.type?n.filter((function(e){return 0!==e})):n),x=cU(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=[nZ({},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?AZ.apply(void 0,M):MZ.apply(void 0,M):[]}},EZ=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=KF(null!=a?a:"indexes"===r?"indexValue":"id");return"indexes"===r?function(e,t,n){var r=p$(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=p$(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)},NZ=function(e,t,n){var r=e.get(t)||0;e.set(t,r+n)},OZ=function(e){var t,n=e.indexBy,r=void 0===n?cZ.indexBy:n,i=e.keys,o=void 0===i?cZ.keys:i,a=e.label,s=void 0===a?cZ.label:a,l=e.tooltipLabel,c=void 0===l?cZ.tooltipLabel:l,u=e.valueFormat,d=e.colors,f=void 0===d?cZ.colors:d,h=e.colorBy,p=void 0===h?cZ.colorBy:h,g=e.borderColor,m=void 0===g?cZ.borderColor:g,v=e.labelTextColor,b=void 0===v?cZ.labelTextColor:v,y=e.groupMode,_=void 0===y?cZ.groupMode:y,w=e.layout,x=void 0===w?cZ.layout:w,k=e.data,C=e.margin,S=e.width,T=e.height,A=e.padding,M=void 0===A?cZ.padding:A,L=e.innerPadding,E=void 0===L?cZ.innerPadding:L,N=e.valueScale,O=void 0===N?cZ.valueScale:N,R=e.indexScale,D=void 0===R?cZ.indexScale:R,P=e.initialHiddenIds,I=void 0===P?cZ.initialHiddenIds:P,z=e.enableLabel,j=void 0===z?cZ.enableLabel:z,B=e.labelSkipWidth,F=void 0===B?cZ.labelSkipWidth:B,H=e.labelSkipHeight,$=void 0===H?cZ.labelSkipHeight:H,U=e.legends,q=void 0===U?cZ.legends:U,W=e.legendLabel,V=e.totalsOffset,G=void 0===V?cZ.totalsOffset:V,Y=na(null!=I?I:[]),X=Y[0],Z=Y[1],K=la((function(e){Z((function(t){return t.indexOf(e)>-1?t.filter((function(t){return t!==e})):[].concat(t,[e])}))}),[]),J=JF(r),Q=JF(s),ee=JF(c),te=ZF(u),ne=WR(),re=JU(f,p),ie=XU(m,ne),oe=XU(b,ne),ae=("grouped"===_?CZ:LZ)({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=sa((function(){return se.filter((function(e){return null!==e.data.value})).map((function(e,t){return nZ({},e,{index:t})}))}),[se]),de=la((function(e){var t=e.width,n=e.height;return!(!j||F>0&&t<F||$>0&&n<$)}),[j,F,$]),fe=sa((function(){return o.map((function(e){var t=se.find((function(t){return t.data.id===e}));return nZ({},t,{data:nZ({id:e},null==t?void 0:t.data,{hidden:X.includes(e)})})}))}),[X,o,se]),he=null!=(t=O.reverse)&&t,pe=sa((function(){return q.map((function(e){return[e,EZ({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=sa((function(){return function(e,t,n,r,i,o,a){void 0===r&&(r=cZ.layout),void 0===i&&(i=cZ.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;NZ(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;NZ(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}},RZ=function(e){var t=e.data,n=e.springConfig,r=e.animate,i=e.layout,o=void 0===i?uZ.layout:i,a=WR();return eM(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 jc(uE.text,{x:e.x,y:e.y,fillOpacity:e.labelOpacity,style:nZ({},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)}))},DZ=["isInteractive","animate","motionConfig","theme","renderWrapper"],PZ=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?uZ.axisBottom:m,b=e.axisLeft,y=void 0===b?uZ.axisLeft:b,_=e.enableGridX,w=void 0===_?uZ.enableGridX:_,x=e.enableGridY,k=void 0===x?uZ.enableGridY:x,C=e.gridXValues,S=e.gridYValues,T=e.layers,A=void 0===T?uZ.layers:T,M=e.barComponent,L=void 0===M?uZ.barComponent:M,E=e.enableLabel,N=void 0===E?uZ.enableLabel:E,O=e.label,R=e.labelSkipWidth,D=void 0===R?uZ.labelSkipWidth:R,P=e.labelSkipHeight,I=void 0===P?uZ.labelSkipHeight:P,z=e.labelTextColor,j=e.labelPosition,B=void 0===j?uZ.labelPosition:j,F=e.labelOffset,H=void 0===F?uZ.labelOffset:F,$=e.markers,U=void 0===$?uZ.markers:$,q=e.colorBy,W=e.colors,V=e.defs,G=void 0===V?uZ.defs:V,Y=e.fill,X=void 0===Y?uZ.fill:Y,Z=e.borderRadius,K=void 0===Z?uZ.borderRadius:Z,J=e.borderWidth,Q=void 0===J?uZ.borderWidth:J,ee=e.borderColor,te=e.annotations,ne=void 0===te?uZ.annotations:te,re=e.legendLabel,ie=e.tooltipLabel,oe=e.valueFormat,ae=e.isInteractive,se=void 0===ae?uZ.isInteractive:ae,le=e.tooltip,ce=void 0===le?uZ.tooltip:le,ue=e.onClick,de=e.onMouseEnter,fe=e.onMouseLeave,he=e.legends,pe=e.role,ge=void 0===pe?uZ.role:pe,me=e.ariaLabel,ve=e.ariaLabelledBy,be=e.ariaDescribedBy,ye=e.isFocusable,_e=void 0===ye?uZ.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?uZ.enableTotals:Ae,Le=e.totalsOffset,Ee=void 0===Le?uZ.totalsOffset:Le,Ne=e.forwardedRef,Oe=pF(),Re=Oe.animate,De=Oe.config,Pe=GF(a,s,o),Ie=Pe.outerWidth,ze=Pe.outerHeight,je=Pe.margin,Be=Pe.innerWidth,Fe=Pe.innerHeight,He=OZ({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:je,width:Be,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=mZ(c,null!=(t=null==u?void 0:u.reverse)&&t,B,H),nt=eM(Ue,{keys:function(e){return e.key},from:function(e){return nZ({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 nZ({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 nZ({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 nZ({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?{}:nZ({},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=sa((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=iH(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=jc(oZ,{bars:$e,annotations:ne},"annotations")),A.includes("axes")&&(ot.axes=jc(EU,{xScale:qe,yScale:We,width:Be,height:Fe,top:p,right:g,bottom:v,left:y},"axes")),A.includes("bars")&&(ot.bars=jc(vo,{children:nt((function(e,t){return go(L,nZ({},rt,{bar:t,style:e,shouldRenderLabel:Ze(t),label:Ve(t.data)}))}))},"bars")),A.includes("grid")&&(ot.grid=jc(RU,{width:Be,height:Fe,xScale:w?qe:null,yScale:k?We:null,xValues:C,yValues:S},"grid")),A.includes("legends")&&(ot.legends=jc(aZ,{width:Be,height:Fe,legends:Je,toggleSerie:Ke},"legends")),A.includes("markers")&&(ot.markers=jc(HF,{markers:U,width:Be,height:Fe,xScale:qe,yScale:We},"markers")),A.includes("totals")&&Me&&(ot.totals=jc(RZ,{data:Qe,springConfig:De,animate:Re,layout:c},"totals"));var at=nZ({},rt,{margin:je,width:a,height:s,innerWidth:Be,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 jc(zF,{width:Ie,height:ze,margin:je,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?jc(vo,{children:go(e,at)},t):null!=(n=null==ot?void 0:ot[e])?n:null}))})},IZ=Wa((function(e,t){var n=e.isInteractive,r=void 0===n?uZ.isInteractive:n,i=e.animate,o=void 0===i?uZ.animate:i,a=e.motionConfig,s=void 0===a?uZ.motionConfig:a,l=e.theme,c=e.renderWrapper,u=rZ(e,DZ);return jc(vF,{animate:o,isInteractive:r,motionConfig:s,renderWrapper:c,theme:l,children:jc(PZ,nZ({},u,{isInteractive:r,forwardedRef:t}))})})),zZ=["isInteractive","renderWrapper","theme"],jZ=function(e,t,n,r){return e.find((function(e){return eH(e.x+t.left,e.y+t.top,e.width,e.height,n,r)}))},BZ=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?dZ.axisBottom:m,b=e.axisLeft,y=void 0===b?dZ.axisLeft:b,_=e.enableGridX,w=void 0===_?dZ.enableGridX:_,x=e.enableGridY,k=void 0===x?dZ.enableGridY:x,C=e.gridXValues,S=e.gridYValues,T=e.labelPosition,A=void 0===T?dZ.labelPosition:T,M=e.labelOffset,L=void 0===M?dZ.labelOffset:M,E=e.layers,N=void 0===E?dZ.layers:E,O=e.renderBar,R=void 0===O?dZ.renderBar:O,D=e.enableLabel,P=void 0===D?dZ.enableLabel:D,I=e.label,z=e.labelSkipWidth,j=void 0===z?dZ.labelSkipWidth:z,B=e.labelSkipHeight,F=void 0===B?dZ.labelSkipHeight:B,H=e.labelTextColor,$=e.colorBy,U=e.colors,q=e.borderRadius,W=void 0===q?dZ.borderRadius:q,V=e.borderWidth,G=void 0===V?dZ.borderWidth:V,Y=e.borderColor,X=e.annotations,Z=void 0===X?dZ.annotations:X,K=e.legendLabel,J=e.tooltipLabel,Q=e.valueFormat,ee=e.isInteractive,te=void 0===ee?dZ.isInteractive:ee,ne=e.tooltip,re=void 0===ne?dZ.tooltip:ne,ie=e.onClick,oe=e.onMouseEnter,ae=e.onMouseLeave,se=e.legends,le=e.pixelRatio,ce=void 0===le?dZ.pixelRatio:le,ue=e.role,de=e.forwardedRef,fe=e.enableTotals,he=void 0===fe?dZ.enableTotals:fe,pe=e.totalsOffset,ge=void 0===pe?dZ.totalsOffset:pe,me=aa(null),ve=WR(),be=GF(a,s,o),ye=be.margin,_e=be.innerWidth,we=be.innerHeight,xe=be.outerWidth,ke=be.outerHeight,Ce=OZ({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:j,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=lD(),je=ze.showTooltipFromEvent,Be=ze.hideTooltip,Fe=fX({annotations:dX({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=sa((function(){return{borderRadius:W,borderWidth:G,isInteractive:te,isFocusable:!1,labelSkipWidth:j,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,j,F,ye,a,s,_e,we,Se,De,P,Ae,Me,re,Ee,ie,oe,ae,Ie]),$e=ZF(Q),Ue=mZ(c,null!=(t=null==u?void 0:u.reverse)&&t,A,L);ia((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&&PU(e,{width:_e,height:we,scale:Ae,axis:"x",values:C}),k&&PU(e,{width:_e,height:we,scale:Me,axis:"y",values:S})):"axes"===t?DU(e,{xScale:Ae,yScale:Me,width:_e,height:we,top:p,right:g,bottom:v,left:y,theme:ve}):"bars"===t?(aH(e,ve.text),Te.forEach((function(t){R(e,nZ({bar:t,borderColor:Ne(t),borderRadius:W,borderWidth:G,label:Le(t.data),shouldRenderLabel:Re(t),labelStyle:nZ({},ve.labels.text,{fill:Oe(t)})},Ue(t.width,t.height)))}))):"legends"===t?De.forEach((function(t){var n=t[0],r=t[1];vq(e,nZ({},n,{data:r,containerWidth:_e,containerHeight:we,theme:ve}))})):"annotations"===t?_X(e,{annotations:Fe,theme:ve}):"totals"===t&&he?function(e,t,n,r){void 0===r&&(r=dZ.layout),aH(e,n.labels.text),e.textBaseline="vertical"===r?"alphabetic":"middle",e.textAlign="vertical"===r?"center":"start",t.forEach((function(t){sH(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=la((function(e){if(Se&&me.current){var t=tH(me.current,e),n=t[0],r=t[1],i=jZ(Se,ye,n,r);void 0!==i?(je(go(re,nZ({},i.data,{color:i.color,label:i.label,value:Number(i.data.value)})),e),"mouseenter"===e.type&&(null==oe||oe(i.data,e))):Be()}}),[Be,ye,oe,Se,je,re]),We=la((function(e){if(Se&&me.current){Be();var t=tH(me.current,e),n=t[0],r=t[1],i=jZ(Se,ye,n,r);i&&(null==ae||ae(i.data,e))}}),[Be,ye,ae,Se]),Ve=la((function(e){if(Se&&me.current){var t=tH(me.current,e),n=t[0],r=t[1],i=jZ(Se,ye,n,r);void 0!==i&&(null==ie||ie(nZ({},i.data,{color:i.color}),e))}}),[ye,ie,Se]);return jc("canvas",{ref:oH(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})},FZ=Wa((function(e,t){var n=e.isInteractive,r=e.renderWrapper,i=e.theme,o=rZ(e,zZ);return jc(vF,{isInteractive:n,renderWrapper:r,theme:i,animate:!1,children:jc(BZ,nZ({},o,{isInteractive:n,forwardedRef:t}))})})),HZ=["defaultWidth","defaultHeight","onResize","debounceResize"],$Z=Wa((function(e,t){var n=e.defaultWidth,r=e.defaultHeight,i=e.onResize,o=e.debounceResize,a=rZ(e,HZ);return jc(_F,{defaultWidth:n,defaultHeight:r,onResize:i,debounceResize:o,children:function(e){var n=e.width,r=e.height;return jc(IZ,nZ({},a,{width:n,height:r,ref:t}))}})})),UZ=["defaultWidth","defaultHeight","onResize","debounceResize"];Wa((function(e,t){var n=e.defaultWidth,r=e.defaultHeight,i=e.onResize,o=e.debounceResize,a=rZ(e,UZ);return jc(_F,{defaultWidth:n,defaultHeight:r,onResize:i,debounceResize:o,children:function(e){var n=e.width,r=e.height;return jc(FZ,nZ({},a,{width:n,height:r,ref:t}))}})}));const qZ=e=>{const{data:t,onLegendClick:n}=e;return jc("div",{className:"styles_legends__LAO35",children:t.map((e=>jc(qY,{legend:e,onClick:n},e.id)))})},WZ=({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=>HY(e[t.id])&&0!==Number(e[t.id])));return jc(FY,{label:r(e,t),children:a.map((t=>jc(qY,{mode:"menu",legend:{...t,value:i({...t,value:e[t.id]})}},t.id)))})},VZ=e=>{const{background:t,grid:n}=WR();return jc("g",{children:[jc("line",{opacity:"1",x1:"0",x2:e.innerWidth,y1:e.innerHeight,y2:e.innerHeight,stroke:t,strokeWidth:"1"}),jc("line",{opacity:"1",x1:"0",x2:e.innerWidth,y1:e.innerHeight,y2:e.innerHeight,stroke:n.line.stroke,strokeWidth:"1"})]})},GZ=Ho(null),YZ=e=>{const{children:t}=e,[n,r]=na(void 0);return jc(GZ.Provider,{value:[n,r],children:t})},XZ=e=>{const t=aa(null),[n,r]=na(!1),[i,o]=na(null),a=aa(null),s=aa((()=>{})),l=la((async(n,i)=>{if(!t.current)return;if(a.current===n)return;const l=()=>{if(t.current)return vd(n,t.current,{middleware:[md(),pd(6),gd({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=hd(n,t.current,l)}),[e]),c=la((e=>{a.current===e&&(s.current(),a.current=null,r(!1),o(null))}),[]);return{tooltipRef:t,isVisible:n,handleShowTooltip:l,handleHideTooltip:c,data:i}},ZZ={s:16,m:24,l:32},KZ=(e,t)=>Math.min(e,ZZ[t]),JZ=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+ww.toNumber(t??0)),0)>0}=e,u="horizontal"===s,{handleShowTooltip:d,isVisible:f,handleHideTooltip:h,tooltipRef:p,data:g}=XZ(u?"bottom":"left"),{animate:m,config:v}=pF(),{opacity:b}=QA({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 jc(PY.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)?jc(QZ,{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})),Bd(jc(PY.div,{ref:p,style:{display:b?"block":"none",opacity:b},children:f&&g&&go(o,{value:g})}),document.body)]})},QZ=({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=ca(GZ);if(!e)throw new Error("useBarChartState must be used within a BarChartStateProvider");return e})(),{animate:f,config:h}=pF(),p=i[s],g=u===String(p),{fill:m}=QA({from:{fill:"#ffffff00"},to:{fill:"var(--bg-control-flat-medium)"},config:{...h,duration:150},reverse:!g,immediate:!f}),v=la((e=>{l(e.target,i)}),[l,i]),b=la((e=>{l(e.target,i),d(String(p))}),[l,i,d,p]),y=la((e=>{c(e.target),d(void 0)}),[c,d]),_=la((e=>{l(e.target,i),d(String(p))}),[l,i,d,p]),w=la((e=>{c(e.target),d(void 0)}),[c,d]);return jc(PY.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})},eK=Ho(null),tK=()=>{const e=ca(eK);if(!e)throw new Error("useBarContext must be used within a BarContext");return e},nK=e=>{const{bars:t,indexBy:n,layout:r="vertical",barSize:i,groupMode:o="stacked"}=e,a=sa((()=>(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 jc(eK.Provider,{value:{barSize:i,layout:r,groupMode:o},children:jc(PY.g,{"data-testid":"bars",pointerEvents:"none",children:a.map((e=>jc(rK,{group:e,offsetY:s,offsetX:l},e.id)))})})},rK=e=>{const{group:t}=e,{barSize:n,layout:r}=tK(),{animate:i,config:o}=pF(),a=ua(),s="horizontal"===r,l=KZ(t.height,n),c=KZ(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<=ZZ.s/3?1:v<=ZZ.s/2?1.5:v<ZZ.s?2:v>=ZZ.s&&v<ZZ.m?4:v>=ZZ.m?6:0;var v;const{transform:b}=QA({transform:`translate(${f}, ${h})`,config:o,immediate:!i}),y=sa((()=>{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 jc(PY.g,{clipPath:_?void 0:`url(#clip-${a})`,transform:b,"data-testid":"group","data-id":t.id,children:[!_&&jc("defs",{children:jc("clipPath",{id:`clip-${a}`,children:jc(PY.rect,{x:0,y:0,width:p,height:g,rx:m,ry:m})})}),y.map(((e,t)=>jc(iK,{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)))]})},iK=e=>{const{isFirst:t,isLast:n,id:r,...i}=e,{layout:o}=tK(),{animate:a,config:s}=pF(),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=QA({x:h,y:p,width:d,height:f,config:s,immediate:!a});return jc(PY.rect,{...g,fill:i.fill,"data-testid":"bar","data-id":r})};function oK(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 aK=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;oK(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 oK(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)),sK=Jv().x((e=>e[0])).y((e=>e[1])),lK=e=>{const{legend:t,indexBy:n,bars:r,innerHeight:i,innerWidth:o,formatValue:a=e=>ww.toNumber(e)}=e,s=sa((()=>t.filter((e=>"point"===e.type)).map((e=>e.id))),[t]),l=ua(),c=sa((()=>t.filter((e=>"point"===e.type)).reduce(((e,t)=>(e[t.id]=t.color,e)),{})),[t]),u=sa((()=>(e=>{const t=Math.max(...e.map((e=>e.data.index+1)));return e.slice(0,t)})(r)),[r]),d=sa((()=>dU(s.map((e=>({id:e,data:u.map((t=>{const r=a(ww.toNumber(t.data.data[e]??0),e);return void 0===r?null:{x:ww.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=sa((()=>s.map((e=>{if(u.length<2)return null;const t=c[e]??"",n=u.map((t=>{const n=a(ww.toNumber(t.data.data[e]??0),e);return void 0===n?null:{x:ww.toNumber(t.x+t.width/2),y:ww.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=aK(n),i=u.map((t=>{const n=a(ww.toNumber(t.data.data[e]??0),e),i=ww.toNumber(t.x+t.width/2);let o=r.predict(i);return void 0!==n&&(o=ww.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:jc(PY.g,{"data-testid":"trend-lines-layer",pointerEvents:"none",clipPath:`url(#${l})`,children:[jc("defs",{children:jc("clipPath",{id:l,children:jc("rect",{x:-5,y:-5,width:o+5,height:i+5})})}),f.map((({trendKey:e,points:t,color:n})=>jc(PY.g,{"data-testid":"trend-line-group","data-trend-key":e,children:[jc(cK,{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})=>jc(uK,{x:e,y:t,color:n},r)))]},e)))]})},cK=e=>{const{points:t,color:n}=e,{animate:r,config:i}=pF(),o=sa((()=>0===t.length||t.length<2?[]:aK(t)),[t]),{d:a}=QA({d:sK(o)??void 0,config:i,immediate:!r});return 0===t.length||t.length<2||0===o.length?null:jc(PY.path,{d:a,"data-testid":"trend-line",fill:"none",stroke:n,strokeWidth:2,strokeLinecap:"round",pointerEvents:"none",strokeDasharray:"4"})},uK=e=>{const{x:t,y:n,color:r}=e,{animate:i,config:o}=pF(),{cx:a,cy:s}=QA({cx:t,cy:n,config:o,immediate:!i});return jc(PY.circle,{"data-testid":"trend-line-point",cx:a,cy:s,r:3,strokeWidth:2,fill:"white",stroke:r,pointerEvents:"none"})},dK=({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=>ww.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 fK=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=>$Y(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=sa((()=>new Map(n.map((e=>[e.id,e])))),[n]),S=sa((()=>n.filter((e=>"point"!==e.type&&"tree"!==e.type)).map((e=>e.id))),[n]),T=sa((()=>((e,t)=>e.every((e=>Object.keys(e).filter((e=>e!==t)).every((t=>0===e[t])))))(t,r)),[t,r]),A=sa((()=>t.length>=8?"s":t.length>=6?"m":"l"),[t]),M="horizontal"===x;return jc("div",{className:"styles_container__nVJhv",children:[jc("div",{className:"styles_barContainer__DTIpd",children:jc(YZ,{children:jc($Z,{data:t,theme:_Y,groupMode:v,layout:x,defaultHeight:275,keys:S,indexBy:r,margin:{top:10,right:20,bottom:h>0?60:40,left:dK({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",VZ,e=>jc(nK,{...e,indexBy:r,layout:x,legend:n,barSize:A,groupMode:v}),e=>jc(lK,{...e,legend:n,indexBy:r,formatValue:k}),"markers",e=>jc(JZ,{...e,hasValueFn:c,indexBy:r,layout:x,tooltip:({value:e})=>jc(WZ,{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:!vY,motionConfig:mY,onClick:o})})}),!T&&!p&&jc(qZ,{data:n})]})},hK=(e,t)=>e>=t,pK=e=>e>=91?"bottom-right":"top-right",gK=e=>{const{title:t,data:n,i18n:r,keys:i,threshold:o=90}=e,a=sa((()=>ww.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=sa((()=>a.map((({id:e,stabilityRate:t})=>({id:e,label:s,color:hK(t,l)?"var(--bg-support-castor-heavy)":"var(--bg-support-capella-heavy)",value:t,[e]:t})))),[a,s,l]),u=0===a.length;return jc(Ex,u?{title:t,children:jc(Y_,{title:r("no-results"),icon:Bc.lineChartsBarChartSquare})}:{title:t,children:jc(fK,{markers:[{axis:"y",value:o,legend:`${o}%`,textStyle:{fill:_Y.markers?.text?.fill,fontSize:_Y.markers?.text?.fontSize,fontWeight:_Y.markers?.text?.fontWeight},lineStyle:{stroke:_Y.markers?.lineColor,strokeWidth:_Y.markers?.lineStrokeWidth},legendPosition:pK(l),legendOffsetY:10,legendOffsetX:7}],groupMode:"stacked",data:a,legend:c,indexBy:"id",hasValueFn:()=>!0,formatIndexBy:e=>i[e.id],formatBottomTick:(e,t)=>ww.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)})})},mK=e=>e.startsWith("new:"),vK=e=>e.startsWith("removed:"),bK=e=>{const{title:t,data:n,i18n:r,statuses:i}=e,o=n.find((e=>"current"===e.id)),a=sa((()=>{const e=[];for(const t of i)e.push(`new:${t}`);for(const t of i)e.push(`removed:${t}`);return e}),[i]),s=sa((()=>[...a.map((e=>{const t=e.replace(":",""),n=e.replace("new:","").replace("removed:","");return{id:e,label:r(`status.${t}`),color:DW(n),value:mK(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=>vK(e))).reduce(((t,n)=>t+(e[n]??0)),0)),n=Math.abs(a.filter((e=>mK(e))).reduce(((t,n)=>t+(e[n]??0)),0));return Math.max(n,t)})))),c=sa((()=>n.map((e=>{const t=2*l,n=((e,t)=>t.reduce(((t,n)=>(mK(n)&&(t[n]=e[n]??0),vK(n)&&(t[n]=-(e[n]??0)),t)),{}))(e,a),r=Math.abs(a.filter((e=>vK(e))).reduce(((e,t)=>e+(n[t]??0)),0)),i=Math.abs(a.filter((e=>mK(e))).reduce(((e,t)=>e+(n[t]??0)),0)),o=PW({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?jc(Ex,{title:t,children:jc(Y_,{title:r("no-results"),icon:Bc.lineChartsBarChartSquare})}):1===n.length&&o||d?jc(Ex,{title:t,children:jc(Y_,{title:r("no-history"),icon:Bc.lineChartsBarChartSquare})}):jc(Ex,{title:t,children:jc(fK,{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?$Y(Math.abs(Number(e))):"-",noLegend:!0,formatLeftTick:e=>{const t=Math.abs(Number(e));return Number.isInteger(t)?$Y(Math.abs(Number(e))):""},minValue:-l,maxValue:l,formatTrendValue:e=>{if(-1!==e)return e}})})},yK=e=>"skipped"===e||"unknown"===e,_K=e=>"failed"===e||"broken"===e,wK=(e,t)=>t.reduce(((t,n)=>(yK(n)&&(t[n]=e[n]??0),_K(n)&&(t[n]=-(e[n]??0)),t)),{}),xK=e=>{const{title:t,data:n,i18n:r,statuses:i}=e,o=n.find((e=>"current"===e.id)),a=sa((()=>i.map((e=>({id:e,label:r(`status.${e}`),color:DW(e),value:yK(e)?1:-1})))),[i,r]),s=sa((()=>n.map((e=>({id:e.id,timestamp:e.timestamp,...wK(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 jc(Ex,{title:t,children:jc(Y_,{title:r("no-results"),icon:Bc.lineChartsBarChartSquare})});if(1===n.length&&o||c)return jc(Ex,{title:t,children:jc(Y_,{title:r("no-history"),icon:Bc.lineChartsBarChartSquare})});const u=Math.max(...s.map((e=>{const t=Math.abs(i.filter((e=>_K(e))).reduce(((t,n)=>t+(e[n]??0)),0)),n=Math.abs(i.filter((e=>yK(e))).reduce(((t,n)=>t+(e[n]??0)),0));return Math.max(t,n)}))),d=Math.ceil(1.01*u);return jc(Ex,{title:t,children:jc(fK,{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 ww.truncate(r("ticks.current"),{length:15});const t=s.find((t=>t.id===e));return t?ww.truncate(r("ticks.history",{timestamp:t?.timestamp}),{length:15}):""},bottomTickSize:10,formatLegendValue:({value:e})=>e?$Y(Math.abs(Number(e))):"-",noLegend:!0,formatLeftTick:e=>{const t=Math.abs(Number(e));return Number.isInteger(t)?$Y(Math.abs(Number(e))):""},minValue:-d,maxValue:d})})};function kK(){return kK=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},kK.apply(null,arguments)}function CK(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 SK={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"},TK=function(e){var t=e.part;return jc(JR,{id:t.data.label,value:t.formattedValue,color:t.color,enableChip:!0})},AK=function(e){var t,n,r=e.data,i=e.width,o=e.height,a=e.direction,s=void 0===a?SK.direction:a,l=e.interpolation,c=void 0===l?SK.interpolation:l,u=e.spacing,d=void 0===u?SK.spacing:u,f=e.shapeBlending,h=void 0===f?SK.shapeBlending:f,p=e.valueFormat,g=e.colors,m=void 0===g?SK.colors:g,v=e.size,b=void 0===v?SK.size:v,y=e.fillOpacity,_=void 0===y?SK.fillOpacity:y,w=e.borderWidth,x=void 0===w?SK.borderWidth:w,k=e.borderColor,C=void 0===k?SK.borderColor:k,S=e.borderOpacity,T=void 0===S?SK.borderOpacity:S,A=e.labelColor,M=void 0===A?SK.labelColor:A,L=e.enableBeforeSeparators,E=void 0===L?SK.enableBeforeSeparators:L,N=e.beforeSeparatorLength,O=void 0===N?SK.beforeSeparatorLength:N,R=e.beforeSeparatorOffset,D=void 0===R?SK.beforeSeparatorOffset:R,P=e.enableAfterSeparators,I=void 0===P?SK.enableAfterSeparators:P,z=e.afterSeparatorLength,j=void 0===z?SK.afterSeparatorLength:z,B=e.afterSeparatorOffset,F=void 0===B?SK.afterSeparatorOffset:B,H=e.isInteractive,$=void 0===H?SK.isInteractive:H,U=e.currentPartSizeExtension,q=void 0===U?SK.currentPartSizeExtension:U,W=e.currentBorderWidth,V=e.onMouseEnter,G=e.onMouseMove,Y=e.onMouseLeave,X=e.onClick,Z=e.tooltip,K=WR(),J=JU(m,"id"),Q=XU(C,K),ee=XU(M,K),te=ZF(p),ne=sa((function(){return function(e,t){var n=Qv();return"vertical"===t?n.curve("smooth"===e?ab:Xv).x0((function(e){return e.x0})).x1((function(e){return e.x1})).y((function(e){return e.y})):n.curve("smooth"===e?ab:Xv).y0((function(e){return e.y0})).y1((function(e){return e.y1})).x((function(e){return e.x})),[n,Jv().defined((function(e){return null!==e})).x((function(e){return e.x})).y((function(e){return e.y})).curve("smooth"===e?ab:Xv)]}(c,s)}),[c,s]),re=ne[0],ie=ne[1],oe=E?O+D:0,ae=I?j+F:0;"vertical"===s?(t=i-oe-ae,n=o):(t=i,n=o-oe-ae);var se=sa((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,Hp().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 sa((function(){return function(e,t){if("function"==typeof e)return e;if(Array.isArray(e)){var n=hp(e);return function(e){return Number(n(String(e.id)))}}if(_s(e)){if(function(e){return void 0!==e.datum}(e))return function(t){var n=ws(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=na(null),de=ue[0],fe=ue[1],he=sa((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(kK({},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(kK({},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(kK({},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(kK({},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=lD(),ge=pe.showTooltipFromEvent,me=pe.hideTooltip,ve=sa((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?TK:c;return e.isInteractive?t.map((function(e){return kK({},e,{onMouseEnter:function(t){n(e.data.id),s(go(u,{part:e}),t),null==r||r(e,t)},onMouseLeave:function(t){n(null),l(),null==i||i(e,t)},onMouseMove:function(t){s(go(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=sa((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(kK({},u[u.length-1],{partId:"none",y0:h,y1:h})),l&&d.push(kK({},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(kK({},u[u.length-1],{partId:"none",x0:p,x1:p})),d.push(kK({},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=sa((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}},MK=function(e){var t=e.part,n=e.areaGenerator,r=e.borderGenerator,i=pF(),o=i.animate,a=i.config,s=$F(n(t.areaPoints)),l=$F(r(t.borderPoints)),c=QA({areaColor:t.color,borderWidth:t.borderWidth,borderColor:t.borderColor,config:a,immediate:!o});return jc(vo,{children:[t.borderWidth>0&&jc(uE.path,{d:l,stroke:c.borderColor,strokeWidth:c.borderWidth,strokeOpacity:t.borderOpacity,fill:"none"}),jc(uE.path,{d:s,fill:c.areaColor,fillOpacity:t.fillOpacity,onMouseEnter:t.onMouseEnter,onMouseLeave:t.onMouseLeave,onMouseMove:t.onMouseMove,onClick:t.onClick})]})},LK=function(e){var t=e.parts,n=e.areaGenerator,r=e.borderGenerator;return jc(vo,{children:t.map((function(e){return jc(MK,{part:e,areaGenerator:n,borderGenerator:r},e.data.id)}))})},EK=function(e){var t=e.part,n=WR(),r=pF(),i=r.animate,o=r.config,a=QA({transform:"translate("+t.x+", "+t.y+")",color:t.labelColor,config:o,immediate:!i});return jc(uE.g,{transform:a.transform,children:jc(_H,{textAnchor:"middle",dominantBaseline:"central",style:kK({},n.labels.text,{fill:a.color,pointerEvents:"none"}),children:t.formattedValue})})},NK=function(e){return jc(vo,{children:e.parts.map((function(e){return jc(EK,{part:e},e.data.id)}))})},OK=function(e){var t=e.separator,n=WR(),r=pF(),i=r.animate,o=r.config,a=QA({x1:t.x0,x2:t.x1,y1:t.y0,y2:t.y1,config:o,immediate:!i});return jc(uE.line,kK({x1:a.x1,x2:a.x2,y1:a.y1,y2:a.y2,fill:"none"},n.grid.line))},RK=function(e){var t=e.beforeSeparators,n=e.afterSeparators;return jc(vo,{children:[t.map((function(e){return jc(OK,{separator:e},e.partId)})),n.map((function(e){return jc(OK,{separator:e},e.partId)}))]})},DK=function(e){var t=function(e,t){return dX({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 jc(vo,{children:t.map((function(e,t){return jc(bX,kK({},e),t)}))})},PK=["isInteractive","animate","motionConfig","theme","renderWrapper"],IK=function(e){var t=e.data,n=e.width,r=e.height,i=e.margin,o=e.direction,a=void 0===o?SK.direction:o,s=e.interpolation,l=void 0===s?SK.interpolation:s,c=e.spacing,u=void 0===c?SK.spacing:c,d=e.shapeBlending,f=void 0===d?SK.shapeBlending:d,h=e.valueFormat,p=e.colors,g=void 0===p?SK.colors:p,m=e.size,v=void 0===m?SK.size:m,b=e.fillOpacity,y=void 0===b?SK.fillOpacity:b,_=e.borderWidth,w=void 0===_?SK.borderWidth:_,x=e.borderColor,k=void 0===x?SK.borderColor:x,C=e.borderOpacity,S=void 0===C?SK.borderOpacity:C,T=e.enableLabel,A=void 0===T?SK.enableLabel:T,M=e.labelColor,L=void 0===M?SK.labelColor:M,E=e.enableBeforeSeparators,N=void 0===E?SK.enableBeforeSeparators:E,O=e.beforeSeparatorLength,R=void 0===O?SK.beforeSeparatorLength:O,D=e.beforeSeparatorOffset,P=void 0===D?SK.beforeSeparatorOffset:D,I=e.enableAfterSeparators,z=void 0===I?SK.enableAfterSeparators:I,j=e.afterSeparatorLength,B=void 0===j?SK.afterSeparatorLength:j,F=e.afterSeparatorOffset,H=void 0===F?SK.afterSeparatorOffset:F,$=e.layers,U=void 0===$?SK.layers:$,q=e.annotations,W=void 0===q?SK.annotations:q,V=e.isInteractive,G=void 0===V?SK.isInteractive:V,Y=e.currentPartSizeExtension,X=void 0===Y?SK.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?SK.role:ne,ie=e.ariaLabel,oe=e.ariaLabelledBy,ae=e.ariaDescribedBy,se=e.forwardedRef,le=GF(n,r,i),ce=le.margin,ue=le.innerWidth,de=le.innerHeight,fe=le.outerWidth,he=le.outerHeight,pe=AK({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:B,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=jc(RK,{beforeSeparators:be,afterSeparators:ye},"separators")),U.includes("parts")&&(we.parts=jc(LK,{parts:ve,areaGenerator:ge,borderGenerator:me},"parts")),null!=U&&U.includes("annotations")&&(we.annotations=jc(DK,{parts:ve,annotations:W},"annotations")),U.includes("labels")&&A&&(we.labels=jc(NK,{parts:ve},"labels")),jc(zF,{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?jc(vo,{children:go(e,_e)},t):null!=(n=null==we?void 0:we[e])?n:null}))})},zK=Wa((function(e,t){var n=e.isInteractive,r=void 0===n?SK.isInteractive:n,i=e.animate,o=void 0===i?SK.animate:i,a=e.motionConfig,s=void 0===a?SK.motionConfig:a,l=e.theme,c=e.renderWrapper,u=CK(e,PK);return jc(vF,{animate:o,isInteractive:r,motionConfig:s,renderWrapper:c,theme:l,children:jc(IK,kK({isInteractive:r},u,{forwardedRef:t}))})})),jK=["defaultWidth","defaultHeight","onResize","debounceResize"],BK=Wa((function(e,t){var n=e.defaultWidth,r=e.defaultHeight,i=e.onResize,o=e.debounceResize,a=CK(e,jK);return jc(_F,{defaultWidth:n,defaultHeight:r,onResize:i,debounceResize:o,children:function(e){var n=e.width,r=e.height;return jc(zK,kK({width:n,height:r},a,{ref:t}))}})}));const FK={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)"}},HK=e=>{const t=WR(),{animate:n,config:r}=pF(),i=QA({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"),jc(PY.g,{transform:i.transform,children:jc(_H,{style:{...t.labels.text,pointerEvents:"none"},lineHeight:1.2,children:o.map(((e,t)=>jc(PY.tspan,{x:0,dy:0===t?0:"1.2em",children:e},t)))},e.data.id)})},$K=e=>{const{parts:t}=e;return t.map((e=>jc(HK,{...e},e.data.id)))},UK=e=>{const{data:t,title:n,translations:r,height:i=400,width:o="100%"}=e,a=r["no-results"],s=sa((()=>[...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?jc(Ex,{title:n,children:jc("div",{role:"img",tabIndex:0,style:{width:o,height:i},children:jc(BK,{data:s,theme:FK,enableLabel:!1,layers:["separators","parts","labels","annotations",$K],interpolation:"linear",spacing:5,shapeBlending:0,borderWidth:0,colors:e=>e.color,labelColor:{theme:"background"},enableAfterSeparators:!1})})}):jc(Ex,{title:n,children:jc(RW,{label:a,width:o,height:i,ariaLabel:a})})};function qK(){return qK=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},qK.apply(null,arguments)}var WK={pointerEvents:"none"},VK=function(e){var t=e.label,n=e.style,r=WR();return jc(uE.g,{transform:n.transform,opacity:n.progress,style:WK,children:jc(_H,{textAnchor:"middle",dominantBaseline:"central",style:qK({},r.labels.text,{fill:n.textColor}),children:t})})},GK=function(e){var t=e%(2*Math.PI);return t<0&&(t+=2*Math.PI),t},YK=function(e,t){return e.filter((function(e){return Math.abs(MF(e.arc.endAngle-e.arc.startAngle))>=t}))},XK={startAngle:{enter:function(e){return qK({},e,{endAngle:e.startAngle})},update:function(e){return e},leave:function(e){return qK({},e,{startAngle:e.endAngle})}},middleAngle:{enter:function(e){var t=e.startAngle+(e.endAngle-e.startAngle)/2;return qK({},e,{startAngle:t,endAngle:t})},update:function(e){return e},leave:function(e){var t=e.startAngle+(e.endAngle-e.startAngle)/2;return qK({},e,{startAngle:t,endAngle:t})}},endAngle:{enter:function(e){return qK({},e,{startAngle:e.endAngle})},update:function(e){return e},leave:function(e){return qK({},e,{endAngle:e.startAngle})}},innerRadius:{enter:function(e){return qK({},e,{outerRadius:e.innerRadius})},update:function(e){return e},leave:function(e){return qK({},e,{innerRadius:e.outerRadius})}},centerRadius:{enter:function(e){var t=e.innerRadius+(e.outerRadius-e.innerRadius)/2;return qK({},e,{innerRadius:t,outerRadius:t})},update:function(e){return e},leave:function(e){var t=e.innerRadius+(e.outerRadius-e.innerRadius)/2;return qK({},e,{innerRadius:t,outerRadius:t})}},outerRadius:{enter:function(e){return qK({},e,{innerRadius:e.outerRadius})},update:function(e){return e},leave:function(e){return qK({},e,{outerRadius:e.innerRadius})}},pushIn:{enter:function(e){return qK({},e,{innerRadius:e.innerRadius-e.outerRadius+e.innerRadius,outerRadius:e.innerRadius})},update:function(e){return e},leave:function(e){return qK({},e,{innerRadius:e.outerRadius,outerRadius:e.outerRadius+e.outerRadius-e.innerRadius})}},pushOut:{enter:function(e){return qK({},e,{innerRadius:e.outerRadius,outerRadius:e.outerRadius+e.outerRadius-e.innerRadius})},update:function(e){return e},leave:function(e){return qK({},e,{innerRadius:e.innerRadius-e.outerRadius+e.innerRadius,outerRadius:e.innerRadius})}}},ZK=function(e,t){return sa((function(){var n=XK[e];return{enter:function(e){return qK({progress:0},n.enter(e.arc),t?t.enter(e):{})},update:function(e){return qK({progress:1},n.update(e.arc),t?t.update(e):{})},leave:function(e){return qK({progress:0},n.leave(e.arc),t?t.leave(e):{})}}}),[e,t])},KK=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 LF(n,r)},JK=function(e){return function(t,n,r,i){return aM([t,n,r,i],(function(t,n,r,i){var o=KK({startAngle:t,endAngle:n,innerRadius:r,outerRadius:i},e);return"translate("+o.x+","+o.y+")"}))}},QK=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?VK:c,d=JF(i),f=WR(),h=XU(l,f),p=sa((function(){return n.filter((function(e){var t=Math.abs(MF(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=pF(),i=r.animate,o=r.config,a=ZK(n,void 0);return{transition:eM(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:JK(t)}}(p,o,r),m=g.transition,v=g.interpolate,b=u;return jc("g",{transform:"translate("+t[0]+","+t[1]+")",children:m((function(e,t){return go(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)}})}))})},eJ=function(e){var t=e.label,n=e.style,r=WR();return jc(uE.g,{opacity:n.opacity,children:[jc(uE.path,{fill:"none",stroke:n.linkColor,strokeWidth:n.thickness,d:n.path}),jc(_H,{transform:n.textPosition,textAnchor:n.textAnchor,dominantBaseline:"central",style:qK({},r.labels.text,{fill:n.textColor}),children:t})]})},tJ=function(e,t,n,r){var i,o,a=GK(e.startAngle+(e.endAngle-e.startAngle)/2-Math.PI/2),s=LF(a,e.outerRadius+t),l=LF(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]}},nJ=Jv().x((function(e){return e.x})).y((function(e){return e.y})),rJ=function(e,t,n,r,i,o,a){return aM([e,t,n,r,i,o,a],(function(e,t,n,r,i,o,a){var s=tJ({startAngle:e,endAngle:t,outerRadius:r},i,o,a).points;return nJ(s)}))},iJ=function(e,t,n,r){return aM([e,t,n,r],(function(e,t,n,r){return function(e){var t=GK(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})}))},oJ=function(e,t,n,r,i,o,a,s){return aM([e,t,n,r,i,o,a,s],(function(e,t,n,r,i,o,a,s){var l=tJ({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+")"}))},aJ=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?eJ:f,p=JF(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=pF(),f=d.animate,h=d.config,p=WR(),g=XU(c,p),m=XU(u,p),v=function(e,t){return sa((function(){return YK(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 sa((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:eM(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:rJ,interpolateTextAnchor:iJ,interpolateTextPosition:oJ}}({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 jc("g",{transform:"translate("+t[0]+","+t[1]+")",children:m((function(e,t){return go(_,{key:t.id,datum:t,label:p(t),style:qK({},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)})})}))})},sJ=function(e){var t=e.datum,n=e.style,r=e.onClick,i=e.onMouseEnter,o=e.onMouseMove,a=e.onMouseLeave,s=la((function(e){return null==r?void 0:r(t,e)}),[r,t]),l=la((function(e){return null==i?void 0:i(t,e)}),[i,t]),c=la((function(e){return null==o?void 0:o(t,e)}),[o,t]),u=la((function(e){return null==a?void 0:a(t,e)}),[a,t]);return jc(uE.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})},lJ=function(e,t,n,r,i){return aM([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)})}))},cJ=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?sJ:d,h=WR(),p=XU(o,h),g=function(e,t,n){void 0===t&&(t="innerRadius");var r=pF(),i=r.animate,o=r.config,a=ZK(t,n);return{transition:eM(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}}(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 jc("g",{transform:"translate("+t[0]+","+t[1]+")",children:m((function(e,t){return go(b,{key:t.id,datum:t,style:qK({},e,{borderWidth:i,path:v(e.startAngle,e.endAngle,e.innerRadius,e.outerRadius,r)}),onClick:a,onMouseEnter:s,onMouseMove:l,onMouseLeave:c})}))})},uJ=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 sa((function(){return Vv().innerRadius((function(e){return e.innerRadius})).outerRadius((function(e){return e.outerRadius})).cornerRadius(r).padAngle(o)}),[r,o])};function dJ(){return dJ=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},dJ.apply(null,arguments)}function fJ(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 hJ,pJ=function(e){var t=e.width,n=e.height,r=e.legends,i=e.data,o=e.toggleSerie;return jc(vo,{children:r.map((function(e,r){var a;return jc(gq,dJ({},e,{containerWidth:t,containerHeight:n,data:null!=(a=e.data)?a:i,toggleSerie:e.toggleSerie?o:void 0}),r)}))})},gJ={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 jc(JR,{id:t.id,value:t.formattedValue,enableChip:!0,color:t.color})},legends:[],role:"img",pixelRatio:"undefined"!=typeof window&&null!=(hJ=window.devicePixelRatio)?hJ:1},mJ=["points"],vJ=function(e){var t=e.data,n=e.id,r=void 0===n?gJ.id:n,i=e.value,o=void 0===i?gJ.value:i,a=e.valueFormat,s=e.colors,l=void 0===s?gJ.colors:s,c=JF(r),u=JF(o),d=ZF(a),f=JU(l,"id");return sa((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 dJ({},i,{color:f(i)})}))}),[t,c,u,d,f])},bJ=function(e){var t=e.data,n=e.width,r=e.height,i=e.innerRadius,o=void 0===i?gJ.innerRadius:i,a=e.startAngle,s=void 0===a?gJ.startAngle:a,l=e.endAngle,c=void 0===l?gJ.endAngle:l,u=e.padAngle,d=void 0===u?gJ.padAngle:u,f=e.sortByValue,h=void 0===f?gJ.sortByValue:f,p=e.cornerRadius,g=void 0===p?gJ.cornerRadius:p,m=e.fit,v=void 0===m?gJ.fit:m,b=e.activeInnerRadiusOffset,y=void 0===b?gJ.activeInnerRadiusOffset:b,_=e.activeOuterRadiusOffset,w=void 0===_?gJ.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=na(i||void 0===r?null:r),a=o[0],s=o[1];return{activeId:i?t:a,setActiveId:la((function(e){n&&n(e),i||s(e)}),[i,n,s])}}({activeId:x,onActiveIdChange:k,defaultActiveId:C}),A=T.activeId,M=T.setActiveId,L=na([]),E=L[0],N=L[1],O=sa((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=LF(AF(r),n);a.push([s.x,s.y]);var l=LF(AF(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=LF(AF(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=fJ(u,mJ),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=sa((function(){var e=nb().value((function(e){return e.value})).startAngle(AF(n)).endAngle(AF(r)).padAngle(AF(a));return s||e.sortValues(null),e}),[n,r,a,s]),p=sa((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 dJ({},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:MF(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=aa(f);return ia((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=la((function(e){N((function(t){return t.indexOf(e)>-1?t.filter((function(t){return t!==e})):[].concat(t,[e])}))}),[]);return dJ({arcGenerator:uJ({cornerRadius:g,padAngle:AF(d)}),activeId:A,setActiveId:M,toggleSerie:D},R,O)},yJ=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=lD(),g=p.showTooltipFromEvent,m=p.hideTooltip,v=sa((function(){if(a)return function(e,t){null==s||s(e,t)}}),[a,s]),b=sa((function(){if(a)return function(e,t){g(go(f,{datum:e}),t),d(e.id),null==l||l(e,t)}}),[a,g,d,l,f]),y=sa((function(){if(a)return function(e,t){g(go(f,{datum:e}),t),null==c||c(e,t)}}),[a,g,c,f]),_=sa((function(){if(a)return function(e,t){m(),d(null),null==u||u(e,t)}}),[a,m,d,u]);return jc(cJ,{center:t,data:n,arcGenerator:r,borderWidth:i,borderColor:o,transitionMode:h,onClick:v,onMouseEnter:b,onMouseMove:y,onMouseLeave:_})},_J=["isInteractive","animate","motionConfig","theme","renderWrapper"],wJ=function(e){var t=e.data,n=e.id,r=void 0===n?gJ.id:n,i=e.value,o=void 0===i?gJ.value:i,a=e.valueFormat,s=e.sortByValue,l=void 0===s?gJ.sortByValue:s,c=e.layers,u=void 0===c?gJ.layers:c,d=e.startAngle,f=void 0===d?gJ.startAngle:d,h=e.endAngle,p=void 0===h?gJ.endAngle:h,g=e.padAngle,m=void 0===g?gJ.padAngle:g,v=e.fit,b=void 0===v?gJ.fit:v,y=e.innerRadius,_=void 0===y?gJ.innerRadius:y,w=e.cornerRadius,x=void 0===w?gJ.cornerRadius:w,k=e.activeInnerRadiusOffset,C=void 0===k?gJ.activeInnerRadiusOffset:k,S=e.activeOuterRadiusOffset,T=void 0===S?gJ.activeOuterRadiusOffset:S,A=e.width,M=e.height,L=e.margin,E=e.colors,N=void 0===E?gJ.colors:E,O=e.borderWidth,R=void 0===O?gJ.borderWidth:O,D=e.borderColor,P=void 0===D?gJ.borderColor:D,I=e.enableArcLabels,z=void 0===I?gJ.enableArcLabels:I,j=e.arcLabel,B=void 0===j?gJ.arcLabel:j,F=e.arcLabelsSkipAngle,H=void 0===F?gJ.arcLabelsSkipAngle:F,$=e.arcLabelsSkipRadius,U=void 0===$?gJ.arcLabelsSkipRadius:$,q=e.arcLabelsTextColor,W=void 0===q?gJ.arcLabelsTextColor:q,V=e.arcLabelsRadiusOffset,G=void 0===V?gJ.arcLabelsRadiusOffset:V,Y=e.arcLabelsComponent,X=e.enableArcLinkLabels,Z=void 0===X?gJ.enableArcLinkLabels:X,K=e.arcLinkLabel,J=void 0===K?gJ.arcLinkLabel:K,Q=e.arcLinkLabelsSkipAngle,ee=void 0===Q?gJ.arcLinkLabelsSkipAngle:Q,te=e.arcLinkLabelsOffset,ne=void 0===te?gJ.arcLinkLabelsOffset:te,re=e.arcLinkLabelsDiagonalLength,ie=void 0===re?gJ.arcLinkLabelsDiagonalLength:re,oe=e.arcLinkLabelsStraightLength,ae=void 0===oe?gJ.arcLinkLabelsStraightLength:oe,se=e.arcLinkLabelsThickness,le=void 0===se?gJ.arcLinkLabelsThickness:se,ce=e.arcLinkLabelsTextOffset,ue=void 0===ce?gJ.arcLinkLabelsTextOffset:ce,de=e.arcLinkLabelsTextColor,fe=void 0===de?gJ.arcLinkLabelsTextColor:de,he=e.arcLinkLabelsColor,pe=void 0===he?gJ.arcLinkLabelsColor:he,ge=e.arcLinkLabelComponent,me=e.defs,ve=void 0===me?gJ.defs:me,be=e.fill,ye=void 0===be?gJ.fill:be,_e=e.isInteractive,we=void 0===_e?gJ.isInteractive:_e,xe=e.onClick,ke=e.onMouseEnter,Ce=e.onMouseMove,Se=e.onMouseLeave,Te=e.tooltip,Ae=void 0===Te?gJ.tooltip:Te,Me=e.activeId,Le=e.onActiveIdChange,Ee=e.defaultActiveId,Ne=e.transitionMode,Oe=void 0===Ne?gJ.transitionMode:Ne,Re=e.legends,De=void 0===Re?gJ.legends:Re,Pe=e.forwardLegendData,Ie=e.role,ze=void 0===Ie?gJ.role:Ie,je=e.forwardedRef,Be=GF(A,M,L),Fe=Be.outerWidth,He=Be.outerHeight,$e=Be.margin,Ue=Be.innerWidth,qe=Be.innerHeight,We=vJ({data:t,id:r,value:o,valueFormat:a,colors:N}),Ve=bJ({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=iH(ve,Ge,ye),rt={arcs:null,arcLinkLabels:null,arcLabels:null,legends:null};u.includes("arcs")&&(rt.arcs=jc(yJ,{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=jc(aJ,{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=jc(QK,{center:[Ze,Ke],data:Ge,label:B,radiusOffset:G,skipAngle:H,skipRadius:U,textColor:W,transitionMode:Oe,component:Y},"arcLabels")),De.length>0&&u.includes("legends")&&(rt.legends=jc(pJ,{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 sa((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 jc(zF,{width:Fe,height:He,margin:$e,defs:nt,role:ze,ref:je,children:u.map((function(e,t){return void 0!==rt[e]?rt[e]:"function"==typeof e?jc(vo,{children:go(e,it)},t):null}))})},xJ=Wa((function(e,t){var n=e.isInteractive,r=void 0===n?gJ.isInteractive:n,i=e.animate,o=void 0===i?gJ.animate:i,a=e.motionConfig,s=void 0===a?gJ.motionConfig:a,l=e.theme,c=e.renderWrapper,u=fJ(e,_J);return jc(vF,{animate:o,isInteractive:r,motionConfig:s,renderWrapper:c,theme:l,children:jc(wJ,dJ({isInteractive:r},u,{forwardedRef:t}))})})),kJ=["defaultWidth","defaultHeight","onResize","debounceResize"];Wa((function(e,t){var n=e.defaultWidth,r=e.defaultHeight,i=e.onResize,o=e.debounceResize,a=fJ(e,kJ);return jc(_F,{defaultWidth:n,defaultHeight:r,onResize:i,debounceResize:o,children:function(e){var n=e.width,r=e.height;return jc(xJ,dJ({width:n,height:r},a,{ref:t}))}})}));var CJ=["isInteractive","theme","renderWrapper"],SJ=function(e){var t=e.data,n=e.id,r=void 0===n?gJ.id:n,i=e.value,o=void 0===i?gJ.value:i,a=e.valueFormat,s=e.sortByValue,l=void 0===s?gJ.sortByValue:s,c=e.startAngle,u=void 0===c?gJ.startAngle:c,d=e.endAngle,f=void 0===d?gJ.endAngle:d,h=e.padAngle,p=void 0===h?gJ.padAngle:h,g=e.fit,m=void 0===g?gJ.fit:g,v=e.innerRadius,b=void 0===v?gJ.innerRadius:v,y=e.cornerRadius,_=void 0===y?gJ.cornerRadius:y,w=e.activeInnerRadiusOffset,x=void 0===w?gJ.activeInnerRadiusOffset:w,k=e.activeOuterRadiusOffset,C=void 0===k?gJ.activeOuterRadiusOffset:k,S=e.width,T=e.height,A=e.margin,M=e.pixelRatio,L=void 0===M?gJ.pixelRatio:M,E=e.colors,N=void 0===E?gJ.colors:E,O=e.borderWidth,R=void 0===O?gJ.borderWidth:O,D=e.borderColor,P=void 0===D?gJ.borderColor:D,I=e.enableArcLabels,z=void 0===I?gJ.enableArcLabels:I,j=e.arcLabel,B=void 0===j?gJ.arcLabel:j,F=e.arcLabelsSkipAngle,H=void 0===F?gJ.arcLabelsSkipAngle:F,$=e.arcLabelsTextColor,U=void 0===$?gJ.arcLabelsTextColor:$,q=e.arcLabelsRadiusOffset,W=void 0===q?gJ.arcLabelsRadiusOffset:q,V=e.enableArcLinkLabels,G=void 0===V?gJ.enableArcLinkLabels:V,Y=e.arcLinkLabel,X=void 0===Y?gJ.arcLinkLabel:Y,Z=e.arcLinkLabelsSkipAngle,K=void 0===Z?gJ.arcLinkLabelsSkipAngle:Z,J=e.arcLinkLabelsOffset,Q=void 0===J?gJ.arcLinkLabelsOffset:J,ee=e.arcLinkLabelsDiagonalLength,te=void 0===ee?gJ.arcLinkLabelsDiagonalLength:ee,ne=e.arcLinkLabelsStraightLength,re=void 0===ne?gJ.arcLinkLabelsStraightLength:ne,ie=e.arcLinkLabelsThickness,oe=void 0===ie?gJ.arcLinkLabelsThickness:ie,ae=e.arcLinkLabelsTextOffset,se=void 0===ae?gJ.arcLinkLabelsTextOffset:ae,le=e.arcLinkLabelsTextColor,ce=void 0===le?gJ.arcLinkLabelsTextColor:le,ue=e.arcLinkLabelsColor,de=void 0===ue?gJ.arcLinkLabelsColor:ue,fe=e.isInteractive,he=void 0===fe?gJ.isInteractive:fe,pe=e.onClick,ge=e.onMouseMove,me=e.tooltip,ve=void 0===me?gJ.tooltip:me,be=e.activeId,ye=e.onActiveIdChange,_e=e.defaultActiveId,we=e.legends,xe=void 0===we?gJ.legends:we,ke=e.forwardLegendData,Ce=e.role,Se=e.forwardedRef,Te=aa(null),Ae=WR(),Me=GF(S,T,A),Le=Me.margin,Ee=Me.innerWidth,Ne=Me.innerHeight,Oe=Me.outerWidth,Re=Me.outerHeight,De=vJ({data:t,id:r,value:o,valueFormat:a,colors:N}),Pe=bJ({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,je=Pe.centerX,Be=Pe.centerY,Fe=Pe.radius,He=Pe.innerRadius,$e=Pe.setActiveId,Ue=XU(P,Ae),qe=function(e){var t=e.data,n=e.offset,r=e.skipAngle,i=e.label,o=e.textColor,a=JF(i),s=WR(),l=XU(o,s),c=la((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 sa((function(){return YK(t,o).map((function(e){var t=KK(e.arc,r);return qK({},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:B,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=JF(l),f=WR(),h=XU(c,f),p=XU(u,f),g=la((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"),qK({},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=sa((function(){return t.filter((function(e){return Math.abs(MF(e.arc.endAngle-e.arc.startAngle))>=r})).map((function(e){return qK({},tJ(e.arc,o,a,s),{data:e})}))}),[t,r,o,a,s]);return sa((function(){return u.map((function(e){return qK({},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});ia((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(je,Be),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",aH(e,n.labels.text),t.forEach((function(t){e.textAlign=EF.canvas.align[t.textAnchor],sH(e,qK({},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){aH(e,n.labels.text),e.textAlign="center",e.textBaseline="middle",t.forEach((function(t){sH(e,qK({},n.labels.text,{fill:t.textColor}),String(t.label),t.x,t.y)}))}(e,qe,Ae),e.restore(),xe.forEach((function(t){vq(e,dJ({},t,{data:Ie,containerWidth:Ee,containerHeight:Ne,theme:Ae}))}))}}),[Te,Ee,Ne,Oe,Re,Le.top,Le.left,L,je,Be,ze,Ie,R,Ue,z,qe,G,We,oe,xe,Ae]);var Ve=sa((function(){return Ie.map((function(e){return dJ({id:e.id},e.arc)}))}),[Ie]),Ge=function(e){if(!Te.current)return null;var t=tH(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=QF(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+je,Le.top+Be,Fe,He,Ve,n,r);return i?Ie.find((function(e){return e.id===i.id})):null},Ye=lD(),Xe=Ye.showTooltipFromEvent,Ze=Ye.hideTooltip,Ke=function(e){var t=Ge(e);t?(null==ge||ge(t,e),$e(t.id),Xe(go(ve,{datum:t}),e)):($e(null),Ze())};return jc("canvas",{ref:oH(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})},TJ=Wa((function(e,t){var n=e.isInteractive,r=void 0===n?gJ.isInteractive:n,i=e.theme,o=e.renderWrapper,a=fJ(e,CJ);return jc(vF,{isInteractive:r,renderWrapper:o,theme:i,children:jc(SJ,dJ({isInteractive:r},a,{forwardedRef:t}))})})),AJ=["defaultWidth","defaultHeight","onResize","debounceResize"];Wa((function(e,t){var n=e.defaultWidth,r=e.defaultHeight,i=e.onResize,o=e.debounceResize,a=fJ(e,AJ);return jc(_F,{defaultWidth:n,defaultHeight:r,onResize:i,debounceResize:o,children:function(e){var n=e.width,r=e.height;return jc(TJ,dJ({width:n,height:r},a,{ref:t}))}})}));const MJ={id:"__EMPTY_ARC_DO_NOT_COUNT_IT_USED_FOR_VISUALS__",value:1,color:"var(--bg-control-secondary)",label:""},LJ=["new","flaky","retries"];const EJ=e=>e>1e3?"999+":e.toString(),NJ=e=>{switch(e){case"new":return Bc.testNew;case"flaky":return Bc.lineIconBomb2;case"retries":return Bc.lineGeneralZap}},OJ=e=>{const{stats:t,i18n:n,layout:r}=e;return jc("div",{className:"styles_additionalStats__Yztrs","data-layout":r,children:LJ.map((e=>{const r=t[e]??0;return jc(UC,{style:"primary",tooltip:n(`tests.${e}`,{count:r}),icon:NJ(e),children:r?EJ(r):"-"},e)}))})},RJ=[{limit:1e3,suffix:"K"},{limit:1e6,suffix:"M"},{limit:1e9,suffix:"B"},{limit:1e12,suffix:"T"},{limit:1e15,suffix:"Q"}],DJ=({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<RJ.length;e++){const{limit:t,suffix:n}=RJ[e];if(s=o/t,Math.round(s)<1e3||e===RJ.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}`},PJ=({metric:e,metricType:t,layerProps:n,isEmpty:r,i18n:i,total:o})=>"total"===t||r?jc(IJ,{layer:n,i18n:i,total:o}):"percent"===t?jc(zJ,{layer:n,metric:e,i18n:i,total:o}):null,IJ=({layer:e,i18n:t,total:n})=>{const{radius:r,centerX:i,centerY:o}=e;return jc(jJ,{radius:r,centerX:i,centerY:o,title:n,description:t("total")})},zJ=({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 jc(jJ,{radius:o,centerX:a,centerY:s,title:n("percentage",{percentage:c}),description:n("of",{total:r})})},jJ=({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=sa((()=>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}):DJ({width:e,text:o,symbolWidth:s/3})),[a,e,o,s]),d=sa((()=>(({width:e,text:t,symbolWidth:n})=>{const r=t.match(/\d+/g)||[],i=t.replace(/\d+/g,"").length,o=r.map((t=>DJ({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 jc(vo,{children:[jc("text",{x:t,y:n-c/3,textAnchor:"middle",dominantBaseline:"central",style:{fontSize:s},className:"styles_centeredMetricTitle__-DWkh",children:u}),jc("text",{x:t,y:n+c/1.5,textAnchor:"middle",dominantBaseline:"central",style:{fontSize:l},className:"styles_centeredMetricDescription__7Q2Vf",children:d})]})},BJ=e=>e,FJ=e=>e>=300?284:e-16,HJ={top:8,right:8,bottom:8,left:8},$J={datum:"data.color"},UJ={theme:"background"},qJ=e=>{const{title:t,data:n,statuses:r,metric:i="passed",i18n:o=BJ}=e,a=sa((()=>(e=>{const{data:t,i18n:n,statuses:r=sf}=e,i=[];for(const e of r)e in t&&i.push({color:DW(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,LJ.some((e=>e in u)));var u;const d=c?362:300;return jc(Ex,{title:t??"",centerContent:!0,children:jc(xw,{children:e=>jc("div",{className:"styles_wrapper__UrP78","data-layout":e>d?"vertical":"horizontal",children:[jc("div",{className:"styles_pie__EtJEe",children:jc(xJ,{width:FJ(c?e-62:e),height:FJ(c?e-62:e),data:l?[MJ]:a,margin:HJ,colors:$J,innerRadius:.75,padAngle:1,cornerRadius:4,activeOuterRadiusOffset:4,borderWidth:0,borderColor:UJ,enableArcLabels:!1,enableArcLinkLabels:!1,isInteractive:!l,sortByValue:!0,transitionMode:"startAngle",layers:["arcs",e=>jc(PJ,{layerProps:e,i18n:o,metricType:"percent",metric:i,isEmpty:l,total:s})],animate:!vY,motionConfig:mY,tooltip:WJ,theme:_Y})}),c&&jc(OJ,{stats:n,i18n:o,layout:e>d?"vertical":"horizontal"})]})})})},WJ=e=>{const{datum:t}=e,n=sa((()=>({id:t.id.toString(),color:t.color,label:t.label,value:t.value})),[t]);return jc(FY,{children:jc(qY,{mode:"default",legend:n})})},VJ=e=>{const{title:t,data:n,statuses:r=sf,i18n:i}=e,o=n.find((e=>"current"===e.id)),a=r.map((e=>({id:e,label:i(`status.${e}`),color:DW(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?jc(Ex,{title:t,children:jc(Y_,{title:i("no-results"),icon:Bc.lineChartsBarChartSquare})}):1===n.length&&o||c?jc(Ex,{title:t,children:jc(Y_,{title:i("no-history"),icon:Bc.lineChartsBarChartSquare})}):jc(Ex,{title:t,children:jc(fK,{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)?$Y(Math.abs(Number(e))):""},formatLegendValue:({value:e})=>e?$Y(e):"-",noLegend:!0,maxValue:d})})},GJ=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)"}},YJ=["fixed","regressed","malfunctioned"],XJ=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=PW({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=sa((()=>[...YJ.map((e=>({id:e,label:r(`transitions.${e}`),color:GJ(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?jc(Ex,{title:t,children:jc(Y_,{title:r("no-results"),icon:Bc.lineChartsBarChartSquare})}):1===n.length&&a||c?jc(Ex,{title:t,children:jc(Y_,{title:r("no-history"),icon:Bc.lineChartsBarChartSquare})}):jc(Ex,{title:t,children:jc(fK,{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?$Y(Math.abs(Number(e))):"-",noLegend:!0,formatLeftTick:e=>{const t=Math.abs(Number(e));return Number.isInteger(t)?$Y(Math.abs(Number(e))):""},minValue:-i,maxValue:i})})},ZJ=["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)"],KJ=e=>{const{title:t,data:n,i18n:r,groupBy:i,keys:o}=e,a=sa((()=>(e=>e.reduce(((e,t,n)=>{let r=ZJ[n];return r||(r=ZJ[n-ZJ.length]),e[t]=r,e}),{}))(Object.keys(o))),[o]),s=r("legend.total"),l=sa((()=>Object.entries(o).map((([e,t])=>({id:e,label:"none"===i?s:t,color:a[e]})))),[o,a,i,s]),c=sa((()=>n.map((e=>({id:`${e.from}-${e.to}`,...e})))),[n]),u=1.01*sa((()=>{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 jc(Ex,d?{title:t,children:jc(Y_,{title:r("no-results"),icon:Bc.lineChartsBarChartSquare})}:{title:t,children:jc(fK,{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)?$Y(Math.abs(Number(e))):""},maxValue:u})})},JJ=e=>{const{title:t,data:n,i18n:r,statuses:i}=e,o=sa((()=>i.map((e=>({id:e,label:r(`status.${e}`),color:DW(e)})))),[i,r]),a=n,s=a.every((e=>i.every((t=>0===e[t]))));return jc(Ex,s?{title:t,children:jc(Y_,{title:r("no-results"),icon:Bc.lineChartsBarChartSquare})}:{title:t,children:jc(fK,{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?$Y(Math.abs(Number(e))):"-",noLegend:!0,formatLeftTick:e=>{const t=Math.abs(Number(e));return Number.isInteger(t)?$Y(Math.abs(Number(e))):""}})})},QJ=e=>0===e.duration&&0===e.sequentialDuration,eQ=e=>{const{title:t,data:n,i18n:r}=e,i=n,o=sa((()=>[{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=>QJ(e)))||!a||QJ(a)?jc(Ex,{title:t,children:jc(Y_,{title:r("no-results"),icon:Bc.lineChartsBarChartSquare})}):jc(Ex,{title:t,children:jc(fK,{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 tQ="http://www.w3.org/1999/xhtml",nQ={svg:"http://www.w3.org/2000/svg",xhtml:tQ,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function rQ(e){var t=e+="",n=t.indexOf(":");return n>=0&&"xmlns"!==(t=e.slice(0,n))&&(e=e.slice(n+1)),nQ.hasOwnProperty(t)?{space:nQ[t],local:e}:e}function iQ(e){return function(){var t=this.ownerDocument,n=this.namespaceURI;return n===tQ&&t.documentElement.namespaceURI===tQ?t.createElement(e):t.createElementNS(n,e)}}function oQ(e){return function(){return this.ownerDocument.createElementNS(e.space,e.local)}}function aQ(e){var t=rQ(e);return(t.local?oQ:iQ)(t)}function sQ(){}function lQ(e){return null==e?sQ:function(){return this.querySelector(e)}}function cQ(){return[]}function uQ(e){return null==e?cQ:function(){return this.querySelectorAll(e)}}function dQ(e){return function(){return this.matches(e)}}function fQ(e){return function(t){return t.matches(e)}}var hQ=Array.prototype.find;function pQ(){return this.firstElementChild}var gQ=Array.prototype.filter;function mQ(){return Array.from(this.children)}function vQ(e){return new Array(e.length)}function bQ(e,t){this.ownerDocument=e.ownerDocument,this.namespaceURI=e.namespaceURI,this._next=null,this._parent=e,this.__data__=t}function yQ(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 bQ(e,o[s]);for(;s<l;++s)(a=t[s])&&(i[s]=a)}function _Q(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 bQ(e,o[s]);for(s=0;s<d;++s)(l=t[s])&&u.get(h[s])===l&&(i[s]=l)}function wQ(e){return e.__data__}function xQ(e){return"object"==typeof e&&"length"in e?e:Array.from(e)}function kQ(e,t){return e<t?-1:e>t?1:e>=t?0:NaN}function CQ(e){return function(){this.removeAttribute(e)}}function SQ(e){return function(){this.removeAttributeNS(e.space,e.local)}}function TQ(e,t){return function(){this.setAttribute(e,t)}}function AQ(e,t){return function(){this.setAttributeNS(e.space,e.local,t)}}function MQ(e,t){return function(){var n=t.apply(this,arguments);null==n?this.removeAttribute(e):this.setAttribute(e,n)}}function LQ(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 EQ(e){return e.ownerDocument&&e.ownerDocument.defaultView||e.document&&e||e.defaultView}function NQ(e){return function(){this.style.removeProperty(e)}}function OQ(e,t,n){return function(){this.style.setProperty(e,t,n)}}function RQ(e,t,n){return function(){var r=t.apply(this,arguments);null==r?this.style.removeProperty(e):this.style.setProperty(e,r,n)}}function DQ(e,t){return e.style.getPropertyValue(t)||EQ(e).getComputedStyle(e,null).getPropertyValue(t)}function PQ(e){return function(){delete this[e]}}function IQ(e,t){return function(){this[e]=t}}function zQ(e,t){return function(){var n=t.apply(this,arguments);null==n?delete this[e]:this[e]=n}}function jQ(e){return e.trim().split(/^|\s+/)}function BQ(e){return e.classList||new FQ(e)}function FQ(e){this._node=e,this._names=jQ(e.getAttribute("class")||"")}function HQ(e,t){for(var n=BQ(e),r=-1,i=t.length;++r<i;)n.add(t[r])}function $Q(e,t){for(var n=BQ(e),r=-1,i=t.length;++r<i;)n.remove(t[r])}function UQ(e){return function(){HQ(this,e)}}function qQ(e){return function(){$Q(this,e)}}function WQ(e,t){return function(){(t.apply(this,arguments)?HQ:$Q)(this,e)}}function VQ(){this.textContent=""}function GQ(e){return function(){this.textContent=e}}function YQ(e){return function(){var t=e.apply(this,arguments);this.textContent=null==t?"":t}}function XQ(){this.innerHTML=""}function ZQ(e){return function(){this.innerHTML=e}}function KQ(e){return function(){var t=e.apply(this,arguments);this.innerHTML=null==t?"":t}}function JQ(){this.nextSibling&&this.parentNode.appendChild(this)}function QQ(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function e0(){return null}function t0(){var e=this.parentNode;e&&e.removeChild(this)}function n0(){var e=this.cloneNode(!1),t=this.parentNode;return t?t.insertBefore(e,this.nextSibling):e}function r0(){var e=this.cloneNode(!0),t=this.parentNode;return t?t.insertBefore(e,this.nextSibling):e}function i0(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 o0(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 a0(e,t,n){var r=EQ(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 s0(e,t){return function(){return a0(this,e,t)}}function l0(e,t){return function(){return a0(this,e,t.apply(this,arguments))}}bQ.prototype={constructor:bQ,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)}},FQ.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 c0=[null];function u0(e,t){this._groups=e,this._parents=t}function d0(){return new u0([[document.documentElement]],c0)}function f0(e){return"string"==typeof e?new u0([[document.querySelector(e)]],[document.documentElement]):new u0([[e]],c0)}function h0(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]}u0.prototype=d0.prototype={constructor:u0,select:function(e){"function"!=typeof e&&(e=lQ(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 u0(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):uQ(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 u0(r,i)},selectChild:function(e){return this.select(null==e?pQ:function(e){return function(){return hQ.call(this.children,e)}}("function"==typeof e?e:fQ(e)))},selectChildren:function(e){return this.selectAll(null==e?mQ:function(e){return function(){return gQ.call(this.children,e)}}("function"==typeof e?e:fQ(e)))},filter:function(e){"function"!=typeof e&&(e=dQ(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 u0(r,this._parents)},data:function(e,t){if(!arguments.length)return Array.from(this,wQ);var n=t?_Q:yQ,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=xQ(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 u0(a,r))._enter=s,a._exit=l,a},enter:function(){return new u0(this._enter||this._groups.map(vQ),this._parents)},exit:function(){return new u0(this._exit||this._groups.map(vQ),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 u0(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=kQ);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 u0(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=rQ(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?SQ:CQ:"function"==typeof t?n.local?LQ:MQ:n.local?AQ:TQ)(n,t))},style:function(e,t,n){return arguments.length>1?this.each((null==t?NQ:"function"==typeof t?RQ:OQ)(e,t,null==n?"":n)):DQ(this.node(),e)},property:function(e,t){return arguments.length>1?this.each((null==t?PQ:"function"==typeof t?zQ:IQ)(e,t)):this.node()[e]},classed:function(e,t){var n=jQ(e+"");if(arguments.length<2){for(var r=BQ(this.node()),i=-1,o=n.length;++i<o;)if(!r.contains(n[i]))return!1;return!0}return this.each(("function"==typeof t?WQ:t?UQ:qQ)(n,t))},text:function(e){return arguments.length?this.each(null==e?VQ:("function"==typeof e?YQ:GQ)(e)):this.node().textContent},html:function(e){return arguments.length?this.each(null==e?XQ:("function"==typeof e?KQ:ZQ)(e)):this.node().innerHTML},raise:function(){return this.each(JQ)},lower:function(){return this.each(QQ)},append:function(e){var t="function"==typeof e?e:aQ(e);return this.select((function(){return this.appendChild(t.apply(this,arguments))}))},insert:function(e,t){var n="function"==typeof e?e:aQ(e),r=null==t?e0:"function"==typeof t?t:lQ(t);return this.select((function(){return this.insertBefore(n.apply(this,arguments),r.apply(this,arguments)||null)}))},remove:function(){return this.each(t0)},clone:function(e){return this.select(e?r0:n0)},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?o0:i0,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?l0:s0)(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 p0={value:()=>{}};function g0(){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 m0(r)}function m0(e){this._=e}function v0(e,t){for(var n,r=0,i=e.length;r<i;++r)if((n=e[r]).name===t)return n.value}function b0(e,t,n){for(var r=0,i=e.length;r<i;++r)if(e[r].name===t){e[r]=p0,e=e.slice(0,r).concat(e.slice(r+1));break}return null!=n&&e.push({name:t,value:n}),e}m0.prototype=g0.prototype={constructor:m0,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]=b0(i[n],e.name,t);else if(null==t)for(n in i)i[n]=b0(i[n],e.name,null);return this}for(;++a<s;)if((n=(e=o[a]).type)&&(n=v0(i[n],e.name)))return n},copy:function(){var e={},t=this._;for(var n in t)e[n]=t[n].slice();return new m0(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 y0,_0,w0=0,x0=0,k0=0,C0=0,S0=0,T0=0,A0="object"==typeof performance&&performance.now?performance:Date,M0="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(e){setTimeout(e,17)};function L0(){return S0||(M0(E0),S0=A0.now()+T0)}function E0(){S0=0}function N0(){this._call=this._time=this._next=null}function O0(e,t,n){var r=new N0;return r.restart(e,t,n),r}function R0(){S0=(C0=A0.now())+T0,w0=x0=0;try{!function(){L0(),++w0;for(var e,t=y0;t;)(e=S0-t._time)>=0&&t._call.call(void 0,e),t=t._next;--w0}()}finally{w0=0,function(){for(var e,t,n=y0,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:y0=t);_0=e,P0(r)}(),S0=0}}function D0(){var e=A0.now(),t=e-C0;t>1e3&&(T0-=t,C0=e)}function P0(e){w0||(x0&&(x0=clearTimeout(x0)),e-S0>24?(e<1/0&&(x0=setTimeout(R0,e-A0.now()-T0)),k0&&(k0=clearInterval(k0))):(k0||(C0=A0.now(),k0=setInterval(D0,1e3)),w0=1,M0(R0)))}function I0(e,t,n){var r=new N0;return t=null==t?0:+t,r.restart((n=>{r.stop(),e(n+t)}),t,n),r}N0.prototype=O0.prototype={constructor:N0,restart:function(e,t,n){if("function"!=typeof e)throw new TypeError("callback is not a function");n=(null==n?L0():+n)+(null==t?0:+t),this._next||_0===this||(_0?_0._next=this:y0=this,_0=this),this._call=e,this._time=n,P0()},stop:function(){this._call&&(this._call=null,this._time=1/0,P0())}};var z0=g0("start","end","cancel","interrupt"),j0=[];function B0(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 I0(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(I0((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=O0((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:z0,tween:j0,time:o.time,delay:o.delay,duration:o.duration,ease:o.ease,timer:null,state:0})}function F0(e,t){var n=$0(e,t);if(n.state>0)throw new Error("too late; already scheduled");return n}function H0(e,t){var n=$0(e,t);if(n.state>3)throw new Error("too late; already running");return n}function $0(e,t){var n=e.__transition;if(!n||!(n=n[t]))throw new Error("transition not found");return n}function U0(e,t){var n,r;return function(){var i=H0(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 q0(e,t,n){var r,i;if("function"!=typeof n)throw new Error;return function(){var o=H0(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 W0(e,t,n){var r=e._id;return e.each((function(){var e=H0(this,r);(e.value||(e.value={}))[t]=n.apply(this,arguments)})),function(e){return $0(e,r).value[t]}}function V0(e,t){var n;return("number"==typeof t?Nh:t instanceof Gf?Th:(n=Gf(t))?(t=n,Th):Ph)(e,t)}function G0(e){return function(){this.removeAttribute(e)}}function Y0(e){return function(){this.removeAttributeNS(e.space,e.local)}}function X0(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 Z0(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 K0(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 J0(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 Q0(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 e1(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 t1(e,t){return function(){F0(this,e).delay=+t.apply(this,arguments)}}function n1(e,t){return t=+t,function(){F0(this,e).delay=t}}function r1(e,t){return function(){H0(this,e).duration=+t.apply(this,arguments)}}function i1(e,t){return t=+t,function(){H0(this,e).duration=t}}var o1=d0.prototype.constructor;function a1(e){return function(){this.style.removeProperty(e)}}var s1=0;function l1(e,t,n,r){this._groups=e,this._parents=t,this._name=n,this._id=r}function c1(e){return d0().transition(e)}function u1(){return++s1}var d1=d0.prototype;function f1(e){return((e*=2)<=1?e*e*e:(e-=2)*e*e+2)/2}l1.prototype=c1.prototype={constructor:l1,select:function(e){var t=this._name,n=this._id;"function"!=typeof e&&(e=lQ(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,B0(d[f],t,n,f,d,$0(s,n)));return new l1(o,this._parents,t,n)},selectAll:function(e){var t=this._name,n=this._id;"function"!=typeof e&&(e=uQ(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=$0(l,n),g=0,m=h.length;g<m;++g)(f=h[g])&&B0(f,t,n,g,h,p);o.push(h),a.push(l)}return new l1(o,a,t,n)},selectChild:d1.selectChild,selectChildren:d1.selectChildren,filter:function(e){"function"!=typeof e&&(e=dQ(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 l1(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 l1(a,this._parents,this._name,this._id)},selection:function(){return new o1(this._groups,this._parents)},transition:function(){for(var e=this._name,t=this._id,n=u1(),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=$0(a,t);B0(a,e,n,c,s,{time:u.time+u.delay+u.duration,delay:0,duration:u.duration,ease:u.ease})}return new l1(r,this._parents,e,n)},call:d1.call,nodes:d1.nodes,node:d1.node,size:d1.size,empty:d1.empty,each:d1.each,on:function(e,t){var n=this._id;return arguments.length<2?$0(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)?F0:H0;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=rQ(e),r="transform"===n?qh:V0;return this.attrTween(e,"function"==typeof t?(n.local?J0:K0)(n,r,W0(this,"attr."+e,t)):null==t?(n.local?Y0:G0)(n):(n.local?Z0:X0)(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=rQ(e);return this.tween(n,(r.local?Q0:e1)(r,t))},style:function(e,t,n){var r="transform"==(e+="")?Uh:V0;return null==t?this.styleTween(e,function(e,t){var n,r,i;return function(){var o=DQ(this,e),a=(this.style.removeProperty(e),DQ(this,e));return o===a?null:o===n&&a===r?i:i=t(n=o,r=a)}}(e,r)).on("end.style."+e,a1(e)):"function"==typeof t?this.styleTween(e,function(e,t,n){var r,i,o;return function(){var a=DQ(this,e),s=n(this),l=s+"";return null==s&&(this.style.removeProperty(e),l=s=DQ(this,e)),a===l?null:a===r&&l===i?o:(i=l,o=t(r=a,s))}}(e,r,W0(this,"style."+e,t))).each(function(e,t){var n,r,i,o,a="style."+t,s="end."+a;return function(){var l=H0(this,e),c=l.on,u=null==l.value[a]?o||(o=a1(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=DQ(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}}(W0(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=$0(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?U0:q0)(n,e,t))},delay:function(e){var t=this._id;return arguments.length?this.each(("function"==typeof e?t1:n1)(t,e)):$0(this.node(),t).delay},duration:function(e){var t=this._id;return arguments.length?this.each(("function"==typeof e?r1:i1)(t,e)):$0(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(){H0(this,e).ease=t}}(t,e)):$0(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;H0(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=H0(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]:d1[Symbol.iterator]};var h1={time:null,delay:0,duration:250,ease:f1};function p1(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 g1(e){return e}d0.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)}))},d0.prototype.transition=function(e){var t,n;e instanceof l1?(t=e._id,e=e._name):(t=u1(),(n=h1).time=L0(),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])&&B0(a,e,t,c,s,n||p1(a,t));return new l1(r,this._parents,e,t)};var m1=1e-6;function v1(e){return"translate("+e+",0)"}function b1(e){return"translate(0,"+e+")"}function y1(e){return t=>+e(t)}function _1(e,t){return t=Math.max(0,e.bandwidth()-2*t)/2,e.round()&&(t=Math.round(t)),n=>+e(n)+t}function w1(){return!this.__axis}function x1(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?v1:b1;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):g1:i,g=Math.max(o,0)+s,m=t.range(),v=+m[0]+l,b=+m[m.length-1]+l,y=(t.bandwidth?_1:y1)(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",m1).attr("transform",(function(e){return isFinite(e=y(e))?d(e+l):this.getAttribute("transform")})),C.attr("opacity",m1).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(w1).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 k1(e){return x1(3,e)}const C1={capture:!0,passive:!1};function S1(e){e.preventDefault(),e.stopImmediatePropagation()}var T1=g0("start","end","cancel","interrupt"),A1=[];function M1(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 I0(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(I0((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=O0((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:T1,tween:A1,time:o.time,delay:o.delay,duration:o.duration,ease:o.ease,timer:null,state:0})}function L1(e,t){var n=N1(e,t);if(n.state>0)throw new Error("too late; already scheduled");return n}function E1(e,t){var n=N1(e,t);if(n.state>3)throw new Error("too late; already running");return n}function N1(e,t){var n=e.__transition;if(!n||!(n=n[t]))throw new Error("transition not found");return n}function O1(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 R1(e,t){var n,r;return function(){var i=E1(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 D1(e,t,n){var r,i;if("function"!=typeof n)throw new Error;return function(){var o=E1(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 P1(e,t,n){var r=e._id;return e.each((function(){var e=E1(this,r);(e.value||(e.value={}))[t]=n.apply(this,arguments)})),function(e){return N1(e,r).value[t]}}function I1(e,t){var n;return("number"==typeof t?Nh:t instanceof Gf?Th:(n=Gf(t))?(t=n,Th):Ph)(e,t)}function z1(e){return function(){this.removeAttribute(e)}}function j1(e){return function(){this.removeAttributeNS(e.space,e.local)}}function B1(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 F1(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 H1(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 $1(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 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.setAttributeNS(e.space,e.local,t.call(this,n))}}(e,i)),n}return i._value=t,i}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.setAttribute(e,t.call(this,n))}}(e,i)),n}return i._value=t,i}function W1(e,t){return function(){L1(this,e).delay=+t.apply(this,arguments)}}function V1(e,t){return t=+t,function(){L1(this,e).delay=t}}function G1(e,t){return function(){E1(this,e).duration=+t.apply(this,arguments)}}function Y1(e,t){return t=+t,function(){E1(this,e).duration=t}}var X1=d0.prototype.constructor;function Z1(e){return function(){this.style.removeProperty(e)}}var K1=0;function J1(e,t,n,r){this._groups=e,this._parents=t,this._name=n,this._id=r}function Q1(){return++K1}var e2=d0.prototype;J1.prototype={constructor:J1,select:function(e){var t=this._name,n=this._id;"function"!=typeof e&&(e=lQ(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,M1(d[f],t,n,f,d,N1(s,n)));return new J1(o,this._parents,t,n)},selectAll:function(e){var t=this._name,n=this._id;"function"!=typeof e&&(e=uQ(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=N1(l,n),g=0,m=h.length;g<m;++g)(f=h[g])&&M1(f,t,n,g,h,p);o.push(h),a.push(l)}return new J1(o,a,t,n)},selectChild:e2.selectChild,selectChildren:e2.selectChildren,filter:function(e){"function"!=typeof e&&(e=dQ(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 J1(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 J1(a,this._parents,this._name,this._id)},selection:function(){return new X1(this._groups,this._parents)},transition:function(){for(var e=this._name,t=this._id,n=Q1(),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=N1(a,t);M1(a,e,n,c,s,{time:u.time+u.delay+u.duration,delay:0,duration:u.duration,ease:u.ease})}return new J1(r,this._parents,e,n)},call:e2.call,nodes:e2.nodes,node:e2.node,size:e2.size,empty:e2.empty,each:e2.each,on:function(e,t){var n=this._id;return arguments.length<2?N1(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)?L1:E1;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=rQ(e),r="transform"===n?qh:I1;return this.attrTween(e,"function"==typeof t?(n.local?$1:H1)(n,r,P1(this,"attr."+e,t)):null==t?(n.local?j1:z1)(n):(n.local?F1:B1)(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=rQ(e);return this.tween(n,(r.local?U1:q1)(r,t))},style:function(e,t,n){var r="transform"==(e+="")?Uh:I1;return null==t?this.styleTween(e,function(e,t){var n,r,i;return function(){var o=DQ(this,e),a=(this.style.removeProperty(e),DQ(this,e));return o===a?null:o===n&&a===r?i:i=t(n=o,r=a)}}(e,r)).on("end.style."+e,Z1(e)):"function"==typeof t?this.styleTween(e,function(e,t,n){var r,i,o;return function(){var a=DQ(this,e),s=n(this),l=s+"";return null==s&&(this.style.removeProperty(e),l=s=DQ(this,e)),a===l?null:a===r&&l===i?o:(i=l,o=t(r=a,s))}}(e,r,P1(this,"style."+e,t))).each(function(e,t){var n,r,i,o,a="style."+t,s="end."+a;return function(){var l=E1(this,e),c=l.on,u=null==l.value[a]?o||(o=Z1(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=DQ(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}}(P1(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=N1(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?R1:D1)(n,e,t))},delay:function(e){var t=this._id;return arguments.length?this.each(("function"==typeof e?W1:V1)(t,e)):N1(this.node(),t).delay},duration:function(e){var t=this._id;return arguments.length?this.each(("function"==typeof e?G1:Y1)(t,e)):N1(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(){E1(this,e).ease=t}}(t,e)):N1(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;E1(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=E1(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]:e2[Symbol.iterator]};var t2={time:null,delay:0,duration:250,ease:f1};function n2(e,t){for(var n;!(n=e.__transition)||!(n=n[t]);)if(!(e=e.parentNode))throw new Error(`transition ${t} not found`);return n}d0.prototype.interrupt=function(e){return this.each((function(){O1(this,e)}))},d0.prototype.transition=function(e){var t,n;e instanceof J1?(t=e._id,e=e._name):(t=Q1(),(n=t2).time=L0(),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])&&M1(a,e,t,c,s,n||n2(a,t));return new J1(r,this._parents,e,t)};var r2=e=>()=>e;function i2(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 o2(e){e.preventDefault(),e.stopImmediatePropagation()}var a2={name:"drag"},s2={name:"space"},l2={name:"handle"},c2={name:"center"};const{abs:u2,max:d2,min:f2}=Math;function h2(e){return[+e[0],+e[1]]}function p2(e){return[h2(e[0]),h2(e[1])]}var g2={name:"x",handles:["w","e"].map(x2),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]]}},m2={},v2={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"},b2={e:"w",w:"e",nw:"ne",ne:"nw",se:"sw",sw:"se"},y2={n:"s",s:"n",nw:"sw",ne:"se",se:"ne",sw:"nw"},_2={overlay:1,selection:1,n:null,e:1,s:null,w:-1,nw:-1,ne:1,se:1,sw:-1},w2={overlay:1,selection:1,n:-1,e:null,s:1,w:null,nw:-1,ne:-1,se:1,sw:1};function x2(e){return{type:e}}function k2(e){return!e.ctrlKey&&!e.button}function C2(){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 S2(){return navigator.maxTouchPoints||"ontouchstart"in this}function T2(e){for(;!e.__brush;)if(!(e=e.parentNode))return;return e.__brush}function A2(){return function(e){var t,n=C2,r=k2,i=S2,o=!0,a=g0("start","brush","end"),s=6;function l(t){var n=t.property("__brush",g).selectAll(".overlay").data([x2("overlay")]);n.enter().append("rect").attr("class","overlay").attr("pointer-events","all").attr("cursor",v2.overlay).merge(n).each((function(){var e=T2(this).extent;f0(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([x2("selection")]).enter().append("rect").attr("class","selection").attr("cursor",v2.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 v2[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=f0(this),t=T2(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)?a2:o&&n.altKey?c2:l2,w=e===m2?null:_2[y],x=e===g2?null:w2[y],k=T2(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=h0(e,b)).point0=e.slice(),e.identifier=t,e}));O1(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===m2?T:f2(t[0][0],t[1][0]),s=e===g2?A:f2(t[0][1],t[1][1])],[d=e===m2?M:d2(t[0][0],t[1][0]),h=e===g2?L:d2(t[0][1],t[1][1])]],R.length>1&&B(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=f0(b).attr("pointer-events","none"),I=P.selectAll(".overlay").attr("cursor",v2[y]);if(n.touches)D.moved=j,D.ended=F;else{var z=f0(n.view).on("mousemove.brush",j,!0).on("mouseup.brush",F,!0);o&&z.on("keydown.brush",(function(e){switch(e.keyCode){case 16:O=w&&x;break;case 18:_===l2&&(w&&(d=f-E*w,i=a+E*w),x&&(h=p-N*x,s=l+N*x),_=c2,B(e));break;case 32:_!==l2&&_!==c2||(w<0?d=f-E:w>0&&(i=a-E),x<0?h=p-N:x>0&&(s=l-N),_=s2,I.attr("cursor",v2.selection),B(e));break;default:return}o2(e)}),!0).on("keyup.brush",(function(e){switch(e.keyCode){case 16:O&&(m=v=O=!1,B(e));break;case 18:_===c2&&(w<0?d=f:w>0&&(i=a),x<0?h=p:x>0&&(s=l),_=l2,B(e));break;case 32:_===s2&&(e.altKey?(w&&(d=f-E*w,i=a+E*w),x&&(h=p-N*x,s=l+N*x),_=c2):(w<0?d=f:w>0&&(i=a),x<0?h=p:x>0&&(s=l),_=l2),I.attr("cursor",v2[y]),B(e));break;default:return}o2(e)}),!0),function(e){var t=e.document.documentElement,n=f0(e).on("dragstart.drag",S1,C1);"onselectstart"in t?n.on("selectstart.drag",S1,C1):(t.__noselect=t.style.MozUserSelect,t.style.MozUserSelect="none")}(n.view)}c.call(b),D.start(n,_.name)}function j(e){for(const t of e.changedTouches||[e])for(const e of R)e.identifier===t.identifier&&(e.cur=h0(t,b));if(O&&!m&&!v&&1===R.length){const e=R[0];u2(e.cur[0]-e[0])>u2(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,o2(e),B(e)}function B(e){const t=R[0],n=t.point0;var r;switch(E=t[0]-n[0],N=t[1]-n[1],_){case s2:case a2:w&&(E=d2(T-i,f2(M-d,E)),a=i+E,f=d+E),x&&(N=d2(A-s,f2(L-h,N)),l=s+N,p=h+N);break;case l2:R[1]?(w&&(a=d2(T,f2(M,R[0][0])),f=d2(T,f2(M,R[1][0])),w=1),x&&(l=d2(A,f2(L,R[0][1])),p=d2(A,f2(L,R[1][1])),x=1)):(w<0?(E=d2(T-i,f2(M-i,E)),a=i+E,f=d):w>0&&(E=d2(T-d,f2(M-d,E)),a=i,f=d+E),x<0?(N=d2(A-s,f2(L-s,N)),l=s+N,p=h):x>0&&(N=d2(A-h,f2(L-h,N)),l=s,p=h+N));break;case c2:w&&(a=d2(T,f2(M,i-E*w)),f=d2(T,f2(M,d+E*w))),x&&(l=d2(A,f2(L,s-N*x)),p=d2(A,f2(L,h+N*x)))}f<a&&(w*=-1,r=i,i=d,d=r,r=a,a=f,f=r,y in b2&&I.attr("cursor",v2[y=b2[y]])),p<l&&(x*=-1,r=s,s=h,h=r,r=l,l=p,p=r,y in y2&&I.attr("cursor",v2[y=y2[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=f0(e).on("dragstart.drag",null);t&&(r.on("click.drag",S1,C1),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",v2.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=p2(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=Ih(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();O1(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=f0(this.that).datum();a.call(t,this.that,new i2(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:r2(p2(e)),l):n},l.filter=function(e){return arguments.length?(r="function"==typeof e?e:r2(!!e),l):r},l.touchable=function(e){return arguments.length?(i="function"==typeof e?e:r2(!!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}(g2)}const M2=(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 L2 extends CustomEvent{constructor(e){super("zoom",{detail:e})}}const E2=(e,t=N2)=>{const[n,r]=na(e),i=aa(n),o=aa(t);return ia((()=>{o.current=t}),[t]),ia((()=>{i.current=n,o.current(i.current)}),[n]),[i,n,r]},N2=()=>{},O2=e=>e?e<0?0:e:0;var R2={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 D2=()=>k1(),P2={top:0,right:0,bottom:20,left:0},I2=300,z2=20,j2=()=>{},B2=e=>{const{width:t=I2,height:n=z2,margins:r=P2,domainRange:i,currentSelection:o,tickFormat:a,onChange:s=j2,onReset:l=j2,selectedTestsCount:c,totalTestsCount:u,translations:d,transitionDuration:f=300}=e,h=O2(t-r.left-r.right),p=O2(n-r.top-r.bottom),[g,m,v]=E2((()=>Hp().domain(i).range([0,h])));ia((()=>{v((()=>Hp().domain(i).range([0,h])))}),[i,h]);const b=aa(null),y=aa(null),_=aa(null),w=aa(null),x=aa(null),k=aa(null),C=aa(s),S=aa(l);ia((()=>{C.current=s,S.current=l}),[s,l]);const T=aa(D2().tickFormat((()=>""))),A=aa(D2().tickPadding(0)),M=aa(A2().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)})));ia((()=>{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),f0(y.current).attr("transform",`translate(${r.left},${r.top})`),f0(_.current).exit().transition().duration(f).attr("width",0).attr("height",0),w.current&&(f0(w.current).attr("transform",`translate(0,${p})`),f0(w.current).call(T.current)),x.current&&(f0(x.current).attr("transform",`translate(0,${p})`),f0(x.current).call(A.current).selectAll("text").attr("y",8)),k.current){const e=f0(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 jc("svg",{ref:b,className:R2.brusher,width:t,height:n+14,children:jc("g",{ref:y,className:R2.brusherMargins,children:[jc("rect",{ref:_,className:R2.gridBackground}),jc("g",{ref:k,className:R2.brush}),jc("g",{className:R2.axises,children:[jc("g",{ref:w,className:R2.xGrid}),jc("g",{ref:x,className:R2.xAxis}),jc("text",{x:h/2,y:60,textAnchor:"middle",className:R2.durationRangeText,children:d.selected({count:c,percentage:L,minDuration:pf(o[0]),maxDuration:pf(o[1])})})]})]})})},F2=e=>{const{segments:t,groupId:n,groupName:r,offsetTime:i}=e,[o,a]=sa((()=>{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 jc("div",{className:R2.tooltipContent,children:[jc("div",{children:r}),jc("div",{children:[pf(o-i)," — ",pf(a-i)]})]})},H2=Ho(null),$2=e=>{const{children:t,width:n}=e;return jc(H2.Provider,{value:n,children:t})},U2=()=>{},q2=e=>{const{children:t,width:n,onResize:r,debounceResize:i=0}=e,[o]=wD(n,i);return ia((()=>{r?.(o)}),[o,r]),o>0?jc($2,{width:o,children:t}):null},W2=e=>{const{children:t,defaultWidth:n=0,onResize:r=U2,debounceResize:i=0}=e,o=aa(null),[a,s]=na(n);return ia((()=>{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]),jc("div",{ref:o,children:jc(q2,{width:a,onResize:r,debounceResize:i,children:t})})},V2=e=>{const{segment:t,offsetTime:n}=e;if(!t.id)return null;const r=t.labelGroup.length>1;return jc("div",{className:R2.tooltipContent,children:[r?jc("div",{className:R2.labelGroup,children:t.labelGroup.map(((e,t)=>jc($c,{type:"ui",size:"s",bold:!0,children:e},t)))}):jc($c,{type:"ui",size:"s",bold:!0,children:t.label}),jc("div",{children:[pf(t.timeRange[0].getTime()-n)," — ",pf(t.timeRange[1].getTime()-n)]})]})},G2=()=>k1(),Y2={top:0,right:0,bottom:20,left:0},X2=300,Z2=20,K2=()=>{},J2=e=>{const{width:t=X2,height:n=Z2,margins:r=Y2,scale:i,domainRange:o,currentSelection:a,tickFormat:s,onChange:l=K2,onReset:c=K2,transitionDuration:u=300}=e,[d,f,h]=E2((()=>i.copy()));ia((()=>{h((()=>d.current.domain()===i.domain()&&d.current.range()===i.range()?d.current:i.copy()))}),[i]);const p=O2(t-r.left-r.right),g=O2(n-r.top-r.bottom);ia((()=>{h((()=>i.copy().domain(o??[]).range([0,p])))}),[o,p,i]);const m=aa(null),v=aa(null),b=aa(null),y=aa(null),_=aa(null),w=aa(null),x=aa(l),k=aa(c),C=aa(G2().tickFormat((()=>""))),S=aa(G2().tickPadding(0)),T=aa(A2().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 ia((()=>{x.current=l,k.current=c}),[l,c]),ia((()=>{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),f0(v.current).attr("transform",`translate(${r.left},${r.top})`),f0(b.current).transition().duration(u).attr("width",String(p)).attr("height",String(g)),y.current&&(f0(y.current).attr("transform",`translate(0,${g})`),f0(y.current).call(C.current)),_.current&&(f0(_.current).attr("transform",`translate(0,${g})`),f0(_.current).call(S.current).selectAll("text").attr("y",8)),w.current)){const e=f0(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]),jc("svg",{ref:m,className:R2.brusher,width:t,height:n,children:jc("g",{ref:v,className:R2.brusherMargins,children:[jc("rect",{ref:b,className:R2.gridBackground}),jc("g",{ref:w,className:R2.brush}),jc("g",{className:R2.axises,children:[jc("g",{ref:y,className:R2.xGrid}),jc("g",{ref:_,className:R2.xAxis})]})]})})};f0.prototype.transition=c1;const Q2=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},e3=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},t3=e=>{if(e>=20)return 4;if(e<4)return 0;const t=(e-4)/16;return t*(2-t)*4},n3=100,r3=100,i3=e=>{const{data:t=[],translations:n}=e,r=ua(),{durationRange:i,handleDurationChange:o,durationDomain:a}=(e=>{const t=sa((()=>{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]=na(t[0]),[i,o]=na(t[1]);ia((()=>{r(t[0])}),[t[0]]),ia((()=>{o(t[1])}),[t[1]]);const a=la(((e,t)=>{r(e),o(t)}),[]);return{durationRange:[n,i],handleDurationChange:a,durationDomain:t}})(t),s=(()=>{const e=ca(H2);if(!e)throw new Error("useWidth must be used within a ResponsiveWrapper");return e})(),l=aa(null),c=aa(null),u=aa(null),d=aa(null),f=aa(null),h=aa(null),[p,g,m]=E2((()=>mp())),[v,b,y]=E2((()=>hp())),_=aa(k1()),w=aa(x1(1,void 0)),x=aa(x1(4,void 0)),{tooltipRef:k,isVisible:C,handleShowTooltip:S,handleHideTooltip:T,data:A}=XZ("bottom"),{tooltipRef:M,isVisible:L,handleShowTooltip:E,handleHideTooltip:N,data:O}=XZ("bottom"),R=vY?0:500,D=vY?0:150,P=aa(!1),I=t.length,z=O2(s-n3-r3),j=O2(24*I),B=j+26+30,F=sa((()=>{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=sa((()=>t.map((e=>({id:e.id,name:e.name})))),[t]),$=sa((()=>[cp(F,(e=>e.timeRange[0])),lp(F,(e=>e.timeRange[1]))]),[F]),[U,q]=na($),[W,V]=na([null,null]),G=la((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=la((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]=E2((()=>mv().domain($).range([0,z]).clamp(!0)));ia((()=>{K((()=>X.current.copy().domain($))),G($)}),[...$,G]),ia((()=>{K((()=>X.current.copy().range([0,z]).clamp(!0)))}),[z]);const J=sa((()=>[cp(F,(e=>e.timeRange[0])),lp(F,(e=>e.timeRange[1]))]),[F]);ia((()=>{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=f0(c.current),n=e=>h0(e,c.current);return t.on("mousedown",(e=>{if(null!=f0(window).on("mousemove.zoomRect"))return;const r=n(e);if(r[0]<0||r[0]>z||r[1]<0||r[1]>j)return;P.current=!0;const i=t.append("rect").attr("class",R2.zoomSelection);f0(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(j,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=>{f0(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(j,t[1]))];if(r[0]===o[0]&&r[1]===o[1])return;const a=[r[0],o[0]].sort(Gh).map((e=>X.current.invert(e)));a[1].getTime()-a[0].getTime()>10&&l.current?.dispatchEvent(new L2({zoomX:a,zoomY:null}))}),!0),e.stopPropagation()})),()=>{l.current?.removeEventListener("zoom",e)}}),[z,j,W,F,G,Y,b]),ia((()=>{const e=U?.[0]&&U?.[1]?U:$;K((()=>X.current.copy().domain(e).range([0,z]).clamp(!0)))}),[U,$,z]),ia((()=>{x.current.scale(b)}),[b,H]),ia((()=>{y((()=>v.current.copy().domain(H.map((e=>e.id))).range(H.map(((e,t)=>(t+.5)/I*j)))))}),[H,I,j]),ia((()=>{m((()=>p.current.copy().domain(H.map((e=>e.id))).range([j/H.length*.5,j*(1-.5/H.length)])))}),[H,j,I]),ia((()=>{if(!(l.current&&Z&&0!==j&&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]?pf(e.getTime()-J[0].getTime()):"")),w.current.scale(Z).ticks(7).tickFormat((()=>"")),f0(d.current).style("stroke-opacity",0).style("fill-opacity",0).attr("transform",`translate(0,${j})`).transition().duration(R).call(_.current).style("stroke-opacity",1).style("fill-opacity",1),w.current.tickSize(j),f0(f.current).attr("transform",`translate(0,${j})`).transition().duration(R).call(w.current);const n=Math.ceil(2*I/Math.sqrt(2)/j/.6),r=p.current.domain().filter(((e,t)=>!(t%n)));let i=Math.min(12,j/r.length*.6*Math.sqrt(2)),o=Math.ceil(r3/(i/Math.sqrt(2)));const a=b.range(),s=cp(a,((e,t)=>t>0?e-a[t-1]:2*e));i=Math.min(14,.6*O2(s)*Math.sqrt(2)),o=Math.floor(n3/(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)}`})),f0(h.current).transition().duration(R).style("font-size",`${i}px`).call(x.current),f0(h.current).selectAll(".tick").each((function(e){const t=e,n=H.find((e=>e.id===t));n&&f0(this).select("text").on("mouseover",(e=>{S(e.target,n)})).on("mouseout",(e=>{T(e.target)}))}))}),[z,j,I,R,J,Z,b,H,S,T]),ia((()=>{if(!c.current||0===j)return;const e=f0(c.current).selectAll(`rect.${R2.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",R2.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",j/I).attr("y",(e=>{const t=b(e.id);return Number.isInteger(t)?t-j/I/2:0})).style("fill-opacity",1).style("stroke-opacity",1)}),[H,z,j,I,R,b,S,T]);const[Q,ee]=i,te=sa((()=>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=sa((()=>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]);ia((()=>{c.current&&0!==j&&Z&&(async()=>{let e=f0(c.current).selectAll(`rect.${R2.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",R2.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=>Q2(e.segment.status))).style("fill-opacity",0);t.on("mouseover",(function(e,t){P.current||(f0(this).transition().duration(D).attr("x",X.current(t.timeRange[0])-1).attr("width",lp([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]);f0(this).transition().duration(D).attr("x",X.current(t.timeRange[0])).attr("width",lp([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 t3(t)})).attr("ry",(e=>{const t=Z(e.timeRange[1])-Z(e.timeRange[0]);return t3(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=lp([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})`:Q2(e.segment.status))).style("fill-opacity",1)})()}),[ne,z,j,z,R,U,Z,D,g,r]),ia((()=>{l.current&&f0(l.current).transition().duration(R).attr("width",s).attr("height",B)}),[s,B,R]);const re=la(((e,t)=>G([e,t])),[G]),[ie,oe]=Z.range(),ae=ie!==oe;return ae?jc("div",{className:R2.timelineChart,children:[a[0]!==a[1]&&ae&&jc(B2,{selectedTestsCount:te,totalTestsCount:F.length,translations:n,width:s,height:76,margins:{top:26,right:r3,bottom:30,left:n3},domainRange:a,currentSelection:[Q,ee],onChange:o,onReset:()=>o(a[0],a[1]),tickFormat:e=>pf(e)},s),jc("svg",{ref:l,width:s,height:B,children:[jc("defs",{children:sf.map((e=>jc("pattern",{id:`gradient-${r}-${e}`,patternUnits:"userSpaceOnUse",width:"10",height:"10",patternTransform:"rotate(-45 5 5)",children:[jc("rect",{width:"5",height:"10",fill:e3(e)}),jc("rect",{x:"5",width:"5",height:"10",fill:Q2(e)})]},e)))}),jc("g",{ref:u,className:R2.axises,"data-label":"axises",transform:"translate(100,26)",children:[jc("g",{ref:d,className:R2.xAxis,"data-label":"x-axis"}),jc("g",{ref:f,className:R2.xGrid,"data-label":"grid"}),jc("g",{ref:h,className:R2.groupAxis,"data-label":"groups-axis"})]}),jc("g",{ref:c,"data-label":"graph",transform:"translate(100,26)",children:jc("rect",{"data-label":"graph-selection",x:0,y:0,width:z,height:j,fill:"transparent"})})]}),$[0].getTime()!==$[1].getTime()&&ae&&jc(J2,{width:s,height:76,margins:{top:26,right:r3,bottom:30,left:n3},scale:Z,domainRange:$,currentSelection:U,onChange:re,onReset:()=>G($),tickFormat:e=>pf(e.getTime()-J[0].getTime())}),Bd(jc("div",{ref:k,"data-visible":C,className:R2.tooltip,children:A?.id&&jc(F2,{segments:ne,groupId:A.id,groupName:A.name,offsetTime:J[0].getTime()})}),document.body),Bd(jc("div",{ref:M,"data-visible":L,className:R2.tooltip,children:O&&jc(V2,{segment:O,offsetTime:J[0].getTime()})}),document.body)]}):null},o3=e=>{const{data:t,width:n,dataId:r,...i}=e,o=sa((()=>((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=M2(e,t),p=M2(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 jc("div",{className:R2.timelineContainer,children:jc(W2,{defaultWidth:n,children:jc(i3,{...i,data:o},r)})})};function a3(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=a3(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function s3(){for(var e,t,n=0,r="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=a3(e))&&(r&&(r+=" "),r+=t);return r}var l3=s3,c3="fma_u1MG";var u3=0;Array.isArray;function d3(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:--u3,__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 Zi.vnode&&Zi.vnode(c),c}const f3=()=>d3("div",{className:c3,children:d3("a",{href:"https://allurereport.org",target:"_blank",rel:"noreferrer",children:[d3($c,{type:"paragraph",size:"m",className:c3,children:"Powered by"}),d3(Mx,{className:"XNvCzvZ7"})]})}),h3=$r({loading:!0,error:void 0,data:{total:0}}),p3=$r({loading:!0,error:void 0,data:{}}),g3=async()=>{h3.value={...h3.peek(),loading:!0,error:void 0};try{const e=await z("widgets/statistic.json",{bustCache:!0});h3.value={data:e,error:void 0,loading:!1}}catch(e){h3.value={data:{total:0},error:e.message,loading:!1}}},m3=async e=>{const t=e.filter((e=>!p3.peek().data?.[e]));if(0!==t.length){p3.value={...p3.peek(),loading:!0,error:void 0};try{const e=await Promise.all(t.map((e=>z(`widgets/${e}/statistic.json`,{bustCache:!0})))),n=p3.peek().data;p3.value={data:t.reduce(((t,n,r)=>({...t,[n]:e[r]})),{...n}),loading:!1,error:void 0}}catch(e){p3.value={...p3.peek(),error:e.message,loading:!1}}}},v3=e=>"string"==typeof e,b3=()=>{let e,t;const n=new Promise(((n,r)=>{e=n,t=r}));return n.resolve=e,n.reject=t,n},y3=e=>null==e?"":""+e,_3=/###/g,w3=e=>e&&e.indexOf("###")>-1?e.replace(_3,"."):e,x3=e=>!e||v3(e),k3=(e,t,n)=>{const r=v3(t)?t.split("."):t;let i=0;for(;i<r.length-1;){if(x3(e))return{};const t=w3(r[i]);!e[t]&&n&&(e[t]=new n),e=Object.prototype.hasOwnProperty.call(e,t)?e[t]:{},++i}return x3(e)?{}:{obj:e,k:w3(r[i])}},C3=(e,t,n)=>{const{obj:r,k:i}=k3(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=k3(e,a,Object);for(;void 0===s.obj&&a.length;)o=`${a[a.length-1]}.${o}`,a=a.slice(0,a.length-1),s=k3(e,a,Object),s?.obj&&void 0!==s.obj[`${s.k}.${o}`]&&(s.obj=void 0);s.obj[`${s.k}.${o}`]=n},S3=(e,t)=>{const{obj:n,k:r}=k3(e,t);if(n)return n[r]},T3=(e,t,n)=>{for(const r in t)"__proto__"!==r&&"constructor"!==r&&(r in e?v3(e[r])||e[r]instanceof String||v3(t[r])||t[r]instanceof String?n&&(e[r]=t[r]):T3(e[r],t[r],n):e[r]=t[r]);return e},A3=e=>e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&");var M3={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"};const L3=e=>v3(e)?e.replace(/[&<>"'\/]/g,(e=>M3[e])):e;const E3=[" ",",","?","!",";"],N3=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),O3=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},R3=e=>e?.replace("_","-"),D3={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 P3{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||D3,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:(v3(e[0])&&(e[0]=`${n}${this.prefix} ${e[0]}`),this.logger[t](e))}create(e){return new P3(this.logger,{prefix:`${this.prefix}:${e}:`,...this.options})}clone(e){return(e=e||this.options).prefix=e.prefix||this.prefix,new P3(this.logger,e)}}var I3=new P3;class z3{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 j3 extends z3{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):v3(n)&&i?a.push(...n.split(i)):a.push(n)));const s=S3(this.data,a);return!s&&!t&&!n&&e.indexOf(".")>-1&&(e=a[0],t=a[1],n=a.slice(2).join(".")),!s&&o&&v3(n)?O3(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),C3(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)(v3(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=S3(this.data,a)||{};o.skipCopy||(n=JSON.parse(JSON.stringify(n))),r?T3(s,n,i):s={...s,...n},C3(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 B3={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 F3={};class H3 extends z3{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=I3.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=E3.filter((e=>t.indexOf(e)<0&&n.indexOf(e)<0));if(0===r.length)return!0;const i=N3.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:v3(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:v3(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=!v3(d)&&"boolean"!=typeof d&&"number"!=typeof d;if(!(m&&d&&v&&["[object Number]","[object Function]","[object RegExp]"].indexOf(p)<0)||v3(g)&&Array.isArray(d))if(m&&v3(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&&!v3(t.count),f=H3.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=v3(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&&!v3(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=v3(a)?[a]:a;return null!=e&&s?.length&&!1!==n.applyPostProcessor&&(e=B3.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 v3(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&&!v3(a.count),d=u&&!a.ordinal&&0===a.count,f=void 0!==a.context&&(v3(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,F3[`${h[0]}-${e}`]||!this.utils?.hasLoadedNamespace||this.utils?.hasLoadedNamespace(o)||(F3[`${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&&!v3(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 $3{constructor(e){this.options=e,this.supportedLngs=this.options.supportedLngs||!1,this.logger=I3.create("languageUtils")}getScriptPartFromCode(e){if(!(e=R3(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=R3(e))||e.indexOf("-")<0)return e;const t=e.split("-");return this.formatLanguageCode(t[0])}formatLanguageCode(e){if(v3(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)),v3(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 v3(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))):v3(e)&&i(this.formatLanguageCode(e)),n.forEach((e=>{r.indexOf(e)<0&&i(this.formatLanguageCode(e))})),r}}const U3={zero:0,one:1,two:2,few:3,many:4,other:5},q3={select:e=>1===e?"one":"other",resolvedOptions:()=>({pluralCategories:["one","other"]})};class W3{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.languageUtils=e,this.options=t,this.logger=I3.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=R3("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!"),q3;if(!e.match(/-|_/))return q3;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)=>U3[e]-U3[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 V3=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=S3(e,n);return void 0!==r?r:S3(t,n)})(e,t,n);return!o&&i&&v3(n)&&(o=O3(e,n,r),void 0===o&&(o=O3(t,n,r))),o},G3=e=>e.replace(/\$/g,"$$$$");class Y3{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.logger=I3.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:L3,this.escapeValue=void 0===n||n,this.useRawValueToEscape=void 0!==r&&r,this.prefix=i?A3(i):o||"{{",this.suffix=a?A3(a):s||"}}",this.formatSeparator=l||",",this.unescapePrefix=c?"":u||"-",this.unescapeSuffix=this.unescapePrefix?"":c||"",this.nestingPrefix=d?A3(d):f||A3("$t("),this.nestingSuffix=h?A3(h):p||A3(")"),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=V3(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(V3(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=>G3(e)},{regex:this.regexp,safeValue:e=>this.escapeValue?G3(this.escape(e)):G3(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=v3(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 v3(o)||this.useRawValueToEscape||(o=y3(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&&!v3(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&&!v3(r))return r;v3(r)||(r=y3(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 X3=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(R3(r),i),t[a]=s),s(n)}};class Z3{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.logger=I3.create("formatter"),this.options=e,this.formats={number:X3(((e,t)=>{const n=new Intl.NumberFormat(e,{...t});return e=>n.format(e)})),currency:X3(((e,t)=>{const n=new Intl.NumberFormat(e,{...t,style:"currency"});return e=>n.format(e)})),datetime:X3(((e,t)=>{const n=new Intl.DateTimeFormat(e,{...t});return e=>n.format(e)})),relativetime:X3(((e,t)=>{const n=new Intl.RelativeTimeFormat(e,{...t});return e=>n.format(e,t.range||"day")})),list:X3(((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()]=X3(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 K3 extends z3{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=I3.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}=k3(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();v3(e)&&(e=this.languageUtils.toResolveHierarchy(e)),v3(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 J3=()=>({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]),v3(e[1])&&(t.defaultValue=e[1]),v3(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}}),Q3=e=>(v3(e.ns)&&(e.ns=[e.ns]),v3(e.fallbackLng)&&(e.fallbackLng=[e.fallbackLng]),v3(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),e4=()=>{};class t4 extends z3{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=Q3(e),this.services={},this.logger=I3,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&&(v3(t.ns)?t.defaultNS=t.ns:t.ns.indexOf("translation")<0&&(t.defaultNS=t.ns[0]));const r=J3();this.options={...r,...this.options,...Q3(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?I3.init(i(this.modules.logger),this.options):I3.init(null,this.options),t=this.modules.formatter?this.modules.formatter:Z3;const n=new $3(this.options);this.store=new j3(this.options.resources,this.options);const o=this.services;o.logger=I3,o.resourceStore=this.store,o.languageUtils=n,o.pluralResolver=new W3(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 Y3(this.options),o.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},o.backendConnector=new K3(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 H3(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=e4),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=b3(),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]:e4;const n=v3(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=b3();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=e4),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&&B3.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=b3();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=v3(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 v3(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=b3();return this.options.ns?(v3(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=b3();v3(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 $3(J3());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 t4(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]:e4;const n=e.forkResourceStore;n&&delete e.forkResourceStore;const r={...this.options,...e,isClone:!0},i=new t4(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 j3(this.store.data,r),i.services.resourceStore=i.store),i.translator=new H3(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 n4=t4.createInstance();n4.createInstance=t4.createInstance;n4.createInstance,n4.dir,n4.init,n4.loadResources,n4.reloadResources,n4.use,n4.changeLanguage,n4.getFixedT,n4.t,n4.exists,n4.setDefaultNamespace,n4.hasLoadedNamespace,n4.loadNamespaces,n4.loadLanguages;const r4=$r("en"),i4=Gr((()=>Y[r4.value]?.iso??Y.en.iso)),o4=(Gr((()=>["ar","he","fa"].includes(r4.value))),async()=>{const{reportLanguage:e}=j()??{},t=localStorage.getItem("currentLocale")||e||"en";await l4(t)}),a4=n4.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:r4.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((()=>{n4.services.formatter.add("capitalize",(e=>e.charAt(0).toLocaleUpperCase()+e.slice(1))),n4.services.formatter.add("timestamp_date",((e,t,n)=>{const r=G(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})),n4.services.formatter.add("timestamp_long",((e,t,n)=>{const r=G(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(",",` ${n4.t("ui:at")}`)})),n4.services.formatter.add("timestamp_long_no_seconds",((e,t,n)=>{const r=G(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(",",` ${n4.t("ui:at")}`)})),n4.services.formatter.add("format_duration",(e=>y(e)))})),s4=e=>{const t=Gr((()=>(t,n={})=>n4.t(t,{ns:e,...n})));return{t:t.value,currentLocale:r4.value}},l4=async e=>{await n4.changeLanguage(e),localStorage.setItem("currentLocale",e),r4.value=e,document.documentElement.dir=["ar","he","fa"].includes(e)?"rtl":"ltr"},c4=()=>{const[e]=na((()=>{const e=j();if(e?.createdAt)return Number(e.createdAt)})),[t]=na((()=>{const e=j();if(e?.allureVersion)return e.allureVersion})),n=new Date(e).toLocaleDateString(i4.value,{month:"numeric",day:"numeric",year:"numeric",hour:"numeric",minute:"numeric",second:"numeric"});return d3($c,{type:"paragraph",size:"m",className:"YdnHCDVV",children:[n,t&&d3("span",{children:[" Ver: ",t]})]})};var u4="CfGgwYiF",d4="b2XhjWBW";const f4=({className:e})=>d3("div",{className:s3("hYe6DCa9",e),children:[d3(f3,{}),d3(c4,{})]}),h4=(e,t)=>{try{const n=localStorage.getItem(e);return n?JSON.parse(n):t}catch{return t}},p4=$r({loading:!1,error:void 0,data:[]}),g4=$r({loading:!1,error:void 0,data:{}}),m4=$r(h4("collapsedEnvironments",[])),v4=$r(h4("currentEnvironment","")),b4=e=>((e,t)=>e.find((({id:e})=>e===t))?.name??t)(p4.peek().data,e),y4=async()=>{p4.value={...p4.peek(),loading:!0,error:void 0};try{const e=await z("widgets/environments.json",{bustCache:!0});p4.value={data:e,error:void 0,loading:!1},v4.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:""})(v4.value,e)}catch(e){p4.value={...p4.peek(),error:e.message,loading:!1}}};Jr((()=>{localStorage.setItem("currentEnvironment",JSON.stringify(v4.value))})),Jr((()=>{localStorage.setItem("collapsedEnvironments",JSON.stringify([...m4.value]))}));const _4=({value:e})=>{const t=aa(null),[n,r]=na(!1);ia((()=>{const e=t.current;e&&r((e=>e.scrollWidth>e.clientWidth)(e))}),[e]);const i=d3("span",{ref:t,className:"cYS83oHN",children:e});return n?d3(yd,{tooltipText:e,children:i}):i},w4=()=>{const{t:e}=s4("environments"),t=v4.value,n=t?b4(t):e("all"),{ref:r,isTruncated:i}=_d([n]),o=e=>{var t;t=e,v4.value=t};return p4.value.data.length<=1?null:d3("div",{className:"J13nhfx4","data-testid":"environment-picker",children:[d3(Fc,{id:Bc.environment,size:"s"}),d3($c,{className:"oDZnH_Bx",type:"ui",size:"s",bold:!0,children:[e("environment",{count:1}),":"]}),d3(nf,{size:"s",menuTrigger:({isOpened:e,onClick:t})=>{const o=d3(Xc,{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:d3(yd,{tooltipText:n,"data-testid":"environment-picker-selected-tooltip",children:o})},children:d3(nf.Section,{children:[d3(nf.ItemWithCheckmark,{"data-testid":"environment-picker-item",onClick:()=>o(""),isChecked:!t,children:e("all")}),p4.value.data.map((e=>d3(nf.ItemWithCheckmark,{"data-testid":"environment-picker-item",onClick:()=>o(e.id),isChecked:e.id===t,children:d3(_4,{value:e.name})},e.id)))]})})]})},x4=j(),k4="base",C4=$r((()=>{if("undefined"==typeof window)return k4;const e=localStorage.getItem("layout");return null!==e?e:e??x4?.layout??k4})()),S4=$r(!1),T4=()=>{S4.value=!0,setTimeout((()=>{var e;e="base"===C4.value?"split":"base",C4.value=e,document.documentElement.setAttribute("data-layout",e),window.localStorage.setItem("layout",e),setTimeout((()=>{S4.value=!1}),300)}),200)},A4=Gr((()=>"split"===C4.value));var M4=()=>{const e=A4.value?Bc.lineLayoutsLayoutTop:Bc.lineLayoutsColumn2;return d3(Yc,{"data-testId":"toggle-layout-button",size:"s",icon:e,style:"ghost",onClick:()=>T4()})};const L4=Gr((()=>qi.value.selected)),E4=({className:e})=>d3("div",{className:e,children:[d3(w4,{}),d3(BC,{locale:r4.value,setLocale:l4}),d3(M4,{}),d3(HC,{theme:L4.value,toggleTheme:Wi})]});const N4=e=>e&&"overview"!==e?e:void 0,O4=e=>{const t={...e,tab:N4(e.tab)},n=j4.value.matches?"/:rootTab/:testResultId/:tab?":"/:testResultId/:tab?",r=j4.value.matches?{...t,rootTab:j4.value.params.rootTab}:t;di({path:n,params:r,keepSearchParams:!0})},R4=e=>{const t={...e,tab:N4(e.tab)},n=j4.value.matches?"/:rootTab/:testResultId/:tab?":"/:testResultId/:tab?",r=j4.value.matches?{...t,rootTab:j4.value.params.rootTab}:t;di({path:n,params:r,keepSearchParams:!0,replace:!0})},D4=()=>{di({path:"/",keepSearchParams:!0})},P4=e=>{di({path:"/:section",params:e,keepSearchParams:!0,replace:!1})},I4=["charts","timeline"],z4=["categories","qualityGate","globalAttachments","globalErrors"],j4=Gr((()=>fi("/:rootTab/:testResultId?/:tab?",(({params:e})=>z4.includes(e.rootTab)&&e.rootTab!==e.testResultId)))),B4=(Gr((()=>fi("/categories/:testResultId?/:tab?"))),Gr((()=>fi("/:testResultId/:tab?",(({params:e})=>e.testResultId&&"categories"!==e.testResultId&&!I4.includes(e.testResultId)&&!z4.includes(e.testResultId)))))),F4=(Gr((()=>fi("/"))),Gr((()=>fi("/:section",(({params:e})=>I4.includes(e.section)))))),H4="default",$4=j(),U4=$4?.defaultSection??"default",q4=$4?.sections??[];(()=>{const e=F4.peek().matches,t=U4===H4,n=q4.includes(U4);e||t||!n||P4({section:U4})})();const W4=Gr((()=>F4.value.params.section??"default"));Jr((()=>{const e=W4.value;e&&document.documentElement.setAttribute("data-section",e)}));const V4={name:"report",logo:Bc.reportLogo},G4={default:V4,charts:{name:"charts",logo:Bc.lineChartsBarChartSquare},timeline:{name:"timeline",logo:Bc.lineChartsTimeline}},Y4=()=>{const e=G4[W4.value]||V4,{t:t}=s4("sections");return d3(nf,{size:"m",placement:"bottom-start",menuTrigger:({isOpened:n,onClick:r})=>d3(Xc,{style:"ghost",size:"m",text:t(e.name),icon:e.logo,isExpanded:n,onClick:r,iconSize:"xs"}),children:d3(nf.Section,{children:["default",...q4].map((e=>d3(nf.ItemWithCheckmark,{onClick:()=>(e=>{const t=e===H4,n=q4.includes(e),r=W4.peek()!==e;t?D4():r&&n&&P4({section:e})})(e),isChecked:W4.value===e,children:d3("div",{className:"FdktBcO1",children:[d3(Fc,{id:G4[e]?.logo,size:"s"}),t(G4[e]?.name)||e]})},e)))})})};var X4="ChConoqG",Z4="DC096Vl9",K4="vCHAp_yZ";const J4=({testResult:e})=>{const{breadcrumbs:t,name:n}=e||{};return d3("div",{className:"KayT_VKx",children:[d3("div",{className:l3(X4,"DJELNKs1"),children:d3(Yc,{icon:Bc.lineGeneralHomeLine,size:"s",style:"ghost",className:"F1I3vLtG",onClick:()=>D4()})}),Boolean(t?.length)&&t?.[0]?.map(((e,t)=>d3("div",{className:X4,children:[d3(Fc,{id:Bc.lineArrowsChevronDown,className:Z4}),d3($c,{size:"s",bold:!0,className:K4,children:e})]},t))),d3("div",{className:X4,children:[n&&d3(Fc,{id:Bc.lineArrowsChevronDown,className:Z4}),d3($c,{size:"s",bold:!0,className:K4,children:n})]})]})},Q4={matches:!1,params:{}},e5=Gr((()=>j4.value.matches&&j4.value.params.testResultId?j4.value:B4.value.matches?B4.value:Q4)),t5=Gr((()=>e5.value.params.tab??"overview")),n5=Gr((()=>e5.value.params.testResultId)),r5=$r({loading:!0,error:void 0,data:void 0}),i5=$r({loading:!0,error:void 0,data:void 0}),o5=async e=>{const t=r5.peek().data;if(!(!e||t&&e in t)){r5.value={...r5.peek(),loading:!0,error:void 0};try{const t=await z(`data/test-results/${e}.json`,{bustCache:!0});r5.value={data:{...r5.peek().data,[e]:t},error:void 0,loading:!1}}catch(e){r5.value={...r5.peek(),error:e.message,loading:!1}}}};var a5="K4Vp94XL";const s5=({type:e})=>{const t={width:16,height:16};switch(e){case v.Amazon:return d3(Fc,{id:Bc.amazon,...t});case v.Azure:return d3(Fc,{id:Bc.azure,...t});case v.Bitbucket:return d3(Fc,{id:Bc.bitbucket,...t});case v.Circle:return d3(Fc,{id:Bc.circleci,...t});case v.Drone:return d3(Fc,{id:Bc.drone,...t});case v.Github:return d3(Fc,{id:Bc.github,...t});case v.Gitlab:return d3(Fc,{id:Bc.gitlab,...t});case v.Jenkins:return d3(Fc,{id:Bc.jenkins,...t});default:return null}},l5=({className:e})=>{const{ci:t}=j();if(!t)return null;const n=t.pullRequestUrl||t.jobRunUrl||t.jobUrl,r=R(n),i=t.pullRequestName||t.jobRunName||t.jobName||n;return n?r?d3("a",{className:l3(a5,e),href:r,target:"_blank",rel:"noopener noreferrer",children:[d3(s5,{type:t.type}),d3($c,{type:"paragraph",size:"m",bold:!0,children:i})]}):d3("span",{className:l3(a5,e),children:[d3(s5,{type:t.type}),d3($c,{type:"paragraph",size:"m",bold:!0,children:i})]}):null};const c5=Gr((()=>B4.value.matches||Boolean(j4.value.params.testResultId))),u5=Gr((()=>r5.value?.data?.[n5.value])),d5=({className:e})=>d3("div",{className:l3("y3b2nNS8",e),children:[d3(Y4,{}),!c5.value&&d3(l5,{}),c5.value&&d3(J4,{testResult:u5.value}),d3(E4,{className:"yme8680C"})]}),f5=$r(!1),h5=$r({data:null,preview:!1,component:null,isModalOpen:f5.value,closeModal:null,title:""}),p5=e=>{h5.value={...e},f5.value=!0},g5=()=>{const{t:e}=s4("controls"),t={tooltipDownload:e("downloadAttachment"),tooltipPreview:e("previewAttachment"),tooltipSyntaxHighlight:e("syntaxHighlight"),openInNewTabButton:e("openInNewTab")};return d3(ax,{...h5.value,translations:t,isModalOpen:f5.value,closeModal:()=>f5.value=!1})},m5=$r({loading:!0,error:void 0,data:void 0}),v5=async e=>{m5.value={...m5.peek(),loading:!0,error:void 0};try{const t=await z(e?`widgets/${e}/statistic.json`:"widgets/statistic.json",{bustCache:!0});m5.value={data:wn(t),error:void 0,loading:!1}}catch(e){m5.value={error:e.message,loading:!1}}},b5=$r({loading:!0,error:void 0,data:void 0});const y5=Gr((()=>qi.value.current)),_5=()=>{const{t:e}=s4("charts"),{t:t}=s4("empty");return ia((()=>{(async()=>{b5.value={...b5.peek(),loading:!0,error:void 0};try{const e=await z("widgets/charts.json",{bustCache:!0});b5.value={data:Ft(e),error:void 0,loading:!1}}catch(e){b5.value={data:void 0,error:e.message,loading:!1}}})()}),[]),d3(XY,{theme:y5.value,children:d3(wd,{source:b5,renderLoader:()=>d3(xd,{}),renderData:n=>{const r=v4.value?n.byEnv[v4.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 X.CurrentStatus:{const n=e.title??t("currentStatus.title");return d3(qJ,{title:n,data:e.data,statuses:e.statuses,metric:e.metric,i18n:(e,n={})=>t(`currentStatus.${e}`,n)})}case X.StatusDynamics:{const n=e.title??t("statusDynamics.title");return d3(VJ,{title:n,data:e.data,limit:e.limit,statuses:e.statuses,i18n:(e,n={})=>t(`statusDynamics.${e}`,n)})}case X.StatusTransitions:{const n=e.title??t("statusTransitions.title");return d3(XJ,{title:n,data:e.data,i18n:(e,n={})=>t(`statusTransitions.${e}`,n)})}case X.Durations:{const n=e.title??("none"===e.groupBy?t("durations.title_none"):t("durations.title",{groupBy:e.groupBy}));return d3(KJ,{title:n,data:e.data,groupBy:e.groupBy,keys:e.keys,i18n:(e,n={})=>t(`durations.${e}`,n)})}case X.StabilityDistribution:{const n=e.title??t("stabilityDistribution.title");return d3(gK,{title:n,data:e.data,keys:e.keys,i18n:(e,n={})=>t(`stabilityDistribution.${e}`,n),threshold:e.threshold})}case X.TestBaseGrowthDynamics:{const n=e.title??t("testBaseGrowthDynamics.title");return d3(bK,{title:n,data:e.data,statuses:e.statuses,i18n:(e,n={})=>t(`testBaseGrowthDynamics.${e}`,n)})}case X.StatusAgePyramid:{const n=e.title??t("statusAgePyramid.title");return d3(xK,{title:n,data:e.data,statuses:e.statuses,i18n:(e,n={})=>t(`statusAgePyramid.${e}`,n)})}case X.TrSeverities:{const n=e.title??t("trSeverities.title");return d3(JJ,{title:n,data:e.data,levels:e.levels,statuses:e.statuses,i18n:(e,n={})=>t(`trSeverities.${e}`,n)})}case X.DurationDynamics:{const n=e.title??t("durationDynamics.title");return d3(eQ,{title:n,data:e.data,i18n:(e,n={})=>t(`durationDynamics.${e}`,n)})}case X.CoverageDiff:return d3(ZY,{data:e.treeMap,chartType:X.CoverageDiff,title:e.title,formatLegend:e.formatLegend,colors:e.colors,legendDomain:e.legendDomain,tooltipRows:e.tooltipRows,translations:{"no-results":n("no-results")}});case X.SuccessRateDistribution:return d3(ZY,{chartType:X.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 X.ProblemsDistribution:return d3(tZ,{title:e.title,data:e.data,translations:{"no-results":n("no-results")}});case X.TestingPyramid:{const t=!e.data.some((e=>e.testCount>0));return d3(UK,{title:e.title,data:t?[]:e.data,translations:{"no-results":n("no-results")}})}default:return null}})(r,{t:e,empty:t});return d3(jC,{className:"H3rQvdpP",children:i},n)}));return d3("div",{className:"yh56pOPH",children:d3(PC,{kind:"swap",className:"Tn5cbYVY",children:i})})}})})};const w5=Ho(null),x5=()=>{const e=ca(w5);if(!e)throw new Error("NavTabs components must be used within a NavTabs component");return e},k5=e=>{const{children:t,initialTab:n}=e,[r,i]=na(n);return d3(w5.Provider,{value:{currentTab:r,setCurrentTab:i},children:t})},C5=e=>d3(k5,{...e}),S5=e=>d3("div",{className:"XBeFwRAE",children:e.children}),T5=e=>{const{currentTab:t,setCurrentTab:n}=x5(),{id:r,children:i,onClick:o,"data-testid":a,isCurrentTab:s}=e,l=void 0!==s?s:t===r;return d3("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:d3($c,{type:"paragraph",size:"m",children:i})})},A5=["new","fixed","regressed","malfunctioned"],M5=["passed","failed","skipped","broken","unknown"],L5="query",E5="status",N5="flaky",O5="retry",R5="transition",D5="tags",P5="categories",I5=e=>{oi({key:L5,value:""===e?.trim()?void 0:e})},z5=e=>{oi({key:E5,value:e})},j5=e=>{oi({key:N5,value:e?"true":void 0})},B5=e=>{oi({key:O5,value:e?"true":void 0})},F5=e=>{oi({key:R5,value:e})},H5=e=>{oi({key:D5,value:e})},$5=e=>{oi({key:P5,value:e})};const U5=e=>{const t=new URL(window.location.pathname,window.location.origin);return e.forEach((e=>{t.searchParams.append("tags",e)})),t.toString()},q5=e=>A5.includes(e),W5=e=>"field"===e.type&&"boolean"===e.value.type&&"retry"===e.value.key,V5=e=>"field"===e.type&&"boolean"===e.value.type&&"flaky"===e.value.key,G5=e=>"field"===e.type&&"array"===e.value.type&&"tags"===e.value.key,Y5=e=>"field"===e.type&&"array"===e.value.type&&"categories"===e.value.key,X5=e=>"group"===e.type&&"transition"===e.fieldKey,Z5=$r([]),K5=$r([]),J5=Gr((()=>Z5.value.length>0)),Q5=Gr((()=>K5.value.length>0)),e6=Gr((()=>{const e=si(L5)??"";if(""!==e.trim())return e})),t6=Gr((()=>{const e=si(E5)??void 0;if(e&&(e=>M5.includes(e))(e))return e})),n6=Gr((()=>"true"===si(N5))),r6=Gr((()=>"true"===si(O5))),i6=[],o6=Gr((()=>{const e=li(R5)??i6;return 0===e.length?i6:e.filter((e=>q5(e)))})),a6=[],s6=Gr((()=>{const e=li(D5)??a6;return 0===e.length?a6:0===Z5.value.length?e:e.filter((e=>Z5.value.includes(e)))})),l6=[],c6=Gr((()=>{const e=li(P5)??l6;return 0===e.length?l6:0===K5.value.length?e:e.filter((e=>K5.value.includes(e)))})),u6=Gr((()=>({type:"field",logicalOperator:"AND",value:{key:"status",value:t6.value,type:"string",strict:!1}}))),d6=Gr((()=>({type:"group",logicalOperator:"AND",value:[{type:"field",logicalOperator:"OR",value:{key:"name",value:e6.value,type:"string",strict:!1}},{type:"field",logicalOperator:"OR",value:{key:"id",value:e6.value,type:"string",strict:!1}}]}))),f6=Gr((()=>d6.value.value[0].value.value)),h6=e=>{I5(e)},p6=Gr((()=>({type:"field",logicalOperator:"OR",value:{key:"retry",value:!!r6.value,type:"boolean"}}))),g6=Gr((()=>({type:"field",logicalOperator:"OR",value:{key:"flaky",value:!!n6.value,type:"boolean"}}))),m6=Gr((()=>({type:"group",logicalOperator:"AND",fieldKey:"transition",value:o6.value.map((e=>({type:"field",value:{key:"transition",value:e,type:"string",logicalOperator:"OR",strict:!0}})))}))),v6=Gr((()=>({type:"field",logicalOperator:"AND",value:{key:"tags",value:s6.value,type:"array",strict:!1}}))),b6=Gr((()=>({type:"field",logicalOperator:"AND",value:{key:"categories",value:c6.value,type:"array",strict:!1}}))),y6=Gr((()=>[p6.value,g6.value,m6.value,v6.value,b6.value])),_6=Gr((()=>{const e=[];f6.value&&e.push(d6.value);const t=r6.value&&n6.value;return t&&e.push({type:"group",logicalOperator:"AND",value:[{...p6.value,logicalOperator:"OR"},{...g6.value,logicalOperator:"OR"}]}),!t&&r6.value&&e.push({...p6.value,logicalOperator:"AND"}),!t&&n6.value&&e.push({...g6.value,logicalOperator:"AND"}),o6.value.length>0&&e.push(m6.value),s6.value.length>0&&e.push(v6.value),c6.value.length>0&&e.push(b6.value),t6.value&&e.push(u6.value),e})),w6=e=>{if(X5(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);F5(t)}W5(e)&&B5(e.value.value),V5(e)&&j5(e.value.value),G5(e)&&J5.peek()&&H5(e.value.value),Y5(e)&&Q5.peek()&&$5(e.value.value)},x6=Gr((()=>t6.value??"total")),k6=e=>{z5("total"===e?void 0:e)};const C6=e=>d3("div",{className:"Az8wkX1_",children:e.children}),S6=e=>{const{id:t,children:n,...r}=e,i=La((()=>x6.value===t)),o=la((()=>{k6("total")}),[]),a=la((()=>{k6(t)}),[t]);return d3("button",{...r,className:"MFe89HBe",onClick:i.value?o:a,"aria-current":i.value||void 0,children:d3($c,{type:"paragraph",size:"m",bold:!0,children:n})})};const T6=({isOpened:e,setIsOpen:t,counter:n,title:r,titleTooltipText:i,truncateTitle:o=!1,...a})=>{const{ref:s,isTruncated:l}=_d([r],{observeResize:o}),c=d3($c,{size:"m",bold:!0,className:l3(o&&"KHvhhq6S"),children:d3("span",{ref:s,className:l3(o&&"_IANRlnH"),children:r})}),u=d3("button",{...a,className:l3("pLtXZ2UC",o&&"CYsNwIIF",e&&"WwtUTGAA"),type:"button",onClick:()=>t(!e),children:[c,!!n&&d3(Tx,{count:n,size:"s"}),d3(af,{isOpened:e,iconSize:"s",buttonSize:"s",className:"tRJc3qyU",tag:"div"})]});return!!i&&(!o||l)?d3(yd,{tooltipText:i,children:u}):u},A6=(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}},M6=(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}},L6=(e="status,asc")=>{const t=M6(e),n="asc"===e.split(",")[1]?t:_(t);return k([n,x("name",C())])},E6=(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=A6(e),n="asc"===e.split(",")[1]?t:_(t);return k([n,x("name",C())])})(r);return i.sort(o)},N6=e=>{const{group:t,groupsById:n,leavesById:r,filterPredicate:i,sortBy:o}=e,a=t.leaves??[],s=E6(a,r,i,o),l=t.groups?.flatMap((e=>{const t=n[e];return t?[N6({group:t,groupsById:n,leavesById:r,filterPredicate:i,sortBy:o})]:[]}))?.filter((e=>!O6(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(L6(o))}},O6=e=>!e.trees?.length&&!e.leaves?.length||!e.leaves?.length&&e.trees?.every((e=>O6(e))),R6="order,asc",D6=["asc","desc"],P6="ALLURE_REPORT_SORT_BY",I6=["order","duration","status","name"],z6="sortBy",j6=Gr((()=>ci(z6))),B6=e=>{const t=e.split(",");if(2!==t.length)return!1;const[n,r]=t;return I6.includes(n)&&D6.includes(r)},F6=$r((()=>{if("undefined"==typeof window)return R6;const e=localStorage.getItem(P6);return e&&B6(e.toLowerCase())?e.toLowerCase():R6})()),H6=e=>{j6.peek()&&oi({key:z6,value:void 0}),F6.value=e},$6=Gr((()=>{const e=si(z6)??void 0;return e&&B6(e.toLowerCase())?e.toLowerCase():"undefined"==typeof window?R6:F6.value}));Jr((()=>{"undefined"!=typeof window&&localStorage.setItem(P6,$6.value)}));const U6=$r({loading:!0,error:void 0,data:void 0}),q6=Gr((()=>Object.values(U6?.value?.data??{}).every((({leavesById:e})=>!e||!Object.keys(e).length)))),W6=$r(new Set(h4("collapsedTrees",[])));Jr((()=>{localStorage.setItem("collapsedTrees",JSON.stringify([...W6.value]))}));const V6=e=>{const t=new Set(W6.value);t.has(e)?t.delete(e):t.add(e),W6.value=t},G6=async e=>{const t=e.filter((e=>!U6.peek().data?.[e]));if(0!==t.length){U6.value={...U6.peek(),loading:!0,error:void 0};try{const e=await Promise.all(t.map((e=>z(`widgets/${e}/tree.json`,{bustCache:!0})))),n=U6.peek().data;U6.value={data:t.reduce(((t,n,r)=>({...t,[n]:e[r]})),{...n}),loading:!1,error:void 0}}catch(e){U6.value={...U6.peek(),error:e.message,loading:!1}}}},Y6=Gr((()=>U6.value.data?Object.entries(U6.value.data):[])),X6=()=>!0,Z6=Gr((()=>{return 0===_6.value.length?X6:(e=_6.value,Ti(Ni(e)));var e})),K6=Gr((()=>Y6.value.reduce(((e,[t,n])=>{if(!n)return e;const{root:r,leavesById:i,groupsById:o}=n,a=N6({group:r,leavesById:i,groupsById:o,filterPredicate:Z6.value,sortBy:$6.value});return Object.assign(e,{[t]:a})}),{}))),J6=Gr((()=>!Object.values(K6.value).some((e=>!O6(e))))),Q6=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}},e8=e=>t=>({...t,leaves:t.leaves.length?t.leaves.map(Q6(e)):t.leaves,trees:t.trees.length?t.trees.map(e8(e)):t.trees});var t8="qWrwxu6j",n8="fsOIsHLA";const r8=e=>{O4({testResultId:e})},i8=()=>{const{t:e}=s4("empty"),{t:t}=s4("environments"),{t:n}=s4("transitions"),r=n5.value,i=x6.value,o=sa((()=>({tooltip:(e,t)=>n(`description.${e}`,t)})),[n]);return d3(wd,{source:U6,renderLoader:()=>d3(xd,{}),renderData:()=>{if(q6.value)return d3("div",{children:d3("div",{className:t8,children:d3($c,{className:n8,children:e("no-results")})})});if(J6.value)return d3("div",{children:d3("div",{className:t8,children:[d3($c,{tag:"p",className:n8,children:e("no-tests-found")}),d3(Gc,{className:"i31d8d94",type:"button",text:e("clear-filters"),size:"s",style:"outline",onClick:()=>(I5(""),B5(!1),j5(!1),F5([]),H5([]),$5([]),void z5())})]})});const n=e8(o);if(1===p4.value.data.length)return d3("div",{children:d3(Cx,{reportStatistic:h3.value.data,statistic:p3.value.data[v4.value],collapsedTrees:W6.value,toggleTree:V6,navigateTo:r8,tree:n(K6.value.default),statusFilter:i,routeId:r,root:!0})});const a=v4.value?K6.value[v4.value]:void 0;return a?d3("div",{children:d3(Cx,{reportStatistic:h3.value.data,statistic:p3.value.data[v4.value],collapsedTrees:W6.value,toggleTree:V6,navigateTo:r8,tree:n(a),statusFilter:i,routeId:r,root:!0})}):d3(vo,{children:Object.entries(K6.value).map((([e,o])=>{const{total:a}=o.statistic;if(0===a)return null;const s=!m4.value.includes(e),l=p3.value.data[e];return d3("div",{className:"vLyntNe5","data-testid":"tree-section",children:[d3("div",{className:"s_iBWA8v",children:[d3(T6,{isOpened:s,setIsOpen:()=>{m4.value=s?m4.value.concat(e):m4.value.filter((t=>t!==e))},title:`${t("environment",{count:1})}: "${b4(e)}"`,titleTooltipText:`${t("environment",{count:1})}: "${b4(e)}"`,truncateTitle:!0,counter:a,"data-testid":"tree-section-env-button"}),d3(xx,{statistic:l,reportStatistic:h3.value.data,statusFilter:i})]}),s&&d3("div",{"data-testid":"tree-section-env-content",children:d3(Cx,{statistic:p3.value.data[e],reportStatistic:h3.value.data,collapsedTrees:W6.value,toggleTree:V6,statusFilter:i,navigateTo:r8,tree:n(o),routeId:r,root:!0})})]},e)}))})}})};const o8=Ho(null),a8=({children:e})=>{const[t,n]=ra(((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=la((e=>n({type:"setSortBy",payload:e})),[]),i=la((e=>n({type:"setDirection",payload:e})),[]),o=la(((e,t)=>n({type:"setFilter",payload:{filterKey:e,value:t}})),[]),a=la((e=>n({type:"setQuery",payload:e})),[]);return d3(o8.Provider,{value:{...t,setSortBy:r,setDirection:i,setFilter:o,setQuery:a},children:e})};const s8=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]=na(!1),g=aa(null),m=aa(null);(e=>{const{placement:t="top",triggerRef:n,tooltipRef:r,isVisible:i}=e,o=aa(null),a=aa(null);ia((()=>{o.current=n.current,a.current=r.current}),[n,r]),ia((()=>{const e=()=>{o.current&&a.current&&vd(o.current,a.current,{placement:t,middleware:[pd(6),md(),gd({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&&hd(o.current,a.current,e)}),[i,t])})({isVisible:h,triggerRef:m,tooltipRef:g,placement:"top"});const v=c?.length>0,b=d?.length>0;ia((()=>{v||b||p(!1)}),[v,b]);const y=la((()=>{(v||b)&&p(!0)}),[v,b]),_=la((()=>{p(!1)}),[]),w={icon:t,text:n,size:"m",style:r?"raised":"ghost",action:v?"danger":"default",onClick:o,trailingSlot:void 0!==i?d3(Tx,{count:i,size:"s",truncateCount:!0}):null,isDisabled:f},x=r&&a?d3("div",{className:"OzprxFt4",children:d3(Yc,{size:"xs",style:"ghost",icon:Bc.solidXCircle,onClick:a,rounded:!0})}):null;let k=d3(Gc,{...w});s&&(k=d3(Xc,{...w,isExpanded:l}));const C=!l&&(v||b);return d3("div",{className:"c7zlbsCH","data-testid":u,children:[d3("div",{ref:m,onPointerOver:y,onPointerLeave:_,children:k}),x,ns(d3("div",{ref:g,className:"tGodXU9h","data-testid":"filter-tooltip","data-visible":h&&C||void 0,children:[c&&d3(bd,{ref:g,children:c}),!c&&d&&d3(bd,{ref:g,children:d})]}),document.body)]})},l8=e=>{const{field:t,onChange:n,icon:r,label:i,testId:o,description:a}=e,{value:s,key:l}=t,c=la((()=>{n({...t,value:!s})}),[t,n,s]);return d3(s8,{icon:r,text:i??l,isActive:s,onClick:c,testId:o,description:a})},c8=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=la(((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?d3(s8,{icon:r,text:i??o,isActive:v,onClick:()=>{},disabled:!0,testId:d}):d3(nf,{size:"l",placement:"bottom-start",menuTrigger:({onClick:e,isOpened:t})=>d3(s8,{icon:r,text:i??o,isActive:v,isExpanded:t,counter:c&&v?m:void 0,onClick:e,onClear:u,isDropdown:!0,testId:d}),children:d3(nf.Section,{children:a.map((e=>d3(nf.ItemWithCheckmark,{onClick:()=>p(e.key,!g(e.key)),isChecked:g(e.key),leadingIcon:e.icon,closeMenuOnClick:!1,dataTestId:`${e.key}-filter`,children:d3("div",{className:"a64XtmY7",children:[d3($c,{tag:"div",children:e.label??e.key}),e.description&&d3($c,{tag:"div",size:"s",type:"paragraph",className:"uENssymO",children:e.description})]})},e.key)))})})},u8=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}=s4("filters"),h=la(((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 d3(nf,{placement:"bottom-start",menuTrigger:({onClick:e,isOpened:t})=>d3(s8,{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:d3(nf.Section,{children:o.map((e=>d3(nf.ItemWithCheckmark,{closeMenuOnClick:!1,onClick:()=>h(e.key,!p(e.key)),isChecked:p(e.key),leadingIcon:e.icon,children:e.label??e.key},e.key)))})})},d8=Gr((()=>K5.value.map((e=>({key:e,label:e}))))),f8=e=>{const{filter:t,onChange:n}=e,{t:r}=s4("filters");return 0===d8.value.length?null:d3(u8,{filter:t,onChange:n,options:d8.value,label:r("categories"),description:r("description.categories"),counter:!0,onClear:()=>n({...t,value:{...t.value,value:[]}})})},h8=e=>{const{filter:t,onChange:n}=e,{value:r}=t,{key:i}=r,{t:o,t:a}=s4("filters");return d3(l8,{field:r,onChange:e=>n({...t,value:e}),icon:"retry"===i?Bc.lineArrowsRefreshCcw1:Bc.lineIconBomb2,label:o(i),testId:`${i}-filter`,description:a(`description.${i}`)})},p8=Gr((()=>Z5.value.map((e=>({key:e,label:e}))))),g8=e=>{const{filter:t,onChange:n}=e,{t:r}=s4("filters");return 0===p8.value.length?null:d3(u8,{filter:t,onChange:n,options:p8.value,label:r("tags"),description:r("description.tags"),counter:!0,onClear:()=>n({...t,value:{...t.value,value:[]}})})},m8=[{key:"new",icon:Bc.lineAlertsNew},{key:"fixed",icon:Bc.lineAlertsFixed},{key:"regressed",icon:Bc.lineAlertsRegressed},{key:"malfunctioned",icon:Bc.lineAlertsMalfunctioned}],v8=e=>{const{group:t,onChange:n}=e,{t:r}=s4("filters"),i=sa((()=>m8.map((e=>({...e,label:r(e.key),description:r(`description.${e.key}`)})))),[r]);return d3(c8,{group:t,onChange:n,options:i,label:r("transition"),fieldKey:"transition",logicalOperator:"OR",strict:!0,counter:!0,testId:"transition-filter",onClear:()=>n({...t,value:[]})})},b8=e=>{const{filter:t,onChange:n}=e,{value:r,type:i}=t;return W5(t)||V5(t)?d3(h8,{filter:t,onChange:n}):X5(t)?d3(v8,{group:t,onChange:n}):"field"===i&&"boolean"===r.type?d3(l8,{field:r,onChange:e=>n({...t,value:e})}):G5(t)?d3(g8,{filter:t,onChange:n}):Y5(t)?d3(f8,{filter:t,onChange:n}):null},y8=()=>d3(ja,{each:y6,children:e=>d3(b8,{filter:e,onChange:w6})}),_8=()=>d3("div",{className:"CcgL6tD2",children:d3(y8,{})}),w8=e=>{h6(e||void 0)},x8=()=>{const{t:e}=s4("search");return d3(Sd,{placeholder:e("search-placeholder"),value:f6.value,onChange:w8,changeDebounce:150})},k8=()=>d3(x8,{});const C8=()=>d3("div",{className:"yC7Qklga",children:[d3(k8,{}),d3(_8,{})]}),S8=({children:e})=>d3("div",{className:"R_ww6ldK",children:e}),T8=e=>{const t=$6.peek().split(",")[1];H6(`${e},${t}`)},A8=e=>{H6(`${$6.peek().split(",")[0]},${e}`)},M8=()=>{const{t:e}=s4("sort-by"),{t:t}=s4("sort-by.values"),{t:n}=s4("sort-by.directions"),r=$6.value.split(",")[0],i=$6.value.split(",")[1],o=t("name"===r?"alphabet":r),a=n(`${"name"===r?"alphabet":r}-${i}-short`);return d3("div",{children:d3($c,{type:"paragraph",size:"m",className:"bgbbgYmw",children:[e("sort-by-text")," ",d3(nf,{size:"l",menuTriggerWrapper:"span",menuTrigger:({onClick:e,isOpened:t})=>d3($c,{type:"paragraph",size:"m",children:d3(Ax,{onClick:e,children:[o," ",a,d3(Fc,{size:"s",id:Bc.lineArrowsChevronDown,className:l3("qpX6Ct89",t&&"R0U9mYzd")})]})}),children:d3(nf.Section,{children:[d3(nf,{size:"s",menuTrigger:({onClick:t,isOpened:n})=>d3(nf.Item,{closeMenuOnClick:!1,onClick:t,leadingIcon:Bc.lineArrowsSwitchVertical1,rightSlot:d3(S8,{children:d3(Xc,{style:"outline",size:"s",isExpanded:n,text:o,focusable:!1})}),children:e("sort-by-category")}),children:d3(nf.Section,{children:[d3(nf.ItemWithCheckmark,{onClick:()=>T8("order"),isChecked:"order"===r,children:t("order")}),d3(nf.ItemWithCheckmark,{onClick:()=>T8("duration"),isChecked:"duration"===r,children:t("duration")}),d3(nf.ItemWithCheckmark,{onClick:()=>T8("status"),isChecked:"status"===r,children:t("status")}),d3(nf.ItemWithCheckmark,{onClick:()=>T8("name"),isChecked:"name"===r,children:t("alphabet")})]})}),d3(nf,{size:"m",menuTrigger:({onClick:t,isOpened:n})=>d3(nf.Item,{closeMenuOnClick:!1,onClick:t,leadingIcon:"asc"===i?Bc.lineArrowsSortLineAsc:Bc.lineArrowsSortLineDesc,rightSlot:d3(S8,{children:d3(Xc,{style:"outline",size:"s",isExpanded:n,text:a,focusable:!1})}),children:e("direction-category")}),children:d3(nf.Section,{children:[d3(nf.ItemWithCheckmark,{onClick:()=>A8("asc"),leadingIcon:Bc.lineArrowsSortLineAsc,isChecked:"asc"===i,children:n(`${r}-asc`)}),d3(nf.ItemWithCheckmark,{onClick:()=>A8("desc"),leadingIcon:Bc.lineArrowsSortLineDesc,isChecked:"desc"===i,children:n(`${r}-desc`)})]})})]})})]})})},L8=()=>{const{t:e}=s4("statuses");return d3("header",{className:"rcYygsvy",children:[d3(C8,{}),d3("div",{className:"fAV2rQGO",children:[d3(C6,{children:d3(wd,{source:p3,renderData:t=>{const n=t[v4.value]||h3.value.data,r=u.map((e=>({status:e,value:n[e]}))).filter((({value:e})=>e));r.filter((({status:e})=>e===x6.value)).length||"total"===x6.value||k6("total");const i=r.map((({status:t,value:n})=>d3(S6,{"data-testid":`tab-${t}`,id:t,children:[E(e(t)??t)," ",d3(Tx,{count:n,size:"s",status:t})]},t)));return d3(vo,{children:[d3(S6,{"data-testid":"tab-all",id:"total",children:[E(e("total"))," ",d3(Tx,{count:n?.total??0,size:"s"})]}),i]})}})}),d3(M8,{})]})]})},E8=()=>d3("div",{className:"kCl0Zs3g",children:d3(i8,{})}),N8=()=>d3(a8,{children:d3("section",{children:[d3(L8,{}),d3(E8,{})]})}),O8=(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 R8=({node:e,nodeId:t,isOpened:n,onToggle:r,children:i,depth:o,subtreeToggle:a,reportStatistic:s})=>{const l=O8(o),c=d3("div",{className:"iEvEloCL",children:[d3("span",{className:"v51D0zjm",children:e.name}),a]});return d3("div",{className:"Y8AD3JIb",id:t,children:[d3(kx,{categoryTitle:c,isOpened:n,toggleTree:r,"data-tree-header":!0,style:l,statistic:e.statistic,reportStatistic:s,statusFilter:"total"}),n&&i]})};const D8=({node:e,nodeId:t,isOpened:n,onToggle:r,children:i,depth:o,reportStatistic:a,className:s,title:l,subtreeToggle:c})=>{const{t:u}=s4("empty"),{t:d}=s4("filters"),{t:f}=s4("environments"),h=O8(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?d3("span",{className:"Rri1tAtf",children:[d3("span",{className:"lEc1FaKK",children:l??p}),c]}):l??p;return d3("div",{className:l3("dPGOP26W","Meg3M8x1",s),id:t,"data-group-key":e.key,children:[d3(kx,{isOpened:n,categoryTitle:g,toggleTree:r,"data-tree-header":!0,style:h,reportStatistic:a,statistic:e.statistic,statusFilter:"total"}),n&&i]})},P8=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 I8=({node:e,nodeId:t,isOpened:n,onToggle:r,children:i,depth:o,subtreeToggle:a,reportStatistic:s})=>{const{t:l}=s4("controls"),c=O8(o),u=d3("div",{className:"dxkfLXeB",children:[d3("div",{className:"sIa3F8zG",children:[d3("span",{className:"_YwiW80r",children:e.name}),e.historyId&&d3("span",{className:"izOXbGXb",children:d3(yd,{tooltipText:l("clipboard"),tooltipTextAfterClick:l("clipboardSuccess"),children:d3(Yc,{style:"ghost",size:"s",icon:Bc.lineGeneralCopy3,onClick:t=>{t.stopPropagation(),P8(e.historyId??"")}})})})]}),a]});return d3("div",{className:l3("KDkKknyc","i7GyJnlA"),id:t,children:[d3(kx,{categoryTitle:u,isOpened:n,toggleTree:r,"data-tree-header":!0,style:c,statistic:e.statistic,reportStatistic:s,statusFilter:"total"}),n&&i]})};var z8="bZfVSAWd",j8="IyMtG5f9",B8="tsNZ2hZ0",F8="BDowOGLG",H8="khqNXjFC",$8="OR0Vz8Ro",U8="bGq0bpCD",q8="qv4ikC9p";const W8=({status:t})=>{const{t:n}=s4("statuses");return d3("div",{"data-testid":`test-result-status-${t}`,className:l3($8,e[`status-${t}`]),children:[d3(px,{status:t,className:U8,classNameIcon:U8}),d3($c,{type:"ui",size:"s",className:q8,children:E(n(t)??t)})]})};var V8="LHMrtyIu";const G8=({node:e,nodeId:t,store:n,isOpened:r,onToggle:i,children:o,depth:a,subtreeToggle:s,reportStatistic:l})=>{const{t:c}=s4("transitions"),{t:u}=s4("environments"),{t:d}=s4("filters"),{t:f}=s4("empty"),h={new:Bc.lineAlertsNew,fixed:Bc.lineAlertsFixed,regressed:Bc.lineAlertsRegressed,malfunctioned:Bc.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?Bc.lineIconBomb2:void 0;return d3(D8,{node:e,nodeId:t,store:n,isOpened:r,onToggle:i,depth:a,subtreeToggle:s,reportStatistic:l,className:l3("ya5YlQ60",b&&"ieJpKbxJ",y&&"tzQtvnn2",_&&"YUKlGTpl"),title:d3("div",b?{className:"vaNYHlAy",children:d3(W8,{status:w})}:y?{className:"YA3LdHtl",children:[S&&d3(Fc,{id:S,className:V8}),d3($c,{size:"m",className:"VlHHDu4n",children:E(T??"")})]}:_?{className:"J4VDksEr",children:[L&&d3(Fc,{id:L,className:"rzwF1AGa"}),d3($c,{size:"m",className:"htUHi1lr",children:M})]}:{className:"hhMYCdHc",children:[d3($c,{type:"ui",size:"m",className:"SuQtBxxQ",children:g}),d3("div",{className:"pKWUT9rF",children:d3("div",{className:"wiMROynG",children:[C?d3(px,{status:C,className:"zNktNR3L"}):S?d3(Fc,{id:S,className:V8}):null,d3($c,{size:"m",bold:!0,className:"fahd2Lxp",children:v})]})})]}),children:o})};var Y8="qGxCoczp",X8="ZoDs9GKE",Z8="HjEVsshG",K8="WyEMHPEa",J8="WjgxaX6l",Q8="h0WNyvNR",e7="x6XvXsdF",t7="EYb8N2JX",n7="ywV1I7Rk",r7="iozq1SQe",i7="RHoWUiR9",o7="TkAPRekq",a7="OhETl5lI",s7="YxvnXCJ4",l7="ptVv6yXb",c7="m73mic1c",u7="rVOi6mjF",d7="DfaezMU8",f7="dLeQ2h1G",h7="lnEXb9Vt",p7="kTWcR0v8",g7="ZiZH1BH1",m7="gofttWVe",v7="sPCmbiiu";const b7=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)},y7=({node:e,nodeId:n,isOpened:r,onToggle:i,children:o,depth:a,subtreeToggle:s,reportStatistic:l})=>{const{t:c}=s4("ui"),u=b7(e.statistic),d=kn(e.name??"",{fg:"var(--on-text-primary)",colors:{}}),f=O8(a),h=(e.name??"").length>80,[p,g]=na(!1);return d3("div",{className:l3(i7,o7),id:n,children:[d3("div",{className:d7,"data-tree-header":!0,style:f,onClick:i,children:[d3(af,{isOpened:r,className:s7}),d3("div",{className:l3(c7,u&&t[`message-status-${u}`],p&&u7),children:[d3(Uc,{size:"s",className:l3(h7,p&&p7),children:d3("pre",{dangerouslySetInnerHTML:{__html:d}})}),d3("div",{className:a7,children:[h&&d3(Gc,{size:"s",style:"ghost",text:c(p?"showLess":"showMore"),className:f7,onClick:e=>{e.stopPropagation(),g((e=>!e))}}),s,d3("div",{className:g7,children:d3(xx,{reportStatistic:l,statusFilter:"total",statistic:e.statistic})})]})]})]}),r&&o]})};var _7="GnI1LVKC",w7="ECouP9l9",x7="IdGh4r5i",k7="K7nDhuR6",C7="x0Fr7zsV",S7="rjsNCUai",T7="AfnYIQTv";const A7={blocker:Bc.lineArrowsChevronUpDouble,critical:Bc.lineArrowsChevronUp,normal:Bc.lineGeneralEqual,minor:Bc.lineArrowsChevronDown,trivial:Bc.lineArrowsChevronDownDouble,none:Bc.lineGeneralXClose},M7=({severity:e="normal",text:t="",size:r="s"})=>{const{t:i}=s4("severity"),o=l3(n[`severity-${e}`]);return d3("div",{className:S7,children:[d3(Fc,{className:o,id:A7[e],size:r}),d3($c,{size:r,bold:!0,className:T7,children:t||E(i(e))})]})};const L7=({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 d3(D8,{node:e,nodeId:t,store:n,isOpened:r,onToggle:i,depth:a,subtreeToggle:s,reportStatistic:l,className:"cgLeSt6P",title:d3("div",{className:"aDSZT21y",children:d3(M7,{severity:c,size:"m"})}),children:o})};const E7=e=>"category"!==e?.type||Boolean(e.expand),N7=(e,t)=>{const n=t.nodes[e],r=E7(n);return W6.value.has(e)?!r:r},O7=({nodeId:e,store:t,order:n,depth:r=0})=>{const i=t.nodes[e],o=n5.value,{t:a}=s4("transitions"),{t:s}=s4("environments"),{t:l}=s4("empty"),c=W6.value.has(e),u=E7(i),[d,f]=na(c?!u:u),[h,p]=na(0),[g,m]=na(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):[],_=!N7(e,t),w=N7(e,t)&&y.filter((t=>t!==e)).every((e=>!N7(e,t))),x=N7(e,t)&&y.every((e=>N7(e,t))),k=()=>{f(!d),V6(e),m(null)},C=n=>{const r=new Set(W6.value);y.forEach((i=>{const o=t.nodes[i],a=E7(o);let s=!1;s="all"===n||"first"===n&&i===e,a===s?r.delete(i):r.add(i)})),W6.value=r},S=v?d3(Yc,{size:"xs",style:"ghost",icon:b?_?Bc.lineArrowsChevronDown:Bc.lineArrowsChevronUp:_?Bc.lineArrowsChevronDown:w?Bc.lineArrowsChevronDownDouble:Bc.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=()=>d3("div",{className:"KUZ4m350",children:(i.childrenIds??[]).map(((e,n)=>d3("div",{className:"ayUf_HIB","data-tree-content":!0,children:d3(O7,{nodeId:e,store:t,order:n,depth:r+1},e)},e)))},h);if("category"===i.type)return d3(R8,{node:i,nodeId:e,store:t,isOpened:d,onToggle:k,depth:r,subtreeToggle:S,reportStatistic:h3.value.data,children:T()});if("history"===i.type)return d3(I8,{node:i,nodeId:e,store:t,isOpened:d,onToggle:k,depth:r,subtreeToggle:S,reportStatistic:h3.value.data,children:T()});if("message"===i.type||"group"===i.type)return"message"===i.type?d3(y7,{node:i,nodeId:e,store:t,isOpened:d,onToggle:k,depth:r,subtreeToggle:S,reportStatistic:h3.value.data,children:T()}):"severity"===i.key?d3(L7,{node:i,nodeId:e,store:t,isOpened:d,onToggle:k,depth:r,subtreeToggle:S,reportStatistic:h3.value.data,children:T()}):i.key?d3(G8,{node:i,nodeId:e,store:t,isOpened:d,onToggle:k,depth:r,subtreeToggle:S,reportStatistic:h3.value.data,children:T()}):d3(D8,{node:i,nodeId:e,store:t,isOpened:d,onToggle:k,depth:r,subtreeToggle:S,reportStatistic:h3.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 d3("div",{className:"B4UNfGcP",id:e,children:d3(_x,{...i,name:c,groupOrder:(n??0)+1,marked:i.id===o,navigateTo:()=>O4({testResultId:e}),tooltips:u})})}};const R7=({store:e})=>d3("div",{className:"Y4M1IiGS",children:e.roots.map((t=>d3(O7,{nodeId:t,store:e},t)))}),D7=$r({loading:!0,error:void 0,data:void 0});Gr((()=>D7?.value?.data.roots.length));let P7;const I7=async e=>{if(P7!==e||!D7.peek().data){P7=e,D7.value={...D7.value,loading:!0,error:void 0};try{const t=await z((e=>e?`widgets/${e}/categories.json`:"widgets/categories.json")(e));D7.value={data:t,error:void 0,loading:!1}}catch(e){D7.value={...D7.value,error:void 0,loading:!1}}}};const z7=()=>{const{t:e}=s4("empty");return d3(wd,{source:D7,renderLoader:()=>d3("div",{className:"VjjrpeUw",children:d3(xd,{})}),renderData:t=>D7.value.data?.roots?.length?d3(R7,{store:t}):d3("div",{className:"yT9qhy8N",children:e("no-categories-results")})})},j7="bits",B7="bytes",F7="",H7="jedec",$7="round",U7="string",q7={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 W7(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=U7,fullform:f=!1,fullforms:h=[],exponent:p=-1,roundingMethod:g=$7,precision:m=0}={}){let v=p,b=Number(e),y=[],_=0,w=F7;"si"===u?(r=10,u=H7):"iec"===u||u===H7?r=2:2===r?u="iec":(r=10,u=H7);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]=q7.symbol[u][t?j7:B7][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":q7.symbol[u][t?j7:B7][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]||F7,o=r.length,a=i-o;y[0]=`${n[0]}${t}${r.padEnd(o+a,"0")}`}return k&&(y[1]=h[v]?h[v]:q7.fullform[u][v]+(t?"bit":"byte")+(1===y[0]?F7:"s")),"array"===d?y:"object"===d?{value:y[0],symbol:y[1],exponent:v,unit:w}:y.join(l)}const V7="https://trace.playwright.dev",G7=`${V7}/next/`,Y7=({onRetry:e,t:t})=>d3("div",{"data-testid":"pw-trace-popup-blocked",children:[d3($c,{children:[t("pwTracePopupBlocked"),d3("br",{}),t("pwTracePopupBlockedHint")]}),d3(Gc,{style:"flat",size:"s",text:t("retries"),onClick:()=>{f5.value=!1,e()}})]}),X7=({link:e})=>{const{t:t}=s4("ui"),n=`Playwright Trace Viewer | ${e.name}${e.ext}`,r=async()=>{try{const i=await B(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,V7)};return t.location.href=G7,t.focus(),r(),globalThis.setTimeout((()=>{r()}),300),!0})(await i.blob());o||p5({title:n,component:d3(Y7,{onRetry:r,t:t})})}catch{p5({title:n,component:d3($c,{children:"Failed to load Playwright trace attachment."})})}};return d3(yd,{tooltipText:t("openPwTrace"),children:d3(Yc,{icon:Bc.lineArrowsExpand3,size:"s",style:"ghost",onClick:r})})};var Z7="rSMkogjt",K7="m8rk9tDG",J7="xefMEPSS",Q7="HHsybWob",e9="VKOlcV4U",t9="h339ZMEJ",n9="mNhMD4M5",r9="sXJUrXQT",i9="nn68CIdd",o9="luT1VnGP",a9="nfjZcJp6",s9="a30JIKUL",l9="fG3nxMw9",c9="bVvMHCl8",u9="F8sZC2Xp",d9="CTjfDSfX",f9="o7YilZwI",h9="lEcTTfo0",p9="Ij4Cg4Kx",g9="uughArgE",m9="Px8Q9Npk",v9="Yino1buJ",b9="nj9hJGT8",y9="eVefXDQ_",_9="yzcDORxL",w9="pbsM6UgE",x9="ZIuCxI4O",k9="YYCSAKki",C9="jex1quuI",S9="AHvvSUfJ",T9="JSrX31Ic",A9="Bio0Im7S",M9="zGCnYcwA",L9="wAbIx1a1",E9="mkH_PBnf",N9="INLdyBW3",O9="ZC6k5aDG",R9="shp49_Ch",D9="p8fgu_re",P9="l7iVQhqV",I9="_95lTgH3b",z9="QyDf7oEf",j9="blSCD0ef",B9="ayR3EuIO",F9="CueB19ej";const H9=({item:e,shouldExpand:t,isPreviewable:n,showPreview:r,onPreviewToggle:i,isCodeView:o,highlightCode:a=!0,onHighlightToggle:s})=>{const{t:l}=s4("controls"),{t:c}=s4("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?W7(p,{base:2,round:1}):"-";ia((()=>{f5.value&&p5({isModalOpen:!0,data:e,component:d3(ex,{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 F(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 d3("div",{className:r9,children:[Boolean(f)&&d3($c,{size:"s",children:f}),Boolean(g)&&d3($c,{size:"s",children:g}),d3("div",{className:n9,children:[h&&d3(X7,{link:e.link}),n&&i&&d3(yd,{tooltipText:l(r?"viewCode":"previewAttachment"),children:d3(Yc,{className:e9,style:"ghost",size:"s",iconSize:"s",icon:r?Bc.viewOff:Bc.view,onClick:e=>{e.stopPropagation(),i()}})}),o&&s&&d3(yd,{tooltipText:l("syntaxHighlight"),children:d3(Yc,{className:l3(e9,!a&&t9),style:"ghost",size:"s",iconSize:"s",icon:Bc.lineDevCodeSquare,onClick:e=>{e.stopPropagation(),s()}})}),t&&d3(yd,{tooltipText:l("expand"),children:d3(Yc,{className:e9,style:"ghost",size:"s",iconSize:"s",icon:Bc.lineArrowsExpand3,onClick:t=>{t.stopPropagation(),p5({data:e,component:d3(ex,{item:e,previewable:!0,i18n:{imageDiff:e=>c(`imageDiff.${e}`)}})})}})}),d3(yd,{tooltipText:l("downloadAttachment"),children:d3(Yc,{style:"ghost",size:"s",iconSize:"s",className:e9,icon:Bc.lineGeneralDownloadCloud,onClick:e=>m(e)})})]})]})},{lineImagesImage:$9,lineFilesFileAttachment2:U9,playwrightLogo:q9}=Bc,W9={"text/plain":U9,"application/xml":U9,"text/html":U9,"text/csv":U9,"text/markdown":U9,"text/javascript":U9,"text/typescript":U9,"text/ruby":U9,"text/python":U9,"text/php":U9,"text/java":U9,"text/csharp":U9,"text/cpp":U9,"text/c":U9,"text/go":U9,"text/rust":U9,"text/swift":U9,"text/kotlin":U9,"text/scala":U9,"text/perl":U9,"text/r":U9,"text/dart":U9,"text/lua":U9,"text/haskell":U9,"text/sql":U9,"text/tab-separated-values":U9,"text/css":U9,"text/uri-list":U9,"image/svg+xml":$9,"image/png":$9,"application/json":U9,"application/zip":U9,"video/webm":$9,"image/jpeg":$9,"video/mp4":$9,"application/vnd.allure.image.diff":$9,"application/vnd.allure.playwright-trace":q9},V9=new Set(["html"]),G9=({item:e,stepIndex:t})=>{const n=null!==e.link?.id?`attachment-${e.link.id}`:null,r=!W6.value.has(n),[i,o]=na(!1),[a,s]=na(!0),{t:l}=s4("attachments"),{link:c}=e,{missed:u}=c,d=W(c.contentType),f=!["archive",null].includes(d),h=V9.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=(q(t)??t.replace(/^\./,"")).toLowerCase(),r=e.includes(".")?e.split(".").pop():e;if(r){n=r;break}}return(!t||!$.has(t))&&(!(!t||!U.has(t))||!!n&&H.has(n))})({contentType:c.contentType,ext:c.ext,name:c.name,originalFileName:c.originalFileName});return d3("div",{"data-testid":"test-result-attachment",className:M9,children:[d3("div",{"data-testid":"test-result-attachment-header",className:l3(y9,{[K7]:!f}),onClick:e=>{e.stopPropagation(),null!==n&&V6(n)},children:[f?d3(af,{isOpened:r}):d3("div",{className:j9}),d3("div",{className:_9,children:d3(Fc,{size:"s",id:W9[c.contentType]??U9})}),d3(Uc,{size:"s",className:D9,children:t}),d3($c,{className:k9,children:c.name||c.originalFileName}),u&&d3($c,{size:"s",className:x9,"data-testid":"test-result-attachment-missed",children:"missed"}),d3("div",{children:d3(H9,{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&&d3("div",{className:v9,children:d3("div",{className:m9,role:"button",onClick:t=>{t.stopPropagation(),"image"===d&&p5({data:e,component:d3(ex,{item:e,previewable:!0})})},children:d3(ex,{item:e,previewable:i,highlightCode:a,i18n:{imageDiff:e=>l(`imageDiff.${e}`)}})})})]})},Y9=$r({loading:!0,error:void 0,data:void 0}),X9=async()=>{try{const e=await z("widgets/globals.json");Y9.value={data:e,error:void 0,loading:!1}}catch(e){Y9.value={...Y9.peek(),error:e.message,loading:!1}}};var Z9="KTUjVPHJ",K9="H8TGa37o";const J9=()=>{const{t:e}=s4("empty"),{t:t}=s4("environments"),[n,r]=na([]),i=e=>d3("div",{className:"OTyWImw_",children:e.map((e=>({link:e,type:"attachment"}))).map(((e,t)=>d3(G9,{item:e,stepIndex:t+1},e.link.id??`${e.link.name}-${t}`)))}),o=e=>d3("div",{className:Z9,children:i(e)});return d3(wd,{source:Y9,renderData:({attachments:a=[],attachmentsByEnv:s={}})=>{if(v4.value){const t=s[v4.value]??[];return t.length?o(t):d3("div",{className:K9,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?d3("div",{className:Z9,children:l.map((([e,o])=>{const a=!n.includes(e);return d3("div",{className:"bIAyzs6S",children:[d3(T6,{isOpened:a,setIsOpen:()=>{r((t=>a?t.concat(e):t.filter((t=>t!==e))))},title:`${t("environment",{count:1})}: "${b4(e)}"`,titleTooltipText:b4(e),truncateTitle:!0,counter:o.length}),a?i(o):null]},e)}))}):d3("div",{className:K9,children:e("no-attachments-results")}):o(a):d3("div",{className:K9,children:e("no-attachments-results")})}})},Q9=/\x1B\[[0-9;?]*[ -/]*[@-~]/g,eee=e=>`__test-error__:${e}`,tee=e=>"string"!=typeof e?"":e.replace(Q9,"").trim(),nee=e=>Boolean(e?.actual)&&"undefined"!==e.actual&&Boolean(e?.expected)&&"undefined"!==e.expected,ree=(e,t)=>{if("failed"!==e.status&&"broken"!==e.status)return!1;const n=tee(e.message),r=tee(t.message);if(n&&r)return n===r;const i=tee(e.trace),o=tee(t.trace);return Boolean(i)&&Boolean(o)&&i===o},iee=(e,t)=>{const n=[];let r=!1;for(const i of e){if("attachment"===i.type){n.push(i);continue}const e=iee(i.steps,t),o=Boolean(t)&&!e.didPlaceSyntheticError&&ree(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}},oee=(e,t="Error")=>{if(!e)return[];const n=("failed"===e.status||"broken"===e.status)&&(r=e.error,Boolean(tee(r?.message).length)||Boolean(tee(r?.trace).length)||nee(r))?((e,t,n,r)=>{return{type:"error",id:eee(e),title:(i=n.message,(tee(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}=iee(e.steps,n);return n&&!o?[...i,n]:i};class aee{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 see=new class extends aee{};function lee(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 cee(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 uee(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 dee(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 fee(e,t){return uee(e,t,"")}function hee(e,t){return dee(e,t,"")}function pee(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 gee(e){let t;for(t=e.length-1;t>=0&&e[t].match(/\s/);t--);return e.substring(t+1)}function mee(e){const t=e.match(/^\s*/);return t?t[0]:""}const vee="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}",bee=new RegExp(`[${vee}]+|\\s+|[^${vee}]`,"ug");const yee=new class extends aee{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(bee)||[];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)&&_ee(n,i,r,e),n=e,r=null,i=null)})),(r||i)&&_ee(n,i,r,null),e}};function _ee(e,t,n,r){if(t&&n){const i=mee(t.value),o=gee(t.value),a=mee(n.value),s=gee(n.value);if(e){const r=lee(i,a);e.value=dee(e.value,a,r),t.value=fee(t.value,r),n.value=fee(n.value,r)}if(r){const e=cee(o,s);r.value=uee(r.value,s,e),t.value=hee(t.value,e),n.value=hee(n.value,e)}}else if(n){if(e){const e=mee(n.value);n.value=n.value.substring(e.length)}if(r){const e=mee(r.value);r.value=r.value.substring(e.length)}}else if(e&&r){const n=mee(r.value),i=mee(t.value),o=gee(t.value),a=lee(n,i);t.value=fee(t.value,a);const s=cee(fee(n,a),o);t.value=hee(t.value,s),r.value=uee(r.value,n,s),e.value=dee(e.value,n,n.slice(0,n.length-s.length))}else if(r){const e=mee(r.value),n=pee(gee(t.value),e);t.value=hee(t.value,n)}else if(e){const n=pee(gee(e.value),mee(t.value));t.value=fee(t.value,n)}}const wee=new class extends aee{tokenize(e){const t=new RegExp(`(\\r?\\n)|[${vee}]+|[^\\S\\n\\r]+|[^${vee}]`,"ug");return e.match(t)||[]}};const xee=new class extends aee{constructor(){super(...arguments),this.tokenize=Cee}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 kee(e,t,n){return xee.diff(e,t,n)}function Cee(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 See="syGZIoxJ",Tee="RXa8doT1",Aee="zpir2BWl",Mee="G950Nz0z",Lee="zsrd3avP",Eee="lhxolKcF",Nee="mBwUCrFL",Oee="g4KlyZzX",Ree="hJeLOo1U",Dee="N_wcZPgp",Pee="Dsth5JnN",Iee="esQmeeTd",zee="oJ9BJkyy",jee="nwVUw1wN",Bee="zPbBjLko",Fee="DszOlnW0",Hee="dUSZKrAh",$ee="dDI6ZI0h",Uee="uNUwe_HS",qee="sG54O2AC",Wee="puYODjqd",Vee="h0ucaiY8",Gee="yDO2U9CM",Yee="tqCmioIo",Xee="ZfK0VKlv",Zee="bZnjmgRq",Kee="iSKfb3Ul",Jee="SG8hz9WF",Qee="yHFYrUoh";const ete={chars:function(e,t,n){return see.diff(e,t,n)},words:function(e,t,n){return null==(null==n?void 0:n.ignoreWhitespace)||n.ignoreWhitespace?yee.diff(e,t,n):function(e,t,n){return wee.diff(e,t,n)}(e,t,n)},lines:kee},tte=({expected:e,actual:t})=>{const[n,r]=na("lines"),[i,o]=na("unified"),[a,s]=na((()=>kee(e,t))),{t:l}=s4("controls"),c=()=>d3(vo,{children:a.map(((e,t)=>d3("div",{className:e.added?Lee:e.removed?Nee:"",children:e.value},t)))});return d3("div",{className:See,"data-testId":"test-result-diff",children:[d3("div",{className:Mee,children:[d3("div",{className:Tee,children:[d3(Uc,{size:"s",className:Aee,children:[l("viewMode"),":"]}),d3("div",{className:Ree,children:["unified","side-by-side"].map((e=>d3(Gc,{size:"s",style:i===e?"primary":"outline",text:l(e),onClick:()=>o(e)},e)))})]}),d3("div",{className:Tee,children:[d3(Uc,{size:"s",className:Aee,children:[l("compareBy"),":"]}),["chars","words","lines"].map((i=>d3(Gc,{size:"s",style:n===i?"primary":"outline",text:l(i),onClick:()=>((n="chars")=>{const i=(0,ete[n])(e,t,{});r(n),s(i)})(i)},i)))]})]}),d3("side-by-side"===i?()=>d3("div",{className:Iee,children:[d3("div",{className:Pee,children:[d3(Uc,{type:"ui",size:"s",className:zee,children:l("expected")}),d3(tx,{code:e,className:Oee})]}),d3("div",{className:Pee,children:[d3("div",{className:Dee,children:d3(Uc,{size:"s",className:zee,children:l("actual")})}),d3(tx,{className:Oee,children:d3(c,{})})]})]}):()=>d3(vo,{children:d3("div",{className:Qee,children:d3(tx,{className:Oee,children:[d3("div",{className:Eee,children:e}),d3(c,{})]})})}),{})]})},nte=({trace:e})=>{const t=kn(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 d3("div",{"data-testid":"test-result-error-trace",className:$ee,children:d3(Uc,{size:"s",type:"ui",children:d3("pre",{dangerouslySetInnerHTML:{__html:t}})})})},rte=({className:e,message:t="",trace:n,actual:r,expected:o,status:a,showMessage:s=!0,...l})=>{const[c,u]=na(!1),{t:d}=s4("ui"),{t:f}=s4("controls"),{t:h}=s4("empty"),p=Boolean(n?.length),g=nee({actual:r,expected:o}),m=s&&t?kn(t,{fg:"var(--on-text-primary)",colors:{}}):"";return d3("div",{"data-testid":"test-result-error",className:l3(jee,i[`tr-status-${a}`],e),...l,children:[s&&t?d3(vo,{children:[d3("div",{"data-testid":"test-result-error-header",className:Bee,children:[d3($c,{tag:"p",size:"m",bold:!0,className:l3(Hee,i[`tr-color-${a}`]),children:d("error")}),d3(yd,{tooltipText:f("clipboard"),tooltipTextAfterClick:f("clipboardSuccess"),children:d3(Yc,{style:"ghost",size:"s",icon:Bc.lineGeneralCopy3,onClick:()=>{P8(t)}})})]}),d3("div",{className:Fee,onClick:()=>u(!c),children:d3(Uc,{"data-testid":"test-result-error-message",size:"s",children:d3("pre",{dangerouslySetInnerHTML:{__html:m}})})})]}):s?h("no-message-provided"):null,g&&d3(Gc,{style:"flat","data-testId":"test-result-diff-button",size:"s",text:f("showDiff"),onClick:()=>p5({title:f("comparison"),data:{actual:r,expected:o},component:d3(tte,{actual:r,expected:o})})}),(c||!s)&&p&&d3(nte,{trace:n})]})};var ite="Sh6ni82w",ote="pXnEbQSL";const ate=()=>{const{t:e}=s4("empty"),{t:t}=s4("environments"),[n,r]=na([]),i=e=>d3("ul",{className:"RorQpJLu",children:e.map(((e,t)=>d3("li",{className:"nTIk374J",children:d3(rte,{...e})},t)))}),o=e=>d3("div",{className:ite,children:i(e)});return d3(wd,{source:Y9,renderData:({errors:a=[],errorsByEnv:s={}})=>{if(v4.value){const t=s[v4.value]??[];return t.length?o(t):d3("div",{className:ote,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?d3("div",{className:ite,children:l.map((([e,o])=>{const a=!n.includes(e);return d3("div",{className:"nT3QRdeW",children:[d3(T6,{isOpened:a,setIsOpen:()=>{r((t=>a?t.concat(e):t.filter((t=>t!==e))))},title:`${t("environment",{count:1})}: "${b4(e)}"`,titleTooltipText:b4(e),truncateTitle:!0,counter:o.length}),a?i(o):null]},e)}))}):d3("div",{className:ote,children:e("no-global-errors-results")}):o(a):d3("div",{className:ote,children:e("no-global-errors-results")})}})};const ste=()=>{const{logo:e}=j()??{};return d3("div",{className:"WTJPyB_J",children:d3(Lx,{logo:e})})},lte=()=>d3("div",{className:"n4rYharX",children:d3(wd,{source:m5,renderLoader:()=>null,renderData:e=>d3(jW,{slices:e.slices,percentage:e.percentage})})}),cte=()=>{const{reportName:e,createdAt:t}=j()??{},{t:n}=s4("ui"),r=new Date(t).toLocaleDateString(i4.value,{month:"long",day:"numeric",year:"numeric",hour:"numeric",minute:"numeric",second:"numeric"});return d3("div",{className:"_c9rkrJI",children:[d3("div",{className:"zS7_OItU",children:[d3(ste,{}),d3(wd,{source:Y9,renderData:({exitCode:t})=>{const i=t?.actual??t?.original;return d3("div",{className:"vMfYOHzS","data-testid":"report-header",children:[d3("div",{className:"oL7cUE3O",children:[void 0!==i&&d3(W8,{status:0===i?"passed":"failed"}),d3(qc,{size:"s",tag:"h2",className:"O3rCqOkG","data-testid":"report-title",children:e})]}),d3($c,{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})})]})}})]}),d3(lte,{})]})},ute=/^([^<>]+)\s+<\s*(\S*)\s*>$/,dte=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(ute);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 fte="nN4HTcaV",hte="zekPInHE",pte="n8aAEqJN",gte="gWhwmmak",mte="vbS07EBz",vte="GnFlAHvD",bte="SOj4fXZr",yte="Y0BjnooD",_te="DYf1zpQK",wte="x3aRsFUn",xte="UDXyMSw0",kte="S2HdG_Q4",Cte="J2Ih3NTA",Ste="P3sa8qE8",Tte="mINTqK_J",Ate="Mo_tidg4",Mte="A6GWJHtf",Lte="mS0_tpbu",Ete="Qc1PPhPw",Nte="WnwsZxzW",Ote="FFZ1ZZHu",Rte="SmbunT7K",Dte="XZvscg6t",Pte="tf5VzSUo",Ite="a26GxOK7",zte="HaG13R7H";const jte=({envInfo:e,size:t="m",columns:n=2})=>d3("div",{class:Tte,style:{gridTemplateColumns:`repeat(${n}, ${100/n-5}%)`},"data-testid":"metadata-list",children:e?.map((({name:e,values:n,value:r})=>d3(Wte,{size:t,title:e,value:r,values:n},e)))}),Bte=({groupedLabels:e,size:t="m"})=>d3("div",{class:Tte,children:e&&Object.entries(e)?.map((([e,n])=>d3(Wte,{size:t,title:e,values:n},e)))}),Fte=({url:e})=>{const{t:t}=s4("filters");return d3(Zc,{href:e,target:"_blank",style:"ghost",icon:Bc.lineGeneralLinkExternal,text:t("goto_filter")})},Hte=e=>{const{t:t}=s4("ui"),{ownerValue:n}=e,r=dte(n);if("none"===r.type)return null;if("email"===r.type&&r.email===n)return null;if("email"===r.type)return d3(Gc,{icon:Bc.lineGeneralCopy3,style:"outline",text:t("copy-email"),onClick:()=>P8(r.email)});if("url"===r.type){const e=r.url.length>25?`${r.url.slice(0,25)}...`:r.url;return d3(Zc,{href:r.url,target:"_blank",style:"ghost",icon:Bc.lineGeneralLinkExternal,text:e})}},$te=e=>{const{value:t,name:n}=e,{t:r}=s4("ui");return d3("div",{className:vte,children:[d3("div",{className:bte,children:d3($c,{children:t})}),"tag"===n&&d3(Fte,{url:U5([t])}),"owner"===n&&d3(Hte,{ownerValue:t}),d3(Gc,{style:"outline",icon:Bc.lineGeneralCopy3,text:r("copy"),onClick:()=>P8(t)})]})},Ute=({value:e,size:t="s"})=>{const n=dte(e).displayName??e;return d3(nf,{size:"xl",menuTrigger:({onClick:e})=>d3("div",{className:Ste,children:d3($c,{type:"ui",size:t,onClick:e,bold:!0,className:Cte,children:n})}),children:d3(nf.Section,{children:d3($te,{value:e,name:"owner"})})})},qte=({name:e,size:t="s",value:n})=>"owner"===e?d3(Ute,{value:n,size:t}):d3(nf,{size:"xl",menuTrigger:({onClick:e})=>d3("div",{className:Ste,children:d3($c,{type:"ui",size:t,onClick:e,bold:!0,className:Cte,children:n})}),children:d3(nf.Section,{children:d3($te,{value:n,name:e})})}),Wte=({title:e,value:t,values:n,size:r="m"})=>d3("div",{className:xte,"data-testid":"metadata-item",children:[d3($c,{type:"ui",size:r,className:l3(kte,o[`report-metadata-${r}`]),"data-testid":"metadata-item-key",children:e}),d3("div",n?.length?{className:Nte,"data-testid":"metadata-item-value",children:n.map((t=>d3(qte,{value:t,name:e},t)))}:{className:Nte,"data-testid":"metadata-item-value",children:d3(qte,{value:t??"",name:e})})]});var Vte="H1FTwt0p",Gte="olN4GBkY",Yte="BPmah4u0",Xte="nniai2BI",Zte="v3ysKQxp",Kte="qzVfMJ62",Jte="rSSOw0a2",Qte="GX_rB7lR",ene="leWWvIJ0",tne="mVVC1964",nne="scoj0j8L",rne="ITwjhwRa",ine="g27isKzC",one="wzfUu19I",ane="GF7CSNA8",sne="Qa3VANQ9",lne="ue52FuVD",cne="TE01RZXH",une="uginZSIO",dne="qkhMdfXn",fne="GwUOcir4";const hne=({count:e})=>d3($c,{"data-testid":"metadata-value",type:"ui",size:"m",tag:"div",className:Xte,children:e});var pne=({className:e,renderComponent:t=hne,props:n,...r})=>{const{title:i}=n||{};return d3("div",{...r,className:s3("metadata-item",e),children:[d3($c,{type:"ui",size:"s",tag:"div",className:Yte,children:i}),d3(t||hne,{...n})]})};const gne=({status:e,count:t})=>d3("div",{"data-testid":"metadata-value",className:Zte,children:[d3("div",{className:s3(Vte,s?.[`status-${e}`])}),d3($c,{type:"ui",size:"m",bold:!0,children:t})]}),mne={flaky:Bc.lineIconBomb2,retries:Bc.lineArrowsRefreshCcw1,new:Bc.lineAlertsNew},vne=({type:e,count:t})=>d3("div",{"data-testid":"metadata-value",className:Kte,children:["all"!==e&&d3(Fc,{className:Gte,id:mne[e],size:"s"}),d3($c,{size:"m",bold:!0,children:t})]}),bne=["flaky","new","retries"],yne=({stats:e})=>{const{t:t}=s4("statuses"),{t:n}=s4("testSummary"),r=Gr((()=>({title:n("total"),type:"all",count:e.total}))),i=bne.map((t=>{if(!e[t])return;const r={title:n(t),count:e[t]||0,type:t};return d3("div",{children:d3(pne,{"data-testid":`metadata-item-${t}`,props:r,renderComponent:vne})},t)})).filter(Boolean),o=u.map((t=>({status:t,value:e[t]}))).filter((({value:e})=>e)).map((({status:e,value:n})=>{const r=E(t(e)??e??"");return d3(pne,{"data-testid":`metadata-item-${e}`,props:{title:r,count:n,status:e},renderComponent:gne},e)}));return d3("div",{class:ane,children:[d3("div",{className:Qte,children:[d3(pne,{"data-testid":"metadata-item-total",props:r.value,renderComponent:vne}),Boolean(i.length)&&d3("div",{className:ine}),i]}),d3("div",{className:one,children:o})]})},_ne=$r({loading:!1,error:void 0,data:void 0}),wne=async()=>{_ne.value={..._ne.peek(),loading:!0,error:void 0};try{const e=await z("widgets/allure_environment.json",{bustCache:!0});_ne.value={data:e,error:void 0,loading:!1}}catch(e){_ne.value={..._ne.peek(),error:e.message,loading:!1}}},xne=$r({loading:!1,error:void 0,data:void 0}),kne=({envInfo:e=[]})=>{const t=v4.value??"default",n=`report-${t}-metadata`,r=`report-${t}-metadata-showAll`,i=!W6.value.has(n),o=W6.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}=s4("ui");return d3("div",{class:Jte,children:[d3(T6,{isOpened:i,setIsOpen:()=>V6(n),title:c("metadata"),counter:e.length}),i&&d3(vo,{children:[d3(jte,{envInfo:l}),s>8&&d3(Gc,{style:"ghost",size:"s",text:c(o?"showLess":"showMore"),onClick:()=>V6(r)})]})]})},Cne=e=>{const{t:t}=s4("ui"),n=v4.value??"default",r=`report-${n}-variables`,i=`report-${n}-variables-showAll`,o=!W6.value.has(r),a=W6.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 d3("div",{class:Jte,"data-testid":"report-variables",children:[d3(T6,{isOpened:o,setIsOpen:()=>V6(r),title:t("variables"),counter:Object.keys(e.variables).length,"data-testid":"report-variables-button"}),o&&d3(vo,{children:[d3(jte,{envInfo:c}),l>8&&d3(Gc,{style:"ghost",size:"s",text:t(a?"showLess":"showMore"),onClick:()=>V6(i)})]})]})},Sne=()=>{const e=v4.value?p3.value.data[v4.value]:h3.value.data;return ia((()=>{(async(e="default")=>{xne.value={...xne.peek(),loading:!0,error:void 0};try{const t=await z(e?`widgets/${e}/variables.json`:"widgets/variables.json",{bustCache:!0});xne.value={data:{...xne.peek().data,[e]:t},error:void 0,loading:!1}}catch(e){xne.value={...xne.peek(),error:e.message,loading:!1}}})(v4.value)}),[v4.value]),d3("div",{className:sne,children:[e&&d3(yne,{stats:e}),d3(wd,{source:xne,transformData:e=>e?.[v4.value??"default"]??{},renderData:e=>!!Object.keys(e).length&&d3(Cne,{variables:e})}),d3(wd,{source:_ne,renderError:()=>null,renderData:e=>Boolean(e?.length)&&d3(kne,{envInfo:e})})]})},Tne=$r({loading:!0,error:void 0,data:void 0}),Ane=async()=>{try{const e=await z("widgets/quality-gate.json");Tne.value={data:e,error:void 0,loading:!1}}catch(e){Tne.value={...Tne.peek(),error:e.message,loading:!1}}};var Mne="u7c2Gp3S";const Lne=({results:e})=>d3("ul",{className:"W2Wj9sPD","data-testid":"quality-gate-results-section-env-content",children:e.map((e=>d3("li",{"data-testid":"quality-gate-result",children:d3("div",{className:"c_o9yDWb",children:[d3(Fc,{id:Bc.solidXCircle,className:"uUNweAEI"}),d3("div",{className:"F5kBsuGq",children:[d3($c,{tag:"p",size:"l",type:"ui",bold:!0,"data-testid":"quality-gate-result-rule",children:e.rule}),d3(rte,{className:"WcL1EdUx",message:e.message,"data-testid":"quality-gate-result-message"})]})]})},e.rule)))}),Ene=()=>{const{t:e}=s4("empty"),{t:t}=s4("environments"),[n,r]=na([]);return d3(wd,{source:Tne,renderData:i=>{if(v4.value){const t=i[v4.value]??[];return t.length?d3(Lne,{results:t}):d3("div",{className:Mne,children:e("no-quality-gate-results")})}const o=Object.entries(i).filter((([,e])=>e.length>0));if(!o.length)return d3("div",{className:Mne,children:e("no-quality-gate-results")});if(1===o.length&&o[0][0]===M){const t=o[0][1]??[];return t.length?d3(Lne,{results:t}):d3("div",{className:Mne,children:e("no-quality-gate-results")})}return d3("div",{className:"NUdzNGyk",children:o.map((([e,i])=>{const o=!n.includes(e);return d3("div",{className:"s8fDLKPX","data-testid":"quality-gate-results-section",children:[d3(T6,{isOpened:o,setIsOpen:()=>{r((t=>o?t.concat(e):t.filter((t=>t!==e))))},title:`${t("environment",{count:1})}: "${b4(e)}"`,titleTooltipText:b4(e),truncateTitle:!0,counter:i.length,"data-testid":"quality-gate-results-section-env-button"}),o&&d3(Lne,{results:i})]},e)}))})}})};let Nne=function(e){return e.Results="results",e.QualityGate="qualityGate",e.GlobalAttachments="globalAttachments",e.GlobalErrors="globalErrors",e.Categories="categories",e}({});const One={[Nne.Results]:()=>d3(vo,{children:[d3(Sne,{}),d3(N8,{})]}),[Nne.GlobalAttachments]:()=>d3(J9,{}),[Nne.GlobalErrors]:()=>d3(ate,{}),[Nne.QualityGate]:()=>d3(Ene,{}),[Nne.Categories]:()=>d3(z7,{})},Rne=()=>{const{currentTab:e}=x5(),t=e||Nne.Results;return d3(One[t],{})};var Dne=()=>{const{t:e}=s4("tabs"),t={categories:Nne.Categories,qualityGate:Nne.QualityGate,globalAttachments:Nne.GlobalAttachments,globalErrors:Nne.GlobalErrors},n={[Nne.Categories]:"categories",[Nne.QualityGate]:"qualityGate",[Nne.GlobalAttachments]:"globalAttachments",[Nne.GlobalErrors]:"globalErrors"},r=j4.value.matches?t[j4.value.params.rootTab]??Nne.Results:Nne.Results,i=e=>{const{id:t,children:r}=e,{currentTab:i,setCurrentTab:o}=x5(),a=i===t;return d3(T5,{id:t,onClick:()=>{if(a)return;if(o(t),t===Nne.Results)return void(n5.value?(e=>{const t={...e,tab:N4(e.tab)};di({path:"/:testResultId/:tab?",params:t,keepSearchParams:!0})})({testResultId:n5.value,tab:t5.value}):D4());const e=n[t];e?n5.value?(e=>{const t={...e,tab:N4(e.tab)};di({path:"/:rootTab/:testResultId/:tab?",params:t,keepSearchParams:!0})})({rootTab:e,testResultId:n5.value,tab:t5.value}):di({path:"/:rootTab",params:{rootTab:e},keepSearchParams:!0}):D4()},isCurrentTab:a,children:r})};return d3("div",{className:l3("jMfDHmT3",A4.value?"vxvi7vCG":""),children:[d3(cte,{}),d3("div",{className:"QUJMdpd1",children:d3(C5,{initialTab:r,children:[d3((()=>{const{currentTab:e,setCurrentTab:n}=x5(),r=j4.value.matches?j4.value.params.rootTab??"":"";return ia((()=>{const r=j4.value.matches,i=r?j4.value.params.rootTab:void 0,o=r?t[i]??Nne.Results:Nne.Results;e!==o&&n(o)}),[e,n,r]),null}),{}),d3(S5,{children:[d3(wd,{source:h3,renderData:t=>d3(i,{id:Nne.Results,children:[e("results")," ",d3(Tx,{count:t?.total??0})]})}),d3(wd,{source:D7,renderData:t=>t&&t.roots?.length?d3(vo,{children:d3(i,{id:Nne.Categories,children:[e("categories")," ",d3(Tx,{count:t.roots?.length})]})}):null}),d3(wd,{source:Tne,renderData:t=>{const n=v4.value?t[v4.value]??[]:Object.values(t).flatMap((e=>e));return d3(i,{id:Nne.QualityGate,children:[e("qualityGates")," ",d3(Tx,{status:n.length>0?"failed":void 0,count:n.length})]})}}),d3(wd,{source:Y9,renderData:({attachments:t=[],attachmentsByEnv:n={},errors:r=[],errorsByEnv:o={}})=>{const a=v4.value?n[v4.value]??[]:t,s=v4.value?o[v4.value]??[]:r;return d3(vo,{children:[d3(i,{id:Nne.GlobalAttachments,children:[e("globalAttachments")," ",d3(Tx,{count:a.length})]}),d3(i,{id:Nne.GlobalErrors,children:[e("globalErrors")," ",d3(Tx,{status:s.length>0?"failed":void 0,count:s.length})]})]})}})]}),d3("div",{className:"XJmcSSxb",children:d3(Rne,{})})]})})]})};const Pne=({testResult:e,className:t})=>{const{attachments:n}=e??{},{t:r}=s4("ui");return d3("div",{className:l3("zfDiQjUs",t),children:n.length?n?.map(((e,t)=>d3(G9,{item:e,stepIndex:t+1},t))):d3("div",{className:"gHLb2IHz",children:r("no-attachments-results")})})};var Ine="vU4QD1Zt";const zne={flaky:Bc.lineIconBomb2,known:Bc.lineAlertsAlertCircle,muted:Bc.lineGeneralEye},jne=({statuses:e})=>{const{t:t}=s4("filters");return d3("div",{className:"Y_ABjIlV",children:e.map((([e],n)=>{const r=t(e);return d3("div",{className:"RzEWIfyL",children:[d3(Fc,{className:"sYnvAmJE",id:zne[e],size:"s"}),d3($c,{type:"ui",size:"s",children:E(r)})]},n)}))})};const Bne=e=>{const{trId:t,type:n}=e,{t:r}=s4("controls"),i=void 0===t,o="prev"===n,a=o?Bc.lineArrowsChevronUp:Bc.lineArrowsChevronDown,s=r("prevTR"),l=r("nextTR"),c=`test-result-nav-${n}`;return i?d3(Yc,{icon:a,style:"ghost",isDisabled:!0,"data-testid":c}):d3(yd,{tooltipText:o?s:l,children:d3(Yc,{icon:a,style:"ghost","data-testid":c,onClick:()=>O4({testResultId:t,tab:t5.value})})})},Fne=e=>{const{fullName:t}=e,{t:n}=s4("controls");return d3("div",{"data-testid":"test-result-fullname",className:"UMtt6eky",children:[d3(yd,{tooltipText:n("clipboard"),tooltipTextAfterClick:n("clipboardSuccess"),children:d3(Yc,{"data-testid":"test-result-fullname-copy",style:"ghost",size:"s",iconColor:"secondary",icon:Bc.lineGeneralCopy3,onClick:()=>P8(t)})}),d3(Uc,{tag:"div",size:"s",className:"m0hjvF1C",children:t})]})},Hne=e=>{const{current:t,total:n}=e;return d3(Uc,{"data-testid":"test-result-nav-current",size:"s",className:"uY32EKiB",children:[t,"/",n]})},$ne=Gr((()=>i5.value.data??[])),Une=Gr((()=>$ne.value.length>0)),qne=e=>{const{currentId:t}=e,n=La((()=>$ne.value[$ne.value.indexOf(t)+1])),r=La((()=>$ne.value[$ne.value.indexOf(t)-1])),i=La((()=>$ne.value.indexOf(t)+1)),o=La((()=>$ne.value.length));return Une.value?d3("div",{className:"kpgcHGgL",children:[d3(Bne,{trId:r.value,type:"prev"}),d3(Hne,{current:i.value,total:o.value}),d3(Bne,{trId:n.value,type:"next"})]}):null},Wne=e=>{const{testResult:t}=e;if(!t?.id)return null;const n=!!t?.hidden,r=!!t?.fullName;return!n&&Une.value||r?d3("div",{className:"S2MigNqx",children:[r&&d3(Fne,{fullName:t.fullName}),!n&&d3(qne,{currentId:t.id})]}):null},Vne={month:"numeric",day:"numeric",year:"numeric",hour:"numeric",minute:"numeric",second:"numeric",hour12:!1},Gne=(e,t=Vne)=>{const n=new Date(e),{t:r}=s4("ui"),i=t.second?"dateTime":t.hour||t.minute?"dateTimeNoSeconds":"date",o=G(r4.value,i),a=new Intl.DateTimeFormat(o?.locale??i4.value,{...t,...o?.options??{}}).format(n);return!1===o?.includeAtSeparator||o?.stripComma?a.replace(",",""):a.replace(",",` ${r("at")}`)};var Yne="Qtaknh4H",Xne="MvcZI6N6",Zne="ZklQzVpr",Kne="KWGGj5BL",Jne="AqrlysBM",Qne="mYGYsQ_6",ere="pd_eIpqc",tre="_7pQBjWyU";const nre=({item:e})=>{const t=j();if(!e.url)return d3("div",{className:Qne,children:d3(Fc,{id:Bc.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,d3("a",{className:Qne,href:i.toString(),children:d3(Fc,{id:Bc.lineShapesDotCircle,className:l[`status-${e?.status}`]})})},rre=({item:e})=>{const t=e.stop&&Gne(e.stop),{t:n}=s4("statuses"),r=n(e.status);return d3("div",{className:ere,children:[d3($c,{tag:"div",size:"m",bold:!0,children:E(r)}),d3($c,{size:"m",children:t})]})},ire=({history:e})=>d3("div",{className:tre,children:e?.slice(0,6).map(((e,t)=>d3("div",{"data-testid":"test-result-prev-status",className:Qne,children:d3(yd,{tooltipComponent:d3(rre,{item:e}),children:d3(nre,{item:e})},t)},t)))}),ore=C5,are=S5,sre=e=>{const{id:t,children:n}=e,r=t5.value===t;return d3(T5,{id:t,onClick:()=>{r||R4("overview"!==t?{testResultId:n5.value,tab:t}:{testResultId:n5.value,tab:""})},"data-testid":`test-result-tab-${t}`,isCurrentTab:r,children:n})},lre=({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&&Gne(d),g=s?.find((e=>"severity"===e.name))?.value??"normal",m=f?.[0]?.name,{t:v}=s4("ui"),b=Object.entries({flaky:i,muted:r,known:o}).filter((([,e])=>e));return d3("div",{className:l3("_ySO1N0z",A4.value&&"pFFeg3Zk"),children:[d3(Wne,{testResult:e}),e&&d3((()=>d3(vo,{children:[t&&d3(qc,{"data-testid":"test-result-info-title",tag:"h1",size:"s",className:"JO7GwVtt",children:t}),d3("div",{className:"F6S5W1e2",children:[Boolean(n)&&d3(W8,{status:n}),Boolean(l?.length)&&d3(ire,{history:l}),d3(M7,{severity:g}),Boolean(b.length)&&d3(jne,{statuses:b}),m&&d3($c,{tag:"div",size:"s",className:"BFFYU7Wv",children:[v("category"),": ",m]}),d3(yd,{tooltipText:p,children:d3($c,{tag:"div",size:"s",bold:!0,className:"me_UMwzF",children:h})})]}),d3("div",{className:"T9uo7iug",children:d3(are,{children:[d3(sre,{id:"overview",children:v("overview")}),d3(sre,{id:"history",children:d3("div",{className:Ine,children:[v("history"),Boolean(l?.length)&&d3(Tx,{size:"s",count:l?.length})]})}),d3(sre,{id:"retries",children:d3("div",{className:Ine,children:[v("retries"),Boolean(c?.length)&&d3(Tx,{size:"s",count:c?.length})]})}),d3(sre,{id:"attachments",children:d3("div",{className:Ine,children:[v("attachments"),Boolean(u?.length)&&d3(Tx,{size:"s",count:u?.length})]})}),d3(wd,{source:g4,transformData:t=>t?.[e?.testCase?.id],renderData:e=>{const t=L(e);return d3(sre,{id:"environments",children:d3("div",{className:Ine,children:[v("environments"),!!t&&d3(Tx,{size:"s",count:t})]})})}})]})})]})),{})]})};const cre=()=>{const{t:e}=s4("empty");return d3("div",{className:"BzXsHBvw",children:d3("div",{className:"koOYvEfj",children:[d3(Fc,{size:"xl",id:Bc.lineDevCodeSquare,className:"lGholSnL"}),d3($c,{className:"IGp9O8Vd",children:e("no-test-case-results")})]})})};var ure=()=>d3("div",{className:"N3IRv8v_",children:[d3(lre,{}),d3(cre,{})]}),dre="IUE2Omu5";const fre=({env:e,testResult:t,current:n=!1})=>{const{status:r,error:i,stop:o,duration:a,id:s}=t,[l,c]=na(!1),u=!i||!Object.keys(i).length,d=o?Gne(o):"",f=y(a),{t:h}=s4("controls"),p=s;return d3("div",{"data-testid":"test-result-env-item",children:[d3("div",{className:"dMWnxDb0",children:[!u&&d3("span",{onClick:()=>c(!l),children:d3(af,{isOpened:l,icon:Bc.arrowsChevronDown})}),d3("div",{className:l3("lWx95Nbt",{[dre]:n}),role:n?void 0:"button",onClick:e=>{n||(e.stopPropagation(),O4({testResultId:s}))},children:[d3(px,{status:r,className:"JaebewVW"}),d3($c,{className:"aYdTB6bA",bold:!0,children:e}),d3($c,{className:"YDQT9BDS",children:d}),d3("div",{className:"W1EawBgQ",children:[d3($c,{type:"ui",size:"s",className:"VhLNf09q",children:f}),!n&&d3(yd,{tooltipText:h("openInNewTab"),children:d3(Yc,{icon:Bc.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&&d3("div",{children:d3(rte,{status:r,...i})})]})};const hre=({env:e,activeTestResultId:t,testResultId:n})=>(ia((()=>{o5(n)}),[n]),d3(wd,{source:r5,transformData:e=>e[n],renderData:r=>r&&d3(fre,{env:e,testResult:r,current:t===n})})),pre=({testResult:e})=>{const{t:t}=s4("empty");return d3("div",{className:"ozZv4YYg",children:d3(wd,{source:g4,renderData:n=>{if(!L(n))return d3("div",{className:"W1D3Dob7",children:t("no-environments-results")});const r=Object.entries(n.testResultsByEnv).sort((([e],[t])=>t.localeCompare(e)));return d3("ul",{children:r.map((([t,n])=>d3("li",{children:d3(hre,{env:b4(t),testResultId:n,activeTestResultId:e.id})},`${t}-${n}`)))})},transformData:t=>t[e?.testCase?.id]})})};var gre="aJcIdb37",mre="SMPSTdLn";const vre=e=>{const{t:t}=s4("trHistory"),{date:n}=e;return d3($c,{"data-unknown":!n||void 0,className:"UZnGR7He",children:n??t("unknown-date")})},bre=e=>{const t=j(),{historyTr:n}=e,{status:r,error:i,duration:o,id:a,url:s}=n,[l,c]=na(!1),u=(e=>{const{stop:t,duration:n,start:r}=e;return t?Gne(t):r&&n?Gne(r+n):void 0})(n),d=o?y(o):void 0,{t:f}=s4("controls"),h=sa((()=>{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=()=>d3(vo,{children:[d3(px,{status:r,className:"OMi8QUdx"}),d3(vre,{date:u}),d3("div",{className:"SoDTj6MG",children:[d&&d3($c,{type:"ui",size:"s",className:"XPnhNSK8",children:d}),h?d3(yd,{tooltipText:f("openInNewTab"),children:d3(Yc,{href:h.toString(),target:"_blank",icon:Bc.lineGeneralLinkExternal,style:"ghost",size:"s",className:"cDd5rF2D",onClick:e=>{e.stopPropagation()}})}):null]})]});return d3("div",{"data-testid":"test-result-history-item",children:[d3("div",{className:"kswjYBvR",children:[Boolean(i)&&d3("span",{onClick:()=>c(!l),children:d3(af,{isOpened:l,icon:Bc.arrowsChevronDown})}),h?d3("a",{href:h,className:mre,children:p()}):d3("div",{className:mre,children:p()})]}),l&&i&&d3("div",{children:d3(rte,{...i,status:r})})]})};var yre=e=>{const{testResult:t={}}=e,{history:n=[]}=t,{t:r}=s4("empty");return d3("div",n.length>0?{className:gre,children:n.map(((e,t)=>d3(bre,{historyTr:e},t)))}:{className:gre,children:d3(Y_,{description:r("no-history-results")})})};var _re=()=>{const{t:e}=s4("empty");return d3("div",{className:"y8QoXSIL",children:d3("div",{className:"PB69_VZ_",children:[d3(Fc,{size:"xl",id:Bc.lineDevCodeSquare,className:"yDYp5hpY"}),d3($c,{className:"pSX73zId",children:e("no-test-steps-results")})]})})};const wre=({id:e,descriptionHtml:t})=>{const n=null!==e?`${e}-description`:null,r=!W6.value.has(n),[i,o]=na(""),[a,s]=na(120),l=qi.value.current,c=sa((()=>t?Er(t):""),[t]);ia((()=>{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=Yi(n,t,new Set([e])).trim();return r?`${e}: ${r};`:""})).filter(Boolean).join("\n")})(Vi),t=new Blob([`<!DOCTYPE html>\n <html data-theme="${l}">\n <head>\n <meta charset="utf-8">\n <style>:root {${e}}</style>\n <style>${Vi}</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 d3("div",{className:"Q1HbMGcP","data-testid":"test-result-description",children:d3("div",{className:"DYtd2iR0",children:[d3(T6,{title:"Description",setIsOpen:()=>{null!==n&&V6(n)},isOpened:r}),r&&d3("div",{className:"lcO4cBIj",children:i&&d3("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 xre="Pv304n1w";const kre={issue:Bc.lineDevBug2,link:Bc.lineGeneralLink1,tms:Bc.lineGeneralChecklist3,github:Bc.github},Cre=({link:e})=>{const{url:t,name:n,type:r}=e,i=R(t),o=n||t;return d3("div",{className:"wH1b223H","data-testid":"test-result-meta-link",children:[d3(Fc,{id:kre[r]??Bc.lineGeneralLink1}),d3($c,i?{tag:"a",href:i,target:"_blank",rel:"noopener noreferrer",size:"m",className:xre,children:o}:{size:"m",className:xre,children:o})]})},Sre=({id:e,links:t})=>{const{t:n}=s4("ui"),r=null!==e?`${e}-links`:null,i=null!==e?`${e}-links-showAll`:null,o=!W6.value.has(r),a=W6.value.has(i),s=(t.length<=8||a?t:t.slice(0,8)).map(((e,t)=>d3(Cre,{link:e},t)));return d3("div",{className:"rU8uOnpG","data-testid":"test-result-meta-links",children:d3("div",{className:"PZxhaJkM",children:[d3(T6,{isOpened:o,setIsOpen:()=>{null!==r&&V6(r)},counter:t.length,title:n("links")}),o&&d3(vo,{children:[d3("div",{className:"WTRPAslw",children:s}),t.length>8&&d3(Gc,{style:"ghost",size:"s",text:n(a?"showLess":"showMore"),onClick:()=>{null!==i&&V6(i)}})]})]})})};const Tre=({id:e,testResult:t})=>{const{t:n}=s4("ui"),{labels:r,groupedLabels:i}=t??{},o=null!==e?`${e}-labels`:null,a=null!==e?`${e}-labels-showAll`:null,s=!W6.value.has(o),l=i?Object.entries(i):[],c=W6.value.has(a),u=c?l:l.slice(0,8),d=Object.fromEntries(u);return d3("div",{className:"SvCoMxvo",children:[d3(T6,{isOpened:s,setIsOpen:()=>{null!==o&&V6(o)},counter:r?.length,title:n("labels")}),d3("div",{className:"gAGfGuP8",children:s&&d3(vo,{children:[d3(Bte,{groupedLabels:d}),l.length>8&&d3(Gc,{style:"ghost",size:"s",text:n(c?"showLess":"showMore"),onClick:()=>{null!==a&&V6(a)}})]})})]})};const Are=({id:e,parameters:t})=>{const{t:n}=s4("ui"),r=null!==e?`${e}-parameters`:null,i=null!==e?`${e}-parameters-showAll`:null,o=!W6.value.has(r),a=t??[],s=a.length,l=W6.value.has(i),c=l?a:a.slice(0,8);return d3("div",{className:"DXuoyqyf",children:[d3(T6,{isOpened:o,setIsOpen:()=>{null!==r&&V6(r)},counter:t?.length,title:n("parameters")}),d3("div",{className:"uUacfxad",children:o&&d3(vo,{children:[d3(jte,{envInfo:c}),s>8&&d3(Gc,{style:"ghost",size:"s",text:n(l?"showLess":"showMore"),onClick:()=>{null!==i&&V6(i)}})]})})]})};const Mre=({pwTraces:e})=>{const[t,n]=na(!0);return d3("div",{className:"QfnFjFD6",children:[d3(T6,{isOpened:t,setIsOpen:n,counter:e?.length,title:"Playwright Trace"}),t&&d3("div",{className:"I6_o5RUi",children:e?.map(((e,t)=>d3(G9,{stepIndex:t+1,item:e},e.link.id)))})]})};const Lre=({isOpened:e,setIsOpen:t,title:n,icon:r,counter:i,className:o})=>d3("div",{className:l3("XDKNsrBT",o),onClick:()=>t(!e),children:[d3(af,{isOpened:e,icon:Bc.arrowsChevronDown}),d3("div",{className:"g_DYfW02",children:[d3(Fc,{id:r}),d3($c,{bold:!0,children:n}),d3(Tx,{count:i,size:"s"})]})]}),Ere=({title:e,status:t,stepIndex:n,isOpened:r,hasContent:i,onToggle:o,extra:a})=>d3("div",{"data-testid":"test-result-step-header",className:R9,onClick:i?o:void 0,children:[i?d3(af,{isOpened:r,icon:Bc.arrowsChevronDown,iconSize:"xs","data-testid":"test-result-step-arrow-button"}):d3("div",{className:j9}),d3(px,{status:t}),d3(Uc,{size:"s",className:D9,children:n}),d3($c,{"data-testid":"test-result-step-title",className:S9,children:e}),a]}),Nre=({item:e,stepIndex:t})=>{const n=!W6.value.has(e.id),r=(i=e.error,Boolean(tee(i?.trace).length)||nee(i));var i;return d3("div",{"data-testid":"test-result-step",className:M9,children:[d3(Ere,{title:e.title,status:e.status,stepIndex:t,isOpened:n,hasContent:r,onToggle:()=>V6(e.id)}),n&&r&&d3("div",{"data-testid":"test-result-step-content",className:l3(O9,C9),children:d3(rte,{...e.error,status:e.status,showMessage:!1})})]})},Ore=(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}`}},Rre=({bodyItems:e})=>d3(vo,{children:e.map(((e,t)=>{switch(e.type){case"step":return d3(Ure,{item:e,stepIndex:t+1},Ore(e,t));case"attachment":return d3(G9,{item:e,stepIndex:t+1},Ore(e,t));case"error":return d3(Nre,{item:e,stepIndex:t+1},Ore(e,t));default:return null}}))}),{lineGeneralCheckCircle:Dre,lineGeneralHelpCircle:Pre,lineGeneralMinusCircle:Ire,lineGeneralXCircle:zre,lineGeneralInfoCircle:jre}=Bc,Bre={failed:zre,broken:jre,passed:Dre,skipped:Ire,unknown:Pre},Fre=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 d3("div",{className:r9,children:[d3((()=>d3("div",{className:J7,children:Object.entries(a).map((([e,t],n)=>d3("div",{className:a9,children:[d3(Fc,{size:"s",id:Bre[e],className:l3(s9,r[`status-${e}`])}),t&&d3($c,{size:"s",children:t})]},n)))})),{}),Boolean(i)&&d3("div",{className:i9,children:[d3(Fc,{id:Bc.lineArrowsCornerDownRight,className:o9}),d3($c,{size:"s",children:i})]}),Boolean(o)&&d3("div",{className:i9,children:[d3(Fc,{id:Bc.lineFilesFileAttachment2,className:o9}),d3($c,{size:"s",children:o})]}),d3($c,{type:"ui",size:"s",className:l9,children:n})]})},Hre=e=>{const{parameters:t}=e;return d3("div",{className:T9,children:d3(jte,{size:"s",envInfo:t,columns:1})})},$re=e=>{const{item:t,bodyItems:n,suppressInlineError:r}=e.item,i=Boolean((t.message||t.trace)&&!t.hasSimilarErrorInSubSteps&&!r);return d3("div",{"data-testid":"test-result-step-content",className:O9,children:[Boolean(t.parameters?.length)&&d3(Hre,{parameters:t.parameters}),i&&d3(rte,{...t}),Boolean(n.length)&&d3(Rre,{bodyItems:n})]})},Ure=({item:e,stepIndex:t})=>{const{item:n,bodyItems:r,suppressInlineError:i}=e,o=Boolean((n.message||n.trace)&&!n.hasSimilarErrorInSubSteps&&!i),a=Boolean(r.length||n.parameters?.length||o),s=!W6.value.has(n.stepId);return d3("div",{"data-testid":"test-result-step",className:M9,children:[d3(Ere,{title:n.name,status:n.status,stepIndex:t,isOpened:s,hasContent:a,onToggle:()=>V6(n.stepId),extra:d3(Fre,{item:n})}),a&&s&&d3($re,{item:e})]})},qre={before:Ure,after:Ure,step:Ure,attachment:G9},Wre=({setup:e,id:t})=>{const n=`${t}-setup`,r=Boolean(!W6.value.has(n)),[i,o]=na(r),{t:a}=s4("execution");return d3("div",{className:I9,children:[d3(Lre,{icon:Bc.lineTimeClockStopwatch,isOpened:i,setIsOpen:()=>{o(!i),V6(n)},counter:e?.length,title:a("setup")}),i&&d3("div",{className:z9,children:e?.map(((e,t)=>{const n=qre[e.type];return n?d3(n,{item:e,stepIndex:t+1,className:P9},t):null}))})]})},Vre=({bodyItems:e,id:t})=>{const n=null!==t?`${t}-steps`:null,r=!W6.value.has(n),{t:i}=s4("execution");return d3("div",{className:I9,children:[d3(Lre,{icon:Bc.lineHelpersPlayCircle,isOpened:r,setIsOpen:()=>null!==n&&V6(n),counter:e.length,title:i("body")}),r&&d3("div",{"data-testid":"test-result-steps-root",className:z9,children:d3(Rre,{bodyItems:e})})]})},Gre={before:Ure,after:Ure,step:Ure,attachment:G9},Yre=({teardown:e,id:t})=>{const n=`${t}-teardown`,r=!W6.value.has(n),[i,o]=na(r),{t:a}=s4("execution");return d3("div",{className:I9,children:[d3(Lre,{icon:Bc.lineHelpersFlag,isOpened:i,setIsOpen:()=>{o(!i),V6(n)},counter:e?.length,title:a("teardown")}),i&&d3("div",{className:z9,children:e?.map(((e,t)=>{const n=Gre[e.type];return n?d3(n,{item:e,stepIndex:t+1,className:P9},t):null}))})]})},Xre=({testResult:e})=>{const{parameters:t,groupedLabels:n,links:r,descriptionHtml:i,setup:o,teardown:a,id:s}=e||{},l=s??n5.value,{t:c}=s4("ui"),u=oee(e,c("error")),d=!o?.length&&!u.length&&!a?.length,f=e?.attachments?.filter((e=>"application/vnd.allure.playwright-trace"===e.link.contentType));return d3(vo,{children:[Boolean(f?.length)&&d3(Mre,{pwTraces:f}),Boolean(t?.length)&&d3(Are,{id:l,parameters:t}),Boolean(n&&Object.keys(n||{})?.length)&&d3(Tre,{id:l,testResult:e}),Boolean(r?.length)&&d3(Sre,{id:l,links:r}),Boolean(i)&&d3(wre,{id:l,descriptionHtml:i}),d3("div",{className:"ngxaEBWQ",children:[d&&d3(_re,{}),Boolean(o?.length)&&d3(Wre,{id:l,setup:o}),Boolean(u.length)&&d3(Vre,{id:l,bodyItems:u}),Boolean(a?.length)&&d3(Yre,{id:l,teardown:a})]})]})};const Zre=({testResultItem:e,attempt:t,totalAttempts:n})=>{const{id:r,status:i,error:o,stop:a,duration:s}=e,[l,c]=na(!1),{t:u}=s4("ui"),d=u("attempt",{attempt:t,total:n}),f=a?Gne(a):void 0,h=f?`${d} – ${f}`:d,p="number"==typeof s?y(s):void 0;return d3("div",{"data-testid":"test-result-retries-item",children:[d3("div",{className:"qheQzcdJ",onClick:()=>c(!l),children:[Boolean(o.trace||o.message)&&d3(af,{"data-testid":"test-result-retries-item-arrow-button",isOpened:l,icon:Bc.lineArrowsChevronDown}),d3("div",{className:"enXpP7zD",children:[d3(px,{status:i,className:"pOxQO3ZQ"}),d3($c,{"data-testid":"test-result-retries-item-text",className:"QabAX8v8",children:h}),d3("div",{className:"Jwmue9vu",children:[Boolean(p)&&d3($c,{type:"ui",size:"s",className:"B5X8kwrh",children:p}),d3(Yc,{icon:Bc.lineGeneralLinkExternal,style:"ghost",size:"s",className:"ZZHyNee5","data-testid":"test-result-retries-item-open-button",onClick:()=>O4({testResultId:r})})]})]})]}),l&&(o.message||o.trace)&&d3("div",{className:"uKSvG6dg",children:d3(rte,{...o,status:i})})]})},Kre=({testResult:e})=>{const{retries:t}=e??{},{t:n}=s4("empty");return d3("div",{className:"VUnJCesX",children:t.length?t?.map(((e,n)=>d3(Zre,{testResultItem:e,attempt:t.length-n,totalAttempts:t.length+1},n))):d3(Y_,{description:n("no-retries-results")})})};const Jre=Gr((()=>({overview:Xre,history:yre,attachments:Pne,retries:Kre,environments:pre}[t5.value]))),Qre=({testResult:e})=>d3(Jre.value,{testResult:e}),eie=({testResult:e})=>d3(ore,{initialTab:"overview",children:[d3(lre,{testResult:e}),d3(Qre,{testResult:e})]});var tie=({testResult:e})=>{const t=A4.value?"OudN9AzA":"";return ia((()=>{const t=e?.testCase?.id;t&&(async e=>{if(!g4.peek().data[e]){g4.value={...g4.peek(),loading:!0,error:void 0};try{const t=await z(`data/test-env-groups/${e}.json`);g4.value={data:{...g4.peek().data,[e]:t},error:void 0,loading:!1}}catch(e){g4.value={...g4.peek(),error:e.message,loading:!1}}}})(t)}),[e]),d3(vo,{children:d3("div",{className:l3("fMON1QNO",t),children:e?d3(eie,{testResult:e}):d3(ure,{})})})};const nie=()=>{const e=B4.value.matches||Boolean(j4.value.params.testResultId),t=B4.value.matches?B4.value.params.testResultId:j4.value.params.testResultId;return d3("div",e?{className:u4,"data-testid":"base-layout",children:d3(wd,{source:r5,renderLoader:()=>d3(xd,{}),transformData:e=>e[t],renderData:e=>d3(vo,{children:d3("div",{className:d4,children:d3(tie,{testResult:e})},e?.id)})})}:{className:u4,"data-testid":"base-layout",children:d3("div",{className:d4,children:d3(wd,{source:U6,renderLoader:()=>d3(xd,{}),renderData:()=>d3(Dne,{})})})})};var rie="undefined"!=typeof window?window:null,iie=null===rie,oie=iie?void 0:rie.document,aie="addEventListener",sie="removeEventListener",lie="getBoundingClientRect",cie="_a",uie="_b",die="_c",fie="horizontal",hie=function(){return!1},pie=iie?"calc":["","-webkit-","-moz-","-o-"].filter((function(e){var t=oie.createElement("div");return t.style.cssText="width:"+e+"calc(9px)",!!t.style.length})).shift()+"calc",gie=function(e){return"string"==typeof e||e instanceof String},mie=function(e){if(gie(e)){var t=oie.querySelector(e);if(!t)throw new Error("Selector "+e+" did not match a DOM element");return t}return e},vie=function(e,t,n){var r=e[t];return void 0!==r?r:n},bie=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},yie=function(e,t){var n=oie.createElement("div");return n.className="gutter gutter-"+t,n},_ie=function(e,t,n){var r={};return gie(t)?r[e]=t:r[e]=pie+"("+t+"% - "+n+"px)",r},wie=function(e,t){var n;return(n={})[e]=t+"px",n},xie=function(e,t){if(void 0===t&&(t={}),iie)return{};var n,r,i,o,a,s,l=e;Array.from&&(l=Array.from(l));var c=mie(l[0]).parentNode,u=getComputedStyle?getComputedStyle(c):null,d=u?u.flexDirection:null,f=vie(t,"sizes")||l.map((function(){return 100/l.length})),h=vie(t,"minSize",100),p=Array.isArray(h)?h:l.map((function(){return h})),g=vie(t,"maxSize",1/0),m=Array.isArray(g)?g:l.map((function(){return g})),v=vie(t,"expandToMin",!1),b=vie(t,"gutterSize",10),y=vie(t,"gutterAlign","center"),_=vie(t,"snapOffset",30),w=Array.isArray(_)?_:l.map((function(){return _})),x=vie(t,"dragInterval",1),k=vie(t,"direction",fie),C=vie(t,"cursor",k===fie?"col-resize":"row-resize"),S=vie(t,"gutter",yie),T=vie(t,"elementStyle",_ie),A=vie(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[uie],t.i),M(n.element,n.size,this[die],n.i)}function O(e){var n,r=s[this.a],i=s[this.b];this.dragging&&(n=E(e)-this.start+(this[uie]-this.dragOffset),x>1&&(n=Math.round(n/x)*x),n<=r.minSize+r.snapOffset+this[uie]?n=r.minSize+this[uie]:n>=this.size-(i.minSize+i.snapOffset+this[die])&&(n=this.size-(i.minSize+this[die])),n>=r.maxSize-r.snapOffset+this[uie]?n=r.maxSize+this[uie]:n<=this.size-(i.maxSize-i.snapOffset+this[die])&&(n=this.size-(i.maxSize+this[die])),N.call(this,n),vie(t,"onDrag",hie)(L()))}function R(){var e=s[this.a].element,t=s[this.b].element,r=e[lie](),a=t[lie]();this.size=r[n]+a[n]+this[uie]+this[die],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===fie?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=bie(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&&vie(t,"onDragEnd",hie)(L()),e.dragging=!1,rie[sie]("mouseup",e.stop),rie[sie]("touchend",e.stop),rie[sie]("touchcancel",e.stop),rie[sie]("mousemove",e.move),rie[sie]("touchmove",e.move),e.stop=null,e.move=null,n[sie]("selectstart",hie),n[sie]("dragstart",hie),r[sie]("selectstart",hie),r[sie]("dragstart",hie),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="",oie.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||vie(t,"onDragStart",hie)(L()),e.preventDefault(),n.dragging=!0,n.move=O.bind(n),n.stop=P.bind(n),rie[aie]("mouseup",n.stop),rie[aie]("touchend",n.stop),rie[aie]("touchcancel",n.stop),rie[aie]("mousemove",n.move),rie[aie]("touchmove",n.move),r[aie]("selectstart",hie),r[aie]("dragstart",hie),i[aie]("selectstart",hie),i[aie]("dragstart",hie),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,oie.body.style.cursor=C,R.call(n),n.dragOffset=E(e)-n.end}}k===fie?(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 j(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[die]:e.minSize+n[uie];N.call(n,r)}return s=l.map((function(e,t){var r,i={element:mie(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})[uie]=bie(b,t-1==0,!1,y),r[die]=bie(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[cie]=I.bind(r),a[aie]("mousedown",r[cie]),a[aie]("touchstart",r[cie]),c.insertBefore(a,i.element),r.gutter=a}return M(i.element,i.size,bie(b,0===t,t===l.length-1,y),t),t>0&&z.push(r),i})),s.forEach((function(e){var t=e.element[lie]()[n];t<e.minSize&&(v?j(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[uie],i.i),M(o.element,o.size,r[die],o.i)}}))},getSizes:L,collapse:function(e){j(s[e])},destroy:function(e,t){z.forEach((function(r){if(!0!==t?r.parent.removeChild(r.gutter):(r.gutter[sie]("mousedown",r[cie]),r.gutter[sie]("touchstart",r[cie])),!0!==e){var i=T(n,r.a.size,r[uie]);Object.keys(i).forEach((function(e){s[r.a].element.style[e]="",s[r.b].element.style[e]=""}))}}))},parent:c,pairs:z}},kie="OyL7dy7N",Cie="t22uAI7s";var Sie=({left:e,right:t})=>{const n=aa(null),r=sa((()=>e),[e]),i=sa((()=>t),[t]);return ia((()=>{const e=JSON.parse(localStorage.getItem("sideBySidePosition")||"[50, 50]"),t=xie([`.${kie}`,`.${Cie}`],{sizes:e,gutterSize:7,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()}}),[]),d3("div",{class:"Jryczg8r",ref:n,children:[d3("div",{class:kie,children:r}),d3("div",{class:Cie,children:i})]})};const Tie=()=>d3("div",{className:"J3luvrjd",ref:aa(null),children:d3(Dne,{})}),Aie=()=>d3("div",{className:"BpSc4eib",children:d3(xd,{})}),Mie=Gr((()=>B4.value.matches||Boolean(j4.value.params.testResultId))),Lie=()=>{const e=n5.value,[t,n]=na(null),{t:r}=s4("controls"),i=d3(wd,{source:U6,renderLoader:()=>d3(xd,{}),renderData:()=>d3(Tie,{})});return ia((()=>{t||n(i)}),[t]),d3("div",{className:"uWkVNOG3","data-testId":"split-layout",children:d3(Sie,{left:t,right:d3((()=>Mie.value?d3(wd,{source:r5,renderLoader:()=>d3(Aie,{}),transformData:t=>{if(e in t)return t[e]},renderData:e=>e?d3(tie,{testResult:e}):d3(Aie,{})}):d3("div",{className:"FJ3CL24V",children:d3($c,{children:r("noSelectedTR")})})),{})})})},Eie=()=>A4.value?d3(Lie,{}):d3(nie,{}),Nie=$r({loading:!0,error:void 0,data:void 0});var Oie="AZZDr1a8",Rie="YjGJbbhT",Die="Aop2iD35",Pie="ngWCd_e9";const Iie=e=>[...new Set(e.map((e=>e.host)))],zie=(e,t)=>e.filter((e=>e.host===t)),jie=Gr((()=>{const e=Nie.value.data??[];if(!e.length)return[];if(v4.value){const t=e.filter((e=>((e,t)=>void 0!==e.environmentName?e.environment===t:e.environment===b4(t))(e,v4.value)));return Iie(t).map((e=>({data:zie(t,e),host:e})))}return Iie(e).map((t=>({data:zie(e,t),host:t})))})),Bie=()=>{const{t:e}=s4("timeline");ia((()=>{(async()=>{Nie.value={...Nie.value,loading:!0,error:void 0};try{const e=await z("widgets/timeline.json",{bustCache:!0});Nie.value={data:e,error:void 0,loading:!1}}catch(e){Nie.value={data:void 0,error:e.message,loading:!1}}})()}),[]);const t=sa((()=>({empty:e("empty"),selected:t=>e("selected",{count:t.count,percentage:t.percentage,minDuration:t.minDuration,maxDuration:t.maxDuration})})),[e]);return d3(wd,{source:Nie,renderLoader:()=>d3(xd,{}),renderData:()=>0===jie.value.length?d3("div",{className:Rie,children:d3(PC,{kind:"swap",className:Die,children:d3(jC,{className:Pie,children:d3(Ex,{children:d3("div",{className:Oie,children:e("empty")})})})})}):d3("div",{className:Rie,children:d3(PC,{kind:"swap",className:Die,children:jie.value.map((({data:n,host:r})=>d3(jC,{className:Pie,children:d3(Ex,{title:e("host",{host:r}),children:[n.length>0&&d3(o3,{data:n,dataId:r,width:100,translations:t}),0===n.length&&d3("div",{className:Oie,children:e("empty_host",{host:r})})]})},r)))})})})};const Fie=()=>{const e={report:d3(Eie,{}),charts:d3(_5,{}),timeline:d3(Bie,{})};return d3("div",{className:"X1bxR0kX",children:e[W4.value]||e.report})},Hie=(e=>{const t=window?.navigator?.userAgentData?.platform??window?.navigator?.platform;return!!t&&e.test(t)})(/^Mac/i);var $ie="s5e3ntNr",Uie="q6NnC3sf",qie="hxjIgDys",Wie="lh7Hl9Np",Vie="qK8S7ypD",Gie="P1qG0zXS",Yie="LjbC5hy8";const Xie=()=>d3("div",{className:l3(Wie,S4.value?Vie:""),"data-testid":"loader",children:[d3(Fc,{id:Bc.reportLogo,size:"m"}),d3(Hc,{})]}),Zie=Gr((()=>B4.value.matches||Boolean(j4.value.params.testResultId))),Kie=document.getElementById("app");document.addEventListener("DOMContentLoaded",(()=>{Hie&&document.documentElement.setAttribute("data-os","mac")})),(()=>{if("undefined"==typeof window)return;const e=new URL(ei());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=>q5(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"))})(),Bo(d3((()=>{const e=c[`layout-${"default"!==W4.value?W4.value:C4.value}`],[t,n]=na(!1);return ia((()=>{(async()=>{const e=[D,g3,v5,y4,wne,X9,Ane,I7];globalThis&&e.unshift(o4),await a4,await Promise.all(e.map((e=>e(v4.value))));const t=p4.value.data.map((({id:e})=>e));v4.value?(await G6([v4.value]),await m3(t)):(await G6(t),await m3(t)),n(!0)})()}),[v4.value]),Ia((()=>{const e=n5.value;Zie.value&&e&&(o5(e),(async e=>{try{const t=await z(e?`widgets/${e}/nav.json`:"widgets/nav.json",{bustCache:!0});i5.value={data:t,error:void 0,loading:!1}}catch(e){i5.value={...i5.peek(),error:e.message,loading:!1}}})(v4.value))})),ia((()=>{(async()=>{try{const e=await z("widgets/tree-filters.json",{bustCache:!0});Z5.value=e.tags,K5.value=e.categories??[]}catch(e){if(e instanceof I&&404===e.response.status)return Z5.value=[],void(K5.value=[]);console.error("Failed to fetch tree filters data:\n\n",e)}})()}),[]),d3(vo,{children:[!t&&d3(Xie,{}),t&&d3("div",{className:Gie,children:[d3(d5,{className:e}),d3(Fie,{}),d3(f4,{className:e}),d3(g5,{})]})]})}),{}),Kie)}()}();