@allurereport/web-awesome 3.9.0 → 3.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/multi/173.app-79d160f9989770266f96.js +1 -0
- package/dist/multi/174.app-79d160f9989770266f96.js +1 -0
- package/dist/multi/252.app-79d160f9989770266f96.js +1 -0
- package/dist/multi/282.app-79d160f9989770266f96.js +1 -0
- package/dist/multi/29.app-79d160f9989770266f96.js +1 -0
- package/dist/multi/310.app-79d160f9989770266f96.js +1 -0
- package/dist/multi/416.app-79d160f9989770266f96.js +1 -0
- package/dist/multi/507.app-79d160f9989770266f96.js +1 -0
- package/dist/multi/527.app-79d160f9989770266f96.js +1 -0
- package/dist/multi/600.app-79d160f9989770266f96.js +1 -0
- package/dist/multi/605.app-79d160f9989770266f96.js +1 -0
- package/dist/multi/638.app-79d160f9989770266f96.js +1 -0
- package/dist/multi/672.app-79d160f9989770266f96.js +1 -0
- package/dist/multi/686.app-79d160f9989770266f96.js +1 -0
- package/dist/multi/725.app-79d160f9989770266f96.js +1 -0
- package/dist/multi/741.app-79d160f9989770266f96.js +1 -0
- package/dist/multi/749.app-79d160f9989770266f96.js +1 -0
- package/dist/multi/755.app-79d160f9989770266f96.js +1 -0
- package/dist/multi/894.app-79d160f9989770266f96.js +1 -0
- package/dist/multi/943.app-79d160f9989770266f96.js +1 -0
- package/dist/multi/980.app-79d160f9989770266f96.js +1 -0
- package/dist/multi/app-79d160f9989770266f96.js +2 -0
- package/dist/multi/manifest.json +25 -25
- package/dist/multi/styles-b7f017f505b72e148e8b.css +58 -0
- package/dist/single/app-36af07268613f77d3ac5.js +2 -0
- package/dist/single/manifest.json +1 -1
- package/package.json +15 -20
- package/src/components/BaseLayout/styles.scss +3 -1
- package/src/components/Footer/FooterVersion.tsx +5 -10
- package/src/components/Footer/index.tsx +7 -1
- package/src/components/Footer/styles.scss +6 -0
- package/src/components/Header/CiInfo/index.tsx +17 -13
- package/src/components/HeaderControls/index.tsx +1 -3
- package/src/components/KeyboardShortcuts/styles.scss +5 -5
- package/src/components/MainReport/index.tsx +3 -9
- package/src/components/MainReport/styles.scss +1 -26
- package/src/components/Metadata/index.tsx +27 -6
- package/src/components/Metadata/styles.scss +12 -0
- package/src/components/ReportBody/index.tsx +3 -12
- package/src/components/ReportBody/styles.scss +0 -21
- package/src/components/ReportHeader/index.tsx +25 -13
- package/src/components/ReportMetadata/index.tsx +35 -4
- package/src/components/SideBySide/styles.scss +10 -0
- package/src/components/SplitLayout/index.tsx +2 -9
- package/src/components/SplitLayout/styles.scss +4 -7
- package/src/components/TestResult/TrOverview.tsx +9 -2
- package/src/components/TestResult/TrRetriesView/TrRetriesItem.tsx +27 -1
- package/src/components/TestResult/TrRetriesView/styles.scss +17 -7
- package/src/components/TestResult/TrSetup/index.tsx +1 -1
- package/src/components/TestResult/TrSteps/TrAttachment.tsx +2 -1
- package/src/components/TestResult/TrSteps/TrAttachmentInfo.tsx +11 -3
- package/src/components/TestResult/TrSteps/TrBodyItems.tsx +5 -2
- package/src/components/TestResult/TrSteps/TrStep.tsx +6 -2
- package/src/components/TestResult/TrSteps/index.tsx +8 -5
- package/src/components/TestResult/TrTeardown/index.tsx +1 -1
- package/src/components/TestResult/index.tsx +2 -3
- package/src/components/TestResult/styles.scss +0 -5
- package/src/components/Tree/index.tsx +21 -1
- package/src/locales/ar.json +1 -0
- package/src/locales/az.json +1 -0
- package/src/locales/de.json +1 -0
- package/src/locales/en.json +1 -0
- package/src/locales/es.json +1 -0
- package/src/locales/fr.json +1 -0
- package/src/locales/he.json +1 -0
- package/src/locales/hy.json +1 -0
- package/src/locales/it.json +1 -0
- package/src/locales/ja.json +1 -0
- package/src/locales/ka.json +1 -0
- package/src/locales/kr.json +1 -0
- package/src/locales/nl.json +1 -0
- package/src/locales/pl.json +1 -0
- package/src/locales/pt.json +1 -0
- package/src/locales/ru.json +1 -0
- package/src/locales/sv.json +1 -0
- package/src/locales/tr.json +1 -0
- package/src/locales/uk.json +1 -0
- package/src/locales/zh-TW.json +1 -0
- package/src/locales/zh.json +1 -0
- package/src/stores/locale.ts +4 -2
- package/src/stores/treeSort.ts +7 -1
- package/src/styles/_pane-active.scss +2 -2
- package/src/utils/atSeparator.ts +4 -0
- package/src/utils/time.ts +2 -1
- package/src/utils/treeFilters.ts +15 -4
- package/test/components/Footer.test.tsx +26 -0
- package/test/components/Header/CiInfo.test.tsx +48 -0
- package/test/components/HeaderControls.test.tsx +28 -0
- package/test/components/ReportHeader.test.tsx +77 -0
- package/test/components/ReportMetadata.test.tsx +131 -0
- package/test/components/TestResult/TrRetriesItem.test.tsx +163 -0
- package/test/components/TestResult/TrSteps.test.tsx +45 -10
- package/test/stores/treeSort.test.ts +58 -0
- package/test/utils/time.test.ts +52 -0
- package/test/utils/treeFilters.test.ts +104 -0
- package/types.d.ts +22 -0
- package/webpack.config.js +9 -7
- package/dist/multi/173.app-d36b0855e3e7a53eeee9.js +0 -1
- package/dist/multi/174.app-d36b0855e3e7a53eeee9.js +0 -1
- package/dist/multi/252.app-d36b0855e3e7a53eeee9.js +0 -1
- package/dist/multi/282.app-d36b0855e3e7a53eeee9.js +0 -1
- package/dist/multi/29.app-d36b0855e3e7a53eeee9.js +0 -1
- package/dist/multi/310.app-d36b0855e3e7a53eeee9.js +0 -1
- package/dist/multi/416.app-d36b0855e3e7a53eeee9.js +0 -1
- package/dist/multi/507.app-d36b0855e3e7a53eeee9.js +0 -1
- package/dist/multi/527.app-d36b0855e3e7a53eeee9.js +0 -1
- package/dist/multi/600.app-d36b0855e3e7a53eeee9.js +0 -1
- package/dist/multi/605.app-d36b0855e3e7a53eeee9.js +0 -1
- package/dist/multi/638.app-d36b0855e3e7a53eeee9.js +0 -1
- package/dist/multi/672.app-d36b0855e3e7a53eeee9.js +0 -1
- package/dist/multi/686.app-d36b0855e3e7a53eeee9.js +0 -1
- package/dist/multi/725.app-d36b0855e3e7a53eeee9.js +0 -1
- package/dist/multi/741.app-d36b0855e3e7a53eeee9.js +0 -1
- package/dist/multi/749.app-d36b0855e3e7a53eeee9.js +0 -1
- package/dist/multi/755.app-d36b0855e3e7a53eeee9.js +0 -1
- package/dist/multi/894.app-d36b0855e3e7a53eeee9.js +0 -1
- package/dist/multi/943.app-d36b0855e3e7a53eeee9.js +0 -1
- package/dist/multi/980.app-d36b0855e3e7a53eeee9.js +0 -1
- package/dist/multi/app-d36b0855e3e7a53eeee9.js +0 -2
- package/dist/multi/styles-468416ffee9a9dea6cae.css +0 -58
- package/dist/single/app-62171f5f51b5954a787c.js +0 -2
- /package/dist/multi/{121.app-d36b0855e3e7a53eeee9.js → 121.app-79d160f9989770266f96.js} +0 -0
- /package/dist/multi/{779.app-d36b0855e3e7a53eeee9.js → 779.app-79d160f9989770266f96.js} +0 -0
- /package/dist/multi/{app-d36b0855e3e7a53eeee9.js.LICENSE.txt → app-79d160f9989770266f96.js.LICENSE.txt} +0 -0
- /package/dist/single/{app-62171f5f51b5954a787c.js.LICENSE.txt → app-36af07268613f77d3ac5.js.LICENSE.txt} +0 -0
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/*! For license information please see app-d36b0855e3e7a53eeee9.js.LICENSE.txt */
|
|
2
|
-
!function(){var e,t,n,r,i={3175:function(e,t,n){"use strict";n.d(t,{EW:function(){return l.EW},HO:function(){return v},QZ:function(){return l.QZ},R0:function(){return C},Ul:function(){return m},vA:function(){return l.vA},vP:function(){return l.vP}});var r,i,o,a=n(841),s=n(4501),l=n(2719),c="undefined"!=typeof window&&!!window.__PREACT_SIGNALS_DEVTOOLS__,u=[],d=[];function f(e,t){a.fF[e]=t.bind(null,a.fF[e]||function(){})}function h(e){o&&o(),o=e&&e.S()}function p(e){var t=this,n=e.data,r=m(n);r.value=n;var i=(0,s.Kr)((function(){for(var e=t,n=t.__v;n=n.__;)if(n.__c){n.__c.__$f|=4;break}var i=(0,l.EW)((function(){var e=r.value.value;return 0===e?0:!0===e?"":e||""})),o=(0,l.EW)((function(){return!Array.isArray(i.value)&&!(0,a.zO)(i.value)})),s=(0,l.QZ)((function(){if(this.N=k,o.value){var t=i.value;e.__v&&e.__v.__e&&3===e.__v.__e.nodeType&&(e.__v.__e.data=t)}})),c=t.__$u.d;return t.__$u.d=function(){s(),c.call(this)},[o,i]}),[]),o=i[0],c=i[1];return o.value?c.peek():c.value}function g(e,t,n,r){var i=t in e&&void 0===e.ownerSVGElement,o=(0,l.vP)(n);return{o:function(e,t){o.value=e,r=t},d:(0,l.QZ)((function(){this.N=k;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 m(e,t){return(0,s.J0)((function(){return(0,l.vP)(e,t)}))[0]}function v(e,t){var n=(0,s.li)(e);return n.current=e,i.__$f|=4,(0,s.Kr)((function(){return(0,l.EW)((function(){return n.current()}),t)}),[])}(0,l.QZ)((function(){r=this.N}))(),p.displayName="ReactiveTextNode",Object.defineProperties(l.HN.prototype,{constructor:{configurable:!0,value:void 0},type:{configurable:!0,value:p},props:{configurable:!0,get:function(){return{data:this}}},__b:{configurable:!0,value:1}}),f("__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 l.HN&&(n||(t.__np=n={}),n[i]=o,r[i]=o.peek())}}e(t)})),f("__r",(function(e,t){if(t.type!==a.FK){h();var n,r=t.__c;r&&(r.__$f&=-2,void 0===(n=r.__$u)&&(r.__$u=n=function(e,t){var n;return(0,l.QZ)((function(){n=this}),{name:t}),n.c=e,n}((function(){var e;c&&(null==(e=n.y)||e.call(n)),r.__$f|=1,r.setState({})}),"function"==typeof t.type?t.type.displayName||t.type.name:""))),i=r,h(n)}e(t)})),f("__e",(function(e,t,n,r){h(),i=void 0,e(t,n,r)})),f("diffed",(function(e,t){var n;if(h(),i=void 0,"string"==typeof t.type&&(n=t.__e)){var r=t.__np,o=t.props;if(r){var a=n.U;if(a)for(var s in a){var l=a[s];void 0===l||s in r||(l.d(),a[s]=void 0)}else a={},n.U=a;for(var c in r){var u=a[c],d=r[c];void 0===u?(u=g(n,c,d,o),a[c]=u):u.o(d,o)}}}e(t)})),f("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)})),f("__h",(function(e,t,n,r){(r<3||9===r)&&(t.__$f|=2),e(t,n,r)})),a.uA.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 b="undefined"==typeof requestAnimationFrame?setTimeout:function(e){var t=function(){clearTimeout(n),cancelAnimationFrame(r),e()},n=setTimeout(t,35),r=requestAnimationFrame(t)},y=function(e){queueMicrotask((function(){queueMicrotask(e)}))};function _(){(0,l.vA)((function(){for(var e;e=u.shift();)r.call(e)}))}function w(){1===u.push(this)&&(a.fF.requestAnimationFrame||b)(_)}function x(){(0,l.vA)((function(){for(var e;e=d.shift();)r.call(e)}))}function k(){1===d.push(this)&&(a.fF.requestAnimationFrame||y)(x)}function C(e,t){var n=(0,s.li)(e);n.current=e,(0,s.vJ)((function(){return(0,l.QZ)((function(){return this.N=w,n.current()}),t)}),[])}},7249:function(e,t,n){"use strict";n.d(t,{a:function(){return a}});n(3175);var r=n(841),i=n(4501),o=function(e){return"function"==typeof e.children?e.children(e.v,e.i):e.children};function a(e){var t=(0,i.Kr)((function(){return new Map}),[]),n=("function"==typeof e.each?e.each():e.each).value;if(!n.length)return e.fallback||null;var a=new Set(t.keys()),s=n.map((function(n,i){if(a.delete(n),!t.has(n)){var s=(0,r.n)(o,{v:n,i:i,children:e.children});return t.set(n,s),s}return t.get(n)}));return a.forEach((function(e){t.delete(e)})),(0,r.n)(r.FK,null,s)}o.displayName="Item",a.displayName="For"},3715:function(e,t,n){"use strict";n.d(t,{fH:function(){return s},gS:function(){return l},h2:function(){return a},u0:function(){return o}});var r=n(1848),i=n(3175);const o=(0,i.vP)({loading:!0,error:void 0,data:void 0}),a=async e=>{o.value={...o.peek(),loading:!0,error:void 0};try{const t=await(0,r.tj)(e?`widgets/${e}/statistic.json`:"widgets/statistic.json",{bustCache:!0});o.value={data:(0,r.Dc)(t),error:void 0,loading:!1}}catch(e){o.value={error:e.message,loading:!1}}},s=(0,i.vP)({loading:!0,error:void 0,data:void 0}),l=async()=>{s.value={...s.peek(),loading:!0,error:void 0};try{const e=await(0,r.tj)("widgets/charts.json",{bustCache:!0});s.value={data:(0,r.q2)(e),error:void 0,loading:!1}}catch(e){s.value={data:void 0,error:e.message,loading:!1}}}},4080:function(e,t,n){"use strict";n.d(t,{F8:function(){return u},GQ:function(){return a},Ir:function(){return l},J_:function(){return d},Zo:function(){return s},hf:function(){return c},lY:function(){return f},xO:function(){return h}});var r=n(1848),i=n(3175),o=n(4512);const a=(0,i.vP)({loading:!1,error:void 0,data:[]}),s=(0,i.vP)({loading:!1,error:void 0,data:{}}),l=(0,i.vP)((0,o.t)("collapsedEnvironments",[])),c=(0,i.vP)((0,o.t)("currentEnvironment","")),u=e=>{c.value=e},d=e=>(0,r.J_)(a.peek().data,e),f=async()=>{a.value={...a.peek(),loading:!0,error:void 0};try{const e=await(0,r.tj)("widgets/environments.json",{bustCache:!0}),t=(0,r.Yq)(e);a.value={data:t,error:void 0,loading:!1},c.value=(0,r.S_)(c.value,t)}catch(e){a.value={...a.peek(),error:(0,r.qX)(e),loading:!1}}},h=async e=>{if(!s.peek().data[e]){s.value={...s.peek(),loading:!0,error:void 0};try{const t=await(0,r.tj)(`data/test-env-groups/${e}.json`);s.value={data:{...s.peek().data,[e]:t},error:void 0,loading:!1}}catch(e){s.value={...s.peek(),error:(0,r.qX)(e),loading:!1}}}};(0,i.QZ)((()=>{localStorage.setItem("currentEnvironment",JSON.stringify(c.value))})),(0,i.QZ)((()=>{localStorage.setItem("collapsedEnvironments",JSON.stringify([...l.value]))}))},9254:function(e,t,n){"use strict";n.d(t,{xs:function(){return c.xs},Tp:function(){return l},Mz:function(){return s},JK:function(){return c.JK},xD:function(){return o},JC:function(){return a},s9:function(){return c.s9},Yk:function(){return c.Yk}});var r=n(1848),i=n(3175);const o=(0,i.vP)({loading:!0,error:void 0,data:{total:0}}),a=(0,i.vP)({loading:!0,error:void 0,data:{}}),s=async()=>{o.value={...o.peek(),loading:!0,error:void 0};try{const e=await(0,r.tj)("widgets/statistic.json",{bustCache:!0});o.value={data:e,error:void 0,loading:!1}}catch(e){o.value={data:{total:0},error:(0,r.qX)(e),loading:!1}}},l=async e=>{const t=e.filter((e=>!a.peek().data?.[e]));if(0!==t.length){a.value={...a.peek(),loading:!0,error:void 0};try{const e=await Promise.all(t.map((e=>(0,r.tj)(`widgets/${e}/statistic.json`,{bustCache:!0})))),n=a.peek().data;a.value={data:t.reduce(((t,n,r)=>({...t,[n]:e[r]})),{...n}),loading:!1,error:void 0}}catch(e){a.value={...a.peek(),error:(0,r.qX)(e),loading:!1}}}};var c=n(3317)},3317:function(e,t,n){"use strict";n.d(t,{IJ:function(){return W},xs:function(){return V},JK:function(){return G},xS:function(){return X},s9:function(){return Z},Yk:function(){return K}});var r=n(4684),i=n(1848),o=n(3175);const a=e=>"string"==typeof e,s=()=>{let e,t;const n=new Promise(((n,r)=>{e=n,t=r}));return n.resolve=e,n.reject=t,n},l=e=>null==e?"":""+e,c=/###/g,u=e=>e&&e.indexOf("###")>-1?e.replace(c,"."):e,d=e=>!e||a(e),f=(e,t,n)=>{const r=a(t)?t.split("."):t;let i=0;for(;i<r.length-1;){if(d(e))return{};const t=u(r[i]);!e[t]&&n&&(e[t]=new n),e=Object.prototype.hasOwnProperty.call(e,t)?e[t]:{},++i}return d(e)?{}:{obj:e,k:u(r[i])}},h=(e,t,n)=>{const{obj:r,k:i}=f(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=f(e,a,Object);for(;void 0===s.obj&&a.length;)o=`${a[a.length-1]}.${o}`,a=a.slice(0,a.length-1),s=f(e,a,Object),s?.obj&&void 0!==s.obj[`${s.k}.${o}`]&&(s.obj=void 0);s.obj[`${s.k}.${o}`]=n},p=(e,t)=>{const{obj:n,k:r}=f(e,t);if(n)return n[r]},g=(e,t,n)=>{for(const r in t)"__proto__"!==r&&"constructor"!==r&&(r in e?a(e[r])||e[r]instanceof String||a(t[r])||t[r]instanceof String?n&&(e[r]=t[r]):g(e[r],t[r],n):e[r]=t[r]);return e},m=e=>e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&");var v={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};const b=e=>a(e)?e.replace(/[&<>"'\/]/g,(e=>v[e])):e;const y=[" ",",","?","!",";"],_=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),w=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},x=e=>e?.replace("_","-"),k={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 C{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||k,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:(a(e[0])&&(e[0]=`${n}${this.prefix} ${e[0]}`),this.logger[t](e))}create(e){return new C(this.logger,{prefix:`${this.prefix}:${e}:`,...this.options})}clone(e){return(e=e||this.options).prefix=e.prefix||this.prefix,new C(this.logger,e)}}var S=new C;class A{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 E extends A{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 s;e.indexOf(".")>-1?s=e.split("."):(s=[e,t],n&&(Array.isArray(n)?s.push(...n):a(n)&&i?s.push(...n.split(i)):s.push(n)));const l=p(this.data,s);return!l&&!t&&!n&&e.indexOf(".")>-1&&(e=s[0],t=s[1],n=s.slice(2).join(".")),!l&&o&&a(n)?w(this.data?.[e]?.[t],n,i):l}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),h(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)(a(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=p(this.data,a)||{};o.skipCopy||(n=JSON.parse(JSON.stringify(n))),r?g(s,n,i):s={...s,...n},h(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 T={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 M={};class L extends A{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=S.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,s=!(this.options.userDefinedKeySeparator||t.keySeparator||this.options.userDefinedNsSeparator||t.nsSeparator||((e,t,n)=>{t=t||"",n=n||"";const r=y.filter((e=>t.indexOf(e)<0&&n.indexOf(e)<0));if(0===r.length)return!0;const i=_.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&&!s){const t=e.match(this.interpolator.nestingRegexp);if(t&&t.length>0)return{key:e,namespaces:a(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:a(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:s}=this.extractFromKey(e[e.length-1],t),l=s[s.length-1],c=t.lng||this.language,u=t.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if("cimode"===c?.toLowerCase()){if(u){const e=t.nsSeparator||this.options.nsSeparator;return r?{res:`${l}${e}${o}`,usedKey:o,exactUsedKey:o,usedLng:c,usedNS:l,usedParams:this.getUsedParamsDetails(t)}:`${l}${e}${o}`}return r?{res:o,usedKey:o,exactUsedKey:o,usedLng:c,usedNS:l,usedParams:this.getUsedParamsDetails(t)}:o}const d=this.resolve(e,t);let f=d?.res;const h=d?.usedKey||o,p=d?.exactUsedKey||o,g=Object.prototype.toString.apply(f),m=void 0!==t.joinArrays?t.joinArrays:this.options.joinArrays,v=!this.i18nFormat||this.i18nFormat.handleAsObject,b=!a(f)&&"boolean"!=typeof f&&"number"!=typeof f;if(!(v&&f&&b&&["[object Number]","[object Function]","[object RegExp]"].indexOf(g)<0)||a(m)&&Array.isArray(f))if(v&&a(m)&&Array.isArray(f))f=f.join(m),f&&(f=this.extendTranslation(f,e,t,n));else{let r=!1,s=!1;const u=void 0!==t.count&&!a(t.count),h=L.hasDefaultValue(t),p=u?this.pluralResolver.getSuffix(c,t.count,t):"",g=t.ordinal&&u?this.pluralResolver.getSuffix(c,t.count,{ordinal:!1}):"",m=u&&!t.ordinal&&0===t.count,v=m&&t[`defaultValue${this.options.pluralSeparator}zero`]||t[`defaultValue${p}`]||t[`defaultValue${g}`]||t.defaultValue;!this.isValidLookup(f)&&h&&(r=!0,f=v),this.isValidLookup(f)||(s=!0,f=o);const b=(t.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&s?void 0:f,y=h&&v!==f&&this.options.updateMissing;if(s||r||y){if(this.logger.log(y?"updateKey":"missingKey",c,l,o,y?v:f),i){const e=this.resolve(o,{...t,keySeparator:!1});e&&e.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let e=[];const n=this.languageUtils.getFallbackCodes(this.options.fallbackLng,t.lng||this.language);if("fallback"===this.options.saveMissingTo&&n&&n[0])for(let t=0;t<n.length;t++)e.push(n[t]);else"all"===this.options.saveMissingTo?e=this.languageUtils.toResolveHierarchy(t.lng||this.language):e.push(t.lng||this.language);const r=(e,n,r)=>{const i=h&&r!==f?r:b;this.options.missingKeyHandler?this.options.missingKeyHandler(e,l,n,i,y,t):this.backendConnector?.saveMissing&&this.backendConnector.saveMissing(e,l,n,i,y,t),this.emit("missingKey",e,l,n,f)};this.options.saveMissing&&(this.options.saveMissingPlurals&&u?e.forEach((e=>{const n=this.pluralResolver.getSuffixes(e,t);m&&t[`defaultValue${this.options.pluralSeparator}zero`]&&n.indexOf(`${this.options.pluralSeparator}zero`)<0&&n.push(`${this.options.pluralSeparator}zero`),n.forEach((n=>{r([e],o+n,t[`defaultValue${n}`]||v)}))})):r(e,o,v))}f=this.extendTranslation(f,e,t,d,n),s&&f===o&&this.options.appendNamespaceToMissingKey&&(f=`${l}:${o}`),(s||r)&&this.options.parseMissingKeyHandler&&(f=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${l}:${o}`:o,r?f:void 0))}else{if(!t.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const e=this.options.returnedObjectHandler?this.options.returnedObjectHandler(h,f,{...t,ns:s}):`key '${o} (${this.language})' returned an object instead of string.`;return r?(d.res=e,d.usedParams=this.getUsedParamsDetails(t),d):e}if(i){const e=Array.isArray(f),n=e?[]:{},r=e?p:h;for(const e in f)if(Object.prototype.hasOwnProperty.call(f,e)){const o=`${r}${i}${e}`;n[e]=this.translate(o,{...t,joinArrays:!1,ns:s}),n[e]===o&&(n[e]=f[e])}f=n}}return r?(d.res=f,d.usedParams=this.getUsedParamsDetails(t),d):f}extendTranslation(e,t,n,r,i){var o=this;if(this.i18nFormat?.parse)e=this.i18nFormat.parse(e,{...this.options.interpolation.defaultVariables,...n},n.lng||this.language||r.usedLng,r.usedNS,r.usedKey,{resolved:r});else if(!n.skipInterpolation){n.interpolation&&this.interpolator.init({...n,interpolation:{...this.options.interpolation,...n.interpolation}});const s=a(e)&&(void 0!==n?.interpolation?.skipOnVariables?n.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let l;if(s){const t=e.match(this.interpolator.nestingRegexp);l=t&&t.length}let c=n.replace&&!a(n.replace)?n.replace:n;if(this.options.interpolation.defaultVariables&&(c={...this.options.interpolation.defaultVariables,...c}),e=this.interpolator.interpolate(e,c,n.lng||this.language||r.usedLng,n),s){const t=e.match(this.interpolator.nestingRegexp);l<(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 s=n.postProcess||this.options.postProcess,l=a(s)?[s]:s;return null!=e&&l?.length&&!1!==n.applyPostProcessor&&(e=T.handle(l,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,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return a(e)&&(e=[e]),e.forEach((e=>{if(this.isValidLookup(t))return;const l=this.extractFromKey(e,s),c=l.key;n=c;let u=l.namespaces;this.options.fallbackNS&&(u=u.concat(this.options.fallbackNS));const d=void 0!==s.count&&!a(s.count),f=d&&!s.ordinal&&0===s.count,h=void 0!==s.context&&(a(s.context)||"number"==typeof s.context)&&""!==s.context,p=s.lngs?s.lngs:this.languageUtils.toResolveHierarchy(s.lng||this.language,s.fallbackLng);u.forEach((e=>{this.isValidLookup(t)||(o=e,M[`${p[0]}-${e}`]||!this.utils?.hasLoadedNamespace||this.utils?.hasLoadedNamespace(o)||(M[`${p[0]}-${e}`]=!0,this.logger.warn(`key "${n}" for languages "${p.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!!!")),p.forEach((n=>{if(this.isValidLookup(t))return;i=n;const o=[c];if(this.i18nFormat?.addLookupKeys)this.i18nFormat.addLookupKeys(o,c,n,e,s);else{let e;d&&(e=this.pluralResolver.getSuffix(n,s.count,s));const t=`${this.options.pluralSeparator}zero`,r=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(d&&(o.push(c+e),s.ordinal&&0===e.indexOf(r)&&o.push(c+e.replace(r,this.options.pluralSeparator)),f&&o.push(c+t)),h){const n=`${c}${this.options.contextSeparator}${s.context}`;o.push(n),d&&(o.push(n+e),s.ordinal&&0===e.indexOf(r)&&o.push(n+e.replace(r,this.options.pluralSeparator)),f&&o.push(n+t))}}let a;for(;a=o.pop();)this.isValidLookup(t)||(r=a,t=this.getResource(n,e,a,s))})))}))})),{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&&!a(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 D{constructor(e){this.options=e,this.supportedLngs=this.options.supportedLngs||!1,this.logger=S.create("languageUtils")}getScriptPartFromCode(e){if(!(e=x(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=x(e))||e.indexOf("-")<0)return e;const t=e.split("-");return this.formatLanguageCode(t[0])}formatLanguageCode(e){if(a(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)),a(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 a(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))):a(e)&&i(this.formatLanguageCode(e)),n.forEach((e=>{r.indexOf(e)<0&&i(this.formatLanguageCode(e))})),r}}const N={zero:0,one:1,two:2,few:3,many:4,other:5},O={select:e=>1===e?"one":"other",resolvedOptions:()=>({pluralCategories:["one","other"]})};class F{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.languageUtils=e,this.options=t,this.logger=S.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=x("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!"),O;if(!e.match(/-|_/))return O;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)=>N[e]-N[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 R=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=p(e,n);return void 0!==r?r:p(t,n)})(e,t,n);return!o&&i&&a(n)&&(o=w(e,n,r),void 0===o&&(o=w(t,n,r))),o},I=e=>e.replace(/\$/g,"$$$$");class z{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.logger=S.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:v,alwaysFormat:y}=e.interpolation;this.escape=void 0!==t?t:b,this.escapeValue=void 0===n||n,this.useRawValueToEscape=void 0!==r&&r,this.prefix=i?m(i):o||"{{",this.suffix=a?m(a):s||"}}",this.formatSeparator=l||",",this.unescapePrefix=c?"":u||"-",this.unescapeSuffix=this.unescapePrefix?"":c||"",this.nestingPrefix=d?m(d):f||m("$t("),this.nestingSuffix=h?m(h):p||m(")"),this.nestingOptionsSeparator=g||",",this.maxReplaces=v||1e3,this.alwaysFormat=void 0!==y&&y,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,s;const c=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},u=e=>{if(e.indexOf(this.formatSeparator)<0){const i=R(t,c,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(R(t,c,o,this.options.keySeparator,this.options.ignoreJSONStructure),a,n,{...r,...t,interpolationkey:o})};this.resetRegExp();const d=r?.missingInterpolationHandler||this.options.missingInterpolationHandler,f=void 0!==r?.interpolation?.skipOnVariables?r.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:e=>I(e)},{regex:this.regexp,safeValue:e=>this.escapeValue?I(this.escape(e)):I(e)}].forEach((t=>{for(s=0;i=t.regex.exec(e);){const n=i[1].trim();if(o=u(n),void 0===o)if("function"==typeof d){const t=d(e,i,r);o=a(t)?t:""}else if(r&&Object.prototype.hasOwnProperty.call(r,n))o="";else{if(f){o=i[0];continue}this.logger.warn(`missed to pass in variable ${n} for interpolating ${e}`),o=""}else a(o)||this.useRawValueToEscape||(o=l(o));const c=t.safeValue(o);if(e=e.replace(i[0],c),f?(t.regex.lastIndex+=o.length,t.regex.lastIndex-=i[0].length):t.regex.lastIndex=0,s++,s>=this.maxReplaces)break}})),e}nest(e,t){let n,r,i,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const s=(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 c=[];i={...o},i=i.replace&&!a(i.replace)?i.replace:i,i.applyPostProcessor=!1,delete i.defaultValue;let u=!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(),c=e,u=!0}if(r=t(s.call(this,n[1].trim(),i),i),r&&n[0]===e&&!a(r))return r;a(r)||(r=l(r)),r||(this.logger.warn(`missed to resolve ${n[1]} for nesting ${e}`),r=""),u&&(r=c.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 P=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(x(r),i),t[a]=s),s(n)}};class B{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.logger=S.create("formatter"),this.options=e,this.formats={number:P(((e,t)=>{const n=new Intl.NumberFormat(e,{...t});return e=>n.format(e)})),currency:P(((e,t)=>{const n=new Intl.NumberFormat(e,{...t,style:"currency"});return e=>n.format(e)})),datetime:P(((e,t)=>{const n=new Intl.DateTimeFormat(e,{...t});return e=>n.format(e)})),relativetime:P(((e,t)=>{const n=new Intl.RelativeTimeFormat(e,{...t});return e=>n.format(e,t.range||"day")})),list:P(((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()]=P(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)}return 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)}}class j extends A{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=S.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}=f(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();a(e)&&(e=this.languageUtils.toResolveHierarchy(e)),a(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 Y=()=>({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]),a(e[1])&&(t.defaultValue=e[1]),a(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}}),$=e=>(a(e.ns)&&(e.ns=[e.ns]),a(e.fallbackLng)&&(e.fallbackLng=[e.fallbackLng]),a(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),q=()=>{};class H extends A{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=$(e),this.services={},this.logger=S,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&&(a(t.ns)?t.defaultNS=t.ns:t.ns.indexOf("translation")<0&&(t.defaultNS=t.ns[0]));const r=Y();this.options={...r,...this.options,...$(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?S.init(i(this.modules.logger),this.options):S.init(null,this.options),t=this.modules.formatter?this.modules.formatter:B;const n=new D(this.options);this.store=new E(this.options.resources,this.options);const o=this.services;o.logger=S,o.resourceStore=this.store,o.languageUtils=n,o.pluralResolver=new F(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 z(this.options),o.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},o.backendConnector=new j(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 L(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=q),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=s(),l=()=>{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?l():setTimeout(l,0),o}loadResources(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:q;const n=a(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=s();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=q),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&&T.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=s();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)}))},l=t=>{e||t||!this.services.languageDetector||(t=[]);const n=a(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(l):this.services.languageDetector.detect(l):l(e):l(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 a(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=s();return this.options.ns?(a(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=s();a(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 D(Y());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 H(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]:q;const n=e.forkResourceStore;n&&delete e.forkResourceStore;const r={...this.options,...e,isClone:!0},i=new H(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 E(this.store.data,r),i.services.resourceStore=i.store),i.translator=new L(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 U=H.createInstance();U.createInstance=H.createInstance;U.createInstance,U.dir,U.init,U.loadResources,U.reloadResources,U.use,U.changeLanguage,U.getFixedT,U.t,U.exists,U.setDefaultNamespace,U.hasLoadedNamespace,U.loadNamespaces,U.loadLanguages;const W=(0,o.vP)("en"),V=(0,o.EW)((()=>i.S2[W.value]?.iso??i.S2.en.iso)),G=((0,o.EW)((()=>["ar","he","fa"].includes(W.value))),async()=>{const{reportLanguage:e}=(0,i.nj)()??{},t=localStorage.getItem("currentLocale")||e||i.Xn;await X(t)}),K=U.use({type:"backend",read:async(e,t,r)=>{const i="en-iso"===e?"en":e;await n(7228)(`./${i}.json`).then((e=>{r(null,e[t])})).catch((e=>{r(e,null)}))}}).init({lng:W.value,fallbackLng:"en",ns:["empty","execution","filters","search","severity","sort-by","sort-by.directions","sort-by.values","statuses","tabs","testSummary","ui","welcome","controls","shortcuts","errors","split","modal","environments","charts","sections","timeline","transitions","trHistory","attachments"],interpolation:{escapeValue:!1}}).then((()=>{U.services.formatter.add("capitalize",(e=>e.charAt(0).toLocaleUpperCase()+e.slice(1))),U.services.formatter.add("timestamp_date",((e,t,n)=>{const r=(0,i.e4)(t,"date"),o=new Intl.DateTimeFormat(r?.locale??t,{...n,month:"numeric",day:"numeric",year:"numeric",...r?.options??{}}).format(e);return r?.stripComma?o.replace(",",""):o})),U.services.formatter.add("timestamp_long",((e,t,n)=>{const r=(0,i.e4)(t,"dateTime"),o=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?o.replace(",",""):o.replace(",",` ${U.t("ui:at")}`)})),U.services.formatter.add("timestamp_long_no_seconds",((e,t,n)=>{const r=(0,i.e4)(t,"dateTimeNoSeconds"),o=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?o.replace(",",""):o.replace(",",` ${U.t("ui:at")}`)})),U.services.formatter.add("format_duration",(e=>(0,r.a3)(e)))})),Z=e=>({t:(0,o.EW)((()=>(t,n={})=>U.t(t,{ns:e,...n}))).value,currentLocale:W.value}),X=async e=>{await U.changeLanguage(e),localStorage.setItem("currentLocale",e),W.value=e,document.documentElement.dir=["ar","he","fa"].includes(e)?"rtl":"ltr"}},4512:function(e,t,n){"use strict";n.d(t,{t:function(){return r}});const r=(e,t)=>{try{const n=localStorage.getItem(e);return n?JSON.parse(n):t}catch{return t}}},2719:function(e,t,n){"use strict";n.d(t,{EW:function(){return y},HN:function(){return h},QZ:function(){return C},vA:function(){return o},vP:function(){return p}});var r=Symbol.for("preact-signals");function i(){if(c>1)c--;else{for(var e,t=!1;void 0!==l;){var n=l;for(l=void 0,u++;void 0!==n;){var r=n.o;if(n.o=void 0,n.f&=-3,!(8&n.f)&&g(n))try{n.c()}catch(n){t||(e=n,t=!0)}n=r}}if(u=0,c--,t)throw e}}function o(e){if(c>0)return e();c++;try{return e()}finally{i()}}var a=void 0;function s(e){var t=a;a=void 0;try{return e()}finally{a=t}}var l=void 0,c=0,u=0,d=0;function f(e){if(void 0!==a){var t=e.n;if(void 0===t||t.t!==a)return t={i:0,S:e,p:a.s,n:void 0,t:a,e:void 0,x:void 0,r:t},void 0!==a.s&&(a.s.n=t),a.s=t,e.n=t,32&a.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=a.s,t.n=void 0,a.s.n=t,a.s=t),t}}function h(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 p(e,t){return new h(e,t)}function g(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 m(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 v(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 b(e,t){h.call(this,void 0),this.x=e,this.s=void 0,this.g=d-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 y(e,t){return new b(e,t)}function _(e){var t=e.u;if(e.u=void 0,"function"==typeof t){c++;var n=a;a=void 0;try{t()}catch(t){throw e.f&=-2,e.f|=8,w(e),t}finally{a=n,i()}}}function w(e){for(var t=e.s;void 0!==t;t=t.n)t.S.U(t);e.x=void 0,e.s=void 0,_(e)}function x(e){if(a!==this)throw new Error("Out-of-order effect");v(this),a=e,this.f&=-2,8&this.f&&w(this),i()}function k(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 C(e,t){var n=new k(e,t);try{n.c()}catch(e){throw n.d(),e}var r=n.d.bind(n);return r[Symbol.dispose]=r,r}h.prototype.brand=r,h.prototype.h=function(){return!0},h.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:s((function(){var e;null==(e=t.W)||e.call(t)})))},h.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&&s((function(){var e;null==(e=t.Z)||e.call(t)})))}},h.prototype.subscribe=function(e){var t=this;return C((function(){var n=t.value,r=a;a=void 0;try{e(n)}finally{a=r}}),{name:"sub"})},h.prototype.valueOf=function(){return this.value},h.prototype.toString=function(){return this.value+""},h.prototype.toJSON=function(){return this.value},h.prototype.peek=function(){var e=a;a=void 0;try{return this.value}finally{a=e}},Object.defineProperty(h.prototype,"value",{get:function(){var e=f(this);return void 0!==e&&(e.i=this.i),this.v},set:function(e){if(e!==this.v){if(u>100)throw new Error("Cycle detected");this.v=e,this.i++,d++,c++;try{for(var t=this.t;void 0!==t;t=t.x)t.t.N()}finally{i()}}}}),b.prototype=new h,b.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===d)return!0;if(this.g=d,this.f|=1,this.i>0&&!g(this))return this.f&=-2,!0;var e=a;try{m(this),a=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 a=e,v(this),this.f&=-2,!0},b.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)}h.prototype.S.call(this,e)},b.prototype.U=function(e){if(void 0!==this.t&&(h.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)}},b.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(b.prototype,"value",{get:function(){if(1&this.f)throw new Error("Cycle detected");var e=f(this);if(this.h(),void 0!==e&&(e.i=this.i),16&this.f)throw this.v;return this.v}}),k.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()}},k.prototype.S=function(){if(1&this.f)throw new Error("Cycle detected");this.f|=1,this.f&=-9,_(this),m(this),c++;var e=a;return a=this,x.bind(this,e)},k.prototype.N=function(){2&this.f||(this.f|=2,this.o=l,l=this)},k.prototype.d=function(){this.f|=8,1&this.f||w(this)},k.prototype.dispose=function(){this.d()}},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)}},2753:function(e,t,n){"use strict";n.d(t,{FK:function(){return r.FK},J0:function(){return i.J0},Kr:function(){return i.Kr},NT:function(){return i.NT},Nf:function(){return i.Nf},Ob:function(){return V},Rf:function(){return v},d5:function(){return M},hb:function(){return i.hb},li:function(){return i.li},n:function(){return r.n},ph:function(){return p},q6:function(){return r.q6},rE:function(){return U},rS:function(){return G},uA:function(){return r.uA},vJ:function(){return i.vJ},zO:function(){return W}});var r=n(841),i=n(4501);function o(e,t){for(var n in t)e[n]=t[n];return e}function a(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 s(e,t){var n=t(),r=(0,i.J0)({t:{__:n,u:t}}),o=r[0].t,a=r[1];return(0,i.Nf)((function(){o.__=n,o.u=t,l(o)&&a({t:o})}),[e,n,t]),(0,i.vJ)((function(){return l(o)&&a({t:o}),e((function(){l(o)&&a({t:o})}))}),[e]),n}function l(e){var t,n,r=e.u,i=e.__;try{var o=r();return!((t=i)===(n=o)&&(0!==t||1/t==1/n)||t!=t&&n!=n)}catch(e){return!0}}function c(e){e()}function u(e){return e}function d(){return[!1,c]}var f=i.Nf;function h(e,t){this.props=e,this.context=t}function p(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:a(this.props,e)}function i(t){return this.shouldComponentUpdate=n,(0,r.n)(e,t)}return i.displayName="Memo("+(e.displayName||e.name)+")",i.prototype.isReactComponent=!0,i.__f=!0,i.type=e,i}(h.prototype=new r.uA).isPureReactComponent=!0,h.prototype.shouldComponentUpdate=function(e,t){return a(this.props,e)||a(this.state,t)};var g=r.fF.__b;r.fF.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),g&&g(e)};var m="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function v(e){function t(t){var n=o({},t);return delete n.ref,e(n,t.ref||null)}return t.$$typeof=m,t.render=e,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var b=function(e,t){return null==e?null:(0,r.v2)((0,r.v2)(e).map(t))},y=(r.v2,r.fF.__e);r.fF.__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);y(e,t,n,r)};var _=r.fF.unmount;function w(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=o({},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 w(e,t,n)}))),e}function x(e,t,n){return e&&n&&(e.__v=null,e.__k=e.__k&&e.__k.map((function(e){return x(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 k(){this.__u=0,this.o=null,this.__b=null}function C(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function S(){this.i=null,this.l=null}r.fF.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),_&&_(e)},(k.prototype=new r.uA).__c=function(e,t){var n=t.__c,r=this;null==r.o&&(r.o=[]),r.o.push(n);var i=C(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]=x(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)},k.prototype.componentWillUnmount=function(){this.o=[]},k.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),i=this.__v.__k[0].__c;this.__v.__k[0]=w(this.__b,n,i.__O=i.__P)}this.__b=null}var o=t.__a&&(0,r.n)(r.FK,null,e.fallback);return o&&(o.__u&=-33),[(0,r.n)(r.FK,null,t.__a?null:e.children),o]};var A=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 E(e){return this.getChildContext=function(){return e.context},e.children}function T(e){var t=this,n=e.h;if(t.componentWillUnmount=function(){(0,r.XX)(null,t.v),t.v=null,t.h=null},t.h&&t.h!==n&&t.componentWillUnmount(),!t.v){for(var i=t.__v;null!==i&&!i.__m&&null!==i.__;)i=i.__;t.h=n,t.v={nodeType:1,parentNode:n,childNodes:[],__k:{__m:i.__m},contains:function(){return!0},insertBefore:function(e,n){this.childNodes.push(e),t.h.insertBefore(e,n)},removeChild:function(e){this.childNodes.splice(this.childNodes.indexOf(e)>>>1,1),t.h.removeChild(e)}}}(0,r.XX)((0,r.n)(E,{context:t.context},e.__v),t.v)}function M(e,t){var n=(0,r.n)(T,{__v:e,h:t});return n.containerInfo=t,n}(S.prototype=new r.uA).__a=function(e){var t=this,n=C(t.__v),r=t.l.get(e);return r[0]++,function(i){var o=function(){t.props.revealOrder?(r.push(i),A(t,e,r)):i()};n?n(o):o()}},S.prototype.render=function(e){this.i=null,this.l=new Map;var t=(0,r.v2)(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},S.prototype.componentDidUpdate=S.prototype.componentDidMount=function(){var e=this;this.l.forEach((function(t,n){A(e,n,t)}))};var L="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,D=/^(?: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]/,N=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,O=/[A-Z0-9]/g,F="undefined"!=typeof document,R=function(e){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/:/fil|che|ra/).test(e)};r.uA.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach((function(e){Object.defineProperty(r.uA.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})}));var I=r.fF.event;function z(){}function P(){return this.cancelBubble}function B(){return this.defaultPrevented}r.fF.event=function(e){return I&&(e=I(e)),e.persist=z,e.isPropagationStopped=P,e.isDefaultPrevented=B,e.nativeEvent=e};var j,Y={enumerable:!1,configurable:!0,get:function(){return this.class}},$=r.fF.vnode;r.fF.vnode=function(e){"string"==typeof e.type&&function(e){var t=e.props,n=e.type,i={},o=-1===n.indexOf("-");for(var a in t){var s=t[a];if(!("value"===a&&"defaultValue"in t&&null==s||F&&"children"===a&&"noscript"===n||"class"===a||"className"===a)){var l=a.toLowerCase();"defaultValue"===a&&"value"in t&&null==t.value?a="value":"download"===a&&!0===s?s="":"translate"===l&&"no"===s?s=!1:"o"===l[0]&&"n"===l[1]?"ondoubleclick"===l?a="ondblclick":"onchange"!==l||"input"!==n&&"textarea"!==n||R(t.type)?"onfocus"===l?a="onfocusin":"onblur"===l?a="onfocusout":N.test(a)&&(a=l):l=a="oninput":o&&D.test(a)?a=a.replace(O,"-$&").toLowerCase():null===s&&(s=void 0),"oninput"===l&&i[a=l]&&(a="oninputCapture"),i[a]=s}}"select"==n&&i.multiple&&Array.isArray(i.value)&&(i.value=(0,r.v2)(t.children).forEach((function(e){e.props.selected=-1!=i.value.indexOf(e.props.value)}))),"select"==n&&null!=i.defaultValue&&(i.value=(0,r.v2)(t.children).forEach((function(e){e.props.selected=i.multiple?-1!=i.defaultValue.indexOf(e.props.value):i.defaultValue==e.props.value}))),t.class&&!t.className?(i.class=t.class,Object.defineProperty(i,"className",Y)):(t.className&&!t.class||t.class&&t.className)&&(i.class=i.className=t.className),e.props=i}(e),e.$$typeof=L,$&&$(e)};var q=r.fF.__r;r.fF.__r=function(e){q&&q(e),j=e.__c};var H=r.fF.diffed;r.fF.diffed=function(e){H&&H(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),j=null};i.hb,i.NT,i.MN,i.vJ,i.Bi,i.Yn,i.Nf,i.Kr,i.WO,i.li,i.J0;var U="18.3.1";function W(e){return!!e&&e.$$typeof===L}function V(e){return W(e)?r.Ob.apply(null,arguments):e}var G=function(e,t){return e(t)};r.FK,i.J0,i.Bi,i.WO,i.vJ,i.Nf,i.li,i.Yn,i.Kr,i.hb,i.NT,i.MN,r.n,r.q6,r._3,r.FK,r.uA},841:function(e,t,n){"use strict";n.d(t,{FK:function(){return S},Ob:function(){return K},Qv:function(){return G},XX:function(){return V},_3:function(){return C},fF:function(){return i},n:function(){return x},q6:function(){return Z},uA:function(){return A},v2:function(){return F},zO:function(){return a}});var r,i,o,a,s,l,c,u,d,f,h,p,g,m={},v=[],b=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,y=Array.isArray;function _(e,t){for(var n in t)e[n]=t[n];return e}function w(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function x(e,t,n){var i,o,a,s={};for(a in t)"key"==a?i=t[a]:"ref"==a?o=t[a]:s[a]=t[a];if(arguments.length>2&&(s.children=arguments.length>3?r.call(arguments,2):n),"function"==typeof e&&null!=e.defaultProps)for(a in e.defaultProps)void 0===s[a]&&(s[a]=e.defaultProps[a]);return k(e,s,i,o,null)}function k(e,t,n,r,a){var s={type:e,props:t,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:null==a?++o:a,__i:-1,__u:0};return null==a&&null!=i.vnode&&i.vnode(s),s}function C(){return{current:null}}function S(e){return e.children}function A(e,t){this.props=e,this.context=t}function E(e,t){if(null==t)return e.__?E(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?E(e):null}function T(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 T(e)}}function M(e){(!e.__d&&(e.__d=!0)&&s.push(e)&&!L.__r++||l!=i.debounceRendering)&&((l=i.debounceRendering)||c)(L)}function L(){for(var e,t,n,r,o,a,l,c=1;s.length;)s.length>c&&s.sort(u),e=s.shift(),c=s.length,e.__d&&(n=void 0,r=void 0,o=(r=(t=e).__v).__e,a=[],l=[],t.__P&&((n=_({},r)).__v=r.__v+1,i.vnode&&i.vnode(n),B(t.__P,n,r,t.__n,t.__P.namespaceURI,32&r.__u?[o]:null,a,null==o?E(r):o,!!(32&r.__u),l),n.__v=r.__v,n.__.__k[n.__i]=n,Y(a,n,l),r.__e=r.__=null,n.__e!=o&&T(n)));L.__r=0}function D(e,t,n,r,i,o,a,s,l,c,u){var d,f,h,p,g,b,y,_=r&&r.__k||v,w=t.length;for(l=N(n,t,_,l,w),d=0;d<w;d++)null!=(h=n.__k[d])&&(f=-1==h.__i?m:_[h.__i]||m,h.__i=d,b=B(e,h,f,i,o,a,s,l,c,u),p=h.__e,h.ref&&f.ref!=h.ref&&(f.ref&&H(f.ref,null,h),u.push(h.ref,h.__c||p,h)),null==g&&null!=p&&(g=p),(y=!!(4&h.__u))||f.__k===h.__k?l=O(h,l,e,y):"function"==typeof h.type&&void 0!==b?l=b:p&&(l=p.nextSibling),h.__u&=-7);return n.__e=g,l}function N(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]=k(null,a,null,null,null):y(a)?a=e.__k[o]=k(S,{children:a},null,null,null):void 0===a.constructor&&a.__b>0?a=e.__k[o]=k(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=R(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=E(s)),U(s,s));return r}function O(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=O(i[o],t,n,r));return t}e.__e!=t&&(r&&(t&&e.type&&!t.parentNode&&(t=E(e)),n.insertBefore(e.__e,t||null)),t=e.__e);do{t=t&&t.nextSibling}while(null!=t&&8==t.nodeType);return t}function F(e,t){return t=t||[],null==e||"boolean"==typeof e||(y(e)?e.some((function(e){F(e,t)})):t.push(e)),t}function R(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 I(e,t,n){"-"==t[0]?e.setProperty(t,null==n?"":n):e[t]=null==n?"":"number"!=typeof n||b.test(t)?n:n+"px"}function z(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||I(e.style,t,"");if(n)for(t in n)r&&n[t]==r[t]||I(e.style,t,n[t])}else if("o"==t[0]&&"n"==t[1])o=t!=(t=t.replace(d,"$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=f,e.addEventListener(t,o?p:h,o)):e.removeEventListener(t,o?p:h,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 P(e){return function(t){if(this.l){var n=this.l[t.type+e];if(null==t.t)t.t=f++;else if(t.t<n.u)return;return n(i.event?i.event(t):t)}}}function B(e,t,n,r,o,a,s,l,c,u){var d,f,h,p,g,m,v,b,x,k,C,E,T,M,L,N,O,F=t.type;if(void 0!==t.constructor)return null;128&n.__u&&(c=!!(32&n.__u),a=[l=t.__e=n.__e]),(d=i.__b)&&d(t);e:if("function"==typeof F)try{if(b=t.props,x="prototype"in F&&F.prototype.render,k=(d=F.contextType)&&r[d.__c],C=d?k?k.props.value:d.__:r,n.__c?v=(f=t.__c=n.__c).__=f.__E:(x?t.__c=f=new F(b,C):(t.__c=f=new A(b,C),f.constructor=F,f.render=W),k&&k.sub(f),f.state||(f.state={}),f.__n=r,h=f.__d=!0,f.__h=[],f._sb=[]),x&&null==f.__s&&(f.__s=f.state),x&&null!=F.getDerivedStateFromProps&&(f.__s==f.state&&(f.__s=_({},f.__s)),_(f.__s,F.getDerivedStateFromProps(b,f.__s))),p=f.props,g=f.state,f.__v=t,h)x&&null==F.getDerivedStateFromProps&&null!=f.componentWillMount&&f.componentWillMount(),x&&null!=f.componentDidMount&&f.__h.push(f.componentDidMount);else{if(x&&null==F.getDerivedStateFromProps&&b!==p&&null!=f.componentWillReceiveProps&&f.componentWillReceiveProps(b,C),t.__v==n.__v||!f.__e&&null!=f.shouldComponentUpdate&&!1===f.shouldComponentUpdate(b,f.__s,C)){for(t.__v!=n.__v&&(f.props=b,f.state=f.__s,f.__d=!1),t.__e=n.__e,t.__k=n.__k,t.__k.some((function(e){e&&(e.__=t)})),E=0;E<f._sb.length;E++)f.__h.push(f._sb[E]);f._sb=[],f.__h.length&&s.push(f);break e}null!=f.componentWillUpdate&&f.componentWillUpdate(b,f.__s,C),x&&null!=f.componentDidUpdate&&f.__h.push((function(){f.componentDidUpdate(p,g,m)}))}if(f.context=C,f.props=b,f.__P=e,f.__e=!1,T=i.__r,M=0,x){for(f.state=f.__s,f.__d=!1,T&&T(t),d=f.render(f.props,f.state,f.context),L=0;L<f._sb.length;L++)f.__h.push(f._sb[L]);f._sb=[]}else do{f.__d=!1,T&&T(t),d=f.render(f.props,f.state,f.context),f.state=f.__s}while(f.__d&&++M<25);f.state=f.__s,null!=f.getChildContext&&(r=_(_({},r),f.getChildContext())),x&&!h&&null!=f.getSnapshotBeforeUpdate&&(m=f.getSnapshotBeforeUpdate(p,g)),N=d,null!=d&&d.type===S&&null==d.key&&(N=$(d.props.children)),l=D(e,y(N)?N:[N],t,n,r,o,a,s,l,c,u),f.base=t.__e,t.__u&=-161,f.__h.length&&s.push(f),v&&(f.__E=f.__=null)}catch(e){if(t.__v=null,c||null!=a)if(e.then){for(t.__u|=c?160:128;l&&8==l.nodeType&&l.nextSibling;)l=l.nextSibling;a[a.indexOf(l)]=null,t.__e=l}else{for(O=a.length;O--;)w(a[O]);j(t)}else t.__e=n.__e,t.__k=n.__k,e.then||j(t);i.__e(e,t,n)}else null==a&&t.__v==n.__v?(t.__k=n.__k,t.__e=n.__e):l=t.__e=q(n.__e,t,n,r,o,a,s,c,u);return(d=i.diffed)&&d(t),128&t.__u?void 0:l}function j(e){e&&e.__c&&(e.__c.__e=!0),e&&e.__k&&e.__k.forEach(j)}function Y(e,t,n){for(var r=0;r<n.length;r++)H(n[r],n[++r],n[++r]);i.__c&&i.__c(t,e),e.some((function(t){try{e=t.__h,t.__h=[],e.some((function(e){e.call(t)}))}catch(e){i.__e(e,t.__v)}}))}function $(e){return"object"!=typeof e||null==e||e.__b&&e.__b>0?e:y(e)?e.map($):_({},e)}function q(e,t,n,o,a,s,l,c,u){var d,f,h,p,g,v,b,_=n.props||m,x=t.props,k=t.type;if("svg"==k?a="http://www.w3.org/2000/svg":"math"==k?a="http://www.w3.org/1998/Math/MathML":a||(a="http://www.w3.org/1999/xhtml"),null!=s)for(d=0;d<s.length;d++)if((g=s[d])&&"setAttribute"in g==!!k&&(k?g.localName==k:3==g.nodeType)){e=g,s[d]=null;break}if(null==e){if(null==k)return document.createTextNode(x);e=document.createElementNS(a,k,x.is&&x),c&&(i.__m&&i.__m(t,s),c=!1),s=null}if(null==k)_===x||c&&e.data==x||(e.data=x);else{if(s=s&&r.call(e.childNodes),!c&&null!=s)for(_={},d=0;d<e.attributes.length;d++)_[(g=e.attributes[d]).name]=g.value;for(d in _)if(g=_[d],"children"==d);else if("dangerouslySetInnerHTML"==d)h=g;else if(!(d in x)){if("value"==d&&"defaultValue"in x||"checked"==d&&"defaultChecked"in x)continue;z(e,d,null,g,a)}for(d in x)g=x[d],"children"==d?p=g:"dangerouslySetInnerHTML"==d?f=g:"value"==d?v=g:"checked"==d?b=g:c&&"function"!=typeof g||_[d]===g||z(e,d,g,_[d],a);if(f)c||h&&(f.__html==h.__html||f.__html==e.innerHTML)||(e.innerHTML=f.__html),t.__k=[];else if(h&&(e.innerHTML=""),D("template"==t.type?e.content:e,y(p)?p:[p],t,n,o,"foreignObject"==k?"http://www.w3.org/1999/xhtml":a,s,l,s?s[0]:n.__k&&E(n,0),c,u),null!=s)for(d=s.length;d--;)w(s[d]);c||(d="value","progress"==k&&null==v?e.removeAttribute("value"):null!=v&&(v!==e[d]||"progress"==k&&!v||"option"==k&&v!=_[d])&&z(e,d,v,_[d],a),d="checked",null!=b&&b!=e[d]&&z(e,d,b,_[d],a))}return e}function H(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){i.__e(e,n)}}function U(e,t,n){var r,o;if(i.unmount&&i.unmount(e),(r=e.ref)&&(r.current&&r.current!=e.__e||H(r,null,t)),null!=(r=e.__c)){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(e){i.__e(e,t)}r.base=r.__P=null}if(r=e.__k)for(o=0;o<r.length;o++)r[o]&&U(r[o],t,n||"function"!=typeof e.type);n||w(e.__e),e.__c=e.__=e.__e=void 0}function W(e,t,n){return this.constructor(e,n)}function V(e,t,n){var o,a,s,l;t==document&&(t=document.documentElement),i.__&&i.__(e,t),a=(o="function"==typeof n)?null:n&&n.__k||t.__k,s=[],l=[],B(t,e=(!o&&n||t).__k=x(S,null,[e]),a||m,m,t.namespaceURI,!o&&n?[n]:a?null:t.firstChild?r.call(t.childNodes):null,s,!o&&n?n:a?a.__e:t.firstChild,o,l),Y(s,e,l)}function G(e,t){V(e,t,G)}function K(e,t,n){var i,o,a,s,l=_({},e.props);for(a in e.type&&e.type.defaultProps&&(s=e.type.defaultProps),t)"key"==a?i=t[a]:"ref"==a?o=t[a]:l[a]=void 0===t[a]&&null!=s?s[a]:t[a];return arguments.length>2&&(l.children=arguments.length>3?r.call(arguments,2):n),k(e.type,l,i||e.key,o||e.ref,null)}function Z(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,M(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"+g++,t.__=e,t.Provider=t.__l=(t.Consumer=function(e,t){return e.children(t)}).contextType=t,t}r=v.slice,i={__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}},o=0,a=function(e){return null!=e&&void 0===e.constructor},A.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!=this.state?this.__s:this.__s=_({},this.state),"function"==typeof e&&(e=e(_({},n),this.props)),e&&_(n,e),null!=e&&this.__v&&(t&&this._sb.push(t),M(this))},A.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),M(this))},A.prototype.render=S,s=[],c="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,u=function(e,t){return e.__v.__b-t.__v.__b},L.__r=0,d=/(PointerCapture)$|Capture$/i,f=0,h=P(!1),p=P(!0),g=0},4501:function(e,t,n){"use strict";n.d(t,{Bi:function(){return T},J0:function(){return b},Kr:function(){return C},MN:function(){return E},NT:function(){return A},Nf:function(){return w},WO:function(){return y},Yn:function(){return k},hb:function(){return S},li:function(){return x},vJ:function(){return _}});var r,i,o,a,s=n(841),l=0,c=[],u=s.fF,d=u.__b,f=u.__r,h=u.diffed,p=u.__c,g=u.unmount,m=u.__;function v(e,t){u.__h&&u.__h(i,e,l||t),l=0;var n=i.__H||(i.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({}),n.__[e]}function b(e){return l=1,y(R,e)}function y(e,t,n){var o=v(r++,2);if(o.t=e,!o.__c&&(o.__=[n?n(t):R(void 0,t),function(e){var t=o.__N?o.__N[0]:o.__[0],n=o.t(t,e);t!==n&&(o.__N=[n,o.__[1]],o.__c.setState({}))}],o.__c=i,!i.__f)){var a=function(e,t,n){if(!o.__c.__H)return!0;var r=o.__c.__H.__.filter((function(e){return!!e.__c}));if(r.every((function(e){return!e.__N})))return!s||s.call(this,e,t,n);var i=o.__c.props!==e;return r.forEach((function(e){if(e.__N){var t=e.__[0];e.__=e.__N,e.__N=void 0,t!==e.__[0]&&(i=!0)}})),s&&s.call(this,e,t,n)||i};i.__f=!0;var s=i.shouldComponentUpdate,l=i.componentWillUpdate;i.componentWillUpdate=function(e,t,n){if(this.__e){var r=s;s=void 0,a(e,t,n),s=r}l&&l.call(this,e,t,n)},i.shouldComponentUpdate=a}return o.__N||o.__}function _(e,t){var n=v(r++,3);!u.__s&&F(n.__H,t)&&(n.__=e,n.u=t,i.__H.__h.push(n))}function w(e,t){var n=v(r++,4);!u.__s&&F(n.__H,t)&&(n.__=e,n.u=t,i.__h.push(n))}function x(e){return l=5,C((function(){return{current:e}}),[])}function k(e,t,n){l=6,w((function(){if("function"==typeof e){var n=e(t());return function(){e(null),n&&"function"==typeof n&&n()}}if(e)return e.current=t(),function(){return e.current=null}}),null==n?n:n.concat(e))}function C(e,t){var n=v(r++,7);return F(n.__H,t)&&(n.__=e(),n.__H=t,n.__h=e),n.__}function S(e,t){return l=8,C((function(){return e}),t)}function A(e){var t=i.context[e.__c],n=v(r++,9);return n.c=e,t?(null==n.__&&(n.__=!0,t.sub(i)),t.props.value):e.__}function E(e,t){u.useDebugValue&&u.useDebugValue(t?t(e):e)}function T(){var e=v(r++,11);if(!e.__){for(var t=i.__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 M(){for(var e;e=c.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(N),e.__H.__h.forEach(O),e.__H.__h=[]}catch(t){e.__H.__h=[],u.__e(t,e.__v)}}u.__b=function(e){i=null,d&&d(e)},u.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),m&&m(e,t)},u.__r=function(e){f&&f(e),r=0;var t=(i=e.__c).__H;t&&(o===i?(t.__h=[],i.__h=[],t.__.forEach((function(e){e.__N&&(e.__=e.__N),e.u=e.__N=void 0}))):(t.__h.forEach(N),t.__h.forEach(O),t.__h=[],r=0)),o=i},u.diffed=function(e){h&&h(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(1!==c.push(t)&&a===u.requestAnimationFrame||((a=u.requestAnimationFrame)||D)(M)),t.__H.__.forEach((function(e){e.u&&(e.__H=e.u),e.u=void 0}))),o=i=null},u.__c=function(e,t){t.some((function(e){try{e.__h.forEach(N),e.__h=e.__h.filter((function(e){return!e.__||O(e)}))}catch(n){t.some((function(e){e.__h&&(e.__h=[])})),t=[],u.__e(n,e.__v)}})),p&&p(e,t)},u.unmount=function(e){g&&g(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach((function(e){try{N(e)}catch(e){t=e}})),n.__H=void 0,t&&u.__e(t,n.__v))};var L="function"==typeof requestAnimationFrame;function D(e){var t,n=function(){clearTimeout(r),L&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,35);L&&(t=requestAnimationFrame(n))}function N(e){var t=i,n=e.__c;"function"==typeof n&&(e.__c=void 0,n()),i=t}function O(e){var t=i;e.__c=e.__(),i=t}function F(e,t){return!e||e.length!==t.length||t.some((function(t,n){return t!==e[n]}))}function R(e,t){return"function"==typeof t?t(e):t}},1968:function(e,t,n){"use strict";n.d(t,{FD:function(){return o},FK:function(){return r.FK},Y:function(){return o}});var r=n(841);var i=0;Array.isArray;function o(e,t,n,o,a,s){t||(t={});var l,c,u=t;if("ref"in u)for(c in u={},t)"ref"==c?l=t[c]:u[c]=t[c];var d={type:e,props:u,key:n,ref:l,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:--i,__i:-1,__u:0,__source:a,__self:s};if("function"==typeof e&&(l=e.defaultProps))for(c in l)void 0===u[c]&&(u[c]=l[c]);return r.fF.vnode&&r.fF.vnode(d),d}},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},3846:function(e){"use strict";e.exports=crypto},3191:function(e,t,n){"use strict";var r,i,o;n.d(t,{NB:function(){return r}}),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"}(r||(r={})),function(e){e.Status="status",e.Severity="severity"}(i||(i={})),function(e){e.Raw="raw",e.Percent="percent",e.Diverging="diverging"}(o||(o={}));r.CurrentStatus,r.StatusDynamics,r.TrSeverities,r.StatusTransitions,r.TestBaseGrowthDynamics,r.CoverageDiff,r.SuccessRateDistribution,r.ProblemsDistribution,r.StabilityDistribution,r.StabilityDistribution,r.StabilityDistribution,r.Durations,r.Durations,r.DurationDynamics,r.StatusAgePyramid,r.TestingPyramid},4684:function(e,t,n){"use strict";n.d(t,{Tv:function(){return p},Uz:function(){return T},UH:function(){return w},hg:function(){return _},ax:function(){return C},GF:function(){return k},ZH:function(){return N},VE:function(){return y},WO:function(){return d},DT:function(){return u},a3:function(){return m},EE:function(){return D},GA:function(){return E},MF:function(){return f},$C:function(){return h},IE:function(){return x},BE:function(){return v},UG:function(){return R},Hq:function(){return o},pc:function(){return i},bA:function(){return r},kb:function(){return O},zl:function(){return L},B7:function(){return M}});const r=["failed","broken","passed","skipped","unknown"],i=["blocker","critical","normal","minor","trivial"],o="severity",a=new Set(["failed","broken"]),s=new Set(["passed"]),l=new Set([...a,...s]),c=e=>{const t=new Set(e);return e=>t.has(e.status)},u=(c(s),c(a),c(l)),d=()=>({total:0}),f=(e,t,n=1)=>{e[t]=(e?.[t]??0)+n,e.total+=n},h=(e,t)=>{r.forEach((n=>{t?.[n]&&f(e,n,t[n])}))};var p;!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"}(p||(p={}));const g=[{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}],m=e=>{if(void 0===e)return"unknown";if(e<.5)return"0s";const t=[];for(const{accessor:n,suffix:r}of g){const i=n(e);if((0!==t.length||i)&&(t.push(i+r),t.length>1))break}return t.join(" ")},v=e=>(t,n)=>e(n,t),b=e=>(t,n)=>t===n?0:null==t?1:null==n?-1:e(t,n),y=(e,t,n)=>b(((r,i)=>void 0!==n?t(r[e]??n,i[e]??n):e in r&&e in i?t(r[e],i[e]):0)),_=e=>(t,n)=>{for(const r of e){const e=r(t,n);if(0!==e)return e}return 0},w=()=>b(((e,t)=>e.localeCompare(t))),x=()=>b(((e,t)=>e-t)),k=()=>b(((e,t)=>r.indexOf(e)-r.indexOf(t))),C=()=>{const e=r.map((e=>y(e,v(x()),0)));return b(_(e))},S=["failed","broken","passed","skipped","unknown"],A=e=>e?S.indexOf(e):-1,E=e=>{if(0!==e.length)return e.sort(((e,t)=>A(e)-A(t)))[0]},T="default",M=e=>{if("string"!=typeof e)return{valid:!1,reason:"name must be a string"};const t=e.trim();return 0===t.length?{valid:!1,reason:"name must not be empty"}:t.length>64?{valid:!1,reason:"name must not exceed 64 characters"}:(e=>{for(let t=0;t<e.length;t++){const n=e.charCodeAt(t);if(n<=31||n>=127&&n<=159)return!0}return!1})(t)?{valid:!1,reason:"name must not contain control characters"}:(n=t).includes("/")||n.includes("\\")||"."===n||".."===n?{valid:!1,reason:"name must not contain path-like segments"}:{valid:!0,normalized:t};var n},L=e=>{if("string"!=typeof e)return{valid:!1,reason:"id must be a string"};const t=e.trim();return 0===t.length?{valid:!1,reason:"id must not be empty"}:t.length>64?{valid:!1,reason:"id must not exceed 64 characters"}:/^[A-Za-z0-9_-]+$/.test(t)?{valid:!0,normalized:t}:{valid:!1,reason:"id must contain only latin letters, digits, underscores, and hyphens"}},D=e=>{const{testResultsByEnv:t={}}=e??{},n=Object.keys(t).length;return n<=1&&T in t?0:n};n(3846);const N=e=>{if(e)return e.charAt(0).toLocaleUpperCase()+e.slice(1)},O=e=>e.replace(/\\/g,"/"),F=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(F.has(r))try{return new URL(t).toString()}catch{return}}},1848:function(e,t,n){"use strict";n.d(t,{Xn:function(){return x},S2:function(){return S},hF:function(){return $r},TX:function(){return a},Gn:function(){return Xt},sP:function(){return mi},uk:function(){return b},_v:function(){return Ur},iX:function(){return gi},q2:function(){return gt},x9:function(){return Ci},un:function(){return kr},iQ:function(){return f},Kc:function(){return i},J_:function(){return _},qX:function(){return s},WC:function(){return u},tj:function(){return l},Dl:function(){return Mi},Mf:function(){return yi},bp:function(){return dr},XH:function(){return Ni},e4:function(){return C},$3:function(){return ui},Zg:function(){return br},w0:function(){return yr},Dc:function(){return Kt},nj:function(){return c},ko:function(){return fi},mH:function(){return ur},eK:function(){return pi},SM:function(){return _r},mT:function(){return ci},gz:function(){return v},S_:function(){return w},YR:function(){return Di},VJ:function(){return xr},Yq:function(){return y},Eg:function(){return oi},AE:function(){return li},LD:function(){return di},QB:function(){return wr},pT:function(){return or},zY:function(){return Ri},cW:function(){return Ii},du:function(){return mr},nc:function(){return ri},ZX:function(){return ii}});var r=n(4684);const i=()=>new Promise((e=>{const t=()=>{if(globalThis.allureReportDataReady)return e(!0);setTimeout(t,30)};t()})),o=async(e,t="application/octet-stream",n)=>{if(globalThis.allureReportData){const[n]=e.split("?");return`data:${t};base64,${await(async e=>(await i(),new Promise(((t,n)=>{const i=globalThis.allureReportData??{};if(e in i)return t(i[e]);const o=(0,r.kb)(e);if(o in i)return t(i[o]);const a=o.replace(/\//g,"\\");return a in i?t(i[a]):n(new Error(`Data "${e}" not found!`))}))))(n)}`}const o=globalThis.document.head.querySelector("base")?.href??"https://localhost",a=new URL(e,o),s=globalThis.localStorage.getItem("__allure_report_live_reload_hash__"),l=c()?.cacheKey;return s&&a.searchParams.set("live_reload_hash",s),n?.bustCache&&l&&a.searchParams.set("v",l),a.toString()};class a extends Error{constructor(e,t){super(e),this.response=t}}const s=e=>e instanceof Error?e.message:String(e),l=async(e,t)=>{let n;try{n=await o(e,void 0,t)}catch{throw new a(`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 a(`Failed to fetch ${n}, response status: ${r.status}`,r);return r.json()},c=()=>globalThis.allureReportOptions,u=async({id:e,ext:t,contentType:n})=>(async(e,t)=>{const n=await o(e,t);return globalThis.fetch(n)})(`data/attachments/${`${e||"-"}${t||""}`}?attachment`,n),d=async(e,t,n)=>{const r=await u({id:e,ext:t,contentType:n});return await r.blob()},f=async(e,t,n)=>{if(!e&&!t)return;const r=`${e}${t}`,i=await d(e,t,n),o=URL.createObjectURL(i),a=document.createElement("a");a.href=o,a.download=r,a.click(),URL.revokeObjectURL(o)},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"]),p=new Set(["text/plain","text/*","text/uri-list"]),g=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"]),m=e=>{const t=e.lastIndexOf(".");if(!(t<=0||t===e.length-1))return e.slice(t)},v=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=(m(t)??t.replace(/^\./,"")).toLowerCase(),r=e.includes(".")?e.split(".").pop():e;if(r){n=r;break}}return(!t||!p.has(t))&&(!(!t||!g.has(t))||!!n&&h.has(n))},b=e=>{const t=e?.split(";")[0].trim().toLowerCase();switch(t){case"image/bmp":case"image/gif":case"image/tiff":case"image/jpeg":case"image/jpg":case"image/png":case"image/*":return"image";case"text/xml":case"text/json":case"text/yaml":case"text/javascript":case"text/typescript":case"text/ruby":case"text/python":case"text/php":case"text/java":case"text/csharp":case"text/cpp":case"text/c":case"text/go":case"text/rust":case"text/swift":case"text/kotlin":case"text/scala":case"text/perl":case"text/r":case"text/dart":case"text/lua":case"text/haskell":case"text/sql":case"text/x-yaml":case"text/css":case"application/yaml":case"application/x-yaml":case"application/xml":case"application/json":return"code";case"text/plain":case"text/*":return"text";case"text/markdown":return"markdown";case"text/html":return"html";case"text/csv":case"text/tab-separated-values":return"table";case"image/svg+xml":return"svg";case"video/mp4":case"video/ogg":case"video/webm":return"video";case"text/uri-list":return"uri";case"application/x-tar":case"application/x-gtar":case"application/x-bzip2":case"application/gzip":case"application/zip":return"archive";case"application/vnd.allure.image.diff":return"image-diff";case"application/vnd.allure.http+json":return"http";default:return null}},y=e=>{if(!Array.isArray(e))return[];const t=[];for(const n of e){if("string"==typeof n){t.push({id:n,name:n});continue}if(!n||"object"!=typeof n)continue;const e=n;if("string"!=typeof e.id)continue;const i=(0,r.zl)(e.id);if(!i.valid)continue;const o=e.name;if("string"==typeof o){const e=(0,r.B7)(o);if(e.valid){t.push({id:i.normalized,name:e.normalized});continue}}t.push({id:i.normalized,name:i.normalized})}return t},_=(e,t)=>e.find((({id:e})=>e===t))?.name??t,w=(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:""},x="en",k={"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}}},C=(e,t)=>k[e]?.[t],S={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 A=n(3191);function E(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function T(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function M(){}var L=.7,D=1/L,N="\\s*([+-]?\\d+)\\s*",O="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",F="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",R=/^#([0-9a-f]{3,8})$/,I=new RegExp(`^rgb\\(${N},${N},${N}\\)$`),z=new RegExp(`^rgb\\(${F},${F},${F}\\)$`),P=new RegExp(`^rgba\\(${N},${N},${N},${O}\\)$`),B=new RegExp(`^rgba\\(${F},${F},${F},${O}\\)$`),j=new RegExp(`^hsl\\(${O},${F},${F}\\)$`),Y=new RegExp(`^hsla\\(${O},${F},${F},${O}\\)$`),$={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 q(){return this.rgb().formatHex()}function H(){return this.rgb().formatRgb()}function U(e){var t,n;return e=(e+"").trim().toLowerCase(),(t=R.exec(e))?(n=t[1].length,t=parseInt(t[1],16),6===n?W(t):3===n?new K(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===n?V(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===n?V(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=I.exec(e))?new K(t[1],t[2],t[3],1):(t=z.exec(e))?new K(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=P.exec(e))?V(t[1],t[2],t[3],t[4]):(t=B.exec(e))?V(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=j.exec(e))?te(t[1],t[2]/100,t[3]/100,1):(t=Y.exec(e))?te(t[1],t[2]/100,t[3]/100,t[4]):$.hasOwnProperty(e)?W($[e]):"transparent"===e?new K(NaN,NaN,NaN,0):null}function W(e){return new K(e>>16&255,e>>8&255,255&e,1)}function V(e,t,n,r){return r<=0&&(e=t=n=NaN),new K(e,t,n,r)}function G(e,t,n,r){return 1===arguments.length?((i=e)instanceof M||(i=U(i)),i?new K((i=i.rgb()).r,i.g,i.b,i.opacity):new K):new K(e,t,n,null==r?1:r);var i}function K(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function Z(){return`#${ee(this.r)}${ee(this.g)}${ee(this.b)}`}function X(){const e=J(this.opacity);return`${1===e?"rgb(":"rgba("}${Q(this.r)}, ${Q(this.g)}, ${Q(this.b)}${1===e?")":`, ${e})`}`}function J(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function Q(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function ee(e){return((e=Q(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 re(e,t,n,r)}function ne(e){if(e instanceof re)return new re(e.h,e.s,e.l,e.opacity);if(e instanceof M||(e=U(e)),!e)return new re;if(e instanceof re)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 re(a,s,l,e.opacity)}function re(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function ie(e){return(e=(e||0)%360)<0?e+360:e}function oe(e){return Math.max(0,Math.min(1,e||0))}function ae(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 se(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}E(M,U,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:q,formatHex:q,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return ne(this).formatHsl()},formatRgb:H,toString:H}),E(K,G,T(M,{brighter(e){return e=null==e?D:Math.pow(D,e),new K(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=null==e?L:Math.pow(L,e),new K(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new K(Q(this.r),Q(this.g),Q(this.b),J(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:Z,formatHex:Z,formatHex8:function(){return`#${ee(this.r)}${ee(this.g)}${ee(this.b)}${ee(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:X,toString:X})),E(re,(function(e,t,n,r){return 1===arguments.length?ne(e):new re(e,t,n,null==r?1:r)}),T(M,{brighter(e){return e=null==e?D:Math.pow(D,e),new re(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=null==e?L:Math.pow(L,e),new re(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 K(ae(e>=240?e-240:e+120,i,r),ae(e,i,r),ae(e<120?e+240:e-120,i,r),this.opacity)},clamp(){return new re(ie(this.h),oe(this.s),oe(this.l),J(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=J(this.opacity);return`${1===e?"hsl(":"hsla("}${ie(this.h)}, ${100*oe(this.s)}%, ${100*oe(this.l)}%${1===e?")":`, ${e})`}`}}));var le=e=>()=>e;function ce(e,t){return function(n){return e+n*t}}function ue(e){return 1==(e=+e)?de: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):le(isNaN(t)?n:t)}}function de(e,t){var n=t-e;return n?ce(e,n):le(isNaN(e)?t:e)}var fe=function e(t){var n=ue(t);function r(e,t){var r=n((e=G(e)).r,(t=G(t)).r),i=n(e.g,t.g),o=n(e.b,t.b),a=de(e.opacity,t.opacity);return function(t){return e.r=r(t),e.g=i(t),e.b=o(t),e.opacity=a(t),e+""}}return r.gamma=e,r}(1);function he(e){return function(t){var n,r,i=t.length,o=new Array(i),a=new Array(i),s=new Array(i);for(n=0;n<i;++n)r=G(t[n]),o[n]=r.r||0,a[n]=r.g||0,s[n]=r.b||0;return o=e(o),a=e(a),s=e(s),r.opacity=1,function(e){return r.r=o(e),r.g=a(e),r.b=s(e),r+""}}}he((function(e){var t=e.length-1;return function(n){var r=n<=0?n=0:n>=1?(n=1,t-1):Math.floor(n*t),i=e[r],o=e[r+1],a=r>0?e[r-1]:2*i-o,s=r<t-1?e[r+2]:2*o-i;return se((n-r/t)*t,a,i,o,s)}})),he((function(e){var t=e.length;return function(n){var r=Math.floor(((n%=1)<0?++n:n)*t),i=e[(r+t-1)%t],o=e[r%t],a=e[(r+1)%t],s=e[(r+2)%t];return se((n-r/t)*t,i,o,a,s)}}));const pe=Math.sqrt(50),ge=Math.sqrt(10),me=Math.sqrt(2);function ve(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>=pe?10:o>=ge?5:o>=me?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?ve(e,t,2*n):[s,l,c]}function be(e,t,n){return ve(e=+e,t=+t,n=+n)[2]}function ye(e,t){return null==e||null==t?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function _e(e,t){return null==e||null==t?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function we(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=ye,n=(t,n)=>ye(e(t),n),r=(t,n)=>e(t)-n):(t=e===ye||e===_e?e:xe,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 xe(){return 0}const ke=we(ye),Ce=ke.right;ke.left,we((function(e){return null===e?NaN:+e})).center;var Se=Ce;function Ae(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]=Fe(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 Ee(e,t){var n=new Date;return e=+e,t=+t,function(r){return n.setTime(e*(1-r)+t*r),n}}function Te(e,t){return e=+e,t=+t,function(n){return e*(1-n)+t*n}}function Me(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]=Fe(e[n],t[n]):i[n]=t[n];return function(e){for(n in r)i[n]=r[n](e);return i}}var Le=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,De=new RegExp(Le.source,"g");function Ne(e,t){var n,r,i,o=Le.lastIndex=De.lastIndex=0,a=-1,s=[],l=[];for(e+="",t+="";(n=Le.exec(e))&&(r=De.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:Te(n,r)})),o=De.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 Oe(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 Fe(e,t){var n,r,i=typeof t;return null==t||"boolean"===i?le(t):("number"===i?Te:"string"===i?(n=U(t))?(t=n,fe):Ne:t instanceof U?fe:t instanceof Date?Ee:(r=t,!ArrayBuffer.isView(r)||r instanceof DataView?Array.isArray(t)?Ae:"function"!=typeof t.valueOf&&"function"!=typeof t.toString||isNaN(t)?Me:Te:Oe))(e,t)}function Re(e,t){return e=+e,t=+t,function(n){return Math.round(e*(1-n)+t*n)}}function Ie(e){return+e}var ze=[0,1];function Pe(e){return e}function Be(e,t){return(t-=e=+e)?function(n){return(n-e)/t}:(n=isNaN(t)?NaN:.5,function(){return n});var n}function je(e,t,n){var r=e[0],i=e[1],o=t[0],a=t[1];return i<r?(r=Be(i,r),o=n(a,o)):(r=Be(r,i),o=n(o,a)),function(e){return o(r(e))}}function Ye(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]=Be(e[a],e[a+1]),o[a]=n(t[a],t[a+1]);return function(t){var n=Se(e,t,1,r)-1;return o[n](i[n](t))}}function $e(){var e,t,n,r,i,o,a=ze,s=ze,l=Fe,c=Pe;function u(){var e,t,n,l=Math.min(a.length,s.length);return c!==Pe&&(e=a[0],t=a[l-1],e>t&&(n=e,e=t,t=n),c=function(n){return Math.max(e,Math.min(t,n))}),r=l>2?Ye:je,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),Te)))(n)))},d.domain=function(e){return arguments.length?(a=Array.from(e,Ie),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=Re,u()},d.clamp=function(e){return arguments.length?(c=!!e||Pe,u()):c!==Pe},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 qe(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e)}return this}var He,Ue=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function We(e){if(!(t=Ue.exec(e)))throw new Error("invalid format: "+e);var t;return new Ve({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 Ve(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 Ge(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 Ke(e){return(e=Ge(Math.abs(e)))?e[1]:NaN}function Ze(e,t){var n=Ge(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")}We.prototype=Ve.prototype,Ve.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 Xe={"%":(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)=>Ze(100*e,t),r:Ze,s:function(e,t){var n=Ge(e,t);if(!n)return e+"";var r=n[0],i=n[1],o=i-(He=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")+Ge(e,Math.max(0,t+o-1))[0]},X:e=>Math.round(e).toString(16).toUpperCase(),x:e=>Math.round(e).toString(16)};function Je(e){return e}var Qe,et,tt,nt=Array.prototype.map,rt=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function it(e){var t,n,r=void 0===e.grouping||void 0===e.thousands?Je:(t=nt.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?Je:function(e){return function(t){return t.replace(/[0-9]/g,(function(t){return e[+t]}))}}(nt.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=We(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"):Xe[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=Xe[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?rt[8+He/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,A=S<p?new Array(p-S+1).join(t):"";switch(g&&h&&(e=r(A+e,A.length?p-k.length:1/0),A=""),n){case"<":e=f+e+k+A;break;case"=":e=f+A+e+k;break;case"^":e=A.slice(0,S=A.length>>1)+f+e+k+A.slice(S);break;default:e=A+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=We(e)).type="f",e)),r=3*Math.max(-8,Math.min(8,Math.floor(Ke(t)/3))),i=Math.pow(10,-r),o=rt[8+r/3];return function(e){return n(i*e)+o}}}}function ot(e,t,n,r){var i,o=function(e,t,n){n=+n;const r=(t=+t)<(e=+e),i=r?be(t,e,n):be(e,t,n);return(r?-1:1)*(i<0?1/-i:i)}(e,t,n);switch((r=We(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(Ke(t)/3)))-Ke(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,Ke(t)-Ke(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,-Ke(Math.abs(e)))}(o))||(r.precision=i-2*("%"===r.type))}return et(r)}function at(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?ve(t,e,n):ve(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 ot(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=be(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 st(){var e=$e()(Pe,Pe);return e.copy=function(){return t=e,st().domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp()).unknown(t.unknown());var t},qe.apply(e,arguments),at(e)}Qe=it({thousands:",",grouping:[3],currency:["$",""]}),et=Qe.format,tt=Qe.formatPrefix;const lt="var(--color-status-failed-chart-fill)",ct="var(--color-status-passed-chart-fill)",ut=(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 dt=(e,t,n,r,i)=>{const o=e();if(o)return{...o,colors:t,formatLegend:n,legendDomain:r,tooltipRows:i}},ft=(e,t,n)=>t.type===A.NB.SuccessRateDistribution?((e,t)=>{const n=[0,1];return dt((()=>t[e]),((e,t=n)=>st().domain(t).range([ut(lt),ut(ct)]).interpolate(fe).clamp(!0)(e)),(e=>1===e?"passed":"failed"),n,(e=>[`passed: ${e.data.passedTests}`,`failed: ${e.data.failedTests}`,`other: ${e.data.otherTests}`]))})(e,n):t.type===A.NB.CoverageDiff?((e,t)=>{const n=[0,.5,1];return dt((()=>t[e]),((e,t=n)=>st().domain(t).range([ut(lt),ut("var(--color-dashboard-neutral)"),ut(ct)]).interpolate(fe).clamp(!0)(e)),(e=>1===e?"new":"removed"),n,(e=>{const t=e.data.newCount+e.data.enabledCount,n=e.data.deletedCount+e.data.disabledCount;return[`new: ${t}`,`deleted: ${n}`,"unchanged: "+(e.value-t-n)]}))})(e,n):void 0,ht=(e,t)=>((e,t)=>{const n=[0,1];return((e,t)=>{const n=e();if(n)return{...n,colors:t}})((()=>t[e]),((e,t=n)=>st().domain(t).range([ut(ct),ut(lt)]).interpolate(fe).clamp(!0)(e)))})(e,t),pt=e=>Object.entries(e).reduce(((t,[n,r])=>{if(r.type===A.NB.CurrentStatus)t[n]=e[n];else if(r.type===A.NB.StatusDynamics)t[n]=e[n];else if(r.type===A.NB.StatusTransitions)t[n]=e[n];else if(r.type===A.NB.Durations)t[n]=e[n];else if(r.type===A.NB.StabilityDistribution)t[n]=e[n];else if(r.type===A.NB.TestBaseGrowthDynamics)t[n]=e[n];else if(r.type===A.NB.StatusAgePyramid)t[n]=e[n];else if(r.type===A.NB.TrSeverities)t[n]=e[n];else if(r.type===A.NB.DurationDynamics)t[n]=e[n];else if(r.type===A.NB.CoverageDiff||r.type===A.NB.SuccessRateDistribution){const i=ft(n,r,e);i&&(t[n]=i)}else if(r.type===A.NB.ProblemsDistribution){const r=ht(n,e);r&&(t[n]=r)}else r.type===A.NB.TestingPyramid&&(t[n]=e[n]);return t}),{}),gt=e=>{if(!("general"in e)&&!("byEnv"in e))return{general:pt(e),byEnv:{}};const t={general:pt(e.general),byEnv:{}};for(const[n,r]of Object.entries(e.byEnv))t.byEnv[n]=pt(r);return t};var mt;!function(e){e.TestResults="test-results.json",e.TestCases="test-cases.json",e.Fixtures="fixtures.json",e.GlobalErrors="global-errors.json",e.GlobalAttachments="global-attachments.json",e.Attachments="attachments.json",e.CheckResults="check-results.json",e.Environments="environments.json",e.ReportVariables="report-variables.json",e.IndexAttachmentsByTestResults="index-attachments-by-test-results.json",e.IndexTestResultsByHistoryId="index-test-results-by-history-id.json",e.IndexTestResultsByTestCase="index-test-results-by-test-case.json",e.IndexAttachmentsByFixture="index-attachments-by-fixture.json",e.IndexFixturesByTestResult="index-fixtures-by-test-result.json",e.IndexKnownByHistoryId="index-known-by-history-id.json",e.QualityGateResults="quality-gate-results.json",e.TestResultIngestOrder="test-result-ingest-order.json"}(mt||(mt={}));n(3846);function vt(e){return function(){return e}}const bt=Math.abs,yt=Math.atan2,_t=Math.cos,wt=Math.max,xt=Math.min,kt=Math.sin,Ct=Math.sqrt,St=1e-12,At=Math.PI,Et=At/2,Tt=2*At;function Mt(e){return e>=1?Et:e<=-1?-Et:Math.asin(e)}const Lt=Math.PI,Dt=2*Lt,Nt=1e-6,Ot=Dt-Nt;function Ft(e){this._+=e[0];for(let t=1,n=e.length;t<n;++t)this._+=arguments[t]+e[t]}class Rt{constructor(e){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=null==e?Ft:function(e){let t=Math.floor(e);if(!(t>=0))throw new Error(`invalid digits: ${e}`);if(t>15)return Ft;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>Nt)if(Math.abs(u*s-l*c)>Nt&&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((Lt-Math.acos((p+d-g)/(2*m*v)))/2),y=b/v,_=b/m;Math.abs(y-1)>Nt&&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)>Nt||Math.abs(this._y1-c)>Nt)&&this._append`L${l},${c}`,n&&(d<0&&(d=d%Dt+Dt),d>Ot?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>Nt&&this._append`A${n},${n},0,${+(d>=Lt)},${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 It(e){return e.innerRadius}function zt(e){return e.outerRadius}function Pt(e){return e.startAngle}function Bt(e){return e.endAngle}function jt(e){return e&&e.padAngle}function Yt(e,t,n,r,i,o,a){var s=e-n,l=t-r,c=(a?o:-o)/Ct(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)*Ct(wt(0,w*w*_-x*x)),C=(x*y-b*k)/_,S=(-x*b-y*k)/_,A=(x*y+b*k)/_,E=(-x*b+y*k)/_,T=C-m,M=S-v,L=A-m,D=E-v;return T*T+M*M>L*L+D*D&&(C=A,S=E),{cx:C,cy:S,x01:-u,y01:-d,x11:C*(i/w-1),y11:S*(i/w-1)}}function $t(){var e=It,t=zt,n=vt(0),r=null,i=Pt,o=Bt,a=jt,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 Rt(t)}(c);function c(){var c,u,d,f=+e.apply(this,arguments),h=+t.apply(this,arguments),p=i.apply(this,arguments)-Et,g=o.apply(this,arguments)-Et,m=bt(g-p),v=g>p;if(s||(s=c=l()),h<f&&(u=h,h=f,f=u),h>St)if(m>Tt-St)s.moveTo(h*_t(p),h*kt(p)),s.arc(0,0,h,p,g,!v),f>St&&(s.moveTo(f*_t(g),f*kt(g)),s.arc(0,0,f,g,p,v));else{var b,y,_=p,w=g,x=p,k=g,C=m,S=m,A=a.apply(this,arguments)/2,E=A>St&&(r?+r.apply(this,arguments):Ct(f*f+h*h)),T=xt(bt(h-f)/2,+n.apply(this,arguments)),M=T,L=T;if(E>St){var D=Mt(E/f*kt(A)),N=Mt(E/h*kt(A));(C-=2*D)>St?(x+=D*=v?1:-1,k-=D):(C=0,x=k=(p+g)/2),(S-=2*N)>St?(_+=N*=v?1:-1,w-=N):(S=0,_=w=(p+g)/2)}var O=h*_t(_),F=h*kt(_),R=f*_t(k),I=f*kt(k);if(T>St){var z,P=h*_t(w),B=h*kt(w),j=f*_t(x),Y=f*kt(x);if(m<At)if(z=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<St))return[e+(f=(u*(t-o)-d*(e-i))/f)*l,t+f*c]}(O,F,j,Y,P,B,R,I)){var $=O-z[0],q=F-z[1],H=P-z[0],U=B-z[1],W=1/kt(((d=($*H+q*U)/(Ct($*$+q*q)*Ct(H*H+U*U)))>1?0:d<-1?At:Math.acos(d))/2),V=Ct(z[0]*z[0]+z[1]*z[1]);M=xt(T,(f-V)/(W-1)),L=xt(T,(h-V)/(W+1))}else M=L=0}S>St?L>St?(b=Yt(j,Y,O,F,h,L,v),y=Yt(P,B,R,I,h,L,v),s.moveTo(b.cx+b.x01,b.cy+b.y01),L<T?s.arc(b.cx,b.cy,L,yt(b.y01,b.x01),yt(y.y01,y.x01),!v):(s.arc(b.cx,b.cy,L,yt(b.y01,b.x01),yt(b.y11,b.x11),!v),s.arc(0,0,h,yt(b.cy+b.y11,b.cx+b.x11),yt(y.cy+y.y11,y.cx+y.x11),!v),s.arc(y.cx,y.cy,L,yt(y.y11,y.x11),yt(y.y01,y.x01),!v))):(s.moveTo(O,F),s.arc(0,0,h,_,w,!v)):s.moveTo(O,F),f>St&&C>St?M>St?(b=Yt(R,I,P,B,f,-M,v),y=Yt(O,F,j,Y,f,-M,v),s.lineTo(b.cx+b.x01,b.cy+b.y01),M<T?s.arc(b.cx,b.cy,M,yt(b.y01,b.x01),yt(y.y01,y.x01),!v):(s.arc(b.cx,b.cy,M,yt(b.y01,b.x01),yt(b.y11,b.x11),!v),s.arc(0,0,f,yt(b.cy+b.y11,b.cx+b.x11),yt(y.cy+y.y11,y.cx+y.x11),v),s.arc(y.cx,y.cy,M,yt(y.y11,y.x11),yt(y.y01,y.x01),!v))):s.arc(0,0,f,k,x,v):s.lineTo(R,I)}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-At/2;return[_t(r)*n,kt(r)*n]},c.innerRadius=function(t){return arguments.length?(e="function"==typeof t?t:vt(+t),c):e},c.outerRadius=function(e){return arguments.length?(t="function"==typeof e?e:vt(+e),c):t},c.cornerRadius=function(e){return arguments.length?(n="function"==typeof e?e:vt(+e),c):n},c.padRadius=function(e){return arguments.length?(r=null==e?null:"function"==typeof e?e:vt(+e),c):r},c.startAngle=function(e){return arguments.length?(i="function"==typeof e?e:vt(+e),c):i},c.endAngle=function(e){return arguments.length?(o="function"==typeof e?e:vt(+e),c):o},c.padAngle=function(e){return arguments.length?(a="function"==typeof e?e:vt(+e),c):a},c.context=function(e){return arguments.length?(s=null==e?null:e,c):s},c}Array.prototype.slice;function qt(e,t){return t<e?-1:t>e?1:t>=e?0:NaN}function Ht(e){return e}const Ut=()=>$t().innerRadius(40).outerRadius(50).cornerRadius(2).padAngle(.03),Wt=function(){var e=Ht,t=qt,n=null,r=vt(0),i=vt(Tt),o=vt(0);function a(a){var s,l,c,u,d,f,h=(f=a,a="object"==typeof f&&"length"in f?f:Array.from(f)).length,p=0,g=new Array(h),m=new Array(h),v=+r.apply(this,arguments),b=Math.min(Tt,Math.max(-Tt,i.apply(this,arguments)-v)),y=Math.min(Math.abs(b)/h,o.apply(this,arguments)),_=y*(b<0?-1:1);for(s=0;s<h;++s)(d=m[g[s]=s]=+e(a[s],s,a))>0&&(p+=d);for(null!=t?g.sort((function(e,n){return t(m[e],m[n])})):null!=n&&g.sort((function(e,t){return n(a[e],a[t])})),s=0,c=p?(b-h*_)/p:0;s<h;++s,v=u)l=g[s],u=v+((d=m[l])>0?d*c:0)+_,m[l]={data:a[l],index:s,value:d,startAngle:v,endAngle:u,padAngle:y};return m}return a.value=function(t){return arguments.length?(e="function"==typeof t?t:vt(+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:vt(+e),a):r},a.endAngle=function(e){return arguments.length?(i="function"==typeof e?e:vt(+e),a):i},a.padAngle=function(e){return arguments.length?(o="function"==typeof e?e:vt(+e),a):o},a}().value((e=>e.count)).padAngle(.03).sortValues(((e,t)=>e-t)),Vt=Ut(),Gt=Ut().padAngle(0).cornerRadius(0),Kt=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:Gt(t),...e}],percentage:0}}const t=r.bA.filter((t=>!!e?.[t])).map((t=>({status:t,count:e[t]}))),n=Wt(t).map((e=>{const t=Vt(e);return t?{d:t,...e.data}:null})).filter((e=>null!==e)),i=((e,t)=>Math.floor(e/t*1e4)/100)(e.passed??0,e.total);return{slices:n,percentage:i}};new Set(["passed","failed","broken"]);r.bA;r.pc;var Zt=n(7985);const Xt=(e,t)=>new Zt({escapeXML:!0,...t}).toHtml(e),{entries:Jt,setPrototypeOf:Qt,isFrozen:en,getPrototypeOf:tn,getOwnPropertyDescriptor:nn}=Object;let{freeze:rn,seal:on,create:an}=Object,{apply:sn,construct:ln}="undefined"!=typeof Reflect&&Reflect;rn||(rn=function(e){return e}),on||(on=function(e){return e}),sn||(sn=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)}),ln||(ln=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 cn=Cn(Array.prototype.forEach),un=Cn(Array.prototype.lastIndexOf),dn=Cn(Array.prototype.pop),fn=Cn(Array.prototype.push),hn=Cn(Array.prototype.splice),pn=Cn(String.prototype.toLowerCase),gn=Cn(String.prototype.toString),mn=Cn(String.prototype.match),vn=Cn(String.prototype.replace),bn=Cn(String.prototype.indexOf),yn=Cn(String.prototype.trim),_n=Cn(Object.prototype.hasOwnProperty),wn=Cn(RegExp.prototype.test),xn=(kn=TypeError,function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return ln(kn,t)});var kn;function Cn(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 sn(e,t,r)}}function Sn(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:pn;Qt&&Qt(e,null);let r=t.length;for(;r--;){let i=t[r];if("string"==typeof i){const e=n(i);e!==i&&(en(t)||(t[r]=e),i=e)}e[i]=!0}return e}function An(e){for(let t=0;t<e.length;t++){_n(e,t)||(e[t]=null)}return e}function En(e){const t=an(null);for(const[n,r]of Jt(e)){_n(e,n)&&(Array.isArray(r)?t[n]=An(r):r&&"object"==typeof r&&r.constructor===Object?t[n]=En(r):t[n]=r)}return t}function Tn(e,t){for(;null!==e;){const n=nn(e,t);if(n){if(n.get)return Cn(n.get);if("function"==typeof n.value)return Cn(n.value)}e=tn(e)}return function(){return null}}const Mn=rn(["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"]),Ln=rn(["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"]),Dn=rn(["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"]),Nn=rn(["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"]),On=rn(["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"]),Fn=rn(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),Rn=rn(["#text"]),In=rn(["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"]),zn=rn(["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"]),Pn=rn(["accent","accentunder","align","bevelled","close","columnalign","columnlines","columnspacing","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lquote","lspace","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),Bn=rn(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),jn=on(/\{\{[\w\W]*|[\w\W]*\}\}/gm),Yn=on(/<%[\w\W]*|[\w\W]*%>/gm),$n=on(/\$\{[\w\W]*/gm),qn=on(/^data-[\-\w.\u00B7-\uFFFF]+$/),Hn=on(/^aria-[\-\w]+$/),Un=on(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Wn=on(/^(?:\w+script|data):/i),Vn=on(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Gn=on(/^html$/i),Kn=on(/^[a-z][.\w]*(-[.\w]+)+$/i);var Zn=Object.freeze({__proto__:null,ARIA_ATTR:Hn,ATTR_WHITESPACE:Vn,CUSTOM_ELEMENT:Kn,DATA_ATTR:qn,DOCTYPE_NAME:Gn,ERB_EXPR:Yn,IS_ALLOWED_URI:Un,IS_SCRIPT_OR_DATA:Wn,MUSTACHE_EXPR:jn,TMPLIT_EXPR:$n});const Xn=1,Jn=3,Qn=7,er=8,tr=9,nr=function(){return"undefined"==typeof window?null:window};var rr=function e(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:nr();const n=t=>e(t);if(n.version="3.4.0",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=Tn(g,"cloneNode"),v=Tn(g,"remove"),b=Tn(g,"nextSibling"),y=Tn(g,"childNodes"),_=Tn(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:A}=r,{importNode:E}=i;let T={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]};n.isSupported="function"==typeof Jt&&"function"==typeof _&&k&&void 0!==k.createHTMLDocument;const{MUSTACHE_EXPR:M,ERB_EXPR:L,TMPLIT_EXPR:D,DATA_ATTR:N,ARIA_ATTR:O,IS_SCRIPT_OR_DATA:F,ATTR_WHITESPACE:R,CUSTOM_ELEMENT:I}=Zn;let{IS_ALLOWED_URI:z}=Zn,P=null;const B=Sn({},[...Mn,...Ln,...Dn,...On,...Rn]);let j=null;const Y=Sn({},[...In,...zn,...Pn,...Bn]);let $=Object.seal(an(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),q=null,H=null;const U=Object.seal(an(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let W=!0,V=!0,G=!1,K=!0,Z=!1,X=!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=Sn({},["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=Sn({},["audio","video","img","source","image","track"]);let he=null;const pe=Sn({},["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=Sn({},[ge,me,ve],gn);let xe=Sn({},["mi","mo","mn","ms","mtext"]),ke=Sn({},["annotation-xml"]);const Ce=Sn({},["title","style","font","a","script"]);let Se=null;const Ae=["application/xhtml+xml","text/html"];let Ee=null,Te=null;const Me=r.createElement("form"),Le=function(e){return e instanceof RegExp||e instanceof Function},De=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!Te||Te!==e){if(e&&"object"==typeof e||(e={}),e=En(e),Se=-1===Ae.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE,Ee="application/xhtml+xml"===Se?gn:pn,P=_n(e,"ALLOWED_TAGS")?Sn({},e.ALLOWED_TAGS,Ee):B,j=_n(e,"ALLOWED_ATTR")?Sn({},e.ALLOWED_ATTR,Ee):Y,_e=_n(e,"ALLOWED_NAMESPACES")?Sn({},e.ALLOWED_NAMESPACES,gn):we,he=_n(e,"ADD_URI_SAFE_ATTR")?Sn(En(pe),e.ADD_URI_SAFE_ATTR,Ee):pe,de=_n(e,"ADD_DATA_URI_TAGS")?Sn(En(fe),e.ADD_DATA_URI_TAGS,Ee):fe,ce=_n(e,"FORBID_CONTENTS")?Sn({},e.FORBID_CONTENTS,Ee):ue,q=_n(e,"FORBID_TAGS")?Sn({},e.FORBID_TAGS,Ee):En({}),H=_n(e,"FORBID_ATTR")?Sn({},e.FORBID_ATTR,Ee):En({}),le=!!_n(e,"USE_PROFILES")&&e.USE_PROFILES,W=!1!==e.ALLOW_ARIA_ATTR,V=!1!==e.ALLOW_DATA_ATTR,G=e.ALLOW_UNKNOWN_PROTOCOLS||!1,K=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,Z=e.SAFE_FOR_TEMPLATES||!1,X=!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||Un,be=e.NAMESPACE||ve,xe=e.MATHML_TEXT_INTEGRATION_POINTS||xe,ke=e.HTML_INTEGRATION_POINTS||ke,$=e.CUSTOM_ELEMENT_HANDLING||an(null),e.CUSTOM_ELEMENT_HANDLING&&Le(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&($.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&Le(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&&(V=!1),ne&&(te=!0),le&&(P=Sn({},Rn),j=an(null),!0===le.html&&(Sn(P,Mn),Sn(j,In)),!0===le.svg&&(Sn(P,Ln),Sn(j,zn),Sn(j,Bn)),!0===le.svgFilters&&(Sn(P,Dn),Sn(j,zn),Sn(j,Bn)),!0===le.mathMl&&(Sn(P,On),Sn(j,Pn),Sn(j,Bn))),U.tagCheck=null,U.attributeCheck=null,e.ADD_TAGS&&("function"==typeof e.ADD_TAGS?U.tagCheck=e.ADD_TAGS:(P===B&&(P=En(P)),Sn(P,e.ADD_TAGS,Ee))),e.ADD_ATTR&&("function"==typeof e.ADD_ATTR?U.attributeCheck=e.ADD_ATTR:(j===Y&&(j=En(j)),Sn(j,e.ADD_ATTR,Ee))),e.ADD_URI_SAFE_ATTR&&Sn(he,e.ADD_URI_SAFE_ATTR,Ee),e.FORBID_CONTENTS&&(ce===ue&&(ce=En(ce)),Sn(ce,e.FORBID_CONTENTS,Ee)),e.ADD_FORBID_CONTENTS&&(ce===ue&&(ce=En(ce)),Sn(ce,e.ADD_FORBID_CONTENTS,Ee)),ae&&(P["#text"]=!0),J&&Sn(P,["html","head","body"]),P.table&&(Sn(P,["tbody"]),delete q.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw xn('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw xn('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(""));rn&&rn(e),Te=e}},Ne=Sn({},[...Ln,...Dn,...Nn]),Oe=Sn({},[...On,...Fn]),Fe=function(e){fn(n.removed,{element:e});try{_(e).removeChild(e)}catch(t){v(e)}},Re=function(e,t){try{fn(n.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){fn(n.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e)if(te||ne)try{Fe(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=mn(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?A.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)},Pe=function(e){return e instanceof f&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof d)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes)},Be=function(e){return"function"==typeof l&&e instanceof l};function je(e,t,r){cn(e,(e=>{e.call(n,t,r,Te)}))}const Ye=function(e){let t=null;if(je(T.beforeSanitizeElements,e,null),Pe(e))return Fe(e),!0;const r=Ee(e.nodeName);if(je(T.uponSanitizeElement,e,{tagName:r,allowedTags:P}),X&&e.hasChildNodes()&&!Be(e.firstElementChild)&&wn(/<[/\w!]/g,e.innerHTML)&&wn(/<[/\w!]/g,e.textContent))return Fe(e),!0;if(X&&e.namespaceURI===ve&&"style"===r&&Be(e.firstElementChild))return Fe(e),!0;if(e.nodeType===Qn)return Fe(e),!0;if(X&&e.nodeType===er&&wn(/<[/\w]/g,e.data))return Fe(e),!0;if(q[r]||!(U.tagCheck instanceof Function&&U.tagCheck(r))&&!P[r]){if(!q[r]&&qe(r)){if($.tagNameCheck instanceof RegExp&&wn($.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 Fe(e),!0}return e instanceof c&&!function(e){let t=_(e);t&&t.tagName||(t={namespaceURI:be,tagName:"template"});const n=pn(e.tagName),r=pn(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(Ne[n]):e.namespaceURI===ge?t.namespaceURI===ve?"math"===n:t.namespaceURI===me?"math"===n&&ke[r]:Boolean(Oe[n]):e.namespaceURI===ve?!(t.namespaceURI===me&&!ke[r])&&!(t.namespaceURI===ge&&!xe[r])&&!Oe[n]&&(Ce[n]||!Ne[n]):!("application/xhtml+xml"!==Se||!_e[e.namespaceURI]))}(e)?(Fe(e),!0):"noscript"!==r&&"noembed"!==r&&"noframes"!==r||!wn(/<\/no(script|embed|frames)/i,e.innerHTML)?(Z&&e.nodeType===Jn&&(t=e.textContent,cn([M,L,D],(e=>{t=vn(t,e," ")})),e.textContent!==t&&(fn(n.removed,{element:e.cloneNode()}),e.textContent=t)),je(T.afterSanitizeElements,e,null),!1):(Fe(e),!0)},$e=function(e,t,n){if(H[t])return!1;if(ie&&("id"===t||"name"===t)&&(n in r||n in Me))return!1;if(V&&!H[t]&&wn(N,t));else if(W&&wn(O,t));else if(U.attributeCheck instanceof Function&&U.attributeCheck(t,e));else if(!j[t]||H[t]){if(!(qe(e)&&($.tagNameCheck instanceof RegExp&&wn($.tagNameCheck,e)||$.tagNameCheck instanceof Function&&$.tagNameCheck(e))&&($.attributeNameCheck instanceof RegExp&&wn($.attributeNameCheck,t)||$.attributeNameCheck instanceof Function&&$.attributeNameCheck(t,e))||"is"===t&&$.allowCustomizedBuiltInElements&&($.tagNameCheck instanceof RegExp&&wn($.tagNameCheck,n)||$.tagNameCheck instanceof Function&&$.tagNameCheck(n))))return!1}else if(he[t]);else if(wn(z,vn(n,R,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==bn(n,"data:")||!de[e]){if(G&&!wn(F,vn(n,R,"")));else if(n)return!1}else;return!0},qe=function(e){return"annotation-xml"!==e&&mn(e,I)},He=function(e){je(T.beforeSanitizeAttributes,e,null);const{attributes:t}=e;if(!t||Pe(e))return;const r={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:j,forceKeepAttr:void 0};let i=t.length;for(;i--;){const o=t[i],{name:a,namespaceURI:s,value:l}=o,c=Ee(a),u=l;let d="value"===a?u:yn(u);if(r.attrName=c,r.attrValue=d,r.keepAttr=!0,r.forceKeepAttr=void 0,je(T.uponSanitizeAttribute,e,r),d=r.attrValue,!oe||"id"!==c&&"name"!==c||(Re(a,e),d="user-content-"+d),X&&wn(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,d)){Re(a,e);continue}if("attributename"===c&&mn(d,"href")){Re(a,e);continue}if(r.forceKeepAttr)continue;if(!r.keepAttr){Re(a,e);continue}if(!K&&wn(/\/>/i,d)){Re(a,e);continue}Z&&cn([M,L,D],(e=>{d=vn(d,e," ")}));const f=Ee(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),Pe(e)?Fe(e):dn(n.removed)}catch(t){Re(a,e)}}else Re(a,e)}je(T.afterSanitizeAttributes,e,null)},Ue=function(e){let t=null;const n=ze(e);for(je(T.beforeSanitizeShadowDOM,e,null);t=n.nextNode();)je(T.uponSanitizeShadowNode,t,null),Ye(t),He(t),t.content instanceof a&&Ue(t.content);je(T.afterSanitizeShadowDOM,e,null)};return n.sanitize=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=null,o=null,s=null,c=null;if(ye=!e,ye&&(e="\x3c!--\x3e"),"string"!=typeof e&&!Be(e)){if("function"!=typeof e.toString)throw xn("toString is not a function");if("string"!=typeof(e=e.toString()))throw xn("dirty is not a string, aborting")}if(!n.isSupported)return e;if(Q||De(t),n.removed=[],"string"==typeof e&&(se=!1),se){if(e.nodeName){const t=Ee(e.nodeName);if(!P[t]||q[t])throw xn("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===Xn&&"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&&Fe(r.firstChild);const u=ze(se?e:r);for(;s=u.nextNode();)Ye(s),He(s),s.content instanceof a&&Ue(s.content);if(se)return e;if(te){if(Z){r.normalize();let e=r.innerHTML;cn([M,L,D],(t=>{e=vn(e,t," ")})),r.innerHTML=e}if(ne)for(c=S.call(r.ownerDocument);r.firstChild;)c.appendChild(r.firstChild);else c=r;return(j.shadowroot||j.shadowrootmode)&&(c=E.call(i,c,!0)),c}let d=J?r.outerHTML:r.innerHTML;return J&&P["!doctype"]&&r.ownerDocument&&r.ownerDocument.doctype&&r.ownerDocument.doctype.name&&wn(Gn,r.ownerDocument.doctype.name)&&(d="<!DOCTYPE "+r.ownerDocument.doctype.name+">\n"+d),Z&&cn([M,L,D],(e=>{d=vn(d,e," ")})),w&&re?w.createHTML(d):d},n.setConfig=function(){De(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),Q=!0},n.clearConfig=function(){Te=null,Q=!1},n.isValidAttribute=function(e,t,n){Te||De({});const r=Ee(e),i=Ee(t);return $e(r,i,n)},n.addHook=function(e,t){"function"==typeof t&&fn(T[e],t)},n.removeHook=function(e,t){if(void 0!==t){const n=un(T[e],t);return-1===n?void 0:hn(T[e],n,1)[0]}return dn(T[e])},n.removeHooks=function(e){T[e]=[]},n.removeAllHooks=function(){T={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},n}();const ir={USE_PROFILES:{html:!0}},or=e=>((e,t)=>rr.sanitize(e,t))(e,ir);var ar=n(2719);const sr=(e,t=dr())=>{try{const n=new URL(t);return e.protocol===n.protocol&&e.host===n.host&&e.pathname===n.pathname}catch{return!1}},lr=e=>e.search?`${e.search}${e.hash}`:e.hash?e.hash:e.pathname.split("/").pop()||".",cr=(e,t=dr())=>{const n=(e=>"string"==typeof e||e instanceof URL?e:new URL(e.path,dr()))(e);if(n instanceof URL)return sr(n,t)?lr(n):n;try{const e=new URL(n,t);return sr(e,t)?lr(e):n}catch{return n}},ur=(e,t)=>{if("undefined"==typeof window)return;const n=cr(e);t?.replace?(window.history.replaceState(null,"",n),window.dispatchEvent(new Event("replaceState"))):(window.history.pushState(null,"",n),window.dispatchEvent(new Event("pushState")))},dr=()=>"undefined"==typeof window?"":window.location.href,fr=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 hr=(0,ar.vP)(dr());(e=>{if("undefined"!=typeof window)window.addEventListener("popstate",e),window.addEventListener("replaceState",e),window.addEventListener("pushState",e),window.addEventListener("hashchange",e)})((()=>{hr.peek()!==dr()&&(hr.value=dr())}));const pr=(0,ar.EW)((()=>new URL(hr.value))),gr=(0,ar.EW)((()=>pr.value.searchParams)),mr=(...e)=>{const t=new URL(dr());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!==pr.peek().href&&ur(t.href,{replace:!0})},vr=(0,ar.EW)((()=>({hash:pr.value.hash,pathname:pr.value.pathname,origin:pr.value.origin,params:fr(gr.value)}))),br=e=>gr.value.get(e),yr=e=>gr.value.getAll(e),_r=e=>gr.value.has(e),wr=(0,ar.EW)((()=>{const e=vr.value.hash.startsWith("#")?vr.value.hash.slice(1):vr.value.hash;return{path:e,pathParts:e.split("/").filter(Boolean)}})),xr=e=>{const{path:t,params:n={},replace:r=!1,searchParams:i={},keepSearchParams:o=!1}=e,a=new URL(dr()),s=((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);a.search="",a.hash=""===s||"/"===s?"":`#${s}`,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)}))})(vr.value.params,a.searchParams),Object.entries(i).forEach((([e,t])=>{if(t){if(Array.isArray(t))for(const n of t)a.searchParams.set(e,n.toString());a.searchParams.set(e,t.toString())}})),ur(a,{replace:r})},kr=(e,t=()=>!0)=>{if("/"===e&&0===wr.value.pathParts.length)return{matches:!0,params:{}};const n=e.split("/").filter(Boolean),r=wr.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 Cr;!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"}(Cr||(Cr={}));Error;const Sr="GT",Ar="GE",Er="LT",Tr="LE",Mr="EQ",Lr="NEQ",Dr="CONTAINS",Nr="IN",Or={[Mr]:"=",[Lr]:"!=",[Sr]:">",[Ar]:">=",[Er]:"<",[Tr]:"<=",[Dr]:"~="},Fr="AND",Rr="OR";const Ir=()=>!0;function zr(e){switch(e.type){case"condition":return function(e){const{left:t,operator:n,right:r}=e;return e=>{const i=Pr(e,t),o=Br(r);return function(e,t,n){if(null==n)return t===Mr||t===Or.EQ?null==e:(t===Lr||t===Or.NEQ)&&null!=e;if(null==e)return!1;switch(t){case Mr:case Or.EQ:return jr(e,n);case Lr:case Or.NEQ:return!jr(e,n);case Sr:case Or.GT:return Yr(e,n)>0;case Ar:case Or.GE:return Yr(e,n)>=0;case Er:case Or.LT:return Yr(e,n)<0;case Tr:case Or.LE:return Yr(e,n)<=0;case Dr:case Or.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===Nr)return e=>{const n=Pr(e,t),i=r.map(Br);return null!=n&&i.some((e=>null==e?null==n:jr(n,e)))};return()=>!1}(e);case"binary":return function(e){const t=zr(e.left),n=zr(e.right);if(e.operator===Fr)return e=>t(e)&&n(e);if(e.operator===Rr)return e=>t(e)||n(e);return()=>!1}(e);case"not":return function(e){const t=zr(e.expression);return e=>!t(e)}(e);case"paren":return function(e){return zr(e.expression)}(e);case"boolean":return function(e){return()=>e.value}(e);default:return Ir}}function Pr(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 Br(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 jr(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)=>jr(e,t[n])))))}function Yr(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 $r=20,qr=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?Hr(n,o,$r):{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?qr([t[0]]):{type:"paren",expression:qr(t)}})(t)}const[t,n,...r]=e;return 0===r.length?{type:"binary",operator:t.logicalOperator??"AND",left:qr([t]),right:qr([n])}:r.reduce(((e,t)=>({type:"binary",operator:t.logicalOperator??"AND",left:e,right:qr([t])})),qr([t,n]))},Hr=(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])},Ur=e=>zr(qr(e)),Wr="auto",Vr="light",Gr="dark",Kr="theme",Zr=[Vr,Gr,Wr],Xr={matches:!1,addEventListener:()=>{},removeEventListener:()=>{},media:"",onchange:()=>{},addListener:()=>{},removeListener:()=>{},dispatchEvent:()=>!0},Jr=()=>"undefined"==typeof window||"function"!=typeof window.matchMedia?Xr:window.matchMedia("(prefers-color-scheme: dark)"),Qr=c()?.theme,ei=(0,ar.EW)((()=>ti.value===Wr?ni.value:ti.value)),ti=(0,ar.vP)(Wr),ni=(0,ar.vP)("undefined"==typeof window?Vr:Jr().matches?Gr:Vr);(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:ti,key:Kr,onRestore:e=>(e=>Zr.includes(e))(e)?e:Qr??Wr}),(e=>{if("undefined"==typeof window)return;const{signal:t,key:n,shouldPersist:r=()=>!0}=e;(0,ar.QZ)((()=>{const e=t.value;if(r(e))try{window.localStorage.setItem(n,"string"==typeof e?e:JSON.stringify(e))}catch{}}))})({signal:ti,key:Kr});const ri=(0,ar.EW)((()=>({current:ei.value,selected:ti.value}))),ii=()=>{const e=ti.peek(),t=Zr[(Zr.indexOf(e)+1)%Zr.length];var n;n=t,ti.value=n};(()=>{if("undefined"==typeof window)return;(0,ar.QZ)((()=>{document.documentElement.setAttribute("data-theme",ei.value)}));Jr().addEventListener("change",(e=>{e.matches?ni.value=Gr:ni.value=Vr}))})();Symbol("loadableStore");(0,ar.vP)(1);const oi="\nhtml, body {\n margin: 0;\n padding: 0;\n overflow-x: hidden;\n overflow-y: hidden;\n background: var(--color-bg-primary);\n}\n\nbody {\n color: var(--color-text-primary);\n font-family: var(--font-family);\n font-size: var(--font-size-m);\n line-height: var(--line-height-m);\n}\n\np {\n margin-top: 0;\n margin-bottom: 10px;\n}\n\np:last-child {\n margin-bottom: 0;\n}\n\nh1,\nh2,\nh3,\nh4,\nh5,\nh6 {\n font-weight: var(--font-weight-bold) !important;\n line-height: var(--line-height-l) !important;\n margin: 16px 0 10px;\n}\n\nh1:first-child,\nh2:first-child,\nh3:first-child,\nh4:first-child,\nh5:first-child,\nh6:first-child {\n margin-top: 0;\n}\n\nh1 {\n font-size: var(--font-size-xl) !important;\n}\n\nh2,\nh3 {\n font-size: var(--font-size-l) !important;\n}\n\nh4 {\n font-size: var(--font-size-m) !important;\n}\n\nh5,\nh6 {\n font-size: var(--font-size-s) !important;\n}\n\nh6 {\n color: var(--color-text-secondary);\n}\n\nstrong,\nb {\n font-weight: var(--font-weight-bold) !important;\n}\n\nem,\ni {\n font-style: italic !important;\n}\n\ndel,\ns {\n text-decoration: line-through;\n}\n\na {\n color: var(--color-text-primary);\n text-decoration: underline;\n}\n\na:hover {\n color: var(--color-text-secondary);\n}\n\ncode {\n font-family: var(--font-family-mono) !important;\n font-size: var(--font-size-m-code) !important;\n padding: 0.2em 0.4em;\n background: var(--color-control-bg);\n border-radius: 4px;\n}\n\npre {\n font-family: var(--font-family-mono) !important;\n font-size: var(--font-size-s) !important;\n line-height: 1.45 !important;\n padding: 16px;\n overflow: auto;\n background: var(--color-control-bg);\n border-radius: 6px;\n margin-bottom: 16px;\n}\n\npre code {\n padding: 0;\n background: transparent;\n font-size: inherit !important;\n border-radius: 0;\n}\n\nblockquote {\n padding: 0 1em;\n border-left: 0.25em solid var(--color-border-default);\n color: var(--color-text-secondary);\n margin-bottom: 16px;\n}\n\nul,\nol {\n padding-left: 2em;\n margin-bottom: 10px;\n}\n\nul {\n list-style: disc !important;\n}\n\nol {\n list-style: decimal !important;\n}\n\nli + li {\n margin-top: 0.25em;\n}\n\nhr {\n height: 0.25em;\n padding: 0;\n margin: 24px 0;\n background-color: var(--color-border-default);\n border: 0 !important;\n}\n\ntable {\n border-spacing: 0;\n border-collapse: collapse;\n margin-bottom: 16px;\n display: block;\n width: max-content;\n max-width: 100%;\n overflow-x: auto;\n overflow-y: hidden;\n transform: translateZ(0);\n contain: layout paint;\n}\n\nth,\ntd {\n padding: 6px 13px;\n border: 1px solid var(--color-border-default) !important;\n white-space: nowrap;\n}\n\nth {\n font-weight: var(--font-weight-bold) !important;\n position: sticky;\n top: 0;\n z-index: 1;\n background: var(--color-bg-primary);\n}\n\ntr:nth-child(2n) {\n background: var(--color-control-bg);\n}\n\nimg {\n max-width: 100% !important;\n height: auto !important;\n display: inline-block !important;\n vertical-align: middle !important;\n}\n\nabbr,\nabbr[title] {\n text-decoration: underline dotted;\n cursor: help;\n border-bottom: none;\n}\n\nkbd {\n display: inline-block;\n padding: 3px 5px;\n font-family: var(--font-family-mono) !important;\n font-size: 11px;\n line-height: 10px;\n color: var(--color-text-primary);\n vertical-align: middle;\n background-color: var(--color-control-bg);\n border: solid 1px var(--color-border-medium);\n border-bottom-color: var(--color-border-medium);\n border-radius: 6px;\n box-shadow: inset 0 -1px 0 var(--color-border-medium);\n}\n\nsamp {\n font-family: var(--font-family-mono) !important;\n font-size: 85% !important;\n}\n\nvar {\n font-family: var(--font-family-mono) !important;\n font-style: italic !important;\n font-weight: var(--font-weight-bold) !important;\n}\n\nmark {\n background-color: var(--color-intent-primary-bg);\n color: var(--color-intent-primary-on-bg);\n padding: 0.1em 0.2em;\n border-radius: 2px;\n}\n\nsmall {\n font-size: 85% !important;\n}\n\nsub,\nsup {\n font-size: 75% !important;\n line-height: 0 !important;\n position: relative !important;\n vertical-align: baseline !important;\n}\n\nsub {\n bottom: -0.25em !important;\n}\n\nsup {\n top: -0.5em !important;\n}\n\nins {\n text-decoration: underline;\n background-color: var(--color-intent-success-bg-subtle);\n color: var(--color-text-primary);\n text-decoration-color: var(--color-intent-success-text);\n}\n\ndfn {\n font-style: italic !important;\n font-weight: var(--font-weight-bold) !important;\n}\n\ncite {\n font-style: italic !important;\n}\n\nq {\n font-style: italic !important;\n}\n\nq::before {\n content: open-quote;\n}\n\nq::after {\n content: close-quote;\n}\n\ntime {\n font-variant-numeric: tabular-nums;\n}\n\ndl {\n padding: 0;\n margin-bottom: 16px;\n}\n\ndt {\n padding: 0;\n margin-top: 16px;\n font-size: 1em;\n font-style: italic;\n font-weight: var(--font-weight-bold) !important;\n}\n\ndt:first-child {\n margin-top: 0;\n}\n\ndd {\n padding: 0 0 0 16px;\n margin-left: 0;\n margin-bottom: 16px;\n}\n\nfigure {\n margin: 16px 0;\n display: block;\n}\n\nfigcaption {\n margin-top: 8px;\n font-size: var(--font-size-s) !important;\n color: var(--color-text-secondary);\n font-style: italic;\n text-align: center;\n}\n\ndetails {\n display: block;\n margin-bottom: 16px;\n}\n\nsummary {\n display: list-item;\n cursor: pointer;\n font-weight: var(--font-weight-bold) !important;\n margin-bottom: 8px;\n}\n\nsummary:hover {\n color: var(--color-text-secondary);\n}\n\nsummary::marker {\n color: var(--color-text-secondary);\n}\n\ndetails[open] summary {\n margin-bottom: 16px;\n}\n\narticle,\nsection,\naside,\nnav {\n display: block;\n margin-bottom: 16px;\n}\n\nheader,\nfooter {\n display: block;\n margin-bottom: 16px;\n}\n\naddress {\n display: block;\n font-style: italic;\n margin-bottom: 16px;\n}\n",ai=/var\(\s*(--[\w-]+)\s*(?:,\s*([^)]+))?\)/g,si=(e,t,n)=>e.replace(ai,((e,r,i)=>{if(n.has(r))return i?si(i.trim(),t,n):"";const o=new Set(n);o.add(r);const a=t.getPropertyValue(r).trim();return a?si(a,t,o):i?si(i.trim(),t,o):""})),li=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=si(n,t,new Set([e])).trim();return r?`${e}: ${r};`:""})).filter(Boolean).join("\n")},ci=(e,t,n,r)=>!!r(e,t)&&n.filter((e=>!e.isRoot)).every((e=>!r(e.id,e.openedByDefault))),ui=e=>{const{hasOnlyLeafResults:t,isSubtreeCollapsedAll:n,isSubtreeFirstLevelOnly:r,isSubtreeExpandedAll:i,lastSubtreeToggle:o}=e;return t?n?"all":"none":n?"first":r?"all"===o?"none":"all":i?"first":"all"},di=(e,t,n)=>{const r=e.find((e=>e.isRoot));if(!r||0===e.length)return{nextState:"first",nextLastToggle:null};const i=!t(r.id,r.openedByDefault),o=ci(r.id,r.openedByDefault,e,t),a=((e,t)=>e.every((e=>t(e.id,e.openedByDefault))))(e,t),s=e.every((e=>e.isRoot)),l=ui({hasOnlyLeafResults:s,isSubtreeCollapsedAll:i,isSubtreeFirstLevelOnly:o,isSubtreeExpandedAll:a,lastSubtreeToggle:n});return{nextState:l,nextLastToggle:"first"!==l?l:n}},fi=e=>{const{hasOnlyLeafResults:t,isSubtreeCollapsedAll:n,isSubtreeFirstLevelOnly:r}=e;return t?n?"single-down":"single-up":n?"single-down":r?"double-down":"double-up"},hi=(e,t=!1)=>t||(e=>void 0===e||Boolean(e?.failed||e?.broken))(e),pi=e=>e.trees.length>0||e.leaves.length>0,gi=e=>{const t=[],n=[{tree:e,isRoot:!0}];for(;n.length>0;){const e=n.pop();e&&(t.push({id:e.tree.nodeId,openedByDefault:hi(e.tree.statistic),isRoot:e.isRoot}),e.tree.trees.forEach((e=>n.push({tree:e,isRoot:!1}))))}return t},mi=(e,t,n)=>{e.forEach((e=>{const r="all"===t||"first"===t&&e.isRoot,i=n.toScopedId(e.id);n.isOpened(i,e.openedByDefault)!==r&&n.setOpened(i,r,e.openedByDefault)}))},vi=()=>"undefined"!=typeof document&&"mac"===document.documentElement.getAttribute("data-os"),bi=(e,t,n)=>vi()?t:n,yi=e=>{const t=e.modifiers??{},n=[];t.meta&&n.push(bi(0,"⌘","Ctrl")),t.ctrlOrMeta?n.push(bi(0,"⌘","Ctrl")):t.ctrl&&n.push(bi(0,"⌃","Ctrl")),t.alt&&n.push(bi(0,"⌥","Alt")),t.shift&&n.push(bi(0,"⇧","Shift"));const r=" "===e.key?"Space":1===e.key.length?e.key.toUpperCase():e.key;return n.push(r),n.join(vi()?"":" + ")},_i=e=>" "===e?" ":1===e.length?e.toLowerCase():e,wi=(e,t)=>{const n=t.modifiers??{},r=Boolean(n.ctrl),i=Boolean(n.shift),o=Boolean(n.alt),a=Boolean(n.meta);if(Boolean(n.ctrlOrMeta)){if(!e.ctrlKey&&!e.metaKey)return!1}else{if(e.ctrlKey!==r)return!1;if(e.metaKey!==a)return!1}return e.shiftKey===i&&(e.altKey===o&&(t.code?e.code===t.code:(e=>_i(e.key))(e)===_i(t.key)))},xi=e=>Array.isArray(e.scope)?[...e.scope]:[e.scope],ki=(e,t,n)=>!!((e,t)=>{const n=xi(e);return!!n.includes("global")||n.includes(t)})(t,n)&&(!!wi(e,t)&&(!1!==t.preventDefault&&e.preventDefault(),t.stopPropagation&&e.stopPropagation(),t.handler(e),!0)),Ci=e=>{const t=t=>{if(!e.getEnabled())return;if(t.isComposing)return;const n=e.getActiveScope();if((r=t.target)instanceof HTMLElement&&(r.isContentEditable||Boolean(r.closest("input, textarea, select, [contenteditable=''], [contenteditable='true']")))){const r=e.bindings.filter((e=>e.allowInEditable)),i=r.filter((e=>{const t=xi(e);return t.includes(n)&&!t.every((e=>"global"===e))})),o=r.filter((e=>xi(e).includes("global")));for(const e of[...i,...o])if(ki(t,e,n))return;return}var r;const i=e.isScopeActive?.(n)??!0;e.shouldSuppressDefault?.(t,n)&&i&&t.preventDefault();const o=i?e.bindings.filter((e=>{const t=xi(e);return t.includes(n)&&!t.every((e=>"global"===e))})):[],a=e.bindings.filter((e=>xi(e).includes("global")));for(const e of[...o,...a])if(ki(t,e,n))return};return{attach:()=>{document.addEventListener("keydown",t,{capture:!0})},detach:()=>{document.removeEventListener("keydown",t,{capture:!0})}}},Si=(e,t=!1)=>t||(e=>void 0===e||Boolean(e?.failed||e?.broken))(e),Ai=(e,t)=>t?`${t}${e}`:e,Ei=(e,t,n)=>{const r=Si(e.statistic,Boolean(n.root)),i=Ai(e.nodeId,n.idPrefix);return n.isGroupOpened?n.isGroupOpened(i,r):((e,t,n,r)=>{const i=Ai(e,r);return t.has(i)?!n:n})(e.nodeId,t,r,n.idPrefix)},Ti=(e,t,n,r)=>{const i=[],{idPrefix:o}=r,a=Si(e.statistic,Boolean(r.root)),s=Ei(e,t,r),l=(e=>e.trees.length>0||e.leaves.length>0)(e),c=Boolean(e.name)&&l,u=Ai(e.nodeId,o);if(c&&i.push({kind:"group",id:u,nodeId:e.nodeId,depth:n,parentId:r.parentId,hasChildren:!0,isExpanded:s,openedByDefault:a}),!l)return i;const d=c?n+1:n,f=c?s:!r.root||s,h=c?u:r.parentId;if(f){for(const n of e.trees)i.push(...Ti(n,t,d,{parentId:h,idPrefix:o,isGroupOpened:r.isGroupOpened}));for(const t of e.leaves)i.push({kind:"leaf",id:Ai(t.nodeId,o),testResultId:t.nodeId,depth:d,parentId:h})}return i},Mi=e=>{const{collapsedTrees:t,isGroupOpened:n,tree:r,rootStatistic:i,isRoot:o,envSections:a}=e;return a?.length?a.flatMap((e=>0===(e.statistic?.total??0)?[]:((e,t,n)=>{const r=`env:${e.id}`,i=[{kind:"env",id:r,nodeId:e.id,depth:0,hasChildren:!0,isExpanded:e.opened}];return e.opened&&i.push(...Ti(e.tree,t,1,{root:!0,parentId:r,idPrefix:`${e.id}:`,isGroupOpened:n})),i})(e,t,n))):r?Ti(r,t,0,{root:o??!0,parentId:void 0,isGroupOpened:n,...i?{root:o??!0}:{}}):[]},Li=(e,t)=>{if(t.parentId)return e.find((e=>e.id===t.parentId||e.nodeId===t.parentId))},Di=(e,t,n)=>{if(0===e.length)return{nextId:void 0};const r=((e,t)=>t?e.findIndex((e=>e.id===t)):-1)(e,t),i=r>=0?e[r]:void 0;switch(n){case"up":if(r<=0)return{nextId:e[0]?.id};if(!i)return{nextId:e[r-1]?.id};for(let t=r-1;t>=0;t--){const n=e[t];if(i.parentId&&n.id===i.parentId){for(let i=r-1;i>t;i--){const t=e[i];if(t.depth>n.depth)return{nextId:t.id}}return{nextId:n.id}}return{nextId:n.id}}return{nextId:e[0]?.id};case"down":return r<0?{nextId:e[0]?.id}:r>=e.length-1?{nextId:e[e.length-1]?.id}:{nextId:e[r+1]?.id};case"home":return{nextId:e[0]?.id};case"end":return{nextId:e[e.length-1]?.id};case"firstLeaf":{const t=e.find((e=>"leaf"===e.kind));return{nextId:t?.id??e[0]?.id}}case"lastLeaf":{const t=e.filter((e=>"leaf"===e.kind)),n=t[t.length-1];return{nextId:n?.id??e[e.length-1]?.id}}case"parent":{if(!i)return{nextId:e[0]?.id};const t=Li(e,i);return{nextId:t?.id??i.id}}case"left":{if(!i)return{nextId:e[0]?.id};if(("group"===i.kind||"env"===i.kind)&&i.isExpanded)return{nextId:i.id,collapse:!0};const t=Li(e,i);return t?{nextId:t.id}:r>0?{nextId:e[r-1]?.id}:{nextId:i.id}}case"firstChild":case"right":{if(!i)return{nextId:e[0]?.id};if(("group"===i.kind||"env"===i.kind)&&!i.isExpanded)return{nextId:i.id,expand:!0};const t=e[r+1];return t&&t.depth>i.depth?{nextId:t.id}:"right"===n&&r<e.length-1?{nextId:e[r+1]?.id}:{nextId:i.id}}default:return{nextId:i?.id??e[0]?.id}}},Ni=(e,t)=>((e,t)=>{const n=e.findIndex((e=>e.id===t));if(n<0)return[];const r=e[n].depth,i=[];for(let t=n+1;t<e.length;t++){const n=e[t];if(n.depth<=r)break;i.push(n)}return i})(e,t).filter((e=>"group"===e.kind||"env"===e.kind)),Oi=e=>{const{overflowY:t}=getComputedStyle(e);return("auto"===t||"scroll"===t||"overlay"===t)&&e.scrollHeight>e.clientHeight+1},Fi=(e,t)=>{let n=e.parentElement,r=null;for(;n instanceof HTMLElement;){if(n.hasAttribute(t)&&(r??(r=n),Oi(n)))return n;n=n.parentElement}return r},Ri=(e,t)=>{const n=Fi(e,t?.containerAttribute??"data-tree-scroll-container");n?((e,t,n,r=4)=>{const i=((e,t,n,r=4)=>{const i="group"===n||"env"===n;return((e,t,n)=>e.top<t.top+n||e.bottom>t.bottom-n)(e,t,r)?i?e.top-t.top-r:(e.top+e.bottom)/2-(t.top+t.bottom)/2:0})(e.getBoundingClientRect(),t.getBoundingClientRect(),n,r);Math.abs(i)>1&&(t.scrollTop+=i)})(e,n,t?.kind,t?.inset):e.scrollIntoView({block:"center",inline:"nearest"})},Ii=e=>{const t="data-tree-scroll-container";if(e){const n=Fi(e,t);if(n)return void(n.scrollTop=0)}for(const e of Array.from(document.querySelectorAll(`[${t}]`)))if(e instanceof HTMLElement&&Oi(e))return void(e.scrollTop=0)}},2636:function(e,t,n){"use strict";n.d(t,{U_:function(){return hh},o3:function(){return hb},$n:function(){return tn},vx:function(){return on},Cy:function(){return Xt},Cv:function(){return pb},ph:function(){return Ib},sv:function(){return eK},gf:function(){return rn},ff:function(){return uK},Yg:function(){return sK},rk:function(){return gh},xA:function(){return U_},Ei:function(){return G_},DZ:function(){return Jt},Ds:function(){return dW},K0:function(){return nn},Ng:function(){return K_},N_:function(){return zb},Nr:function(){return nd},x_:function(){return Mf},W1:function(){return uh},aF:function(){return yb},DP:function(){return Lf},gD:function(){return Bb},vf:function(){return Pb},Gd:function(){return Of},y$:function(){return Kt},Cr:function(){return SV},ij:function(){return NV},JD:function(){return nK},rE:function(){return oK},S2:function(){return GY},Ah:function(){return Gt},BD:function(){return TV},Hz:function(){return QV},EY:function(){return Zt},oy:function(){return X_},NP:function(){return oU},Kf:function(){return gQ},m_:function(){return Sf},T_:function(){return Ef},ch:function(){return lK},PH:function(){return Fb},Qb:function(){return Db},yh:function(){return Tb},WP:function(){return xb},b6:function(){return aU},qG:function(){return Lb},x0:function(){return jb},aA:function(){return Vt},dL:function(){return Tf},fS:function(){return Af}});var r=n(841),i=(n(3846),n(4501)),o=n(3175),a=n(7249),s=n(2753),l=n(4717),c=n(4818),u="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:{};function d(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var f,h,p,g,m,v,b,y,_,w,x,k,C={exports:{}},S=(f||(f=1,p=C,g=function(e){var t=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,n=0,r={},i={manual:e.Prism&&e.Prism.manual,disableWorkerMessageHandler:e.Prism&&e.Prism.disableWorkerMessageHandler,util:{encode:function e(t){return t instanceof o?new o(t.type,e(t.content),t.alias):Array.isArray(t)?t.map(e):t.replace(/&/g,"&").replace(/</g,"<").replace(/\u00a0/g," ")},type:function(e){return Object.prototype.toString.call(e).slice(8,-1)},objId:function(e){return e.__id||Object.defineProperty(e,"__id",{value:++n}),e.__id},clone:function e(t,n){var r,o;switch(n=n||{},i.util.type(t)){case"Object":if(o=i.util.objId(t),n[o])return n[o];for(var a in r={},n[o]=r,t)t.hasOwnProperty(a)&&(r[a]=e(t[a],n));return r;case"Array":return o=i.util.objId(t),n[o]?n[o]:(r=[],n[o]=r,t.forEach((function(t,i){r[i]=e(t,n)})),r);default:return t}},getLanguage:function(e){for(;e;){var n=t.exec(e.className);if(n)return n[1].toLowerCase();e=e.parentElement}return"none"},setLanguage:function(e,n){e.className=e.className.replace(RegExp(t,"gi"),""),e.classList.add("language-"+n)},currentScript:function(){if("undefined"==typeof document)return null;if(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,A=1;if(b){if(!(S=a(w,k,e,v))||S.index>=e.length)break;var E=S.index,T=S.index+S[0].length,M=k;for(M+=x.value.length;E>=M;)M+=(x=x.next).value.length;if(k=M-=x.value.length,x.value instanceof o)continue;for(var L=x;L!==t.tail&&(M<T||"string"==typeof L.value);L=L.next)A++,M+=L.value.length;A--,C=e.slice(k,M),S.index-=k}else if(!(S=a(w,0,C,v)))continue;E=S.index;var D=S[0],N=C.slice(0,E),O=C.slice(E+D.length),F=k+C.length;d&&F>d.reach&&(d.reach=F);var R=x.prev;if(N&&(R=c(t,R,N),k+=N.length),u(t,R,A),x=c(t,R,new o(f,m?i.tokenize(D,m):D,y,D)),O&&c(t,x,O),A>1){var I={cause:f+","+p,reach:F};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,""")+'"';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:{}),p.exports&&(p.exports=g),void 0!==u&&(u.Prism=g)),C.exports),A=d(S),E={exports:{}},T=(h||(h=1,function(e){var t=function(e){var t=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,n=0,r={},i={manual:e.Prism&&e.Prism.manual,disableWorkerMessageHandler:e.Prism&&e.Prism.disableWorkerMessageHandler,util:{encode:function e(t){return t instanceof o?new o(t.type,e(t.content),t.alias):Array.isArray(t)?t.map(e):t.replace(/&/g,"&").replace(/</g,"<").replace(/\u00a0/g," ")},type:function(e){return Object.prototype.toString.call(e).slice(8,-1)},objId:function(e){return e.__id||Object.defineProperty(e,"__id",{value:++n}),e.__id},clone:function e(t,n){var r,o;switch(n=n||{},i.util.type(t)){case"Object":if(o=i.util.objId(t),n[o])return n[o];for(var a in r={},n[o]=r,t)t.hasOwnProperty(a)&&(r[a]=e(t[a],n));return r;case"Array":return o=i.util.objId(t),n[o]?n[o]:(r=[],n[o]=r,t.forEach((function(t,i){r[i]=e(t,n)})),r);default:return t}},getLanguage:function(e){for(;e;){var n=t.exec(e.className);if(n)return n[1].toLowerCase();e=e.parentElement}return"none"},setLanguage:function(e,n){e.className=e.className.replace(RegExp(t,"gi"),""),e.classList.add("language-"+n)},currentScript:function(){if("undefined"==typeof document)return null;if(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,A=1;if(b){if(!(S=a(w,k,e,v))||S.index>=e.length)break;var E=S.index,T=S.index+S[0].length,M=k;for(M+=x.value.length;E>=M;)M+=(x=x.next).value.length;if(k=M-=x.value.length,x.value instanceof o)continue;for(var L=x;L!==t.tail&&(M<T||"string"==typeof L.value);L=L.next)A++,M+=L.value.length;A--,C=e.slice(k,M),S.index-=k}else if(!(S=a(w,0,C,v)))continue;E=S.index;var D=S[0],N=C.slice(0,E),O=C.slice(E+D.length),F=k+C.length;d&&F>d.reach&&(d.reach=F);var R=x.prev;if(N&&(R=c(t,R,N),k+=N.length),u(t,R,A),x=c(t,R,new o(f,m?i.tokenize(D,m):D,y,D)),O&&c(t,x,O),A>1){var I={cause:f+","+p,reach:F};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,""")+'"';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!==u&&(u.Prism=t),t.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},t.languages.markup.tag.inside["attr-value"].inside.entity=t.languages.markup.entity,t.languages.markup.doctype.inside["internal-subset"].inside=t.languages.markup,t.hooks.add("wrap",(function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&/,"&"))})),Object.defineProperty(t.languages.markup.tag,"addInlined",{value:function(e,n){var r={};r["language-"+n]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:t.languages[n]},r.cdata=/^<!\[CDATA\[|\]\]>$/i;var i={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:r}};i["language-"+n]={pattern:/[\s\S]+/,inside:t.languages[n]};var o={};o[e]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,(function(){return e})),"i"),lookbehind:!0,greedy:!0,inside:i},t.languages.insertBefore("markup","cdata",o)}}),Object.defineProperty(t.languages.markup.tag,"addAttribute",{value:function(e,n){t.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+e+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[n,"language-"+n],inside:t.languages[n]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),t.languages.html=t.languages.markup,t.languages.mathml=t.languages.markup,t.languages.svg=t.languages.markup,t.languages.xml=t.languages.extend("markup",{}),t.languages.ssml=t.languages.xml,t.languages.atom=t.languages.xml,t.languages.rss=t.languages.xml,function(e){var t=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+t.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+t.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+t.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+t.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:t,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css;var n=e.languages.markup;n&&(n.tag.addInlined("style","css"),n.tag.addAttribute("style","css"))}(t),t.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},t.languages.javascript=t.languages.extend("clike",{"class-name":[t.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),t.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,t.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:t.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:t.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:t.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:t.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:t.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),t.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:t.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),t.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),t.languages.markup&&(t.languages.markup.tag.addInlined("script","javascript"),t.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),t.languages.js=t.languages.javascript,function(){if(void 0!==t&&"undefined"!=typeof document){Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector);var e={js:"javascript",py:"python",rb:"ruby",ps1:"powershell",psm1:"powershell",sh:"bash",bat:"batch",h:"c",tex:"latex"},n="data-src-status",r="loading",i="loaded",o="pre[data-src]:not(["+n+'="'+i+'"]):not(['+n+'="'+r+'"])';t.hooks.add("before-highlightall",(function(e){e.selector+=", "+o})),t.hooks.add("before-sanity-check",(function(a){var s=a.element;if(s.matches(o)){a.code="",s.setAttribute(n,r);var l=s.appendChild(document.createElement("CODE"));l.textContent="Loading…";var c=s.getAttribute("data-src"),u=a.language;if("none"===u){var d=(/\.(\w+)$/.exec(c)||[,"none"])[1];u=e[d]||d}t.util.setLanguage(l,u),t.util.setLanguage(s,u);var f=t.plugins.autoloader;f&&f.loadLanguages(u),function(e,t,n){var r=new XMLHttpRequest;r.open("GET",e,!0),r.onreadystatechange=function(){4==r.readyState&&(r.status<400&&r.responseText?t(r.responseText):r.status>=400?n("✖ Error "+r.status+" while fetching file: "+r.statusText):n("✖ Error: File does not exist or is empty"))},r.send(null)}(c,(function(e){s.setAttribute(n,i);var r=function(e){var t=/^\s*(\d+)\s*(?:(,)\s*(?:(\d+)\s*)?)?$/.exec(e||"");if(t){var n=Number(t[1]),r=t[2],i=t[3];return r?i?[n,Number(i)]:[n,void 0]:[n,n]}}(s.getAttribute("data-range"));if(r){var o=e.split(/\r\n?|\n/g),a=r[0],c=null==r[1]?o.length:r[1];a<0&&(a+=o.length),a=Math.max(0,Math.min(a-1,o.length)),c<0&&(c+=o.length),c=Math.max(0,Math.min(c,o.length)),e=o.slice(a,c).join("\n"),s.hasAttribute("data-start")||s.setAttribute("data-start",String(a+1))}l.textContent=e,t.highlightElement(l)}),(function(e){s.setAttribute(n,"failed"),l.textContent=e}))}})),t.plugins.fileHighlight={highlight:function(e){for(var n,r=(e||document).querySelectorAll(o),i=0;n=r[i++];)t.highlightElement(n)}};var a=!1;t.fileHighlight=function(){a||(console.warn("Prism.fileHighlight is deprecated. Use `Prism.plugins.fileHighlight.highlight` instead."),a=!0),t.plugins.fileHighlight.highlight.apply(this,arguments)}}}()}(E)),E.exports),M=d(T);function L(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=L(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function D(){for(var e,t,n=0,r="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=L(e))&&(r&&(r+=" "),r+=t);return r}M.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:/[{}[\];(),.:]/},M.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]},M.languages.markup.tag.inside["attr-value"].inside.entity=M.languages.markup.entity,M.languages.markup.doctype.inside["internal-subset"].inside=M.languages.markup,M.hooks.add("wrap",(function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&/,"&"))})),Object.defineProperty(M.languages.markup.tag,"addInlined",{value:function(e,t){var n={};n["language-"+t]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:M.languages[t]},n.cdata=/^<!\[CDATA\[|\]\]>$/i;var r={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:n}};r["language-"+t]={pattern:/[\s\S]+/,inside:M.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},M.languages.insertBefore("markup","cdata",i)}}),Object.defineProperty(M.languages.markup.tag,"addAttribute",{value:function(e,t){M.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:M.languages[t]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),M.languages.html=M.languages.markup,M.languages.mathml=M.languages.markup,M.languages.svg=M.languages.markup,M.languages.xml=M.languages.extend("markup",{}),M.languages.ssml=M.languages.xml,M.languages.atom=M.languages.xml,M.languages.rss=M.languages.xml,M.languages.javascript=M.languages.extend("clike",{"class-name":[M.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}|\?\?=?|\?\.?|[~:]/}),M.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,M.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:M.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:M.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:M.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:M.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:M.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),M.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:M.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"}}),M.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),M.languages.markup&&(M.languages.markup.tag.addInlined("script","javascript"),M.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")),M.languages.js=M.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"))}(M),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}(M),m||(m=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}(M)),M.languages.csv={value:/[^\r\n,"]+|"(?:[^"]|"")*"(?!")/,punctuation:/,/},M.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"}},M.languages.webmanifest=M.languages.json,v||(v=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:/\./}}})}(M)),b||(b=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,A=/@"(?:""|\\[\s\S]|[^\\"])*"(?!")/.source;e.languages.csharp=e.languages.extend("clike",{string:[{pattern:n(/(^|[^$\\])<<0>>/.source,[A]),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 E=S+"|"+C,T=t(/\/(?![*/])|\/\/[^\r\n]*[\r\n]|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>/.source,[E]),M=r(t(/[^"'/()]|<<0>>|\(<<self>>*\)/.source,[T]),2),L=/\b(?:assembly|event|field|method|module|param|property|return|type)\b/.source,D=t(/<<0>>(?:\s*\(<<1>>*\))?/.source,[v,M]);e.languages.insertBefore("csharp","class-name",{attribute:{pattern:n(/((?:^|[^\s\w>)?])\s*\[\s*)(?:<<0>>\s*:\s*)?<<1>>(?:\s*,\s*<<1>>)*(?=\s*\])/.source,[L,D]),lookbehind:!0,greedy:!0,inside:{target:{pattern:n(/^<<0>>(?=\s*:)/.source,[L]),alias:"keyword"},"attribute-arguments":{pattern:n(/\(<<0>>*\)/.source,[M]),inside:e.languages.csharp},"class-name":{pattern:RegExp(v),inside:{punctuation:/\./}},punctuation:/[:,]/}}});var N=/:[^}\r\n]+/.source,O=r(t(/[^"'/()]|<<0>>|\(<<self>>*\)/.source,[T]),2),F=t(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[O,N]),R=r(t(/[^"'/()]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>|\(<<self>>*\)/.source,[E]),2),I=t(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[R,N]);function z(t,r){return{interpolation:{pattern:n(/((?:^|[^{])(?:\{\{)*)<<0>>/.source,[t]),lookbehind:!0,inside:{"format-string":{pattern:n(/(^\{(?:(?![}:])<<0>>)*)<<1>>(?=\}$)/.source,[r,N]),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,[F]),lookbehind:!0,greedy:!0,inside:z(F,O)},{pattern:n(/(^|[^@\\])\$"(?:\\.|\{\{|<<0>>|[^\\"{])*"/.source,[I]),lookbehind:!0,greedy:!0,inside:z(I,R)}],char:{pattern:RegExp(C),greedy:!0}}),e.languages.dotnet=e.languages.cs=e.languages.csharp}(M)),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}(M),y||(y=1,M.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://,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:/[{}[\];(),.:]/},M.languages.python["string-interpolation"].inside.interpolation.inside.rest=M.languages.python,M.languages.py=M.languages.python),_||(_=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}(M)),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"}}}(M),M.languages.go=M.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/}),M.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete M.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)}}}})}(M),w||(w=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")}))}(M)),x||(x=1,function(){if(void 0!==M&&"undefined"!=typeof document){var e="line-numbers",t=/\n(?!$)/g,n=M.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))))})),M.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")&&M.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]),M.hooks.run("line-numbers",n)}}})),M.hooks.add("line-numbers",(function(e){e.plugins=e.plugins||{},e.plugins.lineNumbers=!0}))}function i(e){if(e=e.filter((function(e){var t,n=(t=e,t?window.getComputedStyle?getComputedStyle(t):t.currentStyle||null:null)["white-space"];return"pre-wrap"===n||"pre-line"===n})),0!=e.length){var n=e.map((function(e){var n=e.querySelector("code"),r=e.querySelector(".line-numbers-rows");if(n&&r){var i=e.querySelector(".line-numbers-sizer"),o=n.textContent.split(t);i||((i=document.createElement("span")).className="line-numbers-sizer",n.appendChild(i)),i.innerHTML="0",i.style.display="block";var a=i.getBoundingClientRect().height;return i.innerHTML="",{element:e,lines:o,lineHeights:[],oneLinerHeight:a,sizer:i}}})).filter(Boolean);n.forEach((function(e){var t=e.sizer,n=e.lines,r=e.lineHeights,i=e.oneLinerHeight;r[n.length-1]=void 0,n.forEach((function(e,n){if(e&&e.length>1){var o=t.appendChild(document.createElement("span"));o.style.display="block",o.textContent=e}else r[n]=i}))})),n.forEach((function(e){for(var t=e.sizer,n=e.lineHeights,r=0,i=0;i<n.length;i++)void 0===n[i]&&(n[i]=t.children[r++].getBoundingClientRect().height)})),n.forEach((function(e){var t=e.sizer,n=e.element.querySelector(".line-numbers-rows");t.style.display="none",t.innerHTML="",e.lineHeights.forEach((function(e,t){n.children[t].style.height=e+"px"}))}))}}}()),function(){if(void 0!==M&&"undefined"!=typeof document){var e=[],t={},n=function(){};M.plugins.toolbar={};var r=M.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=M.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}})),M.hooks.add("complete",i)}}(),k||(k=1,function(){if(void 0!==M&&"undefined"!=typeof document)if(M.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"};M.plugins.toolbar.registerButton("show-language",(function(t){var n=t.element.parentNode;if(n&&/pre/i.test(n.nodeName)){var r=n.getAttribute("data-language")||e[t.language]||function(e){return e?(e.substring(0,1).toUpperCase()+e.substring(1)).replace(/s(?=cript)/,"S"):e}(t.language);if(r){var i=document.createElement("span");return i.textContent=r,i}}}))}else console.warn("Show Languages plugin loaded before Toolbar plugin.")}()),globalThis.Prism=A,"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self&&self;var N={exports:{}};N.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 O,F,R=N.exports,I={exports:{}};O=I,(F=I.exports).default={svg:{name:"xmlns",uri:"http://www.w3.org/2000/svg"},xlink:{name:"xmlns:xlink",uri:"http://www.w3.org/1999/xlink"}},O.exports=F.default;var z=I.exports;const{svg:P,xlink:B}=z,j={[P.name]:P.uri,[B.name]:B.uri};function Y(e="",t){const n=function(e){return Object.keys(e).map((t=>`${t}="${e[t].toString().replace(/"/g,""")}"`)).join(" ")}(R(j,t||{}));return`<svg ${n}>${e}</svg>`}const{svg:$,xlink:q}=z;var H={attrs:{[$.name]:$.uri,[q.name]:q.uri,style:["position: absolute","width: 0","height: 0"].join("; "),"aria-hidden":"true"}};class U{constructor(e){this.config=R(H,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 Y(t,e)}toString(){return this.stringify()}destroy(){this.symbols.forEach((e=>e.destroy()))}}class W{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 V(e){const t=!!document.importNode,n=(new DOMParser).parseFromString(e,"image/svg+xml").documentElement;return t?document.importNode(n,!0):n}class G extends W{get isMounted(){return!!this.node}static createFromExistingNode(e){return new G({id:e.getAttribute("id"),viewBox:e.getAttribute("viewBox"),content:e.outerHTML})}destroy(){this.isMounted&&this.unmount(),super.destroy()}mount(e){if(this.isMounted)return this.node;const t="string"==typeof e?document.querySelector(e):e,n=this.render();return this.node=n,t.appendChild(n),n}render(){return V(Y(this.stringify())).childNodes[0]}unmount(){this.node.parentNode.removeChild(this.node)}}var K={autoConfigure:!0,mountTo:"body",syncUrlsWithBaseTag:!1,listenLocationChangeEvent:!0,locationChangeEvent:"locationChange",locationChangeAngularEmitter:!1,usagesToUpdate:"use[*|href]",moveGradientsOutsideSymbol:!1};function Z(e){return Array.prototype.slice.call(e,0)}function X(e){return(e||window.location.href).split("#")[0]}function J(e,t="linearGradient, radialGradient, pattern, mask, clipPath"){return Z(e.querySelectorAll("symbol")).forEach((e=>{Z(e.querySelectorAll(t)).forEach((t=>{e.parentNode.insertBefore(t,e)}))})),e}const Q=z.xlink.uri,ee="xlink:href",te=/[{}|\\\^\[\]`"<>]/g;function ne(e){return e.replace(te,(e=>`%${e[0].charCodeAt(0).toString(16).toUpperCase()}`))}const re=["clipPath","colorProfile","src","cursor","fill","filter","marker","markerStart","markerMid","markerEnd","mask","stroke","style"],ie=re.map((e=>`[${e}]`)).join(",");const oe="mount",ae="symbol_mount",se="__SVG_SPRITE_NODE__",le="__SVG_SPRITE__",ce=()=>{const e=document.getElementById(se);e?ue.attach(e):ue.mount(document.body,!0)};let ue=new class extends U{constructor(e={}){super(R(K,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(oe,(()=>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(oe,(e=>{r.moveGradientsOutsideSymbol&&J(e)})),t.on(ae,(e=>{r.moveGradientsOutsideSymbol&&J(e.parentNode),(/msie/i.test(navigator.userAgent)||/trident/i.test(navigator.userAgent)||/edge/i.test(navigator.userAgent))&&function(e){const t=[];Z(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(ae,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(ae,e.node)})),Z(n.querySelectorAll("symbol")).forEach((e=>{const n=G.createFromExistingNode(e);n.node=e,t.add(n)})),this._emitter.emit(oe,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(oe,i),i}render(){return V(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=ne(n),o=ne(r),a=function(e,t){return Z(e).reduce(((e,n)=>{if(!n.attributes)return e;const r=Z(n.attributes),i=t?r.filter(t):r;return e.concat(i)}),[])}(e.querySelectorAll(ie),(({localName:e,value:t})=>-1!==re.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){Z(e).forEach((e=>{const r=e.getAttribute(ee);if(r&&0===r.indexOf(t)){const i=r.replace(t,n);e.setAttributeNS(Q,ee,i)}}))}(t,i,o)}(this.node,n,`${X(e)}#`,`${X(t)}#`),!0}}({attrs:{id:se,"aria-hidden":"true"},autoConfigure:"undefined"!=typeof document,listenLocationChangeEvent:"undefined"!=typeof window});var de,fe,he,pe,ge,me;"undefined"!=typeof window&&"undefined"!=typeof document&&(window[le]?ue=window[le]:window[le]=ue,document.body?ce():(fe=[],pe=(he=document).documentElement.doScroll,ge="DOMContentLoaded",(me=(pe?/^loaded|^c/:/^loaded|^i|^c/).test(he.readyState))||he.addEventListener(ge,de=function(){for(he.removeEventListener(ge,de),me=1;de=fe.shift();)de()}),function(e){me?setTimeout(e,0):fe.push(e)})(ce));const ve=new G({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"});ue.add(ve);const be=new G({id:"7e3aa6e8f105b74dd36141c94bfbc1eb",content:'<symbol viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg" id="7e3aa6e8f105b74dd36141c94bfbc1eb">\n <path fill-rule="evenodd" clip-rule="evenodd" d="M9.554 4.47a.6.6 0 0 1-.13.654l-3 3a.6.6 0 0 1-.849 0l-3-3A.6.6 0 0 1 3 4.1h6a.6.6 0 0 1 .554.37Z" fill="currentColor" fill-opacity=".56" />\n</symbol>',viewBox:"0 0 12 12"});ue.add(be);const ye=new G({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"});ue.add(ye);const _e=new G({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"});ue.add(_e);const we=new G({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"});ue.add(we);const xe=new G({id:"f681aed9de72a8ea119158d26e3472cc",content:'<symbol viewBox="0 0 12 8" fill="currentColor" xmlns="http://www.w3.org/2000/svg" id="f681aed9de72a8ea119158d26e3472cc">\n <circle cx="3" cy="2" r="1" />\n <circle cx="6" cy="2" r="1" />\n <circle cx="9" cy="2" r="1" />\n <circle cx="3" cy="6" r="1" />\n <circle cx="6" cy="6" r="1" />\n <circle cx="9" cy="6" r="1" />\n</symbol>',viewBox:"0 0 12 8"});ue.add(xe);const ke=new G({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"});ue.add(ke);const Ce=new G({id:"a2e5db401ed62fd39ef21026fac761ae",content:'<symbol viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg" id="a2e5db401ed62fd39ef21026fac761ae">\n<g clip-path="url(#a2e5db401ed62fd39ef21026fac761ae_clip0_53_89)">\n<path d="M10 30H4C3.46957 30 2.96086 29.7893 2.58579 29.4142C2.21071 29.0391 2 28.5304 2 28V16C2 15.4696 2.21071 14.9609 2.58579 14.5858C2.96086 14.2107 3.46957 14 4 14H10C10.5304 14 11.0391 14.2107 11.4142 14.5858C11.7893 14.9609 12 15.4696 12 16V28C12 28.5304 11.7893 29.0391 11.4142 29.4142C11.0391 29.7893 10.5304 30 10 30ZM4 16V28H10V16H4Z" fill="currentColor" />\n<path d="M28 4H6C5.46957 4 4.96086 4.21071 4.58579 4.58579C4.21071 4.96086 4 5.46957 4 6V12H6V6H28V20H14V22H16V26H14V28H23V26H18V22H28C28.5304 22 29.0391 21.7893 29.4142 21.4142C29.7893 21.0391 30 20.5304 30 20V6C30 5.46957 29.7893 4.96086 29.4142 4.58579C29.0391 4.21071 28.5304 4 28 4Z" fill="currentColor" />\n</g>\n<defs>\n<clipPath id="a2e5db401ed62fd39ef21026fac761ae_clip0_53_89">\n<rect width="32" height="32" fill="white" />\n</clipPath>\n</defs>\n</symbol>',viewBox:"0 0 32 32"});ue.add(Ce);const Se=new G({id:"b1d648a783b58a400b404192338f655e",content:'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 98 96" id="b1d648a783b58a400b404192338f655e">\n <path fill="currentColor" fill-rule="evenodd" d="M48.85 0C21.84 0 0 22 0 49.22 0 70.97 14 89.39 33.4 95.9c2.43.49 3.32-1.06 3.32-2.37 0-1.14-.08-5.05-.08-9.12-13.59 2.93-16.42-5.87-16.42-5.87-2.18-5.7-5.42-7.17-5.42-7.17-4.45-3.01.33-3.01.33-3.01 4.93.32 7.52 5.05 7.52 5.05 4.37 7.5 11.4 5.38 14.23 4.07.4-3.18 1.7-5.38 3.08-6.6-10.84-1.14-22.25-5.38-22.25-24.28 0-5.38 1.94-9.78 5.02-13.2-.49-1.22-2.19-6.28.48-13.04 0 0 4.13-1.3 13.43 5.05a46.97 46.97 0 0 1 12.21-1.63c4.13 0 8.33.57 12.22 1.63 9.3-6.35 13.42-5.05 13.42-5.05 2.67 6.76.97 11.82.49 13.04a18.9 18.9 0 0 1 5.01 13.2c0 18.9-11.4 23.06-22.32 24.28 1.78 1.55 3.32 4.48 3.32 9.13 0 6.6-.08 11.9-.08 13.52 0 1.3.89 2.86 3.31 2.37a49.18 49.18 0 0 0 33.4-46.7C97.72 22 75.8 0 48.86 0z" clip-rule="evenodd" />\n</symbol>',viewBox:"0 0 98 96"});ue.add(Se);const Ae=new G({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"});ue.add(Ae);const Ee=new G({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"});ue.add(Ee);const Te=new G({id:"97e840812207a4e85942a3d4cc9c425d",content:'<symbol xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 16 16" id="97e840812207a4e85942a3d4cc9c425d">\n <g clip-path="url(#97e840812207a4e85942a3d4cc9c425d_a)">\n <path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-opacity=".56" stroke-width="1.5" d="M8 5.333V8m0 2.666h.006M14.666 8A6.667 6.667 0 1 1 1.333 8a6.667 6.667 0 0 1 13.333 0Z" />\n </g>\n <defs>\n <clipPath id="97e840812207a4e85942a3d4cc9c425d_a">\n <path fill="currentColor" d="M0 0h16v16H0z" />\n </clipPath>\n </defs>\n</symbol>',viewBox:"0 0 16 16"});ue.add(Te);const Me=new G({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"});ue.add(Me);const Le=new G({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"});ue.add(Le);const De=new G({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"});ue.add(De);const Ne=new G({id:"fd1fdbebd322c484b74d1ba8222ec72e",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="fd1fdbebd322c484b74d1ba8222ec72e">\n<path vector-effect="non-scaling-stroke" d="M11 4H7.8C6.11984 4 5.27976 4 4.63803 4.32698C4.07354 4.6146 3.6146 5.07354 3.32698 5.63803C3 6.27976 3 7.11984 3 8.8V16.2C3 17.8802 3 18.7202 3.32698 19.362C3.6146 19.9265 4.07354 20.3854 4.63803 20.673C5.27976 21 6.11984 21 7.8 21H15.2C16.8802 21 17.7202 21 18.362 20.673C18.9265 20.3854 19.3854 19.9265 19.673 19.362C20 18.7202 20 17.8802 20 16.2V13M20.1213 3.87868C21.2929 5.05025 21.2929 6.94975 20.1213 8.12132C18.9497 9.29289 17.0503 9.29289 15.8787 8.12132C14.7071 6.94975 14.7071 5.05025 15.8787 3.87868C17.0503 2.70711 18.9497 2.70711 20.1213 3.87868Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />\n</symbol>',viewBox:"0 0 24 24"});ue.add(Ne);const Oe=new G({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"});ue.add(Oe);const Fe=new G({id:"6a0dfad9d21a9029d1e845251a03a91c",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="6a0dfad9d21a9029d1e845251a03a91c">\n<path vector-effect="non-scaling-stroke" d="M7 13L12 18L17 13M7 6L12 11L17 6" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />\n</symbol>',viewBox:"0 0 24 24"});ue.add(Fe);const Re=new G({id:"6714b0a01cad0cd868b19137adbf8ef7",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="6714b0a01cad0cd868b19137adbf8ef7">\n<path vector-effect="non-scaling-stroke" d="M6 9L12 15L18 9" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />\n</symbol>',viewBox:"0 0 24 24"});ue.add(Re);const Ie=new G({id:"d369105b52d959e0f31d7e56dae2612e",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="d369105b52d959e0f31d7e56dae2612e">\n<path vector-effect="non-scaling-stroke" d="M9 18L15 12L9 6" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />\n</symbol>',viewBox:"0 0 24 24"});ue.add(Ie);const ze=new G({id:"0b66582bad1b04536ee18b4b8d9e9a30",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="0b66582bad1b04536ee18b4b8d9e9a30">\n<path vector-effect="non-scaling-stroke" d="M17 18L12 13L7 18M17 11L12 6L7 11" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />\n</symbol>',viewBox:"0 0 24 24"});ue.add(ze);const Pe=new G({id:"7d421dfdc55a22c840e4f6e7f6d142f1",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="7d421dfdc55a22c840e4f6e7f6d142f1">\n<path vector-effect="non-scaling-stroke" d="M18 15L12 9L6 15" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />\n</symbol>',viewBox:"0 0 24 24"});ue.add(Pe);const Be=new G({id:"a5aca797db351fc35e3c4b4d5d3a6673",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="a5aca797db351fc35e3c4b4d5d3a6673">\n<path vector-effect="non-scaling-stroke" d="M4 4V5.4C4 8.76031 4 10.4405 4.65396 11.7239C5.2292 12.8529 6.14708 13.7708 7.27606 14.346C8.55953 15 10.2397 15 13.6 15H20M20 15L15 10M20 15L15 20" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />\n</symbol>',viewBox:"0 0 24 24"});ue.add(Be);const je=new G({id:"14ab32a1c041859dcf2a710b85f4e6bb",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="14ab32a1c041859dcf2a710b85f4e6bb">\n<path vector-effect="non-scaling-stroke" d="M14 10L21 3M21 3H15M21 3V9M10 14L3 21M3 21H9M3 21L3 15" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />\n</symbol>',viewBox:"0 0 24 24"});ue.add(je);const Ye=new G({id:"2df7897188ce65409ea57e820129bd3f",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="2df7897188ce65409ea57e820129bd3f">\n<path vector-effect="non-scaling-stroke" d="M8.54636 19.7675C10.9455 20.8319 13.803 20.7741 16.2499 19.3613C20.3154 17.0141 21.7084 11.8156 19.3612 7.75008L19.1112 7.31706M4.63826 16.2502C2.29105 12.1847 3.68399 6.98619 7.74948 4.63898C10.1965 3.22621 13.0539 3.16841 15.4531 4.23277M2.49316 16.3338L5.22521 17.0659L5.95727 14.3338M18.0424 9.6659L18.7744 6.93385L21.5065 7.6659" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />\n</symbol>',viewBox:"0 0 24 24"});ue.add(Ye);const $e=new G({id:"2e896c815a6200a31f8b8e813ff3443b",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="2e896c815a6200a31f8b8e813ff3443b">\n<path vector-effect="non-scaling-stroke" d="M4.5 18H19.5M4.5 12H15.5M4.5 6H12.5" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" />\n</symbol>',viewBox:"0 0 24 24"});ue.add($e);const qe=new G({id:"9401086058a257018c5f11bd2d0f1699",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="9401086058a257018c5f11bd2d0f1699">\n<path vector-effect="non-scaling-stroke" d="M4.5 6H19.5M4.5 12C6.45262 12 13.5474 12 15.5 12M4.5 18L12.5 18" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" />\n</symbol>',viewBox:"0 0 24 24"});ue.add(qe);const He=new G({id:"b46ed421558c23c2bc56040f64fea542",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="b46ed421558c23c2bc56040f64fea542">\n<path vector-effect="non-scaling-stroke" d="M7 4V20M7 20L3 16M7 20L11 16M17 20V4M17 4L13 8M17 4L21 8" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />\n</symbol>',viewBox:"0 0 24 24"});ue.add(He);const Ue=new G({id:"bb021e85399e995f42b66451360b7f3e",content:'<symbol xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" id="bb021e85399e995f42b66451360b7f3e">\n <path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-opacity=".7" stroke-width="1.5" d="M8 13v4m8-6v6M12 7v10m-4 4h11l2-2V5l-2-2H5L3 5v14l2 2h3Z" />\n</symbol>',viewBox:"0 0 24 24"});ue.add(Ue);const We=new G({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"});ue.add(We);const Ve=new G({id:"c2b90d2236acecf4ea15dfe9c6962306",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="c2b90d2236acecf4ea15dfe9c6962306">\n<path vector-effect="non-scaling-stroke" d="M2.5 7L5 9.5M2.5 20.5L5.5 17.5M1.5 13.5H4.6213M19 13.5H22.5M19 9.5L21.5 7M18.5 17.5L21.5 20.5M8 7.5V6.5C8 4.29086 9.7908 2.5 12 2.5C14.2092 2.5 16 4.29086 16 6.5V7.5M12 21.5C8.13401 21.5 5 18.366 5 14.5V11.4999C5 10.3829 5 9.82428 5.15712 9.37516C5.43856 8.57093 6.07093 7.93856 6.87522 7.65712C7.32427 7.5 7.88284 7.5 9 7.5H15.0001C16.1171 7.5 16.6757 7.5 17.1248 7.65712C17.9291 7.93856 18.5614 8.57093 18.8429 9.37516C19 9.82428 19 10.3829 19 11.4999V14.5C19 18.366 15.866 21.5 12 21.5Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />\n</symbol>',viewBox:"0 0 24 24"});ue.add(Ve);const Ge=new G({id:"11fffc2467a7bbf0274413a1ad37dc9f",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="11fffc2467a7bbf0274413a1ad37dc9f">\n<path vector-effect="non-scaling-stroke" d="M14.5 15L17.5 12L14.5 9M9.5 9L6.5 12L9.5 15M7.8 21H16.2C17.8802 21 18.7202 21 19.362 20.673C19.9265 20.3854 20.3854 19.9265 20.673 19.362C21 18.7202 21 17.8802 21 16.2V7.8C21 6.11984 21 5.27976 20.673 4.63803C20.3854 4.07354 19.9265 3.6146 19.362 3.32698C18.7202 3 17.8802 3 16.2 3H7.8C6.11984 3 5.27976 3 4.63803 3.32698C4.07354 3.6146 3.6146 4.07354 3.32698 4.63803C3 5.27976 3 6.11984 3 7.8V16.2C3 17.8802 3 18.7202 3.32698 19.362C3.6146 19.9265 4.07354 20.3854 4.63803 20.673C5.27976 21 6.11984 21 7.8 21Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />\n</symbol>',viewBox:"0 0 24 24"});ue.add(Ge);const Ke=new G({id:"6a4ae14f6cf80dfe96ec4985f4a1f09a",content:'<symbol xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" id="6a4ae14f6cf80dfe96ec4985f4a1f09a">\n <path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-opacity=".7" stroke-width="1.5" d="M12 4v14l2 2h3m0 0a2 2 0 1 0 4 0 2 2 0 0 0-4 0ZM7 4h10M7 4a2 2 0 1 1-4 0 2 2 0 0 1 4 0Zm10 0a2 2 0 1 0 4 0 2 2 0 0 0-4 0Zm-5 8h5m0 0a2 2 0 1 0 4 0 2 2 0 0 0-4 0Z" />\n</symbol>',viewBox:"0 0 24 24"});ue.add(Ke);const Ze=new G({id:"28573ddc1fa4574541a30ea41dc809d3",content:'<symbol xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" id="28573ddc1fa4574541a30ea41dc809d3">\n <path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-opacity=".7" stroke-width="1.5" d="M16 4h2l2 2v14l-2 2H6l-2-2V6l2-2h2m1 11 2 2 5-4m-6-7h5l1-1V4v0-1l-1-1H9L8 3v2l1 1h1Z" />\n</symbol>',viewBox:"0 0 24 24"});ue.add(Ze);const Xe=new G({id:"5d13576ad53afa1a06870e7f2a89611c",content:'<symbol xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" id="5d13576ad53afa1a06870e7f2a89611c">\n <path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-opacity=".7" stroke-width="1.5" d="M14 11H8m2 4H8m8-8H8m12 0v13l-2 2H6l-2-2V4l2-2h12l2 2v3Z" />\n</symbol>',viewBox:"0 0 24 24"});ue.add(Xe);const Je=new G({id:"301433459aced022caf70a344436a818",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="301433459aced022caf70a344436a818">\n<path vector-effect="non-scaling-stroke" d="M20 7V6.8C20 5.11984 20 4.27976 19.673 3.63803C19.3854 3.07354 18.9265 2.6146 18.362 2.32698C17.7202 2 16.8802 2 15.2 2H8.8C7.11984 2 6.27976 2 5.63803 2.32698C5.07354 2.6146 4.6146 3.07354 4.32698 3.63803C4 4.27976 4 5.11984 4 6.8V17.2C4 18.8802 4 19.7202 4.32698 20.362C4.6146 20.9265 5.07354 21.3854 5.63803 21.673C6.27976 22 7.11984 22 8.8 22H12.5M12.5 11H8M11.5 15H8M16 7H8M18 18V12.5C18 11.6716 18.6716 11 19.5 11C20.3284 11 21 11.6716 21 12.5V18C21 19.6569 19.6569 21 18 21C16.3431 21 15 19.6569 15 18V14" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />\n</symbol>',viewBox:"0 0 24 24"});ue.add(Je);const Qe=new G({id:"8e25e3f623b611fe5142a6270ac7268d",content:'<symbol xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" id="8e25e3f623b611fe5142a6270ac7268d">\n <path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-opacity=".7" stroke-width="1.5" d="m13 7-1-2-1-1-1-1H3L2 4v3m0 0h18l2 2v10l-2 2H4l-2-2V7Z" />\n</symbol>',viewBox:"0 0 24 24"});ue.add(Qe);const et=new G({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"});ue.add(et);const tt=new G({id:"fcf877cdf00a9154483271d31c261114",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="fcf877cdf00a9154483271d31c261114">\n<path vector-effect="non-scaling-stroke" d="M20 6L9 17L4 12" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />\n</symbol>',viewBox:"0 0 24 24"});ue.add(tt);const nt=new G({id:"1bc28c2f0dfd279d91231ef6e553e638",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="1bc28c2f0dfd279d91231ef6e553e638">\n<path vector-effect="non-scaling-stroke" d="M13 5H21M13 9H18M13 15H21M13 19H18M3 17.012L4.99133 19L9 15M4 4H8C8.55228 4 9 4.44772 9 5V9C9 9.55228 8.55228 10 8 10H4C3.44772 10 3 9.55228 3 9V5C3 4.44772 3.44772 4 4 4Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />\n</symbol>',viewBox:"0 0 24 24"});ue.add(nt);const rt=new G({id:"472a7e86c3a9476a4f38bb06c801d30d",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="472a7e86c3a9476a4f38bb06c801d30d">\n<path vector-effect="non-scaling-stroke" d="M5 15C4.06812 15 3.60218 15 3.23463 14.8478C2.74458 14.6448 2.35523 14.2554 2.15224 13.7654C2 13.3978 2 12.9319 2 12V5.2C2 4.0799 2 3.51984 2.21799 3.09202C2.40973 2.71569 2.71569 2.40973 3.09202 2.21799C3.51984 2 4.0799 2 5.2 2H12C12.9319 2 13.3978 2 13.7654 2.15224C14.2554 2.35523 14.6448 2.74458 14.8478 3.23463C15 3.60218 15 4.06812 15 5M12.2 22H18.8C19.9201 22 20.4802 22 20.908 21.782C21.2843 21.5903 21.5903 21.2843 21.782 20.908C22 20.4802 22 19.9201 22 18.8V12.2C22 11.0799 22 10.5198 21.782 10.092C21.5903 9.71569 21.2843 9.40973 20.908 9.21799C20.4802 9 19.9201 9 18.8 9H12.2C11.0799 9 10.5198 9 10.092 9.21799C9.71569 9.40973 9.40973 9.71569 9.21799 10.092C9 10.5198 9 11.0799 9 12.2V18.8C9 19.9201 9 20.4802 9.21799 20.908C9.40973 21.2843 9.71569 21.5903 10.092 21.782C10.5198 22 11.0799 22 12.2 22Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />\n</symbol>',viewBox:"0 0 24 24"});ue.add(rt);const it=new G({id:"0e6dd40015c633a2be9271018b9b22bf",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="0e6dd40015c633a2be9271018b9b22bf">\n<path vector-effect="non-scaling-stroke" d="M4 16.2422C2.79401 15.435 2 14.0602 2 12.5C2 10.1564 3.79151 8.23129 6.07974 8.01937C6.54781 5.17213 9.02024 3 12 3C14.9798 3 17.4522 5.17213 17.9203 8.01937C20.2085 8.23129 22 10.1564 22 12.5C22 14.0602 21.206 15.435 20 16.2422M8 17L12 21M12 21L16 17M12 21V12" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />\n</symbol>',viewBox:"0 0 24 24"});ue.add(it);const ot=new G({id:"dacf24b7c84e8a250ab378b98cf65780",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="dacf24b7c84e8a250ab378b98cf65780">\n<path vector-effect="non-scaling-stroke" d="M5 9H19M5 15H19" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />\n</symbol>',viewBox:"0 0 24 24"});ue.add(ot);const at=new G({id:"f6af8233c5d208fa571aed090bfc4178",content:'<symbol xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 16 16" id="f6af8233c5d208fa571aed090bfc4178">\n <path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-opacity=".56" stroke-width="1.5" d="M1.613 8.475c-.09-.144-.136-.216-.161-.326a.782.782 0 0 1 0-.298c.025-.111.07-.183.161-.327C2.363 6.336 4.597 3.333 8 3.333c3.404 0 5.637 3.003 6.387 4.191.09.144.136.216.162.327.019.083.019.214 0 .298-.026.11-.071.182-.162.326-.75 1.188-2.983 4.191-6.387 4.191-3.403 0-5.636-3.003-6.387-4.19Z" />\n <path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-opacity=".56" stroke-width="1.5" d="M8 10a2 2 0 1 0 0-4 2 2 0 0 0 0 4Z" />\n</symbol>',viewBox:"0 0 16 16"});ue.add(at);const st=new G({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"});ue.add(st);const lt=new G({id:"e2bf3103166453fd92fed1c3c2fcc807",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="e2bf3103166453fd92fed1c3c2fcc807">\n<path vector-effect="non-scaling-stroke" d="M8 17H16M11.0177 2.764L4.23539 8.03912C3.78202 8.39175 3.55534 8.56806 3.39203 8.78886C3.24737 8.98444 3.1396 9.20478 3.07403 9.43905C3 9.70352 3 9.9907 3 10.5651V17.8C3 18.9201 3 19.4801 3.21799 19.908C3.40973 20.2843 3.71569 20.5903 4.09202 20.782C4.51984 21 5.07989 21 6.2 21H17.8C18.9201 21 19.4802 21 19.908 20.782C20.2843 20.5903 20.5903 20.2843 20.782 19.908C21 19.4801 21 18.9201 21 17.8V10.5651C21 9.9907 21 9.70352 20.926 9.43905C20.8604 9.20478 20.7526 8.98444 20.608 8.78886C20.4447 8.56806 20.218 8.39175 19.7646 8.03913L12.9823 2.764C12.631 2.49075 12.4553 2.35412 12.2613 2.3016C12.0902 2.25526 11.9098 2.25526 11.7387 2.3016C11.5447 2.35412 11.369 2.49075 11.0177 2.764Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />\n</symbol>',viewBox:"0 0 24 24"});ue.add(lt);const ct=new G({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"});ue.add(ct);const ut=new G({id:"db4c3937a96a0ed2c4446a44d3ed4487",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="db4c3937a96a0ed2c4446a44d3ed4487">\n<path vector-effect="non-scaling-stroke" d="M10.0002 13C10.4297 13.5741 10.9776 14.0491 11.6067 14.3929C12.2359 14.7367 12.9317 14.9411 13.6468 14.9923C14.362 15.0435 15.0798 14.9403 15.7515 14.6897C16.4233 14.4392 17.0333 14.047 17.5402 13.54L20.5402 10.54C21.451 9.59695 21.955 8.33394 21.9436 7.02296C21.9322 5.71198 21.4063 4.45791 20.4793 3.53087C19.5523 2.60383 18.2982 2.07799 16.9872 2.0666C15.6762 2.0552 14.4132 2.55918 13.4702 3.46997L11.7502 5.17997M14.0002 11C13.5707 10.4258 13.0228 9.95078 12.3936 9.60703C11.7645 9.26327 11.0687 9.05885 10.3535 9.00763C9.63841 8.95641 8.92061 9.0596 8.24885 9.31018C7.5771 9.56077 6.96709 9.9529 6.4602 10.46L3.4602 13.46C2.54941 14.403 2.04544 15.666 2.05683 16.977C2.06822 18.288 2.59407 19.542 3.52111 20.4691C4.44815 21.3961 5.70221 21.9219 7.01319 21.9333C8.32418 21.9447 9.58719 21.4408 10.5302 20.53L12.2402 18.82" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />\n</symbol>',viewBox:"0 0 24 24"});ue.add(ut);const dt=new G({id:"f346781556394af2bd92144ed8a81446",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="f346781556394af2bd92144ed8a81446">\n<path vector-effect="non-scaling-stroke" d="M21 9L21 3M21 3H15M21 3L13 11M10 5H7.8C6.11984 5 5.27976 5 4.63803 5.32698C4.07354 5.6146 3.6146 6.07354 3.32698 6.63803C3 7.27976 3 8.11984 3 9.8V16.2C3 17.8802 3 18.7202 3.32698 19.362C3.6146 19.9265 4.07354 20.3854 4.63803 20.673C5.27976 21 6.11984 21 7.8 21H14.2C15.8802 21 16.7202 21 17.362 20.673C17.9265 20.3854 18.3854 19.9265 18.673 19.362C19 18.7202 19 17.8802 19 16.2V14" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />\n</symbol>',viewBox:"0 0 24 24"});ue.add(dt);const ft=new G({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"});ue.add(ft);const ht=new G({id:"eb91e2adaaf820e51d7f9276a36ae9bc",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="eb91e2adaaf820e51d7f9276a36ae9bc">\n<path vector-effect="non-scaling-stroke" d="M21 21L16.65 16.65M19 11C19 15.4183 15.4183 19 11 19C6.58172 19 3 15.4183 3 11C3 6.58172 6.58172 3 11 3C15.4183 3 19 6.58172 19 11Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />\n</symbol>',viewBox:"0 0 24 24"});ue.add(ht);const pt=new G({id:"a3d8dc7d008afa216e105f1d0e428c8a",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="a3d8dc7d008afa216e105f1d0e428c8a">\n<path vector-effect="non-scaling-stroke" d="M3 8L15 8M15 8C15 9.65686 16.3431 11 18 11C19.6569 11 21 9.65685 21 8C21 6.34315 19.6569 5 18 5C16.3431 5 15 6.34315 15 8ZM9 16L21 16M9 16C9 17.6569 7.65685 19 6 19C4.34315 19 3 17.6569 3 16C3 14.3431 4.34315 13 6 13C7.65685 13 9 14.3431 9 16Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />\n</symbol>',viewBox:"0 0 24 24"});ue.add(pt);const gt=new G({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"});ue.add(gt);const mt=new G({id:"00720afc1b6bf51893d1d598043a4de1",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="00720afc1b6bf51893d1d598043a4de1">\n<path vector-effect="non-scaling-stroke" d="M18 6L6 18M6 6L18 18" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />\n</symbol>',viewBox:"0 0 24 24"});ue.add(mt);const vt=new G({id:"72dc6b01e3eb761c8218eb9909e841a6",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="72dc6b01e3eb761c8218eb9909e841a6">\n<path vector-effect="non-scaling-stroke" d="M12.9999 2L4.09332 12.6879C3.74451 13.1064 3.57011 13.3157 3.56744 13.4925C3.56512 13.6461 3.63359 13.7923 3.75312 13.8889C3.89061 14 4.16304 14 4.7079 14H11.9999L10.9999 22L19.9064 11.3121C20.2552 10.8936 20.4296 10.6843 20.4323 10.5075C20.4346 10.3539 20.3661 10.2077 20.2466 10.1111C20.1091 10 19.8367 10 19.2918 10H11.9999L12.9999 2Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />\n</symbol>',viewBox:"0 0 24 24"});ue.add(vt);const bt=new G({id:"2b588854ea2eb02a33849edc6074ba47",content:'<symbol fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" id="2b588854ea2eb02a33849edc6074ba47">\n <path d="M2.667 10s.667-.667 2.667-.667c2 0 3.333 1.333 5.333 1.333S13.334 10 13.334 10V2s-.667.666-2.667.666c-2 0-3.333-1.333-5.333-1.333S2.667 2 2.667 2v12.666" stroke="currentColor" stroke-opacity=".72" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />\n</symbol>',viewBox:"0 0 16 16"});ue.add(bt);const yt=new G({id:"e7a5450a50d9dbdceccdc513ec1c2df5",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="e7a5450a50d9dbdceccdc513ec1c2df5">\n<path vector-effect="non-scaling-stroke" d="M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />\n<path vector-effect="non-scaling-stroke" d="M9.5 8.96533C9.5 8.48805 9.5 8.24941 9.59974 8.11618C9.68666 8.00007 9.81971 7.92744 9.96438 7.9171C10.1304 7.90525 10.3311 8.03429 10.7326 8.29239L15.4532 11.3271C15.8016 11.551 15.9758 11.663 16.0359 11.8054C16.0885 11.9298 16.0885 12.0702 16.0359 12.1946C15.9758 12.337 15.8016 12.449 15.4532 12.6729L10.7326 15.7076C10.3311 15.9657 10.1304 16.0948 9.96438 16.0829C9.81971 16.0726 9.68666 15.9999 9.59974 15.8838C9.5 15.7506 9.5 15.512 9.5 15.0347V8.96533Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />\n</symbol>',viewBox:"0 0 24 24"});ue.add(yt);const _t=new G({id:"cf230c9fbe89a2e58d07758cd8433be3",content:'<symbol xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 16 16" id="cf230c9fbe89a2e58d07758cd8433be3">\n <g clip-path="url(#cf230c9fbe89a2e58d07758cd8433be3_a)">\n <path vector-effect="non-scaling-stroke" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="m9.566 3.1 1.3-1.3a1.607 1.607 0 0 1 2.267 0L14.2 2.867a1.6 1.6 0 0 1 0 2.266l-1.3 1.3m1.766-5.1-1 1m-.333 6.334a6 6 0 1 1-12 0 6 6 0 0 1 12 0Z" />\n </g>\n <defs>\n <clipPath id="cf230c9fbe89a2e58d07758cd8433be3_a">\n <path vector-effect="non-scaling-stroke" fill="currentColor" d="M0 0h16v16H0z" />\n </clipPath>\n </defs>\n</symbol>',viewBox:"0 0 16 16"});ue.add(_t);const wt=new G({id:"74dd05c5f266368b8b6322f3a7323966",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="74dd05c5f266368b8b6322f3a7323966">\n <path vector-effect="non-scaling-stroke" d="M16.2 21H6.93137C6.32555 21 6.02265 21 5.88238 20.8802C5.76068 20.7763 5.69609 20.6203 5.70865 20.4608C5.72312 20.2769 5.93731 20.0627 6.36569 19.6343L14.8686 11.1314C15.2646 10.7354 15.4627 10.5373 15.691 10.4632C15.8918 10.3979 16.1082 10.3979 16.309 10.4632C16.5373 10.5373 16.7354 10.7354 17.1314 11.1314L21 15V16.2M16.2 21C17.8802 21 18.7202 21 19.362 20.673C19.9265 20.3854 20.3854 19.9265 20.673 19.362C21 18.7202 21 17.8802 21 16.2M16.2 21H7.8C6.11984 21 5.27976 21 4.63803 20.673C4.07354 20.3854 3.6146 19.9265 3.32698 19.362C3 18.7202 3 17.8802 3 16.2V7.8C3 6.11984 3 5.27976 3.32698 4.63803C3.6146 4.07354 4.07354 3.6146 4.63803 3.32698C5.27976 3 6.11984 3 7.8 3H16.2C17.8802 3 18.7202 3 19.362 3.32698C19.9265 3.6146 20.3854 4.07354 20.673 4.63803C21 5.27976 21 6.11984 21 7.8V16.2M10.5 8.5C10.5 9.60457 9.60457 10.5 8.5 10.5C7.39543 10.5 6.5 9.60457 6.5 8.5C6.5 7.39543 7.39543 6.5 8.5 6.5C9.60457 6.5 10.5 7.39543 10.5 8.5Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />\n</symbol>',viewBox:"0 0 24 24"});ue.add(wt);const xt=new G({id:"59472a73e3c4c5e34794720bd8f10af7",content:'<symbol viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" fill="none" id="59472a73e3c4c5e34794720bd8f10af7">\n <path vector-effect="non-scaling-stroke" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-opacity="1" stroke-width="1.5" d="M12 3v18M8 3h11l2 2v14l-2 2H5l-2-2V5l2-2h3Z" />\n</symbol>',viewBox:"0 0 24 24"});ue.add(xt);const kt=new G({id:"a7ec9c9b2ab84be9a85639d7ee018535",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="a7ec9c9b2ab84be9a85639d7ee018535">\n <path vector-effect="non-scaling-stroke" d="M3 9H21M7.8 3H16.2C17.8802 3 18.7202 3 19.362 3.32698C19.9265 3.6146 20.3854 4.07354 20.673 4.63803C21 5.27976 21 6.11984 21 7.8V16.2C21 17.8802 21 18.7202 20.673 19.362C20.3854 19.9265 19.9265 20.3854 19.362 20.673C18.7202 21 17.8802 21 16.2 21H7.8C6.11984 21 5.27976 21 4.63803 20.673C4.07354 20.3854 3.6146 19.9265 3.32698 19.362C3 18.7202 3 17.8802 3 16.2V7.8C3 6.11984 3 5.27976 3.32698 4.63803C3.6146 4.07354 4.07354 3.6146 4.63803 3.32698C5.27976 3 6.11984 3 7.8 3Z" stroke="currentColor" stroke-opacity="1" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />\n</symbol>',viewBox:"0 0 24 24"});ue.add(kt);const Ct=new G({id:"217fc04c9aefedce6159f027086c12b3",content:'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" id="217fc04c9aefedce6159f027086c12b3">\n <path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-opacity=".7" stroke-width="1.5" d="m14 10 7-7m0 0h-6m6 0v6m-11 5-7 7m0 0h6m-6 0v-6" />\n</symbol>',viewBox:"0 0 24 24"});ue.add(Ct);const St=new G({id:"dd12d7a14d7b9ccc775f46c10d72715d",content:'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" id="dd12d7a14d7b9ccc775f46c10d72715d">\n <path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-opacity=".7" stroke-width="1.5" d="M4 14h6m0 0v6m0-6-7 7m17-11h-6m0 0V4m0 6 7-7" />\n</symbol>',viewBox:"0 0 24 24"});ue.add(St);const At=new G({id:"2cfef4a6ca3bcab80737e78fa35a1e8e",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="2cfef4a6ca3bcab80737e78fa35a1e8e">\n<path vector-effect="non-scaling-stroke" d="M15 9H15.01M15 15C18.3137 15 21 12.3137 21 9C21 5.68629 18.3137 3 15 3C11.6863 3 9 5.68629 9 9C9 9.27368 9.01832 9.54308 9.05381 9.80704C9.11218 10.2412 9.14136 10.4583 9.12172 10.5956C9.10125 10.7387 9.0752 10.8157 9.00469 10.9419C8.937 11.063 8.81771 11.1823 8.57913 11.4209L3.46863 16.5314C3.29568 16.7043 3.2092 16.7908 3.14736 16.8917C3.09253 16.9812 3.05213 17.0787 3.02763 17.1808C3 17.2959 3 17.4182 3 17.6627V19.4C3 19.9601 3 20.2401 3.10899 20.454C3.20487 20.6422 3.35785 20.7951 3.54601 20.891C3.75992 21 4.03995 21 4.6 21H6.33726C6.58185 21 6.70414 21 6.81923 20.9724C6.92127 20.9479 7.01881 20.9075 7.10828 20.8526C7.2092 20.7908 7.29568 20.7043 7.46863 20.5314L12.5791 15.4209C12.8177 15.1823 12.937 15.063 13.0581 14.9953C13.1843 14.9248 13.2613 14.8987 13.4044 14.8783C13.5417 14.8586 13.7588 14.8878 14.193 14.9462C14.4569 14.9817 14.7263 15 15 15Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />\n</symbol>',viewBox:"0 0 24 24"});ue.add(At);const Et=new G({id:"f5f0f4b804a352ab8e0f24140051bbe3",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="f5f0f4b804a352ab8e0f24140051bbe3">\n<path vector-effect="non-scaling-stroke" d="M8.99999 12H12M8.99999 12C8.99999 12.3965 9.07692 12.7751 9.21667 13.1216M8.99999 12C8.99999 11.6224 9.06975 11.2611 9.19707 10.9283M15 12H12M15 12C15 11.6224 14.9303 11.2611 14.8029 10.9283M15 12C15 12.3776 14.9303 12.7389 14.8029 13.0717M12 15V12M12 15C11.6219 15 11.2601 14.93 10.9269 14.8024M12 15C12.4299 15 12.8388 14.9096 13.2085 14.7467M12 9V12M12 9C12.4299 9 12.8388 9.09044 13.2085 9.25334M12 9C11.5908 9 11.2008 9.08191 10.8454 9.23022M12 12L9.82377 9.93503M12 12L14.3085 13.916M12 12L9.94168 14.1825M12 12L14.1762 9.93503M12 12L14.8029 10.9283M12 12L9.21667 13.1216M12 12L10.9269 14.8024M12 12L13.2085 9.25334M12 12L14.8029 13.0717M12 12L13.2085 14.7467M12 12L10.8454 9.23022M12 12L9.19707 10.9283M9.82377 9.93503C10.1094 9.63416 10.4567 9.39246 10.8454 9.23022M9.82377 9.93503C9.55415 10.2191 9.33956 10.5559 9.19707 10.9283M14.3085 13.916C14.5165 13.6657 14.6846 13.381 14.8029 13.0717M14.3085 13.916C14.0131 14.2716 13.6371 14.5578 13.2085 14.7467M9.94168 14.1825C9.62921 13.8877 9.38003 13.5266 9.21667 13.1216M9.94168 14.1825C10.224 14.4488 10.5579 14.661 10.9269 14.8024M14.1762 9.93503C14.4458 10.2191 14.6604 10.5559 14.8029 10.9283M14.1762 9.93503C13.9039 9.64814 13.5755 9.41504 13.2085 9.25334M22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />\n</symbol>',viewBox:"0 0 24 24"});ue.add(Et);const Tt=new G({id:"b53acf6616bc3217ee53f6fa11e30526",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="b53acf6616bc3217ee53f6fa11e30526">\n<path vector-effect="non-scaling-stroke" d="M5.5839 4.7328C6.33209 3.98462 7.17125 3.38527 8.06529 2.9339C7.43285 6.41756 8.46285 10.1468 11.158 12.842C13.8532 15.5372 17.5824 16.5672 21.0661 15.9347C20.6147 16.8288 20.0154 17.6679 19.2672 18.4161C15.4887 22.1946 9.36244 22.1946 5.5839 18.4161C1.80537 14.6376 1.80537 8.51134 5.5839 4.7328Z" stroke="currentColor" stroke-width="1.5" />\n</symbol>',viewBox:"0 0 24 24"});ue.add(Tt);const Mt=new G({id:"f6726cf2a294337e9b40efc54b12453b",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="f6726cf2a294337e9b40efc54b12453b">\n<path vector-effect="non-scaling-stroke" d="M22 12H20M19.071 19.0711L17.6567 17.6569M4 12H2M6.34292 6.34317L4.92871 4.92896M12 4V2M17.6567 6.34317L19.071 4.92896M12 22V20M4.92871 19.0711L6.34292 17.6569M18 12C18 15.3137 15.3137 18 12 18C8.68629 18 6 15.3137 6 12C6 8.68629 8.68629 6 12 6C15.3137 6 18 8.68629 18 12Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />\n</symbol>',viewBox:"0 0 24 24"});ue.add(Mt);const Lt=new G({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"});ue.add(Lt);const Dt=new G({id:"fcf01aebea5d02da45d4b8d3bac62b58",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="fcf01aebea5d02da45d4b8d3bac62b58">\n<path vector-effect="non-scaling-stroke" d="M12 9.5V13.5L14.5 15M12 5C7.30558 5 3.5 8.80558 3.5 13.5C3.5 18.1944 7.30558 22 12 22C16.6944 22 20.5 18.1944 20.5 13.5C20.5 8.80558 16.6944 5 12 5ZM12 5V2M10 2H14M20.329 5.59204L18.829 4.09204L19.579 4.84204M3.67102 5.59204L5.17102 4.09204L4.42102 4.84204" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />\n</symbol>',viewBox:"0 0 24 24"});ue.add(Dt);const Nt=new G({id:"ef04c87a5207f2ffaf69e06eb3c4633d",content:'<symbol xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 400 400" id="ef04c87a5207f2ffaf69e06eb3c4633d">\n <path fill="#2D4552" d="M136 222c-12 3-21 10-26 16 5-5 12-9 22-12 10-2 18-2 25-1v-6c-6 0-13 0-21 3Zm-27-46-48 12 3 3 40-10s0 7-5 14c9-7 10-19 10-19Zm40 112C82 306 46 228 35 188a227 227 0 0 1-7-45c-4 1-6 2-5 8 0 9 2 23 7 42 11 40 47 118 114 100 15-4 26-11 34-20-7 7-17 12-29 15Zm13-160v5h26l-2-5h-24Z" />\n <path fill="#2D4552" d="M194 168c12 3 18 11 21 19l14 3s-2-25-25-32c-22-6-36 12-37 14 6-4 15-8 27-4Zm105 19c-21-6-35 12-36 14 6-4 15-8 27-5 12 4 18 12 21 19l14 4s-2-26-26-32Zm-13 68-110-31s1 6 6 14l93 26 11-9Zm-76 66c-87-23-77-134-63-187 6-22 12-38 17-49-3 0-5 1-8 6-5 11-12 28-18 52-14 53-25 164 62 188 41 11 73-6 97-32a90 90 0 0 1-87 22Z" />\n <path fill="#E2574C" d="M162 262v-22l-63 18s5-27 37-36c10-3 19-3 26-2v-92h31l-10-24c-4-9-9-3-19 6-8 6-27 19-55 27-29 8-52 6-61 4-14-2-21-5-20 5 0 9 2 23 7 42 11 40 47 118 114 100 18-4 30-14 39-26h-26ZM61 188l48-12s-1 18-19 23-29-11-29-11Z" />\n <path fill="#2EAD33" d="M342 129c-13 2-43 5-79-5-37-10-62-27-71-35-14-12-20-20-26-8-5 11-12 29-19 53-14 53-24 164 63 187s134-78 148-131c6-24 9-42 10-54 1-14-9-10-26-7Zm-176 44s14-22 38-15c23 7 25 32 25 32l-63-17Zm57 96c-41-12-47-45-47-45l110 31s-22 26-63 14Zm39-68s14-21 37-14c24 6 26 32 26 32l-63-18Z" />\n <path fill="#D65348" d="m140 246-41 12s5-26 35-36l-23-86-2 1c-29 8-52 6-61 4-14-2-21-5-20 5 0 9 2 23 7 42 11 40 47 118 114 100h2l-11-42Zm-79-58 48-12s-1 18-19 23-29-11-29-11Z" />\n <path fill="#1D8D22" d="M225 269h-2c-41-12-47-45-47-45l57 16 30-116c-37-10-62-27-71-35-14-12-20-20-26-8-5 11-12 29-19 53-14 53-24 164 63 187l2 1 13-53Zm-59-96s14-22 38-15c23 7 25 32 25 32l-63-17Z" />\n <path fill="#C04B41" d="m142 245-11 4c3 14 7 28 14 40l4-1 9-3c-8-12-13-25-16-40Zm-4-102c-6 21-11 51-10 81l8-2 2-1a273 273 0 0 1 14-103l-8 5-6 20Z" />\n</symbol>',viewBox:"0 0 400 400"});ue.add(Nt);const Ot=new G({id:"4af8011a58a597dd8fd8c52187120c54",content:'<symbol xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 32 32" id="4af8011a58a597dd8fd8c52187120c54">\n <g clip-path="url(#4af8011a58a597dd8fd8c52187120c54_a)">\n <path fill="url(#4af8011a58a597dd8fd8c52187120c54_b)" fill-rule="evenodd" d="M22.23 4.66a3.6 3.6 0 0 1 5.1.04A16.08 16.08 0 0 1 31.97 16a3.6 3.6 0 1 1-7.2 0c0-2.4-.98-4.61-2.58-6.24a3.6 3.6 0 0 1 .03-5.1Z" clip-rule="evenodd" />\n <path fill="url(#4af8011a58a597dd8fd8c52187120c54_c)" fill-rule="evenodd" d="M12.4 3.6A3.6 3.6 0 0 1 16 0c4.4 0 8.4 1.8 11.29 4.66a3.6 3.6 0 0 1-5.06 5.13A8.87 8.87 0 0 0 16 7.2a3.6 3.6 0 0 1-3.6-3.6Z" clip-rule="evenodd" />\n <path fill="url(#4af8011a58a597dd8fd8c52187120c54_d)" fill-rule="evenodd" d="M0 16A16 16 0 0 1 16 0a3.6 3.6 0 0 1 0 7.2 8.8 8.8 0 0 0-6.21 15.04 3.6 3.6 0 0 1-5.13 5.06A16.08 16.08 0 0 1 0 16Z" clip-rule="evenodd" />\n <path fill="url(#4af8011a58a597dd8fd8c52187120c54_e)" fill-rule="evenodd" d="M4.66 22.24a3.6 3.6 0 0 1 5.1-.03 8.87 8.87 0 0 0 6.23 2.59 3.6 3.6 0 0 1 0 7.2c-4.4 0-8.4-1.8-11.3-4.66a3.6 3.6 0 0 1-.03-5.1Z" clip-rule="evenodd" />\n <path fill="url(#4af8011a58a597dd8fd8c52187120c54_f)" fill-rule="evenodd" d="M28.38 12.4a3.6 3.6 0 0 1 3.6 3.6A16 16 0 0 1 16 32a3.6 3.6 0 0 1 0-7.2 8.8 8.8 0 0 0 8.8-8.8 3.6 3.6 0 0 1 3.6-3.6Z" clip-rule="evenodd" />\n <path fill="url(#4af8011a58a597dd8fd8c52187120c54_g)" fill-rule="evenodd" d="M28.38 12.4a3.6 3.6 0 0 1 3.6 3.6v12.4a3.6 3.6 0 1 1-7.2 0V16a3.6 3.6 0 0 1 3.6-3.6Z" clip-rule="evenodd" />\n <g clip-path="url(#4af8011a58a597dd8fd8c52187120c54_h)">\n <path fill="url(#4af8011a58a597dd8fd8c52187120c54_i)" fill-rule="evenodd" d="M22.23 4.66a3.6 3.6 0 0 1 5.1.04A16.08 16.08 0 0 1 31.97 16a3.6 3.6 0 1 1-7.2 0c0-2.4-.98-4.61-2.58-6.24a3.6 3.6 0 0 1 .03-5.1Z" clip-rule="evenodd" />\n </g>\n </g>\n <defs>\n <linearGradient id="4af8011a58a597dd8fd8c52187120c54_b" x1="26.4" x2="28.8" y1="9.6" y2="15.01" gradientUnits="userSpaceOnUse">\n <stop stop-color="#7E22CE" />\n <stop offset="1" stop-color="#8B5CF6" />\n </linearGradient>\n <linearGradient id="4af8011a58a597dd8fd8c52187120c54_c" x1="26.8" x2="17.8" y1="9.4" y2="3.61" gradientUnits="userSpaceOnUse">\n <stop stop-color="#EF4444" />\n <stop offset="1" stop-color="#DC2626" />\n </linearGradient>\n <linearGradient id="4af8011a58a597dd8fd8c52187120c54_d" x1="3.6" x2="5.4" y1="14.01" y2="24.81" gradientUnits="userSpaceOnUse">\n <stop stop-color="#22C55E" />\n <stop offset="1" stop-color="#15803D" />\n </linearGradient>\n <linearGradient id="4af8011a58a597dd8fd8c52187120c54_e" x1="4.8" x2="14.4" y1="22.21" y2="29.21" gradientUnits="userSpaceOnUse">\n <stop stop-color="#94A3B8" />\n <stop offset=".96" stop-color="#64748B" />\n <stop offset="1" stop-color="#64748B" />\n </linearGradient>\n <linearGradient id="4af8011a58a597dd8fd8c52187120c54_f" x1="28.4" x2="22.19" y1="22.18" y2="28.4" gradientUnits="userSpaceOnUse">\n <stop stop-color="#D97706" />\n <stop offset="1" stop-color="#FBBF24" />\n </linearGradient>\n <linearGradient id="4af8011a58a597dd8fd8c52187120c54_g" x1="29.2" x2="30.63" y1="54.43" y2="54.28" gradientUnits="userSpaceOnUse">\n <stop stop-color="#FBBF24" />\n <stop offset="1" stop-color="#FBBF24" />\n </linearGradient>\n <linearGradient id="4af8011a58a597dd8fd8c52187120c54_i" x1="26.4" x2="28.8" y1="9.6" y2="15.01" gradientUnits="userSpaceOnUse">\n <stop stop-color="#7E22CE" />\n <stop offset="1" stop-color="#8B5CF6" />\n </linearGradient>\n <clipPath id="4af8011a58a597dd8fd8c52187120c54_a">\n <path fill="#fff" d="M0 0h32v32H0z" />\n </clipPath>\n <clipPath id="4af8011a58a597dd8fd8c52187120c54_h">\n <path fill="#fff" d="M24.8 12H32v8h-7.2z" />\n </clipPath>\n </defs>\n</symbol>',viewBox:"0 0 32 32"});ue.add(Ot);const Ft=new G({id:"9a80d543f66830af93634ae4d68aa0b7",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="9a80d543f66830af93634ae4d68aa0b7">\n<path vector-effect="non-scaling-stroke" fill-rule="evenodd" clip-rule="evenodd" d="M12 1C5.92487 1 1 5.92487 1 12C1 18.0751 5.92487 23 12 23C18.0751 23 23 18.0751 23 12C23 5.92487 18.0751 1 12 1ZM13 8C13 7.44772 12.5523 7 12 7C11.4477 7 11 7.44772 11 8V12C11 12.5523 11.4477 13 12 13C12.5523 13 13 12.5523 13 12V8ZM12 15C11.4477 15 11 15.4477 11 16C11 16.5523 11.4477 17 12 17H12.01C12.5623 17 13.01 16.5523 13.01 16C13.01 15.4477 12.5623 15 12.01 15H12Z" fill="currentColor" />\n</symbol>',viewBox:"0 0 24 24"});ue.add(Ft);const Rt=new G({id:"9fc212651ca048f099abf61155ea3483",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="9fc212651ca048f099abf61155ea3483">\n<path vector-effect="non-scaling-stroke" fill-rule="evenodd" clip-rule="evenodd" d="M12 1C5.92487 1 1 5.92487 1 12C1 18.0751 5.92487 23 12 23C18.0751 23 23 18.0751 23 12C23 5.92487 18.0751 1 12 1ZM17.2071 9.70711C17.5976 9.31658 17.5976 8.68342 17.2071 8.29289C16.8166 7.90237 16.1834 7.90237 15.7929 8.29289L10.5 13.5858L8.20711 11.2929C7.81658 10.9024 7.18342 10.9024 6.79289 11.2929C6.40237 11.6834 6.40237 12.3166 6.79289 12.7071L9.79289 15.7071C10.1834 16.0976 10.8166 16.0976 11.2071 15.7071L17.2071 9.70711Z" fill="currentColor" />\n</symbol>',viewBox:"0 0 24 24"});ue.add(Rt);const It=new G({id:"6f69a868093429cca2d18204c014d1de",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="6f69a868093429cca2d18204c014d1de">\n<path vector-effect="non-scaling-stroke" fill-rule="evenodd" clip-rule="evenodd" d="M12 1C5.92487 1 1 5.92487 1 12C1 18.0751 5.92487 23 12 23C18.0751 23 23 18.0751 23 12C23 5.92487 18.0751 1 12 1ZM10.9066 8.27123C11.3138 8.03191 11.7926 7.94443 12.2581 8.02428C12.7236 8.10413 13.1459 8.34615 13.45 8.70749C13.7542 9.06883 13.9207 9.52615 13.92 9.99847L13.92 9.99996C13.92 10.4691 13.5549 10.9582 12.8653 11.4179C12.5509 11.6275 12.2294 11.7889 11.9826 11.8986C11.8606 11.9529 11.7603 11.9929 11.6929 12.0186C11.663 12.03 11.6329 12.041 11.6027 12.0516C11.0794 12.2267 10.7968 12.7926 10.9713 13.3162C11.146 13.8401 11.7123 14.1233 12.2362 13.9486L12.4049 13.8876C12.5015 13.8508 12.6356 13.7971 12.7949 13.7263C13.1105 13.586 13.5391 13.3724 13.9747 13.082C14.7849 12.5419 15.9195 11.5312 15.92 10.0009C15.9213 9.05644 15.5883 8.14201 14.9801 7.41949C14.3717 6.69682 13.5273 6.21277 12.5962 6.05307C11.6652 5.89337 10.7077 6.06833 9.89327 6.54696C9.07886 7.02559 8.46013 7.77701 8.14666 8.66812C7.96339 9.18911 8.23716 9.76002 8.75815 9.9433C9.27914 10.1266 9.85006 9.85279 10.0333 9.33181C10.1901 8.88625 10.4994 8.51054 10.9066 8.27123ZM12 16C11.4477 16 11 16.4477 11 17C11 17.5522 11.4477 18 12 18H12.01C12.5623 18 13.01 17.5522 13.01 17C13.01 16.4477 12.5623 16 12.01 16H12Z" fill="currentColor" />\n</symbol>',viewBox:"0 0 24 24"});ue.add(It);const zt=new G({id:"27eb29a1af650efa3c8f236e96fd49b8",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="27eb29a1af650efa3c8f236e96fd49b8">\n<path vector-effect="non-scaling-stroke" fill-rule="evenodd" clip-rule="evenodd" d="M12 1C5.92487 1 1 5.92487 1 12C1 18.0751 5.92487 23 12 23C18.0751 23 23 18.0751 23 12C23 5.92487 18.0751 1 12 1ZM8 11C7.44772 11 7 11.4477 7 12C7 12.5523 7.44772 13 8 13H16C16.5523 13 17 12.5523 17 12C17 11.4477 16.5523 11 16 11H8Z" fill="currentColor" />\n</symbol>',viewBox:"0 0 24 24"});ue.add(zt);const Pt=new G({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"});ue.add(Pt);const Bt=new G({id:"d37b4d7c76a2a7896f3890561ed86f2d",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="d37b4d7c76a2a7896f3890561ed86f2d">\n<path vector-effect="non-scaling-stroke" fill-rule="evenodd" clip-rule="evenodd" d="M12 1C5.92487 1 1 5.92487 1 12C1 18.0751 5.92487 23 12 23C18.0751 23 23 18.0751 23 12C23 5.92487 18.0751 1 12 1ZM15.7071 8.29289C16.0976 8.68342 16.0976 9.31658 15.7071 9.70711L13.4142 12L15.7071 14.2929C16.0976 14.6834 16.0976 15.3166 15.7071 15.7071C15.3166 16.0976 14.6834 16.0976 14.2929 15.7071L12 13.4142L9.70711 15.7071C9.31658 16.0976 8.68342 16.0976 8.29289 15.7071C7.90237 15.3166 7.90237 14.6834 8.29289 14.2929L10.5858 12L8.29289 9.70711C7.90237 9.31658 7.90237 8.68342 8.29289 8.29289C8.68342 7.90237 9.31658 7.90237 9.70711 8.29289L12 10.5858L14.2929 8.29289C14.6834 7.90237 15.3166 7.90237 15.7071 8.29289Z" fill="currentColor" />\n</symbol>',viewBox:"0 0 24 24"});ue.add(Bt);const jt=new G({id:"eddd9bec4b080bb230775b072a486acc",content:'<symbol viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg" id="eddd9bec4b080bb230775b072a486acc">\n <circle cx="8" cy="8" r="7" stroke="currentColor" stroke-opacity="0.32" stroke-width="1.5" vector-effect="non-scaling-stroke" />\n <path d="M 15 8 A 7 7 0 0 1 8 15" stroke="currentColor" stroke-opacity="1" stroke-width="1.5" class="allure-spinner" vector-effect="non-scaling-stroke" />\n <style>\n #eddd9bec4b080bb230775b072a486acc .allure-spinner {\n transform-origin: center;\n animation: allure-spinner-spin 0.75s infinite ease-in-out;\n }\n\n @keyframes allure-spinner-spin {\n 100% {\n transform: rotate(360deg);\n }\n }\n </style>\n</symbol>',viewBox:"0 0 16 16"});ue.add(jt);const Yt=new G({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"});ue.add(Yt);const $t=new G({id:"baef59387353cd7f2939ebd4ddf30155",content:'<symbol viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg" id="baef59387353cd7f2939ebd4ddf30155">\n<g clip-path="url(#baef59387353cd7f2939ebd4ddf30155_clip0_428_25)">\n<path d="M5.24 22.51L6.67 21.09C5.10422 19.6841 3.87398 17.9447 3.07 16C5.1 10.93 10.7 7 16 7C17.3639 7.018 18.7154 7.26128 20 7.72L21.55 6.16C19.7927 5.41732 17.9077 5.02335 16 5C12.7405 5.12257 9.58839 6.19756 6.9332 8.09209C4.27802 9.98662 2.23616 12.6176 1.06 15.66C0.980569 15.8797 0.980569 16.1203 1.06 16.34C1.94825 18.697 3.38043 20.811 5.24 22.51Z" fill="currentColor" />\n<path d="M12 15.73C12.0695 14.7717 12.4817 13.8705 13.1611 13.1911C13.8405 12.5117 14.7417 12.0995 15.7 12.03L17.51 10.21C16.4958 9.94295 15.4292 9.94642 14.4168 10.2201C13.4043 10.4937 12.4812 11.028 11.7396 11.7696C10.998 12.5112 10.4637 13.4343 10.1901 14.4468C9.91642 15.4592 9.91295 16.5258 10.18 17.54L12 15.73Z" fill="currentColor" />\n<path d="M30.94 15.66C29.7933 12.6732 27.7981 10.087 25.2 8.22L30 3.41L28.59 2L2 28.59L3.41 30L8.51 24.9C10.7839 26.234 13.364 26.9574 16 27C19.2595 26.8774 22.4116 25.8024 25.0668 23.9079C27.722 22.0134 29.7638 19.3824 30.94 16.34C31.0194 16.1203 31.0194 15.8797 30.94 15.66ZM20 16C19.9958 16.7001 19.8079 17.3868 19.4551 17.9916C19.1023 18.5963 18.597 19.0978 17.9896 19.4461C17.3822 19.7943 16.6941 19.977 15.994 19.9759C15.2939 19.9749 14.6063 19.7901 14 19.44L19.44 14C19.7995 14.6057 19.9927 15.2957 20 16ZM16 25C13.9021 24.9634 11.8439 24.4214 10 23.42L12.54 20.88C13.6953 21.6816 15.0955 22.052 16.4961 21.9265C17.8967 21.8009 19.2087 21.1874 20.2031 20.1931C21.1974 19.1987 21.8109 17.8867 21.9365 16.4861C22.062 15.0855 21.6916 13.6853 20.89 12.53L23.76 9.66C26.0546 11.235 27.849 13.4354 28.93 16C26.9 21.07 21.3 25 16 25Z" fill="currentColor" />\n</g>\n<defs>\n<clipPath id="baef59387353cd7f2939ebd4ddf30155_clip0_428_25">\n<rect width="32" height="32" fill="white" />\n</clipPath>\n</defs>\n</symbol>',viewBox:"0 0 32 32"});ue.add($t);const qt=new G({id:"81703ad6b4eb056b5d8424a52fc8c0e8",content:'<symbol viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg" id="81703ad6b4eb056b5d8424a52fc8c0e8">\n<g clip-path="url(#81703ad6b4eb056b5d8424a52fc8c0e8_clip0_428_24)">\n<path d="M30.94 15.66C29.7638 12.6176 27.722 9.98662 25.0668 8.09209C22.4116 6.19756 19.2595 5.12257 16 5C12.7405 5.12257 9.58839 6.19756 6.9332 8.09209C4.27802 9.98662 2.23616 12.6176 1.06 15.66C0.980569 15.8797 0.980569 16.1203 1.06 16.34C2.23616 19.3824 4.27802 22.0134 6.9332 23.9079C9.58839 25.8024 12.7405 26.8774 16 27C19.2595 26.8774 22.4116 25.8024 25.0668 23.9079C27.722 22.0134 29.7638 19.3824 30.94 16.34C31.0194 16.1203 31.0194 15.8797 30.94 15.66ZM16 25C10.7 25 5.1 21.07 3.07 16C5.1 10.93 10.7 7 16 7C21.3 7 26.9 10.93 28.93 16C26.9 21.07 21.3 25 16 25Z" fill="currentColor" />\n<path d="M16 10C14.8133 10 13.6533 10.3519 12.6666 11.0112C11.6799 11.6705 10.9109 12.6075 10.4567 13.7039C10.0026 14.8003 9.88378 16.0067 10.1153 17.1705C10.3468 18.3344 10.9182 19.4035 11.7574 20.2426C12.5965 21.0818 13.6656 21.6532 14.8295 21.8847C15.9933 22.1162 17.1997 21.9974 18.2961 21.5433C19.3925 21.0892 20.3295 20.3201 20.9888 19.3334C21.6481 18.3467 22 17.1867 22 16C22 14.4087 21.3679 12.8826 20.2426 11.7574C19.1174 10.6321 17.5913 10 16 10ZM16 20C15.2089 20 14.4355 19.7654 13.7777 19.3259C13.1199 18.8864 12.6072 18.2616 12.3045 17.5307C12.0017 16.7998 11.9225 15.9956 12.0769 15.2196C12.2312 14.4437 12.6122 13.731 13.1716 13.1716C13.731 12.6122 14.4437 12.2312 15.2196 12.0769C15.9956 11.9225 16.7998 12.0017 17.5307 12.3045C18.2616 12.6072 18.8864 13.1199 19.3259 13.7777C19.7654 14.4355 20 15.2089 20 16C20 17.0609 19.5786 18.0783 18.8284 18.8284C18.0783 19.5786 17.0609 20 16 20Z" fill="currentColor" />\n</g>\n<defs>\n<clipPath id="81703ad6b4eb056b5d8424a52fc8c0e8_clip0_428_24">\n<rect width="32" height="32" fill="white" />\n</clipPath>\n</defs>\n</symbol>',viewBox:"0 0 32 32"});ue.add(qt);var Ht={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"},Ut=0;function Wt(e,t,n,i,o,a){t||(t={});var s,l,c=t;if("ref"in c)for(l in c={},t)"ref"==l?s=t[l]:c[l]=t[l];var u={type:e,props:c,key:n,ref:s,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:--Ut,__i:-1,__u:0,__source:o,__self:a};if("function"==typeof e&&(s=e.defaultProps))for(l in s)void 0===c[l]&&(c[l]=s[l]);return r.fF.vnode&&r.fF.vnode(u),u}const Vt={amazon:ve.id,arrowsChevronDown:be.id,azure:ye.id,bitbucket:_e.id,circleci:we.id,draggable:xe.id,drone:ke.id,environment:Ce.id,github:Se.id,gitlab:Ae.id,jenkins:Ee.id,lineAlertsAlertCircle:Te.id,lineAlertsFixed:Me.id,lineAlertsMalfunctioned:Le.id,lineAlertsNew:De.id,lineAlertsNotificationBox:Ne.id,lineAlertsRegressed:Oe.id,lineArrowsChevronDown:Re.id,lineArrowsChevronDownDouble:Fe.id,lineArrowsChevronRight:Ie.id,lineArrowsChevronUp:Pe.id,lineArrowsChevronUpDouble:ze.id,lineArrowsCornerDownRight:Be.id,lineArrowsExpand3:je.id,lineArrowsRefreshCcw1:Ye.id,lineArrowsSortLineAsc:$e.id,lineArrowsSortLineDesc:qe.id,lineArrowsSwitchVertical1:He.id,lineChartsBarChartSquare:Ue.id,lineChartsTimeline:We.id,lineDevBug2:Ve.id,lineDevCodeSquare:Ge.id,lineDevDataflow3:Ke.id,lineFilesClipboardCheck:Ze.id,lineFilesFile2:Xe.id,lineFilesFileAttachment2:Je.id,lineFilesFolder:Qe.id,lineGeneralCheck:tt.id,lineGeneralCheckCircle:et.id,lineGeneralChecklist3:nt.id,lineGeneralCopy3:rt.id,lineGeneralDownloadCloud:it.id,lineGeneralEqual:ot.id,lineGeneralEye:at.id,lineGeneralHelpCircle:st.id,lineGeneralHomeLine:lt.id,lineGeneralInfoCircle:ct.id,lineGeneralLink1:ut.id,lineGeneralLinkExternal:dt.id,lineGeneralMinusCircle:ft.id,lineGeneralSearchMd:ht.id,lineGeneralSettings1:pt.id,lineGeneralXCircle:gt.id,lineGeneralXClose:mt.id,lineGeneralZap:vt.id,lineHelpersFlag:bt.id,lineHelpersPlayCircle:yt.id,lineIconBomb2:_t.id,lineImagesImage:wt.id,lineLayoutsColumn2:xt.id,lineLayoutsLayoutTop:kt.id,lineLayoutsMaximize2:Ct.id,lineLayoutsMinimize2:St.id,lineSecurityKey:At.id,lineShapesDotCircle:Et.id,lineShapesMoon:Tt.id,lineShapesSun:Mt.id,lineShapesThemeAuto:Lt.id,lineTimeClockStopwatch:Dt.id,playwrightLogo:Nt.id,reportLogo:Ot.id,solidAlertCircle:Ft.id,solidCheckCircle:Rt.id,solidHelpCircle:It.id,solidMinusCircle:zt.id,solidPlusCircle:Pt.id,solidXCircle:Bt.id,spinner:jt.id,testNew:Yt.id,view:qt.id,viewOff:$t.id},Gt=({id:e,size:t="s",inline:n=!1,className:r="","data-testid":i,...o})=>Wt("svg",{...o,className:D(Ht.icon,Ht[`size-${t}`],n&&Ht.inline,r),"data-testid":i,children:Wt("use",{xlinkHref:`#${e}`})}),Kt=({size:e})=>Wt(Gt,{role:"progressbar",id:jt.id,size:e}),Zt=({size:e="m",tag:t="span",type:n="paragraph",bold:r=!1,className:i,children:o,...a})=>"paragraph"===n?Wt(t,{...a,className:D(`paragraphs-text-${e}${r?"-bold":""}`,i),children:o}):"ui"===n?Wt(t,{...a,className:D(`ui-text-${e}-ui${r?"-bold":""}`,i),children:o}):null,Xt=({size:e="m",tag:t="span",type:n="paragraph",bold:r=!1,className:i,children:o,...a})=>"paragraph"===n?Wt(t,{...a,className:D(`paragraphs-code-${e}${r?"-bold":""}`,i),children:o}):"ui"===n?Wt(t,{...a,className:D(`ui-code-${e}-ui${r?"-bold":""}`,i),children:o}):null,Jt=({size:e="m",tag:t="span",className:n,children:r,...i})=>Wt(t,{...i,className:D(`headings-head-${e}`,n),children:r});var Qt={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 en=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,...A}=e,E=d||a,T={...A,tabIndex:g?0:-1,className:D(Qt.button,f&&Qt.buttonIcon,Qt[`size_${s}`],Qt[`icon_size_${i}`],Qt[`style_${l}`],"danger"===c&&Qt.danger,"positive"===c&&Qt.positive,a&&Qt.pending,k&&Qt.textTruncatedButton,u&&Qt.fullWidth,!E&&p&&Qt.active,b),onClick:o,"data-rounded":w||void 0,"data-link":x||void 0,"data-icon-color":"default"===c&&C||void 0},M=Wt(Zt,{type:"ui",size:"s"===s?"s":"m",bold:!0,className:Qt.content,children:[r&&Wt(Gt,{size:"s",className:f?Qt.contentIcon:Qt.leadingIcon,id:r}),y&&Wt("div",{className:Qt.leadingSlot,children:y}),!f&&Wt("span",{ref:S,className:D(Qt.text,k&&Qt.textTruncated),children:t}),_&&Wt("div",{className:Qt.trailingSlot,children:_}),h&&Wt(Gt,{id:Vt.lineArrowsChevronDown,size:"s",className:Qt.dropdownIcon}),Wt("span",{className:Qt.spinner,"aria-hidden":!a,children:Wt(Kt,{})})]});return m?Wt("a",{...T,href:m,target:v,"aria-disabled":E?"true":void 0,style:E?{pointerEvents:"none"}:void 0,children:M}):Wt("button",{...T,disabled:E,type:n,children:M})},tn=e=>Wt(en,{...e}),nn=e=>Wt(en,{...e,isIconButton:!0}),rn=e=>Wt(en,{...e,isDropdownButton:!0,isActive:e.isExpanded}),on=e=>Wt(en,{...e,href:e.href,target:e.target,isLink:!0}),an=["failed","broken","passed","skipped","unknown"],sn=new Set(["failed","broken"]),ln=new Set(["passed"]),cn=new Set([...sn,...ln]),un=e=>{const t=new Set(e);return e=>t.has(e.status)};var dn;un(ln),un(sn),un(cn),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"}(dn||(dn={}));const fn=[{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}],hn=e=>{if(void 0===e)return"unknown";if(e<.5)return"0s";const t=[];for(const{accessor:n,suffix:r}of fn){const i=n(e);if((0!==t.length||i)&&(t.push(i+r),t.length>1))break}return t.join(" ")},pn=new Set(["http:","https:","mailto:","tel:"]),gn=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(pn.has(r))try{return new URL(t).toString()}catch{return}},mn=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 vn(),i&&r.searchParams.set("live_reload_hash",i),r.toString()})(e,t);return globalThis.fetch(n)},vn=()=>globalThis.allureReportOptions,bn=async({id:e,ext:t,contentType:n})=>mn(`data/attachments/${e||"-"}${t||""}?attachment`,n),yn=async(e,t,n)=>{const r=await bn({id:e,ext:t,contentType:n});return await r.blob()},_n=["text/html","text/csv","text/markdown","text/tab-separated-values","text/uri-list"],wn=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"]),xn=new Set(["text/plain","text/*","text/uri-list"]),kn=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"]),Cn=e=>{const t=e.lastIndexOf(".");if(!(t<=0||t===e.length-1))return e.slice(t)},Sn=e=>{const t=e?.split(";")[0].trim().toLowerCase();switch(t){case"image/bmp":case"image/gif":case"image/tiff":case"image/jpeg":case"image/jpg":case"image/png":case"image/*":return"image";case"text/xml":case"text/json":case"text/yaml":case"text/javascript":case"text/typescript":case"text/ruby":case"text/python":case"text/php":case"text/java":case"text/csharp":case"text/cpp":case"text/c":case"text/go":case"text/rust":case"text/swift":case"text/kotlin":case"text/scala":case"text/perl":case"text/r":case"text/dart":case"text/lua":case"text/haskell":case"text/sql":case"text/x-yaml":case"text/css":case"application/yaml":case"application/x-yaml":case"application/xml":case"application/json":return"code";case"text/plain":case"text/*":return"text";case"text/markdown":return"markdown";case"text/html":return"html";case"text/csv":case"text/tab-separated-values":return"table";case"image/svg+xml":return"svg";case"video/mp4":case"video/ogg":case"video/webm":return"video";case"text/uri-list":return"uri";case"application/x-tar":case"application/x-gtar":case"application/x-bzip2":case"application/gzip":case"application/zip":return"archive";case"application/vnd.allure.image.diff":return"image-diff";case"application/vnd.allure.http+json":return"http";default:return null}},An={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 En,Tn,Mn;function Ln(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function Dn(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function Nn(){}!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"}(En||(En={})),function(e){e.Status="status",e.Severity="severity"}(Tn||(Tn={})),function(e){e.Raw="raw",e.Percent="percent",e.Diverging="diverging"}(Mn||(Mn={})),En.CurrentStatus,En.StatusDynamics,En.TrSeverities,En.StatusTransitions,En.TestBaseGrowthDynamics,En.CoverageDiff,En.SuccessRateDistribution,En.ProblemsDistribution,En.StabilityDistribution,En.StabilityDistribution,En.StabilityDistribution,En.Durations,En.Durations,En.DurationDynamics,En.StatusAgePyramid,En.TestingPyramid;var On=.7,Fn=1/On,Rn="\\s*([+-]?\\d+)\\s*",In="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",zn="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",Pn=/^#([0-9a-f]{3,8})$/,Bn=new RegExp(`^rgb\\(${Rn},${Rn},${Rn}\\)$`),jn=new RegExp(`^rgb\\(${zn},${zn},${zn}\\)$`),Yn=new RegExp(`^rgba\\(${Rn},${Rn},${Rn},${In}\\)$`),$n=new RegExp(`^rgba\\(${zn},${zn},${zn},${In}\\)$`),qn=new RegExp(`^hsl\\(${In},${zn},${zn}\\)$`),Hn=new RegExp(`^hsla\\(${In},${zn},${zn},${In}\\)$`),Un={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 Wn(){return this.rgb().formatHex()}function Vn(){return this.rgb().formatRgb()}function Gn(e){var t,n;return e=(e+"").trim().toLowerCase(),(t=Pn.exec(e))?(n=t[1].length,t=parseInt(t[1],16),6===n?Kn(t):3===n?new Qn(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===n?Zn(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===n?Zn(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=Bn.exec(e))?new Qn(t[1],t[2],t[3],1):(t=jn.exec(e))?new Qn(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=Yn.exec(e))?Zn(t[1],t[2],t[3],t[4]):(t=$n.exec(e))?Zn(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=qn.exec(e))?or(t[1],t[2]/100,t[3]/100,1):(t=Hn.exec(e))?or(t[1],t[2]/100,t[3]/100,t[4]):Un.hasOwnProperty(e)?Kn(Un[e]):"transparent"===e?new Qn(NaN,NaN,NaN,0):null}function Kn(e){return new Qn(e>>16&255,e>>8&255,255&e,1)}function Zn(e,t,n,r){return r<=0&&(e=t=n=NaN),new Qn(e,t,n,r)}function Xn(e){return e instanceof Nn||(e=Gn(e)),e?new Qn((e=e.rgb()).r,e.g,e.b,e.opacity):new Qn}function Jn(e,t,n,r){return 1===arguments.length?Xn(e):new Qn(e,t,n,null==r?1:r)}function Qn(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function er(){return`#${ir(this.r)}${ir(this.g)}${ir(this.b)}`}function tr(){const e=nr(this.opacity);return`${1===e?"rgb(":"rgba("}${rr(this.r)}, ${rr(this.g)}, ${rr(this.b)}${1===e?")":`, ${e})`}`}function nr(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function rr(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function ir(e){return((e=rr(e))<16?"0":"")+e.toString(16)}function or(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new sr(e,t,n,r)}function ar(e){if(e instanceof sr)return new sr(e.h,e.s,e.l,e.opacity);if(e instanceof Nn||(e=Gn(e)),!e)return new sr;if(e instanceof sr)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 sr(a,s,l,e.opacity)}function sr(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function lr(e){return(e=(e||0)%360)<0?e+360:e}function cr(e){return Math.max(0,Math.min(1,e||0))}function ur(e,t,n){return 255*(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)}Ln(Nn,Gn,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:Wn,formatHex:Wn,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return ar(this).formatHsl()},formatRgb:Vn,toString:Vn}),Ln(Qn,Jn,Dn(Nn,{brighter(e){return e=null==e?Fn:Math.pow(Fn,e),new Qn(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=null==e?On:Math.pow(On,e),new Qn(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new Qn(rr(this.r),rr(this.g),rr(this.b),nr(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:er,formatHex:er,formatHex8:function(){return`#${ir(this.r)}${ir(this.g)}${ir(this.b)}${ir(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:tr,toString:tr})),Ln(sr,(function(e,t,n,r){return 1===arguments.length?ar(e):new sr(e,t,n,null==r?1:r)}),Dn(Nn,{brighter(e){return e=null==e?Fn:Math.pow(Fn,e),new sr(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=null==e?On:Math.pow(On,e),new sr(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 Qn(ur(e>=240?e-240:e+120,i,r),ur(e,i,r),ur(e<120?e+240:e-120,i,r),this.opacity)},clamp(){return new sr(lr(this.h),cr(this.s),cr(this.l),nr(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const e=nr(this.opacity);return`${1===e?"hsl(":"hsla("}${lr(this.h)}, ${100*cr(this.s)}%, ${100*cr(this.l)}%${1===e?")":`, ${e})`}`}}));const dr=Math.PI/180,fr=180/Math.PI;var hr=-.14861,pr=1.78277,gr=-.29227,mr=-.90649,vr=1.97294,br=vr*mr,yr=vr*pr,_r=pr*gr-mr*hr;function wr(e,t,n,r){return 1===arguments.length?function(e){if(e instanceof xr)return new xr(e.h,e.s,e.l,e.opacity);e instanceof Qn||(e=Xn(e));var t=e.r/255,n=e.g/255,r=e.b/255,i=(_r*r+br*t-yr*n)/(_r+br-yr),o=r-i,a=(vr*(n-i)-gr*o)/mr,s=Math.sqrt(a*a+o*o)/(vr*i*(1-i)),l=s?Math.atan2(a,o)*fr-120:NaN;return new xr(l<0?l+360:l,s,i,e.opacity)}(e):new xr(e,t,n,null==r?1:r)}function xr(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}Ln(xr,wr,Dn(Nn,{brighter(e){return e=null==e?Fn:Math.pow(Fn,e),new xr(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=null==e?On:Math.pow(On,e),new xr(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=isNaN(this.h)?0:(this.h+120)*dr,t=+this.l,n=isNaN(this.s)?0:this.s*t*(1-t),r=Math.cos(e),i=Math.sin(e);return new Qn(255*(t+n*(hr*r+pr*i)),255*(t+n*(gr*r+mr*i)),255*(t+n*(vr*r)),this.opacity)}}));var kr=e=>()=>e;function Cr(e,t){return function(n){return e+n*t}}function Sr(e,t){var n=t-e;return n?Cr(e,n):kr(isNaN(e)?t:e)}var Ar,Er=function e(t){var n=function(e){return 1==(e=+e)?Sr: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):kr(isNaN(t)?n:t)}}(t);function r(e,t){var r=n((e=Jn(e)).r,(t=Jn(t)).r),i=n(e.g,t.g),o=n(e.b,t.b),a=Sr(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),Tr=(Ar=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=Jn(e[t]),i[t]=n.r||0,o[t]=n.g||0,a[t]=n.b||0;return i=Ar(i),o=Ar(o),a=Ar(a),n.opacity=1,function(e){return n.r=i(e),n.g=o(e),n.b=a(e),n+""}});function Mr(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 Lr(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]=zr(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 Dr(e,t){var n=new Date;return e=+e,t=+t,function(r){return n.setTime(e*(1-r)+t*r),n}}function Nr(e,t){return e=+e,t=+t,function(n){return e*(1-n)+t*n}}function Or(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]=zr(e[n],t[n]):i[n]=t[n];return function(e){for(n in r)i[n]=r[n](e);return i}}var Fr=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,Rr=new RegExp(Fr.source,"g");function Ir(e,t){var n,r,i,o=Fr.lastIndex=Rr.lastIndex=0,a=-1,s=[],l=[];for(e+="",t+="";(n=Fr.exec(e))&&(r=Rr.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:Nr(n,r)})),o=Rr.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 zr(e,t){var n,r=typeof t;return null==t||"boolean"===r?kr(t):("number"===r?Nr:"string"===r?(n=Gn(t))?(t=n,Er):Ir:t instanceof Gn?Er:t instanceof Date?Dr:function(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}(t)?Mr:Array.isArray(t)?Lr:"function"!=typeof t.valueOf&&"function"!=typeof t.toString||isNaN(t)?Or:Nr)(e,t)}function Pr(e,t){return e=+e,t=+t,function(n){return Math.round(e*(1-n)+t*n)}}var Br,jr=180/Math.PI,Yr={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function $r(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)*jr,skewX:Math.atan(l)*jr,scaleX:a,scaleY:s}}function qr(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:Nr(e,i)},{i:l-2,x:Nr(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:Nr(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:Nr(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:Nr(e,n)},{i:s-2,x:Nr(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 Hr=qr((function(e){const t=new("function"==typeof DOMMatrix?DOMMatrix:WebKitCSSMatrix)(e+"");return t.isIdentity?Yr:$r(t.a,t.b,t.c,t.d,t.e,t.f)}),"px, ","px)","deg)"),Ur=qr((function(e){return null==e?Yr:(Br||(Br=document.createElementNS("http://www.w3.org/2000/svg","g")),Br.setAttribute("transform",e),(e=Br.transform.baseVal.consolidate())?$r((e=e.matrix).a,e.b,e.c,e.d,e.e,e.f):Yr)}),", ",")",")");function Wr(e){return function t(n){function r(t,r){var i=e((t=wr(t)).h,(r=wr(r)).h),o=Sr(t.s,r.s),a=Sr(t.l,r.l),s=Sr(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)}Wr((function(e,t){var n=t-e;return n?Cr(e,n>180||n<-180?n-360*Math.round(n/360):n):kr(isNaN(e)?t:e)}));var Vr=Wr(Sr);function Gr(e,t){return null==e||null==t?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function Kr(e,t){return null==e||null==t?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function Zr(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=Gr,n=(t,n)=>Gr(e(t),n),r=(t,n)=>e(t)-n):(t=e===Gr||e===Kr?e:Xr,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 Xr(){return 0}const Jr=Zr(Gr).right;Zr((function(e){return null===e?NaN:+e})).center;class Qr extends Map{constructor(e,t=ti){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(ei(this,e))}has(e){return super.has(ei(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 ei({_intern:e,_key:t},n){const r=t(n);return e.has(r)?e.get(r):n}function ti(e){return null!==e&&"object"==typeof e?e.valueOf():e}const ni=Math.sqrt(50),ri=Math.sqrt(10),ii=Math.sqrt(2);function oi(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>=ni?10:o>=ri?5:o>=ii?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?oi(e,t,2*n):[s,l,c]}function ai(e,t,n){if(!((n=+n)>0))return[];if((e=+e)==(t=+t))return[e];const r=t<e,[i,o,a]=r?oi(t,e,n):oi(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 si(e,t,n){return oi(e=+e,t=+t,n=+n)[2]}function li(e,t,n){n=+n;const r=(t=+t)<(e=+e),i=r?si(t,e,n):si(e,t,n);return(r?-1:1)*(i<0?1/-i:i)}function ci(e,t){let n;if(void 0===t)for(const t of e)null!=t&&(n<t||void 0===n&&t>=t)&&(n=t);else{let r=-1;for(let i of e)null!=(i=t(i,++r,e))&&(n<i||void 0===n&&i>=i)&&(n=i)}return n}function ui(e,t){let n;if(void 0===t)for(const t of e)null!=t&&(n>t||void 0===n&&t>=t)&&(n=t);else{let r=-1;for(let i of e)null!=(i=t(i,++r,e))&&(n>i||void 0===n&&i>=i)&&(n=i)}return n}function di(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e)}return this}function fi(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 hi=Symbol("implicit");function pi(){var e=new Qr,t=[],n=[],r=hi;function i(i){let o=e.get(i);if(void 0===o){if(r!==hi)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 Qr;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 pi(t,n).unknown(r)},di.apply(i,arguments),i}function gi(){var e,t,n=pi().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 gi(r(),[o,a]).round(s).paddingInner(l).paddingOuter(c).align(u)},di.apply(d(),arguments)}function mi(e){var t=e.copy;return e.padding=e.paddingOuter,delete e.paddingInner,delete e.paddingOuter,e.copy=function(){return mi(t())},e}function vi(){return mi(gi.apply(null,arguments).paddingInner(1))}function bi(e){return+e}var yi=[0,1];function _i(e){return e}function wi(e,t){return(t-=e=+e)?function(n){return(n-e)/t}:function(e){return function(){return e}}(isNaN(t)?NaN:.5)}function xi(e,t,n){var r=e[0],i=e[1],o=t[0],a=t[1];return i<r?(r=wi(i,r),o=n(a,o)):(r=wi(r,i),o=n(o,a)),function(e){return o(r(e))}}function ki(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]=wi(e[a],e[a+1]),o[a]=n(t[a],t[a+1]);return function(t){var n=Jr(e,t,1,r)-1;return o[n](i[n](t))}}function Ci(e,t){return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown())}function Si(){var e,t,n,r,i,o,a=yi,s=yi,l=zr,c=_i;function u(){var e=Math.min(a.length,s.length);return c!==_i&&(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?ki:xi,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),Nr)))(n)))},d.domain=function(e){return arguments.length?(a=Array.from(e,bi),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=Pr,u()},d.clamp=function(e){return arguments.length?(c=!!e||_i,u()):c!==_i},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 Ai(){return Si()(_i,_i)}function Ei(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 Ti(e){return(e=Ei(Math.abs(e)))?e[1]:NaN}var Mi,Li=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function Di(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=Ei(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")}Di.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 Fi={"%":(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)=>Oi(100*e,t),r:Oi,s:function(e,t){var n=Ei(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")+Ei(e,Math.max(0,t+o-1))[0]},X:e=>Math.round(e).toString(16).toUpperCase(),x:e=>Math.round(e).toString(16)};function Ri(e){return e}var Ii,zi,Pi,Bi=Array.prototype.map,ji=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function Yi(e){var t=e.domain;return e.ticks=function(e){var n=t();return ai(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=li(e,t,n);switch((r=Di(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(Ti(t)/3)))-Ti(Math.abs(e)))}(o,a))||(r.precision=i),Pi(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,Ti(t)-Ti(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,-Ti(Math.abs(e)))}(o))||(r.precision=i-2*("%"===r.type))}return zi(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=si(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 $i(){var e=Ai();return e.copy=function(){return Ci(e,$i())},di.apply(e,arguments),Yi(e)}function qi(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 Hi(e){return Math.log(e)}function Ui(e){return Math.exp(e)}function Wi(e){return-Math.log(-e)}function Vi(e){return-Math.exp(-e)}function Gi(e){return isFinite(e)?+("1e"+e):e<0?0:e}function Ki(e){return(t,n)=>-e(-t,n)}function Zi(){const e=function(e){const t=e(Hi,Ui),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?Gi:e===Math.E?Math.exp:t=>Math.pow(e,t)}(o),n()[0]<0?(r=Ki(r),i=Ki(i),e(Wi,Vi)):e(Hi,Ui),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=ai(a,s,h))}else p=ai(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=Di(n)).precision||(n.trim=!0),n=zi(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(qi(n(),{floor:e=>i(Math.floor(r(e))),ceil:e=>i(Math.ceil(r(e)))})),t}(Si()).domain([1,10]);return e.copy=()=>Ci(e,Zi()).base(e.base()),di.apply(e,arguments),e}function Xi(e){return function(t){return Math.sign(t)*Math.log1p(Math.abs(t/e))}}function Ji(e){return function(t){return Math.sign(t)*Math.expm1(Math.abs(t))*e}}function Qi(){var e=function(e){var t=1,n=e(Xi(t),Ji(t));return n.constant=function(n){return arguments.length?e(Xi(t=+n),Ji(t)):t},Yi(n)}(Si());return e.copy=function(){return Ci(e,Qi()).constant(e.constant())},di.apply(e,arguments)}function eo(){var e,t=0,n=1,r=1,i=[.5],o=[0,1];function a(t){return null!=t&&t<=t?o[Jr(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 eo().domain([t,n]).range(o).unknown(e)},di.apply(Yi(a),arguments)}Ii=function(e){var t,n,r=void 0===e.grouping||void 0===e.thousands?Ri:(t=Bi.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?Ri:function(e){return function(t){return t.replace(/[0-9]/g,(function(t){return e[+t]}))}}(Bi.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=Di(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"):Fi[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=Fi[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,A=S<p?new Array(p-S+1).join(t):"";switch(g&&h&&(e=r(A+e,A.length?p-k.length:1/0),A=""),n){case"<":e=f+e+k+A;break;case"=":e=f+A+e+k;break;case"^":e=A.slice(0,S=A.length>>1)+f+e+k+A.slice(S);break;default:e=A+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=Di(e)).type="f",e)),r=3*Math.max(-8,Math.min(8,Math.floor(Ti(t)/3))),i=Math.pow(10,-r),o=ji[8+r/3];return function(e){return n(i*e)+o}}}}({thousands:",",grouping:[3],currency:["$",""]}),zi=Ii.format,Pi=Ii.formatPrefix;const to=new Date,no=new Date;function ro(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=>ro((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)=>(to.setTime(+t),no.setTime(+r),e(to),e(no),Math.floor(n(to,no))),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 io=ro((()=>{}),((e,t)=>{e.setTime(+e+t)}),((e,t)=>t-e));io.every=e=>(e=Math.floor(e),isFinite(e)&&e>0?e>1?ro((t=>{t.setTime(Math.floor(t/e)*e)}),((t,n)=>{t.setTime(+t+n*e)}),((t,n)=>(n-t)/e)):io:null),io.range;const oo=1e3,ao=6e4,so=36e5,lo=864e5,co=6048e5,uo=31536e6,fo=ro((e=>{e.setTime(e-e.getMilliseconds())}),((e,t)=>{e.setTime(+e+t*oo)}),((e,t)=>(t-e)/oo),(e=>e.getUTCSeconds()));fo.range;const ho=ro((e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*oo)}),((e,t)=>{e.setTime(+e+t*ao)}),((e,t)=>(t-e)/ao),(e=>e.getMinutes()));ho.range;const po=ro((e=>{e.setUTCSeconds(0,0)}),((e,t)=>{e.setTime(+e+t*ao)}),((e,t)=>(t-e)/ao),(e=>e.getUTCMinutes()));po.range;const go=ro((e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*oo-e.getMinutes()*ao)}),((e,t)=>{e.setTime(+e+t*so)}),((e,t)=>(t-e)/so),(e=>e.getHours()));go.range;const mo=ro((e=>{e.setUTCMinutes(0,0,0)}),((e,t)=>{e.setTime(+e+t*so)}),((e,t)=>(t-e)/so),(e=>e.getUTCHours()));mo.range;const vo=ro((e=>e.setHours(0,0,0,0)),((e,t)=>e.setDate(e.getDate()+t)),((e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*ao)/lo),(e=>e.getDate()-1));vo.range;const bo=ro((e=>{e.setUTCHours(0,0,0,0)}),((e,t)=>{e.setUTCDate(e.getUTCDate()+t)}),((e,t)=>(t-e)/lo),(e=>e.getUTCDate()-1));bo.range;const yo=ro((e=>{e.setUTCHours(0,0,0,0)}),((e,t)=>{e.setUTCDate(e.getUTCDate()+t)}),((e,t)=>(t-e)/lo),(e=>Math.floor(e/lo)));function _o(e){return ro((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())*ao)/co))}yo.range;const wo=_o(0),xo=_o(1),ko=_o(2),Co=_o(3),So=_o(4),Ao=_o(5),Eo=_o(6);function To(e){return ro((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)/co))}wo.range,xo.range,ko.range,Co.range,So.range,Ao.range,Eo.range;const Mo=To(0),Lo=To(1),Do=To(2),No=To(3),Oo=To(4),Fo=To(5),Ro=To(6);Mo.range,Lo.range,Do.range,No.range,Oo.range,Fo.range,Ro.range;const Io=ro((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()));Io.range;const zo=ro((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()));zo.range;const Po=ro((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()));Po.every=e=>isFinite(e=Math.floor(e))&&e>0?ro((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,Po.range;const Bo=ro((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 jo(e,t,n,r,i,o){const a=[[fo,1,oo],[fo,5,5e3],[fo,15,15e3],[fo,30,3e4],[o,1,ao],[o,5,3e5],[o,15,9e5],[o,30,18e5],[i,1,so],[i,3,108e5],[i,6,216e5],[i,12,432e5],[r,1,lo],[r,2,1728e5],[n,1,co],[t,1,2592e6],[t,3,7776e6],[e,1,uo]];function s(t,n,r){const i=Math.abs(n-t)/r,o=Zr((([,,e])=>e)).right(a,i);if(o===a.length)return e.every(li(t/uo,n/uo,r));if(0===o)return io.every(Math.max(li(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]}Bo.every=e=>isFinite(e=Math.floor(e))&&e>0?ro((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,Bo.range;const[Yo,$o]=jo(Bo,zo,Mo,yo,mo,po),[qo,Ho]=jo(Po,Io,wo,vo,go,ho);function Uo(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 Wo(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 Vo(e,t,n){return{y:e,m:t,d:n,H:0,M:0,S:0,L:0}}var Go,Ko,Zo,Xo,Jo={"-":"",_:" ",0:"0"},Qo=/^\s*\d+/,ea=/^%/,ta=/[\\^$*+?|[\]().{}]/g;function na(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 ra(e){return e.replace(ta,"\\$&")}function ia(e){return new RegExp("^(?:"+e.map(ra).join("|")+")","i")}function oa(e){return new Map(e.map(((e,t)=>[e.toLowerCase(),t])))}function aa(e,t,n){var r=Qo.exec(t.slice(n,n+1));return r?(e.w=+r[0],n+r[0].length):-1}function sa(e,t,n){var r=Qo.exec(t.slice(n,n+1));return r?(e.u=+r[0],n+r[0].length):-1}function la(e,t,n){var r=Qo.exec(t.slice(n,n+2));return r?(e.U=+r[0],n+r[0].length):-1}function ca(e,t,n){var r=Qo.exec(t.slice(n,n+2));return r?(e.V=+r[0],n+r[0].length):-1}function ua(e,t,n){var r=Qo.exec(t.slice(n,n+2));return r?(e.W=+r[0],n+r[0].length):-1}function da(e,t,n){var r=Qo.exec(t.slice(n,n+4));return r?(e.y=+r[0],n+r[0].length):-1}function fa(e,t,n){var r=Qo.exec(t.slice(n,n+2));return r?(e.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function ha(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 pa(e,t,n){var r=Qo.exec(t.slice(n,n+1));return r?(e.q=3*r[0]-3,n+r[0].length):-1}function ga(e,t,n){var r=Qo.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function ma(e,t,n){var r=Qo.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function va(e,t,n){var r=Qo.exec(t.slice(n,n+3));return r?(e.m=0,e.d=+r[0],n+r[0].length):-1}function ba(e,t,n){var r=Qo.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function ya(e,t,n){var r=Qo.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function _a(e,t,n){var r=Qo.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function wa(e,t,n){var r=Qo.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function xa(e,t,n){var r=Qo.exec(t.slice(n,n+6));return r?(e.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function ka(e,t,n){var r=ea.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function Ca(e,t,n){var r=Qo.exec(t.slice(n));return r?(e.Q=+r[0],n+r[0].length):-1}function Sa(e,t,n){var r=Qo.exec(t.slice(n));return r?(e.s=+r[0],n+r[0].length):-1}function Aa(e,t){return na(e.getDate(),t,2)}function Ea(e,t){return na(e.getHours(),t,2)}function Ta(e,t){return na(e.getHours()%12||12,t,2)}function Ma(e,t){return na(1+vo.count(Po(e),e),t,3)}function La(e,t){return na(e.getMilliseconds(),t,3)}function Da(e,t){return La(e,t)+"000"}function Na(e,t){return na(e.getMonth()+1,t,2)}function Oa(e,t){return na(e.getMinutes(),t,2)}function Fa(e,t){return na(e.getSeconds(),t,2)}function Ra(e){var t=e.getDay();return 0===t?7:t}function Ia(e,t){return na(wo.count(Po(e)-1,e),t,2)}function za(e){var t=e.getDay();return t>=4||0===t?So(e):So.ceil(e)}function Pa(e,t){return e=za(e),na(So.count(Po(e),e)+(4===Po(e).getDay()),t,2)}function Ba(e){return e.getDay()}function ja(e,t){return na(xo.count(Po(e)-1,e),t,2)}function Ya(e,t){return na(e.getFullYear()%100,t,2)}function $a(e,t){return na((e=za(e)).getFullYear()%100,t,2)}function qa(e,t){return na(e.getFullYear()%1e4,t,4)}function Ha(e,t){var n=e.getDay();return na((e=n>=4||0===n?So(e):So.ceil(e)).getFullYear()%1e4,t,4)}function Ua(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+na(t/60|0,"0",2)+na(t%60,"0",2)}function Wa(e,t){return na(e.getUTCDate(),t,2)}function Va(e,t){return na(e.getUTCHours(),t,2)}function Ga(e,t){return na(e.getUTCHours()%12||12,t,2)}function Ka(e,t){return na(1+bo.count(Bo(e),e),t,3)}function Za(e,t){return na(e.getUTCMilliseconds(),t,3)}function Xa(e,t){return Za(e,t)+"000"}function Ja(e,t){return na(e.getUTCMonth()+1,t,2)}function Qa(e,t){return na(e.getUTCMinutes(),t,2)}function es(e,t){return na(e.getUTCSeconds(),t,2)}function ts(e){var t=e.getUTCDay();return 0===t?7:t}function ns(e,t){return na(Mo.count(Bo(e)-1,e),t,2)}function rs(e){var t=e.getUTCDay();return t>=4||0===t?Oo(e):Oo.ceil(e)}function is(e,t){return e=rs(e),na(Oo.count(Bo(e),e)+(4===Bo(e).getUTCDay()),t,2)}function os(e){return e.getUTCDay()}function as(e,t){return na(Lo.count(Bo(e)-1,e),t,2)}function ss(e,t){return na(e.getUTCFullYear()%100,t,2)}function ls(e,t){return na((e=rs(e)).getUTCFullYear()%100,t,2)}function cs(e,t){return na(e.getUTCFullYear()%1e4,t,4)}function us(e,t){var n=e.getUTCDay();return na((e=n>=4||0===n?Oo(e):Oo.ceil(e)).getUTCFullYear()%1e4,t,4)}function ds(){return"+0000"}function fs(){return"%"}function hs(e){return+e}function ps(e){return Math.floor(+e/1e3)}function gs(e){return new Date(e)}function ms(e){return e instanceof Date?+e:+new Date(+e)}function vs(e,t,n,r,i,o,a,s,l,c){var u=Ai(),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,ms)):f().map(gs)},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(qi(n,e)):u},u.copy=function(){return Ci(u,vs(e,t,n,r,i,o,a,s,l,c))},u}function bs(){return di.apply(vs(Yo,$o,Bo,zo,Mo,bo,mo,po,fo,Zo).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)}function ys(e,t){return t.domain(e.domain()).interpolator(e.interpolator()).clamp(e.clamp()).unknown(e.unknown())}function _s(){var e=Yi(function(){var e,t,n,r,i,o=0,a=1,s=_i,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(zr),c.rangeRound=u(Pr),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}}()(_i));return e.copy=function(){return ys(e,_s())},fi.apply(e,arguments)}function ws(){var e=Yi(function(){var e,t,n,r,i,o,a,s=0,l=.5,c=1,u=1,d=_i,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=zr);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(zr),h.rangeRound=p(Pr),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}}()(_i));return e.copy=function(){return ys(e,ws())},fi.apply(e,arguments)}function xs(e){return function(){return e}}Go=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=ia(i),u=oa(i),d=ia(o),f=oa(o),h=ia(a),p=oa(a),g=ia(s),m=oa(s),v=ia(l),b=oa(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:Aa,e:Aa,f:Da,g:$a,G:Ha,H:Ea,I:Ta,j:Ma,L:La,m:Na,M:Oa,p:function(e){return i[+(e.getHours()>=12)]},q:function(e){return 1+~~(e.getMonth()/3)},Q:hs,s:ps,S:Fa,u:Ra,U:Ia,V:Pa,w:Ba,W:ja,x:null,X:null,y:Ya,Y:qa,Z:Ua,"%":fs},_={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:Wa,e:Wa,f:Xa,g:ls,G:us,H:Va,I:Ga,j:Ka,L:Za,m:Ja,M:Qa,p:function(e){return i[+(e.getUTCHours()>=12)]},q:function(e){return 1+~~(e.getUTCMonth()/3)},Q:hs,s:ps,S:es,u:ts,U:ns,V:is,w:os,W:as,x:null,X:null,y:ss,Y:cs,Z:ds,"%":fs},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:ma,e:ma,f:xa,g:fa,G:da,H:ba,I:ba,j:va,L:wa,m:ga,M:ya,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:pa,Q:Ca,s:Sa,S:_a,u:sa,U:la,V:ca,w:aa,W:ua,x:function(e,t,r){return C(e,n,t,r)},X:function(e,t,n){return C(e,r,t,n)},y:fa,Y:da,Z:ha,"%":ka};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=Jo[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=Vo(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=Wo(Vo(o.y,0,1))).getUTCDay(),r=i>4||0===i?Lo.ceil(r):Lo(r),r=bo.offset(r,7*(o.V-1)),o.y=r.getUTCFullYear(),o.m=r.getUTCMonth(),o.d=r.getUTCDate()+(o.w+6)%7):(i=(r=Uo(Vo(o.y,0,1))).getDay(),r=i>4||0===i?xo.ceil(r):xo(r),r=vo.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?Wo(Vo(o.y,0,1)).getUTCDay():Uo(Vo(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,Wo(o)):Uo(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 Jo?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"]}),Ko=Go.format,Go.parse,Zo=Go.utcFormat,Go.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.CheckResults="check-results.json",e.Environments="environments.json",e.ReportVariables="report-variables.json",e.IndexAttachmentsByTestResults="index-attachments-by-test-results.json",e.IndexTestResultsByHistoryId="index-test-results-by-history-id.json",e.IndexTestResultsByTestCase="index-test-results-by-test-case.json",e.IndexAttachmentsByFixture="index-attachments-by-fixture.json",e.IndexFixturesByTestResult="index-fixtures-by-test-result.json",e.IndexKnownByHistoryId="index-known-by-history-id.json",e.QualityGateResults="quality-gate-results.json",e.TestResultIngestOrder="test-result-ingest-order.json"}(Xo||(Xo={}));const ks=Math.abs,Cs=Math.atan2,Ss=Math.cos,As=Math.max,Es=Math.min,Ts=Math.sin,Ms=Math.sqrt,Ls=1e-12,Ds=Math.PI,Ns=Ds/2,Os=2*Ds;function Fs(e){return e>=1?Ns:e<=-1?-Ns:Math.asin(e)}const Rs=Math.PI,Is=2*Rs,zs=1e-6,Ps=Is-zs;function Bs(e){this._+=e[0];for(let t=1,n=e.length;t<n;++t)this._+=arguments[t]+e[t]}let js=class{constructor(e){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=null==e?Bs:function(e){let t=Math.floor(e);if(!(t>=0))throw new Error(`invalid digits: ${e}`);if(t>15)return Bs;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>zs)if(Math.abs(u*s-l*c)>zs&&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((Rs-Math.acos((p+d-g)/(2*m*v)))/2),y=b/v,_=b/m;Math.abs(y-1)>zs&&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)>zs||Math.abs(this._y1-c)>zs)&&this._append`L${l},${c}`,n&&(d<0&&(d=d%Is+Is),d>Ps?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>zs&&this._append`A${n},${n},0,${+(d>=Rs)},${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 Ys(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 js(t)}function $s(e){return e.innerRadius}function qs(e){return e.outerRadius}function Hs(e){return e.startAngle}function Us(e){return e.endAngle}function Ws(e){return e&&e.padAngle}function Vs(e,t,n,r,i,o,a){var s=e-n,l=t-r,c=(a?o:-o)/Ms(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)*Ms(As(0,w*w*_-x*x)),C=(x*y-b*k)/_,S=(-x*b-y*k)/_,A=(x*y+b*k)/_,E=(-x*b+y*k)/_,T=C-m,M=S-v,L=A-m,D=E-v;return T*T+M*M>L*L+D*D&&(C=A,S=E),{cx:C,cy:S,x01:-u,y01:-d,x11:C*(i/w-1),y11:S*(i/w-1)}}function Gs(){var e=$s,t=qs,n=xs(0),r=null,i=Hs,o=Us,a=Ws,s=null,l=Ys(c);function c(){var c,u,d=+e.apply(this,arguments),f=+t.apply(this,arguments),h=i.apply(this,arguments)-Ns,p=o.apply(this,arguments)-Ns,g=ks(p-h),m=p>h;if(s||(s=c=l()),f<d&&(u=f,f=d,d=u),f>Ls)if(g>Os-Ls)s.moveTo(f*Ss(h),f*Ts(h)),s.arc(0,0,f,h,p,!m),d>Ls&&(s.moveTo(d*Ss(p),d*Ts(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,A=S>Ls&&(r?+r.apply(this,arguments):Ms(d*d+f*f)),E=Es(ks(f-d)/2,+n.apply(this,arguments)),T=E,M=E;if(A>Ls){var L=Fs(A/d*Ts(S)),D=Fs(A/f*Ts(S));(k-=2*L)>Ls?(w+=L*=m?1:-1,x-=L):(k=0,w=x=(h+p)/2),(C-=2*D)>Ls?(y+=D*=m?1:-1,_-=D):(C=0,y=_=(h+p)/2)}var N=f*Ss(y),O=f*Ts(y),F=d*Ss(x),R=d*Ts(x);if(E>Ls){var I,z=f*Ss(_),P=f*Ts(_),B=d*Ss(w),j=d*Ts(w);if(g<Ds)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<Ls))return[e+(f=(u*(t-o)-d*(e-i))/f)*l,t+f*c]}(N,O,B,j,z,P,F,R)){var Y=N-I[0],$=O-I[1],q=z-I[0],H=P-I[1],U=1/Ts(function(e){return e>1?0:e<-1?Ds:Math.acos(e)}((Y*q+$*H)/(Ms(Y*Y+$*$)*Ms(q*q+H*H)))/2),W=Ms(I[0]*I[0]+I[1]*I[1]);T=Es(E,(d-W)/(U-1)),M=Es(E,(f-W)/(U+1))}else T=M=0}C>Ls?M>Ls?(v=Vs(B,j,N,O,f,M,m),b=Vs(z,P,F,R,f,M,m),s.moveTo(v.cx+v.x01,v.cy+v.y01),M<E?s.arc(v.cx,v.cy,M,Cs(v.y01,v.x01),Cs(b.y01,b.x01),!m):(s.arc(v.cx,v.cy,M,Cs(v.y01,v.x01),Cs(v.y11,v.x11),!m),s.arc(0,0,f,Cs(v.cy+v.y11,v.cx+v.x11),Cs(b.cy+b.y11,b.cx+b.x11),!m),s.arc(b.cx,b.cy,M,Cs(b.y11,b.x11),Cs(b.y01,b.x01),!m))):(s.moveTo(N,O),s.arc(0,0,f,y,_,!m)):s.moveTo(N,O),d>Ls&&k>Ls?T>Ls?(v=Vs(F,R,z,P,d,-T,m),b=Vs(N,O,B,j,d,-T,m),s.lineTo(v.cx+v.x01,v.cy+v.y01),T<E?s.arc(v.cx,v.cy,T,Cs(v.y01,v.x01),Cs(b.y01,b.x01),!m):(s.arc(v.cx,v.cy,T,Cs(v.y01,v.x01),Cs(v.y11,v.x11),!m),s.arc(0,0,d,Cs(v.cy+v.y11,v.cx+v.x11),Cs(b.cy+b.y11,b.cx+b.x11),m),s.arc(b.cx,b.cy,T,Cs(b.y11,b.x11),Cs(b.y01,b.x01),!m))):s.arc(0,0,d,x,w,m):s.lineTo(F,R)}else s.moveTo(0,0);if(s.closePath(),c)return s=null,c+""||null}return c.centroid=function(){var n=(+e.apply(this,arguments)+ +t.apply(this,arguments))/2,r=(+i.apply(this,arguments)+ +o.apply(this,arguments))/2-Ds/2;return[Ss(r)*n,Ts(r)*n]},c.innerRadius=function(t){return arguments.length?(e="function"==typeof t?t:xs(+t),c):e},c.outerRadius=function(e){return arguments.length?(t="function"==typeof e?e:xs(+e),c):t},c.cornerRadius=function(e){return arguments.length?(n="function"==typeof e?e:xs(+e),c):n},c.padRadius=function(e){return arguments.length?(r=null==e?null:"function"==typeof e?e:xs(+e),c):r},c.startAngle=function(e){return arguments.length?(i="function"==typeof e?e:xs(+e),c):i},c.endAngle=function(e){return arguments.length?(o="function"==typeof e?e:xs(+e),c):o},c.padAngle=function(e){return arguments.length?(a="function"==typeof e?e:xs(+e),c):a},c.context=function(e){return arguments.length?(s=null==e?null:e,c):s},c}function Ks(e){return"object"==typeof e&&"length"in e?e:Array.from(e)}function Zs(e){this._context=e}function Xs(e){return new Zs(e)}function Js(e){return e[0]}function Qs(e){return e[1]}function el(e,t){var n=xs(!0),r=null,i=Xs,o=null,a=Ys(s);function s(s){var l,c,u,d=(s=Ks(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?Js:xs(e),t="function"==typeof t?t:void 0===t?Qs:xs(t),s.x=function(t){return arguments.length?(e="function"==typeof t?t:xs(+t),s):e},s.y=function(e){return arguments.length?(t="function"==typeof e?e:xs(+e),s):t},s.defined=function(e){return arguments.length?(n="function"==typeof e?e:xs(!!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 tl(e,t,n){var r=null,i=xs(!0),o=null,a=Xs,s=null,l=Ys(c);function c(c){var u,d,f,h,p,g=(c=Ks(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 el().defined(i).curve(a).context(o)}return e="function"==typeof e?e:void 0===e?Js:xs(+e),t="function"==typeof t?t:xs(void 0===t?0:+t),n="function"==typeof n?n:void 0===n?Qs:xs(+n),c.x=function(t){return arguments.length?(e="function"==typeof t?t:xs(+t),r=null,c):e},c.x0=function(t){return arguments.length?(e="function"==typeof t?t:xs(+t),c):e},c.x1=function(e){return arguments.length?(r=null==e?null:"function"==typeof e?e:xs(+e),c):r},c.y=function(e){return arguments.length?(t="function"==typeof e?e:xs(+e),n=null,c):t},c.y0=function(e){return arguments.length?(t="function"==typeof e?e:xs(+e),c):t},c.y1=function(e){return arguments.length?(n=null==e?null:"function"==typeof e?e:xs(+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:xs(!!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 nl(e,t){return t<e?-1:t>e?1:t>=e?0:NaN}function rl(e){return e}function il(){var e=rl,t=nl,n=null,r=xs(0),i=xs(Os),o=xs(0);function a(a){var s,l,c,u,d,f=(a=Ks(a)).length,h=0,p=new Array(f),g=new Array(f),m=+r.apply(this,arguments),v=Math.min(Os,Math.max(-Os,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:xs(+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:xs(+e),a):r},a.endAngle=function(e){return arguments.length?(i="function"==typeof e?e:xs(+e),a):i},a.padAngle=function(e){return arguments.length?(o="function"==typeof e?e:xs(+e),a):o},a}function ol(){}function al(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 sl(e){this._context=e}function ll(e){return new sl(e)}function cl(e){this._context=e}function ul(e){this._context=e}function dl(e,t){this._basis=new sl(e),this._beta=t}Zs.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)}}},sl.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:al(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:al(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},cl.prototype={areaStart:ol,areaEnd:ol,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:al(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},ul.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:al(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},dl.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 fl=function e(t){function n(e){return 1===t?new sl(e):new dl(e,t)}return n.beta=function(t){return e(+t)},n}(.85);function hl(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 pl(e,t){this._context=e,this._k=(1-t)/6}pl.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:hl(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:hl(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 gl=function e(t){function n(e){return new pl(e,t)}return n.tension=function(t){return e(+t)},n}(0);function ml(e,t){this._context=e,this._k=(1-t)/6}ml.prototype={areaStart:ol,areaEnd:ol,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:hl(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 vl=function e(t){function n(e){return new ml(e,t)}return n.tension=function(t){return e(+t)},n}(0);function bl(e,t){this._context=e,this._k=(1-t)/6}bl.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:hl(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 yl=function e(t){function n(e){return new bl(e,t)}return n.tension=function(t){return e(+t)},n}(0);function _l(e,t,n){var r=e._x1,i=e._y1,o=e._x2,a=e._y2;if(e._l01_a>Ls){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>Ls){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 wl(e,t){this._context=e,this._alpha=t}wl.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:_l(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 xl=function e(t){function n(e){return t?new wl(e,t):new pl(e,0)}return n.alpha=function(t){return e(+t)},n}(.5);function kl(e,t){this._context=e,this._alpha=t}kl.prototype={areaStart:ol,areaEnd:ol,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:_l(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 Cl=function e(t){function n(e){return t?new kl(e,t):new ml(e,0)}return n.alpha=function(t){return e(+t)},n}(.5);function Sl(e,t){this._context=e,this._alpha=t}Sl.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:_l(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 Al=function e(t){function n(e){return t?new Sl(e,t):new bl(e,0)}return n.alpha=function(t){return e(+t)},n}(.5);function El(e){this._context=e}function Tl(e){return e<0?-1:1}function Ml(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(Tl(o)+Tl(a))*Math.min(Math.abs(o),Math.abs(a),.5*Math.abs(s))||0}function Ll(e,t){var n=e._x1-e._x0;return n?(3*(e._y1-e._y0)/n-t)/2:t}function Dl(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 Nl(e){this._context=e}function Ol(e){this._context=new Fl(e)}function Fl(e){this._context=e}function Rl(e){this._context=e}function Il(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 zl(e,t){this._context=e,this._t=t}function Pl(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 Bl(e){for(var t=e.length,n=new Array(t);--t>=0;)n[t]=t;return n}function jl(e,t){return e[t]}function Yl(e){const t=[];return t.key=e,t}function $l(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)}El.prototype={areaStart:ol,areaEnd:ol,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))}},Nl.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:Dl(this,this._t0,Ll(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,Dl(this,Ll(this,n=Ml(this,e,t)),n);break;default:Dl(this,this._t0,n=Ml(this,e,t))}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t,this._t0=n}}},(Ol.prototype=Object.create(Nl.prototype)).point=function(e,t){Nl.prototype.point.call(this,t,e)},Fl.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)}},Rl.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=Il(e),i=Il(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)}},zl.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 ql=()=>Gs().innerRadius(40).outerRadius(50).cornerRadius(2).padAngle(.03);il().value((e=>e.count)).padAngle(.03).sortValues(((e,t)=>e-t)),ql(),ql().padAngle(0).cornerRadius(0);var Hl,Ul,Wl={},Vl={},Gl={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:""},Kl={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:"ÿ"},Zl={amp:"&",apos:"'",gt:">",lt:"<",quot:'"'},Xl={},Jl={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 Ql(){if(Ul)return Vl;Ul=1;var e=Vl&&Vl.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Vl,"__esModule",{value:!0}),Vl.decodeHTML=Vl.decodeHTMLStrict=Vl.decodeXML=void 0;var t=e(Gl),n=e(Kl),r=e(Zl),i=e(function(){if(Hl)return Xl;Hl=1;var e=Xl&&Xl.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Xl,"__esModule",{value:!0});var t=e(Jl),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 Xl.default=function(e){return e>=55296&&e<=57343||e>1114111?"�":(e in t.default&&(e=t.default[e]),n(e))},Xl}()),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)}}Vl.decodeXML=a(r.default),Vl.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 Vl.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)}}(),Vl}var ec,tc,nc,rc,ic={};function oc(){if(ec)return ic;ec=1;var e=ic&&ic.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(ic,"__esModule",{value:!0}),ic.escapeUTF8=ic.escape=ic.encodeNonAsciiHTML=ic.encodeHTML=ic.encodeXML=void 0;var t=o(e(Zl).default),n=a(t);ic.encodeXML=d(t);var r=o(e(Gl).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")}ic.encodeHTML=function(e,t){return function(n){return n.replace(t,(function(t){return e[t]})).replace(s,c)}}(r,i),ic.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 ic.escape=function(e){return e.replace(u,c)},ic.escapeUTF8=function(e){return e.replace(n,c)},ic}var ac=function(){if(rc)return nc;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}rc=1;var n=(tc||(tc=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=Ql(),n=oc();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=oc();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=Ql();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}})}(Wl)),Wl),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 nc=p}(),sc=d(ac);const lc=/\x1B\[[0-9;?]*[ -/]*[@-~]/g,{entries:cc,setPrototypeOf:uc,isFrozen:dc,getPrototypeOf:fc,getOwnPropertyDescriptor:hc}=Object;let{freeze:pc,seal:gc,create:mc}=Object,{apply:vc,construct:bc}="undefined"!=typeof Reflect&&Reflect;pc||(pc=function(e){return e}),gc||(gc=function(e){return e}),vc||(vc=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)}),bc||(bc=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 yc=Fc(Array.prototype.forEach),_c=Fc(Array.prototype.lastIndexOf),wc=Fc(Array.prototype.pop),xc=Fc(Array.prototype.push),kc=Fc(Array.prototype.splice),Cc=Fc(String.prototype.toLowerCase),Sc=Fc(String.prototype.toString),Ac=Fc(String.prototype.match),Ec=Fc(String.prototype.replace),Tc=Fc(String.prototype.indexOf),Mc=Fc(String.prototype.trim),Lc=Fc(Object.prototype.hasOwnProperty),Dc=Fc(RegExp.prototype.test),Nc=(Oc=TypeError,function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return bc(Oc,t)});var Oc;function Fc(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 vc(e,t,r)}}function Rc(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Cc;uc&&uc(e,null);let r=t.length;for(;r--;){let i=t[r];if("string"==typeof i){const e=n(i);e!==i&&(dc(t)||(t[r]=e),i=e)}e[i]=!0}return e}function Ic(e){for(let t=0;t<e.length;t++)Lc(e,t)||(e[t]=null);return e}function zc(e){const t=mc(null);for(const[n,r]of cc(e))Lc(e,n)&&(Array.isArray(r)?t[n]=Ic(r):r&&"object"==typeof r&&r.constructor===Object?t[n]=zc(r):t[n]=r);return t}function Pc(e,t){for(;null!==e;){const n=hc(e,t);if(n){if(n.get)return Fc(n.get);if("function"==typeof n.value)return Fc(n.value)}e=fc(e)}return function(){return null}}const Bc=pc(["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"]),jc=pc(["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"]),Yc=pc(["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"]),$c=pc(["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"]),qc=pc(["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"]),Hc=pc(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),Uc=pc(["#text"]),Wc=pc(["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"]),Vc=pc(["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"]),Gc=pc(["accent","accentunder","align","bevelled","close","columnalign","columnlines","columnspacing","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lquote","lspace","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),Kc=pc(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),Zc=gc(/\{\{[\w\W]*|[\w\W]*\}\}/gm),Xc=gc(/<%[\w\W]*|[\w\W]*%>/gm),Jc=gc(/\$\{[\w\W]*/gm),Qc=gc(/^data-[\-\w.\u00B7-\uFFFF]+$/),eu=gc(/^aria-[\-\w]+$/),tu=gc(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),nu=gc(/^(?:\w+script|data):/i),ru=gc(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),iu=gc(/^html$/i),ou=gc(/^[a-z][.\w]*(-[.\w]+)+$/i);var au=Object.freeze({__proto__:null,ARIA_ATTR:eu,ATTR_WHITESPACE:ru,CUSTOM_ELEMENT:ou,DATA_ATTR:Qc,DOCTYPE_NAME:iu,ERB_EXPR:Xc,IS_ALLOWED_URI:tu,IS_SCRIPT_OR_DATA:nu,MUSTACHE_EXPR:Zc,TMPLIT_EXPR:Jc});var su=function e(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"undefined"==typeof window?null:window;const n=t=>e(t);if(n.version="3.4.0",n.removed=[],!t||!t.document||9!==t.document.nodeType||!t.Element)return n.isSupported=!1,n;let{document:r}=t;const i=r,o=i.currentScript,{DocumentFragment:a,HTMLTemplateElement:s,Node:l,Element:c,NodeFilter:u,NamedNodeMap:d=t.NamedNodeMap||t.MozNamedAttrMap,HTMLFormElement:f,DOMParser:h,trustedTypes:p}=t,g=c.prototype,m=Pc(g,"cloneNode"),v=Pc(g,"remove"),b=Pc(g,"nextSibling"),y=Pc(g,"childNodes"),_=Pc(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:A}=r,{importNode:E}=i;let T={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]};n.isSupported="function"==typeof cc&&"function"==typeof _&&k&&void 0!==k.createHTMLDocument;const{MUSTACHE_EXPR:M,ERB_EXPR:L,TMPLIT_EXPR:D,DATA_ATTR:N,ARIA_ATTR:O,IS_SCRIPT_OR_DATA:F,ATTR_WHITESPACE:R,CUSTOM_ELEMENT:I}=au;let{IS_ALLOWED_URI:z}=au,P=null;const B=Rc({},[...Bc,...jc,...Yc,...qc,...Uc]);let j=null;const Y=Rc({},[...Wc,...Vc,...Gc,...Kc]);let $=Object.seal(mc(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),q=null,H=null;const U=Object.seal(mc(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let W=!0,V=!0,G=!1,K=!0,Z=!1,X=!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=Rc({},["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=Rc({},["audio","video","img","source","image","track"]);let he=null;const pe=Rc({},["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=Rc({},[ge,me,ve],Sc);let xe=Rc({},["mi","mo","mn","ms","mtext"]),ke=Rc({},["annotation-xml"]);const Ce=Rc({},["title","style","font","a","script"]);let Se=null;const Ae=["application/xhtml+xml","text/html"];let Ee=null,Te=null;const Me=r.createElement("form"),Le=function(e){return e instanceof RegExp||e instanceof Function},De=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!Te||Te!==e){if(e&&"object"==typeof e||(e={}),e=zc(e),Se=-1===Ae.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE,Ee="application/xhtml+xml"===Se?Sc:Cc,P=Lc(e,"ALLOWED_TAGS")?Rc({},e.ALLOWED_TAGS,Ee):B,j=Lc(e,"ALLOWED_ATTR")?Rc({},e.ALLOWED_ATTR,Ee):Y,_e=Lc(e,"ALLOWED_NAMESPACES")?Rc({},e.ALLOWED_NAMESPACES,Sc):we,he=Lc(e,"ADD_URI_SAFE_ATTR")?Rc(zc(pe),e.ADD_URI_SAFE_ATTR,Ee):pe,de=Lc(e,"ADD_DATA_URI_TAGS")?Rc(zc(fe),e.ADD_DATA_URI_TAGS,Ee):fe,ce=Lc(e,"FORBID_CONTENTS")?Rc({},e.FORBID_CONTENTS,Ee):ue,q=Lc(e,"FORBID_TAGS")?Rc({},e.FORBID_TAGS,Ee):zc({}),H=Lc(e,"FORBID_ATTR")?Rc({},e.FORBID_ATTR,Ee):zc({}),le=!!Lc(e,"USE_PROFILES")&&e.USE_PROFILES,W=!1!==e.ALLOW_ARIA_ATTR,V=!1!==e.ALLOW_DATA_ATTR,G=e.ALLOW_UNKNOWN_PROTOCOLS||!1,K=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,Z=e.SAFE_FOR_TEMPLATES||!1,X=!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||tu,be=e.NAMESPACE||ve,xe=e.MATHML_TEXT_INTEGRATION_POINTS||xe,ke=e.HTML_INTEGRATION_POINTS||ke,$=e.CUSTOM_ELEMENT_HANDLING||mc(null),e.CUSTOM_ELEMENT_HANDLING&&Le(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&($.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&Le(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&&(V=!1),ne&&(te=!0),le&&(P=Rc({},Uc),j=mc(null),!0===le.html&&(Rc(P,Bc),Rc(j,Wc)),!0===le.svg&&(Rc(P,jc),Rc(j,Vc),Rc(j,Kc)),!0===le.svgFilters&&(Rc(P,Yc),Rc(j,Vc),Rc(j,Kc)),!0===le.mathMl&&(Rc(P,qc),Rc(j,Gc),Rc(j,Kc))),U.tagCheck=null,U.attributeCheck=null,e.ADD_TAGS&&("function"==typeof e.ADD_TAGS?U.tagCheck=e.ADD_TAGS:(P===B&&(P=zc(P)),Rc(P,e.ADD_TAGS,Ee))),e.ADD_ATTR&&("function"==typeof e.ADD_ATTR?U.attributeCheck=e.ADD_ATTR:(j===Y&&(j=zc(j)),Rc(j,e.ADD_ATTR,Ee))),e.ADD_URI_SAFE_ATTR&&Rc(he,e.ADD_URI_SAFE_ATTR,Ee),e.FORBID_CONTENTS&&(ce===ue&&(ce=zc(ce)),Rc(ce,e.FORBID_CONTENTS,Ee)),e.ADD_FORBID_CONTENTS&&(ce===ue&&(ce=zc(ce)),Rc(ce,e.ADD_FORBID_CONTENTS,Ee)),ae&&(P["#text"]=!0),J&&Rc(P,["html","head","body"]),P.table&&(Rc(P,["tbody"]),delete q.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw Nc('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw Nc('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(""));pc&&pc(e),Te=e}},Ne=Rc({},[...jc,...Yc,...$c]),Oe=Rc({},[...qc,...Hc]),Fe=function(e){xc(n.removed,{element:e});try{_(e).removeChild(e)}catch(t){v(e)}},Re=function(e,t){try{xc(n.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){xc(n.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e)if(te||ne)try{Fe(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=Ac(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?A.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)},Pe=function(e){return e instanceof f&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof d)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes)},Be=function(e){return"function"==typeof l&&e instanceof l};function je(e,t,r){yc(e,(e=>{e.call(n,t,r,Te)}))}const Ye=function(e){let t=null;if(je(T.beforeSanitizeElements,e,null),Pe(e))return Fe(e),!0;const r=Ee(e.nodeName);if(je(T.uponSanitizeElement,e,{tagName:r,allowedTags:P}),X&&e.hasChildNodes()&&!Be(e.firstElementChild)&&Dc(/<[/\w!]/g,e.innerHTML)&&Dc(/<[/\w!]/g,e.textContent))return Fe(e),!0;if(X&&e.namespaceURI===ve&&"style"===r&&Be(e.firstElementChild))return Fe(e),!0;if(7===e.nodeType)return Fe(e),!0;if(X&&8===e.nodeType&&Dc(/<[/\w]/g,e.data))return Fe(e),!0;if(q[r]||!(U.tagCheck instanceof Function&&U.tagCheck(r))&&!P[r]){if(!q[r]&&qe(r)){if($.tagNameCheck instanceof RegExp&&Dc($.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 Fe(e),!0}return e instanceof c&&!function(e){let t=_(e);t&&t.tagName||(t={namespaceURI:be,tagName:"template"});const n=Cc(e.tagName),r=Cc(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(Ne[n]):e.namespaceURI===ge?t.namespaceURI===ve?"math"===n:t.namespaceURI===me?"math"===n&&ke[r]:Boolean(Oe[n]):e.namespaceURI===ve?!(t.namespaceURI===me&&!ke[r])&&!(t.namespaceURI===ge&&!xe[r])&&!Oe[n]&&(Ce[n]||!Ne[n]):!("application/xhtml+xml"!==Se||!_e[e.namespaceURI]))}(e)?(Fe(e),!0):"noscript"!==r&&"noembed"!==r&&"noframes"!==r||!Dc(/<\/no(script|embed|frames)/i,e.innerHTML)?(Z&&3===e.nodeType&&(t=e.textContent,yc([M,L,D],(e=>{t=Ec(t,e," ")})),e.textContent!==t&&(xc(n.removed,{element:e.cloneNode()}),e.textContent=t)),je(T.afterSanitizeElements,e,null),!1):(Fe(e),!0)},$e=function(e,t,n){if(H[t])return!1;if(ie&&("id"===t||"name"===t)&&(n in r||n in Me))return!1;if(V&&!H[t]&&Dc(N,t));else if(W&&Dc(O,t));else if(U.attributeCheck instanceof Function&&U.attributeCheck(t,e));else if(!j[t]||H[t]){if(!(qe(e)&&($.tagNameCheck instanceof RegExp&&Dc($.tagNameCheck,e)||$.tagNameCheck instanceof Function&&$.tagNameCheck(e))&&($.attributeNameCheck instanceof RegExp&&Dc($.attributeNameCheck,t)||$.attributeNameCheck instanceof Function&&$.attributeNameCheck(t,e))||"is"===t&&$.allowCustomizedBuiltInElements&&($.tagNameCheck instanceof RegExp&&Dc($.tagNameCheck,n)||$.tagNameCheck instanceof Function&&$.tagNameCheck(n))))return!1}else if(he[t]);else if(Dc(z,Ec(n,R,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==Tc(n,"data:")||!de[e])if(G&&!Dc(F,Ec(n,R,"")));else if(n)return!1;return!0},qe=function(e){return"annotation-xml"!==e&&Ac(e,I)},He=function(e){je(T.beforeSanitizeAttributes,e,null);const{attributes:t}=e;if(!t||Pe(e))return;const r={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:j,forceKeepAttr:void 0};let i=t.length;for(;i--;){const o=t[i],{name:a,namespaceURI:s,value:l}=o,c=Ee(a),u=l;let d="value"===a?u:Mc(u);if(r.attrName=c,r.attrValue=d,r.keepAttr=!0,r.forceKeepAttr=void 0,je(T.uponSanitizeAttribute,e,r),d=r.attrValue,!oe||"id"!==c&&"name"!==c||(Re(a,e),d="user-content-"+d),X&&Dc(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,d)){Re(a,e);continue}if("attributename"===c&&Ac(d,"href")){Re(a,e);continue}if(r.forceKeepAttr)continue;if(!r.keepAttr){Re(a,e);continue}if(!K&&Dc(/\/>/i,d)){Re(a,e);continue}Z&&yc([M,L,D],(e=>{d=Ec(d,e," ")}));const f=Ee(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),Pe(e)?Fe(e):wc(n.removed)}catch(t){Re(a,e)}}else Re(a,e)}je(T.afterSanitizeAttributes,e,null)},Ue=function(e){let t=null;const n=ze(e);for(je(T.beforeSanitizeShadowDOM,e,null);t=n.nextNode();)je(T.uponSanitizeShadowNode,t,null),Ye(t),He(t),t.content instanceof a&&Ue(t.content);je(T.afterSanitizeShadowDOM,e,null)};return n.sanitize=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=null,o=null,s=null,c=null;if(ye=!e,ye&&(e="\x3c!--\x3e"),"string"!=typeof e&&!Be(e)){if("function"!=typeof e.toString)throw Nc("toString is not a function");if("string"!=typeof(e=e.toString()))throw Nc("dirty is not a string, aborting")}if(!n.isSupported)return e;if(Q||De(t),n.removed=[],"string"==typeof e&&(se=!1),se){if(e.nodeName){const t=Ee(e.nodeName);if(!P[t]||q[t])throw Nc("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&&Fe(r.firstChild);const u=ze(se?e:r);for(;s=u.nextNode();)Ye(s),He(s),s.content instanceof a&&Ue(s.content);if(se)return e;if(te){if(Z){r.normalize();let e=r.innerHTML;yc([M,L,D],(t=>{e=Ec(e,t," ")})),r.innerHTML=e}if(ne)for(c=S.call(r.ownerDocument);r.firstChild;)c.appendChild(r.firstChild);else c=r;return(j.shadowroot||j.shadowrootmode)&&(c=E.call(i,c,!0)),c}let d=J?r.outerHTML:r.innerHTML;return J&&P["!doctype"]&&r.ownerDocument&&r.ownerDocument.doctype&&r.ownerDocument.doctype.name&&Dc(iu,r.ownerDocument.doctype.name)&&(d="<!DOCTYPE "+r.ownerDocument.doctype.name+">\n"+d),Z&&yc([M,L,D],(e=>{d=Ec(d,e," ")})),w&&re?w.createHTML(d):d},n.setConfig=function(){De(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),Q=!0},n.clearConfig=function(){Te=null,Q=!1},n.isValidAttribute=function(e,t,n){Te||De({});const r=Ee(e),i=Ee(t);return $e(r,i,n)},n.addHook=function(e,t){"function"==typeof t&&xc(T[e],t)},n.removeHook=function(e,t){if(void 0!==t){const n=_c(T[e],t);return-1===n?void 0:kc(T[e],n,1)[0]}return wc(T[e])},n.removeHooks=function(e){T[e]=[]},n.removeAllHooks=function(){T={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},n}();const lu=(e,t)=>su.sanitize(e,t),cu={USE_PROFILES:{html:!0}},uu=Symbol.for("preact-signals");function du(){if(gu>1)return void gu--;let e,t=!1;for(;void 0!==hu;){let n=hu;for(hu=void 0,mu++;void 0!==n;){const r=n.o;if(n.o=void 0,n.f&=-3,!(8&n.f)&&wu(n))try{n.c()}catch(n){t||(e=n,t=!0)}n=r}}if(mu=0,gu--,t)throw e}let fu,hu;function pu(e){const t=fu;fu=void 0;try{return e()}finally{fu=t}}let gu=0,mu=0,vu=0;function bu(e){if(void 0===fu)return;let t=e.n;return void 0===t||t.t!==fu?(t={i:0,S:e,p:fu.s,n:void 0,t:fu,e:void 0,x:void 0,r:t},void 0!==fu.s&&(fu.s.n=t),fu.s=t,e.n=t,32&fu.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=fu.s,t.n=void 0,fu.s.n=t,fu.s=t),t):void 0}function yu(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 _u(e,t){return new yu(e,t)}function wu(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 xu(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 ku(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 Cu(e,t){yu.call(this,void 0),this.x=e,this.s=void 0,this.g=vu-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 Su(e,t){return new Cu(e,t)}function Au(e){const t=e.u;if(e.u=void 0,"function"==typeof t){gu++;const n=fu;fu=void 0;try{t()}catch(t){throw e.f&=-2,e.f|=8,Eu(e),t}finally{fu=n,du()}}}function Eu(e){for(let t=e.s;void 0!==t;t=t.n)t.S.U(t);e.x=void 0,e.s=void 0,Au(e)}function Tu(e){if(fu!==this)throw new Error("Out-of-order effect");ku(this),fu=e,this.f&=-2,8&this.f&&Eu(this),du()}function Mu(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 Lu(e,t){const n=new Mu(e,t);try{n.c()}catch(e){throw n.d(),e}const r=n.d.bind(n);return r[Symbol.dispose]=r,r}yu.prototype.brand=uu,yu.prototype.h=function(){return!0},yu.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:pu((()=>{var e;null==(e=this.W)||e.call(this)})))},yu.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&&pu((()=>{var e;null==(e=this.Z)||e.call(this)})))}},yu.prototype.subscribe=function(e){return Lu((()=>{const t=this.value,n=fu;fu=void 0;try{e(t)}finally{fu=n}}),{name:"sub"})},yu.prototype.valueOf=function(){return this.value},yu.prototype.toString=function(){return this.value+""},yu.prototype.toJSON=function(){return this.value},yu.prototype.peek=function(){const e=fu;fu=void 0;try{return this.value}finally{fu=e}},Object.defineProperty(yu.prototype,"value",{get(){const e=bu(this);return void 0!==e&&(e.i=this.i),this.v},set(e){if(e!==this.v){if(mu>100)throw new Error("Cycle detected");this.v=e,this.i++,vu++,gu++;try{for(let e=this.t;void 0!==e;e=e.x)e.t.N()}finally{du()}}}}),Cu.prototype=new yu,Cu.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===vu)return!0;if(this.g=vu,this.f|=1,this.i>0&&!wu(this))return this.f&=-2,!0;const e=fu;try{xu(this),fu=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 fu=e,ku(this),this.f&=-2,!0},Cu.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)}yu.prototype.S.call(this,e)},Cu.prototype.U=function(e){if(void 0!==this.t&&(yu.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)}},Cu.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(Cu.prototype,"value",{get(){if(1&this.f)throw new Error("Cycle detected");const e=bu(this);if(this.h(),void 0!==e&&(e.i=this.i),16&this.f)throw this.v;return this.v}}),Mu.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()}},Mu.prototype.S=function(){if(1&this.f)throw new Error("Cycle detected");this.f|=1,this.f&=-9,Au(this),xu(this),gu++;const e=fu;return fu=this,Tu.bind(this,e)},Mu.prototype.N=function(){2&this.f||(this.f|=2,this.o=hu,hu=this)},Mu.prototype.d=function(){this.f|=8,1&this.f||Eu(this)},Mu.prototype.dispose=function(){this.d()};const Du=()=>"undefined"==typeof window?"":window.location.href,Nu=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},Ou=_u(Du());(e=>{"undefined"!=typeof window&&(window.addEventListener("popstate",e),window.addEventListener("replaceState",e),window.addEventListener("pushState",e),window.addEventListener("hashchange",e))})((()=>{Ou.peek()!==Du()&&(Ou.value=Du())}));const Fu=Su((()=>new URL(Ou.value))),Ru=Su((()=>Fu.value.searchParams)),Iu=Su((()=>({hash:Fu.value.hash,pathname:Fu.value.pathname,origin:Fu.value.origin,params:Nu(Ru.value)})));var zu;Su((()=>{const e=Iu.value.hash.startsWith("#")?Iu.value.hash.slice(1):Iu.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"}(zu||(zu={}));const Pu="auto",Bu="light",ju="dark",Yu="theme",$u=[Bu,ju,Pu],qu={matches:!1,addEventListener:()=>{},removeEventListener:()=>{},media:"",onchange:()=>{},addListener:()=>{},removeListener:()=>{},dispatchEvent:()=>!0},Hu=()=>"undefined"==typeof window||"function"!=typeof window.matchMedia?qu:window.matchMedia("(prefers-color-scheme: dark)"),Uu=vn()?.theme,Wu=Su((()=>Vu.value===Pu?Gu.value:Vu.value)),Vu=_u(Pu),Gu=_u("undefined"==typeof window?Bu:Hu().matches?ju:Bu);(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:Vu,key:Yu,onRestore:e=>(e=>$u.includes(e))(e)?e:Uu??Pu}),(e=>{if("undefined"==typeof window)return;const{signal:t,key:n,shouldPersist:r=()=>!0}=e;Lu((()=>{const e=t.value;if(r(e))try{window.localStorage.setItem(n,"string"==typeof e?e:JSON.stringify(e))}catch{}}))})({signal:Vu,key:Yu});const Ku=Su((()=>({current:Wu.value,selected:Vu.value})));"undefined"!=typeof window&&(Lu((()=>{document.documentElement.setAttribute("data-theme",Wu.value)})),Hu().addEventListener("change",(e=>{e.matches?Gu.value=ju:Gu.value=Bu}))),_u(1);const Zu="\nhtml, body {\n margin: 0;\n padding: 0;\n overflow-x: hidden;\n overflow-y: hidden;\n background: var(--color-bg-primary);\n}\n\nbody {\n color: var(--color-text-primary);\n font-family: var(--font-family);\n font-size: var(--font-size-m);\n line-height: var(--line-height-m);\n}\n\np {\n margin-top: 0;\n margin-bottom: 10px;\n}\n\np:last-child {\n margin-bottom: 0;\n}\n\nh1,\nh2,\nh3,\nh4,\nh5,\nh6 {\n font-weight: var(--font-weight-bold) !important;\n line-height: var(--line-height-l) !important;\n margin: 16px 0 10px;\n}\n\nh1:first-child,\nh2:first-child,\nh3:first-child,\nh4:first-child,\nh5:first-child,\nh6:first-child {\n margin-top: 0;\n}\n\nh1 {\n font-size: var(--font-size-xl) !important;\n}\n\nh2,\nh3 {\n font-size: var(--font-size-l) !important;\n}\n\nh4 {\n font-size: var(--font-size-m) !important;\n}\n\nh5,\nh6 {\n font-size: var(--font-size-s) !important;\n}\n\nh6 {\n color: var(--color-text-secondary);\n}\n\nstrong,\nb {\n font-weight: var(--font-weight-bold) !important;\n}\n\nem,\ni {\n font-style: italic !important;\n}\n\ndel,\ns {\n text-decoration: line-through;\n}\n\na {\n color: var(--color-text-primary);\n text-decoration: underline;\n}\n\na:hover {\n color: var(--color-text-secondary);\n}\n\ncode {\n font-family: var(--font-family-mono) !important;\n font-size: var(--font-size-m-code) !important;\n padding: 0.2em 0.4em;\n background: var(--color-control-bg);\n border-radius: 4px;\n}\n\npre {\n font-family: var(--font-family-mono) !important;\n font-size: var(--font-size-s) !important;\n line-height: 1.45 !important;\n padding: 16px;\n overflow: auto;\n background: var(--color-control-bg);\n border-radius: 6px;\n margin-bottom: 16px;\n}\n\npre code {\n padding: 0;\n background: transparent;\n font-size: inherit !important;\n border-radius: 0;\n}\n\nblockquote {\n padding: 0 1em;\n border-left: 0.25em solid var(--color-border-default);\n color: var(--color-text-secondary);\n margin-bottom: 16px;\n}\n\nul,\nol {\n padding-left: 2em;\n margin-bottom: 10px;\n}\n\nul {\n list-style: disc !important;\n}\n\nol {\n list-style: decimal !important;\n}\n\nli + li {\n margin-top: 0.25em;\n}\n\nhr {\n height: 0.25em;\n padding: 0;\n margin: 24px 0;\n background-color: var(--color-border-default);\n border: 0 !important;\n}\n\ntable {\n border-spacing: 0;\n border-collapse: collapse;\n margin-bottom: 16px;\n display: block;\n width: max-content;\n max-width: 100%;\n overflow-x: auto;\n overflow-y: hidden;\n transform: translateZ(0);\n contain: layout paint;\n}\n\nth,\ntd {\n padding: 6px 13px;\n border: 1px solid var(--color-border-default) !important;\n white-space: nowrap;\n}\n\nth {\n font-weight: var(--font-weight-bold) !important;\n position: sticky;\n top: 0;\n z-index: 1;\n background: var(--color-bg-primary);\n}\n\ntr:nth-child(2n) {\n background: var(--color-control-bg);\n}\n\nimg {\n max-width: 100% !important;\n height: auto !important;\n display: inline-block !important;\n vertical-align: middle !important;\n}\n\nabbr,\nabbr[title] {\n text-decoration: underline dotted;\n cursor: help;\n border-bottom: none;\n}\n\nkbd {\n display: inline-block;\n padding: 3px 5px;\n font-family: var(--font-family-mono) !important;\n font-size: 11px;\n line-height: 10px;\n color: var(--color-text-primary);\n vertical-align: middle;\n background-color: var(--color-control-bg);\n border: solid 1px var(--color-border-medium);\n border-bottom-color: var(--color-border-medium);\n border-radius: 6px;\n box-shadow: inset 0 -1px 0 var(--color-border-medium);\n}\n\nsamp {\n font-family: var(--font-family-mono) !important;\n font-size: 85% !important;\n}\n\nvar {\n font-family: var(--font-family-mono) !important;\n font-style: italic !important;\n font-weight: var(--font-weight-bold) !important;\n}\n\nmark {\n background-color: var(--color-intent-primary-bg);\n color: var(--color-intent-primary-on-bg);\n padding: 0.1em 0.2em;\n border-radius: 2px;\n}\n\nsmall {\n font-size: 85% !important;\n}\n\nsub,\nsup {\n font-size: 75% !important;\n line-height: 0 !important;\n position: relative !important;\n vertical-align: baseline !important;\n}\n\nsub {\n bottom: -0.25em !important;\n}\n\nsup {\n top: -0.5em !important;\n}\n\nins {\n text-decoration: underline;\n background-color: var(--color-intent-success-bg-subtle);\n color: var(--color-text-primary);\n text-decoration-color: var(--color-intent-success-text);\n}\n\ndfn {\n font-style: italic !important;\n font-weight: var(--font-weight-bold) !important;\n}\n\ncite {\n font-style: italic !important;\n}\n\nq {\n font-style: italic !important;\n}\n\nq::before {\n content: open-quote;\n}\n\nq::after {\n content: close-quote;\n}\n\ntime {\n font-variant-numeric: tabular-nums;\n}\n\ndl {\n padding: 0;\n margin-bottom: 16px;\n}\n\ndt {\n padding: 0;\n margin-top: 16px;\n font-size: 1em;\n font-style: italic;\n font-weight: var(--font-weight-bold) !important;\n}\n\ndt:first-child {\n margin-top: 0;\n}\n\ndd {\n padding: 0 0 0 16px;\n margin-left: 0;\n margin-bottom: 16px;\n}\n\nfigure {\n margin: 16px 0;\n display: block;\n}\n\nfigcaption {\n margin-top: 8px;\n font-size: var(--font-size-s) !important;\n color: var(--color-text-secondary);\n font-style: italic;\n text-align: center;\n}\n\ndetails {\n display: block;\n margin-bottom: 16px;\n}\n\nsummary {\n display: list-item;\n cursor: pointer;\n font-weight: var(--font-weight-bold) !important;\n margin-bottom: 8px;\n}\n\nsummary:hover {\n color: var(--color-text-secondary);\n}\n\nsummary::marker {\n color: var(--color-text-secondary);\n}\n\ndetails[open] summary {\n margin-bottom: 16px;\n}\n\narticle,\nsection,\naside,\nnav {\n display: block;\n margin-bottom: 16px;\n}\n\nheader,\nfooter {\n display: block;\n margin-bottom: 16px;\n}\n\naddress {\n display: block;\n font-style: italic;\n margin-bottom: 16px;\n}\n",Xu=/var\(\s*(--[\w-]+)\s*(?:,\s*([^)]+))?\)/g,Ju=(e,t,n)=>e.replace(Xu,((e,r,i)=>{if(n.has(r))return i?Ju(i.trim(),t,n):"";const o=new Set(n);o.add(r);const a=t.getPropertyValue(r).trim();return a?Ju(a,t,o):i?Ju(i.trim(),t,o):""})),Qu=/((?:(?:https?:\/\/|ftp:\/\/|mailto:)|www\.)\S+?)(\s|"|'|\)|]|}|>|$)/g,ed=(e,t=!1)=>t||(e=>void 0===e||Boolean(e?.failed||e?.broken))(e);var td="styles_link__BC-2O";const nd=({text:e,...t})=>{if(!(e=>{const t=new RegExp(Qu.source,Qu.flags);return t.lastIndex=0,t.test(e)})(e))return Wt(Zt,{...t,children:e});const n=(e=>{if(!e)return[{type:"text",value:""}];const t=[],n=new RegExp(Qu.source,Qu.flags);let r,i=0;for(;null!==(r=n.exec(e));){const n=r.index,o=r[1],a=r[2]??"";n>i&&t.push({type:"text",value:e.slice(i,n)}),t.push({type:"url",value:o}),i=n+o.length+a.length}return i<e.length&&t.push({type:"text",value:e.slice(i)}),0===t.length?[{type:"text",value:e}]:t})(e);return Wt(Zt,{...t,children:n.map(((e,t)=>{if("text"===e.type)return e.value;const n=(r=e.value,/^(?:https?:\/\/|mailto:|tel:)/.test(r)?gn(r):/^www\./.test(r)?gn(`https://${r}`):gn(r));var r;return n?Wt(Zt,{tag:"a",href:n,target:"_blank",rel:"noopener noreferrer",className:td,onClick:e=>{e.stopPropagation()},children:e.value},t):e.value}))})},rd=Math.min,id=Math.max,od=Math.round,ad=Math.floor,sd=e=>({x:e,y:e}),ld={left:"right",right:"left",bottom:"top",top:"bottom"},cd={start:"end",end:"start"};function ud(e,t,n){return id(e,rd(t,n))}function dd(e,t){return"function"==typeof e?e(t):e}function fd(e){return e.split("-")[0]}function hd(e){return e.split("-")[1]}function pd(e){return"x"===e?"y":"x"}function gd(e){return"y"===e?"height":"width"}const md=new Set(["top","bottom"]);function vd(e){return md.has(fd(e))?"y":"x"}function bd(e){return pd(vd(e))}function yd(e){return e.replace(/start|end/g,(e=>cd[e]))}const _d=["left","right"],wd=["right","left"],xd=["top","bottom"],kd=["bottom","top"];function Cd(e){return e.replace(/left|right|bottom|top/g,(e=>ld[e]))}function Sd(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 Ad(e,t,n){let{reference:r,floating:i}=e;const o=vd(t),a=bd(t),s=gd(a),l=fd(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(hd(t)){case"start":h[a]-=f*(n&&c?-1:1);break;case"end":h[a]+=f*(n&&c?-1:1)}return h}async function Ed(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}=dd(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=Sd(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},_=Sd(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 Td=new Set(["left","top"]);function Md(){return"undefined"!=typeof window}function Ld(e){return Od(e)?(e.nodeName||"").toLowerCase():"#document"}function Dd(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function Nd(e){var t;return null==(t=(Od(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function Od(e){return!!Md()&&(e instanceof Node||e instanceof Dd(e).Node)}function Fd(e){return!!Md()&&(e instanceof Element||e instanceof Dd(e).Element)}function Rd(e){return!!Md()&&(e instanceof HTMLElement||e instanceof Dd(e).HTMLElement)}function Id(e){return!(!Md()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof Dd(e).ShadowRoot)}const zd=new Set(["inline","contents"]);function Pd(e){const{overflow:t,overflowX:n,overflowY:r,display:i}=Zd(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!zd.has(i)}const Bd=new Set(["table","td","th"]);function jd(e){return Bd.has(Ld(e))}const Yd=[":popover-open",":modal"];function $d(e){return Yd.some((t=>{try{return e.matches(t)}catch(e){return!1}}))}const qd=["transform","translate","scale","rotate","perspective"],Hd=["transform","translate","scale","rotate","perspective","filter"],Ud=["paint","layout","strict","content"];function Wd(e){const t=Vd(),n=Fd(e)?Zd(e):e;return qd.some((e=>!!n[e]&&"none"!==n[e]))||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||Hd.some((e=>(n.willChange||"").includes(e)))||Ud.some((e=>(n.contain||"").includes(e)))}function Vd(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}const Gd=new Set(["html","body","#document"]);function Kd(e){return Gd.has(Ld(e))}function Zd(e){return Dd(e).getComputedStyle(e)}function Xd(e){return Fd(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Jd(e){if("html"===Ld(e))return e;const t=e.assignedSlot||e.parentNode||Id(e)&&e.host||Nd(e);return Id(t)?t.host:t}function Qd(e){const t=Jd(e);return Kd(t)?e.ownerDocument?e.ownerDocument.body:e.body:Rd(t)&&Pd(t)?t:Qd(t)}function ef(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);const i=Qd(e),o=i===(null==(r=e.ownerDocument)?void 0:r.body),a=Dd(i);if(o){const e=tf(a);return t.concat(a,a.visualViewport||[],Pd(i)?i:[],e&&n?ef(e):[])}return t.concat(i,ef(i,[],n))}function tf(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function nf(e){const t=Zd(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const i=Rd(e),o=i?e.offsetWidth:n,a=i?e.offsetHeight:r,s=od(n)!==o||od(r)!==a;return s&&(n=o,r=a),{width:n,height:r,$:s}}function rf(e){return Fd(e)?e:e.contextElement}function of(e){const t=rf(e);if(!Rd(t))return sd(1);const n=t.getBoundingClientRect(),{width:r,height:i,$:o}=nf(t);let a=(o?od(n.width):n.width)/r,s=(o?od(n.height):n.height)/i;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const af=sd(0);function sf(e){const t=Dd(e);return Vd()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:af}function lf(e,t,n,r){void 0===t&&(t=!1),void 0===n&&(n=!1);const i=e.getBoundingClientRect(),o=rf(e);let a=sd(1);t&&(r?Fd(r)&&(a=of(r)):a=of(e));const s=function(e,t,n){return void 0===t&&(t=!1),!(!n||t&&n!==Dd(e))&&t}(o,n,r)?sf(o):sd(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=Dd(o),t=r&&Fd(r)?Dd(r):r;let n=e,i=tf(n);for(;i&&r&&t!==n;){const e=of(i),t=i.getBoundingClientRect(),r=Zd(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=Dd(i),i=tf(n)}}return Sd({width:u,height:d,x:l,y:c})}function cf(e,t){const n=Xd(e).scrollLeft;return t?t.left+n:lf(Nd(e)).left+n}function uf(e,t){const n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-cf(e,n),y:n.top+t.scrollTop}}const df=new Set(["absolute","fixed"]);function ff(e,t,n){let r;if("viewport"===t)r=function(e,t){const n=Dd(e),r=Nd(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=Vd();(!e||e&&"fixed"===t)&&(s=i.offsetLeft,l=i.offsetTop)}const c=cf(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=Nd(e),n=Xd(e),r=e.ownerDocument.body,i=id(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),o=id(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let a=-n.scrollLeft+cf(e);const s=-n.scrollTop;return"rtl"===Zd(r).direction&&(a+=id(t.clientWidth,r.clientWidth)-i),{width:i,height:o,x:a,y:s}}(Nd(e));else if(Fd(t))r=function(e,t){const n=lf(e,!0,"fixed"===t),r=n.top+e.clientTop,i=n.left+e.clientLeft,o=Rd(e)?of(e):sd(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=sf(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return Sd(r)}function hf(e,t){const n=Jd(e);return!(n===t||!Fd(n)||Kd(n))&&("fixed"===Zd(n).position||hf(n,t))}function pf(e,t,n){const r=Rd(t),i=Nd(t),o="fixed"===n,a=lf(e,!0,o,t);let s={scrollLeft:0,scrollTop:0};const l=sd(0);function c(){l.x=cf(i)}if(r||!r&&!o)if(("body"!==Ld(t)||Pd(i))&&(s=Xd(t)),r){const e=lf(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?sd(0):uf(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 gf(e){return"static"===Zd(e).position}function mf(e,t){if(!Rd(e)||"fixed"===Zd(e).position)return null;if(t)return t(e);let n=e.offsetParent;return Nd(e)===n&&(n=n.ownerDocument.body),n}function vf(e,t){const n=Dd(e);if($d(e))return n;if(!Rd(e)){let t=Jd(e);for(;t&&!Kd(t);){if(Fd(t)&&!gf(t))return t;t=Jd(t)}return n}let r=mf(e,t);for(;r&&jd(r)&&gf(r);)r=mf(r,t);return r&&Kd(r)&&gf(r)&&!Wd(r)?n:r||function(e){let t=Jd(e);for(;Rd(t)&&!Kd(t);){if(Wd(t))return t;if($d(t))return null;t=Jd(t)}return null}(e)||n}const bf={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e;const o="fixed"===i,a=Nd(r),s=!!t&&$d(t.floating);if(r===a||s&&o)return n;let l={scrollLeft:0,scrollTop:0},c=sd(1);const u=sd(0),d=Rd(r);if((d||!d&&!o)&&(("body"!==Ld(r)||Pd(a))&&(l=Xd(r)),Rd(r))){const e=lf(r);c=of(r),u.x=e.x+r.clientLeft,u.y=e.y+r.clientTop}const f=!a||d||o?sd(0):uf(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:Nd,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e;const o="clippingAncestors"===n?$d(t)?[]:function(e,t){const n=t.get(e);if(n)return n;let r=ef(e,[],!1).filter((e=>Fd(e)&&"body"!==Ld(e))),i=null;const o="fixed"===Zd(e).position;let a=o?Jd(e):e;for(;Fd(a)&&!Kd(a);){const t=Zd(a),n=Wd(a);n||"fixed"!==t.position||(i=null),(o?!n&&!i:!n&&"static"===t.position&&i&&df.has(i.position)||Pd(a)&&!n&&hf(e,a))?r=r.filter((e=>e!==a)):i=t,a=Jd(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=ff(t,n,i);return e.top=id(r.top,e.top),e.right=rd(r.right,e.right),e.bottom=rd(r.bottom,e.bottom),e.left=id(r.left,e.left),e}),ff(t,s,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:vf,getElementRects:async function(e){const t=this.getOffsetParent||vf,n=this.getDimensions,r=await n(e.floating);return{reference:pf(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}=nf(e);return{width:t,height:n}},getScale:of,isElement:Fd,isRTL:function(e){return"rtl"===Zd(e).direction}};function yf(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function _f(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=rf(e),u=i||o?[...c?ef(c):[],...ef(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=Nd(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:-ad(d)+"px "+-ad(i.clientWidth-(u+f))+"px "+-ad(i.clientHeight-(d+h))+"px "+-ad(u)+"px",threshold:id(0,rd(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||yf(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?lf(e):null;return l&&function t(){const r=lf(e);g&&!yf(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 wf=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=fd(n),s=hd(n),l="y"===vd(n),c=Td.has(a)?-1:1,u=o&&l?-1:1,d=dd(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}}}}},xf=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}=dd(e,t),c={x:n,y:r},u=await Ed(t,l),d=vd(fd(i)),f=pd(d);let h=c[f],p=c[d];if(o){const e="y"===f?"bottom":"right";h=ud(h+u["y"===f?"top":"left"],h,h-u[e])}if(a){const e="y"===d?"bottom":"right";p=ud(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}}}}}},kf=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}=dd(e,t);if(null!=(n=o.arrow)&&n.alignmentOffset)return{};const v=fd(i),b=vd(s),y=fd(s)===s,_=await(null==l.isRTL?void 0:l.isRTL(c.floating)),w=f||(y||!g?[Cd(s)]:function(e){const t=Cd(e);return[yd(e),t,yd(t)]}(s)),x="none"!==p;!f&&x&&w.push(...function(e,t,n,r){const i=hd(e);let o=function(e,t,n){switch(e){case"top":case"bottom":return n?t?wd:_d:t?_d:wd;case"left":case"right":return t?xd:kd;default:return[]}}(fd(e),"start"===n,r);return i&&(o=o.map((e=>e+"-"+i)),t&&(o=o.concat(o.map(yd)))),o}(s,g,p,_));const k=[s,...w],C=await Ed(t,m),S=[];let A=(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=hd(e),i=bd(e),o=gd(i);let a="x"===i?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[o]>t.floating[o]&&(a=Cd(a)),[a,Cd(a)]}(i,a,_);S.push(C[e[0]],C[e[1]])}if(A=[...A,{placement:i,overflows:S}],!S.every((e=>e<=0))){var E,T;const e=((null==(E=o.flip)?void 0:E.index)||0)+1,t=k[e];if(t&&("alignment"!==d||b===vd(t)||A.every((e=>vd(e.placement)!==b||e.overflows[0]>0))))return{data:{index:e,overflows:A},reset:{placement:t}};let n=null==(T=A.filter((e=>e.overflows[0]<=0)).sort(((e,t)=>e.overflows[1]-t.overflows[1]))[0])?void 0:T.placement;if(!n)switch(h){case"bestFit":{var M;const e=null==(M=A.filter((e=>{if(x){const t=vd(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:M[0];e&&(n=e);break}case"initialPlacement":n=s}if(i!==n)return{reset:{placement:n}}}return{}}}},Cf=(e,t,n)=>{const r=new Map,i={platform:bf,...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}=Ad(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}=Ad(c,f,l))),n=-1)}return{x:u,y:d,placement:f,strategy:i,middlewareData:h}})(e,t,{...i,platform:o})};const Sf=({children:e,"data-testid":t})=>Wt("div",{className:"styles_custom-tooltip__2reCz","data-testid":t,children:Wt(Zt,{className:"tooltip-content",size:"s",bold:!0,children:e})}),Af=e=>{const{placement:t="top",triggerRef:n,tooltipRef:r,isVisible:o}=e,a=(0,i.li)(null),s=(0,i.li)(null);(0,i.vJ)((()=>{a.current=n.current,s.current=r.current}),[n,r]),(0,i.vJ)((()=>{const e=()=>{a.current&&s.current&&Cf(a.current,s.current,{placement:t,middleware:[wf(6),kf(),xf({padding:5})]}).then((({x:e,y:t})=>{s.current&&Object.assign(s.current.style,{left:`${e}px`,top:`${t}px`,position:"absolute","z-index":100})}))};o&&e(),a.current&&s.current&&_f(a.current,s.current,e)}),[o,t])},Ef=({tooltipText:e,tooltipTextAfterClick:t,tooltipComponent:n,children:r,placement:o="top",triggerMode:a="hover",autoHideDelay:s=600,showDelay:l=200,isTriggerActive:c=!0,"data-testid":u})=>{const d=(0,i.li)(null),f=(0,i.li)(null),[h,p]=(0,i.J0)(!1),[g,m]=(0,i.J0)(e),v=(0,i.li)(null),b=(0,i.li)(null);(0,i.vJ)((()=>{m(e);const t=()=>{f.current&&d.current&&Cf(f.current,d.current,{placement:o,middleware:[wf(6),kf(),xf({padding:5})]}).then((({x:e,y:t})=>{d.current&&Object.assign(d.current.style,{left:`${e}px`,top:`${t}px`,position:"absolute","z-index":100})}))};return h&&t(),f.current&&d.current?_f(f.current,d.current,t):()=>{}}),[h,o,e]),(0,i.vJ)((()=>()=>{v.current&&clearTimeout(v.current)}),[]);const y=n||Wt(Sf,{"data-testid":u,children:g});return Wt("div",{onMouseEnter:()=>{"hover"===a&&c&&(b.current=window.setTimeout((()=>{p(!0)}),l)),"click"===a&&v.current&&clearTimeout(v.current)},onMouseLeave:()=>{b.current&&clearTimeout(b.current),"hover"===a?(p(!1),m(e)):"click"===a&&h&&(v.current=window.setTimeout((()=>{p(!1)}),s))},onClick:()=>{"click"===a&&f.current&&c&&(p(!0),v.current&&clearTimeout(v.current)),t&&m(t)},children:[Wt("div",{ref:f,children:r}),Wt("div",{ref:d,children:h&&y})]})},Tf=(e,t={})=>{const{observeResize:n=!0}=t,[r,o]=(0,i.J0)(null),[a,s]=(0,i.J0)(!1),l=(0,i.hb)((e=>{o(e)}),[]);return(0,i.vJ)((()=>{if(!r)return;const e=r.parentElement,t=()=>{s((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 a=new ResizeObserver(t);return a.observe(r),e&&a.observe(e),()=>{cancelAnimationFrame(i),window.removeEventListener("resize",o),a.disconnect()}}),[r,n,...e]),{ref:l,isTruncated:a}},Mf=e=>{const{source:t,transformData:n=e=>e,renderLoader:r=()=>null,renderError:i=e=>Wt("div",{children:e}),renderData:o}=e;return t.value.loading?r():t.value.error?i(t.value.error):o(n(t.value.data))};const Lf=()=>Wt("div",{className:"styles_page-loader__OFuzd",children:Wt(Kt,{size:"m"})});var Df="styles_slot__Grn3c";const Nf=e=>{e.stopPropagation()},Of=e=>{const{placeholder:t,value:n,onChange:r,changeDebounce:o=300,leadingSlot:a,trailingSlot:s,error:l}=e,[c,u]=(0,i.J0)(n),d=(0,i.li)(null),f=((e,t=300)=>{const n=(0,i.li)(e);return(0,i.vJ)((()=>{n.current=e}),[e]),(0,i.hb)(((e,t=300)=>{let n;return(...r)=>{clearTimeout(n),n=setTimeout((()=>{e(...r)}),t)}})(((...e)=>n.current(...e)),t),[t])})(r,o),h=!!c,p=!!l;return Wt(Zt,{className:"styles_inputWrap__96bWy",type:"ui",size:"m",tag:"div",onClick:()=>d.current?.focus(),"data-invalid":p||void 0,children:[Wt("div",{className:"styles_leadingIcon__6Bcbs",children:Wt(Gt,{id:ht.id,size:"s"})}),a&&Wt("div",{className:Df,onClick:Nf,children:a}),Wt("input",{ref:d,className:"styles_input__ir8z5",type:"text",placeholder:t,onInput:e=>{const t=e.target.value;u(t),f(t)},value:c,name:"search",autocomplete:"off","data-testid":"search-input","aria-invalid":p||void 0}),s&&Wt("div",{className:Df,onClick:Nf,children:s}),h&&Wt("div",{className:"styles_clearButton__SR4Dg",children:Wt(nn,{size:"s",icon:mt.id,onClick:e=>{e.preventDefault(),e.stopPropagation(),u(""),f("")},style:"ghost","data-testid":"clear-button"})})]})};function Ff(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 Rf(e,t){this.props=e,this.context=t}(Rf.prototype=new r.uA).isPureReactComponent=!0,Rf.prototype.shouldComponentUpdate=function(e,t){return Ff(this.props,e)||Ff(this.state,t)};var If=r.fF.__b;r.fF.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),If&&If(e)};var zf=r.fF.__e;r.fF.__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);zf(e,t,n,r)};var Pf=r.fF.unmount;function Bf(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 Bf(e,t,n)}))),e}function jf(e,t,n){return e&&n&&(e.__v=null,e.__k=e.__k&&e.__k.map((function(e){return jf(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 Yf(){this.__u=0,this.o=null,this.__b=null}function $f(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function qf(){this.i=null,this.l=null}r.fF.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),Pf&&Pf(e)},(Yf.prototype=new r.uA).__c=function(e,t){var n=t.__c,r=this;null==r.o&&(r.o=[]),r.o.push(n);var i=$f(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]=jf(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)},Yf.prototype.componentWillUnmount=function(){this.o=[]},Yf.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),i=this.__v.__k[0].__c;this.__v.__k[0]=Bf(this.__b,n,i.__O=i.__P)}this.__b=null}var o=t.__a&&(0,r.n)(r.FK,null,e.fallback);return o&&(o.__u&=-33),[(0,r.n)(r.FK,null,t.__a?null:e.children),o]};var Hf=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 Uf(e){return this.getChildContext=function(){return e.context},e.children}function Wf(e){var t=this,n=e.h;if(t.componentWillUnmount=function(){(0,r.XX)(null,t.v),t.v=null,t.h=null},t.h&&t.h!==n&&t.componentWillUnmount(),!t.v){for(var i=t.__v;null!==i&&!i.__m&&null!==i.__;)i=i.__;t.h=n,t.v={nodeType:1,parentNode:n,childNodes:[],__k:{__m:i.__m},contains:function(){return!0},insertBefore:function(e,n){this.childNodes.push(e),t.h.insertBefore(e,n)},removeChild:function(e){this.childNodes.splice(this.childNodes.indexOf(e)>>>1,1),t.h.removeChild(e)}}}(0,r.XX)((0,r.n)(Uf,{context:t.context},e.__v),t.v)}function Vf(e,t){var n=(0,r.n)(Wf,{__v:e,h:t});return n.containerInfo=t,n}(qf.prototype=new r.uA).__a=function(e){var t=this,n=$f(t.__v),r=t.l.get(e);return r[0]++,function(i){var o=function(){t.props.revealOrder?(r.push(i),Hf(t,e,r)):i()};n?n(o):o()}},qf.prototype.render=function(e){this.i=null,this.l=new Map;var t=(0,r.v2)(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},qf.prototype.componentDidUpdate=qf.prototype.componentDidMount=function(){var e=this;this.l.forEach((function(t,n){Hf(e,n,t)}))};var Gf="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,Kf=/^(?: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]/,Zf=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,Xf=/[A-Z0-9]/g,Jf="undefined"!=typeof document,Qf=function(e){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/:/fil|che|ra/).test(e)};r.uA.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach((function(e){Object.defineProperty(r.uA.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})}));var eh=r.fF.event;function th(){}function nh(){return this.cancelBubble}function rh(){return this.defaultPrevented}r.fF.event=function(e){return eh&&(e=eh(e)),e.persist=th,e.isPropagationStopped=nh,e.isDefaultPrevented=rh,e.nativeEvent=e};var ih={enumerable:!1,configurable:!0,get:function(){return this.class}},oh=r.fF.vnode;r.fF.vnode=function(e){"string"==typeof e.type&&function(e){var t=e.props,n=e.type,i={},o=-1===n.indexOf("-");for(var a in t){var s=t[a];if(!("value"===a&&"defaultValue"in t&&null==s||Jf&&"children"===a&&"noscript"===n||"class"===a||"className"===a)){var l=a.toLowerCase();"defaultValue"===a&&"value"in t&&null==t.value?a="value":"download"===a&&!0===s?s="":"translate"===l&&"no"===s?s=!1:"o"===l[0]&&"n"===l[1]?"ondoubleclick"===l?a="ondblclick":"onchange"!==l||"input"!==n&&"textarea"!==n||Qf(t.type)?"onfocus"===l?a="onfocusin":"onblur"===l?a="onfocusout":Zf.test(a)&&(a=l):l=a="oninput":o&&Kf.test(a)?a=a.replace(Xf,"-$&").toLowerCase():null===s&&(s=void 0),"oninput"===l&&i[a=l]&&(a="oninputCapture"),i[a]=s}}"select"==n&&i.multiple&&Array.isArray(i.value)&&(i.value=(0,r.v2)(t.children).forEach((function(e){e.props.selected=-1!=i.value.indexOf(e.props.value)}))),"select"==n&&null!=i.defaultValue&&(i.value=(0,r.v2)(t.children).forEach((function(e){e.props.selected=i.multiple?-1!=i.defaultValue.indexOf(e.props.value):i.defaultValue==e.props.value}))),t.class&&!t.className?(i.class=t.class,Object.defineProperty(i,"className",ih)):(t.className&&!t.class||t.class&&t.className)&&(i.class=i.className=t.className),e.props=i}(e),e.$$typeof=Gf,oh&&oh(e)};var ah=r.fF.__r;r.fF.__r=function(e){ah&&ah(e),e.__c};var sh=r.fF.diffed;r.fF.diffed=function(e){sh&&sh(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 lh={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 ch=(0,r.q6)(null),uh=e=>{const{children:t,menuTrigger:n,menuTriggerWrapper:o="div",size:a="m",isInitialOpened:s=!1,placement:l="bottom-end",...c}=e,[u,d]=(0,i.J0)(s),f=(0,i.li)(null),h=(0,i.li)(null);return(0,i.vJ)((()=>{const e=e=>{"Escape"===e.key&&u&&d(!1)};return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)}}),[u]),(0,i.vJ)((()=>{const e=e=>{u&&f.current&&(f.current.contains(e.target)||d(!1))};return u&&document.addEventListener("click",e),()=>{document.removeEventListener("click",e)}}),[u]),(0,i.vJ)((()=>{const e=()=>{(f.current||h.current)&&Cf(h.current,f.current,{placement:l,middleware:[wf(6),kf(),xf({padding:5})],strategy:"fixed"}).then((({x:e,y:t,strategy:n})=>{f.current&&Object.assign(f.current.style,{left:`${e}px`,top:`${t}px`,position:n,zIndex:1e3})}))};return e(),_f(h.current,f.current,e)}),[f.current,h.current]),Wt(ch.Provider,{value:{setIsOpened:d},children:Wt(r.FK,{children:["function"==typeof n&&Wt(o,{ref:h,children:n({isOpened:u,onClick:()=>{d(!u)},setIsOpened:d})}),Vf(Wt("div",{ref:f,...c,children:u&&Wt("aside",{className:D(lh.menu,lh[`size-${a}`]),children:t})}),document.body)]})})};uh.Section=e=>{const{children:t,...n}=e;return Wt("ul",{className:lh.section,...n,children:t})},uh.Section.displayName="Menu.Section";const dh=e=>{const{setIsOpened:t}=(()=>{const e=(0,i.NT)(ch);if(!e)throw new Error("useMenuContext must be used within a Menu");return e})(),{children:n,onClick:r,leadingIcon:o,rightSlot:a,ariaLabel:s,closeMenuOnClick:l=!0,dataTestId:c,...u}=e,d="function"==typeof r,f="string"==typeof o;return Wt("li",{className:lh.menuListItem,...u,children:Wt(Zt,{"aria-label":s,type:"paragraph",size:"m",tag:d?"button":"div",className:D(lh.menuItem,d&&lh.interactive),onClick:e=>{d&&l&&(e.stopPropagation(),t(!1)),d&&r?.()},"data-interactive-menu-item":!!d||void 0,"data-testid":c,children:[f&&Wt(Gt,{id:o,className:lh.leadingIcon,size:"m"}),Wt("div",{className:lh.content,children:n}),a&&Wt("div",{className:lh.right,children:a})]})})};(uh.Item=dh).displayName="Menu.Item",(uh.ItemWithCheckmark=e=>{const{isChecked:t=!1,...n}=e;return Wt(dh,{...n,rightSlot:t&&Wt(Gt,{className:lh.checkmarkIcon,id:tt.id})})}).displayName="Menu.ItemWithCheckmark";var fh={"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 hh=({isOpened:e,buttonSize:t="m",iconSize:n="xs",tag:r="button",className:i,icon:o=Vt.lineArrowsChevronDown,onClick:a,...s})=>Wt(r,{...s,className:D(fh["arrow-button"],fh[`arrow-button-${t}`]),onClick:a,children:Wt(Gt,{id:o,size:n,className:D({[fh["arrow-button-icon--opened"]]:e},fh["arrow-button-icon"],fh[`icon-size-${n}`],i)})});const ph={s:"s",m:"m",xs:"xs"},gh=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 Wt("div",{"data-size":s,"data-full-height":a||void 0,"data-border":u||void 0,className:D("styles_container__9IMGc",l),children:[!!i&&Wt(Gt,{id:i,className:D("styles_emptyIcon__QSADI",c),"data-size":ph[s],"data-color":o}),Wt("div",{className:"styles_textContainer__AznFB",children:[r&&Wt(Zt,{tag:"b",size:"s"===s?"m":"l",bold:!0,className:"styles_title__wOjPO",children:r}),!!n&&Wt(Zt,{tag:"p",size:"m",className:"styles_description__Idyva",children:n})]}),t]})},mh={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"},vh={"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"},bh=e=>e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,"""),yh=256,_h=257,wh=258,xh=259,kh=260,Ch=261,Sh=262,Ah=263,Eh={0:"var(--color-text-primary)",1:"var(--color-intent-danger-text)",2:"var(--color-intent-success-text)",3:"var(--color-intent-warning-text)",4:"var(--color-intent-info-text)",5:"var(--color-status-unknown-text)",6:"var(--color-decorative-5-text)",7:"var(--color-text-primary)",8:"var(--color-text-muted)",9:"var(--color-intent-danger-text)",10:"var(--color-intent-success-text)",11:"var(--color-intent-warning-text)",12:"var(--color-intent-info-text)",13:"var(--color-status-unknown-text)",14:"var(--color-decorative-5-text)",15:"var(--color-text-primary)",[yh]:"var(--color-text-primary)",[_h]:"var(--color-text-muted)",[wh]:"var(--color-intent-danger-text)",[xh]:"var(--color-intent-success-text)",[kh]:"var(--color-intent-warning-text)",[Ch]:"var(--color-intent-info-text)",[Sh]:"var(--color-status-unknown-text)",[Ah]:"var(--color-decorative-5-text)"},Th=[0,95,135,175,215,255],Mh=(e,t,n)=>{const r=.299*e+.587*t+.114*n,i=Math.max(e,t,n),o=Math.min(e,t,n);return e>=150&&t>=120&&n<=210&&e+t>=2.2*n?260:t>=e+20&&t>=n+20?259:e>=t+30&&e>=n+30?258:n>=e+20&&n>=t-10?261:e>=120&&n>=120&&t<=i-20?262:i-o<=32?r>=150||r<=80?yh:257:yh},Lh=e=>{if(e>=16&&e<=231){const t=e-16;return{red:Th[Math.floor(t/36)],green:Th[Math.floor(t%36/6)],blue:Th[t%6]}}if(e>=232&&e<=255){const t=10*(e-232)+8;return{red:t,green:t,blue:t}}},Dh=e=>Number.isInteger(e)&&e>=0&&e<=255,Nh=e=>{if(!e)return;const t=/\.([a-z0-9]+)$/i.exec(e);if(!t)return;const n=t[1].toLowerCase();return mh[n]??n},Oh=e=>{const{attachment:t,item:n,highlight:r=!0}=e;if(!t||!("text"in t))return null;const o=n?.link?.ext?.replace(".","").toLowerCase(),a=n?.link?.contentType?.toLowerCase(),s=(Nh(n?.link?.name)??Nh(n?.link?.originalFileName))||o&&(mh[o]??o)||a&&vh[a]||"plaintext",l=t.text??"",c=((e,t)=>"markdown"!==e&&t.split("\n").length>=5)(s,l),u=(0,i.Kr)((()=>["attachment-code-block",r?`language-${s}`:"",r&&c?"line-numbers":""].filter(Boolean).join(" ")),[r,s,c]),d=(0,i.Kr)((()=>r?((e,t)=>{const n=M.languages[t];if(!n)return bh(e);try{return M.highlight(e,n,t)}catch{return bh(e)}})(l,s):null),[r,l,s]);if((e=>"string"==typeof e&&new RegExp(lc).test(e))(l)&&l.length>0&&r){const e=((e,t)=>new sc({escapeXML:!0,...t}).toHtml(e))((e=>e.replace(/\x1b\[([0-9;]*)m/g,((e,t)=>{const n=0===t.length?[0]:t.split(";").map(Number);if(n.some((e=>!Number.isInteger(e))))return e;const r=[];let i=[];const o=()=>{i.length>0&&(r.push(`[${i.join(";")}m`),i=[])};for(let e=0;e<n.length;){const t=n[e];if(38===t&&5===n[e+1]&&Dh(n[e+2])){const t=Lh(n[e+2]);o(),r.push(`[38;5;${t?Mh(t.red,t.green,t.blue):yh}m`),e+=3}else 38===t&&2===n[e+1]&&Dh(n[e+2])&&Dh(n[e+3])&&Dh(n[e+4])?(o(),r.push(`[38;5;${Mh(n[e+2],n[e+3],n[e+4])}m`),e+=5):48===t&&5===n[e+1]&&Dh(n[e+2])?(o(),r.push(`[48;5;${n[e+2]}m`),e+=3):48===t&&2===n[e+1]&&Dh(n[e+2])&&Dh(n[e+3])&&Dh(n[e+4])?(o(),r.push(`[48;2;${n[e+2]};${n[e+3]};${n[e+4]}m`),e+=5):(i.push(t),e+=1)}return o(),r.join("")})))(l),{fg:"var(--color-text-primary)",bg:"none",colors:Eh});return Wt("pre",{"data-testid":"code-attachment-content",className:u,dangerouslySetInnerHTML:{__html:e}})}return Wt("pre",{"data-testid":"code-attachment-content",className:u,children:Wt("code",r&&null!==d?{className:`language-${s}`,dangerouslySetInnerHTML:{__html:d}}:{children:l})})};var Fh={"test-result-steps":"styles_test-result-steps__sOCjB","test-result-steps-root":"styles_test-result-steps-root__sw3Gc","test-result-step":"styles_test-result-step__35uMx","test-result-step-content":"styles_test-result-step-content__ok1gg","test-result-attachment-content":"styles_test-result-attachment-content__GK-nn","test-result-attachment-content-wrapper":"styles_test-result-attachment-content-wrapper__-tpyD","test-result-step-root":"styles_test-result-step-root__dJBld","test-result-step-header":"styles_test-result-step-header__AdqlU","test-result-header-text":"styles_test-result-header-text__UL3Vx","test-result-step-button":"styles_test-result-step-button__wMGEX","test-result-step-number":"styles_test-result-step-number__-Kxim","item-time":"styles_item-time__B9zAy","item-info":"styles_item-info__Irg-g","item-buttons":"styles_item-buttons__hDiWx","item-info-step":"styles_item-info-step__pbKYR","item-info-step-icon":"styles_item-info-step-icon__b2X2T","test-result-step-chevron":"styles_test-result-step-chevron__jHjsv","test-result-step-chevron-open":"styles_test-result-step-chevron-open__J-kYO","test-result-attachment-header":"styles_test-result-attachment-header__rKSDD","test-result-attachment-arrow":"styles_test-result-attachment-arrow__pBXKy","test-result-attachment-arrow-opened":"styles_test-result-attachment-arrow-opened__bQwvt","test-result-attachment-icon":"styles_test-result-attachment-icon__1-cz7","test-result-attachment-text":"styles_test-result-attachment-text__GCEOM","test-result-attachment-image":"styles_test-result-attachment-image__sJpWk","test-result-parameters":"styles_test-result-parameters__g-ocp","attachment-background":"styles_attachment-background__NFtHv","test-result-attachment-error":"styles_test-result-attachment-error__od2Zn","test-result-visibility-hidden":"styles_test-result-visibility-hidden__McZKz","item-button":"styles_item-button__RIUAE","wrong-attachment-sign":"styles_wrong-attachment-sign__j-rkc","test-result-attachment-missed":"styles_test-result-attachment-missed__lCOi2","test-result-spinner":"styles_test-result-spinner__B3aF3","test-result-strut":"styles_test-result-strut__4dCuX",attachmentViewStack:"styles_attachmentViewStack__QMID9",attachmentViewPane:"styles_attachmentViewPane__NSDfM","html-attachment-preview":"styles_html-attachment-preview__0-kmL","test-result-attachment-video":"styles_test-result-attachment-video__251vv",imageDiffWrapper:"styles_imageDiffWrapper__5nf3F","http-attachment":"styles_http-attachment__MwNPR","http-attachment__summary":"styles_http-attachment__summary__j4KBC","http-attachment__method":"styles_http-attachment__method__khW0H","http-attachment__status":"styles_http-attachment__status__7YleG","http-attachment__duration":"styles_http-attachment__duration__mRA-O","http-attachment__version":"styles_http-attachment__version__RiibR","http-attachment__meta-chip":"styles_http-attachment__meta-chip__FgwKj","http-attachment__url":"styles_http-attachment__url__hC-FR","http-attachment__exchange-arrow":"styles_http-attachment__exchange-arrow__Q-T6s","http-attachment__panel":"styles_http-attachment__panel__FfHPJ","http-attachment__panel--error":"styles_http-attachment__panel--error__idRf7","http-attachment__panel-header":"styles_http-attachment__panel-header__EF9do","http-attachment__panel-title":"styles_http-attachment__panel-title__S-PvX","http-attachment__panel-line":"styles_http-attachment__panel-line__LKOl0","http-attachment__meta":"styles_http-attachment__meta__YpflO","http-attachment__meta-row":"styles_http-attachment__meta-row__FBPl5","http-attachment__label":"styles_http-attachment__label__Wi2fO","http-attachment__pair-name":"styles_http-attachment__pair-name__PkJ0C","http-attachment__table":"styles_http-attachment__table__IcWko","http-attachment__value":"styles_http-attachment__value__DNu-l","http-attachment__groups":"styles_http-attachment__groups__Upae-","http-attachment__group":"styles_http-attachment__group__5W7pg","http-attachment__group--body":"styles_http-attachment__group--body__IsEW7","http-attachment__group-summary":"styles_http-attachment__group-summary__wGEc6","http-attachment__group-title":"styles_http-attachment__group-title__4yZ03","http-attachment__group-content":"styles_http-attachment__group-content__zCrxO","http-attachment__cookie-attrs":"styles_http-attachment__cookie-attrs__YQ5-9","http-attachment__masked-value":"styles_http-attachment__masked-value__JzhET","http-attachment__part-list":"styles_http-attachment__part-list__DxTbx","http-attachment__part-card":"styles_http-attachment__part-card__J6naV","http-attachment__part-card-header":"styles_http-attachment__part-card-header__LbkDL","http-attachment__part-title":"styles_http-attachment__part-title__b3BWO","http-attachment__part-section":"styles_http-attachment__part-section__8CGF7","http-attachment__part-section-title":"styles_http-attachment__part-section-title__K1Vpw","http-attachment__part-header-list":"styles_http-attachment__part-header-list__dOGyN","http-attachment__part-header-row":"styles_http-attachment__part-header-row__W-bvy","http-attachment__part-header-name":"styles_http-attachment__part-header-name__eteMA","http-attachment__part-header-value":"styles_http-attachment__part-header-value__3pQz4","http-attachment__part-value":"styles_http-attachment__part-value__x-Sxb","http-attachment__body":"styles_http-attachment__body__v14HL","http-attachment__body-toolbar":"styles_http-attachment__body-toolbar__oefh2","http-attachment__body-heading":"styles_http-attachment__body-heading__OQx6L","http-attachment__body-title":"styles_http-attachment__body-title__ZMQSW","http-attachment__meta-chips":"styles_http-attachment__meta-chips__dvc-6","http-attachment__body-actions":"styles_http-attachment__body-actions__F-FqP","http-attachment__body-action":"styles_http-attachment__body-action__PErGj","http-attachment__body-content":"styles_http-attachment__body-content__q0CG1","http-attachment__body-content--structured":"styles_http-attachment__body-content--structured__-9Khu","http-attachment__body-message":"styles_http-attachment__body-message__cdLDG","http-attachment__empty":"styles_http-attachment__empty__87Ms5"};const Rh=e=>{const{attachment:t,item:n}=e,[r,o]=(0,i.J0)(!0);return(0,i.vJ)((()=>{if(t&&"img"in t&&t.img){const e=new Image;e.onload=()=>o(!0),e.onerror=()=>o(!1),e.src=t.img}}),[t]),Wt("div",t&&"img"in t&&r?{"data-testid":"image-attachment-content",className:Fh["test-result-attachment-image"],children:Wt("img",{src:t.img,alt:n.link.originalFileName})}:{className:Fh["test-result-attachment-error"],children:"something went wrong"})};const Ih=(0,r.q6)(null),zh=e=>{const{children:t,initialTab:n}=e,r=(0,o.Ul)(n),a=(0,i.hb)((e=>{r.value=e}),[r]);return Wt(Ih.Provider,{value:{currentTab:r,setCurrentTab:a},children:t})},Ph=e=>Wt(zh,{...e}),Bh=e=>Wt("div",{className:"styles_list__pI3IS",children:e.children}),jh=e=>{const{currentTab:t,setCurrentTab:n}=(()=>{const e=(0,i.NT)(Ih);if(!e)throw new Error("NavTabs components must be used within a NavTabs component");return e})(),r=(0,o.HO)((()=>t.value===e.tabId)),{tabId:a,children:s,onClick:l,testId:c,isCurrentTab:u=r.value}=e;return Wt("button",{className:"styles_tab__nrjgs",onClick:()=>{if(!u)return l?l():void n(a)},"data-testid":c||`tab-${a}`,"aria-current":u||void 0,children:Wt(Zt,{type:"paragraph",size:"m",bold:u,children:s})})};var Yh,$h={exports:{}},qh=$h.exports,Hh=(Yh||(Yh=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,d=NaN,f=4294967295,h=[["ary",s],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",a],["partialRight",64],["rearg",256]],p="[object Arguments]",g="[object Array]",m="[object Boolean]",v="[object Date]",b="[object Error]",y="[object Function]",_="[object GeneratorFunction]",w="[object Map]",x="[object Number]",k="[object Object]",C="[object Promise]",S="[object RegExp]",A="[object Set]",E="[object String]",T="[object Symbol]",M="[object WeakMap]",L="[object ArrayBuffer]",D="[object DataView]",N="[object Float32Array]",O="[object Float64Array]",F="[object Int8Array]",R="[object Int16Array]",I="[object Int32Array]",z="[object Uint8Array]",P="[object Uint8ClampedArray]",B="[object Uint16Array]",j="[object Uint32Array]",Y=/\b__p \+= '';/g,$=/\b(__p \+=) '' \+/g,q=/(__e\(.*?\)|\b__t\)) \+\n'';/g,H=/&(?:amp|lt|gt|quot|#39);/g,U=/[&<>"']/g,W=RegExp(H.source),V=RegExp(U.source),G=/<%-([\s\S]+?)%>/g,K=/<%([\s\S]+?)%>/g,Z=/<%=([\s\S]+?)%>/g,X=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,J=/^\w*$/,Q=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ee=/[\\^$.*+?()[\]{}|]/g,te=RegExp(ee.source),ne=/^\s+/,re=/\s/,ie=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,oe=/\{\n\/\* \[wrapped with (.+)\] \*/,ae=/,? & /,se=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,le=/[()=,{}\[\]\/\s]/,ce=/\\(\\)?/g,ue=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,de=/\w*$/,fe=/^[-+]0x[0-9a-f]+$/i,he=/^0b[01]+$/i,pe=/^\[object .+?Constructor\]$/,ge=/^0o[0-7]+$/i,me=/^(?:0|[1-9]\d*)$/,ve=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,be=/($^)/,ye=/['\n\r\u2028\u2029\\]/g,_e="\\ud800-\\udfff",we="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",xe="\\u2700-\\u27bf",ke="a-z\\xdf-\\xf6\\xf8-\\xff",Ce="A-Z\\xc0-\\xd6\\xd8-\\xde",Se="\\ufe0e\\ufe0f",Ae="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Ee="["+_e+"]",Te="["+Ae+"]",Me="["+we+"]",Le="\\d+",De="["+xe+"]",Ne="["+ke+"]",Oe="[^"+_e+Ae+Le+xe+ke+Ce+"]",Fe="\\ud83c[\\udffb-\\udfff]",Re="[^"+_e+"]",Ie="(?:\\ud83c[\\udde6-\\uddff]){2}",ze="[\\ud800-\\udbff][\\udc00-\\udfff]",Pe="["+Ce+"]",Be="\\u200d",je="(?:"+Ne+"|"+Oe+")",Ye="(?:"+Pe+"|"+Oe+")",$e="(?:['’](?:d|ll|m|re|s|t|ve))?",qe="(?:['’](?:D|LL|M|RE|S|T|VE))?",He="(?:"+Me+"|"+Fe+")?",Ue="["+Se+"]?",We=Ue+He+"(?:"+Be+"(?:"+[Re,Ie,ze].join("|")+")"+Ue+He+")*",Ve="(?:"+[De,Ie,ze].join("|")+")"+We,Ge="(?:"+[Re+Me+"?",Me,Ie,ze,Ee].join("|")+")",Ke=RegExp("['’]","g"),Ze=RegExp(Me,"g"),Xe=RegExp(Fe+"(?="+Fe+")|"+Ge+We,"g"),Je=RegExp([Pe+"?"+Ne+"+"+$e+"(?="+[Te,Pe,"$"].join("|")+")",Ye+"+"+qe+"(?="+[Te,Pe+je,"$"].join("|")+")",Pe+"?"+je+"+"+$e,Pe+"+"+qe,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Le,Ve].join("|"),"g"),Qe=RegExp("["+Be+_e+we+Se+"]"),et=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,tt=["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"],nt=-1,rt={};rt[N]=rt[O]=rt[F]=rt[R]=rt[I]=rt[z]=rt[P]=rt[B]=rt[j]=!0,rt[p]=rt[g]=rt[L]=rt[m]=rt[D]=rt[v]=rt[b]=rt[y]=rt[w]=rt[x]=rt[k]=rt[S]=rt[A]=rt[E]=rt[M]=!1;var it={};it[p]=it[g]=it[L]=it[D]=it[m]=it[v]=it[N]=it[O]=it[F]=it[R]=it[I]=it[w]=it[x]=it[k]=it[S]=it[A]=it[E]=it[T]=it[z]=it[P]=it[B]=it[j]=!0,it[b]=it[y]=it[M]=!1;var ot={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},at=parseFloat,st=parseInt,lt="object"==typeof u&&u&&u.Object===Object&&u,ct="object"==typeof self&&self&&self.Object===Object&&self,ut=lt||ct||Function("return this")(),dt=t&&!t.nodeType&&t,ft=dt&&e&&!e.nodeType&&e,ht=ft&&ft.exports===dt,pt=ht&<.process,gt=function(){try{return ft&&ft.require&&ft.require("util").types||pt&&pt.binding&&pt.binding("util")}catch(e){}}(),mt=gt&>.isArrayBuffer,vt=gt&>.isDate,bt=gt&>.isMap,yt=gt&>.isRegExp,_t=gt&>.isSet,wt=gt&>.isTypedArray;function xt(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 kt(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 Ct(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}function St(e,t){for(var n=null==e?0:e.length;n--&&!1!==t(e[n],n,e););return e}function At(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 Et(e,t){for(var n=-1,r=null==e?0:e.length,i=0,o=[];++n<r;){var a=e[n];t(a,n,e)&&(o[i++]=a)}return o}function Tt(e,t){return!(null==e||!e.length)&&Pt(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 Dt(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 Ft(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 Rt=$t("length");function It(e,t,n){var r;return n(e,(function(e,n,i){if(t(e,n,i))return r=n,!1})),r}function zt(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 Pt(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):zt(e,jt,n)}function Bt(e,t,n,r){for(var i=n-1,o=e.length;++i<o;)if(r(e[i],t))return i;return-1}function jt(e){return e!=e}function Yt(e,t){var n=null==e?0:e.length;return n?Ut(e,t)/n:d}function $t(e){return function(t){return null==t?n:t[e]}}function qt(e){return function(t){return null==e?n:e[t]}}function Ht(e,t,n,r,i){return i(e,(function(e,i,o){n=r?(r=!1,e):t(n,e,i,o)})),n}function Ut(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,un(e)+1).replace(ne,""):e}function Gt(e){return function(t){return e(t)}}function Kt(e,t){return Lt(t,(function(t){return e[t]}))}function Zt(e,t){return e.has(t)}function Xt(e,t){for(var n=-1,r=e.length;++n<r&&Pt(t,e[n],0)>-1;);return n}function Jt(e,t){for(var n=e.length;n--&&Pt(t,e[n],0)>-1;);return n}var Qt=qt({"À":"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"}),en=qt({"&":"&","<":"<",">":">",'"':""","'":"'"});function tn(e){return"\\"+ot[e]}function nn(e){return Qe.test(e)}function rn(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function on(e,t){return function(n){return e(t(n))}}function an(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 sn(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}function ln(e){return nn(e)?function(e){for(var t=Xe.lastIndex=0;Xe.test(e);)++t;return t}(e):Rt(e)}function cn(e){return nn(e)?function(e){return e.match(Xe)||[]}(e):function(e){return e.split("")}(e)}function un(e){for(var t=e.length;t--&&re.test(e.charAt(t)););return t}var dn=qt({"&":"&","<":"<",">":">",""":'"',"'":"'"}),fn=function e(t){var u,re=(t=null==t?ut:fn.defaults(ut.Object(),t,fn.pick(ut,tt))).Array,_e=t.Date,we=t.Error,xe=t.Function,ke=t.Math,Ce=t.Object,Se=t.RegExp,Ae=t.String,Ee=t.TypeError,Te=re.prototype,Me=xe.prototype,Le=Ce.prototype,De=t["__core-js_shared__"],Ne=Me.toString,Oe=Le.hasOwnProperty,Fe=0,Re=(u=/[^.]+$/.exec(De&&De.keys&&De.keys.IE_PROTO||""))?"Symbol(src)_1."+u:"",Ie=Le.toString,ze=Ne.call(Ce),Pe=ut._,Be=Se("^"+Ne.call(Oe).replace(ee,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),je=ht?t.Buffer:n,Ye=t.Symbol,$e=t.Uint8Array,qe=je?je.allocUnsafe:n,He=on(Ce.getPrototypeOf,Ce),Ue=Ce.create,We=Le.propertyIsEnumerable,Ve=Te.splice,Ge=Ye?Ye.isConcatSpreadable:n,Xe=Ye?Ye.iterator:n,Qe=Ye?Ye.toStringTag:n,ot=function(){try{var e=so(Ce,"defineProperty");return e({},"",{}),e}catch(e){}}(),lt=t.clearTimeout!==ut.clearTimeout&&t.clearTimeout,ct=_e&&_e.now!==ut.Date.now&&_e.now,dt=t.setTimeout!==ut.setTimeout&&t.setTimeout,ft=ke.ceil,pt=ke.floor,gt=Ce.getOwnPropertySymbols,Rt=je?je.isBuffer:n,qt=t.isFinite,hn=Te.join,pn=on(Ce.keys,Ce),gn=ke.max,mn=ke.min,vn=_e.now,bn=t.parseInt,yn=ke.random,_n=Te.reverse,wn=so(t,"DataView"),xn=so(t,"Map"),kn=so(t,"Promise"),Cn=so(t,"Set"),Sn=so(t,"WeakMap"),An=so(Ce,"create"),En=Sn&&new Sn,Tn={},Mn=Fo(wn),Ln=Fo(xn),Dn=Fo(kn),Nn=Fo(Cn),On=Fo(Sn),Fn=Ye?Ye.prototype:n,Rn=Fn?Fn.valueOf:n,In=Fn?Fn.toString:n;function zn(e){if(Xa(e)&&!ja(e)&&!(e instanceof Yn)){if(e instanceof jn)return e;if(Oe.call(e,"__wrapped__"))return Ro(e)}return new jn(e)}var Pn=function(){function e(){}return function(t){if(!Za(t))return{};if(Ue)return Ue(t);e.prototype=t;var r=new e;return e.prototype=n,r}}();function Bn(){}function jn(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=n}function Yn(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=f,this.__views__=[]}function $n(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function 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 Hn(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.__data__=new Hn;++t<n;)this.add(e[t])}function Wn(e){var t=this.__data__=new qn(e);this.size=t.size}function Vn(e,t){var n=ja(e),r=!n&&Ba(e),i=!n&&!r&&Ha(e),o=!n&&!r&&!i&&os(e),a=n||r||i||o,s=a?Wt(e.length,Ae):[],l=s.length;for(var c in e)!t&&!Oe.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 Gn(e){var t=e.length;return t?e[Hr(0,t-1)]:n}function Kn(e,t){return Do(Si(e),ir(t,0,e.length))}function Zn(e){return Do(Si(e))}function Xn(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];Oe.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&&Ai(t,Es(t),e)}function nr(e,t,n){"__proto__"==t&&ot?ot(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=re(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=ja(e);if(d){if(s=function(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&Oe.call(e,"index")&&(n.index=e.index,n.input=e.input),n}(e),!l)return Si(e,s)}else{var f=uo(e),h=f==y||f==_;if(Ha(e))return yi(e,l);if(f==k||f==p||h&&!o){if(s=c||h?{}:ho(e),!l)return c?function(e,t){return Ai(e,co(e),t)}(e,function(e,t){return e&&Ai(t,Ts(t),e)}(s,e)):function(e,t){return Ai(e,lo(e),t)}(e,tr(s,e))}else{if(!it[f])return o?e:{};s=function(e,t,n){var r=e.constructor;switch(t){case L:return _i(e);case m:case v:return new r(+e);case D: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 F:case R:case I:case z:case P:case B:case j:return wi(e,n);case w:return new r;case x:case E:return new r(e);case S:return function(e){var t=new e.constructor(e.source,de.exec(e));return t.lastIndex=e.lastIndex,t}(e);case A:return new r;case T:return function(e){return Rn?Ce(Rn.call(e)):{}}(e)}}(e,f,l)}}a||(a=new Wn);var g=a.get(e);if(g)return g;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 b=d?n:(u?c?eo:Qi:c?Ts:Es)(e);return Ct(b||e,(function(n,i){b&&(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 Ee(r);return Eo((function(){e.apply(n,i)}),t)}function lr(e,t,n,r){var i=-1,o=Tt,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=Zt,a=!1,t=new Un(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:K,interpolate:Z,variable:"",imports:{_:zn}},zn.prototype=Bn.prototype,zn.prototype.constructor=zn,jn.prototype=Pn(Bn.prototype),jn.prototype.constructor=jn,Yn.prototype=Pn(Bn.prototype),Yn.prototype.constructor=Yn,$n.prototype.clear=function(){this.__data__=An?An(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(An){var r=t[e];return r===i?n:r}return Oe.call(t,e)?t[e]:n},$n.prototype.has=function(e){var t=this.__data__;return An?t[e]!==n:Oe.call(t,e)},$n.prototype.set=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=An&&t===n?i:t,this},qn.prototype.clear=function(){this.__data__=[],this.size=0},qn.prototype.delete=function(e){var t=this.__data__,n=Qn(t,e);return!(n<0||(n==t.length-1?t.pop():Ve.call(t,n,1),--this.size,0))},qn.prototype.get=function(e){var t=this.__data__,r=Qn(t,e);return r<0?n:t[r][1]},qn.prototype.has=function(e){return Qn(this.__data__,e)>-1},qn.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},Hn.prototype.clear=function(){this.size=0,this.__data__={hash:new $n,map:new(xn||qn),string:new $n}},Hn.prototype.delete=function(e){var t=oo(this,e).delete(e);return this.size-=t?1:0,t},Hn.prototype.get=function(e){return oo(this,e).get(e)},Hn.prototype.has=function(e){return oo(this,e).has(e)},Hn.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},Un.prototype.add=Un.prototype.push=function(e){return this.__data__.set(e,i),this},Un.prototype.has=function(e){return this.__data__.has(e)},Wn.prototype.clear=function(){this.__data__=new qn,this.size=0},Wn.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},Wn.prototype.get=function(e){return this.__data__.get(e)},Wn.prototype.has=function(e){return this.__data__.has(e)},Wn.prototype.set=function(e,t){var n=this.__data__;if(n instanceof qn){var r=n.__data__;if(!xn||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Hn(r)}return n.set(e,t),this.size=n.size,this};var cr=Mi(vr),ur=Mi(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):Dt(i,s):r||(i[i.length]=s)}return i}var gr=Li(),mr=Li(!0);function vr(e,t){return e&&gr(e,t,Es)}function br(e,t){return e&&mr(e,t,Es)}function yr(e,t){return Et(t,(function(t){return Va(e[t])}))}function _r(e,t){for(var r=0,i=(t=gi(t,e)).length;null!=e&&r<i;)e=e[Oo(t[r++])];return r&&r==i?e:n}function wr(e,t,n){var r=t(e);return ja(e)?r:Dt(r,n(e))}function xr(e){return null==e?e===n?"[object Undefined]":"[object Null]":Qe&&Qe in Ce(e)?function(e){var t=Oe.call(e,Qe),r=e[Qe];try{e[Qe]=n;var i=!0}catch(e){}var o=Ie.call(e);return i&&(t?e[Qe]=r:delete e[Qe]),o}(e):function(e){return Ie.call(e)}(e)}function kr(e,t){return e>t}function Cr(e,t){return null!=e&&Oe.call(e,t)}function Sr(e,t){return null!=e&&t in Ce(e)}function Ar(e,t,r){for(var i=r?Mt:Tt,o=e[0].length,a=e.length,s=a,l=re(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 Un(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?Zt(h,g):i(u,g,r))){for(s=a;--s;){var m=l[s];if(!(m?Zt(m,g):i(e[s],g,r)))continue e}h&&h.push(g),u.push(p)}}return u}function Er(e,t,r){var i=null==(e=Co(e,t=gi(t,e)))?e:e[Oo(Wo(t))];return null==i?n:xt(i,e,r)}function Tr(e){return Xa(e)&&xr(e)==p}function Mr(e,t,r,i,o){return e===t||(null==e||null==t||!Xa(e)&&!Xa(t)?e!=e&&t!=t:function(e,t,r,i,o,a){var s=ja(e),l=ja(t),c=s?g:uo(e),u=l?g:uo(t),d=(c=c==p?k:c)==k,f=(u=u==p?k:u)==k,h=c==u;if(h&&Ha(e)){if(!Ha(t))return!1;s=!0,d=!1}if(h&&!d)return a||(a=new Wn),s||os(e)?Xi(e,t,r,i,o,a):function(e,t,n,r,i,o,a){switch(n){case D:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case L:return!(e.byteLength!=t.byteLength||!o(new $e(e),new $e(t)));case m:case v:case x:return Ia(+e,+t);case b:return e.name==t.name&&e.message==t.message;case S:case E:return e==t+"";case w:var s=rn;case A:var l=1&r;if(s||(s=sn),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=Xi(s(e),s(t),r,i,o,a);return a.delete(e),u;case T:if(Rn)return Rn.call(e)==Rn.call(t)}return!1}(e,t,c,r,i,o,a);if(!(1&r)){var y=d&&Oe.call(e,"__wrapped__"),_=f&&Oe.call(t,"__wrapped__");if(y||_){var C=y?e.value():e,M=_?t.value():t;return a||(a=new Wn),o(C,M,r,i,a)}}return!!h&&(a||(a=new Wn),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:Oe.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,Mr,o))}function Lr(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 Wn;if(i)var h=i(u,d,c,e,t,f);if(!(h===n?Mr(d,u,3,i,f):h))return!1}}return!0}function Dr(e){return!(!Za(e)||(t=e,Re&&Re in t))&&(Va(e)?Be:pe).test(Fo(e));var t}function Nr(e){return"function"==typeof e?e:null==e?Qs:"object"==typeof e?ja(e)?zr(e[0],e[1]):Ir(e):ll(e)}function Or(e){if(!_o(e))return pn(e);var t=[];for(var n in Ce(e))Oe.call(e,n)&&"constructor"!=n&&t.push(n);return t}function Fr(e,t){return e<t}function Rr(e,t){var n=-1,r=$a(e)?re(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||Lr(n,e,t)}}function zr(e,t){return vo(e)&&wo(t)?xo(Oo(e),t):function(r){var i=xs(r,e);return i===n&&i===t?ks(r,e):Mr(t,i,3)}}function Pr(e,t,r,i,o){e!==t&&gr(t,(function(a,s){if(o||(o=new Wn),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)Xn(e,r,u);else{var d=a?a(l,c,r+"",e,t,s):n,f=d===n;if(f){var h=ja(c),p=!h&&Ha(c),g=!h&&!p&&os(c);d=c,h||p||g?ja(l)?d=l:qa(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)&&!Va(l)||(d=ho(c))):f=!1}f&&(s.set(c,d),o(d,c,i,a,s),s.delete(c)),Xn(e,r,d)}}(e,t,s,r,Pr,i,o);else{var l=i?i(So(e,s),a,s+"",e,t,o):n;l===n&&(l=a),Xn(e,s,l)}}),Ts)}function Br(e,t){var r=e.length;if(r)return go(t+=t<0?r:0,r)?e[t]:n}function jr(e,t,n){t=t.length?Lt(t,(function(e){return ja(e)?function(t){return _r(t,1===e.length?e[0]:e)}:e})):[Qs];var r=-1;t=Lt(t,Gt(io()));var i=Rr(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 Yr(e,t,n){for(var r=-1,i=t.length,o={};++r<i;){var a=t[r],s=_r(e,a);n(s,a)&&Kr(o,gi(a,e),s)}return o}function $r(e,t,n,r){var i=r?Bt:Pt,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&&Ve.call(s,l,1),Ve.call(e,l,1);return e}function qr(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)?Ve.call(e,i,1):si(e,i)}}return e}function Hr(e,t){return e+pt(yn()*(t-e+1))}function Ur(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 Wr(e,t){return To(ko(e,t,Qs),e+"")}function Vr(e){return Gn(Is(e))}function Gr(e,t){var n=Is(e);return Do(n,ir(t,0,n.length))}function Kr(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=Oo(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=En?function(e,t){return En.set(e,t),e}:Qs,Xr=ot?function(e,t){return ot(e,"toString",{configurable:!0,enumerable:!1,value:Zs(t),writable:!0})}:Qs;function Jr(e){return Do(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=re(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)?d:+e}function oi(e){if("string"==typeof e)return e;if(ja(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=Tt,o=e.length,a=!0,s=[],l=s;if(n)a=!1,i=Mt;else if(o>=200){var c=t?null:Ui(e);if(c)return sn(c);a=!1,i=Zt,l=new Un}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=Oo(t[n]);if("__proto__"===i&&!Oe.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[Oo(Wo(t))]}function li(e,t,n,r){return Kr(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 Yn&&(n=n.value()),Nt(t,(function(e,t){return t.func.apply(t.thisArg,Dt([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=re(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 qa(e)?e:[]}function pi(e){return"function"==typeof e?e:Qs}function gi(e,t){return ja(e)?e:vo(e,t)?[e]:No(ps(e))}var mi=Wr;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 ut.clearTimeout(e)};function yi(e,t){if(t)return e.slice();var n=e.length,r=qe?qe(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=re(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=re(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=re(r));++n<r;)t[n]=e[n];return t}function Ai(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 Ei(e,t){return function(n,r){var i=ja(n)?kt:er,o=t?t():{};return i(n,e,io(r,2),o)}}function Ti(e){return Wr((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 Mi(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 Li(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 Di(e){return function(t){var r=nn(t=ps(t))?cn(t):n,i=r?r[0]:t.charAt(0),o=r?vi(r,1).join(""):t.slice(1);return i[e]()+o}}function Ni(e){return function(t){return Nt(Vs(Bs(t).replace(Ke,"")),e,"")}}function Oi(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=Pn(e.prototype),r=e.apply(n,t);return Za(r)?r:n}}function Fi(e){return function(t,r,i){var o=Ce(t);if(!$a(t)){var a=io(r,3);t=Es(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 Ri(e){return Ji((function(t){var i=t.length,o=i,a=jn.prototype.thru;for(e&&t.reverse();o--;){var s=t[o];if("function"!=typeof s)throw new Ee(r);if(a&&!l&&"wrapper"==no(s))var l=new jn([],!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&&ja(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:Oi(e);return function s(){for(var b=arguments.length,y=re(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=an(y,w);return qi(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!==ut&&this instanceof s&&(S=v||Oi(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 Pi(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())),Wr((function(n){var r=this;return e(t,(function(e){return xt(e,r,n)}))}))}))}function ji(e,t){var r=(t=t===n?" ":oi(t)).length;if(r<2)return r?Ur(t,e):t;var i=Ur(t,ft(e/ln(t)));return nn(t)?vi(cn(i),0,e).join(""):i.slice(0,e)}function Yi(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(ft((t-e)/(n||1)),0),a=re(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 qi(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)&&Ao(p,h),p.placeholder=i,Mo(p,e,t)}function Hi(e){var t=ke[e];return function(e,n){if(e=fs(e),(n=null==n?0:mn(us(n),292))&&qt(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 Ui=Cn&&1/sn(new Cn([,-0]))[1]==l?function(e){return new Cn(e)}:il;function Wi(e){return function(t){var n=uo(t);return n==w?rn(t):n==A?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 Vi(e,t,i,l,c,u,d,f){var h=2&t;if(!h&&"function"!=typeof e)throw new Ee(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?an(e[3],o):t[4]}(c=t[5])&&(u=e[5],e[5]=u?Ci(u,c,t[6]):c,e[6]=u?an(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=Oi(e);return function o(){for(var a=arguments.length,s=re(a),l=a,c=ro(o);l--;)s[l]=arguments[l];var u=a<3&&s[0]!==c&&s[a-1]!==c?[]:an(s,c);return(a-=u.length)<r?qi(e,t,Ii,o.placeholder,n,s,u,n,n,r-a):xt(this&&this!==ut&&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=Oi(e);return function t(){for(var a=-1,s=arguments.length,l=-1,c=r.length,u=re(c+s),d=this&&this!==ut&&this instanceof t?o:e;++l<c;)u[l]=r[l];for(;s--;)u[l++]=arguments[++a];return xt(d,i?n:this,u)}}(e,t,i,l);else var y=function(e,t,n){var r=1&t,i=Oi(e);return function t(){return(this&&this!==ut&&this instanceof t?i:e).apply(r?n:this,arguments)}}(e,t,i);return Mo((v?Zr:Ao)(y,b),e,t)}function Gi(e,t,r,i){return e===n||Ia(e,Le[r])&&!Oe.call(i,r)?t:e}function Ki(e,t,r,i,o,a){return Za(e)&&Za(t)&&(a.set(t,e),Pr(e,t,n,Ki,a),a.delete(t)),e}function Zi(e){return es(e)?n:e}function Xi(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 Un: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(!Ft(t,(function(e,t){if(!Zt(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 To(ko(e,n,Yo),e+"")}function Qi(e){return wr(e,Es,lo)}function eo(e){return wr(e,Ts,co)}var to=En?function(e){return En.get(e)}:il;function no(e){for(var t=e.name+"",n=Tn[t],r=Oe.call(Tn,t)?n.length:0;r--;){var i=n[r],o=i.func;if(null==o||o==e)return i.name}return t}function ro(e){return(Oe.call(zn,"placeholder")?zn:e).placeholder}function io(){var e=zn.iteratee||el;return e=e===el?Nr: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=Es(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 Dr(r)?r:n}var lo=gt?function(e){return null==e?[]:(e=Ce(e),Et(gt(e),(function(t){return We.call(e,t)})))}:dl,co=gt?function(e){for(var t=[];e;)Dt(t,lo(e)),e=He(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=Oo(t[r]);if(!(o=null!=e&&n(e,a)))break;e=e[a]}return o||++r!=i?o:!!(i=null==e?0:e.length)&&Ka(i)&&go(a,i)&&(ja(e)||Ba(e))}function ho(e){return"function"!=typeof e.constructor||_o(e)?{}:Pn(He(e))}function po(e){return ja(e)||Ba(e)||!!(Ge&&e&&e[Ge])}function go(e,t){var n=typeof e;return!!(t=null==t?c:t)&&("number"==n||"symbol"!=n&&me.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(ja(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!is(e))||J.test(e)||!X.test(e)||null!=t&&e in Ce(t)}function bo(e){var t=no(e),n=zn[t];if("function"!=typeof n||!(t in Yn.prototype))return!1;if(e===n)return!0;var r=to(n);return!!r&&e===r[0]}(wn&&uo(new wn(new ArrayBuffer(1)))!=D||xn&&uo(new xn)!=w||kn&&uo(kn.resolve())!=C||Cn&&uo(new Cn)!=A||Sn&&uo(new Sn)!=M)&&(uo=function(e){var t=xr(e),r=t==k?e.constructor:n,i=r?Fo(r):"";if(i)switch(i){case Mn:return D;case Ln:return w;case Dn:return C;case Nn:return A;case On:return M}return t});var yo=De?Va:fl;function _o(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||Le)}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=re(o);++i<o;)a[i]=n[t+i];i=-1;for(var s=re(t+1);++i<t;)s[i]=n[i];return s[t]=r(a),xt(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 Ao=Lo(Zr),Eo=dt||function(e,t){return ut.setTimeout(e,t)},To=Lo(Xr);function Mo(e,t,n){var r=t+"";return To(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(ie,"{\n/* [wrapped with "+t+"] */\n")}(r,function(e,t){return Ct(h,(function(n){var r="_."+n[0];t&n[1]&&!Tt(e,r)&&e.push(r)})),e.sort()}(function(e){var t=e.match(oe);return t?t[1].split(ae):[]}(r),n)))}function Lo(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 Do(e,t){var r=-1,i=e.length,o=i-1;for(t=t===n?i:t;++r<t;){var a=Hr(r,o),s=e[a];e[a]=e[r],e[r]=s}return e.length=t,e}var No=function(){var e=La((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(Q,(function(e,n,r,i){t.push(r?i.replace(ce,"$1"):n||e)})),t}),(function(e){return 500===t.size&&t.clear(),e})),t=e.cache;return e}();function Oo(e){if("string"==typeof e||is(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function Fo(e){if(null!=e){try{return Ne.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function Ro(e){if(e instanceof Yn)return e.clone();var t=new jn(e.__wrapped__,e.__chain__);return t.__actions__=Si(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}var Io=Wr((function(e,t){return qa(e)?lr(e,pr(t,1,qa,!0)):[]})),zo=Wr((function(e,t){var r=Wo(t);return qa(r)&&(r=n),qa(e)?lr(e,pr(t,1,qa,!0),io(r,2)):[]})),Po=Wr((function(e,t){var r=Wo(t);return qa(r)&&(r=n),qa(e)?lr(e,pr(t,1,qa,!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)),zt(e,io(t,3),i)}function jo(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)),zt(e,io(t,3),o,!0)}function Yo(e){return null!=e&&e.length?pr(e,1):[]}function $o(e){return e&&e.length?e[0]:n}var qo=Wr((function(e){var t=Lt(e,hi);return t.length&&t[0]===e[0]?Ar(t):[]})),Ho=Wr((function(e){var t=Wo(e),r=Lt(e,hi);return t===Wo(r)?t=n:r.pop(),r.length&&r[0]===e[0]?Ar(r,io(t,2)):[]})),Uo=Wr((function(e){var t=Wo(e),r=Lt(e,hi);return(t="function"==typeof t?t:n)&&r.pop(),r.length&&r[0]===e[0]?Ar(r,n,t):[]}));function Wo(e){var t=null==e?0:e.length;return t?e[t-1]:n}var Vo=Wr(Go);function Go(e,t){return e&&e.length&&t&&t.length?$r(e,t):e}var Ko=Ji((function(e,t){var n=null==e?0:e.length,r=rr(e,t);return qr(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 Xo=Wr((function(e){return ai(pr(e,1,qa,!0))})),Jo=Wr((function(e){var t=Wo(e);return qa(t)&&(t=n),ai(pr(e,1,qa,!0),io(t,2))})),Qo=Wr((function(e){var t=Wo(e);return t="function"==typeof t?t:n,ai(pr(e,1,qa,!0),n,t)}));function ea(e){if(!e||!e.length)return[];var t=0;return e=Et(e,(function(e){if(qa(e))return t=gn(e.length,t),!0})),Wt(t,(function(t){return Lt(e,$t(t))}))}function ta(e,t){if(!e||!e.length)return[];var r=ea(e);return null==t?r:Lt(r,(function(e){return xt(t,n,e)}))}var na=Wr((function(e,t){return qa(e)?lr(e,t):[]})),ra=Wr((function(e){return di(Et(e,qa))})),ia=Wr((function(e){var t=Wo(e);return qa(t)&&(t=n),di(Et(e,qa),io(t,2))})),oa=Wr((function(e){var t=Wo(e);return t="function"==typeof t?t:n,di(Et(e,qa),n,t)})),aa=Wr(ea),sa=Wr((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 Yn&&go(r)?((i=i.slice(r,+r+(t?1:0))).__actions__.push({func:ca,args:[o],thisArg:n}),new jn(i,this.__chain__).thru((function(e){return t&&!e.length&&e.push(n),e}))):this.thru(o)})),da=Ei((function(e,t,n){Oe.call(e,n)?++e[n]:nr(e,n,1)})),fa=Fi(Bo),ha=Fi(jo);function pa(e,t){return(ja(e)?Ct:cr)(e,io(t,3))}function ga(e,t){return(ja(e)?St:ur)(e,io(t,3))}var ma=Ei((function(e,t,n){Oe.call(e,n)?e[n].push(t):nr(e,n,[t])})),va=Wr((function(e,t,n){var r=-1,i="function"==typeof t,o=$a(e)?re(e.length):[];return cr(e,(function(e){o[++r]=i?xt(t,e,n):Er(e,t,n)})),o})),ba=Ei((function(e,t,n){nr(e,n,t)}));function ya(e,t){return(ja(e)?Lt:Rr)(e,io(t,3))}var _a=Ei((function(e,t,n){e[n?0:1].push(t)}),(function(){return[[],[]]})),wa=Wr((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]]),jr(e,pr(t,1),[])})),xa=ct||function(){return ut.Date.now()};function ka(e,t,r){return t=r?n:t,t=e&&null==t?e.length:t,Vi(e,s,n,n,n,n,t)}function Ca(e,t){var i;if("function"!=typeof t)throw new Ee(r);return e=us(e),function(){return--e>0&&(i=t.apply(this,arguments)),e<=1&&(t=n),i}}var Sa=Wr((function(e,t,n){var r=1;if(n.length){var i=an(n,ro(Sa));r|=a}return Vi(e,r,t,n,i)})),Aa=Wr((function(e,t,n){var r=3;if(n.length){var i=an(n,ro(Aa));r|=a}return Vi(t,r,e,n,i)}));function Ea(e,t,i){var o,a,s,l,c,u,d=0,f=!1,h=!1,p=!0;if("function"!=typeof e)throw new Ee(r);function g(t){var r=o,i=a;return o=a=n,d=t,l=e.apply(i,r)}function m(e){var r=e-u;return u===n||r>=t||r<0||h&&e-d>=s}function v(){var e=xa();if(m(e))return b(e);c=Eo(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=Eo(v,t),f?g(e):l}(u);if(h)return bi(c),c=Eo(v,t),g(u)}return c===n&&(c=Eo(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 Ta=Wr((function(e,t){return sr(e,1,t)})),Ma=Wr((function(e,t,n){return sr(e,fs(t)||0,n)}));function La(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new Ee(r);var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=e.apply(this,r);return n.cache=o.set(i,a)||o,a};return n.cache=new(La.Cache||Hn),n}function Da(e){if("function"!=typeof e)throw new Ee(r);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}La.Cache=Hn;var Na=mi((function(e,t){var n=(t=1==t.length&&ja(t[0])?Lt(t[0],Gt(io())):Lt(pr(t,1),Gt(io()))).length;return Wr((function(r){for(var i=-1,o=mn(r.length,n);++i<o;)r[i]=t[i].call(this,r[i]);return xt(e,this,r)}))})),Oa=Wr((function(e,t){var r=an(t,ro(Oa));return Vi(e,a,n,t,r)})),Fa=Wr((function(e,t){var r=an(t,ro(Fa));return Vi(e,64,n,t,r)})),Ra=Ji((function(e,t){return Vi(e,256,n,n,n,t)}));function Ia(e,t){return e===t||e!=e&&t!=t}var za=$i(kr),Pa=$i((function(e,t){return e>=t})),Ba=Tr(function(){return arguments}())?Tr:function(e){return Xa(e)&&Oe.call(e,"callee")&&!We.call(e,"callee")},ja=re.isArray,Ya=mt?Gt(mt):function(e){return Xa(e)&&xr(e)==L};function $a(e){return null!=e&&Ka(e.length)&&!Va(e)}function qa(e){return Xa(e)&&$a(e)}var Ha=Rt||fl,Ua=vt?Gt(vt):function(e){return Xa(e)&&xr(e)==v};function Wa(e){if(!Xa(e))return!1;var t=xr(e);return t==b||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!es(e)}function Va(e){if(!Za(e))return!1;var t=xr(e);return t==y||t==_||"[object AsyncFunction]"==t||"[object Proxy]"==t}function Ga(e){return"number"==typeof e&&e==us(e)}function Ka(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 Xa(e){return null!=e&&"object"==typeof e}var Ja=bt?Gt(bt):function(e){return Xa(e)&&uo(e)==w};function Qa(e){return"number"==typeof e||Xa(e)&&xr(e)==x}function es(e){if(!Xa(e)||xr(e)!=k)return!1;var t=He(e);if(null===t)return!0;var n=Oe.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&Ne.call(n)==ze}var ts=yt?Gt(yt):function(e){return Xa(e)&&xr(e)==S},ns=_t?Gt(_t):function(e){return Xa(e)&&uo(e)==A};function rs(e){return"string"==typeof e||!ja(e)&&Xa(e)&&xr(e)==E}function is(e){return"symbol"==typeof e||Xa(e)&&xr(e)==T}var os=wt?Gt(wt):function(e){return Xa(e)&&Ka(e.length)&&!!rt[xr(e)]},as=$i(Fr),ss=$i((function(e,t){return e<=t}));function ls(e){if(!e)return[];if($a(e))return rs(e)?cn(e):Si(e);if(Xe&&e[Xe])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[Xe]());var t=uo(e);return(t==w?rn:t==A?sn: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,f):0}function fs(e){if("number"==typeof e)return e;if(is(e))return d;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=he.test(e);return n||ge.test(e)?st(e.slice(2),n?2:8):fe.test(e)?d:+e}function hs(e){return Ai(e,Ts(e))}function ps(e){return null==e?"":oi(e)}var gs=Ti((function(e,t){if(_o(t)||$a(t))Ai(t,Es(t),e);else for(var n in t)Oe.call(t,n)&&Jn(e,n,t[n])})),ms=Ti((function(e,t){Ai(t,Ts(t),e)})),vs=Ti((function(e,t,n,r){Ai(t,Ts(t),e,r)})),bs=Ti((function(e,t,n,r){Ai(t,Es(t),e,r)})),ys=Ji(rr),_s=Wr((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=Ts(a),l=-1,c=s.length;++l<c;){var u=s[l],d=e[u];(d===n||Ia(d,Le[u])&&!Oe.call(e,u))&&(e[u]=a[u])}return e})),ws=Wr((function(e){return e.push(n,Ki),xt(Ls,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)),Oe.call(e,t)?e[t].push(n):e[t]=[n]}),io),As=Wr(Er);function Es(e){return $a(e)?Vn(e):Or(e)}function Ts(e){return $a(e)?Vn(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&&Oe.call(e,r))&&n.push(r);return n}(e)}var Ms=Ti((function(e,t,n){Pr(e,t,n)})),Ls=Ti((function(e,t,n,r){Pr(e,t,n,r)})),Ds=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})),Ai(e,eo(e),n),r&&(n=or(n,7,Zi));for(var i=t.length;i--;)si(n,t[i]);return n})),Ns=Ji((function(e,t){return null==e?{}:function(e,t){return Yr(e,t,(function(t,n){return ks(e,n)}))}(e,t)}));function Os(e,t){if(null==e)return{};var n=Lt(eo(e),(function(e){return[e]}));return t=io(t),Yr(e,n,(function(e,n){return t(e,n[0])}))}var Fs=Wi(Es),Rs=Wi(Ts);function Is(e){return null==e?[]:Kt(e,Es(e))}var zs=Ni((function(e,t,n){return t=t.toLowerCase(),e+(n?Ps(t):t)}));function Ps(e){return Ws(ps(e).toLowerCase())}function Bs(e){return(e=ps(e))&&e.replace(ve,Qt).replace(Ze,"")}var js=Ni((function(e,t,n){return e+(n?"-":"")+t.toLowerCase()})),Ys=Ni((function(e,t,n){return e+(n?" ":"")+t.toLowerCase()})),$s=Di("toLowerCase"),qs=Ni((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()})),Hs=Ni((function(e,t,n){return e+(n?" ":"")+Ws(t)})),Us=Ni((function(e,t,n){return e+(n?" ":"")+t.toUpperCase()})),Ws=Di("toUpperCase");function Vs(e,t,r){return e=ps(e),(t=r?n:t)===n?function(e){return et.test(e)}(e)?function(e){return e.match(Je)||[]}(e):function(e){return e.match(se)||[]}(e):e.match(t)||[]}var Gs=Wr((function(e,t){try{return xt(e,n,t)}catch(e){return Wa(e)?e:new we(e)}})),Ks=Ji((function(e,t){return Ct(t,(function(t){t=Oo(t),nr(e,t,Sa(e[t],e))})),e}));function Zs(e){return function(){return e}}var Xs=Ri(),Js=Ri(!0);function Qs(e){return e}function el(e){return Nr("function"==typeof e?e:or(e,1))}var tl=Wr((function(e,t){return function(n){return Er(n,e,t)}})),nl=Wr((function(e,t){return function(n){return Er(e,n,t)}}));function rl(e,t,n){var r=Es(t),i=yr(t,r);null!=n||Za(t)&&(i.length||!r.length)||(n=t,t=e,e=this,i=yr(t,Es(t)));var o=!(Za(n)&&"chain"in n&&!n.chain),a=Va(e);return Ct(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,Dt([this.value()],arguments))})})),e}function il(){}var ol=Bi(Lt),al=Bi(At),sl=Bi(Ft);function ll(e){return vo(e)?$t(Oo(e)):function(e){return function(t){return _r(t,e)}}(e)}var cl=Yi(),ul=Yi(!0);function dl(){return[]}function fl(){return!1}var hl,pl=Pi((function(e,t){return e+t}),0),gl=Hi("ceil"),ml=Pi((function(e,t){return e/t}),1),vl=Hi("floor"),bl=Pi((function(e,t){return e*t}),1),yl=Hi("round"),_l=Pi((function(e,t){return e-t}),0);return zn.after=function(e,t){if("function"!=typeof t)throw new Ee(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=Ks,zn.bindKey=Aa,zn.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return ja(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=re(ft(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=re(e-1),n=arguments[0],r=e;r--;)t[r-1]=arguments[r];return Dt(ja(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 Ee(r);return[n(e[0]),e[1]]})):[],Wr((function(n){for(var r=-1;++r<t;){var i=e[r];if(xt(i[0],this,n))return xt(i[1],this,n)}}))},zn.conforms=function(e){return function(e){var t=Es(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=Pn(e);return null==t?n:tr(n,t)},zn.curry=function e(t,r,i){var o=Vi(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=Vi(t,16,n,n,n,n,n,r=i?n:r);return o.placeholder=e.placeholder,o},zn.debounce=Ea,zn.defaults=_s,zn.defaultsDeep=ws,zn.defer=Ta,zn.delay=Ma,zn.difference=Io,zn.differenceBy=zo,zn.differenceWith=Po,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(ja(e)?Et: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=Yo,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 Vi(e,512)},zn.flow=Xs,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,Es(e))},zn.functionsIn=function(e){return null==e?[]:yr(e,Ts(e))},zn.groupBy=ma,zn.initial=function(e){return null!=e&&e.length?Qr(e,0,-1):[]},zn.intersection=qo,zn.intersectionBy=Ho,zn.intersectionWith=Uo,zn.invert=Cs,zn.invertBy=Ss,zn.invokeMap=va,zn.iteratee=el,zn.keyBy=ba,zn.keys=Es,zn.keysIn=Ts,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=La,zn.merge=Ms,zn.mergeWith=Ls,zn.method=tl,zn.methodOf=nl,zn.mixin=rl,zn.negate=Da,zn.nthArg=function(e){return e=us(e),Wr((function(t){return Br(t,e)}))},zn.omit=Ds,zn.omitBy=function(e,t){return Os(e,Da(io(t)))},zn.once=function(e){return Ca(2,e)},zn.orderBy=function(e,t,r,i){return null==e?[]:(ja(t)||(t=null==t?[]:[t]),ja(r=i?n:r)||(r=null==r?[]:[r]),jr(e,t,r))},zn.over=ol,zn.overArgs=Na,zn.overEvery=al,zn.overSome=sl,zn.partial=Oa,zn.partialRight=Fa,zn.partition=_a,zn.pick=Ns,zn.pickBy=Os,zn.property=ll,zn.propertyOf=function(e){return function(t){return null==e?n:_r(e,t)}},zn.pull=Vo,zn.pullAll=Go,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=Ko,zn.range=cl,zn.rangeRight=ul,zn.rearg=Ra,zn.reject=function(e,t){return(ja(e)?Et:hr)(e,Da(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 qr(e,i),n},zn.rest=function(e,t){if("function"!=typeof e)throw new Ee(r);return Wr(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),(ja(e)?Kn:Gr)(e,t)},zn.set=function(e,t,n){return null==e?e:Kr(e,t,n)},zn.setWith=function(e,t,r,i){return i="function"==typeof i?i:n,null==e?e:Kr(e,t,r,i)},zn.shuffle=function(e){return(ja(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?f:r>>>0)?(e=ps(e))&&("string"==typeof t||null!=t&&!ts(t))&&!(t=oi(t))&&nn(e)?vi(cn(e),0,r):e.split(t,r):[]},zn.spread=function(e,t){if("function"!=typeof e)throw new Ee(r);return t=null==t?0:gn(us(t),0),Wr((function(n){var r=n[t],i=vi(n,0,t);return r&&Dt(i,r),xt(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 Ee(r);return Za(n)&&(i="leading"in n?!!n.leading:i,o="trailing"in n?!!n.trailing:o),Ea(e,t,{leading:i,maxWait:t,trailing:o})},zn.thru=ca,zn.toArray=ls,zn.toPairs=Fs,zn.toPairsIn=Rs,zn.toPath=function(e){return ja(e)?Lt(e,Oo):is(e)?[e]:Si(No(ps(e)))},zn.toPlainObject=hs,zn.transform=function(e,t,n){var r=ja(e),i=r||Ha(e)||os(e);if(t=io(t,4),null==n){var o=e&&e.constructor;n=i?r?new o:[]:Za(e)&&Va(o)?Pn(He(e)):{}}return(i?Ct:vr)(e,(function(e,r,i){return t(n,e,r,i)})),n},zn.unary=function(e){return ka(e,1)},zn.union=Xo,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?[]:Kt(e,Ts(e))},zn.without=na,zn.words=Vs,zn.wrap=function(e,t){return Oa(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||[],Kr)},zn.zipWith=sa,zn.entries=Fs,zn.entriesIn=Rs,zn.extend=ms,zn.extendWith=vs,rl(zn,zn),zn.add=pl,zn.attempt=Gs,zn.camelCase=zs,zn.capitalize=Ps,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,Es(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(U,en):e},zn.escapeRegExp=function(e){return(e=ps(e))&&te.test(e)?e.replace(ee,"\\$&"):e},zn.every=function(e,t,r){var i=ja(e)?At: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 It(e,io(t,3),vr)},zn.findLast=ha,zn.findLastIndex=jo,zn.findLastKey=function(e,t){return It(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),Ts)},zn.forInRight=function(e,t){return null==e?e:mr(e,io(t,3),Ts)},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=Pa,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&&Pt(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)),Pt(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=As,zn.isArguments=Ba,zn.isArray=ja,zn.isArrayBuffer=Ya,zn.isArrayLike=$a,zn.isArrayLikeObject=qa,zn.isBoolean=function(e){return!0===e||!1===e||Xa(e)&&xr(e)==m},zn.isBuffer=Ha,zn.isDate=Ua,zn.isElement=function(e){return Xa(e)&&1===e.nodeType&&!es(e)},zn.isEmpty=function(e){if(null==e)return!0;if($a(e)&&(ja(e)||"string"==typeof e||"function"==typeof e.splice||Ha(e)||os(e)||Ba(e)))return!e.length;var t=uo(e);if(t==w||t==A)return!e.size;if(_o(e))return!Or(e).length;for(var n in e)if(Oe.call(e,n))return!1;return!0},zn.isEqual=function(e,t){return Mr(e,t)},zn.isEqualWith=function(e,t,r){var i=(r="function"==typeof r?r:n)?r(e,t):n;return i===n?Mr(e,t,n,r):!!i},zn.isError=Wa,zn.isFinite=function(e){return"number"==typeof e&&qt(e)},zn.isFunction=Va,zn.isInteger=Ga,zn.isLength=Ka,zn.isMap=Ja,zn.isMatch=function(e,t){return e===t||Lr(e,t,ao(t))},zn.isMatchWith=function(e,t,r){return r="function"==typeof r?r:n,Lr(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 Dr(e)},zn.isNil=function(e){return null==e},zn.isNull=function(e){return null===e},zn.isNumber=Qa,zn.isObject=Za,zn.isObjectLike=Xa,zn.isPlainObject=es,zn.isRegExp=ts,zn.isSafeInteger=function(e){return Ga(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 Xa(e)&&uo(e)==M},zn.isWeakSet=function(e){return Xa(e)&&"[object WeakSet]"==xr(e)},zn.join=function(e,t){return null==e?"":hn.call(e,t)},zn.kebabCase=js,zn.last=Wo,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):zt(e,jt,o,!0)},zn.lowerCase=Ys,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 Yt(e,Qs)},zn.meanBy=function(e,t){return Yt(e,io(t,2))},zn.min=function(e){return e&&e.length?fr(e,Qs,Fr):n},zn.minBy=function(e,t){return e&&e.length?fr(e,io(t,2),Fr):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 ut._===this&&(ut._=Pe),this},zn.noop=il,zn.now=xa,zn.pad=function(e,t,n){e=ps(e);var r=(t=us(t))?ln(e):0;if(!t||r>=t)return e;var i=(t-r)/2;return ji(pt(i),n)+e+ji(ft(i),n)},zn.padEnd=function(e,t,n){e=ps(e);var r=(t=us(t))?ln(e):0;return t&&r<t?e+ji(t-r,n):e},zn.padStart=function(e,t,n){e=ps(e);var r=(t=us(t))?ln(e):0;return t&&r<t?ji(t-r,n)+e:e},zn.parseInt=function(e,t,n){return n||null==t?t=0:t&&(t=+t),bn(ps(e).replace(ne,""),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+at("1e-"+((o+"").length-1))),t)}return Hr(e,t)},zn.reduce=function(e,t,n){var r=ja(e)?Nt:Ht,i=arguments.length<3;return r(e,io(t,4),n,i,cr)},zn.reduceRight=function(e,t,n){var r=ja(e)?Ot:Ht,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),Ur(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[Oo(t[i])];a===n&&(i=o,a=r),e=Va(a)?a.call(e):a}return e},zn.round=yl,zn.runInContext=e,zn.sample=function(e){return(ja(e)?Gn:Vr)(e)},zn.size=function(e){if(null==e)return 0;if($a(e))return rs(e)?ln(e):e.length;var t=uo(e);return t==w||t==A?e.size:Or(e).length},zn.snakeCase=qs,zn.some=function(e,t,r){var i=ja(e)?Ft: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=Hs,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?Ut(e,Qs):0},zn.sumBy=function(e,t){return e&&e.length?Ut(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,Gi);var o=bs({},t.imports,i.imports,Gi),a=Es(o),s=Kt(o,a);Ct(a,(function(e){if(le.test(e))throw new we("Invalid `imports` option passed into `_.template`")}));var l,c,u=0,d=t.interpolate||be,f="__p += '",h=Se((t.escape||be).source+"|"+d.source+"|"+(d===Z?ue:be).source+"|"+(t.evaluate||be).source+"|$","g"),p="//# sourceURL="+(Oe.call(t,"sourceURL")?(t.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++nt+"]")+"\n";e.replace(h,(function(t,n,r,i,o,a){return r||(r=i),f+=e.slice(u,a).replace(ye,tn),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=Oe.call(t,"variable")&&t.variable;if(g){if(le.test(g))throw new we("Invalid `variable` option passed into `_.template`")}else f="with (obj) {\n"+f+"\n}\n";f=(c?f.replace(Y,""):f).replace($,"$1").replace(q,"$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=Gs((function(){return xe(a,p+"return "+f).apply(n,s)}));if(m.source=f,Wa(m))throw m;return m},zn.times=function(e,t){if((e=us(e))<1||e>c)return[];var n=f,r=mn(e,f);t=io(t),e-=f;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=cn(e),o=cn(t);return vi(i,Xt(i,o),Jt(i,o)+1).join("")},zn.trimEnd=function(e,t,r){if((e=ps(e))&&(r||t===n))return e.slice(0,un(e)+1);if(!e||!(t=oi(t)))return e;var i=cn(e);return vi(i,0,Jt(i,cn(t))+1).join("")},zn.trimStart=function(e,t,r){if((e=ps(e))&&(r||t===n))return e.replace(ne,"");if(!e||!(t=oi(t)))return e;var i=cn(e);return vi(i,Xt(i,cn(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(nn(e)){var s=cn(e);a=s.length}if(r>=a)return e;var l=r-ln(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(de.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(H,dn):e},zn.uniqueId=function(e){var t=++Fe;return ps(e)+t},zn.upperCase=Us,zn.upperFirst=Ws,zn.each=pa,zn.eachRight=ga,zn.first=$o,rl(zn,(hl={},vr(zn,(function(e,t){Oe.call(zn.prototype,t)||(hl[t]=e)})),hl),{chain:!1}),zn.VERSION="4.18.1",Ct(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){zn[e].placeholder=zn})),Ct(["drop","take"],(function(e,t){Yn.prototype[e]=function(r){r=r===n?1:gn(us(r),0);var i=this.__filtered__&&!t?new Yn(this):this.clone();return i.__filtered__?i.__takeCount__=mn(r,i.__takeCount__):i.__views__.push({size:mn(r,f),type:e+(i.__dir__<0?"Right":"")}),i},Yn.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),Ct(["filter","map","takeWhile"],(function(e,t){var n=t+1,r=1==n||3==n;Yn.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:io(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}})),Ct(["head","last"],(function(e,t){var n="take"+(t?"Right":"");Yn.prototype[e]=function(){return this[n](1).value()[0]}})),Ct(["initial","tail"],(function(e,t){var n="drop"+(t?"":"Right");Yn.prototype[e]=function(){return this.__filtered__?new Yn(this):this[n](1)}})),Yn.prototype.compact=function(){return this.filter(Qs)},Yn.prototype.find=function(e){return this.filter(e).head()},Yn.prototype.findLast=function(e){return this.reverse().find(e)},Yn.prototype.invokeMap=Wr((function(e,t){return"function"==typeof e?new Yn(this):this.map((function(n){return Er(n,e,t)}))})),Yn.prototype.reject=function(e){return this.filter(Da(io(e)))},Yn.prototype.slice=function(e,t){e=us(e);var r=this;return r.__filtered__&&(e>0||t<0)?new Yn(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)},Yn.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Yn.prototype.toArray=function(){return this.take(f)},vr(Yn.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 Yn,c=s[0],u=l||ja(t),d=function(e){var t=o.apply(zn,Dt([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 Yn(this);var m=e.apply(t,s);return m.__actions__.push({func:ca,args:[d],thisArg:n}),new jn(m,f)}return p&&g?e.apply(this,s):(m=this.thru(d),p?i?m.value()[0]:m.value():m)})})),Ct(["pop","push","shift","sort","splice","unshift"],(function(e){var t=Te[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(ja(i)?i:[],e)}return this[n]((function(n){return t.apply(ja(n)?n:[],e)}))}})),vr(Yn.prototype,(function(e,t){var n=zn[t];if(n){var r=n.name+"";Oe.call(Tn,r)||(Tn[r]=[]),Tn[r].push({name:t,func:n})}})),Tn[Ii(n,2).name]=[{name:"wrapper",func:n}],Yn.prototype.clone=function(){var e=new Yn(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},Yn.prototype.reverse=function(){if(this.__filtered__){var e=new Yn(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},Yn.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=ja(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 jn(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=Ro(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 Yn){var t=e;return this.__actions__.length&&(t=new Yn(this)),(t=t.reverse()).__actions__.push({func:ca,args:[Zo],thisArg:n}),new jn(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,Xe&&(zn.prototype[Xe]=function(){return this}),zn}();ft?((ft.exports=fn)._=fn,dt._=fn):ut._=fn}).call(qh)}($h,$h.exports)),$h.exports);const Uh=e=>{const{debounceTimeout:t=0,children:n}=e,r=(0,i.li)(null),a=(0,o.Ul)(r.current?.clientWidth??0),s=(0,o.Ul)(r.current?.clientHeight??0),l=(0,i.li)(!0);return(0,i.vJ)((()=>()=>{l.current=!1}),[]),(0,i.vJ)((()=>{if(!r.current)return;const e=Hh.debounce((e=>{l.current&&(0,o.vA)((()=>{const t=Math.floor(e.clientWidth),n=Math.floor(e.clientHeight);t!==a.peek()&&(a.value=t),n!==s.peek()&&(s.value=n)}))}),t);e(r.current);const n=new ResizeObserver((t=>{for(const n of t)e(n.target)}));n.observe(r.current);const i=()=>{r.current&&e(r.current)};return window.addEventListener("resize",i),()=>{n.disconnect(),window.removeEventListener("resize",i)}}),[t,a,s]),Wt("div",{ref:r,style:{width:"100%"},children:n(a.value,s.value)})};var Wh="styles_view__RIAGy",Vh="styles_imageCard__q1Tt-";const Gh=(0,r.q6)({width:0,height:0}),Kh=e=>Wt(Uh,{children:(t,n)=>Wt(Gh.Provider,{value:{width:t,height:n},children:Wt("div",{className:"styles_wrapper__lYgmR",children:e.children})})}),Zh=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},Xh=(0,r.q6)(null),Jh=()=>{const e=(0,i.NT)(Xh);if(!e)throw new Error("ImageDiffContext must be used within a ImageDiffContextProvider");return e},Qh=e=>{const{children:t,diff:n}=e,r=(e=>{const t=(0,i.NT)(Gh),n=(0,o.Ul)(!0),r=(0,o.Ul)(null),a=(0,o.Ul)(null),s=(0,o.Ul)(null),l=(0,o.Ul)(t);(0,i.vJ)((()=>{l.value=t}),[t,l]);const c=(0,o.HO)((()=>{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===a.value&&(t=t.filter((e=>"actual"!==e&&"overlay"!==e&&"side-by-side"!==e))),null===s.value&&(t=t.filter((e=>"diff"!==e))),t})),u=(0,o.Ul)(c.value[0]);(0,o.R0)((()=>{!1===n.value&&(u.value=c.value[0])}));const d=(0,o.HO)((()=>0===c.value.length||!(!e.actual||null!==a.value)||!(!e.expected||null!==r.value)||!(!e.diff||null!==s.value))),f=(0,o.HO)((()=>{const e="undefined"==typeof window?1:window.devicePixelRatio;return{expected:{width:(r.value?.naturalWidth??0)/e,height:(r.value?.naturalHeight??0)/e},actual:{width:(a.value?.naturalWidth??0)/e,height:(a.value?.naturalHeight??0)/e},diff:{width:(s.value?.naturalWidth??0)/e,height:(s.value?.naturalHeight??0)/e}}}));return(0,i.vJ)((()=>{const t=new AbortController;return n.value=!0,Promise.all([Zh(e.expected),Zh(e.actual),Zh(e.diff)]).then((([e,i,l])=>{t.signal.aborted||(0,o.vA)((()=>{r.value=e,a.value=i,s.value=l,n.value=!1}))})),()=>{t.abort()}}),[e,n,r,a,s]),{data:e,diffModes:c,isLoading:n,failedToLoad:d,containerDimensions:l,imageDimensions:f,images:{expected:r,actual:a,diff:s},diffMode:u}})(n);return Wt(Xh.Provider,{value:r,children:t})},ep=(0,r.q6)((()=>{})),tp=()=>{},np=e=>{const{children:t,i18n:n}=e;return Wt(ep.Provider,{value:n??tp,children:t})},rp=()=>(0,i.NT)(ep),ip={diff:"Diff",actual:"Actual",expected:"Expected","side-by-side":"Side by side",overlay:"Overlay"},op=()=>{const{diffModes:e,diffMode:t}=Jh(),n=rp();return Wt("div",{className:"styles_selector__znOxx",children:Wt(Ph,{children:Wt(Bh,{children:Wt(a.a,{each:e,children:e=>Wt(jh,{tabId:e,isCurrentTab:t.value===e,onClick:()=>t.value=e,children:n?.(`mode.${e}`)??ip[e]},e)})})})})};var ap={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 sp=({className:e,skin:t,children:n,"data-testid":r})=>Wt(Zt,{className:D(ap.tag,e,t&&ap[t]),bold:!0,size:"s",type:"ui","data-testid":r,children:n}),lp=e=>{const{className:t,...n}=e;return Wt("img",{className:D(t,"styles_image__tDz1w"),...n,draggable:!1})},cp=e=>{const{diff:t,actual:n,expected:r,containerSize:i}=e;return Math.min(...[t,n,r,i].filter((e=>e>0)))},up=e=>{const{options:t,current:n,onChange:r}=e,i=rp();return Wt(uh,{size:"s",menuTrigger:({isOpened:e,onClick:t})=>Wt(rn,{style:"ghost",size:"s",text:i(`image.${n}`)??Hh.capitalize(n),isExpanded:e,onClick:t}),children:Wt(uh.Section,{children:t.filter((e=>e!==n)).map((e=>Wt(uh.Item,{onClick:()=>r(e),children:i(`image.${e}`)??Hh.capitalize(e)},e)))})})},dp=e=>{const{sizes:t,children:n}=e;return Wt("div",{className:"styles_imageLabel__-Bqlj",children:[n,Wt(sp,{skin:"secondary",children:`${t.width} × ${t.height}`})]})},fp=()=>{const{images:e,imageDimensions:t,containerDimensions:n}=Jh(),r=(0,o.HO)((()=>cp({diff:t.value.diff.width,actual:t.value.actual.width,expected:t.value.expected.width,containerSize:n.value.width})));return Wt("div",{className:Wh,children:Wt("div",{className:Vh,children:[Wt(dp,{sizes:{height:e.diff.value?.naturalHeight??0,width:e.diff.value?.naturalWidth??0}}),Wt(lp,{src:e.diff.value?.src,width:r.value})]})})},hp=()=>{const{images:e,imageDimensions:t,containerDimensions:n}=Jh(),r=(0,o.HO)((()=>cp({diff:t.value.diff.width,actual:t.value.actual.width,expected:t.value.expected.width,containerSize:n.value.width})));return Wt("div",{className:Wh,children:Wt("div",{className:Vh,children:[Wt(dp,{sizes:{height:e.actual.value?.naturalHeight??0,width:e.actual.value?.naturalWidth??0}}),Wt(lp,{src:e.actual.value?.src,width:r.value})]})})},pp=()=>{const{images:e,imageDimensions:t,containerDimensions:n}=Jh(),r=(0,o.HO)((()=>cp({diff:t.value.diff.width,actual:t.value.actual.width,expected:t.value.expected.width,containerSize:n.value.width})));return Wt("div",{className:Wh,children:Wt("div",{className:Vh,children:[Wt(dp,{sizes:{height:e.expected.value?.naturalHeight??0,width:e.expected.value?.naturalWidth??0}}),Wt(lp,{src:e.expected.value?.src,width:r.value})]})})},gp=()=>{const{images:e,imageDimensions:t,containerDimensions:n}=Jh(),r=e.expected.value,a=e.actual.value,s=(0,o.HO)((()=>cp({diff:t.value.diff.width,actual:t.value.actual.width,expected:t.value.expected.width,containerSize:n.value.width}))),l=(0,o.Ul)(s.value/2),c=(0,i.li)(null),u=(0,o.Ul)(!1),d=(0,o.HO)((()=>{const e=l.value;return e<0?0:e>s.value?s.value-3:l.value})),f=e=>{const t=c.current?.getBoundingClientRect();t&&(l.value=e-t.left)},h=()=>{u.value=!1},p=(0,o.HO)((()=>{const e=s.value/t.value.actual.width,n=s.value/t.value.expected.width;return Math.max(t.value.actual.height*e,t.value.expected.height*n)}));return Wt("div",{className:Wh,children:[Wt(dp,{sizes:{width:r?.naturalWidth??0,height:r?.naturalHeight??0}}),Wt("div",{ref:c,className:"styles_overlayContainer__nBpEU",style:{width:s.value,height:p.value},children:[Wt("div",{className:Vh,children:Wt(lp,{src:r?.src,width:s.value})}),Wt("div",{className:Vh,style:{maxWidth:d.value},children:Wt(lp,{src:a?.src,width:s.value})}),Wt("div",{className:"styles_overlayHandle__SYBWC",style:{transform:`translateX(${d.value}px)`,height:p.value},onPointerDown:e=>{e.preventDefault(),u.value=!0,e.currentTarget.setPointerCapture(e.pointerId),f(e.clientX)},onPointerMove:e=>{u.value&&f(e.clientX)},onPointerUp:h,onPointerCancel:h,onLostPointerCapture:h,"data-dragging":u.value||void 0})]})]})},mp=()=>{const{images:e,imageDimensions:t,containerDimensions:n}=Jh(),r=(0,o.Ul)("actual"),i=(0,o.Ul)("expected"),a=(0,o.HO)((()=>["actual","expected","diff"])),s=(0,o.HO)((()=>["actual","expected","diff"])),l=(0,o.HO)((()=>"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])),c=(0,o.HO)((()=>"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])),u=(0,o.HO)((()=>cp({diff:t.value.diff.width,actual:t.value.actual.width,expected:t.value.expected.width,containerSize:n.value.width}))),d=(0,o.HO)((()=>2*u.value+24>n.value.width?n.value.width/2-24:u.value)),f=d.value>320,[h,p]=l.value,[g,m]=c.value;return Wt("div",{className:Wh,"data-row":f||void 0,children:[Wt("div",{className:Vh,children:[Wt(dp,{sizes:h,children:Wt(up,{options:a.value,current:r.value,onChange:e=>{r.value=e}})}),Wt(lp,{src:p,width:f?d.value:n.value.width})]}),Wt("div",{className:Vh,children:[Wt(dp,{sizes:g,children:Wt(up,{options:s.value,current:i.value,onChange:e=>{i.value=e}})}),Wt(lp,{src:m,width:f?d.value:n.value.width})]})]})},vp=()=>{const{diffMode:e}=Jh();switch(e.value){case"diff":return Wt(fp,{});case"actual":return Wt(hp,{});case"expected":return Wt(pp,{});case"side-by-side":return Wt(mp,{});case"overlay":return Wt(gp,{})}},bp=()=>{const e=rp(),{isLoading:t,failedToLoad:n}=Jh();return t.value?Wt(Kt,{size:"m"}):n.value?Wt(gh,{title:e("empty.failed-to-load")??"Failed to load",icon:Vt.lineImagesImage}):Wt(r.FK,{children:[Wt(op,{}),Wt(vp,{})]})},yp=e=>{const{i18n:t,diff:n}=e;return Wt(np,{i18n:t,children:Wt(Kh,{children:Wt(Qh,{diff:n,children:Wt(bp,{})})})})},_p="<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>",wp="__ALLURE_REDACTED__",xp="text/plain",kp="*****",Cp="Value is masked",Sp=e=>"object"==typeof e&&null!==e&&!Array.isArray(e),Ap=e=>null==e?"":String(e),Ep=e=>{const t="number"==typeof e?e:"string"==typeof e&&e.trim()?Number(e):NaN;return Number.isFinite(t)?t:void 0},Tp=e=>e.split(";")[0].trim().toLowerCase(),Mp=e=>{const t=Tp(e);return"application/json"===t||"text/json"===t||t.endsWith("+json")},Lp=(e,t)=>{const n=t.toLowerCase();return e.find((e=>e.name.toLowerCase()===n))?.value??""},Dp=e=>e.replaceAll(wp,kp),Np=(e,t)=>Array.isArray(e)?e.map(t).filter((e=>null!==e)):[],Op=e=>{if(!Sp(e))return null;const t=Ap(e.name).trim(),n=Ap(e.value);return t||n?{name:t,value:n,masked:n===wp}:null},Fp=e=>Np(e,Op),Rp=e=>{if(!Sp(e))return null;const t=Op(e);return t?{...t,domain:Ap(e.domain).trim(),expires:Ap(e.expires).trim(),httpOnly:!0===e.httpOnly,maxAge:Ep(e.maxAge),path:Ap(e.path).trim(),sameSite:Ap(e.sameSite).trim(),secure:!0===e.secure}:null},Ip=e=>Np(e,Rp),zp=e=>Sp(e)?{type:Ap(e.type).trim(),complete:"boolean"==typeof e.complete?String(e.complete):"",chunkCount:Ep(e.chunkCount)}:null,Pp=e=>{if(!Sp(e))return null;const t=Fp(e.headers),n=void 0!==e.value&&null!==e.value;return{name:Ap(e.name).trim(),fileName:Ap(e.fileName).trim(),headers:t,contentType:Ap(e.contentType).trim()||Lp(t,"content-type"),encoding:Ap(e.encoding).trim().toLowerCase()||"utf8",value:n?String(e.value):"",hasValue:n,size:Ep(e.size),truncated:!0===e.truncated}},Bp=e=>Np(e,Pp),jp=(e,t="")=>{if(!Sp(e))return null;const n=void 0!==e.value&&null!==e.value;return{contentType:Ap(e.contentType).trim()||t,encoding:Ap(e.encoding).trim().toLowerCase()||"utf8",value:n?String(e.value):"",hasValue:n,size:Ep(e.size),truncated:!0===e.truncated,form:Fp(e.form),parts:Bp(e.parts),stream:zp(e.stream)}},Yp=e=>{if(!Sp(e))return null;const t=Fp(e.headers);return{method:Ap(e.method).trim().toUpperCase()||"GET",url:Ap(e.url).trim(),httpVersion:Ap(e.httpVersion).trim(),headers:t,cookies:Ip(e.cookies),query:Fp(e.query),body:jp(e.body,Lp(t,"content-type")),trailers:Fp(e.trailers)}},$p=e=>Sp(e)?{status:Ap(e.status).trim(),reason:Ap(e.statusText).trim(),headers:Fp(e.headers)}:null,qp=e=>Np(e,$p),Hp=e=>{if(!Sp(e))return null;const t=Fp(e.headers);return{status:Ap(e.status).trim(),reason:Ap(e.statusText).trim(),httpVersion:Ap(e.httpVersion).trim(),headers:t,cookies:Ip(e.cookies),body:jp(e.body,Lp(t,"content-type")),trailers:Fp(e.trailers),informationalResponses:qp(e.informationalResponses)}},Up=e=>{if(!Sp(e))return null;const t=Ap(e.name).trim(),n=Ap(e.message).trim(),r=Ap(e.stack).trim();return t||n||r?{name:t,message:n,stack:r}:null},Wp=()=>Wt("span",{"aria-label":Cp,className:Fh["http-attachment__masked-value"],"data-http-masked-value":"true",tabIndex:0,title:Cp,children:kp}),Vp=({pair:e})=>e.masked?Wt(Wp,{}):Wt(r.FK,{children:Dp(e.value)}),Gp=({columns:e})=>Wt("thead",{children:Wt("tr",{children:e.map(((e,t)=>Wt("th",{children:e},`${e}-${t}`)))})}),Kp=({children:e,count:t,defaultOpen:n,title:r,variant:i="metadata"})=>Wt("details",{className:`${Fh["http-attachment__group"]} ${Fh[`http-attachment__group--${i}`]}`,"data-http-group":r.toLowerCase().replace(/\s+/g,"-"),open:n,children:[Wt("summary",{className:Fh["http-attachment__group-summary"],children:Wt("span",{className:Fh["http-attachment__group-title"],children:[r,"number"==typeof t?` (${t})`:""]})}),Wt("div",{className:Fh["http-attachment__group-content"],children:e})]}),Zp=({pairs:e})=>Wt("table",{className:Fh["http-attachment__table"],children:[Wt(Gp,{columns:["Name","Value"]}),Wt("tbody",{children:e.map(((e,t)=>Wt("tr",{children:[Wt("td",{className:Fh["http-attachment__pair-name"],children:e.name}),Wt("td",{className:Fh["http-attachment__pair-value"],children:Wt(Vp,{pair:e})})]},`${e.name}-${t}`)))})]}),Xp=({defaultOpen:e,pairs:t,title:n})=>t.length?Wt(Kp,{count:t.length,defaultOpen:e,title:n,children:Wt(Zp,{pairs:t})}):null,Jp=e=>[e.domain&&`Domain=${e.domain}`,e.path&&`Path=${e.path}`,e.expires&&`Expires=${e.expires}`,"number"==typeof e.maxAge&&`Max-Age=${e.maxAge}`,e.sameSite&&`SameSite=${e.sameSite}`,e.secure&&"Secure",e.httpOnly&&"HttpOnly"].filter((e=>Boolean(e))).join("; "),Qp=({cookies:e,defaultOpen:t,title:n})=>e.length?Wt(Kp,{count:e.length,defaultOpen:t,title:n,children:Wt("table",{className:Fh["http-attachment__table"],children:[Wt(Gp,{columns:["Name","Value","Attributes"]}),Wt("tbody",{children:e.map(((e,t)=>Wt("tr",{children:[Wt("td",{className:Fh["http-attachment__pair-name"],children:e.name}),Wt("td",{className:Fh["http-attachment__pair-value"],children:Wt(Vp,{pair:e})}),Wt("td",{className:Fh["http-attachment__cookie-attrs"],children:Jp(e)})]},`${e.name}-${t}`)))})]})}):null,eg=({name:e,value:t})=>t?Wt("div",{className:Fh["http-attachment__meta-row"],children:[Wt("div",{className:Fh["http-attachment__label"],children:e}),Wt("div",{className:Fh["http-attachment__value"],children:t})]}):null,tg=e=>void 0!==e&&""!==e,ng=(e,t)=>[e,t].filter(tg).join(" "),rg=e=>e.find((([,e])=>e>0))?.[0]??null,ig=({defaultOpen:e,responses:t})=>t.length?Wt(Kp,{count:t.length,defaultOpen:e,title:"Informational responses",children:Wt("table",{className:Fh["http-attachment__table"],children:[Wt(Gp,{columns:["Status","Headers"]}),Wt("tbody",{children:t.map((({headers:e,reason:t,status:n},r)=>Wt("tr",{children:[Wt("td",{className:Fh["http-attachment__pair-name"],children:ng(n,t)}),Wt("td",{className:Fh["http-attachment__pair-value"],children:e.map(((e,t)=>Wt("span",{children:[t>0?"; ":null,e.name,": ",Wt(Vp,{pair:e})]},`${e.name}-${t}`)))})]},`${n}-${r}`)))})]})}):null,og=({values:e})=>e.length?Wt("div",{className:Fh["http-attachment__meta-chips"],children:e.map((e=>Wt("span",{className:Fh["http-attachment__meta-chip"],children:e},e)))}):null,ag=e=>[e.contentType||"body","utf8"!==e.encoding&&e.encoding,"number"==typeof e.size&&`${e.size} bytes`,e.truncated&&"truncated"].filter((e=>Boolean(e))),sg=e=>{const t=Tp(e||xp);return t.startsWith("image/")?"image":t.startsWith("video/")?"video":t.startsWith("text/")||"application/json"===t||"application/xml"===t||t.endsWith("+json")?"text":"binary"},lg=({body:e,beautify:t})=>{const n=sg(e.contentType);if("image"===n||"video"===n){const t="base64"===e.encoding?(e=>`data:${e.contentType||"application/octet-stream"};base64,${e.value.replace(/\s/g,"")}`)(e):(e=>`data:${e.contentType||xp};charset=utf-8,${encodeURIComponent(e.value)}`)(e);return"image"===n?Wt("div",{"data-testid":"image-attachment-content",className:Fh["test-result-attachment-image"],children:Wt("img",{alt:"HTTP body",src:t})}):Wt("video",{"data-testid":"video-attachment-content",className:Fh["test-result-attachment-video"],controls:!0,loop:!0,muted:!0,children:Wt("source",{src:t,type:e.contentType})})}if("base64"===e.encoding)return Wt("div",{className:Fh["http-attachment__body-message"],children:["No inline view for ",e.contentType||"this content type","."]});if("text"===n){const n=(e=>{const t=Tp(e||xp);return Mp(t)?"json":(e=>{const t=Tp(e);return"text/html"===t||"application/xhtml+xml"===t})(t)?"html":t.split("/").pop()?.replace(/[^a-z0-9_-]/gi,"-")||"text"})(e.contentType),r=t&&Mp(e.contentType)?(e=>{try{return JSON.stringify(JSON.parse(e),null,2)}catch{return e}})(e.value):e.value;return Wt("pre",{"data-testid":"code-attachment-content",className:`language-${n} line-numbers`,children:Wt("code",{children:Dp(r)})})}return Wt("div",{className:Fh["http-attachment__body-message"],children:["No inline view for ",e.contentType||"this content type","."]})},cg=e=>[e.contentType,"utf8"!==e.encoding&&e.encoding,"number"==typeof e.size&&`${e.size} bytes`,e.truncated&&"truncated"].filter((e=>Boolean(e))),ug=e=>[e.name,e.fileName].filter(Boolean).join(" | ")||"unnamed",dg=({headers:e})=>e.length?Wt("div",{className:Fh["http-attachment__part-section"],"data-http-part-headers":"true",children:[Wt("div",{className:Fh["http-attachment__part-section-title"],children:"Headers"}),Wt("div",{className:Fh["http-attachment__part-header-list"],children:e.map(((e,t)=>Wt("div",{className:Fh["http-attachment__part-header-row"],children:[Wt("span",{className:Fh["http-attachment__part-header-name"],children:e.name}),Wt("span",{className:Fh["http-attachment__part-header-value"],children:Wt(Vp,{pair:e})})]},`${e.name}-${t}`)))})]}):null,fg=({defaultOpen:e,parts:t})=>t.length?Wt(Kp,{count:t.length,defaultOpen:e,title:"Parts",variant:"body",children:Wt("div",{className:Fh["http-attachment__part-list"],children:t.map(((e,t)=>Wt("div",{className:Fh["http-attachment__part-card"],"data-http-part":"true",children:[Wt("div",{className:Fh["http-attachment__part-card-header"],children:[Wt("div",{className:Fh["http-attachment__part-title"],children:ug(e)}),Wt(og,{values:cg(e)})]}),Wt(dg,{headers:e.headers}),e.hasValue?Wt("pre",{className:Fh["http-attachment__part-value"],children:e.value===wp?Wt(Wp,{}):Dp(e.value)}):null]},`${e.name}-${e.fileName}-${t}`)))})}):null,hg=({defaultOpen:e,stream:t})=>{if(!t)return null;const n=(e=>[e.type&&{name:"type",value:e.type,masked:!1},e.complete&&{name:"complete",value:e.complete,masked:!1},"number"==typeof e.chunkCount&&{name:"chunkCount",value:String(e.chunkCount),masked:!1}].filter(Boolean))(t);return Wt(Kp,{count:n.length||void 0,defaultOpen:e||!n.length,title:"Stream",variant:"body",children:n.length?Wt(Zp,{pairs:n}):Wt("div",{className:Fh["http-attachment__body-message"],children:"Stream metadata captured."})})},pg=({body:e,beautify:t})=>e.form.length?Wt(Kp,{count:e.form.length,defaultOpen:!0,title:"Form",variant:"body",children:Wt(Zp,{pairs:e.form})}):e.parts.length?Wt(fg,{defaultOpen:!0,parts:e.parts}):e.stream?Wt(r.FK,{children:[Wt(hg,{defaultOpen:!0,stream:e.stream}),e.hasValue?Wt(lg,{body:e,beautify:t}):null]}):Wt(lg,{body:e,beautify:t}),gg=({body:e})=>{const[t,n]=(0,i.J0)(!1);if(!e)return null;const r=Boolean(e.form.length||e.parts.length||e.stream),o=(e=>e.hasValue&&"base64"!==e.encoding&&"text"===sg(e.contentType))(e),a=o&&Mp(e.contentType),s=o;return Wt("div",{className:Fh["http-attachment__body"],children:[Wt("div",{className:Fh["http-attachment__body-toolbar"],children:[Wt("div",{className:Fh["http-attachment__body-heading"],children:[Wt("h4",{className:Fh["http-attachment__body-title"],children:"Body"}),Wt(og,{values:ag(e)})]}),(s||a)&&Wt("div",{className:Fh["http-attachment__body-actions"],children:[a&&Wt("button",{className:Fh["http-attachment__body-action"],onClick:()=>n((e=>!e)),type:"button",children:t?"Original":"Pretty"}),s&&Wt("button",{className:Fh["http-attachment__body-action"],onClick:()=>(async e=>{try{if(navigator.clipboard)return void await navigator.clipboard.writeText(e);const t=document.createElement("textarea");t.value=e,t.style.position="fixed",t.style.opacity="0",document.body.appendChild(t),t.select(),document.execCommand("copy"),document.body.removeChild(t)}catch{}})(e.value),type:"button",children:"Copy"})]})]}),Wt("div",{className:`${Fh["http-attachment__body-content"]} ${r?Fh["http-attachment__body-content--structured"]:""}`,children:e.hasValue||r?Wt(pg,{body:e,beautify:t}):Wt("div",{className:Fh["http-attachment__body-message"],children:"No body captured."})})]})},mg=({method:e,url:t})=>Wt(r.FK,{children:[Wt("span",{className:Fh["http-attachment__method"],"data-http-method":"true",children:e}),Wt("span",{className:Fh["http-attachment__url"],children:t})]}),vg=({durationMs:e,response:t})=>{const n=ng(t.status,t.reason);return Wt(r.FK,{children:[n?Wt("span",{className:Fh["http-attachment__status"],children:n}):null,e?Wt("span",{className:Fh["http-attachment__duration"],children:e}):null]})},bg=({children:e,title:t})=>Wt("div",{className:Fh["http-attachment__panel-header"],children:[Wt("div",{className:Fh["http-attachment__panel-title"],children:t}),e?Wt("div",{className:Fh["http-attachment__panel-line"],children:e}):null]}),yg=({request:e})=>{const t=Boolean(e.body)?null:rg([["query",e.query.length],["headers",e.headers.length],["cookies",e.cookies.length],["trailers",e.trailers.length]]),n=Boolean(e.query.length||e.headers.length||e.cookies.length||e.trailers.length);return(e=>Boolean(e.httpVersion||e.query.length||e.headers.length||e.cookies.length||e.trailers.length||e.body))(e)?Wt("section",{className:Fh["http-attachment__panel"],"data-http-panel":"request",children:[Wt(bg,{title:"Request",children:e.httpVersion?Wt("span",{className:Fh["http-attachment__version"],children:e.httpVersion}):null}),Wt(gg,{body:e.body}),n?Wt("div",{className:Fh["http-attachment__groups"],children:[Wt(Xp,{defaultOpen:"query"===t,pairs:e.query,title:"Query"}),Wt(Xp,{defaultOpen:"headers"===t,pairs:e.headers,title:"Headers"}),Wt(Qp,{defaultOpen:"cookies"===t,cookies:e.cookies,title:"Cookies"}),Wt(Xp,{defaultOpen:"trailers"===t,pairs:e.trailers,title:"Trailers"})]}):null]}):null},_g=({durationMs:e,response:t})=>{if(!t)return Wt("section",{className:Fh["http-attachment__panel"],"data-http-panel":"response",children:[Wt(bg,{title:"Response"}),Wt("div",{className:Fh["http-attachment__empty"],children:"No response captured."})]});if(!(e=>Boolean(e.status||e.reason||e.httpVersion||e.headers.length||e.cookies.length||e.trailers.length||e.informationalResponses.length||e.body))(t))return null;const n=Boolean(t.body)?null:rg([["informational",t.informationalResponses.length],["headers",t.headers.length],["cookies",t.cookies.length],["trailers",t.trailers.length]]),r=Boolean(t.informationalResponses.length||t.headers.length||t.cookies.length||t.trailers.length);return Wt("section",{className:Fh["http-attachment__panel"],"data-http-panel":"response",children:[Wt(bg,{title:"Response",children:[Wt(vg,{durationMs:e,response:t}),t.httpVersion?Wt("span",{className:Fh["http-attachment__version"],children:t.httpVersion}):null]}),Wt(gg,{body:t.body}),r?Wt("div",{className:Fh["http-attachment__groups"],children:[Wt(ig,{defaultOpen:"informational"===n,responses:t.informationalResponses}),Wt(Xp,{defaultOpen:"headers"===n,pairs:t.headers,title:"Headers"}),Wt(Qp,{defaultOpen:"cookies"===n,cookies:t.cookies,title:"Cookies"}),Wt(Xp,{defaultOpen:"trailers"===n,pairs:t.trailers,title:"Trailers"})]}):null]})},wg=({error:e})=>e?Wt("section",{className:`${Fh["http-attachment__panel"]} ${Fh["http-attachment__panel--error"]}`,"data-http-panel":"error",children:[Wt(bg,{title:"Error"}),Wt("div",{className:Fh["http-attachment__meta"],children:[Wt(eg,{name:"Name",value:e.name}),Wt(eg,{name:"Message",value:e.message})]}),e.stack?Wt(Kp,{defaultOpen:!0,title:"Stack",children:Wt("div",{className:Fh["http-attachment__body-content"],children:Wt("pre",{"data-testid":"code-attachment-content",className:"language-text line-numbers",children:Wt("code",{children:e.stack})})})}):null]}):null,xg=({durationMs:e,request:t,response:n})=>{const r=n?ng(n.status,n.reason):"";return Wt("div",{className:Fh["http-attachment__summary"],children:[Wt(mg,{method:t.method,url:t.url}),r||e?Wt("span",{className:Fh["http-attachment__exchange-arrow"],children:"→"}):null,r?Wt("span",{className:Fh["http-attachment__status"],children:r}):null,e?Wt("span",{className:Fh["http-attachment__duration"],children:e}):null]})},kg={};function Cg(e,t){"string"!=typeof t&&(t=Cg.defaultChars);const n=function(e){let t=kg[e];if(t)return t;t=kg[e]=[];for(let e=0;e<128;e++){const n=String.fromCharCode(e);t.push(n)}for(let n=0;n<e.length;n++){const r=e.charCodeAt(n);t[r]="%"+("0"+r.toString(16).toUpperCase()).slice(-2)}return t}(t);return e.replace(/(%[a-f0-9]{2})+/gi,(function(e){let t="";for(let r=0,i=e.length;r<i;r+=3){const o=parseInt(e.slice(r+1,r+3),16);if(o<128)t+=n[o];else{if(192==(224&o)&&r+3<i){const n=parseInt(e.slice(r+4,r+6),16);if(128==(192&n)){const e=o<<6&1984|63&n;t+=e<128?"��":String.fromCharCode(e),r+=3;continue}}if(224==(240&o)&&r+6<i){const n=parseInt(e.slice(r+4,r+6),16),i=parseInt(e.slice(r+7,r+9),16);if(128==(192&n)&&128==(192&i)){const e=o<<12&61440|n<<6&4032|63&i;t+=e<2048||e>=55296&&e<=57343?"���":String.fromCharCode(e),r+=6;continue}}if(240==(248&o)&&r+9<i){const n=parseInt(e.slice(r+4,r+6),16),i=parseInt(e.slice(r+7,r+9),16),a=parseInt(e.slice(r+10,r+12),16);if(128==(192&n)&&128==(192&i)&&128==(192&a)){let e=o<<18&1835008|n<<12&258048|i<<6&4032|63&a;e<65536||e>1114111?t+="����":(e-=65536,t+=String.fromCharCode(55296+(e>>10),56320+(1023&e))),r+=9;continue}}t+="�"}}return t}))}Cg.defaultChars=";/?:@&=+$,#",Cg.componentChars="";const Sg={};function Ag(e,t,n){"string"!=typeof t&&(n=t,t=Ag.defaultChars),void 0===n&&(n=!0);const r=function(e){let t=Sg[e];if(t)return t;t=Sg[e]=[];for(let e=0;e<128;e++){const n=String.fromCharCode(e);/^[0-9a-z]$/i.test(n)?t.push(n):t.push("%"+("0"+e.toString(16).toUpperCase()).slice(-2))}for(let n=0;n<e.length;n++)t[e.charCodeAt(n)]=e[n];return t}(t);let i="";for(let t=0,o=e.length;t<o;t++){const a=e.charCodeAt(t);if(n&&37===a&&t+2<o&&/^[0-9a-f]{2}$/i.test(e.slice(t+1,t+3)))i+=e.slice(t,t+3),t+=2;else if(a<128)i+=r[a];else if(a>=55296&&a<=57343){if(a>=55296&&a<=56319&&t+1<o){const n=e.charCodeAt(t+1);if(n>=56320&&n<=57343){i+=encodeURIComponent(e[t]+e[t+1]),t++;continue}}i+="%EF%BF%BD"}else i+=encodeURIComponent(e[t])}return i}function Eg(e){let t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&-1!==e.hostname.indexOf(":")?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||"",t}function Tg(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}Ag.defaultChars=";/?:@&=+$,-_.!~*'()#",Ag.componentChars="-_.!~*'()";const Mg=/^([a-z0-9.+-]+:)/i,Lg=/:[0-9]*$/,Dg=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,Ng=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),Og=["'"].concat(Ng),Fg=["%","/","?",";","#"].concat(Og),Rg=["/","?","#"],Ig=/^[+a-z0-9A-Z_-]{0,63}$/,zg=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,Pg={javascript:!0,"javascript:":!0},Bg={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function jg(e,t){if(e&&e instanceof Tg)return e;const n=new Tg;return n.parse(e,t),n}Tg.prototype.parse=function(e,t){let n,r,i,o=e;if(o=o.trim(),!t&&1===e.split("#").length){const e=Dg.exec(o);if(e)return this.pathname=e[1],e[2]&&(this.search=e[2]),this}let a=Mg.exec(o);if(a&&(a=a[0],n=a.toLowerCase(),this.protocol=a,o=o.substr(a.length)),(t||a||o.match(/^\/\/[^@\/]+@[^@\/]+/))&&(i="//"===o.substr(0,2),!i||a&&Pg[a]||(o=o.substr(2),this.slashes=!0)),!Pg[a]&&(i||a&&!Bg[a])){let e,t,n=-1;for(let e=0;e<Rg.length;e++)r=o.indexOf(Rg[e]),-1!==r&&(-1===n||r<n)&&(n=r);t=-1===n?o.lastIndexOf("@"):o.lastIndexOf("@",n),-1!==t&&(e=o.slice(0,t),o=o.slice(t+1),this.auth=e),n=-1;for(let e=0;e<Fg.length;e++)r=o.indexOf(Fg[e]),-1!==r&&(-1===n||r<n)&&(n=r);-1===n&&(n=o.length),":"===o[n-1]&&n--;const i=o.slice(0,n);o=o.slice(n),this.parseHost(i),this.hostname=this.hostname||"";const a="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!a){const e=this.hostname.split(/\./);for(let t=0,n=e.length;t<n;t++){const n=e[t];if(n&&!n.match(Ig)){let r="";for(let e=0,t=n.length;e<t;e++)n.charCodeAt(e)>127?r+="x":r+=n[e];if(!r.match(Ig)){const r=e.slice(0,t),i=e.slice(t+1),a=n.match(zg);a&&(r.push(a[1]),i.unshift(a[2])),i.length&&(o=i.join(".")+o),this.hostname=r.join(".");break}}}}this.hostname.length>255&&(this.hostname=""),a&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}const s=o.indexOf("#");-1!==s&&(this.hash=o.substr(s),o=o.slice(0,s));const l=o.indexOf("?");return-1!==l&&(this.search=o.substr(l),o=o.slice(0,l)),o&&(this.pathname=o),Bg[n]&&this.hostname&&!this.pathname&&(this.pathname=""),this},Tg.prototype.parseHost=function(e){let t=Lg.exec(e);t&&(t=t[0],":"!==t&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)};var Yg,$g=Object.freeze({__proto__:null,decode:Cg,encode:Ag,format:Eg,parse:jg}),qg=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,Hg=/[\0-\x1F\x7F-\x9F]/,Ug=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDEAD\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3E]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2\uDF00-\uDF09]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDF43-\uDF4F\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A\uDFE2]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/,Wg=/[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u0888\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20C0\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFF\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u31EF\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBC2\uFD40-\uFD4F\uFDCF\uFDFC-\uFDFF\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD833[\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEDC-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF76\uDF7B-\uDFD9\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDE53\uDE60-\uDE6D\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC5\uDECE-\uDEDB\uDEE0-\uDEE8\uDEF0-\uDEF8\uDF00-\uDF92\uDF94-\uDFCA]/,Vg=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,Gg=Object.freeze({__proto__:null,Any:qg,Cc:Hg,Cf:/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u0890\u0891\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC3F]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/,P:Ug,S:Wg,Z:Vg}),Kg=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏઑඡ༉༦ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲϏϢϸontourIntegraìȹoɴ\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲy;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱còJTabcdfgorstרׯؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ߂ߐĀiyޱrc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣসে্ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४ĀnrࢃgleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpwਖਛgȀLRlr৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼અઋp;椅y;䐜Ādl੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑඞcy;䐊cute;䅃ƀaeyહાron;䅇dil;䅅;䐝ƀgswે૰ativeƀMTV૨ediumSpace;怋hiĀcn૦ëeryThiîtedĀGLଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷreak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪௫ఄ಄ದൡඅ櫬Āoungruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater;EFGLSTஶஷ扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨setĀ;Eೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂෛ෧ขภยา฿ไlig;䅒cute耻Ó䃓Āiyීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲcr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬืde耻Õ䃕es;樷ml耻Ö䃖erĀBP๋Āar๐๓r;怾acĀek๚;揞et;掴arenthesis;揜ҀacfhilorsງຊຏຒດຝະrtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ檻cedesȀ;EST່້扺qual;檯lantEqual;扼ilde;找me;怳Ādpuct;戏ortionĀ;aȥl;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL憒ar;懥eftArrow;懄eiling;按oǵ\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄቕቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHcቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗ĀeiቻDzኀ\0ኇefore;戴a;䎘ĀcnኘkSpace;쀀 Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtèa;䎖r;愨pf;愤cr;쀀𝒵ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒;Eaeiopᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;eᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;eᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰᝃᝈ០៦ᠹᡐᜍ᥈ᥰot;櫭ĀcrᛶkȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;tbrk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯᝳ;䎲;愶een;扬r;쀀𝔟gcostuvwឍឝឳេ៕៛ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀakoᠦᠵĀcn៲ᠣkƀlst֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ;敛;敘;攘;攔;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģbar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;elƀ;bhᥨᥩᥫ䁜;槅sub;柈ŬᥴlĀ;e怢t»pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭒\0᯽\0ᰌƀcprᦲute;䄇̀;abcdsᦿᧀᧄ᧕᧙戩nd;橄rcup;橉Āau᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r;Ecefms᩠ᩢᩫ᪤᪪旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ\0\0aĀ;t䀬;䁀ƀ;fl戁îᅠeĀmxent»eóɍǧ\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯delprvw᭠᭬᭷ᮂᮬᯔarrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;pᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰻᰿ᱝᱩᱵᲞᲬᲷᴍᵻᶑᶫᶻ᷆᷍ròar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂᳖᳜᳠mƀ;oș᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄĀDoḆᴴoôĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»ṺƀaeiἒἚls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧\0耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₥₰₴⃰℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽ƀ;qsؾٌlanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqrⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0proør;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼ròòΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonóquigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roøurĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨íistĀ;sடr;쀀𝔫ȀEest⩦⩹⩼ƀ;qs⩭ƀ;qs⩴lanôií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast⭕⭚⭟lleìl;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖchimpqu⮽⯍⯙⬄⯤⯯Ȁ;cerല⯆ഷ⯉uå;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭ååഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñĀ;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;cⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācrir;榿;쀀𝔬ͯ\0\0\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕⶥⶨrò᪀Āirⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔǒr;榷rp;榹;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ\0\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ脀¶;l䂶leìЃɩ\0\0m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳ᤈ⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t⾴ïrel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⋢⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔ABHabcdefhilmnoprstuxけさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstwガクシスゼゾダッデナp;極Ā;fゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ìâヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘rrowĀ;tㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowóarpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓ròaòՑ;怏oustĀ;a㈞掱che»mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì耻䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;qኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫwar;椪lig耻ß䃟㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rëƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproøim»ኬsðኞĀas㚺㚮ðrn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈadempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xôheadĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roðtré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜtré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map((e=>e.charCodeAt(0)))),Zg=new Uint16Array("Ȁaglq\tɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map((e=>e.charCodeAt(0))));const Xg=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),Jg=null!==(Yg=String.fromCodePoint)&&void 0!==Yg?Yg:function(e){let t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e),t+=String.fromCharCode(e),t};var Qg,em,tm,nm;function rm(e){return e>=Qg.ZERO&&e<=Qg.NINE}function im(e){return e>=Qg.UPPER_A&&e<=Qg.UPPER_F||e>=Qg.LOWER_A&&e<=Qg.LOWER_F}function om(e){return e===Qg.EQUALS||function(e){return e>=Qg.UPPER_A&&e<=Qg.UPPER_Z||e>=Qg.LOWER_A&&e<=Qg.LOWER_Z||rm(e)}(e)}!function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z"}(Qg||(Qg={})),function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"}(em||(em={})),function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"}(tm||(tm={})),function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"}(nm||(nm={}));class am{constructor(e,t,n){this.decodeTree=e,this.emitCodePoint=t,this.errors=n,this.state=tm.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=nm.Strict}startEntity(e){this.decodeMode=e,this.state=tm.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(e,t){switch(this.state){case tm.EntityStart:return e.charCodeAt(t)===Qg.NUM?(this.state=tm.NumericStart,this.consumed+=1,this.stateNumericStart(e,t+1)):(this.state=tm.NamedEntity,this.stateNamedEntity(e,t));case tm.NumericStart:return this.stateNumericStart(e,t);case tm.NumericDecimal:return this.stateNumericDecimal(e,t);case tm.NumericHex:return this.stateNumericHex(e,t);case tm.NamedEntity:return this.stateNamedEntity(e,t)}}stateNumericStart(e,t){return t>=e.length?-1:(32|e.charCodeAt(t))===Qg.LOWER_X?(this.state=tm.NumericHex,this.consumed+=1,this.stateNumericHex(e,t+1)):(this.state=tm.NumericDecimal,this.stateNumericDecimal(e,t))}addToNumericResult(e,t,n,r){if(t!==n){const i=n-t;this.result=this.result*Math.pow(r,i)+parseInt(e.substr(t,i),r),this.consumed+=i}}stateNumericHex(e,t){const n=t;for(;t<e.length;){const r=e.charCodeAt(t);if(!rm(r)&&!im(r))return this.addToNumericResult(e,n,t,16),this.emitNumericEntity(r,3);t+=1}return this.addToNumericResult(e,n,t,16),-1}stateNumericDecimal(e,t){const n=t;for(;t<e.length;){const r=e.charCodeAt(t);if(!rm(r))return this.addToNumericResult(e,n,t,10),this.emitNumericEntity(r,2);t+=1}return this.addToNumericResult(e,n,t,10),-1}emitNumericEntity(e,t){var n;if(this.consumed<=t)return null===(n=this.errors)||void 0===n||n.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(e===Qg.SEMI)this.consumed+=1;else if(this.decodeMode===nm.Strict)return 0;return this.emitCodePoint(function(e){var t;return e>=55296&&e<=57343||e>1114111?65533:null!==(t=Xg.get(e))&&void 0!==t?t:e}(this.result),this.consumed),this.errors&&(e!==Qg.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(e,t){const{decodeTree:n}=this;let r=n[this.treeIndex],i=(r&em.VALUE_LENGTH)>>14;for(;t<e.length;t++,this.excess++){const o=e.charCodeAt(t);if(this.treeIndex=lm(n,r,this.treeIndex+Math.max(1,i),o),this.treeIndex<0)return 0===this.result||this.decodeMode===nm.Attribute&&(0===i||om(o))?0:this.emitNotTerminatedNamedEntity();if(r=n[this.treeIndex],i=(r&em.VALUE_LENGTH)>>14,0!==i){if(o===Qg.SEMI)return this.emitNamedEntityData(this.treeIndex,i,this.consumed+this.excess);this.decodeMode!==nm.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var e;const{result:t,decodeTree:n}=this,r=(n[t]&em.VALUE_LENGTH)>>14;return this.emitNamedEntityData(t,r,this.consumed),null===(e=this.errors)||void 0===e||e.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(e,t,n){const{decodeTree:r}=this;return this.emitCodePoint(1===t?r[e]&~em.VALUE_LENGTH:r[e+1],n),3===t&&this.emitCodePoint(r[e+2],n),n}end(){var e;switch(this.state){case tm.NamedEntity:return 0===this.result||this.decodeMode===nm.Attribute&&this.result!==this.treeIndex?0:this.emitNotTerminatedNamedEntity();case tm.NumericDecimal:return this.emitNumericEntity(0,2);case tm.NumericHex:return this.emitNumericEntity(0,3);case tm.NumericStart:return null===(e=this.errors)||void 0===e||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case tm.EntityStart:return 0}}}function sm(e){let t="";const n=new am(e,(e=>t+=Jg(e)));return function(e,r){let i=0,o=0;for(;(o=e.indexOf("&",o))>=0;){t+=e.slice(i,o),n.startEntity(r);const a=n.write(e,o+1);if(a<0){i=o+n.end();break}i=o+a,o=0===a?i+1:i}const a=t+e.slice(i);return t="",a}}function lm(e,t,n,r){const i=(t&em.BRANCH_LENGTH)>>7,o=t&em.JUMP_TABLE;if(0===i)return 0!==o&&r===o?n:-1;if(o){const t=r-o;return t<0||t>=i?-1:e[n+t]-1}let a=n,s=a+i-1;for(;a<=s;){const t=a+s>>>1,n=e[t];if(n<r)a=t+1;else{if(!(n>r))return e[t+i];s=t-1}}return-1}const cm=sm(Kg);function um(e,t=nm.Legacy){return cm(e,t)}function dm(e){return"[object String]"===function(e){return Object.prototype.toString.call(e)}(e)}sm(Zg);const fm=Object.prototype.hasOwnProperty;function hm(e){return Array.prototype.slice.call(arguments,1).forEach((function(t){if(t){if("object"!=typeof t)throw new TypeError(t+"must be object");Object.keys(t).forEach((function(n){e[n]=t[n]}))}})),e}function pm(e,t,n){return[].concat(e.slice(0,t),n,e.slice(t+1))}function gm(e){return!(e>=55296&&e<=57343||e>=64976&&e<=65007||!(65535&~e&&65534!=(65535&e))||e>=0&&e<=8||11===e||e>=14&&e<=31||e>=127&&e<=159||e>1114111)}function mm(e){if(e>65535){const t=55296+((e-=65536)>>10),n=56320+(1023&e);return String.fromCharCode(t,n)}return String.fromCharCode(e)}const vm=/\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g,bm=new RegExp(vm.source+"|"+/&([a-z#][a-z0-9]{1,31});/gi.source,"gi"),ym=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;function _m(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(bm,(function(e,t,n){return t||function(e,t){if(35===t.charCodeAt(0)&&ym.test(t)){const n="x"===t[1].toLowerCase()?parseInt(t.slice(2),16):parseInt(t.slice(1),10);return gm(n)?mm(n):e}const n=um(e);return n!==e?n:e}(e,n)}))}const wm=/[&<>"]/,xm=/[&<>"]/g,km={"&":"&","<":"<",">":">",'"':"""};function Cm(e){return km[e]}function Sm(e){return wm.test(e)?e.replace(xm,Cm):e}const Am=/[.?*+^$[\]\\(){}|-]/g;function Em(e){switch(e){case 9:case 32:return!0}return!1}function Tm(e){if(e>=8192&&e<=8202)return!0;switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}function Mm(e){return Ug.test(e)||Wg.test(e)}function Lm(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function Dm(e){return e=e.trim().replace(/\s+/g," "),"Ṿ"==="ẞ".toLowerCase()&&(e=e.replace(/ẞ/g,"ß")),e.toLowerCase().toUpperCase()}const Nm={mdurl:$g,ucmicro:Gg};var Om=Object.freeze({__proto__:null,arrayReplaceAt:pm,assign:hm,escapeHtml:Sm,escapeRE:function(e){return e.replace(Am,"\\$&")},fromCodePoint:mm,has:function(e,t){return fm.call(e,t)},isMdAsciiPunct:Lm,isPunctChar:Mm,isSpace:Em,isString:dm,isValidEntityCode:gm,isWhiteSpace:Tm,lib:Nm,normalizeReference:Dm,unescapeAll:_m,unescapeMd:function(e){return e.indexOf("\\")<0?e:e.replace(vm,"$1")}}),Fm=Object.freeze({__proto__:null,parseLinkDestination:function(e,t,n){let r,i=t;const o={ok:!1,pos:0,str:""};if(60===e.charCodeAt(i)){for(i++;i<n;){if(r=e.charCodeAt(i),10===r)return o;if(60===r)return o;if(62===r)return o.pos=i+1,o.str=_m(e.slice(t+1,i)),o.ok=!0,o;92===r&&i+1<n?i+=2:i++}return o}let a=0;for(;i<n&&(r=e.charCodeAt(i),32!==r)&&!(r<32||127===r);)if(92===r&&i+1<n){if(32===e.charCodeAt(i+1))break;i+=2}else{if(40===r&&(a++,a>32))return o;if(41===r){if(0===a)break;a--}i++}return t===i||0!==a||(o.str=_m(e.slice(t,i)),o.pos=i,o.ok=!0),o},parseLinkLabel:function(e,t,n){let r,i,o,a;const s=e.posMax,l=e.pos;for(e.pos=t+1,r=1;e.pos<s;){if(o=e.src.charCodeAt(e.pos),93===o&&(r--,0===r)){i=!0;break}if(a=e.pos,e.md.inline.skipToken(e),91===o)if(a===e.pos-1)r++;else if(n)return e.pos=l,-1}let c=-1;return i&&(c=e.pos),e.pos=l,c},parseLinkTitle:function(e,t,n,r){let i,o=t;const a={ok:!1,can_continue:!1,pos:0,str:"",marker:0};if(r)a.str=r.str,a.marker=r.marker;else{if(o>=n)return a;let r=e.charCodeAt(o);if(34!==r&&39!==r&&40!==r)return a;t++,o++,40===r&&(r=41),a.marker=r}for(;o<n;){if(i=e.charCodeAt(o),i===a.marker)return a.pos=o+1,a.str+=_m(e.slice(t,o)),a.ok=!0,a;if(40===i&&41===a.marker)return a;92===i&&o+1<n&&o++,o++}return a.can_continue=!0,a.str+=_m(e.slice(t,o)),a}});const Rm={};function Im(){this.rules=hm({},Rm)}function zm(){this.__rules__=[],this.__cache__=null}function Pm(e,t,n){this.type=e,this.tag=t,this.attrs=null,this.map=null,this.nesting=n,this.level=0,this.children=null,this.content="",this.markup="",this.info="",this.meta=null,this.block=!1,this.hidden=!1}function Bm(e,t,n){this.src=e,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=t}Rm.code_inline=function(e,t,n,r,i){const o=e[t];return"<code"+i.renderAttrs(o)+">"+Sm(o.content)+"</code>"},Rm.code_block=function(e,t,n,r,i){const o=e[t];return"<pre"+i.renderAttrs(o)+"><code>"+Sm(e[t].content)+"</code></pre>\n"},Rm.fence=function(e,t,n,r,i){const o=e[t],a=o.info?_m(o.info).trim():"";let s,l="",c="";if(a){const e=a.split(/(\s+)/g);l=e[0],c=e.slice(2).join("")}if(s=n.highlight&&n.highlight(o.content,l,c)||Sm(o.content),0===s.indexOf("<pre"))return s+"\n";if(a){const e=o.attrIndex("class"),t=o.attrs?o.attrs.slice():[];e<0?t.push(["class",n.langPrefix+l]):(t[e]=t[e].slice(),t[e][1]+=" "+n.langPrefix+l);const r={attrs:t};return`<pre><code${i.renderAttrs(r)}>${s}</code></pre>\n`}return`<pre><code${i.renderAttrs(o)}>${s}</code></pre>\n`},Rm.image=function(e,t,n,r,i){const o=e[t];return o.attrs[o.attrIndex("alt")][1]=i.renderInlineAsText(o.children,n,r),i.renderToken(e,t,n)},Rm.hardbreak=function(e,t,n){return n.xhtmlOut?"<br />\n":"<br>\n"},Rm.softbreak=function(e,t,n){return n.breaks?n.xhtmlOut?"<br />\n":"<br>\n":"\n"},Rm.text=function(e,t){return Sm(e[t].content)},Rm.html_block=function(e,t){return e[t].content},Rm.html_inline=function(e,t){return e[t].content},Im.prototype.renderAttrs=function(e){let t,n,r;if(!e.attrs)return"";for(r="",t=0,n=e.attrs.length;t<n;t++)r+=" "+Sm(e.attrs[t][0])+'="'+Sm(e.attrs[t][1])+'"';return r},Im.prototype.renderToken=function(e,t,n){const r=e[t];let i="";if(r.hidden)return"";r.block&&-1!==r.nesting&&t&&e[t-1].hidden&&(i+="\n"),i+=(-1===r.nesting?"</":"<")+r.tag,i+=this.renderAttrs(r),0===r.nesting&&n.xhtmlOut&&(i+=" /");let o=!1;if(r.block&&(o=!0,1===r.nesting&&t+1<e.length)){const n=e[t+1];("inline"===n.type||n.hidden||-1===n.nesting&&n.tag===r.tag)&&(o=!1)}return i+=o?">\n":">",i},Im.prototype.renderInline=function(e,t,n){let r="";const i=this.rules;for(let o=0,a=e.length;o<a;o++){const a=e[o].type;void 0!==i[a]?r+=i[a](e,o,t,n,this):r+=this.renderToken(e,o,t)}return r},Im.prototype.renderInlineAsText=function(e,t,n){let r="";for(let i=0,o=e.length;i<o;i++)switch(e[i].type){case"text":case"html_inline":case"html_block":r+=e[i].content;break;case"image":r+=this.renderInlineAsText(e[i].children,t,n);break;case"softbreak":case"hardbreak":r+="\n"}return r},Im.prototype.render=function(e,t,n){let r="";const i=this.rules;for(let o=0,a=e.length;o<a;o++){const a=e[o].type;"inline"===a?r+=this.renderInline(e[o].children,t,n):void 0!==i[a]?r+=i[a](e,o,t,n,this):r+=this.renderToken(e,o,t,n)}return r},zm.prototype.__find__=function(e){for(let t=0;t<this.__rules__.length;t++)if(this.__rules__[t].name===e)return t;return-1},zm.prototype.__compile__=function(){const e=this,t=[""];e.__rules__.forEach((function(e){e.enabled&&e.alt.forEach((function(e){t.indexOf(e)<0&&t.push(e)}))})),e.__cache__={},t.forEach((function(t){e.__cache__[t]=[],e.__rules__.forEach((function(n){n.enabled&&(t&&n.alt.indexOf(t)<0||e.__cache__[t].push(n.fn))}))}))},zm.prototype.at=function(e,t,n){const r=this.__find__(e),i=n||{};if(-1===r)throw new Error("Parser rule not found: "+e);this.__rules__[r].fn=t,this.__rules__[r].alt=i.alt||[],this.__cache__=null},zm.prototype.before=function(e,t,n,r){const i=this.__find__(e),o=r||{};if(-1===i)throw new Error("Parser rule not found: "+e);this.__rules__.splice(i,0,{name:t,enabled:!0,fn:n,alt:o.alt||[]}),this.__cache__=null},zm.prototype.after=function(e,t,n,r){const i=this.__find__(e),o=r||{};if(-1===i)throw new Error("Parser rule not found: "+e);this.__rules__.splice(i+1,0,{name:t,enabled:!0,fn:n,alt:o.alt||[]}),this.__cache__=null},zm.prototype.push=function(e,t,n){const r=n||{};this.__rules__.push({name:e,enabled:!0,fn:t,alt:r.alt||[]}),this.__cache__=null},zm.prototype.enable=function(e,t){Array.isArray(e)||(e=[e]);const n=[];return e.forEach((function(e){const r=this.__find__(e);if(r<0){if(t)return;throw new Error("Rules manager: invalid rule name "+e)}this.__rules__[r].enabled=!0,n.push(e)}),this),this.__cache__=null,n},zm.prototype.enableOnly=function(e,t){Array.isArray(e)||(e=[e]),this.__rules__.forEach((function(e){e.enabled=!1})),this.enable(e,t)},zm.prototype.disable=function(e,t){Array.isArray(e)||(e=[e]);const n=[];return e.forEach((function(e){const r=this.__find__(e);if(r<0){if(t)return;throw new Error("Rules manager: invalid rule name "+e)}this.__rules__[r].enabled=!1,n.push(e)}),this),this.__cache__=null,n},zm.prototype.getRules=function(e){return null===this.__cache__&&this.__compile__(),this.__cache__[e]||[]},Pm.prototype.attrIndex=function(e){if(!this.attrs)return-1;const t=this.attrs;for(let n=0,r=t.length;n<r;n++)if(t[n][0]===e)return n;return-1},Pm.prototype.attrPush=function(e){this.attrs?this.attrs.push(e):this.attrs=[e]},Pm.prototype.attrSet=function(e,t){const n=this.attrIndex(e),r=[e,t];n<0?this.attrPush(r):this.attrs[n]=r},Pm.prototype.attrGet=function(e){const t=this.attrIndex(e);let n=null;return t>=0&&(n=this.attrs[t][1]),n},Pm.prototype.attrJoin=function(e,t){const n=this.attrIndex(e);n<0?this.attrPush([e,t]):this.attrs[n][1]=this.attrs[n][1]+" "+t},Bm.prototype.Token=Pm;const jm=/\r\n?|\n/g,Ym=/\0/g;function $m(e){return/^<\/a\s*>/i.test(e)}const qm=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,Hm=/\((c|tm|r)\)/i,Um=/\((c|tm|r)\)/gi,Wm={c:"©",r:"®",tm:"™"};function Vm(e,t){return Wm[t.toLowerCase()]}function Gm(e){let t=0;for(let n=e.length-1;n>=0;n--){const r=e[n];"text"!==r.type||t||(r.content=r.content.replace(Um,Vm)),"link_open"===r.type&&"auto"===r.info&&t--,"link_close"===r.type&&"auto"===r.info&&t++}}function Km(e){let t=0;for(let n=e.length-1;n>=0;n--){const r=e[n];"text"!==r.type||t||qm.test(r.content)&&(r.content=r.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/gm,"$1—").replace(/(^|\s)--(?=\s|$)/gm,"$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/gm,"$1–")),"link_open"===r.type&&"auto"===r.info&&t--,"link_close"===r.type&&"auto"===r.info&&t++}}const Zm=/['"]/,Xm=/['"]/g;function Jm(e,t,n){return e.slice(0,t)+n+e.slice(t+1)}function Qm(e,t){let n;const r=[];for(let i=0;i<e.length;i++){const o=e[i],a=e[i].level;for(n=r.length-1;n>=0&&!(r[n].level<=a);n--);if(r.length=n+1,"text"!==o.type)continue;let s=o.content,l=0,c=s.length;e:for(;l<c;){Xm.lastIndex=l;const u=Xm.exec(s);if(!u)break;let d=!0,f=!0;l=u.index+1;const h="'"===u[0];let p=32;if(u.index-1>=0)p=s.charCodeAt(u.index-1);else for(n=i-1;n>=0&&"softbreak"!==e[n].type&&"hardbreak"!==e[n].type;n--)if(e[n].content){p=e[n].content.charCodeAt(e[n].content.length-1);break}let g=32;if(l<c)g=s.charCodeAt(l);else for(n=i+1;n<e.length&&"softbreak"!==e[n].type&&"hardbreak"!==e[n].type;n++)if(e[n].content){g=e[n].content.charCodeAt(0);break}const m=Lm(p)||Mm(String.fromCharCode(p)),v=Lm(g)||Mm(String.fromCharCode(g)),b=Tm(p),y=Tm(g);if(y?d=!1:v&&(b||m||(d=!1)),b?f=!1:m&&(y||v||(f=!1)),34===g&&'"'===u[0]&&p>=48&&p<=57&&(f=d=!1),d&&f&&(d=m,f=v),d||f){if(f)for(n=r.length-1;n>=0;n--){let d=r[n];if(r[n].level<a)break;if(d.single===h&&r[n].level===a){let a,f;d=r[n],h?(a=t.md.options.quotes[2],f=t.md.options.quotes[3]):(a=t.md.options.quotes[0],f=t.md.options.quotes[1]),o.content=Jm(o.content,u.index,f),e[d.token].content=Jm(e[d.token].content,d.pos,a),l+=f.length-1,d.token===i&&(l+=a.length-1),s=o.content,c=s.length,r.length=n;continue e}}d?r.push({token:i,pos:u.index,single:h,level:a}):f&&h&&(o.content=Jm(o.content,u.index,"’"))}else h&&(o.content=Jm(o.content,u.index,"’"))}}}const ev=[["normalize",function(e){let t;t=e.src.replace(jm,"\n"),t=t.replace(Ym,"�"),e.src=t}],["block",function(e){let t;e.inlineMode?(t=new e.Token("inline","",0),t.content=e.src,t.map=[0,1],t.children=[],e.tokens.push(t)):e.md.block.parse(e.src,e.md,e.env,e.tokens)}],["inline",function(e){const t=e.tokens;for(let n=0,r=t.length;n<r;n++){const r=t[n];"inline"===r.type&&e.md.inline.parse(r.content,e.md,e.env,r.children)}}],["linkify",function(e){const t=e.tokens;var n;if(e.md.options.linkify)for(let r=0,i=t.length;r<i;r++){if("inline"!==t[r].type||!e.md.linkify.pretest(t[r].content))continue;let i=t[r].children,o=0;for(let a=i.length-1;a>=0;a--){const s=i[a];if("link_close"!==s.type){if("html_inline"===s.type&&(n=s.content,/^<a[>\s]/i.test(n)&&o>0&&o--,$m(s.content)&&o++),!(o>0)&&"text"===s.type&&e.md.linkify.test(s.content)){const n=s.content;let o=e.md.linkify.match(n);const l=[];let c=s.level,u=0;o.length>0&&0===o[0].index&&a>0&&"text_special"===i[a-1].type&&(o=o.slice(1));for(let t=0;t<o.length;t++){const r=o[t].url,i=e.md.normalizeLink(r);if(!e.md.validateLink(i))continue;let a=o[t].text;a=o[t].schema?"mailto:"!==o[t].schema||/^mailto:/i.test(a)?e.md.normalizeLinkText(a):e.md.normalizeLinkText("mailto:"+a).replace(/^mailto:/,""):e.md.normalizeLinkText("http://"+a).replace(/^http:\/\//,"");const s=o[t].index;if(s>u){const t=new e.Token("text","",0);t.content=n.slice(u,s),t.level=c,l.push(t)}const d=new e.Token("link_open","a",1);d.attrs=[["href",i]],d.level=c++,d.markup="linkify",d.info="auto",l.push(d);const f=new e.Token("text","",0);f.content=a,f.level=c,l.push(f);const h=new e.Token("link_close","a",-1);h.level=--c,h.markup="linkify",h.info="auto",l.push(h),u=o[t].lastIndex}if(u<n.length){const t=new e.Token("text","",0);t.content=n.slice(u),t.level=c,l.push(t)}t[r].children=i=pm(i,a,l)}}else for(a--;i[a].level!==s.level&&"link_open"!==i[a].type;)a--}}}],["replacements",function(e){let t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)"inline"===e.tokens[t].type&&(Hm.test(e.tokens[t].content)&&Gm(e.tokens[t].children),qm.test(e.tokens[t].content)&&Km(e.tokens[t].children))}],["smartquotes",function(e){if(e.md.options.typographer)for(let t=e.tokens.length-1;t>=0;t--)"inline"===e.tokens[t].type&&Zm.test(e.tokens[t].content)&&Qm(e.tokens[t].children,e)}],["text_join",function(e){let t,n;const r=e.tokens,i=r.length;for(let e=0;e<i;e++){if("inline"!==r[e].type)continue;const i=r[e].children,o=i.length;for(t=0;t<o;t++)"text_special"===i[t].type&&(i[t].type="text");for(t=n=0;t<o;t++)"text"===i[t].type&&t+1<o&&"text"===i[t+1].type?i[t+1].content=i[t].content+i[t+1].content:(t!==n&&(i[n]=i[t]),n++);t!==n&&(i.length=n)}}]];function tv(){this.ruler=new zm;for(let e=0;e<ev.length;e++)this.ruler.push(ev[e][0],ev[e][1])}function nv(e,t,n,r){this.src=e,this.md=t,this.env=n,this.tokens=r,this.bMarks=[],this.eMarks=[],this.tShift=[],this.sCount=[],this.bsCount=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.ddIndent=-1,this.listIndent=-1,this.parentType="root",this.level=0;const i=this.src;for(let e=0,t=0,n=0,r=0,o=i.length,a=!1;t<o;t++){const s=i.charCodeAt(t);if(!a){if(Em(s)){n++,9===s?r+=4-r%4:r++;continue}a=!0}10!==s&&t!==o-1||(10!==s&&t++,this.bMarks.push(e),this.eMarks.push(t),this.tShift.push(n),this.sCount.push(r),this.bsCount.push(0),a=!1,n=0,r=0,e=t+1)}this.bMarks.push(i.length),this.eMarks.push(i.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}function rv(e,t){const n=e.bMarks[t]+e.tShift[t],r=e.eMarks[t];return e.src.slice(n,r)}function iv(e){const t=[],n=e.length;let r=0,i=e.charCodeAt(r),o=!1,a=0,s="";for(;r<n;)124===i&&(o?(s+=e.substring(a,r-1),a=r):(t.push(s+e.substring(a,r)),s="",a=r+1)),o=92===i,r++,i=e.charCodeAt(r);return t.push(s+e.substring(a)),t}function ov(e,t){const n=e.eMarks[t];let r=e.bMarks[t]+e.tShift[t];const i=e.src.charCodeAt(r++);return 42!==i&&45!==i&&43!==i||r<n&&!Em(e.src.charCodeAt(r))?-1:r}function av(e,t){const n=e.bMarks[t]+e.tShift[t],r=e.eMarks[t];let i=n;if(i+1>=r)return-1;let o=e.src.charCodeAt(i++);if(o<48||o>57)return-1;for(;;){if(i>=r)return-1;if(o=e.src.charCodeAt(i++),!(o>=48&&o<=57)){if(41===o||46===o)break;return-1}if(i-n>=10)return-1}return i<r&&(o=e.src.charCodeAt(i),!Em(o))?-1:i}tv.prototype.process=function(e){const t=this.ruler.getRules("");for(let n=0,r=t.length;n<r;n++)t[n](e)},tv.prototype.State=Bm,nv.prototype.push=function(e,t,n){const r=new Pm(e,t,n);return r.block=!0,n<0&&this.level--,r.level=this.level,n>0&&this.level++,this.tokens.push(r),r},nv.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]},nv.prototype.skipEmptyLines=function(e){for(let t=this.lineMax;e<t&&!(this.bMarks[e]+this.tShift[e]<this.eMarks[e]);e++);return e},nv.prototype.skipSpaces=function(e){for(let t=this.src.length;e<t&&Em(this.src.charCodeAt(e));e++);return e},nv.prototype.skipSpacesBack=function(e,t){if(e<=t)return e;for(;e>t;)if(!Em(this.src.charCodeAt(--e)))return e+1;return e},nv.prototype.skipChars=function(e,t){for(let n=this.src.length;e<n&&this.src.charCodeAt(e)===t;e++);return e},nv.prototype.skipCharsBack=function(e,t,n){if(e<=n)return e;for(;e>n;)if(t!==this.src.charCodeAt(--e))return e+1;return e},nv.prototype.getLines=function(e,t,n,r){if(e>=t)return"";const i=new Array(t-e);for(let o=0,a=e;a<t;a++,o++){let e=0;const s=this.bMarks[a];let l,c=s;for(l=a+1<t||r?this.eMarks[a]+1:this.eMarks[a];c<l&&e<n;){const t=this.src.charCodeAt(c);if(Em(t))9===t?e+=4-(e+this.bsCount[a])%4:e++;else{if(!(c-s<this.tShift[a]))break;e++}c++}i[o]=e>n?new Array(e-n+1).join(" ")+this.src.slice(c,l):this.src.slice(c,l)}return i.join("")},nv.prototype.Token=Pm;const sv="<[A-Za-z][A-Za-z0-9\\-]*(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^\"'=<>`\\x00-\\x20]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",lv="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",cv=new RegExp("^(?:"+sv+"|"+lv+"|\x3c!---?>|\x3c!--(?:[^-]|-[^-]|--[^>])*--\x3e|<[?][\\s\\S]*?[?]>|<![A-Za-z][^>]*>|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>)"),uv=new RegExp("^(?:"+sv+"|"+lv+")"),dv=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"].join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(uv.source+"\\s*$"),/^$/,!1]],fv=[["table",function(e,t,n,r){if(t+2>n)return!1;let i=t+1;if(e.sCount[i]<e.blkIndent)return!1;if(e.sCount[i]-e.blkIndent>=4)return!1;let o=e.bMarks[i]+e.tShift[i];if(o>=e.eMarks[i])return!1;const a=e.src.charCodeAt(o++);if(124!==a&&45!==a&&58!==a)return!1;if(o>=e.eMarks[i])return!1;const s=e.src.charCodeAt(o++);if(124!==s&&45!==s&&58!==s&&!Em(s))return!1;if(45===a&&Em(s))return!1;for(;o<e.eMarks[i];){const t=e.src.charCodeAt(o);if(124!==t&&45!==t&&58!==t&&!Em(t))return!1;o++}let l=rv(e,t+1),c=l.split("|");const u=[];for(let e=0;e<c.length;e++){const t=c[e].trim();if(!t){if(0===e||e===c.length-1)continue;return!1}if(!/^:?-+:?$/.test(t))return!1;58===t.charCodeAt(t.length-1)?u.push(58===t.charCodeAt(0)?"center":"right"):58===t.charCodeAt(0)?u.push("left"):u.push("")}if(l=rv(e,t).trim(),-1===l.indexOf("|"))return!1;if(e.sCount[t]-e.blkIndent>=4)return!1;c=iv(l),c.length&&""===c[0]&&c.shift(),c.length&&""===c[c.length-1]&&c.pop();const d=c.length;if(0===d||d!==u.length)return!1;if(r)return!0;const f=e.parentType;e.parentType="table";const h=e.md.block.ruler.getRules("blockquote"),p=[t,0];e.push("table_open","table",1).map=p,e.push("thead_open","thead",1).map=[t,t+1],e.push("tr_open","tr",1).map=[t,t+1];for(let t=0;t<c.length;t++){const n=e.push("th_open","th",1);u[t]&&(n.attrs=[["style","text-align:"+u[t]]]);const r=e.push("inline","",0);r.content=c[t].trim(),r.children=[],e.push("th_close","th",-1)}let g;e.push("tr_close","tr",-1),e.push("thead_close","thead",-1);let m=0;for(i=t+2;i<n&&!(e.sCount[i]<e.blkIndent);i++){let r=!1;for(let t=0,o=h.length;t<o;t++)if(h[t](e,i,n,!0)){r=!0;break}if(r)break;if(l=rv(e,i).trim(),!l)break;if(e.sCount[i]-e.blkIndent>=4)break;if(c=iv(l),c.length&&""===c[0]&&c.shift(),c.length&&""===c[c.length-1]&&c.pop(),m+=d-c.length,m>65536)break;i===t+2&&(e.push("tbody_open","tbody",1).map=g=[t+2,0]),e.push("tr_open","tr",1).map=[i,i+1];for(let t=0;t<d;t++){const n=e.push("td_open","td",1);u[t]&&(n.attrs=[["style","text-align:"+u[t]]]);const r=e.push("inline","",0);r.content=c[t]?c[t].trim():"",r.children=[],e.push("td_close","td",-1)}e.push("tr_close","tr",-1)}return g&&(e.push("tbody_close","tbody",-1),g[1]=i),e.push("table_close","table",-1),p[1]=i,e.parentType=f,e.line=i,!0},["paragraph","reference"]],["code",function(e,t,n){if(e.sCount[t]-e.blkIndent<4)return!1;let r=t+1,i=r;for(;r<n;)if(e.isEmpty(r))r++;else{if(!(e.sCount[r]-e.blkIndent>=4))break;r++,i=r}e.line=i;const o=e.push("code_block","code",0);return o.content=e.getLines(t,i,4+e.blkIndent,!1)+"\n",o.map=[t,e.line],!0}],["fence",function(e,t,n,r){let i=e.bMarks[t]+e.tShift[t],o=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(i+3>o)return!1;const a=e.src.charCodeAt(i);if(126!==a&&96!==a)return!1;let s=i;i=e.skipChars(i,a);let l=i-s;if(l<3)return!1;const c=e.src.slice(s,i),u=e.src.slice(i,o);if(96===a&&u.indexOf(String.fromCharCode(a))>=0)return!1;if(r)return!0;let d=t,f=!1;for(;!(d++,d>=n||(i=s=e.bMarks[d]+e.tShift[d],o=e.eMarks[d],i<o&&e.sCount[d]<e.blkIndent));)if(e.src.charCodeAt(i)===a&&!(e.sCount[d]-e.blkIndent>=4||(i=e.skipChars(i,a),i-s<l||(i=e.skipSpaces(i),i<o)))){f=!0;break}l=e.sCount[t],e.line=d+(f?1:0);const h=e.push("fence","code",0);return h.info=u,h.content=e.getLines(t+1,d,l,!0),h.markup=c,h.map=[t,e.line],!0},["paragraph","reference","blockquote","list"]],["blockquote",function(e,t,n,r){let i=e.bMarks[t]+e.tShift[t],o=e.eMarks[t];const a=e.lineMax;if(e.sCount[t]-e.blkIndent>=4)return!1;if(62!==e.src.charCodeAt(i))return!1;if(r)return!0;const s=[],l=[],c=[],u=[],d=e.md.block.ruler.getRules("blockquote"),f=e.parentType;e.parentType="blockquote";let h,p=!1;for(h=t;h<n;h++){const t=e.sCount[h]<e.blkIndent;if(i=e.bMarks[h]+e.tShift[h],o=e.eMarks[h],i>=o)break;if(62===e.src.charCodeAt(i++)&&!t){let t,n,r=e.sCount[h]+1;32===e.src.charCodeAt(i)?(i++,r++,n=!1,t=!0):9===e.src.charCodeAt(i)?(t=!0,(e.bsCount[h]+r)%4==3?(i++,r++,n=!1):n=!0):t=!1;let a=r;for(s.push(e.bMarks[h]),e.bMarks[h]=i;i<o;){const t=e.src.charCodeAt(i);if(!Em(t))break;9===t?a+=4-(a+e.bsCount[h]+(n?1:0))%4:a++,i++}p=i>=o,l.push(e.bsCount[h]),e.bsCount[h]=e.sCount[h]+1+(t?1:0),c.push(e.sCount[h]),e.sCount[h]=a-r,u.push(e.tShift[h]),e.tShift[h]=i-e.bMarks[h];continue}if(p)break;let r=!1;for(let t=0,i=d.length;t<i;t++)if(d[t](e,h,n,!0)){r=!0;break}if(r){e.lineMax=h,0!==e.blkIndent&&(s.push(e.bMarks[h]),l.push(e.bsCount[h]),u.push(e.tShift[h]),c.push(e.sCount[h]),e.sCount[h]-=e.blkIndent);break}s.push(e.bMarks[h]),l.push(e.bsCount[h]),u.push(e.tShift[h]),c.push(e.sCount[h]),e.sCount[h]=-1}const g=e.blkIndent;e.blkIndent=0;const m=e.push("blockquote_open","blockquote",1);m.markup=">";const v=[t,0];m.map=v,e.md.block.tokenize(e,t,h),e.push("blockquote_close","blockquote",-1).markup=">",e.lineMax=a,e.parentType=f,v[1]=e.line;for(let n=0;n<u.length;n++)e.bMarks[n+t]=s[n],e.tShift[n+t]=u[n],e.sCount[n+t]=c[n],e.bsCount[n+t]=l[n];return e.blkIndent=g,!0},["paragraph","reference","blockquote","list"]],["hr",function(e,t,n,r){const i=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;let o=e.bMarks[t]+e.tShift[t];const a=e.src.charCodeAt(o++);if(42!==a&&45!==a&&95!==a)return!1;let s=1;for(;o<i;){const t=e.src.charCodeAt(o++);if(t!==a&&!Em(t))return!1;t===a&&s++}if(s<3)return!1;if(r)return!0;e.line=t+1;const l=e.push("hr","hr",0);return l.map=[t,e.line],l.markup=Array(s+1).join(String.fromCharCode(a)),!0},["paragraph","reference","blockquote","list"]],["list",function(e,t,n,r){let i,o,a,s,l=t,c=!0;if(e.sCount[l]-e.blkIndent>=4)return!1;if(e.listIndent>=0&&e.sCount[l]-e.listIndent>=4&&e.sCount[l]<e.blkIndent)return!1;let u,d,f,h=!1;if(r&&"paragraph"===e.parentType&&e.sCount[l]>=e.blkIndent&&(h=!0),(f=av(e,l))>=0){if(u=!0,a=e.bMarks[l]+e.tShift[l],d=Number(e.src.slice(a,f-1)),h&&1!==d)return!1}else{if(!((f=ov(e,l))>=0))return!1;u=!1}if(h&&e.skipSpaces(f)>=e.eMarks[l])return!1;if(r)return!0;const p=e.src.charCodeAt(f-1),g=e.tokens.length;u?(s=e.push("ordered_list_open","ol",1),1!==d&&(s.attrs=[["start",d]])):s=e.push("bullet_list_open","ul",1);const m=[l,0];s.map=m,s.markup=String.fromCharCode(p);let v=!1;const b=e.md.block.ruler.getRules("list"),y=e.parentType;for(e.parentType="list";l<n;){o=f,i=e.eMarks[l];const t=e.sCount[l]+f-(e.bMarks[l]+e.tShift[l]);let r=t;for(;o<i;){const t=e.src.charCodeAt(o);if(9===t)r+=4-(r+e.bsCount[l])%4;else{if(32!==t)break;r++}o++}const d=o;let h;h=d>=i?1:r-t,h>4&&(h=1);const g=t+h;s=e.push("list_item_open","li",1),s.markup=String.fromCharCode(p);const m=[l,0];s.map=m,u&&(s.info=e.src.slice(a,f-1));const y=e.tight,_=e.tShift[l],w=e.sCount[l],x=e.listIndent;if(e.listIndent=e.blkIndent,e.blkIndent=g,e.tight=!0,e.tShift[l]=d-e.bMarks[l],e.sCount[l]=r,d>=i&&e.isEmpty(l+1)?e.line=Math.min(e.line+2,n):e.md.block.tokenize(e,l,n,!0),e.tight&&!v||(c=!1),v=e.line-l>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=x,e.tShift[l]=_,e.sCount[l]=w,e.tight=y,s=e.push("list_item_close","li",-1),s.markup=String.fromCharCode(p),l=e.line,m[1]=l,l>=n)break;if(e.sCount[l]<e.blkIndent)break;if(e.sCount[l]-e.blkIndent>=4)break;let k=!1;for(let t=0,r=b.length;t<r;t++)if(b[t](e,l,n,!0)){k=!0;break}if(k)break;if(u){if(f=av(e,l),f<0)break;a=e.bMarks[l]+e.tShift[l]}else if(f=ov(e,l),f<0)break;if(p!==e.src.charCodeAt(f-1))break}return s=u?e.push("ordered_list_close","ol",-1):e.push("bullet_list_close","ul",-1),s.markup=String.fromCharCode(p),m[1]=l,e.line=l,e.parentType=y,c&&function(e,t){const n=e.level+2;for(let r=t+2,i=e.tokens.length-2;r<i;r++)e.tokens[r].level===n&&"paragraph_open"===e.tokens[r].type&&(e.tokens[r+2].hidden=!0,e.tokens[r].hidden=!0,r+=2)}(e,g),!0},["paragraph","reference","blockquote"]],["reference",function(e,t,n,r){let i=e.bMarks[t]+e.tShift[t],o=e.eMarks[t],a=t+1;if(e.sCount[t]-e.blkIndent>=4)return!1;if(91!==e.src.charCodeAt(i))return!1;function s(t){const n=e.lineMax;if(t>=n||e.isEmpty(t))return null;let r=!1;if(e.sCount[t]-e.blkIndent>3&&(r=!0),e.sCount[t]<0&&(r=!0),!r){const r=e.md.block.ruler.getRules("reference"),i=e.parentType;e.parentType="reference";let o=!1;for(let i=0,a=r.length;i<a;i++)if(r[i](e,t,n,!0)){o=!0;break}if(e.parentType=i,o)return null}const i=e.bMarks[t]+e.tShift[t],o=e.eMarks[t];return e.src.slice(i,o+1)}let l=e.src.slice(i,o+1);o=l.length;let c=-1;for(i=1;i<o;i++){const e=l.charCodeAt(i);if(91===e)return!1;if(93===e){c=i;break}if(10===e){const e=s(a);null!==e&&(l+=e,o=l.length,a++)}else if(92===e&&(i++,i<o&&10===l.charCodeAt(i))){const e=s(a);null!==e&&(l+=e,o=l.length,a++)}}if(c<0||58!==l.charCodeAt(c+1))return!1;for(i=c+2;i<o;i++){const e=l.charCodeAt(i);if(10===e){const e=s(a);null!==e&&(l+=e,o=l.length,a++)}else if(!Em(e))break}const u=e.md.helpers.parseLinkDestination(l,i,o);if(!u.ok)return!1;const d=e.md.normalizeLink(u.str);if(!e.md.validateLink(d))return!1;i=u.pos;const f=i,h=a,p=i;for(;i<o;i++){const e=l.charCodeAt(i);if(10===e){const e=s(a);null!==e&&(l+=e,o=l.length,a++)}else if(!Em(e))break}let g,m=e.md.helpers.parseLinkTitle(l,i,o);for(;m.can_continue;){const t=s(a);if(null===t)break;l+=t,i=o,o=l.length,a++,m=e.md.helpers.parseLinkTitle(l,i,o,m)}for(i<o&&p!==i&&m.ok?(g=m.str,i=m.pos):(g="",i=f,a=h);i<o&&Em(l.charCodeAt(i));)i++;if(i<o&&10!==l.charCodeAt(i)&&g)for(g="",i=f,a=h;i<o&&Em(l.charCodeAt(i));)i++;if(i<o&&10!==l.charCodeAt(i))return!1;const v=Dm(l.slice(1,c));return!!v&&(r||(void 0===e.env.references&&(e.env.references={}),void 0===e.env.references[v]&&(e.env.references[v]={title:g,href:d}),e.line=a),!0)}],["html_block",function(e,t,n,r){let i=e.bMarks[t]+e.tShift[t],o=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(!e.md.options.html)return!1;if(60!==e.src.charCodeAt(i))return!1;let a=e.src.slice(i,o),s=0;for(;s<dv.length&&!dv[s][0].test(a);s++);if(s===dv.length)return!1;if(r)return dv[s][2];let l=t+1;if(!dv[s][1].test(a))for(;l<n&&!(e.sCount[l]<e.blkIndent);l++)if(i=e.bMarks[l]+e.tShift[l],o=e.eMarks[l],a=e.src.slice(i,o),dv[s][1].test(a)){0!==a.length&&l++;break}e.line=l;const c=e.push("html_block","",0);return c.map=[t,l],c.content=e.getLines(t,l,e.blkIndent,!0),!0},["paragraph","reference","blockquote"]],["heading",function(e,t,n,r){let i=e.bMarks[t]+e.tShift[t],o=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;let a=e.src.charCodeAt(i);if(35!==a||i>=o)return!1;let s=1;for(a=e.src.charCodeAt(++i);35===a&&i<o&&s<=6;)s++,a=e.src.charCodeAt(++i);if(s>6||i<o&&!Em(a))return!1;if(r)return!0;o=e.skipSpacesBack(o,i);const l=e.skipCharsBack(o,35,i);l>i&&Em(e.src.charCodeAt(l-1))&&(o=l),e.line=t+1;const c=e.push("heading_open","h"+String(s),1);c.markup="########".slice(0,s),c.map=[t,e.line];const u=e.push("inline","",0);return u.content=e.src.slice(i,o).trim(),u.map=[t,e.line],u.children=[],e.push("heading_close","h"+String(s),-1).markup="########".slice(0,s),!0},["paragraph","reference","blockquote"]],["lheading",function(e,t,n){const r=e.md.block.ruler.getRules("paragraph");if(e.sCount[t]-e.blkIndent>=4)return!1;const i=e.parentType;e.parentType="paragraph";let o,a=0,s=t+1;for(;s<n&&!e.isEmpty(s);s++){if(e.sCount[s]-e.blkIndent>3)continue;if(e.sCount[s]>=e.blkIndent){let t=e.bMarks[s]+e.tShift[s];const n=e.eMarks[s];if(t<n&&(o=e.src.charCodeAt(t),(45===o||61===o)&&(t=e.skipChars(t,o),t=e.skipSpaces(t),t>=n))){a=61===o?1:2;break}}if(e.sCount[s]<0)continue;let t=!1;for(let i=0,o=r.length;i<o;i++)if(r[i](e,s,n,!0)){t=!0;break}if(t)break}if(!a)return!1;const l=e.getLines(t,s,e.blkIndent,!1).trim();e.line=s+1;const c=e.push("heading_open","h"+String(a),1);c.markup=String.fromCharCode(o),c.map=[t,e.line];const u=e.push("inline","",0);return u.content=l,u.map=[t,e.line-1],u.children=[],e.push("heading_close","h"+String(a),-1).markup=String.fromCharCode(o),e.parentType=i,!0}],["paragraph",function(e,t,n){const r=e.md.block.ruler.getRules("paragraph"),i=e.parentType;let o=t+1;for(e.parentType="paragraph";o<n&&!e.isEmpty(o);o++){if(e.sCount[o]-e.blkIndent>3)continue;if(e.sCount[o]<0)continue;let t=!1;for(let i=0,a=r.length;i<a;i++)if(r[i](e,o,n,!0)){t=!0;break}if(t)break}const a=e.getLines(t,o,e.blkIndent,!1).trim();e.line=o,e.push("paragraph_open","p",1).map=[t,e.line];const s=e.push("inline","",0);return s.content=a,s.map=[t,e.line],s.children=[],e.push("paragraph_close","p",-1),e.parentType=i,!0}]];function hv(){this.ruler=new zm;for(let e=0;e<fv.length;e++)this.ruler.push(fv[e][0],fv[e][1],{alt:(fv[e][2]||[]).slice()})}function pv(e,t,n,r){this.src=e,this.env=n,this.md=t,this.tokens=r,this.tokens_meta=Array(r.length),this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache={},this.delimiters=[],this._prev_delimiters=[],this.backticks={},this.backticksScanned=!1,this.linkLevel=0}function gv(e){switch(e){case 10:case 33:case 35:case 36:case 37:case 38:case 42:case 43:case 45:case 58:case 60:case 61:case 62:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 125:case 126:return!0;default:return!1}}hv.prototype.tokenize=function(e,t,n){const r=this.ruler.getRules(""),i=r.length,o=e.md.options.maxNesting;let a=t,s=!1;for(;a<n&&(e.line=a=e.skipEmptyLines(a),!(a>=n))&&!(e.sCount[a]<e.blkIndent);){if(e.level>=o){e.line=n;break}const t=e.line;let l=!1;for(let o=0;o<i;o++)if(l=r[o](e,a,n,!1),l){if(t>=e.line)throw new Error("block rule didn't increment state.line");break}if(!l)throw new Error("none of the block rules matched");e.tight=!s,e.isEmpty(e.line-1)&&(s=!0),a=e.line,a<n&&e.isEmpty(a)&&(s=!0,a++,e.line=a)}},hv.prototype.parse=function(e,t,n,r){if(!e)return;const i=new this.State(e,t,n,r);this.tokenize(i,i.line,i.lineMax)},hv.prototype.State=nv,pv.prototype.pushPending=function(){const e=new Pm("text","",0);return e.content=this.pending,e.level=this.pendingLevel,this.tokens.push(e),this.pending="",e},pv.prototype.push=function(e,t,n){this.pending&&this.pushPending();const r=new Pm(e,t,n);let i=null;return n<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()),r.level=this.level,n>0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],i={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(r),this.tokens_meta.push(i),r},pv.prototype.scanDelims=function(e,t){const n=this.posMax,r=this.src.charCodeAt(e),i=e>0?this.src.charCodeAt(e-1):32;let o=e;for(;o<n&&this.src.charCodeAt(o)===r;)o++;const a=o-e,s=o<n?this.src.charCodeAt(o):32,l=Lm(i)||Mm(String.fromCharCode(i)),c=Lm(s)||Mm(String.fromCharCode(s)),u=Tm(i),d=Tm(s),f=!d&&(!c||u||l),h=!u&&(!l||d||c);return{can_open:f&&(t||!h||l),can_close:h&&(t||!f||c),length:a}},pv.prototype.Token=Pm;const mv=/(?:^|[^a-z0-9.+-])([a-z][a-z0-9.+-]*)$/i,vv=[];for(let e=0;e<256;e++)vv.push(0);function bv(e,t){let n;const r=[],i=t.length;for(let o=0;o<i;o++){const i=t[o];if(126!==i.marker)continue;if(-1===i.end)continue;const a=t[i.end];n=e.tokens[i.token],n.type="s_open",n.tag="s",n.nesting=1,n.markup="~~",n.content="",n=e.tokens[a.token],n.type="s_close",n.tag="s",n.nesting=-1,n.markup="~~",n.content="","text"===e.tokens[a.token-1].type&&"~"===e.tokens[a.token-1].content&&r.push(a.token-1)}for(;r.length;){const t=r.pop();let i=t+1;for(;i<e.tokens.length&&"s_close"===e.tokens[i].type;)i++;i--,t!==i&&(n=e.tokens[i],e.tokens[i]=e.tokens[t],e.tokens[t]=n)}}"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach((function(e){vv[e.charCodeAt(0)]=1}));var yv={tokenize:function(e,t){const n=e.pos,r=e.src.charCodeAt(n);if(t)return!1;if(126!==r)return!1;const i=e.scanDelims(e.pos,!0);let o=i.length;const a=String.fromCharCode(r);if(o<2)return!1;let s;o%2&&(s=e.push("text","",0),s.content=a,o--);for(let t=0;t<o;t+=2)s=e.push("text","",0),s.content=a+a,e.delimiters.push({marker:r,length:0,token:e.tokens.length-1,end:-1,open:i.can_open,close:i.can_close});return e.pos+=i.length,!0},postProcess:function(e){const t=e.tokens_meta,n=e.tokens_meta.length;bv(e,e.delimiters);for(let r=0;r<n;r++)t[r]&&t[r].delimiters&&bv(e,t[r].delimiters)}};function _v(e,t){for(let n=t.length-1;n>=0;n--){const r=t[n];if(95!==r.marker&&42!==r.marker)continue;if(-1===r.end)continue;const i=t[r.end],o=n>0&&t[n-1].end===r.end+1&&t[n-1].marker===r.marker&&t[n-1].token===r.token-1&&t[r.end+1].token===i.token+1,a=String.fromCharCode(r.marker),s=e.tokens[r.token];s.type=o?"strong_open":"em_open",s.tag=o?"strong":"em",s.nesting=1,s.markup=o?a+a:a,s.content="";const l=e.tokens[i.token];l.type=o?"strong_close":"em_close",l.tag=o?"strong":"em",l.nesting=-1,l.markup=o?a+a:a,l.content="",o&&(e.tokens[t[n-1].token].content="",e.tokens[t[r.end+1].token].content="",n--)}}var wv={tokenize:function(e,t){const n=e.pos,r=e.src.charCodeAt(n);if(t)return!1;if(95!==r&&42!==r)return!1;const i=e.scanDelims(e.pos,42===r);for(let t=0;t<i.length;t++)e.push("text","",0).content=String.fromCharCode(r),e.delimiters.push({marker:r,length:i.length,token:e.tokens.length-1,end:-1,open:i.can_open,close:i.can_close});return e.pos+=i.length,!0},postProcess:function(e){const t=e.tokens_meta,n=e.tokens_meta.length;_v(e,e.delimiters);for(let r=0;r<n;r++)t[r]&&t[r].delimiters&&_v(e,t[r].delimiters)}};const xv=/^([a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)$/,kv=/^([a-zA-Z][a-zA-Z0-9+.-]{1,31}):([^<>\x00-\x20]*)$/,Cv=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,Sv=/^&([a-z][a-z0-9]{1,31});/i;function Av(e){const t={},n=e.length;if(!n)return;let r=0,i=-2;const o=[];for(let a=0;a<n;a++){const n=e[a];if(o.push(0),e[r].marker===n.marker&&i===n.token-1||(r=a),i=n.token,n.length=n.length||0,!n.close)continue;t.hasOwnProperty(n.marker)||(t[n.marker]=[-1,-1,-1,-1,-1,-1]);const s=t[n.marker][(n.open?3:0)+n.length%3];let l=r-o[r]-1,c=l;for(;l>s;l-=o[l]+1){const t=e[l];if(t.marker===n.marker&&t.open&&t.end<0){let r=!1;if((t.close||n.open)&&(t.length+n.length)%3==0&&(t.length%3==0&&n.length%3==0||(r=!0)),!r){const r=l>0&&!e[l-1].open?o[l-1]+1:0;o[a]=a-l+r,o[l]=r,n.open=!1,t.end=a,t.close=!1,c=-1,i=-2;break}}}-1!==c&&(t[n.marker][(n.open?3:0)+(n.length||0)%3]=c)}}const Ev=[["text",function(e,t){let n=e.pos;for(;n<e.posMax&&!gv(e.src.charCodeAt(n));)n++;return n!==e.pos&&(t||(e.pending+=e.src.slice(e.pos,n)),e.pos=n,!0)}],["linkify",function(e,t){if(!e.md.options.linkify)return!1;if(e.linkLevel>0)return!1;const n=e.pos;if(n+3>e.posMax)return!1;if(58!==e.src.charCodeAt(n))return!1;if(47!==e.src.charCodeAt(n+1))return!1;if(47!==e.src.charCodeAt(n+2))return!1;const r=e.pending.match(mv);if(!r)return!1;const i=r[1],o=e.md.linkify.matchAtStart(e.src.slice(n-i.length));if(!o)return!1;let a=o.url;if(a.length<=i.length)return!1;let s=a.length;for(;s>0&&42===a.charCodeAt(s-1);)s--;s!==a.length&&(a=a.slice(0,s));const l=e.md.normalizeLink(a);if(!e.md.validateLink(l))return!1;if(!t){e.pending=e.pending.slice(0,-i.length);const t=e.push("link_open","a",1);t.attrs=[["href",l]],t.markup="linkify",t.info="auto",e.push("text","",0).content=e.md.normalizeLinkText(a);const n=e.push("link_close","a",-1);n.markup="linkify",n.info="auto"}return e.pos+=a.length-i.length,!0}],["newline",function(e,t){let n=e.pos;if(10!==e.src.charCodeAt(n))return!1;const r=e.pending.length-1,i=e.posMax;if(!t)if(r>=0&&32===e.pending.charCodeAt(r))if(r>=1&&32===e.pending.charCodeAt(r-1)){let t=r-1;for(;t>=1&&32===e.pending.charCodeAt(t-1);)t--;e.pending=e.pending.slice(0,t),e.push("hardbreak","br",0)}else e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0);else e.push("softbreak","br",0);for(n++;n<i&&Em(e.src.charCodeAt(n));)n++;return e.pos=n,!0}],["escape",function(e,t){let n=e.pos;const r=e.posMax;if(92!==e.src.charCodeAt(n))return!1;if(n++,n>=r)return!1;let i=e.src.charCodeAt(n);if(10===i){for(t||e.push("hardbreak","br",0),n++;n<r&&(i=e.src.charCodeAt(n),Em(i));)n++;return e.pos=n,!0}let o=e.src[n];if(i>=55296&&i<=56319&&n+1<r){const t=e.src.charCodeAt(n+1);t>=56320&&t<=57343&&(o+=e.src[n+1],n++)}const a="\\"+o;if(!t){const t=e.push("text_special","",0);i<256&&0!==vv[i]?t.content=o:t.content=a,t.markup=a,t.info="escape"}return e.pos=n+1,!0}],["backticks",function(e,t){let n=e.pos;if(96!==e.src.charCodeAt(n))return!1;const r=n;n++;const i=e.posMax;for(;n<i&&96===e.src.charCodeAt(n);)n++;const o=e.src.slice(r,n),a=o.length;if(e.backticksScanned&&(e.backticks[a]||0)<=r)return t||(e.pending+=o),e.pos+=a,!0;let s,l=n;for(;-1!==(s=e.src.indexOf("`",l));){for(l=s+1;l<i&&96===e.src.charCodeAt(l);)l++;const r=l-s;if(r===a){if(!t){const t=e.push("code_inline","code",0);t.markup=o,t.content=e.src.slice(n,s).replace(/\n/g," ").replace(/^ (.+) $/,"$1")}return e.pos=l,!0}e.backticks[r]=s}return e.backticksScanned=!0,t||(e.pending+=o),e.pos+=a,!0}],["strikethrough",yv.tokenize],["emphasis",wv.tokenize],["link",function(e,t){let n,r,i,o,a="",s="",l=e.pos,c=!0;if(91!==e.src.charCodeAt(e.pos))return!1;const u=e.pos,d=e.posMax,f=e.pos+1,h=e.md.helpers.parseLinkLabel(e,e.pos,!0);if(h<0)return!1;let p=h+1;if(p<d&&40===e.src.charCodeAt(p)){for(c=!1,p++;p<d&&(n=e.src.charCodeAt(p),Em(n)||10===n);p++);if(p>=d)return!1;if(l=p,i=e.md.helpers.parseLinkDestination(e.src,p,e.posMax),i.ok){for(a=e.md.normalizeLink(i.str),e.md.validateLink(a)?p=i.pos:a="",l=p;p<d&&(n=e.src.charCodeAt(p),Em(n)||10===n);p++);if(i=e.md.helpers.parseLinkTitle(e.src,p,e.posMax),p<d&&l!==p&&i.ok)for(s=i.str,p=i.pos;p<d&&(n=e.src.charCodeAt(p),Em(n)||10===n);p++);}(p>=d||41!==e.src.charCodeAt(p))&&(c=!0),p++}if(c){if(void 0===e.env.references)return!1;if(p<d&&91===e.src.charCodeAt(p)?(l=p+1,p=e.md.helpers.parseLinkLabel(e,p),p>=0?r=e.src.slice(l,p++):p=h+1):p=h+1,r||(r=e.src.slice(f,h)),o=e.env.references[Dm(r)],!o)return e.pos=u,!1;a=o.href,s=o.title}if(!t){e.pos=f,e.posMax=h;const t=[["href",a]];e.push("link_open","a",1).attrs=t,s&&t.push(["title",s]),e.linkLevel++,e.md.inline.tokenize(e),e.linkLevel--,e.push("link_close","a",-1)}return e.pos=p,e.posMax=d,!0}],["image",function(e,t){let n,r,i,o,a,s,l,c,u="";const d=e.pos,f=e.posMax;if(33!==e.src.charCodeAt(e.pos))return!1;if(91!==e.src.charCodeAt(e.pos+1))return!1;const h=e.pos+2,p=e.md.helpers.parseLinkLabel(e,e.pos+1,!1);if(p<0)return!1;if(o=p+1,o<f&&40===e.src.charCodeAt(o)){for(o++;o<f&&(n=e.src.charCodeAt(o),Em(n)||10===n);o++);if(o>=f)return!1;for(c=o,s=e.md.helpers.parseLinkDestination(e.src,o,e.posMax),s.ok&&(u=e.md.normalizeLink(s.str),e.md.validateLink(u)?o=s.pos:u=""),c=o;o<f&&(n=e.src.charCodeAt(o),Em(n)||10===n);o++);if(s=e.md.helpers.parseLinkTitle(e.src,o,e.posMax),o<f&&c!==o&&s.ok)for(l=s.str,o=s.pos;o<f&&(n=e.src.charCodeAt(o),Em(n)||10===n);o++);else l="";if(o>=f||41!==e.src.charCodeAt(o))return e.pos=d,!1;o++}else{if(void 0===e.env.references)return!1;if(o<f&&91===e.src.charCodeAt(o)?(c=o+1,o=e.md.helpers.parseLinkLabel(e,o),o>=0?i=e.src.slice(c,o++):o=p+1):o=p+1,i||(i=e.src.slice(h,p)),a=e.env.references[Dm(i)],!a)return e.pos=d,!1;u=a.href,l=a.title}if(!t){r=e.src.slice(h,p);const t=[];e.md.inline.parse(r,e.md,e.env,t);const n=e.push("image","img",0),i=[["src",u],["alt",""]];n.attrs=i,n.children=t,n.content=r,l&&i.push(["title",l])}return e.pos=o,e.posMax=f,!0}],["autolink",function(e,t){let n=e.pos;if(60!==e.src.charCodeAt(n))return!1;const r=e.pos,i=e.posMax;for(;;){if(++n>=i)return!1;const t=e.src.charCodeAt(n);if(60===t)return!1;if(62===t)break}const o=e.src.slice(r+1,n);if(kv.test(o)){const n=e.md.normalizeLink(o);if(!e.md.validateLink(n))return!1;if(!t){const t=e.push("link_open","a",1);t.attrs=[["href",n]],t.markup="autolink",t.info="auto",e.push("text","",0).content=e.md.normalizeLinkText(o);const r=e.push("link_close","a",-1);r.markup="autolink",r.info="auto"}return e.pos+=o.length+2,!0}if(xv.test(o)){const n=e.md.normalizeLink("mailto:"+o);if(!e.md.validateLink(n))return!1;if(!t){const t=e.push("link_open","a",1);t.attrs=[["href",n]],t.markup="autolink",t.info="auto",e.push("text","",0).content=e.md.normalizeLinkText(o);const r=e.push("link_close","a",-1);r.markup="autolink",r.info="auto"}return e.pos+=o.length+2,!0}return!1}],["html_inline",function(e,t){if(!e.md.options.html)return!1;const n=e.posMax,r=e.pos;if(60!==e.src.charCodeAt(r)||r+2>=n)return!1;const i=e.src.charCodeAt(r+1);if(33!==i&&63!==i&&47!==i&&!function(e){const t=32|e;return t>=97&&t<=122}(i))return!1;const o=e.src.slice(r).match(cv);if(!o)return!1;if(!t){const t=e.push("html_inline","",0);t.content=o[0],a=t.content,/^<a[>\s]/i.test(a)&&e.linkLevel++,function(e){return/^<\/a\s*>/i.test(e)}(t.content)&&e.linkLevel--}var a;return e.pos+=o[0].length,!0}],["entity",function(e,t){const n=e.pos,r=e.posMax;if(38!==e.src.charCodeAt(n))return!1;if(n+1>=r)return!1;if(35===e.src.charCodeAt(n+1)){const r=e.src.slice(n).match(Cv);if(r){if(!t){const t="x"===r[1][0].toLowerCase()?parseInt(r[1].slice(1),16):parseInt(r[1],10),n=e.push("text_special","",0);n.content=gm(t)?mm(t):mm(65533),n.markup=r[0],n.info="entity"}return e.pos+=r[0].length,!0}}else{const r=e.src.slice(n).match(Sv);if(r){const n=um(r[0]);if(n!==r[0]){if(!t){const t=e.push("text_special","",0);t.content=n,t.markup=r[0],t.info="entity"}return e.pos+=r[0].length,!0}}}return!1}]],Tv=[["balance_pairs",function(e){const t=e.tokens_meta,n=e.tokens_meta.length;Av(e.delimiters);for(let e=0;e<n;e++)t[e]&&t[e].delimiters&&Av(t[e].delimiters)}],["strikethrough",yv.postProcess],["emphasis",wv.postProcess],["fragments_join",function(e){let t,n,r=0;const i=e.tokens,o=e.tokens.length;for(t=n=0;t<o;t++)i[t].nesting<0&&r--,i[t].level=r,i[t].nesting>0&&r++,"text"===i[t].type&&t+1<o&&"text"===i[t+1].type?i[t+1].content=i[t].content+i[t+1].content:(t!==n&&(i[n]=i[t]),n++);t!==n&&(i.length=n)}]];function Mv(){this.ruler=new zm;for(let e=0;e<Ev.length;e++)this.ruler.push(Ev[e][0],Ev[e][1]);this.ruler2=new zm;for(let e=0;e<Tv.length;e++)this.ruler2.push(Tv[e][0],Tv[e][1])}function Lv(e){return Array.prototype.slice.call(arguments,1).forEach((function(t){t&&Object.keys(t).forEach((function(n){e[n]=t[n]}))})),e}function Dv(e){return Object.prototype.toString.call(e)}function Nv(e){return"[object Function]"===Dv(e)}function Ov(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}Mv.prototype.skipToken=function(e){const t=e.pos,n=this.ruler.getRules(""),r=n.length,i=e.md.options.maxNesting,o=e.cache;if(void 0!==o[t])return void(e.pos=o[t]);let a=!1;if(e.level<i){for(let i=0;i<r;i++)if(e.level++,a=n[i](e,!0),e.level--,a){if(t>=e.pos)throw new Error("inline rule didn't increment state.pos");break}}else e.pos=e.posMax;a||e.pos++,o[t]=e.pos},Mv.prototype.tokenize=function(e){const t=this.ruler.getRules(""),n=t.length,r=e.posMax,i=e.md.options.maxNesting;for(;e.pos<r;){const o=e.pos;let a=!1;if(e.level<i)for(let r=0;r<n;r++)if(a=t[r](e,!1),a){if(o>=e.pos)throw new Error("inline rule didn't increment state.pos");break}if(a){if(e.pos>=r)break}else e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()},Mv.prototype.parse=function(e,t,n,r){const i=new this.State(e,t,n,r);this.tokenize(i);const o=this.ruler2.getRules(""),a=o.length;for(let e=0;e<a;e++)o[e](i)},Mv.prototype.State=pv;const Fv={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1},Rv={"http:":{validate:function(e,t,n){const r=e.slice(t);return n.re.http||(n.re.http=new RegExp("^\\/\\/"+n.re.src_auth+n.re.src_host_port_strict+n.re.src_path,"i")),n.re.http.test(r)?r.match(n.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,n){const r=e.slice(t);return n.re.no_http||(n.re.no_http=new RegExp("^"+n.re.src_auth+"(?:localhost|(?:(?:"+n.re.src_domain+")\\.)+"+n.re.src_domain_root+")"+n.re.src_port+n.re.src_host_terminator+n.re.src_path,"i")),n.re.no_http.test(r)?t>=3&&":"===e[t-3]||t>=3&&"/"===e[t-3]?0:r.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,n){const r=e.slice(t);return n.re.mailto||(n.re.mailto=new RegExp("^"+n.re.src_email_name+"@"+n.re.src_host_strict,"i")),n.re.mailto.test(r)?r.match(n.re.mailto)[0].length:0}}},Iv="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function zv(e){const t=e.re=function(e){const t={};e=e||{},t.src_Any=qg.source,t.src_Cc=Hg.source,t.src_Z=Vg.source,t.src_P=Ug.source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join("|"),t.src_ZCc=[t.src_Z,t.src_Cc].join("|");return t.src_pseudo_letter="(?:(?![><|]|"+t.src_ZPCc+")"+t.src_Any+")",t.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",t.src_auth="(?:(?:(?!"+t.src_ZCc+"|[@/\\[\\]()]).)+@)?",t.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",t.src_host_terminator="(?=$|[><|]|"+t.src_ZPCc+")(?!"+(e["---"]?"-(?!--)|":"-|")+"_|:\\d|\\.-|\\.(?!$|"+t.src_ZPCc+"))",t.src_path="(?:[/?#](?:(?!"+t.src_ZCc+"|[><|]|[()[\\]{}.,\"'?!\\-;]).|\\[(?:(?!"+t.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+t.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+t.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+t.src_ZCc+'|["]).)+\\"|\\\'(?:(?!'+t.src_ZCc+"|[']).)+\\'|\\'(?="+t.src_pseudo_letter+"|[-])|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+t.src_ZCc+"|[.]|$)|"+(e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+",(?!"+t.src_ZCc+"|$)|;(?!"+t.src_ZCc+"|$)|\\!+(?!"+t.src_ZCc+"|[!]|$)|\\?(?!"+t.src_ZCc+"|[?]|$))+|\\/)?",t.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',t.src_xn="xn--[a-z0-9\\-]{1,59}",t.src_domain_root="(?:"+t.src_xn+"|"+t.src_pseudo_letter+"{1,63})",t.src_domain="(?:"+t.src_xn+"|(?:"+t.src_pseudo_letter+")|(?:"+t.src_pseudo_letter+"(?:-|"+t.src_pseudo_letter+"){0,61}"+t.src_pseudo_letter+"))",t.src_host="(?:(?:(?:(?:"+t.src_domain+")\\.)*"+t.src_domain+"))",t.tpl_host_fuzzy="(?:"+t.src_ip4+"|(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%)))",t.tpl_host_no_ip_fuzzy="(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%))",t.src_host_strict=t.src_host+t.src_host_terminator,t.tpl_host_fuzzy_strict=t.tpl_host_fuzzy+t.src_host_terminator,t.src_host_port_strict=t.src_host+t.src_port+t.src_host_terminator,t.tpl_host_port_fuzzy_strict=t.tpl_host_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_port_no_ip_fuzzy_strict=t.tpl_host_no_ip_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+t.src_ZPCc+"|>|$))",t.tpl_email_fuzzy='(^|[><|]|"|\\(|'+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}(e.__opts__),n=e.__tlds__.slice();function r(e){return e.replace("%TLDS%",t.src_tlds)}e.onCompile(),e.__tlds_replaced__||n.push("a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]"),n.push(t.src_xn),t.src_tlds=n.join("|"),t.email_fuzzy=RegExp(r(t.tpl_email_fuzzy),"i"),t.link_fuzzy=RegExp(r(t.tpl_link_fuzzy),"i"),t.link_no_ip_fuzzy=RegExp(r(t.tpl_link_no_ip_fuzzy),"i"),t.host_fuzzy_test=RegExp(r(t.tpl_host_fuzzy_test),"i");const i=[];function o(e,t){throw new Error('(LinkifyIt) Invalid schema "'+e+'": '+t)}e.__compiled__={},Object.keys(e.__schemas__).forEach((function(t){const n=e.__schemas__[t];if(null===n)return;const r={validate:null,link:null};if(e.__compiled__[t]=r,"[object Object]"===Dv(n))return function(e){return"[object RegExp]"===Dv(e)}(n.validate)?r.validate=function(e){return function(t,n){const r=t.slice(n);return e.test(r)?r.match(e)[0].length:0}}(n.validate):Nv(n.validate)?r.validate=n.validate:o(t,n),void(Nv(n.normalize)?r.normalize=n.normalize:n.normalize?o(t,n):r.normalize=function(e,t){t.normalize(e)});!function(e){return"[object String]"===Dv(e)}(n)?o(t,n):i.push(t)})),i.forEach((function(t){e.__compiled__[e.__schemas__[t]]&&(e.__compiled__[t].validate=e.__compiled__[e.__schemas__[t]].validate,e.__compiled__[t].normalize=e.__compiled__[e.__schemas__[t]].normalize)})),e.__compiled__[""]={validate:null,normalize:function(e,t){t.normalize(e)}};const a=Object.keys(e.__compiled__).filter((function(t){return t.length>0&&e.__compiled__[t]})).map(Ov).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+a+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+a+")","ig"),e.re.schema_at_start=RegExp("^"+e.re.schema_search.source,"i"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),function(e){e.__index__=-1,e.__text_cache__=""}(e)}function Pv(e,t){const n=e.__index__,r=e.__last_index__,i=e.__text_cache__.slice(n,r);this.schema=e.__schema__.toLowerCase(),this.index=n+t,this.lastIndex=r+t,this.raw=i,this.text=i,this.url=i}function Bv(e,t){const n=new Pv(e,t);return e.__compiled__[n.schema].normalize(n,e),n}function jv(e,t){if(!(this instanceof jv))return new jv(e,t);var n;t||(n=e,Object.keys(n||{}).reduce((function(e,t){return e||Fv.hasOwnProperty(t)}),!1)&&(t=e,e={})),this.__opts__=Lv({},Fv,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=Lv({},Rv,e),this.__compiled__={},this.__tlds__=Iv,this.__tlds_replaced__=!1,this.re={},zv(this)}jv.prototype.add=function(e,t){return this.__schemas__[e]=t,zv(this),this},jv.prototype.set=function(e){return this.__opts__=Lv(this.__opts__,e),this},jv.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;let t,n,r,i,o,a,s,l,c;if(this.re.schema_test.test(e))for(s=this.re.schema_search,s.lastIndex=0;null!==(t=s.exec(e));)if(i=this.testSchemaAt(e,t[2],s.lastIndex),i){this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+i;break}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(l=e.search(this.re.host_fuzzy_test),l>=0&&(this.__index__<0||l<this.__index__)&&null!==(n=e.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))&&(o=n.index+n[1].length,(this.__index__<0||o<this.__index__)&&(this.__schema__="",this.__index__=o,this.__last_index__=n.index+n[0].length))),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&(c=e.indexOf("@"),c>=0&&null!==(r=e.match(this.re.email_fuzzy))&&(o=r.index+r[1].length,a=r.index+r[0].length,(this.__index__<0||o<this.__index__||o===this.__index__&&a>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=o,this.__last_index__=a))),this.__index__>=0},jv.prototype.pretest=function(e){return this.re.pretest.test(e)},jv.prototype.testSchemaAt=function(e,t,n){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,n,this):0},jv.prototype.match=function(e){const t=[];let n=0;this.__index__>=0&&this.__text_cache__===e&&(t.push(Bv(this,n)),n=this.__last_index__);let r=n?e.slice(n):e;for(;this.test(r);)t.push(Bv(this,n)),r=r.slice(this.__last_index__),n+=this.__last_index__;return t.length?t:null},jv.prototype.matchAtStart=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return null;const t=this.re.schema_at_start.exec(e);if(!t)return null;const n=this.testSchemaAt(e,t[2],t[0].length);return n?(this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+n,Bv(this,0)):null},jv.prototype.tlds=function(e,t){return e=Array.isArray(e)?e:[e],t?(this.__tlds__=this.__tlds__.concat(e).sort().filter((function(e,t,n){return e!==n[t-1]})).reverse(),zv(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,zv(this),this)},jv.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),"mailto:"!==e.schema||/^mailto:/i.test(e.url)||(e.url="mailto:"+e.url)},jv.prototype.onCompile=function(){};const Yv=2147483647,$v=36,qv=/^xn--/,Hv=/[^\0-\x7F]/,Uv=/[\x2E\u3002\uFF0E\uFF61]/g,Wv={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},Vv=Math.floor,Gv=String.fromCharCode;function Kv(e){throw new RangeError(Wv[e])}function Zv(e,t){const n=e.split("@");let r="";n.length>1&&(r=n[0]+"@",e=n[1]);const i=function(e,t){const n=[];let r=e.length;for(;r--;)n[r]=t(e[r]);return n}((e=e.replace(Uv,".")).split("."),t).join(".");return r+i}const Xv=function(e,t){return e+22+75*(e<26)-((0!=t)<<5)},Jv=function(e,t,n){let r=0;for(e=n?Vv(e/700):e>>1,e+=Vv(e/t);e>455;r+=$v)e=Vv(e/35);return Vv(r+36*e/(e+38))},Qv=function(e){return Zv(e,(function(e){return Hv.test(e)?"xn--"+function(e){const t=[],n=(e=function(e){const t=[];let n=0;const r=e.length;for(;n<r;){const i=e.charCodeAt(n++);if(i>=55296&&i<=56319&&n<r){const r=e.charCodeAt(n++);56320==(64512&r)?t.push(((1023&i)<<10)+(1023&r)+65536):(t.push(i),n--)}else t.push(i)}return t}(e)).length;let r=128,i=0,o=72;for(const n of e)n<128&&t.push(Gv(n));const a=t.length;let s=a;for(a&&t.push("-");s<n;){let n=Yv;for(const t of e)t>=r&&t<n&&(n=t);const l=s+1;n-r>Vv((Yv-i)/l)&&Kv("overflow"),i+=(n-r)*l,r=n;for(const n of e)if(n<r&&++i>Yv&&Kv("overflow"),n===r){let e=i;for(let n=$v;;n+=$v){const r=n<=o?1:n>=o+26?26:n-o;if(e<r)break;const i=e-r,a=$v-r;t.push(Gv(Xv(r+i%a,0))),e=Vv(i/a)}t.push(Gv(Xv(e,0))),o=Jv(i,l,s===a),i=0,++s}++i,++r}return t.join("")}(e):e}))},eb=function(e){return Zv(e,(function(e){return qv.test(e)?function(e){const t=[],n=e.length;let r=0,i=128,o=72,a=e.lastIndexOf("-");a<0&&(a=0);for(let n=0;n<a;++n)e.charCodeAt(n)>=128&&Kv("not-basic"),t.push(e.charCodeAt(n));for(let l=a>0?a+1:0;l<n;){const a=r;for(let t=1,i=$v;;i+=$v){l>=n&&Kv("invalid-input");const a=(s=e.charCodeAt(l++))>=48&&s<58?s-48+26:s>=65&&s<91?s-65:s>=97&&s<123?s-97:$v;a>=$v&&Kv("invalid-input"),a>Vv((Yv-r)/t)&&Kv("overflow"),r+=a*t;const c=i<=o?1:i>=o+26?26:i-o;if(a<c)break;const u=$v-c;t>Vv(Yv/u)&&Kv("overflow"),t*=u}const c=t.length+1;o=Jv(r-a,c,0==a),Vv(r/c)>Yv-i&&Kv("overflow"),i+=Vv(r/c),r%=c,t.splice(r++,0,i)}var s;return String.fromCodePoint(...t)}(e.slice(4).toLowerCase()):e}))},tb={default:{options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}},zero:{options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","fragments_join"]}}},commonmark:{options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","fragments_join"]}}}},nb=/^(vbscript|javascript|file|data):/,rb=/^data:image\/(gif|png|jpeg|webp);/;function ib(e){const t=e.trim().toLowerCase();return!nb.test(t)||rb.test(t)}const ob=["http:","https:","mailto:"];function ab(e){const t=jg(e,!0);if(t.hostname&&(!t.protocol||ob.indexOf(t.protocol)>=0))try{t.hostname=Qv(t.hostname)}catch(e){}return Ag(Eg(t))}function sb(e){const t=jg(e,!0);if(t.hostname&&(!t.protocol||ob.indexOf(t.protocol)>=0))try{t.hostname=eb(t.hostname)}catch(e){}return Cg(Eg(t),Cg.defaultChars+"%")}function lb(e,t){if(!(this instanceof lb))return new lb(e,t);t||dm(e)||(t=e||{},e="default"),this.inline=new Mv,this.block=new hv,this.core=new tv,this.renderer=new Im,this.linkify=new jv,this.validateLink=ib,this.normalizeLink=ab,this.normalizeLinkText=sb,this.utils=Om,this.helpers=hm({},Fm),this.options={},this.configure(e),t&&this.set(t)}lb.prototype.set=function(e){return hm(this.options,e),this},lb.prototype.configure=function(e){const t=this;if(dm(e)){const t=e;if(!(e=tb[t]))throw new Error('Wrong `markdown-it` preset "'+t+'", check name')}if(!e)throw new Error("Wrong `markdown-it` preset, can't be empty");return e.options&&t.set(e.options),e.components&&Object.keys(e.components).forEach((function(n){e.components[n].rules&&t[n].ruler.enableOnly(e.components[n].rules),e.components[n].rules2&&t[n].ruler2.enableOnly(e.components[n].rules2)})),this},lb.prototype.enable=function(e,t){let n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach((function(t){n=n.concat(this[t].ruler.enable(e,!0))}),this),n=n.concat(this.inline.ruler2.enable(e,!0));const r=e.filter((function(e){return n.indexOf(e)<0}));if(r.length&&!t)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+r);return this},lb.prototype.disable=function(e,t){let n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach((function(t){n=n.concat(this[t].ruler.disable(e,!0))}),this),n=n.concat(this.inline.ruler2.disable(e,!0));const r=e.filter((function(e){return n.indexOf(e)<0}));if(r.length&&!t)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+r);return this},lb.prototype.use=function(e){const t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this},lb.prototype.parse=function(e,t){if("string"!=typeof e)throw new Error("Input data should be a String");const n=new this.core.State(e,this,t);return this.core.process(n),n.tokens},lb.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)},lb.prototype.parseInline=function(e,t){const n=new this.core.State(e,this,t);return n.inlineMode=!0,this.core.process(n),n.tokens},lb.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)};const cb=new lb,ub={image:Rh,svg:Rh,json:Oh,code:Oh,uri:Oh,css:Oh,table:Oh,html:Oh,markdown:Oh,text:Oh,video:({attachment:e,item:t})=>e&&"src"in e?Wt("video",{"data-testid":"video-attachment-content",class:Fh["test-result-attachment-video"],controls:!0,loop:!0,muted:!0,children:Wt("source",{src:e.src,type:t.link.contentType})}):Wt(Kt,{}),"image-diff":e=>{const{attachment:t,i18n:n}=e;return t&&"diff"in t?Wt("div",{className:Fh.imageDiffWrapper,children:Wt(yp,{diff:t.diff,i18n:n})}):Wt(Kt,{})},http:({attachment:e})=>{const t=(e=>{if(!Sp(e))return{request:null,response:null,error:null,durationMs:""};const t=Ep(e.start),n=Ep(e.stop),r=void 0!==t&&void 0!==n&&n>=t?n-t+" ms":"";return{request:Yp(e.request),response:Hp(e.response),error:Up(e.error),durationMs:r}})(e&&"http"in e?e.http:null);return t.request?Wt("div",{className:Fh["http-attachment"],"data-testid":"http-attachment-content",children:[Wt(xg,{request:t.request,response:t.response,durationMs:t.durationMs}),Wt(yg,{request:t.request}),Wt(_g,{response:t.response,durationMs:t.durationMs}),Wt(wg,{error:t.error})]}):Wt("div",{className:Fh["http-attachment"],"data-testid":"http-attachment-content",children:Wt("div",{className:Fh["http-attachment__empty"],children:"Invalid HTTP Exchange attachment: request is missing."})})},archive:null},db={html:({attachment:e})=>{const[t,n]=(0,i.J0)(""),r=e.text??"",o=r.length>0?lu(r):"";return(0,i.vJ)((()=>{if(o){let e=o;(()=>{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(o)?o.replace(/<head(\s[^>]*)?>/i,(e=>e+_p)):/<body(\s[^>]*)?>/i.test(o)?o.replace(/<body(\s[^>]*)?>/i,(e=>e+_p)):_p+o);const t=new Blob([e],{type:"text/html"}),r=URL.createObjectURL(t);return n(r),()=>{URL.revokeObjectURL(r)}}}),[o]),o?Wt("div",{className:Fh["html-attachment-preview"],children:Wt("iframe",{src:t,width:"100%",height:"100%",frameBorder:"0",sandbox:"allow-same-origin"})}):null},markdown:({attachment:e})=>{const[t,n]=(0,i.J0)(""),[r,o]=(0,i.J0)(0),a=Ku.value.current,s=e.text??"",l=(0,i.Kr)((()=>s?(e=>lu(e,cu))(cb.render(s)):""),[s]);return(0,i.vJ)((()=>{if(!l)return void n("");const e=(e=>{if("undefined"==typeof globalThis||!globalThis.document)return"";const t=globalThis.getComputedStyle(globalThis.document.documentElement);return Array.from(new Set(e.match(/--[\w-]+/g)??[])).map((e=>{const n=t.getPropertyValue(e).trim(),r=Ju(n,t,new Set([e])).trim();return r?`${e}: ${r};`:""})).filter(Boolean).join("\n")})(Zu),t=new Blob([`<!DOCTYPE html>\n<html data-theme="${a}">\n <head>\n <meta charset="utf-8">\n <style>:root {${e}}</style>\n <style>${Zu}</style>\n </head>\n <body>${l}</body>\n</html>`],{type:"text/html"}),r=URL.createObjectURL(t);return n(r),()=>URL.revokeObjectURL(r)}),[a,l]),l?Wt("div",{className:Fh["html-attachment-preview"],"data-testid":"markdown-attachment-preview",children:t&&Wt("iframe",{title:"Markdown attachment",src:t,width:"100%",height:r?String(r):"100%",frameBorder:0,sandbox:"allow-same-origin",onLoad:e=>{const t=e.currentTarget;o((e=>{const t=e.contentDocument?.documentElement,n=e.contentDocument?.body,r=n?.getBoundingClientRect().height??0,i=Math.max(n?.scrollHeight??0,t?.scrollHeight??0);return Math.ceil(Math.max(r,i))})(t))}})}):null}},fb=new Set(["html","markdown"]),hb=e=>{const{item:t,previewable:n,highlightCode:r=!0,i18n:a}=e,{link:{contentType:s,id:l,ext:c}}=t,u=(0,o.Ul)(null),d=(0,o.Ul)(!0),f=(0,o.Ul)(!1),h=Sn(s),p=(0,i.hb)((async()=>{d.value=!0,f.value=!1;try{const e=await(async(e,t,n)=>{if(!e&&!t)return null;const r=await bn({id:e,ext:t,contentType:n}),i=Sn(n);if(!r.ok)throw new Error("Failed to fetch");switch(i){case"svg":case"image":{const t=await r.blob();return{img:URL.createObjectURL(t),id:e}}case"uri":case"code":case"html":case"markdown":case"table":case"text":return{text:await r.text()};case"video":{const t=await r.blob();return{src:URL.createObjectURL(t),id:e,contentType:n}}case"image-diff":return{diff:await r.json()};case"http":return{http:await r.json()};default:return null}})(l,c,s);(0,o.vA)((()=>{d.value=!1,u.value=e}))}catch{(0,o.vA)((()=>{d.value=!1,f.value=!0}))}}),[l,c,s,d,u,f]);if((0,i.vJ)((()=>{h&&p()}),[h,p]),!h)return null;if(d.value)return Wt("div",{className:Fh["test-result-spinner"],children:Wt(Kt,{})});if(f.value)return Wt(gh,{description:"Failed to load attachment",size:"xs",children:Wt(nn,{style:"flat",icon:Vt.lineArrowsRefreshCcw1,onClick:p})});const g=db[h],m=ub[h],v=a?.["image-diff"===h?"imageDiff":h];if(fb.has(h)&&g&&m){const e=m===Oh,i=!!n;return Wt("div",{className:Fh.attachmentViewStack,children:[Wt("div",{className:Fh.attachmentViewPane,hidden:i,children:Wt(m,{attachment:u.value,item:t,i18n:v,...e?{highlight:r}:{}})}),Wt("div",{className:Fh.attachmentViewPane,hidden:!i,children:Wt(g,{attachment:u.value,item:t,i18n:v})})]})}if(n&&g)return Wt(g,{attachment:u.value,item:t,i18n:v});if(!m)return null;const b=m===Oh;return Wt(m,{attachment:u.value,item:t,i18n:v,...b?{highlight:r}:{}})},pb=({code:e,children:t,className:n})=>((0,i.vJ)((()=>{M.highlightAll()}),[]),Wt("pre",{className:D("language-text line-numbers language-diff",n),children:[e&&Wt("code",{children:e}),t]}));var gb="styles_modal-wrapper-fullscreen__11W3U",mb="styles_active__YdnV4";const vb=({changeThumb:e,children:t,isActiveThumb:n})=>Wt("div",{className:D("styles_modal-thumb__O5sLe",{[mb]:n}),onClick:()=>()=>e?.(),children:t}),bb=({attachments:e=[]})=>{const t=e?.filter((({link:{contentType:e}})=>{const t=Sn(e);return!["archive",null].includes(t)}));return Wt("div",{className:"styles_modal-gallery__w0J0I",children:t?.map((e=>Wt(vb,{item:e,children:Wt(hb,{item:e})},e?.link?.id)))})},yb=({data:e,isModalOpen:t,preview:n,component:o,attachments:a,closeModal:s,translations:l,title:c})=>{const{tooltipPreview:u,tooltipSyntaxHighlight:d,tooltipDownload:f,openInNewTabButton:h}=l,{link:p}=e||{},[g,m]=(0,i.J0)(!1),[v,b]=(0,i.J0)(!!n),[y,_]=(0,i.J0)(!0),w=p?.contentType?.startsWith("image"),x=(e=>!!e&&_n.includes(e))(p?.contentType),k=!(w||p?.contentType?.startsWith("video")||x&&v),C=(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=(Cn(t)??t.replace(/^\./,"")).toLowerCase(),r=e.includes(".")?e.split(".").pop():e;if(r){n=r;break}}return(!t||!xn.has(t))&&(!(!t||!kn.has(t))||!!n&&wn.has(n))})({contentType:p?.contentType,ext:p?.ext,name:p?.name,originalFileName:p?.originalFileName}),S=p?.id&&p?.ext&&p?.contentType,A=p?.name||p?.id&&p?.ext&&`${p.id}${p.ext}`||"",E=c||A;(0,i.vJ)((()=>{t&&(b(!!n),_(!0))}),[t,n]);const T=(0,i.Kr)((()=>o&&function(e){return function(e){return!!e&&e.$$typeof===Gf}(e)?r.Ob.apply(null,arguments):e}(o,{data:e,isFullScreen:g,previewable:v,highlightCode:y})),[o,e,g,v,y]);(0,i.vJ)((()=>(document.body.style.overflow=t?"hidden":"",()=>{document.body.style.overflow=""})),[t]);return t?Wt("div",{className:"styles_modal-overlay__xdM2o",onClick:s,children:Wt("div",{className:D("styles_modal-content__2yYdb"),onClick:e=>e.stopPropagation(),children:[Wt("div",{className:D("styles_modal-wrapper__KacuO",{[gb]:g}),children:[Wt("div",{className:"styles_modal-header__IcCg9",children:[Wt(Jt,{size:"s",children:E}),Wt("div",{className:"styles_modal-buttons__OBqaM",children:[w&&Wt(tn,{style:"outline",onClick:async()=>{const{id:e,ext:t,contentType:n}=p||{};await(async(e,t,n)=>{if(!e&&!t)return;const r=await yn(e,t,n),i=URL.createObjectURL(r);globalThis.open(i,"_blank")})(e,t,n)},icon:Vt.lineGeneralLinkExternal,text:h}),x&&Wt(Ef,{tooltipText:u,children:Wt(nn,{style:"outline",size:"m",iconSize:"s",icon:v?Vt.viewOff:Vt.view,onClick:()=>b(!v)})}),k&&C&&Wt(Ef,{tooltipText:d??"Syntax highlighting",children:Wt(nn,{className:D(!y&&"styles_syntax-highlight-off__q6J31"),style:"outline",size:"m",iconSize:"s",icon:Vt.lineDevCodeSquare,onClick:()=>_(!y)})}),S&&Wt(Ef,{tooltipText:f,children:Wt(nn,{style:"outline",size:"m",iconSize:"s",icon:Vt.lineGeneralDownloadCloud,onClick:e=>(async e=>{e.stopPropagation();const{id:t,ext:n,contentType:r}=p||{};t&&n&&r&&await(async(e,t,n)=>{if(!e&&!t)return;const r=`${e}${t}`,i=await yn(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)})}),Wt(nn,{iconSize:"m",style:"ghost",onClick:()=>m(!g),icon:g?Vt.lineLayoutsMinimize2:Vt.lineLayoutsMaximize2}),Wt(nn,{iconSize:"m",style:"ghost",onClick:s,icon:Vt.lineGeneralXClose})]})]}),Wt("div",{className:"styles_modal-data__tEK64",children:Wt("div",{className:"styles_modal-data-component__3HBgz",children:T},e?.link?.id)})]}),a?.length&&Wt(bb,{attachments:a})]})}):null};var _b={tree:"styles_tree__fG6jK","tree-list":"styles_tree-list__3q7eT","tree-section":"styles_tree-section__iV9nA","tree-section-title":"styles_tree-section-title__3v2nF","tree-subtree-toggle":"styles_tree-subtree-toggle__39-6e","tree-count":"styles_tree-count__RjQCr","tree-item":"styles_tree-item__-43NH","item-title":"styles_item-title__ip78x","test-count":"styles_test-count__ynxa4","tree-content":"styles_tree-content__RqVeR",root:"styles_root__gLSTv","tree-item-icon":"styles_tree-item-icon__pSBl5","tree-item-icon-svg":"styles_tree-item-icon-svg__PqvN7","tree-item-icon-bg":"styles_tree-item-icon-bg__BWzam","tree-item-icon-stroke":"styles_tree-item-icon-stroke__r-Ga3","tree-item-icon-fill":"styles_tree-item-icon-fill__neuI9","status-passed":"styles_status-passed__kTMq4","status-failed":"styles_status-failed__2uYs3","status-broken":"styles_status-broken__34I8R","status-skipped":"styles_status-skipped__MEGGW","status-unknown":"styles_status-unknown__p2KHg","tree-status-bar":"styles_tree-status-bar__LJ7Y1","tree-status-bar-item":"styles_tree-status-bar-item__Yofv2",passed:"styles_passed__SeJia",failed:"styles_failed__-3jyb",broken:"styles_broken__g7-KJ",skipped:"styles_skipped__RfV4j",unknown:"styles_unknown__hkDQ1","tree-empty-results":"styles_tree-empty-results__4EWH4","tree-empty-results-title":"styles_tree-empty-results-title__hGsAb","tree-empty-results-clear-button":"styles_tree-empty-results-clear-button__9nCUy",order:"styles_order__-yTyr","tree-item-marked":"styles_tree-item-marked__TW7os","tree-item-focused":"styles_tree-item-focused__HCYiA","tree-section-focused":"styles_tree-section-focused__8rwyh"};const wb={failed:()=>Wt(r.FK,{children:[Wt("path",{className:_b["tree-item-icon-stroke"],d:"M5.6 5.6 10.4 10.4"}),Wt("path",{className:_b["tree-item-icon-stroke"],d:"M10.4 5.6 5.6 10.4"})]}),broken:()=>Wt(r.FK,{children:[Wt("path",{className:_b["tree-item-icon-stroke"],d:"M8 4.6v4.2"}),Wt("circle",{className:_b["tree-item-icon-fill"],cx:"8",cy:"11.4",r:"1"})]}),passed:()=>Wt("path",{className:_b["tree-item-icon-stroke"],d:"m4.8 8.2 2.2 2.2 4.4-4.8"}),skipped:()=>Wt("path",{className:_b["tree-item-icon-stroke"],d:"M5 8h6"}),unknown:()=>Wt(r.FK,{children:[Wt("path",{className:_b["tree-item-icon-stroke"],d:"M6.4 6.2A1.7 1.7 0 0 1 8 5.1c1 0 1.8.7 1.8 1.7 0 1.4-1.8 1.3-1.8 2.8"}),Wt("circle",{className:_b["tree-item-icon-fill"],cx:"8",cy:"11.5",r:"0.9"})]})},xb=({status:e="unknown",className:t,classNameIcon:n})=>{const r=wb[e];return Wt("div",{"data-testid":`tree-leaf-status-${e}`,className:D(_b["tree-item-icon"],_b[`status-${e}`],t),children:Wt("svg",{className:D(_b["tree-item-icon-svg"],n),viewBox:"0 0 16 16","aria-hidden":"true",focusable:"false",children:[Wt("circle",{className:_b["tree-item-icon-bg"],cx:"8",cy:"8",r:"7.5"}),Wt(r,{})]})})};var kb={"tree-item-retries":"styles_tree-item-retries__dhixw"};const Cb=({retriesCount:e=0})=>e>0?Wt("div",{"data-testid":"tree-leaf-retries",className:kb["tree-item-retries"],children:[Wt(Gt,{className:kb["tree-leaf-retries-icon"],id:Vt.lineArrowsRefreshCcw1}),Wt(Zt,{type:"ui",size:"m",children:e})]}):null,Sb=e=>{switch(e){case"new":return Vt.lineAlertsNew;case"fixed":return Vt.lineAlertsFixed;case"regressed":return Vt.lineAlertsRegressed;case"malfunctioned":return Vt.lineAlertsMalfunctioned;default:return Vt.lineAlertsAlertCircle}};var Ab={"item-info":"styles_item-info__ELNw-","item-info-time":"styles_item-info-time__fWpPK"};const Eb=({duration:e,retriesCount:t,flaky:n,transition:r,tooltips:i})=>{const o=hn(e);return Wt("div",{className:Ab["item-info"],children:[n&&Wt(Ef,{"data-testid":"tree-leaf-flaky-tooltip",tooltipText:i?.flaky,children:Wt(Gt,{"data-testid":"tree-leaf-flaky",id:Vt.lineIconBomb2})}),Boolean(t)&&Wt(Ef,{"data-testid":"tree-leaf-retries-tooltip",tooltipText:i?.retries,children:Wt(Cb,{retriesCount:t})}),r&&Wt(Ef,{"data-testid":"tree-leaf-transition-tooltip",tooltipText:i?.transition,children:Wt(Gt,{"data-testid":`tree-leaf-transition-${r}`,id:Sb(r),className:Ab["item-info-transition"]})}),Wt(Zt,{"data-testid":"tree-leaf-duration",type:"ui",size:"m",className:Ab["item-info-time"],children:o})]})},Tb=({name:e,groupOrder:t,status:n,duration:r,retriesCount:i,flaky:o,transition:a,transitionTooltip:s,id:l,focusNodeId:c,marked:u,focused:d,navigateTo:f,tooltips:h,...p})=>{const g=c??l;return Wt("div",{...p,className:D(_b["tree-item"],u?_b["tree-item-marked"]:"",d?_b["tree-item-focused"]:""),onClick:()=>f(l),id:l,"data-tree-node-id":g,"aria-current":d?"true":void 0,children:[Wt(xb,{status:n}),Wt(Xt,{"data-testid":"tree-leaf-order",size:"s",className:_b.order,children:t}),Wt(Zt,{"data-testid":"tree-leaf-title",className:_b["item-title"],children:e}),Wt(Eb,{"data-testid":"tree-leaf-info",duration:r,flaky:o,retriesCount:i,transition:a,transitionTooltip:s,tooltips:h})]})},Mb=({title:e,icon:t,isOpened:n,toggleTree:r,focused:i,nodeId:o,children:a,...s})=>Wt("div",{"data-testid":"tree-section",...s,className:D(_b["tree-section"],i?_b["tree-section-focused"]:""),onClick:r,id:o,"data-tree-node-id":o,children:[Wt(hh,{"data-testid":"tree-arrow",isOpened:n}),t&&Wt(Gt,{id:t,size:"xs"}),Wt(Zt,{"data-testid":"tree-section-title",size:"m",bold:!0,className:_b["tree-section-title"],children:e}),a]}),Lb=({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?Wt("div",{className:_b["tree-status-bar"],style:{minWidth:`${a}px`},children:an.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})=>Wt("div",{className:D(_b["tree-status-bar-item"],_b[e]),style:{flexGrow:t},children:t},e)))}):null},Db=({categoryTitle:e,isOpened:t,toggleTree:n,statistic:r,reportStatistic:i,statusFilter:o,actions:a,focused:s,nodeId:l,...c})=>Wt(Mb,{...c,title:e,isOpened:t,toggleTree:n,focused:s,nodeId:l,children:[a,Wt(Lb,{reportStatistic:i,statusFilter:o,statistic:r})]}),Nb=e=>(e=>e.trees.length>0||e.leaves.length>0)(e),Ob={"single-down":Vt.lineArrowsChevronDown,"single-up":Vt.lineArrowsChevronUp,"double-down":Vt.lineArrowsChevronDownDouble,"double-up":Vt.lineArrowsChevronUpDouble},Fb=({tree:e,statusFilter:t,root:n,name:r,statistic:o,reportStatistic:a,collapsedTrees:s,toggleTree:l,routeId:c,focusedId:u,focusIdPrefix:d,isGroupOpened:f,navigateTo:h})=>{const p=e.nodeId,g=e=>d?`${d}${e}`:e,m=((e,t=!1)=>t||(e=>void 0===e||Boolean(e?.failed||e?.broken))(e))(o,Boolean(n)),v=(e,t)=>f?f(e,t):((e,t,n)=>t.has(e)?!n:n)(e,s,t),b=v(g(p),m),y=Nb(e),_=(e=>Nb(e)&&0===e.trees.length)(e),w=y?(e=>{const t=[],n=[{tree:e,isRoot:!0}];for(;n.length>0;){const e=n.pop();e&&(t.push({id:e.tree.nodeId,openedByDefault:ed(e.tree.statistic),isRoot:e.isRoot}),e.tree.trees.forEach((e=>n.push({tree:e,isRoot:!1}))))}return t})(e):[],[x,k]=(0,i.J0)(null),C=!v(g(p),m),S=((e,t,n,r)=>!!r(e,t)&&n.filter((e=>!e.isRoot)).every((e=>!r(e.id,e.openedByDefault))))(g(p),m,w,((e,t)=>v(g(e),t))),A=y&&(e=>e.every((e=>((e,t)=>v(g(e),t))(e.id,e.openedByDefault))))(w),E=Ob[(e=>{const{hasOnlyLeafResults:t,isSubtreeCollapsedAll:n,isSubtreeFirstLevelOnly:r}=e;return t?n?"single-down":"single-up":n?"single-down":r?"double-down":"double-up"})({hasOnlyLeafResults:_,isSubtreeCollapsedAll:C,isSubtreeFirstLevelOnly:S})],T=Boolean(r),M=e.trees.length>0||e.leaves.length>0,L=D({[_b["tree-content"]]:!0,[_b.root]:n});if(!M)return null;const N=e.trees.map((e=>Wt(Fb,{name:e.name,tree:e,statistic:e.statistic,reportStatistic:a,statusFilter:t,collapsedTrees:s,toggleTree:l,routeId:c,focusedId:u,focusIdPrefix:d,isGroupOpened:f,navigateTo:h},e.nodeId))),O=e.leaves.map((e=>Wt(Tb,{"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===c,focused:g(e.nodeId)===u,focusNodeId:g(e.nodeId),navigateTo:h},e.nodeId))),F=y?Wt(nn,{size:"xs",style:"ghost",icon:E,onClick:e=>{e.stopPropagation();const t=(e=>{const{hasOnlyLeafResults:t,isSubtreeCollapsedAll:n,isSubtreeFirstLevelOnly:r,isSubtreeExpandedAll:i,lastSubtreeToggle:o}=e;return t?n?"all":"none":n?"first":r?"all"===o?"none":"all":i?"first":"all"})({hasOnlyLeafResults:_,isSubtreeCollapsedAll:C,isSubtreeFirstLevelOnly:S,isSubtreeExpandedAll:A,lastSubtreeToggle:x});((e,t,n)=>{e.forEach((e=>{const r="all"===t||"first"===t&&e.isRoot,i=n.toScopedId(e.id);n.isOpened(i,e.openedByDefault)!==r&&n.setOpened(i,r,e.openedByDefault)}))})(w,t,{toScopedId:g,isOpened:(e,t)=>v(e,t),setOpened:(e,t,n)=>{v(e,n)!==t&&l(e,n)}}),"first"!==t&&k(t)},className:_b["tree-subtree-toggle"],"data-testid":"tree-subtree-toggle"}):void 0,R=b?Wt("div",{"data-testid":"tree-content",className:L,children:[N,O]}):null;return Wt("div",{className:_b.tree,children:[T?Wt(Db,{statusFilter:t,categoryTitle:r,isOpened:b,toggleTree:()=>{l(g(p),m),k(null)},statistic:o,reportStatistic:a,actions:F,focused:g(p)===u,nodeId:g(p)}):null,R]})};var Rb={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 Ib=e=>{const{count:t,size:n="s",truncateCount:r=!1,status:i}=e,o=r&&t>99?"99+":t;return Wt(Zt,{tag:"small",size:"l"===n?"m":"s",type:"ui",bold:!0,className:D(Rb.counter,Rb[`size-${n}`],i&&Rb[`status-${i}`]),"data-testid":"counter",children:o})};const zb=e=>{const{children:t,onClick:n,href:r}=e;return Wt(void 0===r?"button":"a",{href:r,onClick:n,className:td,children:t})};const Pb=e=>{const{className:t}=e;return Wt(Zt,{type:"paragraph",size:"m",bold:!0,className:D("styles_text__BcILe",t),children:[Wt(Gt,{id:Vt.reportLogo,size:"m",inline:!0,className:"styles_logo__jHlBl"}),Wt("span",{children:"Allure Report"})]})};const Bb=e=>{const{className:t,logo:n}=e;return Wt("div",{className:D("styles_report-logo__OOEnL",t),children:n?Wt("img",{src:n,alt:"report logo"}):Wt(Gt,{id:Vt.reportLogo,inline:!0})})};const jb=({children:e,title:t,centerContent:n,dropShadow:r=!0})=>Wt("div",{className:"styles_widget__JLpmE","data-drop-shadow":r||void 0,children:[t&&Wt("div",{className:"styles_header__yKZiz",children:Wt(Jt,{size:"s",children:t})}),Wt("div",{className:"styles_content__zvonT","data-center-content":n,children:e})]});function Yb(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 $b(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Yb(Object(n),!0).forEach((function(t){Hb(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Yb(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function qb(e){return qb="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},qb(e)}function Hb(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ub(){return Ub=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},Ub.apply(this,arguments)}function Wb(e){if("undefined"!=typeof window&&window.navigator)return!!navigator.userAgent.match(e)}var Vb=Wb(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),Gb=Wb(/Edge/i),Kb=Wb(/firefox/i),Zb=Wb(/safari/i)&&!Wb(/chrome/i)&&!Wb(/android/i),Xb=Wb(/iP(ad|od|hone)/i),Jb=Wb(/chrome/i)&&Wb(/android/i),Qb={capture:!1,passive:!1};function ey(e,t,n){e.addEventListener(t,n,!Vb&&Qb)}function ty(e,t,n){e.removeEventListener(t,n,!Vb&&Qb)}function ny(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 ry(e){return e.host&&e!==document&&e.host.nodeType?e.host:e.parentNode}function iy(e,t,n,r){if(e){n=n||document;do{if(null!=t&&(">"===t[0]?e.parentNode===n&&ny(e,t):ny(e,t))||r&&e===n)return e;if(e===n)break}while(e=ry(e))}return null}var oy,ay=/\s+/g;function sy(e,t,n){if(e&&t)if(e.classList)e.classList[n?"add":"remove"](t);else{var r=(" "+e.className+" ").replace(ay," ").replace(" "+t+" "," ");e.className=(r+(n?" "+t:"")).replace(ay," ")}}function ly(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 cy(e,t){var n="";if("string"==typeof e)n=e;else do{var r=ly(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 uy(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 dy(){return document.scrollingElement||document.documentElement}function fy(e,t,n,r,i){if(e.getBoundingClientRect||e===window){var o,a,s,l,c,u,d;if(e!==window&&e.parentNode&&e!==dy()?(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,!Vb))do{if(i&&i.getBoundingClientRect&&("none"!==ly(i,"transform")||n&&"static"!==ly(i,"position"))){var f=i.getBoundingClientRect();a-=f.top+parseInt(ly(i,"border-top-width")),s-=f.left+parseInt(ly(i,"border-left-width")),l=a+o.height,c=s+o.width;break}}while(i=i.parentNode);if(r&&e!==window){var h=cy(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 hy(e,t,n){for(var r=by(e,!0),i=fy(e)[t];r;){if(!(i>=fy(r)[n]))return r;if(r===dy())break;r=by(r,!1)}return!1}function py(e,t,n,r){for(var i=0,o=0,a=e.children;o<a.length;){if("none"!==a[o].style.display&&a[o]!==w_.ghost&&(r||a[o]!==w_.dragged)&&iy(a[o],n.draggable,e,!1)){if(i===t)return a[o];i++}o++}return null}function gy(e,t){for(var n=e.lastElementChild;n&&(n===w_.ghost||"none"===ly(n,"display")||t&&!ny(n,t));)n=n.previousElementSibling;return n||null}function my(e,t){var n=0;if(!e||!e.parentNode)return-1;for(;e=e.previousElementSibling;)"TEMPLATE"===e.nodeName.toUpperCase()||e===w_.clone||t&&!ny(e,t)||n++;return n}function vy(e){var t=0,n=0,r=dy();if(e)do{var i=cy(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 by(e,t){if(!e||!e.getBoundingClientRect)return dy();var n=e,r=!1;do{if(n.clientWidth<n.scrollWidth||n.clientHeight<n.scrollHeight){var i=ly(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 dy();if(r||t)return n;r=!0}}}while(n=n.parentNode);return dy()}function yy(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 _y(e,t){return function(){if(!oy){var n=arguments;1===n.length?e.call(this,n[0]):e.apply(this,n),oy=setTimeout((function(){oy=void 0}),t)}}}function wy(e,t,n){e.scrollLeft+=t,e.scrollTop+=n}function xy(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 ky(e,t,n){var r={};return Array.from(e.children).forEach((function(i){var o,a,s,l;if(iy(i,t.draggable,e,!1)&&!i.animated&&i!==n){var c=fy(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 Cy="Sortable"+(new Date).getTime();var Sy=[],Ay={initializeByDefault:!0},Ey={mount:function(e){for(var t in Ay)Ay.hasOwnProperty(t)&&!(t in e)&&(e[t]=Ay[t]);Sy.forEach((function(t){if(t.pluginName===e.pluginName)throw"Sortable: Cannot mount plugin ".concat(e.pluginName," more than once")})),Sy.push(e)},pluginEvent:function(e,t,n){var r=this;this.eventCanceled=!1,n.cancel=function(){r.eventCanceled=!0};var i=e+"Global";Sy.forEach((function(r){t[r.pluginName]&&(t[r.pluginName][i]&&t[r.pluginName][i]($b({sortable:t},n)),t.options[r.pluginName]&&t[r.pluginName][e]&&t[r.pluginName][e]($b({sortable:t},n)))}))},initializePlugins:function(e,t,n,r){for(var i in Sy.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,Ub(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 Sy.forEach((function(r){"function"==typeof r.eventProperties&&Ub(n,r.eventProperties.call(t[r.pluginName],e))})),n},modifyOption:function(e,t,n){var r;return Sy.forEach((function(i){e[i.pluginName]&&i.optionListeners&&"function"==typeof i.optionListeners[t]&&(r=i.optionListeners[t].call(e[i.pluginName],n))})),r}},Ty=["evt"],My=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,Ty);Ey.pluginEvent.bind(w_)(e,t,$b({dragEl:Dy,parentEl:Ny,ghostEl:Oy,rootEl:Fy,nextEl:Ry,lastDownEl:Iy,cloneEl:zy,cloneHidden:Py,dragStarted:Xy,putSortable:Hy,activeSortable:w_.active,originalEvent:r,oldIndex:By,oldDraggableIndex:Yy,newIndex:jy,newDraggableIndex:$y,hideGhostForTarget:v_,unhideGhostForTarget:b_,cloneNowHidden:function(){Py=!0},cloneNowShown:function(){Py=!1},dispatchSortableEvent:function(e){Ly({sortable:t,name:e,originalEvent:r})}},i))};function Ly(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[Cy]){var g,m=t.options,v="on"+r.charAt(0).toUpperCase()+r.substr(1);!window.CustomEvent||Vb||Gb?(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=$b($b({},p),Ey.getEventProperties(r,t));for(var y in b)g[y]=b[y];n&&n.dispatchEvent(g),m[v]&&m[v].call(t,g)}}($b({putSortable:Hy,cloneEl:zy,targetEl:Dy,rootEl:Fy,oldIndex:By,oldDraggableIndex:Yy,newIndex:jy,newDraggableIndex:$y},e))}var Dy,Ny,Oy,Fy,Ry,Iy,zy,Py,By,jy,Yy,$y,qy,Hy,Uy,Wy,Vy,Gy,Ky,Zy,Xy,Jy,Qy,e_,t_,n_=!1,r_=!1,i_=[],o_=!1,a_=!1,s_=[],l_=!1,c_=[],u_="undefined"!=typeof document,d_=Xb,f_=Gb||Vb?"cssFloat":"float",h_=u_&&!Jb&&!Xb&&"draggable"in document.createElement("div"),p_=function(){if(u_){if(Vb)return!1;var e=document.createElement("x");return e.style.cssText="pointer-events:auto","auto"===e.style.pointerEvents}}(),g_=function(e,t){var n=ly(e),r=parseInt(n.width)-parseInt(n.paddingLeft)-parseInt(n.paddingRight)-parseInt(n.borderLeftWidth)-parseInt(n.borderRightWidth),i=py(e,0,t),o=py(e,1,t),a=i&&ly(i),s=o&&ly(o),l=a&&parseInt(a.marginLeft)+parseInt(a.marginRight)+fy(i).width,c=s&&parseInt(s.marginLeft)+parseInt(s.marginRight)+fy(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[f_]||o&&"none"===n[f_]&&l+c>r)?"vertical":"horizontal"},m_=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"==qb(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},v_=function(){!p_&&Oy&&ly(Oy,"display","none")},b_=function(){!p_&&Oy&&ly(Oy,"display","")};u_&&!Jb&&document.addEventListener("click",(function(e){if(r_)return e.preventDefault(),e.stopPropagation&&e.stopPropagation(),e.stopImmediatePropagation&&e.stopImmediatePropagation(),r_=!1,!1}),!0);var y_=function(e){if(Dy){var t=function(e,t){var n;return i_.some((function(r){var i=r[Cy].options.emptyInsertThreshold;if(i&&!gy(r)){var o=fy(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[Cy]._onDragOver(n)}}},__=function(e){Dy&&Dy.parentNode[Cy]._isOutsideThisEl(e.target)};function w_(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=Ub({},t),e[Cy]=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 g_(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!==w_.supportPointer&&"PointerEvent"in window&&(!Zb||Xb),emptyInsertThreshold:5};for(var r in Ey.initializePlugins(this,e,n),n)!(r in t)&&(t[r]=n[r]);for(var i in m_(t),this)"_"===i.charAt(0)&&"function"==typeof this[i]&&(this[i]=this[i].bind(this));this.nativeDraggable=!t.forceFallback&&h_,this.nativeDraggable&&(this.options.touchStartThreshold=1),t.supportPointer?ey(e,"pointerdown",this._onTapStart):(ey(e,"mousedown",this._onTapStart),ey(e,"touchstart",this._onTapStart)),this.nativeDraggable&&(ey(e,"dragover",this),ey(e,"dragenter",this)),i_.push(this.el),t.store&&t.store.get&&this.sort(t.store.get(this)||[]),Ub(this,function(){var e,t=[];return{captureAnimationState:function(){t=[],this.options.animation&&[].slice.call(this.el.children).forEach((function(e){if("none"!==ly(e,"display")&&e!==w_.ghost){t.push({target:e,rect:fy(e)});var n=$b({},t[t.length-1].rect);if(e.thisAnimationDuration){var r=cy(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=fy(n),l=n.prevFromRect,c=n.prevToRect,u=e.rect,d=cy(n,!0);d&&(s.top-=d.f,s.left-=d.e),n.toRect=s,n.thisAnimationDuration&&yy(l,s)&&!yy(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)),yy(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){ly(e,"transition",""),ly(e,"transform","");var i=cy(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,ly(e,"transform","translate3d("+s+"px,"+l+"px,0)"),this.forRepaintDummy=function(e){return e.offsetWidth}(e),ly(e,"transition","transform "+r+"ms"+(this.options.easing?" "+this.options.easing:"")),ly(e,"transform","translate3d(0,0,0)"),"number"==typeof e.animated&&clearTimeout(e.animated),e.animated=setTimeout((function(){ly(e,"transition",""),ly(e,"transform",""),e.animated=!1,e.animatingX=!1,e.animatingY=!1}),r)}}}}())}function x_(e,t,n,r,i,o,a,s){var l,c,u=e[Cy],d=u.options.onMove;return!window.CustomEvent||Vb||Gb?(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||fy(t),l.willInsertAfter=s,l.originalEvent=a,e.dispatchEvent(l),d&&(c=d.call(u,l,a)),c}function k_(e){e.draggable=!1}function C_(){l_=!1}function S_(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 A_(e){return setTimeout(e,0)}function E_(e){return clearTimeout(e)}w_.prototype={constructor:w_,_isOutsideThisEl:function(e){this.el.contains(e)||e===this.el||(Jy=null)},_getDirection:function(e,t){return"function"==typeof this.options.direction?this.options.direction.call(this,e,t,Dy):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){c_.length=0;for(var t=e.getElementsByTagName("input"),n=t.length;n--;){var r=t[n];r.checked&&c_.push(r)}}(n),!Dy&&!(/mousedown|pointerdown/.test(o)&&0!==e.button||r.disabled)&&!l.isContentEditable&&(this.nativeDraggable||!Zb||!s||"SELECT"!==s.tagName.toUpperCase())&&!((s=iy(s,r.draggable,n,!1))&&s.animated||Iy===s)){if(By=my(s),Yy=my(s,r.draggable),"function"==typeof c){if(c.call(this,e,s,this))return Ly({sortable:t,rootEl:l,name:"filter",targetEl:s,toEl:n,fromEl:n}),My("filter",t,{evt:e}),void(i&&e.preventDefault())}else if(c&&(c=c.split(",").some((function(r){if(r=iy(l,r.trim(),n,!1))return Ly({sortable:t,rootEl:r,name:"filter",targetEl:s,fromEl:n,toEl:n}),My("filter",t,{evt:e}),!0}))))return void(i&&e.preventDefault());r.handle&&!iy(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&&!Dy&&n.parentNode===o){var l=fy(n);if(Fy=o,Ny=(Dy=n).parentNode,Ry=Dy.nextSibling,Iy=n,qy=a.group,w_.dragged=Dy,Uy={target:Dy,clientX:(t||e).clientX,clientY:(t||e).clientY},Ky=Uy.clientX-l.left,Zy=Uy.clientY-l.top,this._lastX=(t||e).clientX,this._lastY=(t||e).clientY,Dy.style["will-change"]="all",r=function(){My("delayEnded",i,{evt:e}),w_.eventCanceled?i._onDrop():(i._disableDelayedDragEvents(),!Kb&&i.nativeDraggable&&(Dy.draggable=!0),i._triggerDragStart(e,t),Ly({sortable:i,name:"choose",originalEvent:e}),sy(Dy,a.chosenClass,!0))},a.ignore.split(",").forEach((function(e){uy(Dy,e.trim(),k_)})),ey(s,"dragover",y_),ey(s,"mousemove",y_),ey(s,"touchmove",y_),a.supportPointer?(ey(s,"pointerup",i._onDrop),!this.nativeDraggable&&ey(s,"pointercancel",i._onDrop)):(ey(s,"mouseup",i._onDrop),ey(s,"touchend",i._onDrop),ey(s,"touchcancel",i._onDrop)),Kb&&this.nativeDraggable&&(this.options.touchStartThreshold=4,Dy.draggable=!0),My("delayStart",this,{evt:e}),!a.delay||a.delayOnTouchOnly&&!t||this.nativeDraggable&&(Gb||Vb))r();else{if(w_.eventCanceled)return void this._onDrop();a.supportPointer?(ey(s,"pointerup",i._disableDelayedDrag),ey(s,"pointercancel",i._disableDelayedDrag)):(ey(s,"mouseup",i._disableDelayedDrag),ey(s,"touchend",i._disableDelayedDrag),ey(s,"touchcancel",i._disableDelayedDrag)),ey(s,"mousemove",i._delayedDragTouchMoveHandler),ey(s,"touchmove",i._delayedDragTouchMoveHandler),a.supportPointer&&ey(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(){Dy&&k_(Dy),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var e=this.el.ownerDocument;ty(e,"mouseup",this._disableDelayedDrag),ty(e,"touchend",this._disableDelayedDrag),ty(e,"touchcancel",this._disableDelayedDrag),ty(e,"pointerup",this._disableDelayedDrag),ty(e,"pointercancel",this._disableDelayedDrag),ty(e,"mousemove",this._delayedDragTouchMoveHandler),ty(e,"touchmove",this._delayedDragTouchMoveHandler),ty(e,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(e,t){t=t||"touch"==e.pointerType&&e,!this.nativeDraggable||t?this.options.supportPointer?ey(document,"pointermove",this._onTouchMove):ey(document,t?"touchmove":"mousemove",this._onTouchMove):(ey(Dy,"dragend",this),ey(Fy,"dragstart",this._onDragStart));try{document.selection?A_((function(){document.selection.empty()})):window.getSelection().removeAllRanges()}catch(e){}},_dragStarted:function(e,t){if(n_=!1,Fy&&Dy){My("dragStarted",this,{evt:t}),this.nativeDraggable&&ey(document,"dragover",__);var n=this.options;!e&&sy(Dy,n.dragClass,!1),sy(Dy,n.ghostClass,!0),w_.active=this,e&&this._appendGhost(),Ly({sortable:this,name:"start",originalEvent:t})}else this._nulling()},_emulateDragOver:function(){if(Wy){this._lastX=Wy.clientX,this._lastY=Wy.clientY,v_();for(var e=document.elementFromPoint(Wy.clientX,Wy.clientY),t=e;e&&e.shadowRoot&&(e=e.shadowRoot.elementFromPoint(Wy.clientX,Wy.clientY))!==t;)t=e;if(Dy.parentNode[Cy]._isOutsideThisEl(e),t)do{if(t[Cy]&&t[Cy]._onDragOver({clientX:Wy.clientX,clientY:Wy.clientY,target:e,rootEl:t})&&!this.options.dragoverBubble)break;e=t}while(t=ry(t));b_()}},_onTouchMove:function(e){if(Uy){var t=this.options,n=t.fallbackTolerance,r=t.fallbackOffset,i=e.touches?e.touches[0]:e,o=Oy&&cy(Oy,!0),a=Oy&&o&&o.a,s=Oy&&o&&o.d,l=d_&&t_&&vy(t_),c=(i.clientX-Uy.clientX+r.x)/(a||1)+(l?l[0]-s_[0]:0)/(a||1),u=(i.clientY-Uy.clientY+r.y)/(s||1)+(l?l[1]-s_[1]:0)/(s||1);if(!w_.active&&!n_){if(n&&Math.max(Math.abs(i.clientX-this._lastX),Math.abs(i.clientY-this._lastY))<n)return;this._onDragStart(e,!0)}if(Oy){o?(o.e+=c-(Vy||0),o.f+=u-(Gy||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,")");ly(Oy,"webkitTransform",d),ly(Oy,"mozTransform",d),ly(Oy,"msTransform",d),ly(Oy,"transform",d),Vy=c,Gy=u,Wy=i}e.cancelable&&e.preventDefault()}},_appendGhost:function(){if(!Oy){var e=this.options.fallbackOnBody?document.body:Fy,t=fy(Dy,!0,d_,!0,e),n=this.options;if(d_){for(t_=e;"static"===ly(t_,"position")&&"none"===ly(t_,"transform")&&t_!==document;)t_=t_.parentNode;t_!==document.body&&t_!==document.documentElement?(t_===document&&(t_=dy()),t.top+=t_.scrollTop,t.left+=t_.scrollLeft):t_=dy(),s_=vy(t_)}sy(Oy=Dy.cloneNode(!0),n.ghostClass,!1),sy(Oy,n.fallbackClass,!0),sy(Oy,n.dragClass,!0),ly(Oy,"transition",""),ly(Oy,"transform",""),ly(Oy,"box-sizing","border-box"),ly(Oy,"margin",0),ly(Oy,"top",t.top),ly(Oy,"left",t.left),ly(Oy,"width",t.width),ly(Oy,"height",t.height),ly(Oy,"opacity","0.8"),ly(Oy,"position",d_?"absolute":"fixed"),ly(Oy,"zIndex","100000"),ly(Oy,"pointerEvents","none"),w_.ghost=Oy,e.appendChild(Oy),ly(Oy,"transform-origin",Ky/parseInt(Oy.style.width)*100+"% "+Zy/parseInt(Oy.style.height)*100+"%")}},_onDragStart:function(e,t){var n=this,r=e.dataTransfer,i=n.options;My("dragStart",this,{evt:e}),w_.eventCanceled?this._onDrop():(My("setupClone",this),w_.eventCanceled||((zy=xy(Dy)).removeAttribute("id"),zy.draggable=!1,zy.style["will-change"]="",this._hideClone(),sy(zy,this.options.chosenClass,!1),w_.clone=zy),n.cloneId=A_((function(){My("clone",n),w_.eventCanceled||(n.options.removeCloneOnHide||Fy.insertBefore(zy,Dy),n._hideClone(),Ly({sortable:n,name:"clone"}))})),!t&&sy(Dy,i.dragClass,!0),t?(r_=!0,n._loopId=setInterval(n._emulateDragOver,50)):(ty(document,"mouseup",n._onDrop),ty(document,"touchend",n._onDrop),ty(document,"touchcancel",n._onDrop),r&&(r.effectAllowed="move",i.setData&&i.setData.call(n,r,Dy)),ey(document,"drop",n),ly(Dy,"transform","translateZ(0)")),n_=!0,n._dragStartId=A_(n._dragStarted.bind(n,t,e)),ey(document,"selectstart",n),Xy=!0,window.getSelection().removeAllRanges(),Zb&&ly(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=w_.active,u=qy===l,d=s.sort,f=Hy||c,h=this,p=!1;if(!l_){if(void 0!==e.preventDefault&&e.cancelable&&e.preventDefault(),a=iy(a,s.draggable,o,!0),M("dragOver"),w_.eventCanceled)return p;if(Dy.contains(e.target)||a.animated&&a.animatingX&&a.animatingY||h._ignoreWhileAnimating===a)return D(!1);if(r_=!1,c&&!s.disabled&&(u?d||(r=Ny!==Fy):Hy===this||(this.lastPutMode=qy.checkPull(this,c,Dy,e))&&l.checkPut(this,c,Dy,e))){if(i="vertical"===this._getDirection(e,a),t=fy(Dy),M("dragOverValid"),w_.eventCanceled)return p;if(r)return Ny=Fy,L(),this._hideClone(),M("revert"),w_.eventCanceled||(Ry?Fy.insertBefore(Dy,Ry):Fy.appendChild(Dy)),D(!0);var g=gy(o,s.draggable);if(!g||function(e,t,n){var r=fy(gy(n.el,n.options.draggable)),i=ky(n.el,n.options,Oy);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===Dy)return D(!1);if(g&&o===e.target&&(a=g),a&&(n=fy(a)),!1!==x_(Fy,o,Dy,t,a,n,e,!!a))return L(),g&&g.nextSibling?o.insertBefore(Dy,g.nextSibling):o.appendChild(Dy),Ny=o,N(),D(!0)}else if(g&&function(e,t,n){var r=fy(py(n.el,0,n.options,!0)),i=ky(n.el,n.options,Oy);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=py(o,0,s,!0);if(m===Dy)return D(!1);if(n=fy(a=m),!1!==x_(Fy,o,Dy,t,a,n,e,!1))return L(),o.insertBefore(Dy,m),Ny=o,N(),D(!0)}else if(a.parentNode===o){n=fy(a);var v,b,y,_=Dy.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}(Dy.animated&&Dy.toRect||t,a.animated&&a.toRect||n,i),x=i?"top":"left",k=hy(a,"top","top")||hy(Dy,"top","top"),C=k?k.scrollTop:void 0;if(Jy!==a&&(b=n[x],o_=!1,a_=!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&&e_<c*i){if(!o_&&(1===Qy?l>u+c*o/2:l<d-c*o/2)&&(o_=!0),o_)f=!0;else if(1===Qy?l<u+e_:l>d-e_)return-Qy}else if(l>u+c*(1-i)/2&&l<d-c*(1-i)/2)return function(e){return my(Dy)<my(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,a_,Jy===a),0!==v){var S=my(Dy);do{S-=v,y=Ny.children[S]}while(y&&("none"===ly(y,"display")||y===Oy))}if(0===v||y===a)return D(!1);Jy=a,Qy=v;var A=a.nextElementSibling,E=!1,T=x_(Fy,o,Dy,t,a,n,e,E=1===v);if(!1!==T)return 1!==T&&-1!==T||(E=1===T),l_=!0,setTimeout(C_,30),L(),E&&!A?o.appendChild(Dy):a.parentNode.insertBefore(Dy,E?A:a),k&&wy(k,0,C-k.scrollTop),Ny=Dy.parentNode,void 0===b||a_||(e_=Math.abs(b-fy(a)[x])),N(),D(!0)}if(o.contains(Dy))return D(!1)}return!1}function M(s,l){My(s,h,$b({evt:e,isOwner:u,axis:i?"vertical":"horizontal",revert:r,dragRect:t,targetRect:n,canSort:d,fromSortable:f,target:a,completed:D,onMove:function(n,r){return x_(Fy,o,Dy,t,n,fy(n),e,r)},changed:N},l))}function L(){M("dragOverAnimationCapture"),h.captureAnimationState(),h!==f&&f.captureAnimationState()}function D(t){return M("dragOverCompleted",{insertion:t}),t&&(u?c._hideClone():c._showClone(h),h!==f&&(sy(Dy,Hy?Hy.options.ghostClass:c.options.ghostClass,!1),sy(Dy,s.ghostClass,!0)),Hy!==h&&h!==w_.active?Hy=h:h===w_.active&&Hy&&(Hy=null),f===h&&(h._ignoreWhileAnimating=a),h.animateAll((function(){M("dragOverAnimationComplete"),h._ignoreWhileAnimating=null})),h!==f&&(f.animateAll(),f._ignoreWhileAnimating=null)),(a===Dy&&!Dy.animated||a===o&&!a.animated)&&(Jy=null),s.dragoverBubble||e.rootEl||a===document||(Dy.parentNode[Cy]._isOutsideThisEl(e.target),!t&&y_(e)),!s.dragoverBubble&&e.stopPropagation&&e.stopPropagation(),p=!0}function N(){jy=my(Dy),$y=my(Dy,s.draggable),Ly({sortable:h,name:"change",toEl:o,newIndex:jy,newDraggableIndex:$y,originalEvent:e})}},_ignoreWhileAnimating:null,_offMoveEvents:function(){ty(document,"mousemove",this._onTouchMove),ty(document,"touchmove",this._onTouchMove),ty(document,"pointermove",this._onTouchMove),ty(document,"dragover",y_),ty(document,"mousemove",y_),ty(document,"touchmove",y_)},_offUpEvents:function(){var e=this.el.ownerDocument;ty(e,"mouseup",this._onDrop),ty(e,"touchend",this._onDrop),ty(e,"pointerup",this._onDrop),ty(e,"pointercancel",this._onDrop),ty(e,"touchcancel",this._onDrop),ty(document,"selectstart",this)},_onDrop:function(e){var t=this.el,n=this.options;jy=my(Dy),$y=my(Dy,n.draggable),My("drop",this,{evt:e}),Ny=Dy&&Dy.parentNode,jy=my(Dy),$y=my(Dy,n.draggable),w_.eventCanceled||(n_=!1,a_=!1,o_=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),E_(this.cloneId),E_(this._dragStartId),this.nativeDraggable&&(ty(document,"drop",this),ty(t,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),Zb&&ly(document.body,"user-select",""),ly(Dy,"transform",""),e&&(Xy&&(e.cancelable&&e.preventDefault(),!n.dropBubble&&e.stopPropagation()),Oy&&Oy.parentNode&&Oy.parentNode.removeChild(Oy),(Fy===Ny||Hy&&"clone"!==Hy.lastPutMode)&&zy&&zy.parentNode&&zy.parentNode.removeChild(zy),Dy&&(this.nativeDraggable&&ty(Dy,"dragend",this),k_(Dy),Dy.style["will-change"]="",Xy&&!n_&&sy(Dy,Hy?Hy.options.ghostClass:this.options.ghostClass,!1),sy(Dy,this.options.chosenClass,!1),Ly({sortable:this,name:"unchoose",toEl:Ny,newIndex:null,newDraggableIndex:null,originalEvent:e}),Fy!==Ny?(jy>=0&&(Ly({rootEl:Ny,name:"add",toEl:Ny,fromEl:Fy,originalEvent:e}),Ly({sortable:this,name:"remove",toEl:Ny,originalEvent:e}),Ly({rootEl:Ny,name:"sort",toEl:Ny,fromEl:Fy,originalEvent:e}),Ly({sortable:this,name:"sort",toEl:Ny,originalEvent:e})),Hy&&Hy.save()):jy!==By&&jy>=0&&(Ly({sortable:this,name:"update",toEl:Ny,originalEvent:e}),Ly({sortable:this,name:"sort",toEl:Ny,originalEvent:e})),w_.active&&(null!=jy&&-1!==jy||(jy=By,$y=Yy),Ly({sortable:this,name:"end",toEl:Ny,originalEvent:e}),this.save())))),this._nulling()},_nulling:function(){My("nulling",this),Fy=Dy=Ny=Oy=Ry=zy=Iy=Py=Uy=Wy=Xy=jy=$y=By=Yy=Jy=Qy=Hy=qy=w_.dragged=w_.ghost=w_.clone=w_.active=null,c_.forEach((function(e){e.checked=!0})),c_.length=Vy=Gy=0},handleEvent:function(e){switch(e.type){case"drop":case"dragend":this._onDrop(e);break;case"dragenter":case"dragover":Dy&&(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++)iy(e=n[r],o.draggable,this.el,!1)&&t.push(e.getAttribute(o.dataIdAttr)||S_(e));return t},sort:function(e,t){var n={},r=this.el;this.toArray().forEach((function(e,t){var i=r.children[t];iy(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 iy(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=Ey.modifyOption(this,e,t);n[e]=void 0!==r?r:t,"group"===e&&m_(n)},destroy:function(){My("destroy",this);var e=this.el;e[Cy]=null,ty(e,"mousedown",this._onTapStart),ty(e,"touchstart",this._onTapStart),ty(e,"pointerdown",this._onTapStart),this.nativeDraggable&&(ty(e,"dragover",this),ty(e,"dragenter",this)),Array.prototype.forEach.call(e.querySelectorAll("[draggable]"),(function(e){e.removeAttribute("draggable")})),this._onDrop(),this._disableDelayedDragEvents(),i_.splice(i_.indexOf(this.el),1),this.el=e=null},_hideClone:function(){if(!Py){if(My("hideClone",this),w_.eventCanceled)return;ly(zy,"display","none"),this.options.removeCloneOnHide&&zy.parentNode&&zy.parentNode.removeChild(zy),Py=!0}},_showClone:function(e){if("clone"===e.lastPutMode){if(Py){if(My("showClone",this),w_.eventCanceled)return;Dy.parentNode!=Fy||this.options.group.revertClone?Ry?Fy.insertBefore(zy,Ry):Fy.appendChild(zy):Fy.insertBefore(zy,Dy),this.options.group.revertClone&&this.animate(Dy,zy),ly(zy,"display",""),Py=!1}}else this._hideClone()}},u_&&ey(document,"touchmove",(function(e){(w_.active||n_)&&e.cancelable&&e.preventDefault()})),w_.utils={on:ey,off:ty,css:ly,find:uy,is:function(e,t){return!!iy(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:_y,closest:iy,toggleClass:sy,clone:xy,index:my,nextTick:A_,cancelNextTick:E_,detectDirection:g_,getChild:py,expando:Cy},w_.get=function(e){return e[Cy]},w_.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&&(w_.utils=$b($b({},w_.utils),e.utils)),Ey.mount(e)}))},w_.create=function(e,t){return new w_(e,t)},w_.version="1.15.6";var T_,M_,L_,D_,N_,O_,F_=[],R_=!1;function I_(){F_.forEach((function(e){clearInterval(e.pid)})),F_=[]}function z_(){clearInterval(O_)}var P_,B_=_y((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=dy(),u=!1;M_!==n&&(M_=n,I_(),T_=t.scroll,i=t.scrollFn,!0===T_&&(T_=by(n,!0)));var d=0,f=T_;do{var h=f,p=fy(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=ly(h),A=h.scrollLeft,E=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 T=w&&(Math.abs(b-o)<=s&&A+y<k)-(Math.abs(v-o)<=s&&!!A),M=x&&(Math.abs(m-a)<=s&&E+_<C)-(Math.abs(g-a)<=s&&!!E);if(!F_[d])for(var L=0;L<=d;L++)F_[L]||(F_[L]={});F_[d].vx==T&&F_[d].vy==M&&F_[d].el===h||(F_[d].el=h,F_[d].vx=T,F_[d].vy=M,clearInterval(F_[d].pid),0==T&&0==M||(u=!0,F_[d].pid=setInterval(function(){r&&0===this.layer&&w_.active._onTouchMove(N_);var t=F_[this.layer].vy?F_[this.layer].vy*l:0,n=F_[this.layer].vx?F_[this.layer].vx*l:0;"function"==typeof i&&"continue"!==i.call(w_.dragged.parentNode[Cy],n,t,e,N_,F_[this.layer].el)||wy(F_[this.layer].el,n,t)}.bind({layer:d}),24))),d++}while(t.bubbleScroll&&f!==c&&(f=by(f,!1)));R_=u}}),30),j_=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 Y_(){}function $_(){}Y_.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=py(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:j_},Ub(Y_,{pluginName:"revertOnSpill"}),$_.prototype={onSpill:function(e){var t=e.dragEl,n=e.putSortable||this.sortable;n.captureAnimationState(),t.parentNode&&t.parentNode.removeChild(t),n.animateAll()},drop:j_},Ub($_,{pluginName:"removeOnSpill"}),w_.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?ey(document,"dragover",this._handleAutoScroll):this.options.supportPointer?ey(document,"pointermove",this._handleFallbackAutoScroll):t.touches?ey(document,"touchmove",this._handleFallbackAutoScroll):ey(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(e){var t=e.originalEvent;this.options.dragOverBubble||t.rootEl||this._handleAutoScroll(t)},drop:function(){this.sortable.nativeDraggable?ty(document,"dragover",this._handleAutoScroll):(ty(document,"pointermove",this._handleFallbackAutoScroll),ty(document,"touchmove",this._handleFallbackAutoScroll),ty(document,"mousemove",this._handleFallbackAutoScroll)),z_(),I_(),clearTimeout(oy),oy=void 0},nulling:function(){N_=M_=T_=R_=O_=L_=D_=null,F_.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(N_=e,t||this.options.forceAutoScrollFallback||Gb||Vb||Zb){B_(e,this.options,o,t);var a=by(o,!0);!R_||O_&&r===L_&&i===D_||(O_&&z_(),O_=setInterval((function(){var o=by(document.elementFromPoint(r,i),!0);o!==a&&(a=o,I_()),B_(e,n.options,o,t)}),10),L_=r,D_=i)}else{if(!this.options.bubbleScroll||by(o,!0)===dy())return void I_();B_(e,this.options,by(o,!1),!1)}}},Ub(e,{pluginName:"scroll",initializeByDefault:!0})}),w_.mount($_,Y_);const q_="dnd-drag-handle",H_="dnd-drag-enabled";w_.mount(new function(){function e(){this.defaults={swapClass:"sortable-swap-highlight"}}return e.prototype={dragStart:function(e){var t=e.dragEl;P_=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=P_;!1!==r(n)?(sy(n,l.swapClass,!0),P_=n):P_=null,c&&c!==P_&&sy(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;P_&&sy(P_,o.swapClass,!1),P_&&(o.swap||n&&n.options.swap)&&r!==P_&&(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=my(e),r=my(t),i.isEqualNode(o)&&n<r&&r++,i.insertBefore(t,i.children[n]),o.insertBefore(e,o.children[r]))}(r,P_),i.animateAll(),i!==t&&t.animateAll())},nulling:function(){P_=null}},Ub(e,{pluginName:"swap",eventProperties:function(){return{swapItem:P_}}})});const U_=({className:e,options:t,kind:n="default",children:r,...o})=>{const a=(0,i.li)(null);return((e,t)=>{(0,i.vJ)((()=>{if(e.current){const n=w_.create(e.current,{animation:150,handle:`.${q_}`,draggable:`.${H_}`,...t});return()=>{n.destroy()}}}),[e,t])})(a,(0,i.Kr)((()=>({...t,..."swap"===n&&{swap:!0,swapClass:"dnd-drag-swap-highlight"}})),[t,n])),Wt("div",{ref:a,className:D("styles_grid__bgsAQ",e),...o,children:r})},W_=({className:e})=>Wt(Gt,{id:Vt.draggable,className:e});const V_=({className:e})=>Wt("div",{className:D("styles_drag-handle__2DC4-",q_,e),children:Wt(W_,{})});const G_=({className:e,children:t,dndEnabled:n=!1,...r})=>Wt("div",{...r,className:D("styles_grid-item__-kGp3",{[H_]:n},e),children:[Wt("div",{className:"styles_grid-item-content__hZ5TS",children:t}),n&&Wt(V_,{className:"styles_grid-item-handle__OyO7A"})]}),K_=({locale:e,setLocale:t,availableLocales:n})=>{const r=n||Object.keys(An),i=[...new Set(r)].map((e=>({key:e,value:An[e].full})));return Wt(uh,{size:"s",menuTrigger:({isOpened:t,onClick:n})=>Wt(rn,{style:"ghost",size:"s",text:An[e]&&An[e].short||An.en.short,isExpanded:t,onClick:n}),children:Wt(uh.Section,{children:i.map((({key:n,value:r})=>Wt(uh.ItemWithCheckmark,{onClick:()=>{t(n)},isChecked:e===n,children:r},n)))})})},Z_={light:Vt.lineShapesSun,dark:Vt.lineShapesMoon,auto:Vt.lineShapesThemeAuto},X_=({theme:e,toggleTheme:t})=>Wt(nn,{onClick:t,style:"ghost",icon:Z_[e],size:"s"});var J_="styles_label__IW9cn";const Q_=e=>{const{icon:t,children:n,tooltip:r,className:i,style:o="secondary",...a}=e,s=Wt("div",{className:D("styles_wrapper__elS6G",i),children:[Wt(Gt,{className:"styles_icon__GXXnU",id:t}),Wt(Zt,{className:"styles_text__fEQgL",type:"ui",size:"s",bold:!0,children:n})]});return Wt("div",r?{className:J_,...a,"data-style":o,children:Wt(Ef,{tooltipText:r,children:s})}:{className:J_,...a,"data-style":o,children:s})};var ew=mw(),tw=e=>fw(e,ew),nw=mw();tw.write=e=>fw(e,nw);var rw=mw();tw.onStart=e=>fw(e,rw);var iw=mw();tw.onFrame=e=>fw(e,iw);var ow=mw();tw.onFinish=e=>fw(e,ow);var aw=[];tw.setTimeout=(e,t)=>{const n=tw.now()+t,r=()=>{const e=aw.findIndex((e=>e.cancel==r));~e&&aw.splice(e,1),uw-=~e?1:0},i={time:n,handler:e,cancel:r};return aw.splice(sw(n),0,i),uw+=1,hw(),i};var sw=e=>~(~aw.findIndex((t=>t.time>e))||~aw.length);tw.cancel=e=>{rw.delete(e),iw.delete(e),ow.delete(e),ew.delete(e),nw.delete(e)},tw.sync=e=>{dw=!0,tw.batchedUpdates(e),dw=!1},tw.throttle=e=>{let t;function n(){try{e(...t)}finally{t=null}}function r(...e){t=e,tw.onStart(n)}return r.handler=e,r.cancel=()=>{rw.delete(n),t=null},r};var lw="undefined"!=typeof window?window.requestAnimationFrame:()=>{};tw.use=e=>lw=e,tw.now="undefined"!=typeof performance?()=>performance.now():Date.now,tw.batchedUpdates=e=>e(),tw.catch=console.error,tw.frameLoop="always",tw.advance=()=>{"demand"!==tw.frameLoop?console.warn("Cannot call the manual advancement of rafz whilst frameLoop is not set as demand"):gw()};var cw=-1,uw=0,dw=!1;function fw(e,t){dw?(t.delete(e),e(0)):(t.add(e),hw())}function hw(){cw<0&&(cw=0,"demand"!==tw.frameLoop&&lw(pw))}function pw(){~cw&&(lw(pw),tw.batchedUpdates(gw))}function gw(){const e=cw;cw=tw.now();const t=sw(cw);t&&(vw(aw.splice(0,t),(e=>e.handler())),uw-=t),uw?(rw.flush(),ew.flush(e?Math.min(64,cw-e):16.667),iw.flush(),nw.flush(),ow.flush()):cw=-1}function mw(){let e=new Set,t=e;return{add(n){uw+=t!=e||e.has(n)?0:1,e.add(n)},delete:n=>(uw-=t==e&&e.has(n)?1:0,e.delete(n)),flush(n){t.size&&(e=new Set,uw-=t.size,vw(t,(t=>t(n)&&e.add(t))),uw+=e.size,t=e)}}}function vw(e,t){e.forEach((e=>{try{t(e)}catch(e){tw.catch(e)}}))}var bw=Object.defineProperty,yw={};function _w(){}((e,t)=>{for(var n in t)bw(e,n,{get:t[n],enumerable:!0})})(yw,{assign:()=>Fw,colors:()=>Dw,createStringInterpolator:()=>Ew,skipAnimation:()=>Nw,to:()=>Tw,willAdvance:()=>Ow});var ww={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 xw(e,t){if(ww.arr(e)){if(!ww.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 kw=(e,t)=>e.forEach(t);function Cw(e,t,n){if(ww.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 Sw=e=>ww.und(e)?[]:ww.arr(e)?e:[e];function Aw(e,t){if(e.size){const n=Array.from(e);e.clear(),kw(n,t)}}var Ew,Tw,Mw=(e,...t)=>Aw(e,(e=>e(...t))),Lw=()=>"undefined"==typeof window||!window.navigator||/ServerSideRendering|^Deno\//.test(window.navigator.userAgent),Dw=null,Nw=!1,Ow=_w,Fw=e=>{e.to&&(Tw=e.to),e.now&&(tw.now=e.now),void 0!==e.colors&&(Dw=e.colors),null!=e.skipAnimation&&(Nw=e.skipAnimation),e.createStringInterpolator&&(Ew=e.createStringInterpolator),e.requestAnimationFrame&&tw.use(e.requestAnimationFrame),e.batchedUpdates&&(tw.batchedUpdates=e.batchedUpdates),e.willAdvance&&(Ow=e.willAdvance),e.frameLoop&&(tw.frameLoop=e.frameLoop)},Rw=new Set,Iw=[],zw=[],Pw=0,Bw={get idle(){return!Rw.size&&!Iw.length},start(e){Pw>e.priority?(Rw.add(e),tw.onStart(jw)):(Yw(e),tw(qw))},advance:qw,sort(e){if(Pw)tw.onFrame((()=>Bw.sort(e)));else{const t=Iw.indexOf(e);~t&&(Iw.splice(t,1),$w(e))}},clear(){Iw=[],Rw.clear()}};function jw(){Rw.forEach(Yw),Rw.clear(),tw(qw)}function Yw(e){Iw.includes(e)||$w(e)}function $w(e){Iw.splice(function(e,t){const n=e.findIndex(t);return n<0?e.length:n}(Iw,(t=>t.priority>e.priority)),0,e)}function qw(e){const t=zw;for(let n=0;n<Iw.length;n++){const r=Iw[n];Pw=r.priority,r.idle||(Ow(r),r.advance(e),r.idle||t.push(r))}return Pw=0,(zw=Iw).length=0,(Iw=t).length>0}var Hw={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},Uw="[-+]?\\d*\\.?\\d+",Ww=Uw+"%";function Vw(...e){return"\\(\\s*("+e.join(")\\s*,\\s*(")+")\\s*\\)"}var Gw=new RegExp("rgb"+Vw(Uw,Uw,Uw)),Kw=new RegExp("rgba"+Vw(Uw,Uw,Uw,Uw)),Zw=new RegExp("hsl"+Vw(Uw,Ww,Ww)),Xw=new RegExp("hsla"+Vw(Uw,Ww,Ww,Uw)),Jw=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,Qw=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,ex=/^#([0-9a-fA-F]{6})$/,tx=/^#([0-9a-fA-F]{8})$/;function nx(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 rx(e,t,n){const r=n<.5?n*(1+t):n+t-n*t,i=2*n-r,o=nx(i,r,e+1/3),a=nx(i,r,e),s=nx(i,r,e-1/3);return Math.round(255*o)<<24|Math.round(255*a)<<16|Math.round(255*s)<<8}function ix(e){const t=parseInt(e,10);return t<0?0:t>255?255:t}function ox(e){return(parseFloat(e)%360+360)%360/360}function ax(e){const t=parseFloat(e);return t<0?0:t>1?255:Math.round(255*t)}function sx(e){const t=parseFloat(e);return t<0?0:t>100?1:t/100}function lx(e){let t=function(e){let t;return"number"==typeof e?e>>>0===e&&e>=0&&e<=4294967295?e:null:(t=ex.exec(e))?parseInt(t[1]+"ff",16)>>>0:Dw&&void 0!==Dw[e]?Dw[e]:(t=Gw.exec(e))?(ix(t[1])<<24|ix(t[2])<<16|ix(t[3])<<8|255)>>>0:(t=Kw.exec(e))?(ix(t[1])<<24|ix(t[2])<<16|ix(t[3])<<8|ax(t[4]))>>>0:(t=Jw.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+"ff",16)>>>0:(t=tx.exec(e))?parseInt(t[1],16)>>>0:(t=Qw.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+t[4]+t[4],16)>>>0:(t=Zw.exec(e))?(255|rx(ox(t[1]),sx(t[2]),sx(t[3])))>>>0:(t=Xw.exec(e))?(rx(ox(t[1]),sx(t[2]),sx(t[3]))|ax(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 cx=(e,t,n)=>{if(ww.fun(e))return e;if(ww.arr(e))return cx({range:e,output:t,extrapolate:n});if(ww.str(e.output[0]))return Ew(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)}},ux=Symbol.for("FluidValue.get"),dx=Symbol.for("FluidValue.observers"),fx=e=>Boolean(e&&e[ux]),hx=e=>e&&e[ux]?e[ux]():e,px=e=>e[dx]||null;function gx(e,t){const n=e[dx];n&&n.forEach((e=>{!function(e,t){e.eventObserved?e.eventObserved(t):e(t)}(e,t)}))}var mx=class{constructor(e){if(!e&&!(e=this.get))throw Error("Unknown getter");vx(this,e)}},vx=(e,t)=>wx(e,ux,t);function bx(e,t){if(e[ux]){let n=e[dx];n||wx(e,dx,n=new Set),n.has(t)||(n.add(t),e.observerAdded&&e.observerAdded(n.size,t))}return t}function yx(e,t){const n=e[dx];if(n&&n.has(t)){const r=n.size-1;r?n.delete(t):e[dx]=null,e.observerRemoved&&e.observerRemoved(r,t)}}var _x,wx=(e,t,n)=>Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0}),xx=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,kx=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,Cx=new RegExp(`(${xx.source})(%|[a-z]+)`,"i"),Sx=/rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi,Ax=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/,Ex=e=>{const[t,n]=Tx(e);if(!t||Lw())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&&Ax.test(n)?Ex(n):n||e},Tx=e=>{const t=Ax.exec(e);if(!t)return[,];const[,n,r]=t;return[n,r]},Mx=(e,t,n,r,i)=>`rgba(${Math.round(t)}, ${Math.round(n)}, ${Math.round(r)}, ${i})`,Lx=e=>{_x||(_x=Dw?new RegExp(`(${Object.keys(Dw).join("|")})(?!\\w)`,"g"):/^\b$/);const t=e.output.map((e=>hx(e).replace(Ax,Ex).replace(kx,lx).replace(_x,lx))),n=t.map((e=>e.match(xx).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=>cx({...e,output:t})));return e=>{const n=!Cx.test(t[0])&&t.find((e=>Cx.test(e)))?.replace(xx,"");let r=0;return t[0].replace(xx,(()=>`${i[r++](e)}${n||""}`)).replace(Sx,Mx)}},Dx="react-spring: ",Nx=e=>{const t=e;let n=!1;if("function"!=typeof t)throw new TypeError(`${Dx}once requires a function parameter`);return(...e)=>{n||(t(...e),n=!0)}},Ox=Nx(console.warn),Fx=Nx(console.warn);function Rx(e){return ww.str(e)&&("#"==e[0]||/\d/.test(e)||!Lw()&&Ax.test(e)||e in(Dw||{}))}var Ix=Lw()?s.vJ:s.Nf;function zx(){const e=(0,s.J0)()[1],t=(()=>{const e=(0,s.li)(!1);return Ix((()=>(e.current=!0,()=>{e.current=!1})),[]),e})();return()=>{t.current&&e(Math.random())}}var Px=e=>(0,s.vJ)(e,Bx),Bx=[];function jx(e){const t=(0,s.li)(void 0);return(0,s.vJ)((()=>{t.current=e})),t.current}var Yx=Symbol.for("Animated:node"),$x=e=>e&&e[Yx],qx=(e,t)=>{return n=e,r=Yx,i=t,Object.defineProperty(n,r,{value:i,writable:!0,configurable:!0});var n,r,i},Hx=e=>e&&e[Yx]&&e[Yx].getPayload(),Ux=class{constructor(){qx(this,this)}getPayload(){return this.payload||[]}},Wx=class e extends Ux{constructor(e){super(),this._value=e,this.done=!0,this.durationProgress=0,ww.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 ww.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,ww.num(this._value)&&(this.elapsedTime=0,this.durationProgress=0,this.lastPosition=this._value,e&&(this.lastVelocity=null),this.v0=null)}},Vx=class e extends Wx{constructor(e){super(0),this._string=null,this._toString=cx({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(ww.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=cx({output:[this.getValue(),e]})),this._value=0,super.reset()}},Gx={dependencies:null},Kx=class extends Ux{constructor(e){super(),this.source=e,this.setValue(e)}getValue(e){const t={};return Cw(this.source,((n,r)=>{var i;(i=n)&&i[Yx]===i?t[r]=n.getValue(e):fx(n)?t[r]=hx(n):e||(t[r]=n)})),t}setValue(e){this.source=e,this.payload=this._makePayload(e)}reset(){this.payload&&kw(this.payload,(e=>e.reset()))}_makePayload(e){if(e){const t=new Set;return Cw(e,this._addToPayload,t),Array.from(t)}}_addToPayload(e){Gx.dependencies&&fx(e)&&Gx.dependencies.add(e);const t=Hx(e);t&&kw(t,(e=>this.add(e)))}},Zx=class e extends Kx{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(Xx)),!0)}};function Xx(e){return(Rx(e)?Vx:Wx).create(e)}function Jx(e){const t=$x(e);return t?t.constructor:ww.arr(e)?Zx:Rx(e)?Vx:Wx}var Qx=(e,t)=>{const n=!ww.fun(e)||e.prototype&&e.prototype.isReactComponent;return(0,s.Rf)(((r,i)=>{const o=(0,s.li)(null),a=n&&(0,s.hb)((e=>{o.current=function(e,t){return e&&(ww.fun(e)?e(t):e.current=t),t}(i,e)}),[i]),[l,c]=function(e,t){const n=new Set;return Gx.dependencies=n,e.style&&(e={...e,style:t.createAnimatedStyle(e.style)}),e=new Kx(e),Gx.dependencies=null,[e,n]}(r,t),u=zx(),d=()=>{const e=o.current;n&&!e||!1===(!!e&&t.applyAnimatedValues(e,l.getValue(!0)))&&u()},f=new ek(d,c),h=(0,s.li)(void 0);Ix((()=>(h.current=f,kw(c,(e=>bx(e,f))),()=>{h.current&&(kw(h.current.deps,(e=>yx(e,h.current))),tw.cancel(h.current.update))}))),(0,s.vJ)(d,[]),Px((()=>()=>{const e=h.current;kw(e.deps,(t=>yx(t,e)))}));const p=t.getComponentProps(l.getValue());return s.n(e,{...p,ref:a})}))},ek=class{constructor(e,t){this.update=e,this.deps=t}eventObserved(e){"change"==e.type&&tw.write(this.update)}},tk=Symbol.for("AnimatedComponent"),nk=(e,{applyAnimatedValues:t=()=>!1,createAnimatedStyle:n=e=>new Kx(e),getComponentProps:r=e=>e}={})=>{const i={applyAnimatedValues:t,createAnimatedStyle:n,getComponentProps:r},o=e=>{const t=rk(e)||"Anonymous";return(e=ww.str(e)?o[e]||(o[e]=Qx(e,i)):e[tk]||(e[tk]=Qx(e,i))).displayName=`Animated(${t})`,e};return Cw(e,((t,n)=>{ww.arr(e)&&(n=rk(t)),o[n]=o(t)})),{animated:o}},rk=e=>ww.str(e)?e:e&&ww.str(e.displayName)?e.displayName:ww.fun(e)&&e.name||null;function ik(e,...t){return ww.fun(e)?e(...t):e}var ok=(e,t)=>!0===e||!!(t&&e&&(ww.fun(e)?e(t):Sw(e).includes(t))),ak=(e,t)=>ww.obj(e)?t&&e[t]:e,sk=(e,t)=>!0===e.default?e[t]:e.default?e.default[t]:void 0,lk=e=>e,ck=(e,t=lk)=>{let n=uk;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);ww.und(n)||(r[i]=n)}return r},uk=["config","onProps","onStart","onChange","onPause","onResume","onRest"],dk={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 fk(e){const t=function(e){const t={};let n=0;if(Cw(e,((e,r)=>{dk[r]||(t[r]=e,n++)})),n)return t}(e);if(t){const n={to:t};return Cw(e,((e,r)=>r in t||(n[r]=e))),n}return{...e}}function hk(e){return e=hx(e),ww.arr(e)?e.map(hk):Rx(e)?yw.createStringInterpolator({range:[0,1],output:[e,e]})(1):e}function pk(e){for(const t in e)return!0;return!1}function gk(e){return ww.fun(e)||ww.arr(e)&&ww.obj(e[0])}function mk(e,t){e.ref?.delete(e),t?.delete(e)}function vk(e,t){t&&e.ref!==t&&(e.ref?.delete(e),t.add(e),e.ref=t)}var bk={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}},yk={...bk.default,mass:1,damping:1,easing:e=>e,clamp:!1},_k=class{constructor(){this.velocity=0,Object.assign(this,yk)}};function wk(e,t){if(ww.und(t.decay)){const n=!ww.und(t.tension)||!ww.und(t.friction);!n&&ww.und(t.frequency)&&ww.und(t.damping)&&ww.und(t.mass)||(e.duration=void 0,e.decay=void 0),n&&(e.frequency=void 0)}else e.duration=void 0}var xk=[],kk=class{constructor(){this.changed=!1,this.values=xk,this.toValues=null,this.fromValues=xk,this.config=new _k,this.immediate=!1}};function Ck(e,{key:t,props:n,defaultProps:r,state:i,actions:o}){return new Promise(((a,s)=>{let l,c,u=ok(n.cancel??r?.cancel,t);if(u)h();else{ww.und(n.pause)||(i.paused=ok(n.pause,t));let e=r?.pause;!0!==e&&(e=i.paused||ok(e,t)),l=ik(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-tw.now()}function f(){l>0&&!yw.skipAnimation?(i.delayed=!0,c=tw.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 Sk=(e,t)=>1==t.length?t[0]:t.some((e=>e.cancelled))?Tk(e.get()):t.every((e=>e.noop))?Ak(e.get()):Ek(e.get(),t.every((e=>e.finished))),Ak=e=>({value:e,noop:!0,finished:!0,cancelled:!1}),Ek=(e,t,n=!1)=>({value:e,finished:t,cancelled:n}),Tk=e=>({value:e,cancelled:!0,finished:!1});function Mk(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=ck(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)&&Tk(r)||i!==n.asyncId&&Ek(r,!1);if(t)throw e.result=t,d(e),e},p=(e,t)=>{const o=new Dk,a=new Nk;return(async()=>{if(yw.skipAnimation)throw Lk(n),a.result=Ek(r,!1),d(a),a;h(o);const s=ww.obj(e)?{...e}:{...t,to:e};s.parentId=i,Cw(c,((e,t)=>{ww.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(yw.skipAnimation)return Lk(n),Ek(r,!1);try{let t;t=ww.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=Ek(r.get(),!0,!1)}catch(e){if(e instanceof Dk)g=e.result;else{if(!(e instanceof Nk))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 ww.fun(a)&&tw.batchedUpdates((()=>{a(g,r,r.item)})),g})():l}function Lk(e,t){Aw(e.timeouts,(e=>e.cancel())),e.pauseQueue.clear(),e.resumeQueue.clear(),e.asyncId=e.asyncTo=e.promise=void 0,t&&(e.cancelId=t)}var Dk=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.")}},Nk=class extends Error{constructor(){super("SkipAnimationSignal")}},Ok=e=>e instanceof Rk,Fk=1,Rk=class extends mx{constructor(){super(...arguments),this.id=Fk++,this._priority=0}get priority(){return this._priority}set priority(e){this._priority!=e&&(this._priority=e,this._onPriorityChange(e))}get(){const e=$x(this);return e&&e.getValue()}to(...e){return yw.to(this,e)}interpolate(...e){return Ox(`${Dx}The "interpolate" function is deprecated in v9 (use "to" instead)`),yw.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){gx(this,{type:"change",parent:this,value:e,idle:t})}_onPriorityChange(e){this.idle||Bw.sort(this),gx(this,{type:"priority",parent:this,priority:e})}},Ik=Symbol.for("SpringPhase"),zk=e=>(1&e[Ik])>0,Pk=e=>(2&e[Ik])>0,Bk=e=>(4&e[Ik])>0,jk=(e,t)=>t?e[Ik]|=3:e[Ik]&=-3,Yk=(e,t)=>t?e[Ik]|=4:e[Ik]&=-5,$k=class extends Rk{constructor(e,t){if(super(),this.animation=new kk,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,!ww.und(e)||!ww.und(t)){const n=ww.obj(e)?{...e}:{...t,from:e};ww.und(n.default)&&(n.default=!0),this.start(n)}}get idle(){return!(Pk(this)||this._state.asyncTo)||Bk(this)}get goal(){return hx(this.animation.to)}get velocity(){const e=$x(this);return e instanceof Wx?e.lastVelocity||0:e.getPayload().map((e=>e.lastVelocity||0))}get hasAnimated(){return zk(this)}get isAnimating(){return Pk(this)}get isPaused(){return Bk(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=Hx(r.to);!a&&fx(r.to)&&(i=Sw(hx(r.to))),r.values.forEach(((s,l)=>{if(s.done)return;const c=s.constructor==Vx?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=ww.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(ww.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=!ww.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=$x(this),l=s.getValue();if(t){const e=hx(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 tw.batchedUpdates((()=>{this._stop(),this._focus(e),this._set(e)})),this}pause(){this._update({pause:!0})}resume(){this._update({pause:!1})}finish(){if(Pk(this)){const{to:e,config:t}=this.animation;tw.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 ww.und(e)?(n=this.queue||[],this.queue=[]):n=[ww.obj(e)?e:{...t,to:e}],Promise.all(n.map((e=>this._update(e)))).then((e=>Sk(this,e)))}stop(e){const{to:t}=this.animation;return this._focus(this.get()),Lk(this._state,e&&this._lastCallId),tw.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=ww.obj(n)?n[t]:n,(null==n||gk(n))&&(n=void 0),r=ww.obj(r)?r[t]:r,null==r&&(r=void 0);const i={to:n,from:r};return zk(this)||(e.reverse&&([n,r]=[r,n]),r=hx(r),ww.und(r)?$x(this)||this._set(n):this._set(r)),i}_update({...e},t){const{key:n,defaultProps:r}=this;e.default&&Object.assign(r,ck(e,((e,t)=>/^on/.test(t)?ak(e,n):e))),Kk(this,e,"onProps"),Zk(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 Ck(++this._lastCallId,{key:n,props:e,defaultProps:r,state:o,actions:{pause:()=>{Bk(this)||(Yk(this,!0),Mw(o.pauseQueue),Zk(this,"onPause",Ek(this,qk(this,this.animation.to)),this))},resume:()=>{Bk(this)&&(Yk(this,!1),Pk(this)&&this._resume(),Mw(o.resumeQueue),Zk(this,"onResume",Ek(this,qk(this,this.animation.to)),this))},start:this._merge.bind(this,i)}}).then((n=>{if(e.loop&&n.finished&&(!t||!n.noop)){const t=Hk(e);if(t)return this._update(t,!0)}return n}))}_merge(e,t,n){if(t.cancel)return this.stop(!0),n(Tk(this));const r=!ww.und(e.to),i=!ww.und(e.from);if(r||i){if(!(t.callId>this._lastToId))return n(Tk(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&&!ww.und(u)||(u=d),t.reverse&&([u,d]=[d,u]);const f=!xw(d,c);f&&(s.from=d),d=hx(d);const h=!xw(u,l);h&&this._focus(u);const p=gk(t.to),{config:g}=s,{decay:m,velocity:v}=g;(r||i)&&(g.velocity=0),t.config&&!p&&function(e,t,n){n&&(wk(n={...n},t),t={...n,...t}),wk(e,t),Object.assign(e,t);for(const t in yk)null==e[t]&&(e[t]=yk[t]);let{frequency:r,damping:i}=e;const{mass:o}=e;ww.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,ik(t.config,o),t.config!==a.config?ik(a.config,o):void 0);let b=$x(this);if(!b||ww.und(u))return n(Ek(this,!0));const y=ww.und(t.reset)?i&&!t.default:!ww.und(d)&&ok(t.reset,o),_=y?d:this.get(),w=hk(u),x=ww.num(w)||ww.arr(w)||Rx(w),k=!p&&(!x||ok(a.immediate||t.immediate,o));if(h){const e=Jx(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=fx(u),A=!1;if(!S){const e=y||!zk(this)&&f;(h||e)&&(A=xw(hk(_),w),S=!A),(xw(s.immediate,k)||k)&&xw(g.decay,m)&&xw(g.velocity,v)||(S=!0)}if(A&&Pk(this)&&(s.changed&&!y?S=!0:S||this._stop(l)),!p&&((S||fx(l))&&(s.values=b.getPayload(),s.toValues=fx(u)?null:C==Vx?[1]:Sw(w)),s.immediate!=k&&(s.immediate=k,k||y||this._set(l)),S)){const{onRest:e}=s;kw(Gk,(e=>Kk(this,t,e)));const r=Ek(this,qk(this,l));Mw(this._pendingCalls,r),this._pendingCalls.add(n),s.changed&&tw.batchedUpdates((()=>{s.changed=!y,e?.(r,this),y?ik(a.onRest,r):s.onStart?.(r,this)}))}y&&this._set(_),p?n(Mk(t.to,t,this._state,this)):S?this._start():Pk(this)&&!h?this._pendingCalls.add(n):n(Ak(_))}_focus(e){const t=this.animation;e!==t.to&&(px(this)&&this._detach(),t.to=e,px(this)&&this._attach())}_attach(){let e=0;const{to:t}=this.animation;fx(t)&&(bx(t,this),Ok(t)&&(e=t.priority+1)),this.priority=e}_detach(){const{to:e}=this.animation;fx(e)&&yx(e,this)}_set(e,t=!0){const n=hx(e);if(!ww.und(n)){const e=$x(this);if(!e||!xw(n,e.getValue())){const r=Jx(n);e&&e.constructor==r?e.setValue(n):qx(this,r.create(n)),e&&tw.batchedUpdates((()=>{this._onChange(n,t)}))}}return $x(this)}_onStart(){const e=this.animation;e.changed||(e.changed=!0,Zk(this,"onStart",Ek(this,qk(this,e.to)),this))}_onChange(e,t){t||(this._onStart(),ik(this.animation.onChange,e,this)),ik(this.defaultProps.onChange,e,this),super._onChange(e,t)}_start(){const e=this.animation;$x(this).reset(hx(e.to)),e.immediate||(e.fromValues=e.values.map((e=>e.lastPosition))),Pk(this)||(jk(this,!0),Bk(this)||this._resume())}_resume(){yw.skipAnimation?this.finish():Bw.start(this)}_stop(e,t){if(Pk(this)){jk(this,!1);const n=this.animation;kw(n.values,(e=>{e.done=!0})),n.toValues&&(n.onChange=n.onPause=n.onResume=void 0),gx(this,{type:"idle",parent:this});const r=t?Tk(this.get()):Ek(this.get(),qk(this,e??n.to));Mw(this._pendingCalls,r),n.changed&&(n.changed=!1,Zk(this,"onRest",r,this))}}};function qk(e,t){const n=hk(t);return xw(hk(e.get()),n)}function Hk(e,t=e.loop,n=e.to){const r=ik(t);if(r){const i=!0!==r&&fk(r),o=(i||e).reverse,a=!i||i.reset;return Uk({...e,loop:t,default:!1,pause:void 0,to:!o||gk(n)?n:void 0,from:a?e.from:void 0,reset:a,...i})}}function Uk(e){const{to:t,from:n}=e=fk(e),r=new Set;return ww.obj(t)&&Vk(t,r),ww.obj(n)&&Vk(n,r),e.keys=r.size?Array.from(r):null,e}function Wk(e){const t=Uk(e);return ww.und(t.default)&&(t.default=ck(t)),t}function Vk(e,t){Cw(e,((e,n)=>null!=e&&t.add(n)))}var Gk=["onStart","onRest","onChange","onPause","onResume"];function Kk(e,t,n){e.animation[n]=t[n]!==sk(t,n)?ak(t[n],e.key):void 0}function Zk(e,t,...n){e.animation[t]?.(...n),e.defaultProps[t]?.(...n)}var Xk=["onStart","onChange","onRest"],Jk=1,Qk=class{constructor(e,t){this.id=Jk++,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];ww.und(n)||this.springs[t].set(n)}}update(e){return e&&this.queue.push(Uk(e)),this}start(e){let{queue:t}=this;return e?t=Sw(e).map(Uk):this.queue=[],this._flush?this._flush(this,t):(aC(this,t),eC(this,t))}stop(e,t){if(e!==!!e&&(t=e),t){const n=this.springs;kw(Sw(t),(t=>n[t].stop(!!e)))}else Lk(this._state,this._lastAsyncId),this.each((t=>t.stop(!!e)));return this}pause(e){if(ww.und(e))this.start({pause:!0});else{const t=this.springs;kw(Sw(e),(e=>t[e].pause()))}return this}resume(e){if(ww.und(e))this.start({pause:!1});else{const t=this.springs;kw(Sw(e),(e=>t[e].resume()))}return this}each(e){Cw(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,Aw(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&&Aw(t,(([e,t])=>{t.value=a,e(t,this,this._item)})),o&&(this._started=!1,Aw(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)}tw.onFrame(this._onFrame)}};function eC(e,t){return Promise.all(t.map((t=>tC(e,t)))).then((t=>Sk(e,t)))}async function tC(e,t,n){const{keys:r,to:i,from:o,loop:a,onRest:s,onResolve:l}=t,c=ww.obj(t.default)&&t.default;a&&(t.loop=!1),!1===i&&(t.to=null),!1===o&&(t.from=null);const u=ww.arr(i)||ww.fun(i)?i:void 0;u?(t.to=void 0,t.onRest=void 0,c&&(c.onRest=void 0)):kw(Xk,(n=>{const r=t[n];if(ww.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,Mw(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===sk(t,"cancel");(u||h&&d.asyncId)&&f.push(Ck(++e._lastAsyncId,{props:t,state:d,actions:{pause:_w,resume:_w,start(t,n){h?(Lk(d,e._lastAsyncId),n(Tk(e))):(t.onRest=s,n(Mk(u,t,d,e)))}}})),d.paused&&await new Promise((e=>{d.resumeQueue.add(e)}));const p=Sk(e,await Promise.all(f));if(a&&p.finished&&(!n||!p.noop)){const n=Hk(t,a,i);if(n)return aC(e,[n]),tC(e,n,!0)}return l&&tw.batchedUpdates((()=>l(p,e,e.item))),p}function nC(e,t){const n={...e.springs};return t&&kw(Sw(t),(e=>{ww.und(e.keys)&&(e=Uk(e)),ww.obj(e.to)||(e={...e,to:void 0}),oC(n,e,(e=>iC(e)))})),rC(e,n),n}function rC(e,t){Cw(t,((t,n)=>{e.springs[n]||(e.springs[n]=t,bx(t,e))}))}function iC(e,t){const n=new $k;return n.key=e,t&&bx(n,t),n}function oC(e,t,n){t.keys&&kw(t.keys,(r=>{(e[r]||(e[r]=n(r)))._prepareNode(t)}))}function aC(e,t){kw(t,(t=>{oC(e.springs,t,(t=>iC(t,e)))}))}var sC=s.q6({pause:!1,immediate:!1}),lC=()=>{const e=[],t=function(t){Fx(`${Dx}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 kw(e,((e,i)=>{if(ww.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 kw(e,(e=>e.pause(...arguments))),this},t.resume=function(){return kw(e,(e=>e.resume(...arguments))),this},t.set=function(t){kw(e,((e,n)=>{const r=ww.fun(t)?t(n,e):t;r&&e.set(r)}))},t.start=function(t){const n=[];return kw(e,((e,r)=>{if(ww.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 kw(e,(e=>e.stop(...arguments))),this},t.update=function(t){return kw(e,((e,n)=>e.update(this._getProps(t,e,n)))),this};const n=function(e,t,n){return ww.fun(e)?e(n,t):e};return t._getProps=n,t};function cC(e,t){const n=ww.fun(e),[[r],i]=function(e,t,n){const r=ww.fun(t)&&t;r&&!n&&(n=[]);const i=(0,s.Kr)((()=>r||3==arguments.length?lC():void 0),[]),o=(0,s.li)(0),a=zx(),l=(0,s.Kr)((()=>({ctrls:[],queue:[],flush(e,t){const n=nC(e,t);return o.current>0&&!l.queue.length&&!Object.keys(n).some((t=>!e.springs[t]))?eC(e,t):new Promise((r=>{rC(e,n),l.queue.push((()=>{r(eC(e,t))})),a()}))}})),[]),c=(0,s.li)([...l.ctrls]),u=(0,s.li)([]),d=jx(e)||0;function f(e,n){for(let i=e;i<n;i++){const e=c.current[i]||(c.current[i]=new Qk(null,l.flush)),n=r?r(i,e):t[i];n&&(u.current[i]=Wk(n))}}(0,s.Kr)((()=>{kw(c.current.slice(e,d),(e=>{mk(e,i),e.stop(!0)})),c.current.length=e,f(d,e)}),[e]),(0,s.Kr)((()=>{f(0,Math.min(d,e))}),n);const h=c.current.map(((e,t)=>nC(e,u.current[t]))),p=(0,s.NT)(sC),g=jx(p),m=p!==g&&pk(p);Ix((()=>{o.current++,l.ctrls=c.current;const{queue:e}=l;e.length&&(l.queue=[],kw(e,(e=>e()))),kw(c.current,((e,t)=>{i?.add(e),m&&e.start({default:p});const n=u.current[t];n&&(vk(e,n.ref),e.ref?e.queue.push(n):e.start(n))}))})),Px((()=>()=>{kw(l.ctrls,(e=>e.stop(!0)))}));const v=h.map((e=>({...e})));return i?[v,i]:v}(1,n?e:[e],n?[]:t);return n||2==arguments.length?[r,i]:r}function uC(e,t,n){const r=ww.fun(t)&&t,{reset:i,sort:o,trail:a=0,expires:l=!0,exitBeforeEnter:c=!1,onDestroyed:u,ref:d,config:f}=r?r():t,h=(0,s.Kr)((()=>r||3==arguments.length?lC():void 0),[]),p=Sw(e),g=[],m=(0,s.li)(null),v=i?null:m.current;Ix((()=>{m.current=g})),Px((()=>(kw(g,(e=>{h?.add(e.ctrl),e.ctrl.ref=h})),()=>{kw(m.current,(e=>{e.expired&&clearTimeout(e.expirationId),mk(e.ctrl,h),e.ctrl.stop(!0)}))})));const b=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):dC++}))}return ww.und(n)?e:ww.fun(n)?e.map(n):Sw(n)}(p,r?r():t,v),y=i&&m.current||[];Ix((()=>kw(y,(({ctrl:e,item:t,key:n})=>{mk(e,h),ik(u,t,n)}))));const _=[];if(v&&kw(v,((e,t)=>{e.expired?(clearTimeout(e.expirationId),y.push(e)):~(t=_[t]=b.indexOf(e.key))&&(g[t]=e)})),kw(p,((e,t)=>{g[t]||(g[t]={key:b[t],item:e,phase:"mount",ctrl:new Qk},g[t].ctrl.item=e)})),_.length){let e=-1;const{leave:n}=r?r():t;kw(_,((t,r)=>{const i=v[r];~t?(e=g.indexOf(i),g[e]={...i,item:p[t]}):n&&g.splice(++e,0,i)}))}ww.fun(o)&&g.sort(((e,t)=>o(e.item,t.item)));let w=-a;const x=zx(),k=ck(t),C=new Map,S=(0,s.li)(new Map),A=(0,s.li)(!1);kw(g,((e,n)=>{const i=e.key,o=e.phase,s=r?r():t;let u,h;const p=ik(s.delay||0,i);if("mount"==o)u=s.enter,h="enter";else{const e=b.indexOf(i)<0;if("leave"!=o)if(e)u=s.leave,h="leave";else{if(!(u=s.update))return;h="update"}else{if(e)return;u=s.enter,h="enter"}}if(u=ik(u,e.item,n),u=ww.obj(u)?fk(u):{to:u},!u.config){const t=f||k.config;u.config=ik(t,e.item,n,h)}w+=a;const g={...k,delay:p+w,ref:d,immediate:s.immediate,reset:!1,...u};if("enter"==h&&ww.und(g.from)){const i=r?r():t,o=ww.und(i.initial)||v?i.from:i.initial;g.from=ik(o,e.item,n)}const{onResolve:y}=g;g.onResolve=e=>{ik(y,e);const t=m.current,n=t.find((e=>e.key===i));if(n&&(!e.cancelled||"update"==n.phase)&&n.ctrl.idle){const e=t.every((e=>e.ctrl.idle));if("leave"==n.phase){const t=ik(l,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(x,r)))}}e&&t.some((e=>e.expired))&&(S.current.delete(n),c&&(A.current=!0),x())}};const _=nC(e.ctrl,g);"leave"===h&&c?S.current.set(e,{phase:h,springs:_,payload:g}):C.set(e,{phase:h,springs:_,payload:g})}));const E=(0,s.NT)(sC),T=jx(E),M=E!==T&&pk(E);Ix((()=>{M&&kw(g,(e=>{e.ctrl.start({default:E})}))}),[E]),kw(C,((e,t)=>{if(S.current.size){const e=g.findIndex((e=>e.key===t.key));g.splice(e,1)}})),Ix((()=>{kw(S.current.size?S.current:C,(({phase:e,payload:t},n)=>{const{ctrl:r}=n;n.phase=e,h?.add(r),M&&"enter"==e&&r.start({default:E}),t&&(vk(r,t.ref),!r.ref&&!h||A.current?(r.start(t),A.current&&(A.current=!1)):r.update(t))}))}),i?void 0:n);const L=e=>s.n(s.FK,null,g.map(((t,n)=>{const{springs:r}=C.get(t)||t.ctrl,i=e({...r},t.item,t,n),o=ww.str(t.key)||ww.num(t.key)?t.key:t.ctrl.id,a=s.rE<"19.0.0",l=i?.props??{},c=a?i?.ref:l?.ref;return i&&i.type?s.n(i.type,{...l,key:o,ref:c}):i})));return h?[L,h]:L}var dC=1,fC=class extends Rk{constructor(e,t){super(),this.source=e,this.idle=!0,this._active=new Set,this.calc=cx(...t);const n=this._get(),r=Jx(n);qx(this,r.create(n))}advance(e){const t=this._get();xw(t,this.get())||($x(this).setValue(t),this._onChange(t,this.idle)),!this.idle&&pC(this._active)&&gC(this)}_get(){const e=ww.arr(this.source)?this.source.map(hx):Sw(hx(this.source));return this.calc(...e)}_start(){this.idle&&!pC(this._active)&&(this.idle=!1,kw(Hx(this),(e=>{e.done=!1})),yw.skipAnimation?(tw.batchedUpdates((()=>this.advance())),gC(this)):Bw.start(this))}_attach(){let e=1;kw(Sw(this.source),(t=>{fx(t)&&bx(t,this),Ok(t)&&(t.idle||this._active.add(t),e=Math.max(e,t.priority+1))})),this.priority=e,this._start()}_detach(){kw(Sw(this.source),(e=>{fx(e)&&yx(e,this)})),this._active.clear(),gC(this)}eventObserved(e){"change"==e.type?e.idle?this.advance():(this._active.add(e.parent),this._start()):"idle"==e.type?this._active.delete(e.parent):"priority"==e.type&&(this.priority=Sw(this.source).reduce(((e,t)=>Math.max(e,(Ok(t)?t.priority:0)+1)),0))}};function hC(e){return!1!==e.idle}function pC(e){return!e.size||Array.from(e).every(hC)}function gC(e){e.idle||(e.idle=!0,kw(Hx(e),(e=>{e.done=!0})),gx(e,{type:"idle",parent:e}))}var mC=(e,...t)=>new fC(e,t);yw.assign({createStringInterpolator:Lx,to:(e,t)=>new fC(e,t)});var vC=/^--/;function bC(e,t){return null==t||"boolean"==typeof t||""===t?"":"number"!=typeof t||0===t||vC.test(e)||_C.hasOwnProperty(e)&&_C[e]?(""+t).trim():t+"px"}var yC={},_C={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},wC=["Webkit","Ms","Moz","O"];_C=Object.keys(_C).reduce(((e,t)=>(wC.forEach((n=>e[((e,t)=>e+t.charAt(0).toUpperCase()+t.substring(1))(n,t)]=e[t])),e)),_C);var xC=/^(matrix|translate|scale|rotate|skew)/,kC=/^(translate)/,CC=/^(rotate|skew)/,SC=(e,t)=>ww.num(e)&&0!==e?e+t:e,AC=(e,t)=>ww.arr(e)?e.every((e=>AC(e,t))):ww.num(e)?e===t:parseFloat(e)===t,EC=class extends Kx{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=>SC(e,"px"))).join(",")})`,AC(e,0)]))),Cw(r,((e,t)=>{if("transform"===t)i.push([e||""]),o.push((e=>[e,""===e]));else if(xC.test(t)){if(delete r[t],ww.und(e))return;const n=kC.test(t)?"px":CC.test(t)?"deg":"";i.push(Sw(e)),o.push("rotate3d"===t?([e,t,r,i])=>[`rotate3d(${e},${t},${r},${SC(i,n)})`,AC(i,0)]:e=>[`${t}(${e.map((e=>SC(e,n))).join(",")})`,AC(e,t.startsWith("scale")?1:0)])}})),i.length&&(r.transform=new TC(i,o)),super(r)}},TC=class extends mx{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 kw(this.inputs,((n,r)=>{const i=hx(n[0]),[o,a]=this.transforms[r](ww.arr(i)?i:n.map(hx));e+=" "+o,t=t&&a})),t?"none":e}observerAdded(e){1==e&&kw(this.inputs,(e=>kw(e,(e=>fx(e)&&bx(e,this)))))}observerRemoved(e){0==e&&kw(this.inputs,(e=>kw(e,(e=>fx(e)&&yx(e,this)))))}eventObserved(e){"change"==e.type&&(this._value=null),gx(this,e)}};yw.assign({batchedUpdates:s.rS,createStringInterpolator:Lx,colors:Hw});var MC,LC,DC,NC,OC,FC,RC,IC,zC,PC,BC,jC,YC,$C,qC,HC,UC,WC,VC,GC,KC,ZC,XC,JC,QC,eS,tS,nS,rS,iS,oS,aS,sS,lS,cS,uS,dS,fS,hS,pS,gS,mS,vS,bS,yS,_S,wS,xS,kS,CS,SS,AS,ES,TS,MS,LS,DS,NS,OS,FS,RS,IS,zS,PS,BS,jS,YS,$S,qS,HS,US,WS,VS,GS,KS,ZS,XS,JS,QS,eA,tA,nA,rA,iA,oA,aA,sA,lA,cA,uA,dA,fA,hA,pA,gA,mA,vA,bA,yA=nk(["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:yC[t]||(yC[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=bC(t,i[t]);vC.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 EC(e),getComponentProps:({scrollTop:e,scrollLeft:t,...n})=>n}),_A=yA.animated;function wA(){return NC?DC:(NC=1,DC=function(e,t){return e===t||e!=e&&t!=t})}function xA(){if(FC)return OC;FC=1;var e=wA();return OC=function(t,n){for(var r=t.length;r--;)if(e(t[r][0],n))return r;return-1},OC}function kA(){if(HC)return qC;HC=1;var e=LC?MC:(LC=1,MC=function(){this.__data__=[],this.size=0}),t=function(){if(IC)return RC;IC=1;var e=xA(),t=Array.prototype.splice;return RC=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))},RC}(),n=function(){if(PC)return zC;PC=1;var e=xA();return zC=function(t){var n=this.__data__,r=e(n,t);return r<0?void 0:n[r][1]},zC}(),r=function(){if(jC)return BC;jC=1;var e=xA();return BC=function(t){return e(this.__data__,t)>-1}}(),i=function(){if($C)return YC;$C=1;var e=xA();return YC=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},YC}();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,qC=o}function CA(){if(eS)return QC;eS=1;var e="object"==typeof u&&u&&u.Object===Object&&u;return QC=e}function SA(){if(nS)return tS;nS=1;var e=CA(),t="object"==typeof self&&self&&self.Object===Object&&self,n=e||t||Function("return this")();return tS=n}function AA(){if(iS)return rS;iS=1;var e=SA().Symbol;return rS=e}function EA(){if(uS)return cS;uS=1;var e=AA(),t=function(){if(aS)return oS;aS=1;var e=AA(),t=Object.prototype,n=t.hasOwnProperty,r=t.toString,i=e?e.toStringTag:void 0;return oS=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(lS)return sS;lS=1;var e=Object.prototype.toString;return sS=function(t){return e.call(t)}}(),r=e?e.toStringTag:void 0;return cS=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":r&&r in Object(e)?t(e):n(e)}}function TA(){return fS||(fS=1,dS=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}),dS}function MA(){if(pS)return hS;pS=1;var e=EA(),t=TA();return hS=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 LA(){if(_S)return yS;_S=1;var e=Function.prototype.toString;return yS=function(t){if(null!=t){try{return e.call(t)}catch(e){}try{return t+""}catch(e){}}return""}}function DA(){if(AS)return SS;AS=1;var e=function(){if(xS)return wS;xS=1;var e=MA(),t=function(){if(bS)return vS;bS=1;var e,t=function(){if(mS)return gS;mS=1;var e=SA()["__core-js_shared__"];return gS=e}(),n=(e=/[^.]+$/.exec(t&&t.keys&&t.keys.IE_PROTO||""))?"Symbol(src)_1."+e:"";return vS=function(e){return!!n&&n in e}}(),n=TA(),r=LA(),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 wS=function(o){return!(!n(o)||t(o))&&(e(o)?c:i).test(r(o))}}(),t=(CS||(CS=1,kS=function(e,t){return null==e?void 0:e[t]}),kS);return SS=function(n,r){var i=t(n,r);return e(i)?i:void 0}}function NA(){if(TS)return ES;TS=1;var e=DA()(SA(),"Map");return ES=e}function OA(){if(LS)return MS;LS=1;var e=DA()(Object,"create");return MS=e}function FA(){if(GS)return VS;GS=1;var e=(WS||(WS=1,US=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}),US);return VS=function(t,n){var r=t.__data__;return e(n)?r["string"==typeof n?"string":"hash"]:r.map},VS}function RA(){if(iA)return rA;iA=1;var e=function(){if(HS)return qS;HS=1;var e=function(){if($S)return YS;$S=1;var e=function(){if(NS)return DS;NS=1;var e=OA();return DS=function(){this.__data__=e?e(null):{},this.size=0}}(),t=FS?OS:(FS=1,OS=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}),n=function(){if(IS)return RS;IS=1;var e=OA(),t=Object.prototype.hasOwnProperty;return RS=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(PS)return zS;PS=1;var e=OA(),t=Object.prototype.hasOwnProperty;return zS=function(n){var r=this.__data__;return e?void 0!==r[n]:t.call(r,n)}}(),i=function(){if(jS)return BS;jS=1;var e=OA();return BS=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,YS=o}(),t=kA(),n=NA();return qS=function(){this.size=0,this.__data__={hash:new e,map:new(n||t),string:new e}}}(),t=function(){if(ZS)return KS;ZS=1;var e=FA();return KS=function(t){var n=e(this,t).delete(t);return this.size-=n?1:0,n}}(),n=function(){if(JS)return XS;JS=1;var e=FA();return XS=function(t){return e(this,t).get(t)}}(),r=function(){if(eA)return QS;eA=1;var e=FA();return QS=function(t){return e(this,t).has(t)}}(),i=function(){if(nA)return tA;nA=1;var e=FA();return tA=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,rA=o}function IA(){if(lA)return sA;lA=1;var e=kA(),t=function(){if(WC)return UC;WC=1;var e=kA();return UC=function(){this.__data__=new e,this.size=0}}(),n=GC?VC:(GC=1,VC=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}),r=ZC?KC:(ZC=1,KC=function(e){return this.__data__.get(e)}),i=JC?XC:(JC=1,XC=function(e){return this.__data__.has(e)}),o=function(){if(aA)return oA;aA=1;var e=kA(),t=NA(),n=RA();return oA=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,sA=a}function zA(){if(uA)return cA;uA=1;var e=DA(),t=function(){try{var t=e(Object,"defineProperty");return t({},"",{}),t}catch(e){}}();return cA=t}function PA(){if(fA)return dA;fA=1;var e=zA();return dA=function(t,n,r){"__proto__"==n&&e?e(t,n,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[n]=r},dA}function BA(){if(pA)return hA;pA=1;var e=PA(),t=wA();return hA=function(n,r,i){(void 0!==i&&!t(n[r],i)||void 0===i&&!(r in n))&&e(n,r,i)}}function jA(){if(bA)return vA;bA=1;var e=(mA||(mA=1,gA=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}}),gA),t=e();return vA=t}var YA,$A,qA,HA,UA,WA,VA,GA,KA,ZA,XA,JA,QA,eE,tE,nE,rE,iE,oE,aE,sE,lE,cE,uE,dE,fE,hE,pE,gE,mE,vE,bE,yE,_E={exports:{}};function wE(){return YA||(YA=1,function(e,t){var n=SA(),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}}(_E,_E.exports)),_E.exports}function xE(){if(qA)return $A;qA=1;var e=SA().Uint8Array;return $A=e}function kE(){if(UA)return HA;UA=1;var e=xE();return HA=function(t){var n=new t.constructor(t.byteLength);return new e(n).set(new e(t)),n}}function CE(){if(VA)return WA;VA=1;var e=kE();return WA=function(t,n){var r=n?e(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.length)}}function SE(){return KA||(KA=1,GA=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}),GA}function AE(){return QA?JA:(QA=1,JA=function(e,t){return function(n){return e(t(n))}})}function EE(){if(tE)return eE;tE=1;var e=AE()(Object.getPrototypeOf,Object);return eE=e}function TE(){if(rE)return nE;rE=1;var e=Object.prototype;return nE=function(t){var n=t&&t.constructor;return t===("function"==typeof n&&n.prototype||e)}}function ME(){if(oE)return iE;oE=1;var e=function(){if(XA)return ZA;XA=1;var e=TA(),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 ZA=n}(),t=EE(),n=TE();return iE=function(r){return"function"!=typeof r.constructor||n(r)?{}:e(t(r))}}function LE(){return sE?aE:(sE=1,aE=function(e){return null!=e&&"object"==typeof e})}function DE(){if(dE)return uE;dE=1;var e=function(){if(cE)return lE;cE=1;var e=EA(),t=LE();return lE=function(n){return t(n)&&"[object Arguments]"==e(n)}}(),t=LE(),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 uE=o}function NE(){if(hE)return fE;hE=1;var e=Array.isArray;return fE=e}function OE(){return gE?pE:(gE=1,pE=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991})}function FE(){if(vE)return mE;vE=1;var e=MA(),t=OE();return mE=function(n){return null!=n&&t(n.length)&&!e(n)}}function RE(){if(yE)return bE;yE=1;var e=FE(),t=LE();return bE=function(n){return t(n)&&e(n)}}var IE,zE,PE,BE,jE,YE,$E,qE,HE,UE={exports:{}};function WE(){return PE||(PE=1,function(e,t){var n=SA(),r=zE?IE:(zE=1,IE=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}(UE,UE.exports)),UE.exports}function VE(){if(jE)return BE;jE=1;var e=EA(),t=EE(),n=LE(),r=Function.prototype,i=Object.prototype,o=r.toString,a=i.hasOwnProperty,s=o.call(Object);return BE=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 GE(){return HE?qE:(HE=1,qE=function(e){return function(t){return e(t)}})}var KE,ZE,XE,JE,QE,eT,tT,nT,rT,iT,oT,aT,sT,lT,cT,uT,dT,fT,hT,pT,gT,mT,vT,bT,yT,_T,wT,xT,kT,CT,ST,AT,ET,TT,MT,LT,DT,NT,OT,FT,RT,IT,zT,PT,BT,jT,YT,$T,qT,HT={exports:{}};function UT(){return KE||(KE=1,function(e,t){var n=CA(),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}(HT,HT.exports)),HT.exports}function WT(){if(XE)return ZE;XE=1;var e=function(){if($E)return YE;$E=1;var e=EA(),t=OE(),n=LE(),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,YE=function(i){return n(i)&&t(i.length)&&!!r[e(i)]}}(),t=GE(),n=UT(),r=n&&n.isTypedArray,i=r?t(r):e;return ZE=i}function VT(){return QE||(QE=1,JE=function(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}),JE}function GT(){if(tT)return eT;tT=1;var e=PA(),t=wA(),n=Object.prototype.hasOwnProperty;return eT=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)}}function KT(){if(rT)return nT;rT=1;var e=GT(),t=PA();return nT=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},nT}function ZT(){if(sT)return aT;sT=1;var e=/^(?:0|[1-9]\d*)$/;return aT=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},aT}function XT(){if(cT)return lT;cT=1;var e=(oT||(oT=1,iT=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}),iT),t=DE(),n=NE(),r=WE(),i=ZT(),o=WT(),a=Object.prototype.hasOwnProperty;return lT=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 JT(){if(gT)return pT;gT=1;var e=XT(),t=function(){if(hT)return fT;hT=1;var e=TA(),t=TE(),n=(dT||(dT=1,uT=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}),uT),r=Object.prototype.hasOwnProperty;return fT=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}}(),n=FE();return pT=function(r){return n(r)?e(r,!0):t(r)}}function QT(){return kT?xT:(kT=1,xT=function(e){return e})}function eM(){if(ET)return AT;ET=1;var e=ST?CT:(ST=1,CT=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 AT=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)}},AT}function tM(){if(RT)return FT;RT=1;var e=function(){if(DT)return LT;DT=1;var e=MT?TT:(MT=1,TT=function(e){return function(){return e}}),t=zA(),n=QT();return LT=t?function(n,r){return t(n,"toString",{configurable:!0,enumerable:!1,value:e(r),writable:!0})}:n}(),t=function(){if(OT)return NT;OT=1;var e=Date.now;return NT=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)}},NT}(),n=t(e);return FT=n}function nM(){if(zT)return IT;zT=1;var e=QT(),t=eM(),n=tM();return IT=function(r,i){return n(t(r,i,e),r+"")}}function rM(){if(BT)return PT;BT=1;var e=wA(),t=FE(),n=ZT(),r=TA();return PT=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)}}var iM,oM,aM,sM,lM,cM,uM,dM,fM,hM,pM,gM,mM,vM,bM,yM,_M,wM,xM,kM,CM,SM,AM,EM,TM=function(){if(qT)return $T;qT=1;var e=function(){if(wT)return _T;wT=1;var e=IA(),t=BA(),n=jA(),r=function(){if(yT)return bT;yT=1;var e=BA(),t=wE(),n=CE(),r=SE(),i=ME(),o=DE(),a=NE(),s=RE(),l=WE(),c=MA(),u=TA(),d=VE(),f=WT(),h=VT(),p=function(){if(vT)return mT;vT=1;var e=KT(),t=JT();return mT=function(n){return e(n,t(n))}}();return bT=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,A=void 0===S;if(A){var E=a(k),T=!E&&l(k),M=!E&&!T&&f(k);S=k,E||T||M?a(x)?S=x:s(x)?S=r(x):T?(A=!1,S=t(k,!0)):M?(A=!1,S=n(k,!0)):S=[]:d(k)||o(k)?(S=x,o(x)?S=p(x):u(x)&&!c(x)||(S=i(k))):A=!1}A&&(w.set(k,S),y(S,k,b,_,w),w.delete(k)),e(g,v,S)}}}(),i=TA(),o=JT(),a=VT();return _T=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)},_T}(),t=function(){if(YT)return jT;YT=1;var e=nM(),t=rM();return jT=function(n){return e((function(e,r){var i=-1,o=r.length,a=o>1?r[o-1]:void 0,s=o>2?r[2]:void 0;for(a=n.length>3&&"function"==typeof a?(o--,a):void 0,s&&t(r[0],r[1],s)&&(a=o<3?void 0:a,o=1),e=Object(e);++i<o;){var l=r[i];l&&n(e,l,i,a)}return e}))},jT}(),n=t((function(t,n,r){e(t,n,r)}));return $T=n}(),MM=d(TM);function LM(){if(oM)return iM;oM=1;var e=EA(),t=LE();return iM=function(n){return"symbol"==typeof n||t(n)&&"[object Symbol]"==e(n)}}function DM(){if(sM)return aM;sM=1;var e=NE(),t=LM(),n=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,r=/^\w*$/;return aM=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)}}function NM(){return gM||(gM=1,pM=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}),pM}function OM(){if(yM)return bM;yM=1;var e=function(){if(vM)return mM;vM=1;var e=AA(),t=NM(),n=NE(),r=LM(),i=e?e.prototype:void 0,o=i?i.toString:void 0;return mM=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},mM}();return bM=function(t){return null==t?"":e(t)}}function FM(){if(wM)return _M;wM=1;var e=NE(),t=DM(),n=function(){if(hM)return fM;hM=1;var e=function(){if(dM)return uM;dM=1;var e=function(){if(cM)return lM;cM=1;var e=RA();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,lM=t}();return uM=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 fM=r}(),r=OM();return _M=function(i,o){return e(i)?i:t(i,o)?[i]:n(r(i))}}function RM(){if(kM)return xM;kM=1;var e=LM();return xM=function(t){if("string"==typeof t||e(t))return t;var n=t+"";return"0"==n&&1/t==-1/0?"-0":n}}function IM(){if(SM)return CM;SM=1;var e=FM(),t=RM();return CM=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}}function zM(){if(EM)return AM;EM=1;var e=IM();return AM=function(t,n,r){var i=null==t?void 0:e(t,n);return void 0===i?r:i},AM}var PM,BM,jM,YM,$M=d(zM());function qM(){if(BM)return PM;BM=1;var e=GT(),t=FM(),n=ZT(),r=TA(),i=RM();return PM=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},PM}var HM=function(){if(YM)return jM;YM=1;var e=qM();return jM=function(t,n,r){return null==t?t:e(t,n,r)},jM}(),UM=d(HM);function WM(){return WM=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},WM.apply(null,arguments)}var VM=["outlineWidth","outlineColor","outlineOpacity"],GM=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,VM)},KM=["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"],ZM=function(e,t){return t?MM({},e,t):e},XM={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}}},JM=(0,s.q6)(null),QM={},eL=function(e){var t=e.theme,n=void 0===t?QM:t,r=e.children,i=function(e){return(0,s.Kr)((function(){return function(e,t){var n=MM({},e,t);return KM.forEach((function(e){UM(n,e,function(e,t){return WM({},t,e)}($M(n,e),n.text))})),n}(XM,e)}),[e])}(n);return Wt(JM.Provider,{value:i,children:r})},tL=function(){var e=(0,s.NT)(JM);if(null===e)throw new Error("Unable to find the theme, did you forget to wrap your component with ThemeProvider?");return e};function nL(){return nL=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},nL.apply(null,arguments)}var rL=["basic","chip","container","table","tableCell","tableCellValue"],iL={pointerEvents:"none",position:"absolute",zIndex:10,top:0,left:0},oL=function(e,t){return"translate("+e+"px, "+t+"px)"},aL=(0,s.ph)((function(e){var t,n=e.position,r=e.anchor,i=e.children,o=tL(),a=CI(),l=a.animate,c=a.config,u=iz(),d=u[0],f=u[1],h=(0,s.li)(!1),p=void 0,g=!1,m=f.width>0&&f.height>0,v=Math.round(n[0]),b=Math.round(n[1]);m&&("top"===r?(v-=f.width/2,b-=f.height+14):"right"===r?(v+=14,b-=f.height/2):"bottom"===r?(v-=f.width/2,b+=14):"left"===r?(v-=f.width+14,b-=f.height/2):"center"===r&&(v-=f.width/2,b-=f.height/2),p={transform:oL(v,b)},h.current||(g=!0),h.current=[v,b]);var y=cC({to:p,config:c,immediate:!l||g}),_=o.tooltip;_.basic,_.chip,_.container,_.table,_.tableCell,_.tableCellValue;var w=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}(_,rL),x=nL({},iL,w,{transform:null!=(t=y.transform)?t:oL(v,b),opacity:y.transform?1:0});return Wt(_A.div,{ref:d,style:x,children:i})}));aL.displayName="TooltipWrapper";var sL=(0,s.ph)((function(e){var t=e.size,n=void 0===t?12:t,r=e.color,i=e.style;return Wt("span",{style:nL({display:"block",width:n,height:n,background:r},void 0===i?{}:i)})})),lL=(0,s.ph)((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=tL(),u=az(i);if("function"==typeof l)t=l();else{var d=r;void 0!==u&&void 0!==d&&(d=u(d)),t=Wt("div",{style:c.tooltip.basic,children:[a&&Wt(sL,{color:s,style:c.tooltip.chip}),void 0!==d?Wt("span",{children:[n,": ",Wt("strong",{children:""+d})]}):n]})}return Wt("div",{style:c.tooltip.container,role:"tooltip",children:t})})),cL={width:"100%",borderCollapse:"collapse"},uL=(0,s.ph)((function(e){var t,n=e.title,r=e.rows,i=void 0===r?[]:r,o=e.renderContent,a=tL();return i.length?(t="function"==typeof o?o():Wt("div",{children:[n&&n,Wt("table",{style:nL({},cL,a.tooltip.table),children:Wt("tbody",{children:i.map((function(e,t){return Wt("tr",{children:e.map((function(e,t){return Wt("td",{style:a.tooltip.tableCell,children:e},t)}))},t)}))})})]}),Wt("div",{style:a.tooltip.container,children:t})):null}));uL.displayName="TableTooltip";var dL=(0,s.ph)((function(e){var t=e.x0,n=e.x1,r=e.y0,i=e.y1,o=tL(),a=CI(),l=a.animate,c=a.config,u=(0,s.Kr)((function(){return nL({},o.crosshair.line,{pointerEvents:"none"})}),[o.crosshair.line]),d=cC({x1:t,x2:n,y1:r,y2:i,config:c,immediate:!l});return Wt(_A.line,nL({},d,{fill:"none",style:u}))}));dL.displayName="CrosshairLine";var fL=(0,s.ph)((function(e){var t,n,i=e.width,o=e.height,a=e.type,s=e.x,l=e.y;return"cross"===a?(t={x0:s,x1:s,y0:0,y1:o},n={x0:0,x1:i,y0:l,y1:l}):"top-left"===a?(t={x0:s,x1:s,y0:0,y1:l},n={x0:0,x1:s,y0:l,y1:l}):"top"===a?t={x0:s,x1:s,y0:0,y1:l}:"top-right"===a?(t={x0:s,x1:s,y0:0,y1:l},n={x0:s,x1:i,y0:l,y1:l}):"right"===a?n={x0:s,x1:i,y0:l,y1:l}:"bottom-right"===a?(t={x0:s,x1:s,y0:l,y1:o},n={x0:s,x1:i,y0:l,y1:l}):"bottom"===a?t={x0:s,x1:s,y0:l,y1:o}:"bottom-left"===a?(t={x0:s,x1:s,y0:l,y1:o},n={x0:0,x1:s,y0:l,y1:l}):"left"===a?n={x0:0,x1:s,y0:l,y1:l}:"x"===a?t={x0:s,x1:s,y0:0,y1:o}:"y"===a&&(n={x0:0,x1:i,y0:l,y1:l}),Wt(r.FK,{children:[t&&Wt(dL,{x0:t.x0,x1:t.x1,y0:t.y0,y1:t.y1}),n&&Wt(dL,{x0:n.x0,x1:n.x1,y0:n.y0,y1:n.y1})]})}));fL.displayName="Crosshair";var hL,pL,gL=(0,s.q6)({showTooltipAt:function(){},showTooltipFromEvent:function(){},hideTooltip:function(){}}),mL={isVisible:!1,position:[null,null],content:null,anchor:null},vL=(0,s.q6)(mL),bL=function(){var e=(0,s.NT)(gL);if(void 0===e)throw new Error("useTooltip must be used within a TooltipProvider");return e},yL=function(){var e=function(){var e=(0,s.NT)(vL);if(void 0===e)throw new Error("useTooltipState must be used within a TooltipProvider");return e}();return function(e){return e.isVisible}(e)?Wt(aL,{position:e.position,anchor:e.anchor,children:e.content}):null},_L=function(e){var t=e.container,n=e.children,r=function(e){var t=(0,s.J0)(mL),n=t[0],r=t[1],i=(0,s.hb)((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=(0,s.hb)((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=(0,s.hb)((function(){r(mL)}),[r]);return{actions:(0,s.Kr)((function(){return{showTooltipAt:i,showTooltipFromEvent:o,hideTooltip:a}}),[i,o,a]),state:n}}(t),i=r.actions,o=r.state;return Wt(gL.Provider,{value:i,children:Wt(vL.Provider,{value:o,children:n})})},wL=d(function(){if(pL)return hL;pL=1;var e=EA(),t=NE(),n=LE();return hL=function(r){return"string"==typeof r||!t(r)&&n(r)&&"[object String]"==e(r)}}());let xL;xL="undefined"!=typeof window?window:"undefined"!=typeof self?self:n.g;let kL=null,CL=null;const SL=xL.clearTimeout,AL=xL.setTimeout,EL=xL.cancelAnimationFrame||xL.mozCancelAnimationFrame||xL.webkitCancelAnimationFrame,TL=xL.requestAnimationFrame||xL.mozRequestAnimationFrame||xL.webkitRequestAnimationFrame;null==EL||null==TL?(kL=SL,CL=function(e){return AL(e,20)}):(kL=function([e,t]){EL(e),SL(t)},CL=function(e){const t=TL((function(){SL(n),e()})),n=AL((function(){EL(t),e()}),20);return[t,n]});class ML extends s.uA{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__&&kL(this.__resizeRAF__),this.__resizeRAF__=CL((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=xL.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:l,style:c={},tagName:u="div",...d}=this.props,{height:f,width:h}=this.state,p={overflow:"visible"},g={};let m=!1;return r||(0===f&&(m=!0),p.height=0,g.height=f,g.scaledHeight=f),i||(0===h&&(m=!0),p.width=0,g.width=h,g.scaledWidth=h),o&&(m=!1),(0,s.n)(u,{ref:this._setRef,style:{...p,...c},...d},!m&&e(g))}}function LL(e,t){return e===t}function DL(e,t,n){var r=n&&n.equalityFn||LL,i=(0,s.li)(e),o=(0,s.J0)({})[1],a=function(e,t,n,r){var i=this,o=(0,s.li)(null),a=(0,s.li)(0),l=(0,s.li)(0),c=(0,s.li)(null),u=(0,s.li)([]),d=(0,s.li)(),f=(0,s.li)(),h=(0,s.li)(e),p=(0,s.li)(!0);h.current=e;var g="undefined"!=typeof window,m=!t&&0!==t&&g;if("function"!=typeof e)throw new TypeError("Expected a function");t=+t||0;var v=!!(n=n||{}).leading,b=!("trailing"in n)||!!n.trailing,y="maxWait"in n,_="debounceOnServer"in n&&!!n.debounceOnServer,w=y?Math.max(+n.maxWait||0,t):null;(0,s.vJ)((function(){return p.current=!0,function(){p.current=!1}}),[]);var x=(0,s.Kr)((function(){var e=function(e){var t=u.current,n=d.current;return u.current=d.current=null,a.current=e,l.current=l.current||e,f.current=h.current.apply(n,t)},n=function(e,t){m&&cancelAnimationFrame(c.current),c.current=m?requestAnimationFrame(e):setTimeout(e,t)},s=function(e){if(!p.current)return!1;var n=e-o.current;return!o.current||n>=t||n<0||y&&e-a.current>=w},x=function(t){return c.current=null,b&&u.current?e(t):(u.current=d.current=null,f.current)},k=function e(){var r=Date.now();if(v&&l.current===a.current&&C(),s(r))return x(r);if(p.current){var i=t-(r-o.current),c=y?Math.min(i,w-(r-a.current)):i;n(e,c)}},C=function(){r&&r({})},S=function(){if(g||_){var r=Date.now(),l=s(r);if(u.current=[].slice.call(arguments),d.current=i,o.current=r,l){if(!c.current&&p.current)return a.current=o.current,n(k,t),v?e(o.current):f.current;if(y)return n(k,t),e(o.current)}return c.current||n(k,t),f.current}};return S.cancel=function(){var e=c.current;e&&(m?cancelAnimationFrame(c.current):clearTimeout(c.current)),a.current=0,u.current=o.current=d.current=c.current=null,e&&r&&r({})},S.isPending=function(){return!!c.current},S.flush=function(){return c.current?x(Date.now()):f.current},S}),[v,y,t,w,b,m,g,_,r]);return x}((0,s.hb)((function(e){i.current=e,o({})}),[o]),t,n,o),l=(0,s.li)(e);return r(l.current,e)||(a(e),l.current=e),[i.current,a]}var NL,OL,FL,RL,IL,zL,PL,BL,jL,YL,$L,qL,HL,UL,WL,VL,GL,KL,ZL,XL,JL,QL,eD,tD;function nD(){if(zL)return IL;zL=1;var e=RA(),t=OL?NL:(OL=1,NL=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}),n=RL?FL:(RL=1,FL=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,IL=r}function rD(){if(VL)return WL;VL=1;var e=function(){if(UL)return HL;UL=1;var e=(BL||(BL=1,PL=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}),PL),t=YL?jL:(YL=1,jL=function(e){return e!=e}),n=(qL||(qL=1,$L=function(e,t,n){for(var r=n-1,i=e.length;++r<i;)if(e[r]===t)return r;return-1}),$L);return HL=function(r,i,o){return i==i?n(r,i,o):e(r,t,o)}}();return WL=function(t,n){return!(null==t||!t.length)&&e(t,n,0)>-1},WL}function iD(){return KL||(KL=1,GL=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}),GL}function oD(){return XL?ZL:(XL=1,ZL=function(e,t){return e.has(t)})}var aD=function(){if(tD)return eD;tD=1;var e=function(){if(QL)return JL;QL=1;var e=nD(),t=rD(),n=iD(),r=NM(),i=GE(),o=oD();return JL=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},JL}(),t=nM(),n=RE(),r=t((function(t,r){return n(t)?e(t,r):[]}));return eD=r}(),sD=d(aD);function lD(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 cD=lD("1f77b4ff7f0e2ca02cd627289467bd8c564be377c27f7f7fbcbd2217becf"),uD=lD("7fc97fbeaed4fdc086ffff99386cb0f0027fbf5b17666666"),dD=lD("1b9e77d95f027570b3e7298a66a61ee6ab02a6761d666666"),fD=lD("a6cee31f78b4b2df8a33a02cfb9a99e31a1cfdbf6fff7f00cab2d66a3d9affff99b15928"),hD=lD("fbb4aeb3cde3ccebc5decbe4fed9a6ffffcce5d8bdfddaecf2f2f2"),pD=lD("b3e2cdfdcdaccbd5e8f4cae4e6f5c9fff2aef1e2cccccccc"),gD=lD("e41a1c377eb84daf4a984ea3ff7f00ffff33a65628f781bf999999"),mD=lD("66c2a5fc8d628da0cbe78ac3a6d854ffd92fe5c494b3b3b3"),vD=lD("8dd3c7ffffb3bebadafb807280b1d3fdb462b3de69fccde5d9d9d9bc80bdccebc5ffed6f"),bD=lD("4e79a7f28e2ce1575976b7b259a14fedc949af7aa1ff9da79c755fbab0ab"),yD=e=>Tr(e[e.length-1]),_D=new Array(3).concat("d8b365f5f5f55ab4ac","a6611adfc27d80cdc1018571","a6611adfc27df5f5f580cdc1018571","8c510ad8b365f6e8c3c7eae55ab4ac01665e","8c510ad8b365f6e8c3f5f5f5c7eae55ab4ac01665e","8c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e","8c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e","5430058c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e003c30","5430058c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e003c30").map(lD),wD=yD(_D),xD=new Array(3).concat("af8dc3f7f7f77fbf7b","7b3294c2a5cfa6dba0008837","7b3294c2a5cff7f7f7a6dba0008837","762a83af8dc3e7d4e8d9f0d37fbf7b1b7837","762a83af8dc3e7d4e8f7f7f7d9f0d37fbf7b1b7837","762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b7837","762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b7837","40004b762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b783700441b","40004b762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b783700441b").map(lD),kD=yD(xD),CD=new Array(3).concat("e9a3c9f7f7f7a1d76a","d01c8bf1b6dab8e1864dac26","d01c8bf1b6daf7f7f7b8e1864dac26","c51b7de9a3c9fde0efe6f5d0a1d76a4d9221","c51b7de9a3c9fde0eff7f7f7e6f5d0a1d76a4d9221","c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221","c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221","8e0152c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221276419","8e0152c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221276419").map(lD),SD=yD(CD),AD=new Array(3).concat("998ec3f7f7f7f1a340","5e3c99b2abd2fdb863e66101","5e3c99b2abd2f7f7f7fdb863e66101","542788998ec3d8daebfee0b6f1a340b35806","542788998ec3d8daebf7f7f7fee0b6f1a340b35806","5427888073acb2abd2d8daebfee0b6fdb863e08214b35806","5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b35806","2d004b5427888073acb2abd2d8daebfee0b6fdb863e08214b358067f3b08","2d004b5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b358067f3b08").map(lD),ED=yD(AD),TD=new Array(3).concat("ef8a62f7f7f767a9cf","ca0020f4a58292c5de0571b0","ca0020f4a582f7f7f792c5de0571b0","b2182bef8a62fddbc7d1e5f067a9cf2166ac","b2182bef8a62fddbc7f7f7f7d1e5f067a9cf2166ac","b2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac","b2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac","67001fb2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac053061","67001fb2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac053061").map(lD),MD=yD(TD),LD=new Array(3).concat("ef8a62ffffff999999","ca0020f4a582bababa404040","ca0020f4a582ffffffbababa404040","b2182bef8a62fddbc7e0e0e09999994d4d4d","b2182bef8a62fddbc7ffffffe0e0e09999994d4d4d","b2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d","b2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d","67001fb2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d1a1a1a","67001fb2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d1a1a1a").map(lD),DD=yD(LD),ND=new Array(3).concat("fc8d59ffffbf91bfdb","d7191cfdae61abd9e92c7bb6","d7191cfdae61ffffbfabd9e92c7bb6","d73027fc8d59fee090e0f3f891bfdb4575b4","d73027fc8d59fee090ffffbfe0f3f891bfdb4575b4","d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4","d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4","a50026d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4313695","a50026d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4313695").map(lD),OD=yD(ND),FD=new Array(3).concat("fc8d59ffffbf91cf60","d7191cfdae61a6d96a1a9641","d7191cfdae61ffffbfa6d96a1a9641","d73027fc8d59fee08bd9ef8b91cf601a9850","d73027fc8d59fee08bffffbfd9ef8b91cf601a9850","d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850","d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850","a50026d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850006837","a50026d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850006837").map(lD),RD=yD(FD),ID=new Array(3).concat("fc8d59ffffbf99d594","d7191cfdae61abdda42b83ba","d7191cfdae61ffffbfabdda42b83ba","d53e4ffc8d59fee08be6f59899d5943288bd","d53e4ffc8d59fee08bffffbfe6f59899d5943288bd","d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd","d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd","9e0142d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd5e4fa2","9e0142d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd5e4fa2").map(lD),zD=yD(ID),PD=new Array(3).concat("e5f5f999d8c92ca25f","edf8fbb2e2e266c2a4238b45","edf8fbb2e2e266c2a42ca25f006d2c","edf8fbccece699d8c966c2a42ca25f006d2c","edf8fbccece699d8c966c2a441ae76238b45005824","f7fcfde5f5f9ccece699d8c966c2a441ae76238b45005824","f7fcfde5f5f9ccece699d8c966c2a441ae76238b45006d2c00441b").map(lD),BD=yD(PD),jD=new Array(3).concat("e0ecf49ebcda8856a7","edf8fbb3cde38c96c688419d","edf8fbb3cde38c96c68856a7810f7c","edf8fbbfd3e69ebcda8c96c68856a7810f7c","edf8fbbfd3e69ebcda8c96c68c6bb188419d6e016b","f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d6e016b","f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d810f7c4d004b").map(lD),YD=yD(jD),$D=new Array(3).concat("e0f3dba8ddb543a2ca","f0f9e8bae4bc7bccc42b8cbe","f0f9e8bae4bc7bccc443a2ca0868ac","f0f9e8ccebc5a8ddb57bccc443a2ca0868ac","f0f9e8ccebc5a8ddb57bccc44eb3d32b8cbe08589e","f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe08589e","f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe0868ac084081").map(lD),qD=yD($D),HD=new Array(3).concat("fee8c8fdbb84e34a33","fef0d9fdcc8afc8d59d7301f","fef0d9fdcc8afc8d59e34a33b30000","fef0d9fdd49efdbb84fc8d59e34a33b30000","fef0d9fdd49efdbb84fc8d59ef6548d7301f990000","fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301f990000","fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301fb300007f0000").map(lD),UD=yD(HD),WD=new Array(3).concat("ece2f0a6bddb1c9099","f6eff7bdc9e167a9cf02818a","f6eff7bdc9e167a9cf1c9099016c59","f6eff7d0d1e6a6bddb67a9cf1c9099016c59","f6eff7d0d1e6a6bddb67a9cf3690c002818a016450","fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016450","fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016c59014636").map(lD),VD=yD(WD),GD=new Array(3).concat("ece7f2a6bddb2b8cbe","f1eef6bdc9e174a9cf0570b0","f1eef6bdc9e174a9cf2b8cbe045a8d","f1eef6d0d1e6a6bddb74a9cf2b8cbe045a8d","f1eef6d0d1e6a6bddb74a9cf3690c00570b0034e7b","fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0034e7b","fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0045a8d023858").map(lD),KD=yD(GD),ZD=new Array(3).concat("e7e1efc994c7dd1c77","f1eef6d7b5d8df65b0ce1256","f1eef6d7b5d8df65b0dd1c77980043","f1eef6d4b9dac994c7df65b0dd1c77980043","f1eef6d4b9dac994c7df65b0e7298ace125691003f","f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125691003f","f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125698004367001f").map(lD),XD=yD(ZD),JD=new Array(3).concat("fde0ddfa9fb5c51b8a","feebe2fbb4b9f768a1ae017e","feebe2fbb4b9f768a1c51b8a7a0177","feebe2fcc5c0fa9fb5f768a1c51b8a7a0177","feebe2fcc5c0fa9fb5f768a1dd3497ae017e7a0177","fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a0177","fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a017749006a").map(lD),QD=yD(JD),eN=new Array(3).concat("edf8b17fcdbb2c7fb8","ffffcca1dab441b6c4225ea8","ffffcca1dab441b6c42c7fb8253494","ffffccc7e9b47fcdbb41b6c42c7fb8253494","ffffccc7e9b47fcdbb41b6c41d91c0225ea80c2c84","ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea80c2c84","ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea8253494081d58").map(lD),tN=yD(eN),nN=new Array(3).concat("f7fcb9addd8e31a354","ffffccc2e69978c679238443","ffffccc2e69978c67931a354006837","ffffccd9f0a3addd8e78c67931a354006837","ffffccd9f0a3addd8e78c67941ab5d238443005a32","ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443005a32","ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443006837004529").map(lD),rN=yD(nN),iN=new Array(3).concat("fff7bcfec44fd95f0e","ffffd4fed98efe9929cc4c02","ffffd4fed98efe9929d95f0e993404","ffffd4fee391fec44ffe9929d95f0e993404","ffffd4fee391fec44ffe9929ec7014cc4c028c2d04","ffffe5fff7bcfee391fec44ffe9929ec7014cc4c028c2d04","ffffe5fff7bcfee391fec44ffe9929ec7014cc4c02993404662506").map(lD),oN=yD(iN),aN=new Array(3).concat("ffeda0feb24cf03b20","ffffb2fecc5cfd8d3ce31a1c","ffffb2fecc5cfd8d3cf03b20bd0026","ffffb2fed976feb24cfd8d3cf03b20bd0026","ffffb2fed976feb24cfd8d3cfc4e2ae31a1cb10026","ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cb10026","ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cbd0026800026").map(lD),sN=yD(aN),lN=new Array(3).concat("deebf79ecae13182bd","eff3ffbdd7e76baed62171b5","eff3ffbdd7e76baed63182bd08519c","eff3ffc6dbef9ecae16baed63182bd08519c","eff3ffc6dbef9ecae16baed64292c62171b5084594","f7fbffdeebf7c6dbef9ecae16baed64292c62171b5084594","f7fbffdeebf7c6dbef9ecae16baed64292c62171b508519c08306b").map(lD),cN=yD(lN),uN=new Array(3).concat("e5f5e0a1d99b31a354","edf8e9bae4b374c476238b45","edf8e9bae4b374c47631a354006d2c","edf8e9c7e9c0a1d99b74c47631a354006d2c","edf8e9c7e9c0a1d99b74c47641ab5d238b45005a32","f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45005a32","f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45006d2c00441b").map(lD),dN=yD(uN),fN=new Array(3).concat("f0f0f0bdbdbd636363","f7f7f7cccccc969696525252","f7f7f7cccccc969696636363252525","f7f7f7d9d9d9bdbdbd969696636363252525","f7f7f7d9d9d9bdbdbd969696737373525252252525","fffffff0f0f0d9d9d9bdbdbd969696737373525252252525","fffffff0f0f0d9d9d9bdbdbd969696737373525252252525000000").map(lD),hN=yD(fN),pN=new Array(3).concat("efedf5bcbddc756bb1","f2f0f7cbc9e29e9ac86a51a3","f2f0f7cbc9e29e9ac8756bb154278f","f2f0f7dadaebbcbddc9e9ac8756bb154278f","f2f0f7dadaebbcbddc9e9ac8807dba6a51a34a1486","fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a34a1486","fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a354278f3f007d").map(lD),gN=yD(pN),mN=new Array(3).concat("fee0d2fc9272de2d26","fee5d9fcae91fb6a4acb181d","fee5d9fcae91fb6a4ade2d26a50f15","fee5d9fcbba1fc9272fb6a4ade2d26a50f15","fee5d9fcbba1fc9272fb6a4aef3b2ccb181d99000d","fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181d99000d","fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181da50f1567000d").map(lD),vN=yD(mN),bN=new Array(3).concat("fee6cefdae6be6550d","feeddefdbe85fd8d3cd94701","feeddefdbe85fd8d3ce6550da63603","feeddefdd0a2fdae6bfd8d3ce6550da63603","feeddefdd0a2fdae6bfd8d3cf16913d948018c2d04","fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d948018c2d04","fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d94801a636037f2704").map(lD),yN=yD(bN),_N=Vr(wr(300,.5,0),wr(-240,.5,1)),wN=Vr(wr(-100,.75,.35),wr(80,1.5,.8)),xN=Vr(wr(260,.75,.35),wr(80,1.5,.8)),kN=wr(),CN=Jn(),SN=Math.PI/3,AN=2*Math.PI/3;function EN(e){var t=e.length;return function(n){return e[Math.max(0,Math.min(t-1,Math.floor(n*t)))]}}var TN,MN,LN=EN(lD("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725")),DN=EN(lD("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf")),NN=EN(lD("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4")),ON=EN(lD("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921"));function FN(){return MN||(MN=1,TN=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}),TN}var RN=d(FN());NE();var IN=d(MA());function zN(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 PN,BN=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function jN(e){if(!(t=BN.exec(e)))throw new Error("invalid format: "+e);var t;return new YN({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 YN(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 $N(e,t){var n=zN(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")}jN.prototype=YN.prototype,YN.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 qN={"%":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 $N(100*e,t)},r:$N,s:function(e,t){var n=zN(e,t);if(!n)return e+"";var r=n[0],i=n[1],o=i-(PN=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")+zN(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 HN(e){return e}var UN,WN,VN=Array.prototype.map,GN=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];UN=function(e){var t,n,r=void 0===e.grouping||void 0===e.thousands?HN:(t=VN.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?HN:function(e){return function(t){return t.replace(/[0-9]/g,(function(t){return e[+t]}))}}(VN.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=jN(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"):qN[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=qN[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?GN[8+PN/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,A=S<p?new Array(p-S+1).join(t):"";switch(g&&h&&(e=r(A+e,A.length?p-k.length:1/0),A=""),n){case"<":e=f+e+k+A;break;case"=":e=f+A+e+k;break;case"^":e=A.slice(0,S=A.length>>1)+f+e+k+A.slice(S);break;default:e=A+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=jN(e)).type="f",e)),r=3*Math.max(-8,Math.min(8,Math.floor(function(e){return(e=zN(Math.abs(e)))?e[1]:NaN}(t)/3))),i=Math.pow(10,-r),o=GN[8+r/3];return function(e){return n(i*e)+o}}}}({decimal:".",thousands:",",grouping:[3],currency:["$",""],minus:"-"}),WN=UN.format,UN.formatPrefix;var KN=new Date,ZN=new Date;function XN(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 XN((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 KN.setTime(+t),ZN.setTime(+r),e(KN),e(ZN),Math.floor(n(KN,ZN))},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 JN=864e5,QN=6048e5;var eO=XN((e=>e.setHours(0,0,0,0)),((e,t)=>e.setDate(e.getDate()+t)),((e,t)=>(t-e-6e4*(t.getTimezoneOffset()-e.getTimezoneOffset()))/JN),(e=>e.getDate()-1));function tO(e){return XN((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()))/QN}))}eO.range;var nO=tO(0),rO=tO(1),iO=tO(2),oO=tO(3),aO=tO(4),sO=tO(5),lO=tO(6);nO.range,rO.range,iO.range,oO.range,aO.range,sO.range,lO.range;var cO=XN((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()}));cO.every=function(e){return isFinite(e=Math.floor(e))&&e>0?XN((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},cO.range;var uO=XN((function(e){e.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCDate(e.getUTCDate()+t)}),(function(e,t){return(t-e)/JN}),(function(e){return e.getUTCDate()-1}));function dO(e){return XN((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)/QN}))}uO.range;var fO=dO(0),hO=dO(1),pO=dO(2),gO=dO(3),mO=dO(4),vO=dO(5),bO=dO(6);fO.range,hO.range,pO.range,gO.range,mO.range,vO.range,bO.range;var yO=XN((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 _O(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 wO(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 xO(e,t,n){return{y:e,m:t,d:n,H:0,M:0,S:0,L:0}}yO.every=function(e){return isFinite(e=Math.floor(e))&&e>0?XN((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},yO.range;var kO,CO,SO,AO,EO={"-":"",_:" ",0:"0"},TO=/^\s*\d+/,MO=/^%/,LO=/[\\^$*+?|[\]().{}]/g;function DO(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 NO(e){return e.replace(LO,"\\$&")}function OO(e){return new RegExp("^(?:"+e.map(NO).join("|")+")","i")}function FO(e){return new Map(e.map(((e,t)=>[e.toLowerCase(),t])))}function RO(e,t,n){var r=TO.exec(t.slice(n,n+1));return r?(e.w=+r[0],n+r[0].length):-1}function IO(e,t,n){var r=TO.exec(t.slice(n,n+1));return r?(e.u=+r[0],n+r[0].length):-1}function zO(e,t,n){var r=TO.exec(t.slice(n,n+2));return r?(e.U=+r[0],n+r[0].length):-1}function PO(e,t,n){var r=TO.exec(t.slice(n,n+2));return r?(e.V=+r[0],n+r[0].length):-1}function BO(e,t,n){var r=TO.exec(t.slice(n,n+2));return r?(e.W=+r[0],n+r[0].length):-1}function jO(e,t,n){var r=TO.exec(t.slice(n,n+4));return r?(e.y=+r[0],n+r[0].length):-1}function YO(e,t,n){var r=TO.exec(t.slice(n,n+2));return r?(e.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function $O(e,t,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(n,n+6));return r?(e.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function qO(e,t,n){var r=TO.exec(t.slice(n,n+1));return r?(e.q=3*r[0]-3,n+r[0].length):-1}function HO(e,t,n){var r=TO.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function UO(e,t,n){var r=TO.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function WO(e,t,n){var r=TO.exec(t.slice(n,n+3));return r?(e.m=0,e.d=+r[0],n+r[0].length):-1}function VO(e,t,n){var r=TO.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function GO(e,t,n){var r=TO.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function KO(e,t,n){var r=TO.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function ZO(e,t,n){var r=TO.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function XO(e,t,n){var r=TO.exec(t.slice(n,n+6));return r?(e.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function JO(e,t,n){var r=MO.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function QO(e,t,n){var r=TO.exec(t.slice(n));return r?(e.Q=+r[0],n+r[0].length):-1}function eF(e,t,n){var r=TO.exec(t.slice(n));return r?(e.s=+r[0],n+r[0].length):-1}function tF(e,t){return DO(e.getDate(),t,2)}function nF(e,t){return DO(e.getHours(),t,2)}function rF(e,t){return DO(e.getHours()%12||12,t,2)}function iF(e,t){return DO(1+eO.count(cO(e),e),t,3)}function oF(e,t){return DO(e.getMilliseconds(),t,3)}function aF(e,t){return oF(e,t)+"000"}function sF(e,t){return DO(e.getMonth()+1,t,2)}function lF(e,t){return DO(e.getMinutes(),t,2)}function cF(e,t){return DO(e.getSeconds(),t,2)}function uF(e){var t=e.getDay();return 0===t?7:t}function dF(e,t){return DO(nO.count(cO(e)-1,e),t,2)}function fF(e){var t=e.getDay();return t>=4||0===t?aO(e):aO.ceil(e)}function hF(e,t){return e=fF(e),DO(aO.count(cO(e),e)+(4===cO(e).getDay()),t,2)}function pF(e){return e.getDay()}function gF(e,t){return DO(rO.count(cO(e)-1,e),t,2)}function mF(e,t){return DO(e.getFullYear()%100,t,2)}function vF(e,t){return DO((e=fF(e)).getFullYear()%100,t,2)}function bF(e,t){return DO(e.getFullYear()%1e4,t,4)}function yF(e,t){var n=e.getDay();return DO((e=n>=4||0===n?aO(e):aO.ceil(e)).getFullYear()%1e4,t,4)}function _F(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+DO(t/60|0,"0",2)+DO(t%60,"0",2)}function wF(e,t){return DO(e.getUTCDate(),t,2)}function xF(e,t){return DO(e.getUTCHours(),t,2)}function kF(e,t){return DO(e.getUTCHours()%12||12,t,2)}function CF(e,t){return DO(1+uO.count(yO(e),e),t,3)}function SF(e,t){return DO(e.getUTCMilliseconds(),t,3)}function AF(e,t){return SF(e,t)+"000"}function EF(e,t){return DO(e.getUTCMonth()+1,t,2)}function TF(e,t){return DO(e.getUTCMinutes(),t,2)}function MF(e,t){return DO(e.getUTCSeconds(),t,2)}function LF(e){var t=e.getUTCDay();return 0===t?7:t}function DF(e,t){return DO(fO.count(yO(e)-1,e),t,2)}function NF(e){var t=e.getUTCDay();return t>=4||0===t?mO(e):mO.ceil(e)}function OF(e,t){return e=NF(e),DO(mO.count(yO(e),e)+(4===yO(e).getUTCDay()),t,2)}function FF(e){return e.getUTCDay()}function RF(e,t){return DO(hO.count(yO(e)-1,e),t,2)}function IF(e,t){return DO(e.getUTCFullYear()%100,t,2)}function zF(e,t){return DO((e=NF(e)).getUTCFullYear()%100,t,2)}function PF(e,t){return DO(e.getUTCFullYear()%1e4,t,4)}function BF(e,t){var n=e.getUTCDay();return DO((e=n>=4||0===n?mO(e):mO.ceil(e)).getUTCFullYear()%1e4,t,4)}function jF(){return"+0000"}function YF(){return"%"}function $F(e){return+e}function qF(e){return Math.floor(+e/1e3)}kO=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=OO(i),u=FO(i),d=OO(o),f=FO(o),h=OO(a),p=FO(a),g=OO(s),m=FO(s),v=OO(l),b=FO(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:tF,e:tF,f:aF,g:vF,G:yF,H:nF,I:rF,j:iF,L:oF,m:sF,M:lF,p:function(e){return i[+(e.getHours()>=12)]},q:function(e){return 1+~~(e.getMonth()/3)},Q:$F,s:qF,S:cF,u:uF,U:dF,V:hF,w:pF,W:gF,x:null,X:null,y:mF,Y:bF,Z:_F,"%":YF},_={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:wF,e:wF,f:AF,g:zF,G:BF,H:xF,I:kF,j:CF,L:SF,m:EF,M:TF,p:function(e){return i[+(e.getUTCHours()>=12)]},q:function(e){return 1+~~(e.getUTCMonth()/3)},Q:$F,s:qF,S:MF,u:LF,U:DF,V:OF,w:FF,W:RF,x:null,X:null,y:IF,Y:PF,Z:jF,"%":YF},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:UO,e:UO,f:XO,g:YO,G:jO,H:VO,I:VO,j:WO,L:ZO,m:HO,M:GO,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:qO,Q:QO,s:eF,S:KO,u:IO,U:zO,V:PO,w:RO,W:BO,x:function(e,t,r){return C(e,n,t,r)},X:function(e,t,n){return C(e,r,t,n)},y:YO,Y:jO,Z:$O,"%":JO};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=EO[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=xO(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=wO(xO(o.y,0,1))).getUTCDay(),r=i>4||0===i?hO.ceil(r):hO(r),r=uO.offset(r,7*(o.V-1)),o.y=r.getUTCFullYear(),o.m=r.getUTCMonth(),o.d=r.getUTCDate()+(o.w+6)%7):(i=(r=_O(xO(o.y,0,1))).getDay(),r=i>4||0===i?rO.ceil(r):rO(r),r=eO.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?wO(xO(o.y,0,1)).getUTCDay():_O(xO(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,wO(o)):_O(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 EO?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"]}),CO=kO.format,SO=kO.parse,kO.utcFormat,AO=kO.utcParse;var HF,UF,WF,VF,GF,KF,ZF,XF,JF,QF,eR,tR,nR,rR,iR,oR,aR,sR,lR,cR,uR,dR,fR=d(VE());function hR(){if(XF)return ZF;XF=1;var e=(VF||(VF=1,WF=function(e,t){return null!=e&&t in Object(e)}),WF),t=function(){if(KF)return GF;KF=1;var e=FM(),t=DE(),n=NE(),r=ZT(),i=OE(),o=RM();return GF=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))},GF}();return ZF=function(n,r){return null!=n&&t(n,r,e)}}function pR(){return tR||(tR=1,eR=function(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}),eR}function gR(){if(oR)return iR;oR=1;var e=pR(),t=function(){if(rR)return nR;rR=1;var e=AA(),t=DE(),n=NE(),r=e?e.isConcatSpreadable:void 0;return nR=function(e){return n(e)||t(e)||!!(r&&e&&e[r])}}();return iR=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},iR}function mR(){if(cR)return lR;cR=1;var e=function(){if(sR)return aR;sR=1;var e=gR();return aR=function(t){return null!=t&&t.length?e(t,1):[]},aR}(),t=eM(),n=tM();return lR=function(r){return n(t(r,void 0,e),r+"")}}var vR,bR,yR,_R,wR,xR,kR,CR,SR,AR,ER,TR,MR,LR,DR,NR,OR,FR,RR,IR,zR,PR,BR,jR,YR,$R,qR,HR,UR,WR,VR,GR,KR,ZR,XR,JR,QR,eI,tI,nI,rI,iI,oI,aI,sI=function(){if(dR)return uR;dR=1;var e=function(){if(QF)return JF;QF=1;var e=function(){if(UF)return HF;UF=1;var e=IM(),t=qM(),n=FM();return HF=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},HF}(),t=hR();return JF=function(n,r){return e(n,r,(function(e,r){return t(n,r)}))}}(),t=mR()((function(t,n){return null==t?{}:e(t,n)}));return uR=t}(),lI=d(sI);function cI(){if(_R)return yR;_R=1;var e=nD(),t=(bR||(bR=1,vR=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}),vR),n=oD();return yR=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},yR}function uI(){return CR||(CR=1,kR=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}),kR}function dI(){if(TR)return ER;TR=1;var e=pR(),t=NE();return ER=function(n,r,i){var o=r(n);return t(n)?o:e(o,i(n))}}function fI(){return LR||(LR=1,MR=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}),MR}function hI(){return NR?DR:(NR=1,DR=function(){return[]})}function pI(){if(FR)return OR;FR=1;var e=fI(),t=hI(),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 OR=i}function gI(){if(jR)return BR;jR=1;var e=XT(),t=function(){if(PR)return zR;PR=1;var e=TE(),t=function(){if(IR)return RR;IR=1;var e=AE()(Object.keys,Object);return RR=e}(),n=Object.prototype.hasOwnProperty;return zR=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}}(),n=FE();return BR=function(r){return n(r)?e(r):t(r)}}function mI(){if($R)return YR;$R=1;var e=dI(),t=pI(),n=gI();return YR=function(r){return e(r,n,t)}}function vI(){if(ZR)return KR;ZR=1;var e=DA()(SA(),"Set");return KR=e}function bI(){if(eI)return QR;eI=1;var e=function(){if(WR)return UR;WR=1;var e=DA()(SA(),"DataView");return UR=e}(),t=NA(),n=function(){if(GR)return VR;GR=1;var e=DA()(SA(),"Promise");return VR=e}(),r=vI(),i=function(){if(JR)return XR;JR=1;var e=DA()(SA(),"WeakMap");return XR=e}(),o=EA(),a=LA(),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}),QR=v}function yI(){if(nI)return tI;nI=1;var e=IA(),t=cI(),n=function(){if(AR)return SR;AR=1;var e=AA(),t=xE(),n=wA(),r=cI(),i=(xR||(xR=1,wR=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}),wR),o=uI(),a=e?e.prototype:void 0,s=a?a.valueOf:void 0;return SR=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},SR}(),r=function(){if(HR)return qR;HR=1;var e=mI(),t=Object.prototype.hasOwnProperty;return qR=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},qR}(),i=bI(),o=NE(),a=WE(),s=WT(),l="[object Arguments]",c="[object Array]",u="[object Object]",d=Object.prototype.hasOwnProperty;return tI=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__"),A=k&&d.call(h,"__wrapped__");if(S||A){var E=S?f.value():f,T=A?h.value():h;return v||(v=new e),m(E,T,p,g,v)}}return!!C&&(v||(v=new e),r(f,h,p,g,m,v))},tI}function _I(){if(iI)return rI;iI=1;var e=yI(),t=LE();return rI=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))}}var wI=d(function(){if(aI)return oI;aI=1;var e=_I();return oI=function(t,n){return e(t,n)}}()),xI=(0,s.q6)(),kI=function(e){var t=e.children,n=e.animate,r=void 0===n||n,i=e.config,o=void 0===i?"default":i,a=(0,s.Kr)((function(){var e=wL(o)?bk[o]:o;return{animate:r,config:e}}),[r,o]);return Wt(xI.Provider,{value:a,children:t})},CI=function(){return(0,s.NT)(xI)},SI=function(e){var t=e.children,n=e.condition,r=e.wrapper;return n?(0,s.Ob)(r,{},t):t},AI={position:"relative"},EI=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,l=e.animate,c=e.motionConfig,u=(0,s.li)(null);return Wt(eL,{theme:n,children:Wt(kI,{animate:l,config:c,children:Wt(_L,{container:u,children:Wt(SI,{condition:i,wrapper:Wt("div",{style:AI,ref:u}),children:[t,a&&Wt(yL,{})]})})})})},TI=function(e,t){return e.width===t.width&&e.height===t.height},MI=function(e){var t=e.children,n=e.width,i=e.height,o=e.onResize,a=DL({width:n,height:i},e.debounceResize,{equalityFn:TI})[0];return(0,s.vJ)((function(){null==o||o(a)}),[a,o]),Wt(r.FK,{children:t(a)})},LI=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 Wt(ML,{defaultWidth:n,defaultHeight:r,children:function(e){var n=e.width,r=e.height;return Wt(MI,{width:n,height:r,onResize:i,debounceResize:a,children:t})}})};function DI(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 NI(){return NI=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},NI.apply(null,arguments)}function OI(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 FI=["id","colors"],RI={linearGradient:function(e){var t=e.id,n=e.colors;return Wt("linearGradient",NI({id:t,x1:0,x2:0,y1:0,y2:1},OI(e,FI),{children:n.map((function(e){var t=e.offset,n=e.color,r=e.opacity;return Wt("stop",{offset:t+"%",stopColor:n,stopOpacity:void 0!==r?r:1},t)}))}))}},II=(0,s.ph)((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),Wt("pattern",{id:t,width:f,height:f,patternUnits:"userSpaceOnUse",children:[Wt("rect",{width:f,height:f,fill:r}),Wt("circle",{cx:p+h,cy:p+h,r:h,fill:o}),d&&Wt("circle",{cx:1.5*c+s+h,cy:1.5*c+s+h,r:h,fill:o})]})})),zI=function(e){return e*Math.PI/180},PI=function(e){return 180*e/Math.PI},BI=function(e,t){return{x:Math.cos(e)*t,y:Math.sin(e)*t}},jI={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"}}},YI=(0,s.ph)((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(zI(f))),m=h/Math.sin(zI(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 "),Wt("pattern",{id:t,width:g,height:m,patternUnits:"userSpaceOnUse",children:[Wt("rect",{width:g,height:m,fill:s,stroke:"rgba(255, 0, 0, 0.1)",strokeWidth:0}),Wt("path",{d:p,strokeWidth:d,stroke:c,strokeLinecap:"square"})]})})),$I=(0,s.ph)((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),Wt("pattern",{id:t,width:f,height:f,patternUnits:"userSpaceOnUse",children:[Wt("rect",{width:f,height:f,fill:o}),Wt("rect",{x:h,y:h,width:s,height:s,fill:r}),d&&Wt("rect",{x:1.5*c+s,y:1.5*c+s,width:s,height:s,fill:r})]})})),qI={patternDots:II,patternLines:YI,patternSquares:$I},HI=["type"],UI=NI({},RI,qI),WI=(0,s.ph)((function(e){var t=e.defs;return!t||t.length<1?null:Wt("defs",{"aria-hidden":!0,children:t.map((function(e){var t=e.type,n=OI(e,HI);return UI[t]?(0,s.n)(UI[t],NI({key:n.id},n)):null}))})})),VI=(0,s.Rf)((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=tL();return Wt("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:[Wt(WI,{defs:o}),Wt("rect",{width:n,height:r,fill:f.background}),Wt("g",{transform:"translate("+i.left+","+i.top+")",children:a})]})})),GI=(0,s.ph)((function(e){var t=e.size,n=e.color,r=e.borderWidth;return Wt("circle",{r:t/2,fill:n,stroke:e.borderColor,strokeWidth:r,style:{pointerEvents:"none"}})})),KI=(0,s.ph)((function(e){var t=e.x,n=e.y,r=e.symbol,i=void 0===r?GI:r,o=e.size,a=e.datum,l=e.color,c=e.borderWidth,u=e.borderColor,d=e.label,f=e.labelTextAnchor,h=void 0===f?"middle":f,p=e.labelYOffset,g=void 0===p?-12:p,m=e.ariaLabel,v=e.ariaLabelledBy,b=e.ariaDescribedBy,y=e.ariaHidden,_=e.ariaDisabled,w=e.isFocusable,x=void 0!==w&&w,k=e.tabIndex,C=void 0===k?0:k,S=e.onFocus,A=e.onBlur,E=e.testId,T=tL(),M=CI(),L=M.animate,D=cC({transform:"translate("+t+", "+n+")",config:M.config,immediate:!L}),N=(0,s.hb)((function(e){null==S||S(a,e)}),[S,a]),O=(0,s.hb)((function(e){null==A||A(a,e)}),[A,a]);return Wt(_A.g,{transform:D.transform,style:{pointerEvents:"none"},focusable:x,tabIndex:x?C:void 0,"aria-label":m,"aria-labelledby":v,"aria-describedby":b,"aria-disabled":_,"aria-hidden":y,onFocus:x&&S?N:void 0,onBlur:x&&A?O:void 0,"data-testid":E,children:[(0,s.n)(i,{size:o,color:l,datum:a,borderWidth:c,borderColor:u}),d&&Wt("text",{textAnchor:h,y:g,style:GM(T.dots.text),children:d})]})})),ZI=(0,s.ph)((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=tL(),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=Wt("text",{transform:"translate("+k.x+", "+k.y+") rotate("+k.rotation+")",textAnchor:k.textAnchor,dominantBaseline:"central",style:s,children:l})}return Wt("g",{transform:"translate("+y+", "+w+")",children:[Wt("line",{x1:0,x2:_,y1:0,y2:x,stroke:b.markers.lineColor,strokeWidth:b.markers.lineStrokeWidth,style:a}),c]})})),XI=(0,s.ph)((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 Wt(ZI,NI({},e,{width:n,height:r,scale:"y"===e.axis?o:i}),t)})):null})),JI=function(e){var t=CI(),n=t.animate,r=t.config,i=function(e){var t=(0,s.li)();return(0,s.vJ)((function(){t.current=e}),[e]),t.current}(e),o=(0,s.Kr)((function(){return Ir(i,e)}),[i,e]),a=cC({from:{value:0},to:{value:1},reset:!0,config:r,immediate:!n}).value;return mC(a,o)};(0,s.q6)(void 0);var QI={basis:ll,basisClosed:function(e){return new cl(e)},basisOpen:function(e){return new ul(e)},bundle:fl,cardinal:gl,cardinalClosed:vl,cardinalOpen:yl,catmullRom:xl,catmullRomClosed:Cl,catmullRomOpen:Al,linear:Xs,linearClosed:function(e){return new El(e)},monotoneX:function(e){return new Nl(e)},monotoneY:function(e){return new Ol(e)},natural:function(e){return new Rl(e)},step:function(e){return new zl(e,.5)},stepAfter:function(e){return new zl(e,1)},stepBefore:function(e){return new zl(e,0)}},ez=Object.keys(QI);ez.filter((function(e){return e.endsWith("Closed")})),sD(ez,"bundle","basisClosed","basisOpen","cardinalClosed","cardinalOpen","catmullRomClosed","catmullRomOpen","linearClosed"),sD(ez,"bundle","basisClosed","basisOpen","cardinalClosed","cardinalOpen","catmullRomClosed","catmullRomOpen","linearClosed");var tz=function(e){if(!QI[e])throw new TypeError("'"+e+"', is not a valid curve interpolator identifier.");return QI[e]};RN(_D),RN(xD),RN(CD),RN(AD),RN(TD),RN(LD),RN(ND),RN(FD),RN(ID),RN(lN),RN(uN),RN(fN),RN(bN),RN(pN),RN(mN),RN(PD),RN(jD),RN($D),RN(HD),RN(WD),RN(GD),RN(ZD),RN(JD),RN(eN),RN(nN),RN(iN),RN(aN),RN(_D),RN(xD),RN(CD),RN(AD),RN(TD),RN(LD),RN(ND),RN(FD),RN(ID),RN(lN),RN(uN),RN(fN),RN(bN),RN(pN),RN(mN),RN(PD),RN(jD),RN($D),RN(HD),RN(WD),RN(GD),RN(ZD),RN(JD),RN(eN),RN(nN),RN(iN),RN(aN),pi(vD);var nz={top:0,right:0,bottom:0,left:0},rz=function(e,t,n){return void 0===n&&(n={}),(0,s.Kr)((function(){var r=NI({},nz,n);return{margin:r,innerWidth:e-r.left-r.right,innerHeight:t-r.top-r.bottom,outerWidth:e,outerHeight:t}}),[e,t,n])},iz=function(){var e=(0,s.li)(null),t=(0,s.J0)({left:0,top:0,width:0,height:0}),n=t[0],r=t[1],i=(0,s.J0)((function(){return"undefined"==typeof ResizeObserver?null:new ResizeObserver((function(e){var t=e[0];return r(t.contentRect)}))}))[0];return(0,s.vJ)((function(){return e.current&&null!==i&&i.observe(e.current),function(){null!==i&&i.disconnect()}}),[i]),[e,n]},oz=function(e){return"function"==typeof e?e:"string"==typeof e?0===e.indexOf("time:")?CO(e.slice("5")):WN(e):function(e){return""+e}},az=function(e){return(0,s.Kr)((function(){return oz(e)}),[e])},sz=function(e){return IN(e)?e:function(t){return $M(t,e)}},lz=function(e){return(0,s.Kr)((function(){return sz(e)}),[e])},cz=function(e,t,n,r){return Math.sqrt(Math.pow(n-e,2)+Math.pow(r-t,2))},uz=function(e,t,n,r,i,o){return e<=i&&i<=e+n&&t<=o&&o<=t+r},dz=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]},fz=Object.keys(RI),hz=Object.keys(qI),pz=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(IN(e))return e(t);if(fR(e)){var r=n?$M(t,n):t;return wI(lI(r,Object.keys(e)),e)}return!1}(n.match,t,o)){var a=e.find((function(e){return e.id===i}));if(a)if(hz.includes(a.type))if("inherit"===a.background||"inherit"===a.color){var l=$M(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),UM(t,c,"url(#"+p+")"),d[p]||(u.push(NI({},a,{id:p,background:f,color:h})),d[p]=1)}else UM(t,c,"url(#"+i+")");else if(fz.includes(a.type))if(a.colors.map((function(e){return e.color})).includes("inherit")){var g=$M(t,s),m=i,v=NI({},a,{colors:a.colors.map((function(e,t){return"inherit"!==e.color?e:(m=m+"."+t+"."+g,NI({},e,{color:"inherit"===e.color?g:e.color}))}))});v.id=m,UM(t,c,"url(#"+m+")"),d[m]||(u.push(v),d[m]=1)}else UM(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 DI(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)?DI(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 gz(){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 mz=function(e,t){e.font=(t.fontWeight?t.fontWeight+" ":"")+t.fontSize+"px "+t.fontFamily},vz=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 bz(){return bz=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},bz.apply(null,arguments)}function yz(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 _z,wz,xz,kz,Cz,Sz,Az,Ez,Tz=["style","children"],Mz=["outlineWidth","outlineColor","outlineOpacity"],Lz=function(e){var t=e.style,n=e.children,i=yz(e,Tz),o=t.outlineWidth,a=t.outlineColor,s=t.outlineOpacity,l=yz(t,Mz);return Wt(r.FK,{children:[o>0&&Wt(_A.text,bz({},i,{style:bz({},l,{strokeWidth:2*o,stroke:a,strokeOpacity:s,strokeLinejoin:"round"}),children:n})),Wt(_A.text,bz({},i,{style:l,children:n}))]})};function Dz(){if(Sz)return Cz;Sz=1;var e=nD(),t=rD(),n=iD(),r=oD(),i=function(){if(kz)return xz;kz=1;var e=vI(),t=wz?_z:(wz=1,_z=function(){}),n=uI(),r=e&&1/n(new e([,-0]))[1]==1/0?function(t){return new e(t)}:t;return xz=r}(),o=uI();return Cz=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},Cz}var Nz,Oz,Fz,Rz,Iz,zz,Pz,Bz,jz,Yz,$z,qz,Hz,Uz,Wz,Vz,Gz,Kz,Zz,Xz,Jz,Qz,eP=function(){if(Ez)return Az;Ez=1;var e=Dz();return Az=function(t){return t&&t.length?e(t):[]},Az}(),tP=d(eP);function nP(){if(Rz)return Fz;Rz=1;var e=TA();return Fz=function(t){return t==t&&!e(t)}}function rP(){return Bz||(Bz=1,Pz=function(e,t){return function(n){return null!=n&&n[e]===t&&(void 0!==t||e in Object(n))}}),Pz}function iP(){if(Xz)return Zz;Xz=1;var e=function(){if(Yz)return jz;Yz=1;var e=function(){if(Oz)return Nz;Oz=1;var e=IA(),t=_I();return Nz=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},Nz}(),t=function(){if(zz)return Iz;zz=1;var e=nP(),t=gI();return Iz=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},Iz}(),n=rP();return jz=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)}}}(),t=function(){if(qz)return $z;qz=1;var e=_I(),t=zM(),n=hR(),r=DM(),i=nP(),o=rP(),a=RM();return $z=function(s,l){return r(s)&&i(l)?o(a(s),l):function(r){var i=t(r,s);return void 0===i&&i===l?n(r,s):e(l,i,3)}}}(),n=QT(),r=NE(),i=function(){if(Kz)return Gz;Kz=1;var e=(Uz||(Uz=1,Hz=function(e){return function(t){return null==t?void 0:t[e]}}),Hz),t=function(){if(Vz)return Wz;Vz=1;var e=IM();return Wz=function(t){return function(n){return e(n,t)}},Wz}(),n=DM(),r=RM();return Gz=function(i){return n(i)?e(r(i)):t(i)}}();return Zz=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 oP,aP,sP,lP,cP,uP,dP,fP,hP,pP,gP,mP,vP,bP,yP,_P,wP,xP,kP=function(){if(Qz)return Jz;Qz=1;var e=iP(),t=Dz();return Jz=function(n,r){return n&&n.length?t(n,e(r,2)):[]}}(),CP=d(kP);function SP(){if(uP)return cP;uP=1;var e=function(){if(aP)return oP;aP=1;var e=jA(),t=gI();return oP=function(n,r){return n&&e(n,r,t)},oP}(),t=function(){if(lP)return sP;lP=1;var e=FE();return sP=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}},sP}(),n=t(e);return cP=n}function AP(){if(_P)return yP;_P=1;var e=NM(),t=IM(),n=iP(),r=function(){if(fP)return dP;fP=1;var e=SP(),t=FE();return dP=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},dP}(),i=(pP||(pP=1,hP=function(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}),hP),o=GE(),a=function(){if(bP)return vP;bP=1;var e=function(){if(mP)return gP;mP=1;var e=LM();return gP=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 vP=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},vP}(),s=QT(),l=NE();return yP=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)}))},yP}var EP,TP,MP,LP,DP=d(function(){if(xP)return wP;xP=1;var e=gR(),t=AP(),n=nM(),r=rM(),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 wP=i}()),NP=d(function(){if(LP)return MP;LP=1;var e=function(){if(TP)return EP;TP=1;var e=EA(),t=LE();return EP=function(n){return t(n)&&"[object Date]"==e(n)}}(),t=GE(),n=UT(),r=n&&n.isDate,i=r?t(r):e;return MP=i}()),OP=new Date,FP=new Date;function RP(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 RP((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 OP.setTime(+t),FP.setTime(+r),e(OP),e(FP),Math.floor(n(OP,FP))},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 IP=RP((function(){}),(function(e,t){e.setTime(+e+t)}),(function(e,t){return t-e}));IP.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?RP((function(t){t.setTime(Math.floor(t/e)*e)}),(function(t,n){t.setTime(+t+n*e)}),(function(t,n){return(n-t)/e})):IP:null},IP.range;var zP=1e3,PP=6e4,BP=36e5,jP=6048e5,YP=RP((function(e){e.setTime(e-e.getMilliseconds())}),(function(e,t){e.setTime(+e+t*zP)}),(function(e,t){return(t-e)/zP}),(function(e){return e.getUTCSeconds()}));YP.range;var $P=RP((function(e){e.setTime(e-e.getMilliseconds()-e.getSeconds()*zP)}),(function(e,t){e.setTime(+e+t*PP)}),(function(e,t){return(t-e)/PP}),(function(e){return e.getMinutes()}));$P.range;var qP=RP((function(e){e.setTime(e-e.getMilliseconds()-e.getSeconds()*zP-e.getMinutes()*PP)}),(function(e,t){e.setTime(+e+t*BP)}),(function(e,t){return(t-e)/BP}),(function(e){return e.getHours()}));function HP(e){return RP((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())*PP)/jP}))}qP.range;var UP=HP(0),WP=HP(1),VP=HP(2),GP=HP(3),KP=HP(4),ZP=HP(5),XP=HP(6);UP.range,WP.range,VP.range,GP.range,KP.range,ZP.range,XP.range;var JP=RP((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()}));JP.range;var QP=RP((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()}));QP.every=function(e){return isFinite(e=Math.floor(e))&&e>0?RP((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},QP.range;var eB=RP((function(e){e.setUTCSeconds(0,0)}),(function(e,t){e.setTime(+e+t*PP)}),(function(e,t){return(t-e)/PP}),(function(e){return e.getUTCMinutes()}));eB.range;var tB=RP((function(e){e.setUTCMinutes(0,0,0)}),(function(e,t){e.setTime(+e+t*BP)}),(function(e,t){return(t-e)/BP}),(function(e){return e.getUTCHours()}));function nB(e){return RP((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)/jP}))}tB.range;var rB=nB(0),iB=nB(1),oB=nB(2),aB=nB(3),sB=nB(4),lB=nB(5),cB=nB(6);rB.range,iB.range,oB.range,aB.range,sB.range,lB.range,cB.range;var uB=RP((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()}));uB.range;var dB=RP((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 fB(){return fB=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},fB.apply(null,arguments)}dB.every=function(e){return isFinite(e=Math.floor(e))&&e>0?RP((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},dB.range;var hB=[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)}],pB={millisecond:[],second:hB.slice(0,1),minute:hB.slice(0,2),hour:hB.slice(0,3),day:hB.slice(0,4),month:hB.slice(0,5),year:hB.slice(0,6)},gB=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 pB[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?AO(n):SO(n);return s(t(e))}},mB=function(e){var t=e;return t.type="band",t},vB=function(e,t){return e===t},bB=function(e,t){return e.getTime()===t.getTime()};function yB(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=$i().range("x"===r?[0,n]:[n,0]).interpolate(w?Pr:Nr).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=vi().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=gi().range("x"===r?[0,n]:[n,0]).domain(t.all).round(o);return mB(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=gB({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?bs():function(){return di.apply(vs(qo,Ho,Po,Io,wo,vo,go,ho,fo,Ko).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 _=Zi().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=Qi().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 _B=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},wB=function(e,t,n,r,i){var o=e.map((function(e){return function(e){return fB({},e,{data:e.data.map((function(e){return{data:fB({},e)}}))})}(e)})),a=xB(o,t,n);"stacked"in t&&!0===t.stacked&&SB(a,o),"stacked"in n&&!0===n.stacked&&AB(a,o);var s=yB(t,a.x,r,"x"),l=yB(n,a.y,i,"y"),c=o.map((function(e){return fB({},e,{data:e.data.map((function(e){return fB({},e,{position:{x:_B(e,"x",s),y:_B(e,"y",l)}})}))})}));return fB({},a,{series:c,xScale:s,yScale:l})},xB=function(e,t,n){return{x:kB(e,"x",t),y:kB(e,"y",n)}},kB=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=gB(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=DP(tP(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=CP(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:RN(f)};default:var h=tP(u);return{all:h,min:h[0],max:RN(h)}}},CB=function(e,t,n){var r=function(e){return"x"===e?"y":"x"}(e),i=[];t[r].all.forEach((function(t){var o=NP(t)?bB:vB,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=RN(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)},SB=function(e,t){return CB("x",e,t)},AB=function(e,t){return CB("y",e,t)},EB=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}},TB={millisecond:[IP,IP],second:[YP,YP],minute:[$P,eB],hour:[qP,tB],day:[RP((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)})),RP((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:[UP,rB],sunday:[UP,rB],monday:[WP,iB],tuesday:[VP,oB],wednesday:[GP,aB],thursday:[KP,sB],friday:[ZP,lB],saturday:[XP,cB],month:[JP,uB],year:[QP,dB]},MB=Object.keys(TB),LB=new RegExp("^every\\s*(\\d+)?\\s*("+MB.join("|")+")s?$","i"),DB=function(e,t){if(Array.isArray(t))return t;if("string"==typeof t&&"useUTC"in e){var n=t.match(LB);if(n){var r=n[1],i=n[2],o=TB[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 NB(){return NB=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},NB.apply(null,arguments)}var OB=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=DB(r,o),h=jI[d],p="bandwidth"in r?EB(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 NB({key:e instanceof Date?""+e.valueOf():""+e,value:n},t(e),g,m)})),textAlign:b,textBaseline:y}},FB=function(e,t){if(void 0===e||"function"==typeof e)return e;if("time"===t.type){var n=CO(e);return function(e){return n(e instanceof Date?e:new Date(e))}}return WN(e)},RB=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)||DB(i,a)),l="bandwidth"in i?EB(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},IB=(0,s.ph)((function(e){var t,n=e.value,r=e.format,i=e.lineX,o=e.lineY,a=e.onClick,l=e.textBaseline,c=e.textAnchor,u=e.theme,d=e.animatedProps,f=null!=(t=null==r?void 0:r(n))?t:n,h=(0,s.Kr)((function(){var e={opacity:d.opacity};return a?{style:NB({},e,{cursor:"pointer"}),onClick:function(e){return a(e,f)}}:{style:e}}),[d.opacity,a,f]);return Wt(_A.g,NB({transform:d.transform},h,{children:[Wt("line",{x1:0,x2:i,y1:0,y2:o,style:u.line}),Wt(Lz,{dominantBaseline:l,textAnchor:c,transform:d.textTransform,style:u.text,children:""+f})]}))})),zB={tickSize:5,tickPadding:5,tickRotation:0,legendPosition:"middle",legendOffset:0},PB=(0,s.ph)((function(e){var t=e.axis,n=e.scale,i=e.x,o=void 0===i?0:i,a=e.y,l=void 0===a?0:a,c=e.length,u=e.ticksPosition,d=e.tickValues,f=e.tickSize,h=void 0===f?zB.tickSize:f,p=e.tickPadding,g=void 0===p?zB.tickPadding:p,m=e.tickRotation,v=void 0===m?zB.tickRotation:m,b=e.format,y=e.renderTick,_=void 0===y?IB:y,w=e.truncateTickAt,x=e.legend,k=e.legendPosition,C=void 0===k?zB.legendPosition:k,S=e.legendOffset,A=void 0===S?zB.legendOffset:S,E=e.style,T=e.onClick,M=e.ariaHidden,L=function(e,t){return(0,s.Kr)((function(){return ZM(e,t)}),[e,t])}(tL().axis,E),D=(0,s.Kr)((function(){return FB(b,n)}),[b,n]),N=OB({axis:t,scale:n,ticksPosition:u,tickValues:d,tickSize:h,tickPadding:g,tickRotation:v,truncateTickAt:w}),O=N.ticks,F=N.textAlign,R=N.textBaseline,I=null;if(void 0!==x){var z,P=0,B=0,j=0;"y"===t?(j=-90,P=A,"start"===C?(z="start",B=c):"middle"===C?(z="middle",B=c/2):"end"===C&&(z="end")):(B=A,"start"===C?z="start":"middle"===C?(z="middle",P=c/2):"end"===C&&(z="end",P=c)),I=Wt(r.FK,{children:Wt(Lz,{transform:"translate("+P+", "+B+") rotate("+j+")",textAnchor:z,style:NB({},L.legend.text,{dominantBaseline:"central"}),children:x})})}var Y=CI(),$=Y.animate,q=Y.config,H=cC({transform:"translate("+o+","+l+")",lineX2:"x"===t?c:0,lineY2:"x"===t?0:c,config:q,immediate:!$}),U=(0,s.hb)((function(e){return{opacity:1,transform:"translate("+e.x+","+e.y+")",textTransform:"translate("+e.textX+","+e.textY+") rotate("+v+")"}}),[v]),W=(0,s.hb)((function(e){return{opacity:0,transform:"translate("+e.x+","+e.y+")",textTransform:"translate("+e.textX+","+e.textY+") rotate("+v+")"}}),[v]),V=uC(O,{keys:function(e){return e.key},initial:U,from:W,enter:U,update:U,leave:{opacity:0},config:q,immediate:!$});return Wt(_A.g,{transform:H.transform,"aria-hidden":M,children:[V((function(e,t,n,r){return s.n(_,NB({tickIndex:r,format:D,rotate:v,textBaseline:R,textAnchor:F,truncateTickAt:w,animatedProps:e,theme:L.ticks},t,T?{onClick:T}:{}))})),Wt(_A.line,{style:L.domain.line,x1:0,x2:H.lineX2,y1:0,y2:H.lineY2}),I]})})),BB=["top","right","bottom","left"],jB=(0,s.ph)((function(e){var t=e.xScale,n=e.yScale,i=e.width,o=e.height,a={top:e.top,right:e.right,bottom:e.bottom,left:e.left};return Wt(r.FK,{children:BB.map((function(e){var r=a[e];if(!r)return null;var s="top"===e||"bottom"===e;return Wt(PB,NB({},r,{axis:s?"x":"y",x:"right"===e?i:0,y:"bottom"===e?o:0,scale:s?t:n,length:s?i:o,ticksPosition:"top"===e||"left"===e?"before":"after",truncateTickAt:r.truncateTickAt}),e)}))})})),YB=(0,s.ph)((function(e){var t=e.animatedProps,n=tL();return Wt(_A.line,NB({},t,n.grid.line))})),$B=(0,s.ph)((function(e){var t=e.lines,n=CI(),r=n.animate,i=uC(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 Wt("g",{children:i((function(e,t){return(0,s.n)(YB,NB({},t,{key:t.key,animatedProps:e}))}))})})),qB=(0,s.ph)((function(e){var t=e.width,n=e.height,i=e.xScale,o=e.yScale,a=e.xValues,l=e.yValues,c=(0,s.Kr)((function(){return!!i&&RB({width:t,height:n,scale:i,axis:"x",values:a})}),[i,a,t,n]),u=(0,s.Kr)((function(){return!!o&&RB({width:t,height:n,scale:o,axis:"y",values:l})}),[n,t,o,l]);return Wt(r.FK,{children:[c&&Wt($B,{lines:c}),u&&Wt($B,{lines:u})]})})),HB=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};BB.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=FB(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?zB.tickSize:h,g=t.tickPadding,m=void 0===g?zB.tickPadding:g,v=t.tickRotation,b=void 0===v?zB.tickRotation:v,y=t.format,_=t.legend,w=t.legendPosition,x=void 0===w?zB.legendPosition:w,k=t.legendOffset,C=void 0===k?zB.legendOffset:k,S=t.theme,A=t.style,E=OB({axis:i,scale:o,ticksPosition:d,tickValues:f,tickSize:p,tickPadding:m,tickRotation:b,engine:"canvas"}),T=E.ticks,M=E.textAlign,L=E.textBaseline;e.save(),e.translate(s,c);var D=ZM(S.axis,A);e.textAlign=M,e.textBaseline=L,mz(e,D.ticks.text);var N=null!=(n=D.domain.line.strokeWidth)?n:0;"string"!=typeof N&&N>0&&(e.lineWidth=N,e.lineCap="square",D.domain.line.stroke&&(e.strokeStyle=D.domain.line.stroke),e.beginPath(),e.moveTo(0,0),e.lineTo("x"===i?u:0,"x"===i?0:u),e.stroke());var O="function"==typeof y?y:function(e){return""+e},F=null!=(r=D.ticks.line.strokeWidth)?r:0,R="string"!=typeof F&&F>0;if(T.forEach((function(t){R&&(e.lineWidth=F,e.lineCap="square",D.ticks.line.stroke&&(e.strokeStyle=D.ticks.line.stroke),e.beginPath(),e.moveTo(t.x,t.y),e.lineTo(t.x+t.lineX,t.y+t.lineY),e.stroke());var n=O(t.value);e.save(),e.translate(t.x+t.textX,t.y+t.textY),e.rotate(zI(b)),vz(e,D.ticks.text,""+n),e.fillText(""+n,0,0),e.restore()})),void 0!==_){var I=0,z=0,P=0,B="center";"y"===i?(P=-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(zI(P)),mz(e,D.legend.text),D.legend.text.fill&&(e.fillStyle=D.legend.text.fill),e.textAlign=B,e.textBaseline="middle",vz(e,D.legend.text,_)}e.restore()}(e,NB({},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}))}))},UB=function(e,t){var n=t.width,r=t.height,i=t.scale,o=t.axis,a=t.values;RB({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 WB(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 VB(){return VB=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},VB.apply(null,arguments)}var GB={nivo:["#e8c1a0","#f47560","#f1e15b","#e8a838","#61cdbb","#97e3d5"],category10:cD,accent:uD,dark2:dD,paired:fD,pastel1:hD,pastel2:pD,set1:gD,set2:mD,set3:vD,tableau10:bD},KB=Object.keys(GB),ZB={brown_blueGreen:_D,purpleRed_green:xD,pink_yellowGreen:CD,purple_orange:AD,red_blue:TD,red_grey:LD,red_yellow_blue:ND,red_yellow_green:FD,spectral:ID},XB=Object.keys(ZB),JB={brown_blueGreen:wD,purpleRed_green:kD,pink_yellowGreen:SD,purple_orange:ED,red_blue:MD,red_grey:DD,red_yellow_blue:OD,red_yellow_green:RD,spectral:zD},QB={blues:lN,greens:uN,greys:fN,oranges:bN,purples:pN,reds:mN,blue_green:PD,blue_purple:jD,green_blue:$D,orange_red:HD,purple_blue_green:WD,purple_blue:GD,purple_red:ZD,red_purple:JD,yellow_green_blue:eN,yellow_green:nN,yellow_orange_brown:iN,yellow_orange_red:aN},ej=Object.keys(QB),tj={blues:cN,greens:dN,greys:hN,oranges:yN,purples:gN,reds:vN,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:LN,inferno:NN,magma:DN,plasma:ON,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:wN,cool:xN,cubehelixDefault:_N,blue_green:BD,blue_purple:YD,green_blue:qD,orange_red:UD,purple_blue_green:VD,purple_blue:KD,purple_red:XD,red_purple:QD,yellow_green_blue:tN,yellow_green:rN,yellow_orange_brown:oN,yellow_orange_red:sN},nj=VB({},GB,ZB,QB),rj={rainbow:function(e){(e<0||e>1)&&(e-=Math.floor(e));var t=Math.abs(e-.5);return kN.h=360*e-100,kN.s=1.5-1.5*t,kN.l=.8-.9*t,kN+""},sinebow:function(e){var t;return e=(.5-e)*Math.PI,CN.r=255*(t=Math.sin(e))*t,CN.g=255*(t=Math.sin(e+SN))*t,CN.b=255*(t=Math.sin(e+AN))*t,CN+""}},ij=VB({},JB,tj,rj),oj=function(e,t){return(0,s.Kr)((function(){return function(e,t){if("function"==typeof e)return e;if(fR(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=$M(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 $M(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 WB(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)?WB(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)}),Jn(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])},aj=function(e,t){var n=eo().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=ij[r],a=Array.from({length:i}).map((function(e,t){return o(t*(1/(i-1)))}));n.range(a)}return n},sj=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=_s().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(ij[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=ws().domain(s).clamp(!0),u=function(e){return String(e)};if("colors"in e)u=ws().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=ij[f]}return c.interpolator((function(e){return u(e+l)}))}(e,t);if(function(e){return"quantize"===e.type}(e))return aj(e,t);throw new Error("Invalid continuous color scale config")},lj=function(e,t){return(0,s.Kr)((function(){return function(e,t){if("function"==typeof e)return e;var n="function"==typeof t?t:function(e){return $M(e,t)};if(Array.isArray(e)){var r=pi(e),i=function(e){return r(n(e))};return i.scale=r,i}if(fR(e)){if(function(e){return void 0!==e.datum}(e))return function(t){return $M(t,e.datum)};if(function(e){return void 0!==e.scheme}(e)){if(function(e){return KB.includes(e)}(e.scheme)){var o=pi(nj[e.scheme]),a=function(e){return o(n(e))};return a.scale=o,a}if(function(e){return XB.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=pi(nj[e.scheme][e.size||11]),l=function(e){return s(n(e))};return l.scale=s,l}if(function(e){return ej.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=pi(nj[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 cj(){return cj=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},cj.apply(null,arguments)}var uj,dj,fj="left-to-right",hj={length:200,thickness:16,direction:"row",tickPosition:"after",tickSize:4,tickSpacing:3,tickOverlap:!1,tickFormat:function(e){return""+e},titleAlign:"start",titleOffset:4},pj={top:0,right:0,bottom:0,left:0},gj=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}:cj({},pj,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}},mj=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}},vj=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}},bj=function(e){var t,n=e.scale,r=e.ticks,i=e.length,o=void 0===i?hj.length:i,a=e.thickness,s=void 0===a?hj.thickness:a,l=e.direction,c=void 0===l?hj.direction:l,u=e.tickPosition,d=void 0===u?hj.tickPosition:u,f=e.tickSize,h=void 0===f?hj.tickSize:f,p=e.tickSpacing,g=void 0===p?hj.tickSpacing:p,m=e.tickOverlap,v=void 0===m?hj.tickOverlap:m,b=e.tickFormat,y=void 0===b?hj.tickFormat:b,_=e.title,w=e.titleAlign,x=void 0===w?hj.titleAlign:w,k=e.titleOffset,C=void 0===k?hj.titleOffset:k,S="column"===c?[].concat(n.domain()).reverse():n.domain(),A=$i().domain(S);2===S.length?A.range([0,o]):3===S.length&&A.range([0,o/2,o]),t="thresholds"in n?[S[0]].concat(n.thresholds(),[S[1]]):Array.isArray(r)?r:n.ticks(r);var E,T,M,L,D,N,O,F,R,I,z,P,B,j,Y=function(e){var t=e.domain();if("thresholds"in e){var n=[],r=$i().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),$=oz(y),q=[],H=0,U=0;return"row"===c?(E=o,T=s,U=1,D=0,M="start"===x?0:"middle"===x?o/2:o,"before"===d?(O=-h,F=v?s:0,R=-h-g,I="alphabetic",L=s+C,N="hanging"):(O=v?0:s,R=(F=s+h)+g,I="hanging",L=-C,N="alphabetic"),t.forEach((function(e){var t=A(e);q.push({x1:t,y1:O,x2:t,y2:F,text:$(e),textX:t,textY:R,textHorizontalAlign:"middle",textVerticalAlign:I})}))):(E=s,T=o,H=1,D=-90,L="start"===x?o:"middle"===x?o/2:0,"before"===d?(P=v?s:0,B=(z=-h)-g,j="end",M=s+C,N="hanging"):(z=v?0:s,B=(P=s+h)+g,j="start",M=-C,N="alphabetic"),t.forEach((function(e){var t=A(e);q.push({x1:z,y1:t,x2:P,y2:t,text:$(e),textX:B,textY:t,textHorizontalAlign:j,textVerticalAlign:"central"})}))),{width:E,height:T,gradientX1:0,gradientY1:H,gradientX2:U,gradientY2:0,colorStops:Y,ticks:q,titleText:_,titleX:M,titleY:L,titleRotation:D,titleHorizontalAlign:x,titleVerticalAlign:N}},yj=function(e){var t=e.scale,n=e.ticks,r=e.length,i=void 0===r?hj.length:r,o=e.thickness,a=void 0===o?hj.thickness:o,l=e.direction,c=void 0===l?hj.direction:l,u=e.tickPosition,d=void 0===u?hj.tickPosition:u,f=e.tickSize,h=void 0===f?hj.tickSize:f,p=e.tickSpacing,g=void 0===p?hj.tickSpacing:p,m=e.tickOverlap,v=void 0===m?hj.tickOverlap:m,b=e.tickFormat,y=void 0===b?hj.tickFormat:b,_=e.title,w=e.titleAlign,x=void 0===w?hj.titleAlign:w,k=e.titleOffset,C=bj({scale:t,ticks:n,length:i,thickness:a,direction:c,tickPosition:d,tickSize:h,tickSpacing:g,tickOverlap:v,tickFormat:y,title:_,titleAlign:x,titleOffset:void 0===k?hj.titleOffset:k}),S=C.width,A=C.height,E=C.gradientX1,T=C.gradientY1,M=C.gradientX2,L=C.gradientY2,D=C.ticks,N=C.colorStops,O=C.titleText,F=C.titleX,R=C.titleY,I=C.titleRotation,z=C.titleVerticalAlign,P=C.titleHorizontalAlign,B=tL(),j="ContinuousColorsLegendSvgGradient."+c+"."+N.map((function(e){return e.stopColor.replace(/[(),\s]/g,"")+"."+e.offset})).join("_");return Wt("g",{children:[Wt("defs",{children:Wt("linearGradient",{id:j,x1:E,y1:T,x2:M,y2:L,children:N.map((function(e){return Wt("stop",{offset:e.offset,stopColor:e.stopColor},e.key)}))})}),O&&Wt("text",{transform:"translate("+F+", "+R+") rotate("+I+")",textAnchor:P,dominantBaseline:z,style:B.legends.title.text,children:O}),Wt("rect",{width:S,height:A,fill:"url(#"+j}),D.map((function(e,t){return Wt(s.FK,{children:[Wt("line",{x1:e.x1,y1:e.y1,x2:e.x2,y2:e.y2,style:B.legends.ticks.line}),Wt(Lz,{x:e.textX,y:e.textY,textAnchor:e.textHorizontalAlign,dominantBaseline:e.textVerticalAlign,style:B.legends.ticks.text,children:e.text})]},t)}))]})},_j=["containerWidth","containerHeight","anchor","translateX","translateY","length","thickness","direction"],wj=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?hj.length:u,f=e.thickness,h=void 0===f?hj.thickness:f,p=e.direction,g=void 0===p?hj.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,_j);"row"===g?(t=d,n=h):(t=h,n=d);var v=mj({anchor:o,translateX:s,translateY:c,containerWidth:r,containerHeight:i,width:t,height:n});return Wt("g",{transform:"translate("+v.x+", "+v.y+")",children:Wt(yj,cj({length:d,thickness:h,direction:g},m))})},xj={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 Wt("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 Wt("g",{transform:"translate("+t+","+n+")",children:Wt("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 Wt("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 Wt("g",{transform:"translate("+t+","+n+")",children:Wt("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"}})})}},kj=function(e){var t,n,r,i,o,a,l,c,u,d,f,h=e.x,p=e.y,g=e.width,m=e.height,v=e.data,b=e.direction,y=void 0===b?fj:b,_=e.justify,w=void 0!==_&&_,x=e.textColor,k=e.background,C=void 0===k?"transparent":k,S=e.opacity,A=void 0===S?1:S,E=e.symbolShape,T=void 0===E?"square":E,M=e.symbolSize,L=void 0===M?16:M,D=e.symbolSpacing,N=void 0===D?8:D,O=e.symbolBorderWidth,F=void 0===O?0:O,R=e.symbolBorderColor,I=void 0===R?"transparent":R,z=e.onClick,P=e.onMouseEnter,B=e.onMouseLeave,j=e.toggleSerie,Y=e.effects,$=(0,s.J0)({}),q=$[0],H=$[1],U=tL(),W=(0,s.hb)((function(e){if(Y){var t=Y.filter((function(e){return"hover"===e.on})).reduce((function(e,t){return cj({},e,t.style)}),{});H(t)}null==P||P(v,e)}),[P,v,Y]),V=(0,s.hb)((function(e){if(Y){var t=Y.filter((function(e){return"hover"!==e.on})).reduce((function(e,t){return cj({},e,t.style)}),{});H(t)}null==B||B(v,e)}),[B,v,Y]),G=vj({direction:y,justify:w,symbolSize:null!=(t=q.symbolSize)?t:L,symbolSpacing:N,width:g,height:m}),K=G.symbolX,Z=G.symbolY,X=G.labelX,J=G.labelY,Q=G.labelAnchor,ee=G.labelAlignment,te=[z,P,B,j].some((function(e){return void 0!==e})),ne="function"==typeof T?T:xj[T];return Wt("g",{transform:"translate("+h+","+p+")",style:{opacity:null!=(n=q.itemOpacity)?n:A},children:[Wt("rect",{width:g,height:m,fill:null!=(r=q.itemBackground)?r:C,style:{cursor:te?"pointer":"auto"},onClick:function(e){null==z||z(v,e),null==j||j(v.id)},onMouseEnter:W,onMouseLeave:V}),s.n(ne,cj({id:v.id,x:K,y:Z,size:null!=(i=q.symbolSize)?i:L,fill:null!=(o=null!=(a=v.fill)?a:v.color)?o:"black",borderWidth:null!=(l=q.symbolBorderWidth)?l:F,borderColor:null!=(c=q.symbolBorderColor)?c:I},v.hidden?U.legends.hidden.symbol:void 0)),Wt(Lz,{textAnchor:Q,style:cj({},U.legends.text,{fill:null!=(u=null!=(d=null!=(f=q.itemTextColor)?f:x)?d:U.legends.text.fill)?u:"black",dominantBaseline:ee,pointerEvents:"none",userSelect:"none"},v.hidden?U.legends.hidden.text:void 0),x:X,y:J,children:v.label})]})},Cj=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?fj: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,A=e.onMouseEnter,E=e.onMouseLeave,T=e.toggleSerie,M=gj({itemCount:t.length,itemWidth:c,itemHeight:u,itemsSpacing:p,direction:i,padding:a}).padding,L="row"===i?c+p:0,D="column"===i?u+p:0;return Wt("g",{transform:"translate("+n+","+r+")",children:t.map((function(e,t){return Wt(kj,{data:e,x:t*L+M.left,y:t*D+M.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:A,onMouseLeave:E,toggleSerie:T},t)}))})},Sj=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,A=e.onClick,E=e.onMouseEnter,T=e.onMouseLeave,M=e.toggleSerie,L=e.effects,D=gj({itemCount:t.length,itemsSpacing:p,itemWidth:g,itemHeight:m,direction:c,padding:d}),N=D.width,O=D.height,F=mj({anchor:l,translateX:o,translateY:s,containerWidth:n,containerHeight:r,width:N,height:O}),R=F.x,I=F.y;return Wt(Cj,{data:t,x:R,y:I,direction:c,padding:d,justify:f,effects:L,itemsSpacing:p,itemWidth:g,itemHeight:m,itemDirection:v,itemTextColor:b,itemBackground:y,itemOpacity:_,symbolShape:w,symbolSize:x,symbolSpacing:k,symbolBorderWidth:C,symbolBorderColor:S,onClick:A,onMouseEnter:E,onMouseLeave:T,toggleSerie:"boolean"==typeof M?void 0:M})},Aj={start:"left",middle:"center",end:"right"},Ej=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,A=t.theme,E=gj({itemCount:n.length,itemWidth:v,itemHeight:b,itemsSpacing:m,direction:u,padding:f}),T=E.width,M=E.height,L=E.padding,D=mj({anchor:c,translateX:a,translateY:l,containerWidth:r,containerHeight:i,width:T,height:M}),N=D.x,O=D.y,F="row"===u?v+m:0,R="column"===u?b+m:0;e.save(),e.translate(N,O),mz(e,A.legends.text),n.forEach((function(t,n){var r,i=n*F+L.left,o=n*R+L.top,a=vj({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=Aj[d],"central"===f&&(e.textBaseline="middle"),vz(e,cj({},A.legends.text,{fill:null!=w?w:A.legends.text.fill}),String(t.label),i+c,o+u)})),e.restore()},Tj=function(){if(dj)return uj;dj=1;var e=OM(),t=0;return uj=function(n){var r=++t;return e(n)+r}}(),Mj=d(Tj);const Lj=134217729;function Dj(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 Nj(e){return new Float64Array(e)}const Oj=Nj(4),Fj=Nj(8),Rj=Nj(12),Ij=Nj(16),zj=Nj(4);function Pj(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,A=n-i,E=t-o,T=r-o;_=S*T,f=Lj*S,h=f-(f-S),p=S-h,f=Lj*T,g=f-(f-T),m=T-g,w=p*m-(_-h*g-p*g-h*m),x=E*A,f=Lj*E,h=f-(f-E),p=E-h,f=Lj*A,g=f-(f-A),m=A-g,k=p*m-(x-h*g-p*g-h*m),v=w-k,d=w-v,Oj[0]=w-(v+d)+(d-k),b=_+v,d=b-_,y=_-(b-d)+(v-d),v=y-x,d=y-v,Oj[1]=y-(v+d)+(d-x),C=b+v,d=C-b,Oj[2]=b-(C-d)+(v-d),Oj[3]=C;let M=function(e,t){let n=t[0];for(let e=1;e<4;e++)n+=t[e];return n}(0,Oj),L=22204460492503146e-32*a;if(M>=L||-M>=L)return M;if(d=e-S,s=e-(S+d)+(d-i),d=n-A,c=n-(A+d)+(d-i),d=t-E,l=t-(E+d)+(d-o),d=r-T,u=r-(T+d)+(d-o),0===s&&0===l&&0===c&&0===u)return M;if(L=11093356479670487e-47*a+33306690738754706e-32*Math.abs(M),M+=S*u+T*s-(E*c+A*l),M>=L||-M>=L)return M;_=s*T,f=Lj*s,h=f-(f-s),p=s-h,f=Lj*T,g=f-(f-T),m=T-g,w=p*m-(_-h*g-p*g-h*m),x=l*A,f=Lj*l,h=f-(f-l),p=l-h,f=Lj*A,g=f-(f-A),m=A-g,k=p*m-(x-h*g-p*g-h*m),v=w-k,d=w-v,zj[0]=w-(v+d)+(d-k),b=_+v,d=b-_,y=_-(b-d)+(v-d),v=y-x,d=y-v,zj[1]=y-(v+d)+(d-x),C=b+v,d=C-b,zj[2]=b-(C-d)+(v-d),zj[3]=C;const D=Dj(4,Oj,4,zj,Fj);_=S*u,f=Lj*S,h=f-(f-S),p=S-h,f=Lj*u,g=f-(f-u),m=u-g,w=p*m-(_-h*g-p*g-h*m),x=E*c,f=Lj*E,h=f-(f-E),p=E-h,f=Lj*c,g=f-(f-c),m=c-g,k=p*m-(x-h*g-p*g-h*m),v=w-k,d=w-v,zj[0]=w-(v+d)+(d-k),b=_+v,d=b-_,y=_-(b-d)+(v-d),v=y-x,d=y-v,zj[1]=y-(v+d)+(d-x),C=b+v,d=C-b,zj[2]=b-(C-d)+(v-d),zj[3]=C;const N=Dj(D,Fj,4,zj,Rj);_=s*u,f=Lj*s,h=f-(f-s),p=s-h,f=Lj*u,g=f-(f-u),m=u-g,w=p*m-(_-h*g-p*g-h*m),x=l*c,f=Lj*l,h=f-(f-l),p=l-h,f=Lj*c,g=f-(f-c),m=c-g,k=p*m-(x-h*g-p*g-h*m),v=w-k,d=w-v,zj[0]=w-(v+d)+(d-k),b=_+v,d=b-_,y=_-(b-d)+(v-d),v=y-x,d=y-v,zj[1]=y-(v+d)+(d-x),C=b+v,d=C-b,zj[2]=b-(C-d)+(v-d),zj[3]=C;const O=Dj(N,Rj,4,zj,Ij);return Ij[O-1]}(e,t,n,r,i,o,c)}const Bj=Math.pow(2,-52),jj=new Uint32Array(512);class Yj{static from(e,t=Vj,n=Gj){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 Yj(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=$j(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=$j(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=Hj(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];Uj(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(Pj(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]=$j(e[2*t],e[2*t+1],x.x,x.y);Uj(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)<=Bj&&Math.abs(u-a)<=Bj)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],Pj(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],Pj(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],Pj(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=jj[--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(qj(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<jj.length&&(jj[i++]=s)}else{if(0===i)break;e=jj[--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 $j(e,t,n,r){const i=e-n,o=t-r;return i*i+o*o}function qj(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 Hj(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 Uj(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;Wj(e,n+r>>1,i),t[e[n]]>t[e[r]]&&Wj(e,n,r),t[e[i]]>t[e[r]]&&Wj(e,i,r),t[e[n]]>t[e[i]]&&Wj(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;Wj(e,i,o)}e[n+1]=e[o],e[o]=a,r-i+1>=o-n?(Uj(e,t,i,r),Uj(e,t,n,o-1)):(Uj(e,t,n,o-1),Uj(e,t,i,r))}}function Wj(e,t,n){const r=e[t];e[t]=e[n],e[n]=r}function Vj(e){return e[0]}function Gj(e){return e[1]}const Kj=1e-6;class Zj{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)>Kj||Math.abs(this._y1-i)>Kj)&&(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 Xj{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 Jj{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 Zj: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 Zj: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 Zj: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 Xj;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 Qj=2*Math.PI,eY=Math.pow;function tY(e){return e[0]}function nY(e){return e[1]}function rY(e,t,n){return[e+Math.sin(e+t)*n,t+Math.cos(e-t)*n]}class iY{static from(e,t=tY,n=nY,r){return new iY("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 Yj(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=rY(t[2*e],t[2*e+1],i);t[2*e]=n[0],t[2*e+1]=n[1]}this._delaunator=new Yj(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 Jj(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=eY(t-l[2*e],2)+eY(n-l[2*e+1],2);const d=r[e];let f=d;do{let r=s[f];const d=eY(t-l[2*r],2)+eY(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&&eY(t-l[2*f],2)+eY(n-l[2*f+1],2)<u)return f;break}}while(f!==d);return c}render(e){const t=null==e?e=new Zj: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 Zj: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,Qj)}return n&&n.value()}renderHull(e){const t=null==e?e=new Zj: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 Xj;return this.renderHull(e),e.value()}renderTriangle(e,t){const n=null==t?t=new Zj: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 Xj;return this.renderTriangle(e,t),t.value()}}function oY(){return oY=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},oY.apply(null,arguments)}function aY(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 sY={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"},lY=function(e){return[e.x,e.y]},cY=nz,uY="cursor",dY=function(e){var t=e.points,n=e.getNodePosition,r=void 0===n?lY:n,i=e.margin,o=void 0===i?cY:i;return t.map((function(e){var t=r(e),n=t[0],i=t[1];return[n+o.left,i+o.top]}))},fY=function(e){var t=e.points,n=e.getNodePosition,r=void 0===n?lY:n,i=e.width,o=e.height,a=e.margin,l=void 0===a?cY:a,c=e.debug;return(0,s.Kr)((function(){return function(e){var t=e.points,n=e.width,r=e.height,i=e.margin,o=void 0===i?cY:i,a=e.debug,s=iY.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:dY({points:t,margin:l,getNodePosition:r}),width:i,height:o,margin:l,debug:c})}),[r,t,i,o,l,c])},hY=["theme"],pY=function(e){var t=e.data,n=e.width,r=e.height,i=e.margin,o=e.layers,a=void 0===o?sY.layers:o,l=e.xDomain,c=void 0===l?sY.xDomain:l,u=e.yDomain,d=void 0===u?sY.yDomain:u,f=e.enableLinks,h=void 0===f?sY.enableLinks:f,p=e.linkLineWidth,g=void 0===p?sY.linkLineWidth:p,m=e.linkLineColor,v=void 0===m?sY.linkLineColor:m,b=e.enableCells,y=void 0===b?sY.enableCells:b,_=e.cellLineWidth,w=void 0===_?sY.cellLineWidth:_,x=e.cellLineColor,k=void 0===x?sY.cellLineColor:x,C=e.enablePoints,S=void 0===C?sY.enableCells:C,A=e.pointSize,E=void 0===A?sY.pointSize:A,T=e.pointColor,M=void 0===T?sY.pointColor:T,L=e.role,D=void 0===L?sY.role:L,N=e.forwardedRef,O=rz(n,r,i),F=O.outerWidth,R=O.outerHeight,I=O.margin,z=function(e){var t=e.data,n=e.width,r=e.height,i=e.xDomain,o=e.yDomain,a=(0,s.Kr)((function(){return $i().domain(i).range([0,n])}),[i,n]),l=(0,s.Kr)((function(){return $i().domain(o).range([0,r])}),[o,r]),c=(0,s.Kr)((function(){return t.map((function(e){return{x:a(e.x),y:l(e.y),data:e}}))}),[t,a,l]);return(0,s.Kr)((function(){var e=iY.from(c.map((function(e){return[e.x,e.y]}))),t=e.voronoi([0,0,n,r]);return{points:c,delaunay:e,voronoi:t}}),[c,n,r])}({data:t,width:O.innerWidth,height:O.innerHeight,xDomain:c,yDomain:d}),P=z.points,B=z.delaunay,j=z.voronoi,Y={links:null,cells:null,points:null,bounds:null};h&&a.includes("links")&&(Y.links=Wt("path",{stroke:v,strokeWidth:g,fill:"none",d:B.render()},"links")),y&&a.includes("cells")&&(Y.cells=Wt("path",{d:j.render(),fill:"none",stroke:k,strokeWidth:w},"cells")),S&&a.includes("points")&&(Y.points=Wt("path",{stroke:"none",fill:M,d:B.renderPoints(void 0,E/2)},"points")),a.includes("bounds")&&(Y.bounds=Wt("path",{fill:"none",stroke:k,strokeWidth:w,d:j.renderBounds()},"bounds"));var $=function(e){var t=e.points,n=e.delaunay,r=e.voronoi;return(0,s.Kr)((function(){return{points:t,delaunay:n,voronoi:r}}),[t,n,r])}({points:P,delaunay:B,voronoi:j});return Wt(VI,{width:F,height:R,margin:I,role:D,ref:N,children:a.map((function(e,t){return void 0!==Y[e]?Y[e]:"function"==typeof e?Wt(s.FK,{children:(0,s.n)(e,$)},t):null}))})},gY=(0,s.Rf)((function(e,t){var n=e.theme,r=aY(e,hY);return Wt(EI,{isInteractive:!1,animate:!1,theme:n,children:Wt(pY,oY({},r,{forwardedRef:t}))})})),mY=["defaultWidth","defaultHeight","onResize","debounceResize"];(0,s.Rf)((function(e,t){var n=e.defaultWidth,r=e.defaultHeight,i=e.onResize,o=e.debounceResize,a=aY(e,mY);return Wt(LI,{defaultWidth:n,defaultHeight:r,onResize:i,debounceResize:o,children:function(e){var n=e.width,r=e.height;return Wt(gY,oY({},a,{width:n,height:r,ref:t}))}})}));var vY=function(e){var t=e.nodes,n=e.width,i=e.height,o=e.margin,a=void 0===o?cY:o,l=e.getNodePosition,c=e.setCurrent,u=e.onMouseEnter,d=e.onMouseMove,f=e.onMouseLeave,h=e.onMouseDown,p=e.onMouseUp,g=e.onClick,m=e.onDoubleClick,v=e.onTouchStart,b=e.onTouchMove,y=e.onTouchEnd,_=e.enableTouchCrosshair,w=void 0!==_&&_,x=e.detectionRadius,k=void 0===x?1/0:x,C=e.tooltip,S=e.tooltipPosition,A=void 0===S?uY:S,E=e.tooltipAnchor,T=void 0===E?"top":E,M=e.debug,L=(0,s.li)(null),D=fY({points:t,getNodePosition:l,width:n,height:i,margin:a,debug:M}),N=D.delaunay,O=D.voronoi,F=function(e){var t=e.elementRef,n=e.nodes,r=e.getNodePosition,i=void 0===r?lY:r,o=e.delaunay,a=e.setCurrent,l=e.margin,c=void 0===l?cY:l,u=e.detectionRadius,d=void 0===u?1/0:u,f=e.isInteractive,h=void 0===f||f,p=e.onMouseEnter,g=e.onMouseMove,m=e.onMouseLeave,v=e.onMouseDown,b=e.onMouseUp,y=e.onClick,_=e.onDoubleClick,w=e.onTouchStart,x=e.onTouchMove,k=e.onTouchEnd,C=e.enableTouchCrosshair,S=void 0!==C&&C,A=e.tooltip,E=e.tooltipPosition,T=void 0===E?uY:E,M=e.tooltipAnchor,L=void 0===M?"top":M,D=(0,s.J0)(null),N=D[0],O=D[1],F=(0,s.li)(null);(0,s.vJ)((function(){F.current=N}),[F,N]);var R=(0,s.hb)((function(e){if(!t.current||0===n.length)return null;var r=dz(t.current,e),a=r[0],s=r[1],l=o.find(a,s),u=void 0!==l?n[l]:null;if(u&&d!==1/0){var f=i(u),h=f[0],p=f[1];cz(a,s,h+c.left,p+c.top)>d&&(l=null,u=null)}return null===l||null===u?null:[l,u]}),[t,o,n,i,c,d]),I=bL(),z=I.showTooltipAt,P=I.showTooltipFromEvent,B=I.hideTooltip,j=(0,s.Kr)((function(){if(A)return"cursor"===T?function(e,t){P(A(e),t,L)}:function(e){var t=i(e),n=t[0],r=t[1];z(A(e),[n+c.left,r+c.top],L)}}),[z,P,A,T,L,i,c]),Y=(0,s.hb)((function(e){var t=R(e);if(O(t),null==a||a(t?t[1]:null),t){var n=t[1];null==j||j(n,e),null==p||p(t[1],e)}}),[R,O,a,j,p]),$=(0,s.hb)((function(e){var t=R(e);if(O(t),t){var n=t[0],r=t[1];if(null==a||a(r),null==j||j(r,e),F.current){var i=F.current,o=i[0],s=i[1];n!==o?null==m||m(s,e):null==g||g(r,e)}else null==p||p(r,e)}else null==a||a(null),null==B||B(),F.current&&(null==m||m(F.current[1],e))}),[R,O,a,F,p,g,m,j,B]),q=(0,s.hb)((function(e){O(null),null==a||a(null),B(),m&&F.current&&m(F.current[1],e)}),[O,a,F,B,m]),H=(0,s.hb)((function(e){var t=R(e);O(t),t&&(null==v||v(t[1],e))}),[R,O,v]),U=(0,s.hb)((function(e){var t=R(e);O(t),t&&(null==b||b(t[1],e))}),[R,O,b]),W=(0,s.hb)((function(e){var t=R(e);O(t),t&&(null==y||y(t[1],e))}),[R,O,y]),V=(0,s.hb)((function(e){var t=R(e);O(t),t&&(null==_||_(t[1],e))}),[R,O,_]),G=(0,s.hb)((function(e){var t=R(e);S&&(O(t),null==a||a(t?t[1]:null)),t&&(null==w||w(t[1],e))}),[R,O,a,S,w]),K=(0,s.hb)((function(e){var t=R(e);S&&(O(t),null==a||a(t?t[1]:null)),t&&(null==x||x(t[1],e))}),[R,O,a,S,x]),Z=(0,s.hb)((function(e){S&&(O(null),null==a||a(null)),k&&F.current&&k(F.current[1],e)}),[S,O,a,k,F]);return{current:N,handleMouseEnter:h?Y:void 0,handleMouseMove:h?$:void 0,handleMouseLeave:h?q:void 0,handleMouseDown:h?H:void 0,handleMouseUp:h?U:void 0,handleClick:h?W:void 0,handleDoubleClick:h?V:void 0,handleTouchStart:h?G:void 0,handleTouchMove:h?K:void 0,handleTouchEnd:h?Z:void 0}}({elementRef:L,nodes:t,delaunay:N,margin:a,detectionRadius:k,setCurrent:c,onMouseEnter:u,onMouseMove:d,onMouseLeave:f,onMouseDown:h,onMouseUp:p,onClick:g,onDoubleClick:m,onTouchStart:v,onTouchMove:b,onTouchEnd:y,enableTouchCrosshair:w,tooltip:C,tooltipPosition:A,tooltipAnchor:T}),R=F.current,I=F.handleMouseEnter,z=F.handleMouseMove,P=F.handleMouseLeave,B=F.handleMouseDown,j=F.handleMouseUp,Y=F.handleClick,$=F.handleDoubleClick,q=F.handleTouchStart,H=F.handleTouchMove,U=F.handleTouchEnd,W=(0,s.Kr)((function(){if(M&&O)return O.render()}),[M,O]);return Wt("g",{ref:L,transform:"translate("+-a.left+","+-a.top+")",children:[M&&O&&Wt(r.FK,{children:[Wt("path",{d:W,stroke:"red",strokeWidth:1,opacity:.75}),k<1/0&&Wt("path",{stroke:"red",strokeWidth:.35,fill:"none",d:N.renderPoints(void 0,k)}),R&&Wt("path",{fill:"pink",opacity:.35,d:O.renderCell(R[0])})]}),Wt("rect",{"data-ref":"mesh-interceptor",width:a.left+n+a.right,height:a.top+i+a.bottom,fill:"red",opacity:0,style:{cursor:"auto"},onMouseEnter:I,onMouseMove:z,onMouseLeave:P,onMouseDown:B,onMouseUp:j,onTouchStart:q,onTouchMove:H,onTouchEnd:U,onClick:Y,onDoubleClick:$})]})};function bY(){return bY=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},bY.apply(null,arguments)}function yY(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 _Y,wY={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:(0,s.ph)((function(e){var t=e.point;return Wt(lL,{id:Wt("span",{children:["x: ",Wt("strong",{children:t.data.xFormatted}),", y:"," ",Wt("strong",{children:t.data.yFormatted})]}),enableChip:!0,color:t.seriesColor})})),sliceTooltip:(0,s.ph)((function(e){var t=e.slice,n=e.axis,r=tL(),i="x"===n?"y":"x";return Wt(uL,{rows:t.points.map((function(e){return[Wt(sL,{color:e.seriesColor,style:r.tooltip.chip},"chip"),e.seriesId,Wt("span",{style:r.tooltip.tableCellValue,children:e.data[i+"Formatted"]},"value")]}))})})),debugMesh:!1,renderWrapper:!0},xY=bY({},wY,{defs:[],fill:[],enablePointLabel:!1,pointLabel:"data.yFormatted",areaBlendMode:"normal",axisTop:null,axisRight:null,axisBottom:zB,axisLeft:zB,useMesh:!1,enableSlices:!1,debugSlices:!1,enableCrosshair:!0,crosshairType:"bottom-left",enableTouchCrosshair:!1,initialHiddenIds:[],animate:!0,motionConfig:"gentle",role:"img",isFocusable:!1}),kY=bY({},wY,{pixelRatio:"undefined"!=typeof window&&null!=(_Y=window.devicePixelRatio)?_Y:1,axisTop:null,axisRight:null,axisBottom:zB,axisLeft:zB});function CY(e){return(0,s.Kr)((function(){return el().defined((function(e){return null!==e.x&&null!==e.y})).x((function(e){return e.x})).y((function(e){return e.y})).curve(tz(e))}),[e])}function SY(e){var t=e.curve,n=e.yScale,r=e.areaBaselineValue;return(0,s.Kr)((function(){return tl().defined((function(e){return null!==e.x&&null!==e.y})).x((function(e){return e.x})).y1((function(e){return e.y})).curve(tz(t)).y0(n(r))}),[t,n,r])}var AY=function(e){var t=e.data,n=e.xScale,r=void 0===n?wY.xScale:n,i=e.xFormat,o=e.yScale,a=void 0===o?wY.yScale:o,l=e.yFormat,c=e.width,u=e.height,d=e.colors,f=void 0===d?wY.colors:d,h=e.curve,p=void 0===h?wY.curve:h,g=e.areaBaselineValue,m=void 0===g?wY.areaBaselineValue:g,v=e.pointColor,b=void 0===v?wY.pointColor:v,y=e.pointBorderColor,_=void 0===y?wY.pointBorderColor:y,w=e.enableSlices,x=void 0===w?xY.enableSlices:w,k=e.initialHiddenIds,C=void 0===k?xY.initialHiddenIds:k,S=(0,s.J0)(Mj("line"))[0],A=az(i),E=az(l),T=lj(f,"id"),M=tL(),L=oj(b,M),D=oj(_,M),N=(0,s.J0)(null!=C?C:[]),O=N[0],F=N[1],R=(0,s.Kr)((function(){return wB(t.filter((function(e){return-1===O.indexOf(e.id)})),r,a,c,u)}),[t,O,r,a,c,u]),I=R.xScale,z=R.yScale,P=R.series,B=(0,s.Kr)((function(){var e=t.map((function(e){return{id:e.id,label:""+e.id,color:T(e)}})),n=e.map((function(e){return bY({},P.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 bY({},e,{hidden:!n.find((function(t){return t.id===e.id}))})})).reverse(),series:n}}),[t,P,T]),j=B.legendData,Y=B.series,$=(0,s.hb)((function(e){F((function(t){return t.indexOf(e)>-1?t.filter((function(t){return t!==e})):[].concat(t,[e])}))}),[]),q=function(e){var t=e.series,n=e.getPointColor,r=e.getPointBorderColor,i=e.formatX,o=e.formatY;return(0,s.Kr)((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:bY({},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:Y,getPointColor:L,getPointBorderColor:D,formatX:A,formatY:E}),H=function(e){var t=e.componentId,n=e.enableSlices,r=e.points,i=e.width,o=e.height;return(0,s.Kr)((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:S,enableSlices:x,points:q,width:c,height:u});return{legendData:j,toggleSeries:$,lineGenerator:CY(p),areaGenerator:SY({curve:p,yScale:z,areaBaselineValue:m}),getColor:T,series:Y,xScale:I,yScale:z,slices:H,points:q}},EY=function(e){var t=e.areaBlendMode,n=e.areaOpacity,r=e.color,i=e.fill,o=e.path,a=CI(),s=a.animate,l=a.config,c=JI(o),u=cC({color:r,config:l,immediate:!s});return Wt(_A.path,{d:c,fill:i||u.color,fillOpacity:n,strokeWidth:0,style:{mixBlendMode:t}})},TY=(0,s.ph)((function(e){var t=e.areaGenerator,n=e.areaOpacity,r=e.areaBlendMode;return Wt("g",{children:e.series.slice(0).reverse().map((function(e){return Wt(EY,bY({path:t(e.data.map((function(e){return e.position})))},bY({areaOpacity:n,areaBlendMode:r},e)),""+e.id)}))})})),MY=(0,s.ph)((function(e){var t=e.lineGenerator,n=e.points,r=e.color,i=e.thickness,o=(0,s.Kr)((function(){return t(n)}),[t,n]),a=JI(o);return Wt(_A.path,{d:a,fill:"none",strokeWidth:i,stroke:r})})),LY=(0,s.ph)((function(e){var t=e.series,n=e.lineGenerator,i=e.lineWidth;return Wt(r.FK,{children:t.slice(0).reverse().map((function(e){var t=e.id,r=e.data,o=e.color;return Wt(MY,{points:r.map((function(e){return e.position})),lineGenerator:n,color:o,thickness:i},t)}))})})),DY=(0,s.ph)((function(e){var t=e.slice,n=e.slices,r=e.axis,i=e.debug,o=e.tooltip,a=e.isCurrent,l=e.setCurrent,c=e.onMouseEnter,u=e.onMouseMove,d=e.onMouseLeave,f=e.onMouseDown,h=e.onMouseUp,p=e.onClick,g=e.onDoubleClick,m=e.onTouchStart,v=e.onTouchMove,b=e.onTouchEnd,y=bL(),_=y.showTooltipFromEvent,w=y.hideTooltip,x=(0,s.hb)((function(e){_((0,s.n)(o,{slice:t,axis:r}),e,"right"),l(t),null==c||c(t,e)}),[_,o,t,r,l,c]),k=(0,s.hb)((function(e){_((0,s.n)(o,{slice:t,axis:r}),e,"right"),null==u||u(t,e)}),[_,o,t,r,u]),C=(0,s.hb)((function(e){w(),l(null),null==d||d(t,e)}),[w,l,d,t]),S=(0,s.hb)((function(e){null==f||f(t,e)}),[t,f]),A=(0,s.hb)((function(e){null==h||h(t,e)}),[t,h]),E=(0,s.hb)((function(e){null==p||p(t,e)}),[t,p]),T=(0,s.hb)((function(e){null==g||g(t,e)}),[t,g]),M=(0,s.hb)((function(e){_((0,s.n)(o,{slice:t,axis:r}),e,"right"),l(t),null==m||m(t,e)}),[r,m,l,_,t,o]),L=(0,s.hb)((function(e){var i=e.touches[0],a=document.elementFromPoint(i.clientX,i.clientY),c=null==a?void 0:a.getAttribute("data-ref");if(c){var u=n.find((function(e){return e.id===c}));u&&(_((0,s.n)(o,{slice:u,axis:r}),e,"right"),l(u))}null==v||v(t,e)}),[r,v,l,_,t,n,o]),D=(0,s.hb)((function(e){w(),l(null),null==b||b(t,e)}),[w,l,b,t]);return Wt("rect",{x:t.x0,y:t.y0,width:t.width,height:t.height,stroke:"red",strokeWidth:i?1:0,strokeOpacity:.75,fill:"red",fillOpacity:a&&i?.35:0,onMouseEnter:x,onMouseMove:k,onMouseLeave:C,onMouseDown:S,onMouseUp:A,onClick:E,onDoubleClick:T,onTouchStart:M,onTouchMove:L,onTouchEnd:D,"data-ref":t.id})})),NY=(0,s.ph)((function(e){var t=e.slices,n=e.axis,i=e.debug,o=e.tooltip,a=e.current,s=e.setCurrent,l=e.onMouseEnter,c=e.onMouseMove,u=e.onMouseLeave,d=e.onMouseDown,f=e.onMouseUp,h=e.onClick,p=e.onDoubleClick,g=e.onTouchStart,m=e.onTouchMove,v=e.onTouchEnd;return Wt(r.FK,{children:t.map((function(e){return Wt(DY,{slice:e,slices:t,axis:n,debug:i,tooltip:o,setCurrent:s,isCurrent:null!==a&&a.id===e.id,onMouseEnter:l,onMouseMove:c,onMouseLeave:u,onMouseDown:d,onMouseUp:f,onClick:h,onDoubleClick:p,onTouchStart:g,onTouchMove:m,onTouchEnd:v},e.id)}))})})),OY=(0,s.ph)((function(e){var t=e.points,n=e.symbol,r=e.size,i=e.borderWidth,o=e.enableLabel,a=e.label,l=e.labelYOffset,c=e.isFocusable,u=e.setCurrentPoint,d=e.tooltip,f=e.margin,h=e.ariaLabel,p=e.ariaLabelledBy,g=e.ariaDescribedBy,m=e.ariaHidden,v=e.ariaDisabled,b=function(e){return IN(e)?e:function(t){return $M(t,e)}}(a),y=bL(),_=y.showTooltipAt,w=y.hideTooltip,x=t.slice(0).sort((function(e,t){return e.indexInSeries-t.indexInSeries})).sort((function(e,t){return t.seriesIndex-e.seriesIndex})).map((function(e){return{id:e.id,x:e.x,y:e.y,datum:e.data,fill:e.color,stroke:e.borderColor,label:o?b(e):null,ariaLabel:h?h(e):void 0,ariaLabelledBy:p?p(e):void 0,ariaDescribedBy:g?g(e):void 0,ariaHidden:m?m(e):void 0,ariaDisabled:v?v(e):void 0,onFocus:c?function(){u(e),_((0,s.n)(d,{point:e}),[f.left+e.x,f.top+e.y],"top")}:void 0,onBlur:c?function(){u(null),w()}:void 0}}));return Wt("g",{children:x.map((function(e){return Wt(KI,{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:l,ariaLabel:e.ariaLabel,ariaLabelledBy:e.ariaLabelledBy,ariaDescribedBy:e.ariaDescribedBy,ariaHidden:e.ariaHidden,ariaDisabled:e.ariaDisabled,isFocusable:c,onFocus:e.onFocus,onBlur:e.onBlur,testId:"line.point."+e.id},e.id)}))})})),FY=(0,s.ph)((function(e){var t=e.points,n=e.width,r=e.height,i=e.margin,o=e.setCurrent,a=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,v=e.tooltip,b=e.debug,y=e.enableTouchCrosshair,_=bL(),w=_.showTooltipAt,x=_.hideTooltip,k=(0,s.hb)((function(e,t){w((0,s.n)(v,{point:e}),[e.x+i.left,e.y+i.top],"top"),null==a||a(e,t)}),[w,v,a,i]),C=(0,s.hb)((function(e,t){w((0,s.n)(v,{point:e}),[e.x+i.left,e.y+i.top],"top"),null==l||l(e,t)}),[w,v,i.left,i.top,l]),S=(0,s.hb)((function(e,t){x(),null==c||c(e,t)}),[x,c]),A=(0,s.hb)((function(e,t){null==u||u(e,t)}),[u]),E=(0,s.hb)((function(e,t){null==d||d(e,t)}),[d]),T=(0,s.hb)((function(e,t){null==f||f(e,t)}),[f]),M=(0,s.hb)((function(e,t){null==h||h(e,t)}),[h]),L=(0,s.hb)((function(e,t){w((0,s.n)(v,{point:e}),[e.x+i.left,e.y+i.top],"top"),null==p||p(e,t)}),[i.left,i.top,p,w,v]),D=(0,s.hb)((function(e,t){w((0,s.n)(v,{point:e}),[e.x+i.left,e.y+i.top],"top"),null==g||g(e,t)}),[i.left,i.top,g,w,v]),N=(0,s.hb)((function(e,t){x(),null==m||m(e,t)}),[m,x]);return Wt(vY,{nodes:t,width:n,height:r,setCurrent:o,onMouseEnter:k,onMouseMove:C,onMouseLeave:S,onMouseDown:A,onMouseUp:E,onClick:T,onDoubleClick:M,onTouchStart:L,onTouchMove:D,onTouchEnd:N,enableTouchCrosshair:y,debug:b})})),RY=["isInteractive","animate","motionConfig","theme","renderWrapper"];function IY(e){var t=e.data,n=e.xScale,r=void 0===n?xY.xScale:n,i=e.xFormat,o=e.yScale,a=void 0===o?xY.yScale:o,l=e.yFormat,c=e.curve,u=void 0===c?xY.curve:c,d=e.margin,f=e.width,h=e.height,p=e.colors,g=void 0===p?xY.colors:p,m=e.lineWidth,v=void 0===m?xY.lineWidth:m,b=e.layers,y=void 0===b?xY.layers:b,_=e.enableArea,w=void 0===_?xY.enableArea:_,x=e.areaBaselineValue,k=void 0===x?xY.areaBaselineValue:x,C=e.areaOpacity,S=void 0===C?xY.areaOpacity:C,A=e.areaBlendMode,E=void 0===A?xY.areaBlendMode:A,T=e.enablePoints,M=void 0===T?xY.enablePoints:T,L=e.pointSymbol,D=e.pointSize,N=void 0===D?xY.pointSize:D,O=e.pointColor,F=void 0===O?xY.pointColor:O,R=e.pointBorderWidth,I=void 0===R?xY.pointBorderWidth:R,z=e.pointBorderColor,P=void 0===z?xY.pointBorderColor:z,B=e.enablePointLabel,j=void 0===B?xY.enablePointLabel:B,Y=e.pointLabel,$=void 0===Y?xY.pointLabel:Y,q=e.pointLabelYOffset,H=e.enableGridX,U=void 0===H?xY.enableGridX:H,W=e.gridXValues,V=e.enableGridY,G=void 0===V?xY.enableGridY:V,K=e.gridYValues,Z=e.axisTop,X=e.axisRight,J=e.axisBottom,Q=void 0===J?xY.axisBottom:J,ee=e.axisLeft,te=void 0===ee?xY.axisLeft:ee,ne=e.defs,re=void 0===ne?xY.defs:ne,ie=e.fill,oe=void 0===ie?xY.fill:ie,ae=e.markers,se=e.legends,le=void 0===se?xY.legends:se,ce=e.isInteractive,ue=void 0===ce?xY.isInteractive:ce,de=e.useMesh,fe=void 0===de?xY.useMesh:de,he=e.debugMesh,pe=void 0===he?xY.debugMesh:he,ge=e.onMouseEnter,me=e.onMouseMove,ve=e.onMouseLeave,be=e.onMouseDown,ye=e.onMouseUp,_e=e.onClick,we=e.onDoubleClick,xe=e.onTouchStart,ke=e.onTouchMove,Ce=e.onTouchEnd,Se=e.tooltip,Ae=void 0===Se?xY.tooltip:Se,Ee=e.enableSlices,Te=void 0===Ee?xY.enableSlices:Ee,Me=e.debugSlices,Le=void 0===Me?xY.debugSlices:Me,De=e.sliceTooltip,Ne=void 0===De?xY.sliceTooltip:De,Oe=e.enableCrosshair,Fe=void 0===Oe?xY.enableCrosshair:Oe,Re=e.crosshairType,Ie=void 0===Re?xY.crosshairType:Re,ze=e.enableTouchCrosshair,Pe=void 0===ze?xY.enableTouchCrosshair:ze,Be=e.role,je=void 0===Be?xY.role:Be,Ye=e.ariaLabel,$e=e.ariaLabelledBy,qe=e.ariaDescribedBy,He=e.isFocusable,Ue=void 0===He?xY.isFocusable:He,We=e.pointAriaLabel,Ve=e.pointAriaLabelledBy,Ge=e.pointAriaDescribedBy,Ke=e.pointAriaHidden,Ze=e.pointAriaDisabled,Xe=e.initialHiddenIds,Je=void 0===Xe?xY.initialHiddenIds:Xe,Qe=e.forwardedRef,et=rz(f,h,d),tt=et.margin,nt=et.innerWidth,rt=et.innerHeight,it=et.outerWidth,ot=et.outerHeight,at=AY({data:t,xScale:r,xFormat:i,yScale:a,yFormat:l,width:nt,height:rt,colors:g,curve:u,areaBaselineValue:k,pointColor:F,pointBorderColor:P,enableSlices:Te,initialHiddenIds:Je}),st=at.legendData,lt=at.toggleSeries,ct=at.lineGenerator,ut=at.areaGenerator,dt=at.series,ft=at.xScale,ht=at.yScale,pt=at.slices,gt=at.points,mt=(0,s.J0)(null),vt=mt[0],bt=mt[1],yt=(0,s.J0)(null),_t=yt[0],wt=yt[1],xt={grid:null,markers:null,axes:null,areas:null,crosshair:null,lines:null,points:null,slices:null,mesh:null,legends:null};y.includes("grid")&&(U||G)&&(xt.grid=Wt(qB,{width:nt,height:rt,xScale:U?ft:null,yScale:G?ht:null,xValues:W,yValues:K},"grid")),y.includes("markers")&&Array.isArray(ae)&&ae.length>0&&(xt.markers=Wt(XI,{markers:ae,width:nt,height:rt,xScale:ft,yScale:ht},"markers")),y.includes("axes")&&(xt.axes=Wt(jB,{xScale:ft,yScale:ht,width:nt,height:rt,top:Z,right:X,bottom:Q,left:te},"axes")),y.includes("lines")&&(xt.lines=Wt(LY,{series:dt,lineGenerator:ct,lineWidth:v},"lines")),y.includes("legends")&&le.length>0&&(xt.legends=Wt(s.FK,{children:le.map((function(e,t){return Wt(Sj,bY({},e,{containerWidth:nt,containerHeight:rt,data:e.data||st,toggleSerie:e.toggleSerie?lt:void 0}),t)}))},"legends"));var kt=pz(re,dt,oe);w&&(xt.areas=Wt(TY,{areaGenerator:ut,areaOpacity:S,areaBlendMode:E,series:dt},"areas")),ue&&!1!==Te&&(xt.slices=Wt(NY,{slices:pt,axis:Te,debug:Le,tooltip:Ne,current:_t,setCurrent:wt,onMouseEnter:ge,onMouseMove:me,onMouseLeave:ve,onMouseDown:be,onMouseUp:ye,onClick:_e,onDoubleClick:we,onTouchStart:xe,onTouchMove:ke,onTouchEnd:Ce},"slices")),M&&(xt.points=Wt(OY,{points:gt,symbol:L,size:N,borderWidth:I,enableLabel:j,label:$,labelYOffset:q,isFocusable:Ue,setCurrentPoint:bt,tooltip:Ae,margin:tt,ariaLabel:We,ariaLabelledBy:Ve,ariaDescribedBy:Ge,ariaHidden:Ke,ariaDisabled:Ze},"points")),ue&&Fe&&(null!==vt&&(xt.crosshair=Wt(fL,{width:nt,height:rt,x:vt.x,y:vt.y,type:Ie},"crosshair")),null!==_t&&Te&&(xt.crosshair=Wt(fL,{width:nt,height:rt,x:_t.x,y:_t.y,type:Te},"crosshair"))),ue&&fe&&!1===Te&&(xt.mesh=Wt(FY,{points:gt,width:nt,height:rt,margin:tt,setCurrent:bt,onMouseEnter:ge,onMouseMove:me,onMouseLeave:ve,onMouseDown:be,onMouseUp:ye,onClick:_e,onDoubleClick:we,onTouchStart:xe,onTouchMove:ke,onTouchEnd:Ce,tooltip:Ae,enableTouchCrosshair:Pe,debug:pe},"mesh"));var Ct=bY({},e,{innerWidth:nt,innerHeight:rt,series:dt,slices:pt,points:gt,xScale:ft,yScale:ht,lineGenerator:ct,areaGenerator:ut,currentPoint:vt,setCurrentPoint:bt,currentSlice:_t,setCurrentSlice:wt});return Wt(VI,{defs:kt,width:it,height:ot,margin:tt,role:je,ariaLabel:Ye,ariaLabelledBy:$e,ariaDescribedBy:qe,isFocusable:Ue,ref:Qe,children:y.map((function(e,t){return"function"==typeof e?Wt(s.FK,{children:e(Ct)},t):xt[e]}))})}var zY=(0,s.Rf)((function(e,t){var n=e.isInteractive,r=void 0===n?xY.isInteractive:n,i=e.animate,o=void 0===i?xY.animate:i,a=e.motionConfig,s=void 0===a?xY.motionConfig:a,l=e.theme,c=e.renderWrapper,u=yY(e,RY);return Wt(EI,{animate:o,isInteractive:r,motionConfig:s,renderWrapper:c,theme:l,children:Wt(IY,bY({isInteractive:r},u,{forwardedRef:t}))})})),PY=["defaultWidth","defaultHeight","onResize","debounceResize"],BY=((0,s.Rf)((function(e,t){var n=e.defaultWidth,r=e.defaultHeight,i=e.onResize,o=e.debounceResize,a=yY(e,PY);return Wt(LI,{defaultWidth:n,defaultHeight:r,onResize:i,debounceResize:o,children:function(e){var n=e.width,r=e.height;return Wt(zY,bY({width:n,height:r},a,{ref:t}))}})})),["isInteractive","renderWrapper","theme"]),jY=function(e){var t=e.width,n=e.height,r=e.margin,i=e.pixelRatio,o=void 0===i?kY.pixelRatio:i,a=e.data,l=e.xScale,c=void 0===l?kY.xScale:l,u=e.xFormat,d=e.yScale,f=void 0===d?kY.yScale:d,h=e.yFormat,p=e.curve,g=void 0===p?kY.curve:p,m=e.layers,v=void 0===m?kY.layers:m,b=e.colors,y=void 0===b?kY.colors:b,_=e.lineWidth,w=void 0===_?kY.lineWidth:_,x=e.enableArea,k=void 0===x?kY.enableArea:x,C=e.areaBaselineValue,S=void 0===C?kY.areaBaselineValue:C,A=e.areaOpacity,E=void 0===A?kY.areaOpacity:A,T=e.enablePoints,M=void 0===T?kY.enablePoints:T,L=e.pointSize,D=void 0===L?kY.pointSize:L,N=e.pointColor,O=void 0===N?kY.pointColor:N,F=e.pointBorderWidth,R=void 0===F?kY.pointBorderWidth:F,I=e.pointBorderColor,z=void 0===I?kY.pointBorderColor:I,P=e.enableGridX,B=void 0===P?kY.enableGridX:P,j=e.gridXValues,Y=e.enableGridY,$=void 0===Y?kY.enableGridY:Y,q=e.gridYValues,H=e.axisTop,U=e.axisRight,W=e.axisBottom,V=void 0===W?kY.axisBottom:W,G=e.axisLeft,K=void 0===G?kY.axisLeft:G,Z=e.legends,X=void 0===Z?kY.legends:Z,J=e.isInteractive,Q=void 0===J?kY.isInteractive:J,ee=e.debugMesh,te=void 0===ee?kY.debugMesh:ee,ne=e.onMouseLeave,re=e.onMouseDown,ie=e.onMouseUp,oe=e.onClick,ae=e.onDoubleClick,se=e.tooltip,le=void 0===se?kY.tooltip:se,ce=e.role,ue=e.forwardedRef,de=(0,s.li)(null),fe=rz(t,n,r),he=fe.margin,pe=fe.innerWidth,ge=fe.innerHeight,me=fe.outerWidth,ve=fe.outerHeight,be=tL(),ye=(0,s.J0)(null),_e=ye[0],we=ye[1],xe=AY({data:a,xScale:c,xFormat:u,yScale:f,yFormat:h,width:pe,height:ge,colors:y,curve:g,areaBaselineValue:S,pointColor:O,pointBorderColor:z}),ke=xe.lineGenerator,Ce=xe.areaGenerator,Se=xe.series,Ae=xe.xScale,Ee=xe.yScale,Te=xe.points,Me=(0,s.Kr)((function(){return{innerWidth:pe,innerHeight:ge,series:Se,points:Te,xScale:Ae,yScale:Ee,lineWidth:w,lineGenerator:ke,areaGenerator:Ce,currentPoint:_e,setCurrentPoint:we}}),[pe,ge,Se,Te,Ae,Ee,w,ke,Ce,_e,we]),Le=fY({points:Te,width:pe,height:ge,debug:te}),De=Le.delaunay,Ne=Le.voronoi;(0,s.vJ)((function(){if(null!==de.current){de.current.width=me*o,de.current.height=ve*o;var e=de.current.getContext("2d");e.scale(o,o),e.fillStyle=be.background,e.fillRect(0,0,me,ve),e.translate(he.left,he.top),v.forEach((function(t){var n;"function"==typeof t&&t(e,Me);var r=null!=(n=be.grid.line.strokeWidth)?n:0;if("grid"===t&&"string"!=typeof r&&r>0&&(e.lineWidth=r,e.strokeStyle=be.grid.line.stroke,B&&UB(e,{width:pe,height:ge,scale:Ae,axis:"x",values:j}),$&&UB(e,{width:pe,height:ge,scale:Ee,axis:"y",values:q})),"axes"===t&&HB(e,{xScale:Ae,yScale:Ee,width:pe,height:ge,top:H,right:U,bottom:V,left:K,theme:be}),"areas"===t&&!0===k){e.save(),e.globalAlpha=E,Ce.context(e);for(var i=Se.length-1;i>=0;i--)e.fillStyle=Se[i].color,e.beginPath(),Ce(Se[i].data.map((function(e){return e.position}))),e.fill();e.restore()}if("lines"===t&&(ke.context(e),Se.forEach((function(t){e.strokeStyle=t.color,e.lineWidth=w,e.beginPath(),ke(t.data.map((function(e){return e.position}))),e.stroke()}))),"points"===t&&!0===M&&D>0&&Te.forEach((function(t){e.fillStyle=t.color,e.beginPath(),e.arc(t.x,t.y,D/2,0,2*Math.PI),e.fill(),R>0&&(e.strokeStyle=t.borderColor,e.lineWidth=R,e.stroke())})),"mesh"===t&&!0===te&&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),_e&&function(e,t,n){e.save(),e.globalAlpha=.35,e.beginPath(),t.renderCell(n,e),e.fillStyle="pink",e.fill(),e.restore()}(e,Ne,_e.absIndex)),"legends"===t){var o=Se.map((function(e){return{id:e.id,label:e.id,color:e.color}})).reverse();X.forEach((function(t){Ej(e,bY({},t,{data:t.data||o,containerWidth:pe,containerHeight:ge,theme:be}))}))}}))}}),[de,pe,me,ge,ve,he.left,he.top,o,v,be,ke,Se,Ae,Ee,B,j,$,q,H,U,V,K,X,Te,M,D,R,_e,Me,te,k,Ce,E,w,Ne]);var Oe=(0,s.hb)((function(e){if(!de.current)return null;var t=dz(de.current,e),n=t[0],r=t[1];if(!uz(he.left,he.top,pe,ge,n,r))return null;var i=De.find(n-he.left,r-he.top);return Te[i]}),[de,he,pe,ge,De,Te]),Fe=bL(),Re=Fe.showTooltipFromEvent,Ie=Fe.hideTooltip,ze=(0,s.hb)((function(e){var t=Oe(e);we(t),t?Re((0,s.n)(le,{point:t}),e):Ie()}),[Oe,we,Re,Ie,le]),Pe=(0,s.hb)((function(e){Ie(),we(null),_e&&(null==ne||ne(_e,e))}),[Ie,we,ne,_e]),Be=(0,s.hb)((function(e){if(re){var t=Oe(e);t&&re(t,e)}}),[Oe,re]),je=(0,s.hb)((function(e){if(ie){var t=Oe(e);t&&ie(t,e)}}),[Oe,ie]),Ye=(0,s.hb)((function(e){if(oe){var t=Oe(e);t&&oe(t,e)}}),[Oe,oe]),$e=(0,s.hb)((function(e){if(ae){var t=Oe(e);t&&ae(t,e)}}),[Oe,ae]);return Wt("canvas",{ref:gz(de,ue),width:me*o,height:ve*o,style:{width:me,height:ve,cursor:Q?"auto":"normal"},onMouseEnter:Q?ze:void 0,onMouseMove:Q?ze:void 0,onMouseLeave:Q?Pe:void 0,onMouseDown:Q?Be:void 0,onMouseUp:Q?je:void 0,onClick:Q?Ye:void 0,onDoubleClick:Q?$e:void 0,role:ce})},YY=(0,s.Rf)((function(e,t){var n=e.isInteractive,r=e.renderWrapper,i=e.theme,o=yY(e,BY);return Wt(EI,{isInteractive:n,renderWrapper:r,theme:i,animate:!1,children:Wt(jY,bY({},o,{forwardedRef:t}))})})),$Y=["defaultWidth","defaultHeight","onResize","debounceResize"];(0,s.Rf)((function(e,t){var n=e.defaultWidth;e.defaultHeight;var r=e.onResize,i=e.debounceResize,o=yY(e,$Y);return Wt(LI,{defaultWidth:n,defaultHeight:n,onResize:r,debounceResize:i,children:function(e){var n=e.width,r=e.height;return Wt(YY,bY({width:n,height:r},o,{ref:t}))}})}));const qY=({label:e,width:t,height:n,ariaLabel:r=e})=>Wt("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 HY=(e,t="chart")=>{const n="chartFill"===t?"chart-fill":"chart";switch(e){case"passed":return`var(--color-status-passed-${n})`;case"failed":return`var(--color-status-failed-${n})`;case"broken":return`var(--color-status-broken-${n})`;case"unknown":default:return`var(--color-status-unknown-${n})`;case"skipped":return`var(--color-status-skipped-${n})`}},UY=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},WY=(e,t)=>{const[n,r]=e,i=t.map(((e,i)=>n+(r-n)*(i/(t.length-1))));return $i().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(Er).clamp(!0)};const VY=e=>"number"==typeof e&&e>=0&&e<=100,GY=({slices:e,percentage:t,className:n})=>Wt("article",{"aria-label":"Success rate",role:"presentation",className:D("styles_chart__mUNSO",n),children:[Wt("svg",{"aria-hidden":!0,viewBox:"0 0 100 100",children:Wt("g",{transform:"translate(50, 50)",children:e.map((e=>!!e.d&&Wt("path",{d:e.d,fill:"__empty__"===e.status?"var(--color-control-bg)":HY(e.status,"chartFill")},e.status)))})}),VY(t)&&Wt(Jt,{className:"styles_legend__JMBvn",size:"s",tag:"b",children:0===t?"0":`${t}%`})]});var KY,ZY,XY,JY,QY,e$,t$,n$,r$,i$,o$,a$,s$,l$,c$,u$,d$,f$,h$,p$,g$,m$,v$,b$,y$,_$,w$,x$,k$,C$,S$,A$,E$,T$,M$,L$,D$,N$,O$,F$,R$,I$,z$,P$;function B$(){if(i$)return r$;i$=1;var e=pR(),t=EE(),n=pI(),r=hI(),i=Object.getOwnPropertySymbols?function(r){for(var i=[];r;)e(i,n(r)),r=t(r);return i}:r;return r$=i}function j$(){if(l$)return s$;l$=1;var e=dI(),t=B$(),n=JT();return s$=function(r){return e(r,n,t)}}function Y$(){if(T$)return E$;T$=1;var e=IA(),t=(ZY||(ZY=1,KY=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}),KY),n=GT(),r=function(){if(JY)return XY;JY=1;var e=KT(),t=gI();return XY=function(n,r){return n&&e(r,t(r),n)},XY}(),i=function(){if(e$)return QY;e$=1;var e=KT(),t=JT();return QY=function(n,r){return n&&e(r,t(r),n)},QY}(),o=wE(),a=SE(),s=function(){if(n$)return t$;n$=1;var e=KT(),t=pI();return t$=function(n,r){return e(n,t(n),r)},t$}(),l=function(){if(a$)return o$;a$=1;var e=KT(),t=B$();return o$=function(n,r){return e(n,t(n),r)},o$}(),c=mI(),u=j$(),d=bI(),f=function(){if(u$)return c$;u$=1;var e=Object.prototype.hasOwnProperty;return c$=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},c$}(),h=function(){if(b$)return v$;b$=1;var e=kE(),t=function(){if(f$)return d$;f$=1;var e=kE();return d$=function(t,n){var r=n?e(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.byteLength)}}(),n=function(){if(p$)return h$;p$=1;var e=/\w*$/;return h$=function(t){var n=new t.constructor(t.source,e.exec(t));return n.lastIndex=t.lastIndex,n}}(),r=function(){if(m$)return g$;m$=1;var e=AA(),t=e?e.prototype:void 0,n=t?t.valueOf:void 0;return g$=function(e){return n?Object(n.call(e)):{}},g$}(),i=CE();return v$=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)}}}(),p=ME(),g=NE(),m=WE(),v=function(){if(x$)return w$;x$=1;var e=function(){if(_$)return y$;_$=1;var e=bI(),t=LE();return y$=function(n){return t(n)&&"[object Map]"==e(n)}}(),t=GE(),n=UT(),r=n&&n.isMap,i=r?t(r):e;return w$=i}(),b=TA(),y=function(){if(A$)return S$;A$=1;var e=function(){if(C$)return k$;C$=1;var e=bI(),t=LE();return k$=function(n){return t(n)&&"[object Set]"==e(n)}}(),t=GE(),n=UT(),r=n&&n.isSet,i=r?t(r):e;return S$=i}(),_=gI(),w=JT(),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,E$=function A(E,T,M,L,D,N){var O,F=1&T,R=2&T,I=4&T;if(M&&(O=D?M(E,L,D,N):M(E)),void 0!==O)return O;if(!b(E))return E;var z=g(E);if(z){if(O=f(E),!F)return a(E,O)}else{var P=d(E),B=P==k||"[object GeneratorFunction]"==P;if(m(E))return o(E,F);if(P==C||P==x||B&&!D){if(O=R||B?{}:p(E),!F)return R?l(E,i(O,E)):s(E,r(O,E))}else{if(!S[P])return D?E:{};O=h(E,P,F)}}N||(N=new e);var j=N.get(E);if(j)return j;N.set(E,O),y(E)?E.forEach((function(e){O.add(A(e,T,M,e,E,N))})):v(E)&&E.forEach((function(e,t){O.set(t,A(e,T,M,t,E,N))}));var Y=z?void 0:(I?R?u:c:R?w:_)(E);return t(Y||E,(function(e,t){Y&&(e=E[t=e]),n(O,t,A(e,T,M,t,E,N))})),O},E$}function $$(){return L$||(L$=1,M$=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}),M$}var q$,H$,U$,W$,V$,G$,K$,Z$,X$,J$,Q$,eq,tq,nq,rq,iq,oq,aq,sq,lq,cq,uq,dq,fq,hq,pq,gq,mq,vq,bq,yq,_q,wq,xq,kq,Cq,Sq=function(){if(P$)return z$;P$=1;var e=NM(),t=Y$(),n=function(){if(F$)return O$;F$=1;var e=FM(),t=FN(),n=function(){if(N$)return D$;N$=1;var e=IM(),t=$$();return D$=function(n,r){return r.length<2?n:e(n,t(r,0,-1))},D$}(),r=RM(),i=Object.prototype.hasOwnProperty;return O$=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))]},O$}(),r=FM(),i=KT(),o=function(){if(I$)return R$;I$=1;var e=VE();return R$=function(t){return e(t)?void 0:t}}(),a=mR(),s=j$(),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 z$=l}(),Aq=d(Sq),Eq=d(function(){if(H$)return q$;H$=1;var e=Y$();return q$=function(t){return e(t,5)}}());function Tq(){if(lq)return sq;lq=1;var e=(W$||(W$=1,U$=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}),U$),t=function(){if(J$)return X$;J$=1;var e=function(){if(Z$)return K$;Z$=1;var e=(G$||(G$=1,V$=function(e){return function(t){return null==e?void 0:e[t]}}),V$),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 K$=t}(),t=OM(),n=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,r=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");return X$=function(i){return(i=t(i))&&i.replace(n,e).replace(r,"")}}(),n=function(){if(aq)return oq;aq=1;var e=function(){if(eq)return Q$;eq=1;var e=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;return Q$=function(t){return t.match(e)||[]}}(),t=function(){if(nq)return tq;nq=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 tq=function(t){return e.test(t)}}(),n=OM(),r=function(){if(iq)return rq;iq=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 rq=function(e){return e.match(w)||[]}}();return oq=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 sq=function(i){return function(o){return e(n(t(o).replace(r,"")),i,"")}}}function Mq(){if(fq)return dq;fq=1;var e=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");return dq=function(t){return e.test(t)}}function Lq(){if(_q)return yq;_q=1;var e=function(){if(uq)return cq;uq=1;var e=$$();return cq=function(t,n,r){var i=t.length;return r=void 0===r?i:r,!n&&r>=i?t:e(t,n,r)},cq}(),t=Mq(),n=function(){if(bq)return vq;bq=1;var e=pq?hq:(pq=1,hq=function(e){return e.split("")}),t=Mq(),n=function(){if(mq)return gq;mq=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 gq=function(e){return e.match(d)||[]}}();return vq=function(r){return t(r)?n(r):e(r)}}(),r=OM();return yq=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 Dq=function(){if(Cq)return kq;Cq=1;var e=Tq(),t=function(){if(xq)return wq;xq=1;var e=Lq()("toUpperCase");return wq=e}(),n=e((function(e,n,r){return e+(r?" ":"")+t(n)}));return kq=n}(),Nq=d(Dq);function Oq(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 Fq(e,t){e instanceof Map?(e=[void 0,e],void 0===t&&(t=Iq)):void 0===t&&(t=Rq);for(var n,r,i,o,a,s=new Bq(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 Bq(i[o])),r.parent=n,r.depth=n.depth+1;return s.eachBefore(Pq)}function Rq(e){return e.children}function Iq(e){return Array.isArray(e)?e[1]:null}function zq(e){void 0!==e.data.value&&(e.value=e.data.value),e.data=e.data.data}function Pq(e){var t=0;do{e.height=t}while((e=e.parent)&&e.height<++t)}function Bq(e){this.data=e,this.depth=this.height=0,this.parent=null}function jq(){return 0}function Yq(e){return function(){return e}}function $q(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 qq(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 Hq(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}Bq.prototype=Fq.prototype={constructor:Bq,count:function(){return this.eachAfter(Oq)},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 Fq(this).eachBefore(zq)},[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 Uq=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?qq(a,n,r,i,x?r+=c*u/x:o):Hq(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 Wq(){return Wq=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},Wq.apply(null,arguments)}function Vq(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 Gq=function(e,t){return mC([e,t],(function(e,t){return"translate("+e+","+t+")"}))},Kq=function(e,t){return mC([e,t],(function(e,t){return"translate("+e+"px, "+t+"px)"}))},Zq=function(e,t,n){return mC([e,t,n],(function(e,t,n){return"translate("+e+","+t+") rotate("+n+")"}))},Xq=function(e,t,n){return mC([e,t,n],(function(e,t,n){return"translate("+e+"px,"+t+"px) rotate("+n+"deg)"}))},Jq=function(e,t,n){return mC([e,t,n],(function(e,t,n){return"translate("+(e-(0===n?0:5))+"px,"+(t-(0===n?5:0))+"px) rotate("+n+"deg)"}))},Qq=(0,s.ph)((function(e){var t=e.node,n=e.animatedProps,r=e.borderWidth,i=e.enableLabel,o=e.enableParentLabel,a=e.labelSkipSize,s=tL(),l=i&&t.isLeaf&&(0===a||Math.min(t.width,t.height)>a),c=o&&t.isParent;return Wt(_A.g,{transform:Gq(n.x,n.y),children:[Wt(_A.rect,{"data-testid":"node."+t.id,width:mC(n.width,(function(e){return Math.max(e,0)})),height:mC(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&&Wt(Lz,{"data-testid":"label."+t.id,textAnchor:"middle",dominantBaseline:"central",style:Wq({},s.labels.text,{fill:t.labelTextColor,pointerEvents:"none"}),fillOpacity:n.labelOpacity,transform:Zq(n.labelX,n.labelY,n.labelRotation),children:t.label}),c&&Wt(Lz,{"data-testid":"parentLabel."+t.id,dominantBaseline:"central",style:Wq({},s.labels.text,{fill:t.parentLabelTextColor,pointerEvents:"none"}),fillOpacity:n.parentLabelOpacity,transform:Zq(n.parentLabelX,n.parentLabelY,n.parentLabelRotation),children:t.parentLabel})]})})),eH=(0,s.ph)((function(e){var t=e.node;return Wt(lL,{id:t.id,value:t.formattedValue,enableChip:!0,color:t.color})})),tH=(0,s.ph)((function(e){var t=e.node,n=e.animatedProps,r=e.borderWidth,i=e.enableLabel,o=e.enableParentLabel,a=e.labelSkipSize,s=tL(),l=i&&t.isLeaf&&(0===a||Math.min(t.width,t.height)>a),c=o&&t.isParent;return Wt(_A.div,{"data-testid":"node."+t.id,id:t.path.replace(/[^\w]/gi,"-"),style:{boxSizing:"border-box",position:"absolute",top:0,left:0,transform:Kq(n.x,n.y),width:n.width,height:n.height,borderWidth:r,borderStyle:"solid",borderColor:t.borderColor,overflow:"hidden"},children:[Wt(_A.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&&Wt(_A.span,{"data-testid":"label."+t.id,style:Wq({},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:Xq(n.labelX,n.labelY,n.labelRotation),opacity:n.labelOpacity,pointerEvents:"none"}),children:t.label}),c&&Wt(_A.span,{"data-testid":"parentLabel."+t.id,style:Wq({},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:Jq(n.parentLabelX,n.parentLabelY,n.parentLabelRotation),opacity:n.parentLabelOpacity,pointerEvents:"none"}),children:t.parentLabel})]})})),nH={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:eH,role:"img",animate:!0,motionConfig:"gentle"},rH=Wq({},nH,{nodeComponent:Qq,defs:[],fill:[]}),iH=Wq({},nH,{nodeComponent:tH}),oH=Wq({},nH,{pixelRatio:"undefined"!=typeof window&&window.devicePixelRatio||1}),aH={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:qq,slice:Hq,sliceDice:function(e,t,n,r,i){(1&e.depth?Hq:qq)(e,t,n,r,i)},squarify:Uq},sH=function(e){var t=e.data,n=e.width,r=e.height,i=e.identity,o=void 0===i?nH.identity:i,a=e.value,l=void 0===a?nH.value:a,c=e.valueFormat,u=e.leavesOnly,d=void 0===u?nH.leavesOnly:u,f=e.tile,h=void 0===f?nH.tile:f,p=e.innerPadding,g=void 0===p?nH.innerPadding:p,m=e.outerPadding,v=void 0===m?nH.outerPadding:m,b=e.label,y=void 0===b?nH.label:b,_=e.orientLabel,w=void 0===_?nH.orientLabel:_,x=e.enableParentLabel,k=void 0===x?nH.enableParentLabel:x,C=e.parentLabel,S=void 0===C?nH.parentLabel:C,A=e.parentLabelSize,E=void 0===A?nH.parentLabelSize:A,T=e.parentLabelPosition,M=void 0===T?nH.parentLabelPosition:T,L=e.parentLabelPadding,D=void 0===L?nH.parentLabelPadding:L,N=e.colors,O=void 0===N?nH.colors:N,F=e.colorBy,R=void 0===F?nH.colorBy:F,I=e.nodeOpacity,z=void 0===I?nH.nodeOpacity:I,P=e.borderColor,B=void 0===P?nH.borderColor:P,j=e.labelTextColor,Y=void 0===j?nH.labelTextColor:j,$=e.parentLabelTextColor,q=void 0===$?nH.parentLabelTextColor:$,H=lz(o),U=lz(l),W=az(c),V=lz(y),G=lz(S),K=function(e){var t=e.width,n=e.height,r=e.tile,i=e.innerPadding,o=e.outerPadding,a=e.enableParentLabel,l=e.parentLabelSize,c=e.parentLabelPosition,u=e.leavesOnly;return(0,s.Kr)((function(){var e=function(){var e=Uq,t=!1,n=1,r=1,i=[0],o=jq,a=jq,s=jq,l=jq,c=jq;function u(e){return e.x0=e.y0=0,e.x1=n,e.y1=r,e.eachBefore(d),i=[0],t&&e.eachBefore($q),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:Yq(+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:Yq(+e),u):a},u.paddingRight=function(e){return arguments.length?(s="function"==typeof e?e:Yq(+e),u):s},u.paddingBottom=function(e){return arguments.length?(l="function"==typeof e?e:Yq(+e),u):l},u.paddingLeft=function(e){return arguments.length?(c="function"==typeof e?e:Yq(+e),u):c},u}().size([t,n]).tile(aH[r]).round(!0).paddingInner(i).paddingOuter(o);if(a&&!u){var s=l+2*o;e["padding"+Nq(c)](s)}return e}),[t,n,r,i,o,a,l,c,u])}({width:n,height:r,tile:h,innerPadding:g,outerPadding:v,enableParentLabel:k,parentLabelSize:E,parentLabelPosition:M,leavesOnly:d}),Z=function(e){var t=e.root,n=e.getValue;return(0,s.Kr)((function(){return Fq(t).sum(n)}),[t,n])}({root:t,getValue:U}),X=(0,s.Kr)((function(){var e=Eq(Z);return K(e),d?e.leaves():e.descendants()}),[Z,K,d]),J=(0,s.Kr)((function(){return X.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,H),n=t.path,r=t.pathComponents,i={id:H(e.data),path:n,pathComponents:r,data:Aq(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=w&&i.height>i.width?-90:0,"top"===M&&(i.parentLabelX=v+D,i.parentLabelY=v+E/2),"right"===M&&(i.parentLabelX=i.width-v-E/2,i.parentLabelY=i.height-v-D,i.parentLabelRotation=-90),"bottom"===M&&(i.parentLabelX=v+D,i.parentLabelY=i.height-v-E/2),"left"===M&&(i.parentLabelX=v+E/2,i.parentLabelY=i.height-v-D,i.parentLabelRotation=-90),i.label=V(i),i.parentLabel=G(i),i}))}),[X,H,W,V,w,G,E,M,D,v]),Q=tL(),ee=lj(O,R),te=oj(B,Q),ne=oj(Y,Q),re=oj(q,Q),ie=(0,s.Kr)((function(){return J.map((function(e){var t=Wq({},e,{color:ee(e),opacity:z});return t.borderColor=te(t),t.labelTextColor=ne(t),t.parentLabelTextColor=re(t),t}))}),[J,ee,z,te,ne,re]);return{hierarchy:Z,nodes:ie,layout:K}},lH=function(e){var t=e.nodes;return(0,s.Kr)((function(){return{nodes:t}}),[t])},cH=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}},uH=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}},dH=(0,s.ph)((function(e){var t=e.nodes,n=e.nodeComponent,i=e.borderWidth,o=e.enableLabel,a=e.labelSkipSize,l=e.enableParentLabel,c=function(e,t){var n=t.isInteractive,r=t.onMouseEnter,i=t.onMouseMove,o=t.onMouseLeave,a=t.onClick,l=t.tooltip,c=bL(),u=c.showTooltipFromEvent,d=c.hideTooltip,f=(0,s.hb)((function(e,t){u((0,s.n)(l,{node:e}),t,"left")}),[u,l]),h=(0,s.hb)((function(e,t){f(e,t),null==r||r(e,t)}),[r,f]),p=(0,s.hb)((function(e,t){f(e,t),null==i||i(e,t)}),[i,f]),g=(0,s.hb)((function(e,t){d(),null==o||o(e,t)}),[o,d]),m=(0,s.hb)((function(e,t){null==a||a(e,t)}),[a]);return(0,s.Kr)((function(){return e.map((function(e){return n?Wq({},e,{onMouseEnter:function(t){return h(e,t)},onMouseMove:function(t){return p(e,t)},onMouseLeave:function(t){return g(e,t)},onClick:function(t){return m(e,t)}}):e}))}),[n,e,h,p,g,m])}(t,{isInteractive:e.isInteractive,onMouseEnter:e.onMouseEnter,onMouseMove:e.onMouseMove,onMouseLeave:e.onMouseLeave,onClick:e.onClick,tooltip:e.tooltip}),u=CI(),d=u.animate,f=u.config,h=uC(c,{keys:function(e){return e.path},initial:cH,from:uH,enter:cH,update:cH,leave:uH,config:f,immediate:!d});return Wt(r.FK,{children:h((function(e,t){return(0,s.n)(n,{key:t.path,node:t,animatedProps:e,borderWidth:i,enableLabel:o,labelSkipSize:a,enableParentLabel:l})}))})})),fH=["isInteractive","animate","motionConfig","theme","renderWrapper"],hH=function(e){var t=e.data,n=e.identity,r=void 0===n?rH.identity:n,i=e.value,o=void 0===i?rH.value:i,a=e.valueFormat,l=e.tile,c=void 0===l?rH.tile:l,u=e.nodeComponent,d=void 0===u?rH.nodeComponent:u,f=e.innerPadding,h=void 0===f?rH.innerPadding:f,p=e.outerPadding,g=void 0===p?rH.outerPadding:p,m=e.leavesOnly,v=void 0===m?rH.leavesOnly:m,b=e.width,y=e.height,_=e.margin,w=e.layers,x=void 0===w?rH.layers:w,k=e.colors,C=void 0===k?rH.colors:k,S=e.colorBy,A=void 0===S?rH.colorBy:S,E=e.nodeOpacity,T=void 0===E?rH.nodeOpacity:E,M=e.borderWidth,L=void 0===M?rH.borderWidth:M,D=e.borderColor,N=void 0===D?rH.borderColor:D,O=e.defs,F=void 0===O?rH.defs:O,R=e.fill,I=void 0===R?rH.fill:R,z=e.enableLabel,P=void 0===z?rH.enableLabel:z,B=e.label,j=void 0===B?rH.label:B,Y=e.labelTextColor,$=void 0===Y?rH.labelTextColor:Y,q=e.orientLabel,H=void 0===q?rH.orientLabel:q,U=e.labelSkipSize,W=void 0===U?rH.labelSkipSize:U,V=e.enableParentLabel,G=void 0===V?rH.enableParentLabel:V,K=e.parentLabel,Z=void 0===K?rH.parentLabel:K,X=e.parentLabelSize,J=void 0===X?rH.parentLabelSize:X,Q=e.parentLabelPosition,ee=void 0===Q?rH.parentLabelPosition:Q,te=e.parentLabelPadding,ne=void 0===te?rH.parentLabelPadding:te,re=e.parentLabelTextColor,ie=void 0===re?rH.parentLabelTextColor:re,oe=e.isInteractive,ae=void 0===oe?rH.isInteractive:oe,se=e.onMouseEnter,le=e.onMouseMove,ce=e.onMouseLeave,ue=e.onClick,de=e.tooltip,fe=void 0===de?rH.tooltip:de,he=e.role,pe=e.ariaLabel,ge=e.ariaLabelledBy,me=e.ariaDescribedBy,ve=e.forwardedRef,be=rz(b,y,_),ye=be.margin,_e=be.innerWidth,we=be.innerHeight,xe=be.outerWidth,ke=be.outerHeight,Ce=sH({data:t,identity:r,value:o,valueFormat:a,leavesOnly:v,width:_e,height:we,tile:c,innerPadding:h,outerPadding:g,colors:C,colorBy:A,nodeOpacity:T,borderColor:N,label:j,labelTextColor:$,orientLabel:H,enableParentLabel:G,parentLabel:Z,parentLabelSize:J,parentLabelPosition:ee,parentLabelPadding:ne,parentLabelTextColor:ie}).nodes,Se={nodes:null};x.includes("nodes")&&(Se.nodes=Wt(dH,{nodes:Ce,nodeComponent:d,borderWidth:L,enableLabel:P,labelSkipSize:W,enableParentLabel:G,isInteractive:ae,onMouseEnter:se,onMouseMove:le,onMouseLeave:ce,onClick:ue,tooltip:fe},"nodes"));var Ae=lH({nodes:Ce}),Ee=pz(F,Ce,I);return Wt(VI,{width:xe,height:ke,margin:ye,defs:Ee,role:he,ariaLabel:pe,ariaLabelledBy:ge,ariaDescribedBy:me,ref:ve,children:x.map((function(e,t){var n;return"function"==typeof e?Wt(s.FK,{children:(0,s.n)(e,Ae)},t):null!=(n=null==Se?void 0:Se[e])?n:null}))})},pH=(0,s.Rf)((function(e,t){var n=e.isInteractive,r=void 0===n?rH.isInteractive:n,i=e.animate,o=void 0===i?rH.animate:i,a=e.motionConfig,s=void 0===a?rH.motionConfig:a,l=e.theme,c=e.renderWrapper,u=Vq(e,fH);return Wt(EI,{animate:o,isInteractive:r,motionConfig:s,renderWrapper:c,theme:l,children:Wt(hH,Wq({},u,{isInteractive:r,forwardedRef:t}))})})),gH=["defaultWidth","defaultHeight","onResize","debounceResize"],mH=(0,s.Rf)((function(e,t){var n=e.defaultWidth,r=e.defaultHeight,i=e.onResize,o=e.debounceResize,a=Vq(e,gH);return Wt(LI,{defaultWidth:n,defaultHeight:r,onResize:i,debounceResize:o,children:function(e){var n=e.width,r=e.height;return Wt(pH,Wq({},a,{width:n,height:r,ref:t}))}})})),vH=["isInteractive","animate","motionConfig","theme","renderWrapper"],bH=function(e){var t=e.data,n=e.identity,r=void 0===n?iH.identity:n,i=e.value,o=void 0===i?iH.value:i,a=e.tile,l=void 0===a?iH.tile:a,c=e.nodeComponent,u=void 0===c?iH.nodeComponent:c,d=e.valueFormat,f=e.innerPadding,h=void 0===f?iH.innerPadding:f,p=e.outerPadding,g=void 0===p?iH.outerPadding:p,m=e.leavesOnly,v=void 0===m?iH.leavesOnly:m,b=e.width,y=e.height,_=e.margin,w=e.layers,x=void 0===w?rH.layers:w,k=e.colors,C=void 0===k?iH.colors:k,S=e.colorBy,A=void 0===S?iH.colorBy:S,E=e.nodeOpacity,T=void 0===E?iH.nodeOpacity:E,M=e.borderWidth,L=void 0===M?iH.borderWidth:M,D=e.borderColor,N=void 0===D?iH.borderColor:D,O=e.enableLabel,F=void 0===O?iH.enableLabel:O,R=e.label,I=void 0===R?iH.label:R,z=e.labelTextColor,P=void 0===z?iH.labelTextColor:z,B=e.orientLabel,j=void 0===B?iH.orientLabel:B,Y=e.labelSkipSize,$=void 0===Y?iH.labelSkipSize:Y,q=e.enableParentLabel,H=void 0===q?iH.enableParentLabel:q,U=e.parentLabel,W=void 0===U?iH.parentLabel:U,V=e.parentLabelSize,G=void 0===V?iH.parentLabelSize:V,K=e.parentLabelPosition,Z=void 0===K?iH.parentLabelPosition:K,X=e.parentLabelPadding,J=void 0===X?iH.parentLabelPadding:X,Q=e.parentLabelTextColor,ee=void 0===Q?iH.parentLabelTextColor:Q,te=e.isInteractive,ne=void 0===te?iH.isInteractive:te,re=e.onMouseEnter,ie=e.onMouseMove,oe=e.onMouseLeave,ae=e.onClick,se=e.tooltip,le=void 0===se?iH.tooltip:se,ce=e.role,ue=e.ariaLabel,de=e.ariaLabelledBy,fe=e.ariaDescribedBy,he=e.forwardedRef,pe=rz(b,y,_),ge=pe.margin,me=pe.innerWidth,ve=pe.innerHeight,be=pe.outerWidth,ye=pe.outerHeight,_e=sH({data:t,identity:r,value:o,valueFormat:d,leavesOnly:v,width:me,height:ve,tile:l,innerPadding:h,outerPadding:g,colors:C,colorBy:A,nodeOpacity:T,borderColor:N,label:I,labelTextColor:P,orientLabel:j,enableParentLabel:H,parentLabel:W,parentLabelSize:G,parentLabelPosition:Z,parentLabelPadding:J,parentLabelTextColor:ee}).nodes,we={nodes:null};x.includes("nodes")&&(we.nodes=Wt(dH,{nodes:_e,nodeComponent:u,borderWidth:L,enableLabel:F,labelSkipSize:$,enableParentLabel:H,isInteractive:ne,onMouseEnter:re,onMouseMove:ie,onMouseLeave:oe,onClick:ae,tooltip:le},"nodes"));var xe=lH({nodes:_e});return Wt("div",{role:ce,"aria-label":ue,"aria-labelledby":de,"aria-describedby":fe,style:{position:"relative",width:be,height:ye},ref:he,children:Wt("div",{style:{position:"absolute",top:ge.top,left:ge.left},children:x.map((function(e,t){var n;return"function"==typeof e?Wt(s.FK,{children:(0,s.n)(e,xe)},t):null!=(n=null==we?void 0:we[e])?n:null}))})})},yH=(0,s.Rf)((function(e,t){var n=e.isInteractive,r=void 0===n?iH.isInteractive:n,i=e.animate,o=void 0===i?iH.animate:i,a=e.motionConfig,s=void 0===a?iH.motionConfig:a,l=e.theme,c=e.renderWrapper,u=Vq(e,vH);return Wt(EI,{animate:o,isInteractive:r,motionConfig:s,renderWrapper:c,theme:l,children:Wt(bH,Wq({},u,{isInteractive:r,forwardedRef:t}))})})),_H=["defaultWidth","defaultHeight","onResize","debounceResize"];(0,s.Rf)((function(e,t){var n=e.defaultWidth,r=e.defaultHeight,i=e.onResize,o=e.debounceResize,a=Vq(e,_H);return Wt(LI,{defaultWidth:n,defaultHeight:r,onResize:i,debounceResize:o,children:function(e){var n=e.width,r=e.height;return Wt(yH,Wq({},a,{width:n,height:r,ref:t}))}})}));var wH=["theme","isInteractive","animate","motionConfig","renderWrapper"],xH=function(e,t,n,r){return e.find((function(e){return uz(e.x+t.left,e.y+t.top,e.width,e.height,n,r)}))},kH=function(e){var t=e.data,n=e.identity,r=void 0===n?oH.identity:n,i=e.value,o=void 0===i?oH.identity:i,a=e.tile,l=void 0===a?oH.tile:a,c=e.valueFormat,u=e.innerPadding,d=void 0===u?oH.innerPadding:u,f=e.outerPadding,h=void 0===f?oH.outerPadding:f,p=e.leavesOnly,g=void 0===p?oH.leavesOnly:p,m=e.width,v=e.height,b=e.margin,y=e.colors,_=void 0===y?oH.colors:y,w=e.colorBy,x=void 0===w?oH.colorBy:w,k=e.nodeOpacity,C=void 0===k?oH.nodeOpacity:k,S=e.borderWidth,A=void 0===S?oH.borderWidth:S,E=e.borderColor,T=void 0===E?oH.borderColor:E,M=e.enableLabel,L=void 0===M?oH.enableLabel:M,D=e.label,N=void 0===D?oH.label:D,O=e.labelTextColor,F=void 0===O?oH.labelTextColor:O,R=e.orientLabel,I=void 0===R?oH.orientLabel:R,z=e.labelSkipSize,P=void 0===z?oH.labelSkipSize:z,B=e.isInteractive,j=void 0===B?oH.isInteractive:B,Y=e.onMouseMove,$=e.onClick,q=e.tooltip,H=void 0===q?oH.tooltip:q,U=e.pixelRatio,W=void 0===U?oH.pixelRatio:U,V=e.role,G=e.ariaLabel,K=e.ariaLabelledBy,Z=e.ariaDescribedBy,X=e.forwardedRef,J=(0,s.li)(null),Q=rz(m,v,b),ee=Q.margin,te=Q.innerWidth,ne=Q.innerHeight,re=Q.outerWidth,ie=Q.outerHeight,oe=sH({data:t,identity:r,value:o,valueFormat:c,leavesOnly:g,width:te,height:ne,tile:l,innerPadding:d,outerPadding:h,colors:_,colorBy:x,nodeOpacity:C,borderColor:T,label:N,labelTextColor:F,orientLabel:I,enableParentLabel:!1}).nodes,ae=tL();(0,s.vJ)((function(){if(null!==J.current){var e=J.current.getContext("2d");null!==e&&(J.current.width=re*W,J.current.height=ie*W,e.scale(W,W),e.fillStyle=ae.background,e.fillRect(0,0,re,ie),e.translate(ee.left,ee.top),oe.forEach((function(t){e.fillStyle=t.color,e.fillRect(t.x,t.y,t.width,t.height),A>0&&(e.strokeStyle=t.borderColor,e.lineWidth=A,e.strokeRect(t.x,t.y,t.width,t.height))})),L&&(e.textAlign="center",e.textBaseline="middle",mz(e,ae.labels.text),oe.forEach((function(t){if(t.isLeaf&&(0===P||Math.min(t.width,t.height)>P)){var n=I&&t.height>t.width;e.save(),e.translate(t.x+t.width/2,t.y+t.height/2),e.rotate(zI(n?-90:0)),vz(e,Wq({},ae.labels.text,{fill:t.labelTextColor}),String(t.label)),e.restore()}}))))}}),[J,oe,re,ie,te,ne,ee,A,L,I,P,ae,W]);var se=bL(),le=se.showTooltipFromEvent,ce=se.hideTooltip,ue=(0,s.hb)((function(e){if(null!==J.current){var t=dz(J.current,e),n=t[0],r=t[1],i=xH(oe,ee,n,r);void 0!==i?(le((0,s.n)(H,{node:i}),e,"left"),null==Y||Y(i,e)):ce()}}),[J,oe,ee,le,ce,H,Y]),de=(0,s.hb)((function(){ce()}),[ce]),fe=(0,s.hb)((function(e){if(null!==J.current){var t=dz(J.current,e),n=t[0],r=t[1],i=xH(oe,ee,n,r);void 0!==i&&(null==$||$(i,e))}}),[J,oe,ee,$]);return Wt("canvas",{ref:gz(J,X),width:re*W,height:ie*W,style:{width:re,height:ie},onMouseEnter:j?ue:void 0,onMouseMove:j?ue:void 0,onMouseLeave:j?de:void 0,onClick:j?fe:void 0,role:V,"aria-label":G,"aria-labelledby":K,"aria-describedby":Z})},CH=(0,s.Rf)((function(e,t){var n=e.theme,r=e.isInteractive,i=void 0===r?oH.isInteractive:r,o=e.animate,a=void 0===o?oH.animate:o,s=e.motionConfig,l=void 0===s?oH.motionConfig:s,c=e.renderWrapper,u=Vq(e,wH);return Wt(EI,{isInteractive:i,animate:a,motionConfig:l,theme:n,renderWrapper:c,children:Wt(kH,Wq({},u,{isInteractive:i,forwardedRef:t}))})})),SH=["defaultWidth","defaultHeight","onResize","debounceResize"];(0,s.Rf)((function(e,t){var n=e.defaultWidth,r=e.defaultHeight,i=e.onResize,o=e.debounceResize,a=Vq(e,SH);return Wt(LI,{defaultWidth:n,defaultHeight:r,onResize:i,debounceResize:o,children:function(e){var n=e.width,r=e.height;return Wt(CH,Wq({},a,{width:n,height:r,ref:t}))}})}));const AH={mass:1,tension:500,friction:40,clamp:!1,precision:.01,velocity:0},EH=window.matchMedia("(prefers-reduced-motion: reduce)").matches,TH="var(--color-text-secondary)",MH="var(--color-text-primary)",LH={background:"var(--color-bg-primary)",axis:{ticks:{text:{fill:TH,fontSize:12}}},grid:{line:{stroke:"var(--color-border-default)",strokeDasharray:"4",strokeLinecap:"round"}},dots:{text:{fill:TH,fontSize:12}},labels:{text:{fill:MH,fontSize:12}},text:{fill:MH,fontSize:12},markers:{lineColor:"var(--color-border-default)",lineStrokeWidth:2,text:{fill:MH,fontSize:12,fontWeight:600}},legends:{text:{fill:MH,fontSize:12}},tooltip:{container:{background:"var(--color-bg-raised)",color:"var(--color-text-primary)"}}},DH={nodeOpacity:1,borderWidth:1,labelSkipSize:12,parentLabelSize:14,parentLabelPosition:"top",parentLabelPadding:6,enableParentLabel:!0,animate:!0,innerPadding:4,outerPadding:4};var NH=/^--/;function OH(e,t){return null==t||"boolean"==typeof t||""===t?"":"number"!=typeof t||0===t||NH.test(e)||RH.hasOwnProperty(e)&&RH[e]?(""+t).trim():t+"px"}var FH={},RH={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},IH=["Webkit","Ms","Moz","O"];RH=Object.keys(RH).reduce(((e,t)=>(IH.forEach((n=>e[((e,t)=>e+t.charAt(0).toUpperCase()+t.substring(1))(n,t)]=e[t])),e)),RH);var zH=/^(matrix|translate|scale|rotate|skew)/,PH=/^(translate)/,BH=/^(rotate|skew)/,jH=(e,t)=>ww.num(e)&&0!==e?e+t:e,YH=(e,t)=>ww.arr(e)?e.every((e=>YH(e,t))):ww.num(e)?e===t:parseFloat(e)===t,$H=class extends Kx{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=>jH(e,"px"))).join(",")})`,YH(e,0)]))),Cw(r,((e,t)=>{if("transform"===t)i.push([e||""]),o.push((e=>[e,""===e]));else if(zH.test(t)){if(delete r[t],ww.und(e))return;const n=PH.test(t)?"px":BH.test(t)?"deg":"";i.push(Sw(e)),o.push("rotate3d"===t?([e,t,r,i])=>[`rotate3d(${e},${t},${r},${jH(i,n)})`,YH(i,0)]:e=>[`${t}(${e.map((e=>jH(e,n))).join(",")})`,YH(e,t.startsWith("scale")?1:0)])}})),i.length&&(r.transform=new qH(i,o)),super(r)}},qH=class extends mx{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 kw(this.inputs,((n,r)=>{const i=hx(n[0]),[o,a]=this.transforms[r](ww.arr(i)?i:n.map(hx));e+=" "+o,t=t&&a})),t?"none":e}observerAdded(e){1==e&&kw(this.inputs,(e=>kw(e,(e=>fx(e)&&bx(e,this)))))}observerRemoved(e){0==e&&kw(this.inputs,(e=>kw(e,(e=>fx(e)&&yx(e,this)))))}eventObserved(e){"change"==e.type&&(this._value=null),gx(this,e)}};yw.assign({batchedUpdates:s.rS,createStringInterpolator:Lx,colors:Hw});var HH=nk(["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:FH[t]||(FH[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=OH(t,i[t]);NH.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 $H(e),getComponentProps:({scrollTop:e,scrollLeft:t,...n})=>n}),UH=HH.animated;const WH=({node:e,animatedProps:t,borderWidth:n,enableLabel:r,enableParentLabel:i,labelSkipSize:o})=>{const a=tL(),s=r&&e.isLeaf&&(0===o||Math.min(e.width,e.height)>o),l=i&&e.isParent;return Wt(UH.g,{transform:mC([t.x,t.y],((e,t)=>`translate(${e},${t})`)),children:[Wt(UH.rect,{"data-testid":`node.${e.id}`,width:mC(t.width,(e=>Math.max(e,0))),height:mC(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&&Wt(Lz,{"data-testid":`label.${e.id}`,textAnchor:"middle",dominantBaseline:"central",style:{...a.labels.text,fill:e.labelTextColor,pointerEvents:"none"},fillOpacity:t.labelOpacity,transform:mC([t.labelX,t.labelY,t.labelRotation],((e,t,n)=>`translate(${e},${t}) rotate(${n})`)),children:e.label}),l&&Wt(Lz,{"data-testid":`parentLabel.${e.id}`,dominantBaseline:"central",style:{...a.labels.text,fill:e.parentLabelTextColor,pointerEvents:"none"},fillOpacity:t.parentLabelOpacity,transform:mC([t.parentLabelX,t.parentLabelY,t.parentLabelRotation],((e,t,n)=>`translate(${e},${t}) rotate(${n})`)),children:e.parentLabel})]})};var VH={treeMapLegend:"styles_treeMapLegend__dV-Ny",treeMapLegend__gradient:"styles_treeMapLegend__gradient__v853j"};const GH=({minValue:e,maxValue:t,colorFn:n,formatValue:r=e=>e.toFixed(2),domain:o})=>{const a=(0,i.Kr)((()=>o&&o.length>0?Math.min(...o):e??0),[o,e]),s=(0,i.Kr)((()=>o&&o.length>0?Math.max(...o):t??1),[o,t]),l=(0,i.Kr)((()=>{if(o&&o.length>0){const e=[...o].sort(((e,t)=>e-t)),t=s-a;return e.map((e=>{const r=(e-a)/t*100;return`${n(e,o)} ${r.toFixed(1)}%`})).join(", ")}return`${n(a)} 0%, ${n(s)} 100%`}),[a,s,n,o]),c=(0,i.Kr)((()=>r(a)),[a,r]),u=(0,i.Kr)((()=>r(s)),[s,r]);return Wt("div",{className:VH.treeMapLegend,children:[Wt(Zt,{size:"s",type:"ui",className:VH.treeMapLegend__label,children:u}),Wt("div",{className:VH.treeMapLegend__gradient,style:{"--gradient-stops":l}}),Wt(Zt,{size:"s",type:"ui",className:VH.treeMapLegend__label,children:c})]})};const KH=e=>{const{color:t,border:n}=e;return Wt("div",{className:"styles_legendIndicatorContainer__sdAMj",children:Wt("div",{className:"styles_legendIndicatorContainerBase__OuGDD","data-has-color":!!t||void 0,children:Wt("i",{"aria-hidden":!0,className:"styles_legendIndicator__e9eaz",style:{backgroundColor:t,borderColor:n??void 0}})})})};const ZH=e=>{const{children:t,labelColor:n,label:r}=e;return Wt("div",{"data-testid":"chart-tooltip",className:"styles_tooltip__ErmeC","data-tooltip-type":"chart",children:Wt("div",{className:"styles_container__mEUzr",children:[!!r&&Wt(Zt,{className:"styles_label__oqfkW",type:"ui",size:"s",bold:!0,tag:"div",children:[n&&Wt(KH,{color:n}),Wt(Zt,{tag:"div",bold:!0,children:r})]}),t]})})};const XH=e=>"number"==typeof e&&!Number.isNaN(e)||"string"==typeof e&&!!e,JH=(e,t="en-US")=>XH(e)?"number"==typeof e?new Intl.NumberFormat(t,{useGrouping:!0}).format(e):String(e):"",QH=({color:e})=>Wt("div",{className:"styles_point__eFnBu",children:Wt("svg",{width:"16",height:"8",viewBox:"0 0 16 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[Wt("path",{d:"M0 4H16",stroke:e,"stroke-width":"2"}),Wt("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"})]})}),eU=e=>{const{onClick:t,legend:n,mode:i="default",hideOnEmptyValue:o=!0}=e,{color:a,border:s,label:l,link:c,value:u}=n,d=c?"a":"div",f=n.type??"default";return o&&void 0===u?null:Wt(d,{href:c,className:D("styles_legendItem__NCAPr",c&&"styles_legendItemLink__Yo6du"),onClick:"function"==typeof t?()=>{t(n)}:void 0,children:[Wt("div",{className:"styles_legendName__WZbe8",children:["default"===f&&Wt(KH,{color:a,border:s}),"point"===f&&Wt(QH,{color:a}),Wt(Zt,{type:"ui",size:"s",className:"styles_legendLabel__-HDGz",children:l})]}),XH(u)&&Wt(r.FK,{children:[Wt("div",{className:D("menu"===i?"styles_menuSpace__7N7yT":"styles_space__pQ9pa")}),Wt(Zt,{type:"ui",size:"s",className:"styles_legendValue__vV5dD",children:u})]})]})},tU=({node:e,rows:t})=>{const{id:n,formattedValue:r,color:i,parentLabel:o}=e;return Wt(ZH,{label:`${o||n}: ${r}`,labelColor:i,children:t&&t.map(((e,t)=>Wt(eU,{mode:"default",legend:{label:e,type:"none",id:t.toString(),color:i},hideOnEmptyValue:!1},t.toString())))})};const nU=({width:e="100%",height:t=400,rootAriaLabel:n,emptyLabel:r="No data available",emptyAriaLabel:o="No data available",data:a,showLegend:s=!0,legendMinValue:l=0,legendMaxValue:c=1,formatLegend:u,colors:d,legendDomain:f,parentSkipSize:h,tooltipRows:p,labelColor:g,...m})=>{const v=(0,i.Kr)((()=>0===(a.children??[]).length),[a]),b=(0,i.hb)((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:h})(e)),[h]),y=(0,i.hb)((({node:e})=>Wt(tU,{node:e,rows:p&&p(e)})),[p]);return v?Wt(qY,{label:r,width:e,height:t,ariaLabel:o}):Wt("div",{role:"img","aria-label":n,tabIndex:0,style:{width:e,height:t},className:"styles_treeMapChart__G6ayQ",children:[Wt(mH,{data:a,parentLabel:b,tooltip:y,...DH,...m,theme:LH,motionConfig:AH,animate:!EH,colors:e=>d(e.data.colorValue??0),labelTextColor:g,parentLabelTextColor:g,borderColor:"var(--color-bg-primary)",borderWidth:1,nodeComponent:WH}),s&&Wt(GH,{minValue:l,maxValue:c,colorFn:d,formatValue:u,domain:f})]})},rU=(0,r.q6)("light"),iU=()=>(0,i.NT)(rU)??"light",oU=e=>{const{children:t,theme:n}=e;return Wt(rU.Provider,{value:n,children:t})},aU=({title:e,translations:t,chartType:n,...r})=>{const o=t["no-results"],a=iU(),s=((e="light")=>{const t=(0,i.Kr)((()=>WY([0,1],["var(--color-status-failed-chart-fill)","var(--color-intent-info-bg)","var(--color-status-passed-chart-fill)"])),[e]);return(0,i.hb)((e=>t(e)),[t])})(a),l=((e="light")=>{const t=(0,i.Kr)((()=>WY([0,1],["var(--color-status-failed-chart-fill)","var(--color-status-passed-chart-fill)"])),[e]);return(0,i.hb)((e=>t(e)),[t])})(a),c=((e="light")=>{const t=(0,i.Kr)((()=>WY([0,1],["var(--color-text-inverse)","var(--color-text-primary)","var(--color-text-inverse)"])),[e]);return(0,i.hb)((e=>t(e)),[t])})(a);return Wt(jb,{title:e,children:Wt(nU,{emptyLabel:o,emptyAriaLabel:o,...r,colors:n===En.CoverageDiff?s:l,showLegend:!1,labelColor:n===En.CoverageDiff?e=>c(e.data.colorValue??0):()=>"var(--color-text-inverse)"})})};var sU,lU,cU,uU,dU,fU,hU=function(){if(uU)return cU;uU=1;var e=fI(),t=function(){if(lU)return sU;lU=1;var e=SP();return sU=function(t,n){var r=[];return e(t,(function(e,t,i){n(e,t,i)&&r.push(e)})),r},sU}(),n=iP(),r=NE();return cU=function(i,o){return(r(i)?e:t)(i,n(o,3))}}(),pU=d(hU),gU=d(function(){if(fU)return dU;fU=1;var e=EA(),t=LE();return dU=function(n){return"number"==typeof n||t(n)&&"[object Number]"==e(n)}}());function mU(){return mU=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},mU.apply(null,arguments)}var vU=function(e){return"circle"===e.type},bU=function(e){return"dot"===e.type},yU=function(e){return"rect"===e.type},_U=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(gU(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(gU(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}(PI(i))}(r,i,t,n);if(vU(e)){var p=BI(zI(h),e.size/2);d+=p.x,f+=p.y}if(yU(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}},wU=function(e){var t=e.data,n=e.annotations,r=e.getPosition,i=e.getDimensions;return(0,s.Kr)((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,pU(t,n.match).map((function(e){var t=r(e),a=i(e);return(vU(n)||yU(n))&&(a.size=a.size+2*o,a.width=a.width+2*o,a.height=a.height+2*o),mU({},Aq(n,["match","offset"]),t,a,{size:n.size||a.size,datum:e})})))}),[])}({data:t,annotations:n,getPosition:r,getDimensions:i})}),[t,n,r,i])},xU=function(e){var t=e.annotations;return(0,s.Kr)((function(){return t.map((function(e){return mU({},e,{computed:_U(mU({},e))})}))}),[t])},kU=function(e){var t=e.datum,n=e.x,i=e.y,o=e.note,a=tL(),l=CI(),c=l.animate,u=cC({x:n,y:i,config:l.config,immediate:!c});return"function"==typeof o?(0,s.n)(o,{x:n,y:i,datum:t}):Wt(r.FK,{children:[a.annotations.text.outlineWidth>0&&Wt(_A.text,{x:u.x,y:u.y,style:mU({},a.annotations.text,{strokeLinejoin:"round",strokeWidth:2*a.annotations.text.outlineWidth,stroke:a.annotations.text.outlineColor}),children:o}),Wt(_A.text,{x:u.x,y:u.y,style:Aq(a.annotations.text,["outlineWidth","outlineColor"]),children:o})]})},CU=function(e){var t=e.points,n=e.isOutline,r=void 0!==n&&n,i=tL(),o=(0,s.Kr)((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=JI(o);if(r&&i.annotations.link.outlineWidth<=0)return null;var l=mU({},i.annotations.link);return r&&(l.strokeLinecap="square",l.strokeWidth=i.annotations.link.strokeWidth+2*i.annotations.link.outlineWidth,l.stroke=i.annotations.link.outlineColor,l.opacity=i.annotations.link.outlineOpacity),Wt(_A.path,{fill:"none",d:a,style:l})},SU=function(e){var t=e.x,n=e.y,i=e.size,o=tL(),a=CI(),s=a.animate,l=cC({x:t,y:n,radius:i/2,config:a.config,immediate:!s});return Wt(r.FK,{children:[o.annotations.outline.outlineWidth>0&&Wt(_A.circle,{cx:l.x,cy:l.y,r:l.radius,style:mU({},o.annotations.outline,{fill:"none",strokeWidth:o.annotations.outline.strokeWidth+2*o.annotations.outline.outlineWidth,stroke:o.annotations.outline.outlineColor,opacity:o.annotations.outline.outlineOpacity})}),Wt(_A.circle,{cx:l.x,cy:l.y,r:l.radius,style:o.annotations.outline})]})},AU=function(e){var t=e.x,n=e.y,i=e.size,o=void 0===i?4:i,a=tL(),s=CI(),l=s.animate,c=cC({x:t,y:n,radius:o/2,config:s.config,immediate:!l});return Wt(r.FK,{children:[a.annotations.outline.outlineWidth>0&&Wt(_A.circle,{cx:c.x,cy:c.y,r:c.radius,style:mU({},a.annotations.outline,{fill:"none",strokeWidth:2*a.annotations.outline.outlineWidth,stroke:a.annotations.outline.outlineColor,opacity:a.annotations.outline.outlineOpacity})}),Wt(_A.circle,{cx:c.x,cy:c.y,r:c.radius,style:a.annotations.symbol})]})},EU=function(e){var t=e.x,n=e.y,i=e.width,o=e.height,a=e.borderRadius,s=void 0===a?6:a,l=tL(),c=CI(),u=c.animate,d=cC({x:t-i/2,y:n-o/2,width:i,height:o,config:c.config,immediate:!u});return Wt(r.FK,{children:[l.annotations.outline.outlineWidth>0&&Wt(_A.rect,{x:d.x,y:d.y,rx:s,ry:s,width:d.width,height:d.height,style:mU({},l.annotations.outline,{fill:"none",strokeWidth:l.annotations.outline.strokeWidth+2*l.annotations.outline.outlineWidth,stroke:l.annotations.outline.outlineColor,opacity:l.annotations.outline.outlineOpacity})}),Wt(_A.rect,{x:d.x,y:d.y,rx:s,ry:s,width:d.width,height:d.height,style:l.annotations.outline})]})},TU=function(e){var t=e.datum,n=e.x,i=e.y,o=e.note,a=function(e){return(0,s.Kr)((function(){return _U(e)}),[e])}(e);if(!function(e){var t=typeof e;return(0,s.zO)(e)||"string"===t||"function"===t||"object"===t}(o))throw new Error("note should be a valid react element");return Wt(r.FK,{children:[Wt(CU,{points:a.points,isOutline:!0}),vU(e)&&Wt(SU,{x:n,y:i,size:e.size}),bU(e)&&Wt(AU,{x:n,y:i,size:e.size}),yU(e)&&Wt(EU,{x:n,y:i,width:e.width,height:e.height,borderRadius:e.borderRadius}),Wt(CU,{points:a.points}),Wt(kU,{datum:t,x:a.text[0],y:a.text[1],note:o})]})},MU=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)}))},LU=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(),MU(e,t.computed.points),e.stroke(),e.lineCap="butt"),vU(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()),bU(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()),yU(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(),MU(e,t.computed.points),e.stroke(),vU(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()),bU(t)&&(e.fillStyle=r.annotations.symbol.fill,e.beginPath(),e.arc(t.x,t.y,t.size/2,0,2*Math.PI),e.fill()),yU(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 DU(){return DU=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},DU.apply(null,arguments)}function NU(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}var OU={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:(0,s.ph)((function(e){var t=e.cell;return null===t.formattedValue?null:Wt(lL,{id:t.serieId+" - "+t.data.x,value:t.formattedValue,enableChip:!0,color:t.color})})),animate:!0,motionConfig:"gentle"},FU=DU({},OU,{axisTop:{},axisRight:null,axisBottom:null,axisLeft:{},borderRadius:0,cellComponent:"rect"}),RU=DU({},OU,{axisTop:{},axisRight:null,axisBottom:null,axisLeft:{},renderCell:"rect",pixelRatio:"undefined"!=typeof window&&window.devicePixelRatio||1}),IU=function(e){return{x:e.x,y:e.y}},zU=function(e){return{size:Math.max(e.width,e.height),width:e.width,height:e.height}},PU={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}},BU=function(e){var t=e.data,n=e.valueFormat,r=e.width,i=e.height,o=e.xOuterPadding,a=void 0===o?OU.xOuterPadding:o,l=e.xInnerPadding,c=void 0===l?OU.xInnerPadding:l,u=e.yOuterPadding,d=void 0===u?OU.yOuterPadding:u,f=e.yInnerPadding,h=void 0===f?OU.yInnerPadding:f,p=e.forceSquare,g=void 0===p?OU.forceSquare:p,m=e.sizeVariation,v=void 0===m?OU.sizeVariation:m,b=e.colors,y=void 0===b?OU.colors:b,_=e.emptyColor,w=void 0===_?OU.emptyColor:_,x=e.opacity,k=void 0===x?OU.opacity:x,C=e.activeOpacity,S=void 0===C?OU.activeOpacity:C,A=e.inactiveOpacity,E=void 0===A?OU.inactiveOpacity:A,T=e.borderColor,M=void 0===T?OU.borderColor:T,L=e.label,D=void 0===L?OU.label:L,N=e.labelTextColor,O=void 0===N?OU.labelTextColor:N,F=e.hoverTarget,R=void 0===F?OU.hoverTarget:F,I=(0,s.J0)(null),z=I[0],P=I[1],B=function(e){var t=e.data,n=e.width,r=e.height,i=e.xInnerPadding,o=e.xOuterPadding,a=e.yInnerPadding,l=e.yOuterPadding,c=e.forceSquare;return(0,s.Kr)((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=mB(gi().domain(h).range([0,g]).paddingOuter(o).paddingInner(i)),_=mB(gi().domain(u).range([0,m]).paddingOuter(s).paddingInner(a)),w=y.bandwidth(),x=_.bandwidth(),k=f.map((function(e){return DU({},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:l,forceSquare:c})}),[t,n,r,i,o,a,l,c])}({data:t,width:r,height:i,xOuterPadding:a,xInnerPadding:c,yOuterPadding:d,yInnerPadding:h,forceSquare:g}),j=B.width,Y=B.height,$=B.offsetX,q=B.offsetY,H=B.cells,U=B.xScale,W=B.yScale,V=B.minValue,G=B.maxValue,K=(0,s.Kr)((function(){if(!z)return[];var e=PU[R];return H.filter((function(t){return e(t,z)})).map((function(e){return e.id}))}),[H,z,R]),Z=function(e){var t,n,r,i=e.cells,o=e.minValue,a=e.maxValue,l=e.sizeVariation,c=e.colors,u=e.emptyColor,d=e.opacity,f=e.activeOpacity,h=e.inactiveOpacity,p=e.borderColor,g=e.label,m=e.labelTextColor,v=e.valueFormat,b=e.activeIds,y=(0,s.Kr)((function(){return function(e,t,n){if(!e)return function(){return 1};var r=$i().domain(e.values?e.values:[t,n]).range(e.sizes);return function(e){return null===e?1:r(e)}}(t,n,r)}),[t=l,n=o,r=a]),_=(0,s.Kr)((function(){return"function"==typeof c?null:sj(c,{min:o,max:a})}),[c,o,a]),w=(0,s.hb)((function(e){if(null!==e.value){if("function"==typeof c)return c(e);if(null!==_)return _(e.value)}return u}),[c,_,u]),x=tL(),k=oj(p,x),C=oj(m,x),S=az(v),A=lz(g);return{cells:(0,s.Kr)((function(){return i.map((function(e){var t=d;b.length>0&&(t=b.includes(e.id)?f:h);var n=y(e.value),r=DU({},e,{width:e.width*n,height:e.height*n,formattedValue:null!==e.value?S(e.value):null,opacity:t});return r.label=A(r),r.color=w(r),r.borderColor=k(r),r.labelTextColor=C(r),r}))}),[i,y,w,k,C,S,A,b,d,f,h]),colorScale:_}}({cells:H,minValue:V,maxValue:G,sizeVariation:v,colors:y,emptyColor:w,opacity:k,activeOpacity:S,inactiveOpacity:E,borderColor:M,label:D,labelTextColor:O,valueFormat:n,activeIds:K});return{width:j,height:Y,offsetX:$,offsetY:q,cells:Z.cells,xScale:U,yScale:W,colorScale:Z.colorScale,activeCell:z,setActiveCell:P}},jU=function(e,t){return wU({data:e,annotations:t,getPosition:IU,getDimensions:zU})},YU=(0,s.ph)((function(e){var t=e.cell,n=e.borderWidth,r=e.borderRadius,i=e.animatedProps,o=e.onMouseEnter,a=e.onMouseMove,l=e.onMouseLeave,c=e.onClick,u=e.enableLabels,d=tL(),f=(0,s.Kr)((function(){return{onMouseEnter:o?o(t):void 0,onMouseMove:a?a(t):void 0,onMouseLeave:l?l(t):void 0,onClick:c?c(t):void 0}}),[t,o,a,l,c]);return Wt(_A.g,DU({"data-testid":"cell."+t.id,style:{cursor:"pointer"},opacity:i.opacity},f,{transform:mC([i.x,i.y,i.scale],(function(e,t,n){return"translate("+e+", "+t+") scale("+n+")"})),children:[Wt(_A.rect,{transform:mC([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),u&&Wt(Lz,{textAnchor:"middle",dominantBaseline:"central",fill:i.labelTextColor,style:DU({},d.labels.text,{fill:void 0,userSelect:"none"}),children:t.label})]}))})),$U=(0,s.ph)((function(e){var t=e.cell,n=e.borderWidth,r=e.animatedProps,i=e.onMouseEnter,o=e.onMouseMove,a=e.onMouseLeave,l=e.onClick,c=e.enableLabels,u=tL(),d=(0,s.Kr)((function(){return{onMouseEnter:i?i(t):void 0,onMouseMove:o?o(t):void 0,onMouseLeave:a?a(t):void 0,onClick:l?l(t):void 0}}),[t,i,o,a,l]);return Wt(_A.g,DU({"data-testid":"cell."+t.id,style:{cursor:"pointer"},opacity:r.opacity},d,{transform:mC([r.x,r.y],(function(e,t){return"translate("+e+", "+t+")"})),children:[Wt(_A.circle,{r:mC([r.width,r.height],(function(e,t){return Math.min(e,t)/2})),fill:r.color,fillOpacity:r.opacity,strokeWidth:n,stroke:r.borderColor}),c&&Wt(Lz,{dominantBaseline:"central",textAnchor:"middle",fill:r.labelTextColor,style:DU({},u.labels.text,{fill:void 0}),children:t.label})]}))})),qU=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}},HU=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}},UU=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}},WU=function(e){var t,n=e.cells,i=e.cellComponent,o=e.borderRadius,a=e.borderWidth,l=e.isInteractive,c=e.setActiveCell,u=e.onMouseEnter,d=e.onMouseMove,f=e.onMouseLeave,h=e.onClick,p=e.tooltip,g=e.enableLabels,m=CI(),v=m.animate,b=m.config,y=uC(n,{keys:function(e){return e.id},initial:HU,from:qU,enter:HU,update:HU,leave:UU,config:b,immediate:!v}),_=bL(),w=_.showTooltipFromEvent,x=_.hideTooltip,k=(0,s.Kr)((function(){if(l)return function(e){return function(t){w((0,s.n)(p,{cell:e}),t),c(e),null==u||u(e,t)}}}),[l,w,p,c,u]),C=(0,s.Kr)((function(){if(l)return function(e){return function(t){w((0,s.n)(p,{cell:e}),t),null==d||d(e,t)}}}),[l,w,p,d]),S=(0,s.Kr)((function(){if(l)return function(e){return function(t){x(),c(null),null==f||f(e,t)}}}),[l,x,c,f]),A=(0,s.Kr)((function(){if(l)return function(e){return function(t){null==h||h(e,t)}}}),[l,h]);return t="rect"===i?YU:"circle"===i?$U:i,Wt(r.FK,{children:y((function(e,n){return(0,s.n)(t,{cell:n,borderRadius:o,borderWidth:a,animatedProps:e,enableLabels:g,onMouseEnter:k,onMouseMove:C,onMouseLeave:S,onClick:A})}))})},VU=function(e){var t=e.cells,n=e.annotations,i=jU(t,n);return Wt(r.FK,{children:i.map((function(e,t){return Wt(TU,DU({},e),t)}))})},GU=["isInteractive","animate","motionConfig","theme","renderWrapper"],KU=function(e){var t=e.data,n=e.layers,r=void 0===n?FU.layers:n,i=e.valueFormat,o=e.width,a=e.height,l=e.margin,c=e.forceSquare,u=void 0===c?FU.forceSquare:c,d=e.xInnerPadding,f=void 0===d?FU.xInnerPadding:d,h=e.xOuterPadding,p=void 0===h?FU.xOuterPadding:h,g=e.yInnerPadding,m=void 0===g?FU.yInnerPadding:g,v=e.yOuterPadding,b=void 0===v?FU.yOuterPadding:v,y=e.sizeVariation,_=void 0===y?FU.sizeVariation:y,w=e.cellComponent,x=void 0===w?FU.cellComponent:w,k=e.opacity,C=void 0===k?FU.opacity:k,S=e.activeOpacity,A=void 0===S?FU.activeOpacity:S,E=e.inactiveOpacity,T=void 0===E?FU.inactiveOpacity:E,M=e.borderRadius,L=void 0===M?FU.borderRadius:M,D=e.borderWidth,N=void 0===D?FU.borderWidth:D,O=e.borderColor,F=void 0===O?FU.borderColor:O,R=e.enableGridX,I=void 0===R?FU.enableGridX:R,z=e.enableGridY,P=void 0===z?FU.enableGridY:z,B=e.axisTop,j=void 0===B?FU.axisTop:B,Y=e.axisRight,$=void 0===Y?FU.axisRight:Y,q=e.axisBottom,H=void 0===q?FU.axisBottom:q,U=e.axisLeft,W=void 0===U?FU.axisLeft:U,V=e.enableLabels,G=void 0===V?FU.enableLabels:V,K=e.label,Z=void 0===K?FU.label:K,X=e.labelTextColor,J=void 0===X?FU.labelTextColor:X,Q=e.colors,ee=void 0===Q?FU.colors:Q,te=e.emptyColor,ne=void 0===te?FU.emptyColor:te,re=e.legends,ie=void 0===re?FU.legends:re,oe=e.annotations,ae=void 0===oe?FU.annotations:oe,se=e.isInteractive,le=void 0===se?FU.isInteractive:se,ce=e.onMouseEnter,ue=e.onMouseMove,de=e.onMouseLeave,fe=e.onClick,he=e.hoverTarget,pe=void 0===he?FU.hoverTarget:he,ge=e.tooltip,me=void 0===ge?FU.tooltip:ge,ve=e.role,be=e.ariaLabel,ye=e.ariaLabelledBy,_e=e.ariaDescribedBy,we=e.forwardedRef,xe=rz(o,a,l),ke=xe.margin,Ce=xe.innerWidth,Se=xe.innerHeight,Ae=xe.outerWidth,Ee=xe.outerHeight,Te=BU({data:t,valueFormat:i,width:Ce,height:Se,forceSquare:u,xInnerPadding:f,xOuterPadding:p,yInnerPadding:m,yOuterPadding:b,sizeVariation:_,colors:ee,emptyColor:ne,opacity:C,activeOpacity:A,inactiveOpacity:T,borderColor:F,label:Z,labelTextColor:J,hoverTarget:pe}),Me=Te.width,Le=Te.height,De=Te.offsetX,Ne=Te.offsetY,Oe=Te.xScale,Fe=Te.yScale,Re=Te.cells,Ie=Te.colorScale,ze=Te.activeCell,Pe=Te.setActiveCell,Be=(0,s.Kr)((function(){return DU({},ke,{top:ke.top+Ne,left:ke.left+De})}),[ke,De,Ne]),je={grid:null,axes:null,cells:null,legends:null,annotations:null};r.includes("grid")&&(je.grid=Wt(qB,{width:Me,height:Le,xScale:I?Oe:null,yScale:P?Fe:null},"grid")),r.includes("axes")&&(je.axes=Wt(jB,{xScale:Oe,yScale:Fe,width:Me,height:Le,top:j,right:$,bottom:H,left:W},"axes")),r.includes("cells")&&(je.cells=Wt(s.FK,{children:Wt(WU,{cells:Re,cellComponent:x,borderRadius:L,borderWidth:N,isInteractive:le,setActiveCell:Pe,onMouseEnter:ce,onMouseMove:ue,onMouseLeave:de,onClick:fe,tooltip:me,enableLabels:G})},"cells")),r.includes("legends")&&null!==Ie&&(je.legends=Wt(s.FK,{children:ie.map((function(e,t){return(0,s.n)(wj,DU({},e,{key:t,containerWidth:Me,containerHeight:Le,scale:Ie}))}))},"legends")),r.includes("annotations")&&ae.length>0&&(je.annotations=Wt(VU,{cells:Re,annotations:ae},"annotations"));var Ye={cells:Re,activeCell:ze,setActiveCell:Pe};return Wt(VI,{width:Ae,height:Ee,margin:Object.assign({},Be,{top:Be.top,left:Be.left}),role:ve,ariaLabel:be,ariaLabelledBy:ye,ariaDescribedBy:_e,ref:we,children:r.map((function(e,t){var n;return"function"==typeof e?Wt(s.FK,{children:(0,s.n)(e,Ye)},t):null!=(n=null==je?void 0:je[e])?n:null}))})},ZU=(0,s.Rf)((function(e,t){var n=e.isInteractive,r=void 0===n?FU.isInteractive:n,i=e.animate,o=void 0===i?FU.animate:i,a=e.motionConfig,s=void 0===a?FU.motionConfig:a,l=e.theme,c=e.renderWrapper,u=NU(e,GU);return Wt(EI,{animate:o,isInteractive:r,motionConfig:s,renderWrapper:c,theme:l,children:Wt(KU,DU({isInteractive:r},u,{forwardedRef:t}))})})),XU=["defaultWidth","defaultHeight","onResize","debounceResize"],JU=(0,s.Rf)((function(e,t){var n=e.defaultWidth,r=e.defaultHeight,i=e.onResize,o=e.debounceResize,a=NU(e,XU);return Wt(LI,{defaultWidth:n,defaultHeight:r,onResize:i,debounceResize:o,children:function(e){var n=e.width,r=e.height;return Wt(ZU,DU({width:n,height:r},a,{ref:t}))}})})),QU=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&&(mz(e,p.labels.text),e.textAlign="center",e.textBaseline="middle",vz(e,DU({},p.labels.text,{fill:u}),d,r,i)),e.restore()},eW=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&&(mz(e,p.labels.text),e.textAlign="center",e.textBaseline="middle",vz(e,DU({},p.labels.text,{fill:u}),d,r,i)),e.restore()},tW=["theme","isInteractive","animate","motionConfig","renderWrapper"],nW=function(e){var t,n=e.data,r=e.layers,i=void 0===r?RU.layers:r,o=e.valueFormat,a=e.width,l=e.height,c=e.margin,u=e.xInnerPadding,d=void 0===u?RU.xInnerPadding:u,f=e.xOuterPadding,h=void 0===f?RU.xOuterPadding:f,p=e.yInnerPadding,g=void 0===p?RU.yInnerPadding:p,m=e.yOuterPadding,v=void 0===m?RU.yOuterPadding:m,b=e.forceSquare,y=void 0===b?RU.forceSquare:b,_=e.sizeVariation,w=void 0===_?RU.sizeVariation:_,x=e.renderCell,k=void 0===x?RU.renderCell:x,C=e.opacity,S=void 0===C?RU.opacity:C,A=e.activeOpacity,E=void 0===A?RU.activeOpacity:A,T=e.inactiveOpacity,M=void 0===T?RU.inactiveOpacity:T,L=e.borderWidth,D=void 0===L?RU.borderWidth:L,N=e.borderColor,O=void 0===N?RU.borderColor:N,F=e.enableGridX,R=void 0===F?RU.enableGridX:F,I=e.enableGridY,z=void 0===I?RU.enableGridY:I,P=e.axisTop,B=void 0===P?RU.axisTop:P,j=e.axisRight,Y=void 0===j?RU.axisRight:j,$=e.axisBottom,q=void 0===$?RU.axisBottom:$,H=e.axisLeft,U=void 0===H?RU.axisLeft:H,W=e.enableLabels,V=void 0===W?RU.enableLabels:W,G=e.label,K=void 0===G?RU.label:G,Z=e.labelTextColor,X=void 0===Z?RU.labelTextColor:Z,J=e.colors,Q=void 0===J?RU.colors:J,ee=e.emptyColor,te=void 0===ee?RU.emptyColor:ee,ne=e.legends,re=void 0===ne?RU.legends:ne,ie=e.annotations,oe=void 0===ie?RU.annotations:ie,ae=e.isInteractive,se=void 0===ae?RU.isInteractive:ae,le=e.onClick,ce=e.hoverTarget,ue=void 0===ce?RU.hoverTarget:ce,de=e.tooltip,fe=void 0===de?RU.tooltip:de,he=e.role,pe=e.ariaLabel,ge=e.ariaLabelledBy,me=e.ariaDescribedBy,ve=e.pixelRatio,be=void 0===ve?RU.pixelRatio:ve,ye=e.forwardedRef,_e=(0,s.li)(null),we=rz(a,l,c),xe=we.margin,ke=we.innerWidth,Ce=we.innerHeight,Se=we.outerWidth,Ae=we.outerHeight,Ee=BU({data:n,valueFormat:o,width:ke,height:Ce,xInnerPadding:d,xOuterPadding:h,yInnerPadding:g,yOuterPadding:v,forceSquare:y,sizeVariation:w,colors:Q,emptyColor:te,opacity:S,activeOpacity:E,inactiveOpacity:M,borderColor:O,label:K,labelTextColor:X,hoverTarget:ue}),Te=Ee.width,Me=Ee.height,Le=Ee.offsetX,De=Ee.offsetY,Ne=Ee.xScale,Oe=Ee.yScale,Fe=Ee.cells,Re=Ee.colorScale,Ie=Ee.activeCell,ze=Ee.setActiveCell,Pe=(0,s.Kr)((function(){return DU({},xe,{top:xe.top+De,left:xe.left+Le})}),[xe,Le,De]),Be=jU(Fe,oe),je=xU({annotations:Be});t="function"==typeof k?k:"circle"===k?eW:QU;var Ye=tL(),$e=(0,s.Kr)((function(){return{cells:Fe,activeCell:Ie,setActiveCell:ze}}),[Fe,Ie,ze]);(0,s.vJ)((function(){if(null!==_e.current){var e=_e.current.getContext("2d");e&&(_e.current.width=Se*be,_e.current.height=Ae*be,e.scale(be,be),e.fillStyle=Ye.background,e.fillRect(0,0,Se,Ae),e.translate(Pe.left,Pe.top),i.forEach((function(n){"grid"===n?(e.lineWidth=Ye.grid.line.strokeWidth,e.strokeStyle=Ye.grid.line.stroke,R&&UB(e,{width:Te,height:Me,scale:Ne,axis:"x"}),z&&UB(e,{width:Te,height:Me,scale:Oe,axis:"y"})):"axes"===n?HB(e,{xScale:Ne,yScale:Oe,width:Te,height:Me,top:B,right:Y,bottom:q,left:U,theme:Ye}):"cells"===n?(e.textAlign="center",e.textBaseline="middle",Fe.forEach((function(n){t(e,{cell:n,borderWidth:D,enableLabels:V,theme:Ye})}))):"legends"===n&&null!==Re?re.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?hj.length:d,h=t.thickness,p=void 0===h?hj.thickness:h,g=t.direction,m=void 0===g?hj.direction:g,v=t.ticks,b=t.tickPosition,y=void 0===b?hj.tickPosition:b,_=t.tickSize,w=void 0===_?hj.tickSize:_,x=t.tickSpacing,k=void 0===x?hj.tickSpacing:x,C=t.tickOverlap,S=void 0===C?hj.tickOverlap:C,A=t.tickFormat,E=void 0===A?hj.tickFormat:A,T=t.title,M=t.titleAlign,L=void 0===M?hj.titleAlign:M,D=t.titleOffset,N=void 0===D?hj.titleOffset:D,O=t.theme,F=bj({scale:u,ticks:v,length:f,thickness:p,direction:m,tickPosition:y,tickSize:w,tickSpacing:k,tickOverlap:S,tickFormat:E,title:T,titleAlign:L,titleOffset:N}),R=F.width,I=F.height,z=F.gradientX1,P=F.gradientY1,B=F.gradientX2,j=F.gradientY2,Y=F.colorStops,$=F.ticks,q=F.titleText,H=F.titleX,U=F.titleY,W=F.titleRotation,V=F.titleVerticalAlign,G=F.titleHorizontalAlign,K=mj({anchor:o,translateX:s,translateY:c,containerWidth:r,containerHeight:i,width:R,height:I}),Z=K.x,X=K.y,J={font:e.font,textAlign:e.textAlign,textBaseline:e.textBaseline};e.save(),e.translate(Z,X);var Q=e.createLinearGradient(z*R,P*I,B*R,j*I);Y.forEach((function(e){Q.addColorStop(e.offset,e.stopColor)})),e.fillStyle=Q,e.fillRect(0,0,R,I),mz(e,O.legends.ticks.text);var ee=null!=(n=O.legends.ticks.line.strokeWidth)?n:0,te="string"!=typeof ee&&ee>0;$.forEach((function(t){te&&(e.lineWidth=ee,O.axis.ticks.line.stroke&&(e.strokeStyle=O.axis.ticks.line.stroke),e.lineCap="square",e.beginPath(),e.moveTo(t.x1,t.y1),e.lineTo(t.x2,t.y2),e.stroke()),e.textAlign="middle"===t.textHorizontalAlign?"center":t.textHorizontalAlign,e.textBaseline="central"===t.textVerticalAlign?"middle":t.textVerticalAlign,vz(e,O.legends.ticks.text,t.text,t.textX,t.textY)})),q&&(e.save(),e.translate(H,U),e.rotate(zI(W)),mz(e,O.legends.title.text),e.textAlign="middle"===G?"center":G,e.textBaseline=V,vz(e,O.legends.title.text,q),e.restore()),e.restore(),e.font=J.font,e.textAlign=J.textAlign,e.textBaseline=J.textBaseline}(e,DU({},t,{containerWidth:Te,containerHeight:Me,scale:Re,theme:Ye}))})):"annotations"===n?LU(e,{annotations:je,theme:Ye}):"function"==typeof n&&n(e,$e)})))}}),[_e,be,Se,Ae,Te,Me,Pe,i,$e,Fe,t,R,z,B,Y,q,U,Ne,Oe,Ye,D,V,Re,re,je]);var qe=bL(),He=qe.showTooltipFromEvent,Ue=qe.hideTooltip,We=(0,s.hb)((function(e){if(null!==_e.current){var t=dz(_e.current,e),n=t[0],r=t[1],i=Fe.find((function(e){return uz(e.x+Pe.left-e.width/2,e.y+Pe.top-e.height/2,e.width,e.height,n,r)}));void 0!==i?(ze(i),He((0,s.n)(fe,{cell:i}),e)):(ze(null),Ue())}}),[_e,Fe,Pe,ze,He,Ue,fe]),Ve=(0,s.hb)((function(){ze(null),Ue()}),[ze,Ue]),Ge=(0,s.hb)((function(e){null!==Ie&&(null==le||le(Ie,e))}),[Ie,le]);return Wt("canvas",{ref:gz(_e,ye),width:Se*be,height:Ae*be,style:{width:Se,height:Ae},onMouseEnter:se?We:void 0,onMouseMove:se?We:void 0,onMouseLeave:se?Ve:void 0,onClick:se?Ge:void 0,role:he,"aria-label":pe,"aria-labelledby":ge,"aria-describedby":me})},rW=(0,s.Rf)((function(e,t){var n=e.theme,r=e.isInteractive,i=void 0===r?RU.isInteractive:r,o=e.animate,a=void 0===o?RU.animate:o,s=e.motionConfig,l=void 0===s?RU.motionConfig:s,c=e.renderWrapper,u=NU(e,tW);return Wt(EI,{isInteractive:i,animate:a,motionConfig:l,theme:n,renderWrapper:c,children:Wt(nW,DU({isInteractive:i},u,{forwardedRef:t}))})})),iW=["defaultWidth","defaultHeight","onResize","debounceResize"];(0,s.Rf)((function(e,t){var n=e.defaultWidth,r=e.defaultHeight,i=e.onResize,o=e.debounceResize,a=NU(e,iW);return Wt(LI,{defaultWidth:n,defaultHeight:r,onResize:i,debounceResize:o,children:function(e){var n=e.width,r=e.height;return Wt(rW,DU({width:n,height:r},a,{ref:t}))}})}));const oW={top:60,right:90,bottom:60,left:90},aW={tickSize:5,tickPadding:5,tickRotation:0},sW={tickSize:5,tickPadding:5,tickRotation:-90},lW={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},cW=e=>{const{cell:t}=e,n=(0,i.Kr)((()=>({id:t.id.toString(),color:t.color,label:t.data.x,value:t.label})),[t]);return Wt(ZH,{label:t.serieId,children:Wt(eU,{mode:"default",legend:n})})};const uW=({width:e="100%",height:t=400,data:n,rootAriaLabel:r,emptyLabel:o="No data available",emptyAriaLabel:a="No data available",margin:s=oW,axisLeft:l=aW,axisTop:c=sW,xInnerPadding:u=.05,yInnerPadding:d=.05,legends:f=[lW],forceSquare:h=!0,valueFormat:p=">-.2%",...g})=>{const m=(0,i.Kr)((()=>0===n.length),[n]),v=((e="light")=>{const t=(0,i.Kr)((()=>WY([0,1],["var(--color-chart-heatmap-low)","var(--color-chart-heatmap-mid-strong)","var(--color-chart-heatmap-mid)","var(--color-chart-heatmap-mid-strong)","var(--color-chart-heatmap-high)"])),[e]);return(0,i.hb)((e=>t(e)),[t])})(iU());return m?Wt(qY,{label:o,width:e,height:t,ariaLabel:a}):Wt("div",{role:"img","aria-label":r,tabIndex:0,style:{width:e,height:t},className:"styles_heatMap__E95gO",children:Wt(JU,{data:n,margin:s,axisBottom:null,axisRight:null,axisLeft:l,axisTop:c,xInnerPadding:u,yInnerPadding:d,legends:f,forceSquare:h,theme:LH,motionConfig:AH,animate:!EH,valueFormat:p,colors:e=>v(e.data.y??0),labelTextColor:"var(--color-text-inverse)",tooltip:cW,emptyColor:"var(--color-control-bg)",inactiveOpacity:0,borderRadius:4,...g})})},dW=({title:e,translations:t,rootAriaLabel:n,width:r,height:i,data:o,...a})=>{const s=t["no-results"];return Wt(jb,{title:e,children:Wt(uW,{data:o,width:r,height:i,emptyLabel:s,emptyAriaLabel:s,rootAriaLabel:n,...a})})};function fW(){return fW=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},fW.apply(null,arguments)}function hW(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 pW,gW=function(e){var t=e.bars,n=e.annotations,i=wU({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 Wt(r.FK,{children:i.map((function(e,t){return Wt(TU,fW({},e),t)}))})},mW=function(e){var t=e.width,n=e.height,i=e.legends,o=e.toggleSerie;return Wt(r.FK,{children:i.map((function(e,r){var i,a=e[0],s=e[1];return Wt(Sj,fW({},a,{containerWidth:t,containerHeight:n,data:null!=(i=a.data)?i:s,toggleSerie:a.toggleSerie&&"keys"===a.dataFrom?o:void 0}),r)}))})},vW=["data"],bW=["color","label"],yW={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=hW(e,bW);return Wt(lL,{id:n,value:r.formattedValue,enableChip:!0,color:t})},tooltipLabel:function(e){return e.id+" - "+e.indexValue},legends:[],initialHiddenIds:[],annotations:[],enableTotals:!1,totalsOffset:10},_W=fW({},yW,{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=hW(n,vW),o=e.style,a=o.borderColor,l=o.color,c=o.height,u=o.labelColor,d=o.labelOpacity,f=o.labelX,h=o.labelY,p=o.transform,g=o.width,m=o.textAnchor,v=e.borderRadius,b=e.borderWidth,y=e.label,_=e.shouldRenderLabel,w=e.isInteractive,x=e.onClick,k=e.onMouseEnter,C=e.onMouseLeave,S=e.tooltip,A=e.isFocusable,E=e.ariaLabel,T=e.ariaLabelledBy,M=e.ariaDescribedBy,L=e.ariaDisabled,D=e.ariaHidden,N=tL(),O=bL(),F=O.showTooltipFromEvent,R=O.showTooltipAt,I=O.hideTooltip,z=(0,s.Kr)((function(){return function(){return(0,s.n)(S,fW({},i,r))}}),[S,i,r]),P=(0,s.hb)((function(e){null==x||x(fW({color:i.color},r),e)}),[i,r,x]),B=(0,s.hb)((function(e){return F(z(),e)}),[F,z]),j=(0,s.hb)((function(e){null==k||k(r,e),F(z(),e)}),[r,k,F,z]),Y=(0,s.hb)((function(e){null==C||C(r,e),I()}),[r,I,C]),$=(0,s.hb)((function(){R(z(),[i.absX+i.width/2,i.absY])}),[R,z,i]),q=(0,s.hb)((function(){I()}),[I]);return Wt(_A.g,{transform:p,children:[Wt(_A.rect,{width:mC(g,(function(e){return Math.max(e,0)})),height:mC(c,(function(e){return Math.max(e,0)})),rx:v,ry:v,fill:null!=(t=r.fill)?t:l,strokeWidth:b,stroke:a,focusable:A,tabIndex:A?0:void 0,"aria-label":E?E(r):void 0,"aria-labelledby":T?T(r):void 0,"aria-describedby":M?M(r):void 0,"aria-disabled":L?L(r):void 0,"aria-hidden":D?D(r):void 0,onMouseEnter:w?j:void 0,onMouseMove:w?B:void 0,onMouseLeave:w?Y:void 0,onClick:w?P:void 0,onFocus:w&&A?$:void 0,onBlur:w&&A?q:void 0,"data-testid":"bar.item."+r.id+"."+r.index}),_&&Wt(Lz,{x:f,y:h,textAnchor:m,dominantBaseline:"central",fillOpacity:d,style:fW({},N.labels.text,{pointerEvents:"none",fill:u}),children:y})]})},defs:[],fill:[],markers:[],animate:!0,animateOnMount:!1,motionConfig:"default",role:"img",isFocusable:!1}),wW=fW({},yW,{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,vz(e,h,d,a+p,s+g))},pixelRatio:"undefined"!=typeof window&&null!=(pW=window.devicePixelRatio)?pW:1}),xW=function(e,t,n,r,i,o){return yB(r,{all:e.map(t),min:0,max:0},i,o).padding(n)},kW=function(e,t){return e.map((function(e){return fW({},t.reduce((function(e,t){return e[t]=null,e}),{}),e)}))},CW=function(e){return Object.keys(e).reduce((function(t,n){return e[n]&&(t[n]=e[n]),t}),{})},SW=function(e){return[e,Number(e)]};function AW(e,t,n,r){return void 0===e&&(e=yW.layout),void 0===n&&(n=yW.labelPosition),void 0===r&&(r=yW.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 EW=["layout","width","height","padding","innerPadding","valueScale","indexScale","hiddenIds"],TW=function(e,t){return e>t},MW=function(e,t){return e<t},LW=function(e,t){return Array.from(" ".repeat(t-e),(function(t,n){return e+n}))},DW=function(e){return TW(e,0)?0:e},NW=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?MW:TW,m=i.map(CW),v=[];return d.forEach((function(e,n){return LW(0,f.domain().length).forEach((function(c){var d,b,y,_=SW(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,A=function(e,t){var n;return g(e,0)?r-t:(null!=(n=h(e))?n:0)-r}(x,S),E={id:e,value:null===w?w:x,formattedValue:o(x),hidden:!1,index:c,indexValue:k,data:m[c]};v.push({key:e+"."+E.indexValue,index:v.length,data:E,x:C,y:S,absX:p.left+C,absY:p.top+S,width:t,height:A,color:a(E),label:l(E)})}))})),v},OW=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?MW:TW,m=i.map(CW),v=[];return c.forEach((function(e,n){return LW(0,h.domain().length).forEach((function(c){var u,b,y,_=SW(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,A=function(e,t){var n;return g(e,0)?(null!=(n=f(e))?n:0)-r:r-t}(x,C),E={id:e,value:null===w?w:x,formattedValue:o(x),hidden:!1,index:c,indexValue:k,data:m[c]};v.push({key:e+"."+E.indexValue,index:v.length,data:E,x:C,y:S,absX:p.left+C,absY:p.top+S,width:A,height:t,color:s(E),label:l(E)})}))})),v},FW=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=hW(e,EW),m=g.keys.filter((function(e){return!p.includes(e)})),v=kW(g.data,m),b="vertical"===i?["y","x",o]:["x","y",a],y=b[0],_=b[1],w=b[2],x=xW(v,g.getIndex,l,f,w,_),k="auto"===d.min?DW:function(e){return e},C=v.reduce((function(e,t){return[].concat(e,m.map((function(e){return t[e]})))}),[]).filter(Boolean),S=yB(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),A="vertical"===i?[x,S]:[S,x],E=A[0],T=A[1],M=(x.bandwidth()-u*(m.length-1))/m.length,L=[fW({},g,{data:v,keys:m,innerPadding:u,xScale:E,yScale:T}),M,null!=(t=d.reverse)&&t,null!=(n=S(0))?n:0];return{xScale:E,yScale:T,bars:M>0?"vertical"===i?NW.apply(void 0,L):OW.apply(void 0,L):[]}},RW=["data","layout","width","height","padding","valueScale","indexScale","hiddenIds"],IW=function(e){var t;return e.some(Array.isArray)?IW((t=[]).concat.apply(t,e)):e},zW=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,_=SW(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:CW(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},PW=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,_=SW(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:CW(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},BW=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=hW(e,RW),p=h.keys.filter((function(e){return!f.includes(e)})),g=function(){var e=xs([]),t=Bl,n=Pl,r=jl;function i(i){var o,a,s=Array.from(e.apply(this,arguments),Yl),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=Ks(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:xs(Array.from(t)),i):e},i.value=function(e){return arguments.length?(r="function"==typeof e?e:xs(+e),i):r},i.order=function(e){return arguments.length?(t=null==e?Bl:"function"==typeof e?e:xs(Array.from(e)),i):t},i.offset=function(e){return arguments.length?(n=null==e?Pl:e,i):n},i}().keys(p).offset($l)(kW(r,p)),m="vertical"===i?["y","x",o]:["x","y",a],v=m[0],b=m[1],y=m[2],_=xW(r,h.getIndex,l,u,y,b),w=(n=IW(g),"log"===c.type?n.filter((function(e){return 0!==e})):n),x=yB(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],A=h.innerPadding>0?h.innerPadding:0,E=_.bandwidth(),T=[fW({},h,{innerPadding:A,stackedData:g,xScale:C,yScale:S}),E,null!=(t=c.reverse)&&t];return{xScale:C,yScale:S,bars:E>0?"vertical"===i?zW.apply(void 0,T):PW.apply(void 0,T):[]}},jW=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=sz(null!=a?a:"indexes"===r?"indexValue":"id");return"indexes"===r?function(e,t,n){var r=CP(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=CP(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)},YW=function(e,t,n){var r=e.get(t)||0;e.set(t,r+n)},$W=function(e){var t,n=e.indexBy,r=void 0===n?yW.indexBy:n,i=e.keys,o=void 0===i?yW.keys:i,a=e.label,l=void 0===a?yW.label:a,c=e.tooltipLabel,u=void 0===c?yW.tooltipLabel:c,d=e.valueFormat,f=e.colors,h=void 0===f?yW.colors:f,p=e.colorBy,g=void 0===p?yW.colorBy:p,m=e.borderColor,v=void 0===m?yW.borderColor:m,b=e.labelTextColor,y=void 0===b?yW.labelTextColor:b,_=e.groupMode,w=void 0===_?yW.groupMode:_,x=e.layout,k=void 0===x?yW.layout:x,C=e.data,S=e.margin,A=e.width,E=e.height,T=e.padding,M=void 0===T?yW.padding:T,L=e.innerPadding,D=void 0===L?yW.innerPadding:L,N=e.valueScale,O=void 0===N?yW.valueScale:N,F=e.indexScale,R=void 0===F?yW.indexScale:F,I=e.initialHiddenIds,z=void 0===I?yW.initialHiddenIds:I,P=e.enableLabel,B=void 0===P?yW.enableLabel:P,j=e.labelSkipWidth,Y=void 0===j?yW.labelSkipWidth:j,$=e.labelSkipHeight,q=void 0===$?yW.labelSkipHeight:$,H=e.legends,U=void 0===H?yW.legends:H,W=e.legendLabel,V=e.totalsOffset,G=void 0===V?yW.totalsOffset:V,K=(0,s.J0)(null!=z?z:[]),Z=K[0],X=K[1],J=(0,s.hb)((function(e){X((function(t){return t.indexOf(e)>-1?t.filter((function(t){return t!==e})):[].concat(t,[e])}))}),[]),Q=lz(r),ee=lz(l),te=lz(u),ne=az(d),re=tL(),ie=lj(h,g),oe=oj(v,re),ae=oj(y,re),se=("grouped"===w?FW:BW)({layout:k,data:C,getIndex:Q,keys:o,width:A,height:E,getColor:ie,padding:M,innerPadding:D,valueScale:O,indexScale:R,hiddenIds:Z,formatValue:ne,getTooltipLabel:te,margin:S}),le=se.bars,ce=se.xScale,ue=se.yScale,de=(0,s.Kr)((function(){return le.filter((function(e){return null!==e.data.value})).map((function(e,t){return fW({},e,{index:t})}))}),[le]),fe=(0,s.hb)((function(e){var t=e.width,n=e.height;return!(!B||Y>0&&t<Y||q>0&&n<q)}),[B,Y,q]),he=(0,s.Kr)((function(){return o.map((function(e){var t=le.find((function(t){return t.data.id===e}));return fW({},t,{data:fW({id:e},null==t?void 0:t.data,{hidden:Z.includes(e)})})}))}),[Z,o,le]),pe=null!=(t=O.reverse)&&t,ge=(0,s.Kr)((function(){return U.map((function(e){return[e,jW({bars:"keys"===e.dataFrom?he:le,direction:e.direction,from:e.dataFrom,groupMode:w,layout:k,legendLabel:W,reverse:pe})]}))}),[U,he,le,w,k,W,pe]),me=(0,s.Kr)((function(){return function(e,t,n,r,i,o,a){void 0===r&&(r=yW.layout),void 0===i&&(i=yW.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;YW(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;YW(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}(le,ce,ue,k,w,G,ne)}),[le,ce,ue,k,w,G,ne]);return{bars:le,barsWithValue:de,xScale:ce,yScale:ue,getIndex:Q,getLabel:ee,getTooltipLabel:te,formatValue:ne,getColor:ie,getBorderColor:oe,getLabelColor:ae,shouldRenderBarLabel:fe,hiddenIds:Z,toggleSerie:J,legendsWithData:ge,barTotals:me}},qW=function(e){var t=e.data,n=e.springConfig,r=e.animate,i=e.layout,o=void 0===i?_W.layout:i,a=tL();return uC(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 Wt(_A.text,{x:e.x,y:e.y,fillOpacity:e.labelOpacity,style:fW({},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)}))},HW=["isInteractive","animate","motionConfig","theme","renderWrapper"],UW=function(e){var t,n=e.data,r=e.indexBy,i=e.keys,o=e.margin,a=e.width,l=e.height,c=e.groupMode,u=e.layout,d=e.valueScale,f=e.indexScale,h=e.padding,p=e.innerPadding,g=e.axisTop,m=e.axisRight,v=e.axisBottom,b=void 0===v?_W.axisBottom:v,y=e.axisLeft,_=void 0===y?_W.axisLeft:y,w=e.enableGridX,x=void 0===w?_W.enableGridX:w,k=e.enableGridY,C=void 0===k?_W.enableGridY:k,S=e.gridXValues,A=e.gridYValues,E=e.layers,T=void 0===E?_W.layers:E,M=e.barComponent,L=void 0===M?_W.barComponent:M,D=e.enableLabel,N=void 0===D?_W.enableLabel:D,O=e.label,F=e.labelSkipWidth,R=void 0===F?_W.labelSkipWidth:F,I=e.labelSkipHeight,z=void 0===I?_W.labelSkipHeight:I,P=e.labelTextColor,B=e.labelPosition,j=void 0===B?_W.labelPosition:B,Y=e.labelOffset,$=void 0===Y?_W.labelOffset:Y,q=e.markers,H=void 0===q?_W.markers:q,U=e.colorBy,W=e.colors,V=e.defs,G=void 0===V?_W.defs:V,K=e.fill,Z=void 0===K?_W.fill:K,X=e.borderRadius,J=void 0===X?_W.borderRadius:X,Q=e.borderWidth,ee=void 0===Q?_W.borderWidth:Q,te=e.borderColor,ne=e.annotations,re=void 0===ne?_W.annotations:ne,ie=e.legendLabel,oe=e.tooltipLabel,ae=e.valueFormat,se=e.isInteractive,le=void 0===se?_W.isInteractive:se,ce=e.tooltip,ue=void 0===ce?_W.tooltip:ce,de=e.onClick,fe=e.onMouseEnter,he=e.onMouseLeave,pe=e.legends,ge=e.role,me=void 0===ge?_W.role:ge,ve=e.ariaLabel,be=e.ariaLabelledBy,ye=e.ariaDescribedBy,_e=e.isFocusable,we=void 0===_e?_W.isFocusable:_e,xe=e.barAriaLabel,ke=e.barAriaLabelledBy,Ce=e.barAriaDescribedBy,Se=e.barAriaHidden,Ae=e.barAriaDisabled,Ee=e.initialHiddenIds,Te=e.enableTotals,Me=void 0===Te?_W.enableTotals:Te,Le=e.totalsOffset,De=void 0===Le?_W.totalsOffset:Le,Ne=e.forwardedRef,Oe=CI(),Fe=Oe.animate,Re=Oe.config,Ie=rz(a,l,o),ze=Ie.outerWidth,Pe=Ie.outerHeight,Be=Ie.margin,je=Ie.innerWidth,Ye=Ie.innerHeight,$e=$W({indexBy:r,label:O,tooltipLabel:oe,valueFormat:ae,colors:W,colorBy:U,borderColor:te,labelTextColor:P,groupMode:c,layout:u,data:n,keys:i,margin:Be,width:je,height:Ye,padding:h,innerPadding:p,valueScale:d,indexScale:f,enableLabel:N,labelSkipWidth:R,labelSkipHeight:z,legends:pe,legendLabel:ie,initialHiddenIds:Ee,totalsOffset:De}),qe=$e.bars,He=$e.barsWithValue,Ue=$e.xScale,We=$e.yScale,Ve=$e.getLabel,Ge=$e.getTooltipLabel,Ke=$e.getBorderColor,Ze=$e.getLabelColor,Xe=$e.shouldRenderBarLabel,Je=$e.toggleSerie,Qe=$e.legendsWithData,et=$e.barTotals,tt=$e.getColor,nt=AW(u,null!=(t=null==d?void 0:d.reverse)&&t,j,$),rt=uC(He,{keys:function(e){return e.key},from:function(e){return fW({borderColor:Ke(e),color:e.color,height:0,labelColor:Ze(e),labelOpacity:0},nt(e.width,e.height),{transform:"translate("+e.x+", "+(e.y+e.height)+")",width:e.width},"vertical"===u?{}:{height:e.height,transform:"translate("+e.x+", "+e.y+")",width:0})},enter:function(e){return fW({borderColor:Ke(e),color:e.color,height:e.height,labelColor:Ze(e),labelOpacity:1},nt(e.width,e.height),{transform:"translate("+e.x+", "+e.y+")",width:e.width})},update:function(e){return fW({borderColor:Ke(e),color:e.color,height:e.height,labelColor:Ze(e),labelOpacity:1},nt(e.width,e.height),{transform:"translate("+e.x+", "+e.y+")",width:e.width})},leave:function(e){return fW({borderColor:Ke(e),color:e.color,height:0,labelColor:Ze(e),labelOpacity:0},nt(e.width,e.height),{labelY:0,transform:"translate("+e.x+", "+(e.y+e.height)+")",width:e.width},"vertical"===u?{}:fW({},nt(e.width,e.height),{labelX:0,height:e.height,transform:"translate("+e.x+", "+e.y+")",width:0}))},config:Re,immediate:!Fe,initial:Fe?void 0:null}),it=(0,s.Kr)((function(){return{borderRadius:J,borderWidth:ee,enableLabel:N,isInteractive:le,labelSkipWidth:R,labelSkipHeight:z,onClick:de,onMouseEnter:fe,onMouseLeave:he,getTooltipLabel:Ge,tooltip:ue,isFocusable:we,ariaLabel:xe,ariaLabelledBy:ke,ariaDescribedBy:Ce,ariaHidden:Se,ariaDisabled:Ae}}),[J,ee,N,Ge,le,z,R,de,fe,he,ue,we,xe,ke,Ce,Se,Ae]),ot=pz(G,qe,Z,{dataKey:"data",targetKey:"data.fill"}),at={annotations:null,axes:null,bars:null,grid:null,legends:null,markers:null,totals:null};T.includes("annotations")&&(at.annotations=Wt(gW,{bars:qe,annotations:re},"annotations")),T.includes("axes")&&(at.axes=Wt(jB,{xScale:Ue,yScale:We,width:je,height:Ye,top:g,right:m,bottom:b,left:_},"axes")),T.includes("bars")&&(at.bars=Wt(s.FK,{children:rt((function(e,t){return(0,s.n)(L,fW({},it,{bar:t,style:e,shouldRenderLabel:Xe(t),label:Ve(t.data)}))}))},"bars")),T.includes("grid")&&(at.grid=Wt(qB,{width:je,height:Ye,xScale:x?Ue:null,yScale:C?We:null,xValues:S,yValues:A},"grid")),T.includes("legends")&&(at.legends=Wt(mW,{width:je,height:Ye,legends:Qe,toggleSerie:Je},"legends")),T.includes("markers")&&(at.markers=Wt(XI,{markers:H,width:je,height:Ye,xScale:Ue,yScale:We},"markers")),T.includes("totals")&&Me&&(at.totals=Wt(qW,{data:et,springConfig:Re,animate:Fe,layout:u},"totals"));var st=fW({},it,{margin:Be,width:a,height:l,innerWidth:je,innerHeight:Ye,bars:qe,legendData:Qe,enableLabel:N,xScale:Ue,yScale:We,tooltip:ue,getTooltipLabel:Ge,onClick:de,onMouseEnter:fe,onMouseLeave:he,getColor:tt});return Wt(VI,{width:ze,height:Pe,margin:Be,defs:ot,role:me,ariaLabel:ve,ariaLabelledBy:be,ariaDescribedBy:ye,isFocusable:we,ref:Ne,children:T.map((function(e,t){var n;return"function"==typeof e?Wt(s.FK,{children:(0,s.n)(e,st)},t):null!=(n=null==at?void 0:at[e])?n:null}))})},WW=(0,s.Rf)((function(e,t){var n=e.isInteractive,r=void 0===n?_W.isInteractive:n,i=e.animate,o=void 0===i?_W.animate:i,a=e.motionConfig,s=void 0===a?_W.motionConfig:a,l=e.theme,c=e.renderWrapper,u=hW(e,HW);return Wt(EI,{animate:o,isInteractive:r,motionConfig:s,renderWrapper:c,theme:l,children:Wt(UW,fW({},u,{isInteractive:r,forwardedRef:t}))})})),VW=["isInteractive","renderWrapper","theme"],GW=function(e,t,n,r){return e.find((function(e){return uz(e.x+t.left,e.y+t.top,e.width,e.height,n,r)}))},KW=function(e){var t,n=e.data,r=e.indexBy,i=e.keys,o=e.margin,a=e.width,l=e.height,c=e.groupMode,u=e.layout,d=e.valueScale,f=e.indexScale,h=e.padding,p=e.innerPadding,g=e.axisTop,m=e.axisRight,v=e.axisBottom,b=void 0===v?wW.axisBottom:v,y=e.axisLeft,_=void 0===y?wW.axisLeft:y,w=e.enableGridX,x=void 0===w?wW.enableGridX:w,k=e.enableGridY,C=void 0===k?wW.enableGridY:k,S=e.gridXValues,A=e.gridYValues,E=e.labelPosition,T=void 0===E?wW.labelPosition:E,M=e.labelOffset,L=void 0===M?wW.labelOffset:M,D=e.layers,N=void 0===D?wW.layers:D,O=e.renderBar,F=void 0===O?wW.renderBar:O,R=e.enableLabel,I=void 0===R?wW.enableLabel:R,z=e.label,P=e.labelSkipWidth,B=void 0===P?wW.labelSkipWidth:P,j=e.labelSkipHeight,Y=void 0===j?wW.labelSkipHeight:j,$=e.labelTextColor,q=e.colorBy,H=e.colors,U=e.borderRadius,W=void 0===U?wW.borderRadius:U,V=e.borderWidth,G=void 0===V?wW.borderWidth:V,K=e.borderColor,Z=e.annotations,X=void 0===Z?wW.annotations:Z,J=e.legendLabel,Q=e.tooltipLabel,ee=e.valueFormat,te=e.isInteractive,ne=void 0===te?wW.isInteractive:te,re=e.tooltip,ie=void 0===re?wW.tooltip:re,oe=e.onClick,ae=e.onMouseEnter,se=e.onMouseLeave,le=e.legends,ce=e.pixelRatio,ue=void 0===ce?wW.pixelRatio:ce,de=e.role,fe=e.forwardedRef,he=e.enableTotals,pe=void 0===he?wW.enableTotals:he,ge=e.totalsOffset,me=void 0===ge?wW.totalsOffset:ge,ve=(0,s.li)(null),be=tL(),ye=rz(a,l,o),_e=ye.margin,we=ye.innerWidth,xe=ye.innerHeight,ke=ye.outerWidth,Ce=ye.outerHeight,Se=$W({indexBy:r,label:z,tooltipLabel:Q,valueFormat:ee,colors:H,colorBy:q,borderColor:K,labelTextColor:$,groupMode:c,layout:u,data:n,keys:i,margin:_e,width:we,height:xe,padding:h,innerPadding:p,valueScale:d,indexScale:f,enableLabel:I,labelSkipWidth:B,labelSkipHeight:Y,legends:le,legendLabel:J,totalsOffset:me}),Ae=Se.bars,Ee=Se.barsWithValue,Te=Se.xScale,Me=Se.yScale,Le=Se.getLabel,De=Se.getTooltipLabel,Ne=Se.getBorderColor,Oe=Se.getLabelColor,Fe=Se.shouldRenderBarLabel,Re=Se.legendsWithData,Ie=Se.barTotals,ze=Se.getColor,Pe=bL(),Be=Pe.showTooltipFromEvent,je=Pe.hideTooltip,Ye=xU({annotations:wU({data:Ae,annotations:X,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)}}})}),$e=(0,s.Kr)((function(){return{borderRadius:W,borderWidth:G,isInteractive:ne,isFocusable:!1,labelSkipWidth:B,labelSkipHeight:Y,margin:_e,width:a,height:l,innerWidth:we,innerHeight:xe,bars:Ae,legendData:Re,enableLabel:I,xScale:Te,yScale:Me,tooltip:ie,getTooltipLabel:De,onClick:oe,onMouseEnter:ae,onMouseLeave:se,getColor:ze}}),[W,G,ne,B,Y,_e,a,l,we,xe,Ae,Re,I,Te,Me,ie,De,oe,ae,se,ze]),qe=az(ee),He=AW(u,null!=(t=null==d?void 0:d.reverse)&&t,T,L);(0,s.vJ)((function(){if(ve.current){ve.current.width=ke*ue,ve.current.height=Ce*ue;var e=ve.current.getContext("2d");e.scale(ue,ue),e.fillStyle=be.background,e.fillRect(0,0,ke,Ce),e.translate(_e.left,_e.top),N.forEach((function(t){"grid"===t?"number"==typeof be.grid.line.strokeWidth&&be.grid.line.strokeWidth>0&&(e.lineWidth=be.grid.line.strokeWidth,e.strokeStyle=be.grid.line.stroke,x&&UB(e,{width:we,height:xe,scale:Te,axis:"x",values:S}),C&&UB(e,{width:we,height:xe,scale:Me,axis:"y",values:A})):"axes"===t?HB(e,{xScale:Te,yScale:Me,width:we,height:xe,top:g,right:m,bottom:b,left:_,theme:be}):"bars"===t?(mz(e,be.text),Ee.forEach((function(t){F(e,fW({bar:t,borderColor:Ne(t),borderRadius:W,borderWidth:G,label:Le(t.data),shouldRenderLabel:Fe(t),labelStyle:fW({},be.labels.text,{fill:Oe(t)})},He(t.width,t.height)))}))):"legends"===t?Re.forEach((function(t){var n=t[0],r=t[1];Ej(e,fW({},n,{data:r,containerWidth:we,containerHeight:xe,theme:be}))})):"annotations"===t?LU(e,{annotations:Ye,theme:be}):"totals"===t&&pe?function(e,t,n,r){void 0===r&&(r=wW.layout),mz(e,n.labels.text),e.textBaseline="vertical"===r?"alphabetic":"middle",e.textAlign="vertical"===r?"center":"start",t.forEach((function(t){vz(e,n.labels.text,t.formattedValue,t.x,t.y)}))}(e,Ie,be,u):"function"==typeof t&&t(e,$e)})),e.save()}}),[b,_,m,g,Ee,W,G,Ye,x,C,Ne,Le,Oe,S,A,c,l,xe,we,$e,N,u,Re,_e.left,_e.top,Ce,ke,ue,F,Te,Me,Fe,be,a,Ie,pe,qe,He]);var Ue=(0,s.hb)((function(e){if(Ae&&ve.current){var t=dz(ve.current,e),n=t[0],r=t[1],i=GW(Ae,_e,n,r);void 0!==i?(Be((0,s.n)(ie,fW({},i.data,{color:i.color,label:i.label,value:Number(i.data.value)})),e),"mouseenter"===e.type&&(null==ae||ae(i.data,e))):je()}}),[je,_e,ae,Ae,Be,ie]),We=(0,s.hb)((function(e){if(Ae&&ve.current){je();var t=dz(ve.current,e),n=t[0],r=t[1],i=GW(Ae,_e,n,r);i&&(null==se||se(i.data,e))}}),[je,_e,se,Ae]),Ve=(0,s.hb)((function(e){if(Ae&&ve.current){var t=dz(ve.current,e),n=t[0],r=t[1],i=GW(Ae,_e,n,r);void 0!==i&&(null==oe||oe(fW({},i.data,{color:i.color}),e))}}),[_e,oe,Ae]);return Wt("canvas",{ref:gz(ve,fe),width:ke*ue,height:Ce*ue,style:{width:ke,height:Ce,cursor:ne?"auto":"normal"},onMouseEnter:ne?Ue:void 0,onMouseMove:ne?Ue:void 0,onMouseLeave:ne?We:void 0,onClick:ne?Ve:void 0,role:de})},ZW=(0,s.Rf)((function(e,t){var n=e.isInteractive,r=e.renderWrapper,i=e.theme,o=hW(e,VW);return Wt(EI,{isInteractive:n,renderWrapper:r,theme:i,animate:!1,children:Wt(KW,fW({},o,{isInteractive:n,forwardedRef:t}))})})),XW=["defaultWidth","defaultHeight","onResize","debounceResize"],JW=(0,s.Rf)((function(e,t){var n=e.defaultWidth,r=e.defaultHeight,i=e.onResize,o=e.debounceResize,a=hW(e,XW);return Wt(LI,{defaultWidth:n,defaultHeight:r,onResize:i,debounceResize:o,children:function(e){var n=e.width,r=e.height;return Wt(WW,fW({},a,{width:n,height:r,ref:t}))}})})),QW=["defaultWidth","defaultHeight","onResize","debounceResize"];(0,s.Rf)((function(e,t){var n=e.defaultWidth,r=e.defaultHeight,i=e.onResize,o=e.debounceResize,a=hW(e,QW);return Wt(LI,{defaultWidth:n,defaultHeight:r,onResize:i,debounceResize:o,children:function(e){var n=e.width,r=e.height;return Wt(ZW,fW({},a,{width:n,height:r,ref:t}))}})}));const eV=e=>{const{data:t,onLegendClick:n}=e;return Wt("div",{className:"styles_legends__LAO35",children:t.map((e=>Wt(eU,{legend:e,onClick:n},e.id)))})},tV=({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=>XH(e[t.id])&&0!==Number(e[t.id])));return Wt(ZH,{label:r(e,t),children:a.map((t=>Wt(eU,{mode:"menu",legend:{...t,value:i({...t,value:e[t.id]})}},t.id)))})},nV=e=>{const{background:t,grid:n}=tL();return Wt("g",{children:[Wt("line",{opacity:"1",x1:"0",x2:e.innerWidth,y1:e.innerHeight,y2:e.innerHeight,stroke:t,strokeWidth:"1"}),Wt("line",{opacity:"1",x1:"0",x2:e.innerWidth,y1:e.innerHeight,y2:e.innerHeight,stroke:n.line.stroke,strokeWidth:"1"})]})},rV=(0,r.q6)(null),iV=e=>{const{children:t}=e,[n,r]=(0,i.J0)(void 0);return Wt(rV.Provider,{value:[n,r],children:t})},oV=e=>{const t=(0,i.li)(null),[n,r]=(0,i.J0)(!1),[o,a]=(0,i.J0)(null),s=(0,i.li)(null),l=(0,i.li)((()=>{})),c=(0,i.hb)((async(n,i)=>{if(!t.current)return;if(s.current===n)return;const o=()=>{if(t.current)return Cf(n,t.current,{middleware:[kf(),wf(6),xf({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 o(),s.current=n,r(!0),a(i),l.current=_f(n,t.current,o)}),[e]),u=(0,i.hb)((e=>{s.current===e&&(l.current(),s.current=null,r(!1),a(null))}),[]);return{tooltipRef:t,isVisible:n,handleShowTooltip:c,handleHideTooltip:u,data:o}},aV={s:16,m:24,l:32},sV=(e,t)=>Math.min(e,aV[t]),lV=e=>{const{isInteractive:t,isFocusable:n,innerHeight:i,innerWidth:o,tooltip:a,indexBy:s,layout:l="vertical",bars:c,hasValueFn:u=t=>Object.entries(t).filter((([t])=>t!==e.indexBy)).reduce(((e,[,t])=>e+Hh.toNumber(t??0)),0)>0}=e,d="horizontal"===l,{handleShowTooltip:f,isVisible:h,handleHideTooltip:p,tooltipRef:g,data:m}=oV(d?"bottom":"left"),{animate:v,config:b}=CI(),{opacity:y}=cC({opacity:h?1:0,config:{...b,duration:75},immediate:!v});if(!t)return null;const _=Math.max(...c.map((e=>e.data.index+1))),w=c.slice(0,_);if(w.length<=0)return null;const[x,k]=w;if(!x)return null;const C=k?.x?k.x-x.x:x.width,S=C-x.width,A=k?.y?x.y-k.y:x.height,E=A-x.height;return Wt(UH.g,{"data-testid":"hover-layer",children:[w.map(((e,r)=>{const a=e.x-S/2,l=e.y-E/2;return u(e.data.data)?Wt(cV,{x:d?0:a,y:d?l:0,width:d?o:C,height:d?A:i,value:e.data.data,indexBy:s,isInteractive:t,isFocusable:n,onTooltipShow:f,onTooltipHide:p},r):null})),Vf(Wt(UH.div,{ref:g,style:{display:y?"block":"none",opacity:y},children:h&&m&&(0,r.n)(a,{value:m})}),document.body)]})},cV=({x:e,y:t,width:n,height:r,value:o,isInteractive:a=!0,isFocusable:s=!0,indexBy:l,onTooltipShow:c,onTooltipHide:u})=>{const[d,f]=(()=>{const e=(0,i.NT)(rV);if(!e)throw new Error("useBarChartState must be used within a BarChartStateProvider");return e})(),{animate:h,config:p}=CI(),g=o[l],m=d===String(g),{fill:v}=cC({from:{fill:"#ffffff00"},to:{fill:"var(--color-control-bg-ghost-hover)"},config:{...p,duration:150},reverse:!m,immediate:!h}),b=(0,i.hb)((e=>{c(e.target,o)}),[c,o]),y=(0,i.hb)((e=>{c(e.target,o),f(String(g))}),[c,o,f,g]),_=(0,i.hb)((e=>{u(e.target),f(void 0)}),[u,f]),w=(0,i.hb)((e=>{c(e.target,o),f(String(g))}),[c,o,f,g]),x=(0,i.hb)((e=>{u(e.target),f(void 0)}),[u,f]);return Wt(UH.rect,{x:e,y:t,"data-testid":"hover-rect",width:n,height:r,fill:v,onMouseMove:a?b:void 0,onMouseEnter:a?y:void 0,onMouseLeave:a?_:void 0,onFocus:a&&s?w:void 0,onBlur:a&&s?x:void 0})},uV=(0,r.q6)(null),dV=()=>{const e=(0,i.NT)(uV);if(!e)throw new Error("useBarContext must be used within a BarContext");return e},fV=e=>{const{bars:t,indexBy:n,layout:r="vertical",barSize:o,groupMode:a="stacked"}=e,s=(0,i.Kr)((()=>(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:a})),[t,n,r,a]),l=Math.min(...s.map((e=>e.y))),c=Math.min(...s.map((e=>e.x)));return Wt(uV.Provider,{value:{barSize:o,layout:r,groupMode:a},children:Wt(UH.g,{"data-testid":"bars",pointerEvents:"none",children:s.map((e=>Wt(hV,{group:e,offsetY:l,offsetX:c},e.id)))})})},hV=e=>{const{group:t}=e,{barSize:n,layout:r}=dV(),{animate:o,config:a}=CI(),s=(0,i.Bi)(),l="horizontal"===r,c=sV(t.height,n),u=sV(t.width,n),d=t.width-u,f=t.height-c,h=l?t.x:t.x+d/2,p=l?t.y+f/2:t.y,g=l?t.width:u,m=l?c:t.height,v=(b=l?c:u)<=4?0:b<=aV.s/3?1:b<=aV.s/2?1.5:b<aV.s?2:b>=aV.s&&b<aV.m?4:b>=aV.m?6:0;var b;const{transform:y}=cC({transform:`translate(${h}, ${p})`,config:a,immediate:!o}),_=(0,i.Kr)((()=>{const e=t.bars.filter((e=>e.width>0&&e.height>0));return"horizontal"===r?e.sort(((e,t)=>e.x-t.x)):e.sort(((e,t)=>e.y-t.y))}),[t.bars,r]),w="horizontal"===r?g<2*v:m<2*v;return Wt(UH.g,{clipPath:w?void 0:`url(#clip-${s})`,transform:y,"data-testid":"group","data-id":t.id,children:[!w&&Wt("defs",{children:Wt("clipPath",{id:`clip-${s}`,children:Wt(UH.rect,{x:0,y:0,width:g,height:m,rx:v,ry:v})})}),_.map(((e,t)=>Wt(pV,{id:e.data.id,x:l?e.x-h:0,y:l?0:e.y-p,width:l?e.width:g,height:l?m:e.height,fill:e.color,isFirst:0===t,isLast:t===_.length-1},e.data.id)))]})},pV=e=>{const{isFirst:t,isLast:n,id:r,...i}=e,{layout:o}=dV(),{animate:a,config:s}=CI(),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=cC({x:h,y:p,width:d,height:f,config:s,immediate:!a});return Wt(UH.rect,{...g,fill:i.fill,"data-testid":"bar","data-id":r})};function gV(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 mV=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;gV(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 gV(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)),vV=el().x((e=>e[0])).y((e=>e[1])),bV=e=>{const{legend:t,indexBy:n,bars:r,innerHeight:o,innerWidth:a,formatValue:s=e=>Hh.toNumber(e)}=e,l=(0,i.Kr)((()=>t.filter((e=>"point"===e.type)).map((e=>e.id))),[t]),c=(0,i.Bi)(),u=(0,i.Kr)((()=>t.filter((e=>"point"===e.type)).reduce(((e,t)=>(e[t.id]=t.color,e)),{})),[t]),d=(0,i.Kr)((()=>(e=>{const t=Math.max(...e.map((e=>e.data.index+1)));return e.slice(0,t)})(r)),[r]),f=(0,i.Kr)((()=>wB(l.map((e=>({id:e,data:d.map((t=>{const r=s(Hh.toNumber(t.data.data[e]??0),e);return void 0===r?null:{x:Hh.toNumber(t.data.data[n]??0),y:r}})).filter((e=>null!==e))}))),{type:"linear"},{type:"linear",nice:!0,min:0,max:100},a,o)),[l,d,n,s,a,o]),h=(0,i.Kr)((()=>l.map((e=>{if(d.length<2)return null;const t=u[e]??"",n=d.map((t=>{const n=s(Hh.toNumber(t.data.data[e]??0),e);return void 0===n?null:{x:Hh.toNumber(t.x+t.width/2),y:Hh.toNumber(f.yScale(n)??0),id:t.key,value:n}})).filter((e=>null!==e));if(d.length===n.length)return{trendKey:e,color:t,points:n};if(n.length<2)return null;const r=mV(n),i=d.map((t=>{const n=s(Hh.toNumber(t.data.data[e]??0),e),i=Hh.toNumber(t.x+t.width/2);let o=r.predict(i);return void 0!==n&&(o=Hh.toNumber(f.yScale(n)??0)),{x:i,y:o,id:t.key,value:n}}));return{trendKey:e,color:t,points:i}})).filter((e=>null!==e))),[l,d,s,f,u]);return 0===l.length||0===h.length?null:Wt(UH.g,{"data-testid":"trend-lines-layer",pointerEvents:"none",clipPath:`url(#${c})`,children:[Wt("defs",{children:Wt("clipPath",{id:c,children:Wt("rect",{x:-5,y:-5,width:a+5,height:o+5})})}),h.map((({trendKey:e,points:t,color:n})=>Wt(UH.g,{"data-testid":"trend-line-group","data-trend-key":e,children:[Wt(yV,{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})=>Wt(_V,{x:e,y:t,color:n},r)))]},e)))]})},yV=e=>{const{points:t,color:n}=e,{animate:r,config:o}=CI(),a=(0,i.Kr)((()=>0===t.length||t.length<2?[]:mV(t)),[t]),{d:s}=cC({d:vV(a)??void 0,config:o,immediate:!r});return 0===t.length||t.length<2||0===a.length?null:Wt(UH.path,{d:s,"data-testid":"trend-line",fill:"none",stroke:n,strokeWidth:2,strokeLinecap:"round",pointerEvents:"none",strokeDasharray:"4"})},_V=e=>{const{x:t,y:n,color:r}=e,{animate:i,config:o}=CI(),{cx:a,cy:s}=cC({cx:t,cy:n,config:o,immediate:!i});return Wt(UH.circle,{"data-testid":"trend-line-point",cx:a,cy:s,r:3,strokeWidth:2,fill:"white",stroke:r,pointerEvents:"none"})},wV=({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=>Hh.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 xV=e=>{const{data:t,legend:n,indexBy:r,renderBottomTick:o,onBarClick:a,padding:s=.5,formatLegendValue:l,formatIndexBy:c,hasValueFn:u,currentLocale:d="en-US",formatBottomTick:f=e=>e,formatLeftTick:h=e=>JH(e,d),bottomTickRotation:p=0,noLegend:g=!1,minValue:m,maxValue:v,groupMode:b="stacked",bottomTickSize:y=12,markers:_=[],colors:w,leftAxisTickValues:x,layout:k="vertical",formatTrendValue:C}=e,S=(0,i.Kr)((()=>new Map(n.map((e=>[e.id,e])))),[n]),A=(0,i.Kr)((()=>n.filter((e=>"point"!==e.type&&"tree"!==e.type)).map((e=>e.id))),[n]),E=(0,i.Kr)((()=>((e,t)=>e.every((e=>Object.keys(e).filter((e=>e!==t)).every((t=>0===e[t])))))(t,r)),[t,r]),T=(0,i.Kr)((()=>t.length>=8?"s":t.length>=6?"m":"l"),[t]),M="horizontal"===k;return Wt("div",{className:"styles_container__nVJhv",children:[Wt("div",{className:"styles_barContainer__DTIpd",children:Wt(iV,{children:Wt(JW,{data:t,theme:LH,groupMode:b,layout:k,defaultHeight:275,keys:A,indexBy:r,margin:{top:10,right:20,bottom:p>0?60:40,left:wV({data:t,layout:k,keys:A,indexBy:r,stacked:!0,position:"left",formatLeftTick:h,formatBottomTick:f})},padding:s,innerPadding:0,valueScale:{type:"linear",nice:!0,min:m,max:v},indexScale:{type:"band",round:!0},layers:["grid","axes",nV,e=>Wt(fV,{...e,indexBy:r,layout:k,legend:n,barSize:T,groupMode:b}),e=>Wt(bV,{...e,legend:n,indexBy:r,formatValue:C}),"markers",e=>Wt(lV,{...e,hasValueFn:u,indexBy:r,layout:k,tooltip:({value:e})=>Wt(tV,{allowZeroValues:!0,value:e,indexBy:r,legend:n,formatLegendValue:l,formatIndexBy:c})})],markers:_,colors:"function"==typeof w?w:e=>S.get(e.id)?.color??"var(--color-bg-secondary)",enableLabel:!1,enableTotals:!1,axisTop:null,axisRight:null,axisBottom:{tickSize:0,tickPadding:5,tickRotation:p,truncateTickAt:0,renderTick:o,style:{ticks:{text:{fontSize:y}}},format:M?h:e=>f(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?f?e=>f(e,t.find((t=>t[r]===e))):void 0:h,tickValues:x},animate:!EH,motionConfig:AH,onClick:a})})}),!E&&!g&&Wt(eV,{data:n})]})},kV=(e,t)=>e>=t,CV=e=>e>=91?"bottom-right":"top-right",SV=e=>{const{title:t,data:n,i18n:r,keys:o,threshold:a=90}=e,s=(0,i.Kr)((()=>Hh.take(n,15).map((({id:e,stabilityRate:t})=>({id:e,stabilityRate:t,[e]:t})))),[n]),l=r("legend.stabilityRate"),c=(e=>e>=100?100:e<=0?0:e)(a),u=(0,i.Kr)((()=>s.map((({id:e,stabilityRate:t})=>({id:e,label:l,color:kV(t,c)?"var(--color-intent-success-bg-active)":"var(--color-intent-danger-bg-active)",value:t,[e]:t})))),[s,l,c]),d=0===s.length;return Wt(jb,d?{title:t,children:Wt(gh,{title:r("no-results"),icon:Vt.lineChartsBarChartSquare})}:{title:t,children:Wt(xV,{markers:[{axis:"y",value:a,legend:`${a}%`,textStyle:{fill:LH.markers?.text?.fill,fontSize:LH.markers?.text?.fontSize,fontWeight:LH.markers?.text?.fontWeight},lineStyle:{stroke:LH.markers?.lineColor,strokeWidth:LH.markers?.lineStrokeWidth},legendPosition:CV(c),legendOffsetY:10,legendOffsetX:7}],groupMode:"stacked",data:s,legend:u,indexBy:"id",hasValueFn:()=>!0,formatIndexBy:e=>o[e.id],formatBottomTick:(e,t)=>Hh.truncate(o[t.id],{length:15}),bottomTickSize:s.length>4?10:12,formatLegendValue:({value:e})=>{if(void 0!==e)return`${e}%`},noLegend:!0,formatLeftTick:e=>`${e}%`,maxValue:100,leftAxisTickValues:[0,10,20,30,40,50,60,70,80,90,100],bottomTickRotation:45,colors:e=>((e,t)=>{if(e>=t)return"var(--color-intent-success-bg-active)";const n=t>20?t-5:void 0;return n&&e>=n?"var(--color-intent-warning-bg-active)":"var(--color-intent-danger-bg-active)"})(e.data.stabilityRate,c)})})},AV=e=>e.startsWith("new:"),EV=e=>e.startsWith("removed:"),TV=e=>{const{title:t,data:n,i18n:r,statuses:o}=e,a=n.find((e=>"current"===e.id)),s=(0,i.Kr)((()=>{const e=[];for(const t of o)e.push(`new:${t}`);for(const t of o)e.push(`removed:${t}`);return e}),[o]),l=(0,i.Kr)((()=>[...s.map((e=>{const t=e.replace(":",""),n=e.replace("new:","").replace("removed:","");return{id:e,label:r(`status.${t}`),color:HY(n,"chartFill"),value:AV(e)?1:-1}})),{id:"trend",label:r("legend.trend"),color:"var(--color-chart-categorical-9)",type:"point"}]),[s,r]),c=Math.ceil(1.01*Math.max(...n.map((e=>{const t=Math.abs(s.filter((e=>EV(e))).reduce(((t,n)=>t+(e[n]??0)),0)),n=Math.abs(s.filter((e=>AV(e))).reduce(((t,n)=>t+(e[n]??0)),0));return Math.max(n,t)})))),u=(0,i.Kr)((()=>n.map((e=>{const t=2*c,n=((e,t)=>t.reduce(((t,n)=>(AV(n)&&(t[n]=e[n]??0),EV(n)&&(t[n]=-(e[n]??0)),t)),{}))(e,s),r=Math.abs(s.filter((e=>EV(e))).reduce(((e,t)=>e+(n[t]??0)),0)),i=Math.abs(s.filter((e=>AV(e))).reduce(((e,t)=>e+(n[t]??0)),0)),o=UY({positiveValue:i,negativeValue:r,absTotal:t,noValuePercentage:-1});return{id:e.id,timestamp:e.timestamp,...n,trend:o}}))),[n,s,c]),d=u.every((e=>s.every((t=>0===e[t])))),f=u.filter((e=>"current"!==e.id)).every((e=>s.every((t=>0===e[t]))));return!a||d?Wt(jb,{title:t,children:Wt(gh,{title:r("no-results"),icon:Vt.lineChartsBarChartSquare})}):1===n.length&&a||f?Wt(jb,{title:t,children:Wt(gh,{title:r("no-history"),icon:Vt.lineChartsBarChartSquare})}):Wt(jb,{title:t,children:Wt(xV,{groupMode:"stacked",data:u,legend:l,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=u.find((t=>t.id===e));return t?r("ticks.history",{timestamp:t?.timestamp}):""},bottomTickRotation:45,formatLegendValue:({value:e,id:t})=>"trend"===t?"":e?JH(Math.abs(Number(e))):"-",noLegend:!0,formatLeftTick:e=>{const t=Math.abs(Number(e));return Number.isInteger(t)?JH(Math.abs(Number(e))):""},minValue:-c,maxValue:c,formatTrendValue:e=>{if(-1!==e)return e}})})},MV=e=>"skipped"===e||"unknown"===e,LV=e=>"failed"===e||"broken"===e,DV=(e,t)=>t.reduce(((t,n)=>(MV(n)&&(t[n]=e[n]??0),LV(n)&&(t[n]=-(e[n]??0)),t)),{}),NV=e=>{const{title:t,data:n,i18n:r,statuses:o}=e,a=n.find((e=>"current"===e.id)),s=(0,i.Kr)((()=>o.map((e=>({id:e,label:r(`status.${e}`),color:HY(e,"chartFill"),value:MV(e)?1:-1})))),[o,r]),l=(0,i.Kr)((()=>n.map((e=>({id:e.id,timestamp:e.timestamp,...DV(e,o)})))),[n,o]),c=l.every((e=>o.every((t=>0===e[t])))),u=l.filter((e=>"current"!==e.id)).every((e=>o.every((t=>0===e[t]))));if(!a||c)return Wt(jb,{title:t,children:Wt(gh,{title:r("no-results"),icon:Vt.lineChartsBarChartSquare})});if(1===n.length&&a||u)return Wt(jb,{title:t,children:Wt(gh,{title:r("no-history"),icon:Vt.lineChartsBarChartSquare})});const d=Math.max(...l.map((e=>{const t=Math.abs(o.filter((e=>LV(e))).reduce(((t,n)=>t+(e[n]??0)),0)),n=Math.abs(o.filter((e=>MV(e))).reduce(((t,n)=>t+(e[n]??0)),0));return Math.max(t,n)}))),f=Math.ceil(1.01*d);return Wt(jb,{title:t,children:Wt(xV,{groupMode:"stacked",layout:"horizontal",data:l,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 Hh.truncate(r("ticks.current"),{length:15});const t=l.find((t=>t.id===e));return t?Hh.truncate(r("ticks.history",{timestamp:t?.timestamp}),{length:15}):""},bottomTickSize:10,formatLegendValue:({value:e})=>e?JH(Math.abs(Number(e))):"-",noLegend:!0,formatLeftTick:e=>{const t=Math.abs(Number(e));return Number.isInteger(t)?JH(Math.abs(Number(e))):""},minValue:-f,maxValue:f})})};function OV(){return OV=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},OV.apply(null,arguments)}function FV(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 RV={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"},IV=function(e){var t=e.part;return Wt(lL,{id:t.data.label,value:t.formattedValue,color:t.color,enableChip:!0})},zV=function(e){var t,n,r=e.data,i=e.width,o=e.height,a=e.direction,u=void 0===a?RV.direction:a,d=e.interpolation,f=void 0===d?RV.interpolation:d,h=e.spacing,p=void 0===h?RV.spacing:h,g=e.shapeBlending,m=void 0===g?RV.shapeBlending:g,v=e.valueFormat,b=e.colors,y=void 0===b?RV.colors:b,_=e.size,w=void 0===_?RV.size:_,x=e.fillOpacity,k=void 0===x?RV.fillOpacity:x,C=e.borderWidth,S=void 0===C?RV.borderWidth:C,A=e.borderColor,E=void 0===A?RV.borderColor:A,T=e.borderOpacity,M=void 0===T?RV.borderOpacity:T,L=e.labelColor,D=void 0===L?RV.labelColor:L,N=e.enableBeforeSeparators,O=void 0===N?RV.enableBeforeSeparators:N,F=e.beforeSeparatorLength,R=void 0===F?RV.beforeSeparatorLength:F,I=e.beforeSeparatorOffset,z=void 0===I?RV.beforeSeparatorOffset:I,P=e.enableAfterSeparators,B=void 0===P?RV.enableAfterSeparators:P,j=e.afterSeparatorLength,Y=void 0===j?RV.afterSeparatorLength:j,$=e.afterSeparatorOffset,q=void 0===$?RV.afterSeparatorOffset:$,H=e.isInteractive,U=void 0===H?RV.isInteractive:H,W=e.currentPartSizeExtension,V=void 0===W?RV.currentPartSizeExtension:W,G=e.currentBorderWidth,K=e.onMouseEnter,Z=e.onMouseMove,X=e.onMouseLeave,J=e.onClick,Q=e.tooltip,ee=tL(),te=lj(y,"id"),ne=oj(E,ee),re=oj(D,ee),ie=az(v),oe=(0,s.Kr)((function(){return function(e,t){var n=tl();return"vertical"===t?n.curve("smooth"===e?ll:Xs).x0((function(e){return e.x0})).x1((function(e){return e.x1})).y((function(e){return e.y})):n.curve("smooth"===e?ll:Xs).y0((function(e){return e.y0})).y1((function(e){return e.y1})).x((function(e){return e.x})),[n,el().defined((function(e){return null!==e})).x((function(e){return e.x})).y((function(e){return e.y})).curve("smooth"===e?ll:Xs)]}(f,u)}),[f,u]),ae=oe[0],se=oe[1],le=O?R+z:0,ce=B?Y+q:0;"vertical"===u?(t=i-le-ce,n=o):(t=i,n=o-le-ce);var ue=(0,s.Kr)((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,$i().domain([0,Math.max.apply(Math,c)]).range([0,n])]}({data:r,direction:u,width:t,height:n,spacing:p})}),[r,u,t,n,p]),de=ue[0],fe=function(e,t){return(0,s.Kr)((function(){return function(e,t){if("function"==typeof e)return e;if(Array.isArray(e)){var n=pi(e);return function(e){return Number(n(String(e.id)))}}if(l(e)){if(function(e){return void 0!==e.datum}(e))return function(t){var n=c(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])}(w,ue[1]),he=(0,s.J0)(null),pe=he[0],ge=he[1],me=(0,s.Kr)((function(){var e=r.map((function(e,r){var i,o,a,s,l=e.id===pe,c=fe(e);"vertical"===u?(i=c,o=de.bandwidth,s=le+.5*(t-i),a=de(r)):(i=de.bandwidth,o=c,s=de(r),a=le+.5*(n-o));var d=s+i,f=s+.5*i,h=a+o,p=a+.5*o,g={data:e,width:i,height:o,color:te(e),fillOpacity:k,borderWidth:l&&void 0!==G?G:S,borderOpacity:M,formattedValue:ie(e.value),isCurrent:l,x:f,x0:s,x1:d,y:p,y0:a,y1:h,borderColor:"",labelColor:"",points:[],areaPoints:[],borderPoints:[]};return g.borderColor=ne(g),g.labelColor=re(g),g})),i=m/2;return e.forEach((function(t,n){var r=e[n+1];if("vertical"===u){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-=V,t.points[1].x+=V,t.points[2].x+=V,t.points[3].x-=V),t.areaPoints=[{x:0,x0:t.points[0].x,x1:t.points[1].x,y:t.y0,y0:0,y1:0}],t.areaPoints.push(OV({},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(OV({},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-=V,t.points[1].y-=V,t.points[2].y+=V,t.points[3].y+=V),t.areaPoints=[{x:t.x0,x0:0,x1:0,y:0,y0:t.points[0].y,y1:t.points[3].y}],t.areaPoints.push(OV({},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(OV({},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,u,de,t,n,le,m,te,ie,ne,re,pe,M,S,G,V,k,fe]),ve=bL(),be=ve.showTooltipFromEvent,ye=ve.hideTooltip,_e=(0,s.Kr)((function(){return function(e){var t=e.parts,n=e.setCurrentPartId,r=e.onMouseEnter,i=e.onMouseLeave,o=e.onMouseMove,a=e.onClick,l=e.showTooltipFromEvent,c=e.hideTooltip,u=e.tooltip,d=void 0===u?IV:u;return e.isInteractive?t.map((function(e){return OV({},e,{onMouseEnter:function(t){n(e.data.id),l((0,s.n)(d,{part:e}),t),null==r||r(e,t)},onMouseLeave:function(t){n(null),c(),null==i||i(e,t)},onMouseMove:function(t){l((0,s.n)(d,{part:e}),t),null==o||o(e,t)},onClick:void 0!==a?function(t){a(e,t)}:void 0})})):t}({parts:me,setCurrentPartId:ge,isInteractive:U,onMouseEnter:K,onMouseLeave:X,onMouseMove:Z,onClick:J,showTooltipFromEvent:be,hideTooltip:ye,tooltip:Q})}),[me,ge,U,K,X,Z,J,be,ye,Q]),we=(0,s.Kr)((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(OV({},u[u.length-1],{partId:"none",y0:h,y1:h})),l&&d.push(OV({},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(OV({},u[u.length-1],{partId:"none",x0:p,x1:p})),d.push(OV({},d[d.length-1],{partId:"none",x0:p,x1:p}))}return[u,d]}({parts:me,direction:u,width:i,height:o,spacing:p,enableBeforeSeparators:O,beforeSeparatorOffset:z,enableAfterSeparators:B,afterSeparatorOffset:q})}),[me,u,i,o,p,O,z,B,q]),xe=we[0],ke=we[1],Ce=(0,s.Kr)((function(){return{width:i,height:o,parts:_e,areaGenerator:ae,borderGenerator:se,beforeSeparators:xe,afterSeparators:ke,setCurrentPartId:ge}}),[i,o,_e,ae,se,xe,ke,ge]);return{parts:_e,areaGenerator:ae,borderGenerator:se,beforeSeparators:xe,afterSeparators:ke,setCurrentPartId:ge,currentPartId:pe,customLayerProps:Ce}},PV=function(e){var t=e.part,n=e.areaGenerator,i=e.borderGenerator,o=CI(),a=o.animate,s=o.config,l=JI(n(t.areaPoints)),c=JI(i(t.borderPoints)),u=cC({areaColor:t.color,borderWidth:t.borderWidth,borderColor:t.borderColor,config:s,immediate:!a});return Wt(r.FK,{children:[t.borderWidth>0&&Wt(_A.path,{d:c,stroke:u.borderColor,strokeWidth:u.borderWidth,strokeOpacity:t.borderOpacity,fill:"none"}),Wt(_A.path,{d:l,fill:u.areaColor,fillOpacity:t.fillOpacity,onMouseEnter:t.onMouseEnter,onMouseLeave:t.onMouseLeave,onMouseMove:t.onMouseMove,onClick:t.onClick})]})},BV=function(e){var t=e.parts,n=e.areaGenerator,i=e.borderGenerator;return Wt(r.FK,{children:t.map((function(e){return Wt(PV,{part:e,areaGenerator:n,borderGenerator:i},e.data.id)}))})},jV=function(e){var t=e.part,n=tL(),r=CI(),i=r.animate,o=r.config,a=cC({transform:"translate("+t.x+", "+t.y+")",color:t.labelColor,config:o,immediate:!i});return Wt(_A.g,{transform:a.transform,children:Wt(Lz,{textAnchor:"middle",dominantBaseline:"central",style:OV({},n.labels.text,{fill:a.color,pointerEvents:"none"}),children:t.formattedValue})})},YV=function(e){var t=e.parts;return Wt(r.FK,{children:t.map((function(e){return Wt(jV,{part:e},e.data.id)}))})},$V=function(e){var t=e.separator,n=tL(),r=CI(),i=r.animate,o=r.config,a=cC({x1:t.x0,x2:t.x1,y1:t.y0,y2:t.y1,config:o,immediate:!i});return Wt(_A.line,OV({x1:a.x1,x2:a.x2,y1:a.y1,y2:a.y2,fill:"none"},n.grid.line))},qV=function(e){var t=e.beforeSeparators,n=e.afterSeparators;return Wt(r.FK,{children:[t.map((function(e){return Wt($V,{separator:e},e.partId)})),n.map((function(e){return Wt($V,{separator:e},e.partId)}))]})},HV=function(e){var t=function(e,t){return wU({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 Wt(r.FK,{children:t.map((function(e,t){return Wt(TU,OV({},e),t)}))})},UV=["isInteractive","animate","motionConfig","theme","renderWrapper"],WV=function(e){var t=e.data,n=e.width,r=e.height,i=e.margin,o=e.direction,a=void 0===o?RV.direction:o,l=e.interpolation,c=void 0===l?RV.interpolation:l,u=e.spacing,d=void 0===u?RV.spacing:u,f=e.shapeBlending,h=void 0===f?RV.shapeBlending:f,p=e.valueFormat,g=e.colors,m=void 0===g?RV.colors:g,v=e.size,b=void 0===v?RV.size:v,y=e.fillOpacity,_=void 0===y?RV.fillOpacity:y,w=e.borderWidth,x=void 0===w?RV.borderWidth:w,k=e.borderColor,C=void 0===k?RV.borderColor:k,S=e.borderOpacity,A=void 0===S?RV.borderOpacity:S,E=e.enableLabel,T=void 0===E?RV.enableLabel:E,M=e.labelColor,L=void 0===M?RV.labelColor:M,D=e.enableBeforeSeparators,N=void 0===D?RV.enableBeforeSeparators:D,O=e.beforeSeparatorLength,F=void 0===O?RV.beforeSeparatorLength:O,R=e.beforeSeparatorOffset,I=void 0===R?RV.beforeSeparatorOffset:R,z=e.enableAfterSeparators,P=void 0===z?RV.enableAfterSeparators:z,B=e.afterSeparatorLength,j=void 0===B?RV.afterSeparatorLength:B,Y=e.afterSeparatorOffset,$=void 0===Y?RV.afterSeparatorOffset:Y,q=e.layers,H=void 0===q?RV.layers:q,U=e.annotations,W=void 0===U?RV.annotations:U,V=e.isInteractive,G=void 0===V?RV.isInteractive:V,K=e.currentPartSizeExtension,Z=void 0===K?RV.currentPartSizeExtension:K,X=e.currentBorderWidth,J=e.onMouseEnter,Q=e.onMouseMove,ee=e.onMouseLeave,te=e.onClick,ne=e.tooltip,re=e.role,ie=void 0===re?RV.role:re,oe=e.ariaLabel,ae=e.ariaLabelledBy,se=e.ariaDescribedBy,le=e.forwardedRef,ce=rz(n,r,i),ue=ce.margin,de=ce.innerWidth,fe=ce.innerHeight,he=ce.outerWidth,pe=ce.outerHeight,ge=zV({data:t,width:de,height:fe,direction:a,interpolation:c,spacing:d,shapeBlending:h,valueFormat:p,colors:m,size:b,fillOpacity:_,borderWidth:x,borderColor:C,borderOpacity:A,labelColor:L,enableBeforeSeparators:N,beforeSeparatorLength:F,beforeSeparatorOffset:I,enableAfterSeparators:P,afterSeparatorLength:j,afterSeparatorOffset:$,isInteractive:G,currentPartSizeExtension:Z,currentBorderWidth:X,onMouseEnter:J,onMouseMove:Q,onMouseLeave:ee,onClick:te,tooltip:ne}),me=ge.areaGenerator,ve=ge.borderGenerator,be=ge.parts,ye=ge.beforeSeparators,_e=ge.afterSeparators,we=ge.customLayerProps,xe={separators:null,parts:null,annotations:null,labels:null};return H.includes("separators")&&(xe.separators=Wt(qV,{beforeSeparators:ye,afterSeparators:_e},"separators")),H.includes("parts")&&(xe.parts=Wt(BV,{parts:be,areaGenerator:me,borderGenerator:ve},"parts")),null!=H&&H.includes("annotations")&&(xe.annotations=Wt(HV,{parts:be,annotations:W},"annotations")),H.includes("labels")&&T&&(xe.labels=Wt(YV,{parts:be},"labels")),Wt(VI,{width:he,height:pe,margin:ue,role:ie,ariaLabel:oe,ariaLabelledBy:ae,ariaDescribedBy:se,ref:le,children:H.map((function(e,t){var n;return"function"==typeof e?Wt(s.FK,{children:(0,s.n)(e,we)},t):null!=(n=null==xe?void 0:xe[e])?n:null}))})},VV=(0,s.Rf)((function(e,t){var n=e.isInteractive,r=void 0===n?RV.isInteractive:n,i=e.animate,o=void 0===i?RV.animate:i,a=e.motionConfig,s=void 0===a?RV.motionConfig:a,l=e.theme,c=e.renderWrapper,u=FV(e,UV);return Wt(EI,{animate:o,isInteractive:r,motionConfig:s,renderWrapper:c,theme:l,children:Wt(WV,OV({isInteractive:r},u,{forwardedRef:t}))})})),GV=["defaultWidth","defaultHeight","onResize","debounceResize"],KV=(0,s.Rf)((function(e,t){var n=e.defaultWidth,r=e.defaultHeight,i=e.onResize,o=e.debounceResize,a=FV(e,GV);return Wt(LI,{defaultWidth:n,defaultHeight:r,onResize:i,debounceResize:o,children:function(e){var n=e.width,r=e.height;return Wt(VV,OV({width:n,height:r},a,{ref:t}))}})}));const ZV={background:"var(--color-bg-primary)",axis:{ticks:{text:{fill:"var(--color-text-secondary)"}},legend:{text:{fill:"var(--color-text-primary)"}}},grid:{line:{stroke:"var(--color-border-default)"}},legends:{text:{fill:"var(--color-text-secondary)"}},tooltip:{container:{background:"var(--color-bg-raised)",color:"var(--color-text-primary)"}},text:{fill:"var(--color-text-primary)"}},XV=e=>{const t=tL(),{animate:n,config:r}=CI(),i=cC({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"),Wt(UH.g,{transform:i.transform,children:Wt(Lz,{style:{...t.labels.text,pointerEvents:"none"},lineHeight:1.2,children:o.map(((e,t)=>Wt(UH.tspan,{x:0,dy:0===t?0:"1.2em",children:e},t)))},e.data.id)})},JV=e=>{const{parts:t}=e;return t.map((e=>Wt(XV,{...e},e.data.id)))},QV=e=>{const{data:t,title:n,translations:r,height:o=400,width:a="100%"}=e,s=r["no-results"],l=(0,i.Kr)((()=>[...t].reverse().map((e=>({id:e.layer,value:e.testCount,label:e.layer,successRate:e.successRate,percentage:e.percentage,layer:e.layer,color:e.testCount>0?"var(--color-intent-primary-bg)":"var(--color-status-skipped-chart-fill)"})))),[t]);return t&&0!==t.length?Wt(jb,{title:n,children:Wt("div",{role:"img",tabIndex:0,style:{width:a,height:o},children:Wt(KV,{data:l,theme:ZV,enableLabel:!1,layers:["separators","parts","labels","annotations",JV],interpolation:"linear",spacing:5,shapeBlending:0,borderWidth:0,colors:e=>e.color,labelColor:{theme:"background"},enableAfterSeparators:!1})})}):Wt(jb,{title:n,children:Wt(qY,{label:s,width:a,height:o,ariaLabel:s})})};function eG(){return eG=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},eG.apply(null,arguments)}var tG={pointerEvents:"none"},nG=function(e){var t=e.label,n=e.style,r=tL();return Wt(_A.g,{transform:n.transform,opacity:n.progress,style:tG,children:Wt(Lz,{textAnchor:"middle",dominantBaseline:"central",style:eG({},r.labels.text,{fill:n.textColor}),children:t})})},rG=function(e){var t=e%(2*Math.PI);return t<0&&(t+=2*Math.PI),t},iG=function(e,t){return e.filter((function(e){return Math.abs(PI(e.arc.endAngle-e.arc.startAngle))>=t}))},oG={startAngle:{enter:function(e){return eG({},e,{endAngle:e.startAngle})},update:function(e){return e},leave:function(e){return eG({},e,{startAngle:e.endAngle})}},middleAngle:{enter:function(e){var t=e.startAngle+(e.endAngle-e.startAngle)/2;return eG({},e,{startAngle:t,endAngle:t})},update:function(e){return e},leave:function(e){var t=e.startAngle+(e.endAngle-e.startAngle)/2;return eG({},e,{startAngle:t,endAngle:t})}},endAngle:{enter:function(e){return eG({},e,{startAngle:e.endAngle})},update:function(e){return e},leave:function(e){return eG({},e,{endAngle:e.startAngle})}},innerRadius:{enter:function(e){return eG({},e,{outerRadius:e.innerRadius})},update:function(e){return e},leave:function(e){return eG({},e,{innerRadius:e.outerRadius})}},centerRadius:{enter:function(e){var t=e.innerRadius+(e.outerRadius-e.innerRadius)/2;return eG({},e,{innerRadius:t,outerRadius:t})},update:function(e){return e},leave:function(e){var t=e.innerRadius+(e.outerRadius-e.innerRadius)/2;return eG({},e,{innerRadius:t,outerRadius:t})}},outerRadius:{enter:function(e){return eG({},e,{innerRadius:e.outerRadius})},update:function(e){return e},leave:function(e){return eG({},e,{outerRadius:e.innerRadius})}},pushIn:{enter:function(e){return eG({},e,{innerRadius:e.innerRadius-e.outerRadius+e.innerRadius,outerRadius:e.innerRadius})},update:function(e){return e},leave:function(e){return eG({},e,{innerRadius:e.outerRadius,outerRadius:e.outerRadius+e.outerRadius-e.innerRadius})}},pushOut:{enter:function(e){return eG({},e,{innerRadius:e.outerRadius,outerRadius:e.outerRadius+e.outerRadius-e.innerRadius})},update:function(e){return e},leave:function(e){return eG({},e,{innerRadius:e.innerRadius-e.outerRadius+e.innerRadius,outerRadius:e.innerRadius})}}},aG=function(e,t){return(0,s.Kr)((function(){var n=oG[e];return{enter:function(e){return eG({progress:0},n.enter(e.arc),t?t.enter(e):{})},update:function(e){return eG({progress:1},n.update(e.arc),t?t.update(e):{})},leave:function(e){return eG({progress:0},n.leave(e.arc),t?t.leave(e):{})}}}),[e,t])},sG=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 BI(n,r)},lG=function(e){return function(t,n,r,i){return mC([t,n,r,i],(function(t,n,r,i){var o=sG({startAngle:t,endAngle:n,innerRadius:r,outerRadius:i},e);return"translate("+o.x+","+o.y+")"}))}},cG=function(e){var t=e.center,n=e.data,r=e.transitionMode,i=e.label,o=e.radiusOffset,a=e.skipAngle,l=e.skipRadius,c=e.textColor,u=e.component,d=void 0===u?nG:u,f=lz(i),h=tL(),p=oj(c,h),g=(0,s.Kr)((function(){return n.filter((function(e){var t=Math.abs(PI(e.arc.endAngle-e.arc.startAngle)),n=Math.abs(e.arc.outerRadius-e.arc.innerRadius);return t>=a&&n>=l}))}),[n,a,l]),m=function(e,t,n){void 0===t&&(t=.5),void 0===n&&(n="innerRadius");var r=CI(),i=r.animate,o=r.config,a=aG(n,void 0);return{transition:uC(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:lG(t)}}(g,o,r),v=m.transition,b=m.interpolate,y=d;return Wt("g",{transform:"translate("+t[0]+","+t[1]+")",children:v((function(e,t){return(0,s.n)(y,{key:t.id,datum:t,label:f(t),style:{progress:e.progress,transform:b(e.startAngle,e.endAngle,e.innerRadius,e.outerRadius),textColor:p(t)}})}))})},uG=function(e){var t=e.label,n=e.style,r=tL();return Wt(_A.g,{opacity:n.opacity,children:[Wt(_A.path,{fill:"none",stroke:n.linkColor,strokeWidth:n.thickness,d:n.path}),Wt(Lz,{transform:n.textPosition,textAnchor:n.textAnchor,dominantBaseline:"central",style:eG({},r.labels.text,{fill:n.textColor}),children:t})]})},dG=function(e,t,n,r){var i,o,a=rG(e.startAngle+(e.endAngle-e.startAngle)/2-Math.PI/2),s=BI(a,e.outerRadius+t),l=BI(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]}},fG=el().x((function(e){return e.x})).y((function(e){return e.y})),hG=function(e,t,n,r,i,o,a){return mC([e,t,n,r,i,o,a],(function(e,t,n,r,i,o,a){var s=dG({startAngle:e,endAngle:t,outerRadius:r},i,o,a).points;return fG(s)}))},pG=function(e,t,n,r){return mC([e,t,n,r],(function(e,t,n,r){return function(e){var t=rG(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})}))},gG=function(e,t,n,r,i,o,a,s){return mC([e,t,n,r,i,o,a,s],(function(e,t,n,r,i,o,a,s){var l=dG({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+")"}))},mG=function(e){var t=e.center,n=e.data,r=e.label,i=e.skipAngle,o=e.offset,a=e.diagonalLength,l=e.straightLength,c=e.strokeWidth,u=e.textOffset,d=e.textColor,f=e.linkColor,h=e.component,p=void 0===h?uG:h,g=lz(r),m=function(e){var t=e.data,n=e.offset,r=void 0===n?0:n,i=e.diagonalLength,o=e.straightLength,a=e.skipAngle,l=void 0===a?0:a,c=e.textOffset,u=e.linkColor,d=e.textColor,f=CI(),h=f.animate,p=f.config,g=tL(),m=oj(u,g),v=oj(d,g),b=function(e,t){return(0,s.Kr)((function(){return iG(e,t)}),[e,t])}(t,l),y=function(e){var t=e.offset,n=e.diagonalLength,r=e.straightLength,i=e.textOffset,o=e.getLinkColor,a=e.getTextColor;return(0,s.Kr)((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:c,getLinkColor:m,getTextColor:v});return{transition:uC(b,{keys:function(e){return e.id},initial:y.update,from:y.enter,enter:y.update,update:y.update,leave:y.leave,config:p,immediate:!h}),interpolateLink:hG,interpolateTextAnchor:pG,interpolateTextPosition:gG}}({data:n,skipAngle:i,offset:o,diagonalLength:a,straightLength:l,textOffset:u,linkColor:f,textColor:d}),v=m.transition,b=m.interpolateLink,y=m.interpolateTextAnchor,_=m.interpolateTextPosition,w=p;return Wt("g",{transform:"translate("+t[0]+","+t[1]+")",children:v((function(e,t){return(0,s.n)(w,{key:t.id,datum:t,label:g(t),style:eG({},e,{thickness:c,path:b(e.startAngle,e.endAngle,e.innerRadius,e.outerRadius,e.offset,e.diagonalLength,e.straightLength),textAnchor:y(e.startAngle,e.endAngle,e.innerRadius,e.outerRadius),textPosition:_(e.startAngle,e.endAngle,e.innerRadius,e.outerRadius,e.offset,e.diagonalLength,e.straightLength,e.textOffset)})})}))})},vG=function(e){var t=e.datum,n=e.style,r=e.onClick,i=e.onMouseEnter,o=e.onMouseMove,a=e.onMouseLeave,l=(0,s.hb)((function(e){return null==r?void 0:r(t,e)}),[r,t]),c=(0,s.hb)((function(e){return null==i?void 0:i(t,e)}),[i,t]),u=(0,s.hb)((function(e){return null==o?void 0:o(t,e)}),[o,t]),d=(0,s.hb)((function(e){return null==a?void 0:a(t,e)}),[a,t]);return Wt(_A.path,{d:n.path,opacity:n.opacity,fill:t.fill||n.color,stroke:n.borderColor,strokeWidth:n.borderWidth,onClick:r?l:void 0,onMouseEnter:i?c:void 0,onMouseMove:o?u:void 0,onMouseLeave:a?d:void 0,"data-testid":"arc."+t.id})},bG=function(e,t,n,r,i){return mC([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)})}))},yG=function(e){var t=e.center,n=e.data,r=e.arcGenerator,i=e.borderWidth,o=e.borderColor,a=e.onClick,l=e.onMouseEnter,c=e.onMouseMove,u=e.onMouseLeave,d=e.transitionMode,f=e.component,h=void 0===f?vG:f,p=tL(),g=oj(o,p),m=function(e,t,n){void 0===t&&(t="innerRadius");var r=CI(),i=r.animate,o=r.config,a=aG(t,n);return{transition:uC(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:bG}}(n,d,{enter:function(e){return{opacity:0,color:e.color,borderColor:g(e)}},update:function(e){return{opacity:1,color:e.color,borderColor:g(e)}},leave:function(e){return{opacity:0,color:e.color,borderColor:g(e)}}}),v=m.transition,b=m.interpolate,y=h;return Wt("g",{transform:"translate("+t[0]+","+t[1]+")",children:v((function(e,t){return(0,s.n)(y,{key:t.id,datum:t,style:eG({},e,{borderWidth:i,path:b(e.startAngle,e.endAngle,e.innerRadius,e.outerRadius,r)}),onClick:a,onMouseEnter:l,onMouseMove:c,onMouseLeave:u})}))})},_G=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(0,s.Kr)((function(){return Gs().innerRadius((function(e){return e.innerRadius})).outerRadius((function(e){return e.outerRadius})).cornerRadius(r).padAngle(o)}),[r,o])};function wG(){return wG=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},wG.apply(null,arguments)}function xG(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 kG,CG=function(e){var t=e.width,n=e.height,i=e.legends,o=e.data,a=e.toggleSerie;return Wt(r.FK,{children:i.map((function(e,r){var i;return Wt(Sj,wG({},e,{containerWidth:t,containerHeight:n,data:null!=(i=e.data)?i:o,toggleSerie:e.toggleSerie?a:void 0}),r)}))})},SG={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 Wt(lL,{id:t.id,value:t.formattedValue,enableChip:!0,color:t.color})},legends:[],role:"img",pixelRatio:"undefined"!=typeof window&&null!=(kG=window.devicePixelRatio)?kG:1},AG=["points"],EG=function(e){var t=e.data,n=e.id,r=void 0===n?SG.id:n,i=e.value,o=void 0===i?SG.value:i,a=e.valueFormat,l=e.colors,c=void 0===l?SG.colors:l,u=lz(r),d=lz(o),f=az(a),h=lj(c,"id");return(0,s.Kr)((function(){return t.map((function(e){var t,n=u(e),r=d(e),i={id:n,label:null!=(t=e.label)?t:n,hidden:!1,value:r,formattedValue:f(r),data:e};return wG({},i,{color:h(i)})}))}),[t,u,d,f,h])},TG=function(e){var t=e.data,n=e.width,r=e.height,i=e.innerRadius,o=void 0===i?SG.innerRadius:i,a=e.startAngle,l=void 0===a?SG.startAngle:a,c=e.endAngle,u=void 0===c?SG.endAngle:c,d=e.padAngle,f=void 0===d?SG.padAngle:d,h=e.sortByValue,p=void 0===h?SG.sortByValue:h,g=e.cornerRadius,m=void 0===g?SG.cornerRadius:g,v=e.fit,b=void 0===v?SG.fit:v,y=e.activeInnerRadiusOffset,_=void 0===y?SG.activeInnerRadiusOffset:y,w=e.activeOuterRadiusOffset,x=void 0===w?SG.activeOuterRadiusOffset:w,k=e.activeId,C=e.onActiveIdChange,S=e.defaultActiveId,A=e.forwardLegendData,E=function(e){var t=e.activeId,n=e.onActiveIdChange,r=e.defaultActiveId,i=void 0!==t,o=(0,s.J0)(i||void 0===r?null:r),a=o[0],l=o[1];return{activeId:i?t:a,setActiveId:(0,s.hb)((function(e){n&&n(e),i||l(e)}),[i,n,l])}}({activeId:k,onActiveIdChange:C,defaultActiveId:S}),T=E.activeId,M=E.setActiveId,L=(0,s.J0)([]),D=L[0],N=L[1],O=(0,s.Kr)((function(){var e,t=Math.min(n,r)/2,i=t*Math.min(o,1),a=n/2,s=r/2;if(b){var c=function(e,t,n,r,i,o){void 0===o&&(o=!0);var a=[],s=BI(zI(r),n);a.push([s.x,s.y]);var l=BI(zI(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=BI(zI(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,s,t,l-90,u-90),d=c.points,f=xG(c,AG),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,s=(s-f.y)/f.height*f.height*h+p.y,e={box:f,ratio:h,points:d},t*=h,i*=h}return{centerX:a,centerY:s,radius:t,innerRadius:i,debug:e}}),[n,r,o,l,u,b]),F=function(e){var t=e.data,n=e.startAngle,r=e.endAngle,i=e.innerRadius,o=e.outerRadius,a=e.padAngle,l=e.sortByValue,c=e.activeId,u=e.activeInnerRadiusOffset,d=e.activeOuterRadiusOffset,f=e.hiddenIds,h=e.forwardLegendData,p=(0,s.Kr)((function(){var e=il().value((function(e){return e.value})).startAngle(zI(n)).endAngle(zI(r)).padAngle(zI(a));return l||e.sortValues(null),e}),[n,r,a,l]),g=(0,s.Kr)((function(){var e=t.filter((function(e){return!f.includes(e.id)}));return{dataWithArc:p(e).map((function(e){var t=Math.abs(e.endAngle-e.startAngle);return wG({},e.data,{arc:{index:e.index,startAngle:e.startAngle,endAngle:e.endAngle,innerRadius:c===e.data.id?i-u:i,outerRadius:c===e.data.id?o+d:o,thickness:o-i,padAngle:e.padAngle,angle:t,angleDeg:PI(t)}})})),legendData:t.map((function(e){return{id:e.id,label:e.label,color:e.color,hidden:f.includes(e.id),data:e}}))}}),[p,t,f,c,i,u,o,d]),m=g.legendData,v=(0,s.li)(h);return(0,s.vJ)((function(){"function"==typeof v.current&&v.current(m)}),[v,m]),g}({data:t,startAngle:l,endAngle:u,innerRadius:O.innerRadius,outerRadius:O.radius,padAngle:f,sortByValue:p,activeId:T,activeInnerRadiusOffset:_,activeOuterRadiusOffset:x,hiddenIds:D,forwardLegendData:A}),R=(0,s.hb)((function(e){N((function(t){return t.indexOf(e)>-1?t.filter((function(t){return t!==e})):[].concat(t,[e])}))}),[]);return wG({arcGenerator:_G({cornerRadius:m,padAngle:zI(f)}),activeId:T,setActiveId:M,toggleSerie:R},F,O)},MG=function(e){var t=e.center,n=e.data,r=e.arcGenerator,i=e.borderWidth,o=e.borderColor,a=e.isInteractive,l=e.onClick,c=e.onMouseEnter,u=e.onMouseMove,d=e.onMouseLeave,f=e.setActiveId,h=e.tooltip,p=e.transitionMode,g=bL(),m=g.showTooltipFromEvent,v=g.hideTooltip,b=(0,s.Kr)((function(){if(a)return function(e,t){null==l||l(e,t)}}),[a,l]),y=(0,s.Kr)((function(){if(a)return function(e,t){m((0,s.n)(h,{datum:e}),t),f(e.id),null==c||c(e,t)}}),[a,m,f,c,h]),_=(0,s.Kr)((function(){if(a)return function(e,t){m((0,s.n)(h,{datum:e}),t),null==u||u(e,t)}}),[a,m,u,h]),w=(0,s.Kr)((function(){if(a)return function(e,t){v(),f(null),null==d||d(e,t)}}),[a,v,f,d]);return Wt(yG,{center:t,data:n,arcGenerator:r,borderWidth:i,borderColor:o,transitionMode:p,onClick:b,onMouseEnter:y,onMouseMove:_,onMouseLeave:w})},LG=["isInteractive","animate","motionConfig","theme","renderWrapper"],DG=function(e){var t=e.data,n=e.id,r=void 0===n?SG.id:n,i=e.value,o=void 0===i?SG.value:i,a=e.valueFormat,l=e.sortByValue,c=void 0===l?SG.sortByValue:l,u=e.layers,d=void 0===u?SG.layers:u,f=e.startAngle,h=void 0===f?SG.startAngle:f,p=e.endAngle,g=void 0===p?SG.endAngle:p,m=e.padAngle,v=void 0===m?SG.padAngle:m,b=e.fit,y=void 0===b?SG.fit:b,_=e.innerRadius,w=void 0===_?SG.innerRadius:_,x=e.cornerRadius,k=void 0===x?SG.cornerRadius:x,C=e.activeInnerRadiusOffset,S=void 0===C?SG.activeInnerRadiusOffset:C,A=e.activeOuterRadiusOffset,E=void 0===A?SG.activeOuterRadiusOffset:A,T=e.width,M=e.height,L=e.margin,D=e.colors,N=void 0===D?SG.colors:D,O=e.borderWidth,F=void 0===O?SG.borderWidth:O,R=e.borderColor,I=void 0===R?SG.borderColor:R,z=e.enableArcLabels,P=void 0===z?SG.enableArcLabels:z,B=e.arcLabel,j=void 0===B?SG.arcLabel:B,Y=e.arcLabelsSkipAngle,$=void 0===Y?SG.arcLabelsSkipAngle:Y,q=e.arcLabelsSkipRadius,H=void 0===q?SG.arcLabelsSkipRadius:q,U=e.arcLabelsTextColor,W=void 0===U?SG.arcLabelsTextColor:U,V=e.arcLabelsRadiusOffset,G=void 0===V?SG.arcLabelsRadiusOffset:V,K=e.arcLabelsComponent,Z=e.enableArcLinkLabels,X=void 0===Z?SG.enableArcLinkLabels:Z,J=e.arcLinkLabel,Q=void 0===J?SG.arcLinkLabel:J,ee=e.arcLinkLabelsSkipAngle,te=void 0===ee?SG.arcLinkLabelsSkipAngle:ee,ne=e.arcLinkLabelsOffset,re=void 0===ne?SG.arcLinkLabelsOffset:ne,ie=e.arcLinkLabelsDiagonalLength,oe=void 0===ie?SG.arcLinkLabelsDiagonalLength:ie,ae=e.arcLinkLabelsStraightLength,se=void 0===ae?SG.arcLinkLabelsStraightLength:ae,le=e.arcLinkLabelsThickness,ce=void 0===le?SG.arcLinkLabelsThickness:le,ue=e.arcLinkLabelsTextOffset,de=void 0===ue?SG.arcLinkLabelsTextOffset:ue,fe=e.arcLinkLabelsTextColor,he=void 0===fe?SG.arcLinkLabelsTextColor:fe,pe=e.arcLinkLabelsColor,ge=void 0===pe?SG.arcLinkLabelsColor:pe,me=e.arcLinkLabelComponent,ve=e.defs,be=void 0===ve?SG.defs:ve,ye=e.fill,_e=void 0===ye?SG.fill:ye,we=e.isInteractive,xe=void 0===we?SG.isInteractive:we,ke=e.onClick,Ce=e.onMouseEnter,Se=e.onMouseMove,Ae=e.onMouseLeave,Ee=e.tooltip,Te=void 0===Ee?SG.tooltip:Ee,Me=e.activeId,Le=e.onActiveIdChange,De=e.defaultActiveId,Ne=e.transitionMode,Oe=void 0===Ne?SG.transitionMode:Ne,Fe=e.legends,Re=void 0===Fe?SG.legends:Fe,Ie=e.forwardLegendData,ze=e.role,Pe=void 0===ze?SG.role:ze,Be=e.forwardedRef,je=rz(T,M,L),Ye=je.outerWidth,$e=je.outerHeight,qe=je.margin,He=je.innerWidth,Ue=je.innerHeight,We=EG({data:t,id:r,value:o,valueFormat:a,colors:N}),Ve=TG({data:We,width:He,height:Ue,fit:y,innerRadius:w,startAngle:h,endAngle:g,padAngle:v,sortByValue:c,cornerRadius:k,activeInnerRadiusOffset:S,activeOuterRadiusOffset:E,activeId:Me,onActiveIdChange:Le,defaultActiveId:De,forwardLegendData:Ie}),Ge=Ve.dataWithArc,Ke=Ve.legendData,Ze=Ve.arcGenerator,Xe=Ve.centerX,Je=Ve.centerY,Qe=Ve.radius,et=Ve.innerRadius,tt=Ve.setActiveId,nt=Ve.toggleSerie,rt=pz(be,Ge,_e),it={arcs:null,arcLinkLabels:null,arcLabels:null,legends:null};d.includes("arcs")&&(it.arcs=Wt(MG,{center:[Xe,Je],data:Ge,arcGenerator:Ze,borderWidth:F,borderColor:I,isInteractive:xe,onClick:ke,onMouseEnter:Ce,onMouseMove:Se,onMouseLeave:Ae,setActiveId:tt,tooltip:Te,transitionMode:Oe},"arcs")),X&&d.includes("arcLinkLabels")&&(it.arcLinkLabels=Wt(mG,{center:[Xe,Je],data:Ge,label:Q,skipAngle:te,offset:re,diagonalLength:oe,straightLength:se,strokeWidth:ce,textOffset:de,textColor:he,linkColor:ge,component:me},"arcLinkLabels")),P&&d.includes("arcLabels")&&(it.arcLabels=Wt(cG,{center:[Xe,Je],data:Ge,label:j,radiusOffset:G,skipAngle:$,skipRadius:H,textColor:W,transitionMode:Oe,component:K},"arcLabels")),Re.length>0&&d.includes("legends")&&(it.legends=Wt(CG,{width:He,height:Ue,data:Ke,legends:Re,toggleSerie:nt},"legends"));var ot=function(e){var t=e.dataWithArc,n=e.arcGenerator,r=e.centerX,i=e.centerY,o=e.radius,a=e.innerRadius;return(0,s.Kr)((function(){return{dataWithArc:t,arcGenerator:n,centerX:r,centerY:i,radius:o,innerRadius:a}}),[t,n,r,i,o,a])}({dataWithArc:Ge,arcGenerator:Ze,centerX:Xe,centerY:Je,radius:Qe,innerRadius:et});return Wt(VI,{width:Ye,height:$e,margin:qe,defs:rt,role:Pe,ref:Be,children:d.map((function(e,t){return void 0!==it[e]?it[e]:"function"==typeof e?Wt(s.FK,{children:(0,s.n)(e,ot)},t):null}))})},NG=(0,s.Rf)((function(e,t){var n=e.isInteractive,r=void 0===n?SG.isInteractive:n,i=e.animate,o=void 0===i?SG.animate:i,a=e.motionConfig,s=void 0===a?SG.motionConfig:a,l=e.theme,c=e.renderWrapper,u=xG(e,LG);return Wt(EI,{animate:o,isInteractive:r,motionConfig:s,renderWrapper:c,theme:l,children:Wt(DG,wG({isInteractive:r},u,{forwardedRef:t}))})})),OG=["defaultWidth","defaultHeight","onResize","debounceResize"];(0,s.Rf)((function(e,t){var n=e.defaultWidth,r=e.defaultHeight,i=e.onResize,o=e.debounceResize,a=xG(e,OG);return Wt(LI,{defaultWidth:n,defaultHeight:r,onResize:i,debounceResize:o,children:function(e){var n=e.width,r=e.height;return Wt(NG,wG({width:n,height:r},a,{ref:t}))}})}));var FG=["isInteractive","theme","renderWrapper"],RG=function(e){var t=e.data,n=e.id,r=void 0===n?SG.id:n,i=e.value,o=void 0===i?SG.value:i,a=e.valueFormat,l=e.sortByValue,c=void 0===l?SG.sortByValue:l,u=e.startAngle,d=void 0===u?SG.startAngle:u,f=e.endAngle,h=void 0===f?SG.endAngle:f,p=e.padAngle,g=void 0===p?SG.padAngle:p,m=e.fit,v=void 0===m?SG.fit:m,b=e.innerRadius,y=void 0===b?SG.innerRadius:b,_=e.cornerRadius,w=void 0===_?SG.cornerRadius:_,x=e.activeInnerRadiusOffset,k=void 0===x?SG.activeInnerRadiusOffset:x,C=e.activeOuterRadiusOffset,S=void 0===C?SG.activeOuterRadiusOffset:C,A=e.width,E=e.height,T=e.margin,M=e.pixelRatio,L=void 0===M?SG.pixelRatio:M,D=e.colors,N=void 0===D?SG.colors:D,O=e.borderWidth,F=void 0===O?SG.borderWidth:O,R=e.borderColor,I=void 0===R?SG.borderColor:R,z=e.enableArcLabels,P=void 0===z?SG.enableArcLabels:z,B=e.arcLabel,j=void 0===B?SG.arcLabel:B,Y=e.arcLabelsSkipAngle,$=void 0===Y?SG.arcLabelsSkipAngle:Y,q=e.arcLabelsTextColor,H=void 0===q?SG.arcLabelsTextColor:q,U=e.arcLabelsRadiusOffset,W=void 0===U?SG.arcLabelsRadiusOffset:U,V=e.enableArcLinkLabels,G=void 0===V?SG.enableArcLinkLabels:V,K=e.arcLinkLabel,Z=void 0===K?SG.arcLinkLabel:K,X=e.arcLinkLabelsSkipAngle,J=void 0===X?SG.arcLinkLabelsSkipAngle:X,Q=e.arcLinkLabelsOffset,ee=void 0===Q?SG.arcLinkLabelsOffset:Q,te=e.arcLinkLabelsDiagonalLength,ne=void 0===te?SG.arcLinkLabelsDiagonalLength:te,re=e.arcLinkLabelsStraightLength,ie=void 0===re?SG.arcLinkLabelsStraightLength:re,oe=e.arcLinkLabelsThickness,ae=void 0===oe?SG.arcLinkLabelsThickness:oe,se=e.arcLinkLabelsTextOffset,le=void 0===se?SG.arcLinkLabelsTextOffset:se,ce=e.arcLinkLabelsTextColor,ue=void 0===ce?SG.arcLinkLabelsTextColor:ce,de=e.arcLinkLabelsColor,fe=void 0===de?SG.arcLinkLabelsColor:de,he=e.isInteractive,pe=void 0===he?SG.isInteractive:he,ge=e.onClick,me=e.onMouseMove,ve=e.tooltip,be=void 0===ve?SG.tooltip:ve,ye=e.activeId,_e=e.onActiveIdChange,we=e.defaultActiveId,xe=e.legends,ke=void 0===xe?SG.legends:xe,Ce=e.forwardLegendData,Se=e.role,Ae=e.forwardedRef,Ee=(0,s.li)(null),Te=tL(),Me=rz(A,E,T),Le=Me.margin,De=Me.innerWidth,Ne=Me.innerHeight,Oe=Me.outerWidth,Fe=Me.outerHeight,Re=EG({data:t,id:r,value:o,valueFormat:a,colors:N}),Ie=TG({data:Re,width:De,height:Ne,fit:v,innerRadius:y,startAngle:d,endAngle:h,padAngle:g,sortByValue:c,cornerRadius:w,activeInnerRadiusOffset:k,activeOuterRadiusOffset:S,activeId:ye,onActiveIdChange:_e,defaultActiveId:we,forwardLegendData:Ce}),ze=Ie.dataWithArc,Pe=Ie.arcGenerator,Be=Ie.centerX,je=Ie.centerY,Ye=Ie.radius,$e=Ie.innerRadius,qe=Ie.setActiveId,He=oj(I,Te),Ue=function(e){var t=e.data,n=e.offset,r=e.skipAngle,i=e.label,o=e.textColor,a=lz(i),l=tL(),c=oj(o,l),u=(0,s.hb)((function(e){return{label:a(e),textColor:c(e)}}),[a,c]);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,l=void 0===a?function(){return{}}:a;return(0,s.Kr)((function(){return iG(t,o).map((function(e){var t=sG(e.arc,r);return eG({},l(e),{x:t.x,y:t.y,data:e})}))}),[t,r,o,l])}({data:t,offset:n,skipAngle:r,computeExtraProps:u})}({data:ze,label:j,skipAngle:$,offset:W,textColor:H}),We=function(e){var t=e.data,n=e.skipAngle,r=e.offset,i=e.diagonalLength,o=e.straightLength,a=e.textOffset,l=void 0===a?0:a,c=e.label,u=e.linkColor,d=e.textColor,f=lz(c),h=tL(),p=oj(u,h),g=oj(d,h),m=(0,s.hb)((function(e){var t,n={x:e.points[2].x,y:e.points[2].y};return"before"===e.side?(n.x-=l,t="end"):(n.x+=l,t="start"),eG({},n,{label:f(e.data),linkColor:p(e.data),textAnchor:t,textColor:g(e.data)})}),[f,p,g,l]);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,l=e.straightLength,c=e.computeExtraProps,u=void 0===c?function(){return{}}:c,d=(0,s.Kr)((function(){return t.filter((function(e){return Math.abs(PI(e.arc.endAngle-e.arc.startAngle))>=r})).map((function(e){return eG({},dG(e.arc,o,a,l),{data:e})}))}),[t,r,o,a,l]);return(0,s.Kr)((function(){return d.map((function(e){return eG({},u(e),e)}))}),[d,u])}({data:t,skipAngle:n,offset:r,diagonalLength:i,straightLength:o,computeExtraProps:m})}({data:ze,skipAngle:J,offset:ee,diagonalLength:ne,straightLength:ie,label:Z,linkColor:fe,textOffset:le,textColor:ue});(0,s.vJ)((function(){if(Ee.current){Ee.current.width=Oe*L,Ee.current.height=Fe*L;var e=Ee.current.getContext("2d");e.scale(L,L),e.fillStyle=Te.background,e.fillRect(0,0,Oe,Fe),e.save(),e.translate(Le.left,Le.top),Pe.context(e),e.save(),e.translate(Be,je),ze.forEach((function(t){e.beginPath(),e.fillStyle=t.color,e.strokeStyle=He(t),e.lineWidth=F,Pe(t.arc),e.fill(),F>0&&e.stroke()})),!0===G&&function(e,t,n,r){e.textBaseline="middle",mz(e,n.labels.text),t.forEach((function(t){e.textAlign=jI.canvas.align[t.textAnchor],vz(e,eG({},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,Te,ae),!0===P&&function(e,t,n){mz(e,n.labels.text),e.textAlign="center",e.textBaseline="middle",t.forEach((function(t){vz(e,eG({},n.labels.text,{fill:t.textColor}),String(t.label),t.x,t.y)}))}(e,Ue,Te),e.restore(),ke.forEach((function(t){Ej(e,wG({},t,{data:ze,containerWidth:De,containerHeight:Ne,theme:Te}))}))}}),[Ee,De,Ne,Oe,Fe,Le.top,Le.left,L,Be,je,Pe,ze,F,He,P,Ue,G,We,ae,ke,Te]);var Ve=(0,s.Kr)((function(){return ze.map((function(e){return wG({id:e.id},e.arc)}))}),[ze]),Ge=function(e){if(!Ee.current)return null;var t=dz(Ee.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=cz(i,o,e,t);return a<n&&a>r}(e,t,n,r,o,a)){var s=function(e,t,n,r){var i=Math.atan2(r-t,n-e)-Math.PI/2;return i>0?i:2*Math.PI+i}(o,a,e,t);return i.find((function(e){var t=e.startAngle,n=e.endAngle;return s>=t&&s<n}))}}(Le.left+Be,Le.top+je,Ye,$e,Ve,n,r);return i?ze.find((function(e){return e.id===i.id})):null},Ke=bL(),Ze=Ke.showTooltipFromEvent,Xe=Ke.hideTooltip,Je=function(e){var t=Ge(e);t?(null==me||me(t,e),qe(t.id),Ze((0,s.n)(be,{datum:t}),e)):(qe(null),Xe())};return Wt("canvas",{ref:gz(Ee,Ae),width:Oe*L,height:Fe*L,style:{width:Oe,height:Fe,cursor:pe?"auto":"normal"},onMouseEnter:pe?Je:void 0,onMouseMove:pe?Je:void 0,onMouseLeave:pe?function(){Xe()}:void 0,onClick:pe?function(e){if(ge){var t=Ge(e);t&&ge(t,e)}}:void 0,role:Se})},IG=(0,s.Rf)((function(e,t){var n=e.isInteractive,r=void 0===n?SG.isInteractive:n,i=e.theme,o=e.renderWrapper,a=xG(e,FG);return Wt(EI,{isInteractive:r,renderWrapper:o,theme:i,children:Wt(RG,wG({isInteractive:r},a,{forwardedRef:t}))})})),zG=["defaultWidth","defaultHeight","onResize","debounceResize"];(0,s.Rf)((function(e,t){var n=e.defaultWidth,r=e.defaultHeight,i=e.onResize,o=e.debounceResize,a=xG(e,zG);return Wt(LI,{defaultWidth:n,defaultHeight:r,onResize:i,debounceResize:o,children:function(e){var n=e.width,r=e.height;return Wt(IG,wG({width:n,height:r},a,{ref:t}))}})}));const PG={id:"__EMPTY_ARC_DO_NOT_COUNT_IT_USED_FOR_VISUALS__",value:1,color:"var(--color-control-bg)",label:""},BG=["new","flaky","retries"];const jG=e=>e>1e3?"999+":e.toString(),YG=e=>{switch(e){case"new":return Vt.testNew;case"flaky":return Vt.lineIconBomb2;case"retries":return Vt.lineGeneralZap}},$G=e=>{const{stats:t,i18n:n,layout:r}=e;return Wt("div",{className:"styles_additionalStats__Yztrs","data-layout":r,children:BG.map((e=>{const r=t[e]??0;return Wt(Q_,{style:"primary",tooltip:n(`tests.${e}`,{count:r}),icon:YG(e),children:r?jG(r):"-"},e)}))})},qG=[{limit:1e3,suffix:"K"},{limit:1e6,suffix:"M"},{limit:1e9,suffix:"B"},{limit:1e12,suffix:"T"},{limit:1e15,suffix:"Q"}],HG=({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<qG.length;e++){const{limit:t,suffix:n}=qG[e];if(s=o/t,Math.round(s)<1e3||e===qG.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}`},UG=({metric:e,metricType:t,layerProps:n,isEmpty:r,i18n:i,total:o})=>"total"===t||r?Wt(WG,{layer:n,i18n:i,total:o}):"percent"===t?Wt(VG,{layer:n,metric:e,i18n:i,total:o}):null,WG=({layer:e,i18n:t,total:n})=>{const{radius:r,centerX:i,centerY:o}=e;return Wt(GG,{radius:r,centerX:i,centerY:o,title:n,description:t("total")})},VG=({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 Wt(GG,{radius:o,centerX:a,centerY:s,title:n("percentage",{percentage:c}),description:n("of",{total:r})})},GG=({radius:e,centerX:t,centerY:n,title:o,description:a})=>{const s=o.toString(),l=s.includes("%"),c=Math.round(Math.min(e/1.8,36)),u=Math.round(Math.min(e/3.3,16)),d=Math.min(e/2.5,2*u),f=(0,i.Kr)((()=>l?(({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:s,symbolWidth:c/3}):HG({width:e,text:s,symbolWidth:c/3})),[l,e,s,c]),h=(0,i.Kr)((()=>(({width:e,text:t,symbolWidth:n})=>{const r=t.match(/\d+/g)||[],i=t.replace(/\d+/g,"").length,o=r.map((t=>HG({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:a.toString(),symbolWidth:u/3})),[a,u,e]);return Wt(r.FK,{children:[Wt("text",{x:t,y:n-d/3,textAnchor:"middle",dominantBaseline:"central",style:{fontSize:c},className:"styles_centeredMetricTitle__-DWkh",children:f}),Wt("text",{x:t,y:n+d/1.5,textAnchor:"middle",dominantBaseline:"central",style:{fontSize:u},className:"styles_centeredMetricDescription__7Q2Vf",children:h})]})},KG=e=>e,ZG=e=>e>=300?284:e-16,XG={top:8,right:8,bottom:8,left:8},JG={datum:"data.color"},QG={theme:"background"},eK=e=>{const{title:t,data:n,statuses:r,metric:o="passed",i18n:a=KG}=e,s=(0,i.Kr)((()=>(e=>{const{data:t,i18n:n,statuses:r=an}=e,i=[];for(const e of r)e in t&&i.push({color:HY(e,"chartFill"),id:e,value:t[e]??0,label:n(`status.${e}`)});return i})({data:n,i18n:a,statuses:r})),[n,a,r]),l=n.total,c=0===l,u=(d=n,BG.some((e=>e in d)));var d;const f=u?362:300;return Wt(jb,{title:t??"",centerContent:!0,children:Wt(Uh,{children:e=>Wt("div",{className:"styles_wrapper__UrP78","data-layout":e>f?"vertical":"horizontal",children:[Wt("div",{className:"styles_pie__EtJEe",children:Wt(NG,{width:ZG(u?e-62:e),height:ZG(u?e-62:e),data:c?[PG]:s,margin:XG,colors:JG,innerRadius:.75,padAngle:1,cornerRadius:4,activeOuterRadiusOffset:4,borderWidth:0,borderColor:QG,enableArcLabels:!1,enableArcLinkLabels:!1,isInteractive:!c,sortByValue:!0,transitionMode:"startAngle",layers:["arcs",e=>Wt(UG,{layerProps:e,i18n:a,metricType:"percent",metric:o,isEmpty:c,total:l})],animate:!EH,motionConfig:AH,tooltip:tK,theme:LH})}),u&&Wt($G,{stats:n,i18n:a,layout:e>f?"vertical":"horizontal"})]})})})},tK=e=>{const{datum:t}=e,n=(0,i.Kr)((()=>({id:t.id.toString(),color:t.color,label:t.label,value:t.value})),[t]);return Wt(ZH,{children:Wt(eU,{mode:"default",legend:n})})},nK=e=>{const{title:t,data:n,statuses:r=an,i18n:i}=e,o=n.find((e=>"current"===e.id)),a=r.map((e=>({id:e,label:i(`status.${e}`),color:HY(e,"chartFill")}))),s=n.map((e=>({id:e.id,name:e.name,timestamp:e.timestamp,...e.statistic}))),l=s.every((e=>0===e.total)),c=s.filter((e=>"current"!==e.id)).every((e=>0===e.total)),u=s.reduce(((e,t)=>Math.max(e,t.total)),0),d=1.01*u;return l||!o||0===o.statistic.total?Wt(jb,{title:t,children:Wt(gh,{title:i("no-results"),icon:Vt.lineChartsBarChartSquare})}):1===n.length&&o||c?Wt(jb,{title:t,children:Wt(gh,{title:i("no-history"),icon:Vt.lineChartsBarChartSquare})}):Wt(jb,{title:t,children:Wt(xV,{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)?JH(Math.abs(Number(e))):""},formatLegendValue:({value:e})=>e?JH(e):"-",noLegend:!0,maxValue:d})})},rK=e=>{switch(e){case"new":return"var(--color-intent-info-text)";case"fixed":return"var(--color-intent-success-text)";case"regressed":return"var(--color-intent-danger-text)";case"malfunctioned":return"var(--color-intent-warning-text)"}},iK=["fixed","regressed","malfunctioned"],oK=e=>{const{title:t,data:n,i18n:r}=e,o=Math.ceil(1.01*Math.max(...n.map((e=>e.fixed+e.regressed+e.malfunctioned)))),a=n.map((e=>{const t=2*o,n=e.regressed+e.malfunctioned,r=UY({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}})),s=n.find((e=>"current"===e.id)),l=(0,i.Kr)((()=>[...iK.map((e=>({id:e,label:r(`transitions.${e}`),color:rK(e),value:"fixed"===e?1:-1}))),{id:"trend",label:r("legend.trend"),color:"var(--color-chart-categorical-9)",type:"point"}]),[r]),c=a.every((e=>0===e.fixed&&0===e.regressed&&0===e.malfunctioned)),u=a.filter((e=>"current"!==e.id)).every((e=>0===e.fixed&&0===e.regressed&&0===e.malfunctioned));return!s||c?Wt(jb,{title:t,children:Wt(gh,{title:r("no-results"),icon:Vt.lineChartsBarChartSquare})}):1===n.length&&s||u?Wt(jb,{title:t,children:Wt(gh,{title:r("no-history"),icon:Vt.lineChartsBarChartSquare})}):Wt(jb,{title:t,children:Wt(xV,{groupMode:"stacked",data:a,legend:l,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=a.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?JH(Math.abs(Number(e))):"-",noLegend:!0,formatLeftTick:e=>{const t=Math.abs(Number(e));return Number.isInteger(t)?JH(Math.abs(Number(e))):""},minValue:-o,maxValue:o})})},aK=["var(--color-chart-categorical-1)","var(--color-chart-categorical-2)","var(--color-chart-categorical-3)","var(--color-chart-categorical-4)","var(--color-chart-categorical-5)","var(--color-chart-categorical-6)","var(--color-chart-categorical-7)","var(--color-chart-categorical-8)","var(--color-chart-categorical-9)","var(--color-chart-categorical-10)","var(--color-chart-categorical-11)","var(--color-chart-categorical-12)","var(--color-chart-categorical-13)","var(--color-chart-categorical-14)"],sK=e=>{const{title:t,data:n,i18n:r,groupBy:o,keys:a}=e,s=(0,i.Kr)((()=>(e=>e.reduce(((e,t,n)=>{let r=aK[n];return r||(r=aK[n-aK.length]),e[t]=r,e}),{}))(Object.keys(a))),[a]),l=r("legend.total"),c=(0,i.Kr)((()=>Object.entries(a).map((([e,t])=>({id:e,label:"none"===o?l:t,color:s[e]})))),[a,s,o,l]),u=(0,i.Kr)((()=>n.map((e=>({id:`${e.from}-${e.to}`,...e})))),[n]),d=1.01*(0,i.Kr)((()=>{if(0===u.length)return 0;const e=Object.keys(a);return Math.max(...u.map((t=>{let n=0;for(const r of e)n+=t[r]??0;return n})))}),[u,a]),f=0===u.length;return Wt(jb,f?{title:t,children:Wt(gh,{title:r("no-results"),icon:Vt.lineChartsBarChartSquare})}:{title:t,children:Wt(xV,{groupMode:"stacked",data:u,legend:c,indexBy:"id",hasValueFn:e=>Object.keys(a).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:u.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)?JH(Math.abs(Number(e))):""},maxValue:d})})},lK=e=>{const{title:t,data:n,i18n:r,statuses:o}=e,a=(0,i.Kr)((()=>o.map((e=>({id:e,label:r(`status.${e}`),color:HY(e,"chartFill")})))),[o,r]),s=n,l=s.every((e=>o.every((t=>0===e[t]))));return Wt(jb,l?{title:t,children:Wt(gh,{title:r("no-results"),icon:Vt.lineChartsBarChartSquare})}:{title:t,children:Wt(xV,{groupMode:"stacked",data:s,legend:a,indexBy:"id",hasValueFn:()=>!0,formatIndexBy:e=>r(`severity.${e.id}`),formatBottomTick:e=>r(`severity.${e}`),formatLegendValue:({value:e})=>e?JH(Math.abs(Number(e))):"-",noLegend:!0,formatLeftTick:e=>{const t=Math.abs(Number(e));return Number.isInteger(t)?JH(Math.abs(Number(e))):""}})})},cK=e=>0===e.duration&&0===e.sequentialDuration,uK=e=>{const{title:t,data:n,i18n:r}=e,o=n,a=(0,i.Kr)((()=>[{id:"sequentialDuration",label:r("durations.sequential"),color:"var(--color-chart-categorical-5)",type:"default"},{id:"duration",label:r("durations.duration"),color:"var(--color-chart-categorical-2)",type:"default"},{id:"speedup",label:r("durations.speedup"),color:"var(--color-chart-categorical-9)",type:"point"}]),[r]),s=n.find((e=>"current"===e.id));return o.every((e=>cK(e)))||!s||cK(s)?Wt(jb,{title:t,children:Wt(gh,{title:r("no-results"),icon:Vt.lineChartsBarChartSquare})}):Wt(jb,{title:t,children:Wt(xV,{groupMode:"grouped",data:o,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 r("ticks.current");const t=o.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 dK="http://www.w3.org/1999/xhtml",fK={svg:"http://www.w3.org/2000/svg",xhtml:dK,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function hK(e){var t=e+="",n=t.indexOf(":");return n>=0&&"xmlns"!==(t=e.slice(0,n))&&(e=e.slice(n+1)),fK.hasOwnProperty(t)?{space:fK[t],local:e}:e}function pK(e){return function(){var t=this.ownerDocument,n=this.namespaceURI;return n===dK&&t.documentElement.namespaceURI===dK?t.createElement(e):t.createElementNS(n,e)}}function gK(e){return function(){return this.ownerDocument.createElementNS(e.space,e.local)}}function mK(e){var t=hK(e);return(t.local?gK:pK)(t)}function vK(){}function bK(e){return null==e?vK:function(){return this.querySelector(e)}}function yK(){return[]}function _K(e){return null==e?yK:function(){return this.querySelectorAll(e)}}function wK(e){return function(){return this.matches(e)}}function xK(e){return function(t){return t.matches(e)}}var kK=Array.prototype.find;function CK(){return this.firstElementChild}var SK=Array.prototype.filter;function AK(){return Array.from(this.children)}function EK(e){return new Array(e.length)}function TK(e,t){this.ownerDocument=e.ownerDocument,this.namespaceURI=e.namespaceURI,this._next=null,this._parent=e,this.__data__=t}function MK(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 TK(e,o[s]);for(;s<l;++s)(a=t[s])&&(i[s]=a)}function LK(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 TK(e,o[s]);for(s=0;s<d;++s)(l=t[s])&&u.get(h[s])===l&&(i[s]=l)}function DK(e){return e.__data__}function NK(e){return"object"==typeof e&&"length"in e?e:Array.from(e)}function OK(e,t){return e<t?-1:e>t?1:e>=t?0:NaN}function FK(e){return function(){this.removeAttribute(e)}}function RK(e){return function(){this.removeAttributeNS(e.space,e.local)}}function IK(e,t){return function(){this.setAttribute(e,t)}}function zK(e,t){return function(){this.setAttributeNS(e.space,e.local,t)}}function PK(e,t){return function(){var n=t.apply(this,arguments);null==n?this.removeAttribute(e):this.setAttribute(e,n)}}function BK(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 jK(e){return e.ownerDocument&&e.ownerDocument.defaultView||e.document&&e||e.defaultView}function YK(e){return function(){this.style.removeProperty(e)}}function $K(e,t,n){return function(){this.style.setProperty(e,t,n)}}function qK(e,t,n){return function(){var r=t.apply(this,arguments);null==r?this.style.removeProperty(e):this.style.setProperty(e,r,n)}}function HK(e,t){return e.style.getPropertyValue(t)||jK(e).getComputedStyle(e,null).getPropertyValue(t)}function UK(e){return function(){delete this[e]}}function WK(e,t){return function(){this[e]=t}}function VK(e,t){return function(){var n=t.apply(this,arguments);null==n?delete this[e]:this[e]=n}}function GK(e){return e.trim().split(/^|\s+/)}function KK(e){return e.classList||new ZK(e)}function ZK(e){this._node=e,this._names=GK(e.getAttribute("class")||"")}function XK(e,t){for(var n=KK(e),r=-1,i=t.length;++r<i;)n.add(t[r])}function JK(e,t){for(var n=KK(e),r=-1,i=t.length;++r<i;)n.remove(t[r])}function QK(e){return function(){XK(this,e)}}function eZ(e){return function(){JK(this,e)}}function tZ(e,t){return function(){(t.apply(this,arguments)?XK:JK)(this,e)}}function nZ(){this.textContent=""}function rZ(e){return function(){this.textContent=e}}function iZ(e){return function(){var t=e.apply(this,arguments);this.textContent=null==t?"":t}}function oZ(){this.innerHTML=""}function aZ(e){return function(){this.innerHTML=e}}function sZ(e){return function(){var t=e.apply(this,arguments);this.innerHTML=null==t?"":t}}function lZ(){this.nextSibling&&this.parentNode.appendChild(this)}function cZ(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function uZ(){return null}function dZ(){var e=this.parentNode;e&&e.removeChild(this)}function fZ(){var e=this.cloneNode(!1),t=this.parentNode;return t?t.insertBefore(e,this.nextSibling):e}function hZ(){var e=this.cloneNode(!0),t=this.parentNode;return t?t.insertBefore(e,this.nextSibling):e}function pZ(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 gZ(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 mZ(e,t,n){var r=jK(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 vZ(e,t){return function(){return mZ(this,e,t)}}function bZ(e,t){return function(){return mZ(this,e,t.apply(this,arguments))}}TK.prototype={constructor:TK,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)}},ZK.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 yZ=[null];function _Z(e,t){this._groups=e,this._parents=t}function wZ(){return new _Z([[document.documentElement]],yZ)}function xZ(e){return"string"==typeof e?new _Z([[document.querySelector(e)]],[document.documentElement]):new _Z([[e]],yZ)}function kZ(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]}_Z.prototype=wZ.prototype={constructor:_Z,select:function(e){"function"!=typeof e&&(e=bK(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 _Z(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):_K(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 _Z(r,i)},selectChild:function(e){return this.select(null==e?CK:function(e){return function(){return kK.call(this.children,e)}}("function"==typeof e?e:xK(e)))},selectChildren:function(e){return this.selectAll(null==e?AK:function(e){return function(){return SK.call(this.children,e)}}("function"==typeof e?e:xK(e)))},filter:function(e){"function"!=typeof e&&(e=wK(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 _Z(r,this._parents)},data:function(e,t){if(!arguments.length)return Array.from(this,DK);var n=t?LK:MK,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=NK(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 _Z(a,r))._enter=s,a._exit=l,a},enter:function(){return new _Z(this._enter||this._groups.map(EK),this._parents)},exit:function(){return new _Z(this._exit||this._groups.map(EK),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 _Z(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=OK);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 _Z(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=hK(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?RK:FK:"function"==typeof t?n.local?BK:PK:n.local?zK:IK)(n,t))},style:function(e,t,n){return arguments.length>1?this.each((null==t?YK:"function"==typeof t?qK:$K)(e,t,null==n?"":n)):HK(this.node(),e)},property:function(e,t){return arguments.length>1?this.each((null==t?UK:"function"==typeof t?VK:WK)(e,t)):this.node()[e]},classed:function(e,t){var n=GK(e+"");if(arguments.length<2){for(var r=KK(this.node()),i=-1,o=n.length;++i<o;)if(!r.contains(n[i]))return!1;return!0}return this.each(("function"==typeof t?tZ:t?QK:eZ)(n,t))},text:function(e){return arguments.length?this.each(null==e?nZ:("function"==typeof e?iZ:rZ)(e)):this.node().textContent},html:function(e){return arguments.length?this.each(null==e?oZ:("function"==typeof e?sZ:aZ)(e)):this.node().innerHTML},raise:function(){return this.each(lZ)},lower:function(){return this.each(cZ)},append:function(e){var t="function"==typeof e?e:mK(e);return this.select((function(){return this.appendChild(t.apply(this,arguments))}))},insert:function(e,t){var n="function"==typeof e?e:mK(e),r=null==t?uZ:"function"==typeof t?t:bK(t);return this.select((function(){return this.insertBefore(n.apply(this,arguments),r.apply(this,arguments)||null)}))},remove:function(){return this.each(dZ)},clone:function(e){return this.select(e?hZ:fZ)},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?gZ:pZ,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?bZ:vZ)(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 CZ={value:()=>{}};function SZ(){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 AZ(r)}function AZ(e){this._=e}function EZ(e,t){for(var n,r=0,i=e.length;r<i;++r)if((n=e[r]).name===t)return n.value}function TZ(e,t,n){for(var r=0,i=e.length;r<i;++r)if(e[r].name===t){e[r]=CZ,e=e.slice(0,r).concat(e.slice(r+1));break}return null!=n&&e.push({name:t,value:n}),e}AZ.prototype=SZ.prototype={constructor:AZ,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]=TZ(i[n],e.name,t);else if(null==t)for(n in i)i[n]=TZ(i[n],e.name,null);return this}for(;++a<s;)if((n=(e=o[a]).type)&&(n=EZ(i[n],e.name)))return n},copy:function(){var e={},t=this._;for(var n in t)e[n]=t[n].slice();return new AZ(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 MZ,LZ,DZ=0,NZ=0,OZ=0,FZ=0,RZ=0,IZ=0,zZ="object"==typeof performance&&performance.now?performance:Date,PZ="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(e){setTimeout(e,17)};function BZ(){return RZ||(PZ(jZ),RZ=zZ.now()+IZ)}function jZ(){RZ=0}function YZ(){this._call=this._time=this._next=null}function $Z(e,t,n){var r=new YZ;return r.restart(e,t,n),r}function qZ(){RZ=(FZ=zZ.now())+IZ,DZ=NZ=0;try{!function(){BZ(),++DZ;for(var e,t=MZ;t;)(e=RZ-t._time)>=0&&t._call.call(void 0,e),t=t._next;--DZ}()}finally{DZ=0,function(){for(var e,t,n=MZ,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:MZ=t);LZ=e,UZ(r)}(),RZ=0}}function HZ(){var e=zZ.now(),t=e-FZ;t>1e3&&(IZ-=t,FZ=e)}function UZ(e){DZ||(NZ&&(NZ=clearTimeout(NZ)),e-RZ>24?(e<1/0&&(NZ=setTimeout(qZ,e-zZ.now()-IZ)),OZ&&(OZ=clearInterval(OZ))):(OZ||(FZ=zZ.now(),OZ=setInterval(HZ,1e3)),DZ=1,PZ(qZ)))}function WZ(e,t,n){var r=new YZ;return t=null==t?0:+t,r.restart((n=>{r.stop(),e(n+t)}),t,n),r}YZ.prototype=$Z.prototype={constructor:YZ,restart:function(e,t,n){if("function"!=typeof e)throw new TypeError("callback is not a function");n=(null==n?BZ():+n)+(null==t?0:+t),this._next||LZ===this||(LZ?LZ._next=this:MZ=this,LZ=this),this._call=e,this._time=n,UZ()},stop:function(){this._call&&(this._call=null,this._time=1/0,UZ())}};var VZ=SZ("start","end","cancel","interrupt"),GZ=[];function KZ(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 WZ(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(WZ((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=$Z((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:VZ,tween:GZ,time:o.time,delay:o.delay,duration:o.duration,ease:o.ease,timer:null,state:0})}function ZZ(e,t){var n=JZ(e,t);if(n.state>0)throw new Error("too late; already scheduled");return n}function XZ(e,t){var n=JZ(e,t);if(n.state>3)throw new Error("too late; already running");return n}function JZ(e,t){var n=e.__transition;if(!n||!(n=n[t]))throw new Error("transition not found");return n}function QZ(e,t){var n,r;return function(){var i=XZ(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 eX(e,t,n){var r,i;if("function"!=typeof n)throw new Error;return function(){var o=XZ(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 tX(e,t,n){var r=e._id;return e.each((function(){var e=XZ(this,r);(e.value||(e.value={}))[t]=n.apply(this,arguments)})),function(e){return JZ(e,r).value[t]}}function nX(e,t){var n;return("number"==typeof t?Nr:t instanceof Gn?Er:(n=Gn(t))?(t=n,Er):Ir)(e,t)}function rX(e){return function(){this.removeAttribute(e)}}function iX(e){return function(){this.removeAttributeNS(e.space,e.local)}}function oX(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 aX(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 sX(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 lX(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 cX(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 uX(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 dX(e,t){return function(){ZZ(this,e).delay=+t.apply(this,arguments)}}function fX(e,t){return t=+t,function(){ZZ(this,e).delay=t}}function hX(e,t){return function(){XZ(this,e).duration=+t.apply(this,arguments)}}function pX(e,t){return t=+t,function(){XZ(this,e).duration=t}}var gX=wZ.prototype.constructor;function mX(e){return function(){this.style.removeProperty(e)}}var vX=0;function bX(e,t,n,r){this._groups=e,this._parents=t,this._name=n,this._id=r}function yX(e){return wZ().transition(e)}function _X(){return++vX}var wX=wZ.prototype;function xX(e){return((e*=2)<=1?e*e*e:(e-=2)*e*e+2)/2}bX.prototype=yX.prototype={constructor:bX,select:function(e){var t=this._name,n=this._id;"function"!=typeof e&&(e=bK(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,KZ(d[f],t,n,f,d,JZ(s,n)));return new bX(o,this._parents,t,n)},selectAll:function(e){var t=this._name,n=this._id;"function"!=typeof e&&(e=_K(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=JZ(l,n),g=0,m=h.length;g<m;++g)(f=h[g])&&KZ(f,t,n,g,h,p);o.push(h),a.push(l)}return new bX(o,a,t,n)},selectChild:wX.selectChild,selectChildren:wX.selectChildren,filter:function(e){"function"!=typeof e&&(e=wK(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 bX(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 bX(a,this._parents,this._name,this._id)},selection:function(){return new gX(this._groups,this._parents)},transition:function(){for(var e=this._name,t=this._id,n=_X(),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=JZ(a,t);KZ(a,e,n,c,s,{time:u.time+u.delay+u.duration,delay:0,duration:u.duration,ease:u.ease})}return new bX(r,this._parents,e,n)},call:wX.call,nodes:wX.nodes,node:wX.node,size:wX.size,empty:wX.empty,each:wX.each,on:function(e,t){var n=this._id;return arguments.length<2?JZ(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)?ZZ:XZ;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=hK(e),r="transform"===n?Ur:nX;return this.attrTween(e,"function"==typeof t?(n.local?lX:sX)(n,r,tX(this,"attr."+e,t)):null==t?(n.local?iX:rX)(n):(n.local?aX:oX)(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=hK(e);return this.tween(n,(r.local?cX:uX)(r,t))},style:function(e,t,n){var r="transform"==(e+="")?Hr:nX;return null==t?this.styleTween(e,function(e,t){var n,r,i;return function(){var o=HK(this,e),a=(this.style.removeProperty(e),HK(this,e));return o===a?null:o===n&&a===r?i:i=t(n=o,r=a)}}(e,r)).on("end.style."+e,mX(e)):"function"==typeof t?this.styleTween(e,function(e,t,n){var r,i,o;return function(){var a=HK(this,e),s=n(this),l=s+"";return null==s&&(this.style.removeProperty(e),l=s=HK(this,e)),a===l?null:a===r&&l===i?o:(i=l,o=t(r=a,s))}}(e,r,tX(this,"style."+e,t))).each(function(e,t){var n,r,i,o,a="style."+t,s="end."+a;return function(){var l=XZ(this,e),c=l.on,u=null==l.value[a]?o||(o=mX(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=HK(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}}(tX(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=JZ(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?QZ:eX)(n,e,t))},delay:function(e){var t=this._id;return arguments.length?this.each(("function"==typeof e?dX:fX)(t,e)):JZ(this.node(),t).delay},duration:function(e){var t=this._id;return arguments.length?this.each(("function"==typeof e?hX:pX)(t,e)):JZ(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(){XZ(this,e).ease=t}}(t,e)):JZ(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;XZ(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=XZ(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]:wX[Symbol.iterator]};var kX={time:null,delay:0,duration:250,ease:xX};function CX(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 SX(e){return e}wZ.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)}))},wZ.prototype.transition=function(e){var t,n;e instanceof bX?(t=e._id,e=e._name):(t=_X(),(n=kX).time=BZ(),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])&&KZ(a,e,t,c,s,n||CX(a,t));return new bX(r,this._parents,e,t)};var AX=1e-6;function EX(e){return"translate("+e+",0)"}function TX(e){return"translate(0,"+e+")"}function MX(e){return t=>+e(t)}function LX(e,t){return t=Math.max(0,e.bandwidth()-2*t)/2,e.round()&&(t=Math.round(t)),n=>+e(n)+t}function DX(){return!this.__axis}function NX(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?EX:TX;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):SX:i,g=Math.max(o,0)+s,m=t.range(),v=+m[0]+l,b=+m[m.length-1]+l,y=(t.bandwidth?LX:MX)(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"),A=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)),A=A.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),A=A.transition(f),k=k.transition(f).attr("opacity",AX).attr("transform",(function(e){return isFinite(e=y(e))?d(e+l):this.getAttribute("transform")})),C.attr("opacity",AX).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),A.attr(u,c*g).text(p),_.filter(DX).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 OX(e){return NX(3,e)}const FX={capture:!0,passive:!1};function RX(e){e.preventDefault(),e.stopImmediatePropagation()}var IX=SZ("start","end","cancel","interrupt"),zX=[];function PX(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 WZ(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(WZ((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=$Z((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:IX,tween:zX,time:o.time,delay:o.delay,duration:o.duration,ease:o.ease,timer:null,state:0})}function BX(e,t){var n=YX(e,t);if(n.state>0)throw new Error("too late; already scheduled");return n}function jX(e,t){var n=YX(e,t);if(n.state>3)throw new Error("too late; already running");return n}function YX(e,t){var n=e.__transition;if(!n||!(n=n[t]))throw new Error("transition not found");return n}function $X(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 qX(e,t){var n,r;return function(){var i=jX(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 HX(e,t,n){var r,i;if("function"!=typeof n)throw new Error;return function(){var o=jX(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 UX(e,t,n){var r=e._id;return e.each((function(){var e=jX(this,r);(e.value||(e.value={}))[t]=n.apply(this,arguments)})),function(e){return YX(e,r).value[t]}}function WX(e,t){var n;return("number"==typeof t?Nr:t instanceof Gn?Er:(n=Gn(t))?(t=n,Er):Ir)(e,t)}function VX(e){return function(){this.removeAttribute(e)}}function GX(e){return function(){this.removeAttributeNS(e.space,e.local)}}function KX(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 ZX(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 XX(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 JX(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 QX(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 eJ(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 tJ(e,t){return function(){BX(this,e).delay=+t.apply(this,arguments)}}function nJ(e,t){return t=+t,function(){BX(this,e).delay=t}}function rJ(e,t){return function(){jX(this,e).duration=+t.apply(this,arguments)}}function iJ(e,t){return t=+t,function(){jX(this,e).duration=t}}var oJ=wZ.prototype.constructor;function aJ(e){return function(){this.style.removeProperty(e)}}var sJ=0;function lJ(e,t,n,r){this._groups=e,this._parents=t,this._name=n,this._id=r}function cJ(){return++sJ}var uJ=wZ.prototype;lJ.prototype={constructor:lJ,select:function(e){var t=this._name,n=this._id;"function"!=typeof e&&(e=bK(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,PX(d[f],t,n,f,d,YX(s,n)));return new lJ(o,this._parents,t,n)},selectAll:function(e){var t=this._name,n=this._id;"function"!=typeof e&&(e=_K(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=YX(l,n),g=0,m=h.length;g<m;++g)(f=h[g])&&PX(f,t,n,g,h,p);o.push(h),a.push(l)}return new lJ(o,a,t,n)},selectChild:uJ.selectChild,selectChildren:uJ.selectChildren,filter:function(e){"function"!=typeof e&&(e=wK(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 lJ(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 lJ(a,this._parents,this._name,this._id)},selection:function(){return new oJ(this._groups,this._parents)},transition:function(){for(var e=this._name,t=this._id,n=cJ(),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=YX(a,t);PX(a,e,n,c,s,{time:u.time+u.delay+u.duration,delay:0,duration:u.duration,ease:u.ease})}return new lJ(r,this._parents,e,n)},call:uJ.call,nodes:uJ.nodes,node:uJ.node,size:uJ.size,empty:uJ.empty,each:uJ.each,on:function(e,t){var n=this._id;return arguments.length<2?YX(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)?BX:jX;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=hK(e),r="transform"===n?Ur:WX;return this.attrTween(e,"function"==typeof t?(n.local?JX:XX)(n,r,UX(this,"attr."+e,t)):null==t?(n.local?GX:VX)(n):(n.local?ZX:KX)(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=hK(e);return this.tween(n,(r.local?QX:eJ)(r,t))},style:function(e,t,n){var r="transform"==(e+="")?Hr:WX;return null==t?this.styleTween(e,function(e,t){var n,r,i;return function(){var o=HK(this,e),a=(this.style.removeProperty(e),HK(this,e));return o===a?null:o===n&&a===r?i:i=t(n=o,r=a)}}(e,r)).on("end.style."+e,aJ(e)):"function"==typeof t?this.styleTween(e,function(e,t,n){var r,i,o;return function(){var a=HK(this,e),s=n(this),l=s+"";return null==s&&(this.style.removeProperty(e),l=s=HK(this,e)),a===l?null:a===r&&l===i?o:(i=l,o=t(r=a,s))}}(e,r,UX(this,"style."+e,t))).each(function(e,t){var n,r,i,o,a="style."+t,s="end."+a;return function(){var l=jX(this,e),c=l.on,u=null==l.value[a]?o||(o=aJ(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=HK(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}}(UX(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=YX(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?qX:HX)(n,e,t))},delay:function(e){var t=this._id;return arguments.length?this.each(("function"==typeof e?tJ:nJ)(t,e)):YX(this.node(),t).delay},duration:function(e){var t=this._id;return arguments.length?this.each(("function"==typeof e?rJ:iJ)(t,e)):YX(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(){jX(this,e).ease=t}}(t,e)):YX(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;jX(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=jX(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]:uJ[Symbol.iterator]};var dJ={time:null,delay:0,duration:250,ease:xX};function fJ(e,t){for(var n;!(n=e.__transition)||!(n=n[t]);)if(!(e=e.parentNode))throw new Error(`transition ${t} not found`);return n}wZ.prototype.interrupt=function(e){return this.each((function(){$X(this,e)}))},wZ.prototype.transition=function(e){var t,n;e instanceof lJ?(t=e._id,e=e._name):(t=cJ(),(n=dJ).time=BZ(),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])&&PX(a,e,t,c,s,n||fJ(a,t));return new lJ(r,this._parents,e,t)};var hJ=e=>()=>e;function pJ(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 gJ(e){e.preventDefault(),e.stopImmediatePropagation()}var mJ={name:"drag"},vJ={name:"space"},bJ={name:"handle"},yJ={name:"center"};const{abs:_J,max:wJ,min:xJ}=Math;function kJ(e){return[+e[0],+e[1]]}function CJ(e){return[kJ(e[0]),kJ(e[1])]}var SJ={name:"x",handles:["w","e"].map(NJ),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]]}},AJ={},EJ={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"},TJ={e:"w",w:"e",nw:"ne",ne:"nw",se:"sw",sw:"se"},MJ={n:"s",s:"n",nw:"sw",ne:"se",se:"ne",sw:"nw"},LJ={overlay:1,selection:1,n:null,e:1,s:null,w:-1,nw:-1,ne:1,se:1,sw:-1},DJ={overlay:1,selection:1,n:-1,e:null,s:1,w:null,nw:-1,ne:-1,se:1,sw:1};function NJ(e){return{type:e}}function OJ(e){return!e.ctrlKey&&!e.button}function FJ(){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 RJ(){return navigator.maxTouchPoints||"ontouchstart"in this}function IJ(e){for(;!e.__brush;)if(!(e=e.parentNode))return;return e.__brush}function zJ(){return function(e){var t,n=FJ,r=OJ,i=RJ,o=!0,a=SZ("start","brush","end"),s=6;function l(t){var n=t.property("__brush",g).selectAll(".overlay").data([NJ("overlay")]);n.enter().append("rect").attr("class","overlay").attr("pointer-events","all").attr("cursor",EJ.overlay).merge(n).each((function(){var e=IJ(this).extent;xZ(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([NJ("selection")]).enter().append("rect").attr("class","selection").attr("cursor",EJ.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 EJ[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=xZ(this),t=IJ(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)?mJ:o&&n.altKey?yJ:bJ,w=e===AJ?null:LJ[y],x=e===SJ?null:DJ[y],k=IJ(b),C=k.extent,S=k.selection,A=C[0][0],E=C[0][1],T=C[1][0],M=C[1][1],L=0,D=0,N=w&&x&&o&&n.shiftKey,O=Array.from(n.touches||[n],(e=>{const t=e.identifier;return(e=kZ(e,b)).point0=e.slice(),e.identifier=t,e}));$X(b);var F=u(b,arguments,!0).beforestart();if("overlay"===y){S&&(g=!0);const t=[O[0],O[1]||O[0]];k.selection=S=[[i=e===AJ?A:xJ(t[0][0],t[1][0]),s=e===SJ?E:xJ(t[0][1],t[1][1])],[d=e===AJ?T:wJ(t[0][0],t[1][0]),h=e===SJ?M:wJ(t[0][1],t[1][1])]],O.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 R=xZ(b).attr("pointer-events","none"),I=R.selectAll(".overlay").attr("cursor",EJ[y]);if(n.touches)F.moved=P,F.ended=j;else{var z=xZ(n.view).on("mousemove.brush",P,!0).on("mouseup.brush",j,!0);o&&z.on("keydown.brush",(function(e){switch(e.keyCode){case 16:N=w&&x;break;case 18:_===bJ&&(w&&(d=f-L*w,i=a+L*w),x&&(h=p-D*x,s=l+D*x),_=yJ,B(e));break;case 32:_!==bJ&&_!==yJ||(w<0?d=f-L:w>0&&(i=a-L),x<0?h=p-D:x>0&&(s=l-D),_=vJ,I.attr("cursor",EJ.selection),B(e));break;default:return}gJ(e)}),!0).on("keyup.brush",(function(e){switch(e.keyCode){case 16:N&&(m=v=N=!1,B(e));break;case 18:_===yJ&&(w<0?d=f:w>0&&(i=a),x<0?h=p:x>0&&(s=l),_=bJ,B(e));break;case 32:_===vJ&&(e.altKey?(w&&(d=f-L*w,i=a+L*w),x&&(h=p-D*x,s=l+D*x),_=yJ):(w<0?d=f:w>0&&(i=a),x<0?h=p:x>0&&(s=l),_=bJ),I.attr("cursor",EJ[y]),B(e));break;default:return}gJ(e)}),!0),function(e){var t=e.document.documentElement,n=xZ(e).on("dragstart.drag",RX,FX);"onselectstart"in t?n.on("selectstart.drag",RX,FX):(t.__noselect=t.style.MozUserSelect,t.style.MozUserSelect="none")}(n.view)}c.call(b),F.start(n,_.name)}function P(e){for(const t of e.changedTouches||[e])for(const e of O)e.identifier===t.identifier&&(e.cur=kZ(t,b));if(N&&!m&&!v&&1===O.length){const e=O[0];_J(e.cur[0]-e[0])>_J(e.cur[1]-e[1])?v=!0:m=!0}for(const e of O)e.cur&&(e[0]=e.cur[0],e[1]=e.cur[1]);g=!0,gJ(e),B(e)}function B(e){const t=O[0],n=t.point0;var r;switch(L=t[0]-n[0],D=t[1]-n[1],_){case vJ:case mJ:w&&(L=wJ(A-i,xJ(T-d,L)),a=i+L,f=d+L),x&&(D=wJ(E-s,xJ(M-h,D)),l=s+D,p=h+D);break;case bJ:O[1]?(w&&(a=wJ(A,xJ(T,O[0][0])),f=wJ(A,xJ(T,O[1][0])),w=1),x&&(l=wJ(E,xJ(M,O[0][1])),p=wJ(E,xJ(M,O[1][1])),x=1)):(w<0?(L=wJ(A-i,xJ(T-i,L)),a=i+L,f=d):w>0&&(L=wJ(A-d,xJ(T-d,L)),a=i,f=d+L),x<0?(D=wJ(E-s,xJ(M-s,D)),l=s+D,p=h):x>0&&(D=wJ(E-h,xJ(M-h,D)),l=s,p=h+D));break;case yJ:w&&(a=wJ(A,xJ(T,i-L*w)),f=wJ(A,xJ(T,d+L*w))),x&&(l=wJ(E,xJ(M,s-D*x)),p=wJ(E,xJ(M,h+D*x)))}f<a&&(w*=-1,r=i,i=d,d=r,r=a,a=f,f=r,y in TJ&&I.attr("cursor",EJ[y=TJ[y]])),p<l&&(x*=-1,r=s,s=h,h=r,r=l,l=p,p=r,y in MJ&&I.attr("cursor",EJ[y=MJ[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),F.brush(e,_.name))}function j(e){if(function(e){e.stopImmediatePropagation()}(e),e.touches){if(e.touches.length)return;t&&clearTimeout(t),t=setTimeout((function(){t=null}),500)}else!function(e,t){var n=e.document.documentElement,r=xZ(e).on("dragstart.drag",null);t&&(r.on("click.drag",RX,FX),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);R.attr("pointer-events","all"),I.attr("cursor",EJ.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)),F.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=CJ(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=zr(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();$X(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=xZ(this.that).datum();a.call(t,this.that,new pJ(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:hJ(CJ(e)),l):n},l.filter=function(e){return arguments.length?(r="function"==typeof e?e:hJ(!!e),l):r},l.touchable=function(e){return arguments.length?(i="function"==typeof e?e:hJ(!!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}(SJ)}const PJ=(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 BJ extends CustomEvent{constructor(e){super("zoom",{detail:e})}}const jJ=(e,t=YJ)=>{const[n,r]=(0,i.J0)(e),o=(0,i.li)(n),a=(0,i.li)(t);return(0,i.vJ)((()=>{a.current=t}),[t]),(0,i.vJ)((()=>{o.current=n,a.current(o.current)}),[n]),[o,n,r]},YJ=()=>{},$J=e=>e?e<0?0:e:0;var qJ={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 HJ=()=>OX(),UJ={top:0,right:0,bottom:20,left:0},WJ=300,VJ=20,GJ=()=>{},KJ=e=>{const{width:t=WJ,height:n=VJ,margins:r=UJ,domainRange:o,currentSelection:a,tickFormat:s,onChange:l=GJ,onReset:c=GJ,selectedTestsCount:u,totalTestsCount:d,translations:f,transitionDuration:h=300}=e,p=$J(t-r.left-r.right),g=$J(n-r.top-r.bottom),[m,v,b]=jJ((()=>$i().domain(o).range([0,p])));(0,i.vJ)((()=>{b((()=>$i().domain(o).range([0,p])))}),[o,p]);const y=(0,i.li)(null),_=(0,i.li)(null),w=(0,i.li)(null),x=(0,i.li)(null),k=(0,i.li)(null),C=(0,i.li)(null),S=(0,i.li)(l),A=(0,i.li)(c);(0,i.vJ)((()=>{S.current=l,A.current=c}),[l,c]);const E=(0,i.li)(HJ().tickFormat((()=>""))),T=(0,i.li)(HJ().tickPadding(0)),M=(0,i.li)(zJ().handleSize(24).on("end",(e=>{if(!e.sourceEvent||!m.current||!S.current)return;if(!e.selection||2!==e.selection.length){const[e,t]=m.current.domain();return void S.current(e,t)}const[t,n]=e.selection.map((e=>v.invert(e)));S.current(t,n)})));(0,i.vJ)((()=>{if(!y.current||!v)return;if(!o||o[1]<=o[0])return;const[e,t]=o,n=(t-e)/6,i=[];for(let t=0;t<7;t++)i.push(e+n*t);if(i[0]=e,i[6]=t,T.current.scale(v).tickFormat(s).tickValues(i),E.current.scale(v).tickSize(-g).tickValues(i),xZ(_.current).attr("transform",`translate(${r.left},${r.top})`),xZ(w.current).exit().transition().duration(h).attr("width",0).attr("height",0),x.current&&(xZ(x.current).attr("transform",`translate(0,${g})`),xZ(x.current).call(E.current)),k.current&&(xZ(k.current).attr("transform",`translate(0,${g})`),xZ(k.current).call(T.current).selectAll("text").attr("y",8)),C.current){const e=xZ(C.current);e.select(".selection").attr("rx",2).attr("ry",2),e.call(M.current.extent([[0,0],[p,g]]));const t=[v(a[0]??o[0]),v(a[1]??o[1])];M.current.move(e,t)}}),[r,v,o,a,s,p,g,h]);const L=(u/d*100).toFixed(2);return Wt("svg",{ref:y,className:qJ.brusher,width:t,height:n+14,children:Wt("g",{ref:_,className:qJ.brusherMargins,children:[Wt("rect",{ref:w,className:qJ.gridBackground}),Wt("g",{ref:C,className:qJ.brush}),Wt("g",{className:qJ.axises,children:[Wt("g",{ref:x,className:qJ.xGrid}),Wt("g",{ref:k,className:qJ.xAxis}),Wt("text",{x:p/2,y:60,textAnchor:"middle",className:qJ.durationRangeText,children:f.selected({count:u,percentage:L,minDuration:hn(a[0]),maxDuration:hn(a[1])})})]})]})})},ZJ=e=>{const{segments:t,groupId:n,groupName:r,offsetTime:o}=e,[a,s]=(0,i.Kr)((()=>{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 Wt("div",{className:qJ.tooltipContent,children:[Wt("div",{children:r}),Wt("div",{children:[hn(a-o)," — ",hn(s-o)]})]})},XJ=(0,r.q6)(null),JJ=e=>{const{children:t,width:n}=e;return Wt(XJ.Provider,{value:n,children:t})},QJ=()=>{},eQ=e=>{const{children:t,width:n,onResize:r,debounceResize:o=0}=e,[a]=DL(n,o);return(0,i.vJ)((()=>{r?.(a)}),[a,r]),a>0?Wt(JJ,{width:a,children:t}):null},tQ=e=>{const{children:t,defaultWidth:n=0,onResize:r=QJ,debounceResize:o=0}=e,a=(0,i.li)(null),[s,l]=(0,i.J0)(n);return(0,i.vJ)((()=>{if(!a.current)return;l(a.current.clientWidth);const e=new ResizeObserver((e=>{for(const t of e)l(t.target.clientWidth)}));return e.observe(a.current),()=>e.disconnect()}),[n]),Wt("div",{ref:a,children:Wt(eQ,{width:s,onResize:r,debounceResize:o,children:t})})},nQ=e=>{const{segment:t,offsetTime:n}=e;if(!t.id)return null;const r=t.labelGroup.length>1;return Wt("div",{className:qJ.tooltipContent,children:[r?Wt("div",{className:qJ.labelGroup,children:t.labelGroup.map(((e,t)=>Wt(Zt,{type:"ui",size:"s",bold:!0,children:e},t)))}):Wt(Zt,{type:"ui",size:"s",bold:!0,children:t.label}),Wt("div",{children:[hn(t.timeRange[0].getTime()-n)," — ",hn(t.timeRange[1].getTime()-n)]})]})},rQ=()=>OX(),iQ={top:0,right:0,bottom:20,left:0},oQ=300,aQ=20,sQ=()=>{},lQ=e=>{const{width:t=oQ,height:n=aQ,margins:r=iQ,scale:o,domainRange:a,currentSelection:s,tickFormat:l,onChange:c=sQ,onReset:u=sQ,transitionDuration:d=300}=e,[f,h,p]=jJ((()=>o.copy()));(0,i.vJ)((()=>{p((()=>f.current.domain()===o.domain()&&f.current.range()===o.range()?f.current:o.copy()))}),[o]);const g=$J(t-r.left-r.right),m=$J(n-r.top-r.bottom);(0,i.vJ)((()=>{p((()=>o.copy().domain(a??[]).range([0,g])))}),[a,g,o]);const v=(0,i.li)(null),b=(0,i.li)(null),y=(0,i.li)(null),_=(0,i.li)(null),w=(0,i.li)(null),x=(0,i.li)(null),k=(0,i.li)(c),C=(0,i.li)(u),S=(0,i.li)(rQ().tickFormat((()=>""))),A=(0,i.li)(rQ().tickPadding(0)),E=(0,i.li)(zJ().handleSize(24).on("end",(e=>{if(!e.sourceEvent||!f.current||!k.current)return;if(!e.selection||2!==e.selection.length){const[e,t]=f.current.domain();return void k.current(e,t)}const[t,n]=e.selection.map((e=>f.current.invert(e)));k.current(t,n)})));return(0,i.vJ)((()=>{k.current=c,C.current=u}),[c,u]),(0,i.vJ)((()=>{if(v.current&&h&&a&&!(a[1]<=a[0])&&(A.current.scale(h).tickFormat(l),S.current.scale(h).tickSize(-m),S.current.ticks(7),xZ(b.current).attr("transform",`translate(${r.left},${r.top})`),xZ(y.current).transition().duration(d).attr("width",String(g)).attr("height",String(m)),_.current&&(xZ(_.current).attr("transform",`translate(0,${m})`),xZ(_.current).call(S.current)),w.current&&(xZ(w.current).attr("transform",`translate(0,${m})`),xZ(w.current).call(A.current).selectAll("text").attr("y",8)),x.current)){const e=xZ(x.current);e.select(".selection").attr("rx",2).attr("ry",2),e.call(E.current.extent([[0,0],[g,m]]));const t=[h(s?.[0]??a[0].getTime()),h(s?.[1]??a[1].getTime())];E.current.move(e,t)}}),[g,m,r,a,s,l,h,d]),Wt("svg",{ref:v,className:qJ.brusher,width:t,height:n,children:Wt("g",{ref:b,className:qJ.brusherMargins,children:[Wt("rect",{ref:y,className:qJ.gridBackground}),Wt("g",{ref:x,className:qJ.brush}),Wt("g",{className:qJ.axises,children:[Wt("g",{ref:_,className:qJ.xGrid}),Wt("g",{ref:w,className:qJ.xAxis})]})]})})};xZ.prototype.transition=yX;const cQ=e=>{const t={failed:"var(--timeline-status-failed, var(--color-status-failed-chart))",broken:"var(--timeline-status-broken, var(--color-status-broken-chart))",passed:"var(--timeline-status-passed, var(--color-status-passed-chart))",skipped:"var(--timeline-status-skipped, var(--color-status-skipped-chart))",unknown:"var(--timeline-status-unknown, var(--color-status-unknown-chart))"};return t[e]||t.unknown},uQ=e=>{const t={failed:"var(--color-status-failed-text)",broken:"var(--color-status-broken-text)",passed:"var(--color-status-passed-text)",skipped:"var(--color-status-skipped-text)",unknown:"var(--color-status-unknown-text)"};return t[e]||t.unknown},dQ=e=>{if(e>=20)return 4;if(e<4)return 0;const t=(e-4)/16;return t*(2-t)*4},fQ=100,hQ=100,pQ=e=>{const{data:t=[],translations:n}=e,r=(0,i.Bi)(),{durationRange:o,handleDurationChange:a,durationDomain:s}=(e=>{const t=(0,i.Kr)((()=>{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]=(0,i.J0)(t[0]),[o,a]=(0,i.J0)(t[1]);(0,i.vJ)((()=>{r(t[0])}),[t[0]]),(0,i.vJ)((()=>{a(t[1])}),[t[1]]);const s=(0,i.hb)(((e,t)=>{r(e),a(t)}),[]);return{durationRange:[n,o],handleDurationChange:s,durationDomain:t}})(t),l=(()=>{const e=(0,i.NT)(XJ);if(!e)throw new Error("useWidth must be used within a ResponsiveWrapper");return e})(),c=(0,i.li)(null),u=(0,i.li)(null),d=(0,i.li)(null),f=(0,i.li)(null),h=(0,i.li)(null),p=(0,i.li)(null),[g,m,v]=jJ((()=>vi())),[b,y,_]=jJ((()=>pi())),w=(0,i.li)(OX()),x=(0,i.li)(NX(1,void 0)),k=(0,i.li)(NX(4,void 0)),{tooltipRef:C,isVisible:S,handleShowTooltip:A,handleHideTooltip:E,data:T}=oV("bottom"),{tooltipRef:M,isVisible:L,handleShowTooltip:D,handleHideTooltip:N,data:O}=oV("bottom"),F=EH?0:500,R=EH?0:150,I=(0,i.li)(!1),z=t.length,P=$J(l-fQ-hQ),B=$J(24*z),j=B+26+30,Y=(0,i.Kr)((()=>{const e=[];for(const n of t)for(const t of n.segments)e.push({groupId:n.id,groupName:n.name,label:t.label,labelGroup:t.labelGroup,timeRange:t.timeRange,isRetry:t.isRetry,val:t.val,labelVal:t.val,segment:t,id:t.id});return e}),[t]),$=(0,i.Kr)((()=>t.map((e=>({id:e.id,name:e.name})))),[t]),q=(0,i.Kr)((()=>[ui(Y,(e=>e.timeRange[0])),ci(Y,(e=>e.timeRange[1]))]),[Y]),[H,U]=(0,i.J0)(q),[W,V]=(0,i.J0)([null,null]),G=(0,i.hb)((e=>{U((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))}),[]),K=(0,i.hb)((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))}),[]),[Z,X,J]=jJ((()=>bs().domain(q).range([0,P]).clamp(!0)));(0,i.vJ)((()=>{J((()=>Z.current.copy().domain(q))),G(q)}),[...q,G]),(0,i.vJ)((()=>{J((()=>Z.current.copy().range([0,P]).clamp(!0)))}),[P]);const Q=(0,i.Kr)((()=>[ui(Y,(e=>e.timeRange[0])),ci(Y,(e=>e.timeRange[1]))]),[Y]);(0,i.vJ)((()=>{if(!c.current)return;const e=e=>{const{zoomX:t,zoomY:n}=e.detail;t&&G(t),n&&K(n)};if(c.current?.addEventListener("zoom",e),!u.current)return;const t=xZ(u.current),n=e=>kZ(e,u.current);return t.on("mousedown",(e=>{if(null!=xZ(window).on("mousemove.zoomRect"))return;const r=n(e);if(r[0]<0||r[0]>P||r[1]<0||r[1]>B)return;I.current=!0;const i=t.append("rect").attr("class",qJ.zoomSelection);xZ(window).on("mousemove.zoomRect",(e=>{e.stopPropagation();const t=n(e),o=[Math.max(0,Math.min(P,t[0])),Math.max(0,Math.min(B,t[1]))];i.attr("x",Math.min(r[0],o[0])).attr("y",Math.min(r[1],o[1])).attr("width",Math.abs(o[0]-r[0])).attr("height",Math.abs(o[1]-r[1]))})).on("mouseup.zoomRect",(e=>{xZ(window).on("mousemove.zoomRect",null).on("mouseup.zoomRect",null),i.remove(),I.current=!1;const t=n(e),o=[Math.max(0,Math.min(P,t[0])),Math.max(0,Math.min(B,t[1]))];if(r[0]===o[0]&&r[1]===o[1])return;const a=[r[0],o[0]].sort(Gr).map((e=>Z.current.invert(e)));a[1].getTime()-a[0].getTime()>10&&c.current?.dispatchEvent(new BJ({zoomX:a,zoomY:null}))}),!0),e.stopPropagation()})),()=>{c.current?.removeEventListener("zoom",e)}}),[P,B,W,Y,G,K,y]),(0,i.vJ)((()=>{const e=H?.[0]&&H?.[1]?H:q;J((()=>Z.current.copy().domain(e).range([0,P]).clamp(!0)))}),[H,q,P]),(0,i.vJ)((()=>{k.current.scale(y)}),[y,$]),(0,i.vJ)((()=>{_((()=>b.current.copy().domain($.map((e=>e.id))).range($.map(((e,t)=>(t+.5)/z*B)))))}),[$,z,B]),(0,i.vJ)((()=>{v((()=>g.current.copy().domain($.map((e=>e.id))).range([B/$.length*.5,B*(1-.5/$.length)])))}),[$,B,z]),(0,i.vJ)((()=>{if(!(c.current&&X&&0!==B&&f.current&&h.current))return;const[e,t]=X.range();if(e===t)return;w.current.scale(X),w.current.ticks(7),w.current.tickFormat((e=>Q[0]?hn(e.getTime()-Q[0].getTime()):"")),x.current.scale(X).ticks(7).tickFormat((()=>"")),xZ(f.current).style("stroke-opacity",0).style("fill-opacity",0).attr("transform",`translate(0,${B})`).transition().duration(F).call(w.current).style("stroke-opacity",1).style("fill-opacity",1),x.current.tickSize(B),xZ(h.current).attr("transform",`translate(0,${B})`).transition().duration(F).call(x.current);const n=Math.ceil(2*z/Math.sqrt(2)/B/.6),r=g.current.domain().filter(((e,t)=>!(t%n)));let i=Math.min(12,B/r.length*.6*Math.sqrt(2)),o=Math.ceil(hQ/(i/Math.sqrt(2)));const a=y.range(),s=ui(a,((e,t)=>t>0?e-a[t-1]:2*e));i=Math.min(14,.6*$J(s)*Math.sqrt(2)),o=Math.floor(fQ/(i/Math.sqrt(2))),k.current.tickFormat((e=>{const t=$.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)}`})),xZ(p.current).transition().duration(F).style("font-size",`${i}px`).call(k.current),xZ(p.current).selectAll(".tick").each((function(e){const t=e,n=$.find((e=>e.id===t));n&&xZ(this).select("text").on("mouseover",(e=>{A(e.target,n)})).on("mouseout",(e=>{E(e.target)}))}))}),[P,B,z,F,Q,X,y,$,A,E]),(0,i.vJ)((()=>{if(!u.current||0===B)return;const e=xZ(u.current).selectAll(`rect.${qJ.group}`).data($,(e=>e.id));e.exit().transition().duration(F).style("stroke-opacity",0).style("fill-opacity",0).remove();const t=e.enter().append("rect").attr("class",qJ.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(F).attr("width",P).attr("height",B/z).attr("y",(e=>{const t=y(e.id);return Number.isInteger(t)?t-B/z/2:0})).style("fill-opacity",1).style("stroke-opacity",1)}),[$,P,B,z,F,y,A,E]);const[ee,te]=o,ne=(0,i.Kr)((()=>Y.filter((e=>{if(-1===y.domain().indexOf(e.groupId))return!1;const t=e.val;return!(t<ee||t>te)})).length),[y,Y,ee,te]),re=(0,i.Kr)((()=>Y.filter((e=>{if(-1===y.domain().indexOf(e.groupId))return!1;const t=e.val;if(t<ee||t>te)return!1;const[n,r]=X.domain(),[i,o]=e.timeRange;return!(o<n||i>r)}))),[y,X,Y,ee,te]);(0,i.vJ)((()=>{u.current&&0!==B&&X&&(async()=>{let e=xZ(u.current).selectAll(`rect.${qJ.segment}`).data(re,(e=>e.id));if(0===re.length)return void e.exit().remove();e.exit().transition().duration(F).style("fill-opacity",0).remove();const t=e.enter().append("rect").attr("class",qJ.segment).attr("rx",1).attr("ry",1).attr("x",(e=>X(e.timeRange[0]))).attr("y",(e=>(m(e.groupId)||0)-10)).attr("width",0).attr("height",0).style("fill",(e=>cQ(e.segment.status))).style("fill-opacity",0);t.on("mouseover",(function(e,t){I.current||(xZ(this).transition().duration(R).attr("x",Z.current(t.timeRange[0])-1).attr("width",ci([2,Z.current(t.timeRange[1])-Z.current(t.timeRange[0])])+2).attr("y",(g.current(t.groupId)||0)-11).attr("height",22).style("fill-opacity",1),D(e.target,t))})).on("mouseout",(function(e,t){if(I.current)return;const n=Z.current(t.timeRange[1])-Z.current(t.timeRange[0]);xZ(this).transition().duration(R).attr("x",Z.current(t.timeRange[0])).attr("width",ci([2,n])??0).attr("y",(g.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=X(e.timeRange[1])-X(e.timeRange[0]);return dQ(t)})).attr("ry",(e=>{const t=X(e.timeRange[1])-X(e.timeRange[0]);return dQ(t)})).attr("stroke-width",(e=>X(e.timeRange[1])-X(e.timeRange[0])>=12?.5:.1)).attr("stroke","var(--timeline-bg, #ffffff)").attr("height",20),e.transition().duration(F).attr("x",(e=>X(e.timeRange[0]))).attr("y",(e=>(m(e.groupId)||0)-10)).attr("width",(e=>{const t=ci([2,(X(e.timeRange[1])??0)-(X(e.timeRange[0])??0)]);return(t??0)<0?0:t??0})).attr("height",20).style("fill",(e=>e.isRetry?`url(#gradient-${r}-${e.segment.status})`:cQ(e.segment.status))).style("fill-opacity",1)})()}),[re,P,B,P,F,H,X,R,m,r]),(0,i.vJ)((()=>{c.current&&xZ(c.current).transition().duration(F).attr("width",l).attr("height",j)}),[l,j,F]);const ie=(0,i.hb)(((e,t)=>G([e,t])),[G]),[oe,ae]=X.range(),se=oe!==ae;return se?Wt("div",{className:qJ.timelineChart,children:[s[0]!==s[1]&&se&&Wt(KJ,{selectedTestsCount:ne,totalTestsCount:Y.length,translations:n,width:l,height:76,margins:{top:26,right:hQ,bottom:30,left:fQ},domainRange:s,currentSelection:[ee,te],onChange:a,onReset:()=>a(s[0],s[1]),tickFormat:e=>hn(e)},l),Wt("svg",{ref:c,width:l,height:j,children:[Wt("defs",{children:an.map((e=>Wt("pattern",{id:`gradient-${r}-${e}`,patternUnits:"userSpaceOnUse",width:"10",height:"10",patternTransform:"rotate(-45 5 5)",children:[Wt("rect",{width:"5",height:"10",fill:uQ(e)}),Wt("rect",{x:"5",width:"5",height:"10",fill:cQ(e)})]},e)))}),Wt("g",{ref:d,className:qJ.axises,"data-label":"axises",transform:"translate(100,26)",children:[Wt("g",{ref:f,className:qJ.xAxis,"data-label":"x-axis"}),Wt("g",{ref:h,className:qJ.xGrid,"data-label":"grid"}),Wt("g",{ref:p,className:qJ.groupAxis,"data-label":"groups-axis"})]}),Wt("g",{ref:u,"data-label":"graph",transform:"translate(100,26)",children:Wt("rect",{"data-label":"graph-selection",x:0,y:0,width:P,height:B,fill:"transparent"})})]}),q[0].getTime()!==q[1].getTime()&&se&&Wt(lQ,{width:l,height:76,margins:{top:26,right:hQ,bottom:30,left:fQ},scale:X,domainRange:q,currentSelection:H,onChange:ie,onReset:()=>G(q),tickFormat:e=>hn(e.getTime()-Q[0].getTime())}),Vf(Wt("div",{ref:C,"data-visible":S,className:qJ.tooltip,children:T?.id&&Wt(ZJ,{segments:re,groupId:T.id,groupName:T.name,offsetTime:Q[0].getTime()})}),document.body),Vf(Wt("div",{ref:M,"data-visible":L,className:qJ.tooltip,children:O&&Wt(nQ,{segment:O,offsetTime:Q[0].getTime()})}),document.body)]}):null},gQ=e=>{const{data:t,width:n,dataId:r,...o}=e,a=(0,i.Kr)((()=>((e,t)=>{const n=[];for(const r of e){const{host:e,thread:i,historyId:o,id:a,start:s,duration:l,status:c,isRetry:u,name:d}=r,f=s+l,h=PJ(e,t),p=PJ(i,h),g=n.find((({id:e})=>e===p)),m=g?.segments??[],v=o??a,b=-1!==m.findIndex((({id:e})=>e===v)),y=m.find((({timeRange:e})=>e[0].getTime()===s&&e[1].getTime()===f));b||y||m.push({label:d,labelGroup:[d],timeRange:[new Date(s),new Date(f)],val:l,status:c,id:v,isRetry:u}),!b&&y&&y.labelGroup.push(r.name),g?g.segments=m:n.push({id:p,name:i,segments:m})}return n})(t,r)),[t,r]);return Wt("div",{className:qJ.timelineContainer,children:Wt(tQ,{defaultWidth:n,children:Wt(pQ,{...o,data:a},r)})})}},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){return"styles-"+{121:"212da6c68fa0beb4c6c5",779:"5c882b14b6f3112e40c4"}[e]+".css"},a.h=function(){return"d36b0855e3e7a53eeee9"},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(){if("undefined"!=typeof document){var e=function(e){return new Promise((function(t,n){var r=a.miniCssF(e),i=a.p+r;if(function(e,t){for(var n=document.getElementsByTagName("link"),r=0;r<n.length;r++){var i=(a=n[r]).getAttribute("data-href")||a.getAttribute("href");if("stylesheet"===a.rel&&(i===e||i===t))return a}var o=document.getElementsByTagName("style");for(r=0;r<o.length;r++){var a;if((i=(a=o[r]).getAttribute("data-href"))===e||i===t)return a}}(r,i))return t();!function(e,t,n,r,i){var o=document.createElement("link");o.rel="stylesheet",o.type="text/css",a.nc&&(o.nonce=a.nc),o.onerror=o.onload=function(n){if(o.onerror=o.onload=null,"load"===n.type)r();else{var a=n&&n.type,s=n&&n.target&&n.target.href||t,l=new Error("Loading CSS chunk "+e+" failed.\n("+a+": "+s+")");l.name="ChunkLoadError",l.code="CSS_CHUNK_LOAD_FAILED",l.type=a,l.request=s,o.parentNode&&o.parentNode.removeChild(o),i(l)}},o.href=t,n?n.parentNode.insertBefore(o,n.nextSibling):document.head.appendChild(o)}(e,i,null,t,n)}))},t={792:0};a.f.miniCss=function(n,r){t[n]?r.push(t[n]):0!==t[n]&&{121:1,779:1}[n]&&r.push(t[n]=e(n).then((function(){t[n]=0}),(function(e){throw delete t[n],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 jo},"status-failed":function(){return Yo},"status-passed":function(){return $o},"status-skipped":function(){return qo},"status-unknown":function(){return Ho},"test-result-status":function(){return Uo},"test-result-status-icon":function(){return Wo},"test-result-status-text":function(){return Vo}});var t={};a.r(t),a.d(t,{"message-color-broken":function(){return Xo},"message-color-failed":function(){return Jo},"message-color-passed":function(){return Qo},"message-color-skipped":function(){return ea},"message-color-unknown":function(){return ta},"message-status-broken":function(){return na},"message-status-failed":function(){return ra},"message-status-passed":function(){return ia},"message-status-skipped":function(){return oa},"message-status-unknown":function(){return aa},"tree-content":function(){return sa},"tree-item-message":function(){return la},"tree-item-message-actions":function(){return ca},"tree-item-message-arrow":function(){return ua},"tree-item-message-body":function(){return da},"tree-item-message-card":function(){return fa},"tree-item-message-card-expanded":function(){return ha},"tree-item-message-container":function(){return pa},"tree-item-message-expand":function(){return ga},"tree-item-message-header":function(){return ma},"tree-item-message-header-expanded":function(){return va},"tree-item-message-stats":function(){return ba},"tree-item-message-title":function(){return ya},"tree-item-subtree-toggle":function(){return _a}});var n={};a.r(n),a.d(n,{"severity-blocker":function(){return xa},"severity-critical":function(){return ka},"severity-minor":function(){return Ca},"severity-normal":function(){return Sa},"severity-trivial":function(){return Aa},"test-result-severity":function(){return Ea},"test-result-severity-text":function(){return Ta}});var r={};a.r(r),a.d(r,{"attachment-background":function(){return Ka},empty:function(){return Za},"failed-steps":function(){return Xa},"html-attachment-preview":function(){return Ja},"item-button":function(){return Qa},"item-button-active":function(){return es},"item-button-syntax-off":function(){return ts},"item-buttons":function(){return ns},"item-info":function(){return rs},"item-info-step":function(){return is},"item-info-step-icon":function(){return os},"item-status":function(){return as},"item-status-icon":function(){return ss},"item-time":function(){return ls},"status-broken":function(){return cs},"status-failed":function(){return us},"status-passed":function(){return ds},"status-skipped":function(){return fs},"status-unknown":function(){return hs},"test-result-attachment-arrow":function(){return ps},"test-result-attachment-arrow-opened":function(){return gs},"test-result-attachment-content":function(){return ms},"test-result-attachment-content-wrapper":function(){return vs},"test-result-attachment-error":function(){return bs},"test-result-attachment-header":function(){return ys},"test-result-attachment-icon":function(){return _s},"test-result-attachment-image":function(){return ws},"test-result-attachment-missed":function(){return xs},"test-result-attachment-text":function(){return ks},"test-result-attachment-toggle":function(){return Cs},"test-result-error-step-content":function(){return Ss},"test-result-header-text":function(){return As},"test-result-parameters":function(){return Es},"test-result-spinner":function(){return Ts},"test-result-step":function(){return Ms},"test-result-step-button":function(){return Ls},"test-result-step-chevron":function(){return Ds},"test-result-step-chevron-open":function(){return Ns},"test-result-step-content":function(){return Os},"test-result-step-header":function(){return Fs},"test-result-step-number":function(){return Rs},"test-result-step-root":function(){return Is},"test-result-step-subtree-toggle":function(){return zs},"test-result-steps":function(){return Ps},"test-result-steps-root":function(){return Bs},"test-result-strut":function(){return js},"test-result-visibility-hidden":function(){return Ys},"wrong-attachment-sign":function(){return $s}});var i={};a.r(i),a.d(i,{diff:function(){return kl},"diff-buttons":function(){return Cl},"diff-buttons-title":function(){return Sl},"diff-controls":function(){return Al},"diff-green":function(){return El},"diff-grey":function(){return Tl},"diff-red":function(){return Ml},"diff-screen":function(){return Ll},"diff-view":function(){return Dl},expected:function(){return Nl},side:function(){return Ol},"side-by-side":function(){return Fl},"side-title":function(){return Rl},"test-result-error":function(){return Il},"test-result-error-header":function(){return zl},"test-result-error-message":function(){return Pl},"test-result-error-text":function(){return Bl},"test-result-error-trace":function(){return jl},"tr-color-broken":function(){return Yl},"tr-color-failed":function(){return $l},"tr-color-passed":function(){return ql},"tr-color-skipped":function(){return Hl},"tr-color-unknown":function(){return Ul},"tr-status-broken":function(){return Wl},"tr-status-failed":function(){return Vl},"tr-status-passed":function(){return Gl},"tr-status-skipped":function(){return Kl},"tr-status-unknown":function(){return Zl},unified:function(){return Xl}});var o={};a.r(o),a.d(o,{"metadata-color-badge":function(){return dc},"metadata-icon":function(){return fc},"metadata-item-title":function(){return hc},"metadata-item-value":function(){return pc},"metadata-test-type":function(){return gc},"metadata-tooltip":function(){return mc},"metadata-tooltip-value":function(){return vc},"metadata-with-icon":function(){return bc},"report-metadata":function(){return yc},"report-metadata-all-tests":function(){return _c},"report-metadata-keyvalue":function(){return wc},"report-metadata-keyvalue-title":function(){return xc},"report-metadata-keyvalue-value":function(){return kc},"report-metadata-keyvalue-wrapper":function(){return Cc},"report-metadata-list":function(){return Sc},"report-metadata-s":function(){return Ac},"report-metadata-separator":function(){return Ec},"report-metadata-status":function(){return Tc},"report-metadata-summary":function(){return Mc},"report-metadata-values":function(){return Lc},"report-metadata-wrapper":function(){return Dc},"status-broken":function(){return Nc},"status-failed":function(){return Oc},"status-passed":function(){return Fc},"status-skipped":function(){return Rc},"status-unknown":function(){return Ic}});var s={};a.r(s),a.d(s,{"metadata-color-badge":function(){return Uc},"metadata-icon":function(){return Wc},"metadata-item-title":function(){return Vc},"metadata-item-value":function(){return Gc},"metadata-test-type":function(){return Kc},"metadata-with-icon":function(){return Zc},"report-metadata":function(){return Xc},"report-metadata-all-tests":function(){return Jc},"report-metadata-keyvalue":function(){return Qc},"report-metadata-keyvalue-title":function(){return eu},"report-metadata-keyvalue-value":function(){return tu},"report-metadata-list":function(){return nu},"report-metadata-separator":function(){return ru},"report-metadata-status":function(){return iu},"report-metadata-summary":function(){return ou},"report-metadata-wrapper":function(){return au},"status-broken":function(){return su},"status-failed":function(){return lu},"status-passed":function(){return cu},"status-skipped":function(){return uu},"status-unknown":function(){return du}});var l={};a.r(l),a.d(l,{"status-broken":function(){return Vu},"status-failed":function(){return Gu},"status-passed":function(){return Ku},"status-skipped":function(){return Zu},"status-unknown":function(){return Xu},"test-result-prev-status":function(){return Ju},"test-result-prev-status-tooltip":function(){return Qu},"test-result-prev-statuses":function(){return ed}});var c={};a.r(c),a.d(c,{content:function(){return zf},layout:function(){return Pf},"layout-base":function(){return Bf},loader:function(){return jf},loading:function(){return Yf},main:function(){return $f},split:function(){return qf}});var u=a(1848),d=a(2636),f=a(3175);function h(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=h(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function p(){for(var e,t,n=0,r="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=h(e))&&(r&&(r+=" "),r+=t);return r}var g=p,m=a(841),v=a(4501),b="fma_u1MG",y=a(1968);const _=()=>(0,y.Y)("div",{className:b,children:(0,y.FD)("a",{href:"https://allurereport.org",target:"_blank",rel:"noreferrer",children:[(0,y.Y)(d.EY,{type:"paragraph",size:"m",className:b,children:"Powered by"}),(0,y.Y)(d.vf,{className:"XNvCzvZ7"})]})});var w=a(9254);const x=()=>{const[e]=(0,v.J0)((()=>{const e=(0,u.nj)();if(e?.createdAt)return Number(e.createdAt)})),[t]=(0,v.J0)((()=>{const e=(0,u.nj)();if(e?.allureVersion)return e.allureVersion})),n=new Date(e).toLocaleDateString(w.xs.value,{month:"numeric",day:"numeric",year:"numeric",hour:"numeric",minute:"numeric",second:"numeric"});return(0,y.FD)(d.EY,{type:"paragraph",size:"m",className:"YdnHCDVV",children:[n,t&&(0,y.FD)("span",{children:[" Ver: ",t]})]})};var k="CfGgwYiF",C="b2XhjWBW";const S=({className:e})=>(0,y.FD)("div",{className:p("hYe6DCa9",e),children:[(0,y.Y)(_,{}),(0,y.Y)(x,{})]});var A=a(4080);const E=({value:e})=>{const t=(0,v.li)(null),[n,r]=(0,v.J0)(!1);(0,v.vJ)((()=>{const e=t.current;e&&r((e=>e.scrollWidth>e.clientWidth)(e))}),[e]);const i=(0,y.Y)("span",{ref:t,className:"cYS83oHN",children:e});return n?(0,y.Y)(d.T_,{tooltipText:e,children:i}):i},T=()=>{const{t:e}=(0,w.s9)("environments"),t=A.hf.value,n=t?(0,A.J_)(t):e("all"),{ref:r,isTruncated:i}=(0,d.dL)([n]),o=e=>{(0,A.F8)(e)};return A.GQ.value.data.length<=1?null:(0,y.FD)("div",{className:"J13nhfx4","data-testid":"environment-picker",children:[(0,y.Y)(d.Ah,{id:d.aA.environment,size:"s"}),(0,y.FD)(d.EY,{className:"oDZnH_Bx",type:"ui",size:"s",bold:!0,children:[e("environment",{count:1}),":"]}),(0,y.Y)(d.W1,{size:"s",menuTrigger:({isOpened:e,onClick:t})=>{const o=(0,y.Y)(d.gf,{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:(0,y.Y)(d.T_,{tooltipText:n,"data-testid":"environment-picker-selected-tooltip",children:o})},children:(0,y.FD)(d.W1.Section,{children:[(0,y.Y)(d.W1.ItemWithCheckmark,{"data-testid":"environment-picker-item",onClick:()=>o(""),isChecked:!t,children:e("all")}),A.GQ.value.data.map((e=>(0,y.Y)(d.W1.ItemWithCheckmark,{"data-testid":"environment-picker-item",onClick:()=>o(e.id),isChecked:e.id===t,children:(0,y.Y)(E,{value:e.name})},e.id)))]})})]})},M=(0,u.nj)(),L="base",D=(0,f.vP)((()=>{if("undefined"==typeof window)return L;const e=localStorage.getItem("layout");return null!==e?e:e??M?.layout??L})()),N=(0,f.vP)(!1),O=()=>{N.value=!0,setTimeout((()=>{var e;e="base"===D.value?"split":"base",D.value=e,document.documentElement.setAttribute("data-layout",e),window.localStorage.setItem("layout",e),setTimeout((()=>{N.value=!1}),300)}),200)},F=(0,f.EW)((()=>"split"===D.value));var R=()=>{const e=F.value?d.aA.lineLayoutsLayoutTop:d.aA.lineLayoutsColumn2;return(0,y.Y)(d.K0,{"data-testId":"toggle-layout-button",size:"s",icon:e,style:"ghost",onClick:()=>O()})},I=a(3317);const z=(0,f.EW)((()=>u.nc.value.selected)),P=({className:e})=>(0,y.FD)("div",{className:e,children:[(0,y.Y)(T,{}),(0,y.Y)(d.Ng,{locale:I.IJ.value,setLocale:I.xS}),(0,y.Y)(R,{}),(0,y.Y)(d.oy,{theme:z.value,toggleTheme:u.ZX})]});const B=e=>e&&"overview"!==e?e:void 0,j=e=>{const t={...e,tab:B(e.tab)},n=K.value.matches?"/:rootTab/:testResultId/:tab?":"/:testResultId/:tab?",r=K.value.matches?{...t,rootTab:K.value.params.rootTab}:t;(0,u.VJ)({path:n,params:r,keepSearchParams:!0})},Y=e=>{const t={...e,tab:B(e.tab)};(0,u.VJ)({path:"/:testResultId/:tab?",params:t,keepSearchParams:!0})},$=e=>{const t={...e,tab:B(e.tab)},n=K.value.matches?"/:rootTab/:testResultId/:tab?":"/:testResultId/:tab?",r=K.value.matches?{...t,rootTab:K.value.params.rootTab}:t;(0,u.VJ)({path:n,params:r,keepSearchParams:!0,replace:!0})},q=()=>{(0,u.VJ)({path:"/",keepSearchParams:!0})},H=e=>{(0,u.VJ)({path:"/:rootTab",params:e,keepSearchParams:!0})},U=e=>{const t={...e,tab:B(e.tab)};(0,u.VJ)({path:"/:rootTab/:testResultId/:tab?",params:t,keepSearchParams:!0})},W=e=>{(0,u.VJ)({path:"/:section",params:e,keepSearchParams:!0,replace:!1})},V=["charts","timeline"],G=["categories","qualityGate","globalAttachments","globalErrors"],K=(0,f.EW)((()=>(0,u.un)("/:rootTab/:testResultId?/:tab?",(({params:e})=>G.includes(e.rootTab)&&e.rootTab!==e.testResultId)))),Z=((0,f.EW)((()=>(0,u.un)("/categories/:testResultId?/:tab?"))),(0,f.EW)((()=>(0,u.un)("/:testResultId/:tab?",(({params:e})=>e.testResultId&&"categories"!==e.testResultId&&!V.includes(e.testResultId)&&!G.includes(e.testResultId)))))),X=((0,f.EW)((()=>(0,u.un)("/"))),(0,f.EW)((()=>(0,u.un)("/:section",(({params:e})=>V.includes(e.section)))))),J="default",Q=(0,u.nj)(),ee=Q?.defaultSection??"default",te=Q?.sections??[];(()=>{const e=X.peek().matches,t=ee===J,n=te.includes(ee);e||t||!n||W({section:ee})})();const ne=(0,f.EW)((()=>X.value.matches?X.value.params.section??"default":"default"));(0,f.QZ)((()=>{const e=ne.value;e&&document.documentElement.setAttribute("data-section",e)}));const re={name:"report",logo:d.aA.reportLogo},ie={default:re,charts:{name:"charts",logo:d.aA.lineChartsBarChartSquare},timeline:{name:"timeline",logo:d.aA.lineChartsTimeline}},oe=()=>{const e=ie[ne.value]||re,{t:t}=(0,w.s9)("sections");return(0,y.Y)(d.W1,{size:"m",placement:"bottom-start",menuTrigger:({isOpened:n,onClick:r})=>(0,y.Y)(d.gf,{style:"ghost",size:"m",text:t(e.name),icon:e.logo,isExpanded:n,onClick:r,iconSize:"xs"}),children:(0,y.Y)(d.W1.Section,{children:["default",...te].map((e=>(0,y.Y)(d.W1.ItemWithCheckmark,{onClick:()=>(e=>{const t=e===J,n=te.includes(e),r=ne.peek()!==e;t?q():r&&n&&W({section:e})})(e),isChecked:ne.value===e,children:(0,y.FD)("div",{className:"FdktBcO1",children:[(0,y.Y)(d.Ah,{id:ie[e]?.logo,size:"s"}),t(ie[e]?.name)||e]})},e)))})})};var ae="ChConoqG",se="DC096Vl9",le="vCHAp_yZ";const ce=({testResult:e})=>{const{breadcrumbs:t,name:n}=e||{};return(0,y.FD)("div",{className:"KayT_VKx",children:[(0,y.Y)("div",{className:g(ae,"DJELNKs1"),children:(0,y.Y)(d.K0,{icon:d.aA.lineGeneralHomeLine,size:"s",style:"ghost",className:"F1I3vLtG",onClick:()=>q()})}),Boolean(t?.length)&&t?.[0]?.map(((e,t)=>(0,y.FD)("div",{className:ae,children:[(0,y.Y)(d.Ah,{id:d.aA.lineArrowsChevronDown,className:se}),(0,y.Y)(d.EY,{size:"s",bold:!0,className:le,children:e})]},t))),(0,y.FD)("div",{className:ae,children:[n&&(0,y.Y)(d.Ah,{id:d.aA.lineArrowsChevronDown,className:se}),(0,y.Y)(d.EY,{size:"s",bold:!0,className:le,children:n})]})]})},ue={matches:!1,params:{}},de=(0,f.EW)((()=>K.value.matches&&K.value.params.testResultId?K.value:Z.value.matches?Z.value:ue)),fe=(0,f.EW)((()=>de.value.params.tab??"overview")),he=(0,f.EW)((()=>de.value.params.testResultId)),pe=(0,f.vP)({loading:!0,error:void 0,data:void 0}),ge=(0,f.vP)({loading:!0,error:void 0,data:void 0}),me=async e=>{const t=pe.peek().data;if(!(!e||t&&e in t)){pe.value={...pe.peek(),loading:!0,error:void 0};try{const t=await(0,u.tj)(`data/test-results/${e}.json`,{bustCache:!0});pe.value={data:{...pe.peek().data,[e]:t},error:void 0,loading:!1}}catch(e){pe.value={...pe.peek(),error:e.message,loading:!1}}}};var ve=a(4684),be="K4Vp94XL";const ye=({type:e})=>{const t={width:16,height:16};switch(e){case ve.Tv.Amazon:return(0,y.Y)(d.Ah,{id:d.aA.amazon,...t});case ve.Tv.Azure:return(0,y.Y)(d.Ah,{id:d.aA.azure,...t});case ve.Tv.Bitbucket:return(0,y.Y)(d.Ah,{id:d.aA.bitbucket,...t});case ve.Tv.Circle:return(0,y.Y)(d.Ah,{id:d.aA.circleci,...t});case ve.Tv.Drone:return(0,y.Y)(d.Ah,{id:d.aA.drone,...t});case ve.Tv.Github:return(0,y.Y)(d.Ah,{id:d.aA.github,...t});case ve.Tv.Gitlab:return(0,y.Y)(d.Ah,{id:d.aA.gitlab,...t});case ve.Tv.Jenkins:return(0,y.Y)(d.Ah,{id:d.aA.jenkins,...t});default:return null}},_e=({className:e})=>{const{ci:t}=(0,u.nj)();if(!t)return null;const n=t.pullRequestUrl||t.jobRunUrl||t.jobUrl,r=(0,ve.UG)(n),i=t.pullRequestName||t.jobRunName||t.jobName||n;return n?r?(0,y.FD)("a",{className:g(be,e),href:r,target:"_blank",rel:"noopener noreferrer",children:[(0,y.Y)(ye,{type:t.type}),(0,y.Y)(d.EY,{type:"paragraph",size:"m",bold:!0,children:i})]}):(0,y.FD)("span",{className:g(be,e),children:[(0,y.Y)(ye,{type:t.type}),(0,y.Y)(d.EY,{type:"paragraph",size:"m",bold:!0,children:i})]}):null};const we=(0,f.EW)((()=>Z.value.matches||Boolean(K.value.params.testResultId))),xe=(0,f.EW)((()=>pe.value?.data?.[he.value])),ke=({className:e})=>(0,y.FD)("div",{className:g("y3b2nNS8",e),children:[(0,y.Y)(oe,{}),!we.value&&(0,y.Y)(_e,{}),we.value&&(0,y.Y)(ce,{testResult:xe.value}),(0,y.Y)(P,{className:"yme8680C"})]});var Ce=a(4512);const Se=(e,t)=>{const n=t.split(","),r=n.includes("status"),i=n.includes("desc"),o=(0,ve.VE)("name",(0,ve.UH)());return(0,ve.hg)([i&&!r?(0,ve.BE)(e):e,i&&r?(0,ve.BE)(o):o])},Ae=(e="status,asc")=>{const t=((e="status,asc")=>{const t=ve.VE;switch(e){case"order,asc":case"order,desc":return t("groupOrder",(0,ve.IE)());case"duration,asc":case"duration,desc":return t("duration",(0,ve.IE)());case"name,asc":case"name,desc":return t("name",(0,ve.UH)());case"status,asc":case"status,desc":return t("status",(0,ve.GF)());default:return console.warn(`unsupported comparator ${e}`),()=>0}})(e);return Se(t,e)},Ee=(e="status,asc")=>{const t=((e="status,asc")=>{const t=ve.VE;switch(e){case"name,desc":case"name,asc":return t("name",(0,ve.UH)());case"order,desc":case"order,asc":case"duration,desc":case"duration,asc":case"status,desc":case"status,asc":return t("statistic",(0,ve.ax)());default:return console.warn(`unsupported comparator ${e}`),()=>0}})(e);return Se(t,e)},Te=e=>{const{group:t,groupsById:n,leavesById:r,filterPredicate:i,sortBy:o}=e,a=((e=[],t,n,r="status,asc")=>{let i=[...e].map((e=>t[e]));n&&(i=i.filter(n));const o=Ae(r);return i.sort(o)})(t.leaves??[],r,i,o),s=t.groups?.flatMap((e=>{const t=n[e];return t?[Te({group:t,groupsById:n,leavesById:r,filterPredicate:i,sortBy:o})]:[]}))?.filter((e=>!Me(e)))??[],l=(0,ve.WO)();return s.forEach((e=>{if(e.statistic){const t=e.statistic;(0,ve.$C)(l,t)}})),a.forEach((e=>{const t=e.status;(0,ve.MF)(l,t)})),{...t,statistic:l,leaves:a,trees:s.sort(Ee(o))}},Me=e=>!e.trees?.length&&!e.leaves?.length||!e.leaves?.length&&e.trees?.every((e=>Me(e))),Le="KEYS",De="VALUES",Ne="";class Oe{constructor(e,t){const n=e._tree,r=Array.from(n.keys());this.set=e,this._type=t,this._path=r.length>0?[{node:n,keys:r}]:[]}next(){const e=this.dive();return this.backtrack(),e}dive(){if(0===this._path.length)return{done:!0,value:void 0};const{node:e,keys:t}=Fe(this._path);if(Fe(t)===Ne)return{done:!1,value:this.result()};const n=e.get(Fe(t));return this._path.push({node:n,keys:Array.from(n.keys())}),this.dive()}backtrack(){if(0===this._path.length)return;const e=Fe(this._path).keys;e.pop(),e.length>0||(this._path.pop(),this.backtrack())}key(){return this.set._prefix+this._path.map((({keys:e})=>Fe(e))).filter((e=>e!==Ne)).join("")}value(){return Fe(this._path).node.get(Ne)}result(){switch(this._type){case De:return this.value();case Le:return this.key();default:return[this.key(),this.value()]}}[Symbol.iterator](){return this}}const Fe=e=>e[e.length-1],Re=(e,t,n,r,i,o,a,s)=>{const l=o*a;e:for(const c of e.keys())if(c===Ne){const t=i[l-1];t<=n&&r.set(s,[e.get(c),t])}else{let l=o;for(let e=0;e<c.length;++e,++l){const r=c[e],o=a*l,s=o-a;let u=i[o];const d=Math.max(0,l-n-1),f=Math.min(a-1,l+n);for(let e=d;e<f;++e){const n=r!==t[e],a=i[s+e]+ +n,l=i[s+e+1]+1,c=i[o+e]+1,d=i[o+e+1]=Math.min(a,l,c);d<u&&(u=d)}if(u>n)continue e}Re(e.get(c),t,n,r,i,l,a,s+c)}};class Ie{constructor(e=new Map,t=""){this._size=void 0,this._tree=e,this._prefix=t}atPrefix(e){if(!e.startsWith(this._prefix))throw new Error("Mismatched prefix");const[t,n]=ze(this._tree,e.slice(this._prefix.length));if(void 0===t){const[t,r]=qe(n);for(const n of t.keys())if(n!==Ne&&n.startsWith(r)){const i=new Map;return i.set(n.slice(r.length),t.get(n)),new Ie(i,e)}}return new Ie(t,e)}clear(){this._size=void 0,this._tree.clear()}delete(e){return this._size=void 0,je(this._tree,e)}entries(){return new Oe(this,"ENTRIES")}forEach(e){for(const[t,n]of this)e(t,n,this)}fuzzyGet(e,t){return((e,t,n)=>{const r=new Map;if(void 0===t)return r;const i=t.length+1,o=i+n,a=new Uint8Array(o*i).fill(n+1);for(let e=0;e<i;++e)a[e]=e;for(let e=1;e<o;++e)a[e*i]=e;return Re(e,t,n,r,a,1,i,""),r})(this._tree,e,t)}get(e){const t=Pe(this._tree,e);return void 0!==t?t.get(Ne):void 0}has(e){const t=Pe(this._tree,e);return void 0!==t&&t.has(Ne)}keys(){return new Oe(this,Le)}set(e,t){if("string"!=typeof e)throw new Error("key must be a string");this._size=void 0;return Be(this._tree,e).set(Ne,t),this}get size(){if(this._size)return this._size;this._size=0;const e=this.entries();for(;!e.next().done;)this._size+=1;return this._size}update(e,t){if("string"!=typeof e)throw new Error("key must be a string");this._size=void 0;const n=Be(this._tree,e);return n.set(Ne,t(n.get(Ne))),this}fetch(e,t){if("string"!=typeof e)throw new Error("key must be a string");this._size=void 0;const n=Be(this._tree,e);let r=n.get(Ne);return void 0===r&&n.set(Ne,r=t()),r}values(){return new Oe(this,De)}[Symbol.iterator](){return this.entries()}static from(e){const t=new Ie;for(const[n,r]of e)t.set(n,r);return t}static fromObject(e){return Ie.from(Object.entries(e))}}const ze=(e,t,n=[])=>{if(0===t.length||null==e)return[e,n];for(const r of e.keys())if(r!==Ne&&t.startsWith(r))return n.push([e,r]),ze(e.get(r),t.slice(r.length),n);return n.push([e,t]),ze(void 0,"",n)},Pe=(e,t)=>{if(0===t.length||null==e)return e;for(const n of e.keys())if(n!==Ne&&t.startsWith(n))return Pe(e.get(n),t.slice(n.length))},Be=(e,t)=>{const n=t.length;e:for(let r=0;e&&r<n;){for(const i of e.keys())if(i!==Ne&&t[r]===i[0]){const o=Math.min(n-r,i.length);let a=1;for(;a<o&&t[r+a]===i[a];)++a;const s=e.get(i);if(a===i.length)e=s;else{const n=new Map;n.set(i.slice(a),s),e.set(t.slice(r,r+a),n),e.delete(i),e=n}r+=a;continue e}const i=new Map;return e.set(t.slice(r),i),i}return e},je=(e,t)=>{const[n,r]=ze(e,t);if(void 0!==n)if(n.delete(Ne),0===n.size)Ye(r);else if(1===n.size){const[e,t]=n.entries().next().value;$e(r,e,t)}},Ye=e=>{if(0===e.length)return;const[t,n]=qe(e);if(t.delete(n),0===t.size)Ye(e.slice(0,-1));else if(1===t.size){const[n,r]=t.entries().next().value;n!==Ne&&$e(e.slice(0,-1),n,r)}},$e=(e,t,n)=>{if(0===e.length)return;const[r,i]=qe(e);r.set(i+t,n),r.delete(i)},qe=e=>e[e.length-1],He="or",Ue="and",We="and_not";class Ve{constructor(e){if(null==(null==e?void 0:e.fields))throw new Error('MiniSearch: option "fields" must be provided');const t=null==e.autoVacuum||!0===e.autoVacuum?rt:e.autoVacuum;this._options={...Je,...e,autoVacuum:t,searchOptions:{...Qe,...e.searchOptions||{}},autoSuggestOptions:{...et,...e.autoSuggestOptions||{}}},this._index=new Ie,this._documentCount=0,this._documentIds=new Map,this._idToShortId=new Map,this._fieldIds={},this._fieldLength=new Map,this._avgFieldLength=[],this._nextId=0,this._storedFields=new Map,this._dirtCount=0,this._currentVacuum=null,this._enqueuedVacuum=null,this._enqueuedVacuumConditions=nt,this.addFields(this._options.fields)}add(e){const{extractField:t,stringifyField:n,tokenize:r,processTerm:i,fields:o,idField:a}=this._options,s=t(e,a);if(null==s)throw new Error(`MiniSearch: document does not have ID field "${a}"`);if(this._idToShortId.has(s))throw new Error(`MiniSearch: duplicate ID ${s}`);const l=this.addDocumentId(s);this.saveStoredFields(l,e);for(const a of o){const o=t(e,a);if(null==o)continue;const s=r(n(o,a),a),c=this._fieldIds[a],u=new Set(s).size;this.addFieldLength(l,c,this._documentCount-1,u);for(const e of s){const t=i(e,a);if(Array.isArray(t))for(const e of t)this.addTerm(c,l,e);else t&&this.addTerm(c,l,t)}}}addAll(e){for(const t of e)this.add(t)}addAllAsync(e,t={}){const{chunkSize:n=10}=t,r={chunk:[],promise:Promise.resolve()},{chunk:i,promise:o}=e.reduce((({chunk:e,promise:t},r,i)=>(e.push(r),(i+1)%n==0?{chunk:[],promise:t.then((()=>new Promise((e=>setTimeout(e,0))))).then((()=>this.addAll(e)))}:{chunk:e,promise:t})),r);return o.then((()=>this.addAll(i)))}remove(e){const{tokenize:t,processTerm:n,extractField:r,stringifyField:i,fields:o,idField:a}=this._options,s=r(e,a);if(null==s)throw new Error(`MiniSearch: document does not have ID field "${a}"`);const l=this._idToShortId.get(s);if(null==l)throw new Error(`MiniSearch: cannot remove document with ID ${s}: it is not in the index`);for(const a of o){const o=r(e,a);if(null==o)continue;const s=t(i(o,a),a),c=this._fieldIds[a],u=new Set(s).size;this.removeFieldLength(l,c,this._documentCount,u);for(const e of s){const t=n(e,a);if(Array.isArray(t))for(const e of t)this.removeTerm(c,l,e);else t&&this.removeTerm(c,l,t)}}this._storedFields.delete(l),this._documentIds.delete(l),this._idToShortId.delete(s),this._fieldLength.delete(l),this._documentCount-=1}removeAll(e){if(e)for(const t of e)this.remove(t);else{if(arguments.length>0)throw new Error("Expected documents to be present. Omit the argument to remove all documents.");this._index=new Ie,this._documentCount=0,this._documentIds=new Map,this._idToShortId=new Map,this._fieldLength=new Map,this._avgFieldLength=[],this._storedFields=new Map,this._nextId=0}}discard(e){const t=this._idToShortId.get(e);if(null==t)throw new Error(`MiniSearch: cannot discard document with ID ${e}: it is not in the index`);this._idToShortId.delete(e),this._documentIds.delete(t),this._storedFields.delete(t),(this._fieldLength.get(t)||[]).forEach(((e,n)=>{this.removeFieldLength(t,n,this._documentCount,e)})),this._fieldLength.delete(t),this._documentCount-=1,this._dirtCount+=1,this.maybeAutoVacuum()}maybeAutoVacuum(){if(!1===this._options.autoVacuum)return;const{minDirtFactor:e,minDirtCount:t,batchSize:n,batchWait:r}=this._options.autoVacuum;this.conditionalVacuum({batchSize:n,batchWait:r},{minDirtCount:t,minDirtFactor:e})}discardAll(e){const t=this._options.autoVacuum;try{this._options.autoVacuum=!1;for(const t of e)this.discard(t)}finally{this._options.autoVacuum=t}this.maybeAutoVacuum()}replace(e){const{idField:t,extractField:n}=this._options,r=n(e,t);this.discard(r),this.add(e)}vacuum(e={}){return this.conditionalVacuum(e)}conditionalVacuum(e,t){return this._currentVacuum?(this._enqueuedVacuumConditions=this._enqueuedVacuumConditions&&t,null!=this._enqueuedVacuum||(this._enqueuedVacuum=this._currentVacuum.then((()=>{const t=this._enqueuedVacuumConditions;return this._enqueuedVacuumConditions=nt,this.performVacuuming(e,t)}))),this._enqueuedVacuum):!1===this.vacuumConditionsMet(t)?Promise.resolve():(this._currentVacuum=this.performVacuuming(e),this._currentVacuum)}async performVacuuming(e,t){const n=this._dirtCount;if(this.vacuumConditionsMet(t)){const t=e.batchSize||tt.batchSize,r=e.batchWait||tt.batchWait;let i=1;for(const[e,n]of this._index){for(const[e,t]of n)for(const[r]of t)this._documentIds.has(r)||(t.size<=1?n.delete(e):t.delete(r));0===this._index.get(e).size&&this._index.delete(e),i%t==0&&await new Promise((e=>setTimeout(e,r))),i+=1}this._dirtCount-=n}await null,this._currentVacuum=this._enqueuedVacuum,this._enqueuedVacuum=null}vacuumConditionsMet(e){if(null==e)return!0;let{minDirtCount:t,minDirtFactor:n}=e;return t=t||rt.minDirtCount,n=n||rt.minDirtFactor,this.dirtCount>=t&&this.dirtFactor>=n}get isVacuuming(){return null!=this._currentVacuum}get dirtCount(){return this._dirtCount}get dirtFactor(){return this._dirtCount/(1+this._documentCount+this._dirtCount)}has(e){return this._idToShortId.has(e)}getStoredFields(e){const t=this._idToShortId.get(e);if(null!=t)return this._storedFields.get(t)}search(e,t={}){const{searchOptions:n}=this._options,r={...n,...t},i=this.executeQuery(e,t),o=[];for(const[e,{score:t,terms:n,match:a}]of i){const i=n.length||1,s={id:this._documentIds.get(e),score:t*i,terms:Object.keys(a),queryTerms:n,match:a};Object.assign(s,this._storedFields.get(e)),(null==r.filter||r.filter(s))&&o.push(s)}return e===Ve.wildcard&&null==r.boostDocument||o.sort(at),o}autoSuggest(e,t={}){t={...this._options.autoSuggestOptions,...t};const n=new Map;for(const{score:r,terms:i}of this.search(e,t)){const e=i.join(" "),t=n.get(e);null!=t?(t.score+=r,t.count+=1):n.set(e,{score:r,terms:i,count:1})}const r=[];for(const[e,{score:t,terms:i,count:o}]of n)r.push({suggestion:e,terms:i,score:t/o});return r.sort(at),r}get documentCount(){return this._documentCount}get termCount(){return this._index.size}static loadJSON(e,t){if(null==t)throw new Error("MiniSearch: loadJSON should be given the same options used when serializing the index");return this.loadJS(JSON.parse(e),t)}static async loadJSONAsync(e,t){if(null==t)throw new Error("MiniSearch: loadJSON should be given the same options used when serializing the index");return this.loadJSAsync(JSON.parse(e),t)}static getDefault(e){if(Je.hasOwnProperty(e))return Ge(Je,e);throw new Error(`MiniSearch: unknown option "${e}"`)}static loadJS(e,t){const{index:n,documentIds:r,fieldLength:i,storedFields:o,serializationVersion:a}=e,s=this.instantiateMiniSearch(e,t);s._documentIds=lt(r),s._fieldLength=lt(i),s._storedFields=lt(o);for(const[e,t]of s._documentIds)s._idToShortId.set(t,e);for(const[e,t]of n){const n=new Map;for(const e of Object.keys(t)){let r=t[e];1===a&&(r=r.ds),n.set(parseInt(e,10),lt(r))}s._index.set(e,n)}return s}static async loadJSAsync(e,t){const{index:n,documentIds:r,fieldLength:i,storedFields:o,serializationVersion:a}=e,s=this.instantiateMiniSearch(e,t);s._documentIds=await ct(r),s._fieldLength=await ct(i),s._storedFields=await ct(o);for(const[e,t]of s._documentIds)s._idToShortId.set(t,e);let l=0;for(const[e,t]of n){const n=new Map;for(const e of Object.keys(t)){let r=t[e];1===a&&(r=r.ds),n.set(parseInt(e,10),await ct(r))}++l%1e3==0&&await ut(0),s._index.set(e,n)}return s}static instantiateMiniSearch(e,t){const{documentCount:n,nextId:r,fieldIds:i,averageFieldLength:o,dirtCount:a,serializationVersion:s}=e;if(1!==s&&2!==s)throw new Error("MiniSearch: cannot deserialize an index created with an incompatible version");const l=new Ve(t);return l._documentCount=n,l._nextId=r,l._idToShortId=new Map,l._fieldIds=i,l._avgFieldLength=o,l._dirtCount=a||0,l._index=new Ie,l}executeQuery(e,t={}){if(e===Ve.wildcard)return this.executeWildcardQuery(t);if("string"!=typeof e){const n={...t,...e,queries:void 0},r=e.queries.map((e=>this.executeQuery(e,n)));return this.combineResults(r,n.combineWith)}const{tokenize:n,processTerm:r,searchOptions:i}=this._options,o={tokenize:n,processTerm:r,...i,...t},{tokenize:a,processTerm:s}=o,l=a(e).flatMap((e=>s(e))).filter((e=>!!e)).map(Xe(o)).map((e=>this.executeQuerySpec(e,o)));return this.combineResults(l,o.combineWith)}executeQuerySpec(e,t){const n={...this._options.searchOptions,...t},r=(n.fields||this._options.fields).reduce(((e,t)=>({...e,[t]:Ge(n.boost,t)||1})),{}),{boostDocument:i,weights:o,maxFuzzy:a,bm25:s}=n,{fuzzy:l,prefix:c}={...Qe.weights,...o},u=this._index.get(e.term),d=this.termResults(e.term,e.term,1,e.termBoost,u,r,i,s);let f,h;if(e.prefix&&(f=this._index.atPrefix(e.term)),e.fuzzy){const t=!0===e.fuzzy?.2:e.fuzzy,n=t<1?Math.min(a,Math.round(e.term.length*t)):t;n&&(h=this._index.fuzzyGet(e.term,n))}if(f)for(const[t,n]of f){const o=t.length-e.term.length;if(!o)continue;null==h||h.delete(t);const a=c*t.length/(t.length+.3*o);this.termResults(e.term,t,a,e.termBoost,n,r,i,s,d)}if(h)for(const t of h.keys()){const[n,o]=h.get(t);if(!o)continue;const a=l*t.length/(t.length+o);this.termResults(e.term,t,a,e.termBoost,n,r,i,s,d)}return d}executeWildcardQuery(e){const t=new Map,n={...this._options.searchOptions,...e};for(const[e,r]of this._documentIds){const i=n.boostDocument?n.boostDocument(r,"",this._storedFields.get(e)):1;t.set(e,{score:i,terms:[],match:{}})}return t}combineResults(e,t=He){if(0===e.length)return new Map;const n=t.toLowerCase(),r=Ke[n];if(!r)throw new Error(`Invalid combination operator: ${t}`);return e.reduce(r)||new Map}toJSON(){const e=[];for(const[t,n]of this._index){const r={};for(const[e,t]of n)r[e]=Object.fromEntries(t);e.push([t,r])}return{documentCount:this._documentCount,nextId:this._nextId,documentIds:Object.fromEntries(this._documentIds),fieldIds:this._fieldIds,fieldLength:Object.fromEntries(this._fieldLength),averageFieldLength:this._avgFieldLength,storedFields:Object.fromEntries(this._storedFields),dirtCount:this._dirtCount,index:e,serializationVersion:2}}termResults(e,t,n,r,i,o,a,s,l=new Map){if(null==i)return l;for(const c of Object.keys(o)){const u=o[c],d=this._fieldIds[c],f=i.get(d);if(null==f)continue;let h=f.size;const p=this._avgFieldLength[d];for(const i of f.keys()){if(!this._documentIds.has(i)){this.removeTerm(d,i,t),h-=1;continue}const o=a?a(this._documentIds.get(i),t,this._storedFields.get(i)):1;if(!o)continue;const g=f.get(i),m=this._fieldLength.get(i)[d],v=n*r*u*o*Ze(g,h,this._documentCount,m,p,s),b=l.get(i);if(b){b.score+=v,it(b.terms,e);const n=Ge(b.match,t);n?n.push(c):b.match[t]=[c]}else l.set(i,{score:v,terms:[e],match:{[t]:[c]}})}}return l}addTerm(e,t,n){const r=this._index.fetch(n,st);let i=r.get(e);if(null==i)i=new Map,i.set(t,1),r.set(e,i);else{const e=i.get(t);i.set(t,(e||0)+1)}}removeTerm(e,t,n){if(!this._index.has(n))return void this.warnDocumentChanged(t,e,n);const r=this._index.fetch(n,st),i=r.get(e);null==i||null==i.get(t)?this.warnDocumentChanged(t,e,n):i.get(t)<=1?i.size<=1?r.delete(e):i.delete(t):i.set(t,i.get(t)-1),0===this._index.get(n).size&&this._index.delete(n)}warnDocumentChanged(e,t,n){for(const r of Object.keys(this._fieldIds))if(this._fieldIds[r]===t)return void this._options.logger("warn",`MiniSearch: document with ID ${this._documentIds.get(e)} has changed before removal: term "${n}" was not present in field "${r}". Removing a document after it has changed can corrupt the index!`,"version_conflict")}addDocumentId(e){const t=this._nextId;return this._idToShortId.set(e,t),this._documentIds.set(t,e),this._documentCount+=1,this._nextId+=1,t}addFields(e){for(let t=0;t<e.length;t++)this._fieldIds[e[t]]=t}addFieldLength(e,t,n,r){let i=this._fieldLength.get(e);null==i&&this._fieldLength.set(e,i=[]),i[t]=r;const o=(this._avgFieldLength[t]||0)*n+r;this._avgFieldLength[t]=o/(n+1)}removeFieldLength(e,t,n,r){if(1===n)return void(this._avgFieldLength[t]=0);const i=this._avgFieldLength[t]*n-r;this._avgFieldLength[t]=i/(n-1)}saveStoredFields(e,t){const{storeFields:n,extractField:r}=this._options;if(null==n||0===n.length)return;let i=this._storedFields.get(e);null==i&&this._storedFields.set(e,i={});for(const e of n){const n=r(t,e);void 0!==n&&(i[e]=n)}}}Ve.wildcard=Symbol("*");const Ge=(e,t)=>Object.prototype.hasOwnProperty.call(e,t)?e[t]:void 0,Ke={[He]:(e,t)=>{for(const n of t.keys()){const r=e.get(n);if(null==r)e.set(n,t.get(n));else{const{score:e,terms:i,match:o}=t.get(n);r.score=r.score+e,r.match=Object.assign(r.match,o),ot(r.terms,i)}}return e},[Ue]:(e,t)=>{const n=new Map;for(const r of t.keys()){const i=e.get(r);if(null==i)continue;const{score:o,terms:a,match:s}=t.get(r);ot(i.terms,a),n.set(r,{score:i.score+o,terms:i.terms,match:Object.assign(i.match,s)})}return n},[We]:(e,t)=>{for(const n of t.keys())e.delete(n);return e}},Ze=(e,t,n,r,i,o)=>{const{k:a,b:s,d:l}=o;return Math.log(1+(n-t+.5)/(t+.5))*(l+e*(a+1)/(e+a*(1-s+s*r/i)))},Xe=e=>(t,n,r)=>({term:t,fuzzy:"function"==typeof e.fuzzy?e.fuzzy(t,n,r):e.fuzzy||!1,prefix:"function"==typeof e.prefix?e.prefix(t,n,r):!0===e.prefix,termBoost:"function"==typeof e.boostTerm?e.boostTerm(t,n,r):1}),Je={idField:"id",extractField:(e,t)=>e[t],stringifyField:(e,t)=>e.toString(),tokenize:e=>e.split(dt),processTerm:e=>e.toLowerCase(),fields:void 0,searchOptions:void 0,storeFields:[],logger:(e,t)=>{"function"==typeof(null===console||void 0===console?void 0:console[e])&&console[e](t)},autoVacuum:!0},Qe={combineWith:He,prefix:!1,fuzzy:!1,maxFuzzy:6,boost:{},weights:{fuzzy:.45,prefix:.375},bm25:{k:1.2,b:.7,d:.5}},et={combineWith:"and",prefix:(e,t,n)=>t===n.length-1},tt={batchSize:1e3,batchWait:10},nt={minDirtFactor:.1,minDirtCount:20},rt={...tt,...nt},it=(e,t)=>{e.includes(t)||e.push(t)},ot=(e,t)=>{for(const n of t)e.includes(n)||e.push(n)},at=({score:e},{score:t})=>t-e,st=()=>new Map,lt=e=>{const t=new Map;for(const n of Object.keys(e))t.set(parseInt(n,10),e[n]);return t},ct=async e=>{const t=new Map;let n=0;for(const r of Object.keys(e))t.set(parseInt(r,10),e[r]),++n%1e3==0&&await ut(0);return t},ut=e=>new Promise((t=>setTimeout(t,e))),dt=/[\n\r\p{Z}\p{P}]+/u,ft=["id","name","fullName","owner","tags","labels","links","categories","parameters","statusMessage","historyId"],ht=["nodeId","name"],pt=e=>{const t=new Ve({fields:ft,storeFields:ht,searchOptions:{combineWith:"AND",prefix:!0,fuzzy:e=>e.length>3&&.2,maxFuzzy:2,boost:{name:4,fullName:3,owner:3,tags:2,labels:2,links:1.5,categories:1,parameters:1,statusMessage:.75,historyId:.5}}});return t.addAll(e),t},gt=(0,f.vP)({loading:!1,error:void 0,data:{}}),mt=new Set,vt=new Set,bt=e=>`widgets/${e}/search-index.json`,yt=e=>e instanceof u.TX&&404===e.response.status,_t=async e=>{const t=gt.peek().data??{},n=e.filter((e=>!t[e]&&!mt.has(e)&&!vt.has(e)));if(0!==n.length){n.forEach((e=>mt.add(e))),gt.value={...gt.peek(),loading:!0,error:void 0};try{const e=await Promise.allSettled(n.map((async e=>({env:e,documents:await(0,u.tj)(bt(e),{bustCache:!0})})))),t={};let r;for(const[i,o]of e.entries())"fulfilled"!==o.status?(r||(r=(0,u.qX)(o.reason)),yt(o.reason)&&vt.add(n[i])):t[o.value.env]=pt(o.value.documents);gt.value={data:{...gt.peek().data??{},...t},loading:!1,error:r}}catch(e){gt.value={...gt.peek(),error:(0,u.qX)(e),loading:!1}}finally{n.forEach((e=>mt.delete(e)))}}},wt=["new","fixed","regressed","malfunctioned"],xt=["passed","failed","skipped","broken","unknown"],kt="query",Ct="status",St="flaky",At="retry",Et="transition",Tt="tags",Mt="categories",Lt=e=>{(0,u.du)({key:kt,value:""===e?.trim()?void 0:e})},Dt=e=>{(0,u.du)({key:Ct,value:e})},Nt=e=>{(0,u.du)({key:St,value:e?"true":void 0})},Ot=e=>{(0,u.du)({key:At,value:e?"true":void 0})},Ft=e=>{(0,u.du)({key:Et,value:e})},Rt=e=>{(0,u.du)({key:Tt,value:e})},It=e=>{(0,u.du)({key:Mt,value:e})};const zt=e=>{const t=new URL((0,u.bp)());return t.search="",t.hash="",e.forEach((e=>{t.searchParams.append("tags",e)})),t.toString()},Pt=e=>wt.includes(e),Bt=e=>"field"===e.type&&"boolean"===e.value.type&&"retry"===e.value.key,jt=e=>"field"===e.type&&"boolean"===e.value.type&&"flaky"===e.value.key,Yt=e=>"field"===e.type&&"array"===e.value.type&&"tags"===e.value.key,$t=e=>"field"===e.type&&"array"===e.value.type&&"categories"===e.value.key,qt=e=>"group"===e.type&&"transition"===e.fieldKey,Ht=(0,f.vP)([]),Ut=(0,f.vP)([]),Wt=(0,f.EW)((()=>Ht.value.length>0)),Vt=(0,f.EW)((()=>Ut.value.length>0)),Gt=(0,f.EW)((()=>{const e=(0,u.Zg)(kt)??"";if(""!==e.trim())return e})),Kt=(0,f.EW)((()=>{const e=(0,u.Zg)(Ct)??void 0;if(e&&(e=>xt.includes(e))(e))return e})),Zt=(0,f.EW)((()=>"true"===(0,u.Zg)(St))),Xt=(0,f.EW)((()=>"true"===(0,u.Zg)(At))),Jt=[],Qt=(0,f.EW)((()=>{const e=(0,u.w0)(Et)??Jt;return 0===e.length?Jt:e.filter((e=>Pt(e)))})),en=[],tn=(0,f.EW)((()=>{const e=(0,u.w0)(Tt)??en;return 0===e.length?en:0===Ht.value.length?e:e.filter((e=>Ht.value.includes(e)))})),nn=[],rn=(0,f.EW)((()=>{const e=(0,u.w0)(Mt)??nn;return 0===e.length?nn:0===Ut.value.length?e:e.filter((e=>Ut.value.includes(e)))})),on=(0,f.EW)((()=>({type:"field",logicalOperator:"AND",value:{key:"status",value:Kt.value,type:"string",strict:!1}}))),an=(0,f.EW)((()=>Gt.value)),sn=e=>{Lt(e)},ln=(0,f.EW)((()=>({type:"field",logicalOperator:"OR",value:{key:"retry",value:!!Xt.value,type:"boolean"}}))),cn=(0,f.EW)((()=>({type:"field",logicalOperator:"OR",value:{key:"flaky",value:!!Zt.value,type:"boolean"}}))),un=(0,f.EW)((()=>({type:"group",logicalOperator:"AND",fieldKey:"transition",value:Qt.value.map((e=>({type:"field",value:{key:"transition",value:e,type:"string",logicalOperator:"OR",strict:!0}})))}))),dn=(0,f.EW)((()=>({type:"field",logicalOperator:"AND",value:{key:"tags",value:tn.value,type:"array",strict:!1}}))),fn=(0,f.EW)((()=>({type:"field",logicalOperator:"AND",value:{key:"categories",value:rn.value,type:"array",strict:!1}}))),hn=(0,f.EW)((()=>[ln.value,cn.value,un.value,dn.value,fn.value])),pn=(0,f.EW)((()=>{const e=[],t=Xt.value&&Zt.value;return t&&e.push({type:"group",logicalOperator:"AND",value:[{...ln.value,logicalOperator:"OR"},{...cn.value,logicalOperator:"OR"}]}),!t&&Xt.value&&e.push({...ln.value,logicalOperator:"AND"}),!t&&Zt.value&&e.push({...cn.value,logicalOperator:"AND"}),Qt.value.length>0&&e.push(un.value),tn.value.length>0&&e.push(dn.value),rn.value.length>0&&e.push(fn.value),Kt.value&&e.push(on.value),e})),gn=e=>{if(qt(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);Ft(t)}Bt(e)&&Ot(e.value.value),jt(e)&&Nt(e.value.value),Yt(e)&&Wt.peek()&&Rt(e.value.value),$t(e)&&Vt.peek()&&It(e.value.value)},mn=(0,f.EW)((()=>Kt.value??"total")),vn=e=>{Dt("total"===e?void 0:e)},bn="order,asc",yn=["asc","desc"],_n="ALLURE_REPORT_SORT_BY",wn=["order","duration","status","name"],xn="sortBy",kn=(0,f.EW)((()=>(0,u.SM)(xn))),Cn=e=>{const t=e.split(",");if(2!==t.length)return!1;const[n,r]=t;return wn.includes(n)&&yn.includes(r)},Sn=(0,f.vP)((()=>{if("undefined"==typeof window)return bn;const e=localStorage.getItem(_n);return e&&Cn(e.toLowerCase())?e.toLowerCase():bn})()),An=e=>{kn.peek()&&(0,u.du)({key:xn,value:void 0}),Sn.value=e},En=(0,f.EW)((()=>{const e=(0,u.Zg)(xn)??void 0;return e&&Cn(e.toLowerCase())?e.toLowerCase():"undefined"==typeof window?bn:Sn.value}));(0,f.QZ)((()=>{"undefined"!=typeof window&&localStorage.setItem(_n,En.value)}));const Tn=(0,f.vP)({loading:!0,error:void 0,data:void 0}),Mn=(0,f.EW)((()=>Object.values(Tn?.value?.data??{}).every((({leavesById:e})=>!e||!Object.keys(e).length)))),Ln=(0,f.vP)(new Set((0,Ce.t)("collapsedTrees",[]))),Dn=(0,f.vP)(new Set((0,Ce.t)("expandedTrees",[])));(0,f.QZ)((()=>{localStorage.setItem("collapsedTrees",JSON.stringify([...Ln.value]))})),(0,f.QZ)((()=>{localStorage.setItem("expandedTrees",JSON.stringify([...Dn.value]))}));const Nn=(e,t=!0)=>t?!Ln.value.has(e):Dn.value.has(e),On=(e,t,n)=>{if(n){const n=new Set(Ln.value);return t?n.delete(e):n.add(e),void(Ln.value=n)}const r=new Set(Dn.value);t?r.add(e):r.delete(e),Dn.value=r},Fn=(e,t=!0)=>{On(e,!Nn(e,t),t)},Rn=(e,t,n=!0)=>{On(e,t,n)},In=async e=>{const t=e.filter((e=>!Tn.peek().data?.[e]));if(0!==t.length){Tn.value={...Tn.peek(),loading:!0,error:void 0};try{const e=await Promise.all(t.map((e=>(0,u.tj)(`widgets/${e}/tree.json`,{bustCache:!0})))),n=Tn.peek().data;Tn.value={data:t.reduce(((t,n,r)=>({...t,[n]:e[r]})),{...n}),loading:!1,error:void 0}}catch(e){Tn.value={...Tn.peek(),error:(0,u.qX)(e),loading:!1}}}},zn=(0,f.EW)((()=>Tn.value.data?Object.entries(Tn.value.data):[])),Pn=()=>!0,Bn=(0,f.EW)((()=>0===pn.value.length?Pn:(0,u._v)(pn.value)));(0,f.QZ)((()=>{if(!an.value?.trim())return;const e=Object.keys(Tn.value.data??{}),t=A.hf.value?[A.hf.value]:e;0!==t.length&&_t(t)}));const jn=e=>{const t=an.value?.trim();if(!t)return Pn;const n=gt.value.data?.[e];if(!n)return _t([e]),Pn;const r=((e,t)=>{const n=t.trim();return n?new Set(e.search(n).map((({nodeId:e})=>e))):new Set})(n,t);return e=>r.has(e.nodeId)},Yn=(0,f.EW)((()=>zn.value.reduce(((e,[t,n])=>{if(!n)return e;const{root:r,leavesById:i,groupsById:o}=n,a=jn(t),s=Te({group:r,leavesById:i,groupsById:o,filterPredicate:e=>Bn.value(e)&&a(e),sortBy:En.value});return Object.assign(e,{[t]:s})}),{}))),$n=(0,f.EW)((()=>!Object.values(Yn.value).some((e=>!Me(e))))),qn=(0,f.vP)("tree"),Hn=(0,f.vP)(void 0),Un=(0,f.vP)(!1),Wn=(0,f.vP)(null),Vn=(0,f.vP)({}),Gn=(0,f.vP)(!1),Kn=()=>{qn.value="tree"},Zn=()=>{qn.value="testResult"};(0,f.QZ)((()=>{document.documentElement.setAttribute("data-active-pane",qn.value)}));const Xn=()=>{Un.value=!Un.value},Jn=e=>e instanceof HTMLInputElement&&("search"===e.name||"search-input"===e.dataset.testid),Qn=()=>"default"===ne.value&&(!!F.value||!Z.value.matches),er=()=>!!(()=>{if("default"!==ne.value)return!1;if(Z.value.matches&&!F.value)return!1;if(K.value.matches)return"results"===K.value.params.rootTab;return!0})()&&(!F.value||"tree"===qn.value),tr=()=>!!he.value&&(F.value?"testResult"===qn.value:Z.value.matches||Boolean(K.value.params.testResultId)),nr=()=>{if(Wn.value=null,(()=>{const e=document.activeElement;Jn(e)||e instanceof HTMLElement&&e!==document.body&&e.blur()})(),"default"!==ne.value)return;ur();const e=Boolean(he.value),t=F.value;Z.value.matches&&!t?Zn():(!t||e)&&(t||e)||Kn()},rr=e=>F.value?"global"===e||e===qn.value:"tree"===e?Qn()&&(!F.value||"tree"===qn.value):"testResult"!==e||tr(),ir=()=>{A.GQ.value.data;return Object.entries(Yn.value).map((([e,t])=>{const n=w.JC.value.data[e];return 0===(n?.total??0)?null:{id:e,opened:!A.Ir.value.includes(e),tree:t,statistic:n}})).filter((e=>null!==e))},or=e=>(Ln.value,Dn.value,(0,u.Dl)({collapsedTrees:Ln.value,isGroupOpened:(e,t)=>Nn(e,t),...e})),ar=(0,f.EW)((()=>{if(Mn.value||$n.value)return[];const e=A.GQ.value.data,t=Yn.value;if(1===e.length){const n=e[0].id,r=t[n];return r?or({tree:r,isRoot:!0,rootStatistic:w.JC.value.data[n]}):[]}const n=A.hf.value?t[A.hf.value]:void 0;return or(n?{tree:n,isRoot:!0,rootStatistic:w.JC.value.data[A.hf.value]}:{envSections:ir()})})),sr=e=>ar.value.find((t=>t.id===e)),lr=e=>(0,u.YR)(ar.value,Hn.value,e),cr=e=>{Hn.value=e},ur=()=>{const e=ar.value;if(0===e.length)return void(Hn.value=void 0);const t=Hn.peek();if(!!t&&e.some((e=>e.id===t)))return;const n=he.value,r=n?e.find((e=>e.testResultId===n||e.id===n)):void 0,i=e.find((e=>"leaf"===e.kind));Hn.value=r?.id??i?.id??e[0]?.id};(0,f.QZ)((()=>{ar.value,ur()})),(0,f.QZ)((()=>{ne.value,he.value,u.QB.value.path,F.value,nr()}));const dr=(e,t,n)=>{for(const n of e.leaves)if(n.nodeId===t)return!0;for(const r of e.trees)if(dr(r,t,n)){const e=n?`${n}${r.nodeId}`:r.nodeId,t=!r.statistic||Boolean(r.statistic.failed||r.statistic.broken);return(t?!Ln.peek().has(e):Dn.peek().has(e))||Rn(e,!0,t),!0}return!1};let fr=F.peek();(0,f.QZ)((()=>{const e=F.value;try{e&&!fr&&(()=>{const e=he.peek();if(!e)return;const t=ar.peek().find((t=>"leaf"===t.kind&&t.testResultId===e));if(t)return void(Hn.value=t.id);const n=A.GQ.peek().data??[],r=Yn.peek(),i=A.hf.peek(),o=n.length>1&&!i;for(const t of n){const n=r[t.id];if(!n)continue;const i=o?`${t.id}:`:void 0;if(dr(n,e,i))return void(Hn.value=i?`${i}${e}`:e)}})()}finally{fr=e}}));const hr=/\x1B\[[0-9;?]*[ -/]*[@-~]/g,pr=e=>`__test-error__:${e}`,gr=e=>"string"!=typeof e?"":e.replace(hr,"").trim(),mr=e=>Boolean(e?.actual)&&"undefined"!==e.actual&&Boolean(e?.expected)&&"undefined"!==e.expected,vr=e=>Boolean(gr(e?.trace).length)||mr(e),br=(e,t)=>{if("failed"!==e.status&&"broken"!==e.status)return!1;const n=gr(e.message),r=gr(t.message);if(n&&r)return n===r;const i=gr(e.trace),o=gr(t.trace);return Boolean(i)&&Boolean(o)&&i===o},yr=(e,t)=>{const n=[];let r=!1;for(const i of e){if("attachment"===i.type){n.push(i);continue}const e=yr(i.steps,t),o=Boolean(t)&&!e.didPlaceSyntheticError&&br(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}},_r=e=>{const t=e.error;return{type:"step",item:{type:"step",name:e.name,status:e.status,parameters:[],steps:e.steps,stepId:e.id,duration:e.duration,message:t?.message,trace:t?.trace,error:t},bodyItems:(n=e.steps,yr(n,void 0).bodyItems),suppressInlineError:!1};var n},wr=(e,t="Error")=>{if(!e)return[];const n=("failed"===e.status||"broken"===e.status)&&(r=e.error,Boolean(gr(r?.message).length)||Boolean(gr(r?.trace).length)||mr(r))?((e,t,n,r)=>{return{type:"error",id:pr(e),title:(i=n.message,(gr(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}=yr(e.steps,n);return n&&!o?[...i,n]:i},xr=e=>"failed"===e||"broken"===e,kr=e=>e.some((e=>"step"===e.type?xr(e.item.status)||kr(e.bodyItems):"error"===e.type&&xr(e.status))),Cr=e=>Boolean(e.bodyItems.length||e.item.parameters?.length||(e=>{const{item:t,suppressInlineError:n}=e;return Boolean((t.message||t.trace)&&!t.hasSimilarErrorInSubSteps&&!n)})(e)),Sr=(e,t,n)=>{const r="failed"===t||"broken"===t||kr(n);return Tr(e,r)},Ar=(e,t)=>{const n=[];return e.forEach((e=>{if("step"===e.type)return Cr(e)&&n.push({id:e.item.stepId,openedByDefault:Sr(t,e.item.status,e.bodyItems)}),void n.push(...Ar(e.bodyItems,t));"error"===e.type&&vr(e.error)&&n.push({id:e.id,openedByDefault:Tr(t,"failed"===e.status||"broken"===e.status)})})),n},Er=()=>(0,u.nj)()?.stepTreeExpansion??"expand_failed_only",Tr=(e,t)=>"expanded"===e||"collapsed"!==e&&t,Mr=(0,f.vP)(!1),Lr=(0,f.vP)({data:null,preview:!1,component:null,isModalOpen:Mr.value,closeModal:null,title:""}),Dr=e=>{Lr.value={...e},Mr.value=!0},Nr=(e,t=A.hf.value??"default")=>`report-${t}-${e}`,Or=(0,f.vP)({loading:!0,error:void 0,data:void 0});(0,f.EW)((()=>Or?.value?.data.roots.length));let Fr;const Rr=async e=>{if(Fr!==e||!Or.peek().data){Fr=e,Or.value={...Or.value,loading:!0,error:void 0};try{const t=await(0,u.tj)((e=>e?`widgets/${e}/categories.json`:"widgets/categories.json")(e));Or.value={data:t,error:void 0,loading:!1}}catch(e){Or.value={...Or.value,error:void 0,loading:!1}}}},Ir="results",zr="categories",Pr="qualityGate",Br="globalAttachments",jr="globalErrors",Yr=[Ir,zr,Pr,Br,jr],$r=()=>{const e=[Ir],t=Or.value.data;return t?.roots?.length&&e.push(zr),e.push(Pr,Br,jr),e},qr=e=>{if(!$r().includes(e))return;const t=he.value,n=fe.value;e!==Ir?t?U({rootTab:e,testResultId:t,tab:n}):H({rootTab:e}):t?Y({testResultId:t,tab:n}):q()},Hr=e=>{const t=$r(),n=(()=>{if(K.value.matches){const e=K.value.params.rootTab;if(Yr.includes(e))return e}return Ir})(),r=t.indexOf(n);if(r<0)return void qr(t[0]??Ir);const i="next"===e?(r+1)%t.length:(r-1+t.length)%t.length;qr(t[i])},Ur=(e,t)=>`${e}-${t}`,Wr=(e,t)=>{const n=t.openedByDefault??!0,r=t.isGroupOpened(t.id,n);e.push({kind:"group",id:t.id,nodeId:t.id,depth:t.depth,parentId:t.parentId,hasChildren:!0,isExpanded:r,openedByDefault:n})},Vr=(e,t,n,r,i)=>{const o=[];for(const a of e)if("step"!==a.type){if("error"===a.type&&vr(a.error)){const e="collapsed"!==r,s=i(a.id,e);o.push({kind:"group",id:a.id,nodeId:a.id,depth:t,parentId:n,hasChildren:!0,isExpanded:s,openedByDefault:e})}else if("attachment"===a.type){const e=`attachment-${a.link.id}`;o.push({kind:"leaf",id:a.link.id,nodeId:e,depth:t,parentId:n,openedByDefault:!1})}}else{const e=a.item.stepId,s=Sr(r,a.item.status,a.bodyItems),l=Cr(a),c=i(e,s);o.push({kind:l?"group":"leaf",id:e,nodeId:e,depth:t,parentId:n,hasChildren:l,isExpanded:l?c:void 0,openedByDefault:s}),l&&c&&o.push(...Vr(a.bodyItems,t+1,e,r,i))}return o};const Gr=(0,f.vP)(void 0),Kr=()=>{const e=he.value;if(!e)return[];const t=pe.value.data?.[e];if(!t)return[];Ln.value;const n=wr(t,""),r=(t.setup??[]).map((e=>_r(e))),i=(t.teardown??[]).map((e=>_r(e)));return(e=>{const{testResultId:t,hasSetup:n,setupBodyItems:r,bodyItems:i,hasTeardown:o,teardownBodyItems:a,isGroupOpened:s}=e,l=e.stepExpansionPolicy??Er(),c=[];let u;const d=(e,n=!0)=>{const r=Ur(t,e);return Wr(c,{id:r,depth:0,parentId:u,openedByDefault:n,isGroupOpened:s}),u=r,r};if(n){const e=d("setup");if(s(e,!0)&&r.length>0){const t=Vr(r,1,e,l,s);c.push(...t),t.length>0&&(u=t[t.length-1].id)}}if(i.length>0){const e=Ur(t,"steps"),n="collapsed"!==l,r=s(e,n);if(Wr(c,{id:e,depth:0,parentId:u,openedByDefault:n,isGroupOpened:s}),u=e,r){const t=Vr(i,1,e,l,s);c.push(...t),t.length>0&&(u=t[t.length-1].id)}}if(o){const e=d("teardown");s(e,!0)&&a.length>0&&c.push(...Vr(a,1,e,l,s))}return c})({testResultId:e,hasSetup:r.length>0,setupBodyItems:r,bodyItems:n,hasTeardown:i.length>0,teardownBodyItems:i,isGroupOpened:(e,t)=>Nn(e,t)})},Zr=(0,f.EW)((()=>Kr())),Xr=e=>Zr.value.find((t=>t.id===e));(0,f.QZ)((()=>{tr()&&"overview"===fe.value&&(Zr.value,(()=>{const e=Zr.value;if(0===e.length)return void(Gr.value=void 0);const t=Gr.value;t&&e.some((e=>e.id===t))||(Gr.value=e[0]?.id)})())})),(0,f.QZ)((()=>{he.value,fe.value,"overview"!==fe.value&&(Gr.value=void 0)}));const Jr="overview",Qr="history",ei="retries",ti="attachments",ni="environments",ri=[Jr,Qr,ei,ti,ni],ii=e=>{const t=he.value;t&&$(e!==Jr?{testResultId:t,tab:e}:{testResultId:t,tab:""})},oi=e=>{if(!he.value)return;const t=(()=>{const e=fe.value;return ri.includes(e)?e:Jr})(),n=ri.indexOf(t),r="next"===e?(n+1)%ri.length:(n-1+ri.length)%ri.length;ii(ri[r])};const ai=(0,f.EW)((()=>Z.value.matches||Boolean(K.value.params.testResultId))),si=()=>F.value?"testResult"===qn.value?"testResult":"tree":"testResult"===qn.value&&tr()?"testResult":Qn()||er()?"tree":"global",li=()=>!Mr.value&&"default"===ne.value,ci=e=>e?.openedByDefault??!0,ui=(e,t)=>{const n=e.nextId?sr(e.nextId):void 0,r=ci(n);e.collapse&&n&&("env"===n.kind&&n.nodeId&&!A.Ir.value.includes(n.nodeId)?A.Ir.value=A.Ir.value.concat(n.nodeId):"group"===n.kind&&Fn(n.id,r)),e.expand&&n&&("env"===n.kind&&n.nodeId?A.Ir.value=A.Ir.value.filter((e=>e!==n.nodeId)):"group"===n.kind&&Fn(n.id,r)),e.nextId&&cr(e.nextId),t?.scrollPaneToTop&&(Gn.value=!0)},di=()=>{if(!er())return;const e=Hn.value?document.querySelector(`[data-tree-node-id="${Hn.value}"]`):null;(0,u.cW)(e instanceof HTMLElement?e:null)},fi=e=>{if(er())if("t"!==e){if("z"===e)return Wn.value="z",void window.setTimeout((()=>{"z"===Wn.value&&(Wn.value=null)}),800);if("zt"!==e)return"g"===e?"g"===Wn.value?(Wn.value=null,void ui(lr("firstLeaf"),{scrollPaneToTop:!0})):(Wn.value="g",void window.setTimeout((()=>{"g"===Wn.value&&(Wn.value=null)}),800)):void("gg"!==e?ui(lr(e),{scrollPaneToTop:"home"===e}):ui(lr("firstLeaf"),{scrollPaneToTop:!0}));di()}else"z"===Wn.value&&(Wn.value=null,di())},hi=()=>{if(!er())return;const e=Hn.value;if(e){(e=>{const t=sr(Hn.value);if(t?.nodeId)if("env"!==t.kind)"group"===t.kind&&Rn(t.id,e,ci(t));else{if(!A.Ir.value.includes(t.nodeId)===e)return;A.Ir.value=e?A.Ir.value.filter((e=>e!==t.nodeId)):A.Ir.value.concat(t.nodeId)}})(!0);for(const t of(0,u.XH)(ar.value,e))if(t.nodeId)if("env"!==t.kind){if("group"===t.kind){const e=t.openedByDefault??!0;Nn(t.id,e)||Rn(t.id,!0,e)}}else A.Ir.value=A.Ir.value.filter((e=>e!==t.nodeId))}},pi=(e,t)=>{if(e.nodeId===t)return e;for(const n of e.trees){const e=pi(n,t);if(e)return e}return null},gi=e=>{const t=new Set(A.GQ.value.data.map((e=>e.id))),n=e.indexOf(":");if(n>0){const r=e.slice(0,n);if(t.has(r))return r}return 1===t.size?A.GQ.value.data[0]?.id:A.hf.value&&t.has(A.hf.value)?A.hf.value:Object.keys(Yn.value).find((e=>t.has(e)))},mi=e=>{if(!(A.GQ.value.data.length<=1||A.hf.value))return`${e}:`},vi=e=>{if(!er())return;const t=Hn.value;if(!t)return;const n=sr(t);if(!n||"group"!==n.kind||!n.nodeId)return;const r=gi(t),i=r?Yn.value[r]:void 0;if(!i)return;const o=pi(i,n.nodeId);if(!o||!(0,u.eK)(o))return;const a=r?mi(r):void 0,s=(0,u.iX)(o);(0,u.sP)(s,e,{toScopedId:e=>a?`${a}${e}`:e,isOpened:(e,t)=>Nn(e,t),setOpened:(e,t,n)=>Rn(e,t,n)})},bi=(e,t)=>{const n={...Vn.value};t?n[e]=t:delete n[e],Vn.value=n},yi=e=>Vn.value[e]??null,_i=()=>{if(!er())return;const e=sr(Hn.value);if(e)if("env"===e.kind&&e.nodeId){const t=!A.Ir.value.includes(e.nodeId);A.Ir.value=t?A.Ir.value.concat(e.nodeId):A.Ir.value.filter((t=>t!==e.nodeId))}else"group"===e.kind&&Fn(e.id,ci(e))},wi=()=>{if(!er())return;const e=sr(Hn.value);e&&"leaf"===e.kind&&e.testResultId&&(j({testResultId:e.testResultId,tab:fe.value}),F.value,Zn())},xi=()=>{const e=document.querySelector('[data-testid="search-input"]')??document.querySelector('input[name="search"]');e&&(e.focus(),e.select())},ki=()=>{(F.value||ai.value||he.value)&&Zn()},Ci=()=>F.value?ar.value.flatMap((e=>"leaf"===e.kind&&e.testResultId?[e.testResultId]:[])):ge.value.data??[],Si=()=>{if(!tr())return;const e=he.value;if(!e)return;const t=Ci(),n=t.indexOf(e);if(n<=0)return;const r=t[n-1];r&&(j({testResultId:r,tab:fe.value}),cr(void 0))},Ai=()=>{if(!tr())return;const e=he.value;if(!e)return;const t=Ci(),n=t.indexOf(e);if(-1===n||n>=t.length-1)return;const r=t[n+1];r&&(j({testResultId:r,tab:fe.value}),cr(void 0))},Ei=()=>Ai(),Ti=()=>Si(),Mi=e=>{tr()&&ii(e)},Li=e=>{Qn()&&(qr(e),Kn())},Di=e=>{Qn()&&(Hr(e),Kn())},Ni=e=>{tr()&&oi(e)},Oi=e=>{er()&&Fn(Nr(e))},Fi=e=>{if(!tr())return;const t=he.value;t&&"overview"===fe.value&&Fn(`${t}-${e}`)},Ri=new Set(["ArrowUp","ArrowDown","ArrowLeft","ArrowRight","Home","End"," ","-","=","+"]),Ii=new Set(["KeyJ","KeyK","KeyH","KeyL","KeyP","KeyU","KeyO","KeyA","KeyC","KeyF","KeyZ","KeyT","Minus","Equal"]),zi=new Set(["ArrowUp","ArrowDown"]),Pi=new Set(["KeyJ","KeyK"]),Bi=(e,t)=>!("tree"!==t||!rr("tree")||!Ri.has(e.key)&&!Ii.has(e.code))||"testResult"===t&&rr("testResult")&&(zi.has(e.key)||Pi.has(e.code)),ji=()=>[{id:"toggle-help",scope:"global",key:"?",code:"Slash",modifiers:{shift:!0},handler:()=>Xn()},{id:"blur-search",scope:"global",key:"Escape",allowInEditable:!0,handler:()=>{Jn(document.activeElement)&&(Un.value?Un.value=!1:(()=>{const e=document.activeElement;Jn(e)&&e.blur()})())}},{id:"escape",scope:["global","tree","testResult"],key:"Escape",handler:()=>{Un.value?Un.value=!1:"testResult"===si()&&(F.value||q(),Kn())},preventDefault:!1},{id:"focus-search",scope:"global",key:"s",code:"KeyS",handler:()=>xi()},{id:"toggle-layout",scope:"global",key:"l",code:"KeyL",modifiers:{shift:!0},handler:()=>O()},{id:"toggle-layout-ctrl",scope:"global",key:"\\",code:"Backslash",modifiers:{ctrlOrMeta:!0},handler:()=>O()},{id:"focus-tree-pane",scope:"global",key:"[",code:"BracketLeft",handler:()=>Kn()},{id:"report-tab-results",scope:"global",key:"1",handler:()=>Li(Ir)},{id:"report-tab-categories",scope:"global",key:"2",handler:()=>Li(zr)},{id:"report-tab-quality-gate",scope:"global",key:"3",handler:()=>Li(Pr)},{id:"report-tab-global-attachments",scope:"global",key:"4",handler:()=>Li(Br)},{id:"report-tab-global-errors",scope:"global",key:"5",handler:()=>Li(jr)},{id:"report-tab-next",scope:"global",key:"Tab",handler:()=>Di("next")},{id:"report-tab-prev",scope:"global",key:"Tab",modifiers:{shift:!0},handler:()=>Di("prev")},{id:"focus-tree-pane-fallback",scope:"global",key:"[",handler:()=>Kn()},{id:"focus-test-result-pane",scope:"global",key:"]",code:"BracketRight",handler:()=>ki()},{id:"focus-test-result-pane-fallback",scope:"global",key:"]",handler:()=>ki()},{id:"tree-up",scope:"tree",key:"ArrowUp",handler:()=>fi("up")},{id:"tree-down",scope:"tree",key:"ArrowDown",handler:()=>fi("down")},{id:"tree-left",scope:"tree",key:"ArrowLeft",handler:()=>fi("left")},{id:"tree-right",scope:"tree",key:"ArrowRight",handler:()=>fi("right")},{id:"tree-up-vim",scope:"tree",key:"k",code:"KeyK",handler:()=>fi("up")},{id:"tree-down-vim",scope:"tree",key:"j",code:"KeyJ",handler:()=>fi("down")},{id:"tree-left-vim",scope:"tree",key:"h",code:"KeyH",handler:()=>fi("left")},{id:"tree-right-vim",scope:"tree",key:"l",code:"KeyL",handler:()=>fi("right")},{id:"tree-parent",scope:"tree",key:"p",code:"KeyP",handler:()=>fi("parent")},{id:"tree-parent-alt",scope:"tree",key:"u",code:"KeyU",handler:()=>fi("parent")},{id:"tree-open",scope:"tree",key:"o",code:"KeyO",handler:()=>(()=>{if(!er())return;const e=sr(Hn.value);e&&("leaf"===e.kind&&e.testResultId?wi():"group"!==e.kind&&"env"!==e.kind||_i())})()},{id:"tree-collapse",scope:"tree",key:"-",code:"Minus",handler:()=>fi("left")},{id:"tree-expand",scope:"tree",key:"+",code:"Equal",modifiers:{shift:!0},handler:()=>fi("firstChild")},{id:"tree-expand-equal",scope:"tree",key:"=",code:"Equal",handler:()=>fi("firstChild")},{id:"toggle-report-variables",scope:"tree",key:"V",code:"KeyV",handler:()=>Oi("variables")},{id:"toggle-report-metadata",scope:"tree",key:"M",code:"KeyM",handler:()=>Oi("metadata")},{id:"tree-collapse-all",scope:"tree",key:"C",code:"KeyC",handler:()=>(()=>{if(!er())return;const e=Hn.value;if(e)for(const t of(0,u.XH)(ar.value,e))if(t.nodeId)if("env"!==t.kind){if("group"===t.kind){const e=t.openedByDefault??!0;Nn(t.id,e)&&Rn(t.id,!1,e)}}else A.Ir.value.includes(t.nodeId)||(A.Ir.value=A.Ir.value.concat(t.nodeId))})()},{id:"tree-expand-all",scope:"tree",key:"A",code:"KeyA",handler:()=>hi()},{id:"tree-subtree-collapse",scope:"tree",key:"C",code:"KeyC",modifiers:{shift:!0},handler:()=>vi("none")},{id:"tree-subtree-expand",scope:"tree",key:"A",code:"KeyA",modifiers:{shift:!0},handler:()=>vi("all")},{id:"tree-subtree-first-level",scope:"tree",key:"f",code:"KeyF",handler:()=>vi("first")},{id:"tree-subtree-cycle",scope:"tree",key:">",code:"Period",modifiers:{shift:!0},handler:()=>(()=>{if(!er())return;const e=Hn.value;if(!e)return;const t=sr(e);if(!t||"group"!==t.kind||!t.nodeId)return;const n=gi(e),r=n?Yn.value[n]:void 0;if(!r)return;const i=pi(r,t.nodeId);if(!i||!(0,u.eK)(i))return;const o=n?mi(n):void 0,a=e=>o?`${o}${e}`:e,s=(0,u.iX)(i),{nextState:l,nextLastToggle:c}=(0,u.LD)(s,((e,t)=>Nn(a(e),t)),yi(e));(0,u.sP)(s,l,{toScopedId:a,isOpened:(e,t)=>Nn(e,t),setOpened:(e,t,n)=>Rn(e,t,n)}),bi(e,c)})()},{id:"tree-home",scope:"tree",key:"Home",handler:()=>fi("home")},{id:"tree-scroll-top-z",scope:"tree",key:"z",code:"KeyZ",handler:()=>fi("z")},{id:"tree-scroll-top-t",scope:"tree",key:"t",code:"KeyT",handler:()=>fi("t")},{id:"tree-end",scope:"tree",key:"End",handler:()=>fi("end")},{id:"tree-go-first",scope:"tree",key:"g",handler:()=>fi("g")},{id:"tree-last-leaf",scope:"tree",key:"G",modifiers:{shift:!0},handler:()=>fi("lastLeaf")},{id:"tree-toggle",scope:"tree",key:" ",handler:()=>_i()},{id:"tree-open-enter",scope:"tree",key:"Enter",handler:()=>wi()},{id:"test-result-prev",scope:"testResult",key:"N",code:"KeyN",modifiers:{shift:!0},handler:()=>Si()},{id:"test-result-next",scope:"testResult",key:"n",code:"KeyN",handler:()=>Ai()},{id:"test-result-tab-overview",scope:"testResult",key:"1",handler:()=>Mi(Jr)},{id:"test-result-tab-history",scope:"testResult",key:"2",handler:()=>Mi(Qr)},{id:"test-result-tab-retries",scope:"testResult",key:"3",handler:()=>Mi(ei)},{id:"test-result-tab-attachments",scope:"testResult",key:"4",handler:()=>Mi(ti)},{id:"test-result-tab-environments",scope:"testResult",key:"5",handler:()=>Mi(ni)},{id:"test-result-tab-next",scope:"testResult",key:"Tab",handler:()=>Ni("next")},{id:"test-result-tab-prev",scope:"testResult",key:"Tab",modifiers:{shift:!0},handler:()=>Ni("prev")},{id:"test-result-overview-down",scope:"testResult",key:"ArrowDown",handler:()=>Ei()},{id:"test-result-overview-down-vim",scope:"testResult",key:"j",code:"KeyJ",handler:()=>Ei()},{id:"test-result-overview-up",scope:"testResult",key:"ArrowUp",handler:()=>Ti()},{id:"test-result-overview-up-vim",scope:"testResult",key:"k",code:"KeyK",handler:()=>Ti()},{id:"toggle-labels",scope:"testResult",key:"l",code:"KeyL",handler:()=>Fi("labels")},{id:"toggle-parameters",scope:"testResult",key:"p",code:"KeyP",handler:()=>Fi("parameters")},{id:"toggle-links",scope:"testResult",key:"i",code:"KeyI",handler:()=>Fi("links")}],Yi=()=>((0,v.vJ)((()=>{const e=(0,u.x9)({getActiveScope:si,getEnabled:li,isScopeActive:rr,bindings:ji(),shouldSuppressDefault:Bi});return e.attach(),()=>e.detach()}),[]),null),$i=[{id:"global",titleKey:"groups.global",items:[{binding:{key:"?",code:"Slash",modifiers:{shift:!0}},labelKey:"items.toggleHelp"},{binding:{key:"s",code:"KeyS"},labelKey:"items.focusSearch"},{binding:{key:"Escape"},labelKey:"items.blurSearch"},{binding:{key:"[",code:"BracketLeft"},labelKey:"items.focusTree"},{binding:{key:"]",code:"BracketRight"},labelKey:"items.focusTestResult"},{binding:{key:"l",code:"KeyL",modifiers:{shift:!0}},labelKey:"items.toggleLayout"},{binding:{key:"\\",code:"Backslash",modifiers:{ctrlOrMeta:!0}},labelKey:"items.toggleLayoutAlt"},{binding:{key:"1"},labelKey:"items.reportTabResults"},{binding:{key:"2"},labelKey:"items.reportTabCategories"},{binding:{key:"3"},labelKey:"items.reportTabQualityGate"},{binding:{key:"4"},labelKey:"items.reportTabGlobalAttachments"},{binding:{key:"5"},labelKey:"items.reportTabGlobalErrors"},{binding:{key:"Tab"},labelKey:"items.reportTabNext"},{binding:{key:"Tab",modifiers:{shift:!0}},labelKey:"items.reportTabPrev"}]},{id:"tree",titleKey:"groups.tree",items:[{binding:{key:"j",code:"KeyJ"},labelKey:"items.moveDown"},{binding:{key:"k",code:"KeyK"},labelKey:"items.moveUp"},{binding:{key:"h",code:"KeyH"},labelKey:"items.collapse"},{binding:{key:"l",code:"KeyL"},labelKey:"items.expand"},{binding:{key:"p",code:"KeyP"},labelKey:"items.parent"},{binding:{key:"u",code:"KeyU"},labelKey:"items.parentAlt"},{binding:{key:"o",code:"KeyO"},labelKey:"items.openNode"},{binding:{key:"-",code:"Minus"},labelKey:"items.collapseNode"},{binding:{key:"+",code:"Equal",modifiers:{shift:!0}},labelKey:"items.expandNode"},{binding:{key:"C",code:"KeyC"},labelKey:"items.collapseAll"},{binding:{key:"A",code:"KeyA"},labelKey:"items.expandAll"},{binding:{key:">",code:"Period",modifiers:{shift:!0}},labelKey:"items.subtreeCycle"},{binding:{key:"C",code:"KeyC",modifiers:{shift:!0}},labelKey:"items.subtreeCollapse"},{binding:{key:"f",code:"KeyF"},labelKey:"items.subtreeFirstLevel"},{binding:{key:"A",code:"KeyA",modifiers:{shift:!0}},labelKey:"items.subtreeExpand"},{binding:{key:" "},labelKey:"items.toggleNode"},{binding:{key:"Enter"},labelKey:"items.openTest"},{binding:{key:"g"},labelKey:"items.firstTest"},{binding:{key:"G",modifiers:{shift:!0}},labelKey:"items.lastTest"},{binding:{key:"Home"},labelKey:"items.treeTop"},{binding:{key:"z",code:"KeyZ"},labelKey:"items.scrollTreeTop"},{binding:{key:"V",code:"KeyV"},labelKey:"items.toggleReportVariables"},{binding:{key:"M",code:"KeyM"},labelKey:"items.toggleReportMetadata"}]},{id:"testResult",titleKey:"groups.testResult",items:[{binding:{key:"n",code:"KeyN"},labelKey:"items.nextTest"},{binding:{key:"ArrowDown"},labelKey:"items.nextTest"},{binding:{key:"j",code:"KeyJ"},labelKey:"items.nextTest"},{binding:{key:"N",code:"KeyN",modifiers:{shift:!0}},labelKey:"items.prevTest"},{binding:{key:"ArrowUp"},labelKey:"items.prevTest"},{binding:{key:"k",code:"KeyK"},labelKey:"items.prevTest"},{binding:{key:"Tab"},labelKey:"items.testTabNext"},{binding:{key:"Tab",modifiers:{shift:!0}},labelKey:"items.testTabPrev"},{binding:{key:"1"},labelKey:"items.tabOverview"},{binding:{key:"2"},labelKey:"items.tabHistory"},{binding:{key:"3"},labelKey:"items.tabRetries"},{binding:{key:"4"},labelKey:"items.tabAttachments"},{binding:{key:"5"},labelKey:"items.tabEnvironments"},{binding:{key:"l",code:"KeyL"},labelKey:"items.toggleLabels"},{binding:{key:"p",code:"KeyP"},labelKey:"items.toggleParameters"},{binding:{key:"i",code:"KeyI"},labelKey:"items.toggleLinks"},{binding:{key:"Escape"},labelKey:"items.backToTree"}]}];const qi=()=>{const{t:e}=(0,w.s9)("shortcuts"),t=qn.value,n=F.value,r=$i.filter((e=>((e,t)=>{const n=["global","tree"];return(t||"testResult"===e)&&n.push("testResult"),n})(t,n).includes(e.id)));return(0,y.FD)("div",{className:"meoXxXuo","data-testid":"keyboard-shortcuts",children:[Un.value&&(0,y.FD)("div",{className:"cWECdGsB","data-testid":"keyboard-shortcuts-panel",children:[(0,y.FD)("div",{className:"IlmCHwH5",children:[(0,y.Y)(d.EY,{size:"m",bold:!0,children:e("title")}),(0,y.Y)(d.$n,{style:"ghost",size:"xs",icon:d.aA.lineGeneralXClose,onClick:()=>Xn(),"data-testid":"keyboard-shortcuts-close"})]}),r.map((t=>(0,y.FD)("div",{className:"nI4rVgSx",children:[(0,y.Y)(d.Cy,{size:"s",className:"tVtcY9Kq",children:e(t.titleKey)}),t.items.map((n=>{return(0,y.FD)("div",{className:"cG7lWOnz",children:[(0,y.Y)(d.Cy,{size:"s",className:g("J8mmYkJ7","hotkey"),children:(r=n.binding,(0,u.Mf)(r))}),(0,y.Y)(d.EY,{size:"s",className:"ZfgXXquW",children:e(n.labelKey)})]},`${t.id}-${n.labelKey}`);var r}))]},t.id)))]}),(0,y.Y)(d.$n,{className:"ZCdN1GFz",style:"outline",size:"s",text:"?",onClick:()=>Xn(),"data-testid":"keyboard-shortcuts-trigger"})]})},Hi=()=>{const{t:e}=(0,w.s9)("controls"),t={tooltipDownload:e("downloadAttachment"),tooltipPreview:e("previewAttachment"),tooltipSyntaxHighlight:e("syntaxHighlight"),openInNewTabButton:e("openInNewTab")};return(0,y.Y)(d.aF,{...Lr.value,translations:t,isModalOpen:Mr.value,closeModal:()=>Mr.value=!1})};const Ui=(0,m.q6)(null),Wi=()=>{const e=(0,v.NT)(Ui);if(!e)throw new Error("NavTabs components must be used within a NavTabs component");return e},Vi=e=>{const{children:t,initialTab:n}=e,[r,i]=(0,v.J0)(n);return(0,y.Y)(Ui.Provider,{value:{currentTab:r,setCurrentTab:i},children:t})},Gi=e=>(0,y.Y)(Vi,{...e}),Ki=e=>(0,y.Y)("div",{className:"XBeFwRAE",children:e.children}),Zi=e=>{const{currentTab:t,setCurrentTab:n}=Wi(),{id:r,children:i,onClick:o,"data-testid":a,isCurrentTab:s}=e,l=void 0!==s?s:t===r;return(0,y.Y)("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:(0,y.Y)(d.EY,{type:"paragraph",size:"m",children:i})})};const Xi=e=>(0,y.Y)("div",{className:"Az8wkX1_",children:e.children}),Ji=e=>{const{id:t,children:n,...r}=e,i=(0,f.HO)((()=>mn.value===t)),o=(0,v.hb)((()=>{vn("total")}),[]),a=(0,v.hb)((()=>{vn(t)}),[t]);return(0,y.Y)("button",{...r,className:"MFe89HBe",onClick:i.value?o:a,"aria-current":i.value||void 0,children:(0,y.Y)(d.EY,{type:"paragraph",size:"m",bold:!0,children:n})})};const Qi=({isOpened:e,setIsOpen:t,counter:n,title:r,titleTooltipText:i,truncateTitle:o=!1,className:a,...s})=>{const{ref:l,isTruncated:c}=(0,d.dL)([r],{observeResize:o}),u=(0,y.Y)(d.EY,{size:"m",bold:!0,className:g(o&&"KHvhhq6S"),children:(0,y.Y)("span",{ref:l,className:g(o&&"_IANRlnH"),children:r})}),f=(0,y.FD)("button",{...s,className:g("pLtXZ2UC",o&&"CYsNwIIF",e&&"WwtUTGAA",a),type:"button",onClick:()=>t(!e),children:[u,!!n&&(0,y.Y)(d.ph,{count:n,size:"s"}),(0,y.Y)(d.U_,{isOpened:e,iconSize:"s",buttonSize:"s",className:"tRJc3qyU",tag:"div"})]});return!!i&&(!o||c)?(0,y.Y)(d.T_,{tooltipText:i,children:f}):f},eo=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}},to=e=>t=>({...t,leaves:t.leaves.length?t.leaves.map(eo(e)):t.leaves,trees:t.trees.length?t.trees.map(to(e)):t.trees});var no="qWrwxu6j",ro="fsOIsHLA";const io=e=>{const t=ar.value.find((t=>t.testResultId===e||t.id===e));cr(t?.id??e),j({testResultId:e})},oo=()=>{const{t:e}=(0,I.s9)("empty"),{t:t}=(0,I.s9)("environments"),{t:n}=(0,I.s9)("transitions"),r=he.value,i=Hn.value,o=mn.value;(0,v.Nf)((()=>{if(!i)return;const e=document.querySelector(`[data-tree-node-id="${i}"]`);if(!e)return;if(Gn.value)return Gn.value=!1,void(0,u.cW)(e);const t=sr(i);(0,u.zY)(e,{kind:t?.kind})}),[i]);const a=(0,v.Kr)((()=>({tooltip:(e,t)=>n(`description.${e}`,t)})),[n]);return(0,y.Y)(d.x_,{source:Tn,renderLoader:()=>(0,y.Y)(d.DP,{}),renderData:()=>{if(Mn.value)return(0,y.Y)("div",{children:(0,y.Y)("div",{className:no,children:(0,y.Y)(d.EY,{className:ro,children:e("no-results")})})});if($n.value)return(0,y.Y)("div",{children:(0,y.FD)("div",{className:no,children:[(0,y.Y)(d.EY,{tag:"p",className:ro,children:e("no-tests-found")}),(0,y.Y)(d.$n,{className:"i31d8d94",type:"button",text:e("clear-filters"),size:"s",style:"outline",onClick:()=>(Lt(""),Ot(!1),Nt(!1),Ft([]),Rt([]),It([]),void Dt())})]})});const n=to(a);if(1===A.GQ.value.data.length){const e=A.GQ.value.data[0].id,t=A.hf.value?w.JC.value.data[A.hf.value]:w.JC.value.data[e];return(0,y.Y)("div",{children:(0,y.Y)(d.PH,{reportStatistic:w.xD.value.data,statistic:t,collapsedTrees:Ln.value,toggleTree:Fn,isGroupOpened:Nn,navigateTo:io,tree:n(Yn.value[e]),statusFilter:o,routeId:r,focusedId:i,root:!0})})}const s=A.hf.value?Yn.value[A.hf.value]:void 0;return s?(0,y.Y)("div",{children:(0,y.Y)(d.PH,{reportStatistic:w.xD.value.data,statistic:w.JC.value.data[A.hf.value],collapsedTrees:Ln.value,toggleTree:Fn,isGroupOpened:Nn,navigateTo:io,tree:n(s),statusFilter:o,routeId:r,focusedId:i,root:!0})}):(0,y.Y)(y.FK,{children:Object.entries(Yn.value).map((([e,a])=>{const{total:s}=a.statistic;if(0===s)return null;const l=!A.Ir.value.includes(e),c=w.JC.value.data[e],u=`env:${e}`;return(0,y.FD)("div",{className:"vLyntNe5","data-testid":"tree-section",children:[(0,y.FD)("div",{className:g("s_iBWA8v",i===u&&"qKOnH7B1"),"data-tree-node-id":u,id:u,children:[(0,y.Y)(Qi,{isOpened:l,setIsOpen:()=>{A.Ir.value=l?A.Ir.value.concat(e):A.Ir.value.filter((t=>t!==e))},title:`${t("environment",{count:1})}: "${(0,A.J_)(e)}"`,titleTooltipText:`${t("environment",{count:1})}: "${(0,A.J_)(e)}"`,truncateTitle:!0,counter:s,"data-testid":"tree-section-env-button"}),(0,y.Y)(d.qG,{statistic:c,reportStatistic:w.xD.value.data,statusFilter:o})]}),l&&(0,y.Y)("div",{"data-testid":"tree-section-env-content",children:(0,y.Y)(d.PH,{statistic:w.JC.value.data[e],reportStatistic:w.xD.value.data,collapsedTrees:Ln.value,toggleTree:Fn,isGroupOpened:Nn,statusFilter:o,navigateTo:io,tree:n(a),routeId:r,focusedId:i,focusIdPrefix:`${e}:`,root:!0})})]},e)}))})}})};const ao=(0,m.q6)(null),so=({children:e})=>{const[t,n]=(0,v.WO)(((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=(0,v.hb)((e=>n({type:"setSortBy",payload:e})),[]),i=(0,v.hb)((e=>n({type:"setDirection",payload:e})),[]),o=(0,v.hb)(((e,t)=>n({type:"setFilter",payload:{filterKey:e,value:t}})),[]),a=(0,v.hb)((e=>n({type:"setQuery",payload:e})),[]);return(0,y.Y)(ao.Provider,{value:{...t,setSortBy:r,setDirection:i,setFilter:o,setQuery:a},children:e})};var lo=a(7249),co=a(2753);const uo=e=>{const{icon:t,text:n,isActive:r,counter:i,onClick:o,onClear:a,isDropdown:s,isExpanded:l,error:c,testId:u,description:f,disabled:h}=e,[p,g]=(0,v.J0)(!1),m=(0,v.li)(null),b=(0,v.li)(null);(0,d.fS)({isVisible:p,triggerRef:b,tooltipRef:m,placement:"top"});const _=c?.length>0,w=f?.length>0;(0,v.vJ)((()=>{_||w||g(!1)}),[_,w]);const x=(0,v.hb)((()=>{(_||w)&&g(!0)}),[_,w]),k=(0,v.hb)((()=>{g(!1)}),[]),C={icon:t,text:n,size:"m",style:r?"raised":"ghost",action:_?"danger":"default",onClick:o,trailingSlot:void 0!==i?(0,y.Y)(d.ph,{count:i,size:"s",truncateCount:!0}):null,isDisabled:h},S=r&&a?(0,y.Y)("div",{className:"OzprxFt4",children:(0,y.Y)(d.K0,{size:"xs",style:"ghost",icon:d.aA.solidXCircle,onClick:a,rounded:!0})}):null;let A=(0,y.Y)(d.$n,{...C});s&&(A=(0,y.Y)(d.gf,{...C,isExpanded:l}));const E=!l&&(_||w);return(0,y.FD)("div",{className:"c7zlbsCH","data-testid":u,children:[(0,y.Y)("div",{ref:b,onPointerOver:x,onPointerLeave:k,children:A}),S,(0,co.d5)((0,y.FD)("div",{ref:m,className:"tGodXU9h","data-testid":"filter-tooltip","data-visible":p&&E||void 0,children:[c&&(0,y.Y)(d.m_,{ref:m,children:c}),!c&&f&&(0,y.Y)(d.m_,{ref:m,children:f})]}),document.body)]})},fo=e=>{const{field:t,onChange:n,icon:r,label:i,testId:o,description:a}=e,{value:s,key:l}=t,c=(0,v.hb)((()=>{n({...t,value:!s})}),[t,n,s]);return(0,y.Y)(uo,{icon:r,text:i??l,isActive:s,onClick:c,testId:o,description:a})},ho=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:f,disabled:h}=e,{value:p}=t,g=(0,v.hb)(((e,r)=>{const i=p.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,p,o,l,s]),m=e=>p.some((t=>"field"===t.type&&"string"===t.value.type&&t.value.key===o&&t.value.value===e)),b=a.map((({key:e})=>e)).filter(m).length,_=b>0;return h?(0,y.Y)(uo,{icon:r,text:i??o,isActive:_,onClick:()=>{},disabled:!0,testId:f}):(0,y.Y)(d.W1,{size:"l",placement:"bottom-start",menuTrigger:({onClick:e,isOpened:t})=>(0,y.Y)(uo,{icon:r,text:i??o,isActive:_,isExpanded:t,counter:c&&_?b:void 0,onClick:e,onClear:u,isDropdown:!0,testId:f}),children:(0,y.Y)(d.W1.Section,{children:a.map((e=>(0,y.Y)(d.W1.ItemWithCheckmark,{onClick:()=>g(e.key,!m(e.key)),isChecked:m(e.key),leadingIcon:e.icon,closeMenuOnClick:!1,dataTestId:`${e.key}-filter`,children:(0,y.FD)("div",{className:"a64XtmY7",children:[(0,y.Y)(d.EY,{tag:"div",children:e.label??e.key}),e.description&&(0,y.Y)(d.EY,{tag:"div",size:"s",type:"paragraph",className:"uENssymO",children:e.description})]})},e.key)))})})},po=e=>{const{filter:t,onChange:n,icon:r,label:i,options:o,counter:a=!0,onClear:s,description:l,disabled:c}=e,{value:f,key:h}=t.value,{t:p}=(0,I.s9)("filters"),g=(0,v.hb)(((e,r)=>{const i=f.filter((t=>t!==e));r&&i.push(e),n({...t,value:{...t.value,value:i}})}),[t,n,f]),m=e=>f.some((t=>t===e)),b=o.map((({key:e})=>e)).filter(m).length,_=b>0,w=p("errors.max_values",{count:u.hF}),x=b>u.hF;return(0,y.Y)(d.W1,{placement:"bottom-start",menuTrigger:({onClick:e,isOpened:t})=>(0,y.Y)(uo,{icon:r,text:i??h,isActive:_,isExpanded:t,counter:a&&_?b:void 0,onClick:e,onClear:s,isDropdown:!0,error:x?w:void 0,description:l,disabled:c}),children:(0,y.Y)(d.W1.Section,{children:o.map((e=>(0,y.Y)(d.W1.ItemWithCheckmark,{closeMenuOnClick:!1,onClick:()=>g(e.key,!m(e.key)),isChecked:m(e.key),leadingIcon:e.icon,children:e.label??e.key},e.key)))})})},go=(0,f.EW)((()=>Ut.value.map((e=>({key:e,label:e}))))),mo=e=>{const{filter:t,onChange:n}=e,{t:r}=(0,w.s9)("filters");return 0===go.value.length?null:(0,y.Y)(po,{filter:t,onChange:n,options:go.value,label:r("categories"),description:r("description.categories"),counter:!0,onClear:()=>n({...t,value:{...t.value,value:[]}})})},vo=e=>{const{filter:t,onChange:n}=e,{value:r}=t,{key:i}=r,{t:o,t:a}=(0,w.s9)("filters");return(0,y.Y)(fo,{field:r,onChange:e=>n({...t,value:e}),icon:"retry"===i?d.aA.lineArrowsRefreshCcw1:d.aA.lineIconBomb2,label:o(i),testId:`${i}-filter`,description:a(`description.${i}`)})},bo=(0,f.EW)((()=>Ht.value.map((e=>({key:e,label:e}))))),yo=e=>{const{filter:t,onChange:n}=e,{t:r}=(0,w.s9)("filters");return 0===bo.value.length?null:(0,y.Y)(po,{filter:t,onChange:n,options:bo.value,label:r("tags"),description:r("description.tags"),counter:!0,onClear:()=>n({...t,value:{...t.value,value:[]}})})},_o=[{key:"new",icon:d.aA.lineAlertsNew},{key:"fixed",icon:d.aA.lineAlertsFixed},{key:"regressed",icon:d.aA.lineAlertsRegressed},{key:"malfunctioned",icon:d.aA.lineAlertsMalfunctioned}],wo=e=>{const{group:t,onChange:n}=e,{t:r}=(0,w.s9)("filters"),i=(0,v.Kr)((()=>_o.map((e=>({...e,label:r(e.key),description:r(`description.${e.key}`)})))),[r]);return(0,y.Y)(ho,{group:t,onChange:n,options:i,label:r("transition"),fieldKey:"transition",logicalOperator:"OR",strict:!0,counter:!0,testId:"transition-filter",onClear:()=>n({...t,value:[]})})},xo=e=>{const{filter:t,onChange:n}=e,{value:r,type:i}=t;return Bt(t)||jt(t)?(0,y.Y)(vo,{filter:t,onChange:n}):qt(t)?(0,y.Y)(wo,{group:t,onChange:n}):"field"===i&&"boolean"===r.type?(0,y.Y)(fo,{field:r,onChange:e=>n({...t,value:e})}):Yt(t)?(0,y.Y)(yo,{filter:t,onChange:n}):$t(t)?(0,y.Y)(mo,{filter:t,onChange:n}):null},ko=()=>(0,y.Y)(lo.a,{each:hn,children:e=>(0,y.Y)(xo,{filter:e,onChange:gn})}),Co=()=>(0,y.Y)("div",{className:"CcgL6tD2",children:(0,y.Y)(ko,{})}),So=e=>{sn(e||void 0)},Ao=()=>{const{t:e}=(0,I.s9)("search");return(0,y.Y)(d.Gd,{placeholder:e("search-placeholder"),value:an.value,onChange:So,changeDebounce:150})};const Eo=()=>(0,y.FD)("div",{className:"yC7Qklga",children:[(0,y.Y)(Ao,{}),(0,y.Y)(Co,{})]}),To=({children:e})=>(0,y.Y)("div",{className:"R_ww6ldK",children:e}),Mo=e=>{const t=En.peek().split(",")[1];An(`${e},${t}`)},Lo=e=>{An(`${En.peek().split(",")[0]},${e}`)},Do=()=>{const{t:e}=(0,I.s9)("sort-by"),{t:t}=(0,I.s9)("sort-by.values"),{t:n}=(0,I.s9)("sort-by.directions"),r=En.value.split(",")[0],i=En.value.split(",")[1],o=t("name"===r?"alphabet":r),a=n(`${"name"===r?"alphabet":r}-${i}-short`);return(0,y.Y)("div",{children:(0,y.FD)(d.EY,{type:"paragraph",size:"m",className:"bgbbgYmw",children:[e("sort-by-text")," ",(0,y.Y)(d.W1,{size:"l",menuTriggerWrapper:"span",menuTrigger:({onClick:e,isOpened:t})=>(0,y.Y)(d.EY,{type:"paragraph",size:"m",children:(0,y.FD)(d.N_,{onClick:e,children:[o," ",a,(0,y.Y)(d.Ah,{size:"s",id:d.aA.lineArrowsChevronDown,className:g("qpX6Ct89",t&&"R0U9mYzd")})]})}),children:(0,y.FD)(d.W1.Section,{children:[(0,y.Y)(d.W1,{size:"s",menuTrigger:({onClick:t,isOpened:n})=>(0,y.Y)(d.W1.Item,{closeMenuOnClick:!1,onClick:t,leadingIcon:d.aA.lineArrowsSwitchVertical1,rightSlot:(0,y.Y)(To,{children:(0,y.Y)(d.gf,{style:"outline",size:"s",isExpanded:n,text:o,focusable:!1})}),children:e("sort-by-category")}),children:(0,y.FD)(d.W1.Section,{children:[(0,y.Y)(d.W1.ItemWithCheckmark,{onClick:()=>Mo("order"),isChecked:"order"===r,children:t("order")}),(0,y.Y)(d.W1.ItemWithCheckmark,{onClick:()=>Mo("duration"),isChecked:"duration"===r,children:t("duration")}),(0,y.Y)(d.W1.ItemWithCheckmark,{onClick:()=>Mo("status"),isChecked:"status"===r,children:t("status")}),(0,y.Y)(d.W1.ItemWithCheckmark,{onClick:()=>Mo("name"),isChecked:"name"===r,children:t("alphabet")})]})}),(0,y.Y)(d.W1,{size:"m",menuTrigger:({onClick:t,isOpened:n})=>(0,y.Y)(d.W1.Item,{closeMenuOnClick:!1,onClick:t,leadingIcon:"asc"===i?d.aA.lineArrowsSortLineAsc:d.aA.lineArrowsSortLineDesc,rightSlot:(0,y.Y)(To,{children:(0,y.Y)(d.gf,{style:"outline",size:"s",isExpanded:n,text:a,focusable:!1})}),children:e("direction-category")}),children:(0,y.FD)(d.W1.Section,{children:[(0,y.Y)(d.W1.ItemWithCheckmark,{onClick:()=>Lo("asc"),leadingIcon:d.aA.lineArrowsSortLineAsc,isChecked:"asc"===i,children:n(`${r}-asc`)}),(0,y.Y)(d.W1.ItemWithCheckmark,{onClick:()=>Lo("desc"),leadingIcon:d.aA.lineArrowsSortLineDesc,isChecked:"desc"===i,children:n(`${r}-desc`)})]})})]})})]})})},No=()=>{const{t:e}=(0,I.s9)("statuses");return(0,y.FD)("header",{className:"rcYygsvy",children:[(0,y.Y)(Eo,{}),(0,y.FD)("div",{className:"fAV2rQGO",children:[(0,y.Y)(Xi,{children:(0,y.Y)(d.x_,{source:w.JC,renderData:t=>{const n=t[A.hf.value]||w.xD.value.data,r=ve.bA.map((e=>({status:e,value:n[e]}))).filter((({value:e})=>e));r.filter((({status:e})=>e===mn.value)).length||"total"===mn.value||vn("total");const i=r.map((({status:t,value:n})=>(0,y.FD)(Ji,{"data-testid":`tab-${t}`,id:t,children:[(0,ve.ZH)(e(t)??t)," ",(0,y.Y)(d.ph,{count:n,size:"s",status:t})]},t)));return(0,y.FD)(y.FK,{children:[(0,y.FD)(Ji,{"data-testid":"tab-all",id:"total",children:[(0,ve.ZH)(e("total"))," ",(0,y.Y)(d.ph,{count:n?.total??0,size:"s"})]}),i]})}})}),(0,y.Y)(Do,{})]})]})},Oo=()=>{const e=F.value;return(0,y.Y)("div",{className:g("kCl0Zs3g",e&&"QUTF1C8g"),...e?{"data-tree-scroll-container":!0}:{},children:(0,y.Y)(oo,{})})},Fo=()=>{const e=F.value;return(0,y.Y)(so,{children:(0,y.FD)("section",{className:g(e&&"ko0si6XL"),children:[(0,y.Y)(No,{}),(0,y.Y)(Oo,{})]})})},Ro=(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(--color-bg-primary)","--tree-section-min-height":"var(--categories-sticky-step)",...t});const Io=({node:e,nodeId:t,isOpened:n,onToggle:r,children:i,depth:o,subtreeToggle:a,reportStatistic:s})=>{const l=Ro(o),c=(0,y.FD)("div",{className:"iEvEloCL",children:[(0,y.Y)("span",{className:"v51D0zjm",children:e.name}),a]});return(0,y.FD)("div",{className:"Y8AD3JIb",id:t,children:[(0,y.Y)(d.Qb,{categoryTitle:c,isOpened:n,toggleTree:r,"data-tree-header":!0,style:l,statistic:e.statistic,reportStatistic:s,statusFilter:"total"}),n&&i]})};const zo=({node:e,nodeId:t,isOpened:n,onToggle:r,children:i,depth:o,reportStatistic:a,className:s,title:l,subtreeToggle:c})=>{const{t:u}=(0,w.s9)("empty"),{t:f}=(0,w.s9)("filters"),{t:h}=(0,w.s9)("environments"),p=Ro(o),m="<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,v=c?(0,y.FD)("span",{className:"Rri1tAtf",children:[(0,y.Y)("span",{className:"lEc1FaKK",children:l??m}),c]}):l??m;return(0,y.FD)("div",{className:g("dPGOP26W","Meg3M8x1",s),id:t,"data-group-key":e.key,children:[(0,y.Y)(d.Qb,{isOpened:n,categoryTitle:v,toggleTree:r,"data-tree-header":!0,style:p,reportStatistic:a,statistic:e.statistic,statusFilter:"total"}),n&&i]})},Po=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 Bo=({node:e,nodeId:t,isOpened:n,onToggle:r,children:i,depth:o,subtreeToggle:a,reportStatistic:s})=>{const{t:l}=(0,I.s9)("controls"),c=Ro(o),u=(0,y.FD)("div",{className:"dxkfLXeB",children:[(0,y.FD)("div",{className:"sIa3F8zG",children:[(0,y.Y)("span",{className:"_YwiW80r",children:e.name}),e.historyId&&(0,y.Y)("span",{className:"izOXbGXb",children:(0,y.Y)(d.T_,{tooltipText:l("clipboard"),tooltipTextAfterClick:l("clipboardSuccess"),children:(0,y.Y)(d.K0,{style:"ghost",size:"s",icon:d.aA.lineGeneralCopy3,onClick:t=>{t.stopPropagation(),Po(e.historyId??"")}})})})]}),a]});return(0,y.FD)("div",{className:g("KDkKknyc","i7GyJnlA"),id:t,children:[(0,y.Y)(d.Qb,{categoryTitle:u,isOpened:n,toggleTree:r,"data-tree-header":!0,style:c,statistic:e.statistic,reportStatistic:s,statusFilter:"total"}),n&&i]})};var jo="bZfVSAWd",Yo="IyMtG5f9",$o="tsNZ2hZ0",qo="BDowOGLG",Ho="khqNXjFC",Uo="OR0Vz8Ro",Wo="bGq0bpCD",Vo="qv4ikC9p";const Go=({status:t})=>{const{t:n}=(0,w.s9)("statuses");return(0,y.FD)("div",{"data-testid":`test-result-status-${t}`,className:g(Uo,e[`status-${t}`]),children:[(0,y.Y)(d.WP,{status:t,className:Wo,classNameIcon:Wo}),(0,y.Y)(d.EY,{type:"ui",size:"s",className:Vo,children:(0,ve.ZH)(n(t)??t)})]})};var Ko="LHMrtyIu";const Zo=({node:e,nodeId:t,store:n,isOpened:r,onToggle:i,children:o,depth:a,subtreeToggle:s,reportStatistic:l})=>{const{t:c}=(0,w.s9)("transitions"),{t:u}=(0,w.s9)("environments"),{t:f}=(0,w.s9)("filters"),{t:h}=(0,w.s9)("empty"),p={new:d.aA.lineAlertsNew,fixed:d.aA.lineAlertsFixed,regressed:d.aA.lineAlertsRegressed,malfunctioned:d.aA.lineAlertsMalfunctioned},m={owner:f("owner"),layer:f("layer"),severity:f("severity"),status:f("status"),transition:f("transition"),flaky:f("flaky"),environment:u("environment",{count:1})},v=e.key?m[e.key]??e.key:e.key,b=e.key?h({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"):h("no-value"),_="<Empty>"===e.value?b:e.value??"",x="status"===e.key,k="transition"===e.key,C="flaky"===e.key,S="<Empty>"===e.value?"unknown":e.value??"unknown",A="status"===e.key?e.value??"":"",E="transition"===e.key?e.value??"":"",T=A&&"<Empty>"!==A?A:void 0,M=E&&"<Empty>"!==E?p[E]:void 0,L="<Empty>"===E?h("no-transition"):E?c(E)??E:E,D=!0===e.value||"true"===e.value,N="<Empty>"===e.value?h("no-flaky"):f(D?"flaky":"nonFlaky"),O=D?d.aA.lineIconBomb2:void 0;return(0,y.Y)(zo,{node:e,nodeId:t,store:n,isOpened:r,onToggle:i,depth:a,subtreeToggle:s,reportStatistic:l,className:g("ya5YlQ60",x&&"ieJpKbxJ",k&&"tzQtvnn2",C&&"YUKlGTpl"),title:x?(0,y.Y)("div",{className:"vaNYHlAy",children:(0,y.Y)(Go,{status:S})}):k?(0,y.FD)("div",{className:"YA3LdHtl",children:[M&&(0,y.Y)(d.Ah,{id:M,className:Ko}),(0,y.Y)(d.EY,{size:"m",className:"VlHHDu4n",children:(0,ve.ZH)(L??"")})]}):C?(0,y.FD)("div",{className:"J4VDksEr",children:[O&&(0,y.Y)(d.Ah,{id:O,className:"rzwF1AGa"}),(0,y.Y)(d.EY,{size:"m",className:"htUHi1lr",children:N})]}):(0,y.FD)("div",{className:"hhMYCdHc",children:[(0,y.Y)(d.EY,{type:"ui",size:"m",className:"SuQtBxxQ",children:v}),(0,y.Y)("div",{className:"pKWUT9rF",children:(0,y.FD)("div",{className:"wiMROynG",children:[T?(0,y.Y)(d.WP,{status:T,className:"zNktNR3L"}):M?(0,y.Y)(d.Ah,{id:M,className:Ko}):null,(0,y.Y)(d.EY,{size:"m",bold:!0,className:"fahd2Lxp",children:_})]})})]}),children:o})};var Xo="qGxCoczp",Jo="ZoDs9GKE",Qo="HjEVsshG",ea="WyEMHPEa",ta="WjgxaX6l",na="h0WNyvNR",ra="x6XvXsdF",ia="EYb8N2JX",oa="ywV1I7Rk",aa="iozq1SQe",sa="RHoWUiR9",la="TkAPRekq",ca="OhETl5lI",ua="YxvnXCJ4",da="ptVv6yXb",fa="m73mic1c",ha="rVOi6mjF",pa="DfaezMU8",ga="dLeQ2h1G",ma="lnEXb9Vt",va="kTWcR0v8",ba="ZiZH1BH1",ya="gofttWVe",_a="sPCmbiiu";const wa=({node:e,nodeId:n,isOpened:r,onToggle:i,children:o,depth:a,subtreeToggle:s,reportStatistic:l})=>{const{t:c}=(0,I.s9)("ui"),f=(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"),(0,ve.GA)(t)})(e.statistic),h=(0,u.Gn)(e.name??"",{fg:"var(--color-text-primary)",colors:{}}),p=Ro(a),m=(e.name??"").length>80,[b,_]=(0,v.J0)(!1);return(0,y.FD)("div",{className:g(sa,la),id:n,children:[(0,y.FD)("div",{className:pa,"data-tree-header":!0,style:p,onClick:i,children:[(0,y.Y)(d.U_,{isOpened:r,className:ua}),(0,y.FD)("div",{className:g(fa,f&&t[`message-status-${f}`],b&&ha),children:[(0,y.Y)(d.Cy,{size:"s",className:g(ma,b&&va),children:(0,y.Y)("pre",{dangerouslySetInnerHTML:{__html:h}})}),(0,y.FD)("div",{className:ca,children:[m&&(0,y.Y)(d.$n,{size:"s",style:"ghost",text:c(b?"showLess":"showMore"),className:ga,onClick:e=>{e.stopPropagation(),_((e=>!e))}}),s,(0,y.Y)("div",{className:ba,children:(0,y.Y)(d.qG,{reportStatistic:l,statusFilter:"total",statistic:e.statistic})})]})]})]}),r&&o]})};var xa="GnI1LVKC",ka="ECouP9l9",Ca="IdGh4r5i",Sa="K7nDhuR6",Aa="x0Fr7zsV",Ea="rjsNCUai",Ta="AfnYIQTv";const Ma={blocker:d.aA.lineArrowsChevronUpDouble,critical:d.aA.lineArrowsChevronUp,normal:d.aA.lineGeneralEqual,minor:d.aA.lineArrowsChevronDown,trivial:d.aA.lineArrowsChevronDownDouble,none:d.aA.lineGeneralXClose},La=({severity:e="normal",text:t="",size:r="s"})=>{const{t:i}=(0,I.s9)("severity"),o=g(n[`severity-${e}`]);return(0,y.FD)("div",{className:Ea,children:[(0,y.Y)(d.Ah,{className:o,id:Ma[e],size:r}),(0,y.Y)(d.EY,{size:r,bold:!0,className:Ta,children:t||(0,ve.ZH)(i(e))})]})};const Da=({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(0,y.Y)(zo,{node:e,nodeId:t,store:n,isOpened:r,onToggle:i,depth:a,subtreeToggle:s,reportStatistic:l,className:"cgLeSt6P",title:(0,y.Y)("div",{className:"aDSZT21y",children:(0,y.Y)(La,{severity:c,size:"m"})}),children:o})};const Na=e=>"category"!==e?.type||Boolean(e.expand),Oa=(e,t)=>{const n=t.nodes[e],r=Na(n);return Ln.value.has(e)?!r:r},Fa=({nodeId:e,store:t,order:n,depth:r=0})=>{const i=t.nodes[e],o=he.value,{t:a}=(0,I.s9)("transitions"),{t:s}=(0,I.s9)("environments"),{t:l}=(0,I.s9)("empty"),c=Ln.value.has(e),u=Na(i),[f,h]=(0,v.J0)(c?!u:u),[p,g]=(0,v.J0)(0),[m,b]=(0,v.J0)(null);if(!i)return null;const _=Boolean(i.childrenIds?.length),x=!!_&&(i.childrenIds??[]).every((e=>"tr"===t.nodes[e]?.type)),k=_?((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):[],C=!Oa(e,t),S=Oa(e,t)&&k.filter((t=>t!==e)).every((e=>!Oa(e,t))),A=Oa(e,t)&&k.every((e=>Oa(e,t))),E=()=>{h(!f),Fn(e),b(null)},T=n=>{const r=new Set(Ln.value);k.forEach((i=>{const o=t.nodes[i],a=Na(o);let s=!1;s="all"===n||"first"===n&&i===e,a===s?r.delete(i):r.add(i)})),Ln.value=r},M=x?C?d.aA.lineArrowsChevronDown:d.aA.lineArrowsChevronUp:C?d.aA.lineArrowsChevronDown:S?d.aA.lineArrowsChevronDownDouble:d.aA.lineArrowsChevronUpDouble,L=_?(0,y.Y)(d.K0,{size:"xs",style:"ghost",icon:M,onClick:e=>{if(e.stopPropagation(),x)return C?(T("all"),h(!0),b("all")):(T("none"),h(!1),b("none")),void g((e=>e+1));let t="first";t=C?"first":S?"all"===m?"none":"all":A?"first":"all",T(t),h("none"!==t),b(t),g((e=>e+1))},className:"iwrJnJ13"}):null,D=()=>(0,y.Y)("div",{className:"KUZ4m350",children:(i.childrenIds??[]).map(((e,n)=>(0,y.Y)("div",{className:"ayUf_HIB","data-tree-content":!0,children:(0,y.Y)(Fa,{nodeId:e,store:t,order:n,depth:r+1},e)},e)))},p);if("category"===i.type)return(0,y.Y)(Io,{node:i,nodeId:e,store:t,isOpened:f,onToggle:E,depth:r,subtreeToggle:L,reportStatistic:w.xD.value.data,children:D()});if("history"===i.type)return(0,y.Y)(Bo,{node:i,nodeId:e,store:t,isOpened:f,onToggle:E,depth:r,subtreeToggle:L,reportStatistic:w.xD.value.data,children:D()});if("message"===i.type||"group"===i.type)return"message"===i.type?(0,y.Y)(wa,{node:i,nodeId:e,store:t,isOpened:f,onToggle:E,depth:r,subtreeToggle:L,reportStatistic:w.xD.value.data,children:D()}):"severity"===i.key?(0,y.Y)(Da,{node:i,nodeId:e,store:t,isOpened:f,onToggle:E,depth:r,subtreeToggle:L,reportStatistic:w.xD.value.data,children:D()}):i.key?(0,y.Y)(Zo,{node:i,nodeId:e,store:t,isOpened:f,onToggle:E,depth:r,subtreeToggle:L,reportStatistic:w.xD.value.data,children:D()}):(0,y.Y)(zo,{node:i,nodeId:e,store:t,isOpened:f,onToggle:E,depth:r,subtreeToggle:L,reportStatistic:w.xD.value.data,children:D()});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(0,y.Y)("div",{className:"B4UNfGcP",id:e,children:(0,y.Y)(d.yh,{...i,name:c,groupOrder:(n??0)+1,marked:i.id===o,navigateTo:()=>j({testResultId:e}),tooltips:u})})}};const Ra=({store:e})=>(0,y.Y)("div",{className:"Y4M1IiGS",children:e.roots.map((t=>(0,y.Y)(Fa,{nodeId:t,store:e},t)))});const Ia=()=>{const{t:e}=(0,w.s9)("empty");return(0,y.Y)(d.x_,{source:Or,renderLoader:()=>(0,y.Y)("div",{className:"VjjrpeUw",children:(0,y.Y)(d.DP,{})}),renderData:t=>Or.value.data?.roots?.length?(0,y.Y)(Ra,{store:t}):(0,y.Y)("div",{className:"yT9qhy8N",children:e("no-categories-results")})})},za="bits",Pa="bytes",Ba="",ja="jedec",Ya="round",$a="string",qa={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 Ha(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=$a,fullform:f=!1,fullforms:h=[],exponent:p=-1,roundingMethod:g=Ya,precision:m=0}={}){let v=p,b=Number(e),y=[],_=0,w=Ba;"si"===u?(r=10,u=ja):"iec"===u||u===ja?r=2:2===r?u="iec":(r=10,u=ja);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]=qa.symbol[u][t?za:Pa][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":qa.symbol[u][t?za:Pa][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]||Ba,o=r.length,a=i-o;y[0]=`${n[0]}${t}${r.padEnd(o+a,"0")}`}return k&&(y[1]=h[v]?h[v]:qa.fullform[u][v]+(t?"bit":"byte")+(1===y[0]?Ba:"s")),"array"===d?y:"object"===d?{value:y[0],symbol:y[1],exponent:v,unit:w}:y.join(l)}const Ua="https://trace.playwright.dev",Wa=`${Ua}/`,Va=({onRetry:e,t:t})=>(0,y.FD)("div",{"data-testid":"pw-trace-popup-blocked",children:[(0,y.FD)(d.EY,{children:[t("pwTracePopupBlocked"),(0,y.Y)("br",{}),t("pwTracePopupBlockedHint")]}),(0,y.Y)(d.$n,{style:"flat",size:"s",text:t("retries"),onClick:()=>{Mr.value=!1,e()}})]}),Ga=({link:e})=>{const{t:t}=(0,w.s9)("ui"),n=`Playwright Trace Viewer | ${e.name}${e.ext}`,r=async()=>{try{const i=await(0,u.WC)(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,Ua)};return t.location.href=Wa,t.focus(),r(),globalThis.setTimeout((()=>{r()}),300),!0})(await i.blob());o||Dr({title:n,component:(0,y.Y)(Va,{onRetry:r,t:t})})}catch{Dr({title:n,component:(0,y.Y)(d.EY,{children:"Failed to load Playwright trace attachment."})})}};return(0,y.Y)(d.T_,{tooltipText:t("openPwTrace"),children:(0,y.Y)(d.K0,{icon:d.aA.lineArrowsExpand3,size:"s",style:"ghost",onClick:r})})};var Ka="rSMkogjt",Za="m8rk9tDG",Xa="xefMEPSS",Ja="HHsybWob",Qa="VKOlcV4U",es="ZiuTmLYA",ts="h339ZMEJ",ns="mNhMD4M5",rs="sXJUrXQT",is="nn68CIdd",os="luT1VnGP",as="nfjZcJp6",ss="a30JIKUL",ls="fG3nxMw9",cs="bVvMHCl8",us="F8sZC2Xp",ds="CTjfDSfX",fs="o7YilZwI",hs="lEcTTfo0",ps="Ij4Cg4Kx",gs="uughArgE",ms="Px8Q9Npk",vs="Yino1buJ",bs="nj9hJGT8",ys="eVefXDQ_",_s="yzcDORxL",ws="pbsM6UgE",xs="ZIuCxI4O",ks="YYCSAKki",Cs="NxHFl37Y",Ss="jex1quuI",As="AHvvSUfJ",Es="JSrX31Ic",Ts="Bio0Im7S",Ms="zGCnYcwA",Ls="wAbIx1a1",Ds="mkH_PBnf",Ns="INLdyBW3",Os="ZC6k5aDG",Fs="shp49_Ch",Rs="p8fgu_re",Is="l7iVQhqV",zs="fv3dpOau",Ps="_95lTgH3b",Bs="QyDf7oEf",js="blSCD0ef",Ys="ayR3EuIO",$s="CueB19ej";const qs=({item:e,shouldExpand:t,isPreviewable:n,showPreview:r,onPreviewToggle:i,highlightCode:o=!0,onHighlightToggle:a})=>{const{t:s}=(0,w.s9)("controls"),{t:l}=(0,w.s9)("attachments"),{id:c,ext:f,contentType:h}=e.link,p="application/vnd.allure.playwright-trace"===h,m=!1===e.link.missed?e.link.contentLength:void 0,b=m?Ha(m,{base:2,round:1}):"-";(0,v.vJ)((()=>{Mr.value&&Dr({isModalOpen:!0,data:e,component:(0,y.Y)(d.o3,{item:e,i18n:{imageDiff:e=>l(`imageDiff.${e}`)}})})}),[e,l]);return(0,y.FD)("div",{className:rs,children:[Boolean(h)&&(0,y.Y)(d.EY,{size:"s",children:h}),Boolean(b)&&(0,y.Y)(d.EY,{size:"s",children:b}),(0,y.FD)("div",{className:ns,children:[p&&(0,y.Y)(Ga,{link:e.link}),n&&i&&(0,y.FD)(y.FK,{children:[(0,y.Y)(d.T_,{tooltipText:s("previewAttachment"),children:(0,y.Y)(d.K0,{className:g(Qa,r&&es),style:"ghost",size:"s",iconSize:"s",isActive:r,icon:d.aA.view,"aria-pressed":r,onClick:e=>{e.stopPropagation(),r||i()}})}),(0,y.Y)(d.T_,{tooltipText:s("viewCode"),children:(0,y.Y)(d.K0,{className:g(Qa,!r&&es),style:"ghost",size:"s",iconSize:"s",isActive:!r,icon:d.aA.lineFilesFileAttachment2,"aria-pressed":!r,onClick:e=>{e.stopPropagation(),r&&i()}})})]}),a&&(0,y.Y)(d.T_,{tooltipText:s("syntaxHighlight"),children:(0,y.Y)(d.K0,{className:g(Qa,o&&es,!o&&ts),style:"ghost",size:"s",iconSize:"s",isActive:o,icon:d.aA.lineDevCodeSquare,"aria-pressed":o,onClick:e=>{e.stopPropagation(),a()}})}),t&&(0,y.Y)(d.T_,{tooltipText:s("expand"),children:(0,y.Y)(d.K0,{className:Qa,style:"ghost",size:"s",iconSize:"s",icon:d.aA.lineArrowsExpand3,onClick:t=>{t.stopPropagation(),Dr({data:e,component:(0,y.Y)(d.o3,{item:e,previewable:!0,i18n:{imageDiff:e=>l(`imageDiff.${e}`)}})})}})}),(0,y.Y)(d.T_,{tooltipText:s("downloadAttachment"),children:(0,y.Y)(d.K0,{style:"ghost",size:"s",iconSize:"s",className:Qa,icon:d.aA.lineGeneralDownloadCloud,onClick:e=>(async e=>{e.stopPropagation(),await(0,u.iQ)(c,f,h)})(e)})})]})]})};const Hs=(e,t)=>g(t,(e=>Boolean(e&&Gr.value===e))(e)&&"z3d2CUJZ"),Us=e=>e?{"data-tr-focus-id":e}:{},{lineImagesImage:Ws,lineFilesFileAttachment2:Vs,playwrightLogo:Gs}=d.aA,Ks={"text/plain":Vs,"application/xml":Vs,"text/html":Vs,"text/csv":Vs,"text/markdown":Vs,"text/javascript":Vs,"text/typescript":Vs,"text/ruby":Vs,"text/python":Vs,"text/php":Vs,"text/java":Vs,"text/csharp":Vs,"text/cpp":Vs,"text/c":Vs,"text/go":Vs,"text/rust":Vs,"text/swift":Vs,"text/kotlin":Vs,"text/scala":Vs,"text/perl":Vs,"text/r":Vs,"text/dart":Vs,"text/lua":Vs,"text/haskell":Vs,"text/sql":Vs,"text/tab-separated-values":Vs,"text/css":Vs,"text/uri-list":Vs,"image/svg+xml":Ws,"image/png":Ws,"application/json":Vs,"application/zip":Vs,"video/webm":Ws,"image/jpeg":Ws,"video/mp4":Ws,"application/vnd.allure.image.diff":Ws,"application/vnd.allure.playwright-trace":Gs,"application/vnd.allure.http+json":Vs},Zs=new Set(["html","markdown"]),Xs=new Set(["markdown","html"]),Js=({item:e,stepIndex:t})=>{const{link:n}=e,r=null!==e.link?.id?`attachment-${e.link.id}`:null,i=null!==r&&Nn(r,!1),o=(0,u.uk)(n.contentType),[a,s]=(0,v.J0)((()=>Xs.has(o??""))),[l,c]=(0,v.J0)(!0),{t:f}=(0,w.s9)("attachments"),{missed:h}=n,p=o,m=!["archive",null].includes(p),b=Zs.has(p??""),_="image"===p,x=(0,u.gz)({contentType:n.contentType,ext:n.ext,name:n.name,originalFileName:n.originalFileName})&&("code"===p||"text"===p||"markdown"===p||"html"===p),k=(0,y.Y)(d.o3,{item:e,previewable:a,highlightCode:l,i18n:{imageDiff:e=>f(`imageDiff.${e}`)}}),C=(0,y.FD)(y.FK,{children:[m?(0,y.Y)(d.U_,{isOpened:i,tag:"span"}):(0,y.Y)("span",{className:js}),(0,y.Y)("span",{className:_s,children:(0,y.Y)(d.Ah,{size:"s",id:Ks[n.contentType]??Vs})}),(0,y.Y)(d.Cy,{size:"s",className:Rs,children:t}),(0,y.Y)(d.EY,{className:ks,children:n.name||n.originalFileName}),h&&(0,y.Y)(d.EY,{size:"s",className:xs,"data-testid":"test-result-attachment-missed",children:"missed"})]});return(0,y.FD)("div",{"data-testid":"test-result-attachment",className:Ms,children:[(0,y.FD)("div",{"data-testid":"test-result-attachment-header",className:g(ys,Hs(e.link.id),{[Za]:!m}),...Us(e.link.id),children:[m?(0,y.Y)("button",{className:Cs,onClick:e=>{e.stopPropagation(),null!==r&&Fn(r,!1)},type:"button",children:C}):C,(0,y.Y)("div",{children:(0,y.Y)(qs,{item:e,shouldExpand:m,isPreviewable:b,showPreview:a,onPreviewToggle:b?()=>s((e=>!e)):void 0,highlightCode:l,onHighlightToggle:x?()=>{b&&a&&s(!1),c((e=>!e))}:void 0})})]}),i&&m&&(0,y.Y)("div",{className:vs,children:_?(0,y.Y)("button",{className:ms,onClick:t=>{t.stopPropagation(),Dr({data:e,component:(0,y.Y)(d.o3,{item:e,previewable:!0})})},type:"button",children:k}):(0,y.Y)("div",{className:ms,children:k})})]})},Qs=(0,f.vP)({loading:!0,error:void 0,data:void 0}),el=async()=>{try{const e=await(0,u.tj)("widgets/globals.json");Qs.value={data:e,error:void 0,loading:!1}}catch(e){Qs.value={...Qs.peek(),error:e.message,loading:!1}}};var tl="KTUjVPHJ",nl="H8TGa37o";const rl=()=>{const{t:e}=(0,w.s9)("empty"),{t:t}=(0,w.s9)("environments"),[n,r]=(0,v.J0)([]),i=e=>{const t=e.map((e=>({link:e,type:"attachment"})));return(0,y.Y)("div",{className:"OTyWImw_",children:t.map(((e,t)=>(0,y.Y)(Js,{item:e,stepIndex:t+1},e.link.id??`${e.link.name}-${t}`)))})},o=e=>(0,y.Y)("div",{className:tl,children:i(e)});return(0,y.Y)(d.x_,{source:Qs,renderData:({attachments:a=[],attachmentsByEnv:s={}})=>{if(A.hf.value){const t=s[A.hf.value]??[];return t.length?o(t):(0,y.Y)("div",{className:nl,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]===ve.Uz?o(l[0][1]??[]):a.length?(0,y.Y)("div",{className:tl,children:l.map((([e,o])=>{const a=!n.includes(e);return(0,y.FD)("div",{className:"bIAyzs6S",children:[(0,y.Y)(Qi,{isOpened:a,setIsOpen:()=>{r((t=>a?t.concat(e):t.filter((t=>t!==e))))},title:`${t("environment",{count:1})}: "${(0,A.J_)(e)}"`,titleTooltipText:(0,A.J_)(e),truncateTitle:!0,counter:o.length}),a?i(o):null]},e)}))}):(0,y.Y)("div",{className:nl,children:e("no-attachments-results")}):o(a):(0,y.Y)("div",{className:nl,children:e("no-attachments-results")})}})};class il{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 ol=new class extends il{};function al(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 sl(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 ll(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 cl(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 ul(e,t){return ll(e,t,"")}function dl(e,t){return cl(e,t,"")}function fl(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 hl(e){let t;for(t=e.length-1;t>=0&&e[t].match(/\s/);t--);return e.substring(t+1)}function pl(e){const t=e.match(/^\s*/);return t?t[0]:""}const gl="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}",ml=new RegExp(`[${gl}]+|\\s+|[^${gl}]`,"ug");const vl=new class extends il{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(ml)||[];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)&&bl(n,i,r,e),n=e,r=null,i=null)})),(r||i)&&bl(n,i,r,null),e}};function bl(e,t,n,r){if(t&&n){const i=pl(t.value),o=hl(t.value),a=pl(n.value),s=hl(n.value);if(e){const r=al(i,a);e.value=cl(e.value,a,r),t.value=ul(t.value,r),n.value=ul(n.value,r)}if(r){const e=sl(o,s);r.value=ll(r.value,s,e),t.value=dl(t.value,e),n.value=dl(n.value,e)}}else if(n){if(e){const e=pl(n.value);n.value=n.value.substring(e.length)}if(r){const e=pl(r.value);r.value=r.value.substring(e.length)}}else if(e&&r){const n=pl(r.value),i=pl(t.value),o=hl(t.value),a=al(n,i);t.value=ul(t.value,a);const s=sl(ul(n,a),o);t.value=dl(t.value,s),r.value=ll(r.value,n,s),e.value=cl(e.value,n,n.slice(0,n.length-s.length))}else if(r){const e=pl(r.value),n=fl(hl(t.value),e);t.value=dl(t.value,n)}else if(e){const n=fl(hl(e.value),pl(t.value));t.value=ul(t.value,n)}}const yl=new class extends il{tokenize(e){const t=new RegExp(`(\\r?\\n)|[${gl}]+|[^\\S\\n\\r]+|[^${gl}]`,"ug");return e.match(t)||[]}};const _l=new class extends il{constructor(){super(...arguments),this.tokenize=xl}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 wl(e,t,n){return _l.diff(e,t,n)}function xl(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 kl="syGZIoxJ",Cl="RXa8doT1",Sl="zpir2BWl",Al="G950Nz0z",El="zsrd3avP",Tl="lhxolKcF",Ml="mBwUCrFL",Ll="g4KlyZzX",Dl="hJeLOo1U",Nl="N_wcZPgp",Ol="Dsth5JnN",Fl="esQmeeTd",Rl="oJ9BJkyy",Il="nwVUw1wN",zl="zPbBjLko",Pl="DszOlnW0",Bl="dUSZKrAh",jl="dDI6ZI0h",Yl="uNUwe_HS",$l="sG54O2AC",ql="puYODjqd",Hl="h0ucaiY8",Ul="yDO2U9CM",Wl="tqCmioIo",Vl="ZfK0VKlv",Gl="bZnjmgRq",Kl="iSKfb3Ul",Zl="SG8hz9WF",Xl="yHFYrUoh";const Jl={chars:function(e,t,n){return ol.diff(e,t,n)},words:function(e,t,n){return null==(null==n?void 0:n.ignoreWhitespace)||n.ignoreWhitespace?vl.diff(e,t,n):function(e,t,n){return yl.diff(e,t,n)}(e,t,n)},lines:wl},Ql=({expected:e,actual:t})=>{const[n,r]=(0,v.J0)("lines"),[i,o]=(0,v.J0)("unified"),[a,s]=(0,v.J0)((()=>wl(e,t))),{t:l}=(0,w.s9)("controls"),c=()=>(0,y.Y)(y.FK,{children:a.map(((e,t)=>(0,y.Y)("div",{className:e.added?El:e.removed?Ml:"",children:e.value},t)))});return(0,y.FD)("div",{className:kl,"data-testId":"test-result-diff",children:[(0,y.FD)("div",{className:Al,children:[(0,y.FD)("div",{className:Cl,children:[(0,y.FD)(d.Cy,{size:"s",className:Sl,children:[l("viewMode"),":"]}),(0,y.Y)("div",{className:Dl,children:["unified","side-by-side"].map((e=>(0,y.Y)(d.$n,{size:"s",style:i===e?"primary":"outline",text:l(e),onClick:()=>o(e)},e)))})]}),(0,y.FD)("div",{className:Cl,children:[(0,y.FD)(d.Cy,{size:"s",className:Sl,children:[l("compareBy"),":"]}),["chars","words","lines"].map((i=>(0,y.Y)(d.$n,{size:"s",style:n===i?"primary":"outline",text:l(i),onClick:()=>((n="chars")=>{const i=(0,Jl[n])(e,t,{});r(n),s(i)})(i)},i)))]})]}),"side-by-side"===i?(0,y.Y)((()=>(0,y.FD)("div",{className:Fl,children:[(0,y.FD)("div",{className:Ol,children:[(0,y.Y)(d.Cy,{type:"ui",size:"s",className:Rl,children:l("expected")}),(0,y.Y)(d.Cv,{code:e,className:Ll})]}),(0,y.FD)("div",{className:Ol,children:[(0,y.Y)("div",{className:Nl,children:(0,y.Y)(d.Cy,{size:"s",className:Rl,children:l("actual")})}),(0,y.Y)(d.Cv,{className:Ll,children:(0,y.Y)(c,{})})]})]})),{}):(0,y.Y)((()=>(0,y.Y)(y.FK,{children:(0,y.Y)("div",{className:Xl,children:(0,y.FD)(d.Cv,{className:Ll,children:[(0,y.Y)("div",{className:Tl,children:e}),(0,y.Y)(c,{})]})})})),{})]})},ec=({trace:e})=>{const t=(0,u.Gn)(e,{fg:"var(--color-text-primary)",bg:"none",colors:{0:"none",1:"none",2:"var(--color-intent-info-text)",3:"var(--color-intent-warning-text)",4:"var(--color-status-unknown-chart)",5:"var(--color-syntax-type)"}});return(0,y.Y)("div",{"data-testid":"test-result-error-trace",className:jl,children:(0,y.Y)(d.Cy,{size:"s",type:"ui",children:(0,y.Y)("pre",{dangerouslySetInnerHTML:{__html:t}})})})},tc=({className:e,message:t="",trace:n,actual:r,expected:o,status:a,showMessage:s=!0,...l})=>{const[c,f]=(0,v.J0)(!1),{t:h}=(0,I.s9)("ui"),{t:p}=(0,I.s9)("controls"),{t:m}=(0,I.s9)("empty"),b=Boolean(n?.length),_=mr({actual:r,expected:o}),w=()=>Dr({title:p("comparison"),data:{actual:r,expected:o},component:(0,y.Y)(Ql,{actual:r,expected:o})}),x=s&&t?(0,u.Gn)(t,{fg:"var(--color-text-primary)",colors:{}}):"";return(0,y.FD)("div",{"data-testid":"test-result-error",className:g(Il,i[`tr-status-${a}`],e),...l,children:[s&&t?(0,y.FD)(y.FK,{children:[(0,y.FD)("div",{"data-testid":"test-result-error-header",className:zl,children:[(0,y.Y)(d.EY,{tag:"p",size:"m",bold:!0,className:g(Bl,i[`tr-color-${a}`]),children:h("error")}),(0,y.Y)(d.T_,{tooltipText:p("clipboard"),tooltipTextAfterClick:p("clipboardSuccess"),children:(0,y.Y)(d.K0,{style:"ghost",size:"s",icon:d.aA.lineGeneralCopy3,onClick:()=>{Po(t)}})})]}),(0,y.Y)("div",{className:Pl,onClick:()=>f(!c),children:(0,y.Y)(d.Cy,{"data-testid":"test-result-error-message",size:"s",children:(0,y.Y)("pre",{dangerouslySetInnerHTML:{__html:x}})})})]}):s?m("no-message-provided"):null,!s&&t&&(0,y.FD)("div",{className:zl,children:[_?(0,y.Y)(d.$n,{style:"flat","data-testId":"test-result-diff-button",size:"s",text:p("showDiff"),onClick:w}):(0,y.Y)("span",{}),(0,y.Y)(d.T_,{tooltipText:p("clipboard"),tooltipTextAfterClick:p("clipboardSuccess"),children:(0,y.Y)(d.K0,{style:"ghost",size:"s",icon:d.aA.lineGeneralCopy3,onClick:()=>{Po(t)}})})]}),(s||!t)&&_&&(0,y.Y)(d.$n,{style:"flat","data-testId":"test-result-diff-button",size:"s",text:p("showDiff"),onClick:w}),(c||!s)&&b&&(0,y.Y)(ec,{trace:n})]})};var nc="Sh6ni82w",rc="pXnEbQSL";const ic=()=>{const{t:e}=(0,w.s9)("empty"),{t:t}=(0,w.s9)("environments"),[n,r]=(0,v.J0)([]),i=e=>(0,y.Y)("ul",{className:"RorQpJLu",children:e.map(((e,t)=>(0,y.Y)("li",{className:"nTIk374J",children:(0,y.Y)(tc,{...e})},t)))}),o=e=>(0,y.Y)("div",{className:nc,children:i(e)});return(0,y.Y)(d.x_,{source:Qs,renderData:({errors:a=[],errorsByEnv:s={}})=>{if(A.hf.value){const t=s[A.hf.value]??[];return t.length?o(t):(0,y.Y)("div",{className:rc,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]===ve.Uz?o(l[0][1]??[]):a.length?(0,y.Y)("div",{className:nc,children:l.map((([e,o])=>{const a=!n.includes(e);return(0,y.FD)("div",{className:"nT3QRdeW",children:[(0,y.Y)(Qi,{isOpened:a,setIsOpen:()=>{r((t=>a?t.concat(e):t.filter((t=>t!==e))))},title:`${t("environment",{count:1})}: "${(0,A.J_)(e)}"`,titleTooltipText:(0,A.J_)(e),truncateTitle:!0,counter:o.length}),a?i(o):null]},e)}))}):(0,y.Y)("div",{className:rc,children:e("no-global-errors-results")}):o(a):(0,y.Y)("div",{className:rc,children:e("no-global-errors-results")})}})};const oc=()=>{const{logo:e}=(0,u.nj)()??{};return(0,y.Y)("div",{className:"WTJPyB_J",children:(0,y.Y)(d.gD,{logo:e})})};var ac=a(3715);const sc=()=>(0,y.Y)("div",{className:"n4rYharX",children:(0,y.Y)(d.x_,{source:ac.u0,renderLoader:()=>null,renderData:e=>(0,y.Y)(d.S2,{slices:e.slices,percentage:e.percentage})})}),lc=()=>{const{reportName:e,createdAt:t}=(0,u.nj)()??{},{t:n}=(0,w.s9)("ui"),r=new Date(t).toLocaleDateString(w.xs.value,{month:"long",day:"numeric",year:"numeric",hour:"numeric",minute:"numeric",second:"numeric"});return(0,y.FD)("div",{className:"_c9rkrJI",children:[(0,y.FD)("div",{className:"zS7_OItU",children:[(0,y.Y)(oc,{}),(0,y.Y)(d.x_,{source:Qs,renderData:({exitCode:t})=>{const i=t?.actual??t?.original;return(0,y.FD)("div",{className:"vMfYOHzS","data-testid":"report-header",children:[(0,y.FD)("div",{className:"oL7cUE3O",children:[void 0!==i&&(0,y.Y)(Go,{status:0===i?"passed":"failed"}),(0,y.Y)(d.DZ,{size:"s",tag:"h2",className:"O3rCqOkG","data-testid":"report-title",children:e})]}),(0,y.Y)(d.EY,{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})})]})}})]}),(0,y.Y)(sc,{})]})},cc=/^([^<>]+)\s+<\s*(\S*)\s*>$/,uc=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(cc);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"}:/^[^\s@]+@[^\s.@][^\s@]*\.[^\s@]+$/.test(r)?{displayName:n,email:r,type:"email"}:{displayName:e,type:"none"}};var dc="nN4HTcaV",fc="zekPInHE",hc="n8aAEqJN",pc="gWhwmmak",gc="vbS07EBz",mc="GnFlAHvD",vc="SOj4fXZr",bc="Y0BjnooD",yc="DYf1zpQK",_c="x3aRsFUn",wc="UDXyMSw0",xc="S2HdG_Q4",kc="J2Ih3NTA",Cc="P3sa8qE8",Sc="mINTqK_J",Ac="Mo_tidg4",Ec="A6GWJHtf",Tc="mS0_tpbu",Mc="Qc1PPhPw",Lc="WnwsZxzW",Dc="FFZ1ZZHu",Nc="SmbunT7K",Oc="XZvscg6t",Fc="tf5VzSUo",Rc="a26GxOK7",Ic="HaG13R7H";const zc=({envInfo:e,size:t="m",columns:n=2})=>(0,y.Y)("div",{class:Sc,style:{gridTemplateColumns:`repeat(${n}, ${100/n-5}%)`},"data-testid":"metadata-list",children:e?.map((({name:e,values:n,value:r})=>(0,y.Y)(Hc,{size:t,title:e,value:r,values:n},e)))}),Pc=({groupedLabels:e,size:t="m"})=>(0,y.Y)("div",{class:Sc,children:e&&Object.entries(e)?.map((([e,n])=>(0,y.Y)(Hc,{size:t,title:e,values:n},e)))}),Bc=({url:e})=>{const{t:t}=(0,I.s9)("filters");return(0,y.Y)(d.vx,{href:e,target:"_blank",style:"ghost",icon:d.aA.lineGeneralLinkExternal,text:t("goto_filter")})},jc=e=>{const{t:t}=(0,I.s9)("ui"),{ownerValue:n}=e,r=uc(n);if("none"===r.type)return null;if("email"===r.type&&r.email===n)return null;if("email"===r.type)return(0,y.Y)(d.$n,{icon:d.aA.lineGeneralCopy3,style:"outline",text:t("copy-email"),onClick:()=>Po(r.email)});if("url"===r.type){const e=r.url.length>25?`${r.url.slice(0,25)}...`:r.url;return(0,y.Y)(d.vx,{href:r.url,target:"_blank",style:"ghost",icon:d.aA.lineGeneralLinkExternal,text:e})}},Yc=e=>{const{value:t,name:n}=e,{t:r}=(0,I.s9)("ui");return(0,y.FD)("div",{className:mc,children:[(0,y.Y)("div",{className:vc,children:(0,y.Y)(d.EY,{children:t})}),"tag"===n&&(0,y.Y)(Bc,{url:zt([t])}),"owner"===n&&(0,y.Y)(jc,{ownerValue:t}),(0,y.Y)(d.$n,{style:"outline",icon:d.aA.lineGeneralCopy3,text:r("copy"),onClick:()=>Po(t)})]})},$c=({value:e,size:t="s"})=>{const n=uc(e).displayName??e;return(0,y.Y)(d.W1,{size:"xl",menuTrigger:({onClick:e})=>(0,y.Y)("div",{className:Cc,children:(0,y.Y)(d.EY,{type:"ui",size:t,onClick:e,bold:!0,className:kc,children:n})}),children:(0,y.Y)(d.W1.Section,{children:(0,y.Y)(Yc,{value:e,name:"owner"})})})},qc=({name:e,size:t="s",value:n})=>"owner"===e?(0,y.Y)($c,{value:n,size:t}):(0,y.Y)(d.W1,{size:"xl",menuTrigger:({onClick:e})=>(0,y.Y)("div",{className:Cc,children:(0,y.Y)(d.EY,{type:"ui",size:t,onClick:e,bold:!0,className:kc,children:n})}),children:(0,y.Y)(d.W1.Section,{children:(0,y.Y)(Yc,{value:n,name:e})})}),Hc=({title:e,value:t,values:n,size:r="m"})=>(0,y.FD)("div",{className:wc,"data-testid":"metadata-item",children:[(0,y.Y)(d.EY,{type:"ui",size:r,className:g(xc,o[`report-metadata-${r}`]),"data-testid":"metadata-item-key",children:e}),n?.length?(0,y.Y)("div",{className:Lc,"data-testid":"metadata-item-value",children:n.map((t=>(0,y.Y)(qc,{value:t,name:e},t)))}):(0,y.Y)("div",{className:Lc,"data-testid":"metadata-item-value",children:(0,y.Y)(qc,{value:t??"",name:e})})]});var Uc="H1FTwt0p",Wc="olN4GBkY",Vc="BPmah4u0",Gc="nniai2BI",Kc="v3ysKQxp",Zc="qzVfMJ62",Xc="rSSOw0a2",Jc="GX_rB7lR",Qc="leWWvIJ0",eu="mVVC1964",tu="scoj0j8L",nu="ITwjhwRa",ru="g27isKzC",iu="wzfUu19I",ou="GF7CSNA8",au="Qa3VANQ9",su="ue52FuVD",lu="TE01RZXH",cu="uginZSIO",uu="qkhMdfXn",du="GwUOcir4";const fu=({count:e})=>(0,y.Y)(d.EY,{"data-testid":"metadata-value",type:"ui",size:"m",tag:"div",className:Gc,children:e});var hu=({className:e,renderComponent:t=fu,props:n,...r})=>{const{title:i}=n||{};return(0,y.FD)("div",{...r,className:p("metadata-item",e),children:[(0,y.Y)(d.EY,{type:"ui",size:"s",tag:"div",className:Vc,children:i}),t?(0,y.Y)(t,{...n}):(0,y.Y)(fu,{...n})]})};const pu=({status:e,count:t})=>(0,y.FD)("div",{"data-testid":"metadata-value",className:Kc,children:[(0,y.Y)("div",{className:p(Uc,s?.[`status-${e}`])}),(0,y.Y)(d.EY,{type:"ui",size:"m",bold:!0,children:t})]}),gu={flaky:d.aA.lineIconBomb2,retries:d.aA.lineArrowsRefreshCcw1,new:d.aA.lineAlertsNew},mu=({type:e,count:t})=>(0,y.FD)("div",{"data-testid":"metadata-value",className:Zc,children:["all"!==e&&(0,y.Y)(d.Ah,{className:Wc,id:gu[e],size:"s"}),(0,y.Y)(d.EY,{size:"m",bold:!0,children:t})]}),vu=["flaky","new","retries"],bu=({stats:e})=>{const{t:t}=(0,I.s9)("statuses"),{t:n}=(0,I.s9)("testSummary"),r=(0,f.EW)((()=>({title:n("total"),type:"all",count:e.total}))),i=vu.map((t=>{if(!e[t])return;const r={title:n(t),count:e[t]||0,type:t};return(0,y.Y)("div",{children:(0,y.Y)(hu,{"data-testid":`metadata-item-${t}`,props:r,renderComponent:mu})},t)})).filter(Boolean),o=ve.bA.map((t=>({status:t,value:e[t]}))).filter((({value:e})=>e)).map((({status:e,value:n})=>{const r={title:(0,ve.ZH)(t(e)??e??""),count:n,status:e};return(0,y.Y)(hu,{"data-testid":`metadata-item-${e}`,props:r,renderComponent:pu},e)}));return(0,y.FD)("div",{class:ou,children:[(0,y.FD)("div",{className:Jc,children:[(0,y.Y)(hu,{"data-testid":"metadata-item-total",props:r.value,renderComponent:mu}),Boolean(i.length)&&(0,y.Y)("div",{className:ru}),i]}),(0,y.Y)("div",{className:iu,children:o})]})},yu=(0,f.vP)({loading:!1,error:void 0,data:void 0}),_u=async()=>{yu.value={...yu.peek(),loading:!0,error:void 0};try{const e=await(0,u.tj)("widgets/allure_environment.json",{bustCache:!0});yu.value={data:e,error:void 0,loading:!1}}catch(e){yu.value={...yu.peek(),error:(0,u.qX)(e),loading:!1}}},wu=(0,f.vP)({loading:!1,error:void 0,data:void 0}),xu=({envInfo:e=[]})=>{const t=Nr("metadata"),n=`${t}-showAll`,r=!Ln.value.has(t),i=Ln.value.has(n),o=e.map((e=>({...e,value:e.values.join(", ")}))),a=o.length,s=a<=8||i?o:o.slice(0,8),{t:l}=(0,w.s9)("ui");return(0,y.FD)("div",{class:Xc,children:[(0,y.Y)(Qi,{isOpened:r,setIsOpen:()=>Fn(t),title:l("metadata"),counter:e.length}),r&&(0,y.FD)(y.FK,{children:[(0,y.Y)(zc,{envInfo:s}),a>8&&(0,y.Y)(d.$n,{style:"ghost",size:"s",text:l(i?"showLess":"showMore"),onClick:()=>Fn(n)})]})]})},ku=e=>{const{t:t}=(0,w.s9)("ui"),n=Nr("variables"),r=`${n}-showAll`,i=!Ln.value.has(n),o=Ln.value.has(r),a=Object.entries(e.variables).map((([e,t])=>({name:e,value:t}))),s=a.length,l=s<=8||o?a:a.slice(0,8);return(0,y.FD)("div",{class:Xc,"data-testid":"report-variables",children:[(0,y.Y)(Qi,{isOpened:i,setIsOpen:()=>Fn(n),title:t("variables"),counter:Object.keys(e.variables).length,"data-testid":"report-variables-button"}),i&&(0,y.FD)(y.FK,{children:[(0,y.Y)(zc,{envInfo:l}),s>8&&(0,y.Y)(d.$n,{style:"ghost",size:"s",text:t(o?"showLess":"showMore"),onClick:()=>Fn(r)})]})]})},Cu=()=>{const e=A.hf.value,t=e?w.JC.value.data[e]:w.xD.value.data;return(0,v.vJ)((()=>{(async(e="default")=>{wu.value={...wu.peek(),loading:!0,error:void 0};try{const t=await(0,u.tj)(e?`widgets/${e}/variables.json`:"widgets/variables.json",{bustCache:!0});wu.value={data:{...wu.peek().data,[e]:t},error:void 0,loading:!1}}catch(e){wu.value={...wu.peek(),error:e.message,loading:!1}}})(e)}),[e]),(0,y.FD)("div",{className:au,children:[t&&(0,y.Y)(bu,{stats:t}),(0,y.Y)(d.x_,{source:wu,transformData:e=>e?.[A.hf.value??"default"]??{},renderData:e=>!!Object.keys(e).length&&(0,y.Y)(ku,{variables:e})}),(0,y.Y)(d.x_,{source:yu,renderError:()=>null,renderData:e=>Boolean(e?.length)&&(0,y.Y)(xu,{envInfo:e})})]})},Su=(0,f.vP)({loading:!0,error:void 0,data:void 0}),Au=async()=>{try{const e=await(0,u.tj)("widgets/quality-gate.json");Su.value={data:e,error:void 0,loading:!1}}catch(e){Su.value={...Su.peek(),error:e.message,loading:!1}}};var Eu="u7c2Gp3S";const Tu=({results:e})=>(0,y.Y)("ul",{className:"W2Wj9sPD","data-testid":"quality-gate-results-section-env-content",children:e.map((e=>(0,y.Y)("li",{"data-testid":"quality-gate-result",children:(0,y.FD)("div",{className:"c_o9yDWb",children:[(0,y.Y)(d.Ah,{id:d.aA.solidXCircle,className:"uUNweAEI"}),(0,y.FD)("div",{className:"F5kBsuGq",children:[(0,y.Y)(d.EY,{tag:"p",size:"l",type:"ui",bold:!0,"data-testid":"quality-gate-result-rule",children:e.rule}),(0,y.Y)(tc,{className:"WcL1EdUx",message:e.message,"data-testid":"quality-gate-result-message"})]})]})},e.rule)))}),Mu=()=>{const{t:e}=(0,w.s9)("empty"),{t:t}=(0,w.s9)("environments"),[n,r]=(0,v.J0)([]);return(0,y.Y)(d.x_,{source:Su,renderData:i=>{if(A.hf.value){const t=i[A.hf.value]??[];return t.length?(0,y.Y)(Tu,{results:t}):(0,y.Y)("div",{className:Eu,children:e("no-quality-gate-results")})}const o=Object.entries(i).filter((([,e])=>e.length>0));if(!o.length)return(0,y.Y)("div",{className:Eu,children:e("no-quality-gate-results")});if(1===o.length&&o[0][0]===ve.Uz){const t=o[0][1]??[];return t.length?(0,y.Y)(Tu,{results:t}):(0,y.Y)("div",{className:Eu,children:e("no-quality-gate-results")})}return(0,y.Y)("div",{className:"NUdzNGyk",children:o.map((([e,i])=>{const o=!n.includes(e);return(0,y.FD)("div",{className:"s8fDLKPX","data-testid":"quality-gate-results-section",children:[(0,y.Y)(Qi,{isOpened:o,setIsOpen:()=>{r((t=>o?t.concat(e):t.filter((t=>t!==e))))},title:`${t("environment",{count:1})}: "${(0,A.J_)(e)}"`,titleTooltipText:(0,A.J_)(e),truncateTitle:!0,counter:i.length,"data-testid":"quality-gate-results-section-env-button"}),o&&(0,y.Y)(Tu,{results:i})]},e)}))})}})};let Lu=function(e){return e.Results="results",e.QualityGate="qualityGate",e.GlobalAttachments="globalAttachments",e.GlobalErrors="globalErrors",e.Categories="categories",e}({});const Du={[Lu.Results]:()=>(0,y.FD)(y.FK,{children:[(0,y.Y)(Cu,{}),(0,y.Y)(Fo,{})]}),[Lu.GlobalAttachments]:()=>(0,y.Y)(rl,{}),[Lu.GlobalErrors]:()=>(0,y.Y)(ic,{}),[Lu.QualityGate]:()=>(0,y.Y)(Mu,{}),[Lu.Categories]:()=>(0,y.Y)(Ia,{})},Nu=()=>{const{currentTab:e}=Wi(),t=e||Lu.Results,n=Du[t];return(0,y.Y)(n,{})};var Ou=()=>{const{t:e}=(0,w.s9)("tabs"),t={categories:Lu.Categories,qualityGate:Lu.QualityGate,globalAttachments:Lu.GlobalAttachments,globalErrors:Lu.GlobalErrors},n={[Lu.Categories]:"categories",[Lu.QualityGate]:"qualityGate",[Lu.GlobalAttachments]:"globalAttachments",[Lu.GlobalErrors]:"globalErrors"},r=K.value.matches?t[K.value.params.rootTab]??Lu.Results:Lu.Results,i=e=>{const{id:t,children:r}=e,{currentTab:i,setCurrentTab:o}=Wi(),a=i===t;return(0,y.Y)(Zi,{id:t,onClick:()=>{if(a)return;if(Kn(),o(t),t===Lu.Results)return void(he.value?Y({testResultId:he.value,tab:fe.value}):q());const e=n[t];e?he.value?U({rootTab:e,testResultId:he.value,tab:fe.value}):H({rootTab:e}):q()},isCurrentTab:a,children:r})},o=F.value&&"tree"===qn.value;return(0,y.FD)("div",{className:g("jMfDHmT3",F.value&&"vxvi7vCG",o&&"B5gv1lJt"),onMouseDown:()=>Kn(),children:[(0,y.Y)("div",{className:"WNl86Pug",children:(0,y.Y)(lc,{})}),(0,y.Y)("div",{className:"QUJMdpd1",children:(0,y.FD)(Gi,{initialTab:r,children:[(0,y.Y)((()=>{const{currentTab:e,setCurrentTab:n}=Wi(),r=K.value.matches?K.value.params.rootTab??"":"";return(0,v.vJ)((()=>{const r=K.value.matches,i=r?K.value.params.rootTab:void 0,o=r?t[i]??Lu.Results:Lu.Results;e!==o&&n(o)}),[e,n,r]),null}),{}),(0,y.FD)("div",{className:"dURsXYhP",children:[(0,y.Y)("div",{className:"_fdRZa6f",children:(0,y.FD)(Ki,{children:[(0,y.Y)(d.x_,{source:w.xD,renderData:t=>(0,y.FD)(i,{id:Lu.Results,children:[e("results")," ",(0,y.Y)(d.ph,{count:t?.total??0})]})}),(0,y.Y)(d.x_,{source:Or,renderData:t=>t&&t.roots?.length?(0,y.Y)(y.FK,{children:(0,y.FD)(i,{id:Lu.Categories,children:[e("categories")," ",(0,y.Y)(d.ph,{count:t.roots?.length})]})}):null}),(0,y.Y)(d.x_,{source:Su,renderData:t=>{const n=A.hf.value?t[A.hf.value]??[]:Object.values(t).flatMap((e=>e));return(0,y.FD)(i,{id:Lu.QualityGate,children:[e("qualityGates")," ",(0,y.Y)(d.ph,{status:n.length>0?"failed":void 0,count:n.length})]})}}),(0,y.Y)(d.x_,{source:Qs,renderData:({attachments:t=[],attachmentsByEnv:n={},errors:r=[],errorsByEnv:o={}})=>{const a=A.hf.value?n[A.hf.value]??[]:t,s=A.hf.value?o[A.hf.value]??[]:r;return(0,y.FD)(y.FK,{children:[(0,y.FD)(i,{id:Lu.GlobalAttachments,children:[e("globalAttachments")," ",(0,y.Y)(d.ph,{count:a.length})]}),(0,y.FD)(i,{id:Lu.GlobalErrors,children:[e("globalErrors")," ",(0,y.Y)(d.ph,{status:s.length>0?"failed":void 0,count:s.length})]})]})}})]})}),(0,y.Y)("div",{className:"XJmcSSxb",children:(0,y.Y)(Nu,{})})]})]})})]})};const Fu=({testResult:e,className:t})=>{const{attachments:n}=e??{},{t:r}=(0,w.s9)("ui");return(0,y.Y)("div",{className:g("zfDiQjUs",t),children:n.length?n?.map(((e,t)=>(0,y.Y)(Js,{item:e,stepIndex:t+1},t))):(0,y.Y)("div",{className:"gHLb2IHz",children:r("no-attachments-results")})})};var Ru="vU4QD1Zt";const Iu={flaky:d.aA.lineIconBomb2,known:d.aA.lineAlertsAlertCircle,muted:d.aA.lineGeneralEye},zu=({statuses:e})=>{const{t:t}=(0,w.s9)("filters");return(0,y.Y)("div",{className:"Y_ABjIlV",children:e.map((([e],n)=>{const r=t(e);return(0,y.FD)("div",{className:"RzEWIfyL",children:[(0,y.Y)(d.Ah,{className:"sYnvAmJE",id:Iu[e],size:"s"}),(0,y.Y)(d.EY,{type:"ui",size:"s",children:(0,ve.ZH)(r)})]},n)}))})};const Pu=e=>{const{trId:t,type:n}=e,{t:r}=(0,w.s9)("controls"),i=void 0===t,o="prev"===n,a=o?d.aA.lineArrowsChevronUp:d.aA.lineArrowsChevronDown,s=r("prevTR"),l=r("nextTR"),c=`test-result-nav-${n}`;return i?(0,y.Y)(d.K0,{icon:a,style:"ghost",isDisabled:!0,"data-testid":c}):(0,y.Y)(d.T_,{tooltipText:o?s:l,children:(0,y.Y)(d.K0,{icon:a,style:"ghost","data-testid":c,onClick:()=>j({testResultId:t,tab:fe.value})})})},Bu=e=>{const{fullName:t}=e,{t:n}=(0,w.s9)("controls");return(0,y.FD)("div",{"data-testid":"test-result-fullname",className:"UMtt6eky",children:[(0,y.Y)(d.T_,{tooltipText:n("clipboard"),tooltipTextAfterClick:n("clipboardSuccess"),children:(0,y.Y)(d.K0,{"data-testid":"test-result-fullname-copy",style:"ghost",size:"s",iconColor:"secondary",icon:d.aA.lineGeneralCopy3,onClick:()=>Po(t)})}),(0,y.Y)(d.Cy,{tag:"div",size:"s",className:"m0hjvF1C",children:t})]})},ju=e=>{const{current:t,total:n}=e;return(0,y.FD)(d.Cy,{"data-testid":"test-result-nav-current",size:"s",className:"uY32EKiB",children:[t,"/",n]})},Yu=(0,f.EW)((()=>ge.value.data??[])),$u=(0,f.EW)((()=>Yu.value.length>0)),qu=e=>{const{currentId:t}=e,n=(0,f.HO)((()=>Yu.value[Yu.value.indexOf(t)+1])),r=(0,f.HO)((()=>Yu.value[Yu.value.indexOf(t)-1])),i=(0,f.HO)((()=>Yu.value.indexOf(t)+1)),o=(0,f.HO)((()=>Yu.value.length));return $u.value?(0,y.FD)("div",{className:"kpgcHGgL",children:[(0,y.Y)(Pu,{trId:r.value,type:"prev"}),(0,y.Y)(ju,{current:i.value,total:o.value}),(0,y.Y)(Pu,{trId:n.value,type:"next"})]}):null},Hu=e=>{const{testResult:t}=e;if(!t?.id)return null;const n=!!t?.isRetry,r=!!t?.fullName;return!n&&$u.value||r?(0,y.FD)("div",{className:"S2MigNqx",children:[r&&(0,y.Y)(Bu,{fullName:t.fullName}),!n&&(0,y.Y)(qu,{currentId:t.id})]}):null},Uu={month:"numeric",day:"numeric",year:"numeric",hour:"numeric",minute:"numeric",second:"numeric",hour12:!1},Wu=(e,t=Uu)=>{const n=new Date(e),{t:r}=(0,I.s9)("ui"),i=t.second?"dateTime":t.hour||t.minute?"dateTimeNoSeconds":"date",o=(0,u.e4)(I.IJ.value,i),a=new Intl.DateTimeFormat(o?.locale??I.xs.value,{...t,...o?.options??{}}).format(n);return!1===o?.includeAtSeparator||o?.stripComma?a.replace(",",""):a.replace(",",` ${r("at")}`)};var Vu="Qtaknh4H",Gu="MvcZI6N6",Ku="ZklQzVpr",Zu="KWGGj5BL",Xu="AqrlysBM",Ju="mYGYsQ_6",Qu="pd_eIpqc",ed="_7pQBjWyU";const td=({item:e})=>{const t=(0,u.nj)();if(!e.url)return(0,y.Y)("div",{className:Ju,children:(0,y.Y)(d.Ah,{id:d.aA.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,(0,y.Y)("a",{className:Ju,href:i.toString(),children:(0,y.Y)(d.Ah,{id:d.aA.lineShapesDotCircle,className:l[`status-${e?.status}`]})})},nd=({item:e})=>{const t=e.stop&&Wu(e.stop),{t:n}=(0,w.s9)("statuses"),r=n(e.status);return(0,y.FD)("div",{className:Qu,children:[(0,y.Y)(d.EY,{tag:"div",size:"m",bold:!0,children:(0,ve.ZH)(r)}),(0,y.Y)(d.EY,{size:"m",children:t})]})},rd=({history:e})=>(0,y.Y)("div",{className:ed,children:e?.slice(0,6).map(((e,t)=>(0,y.Y)("div",{"data-testid":"test-result-prev-status",className:Ju,children:(0,y.Y)(d.T_,{tooltipComponent:(0,y.Y)(nd,{item:e}),children:(0,y.Y)(td,{item:e})},t)},t)))}),id=Gi,od=Ki,ad=e=>{const{id:t,children:n}=e,r=fe.value===t;return(0,y.Y)(Zi,{id:t,onClick:()=>{r||$("overview"!==t?{testResultId:he.value,tab:t}:{testResultId:he.value,tab:""})},"data-testid":`test-result-tab-${t}`,isCurrentTab:r,children:n})},sd=({testResult:e})=>{const{name:t,status:n,muted:r,flaky:i,known:o,duration:a,labels:s,history:l,retries:c,attachments:u,stop:f,categories:h}=e??{},p=(0,ve.a3)(a),m=f&&Wu(f),v=s?.find((e=>"severity"===e.name))?.value??"normal",b=h?.[0]?.name,{t:_}=(0,I.s9)("ui"),w=Object.entries({flaky:i,muted:r,known:o}).filter((([,e])=>e));return(0,y.FD)("div",{className:g("_ySO1N0z",F.value&&"pFFeg3Zk"),children:[(0,y.Y)(Hu,{testResult:e}),e&&(0,y.Y)((()=>(0,y.FD)(y.FK,{children:[t&&(0,y.Y)(d.DZ,{"data-testid":"test-result-info-title",tag:"h1",size:"s",className:"JO7GwVtt",children:t}),(0,y.FD)("div",{className:"F6S5W1e2",children:[Boolean(n)&&(0,y.Y)(Go,{status:n}),Boolean(l?.length)&&(0,y.Y)(rd,{history:l}),(0,y.Y)(La,{severity:v}),Boolean(w.length)&&(0,y.Y)(zu,{statuses:w}),b&&(0,y.FD)(d.EY,{tag:"div",size:"s",className:"BFFYU7Wv",children:[_("category"),": ",b]}),(0,y.Y)(d.T_,{tooltipText:m,children:(0,y.Y)(d.EY,{tag:"div",size:"s",bold:!0,className:"me_UMwzF",children:p})})]}),(0,y.Y)("div",{className:"T9uo7iug",children:(0,y.FD)(od,{children:[(0,y.Y)(ad,{id:"overview",children:_("overview")}),(0,y.Y)(ad,{id:"history",children:(0,y.FD)("div",{className:Ru,children:[_("history"),Boolean(l?.length)&&(0,y.Y)(d.ph,{size:"s",count:l?.length})]})}),(0,y.Y)(ad,{id:"retries",children:(0,y.FD)("div",{className:Ru,children:[_("retries"),Boolean(c?.length)&&(0,y.Y)(d.ph,{size:"s",count:c?.length})]})}),(0,y.Y)(ad,{id:"attachments",children:(0,y.FD)("div",{className:Ru,children:[_("attachments"),Boolean(u?.length)&&(0,y.Y)(d.ph,{size:"s",count:u?.length})]})}),(0,y.Y)(d.x_,{source:A.Zo,transformData:t=>t?.[e?.testCase?.id],renderData:e=>{const t=(0,ve.EE)(e);return(0,y.Y)(ad,{id:"environments",children:(0,y.FD)("div",{className:Ru,children:[_("environments"),!!t&&(0,y.Y)(d.ph,{size:"s",count:t})]})})}})]})})]})),{})]})};const ld=()=>{const{t:e}=(0,w.s9)("empty");return(0,y.Y)("div",{className:"BzXsHBvw",children:(0,y.FD)("div",{className:"koOYvEfj",children:[(0,y.Y)(d.Ah,{size:"xl",id:d.aA.lineDevCodeSquare,className:"lGholSnL"}),(0,y.Y)(d.EY,{className:"IGp9O8Vd",children:e("no-test-case-results")})]})})};var cd=()=>(0,y.FD)("div",{className:"N3IRv8v_",children:[(0,y.Y)(sd,{}),(0,y.Y)(ld,{})]}),ud="IUE2Omu5";const dd=({env:e,testResult:t,current:n=!1})=>{const{status:r,error:i,stop:o,duration:a,id:s}=t,[l,c]=(0,v.J0)(!1),u=!i||!Object.keys(i).length,f=o?Wu(o):"",h=(0,ve.a3)(a),{t:p}=(0,w.s9)("controls"),m=s;return(0,y.FD)("div",{"data-testid":"test-result-env-item",children:[(0,y.FD)("div",{className:"dMWnxDb0",children:[!u&&(0,y.Y)("span",{onClick:()=>c(!l),children:(0,y.Y)(d.U_,{isOpened:l,icon:d.aA.arrowsChevronDown})}),(0,y.FD)("div",{className:g("lWx95Nbt",{[ud]:n}),role:n?void 0:"button",onClick:e=>{n||(e.stopPropagation(),j({testResultId:s}))},children:[(0,y.Y)(d.WP,{status:r,className:"JaebewVW"}),(0,y.Y)(d.EY,{className:"aYdTB6bA",bold:!0,children:e}),(0,y.Y)(d.EY,{className:"YDQT9BDS",children:f}),(0,y.FD)("div",{className:"W1EawBgQ",children:[(0,y.Y)(d.EY,{type:"ui",size:"s",className:"VhLNf09q",children:h}),!n&&(0,y.Y)(d.T_,{tooltipText:p("openInNewTab"),children:(0,y.Y)(d.K0,{icon:d.aA.lineGeneralLinkExternal,style:"ghost",size:"s",className:"iULZkSC8","data-testid":"test-result-env-item-new-tab-button",onClick:e=>{var t;e.stopPropagation(),t=m,"undefined"!=typeof window&&window.open(`#${t}`,"_blank")}})})]})]})]}),l&&!u&&(0,y.Y)("div",{children:(0,y.Y)(tc,{status:r,...i})})]})};const fd=({env:e,activeTestResultId:t,testResultId:n})=>((0,v.vJ)((()=>{me(n)}),[n]),(0,y.Y)(d.x_,{source:pe,transformData:e=>e[n],renderData:r=>r&&(0,y.Y)(dd,{env:e,testResult:r,current:t===n})})),hd=({testResult:e})=>{const{t:t}=(0,w.s9)("empty");return(0,y.Y)("div",{className:"ozZv4YYg",children:(0,y.Y)(d.x_,{source:A.Zo,renderData:n=>{if(!(0,ve.EE)(n))return(0,y.Y)("div",{className:"W1D3Dob7",children:t("no-environments-results")});const r=Object.entries(n.testResultsByEnv).sort((([e],[t])=>t.localeCompare(e)));return(0,y.Y)("ul",{children:r.map((([t,n])=>(0,y.Y)("li",{children:(0,y.Y)(fd,{env:(0,A.J_)(t),testResultId:n,activeTestResultId:e.id})},`${t}-${n}`)))})},transformData:t=>t[e?.testCase?.id]})})};var pd="aJcIdb37",gd="SMPSTdLn";const md=e=>{const{t:t}=(0,w.s9)("trHistory"),{date:n}=e;return(0,y.Y)(d.EY,{"data-unknown":!n||void 0,className:"UZnGR7He",children:n??t("unknown-date")})},vd=e=>{const t=(0,u.nj)(),{historyTr:n}=e,{status:r,error:i,duration:o,id:a,url:s}=n,[l,c]=(0,v.J0)(!1),f=(e=>{const{stop:t,duration:n,start:r}=e;return t?Wu(t):r&&n?Wu(r+n):void 0})(n),h=o?(0,ve.a3)(o):void 0,{t:p}=(0,w.s9)("controls"),g=(0,v.Kr)((()=>{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]),m=()=>(0,y.FD)(y.FK,{children:[(0,y.Y)(d.WP,{status:r,className:"OMi8QUdx"}),(0,y.Y)(md,{date:f}),(0,y.FD)("div",{className:"SoDTj6MG",children:[h&&(0,y.Y)(d.EY,{type:"ui",size:"s",className:"XPnhNSK8",children:h}),g?(0,y.Y)(d.T_,{tooltipText:p("openInNewTab"),children:(0,y.Y)(d.K0,{href:g.toString(),target:"_blank",icon:d.aA.lineGeneralLinkExternal,style:"ghost",size:"s",className:"cDd5rF2D",onClick:e=>{e.stopPropagation()}})}):null]})]});return(0,y.FD)("div",{"data-testid":"test-result-history-item",children:[(0,y.FD)("div",{className:"kswjYBvR",children:[Boolean(i)&&(0,y.Y)("span",{onClick:()=>c(!l),children:(0,y.Y)(d.U_,{isOpened:l,icon:d.aA.arrowsChevronDown})}),g?(0,y.Y)("a",{href:g,className:gd,children:m()}):(0,y.Y)("div",{className:gd,children:m()})]}),l&&i&&(0,y.Y)("div",{children:(0,y.Y)(tc,{...i,status:r})})]})};var bd=e=>{const{testResult:t={}}=e,{history:n=[]}=t,{t:r}=(0,w.s9)("empty");return n.length>0?(0,y.Y)("div",{className:pd,children:n.map(((e,t)=>(0,y.Y)(vd,{historyTr:e},t)))}):(0,y.Y)("div",{className:pd,children:(0,y.Y)(d.rk,{description:r("no-history-results")})})};var yd=()=>{const{t:e}=(0,w.s9)("empty");return(0,y.Y)("div",{className:"y8QoXSIL",children:(0,y.FD)("div",{className:"PB69_VZ_",children:[(0,y.Y)(d.Ah,{size:"xl",id:d.aA.lineDevCodeSquare,className:"yDYp5hpY"}),(0,y.Y)(d.EY,{className:"pSX73zId",children:e("no-test-steps-results")})]})})};const _d=({id:e,descriptionHtml:t})=>{const n="string"==typeof e?`${e}-description`:null,r=!Ln.value.has(n),[i,o]=(0,v.J0)(""),[a,s]=(0,v.J0)(0),l=u.nc.value.current,c=(0,v.Kr)((()=>t?(0,u.pT)(t):""),[t]);(0,v.vJ)((()=>{if(!c)return void o("");const e=(0,u.AE)(u.Eg),t=`<!DOCTYPE html>\n <html data-theme="${l}">\n <head>\n <meta charset="utf-8">\n <style>:root {${e}}</style>\n <style>${u.Eg}</style>\n </head>\n <body>${c}</body>\n </html>`,n=new Blob([t],{type:"text/html"}),r=URL.createObjectURL(n);return o(r),()=>URL.revokeObjectURL(r)}),[l,c]);return(0,y.Y)("div",{className:"Q1HbMGcP","data-testid":"test-result-description",children:(0,y.FD)("div",{className:"DYtd2iR0",children:[(0,y.Y)(Qi,{title:"Description",setIsOpen:()=>{null!==n&&Fn(n)},isOpened:r}),r&&(0,y.Y)("div",{className:"lcO4cBIj",children:i&&(0,y.Y)("iframe",{"data-testid":"test-result-description-frame",title:"Description",src:i,width:"100%",height:String(a),style:{border:0},sandbox:"allow-same-origin",onLoad:e=>{const t=e.currentTarget;s((e=>{const t=e.contentDocument?.documentElement,n=e.contentDocument?.body,r=n?.getBoundingClientRect().height??0,i=Math.max(n?.scrollHeight??0,t?.scrollHeight??0);return Math.ceil(Math.max(r,i))})(t))}})})]})})};var wd="Pv304n1w";const xd={issue:d.aA.lineDevBug2,link:d.aA.lineGeneralLink1,tms:d.aA.lineGeneralChecklist3,github:d.aA.github},kd=({link:e})=>{const{url:t,name:n,type:r}=e,i=(0,ve.UG)(t),o=n||t;return(0,y.FD)("div",{className:"wH1b223H","data-testid":"test-result-meta-link",children:[(0,y.Y)(d.Ah,{id:xd[r]??d.aA.lineGeneralLink1}),i?(0,y.Y)(d.EY,{tag:"a",href:i,target:"_blank",rel:"noopener noreferrer",size:"m",className:wd,children:o}):(0,y.Y)(d.EY,{size:"m",className:wd,children:o})]})},Cd=({id:e,links:t})=>{const{t:n}=(0,I.s9)("ui"),r=e?`${e}-links`:null,i=e?`${e}-links-showAll`:null,o=!Ln.value.has(r),a=Ln.value.has(i),s=(t.length<=8||a?t:t.slice(0,8)).map(((e,t)=>(0,y.Y)(kd,{link:e},t)));return(0,y.Y)("div",{className:"rU8uOnpG","data-testid":"test-result-meta-links",children:(0,y.FD)("div",{className:"PZxhaJkM",children:[(0,y.Y)(Qi,{isOpened:o,setIsOpen:()=>{null!==r&&Fn(r)},counter:t.length,title:n("links")}),o&&(0,y.FD)(y.FK,{children:[(0,y.Y)("div",{className:"WTRPAslw",children:s}),t.length>8&&(0,y.Y)(d.$n,{style:"ghost",size:"s",text:n(a?"showLess":"showMore"),onClick:()=>{null!==i&&Fn(i)}})]})]})})};const Sd=({id:e,testResult:t})=>{const{t:n}=(0,I.s9)("ui"),{labels:r,groupedLabels:i}=t??{},o=e?`${e}-labels`:null,a=null!==e?`${e}-labels-showAll`:null,s=!Ln.value.has(o),l=i?Object.entries(i):[],c=Ln.value.has(a),u=c?l:l.slice(0,8),f=Object.fromEntries(u);return(0,y.FD)("div",{className:"SvCoMxvo",children:[(0,y.Y)(Qi,{isOpened:s,setIsOpen:()=>{null!==o&&Fn(o)},counter:r?.length,title:n("labels")}),(0,y.Y)("div",{className:"gAGfGuP8",children:s&&(0,y.FD)(y.FK,{children:[(0,y.Y)(Pc,{groupedLabels:f}),l.length>8&&(0,y.Y)(d.$n,{style:"ghost",size:"s",text:n(c?"showLess":"showMore"),onClick:()=>{null!==a&&Fn(a)}})]})})]})};const Ad=({id:e,parameters:t})=>{const{t:n}=(0,I.s9)("ui"),r=e?`${e}-parameters`:null,i=null!==e?`${e}-parameters-showAll`:null,o=!Ln.value.has(r),a=t??[],s=a.length,l=Ln.value.has(i),c=l?a:a.slice(0,8);return(0,y.FD)("div",{className:"DXuoyqyf",children:[(0,y.Y)(Qi,{isOpened:o,setIsOpen:()=>{null!==r&&Fn(r)},counter:t?.length,title:n("parameters")}),(0,y.Y)("div",{className:"uUacfxad",children:o&&(0,y.FD)(y.FK,{children:[(0,y.Y)(zc,{envInfo:c}),s>8&&(0,y.Y)(d.$n,{style:"ghost",size:"s",text:n(l?"showLess":"showMore"),onClick:()=>{null!==i&&Fn(i)}})]})})]})};const Ed=({pwTraces:e})=>{const[t,n]=(0,v.J0)(!0);return(0,y.FD)("div",{className:"QfnFjFD6",children:[(0,y.Y)(Qi,{isOpened:t,setIsOpen:n,counter:e?.length,title:"Playwright Trace"}),t&&(0,y.Y)("div",{className:"I6_o5RUi",children:e?.map(((e,t)=>(0,y.Y)(Js,{stepIndex:t+1,item:e},e.link.id)))})]})};const Td=({isOpened:e,setIsOpen:t,title:n,icon:r,counter:i,actions:o,className:a,...s})=>(0,y.FD)("div",{className:g("XDKNsrBT",a),onClick:()=>t(!e),...s,children:[(0,y.Y)(d.U_,{isOpened:e,icon:d.aA.arrowsChevronDown}),(0,y.FD)("div",{className:"g_DYfW02",children:[(0,y.Y)(d.Ah,{id:r}),(0,y.Y)(d.EY,{bold:!0,children:n}),(0,y.Y)(d.ph,{count:i,size:"s"}),o?(0,y.Y)("div",{className:"NvWIcNCA",onClick:e=>e.stopPropagation(),children:o}):null]})]}),Md=({title:e,status:t,stepIndex:n,isOpened:r,hasContent:i,onToggle:o,extra:a,subtreeToggle:s,className:l,...c})=>(0,y.FD)("div",{"data-testid":"test-result-step-header",className:g(Fs,l),onClick:i?o:void 0,...c,children:[i?(0,y.Y)(d.U_,{isOpened:r,icon:d.aA.arrowsChevronDown,iconSize:"xs","data-testid":"test-result-step-arrow-button"}):(0,y.Y)("div",{className:js}),(0,y.Y)(d.WP,{status:t}),(0,y.Y)(d.Cy,{size:"s",className:Rs,children:n}),(0,y.Y)(d.Nr,{"data-testid":"test-result-step-title",className:As,text:e}),s,a]}),Ld=({item:e,stepIndex:t})=>{const n=vr(e.error),r=Er(),i=Tr(r,"failed"===e.status||"broken"===e.status),o=Nn(e.id,i);return(0,y.FD)("div",{"data-testid":"test-result-step",className:Ms,children:[(0,y.Y)(Md,{className:Hs(e.id),...Us(e.id),title:e.title,status:e.status,stepIndex:t,isOpened:o,hasContent:n,onToggle:()=>Fn(e.id,i)}),o&&n&&(0,y.Y)("div",{"data-testid":"test-result-step-content",className:g(Os,Ss),children:(0,y.Y)(tc,{...e.error,status:e.status,showMessage:!1})})]})},Dd=(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}`}},Nd=({bodyItems:e})=>(0,y.Y)(y.FK,{children:e.map(((e,t)=>{switch(e.type){case"step":return(0,y.Y)(qd,{item:e,stepIndex:t+1},Dd(e,t));case"attachment":return(0,y.Y)(Js,{item:e,stepIndex:t+1},Dd(e,t));case"error":return(0,y.Y)(Ld,{item:e,stepIndex:t+1},Dd(e,t));default:return null}}))}),{lineGeneralCheckCircle:Od,lineGeneralHelpCircle:Fd,lineGeneralMinusCircle:Rd,lineGeneralXCircle:Id,lineGeneralInfoCircle:zd}=d.aA,Pd={failed:Id,broken:zd,passed:Od,skipped:Rd,unknown:Fd},Bd=e=>{const{item:t}=e,n=(0,ve.a3)(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(0,y.FD)("div",{className:rs,children:[(0,y.Y)((()=>(0,y.Y)("div",{className:Xa,children:Object.entries(a).map((([e,t],n)=>(0,y.FD)("div",{className:as,children:[(0,y.Y)(d.Ah,{size:"s",id:Pd[e],className:g(ss,r[`status-${e}`])}),t&&(0,y.Y)(d.EY,{size:"s",children:t})]},n)))})),{}),Boolean(i)&&(0,y.FD)("div",{className:is,children:[(0,y.Y)(d.Ah,{id:d.aA.lineArrowsCornerDownRight,className:os}),(0,y.Y)(d.EY,{size:"s",children:i})]}),Boolean(o)&&(0,y.FD)("div",{className:is,children:[(0,y.Y)(d.Ah,{id:d.aA.lineFilesFileAttachment2,className:os}),(0,y.Y)(d.EY,{size:"s",children:o})]}),(0,y.Y)(d.EY,{type:"ui",size:"s",className:ls,children:n})]})},jd={"single-down":d.aA.lineArrowsChevronDown,"single-up":d.aA.lineArrowsChevronUp,"double-down":d.aA.lineArrowsChevronDownDouble,"double-up":d.aA.lineArrowsChevronUpDouble},Yd=e=>{const{parameters:t}=e;return(0,y.Y)("div",{className:Es,children:(0,y.Y)(zc,{size:"s",envInfo:t,columns:1})})},$d=e=>{const{item:t,bodyItems:n,suppressInlineError:r}=e.item,i={message:t.message??t.error?.message,trace:t.trace??t.error?.trace,actual:t.error?.actual,expected:t.error?.expected},o=Boolean((i.message||i.trace||mr(i))&&!t.hasSimilarErrorInSubSteps&&!r);return(0,y.FD)("div",{"data-testid":"test-result-step-content",className:Os,children:[Boolean(t.parameters?.length)&&(0,y.Y)(Yd,{parameters:t.parameters}),o&&(0,y.Y)(tc,{...i,status:t.status}),Boolean(n.length)&&(0,y.Y)(Nd,{bodyItems:n})]})},qd=({item:e,stepIndex:t})=>{const{item:n,bodyItems:r,suppressInlineError:i}=e,o={message:n.message??n.error?.message,trace:n.trace??n.error?.trace,actual:n.error?.actual,expected:n.error?.expected},a=(Boolean((o.message||o.trace||mr(o))&&!n.hasSimilarErrorInSubSteps&&!i),Er()),s=Cr(e),l=Sr(a,n.status,r),c=Nn(n.stepId,l),f=Ar(r,a),h=f.length>0,p=h?[{id:n.stepId,openedByDefault:l,isRoot:!0},...f.map((e=>({...e,isRoot:!1})))]:[],[g,m]=(0,v.J0)(null),b=!Nn(n.stepId,l),_=(0,u.mT)(n.stepId,l,p,Nn),w=h&&p.every((e=>Nn(e.id,e.openedByDefault))),x=h&&p.every((e=>e.isRoot)),k=jd[(0,u.ko)({hasOnlyLeafResults:x,isSubtreeCollapsedAll:b,isSubtreeFirstLevelOnly:_})];return(0,y.FD)("div",{"data-testid":"test-result-step",className:Ms,children:[(0,y.Y)(Md,{className:Hs(n.stepId),...Us(n.stepId),title:n.name,status:n.status,stepIndex:t,isOpened:c,hasContent:s,onToggle:()=>{m(null),Fn(n.stepId,l)},subtreeToggle:h?(0,y.Y)(d.K0,{style:"ghost",size:"xs",icon:k,onClick:e=>{e.stopPropagation();const t=(0,u.$3)({hasOnlyLeafResults:x,isSubtreeCollapsedAll:b,isSubtreeFirstLevelOnly:_,isSubtreeExpandedAll:w,lastSubtreeToggle:g});var n;n=t,p.forEach((e=>{const t="all"===n||"first"===n&&e.isRoot;Rn(e.id,t,e.openedByDefault)})),"first"!==t&&m(t)},"data-testid":"test-result-step-subtree-toggle",className:zs}):null,extra:(0,y.Y)(Bd,{item:n})}),s&&c&&(0,y.Y)($d,{item:e})]})},Hd=({setup:e,id:t})=>{const n=t?`${t}-setup`:null,r=!n||Boolean(!Ln.value.has(n)),[i,o]=(0,v.J0)(r),{t:a}=(0,I.s9)("execution");return(0,y.FD)("div",{className:Ps,children:[(0,y.Y)(Td,{className:Hs(n),...Us(n),icon:d.aA.lineTimeClockStopwatch,isOpened:i,setIsOpen:()=>{o(!i),n&&Fn(n)},counter:e?.length,title:a("setup")}),i&&(0,y.Y)("div",{className:Bs,children:e?.map(((e,t)=>(0,y.Y)("div",{className:Is,children:(0,y.Y)(qd,{item:_r(e),stepIndex:t+1})},e.id)))})]})},Ud={"single-down":d.aA.lineArrowsChevronDown,"single-up":d.aA.lineArrowsChevronUp,"double-down":d.aA.lineArrowsChevronDownDouble,"double-up":d.aA.lineArrowsChevronUpDouble},Wd=({bodyItems:e,id:t})=>{const n="string"==typeof t?`${t}-steps`:null,r=Er(),i=Tr(r,kr(e)),o=null!==n?Nn(n,i):i,a=Ar(e,r),s=null!==n&&e.length>0,l=s?[{id:n,openedByDefault:i,isRoot:!0},...a.map((e=>({...e,isRoot:!1})))]:[],[c,f]=(0,v.J0)(null),h=!(null!==n&&Nn(n,i)),p=null!==n&&(0,u.mT)(n,i,l,Nn),g=s&&l.every((e=>Nn(e.id,e.openedByDefault))),m=s&&l.every((e=>e.isRoot)),b=Ud[(0,u.ko)({hasOnlyLeafResults:m,isSubtreeCollapsedAll:h,isSubtreeFirstLevelOnly:p})],{t:_}=(0,I.s9)("execution");return(0,y.FD)("div",{className:Ps,children:[(0,y.Y)(Td,{className:Hs(n),...Us(n),icon:d.aA.lineHelpersPlayCircle,isOpened:o,setIsOpen:()=>{null!==n&&(f(null),Fn(n,i))},counter:e.length,title:_("body"),actions:s?(0,y.Y)(d.K0,{style:"ghost",size:"xs",icon:b,onClick:e=>{e.stopPropagation();const t=(0,u.$3)({hasOnlyLeafResults:m,isSubtreeCollapsedAll:h,isSubtreeFirstLevelOnly:p,isSubtreeExpandedAll:g,lastSubtreeToggle:c});var n;n=t,l.forEach((e=>{const t="all"===n||"first"===n&&e.isRoot;Rn(e.id,t,e.openedByDefault)})),"first"!==t&&f(t)},"data-testid":"test-result-steps-subtree-toggle"}):null}),o&&(0,y.Y)("div",{"data-testid":"test-result-steps-root",className:Bs,children:(0,y.Y)(Nd,{bodyItems:e})})]})},Vd=({teardown:e,id:t})=>{const n=t?`${t}-teardown`:null,r=!n||!Ln.value.has(n),[i,o]=(0,v.J0)(r),{t:a}=(0,I.s9)("execution");return(0,y.FD)("div",{className:Ps,children:[(0,y.Y)(Td,{className:Hs(n),...Us(n),icon:d.aA.lineHelpersFlag,isOpened:i,setIsOpen:()=>{o(!i),n&&Fn(n)},counter:e?.length,title:a("teardown")}),i&&(0,y.Y)("div",{className:Bs,children:e?.map(((e,t)=>(0,y.Y)("div",{className:Is,children:(0,y.Y)(qd,{item:_r(e),stepIndex:t+1})},e.id)))})]})},Gd=({testResult:e})=>{(()=>{const e=Gr.value;(0,v.Nf)((()=>{if(!e)return;const t=document.querySelector(`[data-tr-focus-id="${e}"]`);if(!(t instanceof HTMLElement))return;const n=Xr(e);(0,u.zY)(t,{containerAttribute:"data-tr-scroll-container",kind:n?.kind})}),[e])})();const{parameters:t,groupedLabels:n,links:r,descriptionHtml:i,setup:o,teardown:a,id:s}=e||{},l=s??he.value,{t:c}=(0,I.s9)("ui"),d=wr(e,c("error")),f=!o?.length&&!d.length&&!a?.length,h=e?.attachments?.filter((e=>"application/vnd.allure.playwright-trace"===e.link.contentType));return(0,y.FD)(y.FK,{children:[Boolean(h?.length)&&(0,y.Y)(Ed,{pwTraces:h}),Boolean(t?.length)&&(0,y.Y)(Ad,{id:l,parameters:t}),Boolean(n&&Object.keys(n||{})?.length)&&(0,y.Y)(Sd,{id:l,testResult:e}),Boolean(r?.length)&&(0,y.Y)(Cd,{id:l,links:r}),Boolean(i)&&(0,y.Y)(_d,{id:l,descriptionHtml:i}),(0,y.FD)("div",{className:"ngxaEBWQ",children:[f&&(0,y.Y)(yd,{}),Boolean(o?.length)&&(0,y.Y)(Hd,{id:l,setup:o}),Boolean(d.length)&&(0,y.Y)(Wd,{id:l,bodyItems:d}),Boolean(a?.length)&&(0,y.Y)(Vd,{id:l,teardown:a})]})]})};const Kd=({testResultItem:e,attempt:t,totalAttempts:n})=>{const{id:r,status:i,error:o,stop:a,duration:s}=e,[l,c]=(0,v.J0)(!1),{t:u}=(0,I.s9)("ui"),f=u("attempt",{attempt:t,total:n}),h=a?Wu(a):void 0,p=h?`${f} – ${h}`:f,g="number"==typeof s?(0,ve.a3)(s):void 0,m=Boolean(o?.trace||o?.message);return(0,y.FD)("div",{"data-testid":"test-result-retries-item",children:[(0,y.FD)("div",{className:"qheQzcdJ",onClick:()=>c(!l),children:[m&&(0,y.Y)(d.U_,{"data-testid":"test-result-retries-item-arrow-button",isOpened:l,icon:d.aA.lineArrowsChevronDown}),(0,y.FD)("div",{className:"enXpP7zD",children:[(0,y.Y)(d.WP,{status:i,className:"pOxQO3ZQ"}),(0,y.Y)(d.EY,{"data-testid":"test-result-retries-item-text",className:"QabAX8v8",children:p}),(0,y.FD)("div",{className:"Jwmue9vu",children:[Boolean(g)&&(0,y.Y)(d.EY,{type:"ui",size:"s",className:"B5X8kwrh",children:g}),(0,y.Y)(d.K0,{icon:d.aA.lineGeneralLinkExternal,style:"ghost",size:"s",className:"ZZHyNee5","data-testid":"test-result-retries-item-open-button",onClick:()=>j({testResultId:r})})]})]})]}),l&&m&&(0,y.Y)("div",{className:"uKSvG6dg",children:(0,y.Y)(tc,{...o??{},status:i})})]})},Zd=({testResult:e})=>{const t=e?.retries??[],{t:n}=(0,w.s9)("empty");return(0,y.Y)("div",{className:"VUnJCesX",children:t.length?t.map(((e,n)=>(0,y.Y)(Kd,{testResultItem:e,attempt:t.length-n,totalAttempts:t.length+1},n))):(0,y.Y)(d.rk,{description:n("no-retries-results")})})};const Xd=(0,f.EW)((()=>({overview:Gd,history:bd,attachments:Fu,retries:Zd,environments:hd}[fe.value]))),Jd=({testResult:e})=>{const t=Xd.value;return(0,y.Y)(t,{testResult:e})},Qd=({testResult:e})=>(0,y.FD)(id,{initialTab:"overview",children:[(0,y.Y)(sd,{testResult:e}),(0,y.Y)(Jd,{testResult:e})]});var ef=({testResult:e})=>{const t=F.value,n=t&&"testResult"===qn.value;return(0,v.vJ)((()=>{const t=e?.testCase?.id;t&&(0,A.xO)(t)}),[e]),(0,y.Y)(y.FK,{children:(0,y.Y)("div",{className:g("fMON1QNO",t&&"OudN9AzA",n&&"nJJRugpk"),"data-tr-scroll-container":!0,onMouseDown:()=>Zn(),children:e?(0,y.Y)(Qd,{testResult:e}):(0,y.Y)(cd,{})})})};const tf=()=>{const e=Z.value.matches||Boolean(K.value.params.testResultId),t=Z.value.matches?Z.value.params.testResultId:K.value.params.testResultId;return e?(0,y.Y)("div",{className:k,"data-testid":"base-layout","data-tree-scroll-container":!0,"data-tr-scroll-container":!0,onMouseDown:()=>Zn(),children:(0,y.Y)(d.x_,{source:pe,renderLoader:()=>(0,y.Y)(d.DP,{}),transformData:e=>e[t],renderData:e=>(0,y.Y)(y.FK,{children:(0,y.Y)("div",{className:C,children:(0,y.Y)(ef,{testResult:e})},e?.id)})})}):(0,y.Y)("div",{className:k,"data-testid":"base-layout","data-tree-scroll-container":!0,onMouseDown:()=>Kn(),children:(0,y.Y)("div",{className:C,children:(0,y.Y)(d.x_,{source:Tn,renderLoader:()=>(0,y.Y)(d.DP,{}),renderData:()=>(0,y.Y)(Ou,{})})})})};var nf="undefined"!=typeof window?window:null,rf=null===nf,of=rf?void 0:nf.document,af="addEventListener",sf="removeEventListener",lf="getBoundingClientRect",cf="_a",uf="_b",df="_c",ff="horizontal",hf=function(){return!1},pf=rf?"calc":["","-webkit-","-moz-","-o-"].filter((function(e){var t=of.createElement("div");return t.style.cssText="width:"+e+"calc(9px)",!!t.style.length})).shift()+"calc",gf=function(e){return"string"==typeof e||e instanceof String},mf=function(e){if(gf(e)){var t=of.querySelector(e);if(!t)throw new Error("Selector "+e+" did not match a DOM element");return t}return e},vf=function(e,t,n){var r=e[t];return void 0!==r?r:n},bf=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},yf=function(e,t){var n=of.createElement("div");return n.className="gutter gutter-"+t,n},_f=function(e,t,n){var r={};return gf(t)?r[e]=t:r[e]=pf+"("+t+"% - "+n+"px)",r},wf=function(e,t){var n;return(n={})[e]=t+"px",n},xf=function(e,t){if(void 0===t&&(t={}),rf)return{};var n,r,i,o,a,s,l=e;Array.from&&(l=Array.from(l));var c=mf(l[0]).parentNode,u=getComputedStyle?getComputedStyle(c):null,d=u?u.flexDirection:null,f=vf(t,"sizes")||l.map((function(){return 100/l.length})),h=vf(t,"minSize",100),p=Array.isArray(h)?h:l.map((function(){return h})),g=vf(t,"maxSize",1/0),m=Array.isArray(g)?g:l.map((function(){return g})),v=vf(t,"expandToMin",!1),b=vf(t,"gutterSize",10),y=vf(t,"gutterAlign","center"),_=vf(t,"snapOffset",30),w=Array.isArray(_)?_:l.map((function(){return _})),x=vf(t,"dragInterval",1),k=vf(t,"direction",ff),C=vf(t,"cursor",k===ff?"col-resize":"row-resize"),S=vf(t,"gutter",yf),A=vf(t,"elementStyle",_f),E=vf(t,"gutterStyle",wf);function T(e,t,r,i){var o=A(n,t,r,i);Object.keys(o).forEach((function(t){e.style[t]=o[t]}))}function M(){return s.map((function(e){return e.size}))}function L(e){return"touches"in e?e.touches[0][r]:e[r]}function D(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,T(t.element,t.size,this[uf],t.i),T(n.element,n.size,this[df],n.i)}function N(e){var n,r=s[this.a],i=s[this.b];this.dragging&&(n=L(e)-this.start+(this[uf]-this.dragOffset),x>1&&(n=Math.round(n/x)*x),n<=r.minSize+r.snapOffset+this[uf]?n=r.minSize+this[uf]:n>=this.size-(i.minSize+i.snapOffset+this[df])&&(n=this.size-(i.minSize+this[df])),n>=r.maxSize-r.snapOffset+this[uf]?n=r.maxSize+this[uf]:n<=this.size-(i.maxSize-i.snapOffset+this[df])&&(n=this.size-(i.maxSize+this[df])),D.call(this,n),vf(t,"onDrag",hf)(M()))}function O(){var e=s[this.a].element,t=s[this.b].element,r=e[lf](),a=t[lf]();this.size=r[n]+a[n]+this[uf]+this[df],this.start=r[i],this.end=r[o]}function F(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===ff?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=bf(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 R(){var e=this,n=s[e.a].element,r=s[e.b].element;e.dragging&&vf(t,"onDragEnd",hf)(M()),e.dragging=!1,nf[sf]("mouseup",e.stop),nf[sf]("touchend",e.stop),nf[sf]("touchcancel",e.stop),nf[sf]("mousemove",e.move),nf[sf]("touchmove",e.move),e.stop=null,e.move=null,n[sf]("selectstart",hf),n[sf]("dragstart",hf),r[sf]("selectstart",hf),r[sf]("dragstart",hf),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="",of.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||vf(t,"onDragStart",hf)(M()),e.preventDefault(),n.dragging=!0,n.move=N.bind(n),n.stop=R.bind(n),nf[af]("mouseup",n.stop),nf[af]("touchend",n.stop),nf[af]("touchcancel",n.stop),nf[af]("mousemove",n.move),nf[af]("touchmove",n.move),r[af]("selectstart",hf),r[af]("dragstart",hf),i[af]("selectstart",hf),i[af]("dragstart",hf),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,of.body.style.cursor=C,O.call(n),n.dragOffset=L(e)-n.end}}k===ff?(n="width",r="clientX",i="left",o="right",a="clientWidth"):"vertical"===k&&(n="height",r="clientY",i="top",o="bottom",a="clientHeight"),f=F(f);var z=[];function P(e){var t=e.i===z.length,n=t?z[e.i-1]:z[e.i];O.call(n);var r=t?n.size-e.minSize-n[df]:e.minSize+n[uf];D.call(n,r)}return(s=l.map((function(e,t){var r,i={element:mf(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})[uf]=bf(b,t-1==0,!1,y),r[df]=bf(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=E(n,t,r);Object.keys(i).forEach((function(t){e.style[t]=i[t]}))}(a,b,t),r[cf]=I.bind(r),a[af]("mousedown",r[cf]),a[af]("touchstart",r[cf]),c.insertBefore(a,i.element),r.gutter=a}return T(i.element,i.size,bf(b,0===t,t===l.length-1,y),t),t>0&&z.push(r),i}))).forEach((function(e){var t=e.element[lf]()[n];t<e.minSize&&(v?P(e):e.minSize=t)})),{setSizes:function(e){var t=F(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,T(i.element,i.size,r[uf],i.i),T(o.element,o.size,r[df],o.i)}}))},getSizes:M,collapse:function(e){P(s[e])},destroy:function(e,t){z.forEach((function(r){if(!0!==t?r.parent.removeChild(r.gutter):(r.gutter[sf]("mousedown",r[cf]),r.gutter[sf]("touchstart",r[cf])),!0!==e){var i=A(n,r.a.size,r[uf]);Object.keys(i).forEach((function(e){s[r.a].element.style[e]="",s[r.b].element.style[e]=""}))}}))},parent:c,pairs:z}},kf="OyL7dy7N",Cf="t22uAI7s";var Sf=({left:e,right:t})=>{const n=(0,v.li)(null),r=(0,v.Kr)((()=>e),[e]),i=(0,v.Kr)((()=>t),[t]);(0,v.vJ)((()=>{const e=JSON.parse(localStorage.getItem("sideBySidePosition")||"[50, 50]"),t=xf([`.${kf}`,`.${Cf}`],{sizes:e,gutterSize:4,gutter:()=>{const e=document.createElement("div");return e.className="sgMxjSNq",e.addEventListener("dblclick",(()=>{const e=t.getSizes();if("[50,50]"===JSON.stringify(e))return t.setSizes([30,70]),void localStorage.setItem("sideBySidePosition",JSON.stringify([30,70]));t.setSizes([50,50]),localStorage.setItem("sideBySidePosition",JSON.stringify([50,50]))})),e},onDragEnd:()=>{const e=t.getSizes();localStorage.setItem("sideBySidePosition",JSON.stringify(e))}});return()=>{t.destroy()}}),[]);const o=qn.value;return(0,y.FD)("div",{class:"Jryczg8r",ref:n,children:[(0,y.Y)("div",{class:kf,"data-pane":"tree","data-pane-active":"tree"===o?"true":void 0,onMouseDown:()=>Kn(),children:r}),(0,y.Y)("div",{class:Cf,"data-pane":"testResult","data-pane-active":"testResult"===o?"true":void 0,onMouseDown:()=>Zn(),children:i})]})};const Af=()=>{const e=(0,v.li)(null);return(0,y.Y)("div",{className:"J3luvrjd",ref:e,children:(0,y.Y)(Ou,{})})},Ef=()=>(0,y.Y)("div",{className:"BpSc4eib",children:(0,y.Y)(d.DP,{})}),Tf=(0,f.EW)((()=>Z.value.matches||Boolean(K.value.params.testResultId))),Mf=()=>{const e=he.value,[t,n]=(0,v.J0)(null),{t:r}=(0,w.s9)("controls"),i=(0,y.Y)(d.x_,{source:Tn,renderLoader:()=>(0,y.Y)(d.DP,{}),renderData:()=>(0,y.Y)(Af,{})});return(0,v.vJ)((()=>{t||n(i)}),[t]),(0,y.Y)("div",{className:"uWkVNOG3","data-testId":"split-layout",children:(0,y.Y)(Sf,{left:t,right:(0,y.Y)((()=>Tf.value?(0,y.Y)(d.x_,{source:pe,renderLoader:()=>(0,y.Y)(Ef,{}),transformData:t=>{if(e in t)return t[e]},renderData:e=>e?(0,y.Y)(ef,{testResult:e}):(0,y.Y)(Ef,{})}):(0,y.Y)("div",{className:g("FJ3CL24V",F.value&&"yZAVdiWR",F.value&&"testResult"===qn.value&&"tSYbWsmv"),children:(0,y.Y)(d.EY,{children:r("noSelectedTR")})})),{})})})},Lf=()=>F.value?(0,y.Y)(Mf,{}):(0,y.Y)(tf,{});const Df={charts:()=>a.e(779).then(a.bind(a,8779)).then((e=>e.Charts)),timeline:()=>a.e(121).then(a.bind(a,5121)).then((e=>e.Timeline))},Nf=new Map,Of=({section:e})=>{const t=Nf.get(e),[n,r]=(0,v.J0)(t?{section:e,Component:t}:null);if((0,v.vJ)((()=>{if("report"===e)return void r({section:e,Component:Lf});const t=Df[e];let n=!0;if(!t)return void r(null);const i=Nf.get(e);if(!i)return r(null),t().then((t=>{n&&(Nf.set(e,t),r({section:e,Component:t}))})).catch((t=>{console.error(`Failed to load section "${e}":`,t),n&&r({section:e,Component:Lf})})),()=>{n=!1};n&&r({section:e,Component:i})}),[e]),"report"===e||!Df[e])return(0,y.Y)(Lf,{});if(!n||n.section!==e)return(0,y.Y)(d.DP,{});const{Component:i}=n;return(0,y.Y)(i,{})},Ff=["report","charts","timeline"],Rf=()=>{const e=Ff.includes(ne.value)?ne.value:"report";return(0,y.Y)("div",{className:"X1bxR0kX",children:(0,y.Y)(Of,{section:e})})},If=(e=>{const t=window?.navigator?.userAgentData?.platform??window?.navigator?.platform;return!!t&&e.test(t)})(/^Mac/i);var zf="s5e3ntNr",Pf="q6NnC3sf",Bf="hxjIgDys",jf="lh7Hl9Np",Yf="qK8S7ypD",$f="P1qG0zXS",qf="LjbC5hy8";const Hf=()=>(0,y.FD)("div",{className:g(jf,N.value?Yf:""),"data-testid":"loader",children:[(0,y.Y)(d.Ah,{id:d.aA.reportLogo,size:"m"}),(0,y.Y)(d.y$,{})]}),Uf=(0,f.EW)((()=>Z.value.matches||Boolean(K.value.params.testResultId))),Wf=document.getElementById("app");document.addEventListener("DOMContentLoaded",(()=>{If&&document.documentElement.setAttribute("data-os","mac")})),(()=>{if("undefined"==typeof window)return;const e=new URL((0,u.bp)());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=>Pt(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"),(0,u.mH)(e,{replace:!0})})(),(0,m.XX)((0,y.Y)((()=>{const e=c[`layout-${"default"!==ne.value?ne.value:D.value}`],[t,n]=(0,v.J0)(!1);return(0,v.vJ)((()=>{(async()=>{const e=[u.Kc,w.Mz,ac.h2,A.lY,_u,el,Au,Rr];globalThis&&e.unshift(w.JK),await w.Yk,await Promise.all(e.map((e=>e(A.hf.value))));const t=A.GQ.value.data.map((({id:e})=>e)).filter((e=>Boolean(e)));A.hf.value?(await In([A.hf.value]),await(0,w.Tp)(t)):(await In(t),await(0,w.Tp)(t)),n(!0)})()}),[]),(0,f.R0)((()=>{const e=A.hf.value;t&&e&&(In([e]),(0,w.Tp)([e]))})),(0,f.R0)((()=>{const e=he.value;Uf.value&&e&&(me(e),(async e=>{try{const t=await(0,u.tj)(e?`widgets/${e}/nav.json`:"widgets/nav.json",{bustCache:!0});ge.value={data:t,error:void 0,loading:!1}}catch(e){ge.value={...ge.peek(),error:e.message,loading:!1}}})(A.hf.value))})),(0,v.vJ)((()=>{(async()=>{try{const e=await(0,u.tj)("widgets/tree-filters.json",{bustCache:!0});Ht.value=e.tags,Ut.value=e.categories??[]}catch(e){if(e instanceof u.TX&&404===e.response.status)return Ht.value=[],void(Ut.value=[]);console.error("Failed to fetch tree filters data:\n\n",e)}})()}),[]),(0,y.FD)(y.FK,{children:[!t&&(0,y.Y)(Hf,{}),t&&(0,y.FD)(y.FK,{children:[(0,y.Y)(Yi,{}),(0,y.FD)("div",{className:$f,children:[(0,y.Y)(ke,{className:e}),(0,y.Y)(Rf,{}),(0,y.Y)(S,{className:e}),(0,y.Y)(Hi,{}),(0,y.Y)(qi,{})]})]})]})}),{}),Wf)}()}();
|