From c8369c74013156d7488e3e746403ff60f86a3ac7 Mon Sep 17 00:00:00 2001 From: Aaron Knudtson <87577305+knudtty@users.noreply.github.com> Date: Fri, 20 Feb 2026 15:26:16 -0500 Subject: [PATCH 1/3] fix: new clickstack with credentials omit --- HYPERDX_VERSION | 2 +- out/404.html | 2 +- out/__ENV.js | 2 +- .../bJUcvHuOORKnvj_dzLe4n/_buildManifest.js | 1 + .../_ssgManifest.js | 0 ...3506100d9d.js => 1021-19b5b93c0d7cad66.js} | 4 +- .../static/chunks/1274-aef343c4656bbdfc.js | 1 - ...0d6ac78e10.js => 2814-582aced4e4547c8b.js} | 2 +- .../static/chunks/3172-55e9e00f8671199d.js | 1 + .../static/chunks/3172-b6490fb55ce08c1c.js | 1 - .../static/chunks/3234-5a2bee69ca80ca94.js | 5 + .../static/chunks/3234-91be2b1b16b8a12e.js | 5 - .../static/chunks/35-38880205eb57367e.js | 1 + .../static/chunks/35-9a2c3aba3b13971b.js | 1 - ...6b02cd025a.js => 6514-457be65adbe54e27.js} | 2 +- ...292f0acaac.js => 6747-db295e4482b5a6a1.js} | 4 +- .../static/chunks/8718-bf1c48cf4b5b7714.js | 1 + .../static/chunks/9979-07c2d4f838abbdd7.js | 4 + .../static/chunks/9979-25cce956b8228ba9.js | 4 - .../chunks/pages/_app-35c9ed614de0b91d.js | 31 ++++++ .../chunks/pages/_app-ffdb6c1cb1648170.js | 31 ------ .../chunks/pages/alerts-9147fb3cf82ff9d8.js | 1 + .../chunks/pages/alerts-bd7f41cff62f8d10.js | 1 - ...8fa71.js => benchmark-c327c802cb73c769.js} | 2 +- .../chunks/pages/chart-35295dad1f8a0721.js | 104 ------------------ .../chunks/pages/chart-d1582e6a8b91e931.js | 104 ++++++++++++++++++ .../pages/clickhouse-6683816e115349a8.js | 64 ----------- .../pages/clickhouse-f1625966d7c92b25.js | 64 +++++++++++ .../pages/dashboards-a851e5138fe17593.js | 104 ++++++++++++++++++ .../pages/dashboards-dc7f01f16edc5bbb.js | 104 ------------------ .../[dashboardId]-83bf90b056623488.js | 104 ------------------ .../[dashboardId]-995c0ae3cdee3f87.js | 104 ++++++++++++++++++ .../dashboards/import-1f4db483506493fe.js | 1 + .../dashboards/import-814aff4bf2a0b7c5.js | 1 - ...8b8d7131b.js => index-127844045860c39b.js} | 2 +- .../pages/join-team-74e007c50e7bc44c.js | 1 - .../pages/join-team-fa75e338137d5218.js | 1 + .../pages/kubernetes-456377648cf36bba.js | 64 ----------- .../pages/kubernetes-a8cc2459c9714a23.js | 64 +++++++++++ .../chunks/pages/search-899ebd0411f46f33.js | 81 ++++++++++++++ .../chunks/pages/search-ffeb30ea5a7baf27.js | 81 -------------- .../[savedSearchId]-4c490b12671d0c20.js | 81 ++++++++++++++ .../[savedSearchId]-555abbf86f300d96.js | 81 -------------- ...3ce.js => service-map-99b4692648e59c41.js} | 2 +- .../chunks/pages/services-56c542cb661daed6.js | 98 ----------------- .../chunks/pages/services-835f7281d9395a29.js | 98 +++++++++++++++++ .../chunks/pages/sessions-57832d098fb35345.js | 64 +++++++++++ .../chunks/pages/sessions-acea943c26d1ae60.js | 64 ----------- .../chunks/pages/team-2720ea0afbc2aca5.js | 18 --- .../chunks/pages/team-70bf1ca4245ae535.js | 18 +++ ...18700e9fc7086.css => f8920d9971b4c4aa.css} | 2 +- .../static/media/001f750b538f7a9e-s.woff2 | Bin 0 -> 31472 bytes .../static/media/1a634e73dfeff02c-s.woff2 | Bin 0 -> 24444 bytes .../static/media/1e41be92c43b3255-s.p.woff2 | Bin 0 -> 37520 bytes .../static/media/24c15609eaa28576-s.woff2 | Bin 18852 -> 0 bytes .../static/media/2c07349e02a7b712-s.woff2 | Bin 21440 -> 0 bytes .../static/media/4120b0a488381b31-s.woff2 | Bin 0 -> 10572 bytes .../static/media/456105d6ea6d39e0-s.woff2 | Bin 30416 -> 0 bytes .../static/media/47cbc4e2adbc5db9-s.p.woff2 | Bin 34668 -> 0 bytes .../static/media/4f48fe9100901594-s.woff2 | Bin 0 -> 13984 bytes .../static/media/4f77bef990aad698-s.woff2 | Bin 9276 -> 0 bytes .../static/media/5eae37b69937655e-s.woff2 | Bin 0 -> 1632 bytes .../static/media/627d916fd739a539-s.woff2 | Bin 16548 -> 0 bytes .../static/media/63b255f18bea0ca9-s.woff2 | Bin 14052 -> 0 bytes .../static/media/70bd82ac89b4fa42-s.woff2 | Bin 35600 -> 0 bytes .../static/media/80841ae24d03ed90-s.woff2 | Bin 0 -> 19624 bytes .../static/media/84602850c8fd81c3-s.woff2 | Bin 1580 -> 0 bytes .../static/media/970d71e7dcbc144d-s.woff2 | Bin 0 -> 36292 bytes .../static/media/b3f718d64f9a6dea-s.woff2 | Bin 0 -> 16692 bytes .../oBTf4Pdf4H7G1UBWfzX4O/_buildManifest.js | 1 - out/alerts.html | 2 +- out/benchmark.html | 2 +- out/chart.html | 2 +- out/clickhouse.html | 2 +- out/dashboards.html | 2 +- out/dashboards/[dashboardId].html | 2 +- out/dashboards/import.html | 2 +- out/favicons/clickstack/favicon.svg | 32 +++--- out/index.html | 2 +- out/join-team.html | 2 +- out/kubernetes.html | 2 +- out/login.html | 2 +- out/register.html | 2 +- out/search.html | 2 +- out/search/[savedSearchId].html | 2 +- out/service-map.html | 2 +- out/services.html | 2 +- out/sessions.html | 2 +- out/team.html | 2 +- 89 files changed, 875 insertions(+), 877 deletions(-) create mode 100644 out/_next/static/bJUcvHuOORKnvj_dzLe4n/_buildManifest.js rename out/_next/static/{oBTf4Pdf4H7G1UBWfzX4O => bJUcvHuOORKnvj_dzLe4n}/_ssgManifest.js (100%) rename out/_next/static/chunks/{1021-663a6b3506100d9d.js => 1021-19b5b93c0d7cad66.js} (57%) delete mode 100644 out/_next/static/chunks/1274-aef343c4656bbdfc.js rename out/_next/static/chunks/{1626-de51610d6ac78e10.js => 2814-582aced4e4547c8b.js} (83%) create mode 100644 out/_next/static/chunks/3172-55e9e00f8671199d.js delete mode 100644 out/_next/static/chunks/3172-b6490fb55ce08c1c.js create mode 100644 out/_next/static/chunks/3234-5a2bee69ca80ca94.js delete mode 100644 out/_next/static/chunks/3234-91be2b1b16b8a12e.js create mode 100644 out/_next/static/chunks/35-38880205eb57367e.js delete mode 100644 out/_next/static/chunks/35-9a2c3aba3b13971b.js rename out/_next/static/chunks/{6514-9ab29f6b02cd025a.js => 6514-457be65adbe54e27.js} (60%) rename out/_next/static/chunks/{3999-487ca1292f0acaac.js => 6747-db295e4482b5a6a1.js} (79%) create mode 100644 out/_next/static/chunks/8718-bf1c48cf4b5b7714.js create mode 100644 out/_next/static/chunks/9979-07c2d4f838abbdd7.js delete mode 100644 out/_next/static/chunks/9979-25cce956b8228ba9.js create mode 100644 out/_next/static/chunks/pages/_app-35c9ed614de0b91d.js delete mode 100644 out/_next/static/chunks/pages/_app-ffdb6c1cb1648170.js create mode 100644 out/_next/static/chunks/pages/alerts-9147fb3cf82ff9d8.js delete mode 100644 out/_next/static/chunks/pages/alerts-bd7f41cff62f8d10.js rename out/_next/static/chunks/pages/{benchmark-73496ad610b8fa71.js => benchmark-c327c802cb73c769.js} (64%) delete mode 100644 out/_next/static/chunks/pages/chart-35295dad1f8a0721.js create mode 100644 out/_next/static/chunks/pages/chart-d1582e6a8b91e931.js delete mode 100644 out/_next/static/chunks/pages/clickhouse-6683816e115349a8.js create mode 100644 out/_next/static/chunks/pages/clickhouse-f1625966d7c92b25.js create mode 100644 out/_next/static/chunks/pages/dashboards-a851e5138fe17593.js delete mode 100644 out/_next/static/chunks/pages/dashboards-dc7f01f16edc5bbb.js delete mode 100644 out/_next/static/chunks/pages/dashboards/[dashboardId]-83bf90b056623488.js create mode 100644 out/_next/static/chunks/pages/dashboards/[dashboardId]-995c0ae3cdee3f87.js create mode 100644 out/_next/static/chunks/pages/dashboards/import-1f4db483506493fe.js delete mode 100644 out/_next/static/chunks/pages/dashboards/import-814aff4bf2a0b7c5.js rename out/_next/static/chunks/pages/{index-a65a2b78b8d7131b.js => index-127844045860c39b.js} (77%) delete mode 100644 out/_next/static/chunks/pages/join-team-74e007c50e7bc44c.js create mode 100644 out/_next/static/chunks/pages/join-team-fa75e338137d5218.js delete mode 100644 out/_next/static/chunks/pages/kubernetes-456377648cf36bba.js create mode 100644 out/_next/static/chunks/pages/kubernetes-a8cc2459c9714a23.js create mode 100644 out/_next/static/chunks/pages/search-899ebd0411f46f33.js delete mode 100644 out/_next/static/chunks/pages/search-ffeb30ea5a7baf27.js create mode 100644 out/_next/static/chunks/pages/search/[savedSearchId]-4c490b12671d0c20.js delete mode 100644 out/_next/static/chunks/pages/search/[savedSearchId]-555abbf86f300d96.js rename out/_next/static/chunks/pages/{service-map-bcb8910dc98b83ce.js => service-map-99b4692648e59c41.js} (99%) delete mode 100644 out/_next/static/chunks/pages/services-56c542cb661daed6.js create mode 100644 out/_next/static/chunks/pages/services-835f7281d9395a29.js create mode 100644 out/_next/static/chunks/pages/sessions-57832d098fb35345.js delete mode 100644 out/_next/static/chunks/pages/sessions-acea943c26d1ae60.js delete mode 100644 out/_next/static/chunks/pages/team-2720ea0afbc2aca5.js create mode 100644 out/_next/static/chunks/pages/team-70bf1ca4245ae535.js rename out/_next/static/css/{84d18700e9fc7086.css => f8920d9971b4c4aa.css} (98%) create mode 100644 out/_next/static/media/001f750b538f7a9e-s.woff2 create mode 100644 out/_next/static/media/1a634e73dfeff02c-s.woff2 create mode 100644 out/_next/static/media/1e41be92c43b3255-s.p.woff2 delete mode 100644 out/_next/static/media/24c15609eaa28576-s.woff2 delete mode 100644 out/_next/static/media/2c07349e02a7b712-s.woff2 create mode 100644 out/_next/static/media/4120b0a488381b31-s.woff2 delete mode 100644 out/_next/static/media/456105d6ea6d39e0-s.woff2 delete mode 100644 out/_next/static/media/47cbc4e2adbc5db9-s.p.woff2 create mode 100644 out/_next/static/media/4f48fe9100901594-s.woff2 delete mode 100644 out/_next/static/media/4f77bef990aad698-s.woff2 create mode 100644 out/_next/static/media/5eae37b69937655e-s.woff2 delete mode 100644 out/_next/static/media/627d916fd739a539-s.woff2 delete mode 100644 out/_next/static/media/63b255f18bea0ca9-s.woff2 delete mode 100644 out/_next/static/media/70bd82ac89b4fa42-s.woff2 create mode 100644 out/_next/static/media/80841ae24d03ed90-s.woff2 delete mode 100644 out/_next/static/media/84602850c8fd81c3-s.woff2 create mode 100644 out/_next/static/media/970d71e7dcbc144d-s.woff2 create mode 100644 out/_next/static/media/b3f718d64f9a6dea-s.woff2 delete mode 100644 out/_next/static/oBTf4Pdf4H7G1UBWfzX4O/_buildManifest.js diff --git a/HYPERDX_VERSION b/HYPERDX_VERSION index d76bd2b..2b5b5ad 100644 --- a/HYPERDX_VERSION +++ b/HYPERDX_VERSION @@ -1 +1 @@ -2.17.0 +UNSET diff --git a/out/404.html b/out/404.html index 67d68fa..3d83843 100644 --- a/out/404.html +++ b/out/404.html @@ -1 +1 @@ -
\d+).*Exception: (?.+)\((?(?=.+[A-Z]{3})[A-Z0-9_]+?)\)/s;class n extends Error{constructor({message:e,code:t,type:r}){super(e),Object.defineProperty(this,"code",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"type",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.code=t,this.type=r,Object.setPrototypeOf(this,n.prototype)}}t.ClickHouseError=n},83374:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);(!o||("get"in o?!t.__esModule:o.writable||o.configurable))&&(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(28506),t),o(r(83866),t)},83801:(e,t,r)=>{var n=r(53140),o=r(3619);e.exports=function(e){return o(e)&&"[object Map]"==n(e)}},83866:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WebValuesEncoder=void 0;let n=r(7117),o=r(28506);class i{encodeValues(e,t){if(a(e),Array.isArray(e))return e.map(e=>(0,n.encodeJSON)(e,t)).join("");if("object"==typeof e)return(0,n.encodeJSON)(e,t);throw Error(`Cannot encode values of type ${typeof e} with ${t} format`)}validateInsertValues(e){if(a(e),!Array.isArray(e)&&"object"!=typeof e)throw Error(`Insert expected "values" to be an array or a JSON object, got: ${typeof e}`)}}function a(e){if((0,o.isStream)(e))throw Error("Streaming is not supported for inserts in the web version of the client")}t.WebValuesEncoder=i},83965:(e,t,r)=>{var n=r(65517),o=r(12342);e.exports=function e(t,r,i,a,s){var u=-1,l=t.length;for(i||(i=o),s||(s=[]);++u0&&i(c)?r>1?e(c,r-1,i,a,s):n(s,c):a||(s[s.length]=c)}return s}},84536:(e,t,r)=>{var n=r(43233),o=r(8546);e.exports=function(e,t){return n(e,t,function(t,r){return o(e,r)})}},85008:(e,t,r)=>{var n=r(28676);e.exports=function(e,t){var r=t?n(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}},86347:(e,t,r)=>{var n=r(33863),o=r(1278),i=r(5549);e.exports=o?function(e,t){return o(e,"toString",{configurable:!0,enumerable:!1,value:n(t),writable:!0})}:i},86414:(e,t,r)=>{var n=r(89139);e.exports=function(e,t){var r=e.__data__;return n(t)?r["string"==typeof t?"string":"hash"]:r.map}},87274:(e,t,r)=>{var n=r(52634),o=r(5461);e.exports=function(e,t){return n(e,o(e),t)}},87567:(e,t,r)=>{var n=r(29778),o=r(43701),i=r(16799);e.exports=function(e){return i(e)?n(e):o(e)}},87568:(e,t,r)=>{var n=r(91357),o=r(10858),i=r(23282);e.exports=function(e){return"function"!=typeof e.constructor||i(e)?{}:n(o(e))}},87710:(e,t,r)=>{var n=r(25248),o=r(16419),i=r(46448),a=r(43092);e.exports=function(e,t){return t=n(t,e),null==(e=i(e,t))||delete e[a(o(t))]}},88165:e=>{e.exports=function(e,t,r){var n=-1,o=e.length;t<0&&(t=-t>o?0:o+t),(r=r>o?o:r)<0&&(r+=o),o=t>r?0:r-t>>>0,t>>>=0;for(var i=Array(o);++n{var n=r(52634),o=r(70720);e.exports=function(e,t){return e&&n(t,o(t),e)}},88601:e=>{e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length,o=Array(n);++r{"use strict";function t(e,r,n,o){this.message=e,this.expected=r,this.found=n,this.location=o,this.name="SyntaxError","function"==typeof Error.captureStackTrace&&Error.captureStackTrace(this,t)}function r(){this.constructor=t}r.prototype=Error.prototype,t.prototype=new r,t.buildMessage=function(e,t){var r={literal:function(e){return'"'+o(e.text)+'"'},class:function(e){var t,r="";for(t=0;t0){for(n=1,o=1;n":r[0],o.right=n),o},f=function(e,t,r){var n={left:e},r=0==r.length?null:null==r[0].right?r[0].left:r[0];return null!=r&&(n.operator=""==t?"":t[0],n.right=r),n},h=ey("(",!1),d=ey(")",!1),y=function(e,t){var r={field:null==e||""==e.label?"":e.label,fieldLocation:null==e||""==e.label?null:e.location};for(var n in t)r[n]=t[n];return r},v=/^[:]/,m=ev([":"],!1,!1),g=function(e,t,r,n){var o={term:t,quoted:!0,regex:!1,termLocation:eg(ec,el)};return""!=r&&(o.proximity=r),""!=n&&(o.boost=n),""!=e&&(o.prefix=e),o},b=function(e,t,r,n){var o={term:t.label,quoted:!1,regex:!1,termLocation:eg(ec,el)};return""!=r&&(o.similarity=r),""!=n&&(o.boost=n),""!=e&&(o.prefix=e),o},w=ey("\\",!1),_=function(e){return"\\"+e},S=ey(".",!1),O=/^[^ \t\r\n\f{}()"\/\^~[\]]/,x=ev([" "," ","\r","\n","\f","{","}","(",")",'"',"/","^","~","[","]"],!0,!1),j=/^[^: \t\r\n\f{}()"\^~[\]]/,C=ev([":"," "," ","\r","\n","\f","{","}","(",")",'"',"^","~","[","]"],!0,!1),P=ey('"',!1),A=ey("/",!1),E={type:"any"},k=ey("+",!1),N=ey("-",!1),T=ey("!",!1),R=ey("{",!1),I=ey("}",!1),M=ey("[",!1),q=ey("]",!1),L=ey("^",!1),U=ey("?",!1),D=ey(":",!1),F=ey("&",!1),J=ey("|",!1),$=ey("'",!1),W=ey("~",!1),B=ey("*",!1),H=ey(" ",!1),z=ey("0.",!1),V=/^[0-9]/,Q=ev([["0","9"]],!1,!1),Z=ey("TO",!1),G=function(e){return e},Y="OR NOT",K=ey("OR NOT",!1),X="AND NOT",ee=ey("AND NOT",!1),et=ey("OR",!1),er=ey("AND",!1),en=ey("NOT",!1),eo=ey("||",!1),ei=ey("&&",!1),ea={type:"other",description:"whitespace"},es=/^[ \t\r\n\f]/,eu=ev([" "," ","\r","\n","\f"],!1,!1),el=0,ec=0,ep=[{line:1,column:1}],ef=0,eh=[],ed=0;if("startRule"in r){if(!(r.startRule in u))throw Error("Can't start parsing from rule \""+r.startRule+'".');l=u[r.startRule]}function ey(e,t){return{type:"literal",text:e,ignoreCase:t}}function ev(e,t,r){return{type:"class",parts:e,inverted:t,ignoreCase:r}}function em(t){var r,n=ep[t];if(n)return n;for(r=t-1;!ep[r];)r--;for(n={line:(n=ep[r]).line,column:n.column};ref&&(ef=el,eh=[]),eh.push(e))}function ew(){var e,t,r,n;for(e=el,t=[],r=eL();r!==s;)t.push(r),r=eL();if(t!==s){if(r=[],(n=e_())!==s)for(;n!==s;)r.push(n),n=e_();else r=s;r!==s?(ec=e,e=t=r[0]):(el=e,e=s)}else el=e,e=s;if(e===s){for(e=el,t=[],r=eL();r!==s;)t.push(r),r=eL();t!==s&&(ec=e,t=c()),(e=t)===s&&(e=el,(t=eU())!==s&&(ec=e,t=c()),e=t)}return e}function e_(){var e,t,r,n,o,i;if((e=el,(t=eI())!==s&&(r=eU())!==s)?(ec=e,e=t={operator:t}):(el=e,e=s),e===s){if(e=el,(t=eI())!==s)if((r=eS())!==s){for(n=[],o=eI();o!==s;)n.push(o),o=eI();if(n!==s){for(o=[],i=e_();i!==s;)o.push(i),i=e_();o!==s?(ec=e,e=t=p(t,r,n,o)):(el=e,e=s)}else el=e,e=s}else el=e,e=s;else el=e,e=s;if(e===s&&((e=el,(t=eI())!==s&&(r=e_())!==s)?(ec=e,e=t=r):(el=e,e=s),e===s))if(e=el,(t=eS())!==s){for(r=[],n=eI();n!==s;)r.push(n),n=eI();if(r!==s){for(n=[],o=e_();o!==s;)n.push(o),o=e_();n!==s?(ec=e,e=t=f(t,r,n)):(el=e,e=s)}else el=e,e=s}else el=e,e=s}return e}function eS(){var t,r,n,o,i,a,u,l,c,p,f;if(t=el,(i=el,(a=ex())===s&&(a=null),a!==s&&(u=function(){var t,r,n,o,i,a,u,l;if(t=el,91===e.charCodeAt(el)?(r="[",el++):(r=s,0===ed&&eb(M)),r!==s)if((n=eC())!==s){for(o=[],i=eL();i!==s;)o.push(i),i=eL();if(o!==s)if("TO"===e.substr(el,2)?(i="TO",el+=2):(i=s,0===ed&&eb(Z)),i!==s){if(a=[],(u=eL())!==s)for(;u!==s;)a.push(u),u=eL();else a=s;a!==s&&(u=eC())!==s&&(93===e.charCodeAt(el)?(l="]",el++):(l=s,0===ed&&eb(q)),l!==s)?(ec=t,t=r={term_min:n,term_max:u,inclusive:"both"}):(el=t,t=s)}else el=t,t=s;else el=t,t=s}else el=t,t=s;else el=t,t=s;if(t===s){if(t=el,123===e.charCodeAt(el)?(r="{",el++):(r=s,0===ed&&eb(R)),r!==s)if((n=eC())!==s){for(o=[],i=eL();i!==s;)o.push(i),i=eL();if(o!==s)if("TO"===e.substr(el,2)?(i="TO",el+=2):(i=s,0===ed&&eb(Z)),i!==s){if(a=[],(u=eL())!==s)for(;u!==s;)a.push(u),u=eL();else a=s;a!==s&&(u=eC())!==s&&(125===e.charCodeAt(el)?(l="}",el++):(l=s,0===ed&&eb(I)),l!==s)?(ec=t,t=r={term_min:n,term_max:u,inclusive:"none"}):(el=t,t=s)}else el=t,t=s;else el=t,t=s}else el=t,t=s;else el=t,t=s;if(t===s){if(t=el,91===e.charCodeAt(el)?(r="[",el++):(r=s,0===ed&&eb(M)),r!==s)if((n=eC())!==s){for(o=[],i=eL();i!==s;)o.push(i),i=eL();if(o!==s)if("TO"===e.substr(el,2)?(i="TO",el+=2):(i=s,0===ed&&eb(Z)),i!==s){if(a=[],(u=eL())!==s)for(;u!==s;)a.push(u),u=eL();else a=s;a!==s&&(u=eC())!==s&&(125===e.charCodeAt(el)?(l="}",el++):(l=s,0===ed&&eb(I)),l!==s)?(ec=t,t=r={term_min:n,term_max:u,inclusive:"left"}):(el=t,t=s)}else el=t,t=s;else el=t,t=s}else el=t,t=s;else el=t,t=s;if(t===s)if(t=el,123===e.charCodeAt(el)?(r="{",el++):(r=s,0===ed&&eb(R)),r!==s)if((n=eC())!==s){for(o=[],i=eL();i!==s;)o.push(i),i=eL();if(o!==s)if("TO"===e.substr(el,2)?(i="TO",el+=2):(i=s,0===ed&&eb(Z)),i!==s){if(a=[],(u=eL())!==s)for(;u!==s;)a.push(u),u=eL();else a=s;a!==s&&(u=eC())!==s&&(93===e.charCodeAt(el)?(l="]",el++):(l=s,0===ed&&eb(q)),l!==s)?(ec=t,t=r={term_min:n,term_max:u,inclusive:"right"}):(el=t,t=s)}else el=t,t=s;else el=t,t=s}else el=t,t=s;else el=t,t=s}}return t}())!==s)?(ec=i,l=a,(c=u).field=null==l||""==l.label?"":l.label,c.fieldLocation=null==l||""==l.label?null:l.location,i=a=c):(el=i,i=s),i===s&&((i=el,(a=ex())!==s&&(u=eO())!==s)?(ec=i,p=a,(f=u).field=p.label,f.fieldLocation=p.location,i=a=f):(el=i,i=s),i===s&&(i=el,(a=ex())===s&&(a=null),a!==s&&(u=function(){var t,r,n,o,i,a,u,l,c,p,f,h,d,y;if(t=el,(r=eq())===s&&(r=null),r!==s)if((n=function(){var t,r,n,o;if(t=el,34===e.charCodeAt(el)?(r='"',el++):(r=s,0===ed&&eb(P)),r!==s){for(n=[],o=eE();o!==s;)n.push(o),o=eE();n!==s&&(34===e.charCodeAt(el)?(o='"',el++):(o=s,0===ed&&eb(P)),o!==s)?(ec=t,t=r=n.join("")):(el=t,t=s)}else el=t,t=s;return t}())!==s){if((l=el,126===e.charCodeAt(el)?(c="~",el++):(c=s,0===ed&&eb(W)),c!==s&&(p=eR())!==s)?(ec=l,l=c=p):(el=l,l=s),(o=l)===s&&(o=null),o!==s)if((i=eN())===s&&(i=null),i!==s){for(a=[],u=eL();u!==s;)a.push(u),u=eL();a!==s?(ec=t,t=r=g(r,n,o,i)):(el=t,t=s)}else el=t,t=s;else el=t,t=s}else el=t,t=s;else el=t,t=s;if(t===s)if(t=el,(r=eq())===s&&(r=null),r!==s)if((n=eP())!==s){if((f=el,126===e.charCodeAt(el)?(h="~",el++):(h=s,0===ed&&eb(W)),h!==s&&((d=eT())===s&&(d=null),d!==s))?(ec=f,f=h=""==(y=d)||null==y?.5:y):(el=f,f=s),(o=f)===s&&(o=null),o!==s)if((i=eN())===s&&(i=null),i!==s){for(a=[],u=eL();u!==s;)a.push(u),u=eL();a!==s?(ec=t,t=r=b(r,n,o,i)):(el=t,t=s)}else el=t,t=s;else el=t,t=s}else el=t,t=s;else el=t,t=s;return t}())!==s?(ec=i,i=a=y(a,u)):(el=i,i=s))),(r=i)!==s){for(n=[],o=eL();o!==s;)n.push(o),o=eL();n!==s?(ec=t,t=r):(el=t,t=s)}else el=t,t=s;return t===s&&(t=eO()),t}function eO(){var t,r,n,o,i,a,u,l;if(t=el,40===e.charCodeAt(el)?(r="(",el++):(r=s,0===ed&&eb(h)),r!==s){for(n=[],o=eL();o!==s;)n.push(o),o=eL();if(n!==s){if(o=[],(i=e_())!==s)for(;i!==s;)o.push(i),i=e_();else o=s;if(o!==s)if(41===e.charCodeAt(el)?(i=")",el++):(i=s,0===ed&&eb(d)),i!==s){for(a=[],u=eL();u!==s;)a.push(u),u=eL();a!==s?(ec=t,(l=o)[0].parenthesized=!0,t=r=l[0]):(el=t,t=s)}else el=t,t=s;else el=t,t=s}else el=t,t=s}else el=t,t=s;return t}function ex(){var t,r,n,o,i,a;if(t=el,(r=eP())!==s)if(v.test(e.charAt(el))?(n=e.charAt(el),el++):(n=s,0===ed&&eb(m)),n!==s){for(o=[],i=eL();i!==s;)o.push(i),i=eL();o!==s?(ec=t,t=r={label:(a=r).label,location:a.location}):(el=t,t=s)}else el=t,t=s;else el=t,t=s;return t}function ej(){var t,r,n;return t=el,92===e.charCodeAt(el)?(r="\\",el++):(r=s,0===ed&&eb(w)),r!==s&&(n=ek())!==s?(ec=t,t=r=_(n)):(el=t,t=s),t===s&&(46===e.charCodeAt(el)?(t=".",el++):(t=s,0===ed&&eb(S)),t===s&&(O.test(e.charAt(el))?(t=e.charAt(el),el++):(t=s,0===ed&&eb(x)))),t}function eC(){var e,t,r;if(e=el,t=[],(r=ej())!==s)for(;r!==s;)t.push(r),r=ej();else t=s;return t!==s&&(ec=e,t=t.join("")),t}function eP(){var e,t,r;if(e=el,t=[],(r=eA())!==s)for(;r!==s;)t.push(r),r=eA();else t=s;return t!==s&&(ec=e,t={label:t.join(""),location:eg(ec,el)}),t}function eA(){var t,r,n;return t=el,92===e.charCodeAt(el)?(r="\\",el++):(r=s,0===ed&&eb(w)),r!==s&&(n=ek())!==s?(ec=t,t=r=_(n)):(el=t,t=s),t===s&&(46===e.charCodeAt(el)?(t=".",el++):(t=s,0===ed&&eb(S)),t===s&&(j.test(e.charAt(el))?(t=e.charAt(el),el++):(t=s,0===ed&&eb(C)))),t}function eE(){var t,r,n;return(t=el,r=el,ed++,34===e.charCodeAt(el)?(n='"',el++):(n=s,0===ed&&eb(P)),n===s&&(92===e.charCodeAt(el)?(n="\\",el++):(n=s,0===ed&&eb(w))),ed--,n===s?r=void 0:(el=r,r=s),r!==s&&(e.length>el?(n=e.charAt(el),el++):(n=s,0===ed&&eb(E)),n!==s))?(ec=t,t=r=n):(el=t,t=s),t===s&&(t=el,92===e.charCodeAt(el)?(r="\\",el++):(r=s,0===ed&&eb(w)),r!==s&&(n=ek())!==s?(ec=t,t=r=_(n)):(el=t,t=s)),t}function ek(){var t;return 43===e.charCodeAt(el)?(t="+",el++):(t=s,0===ed&&eb(k)),t===s&&(45===e.charCodeAt(el)?(t="-",el++):(t=s,0===ed&&eb(N)),t===s&&(33===e.charCodeAt(el)?(t="!",el++):(t=s,0===ed&&eb(T)),t===s&&(40===e.charCodeAt(el)?(t="(",el++):(t=s,0===ed&&eb(h)),t===s&&(41===e.charCodeAt(el)?(t=")",el++):(t=s,0===ed&&eb(d)),t===s&&(123===e.charCodeAt(el)?(t="{",el++):(t=s,0===ed&&eb(R)),t===s&&(125===e.charCodeAt(el)?(t="}",el++):(t=s,0===ed&&eb(I)),t===s&&(91===e.charCodeAt(el)?(t="[",el++):(t=s,0===ed&&eb(M)),t===s&&(93===e.charCodeAt(el)?(t="]",el++):(t=s,0===ed&&eb(q)),t===s&&(94===e.charCodeAt(el)?(t="^",el++):(t=s,0===ed&&eb(L)),t===s&&(34===e.charCodeAt(el)?(t='"',el++):(t=s,0===ed&&eb(P)),t===s&&(63===e.charCodeAt(el)?(t="?",el++):(t=s,0===ed&&eb(U)),t===s&&(58===e.charCodeAt(el)?(t=":",el++):(t=s,0===ed&&eb(D)),t===s&&(92===e.charCodeAt(el)?(t="\\",el++):(t=s,0===ed&&eb(w)),t===s&&(38===e.charCodeAt(el)?(t="&",el++):(t=s,0===ed&&eb(F)),t===s&&(124===e.charCodeAt(el)?(t="|",el++):(t=s,0===ed&&eb(J)),t===s&&(39===e.charCodeAt(el)?(t="'",el++):(t=s,0===ed&&eb($)),t===s&&(47===e.charCodeAt(el)?(t="/",el++):(t=s,0===ed&&eb(A)),t===s&&(126===e.charCodeAt(el)?(t="~",el++):(t=s,0===ed&&eb(W)),t===s&&(42===e.charCodeAt(el)?(t="*",el++):(t=s,0===ed&&eb(B)),t===s&&(32===e.charCodeAt(el)?(t=" ",el++):(t=s,0===ed&&eb(H)))))))))))))))))))))),t}function eN(){var t,r,n,o;if(t=el,94===e.charCodeAt(el)?(r="^",el++):(r=s,0===ed&&eb(L)),r!==s){if((o=eT())===s&&(o=eR()),(n=o)!==s)ec=t,t=r=n;else el=t,t=s}else el=t,t=s;return t}function eT(){var t,r,n,o;if(t=el,"0."===e.substr(el,2)?(r="0.",el+=2):(r=s,0===ed&&eb(z)),r!==s){if(n=[],V.test(e.charAt(el))?(o=e.charAt(el),el++):(o=s,0===ed&&eb(Q)),o!==s)for(;o!==s;)n.push(o),V.test(e.charAt(el))?(o=e.charAt(el),el++):(o=s,0===ed&&eb(Q));else n=s;n!==s?(ec=t,t=r=parseFloat("0."+n.join(""))):(el=t,t=s)}else el=t,t=s;return t}function eR(){var t,r,n;if(t=el,r=[],V.test(e.charAt(el))?(n=e.charAt(el),el++):(n=s,0===ed&&eb(Q)),n!==s)for(;n!==s;)r.push(n),V.test(e.charAt(el))?(n=e.charAt(el),el++):(n=s,0===ed&&eb(Q));else r=s;return r!==s&&(ec=t,r=parseInt(r.join(""))),r}function eI(){var e,t,r,n,o;for(e=el,t=[],r=eL();r!==s;)t.push(r),r=eL();if(t!==s)if((r=eM())!==s){if(n=[],(o=eL())!==s)for(;o!==s;)n.push(o),o=eL();else n=s;n!==s?(ec=e,e=t=G(r)):(el=e,e=s)}else el=e,e=s;else el=e,e=s;if(e===s){for(e=el,t=[],r=eL();r!==s;)t.push(r),r=eL();t!==s&&(r=eM())!==s&&(n=eU())!==s?(ec=e,e=t=G(r)):(el=e,e=s)}return e}function eM(){var t;return e.substr(el,6)===Y?(t=Y,el+=6):(t=s,0===ed&&eb(K)),t===s&&(e.substr(el,7)===X?(t=X,el+=7):(t=s,0===ed&&eb(ee)),t===s&&("OR"===e.substr(el,2)?(t="OR",el+=2):(t=s,0===ed&&eb(et)),t===s&&("AND"===e.substr(el,3)?(t="AND",el+=3):(t=s,0===ed&&eb(er)),t===s&&("NOT"===e.substr(el,3)?(t="NOT",el+=3):(t=s,0===ed&&eb(en)),t===s&&("||"===e.substr(el,2)?(t="||",el+=2):(t=s,0===ed&&eb(eo)),t===s&&("&&"===e.substr(el,2)?(t="&&",el+=2):(t=s,0===ed&&eb(ei)))))))),t}function eq(){var t,r,n,o;for(t=el,r=[],n=eL();n!==s;)r.push(n),n=eL();return r!==s&&(43===e.charCodeAt(el)?(o="+",el++):(o=s,0===ed&&eb(k)),o===s&&(45===e.charCodeAt(el)?(o="-",el++):(o=s,0===ed&&eb(N)),o===s&&(33===e.charCodeAt(el)?(o="!",el++):(o=s,0===ed&&eb(T)))),(n=o)!==s)?(ec=t,t=r=G(n)):(el=t,t=s),t}function eL(){var t,r;if(ed++,t=[],es.test(e.charAt(el))?(r=e.charAt(el),el++):(r=s,0===ed&&eb(eu)),r!==s)for(;r!==s;)t.push(r),es.test(e.charAt(el))?(r=e.charAt(el),el++):(r=s,0===ed&&eb(eu));else t=s;return ed--,t===s&&(r=s,0===ed&&eb(ea)),t}function eU(){var t,r;return t=el,ed++,e.length>el?(r=e.charAt(el),el++):(r=s,0===ed&&eb(E)),ed--,r===s?t=void 0:(el=t,t=s),t}if((a=l())!==s&&el===e.length)return a;throw a!==s&&el{e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},89766:function(e){var t;t=function(){function e(t,r,n){return this.id=++e.highestId,this.name=t,this.symbols=r,this.postprocess=n,this}function t(e,t,r,n){this.rule=e,this.dot=t,this.reference=r,this.data=[],this.wantedBy=n,this.isComplete=this.dot===e.symbols.length}function r(e,t){this.grammar=e,this.index=t,this.states=[],this.wants={},this.scannable=[],this.completed={}}function n(e,t){this.rules=e,this.start=t||this.rules[0].name;var r=this.byName={};this.rules.forEach(function(e){r.hasOwnProperty(e.name)||(r[e.name]=[]),r[e.name].push(e)})}function o(){this.reset("")}function i(e,t,i){if(e instanceof n)var a=e,i=t;else var a=n.fromCompiled(e,t);for(var s in this.grammar=a,this.options={keepHistory:!1,lexer:a.lexer||new o},i||{})this.options[s]=i[s];this.lexer=this.options.lexer,this.lexerState=void 0;var u=new r(a,0);this.table=[u],u.wants[a.start]=[],u.predict(a.start),u.process(),this.current=0}function a(e){var t=typeof e;if("string"===t)return e;if("object"===t)if(e.literal)return JSON.stringify(e.literal);else if(e instanceof RegExp)return e.toString();else if(e.type)return"%"+e.type;else if(e.test)return"<"+String(e.test)+">";else throw Error("Unknown symbol type: "+e)}return e.highestId=0,e.prototype.toString=function(e){var t=void 0===e?this.symbols.map(a).join(" "):this.symbols.slice(0,e).map(a).join(" ")+" ● "+this.symbols.slice(e).map(a).join(" ");return this.name+" → "+t},t.prototype.toString=function(){return"{"+this.rule.toString(this.dot)+"}, from: "+(this.reference||0)},t.prototype.nextState=function(e){var r=new t(this.rule,this.dot+1,this.reference,this.wantedBy);return r.left=this,r.right=e,r.isComplete&&(r.data=r.build(),r.right=void 0),r},t.prototype.build=function(){var e=[],t=this;do e.push(t.right.data),t=t.left;while(t.left);return e.reverse(),e},t.prototype.finish=function(){this.rule.postprocess&&(this.data=this.rule.postprocess(this.data,this.reference,i.fail))},r.prototype.process=function(e){for(var t=this.states,r=this.wants,n=this.completed,o=0;o0&&t.push(" ^ "+n+" more lines identical to this"),n=0,t.push(" "+a)),r=a}},i.prototype.getSymbolDisplay=function(e){var t=e,r=typeof t;if("string"===r)return t;if("object"===r)if(t.literal)return JSON.stringify(t.literal);else if(t instanceof RegExp)return"character matching "+t;else if(t.type)return t.type+" token";else if(t.test)return"token matching "+String(t.test);else throw Error("Unknown symbol type: "+t)},i.prototype.buildFirstStateStack=function(e,t){if(-1!==t.indexOf(e))return null;if(0===e.wantedBy.length)return[e];var r=e.wantedBy[0],n=[e].concat(t),o=this.buildFirstStateStack(r,n);return null===o?null:[e].concat(o)},i.prototype.save=function(){var e=this.table[this.current];return e.lexerState=this.lexerState,e},i.prototype.restore=function(e){var t=e.index;this.current=t,this.table[t]=e,this.table.splice(t+1),this.lexerState=e.lexerState,this.results=this.finish()},i.prototype.rewind=function(e){if(!this.options.keepHistory)throw Error("set option `keepHistory` to enable rewinding");this.restore(this.table[e])},i.prototype.finish=function(){var e=[],t=this.grammar.start;return this.table[this.table.length-1].states.forEach(function(r){r.rule.name===t&&r.dot===r.rule.symbols.length&&0===r.reference&&r.data!==i.fail&&e.push(r)}),e.map(function(e){return e.data})},{Parser:i,Grammar:n,Rule:e}},e.exports?e.exports=t():this.nearley=t()},90327:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.StreamableFormats=t.SupportedRawFormats=t.SupportedJSONFormats=t.SingleDocumentJSONFormats=t.RecordsJSONFormats=t.StreamableJSONFormats=void 0,t.isNotStreamableJSONFamily=function(e){return t.SingleDocumentJSONFormats.includes(e)||t.RecordsJSONFormats.includes(e)},t.isStreamableJSONFamily=function(e){return t.StreamableJSONFormats.includes(e)},t.isSupportedRawFormat=function(e){return t.SupportedRawFormats.includes(e)},t.validateStreamFormat=function(e){if(!t.StreamableFormats.includes(e))throw Error(`${e} format is not streamable. Streamable formats: ${t.StreamableFormats.join(",")}`);return!0},t.encodeJSON=function(e,r){if(t.SupportedJSONFormats.includes(r))return JSON.stringify(e)+"\n";throw Error(`The client does not support JSON encoding in [${r}] format.`)},t.StreamableJSONFormats=["JSONEachRow","JSONStringsEachRow","JSONCompactEachRow","JSONCompactStringsEachRow","JSONCompactEachRowWithNames","JSONCompactEachRowWithNamesAndTypes","JSONCompactStringsEachRowWithNames","JSONCompactStringsEachRowWithNamesAndTypes","JSONEachRowWithProgress"],t.RecordsJSONFormats=["JSONObjectEachRow"],t.SingleDocumentJSONFormats=["JSON","JSONStrings","JSONCompact","JSONCompactStrings","JSONColumnsWithMetadata"],t.SupportedJSONFormats=[...t.RecordsJSONFormats,...t.SingleDocumentJSONFormats,...t.StreamableJSONFormats],t.SupportedRawFormats=["CSV","CSVWithNames","CSVWithNamesAndTypes","TabSeparated","TabSeparatedRaw","TabSeparatedWithNames","TabSeparatedWithNamesAndTypes","CustomSeparated","CustomSeparatedWithNames","CustomSeparatedWithNamesAndTypes","Parquet"],t.StreamableFormats=[...t.StreamableJSONFormats,...t.SupportedRawFormats]},91293:(e,t,r)=>{"use strict";function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.CopyToClipboard=void 0;var o=s(r(55729)),i=s(r(54348)),a=["text","onCopy","options","children"];function s(e){return e&&e.__esModule?e:{default:e}}function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function l(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,a),n=o.default.Children.only(t);return o.default.cloneElement(n,l(l({},r),{},{onClick:this.onClick}))}}],function(e,t){for(var r=0;r{var n=r(23356),o=Object.create;e.exports=function(){function e(){}return function(t){if(!n(t))return{};if(o)return o(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}()},91544:e=>{e.exports=Array.isArray},91985:function(e){var t,r,n;t=this&&this.define,(n=(r={version:"2.14.4",areas:{},apis:{},nsdelim:".",inherit:function(e,t){for(var r in e)t.hasOwnProperty(r)||Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(e,r));return t},stringify:function(e,t){return void 0===e||"function"==typeof e?e+"":JSON.stringify(e,t||r.replace)},parse:function(e,t){try{return JSON.parse(e,t||r.revive)}catch(t){return e}},fn:function(e,t){for(var n in r.storeAPI[e]=t,r.apis)r.apis[n][e]=t},get:function(e,t){return e.getItem(t)},set:function(e,t,r){e.setItem(t,r)},remove:function(e,t){e.removeItem(t)},key:function(e,t){return e.key(t)},length:function(e){return e.length},clear:function(e){e.clear()},Store:function(e,t,n){var o=r.inherit(r.storeAPI,function(e,t,r){return 0==arguments.length?o.getAll():"function"==typeof t?o.transact(e,t,r):void 0!==t?o.set(e,t,r):"string"==typeof e||"number"==typeof e?o.get(e):"function"==typeof e?o.each(e):e?o.setAll(e,t):o.clear()});o._id=e;try{var i="__store2_test";t.setItem(i,"ok"),o._area=t,t.removeItem(i)}catch(e){o._area=r.storage("fake")}return o._ns=n||"",r.areas[e]||(r.areas[e]=o._area),r.apis[o._ns+o._id]||(r.apis[o._ns+o._id]=o),o},storeAPI:{area:function(e,t){var n=this[e];return n&&n.area||(n=r.Store(e,t,this._ns),this[e]||(this[e]=n)),n},namespace:function(e,t,n){if(n=n||this._delim||r.nsdelim,!e)return this._ns?this._ns.substring(0,this._ns.length-n.length):"";var o=this[e];if((!o||!o.namespace)&&((o=r.Store(this._id,this._area,this._ns+e+n))._delim=n,this[e]||(this[e]=o),!t))for(var i in r.areas)o.area(i,r.areas[i]);return o},isFake:function(e){return e?(this._real=this._area,this._area=r.storage("fake")):!1===e&&(this._area=this._real||this._area),"fake"===this._area.name},toString:function(){return"store"+(this._ns?"."+this.namespace():"")+"["+this._id+"]"},has:function(e){return this._area.has?this._area.has(this._in(e)):this._in(e)in this._area},size:function(){return this.keys().length},each:function(e,t){for(var n=0,o=r.length(this._area);nr.length(this._area)&&(o--,n--)}return t||this},keys:function(e){return this.each(function(e,t,r){r.push(e)},e||[])},get:function(e,t){var n,o=r.get(this._area,this._in(e));return"function"==typeof t&&(n=t,t=null),null!==o?r.parse(o,n):null!=t?t:o},getAll:function(e){return this.each(function(e,t,r){r[e]=t},e||{})},transact:function(e,t,r){var n=this.get(e,r),o=t(n);return this.set(e,void 0===o?n:o),this},set:function(e,t,n){var o,i=this.get(e);return null!=i&&!1===n?t:("function"==typeof n&&(o=n,n=void 0),r.set(this._area,this._in(e),r.stringify(t,o),n)||i)},setAll:function(e,t){var r,n;for(var o in e)n=e[o],this.set(o,n,t)!==n&&(r=!0);return r},add:function(e,t,n){var o=this.get(e);if(o instanceof Array)t=o.concat(t);else if(null!==o){var i=typeof o;if(i===typeof t&&"object"===i){for(var a in t)o[a]=t[a];t=o}else t=o+t}return r.set(this._area,this._in(e),r.stringify(t,n)),t},remove:function(e,t){var n=this.get(e,t);return r.remove(this._area,this._in(e)),n},clear:function(){return this._ns?this.each(function(e){r.remove(this._area,this._in(e))},1):r.clear(this._area),this},clearAll:function(){var e=this._area;for(var t in r.areas)r.areas.hasOwnProperty(t)&&(this._area=r.areas[t],this.clear());return this._area=e,this},_in:function(e){return"string"!=typeof e&&(e=r.stringify(e)),this._ns?this._ns+e:e},_out:function(e){return this._ns?e&&0===e.indexOf(this._ns)?e.substring(this._ns.length):void 0:e}},storage:function(e){return r.inherit(r.storageAPI,{items:{},name:e})},storageAPI:{length:0,has:function(e){return this.items.hasOwnProperty(e)},key:function(e){var t=0;for(var r in this.items)if(this.has(r)&&e===t++)return r},setItem:function(e,t){!this.has(e)&&this.length++,this.items[e]=t},removeItem:function(e){this.has(e)&&(delete this.items[e],this.length--)},getItem:function(e){return this.has(e)?this.items[e]:null},clear:function(){for(var e in this.items)this.removeItem(e)}}}).Store("local",function(){try{return localStorage}catch(e){}}())).local=n,n._=r,n.area("session",function(){try{return sessionStorage}catch(e){}}()),n.area("page",r.storage("page")),"function"==typeof t&&void 0!==t.amd?t("store2",[],function(){return n}):e.exports?e.exports=n:(this.store&&(r.conflict=this.store),this.store=n)},92190:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WebConnection=void 0;let n=r(7117),o=r(83374);class i{constructor(e){if(Object.defineProperty(this,"params",{enumerable:!0,configurable:!0,writable:!0,value:e}),Object.defineProperty(this,"defaultAuthHeader",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),"JWT"===e.auth.type)this.defaultAuthHeader=`Bearer ${e.auth.access_token}`;else if("Credentials"===e.auth.type)this.defaultAuthHeader=`Basic ${btoa(`${e.auth.username}:${e.auth.password}`)}`;else throw Error(`Unknown auth type: ${e.auth.type}`)}async query(e){let t=a(e.query_id),r=(0,n.withHttpSettings)(e.clickhouse_settings,this.params.compression.decompress_response),o=(0,n.toSearchParams)({database:this.params.database,clickhouse_settings:r,query_params:e.query_params,session_id:e.session_id,role:e.role,query_id:t}),i=await this.request({body:e.query,params:e,searchParams:o});return{query_id:t,stream:i.body||new ReadableStream,response_headers:s(i)}}async exec(e){let t=await this.runExec(e);return{query_id:t.query_id,stream:t.stream||new ReadableStream,response_headers:t.response_headers}}async command(e){let{stream:t,query_id:r,response_headers:n}=await this.runExec(e);return null!==t&&await t.cancel(),{query_id:r,response_headers:n}}async insert(e){let t=a(e.query_id),r=(0,n.toSearchParams)({database:this.params.database,clickhouse_settings:e.clickhouse_settings,query_params:e.query_params,query:e.query,session_id:e.session_id,role:e.role,query_id:t}),o=await this.request({body:e.values,params:e,searchParams:r});return null!==o.body&&await o.text(),{query_id:t,response_headers:s(o)}}async ping(){try{let e=await this.request({body:null,searchParams:(0,n.toSearchParams)({database:void 0,query:"SELECT 'ping'",query_id:a(void 0)}),method:"GET"});return null!==e.body&&await e.body.cancel(),{success:!0}}catch(e){if(e instanceof Error)return{success:!1,error:e};throw e}}async close(){}async request({body:e,params:t,searchParams:r,pathname:i,method:a}){let s=(0,n.transformUrl)({url:this.params.url,pathname:i,searchParams:r}).toString(),u=new AbortController,l=!1,c=setTimeout(()=>{l=!0,u.abort()},this.params.request_timeout),p=!1;t?.abort_signal!==void 0&&(t.abort_signal.onabort=()=>{p=!0,u.abort()});try{let r=(0,n.withCompressionHeaders)({headers:this.defaultHeadersWithOverride(t),enable_request_compression:!1,enable_response_compression:this.params.compression.decompress_response}),i=this.params.fetch??fetch,l=await i(s,{body:e,headers:r,keepalive:this.params.keep_alive.enabled,method:a??"POST",signal:u.signal});if(clearTimeout(c),(0,n.isSuccessfulResponse)(l.status))return l;return Promise.reject((0,n.parseError)(await (0,o.getAsText)(l.body||new ReadableStream)))}catch(e){if(clearTimeout(c),p)return Promise.reject(Error("The user aborted a request."));if(l)return Promise.reject(Error("Timeout error."));if(e instanceof Error)return Promise.reject((0,n.parseError)(e));throw e}}async runExec(e){let t=a(e.query_id),r=(0,n.toSearchParams)({database:this.params.database,clickhouse_settings:e.clickhouse_settings,query_params:e.query_params,session_id:e.session_id,role:e.role,query_id:t}),o=await this.request({body:e.query,params:e,searchParams:r});return{stream:o.body,response_headers:s(o),query_id:t}}defaultHeadersWithOverride(e){let t;return t=(0,n.isJWTAuth)(e?.auth)?`Bearer ${e?.auth.access_token}`:(0,n.isCredentialsAuth)(e?.auth)?`Basic ${btoa(`${e?.auth.username}:${e?.auth.password}`)}`:this.defaultAuthHeader,{...this.params.http_headers??{},...e?.http_headers??{},Authorization:t}}}function a(e){return e||crypto.randomUUID()}function s(e){let t={};return e.headers.forEach((e,r)=>{t[r]=e}),t}t.WebConnection=i},92786:(e,t,r)=>{var n=r(36592);e.exports=function(e,t){var r=this.__data__,o=n(r,e);return o<0?(++this.size,r.push([e,t])):r[o][1]=t,this}},92812:e=>{e.exports=function(e,t){return null!=e&&t in Object(e)}},93248:e=>{e.exports=function(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}},94061:(e,t,r)=>{e=r.nmd(e);var n,o=function(e){"use strict";var t=c(0x20000000000000),r="0123456789abcdefghijklmnopqrstuvwxyz",n="function"==typeof BigInt;function i(e,t,r,n){return void 0===e?i[0]:void 0!==t&&(10!=+t||r)?D(e,t,r,n):B(e)}function a(e,t){this.value=e,this.sign=t,this.isSmall=!1}function s(e){this.value=e,this.sign=e<0,this.isSmall=!0}function u(e){this.value=e}function l(e){return -0x20000000000000P(e,t))switch(r){case 0:return 0;case 1:return e[0];case 2:return e[0]+1e7*e[1];default:return e[0]+(e[1]+1e7*e[2])*1e7}return e}function f(e){for(var t=e.length;0===e[--t];);e.length=t+1}function h(e){for(var t=Array(e),r=-1;++r0?Math.floor(e):Math.ceil(e)}function y(e,t){var r,n,o=e.length,i=t.length,a=Array(o),s=0;for(n=0;n=1e7),a[n]=r-1e7*s;for(;n0&&a.push(s),a}function v(e,t){return e.length>=t.length?y(e,t):y(t,e)}function m(e,t){var r,n,o=e.length,i=Array(o);for(n=0;n0;)i[n++]=t%1e7,t=Math.floor(t/1e7);return i}function g(e,t){var r,n,o=e.length,i=t.length,a=Array(o),s=0;for(r=0;r0;)i[n++]=a%1e7,a=Math.floor(a/1e7);return i}function S(e,t){for(var r=[];t-- >0;)r.push(0);return r.concat(e)}function O(e,t,r){return e<1e7?new a(_(t,e),r):new a(w(t,c(e)),r)}function x(e){var t,r,n,o,i=e.length,a=h(i+i);for(n=0;n=0;--r)n=d((i=1e7*o+e[r])/t),o=i-n*t,s[r]=0|n;return[s,0|o]}function C(e,t){var r,o,l=B(t);if(n)return[new u(e.value/l.value),new u(e.value%l.value)];var y=e.value,v=l.value;if(0===v)throw Error("Cannot divide by zero");if(e.isSmall)return l.isSmall?[new s(d(y/v)),new s(y%v)]:[i[0],e];if(l.isSmall){if(1===v)return[e,i[0]];if(-1==v)return[e.negate(),i[0]];var m=Math.abs(v);if(m<1e7){r=p((o=j(y,m))[0]);var b=o[1];return(e.sign&&(b=-b),"number"==typeof r)?(e.sign!==l.sign&&(r=-r),[new s(r),new s(b)]):[new a(r,e.sign!==l.sign),new s(b)]}v=c(m)}var w=P(y,v);if(-1===w)return[i[0],e];if(0===w)return[i[e.sign===l.sign?1:-1],i[0]];r=(o=y.length+v.length<=200?function(e,t){var r,n,o,i,a,s,u,l=e.length,c=t.length,f=h(t.length),d=t[c-1],y=Math.ceil(1e7/(2*d)),v=_(e,y),m=_(t,y);for(v.length<=l&&v.push(0),m.push(0),d=m[c-1],n=l-c;n>=0;n--){for(r=1e7-1,v[n+c]!==d&&(r=Math.floor((1e7*v[n+c]+v[n+c-1])/d)),o=0,i=0,s=m.length,a=0;aP(c,t)){l.push(0);continue}n=c.length,o=1e7*c[n-1]+c[n-2],i=1e7*t[u-1]+t[u-2],n>u&&(o=(o+1)*1e7),r=Math.ceil(o/i);do{if(0>=P(a=_(t,r),c))break;r--}while(r);l.push(r),c=g(c,a)}return l.reverse(),[p(l),p(c)]}(y,v))[0];var S=e.sign!==l.sign,O=o[1],x=e.sign;return"number"==typeof r?(S&&(r=-r),r=new s(r)):r=new a(r,S),"number"==typeof O?(x&&(O=-O),O=new s(O)):O=new a(O,x),[r,O]}function P(e,t){if(e.length!==t.length)return e.length>t.length?1:-1;for(var r=e.length-1;r>=0;r--)if(e[r]!==t[r])return e[r]>t[r]?1:-1;return 0}function A(e){var t=e.abs();return!t.isUnit()&&(!!(t.equals(2)||t.equals(3)||t.equals(5))||!(t.isEven()||t.isDivisibleBy(3)||t.isDivisibleBy(5))&&(!!t.lesser(49)||void 0))}function E(e,t){for(var r,n,i,a=e.prev(),s=a,u=0;s.isEven();)s=s.divide(2),u++;e:for(n=0;n=0?r=g(o,i):(r=g(i,o),t=!t),"number"==typeof(r=p(r)))?(t&&(r=-r),new s(r)):new a(r,t))},a.prototype.minus=a.prototype.subtract,s.prototype.subtract=function(e){var t=B(e),r=this.value;if(r<0!==t.sign)return this.add(t.negate());var n=t.value;return t.isSmall?new s(r-n):b(n,Math.abs(r),r>=0)},s.prototype.minus=s.prototype.subtract,u.prototype.subtract=function(e){return new u(this.value-B(e).value)},u.prototype.minus=u.prototype.subtract,a.prototype.negate=function(){return new a(this.value,!this.sign)},s.prototype.negate=function(){var e=this.sign,t=new s(-this.value);return t.sign=!e,t},u.prototype.negate=function(){return new u(-this.value)},a.prototype.abs=function(){return new a(this.value,!1)},s.prototype.abs=function(){return new s(Math.abs(this.value))},u.prototype.abs=function(){return new u(this.value>=0?this.value:-this.value)},a.prototype.multiply=function(e){var t,r,n,o=B(e),s=this.value,u=o.value,l=this.sign!==o.sign;if(o.isSmall){if(0===u)return i[0];if(1===u)return this;if(-1===u)return this.negate();if((n=Math.abs(u))<1e7)return new a(_(s,n),l);u=c(n)}return -.012*(t=s.length)-.012*(r=u.length)+15e-6*t*r>0?new a(function e(t,r){var n=Math.max(t.length,r.length);if(n<=30)return w(t,r);n=Math.ceil(n/2);var o=t.slice(n),i=t.slice(0,n),a=r.slice(n),s=r.slice(0,n),u=e(i,s),l=e(o,a),c=e(v(i,o),v(s,a)),p=v(v(u,S(g(g(c,u),l),n)),S(l,2*n));return f(p),p}(s,u),l):new a(w(s,u),l)},a.prototype.times=a.prototype.multiply,s.prototype._multiplyBySmall=function(e){return l(e.value*this.value)?new s(e.value*this.value):O(Math.abs(e.value),c(Math.abs(this.value)),this.sign!==e.sign)},a.prototype._multiplyBySmall=function(e){return 0===e.value?i[0]:1===e.value?this:-1===e.value?this.negate():O(Math.abs(e.value),this.value,this.sign!==e.sign)},s.prototype.multiply=function(e){return B(e)._multiplyBySmall(this)},s.prototype.times=s.prototype.multiply,u.prototype.multiply=function(e){return new u(this.value*B(e).value)},u.prototype.times=u.prototype.multiply,a.prototype.square=function(){return new a(x(this.value),!1)},s.prototype.square=function(){var e=this.value*this.value;return l(e)?new s(e):new a(x(c(Math.abs(this.value))),!1)},u.prototype.square=function(e){return new u(this.value*this.value)},a.prototype.divmod=function(e){var t=C(this,e);return{quotient:t[0],remainder:t[1]}},u.prototype.divmod=s.prototype.divmod=a.prototype.divmod,a.prototype.divide=function(e){return C(this,e)[0]},u.prototype.over=u.prototype.divide=function(e){return new u(this.value/B(e).value)},s.prototype.over=s.prototype.divide=a.prototype.over=a.prototype.divide,a.prototype.mod=function(e){return C(this,e)[1]},u.prototype.mod=u.prototype.remainder=function(e){return new u(this.value%B(e).value)},s.prototype.remainder=s.prototype.mod=a.prototype.remainder=a.prototype.mod,a.prototype.pow=function(e){var t,r,n,o=B(e),a=this.value,u=o.value;if(0===u)return i[1];if(0===a)return i[0];if(1===a)return i[1];if(-1===a)return o.isEven()?i[1]:i[-1];if(o.sign)return i[0];if(!o.isSmall)throw Error("The exponent "+o.toString()+" is too large.");if(this.isSmall&&l(t=Math.pow(a,u)))return new s(d(t));for(r=this,n=i[1];!0&u&&(n=n.times(r),--u),0!==u;)u/=2,r=r.square();return n},s.prototype.pow=a.prototype.pow,u.prototype.pow=function(e){var t=B(e),r=this.value,n=t.value,o=BigInt(0),a=BigInt(1),s=BigInt(2);if(n===o)return i[1];if(r===o)return i[0];if(r===a)return i[1];if(r===BigInt(-1))return t.isEven()?i[1]:i[-1];if(t.isNegative())return new u(o);for(var l=this,c=i[1];(n&a)===a&&(c=c.times(l),--n),n!==o;)n/=s,l=l.square();return c},a.prototype.modPow=function(e,t){if(e=B(e),(t=B(t)).isZero())throw Error("Cannot take modPow with modulus 0");var r=i[1],n=this.mod(t);for(e.isNegative()&&(e=e.multiply(i[-1]),n=n.modInv(t));e.isPositive();){if(n.isZero())return i[0];e.isOdd()&&(r=r.multiply(n).mod(t)),e=e.divide(2),n=n.square().mod(t)}return r},u.prototype.modPow=s.prototype.modPow=a.prototype.modPow,a.prototype.compareAbs=function(e){var t=B(e),r=this.value,n=t.value;return t.isSmall?1:P(r,n)},s.prototype.compareAbs=function(e){var t=B(e),r=Math.abs(this.value),n=t.value;return t.isSmall?r===(n=Math.abs(n))?0:r>n?1:-1:-1},u.prototype.compareAbs=function(e){var t=this.value,r=B(e).value;return(t=t>=0?t:-t)===(r=r>=0?r:-r)?0:t>r?1:-1},a.prototype.compare=function(e){if(e===1/0)return -1;if(e===-1/0)return 1;var t=B(e),r=this.value,n=t.value;return this.sign!==t.sign?t.sign?1:-1:t.isSmall?this.sign?-1:1:P(r,n)*(this.sign?-1:1)},a.prototype.compareTo=a.prototype.compare,s.prototype.compare=function(e){if(e===1/0)return -1;if(e===-1/0)return 1;var t=B(e),r=this.value,n=t.value;return t.isSmall?r==n?0:r>n?1:-1:r<0!==t.sign?r<0?-1:1:r<0?1:-1},s.prototype.compareTo=s.prototype.compare,u.prototype.compare=function(e){if(e===1/0)return -1;if(e===-1/0)return 1;var t=this.value,r=B(e).value;return t===r?0:t>r?1:-1},u.prototype.compareTo=u.prototype.compare,a.prototype.equals=function(e){return 0===this.compare(e)},u.prototype.eq=u.prototype.equals=s.prototype.eq=s.prototype.equals=a.prototype.eq=a.prototype.equals,a.prototype.notEquals=function(e){return 0!==this.compare(e)},u.prototype.neq=u.prototype.notEquals=s.prototype.neq=s.prototype.notEquals=a.prototype.neq=a.prototype.notEquals,a.prototype.greater=function(e){return this.compare(e)>0},u.prototype.gt=u.prototype.greater=s.prototype.gt=s.prototype.greater=a.prototype.gt=a.prototype.greater,a.prototype.lesser=function(e){return 0>this.compare(e)},u.prototype.lt=u.prototype.lesser=s.prototype.lt=s.prototype.lesser=a.prototype.lt=a.prototype.lesser,a.prototype.greaterOrEquals=function(e){return this.compare(e)>=0},u.prototype.geq=u.prototype.greaterOrEquals=s.prototype.geq=s.prototype.greaterOrEquals=a.prototype.geq=a.prototype.greaterOrEquals,a.prototype.lesserOrEquals=function(e){return 0>=this.compare(e)},u.prototype.leq=u.prototype.lesserOrEquals=s.prototype.leq=s.prototype.lesserOrEquals=a.prototype.leq=a.prototype.lesserOrEquals,a.prototype.isEven=function(){return(1&this.value[0])==0},s.prototype.isEven=function(){return(1&this.value)==0},u.prototype.isEven=function(){return(this.value&BigInt(1))===BigInt(0)},a.prototype.isOdd=function(){return(1&this.value[0])==1},s.prototype.isOdd=function(){return(1&this.value)==1},u.prototype.isOdd=function(){return(this.value&BigInt(1))===BigInt(1)},a.prototype.isPositive=function(){return!this.sign},s.prototype.isPositive=function(){return this.value>0},u.prototype.isPositive=s.prototype.isPositive,a.prototype.isNegative=function(){return this.sign},s.prototype.isNegative=function(){return this.value<0},u.prototype.isNegative=s.prototype.isNegative,a.prototype.isUnit=function(){return!1},s.prototype.isUnit=function(){return 1===Math.abs(this.value)},u.prototype.isUnit=function(){return this.abs().value===BigInt(1)},a.prototype.isZero=function(){return!1},s.prototype.isZero=function(){return 0===this.value},u.prototype.isZero=function(){return this.value===BigInt(0)},a.prototype.isDivisibleBy=function(e){var t=B(e);return!t.isZero()&&(!!t.isUnit()||(0===t.compareAbs(2)?this.isEven():this.mod(t).isZero()))},u.prototype.isDivisibleBy=s.prototype.isDivisibleBy=a.prototype.isDivisibleBy,a.prototype.isPrime=function(e){var t=A(this);if(void 0!==t)return t;var r=this.abs(),n=r.bitLength();if(n<=64)return E(r,[2,3,5,7,11,13,17,19,23,29,31,37]);for(var i=Math.log(2)*n.toJSNumber(),a=Math.ceil(!0===e?2*Math.pow(i,2):i),s=[],u=0;u-0x20000000000000?new s(e-1):new a(t,!0)},u.prototype.prev=function(){return new u(this.value-BigInt(1))};for(var k=[1];2*k[k.length-1]<=1e7;)k.push(2*k[k.length-1]);var N=k.length,T=k[N-1];function R(e){return 1e7>=Math.abs(e)}function I(e,t,r){t=B(t);for(var n=e.isNegative(),i=t.isNegative(),a=n?e.not():e,s=i?t.not():t,u=0,l=0,c=null,p=null,f=[];!a.isZero()||!s.isZero();)u=(c=C(a,T))[1].toJSNumber(),n&&(u=T-1-u),l=(p=C(s,T))[1].toJSNumber(),i&&(l=T-1-l),a=c[0],s=p[0],f.push(r(u,l));for(var h=0!==r(+!!n,+!!i)?o(-1):o(0),d=f.length-1;d>=0;d-=1)h=h.multiply(T).add(o(f[d]));return h}a.prototype.shiftLeft=function(e){var t=B(e).toJSNumber();if(!R(t))throw Error(String(t)+" is too large for shifting.");if(t<0)return this.shiftRight(-t);var r=this;if(r.isZero())return r;for(;t>=N;)r=r.multiply(T),t-=N-1;return r.multiply(k[t])},u.prototype.shiftLeft=s.prototype.shiftLeft=a.prototype.shiftLeft,a.prototype.shiftRight=function(e){var t,r=B(e).toJSNumber();if(!R(r))throw Error(String(r)+" is too large for shifting.");if(r<0)return this.shiftLeft(-r);for(var n=this;r>=N;){if(n.isZero()||n.isNegative()&&n.isUnit())return n;n=(t=C(n,T))[1].isNegative()?t[0].prev():t[0],r-=N-1}return(t=C(n,k[r]))[1].isNegative()?t[0].prev():t[0]},u.prototype.shiftRight=s.prototype.shiftRight=a.prototype.shiftRight,a.prototype.not=function(){return this.negate().prev()},u.prototype.not=s.prototype.not=a.prototype.not,a.prototype.and=function(e){return I(this,e,function(e,t){return e&t})},u.prototype.and=s.prototype.and=a.prototype.and,a.prototype.or=function(e){return I(this,e,function(e,t){return e|t})},u.prototype.or=s.prototype.or=a.prototype.or,a.prototype.xor=function(e){return I(this,e,function(e,t){return e^t})},u.prototype.xor=s.prototype.xor=a.prototype.xor;function M(e){var t=e.value,r="number"==typeof t?0x40000000|t:"bigint"==typeof t?t|BigInt(0x40000000):t[0]+1e7*t[1]|0x40004000;return r&-r}function q(e,t){return e=B(e),t=B(t),e.greater(t)?e:t}function L(e,t){return e=B(e),t=B(t),e.lesser(t)?e:t}function U(e,t){if(e=B(e).abs(),t=B(t).abs(),e.equals(t))return e;if(e.isZero())return t;if(t.isZero())return e;for(var r,n,o=i[1];e.isEven()&&t.isEven();)r=L(M(e),M(t)),e=e.divide(r),t=t.divide(r),o=o.multiply(r);for(;e.isEven();)e=e.divide(M(e));do{for(;t.isEven();)t=t.divide(M(t));e.greater(t)&&(n=t,t=e,e=n),t=t.subtract(e)}while(!t.isZero());return o.isUnit()?e:e.multiply(o)}a.prototype.bitLength=function(){var e=this;return(0>e.compareTo(o(0))&&(e=e.negate().subtract(o(1))),0===e.compareTo(o(0)))?o(0):o(function e(t,r){if(0>=r.compareTo(t)){var n=e(t,r.square(r)),i=n.p,a=n.e,s=i.multiply(r);return 0>=s.compareTo(t)?{p:s,e:2*a+1}:{p:i,e:2*a}}return{p:o(1),e:0}}(e,o(2)).e).add(o(1))},u.prototype.bitLength=s.prototype.bitLength=a.prototype.bitLength;var D=function(e,t,n,o){n=n||r,e=String(e),o||(e=e.toLowerCase(),n=n.toLowerCase());var i,a=e.length,s=Math.abs(t),u={};for(i=0;i=s){if("1"===l&&1===s)continue;throw Error(l+" is not a valid digit in base "+t+".")}}t=B(t);var c=[],p="-"===e[0];for(i=+!!p;i"!==e[i]&&i=0;n--)o=o.add(e[n].times(a)),a=a.times(t);return r?o.negate():o}function J(e,t){if((t=o(t)).isZero()){if(e.isZero())return{value:[0],isNegative:!1};throw Error("Cannot convert nonzero numbers to base 0.")}if(t.equals(-1)){if(e.isZero())return{value:[0],isNegative:!1};if(e.isNegative())return{value:[].concat.apply([],Array.apply(null,Array(-e.toJSNumber())).map(Array.prototype.valueOf,[1,0])),isNegative:!1};var r=Array.apply(null,Array(e.toJSNumber()-1)).map(Array.prototype.valueOf,[0,1]);return r.unshift([1]),{value:[].concat.apply([],r),isNegative:!1}}var n=!1;if(e.isNegative()&&t.isPositive()&&(n=!0,e=e.abs()),t.isUnit())return e.isZero()?{value:[0],isNegative:!1}:{value:Array.apply(null,Array(e.toJSNumber())).map(Number.prototype.valueOf,1),isNegative:n};for(var i,a=[],s=e;s.isNegative()||s.compareAbs(t)>=0;){s=(i=s.divmod(t)).quotient;var u=i.remainder;u.isNegative()&&(u=t.minus(u).abs(),s=s.next()),a.push(u.toJSNumber())}return a.push(s.toJSNumber()),{value:a.reverse(),isNegative:n}}function $(e,t,n){var o=J(e,t);return(o.isNegative?"-":"")+o.value.map(function(e){var t;return e<(t=(t=n)||r).length?t[e]:"<"+e+">"}).join("")}function W(e){if(l(+e)){var t=+e;if(t===d(t))return n?new u(BigInt(t)):new s(t);throw Error("Invalid integer: "+e)}var r="-"===e[0];r&&(e=e.slice(1));var o=e.split(/e/i);if(o.length>2)throw Error("Invalid integer: "+o.join("e"));if(2===o.length){var i=o[1];if("+"===i[0]&&(i=i.slice(1)),(i*=1)!==d(i)||!l(i))throw Error("Invalid integer: "+i+" is not a valid exponent.");var c=o[0],p=c.indexOf(".");if(p>=0&&(i-=c.length-p-1,c=c.slice(0,p)+c.slice(p+1)),i<0)throw Error("Cannot include negative exponent part for integers");c+=Array(i+1).join("0"),e=c}if(!/^([0-9][0-9]*)$/.test(e))throw Error("Invalid integer: "+e);if(n)return new u(BigInt(r?"-"+e:e));for(var h=[],y=e.length,v=y-7;y>0;)h.push(+e.slice(v,y)),(v-=7)<0&&(v=0),y-=7;return f(h),new a(h,r)}function B(e){if("number"==typeof e){if(n)return new u(BigInt(e));if(l(e)){if(e!==d(e))throw Error(e+" is not an integer.");return new s(e)}return W(e.toString())}return"string"==typeof e?W(e):"bigint"==typeof e?new u(e):e}a.prototype.toArray=function(e){return J(this,e)},s.prototype.toArray=function(e){return J(this,e)},u.prototype.toArray=function(e){return J(this,e)},a.prototype.toString=function(e,t){if(void 0===e&&(e=10),10!==e||t)return $(this,e,t);for(var r,n=this.value,o=n.length,i=String(n[--o]);--o>=0;)r=String(n[o]),i+="0000000".slice(r.length)+r;return(this.sign?"-":"")+i},s.prototype.toString=function(e,t){return(void 0===e&&(e=10),10!=e||t)?$(this,e,t):String(this.value)},u.prototype.toString=s.prototype.toString,u.prototype.toJSON=a.prototype.toJSON=s.prototype.toJSON=function(){return this.toString()},a.prototype.valueOf=function(){return parseInt(this.toString(),10)},a.prototype.toJSNumber=a.prototype.valueOf,s.prototype.valueOf=function(){return this.value},s.prototype.toJSNumber=s.prototype.valueOf,u.prototype.valueOf=u.prototype.toJSNumber=function(){return parseInt(this.toString(),10)};for(var H=0;H<1e3;H++)i[H]=B(H),H>0&&(i[-H]=B(-H));return i.one=i[1],i.zero=i[0],i.minusOne=i[-1],i.max=q,i.min=L,i.gcd=U,i.lcm=function(e,t){return e=B(e).abs(),t=B(t).abs(),e.divide(U(e,t)).multiply(t)},i.isInstance=function(e){return e instanceof a||e instanceof s||e instanceof u},i.randBetween=function(e,t,r){e=B(e);var n=r||Math.random,o=L(e,t=B(t)),a=q(e,t).subtract(o).add(1);if(a.isSmall)return o.add(Math.floor(n()*a));for(var s=J(a,1e7).value,u=[],l=!0,c=0;c{var n=r(620),o=r(4650),i=r(50874);e.exports=function(){this.size=0,this.__data__={hash:new n,map:new(i||o),string:new n}}},95345:(e,t,r)=>{var n=r(4650);e.exports=function(){this.__data__=new n,this.size=0}},97397:(e,t,r)=>{e.exports="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g},97722:e=>{e.exports=function(e,t){var r=-1,n=e.length;for(t||(t=Array(n));++r{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createClient=function(e){return new i({impl:o.WebImpl,...e||{}})};let n=r(7117),o=r(30110);class i extends n.ClickHouseClient{query(e){return super.query(e)}}},98499:(e,t,r)=>{var n=r(33573),o=r(23356);e.exports=function(e){if(!o(e))return!1;var t=n(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},99048: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""}},99469:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isProgressRow=function(e){return null!==e&&"object"==typeof e&&"progress"in e&&1===Object.keys(e).length},t.isRow=function(e){return null!==e&&"object"==typeof e&&"row"in e&&1===Object.keys(e).length},t.isException=function(e){return null!==e&&"object"==typeof e&&"exception"in e&&1===Object.keys(e).length}},99496:(e,t)=>{"use strict";async function r(e){await new Promise(t=>setTimeout(()=>{t(void 0)},e))}Object.defineProperty(t,"__esModule",{value:!0}),t.sleep=r}}]);
\ No newline at end of file
+${o}`}return e};let r=/(Code|Error): (?\d+).*Exception: (?.+)\((?(?=.+[A-Z]{3})[A-Z0-9_]+?)\)/s;class n extends Error{constructor({message:e,code:t,type:r}){super(e),Object.defineProperty(this,"code",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"type",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.code=t,this.type=r,Object.setPrototypeOf(this,n.prototype)}}t.ClickHouseError=n},83374:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);(!o||("get"in o?!t.__esModule:o.writable||o.configurable))&&(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(28506),t),o(r(83866),t)},83801:(e,t,r)=>{var n=r(53140),o=r(3619);e.exports=function(e){return o(e)&&"[object Map]"==n(e)}},83866:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WebValuesEncoder=void 0;let n=r(7117),o=r(28506);class i{encodeValues(e,t){if(a(e),Array.isArray(e))return e.map(e=>(0,n.encodeJSON)(e,t)).join("");if("object"==typeof e)return(0,n.encodeJSON)(e,t);throw Error(`Cannot encode values of type ${typeof e} with ${t} format`)}validateInsertValues(e){if(a(e),!Array.isArray(e)&&"object"!=typeof e)throw Error(`Insert expected "values" to be an array or a JSON object, got: ${typeof e}`)}}function a(e){if((0,o.isStream)(e))throw Error("Streaming is not supported for inserts in the web version of the client")}t.WebValuesEncoder=i},83965:(e,t,r)=>{var n=r(65517),o=r(12342);e.exports=function e(t,r,i,a,s){var u=-1,l=t.length;for(i||(i=o),s||(s=[]);++u0&&i(c)?r>1?e(c,r-1,i,a,s):n(s,c):a||(s[s.length]=c)}return s}},84536:(e,t,r)=>{var n=r(43233),o=r(8546);e.exports=function(e,t){return n(e,t,function(t,r){return o(e,r)})}},85008:(e,t,r)=>{var n=r(28676);e.exports=function(e,t){var r=t?n(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}},86347:(e,t,r)=>{var n=r(33863),o=r(1278),i=r(5549);e.exports=o?function(e,t){return o(e,"toString",{configurable:!0,enumerable:!1,value:n(t),writable:!0})}:i},86414:(e,t,r)=>{var n=r(89139);e.exports=function(e,t){var r=e.__data__;return n(t)?r["string"==typeof t?"string":"hash"]:r.map}},87274:(e,t,r)=>{var n=r(52634),o=r(5461);e.exports=function(e,t){return n(e,o(e),t)}},87567:(e,t,r)=>{var n=r(29778),o=r(43701),i=r(16799);e.exports=function(e){return i(e)?n(e):o(e)}},87568:(e,t,r)=>{var n=r(91357),o=r(10858),i=r(23282);e.exports=function(e){return"function"!=typeof e.constructor||i(e)?{}:n(o(e))}},87710:(e,t,r)=>{var n=r(25248),o=r(16419),i=r(46448),a=r(43092);e.exports=function(e,t){return t=n(t,e),null==(e=i(e,t))||delete e[a(o(t))]}},88165:e=>{e.exports=function(e,t,r){var n=-1,o=e.length;t<0&&(t=-t>o?0:o+t),(r=r>o?o:r)<0&&(r+=o),o=t>r?0:r-t>>>0,t>>>=0;for(var i=Array(o);++n{var n=r(52634),o=r(70720);e.exports=function(e,t){return e&&n(t,o(t),e)}},88601:e=>{e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length,o=Array(n);++r{"use strict";function t(e,r,n,o){this.message=e,this.expected=r,this.found=n,this.location=o,this.name="SyntaxError","function"==typeof Error.captureStackTrace&&Error.captureStackTrace(this,t)}function r(){this.constructor=t}r.prototype=Error.prototype,t.prototype=new r,t.buildMessage=function(e,t){var r={literal:function(e){return'"'+o(e.text)+'"'},class:function(e){var t,r="";for(t=0;t0){for(n=1,o=1;n":r[0],o.right=n),o},f=function(e,t,r){var n={left:e},r=0==r.length?null:null==r[0].right?r[0].left:r[0];return null!=r&&(n.operator=""==t?"":t[0],n.right=r),n},h=ey("(",!1),d=ey(")",!1),y=function(e,t){var r={field:null==e||""==e.label?"":e.label,fieldLocation:null==e||""==e.label?null:e.location};for(var n in t)r[n]=t[n];return r},v=/^[:]/,m=ev([":"],!1,!1),g=function(e,t,r,n){var o={term:t,quoted:!0,regex:!1,termLocation:eg(ec,el)};return""!=r&&(o.proximity=r),""!=n&&(o.boost=n),""!=e&&(o.prefix=e),o},b=function(e,t,r,n){var o={term:t.label,quoted:!1,regex:!1,termLocation:eg(ec,el)};return""!=r&&(o.similarity=r),""!=n&&(o.boost=n),""!=e&&(o.prefix=e),o},w=ey("\\",!1),_=function(e){return"\\"+e},S=ey(".",!1),x=/^[^ \t\r\n\f{}()"\/\^~[\]]/,O=ev([" "," ","\r","\n","\f","{","}","(",")",'"',"/","^","~","[","]"],!0,!1),j=/^[^: \t\r\n\f{}()"\^~[\]]/,C=ev([":"," "," ","\r","\n","\f","{","}","(",")",'"',"^","~","[","]"],!0,!1),P=ey('"',!1),A=ey("/",!1),E={type:"any"},k=ey("+",!1),N=ey("-",!1),T=ey("!",!1),R=ey("{",!1),I=ey("}",!1),M=ey("[",!1),q=ey("]",!1),L=ey("^",!1),D=ey("?",!1),U=ey(":",!1),F=ey("&",!1),J=ey("|",!1),$=ey("'",!1),W=ey("~",!1),B=ey("*",!1),H=ey(" ",!1),z=ey("0.",!1),V=/^[0-9]/,Q=ev([["0","9"]],!1,!1),Z=ey("TO",!1),G=function(e){return e},Y="OR NOT",K=ey("OR NOT",!1),X="AND NOT",ee=ey("AND NOT",!1),et=ey("OR",!1),er=ey("AND",!1),en=ey("NOT",!1),eo=ey("||",!1),ei=ey("&&",!1),ea={type:"other",description:"whitespace"},es=/^[ \t\r\n\f]/,eu=ev([" "," ","\r","\n","\f"],!1,!1),el=0,ec=0,ep=[{line:1,column:1}],ef=0,eh=[],ed=0;if("startRule"in r){if(!(r.startRule in u))throw Error("Can't start parsing from rule \""+r.startRule+'".');l=u[r.startRule]}function ey(e,t){return{type:"literal",text:e,ignoreCase:t}}function ev(e,t,r){return{type:"class",parts:e,inverted:t,ignoreCase:r}}function em(t){var r,n=ep[t];if(n)return n;for(r=t-1;!ep[r];)r--;for(n={line:(n=ep[r]).line,column:n.column};ref&&(ef=el,eh=[]),eh.push(e))}function ew(){var e,t,r,n;for(e=el,t=[],r=eL();r!==s;)t.push(r),r=eL();if(t!==s){if(r=[],(n=e_())!==s)for(;n!==s;)r.push(n),n=e_();else r=s;r!==s?(ec=e,e=t=r[0]):(el=e,e=s)}else el=e,e=s;if(e===s){for(e=el,t=[],r=eL();r!==s;)t.push(r),r=eL();t!==s&&(ec=e,t=c()),(e=t)===s&&(e=el,(t=eD())!==s&&(ec=e,t=c()),e=t)}return e}function e_(){var e,t,r,n,o,i;if((e=el,(t=eI())!==s&&(r=eD())!==s)?(ec=e,e=t={operator:t}):(el=e,e=s),e===s){if(e=el,(t=eI())!==s)if((r=eS())!==s){for(n=[],o=eI();o!==s;)n.push(o),o=eI();if(n!==s){for(o=[],i=e_();i!==s;)o.push(i),i=e_();o!==s?(ec=e,e=t=p(t,r,n,o)):(el=e,e=s)}else el=e,e=s}else el=e,e=s;else el=e,e=s;if(e===s&&((e=el,(t=eI())!==s&&(r=e_())!==s)?(ec=e,e=t=r):(el=e,e=s),e===s))if(e=el,(t=eS())!==s){for(r=[],n=eI();n!==s;)r.push(n),n=eI();if(r!==s){for(n=[],o=e_();o!==s;)n.push(o),o=e_();n!==s?(ec=e,e=t=f(t,r,n)):(el=e,e=s)}else el=e,e=s}else el=e,e=s}return e}function eS(){var t,r,n,o,i,a,u,l,c,p,f;if(t=el,(i=el,(a=eO())===s&&(a=null),a!==s&&(u=function(){var t,r,n,o,i,a,u,l;if(t=el,91===e.charCodeAt(el)?(r="[",el++):(r=s,0===ed&&eb(M)),r!==s)if((n=eC())!==s){for(o=[],i=eL();i!==s;)o.push(i),i=eL();if(o!==s)if("TO"===e.substr(el,2)?(i="TO",el+=2):(i=s,0===ed&&eb(Z)),i!==s){if(a=[],(u=eL())!==s)for(;u!==s;)a.push(u),u=eL();else a=s;a!==s&&(u=eC())!==s&&(93===e.charCodeAt(el)?(l="]",el++):(l=s,0===ed&&eb(q)),l!==s)?(ec=t,t=r={term_min:n,term_max:u,inclusive:"both"}):(el=t,t=s)}else el=t,t=s;else el=t,t=s}else el=t,t=s;else el=t,t=s;if(t===s){if(t=el,123===e.charCodeAt(el)?(r="{",el++):(r=s,0===ed&&eb(R)),r!==s)if((n=eC())!==s){for(o=[],i=eL();i!==s;)o.push(i),i=eL();if(o!==s)if("TO"===e.substr(el,2)?(i="TO",el+=2):(i=s,0===ed&&eb(Z)),i!==s){if(a=[],(u=eL())!==s)for(;u!==s;)a.push(u),u=eL();else a=s;a!==s&&(u=eC())!==s&&(125===e.charCodeAt(el)?(l="}",el++):(l=s,0===ed&&eb(I)),l!==s)?(ec=t,t=r={term_min:n,term_max:u,inclusive:"none"}):(el=t,t=s)}else el=t,t=s;else el=t,t=s}else el=t,t=s;else el=t,t=s;if(t===s){if(t=el,91===e.charCodeAt(el)?(r="[",el++):(r=s,0===ed&&eb(M)),r!==s)if((n=eC())!==s){for(o=[],i=eL();i!==s;)o.push(i),i=eL();if(o!==s)if("TO"===e.substr(el,2)?(i="TO",el+=2):(i=s,0===ed&&eb(Z)),i!==s){if(a=[],(u=eL())!==s)for(;u!==s;)a.push(u),u=eL();else a=s;a!==s&&(u=eC())!==s&&(125===e.charCodeAt(el)?(l="}",el++):(l=s,0===ed&&eb(I)),l!==s)?(ec=t,t=r={term_min:n,term_max:u,inclusive:"left"}):(el=t,t=s)}else el=t,t=s;else el=t,t=s}else el=t,t=s;else el=t,t=s;if(t===s)if(t=el,123===e.charCodeAt(el)?(r="{",el++):(r=s,0===ed&&eb(R)),r!==s)if((n=eC())!==s){for(o=[],i=eL();i!==s;)o.push(i),i=eL();if(o!==s)if("TO"===e.substr(el,2)?(i="TO",el+=2):(i=s,0===ed&&eb(Z)),i!==s){if(a=[],(u=eL())!==s)for(;u!==s;)a.push(u),u=eL();else a=s;a!==s&&(u=eC())!==s&&(93===e.charCodeAt(el)?(l="]",el++):(l=s,0===ed&&eb(q)),l!==s)?(ec=t,t=r={term_min:n,term_max:u,inclusive:"right"}):(el=t,t=s)}else el=t,t=s;else el=t,t=s}else el=t,t=s;else el=t,t=s}}return t}())!==s)?(ec=i,l=a,(c=u).field=null==l||""==l.label?"":l.label,c.fieldLocation=null==l||""==l.label?null:l.location,i=a=c):(el=i,i=s),i===s&&((i=el,(a=eO())!==s&&(u=ex())!==s)?(ec=i,p=a,(f=u).field=p.label,f.fieldLocation=p.location,i=a=f):(el=i,i=s),i===s&&(i=el,(a=eO())===s&&(a=null),a!==s&&(u=function(){var t,r,n,o,i,a,u,l,c,p,f,h,d,y;if(t=el,(r=eq())===s&&(r=null),r!==s)if((n=function(){var t,r,n,o;if(t=el,34===e.charCodeAt(el)?(r='"',el++):(r=s,0===ed&&eb(P)),r!==s){for(n=[],o=eE();o!==s;)n.push(o),o=eE();n!==s&&(34===e.charCodeAt(el)?(o='"',el++):(o=s,0===ed&&eb(P)),o!==s)?(ec=t,t=r=n.join("")):(el=t,t=s)}else el=t,t=s;return t}())!==s){if((l=el,126===e.charCodeAt(el)?(c="~",el++):(c=s,0===ed&&eb(W)),c!==s&&(p=eR())!==s)?(ec=l,l=c=p):(el=l,l=s),(o=l)===s&&(o=null),o!==s)if((i=eN())===s&&(i=null),i!==s){for(a=[],u=eL();u!==s;)a.push(u),u=eL();a!==s?(ec=t,t=r=g(r,n,o,i)):(el=t,t=s)}else el=t,t=s;else el=t,t=s}else el=t,t=s;else el=t,t=s;if(t===s)if(t=el,(r=eq())===s&&(r=null),r!==s)if((n=eP())!==s){if((f=el,126===e.charCodeAt(el)?(h="~",el++):(h=s,0===ed&&eb(W)),h!==s&&((d=eT())===s&&(d=null),d!==s))?(ec=f,f=h=""==(y=d)||null==y?.5:y):(el=f,f=s),(o=f)===s&&(o=null),o!==s)if((i=eN())===s&&(i=null),i!==s){for(a=[],u=eL();u!==s;)a.push(u),u=eL();a!==s?(ec=t,t=r=b(r,n,o,i)):(el=t,t=s)}else el=t,t=s;else el=t,t=s}else el=t,t=s;else el=t,t=s;return t}())!==s?(ec=i,i=a=y(a,u)):(el=i,i=s))),(r=i)!==s){for(n=[],o=eL();o!==s;)n.push(o),o=eL();n!==s?(ec=t,t=r):(el=t,t=s)}else el=t,t=s;return t===s&&(t=ex()),t}function ex(){var t,r,n,o,i,a,u,l;if(t=el,40===e.charCodeAt(el)?(r="(",el++):(r=s,0===ed&&eb(h)),r!==s){for(n=[],o=eL();o!==s;)n.push(o),o=eL();if(n!==s){if(o=[],(i=e_())!==s)for(;i!==s;)o.push(i),i=e_();else o=s;if(o!==s)if(41===e.charCodeAt(el)?(i=")",el++):(i=s,0===ed&&eb(d)),i!==s){for(a=[],u=eL();u!==s;)a.push(u),u=eL();a!==s?(ec=t,(l=o)[0].parenthesized=!0,t=r=l[0]):(el=t,t=s)}else el=t,t=s;else el=t,t=s}else el=t,t=s}else el=t,t=s;return t}function eO(){var t,r,n,o,i,a;if(t=el,(r=eP())!==s)if(v.test(e.charAt(el))?(n=e.charAt(el),el++):(n=s,0===ed&&eb(m)),n!==s){for(o=[],i=eL();i!==s;)o.push(i),i=eL();o!==s?(ec=t,t=r={label:(a=r).label,location:a.location}):(el=t,t=s)}else el=t,t=s;else el=t,t=s;return t}function ej(){var t,r,n;return t=el,92===e.charCodeAt(el)?(r="\\",el++):(r=s,0===ed&&eb(w)),r!==s&&(n=ek())!==s?(ec=t,t=r=_(n)):(el=t,t=s),t===s&&(46===e.charCodeAt(el)?(t=".",el++):(t=s,0===ed&&eb(S)),t===s&&(x.test(e.charAt(el))?(t=e.charAt(el),el++):(t=s,0===ed&&eb(O)))),t}function eC(){var e,t,r;if(e=el,t=[],(r=ej())!==s)for(;r!==s;)t.push(r),r=ej();else t=s;return t!==s&&(ec=e,t=t.join("")),t}function eP(){var e,t,r;if(e=el,t=[],(r=eA())!==s)for(;r!==s;)t.push(r),r=eA();else t=s;return t!==s&&(ec=e,t={label:t.join(""),location:eg(ec,el)}),t}function eA(){var t,r,n;return t=el,92===e.charCodeAt(el)?(r="\\",el++):(r=s,0===ed&&eb(w)),r!==s&&(n=ek())!==s?(ec=t,t=r=_(n)):(el=t,t=s),t===s&&(46===e.charCodeAt(el)?(t=".",el++):(t=s,0===ed&&eb(S)),t===s&&(j.test(e.charAt(el))?(t=e.charAt(el),el++):(t=s,0===ed&&eb(C)))),t}function eE(){var t,r,n;return(t=el,r=el,ed++,34===e.charCodeAt(el)?(n='"',el++):(n=s,0===ed&&eb(P)),n===s&&(92===e.charCodeAt(el)?(n="\\",el++):(n=s,0===ed&&eb(w))),ed--,n===s?r=void 0:(el=r,r=s),r!==s&&(e.length>el?(n=e.charAt(el),el++):(n=s,0===ed&&eb(E)),n!==s))?(ec=t,t=r=n):(el=t,t=s),t===s&&(t=el,92===e.charCodeAt(el)?(r="\\",el++):(r=s,0===ed&&eb(w)),r!==s&&(n=ek())!==s?(ec=t,t=r=_(n)):(el=t,t=s)),t}function ek(){var t;return 43===e.charCodeAt(el)?(t="+",el++):(t=s,0===ed&&eb(k)),t===s&&(45===e.charCodeAt(el)?(t="-",el++):(t=s,0===ed&&eb(N)),t===s&&(33===e.charCodeAt(el)?(t="!",el++):(t=s,0===ed&&eb(T)),t===s&&(40===e.charCodeAt(el)?(t="(",el++):(t=s,0===ed&&eb(h)),t===s&&(41===e.charCodeAt(el)?(t=")",el++):(t=s,0===ed&&eb(d)),t===s&&(123===e.charCodeAt(el)?(t="{",el++):(t=s,0===ed&&eb(R)),t===s&&(125===e.charCodeAt(el)?(t="}",el++):(t=s,0===ed&&eb(I)),t===s&&(91===e.charCodeAt(el)?(t="[",el++):(t=s,0===ed&&eb(M)),t===s&&(93===e.charCodeAt(el)?(t="]",el++):(t=s,0===ed&&eb(q)),t===s&&(94===e.charCodeAt(el)?(t="^",el++):(t=s,0===ed&&eb(L)),t===s&&(34===e.charCodeAt(el)?(t='"',el++):(t=s,0===ed&&eb(P)),t===s&&(63===e.charCodeAt(el)?(t="?",el++):(t=s,0===ed&&eb(D)),t===s&&(58===e.charCodeAt(el)?(t=":",el++):(t=s,0===ed&&eb(U)),t===s&&(92===e.charCodeAt(el)?(t="\\",el++):(t=s,0===ed&&eb(w)),t===s&&(38===e.charCodeAt(el)?(t="&",el++):(t=s,0===ed&&eb(F)),t===s&&(124===e.charCodeAt(el)?(t="|",el++):(t=s,0===ed&&eb(J)),t===s&&(39===e.charCodeAt(el)?(t="'",el++):(t=s,0===ed&&eb($)),t===s&&(47===e.charCodeAt(el)?(t="/",el++):(t=s,0===ed&&eb(A)),t===s&&(126===e.charCodeAt(el)?(t="~",el++):(t=s,0===ed&&eb(W)),t===s&&(42===e.charCodeAt(el)?(t="*",el++):(t=s,0===ed&&eb(B)),t===s&&(32===e.charCodeAt(el)?(t=" ",el++):(t=s,0===ed&&eb(H)))))))))))))))))))))),t}function eN(){var t,r,n,o;if(t=el,94===e.charCodeAt(el)?(r="^",el++):(r=s,0===ed&&eb(L)),r!==s){if((o=eT())===s&&(o=eR()),(n=o)!==s)ec=t,t=r=n;else el=t,t=s}else el=t,t=s;return t}function eT(){var t,r,n,o;if(t=el,"0."===e.substr(el,2)?(r="0.",el+=2):(r=s,0===ed&&eb(z)),r!==s){if(n=[],V.test(e.charAt(el))?(o=e.charAt(el),el++):(o=s,0===ed&&eb(Q)),o!==s)for(;o!==s;)n.push(o),V.test(e.charAt(el))?(o=e.charAt(el),el++):(o=s,0===ed&&eb(Q));else n=s;n!==s?(ec=t,t=r=parseFloat("0."+n.join(""))):(el=t,t=s)}else el=t,t=s;return t}function eR(){var t,r,n;if(t=el,r=[],V.test(e.charAt(el))?(n=e.charAt(el),el++):(n=s,0===ed&&eb(Q)),n!==s)for(;n!==s;)r.push(n),V.test(e.charAt(el))?(n=e.charAt(el),el++):(n=s,0===ed&&eb(Q));else r=s;return r!==s&&(ec=t,r=parseInt(r.join(""))),r}function eI(){var e,t,r,n,o;for(e=el,t=[],r=eL();r!==s;)t.push(r),r=eL();if(t!==s)if((r=eM())!==s){if(n=[],(o=eL())!==s)for(;o!==s;)n.push(o),o=eL();else n=s;n!==s?(ec=e,e=t=G(r)):(el=e,e=s)}else el=e,e=s;else el=e,e=s;if(e===s){for(e=el,t=[],r=eL();r!==s;)t.push(r),r=eL();t!==s&&(r=eM())!==s&&(n=eD())!==s?(ec=e,e=t=G(r)):(el=e,e=s)}return e}function eM(){var t;return e.substr(el,6)===Y?(t=Y,el+=6):(t=s,0===ed&&eb(K)),t===s&&(e.substr(el,7)===X?(t=X,el+=7):(t=s,0===ed&&eb(ee)),t===s&&("OR"===e.substr(el,2)?(t="OR",el+=2):(t=s,0===ed&&eb(et)),t===s&&("AND"===e.substr(el,3)?(t="AND",el+=3):(t=s,0===ed&&eb(er)),t===s&&("NOT"===e.substr(el,3)?(t="NOT",el+=3):(t=s,0===ed&&eb(en)),t===s&&("||"===e.substr(el,2)?(t="||",el+=2):(t=s,0===ed&&eb(eo)),t===s&&("&&"===e.substr(el,2)?(t="&&",el+=2):(t=s,0===ed&&eb(ei)))))))),t}function eq(){var t,r,n,o;for(t=el,r=[],n=eL();n!==s;)r.push(n),n=eL();return r!==s&&(43===e.charCodeAt(el)?(o="+",el++):(o=s,0===ed&&eb(k)),o===s&&(45===e.charCodeAt(el)?(o="-",el++):(o=s,0===ed&&eb(N)),o===s&&(33===e.charCodeAt(el)?(o="!",el++):(o=s,0===ed&&eb(T)))),(n=o)!==s)?(ec=t,t=r=G(n)):(el=t,t=s),t}function eL(){var t,r;if(ed++,t=[],es.test(e.charAt(el))?(r=e.charAt(el),el++):(r=s,0===ed&&eb(eu)),r!==s)for(;r!==s;)t.push(r),es.test(e.charAt(el))?(r=e.charAt(el),el++):(r=s,0===ed&&eb(eu));else t=s;return ed--,t===s&&(r=s,0===ed&&eb(ea)),t}function eD(){var t,r;return t=el,ed++,e.length>el?(r=e.charAt(el),el++):(r=s,0===ed&&eb(E)),ed--,r===s?t=void 0:(el=t,t=s),t}if((a=l())!==s&&el===e.length)return a;throw a!==s&&el{e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},89766:function(e){var t;t=function(){function e(t,r,n){return this.id=++e.highestId,this.name=t,this.symbols=r,this.postprocess=n,this}function t(e,t,r,n){this.rule=e,this.dot=t,this.reference=r,this.data=[],this.wantedBy=n,this.isComplete=this.dot===e.symbols.length}function r(e,t){this.grammar=e,this.index=t,this.states=[],this.wants={},this.scannable=[],this.completed={}}function n(e,t){this.rules=e,this.start=t||this.rules[0].name;var r=this.byName={};this.rules.forEach(function(e){r.hasOwnProperty(e.name)||(r[e.name]=[]),r[e.name].push(e)})}function o(){this.reset("")}function i(e,t,i){if(e instanceof n)var a=e,i=t;else var a=n.fromCompiled(e,t);for(var s in this.grammar=a,this.options={keepHistory:!1,lexer:a.lexer||new o},i||{})this.options[s]=i[s];this.lexer=this.options.lexer,this.lexerState=void 0;var u=new r(a,0);this.table=[u],u.wants[a.start]=[],u.predict(a.start),u.process(),this.current=0}function a(e){var t=typeof e;if("string"===t)return e;if("object"===t)if(e.literal)return JSON.stringify(e.literal);else if(e instanceof RegExp)return e.toString();else if(e.type)return"%"+e.type;else if(e.test)return"<"+String(e.test)+">";else throw Error("Unknown symbol type: "+e)}return e.highestId=0,e.prototype.toString=function(e){var t=void 0===e?this.symbols.map(a).join(" "):this.symbols.slice(0,e).map(a).join(" ")+" ● "+this.symbols.slice(e).map(a).join(" ");return this.name+" → "+t},t.prototype.toString=function(){return"{"+this.rule.toString(this.dot)+"}, from: "+(this.reference||0)},t.prototype.nextState=function(e){var r=new t(this.rule,this.dot+1,this.reference,this.wantedBy);return r.left=this,r.right=e,r.isComplete&&(r.data=r.build(),r.right=void 0),r},t.prototype.build=function(){var e=[],t=this;do e.push(t.right.data),t=t.left;while(t.left);return e.reverse(),e},t.prototype.finish=function(){this.rule.postprocess&&(this.data=this.rule.postprocess(this.data,this.reference,i.fail))},r.prototype.process=function(e){for(var t=this.states,r=this.wants,n=this.completed,o=0;o0&&t.push(" ^ "+n+" more lines identical to this"),n=0,t.push(" "+a)),r=a}},i.prototype.getSymbolDisplay=function(e){var t=e,r=typeof t;if("string"===r)return t;if("object"===r)if(t.literal)return JSON.stringify(t.literal);else if(t instanceof RegExp)return"character matching "+t;else if(t.type)return t.type+" token";else if(t.test)return"token matching "+String(t.test);else throw Error("Unknown symbol type: "+t)},i.prototype.buildFirstStateStack=function(e,t){if(-1!==t.indexOf(e))return null;if(0===e.wantedBy.length)return[e];var r=e.wantedBy[0],n=[e].concat(t),o=this.buildFirstStateStack(r,n);return null===o?null:[e].concat(o)},i.prototype.save=function(){var e=this.table[this.current];return e.lexerState=this.lexerState,e},i.prototype.restore=function(e){var t=e.index;this.current=t,this.table[t]=e,this.table.splice(t+1),this.lexerState=e.lexerState,this.results=this.finish()},i.prototype.rewind=function(e){if(!this.options.keepHistory)throw Error("set option `keepHistory` to enable rewinding");this.restore(this.table[e])},i.prototype.finish=function(){var e=[],t=this.grammar.start;return this.table[this.table.length-1].states.forEach(function(r){r.rule.name===t&&r.dot===r.rule.symbols.length&&0===r.reference&&r.data!==i.fail&&e.push(r)}),e.map(function(e){return e.data})},{Parser:i,Grammar:n,Rule:e}},e.exports?e.exports=t():this.nearley=t()},90327:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.StreamableFormats=t.SupportedRawFormats=t.SupportedJSONFormats=t.SingleDocumentJSONFormats=t.RecordsJSONFormats=t.StreamableJSONFormats=void 0,t.isNotStreamableJSONFamily=function(e){return t.SingleDocumentJSONFormats.includes(e)||t.RecordsJSONFormats.includes(e)},t.isStreamableJSONFamily=function(e){return t.StreamableJSONFormats.includes(e)},t.isSupportedRawFormat=function(e){return t.SupportedRawFormats.includes(e)},t.validateStreamFormat=function(e){if(!t.StreamableFormats.includes(e))throw Error(`${e} format is not streamable. Streamable formats: ${t.StreamableFormats.join(",")}`);return!0},t.encodeJSON=function(e,r){if(t.SupportedJSONFormats.includes(r))return JSON.stringify(e)+"\n";throw Error(`The client does not support JSON encoding in [${r}] format.`)},t.StreamableJSONFormats=["JSONEachRow","JSONStringsEachRow","JSONCompactEachRow","JSONCompactStringsEachRow","JSONCompactEachRowWithNames","JSONCompactEachRowWithNamesAndTypes","JSONCompactStringsEachRowWithNames","JSONCompactStringsEachRowWithNamesAndTypes","JSONEachRowWithProgress"],t.RecordsJSONFormats=["JSONObjectEachRow"],t.SingleDocumentJSONFormats=["JSON","JSONStrings","JSONCompact","JSONCompactStrings","JSONColumnsWithMetadata"],t.SupportedJSONFormats=[...t.RecordsJSONFormats,...t.SingleDocumentJSONFormats,...t.StreamableJSONFormats],t.SupportedRawFormats=["CSV","CSVWithNames","CSVWithNamesAndTypes","TabSeparated","TabSeparatedRaw","TabSeparatedWithNames","TabSeparatedWithNamesAndTypes","CustomSeparated","CustomSeparatedWithNames","CustomSeparatedWithNamesAndTypes","Parquet"],t.StreamableFormats=[...t.StreamableJSONFormats,...t.SupportedRawFormats]},91293:(e,t,r)=>{"use strict";function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.CopyToClipboard=void 0;var o=s(r(55729)),i=s(r(54348)),a=["text","onCopy","options","children"];function s(e){return e&&e.__esModule?e:{default:e}}function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function l(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,a),n=o.default.Children.only(t);return o.default.cloneElement(n,l(l({},r),{},{onClick:this.onClick}))}}],function(e,t){for(var r=0;r{var n=r(23356),o=Object.create;e.exports=function(){function e(){}return function(t){if(!n(t))return{};if(o)return o(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}()},91544:e=>{e.exports=Array.isArray},91985:function(e){var t,r,n;t=this&&this.define,(n=(r={version:"2.14.4",areas:{},apis:{},nsdelim:".",inherit:function(e,t){for(var r in e)t.hasOwnProperty(r)||Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(e,r));return t},stringify:function(e,t){return void 0===e||"function"==typeof e?e+"":JSON.stringify(e,t||r.replace)},parse:function(e,t){try{return JSON.parse(e,t||r.revive)}catch(t){return e}},fn:function(e,t){for(var n in r.storeAPI[e]=t,r.apis)r.apis[n][e]=t},get:function(e,t){return e.getItem(t)},set:function(e,t,r){e.setItem(t,r)},remove:function(e,t){e.removeItem(t)},key:function(e,t){return e.key(t)},length:function(e){return e.length},clear:function(e){e.clear()},Store:function(e,t,n){var o=r.inherit(r.storeAPI,function(e,t,r){return 0==arguments.length?o.getAll():"function"==typeof t?o.transact(e,t,r):void 0!==t?o.set(e,t,r):"string"==typeof e||"number"==typeof e?o.get(e):"function"==typeof e?o.each(e):e?o.setAll(e,t):o.clear()});o._id=e;try{var i="__store2_test";t.setItem(i,"ok"),o._area=t,t.removeItem(i)}catch(e){o._area=r.storage("fake")}return o._ns=n||"",r.areas[e]||(r.areas[e]=o._area),r.apis[o._ns+o._id]||(r.apis[o._ns+o._id]=o),o},storeAPI:{area:function(e,t){var n=this[e];return n&&n.area||(n=r.Store(e,t,this._ns),this[e]||(this[e]=n)),n},namespace:function(e,t,n){if(n=n||this._delim||r.nsdelim,!e)return this._ns?this._ns.substring(0,this._ns.length-n.length):"";var o=this[e];if((!o||!o.namespace)&&((o=r.Store(this._id,this._area,this._ns+e+n))._delim=n,this[e]||(this[e]=o),!t))for(var i in r.areas)o.area(i,r.areas[i]);return o},isFake:function(e){return e?(this._real=this._area,this._area=r.storage("fake")):!1===e&&(this._area=this._real||this._area),"fake"===this._area.name},toString:function(){return"store"+(this._ns?"."+this.namespace():"")+"["+this._id+"]"},has:function(e){return this._area.has?this._area.has(this._in(e)):this._in(e)in this._area},size:function(){return this.keys().length},each:function(e,t){for(var n=0,o=r.length(this._area);nr.length(this._area)&&(o--,n--)}return t||this},keys:function(e){return this.each(function(e,t,r){r.push(e)},e||[])},get:function(e,t){var n,o=r.get(this._area,this._in(e));return"function"==typeof t&&(n=t,t=null),null!==o?r.parse(o,n):null!=t?t:o},getAll:function(e){return this.each(function(e,t,r){r[e]=t},e||{})},transact:function(e,t,r){var n=this.get(e,r),o=t(n);return this.set(e,void 0===o?n:o),this},set:function(e,t,n){var o,i=this.get(e);return null!=i&&!1===n?t:("function"==typeof n&&(o=n,n=void 0),r.set(this._area,this._in(e),r.stringify(t,o),n)||i)},setAll:function(e,t){var r,n;for(var o in e)n=e[o],this.set(o,n,t)!==n&&(r=!0);return r},add:function(e,t,n){var o=this.get(e);if(o instanceof Array)t=o.concat(t);else if(null!==o){var i=typeof o;if(i===typeof t&&"object"===i){for(var a in t)o[a]=t[a];t=o}else t=o+t}return r.set(this._area,this._in(e),r.stringify(t,n)),t},remove:function(e,t){var n=this.get(e,t);return r.remove(this._area,this._in(e)),n},clear:function(){return this._ns?this.each(function(e){r.remove(this._area,this._in(e))},1):r.clear(this._area),this},clearAll:function(){var e=this._area;for(var t in r.areas)r.areas.hasOwnProperty(t)&&(this._area=r.areas[t],this.clear());return this._area=e,this},_in:function(e){return"string"!=typeof e&&(e=r.stringify(e)),this._ns?this._ns+e:e},_out:function(e){return this._ns?e&&0===e.indexOf(this._ns)?e.substring(this._ns.length):void 0:e}},storage:function(e){return r.inherit(r.storageAPI,{items:{},name:e})},storageAPI:{length:0,has:function(e){return this.items.hasOwnProperty(e)},key:function(e){var t=0;for(var r in this.items)if(this.has(r)&&e===t++)return r},setItem:function(e,t){!this.has(e)&&this.length++,this.items[e]=t},removeItem:function(e){this.has(e)&&(delete this.items[e],this.length--)},getItem:function(e){return this.has(e)?this.items[e]:null},clear:function(){for(var e in this.items)this.removeItem(e)}}}).Store("local",function(){try{return localStorage}catch(e){}}())).local=n,n._=r,n.area("session",function(){try{return sessionStorage}catch(e){}}()),n.area("page",r.storage("page")),"function"==typeof t&&void 0!==t.amd?t("store2",[],function(){return n}):e.exports?e.exports=n:(this.store&&(r.conflict=this.store),this.store=n)},92190:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WebConnection=void 0;let n=r(7117),o=r(83374);class i{constructor(e){if(Object.defineProperty(this,"params",{enumerable:!0,configurable:!0,writable:!0,value:e}),Object.defineProperty(this,"defaultAuthHeader",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),"JWT"===e.auth.type)this.defaultAuthHeader=`Bearer ${e.auth.access_token}`;else if("Credentials"===e.auth.type)this.defaultAuthHeader=`Basic ${btoa(`${e.auth.username}:${e.auth.password}`)}`;else throw Error(`Unknown auth type: ${e.auth.type}`)}async query(e){let t=a(e.query_id),r=(0,n.withHttpSettings)(e.clickhouse_settings,this.params.compression.decompress_response),o=(0,n.toSearchParams)({database:this.params.database,clickhouse_settings:r,query_params:e.query_params,session_id:e.session_id,role:e.role,query_id:t}),i=await this.request({body:e.query,params:e,searchParams:o});return{query_id:t,stream:i.body||new ReadableStream,response_headers:s(i)}}async exec(e){let t=await this.runExec(e);return{query_id:t.query_id,stream:t.stream||new ReadableStream,response_headers:t.response_headers}}async command(e){let{stream:t,query_id:r,response_headers:n}=await this.runExec(e);return null!==t&&await t.cancel(),{query_id:r,response_headers:n}}async insert(e){let t=a(e.query_id),r=(0,n.toSearchParams)({database:this.params.database,clickhouse_settings:e.clickhouse_settings,query_params:e.query_params,query:e.query,session_id:e.session_id,role:e.role,query_id:t}),o=await this.request({body:e.values,params:e,searchParams:r});return null!==o.body&&await o.text(),{query_id:t,response_headers:s(o)}}async ping(){try{let e=await this.request({body:null,searchParams:(0,n.toSearchParams)({database:void 0,query:"SELECT 'ping'",query_id:a(void 0)}),method:"GET"});return null!==e.body&&await e.body.cancel(),{success:!0}}catch(e){if(e instanceof Error)return{success:!1,error:e};throw e}}async close(){}async request({body:e,params:t,searchParams:r,pathname:i,method:a}){let s=(0,n.transformUrl)({url:this.params.url,pathname:i,searchParams:r}).toString(),u=new AbortController,l=!1,c=setTimeout(()=>{l=!0,u.abort()},this.params.request_timeout),p=!1;t?.abort_signal!==void 0&&(t.abort_signal.onabort=()=>{p=!0,u.abort()});try{let r=(0,n.withCompressionHeaders)({headers:this.defaultHeadersWithOverride(t),enable_request_compression:!1,enable_response_compression:this.params.compression.decompress_response}),i=this.params.fetch??fetch,l=await i(s,{body:e,headers:r,keepalive:this.params.keep_alive.enabled,method:a??"POST",signal:u.signal});if(clearTimeout(c),(0,n.isSuccessfulResponse)(l.status))return l;return Promise.reject((0,n.parseError)(await (0,o.getAsText)(l.body||new ReadableStream)))}catch(e){if(clearTimeout(c),p)return Promise.reject(Error("The user aborted a request."));if(l)return Promise.reject(Error("Timeout error."));if(e instanceof Error)return Promise.reject((0,n.parseError)(e));throw e}}async runExec(e){let t=a(e.query_id),r=(0,n.toSearchParams)({database:this.params.database,clickhouse_settings:e.clickhouse_settings,query_params:e.query_params,session_id:e.session_id,role:e.role,query_id:t}),o=await this.request({body:e.query,params:e,searchParams:r});return{stream:o.body,response_headers:s(o),query_id:t}}defaultHeadersWithOverride(e){let t;return t=(0,n.isJWTAuth)(e?.auth)?`Bearer ${e?.auth.access_token}`:(0,n.isCredentialsAuth)(e?.auth)?`Basic ${btoa(`${e?.auth.username}:${e?.auth.password}`)}`:this.defaultAuthHeader,{...this.params.http_headers??{},...e?.http_headers??{},Authorization:t}}}function a(e){return e||crypto.randomUUID()}function s(e){let t={};return e.headers.forEach((e,r)=>{t[r]=e}),t}t.WebConnection=i},92786:(e,t,r)=>{var n=r(36592);e.exports=function(e,t){var r=this.__data__,o=n(r,e);return o<0?(++this.size,r.push([e,t])):r[o][1]=t,this}},92789:(e,t,r)=>{"use strict";r.d(t,{c:()=>d});var n=r(6029);r(55729);var o=r(76),i=r(5618),a=r(66404),s=r(80616),u=r(37666),l=r(60481),c=r(43016),p={root:"m_3eebeb36",label:"m_9e365f20"};let f={orientation:"horizontal"},h=(0,i.V)((e,{color:t,variant:r,size:n})=>({root:{"--divider-color":t?(0,a.r)(t,e):void 0,"--divider-border-style":r,"--divider-size":(0,o.YC)(n,"divider-size")}})),d=(0,c.P9)((e,t)=>{let r=(0,s.Y)("Divider",f,e),{classNames:o,className:i,style:a,styles:c,unstyled:d,vars:y,color:v,orientation:m,label:g,labelPosition:b,mod:w,..._}=r,S=(0,u.I)({name:"Divider",classes:p,props:r,className:i,style:a,classNames:o,styles:c,unstyled:d,vars:y,varsResolver:h});return(0,n.jsx)(l.a,{ref:t,mod:[{orientation:m,"with-label":!!g},w],...S("root"),..._,role:"separator",children:g&&(0,n.jsx)(l.a,{component:"span",mod:{position:b},...S("label"),children:g})})});d.classes=p,d.displayName="@mantine/core/Divider"},92812:e=>{e.exports=function(e,t){return null!=e&&t in Object(e)}},93248:e=>{e.exports=function(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}},94061:(e,t,r)=>{e=r.nmd(e);var n,o=function(e){"use strict";var t=c(0x20000000000000),r="0123456789abcdefghijklmnopqrstuvwxyz",n="function"==typeof BigInt;function i(e,t,r,n){return void 0===e?i[0]:void 0!==t&&(10!=+t||r)?U(e,t,r,n):B(e)}function a(e,t){this.value=e,this.sign=t,this.isSmall=!1}function s(e){this.value=e,this.sign=e<0,this.isSmall=!0}function u(e){this.value=e}function l(e){return -0x20000000000000P(e,t))switch(r){case 0:return 0;case 1:return e[0];case 2:return e[0]+1e7*e[1];default:return e[0]+(e[1]+1e7*e[2])*1e7}return e}function f(e){for(var t=e.length;0===e[--t];);e.length=t+1}function h(e){for(var t=Array(e),r=-1;++r0?Math.floor(e):Math.ceil(e)}function y(e,t){var r,n,o=e.length,i=t.length,a=Array(o),s=0;for(n=0;n=1e7),a[n]=r-1e7*s;for(;n0&&a.push(s),a}function v(e,t){return e.length>=t.length?y(e,t):y(t,e)}function m(e,t){var r,n,o=e.length,i=Array(o);for(n=0;n0;)i[n++]=t%1e7,t=Math.floor(t/1e7);return i}function g(e,t){var r,n,o=e.length,i=t.length,a=Array(o),s=0;for(r=0;r0;)i[n++]=a%1e7,a=Math.floor(a/1e7);return i}function S(e,t){for(var r=[];t-- >0;)r.push(0);return r.concat(e)}function x(e,t,r){return e<1e7?new a(_(t,e),r):new a(w(t,c(e)),r)}function O(e){var t,r,n,o,i=e.length,a=h(i+i);for(n=0;n=0;--r)n=d((i=1e7*o+e[r])/t),o=i-n*t,s[r]=0|n;return[s,0|o]}function C(e,t){var r,o,l=B(t);if(n)return[new u(e.value/l.value),new u(e.value%l.value)];var y=e.value,v=l.value;if(0===v)throw Error("Cannot divide by zero");if(e.isSmall)return l.isSmall?[new s(d(y/v)),new s(y%v)]:[i[0],e];if(l.isSmall){if(1===v)return[e,i[0]];if(-1==v)return[e.negate(),i[0]];var m=Math.abs(v);if(m<1e7){r=p((o=j(y,m))[0]);var b=o[1];return(e.sign&&(b=-b),"number"==typeof r)?(e.sign!==l.sign&&(r=-r),[new s(r),new s(b)]):[new a(r,e.sign!==l.sign),new s(b)]}v=c(m)}var w=P(y,v);if(-1===w)return[i[0],e];if(0===w)return[i[e.sign===l.sign?1:-1],i[0]];r=(o=y.length+v.length<=200?function(e,t){var r,n,o,i,a,s,u,l=e.length,c=t.length,f=h(t.length),d=t[c-1],y=Math.ceil(1e7/(2*d)),v=_(e,y),m=_(t,y);for(v.length<=l&&v.push(0),m.push(0),d=m[c-1],n=l-c;n>=0;n--){for(r=1e7-1,v[n+c]!==d&&(r=Math.floor((1e7*v[n+c]+v[n+c-1])/d)),o=0,i=0,s=m.length,a=0;aP(c,t)){l.push(0);continue}n=c.length,o=1e7*c[n-1]+c[n-2],i=1e7*t[u-1]+t[u-2],n>u&&(o=(o+1)*1e7),r=Math.ceil(o/i);do{if(0>=P(a=_(t,r),c))break;r--}while(r);l.push(r),c=g(c,a)}return l.reverse(),[p(l),p(c)]}(y,v))[0];var S=e.sign!==l.sign,x=o[1],O=e.sign;return"number"==typeof r?(S&&(r=-r),r=new s(r)):r=new a(r,S),"number"==typeof x?(O&&(x=-x),x=new s(x)):x=new a(x,O),[r,x]}function P(e,t){if(e.length!==t.length)return e.length>t.length?1:-1;for(var r=e.length-1;r>=0;r--)if(e[r]!==t[r])return e[r]>t[r]?1:-1;return 0}function A(e){var t=e.abs();return!t.isUnit()&&(!!(t.equals(2)||t.equals(3)||t.equals(5))||!(t.isEven()||t.isDivisibleBy(3)||t.isDivisibleBy(5))&&(!!t.lesser(49)||void 0))}function E(e,t){for(var r,n,i,a=e.prev(),s=a,u=0;s.isEven();)s=s.divide(2),u++;e:for(n=0;n=0?r=g(o,i):(r=g(i,o),t=!t),"number"==typeof(r=p(r)))?(t&&(r=-r),new s(r)):new a(r,t))},a.prototype.minus=a.prototype.subtract,s.prototype.subtract=function(e){var t=B(e),r=this.value;if(r<0!==t.sign)return this.add(t.negate());var n=t.value;return t.isSmall?new s(r-n):b(n,Math.abs(r),r>=0)},s.prototype.minus=s.prototype.subtract,u.prototype.subtract=function(e){return new u(this.value-B(e).value)},u.prototype.minus=u.prototype.subtract,a.prototype.negate=function(){return new a(this.value,!this.sign)},s.prototype.negate=function(){var e=this.sign,t=new s(-this.value);return t.sign=!e,t},u.prototype.negate=function(){return new u(-this.value)},a.prototype.abs=function(){return new a(this.value,!1)},s.prototype.abs=function(){return new s(Math.abs(this.value))},u.prototype.abs=function(){return new u(this.value>=0?this.value:-this.value)},a.prototype.multiply=function(e){var t,r,n,o=B(e),s=this.value,u=o.value,l=this.sign!==o.sign;if(o.isSmall){if(0===u)return i[0];if(1===u)return this;if(-1===u)return this.negate();if((n=Math.abs(u))<1e7)return new a(_(s,n),l);u=c(n)}return -.012*(t=s.length)-.012*(r=u.length)+15e-6*t*r>0?new a(function e(t,r){var n=Math.max(t.length,r.length);if(n<=30)return w(t,r);n=Math.ceil(n/2);var o=t.slice(n),i=t.slice(0,n),a=r.slice(n),s=r.slice(0,n),u=e(i,s),l=e(o,a),c=e(v(i,o),v(s,a)),p=v(v(u,S(g(g(c,u),l),n)),S(l,2*n));return f(p),p}(s,u),l):new a(w(s,u),l)},a.prototype.times=a.prototype.multiply,s.prototype._multiplyBySmall=function(e){return l(e.value*this.value)?new s(e.value*this.value):x(Math.abs(e.value),c(Math.abs(this.value)),this.sign!==e.sign)},a.prototype._multiplyBySmall=function(e){return 0===e.value?i[0]:1===e.value?this:-1===e.value?this.negate():x(Math.abs(e.value),this.value,this.sign!==e.sign)},s.prototype.multiply=function(e){return B(e)._multiplyBySmall(this)},s.prototype.times=s.prototype.multiply,u.prototype.multiply=function(e){return new u(this.value*B(e).value)},u.prototype.times=u.prototype.multiply,a.prototype.square=function(){return new a(O(this.value),!1)},s.prototype.square=function(){var e=this.value*this.value;return l(e)?new s(e):new a(O(c(Math.abs(this.value))),!1)},u.prototype.square=function(e){return new u(this.value*this.value)},a.prototype.divmod=function(e){var t=C(this,e);return{quotient:t[0],remainder:t[1]}},u.prototype.divmod=s.prototype.divmod=a.prototype.divmod,a.prototype.divide=function(e){return C(this,e)[0]},u.prototype.over=u.prototype.divide=function(e){return new u(this.value/B(e).value)},s.prototype.over=s.prototype.divide=a.prototype.over=a.prototype.divide,a.prototype.mod=function(e){return C(this,e)[1]},u.prototype.mod=u.prototype.remainder=function(e){return new u(this.value%B(e).value)},s.prototype.remainder=s.prototype.mod=a.prototype.remainder=a.prototype.mod,a.prototype.pow=function(e){var t,r,n,o=B(e),a=this.value,u=o.value;if(0===u)return i[1];if(0===a)return i[0];if(1===a)return i[1];if(-1===a)return o.isEven()?i[1]:i[-1];if(o.sign)return i[0];if(!o.isSmall)throw Error("The exponent "+o.toString()+" is too large.");if(this.isSmall&&l(t=Math.pow(a,u)))return new s(d(t));for(r=this,n=i[1];!0&u&&(n=n.times(r),--u),0!==u;)u/=2,r=r.square();return n},s.prototype.pow=a.prototype.pow,u.prototype.pow=function(e){var t=B(e),r=this.value,n=t.value,o=BigInt(0),a=BigInt(1),s=BigInt(2);if(n===o)return i[1];if(r===o)return i[0];if(r===a)return i[1];if(r===BigInt(-1))return t.isEven()?i[1]:i[-1];if(t.isNegative())return new u(o);for(var l=this,c=i[1];(n&a)===a&&(c=c.times(l),--n),n!==o;)n/=s,l=l.square();return c},a.prototype.modPow=function(e,t){if(e=B(e),(t=B(t)).isZero())throw Error("Cannot take modPow with modulus 0");var r=i[1],n=this.mod(t);for(e.isNegative()&&(e=e.multiply(i[-1]),n=n.modInv(t));e.isPositive();){if(n.isZero())return i[0];e.isOdd()&&(r=r.multiply(n).mod(t)),e=e.divide(2),n=n.square().mod(t)}return r},u.prototype.modPow=s.prototype.modPow=a.prototype.modPow,a.prototype.compareAbs=function(e){var t=B(e),r=this.value,n=t.value;return t.isSmall?1:P(r,n)},s.prototype.compareAbs=function(e){var t=B(e),r=Math.abs(this.value),n=t.value;return t.isSmall?r===(n=Math.abs(n))?0:r>n?1:-1:-1},u.prototype.compareAbs=function(e){var t=this.value,r=B(e).value;return(t=t>=0?t:-t)===(r=r>=0?r:-r)?0:t>r?1:-1},a.prototype.compare=function(e){if(e===1/0)return -1;if(e===-1/0)return 1;var t=B(e),r=this.value,n=t.value;return this.sign!==t.sign?t.sign?1:-1:t.isSmall?this.sign?-1:1:P(r,n)*(this.sign?-1:1)},a.prototype.compareTo=a.prototype.compare,s.prototype.compare=function(e){if(e===1/0)return -1;if(e===-1/0)return 1;var t=B(e),r=this.value,n=t.value;return t.isSmall?r==n?0:r>n?1:-1:r<0!==t.sign?r<0?-1:1:r<0?1:-1},s.prototype.compareTo=s.prototype.compare,u.prototype.compare=function(e){if(e===1/0)return -1;if(e===-1/0)return 1;var t=this.value,r=B(e).value;return t===r?0:t>r?1:-1},u.prototype.compareTo=u.prototype.compare,a.prototype.equals=function(e){return 0===this.compare(e)},u.prototype.eq=u.prototype.equals=s.prototype.eq=s.prototype.equals=a.prototype.eq=a.prototype.equals,a.prototype.notEquals=function(e){return 0!==this.compare(e)},u.prototype.neq=u.prototype.notEquals=s.prototype.neq=s.prototype.notEquals=a.prototype.neq=a.prototype.notEquals,a.prototype.greater=function(e){return this.compare(e)>0},u.prototype.gt=u.prototype.greater=s.prototype.gt=s.prototype.greater=a.prototype.gt=a.prototype.greater,a.prototype.lesser=function(e){return 0>this.compare(e)},u.prototype.lt=u.prototype.lesser=s.prototype.lt=s.prototype.lesser=a.prototype.lt=a.prototype.lesser,a.prototype.greaterOrEquals=function(e){return this.compare(e)>=0},u.prototype.geq=u.prototype.greaterOrEquals=s.prototype.geq=s.prototype.greaterOrEquals=a.prototype.geq=a.prototype.greaterOrEquals,a.prototype.lesserOrEquals=function(e){return 0>=this.compare(e)},u.prototype.leq=u.prototype.lesserOrEquals=s.prototype.leq=s.prototype.lesserOrEquals=a.prototype.leq=a.prototype.lesserOrEquals,a.prototype.isEven=function(){return(1&this.value[0])==0},s.prototype.isEven=function(){return(1&this.value)==0},u.prototype.isEven=function(){return(this.value&BigInt(1))===BigInt(0)},a.prototype.isOdd=function(){return(1&this.value[0])==1},s.prototype.isOdd=function(){return(1&this.value)==1},u.prototype.isOdd=function(){return(this.value&BigInt(1))===BigInt(1)},a.prototype.isPositive=function(){return!this.sign},s.prototype.isPositive=function(){return this.value>0},u.prototype.isPositive=s.prototype.isPositive,a.prototype.isNegative=function(){return this.sign},s.prototype.isNegative=function(){return this.value<0},u.prototype.isNegative=s.prototype.isNegative,a.prototype.isUnit=function(){return!1},s.prototype.isUnit=function(){return 1===Math.abs(this.value)},u.prototype.isUnit=function(){return this.abs().value===BigInt(1)},a.prototype.isZero=function(){return!1},s.prototype.isZero=function(){return 0===this.value},u.prototype.isZero=function(){return this.value===BigInt(0)},a.prototype.isDivisibleBy=function(e){var t=B(e);return!t.isZero()&&(!!t.isUnit()||(0===t.compareAbs(2)?this.isEven():this.mod(t).isZero()))},u.prototype.isDivisibleBy=s.prototype.isDivisibleBy=a.prototype.isDivisibleBy,a.prototype.isPrime=function(e){var t=A(this);if(void 0!==t)return t;var r=this.abs(),n=r.bitLength();if(n<=64)return E(r,[2,3,5,7,11,13,17,19,23,29,31,37]);for(var i=Math.log(2)*n.toJSNumber(),a=Math.ceil(!0===e?2*Math.pow(i,2):i),s=[],u=0;u-0x20000000000000?new s(e-1):new a(t,!0)},u.prototype.prev=function(){return new u(this.value-BigInt(1))};for(var k=[1];2*k[k.length-1]<=1e7;)k.push(2*k[k.length-1]);var N=k.length,T=k[N-1];function R(e){return 1e7>=Math.abs(e)}function I(e,t,r){t=B(t);for(var n=e.isNegative(),i=t.isNegative(),a=n?e.not():e,s=i?t.not():t,u=0,l=0,c=null,p=null,f=[];!a.isZero()||!s.isZero();)u=(c=C(a,T))[1].toJSNumber(),n&&(u=T-1-u),l=(p=C(s,T))[1].toJSNumber(),i&&(l=T-1-l),a=c[0],s=p[0],f.push(r(u,l));for(var h=0!==r(+!!n,+!!i)?o(-1):o(0),d=f.length-1;d>=0;d-=1)h=h.multiply(T).add(o(f[d]));return h}a.prototype.shiftLeft=function(e){var t=B(e).toJSNumber();if(!R(t))throw Error(String(t)+" is too large for shifting.");if(t<0)return this.shiftRight(-t);var r=this;if(r.isZero())return r;for(;t>=N;)r=r.multiply(T),t-=N-1;return r.multiply(k[t])},u.prototype.shiftLeft=s.prototype.shiftLeft=a.prototype.shiftLeft,a.prototype.shiftRight=function(e){var t,r=B(e).toJSNumber();if(!R(r))throw Error(String(r)+" is too large for shifting.");if(r<0)return this.shiftLeft(-r);for(var n=this;r>=N;){if(n.isZero()||n.isNegative()&&n.isUnit())return n;n=(t=C(n,T))[1].isNegative()?t[0].prev():t[0],r-=N-1}return(t=C(n,k[r]))[1].isNegative()?t[0].prev():t[0]},u.prototype.shiftRight=s.prototype.shiftRight=a.prototype.shiftRight,a.prototype.not=function(){return this.negate().prev()},u.prototype.not=s.prototype.not=a.prototype.not,a.prototype.and=function(e){return I(this,e,function(e,t){return e&t})},u.prototype.and=s.prototype.and=a.prototype.and,a.prototype.or=function(e){return I(this,e,function(e,t){return e|t})},u.prototype.or=s.prototype.or=a.prototype.or,a.prototype.xor=function(e){return I(this,e,function(e,t){return e^t})},u.prototype.xor=s.prototype.xor=a.prototype.xor;function M(e){var t=e.value,r="number"==typeof t?0x40000000|t:"bigint"==typeof t?t|BigInt(0x40000000):t[0]+1e7*t[1]|0x40004000;return r&-r}function q(e,t){return e=B(e),t=B(t),e.greater(t)?e:t}function L(e,t){return e=B(e),t=B(t),e.lesser(t)?e:t}function D(e,t){if(e=B(e).abs(),t=B(t).abs(),e.equals(t))return e;if(e.isZero())return t;if(t.isZero())return e;for(var r,n,o=i[1];e.isEven()&&t.isEven();)r=L(M(e),M(t)),e=e.divide(r),t=t.divide(r),o=o.multiply(r);for(;e.isEven();)e=e.divide(M(e));do{for(;t.isEven();)t=t.divide(M(t));e.greater(t)&&(n=t,t=e,e=n),t=t.subtract(e)}while(!t.isZero());return o.isUnit()?e:e.multiply(o)}a.prototype.bitLength=function(){var e=this;return(0>e.compareTo(o(0))&&(e=e.negate().subtract(o(1))),0===e.compareTo(o(0)))?o(0):o(function e(t,r){if(0>=r.compareTo(t)){var n=e(t,r.square(r)),i=n.p,a=n.e,s=i.multiply(r);return 0>=s.compareTo(t)?{p:s,e:2*a+1}:{p:i,e:2*a}}return{p:o(1),e:0}}(e,o(2)).e).add(o(1))},u.prototype.bitLength=s.prototype.bitLength=a.prototype.bitLength;var U=function(e,t,n,o){n=n||r,e=String(e),o||(e=e.toLowerCase(),n=n.toLowerCase());var i,a=e.length,s=Math.abs(t),u={};for(i=0;i=s){if("1"===l&&1===s)continue;throw Error(l+" is not a valid digit in base "+t+".")}}t=B(t);var c=[],p="-"===e[0];for(i=+!!p;i"!==e[i]&&i=0;n--)o=o.add(e[n].times(a)),a=a.times(t);return r?o.negate():o}function J(e,t){if((t=o(t)).isZero()){if(e.isZero())return{value:[0],isNegative:!1};throw Error("Cannot convert nonzero numbers to base 0.")}if(t.equals(-1)){if(e.isZero())return{value:[0],isNegative:!1};if(e.isNegative())return{value:[].concat.apply([],Array.apply(null,Array(-e.toJSNumber())).map(Array.prototype.valueOf,[1,0])),isNegative:!1};var r=Array.apply(null,Array(e.toJSNumber()-1)).map(Array.prototype.valueOf,[0,1]);return r.unshift([1]),{value:[].concat.apply([],r),isNegative:!1}}var n=!1;if(e.isNegative()&&t.isPositive()&&(n=!0,e=e.abs()),t.isUnit())return e.isZero()?{value:[0],isNegative:!1}:{value:Array.apply(null,Array(e.toJSNumber())).map(Number.prototype.valueOf,1),isNegative:n};for(var i,a=[],s=e;s.isNegative()||s.compareAbs(t)>=0;){s=(i=s.divmod(t)).quotient;var u=i.remainder;u.isNegative()&&(u=t.minus(u).abs(),s=s.next()),a.push(u.toJSNumber())}return a.push(s.toJSNumber()),{value:a.reverse(),isNegative:n}}function $(e,t,n){var o=J(e,t);return(o.isNegative?"-":"")+o.value.map(function(e){var t;return e<(t=(t=n)||r).length?t[e]:"<"+e+">"}).join("")}function W(e){if(l(+e)){var t=+e;if(t===d(t))return n?new u(BigInt(t)):new s(t);throw Error("Invalid integer: "+e)}var r="-"===e[0];r&&(e=e.slice(1));var o=e.split(/e/i);if(o.length>2)throw Error("Invalid integer: "+o.join("e"));if(2===o.length){var i=o[1];if("+"===i[0]&&(i=i.slice(1)),(i*=1)!==d(i)||!l(i))throw Error("Invalid integer: "+i+" is not a valid exponent.");var c=o[0],p=c.indexOf(".");if(p>=0&&(i-=c.length-p-1,c=c.slice(0,p)+c.slice(p+1)),i<0)throw Error("Cannot include negative exponent part for integers");c+=Array(i+1).join("0"),e=c}if(!/^([0-9][0-9]*)$/.test(e))throw Error("Invalid integer: "+e);if(n)return new u(BigInt(r?"-"+e:e));for(var h=[],y=e.length,v=y-7;y>0;)h.push(+e.slice(v,y)),(v-=7)<0&&(v=0),y-=7;return f(h),new a(h,r)}function B(e){if("number"==typeof e){if(n)return new u(BigInt(e));if(l(e)){if(e!==d(e))throw Error(e+" is not an integer.");return new s(e)}return W(e.toString())}return"string"==typeof e?W(e):"bigint"==typeof e?new u(e):e}a.prototype.toArray=function(e){return J(this,e)},s.prototype.toArray=function(e){return J(this,e)},u.prototype.toArray=function(e){return J(this,e)},a.prototype.toString=function(e,t){if(void 0===e&&(e=10),10!==e||t)return $(this,e,t);for(var r,n=this.value,o=n.length,i=String(n[--o]);--o>=0;)r=String(n[o]),i+="0000000".slice(r.length)+r;return(this.sign?"-":"")+i},s.prototype.toString=function(e,t){return(void 0===e&&(e=10),10!=e||t)?$(this,e,t):String(this.value)},u.prototype.toString=s.prototype.toString,u.prototype.toJSON=a.prototype.toJSON=s.prototype.toJSON=function(){return this.toString()},a.prototype.valueOf=function(){return parseInt(this.toString(),10)},a.prototype.toJSNumber=a.prototype.valueOf,s.prototype.valueOf=function(){return this.value},s.prototype.toJSNumber=s.prototype.valueOf,u.prototype.valueOf=u.prototype.toJSNumber=function(){return parseInt(this.toString(),10)};for(var H=0;H<1e3;H++)i[H]=B(H),H>0&&(i[-H]=B(-H));return i.one=i[1],i.zero=i[0],i.minusOne=i[-1],i.max=q,i.min=L,i.gcd=D,i.lcm=function(e,t){return e=B(e).abs(),t=B(t).abs(),e.divide(D(e,t)).multiply(t)},i.isInstance=function(e){return e instanceof a||e instanceof s||e instanceof u},i.randBetween=function(e,t,r){e=B(e);var n=r||Math.random,o=L(e,t=B(t)),a=q(e,t).subtract(o).add(1);if(a.isSmall)return o.add(Math.floor(n()*a));for(var s=J(a,1e7).value,u=[],l=!0,c=0;c{var n=r(620),o=r(4650),i=r(50874);e.exports=function(){this.size=0,this.__data__={hash:new n,map:new(i||o),string:new n}}},95345:(e,t,r)=>{var n=r(4650);e.exports=function(){this.__data__=new n,this.size=0}},97397:(e,t,r)=>{e.exports="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g},97722:e=>{e.exports=function(e,t){var r=-1,n=e.length;for(t||(t=Array(n));++r{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createClient=function(e){return new i({impl:o.WebImpl,...e||{}})};let n=r(7117),o=r(30110);class i extends n.ClickHouseClient{query(e){return super.query(e)}}},98499:(e,t,r)=>{var n=r(33573),o=r(23356);e.exports=function(e){if(!o(e))return!1;var t=n(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},99048: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""}},99469:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isProgressRow=function(e){return null!==e&&"object"==typeof e&&"progress"in e&&1===Object.keys(e).length},t.isRow=function(e){return null!==e&&"object"==typeof e&&"row"in e&&1===Object.keys(e).length},t.isException=function(e){return null!==e&&"object"==typeof e&&"exception"in e&&1===Object.keys(e).length}},99496:(e,t)=>{"use strict";async function r(e){await new Promise(t=>setTimeout(()=>{t(void 0)},e))}Object.defineProperty(t,"__esModule",{value:!0}),t.sleep=r}}]);
\ No newline at end of file
diff --git a/out/_next/static/chunks/8718-bf1c48cf4b5b7714.js b/out/_next/static/chunks/8718-bf1c48cf4b5b7714.js
new file mode 100644
index 0000000..6577de8
--- /dev/null
+++ b/out/_next/static/chunks/8718-bf1c48cf4b5b7714.js
@@ -0,0 +1 @@
+(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8718],{19336:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});var r=(0,n(41495).A)("outline","markdown","IconMarkdown",[["path",{d:"M3 5m0 2a2 2 0 0 1 2 -2h14a2 2 0 0 1 2 2v10a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2z",key:"svg-0"}],["path",{d:"M7 15v-6l2 2l2 -2v6",key:"svg-1"}],["path",{d:"M14 13l2 2l2 -2m-2 2v-6",key:"svg-2"}]])},20444: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.default=function(e,t){let n=null;if(!e||"string"!=typeof e)return n;let r=(0,i.default)(e),o="function"==typeof t;return r.forEach(e=>{if("declaration"!==e.type)return;let{property:r,value:i}=e;o?t(r,i,e):i&&((n=n||{})[r]=i)}),n};let i=r(n(47492))},27420:function(e,t,n){"use strict";var r=(this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}})(n(20444)),i=n(72756);function o(e,t){var n={};return e&&"string"==typeof e&&(0,r.default)(e,function(e,r){e&&r&&(n[(0,i.camelCase)(e,t)]=r)}),n}o.default=o,e.exports=o},28392:e=>{"use strict";var t=Object.prototype.hasOwnProperty,n=Object.prototype.toString,r=Object.defineProperty,i=Object.getOwnPropertyDescriptor,o=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===n.call(e)},l=function(e){if(!e||"[object Object]"!==n.call(e))return!1;var r,i=t.call(e,"constructor"),o=e.constructor&&e.constructor.prototype&&t.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!i&&!o)return!1;for(r in e);return void 0===r||t.call(e,r)},a=function(e,t){r&&"__proto__"===t.name?r(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},u=function(e,n){if("__proto__"===n){if(!t.call(e,n))return;else if(i)return i(e,n).value}return e[n]};e.exports=function e(){var t,n,r,i,s,c,f=arguments[0],p=1,d=arguments.length,h=!1;for("boolean"==typeof f&&(h=f,f=arguments[1]||{},p=2),(null==f||"object"!=typeof f&&"function"!=typeof f)&&(f={});p{"use strict";n.d(t,{A:()=>r});var r=(0,n(41495).A)("outline","chevron-left","IconChevronLeft",[["path",{d:"M15 6l-6 6l6 6",key:"svg-0"}]])},42604:(e,t,n)=>{"use strict";n.d(t,{oz:()=>nI});var r={};n.r(r),n.d(r,{boolean:()=>g,booleanish:()=>y,commaOrSpaceSeparated:()=>w,commaSeparated:()=>b,number:()=>x,overloadedBoolean:()=>v,spaceSeparated:()=>k});var i={};n.r(i),n.d(i,{attentionMarkers:()=>tO,contentInitial:()=>tb,disable:()=>tC,document:()=>tk,flow:()=>tS,flowInitial:()=>tw,insideSpan:()=>tP,string:()=>tA,text:()=>tE});let o=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,l=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,a={};function u(e,t){return((t||a).jsx?l:o).test(e)}let s=/[ \t\n\f\r]/g;function c(e){return""===e.replace(s,"")}class f{constructor(e,t,n){this.normal=t,this.property=e,n&&(this.space=n)}}function p(e,t){let n={},r={};for(let t of e)Object.assign(n,t.property),Object.assign(r,t.normal);return new f(n,r,t)}function d(e){return e.toLowerCase()}f.prototype.normal={},f.prototype.property={},f.prototype.space=void 0;class h{constructor(e,t){this.attribute=t,this.property=e}}h.prototype.attribute="",h.prototype.booleanish=!1,h.prototype.boolean=!1,h.prototype.commaOrSpaceSeparated=!1,h.prototype.commaSeparated=!1,h.prototype.defined=!1,h.prototype.mustUseProperty=!1,h.prototype.number=!1,h.prototype.overloadedBoolean=!1,h.prototype.property="",h.prototype.spaceSeparated=!1,h.prototype.space=void 0;let m=0,g=S(),y=S(),v=S(),x=S(),k=S(),b=S(),w=S();function S(){return 2**++m}let A=Object.keys(r);class E extends h{constructor(e,t,n,i){let o=-1;if(super(e,t),function(e,t,n){n&&(e[t]=n)}(this,"space",i),"number"==typeof n)for(;++o"role"===t?t:"aria-"+t.slice(4).toLowerCase()});function C(e,t){return t in e?e[t]:t}function T(e,t){return C(e,t.toLowerCase())}let I=P({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:b,acceptCharset:k,accessKey:k,action:null,allow:null,allowFullScreen:g,allowPaymentRequest:g,allowUserMedia:g,alt:null,as:null,async:g,autoCapitalize:null,autoComplete:k,autoFocus:g,autoPlay:g,blocking:k,capture:null,charSet:null,checked:g,cite:null,className:k,cols:x,colSpan:null,content:null,contentEditable:y,controls:g,controlsList:k,coords:x|b,crossOrigin:null,data:null,dateTime:null,decoding:null,default:g,defer:g,dir:null,dirName:null,disabled:g,download:v,draggable:y,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:g,formTarget:null,headers:k,height:x,hidden:v,high:x,href:null,hrefLang:null,htmlFor:k,httpEquiv:k,id:null,imageSizes:null,imageSrcSet:null,inert:g,inputMode:null,integrity:null,is:null,isMap:g,itemId:null,itemProp:k,itemRef:k,itemScope:g,itemType:k,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:g,low:x,manifest:null,max:null,maxLength:x,media:null,method:null,min:null,minLength:x,multiple:g,muted:g,name:null,nonce:null,noModule:g,noValidate:g,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:g,optimum:x,pattern:null,ping:k,placeholder:null,playsInline:g,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:g,referrerPolicy:null,rel:k,required:g,reversed:g,rows:x,rowSpan:x,sandbox:k,scope:null,scoped:g,seamless:g,selected:g,shadowRootClonable:g,shadowRootDelegatesFocus:g,shadowRootMode:null,shape:null,size:x,sizes:null,slot:null,span:x,spellCheck:y,src:null,srcDoc:null,srcLang:null,srcSet:null,start:x,step:null,style:null,tabIndex:x,target:null,title:null,translate:null,type:null,typeMustMatch:g,useMap:null,value:y,width:x,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:k,axis:null,background:null,bgColor:null,border:x,borderColor:null,bottomMargin:x,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:g,declare:g,event:null,face:null,frame:null,frameBorder:null,hSpace:x,leftMargin:x,link:null,longDesc:null,lowSrc:null,marginHeight:x,marginWidth:x,noResize:g,noHref:g,noShade:g,noWrap:g,object:null,profile:null,prompt:null,rev:null,rightMargin:x,rules:null,scheme:null,scrolling:y,standby:null,summary:null,text:null,topMargin:x,valueType:null,version:null,vAlign:null,vLink:null,vSpace:x,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:g,disableRemotePlayback:g,prefix:null,property:null,results:x,security:null,unselectable:null},space:"html",transform:T}),L=P({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:w,accentHeight:x,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:x,amplitude:x,arabicForm:null,ascent:x,attributeName:null,attributeType:null,azimuth:x,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:x,by:null,calcMode:null,capHeight:x,className:k,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:x,diffuseConstant:x,direction:null,display:null,dur:null,divisor:x,dominantBaseline:null,download:g,dx:null,dy:null,edgeMode:null,editable:null,elevation:x,enableBackground:null,end:null,event:null,exponent:x,externalResourcesRequired:null,fill:null,fillOpacity:x,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:b,g2:b,glyphName:b,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:x,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:x,horizOriginX:x,horizOriginY:x,id:null,ideographic:x,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:x,k:x,k1:x,k2:x,k3:x,k4:x,kernelMatrix:w,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:x,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:x,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:x,overlineThickness:x,paintOrder:null,panose1:null,path:null,pathLength:x,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:k,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:x,pointsAtY:x,pointsAtZ:x,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:w,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:w,rev:w,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:w,requiredFeatures:w,requiredFonts:w,requiredFormats:w,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:x,specularExponent:x,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:x,strikethroughThickness:x,string:null,stroke:null,strokeDashArray:w,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:x,strokeOpacity:x,strokeWidth:null,style:null,surfaceScale:x,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:w,tabIndex:x,tableValues:null,target:null,targetX:x,targetY:x,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:w,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:x,underlineThickness:x,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:x,values:null,vAlphabetic:x,vMathematical:x,vectorEffect:null,vHanging:x,vIdeographic:x,version:null,vertAdvY:x,vertOriginX:x,vertOriginY:x,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:x,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:C}),D=P({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform:(e,t)=>"xlink:"+t.slice(5).toLowerCase()}),j=P({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:T}),M=P({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase()}),R=p([O,I,D,j,M],"html"),z=p([O,L,D,j,M],"svg"),F=/[A-Z]/g,N=/-[a-z]/g,_=/^data[-\w.:]+$/i;function B(e){return"-"+e.toLowerCase()}function U(e){return e.charAt(1).toUpperCase()}let H={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"};var V=n(27420);let q=K("end"),W=K("start");function K(e){return function(t){let n=t&&t.position&&t.position[e]||{};if("number"==typeof n.line&&n.line>0&&"number"==typeof n.column&&n.column>0)return{line:n.line,column:n.column,offset:"number"==typeof n.offset&&n.offset>-1?n.offset:void 0}}}function J(e){return e&&"object"==typeof e?"position"in e||"type"in e?Q(e.position):"start"in e||"end"in e?Q(e):"line"in e||"column"in e?Z(e):"":""}function Z(e){return X(e&&e.line)+":"+X(e&&e.column)}function Q(e){return Z(e&&e.start)+"-"+Z(e&&e.end)}function X(e){return e&&"number"==typeof e?e:1}class $ extends Error{constructor(e,t,n){super(),"string"==typeof t&&(n=t,t=void 0);let r="",i={},o=!1;if(t&&(i="line"in t&&"column"in t||"start"in t&&"end"in t?{place:t}:"type"in t?{ancestors:[t],place:t.position}:{...t}),"string"==typeof e?r=e:!i.cause&&e&&(o=!0,r=e.message,i.cause=e),!i.ruleId&&!i.source&&"string"==typeof n){const e=n.indexOf(":");-1===e?i.ruleId=n:(i.source=n.slice(0,e),i.ruleId=n.slice(e+1))}if(!i.place&&i.ancestors&&i.ancestors){const e=i.ancestors[i.ancestors.length-1];e&&(i.place=e.position)}const l=i.place&&"start"in i.place?i.place.start:i.place;this.ancestors=i.ancestors||void 0,this.cause=i.cause||void 0,this.column=l?l.column:void 0,this.fatal=void 0,this.file="",this.message=r,this.line=l?l.line:void 0,this.name=J(i.place)||"1:1",this.place=i.place||void 0,this.reason=this.message,this.ruleId=i.ruleId||void 0,this.source=i.source||void 0,this.stack=o&&i.cause&&"string"==typeof i.cause.stack?i.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}$.prototype.file="",$.prototype.name="",$.prototype.reason="",$.prototype.message="",$.prototype.stack="",$.prototype.column=void 0,$.prototype.line=void 0,$.prototype.ancestors=void 0,$.prototype.cause=void 0,$.prototype.fatal=void 0,$.prototype.place=void 0,$.prototype.ruleId=void 0,$.prototype.source=void 0;let Y={}.hasOwnProperty,G=new Map,ee=/[A-Z]/g,et=new Set(["table","tbody","thead","tfoot","tr"]),en=new Set(["td","th"]),er="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function ei(e,t,n){var r,i,o,l,a,u,s,f,p;let m,g,y,v,x,k,b,w,S,A,P;return"element"===t.type?(r=e,i=t,o=n,g=m=r.schema,"svg"===i.tagName.toLowerCase()&&"html"===m.space&&(r.schema=z),r.ancestors.push(i),y=eu(r,i.tagName,!1),v=function(e,t){let n,r,i={};for(r in t.properties)if("children"!==r&&Y.call(t.properties,r)){let o=function(e,t,n){let r=function(e,t){let n=d(t),r=t,i=h;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&"data"===n.slice(0,4)&&_.test(t)){if("-"===t.charAt(4)){let e=t.slice(5).replace(N,U);r="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{let e=t.slice(4);if(!N.test(e)){let n=e.replace(F,B);"-"!==n.charAt(0)&&(n="-"+n),t="data"+n}}i=E}return new i(r,t)}(e.schema,t);if(!(null==n||"number"==typeof n&&Number.isNaN(n))){var i;let t;if(Array.isArray(n)&&(n=r.commaSeparated?(t={},(""===(i=n)[i.length-1]?[...i,""]:i).join((t.padRight?" ":"")+","+(!1===t.padLeft?"":" ")).trim()):n.join(" ").trim()),"style"===r.property){let t="object"==typeof n?n:function(e,t){try{return V(t,{reactCompat:!0})}catch(n){if(e.ignoreInvalidStyle)return{};let t=new $("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:n,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw t.file=e.filePath||void 0,t.url=er+"#cannot-parse-style-attribute",t}}(e,String(n));return"css"===e.stylePropertyNameCase&&(t=function(e){let t,n={};for(t in e)Y.call(e,t)&&(n[function(e){let t=e.replace(ee,ec);return"ms-"===t.slice(0,3)&&(t="-"+t),t}(t)]=e[t]);return n}(t)),["style",t]}return["react"===e.elementAttributeNameCase&&r.space?H[r.property]||r.property:r.attribute,n]}}(e,r,t.properties[r]);if(o){let[r,l]=o;e.tableCellAlignToStyle&&"align"===r&&"string"==typeof l&&en.has(t.tagName)?n=l:i[r]=l}}return n&&((i.style||(i.style={}))["css"===e.stylePropertyNameCase?"text-align":"textAlign"]=n),i}(r,i),x=ea(r,i),et.has(i.tagName)&&(x=x.filter(function(e){return"string"!=typeof e||!("object"==typeof e?"text"===e.type&&c(e.value):c(e))})),eo(r,v,y,i),el(v,x),r.ancestors.pop(),r.schema=m,r.create(i,y,v,o)):"mdxFlowExpression"===t.type||"mdxTextExpression"===t.type?function(e,t){if(t.data&&t.data.estree&&e.evaluater){let n=t.data.estree.body[0];return n.type,e.evaluater.evaluateExpression(n.expression)}es(e,t.position)}(e,t):"mdxJsxFlowElement"===t.type||"mdxJsxTextElement"===t.type?(l=e,a=t,u=n,b=k=l.schema,"svg"===a.name&&"html"===k.space&&(l.schema=z),l.ancestors.push(a),w=null===a.name?l.Fragment:eu(l,a.name,!0),S=function(e,t){let n={};for(let r of t.attributes)if("mdxJsxExpressionAttribute"===r.type)if(r.data&&r.data.estree&&e.evaluater){let t=r.data.estree.body[0];t.type;let i=t.expression;i.type;let o=i.properties[0];o.type,Object.assign(n,e.evaluater.evaluateExpression(o.argument))}else es(e,t.position);else{let i,o=r.name;if(r.value&&"object"==typeof r.value)if(r.value.data&&r.value.data.estree&&e.evaluater){let t=r.value.data.estree.body[0];t.type,i=e.evaluater.evaluateExpression(t.expression)}else es(e,t.position);else i=null===r.value||r.value;n[o]=i}return n}(l,a),A=ea(l,a),eo(l,S,w,a),el(S,A),l.ancestors.pop(),l.schema=k,l.create(a,w,S,u)):"mdxjsEsm"===t.type?function(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);es(e,t.position)}(e,t):"root"===t.type?(s=e,f=t,p=n,el(P={},ea(s,f)),s.create(f,s.Fragment,P,p)):"text"===t.type?t.value:void 0}function eo(e,t,n,r){"string"!=typeof n&&n!==e.Fragment&&e.passNode&&(t.node=r)}function el(e,t){if(t.length>0){let n=t.length>1?t:t[0];n&&(e.children=n)}}function ea(e,t){let n=[],r=-1,i=e.passKeys?new Map:G;for(;++ro?0:o+t:t>o?o:t,n=n>0?n:0,r.length<1e4)(i=Array.from(r)).unshift(t,n),e.splice(...i);else for(n&&e.splice(t,n);l0?(eg(e,e.length,0,t),e):t}class ev{constructor(e){this.left=e?[...e]:[],this.right=[]}get(e){if(e<0||e>=this.left.length+this.right.length)throw RangeError("Cannot access index `"+e+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return ethis.left.length?this.right.slice(this.right.length-n+this.left.length,this.right.length-e+this.left.length).reverse():this.left.slice(e).concat(this.right.slice(this.right.length-n+this.left.length).reverse())}splice(e,t,n){this.setCursor(Math.trunc(e));let r=this.right.splice(this.right.length-(t||0),1/0);return n&&ex(this.left,n),r.reverse()}pop(){return this.setCursor(1/0),this.left.pop()}push(e){this.setCursor(1/0),this.left.push(e)}pushMany(e){this.setCursor(1/0),ex(this.left,e)}unshift(e){this.setCursor(0),this.right.push(e)}unshiftMany(e){this.setCursor(0),ex(this.right,e.reverse())}setCursor(e){if(e!==this.left.length&&(!(e>this.left.length)||0!==this.right.length)&&(!(e<0)||0!==this.left.length))if(e-1&&e.test(String.fromCharCode(t))}}function eR(e,t,n,r){let i=r?r-1:1/0,o=0;return function(r){return eL(r)?(e.enter(n),function r(l){return eL(l)&&o++r))return;let a=i.events.length,u=a;for(;u--;)if("exit"===i.events[u][0]&&"chunkFlow"===i.events[u][1].type){if(e){n=i.events[u][1].end;break}e=!0}for(g(l),o=a;ot;){let t=o[n];i.containerState=t[1],t[0].exit.call(i,e)}o.length=t}function y(){t.write([null]),n=void 0,t=void 0,i.containerState._closeFlow=void 0}}},eN={tokenize:function(e,t,n){return eR(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}},e_={partial:!0,tokenize:function(e,t,n){return function(t){return eL(t)?eR(e,r,"linePrefix")(t):r(t)};function r(e){return null===e||eT(e)?t(e):n(e)}}},eB={resolve:function(e){return ek(e),e},tokenize:function(e,t){let n;return function(t){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),r(t)};function r(t){return null===t?i(t):eT(t)?e.check(eU,o,i)(t):(e.consume(t),r)}function i(n){return e.exit("chunkContent"),e.exit("content"),t(n)}function o(t){return e.consume(t),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,r}}},eU={partial:!0,tokenize:function(e,t,n){let r=this;return function(t){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),eR(e,i,"linePrefix")};function i(i){if(null===i||eT(i))return n(i);let o=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&o&&"linePrefix"===o[1].type&&o[2].sliceSerialize(o[1],!0).length>=4?t(i):e.interrupt(r.parser.constructs.flow,n,t)(i)}}},eH={tokenize:function(e){let t=this,n=e.attempt(e_,function(r){return null===r?void e.consume(r):(e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n)},e.attempt(this.parser.constructs.flowInitial,r,eR(e,e.attempt(this.parser.constructs.flow,r,e.attempt(eB,r)),"linePrefix")));return n;function r(r){return null===r?void e.consume(r):(e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),t.currentConstruct=void 0,n)}}},eV={resolveAll:eJ()},eq=eK("string"),eW=eK("text");function eK(e){return{resolveAll:eJ("text"===e?eZ:void 0),tokenize:function(t){let n=this,r=this.parser.constructs[e],i=t.attempt(r,o,l);return o;function o(e){return u(e)?i(e):l(e)}function l(e){return null===e?void t.consume(e):(t.enter("data"),t.consume(e),a)}function a(e){return u(e)?(t.exit("data"),i(e)):(t.consume(e),a)}function u(e){if(null===e)return!0;let t=r[e],i=-1;if(t)for(;++i=3&&(null===l||eT(l))?(e.exit("thematicBreak"),t(l)):n(l)}(l)}}},eX={continuation:{tokenize:function(e,t,n){let r=this;return r.containerState._closeFlow=void 0,e.check(e_,function(n){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,eR(e,t,"listItemIndent",r.containerState.size+1)(n)},function(n){return r.containerState.furtherBlankLines||!eL(n)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,i(n)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(eY,t,i)(n))});function i(i){return r.containerState._closeFlow=!0,r.interrupt=void 0,eR(e,e.attempt(eX,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(i)}}},exit:function(e){e.exit(this.containerState.type)},name:"list",tokenize:function(e,t,n){let r=this,i=r.events[r.events.length-1],o=i&&"linePrefix"===i[1].type?i[2].sliceSerialize(i[1],!0).length:0,l=0;return function(t){let i=r.containerState.type||(42===t||43===t||45===t?"listUnordered":"listOrdered");if("listUnordered"===i?!r.containerState.marker||t===r.containerState.marker:eP(t)){if(r.containerState.type||(r.containerState.type=i,e.enter(i,{_container:!0})),"listUnordered"===i)return e.enter("listItemPrefix"),42===t||45===t?e.check(eQ,n,a)(t):a(t);if(!r.interrupt||49===t)return e.enter("listItemPrefix"),e.enter("listItemValue"),function t(i){return eP(i)&&++l<10?(e.consume(i),t):(!r.interrupt||l<2)&&(r.containerState.marker?i===r.containerState.marker:41===i||46===i)?(e.exit("listItemValue"),a(i)):n(i)}(t)}return n(t)};function a(t){return e.enter("listItemMarker"),e.consume(t),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||t,e.check(e_,r.interrupt?n:u,e.attempt(e$,c,s))}function u(e){return r.containerState.initialBlankLine=!0,o++,c(e)}function s(t){return eL(t)?(e.enter("listItemPrefixWhitespace"),e.consume(t),e.exit("listItemPrefixWhitespace"),c):n(t)}function c(n){return r.containerState.size=o+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(n)}}},e$={partial:!0,tokenize:function(e,t,n){let r=this;return eR(e,function(e){let i=r.events[r.events.length-1];return!eL(e)&&i&&"listItemPrefixWhitespace"===i[1].type?t(e):n(e)},"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5)}},eY={partial:!0,tokenize:function(e,t,n){let r=this;return eR(e,function(e){let i=r.events[r.events.length-1];return i&&"listItemIndent"===i[1].type&&i[2].sliceSerialize(i[1],!0).length===r.containerState.size?t(e):n(e)},"listItemIndent",r.containerState.size+1)}},eG={continuation:{tokenize:function(e,t,n){let r=this;return function(t){return eL(t)?eR(e,i,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):i(t)};function i(r){return e.attempt(eG,t,n)(r)}}},exit:function(e){e.exit("blockQuote")},name:"blockQuote",tokenize:function(e,t,n){let r=this;return function(t){if(62===t){let n=r.containerState;return n.open||(e.enter("blockQuote",{_container:!0}),n.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(t),e.exit("blockQuoteMarker"),i}return n(t)};function i(n){return eL(n)?(e.enter("blockQuotePrefixWhitespace"),e.consume(n),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(n))}}};function e0(e,t,n,r,i,o,l,a,u){let s=u||1/0,c=0;return function(t){return 60===t?(e.enter(r),e.enter(i),e.enter(o),e.consume(t),e.exit(o),f):null===t||32===t||41===t||eE(t)?n(t):(e.enter(r),e.enter(l),e.enter(a),e.enter("chunkString",{contentType:"string"}),h(t))};function f(n){return 62===n?(e.enter(o),e.consume(n),e.exit(o),e.exit(i),e.exit(r),t):(e.enter(a),e.enter("chunkString",{contentType:"string"}),p(n))}function p(t){return 62===t?(e.exit("chunkString"),e.exit(a),f(t)):null===t||60===t||eT(t)?n(t):(e.consume(t),92===t?d:p)}function d(t){return 60===t||62===t||92===t?(e.consume(t),p):p(t)}function h(i){return!c&&(null===i||41===i||eI(i))?(e.exit("chunkString"),e.exit(a),e.exit(l),e.exit(r),t(i)):c999||null===f||91===f||93===f&&!l||94===f&&!u&&"_hiddenFootnoteSupport"in a.parser.constructs?n(f):93===f?(e.exit(o),e.enter(i),e.consume(f),e.exit(i),e.exit(r),t):eT(f)?(e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),s):(e.enter("chunkString",{contentType:"string"}),c(f))}function c(t){return null===t||91===t||93===t||eT(t)||u++>999?(e.exit("chunkString"),s(t)):(e.consume(t),l||(l=!eL(t)),92===t?f:c)}function f(t){return 91===t||92===t||93===t?(e.consume(t),u++,c):c(t)}}function e2(e,t,n,r,i,o){let l;return function(t){return 34===t||39===t||40===t?(e.enter(r),e.enter(i),e.consume(t),e.exit(i),l=40===t?41:t,a):n(t)};function a(n){return n===l?(e.enter(i),e.consume(n),e.exit(i),e.exit(r),t):(e.enter(o),u(n))}function u(t){return t===l?(e.exit(o),a(l)):null===t?n(t):eT(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),eR(e,u,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),s(t))}function s(t){return t===l||null===t||eT(t)?(e.exit("chunkString"),u(t)):(e.consume(t),92===t?c:s)}function c(t){return t===l||92===t?(e.consume(t),s):s(t)}}function e4(e,t){let n;return function r(i){return eT(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),n=!0,r):eL(i)?eR(e,r,n?"linePrefix":"lineSuffix")(i):t(i)}}function e5(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}let e9={partial:!0,tokenize:function(e,t,n){return function(t){return eI(t)?e4(e,r)(t):n(t)};function r(t){return e2(e,i,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(t)}function i(t){return eL(t)?eR(e,o,"whitespace")(t):o(t)}function o(e){return null===e||eT(e)?t(e):n(e)}}},e3={name:"codeIndented",tokenize:function(e,t,n){let r=this;return function(t){return e.enter("codeIndented"),eR(e,i,"linePrefix",5)(t)};function i(t){let i=r.events[r.events.length-1];return i&&"linePrefix"===i[1].type&&i[2].sliceSerialize(i[1],!0).length>=4?function t(n){return null===n?o(n):eT(n)?e.attempt(e6,t,o)(n):(e.enter("codeFlowValue"),function n(r){return null===r||eT(r)?(e.exit("codeFlowValue"),t(r)):(e.consume(r),n)}(n))}(t):n(t)}function o(n){return e.exit("codeIndented"),t(n)}}},e6={partial:!0,tokenize:function(e,t,n){let r=this;return i;function i(t){return r.parser.lazy[r.now().line]?n(t):eT(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i):eR(e,o,"linePrefix",5)(t)}function o(e){let o=r.events[r.events.length-1];return o&&"linePrefix"===o[1].type&&o[2].sliceSerialize(o[1],!0).length>=4?t(e):eT(e)?i(e):n(e)}}},e7={name:"setextUnderline",resolveTo:function(e,t){let n,r,i,o=e.length;for(;o--;)if("enter"===e[o][0]){if("content"===e[o][1].type){n=o;break}"paragraph"===e[o][1].type&&(r=o)}else"content"===e[o][1].type&&e.splice(o,1),i||"definition"!==e[o][1].type||(i=o);let l={type:"setextHeading",start:{...e[n][1].start},end:{...e[e.length-1][1].end}};return e[r][1].type="setextHeadingText",i?(e.splice(r,0,["enter",l,t]),e.splice(i+1,0,["exit",e[n][1],t]),e[n][1].end={...e[i][1].end}):e[n][1]=l,e.push(["exit",l,t]),e},tokenize:function(e,t,n){let r,i=this;return function(t){var l;let a,u=i.events.length;for(;u--;)if("lineEnding"!==i.events[u][1].type&&"linePrefix"!==i.events[u][1].type&&"content"!==i.events[u][1].type){a="paragraph"===i.events[u][1].type;break}return!i.parser.lazy[i.now().line]&&(i.interrupt||a)?(e.enter("setextHeadingLine"),r=t,l=t,e.enter("setextHeadingLineSequence"),function t(n){return n===r?(e.consume(n),t):(e.exit("setextHeadingLineSequence"),eL(n)?eR(e,o,"lineSuffix")(n):o(n))}(l)):n(t)};function o(r){return null===r||eT(r)?(e.exit("setextHeadingLine"),t(r)):n(r)}}},e8=["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"],te=["pre","script","style","textarea"],tt={partial:!0,tokenize:function(e,t,n){return function(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),e.attempt(e_,t,n)}}},tn={partial:!0,tokenize:function(e,t,n){let r=this;return function(t){return eT(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i):n(t)};function i(e){return r.parser.lazy[r.now().line]?n(e):t(e)}}},tr={partial:!0,tokenize:function(e,t,n){let r=this;return function(t){return null===t?n(t):(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i)};function i(e){return r.parser.lazy[r.now().line]?n(e):t(e)}}},ti={concrete:!0,name:"codeFenced",tokenize:function(e,t,n){let r,i=this,o={partial:!0,tokenize:function(e,t,n){let o=0;return function(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),l};function l(t){return e.enter("codeFencedFence"),eL(t)?eR(e,u,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):u(t)}function u(t){return t===r?(e.enter("codeFencedFenceSequence"),function t(i){return i===r?(o++,e.consume(i),t):o>=a?(e.exit("codeFencedFenceSequence"),eL(i)?eR(e,s,"whitespace")(i):s(i)):n(i)}(t)):n(t)}function s(r){return null===r||eT(r)?(e.exit("codeFencedFence"),t(r)):n(r)}}},l=0,a=0;return function(t){var o;let s;return o=t,l=(s=i.events[i.events.length-1])&&"linePrefix"===s[1].type?s[2].sliceSerialize(s[1],!0).length:0,r=o,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),function t(i){return i===r?(a++,e.consume(i),t):a<3?n(i):(e.exit("codeFencedFenceSequence"),eL(i)?eR(e,u,"whitespace")(i):u(i))}(o)};function u(o){return null===o||eT(o)?(e.exit("codeFencedFence"),i.interrupt?t(o):e.check(tr,c,h)(o)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),function t(i){return null===i||eT(i)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),u(i)):eL(i)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),eR(e,s,"whitespace")(i)):96===i&&i===r?n(i):(e.consume(i),t)}(o))}function s(t){return null===t||eT(t)?u(t):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),function t(i){return null===i||eT(i)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),u(i)):96===i&&i===r?n(i):(e.consume(i),t)}(t))}function c(t){return e.attempt(o,h,f)(t)}function f(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),p}function p(t){return l>0&&eL(t)?eR(e,d,"linePrefix",l+1)(t):d(t)}function d(t){return null===t||eT(t)?e.check(tr,c,h)(t):(e.enter("codeFlowValue"),function t(n){return null===n||eT(n)?(e.exit("codeFlowValue"),d(n)):(e.consume(n),t)}(t))}function h(n){return e.exit("codeFenced"),t(n)}}},to=document.createElement("i");function tl(e){let t="&"+e+";";to.innerHTML=t;let n=to.textContent;return(59!==n.charCodeAt(n.length-1)||"semi"===e)&&n!==t&&n}let ta={name:"characterReference",tokenize:function(e,t,n){let r,i,o=this,l=0;return function(t){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(t),e.exit("characterReferenceMarker"),a};function a(t){return 35===t?(e.enter("characterReferenceMarkerNumeric"),e.consume(t),e.exit("characterReferenceMarkerNumeric"),u):(e.enter("characterReferenceValue"),r=31,i=eS,s(t))}function u(t){return 88===t||120===t?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(t),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),r=6,i=eO,s):(e.enter("characterReferenceValue"),r=7,i=eP,s(t))}function s(a){if(59===a&&l){let r=e.exit("characterReferenceValue");return i!==eS||tl(o.sliceSerialize(r))?(e.enter("characterReferenceMarker"),e.consume(a),e.exit("characterReferenceMarker"),e.exit("characterReference"),t):n(a)}return i(a)&&l++1&&e[c][1].end.offset-e[c][1].start.offset>1?2:1;let f={...e[n][1].end},p={...e[c][1].start};tv(f,-a),tv(p,a),o={type:a>1?"strongSequence":"emphasisSequence",start:f,end:{...e[n][1].end}},l={type:a>1?"strongSequence":"emphasisSequence",start:{...e[c][1].start},end:p},i={type:a>1?"strongText":"emphasisText",start:{...e[n][1].end},end:{...e[c][1].start}},r={type:a>1?"strong":"emphasis",start:{...o.start},end:{...l.end}},e[n][1].end={...o.start},e[c][1].start={...l.end},u=[],e[n][1].end.offset-e[n][1].start.offset&&(u=ey(u,[["enter",e[n][1],t],["exit",e[n][1],t]])),u=ey(u,[["enter",r,t],["enter",o,t],["exit",o,t],["enter",i,t]]),u=ey(u,tc(t.parser.constructs.insideSpan.null,e.slice(n+1,c),t)),u=ey(u,[["exit",i,t],["enter",l,t],["exit",l,t],["exit",r,t]]),e[c][1].end.offset-e[c][1].start.offset?(s=2,u=ey(u,[["enter",e[c][1],t],["exit",e[c][1],t]])):s=0,eg(e,n-1,c-n+3,u),c=n+u.length-s-2;break}}for(c=-1;++co&&"whitespace"===e[i][1].type&&(i-=2),"atxHeadingSequence"===e[i][1].type&&(o===i-1||i-4>o&&"whitespace"===e[i-2][1].type)&&(i-=o+1===i?2:4),i>o&&(n={type:"atxHeadingText",start:e[o][1].start,end:e[i][1].end},r={type:"chunkText",start:e[o][1].start,end:e[i][1].end,contentType:"text"},eg(e,o,i-o+1,[["enter",n,t],["enter",r,t],["exit",r,t],["exit",n,t]])),e},tokenize:function(e,t,n){let r=0;return function(i){var o;return e.enter("atxHeading"),o=i,e.enter("atxHeadingSequence"),function i(o){return 35===o&&r++<6?(e.consume(o),i):null===o||eI(o)?(e.exit("atxHeadingSequence"),function n(r){return 35===r?(e.enter("atxHeadingSequence"),function t(r){return 35===r?(e.consume(r),t):(e.exit("atxHeadingSequence"),n(r))}(r)):null===r||eT(r)?(e.exit("atxHeading"),t(r)):eL(r)?eR(e,n,"whitespace")(r):(e.enter("atxHeadingText"),function t(r){return null===r||35===r||eI(r)?(e.exit("atxHeadingText"),n(r)):(e.consume(r),t)}(r))}(o)):n(o)}(o)}}},42:eQ,45:[e7,eQ],60:{concrete:!0,name:"htmlFlow",resolveTo:function(e){let t=e.length;for(;t--&&("enter"!==e[t][0]||"htmlFlow"!==e[t][1].type););return t>1&&"linePrefix"===e[t-2][1].type&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e},tokenize:function(e,t,n){let r,i,o,l,a,u=this;return function(t){var n;return n=t,e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(n),s};function s(l){return 33===l?(e.consume(l),c):47===l?(e.consume(l),i=!0,d):63===l?(e.consume(l),r=3,u.interrupt?t:D):ew(l)?(e.consume(l),o=String.fromCharCode(l),h):n(l)}function c(i){return 45===i?(e.consume(i),r=2,f):91===i?(e.consume(i),r=5,l=0,p):ew(i)?(e.consume(i),r=4,u.interrupt?t:D):n(i)}function f(r){return 45===r?(e.consume(r),u.interrupt?t:D):n(r)}function p(r){let i="CDATA[";return r===i.charCodeAt(l++)?(e.consume(r),l===i.length)?u.interrupt?t:A:p:n(r)}function d(t){return ew(t)?(e.consume(t),o=String.fromCharCode(t),h):n(t)}function h(l){if(null===l||47===l||62===l||eI(l)){let a=47===l,s=o.toLowerCase();return!a&&!i&&te.includes(s)?(r=1,u.interrupt?t(l):A(l)):e8.includes(o.toLowerCase())?(r=6,a)?(e.consume(l),m):u.interrupt?t(l):A(l):(r=7,u.interrupt&&!u.parser.lazy[u.now().line]?n(l):i?function t(n){return eL(n)?(e.consume(n),t):w(n)}(l):g(l))}return 45===l||eS(l)?(e.consume(l),o+=String.fromCharCode(l),h):n(l)}function m(r){return 62===r?(e.consume(r),u.interrupt?t:A):n(r)}function g(t){return 47===t?(e.consume(t),w):58===t||95===t||ew(t)?(e.consume(t),y):eL(t)?(e.consume(t),g):w(t)}function y(t){return 45===t||46===t||58===t||95===t||eS(t)?(e.consume(t),y):v(t)}function v(t){return 61===t?(e.consume(t),x):eL(t)?(e.consume(t),v):g(t)}function x(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),a=t,k):eL(t)?(e.consume(t),x):function t(n){return null===n||34===n||39===n||47===n||60===n||61===n||62===n||96===n||eI(n)?v(n):(e.consume(n),t)}(t)}function k(t){return t===a?(e.consume(t),a=null,b):null===t||eT(t)?n(t):(e.consume(t),k)}function b(e){return 47===e||62===e||eL(e)?g(e):n(e)}function w(t){return 62===t?(e.consume(t),S):n(t)}function S(t){return null===t||eT(t)?A(t):eL(t)?(e.consume(t),S):n(t)}function A(t){return 45===t&&2===r?(e.consume(t),C):60===t&&1===r?(e.consume(t),T):62===t&&4===r?(e.consume(t),j):63===t&&3===r?(e.consume(t),D):93===t&&5===r?(e.consume(t),L):eT(t)&&(6===r||7===r)?(e.exit("htmlFlowData"),e.check(tt,M,E)(t)):null===t||eT(t)?(e.exit("htmlFlowData"),E(t)):(e.consume(t),A)}function E(t){return e.check(tn,P,M)(t)}function P(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),O}function O(t){return null===t||eT(t)?E(t):(e.enter("htmlFlowData"),A(t))}function C(t){return 45===t?(e.consume(t),D):A(t)}function T(t){return 47===t?(e.consume(t),o="",I):A(t)}function I(t){if(62===t){let n=o.toLowerCase();return te.includes(n)?(e.consume(t),j):A(t)}return ew(t)&&o.length<8?(e.consume(t),o+=String.fromCharCode(t),I):A(t)}function L(t){return 93===t?(e.consume(t),D):A(t)}function D(t){return 62===t?(e.consume(t),j):45===t&&2===r?(e.consume(t),D):A(t)}function j(t){return null===t||eT(t)?(e.exit("htmlFlowData"),M(t)):(e.consume(t),j)}function M(n){return e.exit("htmlFlow"),t(n)}}},61:e7,95:eQ,96:ti,126:ti},tA={38:ta,92:tu},tE={[-5]:ts,[-4]:ts,[-3]:ts,33:tm,38:ta,42:ty,60:[{name:"autolink",tokenize:function(e,t,n){let r=0;return function(t){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(t),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),i};function i(t){return ew(t)?(e.consume(t),o):64===t?n(t):a(t)}function o(t){return 43===t||45===t||46===t||eS(t)?(r=1,function t(n){return 58===n?(e.consume(n),r=0,l):(43===n||45===n||46===n||eS(n))&&r++<32?(e.consume(n),t):(r=0,a(n))}(t)):a(t)}function l(r){return 62===r?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(r),e.exit("autolinkMarker"),e.exit("autolink"),t):null===r||32===r||60===r||eE(r)?n(r):(e.consume(r),l)}function a(t){return 64===t?(e.consume(t),u):eA(t)?(e.consume(t),a):n(t)}function u(i){return eS(i)?function i(o){return 46===o?(e.consume(o),r=0,u):62===o?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(o),e.exit("autolinkMarker"),e.exit("autolink"),t):function t(o){if((45===o||eS(o))&&r++<63){let n=45===o?t:i;return e.consume(o),n}return n(o)}(o)}(i):n(i)}}},{name:"htmlText",tokenize:function(e,t,n){let r,i,o,l=this;return function(t){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(t),a};function a(t){return 33===t?(e.consume(t),u):47===t?(e.consume(t),k):63===t?(e.consume(t),v):ew(t)?(e.consume(t),w):n(t)}function u(t){return 45===t?(e.consume(t),s):91===t?(e.consume(t),i=0,d):ew(t)?(e.consume(t),y):n(t)}function s(t){return 45===t?(e.consume(t),p):n(t)}function c(t){return null===t?n(t):45===t?(e.consume(t),f):eT(t)?(o=c,I(t)):(e.consume(t),c)}function f(t){return 45===t?(e.consume(t),p):c(t)}function p(e){return 62===e?T(e):45===e?f(e):c(e)}function d(t){let r="CDATA[";return t===r.charCodeAt(i++)?(e.consume(t),i===r.length?h:d):n(t)}function h(t){return null===t?n(t):93===t?(e.consume(t),m):eT(t)?(o=h,I(t)):(e.consume(t),h)}function m(t){return 93===t?(e.consume(t),g):h(t)}function g(t){return 62===t?T(t):93===t?(e.consume(t),g):h(t)}function y(t){return null===t||62===t?T(t):eT(t)?(o=y,I(t)):(e.consume(t),y)}function v(t){return null===t?n(t):63===t?(e.consume(t),x):eT(t)?(o=v,I(t)):(e.consume(t),v)}function x(e){return 62===e?T(e):v(e)}function k(t){return ew(t)?(e.consume(t),b):n(t)}function b(t){return 45===t||eS(t)?(e.consume(t),b):function t(n){return eT(n)?(o=t,I(n)):eL(n)?(e.consume(n),t):T(n)}(t)}function w(t){return 45===t||eS(t)?(e.consume(t),w):47===t||62===t||eI(t)?S(t):n(t)}function S(t){return 47===t?(e.consume(t),T):58===t||95===t||ew(t)?(e.consume(t),A):eT(t)?(o=S,I(t)):eL(t)?(e.consume(t),S):T(t)}function A(t){return 45===t||46===t||58===t||95===t||eS(t)?(e.consume(t),A):function t(n){return 61===n?(e.consume(n),E):eT(n)?(o=t,I(n)):eL(n)?(e.consume(n),t):S(n)}(t)}function E(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),r=t,P):eT(t)?(o=E,I(t)):eL(t)?(e.consume(t),E):(e.consume(t),O)}function P(t){return t===r?(e.consume(t),r=void 0,C):null===t?n(t):eT(t)?(o=P,I(t)):(e.consume(t),P)}function O(t){return null===t||34===t||39===t||60===t||61===t||96===t?n(t):47===t||62===t||eI(t)?S(t):(e.consume(t),O)}function C(e){return 47===e||62===e||eI(e)?S(e):n(e)}function T(r){return 62===r?(e.consume(r),e.exit("htmlTextData"),e.exit("htmlText"),t):n(r)}function I(t){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),L}function L(t){return eL(t)?eR(e,D,"linePrefix",l.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):D(t)}function D(t){return e.enter("htmlTextData"),o(t)}}}],91:tx,92:[{name:"hardBreakEscape",tokenize:function(e,t,n){return function(t){return e.enter("hardBreakEscape"),e.consume(t),r};function r(r){return eT(r)?(e.exit("hardBreakEscape"),t(r)):n(r)}}},tu],93:tf,95:ty,96:{name:"codeText",previous:function(e){return 96!==e||"characterEscape"===this.events[this.events.length-1][1].type},resolve:function(e){let t,n,r=e.length-4,i=3;if(("lineEnding"===e[3][1].type||"space"===e[i][1].type)&&("lineEnding"===e[r][1].type||"space"===e[r][1].type)){for(t=i;++t13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(65535&n)==65535||(65535&n)==65534||n>1114111?"�":String.fromCodePoint(n)}let tL=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function tD(e,t,n){if(t)return t;if(35===n.charCodeAt(0)){let e=n.charCodeAt(1),t=120===e||88===e;return tI(n.slice(t?2:1),t?16:10)}return tl(n)||e}let tj={}.hasOwnProperty;function tM(e){return{line:e.line,column:e.column,offset:e.offset}}function tR(e,t){if(e)throw Error("Cannot close `"+e.type+"` ("+J({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+J({start:t.start,end:t.end})+") is open");throw Error("Cannot close document, a token (`"+t.type+"`, "+J({start:t.start,end:t.end})+") is still open")}function tz(e){let t=this;t.parser=function(n){var r,o;let l,a,u,s;return"string"!=typeof(r={...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})&&(o=r,r=void 0),(function(e){let t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:r(y),autolinkProtocol:s,autolinkEmail:s,atxHeading:r(h),blockQuote:r(function(){return{type:"blockquote",children:[]}}),characterEscape:s,characterReference:s,codeFenced:r(d),codeFencedFenceInfo:i,codeFencedFenceMeta:i,codeIndented:r(d,i),codeText:r(function(){return{type:"inlineCode",value:""}},i),codeTextData:s,data:s,codeFlowValue:s,definition:r(function(){return{type:"definition",identifier:"",label:null,title:null,url:""}}),definitionDestinationString:i,definitionLabelString:i,definitionTitleString:i,emphasis:r(function(){return{type:"emphasis",children:[]}}),hardBreakEscape:r(m),hardBreakTrailing:r(m),htmlFlow:r(g,i),htmlFlowData:s,htmlText:r(g,i),htmlTextData:s,image:r(function(){return{type:"image",title:null,url:"",alt:null}}),label:i,link:r(y),listItem:r(function(e){return{type:"listItem",spread:e._spread,checked:null,children:[]}}),listItemValue:function(e){this.data.expectingFirstListItemValue&&(this.stack[this.stack.length-2].start=Number.parseInt(this.sliceSerialize(e),10),this.data.expectingFirstListItemValue=void 0)},listOrdered:r(v,function(){this.data.expectingFirstListItemValue=!0}),listUnordered:r(v),paragraph:r(function(){return{type:"paragraph",children:[]}}),reference:function(){this.data.referenceType="collapsed"},referenceString:i,resourceDestinationString:i,resourceTitleString:i,setextHeading:r(h),strong:r(function(){return{type:"strong",children:[]}}),thematicBreak:r(function(){return{type:"thematicBreak"}})},exit:{atxHeading:l(),atxHeadingSequence:function(e){let t=this.stack[this.stack.length-1];t.depth||(t.depth=this.sliceSerialize(e).length)},autolink:l(),autolinkEmail:function(e){c.call(this,e),this.stack[this.stack.length-1].url="mailto:"+this.sliceSerialize(e)},autolinkProtocol:function(e){c.call(this,e),this.stack[this.stack.length-1].url=this.sliceSerialize(e)},blockQuote:l(),characterEscapeValue:c,characterReferenceMarkerHexadecimal:p,characterReferenceMarkerNumeric:p,characterReferenceValue:function(e){let t,n=this.sliceSerialize(e),r=this.data.characterReferenceType;r?(t=tI(n,"characterReferenceMarkerNumeric"===r?10:16),this.data.characterReferenceType=void 0):t=tl(n);let i=this.stack[this.stack.length-1];i.value+=t},characterReference:function(e){this.stack.pop().position.end=tM(e.end)},codeFenced:l(function(){let e=this.resume();this.stack[this.stack.length-1].value=e.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}),codeFencedFence:function(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)},codeFencedFenceInfo:function(){let e=this.resume();this.stack[this.stack.length-1].lang=e},codeFencedFenceMeta:function(){let e=this.resume();this.stack[this.stack.length-1].meta=e},codeFlowValue:c,codeIndented:l(function(){let e=this.resume();this.stack[this.stack.length-1].value=e.replace(/(\r?\n|\r)$/g,"")}),codeText:l(function(){let e=this.resume();this.stack[this.stack.length-1].value=e}),codeTextData:c,data:c,definition:l(),definitionDestinationString:function(){let e=this.resume();this.stack[this.stack.length-1].url=e},definitionLabelString:function(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=e5(this.sliceSerialize(e)).toLowerCase()},definitionTitleString:function(){let e=this.resume();this.stack[this.stack.length-1].title=e},emphasis:l(),hardBreakEscape:l(f),hardBreakTrailing:l(f),htmlFlow:l(function(){let e=this.resume();this.stack[this.stack.length-1].value=e}),htmlFlowData:c,htmlText:l(function(){let e=this.resume();this.stack[this.stack.length-1].value=e}),htmlTextData:c,image:l(function(){let e=this.stack[this.stack.length-1];if(this.data.inReference){let t=this.data.referenceType||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}),label:function(){let e=this.stack[this.stack.length-1],t=this.resume(),n=this.stack[this.stack.length-1];this.data.inReference=!0,"link"===n.type?n.children=e.children:n.alt=t},labelText:function(e){let t=this.sliceSerialize(e),n=this.stack[this.stack.length-2];n.label=t.replace(tL,tD),n.identifier=e5(t).toLowerCase()},lineEnding:function(e){let n=this.stack[this.stack.length-1];if(this.data.atHardBreak){n.children[n.children.length-1].position.end=tM(e.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(n.type)&&(s.call(this,e),c.call(this,e))},link:l(function(){let e=this.stack[this.stack.length-1];if(this.data.inReference){let t=this.data.referenceType||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}),listItem:l(),listOrdered:l(),listUnordered:l(),paragraph:l(),referenceString:function(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=e5(this.sliceSerialize(e)).toLowerCase(),this.data.referenceType="full"},resourceDestinationString:function(){let e=this.resume();this.stack[this.stack.length-1].url=e},resourceTitleString:function(){let e=this.resume();this.stack[this.stack.length-1].title=e},resource:function(){this.data.inReference=void 0},setextHeading:l(function(){this.data.setextHeadingSlurpLineEnding=void 0}),setextHeadingLineSequence:function(e){this.stack[this.stack.length-1].depth=61===this.sliceSerialize(e).codePointAt(0)?1:2},setextHeadingText:function(){this.data.setextHeadingSlurpLineEnding=!0},strong:l(),thematicBreak:l()}};!function e(t,n){let r=-1;for(;++r0){let e=l.tokenStack[l.tokenStack.length-1];(e[1]||tR).call(l,void 0,e[0])}for(r.position={start:tM(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:tM(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},c=-1;++c-1){let e=n[0];"string"==typeof e?n[0]=e.slice(i):n.shift()}l>0&&n.push(e[o].slice(0,l))}return n}(l,e)}function p(){let{_bufferIndex:e,_index:t,line:n,column:i,offset:o}=r;return{_bufferIndex:e,_index:t,line:n,column:i,offset:o}}function d(e,t){t.restore()}function h(e,t){return function(n,i,o){var l;let c,f,d,h;return Array.isArray(n)?m(n):"tokenize"in n?m([n]):(l=n,function(e){let t=null!==e&&l[e],n=null!==e&&l.null;return m([...Array.isArray(t)?t:t?[t]:[],...Array.isArray(n)?n:n?[n]:[]])(e)});function m(e){return(c=e,f=0,0===e.length)?o:y(e[f])}function y(e){return function(n){let i,o,l,c,f;return(i=p(),o=s.previous,l=s.currentConstruct,c=s.events.length,f=Array.from(a),h={from:c,restore:function(){r=i,s.previous=o,s.currentConstruct=l,s.events.length=c,a=f,g()}},d=e,e.partial||(s.currentConstruct=e),e.name&&s.parser.constructs.disable.null.includes(e.name))?x(n):e.tokenize.call(t?Object.assign(Object.create(s),t):s,u,v,x)(n)}}function v(t){return e(d,h),i}function x(e){return(h.restore(),++f{var t;let n,r;return(t=new Map,n=(e,n)=>(t.set(n,e),e),r=i=>{if(t.has(i))return t.get(i);let[o,l]=e[i];switch(o){case 0:case -1:return n(l,i);case 1:{let e=n([],i);for(let t of l)e.push(r(t));return e}case 2:{let e=n({},i);for(let[t,n]of l)e[r(t)]=r(n);return e}case 3:return n(new Date(l),i);case 4:{let{source:e,flags:t}=l;return n(new RegExp(e,t),i)}case 5:{let e=n(new Map,i);for(let[t,n]of l)e.set(r(t),r(n));return e}case 6:{let e=n(new Set,i);for(let t of l)e.add(r(t));return e}case 7:{let{name:e,message:t}=l;return n(new tF[e](t),i)}case 8:return n(BigInt(l),i);case"BigInt":return n(Object(BigInt(l)),i);case"ArrayBuffer":return n(new Uint8Array(l).buffer,l);case"DataView":{let{buffer:e}=new Uint8Array(l);return n(new DataView(e),l)}}return n(new tF[o](l),i)})(0)},{toString:t_}={},{keys:tB}=Object,tU=e=>{let t=typeof e;if("object"!==t||!e)return[0,t];let n=t_.call(e).slice(8,-1);switch(n){case"Array":return[1,""];case"Object":return[2,""];case"Date":return[3,""];case"RegExp":return[4,""];case"Map":return[5,""];case"Set":return[6,""];case"DataView":return[1,n]}return n.includes("Array")?[1,n]:n.includes("Error")?[7,n]:[2,n]},tH=([e,t])=>0===e&&("function"===t||"symbol"===t),tV=(e,{json:t,lossy:n}={})=>{var r,i,o;let l,a,u=[];return(r=!(t||n),i=!!t,o=new Map,l=(e,t)=>{let n=u.push(e)-1;return o.set(t,n),n},a=e=>{if(o.has(e))return o.get(e);let[t,n]=tU(e);switch(t){case 0:{let i=e;switch(n){case"bigint":t=8,i=e.toString();break;case"function":case"symbol":if(r)throw TypeError("unable to serialize "+n);i=null;break;case"undefined":return l([-1],e)}return l([t,i],e)}case 1:{if(n){let t=e;return"DataView"===n?t=new Uint8Array(e.buffer):"ArrayBuffer"===n&&(t=new Uint8Array(e)),l([n,[...t]],e)}let r=[],i=l([t,r],e);for(let t of e)r.push(a(t));return i}case 2:{if(n)switch(n){case"BigInt":return l([n,e.toString()],e);case"Boolean":case"Number":case"String":return l([n,e.valueOf()],e)}if(i&&"toJSON"in e)return a(e.toJSON());let o=[],u=l([t,o],e);for(let t of tB(e))(r||!tH(tU(e[t])))&&o.push([a(t),a(e[t])]);return u}case 3:return l([t,e.toISOString()],e);case 4:{let{source:n,flags:r}=e;return l([t,{source:n,flags:r}],e)}case 5:{let n=[],i=l([t,n],e);for(let[t,i]of e)(r||!(tH(tU(t))||tH(tU(i))))&&n.push([a(t),a(i)]);return i}case 6:{let n=[],i=l([t,n],e);for(let t of e)(r||!tH(tU(t)))&&n.push(a(t));return i}}let{message:u}=e;return l([t,{name:n,message:u}],e)})(e),u},tq="function"==typeof structuredClone?(e,t)=>t&&("json"in t||"lossy"in t)?tN(tV(e,t)):structuredClone(e):(e,t)=>tN(tV(e,t));function tW(e){let t=[],n=-1,r=0,i=0;for(;++n55295&&o<57344){let t=e.charCodeAt(n+1);o<56320&&t>56319&&t<57344?(l=String.fromCharCode(o,t),i=1):l="�"}else l=String.fromCharCode(o);l&&(t.push(e.slice(r,n),encodeURIComponent(l)),r=n+i+1,l=""),i&&(n+=i,i=0)}return t.join("")+e.slice(r)}function tK(e,t){let n=[{type:"text",value:"↩"}];return t>1&&n.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),n}function tJ(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}let tZ=function(e){var t,n;if(null==e)return tX;if("function"==typeof e)return tQ(e);if("object"==typeof e){return Array.isArray(e)?function(e){let t=[],n=-1;for(;++n":"")+")"})}return u;function u(){var a;let u,s,c,d=t$;if((!i||f(t,n,r[r.length-1]||void 0))&&!1===(d=Array.isArray(a=o(t,r))?a:"number"==typeof a?[!0,a]:null==a?t$:[a])[0])return d;if("children"in t&&t.children&&t.children&&"skip"!==d[0])for(s=(l?t.children.length:-1)+p,c=r.concat(t);s>-1&&s1:t}function t1(e,t,n){let r=0,i=e.length;if(t){let t=e.codePointAt(r);for(;9===t||32===t;)r++,t=e.codePointAt(r)}if(n){let t=e.codePointAt(i-1);for(;9===t||32===t;)i--,t=e.codePointAt(i-1)}return i>r?e.slice(r,i):""}let t2={blockquote:function(e,t){let n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)},break:function(e,t){let n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:"\n"}]},code:function(e,t){let n=t.value?t.value+"\n":"",r={},i=t.lang?t.lang.split(/\s+/):[];i.length>0&&(r.className=["language-"+i[0]]);let o={type:"element",tagName:"code",properties:r,children:[{type:"text",value:n}]};return t.meta&&(o.data={meta:t.meta}),e.patch(t,o),o={type:"element",tagName:"pre",properties:{},children:[o=e.applyData(t,o)]},e.patch(t,o),o},delete:function(e,t){let n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},emphasis:function(e,t){let n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},footnoteReference:function(e,t){let n,r="string"==typeof e.options.clobberPrefix?e.options.clobberPrefix:"user-content-",i=String(t.identifier).toUpperCase(),o=tW(i.toLowerCase()),l=e.footnoteOrder.indexOf(i),a=e.footnoteCounts.get(i);void 0===a?(a=0,e.footnoteOrder.push(i),n=e.footnoteOrder.length):n=l+1,a+=1,e.footnoteCounts.set(i,a);let u={type:"element",tagName:"a",properties:{href:"#"+r+"fn-"+o,id:r+"fnref-"+o+(a>1?"-"+a:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(n)}]};e.patch(t,u);let s={type:"element",tagName:"sup",properties:{},children:[u]};return e.patch(t,s),e.applyData(t,s)},heading:function(e,t){let n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},html:function(e,t){if(e.options.allowDangerousHtml){let n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}},imageReference:function(e,t){let n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return tG(e,t);let i={src:tW(r.url||""),alt:t.alt};null!==r.title&&void 0!==r.title&&(i.title=r.title);let o={type:"element",tagName:"img",properties:i,children:[]};return e.patch(t,o),e.applyData(t,o)},image:function(e,t){let n={src:tW(t.url)};null!==t.alt&&void 0!==t.alt&&(n.alt=t.alt),null!==t.title&&void 0!==t.title&&(n.title=t.title);let r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)},inlineCode:function(e,t){let n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);let r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)},linkReference:function(e,t){let n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return tG(e,t);let i={href:tW(r.url||"")};null!==r.title&&void 0!==r.title&&(i.title=r.title);let o={type:"element",tagName:"a",properties:i,children:e.all(t)};return e.patch(t,o),e.applyData(t,o)},link:function(e,t){let n={href:tW(t.url)};null!==t.title&&void 0!==t.title&&(n.title=t.title);let r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)},listItem:function(e,t,n){let r=e.all(t),i=n?function(e){let t=!1;if("list"===e.type){t=e.spread||!1;let n=e.children,r=-1;for(;!t&&++r0&&e.children.unshift({type:"text",value:" "}),e.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),o.className=["task-list-item"]}let a=-1;for(;++a0){let r={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},o=W(t.children[1]),l=q(t.children[t.children.length-1]);o&&l&&(r.position={start:o,end:l}),i.push(r)}let o={type:"element",tagName:"table",properties:{},children:e.wrap(i,!0)};return e.patch(t,o),e.applyData(t,o)},tableCell:function(e,t){let n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},tableRow:function(e,t,n){let r=n?n.children:void 0,i=0===(r?r.indexOf(t):1)?"th":"td",o=n&&"table"===n.type?n.align:void 0,l=o?o.length:t.children.length,a=-1,u=[];for(;++a0,!0),r[0]),i=r.index+r[0].length,r=n.exec(t);return o.push(t1(t.slice(i),i>0,!1)),o.join("")}(String(t.value))};return e.patch(t,n),e.applyData(t,n)},thematicBreak:function(e,t){let n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)},toml:t4,yaml:t4,definition:t4,footnoteDefinition:t4};function t4(){}let t5={}.hasOwnProperty,t9={};function t3(e,t){e.position&&(t.position=function(e){let t=W(e),n=q(e);if(t&&n)return{start:t,end:n}}(e))}function t6(e,t){let n=t;if(e&&e.data){let t=e.data.hName,r=e.data.hChildren,i=e.data.hProperties;"string"==typeof t&&("element"===n.type?n.tagName=t:n={type:"element",tagName:t,properties:{},children:"children"in n?n.children:[n]}),"element"===n.type&&i&&Object.assign(n.properties,tq(i)),"children"in n&&n.children&&null!=r&&(n.children=r)}return n}function t7(e,t){let n=[],r=-1;for(t&&n.push({type:"text",value:"\n"});++r0&&n.push({type:"text",value:"\n"}),n}function t8(e){let t=0,n=e.charCodeAt(t);for(;9===n||32===n;)t++,n=e.charCodeAt(t);return e.slice(t)}function ne(e,t){let n,r,i,o,l=(n=t||t9,r=new Map,i=new Map,o={all:function(e){let t=[];if("children"in e){let n=e.children,r=-1;for(;++r0&&f.push({type:"text",value:" "});let e="string"==typeof n?n:n(u,c);"string"==typeof e&&(e={type:"text",value:e}),f.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+s+(c>1?"-"+c:""),dataFootnoteBackref:"",ariaLabel:"string"==typeof r?r:r(u,c),className:["data-footnote-backref"]},children:Array.isArray(e)?e:[e]})}let d=o[o.length-1];if(d&&"element"===d.type&&"p"===d.tagName){let e=d.children[d.children.length-1];e&&"text"===e.type?e.value+=" ":d.children.push({type:"text",value:" "}),d.children.push(...f)}else o.push(...f);let h={type:"element",tagName:"li",properties:{id:t+"fn-"+s},children:e.wrap(o,!0)};e.patch(i,h),a.push(h)}if(0!==a.length)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:o,properties:{...tq(l),id:"footnote-label"},children:[{type:"text",value:i}]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:e.wrap(a,!0)},{type:"text",value:"\n"}]}}(l),s=Array.isArray(a)?{type:"root",children:a}:a||{type:"root",children:[]};return u&&s.children.push({type:"text",value:"\n"},u),s}function nt(e,t){return e&&"run"in e?async function(n,r){let i=ne(n,{file:r,...t});await e.run(i,r)}:function(n,r){return ne(n,{file:r,...e||t})}}function nn(e){if(e)throw e}var nr=n(28392);function ni(e){if("object"!=typeof e||null===e)return!1;let t=Object.getPrototypeOf(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}let no=function(e,t){let n;if(void 0!==t&&"string"!=typeof t)throw TypeError('"ext" argument must be a string');ns(e);let r=0,i=-1,o=e.length;if(void 0===t||0===t.length||t.length>e.length){for(;o--;)if(47===e.codePointAt(o)){if(n){r=o+1;break}}else i<0&&(n=!0,i=o+1);return i<0?"":e.slice(r,i)}if(t===e)return"";let l=-1,a=t.length-1;for(;o--;)if(47===e.codePointAt(o)){if(n){r=o+1;break}}else l<0&&(n=!0,l=o+1),a>-1&&(e.codePointAt(o)===t.codePointAt(a--)?a<0&&(i=o):(a=-1,i=l));return r===i?i=l:i<0&&(i=e.length),e.slice(r,i)},nl=function(e){let t;if(ns(e),0===e.length)return".";let n=-1,r=e.length;for(;--r;)if(47===e.codePointAt(r)){if(t){n=r;break}}else t||(t=!0);return n<0?47===e.codePointAt(0)?"/":".":1===n&&47===e.codePointAt(0)?"//":e.slice(0,n)},na=function(e){let t;ns(e);let n=e.length,r=-1,i=0,o=-1,l=0;for(;n--;){let a=e.codePointAt(n);if(47===a){if(t){i=n+1;break}continue}r<0&&(t=!0,r=n+1),46===a?o<0?o=n:1!==l&&(l=1):o>-1&&(l=-1)}return o<0||r<0||0===l||1===l&&o===r-1&&o===i+1?"":e.slice(o,r)},nu=function(...e){var t;let n,r,i,o=-1;for(;++o2){if((r=i.lastIndexOf("/"))!==i.length-1){r<0?(i="",o=0):o=(i=i.slice(0,r)).length-1-i.lastIndexOf("/"),l=u,a=0;continue}}else if(i.length>0){i="",o=0,l=u,a=0;continue}}t&&(i=i.length>0?i+"/..":"..",o=2)}else i.length>0?i+="/"+e.slice(l+1,u):i=e.slice(l+1,u),o=u-l-1;l=u,a=0}else 46===n&&a>-1?a++:a=-1}return i}(t,!n)).length||n||(r="."),r.length>0&&47===t.codePointAt(t.length-1)&&(r+="/"),n?"/"+r:r)};function ns(e){if("string"!=typeof e)throw TypeError("Path must be a string. Received "+JSON.stringify(e))}function nc(e){return!!(null!==e&&"object"==typeof e&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&void 0===e.auth)}let nf=["history","path","basename","stem","extname","dirname"];class np{constructor(e){let t,n;t=e?nc(e)?{path:e}:"string"==typeof e||function(e){return!!(e&&"object"==typeof e&&"byteLength"in e&&"byteOffset"in e)}(e)?{value:e}:e:{},this.cwd="cwd"in t?"":"/",this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let r=-1;for(;++rt.length;l&&t.push(r);try{o=e.apply(this,t)}catch(e){if(l&&n)throw e;return r(e)}l||(o instanceof Promise?o.then(i,r):o instanceof Error?r(o):i(o))};function r(e,...i){n||(n=!0,t(e,...i))}function i(e){r(null,e)}})(a,i)(...l):r(null,...l)}(null,...t)},use:function(n){if("function"!=typeof n)throw TypeError("Expected `middelware` to be a function, not "+n);return e.push(n),t}};return t}()}copy(){let e=new nv,t=-1;for(;++t0){let[r,...o]=t,l=n[i][1];ni(l)&&ni(r)&&(r=nr(!0,l,r)),n[i]=[e,r,...o]}}}}let nx=new nv().freeze();function nk(e,t){if("function"!=typeof t)throw TypeError("Cannot `"+e+"` without `parser`")}function nb(e,t){if("function"!=typeof t)throw TypeError("Cannot `"+e+"` without `compiler`")}function nw(e,t){if(t)throw Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function nS(e){if(!ni(e)||"string"!=typeof e.type)throw TypeError("Expected node, got `"+e+"`")}function nA(e,t,n){if(!n)throw Error("`"+e+"` finished async. Use `"+t+"` instead")}function nE(e){var t;return(t=e)&&"object"==typeof t&&"message"in t&&"messages"in t?e:new np(e)}let nP=[],nO={allowDangerousHtml:!0},nC=/^(https?|ircs?|mailto|xmpp)$/i,nT=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"className",id:"remove-classname"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function nI(e){var t;let n,r,i,o,l,a=(n=(t=e).rehypePlugins||nP,r=t.remarkPlugins||nP,i=t.remarkRehypeOptions?{...t.remarkRehypeOptions,...nO}:nO,nx().use(tz).use(r).use(nt,i).use(n)),u=(o=e.children||"",l=new np,"string"==typeof o&&(l.value=o),l);return function(e,t){let n=t.allowedElements,r=t.allowElement,i=t.components,o=t.disallowedElements,l=t.skipHtml,a=t.unwrapDisallowed,u=t.urlTransform||nL;for(let e of nT)Object.hasOwn(t,e.from)&&(e.from,e.to&&e.to,e.id);return tY(e,function(e,t,i){if("raw"===e.type&&i&&"number"==typeof t)return l?i.children.splice(t,1):i.children[t]={type:"text",value:e.value},t;if("element"===e.type){let t;for(t in ef)if(Object.hasOwn(ef,t)&&Object.hasOwn(e.properties,t)){let n=e.properties[t],r=ef[t];(null===r||r.includes(e.tagName))&&(e.properties[t]=u(String(n||""),t,e))}}if("element"===e.type){let l=n?!n.includes(e.tagName):!!o&&o.includes(e.tagName);if(!l&&r&&"number"==typeof t&&(l=!r(e,t,i)),l&&i&&"number"==typeof t)return a&&e.children?i.children.splice(t,1,...e.children):i.children.splice(t,1),t}}),function(e,t){var n,r,i,o;let l;if(!t||void 0===t.Fragment)throw TypeError("Expected `Fragment` in options");let a=t.filePath||void 0;if(t.development){if("function"!=typeof t.jsxDEV)throw TypeError("Expected `jsxDEV` in options when `development: true`");n=a,r=t.jsxDEV,l=function(e,t,i,o){let l=Array.isArray(i.children),a=W(e);return r(t,i,o,l,{columnNumber:a?a.column-1:void 0,fileName:n,lineNumber:a?a.line:void 0},void 0)}}else{if("function"!=typeof t.jsx)throw TypeError("Expected `jsx` in production options");if("function"!=typeof t.jsxs)throw TypeError("Expected `jsxs` in production options");i=t.jsx,o=t.jsxs,l=function(e,t,n,r){let l=Array.isArray(n.children)?o:i;return r?l(t,n,r):l(t,n)}}let u={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:l,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:a,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:!1!==t.passKeys,passNode:t.passNode||!1,schema:"svg"===t.space?z:R,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:!1!==t.tableCellAlignToStyle},s=ei(u,e,void 0);return s&&"string"!=typeof s?s:u.create(e,u.Fragment,{children:s||void 0},void 0)}(e,{Fragment:ep.Fragment,components:i,ignoreInvalidStyle:!0,jsx:ep.jsx,jsxs:ep.jsxs,passKeys:!0,passNode:!0})}(a.runSync(a.parse(u),u),e)}function nL(e){let t=e.indexOf(":"),n=e.indexOf("?"),r=e.indexOf("#"),i=e.indexOf("/");return -1===t||-1!==i&&t>i||-1!==n&&t>n||-1!==r&&t>r||nC.test(e.slice(0,t))?e:""}},45381:(e,t,n)=>{"use strict";n.d(t,{r:()=>et});var r=n(32716),i=n(55729),o=n(98499),l=n.n(o),a=n(50212),u=n(3780),s=n(24196),c=n(93780),f=["points","className","baseLinePoints","connectNulls"];function p(){return(p=Object.assign?Object.assign.bind():function(e){for(var t=1;ttypeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return h(e,void 0);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return h(e,void 0)}}(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function h(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n0&&void 0!==arguments[0]?arguments[0]:[],t=[[]];return e.forEach(function(e){m(e)?t[t.length-1].push(e):t[t.length-1].length>0&&t.push([])}),m(e[0])&&t[t.length-1].push(e[0]),t[t.length-1].length<=0&&(t=t.slice(0,-1)),t},y=function(e,t){var n=g(e);t&&(n=[n.reduce(function(e,t){return[].concat(d(e),d(t))},[])]);var r=n.map(function(e){return e.reduce(function(e,t,n){return"".concat(e).concat(0===n?"M":"L").concat(t.x,",").concat(t.y)},"")}).join("");return 1===n.length?"".concat(r,"Z"):r},v=function(e,t,n){var r=y(e,n);return"".concat("Z"===r.slice(-1)?r.slice(0,-1):r,"L").concat(y(t.reverse(),n).slice(1))},x=function(e){var t=e.points,n=e.className,r=e.baseLinePoints,o=e.connectNulls,l=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,f);if(!t||!t.length)return null;var u=(0,a.A)("recharts-polygon",n);if(r&&r.length){var s=l.stroke&&"none"!==l.stroke,d=v(t,r,o);return i.createElement("g",{className:u},i.createElement("path",p({},(0,c.J9)(l,!0),{fill:"Z"===d.slice(-1)?l.fill:"none",stroke:"none",d:d})),s?i.createElement("path",p({},(0,c.J9)(l,!0),{fill:"none",d:y(t,o)})):null,s?i.createElement("path",p({},(0,c.J9)(l,!0),{fill:"none",d:y(r,o)})):null)}var h=y(t,o);return i.createElement("path",p({},(0,c.J9)(l,!0),{fill:"Z"===h.slice(-1)?l.fill:"none",className:u,d:h}))},k=n(25599),b=n(27281),w=n(31829);function S(e){return(S="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function A(){return(A=Object.assign?Object.assign.bind():function(e){for(var t=1;t1e-5?"outer"===t?"start":"end":n<-1e-5?"outer"===t?"end":"start":"middle"}},{key:"renderAxisLine",value:function(){var e=this.props,t=e.cx,n=e.cy,r=e.radius,o=e.axisLine,l=e.axisLineType,a=P(P({},(0,c.J9)(this.props,!1)),{},{fill:"none"},(0,c.J9)(o,!1));if("circle"===l)return i.createElement(s.c,A({className:"recharts-polar-angle-axis-line"},a,{cx:t,cy:n,r:r}));var u=this.props.ticks.map(function(e){return(0,w.IZ)(t,n,r,e.coordinate)});return i.createElement(x,A({className:"recharts-polar-angle-axis-line"},a,{points:u}))}},{key:"renderTicks",value:function(){var e=this,t=this.props,n=t.ticks,o=t.tick,l=t.tickLine,s=t.tickFormatter,f=t.stroke,p=(0,c.J9)(this.props,!1),d=(0,c.J9)(o,!1),h=P(P({},p),{},{fill:"none"},(0,c.J9)(l,!1)),m=n.map(function(t,n){var c=e.getTickLineCoord(t),m=P(P(P({textAnchor:e.getTickTextAnchor(t)},p),{},{stroke:"none",fill:f},d),{},{index:n,payload:t,x:c.x2,y:c.y2});return i.createElement(u.W,A({className:(0,a.A)("recharts-polar-angle-axis-tick",(0,w.Zk)(o)),key:"tick-".concat(t.coordinate)},(0,b.XC)(e.props,t,n)),l&&i.createElement("line",A({className:"recharts-polar-angle-axis-tick-line"},h,c)),o&&r.renderTickItem(o,m,s?s(t.value,n):t.value))});return i.createElement(u.W,{className:"recharts-polar-angle-axis-ticks"},m)}},{key:"render",value:function(){var e=this.props,t=e.ticks,n=e.radius,r=e.axisLine;return!(n<=0)&&t&&t.length?i.createElement(u.W,{className:(0,a.A)("recharts-polar-angle-axis",this.props.className)},r&&this.renderAxisLine(),this.renderTicks()):null}}],n=[{key:"renderTickItem",value:function(e,t,n){return i.isValidElement(e)?i.cloneElement(e,t):l()(e)?e(t):i.createElement(k.E,A({},t,{className:"recharts-polar-angle-axis-tick-value"}),n)}}],t&&O(r.prototype,t),n&&O(r,n),Object.defineProperty(r,"prototype",{writable:!1}),r}(i.PureComponent);L(M,"displayName","PolarAngleAxis"),L(M,"axisType","angleAxis"),L(M,"defaultProps",{type:"category",angleAxisId:0,scale:"auto",cx:0,cy:0,orientation:"outer",axisLine:!0,tickLine:!0,tickSize:8,tick:!0,hide:!1,allowDuplicatedCategory:!0});var R=n(59690),z=n.n(R),F=n(93604),N=n.n(F),_=n(35555),B=["cx","cy","angle","ticks","axisLine"],U=["ticks","tick","angle","tickFormatter","stroke"];function H(e){return(H="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function V(){return(V=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function J(e,t){for(var n=0;n{"use strict";var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,n=/\n/g,r=/^\s*/,i=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,o=/^:\s*/,l=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,a=/^[;\s]*/,u=/^\s+|\s+$/g;function s(e){return e?e.replace(u,""):""}e.exports=function(e,u){if("string"!=typeof e)throw TypeError("First argument must be a string");if(!e)return[];u=u||{};var c=1,f=1;function p(e){var t=e.match(n);t&&(c+=t.length);var r=e.lastIndexOf("\n");f=~r?e.length-r:f+e.length}function d(){var e={line:c,column:f};return function(t){return t.position=new h(e),g(r),t}}function h(e){this.start=e,this.end={line:c,column:f},this.source=u.source}function m(t){var n=Error(u.source+":"+c+":"+f+": "+t);if(n.reason=t,n.filename=u.source,n.line=c,n.column=f,n.source=e,u.silent);else throw n}function g(t){var n=t.exec(e);if(n){var r=n[0];return p(r),e=e.slice(r.length),n}}function y(e){var t;for(e=e||[];t=v();)!1!==t&&e.push(t);return e}function v(){var t=d();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var n=2;""!=e.charAt(n)&&("*"!=e.charAt(n)||"/"!=e.charAt(n+1));)++n;if(n+=2,""===e.charAt(n-1))return m("End of comment missing");var r=e.slice(2,n-2);return f+=2,p(r),e=e.slice(n),f+=2,t({type:"comment",comment:r})}}h.prototype.content=e,g(r);var x,k=[];for(y(k);x=function(){var e=d(),n=g(i);if(n){if(v(),!g(o))return m("property missing ':'");var r=g(l),u=e({type:"declaration",property:s(n[0].replace(t,"")),value:r?s(r[0].replace(t,"")):""});return g(a),u}}();)!1!==x&&(k.push(x),y(k));return k}},53353:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});var r=(0,n(41495).A)("outline","chart-pie","IconChartPie",[["path",{d:"M10 3.2a9 9 0 1 0 10.8 10.8a1 1 0 0 0 -1 -1h-6.8a2 2 0 0 1 -2 -2v-7a.9 .9 0 0 0 -1 -.8",key:"svg-0"}],["path",{d:"M15 3.5a9 9 0 0 1 5.5 5.5h-4.5a1 1 0 0 1 -1 -1v-4.5",key:"svg-1"}]])},59690:(e,t,n)=>{var r=n(19962),i=n(70930),o=n(68988);e.exports=function(e,t){return e&&e.length?r(e,o(t,2),i):void 0}},65248:(e,t,n)=>{"use strict";n.d(t,{F:()=>N});var r=n(55729),i=n(92224),o=n(60449),l=n.n(o),a=n(83817),u=n.n(a),s=n(38822),c=n.n(s),f=n(98499),p=n.n(f),d=n(50212),h=n(3780),m=n(56464),g=n(25599),y=n(35555),v=n(78895),x=n(53259),k=n(93780),b=n(88859),w=n(31829),S=n(53645),A=n(1509),E=n(7571),P=n(27281),O=n(52797);function C(e){return(C="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function T(){return(T=Object.assign?Object.assign.bind():function(e){for(var t=1;t0?l()(e,"paddingAngle",0):0;if(n){var u=(0,S.Dj)(n.endAngle-n.startAngle,e.endAngle-e.startAngle),s=L(L({},e),{},{startAngle:a+r,endAngle:a+u(i)+r});o.push(s),a=s.endAngle}else{var c=e.endAngle,f=e.startAngle,d=(0,S.Dj)(0,c-f)(i),h=L(L({},e),{},{startAngle:a+r,endAngle:a+d+r});o.push(h),a=h.endAngle}}),r.createElement(h.W,null,e.renderSectorsStatically(o))})}},{key:"attachKeyboardHandlers",value:function(e){var t=this;e.onkeydown=function(e){if(!e.altKey)switch(e.key){case"ArrowLeft":var n=++t.state.sectorToFocus%t.sectorRefs.length;t.sectorRefs[n].focus(),t.setState({sectorToFocus:n});break;case"ArrowRight":var r=--t.state.sectorToFocus<0?t.sectorRefs.length-1:t.state.sectorToFocus%t.sectorRefs.length;t.sectorRefs[r].focus(),t.setState({sectorToFocus:r});break;case"Escape":t.sectorRefs[t.state.sectorToFocus].blur(),t.setState({sectorToFocus:0})}}}},{key:"renderSectors",value:function(){var e=this.props,t=e.sectors,n=e.isAnimationActive,r=this.state.prevSectors;return n&&t&&t.length&&(!r||!u()(r,t))?this.renderSectorsWithAnimation():this.renderSectorsStatically(t)}},{key:"componentDidMount",value:function(){this.pieRef&&this.attachKeyboardHandlers(this.pieRef)}},{key:"render",value:function(){var e=this,t=this.props,n=t.hide,i=t.sectors,o=t.className,l=t.label,a=t.cx,u=t.cy,s=t.innerRadius,c=t.outerRadius,f=t.isAnimationActive,p=this.state.isAnimationFinished;if(n||!i||!i.length||!(0,S.Et)(a)||!(0,S.Et)(u)||!(0,S.Et)(s)||!(0,S.Et)(c))return null;var m=(0,d.A)("recharts-pie",o);return r.createElement(h.W,{tabIndex:this.props.rootTabIndex,className:m,ref:function(t){e.pieRef=t}},this.renderSectors(),l&&this.renderLabels(i),y.J.renderCallByParent(this.props,null,!1),(!f||p)&&v.Z.renderCallByParent(this.props,i,!1))}}],n=[{key:"getDerivedStateFromProps",value:function(e,t){return t.prevIsAnimationActive!==e.isAnimationActive?{prevIsAnimationActive:e.isAnimationActive,prevAnimationId:e.animationId,curSectors:e.sectors,prevSectors:[],isAnimationFinished:!0}:e.isAnimationActive&&e.animationId!==t.prevAnimationId?{prevAnimationId:e.animationId,curSectors:e.sectors,prevSectors:t.curSectors,isAnimationFinished:!0}:e.sectors!==t.curSectors?{curSectors:e.sectors,isAnimationFinished:!0}:null}},{key:"getTextAnchor",value:function(e,t){return e>t?"start":e=360?b:b-1)*f,O=l.reduce(function(e,t){var n=(0,A.kr)(t,k,0);return e+((0,S.Et)(n)?n:0)},0);return O>0&&(t=l.map(function(e,t){var r,i=(0,A.kr)(e,k,0),o=(0,A.kr)(e,d,t),l=((0,S.Et)(i)?i:0)/O,s=(r=t?n.endAngle+(0,S.sA)(v)*f*(0!==i):u)+(0,S.sA)(v)*((0!==i?g:0)+l*P),c=(r+s)/2,p=(y.innerRadius+y.outerRadius)/2,h=[{name:o,value:i,payload:e,dataKey:k,type:m}],x=(0,w.IZ)(y.cx,y.cy,p,c);return n=L(L(L({percent:l,cornerRadius:a,name:o,tooltipPayload:h,midAngle:c,middleRadius:p,tooltipPosition:x},e),y),{},{value:(0,A.kr)(e,k),startAngle:r,endAngle:s,payload:e,paddingAngle:(0,S.sA)(v)*f})})),L(L({},y),{},{sectors:t,data:l})})},69164:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});var r=(0,n(41495).A)("outline","currency-dollar","IconCurrencyDollar",[["path",{d:"M16.7 8a3 3 0 0 0 -2.7 -2h-4a3 3 0 0 0 0 6h4a3 3 0 0 1 0 6h-4a3 3 0 0 1 -2.7 -2",key:"svg-0"}],["path",{d:"M12 3v3m0 12v3",key:"svg-1"}]])},72756:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.camelCase=void 0;var n=/^--[a-zA-Z0-9_-]+$/,r=/-([a-z])/g,i=/^[^-]+$/,o=/^-(webkit|moz|ms|o|khtml)-/,l=/^-(ms)-/,a=function(e,t){return t.toUpperCase()},u=function(e,t){return"".concat(t,"-")};t.camelCase=function(e,t){var s;return(void 0===t&&(t={}),!(s=e)||i.test(s)||n.test(s))?e:(e=e.toLowerCase(),(e=t.reactCompat?e.replace(l,u):e.replace(o,u)).replace(r,a))}},81077:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});var r=(0,n(41495).A)("outline","numbers","IconNumbers",[["path",{d:"M8 10v-7l-2 2",key:"svg-0"}],["path",{d:"M6 16a2 2 0 1 1 4 0c0 .591 -.601 1.46 -1 2l-3 3h4",key:"svg-1"}],["path",{d:"M15 14a2 2 0 1 0 2 -2a2 2 0 1 0 -2 -2",key:"svg-2"}],["path",{d:"M6.5 10h3",key:"svg-3"}]])},93003:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});var r=(0,n(41495).A)("outline","percentage","IconPercentage",[["path",{d:"M17 17m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0",key:"svg-0"}],["path",{d:"M7 7m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0",key:"svg-1"}],["path",{d:"M6 18l12 -12",key:"svg-2"}]])},93604:(e,t,n)=>{var r=n(19962),i=n(68988),o=n(13917);e.exports=function(e,t){return e&&e.length?r(e,i(t,2),o):void 0}}}]);
\ No newline at end of file
diff --git a/out/_next/static/chunks/9979-07c2d4f838abbdd7.js b/out/_next/static/chunks/9979-07c2d4f838abbdd7.js
new file mode 100644
index 0000000..d639fe3
--- /dev/null
+++ b/out/_next/static/chunks/9979-07c2d4f838abbdd7.js
@@ -0,0 +1,4 @@
+(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9979],{831:(e,t,n)=>{var r=n(68988),o=n(22180);e.exports=function(e,t){return e&&e.length?o(e,r(t,2)):[]}},1509:(e,t,n)=>{"use strict";n.d(t,{s0:()=>rx,gH:()=>rg,YB:()=>rk,HQ:()=>rM,xi:()=>r_,Hj:()=>r$,BX:()=>rb,tA:()=>rm,DW:()=>rL,y2:()=>rB,nb:()=>rF,PW:()=>rj,Ay:()=>ry,vf:()=>rS,Mk:()=>rV,Ps:()=>rv,Mn:()=>rD,kA:()=>rz,Rh:()=>rE,w7:()=>rN,zb:()=>rq,kr:()=>rh,_L:()=>rA,KC:()=>rW,A1:()=>rO,W7:()=>rC,AQ:()=>rG,_f:()=>rT});var r,o,i,a,l,u,c,s={};n.r(s),n.d(s,{scaleBand:()=>f.A,scaleDiverging:()=>function e(){var t=Y(nd()(_));return t.copy=function(){return ns(t,e())},B.K.apply(t,arguments)},scaleDivergingLog:()=>function e(){var t=ei(nd()).domain([.1,1,10]);return t.copy=function(){return ns(t,e()).base(t.base())},B.K.apply(t,arguments)},scaleDivergingPow:()=>nh,scaleDivergingSqrt:()=>ny,scaleDivergingSymlog:()=>function e(){var t=eu(nd());return t.copy=function(){return ns(t,e()).constant(t.constant())},B.K.apply(t,arguments)},scaleIdentity:()=>function e(t){var n;function r(e){return null==e||isNaN(e*=1)?n:e}return r.invert=r,r.domain=r.range=function(e){return arguments.length?(t=Array.from(e,C),r):t.slice()},r.unknown=function(e){return arguments.length?(n=e,r):n},r.copy=function(){return e(t).unknown(n)},t=arguments.length?Array.from(t,C):[0,1],Y(r)},scaleImplicit:()=>ec.h,scaleLinear:()=>J,scaleLog:()=>function e(){let t=ei(N()).domain([1,10]);return t.copy=()=>D(t,e()).base(t.base()),B.C.apply(t,arguments),t},scaleOrdinal:()=>ec.A,scalePoint:()=>f.z,scalePow:()=>eh,scaleQuantile:()=>function e(){var t,n=[],r=[],o=[];function i(){var e=0,t=Math.max(1,r.length);for(o=Array(t-1);++e=1)return+n(e[r-1],r-1,e);var r,o=(r-1)*t,i=Math.floor(o),a=+n(e[i],i,e);return a+(n(e[i+1],i+1,e)-a)*(o-i)}}(n,e/t);return a}function a(e){return null==e||isNaN(e*=1)?t:r[j(o,e)]}return a.invertExtent=function(e){var t=r.indexOf(e);return t<0?[NaN,NaN]:[t>0?o[t-1]:n[0],tfunction e(){var t,n=0,r=1,o=1,i=[.5],a=[0,1];function l(e){return null!=e&&e<=e?a[j(i,e,0,o)]:t}function u(){var e=-1;for(i=Array(o);++e=o?[i[o-1],r]:[i[t-1],i[t]]},l.unknown=function(e){return arguments.length&&(t=e),l},l.thresholds=function(){return i.slice()},l.copy=function(){return e().domain([n,r]).range(a).unknown(t)},B.C.apply(Y(l),arguments)},scaleRadial:()=>function e(){var t,n=F(),r=[0,1],o=!1;function i(e){var r,i=Math.sign(r=n(e))*Math.sqrt(Math.abs(r));return isNaN(i)?t:o?Math.round(i):i}return i.invert=function(e){return n.invert(eg(e))},i.domain=function(e){return arguments.length?(n.domain(e),i):n.domain()},i.range=function(e){return arguments.length?(n.range((r=Array.from(e,C)).map(eg)),i):r.slice()},i.rangeRound=function(e){return i.range(e).round(!0)},i.round=function(e){return arguments.length?(o=!!e,i):o},i.clamp=function(e){return arguments.length?(n.clamp(e),i):n.clamp()},i.unknown=function(e){return arguments.length?(t=e,i):t},i.copy=function(){return e(n.domain(),r).round(o).clamp(n.clamp()).unknown(t)},B.C.apply(i,arguments),Y(i)},scaleSequential:()=>function e(){var t=Y(nc()(_));return t.copy=function(){return ns(t,e())},B.K.apply(t,arguments)},scaleSequentialLog:()=>function e(){var t=ei(nc()).domain([1,10]);return t.copy=function(){return ns(t,e()).base(t.base())},B.K.apply(t,arguments)},scaleSequentialPow:()=>nf,scaleSequentialQuantile:()=>function e(){var t=[],n=_;function r(e){if(null!=e&&!isNaN(e*=1))return n((j(t,e,1)-1)/(t.length-1))}return r.domain=function(e){if(!arguments.length)return t.slice();for(let n of(t=[],e))null==n||isNaN(n*=1)||t.push(n);return t.sort(b),r},r.interpolator=function(e){return arguments.length?(n=e,r):n},r.range=function(){return t.map((e,r)=>n(r/(t.length-1)))},r.quantiles=function(e){return Array.from({length:e+1},(n,r)=>(function(e,t,n){if(!(!(r=(e=Float64Array.from(function*(e,t){if(void 0===t)for(let t of e)null!=t&&(t*=1)>=t&&(yield t);else{let n=-1;for(let r of e)null!=(r=t(r,++n,e))&&(r*=1)>=r&&(yield r)}}(e,void 0))).length)||isNaN(t*=1))){if(t<=0||r<2)return em(e);if(t>=1)return ev(e);var r,o=(r-1)*t,i=Math.floor(o),a=ev((function e(t,n,r=0,o=1/0,i){if(n=Math.floor(n),r=Math.floor(Math.max(0,r)),o=Math.floor(Math.min(t.length-1,o)),!(r<=n&&n<=o))return t;for(i=void 0===i?eb:function(e=b){if(e===b)return eb;if("function"!=typeof e)throw TypeError("compare is not a function");return(t,n)=>{let r=e(t,n);return r||0===r?r:(0===e(n,n))-(0===e(t,t))}}(i);o>r;){if(o-r>600){let a=o-r+1,l=n-r+1,u=Math.log(a),c=.5*Math.exp(2*u/3),s=.5*Math.sqrt(u*c*(a-c)/a)*(l-a/2<0?-1:1),f=Math.max(r,Math.floor(n-l*c/a+s)),p=Math.min(o,Math.floor(n+(a-l)*c/a+s));e(t,n,f,p,i)}let a=t[n],l=r,u=o;for(ex(t,r,n),i(t[o],a)>0&&ex(t,r,o);li(t[l],a);)++l;for(;i(t[u],a)>0;)--u}0===i(t[r],a)?ex(t,r,u):ex(t,++u,o),u<=n&&(r=u+1),n<=u&&(o=u-1)}return t})(e,i).subarray(0,i+1));return a+(em(e.subarray(i+1))-a)*(o-i)}})(t,r/e))},r.copy=function(){return e(n).domain(t)},B.K.apply(r,arguments)},scaleSequentialSqrt:()=>np,scaleSequentialSymlog:()=>function e(){var t=eu(nc());return t.copy=function(){return ns(t,e()).constant(t.constant())},B.K.apply(t,arguments)},scaleSqrt:()=>ey,scaleSymlog:()=>function e(){var t=eu(N());return t.copy=function(){return D(t,e()).constant(t.constant())},B.C.apply(t,arguments)},scaleThreshold:()=>function e(){var t,n=[.5],r=[0,1],o=1;function i(e){return null!=e&&e<=e?r[j(n,e,0,o)]:t}return i.domain=function(e){return arguments.length?(o=Math.min((n=Array.from(e)).length,r.length-1),i):n.slice()},i.range=function(e){return arguments.length?(r=Array.from(e),o=Math.min(n.length,r.length-1),i):r.slice()},i.invertExtent=function(e){var t=r.indexOf(e);return[n[t-1],n[t]]},i.unknown=function(e){return arguments.length?(t=e,i):t},i.copy=function(){return e().domain(n).range(r).unknown(t)},B.C.apply(i,arguments)},scaleTime:()=>nl,scaleUtc:()=>nu,tickFormat:()=>K});var f=n(49726);let p=Math.sqrt(50),d=Math.sqrt(10),h=Math.sqrt(2);function y(e,t,n){let r,o,i,a=(t-e)/Math.max(0,n),l=Math.floor(Math.log10(a)),u=a/Math.pow(10,l),c=u>=p?10:u>=d?5:u>=h?2:1;return(l<0?(r=Math.round(e*(i=Math.pow(10,-l)/c)),o=Math.round(t*i),r/it&&--o,i=-i):(r=Math.round(e/(i=Math.pow(10,l)*c)),o=Math.round(t/i),r*it&&--o),o0))return[];if(e===t)return[e];let r=t=o))return[];let l=i-o+1,u=Array(l);if(r)if(a<0)for(let e=0;et?1:e>=t?0:NaN}function x(e,t){return null==e||null==t?NaN:te?1:t>=e?0:NaN}function w(e){let t,n,r;function o(e,r,i=0,a=e.length){if(i>>1;0>n(e[t],r)?i=t+1:a=t}while(ib(e(t),n),r=(t,n)=>e(t)-n):(t=e===b||e===x?e:O,n=e,r=e),{left:o,center:function(e,t,n=0,i=e.length){let a=o(e,t,n,i-1);return a>n&&r(e[a-1],t)>-r(e[a],t)?a-1:a},right:function(e,r,o=0,i=e.length){if(o>>1;0>=n(e[t],r)?o=t+1:i=t}while(ot&&(n=e,e=t,t=n),c=function(n){return Math.max(e,Math.min(t,n))}),r=u>2?R:I,o=i=null,f}function f(t){return null==t||isNaN(t*=1)?n:(o||(o=r(a.map(e),l,u)))(e(c(t)))}return f.invert=function(n){return c(t((i||(i=r(l,a.map(e),P.A)))(n)))},f.domain=function(e){return arguments.length?(a=Array.from(e,C),s()):a.slice()},f.range=function(e){return arguments.length?(l=Array.from(e),s()):l.slice()},f.rangeRound=function(e){return l=Array.from(e),u=M,s()},f.clamp=function(e){return arguments.length?(c=!!e||_,s()):c!==_},f.interpolate=function(e){return arguments.length?(u=e,s()):u},f.unknown=function(e){return arguments.length?(n=e,f):n},function(n,r){return e=n,t=r,s()}}function F(){return N()(_,_)}var B=n(58905),L=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function z(e){var t;if(!(t=L.exec(e)))throw Error("invalid format: "+e);return new V({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 V(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 U(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 H(e){return(e=U(Math.abs(e)))?e[1]:NaN}function G(e,t){var n=U(e,t);if(!n)return e+"";var r=n[0],o=n[1];return o<0?"0."+Array(-o).join("0")+r:r.length>o+1?r.slice(0,o+1)+"."+r.slice(o+1):r+Array(o-r.length+2).join("0")}z.prototype=V.prototype,V.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};let $={"%":(e,t)=>(100*e).toFixed(t),b:e=>Math.round(e).toString(2),c:e=>e+"",d:function(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)},e:(e,t)=>e.toExponential(t),f:(e,t)=>e.toFixed(t),g:(e,t)=>e.toPrecision(t),o:e=>Math.round(e).toString(8),p:(e,t)=>G(100*e,t),r:G,s:function(e,t){var n=U(e,t);if(!n)return e+"";var o=n[0],i=n[1],a=i-(r=3*Math.max(-8,Math.min(8,Math.floor(i/3))))+1,l=o.length;return a===l?o:a>l?o+Array(a-l+1).join("0"):a>0?o.slice(0,a)+"."+o.slice(a):"0."+Array(1-a).join("0")+U(e,Math.max(0,t+a-1))[0]},X:e=>Math.round(e).toString(16).toUpperCase(),x:e=>Math.round(e).toString(16)};function W(e){return e}var q=Array.prototype.map,X=["y","z","a","f","p","n","\xb5","m","","k","M","G","T","P","E","Z","Y"];function K(e,t,n,r){var o,l,u=m(e,t,n);switch((r=z(null==r?",f":r)).type){case"s":var c=Math.max(Math.abs(e),Math.abs(t));return null!=r.precision||isNaN(l=Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(H(c)/3)))-H(Math.abs(u))))||(r.precision=l),a(r,c);case"":case"e":case"g":case"p":case"r":null!=r.precision||isNaN(l=Math.max(0,H(Math.abs(Math.max(Math.abs(e),Math.abs(t)))-(o=Math.abs(o=u)))-H(o))+1)||(r.precision=l-("e"===r.type));break;case"f":case"%":null!=r.precision||isNaN(l=Math.max(0,-H(Math.abs(u))))||(r.precision=l-("%"===r.type)*2)}return i(r)}function Y(e){var t=e.domain;return e.ticks=function(e){var n=t();return g(n[0],n[n.length-1],null==e?10:e)},e.tickFormat=function(e,n){var r=t();return K(r[0],r[r.length-1],null==e?10:e,n)},e.nice=function(n){null==n&&(n=10);var r,o,i=t(),a=0,l=i.length-1,u=i[a],c=i[l],s=10;for(c0;){if((o=v(u,c,n))===r)return i[a]=u,i[l]=c,t(i);if(o>0)u=Math.floor(u/o)*o,c=Math.ceil(c/o)*o;else if(o<0)u=Math.ceil(u*o)/o,c=Math.floor(c*o)/o;else break;r=o}return e},e}function J(){var e=F();return e.copy=function(){return D(e,J())},B.C.apply(e,arguments),Y(e)}function Z(e,t){e=e.slice();var n,r=0,o=e.length-1,i=e[r],a=e[o];return a-e(-t,n)}function ei(e){let t,n,r=e(Q,ee),o=r.domain,a=10;function l(){var i,l;return t=(i=a)===Math.E?Math.log:10===i&&Math.log10||2===i&&Math.log2||(i=Math.log(i),e=>Math.log(e)/i),n=10===(l=a)?er:l===Math.E?Math.exp:e=>Math.pow(l,e),o()[0]<0?(t=eo(t),n=eo(n),e(et,en)):e(Q,ee),r}return r.base=function(e){return arguments.length?(a=+e,l()):a},r.domain=function(e){return arguments.length?(o(e),l()):o()},r.ticks=e=>{let r,i,l=o(),u=l[0],c=l[l.length-1],s=c0){for(;f<=p;++f)for(r=1;rc)break;h.push(i)}}else for(;f<=p;++f)for(r=a-1;r>=1;--r)if(!((i=f>0?r/n(-f):r*n(f))c)break;h.push(i)}2*h.length{if(null==e&&(e=10),null==o&&(o=10===a?"s":","),"function"!=typeof o&&(a%1||null!=(o=z(o)).precision||(o.trim=!0),o=i(o)),e===1/0)return o;let l=Math.max(1,a*e/r.ticks().length);return e=>{let r=e/n(Math.round(t(e)));return r*ao(Z(o(),{floor:e=>n(Math.floor(t(e))),ceil:e=>n(Math.ceil(t(e)))})),r}function ea(e){return function(t){return Math.sign(t)*Math.log1p(Math.abs(t/e))}}function el(e){return function(t){return Math.sign(t)*Math.expm1(Math.abs(t))*e}}function eu(e){var t=1,n=e(ea(1),el(t));return n.constant=function(n){return arguments.length?e(ea(t=+n),el(t)):t},Y(n)}i=(o=function(e){var t,n,o,i=void 0===e.grouping||void 0===e.thousands?W:(t=q.call(e.grouping,Number),n=e.thousands+"",function(e,r){for(var o=e.length,i=[],a=0,l=t[0],u=0;o>0&&l>0&&(u+l+1>r&&(l=Math.max(1,r-u)),i.push(e.substring(o-=l,o+l)),!((u+=l+1)>r));)l=t[a=(a+1)%t.length];return i.reverse().join(n)}),a=void 0===e.currency?"":e.currency[0]+"",l=void 0===e.currency?"":e.currency[1]+"",u=void 0===e.decimal?".":e.decimal+"",c=void 0===e.numerals?W:(o=q.call(e.numerals,String),function(e){return e.replace(/[0-9]/g,function(e){return o[+e]})}),s=void 0===e.percent?"%":e.percent+"",f=void 0===e.minus?"−":e.minus+"",p=void 0===e.nan?"NaN":e.nan+"";function d(e){var t=(e=z(e)).fill,n=e.align,o=e.sign,d=e.symbol,h=e.zero,y=e.width,g=e.comma,v=e.precision,m=e.trim,b=e.type;"n"===b?(g=!0,b="g"):$[b]||(void 0===v&&(v=12),m=!0,b="g"),(h||"0"===t&&"="===n)&&(h=!0,t="0",n="=");var x="$"===d?a:"#"===d&&/[boxX]/.test(b)?"0"+b.toLowerCase():"",w="$"===d?l:/[%p]/.test(b)?s:"",O=$[b],S=/[defgprs%]/.test(b);function A(e){var a,l,s,d=x,A=w;if("c"===b)A=O(e)+A,e="";else{var j=(e*=1)<0||1/e<0;if(e=isNaN(e)?p:O(Math.abs(e),v),m&&(e=function(e){e:for(var t,n=e.length,r=1,o=-1;r0&&(o=0)}return o>0?e.slice(0,o)+e.slice(t+1):e}(e)),j&&0==+e&&"+"!==o&&(j=!1),d=(j?"("===o?o:f:"-"===o||"("===o?"":o)+d,A=("s"===b?X[8+r/3]:"")+A+(j&&"("===o?")":""),S){for(a=-1,l=e.length;++a(s=e.charCodeAt(a))||s>57){A=(46===s?u+e.slice(a+1):e.slice(a))+A,e=e.slice(0,a);break}}}g&&!h&&(e=i(e,1/0));var E=d.length+e.length+A.length,P=E>1)+d+e+A+P.slice(E);break;default:e=P+d+e+A}return c(e)}return v=void 0===v?6:/[gprs]/.test(b)?Math.max(1,Math.min(21,v)):Math.max(0,Math.min(20,v)),A.toString=function(){return e+""},A}return{format:d,formatPrefix:function(e,t){var n=d(((e=z(e)).type="f",e)),r=3*Math.max(-8,Math.min(8,Math.floor(H(t)/3))),o=Math.pow(10,-r),i=X[8+r/3];return function(e){return n(o*e)+i}}}}({thousands:",",grouping:[3],currency:["$",""]})).format,a=o.formatPrefix;var ec=n(41499);function es(e){return function(t){return t<0?-Math.pow(-t,e):Math.pow(t,e)}}function ef(e){return e<0?-Math.sqrt(-e):Math.sqrt(e)}function ep(e){return e<0?-e*e:e*e}function ed(e){var t=e(_,_),n=1;return t.exponent=function(t){return arguments.length?1==(n=+t)?e(_,_):.5===n?e(ef,ep):e(es(n),es(1/n)):n},Y(t)}function eh(){var e=ed(N());return e.copy=function(){return D(e,eh()).exponent(e.exponent())},B.C.apply(e,arguments),e}function ey(){return eh.apply(null,arguments).exponent(.5)}function eg(e){return Math.sign(e)*e*e}function ev(e,t){let n;if(void 0===t)for(let t of e)null!=t&&(n=t)&&(n=t);else{let r=-1;for(let o of e)null!=(o=t(o,++r,e))&&(n=o)&&(n=o)}return n}function em(e,t){let n;if(void 0===t)for(let t of e)null!=t&&(n>t||void 0===n&&t>=t)&&(n=t);else{let r=-1;for(let o of e)null!=(o=t(o,++r,e))&&(n>o||void 0===n&&o>=o)&&(n=o)}return n}function eb(e,t){return(null==e||!(e>=e))-(null==t||!(t>=t))||(et))}function ex(e,t,n){let r=e[t];e[t]=e[n],e[n]=r}let ew=new Date,eO=new Date;function eS(e,t,n,r){function o(t){return e(t=0==arguments.length?new Date:new Date(+t)),t}return o.floor=t=>(e(t=new Date(+t)),t),o.ceil=n=>(e(n=new Date(n-1)),t(n,1),e(n),n),o.round=e=>{let t=o(e),n=o.ceil(e);return e-t