iobroker.influxdb 5.2.3 → 5.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (46) hide show
  1. package/README.md +50 -13
  2. package/admin/custom/assets/Components-C-Y8cQ_B.js +1 -0
  3. package/admin/custom/assets/DataBrowser-6hLEaLYk.js +7 -0
  4. package/admin/custom/assets/_virtual_mf-localSharedImportMap___mfe_internal__InfluxDBComponentsSet__mf_owner__1-CPvcRe75.js +1 -0
  5. package/admin/custom/assets/{_virtual_mf___mfe_internal__InfluxDBComponentsSet__mf_owner__97835354470012__loadShare___mf_0_iobroker_mf_1_gui_mf_2_components__loadShare__.js-BA4yqBXv.js → _virtual_mf___mfe_internal__InfluxDBComponentsSet__mf_owner__200594337988309__loadShare___mf_0_iobroker_mf_1_gui_mf_2_components__loadShare__.js-CY7hmgKa.js} +1 -1
  6. package/admin/custom/assets/_virtual_mf___mfe_internal__InfluxDBComponentsSet__mf_owner__200594337988309__loadShare__shared-Ci1JYVpq.js +2 -0
  7. package/admin/custom/assets/_virtual_mf___mfe_internal__InfluxDBComponentsSet__mf_owner__200594337988309__prebuild___mf_0_iobroker_mf_1_json_mf_2_config__prebuild__-2rK8ENo-.js +122 -0
  8. package/admin/custom/assets/{_virtual_mf___mfe_internal__InfluxDBComponentsSet__mf_owner__97835354470012__prebuild__react_mf_1_jsx_mf_2_runtime__prebuild__-M61rjtmp.js → _virtual_mf___mfe_internal__InfluxDBComponentsSet__mf_owner__200594337988309__prebuild__react_mf_1_jsx_mf_2_runtime__prebuild__--SURtz9t.js} +1 -1
  9. package/admin/custom/assets/{_virtual_mf___mfe_internal__InfluxDBComponentsSet__mf_owner__97835354470012__prebuild__react_mf_2_dom_mf_1_client__prebuild__-Cxrvam_t.js → _virtual_mf___mfe_internal__InfluxDBComponentsSet__mf_owner__200594337988309__prebuild__react_mf_2_dom_mf_1_client__prebuild__-tDeuAm9G.js} +1 -1
  10. package/admin/custom/assets/hostInit-DW97V0Nc.js +1 -0
  11. package/admin/custom/assets/index-DVl6AAOE.js +1 -0
  12. package/admin/custom/assets/{lib-p5eChX5b.js → lib-DPTj89wM.js} +1 -1
  13. package/admin/custom/assets/{mf-entry-bootstrap-0-defd8d52.js → mf-entry-bootstrap-0-5eb026a4.js} +3 -3
  14. package/admin/custom/assets/pendingShares-cAZUdGMp.js +2 -0
  15. package/admin/custom/customComponents.js +2 -2
  16. package/admin/custom/i18n/de.json +14 -0
  17. package/admin/custom/i18n/en.json +14 -0
  18. package/admin/custom/i18n/es.json +14 -0
  19. package/admin/custom/i18n/fr.json +14 -0
  20. package/admin/custom/i18n/it.json +14 -0
  21. package/admin/custom/i18n/nl.json +14 -0
  22. package/admin/custom/i18n/pl.json +14 -0
  23. package/admin/custom/i18n/pt.json +14 -0
  24. package/admin/custom/i18n/ru.json +14 -0
  25. package/admin/custom/i18n/uk.json +14 -0
  26. package/admin/custom/i18n/zh-cn.json +14 -0
  27. package/admin/custom/mf-manifest.json +1 -1
  28. package/admin/jsonConfig.json +3 -0
  29. package/build/lib/Database.js +10 -3
  30. package/build/lib/Database.js.map +1 -1
  31. package/build/lib/deleteRequests.js +163 -0
  32. package/build/lib/deleteRequests.js.map +1 -0
  33. package/build/lib/help.js +129 -0
  34. package/build/lib/help.js.map +1 -0
  35. package/build/main.js +99 -166
  36. package/build/main.js.map +1 -1
  37. package/io-package.json +33 -27
  38. package/package.json +2 -2
  39. package/admin/custom/assets/Components-r5Lt8Y3c.js +0 -1
  40. package/admin/custom/assets/DataBrowser-sMNr2zs7.js +0 -1
  41. package/admin/custom/assets/_virtual_mf-localSharedImportMap___mfe_internal__InfluxDBComponentsSet__mf_owner__1-CbZZL0d0.js +0 -1
  42. package/admin/custom/assets/_virtual_mf___mfe_internal__InfluxDBComponentsSet__mf_owner__97835354470012__loadShare__shared-QaKaFZVZ.js +0 -2
  43. package/admin/custom/assets/_virtual_mf___mfe_internal__InfluxDBComponentsSet__mf_owner__97835354470012__prebuild___mf_0_iobroker_mf_1_json_mf_2_config__prebuild__-JVokFcpF.js +0 -122
  44. package/admin/custom/assets/hostInit-B4Pb8BxG.js +0 -1
  45. package/admin/custom/assets/index-C8qlskOs.js +0 -1
  46. package/admin/custom/assets/pendingShares-BGQHb9Kb.js +0 -2
package/README.md CHANGED
@@ -300,6 +300,9 @@ SELECT mean("value") FROM "system.adapter.admin.0.memRss" WHERE $timeFilter GROU
300
300
 
301
301
  Most of these values can be pre-defined in the instance settings and are then pre-filled or used for the datapoint.
302
302
 
303
+ ## Messages for scripts and AI agents
304
+ `sendTo('influxdb.0', 'help', {})` answers `{help, commands}`: a description of all messages and of the measurement layout for AI agents (e.g. ioBroker.pi-agent) and script authors, and the list of all commands with `write: true` for the ones that change something.
305
+
303
306
  ## Access values from Javascript adapter
304
307
  The sorted values can be accessed from Javascript adapter.
305
308
 
@@ -439,7 +442,7 @@ Two queries:
439
442
  **NOTE:** By default, you cannot execute 2 queries at once via Flux-language, as there is no delimiter available. This adapter emulates this behaviour by defining `;` as delimiter, so you can still run two queries in one statement.
440
443
 
441
444
  ```javascript
442
- sendTo('influxdb.0', 'query', 'from(bucket: "iobroker") |> range(start: -3h); from(bucket: "iobroker") |> range(start: -1h)" LIMIT 100', function (result) {
445
+ sendTo('influxdb.0', 'query', 'from(bucket: "iobroker") |> range(start: -3h); from(bucket: "iobroker") |> range(start: -1h)', function (result) {
443
446
  if (result.error) {
444
447
  console.error(result.error);
445
448
  } else {
@@ -495,7 +498,7 @@ Additionally, you can add attribute `rules: true` in a message to activate all r
495
498
  In case of errors, an array with all single error messages is returned and also a successCount to see how many entries were stored successfully.
496
499
 
497
500
  ## delete state
498
- If you want to delete entry from the Database, you can use the build in system function `delete`:
501
+ If you want to delete entry from the Database, you can use the build in system function `delete`. It deletes the values with exactly the given `ts`:
499
502
 
500
503
  ```javascript
501
504
  sendTo('influxdb.0', 'delete', [
@@ -504,6 +507,8 @@ sendTo('influxdb.0', 'delete', [
504
507
  ], result => console.log('deleted'));
505
508
  ```
506
509
 
510
+ A single entry can be sent without the list (`{id: 'mbus.0.counter.xxx', state: {ts: 1589458809352}}` or `{id: 'mbus.0.counter.xxx', ts: 1589458809352}`), several values of one data point as `{id: 'mbus.0.counter.xxx', ts: [1589458809352, 1589458809353]}`.
511
+
507
512
  To delete ALL history data for some data point execute:
508
513
 
509
514
  ```javascript
@@ -522,10 +527,16 @@ sendTo('influxdb.0', 'deleteRange', [
522
527
  ], result => console.log('deleted'));
523
528
  ```
524
529
 
525
- Time could be ms since epoch or ans string, that could be converted by javascript Date object.
530
+ A single range can be sent without the list: `{id: 'mbus.0.counter.xxx', start: 1589458809352, end: 1589458809353}`. `start` is required, `end` is optional and defaults to now.
531
+
532
+ Time could be ms since epoch or a string, that could be converted by javascript Date object. `0` is a valid time.
526
533
 
527
534
  Values will be deleted including defined limits. `ts >= start AND ts <= end`
528
535
 
536
+ Every entry needs a valid `ts` (one value) or a valid `start` (a range; `end` alone is not accepted). If one entry has neither, the adapter answers with `{success: false, error}` naming it and deletes nothing, not even the valid entries of the same message. To delete all values of a data point, use `deleteAll`.
537
+
538
+ InfluxDB 3 can only delete whole data points: there `delete` and `deleteRange` answer with an error, only `deleteAll` works.
539
+
529
540
  ## change state
530
541
  If you want to change entry's value, quality or acknowledge flag in the database, you can use the build in system function `update`:
531
542
 
@@ -611,6 +622,32 @@ sendTo('influxdb.0', 'getEnabledDPs', {}, function (result) {
611
622
  });
612
623
  ```
613
624
 
625
+ ## Data browser and export
626
+
627
+ The **Data browser** tab of the instance configuration shows the values stored for a datapoint exactly as
628
+ they are in the database, and lets you insert, edit and delete single values.
629
+
630
+ The export button in its toolbar writes all values of the selected datapoint in the selected time range
631
+ into a file, oldest first:
632
+
633
+ - **CSV** with the columns `ts` (milliseconds since 1970, UTC), `time` (local time), `val`, `ack`, `q` and
634
+ `from`. Column and decimal separator can be chosen; the preselection (`;` and `,` for most languages,
635
+ `,` and `.` for English and Chinese) is what Excel usually expects with the language of the admin.
636
+ - **JSON** as an array of `{ts, val, ack, q, from}` - the format [`storeState`](#storestate) accepts, so
637
+ the values can be written back, e.g. to another datapoint:
638
+
639
+ ```javascript
640
+ const fs = require('fs');
641
+ const values = JSON.parse(fs.readFileSync('/opt/export/hm-rpc.0.ABC123.1.TEMPERATURE.json', 'utf8'));
642
+ sendTo('influxdb.0', 'storeState', { id: 'javascript.0.temperatureCopy', state: values }, result =>
643
+ console.log(JSON.stringify(result)),
644
+ );
645
+ ```
646
+
647
+ The export reads the range in time windows of a few thousand values each, so even a datapoint with
648
+ millions of values does not make InfluxDB sort everything at once. A very large export still takes a while
649
+ and needs the memory of the browser for the whole file.
650
+
614
651
  ## Statistics and cleanup
615
652
 
616
653
  The **Statistics** tab of the instance configuration lists every datapoint the database contains, with its
@@ -695,6 +732,16 @@ sendTo('influxdb.0', 'cleanupOrphaned', {
695
732
  Placeholder for the next version (at the beginning of the line):
696
733
  ### **WORK IN PROGRESS**
697
734
  -->
735
+ ### 5.4.0 (2026-11-19)
736
+ * (GermanBluefox) Fixed: `delete` / `deleteRange` without a valid `ts` or range no longer deletes all values of the state. A single `{id, state: {start, end}}`, a state without `ts` or with `ts: 0` deleted everything (InfluxDB 1.x since 2000, 2.x since 1970, 3.x the whole table), an unparsable `start` everything up to `end`. Such a message is refused now with an error and nothing is deleted; `{id, state: {start, end}}` and `{id, start, end}` delete the range, `ts: 0` the value at 0
737
+ * (GermanBluefox) Added the message "help": a description of all messages for AI agents (e.g. pi-agent), and `common.supportedMessages.help`
738
+
739
+ ### 5.3.1 (2026-11-17)
740
+ * (GermanBluefox) Fixed: timed relog leaked timers and wrote the skipped value multiple times when a state was set twice in quick succession (#595)
741
+ * (GermanBluefox) Data browser: the values of a datapoint can be exported as CSV (e.g. for Excel) or as JSON (the format of `storeState`) for the selected time range
742
+ - (copilot) Adapter requires node.js >= 22.19.0 now
743
+ * (GermanBluefox) InfluxDB 2.x: the `query` command with several Flux queries separated by `;` works again. Since 5.0 the queries were sent as one broken statement and InfluxDB answered with "invalid statement: ,". When one of several queries fails, the error names the failing query (#580)
744
+
698
745
  ### 5.2.3 (2026-10-29)
699
746
  * (GermanBluefox) `getHistory` accepts `intervalBorders`: the client can send the borders of the intervals itself, e.g. the local days of a chart. InfluxDB groups by equally long windows, so after a switch of the daylight saving time every window ended an hour away from the midnight and a value written at 23:59:59 was shown on the next day. With borders the values are read raw and aggregated by the adapter (ioBroker/ioBroker.echarts#1311)
700
747
  * (GermanBluefox) `getHistory` with a start reads the whole range of raw values again: `count` limited them for "onchange" too, so a chart line ended after the oldest 2000 (InfluxDB 1.x) or 500 (InfluxDB 2.x) values and ran straight to the right edge. Like in the sql and history adapters, `count` limits the raw values only for "none" and for a request without start (ioBroker/ioBroker.echarts#1275)
@@ -706,16 +753,6 @@ sendTo('influxdb.0', 'cleanupOrphaned', {
706
753
  ### 5.2.0 (2026-10-24)
707
754
  * (GermanBluefox) The cleanup dialog of the statistics tab has checkboxes, so only the selected datapoints are deleted (#565)
708
755
 
709
- ### 5.1.8 (2026-10-23)
710
- * (@GermanBluefox) The timed relog (`changesRelogInterval`) starts right after the adapter start or a change of the datapoint settings, not only with the first update of the state
711
-
712
- ### 5.1.7 (2026-10-21)
713
- * (@GermanBluefox) Points buffered by version 4.x (`influxdata.json`) are converted when read, instead of failing with "invalid float value for field 'q': undefined" on every flush (#517)
714
- * (@GermanBluefox) The ports of the docker containers (InfluxDB, Grafana) are reported to js-controller 8 as occupied (`registerUsedResource`). The port of the database itself is no longer counted as a port used by the instance
715
- * (@GermanBluefox) HTTP errors from InfluxDB (e.g. 500 "timeout") are no longer treated as a lost connection (#551)
716
- * (@GermanBluefox) Start values (`relogLastValueOnStart`) are written only once after the adapter start, not on every reconnect (#551)
717
- * (jhoos70) Added support for InfluxDB 3.x (Core and Enterprise): data is written with the line protocol and read with InfluxQL over HTTP (inspired by the InfluxDB 3 fork of [dirkhe](https://github.com/dirkhe/ioBroker.influxdb))
718
-
719
756
  [Older changelogs can be found there](CHANGELOG_OLD.md)
720
757
 
721
758
  ## License
@@ -0,0 +1 @@
1
+ import{An as e,Bn as t,En as n,Gt as r,H as i,Jr as a,Jt as o,Kt as s,L as c,Ln as l,O as u,On as d,Ot as f,Tn as p,Un as m,Ut as h,Wt as g,Xr as _,Yr as v,Yt as y,Zt as b,an as x,cn as S,en as C,f as w,fn as T,gn as E,hn as D,mn as O,pn as k,qt as A,rn as j,sn as M,tn as N,xn as P}from"./_virtual_mf___mfe_internal__InfluxDBComponentsSet__mf_owner__200594337988309__loadShare___mf_0_iobroker_mf_1_gui_mf_2_components__loadShare__.js-CY7hmgKa.js";import{t as F}from"./_virtual_mf___mfe_internal__InfluxDBComponentsSet__mf_owner__200594337988309__loadShare__shared-Ci1JYVpq.js";import{t as I}from"./DataBrowser-6hLEaLYk.js";var L={all:null,year:31536e6,month:2592e6},R={all:`influxdb_range_all`,year:`influxdb_range_year`,month:`influxdb_range_month`};function z(e){return e==null?`—`:e.toLocaleString()}function B(e){return e?new Date(e).toLocaleString():`—`}function V(e,t){let n=parseFloat(t);if(!(n>0))return e.map(e=>e.id);let r=Date.now()-n*24*36e5;return e.filter(e=>e.lastTs===null||e.lastTs<r).map(e=>e.id)}var H={active:`success`,loggingDisabled:`warning`,objectMissing:`error`},U={active:`influxdb_status_active`,loggingDisabled:`influxdb_status_disabled`,objectMissing:`influxdb_status_missing`},W={DataBrowser:I,Statistics:class extends F{constructor(e){super(e),Object.assign(this.state,{stats:null,summary:null,loading:!1,errorText:``,filter:``,range:`all`,sortField:`count`,sortAsc:!1,preview:null,selected:[],olderThanDays:``,includeDisabled:!1,deleting:!1,doneText:``})}async componentDidMount(){await super.componentDidMount(),this.props.alive&&await this.load()}async componentDidUpdate(e){this.props.alive&&!e.alive&&!this.state.stats&&await this.load()}get instance(){return`${this.props.oContext.adapterName}.${this.props.oContext.instance}`}async sendToInstance(e,t){let n=await this.props.oContext.socket.sendTo(this.instance,e,t);if(n!=null&&n.error)throw Error(n.error);return n}async load(){this.setState({loading:!0,errorText:``,doneText:``});try{let e=L[this.state.range],t=await this.sendToInstance(`getDpStatistics`,e?{start:Date.now()-e,end:Date.now()}:{});this.setState({stats:(t==null?void 0:t.result)||[],summary:(t==null?void 0:t.summary)||null,loading:!1})}catch(e){this.setState({loading:!1,stats:[],summary:null,errorText:e.message})}}async requestPreview(e){this.setState({loading:!0,errorText:``});try{let t=await this.sendToInstance(`cleanupOrphaned`,{scope:{objectMissing:!0,loggingDisabled:e}}),n=t.items||[];this.setState({loading:!1,includeDisabled:e,preview:{datapoints:t.datapoints,values:t.values,items:n},selected:V(n,this.state.olderThanDays)})}catch(e){this.setState({loading:!1,errorText:e.message})}}async confirmCleanup(){this.setState({deleting:!0,errorText:``});try{var e;let t=await this.sendToInstance(`cleanupOrphaned`,{scope:{objectMissing:!0,loggingDisabled:this.state.includeDisabled,ids:this.state.selected},confirm:!0});this.setState({deleting:!1,preview:null,doneText:w.t(`influxdb_cleanup_done`,t.deleted.values,t.deleted.datapoints),errorText:(e=t.failed)!=null&&e.length?w.t(`influxdb_cleanup_failed`,t.failed.length):``},()=>void this.load())}catch(e){this.setState({deleting:!1,errorText:e.message})}}sortedStats(){let{stats:e,filter:t,sortField:n,sortAsc:r}=this.state,i=t.trim().toLowerCase(),a=(e||[]).filter(e=>!i||e.id.toLowerCase().includes(i)),o=r?1:-1;return a.sort((e,t)=>{let r=e[n],i=t[n];return r===i?e.id>t.id?1:e.id<t.id?-1:0:r==null?1:i==null?-1:(r>i?1:-1)*o})}renderSortLabel(e,t){return v(y,{active:this.state.sortField===e,direction:this.state.sortField===e&&this.state.sortAsc?`asc`:`desc`,onClick:()=>this.setState({sortField:e,sortAsc:this.state.sortField!==e||!this.state.sortAsc}),children:w.t(t)})}renderSummary(){let{summary:e}=this.state;if(!e)return null;let t=e.byStatus.objectMissing,n=e.byStatus.loggingDisabled;return _(j,{sx:{display:`flex`,gap:2,flexWrap:`wrap`,alignItems:`center`,mb:1},children:[v(N,{variant:`body2`,children:w.t(`influxdb_summary_total`,e.datapoints,e.values,z(e.cardinality))}),!!t.datapoints&&v(S,{color:`error`,size:`small`,label:w.t(`influxdb_summary_missing`,t.datapoints,t.values)}),!!n.datapoints&&v(S,{color:`warning`,size:`small`,label:w.t(`influxdb_summary_disabled`,n.datapoints,n.values)})]})}renderConfirmDialog(){let{preview:e,includeDisabled:n,deleting:l,selected:f,olderThanDays:m}=this.state;if(!e)return null;let y=e.items.filter(e=>f.includes(e.id)),C=y.reduce((e,t)=>e+t.count,0),j=!!e.items.length&&y.length===e.items.length;return _(T,{open:!0,onClose:()=>!l&&this.setState({preview:null}),maxWidth:`lg`,fullWidth:!0,children:[v(E,{children:w.t(`influxdb_cleanup_confirm_title`)}),v(O,{children:e.datapoints?_(a,{children:[v(D,{sx:{mb:1},children:w.t(`influxdb_cleanup_confirm_text`,e.datapoints,e.values)}),v(b,{variant:`standard`,size:`small`,type:`number`,sx:{mb:1,width:360},label:w.t(`influxdb_cleanup_older_than`),helperText:w.t(`influxdb_cleanup_older_than_help`),value:m,disabled:l,onChange:t=>this.setState({olderThanDays:t.target.value,selected:V(e.items,t.target.value)}),slotProps:{htmlInput:{min:0},input:{endAdornment:v(d,{position:`end`,children:w.t(`influxdb_days`)})}}}),v(D,{sx:{mb:1},children:w.t(`influxdb_cleanup_selected`,y.length,C)}),v(s,{component:t,sx:{maxHeight:320},children:_(h,{size:`small`,stickyHeader:!0,children:[v(A,{children:_(o,{children:[v(r,{padding:`checkbox`,children:v(M,{size:`small`,checked:j,indeterminate:!!y.length&&!j,disabled:l,onChange:()=>this.setState({selected:j?[]:e.items.map(e=>e.id)})})}),v(r,{children:w.t(`influxdb_col_id`)}),v(r,{children:w.t(`influxdb_col_status`)}),v(r,{align:`right`,children:w.t(`influxdb_col_count`)}),v(r,{children:w.t(`influxdb_col_first`)}),v(r,{children:w.t(`influxdb_col_last`)})]})}),v(g,{children:e.items.map(e=>_(o,{children:[v(r,{padding:`checkbox`,children:v(M,{size:`small`,checked:f.includes(e.id),disabled:l,onChange:t=>this.setState({selected:t.target.checked?[...f,e.id]:f.filter(t=>t!==e.id)})})}),v(r,{sx:{wordBreak:`break-all`},children:e.id}),v(r,{children:v(S,{size:`small`,color:H[e.status],label:w.t(U[e.status])})}),v(r,{align:`right`,children:z(e.count)}),v(r,{sx:{whiteSpace:`nowrap`},children:B(e.firstTs)}),v(r,{sx:{whiteSpace:`nowrap`},children:B(e.lastTs)})]},e.id))})]})}),n&&v(p,{severity:`warning`,icon:v(u,{}),sx:{mt:1},children:w.t(`influxdb_cleanup_disabled_warning`)})]}):v(D,{children:w.t(`influxdb_cleanup_nothing`)})}),_(k,{children:[v(x,{onClick:()=>this.setState({preview:null}),disabled:l,startIcon:v(c,{}),children:w.t(`influxdb_cancel`)}),v(x,{variant:`contained`,color:`error`,disabled:l||!y.length,startIcon:v(i,{}),onClick:()=>void this.confirmCleanup(),children:w.t(`influxdb_cleanup_delete`)})]})]})}renderItem(){if(!this.props.alive)return v(p,{severity:`info`,children:w.t(`influxdb_stats_not_running`)});let a=this.sortedStats();return _(j,{sx:{width:`100%`},children:[_(j,{sx:{display:`flex`,gap:1,alignItems:`center`,flexWrap:`wrap`,mb:1},children:[v(b,{variant:`standard`,size:`small`,value:this.state.filter,placeholder:w.t(`influxdb_filter`),onChange:e=>this.setState({filter:e.target.value}),slotProps:{input:{endAdornment:this.state.filter?v(d,{position:`end`,children:v(n,{size:`small`,onClick:()=>this.setState({filter:``}),children:v(c,{})})}):null}}}),v(m,{variant:`standard`,size:`small`,value:this.state.range,onChange:e=>this.setState({range:e.target.value},()=>void this.load()),children:Object.keys(R).map(e=>v(l,{value:e,children:w.t(R[e])},e))}),v(C,{title:w.t(`influxdb_refresh`),children:v(n,{onClick:()=>void this.load(),disabled:this.state.loading,children:v(f,{})})}),v(j,{sx:{flexGrow:1}}),v(P,{control:v(M,{checked:this.state.includeDisabled,onChange:e=>this.setState({includeDisabled:e.target.checked})}),label:w.t(`influxdb_include_disabled`)}),v(x,{variant:`contained`,color:`error`,startIcon:v(i,{}),disabled:this.state.loading,onClick:()=>void this.requestPreview(this.state.includeDisabled),children:w.t(`influxdb_cleanup`)})]}),this.state.loading&&v(e,{}),!!this.state.errorText&&v(p,{severity:`error`,sx:{mb:1},onClose:()=>this.setState({errorText:``}),children:this.state.errorText}),!!this.state.doneText&&v(p,{severity:`success`,sx:{mb:1},onClose:()=>this.setState({doneText:``}),children:this.state.doneText}),this.renderSummary(),v(s,{component:t,children:_(h,{size:`small`,stickyHeader:!0,children:[v(A,{children:_(o,{children:[v(r,{children:this.renderSortLabel(`id`,`influxdb_col_id`)}),v(r,{children:w.t(`influxdb_col_type`)}),v(r,{children:this.renderSortLabel(`status`,`influxdb_col_status`)}),v(r,{align:`right`,children:this.renderSortLabel(`count`,`influxdb_col_count`)}),v(r,{align:`right`,children:this.renderSortLabel(`cardinality`,`influxdb_col_series`)}),v(r,{children:w.t(`influxdb_col_first`)}),v(r,{children:this.renderSortLabel(`lastTs`,`influxdb_col_last`)})]})}),_(g,{children:[a.map(e=>_(o,{hover:!0,children:[v(r,{sx:{wordBreak:`break-all`},children:e.id}),v(r,{children:e.type||`—`}),v(r,{children:v(S,{size:`small`,color:H[e.status],label:w.t(U[e.status])})}),v(r,{align:`right`,children:z(e.count)}),v(r,{align:`right`,children:z(e.cardinality)}),v(r,{children:B(e.firstTs)}),v(r,{children:B(e.lastTs)})]},e.id)),!a.length&&!this.state.loading&&v(o,{children:v(r,{colSpan:7,children:v(N,{variant:`body2`,sx:{opacity:.7},children:w.t(this.state.filter?`influxdb_stats_no_match`:`influxdb_no_datapoints`)})})})]})]})}),v(N,{variant:`caption`,sx:{display:`block`,mt:1,opacity:.7},children:w.t(`influxdb_no_size`)}),this.renderConfirmDialog()]})}}};export{W as default};
@@ -0,0 +1,7 @@
1
+ import{An as e,Bn as t,Cr as n,En as r,F as i,Gt as a,I as o,Jr as s,Jt as c,L as l,Ln as u,Mn as d,On as f,Ot as p,Pn as m,Pt as h,Tn as g,Un as _,Ut as v,V as y,W as b,Wt as x,Xr as S,Y as C,Yr as w,Zt as T,an as E,b as D,en as O,f as k,fn as A,ft as j,gn as M,gt as N,jn as P,jt as F,mn as I,pn as L,qt as R,rn as z,sn as B,tn as V}from"./_virtual_mf___mfe_internal__InfluxDBComponentsSet__mf_owner__200594337988309__loadShare___mf_0_iobroker_mf_1_gui_mf_2_components__loadShare__.js-CY7hmgKa.js";import{t as H}from"./_virtual_mf___mfe_internal__InfluxDBComponentsSet__mf_owner__200594337988309__loadShare__shared-Ci1JYVpq.js";var U=5e3,W=U*.75,G={root:{display:`flex`,width:`100%`,height:`calc(100vh - 220px)`,minHeight:400,gap:8},list:{width:320,minWidth:220,display:`flex`,flexDirection:`column`,overflow:`hidden`},filterField:{padding:8,flexShrink:0},listItems:{overflowY:`auto`,flexGrow:1,minHeight:0},data:{flexGrow:1,display:`flex`,flexDirection:`column`,overflow:`hidden`},toolbar:{display:`flex`,alignItems:`center`,flexWrap:`nowrap`,gap:8,padding:8,overflow:`hidden`,flexShrink:0},title:{display:`flex`,flexDirection:`column`,flexGrow:1,minWidth:60,overflow:`hidden`},titleId:{fontWeight:`bold`,whiteSpace:`nowrap`,overflow:`hidden`,textOverflow:`ellipsis`},titleName:{fontSize:`smaller`,opacity:.7,whiteSpace:`nowrap`,overflow:`hidden`,textOverflow:`ellipsis`},dateField:{width:200,flexShrink:0},table:{overflowY:`auto`,flexGrow:1,minHeight:0},nowrap:{whiteSpace:`nowrap`},pageInfo:{whiteSpace:`nowrap`,flexShrink:0},grow:{flexGrow:1}},K=e=>({"& input::-webkit-calendar-picker-indicator":{filter:e.palette.mode===`dark`?`invert(1)`:`none`,cursor:`pointer`}});function q(e){let t=new Date(e);if(isNaN(t.getTime()))return String(e);let n=(e,t)=>e.toString().padStart(t||2,`0`);return`${t.getFullYear()}-${n(t.getMonth()+1)}-${n(t.getDate())} ${n(t.getHours())}:${n(t.getMinutes())}:${n(t.getSeconds())}.${n(t.getMilliseconds(),3)}`}function J(e){let t=e=>e.toString().padStart(2,`0`);return`${e.getFullYear()}-${t(e.getMonth()+1)}-${t(e.getDate())}`}function Y(e){let t=e=>e.toString().padStart(2,`0`);return`${t(e.getHours())}:${t(e.getMinutes())}:${t(e.getSeconds())}`}function X(e){if(!e)return;let t=new Date(e).getTime();return isNaN(t)?void 0:t}function Z(){let e=k.getLanguage();return e===`en`||e===`zh-cn`?{separator:`,`,decimal:`.`}:{separator:`;`,decimal:`,`}}function Q(e,t){return e.includes(t)||e.includes(`"`)||e.includes(`
2
+ `)||e.includes(`\r`)?`"${e.replace(/"/g,`""`)}"`:e}var $=[`ts`,`time`,`val`,`ack`,`q`,`from`],ee=``;function te(e,t,n){let r=``;return e.val!==null&&e.val!==void 0&&(r=typeof e.val==`number`&&n===`,`?e.val.toString().replace(`.`,`,`):e.val.toString()),[e.ts.toString(),q(e.ts),r,e.ack===void 0||e.ack===null?``:(!!e.ack).toString(),e.q===void 0||e.q===null?``:e.q.toString(),e.from||``].map(e=>Q(e,t)).join(t)}function ne(e,t,n,r){let i=[e.replace(/[^\w.-]+/g,`_`)];return t!==void 0&&i.push(J(new Date(t))),n!==void 0&&i.push(J(new Date(n))),`${i.join(`_`)}.${r}`}function re(e,t,n){let r=URL.createObjectURL(new Blob(e,{type:n})),i=document.createElement(`a`);i.href=r,i.download=t,document.body.appendChild(i),i.click(),i.remove(),setTimeout(()=>URL.revokeObjectURL(r),6e4)}var ie=class extends H{constructor(e){super(e),n(this,`exportCancelled`,!1),this.state={...this.state,points:null,names:{},filter:``,selected:null,rows:[],total:0,page:0,rowsPerPage:100,sort:`desc`,start:``,end:``,checked:[],loadingPoints:!1,loadingRows:!1,errorText:``,entryDialog:null,exportDialog:null,confirmText:``,confirmAction:null}}componentWillUnmount(){this.exportCancelled=!0,super.componentWillUnmount()}async componentDidMount(){await super.componentDidMount(),this.props.alive&&await this.loadDatapoints()}async componentDidUpdate(e){this.props.alive&&!e.alive&&!this.state.points&&await this.loadDatapoints()}get instance(){return`${this.props.oContext.adapterName}.${this.props.oContext.instance}`}async sendToInstance(e,t){let n=await this.props.oContext.socket.sendTo(this.instance,e,t);if(n!=null&&n.error)throw Error(n.error);return n}async loadDatapoints(){this.setState({loadingPoints:!0,errorText:``});try{let e=await this.sendToInstance(`getDatapoints`,{}),t=(e==null?void 0:e.result)||[];this.setState({points:t,loadingPoints:!1},()=>void this.loadNames(t))}catch(e){this.setState({loadingPoints:!1,points:[],errorText:e.message})}}async loadNames(e){if(e.length)try{let t=await this.props.oContext.socket.getObjectsById(e.map(e=>e.id)),n={};for(let r of e){let e=t==null?void 0:t[r.id],i=e?D.getObjectNameFromObj(e,null,{language:k.getLanguage()}):``;i&&i!==r.id&&(n[r.id]=i)}this.setState({names:n})}catch(e){console.warn(`Cannot read the names of the objects: ${e.message}`)}}async loadRows(e){let t=this.state.selected;if(t){this.setState(t=>({loadingRows:!0,errorText:e?t.errorText:``}));try{let e=await this.sendToInstance(`getRawEntries`,{id:t.id,start:X(this.state.start),end:X(this.state.end),limit:this.state.rowsPerPage,offset:this.state.page*this.state.rowsPerPage,sort:this.state.sort});this.setState({rows:(e==null?void 0:e.result)||[],total:(e==null?void 0:e.total)||0,checked:[],loadingRows:!1})}catch(e){this.setState({rows:[],total:0,loadingRows:!1,errorText:e.message})}}}selectDatapoint(e){this.setState({selected:e,page:0,rows:[],total:0,checked:[]},()=>void this.loadRows())}parseValue(e){var t,n;if(e===``)return null;if(((t=this.state.selected)==null?void 0:t.type)===`Number`){let t=parseFloat(e.replace(`,`,`.`));return isNaN(t)?0:t}return((n=this.state.selected)==null?void 0:n.type)===`Boolean`?e===`true`||e===`1`:e}async saveEntry(){let e=this.state.entryDialog,t=this.state.selected;if(!e||!t)return;let n=parseInt(e.ts,10);if(!n){this.setState({errorText:`Invalid timestamp`});return}let r={ts:n,val:this.parseValue(e.val),ack:e.ack,q:parseInt(e.q,10)||0};this.setState({entryDialog:null,loadingRows:!0});try{e.original?await this.sendToInstance(`update`,{id:t.id,state:r}):await this.sendToInstance(`storeState`,{id:t.id,state:r})}catch(e){this.setState({errorText:e.message})}await this.loadRows(!0)}async deleteEntries(e){let t=this.state.selected;if(t&&e.length){this.setState({loadingRows:!0});try{e.length===1?await this.sendToInstance(`delete`,{id:t.id,ts:e[0]}):await this.sendToInstance(`delete`,e.map(e=>({id:t.id,ts:e})))}catch(e){this.setState({errorText:e.message})}await this.loadRows(!0)}}async readExportPage(e,t,n,r){let i=await this.sendToInstance(`getRawEntries`,{id:e,start:t,end:n,sort:`asc`,limit:U,offset:r,noTotal:!0}),a=(i==null?void 0:i.result)||[];return{entries:a,full:!!a.length&&a.length>=((i==null?void 0:i.limit)||U)}}async exportWindowByOffset(e,t,n,r){let i=0;for(;!this.exportCancelled;){let{entries:a,full:o}=await this.readExportPage(e,t,n,i);if(r(a),i+=a.length,!o)return}}async exportEntries(){let e=this.state.selected,t=this.state.exportDialog;if(!e||!t)return;let n=X(this.state.start),r=X(this.state.end),{format:i,separator:a,decimal:o}=t;this.exportCancelled=!1;let s={...t,running:!0,exported:0,total:0,info:``,error:``};this.setState({exportDialog:s});let c=i===`csv`?[`${ee}${$.join(a)}\r\n`]:[`[`],l=0,u=e=>{!this.exportCancelled&&e.length&&(i===`csv`?c.push(`${e.map(e=>te(e,a,o)).join(`\r
3
+ `)}\r\n`):c.push(`${l?`,`:``}\n${e.map(e=>JSON.stringify(e)).join(`,
4
+ `)}`),l+=e.length,s={...s,exported:l},this.setState({exportDialog:s}))};try{var d;let t=await this.sendToInstance(`getRawEntries`,{id:e.id,start:n,end:r,sort:`asc`,limit:1,offset:0}),a=t==null||(d=t.result)==null?void 0:d[0];if(this.exportCancelled)return;if(!a){this.setState({exportDialog:{...s,running:!1,info:k.t(`influxdb_export_nothing`)}});return}let o=t.total||0;s={...s,total:o},this.setState({exportDialog:s});let f=r??Date.now(),p=a.ts,m=Math.max(1,Math.round((f-a.ts+1)*W/Math.max(o,1)));for(;p<=f&&!this.exportCancelled;){let t=Math.min(f,p+m-1),{entries:n,full:r}=await this.readExportPage(e.id,p,t,0);if(!r){u(n),p=t+1;let e=n.length?W/n.length:8;m=Math.max(1,Math.round(m*Math.min(8,Math.max(.125,e))));continue}let i=n[n.length-1].ts;n[0].ts===i?(await this.exportWindowByOffset(e.id,i,i,u),p=i+1):(u(n.filter(e=>e.ts<i)),m=Math.max(1,Math.round((i-p)*W/n.length)),p=i)}if(r===void 0&&!this.exportCancelled&&await this.exportWindowByOffset(e.id,p,void 0,u),this.exportCancelled)return;i===`json`&&c.push(l?`
5
+ ]
6
+ `:`]
7
+ `),re(c,ne(e.id,n,r,i),i===`csv`?`text/csv;charset=utf-8`:`application/json`),this.setState({exportDialog:null})}catch(e){this.exportCancelled||this.setState({exportDialog:{...s,running:!1,error:e.message}})}}renderDatapoints(){let n=this.state.filter.toLowerCase(),i=(this.state.points||[]).filter(e=>{var t;return!n||e.id.toLowerCase().includes(n)||((t=this.state.names[e.id])==null?void 0:t.toLowerCase().includes(n))});return S(t,{style:G.list,children:[w(T,{variant:`standard`,style:G.filterField,value:this.state.filter,onChange:e=>this.setState({filter:e.target.value}),placeholder:k.t(`influxdb_filter`),slotProps:{input:{startAdornment:w(f,{position:`start`,children:w(F,{})}),endAdornment:this.state.filter?w(f,{position:`end`,children:w(r,{size:`small`,onClick:()=>this.setState({filter:``}),children:w(l,{})})}):null}}}),this.state.loadingPoints?w(e,{}):null,S(P,{dense:!0,style:G.listItems,children:[i.map(e=>{var t;return w(d,{selected:((t=this.state.selected)==null?void 0:t.id)===e.id,onClick:()=>this.selectDatapoint(e),sx:e=>({"&.Mui-selected":{backgroundColor:e.palette.primary.main,color:e.palette.primary.contrastText,"& .MuiListItemText-secondary":{color:e.palette.primary.contrastText,opacity:.8},"&:hover":{backgroundColor:e.palette.primary.dark}}}),children:w(m,{primary:e.id,secondary:S(s,{children:[this.state.names[e.id]?w(`b`,{children:this.state.names[e.id]}):null,this.state.names[e.id]?` `:``,`[${e.type||`?`}]`]}),slotProps:{primary:{style:{wordBreak:`break-all`}},secondary:{style:{wordBreak:`break-word`}}}})},e.id)}),!i.length&&!this.state.loadingPoints?w(V,{style:{padding:16,opacity:.7},children:k.t(this.state.filter?`influxdb_no_data`:`influxdb_no_datapoints`)}):null]})]})}renderToolbar(){var e,t;let{page:n,rowsPerPage:a,total:s}=this.state,c=s?n*a+1:0,l=Math.min((n+1)*a,s);return S(`div`,{style:G.toolbar,children:[S(`div`,{style:G.title,children:[w(O,{title:((e=this.state.selected)==null?void 0:e.id)||``,children:w(`span`,{style:G.titleId,children:(t=this.state.selected)==null?void 0:t.id})}),this.state.selected&&this.state.names[this.state.selected.id]?w(`span`,{style:G.titleName,children:this.state.names[this.state.selected.id]}):null]}),w(O,{title:k.t(`influxdb_range_start`),children:w(T,{variant:`outlined`,size:`small`,style:G.dateField,sx:K,type:`datetime-local`,value:this.state.start,onChange:e=>this.setState({start:e.target.value,page:0},()=>void this.loadRows())})}),w(O,{title:k.t(`influxdb_range_end`),children:w(T,{variant:`outlined`,size:`small`,style:G.dateField,sx:K,type:`datetime-local`,value:this.state.end,onChange:e=>this.setState({end:e.target.value,page:0},()=>void this.loadRows())})}),w(_,{variant:`outlined`,size:`small`,value:a,onChange:e=>this.setState({rowsPerPage:Number(e.target.value),page:0},()=>void this.loadRows()),children:[50,100,500,1e3].map(e=>w(u,{value:e,children:e},e))}),w(O,{title:k.t(this.state.sort===`desc`?`influxdb_sort_desc`:`influxdb_sort_asc`),children:w(r,{size:`small`,onClick:()=>this.setState({sort:this.state.sort===`desc`?`asc`:`desc`,page:0},()=>void this.loadRows()),children:this.state.sort===`desc`?w(j,{}):w(N,{})})}),w(V,{style:G.pageInfo,children:k.t(`influxdb_page`,c.toString(),l.toString(),s.toString())}),w(r,{size:`small`,disabled:!n,onClick:()=>this.setState({page:n-1},()=>void this.loadRows()),children:w(i,{})}),w(r,{size:`small`,disabled:l>=s,onClick:()=>this.setState({page:n+1},()=>void this.loadRows()),children:w(o,{})}),w(O,{title:k.t(`influxdb_refresh`),children:w(r,{size:`small`,onClick:()=>void this.loadRows(),children:w(p,{})})}),w(O,{title:k.t(`influxdb_export`),children:w(`span`,{children:w(r,{size:`small`,disabled:!s,onClick:()=>this.setState({exportDialog:{format:`csv`,...Z(),running:!1,exported:0,total:0,info:``,error:``}}),children:w(C,{})})})}),w(O,{title:k.t(`influxdb_add`),children:w(r,{size:`small`,color:`primary`,onClick:()=>this.setState({entryDialog:{original:null,ts:Date.now().toString(),val:``,ack:!0,q:`0`}}),children:w(h,{})})}),w(O,{title:k.t(`influxdb_delete_selected`),children:w(`span`,{children:w(r,{size:`small`,disabled:!this.state.checked.length,onClick:()=>this.setState({confirmText:k.t(`influxdb_confirm_delete`,this.state.checked.length.toString()),confirmAction:()=>void this.deleteEntries(this.state.checked)}),children:w(y,{})})})})]})}renderTable(){return S(`div`,{style:G.table,children:[S(v,{size:`small`,stickyHeader:!0,children:[w(R,{children:S(c,{children:[w(a,{padding:`checkbox`,children:w(B,{indeterminate:!!this.state.checked.length&&this.state.checked.length<this.state.rows.length,checked:!!this.state.rows.length&&this.state.checked.length===this.state.rows.length,onChange:e=>this.setState({checked:e.target.checked?this.state.rows.map(e=>e.ts):[]})})}),w(a,{children:k.t(`influxdb_time`)}),w(a,{children:k.t(`influxdb_value`)}),w(a,{children:k.t(`influxdb_ack`)}),w(a,{children:k.t(`influxdb_quality`)}),w(a,{children:k.t(`influxdb_from`)}),w(a,{})]})}),w(x,{children:this.state.rows.map(e=>S(c,{hover:!0,children:[w(a,{padding:`checkbox`,children:w(B,{checked:this.state.checked.includes(e.ts),onChange:t=>this.setState({checked:t.target.checked?[...this.state.checked,e.ts]:this.state.checked.filter(t=>t!==e.ts)})})}),w(a,{style:G.nowrap,children:w(O,{title:e.ts.toString(),children:w(`span`,{children:q(e.ts)})})}),w(a,{style:{wordBreak:`break-all`},children:e.val===null||e.val===void 0?w(`span`,{style:{opacity:.5},children:`null`}):e.val.toString()}),w(a,{children:e.ack?`✓`:``}),w(a,{children:e.q??``}),w(a,{style:{opacity:.7},children:e.from||``}),S(a,{padding:`none`,children:[w(r,{size:`small`,onClick:()=>this.setState({entryDialog:{original:e,ts:e.ts.toString(),val:e.val===null||e.val===void 0?``:e.val.toString(),ack:!!e.ack,q:(e.q??0).toString()}}),children:w(b,{fontSize:`small`})}),w(r,{size:`small`,onClick:()=>this.setState({confirmText:k.t(`influxdb_confirm_delete_one`,q(e.ts)),confirmAction:()=>void this.deleteEntries([e.ts])}),children:w(y,{fontSize:`small`})})]})]},e.ts))})]}),!this.state.rows.length&&!this.state.loadingRows?w(V,{style:{padding:16,opacity:.7},children:k.t(`influxdb_no_data`)}):null]})}renderTimeSelector(e){let t=parseInt(e.ts,10),n=!isNaN(t),r=!!e.original,i=(r,i)=>{let a=new Date(n?t:Date.now()),o=J(a),s=Y(a),c=a.getMilliseconds();if(r===`date`){if(!i)return;o=i}else if(r===`time`){if(!i)return;s=i.length===5?`${i}:00`:i}else c=Math.min(999,Math.max(0,parseInt(i,10)||0));let l=new Date(`${o}T${s}.${c.toString().padStart(3,`0`)}`).getTime();isNaN(l)||this.setState({entryDialog:{...e,ts:l.toString()}})};return S(`div`,{children:[S(`div`,{style:{display:`flex`,gap:8,alignItems:`center`},children:[w(T,{label:k.t(`influxdb_date`),type:`date`,value:n?J(new Date(t)):``,disabled:r,style:{flexGrow:1},sx:K,slotProps:{inputLabel:{shrink:!0}},onChange:e=>i(`date`,e.target.value)}),w(T,{label:k.t(`influxdb_time`),type:`time`,value:n?Y(new Date(t)):``,disabled:r,style:{flexGrow:1},sx:K,slotProps:{inputLabel:{shrink:!0},htmlInput:{step:1}},onChange:e=>i(`time`,e.target.value)}),w(T,{label:k.t(`influxdb_ms`),type:`number`,value:n?new Date(t).getMilliseconds():``,disabled:r,style:{width:100},slotProps:{inputLabel:{shrink:!0},htmlInput:{min:0,max:999}},onChange:e=>i(`ms`,e.target.value)})]}),w(V,{variant:`caption`,style:{opacity:.7},children:n?`${q(t)} · ${t}`:``})]})}renderEntryDialog(){var e;let t=this.state.entryDialog;return t?S(A,{open:!0,maxWidth:`sm`,fullWidth:!0,onClose:()=>this.setState({entryDialog:null}),children:[w(M,{children:k.t(t.original?`influxdb_save`:`influxdb_add`)}),S(I,{style:{display:`flex`,flexDirection:`column`,gap:16,paddingTop:8},children:[this.renderTimeSelector(t),((e=this.state.selected)==null?void 0:e.type)===`Boolean`?S(_,{value:t.val===`true`||t.val===`1`?`true`:`false`,onChange:e=>this.setState({entryDialog:{...t,val:e.target.value}}),children:[w(u,{value:`true`,children:`true`}),w(u,{value:`false`,children:`false`})]}):w(T,{label:k.t(`influxdb_value`),value:t.val,autoFocus:!0,onChange:e=>this.setState({entryDialog:{...t,val:e.target.value}})}),S(`div`,{style:{display:`flex`,alignItems:`center`,gap:16},children:[w(B,{checked:t.ack,onChange:e=>this.setState({entryDialog:{...t,ack:e.target.checked}})}),w(V,{children:k.t(`influxdb_ack`)}),w(T,{label:k.t(`influxdb_quality`),value:t.q,type:`number`,onChange:e=>this.setState({entryDialog:{...t,q:e.target.value}})})]})]}),S(L,{children:[w(E,{variant:`contained`,color:`primary`,onClick:()=>void this.saveEntry(),children:k.t(`influxdb_save`)}),w(E,{variant:`outlined`,onClick:()=>this.setState({entryDialog:null}),children:k.t(`influxdb_cancel`)})]})]}):null}renderExportDialog(){var t;let n=this.state.exportDialog;if(!n)return null;let r=X(this.state.start),i=X(this.state.end),a=r===void 0&&i===void 0?k.t(`influxdb_range_all`):`${r===void 0?`…`:q(r)} – ${i===void 0?`…`:q(i)}`,o=n.total?Math.min(100,n.exported/n.total*100):0,s=()=>{this.exportCancelled=!0,this.setState({exportDialog:null})};return S(A,{open:!0,maxWidth:`sm`,fullWidth:!0,onClose:()=>!n.running&&s(),children:[w(M,{children:k.t(`influxdb_export`)}),S(I,{style:{display:`flex`,flexDirection:`column`,gap:16,paddingTop:8},children:[S(`div`,{children:[w(V,{style:{fontWeight:`bold`,wordBreak:`break-all`},children:(t=this.state.selected)==null?void 0:t.id}),w(V,{variant:`body2`,children:`${k.t(`influxdb_export_range`)}: ${a}`})]}),S(T,{select:!0,label:k.t(`influxdb_export_format`),value:n.format,disabled:n.running,onChange:e=>this.setState({exportDialog:{...n,format:e.target.value}}),children:[w(u,{value:`csv`,children:`CSV`}),w(u,{value:`json`,children:`JSON`})]}),n.format===`csv`?S(`div`,{style:{display:`flex`,gap:16},children:[S(T,{select:!0,label:k.t(`influxdb_export_separator`),value:n.separator,disabled:n.running,style:{flexGrow:1},onChange:e=>this.setState({exportDialog:{...n,separator:e.target.value}}),children:[w(u,{value:`;`,children:k.t(`influxdb_export_semicolon`)}),w(u,{value:`,`,children:k.t(`influxdb_export_comma`)}),w(u,{value:` `,children:k.t(`influxdb_export_tab`)})]}),S(T,{select:!0,label:k.t(`influxdb_export_decimal`),value:n.decimal,disabled:n.running,style:{flexGrow:1},onChange:e=>this.setState({exportDialog:{...n,decimal:e.target.value}}),children:[w(u,{value:`.`,children:k.t(`influxdb_export_point`)}),w(u,{value:`,`,children:k.t(`influxdb_export_comma`)})]})]}):null,w(V,{variant:`body2`,style:{opacity:.7},children:k.t(n.format===`csv`?`influxdb_export_csv_info`:`influxdb_export_json_info`)}),n.running?S(`div`,{children:[w(e,{variant:n.total?`determinate`:`indeterminate`,value:o}),w(V,{variant:`caption`,children:k.t(`influxdb_export_progress`,n.exported.toString(),n.total.toString())})]}):null,n.info?w(g,{severity:`info`,children:n.info}):null,n.error?w(g,{severity:`error`,children:n.error}):null]}),S(L,{children:[w(E,{variant:`contained`,color:`primary`,startIcon:w(C,{}),disabled:n.running,onClick:()=>void this.exportEntries(),children:k.t(`influxdb_export_start`)}),w(E,{variant:`outlined`,onClick:s,children:k.t(`influxdb_cancel`)})]})]})}renderConfirmDialog(){return this.state.confirmAction?S(A,{open:!0,onClose:()=>this.setState({confirmText:``,confirmAction:null}),children:[w(M,{children:k.t(`influxdb_delete`)}),w(I,{children:this.state.confirmText}),S(L,{children:[w(E,{variant:`contained`,color:`error`,startIcon:w(y,{}),onClick:()=>{let e=this.state.confirmAction;this.setState({confirmText:``,confirmAction:null},()=>e==null?void 0:e())},children:k.t(`influxdb_delete`)}),w(E,{variant:`outlined`,onClick:()=>this.setState({confirmText:``,confirmAction:null}),children:k.t(`influxdb_cancel`)})]})]}):null}renderItem(){return this.props.alive?S(z,{style:G.root,children:[this.renderDatapoints(),S(t,{style:G.data,children:[this.state.errorText?w(g,{severity:`error`,style:{flexShrink:0},onClose:()=>this.setState({errorText:``}),children:this.state.errorText}):null,this.state.selected?S(s,{children:[this.renderToolbar(),this.state.loadingRows?w(e,{}):null,this.renderTable()]}):w(V,{style:{padding:16,opacity:.7},children:k.t(`influxdb_select_datapoint`)})]}),this.renderEntryDialog(),this.renderExportDialog(),this.renderConfirmDialog()]}):w(g,{severity:`info`,children:k.t(`influxdb_instance_not_alive`)})}};export{ie as t};
@@ -0,0 +1 @@
1
+ import{t as e}from"./vite-preload-helper-BbbETgeG.js";import"./dist-B3E7IYuQ.js";var t=e=>{let t=e;for(let e=0;e<5;e++){let e=t==null?void 0:t.default;if(!e||typeof e!=`object`||Object.keys(e).length===0)break;let n=Object.getPrototypeOf(e);if(n!==null&&n!==Object.prototype)break;let r=Object.keys(t).filter(e=>e!=="default").map(e=>t[e]);if(r.length>0&&r.some(e=>e!==void 0))break;t=e}return t},n=(e,t,n,r)=>{var i,a;let o=(i=globalThis.__mf_module_cache__)==null?void 0:i.share,s=t.map(e=>o==null?void 0:o[e]).find(e=>e!==void 0),c=e=>{let t=String(e||``).split(/[^0-9]+/).map(Number),r=String(n||``).split(/[^0-9]+/).map(Number);for(let e=0;e<Math.max(t.length,r.length);e++){if((t[e]||0)<(r[e]||0))return!0;if((t[e]||0)>(r[e]||0))return!1}return!1};if(!c((s==null?void 0:s.version)??(s==null||(a=s.default)==null?void 0:a.version)))for(let t of e){var l,u;let e=o==null?void 0:o[t];if(e===void 0)continue;let n=(e==null?void 0:e.version)??(e==null||(l=e.default)==null?void 0:l.version);if(!(n!==void 0&&c(n))&&(!r||typeof(e==null?void 0:e[r])==`function`||typeof(e==null||(u=e.default)==null?void 0:u[r])==`function`)){let n=typeof(e==null?void 0:e[r])==`function`?e:e==null?void 0:e.default,i=n==null?void 0:n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;if(!r||t.endsWith(`/client`)||!i)return e;let a={};for(let e of[`createRoot`,`hydrateRoot`])a[e]=(...t)=>{i.usingClientEntryPoint=!0;try{return n[e](...t)}finally{i.usingClientEntryPoint=!1}};return{...a,default:a}}}},r={react:async()=>await e(()=>import(`./_virtual_mf___mfe_internal__InfluxDBComponentsSet__mf_owner__200594337988309__loadShare___mf_0_iobroker_mf_1_gui_mf_2_components__loadShare__.js-CY7hmgKa.js`).then(e=>e.xi),[],import.meta.url),"react/jsx-runtime":async()=>await e(()=>import(`./_virtual_mf___mfe_internal__InfluxDBComponentsSet__mf_owner__200594337988309__prebuild__react_mf_1_jsx_mf_2_runtime__prebuild__--SURtz9t.js`),[],import.meta.url),"react-dom":async()=>await e(()=>import(`./_virtual_mf___mfe_internal__InfluxDBComponentsSet__mf_owner__200594337988309__loadShare___mf_0_iobroker_mf_1_gui_mf_2_components__loadShare__.js-CY7hmgKa.js`).then(e=>e.gr),[],import.meta.url),"react-dom/client":async()=>await e(()=>import(`./_virtual_mf___mfe_internal__InfluxDBComponentsSet__mf_owner__200594337988309__prebuild__react_mf_2_dom_mf_1_client__prebuild__-tDeuAm9G.js`),[],import.meta.url),"@mui/material":async()=>await e(()=>import(`./_virtual_mf___mfe_internal__InfluxDBComponentsSet__mf_owner__200594337988309__loadShare___mf_0_iobroker_mf_1_gui_mf_2_components__loadShare__.js-CY7hmgKa.js`).then(e=>e.Kn),[],import.meta.url),"@mui/icons-material":async()=>await e(()=>import(`./_virtual_mf___mfe_internal__InfluxDBComponentsSet__mf_owner__200594337988309__loadShare___mf_0_iobroker_mf_1_gui_mf_2_components__loadShare__.js-CY7hmgKa.js`).then(e=>e.zt),[],import.meta.url),"@iobroker/gui-components":async()=>await e(()=>import(`./_virtual_mf___mfe_internal__InfluxDBComponentsSet__mf_owner__200594337988309__loadShare___mf_0_iobroker_mf_1_gui_mf_2_components__loadShare__.js-CY7hmgKa.js`).then(e=>e.S),[],import.meta.url),"@iobroker/json-config":async()=>await e(()=>import(`./_virtual_mf___mfe_internal__InfluxDBComponentsSet__mf_owner__200594337988309__prebuild___mf_0_iobroker_mf_1_json_mf_2_config__prebuild__-2rK8ENo-.js`),[],import.meta.url)},i={react:{name:`react`,version:`19.3.1`,scope:[`default`],loaded:!1,materialize:!0,eager:!1,from:`InfluxDBComponentsSet`,canLiveRebind:!0,get(){let e=i.react;return e.lib?e.lib:(e.loading||=(async()=>{try{let{react:n}=r,i=t({...await n()});return i.__esModule!==!0&&Object.defineProperty(i,"__esModule",{value:!0,enumerable:!1}),e.lib=function(){return i},e.loaded=!0,e.lib}finally{e.loading=void 0}})(),e.loading)},shareConfig:{singleton:!0,requiredVersion:`*`,strictVersion:!1,eager:!1}},"react/jsx-runtime":{name:`react/jsx-runtime`,version:`19.3.1`,scope:[`default`],loaded:!1,materialize:!0,eager:!1,from:`InfluxDBComponentsSet`,canLiveRebind:!0,get(){let e=i[`react/jsx-runtime`];if(e.lib)return e.lib;if(e.loading)return e.loading;let a=n([`default:react/jsx-runtime`,`react/jsx-runtime`],[`default:react`,`react`],`19.3.1`,void 0);return a===void 0?(e.loading=(async()=>{try{let{"react/jsx-runtime":n}=r,i=t({...await n()});return i.__esModule!==!0&&Object.defineProperty(i,"__esModule",{value:!0,enumerable:!1}),e.lib=function(){return i},e.loaded=!0,e.lib}finally{e.loading=void 0}})(),e.loading):(e.lib=function(){return a},e.loaded=!0,e.lib)},shareConfig:{singleton:!0,requiredVersion:`*`,strictVersion:!1,eager:!1}},"react-dom":{name:`react-dom`,version:`19.3.1`,scope:[`default`],loaded:!1,materialize:!0,eager:!1,from:`InfluxDBComponentsSet`,canLiveRebind:!0,get(){let e=i[`react-dom`];return e.lib?e.lib:(e.loading||=(async()=>{try{let{"react-dom":n}=r,i=t({...await n()});return i.__esModule!==!0&&Object.defineProperty(i,"__esModule",{value:!0,enumerable:!1}),e.lib=function(){return i},e.loaded=!0,e.lib}finally{e.loading=void 0}})(),e.loading)},shareConfig:{singleton:!0,requiredVersion:`*`,strictVersion:!1,eager:!1}},"react-dom/client":{name:`react-dom/client`,version:`19.3.1`,scope:[`default`],loaded:!1,materialize:!0,eager:!1,from:`InfluxDBComponentsSet`,canLiveRebind:!0,get(){let e=i[`react-dom/client`];if(e.lib)return e.lib;if(e.loading)return e.loading;let a=n([`default:react-dom/client`,`react-dom/client`,`default:react-dom`,`react-dom`],[`default:react`,`react`],`19.3.1`,`createRoot`);return a===void 0?(e.loading=(async()=>{try{let{"react-dom/client":n}=r,i=t({...await n()});return i.__esModule!==!0&&Object.defineProperty(i,"__esModule",{value:!0,enumerable:!1}),e.lib=function(){return i},e.loaded=!0,e.lib}finally{e.loading=void 0}})(),e.loading):(e.lib=function(){return a},e.loaded=!0,e.lib)},shareConfig:{singleton:!0,requiredVersion:`*`,strictVersion:!1,eager:!1}},"@mui/material":{name:`@mui/material`,version:`9.5.0`,scope:[`default`],loaded:!1,materialize:!0,eager:!1,from:`InfluxDBComponentsSet`,canLiveRebind:!0,get(){let e=i[`@mui/material`];return e.lib?e.lib:(e.loading||=(async()=>{try{let{"@mui/material":n}=r,i=t({...await n()});return i.__esModule!==!0&&Object.defineProperty(i,"__esModule",{value:!0,enumerable:!1}),e.lib=function(){return i},e.loaded=!0,e.lib}finally{e.loading=void 0}})(),e.loading)},shareConfig:{singleton:!0,requiredVersion:`*`,strictVersion:!1,eager:!1}},"@mui/icons-material":{name:`@mui/icons-material`,version:`9.5.0`,scope:[`default`],loaded:!1,materialize:!0,eager:!1,from:`InfluxDBComponentsSet`,canLiveRebind:!0,get(){let e=i[`@mui/icons-material`];return e.lib?e.lib:(e.loading||=(async()=>{try{let{"@mui/icons-material":n}=r,i=t({...await n()});return i.__esModule!==!0&&Object.defineProperty(i,"__esModule",{value:!0,enumerable:!1}),e.lib=function(){return i},e.loaded=!0,e.lib}finally{e.loading=void 0}})(),e.loading)},shareConfig:{singleton:!0,requiredVersion:`*`,strictVersion:!1,eager:!1}},"@iobroker/gui-components":{name:`@iobroker/gui-components`,version:`10.3.14`,scope:[`default`],loaded:!1,materialize:!0,eager:!1,from:`InfluxDBComponentsSet`,canLiveRebind:!0,get(){let e=i[`@iobroker/gui-components`];return e.lib?e.lib:(e.loading||=(async()=>{try{let{"@iobroker/gui-components":n}=r,i=t({...await n()});return i.__esModule!==!0&&Object.defineProperty(i,"__esModule",{value:!0,enumerable:!1}),e.lib=function(){return i},e.loaded=!0,e.lib}finally{e.loading=void 0}})(),e.loading)},shareConfig:{singleton:!0,requiredVersion:`*`,strictVersion:!1,eager:!1}},"@iobroker/json-config":{name:`@iobroker/json-config`,version:`10.1.11`,scope:[`default`],loaded:!1,materialize:!0,eager:!1,from:`InfluxDBComponentsSet`,canLiveRebind:!0,get(){let e=i[`@iobroker/json-config`];return e.lib?e.lib:(e.loading||=(async()=>{try{let{"@iobroker/json-config":n}=r,i=t({...await n()});return i.__esModule!==!0&&Object.defineProperty(i,"__esModule",{value:!0,enumerable:!1}),e.lib=function(){return i},e.loaded=!0,e.lib}finally{e.loading=void 0}})(),e.loading)},shareConfig:{singleton:!0,requiredVersion:`*`,strictVersion:!1,eager:!1}}},a=[];export{a as usedRemotes,i as usedShared};
@@ -1,4 +1,4 @@
1
- import{i as e,n as t,t as n}from"./rolldown-runtime-COiEfhsA.js";import{t as r}from"./vite-preload-helper-BbbETgeG.js";var i=n((e=>{var t=Symbol.for(`react.transitional.element`),n=Symbol.for(`react.portal`),r=Symbol.for(`react.fragment`),i=Symbol.for(`react.strict_mode`),a=Symbol.for(`react.profiler`),o=Symbol.for(`react.consumer`),s=Symbol.for(`react.context`),c=Symbol.for(`react.forward_ref`),l=Symbol.for(`react.suspense`),u=Symbol.for(`react.memo`),d=Symbol.for(`react.lazy`),f=Symbol.for(`react.activity`),p=Symbol.for(`react.view_transition`),m=Symbol.iterator;function h(e){return typeof e!=`object`||!e?null:(e=m&&e[m]||e[`@@iterator`],typeof e==`function`?e:null)}var g={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},_=Object.assign,v={};function y(e,t,n){this.props=e,this.context=t,this.refs=v,this.updater=n||g}y.prototype.isReactComponent={},y.prototype.setState=function(e,t){if(typeof e!=`object`&&typeof e!=`function`&&e!=null)throw Error(`takes an object of state variables to update or a function which returns an object of state variables.`);this.updater.enqueueSetState(this,e,t,`setState`)},y.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,`forceUpdate`)};function b(){}b.prototype=y.prototype;function x(e,t,n){this.props=e,this.context=t,this.refs=v,this.updater=n||g}var S=x.prototype=new b;S.constructor=x,_(S,y.prototype),S.isPureReactComponent=!0;var C=Array.isArray;function w(){}var T={H:null,A:null,T:null,S:null},E=Object.prototype.hasOwnProperty;function D(e,n,r){var i=r.ref;return{$$typeof:t,type:e,key:n,ref:i===void 0?null:i,props:r}}function O(e,t){return D(e.type,t,e.props)}function k(e){return typeof e==`object`&&!!e&&e.$$typeof===t}function ee(e){var t={"=":`=0`,":":`=2`};return`$`+e.replace(/[=:]/g,function(e){return t[e]})}var A=/\/+/g;function te(e,t){return typeof e==`object`&&e&&e.key!=null?ee(``+e.key):t.toString(36)}function j(e){switch(e.status){case`fulfilled`:return e.value;case`rejected`:throw e.reason;default:switch(typeof e.status==`string`?e.then(w,w):(e.status=`pending`,e.then(function(t){e.status===`pending`&&(e.status=`fulfilled`,e.value=t)},function(t){e.status===`pending`&&(e.status=`rejected`,e.reason=t)})),e.status){case`fulfilled`:return e.value;case`rejected`:throw e.reason}}throw e}function M(e,r,i,a,o){var s=typeof e;(s===`undefined`||s===`boolean`)&&(e=null);var c=!1;if(e===null)c=!0;else switch(s){case`bigint`:case`string`:case`number`:c=!0;break;case`object`:switch(e.$$typeof){case t:case n:c=!0;break;case d:return c=e._init,M(c(e._payload),r,i,a,o)}}if(c)return o=o(e),c=a===``?`.`+te(e,0):a,C(o)?(i=``,c!=null&&(i=c.replace(A,`$&/`)+`/`),M(o,r,i,``,function(e){return e})):o!=null&&(k(o)&&(o=O(o,i+(o.key==null||e&&e.key===o.key?``:(``+o.key).replace(A,`$&/`)+`/`)+c)),r.push(o)),1;c=0;var l=a===``?`.`:a+`:`;if(C(e))for(var u=0;u<e.length;u++)a=e[u],s=l+te(a,u),c+=M(a,r,i,s,o);else if(u=h(e),typeof u==`function`)for(e=u.call(e),u=0;!(a=e.next()).done;)a=a.value,s=l+te(a,u++),c+=M(a,r,i,s,o);else if(s===`object`){if(typeof e.then==`function`)return M(j(e),r,i,a,o);throw r=String(e),Error(`Objects are not valid as a React child (found: `+(r===`[object Object]`?`object with keys {`+Object.keys(e).join(`, `)+`}`:r)+`). If you meant to render a collection of children, use an array instead.`)}return c}function ne(e,t,n){if(e==null)return e;var r=[],i=0;return M(e,r,``,``,function(e){return t.call(n,e,i++)}),r}function re(e){if(e._status===-1){var t=e._result,n=t();n.then(function(t){(e._status===0||e._status===-1)&&(e._status=1,e._result=t,n.status===void 0&&(n.status=`fulfilled`,n.value=t))},function(t){(e._status===0||e._status===-1)&&(e._status=2,e._result=t,n.status===void 0&&(n.status=`rejected`,n.reason=t))}),e._status===-1&&(e._status=0,e._result=n)}if(e._status===1)return e._result.default;throw e._result}var ie=typeof reportError==`function`?reportError:function(e){if(typeof window==`object`&&typeof window.ErrorEvent==`function`){var t=new window.ErrorEvent(`error`,{bubbles:!0,cancelable:!0,message:typeof e==`object`&&e&&typeof e.message==`string`?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process==`object`&&typeof process.emit==`function`){process.emit(`uncaughtException`,e);return}console.error(e)};function ae(e){var t=T.T,n={};n.types=t===null?null:t.types,T.T=n;try{var r=e(),i=T.S;i!==null&&i(n,r),typeof r==`object`&&r&&typeof r.then==`function`&&r.then(w,ie)}catch(e){ie(e)}finally{t!==null&&n.types!==null&&(t.types=n.types),T.T=t}}function oe(e){var t=T.T;if(t!==null){var n=t.types;n===null?t.types=[e]:n.indexOf(e)===-1&&n.push(e)}else ae(oe.bind(null,e))}var se={map:ne,forEach:function(e,t,n){ne(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return ne(e,function(){t++}),t},toArray:function(e){return ne(e,function(e){return e})||[]},only:function(e){if(!k(e))throw Error(`React.Children.only expected to receive a single React element child.`);return e}};e.Activity=f,e.Children=se,e.Component=y,e.Fragment=r,e.Profiler=a,e.PureComponent=x,e.StrictMode=i,e.Suspense=l,e.ViewTransition=p,e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=T,e.__COMPILER_RUNTIME={__proto__:null,c:function(e){return T.H.useMemoCache(e)}},e.addTransitionType=oe,e.cache=function(e){return function(){return e.apply(null,arguments)}},e.cacheSignal=function(){return null},e.cloneElement=function(e,t,n){if(e==null)throw Error(`The argument must be a React element, but you passed `+e+`.`);var r=_({},e.props),i=e.key;if(t!=null)for(a in t.key!==void 0&&(i=``+t.key),t)!E.call(t,a)||a===`key`||a===`__self`||a===`__source`||a===`ref`&&t.ref===void 0||(r[a]=t[a]);var a=arguments.length-2;if(a===1)r.children=n;else if(1<a){for(var o=Array(a),s=0;s<a;s++)o[s]=arguments[s+2];r.children=o}return D(e.type,i,r)},e.createContext=function(e){return e={$$typeof:s,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider=e,e.Consumer={$$typeof:o,_context:e},e},e.createElement=function(e,t,n){var r,i={},a=null;if(t!=null)for(r in t.key!==void 0&&(a=``+t.key),t)E.call(t,r)&&r!==`key`&&r!==`__self`&&r!==`__source`&&(i[r]=t[r]);var o=arguments.length-2;if(o===1)i.children=n;else if(1<o){for(var s=Array(o),c=0;c<o;c++)s[c]=arguments[c+2];i.children=s}if(e&&e.defaultProps)for(r in o=e.defaultProps,o)i[r]===void 0&&(i[r]=o[r]);return D(e,a,i)},e.createRef=function(){return{current:null}},e.forwardRef=function(e){return{$$typeof:c,render:e}},e.isValidElement=k,e.lazy=function(e){return{$$typeof:d,_payload:{_status:-1,_result:e},_init:re}},e.memo=function(e,t){return{$$typeof:u,type:e,compare:t===void 0?null:t}},e.startTransition=ae,e.unstable_useCacheRefresh=function(){return T.H.useCacheRefresh()},e.use=function(e){return T.H.use(e)},e.useActionState=function(e,t,n){return T.H.useActionState(e,t,n)},e.useCallback=function(e,t){return T.H.useCallback(e,t)},e.useContext=function(e){return T.H.useContext(e)},e.useDebugValue=function(){},e.useDeferredValue=function(e,t){return T.H.useDeferredValue(e,t)},e.useEffect=function(e,t){return T.H.useEffect(e,t)},e.useEffectEvent=function(e){return T.H.useEffectEvent(e)},e.useId=function(){return T.H.useId()},e.useImperativeHandle=function(e,t,n){return T.H.useImperativeHandle(e,t,n)},e.useInsertionEffect=function(e,t){return T.H.useInsertionEffect(e,t)},e.useLayoutEffect=function(e,t){return T.H.useLayoutEffect(e,t)},e.useMemo=function(e,t){return T.H.useMemo(e,t)},e.useOptimistic=function(e,t){return T.H.useOptimistic(e,t)},e.useReducer=function(e,t,n){return T.H.useReducer(e,t,n)},e.useRef=function(e){return T.H.useRef(e)},e.useState=function(e){return T.H.useState(e)},e.useSyncExternalStore=function(e,t,n){return T.H.useSyncExternalStore(e,t,n)},e.useTransition=function(){return T.H.useTransition()},e.version=`19.3.1`})),a=n(((e,t)=>{t.exports=i()})),o=t({Activity:()=>l,Children:()=>u,Component:()=>d,Fragment:()=>f,Profiler:()=>p,PureComponent:()=>m,StrictMode:()=>h,Suspense:()=>g,ViewTransition:()=>_,__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE:()=>v,__COMPILER_RUNTIME:()=>y,addTransitionType:()=>b,cache:()=>x,cacheSignal:()=>S,cloneElement:()=>C,createContext:()=>w,createElement:()=>T,createRef:()=>E,default:()=>ye,forwardRef:()=>D,isValidElement:()=>O,lazy:()=>k,memo:()=>ee,startTransition:()=>A,unstable_useCacheRefresh:()=>te,use:()=>j,useActionState:()=>M,useCallback:()=>ne,useContext:()=>re,useDebugValue:()=>ie,useDeferredValue:()=>ae,useEffect:()=>oe,useEffectEvent:()=>se,useId:()=>ce,useImperativeHandle:()=>le,useInsertionEffect:()=>ue,useLayoutEffect:()=>de,useMemo:()=>fe,useOptimistic:()=>pe,useReducer:()=>me,useRef:()=>he,useState:()=>ge,useSyncExternalStore:()=>N,useTransition:()=>_e,version:()=>ve}),s=e(a()),c=s,l=c.Activity,u=c.Children,d=c.Component,f=c.Fragment,p=c.Profiler,m=c.PureComponent,h=c.StrictMode,g=c.Suspense,_=c.ViewTransition,v=c.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,y=c.__COMPILER_RUNTIME,b=c.addTransitionType,x=c.cache,S=c.cacheSignal,C=c.cloneElement,w=c.createContext,T=c.createElement,E=c.createRef,D=c.forwardRef,O=c.isValidElement,k=c.lazy,ee=c.memo,A=c.startTransition,te=c.unstable_useCacheRefresh,j=c.use,M=c.useActionState,ne=c.useCallback,re=c.useContext,ie=c.useDebugValue,ae=c.useDeferredValue,oe=c.useEffect,se=c.useEffectEvent,ce=c.useId,le=c.useImperativeHandle,ue=c.useInsertionEffect,de=c.useLayoutEffect,fe=c.useMemo,pe=c.useOptimistic,me=c.useReducer,he=c.useRef,ge=c.useState,N=c.useSyncExternalStore,_e=c.useTransition,ve=c.version,ye=Reflect.get(s,`default`)??s,be=t({Activity:()=>Pe,Children:()=>Fe,Component:()=>Ie,Fragment:()=>F,Profiler:()=>Le,PureComponent:()=>Re,StrictMode:()=>ze,Suspense:()=>Be,ViewTransition:()=>Ve,__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE:()=>He,__COMPILER_RUNTIME:()=>Ue,__moduleExports:()=>St,addTransitionType:()=>We,cache:()=>Ge,cacheSignal:()=>Ke,cloneElement:()=>qe,createContext:()=>Je,createElement:()=>Ye,createRef:()=>Xe,default:()=>P,forwardRef:()=>I,isValidElement:()=>Ze,lazy:()=>Qe,memo:()=>$e,startTransition:()=>et,unstable_useCacheRefresh:()=>tt,use:()=>nt,useActionState:()=>rt,useCallback:()=>it,useContext:()=>at,useDebugValue:()=>ot,useDeferredValue:()=>st,useEffect:()=>ct,useEffectEvent:()=>lt,useId:()=>ut,useImperativeHandle:()=>dt,useInsertionEffect:()=>ft,useLayoutEffect:()=>pt,useMemo:()=>mt,useOptimistic:()=>ht,useReducer:()=>gt,useRef:()=>L,useState:()=>_t,useSyncExternalStore:()=>vt,useTransition:()=>yt,version:()=>bt}),xe=`__mf_module_cache__`;globalThis[xe]||={share:{},remote:{}},globalThis[xe].share||={},globalThis[xe].remote||={};var Se=globalThis[xe];for(let e of Object.keys(Se.share))if(e.startsWith(`default:`)){let t=e.slice(8);Se.share[t]===void 0&&(Se.share[t]=Se.share[e])}else if(!e.includes(`:`)){let t=`default:`+e;Se.share[t]===void 0&&(Se.share[t]=Se.share[e])}var Ce=(e,t)=>{let n=e[t.canonical];if(n!==void 0)return n;let r=t.aliases||[];for(let n of r){if(!Object.prototype.hasOwnProperty.call(e,n))continue;let r=e[n];if(r!==void 0)return e[t.canonical]=r,r}},we=Symbol.for(`module-federation.shared-cache-listeners`),Te=e=>{let t=e[we];return t===void 0&&(t=Object.create(null),Object.defineProperty(e,we,{value:t,enumerable:!1,configurable:!1,writable:!1})),t},Ee=(e,t,n)=>{let r=Te(e);(r[t.canonical]||=new Set).add(n)},De=Symbol.for(`module-federation.shared-cache-owners`),Oe=e=>{let t=e[De];return t===void 0&&(t=Object.create(null),Object.defineProperty(e,De,{value:t,enumerable:!1,configurable:!1,writable:!1})),t},ke=e=>{let t=[e,e==null?void 0:e.default];for(let e of t)if(e&&typeof e==`object`){for(let t of[`__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE`,`__TEST_INTERNALS`,`__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED`]){let n=e[t];if(n&&typeof n==`object`)return{internals:n}}if(typeof e.useState==`function`)return{hook:e.useState}}},Ae=(e,t)=>{if(e===t)return!0;let n=ke(e),r=ke(t);if(!n||!r)return!1;let i=n.internals,a=r.internals;return i!==void 0||a!==void 0?i!==void 0&&i===a:typeof n.hook==`function`&&n.hook===r.hook},je=(e,t,n,r)=>{var i;let a=Ce(e,t);if(a!==void 0&&Ae(a,n))return n;e[t.canonical]=n;let o=t.aliases||[];for(let t of o)Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0});let s=e[De];r===void 0?s&&delete s[t.canonical]:Oe(e)[t.canonical]=r;let c=(i=e[we])==null?void 0:i[t.canonical];if(c)for(let e of c)e(n);return n},Me=e=>{let t=(()=>{let t=e;for(let e=0;e<5;e++){let e=t==null?void 0:t.default;if(!e||typeof e!=`object`)break;let n=Object.keys(t).filter(e=>e!=="default").map(e=>t[e]);if(n.length>0&&n.some(e=>e!==void 0))break;t=e}return t})();return t&&Object.getPrototypeOf(t)===null?Object.assign({},t):t},Ne=Ce(Se.share,{canonical:`default:react`,aliases:[`react`]});Ne===void 0&&(Ne=Me(o),je(Se.share,{canonical:`default:react`,aliases:[`react`]},Ne,`InfluxDBComponentsSet`));var P,Pe,Fe,Ie,F,Le,Re,ze,Be,Ve,He,Ue,We,Ge,Ke,qe,Je,Ye,Xe,I,Ze,Qe,$e,et,tt,nt,rt,it,at,ot,st,ct,lt,ut,dt,ft,pt,mt,ht,gt,L,_t,vt,yt,bt,xt=e=>{let t=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;if(t&&`A`in t){let e=t.A;Object.defineProperty(t,"A",{configurable:!0,enumerable:!0,get:()=>e,set:t=>{t&&typeof t.getOwner!=`function`&&(t.getOwner=()=>null),e=t}}),t.A=e}Pe=e.Activity,Fe=e.Children,Ie=e.Component,F=e.Fragment,Le=e.Profiler,Re=e.PureComponent,ze=e.StrictMode,Be=e.Suspense,Ve=e.ViewTransition,He=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Ue=e.__COMPILER_RUNTIME,We=e.addTransitionType,Ge=e.cache,Ke=e.cacheSignal,qe=e.cloneElement,Je=e.createContext,Ye=e.createElement,Xe=e.createRef,I=e.forwardRef,Ze=e.isValidElement,Qe=e.lazy,$e=e.memo,et=e.startTransition,tt=e.unstable_useCacheRefresh,nt=e.use,rt=e.useActionState,it=e.useCallback,at=e.useContext,ot=e.useDebugValue,st=e.useDeferredValue,ct=e.useEffect,lt=e.useEffectEvent,ut=e.useId,dt=e.useImperativeHandle,ft=e.useInsertionEffect,pt=e.useLayoutEffect,mt=e.useMemo,ht=e.useOptimistic,gt=e.useReducer,L=e.useRef,_t=e.useState,vt=e.useSyncExternalStore,yt=e.useTransition,bt=e.version,P=(()=>{let t=e;for(let e=0;e<5;e++){let e=t==null?void 0:t.default;if(!e||typeof e!=`object`)return e??t;t=e}return t})()};Ee(Se.share,{canonical:`default:react`,aliases:[`react`]},xt),xt(Ne);var St=Ne,Ct=(e,t)=>{let n=e[t.canonical];if(n!==void 0)return n;let r=t.aliases||[];for(let n of r){if(!Object.prototype.hasOwnProperty.call(e,n))continue;let r=e[n];if(r!==void 0)return e[t.canonical]=r,r}},wt=Symbol.for(`module-federation.shared-cache-listeners`),Tt=e=>{let t=e[wt];return t===void 0&&(t=Object.create(null),Object.defineProperty(e,wt,{value:t,enumerable:!1,configurable:!1,writable:!1})),t},Et=(e,t,n)=>{let r=Tt(e);(r[t.canonical]||=new Set).add(n)},Dt=Symbol.for(`module-federation.shared-cache-owners`),Ot=e=>{let t=e[Dt];return t===void 0&&(t=Object.create(null),Object.defineProperty(e,Dt,{value:t,enumerable:!1,configurable:!1,writable:!1})),t},kt=e=>{let t=[e,e==null?void 0:e.default];for(let e of t)if(e&&typeof e==`object`){for(let t of[`__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE`,`__TEST_INTERNALS`,`__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED`]){let n=e[t];if(n&&typeof n==`object`)return{internals:n}}if(typeof e.useState==`function`)return{hook:e.useState}}},At=(e,t)=>{if(e===t)return!0;let n=kt(e),r=kt(t);if(!n||!r)return!1;let i=n.internals,a=r.internals;return i!==void 0||a!==void 0?i!==void 0&&i===a:typeof n.hook==`function`&&n.hook===r.hook},jt=(e,t,n,r)=>{var i;let a=Ct(e,t);if(a!==void 0&&At(a,n))return n;e[t.canonical]=n;let o=t.aliases||[];for(let t of o)Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0});let s=e[Dt];r===void 0?s&&delete s[t.canonical]:Ot(e)[t.canonical]=r;let c=(i=e[wt])==null?void 0:i[t.canonical];if(c)for(let e of c)e(n);return n};function Mt(e,...t){let n=new URL(`https://mui.com/production-error/?code=${e}`);return t.forEach(e=>n.searchParams.append(`args[]`,e)),`Minified MUI error #${e}; visit ${n} for the full message.`}var Nt=`$$material`;function Pt(){return Pt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Pt.apply(null,arguments)}function eee(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function tee(e){var t=document.createElement(`style`);return t.setAttribute(`data-emotion`,e.key),e.nonce!==void 0&&t.setAttribute(`nonce`,e.nonce),t.appendChild(document.createTextNode(``)),t.setAttribute(`data-s`,``),t}var Ft=function(){function e(e){var t=this;this._insertTag=function(e){var n=t.tags.length===0?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling;t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=e.speedy===void 0||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(tee(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=eee(t);try{n.insertRule(e,n.cssRules.length)}catch{}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach(function(e){var t;return(t=e.parentNode)==null?void 0:t.removeChild(e)}),this.tags=[],this.ctr=0},e}(),It=`-ms-`,Lt=`-moz-`,Rt=`-webkit-`,nee=`comm`,zt=`rule`,Bt=`decl`,ree=`@import`,iee=`@keyframes`,aee=`@layer`,oee=Math.abs,Vt=String.fromCharCode,see=Object.assign;function cee(e,t){return Gt(e,0)^45?(((t<<2^Gt(e,0))<<2^Gt(e,1))<<2^Gt(e,2))<<2^Gt(e,3):0}function Ht(e){return e.trim()}function lee(e,t){return(e=t.exec(e))?e[0]:e}function Ut(e,t,n){return e.replace(t,n)}function Wt(e,t){return e.indexOf(t)}function Gt(e,t){return e.charCodeAt(t)|0}function Kt(e,t,n){return e.slice(t,n)}function qt(e){return e.length}function Jt(e){return e.length}function Yt(e,t){return t.push(e),e}function uee(e,t){return e.map(t).join(``)}var Xt=1,Zt=1,dee=0,Qt=0,$t=0,en=``;function tn(e,t,n,r,i,a,o){return{value:e,root:t,parent:n,type:r,props:i,children:a,line:Xt,column:Zt,length:o,return:``}}function nn(e,t){return see(tn(``,null,null,``,null,null,0),e,{length:-e.length},t)}function fee(){return $t}function pee(){return $t=Qt>0?Gt(en,--Qt):0,Zt--,$t===10&&(Zt=1,Xt--),$t}function rn(){return $t=Qt<dee?Gt(en,Qt++):0,Zt++,$t===10&&(Zt=1,Xt++),$t}function an(){return Gt(en,Qt)}function on(){return Qt}function sn(e,t){return Kt(en,e,t)}function cn(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function mee(e){return Xt=Zt=1,dee=qt(en=e),Qt=0,[]}function hee(e){return en=``,e}function ln(e){return Ht(sn(Qt-1,un(e===91?e+2:e===40?e+1:e)))}function gee(e){for(;($t=an())&&$t<33;)rn();return cn(e)>2||cn($t)>3?``:` `}function _ee(e,t){for(;--t&&rn()&&!($t<48||$t>102||$t>57&&$t<65||$t>70&&$t<97););return sn(e,on()+(t<6&&an()==32&&rn()==32))}function un(e){for(;rn();)switch($t){case e:return Qt;case 34:case 39:e!==34&&e!==39&&un($t);break;case 40:e===41&&un(e);break;case 92:rn()}return Qt}function vee(e,t){for(;rn()&&e+$t!==57&&(e+$t!==84||an()!==47););return`/*`+sn(t,Qt-1)+`*`+Vt(e===47?e:rn())}function yee(e){for(;!cn(an());)rn();return sn(e,Qt)}function bee(e){return hee(dn(``,null,null,null,[``],e=mee(e),0,[0],e))}function dn(e,t,n,r,i,a,o,s,c){for(var l=0,u=0,d=o,f=0,p=0,m=0,h=1,g=1,_=1,v=0,y=``,b=i,x=a,S=r,C=y;g;)switch(m=v,v=rn()){case 40:if(m!=108&&Gt(C,d-1)==58){Wt(C+=Ut(ln(v),`&`,`&\f`),`&\f`)!=-1&&(_=-1);break}case 34:case 39:case 91:C+=ln(v);break;case 9:case 10:case 13:case 32:C+=gee(m);break;case 92:C+=_ee(on()-1,7);continue;case 47:switch(an()){case 42:case 47:Yt(xee(vee(rn(),on()),t,n),c);break;default:C+=`/`}break;case 123*h:s[l++]=qt(C)*_;case 125*h:case 59:case 0:switch(v){case 0:case 125:g=0;case 59+u:_==-1&&(C=Ut(C,/\f/g,``)),p>0&&qt(C)-d&&Yt(p>32?pn(C+`;`,r,n,d-1):pn(Ut(C,` `,``)+`;`,r,n,d-2),c);break;case 59:C+=`;`;default:if(Yt(S=fn(C,t,n,l,u,i,s,y,b=[],x=[],d),a),v===123){if(u===0)dn(C,t,S,S,b,a,d,s,x);else switch(f===99&&Gt(C,3)===110?100:f){case 100:case 108:case 109:case 115:dn(e,S,S,r&&Yt(fn(e,S,S,0,0,i,s,y,i,b=[],d),x),i,x,d,s,r?b:x);break;default:dn(C,S,S,S,[``],x,0,s,x)}}}l=u=p=0,h=_=1,y=C=``,d=o;break;case 58:d=1+qt(C),p=m;default:if(h<1){if(v==123)--h;else if(v==125&&h++==0&&pee()==125)continue}switch(C+=Vt(v),v*h){case 38:_=u>0?1:(C+=`\f`,-1);break;case 44:s[l++]=(qt(C)-1)*_,_=1;break;case 64:an()===45&&(C+=ln(rn())),f=an(),u=d=qt(y=C+=yee(on())),v++;break;case 45:m===45&&qt(C)==2&&(h=0)}}return a}function fn(e,t,n,r,i,a,o,s,c,l,u){for(var d=i-1,f=i===0?a:[``],p=Jt(f),m=0,h=0,g=0;m<r;++m)for(var _=0,v=Kt(e,d+1,d=oee(h=o[m])),y=e;_<p;++_)(y=Ht(h>0?f[_]+` `+v:Ut(v,/&\f/g,f[_])))&&(c[g++]=y);return tn(e,t,n,i===0?zt:s,c,l,u)}function xee(e,t,n){return tn(e,t,n,nee,Vt(fee()),Kt(e,2,-2),0)}function pn(e,t,n,r){return tn(e,t,n,Bt,Kt(e,0,r),Kt(e,r+1,-1),r)}function mn(e,t){for(var n=``,r=Jt(e),i=0;i<r;i++)n+=t(e[i],i,e,t)||``;return n}function See(e,t,n,r){switch(e.type){case aee:if(e.children.length)break;case ree:case Bt:return e.return=e.return||e.value;case nee:return``;case iee:return e.return=e.value+`{`+mn(e.children,r)+`}`;case zt:e.value=e.props.join(`,`)}return qt(n=mn(e.children,r))?e.return=e.value+`{`+n+`}`:``}function Cee(e){var t=Jt(e);return function(n,r,i,a){for(var o=``,s=0;s<t;s++)o+=e[s](n,r,i,a)||``;return o}}function wee(e){return function(t){t.root||(t=t.return)&&e(t)}}function Tee(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var Eee=function(e,t,n){for(var r=0,i=0;r=i,i=an(),r===38&&i===12&&(t[n]=1),!cn(i);)rn();return sn(e,Qt)},Dee=function(e,t){var n=-1,r=44;do switch(cn(r)){case 0:r===38&&an()===12&&(t[n]=1),e[n]+=Eee(Qt-1,t,n);break;case 2:e[n]+=ln(r);break;case 4:if(r===44){e[++n]=an()===58?`&\f`:``,t[n]=e[n].length;break}default:e[n]+=Vt(r)}while(r=rn());return e},Oee=function(e,t){return hee(Dee(mee(e),t))},kee=new WeakMap,Aee=function(e){if(!(e.type!==`rule`||!e.parent||e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;n.type!==`rule`;)if(n=n.parent,!n)return;if((e.props.length!==1||t.charCodeAt(0)===58||kee.get(n))&&!r){kee.set(e,!0);for(var i=[],a=Oee(t,i),o=n.props,s=0,c=0;s<a.length;s++)for(var l=0;l<o.length;l++,c++)e.props[c]=i[s]?a[s].replace(/&\f/g,o[l]):o[l]+` `+a[s]}}},jee=function(e){if(e.type===`decl`){var t=e.value;t.charCodeAt(0)===108&&t.charCodeAt(2)===98&&(e.return=``,e.value=``)}};function Mee(e,t){switch(cee(e,t)){case 5103:return Rt+`print-`+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return Rt+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Rt+e+Lt+e+It+e+e;case 6828:case 4268:return Rt+e+It+e+e;case 6165:return Rt+e+It+`flex-`+e+e;case 5187:return Rt+e+Ut(e,/(\w+).+(:[^]+)/,Rt+`box-$1$2`+It+`flex-$1$2`)+e;case 5443:return Rt+e+It+`flex-item-`+Ut(e,/flex-|-self/,``)+e;case 4675:return Rt+e+It+`flex-line-pack`+Ut(e,/align-content|flex-|-self/,``)+e;case 5548:return Rt+e+It+Ut(e,`shrink`,`negative`)+e;case 5292:return Rt+e+It+Ut(e,`basis`,`preferred-size`)+e;case 6060:return Rt+`box-`+Ut(e,`-grow`,``)+Rt+e+It+Ut(e,`grow`,`positive`)+e;case 4554:return Rt+Ut(e,/([^-])(transform)/g,`$1`+Rt+`$2`)+e;case 6187:return Ut(Ut(Ut(e,/(zoom-|grab)/,Rt+`$1`),/(image-set)/,Rt+`$1`),e,``)+e;case 5495:case 3959:return Ut(e,/(image-set\([^]*)/,Rt+"$1$`$1");case 4968:return Ut(Ut(e,/(.+:)(flex-)?(.*)/,Rt+`box-pack:$3`+It+`flex-pack:$3`),/s.+-b[^;]+/,`justify`)+Rt+e+e;case 4095:case 3583:case 4068:case 2532:return Ut(e,/(.+)-inline(.+)/,Rt+`$1$2`)+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(qt(e)-1-t>6)switch(Gt(e,t+1)){case 109:if(Gt(e,t+4)!==45)break;case 102:return Ut(e,/(.+:)(.+)-([^]+)/,`$1`+Rt+`$2-$3$1`+Lt+(Gt(e,t+3)==108?`$3`:`$2-$3`))+e;case 115:return~Wt(e,`stretch`)?Mee(Ut(e,`stretch`,`fill-available`),t)+e:e}break;case 4949:if(Gt(e,t+1)!==115)break;case 6444:switch(Gt(e,qt(e)-3-(~Wt(e,`!important`)&&10))){case 107:return Ut(e,`:`,`:`+Rt)+e;case 101:return Ut(e,/(.+:)([^;!]+)(;|!.+)?/,`$1`+Rt+(Gt(e,14)===45?`inline-`:``)+`box$3$1`+Rt+`$2$3$1`+It+`$2box$3`)+e}break;case 5936:switch(Gt(e,t+11)){case 114:return Rt+e+It+Ut(e,/[svh]\w+-[tblr]{2}/,`tb`)+e;case 108:return Rt+e+It+Ut(e,/[svh]\w+-[tblr]{2}/,`tb-rl`)+e;case 45:return Rt+e+It+Ut(e,/[svh]\w+-[tblr]{2}/,`lr`)+e}return Rt+e+It+e+e}return e}var Nee=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case Bt:e.return=Mee(e.value,e.length);break;case iee:return mn([nn(e,{value:Ut(e.value,`@`,`@`+Rt)})],r);case zt:if(e.length)return uee(e.props,function(t){switch(lee(t,/(::plac\w+|:read-\w+)/)){case`:read-only`:case`:read-write`:return mn([nn(e,{props:[Ut(t,/:(read-\w+)/,`:`+Lt+`$1`)]})],r);case`::placeholder`:return mn([nn(e,{props:[Ut(t,/:(plac\w+)/,`:`+Rt+`input-$1`)]}),nn(e,{props:[Ut(t,/:(plac\w+)/,`:`+Lt+`$1`)]}),nn(e,{props:[Ut(t,/:(plac\w+)/,It+`input-$1`)]})],r)}return``})}}],Pee=function(e){var t=e.key;if(t===`css`){var n=document.querySelectorAll(`style[data-emotion]:not([data-s])`);Array.prototype.forEach.call(n,function(e){e.getAttribute(`data-emotion`).indexOf(` `)!==-1&&(document.head.appendChild(e),e.setAttribute(`data-s`,``))})}var r=e.stylisPlugins||Nee,i={},a,o=[];a=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll(`style[data-emotion^="`+t+` "]`),function(e){for(var t=e.getAttribute(`data-emotion`).split(` `),n=1;n<t.length;n++)i[t[n]]=!0;o.push(e)});var s,c=[Aee,jee],l,u=[See,wee(function(e){l.insert(e)})],d=Cee(c.concat(r,u)),f=function(e){return mn(bee(e),d)};s=function(e,t,n,r){l=n,f(e?e+`{`+t.styles+`}`:t.styles),r&&(p.inserted[t.name]=!0)};var p={key:t,sheet:new Ft({key:t,container:a,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:i,registered:{},insert:s};return p.sheet.hydrate(o),p},Fee=n((e=>{var t=typeof Symbol==`function`&&Symbol.for,n=t?Symbol.for(`react.element`):60103,r=t?Symbol.for(`react.portal`):60106,i=t?Symbol.for(`react.fragment`):60107,a=t?Symbol.for(`react.strict_mode`):60108,o=t?Symbol.for(`react.profiler`):60114,s=t?Symbol.for(`react.provider`):60109,c=t?Symbol.for(`react.context`):60110,l=t?Symbol.for(`react.async_mode`):60111,u=t?Symbol.for(`react.concurrent_mode`):60111,d=t?Symbol.for(`react.forward_ref`):60112,f=t?Symbol.for(`react.suspense`):60113,p=t?Symbol.for(`react.suspense_list`):60120,m=t?Symbol.for(`react.memo`):60115,h=t?Symbol.for(`react.lazy`):60116,g=t?Symbol.for(`react.block`):60121,_=t?Symbol.for(`react.fundamental`):60117,v=t?Symbol.for(`react.responder`):60118,y=t?Symbol.for(`react.scope`):60119;function b(e){if(typeof e==`object`&&e){var t=e.$$typeof;switch(t){case n:switch(e=e.type,e){case l:case u:case i:case o:case a:case f:return e;default:switch(e&&=e.$$typeof,e){case c:case d:case h:case m:case s:return e;default:return t}}case r:return t}}}function x(e){return b(e)===u}e.AsyncMode=l,e.ConcurrentMode=u,e.ContextConsumer=c,e.ContextProvider=s,e.Element=n,e.ForwardRef=d,e.Fragment=i,e.Lazy=h,e.Memo=m,e.Portal=r,e.Profiler=o,e.StrictMode=a,e.Suspense=f,e.isAsyncMode=function(e){return x(e)||b(e)===l},e.isConcurrentMode=x,e.isContextConsumer=function(e){return b(e)===c},e.isContextProvider=function(e){return b(e)===s},e.isElement=function(e){return typeof e==`object`&&!!e&&e.$$typeof===n},e.isForwardRef=function(e){return b(e)===d},e.isFragment=function(e){return b(e)===i},e.isLazy=function(e){return b(e)===h},e.isMemo=function(e){return b(e)===m},e.isPortal=function(e){return b(e)===r},e.isProfiler=function(e){return b(e)===o},e.isStrictMode=function(e){return b(e)===a},e.isSuspense=function(e){return b(e)===f},e.isValidElementType=function(e){return typeof e==`string`||typeof e==`function`||e===i||e===u||e===o||e===a||e===f||e===p||typeof e==`object`&&!!e&&(e.$$typeof===h||e.$$typeof===m||e.$$typeof===s||e.$$typeof===c||e.$$typeof===d||e.$$typeof===_||e.$$typeof===v||e.$$typeof===y||e.$$typeof===g)},e.typeOf=b})),Iee=n(((e,t)=>{t.exports=Fee()})),Lee=n(((e,t)=>{var n=Iee(),r={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},o={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};s[n.ForwardRef]=a,s[n.Memo]=o;function c(e){return n.isMemo(e)?o:s[e.$$typeof]||r}var l=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,m=Object.prototype;function h(e,t,n){if(typeof t!=`string`){if(m){var r=p(t);r&&r!==m&&h(e,r,n)}var a=u(t);d&&(a=a.concat(d(t)));for(var o=c(e),s=c(t),g=0;g<a.length;++g){var _=a[g];if(!i[_]&&!(n&&n[_])&&!(s&&s[_])&&!(o&&o[_])){var v=f(t,_);try{l(e,_,v)}catch{}}}}return e}t.exports=h}));function Ree(e,t,n){var r=``;return n.split(` `).forEach(function(n){e[n]===void 0?n&&(r+=n+` `):t.push(e[n]+`;`)}),r}var hn=function(e,t,n){var r=e.key+`-`+t.name;n===!1&&e.registered[r]===void 0&&(e.registered[r]=t.styles)},gn=function(e,t,n){hn(e,t,n);var r=e.key+`-`+t.name;if(e.inserted[t.name]===void 0){var i=t;do e.insert(t===i?`.`+r:``,i,e.sheet,!0),i=i.next;while(i!==void 0)}};function zee(e){for(var t=0,n,r=0,i=e.length;i>=4;++r,i-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(i){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var Bee={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Vee=/[A-Z]|^ms/g,Hee=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Uee=function(e){return e.charCodeAt(1)===45},Wee=function(e){return e!=null&&typeof e!=`boolean`},_n=Tee(function(e){return Uee(e)?e:e.replace(Vee,`-$&`).toLowerCase()}),Gee=function(e,t){switch(e){case`animation`:case`animationName`:if(typeof t==`string`)return t.replace(Hee,function(e,t,n){return bn={name:t,styles:n,next:bn},t})}return Bee[e]!==1&&!Uee(e)&&typeof t==`number`&&t!==0?t+`px`:t};function vn(e,t,n){if(n==null)return``;var r=n;if(r.__emotion_styles!==void 0)return r;switch(typeof n){case`boolean`:return``;case`object`:var i=n;if(i.anim===1)return bn={name:i.name,styles:i.styles,next:bn},i.name;var a=n;if(a.styles!==void 0){var o=a.next;if(o!==void 0)for(;o!==void 0;)bn={name:o.name,styles:o.styles,next:bn},o=o.next;return a.styles+`;`}return Kee(e,t,n);case`function`:if(e!==void 0){var s=bn,c=n(e);return bn=s,vn(e,t,c)}}var l=n;if(t==null)return l;var u=t[l];return u===void 0?l:u}function Kee(e,t,n){var r=``;if(Array.isArray(n))for(var i=0;i<n.length;i++)r+=vn(e,t,n[i])+`;`;else for(var a in n){var o=n[a];if(typeof o!=`object`){var s=o;t!=null&&t[s]!==void 0?r+=a+`{`+t[s]+`}`:Wee(s)&&(r+=_n(a)+`:`+Gee(a,s)+`;`)}else if(Array.isArray(o)&&typeof o[0]==`string`&&(t==null||t[o[0]]===void 0))for(var c=0;c<o.length;c++)Wee(o[c])&&(r+=_n(a)+`:`+Gee(a,o[c])+`;`);else{var l=vn(e,t,o);switch(a){case`animation`:case`animationName`:r+=_n(a)+`:`+l+`;`;break;default:r+=a+`{`+l+`}`}}}return r}var yn=/label:\s*([^\s;{]+)\s*(;|$)/g,bn;function xn(e,t,n){if(e.length===1&&typeof e[0]==`object`&&e[0]!==null&&e[0].styles!==void 0)return e[0];var r=!0,i=``;bn=void 0;var a=e[0];a==null||a.raw===void 0?(r=!1,i+=vn(n,t,a)):i+=a[0];for(var o=1;o<e.length;o++)i+=vn(n,t,e[o]),r&&(i+=a[o]);yn.lastIndex=0;for(var s=``,c;(c=yn.exec(i))!==null;)s+=`-`+c[1];return{name:zee(i)+s,styles:i,next:bn}}var qee=function(e){return e()},Sn=ft||!1,Cn=Sn||qee,wn=Sn||pt,Tn=Je(typeof HTMLElement<`u`?Pee({key:`css`}):null),Jee=Tn.Provider,En=function(e){return I(function(t,n){return e(t,at(Tn),n)})},Dn=Je({}),On={}.hasOwnProperty,kn=`__EMOTION_TYPE_PLEASE_DO_NOT_USE__`,Yee=function(e,t){var n={};for(var r in t)On.call(t,r)&&(n[r]=t[r]);return n[kn]=e,n},Xee=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return hn(t,n,r),Cn(function(){return gn(t,n,r)}),null},Zee=En(function(e,t,n){var r=e.css;typeof r==`string`&&t.registered[r]!==void 0&&(r=t.registered[r]);var i=e[kn],a=[r],o=``;typeof e.className==`string`?o=Ree(t.registered,a,e.className):e.className!=null&&(o=e.className+` `);var s=xn(a,void 0,at(Dn));o+=t.key+`-`+s.name;var c={};for(var l in e)On.call(e,l)&&l!==`css`&&l!==kn&&(c[l]=e[l]);return c.className=o,n&&(c.ref=n),Ye(F,null,Ye(Xee,{cache:t,serialized:s,isStringTag:typeof i==`string`}),Ye(i,c))});Lee();var Qee=function(e,t){var n=arguments;if(t==null||!On.call(t,`css`))return Ye.apply(void 0,n);var r=n.length,i=Array(r);i[0]=Zee,i[1]=Yee(e,t);for(var a=2;a<r;a++)i[a]=n[a];return Ye.apply(null,i)};(function(e){var t;t||=e.JSX||={}})(Qee||={});var $ee=En(function(e,t){var n=e.styles,r=xn([n],void 0,at(Dn)),i=L();return wn(function(){var e=t.key+`-global`,n=new t.sheet.constructor({key:e,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),a=!1,o=document.querySelector(`style[data-emotion="`+e+` `+r.name+`"]`);return t.sheet.tags.length&&(n.before=t.sheet.tags[0]),o!==null&&(a=!0,o.setAttribute(`data-emotion`,e),n.hydrate([o])),i.current=[n,a],function(){n.flush()}},[t]),wn(function(){var e=i.current,n=e[0];e[1]?e[1]=!1:(r.next!==void 0&&gn(t,r.next,!0),n.tags.length&&(n.before=n.tags[n.tags.length-1].nextElementSibling,n.flush()),t.insert(``,r,n,!1))},[t,r.name]),null});function An(){return xn([...arguments])}function jn(){var e=An.apply(void 0,arguments),t=`animation-`+e.name;return{name:t,styles:`@keyframes `+t+`{`+e.styles+`}`,anim:1,toString:function(){return`_EMO_`+this.name+`_`+this.styles+`_EMO_`}}}var ete=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|popover|popoverTarget|popoverTargetAction|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,tte=Tee(function(e){return ete.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),nte=function(e){return e!==`theme`},rte=function(e){return typeof e==`string`&&e.charCodeAt(0)>96?tte:nte},ite=function(e,t,n){var r;if(t){var i=t.shouldForwardProp;r=e.__emotion_forwardProp&&i?function(t){return e.__emotion_forwardProp(t)&&i(t)}:i}return typeof r!=`function`&&n&&(r=e.__emotion_forwardProp),r},ate=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return hn(t,n,r),Cn(function(){return gn(t,n,r)}),null},ote=function e(t,n){var r=t.__emotion_real===t,i=r&&t.__emotion_base||t,a,o;n!==void 0&&(a=n.label,o=n.target);var s=ite(t,n,r),c=s||rte(i),l=!c(`as`);return function(){var u=arguments,d=r&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(a!==void 0&&d.push(`label:`+a+`;`),u[0]==null||u[0].raw===void 0)d.push.apply(d,u);else{var f=u[0];d.push(f[0]);for(var p=u.length,m=1;m<p;m++)d.push(u[m],f[m])}var h=En(function(e,t,n){var r=l&&e.as||i,a=``,u=[],f=e;if(e.theme==null){for(var p in f={},e)f[p]=e[p];f.theme=at(Dn)}typeof e.className==`string`?a=Ree(t.registered,u,e.className):e.className!=null&&(a=e.className+` `);var m=xn(d.concat(u),t.registered,f);a+=t.key+`-`+m.name,o!==void 0&&(a+=` `+o);var h=l&&s===void 0?rte(r):c,g={};for(var _ in e)l&&_===`as`||h(_)&&(g[_]=e[_]);return g.className=a,n&&(g.ref=n),Ye(F,null,Ye(ate,{cache:t,serialized:m,isStringTag:typeof r==`string`}),Ye(r,g))});return h.displayName=a===void 0?`Styled(`+(typeof i==`string`?i:i.displayName||i.name||`Component`)+`)`:a,h.defaultProps=t.defaultProps,h.__emotion_real=h,h.__emotion_base=i,h.__emotion_styles=d,h.__emotion_forwardProp=s,Object.defineProperty(h,"toString",{value:function(){return`.`+o}}),h.withComponent=function(t,r){return e(t,Pt({},n,r,{shouldForwardProp:ite(h,r,!0)})).apply(void 0,d)},h}},ste=`a.abbr.address.area.article.aside.audio.b.base.bdi.bdo.big.blockquote.body.br.button.canvas.caption.cite.code.col.colgroup.data.datalist.dd.del.details.dfn.dialog.div.dl.dt.em.embed.fieldset.figcaption.figure.footer.form.h1.h2.h3.h4.h5.h6.head.header.hgroup.hr.html.i.iframe.img.input.ins.kbd.keygen.label.legend.li.link.main.map.mark.marquee.menu.menuitem.meta.meter.nav.noscript.object.ol.optgroup.option.output.p.param.picture.pre.progress.q.rp.rt.ruby.s.samp.script.section.select.small.source.span.strong.style.sub.summary.sup.table.tbody.td.textarea.tfoot.th.thead.time.title.tr.track.u.ul.var.video.wbr.circle.clipPath.defs.ellipse.foreignObject.g.image.line.linearGradient.mask.path.pattern.polygon.polyline.radialGradient.rect.stop.svg.text.tspan`.split(`.`),Mn=ote.bind(null);ste.forEach(function(e){Mn[e]=Mn(e)});var cte=n(((e,t)=>{t.exports=`SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED`})),lte=n(((e,t)=>{var n=cte();function r(){}function i(){}i.resetWarningCache=r,t.exports=function(){function e(e,t,r,i,a,o){if(o!==n){var s=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name=`Invariant Violation`,s}}e.isRequired=e;function t(){return e}var a={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:r};return a.PropTypes=a,a}})),ute=n(((e,t)=>{t.exports=lte()()})),dte=`__mf_init__virtual:mf:__mfe_internal__InfluxDBComponentsSet__mf_owner__97835354470012__mf_v__runtimeInit__mf_v__.js__`,Nn=globalThis[dte];if(!Nn){let e,t,n=new Promise((n,r)=>{e=n,t=r});Nn=globalThis[dte]={initPromise:n,initResolve:e,initReject:t}}var fte=Nn.initPromise,Pn=`__mf_module_cache__`;globalThis[Pn]||={share:{},remote:{}},globalThis[Pn].share||={},globalThis[Pn].remote||={};var Fn=globalThis[Pn],pte=e=>{let t=Fn.pendingShareLoads||=[];t.push(e);let n=()=>{let n=t.indexOf(e);n!==-1&&t.splice(n,1)};return e.then(n,n),e};for(let e of Object.keys(Fn.share))if(e.startsWith(`default:`)){let t=e.slice(8);Fn.share[t]===void 0&&(Fn.share[t]=Fn.share[e])}else if(!e.includes(`:`)){let t=`default:`+e;Fn.share[t]===void 0&&(Fn.share[t]=Fn.share[e])}var mte=e=>{let t=(()=>{let t=e;for(let e=0;e<5;e++){let e=t==null?void 0:t.default;if(!e||typeof e!=`object`)break;let n=Object.keys(t).filter(e=>e!=="default").map(e=>t[e]);if(n.length>0&&n.some(e=>e!==void 0))break;t=e}return t})();return t&&Object.getPrototypeOf(t)===null?Object.assign({},t):t},In,R,z,Ln=e=>{Rn=e,In=e.Fragment,R=e.jsx,z=e.jsxs,e.default};Et(Fn.share,{canonical:`default:react/jsx-runtime`,aliases:[`react/jsx-runtime`]},Ln);var Rn=Ct(Fn.share,{canonical:`default:react/jsx-runtime`,aliases:[`react/jsx-runtime`]});Rn===void 0?pte(fte.then(()=>{if(Rn=Ct(Fn.share,{canonical:`default:react/jsx-runtime`,aliases:[`react/jsx-runtime`]}),Rn!==void 0)Ln(Rn);else return r(()=>import(`./_virtual_mf___mfe_internal__InfluxDBComponentsSet__mf_owner__97835354470012__prebuild__react_mf_1_jsx_mf_2_runtime__prebuild__-M61rjtmp.js`).then(e=>{Rn=mte(e),jt(Fn.share,{canonical:`default:react/jsx-runtime`,aliases:[`react/jsx-runtime`]},Rn,`InfluxDBComponentsSet`)}),[],import.meta.url)})):Ln(Rn);var zn=new Map,Bn={insert:void 0},hte=(e,t)=>{let n=Pee(e);return n.sheet=new t({key:n.key,nonce:n.sheet.nonce,container:n.sheet.container,speedy:n.sheet.isSpeedy,prepend:n.sheet.prepend,insertionPoint:n.sheet.insertionPoint}),n},Vn;if(typeof document==`object`&&(Vn=document.querySelector(`[name="emotion-insertion-point"]`),!Vn)){Vn=document.createElement(`meta`),Vn.setAttribute(`name`,`emotion-insertion-point`),Vn.setAttribute(`content`,``);let e=document.querySelector(`head`);e&&e.prepend(Vn)}function gte(e,t){if(e||t){class n extends Ft{insert(e,t){return Bn.insert?Bn.insert(e,t):(this.key&&this.key.endsWith(`global`)&&(this.before=Vn),super.insert(e,t))}}let r=hte({key:t?`mui`:`css`,insertionPoint:e?Vn:void 0},n);if(t){let e=r.insert;r.insert=(...t)=>(t[1].styles.match(/^@layer\s+[^{]*$/)||(t[1].styles=`@layer mui {${t[1].styles}}`),e(...t))}return r}}function Hn(e){let{injectFirst:t,enableCssLayer:n,children:r}=e,i=mt(()=>{let e=`${t}-${n}`;if(typeof document==`object`&&zn.has(e))return zn.get(e);let r=gte(t,n);return zn.set(e,r),r},[t,n]);return i?R(Jee,{value:i,children:r}):r}function _te(e){return e==null||Object.keys(e).length===0}function Un(e){let{styles:t,defaultTheme:n={}}=e;return R($ee,{styles:typeof t==`function`?e=>t(_te(e)?n:e):t})}function Wn(e,t){return Mn(e,t)}function vte(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}var Gn=[];function Kn(e){return Gn[0]=e,xn(Gn)}var yte=n((e=>{var t=Symbol.for(`react.fragment`),n=Symbol.for(`react.strict_mode`),r=Symbol.for(`react.profiler`),i=Symbol.for(`react.consumer`),a=Symbol.for(`react.context`),o=Symbol.for(`react.forward_ref`),s=Symbol.for(`react.suspense`),c=Symbol.for(`react.suspense_list`),l=Symbol.for(`react.memo`),u=Symbol.for(`react.lazy`),d=Symbol.for(`react.view_transition`),f=Symbol.for(`react.client.reference`);e.isValidElementType=function(e){return!!(typeof e==`string`||typeof e==`function`||e===t||e===r||e===n||e===s||e===c||e===d||typeof e==`object`&&e&&(e.$$typeof===u||e.$$typeof===l||e.$$typeof===a||e.$$typeof===i||e.$$typeof===o||e.$$typeof===f||e.getModuleId!==void 0))}})),qn=n(((e,t)=>{t.exports=yte()}))();function Jn(e){if(typeof e!=`object`||!e)return!1;let t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function Yn(e){if(Ze(e)||(0,qn.isValidElementType)(e)||!Jn(e))return e;let t={};return Object.keys(e).forEach(n=>{t[n]=Yn(e[n])}),t}function Xn(e,t,n={clone:!0}){let r=n.clone?{...e}:e;return Jn(e)&&Jn(t)&&Object.keys(t).forEach(i=>{Ze(t[i])||(0,qn.isValidElementType)(t[i])?r[i]=t[i]:Jn(t[i])&&Object.prototype.hasOwnProperty.call(e,i)&&Jn(e[i])?r[i]=Xn(e[i],t[i],n):n.clone?r[i]=Jn(t[i])?Yn(t[i]):t[i]:r[i]=t[i]}),r}var bte=e=>{let t=Object.keys(e).map(t=>({key:t,val:e[t]}))||[];return t.sort((e,t)=>e.val-t.val),t.reduce((e,t)=>({...e,[t.key]:t.val}),{})};function Zn(e){let{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n=`px`,step:r=5,...i}=e,a=bte(t),o=Object.keys(a);function s(e){return`@media (min-width:${typeof t[e]==`number`?t[e]:e}${n})`}function c(e){return`@media (max-width:${(typeof t[e]==`number`?t[e]:e)-r/100}${n})`}function l(e,i){let a=o.indexOf(i);return`@media (min-width:${typeof t[e]==`number`?t[e]:e}${n}) and (max-width:${(a!==-1&&typeof t[o[a]]==`number`?t[o[a]]:i)-r/100}${n})`}function u(e){return o.indexOf(e)+1<o.length?l(e,o[o.indexOf(e)+1]):s(e)}function d(e){let t=o.indexOf(e);return t===0?s(o[1]):t===o.length-1?c(o[t]):l(e,o[o.indexOf(e)+1]).replace(`@media`,`@media not all and`)}let f=[];for(let e=0;e<o.length;e+=1)f.push(s(o[e]));return{keys:o,values:a,up:s,down:c,between:l,only:u,not:d,unit:n,internal_mediaKeys:f,...i}}var Qn=/min-width:\s*([0-9.]+)/;function $n(e,t){if(!e.containerQueries||!xte(t))return t;let n=[];for(let e in t)e.startsWith(`@container`)&&n.push(e);n.sort((e,t)=>{var n,r;return+(((n=e.match(Qn))==null?void 0:n[1])||0)-(((r=t.match(Qn))==null?void 0:r[1])||0)});let r=t;for(let e=0;e<n.length;e+=1){let t=n[e],i=r[t];delete r[t],r[t]=i}return r}function xte(e){for(let t in e)if(t.startsWith(`@container`))return!0;return!1}function er(e,t){return t===`@`||t.startsWith(`@`)&&(e.some(e=>t.startsWith(`@${e}`))||!!t.match(/^@\d/))}function Ste(e,t){let n=t.match(/^@([^/]+)?\/?(.+)?$/);if(!n)return null;let[,r,i]=n,a=Number.isNaN(+r)?r||0:+r;return e.containerQueries(i).up(a)}function Cte(e){let t=(e,t)=>e.replace(`@media`,t?`@container ${t}`:`@container`);function n(n,r){n.up=(...n)=>t(e.breakpoints.up(...n),r),n.down=(...n)=>t(e.breakpoints.down(...n),r),n.between=(...n)=>t(e.breakpoints.between(...n),r),n.only=(...n)=>t(e.breakpoints.only(...n),r),n.not=(...n)=>{let i=t(e.breakpoints.not(...n),r);return i.includes(`not all and`)?i.replace(`not all and `,``).replace(`min-width:`,`width<`).replace(`max-width:`,`width>`).replace(`and`,`or`):i}}let r={},i=e=>(n(r,e),r);return n(i),{...e,containerQueries:i}}var wte={borderRadius:4};function tr(e){if(e==null)return!0;for(let t in e)return!1;return!0}function nr(e,t){let n=Array.isArray(t),r=Array.isArray(e);return kte(t)?t:Ate(e)?rr(t):n&&r?Dte(e,t):n===r?jte(e,t):rr(t)}function Tte(e){let t=0,n=e.length,r=Array(n);for(t=0;t<n;t+=1)r[t]=rr(e[t]);return r}function Ete(e){let t={};for(let n in e)n!==`__proto__`&&n!==`constructor`&&n!==`prototype`&&(t[n]=rr(e[n]));return t}function Dte(e,t){let n=e.length;for(let r=0;r<t.length;r+=1)e[n+r]=rr(t[r]);return e}function Ote(e){return typeof e==`object`&&!!e&&!(e instanceof RegExp)&&!(e instanceof Date)}function kte(e){return typeof e!=`object`||!e}function Ate(e){return typeof e!=`object`||!e||e instanceof RegExp||e instanceof Date}function rr(e){return Ote(e)?Array.isArray(e)?Tte(e):Ete(e):e}function jte(e,t){for(let n in t)n!==`__proto__`&&n!==`constructor`&&n!==`prototype`&&(e[n]=n in e?nr(e[n],t[n]):rr(t[n]));return e}var Mte={},ir={xs:0,sm:600,md:900,lg:1200,xl:1536},ar=Zn({values:ir}),Nte={containerQueries:e=>({up:t=>{let n=typeof t==`number`?t:ir[t]||t;return typeof n==`number`&&(n=`${n}px`),e?`@container ${e} (min-width:${n})`:`@container (min-width:${n})`}})};function or(e,t,n){let r={};return sr(r,e.theme,t,(e,t,i)=>{let a=n(t,i);e?r[e]=a:nr(r,a)})}function sr(e,t,n,r){if(t??=Mte,Array.isArray(n)){let i=t.breakpoints??ar;for(let t=0;t<n.length;t+=1)cr(e,i.up(i.keys[t]),n[t],void 0,r);return e}if(typeof n==`object`){let i=t.breakpoints??ar,a=i.values??ir;for(let o in n)if(er(i.keys,o)){let i=Ste(t.containerQueries?t:Nte,o);i&&cr(e,i,n[o],o,r)}else if(o in a)cr(e,i.up(o),n[o],o,r);else{let t=o;e[t]=n[t]}return e}return r(void 0,n),e}function cr(e,t,n,r,i){e[t]??={},i(t,n,r)}function Pte(e=ar){let{internal_mediaKeys:t}=e,n={};for(let e=0;e<t.length;e+=1)n[t[e]]={};return n}function lr(e,t){let n=e.internal_mediaKeys;for(let e=0;e<n.length;e+=1){let r=n[e];tr(t[r])&&delete t[r]}return t}function Fte(e,...t){return lr(e,[Pte(e),...t].reduce((e,t)=>Xn(e,t),{}))}function Ite(e,t){if(typeof e!=`object`)return{};let n={},r=Object.keys(t);return Array.isArray(e)?r.forEach((t,r)=>{r<e.length&&(n[t]=!0)}):r.forEach(t=>{e[t]!=null&&(n[t]=!0)}),n}function ur(e){let{values:t,breakpoints:n,base:r}=e,i=r||Ite(t,n),a=Object.keys(i);if(a.length===0)return t;let o;return a.reduce((e,n,r)=>{if(Array.isArray(t))e[n]=t[r]==null?t[o]:t[r],o=r;else if(typeof t==`object`&&t){let r=t;e[n]=r[n]==null?r[o]:r[n],o=n}else e[n]=t;return e},{})}function Lte(e,t){if(Array.isArray(t))return!0;if(typeof t==`object`&&t){for(let n=0;n<e.keys.length;n+=1)if(e.keys[n]in t)return!0;let n=Object.keys(t);for(let t=0;t<n.length;t+=1)if(er(e.keys,n[t]))return!0}return!1}function dr(e){if(typeof e!=`string`)throw Error(Mt(7));return e.charAt(0).toUpperCase()+e.slice(1)}function Rte(e,t,n,r){let i;return i=typeof e==`function`?e(n):Array.isArray(e)?e[n]||n:typeof n==`string`&&fr(e,n,!0,r)||n,t&&(i=t(i,n,e)),i}function fr(e,t,n=!0,r=void 0){if(!e||!t)return null;let i=t.split(`.`);if(e.vars&&n){let t=zte(e.vars,i,r);if(t!=null)return t}return zte(e,i,r)}function zte(e,t,n=void 0){let r,i=e,a=0;for(;a<t.length;){if(i==null)return i;r=i,i=i[t[a]],a+=1}if(n&&i===void 0){let e=t[t.length-1],i=`${n}${e==="default"?``:dr(e)}`;return r==null?void 0:r[i]}return i}function pr(e){let{prop:t,cssProperty:n=e.prop,themeKey:r,transform:i}=e,a=e=>{if(e[t]==null)return null;let a=e[t],o=e.theme,s=fr(o,r)||{};return or(e,a,e=>{let r=Rte(s,i,e,t);return n===!1?r:{[n]:r}})};return a.propTypes={},a.filterProps=[t],a}var Bte={internal_cache:{}},mr={m:`margin`,p:`padding`},Vte={t:`Top`,r:`Right`,b:`Bottom`,l:`Left`,x:[`Left`,`Right`],y:[`Top`,`Bottom`]},Hte={marginX:`mx`,marginY:`my`,paddingX:`px`,paddingY:`py`},hr={};for(let e in mr)hr[e]=[mr[e]];for(let e in mr)for(let t in Vte){let n=mr[e],r=Vte[t],i=Array.isArray(r)?r.map(e=>n+e):[n+r];hr[e+t]=i}for(let e in Hte)hr[e]=hr[Hte[e]];var gr=new Set([`m`,`mt`,`mr`,`mb`,`ml`,`mx`,`my`,`margin`,`marginTop`,`marginRight`,`marginBottom`,`marginLeft`,`marginX`,`marginY`,`marginInline`,`marginInlineStart`,`marginInlineEnd`,`marginBlock`,`marginBlockStart`,`marginBlockEnd`]),_r=new Set([`p`,`pt`,`pr`,`pb`,`pl`,`px`,`py`,`padding`,`paddingTop`,`paddingRight`,`paddingBottom`,`paddingLeft`,`paddingX`,`paddingY`,`paddingInline`,`paddingInlineStart`,`paddingInlineEnd`,`paddingBlock`,`paddingBlockStart`,`paddingBlockEnd`]);[...gr,..._r];function vr(e,t,n,r){let i=fr(e,t,!0)??n;return typeof i==`number`||typeof i==`string`?e=>typeof e==`string`?e:typeof i==`string`?i.startsWith(`var(`)&&e===0?0:i.startsWith(`var(`)&&e===1?i:`calc(${e} * ${i})`:i*e:Array.isArray(i)?e=>{if(typeof e==`string`)return e;let t=i[Math.abs(e)];return e>=0?t:typeof t==`number`?-t:typeof t==`string`&&t.startsWith(`var(`)?`calc(-1 * ${t})`:`-${t}`}:typeof i==`function`?i:()=>void 0}function yr(e){return vr(e,`spacing`,8,`spacing`)}function br(e,t){return typeof t==`string`||t==null?t:e(t)}var xr=[``];function Sr(e,t){var n;let r=e.theme??Bte,i=(r==null||(n=r.internal_cache)==null?void 0:n.unarySpacing)??yr(r),a={};for(let n in e){if(!t.has(n))continue;let r=hr[n]??(xr[0]=n,xr),o=e[n];sr(a,e.theme,o,(e,t)=>{let n=e?a[e]:a;for(let e=0;e<r.length;e+=1)n[r[e]]=br(i,t)})}return a}function Cr(e){return Sr(e,gr)}Cr.propTypes={},Cr.filterProps=gr;var wr=Cr;function Tr(e){return Sr(e,_r)}Tr.propTypes={},Tr.filterProps=_r;var Er=Tr;function Dr(e=8,t=yr({spacing:e})){if(e.mui)return e;let n=(...e)=>(e.length===0?[1]:e).map(e=>{let n=t(e);return typeof n==`number`?`${n}px`:n}).join(` `);return n.mui=!0,n}function Or(...e){let t=e.reduce((e,t)=>(t.filterProps.forEach(n=>{e[n]=t}),e),{}),n=e=>{let n={};for(let r in e)t[r]&&nr(n,t[r](e));return n};return n.propTypes={},n.filterProps=e.reduce((e,t)=>e.concat(t.filterProps),[]),n}function kr(e){return typeof e==`number`?`${e}px solid`:e}function Ar(e,t){return pr({prop:e,themeKey:`borders`,transform:t})}var Ute=Ar(`border`,kr),Wte=Ar(`borderTop`,kr),Gte=Ar(`borderRight`,kr),Kte=Ar(`borderBottom`,kr),qte=Ar(`borderLeft`,kr),Jte=Ar(`borderColor`),Yte=Ar(`borderTopColor`),Xte=Ar(`borderRightColor`),Zte=Ar(`borderBottomColor`),Qte=Ar(`borderLeftColor`),$te=Ar(`outline`,kr),ene=Ar(`outlineColor`),jr=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){let t=vr(e.theme,`shape.borderRadius`,4,`borderRadius`);return or(e,e.borderRadius,e=>({borderRadius:br(t,e)}))}return null};jr.propTypes={},jr.filterProps=[`borderRadius`],Or(Ute,Wte,Gte,Kte,qte,Jte,Yte,Xte,Zte,Qte,jr,$te,ene);var Mr=e=>{if(e.gap!==void 0&&e.gap!==null){let t=vr(e.theme,`spacing`,8,`gap`);return or(e,e.gap,e=>({gap:br(t,e)}))}return null};Mr.propTypes={},Mr.filterProps=[`gap`];var Nr=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){let t=vr(e.theme,`spacing`,8,`columnGap`);return or(e,e.columnGap,e=>({columnGap:br(t,e)}))}return null};Nr.propTypes={},Nr.filterProps=[`columnGap`];var Pr=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){let t=vr(e.theme,`spacing`,8,`rowGap`);return or(e,e.rowGap,e=>({rowGap:br(t,e)}))}return null};Pr.propTypes={},Pr.filterProps=[`rowGap`],Or(Mr,Nr,Pr,pr({prop:`gridColumn`}),pr({prop:`gridRow`}),pr({prop:`gridAutoFlow`}),pr({prop:`gridAutoColumns`}),pr({prop:`gridAutoRows`}),pr({prop:`gridTemplateColumns`}),pr({prop:`gridTemplateRows`}),pr({prop:`gridTemplateAreas`}),pr({prop:`gridArea`}));function Fr(e,t){return t===`grey`?t:e}Or(pr({prop:`color`,themeKey:`palette`,transform:Fr}),pr({prop:`bgcolor`,cssProperty:`backgroundColor`,themeKey:`palette`,transform:Fr}),pr({prop:`backgroundColor`,themeKey:`palette`,transform:Fr}));var tne=ir;function Ir(e){return e<=1&&e!==0?`${e*100}%`:e}var nne=pr({prop:`width`,transform:Ir}),Lr=e=>e.maxWidth!==void 0&&e.maxWidth!==null?or(e,e.maxWidth,t=>{var n,r;let i=((n=e.theme)==null||(n=n.breakpoints)==null||(n=n.values)==null?void 0:n[t])||tne[t];return i?((r=e.theme)==null||(r=r.breakpoints)==null?void 0:r.unit)===`px`?{maxWidth:i}:{maxWidth:`${i}${e.theme.breakpoints.unit}`}:{maxWidth:Ir(t)}}):null;Lr.filterProps=[`maxWidth`];var rne=pr({prop:`minWidth`,transform:Ir}),ine=pr({prop:`height`,transform:Ir}),ane=pr({prop:`maxHeight`,transform:Ir}),one=pr({prop:`minHeight`,transform:Ir});pr({prop:`size`,cssProperty:`width`,transform:Ir}),pr({prop:`size`,cssProperty:`height`,transform:Ir}),Or(nne,Lr,rne,ine,ane,one,pr({prop:`boxSizing`}));var Rr={border:{themeKey:`borders`,transform:kr},borderTop:{themeKey:`borders`,transform:kr},borderRight:{themeKey:`borders`,transform:kr},borderBottom:{themeKey:`borders`,transform:kr},borderLeft:{themeKey:`borders`,transform:kr},borderColor:{themeKey:`palette`},borderTopColor:{themeKey:`palette`},borderRightColor:{themeKey:`palette`},borderBottomColor:{themeKey:`palette`},borderLeftColor:{themeKey:`palette`},outline:{themeKey:`borders`,transform:kr},outlineColor:{themeKey:`palette`},borderRadius:{themeKey:`shape.borderRadius`,style:jr},color:{themeKey:`palette`,transform:Fr},bgcolor:{themeKey:`palette`,cssProperty:`backgroundColor`,transform:Fr},backgroundColor:{themeKey:`palette`,transform:Fr},p:{style:Er},pt:{style:Er},pr:{style:Er},pb:{style:Er},pl:{style:Er},px:{style:Er},py:{style:Er},padding:{style:Er},paddingTop:{style:Er},paddingRight:{style:Er},paddingBottom:{style:Er},paddingLeft:{style:Er},paddingX:{style:Er},paddingY:{style:Er},paddingInline:{style:Er},paddingInlineStart:{style:Er},paddingInlineEnd:{style:Er},paddingBlock:{style:Er},paddingBlockStart:{style:Er},paddingBlockEnd:{style:Er},m:{style:wr},mt:{style:wr},mr:{style:wr},mb:{style:wr},ml:{style:wr},mx:{style:wr},my:{style:wr},margin:{style:wr},marginTop:{style:wr},marginRight:{style:wr},marginBottom:{style:wr},marginLeft:{style:wr},marginX:{style:wr},marginY:{style:wr},marginInline:{style:wr},marginInlineStart:{style:wr},marginInlineEnd:{style:wr},marginBlock:{style:wr},marginBlockStart:{style:wr},marginBlockEnd:{style:wr},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:Mr},rowGap:{style:Pr},columnGap:{style:Nr},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:`zIndex`},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:`shadows`},width:{transform:Ir},maxWidth:{style:Lr},minWidth:{transform:Ir},height:{transform:Ir},maxHeight:{transform:Ir},minHeight:{transform:Ir},boxSizing:{},font:{themeKey:`font`},fontFamily:{themeKey:`typography`},fontSize:{themeKey:`typography`},fontStyle:{themeKey:`typography`},fontWeight:{themeKey:`typography`},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:`typography`}},sne={};function cne(){function e(t){if(!t.sx)return null;let{sx:n,theme:r=sne,nested:i}=t,a=r.unstable_sxConfig??Rr,o={sx:null,theme:r,nested:!0};function s(n){let s=n;if(typeof n==`function`)s=n(r);else if(typeof n!=`object`)return n;if(!s)return null;let c=r.breakpoints??ar,l=Pte(c);for(let n in s){let i=lne(s[n],r);i!=null&&(typeof i==`object`?a[n]?Br(l,n,i,r,a):Lte(c,i)?sr(l,t.theme,i,(e,t)=>{l[e][n]=t}):(o.sx=i,l[n]=e(o)):Br(l,n,i,r,a))}return!i&&r.modularCssLayers?{"@layer sx":$n(r,lr(c,l))}:$n(r,lr(c,l))}return Array.isArray(n)?n.map(s):s(n)}return e.filterProps=[`sx`],e}var zr=cne();function Br(e,t,n,r,i){let a=i[t];if(!a){e[t]=n;return}if(n==null)return;let{themeKey:o}=a;if(o===`typography`&&n===`inherit`){e[t]=n;return}let{style:s}=a;if(s){nr(e,s({[t]:n,theme:r}));return}let{cssProperty:c=t,transform:l}=a,u=fr(r,o);sr(e,r,n,(n,r)=>{let i=Rte(u,l,r,t);c===!1?nr(n?e[n]:e,i):n?e[n][c]=i:e[c]=i})}function lne(e,t){return typeof e==`function`?e(t):e}function une(e,t){let n=this;if(n.vars){var r;if(!((r=n.colorSchemes)!=null&&r[e])||typeof n.getColorSchemeSelector!=`function`)return{};let i=n.getColorSchemeSelector(e);return i===`&`?t:((i.includes(`data-`)||i.includes(`.`))&&(i=`*:where(${i.replace(/\s*&$/,``)}) &`),{[i]:t})}return n.palette.mode===e?t:{}}function Vr(e={},...t){let{breakpoints:n={},palette:r={},spacing:i,shape:a={},...o}=e,s=Zn(n),c=Dr(i),l=Xn({breakpoints:s,direction:`ltr`,components:{},palette:{mode:`light`,...r},spacing:c,shape:{...wte,...a}},o);return l=Cte(l),l.applyStyles=une,l=t.reduce((e,t)=>Xn(e,t),l),l.unstable_sxConfig={...Rr,...o==null?void 0:o.unstable_sxConfig},l.unstable_sx=function(e){return zr({sx:e,theme:this})},l.internal_cache={},l}function dne(e){return Object.keys(e).length===0}function Hr(e=null){let t=at(Dn);return!t||dne(t)?e:t}var fne=Vr();function Ur(e=fne){return Hr(e)}function Wr(e){let t=Kn(e);return e!==t&&t.styles?(t.styles.match(/^@layer\s+[^{]*$/)||(t.styles=`@layer global{${t.styles}}`),t):e}function Gr({styles:e,themeId:t,defaultTheme:n={}}){let r=Ur(n),i=t&&r[t]||r,a=typeof e==`function`?e(i):e;return i.modularCssLayers&&(a=Array.isArray(a)?a.map(e=>Wr(typeof e==`function`?e(i):e)):Wr(a)),R(Un,{styles:a})}var Kr=e=>e,qr=(()=>{let e=Kr;return{configure(t){e=t},generate(t){return e(t)},reset(){e=Kr}}})();function pne(e){var t,n,r=``;if(typeof e==`string`||typeof e==`number`)r+=e;else if(typeof e==`object`){if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=pne(e[t]))&&(r&&(r+=` `),r+=n)}else for(n in e)e[n]&&(r&&(r+=` `),r+=n)}return r}function B(){for(var e,t,n=0,r=``,i=arguments.length;n<i;n++)(e=arguments[n])&&(t=pne(e))&&(r&&(r+=` `),r+=t);return r}function mne(e={}){let{themeId:t,defaultTheme:n,defaultClassName:r=`MuiBox-root`,generateClassName:i}=e,a=Wn(`div`,{shouldForwardProp:e=>e!==`theme`&&e!==`sx`&&e!==`as`})(zr);return I(function(e,o){let s=Ur(n),{className:c,component:l=`div`,...u}=e;return R(a,{as:l,ref:o,className:B(c,i?i(r):r),theme:t&&s[t]||s,...u})})}var hne={active:`active`,checked:`checked`,completed:`completed`,disabled:`disabled`,error:`error`,expanded:`expanded`,focused:`focused`,focusVisible:`focusVisible`,open:`open`,readOnly:`readOnly`,required:`required`,selected:`selected`};function V(e,t,n=`Mui`){let r=hne[t];return r?`${n}-${r}`:`${qr.generate(e)}-${t}`}function Jr(e,t,n=`Mui`){let r={};return t.forEach(t=>{r[t]=V(e,t,n)}),r}function gne(e){let{variants:t,...n}=e,r={variants:t,style:Kn(n),isProcessed:!0};return r.style===n||t&&t.forEach(e=>{typeof e.style!=`function`&&(e.style=Kn(e.style))}),r}var _ne=Vr();function Yr(e){return e!==`ownerState`&&e!==`theme`&&e!==`sx`&&e!==`as`}function Xr(e,t){return t&&e&&typeof e==`object`&&e.styles&&!e.styles.startsWith(`@layer`)&&(e.styles=`@layer ${t}{${String(e.styles)}}`),e}function vne(e){return e?(t,n)=>n[e]:null}function yne(e,t,n){e.theme=tr(e.theme)?n:e.theme[t]||e.theme}function Zr(e,t,n){let r=typeof t==`function`?t(e):t;if(Array.isArray(r))return r.flatMap(t=>Zr(e,t,n));if(Array.isArray(r==null?void 0:r.variants)){let t;if(r.isProcessed)t=n?Xr(r.style,n):r.style;else{let{variants:e,...i}=r;t=n?Xr(Kn(i),n):i}return bne(e,r.variants,[t],n)}return r!=null&&r.isProcessed?n?Xr(Kn(r.style),n):r.style:n?Xr(Kn(r),n):r}function bne(e,t,n=[],r=void 0){let i;variantLoop:for(let o=0;o<t.length;o+=1){let s=t[o];if(typeof s.props==`function`){if(i??={...e,...e.ownerState,ownerState:e.ownerState},!s.props(i))continue}else for(let t in s.props){var a;if(e[t]!==s.props[t]&&((a=e.ownerState)==null?void 0:a[t])!==s.props[t])continue variantLoop}typeof s.style==`function`?(i??={...e,...e.ownerState,ownerState:e.ownerState},n.push(r?Xr(Kn(s.style(i)),r):s.style(i))):n.push(r?Xr(Kn(s.style),r):s.style)}return n}function xne(e={}){let{themeId:t,defaultTheme:n=_ne,rootShouldForwardProp:r=Yr,slotShouldForwardProp:i=Yr}=e;function a(e){yne(e,t,n)}return(e,t={})=>{vte(e,e=>e.filter(e=>e!==zr));let{name:n,slot:o,skipVariantsResolver:s,skipSx:c,overridesResolver:l=vne(Cne(o)),...u}=t,d=n&&n.startsWith(`Mui`)||o?`components`:`custom`,f=s===void 0?o&&o!==`Root`&&o!==`root`||!1:s,p=c||!1,m=Yr;o===`Root`||o===`root`?m=r:o?m=i:Sne(e)&&(m=void 0);let h=Wn(e,{shouldForwardProp:m,label:void 0,...u}),g=e=>{if(e.__emotion_real===e)return e;if(typeof e==`function`)return function(t){return Zr(t,e,t.theme.modularCssLayers?d:void 0)};if(Jn(e)){let t=gne(e);return function(e){return t.variants?Zr(e,t,e.theme.modularCssLayers?d:void 0):e.theme.modularCssLayers?Xr(t.style,d):t.style}}return e},_=(...t)=>{let r=[],i=t.map(g),o=[];if(r.push(a),n&&l&&o.push(function(e){var t;let r=(t=e.theme.components)==null||(t=t[n])==null?void 0:t.styleOverrides;if(!r)return null;let i={};for(let t in r)i[t]=Zr(e,r[t],e.theme.modularCssLayers?`theme`:void 0);return l(e,i)}),n&&!f&&o.push(function(e){var t;let r=e.theme,i=r==null||(t=r.components)==null||(t=t[n])==null?void 0:t.variants;return i?bne(e,i,[],e.theme.modularCssLayers?`theme`:void 0):null}),p||o.push(zr),Array.isArray(i[0])){let e=i.shift(),t=Array(r.length).fill(``),n=Array(o.length).fill(``),a;a=[...t,...e,...n],a.raw=[...t,...e.raw,...n],r.unshift(a)}let s=[...r,...i,...o],c=h(...s);return e.muiName&&(c.muiName=e.muiName),c};return h.withConfig&&(_.withConfig=h.withConfig),_}}function Sne(e){return typeof e==`string`&&e.charCodeAt(0)>96}function Cne(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}var Qr=xne();function $r(e,t,n=!1){let r={...t};for(let i in e)if(Object.prototype.hasOwnProperty.call(e,i)){let a=i;if(a===`components`||a===`slots`)r[a]={...e[a],...r[a]};else if(a===`componentsProps`||a===`slotProps`){let i=e[a],o=t[a];if(!o)r[a]=i||{};else if(!i)r[a]=o;else{r[a]={...o};for(let e in i)if(Object.prototype.hasOwnProperty.call(i,e)){let t=e,s=i[t],c=o[t];typeof s==`function`||typeof c==`function`?r[a][t]=(...e)=>$r((typeof s==`function`?s(...e):s)??{},(typeof c==`function`?c(...e):c)??{},n):r[a][t]=$r(s??{},c??{},n)}}}else a===`className`&&n&&t.className!==void 0?r.className=B(e==null?void 0:e.className,t==null?void 0:t.className):a===`style`&&n&&t.style?r.style={...e==null?void 0:e.style,...t==null?void 0:t.style}:r[a]===void 0&&(r[a]=e[a])}return r}function wne(e){let{theme:t,name:n,props:r}=e;return!t||!t.components||!t.components[n]||!t.components[n].defaultProps?r:$r(t.components[n].defaultProps,r)}function ei(e){let{props:t,name:n,defaultTheme:r,themeId:i}=e,a=Ur(r);return i&&(a=a[i]||a),wne({theme:a,name:n,props:t})}var ti=typeof window<`u`?pt:ct;function Tne(e,t,n,r,i){let[a,o]=_t(()=>i&&n?n(e).matches:r?r(e).matches:t);return ti(()=>{if(!n)return;let t=n(e),r=()=>{o(t.matches)};return r(),t.addEventListener(`change`,r),()=>{t.removeEventListener(`change`,r)}},[e,n]),a}var Ene={...be}.useSyncExternalStore;function Dne(e,t,n,r,i){let a=it(()=>t,[t]),o=mt(()=>{if(i&&n)return()=>n(e).matches;if(r!==null){let{matches:t}=r(e);return()=>t}return a},[a,e,r,i,n]),[s,c]=mt(()=>{if(n===null)return[a,()=>()=>{}];let t=n(e);return[()=>t.matches,e=>(t.addEventListener(`change`,e),()=>{t.removeEventListener(`change`,e)})]},[a,n,e]);return Ene(c,s,o)}function One(e={}){let{themeId:t}=e;return function(e,n={}){let r=Hr();r&&t&&(r=r[t]||r);let i=typeof window<`u`&&window.matchMedia!==void 0?window.matchMedia:null,{defaultMatches:a=!1,matchMedia:o,ssrMatchMedia:s=null,noSsr:c=!1}=wne({name:`MuiUseMediaQuery`,props:n,theme:r}),l=mt(()=>o===void 0?i===null?null:i.bind(window):o,[o,i]),u=typeof e==`function`?e(r):e;return u=u.replace(/^@media( ?)/m,``),u.includes(`print`)&&console.warn("MUI: You have provided a `print` query to the `useMediaQuery` hook.\nUsing the print media query to modify print styles can lead to unexpected results.\nConsider using the `displayPrint` field in the `sx` prop instead.\nMore information about `displayPrint` on our docs: https://mui.com/system/display/#display-in-print."),(Ene===void 0?Tne:Dne)(u,a,l,s,c)}}One();function ni(e,t=-(2**53-1),n=2**53-1){return Math.max(t,Math.min(e,n))}function ri(e,t=0,n=1){return ni(e,t,n)}function kne(e){e=e.slice(1);let t=RegExp(`.{1,${e.length>=6?2:1}}`,`g`),n=e.match(t);return n&&n[0].length===1&&(n=n.map(e=>e+e)),n?`rgb${n.length===4?`a`:``}(${n.map((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3).join(`, `)})`:``}function Ane(e){let t=e.toString(16);return t.length===1?`0${t}`:t}function ii(e){if(e.type)return e;if(e.charAt(0)===`#`)return ii(kne(e));let t=e.indexOf(`(`),n=e.substring(0,t);if(![`rgb`,`rgba`,`hsl`,`hsla`,`color`].includes(n))throw Error(Mt(9,e));let r=e.substring(t+1,e.length-1),i;if(n===`color`){if(r=r.split(` `),i=r.shift(),r.length===4&&r[3].charAt(0)===`/`&&(r[3]=r[3].slice(1)),![`srgb`,`display-p3`,`a98-rgb`,`prophoto-rgb`,`rec-2020`].includes(i))throw Error(Mt(10,i))}else r=r.split(`,`);return r=r.map(e=>parseFloat(e)),{type:n,values:r,colorSpace:i}}var jne=e=>{let t=ii(e);return t.values.slice(0,3).map((e,n)=>t.type.includes(`hsl`)&&n!==0?`${e}%`:e).join(` `)},ai=(e,t)=>{try{return jne(e)}catch{return e}};function oi(e){let{type:t,colorSpace:n}=e,{values:r}=e;return t.includes(`rgb`)?r=r.map((e,t)=>t<3?parseInt(e,10):e):t.includes(`hsl`)&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),r=t.includes(`color`)?`${n} ${r.join(` `)}`:`${r.join(`, `)}`,`${t}(${r})`}function Mne(e){if(e.startsWith(`#`))return e;let{values:t}=ii(e);return`#${t.map((e,t)=>Ane(t===3?Math.round(255*e):e)).join(``)}`}function si(e){e=ii(e);let{values:t}=e,n=t[0],r=t[1]/100,i=t[2]/100,a=r*Math.min(i,1-i),o=(e,t=(e+n/30)%12)=>i-a*Math.max(Math.min(t-3,9-t,1),-1),s=`rgb`,c=[Math.round(o(0)*255),Math.round(o(8)*255),Math.round(o(4)*255)];return e.type===`hsla`&&(s+=`a`,c.push(t[3])),oi({type:s,values:c})}function ci(e){e=ii(e);let t=e.type===`hsl`||e.type===`hsla`?ii(si(e)).values:e.values;return t=t.map(t=>(e.type!==`color`&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function Nne(e,t){let n=ci(e),r=ci(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function li(e,t){return e=ii(e),t=ri(t),(e.type===`rgb`||e.type===`hsl`)&&(e.type+=`a`),e.type===`color`?e.values[3]=`/${t}`:e.values[3]=t,oi(e)}function ui(e,t,n){try{return li(e,t)}catch{return e}}function di(e,t){if(e=ii(e),t=ri(t),e.type.includes(`hsl`))e.values[2]*=1-t;else if(e.type.includes(`rgb`)||e.type.includes(`color`))for(let n=0;n<3;n+=1)e.values[n]*=1-t;return oi(e)}function fi(e,t,n){try{return di(e,t)}catch{return e}}function pi(e,t){if(e=ii(e),t=ri(t),e.type.includes(`hsl`))e.values[2]+=(100-e.values[2])*t;else if(e.type.includes(`rgb`))for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(e.type.includes(`color`))for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return oi(e)}function mi(e,t,n){try{return pi(e,t)}catch{return e}}function hi(e,t=.15){return ci(e)>.5?di(e,t):pi(e,t)}function gi(e,t,n){try{return hi(e,t)}catch{return e}}var _i=Je(null);function vi(){return at(_i)}var Pne=typeof Symbol==`function`&&Symbol.for?Symbol.for(`mui.nested`):`__THEME_NESTED__`;function Fne(e,t){return typeof t==`function`?t(e):{...e,...t}}function Ine(e){let{children:t,theme:n}=e,r=vi(),i=mt(()=>{let e=r===null?{...n}:Fne(r,n);return e!=null&&(e[Pne]=r!==null),e},[n,r]);return R(_i.Provider,{value:i,children:t})}var yi=Je(void 0);function Lne({value:e,...t}){return R(yi.Provider,{value:e??!0,...t})}var bi=()=>at(yi)??!1,xi=Je(void 0);function Rne({value:e,children:t}){return R(xi.Provider,{value:e,children:t})}function zne(e){let{theme:t,name:n,props:r}=e;if(!t||!t.components||!t.components[n])return r;let i=t.components[n];return i.defaultProps?$r(i.defaultProps,r,t.components.mergeClassNameAndStyle):!i.styleOverrides&&!i.variants?$r(i,r,t.components.mergeClassNameAndStyle):r}function Bne({props:e,name:t}){return zne({props:e,name:t,theme:{components:at(xi)}})}var Si=0;function Vne(e){let[t,n]=_t(e),r=e||t;return ct(()=>{t??(Si+=1,n(`mui-${Si}`))},[t]),r}var Ci={...be}.useId;function wi(e){if(Ci!==void 0){let t=Ci();return e??t}return Vne(e)}function Hne(e){let t=Hr(),n=wi()||``,{modularCssLayers:r}=e,i=`mui.global, mui.components, mui.theme, mui.custom, mui.sx`;return i=!r||t!==null?``:typeof r==`string`?r.replace(/mui(?!\.)/g,i):`@layer ${i};`,ti(()=>{let e=document.querySelector(`head`);if(!e)return;let t=e.firstChild;if(i){var r;if(t&&(r=t.hasAttribute)!=null&&r.call(t,`data-mui-layer-order`)&&t.getAttribute(`data-mui-layer-order`)===n)return;let a=document.createElement(`style`);a.setAttribute(`data-mui-layer-order`,n),a.textContent=i,e.prepend(a)}else{var a;(a=e.querySelector(`style[data-mui-layer-order="${n}"]`))==null||a.remove()}},[i,n]),i?R(Gr,{styles:i}):null}var Ti={};function Ei(e,t,n,r=!1){return mt(()=>{let i=e&&t[e]||t;if(typeof n==`function`){let a=n(i),o=e?{...t,[e]:a}:a;return r?()=>o:o}return e?{...t,[e]:n}:{...t,...n}},[e,t,n,r])}function Di(e){let{children:t,theme:n,themeId:r}=e,i=Hr(Ti),a=vi()||Ti,o=Ei(r,i,n),s=Ei(r,a,n,!0),c=(r?o[r]:o).direction===`rtl`,l=Hne(o);return R(Ine,{theme:s,children:R(Dn.Provider,{value:o,children:R(Lne,{value:c,children:z(Rne,{value:r?o[r].components:o.components,children:[l,t]})})})})}var Oi={theme:void 0};function Une(e){let t,n;return function(r){let i=t;return(i===void 0||r.theme!==n)&&(Oi.theme=r.theme,i=gne(e(Oi)),t=i,n=r.theme),i}}var ki=`mode`,Ai=`color-scheme`,Wne=`data-color-scheme`,ji={...be}.useSyncExternalStore,Gne=()=>()=>{};function Mi(e){return JSON.stringify(e).replace(/</g,`\\u003c`).replace(/\u2028/g,`\\u2028`).replace(/\u2029/g,`\\u2029`)}function Ni(e,t){let n=e.split(`%s`),r=[];for(let e=0;e<n.length;e+=1)e>0&&r.push(t),n[e]&&r.push(Mi(n[e]));return r.join(` + `)||`""`}function Kne(){return ji===void 0||ji(Gne,()=>!1,()=>!0)}function Pi(e){let{defaultMode:t=`system`,defaultLightColorScheme:n=`light`,defaultDarkColorScheme:r=`dark`,modeStorageKey:i=ki,colorSchemeStorageKey:a=Ai,attribute:o=Wne,colorSchemeNode:s=`document.documentElement`,nonce:c}=e||{},l=``,u=o;if(o===`class`&&(u=`.%s`),o===`data`&&(u=`[data-%s]`),u.startsWith(`.`)){let e=u.substring(1);l+=`${s}.classList.remove(${Ni(e,`light`)}, ${Ni(e,`dark`)});
1
+ import{i as e,n as t,t as n}from"./rolldown-runtime-COiEfhsA.js";import{t as r}from"./vite-preload-helper-BbbETgeG.js";var i=n((e=>{var t=Symbol.for(`react.transitional.element`),n=Symbol.for(`react.portal`),r=Symbol.for(`react.fragment`),i=Symbol.for(`react.strict_mode`),a=Symbol.for(`react.profiler`),o=Symbol.for(`react.consumer`),s=Symbol.for(`react.context`),c=Symbol.for(`react.forward_ref`),l=Symbol.for(`react.suspense`),u=Symbol.for(`react.memo`),d=Symbol.for(`react.lazy`),f=Symbol.for(`react.activity`),p=Symbol.for(`react.view_transition`),m=Symbol.iterator;function h(e){return typeof e!=`object`||!e?null:(e=m&&e[m]||e[`@@iterator`],typeof e==`function`?e:null)}var g={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},_=Object.assign,v={};function y(e,t,n){this.props=e,this.context=t,this.refs=v,this.updater=n||g}y.prototype.isReactComponent={},y.prototype.setState=function(e,t){if(typeof e!=`object`&&typeof e!=`function`&&e!=null)throw Error(`takes an object of state variables to update or a function which returns an object of state variables.`);this.updater.enqueueSetState(this,e,t,`setState`)},y.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,`forceUpdate`)};function b(){}b.prototype=y.prototype;function x(e,t,n){this.props=e,this.context=t,this.refs=v,this.updater=n||g}var S=x.prototype=new b;S.constructor=x,_(S,y.prototype),S.isPureReactComponent=!0;var C=Array.isArray;function w(){}var T={H:null,A:null,T:null,S:null},E=Object.prototype.hasOwnProperty;function D(e,n,r){var i=r.ref;return{$$typeof:t,type:e,key:n,ref:i===void 0?null:i,props:r}}function O(e,t){return D(e.type,t,e.props)}function k(e){return typeof e==`object`&&!!e&&e.$$typeof===t}function ee(e){var t={"=":`=0`,":":`=2`};return`$`+e.replace(/[=:]/g,function(e){return t[e]})}var A=/\/+/g;function te(e,t){return typeof e==`object`&&e&&e.key!=null?ee(``+e.key):t.toString(36)}function j(e){switch(e.status){case`fulfilled`:return e.value;case`rejected`:throw e.reason;default:switch(typeof e.status==`string`?e.then(w,w):(e.status=`pending`,e.then(function(t){e.status===`pending`&&(e.status=`fulfilled`,e.value=t)},function(t){e.status===`pending`&&(e.status=`rejected`,e.reason=t)})),e.status){case`fulfilled`:return e.value;case`rejected`:throw e.reason}}throw e}function M(e,r,i,a,o){var s=typeof e;(s===`undefined`||s===`boolean`)&&(e=null);var c=!1;if(e===null)c=!0;else switch(s){case`bigint`:case`string`:case`number`:c=!0;break;case`object`:switch(e.$$typeof){case t:case n:c=!0;break;case d:return c=e._init,M(c(e._payload),r,i,a,o)}}if(c)return o=o(e),c=a===``?`.`+te(e,0):a,C(o)?(i=``,c!=null&&(i=c.replace(A,`$&/`)+`/`),M(o,r,i,``,function(e){return e})):o!=null&&(k(o)&&(o=O(o,i+(o.key==null||e&&e.key===o.key?``:(``+o.key).replace(A,`$&/`)+`/`)+c)),r.push(o)),1;c=0;var l=a===``?`.`:a+`:`;if(C(e))for(var u=0;u<e.length;u++)a=e[u],s=l+te(a,u),c+=M(a,r,i,s,o);else if(u=h(e),typeof u==`function`)for(e=u.call(e),u=0;!(a=e.next()).done;)a=a.value,s=l+te(a,u++),c+=M(a,r,i,s,o);else if(s===`object`){if(typeof e.then==`function`)return M(j(e),r,i,a,o);throw r=String(e),Error(`Objects are not valid as a React child (found: `+(r===`[object Object]`?`object with keys {`+Object.keys(e).join(`, `)+`}`:r)+`). If you meant to render a collection of children, use an array instead.`)}return c}function ne(e,t,n){if(e==null)return e;var r=[],i=0;return M(e,r,``,``,function(e){return t.call(n,e,i++)}),r}function re(e){if(e._status===-1){var t=e._result,n=t();n.then(function(t){(e._status===0||e._status===-1)&&(e._status=1,e._result=t,n.status===void 0&&(n.status=`fulfilled`,n.value=t))},function(t){(e._status===0||e._status===-1)&&(e._status=2,e._result=t,n.status===void 0&&(n.status=`rejected`,n.reason=t))}),e._status===-1&&(e._status=0,e._result=n)}if(e._status===1)return e._result.default;throw e._result}var ie=typeof reportError==`function`?reportError:function(e){if(typeof window==`object`&&typeof window.ErrorEvent==`function`){var t=new window.ErrorEvent(`error`,{bubbles:!0,cancelable:!0,message:typeof e==`object`&&e&&typeof e.message==`string`?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process==`object`&&typeof process.emit==`function`){process.emit(`uncaughtException`,e);return}console.error(e)};function ae(e){var t=T.T,n={};n.types=t===null?null:t.types,T.T=n;try{var r=e(),i=T.S;i!==null&&i(n,r),typeof r==`object`&&r&&typeof r.then==`function`&&r.then(w,ie)}catch(e){ie(e)}finally{t!==null&&n.types!==null&&(t.types=n.types),T.T=t}}function oe(e){var t=T.T;if(t!==null){var n=t.types;n===null?t.types=[e]:n.indexOf(e)===-1&&n.push(e)}else ae(oe.bind(null,e))}var se={map:ne,forEach:function(e,t,n){ne(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return ne(e,function(){t++}),t},toArray:function(e){return ne(e,function(e){return e})||[]},only:function(e){if(!k(e))throw Error(`React.Children.only expected to receive a single React element child.`);return e}};e.Activity=f,e.Children=se,e.Component=y,e.Fragment=r,e.Profiler=a,e.PureComponent=x,e.StrictMode=i,e.Suspense=l,e.ViewTransition=p,e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=T,e.__COMPILER_RUNTIME={__proto__:null,c:function(e){return T.H.useMemoCache(e)}},e.addTransitionType=oe,e.cache=function(e){return function(){return e.apply(null,arguments)}},e.cacheSignal=function(){return null},e.cloneElement=function(e,t,n){if(e==null)throw Error(`The argument must be a React element, but you passed `+e+`.`);var r=_({},e.props),i=e.key;if(t!=null)for(a in t.key!==void 0&&(i=``+t.key),t)!E.call(t,a)||a===`key`||a===`__self`||a===`__source`||a===`ref`&&t.ref===void 0||(r[a]=t[a]);var a=arguments.length-2;if(a===1)r.children=n;else if(1<a){for(var o=Array(a),s=0;s<a;s++)o[s]=arguments[s+2];r.children=o}return D(e.type,i,r)},e.createContext=function(e){return e={$$typeof:s,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider=e,e.Consumer={$$typeof:o,_context:e},e},e.createElement=function(e,t,n){var r,i={},a=null;if(t!=null)for(r in t.key!==void 0&&(a=``+t.key),t)E.call(t,r)&&r!==`key`&&r!==`__self`&&r!==`__source`&&(i[r]=t[r]);var o=arguments.length-2;if(o===1)i.children=n;else if(1<o){for(var s=Array(o),c=0;c<o;c++)s[c]=arguments[c+2];i.children=s}if(e&&e.defaultProps)for(r in o=e.defaultProps,o)i[r]===void 0&&(i[r]=o[r]);return D(e,a,i)},e.createRef=function(){return{current:null}},e.forwardRef=function(e){return{$$typeof:c,render:e}},e.isValidElement=k,e.lazy=function(e){return{$$typeof:d,_payload:{_status:-1,_result:e},_init:re}},e.memo=function(e,t){return{$$typeof:u,type:e,compare:t===void 0?null:t}},e.startTransition=ae,e.unstable_useCacheRefresh=function(){return T.H.useCacheRefresh()},e.use=function(e){return T.H.use(e)},e.useActionState=function(e,t,n){return T.H.useActionState(e,t,n)},e.useCallback=function(e,t){return T.H.useCallback(e,t)},e.useContext=function(e){return T.H.useContext(e)},e.useDebugValue=function(){},e.useDeferredValue=function(e,t){return T.H.useDeferredValue(e,t)},e.useEffect=function(e,t){return T.H.useEffect(e,t)},e.useEffectEvent=function(e){return T.H.useEffectEvent(e)},e.useId=function(){return T.H.useId()},e.useImperativeHandle=function(e,t,n){return T.H.useImperativeHandle(e,t,n)},e.useInsertionEffect=function(e,t){return T.H.useInsertionEffect(e,t)},e.useLayoutEffect=function(e,t){return T.H.useLayoutEffect(e,t)},e.useMemo=function(e,t){return T.H.useMemo(e,t)},e.useOptimistic=function(e,t){return T.H.useOptimistic(e,t)},e.useReducer=function(e,t,n){return T.H.useReducer(e,t,n)},e.useRef=function(e){return T.H.useRef(e)},e.useState=function(e){return T.H.useState(e)},e.useSyncExternalStore=function(e,t,n){return T.H.useSyncExternalStore(e,t,n)},e.useTransition=function(){return T.H.useTransition()},e.version=`19.3.1`})),a=n(((e,t)=>{t.exports=i()})),o=t({Activity:()=>l,Children:()=>u,Component:()=>d,Fragment:()=>f,Profiler:()=>p,PureComponent:()=>m,StrictMode:()=>h,Suspense:()=>g,ViewTransition:()=>_,__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE:()=>v,__COMPILER_RUNTIME:()=>y,addTransitionType:()=>b,cache:()=>x,cacheSignal:()=>S,cloneElement:()=>C,createContext:()=>w,createElement:()=>T,createRef:()=>E,default:()=>ye,forwardRef:()=>D,isValidElement:()=>O,lazy:()=>k,memo:()=>ee,startTransition:()=>A,unstable_useCacheRefresh:()=>te,use:()=>j,useActionState:()=>M,useCallback:()=>ne,useContext:()=>re,useDebugValue:()=>ie,useDeferredValue:()=>ae,useEffect:()=>oe,useEffectEvent:()=>se,useId:()=>ce,useImperativeHandle:()=>le,useInsertionEffect:()=>ue,useLayoutEffect:()=>de,useMemo:()=>fe,useOptimistic:()=>pe,useReducer:()=>me,useRef:()=>he,useState:()=>ge,useSyncExternalStore:()=>N,useTransition:()=>_e,version:()=>ve}),s=e(a()),c=s,l=c.Activity,u=c.Children,d=c.Component,f=c.Fragment,p=c.Profiler,m=c.PureComponent,h=c.StrictMode,g=c.Suspense,_=c.ViewTransition,v=c.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,y=c.__COMPILER_RUNTIME,b=c.addTransitionType,x=c.cache,S=c.cacheSignal,C=c.cloneElement,w=c.createContext,T=c.createElement,E=c.createRef,D=c.forwardRef,O=c.isValidElement,k=c.lazy,ee=c.memo,A=c.startTransition,te=c.unstable_useCacheRefresh,j=c.use,M=c.useActionState,ne=c.useCallback,re=c.useContext,ie=c.useDebugValue,ae=c.useDeferredValue,oe=c.useEffect,se=c.useEffectEvent,ce=c.useId,le=c.useImperativeHandle,ue=c.useInsertionEffect,de=c.useLayoutEffect,fe=c.useMemo,pe=c.useOptimistic,me=c.useReducer,he=c.useRef,ge=c.useState,N=c.useSyncExternalStore,_e=c.useTransition,ve=c.version,ye=Reflect.get(s,`default`)??s,be=t({Activity:()=>Pe,Children:()=>Fe,Component:()=>Ie,Fragment:()=>F,Profiler:()=>Le,PureComponent:()=>Re,StrictMode:()=>ze,Suspense:()=>Be,ViewTransition:()=>Ve,__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE:()=>He,__COMPILER_RUNTIME:()=>Ue,__moduleExports:()=>St,addTransitionType:()=>We,cache:()=>Ge,cacheSignal:()=>Ke,cloneElement:()=>qe,createContext:()=>Je,createElement:()=>Ye,createRef:()=>Xe,default:()=>P,forwardRef:()=>I,isValidElement:()=>Ze,lazy:()=>Qe,memo:()=>$e,startTransition:()=>et,unstable_useCacheRefresh:()=>tt,use:()=>nt,useActionState:()=>rt,useCallback:()=>it,useContext:()=>at,useDebugValue:()=>ot,useDeferredValue:()=>st,useEffect:()=>ct,useEffectEvent:()=>lt,useId:()=>ut,useImperativeHandle:()=>dt,useInsertionEffect:()=>ft,useLayoutEffect:()=>pt,useMemo:()=>mt,useOptimistic:()=>ht,useReducer:()=>gt,useRef:()=>L,useState:()=>_t,useSyncExternalStore:()=>vt,useTransition:()=>yt,version:()=>bt}),xe=`__mf_module_cache__`;globalThis[xe]||={share:{},remote:{}},globalThis[xe].share||={},globalThis[xe].remote||={};var Se=globalThis[xe];for(let e of Object.keys(Se.share))if(e.startsWith(`default:`)){let t=e.slice(8);Se.share[t]===void 0&&(Se.share[t]=Se.share[e])}else if(!e.includes(`:`)){let t=`default:`+e;Se.share[t]===void 0&&(Se.share[t]=Se.share[e])}var Ce=(e,t)=>{let n=e[t.canonical];if(n!==void 0)return n;let r=t.aliases||[];for(let n of r){if(!Object.prototype.hasOwnProperty.call(e,n))continue;let r=e[n];if(r!==void 0)return e[t.canonical]=r,r}},we=Symbol.for(`module-federation.shared-cache-listeners`),Te=e=>{let t=e[we];return t===void 0&&(t=Object.create(null),Object.defineProperty(e,we,{value:t,enumerable:!1,configurable:!1,writable:!1})),t},Ee=(e,t,n)=>{let r=Te(e);(r[t.canonical]||=new Set).add(n)},De=Symbol.for(`module-federation.shared-cache-owners`),Oe=e=>{let t=e[De];return t===void 0&&(t=Object.create(null),Object.defineProperty(e,De,{value:t,enumerable:!1,configurable:!1,writable:!1})),t},ke=e=>{let t=[e,e==null?void 0:e.default];for(let e of t)if(e&&typeof e==`object`){for(let t of[`__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE`,`__TEST_INTERNALS`,`__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED`]){let n=e[t];if(n&&typeof n==`object`)return{internals:n}}if(typeof e.useState==`function`)return{hook:e.useState}}},Ae=(e,t)=>{if(e===t)return!0;let n=ke(e),r=ke(t);if(!n||!r)return!1;let i=n.internals,a=r.internals;return i!==void 0||a!==void 0?i!==void 0&&i===a:typeof n.hook==`function`&&n.hook===r.hook},je=(e,t,n,r)=>{var i;let a=Ce(e,t);if(a!==void 0&&Ae(a,n))return n;e[t.canonical]=n;let o=t.aliases||[];for(let t of o)Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0});let s=e[De];r===void 0?s&&delete s[t.canonical]:Oe(e)[t.canonical]=r;let c=(i=e[we])==null?void 0:i[t.canonical];if(c)for(let e of c)e(n);return n},Me=e=>{let t=(()=>{let t=e;for(let e=0;e<5;e++){let e=t==null?void 0:t.default;if(!e||typeof e!=`object`)break;let n=Object.keys(t).filter(e=>e!=="default").map(e=>t[e]);if(n.length>0&&n.some(e=>e!==void 0))break;t=e}return t})();return t&&Object.getPrototypeOf(t)===null?Object.assign({},t):t},Ne=Ce(Se.share,{canonical:`default:react`,aliases:[`react`]});Ne===void 0&&(Ne=Me(o),je(Se.share,{canonical:`default:react`,aliases:[`react`]},Ne,`InfluxDBComponentsSet`));var P,Pe,Fe,Ie,F,Le,Re,ze,Be,Ve,He,Ue,We,Ge,Ke,qe,Je,Ye,Xe,I,Ze,Qe,$e,et,tt,nt,rt,it,at,ot,st,ct,lt,ut,dt,ft,pt,mt,ht,gt,L,_t,vt,yt,bt,xt=e=>{let t=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;if(t&&`A`in t){let e=t.A;Object.defineProperty(t,"A",{configurable:!0,enumerable:!0,get:()=>e,set:t=>{t&&typeof t.getOwner!=`function`&&(t.getOwner=()=>null),e=t}}),t.A=e}Pe=e.Activity,Fe=e.Children,Ie=e.Component,F=e.Fragment,Le=e.Profiler,Re=e.PureComponent,ze=e.StrictMode,Be=e.Suspense,Ve=e.ViewTransition,He=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Ue=e.__COMPILER_RUNTIME,We=e.addTransitionType,Ge=e.cache,Ke=e.cacheSignal,qe=e.cloneElement,Je=e.createContext,Ye=e.createElement,Xe=e.createRef,I=e.forwardRef,Ze=e.isValidElement,Qe=e.lazy,$e=e.memo,et=e.startTransition,tt=e.unstable_useCacheRefresh,nt=e.use,rt=e.useActionState,it=e.useCallback,at=e.useContext,ot=e.useDebugValue,st=e.useDeferredValue,ct=e.useEffect,lt=e.useEffectEvent,ut=e.useId,dt=e.useImperativeHandle,ft=e.useInsertionEffect,pt=e.useLayoutEffect,mt=e.useMemo,ht=e.useOptimistic,gt=e.useReducer,L=e.useRef,_t=e.useState,vt=e.useSyncExternalStore,yt=e.useTransition,bt=e.version,P=(()=>{let t=e;for(let e=0;e<5;e++){let e=t==null?void 0:t.default;if(!e||typeof e!=`object`)return e??t;t=e}return t})()};Ee(Se.share,{canonical:`default:react`,aliases:[`react`]},xt),xt(Ne);var St=Ne,Ct=(e,t)=>{let n=e[t.canonical];if(n!==void 0)return n;let r=t.aliases||[];for(let n of r){if(!Object.prototype.hasOwnProperty.call(e,n))continue;let r=e[n];if(r!==void 0)return e[t.canonical]=r,r}},wt=Symbol.for(`module-federation.shared-cache-listeners`),Tt=e=>{let t=e[wt];return t===void 0&&(t=Object.create(null),Object.defineProperty(e,wt,{value:t,enumerable:!1,configurable:!1,writable:!1})),t},Et=(e,t,n)=>{let r=Tt(e);(r[t.canonical]||=new Set).add(n)},Dt=Symbol.for(`module-federation.shared-cache-owners`),Ot=e=>{let t=e[Dt];return t===void 0&&(t=Object.create(null),Object.defineProperty(e,Dt,{value:t,enumerable:!1,configurable:!1,writable:!1})),t},kt=e=>{let t=[e,e==null?void 0:e.default];for(let e of t)if(e&&typeof e==`object`){for(let t of[`__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE`,`__TEST_INTERNALS`,`__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED`]){let n=e[t];if(n&&typeof n==`object`)return{internals:n}}if(typeof e.useState==`function`)return{hook:e.useState}}},At=(e,t)=>{if(e===t)return!0;let n=kt(e),r=kt(t);if(!n||!r)return!1;let i=n.internals,a=r.internals;return i!==void 0||a!==void 0?i!==void 0&&i===a:typeof n.hook==`function`&&n.hook===r.hook},jt=(e,t,n,r)=>{var i;let a=Ct(e,t);if(a!==void 0&&At(a,n))return n;e[t.canonical]=n;let o=t.aliases||[];for(let t of o)Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0});let s=e[Dt];r===void 0?s&&delete s[t.canonical]:Ot(e)[t.canonical]=r;let c=(i=e[wt])==null?void 0:i[t.canonical];if(c)for(let e of c)e(n);return n};function Mt(e,...t){let n=new URL(`https://mui.com/production-error/?code=${e}`);return t.forEach(e=>n.searchParams.append(`args[]`,e)),`Minified MUI error #${e}; visit ${n} for the full message.`}var Nt=`$$material`;function Pt(){return Pt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Pt.apply(null,arguments)}function eee(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function tee(e){var t=document.createElement(`style`);return t.setAttribute(`data-emotion`,e.key),e.nonce!==void 0&&t.setAttribute(`nonce`,e.nonce),t.appendChild(document.createTextNode(``)),t.setAttribute(`data-s`,``),t}var Ft=function(){function e(e){var t=this;this._insertTag=function(e){var n=t.tags.length===0?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling;t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=e.speedy===void 0||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(tee(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=eee(t);try{n.insertRule(e,n.cssRules.length)}catch{}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach(function(e){var t;return(t=e.parentNode)==null?void 0:t.removeChild(e)}),this.tags=[],this.ctr=0},e}(),It=`-ms-`,Lt=`-moz-`,Rt=`-webkit-`,nee=`comm`,zt=`rule`,Bt=`decl`,ree=`@import`,iee=`@keyframes`,aee=`@layer`,oee=Math.abs,Vt=String.fromCharCode,see=Object.assign;function cee(e,t){return Gt(e,0)^45?(((t<<2^Gt(e,0))<<2^Gt(e,1))<<2^Gt(e,2))<<2^Gt(e,3):0}function Ht(e){return e.trim()}function lee(e,t){return(e=t.exec(e))?e[0]:e}function Ut(e,t,n){return e.replace(t,n)}function Wt(e,t){return e.indexOf(t)}function Gt(e,t){return e.charCodeAt(t)|0}function Kt(e,t,n){return e.slice(t,n)}function qt(e){return e.length}function Jt(e){return e.length}function Yt(e,t){return t.push(e),e}function uee(e,t){return e.map(t).join(``)}var Xt=1,Zt=1,dee=0,Qt=0,$t=0,en=``;function tn(e,t,n,r,i,a,o){return{value:e,root:t,parent:n,type:r,props:i,children:a,line:Xt,column:Zt,length:o,return:``}}function nn(e,t){return see(tn(``,null,null,``,null,null,0),e,{length:-e.length},t)}function fee(){return $t}function pee(){return $t=Qt>0?Gt(en,--Qt):0,Zt--,$t===10&&(Zt=1,Xt--),$t}function rn(){return $t=Qt<dee?Gt(en,Qt++):0,Zt++,$t===10&&(Zt=1,Xt++),$t}function an(){return Gt(en,Qt)}function on(){return Qt}function sn(e,t){return Kt(en,e,t)}function cn(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function mee(e){return Xt=Zt=1,dee=qt(en=e),Qt=0,[]}function hee(e){return en=``,e}function ln(e){return Ht(sn(Qt-1,un(e===91?e+2:e===40?e+1:e)))}function gee(e){for(;($t=an())&&$t<33;)rn();return cn(e)>2||cn($t)>3?``:` `}function _ee(e,t){for(;--t&&rn()&&!($t<48||$t>102||$t>57&&$t<65||$t>70&&$t<97););return sn(e,on()+(t<6&&an()==32&&rn()==32))}function un(e){for(;rn();)switch($t){case e:return Qt;case 34:case 39:e!==34&&e!==39&&un($t);break;case 40:e===41&&un(e);break;case 92:rn()}return Qt}function vee(e,t){for(;rn()&&e+$t!==57&&(e+$t!==84||an()!==47););return`/*`+sn(t,Qt-1)+`*`+Vt(e===47?e:rn())}function yee(e){for(;!cn(an());)rn();return sn(e,Qt)}function bee(e){return hee(dn(``,null,null,null,[``],e=mee(e),0,[0],e))}function dn(e,t,n,r,i,a,o,s,c){for(var l=0,u=0,d=o,f=0,p=0,m=0,h=1,g=1,_=1,v=0,y=``,b=i,x=a,S=r,C=y;g;)switch(m=v,v=rn()){case 40:if(m!=108&&Gt(C,d-1)==58){Wt(C+=Ut(ln(v),`&`,`&\f`),`&\f`)!=-1&&(_=-1);break}case 34:case 39:case 91:C+=ln(v);break;case 9:case 10:case 13:case 32:C+=gee(m);break;case 92:C+=_ee(on()-1,7);continue;case 47:switch(an()){case 42:case 47:Yt(xee(vee(rn(),on()),t,n),c);break;default:C+=`/`}break;case 123*h:s[l++]=qt(C)*_;case 125*h:case 59:case 0:switch(v){case 0:case 125:g=0;case 59+u:_==-1&&(C=Ut(C,/\f/g,``)),p>0&&qt(C)-d&&Yt(p>32?pn(C+`;`,r,n,d-1):pn(Ut(C,` `,``)+`;`,r,n,d-2),c);break;case 59:C+=`;`;default:if(Yt(S=fn(C,t,n,l,u,i,s,y,b=[],x=[],d),a),v===123){if(u===0)dn(C,t,S,S,b,a,d,s,x);else switch(f===99&&Gt(C,3)===110?100:f){case 100:case 108:case 109:case 115:dn(e,S,S,r&&Yt(fn(e,S,S,0,0,i,s,y,i,b=[],d),x),i,x,d,s,r?b:x);break;default:dn(C,S,S,S,[``],x,0,s,x)}}}l=u=p=0,h=_=1,y=C=``,d=o;break;case 58:d=1+qt(C),p=m;default:if(h<1){if(v==123)--h;else if(v==125&&h++==0&&pee()==125)continue}switch(C+=Vt(v),v*h){case 38:_=u>0?1:(C+=`\f`,-1);break;case 44:s[l++]=(qt(C)-1)*_,_=1;break;case 64:an()===45&&(C+=ln(rn())),f=an(),u=d=qt(y=C+=yee(on())),v++;break;case 45:m===45&&qt(C)==2&&(h=0)}}return a}function fn(e,t,n,r,i,a,o,s,c,l,u){for(var d=i-1,f=i===0?a:[``],p=Jt(f),m=0,h=0,g=0;m<r;++m)for(var _=0,v=Kt(e,d+1,d=oee(h=o[m])),y=e;_<p;++_)(y=Ht(h>0?f[_]+` `+v:Ut(v,/&\f/g,f[_])))&&(c[g++]=y);return tn(e,t,n,i===0?zt:s,c,l,u)}function xee(e,t,n){return tn(e,t,n,nee,Vt(fee()),Kt(e,2,-2),0)}function pn(e,t,n,r){return tn(e,t,n,Bt,Kt(e,0,r),Kt(e,r+1,-1),r)}function mn(e,t){for(var n=``,r=Jt(e),i=0;i<r;i++)n+=t(e[i],i,e,t)||``;return n}function See(e,t,n,r){switch(e.type){case aee:if(e.children.length)break;case ree:case Bt:return e.return=e.return||e.value;case nee:return``;case iee:return e.return=e.value+`{`+mn(e.children,r)+`}`;case zt:e.value=e.props.join(`,`)}return qt(n=mn(e.children,r))?e.return=e.value+`{`+n+`}`:``}function Cee(e){var t=Jt(e);return function(n,r,i,a){for(var o=``,s=0;s<t;s++)o+=e[s](n,r,i,a)||``;return o}}function wee(e){return function(t){t.root||(t=t.return)&&e(t)}}function Tee(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var Eee=function(e,t,n){for(var r=0,i=0;r=i,i=an(),r===38&&i===12&&(t[n]=1),!cn(i);)rn();return sn(e,Qt)},Dee=function(e,t){var n=-1,r=44;do switch(cn(r)){case 0:r===38&&an()===12&&(t[n]=1),e[n]+=Eee(Qt-1,t,n);break;case 2:e[n]+=ln(r);break;case 4:if(r===44){e[++n]=an()===58?`&\f`:``,t[n]=e[n].length;break}default:e[n]+=Vt(r)}while(r=rn());return e},Oee=function(e,t){return hee(Dee(mee(e),t))},kee=new WeakMap,Aee=function(e){if(!(e.type!==`rule`||!e.parent||e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;n.type!==`rule`;)if(n=n.parent,!n)return;if((e.props.length!==1||t.charCodeAt(0)===58||kee.get(n))&&!r){kee.set(e,!0);for(var i=[],a=Oee(t,i),o=n.props,s=0,c=0;s<a.length;s++)for(var l=0;l<o.length;l++,c++)e.props[c]=i[s]?a[s].replace(/&\f/g,o[l]):o[l]+` `+a[s]}}},jee=function(e){if(e.type===`decl`){var t=e.value;t.charCodeAt(0)===108&&t.charCodeAt(2)===98&&(e.return=``,e.value=``)}};function Mee(e,t){switch(cee(e,t)){case 5103:return Rt+`print-`+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return Rt+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Rt+e+Lt+e+It+e+e;case 6828:case 4268:return Rt+e+It+e+e;case 6165:return Rt+e+It+`flex-`+e+e;case 5187:return Rt+e+Ut(e,/(\w+).+(:[^]+)/,Rt+`box-$1$2`+It+`flex-$1$2`)+e;case 5443:return Rt+e+It+`flex-item-`+Ut(e,/flex-|-self/,``)+e;case 4675:return Rt+e+It+`flex-line-pack`+Ut(e,/align-content|flex-|-self/,``)+e;case 5548:return Rt+e+It+Ut(e,`shrink`,`negative`)+e;case 5292:return Rt+e+It+Ut(e,`basis`,`preferred-size`)+e;case 6060:return Rt+`box-`+Ut(e,`-grow`,``)+Rt+e+It+Ut(e,`grow`,`positive`)+e;case 4554:return Rt+Ut(e,/([^-])(transform)/g,`$1`+Rt+`$2`)+e;case 6187:return Ut(Ut(Ut(e,/(zoom-|grab)/,Rt+`$1`),/(image-set)/,Rt+`$1`),e,``)+e;case 5495:case 3959:return Ut(e,/(image-set\([^]*)/,Rt+"$1$`$1");case 4968:return Ut(Ut(e,/(.+:)(flex-)?(.*)/,Rt+`box-pack:$3`+It+`flex-pack:$3`),/s.+-b[^;]+/,`justify`)+Rt+e+e;case 4095:case 3583:case 4068:case 2532:return Ut(e,/(.+)-inline(.+)/,Rt+`$1$2`)+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(qt(e)-1-t>6)switch(Gt(e,t+1)){case 109:if(Gt(e,t+4)!==45)break;case 102:return Ut(e,/(.+:)(.+)-([^]+)/,`$1`+Rt+`$2-$3$1`+Lt+(Gt(e,t+3)==108?`$3`:`$2-$3`))+e;case 115:return~Wt(e,`stretch`)?Mee(Ut(e,`stretch`,`fill-available`),t)+e:e}break;case 4949:if(Gt(e,t+1)!==115)break;case 6444:switch(Gt(e,qt(e)-3-(~Wt(e,`!important`)&&10))){case 107:return Ut(e,`:`,`:`+Rt)+e;case 101:return Ut(e,/(.+:)([^;!]+)(;|!.+)?/,`$1`+Rt+(Gt(e,14)===45?`inline-`:``)+`box$3$1`+Rt+`$2$3$1`+It+`$2box$3`)+e}break;case 5936:switch(Gt(e,t+11)){case 114:return Rt+e+It+Ut(e,/[svh]\w+-[tblr]{2}/,`tb`)+e;case 108:return Rt+e+It+Ut(e,/[svh]\w+-[tblr]{2}/,`tb-rl`)+e;case 45:return Rt+e+It+Ut(e,/[svh]\w+-[tblr]{2}/,`lr`)+e}return Rt+e+It+e+e}return e}var Nee=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case Bt:e.return=Mee(e.value,e.length);break;case iee:return mn([nn(e,{value:Ut(e.value,`@`,`@`+Rt)})],r);case zt:if(e.length)return uee(e.props,function(t){switch(lee(t,/(::plac\w+|:read-\w+)/)){case`:read-only`:case`:read-write`:return mn([nn(e,{props:[Ut(t,/:(read-\w+)/,`:`+Lt+`$1`)]})],r);case`::placeholder`:return mn([nn(e,{props:[Ut(t,/:(plac\w+)/,`:`+Rt+`input-$1`)]}),nn(e,{props:[Ut(t,/:(plac\w+)/,`:`+Lt+`$1`)]}),nn(e,{props:[Ut(t,/:(plac\w+)/,It+`input-$1`)]})],r)}return``})}}],Pee=function(e){var t=e.key;if(t===`css`){var n=document.querySelectorAll(`style[data-emotion]:not([data-s])`);Array.prototype.forEach.call(n,function(e){e.getAttribute(`data-emotion`).indexOf(` `)!==-1&&(document.head.appendChild(e),e.setAttribute(`data-s`,``))})}var r=e.stylisPlugins||Nee,i={},a,o=[];a=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll(`style[data-emotion^="`+t+` "]`),function(e){for(var t=e.getAttribute(`data-emotion`).split(` `),n=1;n<t.length;n++)i[t[n]]=!0;o.push(e)});var s,c=[Aee,jee],l,u=[See,wee(function(e){l.insert(e)})],d=Cee(c.concat(r,u)),f=function(e){return mn(bee(e),d)};s=function(e,t,n,r){l=n,f(e?e+`{`+t.styles+`}`:t.styles),r&&(p.inserted[t.name]=!0)};var p={key:t,sheet:new Ft({key:t,container:a,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:i,registered:{},insert:s};return p.sheet.hydrate(o),p},Fee=n((e=>{var t=typeof Symbol==`function`&&Symbol.for,n=t?Symbol.for(`react.element`):60103,r=t?Symbol.for(`react.portal`):60106,i=t?Symbol.for(`react.fragment`):60107,a=t?Symbol.for(`react.strict_mode`):60108,o=t?Symbol.for(`react.profiler`):60114,s=t?Symbol.for(`react.provider`):60109,c=t?Symbol.for(`react.context`):60110,l=t?Symbol.for(`react.async_mode`):60111,u=t?Symbol.for(`react.concurrent_mode`):60111,d=t?Symbol.for(`react.forward_ref`):60112,f=t?Symbol.for(`react.suspense`):60113,p=t?Symbol.for(`react.suspense_list`):60120,m=t?Symbol.for(`react.memo`):60115,h=t?Symbol.for(`react.lazy`):60116,g=t?Symbol.for(`react.block`):60121,_=t?Symbol.for(`react.fundamental`):60117,v=t?Symbol.for(`react.responder`):60118,y=t?Symbol.for(`react.scope`):60119;function b(e){if(typeof e==`object`&&e){var t=e.$$typeof;switch(t){case n:switch(e=e.type,e){case l:case u:case i:case o:case a:case f:return e;default:switch(e&&=e.$$typeof,e){case c:case d:case h:case m:case s:return e;default:return t}}case r:return t}}}function x(e){return b(e)===u}e.AsyncMode=l,e.ConcurrentMode=u,e.ContextConsumer=c,e.ContextProvider=s,e.Element=n,e.ForwardRef=d,e.Fragment=i,e.Lazy=h,e.Memo=m,e.Portal=r,e.Profiler=o,e.StrictMode=a,e.Suspense=f,e.isAsyncMode=function(e){return x(e)||b(e)===l},e.isConcurrentMode=x,e.isContextConsumer=function(e){return b(e)===c},e.isContextProvider=function(e){return b(e)===s},e.isElement=function(e){return typeof e==`object`&&!!e&&e.$$typeof===n},e.isForwardRef=function(e){return b(e)===d},e.isFragment=function(e){return b(e)===i},e.isLazy=function(e){return b(e)===h},e.isMemo=function(e){return b(e)===m},e.isPortal=function(e){return b(e)===r},e.isProfiler=function(e){return b(e)===o},e.isStrictMode=function(e){return b(e)===a},e.isSuspense=function(e){return b(e)===f},e.isValidElementType=function(e){return typeof e==`string`||typeof e==`function`||e===i||e===u||e===o||e===a||e===f||e===p||typeof e==`object`&&!!e&&(e.$$typeof===h||e.$$typeof===m||e.$$typeof===s||e.$$typeof===c||e.$$typeof===d||e.$$typeof===_||e.$$typeof===v||e.$$typeof===y||e.$$typeof===g)},e.typeOf=b})),Iee=n(((e,t)=>{t.exports=Fee()})),Lee=n(((e,t)=>{var n=Iee(),r={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},o={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};s[n.ForwardRef]=a,s[n.Memo]=o;function c(e){return n.isMemo(e)?o:s[e.$$typeof]||r}var l=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,m=Object.prototype;function h(e,t,n){if(typeof t!=`string`){if(m){var r=p(t);r&&r!==m&&h(e,r,n)}var a=u(t);d&&(a=a.concat(d(t)));for(var o=c(e),s=c(t),g=0;g<a.length;++g){var _=a[g];if(!i[_]&&!(n&&n[_])&&!(s&&s[_])&&!(o&&o[_])){var v=f(t,_);try{l(e,_,v)}catch{}}}}return e}t.exports=h}));function Ree(e,t,n){var r=``;return n.split(` `).forEach(function(n){e[n]===void 0?n&&(r+=n+` `):t.push(e[n]+`;`)}),r}var hn=function(e,t,n){var r=e.key+`-`+t.name;n===!1&&e.registered[r]===void 0&&(e.registered[r]=t.styles)},gn=function(e,t,n){hn(e,t,n);var r=e.key+`-`+t.name;if(e.inserted[t.name]===void 0){var i=t;do e.insert(t===i?`.`+r:``,i,e.sheet,!0),i=i.next;while(i!==void 0)}};function zee(e){for(var t=0,n,r=0,i=e.length;i>=4;++r,i-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(i){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var Bee={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Vee=/[A-Z]|^ms/g,Hee=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Uee=function(e){return e.charCodeAt(1)===45},Wee=function(e){return e!=null&&typeof e!=`boolean`},_n=Tee(function(e){return Uee(e)?e:e.replace(Vee,`-$&`).toLowerCase()}),Gee=function(e,t){switch(e){case`animation`:case`animationName`:if(typeof t==`string`)return t.replace(Hee,function(e,t,n){return bn={name:t,styles:n,next:bn},t})}return Bee[e]!==1&&!Uee(e)&&typeof t==`number`&&t!==0?t+`px`:t};function vn(e,t,n){if(n==null)return``;var r=n;if(r.__emotion_styles!==void 0)return r;switch(typeof n){case`boolean`:return``;case`object`:var i=n;if(i.anim===1)return bn={name:i.name,styles:i.styles,next:bn},i.name;var a=n;if(a.styles!==void 0){var o=a.next;if(o!==void 0)for(;o!==void 0;)bn={name:o.name,styles:o.styles,next:bn},o=o.next;return a.styles+`;`}return Kee(e,t,n);case`function`:if(e!==void 0){var s=bn,c=n(e);return bn=s,vn(e,t,c)}}var l=n;if(t==null)return l;var u=t[l];return u===void 0?l:u}function Kee(e,t,n){var r=``;if(Array.isArray(n))for(var i=0;i<n.length;i++)r+=vn(e,t,n[i])+`;`;else for(var a in n){var o=n[a];if(typeof o!=`object`){var s=o;t!=null&&t[s]!==void 0?r+=a+`{`+t[s]+`}`:Wee(s)&&(r+=_n(a)+`:`+Gee(a,s)+`;`)}else if(Array.isArray(o)&&typeof o[0]==`string`&&(t==null||t[o[0]]===void 0))for(var c=0;c<o.length;c++)Wee(o[c])&&(r+=_n(a)+`:`+Gee(a,o[c])+`;`);else{var l=vn(e,t,o);switch(a){case`animation`:case`animationName`:r+=_n(a)+`:`+l+`;`;break;default:r+=a+`{`+l+`}`}}}return r}var yn=/label:\s*([^\s;{]+)\s*(;|$)/g,bn;function xn(e,t,n){if(e.length===1&&typeof e[0]==`object`&&e[0]!==null&&e[0].styles!==void 0)return e[0];var r=!0,i=``;bn=void 0;var a=e[0];a==null||a.raw===void 0?(r=!1,i+=vn(n,t,a)):i+=a[0];for(var o=1;o<e.length;o++)i+=vn(n,t,e[o]),r&&(i+=a[o]);yn.lastIndex=0;for(var s=``,c;(c=yn.exec(i))!==null;)s+=`-`+c[1];return{name:zee(i)+s,styles:i,next:bn}}var qee=function(e){return e()},Sn=ft||!1,Cn=Sn||qee,wn=Sn||pt,Tn=Je(typeof HTMLElement<`u`?Pee({key:`css`}):null),Jee=Tn.Provider,En=function(e){return I(function(t,n){return e(t,at(Tn),n)})},Dn=Je({}),On={}.hasOwnProperty,kn=`__EMOTION_TYPE_PLEASE_DO_NOT_USE__`,Yee=function(e,t){var n={};for(var r in t)On.call(t,r)&&(n[r]=t[r]);return n[kn]=e,n},Xee=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return hn(t,n,r),Cn(function(){return gn(t,n,r)}),null},Zee=En(function(e,t,n){var r=e.css;typeof r==`string`&&t.registered[r]!==void 0&&(r=t.registered[r]);var i=e[kn],a=[r],o=``;typeof e.className==`string`?o=Ree(t.registered,a,e.className):e.className!=null&&(o=e.className+` `);var s=xn(a,void 0,at(Dn));o+=t.key+`-`+s.name;var c={};for(var l in e)On.call(e,l)&&l!==`css`&&l!==kn&&(c[l]=e[l]);return c.className=o,n&&(c.ref=n),Ye(F,null,Ye(Xee,{cache:t,serialized:s,isStringTag:typeof i==`string`}),Ye(i,c))});Lee();var Qee=function(e,t){var n=arguments;if(t==null||!On.call(t,`css`))return Ye.apply(void 0,n);var r=n.length,i=Array(r);i[0]=Zee,i[1]=Yee(e,t);for(var a=2;a<r;a++)i[a]=n[a];return Ye.apply(null,i)};(function(e){var t;t||=e.JSX||={}})(Qee||={});var $ee=En(function(e,t){var n=e.styles,r=xn([n],void 0,at(Dn)),i=L();return wn(function(){var e=t.key+`-global`,n=new t.sheet.constructor({key:e,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),a=!1,o=document.querySelector(`style[data-emotion="`+e+` `+r.name+`"]`);return t.sheet.tags.length&&(n.before=t.sheet.tags[0]),o!==null&&(a=!0,o.setAttribute(`data-emotion`,e),n.hydrate([o])),i.current=[n,a],function(){n.flush()}},[t]),wn(function(){var e=i.current,n=e[0];e[1]?e[1]=!1:(r.next!==void 0&&gn(t,r.next,!0),n.tags.length&&(n.before=n.tags[n.tags.length-1].nextElementSibling,n.flush()),t.insert(``,r,n,!1))},[t,r.name]),null});function An(){return xn([...arguments])}function jn(){var e=An.apply(void 0,arguments),t=`animation-`+e.name;return{name:t,styles:`@keyframes `+t+`{`+e.styles+`}`,anim:1,toString:function(){return`_EMO_`+this.name+`_`+this.styles+`_EMO_`}}}var ete=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|popover|popoverTarget|popoverTargetAction|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,tte=Tee(function(e){return ete.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),nte=function(e){return e!==`theme`},rte=function(e){return typeof e==`string`&&e.charCodeAt(0)>96?tte:nte},ite=function(e,t,n){var r;if(t){var i=t.shouldForwardProp;r=e.__emotion_forwardProp&&i?function(t){return e.__emotion_forwardProp(t)&&i(t)}:i}return typeof r!=`function`&&n&&(r=e.__emotion_forwardProp),r},ate=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return hn(t,n,r),Cn(function(){return gn(t,n,r)}),null},ote=function e(t,n){var r=t.__emotion_real===t,i=r&&t.__emotion_base||t,a,o;n!==void 0&&(a=n.label,o=n.target);var s=ite(t,n,r),c=s||rte(i),l=!c(`as`);return function(){var u=arguments,d=r&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(a!==void 0&&d.push(`label:`+a+`;`),u[0]==null||u[0].raw===void 0)d.push.apply(d,u);else{var f=u[0];d.push(f[0]);for(var p=u.length,m=1;m<p;m++)d.push(u[m],f[m])}var h=En(function(e,t,n){var r=l&&e.as||i,a=``,u=[],f=e;if(e.theme==null){for(var p in f={},e)f[p]=e[p];f.theme=at(Dn)}typeof e.className==`string`?a=Ree(t.registered,u,e.className):e.className!=null&&(a=e.className+` `);var m=xn(d.concat(u),t.registered,f);a+=t.key+`-`+m.name,o!==void 0&&(a+=` `+o);var h=l&&s===void 0?rte(r):c,g={};for(var _ in e)l&&_===`as`||h(_)&&(g[_]=e[_]);return g.className=a,n&&(g.ref=n),Ye(F,null,Ye(ate,{cache:t,serialized:m,isStringTag:typeof r==`string`}),Ye(r,g))});return h.displayName=a===void 0?`Styled(`+(typeof i==`string`?i:i.displayName||i.name||`Component`)+`)`:a,h.defaultProps=t.defaultProps,h.__emotion_real=h,h.__emotion_base=i,h.__emotion_styles=d,h.__emotion_forwardProp=s,Object.defineProperty(h,"toString",{value:function(){return`.`+o}}),h.withComponent=function(t,r){return e(t,Pt({},n,r,{shouldForwardProp:ite(h,r,!0)})).apply(void 0,d)},h}},ste=`a.abbr.address.area.article.aside.audio.b.base.bdi.bdo.big.blockquote.body.br.button.canvas.caption.cite.code.col.colgroup.data.datalist.dd.del.details.dfn.dialog.div.dl.dt.em.embed.fieldset.figcaption.figure.footer.form.h1.h2.h3.h4.h5.h6.head.header.hgroup.hr.html.i.iframe.img.input.ins.kbd.keygen.label.legend.li.link.main.map.mark.marquee.menu.menuitem.meta.meter.nav.noscript.object.ol.optgroup.option.output.p.param.picture.pre.progress.q.rp.rt.ruby.s.samp.script.section.select.small.source.span.strong.style.sub.summary.sup.table.tbody.td.textarea.tfoot.th.thead.time.title.tr.track.u.ul.var.video.wbr.circle.clipPath.defs.ellipse.foreignObject.g.image.line.linearGradient.mask.path.pattern.polygon.polyline.radialGradient.rect.stop.svg.text.tspan`.split(`.`),Mn=ote.bind(null);ste.forEach(function(e){Mn[e]=Mn(e)});var cte=n(((e,t)=>{t.exports=`SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED`})),lte=n(((e,t)=>{var n=cte();function r(){}function i(){}i.resetWarningCache=r,t.exports=function(){function e(e,t,r,i,a,o){if(o!==n){var s=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name=`Invariant Violation`,s}}e.isRequired=e;function t(){return e}var a={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:r};return a.PropTypes=a,a}})),ute=n(((e,t)=>{t.exports=lte()()})),dte=`__mf_init__virtual:mf:__mfe_internal__InfluxDBComponentsSet__mf_owner__200594337988309__mf_v__runtimeInit__mf_v__.js__`,Nn=globalThis[dte];if(!Nn){let e,t,n=new Promise((n,r)=>{e=n,t=r});Nn=globalThis[dte]={initPromise:n,initResolve:e,initReject:t}}var fte=Nn.initPromise,Pn=`__mf_module_cache__`;globalThis[Pn]||={share:{},remote:{}},globalThis[Pn].share||={},globalThis[Pn].remote||={};var Fn=globalThis[Pn],pte=e=>{let t=Fn.pendingShareLoads||=[];t.push(e);let n=()=>{let n=t.indexOf(e);n!==-1&&t.splice(n,1)};return e.then(n,n),e};for(let e of Object.keys(Fn.share))if(e.startsWith(`default:`)){let t=e.slice(8);Fn.share[t]===void 0&&(Fn.share[t]=Fn.share[e])}else if(!e.includes(`:`)){let t=`default:`+e;Fn.share[t]===void 0&&(Fn.share[t]=Fn.share[e])}var mte=e=>{let t=(()=>{let t=e;for(let e=0;e<5;e++){let e=t==null?void 0:t.default;if(!e||typeof e!=`object`)break;let n=Object.keys(t).filter(e=>e!=="default").map(e=>t[e]);if(n.length>0&&n.some(e=>e!==void 0))break;t=e}return t})();return t&&Object.getPrototypeOf(t)===null?Object.assign({},t):t},In,R,z,Ln=e=>{Rn=e,In=e.Fragment,R=e.jsx,z=e.jsxs,e.default};Et(Fn.share,{canonical:`default:react/jsx-runtime`,aliases:[`react/jsx-runtime`]},Ln);var Rn=Ct(Fn.share,{canonical:`default:react/jsx-runtime`,aliases:[`react/jsx-runtime`]});Rn===void 0?pte(fte.then(()=>{if(Rn=Ct(Fn.share,{canonical:`default:react/jsx-runtime`,aliases:[`react/jsx-runtime`]}),Rn!==void 0)Ln(Rn);else return r(()=>import(`./_virtual_mf___mfe_internal__InfluxDBComponentsSet__mf_owner__200594337988309__prebuild__react_mf_1_jsx_mf_2_runtime__prebuild__--SURtz9t.js`).then(e=>{Rn=mte(e),jt(Fn.share,{canonical:`default:react/jsx-runtime`,aliases:[`react/jsx-runtime`]},Rn,`InfluxDBComponentsSet`)}),[],import.meta.url)})):Ln(Rn);var zn=new Map,Bn={insert:void 0},hte=(e,t)=>{let n=Pee(e);return n.sheet=new t({key:n.key,nonce:n.sheet.nonce,container:n.sheet.container,speedy:n.sheet.isSpeedy,prepend:n.sheet.prepend,insertionPoint:n.sheet.insertionPoint}),n},Vn;if(typeof document==`object`&&(Vn=document.querySelector(`[name="emotion-insertion-point"]`),!Vn)){Vn=document.createElement(`meta`),Vn.setAttribute(`name`,`emotion-insertion-point`),Vn.setAttribute(`content`,``);let e=document.querySelector(`head`);e&&e.prepend(Vn)}function gte(e,t){if(e||t){class n extends Ft{insert(e,t){return Bn.insert?Bn.insert(e,t):(this.key&&this.key.endsWith(`global`)&&(this.before=Vn),super.insert(e,t))}}let r=hte({key:t?`mui`:`css`,insertionPoint:e?Vn:void 0},n);if(t){let e=r.insert;r.insert=(...t)=>(t[1].styles.match(/^@layer\s+[^{]*$/)||(t[1].styles=`@layer mui {${t[1].styles}}`),e(...t))}return r}}function Hn(e){let{injectFirst:t,enableCssLayer:n,children:r}=e,i=mt(()=>{let e=`${t}-${n}`;if(typeof document==`object`&&zn.has(e))return zn.get(e);let r=gte(t,n);return zn.set(e,r),r},[t,n]);return i?R(Jee,{value:i,children:r}):r}function _te(e){return e==null||Object.keys(e).length===0}function Un(e){let{styles:t,defaultTheme:n={}}=e;return R($ee,{styles:typeof t==`function`?e=>t(_te(e)?n:e):t})}function Wn(e,t){return Mn(e,t)}function vte(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}var Gn=[];function Kn(e){return Gn[0]=e,xn(Gn)}var yte=n((e=>{var t=Symbol.for(`react.fragment`),n=Symbol.for(`react.strict_mode`),r=Symbol.for(`react.profiler`),i=Symbol.for(`react.consumer`),a=Symbol.for(`react.context`),o=Symbol.for(`react.forward_ref`),s=Symbol.for(`react.suspense`),c=Symbol.for(`react.suspense_list`),l=Symbol.for(`react.memo`),u=Symbol.for(`react.lazy`),d=Symbol.for(`react.view_transition`),f=Symbol.for(`react.client.reference`);e.isValidElementType=function(e){return!!(typeof e==`string`||typeof e==`function`||e===t||e===r||e===n||e===s||e===c||e===d||typeof e==`object`&&e&&(e.$$typeof===u||e.$$typeof===l||e.$$typeof===a||e.$$typeof===i||e.$$typeof===o||e.$$typeof===f||e.getModuleId!==void 0))}})),qn=n(((e,t)=>{t.exports=yte()}))();function Jn(e){if(typeof e!=`object`||!e)return!1;let t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function Yn(e){if(Ze(e)||(0,qn.isValidElementType)(e)||!Jn(e))return e;let t={};return Object.keys(e).forEach(n=>{t[n]=Yn(e[n])}),t}function Xn(e,t,n={clone:!0}){let r=n.clone?{...e}:e;return Jn(e)&&Jn(t)&&Object.keys(t).forEach(i=>{Ze(t[i])||(0,qn.isValidElementType)(t[i])?r[i]=t[i]:Jn(t[i])&&Object.prototype.hasOwnProperty.call(e,i)&&Jn(e[i])?r[i]=Xn(e[i],t[i],n):n.clone?r[i]=Jn(t[i])?Yn(t[i]):t[i]:r[i]=t[i]}),r}var bte=e=>{let t=Object.keys(e).map(t=>({key:t,val:e[t]}))||[];return t.sort((e,t)=>e.val-t.val),t.reduce((e,t)=>({...e,[t.key]:t.val}),{})};function Zn(e){let{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n=`px`,step:r=5,...i}=e,a=bte(t),o=Object.keys(a);function s(e){return`@media (min-width:${typeof t[e]==`number`?t[e]:e}${n})`}function c(e){return`@media (max-width:${(typeof t[e]==`number`?t[e]:e)-r/100}${n})`}function l(e,i){let a=o.indexOf(i);return`@media (min-width:${typeof t[e]==`number`?t[e]:e}${n}) and (max-width:${(a!==-1&&typeof t[o[a]]==`number`?t[o[a]]:i)-r/100}${n})`}function u(e){return o.indexOf(e)+1<o.length?l(e,o[o.indexOf(e)+1]):s(e)}function d(e){let t=o.indexOf(e);return t===0?s(o[1]):t===o.length-1?c(o[t]):l(e,o[o.indexOf(e)+1]).replace(`@media`,`@media not all and`)}let f=[];for(let e=0;e<o.length;e+=1)f.push(s(o[e]));return{keys:o,values:a,up:s,down:c,between:l,only:u,not:d,unit:n,internal_mediaKeys:f,...i}}var Qn=/min-width:\s*([0-9.]+)/;function $n(e,t){if(!e.containerQueries||!xte(t))return t;let n=[];for(let e in t)e.startsWith(`@container`)&&n.push(e);n.sort((e,t)=>{var n,r;return+(((n=e.match(Qn))==null?void 0:n[1])||0)-(((r=t.match(Qn))==null?void 0:r[1])||0)});let r=t;for(let e=0;e<n.length;e+=1){let t=n[e],i=r[t];delete r[t],r[t]=i}return r}function xte(e){for(let t in e)if(t.startsWith(`@container`))return!0;return!1}function er(e,t){return t===`@`||t.startsWith(`@`)&&(e.some(e=>t.startsWith(`@${e}`))||!!t.match(/^@\d/))}function Ste(e,t){let n=t.match(/^@([^/]+)?\/?(.+)?$/);if(!n)return null;let[,r,i]=n,a=Number.isNaN(+r)?r||0:+r;return e.containerQueries(i).up(a)}function Cte(e){let t=(e,t)=>e.replace(`@media`,t?`@container ${t}`:`@container`);function n(n,r){n.up=(...n)=>t(e.breakpoints.up(...n),r),n.down=(...n)=>t(e.breakpoints.down(...n),r),n.between=(...n)=>t(e.breakpoints.between(...n),r),n.only=(...n)=>t(e.breakpoints.only(...n),r),n.not=(...n)=>{let i=t(e.breakpoints.not(...n),r);return i.includes(`not all and`)?i.replace(`not all and `,``).replace(`min-width:`,`width<`).replace(`max-width:`,`width>`).replace(`and`,`or`):i}}let r={},i=e=>(n(r,e),r);return n(i),{...e,containerQueries:i}}var wte={borderRadius:4};function tr(e){if(e==null)return!0;for(let t in e)return!1;return!0}function nr(e,t){let n=Array.isArray(t),r=Array.isArray(e);return kte(t)?t:Ate(e)?rr(t):n&&r?Dte(e,t):n===r?jte(e,t):rr(t)}function Tte(e){let t=0,n=e.length,r=Array(n);for(t=0;t<n;t+=1)r[t]=rr(e[t]);return r}function Ete(e){let t={};for(let n in e)n!==`__proto__`&&n!==`constructor`&&n!==`prototype`&&(t[n]=rr(e[n]));return t}function Dte(e,t){let n=e.length;for(let r=0;r<t.length;r+=1)e[n+r]=rr(t[r]);return e}function Ote(e){return typeof e==`object`&&!!e&&!(e instanceof RegExp)&&!(e instanceof Date)}function kte(e){return typeof e!=`object`||!e}function Ate(e){return typeof e!=`object`||!e||e instanceof RegExp||e instanceof Date}function rr(e){return Ote(e)?Array.isArray(e)?Tte(e):Ete(e):e}function jte(e,t){for(let n in t)n!==`__proto__`&&n!==`constructor`&&n!==`prototype`&&(e[n]=n in e?nr(e[n],t[n]):rr(t[n]));return e}var Mte={},ir={xs:0,sm:600,md:900,lg:1200,xl:1536},ar=Zn({values:ir}),Nte={containerQueries:e=>({up:t=>{let n=typeof t==`number`?t:ir[t]||t;return typeof n==`number`&&(n=`${n}px`),e?`@container ${e} (min-width:${n})`:`@container (min-width:${n})`}})};function or(e,t,n){let r={};return sr(r,e.theme,t,(e,t,i)=>{let a=n(t,i);e?r[e]=a:nr(r,a)})}function sr(e,t,n,r){if(t??=Mte,Array.isArray(n)){let i=t.breakpoints??ar;for(let t=0;t<n.length;t+=1)cr(e,i.up(i.keys[t]),n[t],void 0,r);return e}if(typeof n==`object`){let i=t.breakpoints??ar,a=i.values??ir;for(let o in n)if(er(i.keys,o)){let i=Ste(t.containerQueries?t:Nte,o);i&&cr(e,i,n[o],o,r)}else if(o in a)cr(e,i.up(o),n[o],o,r);else{let t=o;e[t]=n[t]}return e}return r(void 0,n),e}function cr(e,t,n,r,i){e[t]??={},i(t,n,r)}function Pte(e=ar){let{internal_mediaKeys:t}=e,n={};for(let e=0;e<t.length;e+=1)n[t[e]]={};return n}function lr(e,t){let n=e.internal_mediaKeys;for(let e=0;e<n.length;e+=1){let r=n[e];tr(t[r])&&delete t[r]}return t}function Fte(e,...t){return lr(e,[Pte(e),...t].reduce((e,t)=>Xn(e,t),{}))}function Ite(e,t){if(typeof e!=`object`)return{};let n={},r=Object.keys(t);return Array.isArray(e)?r.forEach((t,r)=>{r<e.length&&(n[t]=!0)}):r.forEach(t=>{e[t]!=null&&(n[t]=!0)}),n}function ur(e){let{values:t,breakpoints:n,base:r}=e,i=r||Ite(t,n),a=Object.keys(i);if(a.length===0)return t;let o;return a.reduce((e,n,r)=>{if(Array.isArray(t))e[n]=t[r]==null?t[o]:t[r],o=r;else if(typeof t==`object`&&t){let r=t;e[n]=r[n]==null?r[o]:r[n],o=n}else e[n]=t;return e},{})}function Lte(e,t){if(Array.isArray(t))return!0;if(typeof t==`object`&&t){for(let n=0;n<e.keys.length;n+=1)if(e.keys[n]in t)return!0;let n=Object.keys(t);for(let t=0;t<n.length;t+=1)if(er(e.keys,n[t]))return!0}return!1}function dr(e){if(typeof e!=`string`)throw Error(Mt(7));return e.charAt(0).toUpperCase()+e.slice(1)}function Rte(e,t,n,r){let i;return i=typeof e==`function`?e(n):Array.isArray(e)?e[n]||n:typeof n==`string`&&fr(e,n,!0,r)||n,t&&(i=t(i,n,e)),i}function fr(e,t,n=!0,r=void 0){if(!e||!t)return null;let i=t.split(`.`);if(e.vars&&n){let t=zte(e.vars,i,r);if(t!=null)return t}return zte(e,i,r)}function zte(e,t,n=void 0){let r,i=e,a=0;for(;a<t.length;){if(i==null)return i;r=i,i=i[t[a]],a+=1}if(n&&i===void 0){let e=t[t.length-1],i=`${n}${e==="default"?``:dr(e)}`;return r==null?void 0:r[i]}return i}function pr(e){let{prop:t,cssProperty:n=e.prop,themeKey:r,transform:i}=e,a=e=>{if(e[t]==null)return null;let a=e[t],o=e.theme,s=fr(o,r)||{};return or(e,a,e=>{let r=Rte(s,i,e,t);return n===!1?r:{[n]:r}})};return a.propTypes={},a.filterProps=[t],a}var Bte={internal_cache:{}},mr={m:`margin`,p:`padding`},Vte={t:`Top`,r:`Right`,b:`Bottom`,l:`Left`,x:[`Left`,`Right`],y:[`Top`,`Bottom`]},Hte={marginX:`mx`,marginY:`my`,paddingX:`px`,paddingY:`py`},hr={};for(let e in mr)hr[e]=[mr[e]];for(let e in mr)for(let t in Vte){let n=mr[e],r=Vte[t],i=Array.isArray(r)?r.map(e=>n+e):[n+r];hr[e+t]=i}for(let e in Hte)hr[e]=hr[Hte[e]];var gr=new Set([`m`,`mt`,`mr`,`mb`,`ml`,`mx`,`my`,`margin`,`marginTop`,`marginRight`,`marginBottom`,`marginLeft`,`marginX`,`marginY`,`marginInline`,`marginInlineStart`,`marginInlineEnd`,`marginBlock`,`marginBlockStart`,`marginBlockEnd`]),_r=new Set([`p`,`pt`,`pr`,`pb`,`pl`,`px`,`py`,`padding`,`paddingTop`,`paddingRight`,`paddingBottom`,`paddingLeft`,`paddingX`,`paddingY`,`paddingInline`,`paddingInlineStart`,`paddingInlineEnd`,`paddingBlock`,`paddingBlockStart`,`paddingBlockEnd`]);[...gr,..._r];function vr(e,t,n,r){let i=fr(e,t,!0)??n;return typeof i==`number`||typeof i==`string`?e=>typeof e==`string`?e:typeof i==`string`?i.startsWith(`var(`)&&e===0?0:i.startsWith(`var(`)&&e===1?i:`calc(${e} * ${i})`:i*e:Array.isArray(i)?e=>{if(typeof e==`string`)return e;let t=i[Math.abs(e)];return e>=0?t:typeof t==`number`?-t:typeof t==`string`&&t.startsWith(`var(`)?`calc(-1 * ${t})`:`-${t}`}:typeof i==`function`?i:()=>void 0}function yr(e){return vr(e,`spacing`,8,`spacing`)}function br(e,t){return typeof t==`string`||t==null?t:e(t)}var xr=[``];function Sr(e,t){var n;let r=e.theme??Bte,i=(r==null||(n=r.internal_cache)==null?void 0:n.unarySpacing)??yr(r),a={};for(let n in e){if(!t.has(n))continue;let r=hr[n]??(xr[0]=n,xr),o=e[n];sr(a,e.theme,o,(e,t)=>{let n=e?a[e]:a;for(let e=0;e<r.length;e+=1)n[r[e]]=br(i,t)})}return a}function Cr(e){return Sr(e,gr)}Cr.propTypes={},Cr.filterProps=gr;var wr=Cr;function Tr(e){return Sr(e,_r)}Tr.propTypes={},Tr.filterProps=_r;var Er=Tr;function Dr(e=8,t=yr({spacing:e})){if(e.mui)return e;let n=(...e)=>(e.length===0?[1]:e).map(e=>{let n=t(e);return typeof n==`number`?`${n}px`:n}).join(` `);return n.mui=!0,n}function Or(...e){let t=e.reduce((e,t)=>(t.filterProps.forEach(n=>{e[n]=t}),e),{}),n=e=>{let n={};for(let r in e)t[r]&&nr(n,t[r](e));return n};return n.propTypes={},n.filterProps=e.reduce((e,t)=>e.concat(t.filterProps),[]),n}function kr(e){return typeof e==`number`?`${e}px solid`:e}function Ar(e,t){return pr({prop:e,themeKey:`borders`,transform:t})}var Ute=Ar(`border`,kr),Wte=Ar(`borderTop`,kr),Gte=Ar(`borderRight`,kr),Kte=Ar(`borderBottom`,kr),qte=Ar(`borderLeft`,kr),Jte=Ar(`borderColor`),Yte=Ar(`borderTopColor`),Xte=Ar(`borderRightColor`),Zte=Ar(`borderBottomColor`),Qte=Ar(`borderLeftColor`),$te=Ar(`outline`,kr),ene=Ar(`outlineColor`),jr=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){let t=vr(e.theme,`shape.borderRadius`,4,`borderRadius`);return or(e,e.borderRadius,e=>({borderRadius:br(t,e)}))}return null};jr.propTypes={},jr.filterProps=[`borderRadius`],Or(Ute,Wte,Gte,Kte,qte,Jte,Yte,Xte,Zte,Qte,jr,$te,ene);var Mr=e=>{if(e.gap!==void 0&&e.gap!==null){let t=vr(e.theme,`spacing`,8,`gap`);return or(e,e.gap,e=>({gap:br(t,e)}))}return null};Mr.propTypes={},Mr.filterProps=[`gap`];var Nr=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){let t=vr(e.theme,`spacing`,8,`columnGap`);return or(e,e.columnGap,e=>({columnGap:br(t,e)}))}return null};Nr.propTypes={},Nr.filterProps=[`columnGap`];var Pr=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){let t=vr(e.theme,`spacing`,8,`rowGap`);return or(e,e.rowGap,e=>({rowGap:br(t,e)}))}return null};Pr.propTypes={},Pr.filterProps=[`rowGap`],Or(Mr,Nr,Pr,pr({prop:`gridColumn`}),pr({prop:`gridRow`}),pr({prop:`gridAutoFlow`}),pr({prop:`gridAutoColumns`}),pr({prop:`gridAutoRows`}),pr({prop:`gridTemplateColumns`}),pr({prop:`gridTemplateRows`}),pr({prop:`gridTemplateAreas`}),pr({prop:`gridArea`}));function Fr(e,t){return t===`grey`?t:e}Or(pr({prop:`color`,themeKey:`palette`,transform:Fr}),pr({prop:`bgcolor`,cssProperty:`backgroundColor`,themeKey:`palette`,transform:Fr}),pr({prop:`backgroundColor`,themeKey:`palette`,transform:Fr}));var tne=ir;function Ir(e){return e<=1&&e!==0?`${e*100}%`:e}var nne=pr({prop:`width`,transform:Ir}),Lr=e=>e.maxWidth!==void 0&&e.maxWidth!==null?or(e,e.maxWidth,t=>{var n,r;let i=((n=e.theme)==null||(n=n.breakpoints)==null||(n=n.values)==null?void 0:n[t])||tne[t];return i?((r=e.theme)==null||(r=r.breakpoints)==null?void 0:r.unit)===`px`?{maxWidth:i}:{maxWidth:`${i}${e.theme.breakpoints.unit}`}:{maxWidth:Ir(t)}}):null;Lr.filterProps=[`maxWidth`];var rne=pr({prop:`minWidth`,transform:Ir}),ine=pr({prop:`height`,transform:Ir}),ane=pr({prop:`maxHeight`,transform:Ir}),one=pr({prop:`minHeight`,transform:Ir});pr({prop:`size`,cssProperty:`width`,transform:Ir}),pr({prop:`size`,cssProperty:`height`,transform:Ir}),Or(nne,Lr,rne,ine,ane,one,pr({prop:`boxSizing`}));var Rr={border:{themeKey:`borders`,transform:kr},borderTop:{themeKey:`borders`,transform:kr},borderRight:{themeKey:`borders`,transform:kr},borderBottom:{themeKey:`borders`,transform:kr},borderLeft:{themeKey:`borders`,transform:kr},borderColor:{themeKey:`palette`},borderTopColor:{themeKey:`palette`},borderRightColor:{themeKey:`palette`},borderBottomColor:{themeKey:`palette`},borderLeftColor:{themeKey:`palette`},outline:{themeKey:`borders`,transform:kr},outlineColor:{themeKey:`palette`},borderRadius:{themeKey:`shape.borderRadius`,style:jr},color:{themeKey:`palette`,transform:Fr},bgcolor:{themeKey:`palette`,cssProperty:`backgroundColor`,transform:Fr},backgroundColor:{themeKey:`palette`,transform:Fr},p:{style:Er},pt:{style:Er},pr:{style:Er},pb:{style:Er},pl:{style:Er},px:{style:Er},py:{style:Er},padding:{style:Er},paddingTop:{style:Er},paddingRight:{style:Er},paddingBottom:{style:Er},paddingLeft:{style:Er},paddingX:{style:Er},paddingY:{style:Er},paddingInline:{style:Er},paddingInlineStart:{style:Er},paddingInlineEnd:{style:Er},paddingBlock:{style:Er},paddingBlockStart:{style:Er},paddingBlockEnd:{style:Er},m:{style:wr},mt:{style:wr},mr:{style:wr},mb:{style:wr},ml:{style:wr},mx:{style:wr},my:{style:wr},margin:{style:wr},marginTop:{style:wr},marginRight:{style:wr},marginBottom:{style:wr},marginLeft:{style:wr},marginX:{style:wr},marginY:{style:wr},marginInline:{style:wr},marginInlineStart:{style:wr},marginInlineEnd:{style:wr},marginBlock:{style:wr},marginBlockStart:{style:wr},marginBlockEnd:{style:wr},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:Mr},rowGap:{style:Pr},columnGap:{style:Nr},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:`zIndex`},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:`shadows`},width:{transform:Ir},maxWidth:{style:Lr},minWidth:{transform:Ir},height:{transform:Ir},maxHeight:{transform:Ir},minHeight:{transform:Ir},boxSizing:{},font:{themeKey:`font`},fontFamily:{themeKey:`typography`},fontSize:{themeKey:`typography`},fontStyle:{themeKey:`typography`},fontWeight:{themeKey:`typography`},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:`typography`}},sne={};function cne(){function e(t){if(!t.sx)return null;let{sx:n,theme:r=sne,nested:i}=t,a=r.unstable_sxConfig??Rr,o={sx:null,theme:r,nested:!0};function s(n){let s=n;if(typeof n==`function`)s=n(r);else if(typeof n!=`object`)return n;if(!s)return null;let c=r.breakpoints??ar,l=Pte(c);for(let n in s){let i=lne(s[n],r);i!=null&&(typeof i==`object`?a[n]?Br(l,n,i,r,a):Lte(c,i)?sr(l,t.theme,i,(e,t)=>{l[e][n]=t}):(o.sx=i,l[n]=e(o)):Br(l,n,i,r,a))}return!i&&r.modularCssLayers?{"@layer sx":$n(r,lr(c,l))}:$n(r,lr(c,l))}return Array.isArray(n)?n.map(s):s(n)}return e.filterProps=[`sx`],e}var zr=cne();function Br(e,t,n,r,i){let a=i[t];if(!a){e[t]=n;return}if(n==null)return;let{themeKey:o}=a;if(o===`typography`&&n===`inherit`){e[t]=n;return}let{style:s}=a;if(s){nr(e,s({[t]:n,theme:r}));return}let{cssProperty:c=t,transform:l}=a,u=fr(r,o);sr(e,r,n,(n,r)=>{let i=Rte(u,l,r,t);c===!1?nr(n?e[n]:e,i):n?e[n][c]=i:e[c]=i})}function lne(e,t){return typeof e==`function`?e(t):e}function une(e,t){let n=this;if(n.vars){var r;if(!((r=n.colorSchemes)!=null&&r[e])||typeof n.getColorSchemeSelector!=`function`)return{};let i=n.getColorSchemeSelector(e);return i===`&`?t:((i.includes(`data-`)||i.includes(`.`))&&(i=`*:where(${i.replace(/\s*&$/,``)}) &`),{[i]:t})}return n.palette.mode===e?t:{}}function Vr(e={},...t){let{breakpoints:n={},palette:r={},spacing:i,shape:a={},...o}=e,s=Zn(n),c=Dr(i),l=Xn({breakpoints:s,direction:`ltr`,components:{},palette:{mode:`light`,...r},spacing:c,shape:{...wte,...a}},o);return l=Cte(l),l.applyStyles=une,l=t.reduce((e,t)=>Xn(e,t),l),l.unstable_sxConfig={...Rr,...o==null?void 0:o.unstable_sxConfig},l.unstable_sx=function(e){return zr({sx:e,theme:this})},l.internal_cache={},l}function dne(e){return Object.keys(e).length===0}function Hr(e=null){let t=at(Dn);return!t||dne(t)?e:t}var fne=Vr();function Ur(e=fne){return Hr(e)}function Wr(e){let t=Kn(e);return e!==t&&t.styles?(t.styles.match(/^@layer\s+[^{]*$/)||(t.styles=`@layer global{${t.styles}}`),t):e}function Gr({styles:e,themeId:t,defaultTheme:n={}}){let r=Ur(n),i=t&&r[t]||r,a=typeof e==`function`?e(i):e;return i.modularCssLayers&&(a=Array.isArray(a)?a.map(e=>Wr(typeof e==`function`?e(i):e)):Wr(a)),R(Un,{styles:a})}var Kr=e=>e,qr=(()=>{let e=Kr;return{configure(t){e=t},generate(t){return e(t)},reset(){e=Kr}}})();function pne(e){var t,n,r=``;if(typeof e==`string`||typeof e==`number`)r+=e;else if(typeof e==`object`){if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=pne(e[t]))&&(r&&(r+=` `),r+=n)}else for(n in e)e[n]&&(r&&(r+=` `),r+=n)}return r}function B(){for(var e,t,n=0,r=``,i=arguments.length;n<i;n++)(e=arguments[n])&&(t=pne(e))&&(r&&(r+=` `),r+=t);return r}function mne(e={}){let{themeId:t,defaultTheme:n,defaultClassName:r=`MuiBox-root`,generateClassName:i}=e,a=Wn(`div`,{shouldForwardProp:e=>e!==`theme`&&e!==`sx`&&e!==`as`})(zr);return I(function(e,o){let s=Ur(n),{className:c,component:l=`div`,...u}=e;return R(a,{as:l,ref:o,className:B(c,i?i(r):r),theme:t&&s[t]||s,...u})})}var hne={active:`active`,checked:`checked`,completed:`completed`,disabled:`disabled`,error:`error`,expanded:`expanded`,focused:`focused`,focusVisible:`focusVisible`,open:`open`,readOnly:`readOnly`,required:`required`,selected:`selected`};function V(e,t,n=`Mui`){let r=hne[t];return r?`${n}-${r}`:`${qr.generate(e)}-${t}`}function Jr(e,t,n=`Mui`){let r={};return t.forEach(t=>{r[t]=V(e,t,n)}),r}function gne(e){let{variants:t,...n}=e,r={variants:t,style:Kn(n),isProcessed:!0};return r.style===n||t&&t.forEach(e=>{typeof e.style!=`function`&&(e.style=Kn(e.style))}),r}var _ne=Vr();function Yr(e){return e!==`ownerState`&&e!==`theme`&&e!==`sx`&&e!==`as`}function Xr(e,t){return t&&e&&typeof e==`object`&&e.styles&&!e.styles.startsWith(`@layer`)&&(e.styles=`@layer ${t}{${String(e.styles)}}`),e}function vne(e){return e?(t,n)=>n[e]:null}function yne(e,t,n){e.theme=tr(e.theme)?n:e.theme[t]||e.theme}function Zr(e,t,n){let r=typeof t==`function`?t(e):t;if(Array.isArray(r))return r.flatMap(t=>Zr(e,t,n));if(Array.isArray(r==null?void 0:r.variants)){let t;if(r.isProcessed)t=n?Xr(r.style,n):r.style;else{let{variants:e,...i}=r;t=n?Xr(Kn(i),n):i}return bne(e,r.variants,[t],n)}return r!=null&&r.isProcessed?n?Xr(Kn(r.style),n):r.style:n?Xr(Kn(r),n):r}function bne(e,t,n=[],r=void 0){let i;variantLoop:for(let o=0;o<t.length;o+=1){let s=t[o];if(typeof s.props==`function`){if(i??={...e,...e.ownerState,ownerState:e.ownerState},!s.props(i))continue}else for(let t in s.props){var a;if(e[t]!==s.props[t]&&((a=e.ownerState)==null?void 0:a[t])!==s.props[t])continue variantLoop}typeof s.style==`function`?(i??={...e,...e.ownerState,ownerState:e.ownerState},n.push(r?Xr(Kn(s.style(i)),r):s.style(i))):n.push(r?Xr(Kn(s.style),r):s.style)}return n}function xne(e={}){let{themeId:t,defaultTheme:n=_ne,rootShouldForwardProp:r=Yr,slotShouldForwardProp:i=Yr}=e;function a(e){yne(e,t,n)}return(e,t={})=>{vte(e,e=>e.filter(e=>e!==zr));let{name:n,slot:o,skipVariantsResolver:s,skipSx:c,overridesResolver:l=vne(Cne(o)),...u}=t,d=n&&n.startsWith(`Mui`)||o?`components`:`custom`,f=s===void 0?o&&o!==`Root`&&o!==`root`||!1:s,p=c||!1,m=Yr;o===`Root`||o===`root`?m=r:o?m=i:Sne(e)&&(m=void 0);let h=Wn(e,{shouldForwardProp:m,label:void 0,...u}),g=e=>{if(e.__emotion_real===e)return e;if(typeof e==`function`)return function(t){return Zr(t,e,t.theme.modularCssLayers?d:void 0)};if(Jn(e)){let t=gne(e);return function(e){return t.variants?Zr(e,t,e.theme.modularCssLayers?d:void 0):e.theme.modularCssLayers?Xr(t.style,d):t.style}}return e},_=(...t)=>{let r=[],i=t.map(g),o=[];if(r.push(a),n&&l&&o.push(function(e){var t;let r=(t=e.theme.components)==null||(t=t[n])==null?void 0:t.styleOverrides;if(!r)return null;let i={};for(let t in r)i[t]=Zr(e,r[t],e.theme.modularCssLayers?`theme`:void 0);return l(e,i)}),n&&!f&&o.push(function(e){var t;let r=e.theme,i=r==null||(t=r.components)==null||(t=t[n])==null?void 0:t.variants;return i?bne(e,i,[],e.theme.modularCssLayers?`theme`:void 0):null}),p||o.push(zr),Array.isArray(i[0])){let e=i.shift(),t=Array(r.length).fill(``),n=Array(o.length).fill(``),a;a=[...t,...e,...n],a.raw=[...t,...e.raw,...n],r.unshift(a)}let s=[...r,...i,...o],c=h(...s);return e.muiName&&(c.muiName=e.muiName),c};return h.withConfig&&(_.withConfig=h.withConfig),_}}function Sne(e){return typeof e==`string`&&e.charCodeAt(0)>96}function Cne(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}var Qr=xne();function $r(e,t,n=!1){let r={...t};for(let i in e)if(Object.prototype.hasOwnProperty.call(e,i)){let a=i;if(a===`components`||a===`slots`)r[a]={...e[a],...r[a]};else if(a===`componentsProps`||a===`slotProps`){let i=e[a],o=t[a];if(!o)r[a]=i||{};else if(!i)r[a]=o;else{r[a]={...o};for(let e in i)if(Object.prototype.hasOwnProperty.call(i,e)){let t=e,s=i[t],c=o[t];typeof s==`function`||typeof c==`function`?r[a][t]=(...e)=>$r((typeof s==`function`?s(...e):s)??{},(typeof c==`function`?c(...e):c)??{},n):r[a][t]=$r(s??{},c??{},n)}}}else a===`className`&&n&&t.className!==void 0?r.className=B(e==null?void 0:e.className,t==null?void 0:t.className):a===`style`&&n&&t.style?r.style={...e==null?void 0:e.style,...t==null?void 0:t.style}:r[a]===void 0&&(r[a]=e[a])}return r}function wne(e){let{theme:t,name:n,props:r}=e;return!t||!t.components||!t.components[n]||!t.components[n].defaultProps?r:$r(t.components[n].defaultProps,r)}function ei(e){let{props:t,name:n,defaultTheme:r,themeId:i}=e,a=Ur(r);return i&&(a=a[i]||a),wne({theme:a,name:n,props:t})}var ti=typeof window<`u`?pt:ct;function Tne(e,t,n,r,i){let[a,o]=_t(()=>i&&n?n(e).matches:r?r(e).matches:t);return ti(()=>{if(!n)return;let t=n(e),r=()=>{o(t.matches)};return r(),t.addEventListener(`change`,r),()=>{t.removeEventListener(`change`,r)}},[e,n]),a}var Ene={...be}.useSyncExternalStore;function Dne(e,t,n,r,i){let a=it(()=>t,[t]),o=mt(()=>{if(i&&n)return()=>n(e).matches;if(r!==null){let{matches:t}=r(e);return()=>t}return a},[a,e,r,i,n]),[s,c]=mt(()=>{if(n===null)return[a,()=>()=>{}];let t=n(e);return[()=>t.matches,e=>(t.addEventListener(`change`,e),()=>{t.removeEventListener(`change`,e)})]},[a,n,e]);return Ene(c,s,o)}function One(e={}){let{themeId:t}=e;return function(e,n={}){let r=Hr();r&&t&&(r=r[t]||r);let i=typeof window<`u`&&window.matchMedia!==void 0?window.matchMedia:null,{defaultMatches:a=!1,matchMedia:o,ssrMatchMedia:s=null,noSsr:c=!1}=wne({name:`MuiUseMediaQuery`,props:n,theme:r}),l=mt(()=>o===void 0?i===null?null:i.bind(window):o,[o,i]),u=typeof e==`function`?e(r):e;return u=u.replace(/^@media( ?)/m,``),u.includes(`print`)&&console.warn("MUI: You have provided a `print` query to the `useMediaQuery` hook.\nUsing the print media query to modify print styles can lead to unexpected results.\nConsider using the `displayPrint` field in the `sx` prop instead.\nMore information about `displayPrint` on our docs: https://mui.com/system/display/#display-in-print."),(Ene===void 0?Tne:Dne)(u,a,l,s,c)}}One();function ni(e,t=-(2**53-1),n=2**53-1){return Math.max(t,Math.min(e,n))}function ri(e,t=0,n=1){return ni(e,t,n)}function kne(e){e=e.slice(1);let t=RegExp(`.{1,${e.length>=6?2:1}}`,`g`),n=e.match(t);return n&&n[0].length===1&&(n=n.map(e=>e+e)),n?`rgb${n.length===4?`a`:``}(${n.map((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3).join(`, `)})`:``}function Ane(e){let t=e.toString(16);return t.length===1?`0${t}`:t}function ii(e){if(e.type)return e;if(e.charAt(0)===`#`)return ii(kne(e));let t=e.indexOf(`(`),n=e.substring(0,t);if(![`rgb`,`rgba`,`hsl`,`hsla`,`color`].includes(n))throw Error(Mt(9,e));let r=e.substring(t+1,e.length-1),i;if(n===`color`){if(r=r.split(` `),i=r.shift(),r.length===4&&r[3].charAt(0)===`/`&&(r[3]=r[3].slice(1)),![`srgb`,`display-p3`,`a98-rgb`,`prophoto-rgb`,`rec-2020`].includes(i))throw Error(Mt(10,i))}else r=r.split(`,`);return r=r.map(e=>parseFloat(e)),{type:n,values:r,colorSpace:i}}var jne=e=>{let t=ii(e);return t.values.slice(0,3).map((e,n)=>t.type.includes(`hsl`)&&n!==0?`${e}%`:e).join(` `)},ai=(e,t)=>{try{return jne(e)}catch{return e}};function oi(e){let{type:t,colorSpace:n}=e,{values:r}=e;return t.includes(`rgb`)?r=r.map((e,t)=>t<3?parseInt(e,10):e):t.includes(`hsl`)&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),r=t.includes(`color`)?`${n} ${r.join(` `)}`:`${r.join(`, `)}`,`${t}(${r})`}function Mne(e){if(e.startsWith(`#`))return e;let{values:t}=ii(e);return`#${t.map((e,t)=>Ane(t===3?Math.round(255*e):e)).join(``)}`}function si(e){e=ii(e);let{values:t}=e,n=t[0],r=t[1]/100,i=t[2]/100,a=r*Math.min(i,1-i),o=(e,t=(e+n/30)%12)=>i-a*Math.max(Math.min(t-3,9-t,1),-1),s=`rgb`,c=[Math.round(o(0)*255),Math.round(o(8)*255),Math.round(o(4)*255)];return e.type===`hsla`&&(s+=`a`,c.push(t[3])),oi({type:s,values:c})}function ci(e){e=ii(e);let t=e.type===`hsl`||e.type===`hsla`?ii(si(e)).values:e.values;return t=t.map(t=>(e.type!==`color`&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function Nne(e,t){let n=ci(e),r=ci(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function li(e,t){return e=ii(e),t=ri(t),(e.type===`rgb`||e.type===`hsl`)&&(e.type+=`a`),e.type===`color`?e.values[3]=`/${t}`:e.values[3]=t,oi(e)}function ui(e,t,n){try{return li(e,t)}catch{return e}}function di(e,t){if(e=ii(e),t=ri(t),e.type.includes(`hsl`))e.values[2]*=1-t;else if(e.type.includes(`rgb`)||e.type.includes(`color`))for(let n=0;n<3;n+=1)e.values[n]*=1-t;return oi(e)}function fi(e,t,n){try{return di(e,t)}catch{return e}}function pi(e,t){if(e=ii(e),t=ri(t),e.type.includes(`hsl`))e.values[2]+=(100-e.values[2])*t;else if(e.type.includes(`rgb`))for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(e.type.includes(`color`))for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return oi(e)}function mi(e,t,n){try{return pi(e,t)}catch{return e}}function hi(e,t=.15){return ci(e)>.5?di(e,t):pi(e,t)}function gi(e,t,n){try{return hi(e,t)}catch{return e}}var _i=Je(null);function vi(){return at(_i)}var Pne=typeof Symbol==`function`&&Symbol.for?Symbol.for(`mui.nested`):`__THEME_NESTED__`;function Fne(e,t){return typeof t==`function`?t(e):{...e,...t}}function Ine(e){let{children:t,theme:n}=e,r=vi(),i=mt(()=>{let e=r===null?{...n}:Fne(r,n);return e!=null&&(e[Pne]=r!==null),e},[n,r]);return R(_i.Provider,{value:i,children:t})}var yi=Je(void 0);function Lne({value:e,...t}){return R(yi.Provider,{value:e??!0,...t})}var bi=()=>at(yi)??!1,xi=Je(void 0);function Rne({value:e,children:t}){return R(xi.Provider,{value:e,children:t})}function zne(e){let{theme:t,name:n,props:r}=e;if(!t||!t.components||!t.components[n])return r;let i=t.components[n];return i.defaultProps?$r(i.defaultProps,r,t.components.mergeClassNameAndStyle):!i.styleOverrides&&!i.variants?$r(i,r,t.components.mergeClassNameAndStyle):r}function Bne({props:e,name:t}){return zne({props:e,name:t,theme:{components:at(xi)}})}var Si=0;function Vne(e){let[t,n]=_t(e),r=e||t;return ct(()=>{t??(Si+=1,n(`mui-${Si}`))},[t]),r}var Ci={...be}.useId;function wi(e){if(Ci!==void 0){let t=Ci();return e??t}return Vne(e)}function Hne(e){let t=Hr(),n=wi()||``,{modularCssLayers:r}=e,i=`mui.global, mui.components, mui.theme, mui.custom, mui.sx`;return i=!r||t!==null?``:typeof r==`string`?r.replace(/mui(?!\.)/g,i):`@layer ${i};`,ti(()=>{let e=document.querySelector(`head`);if(!e)return;let t=e.firstChild;if(i){var r;if(t&&(r=t.hasAttribute)!=null&&r.call(t,`data-mui-layer-order`)&&t.getAttribute(`data-mui-layer-order`)===n)return;let a=document.createElement(`style`);a.setAttribute(`data-mui-layer-order`,n),a.textContent=i,e.prepend(a)}else{var a;(a=e.querySelector(`style[data-mui-layer-order="${n}"]`))==null||a.remove()}},[i,n]),i?R(Gr,{styles:i}):null}var Ti={};function Ei(e,t,n,r=!1){return mt(()=>{let i=e&&t[e]||t;if(typeof n==`function`){let a=n(i),o=e?{...t,[e]:a}:a;return r?()=>o:o}return e?{...t,[e]:n}:{...t,...n}},[e,t,n,r])}function Di(e){let{children:t,theme:n,themeId:r}=e,i=Hr(Ti),a=vi()||Ti,o=Ei(r,i,n),s=Ei(r,a,n,!0),c=(r?o[r]:o).direction===`rtl`,l=Hne(o);return R(Ine,{theme:s,children:R(Dn.Provider,{value:o,children:R(Lne,{value:c,children:z(Rne,{value:r?o[r].components:o.components,children:[l,t]})})})})}var Oi={theme:void 0};function Une(e){let t,n;return function(r){let i=t;return(i===void 0||r.theme!==n)&&(Oi.theme=r.theme,i=gne(e(Oi)),t=i,n=r.theme),i}}var ki=`mode`,Ai=`color-scheme`,Wne=`data-color-scheme`,ji={...be}.useSyncExternalStore,Gne=()=>()=>{};function Mi(e){return JSON.stringify(e).replace(/</g,`\\u003c`).replace(/\u2028/g,`\\u2028`).replace(/\u2029/g,`\\u2029`)}function Ni(e,t){let n=e.split(`%s`),r=[];for(let e=0;e<n.length;e+=1)e>0&&r.push(t),n[e]&&r.push(Mi(n[e]));return r.join(` + `)||`""`}function Kne(){return ji===void 0||ji(Gne,()=>!1,()=>!0)}function Pi(e){let{defaultMode:t=`system`,defaultLightColorScheme:n=`light`,defaultDarkColorScheme:r=`dark`,modeStorageKey:i=ki,colorSchemeStorageKey:a=Ai,attribute:o=Wne,colorSchemeNode:s=`document.documentElement`,nonce:c}=e||{},l=``,u=o;if(o===`class`&&(u=`.%s`),o===`data`&&(u=`[data-%s]`),u.startsWith(`.`)){let e=u.substring(1);l+=`${s}.classList.remove(${Ni(e,`light`)}, ${Ni(e,`dark`)});
2
2
  ${s}.classList.add(${Ni(e,`colorScheme`)});`}let d=u.match(/\[([^[\]]+)\]/);if(d){let e=d[1].indexOf(`=`),t=e===-1?d[1]:d[1].slice(0,e),n=e===-1?void 0:d[1].slice(e+1);n||(l+=`${s}.removeAttribute(${Ni(t,`light`)});
3
3
  ${s}.removeAttribute(${Ni(t,`dark`)});`);let r=n?Ni(n.replace(/^(['"])(.*)\1$/,`$2`),`colorScheme`):`""`;l+=`
4
4
  ${s}.setAttribute(${Ni(t,`colorScheme`)}, ${r});`}else u.startsWith(`.`)||(l+=`${s}.setAttribute(${Mi(u)}, colorScheme);`);return R(`script`,{suppressHydrationWarning:!0,nonce:typeof window>`u`?c:``,dangerouslySetInnerHTML:{__html:`(function() {