streamlit-nightly 1.41.2.dev20250106__py2.py3-none-any.whl → 1.41.2.dev20250108__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/__init__.py +11 -2
- streamlit/__main__.py +1 -1
- streamlit/auth_util.py +209 -0
- streamlit/cli_util.py +1 -1
- streamlit/column_config.py +1 -1
- streamlit/commands/__init__.py +1 -1
- streamlit/commands/echo.py +1 -1
- streamlit/commands/execution_control.py +1 -1
- 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/__init__.py +1 -1
- streamlit/components/lib/__init__.py +1 -1
- streamlit/components/lib/local_component_registry.py +1 -1
- streamlit/components/types/__init__.py +1 -1
- streamlit/components/types/base_component_registry.py +1 -1
- streamlit/components/types/base_custom_component.py +1 -1
- streamlit/components/v1/__init__.py +1 -1
- streamlit/components/v1/component_arrow.py +1 -1
- streamlit/components/v1/component_registry.py +1 -1
- streamlit/components/v1/components.py +1 -1
- streamlit/components/v1/custom_component.py +1 -1
- streamlit/config.py +1 -1
- streamlit/config_option.py +1 -1
- streamlit/config_util.py +1 -1
- streamlit/connections/__init__.py +1 -1
- streamlit/connections/base_connection.py +1 -1
- streamlit/connections/snowflake_connection.py +1 -1
- streamlit/connections/snowpark_connection.py +1 -1
- streamlit/connections/sql_connection.py +1 -1
- streamlit/connections/util.py +1 -1
- streamlit/cursor.py +1 -1
- streamlit/dataframe_util.py +1 -1
- streamlit/delta_generator.py +1 -1
- streamlit/delta_generator_singletons.py +1 -1
- streamlit/deprecation_util.py +1 -1
- streamlit/development.py +1 -1
- streamlit/elements/__init__.py +1 -1
- streamlit/elements/alert.py +1 -1
- streamlit/elements/arrow.py +1 -1
- streamlit/elements/balloons.py +1 -1
- streamlit/elements/bokeh_chart.py +1 -1
- streamlit/elements/code.py +1 -1
- streamlit/elements/deck_gl_json_chart.py +1 -1
- streamlit/elements/dialog_decorator.py +1 -1
- streamlit/elements/doc_string.py +1 -1
- streamlit/elements/empty.py +1 -1
- streamlit/elements/exception.py +1 -1
- streamlit/elements/form.py +1 -1
- streamlit/elements/graphviz_chart.py +1 -1
- streamlit/elements/heading.py +1 -1
- streamlit/elements/html.py +1 -1
- streamlit/elements/iframe.py +1 -1
- streamlit/elements/image.py +1 -1
- streamlit/elements/json.py +1 -1
- streamlit/elements/layouts.py +1 -1
- streamlit/elements/lib/__init__.py +1 -1
- streamlit/elements/lib/built_in_chart_utils.py +1 -1
- streamlit/elements/lib/color_util.py +1 -1
- streamlit/elements/lib/column_config_utils.py +1 -1
- streamlit/elements/lib/column_types.py +1 -1
- streamlit/elements/lib/dialog.py +1 -1
- streamlit/elements/lib/dicttools.py +1 -1
- streamlit/elements/lib/event_utils.py +1 -1
- streamlit/elements/lib/file_uploader_utils.py +1 -1
- streamlit/elements/lib/form_utils.py +1 -1
- streamlit/elements/lib/image_utils.py +1 -1
- streamlit/elements/lib/js_number.py +1 -1
- streamlit/elements/lib/mutable_status_container.py +1 -1
- streamlit/elements/lib/options_selector_utils.py +1 -1
- streamlit/elements/lib/pandas_styler_utils.py +1 -1
- streamlit/elements/lib/policies.py +1 -1
- streamlit/elements/lib/streamlit_plotly_theme.py +1 -1
- streamlit/elements/lib/subtitle_utils.py +1 -1
- streamlit/elements/lib/utils.py +1 -1
- streamlit/elements/map.py +1 -1
- streamlit/elements/markdown.py +3 -3
- streamlit/elements/media.py +1 -1
- streamlit/elements/metric.py +1 -1
- streamlit/elements/plotly_chart.py +1 -1
- streamlit/elements/progress.py +1 -1
- streamlit/elements/pyplot.py +1 -1
- streamlit/elements/snow.py +1 -1
- streamlit/elements/spinner.py +14 -7
- streamlit/elements/text.py +1 -1
- streamlit/elements/toast.py +1 -1
- streamlit/elements/vega_charts.py +1 -1
- streamlit/elements/widgets/__init__.py +1 -1
- streamlit/elements/widgets/audio_input.py +1 -1
- streamlit/elements/widgets/button.py +1 -1
- streamlit/elements/widgets/button_group.py +1 -1
- streamlit/elements/widgets/camera_input.py +1 -1
- streamlit/elements/widgets/chat.py +1 -1
- streamlit/elements/widgets/checkbox.py +1 -1
- streamlit/elements/widgets/color_picker.py +1 -1
- streamlit/elements/widgets/data_editor.py +1 -1
- streamlit/elements/widgets/file_uploader.py +1 -1
- streamlit/elements/widgets/multiselect.py +1 -1
- streamlit/elements/widgets/number_input.py +1 -1
- streamlit/elements/widgets/radio.py +1 -1
- streamlit/elements/widgets/select_slider.py +1 -1
- streamlit/elements/widgets/selectbox.py +1 -1
- streamlit/elements/widgets/slider.py +1 -1
- streamlit/elements/widgets/text_widgets.py +1 -1
- streamlit/elements/widgets/time_widgets.py +1 -1
- streamlit/elements/write.py +2 -2
- streamlit/emojis.py +1 -1
- streamlit/env_util.py +1 -1
- streamlit/error_util.py +1 -1
- streamlit/errors.py +5 -1
- streamlit/external/__init__.py +1 -1
- streamlit/external/langchain/__init__.py +1 -1
- streamlit/external/langchain/streamlit_callback_handler.py +1 -1
- streamlit/file_util.py +1 -1
- streamlit/git_util.py +1 -1
- streamlit/hello/__init__.py +1 -1
- streamlit/hello/animation_demo.py +1 -1
- streamlit/hello/dataframe_demo.py +1 -1
- streamlit/hello/hello.py +1 -1
- streamlit/hello/mapping_demo.py +1 -1
- streamlit/hello/plotting_demo.py +1 -1
- streamlit/hello/streamlit_app.py +1 -1
- streamlit/hello/utils.py +1 -1
- streamlit/logger.py +1 -1
- streamlit/material_icon_names.py +1 -1
- streamlit/navigation/__init__.py +1 -1
- streamlit/navigation/page.py +1 -1
- streamlit/net_util.py +1 -1
- streamlit/platform.py +1 -1
- streamlit/proto/Alert_pb2.pyi +1 -1
- streamlit/proto/AppPage_pb2.pyi +1 -1
- streamlit/proto/ArrowNamedDataSet_pb2.pyi +1 -1
- streamlit/proto/ArrowVegaLiteChart_pb2.pyi +1 -1
- streamlit/proto/Arrow_pb2.pyi +1 -1
- streamlit/proto/AudioInput_pb2.pyi +1 -1
- streamlit/proto/Audio_pb2.pyi +1 -1
- streamlit/proto/AuthRedirect_pb2.py +27 -0
- streamlit/proto/AuthRedirect_pb2.pyi +41 -0
- streamlit/proto/AutoRerun_pb2.pyi +1 -1
- streamlit/proto/BackMsg_pb2.pyi +1 -1
- streamlit/proto/Balloons_pb2.pyi +1 -1
- streamlit/proto/Block_pb2.pyi +1 -1
- streamlit/proto/BokehChart_pb2.pyi +1 -1
- streamlit/proto/ButtonGroup_pb2.pyi +1 -1
- streamlit/proto/Button_pb2.pyi +1 -1
- streamlit/proto/CameraInput_pb2.pyi +1 -1
- streamlit/proto/ChatInput_pb2.pyi +1 -1
- streamlit/proto/Checkbox_pb2.pyi +1 -1
- streamlit/proto/ClientState_pb2.pyi +1 -1
- streamlit/proto/Code_pb2.pyi +1 -1
- streamlit/proto/ColorPicker_pb2.pyi +1 -1
- streamlit/proto/Common_pb2.pyi +1 -1
- streamlit/proto/Components_pb2.pyi +1 -1
- streamlit/proto/DataFrame_pb2.pyi +1 -1
- streamlit/proto/DateInput_pb2.pyi +1 -1
- streamlit/proto/DeckGlJsonChart_pb2.pyi +1 -1
- streamlit/proto/Delta_pb2.pyi +1 -1
- streamlit/proto/DocString_pb2.pyi +1 -1
- streamlit/proto/DownloadButton_pb2.pyi +1 -1
- streamlit/proto/Element_pb2.pyi +1 -1
- streamlit/proto/Empty_pb2.pyi +1 -1
- streamlit/proto/Exception_pb2.pyi +1 -1
- streamlit/proto/Favicon_pb2.pyi +1 -1
- streamlit/proto/FileUploader_pb2.pyi +1 -1
- streamlit/proto/ForwardMsg_pb2.py +10 -9
- streamlit/proto/ForwardMsg_pb2.pyi +11 -4
- streamlit/proto/GitInfo_pb2.pyi +1 -1
- streamlit/proto/GraphVizChart_pb2.pyi +1 -1
- streamlit/proto/Heading_pb2.pyi +1 -1
- streamlit/proto/Html_pb2.pyi +1 -1
- streamlit/proto/IFrame_pb2.pyi +1 -1
- streamlit/proto/Image_pb2.pyi +1 -1
- streamlit/proto/Json_pb2.pyi +1 -1
- streamlit/proto/LabelVisibilityMessage_pb2.pyi +1 -1
- streamlit/proto/LinkButton_pb2.pyi +1 -1
- streamlit/proto/Logo_pb2.pyi +1 -1
- streamlit/proto/Markdown_pb2.pyi +1 -1
- streamlit/proto/Metric_pb2.pyi +1 -1
- streamlit/proto/MetricsEvent_pb2.pyi +1 -1
- streamlit/proto/MultiSelect_pb2.pyi +1 -1
- streamlit/proto/NamedDataSet_pb2.pyi +1 -1
- streamlit/proto/Navigation_pb2.pyi +1 -1
- streamlit/proto/NewSession_pb2.pyi +1 -1
- streamlit/proto/NumberInput_pb2.pyi +1 -1
- streamlit/proto/PageConfig_pb2.pyi +1 -1
- streamlit/proto/PageInfo_pb2.pyi +1 -1
- streamlit/proto/PageLink_pb2.pyi +1 -1
- streamlit/proto/PageNotFound_pb2.pyi +1 -1
- streamlit/proto/PageProfile_pb2.pyi +1 -1
- streamlit/proto/PagesChanged_pb2.pyi +1 -1
- streamlit/proto/ParentMessage_pb2.pyi +1 -1
- streamlit/proto/PlotlyChart_pb2.pyi +1 -1
- streamlit/proto/Progress_pb2.pyi +1 -1
- streamlit/proto/Radio_pb2.pyi +1 -1
- streamlit/proto/RootContainer_pb2.pyi +1 -1
- streamlit/proto/Selectbox_pb2.pyi +1 -1
- streamlit/proto/SessionEvent_pb2.pyi +1 -1
- streamlit/proto/SessionStatus_pb2.pyi +1 -1
- streamlit/proto/Skeleton_pb2.pyi +1 -1
- streamlit/proto/Slider_pb2.pyi +1 -1
- streamlit/proto/Snow_pb2.pyi +1 -1
- streamlit/proto/Spinner_pb2.py +2 -2
- streamlit/proto/Spinner_pb2.pyi +6 -2
- streamlit/proto/TextArea_pb2.pyi +1 -1
- streamlit/proto/TextInput_pb2.pyi +1 -1
- streamlit/proto/Text_pb2.pyi +1 -1
- streamlit/proto/TimeInput_pb2.pyi +1 -1
- streamlit/proto/Toast_pb2.pyi +1 -1
- streamlit/proto/VegaLiteChart_pb2.pyi +1 -1
- streamlit/proto/Video_pb2.pyi +1 -1
- streamlit/proto/WidgetStates_pb2.pyi +1 -1
- streamlit/proto/__init__.py +1 -1
- streamlit/runtime/__init__.py +1 -1
- streamlit/runtime/app_session.py +6 -2
- streamlit/runtime/caching/__init__.py +1 -1
- streamlit/runtime/caching/cache_data_api.py +1 -1
- streamlit/runtime/caching/cache_errors.py +1 -1
- streamlit/runtime/caching/cache_resource_api.py +1 -1
- streamlit/runtime/caching/cache_type.py +1 -1
- streamlit/runtime/caching/cache_utils.py +1 -1
- streamlit/runtime/caching/cached_message_replay.py +1 -1
- streamlit/runtime/caching/hashing.py +1 -1
- streamlit/runtime/caching/legacy_cache_api.py +1 -1
- streamlit/runtime/caching/storage/__init__.py +1 -1
- streamlit/runtime/caching/storage/cache_storage_protocol.py +1 -1
- streamlit/runtime/caching/storage/dummy_cache_storage.py +1 -1
- streamlit/runtime/caching/storage/in_memory_cache_storage_wrapper.py +1 -1
- streamlit/runtime/caching/storage/local_disk_cache_storage.py +1 -1
- streamlit/runtime/connection_factory.py +1 -1
- streamlit/runtime/context.py +1 -1
- streamlit/runtime/credentials.py +1 -1
- streamlit/runtime/forward_msg_cache.py +1 -1
- streamlit/runtime/forward_msg_queue.py +1 -1
- streamlit/runtime/fragment.py +1 -1
- streamlit/runtime/media_file_manager.py +1 -1
- streamlit/runtime/media_file_storage.py +1 -1
- streamlit/runtime/memory_media_file_storage.py +1 -1
- streamlit/runtime/memory_session_storage.py +1 -1
- streamlit/runtime/memory_uploaded_file_manager.py +1 -1
- streamlit/runtime/metrics_util.py +2 -1
- streamlit/runtime/pages_manager.py +1 -1
- streamlit/runtime/runtime.py +14 -3
- streamlit/runtime/runtime_util.py +1 -1
- streamlit/runtime/script_data.py +1 -1
- streamlit/runtime/scriptrunner/__init__.py +1 -1
- streamlit/runtime/scriptrunner/exec_code.py +1 -1
- streamlit/runtime/scriptrunner/magic.py +1 -1
- streamlit/runtime/scriptrunner/magic_funcs.py +1 -1
- streamlit/runtime/scriptrunner/script_cache.py +1 -1
- streamlit/runtime/scriptrunner/script_runner.py +18 -9
- streamlit/runtime/scriptrunner_utils/__init__.py +1 -1
- streamlit/runtime/scriptrunner_utils/exceptions.py +1 -1
- streamlit/runtime/scriptrunner_utils/script_requests.py +1 -1
- streamlit/runtime/scriptrunner_utils/script_run_context.py +2 -2
- streamlit/runtime/secrets.py +1 -1
- streamlit/runtime/session_manager.py +2 -2
- streamlit/runtime/state/__init__.py +1 -1
- streamlit/runtime/state/common.py +1 -1
- streamlit/runtime/state/query_params.py +1 -1
- streamlit/runtime/state/query_params_proxy.py +1 -1
- streamlit/runtime/state/safe_session_state.py +1 -1
- streamlit/runtime/state/session_state.py +1 -1
- streamlit/runtime/state/session_state_proxy.py +1 -1
- streamlit/runtime/state/widgets.py +1 -1
- streamlit/runtime/stats.py +1 -1
- streamlit/runtime/uploaded_file_manager.py +1 -1
- streamlit/runtime/websocket_session_manager.py +2 -2
- streamlit/source_util.py +1 -1
- streamlit/static/index.html +2 -2
- streamlit/static/static/js/{FileDownload.esm.BfiuyXfu.js → FileDownload.esm.CXWFIN7B.js} +1 -1
- streamlit/static/static/js/{FormClearHelper.BIe6FN2Y.js → FormClearHelper.dauERNYc.js} +1 -1
- streamlit/static/static/js/{Hooks.CHslqKt4.js → Hooks.CqBCxxzg.js} +1 -1
- streamlit/static/static/js/{InputInstructions.BMT8dg5S.js → InputInstructions.Dm8zppD9.js} +1 -1
- streamlit/static/static/js/ProgressBar.CQTs8xxT.js +2 -0
- streamlit/static/static/js/RenderInPortalIfExists.BIVWPcSk.js +1 -0
- streamlit/static/static/js/Toolbar.D_9Mp69H.js +1 -0
- streamlit/static/static/js/{base-input.B1a61Ojd.js → base-input.JrivAGt5.js} +4 -4
- streamlit/static/static/js/{createSuper.DuLZrute.js → createSuper.BLkfEjg8.js} +1 -1
- streamlit/static/static/js/data-grid-overlay-editor.4d_NBoKr.js +1 -0
- streamlit/static/static/js/{downloader.BVrmPJui.js → downloader.i394ggfM.js} +1 -1
- streamlit/static/static/js/{es6.44cVHEXS.js → es6.BPf5kpFH.js} +2 -2
- streamlit/static/static/js/getPrototypeOf.DcAVjrh9.js +1 -0
- streamlit/static/static/js/{iframeResizer.contentWindow.Bd3a4rtP.js → iframeResizer.contentWindow.YDN8GVx9.js} +1 -1
- streamlit/static/static/js/index.57g5CAPC.js +1 -0
- streamlit/static/static/js/{index.C9YRT0fo.js → index.B3dyGG7q.js} +3 -3
- streamlit/static/static/js/index.B6GM885g.js +1 -0
- streamlit/static/static/js/{index.Q2CKSyfz.js → index.BB2p9KgS.js} +1 -1
- streamlit/static/static/js/index.BOBIcAmK.js +1 -0
- streamlit/static/static/js/index.B_o9A-oO.js +1 -0
- streamlit/static/static/js/index.BfABFd7-.js +3 -0
- streamlit/static/static/js/{index.D_cUCQty.js → index.BidgRpd5.js} +1 -1
- streamlit/static/static/js/index.Bj7LBigw.js +197 -0
- streamlit/static/static/js/{index.CIMJL36S.js → index.C-TBipT2.js} +2 -2
- streamlit/static/static/js/{index.0AR3jk4J.js → index.C4muCvfN.js} +1 -1
- streamlit/static/static/js/{index.CmHLY_aM.js → index.CAZAG6f3.js} +2 -2
- streamlit/static/static/js/index.CJlBME-_.js +1 -0
- streamlit/static/static/js/{index.6ZeP-L28.js → index.CMAjN-j5.js} +2 -2
- streamlit/static/static/js/index.CSmBE6cg.js +1 -0
- streamlit/static/static/js/index.CgkfCbvP.js +1 -0
- streamlit/static/static/js/index.D1CJOG3s.js +1 -0
- streamlit/static/static/js/index.D1qR2sOA.js +1 -0
- streamlit/static/static/js/index.D7EG5vd0.js +2 -0
- streamlit/static/static/js/index.DE-FOSSU.js +1 -0
- streamlit/static/static/js/{index.lvhOjMEi.js → index.DWU1GWqY.js} +1 -1
- streamlit/static/static/js/{index.BRjwQabs.js → index.D_bHPQ8s.js} +1 -1
- streamlit/static/static/js/{index.CkxcnfCr.js → index.DalTq5GL.js} +1 -1
- streamlit/static/static/js/index.Df7nX4KF.js +1 -0
- streamlit/static/static/js/index.DgOwxLz5.js +4 -0
- streamlit/static/static/js/{index.BfjxH33Q.js → index.DmHQeMtj.js} +1 -1
- streamlit/static/static/js/index.DsKBnIk-.js +201 -0
- streamlit/static/static/js/{index.3p3iyxFl.js → index.DxsOgtLc.js} +11 -11
- streamlit/static/static/js/index.DyNkf5tM.js +1 -0
- streamlit/static/static/js/{index.C-fIpagH.js → index.Dz6VQ3qN.js} +2 -2
- streamlit/static/static/js/{index.vp4vsBFK.js → index.HktO7F0v.js} +112 -112
- streamlit/static/static/js/{index.CzhhqwJO.js → index.PriAkdhw.js} +1 -1
- streamlit/static/static/js/{index.PqkLl1t0.js → index.SKaK1lYU.js} +2 -2
- streamlit/static/static/js/index.V5OLP0n7.js +1 -0
- streamlit/static/static/js/index.YfuWGKrN.js +1 -0
- streamlit/static/static/js/index.g_BxiUns.js +1 -0
- streamlit/static/static/js/{index.3qE-vjOX.js → index.kc3Ycvjj.js} +34 -34
- streamlit/static/static/js/{input.mrdmFJfU.js → input.CqdNsSbL.js} +2 -2
- streamlit/static/static/js/{memory.BjfNr0ig.js → memory.Bkvk-eRa.js} +1 -1
- streamlit/static/static/js/mergeWith.DtsbyD6H.js +1 -0
- streamlit/static/static/js/number-overlay-editor.CR4D4kK1.js +9 -0
- streamlit/static/static/js/{sandbox.oLnJKv78.js → sandbox.C5M8yw5Z.js} +1 -1
- streamlit/static/static/js/{slicedToArray.BzQ82qu6.js → slicedToArray.BL5-s74J.js} +1 -1
- streamlit/static/static/js/{textarea.Da3YV5aR.js → textarea.DrGlWUDC.js} +2 -2
- streamlit/static/static/js/threshold.B8r8f5kt.js +1 -0
- streamlit/static/static/js/{timepicker.BAT5exrW.js → timepicker.Bdf2lGHx.js} +1 -1
- streamlit/static/static/js/timer.RueuYoQV.js +1 -0
- streamlit/static/static/js/{uniqueId.C8z92sBf.js → uniqueId.LGvQ35eR.js} +1 -1
- streamlit/static/static/js/{useBasicWidgetState.CH5oDGQl.js → useBasicWidgetState.TTzKcGCs.js} +1 -1
- streamlit/static/static/js/{useOnInputChange.Bo325HzD.js → useOnInputChange.ChvkrwHU.js} +1 -1
- streamlit/static/static/js/value.iufjd77T.js +1 -0
- streamlit/static/static/js/withFullScreenWrapper.ChQqb1TZ.js +1 -0
- streamlit/string_util.py +1 -1
- streamlit/temporary_directory.py +1 -1
- streamlit/testing/__init__.py +1 -1
- streamlit/testing/v1/__init__.py +1 -1
- streamlit/testing/v1/app_test.py +1 -1
- streamlit/testing/v1/element_tree.py +1 -1
- streamlit/testing/v1/local_script_runner.py +1 -1
- streamlit/testing/v1/util.py +1 -1
- streamlit/time_util.py +1 -1
- streamlit/type_util.py +2 -2
- streamlit/url_util.py +24 -1
- streamlit/user_info.py +94 -27
- streamlit/util.py +1 -1
- streamlit/version.py +1 -1
- streamlit/watcher/__init__.py +1 -1
- streamlit/watcher/event_based_path_watcher.py +1 -1
- streamlit/watcher/folder_black_list.py +1 -1
- streamlit/watcher/local_sources_watcher.py +1 -1
- streamlit/watcher/path_watcher.py +1 -1
- streamlit/watcher/polling_path_watcher.py +1 -1
- streamlit/watcher/util.py +1 -1
- streamlit/web/__init__.py +1 -1
- streamlit/web/bootstrap.py +1 -1
- streamlit/web/cache_storage_manager_config.py +1 -1
- streamlit/web/cli.py +1 -1
- streamlit/web/server/__init__.py +1 -1
- streamlit/web/server/app_static_file_handler.py +1 -1
- streamlit/web/server/authlib_tornado_integration.py +58 -0
- streamlit/web/server/browser_websocket_handler.py +72 -6
- streamlit/web/server/component_request_handler.py +1 -1
- streamlit/web/server/media_file_handler.py +1 -1
- streamlit/web/server/oauth_authlib_routes.py +176 -0
- streamlit/web/server/oidc_mixin.py +108 -0
- streamlit/web/server/routes.py +6 -4
- streamlit/web/server/server.py +41 -4
- streamlit/web/server/server_util.py +25 -1
- streamlit/web/server/stats_request_handler.py +1 -1
- streamlit/web/server/upload_file_request_handler.py +3 -2
- streamlit/web/server/websocket_headers.py +1 -1
- {streamlit_nightly-1.41.2.dev20250106.data → streamlit_nightly-1.41.2.dev20250108.data}/scripts/streamlit.cmd +1 -1
- {streamlit_nightly-1.41.2.dev20250106.dist-info → streamlit_nightly-1.41.2.dev20250108.dist-info}/METADATA +14 -2
- streamlit_nightly-1.41.2.dev20250108.dist-info/RECORD +562 -0
- {streamlit_nightly-1.41.2.dev20250106.dist-info → streamlit_nightly-1.41.2.dev20250108.dist-info}/WHEEL +1 -1
- streamlit/static/static/js/ProgressBar.VmrIzSqo.js +0 -2
- streamlit/static/static/js/RenderInPortalIfExists.B2NAzO0r.js +0 -1
- streamlit/static/static/js/Toolbar.DbmFapWn.js +0 -1
- streamlit/static/static/js/_commonjs-dynamic-modules.TDtrdbi3.js +0 -1
- streamlit/static/static/js/data-grid-overlay-editor.BkcxIt6O.js +0 -1
- streamlit/static/static/js/getPrototypeOf.bvOEi7fo.js +0 -1
- streamlit/static/static/js/index.1fq50cer.js +0 -4
- streamlit/static/static/js/index.75EUE6su.js +0 -1
- streamlit/static/static/js/index.8Bq56lcM.js +0 -1
- streamlit/static/static/js/index.BF04V0db.js +0 -1
- streamlit/static/static/js/index.BSgVnwxN.js +0 -1
- streamlit/static/static/js/index.B_nF-WE5.js +0 -1
- streamlit/static/static/js/index.BdfmpndH.js +0 -1
- streamlit/static/static/js/index.C3rcPpxm.js +0 -2
- streamlit/static/static/js/index.CgSymxeL.js +0 -201
- streamlit/static/static/js/index.D277ro6Y.js +0 -1
- streamlit/static/static/js/index.D6WGxtqm.js +0 -1
- streamlit/static/static/js/index.DaJKYvsa.js +0 -197
- streamlit/static/static/js/index.GNEDK2sZ.js +0 -1
- streamlit/static/static/js/index.KOla1gMY.js +0 -1
- streamlit/static/static/js/index.KmZ5vhVN.js +0 -32
- streamlit/static/static/js/index.KnCHOP8N.js +0 -1
- streamlit/static/static/js/index.SOQTU-r_.js +0 -1
- streamlit/static/static/js/index.WrhWPW-4.js +0 -1
- streamlit/static/static/js/index.dgKFPPrX.js +0 -1
- streamlit/static/static/js/index.drbticTq.js +0 -1
- streamlit/static/static/js/number-overlay-editor.WosTCRC_.js +0 -9
- streamlit/static/static/js/string.Bl9OLDCw.js +0 -1
- streamlit/static/static/js/threshold.skajmqVB.js +0 -1
- streamlit/static/static/js/timer.DwZfkapc.js +0 -1
- streamlit/static/static/js/withFullScreenWrapper.C7zDWu4g.js +0 -1
- streamlit_nightly-1.41.2.dev20250106.dist-info/RECORD +0 -556
- {streamlit_nightly-1.41.2.dev20250106.dist-info → streamlit_nightly-1.41.2.dev20250108.dist-info}/entry_points.txt +0 -0
- {streamlit_nightly-1.41.2.dev20250106.dist-info → streamlit_nightly-1.41.2.dev20250108.dist-info}/top_level.txt +0 -0
@@ -1 +0,0 @@
|
|
1
|
-
import{n as s,k as r,r as i,j as n}from"./index.3qE-vjOX.js";import{P as m,R as c}from"./RenderInPortalIfExists.B2NAzO0r.js";const p=""+new URL("../media/balloon-0.Czj7AKwE.png",import.meta.url).href,d=""+new URL("../media/balloon-1.CNvFFrND.png",import.meta.url).href,f=""+new URL("../media/balloon-2.DTvC6B1t.png",import.meta.url).href,B=""+new URL("../media/balloon-3.CgSk4tbL.png",import.meta.url).href,L=""+new URL("../media/balloon-4.mbtFrzxf.png",import.meta.url).href,h=""+new URL("../media/balloon-5.CSwkUfRA.png",import.meta.url).href,t=300,a=121,e=20,g=80,u=1e3,x=r("from{transform:translateY(calc(100vh + ",t,"px));}to{transform:translateY(0);}"),_=s("img",{target:"e178qe310"})(({theme:o})=>({position:"fixed",top:`${-t}px`,marginLeft:`${-a/2}px`,zIndex:o.zIndices.balloons,left:`${Math.random()*(g-e)+e}vw`,animationDelay:`${Math.random()*u}ms`,height:`${t}px`,width:`${a}px`,pointerEvents:"none",animationDuration:"750ms",animationName:x,animationTimingFunction:"ease-in",animationDirection:"normal",animationIterationCount:1,opacity:1})),w=30,l=[p,d,f,B,L,h],A=l.length,I=({particleType:o})=>n(_,{src:l[o]}),M=({scriptRunId:o})=>n(c,{children:n(m,{className:"stBalloons","data-testid":"stBalloons",scriptRunId:o,numParticleTypes:A,numParticles:w,ParticleComponent:I})}),S=i.memo(M);export{w as NUM_BALLOONS,S as default};
|
@@ -1 +0,0 @@
|
|
1
|
-
import{n as t,aM as e,a8 as o,j as s,a2 as i}from"./index.3qE-vjOX.js";import{P as l}from"./ProgressBar.VmrIzSqo.js";const d=t("div",{target:"eg8e9hd0"})(({theme:a})=>({paddingBottom:a.spacing.sm,lineHeight:"normal",color:e(a)}));function c({element:a,width:r}){return o("div",{className:"stProgress","data-testid":"stProgress",children:[s(d,{children:s(i,{source:a.text,allowHTML:!1,isLabel:!0})}),s(l,{value:a.value,width:r})]})}export{c as default};
|
@@ -1 +0,0 @@
|
|
1
|
-
import{r as i,E as W,_ as $,n as d,a5 as L,M as V,j as a,a8 as D,aY as K}from"./index.3qE-vjOX.js";import{I as N}from"./InputInstructions.BMT8dg5S.js";import{i as _}from"./inputUtils.CQWz5UKz.js";import{T as M}from"./textarea.Da3YV5aR.js";import"./base-input.B1a61Ojd.js";var R=i.forwardRef(function(t,r){var l={fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"};return i.createElement(W,$({iconAttrs:l,iconVerticalAlign:"middle",iconViewBox:"0 0 24 24"},t,{ref:r}),i.createElement("rect",{width:24,height:24,fill:"none"}),i.createElement("path",{d:"M3 5.51v3.71c0 .46.31.86.76.97L11 12l-7.24 1.81c-.45.11-.76.51-.76.97v3.71c0 .72.73 1.2 1.39.92l15.42-6.49c.82-.34.82-1.5 0-1.84L4.39 4.58C3.73 4.31 3 4.79 3 5.51z"}))});R.displayName="Send";const j=d("div",{target:"e1ur7if90"})(({theme:t,width:r})=>({borderRadius:t.radii.xxxl,display:"flex",backgroundColor:t.colors.widgetBackgroundColor??t.colors.secondaryBg,width:`${r}px`})),A=d("div",{target:"e1ur7if91"})(({theme:t})=>({backgroundColor:t.colors.transparent,position:"relative",flexGrow:1,borderRadius:t.radii.xxxl,display:"flex",alignItems:"center"})),F=d("button",{target:"e1ur7if92"})(({theme:t,disabled:r,extended:l})=>{const u=L(t),[o,g]=u?[t.colors.gray60,t.colors.gray80]:[t.colors.gray80,t.colors.gray40];return{border:"none",backgroundColor:t.colors.transparent,borderTopRightRadius:l?"0":t.radii.xxxl,borderTopLeftRadius:l?t.radii.default:"0",borderBottomRightRadius:t.radii.xxxl,display:"inline-flex",alignItems:"center",justifyContent:"center",lineHeight:t.lineHeights.none,margin:t.spacing.none,padding:t.spacing.sm,color:r?o:g,pointerEvents:"auto","&:focus":{outline:"none"},":focus":{outline:"none"},"&:focus-visible":{backgroundColor:u?t.colors.gray10:t.colors.gray90},"&:hover":{color:t.colors.primary},"&:disabled, &:disabled:hover, &:disabled:active":{backgroundColor:t.colors.transparent,borderColor:t.colors.transparent,color:t.colors.gray}}}),G=d("div",{target:"e1ur7if93"})({display:"flex",alignItems:"flex-end",height:"100%",position:"absolute",right:0,pointerEvents:"none"}),U=d("div",{target:"e1ur7if94"})(({theme:t})=>({position:"absolute",bottom:"0px",right:`calc(${t.iconSizes.xl} + 2 * ${t.spacing.sm} + ${t.spacing.sm})`})),O=6.5,H=1;function Z({width:t,element:r,widgetMgr:l,fragmentId:u}){const o=V(),[g,h]=i.useState(!1),[p,f]=i.useState(r.default),[x,y]=i.useState(0),s=i.useRef(null),b=i.useRef({minHeight:0,maxHeight:0}),E=()=>{let e=0;const{current:n}=s;if(n){const c=n.placeholder;n.placeholder="",n.style.height="auto",e=n.scrollHeight,n.placeholder=c,n.style.height=""}return e},C=()=>{s.current&&s.current.focus(),p&&(l.setStringTriggerValue(r,p,{fromUi:!0},u),h(!1),f(""),y(0))},w=e=>{const{metaKey:n,ctrlKey:c,shiftKey:z}=e;_(e)&&!z&&!c&&!n&&(e.preventDefault(),C())},k=e=>{const{value:n}=e.target,{maxChars:c}=r;c!==0&&n.length>c||(h(n!==""),f(n),y(E()))};i.useEffect(()=>{if(r.setValue){r.setValue=!1;const e=r.value||"";f(e),h(e!=="")}},[r]),i.useEffect(()=>{if(s.current){const{offsetHeight:e}=s.current;b.current.minHeight=e,b.current.maxHeight=e*O}},[s]);const{disabled:I,placeholder:m,maxChars:B}=r,{minHeight:T,maxHeight:S}=b.current,v=x>0&&s.current?Math.abs(x-T)>H:!1;return a(j,{className:"stChatInput","data-testid":"stChatInput",width:t,children:D(A,{children:[a(M,{inputRef:s,value:p,placeholder:m,onChange:k,onKeyDown:w,"aria-label":m,disabled:I,rows:1,overrides:{Root:{style:{minHeight:o.sizes.minElementHeight,outline:"none",backgroundColor:o.colors.transparent,borderRadius:o.radii.xxxl,borderLeftWidth:o.sizes.borderWidth,borderRightWidth:o.sizes.borderWidth,borderTopWidth:o.sizes.borderWidth,borderBottomWidth:o.sizes.borderWidth,width:`${t}px`}},InputContainer:{style:{backgroundColor:o.colors.transparent}},Input:{props:{"data-testid":"stChatInputTextArea"},style:{lineHeight:o.lineHeights.inputWidget,backgroundColor:o.colors.transparent,resize:"none","::placeholder":{opacity:"0.7"},height:v?`${x+H}px`:"auto",maxHeight:S?`${S}px`:"none",paddingLeft:o.spacing.lg,paddingBottom:o.spacing.sm,paddingTop:o.spacing.sm,paddingRight:`calc(${o.iconSizes.xl} + 2 * ${o.spacing.sm} + ${o.spacing.sm})`}}}}),t>o.breakpoints.hideWidgetDetails&&a(U,{children:a(N,{dirty:g,value:p,maxLength:B,type:"chat",inForm:!1})}),a(G,{children:a(F,{onClick:C,disabled:!g||I,extended:v,"data-testid":"stChatInputSubmitButton",children:a(K,{content:R,size:"xl",color:"inherit"})})})]})})}export{Z as default};
|
@@ -1 +0,0 @@
|
|
1
|
-
import{n as t,D as d,j as c,aD as l,aE as g,A as e}from"./index.3qE-vjOX.js";const f=t("iframe",{target:"etgi5ab0"})(({theme:o,disableScrolling:i})=>({colorScheme:"normal",border:"none",padding:o.spacing.none,margin:o.spacing.none,overflow:i?"hidden":void 0}));function E({element:o,width:i}){const s=o.hasWidth?o.width:i,n=r(o.src),a=d(n)?void 0:r(o.srcdoc);return c(f,{className:"stIFrame","data-testid":"stIFrame",allow:l,disableScrolling:!o.scrolling,src:n,srcDoc:a,width:s,height:o.height,scrolling:o.scrolling?"auto":"no",sandbox:g,title:"st.iframe"})}function r(o){return e(o)||o===""?void 0:o}export{E as default};
|
@@ -1 +0,0 @@
|
|
1
|
-
import{n as e,aW as t,i as d,R as l,a7 as c,bA as p,j as i,bB as g,a8 as S,a2 as u}from"./index.3qE-vjOX.js";const b=e(t,{shouldForwardProp:d,target:"edrijs90"})(({theme:s,usingCustomTheme:r})=>({fontSize:s.fontSizes.sm,width:s.sizes.spinnerSize,height:s.sizes.spinnerSize,borderWidth:s.sizes.spinnerThickness,radius:s.radii.md,justifyContents:"center",padding:s.spacing.none,margin:s.spacing.none,borderColor:s.colors.borderColor,borderTopColor:r?s.colors.primary:s.colors.blue70,flexGrow:0,flexShrink:0})),C=e("div",{target:"edrijs91"})(({theme:s,width:r,cache:n})=>({width:r,...n?{paddingBottom:s.spacing.lg,background:`linear-gradient(to bottom, ${s.colors.bgColor} 0%, ${s.colors.bgColor} 80%, transparent 100%)`}:null})),f=e("div",{target:"edrijs92"})(({theme:s})=>({display:"flex",gap:s.spacing.sm,alignItems:"center",width:"100%"}));function y({width:s,element:r}){const{activeTheme:n}=l.useContext(c),a=!p(n),{cache:o}=r;return i(C,{className:g({stSpinner:!0,stCacheSpinner:o}),"data-testid":"stSpinner",width:s,cache:o,children:S(f,{children:[i(b,{usingCustomTheme:a}),i(u,{source:r.text,allowHTML:!1})]})})}export{y as default};
|
@@ -1,9 +0,0 @@
|
|
1
|
-
import{R as X,r as T}from"./index.3qE-vjOX.js";import{s as Te}from"./index.DaJKYvsa.js";import"./FormClearHelper.BIe6FN2Y.js";import"./withFullScreenWrapper.C7zDWu4g.js";import"./Toolbar.DbmFapWn.js";import"./sprintf.C-r3gIuM.js";import"./createDownloadLinkElement.DZMwyjvU.js";import"./slicedToArray.BzQ82qu6.js";import"./getPrototypeOf.bvOEi7fo.js";import"./createSuper.DuLZrute.js";import"./FileDownload.esm.BfiuyXfu.js";const Be=Te("div")({name:"NumberOverlayEditorStyle",class:"gdg-n15fjm3e",propsAsIs:!1});function Se(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,n=Object.getOwnPropertySymbols(e);a<n.length;a++)t.indexOf(n[a])<0&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]]);return r}var re;(function(e){e.event="event",e.props="prop"})(re||(re={}));function q(){}function Fe(e){var t,r=void 0;return function(){for(var n=[],a=arguments.length;a--;)n[a]=arguments[a];return t&&n.length===t.length&&n.every(function(i,l){return i===t[l]})||(t=n,r=e.apply(void 0,n)),r}}function ae(e){return!!(e||"").match(/\d/)}function Y(e){return e==null}function _e(e){return typeof e=="number"&&isNaN(e)}function pe(e){return Y(e)||_e(e)||typeof e=="number"&&!isFinite(e)}function xe(e){return e.replace(/[-[\]/{}()*+?.\\^$|]/g,"\\$&")}function je(e){switch(e){case"lakh":return/(\d+?)(?=(\d\d)+(\d)(?!\d))(\.\d+)?/g;case"wan":return/(\d)(?=(\d{4})+(?!\d))/g;case"thousand":default:return/(\d)(?=(\d{3})+(?!\d))/g}}function Le(e,t,r){var n=je(r),a=e.search(/[1-9]/);return a=a===-1?e.length:a,e.substring(0,a)+e.substring(a,e.length).replace(n,"$1"+t)}function Me(e){var t=T.useRef(e);t.current=e;var r=T.useRef(function(){for(var n=[],a=arguments.length;a--;)n[a]=arguments[a];return t.current.apply(t,n)});return r.current}function se(e,t){t===void 0&&(t=!0);var r=e[0]==="-",n=r&&t;e=e.replace("-","");var a=e.split("."),i=a[0],l=a[1]||"";return{beforeDecimal:i,afterDecimal:l,hasNegation:r,addNegation:n}}function ke(e){if(!e)return e;var t=e[0]==="-";t&&(e=e.substring(1,e.length));var r=e.split("."),n=r[0].replace(/^0+/,"")||"0",a=r[1]||"";return(t?"-":"")+n+(a?"."+a:"")}function ye(e,t,r){for(var n="",a=r?"0":"",i=0;i<=t-1;i++)n+=e[i]||a;return n}function de(e,t){return Array(t+1).join(e)}function be(e){var t=e+"",r=t[0]==="-"?"-":"";r&&(t=t.substring(1));var n=t.split(/[eE]/g),a=n[0],i=n[1];if(i=Number(i),!i)return r+a;a=a.replace(".","");var l=1+i,h=a.length;return l<0?a="0."+de("0",Math.abs(l))+a:l>=h?a=a+de("0",l-h):a=(a.substring(0,l)||"0")+"."+a.substring(l),r+a}function ge(e,t,r){if(["","-"].indexOf(e)!==-1)return e;var n=(e.indexOf(".")!==-1||r)&&t,a=se(e),i=a.beforeDecimal,l=a.afterDecimal,h=a.hasNegation,p=parseFloat("0."+(l||"0")),x=l.length<=t?"0."+l:p.toFixed(t),S=x.split("."),c=i;i&&Number(S[0])&&(c=i.split("").reverse().reduce(function(I,C,g){return I.length>g?(Number(I[0])+Number(C)).toString()+I.substring(1,I.length):C+I},S[0]));var m=ye(S[1]||"",t,r),y=h?"-":"",s=n?".":"";return""+y+c+s+m}function H(e,t){if(e.value=e.value,e!==null){if(e.createTextRange){var r=e.createTextRange();return r.move("character",t),r.select(),!0}return e.selectionStart||e.selectionStart===0?(e.focus(),e.setSelectionRange(t,t),!0):(e.focus(),!1)}}var Ve=Fe(function(e,t){for(var r=0,n=0,a=e.length,i=t.length;e[r]===t[r]&&r<a;)r++;for(;e[a-1-n]===t[i-1-n]&&i-n>r&&a-n>r;)n++;return{from:{start:r,end:a-n},to:{start:r,end:i-n}}}),Pe=function(e,t){var r=Math.min(e.selectionStart,t);return{from:{start:r,end:e.selectionEnd},to:{start:r,end:t}}};function Ke(e,t,r){return Math.min(Math.max(e,t),r)}function ce(e){return Math.max(e.selectionStart,e.selectionEnd)}function We(){return typeof navigator<"u"&&!(navigator.platform&&/iPhone|iPod/.test(navigator.platform))}function Ue(e){return{from:{start:0,end:0},to:{start:0,end:e.length},lastValue:""}}function $e(e){var t=e.currentValue,r=e.formattedValue,n=e.currentValueIndex,a=e.formattedValueIndex;return t[n]===r[a]}function Ge(e,t,r,n,a,i,l){l===void 0&&(l=$e);var h=a.findIndex(function(k){return k}),p=e.slice(0,h);!t&&!r.startsWith(p)&&(t=p,r=p+r,n=n+p.length);for(var x=r.length,S=e.length,c={},m=new Array(x),y=0;y<x;y++){m[y]=-1;for(var s=0,I=S;s<I;s++){var C=l({currentValue:r,lastValue:t,formattedValue:e,currentValueIndex:y,formattedValueIndex:s});if(C&&c[s]!==!0){m[y]=s,c[s]=!0;break}}}for(var g=n;g<x&&(m[g]===-1||!i(r[g]));)g++;var B=g===x||m[g]===-1?S:m[g];for(g=n-1;g>0&&m[g]===-1;)g--;var F=g===-1||m[g]===-1?0:m[g]+1;return F>B?B:n-F<B-n?F:B}function me(e,t,r,n){var a=e.length;if(t=Ke(t,0,a),n==="left"){for(;t>=0&&!r[t];)t--;t===-1&&(t=r.indexOf(!0))}else{for(;t<=a&&!r[t];)t++;t>a&&(t=r.lastIndexOf(!0))}return t===-1&&(t=a),t}function Ze(e){for(var t=Array.from({length:e.length+1}).map(function(){return!0}),r=0,n=t.length;r<n;r++)t[r]=!!(ae(e[r])||ae(e[r-1]));return t}function Ne(e,t,r,n,a,i){i===void 0&&(i=q);var l=Me(function(s,I){var C,g;return pe(s)?(g="",C=""):typeof s=="number"||I?(g=typeof s=="number"?be(s):s,C=n(g)):(g=a(s,void 0),C=n(g)),{formattedValue:C,numAsString:g}}),h=T.useState(function(){return l(Y(e)?t:e,r)}),p=h[0],x=h[1],S=function(s,I){s.formattedValue!==p.formattedValue&&x({formattedValue:s.formattedValue,numAsString:s.value}),i(s,I)},c=e,m=r;Y(e)&&(c=p.numAsString,m=!0);var y=l(c,m);return T.useMemo(function(){x(y)},[y.formattedValue]),[p,S]}function qe(e){return e.replace(/[^0-9]/g,"")}function ze(e){return e}function He(e){var t=e.type;t===void 0&&(t="text");var r=e.displayType;r===void 0&&(r="input");var n=e.customInput,a=e.renderText,i=e.getInputRef,l=e.format;l===void 0&&(l=ze);var h=e.removeFormatting;h===void 0&&(h=qe);var p=e.defaultValue,x=e.valueIsNumericString,S=e.onValueChange,c=e.isAllowed,m=e.onChange;m===void 0&&(m=q);var y=e.onKeyDown;y===void 0&&(y=q);var s=e.onMouseUp;s===void 0&&(s=q);var I=e.onFocus;I===void 0&&(I=q);var C=e.onBlur;C===void 0&&(C=q);var g=e.value,B=e.getCaretBoundary;B===void 0&&(B=Ze);var F=e.isValidInputCharacter;F===void 0&&(F=ae);var k=e.isCharacterSame,j=Se(e,["type","displayType","customInput","renderText","getInputRef","format","removeFormatting","defaultValue","valueIsNumericString","onValueChange","isAllowed","onChange","onKeyDown","onMouseUp","onFocus","onBlur","value","getCaretBoundary","isValidInputCharacter","isCharacterSame"]),z=Ne(g,p,!!x,l,h,S),P=z[0],V=P.formattedValue,L=P.numAsString,W=z[1],M=T.useRef(),U=T.useRef({formattedValue:V,numAsString:L}),$=function(o,u){U.current={formattedValue:o.formattedValue,numAsString:o.value},W(o,u)},J=T.useState(!1),ee=J[0],d=J[1],f=T.useRef(null),N=T.useRef({setCaretTimeout:null,focusTimeout:null});T.useEffect(function(){return d(!0),function(){clearTimeout(N.current.setCaretTimeout),clearTimeout(N.current.focusTimeout)}},[]);var R=l,A=function(o,u){var v=parseFloat(u);return{formattedValue:o,value:u,floatValue:isNaN(v)?void 0:v}},E=function(o,u,v){o.selectionStart===0&&o.selectionEnd===o.value.length||(H(o,u),N.current.setCaretTimeout=setTimeout(function(){o.value===v&&o.selectionStart!==u&&H(o,u)},0))},O=function(o,u,v){return me(o,u,B(o),v)},Q=function(o,u,v){var w=B(u),_=Ge(u,V,o,v,w,F,k);return _=me(u,_,w),_},oe=function(o){var u=o.formattedValue;u===void 0&&(u="");var v=o.input,w=o.source,_=o.event,D=o.numAsString,b;if(v){var K=o.inputValue||v.value,G=ce(v);v.value=u,b=Q(K,u,G),b!==void 0&&E(v,b,u)}u!==V&&$(A(u,D),{event:_,source:w})};T.useEffect(function(){var o=U.current,u=o.formattedValue,v=o.numAsString;(V!==u||L!==v)&&$(A(V,L),{event:void 0,source:re.props})},[V,L]);var te=f.current?ce(f.current):void 0,ne=typeof window<"u"?T.useLayoutEffect:T.useEffect;ne(function(){var o=f.current;if(V!==U.current.formattedValue&&o){var u=Q(U.current.formattedValue,V,te);o.value=V,E(o,u,V)}},[V]);var ue=function(o,u,v){var w=u.target,_=M.current?Pe(M.current,w.selectionEnd):Ve(V,o),D=Object.assign(Object.assign({},_),{lastValue:V}),b=h(o,D),K=R(b);if(b=h(K,void 0),c&&!c(A(K,b))){var G=u.target,Z=ce(G),fe=Q(o,V,Z);return G.value=V,E(G,fe,V),!1}return oe({formattedValue:K,numAsString:b,inputValue:o,event:u,source:v,input:u.target}),!0},le=function(o,u){u===void 0&&(u=0);var v=o.selectionStart,w=o.selectionEnd;M.current={selectionStart:v,selectionEnd:w+u}},De=function(o){var u=o.target,v=u.value,w=ue(v,o,re.event);w&&m(o),M.current=void 0},Ie=function(o){var u=o.target,v=o.key,w=u.selectionStart,_=u.selectionEnd,D=u.value;D===void 0&&(D="");var b;v==="ArrowLeft"||v==="Backspace"?b=Math.max(w-1,0):v==="ArrowRight"?b=Math.min(w+1,D.length):v==="Delete"&&(b=w);var K=0;v==="Delete"&&w===_&&(K=1);var G=v==="ArrowLeft"||v==="ArrowRight";if(b===void 0||w!==_&&!G){y(o),le(u,K);return}var Z=b;if(G){var fe=v==="ArrowLeft"?"left":"right";Z=O(D,b,fe),Z!==b&&o.preventDefault()}else v==="Delete"&&!F(D[b])?Z=O(D,b,"right"):v==="Backspace"&&!F(D[b])&&(Z=O(D,b,"left"));Z!==b&&E(u,Z,D),y(o),le(u,K)},Ce=function(o){var u=o.target,v=function(){var w=u.selectionStart,_=u.selectionEnd,D=u.value;if(D===void 0&&(D=""),w===_){var b=O(D,w);b!==w&&E(u,b,D)}};v(),requestAnimationFrame(function(){v()}),s(o),le(u)},Ee=function(o){o.persist&&o.persist();var u=o.target,v=o.currentTarget;f.current=u,N.current.focusTimeout=setTimeout(function(){var w=u.selectionStart,_=u.selectionEnd,D=u.value;D===void 0&&(D="");var b=O(D,w);b!==w&&!(w===0&&_===D.length)&&E(u,b,D),I(Object.assign(Object.assign({},o),{currentTarget:v}))},0)},Re=function(o){f.current=null,clearTimeout(N.current.focusTimeout),clearTimeout(N.current.setCaretTimeout),C(o)},Ae=ee&&We()?"numeric":void 0,ve=Object.assign({inputMode:Ae},j,{type:t,value:V,onChange:De,onKeyDown:Ie,onMouseUp:Ce,onFocus:Ee,onBlur:Re});if(r==="text")return a?X.createElement(X.Fragment,null,a(V,j)||null):X.createElement("span",Object.assign({},j,{ref:i}),V);if(n){var Oe=n;return X.createElement(Oe,Object.assign({},ve,{ref:i}))}return X.createElement("input",Object.assign({},ve,{ref:i}))}function he(e,t){var r=t.decimalScale,n=t.fixedDecimalScale,a=t.prefix;a===void 0&&(a="");var i=t.suffix;i===void 0&&(i="");var l=t.allowNegative,h=t.thousandsGroupStyle;if(h===void 0&&(h="thousand"),e===""||e==="-")return e;var p=ie(t),x=p.thousandSeparator,S=p.decimalSeparator,c=r!==0&&e.indexOf(".")!==-1||r&&n,m=se(e,l),y=m.beforeDecimal,s=m.afterDecimal,I=m.addNegation;return r!==void 0&&(s=ye(s,r,!!n)),x&&(y=Le(y,x,h)),a&&(y=a+y),i&&(s=s+i),I&&(y="-"+y),e=y+(c&&S||"")+s,e}function ie(e){var t=e.decimalSeparator;t===void 0&&(t=".");var r=e.thousandSeparator,n=e.allowedDecimalSeparators;return r===!0&&(r=","),n||(n=[t,"."]),{decimalSeparator:t,thousandSeparator:r,allowedDecimalSeparators:n}}function Je(e,t){e===void 0&&(e="");var r=new RegExp("(-)"),n=new RegExp("(-)(.)*(-)"),a=r.test(e),i=n.test(e);return e=e.replace(/-/g,""),a&&!i&&t&&(e="-"+e),e}function Qe(e,t){return new RegExp("(^-)|[0-9]|"+xe(e),"g")}function Xe(e,t,r){return e===""?!0:!(t!=null&&t.match(/\d/))&&!(r!=null&&r.match(/\d/))&&typeof e=="string"&&!isNaN(Number(e))}function Ye(e,t,r){var n;t===void 0&&(t=Ue(e));var a=r.allowNegative,i=r.prefix;i===void 0&&(i="");var l=r.suffix;l===void 0&&(l="");var h=r.decimalScale,p=t.from,x=t.to,S=x.start,c=x.end,m=ie(r),y=m.allowedDecimalSeparators,s=m.decimalSeparator,I=e[c]===s;if(ae(e)&&(e===i||e===l)&&t.lastValue==="")return e;if(c-S===1&&y.indexOf(e[S])!==-1){var C=h===0?"":s;e=e.substring(0,S)+C+e.substring(S+1,e.length)}var g=function(f,N,R){var A=!1,E=!1;i.startsWith("-")?A=!1:f.startsWith("--")?(A=!1,E=!0):l.startsWith("-")&&f.length===l.length?A=!1:f[0]==="-"&&(A=!0);var O=A?1:0;return E&&(O=2),O&&(f=f.substring(O),N-=O,R-=O),{value:f,start:N,end:R,hasNegation:A}},B=g(e,S,c),F=B.hasNegation;n=B,e=n.value,S=n.start,c=n.end;var k=g(t.lastValue,p.start,p.end),j=k.start,z=k.end,P=k.value,V=e.substring(S,c);e.length&&P.length&&(j>P.length-l.length||z<i.length)&&!(V&&l.startsWith(V))&&(e=P);var L=0;e.startsWith(i)?L+=i.length:S<i.length&&(L=S),e=e.substring(L),c-=L;var W=e.length,M=e.length-l.length;e.endsWith(l)?W=M:(c>M||c>e.length-l.length)&&(W=c),e=e.substring(0,W),e=Je(F?"-"+e:e,a),e=(e.match(Qe(s))||[]).join("");var U=e.indexOf(s);e=e.replace(new RegExp(xe(s),"g"),function(f,N){return N===U?".":""});var $=se(e,a),J=$.beforeDecimal,ee=$.afterDecimal,d=$.addNegation;return x.end-x.start<p.end-p.start&&J===""&&I&&!parseFloat(ee)&&(e=d?"-":""),e}function et(e,t){var r=t.prefix;r===void 0&&(r="");var n=t.suffix;n===void 0&&(n="");var a=Array.from({length:e.length+1}).map(function(){return!0}),i=e[0]==="-";a.fill(!1,0,r.length+(i?1:0));var l=e.length;return a.fill(!1,l-n.length+1,l+1),a}function tt(e){var t=ie(e),r=t.thousandSeparator,n=t.decimalSeparator,a=e.prefix;a===void 0&&(a="");var i=e.allowNegative;if(i===void 0&&(i=!0),r===n)throw new Error(`
|
2
|
-
Decimal separator can't be same as thousand separator.
|
3
|
-
thousandSeparator: `+r+` (thousandSeparator = {true} is same as thousandSeparator = ",")
|
4
|
-
decimalSeparator: `+n+` (default value for decimalSeparator is .)
|
5
|
-
`);return a.startsWith("-")&&i&&(console.error(`
|
6
|
-
Prefix can't start with '-' when allowNegative is true.
|
7
|
-
prefix: `+a+`
|
8
|
-
allowNegative: `+i+`
|
9
|
-
`),i=!1),Object.assign(Object.assign({},e),{allowNegative:i})}function rt(e){e=tt(e),e.decimalSeparator,e.allowedDecimalSeparators,e.thousandsGroupStyle;var t=e.suffix,r=e.allowNegative,n=e.allowLeadingZeros,a=e.onKeyDown;a===void 0&&(a=q);var i=e.onBlur;i===void 0&&(i=q);var l=e.thousandSeparator,h=e.decimalScale,p=e.fixedDecimalScale,x=e.prefix;x===void 0&&(x="");var S=e.defaultValue,c=e.value,m=e.valueIsNumericString,y=e.onValueChange,s=Se(e,["decimalSeparator","allowedDecimalSeparators","thousandsGroupStyle","suffix","allowNegative","allowLeadingZeros","onKeyDown","onBlur","thousandSeparator","decimalScale","fixedDecimalScale","prefix","defaultValue","value","valueIsNumericString","onValueChange"]),I=ie(e),C=I.decimalSeparator,g=I.allowedDecimalSeparators,B=function(d){return he(d,e)},F=function(d,f){return Ye(d,f,e)},k=Y(c)?S:c,j=m??Xe(k,x,t);Y(c)?Y(S)||(j=j||typeof S=="number"):j=j||typeof c=="number";var z=function(d){return pe(d)?d:(typeof d=="number"&&(d=be(d)),j&&typeof h=="number"?ge(d,h,!!p):d)},P=Ne(z(c),z(S),!!j,B,F,y),V=P[0],L=V.numAsString,W=V.formattedValue,M=P[1],U=function(d){var f=d.target,N=d.key,R=f.selectionStart,A=f.selectionEnd,E=f.value;if(E===void 0&&(E=""),(N==="Backspace"||N==="Delete")&&A<x.length){d.preventDefault();return}if(R!==A){a(d);return}N==="Backspace"&&E[0]==="-"&&R===x.length+1&&r&&H(f,1),h&&p&&(N==="Backspace"&&E[R-1]===C?(H(f,R-1),d.preventDefault()):N==="Delete"&&E[R]===C&&d.preventDefault()),g!=null&&g.includes(N)&&E[R]===C&&H(f,R+1);var O=l===!0?",":l;N==="Backspace"&&E[R-1]===O&&H(f,R-1),N==="Delete"&&E[R]===O&&H(f,R+1),a(d)},$=function(d){var f=L;if(f.match(/\d/g)||(f=""),n||(f=ke(f)),p&&h&&(f=ge(f,h,p)),f!==L){var N=he(f,e);M({formattedValue:N,value:f,floatValue:parseFloat(f)},{event:d,source:re.event})}i(d)},J=function(d){return d===C?!0:ae(d)},ee=function(d){var f=d.currentValue,N=d.lastValue,R=d.formattedValue,A=d.currentValueIndex,E=d.formattedValueIndex,O=f[A],Q=R[E],oe=Ve(N,f),te=oe.to,ne=function(ue){return F(ue).indexOf(".")+x.length};return c===0&&p&&h&&f[te.start]===C&&ne(f)<A&&ne(R)>E?!1:A>=te.start&&A<te.end&&g&&g.includes(O)&&Q===C?!0:O===Q};return Object.assign(Object.assign({},s),{value:W,valueIsNumericString:!1,isValidInputCharacter:J,isCharacterSame:ee,onValueChange:M,format:B,removeFormatting:F,getCaretBoundary:function(d){return et(d,e)},onKeyDown:U,onBlur:$})}function at(e){var t=rt(e);return X.createElement(He,Object.assign({},t))}function we(){var r,n,a;return((a=(n=(r=Intl.NumberFormat())==null?void 0:r.formatToParts(1.1))==null?void 0:n.find(i=>i.type==="decimal"))==null?void 0:a.value)??"."}function nt(){return we()==="."?",":"."}const ht=e=>{const{value:t,onChange:r,disabled:n,highlight:a,validatedSelection:i,fixedDecimals:l,allowNegative:h,thousandSeparator:p,decimalSeparator:x}=e,S=T.useRef();return T.useLayoutEffect(()=>{var c;if(i!==void 0){const m=typeof i=="number"?[i,null]:i;(c=S.current)==null||c.setSelectionRange(m[0],m[1])}},[i]),T.createElement(Be,null,T.createElement(at,{autoFocus:!0,getInputRef:S,className:"gdg-input",onFocus:c=>c.target.setSelectionRange(a?0:c.target.value.length,c.target.value.length),disabled:n===!0,decimalScale:l,allowNegative:h,thousandSeparator:p??nt(),decimalSeparator:x??we(),value:Object.is(t,-0)?"-":t??"",onValueChange:r}))};export{ht as default};
|
@@ -1 +0,0 @@
|
|
1
|
-
function q(e,r,n){e.prototype=r.prototype=n,n.constructor=e}function G(e,r){var n=Object.create(e.prototype);for(var t in r)n[t]=r[t];return n}function m(){}var b=.7,$=1/b,g="\\s*([+-]?\\d+)\\s*",p="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",c="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",Q=/^#([0-9a-f]{3,8})$/,T=new RegExp(`^rgb\\(${g},${g},${g}\\)$`),U=new RegExp(`^rgb\\(${c},${c},${c}\\)$`),V=new RegExp(`^rgba\\(${g},${g},${g},${p}\\)$`),W=new RegExp(`^rgba\\(${c},${c},${c},${p}\\)$`),X=new RegExp(`^hsl\\(${p},${c},${c}\\)$`),Y=new RegExp(`^hsla\\(${p},${c},${c},${p}\\)$`),_={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};q(m,E,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:P,formatHex:P,formatHex8:Z,formatHsl:ee,formatRgb:j,toString:j});function P(){return this.rgb().formatHex()}function Z(){return this.rgb().formatHex8()}function ee(){return L(this).formatHsl()}function j(){return this.rgb().formatRgb()}function E(e){var r,n;return e=(e+"").trim().toLowerCase(),(r=Q.exec(e))?(n=r[1].length,r=parseInt(r[1],16),n===6?S(r):n===3?new o(r>>8&15|r>>4&240,r>>4&15|r&240,(r&15)<<4|r&15,1):n===8?w(r>>24&255,r>>16&255,r>>8&255,(r&255)/255):n===4?w(r>>12&15|r>>8&240,r>>8&15|r>>4&240,r>>4&15|r&240,((r&15)<<4|r&15)/255):null):(r=T.exec(e))?new o(r[1],r[2],r[3],1):(r=U.exec(e))?new o(r[1]*255/100,r[2]*255/100,r[3]*255/100,1):(r=V.exec(e))?w(r[1],r[2],r[3],r[4]):(r=W.exec(e))?w(r[1]*255/100,r[2]*255/100,r[3]*255/100,r[4]):(r=X.exec(e))?O(r[1],r[2]/100,r[3]/100,1):(r=Y.exec(e))?O(r[1],r[2]/100,r[3]/100,r[4]):_.hasOwnProperty(e)?S(_[e]):e==="transparent"?new o(NaN,NaN,NaN,0):null}function S(e){return new o(e>>16&255,e>>8&255,e&255,1)}function w(e,r,n,t){return t<=0&&(e=r=n=NaN),new o(e,r,n,t)}function re(e){return e instanceof m||(e=E(e)),e?(e=e.rgb(),new o(e.r,e.g,e.b,e.opacity)):new o}function N(e,r,n,t){return arguments.length===1?re(e):new o(e,r,n,t??1)}function o(e,r,n,t){this.r=+e,this.g=+r,this.b=+n,this.opacity=+t}q(o,N,G(m,{brighter(e){return e=e==null?$:Math.pow($,e),new o(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=e==null?b:Math.pow(b,e),new o(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new o(d(this.r),d(this.g),d(this.b),v(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:A,formatHex:A,formatHex8:ne,formatRgb:B,toString:B}));function A(){return`#${h(this.r)}${h(this.g)}${h(this.b)}`}function ne(){return`#${h(this.r)}${h(this.g)}${h(this.b)}${h((isNaN(this.opacity)?1:this.opacity)*255)}`}function B(){const e=v(this.opacity);return`${e===1?"rgb(":"rgba("}${d(this.r)}, ${d(this.g)}, ${d(this.b)}${e===1?")":`, ${e})`}`}function v(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function d(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function h(e){return e=d(e),(e<16?"0":"")+e.toString(16)}function O(e,r,n,t){return t<=0?e=r=n=NaN:n<=0||n>=1?e=r=NaN:r<=0&&(e=NaN),new l(e,r,n,t)}function L(e){if(e instanceof l)return new l(e.h,e.s,e.l,e.opacity);if(e instanceof m||(e=E(e)),!e)return new l;if(e instanceof l)return e;e=e.rgb();var r=e.r/255,n=e.g/255,t=e.b/255,f=Math.min(r,n,t),i=Math.max(r,n,t),a=NaN,s=i-f,x=(i+f)/2;return s?(r===i?a=(n-t)/s+(n<t)*6:n===i?a=(t-r)/s+2:a=(r-n)/s+4,s/=x<.5?i+f:2-i-f,a*=60):s=x>0&&x<1?0:a,new l(a,s,x,e.opacity)}function te(e,r,n,t){return arguments.length===1?L(e):new l(e,r,n,t??1)}function l(e,r,n,t){this.h=+e,this.s=+r,this.l=+n,this.opacity=+t}q(l,te,G(m,{brighter(e){return e=e==null?$:Math.pow($,e),new l(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=e==null?b:Math.pow(b,e),new l(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+(this.h<0)*360,r=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,t=n+(n<.5?n:1-n)*r,f=2*n-t;return new o(M(e>=240?e-240:e+120,f,t),M(e,f,t),M(e<120?e+240:e-120,f,t),this.opacity)},clamp(){return new l(z(this.h),y(this.s),y(this.l),v(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const e=v(this.opacity);return`${e===1?"hsl(":"hsla("}${z(this.h)}, ${y(this.s)*100}%, ${y(this.l)*100}%${e===1?")":`, ${e})`}`}}));function z(e){return e=(e||0)%360,e<0?e+360:e}function y(e){return Math.max(0,Math.min(1,e||0))}function M(e,r,n){return(e<60?r+(n-r)*e/60:e<180?n:e<240?r+(n-r)*(240-e)/60:r)*255}function D(e,r,n,t,f){var i=e*e,a=i*e;return((1-3*e+3*i-a)*r+(4-6*i+3*a)*n+(1+3*e+3*i-3*a)*t+a*f)/6}function fe(e){var r=e.length-1;return function(n){var t=n<=0?n=0:n>=1?(n=1,r-1):Math.floor(n*r),f=e[t],i=e[t+1],a=t>0?e[t-1]:2*f-i,s=t<r-1?e[t+2]:2*i-f;return D((n-t/r)*r,a,f,i,s)}}function ie(e){var r=e.length;return function(n){var t=Math.floor(((n%=1)<0?++n:n)*r),f=e[(t+r-1)%r],i=e[t%r],a=e[(t+1)%r],s=e[(t+2)%r];return D((n-t/r)*r,f,i,a,s)}}const C=e=>()=>e;function F(e,r){return function(n){return e+n*r}}function ae(e,r,n){return e=Math.pow(e,n),r=Math.pow(r,n)-e,n=1/n,function(t){return Math.pow(e+t*r,n)}}function ce(e,r){var n=r-e;return n?F(e,n>180||n<-180?n-360*Math.round(n/360):n):C(isNaN(e)?r:e)}function se(e){return(e=+e)==1?J:function(r,n){return n-r?ae(r,n,e):C(isNaN(r)?n:r)}}function J(e,r){var n=r-e;return n?F(e,n):C(isNaN(e)?r:e)}const ue=function e(r){var n=se(r);function t(f,i){var a=n((f=N(f)).r,(i=N(i)).r),s=n(f.g,i.g),x=n(f.b,i.b),k=J(f.opacity,i.opacity);return function(u){return f.r=a(u),f.g=s(u),f.b=x(u),f.opacity=k(u),f+""}}return t.gamma=e,t}(1);function K(e){return function(r){var n=r.length,t=new Array(n),f=new Array(n),i=new Array(n),a,s;for(a=0;a<n;++a)s=N(r[a]),t[a]=s.r||0,f[a]=s.g||0,i[a]=s.b||0;return t=e(t),f=e(f),i=e(i),s.opacity=1,function(x){return s.r=t(x),s.g=f(x),s.b=i(x),s+""}}}var he=K(fe),de=K(ie);function xe(e,r){return e=+e,r=+r,function(n){return e*(1-n)+r*n}}var H=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,R=new RegExp(H.source,"g");function oe(e){return function(){return e}}function le(e){return function(r){return e(r)+""}}function ge(e,r){var n=H.lastIndex=R.lastIndex=0,t,f,i,a=-1,s=[],x=[];for(e=e+"",r=r+"";(t=H.exec(e))&&(f=R.exec(r));)(i=f.index)>n&&(i=r.slice(n,i),s[a]?s[a]+=i:s[++a]=i),(t=t[0])===(f=f[0])?s[a]?s[a]+=f:s[++a]=f:(s[++a]=null,x.push({i:a,x:xe(t,f)})),n=R.lastIndex;return n<r.length&&(i=r.slice(n),s[a]?s[a]+=i:s[++a]=i),s.length<2?x[0]?le(x[0].x):oe(r):(r=x.length,function(k){for(var u=0,I;u<r;++u)s[(I=x[u]).i]=I.x(k);return s.join("")})}export{m as C,o as R,b as a,$ as b,te as c,q as d,G as e,fe as f,ie as g,ce as h,xe as i,ue as j,he as k,de as l,ge as m,J as n,N as o,C as p,E as q,re as r};
|
@@ -1 +0,0 @@
|
|
1
|
-
import{p as mn,i as I,q as U,j as Y,m as dn}from"./string.Bl9OLDCw.js";function F(n,t){return n==null||t==null?NaN:n<t?-1:n>t?1:n>=t?0:NaN}function gn(n,t){return n==null||t==null?NaN:t<n?-1:t>n?1:t>=n?0:NaN}function _(n){let t,e,r;n.length!==2?(t=F,e=(f,c)=>F(n(f),c),r=(f,c)=>n(f)-c):(t=n===F||n===gn?n:yn,e=n,r=n);function i(f,c,a=0,m=f.length){if(a<m){if(t(c,c)!==0)return m;do{const s=a+m>>>1;e(f[s],c)<0?a=s+1:m=s}while(a<m)}return a}function o(f,c,a=0,m=f.length){if(a<m){if(t(c,c)!==0)return m;do{const s=a+m>>>1;e(f[s],c)<=0?a=s+1:m=s}while(a<m)}return a}function u(f,c,a=0,m=f.length){const s=i(f,c,a,m-1);return s>a&&r(f[s-1],c)>-r(f[s],c)?s-1:s}return{left:i,center:u,right:o}}function yn(){return 0}function Mn(n){return n===null?NaN:+n}function*Kn(n,t){if(t===void 0)for(let e of n)e!=null&&(e=+e)>=e&&(yield e);else{let e=-1;for(let r of n)(r=t(r,++e,n))!=null&&(r=+r)>=r&&(yield r)}}const nn=_(F),tn=nn.right,Qn=nn.left;_(Mn).center;const pn=Math.sqrt(50),wn=Math.sqrt(10),kn=Math.sqrt(2);function $(n,t,e){const r=(t-n)/Math.max(0,e),i=Math.floor(Math.log10(r)),o=r/Math.pow(10,i),u=o>=pn?10:o>=wn?5:o>=kn?2:1;let f,c,a;return i<0?(a=Math.pow(10,-i)/u,f=Math.round(n*a),c=Math.round(t*a),f/a<n&&++f,c/a>t&&--c,a=-a):(a=Math.pow(10,i)*u,f=Math.round(n/a),c=Math.round(t/a),f*a<n&&++f,c*a>t&&--c),c<f&&.5<=e&&e<2?$(n,t,e*2):[f,c,a]}function Nn(n,t,e){if(t=+t,n=+n,e=+e,!(e>0))return[];if(n===t)return[n];const r=t<n,[i,o,u]=r?$(t,n,e):$(n,t,e);if(!(o>=i))return[];const f=o-i+1,c=new Array(f);if(r)if(u<0)for(let a=0;a<f;++a)c[a]=(o-a)/-u;else for(let a=0;a<f;++a)c[a]=(o-a)*u;else if(u<0)for(let a=0;a<f;++a)c[a]=(i+a)/-u;else for(let a=0;a<f;++a)c[a]=(i+a)*u;return c}function L(n,t,e){return t=+t,n=+n,e=+e,$(n,t,e)[2]}function An(n,t,e){t=+t,n=+n,e=+e;const r=t<n,i=r?L(t,n,e):L(n,t,e);return(r?-1:1)*(i<0?1/-i:i)}function xn(n){return Math.abs(n=Math.round(n))>=1e21?n.toLocaleString("en").replace(/,/g,""):n.toString(10)}function R(n,t){if((e=(n=t?n.toExponential(t-1):n.toExponential()).indexOf("e"))<0)return null;var e,r=n.slice(0,e);return[r.length>1?r[0]+r.slice(2):r,+n.slice(e+1)]}function v(n){return n=R(Math.abs(n)),n?n[1]:NaN}function vn(n,t){return function(e,r){for(var i=e.length,o=[],u=0,f=n[0],c=0;i>0&&f>0&&(c+f+1>r&&(f=Math.max(1,r-c)),o.push(e.substring(i-=f,i+f)),!((c+=f+1)>r));)f=n[u=(u+1)%n.length];return o.reverse().join(t)}}function bn(n){return function(t){return t.replace(/[0-9]/g,function(e){return n[+e]})}}var Sn=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function D(n){if(!(t=Sn.exec(n)))throw new Error("invalid format: "+n);var t;return new C({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}D.prototype=C.prototype;function C(n){this.fill=n.fill===void 0?" ":n.fill+"",this.align=n.align===void 0?">":n.align+"",this.sign=n.sign===void 0?"-":n.sign+"",this.symbol=n.symbol===void 0?"":n.symbol+"",this.zero=!!n.zero,this.width=n.width===void 0?void 0:+n.width,this.comma=!!n.comma,this.precision=n.precision===void 0?void 0:+n.precision,this.trim=!!n.trim,this.type=n.type===void 0?"":n.type+""}C.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(this.width===void 0?"":Math.max(1,this.width|0))+(this.comma?",":"")+(this.precision===void 0?"":"."+Math.max(0,this.precision|0))+(this.trim?"~":"")+this.type};function jn(n){n:for(var t=n.length,e=1,r=-1,i;e<t;++e)switch(n[e]){case".":r=i=e;break;case"0":r===0&&(r=e),i=e;break;default:if(!+n[e])break n;r>0&&(r=0);break}return r>0?n.slice(0,r)+n.slice(i+1):n}var rn;function zn(n,t){var e=R(n,t);if(!e)return n+"";var r=e[0],i=e[1],o=i-(rn=Math.max(-8,Math.min(8,Math.floor(i/3)))*3)+1,u=r.length;return o===u?r:o>u?r+new Array(o-u+1).join("0"):o>0?r.slice(0,o)+"."+r.slice(o):"0."+new Array(1-o).join("0")+R(n,Math.max(0,t+o-1))[0]}function Z(n,t){var e=R(n,t);if(!e)return n+"";var r=e[0],i=e[1];return i<0?"0."+new Array(-i).join("0")+r:r.length>i+1?r.slice(0,i+1)+"."+r.slice(i+1):r+new Array(i-r.length+2).join("0")}const H={"%":(n,t)=>(n*100).toFixed(t),b:n=>Math.round(n).toString(2),c:n=>n+"",d:xn,e:(n,t)=>n.toExponential(t),f:(n,t)=>n.toFixed(t),g:(n,t)=>n.toPrecision(t),o:n=>Math.round(n).toString(8),p:(n,t)=>Z(n*100,t),r:Z,s:zn,X:n=>Math.round(n).toString(16).toUpperCase(),x:n=>Math.round(n).toString(16)};function J(n){return n}var K=Array.prototype.map,Q=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function Pn(n){var t=n.grouping===void 0||n.thousands===void 0?J:vn(K.call(n.grouping,Number),n.thousands+""),e=n.currency===void 0?"":n.currency[0]+"",r=n.currency===void 0?"":n.currency[1]+"",i=n.decimal===void 0?".":n.decimal+"",o=n.numerals===void 0?J:bn(K.call(n.numerals,String)),u=n.percent===void 0?"%":n.percent+"",f=n.minus===void 0?"−":n.minus+"",c=n.nan===void 0?"NaN":n.nan+"";function a(s){s=D(s);var l=s.fill,p=s.align,y=s.sign,b=s.symbol,N=s.zero,S=s.width,q=s.comma,w=s.precision,O=s.trim,d=s.type;d==="n"?(q=!0,d="g"):H[d]||(w===void 0&&(w=12),O=!0,d="g"),(N||l==="0"&&p==="=")&&(N=!0,l="0",p="=");var sn=b==="$"?e:b==="#"&&/[boxX]/.test(d)?"0"+d.toLowerCase():"",hn=b==="$"?r:/[%p]/.test(d)?u:"",G=H[d],ln=/[defgprs%]/.test(d);w=w===void 0?6:/[gprs]/.test(d)?Math.max(1,Math.min(21,w)):Math.max(0,Math.min(20,w));function V(h){var k=sn,g=hn,A,X,j;if(d==="c")g=G(h)+g,h="";else{h=+h;var z=h<0||1/h<0;if(h=isNaN(h)?c:G(Math.abs(h),w),O&&(h=jn(h)),z&&+h==0&&y!=="+"&&(z=!1),k=(z?y==="("?y:f:y==="-"||y==="("?"":y)+k,g=(d==="s"?Q[8+rn/3]:"")+g+(z&&y==="("?")":""),ln){for(A=-1,X=h.length;++A<X;)if(j=h.charCodeAt(A),48>j||j>57){g=(j===46?i+h.slice(A+1):h.slice(A))+g,h=h.slice(0,A);break}}}q&&!N&&(h=t(h,1/0));var P=k.length+h.length+g.length,M=P<S?new Array(S-P+1).join(l):"";switch(q&&N&&(h=t(M+h,M.length?S-g.length:1/0),M=""),p){case"<":h=k+h+g+M;break;case"=":h=k+M+h+g;break;case"^":h=M.slice(0,P=M.length>>1)+k+h+g+M.slice(P);break;default:h=M+k+h+g;break}return o(h)}return V.toString=function(){return s+""},V}function m(s,l){var p=a((s=D(s),s.type="f",s)),y=Math.max(-8,Math.min(8,Math.floor(v(l)/3)))*3,b=Math.pow(10,-y),N=Q[8+y/3];return function(S){return p(b*S)+N}}return{format:a,formatPrefix:m}}var E,en,an;En({thousands:",",grouping:[3],currency:["$",""]});function En(n){return E=Pn(n),en=E.format,an=E.formatPrefix,E}function Fn(n){return Math.max(0,-v(Math.abs(n)))}function $n(n,t){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(v(t)/3)))*3-v(Math.abs(n)))}function Rn(n,t){return n=Math.abs(n),t=Math.abs(t)-n,Math.max(0,v(t)-v(n))+1}function on(n,t){switch(arguments.length){case 0:break;case 1:this.range(n);break;default:this.range(t).domain(n);break}return this}function Wn(n,t){switch(arguments.length){case 0:break;case 1:{typeof n=="function"?this.interpolator(n):this.range(n);break}default:{this.domain(n),typeof t=="function"?this.interpolator(t):this.range(t);break}}return this}function un(n,t){t||(t=[]);var e=n?Math.min(t.length,n.length):0,r=t.slice(),i;return function(o){for(i=0;i<e;++i)r[i]=n[i]*(1-o)+t[i]*o;return r}}function fn(n){return ArrayBuffer.isView(n)&&!(n instanceof DataView)}function _n(n,t){return(fn(t)?un:cn)(n,t)}function cn(n,t){var e=t?t.length:0,r=n?Math.min(e,n.length):0,i=new Array(r),o=new Array(e),u;for(u=0;u<r;++u)i[u]=B(n[u],t[u]);for(;u<e;++u)o[u]=t[u];return function(f){for(u=0;u<r;++u)o[u]=i[u](f);return o}}function Dn(n,t){var e=new Date;return n=+n,t=+t,function(r){return e.setTime(n*(1-r)+t*r),e}}function qn(n,t){var e={},r={},i;(n===null||typeof n!="object")&&(n={}),(t===null||typeof t!="object")&&(t={});for(i in t)i in n?e[i]=B(n[i],t[i]):r[i]=t[i];return function(o){for(i in e)r[i]=e[i](o);return r}}function B(n,t){var e=typeof t,r;return t==null||e==="boolean"?mn(t):(e==="number"?I:e==="string"?(r=U(t))?(t=r,Y):dn:t instanceof U?Y:t instanceof Date?Dn:fn(t)?un:Array.isArray(t)?cn:typeof t.valueOf!="function"&&typeof t.toString!="function"||isNaN(t)?qn:I)(n,t)}function In(n,t){return n=+n,t=+t,function(e){return Math.round(n*(1-e)+t*e)}}function Ln(n){return function(){return n}}function Tn(n){return+n}var W=[0,1];function x(n){return n}function T(n,t){return(t-=n=+n)?function(e){return(e-n)/t}:Ln(isNaN(t)?NaN:.5)}function Cn(n,t){var e;return n>t&&(e=n,n=t,t=e),function(r){return Math.max(n,Math.min(t,r))}}function Bn(n,t,e){var r=n[0],i=n[1],o=t[0],u=t[1];return i<r?(r=T(i,r),o=e(u,o)):(r=T(r,i),o=e(o,u)),function(f){return o(r(f))}}function On(n,t,e){var r=Math.min(n.length,t.length)-1,i=new Array(r),o=new Array(r),u=-1;for(n[r]<n[0]&&(n=n.slice().reverse(),t=t.slice().reverse());++u<r;)i[u]=T(n[u],n[u+1]),o[u]=e(t[u],t[u+1]);return function(f){var c=tn(n,f,1,r)-1;return o[c](i[c](f))}}function Gn(n,t){return t.domain(n.domain()).range(n.range()).interpolate(n.interpolate()).clamp(n.clamp()).unknown(n.unknown())}function Vn(){var n=W,t=W,e=B,r,i,o,u=x,f,c,a;function m(){var l=Math.min(n.length,t.length);return u!==x&&(u=Cn(n[0],n[l-1])),f=l>2?On:Bn,c=a=null,s}function s(l){return l==null||isNaN(l=+l)?o:(c||(c=f(n.map(r),t,e)))(r(u(l)))}return s.invert=function(l){return u(i((a||(a=f(t,n.map(r),I)))(l)))},s.domain=function(l){return arguments.length?(n=Array.from(l,Tn),m()):n.slice()},s.range=function(l){return arguments.length?(t=Array.from(l),m()):t.slice()},s.rangeRound=function(l){return t=Array.from(l),e=In,m()},s.clamp=function(l){return arguments.length?(u=l?!0:x,m()):u!==x},s.interpolate=function(l){return arguments.length?(e=l,m()):e},s.unknown=function(l){return arguments.length?(o=l,s):o},function(l,p){return r=l,i=p,m()}}function Xn(){return Vn()(x,x)}function Un(n,t,e,r){var i=An(n,t,e),o;switch(r=D(r??",f"),r.type){case"s":{var u=Math.max(Math.abs(n),Math.abs(t));return r.precision==null&&!isNaN(o=$n(i,u))&&(r.precision=o),an(r,u)}case"":case"e":case"g":case"p":case"r":{r.precision==null&&!isNaN(o=Rn(i,Math.max(Math.abs(n),Math.abs(t))))&&(r.precision=o-(r.type==="e"));break}case"f":case"%":{r.precision==null&&!isNaN(o=Fn(i))&&(r.precision=o-(r.type==="%")*2);break}}return en(r)}function Yn(n){var t=n.domain;return n.ticks=function(e){var r=t();return Nn(r[0],r[r.length-1],e??10)},n.tickFormat=function(e,r){var i=t();return Un(i[0],i[i.length-1],e??10,r)},n.nice=function(e){e==null&&(e=10);var r=t(),i=0,o=r.length-1,u=r[i],f=r[o],c,a,m=10;for(f<u&&(a=u,u=f,f=a,a=i,i=o,o=a);m-- >0;){if(a=L(u,f,e),a===c)return r[i]=u,r[o]=f,t(r);if(a>0)u=Math.floor(u/a)*a,f=Math.ceil(f/a)*a;else if(a<0)u=Math.ceil(u*a)/a,f=Math.floor(f*a)/a;else break;c=a}return n},n}function Zn(){var n=Xn();return n.copy=function(){return Gn(n,Zn())},on.apply(n,arguments),Yn(n)}function Hn(){var n=[.5],t=[0,1],e,r=1;function i(o){return o!=null&&o<=o?t[tn(n,o,0,r)]:e}return i.domain=function(o){return arguments.length?(n=Array.from(o),r=Math.min(n.length,t.length-1),i):n.slice()},i.range=function(o){return arguments.length?(t=Array.from(o),r=Math.min(n.length,t.length-1),i):t.slice()},i.invertExtent=function(o){var u=t.indexOf(o);return[n[u-1],n[u]]},i.unknown=function(o){return arguments.length?(e=o,i):e},i.copy=function(){return Hn().domain(n).range(t).unknown(e)},on.apply(i,arguments)}export{Xn as A,Wn as B,Zn as C,Hn as D,Un as E,Qn as F,F as a,Mn as b,_ as c,D as d,Rn as e,Pn as f,$n as g,en as h,an as i,on as j,B as k,_n as l,Dn as m,Kn as n,un as o,Fn as p,qn as q,In as r,Tn as s,An as t,Yn as u,Vn as v,Gn as w,Nn as x,x as y,tn as z};
|
@@ -1 +0,0 @@
|
|
1
|
-
import{i as _}from"./string.Bl9OLDCw.js";var D=180/Math.PI,I={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function j(t,e,o,l,c,g){var u,p,a;return(u=Math.sqrt(t*t+e*e))&&(t/=u,e/=u),(a=t*o+e*l)&&(o-=t*a,l-=e*a),(p=Math.sqrt(o*o+l*l))&&(o/=p,l/=p,a/=p),t*l<e*o&&(t=-t,e=-e,a=-a,u=-u),{translateX:c,translateY:g,rotate:Math.atan2(e,t)*D,skewX:Math.atan(a)*D,scaleX:u,scaleY:p}}var M;function H(t){const e=new(typeof DOMMatrix=="function"?DOMMatrix:WebKitCSSMatrix)(t+"");return e.isIdentity?I:j(e.a,e.b,e.c,e.d,e.e,e.f)}function K(t){return t==null||(M||(M=document.createElementNS("http://www.w3.org/2000/svg","g")),M.setAttribute("transform",t),!(t=M.transform.baseVal.consolidate()))?I:(t=t.matrix,j(t.a,t.b,t.c,t.d,t.e,t.f))}function A(t,e,o,l){function c(i){return i.length?i.pop()+" ":""}function g(i,n,r,s,f,m){if(i!==r||n!==s){var w=f.push("translate(",null,e,null,o);m.push({i:w-4,x:_(i,r)},{i:w-2,x:_(n,s)})}else(r||s)&&f.push("translate("+r+e+s+o)}function u(i,n,r,s){i!==n?(i-n>180?n+=360:n-i>180&&(i+=360),s.push({i:r.push(c(r)+"rotate(",null,l)-2,x:_(i,n)})):n&&r.push(c(r)+"rotate("+n+l)}function p(i,n,r,s){i!==n?s.push({i:r.push(c(r)+"skewX(",null,l)-2,x:_(i,n)}):n&&r.push(c(r)+"skewX("+n+l)}function a(i,n,r,s,f,m){if(i!==r||n!==s){var w=f.push(c(f)+"scale(",null,",",null,")");m.push({i:w-4,x:_(i,r)},{i:w-2,x:_(n,s)})}else(r!==1||s!==1)&&f.push(c(f)+"scale("+r+","+s+")")}return function(i,n){var r=[],s=[];return i=t(i),n=t(n),g(i.translateX,i.translateY,n.translateX,n.translateY,r,s),u(i.rotate,n.rotate,r,s),p(i.skewX,n.skewX,r,s),a(i.scaleX,i.scaleY,n.scaleX,n.scaleY,r,s),i=n=null,function(f){for(var m=-1,w=s.length,N;++m<w;)r[(N=s[m]).i]=N.x(f);return r.join("")}}}var J=A(H,"px, ","px)","deg)"),Q=A(K,", ",")",")"),k=0,v=0,X=0,C=1e3,T,x,Y=0,h=0,y=0,d=typeof performance=="object"&&performance.now?performance:Date,E=typeof window=="object"&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(t){setTimeout(t,17)};function O(){return h||(E(L),h=d.now()+y)}function L(){h=0}function S(){this._call=this._time=this._next=null}S.prototype=V.prototype={constructor:S,restart:function(t,e,o){if(typeof t!="function")throw new TypeError("callback is not a function");o=(o==null?O():+o)+(e==null?0:+e),!this._next&&x!==this&&(x?x._next=this:T=this,x=this),this._call=t,this._time=o,q()},stop:function(){this._call&&(this._call=null,this._time=1/0,q())}};function V(t,e,o){var l=new S;return l.restart(t,e,o),l}function W(){O(),++k;for(var t=T,e;t;)(e=h-t._time)>=0&&t._call.call(void 0,e),t=t._next;--k}function F(){h=(Y=d.now())+y,k=v=0;try{W()}finally{k=0,B(),h=0}}function z(){var t=d.now(),e=t-Y;e>C&&(y-=e,Y=t)}function B(){for(var t,e=T,o,l=1/0;e;)e._call?(l>e._time&&(l=e._time),t=e,e=e._next):(o=e._next,e._next=null,e=t?t._next=o:T=o);x=t,q(l)}function q(t){if(!k){v&&(v=clearTimeout(v));var e=t-h;e>24?(t<1/0&&(v=setTimeout(F,t-d.now()-y)),X&&(X=clearInterval(X))):(X||(Y=d.now(),X=setInterval(z,C)),k=1,E(F))}}export{S as T,Q as a,J as i,O as n,V as t};
|
@@ -1 +0,0 @@
|
|
1
|
-
import{n as m,r as n,a7 as x,aR as p,M as y,j as i,ax as C}from"./index.3qE-vjOX.js";const h=m("div",{target:"e12yskxj0"})(({theme:e,isExpanded:t})=>({...t?{position:"fixed",top:0,left:0,bottom:0,right:0,background:e.colors.bgColor,zIndex:e.zIndices.fullscreenWrapper,padding:e.spacing.md,paddingTop:e.sizes.fullScreenHeaderHeight,overflow:["auto","overlay"],display:"flex",alignItems:"center",justifyContent:"center"}:{}})),f=n.createContext(null);f.displayName="ElementFullscreenContext";const w=e=>{const t=n.useContext(e);if(t==null)throw new Error(`useRequiredContext: ${e.displayName??"context"} not found`);return t},F=()=>{const{setFullScreen:e}=n.useContext(x),[t,s]=n.useState(!1),{fullHeight:d,fullWidth:o}=w(p),l=n.useCallback(u=>{s(u),e(u)},[e]),c=n.useCallback(()=>{document.body.style.overflow="hidden",l(!0)},[l]),r=n.useCallback(()=>{document.body.style.overflow="unset",l(!1)},[l]),a=n.useCallback(u=>{u.keyCode===27&&t&&r()},[r,t]);return n.useEffect(()=>(document.addEventListener("keydown",a,!1),()=>{document.removeEventListener("keydown",a,!1)}),[a]),n.useMemo(()=>({expanded:t,zoomIn:c,zoomOut:r,fullHeight:d,fullWidth:o}),[t,c,r,d,o])},S=({children:e,height:t,width:s})=>{const d=y(),{expanded:o,fullHeight:l,fullWidth:c,zoomIn:r,zoomOut:a}=F(),u=n.useMemo(()=>({width:o?c:s,height:o?l:t,expanded:o,expand:r,collapse:a}),[o,l,c,t,s,r,a]);return i(f.Provider,{value:u,children:i(h,{isExpanded:o,"data-testid":"stFullScreenFrame",theme:d,children:e})})};function v(e){const t=s=>i(S,{width:s.width,children:i(e,{...s})});return t.displayName=`withFullScreenWrapper(${e.displayName||e.name})`,C(t,e)}export{f as E,w as u,v as w};
|