streamlit-nightly 1.37.2.dev20240814__py2.py3-none-any.whl → 1.37.2.dev20240815__py2.py3-none-any.whl
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.
- streamlit/commands/execution_control.py +1 -4
- streamlit/commands/experimental_query_params.py +1 -1
- streamlit/commands/logo.py +1 -1
- streamlit/commands/navigation.py +1 -1
- streamlit/commands/page_config.py +1 -1
- streamlit/components/v1/component_registry.py +1 -1
- streamlit/components/v1/custom_component.py +1 -1
- streamlit/cursor.py +1 -1
- streamlit/dataframe_util.py +91 -0
- streamlit/elements/arrow.py +1 -1
- streamlit/elements/json.py +1 -2
- streamlit/elements/lib/dialog.py +1 -1
- streamlit/elements/lib/mutable_status_container.py +1 -1
- streamlit/elements/lib/policies.py +1 -1
- streamlit/elements/media.py +3 -5
- streamlit/elements/plotly_chart.py +1 -1
- streamlit/elements/vega_charts.py +1 -1
- streamlit/elements/widgets/button.py +7 -4
- streamlit/elements/widgets/button_group.py +1 -1
- streamlit/elements/widgets/chat.py +1 -1
- streamlit/elements/widgets/data_editor.py +1 -1
- streamlit/error_util.py +10 -8
- streamlit/navigation/page.py +1 -1
- streamlit/platform.py +1 -1
- streamlit/runtime/caching/cache_data_api.py +1 -1
- streamlit/runtime/caching/cache_resource_api.py +1 -1
- streamlit/runtime/caching/cached_message_replay.py +1 -1
- streamlit/runtime/context.py +6 -5
- streamlit/runtime/forward_msg_queue.py +18 -1
- streamlit/runtime/fragment.py +7 -5
- streamlit/runtime/media_file_manager.py +3 -1
- streamlit/runtime/metrics_util.py +2 -7
- streamlit/runtime/scriptrunner/__init__.py +7 -4
- streamlit/runtime/scriptrunner/exec_code.py +6 -3
- streamlit/runtime/scriptrunner/script_runner.py +10 -9
- streamlit/runtime/scriptrunner_utils/__init__.py +19 -0
- streamlit/runtime/{scriptrunner → scriptrunner_utils}/exceptions.py +1 -1
- streamlit/runtime/{scriptrunner → scriptrunner_utils}/script_requests.py +61 -6
- streamlit/runtime/{scriptrunner → scriptrunner_utils}/script_run_context.py +1 -1
- streamlit/runtime/state/__init__.py +0 -2
- streamlit/runtime/state/common.py +1 -1
- streamlit/runtime/state/query_params.py +1 -6
- streamlit/runtime/state/session_state.py +1 -5
- streamlit/runtime/state/session_state_proxy.py +3 -1
- streamlit/runtime/state/widgets.py +0 -59
- streamlit/static/asset-manifest.json +17 -17
- streamlit/static/index.html +1 -1
- streamlit/static/static/js/{1168.2a7e18da.chunk.js → 1168.2a9806f0.chunk.js} +1 -1
- streamlit/static/static/js/{1451.3d44ca81.chunk.js → 1451.d93e956f.chunk.js} +1 -1
- streamlit/static/static/js/{178.7bea8c5d.chunk.js → 178.ddebe26b.chunk.js} +1 -1
- streamlit/static/static/js/2469.6217c5c3.chunk.js +1 -0
- streamlit/static/static/js/{2634.1249dc7a.chunk.js → 2634.4e2535ee.chunk.js} +1 -1
- streamlit/static/static/js/{2736.dcbc9141.chunk.js → 2736.3d50ec7f.chunk.js} +1 -1
- streamlit/static/static/js/{3301.45709e64.chunk.js → 3301.7379a9fd.chunk.js} +5 -5
- streamlit/static/static/js/4113.786b0142.chunk.js +1 -0
- streamlit/static/static/js/4500.d884c792.chunk.js +1 -0
- streamlit/static/static/js/6853.a1c4fa00.chunk.js +1 -0
- streamlit/static/static/js/{7602.2331daf7.chunk.js → 7602.33571c14.chunk.js} +1 -1
- streamlit/static/static/js/7805.ba32ae70.chunk.js +1 -0
- streamlit/static/static/js/8148.b905db99.chunk.js +1 -0
- streamlit/static/static/js/8427.b1a68937.chunk.js +1 -0
- streamlit/static/static/js/{9330.2b4c99e0.chunk.js → 9330.32e8a53a.chunk.js} +1 -1
- streamlit/static/static/js/main.90c4efd0.js +28 -0
- streamlit/testing/v1/local_script_runner.py +1 -1
- streamlit/user_info.py +4 -2
- streamlit/web/server/stats_request_handler.py +1 -3
- streamlit/web/server/websocket_headers.py +1 -1
- {streamlit_nightly-1.37.2.dev20240814.dist-info → streamlit_nightly-1.37.2.dev20240815.dist-info}/METADATA +1 -1
- {streamlit_nightly-1.37.2.dev20240814.dist-info → streamlit_nightly-1.37.2.dev20240815.dist-info}/RECORD +74 -73
- streamlit/static/static/js/2469.4bb197dd.chunk.js +0 -1
- streamlit/static/static/js/4113.ca4d2d7b.chunk.js +0 -1
- streamlit/static/static/js/4500.c007e274.chunk.js +0 -1
- streamlit/static/static/js/6853.5d19f25b.chunk.js +0 -1
- streamlit/static/static/js/7805.f7c8d475.chunk.js +0 -1
- streamlit/static/static/js/8148.7805e73f.chunk.js +0 -1
- streamlit/static/static/js/8427.69ce2c45.chunk.js +0 -1
- streamlit/static/static/js/main.b519dd78.js +0 -28
- /streamlit/static/static/js/{main.b519dd78.js.LICENSE.txt → main.90c4efd0.js.LICENSE.txt} +0 -0
- {streamlit_nightly-1.37.2.dev20240814.data → streamlit_nightly-1.37.2.dev20240815.data}/scripts/streamlit.cmd +0 -0
- {streamlit_nightly-1.37.2.dev20240814.dist-info → streamlit_nightly-1.37.2.dev20240815.dist-info}/WHEEL +0 -0
- {streamlit_nightly-1.37.2.dev20240814.dist-info → streamlit_nightly-1.37.2.dev20240815.dist-info}/entry_points.txt +0 -0
- {streamlit_nightly-1.37.2.dev20240814.dist-info → streamlit_nightly-1.37.2.dev20240815.dist-info}/top_level.txt +0 -0
@@ -31,7 +31,7 @@ if TYPE_CHECKING:
|
|
31
31
|
from streamlit.proto.ForwardMsg_pb2 import ForwardMsg
|
32
32
|
from streamlit.proto.WidgetStates_pb2 import WidgetStates
|
33
33
|
from streamlit.runtime.pages_manager import PagesManager
|
34
|
-
from streamlit.runtime.
|
34
|
+
from streamlit.runtime.scriptrunner_utils.script_run_context import ScriptRunContext
|
35
35
|
from streamlit.runtime.state.safe_session_state import SafeSessionState
|
36
36
|
|
37
37
|
|
streamlit/user_info.py
CHANGED
@@ -17,10 +17,12 @@ from __future__ import annotations
|
|
17
17
|
from typing import TYPE_CHECKING, Iterator, Mapping, NoReturn, Union
|
18
18
|
|
19
19
|
from streamlit.errors import StreamlitAPIException
|
20
|
-
from streamlit.runtime.
|
20
|
+
from streamlit.runtime.scriptrunner_utils.script_run_context import (
|
21
|
+
get_script_run_ctx as _get_script_run_ctx,
|
22
|
+
)
|
21
23
|
|
22
24
|
if TYPE_CHECKING:
|
23
|
-
from streamlit.runtime.
|
25
|
+
from streamlit.runtime.scriptrunner_utils.script_run_context import UserInfo
|
24
26
|
|
25
27
|
|
26
28
|
def _get_user_info() -> UserInfo:
|
@@ -18,6 +18,7 @@ from typing import TYPE_CHECKING
|
|
18
18
|
|
19
19
|
import tornado.web
|
20
20
|
|
21
|
+
from streamlit.web.server import allow_cross_origin_requests
|
21
22
|
from streamlit.web.server.server_util import emit_endpoint_deprecation_notice
|
22
23
|
|
23
24
|
if TYPE_CHECKING:
|
@@ -30,9 +31,6 @@ class StatsRequestHandler(tornado.web.RequestHandler):
|
|
30
31
|
self._manager = stats_manager
|
31
32
|
|
32
33
|
def set_default_headers(self):
|
33
|
-
# Avoid a circular import
|
34
|
-
from streamlit.web.server import allow_cross_origin_requests
|
35
|
-
|
36
34
|
if allow_cross_origin_requests():
|
37
35
|
self.set_header("Access-Control-Allow-Origin", "*")
|
38
36
|
|
@@ -17,7 +17,7 @@ from __future__ import annotations
|
|
17
17
|
from streamlit import runtime
|
18
18
|
from streamlit.deprecation_util import show_deprecation_warning
|
19
19
|
from streamlit.runtime.metrics_util import gather_metrics
|
20
|
-
from streamlit.runtime.
|
20
|
+
from streamlit.runtime.scriptrunner_utils.script_run_context import get_script_run_ctx
|
21
21
|
from streamlit.web.server.browser_websocket_handler import BrowserWebSocketHandler
|
22
22
|
|
23
23
|
_GET_WEBSOCKET_HEADERS_DEPRECATE_MSG = (
|
@@ -9,8 +9,8 @@ streamlit/config.py,sha256=tLoci5iVtCcxEBUrYOzW8NDKxxbWOazx-4IsoULMVEw,39878
|
|
9
9
|
streamlit/config_option.py,sha256=7kfzt-xhJs3awfyIHsyRaTBSxLpz1RioobDl5uXV37g,11469
|
10
10
|
streamlit/config_util.py,sha256=-MGb5eBrsZvNmqywmiBmo27ll1F9OmCDX4toGWglv2c,6015
|
11
11
|
streamlit/constants.py,sha256=KhNjCeooky2bbW7QMX3ijOA5enHIOgj6Xo4TBhtTJNE,798
|
12
|
-
streamlit/cursor.py,sha256=
|
13
|
-
streamlit/dataframe_util.py,sha256=
|
12
|
+
streamlit/cursor.py,sha256=SXJcot8mc1htkXx1jnIWmvYRaFPlPpTOhPoYH-LPmos,6026
|
13
|
+
streamlit/dataframe_util.py,sha256=3w5r3E6IAd7INh9d9uMcLtCf13rmNSrgUR9K9Tl-Ahk,46310
|
14
14
|
streamlit/delta_generator.py,sha256=8FJhA4RG8nM3bWAvVEkA83_6GC2aDE2bV6LnlO8BQWc,21563
|
15
15
|
streamlit/delta_generator_singletons.py,sha256=auM2-dFoY0oBk74OfMEcgX6EBLi4cuGmVxcEM-N37Q0,7555
|
16
16
|
streamlit/deprecation_util.py,sha256=3JxWWS424v1kQ-qOq-9sQNYPQ8_UERH3QpYtkWxLP74,6516
|
@@ -18,7 +18,7 @@ streamlit/development.py,sha256=iO-KQc62Do9uSwoa5vV2tfImqz3QPhJ1Md6DETcnHkc,813
|
|
18
18
|
streamlit/echo.py,sha256=s0tT_IXxh7BLHOapRS8syE5Tnm4Djm3-oKO0J0MY1wI,4077
|
19
19
|
streamlit/emojis.py,sha256=G1ZHg5TQYCorAZR7ZAlyiapaxYAY6NeY2OdP6F0yVMM,81235
|
20
20
|
streamlit/env_util.py,sha256=fqea8xmj4ifsuqmLv3Pvlq4t5y6WVTBua4qRpVTbs5Y,1791
|
21
|
-
streamlit/error_util.py,sha256=
|
21
|
+
streamlit/error_util.py,sha256=4bO_maDjwylgBLBaVtWawas0vXCVx0KFc4QdOCeflFo,3480
|
22
22
|
streamlit/errors.py,sha256=PdGQ8hyZaMrxHawYz3G8u1Gzzci4lLpLTifGo20fnes,3532
|
23
23
|
streamlit/file_util.py,sha256=WbYWuARKjNi8QWcaRtfSto0j6HWKL1xi1dcFaF_M3M8,7144
|
24
24
|
streamlit/folder_black_list.py,sha256=Ji9UZ4PtrilLxmvb8W57SIEK7AkeLGEqqtqr4y2oscI,2342
|
@@ -27,7 +27,7 @@ streamlit/js_number.py,sha256=21VdJozG82xyZauYrdR819tb8mNNBxu-YzTXRBmLFgo,3524
|
|
27
27
|
streamlit/logger.py,sha256=U1jcoGLZ6kN1aeLy26tjGVWEAAl_uOKcW22wKCLgHbk,3987
|
28
28
|
streamlit/material_icon_names.py,sha256=KHdnaLG8SgKSFhvWAzMP9bdDkQMq4HeaESW8jDF1tj0,59205
|
29
29
|
streamlit/net_util.py,sha256=scbHlkw00wp2CmuSydv8Muz-hVjtbaM6WAyzvFPn6mE,3221
|
30
|
-
streamlit/platform.py,sha256=
|
30
|
+
streamlit/platform.py,sha256=JDIExQS5HE8nsQi4HV6evk1weq8VtboQcZmz6kdmAdw,1129
|
31
31
|
streamlit/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
32
32
|
streamlit/source_util.py,sha256=UiGRJsbtd5XapIFEIUEw6_0l3-XBFRD0BY3qwcKj43U,5882
|
33
33
|
streamlit/string_util.py,sha256=7cJbv9tgdrayuaFzky43kZwG9-99O7zzQBXHAq8y55A,6716
|
@@ -35,15 +35,15 @@ streamlit/temporary_directory.py,sha256=eBv5q0CR9GApa-itZBaGtqQKMl248H0HojEVKzkS
|
|
35
35
|
streamlit/time_util.py,sha256=zPDirzZDAOPzGogHy-4wOalfBb7zCNCvFEfkZf03otc,2836
|
36
36
|
streamlit/type_util.py,sha256=EOwtKaNHca7sRpdW49fjjazHrQ1lfmlBNXVkQEQYrUI,12021
|
37
37
|
streamlit/url_util.py,sha256=iU1lpZhzW4ZjhjBhSdw39OzixnThIsxhXpDP-ZIgUT8,3019
|
38
|
-
streamlit/user_info.py,sha256=
|
38
|
+
streamlit/user_info.py,sha256=uagYpNPoNM1IG-WGjHveHOmwVxEBHukAevpZPpwoj_U,3423
|
39
39
|
streamlit/util.py,sha256=0Phev7Lytvcy_eqIjpoGl2-7mOODwAwArY2zJpavEh8,6375
|
40
40
|
streamlit/version.py,sha256=dAqFbNh-ln7p47GRRDVHuqag-JZUYpMe47uqFxVb7Tw,763
|
41
41
|
streamlit/commands/__init__.py,sha256=Vrf1yVMOcTyhUPnYvsfyeL96Vpd5z8KoSV5ZzTcTQgU,616
|
42
|
-
streamlit/commands/execution_control.py,sha256=
|
43
|
-
streamlit/commands/experimental_query_params.py,sha256=
|
44
|
-
streamlit/commands/logo.py,sha256=
|
45
|
-
streamlit/commands/navigation.py,sha256=
|
46
|
-
streamlit/commands/page_config.py,sha256=
|
42
|
+
streamlit/commands/execution_control.py,sha256=W8w5SXkQExtEBNeKRbMdPdOX0g8JirjDn2FK9w-PxDU,8269
|
43
|
+
streamlit/commands/experimental_query_params.py,sha256=q7X5zVvlHr9HfwYuYdMMx049Gg0qxmvWoE2p9CumZG4,5005
|
44
|
+
streamlit/commands/logo.py,sha256=XQ3RtU9cW5mbdyj9HZpGlLAfHjrL0e1F3SC3IWz7ruo,5754
|
45
|
+
streamlit/commands/navigation.py,sha256=D59u6d6pPoFbMZFcbcZIM6P9N2wOmPVmk4TOs-QYAic,9540
|
46
|
+
streamlit/commands/page_config.py,sha256=yySkVQux8XiiURifwvoJW-26FQsDHN-AVoOkgRt3dlM,13020
|
47
47
|
streamlit/components/__init__.py,sha256=Vrf1yVMOcTyhUPnYvsfyeL96Vpd5z8KoSV5ZzTcTQgU,616
|
48
48
|
streamlit/components/lib/__init__.py,sha256=Vrf1yVMOcTyhUPnYvsfyeL96Vpd5z8KoSV5ZzTcTQgU,616
|
49
49
|
streamlit/components/lib/local_component_registry.py,sha256=xm2pD0lcUzWyQnLaJAl6KQmoU2OSvGilgheMXDoLBeM,3016
|
@@ -52,9 +52,9 @@ streamlit/components/types/base_component_registry.py,sha256=Zw8uO9qTKcpYJokkML_
|
|
52
52
|
streamlit/components/types/base_custom_component.py,sha256=a8fvmmf8DN18fhezsdgkr9Bzi4ue7G_TUG66sBSbsp0,4262
|
53
53
|
streamlit/components/v1/__init__.py,sha256=I7xa1wfGQY84U_nWWsq1i_HO5kCQ7f0BE5_dEQUiWRw,1027
|
54
54
|
streamlit/components/v1/component_arrow.py,sha256=sG9hKzRCMWHW18ZkpaAkhTI_yGYhzxy1xjylb_mt5FY,4428
|
55
|
-
streamlit/components/v1/component_registry.py,sha256=
|
55
|
+
streamlit/components/v1/component_registry.py,sha256=kgRL7HyD_vCVV-QlPba8CTmsrsd_4Fla1gssB8Xs7GM,4816
|
56
56
|
streamlit/components/v1/components.py,sha256=-fyYz9yOIILGHUFqICLipl7HAK-2NUWGcBFcQa4L3Sk,1585
|
57
|
-
streamlit/components/v1/custom_component.py,sha256=
|
57
|
+
streamlit/components/v1/custom_component.py,sha256=7h9tNro5bQGjY6hSW-zZuV0ToGARcA97nBsrPZ5jsqU,9495
|
58
58
|
streamlit/connections/__init__.py,sha256=WSOEtrwhiNYti89iCk3O7I83rurZl8gXoM8tA2d_E-U,1083
|
59
59
|
streamlit/connections/base_connection.py,sha256=0BRLiQFe1H5j1CqVPgIlbtpXpeEgRLsoZhCIDUtB1P4,7465
|
60
60
|
streamlit/connections/snowflake_connection.py,sha256=0fM-Lpg3GnB4jVVQEhMeJcIQs6GlNy-emgrSlPodUTo,12522
|
@@ -63,7 +63,7 @@ streamlit/connections/sql_connection.py,sha256=ugNIXCQXZZWGjbkcdJ2t4QlQMUb2Ze8Ob
|
|
63
63
|
streamlit/connections/util.py,sha256=3Ryc93a5KstsVwQl6ug5cmb8F-WQoD4c0mBWNPLoFsY,3022
|
64
64
|
streamlit/elements/__init__.py,sha256=Vrf1yVMOcTyhUPnYvsfyeL96Vpd5z8KoSV5ZzTcTQgU,616
|
65
65
|
streamlit/elements/alert.py,sha256=gn1U2KZObOy55ix5gA2g-r5aP7te1X_wLZKfXp8rTcg,7424
|
66
|
-
streamlit/elements/arrow.py,sha256=
|
66
|
+
streamlit/elements/arrow.py,sha256=zRr3gdDwjUHXNlPvVszcUXQ2VJ79-qzwyDdSccM4kKo,32766
|
67
67
|
streamlit/elements/balloons.py,sha256=QnORgG96Opga1SVg8tUBOm-l3nMpKWmjvy1crcS2XaU,1482
|
68
68
|
streamlit/elements/bokeh_chart.py,sha256=OdeJgmyiWH08QninHYQerxSOCyS1TcEwAqfgTuR0xzo,4196
|
69
69
|
streamlit/elements/code.py,sha256=f1Zgzr9K2oRqKzry7BIhQsCuuKsZoPllMbBksXgLu68,2480
|
@@ -79,43 +79,43 @@ streamlit/elements/heading.py,sha256=xzsf5QFUhlNW1VXjxmsyUHsHDCDzvo4Q6bgVoEBkMec
|
|
79
79
|
streamlit/elements/html.py,sha256=PN9iw2jaRObDlqGzH2RwuzQr8rr3EInKnI4RelXVYfg,2717
|
80
80
|
streamlit/elements/iframe.py,sha256=HwfwNQmlN9kmylqLbXEkUb_44ei36UxyZB7hWiSLNDY,5780
|
81
81
|
streamlit/elements/image.py,sha256=TEe-_0fpVcUlupTq2y1haKbHrBRLcHJUGmbOTfGbmWs,20577
|
82
|
-
streamlit/elements/json.py,sha256=
|
82
|
+
streamlit/elements/json.py,sha256=LoVT_V0dVCKaATFOcV0AR5U7OgwmfiMJmOTaQoodu5o,4123
|
83
83
|
streamlit/elements/layouts.py,sha256=IsgJzxVe0YiG5NhjQ64HTK8Vk4S1yStJm7N9ZM_b7yQ,29415
|
84
84
|
streamlit/elements/map.py,sha256=8ftqFn2MZntMyfsIsu5AIXgEv7XKr6EbyJpAQZwew1M,16491
|
85
85
|
streamlit/elements/markdown.py,sha256=iWxq9Ssj7o_hnKhf3-W3IKj3HM7XM-eA8aXVwtab8so,10249
|
86
|
-
streamlit/elements/media.py,sha256=
|
86
|
+
streamlit/elements/media.py,sha256=SQJuH8uqc0iqv1UFCbzNOkR9lm-qmN8_KClXqMXvR00,29871
|
87
87
|
streamlit/elements/metric.py,sha256=9zAyS3vmHEl55fxrT-XROC_1-1V7e9HoQldZCWHSzI0,9549
|
88
|
-
streamlit/elements/plotly_chart.py,sha256=
|
88
|
+
streamlit/elements/plotly_chart.py,sha256=xnSCFWJBeKEHhcdCOdQ7L76D0O69Q1-JX-J1A03Evw8,19481
|
89
89
|
streamlit/elements/progress.py,sha256=eNnmnqAHw-wTO-OQaNl155uh2zcF_vq70ZWe-FOG4d0,5232
|
90
90
|
streamlit/elements/pyplot.py,sha256=YKhugB3O5rTqaLQGI13v0KQdMOiC9QFY6rK5g_qyLQY,6409
|
91
91
|
streamlit/elements/snow.py,sha256=WHqk8zmfOr5iD0R-wLlAdlIkDDbiaayguTVmA4e7V_Q,1439
|
92
92
|
streamlit/elements/spinner.py,sha256=qhA0DZo3ZEYQswFYuNdaXltenvmJR_18mqDQA64bK_Q,2934
|
93
93
|
streamlit/elements/text.py,sha256=_OePOPcWymPrYoey6BFeB6IvjTmnUszFS9W0veUu3LA,1856
|
94
94
|
streamlit/elements/toast.py,sha256=UFh4Is6a9-aWG43SZadknKOEC16_KIvg6AR9QR1tnxk,3711
|
95
|
-
streamlit/elements/vega_charts.py,sha256=
|
95
|
+
streamlit/elements/vega_charts.py,sha256=dF2ftCF6bMm74jfD5jXqQBH82IPpblbPtZVca9rVCZs,77905
|
96
96
|
streamlit/elements/write.py,sha256=V61gXtoEYGryJVijobBGNd8Qa8hAnJPju7M0d-PQ4z4,20931
|
97
97
|
streamlit/elements/lib/__init__.py,sha256=Vrf1yVMOcTyhUPnYvsfyeL96Vpd5z8KoSV5ZzTcTQgU,616
|
98
98
|
streamlit/elements/lib/built_in_chart_utils.py,sha256=J9YiPmS9uWIeIEUEgC_FmcXxQAmc1m2p9zcHm_KII2g,37621
|
99
99
|
streamlit/elements/lib/column_config_utils.py,sha256=QA_jiyqYFB9mGSVu31C5jxFfAyZRDxGgwqA-0MspVJc,16176
|
100
100
|
streamlit/elements/lib/column_types.py,sha256=anShsRYM3brr30bB7B-j3PBm3pJwD7dBpFz-7zwSfwY,51180
|
101
|
-
streamlit/elements/lib/dialog.py,sha256=
|
101
|
+
streamlit/elements/lib/dialog.py,sha256=EPnscodLBgxlCXO7wUqjOFeTjJhlR7Kq_hSVvfx3bpA,5768
|
102
102
|
streamlit/elements/lib/dicttools.py,sha256=9zXu6Z5Ky4ul74RBGB8Roi5LDoB_GTo_0vd2GNSnohQ,3827
|
103
103
|
streamlit/elements/lib/event_utils.py,sha256=wJaZxBH-x9icnWmDuO9ukIQhHek9T2rcxlrD7UVzmvk,1496
|
104
|
-
streamlit/elements/lib/mutable_status_container.py,sha256=
|
104
|
+
streamlit/elements/lib/mutable_status_container.py,sha256=qUacv7MzabfioZ-bnF4nR6AV-68sa_gVowyWuV4P1sM,6781
|
105
105
|
streamlit/elements/lib/options_selector_utils.py,sha256=eiJ6JMgcwSMc_tudYhjeKrN5CMPs3LOq7qSiPDlA1yQ,2109
|
106
106
|
streamlit/elements/lib/pandas_styler_utils.py,sha256=VMo1RnsnU5KpiA73heGHCN1qYlRP8IE7a3pqSvvKthk,8121
|
107
|
-
streamlit/elements/lib/policies.py,sha256=
|
107
|
+
streamlit/elements/lib/policies.py,sha256=qzY0ZXOC4zQqD_xIrscndcaFLLcCjMA9KgZ1RAt1D6A,7098
|
108
108
|
streamlit/elements/lib/streamlit_plotly_theme.py,sha256=DgMP_PWTfFO5J__q8bGxoT3ey5z727582wDD_u3UaPU,8307
|
109
109
|
streamlit/elements/lib/subtitle_utils.py,sha256=ciPgQ6Yi3NS7OdFgDH6lGFwDZpv022flEyQKY5lHNiE,6245
|
110
110
|
streamlit/elements/lib/utils.py,sha256=ko1uhpuIX21vSCZfDf7cqtcI6_6_3eKk_aro5X0WVvY,7976
|
111
111
|
streamlit/elements/widgets/__init__.py,sha256=Vrf1yVMOcTyhUPnYvsfyeL96Vpd5z8KoSV5ZzTcTQgU,616
|
112
|
-
streamlit/elements/widgets/button.py,sha256=
|
113
|
-
streamlit/elements/widgets/button_group.py,sha256=
|
112
|
+
streamlit/elements/widgets/button.py,sha256=GQgrt7ZPF-TKq19YYbyl9h-oUJHqHXaUDtBSIi95z0I,31932
|
113
|
+
streamlit/elements/widgets/button_group.py,sha256=cDPpSqLhCMxzjbefa3smx41RtT--VX1FWKq-hlskah4,15205
|
114
114
|
streamlit/elements/widgets/camera_input.py,sha256=qODQgcKPCxA3DmepYG8ZEH-GGMne3TXqiHNhhMKlqN0,8525
|
115
|
-
streamlit/elements/widgets/chat.py,sha256=
|
115
|
+
streamlit/elements/widgets/chat.py,sha256=eY-1ePzy-oIlN9s6zRR9vEtzUqKs0l5QsFzuO47I334,14308
|
116
116
|
streamlit/elements/widgets/checkbox.py,sha256=vMYLq7PqL5-zphsTLnBNPD7Di3aCM2T-Jgc-RULg0qI,11339
|
117
117
|
streamlit/elements/widgets/color_picker.py,sha256=qda5fjNCrxoh2fH0v1rv8CCNnxSsH2mwmSeIAEwMwC4,8544
|
118
|
-
streamlit/elements/widgets/data_editor.py,sha256=
|
118
|
+
streamlit/elements/widgets/data_editor.py,sha256=Sk2jFll41cC8dCE87CKibIEoKsXsAEDjCT2_1PnI0Hw,35975
|
119
119
|
streamlit/elements/widgets/file_uploader.py,sha256=wdRntV0G75kJ_-gUhaoex9tVlJUmw7A9j3kZxCJqdCU,17021
|
120
120
|
streamlit/elements/widgets/multiselect.py,sha256=InauzGEewgsoO3GJIDfa_BsX6aORn3OxQRhz-jzvzXc,11998
|
121
121
|
streamlit/elements/widgets/number_input.py,sha256=mC7rh8KaymopYRbBtSaSe2MhRjXmCJKAxdFaPSOrZW8,20436
|
@@ -137,7 +137,7 @@ streamlit/hello/__init__.py,sha256=Vrf1yVMOcTyhUPnYvsfyeL96Vpd5z8KoSV5ZzTcTQgU,6
|
|
137
137
|
streamlit/hello/streamlit_app.py,sha256=3dsfcIZrYOSSMOtk7aA3tEBife7Jf8DJtlVIkwLRWTo,1214
|
138
138
|
streamlit/hello/utils.py,sha256=IZMM6MZ4tcrLuSN9RWmMEYlzTbbzA3trpq6Pa82NeRw,992
|
139
139
|
streamlit/navigation/__init__.py,sha256=Vrf1yVMOcTyhUPnYvsfyeL96Vpd5z8KoSV5ZzTcTQgU,616
|
140
|
-
streamlit/navigation/page.py,sha256=
|
140
|
+
streamlit/navigation/page.py,sha256=QM7OdrUOWJEbVHqHWuCDZEY-1BLvTl2gfKcR9RWDN5M,11292
|
141
141
|
streamlit/proto/Alert_pb2.py,sha256=rGlkoiE7c-gmZbYpuhRdFmRkYLcR3AmdHH3lHw8q1-E,1565
|
142
142
|
streamlit/proto/Alert_pb2.pyi,sha256=sf1JHN92JSQs2_15clCjEfBGPByTTG-FSSZ-qGjWLXk,3106
|
143
143
|
streamlit/proto/AppPage_pb2.py,sha256=zc06HvAElRirQavLwn0TzwJFhB3kvYRxSRdCS1P9ozE,1443
|
@@ -296,17 +296,17 @@ streamlit/proto/openmetrics_data_model_pb2.pyi,sha256=dmABrepaNR5S9kA1UPfQGXqY_A
|
|
296
296
|
streamlit/runtime/__init__.py,sha256=Xx5OVY9Nv8Z6ndbYtJBm3lgR2pn83omEOlDaSl9V2dE,1523
|
297
297
|
streamlit/runtime/app_session.py,sha256=GQQZ8Fbut5vL2QGIZH3acPC4i7pem-2h8PO2gOAfewM,37002
|
298
298
|
streamlit/runtime/connection_factory.py,sha256=20-GrwBjmPz2CnOhWbq3MYHc-Ouyce9EuXBqCHEqsls,12503
|
299
|
-
streamlit/runtime/context.py,sha256=
|
299
|
+
streamlit/runtime/context.py,sha256=d3pmxQJdVY4RE10mlAVvrzSgokk4Uyr0fWQeAPWT8R4,6595
|
300
300
|
streamlit/runtime/credentials.py,sha256=oMUw4SWHMbk-b4Z7tGWWLQIZBsFF-4xDBjbxzNNJ8x8,11333
|
301
301
|
streamlit/runtime/forward_msg_cache.py,sha256=Oj-c3BhTRLrXhGBzX21ioq8gTsN4nqjyRL0jr4TqlZk,9750
|
302
|
-
streamlit/runtime/forward_msg_queue.py,sha256=
|
303
|
-
streamlit/runtime/fragment.py,sha256=
|
304
|
-
streamlit/runtime/media_file_manager.py,sha256=
|
302
|
+
streamlit/runtime/forward_msg_queue.py,sha256=8Kt1z0V3wi7j8nYWc52ou18uJxu2hOjdBWbCQogZGGk,7280
|
303
|
+
streamlit/runtime/fragment.py,sha256=pbTQ5Rn8hsKkUlTR4CYYzQRO_xRXuTRycEbEbstn9oI,18944
|
304
|
+
streamlit/runtime/media_file_manager.py,sha256=qKLrI3gKGMAWDlLb5hxSpbaey60MCSJpBsKlvwU90kw,8550
|
305
305
|
streamlit/runtime/media_file_storage.py,sha256=hQkMC__XRjshEUD73QCSrX3vrfOOO0U7Vf1Uc6qiP90,4375
|
306
306
|
streamlit/runtime/memory_media_file_storage.py,sha256=9jzWImu9qCUGbJ61c4UhkxRSAPvHLFxNdaPiICPKQtU,6277
|
307
307
|
streamlit/runtime/memory_session_storage.py,sha256=Tx-_3oUg6i9UokpBUIWvqhpWE0WmjtX764KdOzNvDMs,2940
|
308
308
|
streamlit/runtime/memory_uploaded_file_manager.py,sha256=rCLvdZv2nPlWeCiHnwV8phcVV43mUCgW7BaWkmEXgpM,4422
|
309
|
-
streamlit/runtime/metrics_util.py,sha256=
|
309
|
+
streamlit/runtime/metrics_util.py,sha256=gVzCUsNEeTU8HHBoup4gS_370Yc-Sg8gViruY3TA3ck,15069
|
310
310
|
streamlit/runtime/pages_manager.py,sha256=86GpkkRCNxRsgH-Kq10GLmjsTPgKX-ua42YfL8CsLq8,14123
|
311
311
|
streamlit/runtime/runtime.py,sha256=gUDK50PLzY3xdX1KpHeXM1nVTmtSmNtDPNYsccU7g-0,29334
|
312
312
|
streamlit/runtime/runtime_util.py,sha256=pPgc524cnmjVffZp_QuH3Yql8TFxuSs23gjnv7gIhqk,4021
|
@@ -317,12 +317,12 @@ streamlit/runtime/stats.py,sha256=cwTXk1qSv2U5mBbf43iTsyFUVr9OQ0Q5xKCZu545Nwg,38
|
|
317
317
|
streamlit/runtime/uploaded_file_manager.py,sha256=RqHZr61sNJv4Z6e5uTCOI5o-vcLGGfKW9Dh6LQkeORM,4822
|
318
318
|
streamlit/runtime/websocket_session_manager.py,sha256=fijI2KolKVbWMsxYlmIoxxy8x-u_7i1sYYfrvnjhdU4,6354
|
319
319
|
streamlit/runtime/caching/__init__.py,sha256=ChKfYbo1trtKDcPOn-jyYp1OSZ5d8wH8gm9yUyDxWLE,3684
|
320
|
-
streamlit/runtime/caching/cache_data_api.py,sha256=
|
320
|
+
streamlit/runtime/caching/cache_data_api.py,sha256=699UmDVHSRmASYckbe6cUyukewJotrcjCqw58HEel6w,25835
|
321
321
|
streamlit/runtime/caching/cache_errors.py,sha256=0yMPp7XhePilU91rIYu_XEuKnv6qeixW5a_YirpHWS8,4760
|
322
|
-
streamlit/runtime/caching/cache_resource_api.py,sha256=
|
322
|
+
streamlit/runtime/caching/cache_resource_api.py,sha256=pInNl6N8jG4yY7Rdw8wL9F2Qg3pyytKUJRlRAU6BeiY,20981
|
323
323
|
streamlit/runtime/caching/cache_type.py,sha256=P21JWouFWU0qXQyHbM3y3A1pLZud90ALGeO4bQ5Pvew,1131
|
324
324
|
streamlit/runtime/caching/cache_utils.py,sha256=f8_rCqtrDsuGTKHQ9YLd0YXkHaW3de4oCFpAKXzRXkw,18783
|
325
|
-
streamlit/runtime/caching/cached_message_replay.py,sha256=
|
325
|
+
streamlit/runtime/caching/cached_message_replay.py,sha256=wQN3A1omhAp8tsuzMFCvSazUdQ26WhchXsVhR7vV1Ug,17979
|
326
326
|
streamlit/runtime/caching/hashing.py,sha256=wKQteH6AtXyCt2n_c3tzFuUCoVyv5lUGUtJrQm3FXd8,19456
|
327
327
|
streamlit/runtime/caching/legacy_cache_api.py,sha256=Jw1JoQeYN-A7Fjn7KJmq8dy0oFuBX6WtUXNqO0KsSdg,6033
|
328
328
|
streamlit/runtime/caching/storage/__init__.py,sha256=b3JyzTI6Nyc3htcNZAq_f-XP3jMqnW2UNEbK3bm8bVs,965
|
@@ -330,59 +330,60 @@ streamlit/runtime/caching/storage/cache_storage_protocol.py,sha256=5wf3gRqa1Msjt
|
|
330
330
|
streamlit/runtime/caching/storage/dummy_cache_storage.py,sha256=IVQJs1KH3kkn0dc8YsLs3F7FX9wn2ZzTmyRgCTg7MYo,1945
|
331
331
|
streamlit/runtime/caching/storage/in_memory_cache_storage_wrapper.py,sha256=VT5DysXStpsZiQo2fAkx6TXY_ijoon2ki338HjEIvzI,5389
|
332
332
|
streamlit/runtime/caching/storage/local_disk_cache_storage.py,sha256=twJksa2WB274njsSP2vJM0JgfUC5OGm_4-hvtGVpePE,9311
|
333
|
-
streamlit/runtime/scriptrunner/__init__.py,sha256=
|
334
|
-
streamlit/runtime/scriptrunner/
|
335
|
-
streamlit/runtime/scriptrunner/exec_code.py,sha256=N5GsGIl2Amm-4p7MyB9_cnEQ4xx_X2h80jv6kiQlouE,4580
|
333
|
+
streamlit/runtime/scriptrunner/__init__.py,sha256=hyj0No43i0GIXML_m21B5ngKbWu65mgRYScxJpqfdj8,1266
|
334
|
+
streamlit/runtime/scriptrunner/exec_code.py,sha256=tlkfAbIkQZk4B_Vg7XiVgpA7E2AJP5T68Ttl-i6f4tg,4611
|
336
335
|
streamlit/runtime/scriptrunner/magic.py,sha256=1CR_vrIMTaZWVhGHlidSAaP3Gbzp-amXnubKppv3icM,9489
|
337
336
|
streamlit/runtime/scriptrunner/magic_funcs.py,sha256=_npS_w-0riPNr1-dPyOSjqrwTXoeSR-gXWFkChQ5Yjc,1056
|
338
337
|
streamlit/runtime/scriptrunner/script_cache.py,sha256=ZpaB4T50_GYfhMc2dajSMXWCmS3kaUJ_tPHNVt_flBg,2856
|
339
|
-
streamlit/runtime/scriptrunner/
|
340
|
-
streamlit/runtime/
|
341
|
-
streamlit/runtime/
|
342
|
-
streamlit/runtime/
|
343
|
-
streamlit/runtime/
|
344
|
-
streamlit/runtime/state/
|
338
|
+
streamlit/runtime/scriptrunner/script_runner.py,sha256=sFdI_2DFuM-OMwBiKdvUVolYSlzrOONUx1b0Y8hrcQ4,28819
|
339
|
+
streamlit/runtime/scriptrunner_utils/__init__.py,sha256=3ecJDi5VtnxRDoaDEdgQIJ-UeNg5VWPZiycE3l6nhf0,840
|
340
|
+
streamlit/runtime/scriptrunner_utils/exceptions.py,sha256=FM09ZMEkAGqdNUPSp3SyFxp0O7g77fZtL_6JcqxNMB8,1554
|
341
|
+
streamlit/runtime/scriptrunner_utils/script_requests.py,sha256=_CeahHuCUJL8CL2oEWkKLOPDAw5HssYgTzg9tdtdUWE,12078
|
342
|
+
streamlit/runtime/scriptrunner_utils/script_run_context.py,sha256=nfQKzJ4OioWkt6AQ25RsToXXVxrzUBOrugtiu9md4gY,9732
|
343
|
+
streamlit/runtime/state/__init__.py,sha256=LTc-EUjKX72RuZfIzxBLEr6HGMDpw-iEOGqlR-bY3ok,1470
|
344
|
+
streamlit/runtime/state/common.py,sha256=J4tAadL7xLKX-Y3en1E2Xr3o1y4ynaaotuSuCyc_MBw,9969
|
345
|
+
streamlit/runtime/state/query_params.py,sha256=FXjy7PhLhV2wDuw6ndbK_UbAWkQV-iBxgDEAeYWsRWc,7356
|
345
346
|
streamlit/runtime/state/query_params_proxy.py,sha256=gxaCF6-jmoM8HWXwQOdC6XgVjVdIYtqiicG3I2hQsLk,7152
|
346
347
|
streamlit/runtime/state/safe_session_state.py,sha256=WLFFyMtP4F19TWWBarKtSP942IepI2eeSBhifwbuFgY,5222
|
347
|
-
streamlit/runtime/state/session_state.py,sha256=
|
348
|
-
streamlit/runtime/state/session_state_proxy.py,sha256=
|
349
|
-
streamlit/runtime/state/widgets.py,sha256=
|
350
|
-
streamlit/static/asset-manifest.json,sha256=
|
348
|
+
streamlit/runtime/state/session_state.py,sha256=Kpz6WetTQlQ_zoPRoNz3IYhRgLBJKOzqKX9MmXDH-II,27293
|
349
|
+
streamlit/runtime/state/session_state_proxy.py,sha256=IWF43f6UWL4KyxNWF3aTv1sbykNI2hI5UsPF2UIfpdE,5524
|
350
|
+
streamlit/runtime/state/widgets.py,sha256=bDZMqDBqJS84C_FfzK4_dNsYY4NKeRZZUnV97G4KdRo,9684
|
351
|
+
streamlit/static/asset-manifest.json,sha256=wKdoqX1h2dn_FMzHB22NfpQfYqYHvXhLHBIrALvP4Pc,14507
|
351
352
|
streamlit/static/favicon.png,sha256=if5cVgw7azxKOvV5FpGixga7JLn23rfnHcy1CdWI1-E,1019
|
352
|
-
streamlit/static/index.html,sha256=
|
353
|
+
streamlit/static/index.html,sha256=sHvnTR8M3e0V5_bvEHCjvdC2fxrL-DdbjpwYP3y40EI,891
|
353
354
|
streamlit/static/static/css/3466.81b3d18f.chunk.css,sha256=7WxsSsC_REs_rrfQTODJt34QZfNePqEv_fc-KFLcOz4,33375
|
354
355
|
streamlit/static/static/css/5441.c24b25fa.chunk.css,sha256=oOQFf_CH_DqXNsgcLiXOIk4uuluqNRMkobp8p6uc3y4,2666
|
355
356
|
streamlit/static/static/css/8148.93909c7e.chunk.css,sha256=6dVarHz_P5ACNrmcAZkXoNnjV5Z6CfnAXpxLBx-i1aw,12093
|
356
357
|
streamlit/static/static/css/main.5513bd04.css,sha256=9vuriEsFvHDyAwsI3vtBY9PNL8UOjqGwWZ4lZHsdFzw,29356
|
357
358
|
streamlit/static/static/js/1074.0db34d15.chunk.js,sha256=29TmBkF-yJLZpEQApvfkjJSWBr-GajtJxmE26RpFGk4,5488
|
358
359
|
streamlit/static/static/js/1116.22f8322c.chunk.js,sha256=X7oKne-q76t_gJe7G3Zn6D1eFaQrM5zcbLWsSQnInFw,8913
|
359
|
-
streamlit/static/static/js/1168.
|
360
|
+
streamlit/static/static/js/1168.2a9806f0.chunk.js,sha256=tKd7KSXokP8_DyQihl2PtFapHxU9rEUlJvAQR64n3W4,15068
|
360
361
|
streamlit/static/static/js/1307.5225662c.chunk.js,sha256=XB_AhCPC8m51jWDtEHxUEjPYdVHjzd33ly1-o2JKSZY,5840
|
361
|
-
streamlit/static/static/js/1451.
|
362
|
+
streamlit/static/static/js/1451.d93e956f.chunk.js,sha256=X4fI7SKsY_vFbbOwTCZlZmjIuMiFeWuEGo02rRBnu3I,5066
|
362
363
|
streamlit/static/static/js/1479.6709db03.chunk.js,sha256=WiqEhTakao-C6xpgeqCYklaAVvSNA5oQfySGE0MJF44,9618
|
363
|
-
streamlit/static/static/js/178.
|
364
|
+
streamlit/static/static/js/178.ddebe26b.chunk.js,sha256=Ahw8dmerAsX-FIAurNFNzKYYiXbdbcYGXL-Yv4fZIns,2269
|
364
365
|
streamlit/static/static/js/1792.eb8a836f.chunk.js,sha256=FZSX0RcklWHoQgzixlQC5MuZqaj8kcNPMR_fYD0sjvY,741
|
365
366
|
streamlit/static/static/js/2178.2b0accb2.chunk.js,sha256=-5QUoWq0PRDMyULDjQ3TPn_HGTjF3555TdwCfznL6_c,32751
|
366
367
|
streamlit/static/static/js/2187.9469f035.chunk.js,sha256=sfHKNps1wTMCQpY-TlOVHeSItUl-UG3P4gOIs015d2E,32468
|
367
|
-
streamlit/static/static/js/2469.
|
368
|
-
streamlit/static/static/js/2634.
|
369
|
-
streamlit/static/static/js/2736.
|
368
|
+
streamlit/static/static/js/2469.6217c5c3.chunk.js,sha256=byTgDH0y4g5PU5XX5YvLle3uN33XhKuqJklB7xDbYYM,3297
|
369
|
+
streamlit/static/static/js/2634.4e2535ee.chunk.js,sha256=hNPN3ewRYrIa3TtAd1BH7_fJ9nHDc3Di5qI47Rr44YI,791
|
370
|
+
streamlit/static/static/js/2736.3d50ec7f.chunk.js,sha256=l1jgaBOMr1xoKc--Itcs-7YUCvaKIqaXIpJUnTY-Ke4,65524
|
370
371
|
streamlit/static/static/js/3053.7e70ec3b.chunk.js,sha256=w__PpwDgSoGYpVF_yvIn0lvww0DjIJeITvXKcYfLwd8,3259
|
371
372
|
streamlit/static/static/js/329.effeacd9.chunk.js,sha256=4X2XEfUYC18GyI-9yPMQAq1VlZ6V0DTHQS-vfoo8kl0,3660946
|
372
373
|
streamlit/static/static/js/329.effeacd9.chunk.js.LICENSE.txt,sha256=aKN36g4SjyJ9CsqUUElZzz2T54Y9-y_Dz53dBlV7Q1o,2011
|
373
|
-
streamlit/static/static/js/3301.
|
374
|
+
streamlit/static/static/js/3301.7379a9fd.chunk.js,sha256=7rZK8H9agdRW-2tPQhCr0ABK7w0b7NG3mUAErkR41Zo,1922
|
374
375
|
streamlit/static/static/js/3466.a4b8bffd.chunk.js,sha256=-fnPz8Xd6sPQVJrCTOYKi-yVyZXfviNt6aFZMrUWyMc,3082113
|
375
376
|
streamlit/static/static/js/3466.a4b8bffd.chunk.js.LICENSE.txt,sha256=eedmllw4KHDop7oVWRkxEA-ZkkV_8zKkzzNxLjPGmXM,1379
|
376
377
|
streamlit/static/static/js/3513.577f3dc5.chunk.js,sha256=J8M7AY1tgeHPfv-sAR8jJfS2wDI6zuEXPb_xFgTbqBk,1081
|
377
378
|
streamlit/static/static/js/3599.17480cdf.chunk.js,sha256=HGsluZc1BlYVHMZV4M2te1g-_1QTIW8q-oyDhk28oIA,10952
|
378
|
-
streamlit/static/static/js/4113.
|
379
|
+
streamlit/static/static/js/4113.786b0142.chunk.js,sha256=k-WFVvhSwlv-qVdLs3orJFllNufWIpPvPb4MxR-AnmA,2577
|
379
380
|
streamlit/static/static/js/4132.49bf3f2c.chunk.js,sha256=7VSP_20CCc0ynooZRtZBcr9g-afnXpGmrqlUpK6c0p8,9226
|
380
381
|
streamlit/static/static/js/4132.49bf3f2c.chunk.js.LICENSE.txt,sha256=426lVBKMW2FKu5BqnSDpZnhms1QqJZ-nDvqwC62w-Z8,479
|
381
382
|
streamlit/static/static/js/4177.e5631c43.chunk.js,sha256=aairFttLmnFiE8aA86W4YD0COTW-WcuIhE04DAeRqhY,2182
|
382
383
|
streamlit/static/static/js/4319.00adb829.chunk.js,sha256=p8pznXbIREJNiEaB4_RJ9ca2ohjPrhqo09IppJQvoZI,2416
|
383
384
|
streamlit/static/static/js/4335.bc097c4d.chunk.js,sha256=nDM4OxhE8HOcNGXqZb79fgCII4Cj2ibRBhNgs9PljD0,15337
|
384
385
|
streamlit/static/static/js/4477.edb1d80a.chunk.js,sha256=ahnyjx_kHs3GGByTBgwZpidcE4Aj0AKqn5EX2uz05lw,20741
|
385
|
-
streamlit/static/static/js/4500.
|
386
|
+
streamlit/static/static/js/4500.d884c792.chunk.js,sha256=CL5NuTRg7AX228XrWv_LtgaByqoyefCBE0VTO8sce_U,624
|
386
387
|
streamlit/static/static/js/4666.0e91bb87.chunk.js,sha256=fbo8l3whuAyzrwr2GYhyedGSx1uaO8YJspzYgJ-itoU,14787
|
387
388
|
streamlit/static/static/js/474.e65d18b5.chunk.js,sha256=R7ToAo3BdcFvyGVrfxnTI-gGR2dor8nr22653sEBPwU,2704
|
388
389
|
streamlit/static/static/js/5106.4c60cfa4.chunk.js,sha256=Qfuw5JKVaPSeEaXSB8zGb5dIk45hwFThUBmU6lJoKkw,7121
|
@@ -395,24 +396,24 @@ streamlit/static/static/js/5791.9a42fb4b.chunk.js,sha256=6j7S1fDfB321ibbChH0lWkP
|
|
395
396
|
streamlit/static/static/js/6013.fc3867be.chunk.js,sha256=KnUcRNs4R2JGrlQ3NG9wMKB7J8qVuLvn6YV7sTIfq1c,11473
|
396
397
|
streamlit/static/static/js/6405.67a0df81.chunk.js,sha256=FW3BRODcCVC1pRv7B7S8_MXAO0OqOnD1AIjQ0jIi9Qc,13039
|
397
398
|
streamlit/static/static/js/6718.6fb2aa21.chunk.js,sha256=cUNhoNfzVG1Zk6SvYB7PFD8G8XHPs7_tMCrJI2JAess,24589
|
398
|
-
streamlit/static/static/js/6853.
|
399
|
+
streamlit/static/static/js/6853.a1c4fa00.chunk.js,sha256=O4p8uSt26-kH9G3BSeq4n8eBT-5Ml9Q8ZGOUYAPfuao,1356
|
399
400
|
streamlit/static/static/js/7142.83028745.chunk.js,sha256=B803yufbyma709LcFo35WRl6umQplzb28w6vW25Enzk,88545
|
400
401
|
streamlit/static/static/js/7175.ed4a2f0d.chunk.js,sha256=eGevxbuNvZ7hw6H56Oeo3uhGnbVL3NLQqSwb4kJncWQ,8413
|
401
402
|
streamlit/static/static/js/7323.4e64ad2c.chunk.js,sha256=RApRmbuEY30SVECxVgNd-huikWZ_PqRQUkCfv1whHXk,3384635
|
402
403
|
streamlit/static/static/js/7323.4e64ad2c.chunk.js.LICENSE.txt,sha256=eaJYPeiNKQAvVx6lv1DR9gIPG1pFwki2pcDLddtfQHw,5061
|
403
404
|
streamlit/static/static/js/7483.a8977bac.chunk.js,sha256=1LJE7nCv2stIr-dAoIzTuNjOZLRbmRhjev2NOfiAuPc,913317
|
404
405
|
streamlit/static/static/js/7483.a8977bac.chunk.js.LICENSE.txt,sha256=MFVywCe4fCte7HrHaVpL-jnDWhe9ei9zkyRvRUXQU-4,212
|
405
|
-
streamlit/static/static/js/7602.
|
406
|
-
streamlit/static/static/js/7805.
|
406
|
+
streamlit/static/static/js/7602.33571c14.chunk.js,sha256=N3wejMFHfWIX74jJk3fb8ImFftk0Usj2a_jDa-mTcmQ,13196
|
407
|
+
streamlit/static/static/js/7805.ba32ae70.chunk.js,sha256=uxi8x_jbTFYiPmVWs7wE2Bz39DyTwBoI1AglRGBjGMU,4574
|
407
408
|
streamlit/static/static/js/8005.43974a35.chunk.js,sha256=0WJomUw6UcQmH5JyhRJbaTUPk52drggGHoau5qKzxoQ,3358
|
408
|
-
streamlit/static/static/js/8148.
|
409
|
-
streamlit/static/static/js/8427.
|
409
|
+
streamlit/static/static/js/8148.b905db99.chunk.js,sha256=_lCJnPcqCFNTBPxyTgvpDKHh1JSMn-JHO_C1Hg-dXiM,50827
|
410
|
+
streamlit/static/static/js/8427.b1a68937.chunk.js,sha256=-RfNH0titeMh-_kh8kVEfR2tZG8FGUfNCjCuUASVZ7M,3112
|
410
411
|
streamlit/static/static/js/8477.90b06bd9.chunk.js,sha256=-UUHb438TGdvJpAQMVqy6CSqq2NN0Sf-299EhB1Uz3s,1889
|
411
412
|
streamlit/static/static/js/8536.b7b2ef90.chunk.js,sha256=lvLpmURrW0oO8CjP4UvIOn-_p9ndlAeB7ZL2YDYa0Co,10114
|
412
413
|
streamlit/static/static/js/8570.6de19120.chunk.js,sha256=Dxg1jh1yRSXs21gOKvtU19QLvk7BSJRbaj7HC5D8odM,12214
|
413
414
|
streamlit/static/static/js/8571.cfc22b99.chunk.js,sha256=vME3kfn7jSk1wnzcLqrlkclolf3IBK5mppEFQrfdL1c,21241
|
414
415
|
streamlit/static/static/js/8691.885f6268.chunk.js,sha256=KE4o3QPP-Y-41xBVfnKG15U6Vt-lv96uLOHYJZt6WVg,10563
|
415
|
-
streamlit/static/static/js/9330.
|
416
|
+
streamlit/static/static/js/9330.32e8a53a.chunk.js,sha256=KCz6DTc1u1tBR9D-VJoMaHDRjDDAK5u8YNSzZP0pB7Q,1350
|
416
417
|
streamlit/static/static/js/9336.3e046ad7.chunk.js,sha256=0Af85YeYgginC8bxlFwMjKxUOc4n6UhVdQOJJT8t2nk,13574
|
417
418
|
streamlit/static/static/js/937.a1248039.chunk.js,sha256=NS-xyj3NwPLJvghF8AJ3H_kVfRg1LbZYl0HHF8klQj0,20791
|
418
419
|
streamlit/static/static/js/937.a1248039.chunk.js.LICENSE.txt,sha256=KAhbcQ1jd_N8DfV6lLYlQ_EQOalgErOV-Sf87G-Rh2g,188
|
@@ -420,8 +421,8 @@ streamlit/static/static/js/9589.fa50c837.chunk.js,sha256=e5F6GJc0WsByF3ZPHbpYccF
|
|
420
421
|
streamlit/static/static/js/9589.fa50c837.chunk.js.LICENSE.txt,sha256=6s4mSSf8NHGJqUCFAj3VgMXZuNYyAzshKRhvxYZTQoU,281
|
421
422
|
streamlit/static/static/js/9656.8c935274.chunk.js,sha256=3VB6NT0EQErJUX2SYLQpmNAp19sWI45AbNOQLVjcvII,22113
|
422
423
|
streamlit/static/static/js/9865.8216f445.chunk.js,sha256=5OfDAYMAaJjlxfYJhrDwmG0ifxm6pPHfGkdYk0P1QPc,3640
|
423
|
-
streamlit/static/static/js/main.
|
424
|
-
streamlit/static/static/js/main.
|
424
|
+
streamlit/static/static/js/main.90c4efd0.js,sha256=rV5GwuPQVf6xoyYJ1DSFEh9f1r9zl3ch1lwcqWmMrnE,4508504
|
425
|
+
streamlit/static/static/js/main.90c4efd0.js.LICENSE.txt,sha256=zBIKKHKi84ZOA6IoZ3tlc9xb3yukNP-rM98cZVvzteg,4398
|
425
426
|
streamlit/static/static/media/KaTeX_AMS-Regular.73ea273a72f4aca30ca5.woff2,sha256=DN04fJWQoan5eUVgAi27WWVKfYbxh6oMgUla1C06cwg,28076
|
426
427
|
streamlit/static/static/media/KaTeX_AMS-Regular.853be92419a6c3766b9a.ttf,sha256=aFNIQLz90r_7bw6N60hoTdAefwTqKBMmdXevuQbeHRM,63632
|
427
428
|
streamlit/static/static/media/KaTeX_AMS-Regular.d562e886c52f12660a41.woff,sha256=MNqR6EyJP4deJSaJ-uvcWQsocRReitx_mp1NvYzgslE,33516
|
@@ -512,7 +513,7 @@ streamlit/testing/__init__.py,sha256=Vrf1yVMOcTyhUPnYvsfyeL96Vpd5z8KoSV5ZzTcTQgU
|
|
512
513
|
streamlit/testing/v1/__init__.py,sha256=XGxNOq4VfmwlVj9K6vXB8dAH1YbI_8AIsvw_vbzQoNA,690
|
513
514
|
streamlit/testing/v1/app_test.py,sha256=17YVrcfljnHpHzb2xiCkQ0GYWegVOn22nf_pW0c7UUQ,37443
|
514
515
|
streamlit/testing/v1/element_tree.py,sha256=DvzrYRTMj31vdaQyd9Vw5oWua2Ojvw0m3ptYOvx-sis,63119
|
515
|
-
streamlit/testing/v1/local_script_runner.py,sha256=
|
516
|
+
streamlit/testing/v1/local_script_runner.py,sha256=LRQwwSEYRy1fXy9uc3M5W8QR5J4I7GoQr9avgCX3Pyc,6601
|
516
517
|
streamlit/testing/v1/util.py,sha256=zDKYdj0J0Dpc6tacvf2CWXL-buh3JnlOkwV0lBFjbsw,1791
|
517
518
|
streamlit/vendor/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
518
519
|
streamlit/vendor/ipython/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -537,12 +538,12 @@ streamlit/web/server/media_file_handler.py,sha256=2KfzPnMN1RstMtI4fs0PD0vFiFrWMy
|
|
537
538
|
streamlit/web/server/routes.py,sha256=QptzrFI6KM7XrAzSRdirhGm7Eos8b2T6PrnUp-Zoa_o,10146
|
538
539
|
streamlit/web/server/server.py,sha256=KuwMMQ_9HEbYE6_T_9G18mdCJSlAbr7zg4ZYLQPzVsE,14891
|
539
540
|
streamlit/web/server/server_util.py,sha256=C3M971XFoEXTMufQLwHbZdtZOE30nWx-2WiXmvX_6fE,4197
|
540
|
-
streamlit/web/server/stats_request_handler.py,sha256=
|
541
|
+
streamlit/web/server/stats_request_handler.py,sha256=e144zIhzLTB1PN4CwTCxElCoWMuo9IsBEPex2exHCQ0,3641
|
541
542
|
streamlit/web/server/upload_file_request_handler.py,sha256=ftyKpARrUjOpRcFETIXuoTyOG_mo-ToOw5NI0y_W4lE,5003
|
542
|
-
streamlit/web/server/websocket_headers.py,sha256=
|
543
|
-
streamlit_nightly-1.37.2.
|
544
|
-
streamlit_nightly-1.37.2.
|
545
|
-
streamlit_nightly-1.37.2.
|
546
|
-
streamlit_nightly-1.37.2.
|
547
|
-
streamlit_nightly-1.37.2.
|
548
|
-
streamlit_nightly-1.37.2.
|
543
|
+
streamlit/web/server/websocket_headers.py,sha256=uUxypj04ondEC4ocBiYCndX_N06Zwe1Mt690Vupe08Y,2232
|
544
|
+
streamlit_nightly-1.37.2.dev20240815.data/scripts/streamlit.cmd,sha256=ZEYM3vBJSp-k7vwSJ3ba5NzEk9-qHdSeLvGYAAe1mMw,676
|
545
|
+
streamlit_nightly-1.37.2.dev20240815.dist-info/METADATA,sha256=3qIXC53E-goMgzFXT08Gr0ayvpoShoAypqdv8n2SO1g,8511
|
546
|
+
streamlit_nightly-1.37.2.dev20240815.dist-info/WHEEL,sha256=M4n4zmFKzQZk4mLCcycNIzIXO7YPKE_b5Cw4PnhHEg8,109
|
547
|
+
streamlit_nightly-1.37.2.dev20240815.dist-info/entry_points.txt,sha256=uNJ4DwGNXEhOK0USwSNanjkYyR-Bk7eYQbJFDrWyOgY,53
|
548
|
+
streamlit_nightly-1.37.2.dev20240815.dist-info/top_level.txt,sha256=V3FhKbm7G2LnR0s4SytavrjIPNIhvcsAGXfYHAwtQzw,10
|
549
|
+
streamlit_nightly-1.37.2.dev20240815.dist-info/RECORD,,
|
@@ -1 +0,0 @@
|
|
1
|
-
"use strict";(self.webpackChunk_streamlit_app=self.webpackChunk_streamlit_app||[]).push([[2469],{62469:(o,e,r)=>{r.r(e),r.d(e,{default:()=>h});r(66845);var t=r(81354),i=r(27446),a=r(12596),l=r(1515),s=r(35704);function d(o,e){switch(o){case t.V5.XSMALL:return{padding:`${e.spacing.twoXS} ${e.spacing.sm}`,fontSize:e.fontSizes.sm};case t.V5.SMALL:return{padding:`${e.spacing.twoXS} ${e.spacing.md}`};case t.V5.LARGE:return{padding:`${e.spacing.md} ${e.spacing.md}`};default:return{padding:`${e.spacing.xs} ${e.spacing.md}`}}}const n=(0,l.Z)("a",{target:"e16zdaao2"})((o=>{let{fluidWidth:e,size:r,theme:t}=o;const i="number"==typeof e?`${e}px`:"100%";return{display:"inline-flex",alignItems:"center",justifyContent:"center",fontWeight:t.fontWeights.normal,padding:`${t.spacing.xs} ${t.spacing.md}`,borderRadius:t.radii.default,minHeight:t.sizes.minElementHeight,margin:0,lineHeight:t.lineHeights.base,color:t.colors.primary,textDecoration:"none",width:e?i:"auto",userSelect:"none","&:visited":{color:t.colors.primary},"&:focus":{outline:"none"},"&:focus-visible":{boxShadow:`0 0 0 0.2rem ${(0,s.DZ)(t.colors.primary,.5)}`},"&:hover":{textDecoration:"none"},"&:active":{textDecoration:"none"},...d(r,t)}}),""),c=(0,l.Z)(n,{target:"e16zdaao1"})((o=>{let{theme:e}=o;return{backgroundColor:e.colors.primary,color:e.colors.white,border:`${e.sizes.borderWidth} solid ${e.colors.primary}`,"&:hover":{backgroundColor:(0,s._j)(e.colors.primary,.05),color:e.colors.white},"&:active":{backgroundColor:"transparent",color:e.colors.primary},"&:visited:not(:active)":{color:e.colors.white},"&[disabled], &[disabled]:hover, &[disabled]:active, &[disabled]:visited":{borderColor:e.colors.fadedText10,backgroundColor:e.colors.transparent,color:e.colors.fadedText40,cursor:"not-allowed"}}}),""),u=(0,l.Z)(n,{target:"e16zdaao0"})((o=>{let{theme:e}=o;return{backgroundColor:e.colors.lightenedBg05,color:e.colors.bodyText,border:`${e.sizes.borderWidth} solid ${e.colors.fadedText10}`,"&:visited":{color:e.colors.bodyText},"&:hover":{borderColor:e.colors.primary,color:e.colors.primary},"&:active":{color:e.colors.white,borderColor:e.colors.primary,backgroundColor:e.colors.primary},"&:focus:not(:active)":{borderColor:e.colors.primary,color:e.colors.primary},"&[disabled], &[disabled]:hover, &[disabled]:active":{borderColor:e.colors.fadedText10,backgroundColor:e.colors.transparent,color:e.colors.fadedText40,cursor:"not-allowed"}}}),"");var p=r(40864);const b=function(o){let{kind:e,size:r,disabled:i,fluidWidth:a,children:l,autoFocus:s,href:d,rel:n,target:b,onClick:h}=o,g=c;return e===t.nW.SECONDARY&&(g=u),(0,p.jsx)(g,{kind:e,size:r||t.V5.MEDIUM,fluidWidth:a||!1,disabled:i||!1,autoFocus:s||!1,"data-testid":`baseLinkButton-${e}`,href:d,target:b,rel:n,onClick:h,tabIndex:i?-1:0,children:l})};const h=function(o){const{disabled:e,element:r,width:l}=o,s={width:l},d="primary"===r.type?t.nW.PRIMARY:t.nW.SECONDARY,n=!r.help||l;return(0,p.jsx)("div",{className:"row-widget stLinkButton","data-testid":"stLinkButton",style:s,children:(0,p.jsx)(i.t,{help:r.help,children:(0,p.jsx)(b,{kind:d,size:t.V5.SMALL,disabled:e,onClick:e=>{o.disabled&&e.preventDefault()},fluidWidth:!!r.useContainerWidth&&n,href:r.url,target:"_blank",rel:"noreferrer","aria-disabled":e,children:(0,p.jsx)(a.ZP,{source:r.label,allowHTML:!1,isLabel:!0,largerLabel:!0,disableLinks:!0})})})})}}}]);
|
@@ -1 +0,0 @@
|
|
1
|
-
"use strict";(self.webpackChunk_streamlit_app=self.webpackChunk_streamlit_app||[]).push([[4113],{34113:(e,r,t)=>{t.r(r),t.d(r,{default:()=>f});var o=t(66845),a=t(25621),n=t(22704),l=t(68411),i=t(27446),s=t(12596),d=t(66694),c=t(84457),g=t(1515);const p=(0,g.Z)("div",{target:"e11k5jya2"})((e=>{let{}=e;return{display:"flex",flexDirection:"column"}}),""),u=(0,g.Z)("a",{target:"e11k5jya1"})((e=>{let{disabled:r,isCurrentPage:t,fluidWidth:o,theme:a}=e;return{textDecoration:"none",width:"number"==typeof o?`${o}px`:"fit-content",display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"flex-start",gap:a.spacing.sm,borderRadius:a.spacing.twoXS,paddingLeft:a.spacing.sm,paddingRight:a.spacing.sm,marginTop:a.spacing.threeXS,marginBottom:a.spacing.threeXS,lineHeight:a.lineHeights.menuItem,backgroundColor:t?a.colors.darkenedBgMix15:"transparent","&:hover":{backgroundColor:t?a.colors.darkenedBgMix25:a.colors.darkenedBgMix15},"&:active,&:visited,&:hover":{textDecoration:"none"},"&:focus":{outline:"none"},"&:focus-visible":{backgroundColor:a.colors.darkenedBgMix15},"@media print":{paddingLeft:a.spacing.none},...r?{borderColor:a.colors.fadedText10,backgroundColor:a.colors.transparent,color:a.colors.fadedText40,cursor:"not-allowed","&:hover":{color:a.colors.fadedText40,backgroundColor:a.colors.transparent}}:{}}}),""),h=(0,g.Z)("span",{target:"e11k5jya0"})((e=>{let{disabled:r,theme:t}=e;return{color:t.colors.bodyText,overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",display:"table-cell",...r?{borderColor:t.colors.fadedText10,backgroundColor:t.colors.transparent,color:t.colors.fadedText40,cursor:"not-allowed"}:{}}}),"");var x=t(40864);const f=function(e){const{onPageChange:r,currentPageScriptHash:t}=o.useContext(d.E),g=o.useContext(c.Z),{colors:f}=(0,a.u)(),{disabled:b,element:k,width:m}=e,C={width:m},w=function(e,r){return!(null!==e||!r)||!(null===e&&!r)&&!0===e}(k.useContainerWidth,g),v=t===k.pageScriptHash;return(0,x.jsx)("div",{className:"row-widget stPageLink","data-testid":"stPageLink",style:C,children:(0,x.jsx)(i.t,{help:k.help,placement:l.u.TOP_RIGHT,children:(0,x.jsx)(p,{children:(0,x.jsxs)(u,{"data-testid":"stPageLink-NavLink",disabled:b,isCurrentPage:v,fluidWidth:!!w&&m,href:k.page,target:k.external?"_blank":"",rel:"noreferrer",onClick:e=>{k.external?b&&e.preventDefault():(e.preventDefault(),b||r(k.pageScriptHash))},children:[k.icon&&(0,x.jsx)(n.p,{size:"lg",color:f.bodyText,iconValue:k.icon}),(0,x.jsx)(h,{disabled:b,children:(0,x.jsx)(s.ZP,{source:k.label,allowHTML:!1,isLabel:!0,boldLabel:v,largerLabel:!0,disableLinks:!0})})]})})})})}}}]);
|
@@ -1 +0,0 @@
|
|
1
|
-
"use strict";(self.webpackChunk_streamlit_app=self.webpackChunk_streamlit_app||[]).push([[4500],{54500:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});s(66845);var r=s(50641),i=s(90994),l=s(40864);function o(t){let{element:e,width:s}=t;const o=e.hasWidth?e.width:s;let c,n;e.scrolling?(c="auto",n={}):(c="no",n={overflow:"hidden"}),n.colorScheme="normal";const d=a(e.src),h=(0,r.bb)(d)?void 0:a(e.srcdoc);return(0,l.jsx)("iframe",{"data-testid":"stIFrame",allow:i.p,style:n,src:d,srcDoc:h,width:o,height:e.height,scrolling:c,sandbox:i.T,title:"st.iframe"})}function a(t){return(0,r.le)(t)||""===t?void 0:t}}}]);
|
@@ -1 +0,0 @@
|
|
1
|
-
"use strict";(self.webpackChunk_streamlit_app=self.webpackChunk_streamlit_app||[]).push([[6853],{76853:(e,t,r)=>{r.r(t),r.d(t,{default:()=>x});var n=r(66845),s=r(23175),o=r.n(s),a=r(27466),i=r(12596),l=r(66694),c=r(1515),d=r(63637),h=r(60484);const p=(0,c.Z)(d.Q,{shouldForwardProp:h.Z,target:"e1se5lgy2"})((e=>{let{theme:t,usingCustomTheme:r}=e;return{fontSize:t.fontSizes.sm,width:"1.375rem",height:"1.375rem",borderWidth:"3px",radius:"4px",justifyContents:"center",padding:t.spacing.none,margin:t.spacing.none,borderColor:t.colors.fadedText10,borderTopColor:r?t.colors.primary:t.colors.blue70,flexGrow:0,flexShrink:0}}),""),m=(0,c.Z)("div",{target:"e1se5lgy1"})((e=>{let{theme:t,width:r,cache:n}=e;return{width:r,...n?{paddingBottom:"1rem",background:`linear-gradient(to bottom, ${t.colors.bgColor} 0%, ${t.colors.bgColor} 80%, transparent 100%)`}:null}}),""),u=(0,c.Z)("div",{target:"e1se5lgy0"})((e=>{let{theme:t}=e;return{display:"flex",gap:t.spacing.sm,alignItems:"center",width:"100%"}}),"");var g=r(40864);const x=function(e){let{width:t,element:r}=e;const{activeTheme:s}=n.useContext(l.E),c=!(0,a.MJ)(s),{cache:d}=r;return(0,g.jsx)(m,{className:o()({stSpinner:!0,cacheSpinner:d}),"data-testid":"stSpinner",width:t,cache:d,children:(0,g.jsxs)(u,{children:[(0,g.jsx)(p,{usingCustomTheme:c}),(0,g.jsx)(i.ZP,{source:r.text,allowHTML:!1})]})})}}}]);
|
@@ -1 +0,0 @@
|
|
1
|
-
(self.webpackChunk_streamlit_app=self.webpackChunk_streamlit_app||[]).push([[7805],{32508:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>c});var s=n(66845),o=n(18157),i=n(91487),r=n(23849),d=n(23593);const a=(0,n(1515).Z)("div",{target:"e1uym6o70"})((e=>{let{theme:t,isFullScreen:n}=e;return{"& *":{fontFamily:t.genericFonts.bodyFont,fontSize:"9.6px"},"& svg":{maxWidth:"100%",width:n?"100%":"auto",height:n?"100%":"auto"},width:n?"100%":"auto",height:n?"100%":"auto"}}),"");var l=n(40864);const c=(0,d.Z)((function(e){let{element:t,isFullScreen:n}=e;const d=`graphviz-chart-${t.elementId}`;return(0,s.useEffect)((()=>{try{if((0,i.graphviz)(`#${d}`).zoom(!1).fit(!0).scale(1).engine(t.engine).renderDot(t.spec),n||t.useContainerWidth){const e=(0,o.Ys)(`#${d} > svg`).node();e.removeAttribute("width"),e.removeAttribute("height")}}catch(e){(0,r.H)(e)}}),[d,t.engine,t.spec,t.useContainerWidth,n]),(0,l.jsx)(a,{className:"graphviz stGraphVizChart","data-testid":"stGraphVizChart",id:d,isFullScreen:n})}))},23593:(e,t,n)=>{"use strict";n.d(t,{Z:()=>w});var s=n(66845),o=n(13005),i=n.n(o),r=n(25621),d=n(82218),a=n(97781),l=n(46927),c=n(66694),h=n(1515);const u=(0,h.Z)("button",{target:"e1vs0wn31"})((e=>{let{isExpanded:t,theme:n}=e;const s=t?{right:"0.4rem",top:"0.5rem",backgroundColor:"transparent"}:{right:"-3.0rem",top:"-0.375rem",opacity:0,transform:"scale(0)",backgroundColor:n.colors.lightenedBg05};return{position:"absolute",display:"flex",alignItems:"center",justifyContent:"center",zIndex:n.zIndices.sidebar+1,height:"2.5rem",width:"2.5rem",transition:"opacity 300ms 150ms, transform 300ms 150ms",border:"none",color:n.colors.fadedText60,borderRadius:"50%",...s,"&:focus":{outline:"none"},"&:active, &:focus-visible, &:hover":{opacity:1,outline:"none",transform:"scale(1)",color:n.colors.bodyText,transition:"none"}}}),""),p=(0,h.Z)("div",{target:"e1vs0wn30"})((e=>{let{theme:t,isExpanded:n}=e;return{"&:hover":{[u]:{opacity:1,transform:"scale(1)",transition:"none"}},...n?{position:"fixed",top:0,left:0,bottom:0,right:0,background:t.colors.bgColor,zIndex:t.zIndices.fullscreenWrapper,padding:t.spacing.md,paddingTop:"2.875rem",overflow:["auto","overlay"],display:"flex",alignItems:"center",justifyContent:"center"}:{}}}),"");var m=n(40864);class g extends s.PureComponent{constructor(e){super(e),this.context=void 0,this.controlKeys=e=>{const{expanded:t}=this.state;27===e.keyCode&&t&&this.zoomOut()},this.zoomIn=()=>{document.body.style.overflow="hidden",this.context.setFullScreen(!0),this.setState({expanded:!0})},this.zoomOut=()=>{document.body.style.overflow="unset",this.context.setFullScreen(!1),this.setState({expanded:!1})},this.convertScssRemValueToPixels=e=>parseFloat(e)*parseFloat(getComputedStyle(document.documentElement).fontSize),this.getWindowDimensions=()=>{const e=this.convertScssRemValueToPixels(this.props.theme.spacing.md),t=this.convertScssRemValueToPixels("2.875rem");return{fullWidth:window.innerWidth-2*e,fullHeight:window.innerHeight-(e+t)}},this.updateWindowDimensions=()=>{this.setState(this.getWindowDimensions())},this.state={expanded:!1,...this.getWindowDimensions()}}componentDidMount(){window.addEventListener("resize",this.updateWindowDimensions),document.addEventListener("keydown",this.controlKeys,!1)}componentWillUnmount(){window.removeEventListener("resize",this.updateWindowDimensions),document.removeEventListener("keydown",this.controlKeys,!1)}render(){const{expanded:e,fullWidth:t,fullHeight:n}=this.state,{children:s,width:o,height:i,disableFullscreenMode:r}=this.props;let c=d.d,h=this.zoomIn,g="View fullscreen";return e&&(c=a.m,h=this.zoomOut,g="Exit fullscreen"),(0,m.jsxs)(p,{isExpanded:e,"data-testid":"stFullScreenFrame",children:[!r&&(0,m.jsx)(u,{"data-testid":"StyledFullScreenButton",onClick:h,title:g,isExpanded:e,children:(0,m.jsx)(l.Z,{content:c})}),s(e?{width:t,height:n,expanded:e,expand:this.zoomIn,collapse:this.zoomOut}:{width:o,height:i,expanded:e,expand:this.zoomIn,collapse:this.zoomOut})]})}}g.contextType=c.E;const x=(0,r.b)(g);const w=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];class n extends s.PureComponent{constructor(){super(...arguments),this.render=()=>{const{width:n,height:s,disableFullscreenMode:o}=this.props;return(0,m.jsx)(x,{width:n,height:s,disableFullscreenMode:t||o,children:t=>{let{width:n,height:s,expanded:o,expand:i,collapse:r}=t;return(0,m.jsx)(e,{...this.props,width:n,height:s,isFullScreen:o,expand:i,collapse:r})}})}}}return n.displayName=`withFullScreenWrapper(${e.displayName||e.name})`,i()(n,e)}},47318:()=>{},57516:()=>{},38728:()=>{}}]);
|
@@ -1 +0,0 @@
|
|
1
|
-
"use strict";(self.webpackChunk_streamlit_app=self.webpackChunk_streamlit_app||[]).push([[8148],{23593:(e,t,n)=>{n.d(t,{Z:()=>b});var i=n(66845),o=n(13005),l=n.n(o),r=n(25621),a=n(82218),s=n(97781),d=n(46927),c=n(66694),u=n(1515);const m=(0,u.Z)("button",{target:"e1vs0wn31"})((e=>{let{isExpanded:t,theme:n}=e;const i=t?{right:"0.4rem",top:"0.5rem",backgroundColor:"transparent"}:{right:"-3.0rem",top:"-0.375rem",opacity:0,transform:"scale(0)",backgroundColor:n.colors.lightenedBg05};return{position:"absolute",display:"flex",alignItems:"center",justifyContent:"center",zIndex:n.zIndices.sidebar+1,height:"2.5rem",width:"2.5rem",transition:"opacity 300ms 150ms, transform 300ms 150ms",border:"none",color:n.colors.fadedText60,borderRadius:"50%",...i,"&:focus":{outline:"none"},"&:active, &:focus-visible, &:hover":{opacity:1,outline:"none",transform:"scale(1)",color:n.colors.bodyText,transition:"none"}}}),""),h=(0,u.Z)("div",{target:"e1vs0wn30"})((e=>{let{theme:t,isExpanded:n}=e;return{"&:hover":{[m]:{opacity:1,transform:"scale(1)",transition:"none"}},...n?{position:"fixed",top:0,left:0,bottom:0,right:0,background:t.colors.bgColor,zIndex:t.zIndices.fullscreenWrapper,padding:t.spacing.md,paddingTop:"2.875rem",overflow:["auto","overlay"],display:"flex",alignItems:"center",justifyContent:"center"}:{}}}),"");var p=n(40864);class g extends i.PureComponent{constructor(e){super(e),this.context=void 0,this.controlKeys=e=>{const{expanded:t}=this.state;27===e.keyCode&&t&&this.zoomOut()},this.zoomIn=()=>{document.body.style.overflow="hidden",this.context.setFullScreen(!0),this.setState({expanded:!0})},this.zoomOut=()=>{document.body.style.overflow="unset",this.context.setFullScreen(!1),this.setState({expanded:!1})},this.convertScssRemValueToPixels=e=>parseFloat(e)*parseFloat(getComputedStyle(document.documentElement).fontSize),this.getWindowDimensions=()=>{const e=this.convertScssRemValueToPixels(this.props.theme.spacing.md),t=this.convertScssRemValueToPixels("2.875rem");return{fullWidth:window.innerWidth-2*e,fullHeight:window.innerHeight-(e+t)}},this.updateWindowDimensions=()=>{this.setState(this.getWindowDimensions())},this.state={expanded:!1,...this.getWindowDimensions()}}componentDidMount(){window.addEventListener("resize",this.updateWindowDimensions),document.addEventListener("keydown",this.controlKeys,!1)}componentWillUnmount(){window.removeEventListener("resize",this.updateWindowDimensions),document.removeEventListener("keydown",this.controlKeys,!1)}render(){const{expanded:e,fullWidth:t,fullHeight:n}=this.state,{children:i,width:o,height:l,disableFullscreenMode:r}=this.props;let c=a.d,u=this.zoomIn,g="View fullscreen";return e&&(c=s.m,u=this.zoomOut,g="Exit fullscreen"),(0,p.jsxs)(h,{isExpanded:e,"data-testid":"stFullScreenFrame",children:[!r&&(0,p.jsx)(m,{"data-testid":"StyledFullScreenButton",onClick:u,title:g,isExpanded:e,children:(0,p.jsx)(d.Z,{content:c})}),i(e?{width:t,height:n,expanded:e,expand:this.zoomIn,collapse:this.zoomOut}:{width:o,height:l,expanded:e,expand:this.zoomIn,collapse:this.zoomOut})]})}}g.contextType=c.E;const f=(0,r.b)(g);const b=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];class n extends i.PureComponent{constructor(){super(...arguments),this.render=()=>{const{width:n,height:i,disableFullscreenMode:o}=this.props;return(0,p.jsx)(f,{width:n,height:i,disableFullscreenMode:t||o,children:t=>{let{width:n,height:i,expanded:o,expand:l,collapse:r}=t;return(0,p.jsx)(e,{...this.props,width:n,height:i,isFullScreen:o,expand:l,collapse:r})}})}}}return n.displayName=`withFullScreenWrapper(${e.displayName||e.name})`,l()(n,e)}},75064:(e,t,n)=>{n.r(t),n.d(t,{default:()=>Vt});var i=n(66845),o=n(67930),l=n(78170),r=n(17330),a=n(20545),s=n(57463),d=n(97943),c=n(41342),u=n(17875),m=n(87814),h=n(23593),p=n(16295),g=n(50641),f=n(25621),b=n(34367),v=n(31011),y=n(12596),w=n(68411),x=n(9003),C=n(81354),E=n(46927),S=n(1515),M=n(27466);const k="-2.4rem",T=(0,S.Z)("div",{target:"e2wxzia1"})((e=>{let{theme:t,locked:n,target:i}=e;return{padding:`${t.spacing.sm} 0 ${t.spacing.sm} ${t.spacing.sm}`,position:"absolute",top:n?k:"-1rem",right:t.spacing.none,transition:"none",...!n&&{opacity:0,"&:active, &:focus-visible, &:hover":{transition:"opacity 150ms 100ms, top 100ms 100ms",opacity:1,top:k},...i&&{[`${i}:hover &, ${i}:active &, ${i}:focus-visible &`]:{transition:"opacity 150ms 100ms, top 100ms 100ms",opacity:1,top:k}}}}}),""),R=(0,S.Z)("div",{target:"e2wxzia0"})((e=>{let{theme:t}=e;return{color:(0,M.Iy)(t)?t.colors.fadedText60:t.colors.bodyText,display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"flex-end",boxShadow:"1px 2px 8px rgba(0, 0, 0, 0.08)",borderRadius:t.radii.default,backgroundColor:t.colors.lightenedBg05,width:"fit-content",zIndex:t.zIndices.sidebar+1}}),"");var I=n(40864);function N(e){let{label:t,show_label:n,icon:i,onClick:o}=e;const l=(0,f.u)(),r=n?t:"";return(0,I.jsx)("div",{"data-testid":"stElementToolbarButton",children:(0,I.jsx)(w.Z,{content:(0,I.jsx)(y.ZP,{source:t,allowHTML:!1,style:{fontSize:l.fontSizes.sm}}),placement:w.u.TOP,onMouseEnterDelay:1e3,inline:!0,children:(0,I.jsxs)(x.ZP,{onClick:e=>{o&&o(),e.stopPropagation()},kind:C.nW.ELEMENT_TOOLBAR,children:[i&&(0,I.jsx)(E.Z,{content:i,size:"md",testid:"stElementToolbarButtonIcon"}),r&&(0,I.jsx)("span",{children:r})]})})})}const _=e=>{let{onExpand:t,onCollapse:n,isFullScreen:i,locked:o,children:l,target:r,disableFullscreenMode:a}=e;return(0,I.jsx)(T,{className:"stElementToolbar","data-testid":"stElementToolbar",locked:o||i,target:r,children:(0,I.jsxs)(R,{children:[l,t&&!a&&!i&&(0,I.jsx)(N,{label:"Fullscreen",icon:b.i,onClick:()=>t()}),n&&!a&&i&&(0,I.jsx)(N,{label:"Close fullscreen",icon:v.m,onClick:()=>n()})]})})};var O=n(66694),D=n(38145),A=n.n(D),F=n(96825),z=n.n(F),$=n(29724),V=n.n($),H=n(52347),L=n(25267),W=n.n(L),j=(n(87717),n(35848)),B=n.n(j),P=n(91191);const Z=["true","t","yes","y","on","1"],Y=["false","f","no","n","off","0"];function U(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return e=`\u26a0\ufe0f ${e}`,{kind:o.p6.Text,readonly:!0,allowOverlay:!0,data:e+(t?`\n\n${t}\n`:""),displayData:e,isError:!0}}function q(e){return e.hasOwnProperty("isError")&&e.isError}function J(e){return e.hasOwnProperty("isMissingValue")&&e.isMissingValue}function K(){return arguments.length>0&&void 0!==arguments[0]&&arguments[0]?{kind:o.p6.Loading,allowOverlay:!1,isMissingValue:!0}:{kind:o.p6.Loading,allowOverlay:!1}}function G(e,t){const n=t?"faded":"normal";return{kind:o.p6.Text,data:"",displayData:"",allowOverlay:!0,readonly:e,style:n}}function X(e){return{id:e.id,title:e.title,hasMenu:!1,themeOverride:e.themeOverride,icon:e.icon,...e.isStretched&&{grow:e.isIndex?1:3},...e.width&&{width:e.width}}}function Q(e,t){return(0,g.le)(e)?t||{}:(0,g.le)(t)?e||{}:z()(e,t)}function ee(e){if((0,g.le)(e))return[];if("number"===typeof e||"boolean"===typeof e)return[e];if("string"===typeof e){if(""===e)return[];if(!e.trim().startsWith("[")||!e.trim().endsWith("]"))return e.split(",");try{return JSON.parse(e)}catch(t){return[e]}}try{const t=JSON.parse(JSON.stringify(e,((e,t)=>"bigint"===typeof t?Number(t):t)));return Array.isArray(t)?t.map((e=>["string","number","boolean","null"].includes(typeof e)?e:te(e))):[te(t)]}catch(t){return[te(e)]}}function te(e){try{try{return A()(e)}catch(t){return JSON.stringify(e,((e,t)=>"bigint"===typeof t?Number(t):t))}}catch(t){return`[${typeof e}]`}}function ne(e){if((0,g.le)(e))return null;if("boolean"===typeof e)return e;const t=te(e).toLowerCase().trim();return""===t?null:!!Z.includes(t)||!Y.includes(t)&&void 0}function ie(e){if((0,g.le)(e))return null;if(Array.isArray(e))return NaN;if("string"===typeof e){if(0===e.trim().length)return null;try{const t=V().unformat(e.trim());if((0,g.bb)(t))return t}catch(t){}}else if(e instanceof Int32Array)return Number(e[0]);return Number(e)}function oe(e,t,n){return Number.isNaN(e)||!Number.isFinite(e)?"":(0,g.le)(t)||""===t?(0===n&&(e=Math.round(e)),V()(e).format((0,g.bb)(n)?`0,0.${"0".repeat(n)}`:"0,0.[0000]")):"percent"===t?new Intl.NumberFormat(void 0,{style:"percent",minimumFractionDigits:2,maximumFractionDigits:2}).format(e):["compact","scientific","engineering"].includes(t)?new Intl.NumberFormat(void 0,{notation:t}).format(e):"duration[ns]"===t?W().duration(e/1e6,"milliseconds").humanize():t.startsWith("period[")?P.fu.formatPeriodType(BigInt(e),t):(0,H.sprintf)(t,e)}function le(e,t){return"locale"===t?new Intl.DateTimeFormat(void 0,{dateStyle:"medium",timeStyle:"medium"}).format(e.toDate()):"distance"===t?e.fromNow():"relative"===t?e.calendar():e.format(t)}function re(e){if((0,g.le)(e))return null;if(e instanceof Date)return isNaN(e.getTime())?void 0:e;if("string"===typeof e&&0===e.trim().length)return null;try{const t=Number(e);if(!isNaN(t)){let e=t;t>=10**18?e=t/1e3**3:t>=10**15?e=t/1e6:t>=10**12&&(e=t/1e3);const n=W().unix(e).utc();if(n.isValid())return n.toDate()}if("string"===typeof e){const t=W().utc(e);if(t.isValid())return t.toDate();const n=W().utc(e,[W().HTML5_FMT.TIME_MS,W().HTML5_FMT.TIME_SECONDS,W().HTML5_FMT.TIME]);if(n.isValid())return n.toDate()}}catch(t){return}}function ae(e){if(e%1===0)return 0;let t=e.toString();return-1!==t.indexOf("e")&&(t=e.toLocaleString("fullwide",{useGrouping:!1,maximumFractionDigits:20})),-1===t.indexOf(".")?0:t.split(".")[1].length}const se=new RegExp(/(\r\n|\n|\r)/gm);function de(e){return-1!==e.indexOf("\n")?e.replace(se," "):e}var ce=n(23849);function ue(e){const t={kind:o.p6.Text,data:"",displayData:"",allowOverlay:!0,contentAlignment:e.contentAlignment,readonly:!0,style:e.isIndex?"faded":"normal"};return{...e,kind:"object",sortMode:"default",isEditable:!1,getCell(e){try{const n=(0,g.bb)(e)?te(e):null,i=(0,g.bb)(n)?de(n):"";return{...t,data:n,displayData:i,isMissingValue:(0,g.le)(e)}}catch(n){return U(te(e),`The value cannot be interpreted as a string. Error: ${n}`)}},getCellValue:e=>void 0===e.data?null:e.data}}ue.isEditableType=!1;const me=ue;function he(e){const t=e.columnTypeOptions||{};let n;if(t.validate)try{n=new RegExp(t.validate,"us")}catch(r){n=`Invalid validate regex: ${t.validate}.\nError: ${r}`}const i={kind:o.p6.Text,data:"",displayData:"",allowOverlay:!0,contentAlignment:e.contentAlignment,readonly:!e.isEditable,style:e.isIndex?"faded":"normal"},l=i=>{if((0,g.le)(i))return!e.isRequired;let o=te(i),l=!1;return t.max_chars&&o.length>t.max_chars&&(o=o.slice(0,t.max_chars),l=!0),!(n instanceof RegExp&&!1===n.test(o))&&(!l||o)};return{...e,kind:"text",sortMode:"default",validateInput:l,getCell(e,t){if("string"===typeof n)return U(te(e),n);if(t){const t=l(e);if(!1===t)return U(te(e),"Invalid input.");"string"===typeof t&&(e=t)}try{const t=(0,g.bb)(e)?te(e):null,n=(0,g.bb)(t)?de(t):"";return{...i,isMissingValue:(0,g.le)(t),data:t,displayData:n}}catch(r){return U("Incompatible value",`The value cannot be interpreted as string. Error: ${r}`)}},getCellValue:e=>void 0===e.data?null:e.data}}he.isEditableType=!0;const pe=he;function ge(e,t){return e=t.startsWith("+")||t.startsWith("-")?e.utcOffset(t,!1):e.tz(t)}function fe(e,t,n,i,l,r,a){var s;const d=Q({format:n,step:i,timezone:a},t.columnTypeOptions);let c,u,m;if((0,g.bb)(d.timezone))try{var h;c=(null===(h=ge(B()(),d.timezone))||void 0===h?void 0:h.utcOffset())||void 0}catch(b){}(0,g.bb)(d.min_value)&&(u=re(d.min_value)||void 0),(0,g.bb)(d.max_value)&&(m=re(d.max_value)||void 0);const p={kind:o.p6.Custom,allowOverlay:!0,copyData:"",readonly:!t.isEditable,contentAlign:t.contentAlignment,style:t.isIndex?"faded":"normal",data:{kind:"date-picker-cell",date:void 0,displayDate:"",step:(null===(s=d.step)||void 0===s?void 0:s.toString())||"1",format:l,min:u,max:m}},f=e=>{const n=re(e);return null===n?!t.isRequired:void 0!==n&&(!((0,g.bb)(u)&&r(n)<r(u))&&!((0,g.bb)(m)&&r(n)>r(m)))};return{...t,kind:e,sortMode:"default",validateInput:f,getCell(e,t){if(!0===t){const t=f(e);if(!1===t)return U(te(e),"Invalid input.");t instanceof Date&&(e=t)}const i=re(e);let o="",l="",r=c;if(void 0===i)return U(te(e),"The value cannot be interpreted as a datetime object.");if(null!==i){let e=B().utc(i);if(!e.isValid())return U(te(i),`This should never happen. Please report this bug. \nError: ${e.toString()}`);if(d.timezone){try{e=ge(e,d.timezone)}catch(b){return U(e.toISOString(),`Failed to adjust to the provided timezone: ${d.timezone}. \nError: ${b}`)}r=e.utcOffset()}try{l=le(e,d.format||n)}catch(b){return U(e.toISOString(),`Failed to format the date for rendering with: ${d.format}. \nError: ${b}`)}o=le(e,n)}return{...p,copyData:o,isMissingValue:(0,g.le)(i),data:{...p.data,date:i,displayDate:l,timezoneOffset:r}}},getCellValue(e){var t;return(0,g.le)(null===e||void 0===e||null===(t=e.data)||void 0===t?void 0:t.date)?null:r(e.data.date)}}}function be(e){var t,n,i,o,l;let r="YYYY-MM-DD HH:mm:ss";(null===(t=e.columnTypeOptions)||void 0===t?void 0:t.step)>=60?r="YYYY-MM-DD HH:mm":(null===(n=e.columnTypeOptions)||void 0===n?void 0:n.step)<1&&(r="YYYY-MM-DD HH:mm:ss.SSS");const a=null===(i=e.arrowType)||void 0===i||null===(o=i.meta)||void 0===o?void 0:o.timezone,s=(0,g.bb)(a)||(0,g.bb)(null===e||void 0===e||null===(l=e.columnTypeOptions)||void 0===l?void 0:l.timezone);return fe("datetime",e,s?r+"Z":r,1,"datetime-local",(e=>s?e.toISOString():e.toISOString().replace("Z","")),a)}function ve(e){var t,n;let i="HH:mm:ss";return(null===(t=e.columnTypeOptions)||void 0===t?void 0:t.step)>=60?i="HH:mm":(null===(n=e.columnTypeOptions)||void 0===n?void 0:n.step)<1&&(i="HH:mm:ss.SSS"),fe("time",e,i,1,"time",(e=>e.toISOString().split("T")[1].replace("Z","")))}function ye(e){return fe("date",e,"YYYY-MM-DD",1,"date",(e=>e.toISOString().split("T")[0]))}function we(e){const t={kind:o.p6.Boolean,data:!1,allowOverlay:!1,contentAlign:e.contentAlignment,readonly:!e.isEditable,style:e.isIndex?"faded":"normal"};return{...e,kind:"checkbox",sortMode:"default",getCell(e){let n=null;return n=ne(e),void 0===n?U(te(e),"The value cannot be interpreted as boolean."):{...t,data:n,isMissingValue:(0,g.le)(n)}},getCellValue:e=>void 0===e.data?null:e.data}}be.isEditableType=!0,ve.isEditableType=!0,ye.isEditableType=!0,we.isEditableType=!0;const xe=we;function Ce(e){return e.startsWith("int")&&!e.startsWith("interval")||"range"===e||e.startsWith("uint")}function Ee(e){const t=P.fu.getTypeName(e.arrowType);let n;"timedelta64[ns]"===t?n="duration[ns]":t.startsWith("period[")&&(n=t);const i=Q({step:Ce(t)?1:void 0,min_value:t.startsWith("uint")?0:void 0,format:n},e.columnTypeOptions),l=(0,g.le)(i.min_value)||i.min_value<0,r=(0,g.bb)(i.step)&&!Number.isNaN(i.step)?ae(i.step):void 0,a={kind:o.p6.Number,data:void 0,displayData:"",readonly:!e.isEditable,allowOverlay:!0,contentAlign:e.contentAlignment||"right",style:e.isIndex?"faded":"normal",allowNegative:l,fixedDecimals:r,thousandSeparator:""},s=t=>{let n=ie(t);if((0,g.le)(n))return!e.isRequired;if(Number.isNaN(n))return!1;let o=!1;return(0,g.bb)(i.max_value)&&n>i.max_value&&(n=i.max_value,o=!0),!((0,g.bb)(i.min_value)&&n<i.min_value)&&(!o||n)};return{...e,kind:"number",sortMode:"smart",validateInput:s,getCell(e,t){if(!0===t){const t=s(e);if(!1===t)return U(te(e),"Invalid input.");"number"===typeof t&&(e=t)}let n=ie(e),o="";if((0,g.bb)(n)){if(Number.isNaN(n))return U(te(e),"The value cannot be interpreted as a number.");if((0,g.bb)(r)&&(l=n,n=0===(d=r)?Math.trunc(l):Math.trunc(l*10**d)/10**d),Number.isInteger(n)&&!Number.isSafeInteger(n))return U(te(e),"The value is larger than the maximum supported integer values in number columns (2^53).");try{o=oe(n,i.format,r)}catch(c){return U(te(n),(0,g.bb)(i.format)?`Failed to format the number based on the provided format configuration: (${i.format}). Error: ${c}`:`Failed to format the number. Error: ${c}`)}}var l,d;return{...a,data:n,displayData:o,isMissingValue:(0,g.le)(n),copyData:(0,g.le)(n)?"":te(n)}},getCellValue:e=>void 0===e.data?null:e.data}}Ee.isEditableType=!0;const Se=Ee;function Me(e){let t="string";const n=Q({options:"bool"===P.fu.getTypeName(e.arrowType)?[!0,!1]:[]},e.columnTypeOptions),i=new Set(n.options.map((e=>typeof e)));1===i.size&&(i.has("number")||i.has("bigint")?t="number":i.has("boolean")&&(t="boolean"));const l={kind:o.p6.Custom,allowOverlay:!0,copyData:"",contentAlign:e.contentAlignment,readonly:!e.isEditable,style:e.isIndex?"faded":"normal",data:{kind:"dropdown-cell",allowedValues:[...!0!==e.isRequired?[null]:[],...n.options.filter((e=>null!==e&&""!==e)).map((e=>te(e)))],value:""}};return{...e,kind:"selectbox",sortMode:"default",getCell(e,t){let n=null;return(0,g.bb)(e)&&""!==e&&(n=te(e)),t&&!l.data.allowedValues.includes(n)?U(te(n),"The value is not part of the allowed options."):{...l,isMissingValue:null===n,copyData:n||"",data:{...l.data,value:n}}},getCellValue(e){var n,i,o,l,r,a,s;return(0,g.le)(null===(n=e.data)||void 0===n?void 0:n.value)||""===(null===(i=e.data)||void 0===i?void 0:i.value)?null:"number"===t?null!==(l=ie(null===(r=e.data)||void 0===r?void 0:r.value))&&void 0!==l?l:null:"boolean"===t?null!==(a=ne(null===(s=e.data)||void 0===s?void 0:s.value))&&void 0!==a?a:null:null===(o=e.data)||void 0===o?void 0:o.value}}}Me.isEditableType=!0;const ke=Me;function Te(e){const t={kind:o.p6.Bubble,data:[],allowOverlay:!0,contentAlign:e.contentAlignment,style:e.isIndex?"faded":"normal"};return{...e,kind:"list",sortMode:"default",isEditable:!1,getCell(e){const n=(0,g.le)(e)?[]:ee(e);return{...t,data:n,isMissingValue:(0,g.le)(e),copyData:(0,g.le)(e)?"":te(n.map((e=>"string"===typeof e&&e.includes(",")?e.replace(/,/g," "):e)))}},getCellValue:e=>(0,g.le)(e.data)||J(e)?null:e.data}}Te.isEditableType=!1;const Re=Te;function Ie(e,t,n){const i=new RegExp(`${e}[,\\s].*{(?:[^}]*[\\s;]{1})?${t}:\\s*([^;}]+)[;]?.*}`,"gm");n=n.replace(/{/g," {");const o=i.exec(n);if(o)return o[1].trim()}function Ne(e,t){const n=e.types.index[t],i=e.indexNames[t];let o=!0;return"range"===P.fu.getTypeName(n)&&(o=!1),{id:`index-${t}`,name:i,title:i,isEditable:o,arrowType:n,isIndex:!0,isHidden:!1}}function _e(e,t){const n=e.columns[0][t];let i,o=e.types.data[t];if((0,g.le)(o)&&(o={meta:null,numpy_type:"object",pandas_type:"object"}),"categorical"===P.fu.getTypeName(o)){const n=e.getCategoricalOptions(t);(0,g.bb)(n)&&(i={options:n})}return{id:`column-${n}-${t}`,name:n,title:n,isEditable:!0,arrowType:o,columnTypeOptions:i,isIndex:!1,isHidden:!1}}function Oe(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0;const i=e.arrowType?P.fu.getTypeName(e.arrowType):null;let l;if("object"===e.kind)l=e.getCell((0,g.bb)(t.content)?de(P.fu.format(t.content,t.contentType,t.field)):null);else if(["time","date","datetime"].includes(e.kind)&&(0,g.bb)(t.content)&&("number"===typeof t.content||"bigint"===typeof t.content)){var r,a;let n;var s,d,c;if("time"===i&&(0,g.bb)(null===(r=t.field)||void 0===r||null===(a=r.type)||void 0===a?void 0:a.unit))n=W().unix(P.fu.convertToSeconds(t.content,null!==(s=null===(d=t.field)||void 0===d||null===(c=d.type)||void 0===c?void 0:c.unit)&&void 0!==s?s:0)).utc().toDate();else n=W().utc(Number(t.content)).toDate();l=e.getCell(n)}else if("decimal"===i){const n=(0,g.le)(t.content)?null:P.fu.format(t.content,t.contentType,t.field);l=e.getCell(n)}else l=e.getCell(t.content);if(q(l))return l;if(!e.isEditable){if((0,g.bb)(t.displayContent)){var u;const e=de(t.displayContent);l.kind===o.p6.Text||l.kind===o.p6.Number||l.kind===o.p6.Uri?l={...l,displayData:e}:l.kind===o.p6.Custom&&"date-picker-cell"===(null===(u=l.data)||void 0===u?void 0:u.kind)&&(l={...l,data:{...l.data,displayDate:e}})}n&&t.cssId&&(l=function(e,t,n){const i={},o=Ie(t,"color",n);o&&(i.textDark=o);const l=Ie(t,"background-color",n);return l&&(i.bgCell=l),"yellow"===l&&void 0===o&&(i.textDark="#31333F"),i?{...e,themeOverride:i}:e}(l,t.cssId,n))}return l}function De(e){const t=e.columnTypeOptions||{};let n,i;if(t.validate)try{n=new RegExp(t.validate,"us")}catch(a){n=`Invalid validate regex: ${t.validate}.\nError: ${a}`}if(!(0,g.le)(t.display_text)&&t.display_text.includes("(")&&t.display_text.includes(")"))try{i=new RegExp(t.display_text,"us")}catch(a){i=void 0}const l={kind:o.p6.Uri,readonly:!e.isEditable,allowOverlay:!0,contentAlign:e.contentAlignment,style:e.isIndex?"faded":"normal",hoverEffect:!0,data:"",displayData:"",copyData:""},r=i=>{if((0,g.le)(i))return!e.isRequired;const o=te(i);return!(t.max_chars&&o.length>t.max_chars)&&!(n instanceof RegExp&&!1===n.test(o))};return{...e,kind:"link",sortMode:"default",validateInput:r,getCell(e,o){if((0,g.le)(e))return{...l,data:null,isMissingValue:!0,onClickUri:()=>{}};const s=e;if("string"===typeof n)return U(te(s),n);if(o){if(!1===r(s))return U(te(s),"Invalid input.")}let d="";return s&&(d=void 0!==i?function(e,t){if((0,g.le)(t))return"";try{const n=t.match(e);return n&&void 0!==n[1]?decodeURI(n[1]):t}catch(a){return t}}(i,s):t.display_text||s),{...l,data:s,displayData:d,isMissingValue:(0,g.le)(s),onClickUri:e=>{window.open(s.startsWith("www.")?`https://${s}`:s,"_blank","noopener,noreferrer"),e.preventDefault()},copyData:s}},getCellValue:e=>(0,g.le)(e.data)?null:e.data}}De.isEditableType=!0;const Ae=De;function Fe(e){const t={kind:o.p6.Image,data:[],displayData:[],readonly:!0,allowOverlay:!0,contentAlign:e.contentAlignment||"center",style:e.isIndex?"faded":"normal"};return{...e,kind:"image",sortMode:"default",isEditable:!1,getCell(e){const n=(0,g.bb)(e)?[te(e)]:[];return{...t,data:n,isMissingValue:!(0,g.bb)(e),displayData:n}},getCellValue:e=>void 0===e.data||0===e.data.length?null:e.data[0]}}Fe.isEditableType=!1;const ze=Fe;function $e(e){const t=Ce(P.fu.getTypeName(e.arrowType)),n=Q({min_value:0,max_value:t?100:1,step:t?1:.01,format:t?"%3d%%":"percent"},e.columnTypeOptions);let i;try{i=oe(n.max_value,n.format)}catch(a){i=te(n.max_value)}const l=(0,g.le)(n.step)||Number.isNaN(n.step)?void 0:ae(n.step),r={kind:o.p6.Custom,allowOverlay:!1,copyData:"",contentAlign:e.contentAlignment,data:{kind:"range-cell",min:n.min_value,max:n.max_value,step:n.step,value:n.min_value,label:String(n.min_value),measureLabel:i,readonly:!0}};return{...e,kind:"progress",sortMode:"smart",isEditable:!1,getCell(e){if((0,g.le)(e))return K();if((0,g.le)(n.min_value)||(0,g.le)(n.max_value)||Number.isNaN(n.min_value)||Number.isNaN(n.max_value)||n.min_value>=n.max_value)return U("Invalid min/max parameters",`The min_value (${n.min_value}) and max_value (${n.max_value}) parameters must be valid numbers.`);if((0,g.le)(n.step)||Number.isNaN(n.step))return U("Invalid step parameter",`The step parameter (${n.step}) must be a valid number.`);const t=ie(e);if(Number.isNaN(t)||(0,g.le)(t))return U(te(e),"The value cannot be interpreted as a number.");if(Number.isInteger(t)&&!Number.isSafeInteger(t))return U(te(e),"The value is larger than the maximum supported integer values in number columns (2^53).");let i="";try{i=oe(t,n.format,l)}catch(a){return U(te(t),(0,g.bb)(n.format)?`Failed to format the number based on the provided format configuration: (${n.format}). Error: ${a}`:`Failed to format the number. Error: ${a}`)}const o=Math.min(n.max_value,Math.max(n.min_value,t));return{...r,isMissingValue:(0,g.le)(e),copyData:String(t),data:{...r.data,value:o,label:i}}},getCellValue(e){var t,n;return e.kind===o.p6.Loading||void 0===(null===(t=e.data)||void 0===t?void 0:t.value)?null:null===(n=e.data)||void 0===n?void 0:n.value}}}$e.isEditableType=!1;const Ve=$e;function He(e,t,n){const i=Q({y_min:0,y_max:1},t.columnTypeOptions),l={kind:o.p6.Custom,allowOverlay:!1,copyData:"",contentAlign:t.contentAlignment,data:{kind:"sparkline-cell",values:[],displayValues:[],graphKind:n,yAxis:[i.y_min,i.y_max]}};return{...t,kind:e,sortMode:"default",isEditable:!1,getCell(e){if((0,g.le)(i.y_min)||(0,g.le)(i.y_max)||Number.isNaN(i.y_min)||Number.isNaN(i.y_max)||i.y_min>=i.y_max)return U("Invalid min/max y-axis configuration",`The y_min (${i.y_min}) and y_max (${i.y_max}) configuration options must be valid numbers.`);if((0,g.le)(e))return K();const t=ee(e),n=[];let o=[];if(0===t.length)return K();let r=Number.MIN_SAFE_INTEGER,a=Number.MAX_SAFE_INTEGER;for(let i=0;i<t.length;i++){const e=ie(t[i]);if(Number.isNaN(e)||(0,g.le)(e))return U(te(t),`The value cannot be interpreted as a numeric array. ${te(e)} is not a number.`);e>r&&(r=e),e<a&&(a=e),n.push(e)}return o=n.length>0&&(r>i.y_max||a<i.y_min)?n.map((e=>r-a===0?r>(i.y_max||1)?i.y_max||1:i.y_min||0:((i.y_max||1)-(i.y_min||0))*((e-a)/(r-a))+(i.y_min||0))):n,{...l,copyData:n.join(","),data:{...l.data,values:o,displayValues:n.map((e=>oe(e)))},isMissingValue:(0,g.le)(e)}},getCellValue(e){var t,n;return e.kind===o.p6.Loading||void 0===(null===(t=e.data)||void 0===t?void 0:t.values)?null:null===(n=e.data)||void 0===n?void 0:n.values}}}function Le(e){return He("line_chart",e,"line")}function We(e){return He("bar_chart",e,"bar")}function je(e){return He("area_chart",e,"area")}Le.isEditableType=!1,We.isEditableType=!1,je.isEditableType=!1;const Be=new Map(Object.entries({object:me,text:pe,checkbox:xe,selectbox:ke,list:Re,number:Se,link:Ae,datetime:be,date:ye,time:ve,line_chart:Le,bar_chart:We,area_chart:je,image:ze,progress:Ve})),Pe=[],Ze="_index",Ye="_pos:",Ue={small:75,medium:200,large:400};function qe(e){if(!(0,g.le)(e))return"number"===typeof e?e:e in Ue?Ue[e]:void 0}function Je(e,t){if(!t)return e;let n;return t.has(e.name)&&e.name!==Ze?n=t.get(e.name):t.has(`${Ye}${e.indexNumber}`)?n=t.get(`${Ye}${e.indexNumber}`):e.isIndex&&t.has(Ze)&&(n=t.get(Ze)),n?z()({...e},{title:n.label,width:qe(n.width),isEditable:(0,g.bb)(n.disabled)?!n.disabled:void 0,isHidden:n.hidden,isRequired:n.required,columnTypeOptions:n.type_config,contentAlignment:n.alignment,defaultValue:n.default,help:n.help}):e}function Ke(e){var t;const n=null===(t=e.columnTypeOptions)||void 0===t?void 0:t.type;let i;return(0,g.bb)(n)&&(Be.has(n)?i=Be.get(n):(0,ce.KE)(`Unknown column type configured in column configuration: ${n}`)),(0,g.le)(i)&&(i=function(e){let t=e?P.fu.getTypeName(e):null;return t?(t=t.toLowerCase().trim(),["unicode","empty","large_string[pyarrow]"].includes(t)?pe:["datetime","datetimetz"].includes(t)?be:"time"===t?ve:"date"===t?ye:["object","bytes"].includes(t)?me:["bool"].includes(t)?xe:["int8","int16","int32","int64","uint8","uint16","uint32","uint64","float16","float32","float64","float96","float128","range","decimal"].includes(t)?Se:"categorical"===t?ke:t.startsWith("list")?Re:me):me}(e.arrowType)),i}const Ge=function(e,t,n){const o=(0,f.u)(),l=i.useMemo((()=>function(e){if(!e)return new Map;try{return new Map(Object.entries(JSON.parse(e)))}catch(t){return(0,ce.H)(t),new Map}}(e.columns)),[e.columns]),r=e.useContainerWidth||(0,g.bb)(e.width)&&e.width>0;return{columns:i.useMemo((()=>{let i=function(e){const t=[],{dimensions:n}=e,i=n.headerColumns,o=n.dataColumns;if(0===i&&0===o)return t.push({id:"empty-index",title:"",indexNumber:0,isEditable:!1,isIndex:!0}),t;for(let l=0;l<i;l++){const n={...Ne(e,l),indexNumber:l};t.push(n)}for(let l=0;l<o;l++){const n={..._e(e,l),indexNumber:l+i};t.push(n)}return t}(t).map((t=>{let i={...t,...Je(t,l),isStretched:r};const a=Ke(i);return(e.editingMode===p.Eh.EditingMode.READ_ONLY||n||!1===a.isEditableType)&&(i={...i,isEditable:!1}),e.editingMode!==p.Eh.EditingMode.READ_ONLY&&1==i.isEditable&&(i={...i,icon:"editable"},i.isRequired&&e.editingMode===p.Eh.EditingMode.DYNAMIC&&(i={...i,isHidden:!1})),a(i,o)})).filter((e=>!e.isHidden));if(e.columnOrder&&e.columnOrder.length>0){const t=[];i.forEach((e=>{e.isIndex&&t.push(e)})),e.columnOrder.forEach((e=>{const n=i.find((t=>t.name===e));n&&!n.isIndex&&t.push(n)})),i=t}return i.length>0?i:[me({id:"empty-index",title:"",indexNumber:0,isEditable:!1,isIndex:!0})]}),[t,l,r,n,e.editingMode,e.columnOrder,o])}};function Xe(e){return e.isIndex?Ze:(0,g.le)(e.name)?"":e.name}const Qe=class{constructor(e){this.editedCells=new Map,this.addedRows=[],this.deletedRows=[],this.numRows=0,this.numRows=e}toJson(e){const t=new Map;e.forEach((e=>{t.set(e.indexNumber,e)}));const n={edited_rows:{},added_rows:[],deleted_rows:[]};this.editedCells.forEach(((e,i,o)=>{const l={};e.forEach(((e,n,i)=>{const o=t.get(n);o&&(l[Xe(o)]=o.getCellValue(e))})),n.edited_rows[i]=l})),this.addedRows.forEach((e=>{const i={};let o=!1;e.forEach(((e,n,l)=>{const r=t.get(n);if(r){const t=r.getCellValue(e);r.isRequired&&r.isEditable&&J(e)&&(o=!0),(0,g.bb)(t)&&(i[Xe(r)]=t)}})),o||n.added_rows.push(i)})),n.deleted_rows=this.deletedRows;return JSON.stringify(n,((e,t)=>void 0===t?null:t))}fromJson(e,t){this.editedCells=new Map,this.addedRows=[],this.deletedRows=[];const n=JSON.parse(e),i=new Map;t.forEach((e=>{i.set(e.indexNumber,e)}));const o=new Map;t.forEach((e=>{o.set(Xe(e),e)})),Object.keys(n.edited_rows).forEach((e=>{const t=Number(e),i=n.edited_rows[e];Object.keys(i).forEach((e=>{const n=i[e],l=o.get(e);if(l){const e=l.getCell(n);var r;if(e)this.editedCells.has(t)||this.editedCells.set(t,new Map),null===(r=this.editedCells.get(t))||void 0===r||r.set(l.indexNumber,e)}}))})),n.added_rows.forEach((e=>{const n=new Map;t.forEach((e=>{n.set(e.indexNumber,e.getCell(null))})),Object.keys(e).forEach((t=>{const i=e[t],l=o.get(t);if(l){const e=l.getCell(i);e&&n.set(l.indexNumber,e)}})),this.addedRows.push(n)})),this.deletedRows=n.deleted_rows}isAddedRow(e){return e>=this.numRows}getCell(e,t){if(this.isAddedRow(t))return this.addedRows[t-this.numRows].get(e);const n=this.editedCells.get(t);return void 0!==n?n.get(e):void 0}setCell(e,t,n){if(this.isAddedRow(t)){if(t-this.numRows>=this.addedRows.length)return;this.addedRows[t-this.numRows].set(e,n)}else{void 0===this.editedCells.get(t)&&this.editedCells.set(t,new Map);this.editedCells.get(t).set(e,n)}}addRow(e){this.addedRows.push(e)}deleteRows(e){e.sort(((e,t)=>t-e)).forEach((e=>{this.deleteRow(e)}))}deleteRow(e){(0,g.le)(e)||e<0||(this.isAddedRow(e)?this.addedRows.splice(e-this.numRows,1):(this.deletedRows.includes(e)||(this.deletedRows.push(e),this.deletedRows=this.deletedRows.sort(((e,t)=>e-t))),this.editedCells.delete(e)))}getOriginalRowIndex(e){let t=e;for(let n=0;n<this.deletedRows.length&&!(this.deletedRows[n]>t);n++)t+=1;return t}getNumRows(){return this.numRows+this.addedRows.length-this.deletedRows.length}};var et=n(35704);const tt=function(){const e=(0,f.u)(),t=i.useMemo((()=>({editable:e=>`<svg xmlns="http://www.w3.org/2000/svg" height="40" viewBox="0 96 960 960" width="40" fill="${e.bgColor}"><path d="m800.641 679.743-64.384-64.384 29-29q7.156-6.948 17.642-6.948 10.485 0 17.742 6.948l29 29q6.948 7.464 6.948 17.95 0 10.486-6.948 17.434l-29 29Zm-310.64 246.256v-64.383l210.82-210.821 64.384 64.384-210.821 210.82h-64.383Zm-360-204.872v-50.254h289.743v50.254H130.001Zm0-162.564v-50.255h454.615v50.255H130.001Zm0-162.307v-50.255h454.615v50.255H130.001Z"/></svg>`})),[]);return{theme:i.useMemo((()=>({accentColor:e.colors.primary,accentFg:e.colors.white,accentLight:(0,et.DZ)(e.colors.primary,.9),borderColor:e.colors.fadedText05,horizontalBorderColor:e.colors.fadedText05,fontFamily:e.genericFonts.bodyFont,bgSearchResult:(0,et.DZ)(e.colors.primary,.9),resizeIndicatorColor:e.colors.primary,bgIconHeader:e.colors.fadedText60,fgIconHeader:e.colors.white,bgHeader:e.colors.bgMix,bgHeaderHasFocus:e.colors.secondaryBg,bgHeaderHovered:e.colors.secondaryBg,textHeader:e.colors.fadedText60,textHeaderSelected:e.colors.white,textGroupHeader:e.colors.fadedText60,headerFontStyle:`${e.fontSizes.sm}`,baseFontStyle:e.fontSizes.sm,editorFontSize:e.fontSizes.sm,textDark:e.colors.bodyText,textMedium:(0,et.DZ)(e.colors.bodyText,.2),textLight:e.colors.fadedText40,textBubble:e.colors.fadedText60,bgCell:e.colors.bgColor,bgCellMedium:e.colors.bgColor,cellHorizontalPadding:8,cellVerticalPadding:3,bgBubble:e.colors.secondaryBg,bgBubbleSelected:e.colors.secondaryBg,linkColor:e.colors.linkText,drilldownBorder:e.colors.darkenedBgMix25})),[e]),tableBorderRadius:e.radii.default,headerIcons:t}};const nt=function(e,t,n,o){return{getCellContent:i.useCallback((i=>{let[l,r]=i;if(l>t.length-1)return U("Column index out of bounds.","This should never happen. Please report this bug.");if(r>n-1)return U("Row index out of bounds.","This should never happen. Please report this bug.");const a=t[l],s=a.indexNumber,d=o.current.getOriginalRowIndex(r),c=o.current.isAddedRow(d);if(a.isEditable||c){const e=o.current.getCell(s,d);if((0,g.bb)(e))return e;if(c)return U("Error during cell creation.",`This should never happen. Please report this bug. No cell found for an added row: col=${s}; row=${d}`)}try{return Oe(a,e.getCell(d+1,s),e.cssStyles)}catch(u){return U("Error during cell creation.",`This should never happen. Please report this bug. \nError: ${u}`)}}),[t,n,e,o])}};var it=n(32700);const ot=function(e,t,n){const[o,l]=i.useState(),{getCellContent:r,getOriginalIndex:a}=(0,it.fF)({columns:t.map((e=>X(e))),getCellContent:n,rows:e,sort:o}),s=i.useMemo((()=>function(e,t){return void 0===t?e:e.map((e=>e.id===t.column.id?{...e,title:"asc"===t.direction?`\u2191 ${e.title}`:`\u2193 ${e.title}`}:e))}(t,o)),[t,o]),d=i.useCallback((e=>{let t="asc";const n=s[e];if(o&&o.column.id===n.id){if("asc"!==o.direction)return void l(void 0);t="desc"}l({column:X(n),direction:t,mode:n.sortMode})}),[o,s]);return{columns:s,sortColumn:d,getOriginalIndex:a,getCellContent:r}};var lt=n(62813),rt=n.n(lt);const at=function(e,t,n,l,r){const[a,s]=i.useState({columns:o.EV.empty(),rows:o.EV.empty(),current:void 0}),d=!t&&!n&&(e.selectionMode.includes(p.Eh.SelectionMode.MULTI_ROW)||e.selectionMode.includes(p.Eh.SelectionMode.SINGLE_ROW)),c=d&&e.selectionMode.includes(p.Eh.SelectionMode.MULTI_ROW),u=!t&&!n&&(e.selectionMode.includes(p.Eh.SelectionMode.SINGLE_COLUMN)||e.selectionMode.includes(p.Eh.SelectionMode.MULTI_COLUMN)),m=u&&e.selectionMode.includes(p.Eh.SelectionMode.MULTI_COLUMN),h=a.rows.length>0,g=a.columns.length>0,f=void 0!==a.current,b=i.useCallback((e=>{const t=!rt()(e.rows.toArray(),a.rows.toArray()),n=!rt()(e.columns.toArray(),a.columns.toArray()),i=!rt()(e.current,a.current);let o=d&&t||u&&n,c=e;if((d||u)&&void 0!==e.current&&i&&(c={...e,rows:a.rows,columns:a.columns},o=!1),t&&e.rows.length>0&&n&&0===e.columns.length&&(c={...c,columns:a.columns},o=!0),n&&e.columns.length>0&&t&&0===e.rows.length&&(c={...c,rows:a.rows},o=!0),n&&c.columns.length>=0){let e=c.columns;l.forEach(((t,n)=>{t.isIndex&&(e=e.remove(n))})),e.length<c.columns.length&&(c={...c,columns:e})}s(c),o&&r(c)}),[a,d,u,r,l]),v=i.useCallback((function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const n={columns:t?a.columns:o.EV.empty(),rows:e?a.rows:o.EV.empty(),current:void 0};s(n),(!e&&d||!t&&u)&&r(n)}),[a,d,u,r]);return{gridSelection:a,isRowSelectionActivated:d,isMultiRowSelectionActivated:c,isColumnSelectionActivated:u,isMultiColumnSelectionActivated:m,isRowSelected:h,isColumnSelected:g,isCellSelected:f,clearSelection:v,processSelectionChange:b}},st=",",dt='"',ct='"',ut="\n",mt="\ufeff",ht=new RegExp(`[${[st,dt,ut].join("")}]`);function pt(e){return e.map((e=>function(e){if((0,g.le)(e))return"";const t=te(e);if(ht.test(t))return`${dt}${t.replace(new RegExp(dt,"g"),ct+dt)}${dt}`;return t}(e))).join(st)+ut}async function gt(e,t,n,i){const o=new TextEncoder;await e.write(o.encode(mt));const l=n.map((e=>e.name));await e.write(o.encode(pt(l)));for(let r=0;r<i;r++){const i=[];n.forEach(((e,n,o)=>{i.push(e.getCellValue(t([n,r])))})),await e.write(o.encode(pt(i)))}await e.close()}const ft=function(e,t,o,l){return{exportToCsv:i.useCallback((async()=>{const i=`${(new Date).toISOString().slice(0,16).replace(":","-")}_export.csv`;try{const l=await n.e(5345).then(n.bind(n,95345)),r=await l.showSaveFilePicker({suggestedName:i,types:[{accept:{"text/csv":[".csv"]}}],excludeAcceptAllOption:!1}),a=await r.createWritable();await gt(a,e,t,o)}catch(r){if(r instanceof Error&&"AbortError"===r.name)return;try{(0,ce.KE)("Failed to export data as CSV with FileSystem API, trying fallback method",r);let n="";const a=new WritableStream({write:async e=>{n+=new TextDecoder("utf-8").decode(e)},close:async()=>{}});await gt(a.getWriter(),e,t,o);const s=new Blob([n],{type:"text/csv;charset=utf-8;"}),d=URL.createObjectURL(s),c=document.createElement("a");l?c.setAttribute("target","_blank"):c.setAttribute("target","_self"),c.style.display="none",c.href=d,c.download=i,document.body.appendChild(c),c.click(),document.body.removeChild(c),URL.revokeObjectURL(d)}catch(r){(0,ce.H)("Failed to export data as CSV",r)}}}),[t,o,e,l])}};const bt=function(e,t,n,o,l,r,a,s,d){const c=i.useCallback(((t,i)=>{let[r,a]=t;const d=e[r];if(!d.isEditable)return;const c=d.indexNumber,u=n.current.getOriginalRowIndex(l(a)),m=o([r,a]),h=d.getCellValue(m),p=d.getCellValue(i);if(!q(m)&&p===h)return;const g=d.getCell(p,!0);q(g)?(0,ce.KE)(`Not applying the cell edit since it causes this error:\n ${g.data}`):(n.current.setCell(c,u,{...g,lastUpdated:performance.now()}),s())}),[e,n,l,o,s]),u=i.useCallback((()=>{if(t)return;const i=new Map;e.forEach((e=>{i.set(e.indexNumber,e.getCell(e.defaultValue))})),n.current.addRow(i),a()}),[e,n,t,a]),m=i.useCallback((()=>{t||(u(),s())}),[u,s,t]),h=i.useCallback((i=>{var o;if(i.rows.length>0){if(t)return!0;const e=i.rows.toArray().map((e=>n.current.getOriginalRowIndex(l(e))));return n.current.deleteRows(e),a(),d(),s(),!1}if(null!==(o=i.current)&&void 0!==o&&o.range){const t=[],n=i.current.range;for(let i=n.y;i<n.y+n.height;i++)for(let o=n.x;o<n.x+n.width;o++){const n=e[o];n.isEditable&&!n.isRequired&&(t.push({cell:[o,i]}),c([o,i],n.getCell(null)))}return t.length>0&&(s(),r(t)),!1}return!0}),[e,n,t,r,l,s,c,d,a]),p=i.useCallback(((i,a)=>{const[d,c]=i,m=[];for(let h=0;h<a.length;h++){const i=a[h];if(h+c>=n.current.getNumRows()){if(t)break;u()}for(let t=0;t<i.length;t++){const r=i[t],a=h+c,s=t+d;if(s>=e.length)break;const u=e[s];if(u.isEditable){const e=u.getCell(r,!0);if((0,g.bb)(e)&&!q(e)){const t=u.indexNumber,i=n.current.getOriginalRowIndex(l(a)),r=u.getCellValue(o([s,a]));u.getCellValue(e)!==r&&(n.current.setCell(t,i,{...e,lastUpdated:performance.now()}),m.push({cell:[s,a]}))}}}m.length>0&&(s(),r(m))}return!1}),[e,n,t,l,o,u,s,r]),f=i.useCallback(((t,n)=>{const i=t[0];if(i>=e.length)return!0;const o=e[i];if(o.validateInput){const e=o.validateInput(o.getCellValue(n));return!0===e||!1===e?e:o.getCell(e)}return!0}),[e]);return{onCellEdited:c,onPaste:p,onRowAppended:m,onDelete:h,validateCell:f}};const vt=function(e,t){const[n,o]=i.useState(),l=i.useRef(null),r=i.useCallback((n=>{if(clearTimeout(l.current),l.current=0,o(void 0),("header"===n.kind||"cell"===n.kind)&&n.location){const i=n.location[0],r=n.location[1];let a;if(i<0||i>=e.length)return;const s=e[i];if("header"===n.kind&&(0,g.bb)(s))a=s.help;else if("cell"===n.kind){const e=t([i,r]);s.isRequired&&s.isEditable&&J(e)?a="\u26a0\ufe0f Please fill out this cell.":function(e){return e.hasOwnProperty("tooltip")&&""!==e.tooltip}(e)&&(a=e.tooltip)}a&&(l.current=setTimeout((()=>{a&&o({content:a,left:n.bounds.x+n.bounds.width/2,top:n.bounds.y})}),600))}}),[e,t,o,l]);return{tooltip:n,clearTooltip:i.useCallback((()=>{o(void 0)}),[o]),onItemHovered:r}};var yt=n(39806),wt=n(97613),xt=n(48238),Ct=n(85e3),Et=n(37538);const St=function(e){return{drawCell:i.useCallback(((t,n)=>{const{cell:i,theme:o,ctx:l,rect:r}=t,a=t.col;if(J(i)&&a<e.length){const i=e[a];return["checkbox","line_chart","bar_chart","progress"].includes(i.kind)?n():(e=>{const{cell:t,theme:n,ctx:i}=e;(0,yt.L6)({...e,theme:{...n,textDark:n.textLight,headerFontFull:`${n.headerFontStyle} ${n.fontFamily}`,baseFontFull:`${n.baseFontStyle} ${n.fontFamily}`,markerFontFull:`${n.markerFontStyle} ${n.fontFamily}`},spriteManager:{},hyperWrapping:!1},"None",t.contentAlign),i.fillStyle=n.textDark})(t),void(i.isRequired&&i.isEditable&&function(e,t,n){e.save(),e.beginPath(),e.moveTo(t.x+t.width-8,t.y+1),e.lineTo(t.x+t.width,t.y+1),e.lineTo(t.x+t.width,t.y+1+8),e.fillStyle=n.accentColor,e.fill(),e.restore()}(l,r,o))}n()}),[e]),customRenderers:i.useMemo((()=>[wt.Z,xt.Z,Ct.Z,Et.ZP,...Pe]),[])}};const Mt=function(e){const[t,n]=(0,i.useState)((()=>new Map)),o=i.useCallback(((e,i,o,l)=>{e.id&&n(new Map(t).set(e.id,l))}),[t]);return{columns:i.useMemo((()=>e.map((e=>e.id&&t.has(e.id)&&void 0!==t.get(e.id)?{...e,width:t.get(e.id),grow:0}:e))),[e,t]),onColumnResize:o}},kt=2,Tt=35,Rt=50+kt,It=2*Tt+kt;const Nt=function(e,t,n,o,l){let r,a=function(e){return Math.max(e*Tt+kt,It)}(t+1+(e.editingMode===p.Eh.EditingMode.DYNAMIC?1:0)),s=Math.min(a,400);e.height&&(s=Math.max(e.height,It),a=Math.max(e.height,a)),o&&(s=Math.min(s,o),a=Math.min(a,o),e.height||(s=a));let d=n;e.useContainerWidth?r=n:e.width&&(r=Math.min(Math.max(e.width,Rt),n),d=Math.min(Math.max(e.width,d),n));const[c,u]=i.useState({width:r||"100%",height:s});return i.useLayoutEffect((()=>{e.useContainerWidth&&"100%"===c.width&&u({width:n,height:c.height})}),[n]),i.useLayoutEffect((()=>{u({width:c.width,height:s})}),[t]),i.useLayoutEffect((()=>{u({width:r||"100%",height:c.height})}),[r]),i.useLayoutEffect((()=>{u({width:c.width,height:s})}),[s]),i.useLayoutEffect((()=>{if(l){const t=e.useContainerWidth||(0,g.bb)(e.width)&&e.width>0;u({width:t?d:"100%",height:a})}else u({width:r||"100%",height:s})}),[l]),{minHeight:It,maxHeight:a,minWidth:Rt,maxWidth:d,resizableSize:c,setResizableSize:u}},_t=(0,S.Z)("img",{target:"e24uaba0"})((()=>({maxWidth:"100%",maxHeight:"600px",objectFit:"scale-down"})),""),Ot=e=>{let{urls:t}=e;const n=t&&t.length>0?t[0]:"";return n.startsWith("http")?(0,I.jsx)("a",{href:n,target:"_blank",rel:"noreferrer noopener",children:(0,I.jsx)(_t,{src:n})}):(0,I.jsx)(_t,{src:n})};var Dt=n(31572),At=n(13553),Ft=n(80152);const zt=function(e){let{top:t,left:n,content:o,clearTooltip:l}=e;const[r,a]=i.useState(!0),s=(0,f.u)(),{colors:d,fontSizes:c,radii:u}=s,m=i.useCallback((()=>{a(!1),l()}),[l,a]);return(0,I.jsx)(Dt.Z,{content:(0,I.jsx)(Ft.Uo,{className:"stTooltipContent",children:(0,I.jsx)(y.ZP,{style:{fontSize:c.sm},source:o,allowHTML:!1})}),placement:At.r4.top,accessibilityType:At.SI.tooltip,showArrow:!1,popoverMargin:5,onClickOutside:m,onEsc:m,overrides:{Body:{style:{borderTopLeftRadius:u.md,borderTopRightRadius:u.md,borderBottomLeftRadius:u.md,borderBottomRightRadius:u.md,paddingTop:"0 !important",paddingBottom:"0 !important",paddingLeft:"0 !important",paddingRight:"0 !important",backgroundColor:"transparent"}},Inner:{style:{backgroundColor:(0,M.Iy)(s)?d.bgColor:d.secondaryBg,color:d.bodyText,fontSize:c.sm,fontWeight:"normal",paddingTop:"0 !important",paddingBottom:"0 !important",paddingLeft:"0 !important",paddingRight:"0 !important"}}},isOpen:r,children:(0,I.jsx)("div",{className:"stTooltipTarget","data-testid":"stTooltipTarget",style:{position:"fixed",top:t,left:n}})})},$t=(0,S.Z)("div",{target:"e1w7nams0"})((e=>{let{hasCustomizedScrollbars:t,theme:n}=e;return{position:"relative",display:"inline-block","& .glideDataEditor":{height:"100%",minWidth:"100%",borderRadius:n.radii.default},"& .dvn-scroller":{...!t&&{scrollbarWidth:"thin"},overflowX:"auto !important",overflowY:"auto !important"}}}),"");n(2739),n(24665);const Vt=(0,h.Z)((function(e){let{element:t,data:n,width:h,height:f,disabled:b,widgetMgr:v,isFullScreen:y,disableFullscreenMode:w,expand:x,collapse:C,fragmentId:E}=e;const S=i.useRef(null),M=i.useRef(null),k=i.useRef(null),{theme:T,headerIcons:R,tableBorderRadius:D}=tt(),{libConfig:{enforceDownloadInNewTab:A=!1}}=i.useContext(O.E),[F,z]=i.useState(!0),[$,V]=i.useState(!1),[H,L]=i.useState(!1),[W,j]=i.useState(!1),B=i.useMemo((()=>window.matchMedia&&window.matchMedia("(pointer: coarse)").matches),[]),P=i.useMemo((()=>window.navigator.userAgent.includes("Mac OS")&&window.navigator.userAgent.includes("Safari")||window.navigator.userAgent.includes("Chrome")),[]);(0,g.le)(t.editingMode)&&(t.editingMode=p.Eh.EditingMode.READ_ONLY);const{READ_ONLY:Z,DYNAMIC:Y}=p.Eh.EditingMode,U=n.dimensions,q=Math.max(0,U.rows-1),J=0===q&&!(t.editingMode===Y&&U.dataColumns>0),K=q>15e4,Q=i.useRef(new Qe(q)),[ee,te]=i.useState(Q.current.getNumRows());i.useEffect((()=>{Q.current=new Qe(q),te(Q.current.getNumRows())}),[q]);const ne=i.useCallback((()=>{Q.current=new Qe(q),te(Q.current.getNumRows())}),[q]),{columns:ie}=Ge(t,n,b);i.useEffect((()=>{if(t.editingMode===Z)return;const e=v.getStringValue({id:t.id,formId:t.formId});e&&(Q.current.fromJson(e,ie),te(Q.current.getNumRows()))}),[]);const{getCellContent:oe}=nt(n,ie,ee,Q),{columns:le,sortColumn:re,getOriginalIndex:ae,getCellContent:se}=ot(q,ie,oe),de=i.useCallback((0,g.Ds)(150,(e=>{const n={selection:{rows:[],columns:[]}};n.selection.rows=e.rows.toArray().map((e=>ae(e))),n.selection.columns=e.columns.toArray().map((e=>Xe(le[e])));const i=JSON.stringify(n),o=v.getStringValue({id:t.id,formId:t.formId});void 0!==o&&o===i||v.setStringValue({id:t.id,formId:t.formId},i,{fromUi:!0},E)})),[t.id,t.formId,v,E,ae,Xe]),{gridSelection:ce,isRowSelectionActivated:ue,isMultiRowSelectionActivated:me,isColumnSelectionActivated:he,isMultiColumnSelectionActivated:pe,isRowSelected:ge,isColumnSelected:fe,isCellSelected:be,clearSelection:ve,processSelectionChange:ye}=at(t,J,b,le,de);i.useEffect((()=>{ve(!0,!0)}),[y]);const we=i.useCallback((e=>{var t;null===(t=M.current)||void 0===t||t.updateCells(e)}),[]);i.useEffect((()=>{if(!ue&&!he)return;const e=v.getStringValue({id:t.id,formId:t.formId});if(e){var n,i,l,r;const t=le.map((e=>Xe(e))),a=JSON.parse(e);let s=o.EV.empty(),d=o.EV.empty();if(null===(n=a.selection)||void 0===n||null===(i=n.rows)||void 0===i||i.forEach((e=>{s=s.add(e)})),null===(l=a.selection)||void 0===l||null===(r=l.columns)||void 0===r||r.forEach((e=>{d=d.add(t.indexOf(e))})),s.length>0||d.length>0){ye({rows:s,columns:d,current:void 0})}}}),[]);const xe=i.useCallback((()=>{ee!==Q.current.getNumRows()&&te(Q.current.getNumRows())}),[ee]),Ce=i.useCallback((0,g.Ds)(150,(()=>{const e=Q.current.toJson(le);let n=v.getStringValue({id:t.id,formId:t.formId});void 0===n&&(n=new Qe(0).toJson([])),e!==n&&v.setStringValue({id:t.id,formId:t.formId},e,{fromUi:!0},E)})),[t.id,t.formId,v,E,le,Q.current]),{exportToCsv:Ee}=ft(se,le,ee,A),{onCellEdited:Se,onPaste:Me,onRowAppended:ke,onDelete:Te,validateCell:Re}=bt(le,t.editingMode!==Y,Q,se,ae,we,xe,Ce,ve),{tooltip:Ie,clearTooltip:Ne,onItemHovered:_e}=vt(le,se),{drawCell:Oe,customRenderers:De}=St(le),Ae=i.useMemo((()=>le.map((e=>X(e)))),[le]),{columns:Fe,onColumnResize:ze}=Mt(Ae),{minHeight:$e,maxHeight:Ve,minWidth:He,maxWidth:Le,resizableSize:We,setResizableSize:je}=Nt(t,ee,h,f,y),Be=i.useCallback((e=>{let[t,n]=e;return{...G(!0,!1),displayData:"empty",contentAlign:"center",allowOverlay:!1,themeOverride:{textDark:T.textLight},span:[0,Math.max(le.length-1,0)]}}),[le,T.textLight]);i.useEffect((()=>{if(!t.formId)return;const e=new m.K;return e.manageFormClearListener(v,t.formId,(()=>{ne(),ve()})),()=>{e.disconnect()}}),[t.formId,ne,ve,v]);const Pe=!J&&t.editingMode===Y&&!b,Ze=J?0:le.filter((e=>e.isIndex)).length;return i.useEffect((()=>{setTimeout((()=>{if(k.current&&M.current){var e,t;const n=null===(e=k.current)||void 0===e||null===(t=e.querySelector(".dvn-stack"))||void 0===t?void 0:t.getBoundingClientRect();n&&(L(n.height>k.current.clientHeight),j(n.width>k.current.clientWidth))}}),1)}),[We,ee,Fe]),(0,I.jsxs)($t,{"data-testid":"stDataFrame",className:"stDataFrame",hasCustomizedScrollbars:P,ref:k,onMouseDown:e=>{if(k.current&&P){const t=k.current.getBoundingClientRect();W&&t.height-7<e.clientY-t.top&&e.stopPropagation(),H&&t.width-7<e.clientX-t.left&&e.stopPropagation()}},onBlur:e=>{F||B||e.currentTarget.contains(e.relatedTarget)||ve(!0,!0)},children:[(0,I.jsxs)(_,{isFullScreen:y,disableFullscreenMode:w,locked:ge&&!ue||be||B&&F,onExpand:x,onCollapse:C,target:$t,children:[(ue&&ge||he&&fe)&&(0,I.jsx)(N,{label:"Clear selection",icon:a.x,onClick:()=>{ve(),Ne()}}),Pe&&ge&&(0,I.jsx)(N,{label:"Delete row(s)",icon:s.H,onClick:()=>{Te&&(Te(ce),Ne())}}),Pe&&!ge&&(0,I.jsx)(N,{label:"Add row",icon:d.m,onClick:()=>{ke&&(z(!0),ke(),Ne())}}),!K&&!J&&(0,I.jsx)(N,{label:"Download as CSV",icon:c.k,onClick:()=>Ee()}),!J&&(0,I.jsx)(N,{label:"Search",icon:u.o,onClick:()=>{$?V(!1):(z(!0),V(!0)),Ne()}})]}),(0,I.jsx)(r.e,{"data-testid":"stDataFrameResizable",ref:S,defaultSize:We,style:{border:`1px solid ${T.borderColor}`,borderRadius:`${D}`},minHeight:$e,maxHeight:Ve,minWidth:He,maxWidth:Le,size:We,enable:{top:!1,right:!1,bottom:!1,left:!1,topRight:!1,bottomRight:!0,bottomLeft:!1,topLeft:!1},grid:[1,Tt],snapGap:Tt/3,onResizeStop:(e,t,n,i)=>{S.current&&je({width:S.current.size.width,height:Ve-S.current.size.height===kt?S.current.size.height+kt:S.current.size.height})},children:(0,I.jsx)(l.F,{className:"glideDataEditor",ref:M,columns:Fe,rows:J?1:ee,minColumnWidth:50,maxColumnWidth:1e3,maxColumnAutoWidth:500,rowHeight:Tt,headerHeight:Tt,getCellContent:J?Be:se,onColumnResize:B?void 0:ze,resizeIndicator:"header",freezeColumns:Ze,smoothScrollX:!0,smoothScrollY:!0,verticalBorder:!0,getCellsForSelection:!0,rowMarkers:"none",rangeSelect:B?"cell":"rect",columnSelect:"none",rowSelect:"none",onItemHovered:_e,keybindings:{downFill:!0},onKeyDown:e=>{(e.ctrlKey||e.metaKey)&&"f"===e.key&&(V((e=>!e)),e.stopPropagation(),e.preventDefault())},showSearch:$,onSearchClose:()=>{V(!1),Ne()},onHeaderClicked:(e,t)=>{J||K||he||(ue&&ge&&ve(),re(e))},gridSelection:ce,onGridSelectionChange:e=>{(F||B)&&(ye(e),void 0!==Ie&&Ne())},theme:T,onMouseMove:e=>{"out-of-bounds"===e.kind&&F?z(!1):"out-of-bounds"===e.kind||F||z(!0)},fixedShadowX:!0,fixedShadowY:!0,experimental:{scrollbarWidthOverride:0,...P&&{paddingBottom:W?-6:void 0,paddingRight:H?-6:void 0}},drawCell:Oe,customRenderers:De,imageEditorOverride:Ot,headerIcons:R,validateCell:Re,onPaste:!1,...ue&&{rowMarkers:{kind:"checkbox",checkboxStyle:"square",theme:{bgCell:T.bgHeader,bgCellMedium:T.bgHeader}},rowSelectionMode:me?"multi":"auto",rowSelect:b?"none":me?"multi":"single",rowSelectionBlending:"mixed",rangeSelectionBlending:"exclusive"},...he&&{columnSelect:b?"none":pe?"multi":"single",columnSelectionBlending:"mixed",rangeSelectionBlending:"exclusive"},...!J&&t.editingMode!==Z&&!b&&{fillHandle:!B,onCellEdited:Se,onPaste:Me,onDelete:Te},...!J&&t.editingMode===Y&&{trailingRowOptions:{sticky:!1,tint:!0},rowMarkers:{kind:"checkbox",checkboxStyle:"square",theme:{bgCell:T.bgHeader,bgCellMedium:T.bgHeader}},rowSelectionMode:"multi",rowSelect:b?"none":"multi",onRowAppended:b?void 0:ke,onHeaderClicked:void 0}})}),Ie&&Ie.content&&(0,I.jsx)(zt,{top:Ie.top,left:Ie.left,content:Ie.content,clearTooltip:Ne})]})}),!0)},87814:(e,t,n)=>{n.d(t,{K:()=>o});var i=n(50641);class o{constructor(){this.formClearListener=void 0,this.lastWidgetMgr=void 0,this.lastFormId=void 0}manageFormClearListener(e,t,n){(0,i.bb)(this.formClearListener)&&this.lastWidgetMgr===e&&this.lastFormId===t||(this.disconnect(),(0,i.bM)(t)&&(this.formClearListener=e.addFormClearedListener(t,n),this.lastWidgetMgr=e,this.lastFormId=t))}disconnect(){var e;null===(e=this.formClearListener)||void 0===e||e.disconnect(),this.formClearListener=void 0,this.lastWidgetMgr=void 0,this.lastFormId=void 0}}}}]);
|