Spaces:
Runtime error
Runtime error
camilosegura
commited on
Commit
•
9e9d400
1
Parent(s):
154ddaf
Upload folder using huggingface_hub
Browse files- Dockerfile +12 -0
- README.md +6 -6
- __init__.py +0 -0
- __pycache__/app.cpython-310.pyc +0 -0
- app.py +66 -0
- app_bk.py +35 -0
- requirements.txt +1 -0
- src/.gitignore +9 -0
- src/README.md +16 -0
- src/backend/gradio_keyboardtextboxcomponent/__init__.py +4 -0
- src/backend/gradio_keyboardtextboxcomponent/keyboardtextboxcomponent.py +96 -0
- src/backend/gradio_keyboardtextboxcomponent/keyboardtextboxcomponent.pyi +209 -0
- src/backend/gradio_keyboardtextboxcomponent/templates/component/index.js +3908 -0
- src/backend/gradio_keyboardtextboxcomponent/templates/component/style.css +1 -0
- src/backend/gradio_keyboardtextboxcomponent/templates/example/index.js +112 -0
- src/backend/gradio_keyboardtextboxcomponent/templates/example/style.css +1 -0
- src/demo/__init__.py +0 -0
- src/demo/app.py +66 -0
- src/demo/app_bk.py +35 -0
- src/flagged/log.csv +2 -0
- src/frontend/Example.svelte +46 -0
- src/frontend/Index.svelte +162 -0
- src/frontend/layouts/gum.js +260 -0
- src/frontend/package-lock.json +1571 -0
- src/frontend/package.json +22 -0
- src/pyproject.toml +49 -0
- src/requirements.txt +2 -0
Dockerfile
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
|
2 |
+
FROM python:3.9
|
3 |
+
|
4 |
+
WORKDIR /code
|
5 |
+
|
6 |
+
COPY --link --chown=1000 . .
|
7 |
+
|
8 |
+
RUN pip install --no-cache-dir -r requirements.txt
|
9 |
+
|
10 |
+
ENV PYTHONUNBUFFERED=1 GRADIO_ALLOW_FLAGGING=never GRADIO_NUM_PORTS=1 GRADIO_SERVER_NAME=0.0.0.0 GRADIO_SERVER_PORT=7860 SYSTEM=spaces
|
11 |
+
|
12 |
+
CMD ["python", "app.py"]
|
README.md
CHANGED
@@ -1,10 +1,10 @@
|
|
|
|
1 |
---
|
2 |
-
|
3 |
-
|
4 |
-
colorFrom:
|
5 |
-
colorTo:
|
6 |
sdk: docker
|
7 |
pinned: false
|
|
|
8 |
---
|
9 |
-
|
10 |
-
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
1 |
+
|
2 |
---
|
3 |
+
tags: [gradio-custom-component, gradio-template-SimpleTextbox]
|
4 |
+
title: gradio_keyboardtextboxcomponent V0.0.1
|
5 |
+
colorFrom: purple
|
6 |
+
colorTo: purple
|
7 |
sdk: docker
|
8 |
pinned: false
|
9 |
+
license: apache-2.0
|
10 |
---
|
|
|
|
__init__.py
ADDED
File without changes
|
__pycache__/app.cpython-310.pyc
ADDED
Binary file (1.65 kB). View file
|
|
app.py
ADDED
@@ -0,0 +1,66 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
|
2 |
+
import gradio as gr
|
3 |
+
from gradio_keyboardtextboxcomponent import KeyboardTextBoxComponent
|
4 |
+
import json
|
5 |
+
import requests
|
6 |
+
|
7 |
+
API_URL_LIST = "https://jsonplaceholder.typicode.com/todos"
|
8 |
+
|
9 |
+
# Una aplicación con un listado de traducciones pendientes
|
10 |
+
# presionar sobre una
|
11 |
+
def translation_chat_fn(translation_index, modification):
|
12 |
+
# transform index to id
|
13 |
+
# submit to api
|
14 |
+
|
15 |
+
response = requests.get(API_URL_LIST) # TODO: Post
|
16 |
+
response.json()
|
17 |
+
print(response.json())
|
18 |
+
|
19 |
+
api_response = True
|
20 |
+
return "Traducción corregida" if api_response else "Error del servicio"
|
21 |
+
|
22 |
+
selected_translation_index = 0
|
23 |
+
|
24 |
+
# translations_response = [
|
25 |
+
# {"id": 0, "text_spa": "The quick brown fox jumps over the lazy dog", "text_gum": "El rápido zorro café salta sobre los perezosos perros"},
|
26 |
+
# {"id": 1, "text_spa": "Build & share delightful machine learning apps", "text_gum": "Construye y comparte encantadoras aplicaciones de aprendizaje de máquina"},
|
27 |
+
# ]
|
28 |
+
translations_response = requests.get(API_URL_LIST).json() # TODO: Post
|
29 |
+
translations = list(map(lambda x: [x["title"]], translations_response))
|
30 |
+
|
31 |
+
# Interface Components
|
32 |
+
with gr.Blocks() as demo:
|
33 |
+
translations_dataset_input = gr.Dataset(components=[gr.Textbox(visible=False)],# gr.Textbox(visible=False)],
|
34 |
+
|
35 |
+
label="Traducciones",
|
36 |
+
samples=translations,
|
37 |
+
type="index",
|
38 |
+
samples_per_page=10
|
39 |
+
)
|
40 |
+
gum_keyboard_textbox_input = KeyboardTextBoxComponent(#value=translations[selected_translation_index][0],
|
41 |
+
label="Traducciones",
|
42 |
+
#info="Elige las traducciones que desees revisar"
|
43 |
+
)
|
44 |
+
|
45 |
+
# Interactions
|
46 |
+
def assign_trasnlation_id(evt: gr.SelectData):
|
47 |
+
# selected_translation_index = evt.index
|
48 |
+
# print(evt)
|
49 |
+
return translations[evt.index][0]
|
50 |
+
translations_dataset_input.select(fn=assign_trasnlation_id, outputs=[gum_keyboard_textbox_input])
|
51 |
+
|
52 |
+
# Interface
|
53 |
+
gr.Interface(
|
54 |
+
translation_chat_fn,
|
55 |
+
[
|
56 |
+
translations_dataset_input,
|
57 |
+
gum_keyboard_textbox_input,
|
58 |
+
],
|
59 |
+
"text",
|
60 |
+
title="Tralengua",
|
61 |
+
description="Elige las traducciones del Namuy Wam (Namtrik/Guambiano) que deseas corregir del Español.",
|
62 |
+
theme=gr.themes.Default(primary_hue="blue")
|
63 |
+
#examples=[[example]], # uncomment this line to view the "example version" of your component
|
64 |
+
)
|
65 |
+
|
66 |
+
demo.launch()
|
app_bk.py
ADDED
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
|
2 |
+
import gradio as gr
|
3 |
+
from gradio_keyboardtextboxcomponent import KeyboardTextBoxComponent
|
4 |
+
import boto3
|
5 |
+
import json
|
6 |
+
|
7 |
+
__TableName__ = "innovation-gradio-claude-example"
|
8 |
+
Primary_Column_Name = "id"
|
9 |
+
Primary_Key = "1"
|
10 |
+
columns = ["message_gum", "message_spa"]
|
11 |
+
|
12 |
+
client = boto3.client('dynamodb', region_name='us-east-1')
|
13 |
+
DB = boto3.resource('dynamodb', region_name='us-east-1')
|
14 |
+
table = DB.Table(__TableName__)
|
15 |
+
|
16 |
+
# Get data
|
17 |
+
def get_data():
|
18 |
+
response = table.get_item(
|
19 |
+
Key={
|
20 |
+
Primary_Column_Name:Primary_Key
|
21 |
+
}
|
22 |
+
)
|
23 |
+
return json.loads(str(response["Item"]).replace("'", '"').encode('utf-8'))
|
24 |
+
|
25 |
+
# print(get_data()["message_gum"])
|
26 |
+
example = KeyboardTextBoxComponent().example_inputs()
|
27 |
+
|
28 |
+
demo = gr.Interface(
|
29 |
+
lambda x:x,
|
30 |
+
KeyboardTextBoxComponent(value=get_data()["message_gum"]), # interactive version of your component
|
31 |
+
KeyboardTextBoxComponent(), # static version of your component
|
32 |
+
examples=[[example]], # uncomment this line to view the "example version" of your component
|
33 |
+
)
|
34 |
+
|
35 |
+
demo.launch()
|
requirements.txt
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
gradio_keyboardtextboxcomponent-0.0.1-py3-none-any.whl
|
src/.gitignore
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
.eggs/
|
2 |
+
dist/
|
3 |
+
*.pyc
|
4 |
+
__pycache__/
|
5 |
+
*.py[cod]
|
6 |
+
*$py.class
|
7 |
+
__tmp/*
|
8 |
+
*.pyi
|
9 |
+
node_modules
|
src/README.md
ADDED
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
title: namuy-wam-tralengua
|
3 |
+
app_file: demo/app.py
|
4 |
+
sdk: gradio
|
5 |
+
sdk_version: 4.3.0
|
6 |
+
---
|
7 |
+
|
8 |
+
# gradio_keyboardtextboxcomponent
|
9 |
+
A Custom Gradio component.
|
10 |
+
|
11 |
+
## Example usage
|
12 |
+
|
13 |
+
```python
|
14 |
+
import gradio as gr
|
15 |
+
from gradio_keyboardtextboxcomponent import KeyboardTextBoxComponent
|
16 |
+
```
|
src/backend/gradio_keyboardtextboxcomponent/__init__.py
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
|
2 |
+
from .keyboardtextboxcomponent import KeyboardTextBoxComponent
|
3 |
+
|
4 |
+
__all__ = ['KeyboardTextBoxComponent']
|
src/backend/gradio_keyboardtextboxcomponent/keyboardtextboxcomponent.py
ADDED
@@ -0,0 +1,96 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from __future__ import annotations
|
2 |
+
|
3 |
+
from typing import Any, Callable
|
4 |
+
|
5 |
+
from gradio.components.base import FormComponent
|
6 |
+
from gradio.events import Events
|
7 |
+
|
8 |
+
|
9 |
+
class KeyboardTextBoxComponent(FormComponent):
|
10 |
+
"""
|
11 |
+
Creates a very simple textbox for user to enter string input or display string output.
|
12 |
+
Preprocessing: passes textbox value as a {str} into the function.
|
13 |
+
Postprocessing: expects a {str} returned from function and sets textbox value to it.
|
14 |
+
Examples-format: a {str} representing the textbox input.
|
15 |
+
"""
|
16 |
+
|
17 |
+
EVENTS = [
|
18 |
+
Events.change,
|
19 |
+
Events.input,
|
20 |
+
Events.submit,
|
21 |
+
]
|
22 |
+
|
23 |
+
def __init__(
|
24 |
+
self,
|
25 |
+
value: str | Callable | None = "",
|
26 |
+
*,
|
27 |
+
placeholder: str | None = None,
|
28 |
+
label: str | None = None,
|
29 |
+
every: float | None = None,
|
30 |
+
show_label: bool | None = None,
|
31 |
+
scale: int | None = None,
|
32 |
+
min_width: int = 160,
|
33 |
+
interactive: bool | None = None,
|
34 |
+
visible: bool = True,
|
35 |
+
rtl: bool = False,
|
36 |
+
elem_id: str | None = None,
|
37 |
+
elem_classes: list[str] | str | None = None,
|
38 |
+
render: bool = True,
|
39 |
+
):
|
40 |
+
"""
|
41 |
+
Parameters:
|
42 |
+
value: default text to provide in textbox. If callable, the function will be called whenever the app loads to set the initial value of the component.
|
43 |
+
placeholder: placeholder hint to provide behind textbox.
|
44 |
+
label: component name in interface.
|
45 |
+
every: If `value` is a callable, run the function 'every' number of seconds while the client connection is open. Has no effect otherwise. Queue must be enabled. The event can be accessed (e.g. to cancel it) via this component's .load_event attribute.
|
46 |
+
show_label: if True, will display label.
|
47 |
+
scale: relative width compared to adjacent Components in a Row. For example, if Component A has scale=2, and Component B has scale=1, A will be twice as wide as B. Should be an integer.
|
48 |
+
min_width: minimum pixel width, will wrap if not sufficient screen space to satisfy this value. If a certain scale value results in this Component being narrower than min_width, the min_width parameter will be respected first.
|
49 |
+
interactive: if True, will be rendered as an editable textbox; if False, editing will be disabled. If not provided, this is inferred based on whether the component is used as an input or output.
|
50 |
+
visible: If False, component will be hidden.
|
51 |
+
rtl: If True and `type` is "text", sets the direction of the text to right-to-left (cursor appears on the left of the text). Default is False, which renders cursor on the right.
|
52 |
+
elem_id: An optional string that is assigned as the id of this component in the HTML DOM. Can be used for targeting CSS styles.
|
53 |
+
elem_classes: An optional list of strings that are assigned as the classes of this component in the HTML DOM. Can be used for targeting CSS styles.
|
54 |
+
render: If False, component will not render be rendered in the Blocks context. Should be used if the intention is to assign event listeners now but render the component later.
|
55 |
+
"""
|
56 |
+
self.placeholder = placeholder
|
57 |
+
self.rtl = rtl
|
58 |
+
super().__init__(
|
59 |
+
label=label,
|
60 |
+
every=every,
|
61 |
+
show_label=show_label,
|
62 |
+
scale=scale,
|
63 |
+
min_width=min_width,
|
64 |
+
interactive=interactive,
|
65 |
+
visible=visible,
|
66 |
+
elem_id=elem_id,
|
67 |
+
elem_classes=elem_classes,
|
68 |
+
value=value,
|
69 |
+
render=render,
|
70 |
+
)
|
71 |
+
|
72 |
+
def preprocess(self, x: str | None) -> str | None:
|
73 |
+
"""
|
74 |
+
Preprocesses input (converts it to a string) before passing it to the function.
|
75 |
+
Parameters:
|
76 |
+
x: text
|
77 |
+
Returns:
|
78 |
+
text
|
79 |
+
"""
|
80 |
+
return None if x is None else str(x)
|
81 |
+
|
82 |
+
def postprocess(self, y: str | None) -> str | None:
|
83 |
+
"""
|
84 |
+
Postproccess the function output y by converting it to a str before passing it to the frontend.
|
85 |
+
Parameters:
|
86 |
+
y: function output to postprocess.
|
87 |
+
Returns:
|
88 |
+
text
|
89 |
+
"""
|
90 |
+
return None if y is None else str(y)
|
91 |
+
|
92 |
+
def api_info(self) -> dict[str, Any]:
|
93 |
+
return {"type": "string"}
|
94 |
+
|
95 |
+
def example_inputs(self) -> Any:
|
96 |
+
return "Hello!!"
|
src/backend/gradio_keyboardtextboxcomponent/keyboardtextboxcomponent.pyi
ADDED
@@ -0,0 +1,209 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from __future__ import annotations
|
2 |
+
|
3 |
+
from typing import Any, Callable
|
4 |
+
|
5 |
+
from gradio.components.base import FormComponent
|
6 |
+
from gradio.events import Events
|
7 |
+
|
8 |
+
from gradio.events import Dependency
|
9 |
+
|
10 |
+
class KeyboardTextBoxComponent(FormComponent):
|
11 |
+
"""
|
12 |
+
Creates a very simple textbox for user to enter string input or display string output.
|
13 |
+
Preprocessing: passes textbox value as a {str} into the function.
|
14 |
+
Postprocessing: expects a {str} returned from function and sets textbox value to it.
|
15 |
+
Examples-format: a {str} representing the textbox input.
|
16 |
+
"""
|
17 |
+
|
18 |
+
EVENTS = [
|
19 |
+
Events.change,
|
20 |
+
Events.input,
|
21 |
+
Events.submit,
|
22 |
+
]
|
23 |
+
|
24 |
+
def __init__(
|
25 |
+
self,
|
26 |
+
value: str | Callable | None = "",
|
27 |
+
*,
|
28 |
+
placeholder: str | None = None,
|
29 |
+
label: str | None = None,
|
30 |
+
every: float | None = None,
|
31 |
+
show_label: bool | None = None,
|
32 |
+
scale: int | None = None,
|
33 |
+
min_width: int = 160,
|
34 |
+
interactive: bool | None = None,
|
35 |
+
visible: bool = True,
|
36 |
+
rtl: bool = False,
|
37 |
+
elem_id: str | None = None,
|
38 |
+
elem_classes: list[str] | str | None = None,
|
39 |
+
render: bool = True,
|
40 |
+
):
|
41 |
+
"""
|
42 |
+
Parameters:
|
43 |
+
value: default text to provide in textbox. If callable, the function will be called whenever the app loads to set the initial value of the component.
|
44 |
+
placeholder: placeholder hint to provide behind textbox.
|
45 |
+
label: component name in interface.
|
46 |
+
every: If `value` is a callable, run the function 'every' number of seconds while the client connection is open. Has no effect otherwise. Queue must be enabled. The event can be accessed (e.g. to cancel it) via this component's .load_event attribute.
|
47 |
+
show_label: if True, will display label.
|
48 |
+
scale: relative width compared to adjacent Components in a Row. For example, if Component A has scale=2, and Component B has scale=1, A will be twice as wide as B. Should be an integer.
|
49 |
+
min_width: minimum pixel width, will wrap if not sufficient screen space to satisfy this value. If a certain scale value results in this Component being narrower than min_width, the min_width parameter will be respected first.
|
50 |
+
interactive: if True, will be rendered as an editable textbox; if False, editing will be disabled. If not provided, this is inferred based on whether the component is used as an input or output.
|
51 |
+
visible: If False, component will be hidden.
|
52 |
+
rtl: If True and `type` is "text", sets the direction of the text to right-to-left (cursor appears on the left of the text). Default is False, which renders cursor on the right.
|
53 |
+
elem_id: An optional string that is assigned as the id of this component in the HTML DOM. Can be used for targeting CSS styles.
|
54 |
+
elem_classes: An optional list of strings that are assigned as the classes of this component in the HTML DOM. Can be used for targeting CSS styles.
|
55 |
+
render: If False, component will not render be rendered in the Blocks context. Should be used if the intention is to assign event listeners now but render the component later.
|
56 |
+
"""
|
57 |
+
self.placeholder = placeholder
|
58 |
+
self.rtl = rtl
|
59 |
+
super().__init__(
|
60 |
+
label=label,
|
61 |
+
every=every,
|
62 |
+
show_label=show_label,
|
63 |
+
scale=scale,
|
64 |
+
min_width=min_width,
|
65 |
+
interactive=interactive,
|
66 |
+
visible=visible,
|
67 |
+
elem_id=elem_id,
|
68 |
+
elem_classes=elem_classes,
|
69 |
+
value=value,
|
70 |
+
render=render,
|
71 |
+
)
|
72 |
+
|
73 |
+
def preprocess(self, x: str | None) -> str | None:
|
74 |
+
"""
|
75 |
+
Preprocesses input (converts it to a string) before passing it to the function.
|
76 |
+
Parameters:
|
77 |
+
x: text
|
78 |
+
Returns:
|
79 |
+
text
|
80 |
+
"""
|
81 |
+
return None if x is None else str(x)
|
82 |
+
|
83 |
+
def postprocess(self, y: str | None) -> str | None:
|
84 |
+
"""
|
85 |
+
Postproccess the function output y by converting it to a str before passing it to the frontend.
|
86 |
+
Parameters:
|
87 |
+
y: function output to postprocess.
|
88 |
+
Returns:
|
89 |
+
text
|
90 |
+
"""
|
91 |
+
return None if y is None else str(y)
|
92 |
+
|
93 |
+
def api_info(self) -> dict[str, Any]:
|
94 |
+
return {"type": "string"}
|
95 |
+
|
96 |
+
def example_inputs(self) -> Any:
|
97 |
+
return "Hello!!"
|
98 |
+
|
99 |
+
|
100 |
+
def change(self,
|
101 |
+
fn: Callable | None,
|
102 |
+
inputs: Component | Sequence[Component] | set[Component] | None = None,
|
103 |
+
outputs: Component | Sequence[Component] | None = None,
|
104 |
+
api_name: str | None | Literal[False] = None,
|
105 |
+
status_tracker: None = None,
|
106 |
+
scroll_to_output: bool = False,
|
107 |
+
show_progress: Literal["full", "minimal", "hidden"] = "full",
|
108 |
+
queue: bool | None = None,
|
109 |
+
batch: bool = False,
|
110 |
+
max_batch_size: int = 4,
|
111 |
+
preprocess: bool = True,
|
112 |
+
postprocess: bool = True,
|
113 |
+
cancels: dict[str, Any] | list[dict[str, Any]] | None = None,
|
114 |
+
every: float | None = None,
|
115 |
+
trigger_mode: Literal["once", "multiple", "always_last"] | None = None,
|
116 |
+
js: str | None = None,) -> Dependency:
|
117 |
+
"""
|
118 |
+
Parameters:
|
119 |
+
fn: the function to call when this event is triggered. Often a machine learning model's prediction function. Each parameter of the function corresponds to one input component, and the function should return a single value or a tuple of values, with each element in the tuple corresponding to one output component.
|
120 |
+
inputs: List of gradio.components to use as inputs. If the function takes no inputs, this should be an empty list.
|
121 |
+
outputs: List of gradio.components to use as outputs. If the function returns no outputs, this should be an empty list.
|
122 |
+
api_name: Defines how the endpoint appears in the API docs. Can be a string, None, or False. If False, the endpoint will not be exposed in the api docs. If set to None, the endpoint will be exposed in the api docs as an unnamed endpoint, although this behavior will be changed in Gradio 4.0. If set to a string, the endpoint will be exposed in the api docs with the given name.
|
123 |
+
scroll_to_output: If True, will scroll to output component on completion
|
124 |
+
show_progress: If True, will show progress animation while pending
|
125 |
+
queue: If True, will place the request on the queue, if the queue has been enabled. If False, will not put this event on the queue, even if the queue has been enabled. If None, will use the queue setting of the gradio app.
|
126 |
+
batch: If True, then the function should process a batch of inputs, meaning that it should accept a list of input values for each parameter. The lists should be of equal length (and be up to length `max_batch_size`). The function is then *required* to return a tuple of lists (even if there is only 1 output component), with each list in the tuple corresponding to one output component.
|
127 |
+
max_batch_size: Maximum number of inputs to batch together if this is called from the queue (only relevant if batch=True)
|
128 |
+
preprocess: If False, will not run preprocessing of component data before running 'fn' (e.g. leaving it as a base64 string if this method is called with the `Image` component).
|
129 |
+
postprocess: If False, will not run postprocessing of component data before returning 'fn' output to the browser.
|
130 |
+
cancels: A list of other events to cancel when this listener is triggered. For example, setting cancels=[click_event] will cancel the click_event, where click_event is the return value of another components .click method. Functions that have not yet run (or generators that are iterating) will be cancelled, but functions that are currently running will be allowed to finish.
|
131 |
+
every: Run this event 'every' number of seconds while the client connection is open. Interpreted in seconds. Queue must be enabled.
|
132 |
+
trigger_mode: If "once" (default for all events except `.change()`) would not allow any submissions while an event is pending. If set to "multiple", unlimited submissions are allowed while pending, and "always_last" (default for `.change()` event) would allow a second submission after the pending event is complete.
|
133 |
+
js: Optional frontend js method to run before running 'fn'. Input arguments for js method are values of 'inputs' and 'outputs', return should be a list of values for output components.
|
134 |
+
"""
|
135 |
+
...
|
136 |
+
|
137 |
+
def input(self,
|
138 |
+
fn: Callable | None,
|
139 |
+
inputs: Component | Sequence[Component] | set[Component] | None = None,
|
140 |
+
outputs: Component | Sequence[Component] | None = None,
|
141 |
+
api_name: str | None | Literal[False] = None,
|
142 |
+
status_tracker: None = None,
|
143 |
+
scroll_to_output: bool = False,
|
144 |
+
show_progress: Literal["full", "minimal", "hidden"] = "full",
|
145 |
+
queue: bool | None = None,
|
146 |
+
batch: bool = False,
|
147 |
+
max_batch_size: int = 4,
|
148 |
+
preprocess: bool = True,
|
149 |
+
postprocess: bool = True,
|
150 |
+
cancels: dict[str, Any] | list[dict[str, Any]] | None = None,
|
151 |
+
every: float | None = None,
|
152 |
+
trigger_mode: Literal["once", "multiple", "always_last"] | None = None,
|
153 |
+
js: str | None = None,) -> Dependency:
|
154 |
+
"""
|
155 |
+
Parameters:
|
156 |
+
fn: the function to call when this event is triggered. Often a machine learning model's prediction function. Each parameter of the function corresponds to one input component, and the function should return a single value or a tuple of values, with each element in the tuple corresponding to one output component.
|
157 |
+
inputs: List of gradio.components to use as inputs. If the function takes no inputs, this should be an empty list.
|
158 |
+
outputs: List of gradio.components to use as outputs. If the function returns no outputs, this should be an empty list.
|
159 |
+
api_name: Defines how the endpoint appears in the API docs. Can be a string, None, or False. If False, the endpoint will not be exposed in the api docs. If set to None, the endpoint will be exposed in the api docs as an unnamed endpoint, although this behavior will be changed in Gradio 4.0. If set to a string, the endpoint will be exposed in the api docs with the given name.
|
160 |
+
scroll_to_output: If True, will scroll to output component on completion
|
161 |
+
show_progress: If True, will show progress animation while pending
|
162 |
+
queue: If True, will place the request on the queue, if the queue has been enabled. If False, will not put this event on the queue, even if the queue has been enabled. If None, will use the queue setting of the gradio app.
|
163 |
+
batch: If True, then the function should process a batch of inputs, meaning that it should accept a list of input values for each parameter. The lists should be of equal length (and be up to length `max_batch_size`). The function is then *required* to return a tuple of lists (even if there is only 1 output component), with each list in the tuple corresponding to one output component.
|
164 |
+
max_batch_size: Maximum number of inputs to batch together if this is called from the queue (only relevant if batch=True)
|
165 |
+
preprocess: If False, will not run preprocessing of component data before running 'fn' (e.g. leaving it as a base64 string if this method is called with the `Image` component).
|
166 |
+
postprocess: If False, will not run postprocessing of component data before returning 'fn' output to the browser.
|
167 |
+
cancels: A list of other events to cancel when this listener is triggered. For example, setting cancels=[click_event] will cancel the click_event, where click_event is the return value of another components .click method. Functions that have not yet run (or generators that are iterating) will be cancelled, but functions that are currently running will be allowed to finish.
|
168 |
+
every: Run this event 'every' number of seconds while the client connection is open. Interpreted in seconds. Queue must be enabled.
|
169 |
+
trigger_mode: If "once" (default for all events except `.change()`) would not allow any submissions while an event is pending. If set to "multiple", unlimited submissions are allowed while pending, and "always_last" (default for `.change()` event) would allow a second submission after the pending event is complete.
|
170 |
+
js: Optional frontend js method to run before running 'fn'. Input arguments for js method are values of 'inputs' and 'outputs', return should be a list of values for output components.
|
171 |
+
"""
|
172 |
+
...
|
173 |
+
|
174 |
+
def submit(self,
|
175 |
+
fn: Callable | None,
|
176 |
+
inputs: Component | Sequence[Component] | set[Component] | None = None,
|
177 |
+
outputs: Component | Sequence[Component] | None = None,
|
178 |
+
api_name: str | None | Literal[False] = None,
|
179 |
+
status_tracker: None = None,
|
180 |
+
scroll_to_output: bool = False,
|
181 |
+
show_progress: Literal["full", "minimal", "hidden"] = "full",
|
182 |
+
queue: bool | None = None,
|
183 |
+
batch: bool = False,
|
184 |
+
max_batch_size: int = 4,
|
185 |
+
preprocess: bool = True,
|
186 |
+
postprocess: bool = True,
|
187 |
+
cancels: dict[str, Any] | list[dict[str, Any]] | None = None,
|
188 |
+
every: float | None = None,
|
189 |
+
trigger_mode: Literal["once", "multiple", "always_last"] | None = None,
|
190 |
+
js: str | None = None,) -> Dependency:
|
191 |
+
"""
|
192 |
+
Parameters:
|
193 |
+
fn: the function to call when this event is triggered. Often a machine learning model's prediction function. Each parameter of the function corresponds to one input component, and the function should return a single value or a tuple of values, with each element in the tuple corresponding to one output component.
|
194 |
+
inputs: List of gradio.components to use as inputs. If the function takes no inputs, this should be an empty list.
|
195 |
+
outputs: List of gradio.components to use as outputs. If the function returns no outputs, this should be an empty list.
|
196 |
+
api_name: Defines how the endpoint appears in the API docs. Can be a string, None, or False. If False, the endpoint will not be exposed in the api docs. If set to None, the endpoint will be exposed in the api docs as an unnamed endpoint, although this behavior will be changed in Gradio 4.0. If set to a string, the endpoint will be exposed in the api docs with the given name.
|
197 |
+
scroll_to_output: If True, will scroll to output component on completion
|
198 |
+
show_progress: If True, will show progress animation while pending
|
199 |
+
queue: If True, will place the request on the queue, if the queue has been enabled. If False, will not put this event on the queue, even if the queue has been enabled. If None, will use the queue setting of the gradio app.
|
200 |
+
batch: If True, then the function should process a batch of inputs, meaning that it should accept a list of input values for each parameter. The lists should be of equal length (and be up to length `max_batch_size`). The function is then *required* to return a tuple of lists (even if there is only 1 output component), with each list in the tuple corresponding to one output component.
|
201 |
+
max_batch_size: Maximum number of inputs to batch together if this is called from the queue (only relevant if batch=True)
|
202 |
+
preprocess: If False, will not run preprocessing of component data before running 'fn' (e.g. leaving it as a base64 string if this method is called with the `Image` component).
|
203 |
+
postprocess: If False, will not run postprocessing of component data before returning 'fn' output to the browser.
|
204 |
+
cancels: A list of other events to cancel when this listener is triggered. For example, setting cancels=[click_event] will cancel the click_event, where click_event is the return value of another components .click method. Functions that have not yet run (or generators that are iterating) will be cancelled, but functions that are currently running will be allowed to finish.
|
205 |
+
every: Run this event 'every' number of seconds while the client connection is open. Interpreted in seconds. Queue must be enabled.
|
206 |
+
trigger_mode: If "once" (default for all events except `.change()`) would not allow any submissions while an event is pending. If set to "multiple", unlimited submissions are allowed while pending, and "always_last" (default for `.change()` event) would allow a second submission after the pending event is complete.
|
207 |
+
js: Optional frontend js method to run before running 'fn'. Input arguments for js method are values of 'inputs' and 'outputs', return should be a list of values for output components.
|
208 |
+
"""
|
209 |
+
...
|
src/backend/gradio_keyboardtextboxcomponent/templates/component/index.js
ADDED
@@ -0,0 +1,3908 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
const {
|
2 |
+
SvelteComponent: jl,
|
3 |
+
assign: Pl,
|
4 |
+
create_slot: Vl,
|
5 |
+
detach: Bl,
|
6 |
+
element: Ml,
|
7 |
+
get_all_dirty_from_scope: Nl,
|
8 |
+
get_slot_changes: El,
|
9 |
+
get_spread_update: Dl,
|
10 |
+
init: Tl,
|
11 |
+
insert: Zl,
|
12 |
+
safe_not_equal: Al,
|
13 |
+
set_dynamic_element_data: Ze,
|
14 |
+
set_style: B,
|
15 |
+
toggle_class: W,
|
16 |
+
transition_in: bl,
|
17 |
+
transition_out: hl,
|
18 |
+
update_slot_base: Il
|
19 |
+
} = window.__gradio__svelte__internal;
|
20 |
+
function Kl(o) {
|
21 |
+
let e, l, t;
|
22 |
+
const a = (
|
23 |
+
/*#slots*/
|
24 |
+
o[17].default
|
25 |
+
), n = Vl(
|
26 |
+
a,
|
27 |
+
o,
|
28 |
+
/*$$scope*/
|
29 |
+
o[16],
|
30 |
+
null
|
31 |
+
);
|
32 |
+
let r = [
|
33 |
+
{ "data-testid": (
|
34 |
+
/*test_id*/
|
35 |
+
o[7]
|
36 |
+
) },
|
37 |
+
{ id: (
|
38 |
+
/*elem_id*/
|
39 |
+
o[2]
|
40 |
+
) },
|
41 |
+
{
|
42 |
+
class: l = "block " + /*elem_classes*/
|
43 |
+
o[3].join(" ") + " svelte-1t38q2d"
|
44 |
+
}
|
45 |
+
], i = {};
|
46 |
+
for (let s = 0; s < r.length; s += 1)
|
47 |
+
i = Pl(i, r[s]);
|
48 |
+
return {
|
49 |
+
c() {
|
50 |
+
e = Ml(
|
51 |
+
/*tag*/
|
52 |
+
o[14]
|
53 |
+
), n && n.c(), Ze(
|
54 |
+
/*tag*/
|
55 |
+
o[14]
|
56 |
+
)(e, i), W(
|
57 |
+
e,
|
58 |
+
"hidden",
|
59 |
+
/*visible*/
|
60 |
+
o[10] === !1
|
61 |
+
), W(
|
62 |
+
e,
|
63 |
+
"padded",
|
64 |
+
/*padding*/
|
65 |
+
o[6]
|
66 |
+
), W(
|
67 |
+
e,
|
68 |
+
"border_focus",
|
69 |
+
/*border_mode*/
|
70 |
+
o[5] === "focus"
|
71 |
+
), W(e, "hide-container", !/*explicit_call*/
|
72 |
+
o[8] && !/*container*/
|
73 |
+
o[9]), B(e, "height", typeof /*height*/
|
74 |
+
o[0] == "number" ? (
|
75 |
+
/*height*/
|
76 |
+
o[0] + "px"
|
77 |
+
) : void 0), B(e, "width", typeof /*width*/
|
78 |
+
o[1] == "number" ? `calc(min(${/*width*/
|
79 |
+
o[1]}px, 100%))` : void 0), B(
|
80 |
+
e,
|
81 |
+
"border-style",
|
82 |
+
/*variant*/
|
83 |
+
o[4]
|
84 |
+
), B(
|
85 |
+
e,
|
86 |
+
"overflow",
|
87 |
+
/*allow_overflow*/
|
88 |
+
o[11] ? "visible" : "hidden"
|
89 |
+
), B(
|
90 |
+
e,
|
91 |
+
"flex-grow",
|
92 |
+
/*scale*/
|
93 |
+
o[12]
|
94 |
+
), B(e, "min-width", `calc(min(${/*min_width*/
|
95 |
+
o[13]}px, 100%))`), B(e, "border-width", "var(--block-border-width)");
|
96 |
+
},
|
97 |
+
m(s, u) {
|
98 |
+
Zl(s, e, u), n && n.m(e, null), t = !0;
|
99 |
+
},
|
100 |
+
p(s, u) {
|
101 |
+
n && n.p && (!t || u & /*$$scope*/
|
102 |
+
65536) && Il(
|
103 |
+
n,
|
104 |
+
a,
|
105 |
+
s,
|
106 |
+
/*$$scope*/
|
107 |
+
s[16],
|
108 |
+
t ? El(
|
109 |
+
a,
|
110 |
+
/*$$scope*/
|
111 |
+
s[16],
|
112 |
+
u,
|
113 |
+
null
|
114 |
+
) : Nl(
|
115 |
+
/*$$scope*/
|
116 |
+
s[16]
|
117 |
+
),
|
118 |
+
null
|
119 |
+
), Ze(
|
120 |
+
/*tag*/
|
121 |
+
s[14]
|
122 |
+
)(e, i = Dl(r, [
|
123 |
+
(!t || u & /*test_id*/
|
124 |
+
128) && { "data-testid": (
|
125 |
+
/*test_id*/
|
126 |
+
s[7]
|
127 |
+
) },
|
128 |
+
(!t || u & /*elem_id*/
|
129 |
+
4) && { id: (
|
130 |
+
/*elem_id*/
|
131 |
+
s[2]
|
132 |
+
) },
|
133 |
+
(!t || u & /*elem_classes*/
|
134 |
+
8 && l !== (l = "block " + /*elem_classes*/
|
135 |
+
s[3].join(" ") + " svelte-1t38q2d")) && { class: l }
|
136 |
+
])), W(
|
137 |
+
e,
|
138 |
+
"hidden",
|
139 |
+
/*visible*/
|
140 |
+
s[10] === !1
|
141 |
+
), W(
|
142 |
+
e,
|
143 |
+
"padded",
|
144 |
+
/*padding*/
|
145 |
+
s[6]
|
146 |
+
), W(
|
147 |
+
e,
|
148 |
+
"border_focus",
|
149 |
+
/*border_mode*/
|
150 |
+
s[5] === "focus"
|
151 |
+
), W(e, "hide-container", !/*explicit_call*/
|
152 |
+
s[8] && !/*container*/
|
153 |
+
s[9]), u & /*height*/
|
154 |
+
1 && B(e, "height", typeof /*height*/
|
155 |
+
s[0] == "number" ? (
|
156 |
+
/*height*/
|
157 |
+
s[0] + "px"
|
158 |
+
) : void 0), u & /*width*/
|
159 |
+
2 && B(e, "width", typeof /*width*/
|
160 |
+
s[1] == "number" ? `calc(min(${/*width*/
|
161 |
+
s[1]}px, 100%))` : void 0), u & /*variant*/
|
162 |
+
16 && B(
|
163 |
+
e,
|
164 |
+
"border-style",
|
165 |
+
/*variant*/
|
166 |
+
s[4]
|
167 |
+
), u & /*allow_overflow*/
|
168 |
+
2048 && B(
|
169 |
+
e,
|
170 |
+
"overflow",
|
171 |
+
/*allow_overflow*/
|
172 |
+
s[11] ? "visible" : "hidden"
|
173 |
+
), u & /*scale*/
|
174 |
+
4096 && B(
|
175 |
+
e,
|
176 |
+
"flex-grow",
|
177 |
+
/*scale*/
|
178 |
+
s[12]
|
179 |
+
), u & /*min_width*/
|
180 |
+
8192 && B(e, "min-width", `calc(min(${/*min_width*/
|
181 |
+
s[13]}px, 100%))`);
|
182 |
+
},
|
183 |
+
i(s) {
|
184 |
+
t || (bl(n, s), t = !0);
|
185 |
+
},
|
186 |
+
o(s) {
|
187 |
+
hl(n, s), t = !1;
|
188 |
+
},
|
189 |
+
d(s) {
|
190 |
+
s && Bl(e), n && n.d(s);
|
191 |
+
}
|
192 |
+
};
|
193 |
+
}
|
194 |
+
function Gl(o) {
|
195 |
+
let e, l = (
|
196 |
+
/*tag*/
|
197 |
+
o[14] && Kl(o)
|
198 |
+
);
|
199 |
+
return {
|
200 |
+
c() {
|
201 |
+
l && l.c();
|
202 |
+
},
|
203 |
+
m(t, a) {
|
204 |
+
l && l.m(t, a), e = !0;
|
205 |
+
},
|
206 |
+
p(t, [a]) {
|
207 |
+
/*tag*/
|
208 |
+
t[14] && l.p(t, a);
|
209 |
+
},
|
210 |
+
i(t) {
|
211 |
+
e || (bl(l, t), e = !0);
|
212 |
+
},
|
213 |
+
o(t) {
|
214 |
+
hl(l, t), e = !1;
|
215 |
+
},
|
216 |
+
d(t) {
|
217 |
+
l && l.d(t);
|
218 |
+
}
|
219 |
+
};
|
220 |
+
}
|
221 |
+
function Ul(o, e, l) {
|
222 |
+
let { $$slots: t = {}, $$scope: a } = e, { height: n = void 0 } = e, { width: r = void 0 } = e, { elem_id: i = "" } = e, { elem_classes: s = [] } = e, { variant: u = "solid" } = e, { border_mode: f = "base" } = e, { padding: v = !0 } = e, { type: h = "normal" } = e, { test_id: d = void 0 } = e, { explicit_call: _ = !1 } = e, { container: b = !0 } = e, { visible: y = !0 } = e, { allow_overflow: F = !0 } = e, { scale: L = null } = e, { min_width: c = 0 } = e, z = h === "fieldset" ? "fieldset" : "div";
|
223 |
+
return o.$$set = (m) => {
|
224 |
+
"height" in m && l(0, n = m.height), "width" in m && l(1, r = m.width), "elem_id" in m && l(2, i = m.elem_id), "elem_classes" in m && l(3, s = m.elem_classes), "variant" in m && l(4, u = m.variant), "border_mode" in m && l(5, f = m.border_mode), "padding" in m && l(6, v = m.padding), "type" in m && l(15, h = m.type), "test_id" in m && l(7, d = m.test_id), "explicit_call" in m && l(8, _ = m.explicit_call), "container" in m && l(9, b = m.container), "visible" in m && l(10, y = m.visible), "allow_overflow" in m && l(11, F = m.allow_overflow), "scale" in m && l(12, L = m.scale), "min_width" in m && l(13, c = m.min_width), "$$scope" in m && l(16, a = m.$$scope);
|
225 |
+
}, [
|
226 |
+
n,
|
227 |
+
r,
|
228 |
+
i,
|
229 |
+
s,
|
230 |
+
u,
|
231 |
+
f,
|
232 |
+
v,
|
233 |
+
d,
|
234 |
+
_,
|
235 |
+
b,
|
236 |
+
y,
|
237 |
+
F,
|
238 |
+
L,
|
239 |
+
c,
|
240 |
+
z,
|
241 |
+
h,
|
242 |
+
a,
|
243 |
+
t
|
244 |
+
];
|
245 |
+
}
|
246 |
+
class Hl extends jl {
|
247 |
+
constructor(e) {
|
248 |
+
super(), Tl(this, e, Ul, Gl, Al, {
|
249 |
+
height: 0,
|
250 |
+
width: 1,
|
251 |
+
elem_id: 2,
|
252 |
+
elem_classes: 3,
|
253 |
+
variant: 4,
|
254 |
+
border_mode: 5,
|
255 |
+
padding: 6,
|
256 |
+
type: 15,
|
257 |
+
test_id: 7,
|
258 |
+
explicit_call: 8,
|
259 |
+
container: 9,
|
260 |
+
visible: 10,
|
261 |
+
allow_overflow: 11,
|
262 |
+
scale: 12,
|
263 |
+
min_width: 13
|
264 |
+
});
|
265 |
+
}
|
266 |
+
}
|
267 |
+
const {
|
268 |
+
SvelteComponent: Wl,
|
269 |
+
attr: Xl,
|
270 |
+
create_slot: Yl,
|
271 |
+
detach: Ol,
|
272 |
+
element: Rl,
|
273 |
+
get_all_dirty_from_scope: Jl,
|
274 |
+
get_slot_changes: Ql,
|
275 |
+
init: xl,
|
276 |
+
insert: $l,
|
277 |
+
safe_not_equal: et,
|
278 |
+
transition_in: lt,
|
279 |
+
transition_out: tt,
|
280 |
+
update_slot_base: ot
|
281 |
+
} = window.__gradio__svelte__internal;
|
282 |
+
function at(o) {
|
283 |
+
let e, l;
|
284 |
+
const t = (
|
285 |
+
/*#slots*/
|
286 |
+
o[1].default
|
287 |
+
), a = Yl(
|
288 |
+
t,
|
289 |
+
o,
|
290 |
+
/*$$scope*/
|
291 |
+
o[0],
|
292 |
+
null
|
293 |
+
);
|
294 |
+
return {
|
295 |
+
c() {
|
296 |
+
e = Rl("div"), a && a.c(), Xl(e, "class", "svelte-1hnfib2");
|
297 |
+
},
|
298 |
+
m(n, r) {
|
299 |
+
$l(n, e, r), a && a.m(e, null), l = !0;
|
300 |
+
},
|
301 |
+
p(n, [r]) {
|
302 |
+
a && a.p && (!l || r & /*$$scope*/
|
303 |
+
1) && ot(
|
304 |
+
a,
|
305 |
+
t,
|
306 |
+
n,
|
307 |
+
/*$$scope*/
|
308 |
+
n[0],
|
309 |
+
l ? Ql(
|
310 |
+
t,
|
311 |
+
/*$$scope*/
|
312 |
+
n[0],
|
313 |
+
r,
|
314 |
+
null
|
315 |
+
) : Jl(
|
316 |
+
/*$$scope*/
|
317 |
+
n[0]
|
318 |
+
),
|
319 |
+
null
|
320 |
+
);
|
321 |
+
},
|
322 |
+
i(n) {
|
323 |
+
l || (lt(a, n), l = !0);
|
324 |
+
},
|
325 |
+
o(n) {
|
326 |
+
tt(a, n), l = !1;
|
327 |
+
},
|
328 |
+
d(n) {
|
329 |
+
n && Ol(e), a && a.d(n);
|
330 |
+
}
|
331 |
+
};
|
332 |
+
}
|
333 |
+
function nt(o, e, l) {
|
334 |
+
let { $$slots: t = {}, $$scope: a } = e;
|
335 |
+
return o.$$set = (n) => {
|
336 |
+
"$$scope" in n && l(0, a = n.$$scope);
|
337 |
+
}, [a, t];
|
338 |
+
}
|
339 |
+
class rt extends Wl {
|
340 |
+
constructor(e) {
|
341 |
+
super(), xl(this, e, nt, at, et, {});
|
342 |
+
}
|
343 |
+
}
|
344 |
+
const {
|
345 |
+
SvelteComponent: it,
|
346 |
+
attr: Ae,
|
347 |
+
check_outros: st,
|
348 |
+
create_component: ut,
|
349 |
+
create_slot: ft,
|
350 |
+
destroy_component: _t,
|
351 |
+
detach: me,
|
352 |
+
element: ct,
|
353 |
+
empty: dt,
|
354 |
+
get_all_dirty_from_scope: wt,
|
355 |
+
get_slot_changes: vt,
|
356 |
+
group_outros: gt,
|
357 |
+
init: mt,
|
358 |
+
insert: pe,
|
359 |
+
mount_component: pt,
|
360 |
+
safe_not_equal: bt,
|
361 |
+
set_data: ht,
|
362 |
+
space: yt,
|
363 |
+
text: kt,
|
364 |
+
toggle_class: Q,
|
365 |
+
transition_in: _e,
|
366 |
+
transition_out: be,
|
367 |
+
update_slot_base: qt
|
368 |
+
} = window.__gradio__svelte__internal;
|
369 |
+
function Ie(o) {
|
370 |
+
let e, l;
|
371 |
+
return e = new rt({
|
372 |
+
props: {
|
373 |
+
$$slots: { default: [St] },
|
374 |
+
$$scope: { ctx: o }
|
375 |
+
}
|
376 |
+
}), {
|
377 |
+
c() {
|
378 |
+
ut(e.$$.fragment);
|
379 |
+
},
|
380 |
+
m(t, a) {
|
381 |
+
pt(e, t, a), l = !0;
|
382 |
+
},
|
383 |
+
p(t, a) {
|
384 |
+
const n = {};
|
385 |
+
a & /*$$scope, info*/
|
386 |
+
10 && (n.$$scope = { dirty: a, ctx: t }), e.$set(n);
|
387 |
+
},
|
388 |
+
i(t) {
|
389 |
+
l || (_e(e.$$.fragment, t), l = !0);
|
390 |
+
},
|
391 |
+
o(t) {
|
392 |
+
be(e.$$.fragment, t), l = !1;
|
393 |
+
},
|
394 |
+
d(t) {
|
395 |
+
_t(e, t);
|
396 |
+
}
|
397 |
+
};
|
398 |
+
}
|
399 |
+
function St(o) {
|
400 |
+
let e;
|
401 |
+
return {
|
402 |
+
c() {
|
403 |
+
e = kt(
|
404 |
+
/*info*/
|
405 |
+
o[1]
|
406 |
+
);
|
407 |
+
},
|
408 |
+
m(l, t) {
|
409 |
+
pe(l, e, t);
|
410 |
+
},
|
411 |
+
p(l, t) {
|
412 |
+
t & /*info*/
|
413 |
+
2 && ht(
|
414 |
+
e,
|
415 |
+
/*info*/
|
416 |
+
l[1]
|
417 |
+
);
|
418 |
+
},
|
419 |
+
d(l) {
|
420 |
+
l && me(e);
|
421 |
+
}
|
422 |
+
};
|
423 |
+
}
|
424 |
+
function Ct(o) {
|
425 |
+
let e, l, t, a;
|
426 |
+
const n = (
|
427 |
+
/*#slots*/
|
428 |
+
o[2].default
|
429 |
+
), r = ft(
|
430 |
+
n,
|
431 |
+
o,
|
432 |
+
/*$$scope*/
|
433 |
+
o[3],
|
434 |
+
null
|
435 |
+
);
|
436 |
+
let i = (
|
437 |
+
/*info*/
|
438 |
+
o[1] && Ie(o)
|
439 |
+
);
|
440 |
+
return {
|
441 |
+
c() {
|
442 |
+
e = ct("span"), r && r.c(), l = yt(), i && i.c(), t = dt(), Ae(e, "data-testid", "block-info"), Ae(e, "class", "svelte-22c38v"), Q(e, "sr-only", !/*show_label*/
|
443 |
+
o[0]), Q(e, "hide", !/*show_label*/
|
444 |
+
o[0]), Q(
|
445 |
+
e,
|
446 |
+
"has-info",
|
447 |
+
/*info*/
|
448 |
+
o[1] != null
|
449 |
+
);
|
450 |
+
},
|
451 |
+
m(s, u) {
|
452 |
+
pe(s, e, u), r && r.m(e, null), pe(s, l, u), i && i.m(s, u), pe(s, t, u), a = !0;
|
453 |
+
},
|
454 |
+
p(s, [u]) {
|
455 |
+
r && r.p && (!a || u & /*$$scope*/
|
456 |
+
8) && qt(
|
457 |
+
r,
|
458 |
+
n,
|
459 |
+
s,
|
460 |
+
/*$$scope*/
|
461 |
+
s[3],
|
462 |
+
a ? vt(
|
463 |
+
n,
|
464 |
+
/*$$scope*/
|
465 |
+
s[3],
|
466 |
+
u,
|
467 |
+
null
|
468 |
+
) : wt(
|
469 |
+
/*$$scope*/
|
470 |
+
s[3]
|
471 |
+
),
|
472 |
+
null
|
473 |
+
), (!a || u & /*show_label*/
|
474 |
+
1) && Q(e, "sr-only", !/*show_label*/
|
475 |
+
s[0]), (!a || u & /*show_label*/
|
476 |
+
1) && Q(e, "hide", !/*show_label*/
|
477 |
+
s[0]), (!a || u & /*info*/
|
478 |
+
2) && Q(
|
479 |
+
e,
|
480 |
+
"has-info",
|
481 |
+
/*info*/
|
482 |
+
s[1] != null
|
483 |
+
), /*info*/
|
484 |
+
s[1] ? i ? (i.p(s, u), u & /*info*/
|
485 |
+
2 && _e(i, 1)) : (i = Ie(s), i.c(), _e(i, 1), i.m(t.parentNode, t)) : i && (gt(), be(i, 1, 1, () => {
|
486 |
+
i = null;
|
487 |
+
}), st());
|
488 |
+
},
|
489 |
+
i(s) {
|
490 |
+
a || (_e(r, s), _e(i), a = !0);
|
491 |
+
},
|
492 |
+
o(s) {
|
493 |
+
be(r, s), be(i), a = !1;
|
494 |
+
},
|
495 |
+
d(s) {
|
496 |
+
s && (me(e), me(l), me(t)), r && r.d(s), i && i.d(s);
|
497 |
+
}
|
498 |
+
};
|
499 |
+
}
|
500 |
+
function zt(o, e, l) {
|
501 |
+
let { $$slots: t = {}, $$scope: a } = e, { show_label: n = !0 } = e, { info: r = void 0 } = e;
|
502 |
+
return o.$$set = (i) => {
|
503 |
+
"show_label" in i && l(0, n = i.show_label), "info" in i && l(1, r = i.info), "$$scope" in i && l(3, a = i.$$scope);
|
504 |
+
}, [n, r, t, a];
|
505 |
+
}
|
506 |
+
class Lt extends it {
|
507 |
+
constructor(e) {
|
508 |
+
super(), mt(this, e, zt, Ct, bt, { show_label: 0, info: 1 });
|
509 |
+
}
|
510 |
+
}
|
511 |
+
const Ft = [
|
512 |
+
{ color: "red", primary: 600, secondary: 100 },
|
513 |
+
{ color: "green", primary: 600, secondary: 100 },
|
514 |
+
{ color: "blue", primary: 600, secondary: 100 },
|
515 |
+
{ color: "yellow", primary: 500, secondary: 100 },
|
516 |
+
{ color: "purple", primary: 600, secondary: 100 },
|
517 |
+
{ color: "teal", primary: 600, secondary: 100 },
|
518 |
+
{ color: "orange", primary: 600, secondary: 100 },
|
519 |
+
{ color: "cyan", primary: 600, secondary: 100 },
|
520 |
+
{ color: "lime", primary: 500, secondary: 100 },
|
521 |
+
{ color: "pink", primary: 600, secondary: 100 }
|
522 |
+
], Ke = {
|
523 |
+
inherit: "inherit",
|
524 |
+
current: "currentColor",
|
525 |
+
transparent: "transparent",
|
526 |
+
black: "#000",
|
527 |
+
white: "#fff",
|
528 |
+
slate: {
|
529 |
+
50: "#f8fafc",
|
530 |
+
100: "#f1f5f9",
|
531 |
+
200: "#e2e8f0",
|
532 |
+
300: "#cbd5e1",
|
533 |
+
400: "#94a3b8",
|
534 |
+
500: "#64748b",
|
535 |
+
600: "#475569",
|
536 |
+
700: "#334155",
|
537 |
+
800: "#1e293b",
|
538 |
+
900: "#0f172a",
|
539 |
+
950: "#020617"
|
540 |
+
},
|
541 |
+
gray: {
|
542 |
+
50: "#f9fafb",
|
543 |
+
100: "#f3f4f6",
|
544 |
+
200: "#e5e7eb",
|
545 |
+
300: "#d1d5db",
|
546 |
+
400: "#9ca3af",
|
547 |
+
500: "#6b7280",
|
548 |
+
600: "#4b5563",
|
549 |
+
700: "#374151",
|
550 |
+
800: "#1f2937",
|
551 |
+
900: "#111827",
|
552 |
+
950: "#030712"
|
553 |
+
},
|
554 |
+
zinc: {
|
555 |
+
50: "#fafafa",
|
556 |
+
100: "#f4f4f5",
|
557 |
+
200: "#e4e4e7",
|
558 |
+
300: "#d4d4d8",
|
559 |
+
400: "#a1a1aa",
|
560 |
+
500: "#71717a",
|
561 |
+
600: "#52525b",
|
562 |
+
700: "#3f3f46",
|
563 |
+
800: "#27272a",
|
564 |
+
900: "#18181b",
|
565 |
+
950: "#09090b"
|
566 |
+
},
|
567 |
+
neutral: {
|
568 |
+
50: "#fafafa",
|
569 |
+
100: "#f5f5f5",
|
570 |
+
200: "#e5e5e5",
|
571 |
+
300: "#d4d4d4",
|
572 |
+
400: "#a3a3a3",
|
573 |
+
500: "#737373",
|
574 |
+
600: "#525252",
|
575 |
+
700: "#404040",
|
576 |
+
800: "#262626",
|
577 |
+
900: "#171717",
|
578 |
+
950: "#0a0a0a"
|
579 |
+
},
|
580 |
+
stone: {
|
581 |
+
50: "#fafaf9",
|
582 |
+
100: "#f5f5f4",
|
583 |
+
200: "#e7e5e4",
|
584 |
+
300: "#d6d3d1",
|
585 |
+
400: "#a8a29e",
|
586 |
+
500: "#78716c",
|
587 |
+
600: "#57534e",
|
588 |
+
700: "#44403c",
|
589 |
+
800: "#292524",
|
590 |
+
900: "#1c1917",
|
591 |
+
950: "#0c0a09"
|
592 |
+
},
|
593 |
+
red: {
|
594 |
+
50: "#fef2f2",
|
595 |
+
100: "#fee2e2",
|
596 |
+
200: "#fecaca",
|
597 |
+
300: "#fca5a5",
|
598 |
+
400: "#f87171",
|
599 |
+
500: "#ef4444",
|
600 |
+
600: "#dc2626",
|
601 |
+
700: "#b91c1c",
|
602 |
+
800: "#991b1b",
|
603 |
+
900: "#7f1d1d",
|
604 |
+
950: "#450a0a"
|
605 |
+
},
|
606 |
+
orange: {
|
607 |
+
50: "#fff7ed",
|
608 |
+
100: "#ffedd5",
|
609 |
+
200: "#fed7aa",
|
610 |
+
300: "#fdba74",
|
611 |
+
400: "#fb923c",
|
612 |
+
500: "#f97316",
|
613 |
+
600: "#ea580c",
|
614 |
+
700: "#c2410c",
|
615 |
+
800: "#9a3412",
|
616 |
+
900: "#7c2d12",
|
617 |
+
950: "#431407"
|
618 |
+
},
|
619 |
+
amber: {
|
620 |
+
50: "#fffbeb",
|
621 |
+
100: "#fef3c7",
|
622 |
+
200: "#fde68a",
|
623 |
+
300: "#fcd34d",
|
624 |
+
400: "#fbbf24",
|
625 |
+
500: "#f59e0b",
|
626 |
+
600: "#d97706",
|
627 |
+
700: "#b45309",
|
628 |
+
800: "#92400e",
|
629 |
+
900: "#78350f",
|
630 |
+
950: "#451a03"
|
631 |
+
},
|
632 |
+
yellow: {
|
633 |
+
50: "#fefce8",
|
634 |
+
100: "#fef9c3",
|
635 |
+
200: "#fef08a",
|
636 |
+
300: "#fde047",
|
637 |
+
400: "#facc15",
|
638 |
+
500: "#eab308",
|
639 |
+
600: "#ca8a04",
|
640 |
+
700: "#a16207",
|
641 |
+
800: "#854d0e",
|
642 |
+
900: "#713f12",
|
643 |
+
950: "#422006"
|
644 |
+
},
|
645 |
+
lime: {
|
646 |
+
50: "#f7fee7",
|
647 |
+
100: "#ecfccb",
|
648 |
+
200: "#d9f99d",
|
649 |
+
300: "#bef264",
|
650 |
+
400: "#a3e635",
|
651 |
+
500: "#84cc16",
|
652 |
+
600: "#65a30d",
|
653 |
+
700: "#4d7c0f",
|
654 |
+
800: "#3f6212",
|
655 |
+
900: "#365314",
|
656 |
+
950: "#1a2e05"
|
657 |
+
},
|
658 |
+
green: {
|
659 |
+
50: "#f0fdf4",
|
660 |
+
100: "#dcfce7",
|
661 |
+
200: "#bbf7d0",
|
662 |
+
300: "#86efac",
|
663 |
+
400: "#4ade80",
|
664 |
+
500: "#22c55e",
|
665 |
+
600: "#16a34a",
|
666 |
+
700: "#15803d",
|
667 |
+
800: "#166534",
|
668 |
+
900: "#14532d",
|
669 |
+
950: "#052e16"
|
670 |
+
},
|
671 |
+
emerald: {
|
672 |
+
50: "#ecfdf5",
|
673 |
+
100: "#d1fae5",
|
674 |
+
200: "#a7f3d0",
|
675 |
+
300: "#6ee7b7",
|
676 |
+
400: "#34d399",
|
677 |
+
500: "#10b981",
|
678 |
+
600: "#059669",
|
679 |
+
700: "#047857",
|
680 |
+
800: "#065f46",
|
681 |
+
900: "#064e3b",
|
682 |
+
950: "#022c22"
|
683 |
+
},
|
684 |
+
teal: {
|
685 |
+
50: "#f0fdfa",
|
686 |
+
100: "#ccfbf1",
|
687 |
+
200: "#99f6e4",
|
688 |
+
300: "#5eead4",
|
689 |
+
400: "#2dd4bf",
|
690 |
+
500: "#14b8a6",
|
691 |
+
600: "#0d9488",
|
692 |
+
700: "#0f766e",
|
693 |
+
800: "#115e59",
|
694 |
+
900: "#134e4a",
|
695 |
+
950: "#042f2e"
|
696 |
+
},
|
697 |
+
cyan: {
|
698 |
+
50: "#ecfeff",
|
699 |
+
100: "#cffafe",
|
700 |
+
200: "#a5f3fc",
|
701 |
+
300: "#67e8f9",
|
702 |
+
400: "#22d3ee",
|
703 |
+
500: "#06b6d4",
|
704 |
+
600: "#0891b2",
|
705 |
+
700: "#0e7490",
|
706 |
+
800: "#155e75",
|
707 |
+
900: "#164e63",
|
708 |
+
950: "#083344"
|
709 |
+
},
|
710 |
+
sky: {
|
711 |
+
50: "#f0f9ff",
|
712 |
+
100: "#e0f2fe",
|
713 |
+
200: "#bae6fd",
|
714 |
+
300: "#7dd3fc",
|
715 |
+
400: "#38bdf8",
|
716 |
+
500: "#0ea5e9",
|
717 |
+
600: "#0284c7",
|
718 |
+
700: "#0369a1",
|
719 |
+
800: "#075985",
|
720 |
+
900: "#0c4a6e",
|
721 |
+
950: "#082f49"
|
722 |
+
},
|
723 |
+
blue: {
|
724 |
+
50: "#eff6ff",
|
725 |
+
100: "#dbeafe",
|
726 |
+
200: "#bfdbfe",
|
727 |
+
300: "#93c5fd",
|
728 |
+
400: "#60a5fa",
|
729 |
+
500: "#3b82f6",
|
730 |
+
600: "#2563eb",
|
731 |
+
700: "#1d4ed8",
|
732 |
+
800: "#1e40af",
|
733 |
+
900: "#1e3a8a",
|
734 |
+
950: "#172554"
|
735 |
+
},
|
736 |
+
indigo: {
|
737 |
+
50: "#eef2ff",
|
738 |
+
100: "#e0e7ff",
|
739 |
+
200: "#c7d2fe",
|
740 |
+
300: "#a5b4fc",
|
741 |
+
400: "#818cf8",
|
742 |
+
500: "#6366f1",
|
743 |
+
600: "#4f46e5",
|
744 |
+
700: "#4338ca",
|
745 |
+
800: "#3730a3",
|
746 |
+
900: "#312e81",
|
747 |
+
950: "#1e1b4b"
|
748 |
+
},
|
749 |
+
violet: {
|
750 |
+
50: "#f5f3ff",
|
751 |
+
100: "#ede9fe",
|
752 |
+
200: "#ddd6fe",
|
753 |
+
300: "#c4b5fd",
|
754 |
+
400: "#a78bfa",
|
755 |
+
500: "#8b5cf6",
|
756 |
+
600: "#7c3aed",
|
757 |
+
700: "#6d28d9",
|
758 |
+
800: "#5b21b6",
|
759 |
+
900: "#4c1d95",
|
760 |
+
950: "#2e1065"
|
761 |
+
},
|
762 |
+
purple: {
|
763 |
+
50: "#faf5ff",
|
764 |
+
100: "#f3e8ff",
|
765 |
+
200: "#e9d5ff",
|
766 |
+
300: "#d8b4fe",
|
767 |
+
400: "#c084fc",
|
768 |
+
500: "#a855f7",
|
769 |
+
600: "#9333ea",
|
770 |
+
700: "#7e22ce",
|
771 |
+
800: "#6b21a8",
|
772 |
+
900: "#581c87",
|
773 |
+
950: "#3b0764"
|
774 |
+
},
|
775 |
+
fuchsia: {
|
776 |
+
50: "#fdf4ff",
|
777 |
+
100: "#fae8ff",
|
778 |
+
200: "#f5d0fe",
|
779 |
+
300: "#f0abfc",
|
780 |
+
400: "#e879f9",
|
781 |
+
500: "#d946ef",
|
782 |
+
600: "#c026d3",
|
783 |
+
700: "#a21caf",
|
784 |
+
800: "#86198f",
|
785 |
+
900: "#701a75",
|
786 |
+
950: "#4a044e"
|
787 |
+
},
|
788 |
+
pink: {
|
789 |
+
50: "#fdf2f8",
|
790 |
+
100: "#fce7f3",
|
791 |
+
200: "#fbcfe8",
|
792 |
+
300: "#f9a8d4",
|
793 |
+
400: "#f472b6",
|
794 |
+
500: "#ec4899",
|
795 |
+
600: "#db2777",
|
796 |
+
700: "#be185d",
|
797 |
+
800: "#9d174d",
|
798 |
+
900: "#831843",
|
799 |
+
950: "#500724"
|
800 |
+
},
|
801 |
+
rose: {
|
802 |
+
50: "#fff1f2",
|
803 |
+
100: "#ffe4e6",
|
804 |
+
200: "#fecdd3",
|
805 |
+
300: "#fda4af",
|
806 |
+
400: "#fb7185",
|
807 |
+
500: "#f43f5e",
|
808 |
+
600: "#e11d48",
|
809 |
+
700: "#be123c",
|
810 |
+
800: "#9f1239",
|
811 |
+
900: "#881337",
|
812 |
+
950: "#4c0519"
|
813 |
+
}
|
814 |
+
};
|
815 |
+
Ft.reduce(
|
816 |
+
(o, { color: e, primary: l, secondary: t }) => ({
|
817 |
+
...o,
|
818 |
+
[e]: {
|
819 |
+
primary: Ke[e][l],
|
820 |
+
secondary: Ke[e][t]
|
821 |
+
}
|
822 |
+
}),
|
823 |
+
{}
|
824 |
+
);
|
825 |
+
function $(o) {
|
826 |
+
let e = ["", "k", "M", "G", "T", "P", "E", "Z"], l = 0;
|
827 |
+
for (; o > 1e3 && l < e.length - 1; )
|
828 |
+
o /= 1e3, l++;
|
829 |
+
let t = e[l];
|
830 |
+
return (Number.isInteger(o) ? o : o.toFixed(1)) + t;
|
831 |
+
}
|
832 |
+
function he() {
|
833 |
+
}
|
834 |
+
function jt(o, e) {
|
835 |
+
return o != o ? e == e : o !== e || o && typeof o == "object" || typeof o == "function";
|
836 |
+
}
|
837 |
+
const yl = typeof window < "u";
|
838 |
+
let Ge = yl ? () => window.performance.now() : () => Date.now(), kl = yl ? (o) => requestAnimationFrame(o) : he;
|
839 |
+
const te = /* @__PURE__ */ new Set();
|
840 |
+
function ql(o) {
|
841 |
+
te.forEach((e) => {
|
842 |
+
e.c(o) || (te.delete(e), e.f());
|
843 |
+
}), te.size !== 0 && kl(ql);
|
844 |
+
}
|
845 |
+
function Pt(o) {
|
846 |
+
let e;
|
847 |
+
return te.size === 0 && kl(ql), {
|
848 |
+
promise: new Promise((l) => {
|
849 |
+
te.add(e = { c: o, f: l });
|
850 |
+
}),
|
851 |
+
abort() {
|
852 |
+
te.delete(e);
|
853 |
+
}
|
854 |
+
};
|
855 |
+
}
|
856 |
+
const x = [];
|
857 |
+
function Vt(o, e = he) {
|
858 |
+
let l;
|
859 |
+
const t = /* @__PURE__ */ new Set();
|
860 |
+
function a(i) {
|
861 |
+
if (jt(o, i) && (o = i, l)) {
|
862 |
+
const s = !x.length;
|
863 |
+
for (const u of t)
|
864 |
+
u[1](), x.push(u, o);
|
865 |
+
if (s) {
|
866 |
+
for (let u = 0; u < x.length; u += 2)
|
867 |
+
x[u][0](x[u + 1]);
|
868 |
+
x.length = 0;
|
869 |
+
}
|
870 |
+
}
|
871 |
+
}
|
872 |
+
function n(i) {
|
873 |
+
a(i(o));
|
874 |
+
}
|
875 |
+
function r(i, s = he) {
|
876 |
+
const u = [i, s];
|
877 |
+
return t.add(u), t.size === 1 && (l = e(a, n) || he), i(o), () => {
|
878 |
+
t.delete(u), t.size === 0 && l && (l(), l = null);
|
879 |
+
};
|
880 |
+
}
|
881 |
+
return { set: a, update: n, subscribe: r };
|
882 |
+
}
|
883 |
+
function Ue(o) {
|
884 |
+
return Object.prototype.toString.call(o) === "[object Date]";
|
885 |
+
}
|
886 |
+
function je(o, e, l, t) {
|
887 |
+
if (typeof l == "number" || Ue(l)) {
|
888 |
+
const a = t - l, n = (l - e) / (o.dt || 1 / 60), r = o.opts.stiffness * a, i = o.opts.damping * n, s = (r - i) * o.inv_mass, u = (n + s) * o.dt;
|
889 |
+
return Math.abs(u) < o.opts.precision && Math.abs(a) < o.opts.precision ? t : (o.settled = !1, Ue(l) ? new Date(l.getTime() + u) : l + u);
|
890 |
+
} else {
|
891 |
+
if (Array.isArray(l))
|
892 |
+
return l.map(
|
893 |
+
(a, n) => je(o, e[n], l[n], t[n])
|
894 |
+
);
|
895 |
+
if (typeof l == "object") {
|
896 |
+
const a = {};
|
897 |
+
for (const n in l)
|
898 |
+
a[n] = je(o, e[n], l[n], t[n]);
|
899 |
+
return a;
|
900 |
+
} else
|
901 |
+
throw new Error(`Cannot spring ${typeof l} values`);
|
902 |
+
}
|
903 |
+
}
|
904 |
+
function He(o, e = {}) {
|
905 |
+
const l = Vt(o), { stiffness: t = 0.15, damping: a = 0.8, precision: n = 0.01 } = e;
|
906 |
+
let r, i, s, u = o, f = o, v = 1, h = 0, d = !1;
|
907 |
+
function _(y, F = {}) {
|
908 |
+
f = y;
|
909 |
+
const L = s = {};
|
910 |
+
return o == null || F.hard || b.stiffness >= 1 && b.damping >= 1 ? (d = !0, r = Ge(), u = y, l.set(o = f), Promise.resolve()) : (F.soft && (h = 1 / ((F.soft === !0 ? 0.5 : +F.soft) * 60), v = 0), i || (r = Ge(), d = !1, i = Pt((c) => {
|
911 |
+
if (d)
|
912 |
+
return d = !1, i = null, !1;
|
913 |
+
v = Math.min(v + h, 1);
|
914 |
+
const z = {
|
915 |
+
inv_mass: v,
|
916 |
+
opts: b,
|
917 |
+
settled: !0,
|
918 |
+
dt: (c - r) * 60 / 1e3
|
919 |
+
}, m = je(z, u, o, f);
|
920 |
+
return r = c, u = o, l.set(o = m), z.settled && (i = null), !z.settled;
|
921 |
+
})), new Promise((c) => {
|
922 |
+
i.promise.then(() => {
|
923 |
+
L === s && c();
|
924 |
+
});
|
925 |
+
}));
|
926 |
+
}
|
927 |
+
const b = {
|
928 |
+
set: _,
|
929 |
+
update: (y, F) => _(y(f, o), F),
|
930 |
+
subscribe: l.subscribe,
|
931 |
+
stiffness: t,
|
932 |
+
damping: a,
|
933 |
+
precision: n
|
934 |
+
};
|
935 |
+
return b;
|
936 |
+
}
|
937 |
+
const {
|
938 |
+
SvelteComponent: Bt,
|
939 |
+
append: E,
|
940 |
+
attr: C,
|
941 |
+
component_subscribe: We,
|
942 |
+
detach: Mt,
|
943 |
+
element: Nt,
|
944 |
+
init: Et,
|
945 |
+
insert: Dt,
|
946 |
+
noop: Xe,
|
947 |
+
safe_not_equal: Tt,
|
948 |
+
set_style: de,
|
949 |
+
svg_element: D,
|
950 |
+
toggle_class: Ye
|
951 |
+
} = window.__gradio__svelte__internal, { onMount: Zt } = window.__gradio__svelte__internal;
|
952 |
+
function At(o) {
|
953 |
+
let e, l, t, a, n, r, i, s, u, f, v, h;
|
954 |
+
return {
|
955 |
+
c() {
|
956 |
+
e = Nt("div"), l = D("svg"), t = D("g"), a = D("path"), n = D("path"), r = D("path"), i = D("path"), s = D("g"), u = D("path"), f = D("path"), v = D("path"), h = D("path"), C(a, "d", "M255.926 0.754768L509.702 139.936V221.027L255.926 81.8465V0.754768Z"), C(a, "fill", "#FF7C00"), C(a, "fill-opacity", "0.4"), C(a, "class", "svelte-43sxxs"), C(n, "d", "M509.69 139.936L254.981 279.641V361.255L509.69 221.55V139.936Z"), C(n, "fill", "#FF7C00"), C(n, "class", "svelte-43sxxs"), C(r, "d", "M0.250138 139.937L254.981 279.641V361.255L0.250138 221.55V139.937Z"), C(r, "fill", "#FF7C00"), C(r, "fill-opacity", "0.4"), C(r, "class", "svelte-43sxxs"), C(i, "d", "M255.923 0.232622L0.236328 139.936V221.55L255.923 81.8469V0.232622Z"), C(i, "fill", "#FF7C00"), C(i, "class", "svelte-43sxxs"), de(t, "transform", "translate(" + /*$top*/
|
957 |
+
o[1][0] + "px, " + /*$top*/
|
958 |
+
o[1][1] + "px)"), C(u, "d", "M255.926 141.5L509.702 280.681V361.773L255.926 222.592V141.5Z"), C(u, "fill", "#FF7C00"), C(u, "fill-opacity", "0.4"), C(u, "class", "svelte-43sxxs"), C(f, "d", "M509.69 280.679L254.981 420.384V501.998L509.69 362.293V280.679Z"), C(f, "fill", "#FF7C00"), C(f, "class", "svelte-43sxxs"), C(v, "d", "M0.250138 280.681L254.981 420.386V502L0.250138 362.295V280.681Z"), C(v, "fill", "#FF7C00"), C(v, "fill-opacity", "0.4"), C(v, "class", "svelte-43sxxs"), C(h, "d", "M255.923 140.977L0.236328 280.68V362.294L255.923 222.591V140.977Z"), C(h, "fill", "#FF7C00"), C(h, "class", "svelte-43sxxs"), de(s, "transform", "translate(" + /*$bottom*/
|
959 |
+
o[2][0] + "px, " + /*$bottom*/
|
960 |
+
o[2][1] + "px)"), C(l, "viewBox", "-1200 -1200 3000 3000"), C(l, "fill", "none"), C(l, "xmlns", "http://www.w3.org/2000/svg"), C(l, "class", "svelte-43sxxs"), C(e, "class", "svelte-43sxxs"), Ye(
|
961 |
+
e,
|
962 |
+
"margin",
|
963 |
+
/*margin*/
|
964 |
+
o[0]
|
965 |
+
);
|
966 |
+
},
|
967 |
+
m(d, _) {
|
968 |
+
Dt(d, e, _), E(e, l), E(l, t), E(t, a), E(t, n), E(t, r), E(t, i), E(l, s), E(s, u), E(s, f), E(s, v), E(s, h);
|
969 |
+
},
|
970 |
+
p(d, [_]) {
|
971 |
+
_ & /*$top*/
|
972 |
+
2 && de(t, "transform", "translate(" + /*$top*/
|
973 |
+
d[1][0] + "px, " + /*$top*/
|
974 |
+
d[1][1] + "px)"), _ & /*$bottom*/
|
975 |
+
4 && de(s, "transform", "translate(" + /*$bottom*/
|
976 |
+
d[2][0] + "px, " + /*$bottom*/
|
977 |
+
d[2][1] + "px)"), _ & /*margin*/
|
978 |
+
1 && Ye(
|
979 |
+
e,
|
980 |
+
"margin",
|
981 |
+
/*margin*/
|
982 |
+
d[0]
|
983 |
+
);
|
984 |
+
},
|
985 |
+
i: Xe,
|
986 |
+
o: Xe,
|
987 |
+
d(d) {
|
988 |
+
d && Mt(e);
|
989 |
+
}
|
990 |
+
};
|
991 |
+
}
|
992 |
+
function It(o, e, l) {
|
993 |
+
let t, a, { margin: n = !0 } = e;
|
994 |
+
const r = He([0, 0]);
|
995 |
+
We(o, r, (h) => l(1, t = h));
|
996 |
+
const i = He([0, 0]);
|
997 |
+
We(o, i, (h) => l(2, a = h));
|
998 |
+
let s;
|
999 |
+
async function u() {
|
1000 |
+
await Promise.all([r.set([125, 140]), i.set([-125, -140])]), await Promise.all([r.set([-125, 140]), i.set([125, -140])]), await Promise.all([r.set([-125, 0]), i.set([125, -0])]), await Promise.all([r.set([125, 0]), i.set([-125, 0])]);
|
1001 |
+
}
|
1002 |
+
async function f() {
|
1003 |
+
await u(), s || f();
|
1004 |
+
}
|
1005 |
+
async function v() {
|
1006 |
+
await Promise.all([r.set([125, 0]), i.set([-125, 0])]), f();
|
1007 |
+
}
|
1008 |
+
return Zt(() => (v(), () => s = !0)), o.$$set = (h) => {
|
1009 |
+
"margin" in h && l(0, n = h.margin);
|
1010 |
+
}, [n, t, a, r, i];
|
1011 |
+
}
|
1012 |
+
class Kt extends Bt {
|
1013 |
+
constructor(e) {
|
1014 |
+
super(), Et(this, e, It, At, Tt, { margin: 0 });
|
1015 |
+
}
|
1016 |
+
}
|
1017 |
+
const {
|
1018 |
+
SvelteComponent: Gt,
|
1019 |
+
append: J,
|
1020 |
+
attr: Z,
|
1021 |
+
binding_callbacks: Oe,
|
1022 |
+
check_outros: Sl,
|
1023 |
+
create_component: Ut,
|
1024 |
+
create_slot: Ht,
|
1025 |
+
destroy_component: Wt,
|
1026 |
+
destroy_each: Cl,
|
1027 |
+
detach: k,
|
1028 |
+
element: U,
|
1029 |
+
empty: ie,
|
1030 |
+
ensure_array_like: ye,
|
1031 |
+
get_all_dirty_from_scope: Xt,
|
1032 |
+
get_slot_changes: Yt,
|
1033 |
+
group_outros: zl,
|
1034 |
+
init: Ot,
|
1035 |
+
insert: q,
|
1036 |
+
mount_component: Rt,
|
1037 |
+
noop: Pe,
|
1038 |
+
safe_not_equal: Jt,
|
1039 |
+
set_data: N,
|
1040 |
+
set_style: Y,
|
1041 |
+
space: A,
|
1042 |
+
text: j,
|
1043 |
+
toggle_class: M,
|
1044 |
+
transition_in: ae,
|
1045 |
+
transition_out: ne,
|
1046 |
+
update_slot_base: Qt
|
1047 |
+
} = window.__gradio__svelte__internal, { tick: xt } = window.__gradio__svelte__internal, { onDestroy: $t } = window.__gradio__svelte__internal, eo = (o) => ({}), Re = (o) => ({});
|
1048 |
+
function Je(o, e, l) {
|
1049 |
+
const t = o.slice();
|
1050 |
+
return t[38] = e[l], t[40] = l, t;
|
1051 |
+
}
|
1052 |
+
function Qe(o, e, l) {
|
1053 |
+
const t = o.slice();
|
1054 |
+
return t[38] = e[l], t;
|
1055 |
+
}
|
1056 |
+
function lo(o) {
|
1057 |
+
let e, l = (
|
1058 |
+
/*i18n*/
|
1059 |
+
o[1]("common.error") + ""
|
1060 |
+
), t, a, n;
|
1061 |
+
const r = (
|
1062 |
+
/*#slots*/
|
1063 |
+
o[29].error
|
1064 |
+
), i = Ht(
|
1065 |
+
r,
|
1066 |
+
o,
|
1067 |
+
/*$$scope*/
|
1068 |
+
o[28],
|
1069 |
+
Re
|
1070 |
+
);
|
1071 |
+
return {
|
1072 |
+
c() {
|
1073 |
+
e = U("span"), t = j(l), a = A(), i && i.c(), Z(e, "class", "error svelte-14miwb5");
|
1074 |
+
},
|
1075 |
+
m(s, u) {
|
1076 |
+
q(s, e, u), J(e, t), q(s, a, u), i && i.m(s, u), n = !0;
|
1077 |
+
},
|
1078 |
+
p(s, u) {
|
1079 |
+
(!n || u[0] & /*i18n*/
|
1080 |
+
2) && l !== (l = /*i18n*/
|
1081 |
+
s[1]("common.error") + "") && N(t, l), i && i.p && (!n || u[0] & /*$$scope*/
|
1082 |
+
268435456) && Qt(
|
1083 |
+
i,
|
1084 |
+
r,
|
1085 |
+
s,
|
1086 |
+
/*$$scope*/
|
1087 |
+
s[28],
|
1088 |
+
n ? Yt(
|
1089 |
+
r,
|
1090 |
+
/*$$scope*/
|
1091 |
+
s[28],
|
1092 |
+
u,
|
1093 |
+
eo
|
1094 |
+
) : Xt(
|
1095 |
+
/*$$scope*/
|
1096 |
+
s[28]
|
1097 |
+
),
|
1098 |
+
Re
|
1099 |
+
);
|
1100 |
+
},
|
1101 |
+
i(s) {
|
1102 |
+
n || (ae(i, s), n = !0);
|
1103 |
+
},
|
1104 |
+
o(s) {
|
1105 |
+
ne(i, s), n = !1;
|
1106 |
+
},
|
1107 |
+
d(s) {
|
1108 |
+
s && (k(e), k(a)), i && i.d(s);
|
1109 |
+
}
|
1110 |
+
};
|
1111 |
+
}
|
1112 |
+
function to(o) {
|
1113 |
+
let e, l, t, a, n, r, i, s, u, f = (
|
1114 |
+
/*variant*/
|
1115 |
+
o[8] === "default" && /*show_eta_bar*/
|
1116 |
+
o[18] && /*show_progress*/
|
1117 |
+
o[6] === "full" && xe(o)
|
1118 |
+
);
|
1119 |
+
function v(c, z) {
|
1120 |
+
if (
|
1121 |
+
/*progress*/
|
1122 |
+
c[7]
|
1123 |
+
)
|
1124 |
+
return no;
|
1125 |
+
if (
|
1126 |
+
/*queue_position*/
|
1127 |
+
c[2] !== null && /*queue_size*/
|
1128 |
+
c[3] !== void 0 && /*queue_position*/
|
1129 |
+
c[2] >= 0
|
1130 |
+
)
|
1131 |
+
return ao;
|
1132 |
+
if (
|
1133 |
+
/*queue_position*/
|
1134 |
+
c[2] === 0
|
1135 |
+
)
|
1136 |
+
return oo;
|
1137 |
+
}
|
1138 |
+
let h = v(o), d = h && h(o), _ = (
|
1139 |
+
/*timer*/
|
1140 |
+
o[5] && ll(o)
|
1141 |
+
);
|
1142 |
+
const b = [uo, so], y = [];
|
1143 |
+
function F(c, z) {
|
1144 |
+
return (
|
1145 |
+
/*last_progress_level*/
|
1146 |
+
c[15] != null ? 0 : (
|
1147 |
+
/*show_progress*/
|
1148 |
+
c[6] === "full" ? 1 : -1
|
1149 |
+
)
|
1150 |
+
);
|
1151 |
+
}
|
1152 |
+
~(n = F(o)) && (r = y[n] = b[n](o));
|
1153 |
+
let L = !/*timer*/
|
1154 |
+
o[5] && sl(o);
|
1155 |
+
return {
|
1156 |
+
c() {
|
1157 |
+
f && f.c(), e = A(), l = U("div"), d && d.c(), t = A(), _ && _.c(), a = A(), r && r.c(), i = A(), L && L.c(), s = ie(), Z(l, "class", "progress-text svelte-14miwb5"), M(
|
1158 |
+
l,
|
1159 |
+
"meta-text-center",
|
1160 |
+
/*variant*/
|
1161 |
+
o[8] === "center"
|
1162 |
+
), M(
|
1163 |
+
l,
|
1164 |
+
"meta-text",
|
1165 |
+
/*variant*/
|
1166 |
+
o[8] === "default"
|
1167 |
+
);
|
1168 |
+
},
|
1169 |
+
m(c, z) {
|
1170 |
+
f && f.m(c, z), q(c, e, z), q(c, l, z), d && d.m(l, null), J(l, t), _ && _.m(l, null), q(c, a, z), ~n && y[n].m(c, z), q(c, i, z), L && L.m(c, z), q(c, s, z), u = !0;
|
1171 |
+
},
|
1172 |
+
p(c, z) {
|
1173 |
+
/*variant*/
|
1174 |
+
c[8] === "default" && /*show_eta_bar*/
|
1175 |
+
c[18] && /*show_progress*/
|
1176 |
+
c[6] === "full" ? f ? f.p(c, z) : (f = xe(c), f.c(), f.m(e.parentNode, e)) : f && (f.d(1), f = null), h === (h = v(c)) && d ? d.p(c, z) : (d && d.d(1), d = h && h(c), d && (d.c(), d.m(l, t))), /*timer*/
|
1177 |
+
c[5] ? _ ? _.p(c, z) : (_ = ll(c), _.c(), _.m(l, null)) : _ && (_.d(1), _ = null), (!u || z[0] & /*variant*/
|
1178 |
+
256) && M(
|
1179 |
+
l,
|
1180 |
+
"meta-text-center",
|
1181 |
+
/*variant*/
|
1182 |
+
c[8] === "center"
|
1183 |
+
), (!u || z[0] & /*variant*/
|
1184 |
+
256) && M(
|
1185 |
+
l,
|
1186 |
+
"meta-text",
|
1187 |
+
/*variant*/
|
1188 |
+
c[8] === "default"
|
1189 |
+
);
|
1190 |
+
let m = n;
|
1191 |
+
n = F(c), n === m ? ~n && y[n].p(c, z) : (r && (zl(), ne(y[m], 1, 1, () => {
|
1192 |
+
y[m] = null;
|
1193 |
+
}), Sl()), ~n ? (r = y[n], r ? r.p(c, z) : (r = y[n] = b[n](c), r.c()), ae(r, 1), r.m(i.parentNode, i)) : r = null), /*timer*/
|
1194 |
+
c[5] ? L && (L.d(1), L = null) : L ? L.p(c, z) : (L = sl(c), L.c(), L.m(s.parentNode, s));
|
1195 |
+
},
|
1196 |
+
i(c) {
|
1197 |
+
u || (ae(r), u = !0);
|
1198 |
+
},
|
1199 |
+
o(c) {
|
1200 |
+
ne(r), u = !1;
|
1201 |
+
},
|
1202 |
+
d(c) {
|
1203 |
+
c && (k(e), k(l), k(a), k(i), k(s)), f && f.d(c), d && d.d(), _ && _.d(), ~n && y[n].d(c), L && L.d(c);
|
1204 |
+
}
|
1205 |
+
};
|
1206 |
+
}
|
1207 |
+
function xe(o) {
|
1208 |
+
let e, l = `translateX(${/*eta_level*/
|
1209 |
+
(o[17] || 0) * 100 - 100}%)`;
|
1210 |
+
return {
|
1211 |
+
c() {
|
1212 |
+
e = U("div"), Z(e, "class", "eta-bar svelte-14miwb5"), Y(e, "transform", l);
|
1213 |
+
},
|
1214 |
+
m(t, a) {
|
1215 |
+
q(t, e, a);
|
1216 |
+
},
|
1217 |
+
p(t, a) {
|
1218 |
+
a[0] & /*eta_level*/
|
1219 |
+
131072 && l !== (l = `translateX(${/*eta_level*/
|
1220 |
+
(t[17] || 0) * 100 - 100}%)`) && Y(e, "transform", l);
|
1221 |
+
},
|
1222 |
+
d(t) {
|
1223 |
+
t && k(e);
|
1224 |
+
}
|
1225 |
+
};
|
1226 |
+
}
|
1227 |
+
function oo(o) {
|
1228 |
+
let e;
|
1229 |
+
return {
|
1230 |
+
c() {
|
1231 |
+
e = j("processing |");
|
1232 |
+
},
|
1233 |
+
m(l, t) {
|
1234 |
+
q(l, e, t);
|
1235 |
+
},
|
1236 |
+
p: Pe,
|
1237 |
+
d(l) {
|
1238 |
+
l && k(e);
|
1239 |
+
}
|
1240 |
+
};
|
1241 |
+
}
|
1242 |
+
function ao(o) {
|
1243 |
+
let e, l = (
|
1244 |
+
/*queue_position*/
|
1245 |
+
o[2] + 1 + ""
|
1246 |
+
), t, a, n, r;
|
1247 |
+
return {
|
1248 |
+
c() {
|
1249 |
+
e = j("queue: "), t = j(l), a = j("/"), n = j(
|
1250 |
+
/*queue_size*/
|
1251 |
+
o[3]
|
1252 |
+
), r = j(" |");
|
1253 |
+
},
|
1254 |
+
m(i, s) {
|
1255 |
+
q(i, e, s), q(i, t, s), q(i, a, s), q(i, n, s), q(i, r, s);
|
1256 |
+
},
|
1257 |
+
p(i, s) {
|
1258 |
+
s[0] & /*queue_position*/
|
1259 |
+
4 && l !== (l = /*queue_position*/
|
1260 |
+
i[2] + 1 + "") && N(t, l), s[0] & /*queue_size*/
|
1261 |
+
8 && N(
|
1262 |
+
n,
|
1263 |
+
/*queue_size*/
|
1264 |
+
i[3]
|
1265 |
+
);
|
1266 |
+
},
|
1267 |
+
d(i) {
|
1268 |
+
i && (k(e), k(t), k(a), k(n), k(r));
|
1269 |
+
}
|
1270 |
+
};
|
1271 |
+
}
|
1272 |
+
function no(o) {
|
1273 |
+
let e, l = ye(
|
1274 |
+
/*progress*/
|
1275 |
+
o[7]
|
1276 |
+
), t = [];
|
1277 |
+
for (let a = 0; a < l.length; a += 1)
|
1278 |
+
t[a] = el(Qe(o, l, a));
|
1279 |
+
return {
|
1280 |
+
c() {
|
1281 |
+
for (let a = 0; a < t.length; a += 1)
|
1282 |
+
t[a].c();
|
1283 |
+
e = ie();
|
1284 |
+
},
|
1285 |
+
m(a, n) {
|
1286 |
+
for (let r = 0; r < t.length; r += 1)
|
1287 |
+
t[r] && t[r].m(a, n);
|
1288 |
+
q(a, e, n);
|
1289 |
+
},
|
1290 |
+
p(a, n) {
|
1291 |
+
if (n[0] & /*progress*/
|
1292 |
+
128) {
|
1293 |
+
l = ye(
|
1294 |
+
/*progress*/
|
1295 |
+
a[7]
|
1296 |
+
);
|
1297 |
+
let r;
|
1298 |
+
for (r = 0; r < l.length; r += 1) {
|
1299 |
+
const i = Qe(a, l, r);
|
1300 |
+
t[r] ? t[r].p(i, n) : (t[r] = el(i), t[r].c(), t[r].m(e.parentNode, e));
|
1301 |
+
}
|
1302 |
+
for (; r < t.length; r += 1)
|
1303 |
+
t[r].d(1);
|
1304 |
+
t.length = l.length;
|
1305 |
+
}
|
1306 |
+
},
|
1307 |
+
d(a) {
|
1308 |
+
a && k(e), Cl(t, a);
|
1309 |
+
}
|
1310 |
+
};
|
1311 |
+
}
|
1312 |
+
function $e(o) {
|
1313 |
+
let e, l = (
|
1314 |
+
/*p*/
|
1315 |
+
o[38].unit + ""
|
1316 |
+
), t, a, n = " ", r;
|
1317 |
+
function i(f, v) {
|
1318 |
+
return (
|
1319 |
+
/*p*/
|
1320 |
+
f[38].length != null ? io : ro
|
1321 |
+
);
|
1322 |
+
}
|
1323 |
+
let s = i(o), u = s(o);
|
1324 |
+
return {
|
1325 |
+
c() {
|
1326 |
+
u.c(), e = A(), t = j(l), a = j(" | "), r = j(n);
|
1327 |
+
},
|
1328 |
+
m(f, v) {
|
1329 |
+
u.m(f, v), q(f, e, v), q(f, t, v), q(f, a, v), q(f, r, v);
|
1330 |
+
},
|
1331 |
+
p(f, v) {
|
1332 |
+
s === (s = i(f)) && u ? u.p(f, v) : (u.d(1), u = s(f), u && (u.c(), u.m(e.parentNode, e))), v[0] & /*progress*/
|
1333 |
+
128 && l !== (l = /*p*/
|
1334 |
+
f[38].unit + "") && N(t, l);
|
1335 |
+
},
|
1336 |
+
d(f) {
|
1337 |
+
f && (k(e), k(t), k(a), k(r)), u.d(f);
|
1338 |
+
}
|
1339 |
+
};
|
1340 |
+
}
|
1341 |
+
function ro(o) {
|
1342 |
+
let e = $(
|
1343 |
+
/*p*/
|
1344 |
+
o[38].index || 0
|
1345 |
+
) + "", l;
|
1346 |
+
return {
|
1347 |
+
c() {
|
1348 |
+
l = j(e);
|
1349 |
+
},
|
1350 |
+
m(t, a) {
|
1351 |
+
q(t, l, a);
|
1352 |
+
},
|
1353 |
+
p(t, a) {
|
1354 |
+
a[0] & /*progress*/
|
1355 |
+
128 && e !== (e = $(
|
1356 |
+
/*p*/
|
1357 |
+
t[38].index || 0
|
1358 |
+
) + "") && N(l, e);
|
1359 |
+
},
|
1360 |
+
d(t) {
|
1361 |
+
t && k(l);
|
1362 |
+
}
|
1363 |
+
};
|
1364 |
+
}
|
1365 |
+
function io(o) {
|
1366 |
+
let e = $(
|
1367 |
+
/*p*/
|
1368 |
+
o[38].index || 0
|
1369 |
+
) + "", l, t, a = $(
|
1370 |
+
/*p*/
|
1371 |
+
o[38].length
|
1372 |
+
) + "", n;
|
1373 |
+
return {
|
1374 |
+
c() {
|
1375 |
+
l = j(e), t = j("/"), n = j(a);
|
1376 |
+
},
|
1377 |
+
m(r, i) {
|
1378 |
+
q(r, l, i), q(r, t, i), q(r, n, i);
|
1379 |
+
},
|
1380 |
+
p(r, i) {
|
1381 |
+
i[0] & /*progress*/
|
1382 |
+
128 && e !== (e = $(
|
1383 |
+
/*p*/
|
1384 |
+
r[38].index || 0
|
1385 |
+
) + "") && N(l, e), i[0] & /*progress*/
|
1386 |
+
128 && a !== (a = $(
|
1387 |
+
/*p*/
|
1388 |
+
r[38].length
|
1389 |
+
) + "") && N(n, a);
|
1390 |
+
},
|
1391 |
+
d(r) {
|
1392 |
+
r && (k(l), k(t), k(n));
|
1393 |
+
}
|
1394 |
+
};
|
1395 |
+
}
|
1396 |
+
function el(o) {
|
1397 |
+
let e, l = (
|
1398 |
+
/*p*/
|
1399 |
+
o[38].index != null && $e(o)
|
1400 |
+
);
|
1401 |
+
return {
|
1402 |
+
c() {
|
1403 |
+
l && l.c(), e = ie();
|
1404 |
+
},
|
1405 |
+
m(t, a) {
|
1406 |
+
l && l.m(t, a), q(t, e, a);
|
1407 |
+
},
|
1408 |
+
p(t, a) {
|
1409 |
+
/*p*/
|
1410 |
+
t[38].index != null ? l ? l.p(t, a) : (l = $e(t), l.c(), l.m(e.parentNode, e)) : l && (l.d(1), l = null);
|
1411 |
+
},
|
1412 |
+
d(t) {
|
1413 |
+
t && k(e), l && l.d(t);
|
1414 |
+
}
|
1415 |
+
};
|
1416 |
+
}
|
1417 |
+
function ll(o) {
|
1418 |
+
let e, l = (
|
1419 |
+
/*eta*/
|
1420 |
+
o[0] ? `/${/*formatted_eta*/
|
1421 |
+
o[19]}` : ""
|
1422 |
+
), t, a;
|
1423 |
+
return {
|
1424 |
+
c() {
|
1425 |
+
e = j(
|
1426 |
+
/*formatted_timer*/
|
1427 |
+
o[20]
|
1428 |
+
), t = j(l), a = j("s");
|
1429 |
+
},
|
1430 |
+
m(n, r) {
|
1431 |
+
q(n, e, r), q(n, t, r), q(n, a, r);
|
1432 |
+
},
|
1433 |
+
p(n, r) {
|
1434 |
+
r[0] & /*formatted_timer*/
|
1435 |
+
1048576 && N(
|
1436 |
+
e,
|
1437 |
+
/*formatted_timer*/
|
1438 |
+
n[20]
|
1439 |
+
), r[0] & /*eta, formatted_eta*/
|
1440 |
+
524289 && l !== (l = /*eta*/
|
1441 |
+
n[0] ? `/${/*formatted_eta*/
|
1442 |
+
n[19]}` : "") && N(t, l);
|
1443 |
+
},
|
1444 |
+
d(n) {
|
1445 |
+
n && (k(e), k(t), k(a));
|
1446 |
+
}
|
1447 |
+
};
|
1448 |
+
}
|
1449 |
+
function so(o) {
|
1450 |
+
let e, l;
|
1451 |
+
return e = new Kt({
|
1452 |
+
props: { margin: (
|
1453 |
+
/*variant*/
|
1454 |
+
o[8] === "default"
|
1455 |
+
) }
|
1456 |
+
}), {
|
1457 |
+
c() {
|
1458 |
+
Ut(e.$$.fragment);
|
1459 |
+
},
|
1460 |
+
m(t, a) {
|
1461 |
+
Rt(e, t, a), l = !0;
|
1462 |
+
},
|
1463 |
+
p(t, a) {
|
1464 |
+
const n = {};
|
1465 |
+
a[0] & /*variant*/
|
1466 |
+
256 && (n.margin = /*variant*/
|
1467 |
+
t[8] === "default"), e.$set(n);
|
1468 |
+
},
|
1469 |
+
i(t) {
|
1470 |
+
l || (ae(e.$$.fragment, t), l = !0);
|
1471 |
+
},
|
1472 |
+
o(t) {
|
1473 |
+
ne(e.$$.fragment, t), l = !1;
|
1474 |
+
},
|
1475 |
+
d(t) {
|
1476 |
+
Wt(e, t);
|
1477 |
+
}
|
1478 |
+
};
|
1479 |
+
}
|
1480 |
+
function uo(o) {
|
1481 |
+
let e, l, t, a, n, r = `${/*last_progress_level*/
|
1482 |
+
o[15] * 100}%`, i = (
|
1483 |
+
/*progress*/
|
1484 |
+
o[7] != null && tl(o)
|
1485 |
+
);
|
1486 |
+
return {
|
1487 |
+
c() {
|
1488 |
+
e = U("div"), l = U("div"), i && i.c(), t = A(), a = U("div"), n = U("div"), Z(l, "class", "progress-level-inner svelte-14miwb5"), Z(n, "class", "progress-bar svelte-14miwb5"), Y(n, "width", r), Z(a, "class", "progress-bar-wrap svelte-14miwb5"), Z(e, "class", "progress-level svelte-14miwb5");
|
1489 |
+
},
|
1490 |
+
m(s, u) {
|
1491 |
+
q(s, e, u), J(e, l), i && i.m(l, null), J(e, t), J(e, a), J(a, n), o[30](n);
|
1492 |
+
},
|
1493 |
+
p(s, u) {
|
1494 |
+
/*progress*/
|
1495 |
+
s[7] != null ? i ? i.p(s, u) : (i = tl(s), i.c(), i.m(l, null)) : i && (i.d(1), i = null), u[0] & /*last_progress_level*/
|
1496 |
+
32768 && r !== (r = `${/*last_progress_level*/
|
1497 |
+
s[15] * 100}%`) && Y(n, "width", r);
|
1498 |
+
},
|
1499 |
+
i: Pe,
|
1500 |
+
o: Pe,
|
1501 |
+
d(s) {
|
1502 |
+
s && k(e), i && i.d(), o[30](null);
|
1503 |
+
}
|
1504 |
+
};
|
1505 |
+
}
|
1506 |
+
function tl(o) {
|
1507 |
+
let e, l = ye(
|
1508 |
+
/*progress*/
|
1509 |
+
o[7]
|
1510 |
+
), t = [];
|
1511 |
+
for (let a = 0; a < l.length; a += 1)
|
1512 |
+
t[a] = il(Je(o, l, a));
|
1513 |
+
return {
|
1514 |
+
c() {
|
1515 |
+
for (let a = 0; a < t.length; a += 1)
|
1516 |
+
t[a].c();
|
1517 |
+
e = ie();
|
1518 |
+
},
|
1519 |
+
m(a, n) {
|
1520 |
+
for (let r = 0; r < t.length; r += 1)
|
1521 |
+
t[r] && t[r].m(a, n);
|
1522 |
+
q(a, e, n);
|
1523 |
+
},
|
1524 |
+
p(a, n) {
|
1525 |
+
if (n[0] & /*progress_level, progress*/
|
1526 |
+
16512) {
|
1527 |
+
l = ye(
|
1528 |
+
/*progress*/
|
1529 |
+
a[7]
|
1530 |
+
);
|
1531 |
+
let r;
|
1532 |
+
for (r = 0; r < l.length; r += 1) {
|
1533 |
+
const i = Je(a, l, r);
|
1534 |
+
t[r] ? t[r].p(i, n) : (t[r] = il(i), t[r].c(), t[r].m(e.parentNode, e));
|
1535 |
+
}
|
1536 |
+
for (; r < t.length; r += 1)
|
1537 |
+
t[r].d(1);
|
1538 |
+
t.length = l.length;
|
1539 |
+
}
|
1540 |
+
},
|
1541 |
+
d(a) {
|
1542 |
+
a && k(e), Cl(t, a);
|
1543 |
+
}
|
1544 |
+
};
|
1545 |
+
}
|
1546 |
+
function ol(o) {
|
1547 |
+
let e, l, t, a, n = (
|
1548 |
+
/*i*/
|
1549 |
+
o[40] !== 0 && fo()
|
1550 |
+
), r = (
|
1551 |
+
/*p*/
|
1552 |
+
o[38].desc != null && al(o)
|
1553 |
+
), i = (
|
1554 |
+
/*p*/
|
1555 |
+
o[38].desc != null && /*progress_level*/
|
1556 |
+
o[14] && /*progress_level*/
|
1557 |
+
o[14][
|
1558 |
+
/*i*/
|
1559 |
+
o[40]
|
1560 |
+
] != null && nl()
|
1561 |
+
), s = (
|
1562 |
+
/*progress_level*/
|
1563 |
+
o[14] != null && rl(o)
|
1564 |
+
);
|
1565 |
+
return {
|
1566 |
+
c() {
|
1567 |
+
n && n.c(), e = A(), r && r.c(), l = A(), i && i.c(), t = A(), s && s.c(), a = ie();
|
1568 |
+
},
|
1569 |
+
m(u, f) {
|
1570 |
+
n && n.m(u, f), q(u, e, f), r && r.m(u, f), q(u, l, f), i && i.m(u, f), q(u, t, f), s && s.m(u, f), q(u, a, f);
|
1571 |
+
},
|
1572 |
+
p(u, f) {
|
1573 |
+
/*p*/
|
1574 |
+
u[38].desc != null ? r ? r.p(u, f) : (r = al(u), r.c(), r.m(l.parentNode, l)) : r && (r.d(1), r = null), /*p*/
|
1575 |
+
u[38].desc != null && /*progress_level*/
|
1576 |
+
u[14] && /*progress_level*/
|
1577 |
+
u[14][
|
1578 |
+
/*i*/
|
1579 |
+
u[40]
|
1580 |
+
] != null ? i || (i = nl(), i.c(), i.m(t.parentNode, t)) : i && (i.d(1), i = null), /*progress_level*/
|
1581 |
+
u[14] != null ? s ? s.p(u, f) : (s = rl(u), s.c(), s.m(a.parentNode, a)) : s && (s.d(1), s = null);
|
1582 |
+
},
|
1583 |
+
d(u) {
|
1584 |
+
u && (k(e), k(l), k(t), k(a)), n && n.d(u), r && r.d(u), i && i.d(u), s && s.d(u);
|
1585 |
+
}
|
1586 |
+
};
|
1587 |
+
}
|
1588 |
+
function fo(o) {
|
1589 |
+
let e;
|
1590 |
+
return {
|
1591 |
+
c() {
|
1592 |
+
e = j(" /");
|
1593 |
+
},
|
1594 |
+
m(l, t) {
|
1595 |
+
q(l, e, t);
|
1596 |
+
},
|
1597 |
+
d(l) {
|
1598 |
+
l && k(e);
|
1599 |
+
}
|
1600 |
+
};
|
1601 |
+
}
|
1602 |
+
function al(o) {
|
1603 |
+
let e = (
|
1604 |
+
/*p*/
|
1605 |
+
o[38].desc + ""
|
1606 |
+
), l;
|
1607 |
+
return {
|
1608 |
+
c() {
|
1609 |
+
l = j(e);
|
1610 |
+
},
|
1611 |
+
m(t, a) {
|
1612 |
+
q(t, l, a);
|
1613 |
+
},
|
1614 |
+
p(t, a) {
|
1615 |
+
a[0] & /*progress*/
|
1616 |
+
128 && e !== (e = /*p*/
|
1617 |
+
t[38].desc + "") && N(l, e);
|
1618 |
+
},
|
1619 |
+
d(t) {
|
1620 |
+
t && k(l);
|
1621 |
+
}
|
1622 |
+
};
|
1623 |
+
}
|
1624 |
+
function nl(o) {
|
1625 |
+
let e;
|
1626 |
+
return {
|
1627 |
+
c() {
|
1628 |
+
e = j("-");
|
1629 |
+
},
|
1630 |
+
m(l, t) {
|
1631 |
+
q(l, e, t);
|
1632 |
+
},
|
1633 |
+
d(l) {
|
1634 |
+
l && k(e);
|
1635 |
+
}
|
1636 |
+
};
|
1637 |
+
}
|
1638 |
+
function rl(o) {
|
1639 |
+
let e = (100 * /*progress_level*/
|
1640 |
+
(o[14][
|
1641 |
+
/*i*/
|
1642 |
+
o[40]
|
1643 |
+
] || 0)).toFixed(1) + "", l, t;
|
1644 |
+
return {
|
1645 |
+
c() {
|
1646 |
+
l = j(e), t = j("%");
|
1647 |
+
},
|
1648 |
+
m(a, n) {
|
1649 |
+
q(a, l, n), q(a, t, n);
|
1650 |
+
},
|
1651 |
+
p(a, n) {
|
1652 |
+
n[0] & /*progress_level*/
|
1653 |
+
16384 && e !== (e = (100 * /*progress_level*/
|
1654 |
+
(a[14][
|
1655 |
+
/*i*/
|
1656 |
+
a[40]
|
1657 |
+
] || 0)).toFixed(1) + "") && N(l, e);
|
1658 |
+
},
|
1659 |
+
d(a) {
|
1660 |
+
a && (k(l), k(t));
|
1661 |
+
}
|
1662 |
+
};
|
1663 |
+
}
|
1664 |
+
function il(o) {
|
1665 |
+
let e, l = (
|
1666 |
+
/*p*/
|
1667 |
+
(o[38].desc != null || /*progress_level*/
|
1668 |
+
o[14] && /*progress_level*/
|
1669 |
+
o[14][
|
1670 |
+
/*i*/
|
1671 |
+
o[40]
|
1672 |
+
] != null) && ol(o)
|
1673 |
+
);
|
1674 |
+
return {
|
1675 |
+
c() {
|
1676 |
+
l && l.c(), e = ie();
|
1677 |
+
},
|
1678 |
+
m(t, a) {
|
1679 |
+
l && l.m(t, a), q(t, e, a);
|
1680 |
+
},
|
1681 |
+
p(t, a) {
|
1682 |
+
/*p*/
|
1683 |
+
t[38].desc != null || /*progress_level*/
|
1684 |
+
t[14] && /*progress_level*/
|
1685 |
+
t[14][
|
1686 |
+
/*i*/
|
1687 |
+
t[40]
|
1688 |
+
] != null ? l ? l.p(t, a) : (l = ol(t), l.c(), l.m(e.parentNode, e)) : l && (l.d(1), l = null);
|
1689 |
+
},
|
1690 |
+
d(t) {
|
1691 |
+
t && k(e), l && l.d(t);
|
1692 |
+
}
|
1693 |
+
};
|
1694 |
+
}
|
1695 |
+
function sl(o) {
|
1696 |
+
let e, l;
|
1697 |
+
return {
|
1698 |
+
c() {
|
1699 |
+
e = U("p"), l = j(
|
1700 |
+
/*loading_text*/
|
1701 |
+
o[9]
|
1702 |
+
), Z(e, "class", "loading svelte-14miwb5");
|
1703 |
+
},
|
1704 |
+
m(t, a) {
|
1705 |
+
q(t, e, a), J(e, l);
|
1706 |
+
},
|
1707 |
+
p(t, a) {
|
1708 |
+
a[0] & /*loading_text*/
|
1709 |
+
512 && N(
|
1710 |
+
l,
|
1711 |
+
/*loading_text*/
|
1712 |
+
t[9]
|
1713 |
+
);
|
1714 |
+
},
|
1715 |
+
d(t) {
|
1716 |
+
t && k(e);
|
1717 |
+
}
|
1718 |
+
};
|
1719 |
+
}
|
1720 |
+
function _o(o) {
|
1721 |
+
let e, l, t, a, n;
|
1722 |
+
const r = [to, lo], i = [];
|
1723 |
+
function s(u, f) {
|
1724 |
+
return (
|
1725 |
+
/*status*/
|
1726 |
+
u[4] === "pending" ? 0 : (
|
1727 |
+
/*status*/
|
1728 |
+
u[4] === "error" ? 1 : -1
|
1729 |
+
)
|
1730 |
+
);
|
1731 |
+
}
|
1732 |
+
return ~(l = s(o)) && (t = i[l] = r[l](o)), {
|
1733 |
+
c() {
|
1734 |
+
e = U("div"), t && t.c(), Z(e, "class", a = "wrap " + /*variant*/
|
1735 |
+
o[8] + " " + /*show_progress*/
|
1736 |
+
o[6] + " svelte-14miwb5"), M(e, "hide", !/*status*/
|
1737 |
+
o[4] || /*status*/
|
1738 |
+
o[4] === "complete" || /*show_progress*/
|
1739 |
+
o[6] === "hidden"), M(
|
1740 |
+
e,
|
1741 |
+
"translucent",
|
1742 |
+
/*variant*/
|
1743 |
+
o[8] === "center" && /*status*/
|
1744 |
+
(o[4] === "pending" || /*status*/
|
1745 |
+
o[4] === "error") || /*translucent*/
|
1746 |
+
o[11] || /*show_progress*/
|
1747 |
+
o[6] === "minimal"
|
1748 |
+
), M(
|
1749 |
+
e,
|
1750 |
+
"generating",
|
1751 |
+
/*status*/
|
1752 |
+
o[4] === "generating"
|
1753 |
+
), M(
|
1754 |
+
e,
|
1755 |
+
"border",
|
1756 |
+
/*border*/
|
1757 |
+
o[12]
|
1758 |
+
), Y(
|
1759 |
+
e,
|
1760 |
+
"position",
|
1761 |
+
/*absolute*/
|
1762 |
+
o[10] ? "absolute" : "static"
|
1763 |
+
), Y(
|
1764 |
+
e,
|
1765 |
+
"padding",
|
1766 |
+
/*absolute*/
|
1767 |
+
o[10] ? "0" : "var(--size-8) 0"
|
1768 |
+
);
|
1769 |
+
},
|
1770 |
+
m(u, f) {
|
1771 |
+
q(u, e, f), ~l && i[l].m(e, null), o[31](e), n = !0;
|
1772 |
+
},
|
1773 |
+
p(u, f) {
|
1774 |
+
let v = l;
|
1775 |
+
l = s(u), l === v ? ~l && i[l].p(u, f) : (t && (zl(), ne(i[v], 1, 1, () => {
|
1776 |
+
i[v] = null;
|
1777 |
+
}), Sl()), ~l ? (t = i[l], t ? t.p(u, f) : (t = i[l] = r[l](u), t.c()), ae(t, 1), t.m(e, null)) : t = null), (!n || f[0] & /*variant, show_progress*/
|
1778 |
+
320 && a !== (a = "wrap " + /*variant*/
|
1779 |
+
u[8] + " " + /*show_progress*/
|
1780 |
+
u[6] + " svelte-14miwb5")) && Z(e, "class", a), (!n || f[0] & /*variant, show_progress, status, show_progress*/
|
1781 |
+
336) && M(e, "hide", !/*status*/
|
1782 |
+
u[4] || /*status*/
|
1783 |
+
u[4] === "complete" || /*show_progress*/
|
1784 |
+
u[6] === "hidden"), (!n || f[0] & /*variant, show_progress, variant, status, translucent, show_progress*/
|
1785 |
+
2384) && M(
|
1786 |
+
e,
|
1787 |
+
"translucent",
|
1788 |
+
/*variant*/
|
1789 |
+
u[8] === "center" && /*status*/
|
1790 |
+
(u[4] === "pending" || /*status*/
|
1791 |
+
u[4] === "error") || /*translucent*/
|
1792 |
+
u[11] || /*show_progress*/
|
1793 |
+
u[6] === "minimal"
|
1794 |
+
), (!n || f[0] & /*variant, show_progress, status*/
|
1795 |
+
336) && M(
|
1796 |
+
e,
|
1797 |
+
"generating",
|
1798 |
+
/*status*/
|
1799 |
+
u[4] === "generating"
|
1800 |
+
), (!n || f[0] & /*variant, show_progress, border*/
|
1801 |
+
4416) && M(
|
1802 |
+
e,
|
1803 |
+
"border",
|
1804 |
+
/*border*/
|
1805 |
+
u[12]
|
1806 |
+
), f[0] & /*absolute*/
|
1807 |
+
1024 && Y(
|
1808 |
+
e,
|
1809 |
+
"position",
|
1810 |
+
/*absolute*/
|
1811 |
+
u[10] ? "absolute" : "static"
|
1812 |
+
), f[0] & /*absolute*/
|
1813 |
+
1024 && Y(
|
1814 |
+
e,
|
1815 |
+
"padding",
|
1816 |
+
/*absolute*/
|
1817 |
+
u[10] ? "0" : "var(--size-8) 0"
|
1818 |
+
);
|
1819 |
+
},
|
1820 |
+
i(u) {
|
1821 |
+
n || (ae(t), n = !0);
|
1822 |
+
},
|
1823 |
+
o(u) {
|
1824 |
+
ne(t), n = !1;
|
1825 |
+
},
|
1826 |
+
d(u) {
|
1827 |
+
u && k(e), ~l && i[l].d(), o[31](null);
|
1828 |
+
}
|
1829 |
+
};
|
1830 |
+
}
|
1831 |
+
let we = [], ze = !1;
|
1832 |
+
async function co(o, e = !0) {
|
1833 |
+
if (!(window.__gradio_mode__ === "website" || window.__gradio_mode__ !== "app" && e !== !0)) {
|
1834 |
+
if (we.push(o), !ze)
|
1835 |
+
ze = !0;
|
1836 |
+
else
|
1837 |
+
return;
|
1838 |
+
await xt(), requestAnimationFrame(() => {
|
1839 |
+
let l = [0, 0];
|
1840 |
+
for (let t = 0; t < we.length; t++) {
|
1841 |
+
const n = we[t].getBoundingClientRect();
|
1842 |
+
(t === 0 || n.top + window.scrollY <= l[0]) && (l[0] = n.top + window.scrollY, l[1] = t);
|
1843 |
+
}
|
1844 |
+
window.scrollTo({ top: l[0] - 20, behavior: "smooth" }), ze = !1, we = [];
|
1845 |
+
});
|
1846 |
+
}
|
1847 |
+
}
|
1848 |
+
function wo(o, e, l) {
|
1849 |
+
let t, { $$slots: a = {}, $$scope: n } = e, { i18n: r } = e, { eta: i = null } = e, { queue: s = !1 } = e, { queue_position: u } = e, { queue_size: f } = e, { status: v } = e, { scroll_to_output: h = !1 } = e, { timer: d = !0 } = e, { show_progress: _ = "full" } = e, { message: b = null } = e, { progress: y = null } = e, { variant: F = "default" } = e, { loading_text: L = "Loading..." } = e, { absolute: c = !0 } = e, { translucent: z = !1 } = e, { border: m = !1 } = e, { autoscroll: O } = e, p, I = !1, H = 0, K = 0, fe = null, ce = 0, G = null, w, S = null, T = !0;
|
1850 |
+
const Ne = () => {
|
1851 |
+
l(25, H = performance.now()), l(26, K = 0), I = !0, Ee();
|
1852 |
+
};
|
1853 |
+
function Ee() {
|
1854 |
+
requestAnimationFrame(() => {
|
1855 |
+
l(26, K = (performance.now() - H) / 1e3), I && Ee();
|
1856 |
+
});
|
1857 |
+
}
|
1858 |
+
function De() {
|
1859 |
+
l(26, K = 0), I && (I = !1);
|
1860 |
+
}
|
1861 |
+
$t(() => {
|
1862 |
+
I && De();
|
1863 |
+
});
|
1864 |
+
let Te = null;
|
1865 |
+
function Ll(g) {
|
1866 |
+
Oe[g ? "unshift" : "push"](() => {
|
1867 |
+
S = g, l(16, S), l(7, y), l(14, G), l(15, w);
|
1868 |
+
});
|
1869 |
+
}
|
1870 |
+
function Fl(g) {
|
1871 |
+
Oe[g ? "unshift" : "push"](() => {
|
1872 |
+
p = g, l(13, p);
|
1873 |
+
});
|
1874 |
+
}
|
1875 |
+
return o.$$set = (g) => {
|
1876 |
+
"i18n" in g && l(1, r = g.i18n), "eta" in g && l(0, i = g.eta), "queue" in g && l(21, s = g.queue), "queue_position" in g && l(2, u = g.queue_position), "queue_size" in g && l(3, f = g.queue_size), "status" in g && l(4, v = g.status), "scroll_to_output" in g && l(22, h = g.scroll_to_output), "timer" in g && l(5, d = g.timer), "show_progress" in g && l(6, _ = g.show_progress), "message" in g && l(23, b = g.message), "progress" in g && l(7, y = g.progress), "variant" in g && l(8, F = g.variant), "loading_text" in g && l(9, L = g.loading_text), "absolute" in g && l(10, c = g.absolute), "translucent" in g && l(11, z = g.translucent), "border" in g && l(12, m = g.border), "autoscroll" in g && l(24, O = g.autoscroll), "$$scope" in g && l(28, n = g.$$scope);
|
1877 |
+
}, o.$$.update = () => {
|
1878 |
+
o.$$.dirty[0] & /*eta, old_eta, queue, timer_start*/
|
1879 |
+
169869313 && (i === null ? l(0, i = fe) : s && l(0, i = (performance.now() - H) / 1e3 + i), i != null && (l(19, Te = i.toFixed(1)), l(27, fe = i))), o.$$.dirty[0] & /*eta, timer_diff*/
|
1880 |
+
67108865 && l(17, ce = i === null || i <= 0 || !K ? null : Math.min(K / i, 1)), o.$$.dirty[0] & /*progress*/
|
1881 |
+
128 && y != null && l(18, T = !1), o.$$.dirty[0] & /*progress, progress_level, progress_bar, last_progress_level*/
|
1882 |
+
114816 && (y != null ? l(14, G = y.map((g) => {
|
1883 |
+
if (g.index != null && g.length != null)
|
1884 |
+
return g.index / g.length;
|
1885 |
+
if (g.progress != null)
|
1886 |
+
return g.progress;
|
1887 |
+
})) : l(14, G = null), G ? (l(15, w = G[G.length - 1]), S && (w === 0 ? l(16, S.style.transition = "0", S) : l(16, S.style.transition = "150ms", S))) : l(15, w = void 0)), o.$$.dirty[0] & /*status*/
|
1888 |
+
16 && (v === "pending" ? Ne() : De()), o.$$.dirty[0] & /*el, scroll_to_output, status, autoscroll*/
|
1889 |
+
20979728 && p && h && (v === "pending" || v === "complete") && co(p, O), o.$$.dirty[0] & /*status, message*/
|
1890 |
+
8388624, o.$$.dirty[0] & /*timer_diff*/
|
1891 |
+
67108864 && l(20, t = K.toFixed(1));
|
1892 |
+
}, [
|
1893 |
+
i,
|
1894 |
+
r,
|
1895 |
+
u,
|
1896 |
+
f,
|
1897 |
+
v,
|
1898 |
+
d,
|
1899 |
+
_,
|
1900 |
+
y,
|
1901 |
+
F,
|
1902 |
+
L,
|
1903 |
+
c,
|
1904 |
+
z,
|
1905 |
+
m,
|
1906 |
+
p,
|
1907 |
+
G,
|
1908 |
+
w,
|
1909 |
+
S,
|
1910 |
+
ce,
|
1911 |
+
T,
|
1912 |
+
Te,
|
1913 |
+
t,
|
1914 |
+
s,
|
1915 |
+
h,
|
1916 |
+
b,
|
1917 |
+
O,
|
1918 |
+
H,
|
1919 |
+
K,
|
1920 |
+
fe,
|
1921 |
+
n,
|
1922 |
+
a,
|
1923 |
+
Ll,
|
1924 |
+
Fl
|
1925 |
+
];
|
1926 |
+
}
|
1927 |
+
class vo extends Gt {
|
1928 |
+
constructor(e) {
|
1929 |
+
super(), Ot(
|
1930 |
+
this,
|
1931 |
+
e,
|
1932 |
+
wo,
|
1933 |
+
_o,
|
1934 |
+
Jt,
|
1935 |
+
{
|
1936 |
+
i18n: 1,
|
1937 |
+
eta: 0,
|
1938 |
+
queue: 21,
|
1939 |
+
queue_position: 2,
|
1940 |
+
queue_size: 3,
|
1941 |
+
status: 4,
|
1942 |
+
scroll_to_output: 22,
|
1943 |
+
timer: 5,
|
1944 |
+
show_progress: 6,
|
1945 |
+
message: 23,
|
1946 |
+
progress: 7,
|
1947 |
+
variant: 8,
|
1948 |
+
loading_text: 9,
|
1949 |
+
absolute: 10,
|
1950 |
+
translucent: 11,
|
1951 |
+
border: 12,
|
1952 |
+
autoscroll: 24
|
1953 |
+
},
|
1954 |
+
null,
|
1955 |
+
[-1, -1]
|
1956 |
+
);
|
1957 |
+
}
|
1958 |
+
}
|
1959 |
+
const go = [{
|
1960 |
+
row: 0,
|
1961 |
+
value: "q"
|
1962 |
+
}, {
|
1963 |
+
row: 0,
|
1964 |
+
value: "w"
|
1965 |
+
}, {
|
1966 |
+
row: 0,
|
1967 |
+
value: "e"
|
1968 |
+
}, {
|
1969 |
+
row: 0,
|
1970 |
+
value: "r"
|
1971 |
+
}, {
|
1972 |
+
row: 0,
|
1973 |
+
value: "t"
|
1974 |
+
}, {
|
1975 |
+
row: 0,
|
1976 |
+
value: "y"
|
1977 |
+
}, {
|
1978 |
+
row: 0,
|
1979 |
+
value: "u"
|
1980 |
+
}, {
|
1981 |
+
row: 0,
|
1982 |
+
value: "i"
|
1983 |
+
}, {
|
1984 |
+
row: 0,
|
1985 |
+
value: "o"
|
1986 |
+
}, {
|
1987 |
+
row: 0,
|
1988 |
+
value: "p"
|
1989 |
+
}, {
|
1990 |
+
row: 1,
|
1991 |
+
value: "a"
|
1992 |
+
}, {
|
1993 |
+
row: 1,
|
1994 |
+
value: "s"
|
1995 |
+
}, {
|
1996 |
+
row: 1,
|
1997 |
+
value: "d"
|
1998 |
+
}, {
|
1999 |
+
row: 1,
|
2000 |
+
value: "f"
|
2001 |
+
}, {
|
2002 |
+
row: 1,
|
2003 |
+
value: "g"
|
2004 |
+
}, {
|
2005 |
+
row: 1,
|
2006 |
+
value: "h"
|
2007 |
+
}, {
|
2008 |
+
row: 1,
|
2009 |
+
value: "j"
|
2010 |
+
}, {
|
2011 |
+
row: 1,
|
2012 |
+
value: "k"
|
2013 |
+
}, {
|
2014 |
+
row: 1,
|
2015 |
+
value: "l"
|
2016 |
+
}, {
|
2017 |
+
row: 2,
|
2018 |
+
value: "Shift"
|
2019 |
+
}, {
|
2020 |
+
row: 2,
|
2021 |
+
value: "z"
|
2022 |
+
}, {
|
2023 |
+
row: 2,
|
2024 |
+
value: "x"
|
2025 |
+
}, {
|
2026 |
+
row: 2,
|
2027 |
+
value: "c"
|
2028 |
+
}, {
|
2029 |
+
row: 2,
|
2030 |
+
value: "v"
|
2031 |
+
}, {
|
2032 |
+
row: 2,
|
2033 |
+
value: "b"
|
2034 |
+
}, {
|
2035 |
+
row: 2,
|
2036 |
+
value: "n"
|
2037 |
+
}, {
|
2038 |
+
row: 2,
|
2039 |
+
value: "m"
|
2040 |
+
}, {
|
2041 |
+
row: 2,
|
2042 |
+
value: "Backspace"
|
2043 |
+
}, {
|
2044 |
+
row: 3,
|
2045 |
+
value: "Page1"
|
2046 |
+
}, {
|
2047 |
+
row: 3,
|
2048 |
+
value: ","
|
2049 |
+
}, {
|
2050 |
+
row: 3,
|
2051 |
+
value: "Space"
|
2052 |
+
}, {
|
2053 |
+
row: 3,
|
2054 |
+
value: "."
|
2055 |
+
}, {
|
2056 |
+
row: 3,
|
2057 |
+
value: "Enter"
|
2058 |
+
}, {
|
2059 |
+
row: 0,
|
2060 |
+
value: "1",
|
2061 |
+
page: 1
|
2062 |
+
}, {
|
2063 |
+
row: 0,
|
2064 |
+
value: "2",
|
2065 |
+
page: 1
|
2066 |
+
}, {
|
2067 |
+
row: 0,
|
2068 |
+
value: "3",
|
2069 |
+
page: 1
|
2070 |
+
}, {
|
2071 |
+
row: 0,
|
2072 |
+
value: "4",
|
2073 |
+
page: 1
|
2074 |
+
}, {
|
2075 |
+
row: 0,
|
2076 |
+
value: "5",
|
2077 |
+
page: 1
|
2078 |
+
}, {
|
2079 |
+
row: 0,
|
2080 |
+
value: "6",
|
2081 |
+
page: 1
|
2082 |
+
}, {
|
2083 |
+
row: 0,
|
2084 |
+
value: "7",
|
2085 |
+
page: 1
|
2086 |
+
}, {
|
2087 |
+
row: 0,
|
2088 |
+
value: "8",
|
2089 |
+
page: 1
|
2090 |
+
}, {
|
2091 |
+
row: 0,
|
2092 |
+
value: "9",
|
2093 |
+
page: 1
|
2094 |
+
}, {
|
2095 |
+
row: 0,
|
2096 |
+
value: "0",
|
2097 |
+
page: 1
|
2098 |
+
}, {
|
2099 |
+
row: 1,
|
2100 |
+
value: "!",
|
2101 |
+
page: 1
|
2102 |
+
}, {
|
2103 |
+
row: 1,
|
2104 |
+
value: "@",
|
2105 |
+
page: 1
|
2106 |
+
}, {
|
2107 |
+
row: 1,
|
2108 |
+
value: "#",
|
2109 |
+
page: 1
|
2110 |
+
}, {
|
2111 |
+
row: 1,
|
2112 |
+
value: "$",
|
2113 |
+
page: 1
|
2114 |
+
}, {
|
2115 |
+
row: 1,
|
2116 |
+
value: "%",
|
2117 |
+
page: 1
|
2118 |
+
}, {
|
2119 |
+
row: 1,
|
2120 |
+
value: "^",
|
2121 |
+
page: 1
|
2122 |
+
}, {
|
2123 |
+
row: 1,
|
2124 |
+
value: "&",
|
2125 |
+
page: 1
|
2126 |
+
}, {
|
2127 |
+
row: 1,
|
2128 |
+
value: "*",
|
2129 |
+
page: 1
|
2130 |
+
}, {
|
2131 |
+
row: 1,
|
2132 |
+
value: "(",
|
2133 |
+
page: 1
|
2134 |
+
}, {
|
2135 |
+
row: 1,
|
2136 |
+
value: ")",
|
2137 |
+
page: 1
|
2138 |
+
}, {
|
2139 |
+
row: 2,
|
2140 |
+
value: "-",
|
2141 |
+
page: 1
|
2142 |
+
}, {
|
2143 |
+
row: 2,
|
2144 |
+
value: "_",
|
2145 |
+
page: 1
|
2146 |
+
}, {
|
2147 |
+
row: 2,
|
2148 |
+
value: "=",
|
2149 |
+
page: 1
|
2150 |
+
}, {
|
2151 |
+
row: 2,
|
2152 |
+
value: "+",
|
2153 |
+
page: 1
|
2154 |
+
}, {
|
2155 |
+
row: 2,
|
2156 |
+
value: ";",
|
2157 |
+
page: 1
|
2158 |
+
}, {
|
2159 |
+
row: 2,
|
2160 |
+
value: ":",
|
2161 |
+
page: 1
|
2162 |
+
}, {
|
2163 |
+
row: 2,
|
2164 |
+
value: "'",
|
2165 |
+
page: 1
|
2166 |
+
}, {
|
2167 |
+
row: 2,
|
2168 |
+
value: '"',
|
2169 |
+
page: 1
|
2170 |
+
}, {
|
2171 |
+
row: 2,
|
2172 |
+
value: "<",
|
2173 |
+
page: 1
|
2174 |
+
}, {
|
2175 |
+
row: 2,
|
2176 |
+
value: ">",
|
2177 |
+
page: 1
|
2178 |
+
}, {
|
2179 |
+
row: 3,
|
2180 |
+
value: "Page0",
|
2181 |
+
page: 1
|
2182 |
+
}, {
|
2183 |
+
row: 3,
|
2184 |
+
value: "/",
|
2185 |
+
page: 1
|
2186 |
+
}, {
|
2187 |
+
row: 3,
|
2188 |
+
value: "?",
|
2189 |
+
page: 1
|
2190 |
+
}, {
|
2191 |
+
row: 3,
|
2192 |
+
value: "[",
|
2193 |
+
page: 1
|
2194 |
+
}, {
|
2195 |
+
row: 3,
|
2196 |
+
value: "]",
|
2197 |
+
page: 1
|
2198 |
+
}, {
|
2199 |
+
row: 3,
|
2200 |
+
value: "{",
|
2201 |
+
page: 1
|
2202 |
+
}, {
|
2203 |
+
row: 3,
|
2204 |
+
value: "}",
|
2205 |
+
page: 1
|
2206 |
+
}, {
|
2207 |
+
row: 3,
|
2208 |
+
value: "|",
|
2209 |
+
page: 1
|
2210 |
+
}, {
|
2211 |
+
row: 3,
|
2212 |
+
value: "\\",
|
2213 |
+
page: 1
|
2214 |
+
}, {
|
2215 |
+
row: 3,
|
2216 |
+
value: "~",
|
2217 |
+
page: 1
|
2218 |
+
}], mo = [{
|
2219 |
+
row: 0,
|
2220 |
+
value: "q"
|
2221 |
+
}, {
|
2222 |
+
row: 0,
|
2223 |
+
value: "w"
|
2224 |
+
}, {
|
2225 |
+
row: 0,
|
2226 |
+
value: "e"
|
2227 |
+
}, {
|
2228 |
+
row: 0,
|
2229 |
+
value: "r"
|
2230 |
+
}, {
|
2231 |
+
row: 0,
|
2232 |
+
value: "t"
|
2233 |
+
}, {
|
2234 |
+
row: 0,
|
2235 |
+
value: "y"
|
2236 |
+
}, {
|
2237 |
+
row: 0,
|
2238 |
+
value: "u"
|
2239 |
+
}, {
|
2240 |
+
row: 0,
|
2241 |
+
value: "i"
|
2242 |
+
}, {
|
2243 |
+
row: 0,
|
2244 |
+
value: "o"
|
2245 |
+
}, {
|
2246 |
+
row: 0,
|
2247 |
+
value: "p"
|
2248 |
+
}, {
|
2249 |
+
row: 1,
|
2250 |
+
value: "a"
|
2251 |
+
}, {
|
2252 |
+
row: 1,
|
2253 |
+
value: "s"
|
2254 |
+
}, {
|
2255 |
+
row: 1,
|
2256 |
+
value: "d"
|
2257 |
+
}, {
|
2258 |
+
row: 1,
|
2259 |
+
value: "f"
|
2260 |
+
}, {
|
2261 |
+
row: 1,
|
2262 |
+
value: "g"
|
2263 |
+
}, {
|
2264 |
+
row: 1,
|
2265 |
+
value: "h"
|
2266 |
+
}, {
|
2267 |
+
row: 1,
|
2268 |
+
value: "j"
|
2269 |
+
}, {
|
2270 |
+
row: 1,
|
2271 |
+
value: "k"
|
2272 |
+
}, {
|
2273 |
+
row: 1,
|
2274 |
+
value: "l"
|
2275 |
+
}, {
|
2276 |
+
row: 2,
|
2277 |
+
value: "z"
|
2278 |
+
}, {
|
2279 |
+
row: 2,
|
2280 |
+
value: "x"
|
2281 |
+
}, {
|
2282 |
+
row: 2,
|
2283 |
+
value: "c"
|
2284 |
+
}, {
|
2285 |
+
row: 2,
|
2286 |
+
value: "v"
|
2287 |
+
}, {
|
2288 |
+
row: 2,
|
2289 |
+
value: "b"
|
2290 |
+
}, {
|
2291 |
+
row: 2,
|
2292 |
+
value: "n"
|
2293 |
+
}, {
|
2294 |
+
row: 2,
|
2295 |
+
value: "m"
|
2296 |
+
}, {
|
2297 |
+
row: 2,
|
2298 |
+
value: "Backspace"
|
2299 |
+
}], po = [{
|
2300 |
+
row: 0,
|
2301 |
+
value: "q"
|
2302 |
+
}, {
|
2303 |
+
row: 0,
|
2304 |
+
value: "w"
|
2305 |
+
}, {
|
2306 |
+
row: 0,
|
2307 |
+
value: "e"
|
2308 |
+
}, {
|
2309 |
+
row: 0,
|
2310 |
+
value: "r"
|
2311 |
+
}, {
|
2312 |
+
row: 0,
|
2313 |
+
value: "t"
|
2314 |
+
}, {
|
2315 |
+
row: 0,
|
2316 |
+
value: "y"
|
2317 |
+
}, {
|
2318 |
+
row: 0,
|
2319 |
+
value: "u"
|
2320 |
+
}, {
|
2321 |
+
row: 0,
|
2322 |
+
value: "i"
|
2323 |
+
}, {
|
2324 |
+
row: 0,
|
2325 |
+
value: "o"
|
2326 |
+
}, {
|
2327 |
+
row: 0,
|
2328 |
+
value: "p"
|
2329 |
+
}, {
|
2330 |
+
row: 1,
|
2331 |
+
value: "a"
|
2332 |
+
}, {
|
2333 |
+
row: 1,
|
2334 |
+
value: "s"
|
2335 |
+
}, {
|
2336 |
+
row: 1,
|
2337 |
+
value: "d"
|
2338 |
+
}, {
|
2339 |
+
row: 1,
|
2340 |
+
value: "f"
|
2341 |
+
}, {
|
2342 |
+
row: 1,
|
2343 |
+
value: "g"
|
2344 |
+
}, {
|
2345 |
+
row: 1,
|
2346 |
+
value: "h"
|
2347 |
+
}, {
|
2348 |
+
row: 1,
|
2349 |
+
value: "j"
|
2350 |
+
}, {
|
2351 |
+
row: 1,
|
2352 |
+
value: "k"
|
2353 |
+
}, {
|
2354 |
+
row: 1,
|
2355 |
+
value: "l"
|
2356 |
+
}, {
|
2357 |
+
row: 2,
|
2358 |
+
value: "Enter"
|
2359 |
+
}, {
|
2360 |
+
row: 2,
|
2361 |
+
value: "z"
|
2362 |
+
}, {
|
2363 |
+
row: 2,
|
2364 |
+
value: "x"
|
2365 |
+
}, {
|
2366 |
+
row: 2,
|
2367 |
+
value: "c"
|
2368 |
+
}, {
|
2369 |
+
row: 2,
|
2370 |
+
value: "v"
|
2371 |
+
}, {
|
2372 |
+
row: 2,
|
2373 |
+
value: "b"
|
2374 |
+
}, {
|
2375 |
+
row: 2,
|
2376 |
+
value: "n"
|
2377 |
+
}, {
|
2378 |
+
row: 2,
|
2379 |
+
value: "m"
|
2380 |
+
}, {
|
2381 |
+
row: 2,
|
2382 |
+
value: "Backspace"
|
2383 |
+
}], bo = [{
|
2384 |
+
row: 0,
|
2385 |
+
value: "a"
|
2386 |
+
}, {
|
2387 |
+
row: 0,
|
2388 |
+
value: "z"
|
2389 |
+
}, {
|
2390 |
+
row: 0,
|
2391 |
+
value: "e"
|
2392 |
+
}, {
|
2393 |
+
row: 0,
|
2394 |
+
value: "r"
|
2395 |
+
}, {
|
2396 |
+
row: 0,
|
2397 |
+
value: "t"
|
2398 |
+
}, {
|
2399 |
+
row: 0,
|
2400 |
+
value: "y"
|
2401 |
+
}, {
|
2402 |
+
row: 0,
|
2403 |
+
value: "u"
|
2404 |
+
}, {
|
2405 |
+
row: 0,
|
2406 |
+
value: "i"
|
2407 |
+
}, {
|
2408 |
+
row: 0,
|
2409 |
+
value: "o"
|
2410 |
+
}, {
|
2411 |
+
row: 0,
|
2412 |
+
value: "p"
|
2413 |
+
}, {
|
2414 |
+
row: 1,
|
2415 |
+
value: "q"
|
2416 |
+
}, {
|
2417 |
+
row: 1,
|
2418 |
+
value: "s"
|
2419 |
+
}, {
|
2420 |
+
row: 1,
|
2421 |
+
value: "d"
|
2422 |
+
}, {
|
2423 |
+
row: 1,
|
2424 |
+
value: "f"
|
2425 |
+
}, {
|
2426 |
+
row: 1,
|
2427 |
+
value: "g"
|
2428 |
+
}, {
|
2429 |
+
row: 1,
|
2430 |
+
value: "h"
|
2431 |
+
}, {
|
2432 |
+
row: 1,
|
2433 |
+
value: "j"
|
2434 |
+
}, {
|
2435 |
+
row: 1,
|
2436 |
+
value: "k"
|
2437 |
+
}, {
|
2438 |
+
row: 1,
|
2439 |
+
value: "l"
|
2440 |
+
}, {
|
2441 |
+
row: 1,
|
2442 |
+
value: "m"
|
2443 |
+
}, {
|
2444 |
+
row: 2,
|
2445 |
+
value: "Shift"
|
2446 |
+
}, {
|
2447 |
+
row: 2,
|
2448 |
+
value: "w"
|
2449 |
+
}, {
|
2450 |
+
row: 2,
|
2451 |
+
value: "x"
|
2452 |
+
}, {
|
2453 |
+
row: 2,
|
2454 |
+
value: "c"
|
2455 |
+
}, {
|
2456 |
+
row: 2,
|
2457 |
+
value: "v"
|
2458 |
+
}, {
|
2459 |
+
row: 2,
|
2460 |
+
value: "b"
|
2461 |
+
}, {
|
2462 |
+
row: 2,
|
2463 |
+
value: "n"
|
2464 |
+
}, {
|
2465 |
+
row: 2,
|
2466 |
+
value: "Backspace"
|
2467 |
+
}, {
|
2468 |
+
row: 3,
|
2469 |
+
value: "Page1"
|
2470 |
+
}, {
|
2471 |
+
row: 3,
|
2472 |
+
value: ","
|
2473 |
+
}, {
|
2474 |
+
row: 3,
|
2475 |
+
value: "Space"
|
2476 |
+
}, {
|
2477 |
+
row: 3,
|
2478 |
+
value: "."
|
2479 |
+
}, {
|
2480 |
+
row: 3,
|
2481 |
+
value: "Enter"
|
2482 |
+
}, {
|
2483 |
+
row: 0,
|
2484 |
+
value: "1",
|
2485 |
+
page: 1
|
2486 |
+
}, {
|
2487 |
+
row: 0,
|
2488 |
+
value: "2",
|
2489 |
+
page: 1
|
2490 |
+
}, {
|
2491 |
+
row: 0,
|
2492 |
+
value: "3",
|
2493 |
+
page: 1
|
2494 |
+
}, {
|
2495 |
+
row: 0,
|
2496 |
+
value: "4",
|
2497 |
+
page: 1
|
2498 |
+
}, {
|
2499 |
+
row: 0,
|
2500 |
+
value: "5",
|
2501 |
+
page: 1
|
2502 |
+
}, {
|
2503 |
+
row: 0,
|
2504 |
+
value: "6",
|
2505 |
+
page: 1
|
2506 |
+
}, {
|
2507 |
+
row: 0,
|
2508 |
+
value: "7",
|
2509 |
+
page: 1
|
2510 |
+
}, {
|
2511 |
+
row: 0,
|
2512 |
+
value: "8",
|
2513 |
+
page: 1
|
2514 |
+
}, {
|
2515 |
+
row: 0,
|
2516 |
+
value: "9",
|
2517 |
+
page: 1
|
2518 |
+
}, {
|
2519 |
+
row: 0,
|
2520 |
+
value: "0",
|
2521 |
+
page: 1
|
2522 |
+
}, {
|
2523 |
+
row: 1,
|
2524 |
+
value: "!",
|
2525 |
+
page: 1
|
2526 |
+
}, {
|
2527 |
+
row: 1,
|
2528 |
+
value: "@",
|
2529 |
+
page: 1
|
2530 |
+
}, {
|
2531 |
+
row: 1,
|
2532 |
+
value: "#",
|
2533 |
+
page: 1
|
2534 |
+
}, {
|
2535 |
+
row: 1,
|
2536 |
+
value: "$",
|
2537 |
+
page: 1
|
2538 |
+
}, {
|
2539 |
+
row: 1,
|
2540 |
+
value: "%",
|
2541 |
+
page: 1
|
2542 |
+
}, {
|
2543 |
+
row: 1,
|
2544 |
+
value: "^",
|
2545 |
+
page: 1
|
2546 |
+
}, {
|
2547 |
+
row: 1,
|
2548 |
+
value: "&",
|
2549 |
+
page: 1
|
2550 |
+
}, {
|
2551 |
+
row: 1,
|
2552 |
+
value: "*",
|
2553 |
+
page: 1
|
2554 |
+
}, {
|
2555 |
+
row: 1,
|
2556 |
+
value: "(",
|
2557 |
+
page: 1
|
2558 |
+
}, {
|
2559 |
+
row: 1,
|
2560 |
+
value: ")",
|
2561 |
+
page: 1
|
2562 |
+
}, {
|
2563 |
+
row: 2,
|
2564 |
+
value: "-",
|
2565 |
+
page: 1
|
2566 |
+
}, {
|
2567 |
+
row: 2,
|
2568 |
+
value: "_",
|
2569 |
+
page: 1
|
2570 |
+
}, {
|
2571 |
+
row: 2,
|
2572 |
+
value: "=",
|
2573 |
+
page: 1
|
2574 |
+
}, {
|
2575 |
+
row: 2,
|
2576 |
+
value: "+",
|
2577 |
+
page: 1
|
2578 |
+
}, {
|
2579 |
+
row: 2,
|
2580 |
+
value: ";",
|
2581 |
+
page: 1
|
2582 |
+
}, {
|
2583 |
+
row: 2,
|
2584 |
+
value: ":",
|
2585 |
+
page: 1
|
2586 |
+
}, {
|
2587 |
+
row: 2,
|
2588 |
+
value: "'",
|
2589 |
+
page: 1
|
2590 |
+
}, {
|
2591 |
+
row: 2,
|
2592 |
+
value: '"',
|
2593 |
+
page: 1
|
2594 |
+
}, {
|
2595 |
+
row: 2,
|
2596 |
+
value: "<",
|
2597 |
+
page: 1
|
2598 |
+
}, {
|
2599 |
+
row: 2,
|
2600 |
+
value: ">",
|
2601 |
+
page: 1
|
2602 |
+
}, {
|
2603 |
+
row: 3,
|
2604 |
+
value: "Page0",
|
2605 |
+
page: 1
|
2606 |
+
}, {
|
2607 |
+
row: 3,
|
2608 |
+
value: "/",
|
2609 |
+
page: 1
|
2610 |
+
}, {
|
2611 |
+
row: 3,
|
2612 |
+
value: "?",
|
2613 |
+
page: 1
|
2614 |
+
}, {
|
2615 |
+
row: 3,
|
2616 |
+
value: "[",
|
2617 |
+
page: 1
|
2618 |
+
}, {
|
2619 |
+
row: 3,
|
2620 |
+
value: "]",
|
2621 |
+
page: 1
|
2622 |
+
}, {
|
2623 |
+
row: 3,
|
2624 |
+
value: "{",
|
2625 |
+
page: 1
|
2626 |
+
}, {
|
2627 |
+
row: 3,
|
2628 |
+
value: "}",
|
2629 |
+
page: 1
|
2630 |
+
}, {
|
2631 |
+
row: 3,
|
2632 |
+
value: "|",
|
2633 |
+
page: 1
|
2634 |
+
}, {
|
2635 |
+
row: 3,
|
2636 |
+
value: "\\",
|
2637 |
+
page: 1
|
2638 |
+
}, {
|
2639 |
+
row: 3,
|
2640 |
+
value: "~",
|
2641 |
+
page: 1
|
2642 |
+
}], ho = [{
|
2643 |
+
row: 0,
|
2644 |
+
value: "a"
|
2645 |
+
}, {
|
2646 |
+
row: 0,
|
2647 |
+
value: "z"
|
2648 |
+
}, {
|
2649 |
+
row: 0,
|
2650 |
+
value: "e"
|
2651 |
+
}, {
|
2652 |
+
row: 0,
|
2653 |
+
value: "r"
|
2654 |
+
}, {
|
2655 |
+
row: 0,
|
2656 |
+
value: "t"
|
2657 |
+
}, {
|
2658 |
+
row: 0,
|
2659 |
+
value: "y"
|
2660 |
+
}, {
|
2661 |
+
row: 0,
|
2662 |
+
value: "u"
|
2663 |
+
}, {
|
2664 |
+
row: 0,
|
2665 |
+
value: "i"
|
2666 |
+
}, {
|
2667 |
+
row: 0,
|
2668 |
+
value: "o"
|
2669 |
+
}, {
|
2670 |
+
row: 0,
|
2671 |
+
value: "p"
|
2672 |
+
}, {
|
2673 |
+
row: 1,
|
2674 |
+
value: "q"
|
2675 |
+
}, {
|
2676 |
+
row: 1,
|
2677 |
+
value: "s"
|
2678 |
+
}, {
|
2679 |
+
row: 1,
|
2680 |
+
value: "d"
|
2681 |
+
}, {
|
2682 |
+
row: 1,
|
2683 |
+
value: "f"
|
2684 |
+
}, {
|
2685 |
+
row: 1,
|
2686 |
+
value: "g"
|
2687 |
+
}, {
|
2688 |
+
row: 1,
|
2689 |
+
value: "h"
|
2690 |
+
}, {
|
2691 |
+
row: 1,
|
2692 |
+
value: "j"
|
2693 |
+
}, {
|
2694 |
+
row: 1,
|
2695 |
+
value: "k"
|
2696 |
+
}, {
|
2697 |
+
row: 1,
|
2698 |
+
value: "l"
|
2699 |
+
}, {
|
2700 |
+
row: 1,
|
2701 |
+
value: "m"
|
2702 |
+
}, {
|
2703 |
+
row: 2,
|
2704 |
+
value: "w"
|
2705 |
+
}, {
|
2706 |
+
row: 2,
|
2707 |
+
value: "x"
|
2708 |
+
}, {
|
2709 |
+
row: 2,
|
2710 |
+
value: "c"
|
2711 |
+
}, {
|
2712 |
+
row: 2,
|
2713 |
+
value: "v"
|
2714 |
+
}, {
|
2715 |
+
row: 2,
|
2716 |
+
value: "b"
|
2717 |
+
}, {
|
2718 |
+
row: 2,
|
2719 |
+
value: "n"
|
2720 |
+
}, {
|
2721 |
+
row: 2,
|
2722 |
+
value: "Backspace"
|
2723 |
+
}], yo = [{
|
2724 |
+
row: 0,
|
2725 |
+
value: "a"
|
2726 |
+
}, {
|
2727 |
+
row: 0,
|
2728 |
+
value: "z"
|
2729 |
+
}, {
|
2730 |
+
row: 0,
|
2731 |
+
value: "e"
|
2732 |
+
}, {
|
2733 |
+
row: 0,
|
2734 |
+
value: "r"
|
2735 |
+
}, {
|
2736 |
+
row: 0,
|
2737 |
+
value: "t"
|
2738 |
+
}, {
|
2739 |
+
row: 0,
|
2740 |
+
value: "y"
|
2741 |
+
}, {
|
2742 |
+
row: 0,
|
2743 |
+
value: "u"
|
2744 |
+
}, {
|
2745 |
+
row: 0,
|
2746 |
+
value: "i"
|
2747 |
+
}, {
|
2748 |
+
row: 0,
|
2749 |
+
value: "o"
|
2750 |
+
}, {
|
2751 |
+
row: 0,
|
2752 |
+
value: "p"
|
2753 |
+
}, {
|
2754 |
+
row: 1,
|
2755 |
+
value: "q"
|
2756 |
+
}, {
|
2757 |
+
row: 1,
|
2758 |
+
value: "s"
|
2759 |
+
}, {
|
2760 |
+
row: 1,
|
2761 |
+
value: "d"
|
2762 |
+
}, {
|
2763 |
+
row: 1,
|
2764 |
+
value: "f"
|
2765 |
+
}, {
|
2766 |
+
row: 1,
|
2767 |
+
value: "g"
|
2768 |
+
}, {
|
2769 |
+
row: 1,
|
2770 |
+
value: "h"
|
2771 |
+
}, {
|
2772 |
+
row: 1,
|
2773 |
+
value: "j"
|
2774 |
+
}, {
|
2775 |
+
row: 1,
|
2776 |
+
value: "k"
|
2777 |
+
}, {
|
2778 |
+
row: 1,
|
2779 |
+
value: "l"
|
2780 |
+
}, {
|
2781 |
+
row: 1,
|
2782 |
+
value: "m"
|
2783 |
+
}, {
|
2784 |
+
row: 2,
|
2785 |
+
value: "Enter"
|
2786 |
+
}, {
|
2787 |
+
row: 2,
|
2788 |
+
value: "w"
|
2789 |
+
}, {
|
2790 |
+
row: 2,
|
2791 |
+
value: "x"
|
2792 |
+
}, {
|
2793 |
+
row: 2,
|
2794 |
+
value: "c"
|
2795 |
+
}, {
|
2796 |
+
row: 2,
|
2797 |
+
value: "v"
|
2798 |
+
}, {
|
2799 |
+
row: 2,
|
2800 |
+
value: "b"
|
2801 |
+
}, {
|
2802 |
+
row: 2,
|
2803 |
+
value: "n"
|
2804 |
+
}, {
|
2805 |
+
row: 2,
|
2806 |
+
value: "Backspace"
|
2807 |
+
}], ko = '<svg width="1em" height="1em" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-delete"><path d="M21 4H8l-7 8 7 8h13a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2z"></path><line x1="18" y1="9" x2="12" y2="15"></line><line x1="12" y1="9" x2="18" y2="15"></line></svg>', qo = '<svg width="1em" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-corner-down-left"><polyline points="9 10 4 15 9 20"></polyline><path d="M20 4v7a4 4 0 0 1-4 4H4"></path></svg>';
|
2808 |
+
const {
|
2809 |
+
HtmlTag: So,
|
2810 |
+
SvelteComponent: Co,
|
2811 |
+
append: zo,
|
2812 |
+
attr: oe,
|
2813 |
+
destroy_each: Me,
|
2814 |
+
detach: se,
|
2815 |
+
element: Ce,
|
2816 |
+
empty: Lo,
|
2817 |
+
ensure_array_like: re,
|
2818 |
+
init: Fo,
|
2819 |
+
insert: ue,
|
2820 |
+
listen: ve,
|
2821 |
+
noop: ul,
|
2822 |
+
run_all: jo,
|
2823 |
+
safe_not_equal: Po,
|
2824 |
+
set_data: Vo,
|
2825 |
+
space: Bo,
|
2826 |
+
text: Mo,
|
2827 |
+
toggle_class: ee
|
2828 |
+
} = window.__gradio__svelte__internal, { createEventDispatcher: No } = window.__gradio__svelte__internal;
|
2829 |
+
function fl(o, e, l) {
|
2830 |
+
const t = o.slice();
|
2831 |
+
return t[27] = e[l], t[29] = l, t;
|
2832 |
+
}
|
2833 |
+
function _l(o, e, l) {
|
2834 |
+
const t = o.slice();
|
2835 |
+
return t[30] = e[l], t;
|
2836 |
+
}
|
2837 |
+
function cl(o, e, l) {
|
2838 |
+
const t = o.slice();
|
2839 |
+
return t[33] = e[l].value, t[34] = e[l].display, t;
|
2840 |
+
}
|
2841 |
+
function Eo(o) {
|
2842 |
+
let e = (
|
2843 |
+
/*display*/
|
2844 |
+
o[34] + ""
|
2845 |
+
), l;
|
2846 |
+
return {
|
2847 |
+
c() {
|
2848 |
+
l = Mo(e);
|
2849 |
+
},
|
2850 |
+
m(t, a) {
|
2851 |
+
ue(t, l, a);
|
2852 |
+
},
|
2853 |
+
p(t, a) {
|
2854 |
+
a[0] & /*rowData*/
|
2855 |
+
8 && e !== (e = /*display*/
|
2856 |
+
t[34] + "") && Vo(l, e);
|
2857 |
+
},
|
2858 |
+
d(t) {
|
2859 |
+
t && se(l);
|
2860 |
+
}
|
2861 |
+
};
|
2862 |
+
}
|
2863 |
+
function Do(o) {
|
2864 |
+
let e, l = (
|
2865 |
+
/*display*/
|
2866 |
+
o[34] + ""
|
2867 |
+
), t;
|
2868 |
+
return {
|
2869 |
+
c() {
|
2870 |
+
e = new So(!1), t = Lo(), e.a = t;
|
2871 |
+
},
|
2872 |
+
m(a, n) {
|
2873 |
+
e.m(l, a, n), ue(a, t, n);
|
2874 |
+
},
|
2875 |
+
p(a, n) {
|
2876 |
+
n[0] & /*rowData*/
|
2877 |
+
8 && l !== (l = /*display*/
|
2878 |
+
a[34] + "") && e.p(l);
|
2879 |
+
},
|
2880 |
+
d(a) {
|
2881 |
+
a && (se(t), e.d());
|
2882 |
+
}
|
2883 |
+
};
|
2884 |
+
}
|
2885 |
+
function dl(o) {
|
2886 |
+
let e, l, t, a, n;
|
2887 |
+
function r(d, _) {
|
2888 |
+
return _[0] & /*rowData*/
|
2889 |
+
8 && (l = null), l == null && (l = !!/*display*/
|
2890 |
+
d[34].includes("<svg")), l ? Do : Eo;
|
2891 |
+
}
|
2892 |
+
let i = r(o, [-1, -1]), s = i(o);
|
2893 |
+
function u(...d) {
|
2894 |
+
return (
|
2895 |
+
/*touchstart_handler*/
|
2896 |
+
o[19](
|
2897 |
+
/*value*/
|
2898 |
+
o[33],
|
2899 |
+
...d
|
2900 |
+
)
|
2901 |
+
);
|
2902 |
+
}
|
2903 |
+
function f(...d) {
|
2904 |
+
return (
|
2905 |
+
/*mousedown_handler*/
|
2906 |
+
o[20](
|
2907 |
+
/*value*/
|
2908 |
+
o[33],
|
2909 |
+
...d
|
2910 |
+
)
|
2911 |
+
);
|
2912 |
+
}
|
2913 |
+
function v() {
|
2914 |
+
return (
|
2915 |
+
/*touchend_handler*/
|
2916 |
+
o[21](
|
2917 |
+
/*value*/
|
2918 |
+
o[33]
|
2919 |
+
)
|
2920 |
+
);
|
2921 |
+
}
|
2922 |
+
function h() {
|
2923 |
+
return (
|
2924 |
+
/*mouseup_handler*/
|
2925 |
+
o[22](
|
2926 |
+
/*value*/
|
2927 |
+
o[33]
|
2928 |
+
)
|
2929 |
+
);
|
2930 |
+
}
|
2931 |
+
return {
|
2932 |
+
c() {
|
2933 |
+
e = Ce("button"), s.c(), oe(e, "type", "button"), oe(e, "class", t = "key key--" + /*value*/
|
2934 |
+
o[33] + " " + /*keyClass*/
|
2935 |
+
(o[0][
|
2936 |
+
/*value*/
|
2937 |
+
o[33]
|
2938 |
+
] || "") + " svelte-1bx3au8"), ee(
|
2939 |
+
e,
|
2940 |
+
"single",
|
2941 |
+
/*value*/
|
2942 |
+
o[33].length === 1
|
2943 |
+
), ee(
|
2944 |
+
e,
|
2945 |
+
"active",
|
2946 |
+
/*value*/
|
2947 |
+
o[33] === /*active*/
|
2948 |
+
o[2]
|
2949 |
+
);
|
2950 |
+
},
|
2951 |
+
m(d, _) {
|
2952 |
+
ue(d, e, _), s.m(e, null), a || (n = [
|
2953 |
+
ve(e, "touchstart", u),
|
2954 |
+
ve(e, "mousedown", f),
|
2955 |
+
ve(e, "touchend", v, { passive: !0 }),
|
2956 |
+
ve(e, "mouseup", h)
|
2957 |
+
], a = !0);
|
2958 |
+
},
|
2959 |
+
p(d, _) {
|
2960 |
+
o = d, i === (i = r(o, _)) && s ? s.p(o, _) : (s.d(1), s = i(o), s && (s.c(), s.m(e, null))), _[0] & /*rowData, keyClass*/
|
2961 |
+
9 && t !== (t = "key key--" + /*value*/
|
2962 |
+
o[33] + " " + /*keyClass*/
|
2963 |
+
(o[0][
|
2964 |
+
/*value*/
|
2965 |
+
o[33]
|
2966 |
+
] || "") + " svelte-1bx3au8") && oe(e, "class", t), _[0] & /*rowData, keyClass, rowData*/
|
2967 |
+
9 && ee(
|
2968 |
+
e,
|
2969 |
+
"single",
|
2970 |
+
/*value*/
|
2971 |
+
o[33].length === 1
|
2972 |
+
), _[0] & /*rowData, keyClass, rowData, active*/
|
2973 |
+
13 && ee(
|
2974 |
+
e,
|
2975 |
+
"active",
|
2976 |
+
/*value*/
|
2977 |
+
o[33] === /*active*/
|
2978 |
+
o[2]
|
2979 |
+
);
|
2980 |
+
},
|
2981 |
+
d(d) {
|
2982 |
+
d && se(e), s.d(), a = !1, jo(n);
|
2983 |
+
}
|
2984 |
+
};
|
2985 |
+
}
|
2986 |
+
function wl(o) {
|
2987 |
+
let e, l = re(
|
2988 |
+
/*keys*/
|
2989 |
+
o[30]
|
2990 |
+
), t = [];
|
2991 |
+
for (let a = 0; a < l.length; a += 1)
|
2992 |
+
t[a] = dl(cl(o, l, a));
|
2993 |
+
return {
|
2994 |
+
c() {
|
2995 |
+
e = Ce("div");
|
2996 |
+
for (let a = 0; a < t.length; a += 1)
|
2997 |
+
t[a].c();
|
2998 |
+
oe(e, "class", "row row--" + /*i*/
|
2999 |
+
o[29] + " svelte-1bx3au8");
|
3000 |
+
},
|
3001 |
+
m(a, n) {
|
3002 |
+
ue(a, e, n);
|
3003 |
+
for (let r = 0; r < t.length; r += 1)
|
3004 |
+
t[r] && t[r].m(e, null);
|
3005 |
+
},
|
3006 |
+
p(a, n) {
|
3007 |
+
if (n[0] & /*rowData, keyClass, active, onKeyStart, onKeyEnd*/
|
3008 |
+
61) {
|
3009 |
+
l = re(
|
3010 |
+
/*keys*/
|
3011 |
+
a[30]
|
3012 |
+
);
|
3013 |
+
let r;
|
3014 |
+
for (r = 0; r < l.length; r += 1) {
|
3015 |
+
const i = cl(a, l, r);
|
3016 |
+
t[r] ? t[r].p(i, n) : (t[r] = dl(i), t[r].c(), t[r].m(e, null));
|
3017 |
+
}
|
3018 |
+
for (; r < t.length; r += 1)
|
3019 |
+
t[r].d(1);
|
3020 |
+
t.length = l.length;
|
3021 |
+
}
|
3022 |
+
},
|
3023 |
+
d(a) {
|
3024 |
+
a && se(e), Me(t, a);
|
3025 |
+
}
|
3026 |
+
};
|
3027 |
+
}
|
3028 |
+
function vl(o) {
|
3029 |
+
let e, l, t = re(
|
3030 |
+
/*row*/
|
3031 |
+
o[27]
|
3032 |
+
), a = [];
|
3033 |
+
for (let n = 0; n < t.length; n += 1)
|
3034 |
+
a[n] = wl(_l(o, t, n));
|
3035 |
+
return {
|
3036 |
+
c() {
|
3037 |
+
e = Ce("div");
|
3038 |
+
for (let n = 0; n < a.length; n += 1)
|
3039 |
+
a[n].c();
|
3040 |
+
l = Bo(), oe(e, "class", "page svelte-1bx3au8"), ee(
|
3041 |
+
e,
|
3042 |
+
"visible",
|
3043 |
+
/*i*/
|
3044 |
+
o[29] === /*page*/
|
3045 |
+
o[1]
|
3046 |
+
);
|
3047 |
+
},
|
3048 |
+
m(n, r) {
|
3049 |
+
ue(n, e, r);
|
3050 |
+
for (let i = 0; i < a.length; i += 1)
|
3051 |
+
a[i] && a[i].m(e, null);
|
3052 |
+
zo(e, l);
|
3053 |
+
},
|
3054 |
+
p(n, r) {
|
3055 |
+
if (r[0] & /*rowData, keyClass, active, onKeyStart, onKeyEnd*/
|
3056 |
+
61) {
|
3057 |
+
t = re(
|
3058 |
+
/*row*/
|
3059 |
+
n[27]
|
3060 |
+
);
|
3061 |
+
let i;
|
3062 |
+
for (i = 0; i < t.length; i += 1) {
|
3063 |
+
const s = _l(n, t, i);
|
3064 |
+
a[i] ? a[i].p(s, r) : (a[i] = wl(s), a[i].c(), a[i].m(e, l));
|
3065 |
+
}
|
3066 |
+
for (; i < a.length; i += 1)
|
3067 |
+
a[i].d(1);
|
3068 |
+
a.length = t.length;
|
3069 |
+
}
|
3070 |
+
r[0] & /*page*/
|
3071 |
+
2 && ee(
|
3072 |
+
e,
|
3073 |
+
"visible",
|
3074 |
+
/*i*/
|
3075 |
+
n[29] === /*page*/
|
3076 |
+
n[1]
|
3077 |
+
);
|
3078 |
+
},
|
3079 |
+
d(n) {
|
3080 |
+
n && se(e), Me(a, n);
|
3081 |
+
}
|
3082 |
+
};
|
3083 |
+
}
|
3084 |
+
function To(o) {
|
3085 |
+
let e, l = re(
|
3086 |
+
/*rowData*/
|
3087 |
+
o[3]
|
3088 |
+
), t = [];
|
3089 |
+
for (let a = 0; a < l.length; a += 1)
|
3090 |
+
t[a] = vl(fl(o, l, a));
|
3091 |
+
return {
|
3092 |
+
c() {
|
3093 |
+
e = Ce("div");
|
3094 |
+
for (let a = 0; a < t.length; a += 1)
|
3095 |
+
t[a].c();
|
3096 |
+
oe(e, "class", "svelte-keyboard");
|
3097 |
+
},
|
3098 |
+
m(a, n) {
|
3099 |
+
ue(a, e, n);
|
3100 |
+
for (let r = 0; r < t.length; r += 1)
|
3101 |
+
t[r] && t[r].m(e, null);
|
3102 |
+
},
|
3103 |
+
p(a, n) {
|
3104 |
+
if (n[0] & /*page, rowData, keyClass, active, onKeyStart, onKeyEnd*/
|
3105 |
+
63) {
|
3106 |
+
l = re(
|
3107 |
+
/*rowData*/
|
3108 |
+
a[3]
|
3109 |
+
);
|
3110 |
+
let r;
|
3111 |
+
for (r = 0; r < l.length; r += 1) {
|
3112 |
+
const i = fl(a, l, r);
|
3113 |
+
t[r] ? t[r].p(i, n) : (t[r] = vl(i), t[r].c(), t[r].m(e, null));
|
3114 |
+
}
|
3115 |
+
for (; r < t.length; r += 1)
|
3116 |
+
t[r].d(1);
|
3117 |
+
t.length = l.length;
|
3118 |
+
}
|
3119 |
+
},
|
3120 |
+
i: ul,
|
3121 |
+
o: ul,
|
3122 |
+
d(a) {
|
3123 |
+
a && se(e), Me(t, a);
|
3124 |
+
}
|
3125 |
+
};
|
3126 |
+
}
|
3127 |
+
const Zo = "abcdefghijklmnopqrstuvwxyz";
|
3128 |
+
function Ao(o, e, l) {
|
3129 |
+
let t, a, n, r, i, s, u, f, v, { custom: h } = e, { localizationLayout: d = "qwerty" } = e, { layout: _ = "standard" } = e, { noSwap: b = [] } = e, { keyClass: y = {} } = e, F = 0, L = !1, c;
|
3130 |
+
const z = {
|
3131 |
+
qwerty: {
|
3132 |
+
standard: go,
|
3133 |
+
crossword: mo,
|
3134 |
+
wordle: po
|
3135 |
+
},
|
3136 |
+
azerty: {
|
3137 |
+
standard: bo,
|
3138 |
+
crossword: ho,
|
3139 |
+
wordle: yo
|
3140 |
+
}
|
3141 |
+
}, m = No(), O = {
|
3142 |
+
Page0: "abc",
|
3143 |
+
Page1: "?123",
|
3144 |
+
Space: " ",
|
3145 |
+
Shift: "abc",
|
3146 |
+
Enter: qo,
|
3147 |
+
Backspace: ko
|
3148 |
+
}, p = (w) => [...new Set(w)], I = (w, S) => {
|
3149 |
+
if (w.preventDefault(), l(2, c = S), S.includes("Page"))
|
3150 |
+
l(1, F = +S.substr(-1));
|
3151 |
+
else if (S === "Shift")
|
3152 |
+
l(10, L = !L);
|
3153 |
+
else {
|
3154 |
+
let T = S;
|
3155 |
+
L && Zo.includes(S) && (T = S.toUpperCase()), m("keydown", T);
|
3156 |
+
}
|
3157 |
+
return w.stopPropagation(), !1;
|
3158 |
+
}, H = (w) => {
|
3159 |
+
setTimeout(
|
3160 |
+
() => {
|
3161 |
+
w === c && l(2, c = void 0);
|
3162 |
+
},
|
3163 |
+
50
|
3164 |
+
);
|
3165 |
+
}, K = (w, S) => I(S, w), fe = (w, S) => I(S, w), ce = (w) => H(w), G = (w) => H(w);
|
3166 |
+
return o.$$set = (w) => {
|
3167 |
+
"custom" in w && l(6, h = w.custom), "localizationLayout" in w && l(7, d = w.localizationLayout), "layout" in w && l(8, _ = w.layout), "noSwap" in w && l(9, b = w.noSwap), "keyClass" in w && l(0, y = w.keyClass);
|
3168 |
+
}, o.$$.update = () => {
|
3169 |
+
o.$$.dirty[0] & /*custom, localizationLayout, layout*/
|
3170 |
+
448 && l(18, t = h || z[d][_] || standard), o.$$.dirty[0] & /*rawData, noSwap, shifted*/
|
3171 |
+
263680 && l(17, a = t.map((w) => {
|
3172 |
+
let S = w.display;
|
3173 |
+
const T = O[w.value];
|
3174 |
+
return T && !b.includes(w.value) && !w.noSwap && (S = T), S || (S = L ? w.value.toUpperCase() : w.value), w.value === "Shift" && (S = L ? T : T.toUpperCase()), { ...w, display: S };
|
3175 |
+
})), o.$$.dirty[0] & /*data*/
|
3176 |
+
131072 && l(15, n = a.filter((w) => !w.page)), o.$$.dirty[0] & /*data*/
|
3177 |
+
131072 && l(13, r = a.filter((w) => w.page)), o.$$.dirty[0] & /*page0*/
|
3178 |
+
32768 && l(14, i = p(n.map((w) => w.row))), o.$$.dirty[0] & /*rows0*/
|
3179 |
+
16384 && i.sort((w, S) => w - S), o.$$.dirty[0] & /*page1*/
|
3180 |
+
8192 && l(16, s = p(r.map((w) => w.row))), o.$$.dirty[0] & /*rows1*/
|
3181 |
+
65536 && s.sort((w, S) => w - S), o.$$.dirty[0] & /*rows0, page0*/
|
3182 |
+
49152 && l(12, u = i.map((w) => n.filter((S) => S.row === w))), o.$$.dirty[0] & /*rows0, page1*/
|
3183 |
+
24576 && l(11, f = i.map((w) => r.filter((S) => S.row === w))), o.$$.dirty[0] & /*rowData0, rowData1*/
|
3184 |
+
6144 && l(3, v = [u, f]);
|
3185 |
+
}, [
|
3186 |
+
y,
|
3187 |
+
F,
|
3188 |
+
c,
|
3189 |
+
v,
|
3190 |
+
I,
|
3191 |
+
H,
|
3192 |
+
h,
|
3193 |
+
d,
|
3194 |
+
_,
|
3195 |
+
b,
|
3196 |
+
L,
|
3197 |
+
f,
|
3198 |
+
u,
|
3199 |
+
r,
|
3200 |
+
i,
|
3201 |
+
n,
|
3202 |
+
s,
|
3203 |
+
a,
|
3204 |
+
t,
|
3205 |
+
K,
|
3206 |
+
fe,
|
3207 |
+
ce,
|
3208 |
+
G
|
3209 |
+
];
|
3210 |
+
}
|
3211 |
+
class Io extends Co {
|
3212 |
+
constructor(e) {
|
3213 |
+
super(), Fo(
|
3214 |
+
this,
|
3215 |
+
e,
|
3216 |
+
Ao,
|
3217 |
+
To,
|
3218 |
+
Po,
|
3219 |
+
{
|
3220 |
+
custom: 6,
|
3221 |
+
localizationLayout: 7,
|
3222 |
+
layout: 8,
|
3223 |
+
noSwap: 9,
|
3224 |
+
keyClass: 0
|
3225 |
+
},
|
3226 |
+
null,
|
3227 |
+
[-1, -1]
|
3228 |
+
);
|
3229 |
+
}
|
3230 |
+
}
|
3231 |
+
const Ko = [{
|
3232 |
+
row: 0,
|
3233 |
+
value: "q"
|
3234 |
+
}, {
|
3235 |
+
row: 0,
|
3236 |
+
value: "w"
|
3237 |
+
}, {
|
3238 |
+
row: 0,
|
3239 |
+
value: "e"
|
3240 |
+
}, {
|
3241 |
+
row: 0,
|
3242 |
+
value: "r"
|
3243 |
+
}, {
|
3244 |
+
row: 0,
|
3245 |
+
value: "t"
|
3246 |
+
}, {
|
3247 |
+
row: 0,
|
3248 |
+
value: "y"
|
3249 |
+
}, {
|
3250 |
+
row: 0,
|
3251 |
+
value: "u"
|
3252 |
+
}, {
|
3253 |
+
row: 0,
|
3254 |
+
value: "i"
|
3255 |
+
}, {
|
3256 |
+
row: 0,
|
3257 |
+
value: "ѳ"
|
3258 |
+
}, {
|
3259 |
+
row: 0,
|
3260 |
+
value: "p"
|
3261 |
+
}, {
|
3262 |
+
row: 1,
|
3263 |
+
value: "a"
|
3264 |
+
}, {
|
3265 |
+
row: 1,
|
3266 |
+
value: "s"
|
3267 |
+
}, {
|
3268 |
+
row: 1,
|
3269 |
+
value: "d"
|
3270 |
+
}, {
|
3271 |
+
row: 1,
|
3272 |
+
value: "f"
|
3273 |
+
}, {
|
3274 |
+
row: 1,
|
3275 |
+
value: "g"
|
3276 |
+
}, {
|
3277 |
+
row: 1,
|
3278 |
+
value: "h"
|
3279 |
+
}, {
|
3280 |
+
row: 1,
|
3281 |
+
value: "j"
|
3282 |
+
}, {
|
3283 |
+
row: 1,
|
3284 |
+
value: "k"
|
3285 |
+
}, {
|
3286 |
+
row: 1,
|
3287 |
+
value: "l"
|
3288 |
+
}, {
|
3289 |
+
row: 2,
|
3290 |
+
value: "Shift"
|
3291 |
+
}, {
|
3292 |
+
row: 2,
|
3293 |
+
value: "z"
|
3294 |
+
}, {
|
3295 |
+
row: 2,
|
3296 |
+
value: "x"
|
3297 |
+
}, {
|
3298 |
+
row: 2,
|
3299 |
+
value: "c"
|
3300 |
+
}, {
|
3301 |
+
row: 2,
|
3302 |
+
value: "v"
|
3303 |
+
}, {
|
3304 |
+
row: 2,
|
3305 |
+
value: "b"
|
3306 |
+
}, {
|
3307 |
+
row: 2,
|
3308 |
+
value: "n"
|
3309 |
+
}, {
|
3310 |
+
row: 2,
|
3311 |
+
value: "m"
|
3312 |
+
}, {
|
3313 |
+
row: 2,
|
3314 |
+
value: "Backspace"
|
3315 |
+
}, {
|
3316 |
+
row: 3,
|
3317 |
+
value: "Page1"
|
3318 |
+
}, {
|
3319 |
+
row: 3,
|
3320 |
+
value: ","
|
3321 |
+
}, {
|
3322 |
+
row: 3,
|
3323 |
+
value: "Space"
|
3324 |
+
}, {
|
3325 |
+
row: 3,
|
3326 |
+
value: "."
|
3327 |
+
}, {
|
3328 |
+
row: 3,
|
3329 |
+
value: "Enter"
|
3330 |
+
}, {
|
3331 |
+
row: 0,
|
3332 |
+
value: "1",
|
3333 |
+
page: 1
|
3334 |
+
}, {
|
3335 |
+
row: 0,
|
3336 |
+
value: "2",
|
3337 |
+
page: 1
|
3338 |
+
}, {
|
3339 |
+
row: 0,
|
3340 |
+
value: "3",
|
3341 |
+
page: 1
|
3342 |
+
}, {
|
3343 |
+
row: 0,
|
3344 |
+
value: "4",
|
3345 |
+
page: 1
|
3346 |
+
}, {
|
3347 |
+
row: 0,
|
3348 |
+
value: "5",
|
3349 |
+
page: 1
|
3350 |
+
}, {
|
3351 |
+
row: 0,
|
3352 |
+
value: "6",
|
3353 |
+
page: 1
|
3354 |
+
}, {
|
3355 |
+
row: 0,
|
3356 |
+
value: "7",
|
3357 |
+
page: 1
|
3358 |
+
}, {
|
3359 |
+
row: 0,
|
3360 |
+
value: "8",
|
3361 |
+
page: 1
|
3362 |
+
}, {
|
3363 |
+
row: 0,
|
3364 |
+
value: "9",
|
3365 |
+
page: 1
|
3366 |
+
}, {
|
3367 |
+
row: 0,
|
3368 |
+
value: "0",
|
3369 |
+
page: 1
|
3370 |
+
}, {
|
3371 |
+
row: 1,
|
3372 |
+
value: "!",
|
3373 |
+
page: 1
|
3374 |
+
}, {
|
3375 |
+
row: 1,
|
3376 |
+
value: "@",
|
3377 |
+
page: 1
|
3378 |
+
}, {
|
3379 |
+
row: 1,
|
3380 |
+
value: "#",
|
3381 |
+
page: 1
|
3382 |
+
}, {
|
3383 |
+
row: 1,
|
3384 |
+
value: "$",
|
3385 |
+
page: 1
|
3386 |
+
}, {
|
3387 |
+
row: 1,
|
3388 |
+
value: "%",
|
3389 |
+
page: 1
|
3390 |
+
}, {
|
3391 |
+
row: 1,
|
3392 |
+
value: "^",
|
3393 |
+
page: 1
|
3394 |
+
}, {
|
3395 |
+
row: 1,
|
3396 |
+
value: "&",
|
3397 |
+
page: 1
|
3398 |
+
}, {
|
3399 |
+
row: 1,
|
3400 |
+
value: "*",
|
3401 |
+
page: 1
|
3402 |
+
}, {
|
3403 |
+
row: 1,
|
3404 |
+
value: "(",
|
3405 |
+
page: 1
|
3406 |
+
}, {
|
3407 |
+
row: 1,
|
3408 |
+
value: ")",
|
3409 |
+
page: 1
|
3410 |
+
}, {
|
3411 |
+
row: 2,
|
3412 |
+
value: "-",
|
3413 |
+
page: 1
|
3414 |
+
}, {
|
3415 |
+
row: 2,
|
3416 |
+
value: "_",
|
3417 |
+
page: 1
|
3418 |
+
}, {
|
3419 |
+
row: 2,
|
3420 |
+
value: "=",
|
3421 |
+
page: 1
|
3422 |
+
}, {
|
3423 |
+
row: 2,
|
3424 |
+
value: "+",
|
3425 |
+
page: 1
|
3426 |
+
}, {
|
3427 |
+
row: 2,
|
3428 |
+
value: ";",
|
3429 |
+
page: 1
|
3430 |
+
}, {
|
3431 |
+
row: 2,
|
3432 |
+
value: ":",
|
3433 |
+
page: 1
|
3434 |
+
}, {
|
3435 |
+
row: 2,
|
3436 |
+
value: "'",
|
3437 |
+
page: 1
|
3438 |
+
}, {
|
3439 |
+
row: 2,
|
3440 |
+
value: '"',
|
3441 |
+
page: 1
|
3442 |
+
}, {
|
3443 |
+
row: 2,
|
3444 |
+
value: "<",
|
3445 |
+
page: 1
|
3446 |
+
}, {
|
3447 |
+
row: 2,
|
3448 |
+
value: ">",
|
3449 |
+
page: 1
|
3450 |
+
}, {
|
3451 |
+
row: 3,
|
3452 |
+
value: "Page0",
|
3453 |
+
page: 1
|
3454 |
+
}, {
|
3455 |
+
row: 3,
|
3456 |
+
value: "/",
|
3457 |
+
page: 1
|
3458 |
+
}, {
|
3459 |
+
row: 3,
|
3460 |
+
value: "?",
|
3461 |
+
page: 1
|
3462 |
+
}, {
|
3463 |
+
row: 3,
|
3464 |
+
value: "[",
|
3465 |
+
page: 1
|
3466 |
+
}, {
|
3467 |
+
row: 3,
|
3468 |
+
value: "]",
|
3469 |
+
page: 1
|
3470 |
+
}, {
|
3471 |
+
row: 3,
|
3472 |
+
value: "{",
|
3473 |
+
page: 1
|
3474 |
+
}, {
|
3475 |
+
row: 3,
|
3476 |
+
value: "}",
|
3477 |
+
page: 1
|
3478 |
+
}, {
|
3479 |
+
row: 3,
|
3480 |
+
value: "|",
|
3481 |
+
page: 1
|
3482 |
+
}, {
|
3483 |
+
row: 3,
|
3484 |
+
value: "\\",
|
3485 |
+
page: 1
|
3486 |
+
}, {
|
3487 |
+
row: 3,
|
3488 |
+
value: "~",
|
3489 |
+
page: 1
|
3490 |
+
}];
|
3491 |
+
const {
|
3492 |
+
SvelteComponent: Go,
|
3493 |
+
append: ge,
|
3494 |
+
assign: Uo,
|
3495 |
+
attr: X,
|
3496 |
+
binding_callbacks: Ho,
|
3497 |
+
check_outros: Wo,
|
3498 |
+
create_component: ke,
|
3499 |
+
destroy_component: qe,
|
3500 |
+
detach: Ve,
|
3501 |
+
element: Le,
|
3502 |
+
flush: V,
|
3503 |
+
get_spread_object: Xo,
|
3504 |
+
get_spread_update: Yo,
|
3505 |
+
group_outros: Oo,
|
3506 |
+
init: Ro,
|
3507 |
+
insert: Be,
|
3508 |
+
listen: gl,
|
3509 |
+
mount_component: Se,
|
3510 |
+
run_all: Jo,
|
3511 |
+
safe_not_equal: Qo,
|
3512 |
+
set_data: xo,
|
3513 |
+
set_input_value: ml,
|
3514 |
+
set_style: P,
|
3515 |
+
space: Fe,
|
3516 |
+
text: $o,
|
3517 |
+
toggle_class: ea,
|
3518 |
+
transition_in: R,
|
3519 |
+
transition_out: le
|
3520 |
+
} = window.__gradio__svelte__internal, { tick: la } = window.__gradio__svelte__internal;
|
3521 |
+
function pl(o) {
|
3522 |
+
let e, l;
|
3523 |
+
const t = [
|
3524 |
+
{ autoscroll: (
|
3525 |
+
/*gradio*/
|
3526 |
+
o[1].autoscroll
|
3527 |
+
) },
|
3528 |
+
{ i18n: (
|
3529 |
+
/*gradio*/
|
3530 |
+
o[1].i18n
|
3531 |
+
) },
|
3532 |
+
/*loading_status*/
|
3533 |
+
o[10]
|
3534 |
+
];
|
3535 |
+
let a = {};
|
3536 |
+
for (let n = 0; n < t.length; n += 1)
|
3537 |
+
a = Uo(a, t[n]);
|
3538 |
+
return e = new vo({ props: a }), {
|
3539 |
+
c() {
|
3540 |
+
ke(e.$$.fragment);
|
3541 |
+
},
|
3542 |
+
m(n, r) {
|
3543 |
+
Se(e, n, r), l = !0;
|
3544 |
+
},
|
3545 |
+
p(n, r) {
|
3546 |
+
const i = r & /*gradio, loading_status*/
|
3547 |
+
1026 ? Yo(t, [
|
3548 |
+
r & /*gradio*/
|
3549 |
+
2 && { autoscroll: (
|
3550 |
+
/*gradio*/
|
3551 |
+
n[1].autoscroll
|
3552 |
+
) },
|
3553 |
+
r & /*gradio*/
|
3554 |
+
2 && { i18n: (
|
3555 |
+
/*gradio*/
|
3556 |
+
n[1].i18n
|
3557 |
+
) },
|
3558 |
+
r & /*loading_status*/
|
3559 |
+
1024 && Xo(
|
3560 |
+
/*loading_status*/
|
3561 |
+
n[10]
|
3562 |
+
)
|
3563 |
+
]) : {};
|
3564 |
+
e.$set(i);
|
3565 |
+
},
|
3566 |
+
i(n) {
|
3567 |
+
l || (R(e.$$.fragment, n), l = !0);
|
3568 |
+
},
|
3569 |
+
o(n) {
|
3570 |
+
le(e.$$.fragment, n), l = !1;
|
3571 |
+
},
|
3572 |
+
d(n) {
|
3573 |
+
qe(e, n);
|
3574 |
+
}
|
3575 |
+
};
|
3576 |
+
}
|
3577 |
+
function ta(o) {
|
3578 |
+
let e;
|
3579 |
+
return {
|
3580 |
+
c() {
|
3581 |
+
e = $o(
|
3582 |
+
/*label*/
|
3583 |
+
o[2]
|
3584 |
+
);
|
3585 |
+
},
|
3586 |
+
m(l, t) {
|
3587 |
+
Be(l, e, t);
|
3588 |
+
},
|
3589 |
+
p(l, t) {
|
3590 |
+
t & /*label*/
|
3591 |
+
4 && xo(
|
3592 |
+
e,
|
3593 |
+
/*label*/
|
3594 |
+
l[2]
|
3595 |
+
);
|
3596 |
+
},
|
3597 |
+
d(l) {
|
3598 |
+
l && Ve(e);
|
3599 |
+
}
|
3600 |
+
};
|
3601 |
+
}
|
3602 |
+
function oa(o) {
|
3603 |
+
let e, l, t, a, n, r, i, s, u, f, v, h, d, _ = (
|
3604 |
+
/*loading_status*/
|
3605 |
+
o[10] && pl(o)
|
3606 |
+
);
|
3607 |
+
return t = new Lt({
|
3608 |
+
props: {
|
3609 |
+
show_label: (
|
3610 |
+
/*show_label*/
|
3611 |
+
o[7]
|
3612 |
+
),
|
3613 |
+
info: void 0,
|
3614 |
+
$$slots: { default: [ta] },
|
3615 |
+
$$scope: { ctx: o }
|
3616 |
+
}
|
3617 |
+
}), u = new Io({ props: { custom: Ko } }), u.$on(
|
3618 |
+
"keydown",
|
3619 |
+
/*onKeydown*/
|
3620 |
+
o[15]
|
3621 |
+
), {
|
3622 |
+
c() {
|
3623 |
+
_ && _.c(), e = Fe(), l = Le("label"), ke(t.$$.fragment), a = Fe(), n = Le("input"), s = Fe(), f = Le("div"), ke(u.$$.fragment), X(n, "data-testid", "textbox"), X(n, "type", "text"), X(n, "class", "scroll-hide svelte-2jrh70"), X(
|
3624 |
+
n,
|
3625 |
+
"placeholder",
|
3626 |
+
/*placeholder*/
|
3627 |
+
o[6]
|
3628 |
+
), n.disabled = r = !/*interactive*/
|
3629 |
+
o[11], X(n, "dir", i = /*rtl*/
|
3630 |
+
o[12] ? "rtl" : "ltr"), P(f, "display", "contents"), P(f, "--height", "3.5rem"), P(f, "--background", "#efefef"), P(f, "--color", "currentColor"), P(f, "--border", "none"), P(f, "--border-radius", "2px"), P(f, "--box-shadow", "none"), P(f, "--flex", "1"), P(f, "--font-family", "sans-serif"), P(f, "--font-size", "20px"), P(f, "--font-weight", "normal"), P(f, "--margin", "0.125rem"), P(f, "--min-width", "2rem"), P(f, "--opacity", "1"), P(f, "--stroke-width", "3px"), P(f, "--text-transform", "none"), P(f, "--active-background", "#cdcdcd"), P(f, "--active-border", "none"), P(f, "--active-box-shadow", "none"), P(f, "--active-color", "currentColor"), P(f, "--active-opacity", "1"), P(f, "--active-transform", "none"), X(l, "class", "svelte-2jrh70"), ea(l, "container", na);
|
3631 |
+
},
|
3632 |
+
m(b, y) {
|
3633 |
+
_ && _.m(b, y), Be(b, e, y), Be(b, l, y), Se(t, l, null), ge(l, a), ge(l, n), ml(
|
3634 |
+
n,
|
3635 |
+
/*value*/
|
3636 |
+
o[0]
|
3637 |
+
), o[18](n), ge(l, s), ge(l, f), Se(u, f, null), v = !0, h || (d = [
|
3638 |
+
gl(
|
3639 |
+
n,
|
3640 |
+
"input",
|
3641 |
+
/*input_input_handler*/
|
3642 |
+
o[17]
|
3643 |
+
),
|
3644 |
+
gl(
|
3645 |
+
n,
|
3646 |
+
"keypress",
|
3647 |
+
/*handle_keypress*/
|
3648 |
+
o[14]
|
3649 |
+
)
|
3650 |
+
], h = !0);
|
3651 |
+
},
|
3652 |
+
p(b, y) {
|
3653 |
+
/*loading_status*/
|
3654 |
+
b[10] ? _ ? (_.p(b, y), y & /*loading_status*/
|
3655 |
+
1024 && R(_, 1)) : (_ = pl(b), _.c(), R(_, 1), _.m(e.parentNode, e)) : _ && (Oo(), le(_, 1, 1, () => {
|
3656 |
+
_ = null;
|
3657 |
+
}), Wo());
|
3658 |
+
const F = {};
|
3659 |
+
y & /*show_label*/
|
3660 |
+
128 && (F.show_label = /*show_label*/
|
3661 |
+
b[7]), y & /*$$scope, label*/
|
3662 |
+
1048580 && (F.$$scope = { dirty: y, ctx: b }), t.$set(F), (!v || y & /*placeholder*/
|
3663 |
+
64) && X(
|
3664 |
+
n,
|
3665 |
+
"placeholder",
|
3666 |
+
/*placeholder*/
|
3667 |
+
b[6]
|
3668 |
+
), (!v || y & /*interactive*/
|
3669 |
+
2048 && r !== (r = !/*interactive*/
|
3670 |
+
b[11])) && (n.disabled = r), (!v || y & /*rtl*/
|
3671 |
+
4096 && i !== (i = /*rtl*/
|
3672 |
+
b[12] ? "rtl" : "ltr")) && X(n, "dir", i), y & /*value*/
|
3673 |
+
1 && n.value !== /*value*/
|
3674 |
+
b[0] && ml(
|
3675 |
+
n,
|
3676 |
+
/*value*/
|
3677 |
+
b[0]
|
3678 |
+
);
|
3679 |
+
},
|
3680 |
+
i(b) {
|
3681 |
+
v || (R(_), R(t.$$.fragment, b), R(u.$$.fragment, b), v = !0);
|
3682 |
+
},
|
3683 |
+
o(b) {
|
3684 |
+
le(_), le(t.$$.fragment, b), le(u.$$.fragment, b), v = !1;
|
3685 |
+
},
|
3686 |
+
d(b) {
|
3687 |
+
b && (Ve(e), Ve(l)), _ && _.d(b), qe(t), o[18](null), qe(u), h = !1, Jo(d);
|
3688 |
+
}
|
3689 |
+
};
|
3690 |
+
}
|
3691 |
+
function aa(o) {
|
3692 |
+
let e, l;
|
3693 |
+
return e = new Hl({
|
3694 |
+
props: {
|
3695 |
+
visible: (
|
3696 |
+
/*visible*/
|
3697 |
+
o[5]
|
3698 |
+
),
|
3699 |
+
elem_id: (
|
3700 |
+
/*elem_id*/
|
3701 |
+
o[3]
|
3702 |
+
),
|
3703 |
+
elem_classes: (
|
3704 |
+
/*elem_classes*/
|
3705 |
+
o[4]
|
3706 |
+
),
|
3707 |
+
scale: (
|
3708 |
+
/*scale*/
|
3709 |
+
o[8]
|
3710 |
+
),
|
3711 |
+
min_width: (
|
3712 |
+
/*min_width*/
|
3713 |
+
o[9]
|
3714 |
+
),
|
3715 |
+
allow_overflow: !1,
|
3716 |
+
padding: !0,
|
3717 |
+
$$slots: { default: [oa] },
|
3718 |
+
$$scope: { ctx: o }
|
3719 |
+
}
|
3720 |
+
}), {
|
3721 |
+
c() {
|
3722 |
+
ke(e.$$.fragment);
|
3723 |
+
},
|
3724 |
+
m(t, a) {
|
3725 |
+
Se(e, t, a), l = !0;
|
3726 |
+
},
|
3727 |
+
p(t, [a]) {
|
3728 |
+
const n = {};
|
3729 |
+
a & /*visible*/
|
3730 |
+
32 && (n.visible = /*visible*/
|
3731 |
+
t[5]), a & /*elem_id*/
|
3732 |
+
8 && (n.elem_id = /*elem_id*/
|
3733 |
+
t[3]), a & /*elem_classes*/
|
3734 |
+
16 && (n.elem_classes = /*elem_classes*/
|
3735 |
+
t[4]), a & /*scale*/
|
3736 |
+
256 && (n.scale = /*scale*/
|
3737 |
+
t[8]), a & /*min_width*/
|
3738 |
+
512 && (n.min_width = /*min_width*/
|
3739 |
+
t[9]), a & /*$$scope, placeholder, interactive, rtl, value, el, show_label, label, gradio, loading_status*/
|
3740 |
+
1064135 && (n.$$scope = { dirty: a, ctx: t }), e.$set(n);
|
3741 |
+
},
|
3742 |
+
i(t) {
|
3743 |
+
l || (R(e.$$.fragment, t), l = !0);
|
3744 |
+
},
|
3745 |
+
o(t) {
|
3746 |
+
le(e.$$.fragment, t), l = !1;
|
3747 |
+
},
|
3748 |
+
d(t) {
|
3749 |
+
qe(e, t);
|
3750 |
+
}
|
3751 |
+
};
|
3752 |
+
}
|
3753 |
+
const na = !0;
|
3754 |
+
function ra(o, e, l) {
|
3755 |
+
let { gradio: t } = e, { label: a = "Textbox" } = e, { elem_id: n = "" } = e, { elem_classes: r = [] } = e, { visible: i = !0 } = e, { value: s = "" } = e, { placeholder: u = "" } = e, { show_label: f } = e, { scale: v = null } = e, { min_width: h = void 0 } = e, { loading_status: d = void 0 } = e, { value_is_output: _ = !1 } = e, { interactive: b } = e, { rtl: y = !1 } = e, F;
|
3756 |
+
function L() {
|
3757 |
+
t.dispatch("change"), _ || t.dispatch("input");
|
3758 |
+
}
|
3759 |
+
async function c(p) {
|
3760 |
+
await la(), p.key === "Enter" && (p.preventDefault(), t.dispatch("submit"));
|
3761 |
+
}
|
3762 |
+
const z = (p) => {
|
3763 |
+
l(0, s = s + p.detail);
|
3764 |
+
};
|
3765 |
+
function m() {
|
3766 |
+
s = this.value, l(0, s);
|
3767 |
+
}
|
3768 |
+
function O(p) {
|
3769 |
+
Ho[p ? "unshift" : "push"](() => {
|
3770 |
+
F = p, l(13, F);
|
3771 |
+
});
|
3772 |
+
}
|
3773 |
+
return o.$$set = (p) => {
|
3774 |
+
"gradio" in p && l(1, t = p.gradio), "label" in p && l(2, a = p.label), "elem_id" in p && l(3, n = p.elem_id), "elem_classes" in p && l(4, r = p.elem_classes), "visible" in p && l(5, i = p.visible), "value" in p && l(0, s = p.value), "placeholder" in p && l(6, u = p.placeholder), "show_label" in p && l(7, f = p.show_label), "scale" in p && l(8, v = p.scale), "min_width" in p && l(9, h = p.min_width), "loading_status" in p && l(10, d = p.loading_status), "value_is_output" in p && l(16, _ = p.value_is_output), "interactive" in p && l(11, b = p.interactive), "rtl" in p && l(12, y = p.rtl);
|
3775 |
+
}, o.$$.update = () => {
|
3776 |
+
o.$$.dirty & /*value*/
|
3777 |
+
1 && s === null && l(0, s = ""), o.$$.dirty & /*value*/
|
3778 |
+
1 && l(0, s = s.replace("o", "ѳ")), o.$$.dirty & /*value*/
|
3779 |
+
1 && L();
|
3780 |
+
}, [
|
3781 |
+
s,
|
3782 |
+
t,
|
3783 |
+
a,
|
3784 |
+
n,
|
3785 |
+
r,
|
3786 |
+
i,
|
3787 |
+
u,
|
3788 |
+
f,
|
3789 |
+
v,
|
3790 |
+
h,
|
3791 |
+
d,
|
3792 |
+
b,
|
3793 |
+
y,
|
3794 |
+
F,
|
3795 |
+
c,
|
3796 |
+
z,
|
3797 |
+
_,
|
3798 |
+
m,
|
3799 |
+
O
|
3800 |
+
];
|
3801 |
+
}
|
3802 |
+
class ia extends Go {
|
3803 |
+
constructor(e) {
|
3804 |
+
super(), Ro(this, e, ra, aa, Qo, {
|
3805 |
+
gradio: 1,
|
3806 |
+
label: 2,
|
3807 |
+
elem_id: 3,
|
3808 |
+
elem_classes: 4,
|
3809 |
+
visible: 5,
|
3810 |
+
value: 0,
|
3811 |
+
placeholder: 6,
|
3812 |
+
show_label: 7,
|
3813 |
+
scale: 8,
|
3814 |
+
min_width: 9,
|
3815 |
+
loading_status: 10,
|
3816 |
+
value_is_output: 16,
|
3817 |
+
interactive: 11,
|
3818 |
+
rtl: 12
|
3819 |
+
});
|
3820 |
+
}
|
3821 |
+
get gradio() {
|
3822 |
+
return this.$$.ctx[1];
|
3823 |
+
}
|
3824 |
+
set gradio(e) {
|
3825 |
+
this.$$set({ gradio: e }), V();
|
3826 |
+
}
|
3827 |
+
get label() {
|
3828 |
+
return this.$$.ctx[2];
|
3829 |
+
}
|
3830 |
+
set label(e) {
|
3831 |
+
this.$$set({ label: e }), V();
|
3832 |
+
}
|
3833 |
+
get elem_id() {
|
3834 |
+
return this.$$.ctx[3];
|
3835 |
+
}
|
3836 |
+
set elem_id(e) {
|
3837 |
+
this.$$set({ elem_id: e }), V();
|
3838 |
+
}
|
3839 |
+
get elem_classes() {
|
3840 |
+
return this.$$.ctx[4];
|
3841 |
+
}
|
3842 |
+
set elem_classes(e) {
|
3843 |
+
this.$$set({ elem_classes: e }), V();
|
3844 |
+
}
|
3845 |
+
get visible() {
|
3846 |
+
return this.$$.ctx[5];
|
3847 |
+
}
|
3848 |
+
set visible(e) {
|
3849 |
+
this.$$set({ visible: e }), V();
|
3850 |
+
}
|
3851 |
+
get value() {
|
3852 |
+
return this.$$.ctx[0];
|
3853 |
+
}
|
3854 |
+
set value(e) {
|
3855 |
+
this.$$set({ value: e }), V();
|
3856 |
+
}
|
3857 |
+
get placeholder() {
|
3858 |
+
return this.$$.ctx[6];
|
3859 |
+
}
|
3860 |
+
set placeholder(e) {
|
3861 |
+
this.$$set({ placeholder: e }), V();
|
3862 |
+
}
|
3863 |
+
get show_label() {
|
3864 |
+
return this.$$.ctx[7];
|
3865 |
+
}
|
3866 |
+
set show_label(e) {
|
3867 |
+
this.$$set({ show_label: e }), V();
|
3868 |
+
}
|
3869 |
+
get scale() {
|
3870 |
+
return this.$$.ctx[8];
|
3871 |
+
}
|
3872 |
+
set scale(e) {
|
3873 |
+
this.$$set({ scale: e }), V();
|
3874 |
+
}
|
3875 |
+
get min_width() {
|
3876 |
+
return this.$$.ctx[9];
|
3877 |
+
}
|
3878 |
+
set min_width(e) {
|
3879 |
+
this.$$set({ min_width: e }), V();
|
3880 |
+
}
|
3881 |
+
get loading_status() {
|
3882 |
+
return this.$$.ctx[10];
|
3883 |
+
}
|
3884 |
+
set loading_status(e) {
|
3885 |
+
this.$$set({ loading_status: e }), V();
|
3886 |
+
}
|
3887 |
+
get value_is_output() {
|
3888 |
+
return this.$$.ctx[16];
|
3889 |
+
}
|
3890 |
+
set value_is_output(e) {
|
3891 |
+
this.$$set({ value_is_output: e }), V();
|
3892 |
+
}
|
3893 |
+
get interactive() {
|
3894 |
+
return this.$$.ctx[11];
|
3895 |
+
}
|
3896 |
+
set interactive(e) {
|
3897 |
+
this.$$set({ interactive: e }), V();
|
3898 |
+
}
|
3899 |
+
get rtl() {
|
3900 |
+
return this.$$.ctx[12];
|
3901 |
+
}
|
3902 |
+
set rtl(e) {
|
3903 |
+
this.$$set({ rtl: e }), V();
|
3904 |
+
}
|
3905 |
+
}
|
3906 |
+
export {
|
3907 |
+
ia as default
|
3908 |
+
};
|
src/backend/gradio_keyboardtextboxcomponent/templates/component/style.css
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
.block.svelte-1t38q2d{position:relative;margin:0;box-shadow:var(--block-shadow);border-width:var(--block-border-width);border-color:var(--block-border-color);border-radius:var(--block-radius);background:var(--block-background-fill);width:100%;line-height:var(--line-sm)}.block.border_focus.svelte-1t38q2d{border-color:var(--color-accent)}.padded.svelte-1t38q2d{padding:var(--block-padding)}.hidden.svelte-1t38q2d{display:none}.hide-container.svelte-1t38q2d{margin:0;box-shadow:none;--block-border-width:0;background:transparent;padding:0;overflow:visible}div.svelte-1hnfib2{margin-bottom:var(--spacing-lg);color:var(--block-info-text-color);font-weight:var(--block-info-text-weight);font-size:var(--block-info-text-size);line-height:var(--line-sm)}span.has-info.svelte-22c38v{margin-bottom:var(--spacing-xs)}span.svelte-22c38v:not(.has-info){margin-bottom:var(--spacing-lg)}span.svelte-22c38v{display:inline-block;position:relative;z-index:var(--layer-4);border:solid var(--block-title-border-width) var(--block-title-border-color);border-radius:var(--block-title-radius);background:var(--block-title-background-fill);padding:var(--block-title-padding);color:var(--block-title-text-color);font-weight:var(--block-title-text-weight);font-size:var(--block-title-text-size);line-height:var(--line-sm)}.hide.svelte-22c38v{margin:0;height:0}label.svelte-9gxdi0{display:inline-flex;align-items:center;z-index:var(--layer-2);box-shadow:var(--block-label-shadow);border:var(--block-label-border-width) solid var(--border-color-primary);border-top:none;border-left:none;border-radius:var(--block-label-radius);background:var(--block-label-background-fill);padding:var(--block-label-padding);pointer-events:none;color:var(--block-label-text-color);font-weight:var(--block-label-text-weight);font-size:var(--block-label-text-size);line-height:var(--line-sm)}.gr-group label.svelte-9gxdi0{border-top-left-radius:0}label.float.svelte-9gxdi0{position:absolute;top:var(--block-label-margin);left:var(--block-label-margin)}label.svelte-9gxdi0:not(.float){position:static;margin-top:var(--block-label-margin);margin-left:var(--block-label-margin)}.hide.svelte-9gxdi0{height:0}span.svelte-9gxdi0{opacity:.8;margin-right:var(--size-2);width:calc(var(--block-label-text-size) - 1px);height:calc(var(--block-label-text-size) - 1px)}.hide-label.svelte-9gxdi0{box-shadow:none;border-width:0;background:transparent;overflow:visible}button.svelte-xtz2g8{display:flex;justify-content:center;align-items:center;gap:1px;z-index:var(--layer-2);border-radius:var(--radius-sm);color:var(--block-label-text-color);border:1px solid transparent}.padded.svelte-xtz2g8{padding:2px;background:var(--background-fill-primary);box-shadow:var(--shadow-drop);border:1px solid var(--button-secondary-border-color)}button.svelte-xtz2g8:hover{cursor:pointer;color:var(--color-accent)}.padded.svelte-xtz2g8:hover{border:2px solid var(--button-secondary-border-color-hover);padding:1px;color:var(--block-label-text-color)}span.svelte-xtz2g8{padding:0 1px;font-size:10px}div.svelte-xtz2g8{padding:2px;display:flex;align-items:flex-end}.small.svelte-xtz2g8{width:14px;height:14px}.large.svelte-xtz2g8{width:22px;height:22px}.pending.svelte-xtz2g8{animation:svelte-xtz2g8-flash .5s infinite}@keyframes svelte-xtz2g8-flash{0%{opacity:.5}50%{opacity:1}to{opacity:.5}}.empty.svelte-3w3rth{display:flex;justify-content:center;align-items:center;margin-top:calc(0px - var(--size-6));height:var(--size-full)}.icon.svelte-3w3rth{opacity:.5;height:var(--size-5);color:var(--body-text-color)}.small.svelte-3w3rth{min-height:calc(var(--size-32) - 20px)}.large.svelte-3w3rth{min-height:calc(var(--size-64) - 20px)}.unpadded_box.svelte-3w3rth{margin-top:0}.small_parent.svelte-3w3rth{min-height:100%!important}.dropdown-arrow.svelte-145leq6{fill:currentColor}.wrap.svelte-kzcjhc{display:flex;flex-direction:column;justify-content:center;align-items:center;min-height:var(--size-60);color:var(--block-label-text-color);line-height:var(--line-md);height:100%;padding-top:var(--size-3)}.or.svelte-kzcjhc{color:var(--body-text-color-subdued);display:flex}.icon-wrap.svelte-kzcjhc{width:30px;margin-bottom:var(--spacing-lg)}@media (--screen-md){.wrap.svelte-kzcjhc{font-size:var(--text-lg)}}.hovered.svelte-kzcjhc{color:var(--color-accent)}div.svelte-1nba87b{border-top:1px solid transparent;display:flex;max-height:100%;justify-content:center;gap:var(--spacing-sm);height:auto;align-items:flex-end;box-shadow:var(--shadow-drop);padding:var(--spacing-xl) 0;color:var(--block-label-text-color);flex-shrink:0;width:95%}.show_border.svelte-1nba87b{border-top:1px solid var(--block-border-color);margin-top:var(--spacing-xxl)}.source-selection.svelte-lde7lt{display:flex;align-items:center;justify-content:center;border-top:1px solid var(--border-color-primary);width:95%;bottom:0;left:0;right:0;margin-left:auto;margin-right:auto;align-self:flex-end}.icon.svelte-lde7lt{width:22px;height:22px;margin:var(--spacing-lg) var(--spacing-xs);padding:var(--spacing-xs);color:var(--neutral-400);border-radius:var(--radius-md)}.selected.svelte-lde7lt{color:var(--color-accent)}.icon.svelte-lde7lt:hover,.icon.svelte-lde7lt:focus{color:var(--color-accent)}svg.svelte-43sxxs.svelte-43sxxs{width:var(--size-20);height:var(--size-20)}svg.svelte-43sxxs path.svelte-43sxxs{fill:var(--loader-color)}div.svelte-43sxxs.svelte-43sxxs{z-index:var(--layer-2)}.margin.svelte-43sxxs.svelte-43sxxs{margin:var(--size-4)}.wrap.svelte-14miwb5.svelte-14miwb5{display:flex;flex-direction:column;justify-content:center;align-items:center;z-index:var(--layer-5);transition:opacity .1s ease-in-out;border-radius:var(--block-radius);background:var(--block-background-fill);padding:0 var(--size-6);max-height:var(--size-screen-h);overflow:hidden;pointer-events:none}.wrap.center.svelte-14miwb5.svelte-14miwb5{top:0;right:0;left:0}.wrap.default.svelte-14miwb5.svelte-14miwb5{top:0;right:0;bottom:0;left:0}.hide.svelte-14miwb5.svelte-14miwb5{opacity:0;pointer-events:none}.generating.svelte-14miwb5.svelte-14miwb5{animation:svelte-14miwb5-pulse 2s cubic-bezier(.4,0,.6,1) infinite;border:2px solid var(--color-accent);background:transparent}.translucent.svelte-14miwb5.svelte-14miwb5{background:none}@keyframes svelte-14miwb5-pulse{0%,to{opacity:1}50%{opacity:.5}}.loading.svelte-14miwb5.svelte-14miwb5{z-index:var(--layer-2);color:var(--body-text-color)}.eta-bar.svelte-14miwb5.svelte-14miwb5{position:absolute;top:0;right:0;bottom:0;left:0;transform-origin:left;opacity:.8;z-index:var(--layer-1);transition:10ms;background:var(--background-fill-secondary)}.progress-bar-wrap.svelte-14miwb5.svelte-14miwb5{border:1px solid var(--border-color-primary);background:var(--background-fill-primary);width:55.5%;height:var(--size-4)}.progress-bar.svelte-14miwb5.svelte-14miwb5{transform-origin:left;background-color:var(--loader-color);width:var(--size-full);height:var(--size-full)}.progress-level.svelte-14miwb5.svelte-14miwb5{display:flex;flex-direction:column;align-items:center;gap:1;z-index:var(--layer-2);width:var(--size-full)}.progress-level-inner.svelte-14miwb5.svelte-14miwb5{margin:var(--size-2) auto;color:var(--body-text-color);font-size:var(--text-sm);font-family:var(--font-mono)}.meta-text.svelte-14miwb5.svelte-14miwb5{position:absolute;top:0;right:0;z-index:var(--layer-2);padding:var(--size-1) var(--size-2);font-size:var(--text-sm);font-family:var(--font-mono)}.meta-text-center.svelte-14miwb5.svelte-14miwb5{display:flex;position:absolute;top:0;right:0;justify-content:center;align-items:center;transform:translateY(var(--size-6));z-index:var(--layer-2);padding:var(--size-1) var(--size-2);font-size:var(--text-sm);font-family:var(--font-mono);text-align:center}.error.svelte-14miwb5.svelte-14miwb5{box-shadow:var(--shadow-drop);border:solid 1px var(--error-border-color);border-radius:var(--radius-full);background:var(--error-background-fill);padding-right:var(--size-4);padding-left:var(--size-4);color:var(--error-text-color);font-weight:var(--weight-semibold);font-size:var(--text-lg);line-height:var(--line-lg);font-family:var(--font)}.minimal.svelte-14miwb5 .progress-text.svelte-14miwb5{background:var(--block-background-fill)}.border.svelte-14miwb5.svelte-14miwb5{border:1px solid var(--border-color-primary)}.toast-body.svelte-solcu7{display:flex;position:relative;right:0;left:0;align-items:center;margin:var(--size-6) var(--size-4);margin:auto;border-radius:var(--container-radius);overflow:hidden;pointer-events:auto}.toast-body.error.svelte-solcu7{border:1px solid var(--color-red-700);background:var(--color-red-50)}.dark .toast-body.error.svelte-solcu7{border:1px solid var(--color-red-500);background-color:var(--color-grey-950)}.toast-body.warning.svelte-solcu7{border:1px solid var(--color-yellow-700);background:var(--color-yellow-50)}.dark .toast-body.warning.svelte-solcu7{border:1px solid var(--color-yellow-500);background-color:var(--color-grey-950)}.toast-body.info.svelte-solcu7{border:1px solid var(--color-grey-700);background:var(--color-grey-50)}.dark .toast-body.info.svelte-solcu7{border:1px solid var(--color-grey-500);background-color:var(--color-grey-950)}.toast-title.svelte-solcu7{display:flex;align-items:center;font-weight:var(--weight-bold);font-size:var(--text-lg);line-height:var(--line-sm);text-transform:capitalize}.toast-title.error.svelte-solcu7{color:var(--color-red-700)}.dark .toast-title.error.svelte-solcu7{color:var(--color-red-50)}.toast-title.warning.svelte-solcu7{color:var(--color-yellow-700)}.dark .toast-title.warning.svelte-solcu7{color:var(--color-yellow-50)}.toast-title.info.svelte-solcu7{color:var(--color-grey-700)}.dark .toast-title.info.svelte-solcu7{color:var(--color-grey-50)}.toast-close.svelte-solcu7{margin:0 var(--size-3);border-radius:var(--size-3);padding:0px var(--size-1-5);font-size:var(--size-5);line-height:var(--size-5)}.toast-close.error.svelte-solcu7{color:var(--color-red-700)}.dark .toast-close.error.svelte-solcu7{color:var(--color-red-500)}.toast-close.warning.svelte-solcu7{color:var(--color-yellow-700)}.dark .toast-close.warning.svelte-solcu7{color:var(--color-yellow-500)}.toast-close.info.svelte-solcu7{color:var(--color-grey-700)}.dark .toast-close.info.svelte-solcu7{color:var(--color-grey-500)}.toast-text.svelte-solcu7{font-size:var(--text-lg)}.toast-text.error.svelte-solcu7{color:var(--color-red-700)}.dark .toast-text.error.svelte-solcu7{color:var(--color-red-50)}.toast-text.warning.svelte-solcu7{color:var(--color-yellow-700)}.dark .toast-text.warning.svelte-solcu7{color:var(--color-yellow-50)}.toast-text.info.svelte-solcu7{color:var(--color-grey-700)}.dark .toast-text.info.svelte-solcu7{color:var(--color-grey-50)}.toast-details.svelte-solcu7{margin:var(--size-3) var(--size-3) var(--size-3) 0;width:100%}.toast-icon.svelte-solcu7{display:flex;position:absolute;position:relative;flex-shrink:0;justify-content:center;align-items:center;margin:var(--size-2);border-radius:var(--radius-full);padding:var(--size-1);padding-left:calc(var(--size-1) - 1px);width:35px;height:35px}.toast-icon.error.svelte-solcu7{color:var(--color-red-700)}.dark .toast-icon.error.svelte-solcu7{color:var(--color-red-500)}.toast-icon.warning.svelte-solcu7{color:var(--color-yellow-700)}.dark .toast-icon.warning.svelte-solcu7{color:var(--color-yellow-500)}.toast-icon.info.svelte-solcu7{color:var(--color-grey-700)}.dark .toast-icon.info.svelte-solcu7{color:var(--color-grey-500)}@keyframes svelte-solcu7-countdown{0%{transform:scaleX(1)}to{transform:scaleX(0)}}.timer.svelte-solcu7{position:absolute;bottom:0;left:0;transform-origin:0 0;animation:svelte-solcu7-countdown 10s linear forwards;width:100%;height:var(--size-1)}.timer.error.svelte-solcu7{background:var(--color-red-700)}.dark .timer.error.svelte-solcu7{background:var(--color-red-500)}.timer.warning.svelte-solcu7{background:var(--color-yellow-700)}.dark .timer.warning.svelte-solcu7{background:var(--color-yellow-500)}.timer.info.svelte-solcu7{background:var(--color-grey-700)}.dark .timer.info.svelte-solcu7{background:var(--color-grey-500)}.toast-wrap.svelte-gatr8h{display:flex;position:fixed;top:var(--size-4);right:var(--size-4);flex-direction:column;align-items:end;gap:var(--size-2);z-index:var(--layer-top);width:calc(100% - var(--size-8))}@media (--screen-sm){.toast-wrap.svelte-gatr8h{width:calc(var(--size-96) + var(--size-10))}}.row.svelte-1bx3au8{display:flex;justify-content:center;touch-action:manipulation}button.svelte-1bx3au8{-webkit-appearance:none;-moz-appearance:none;appearance:none;display:inline-block;text-align:center;vertical-align:baseline;cursor:pointer;line-height:1;transform-origin:50% 50%;-webkit-user-select:none;user-select:none;background:var(--background, #eee);color:var(--color, #111);border:var(--border, none);border-radius:var(--border-radius, 2px);box-shadow:var(--box-shadow, none);flex:var(--flex, 1);font-family:var(--font-family, sans-serif);font-size:var(--font-size, 20px);font-weight:var(--font-weight, normal);height:var(--height, 3.5rem);margin:var(--margin, .125rem);opacity:var(--opacity, 1);text-transform:var(--text-transform, none);-webkit-tap-highlight-color:transparent}button.single.svelte-1bx3au8{min-width:var(--min-width, 2rem)}button.active.svelte-1bx3au8,button.svelte-1bx3au8:active{background:var(--active-background, #ccc);border:var(--active-border, none);box-shadow:var(--active-box-shadow, none);color:var(--active-color, #111);opacity:var(--active-opacity, 1);transform:var(--active-transform, none)}button.key--Space.svelte-1bx3au8{width:var(--space-width, 20%);flex:var(--space-flex, 3)}button.key--Page0.svelte-1bx3au8,button.key--Page1.svelte-1bx3au8,button.key--Shift.svelte-1bx3au8,button.key--Backspace.svelte-1bx3au8,button.key--Enter.svelte-1bx3au8{flex:var(--special-flex, 1.5)}.page.svelte-1bx3au8{display:none}.page.visible.svelte-1bx3au8{display:block}.svelte-keyboard svg{stroke-width:var(--stroke-width, 2px);vertical-align:middle}label.svelte-2jrh70.svelte-2jrh70{display:block;width:100%}input.svelte-2jrh70.svelte-2jrh70{display:block;position:relative;outline:none!important;box-shadow:var(--input-shadow);background:var(--input-background-fill);padding:var(--input-padding);width:100%;color:var(--body-text-color);font-weight:var(--input-text-weight);font-size:var(--input-text-size);line-height:var(--line-sm);border:none}.container.svelte-2jrh70>input.svelte-2jrh70{border:var(--input-border-width) solid var(--input-border-color);border-radius:var(--input-radius)}input.svelte-2jrh70.svelte-2jrh70:disabled{-webkit-text-fill-color:var(--body-text-color);-webkit-opacity:1;opacity:1}input.svelte-2jrh70.svelte-2jrh70:focus{box-shadow:var(--input-shadow-focus);border-color:var(--input-border-color-focus)}input.svelte-2jrh70.svelte-2jrh70::placeholder{color:var(--input-placeholder-color)}
|
src/backend/gradio_keyboardtextboxcomponent/templates/example/index.js
ADDED
@@ -0,0 +1,112 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
const {
|
2 |
+
SvelteComponent: y,
|
3 |
+
add_iframe_resize_listener: b,
|
4 |
+
add_render_callback: v,
|
5 |
+
append: m,
|
6 |
+
attr: h,
|
7 |
+
binding_callbacks: p,
|
8 |
+
detach: w,
|
9 |
+
element: z,
|
10 |
+
init: k,
|
11 |
+
insert: E,
|
12 |
+
noop: f,
|
13 |
+
safe_not_equal: S,
|
14 |
+
set_data: q,
|
15 |
+
text: C,
|
16 |
+
toggle_class: _
|
17 |
+
} = window.__gradio__svelte__internal, { onMount: M } = window.__gradio__svelte__internal;
|
18 |
+
function P(t) {
|
19 |
+
let e, s, r;
|
20 |
+
return {
|
21 |
+
c() {
|
22 |
+
e = z("div"), s = C(
|
23 |
+
/*value*/
|
24 |
+
t[0]
|
25 |
+
), h(e, "class", "svelte-84cxb8"), v(() => (
|
26 |
+
/*div_elementresize_handler*/
|
27 |
+
t[5].call(e)
|
28 |
+
)), _(
|
29 |
+
e,
|
30 |
+
"table",
|
31 |
+
/*type*/
|
32 |
+
t[1] === "table"
|
33 |
+
), _(
|
34 |
+
e,
|
35 |
+
"gallery",
|
36 |
+
/*type*/
|
37 |
+
t[1] === "gallery"
|
38 |
+
), _(
|
39 |
+
e,
|
40 |
+
"selected",
|
41 |
+
/*selected*/
|
42 |
+
t[2]
|
43 |
+
);
|
44 |
+
},
|
45 |
+
m(l, i) {
|
46 |
+
E(l, e, i), m(e, s), r = b(
|
47 |
+
e,
|
48 |
+
/*div_elementresize_handler*/
|
49 |
+
t[5].bind(e)
|
50 |
+
), t[6](e);
|
51 |
+
},
|
52 |
+
p(l, [i]) {
|
53 |
+
i & /*value*/
|
54 |
+
1 && q(
|
55 |
+
s,
|
56 |
+
/*value*/
|
57 |
+
l[0]
|
58 |
+
), i & /*type*/
|
59 |
+
2 && _(
|
60 |
+
e,
|
61 |
+
"table",
|
62 |
+
/*type*/
|
63 |
+
l[1] === "table"
|
64 |
+
), i & /*type*/
|
65 |
+
2 && _(
|
66 |
+
e,
|
67 |
+
"gallery",
|
68 |
+
/*type*/
|
69 |
+
l[1] === "gallery"
|
70 |
+
), i & /*selected*/
|
71 |
+
4 && _(
|
72 |
+
e,
|
73 |
+
"selected",
|
74 |
+
/*selected*/
|
75 |
+
l[2]
|
76 |
+
);
|
77 |
+
},
|
78 |
+
i: f,
|
79 |
+
o: f,
|
80 |
+
d(l) {
|
81 |
+
l && w(e), r(), t[6](null);
|
82 |
+
}
|
83 |
+
};
|
84 |
+
}
|
85 |
+
function W(t, e, s) {
|
86 |
+
let { value: r } = e, { type: l } = e, { selected: i = !1 } = e, c, a;
|
87 |
+
function u(n, d) {
|
88 |
+
!n || !d || (a.style.setProperty("--local-text-width", `${d < 150 ? d : 200}px`), s(4, a.style.whiteSpace = "unset", a));
|
89 |
+
}
|
90 |
+
M(() => {
|
91 |
+
u(a, c);
|
92 |
+
});
|
93 |
+
function o() {
|
94 |
+
c = this.clientWidth, s(3, c);
|
95 |
+
}
|
96 |
+
function g(n) {
|
97 |
+
p[n ? "unshift" : "push"](() => {
|
98 |
+
a = n, s(4, a);
|
99 |
+
});
|
100 |
+
}
|
101 |
+
return t.$$set = (n) => {
|
102 |
+
"value" in n && s(0, r = n.value), "type" in n && s(1, l = n.type), "selected" in n && s(2, i = n.selected);
|
103 |
+
}, [r, l, i, c, a, o, g];
|
104 |
+
}
|
105 |
+
class j extends y {
|
106 |
+
constructor(e) {
|
107 |
+
super(), k(this, e, W, P, S, { value: 0, type: 1, selected: 2 });
|
108 |
+
}
|
109 |
+
}
|
110 |
+
export {
|
111 |
+
j as default
|
112 |
+
};
|
src/backend/gradio_keyboardtextboxcomponent/templates/example/style.css
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
.gallery.svelte-84cxb8{padding:var(--size-1) var(--size-2)}div.svelte-84cxb8{overflow:hidden;min-width:var(--local-text-width);white-space:nowrap}
|
src/demo/__init__.py
ADDED
File without changes
|
src/demo/app.py
ADDED
@@ -0,0 +1,66 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
|
2 |
+
import gradio as gr
|
3 |
+
from gradio_keyboardtextboxcomponent import KeyboardTextBoxComponent
|
4 |
+
import json
|
5 |
+
import requests
|
6 |
+
|
7 |
+
API_URL_LIST = "https://jsonplaceholder.typicode.com/todos"
|
8 |
+
|
9 |
+
# Una aplicación con un listado de traducciones pendientes
|
10 |
+
# presionar sobre una
|
11 |
+
def translation_chat_fn(translation_index, modification):
|
12 |
+
# transform index to id
|
13 |
+
# submit to api
|
14 |
+
|
15 |
+
response = requests.get(API_URL_LIST) # TODO: Post
|
16 |
+
response.json()
|
17 |
+
print(response.json())
|
18 |
+
|
19 |
+
api_response = True
|
20 |
+
return "Traducción corregida" if api_response else "Error del servicio"
|
21 |
+
|
22 |
+
selected_translation_index = 0
|
23 |
+
|
24 |
+
# translations_response = [
|
25 |
+
# {"id": 0, "text_spa": "The quick brown fox jumps over the lazy dog", "text_gum": "El rápido zorro café salta sobre los perezosos perros"},
|
26 |
+
# {"id": 1, "text_spa": "Build & share delightful machine learning apps", "text_gum": "Construye y comparte encantadoras aplicaciones de aprendizaje de máquina"},
|
27 |
+
# ]
|
28 |
+
translations_response = requests.get(API_URL_LIST).json() # TODO: Post
|
29 |
+
translations = list(map(lambda x: [x["title"]], translations_response))
|
30 |
+
|
31 |
+
# Interface Components
|
32 |
+
with gr.Blocks() as demo:
|
33 |
+
translations_dataset_input = gr.Dataset(components=[gr.Textbox(visible=False)],# gr.Textbox(visible=False)],
|
34 |
+
|
35 |
+
label="Traducciones",
|
36 |
+
samples=translations,
|
37 |
+
type="index",
|
38 |
+
samples_per_page=10
|
39 |
+
)
|
40 |
+
gum_keyboard_textbox_input = KeyboardTextBoxComponent(#value=translations[selected_translation_index][0],
|
41 |
+
label="Traducciones",
|
42 |
+
#info="Elige las traducciones que desees revisar"
|
43 |
+
)
|
44 |
+
|
45 |
+
# Interactions
|
46 |
+
def assign_trasnlation_id(evt: gr.SelectData):
|
47 |
+
# selected_translation_index = evt.index
|
48 |
+
# print(evt)
|
49 |
+
return translations[evt.index][0]
|
50 |
+
translations_dataset_input.select(fn=assign_trasnlation_id, outputs=[gum_keyboard_textbox_input])
|
51 |
+
|
52 |
+
# Interface
|
53 |
+
gr.Interface(
|
54 |
+
translation_chat_fn,
|
55 |
+
[
|
56 |
+
translations_dataset_input,
|
57 |
+
gum_keyboard_textbox_input,
|
58 |
+
],
|
59 |
+
"text",
|
60 |
+
title="Tralengua",
|
61 |
+
description="Elige las traducciones del Namuy Wam (Namtrik/Guambiano) que deseas corregir del Español.",
|
62 |
+
theme=gr.themes.Default(primary_hue="blue")
|
63 |
+
#examples=[[example]], # uncomment this line to view the "example version" of your component
|
64 |
+
)
|
65 |
+
|
66 |
+
demo.launch()
|
src/demo/app_bk.py
ADDED
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
|
2 |
+
import gradio as gr
|
3 |
+
from gradio_keyboardtextboxcomponent import KeyboardTextBoxComponent
|
4 |
+
import boto3
|
5 |
+
import json
|
6 |
+
|
7 |
+
__TableName__ = "innovation-gradio-claude-example"
|
8 |
+
Primary_Column_Name = "id"
|
9 |
+
Primary_Key = "1"
|
10 |
+
columns = ["message_gum", "message_spa"]
|
11 |
+
|
12 |
+
client = boto3.client('dynamodb', region_name='us-east-1')
|
13 |
+
DB = boto3.resource('dynamodb', region_name='us-east-1')
|
14 |
+
table = DB.Table(__TableName__)
|
15 |
+
|
16 |
+
# Get data
|
17 |
+
def get_data():
|
18 |
+
response = table.get_item(
|
19 |
+
Key={
|
20 |
+
Primary_Column_Name:Primary_Key
|
21 |
+
}
|
22 |
+
)
|
23 |
+
return json.loads(str(response["Item"]).replace("'", '"').encode('utf-8'))
|
24 |
+
|
25 |
+
# print(get_data()["message_gum"])
|
26 |
+
example = KeyboardTextBoxComponent().example_inputs()
|
27 |
+
|
28 |
+
demo = gr.Interface(
|
29 |
+
lambda x:x,
|
30 |
+
KeyboardTextBoxComponent(value=get_data()["message_gum"]), # interactive version of your component
|
31 |
+
KeyboardTextBoxComponent(), # static version of your component
|
32 |
+
examples=[[example]], # uncomment this line to view the "example version" of your component
|
33 |
+
)
|
34 |
+
|
35 |
+
demo.launch()
|
src/flagged/log.csv
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
x,output,flag,username,timestamp
|
2 |
+
ds,ds,,,2023-11-09 03:35:27.704054
|
src/frontend/Example.svelte
ADDED
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<script lang="ts">
|
2 |
+
import { onMount } from "svelte";
|
3 |
+
|
4 |
+
export let value: string;
|
5 |
+
export let type: "gallery" | "table";
|
6 |
+
export let selected = false;
|
7 |
+
|
8 |
+
let size: number;
|
9 |
+
let el: HTMLDivElement;
|
10 |
+
|
11 |
+
function set_styles(element: HTMLElement, el_width: number): void {
|
12 |
+
if (!element || !el_width) return;
|
13 |
+
el.style.setProperty(
|
14 |
+
"--local-text-width",
|
15 |
+
`${el_width < 150 ? el_width : 200}px`
|
16 |
+
);
|
17 |
+
el.style.whiteSpace = "unset";
|
18 |
+
}
|
19 |
+
|
20 |
+
onMount(() => {
|
21 |
+
set_styles(el, size);
|
22 |
+
});
|
23 |
+
</script>
|
24 |
+
|
25 |
+
<div
|
26 |
+
bind:clientWidth={size}
|
27 |
+
bind:this={el}
|
28 |
+
class:table={type === "table"}
|
29 |
+
class:gallery={type === "gallery"}
|
30 |
+
class:selected
|
31 |
+
>
|
32 |
+
{value}
|
33 |
+
</div>
|
34 |
+
|
35 |
+
<style>
|
36 |
+
.gallery {
|
37 |
+
padding: var(--size-1) var(--size-2);
|
38 |
+
}
|
39 |
+
|
40 |
+
div {
|
41 |
+
overflow: hidden;
|
42 |
+
min-width: var(--local-text-width);
|
43 |
+
|
44 |
+
white-space: nowrap;
|
45 |
+
}
|
46 |
+
</style>
|
src/frontend/Index.svelte
ADDED
@@ -0,0 +1,162 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<svelte:options accessors={true} />
|
2 |
+
|
3 |
+
<script lang="ts">
|
4 |
+
import type { Gradio } from "@gradio/utils";
|
5 |
+
import { BlockTitle } from "@gradio/atoms";
|
6 |
+
import { Block } from "@gradio/atoms";
|
7 |
+
import { StatusTracker } from "@gradio/statustracker";
|
8 |
+
import type { LoadingStatus } from "@gradio/statustracker";
|
9 |
+
import { tick } from "svelte";
|
10 |
+
|
11 |
+
export let gradio: Gradio<{
|
12 |
+
change: never;
|
13 |
+
submit: never;
|
14 |
+
input: never;
|
15 |
+
}>;
|
16 |
+
export let label = "Textbox";
|
17 |
+
export let elem_id = "";
|
18 |
+
export let elem_classes: string[] = [];
|
19 |
+
export let visible = true;
|
20 |
+
export let value = "";
|
21 |
+
export let placeholder = "";
|
22 |
+
export let show_label: boolean;
|
23 |
+
export let scale: number | null = null;
|
24 |
+
export let min_width: number | undefined = undefined;
|
25 |
+
export let loading_status: LoadingStatus | undefined = undefined;
|
26 |
+
export let value_is_output = false;
|
27 |
+
export let interactive: boolean;
|
28 |
+
export let rtl = false;
|
29 |
+
|
30 |
+
let el: HTMLTextAreaElement | HTMLInputElement;
|
31 |
+
const container = true;
|
32 |
+
|
33 |
+
function handle_change(): void {
|
34 |
+
gradio.dispatch("change");
|
35 |
+
if (!value_is_output) {
|
36 |
+
gradio.dispatch("input");
|
37 |
+
}
|
38 |
+
}
|
39 |
+
|
40 |
+
async function handle_keypress(e: KeyboardEvent): Promise<void> {
|
41 |
+
await tick();
|
42 |
+
if (e.key === "Enter") {
|
43 |
+
e.preventDefault();
|
44 |
+
gradio.dispatch("submit");
|
45 |
+
}
|
46 |
+
}
|
47 |
+
|
48 |
+
$: if (value === null) value = "";
|
49 |
+
|
50 |
+
$: value = value.replace('o', 'ѳ') //TODO: mayus
|
51 |
+
|
52 |
+
// When the value changes, dispatch the change event via handle_change()
|
53 |
+
// See the docs for an explanation: https://svelte.dev/docs/svelte-components#script-3-$-marks-a-statement-as-reactive
|
54 |
+
$: value, handle_change();
|
55 |
+
|
56 |
+
// Keyboard
|
57 |
+
import Keyboard from "svelte-keyboard";
|
58 |
+
import GumKeyboardLayout from './layouts/gum';
|
59 |
+
|
60 |
+
const onKeydown = (event) => {
|
61 |
+
// console.log(event.detail);
|
62 |
+
$: value = value+event.detail
|
63 |
+
}
|
64 |
+
</script>
|
65 |
+
|
66 |
+
<Block
|
67 |
+
{visible}
|
68 |
+
{elem_id}
|
69 |
+
{elem_classes}
|
70 |
+
{scale}
|
71 |
+
{min_width}
|
72 |
+
allow_overflow={false}
|
73 |
+
padding={true}
|
74 |
+
>
|
75 |
+
{#if loading_status}
|
76 |
+
<StatusTracker
|
77 |
+
autoscroll={gradio.autoscroll}
|
78 |
+
i18n={gradio.i18n}
|
79 |
+
{...loading_status}
|
80 |
+
/>
|
81 |
+
{/if}
|
82 |
+
|
83 |
+
<label class:container>
|
84 |
+
<BlockTitle {show_label} info={undefined}>{label}</BlockTitle>
|
85 |
+
<!-- <BlockLabel>label</BlockLabel> -->
|
86 |
+
<input
|
87 |
+
data-testid="textbox"
|
88 |
+
type="text"
|
89 |
+
class="scroll-hide"
|
90 |
+
bind:value
|
91 |
+
bind:this={el}
|
92 |
+
{placeholder}
|
93 |
+
disabled={!interactive}
|
94 |
+
dir={rtl ? "rtl" : "ltr"}
|
95 |
+
on:keypress={handle_keypress}
|
96 |
+
/>
|
97 |
+
<Keyboard
|
98 |
+
on:keydown="{onKeydown}"
|
99 |
+
custom="{GumKeyboardLayout}"
|
100 |
+
--height="3.5rem"
|
101 |
+
--background="#efefef"
|
102 |
+
--color="currentColor"
|
103 |
+
--border="none"
|
104 |
+
--border-radius="2px"
|
105 |
+
--box-shadow="none"
|
106 |
+
--flex="1"
|
107 |
+
--font-family="sans-serif"
|
108 |
+
--font-size="20px"
|
109 |
+
--font-weight="normal"
|
110 |
+
--margin="0.125rem"
|
111 |
+
--min-width="2rem"
|
112 |
+
--opacity="1"
|
113 |
+
--stroke-width="3px"
|
114 |
+
--text-transform="none"
|
115 |
+
--active-background="#cdcdcd"
|
116 |
+
--active-border="none"
|
117 |
+
--active-box-shadow="none"
|
118 |
+
--active-color="currentColor"
|
119 |
+
--active-opacity="1"
|
120 |
+
--active-transform="none"/>
|
121 |
+
</label>
|
122 |
+
</Block>
|
123 |
+
|
124 |
+
<style>
|
125 |
+
label {
|
126 |
+
display: block;
|
127 |
+
width: 100%;
|
128 |
+
}
|
129 |
+
|
130 |
+
input {
|
131 |
+
display: block;
|
132 |
+
position: relative;
|
133 |
+
outline: none !important;
|
134 |
+
box-shadow: var(--input-shadow);
|
135 |
+
background: var(--input-background-fill);
|
136 |
+
padding: var(--input-padding);
|
137 |
+
width: 100%;
|
138 |
+
color: var(--body-text-color);
|
139 |
+
font-weight: var(--input-text-weight);
|
140 |
+
font-size: var(--input-text-size);
|
141 |
+
line-height: var(--line-sm);
|
142 |
+
border: none;
|
143 |
+
}
|
144 |
+
.container > input {
|
145 |
+
border: var(--input-border-width) solid var(--input-border-color);
|
146 |
+
border-radius: var(--input-radius);
|
147 |
+
}
|
148 |
+
input:disabled {
|
149 |
+
-webkit-text-fill-color: var(--body-text-color);
|
150 |
+
-webkit-opacity: 1;
|
151 |
+
opacity: 1;
|
152 |
+
}
|
153 |
+
|
154 |
+
input:focus {
|
155 |
+
box-shadow: var(--input-shadow-focus);
|
156 |
+
border-color: var(--input-border-color-focus);
|
157 |
+
}
|
158 |
+
|
159 |
+
input::placeholder {
|
160 |
+
color: var(--input-placeholder-color);
|
161 |
+
}
|
162 |
+
</style>
|
src/frontend/layouts/gum.js
ADDED
@@ -0,0 +1,260 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
export default [{
|
2 |
+
"row": 0,
|
3 |
+
"value": "q"
|
4 |
+
}, {
|
5 |
+
"row": 0,
|
6 |
+
"value": "w"
|
7 |
+
}, {
|
8 |
+
"row": 0,
|
9 |
+
"value": "e"
|
10 |
+
}, {
|
11 |
+
"row": 0,
|
12 |
+
"value": "r"
|
13 |
+
}, {
|
14 |
+
"row": 0,
|
15 |
+
"value": "t"
|
16 |
+
}, {
|
17 |
+
"row": 0,
|
18 |
+
"value": "y"
|
19 |
+
}, {
|
20 |
+
"row": 0,
|
21 |
+
"value": "u"
|
22 |
+
}, {
|
23 |
+
"row": 0,
|
24 |
+
"value": "i"
|
25 |
+
}, {
|
26 |
+
"row": 0,
|
27 |
+
"value": "ѳ"
|
28 |
+
}, {
|
29 |
+
"row": 0,
|
30 |
+
"value": "p"
|
31 |
+
}, {
|
32 |
+
"row": 1,
|
33 |
+
"value": "a"
|
34 |
+
}, {
|
35 |
+
"row": 1,
|
36 |
+
"value": "s"
|
37 |
+
}, {
|
38 |
+
"row": 1,
|
39 |
+
"value": "d"
|
40 |
+
}, {
|
41 |
+
"row": 1,
|
42 |
+
"value": "f"
|
43 |
+
}, {
|
44 |
+
"row": 1,
|
45 |
+
"value": "g"
|
46 |
+
}, {
|
47 |
+
"row": 1,
|
48 |
+
"value": "h"
|
49 |
+
}, {
|
50 |
+
"row": 1,
|
51 |
+
"value": "j"
|
52 |
+
}, {
|
53 |
+
"row": 1,
|
54 |
+
"value": "k"
|
55 |
+
}, {
|
56 |
+
"row": 1,
|
57 |
+
"value": "l"
|
58 |
+
}, {
|
59 |
+
"row": 2,
|
60 |
+
"value": "Shift",
|
61 |
+
}, {
|
62 |
+
"row": 2,
|
63 |
+
"value": "z"
|
64 |
+
}, {
|
65 |
+
"row": 2,
|
66 |
+
"value": "x"
|
67 |
+
}, {
|
68 |
+
"row": 2,
|
69 |
+
"value": "c"
|
70 |
+
}, {
|
71 |
+
"row": 2,
|
72 |
+
"value": "v"
|
73 |
+
}, {
|
74 |
+
"row": 2,
|
75 |
+
"value": "b"
|
76 |
+
}, {
|
77 |
+
"row": 2,
|
78 |
+
"value": "n"
|
79 |
+
}, {
|
80 |
+
"row": 2,
|
81 |
+
"value": "m"
|
82 |
+
}, {
|
83 |
+
"row": 2,
|
84 |
+
"value": "Backspace"
|
85 |
+
}, {
|
86 |
+
"row": 3,
|
87 |
+
"value": "Page1",
|
88 |
+
}, {
|
89 |
+
"row": 3,
|
90 |
+
"value": ",",
|
91 |
+
}, {
|
92 |
+
"row": 3,
|
93 |
+
"value": "Space",
|
94 |
+
}, {
|
95 |
+
"row": 3,
|
96 |
+
"value": ".",
|
97 |
+
}, {
|
98 |
+
"row": 3,
|
99 |
+
"value": "Enter",
|
100 |
+
}, {
|
101 |
+
"row": 0,
|
102 |
+
"value": "1",
|
103 |
+
"page": 1
|
104 |
+
}, {
|
105 |
+
"row": 0,
|
106 |
+
"value": "2",
|
107 |
+
"page": 1
|
108 |
+
}, {
|
109 |
+
"row": 0,
|
110 |
+
"value": "3",
|
111 |
+
"page": 1
|
112 |
+
}, {
|
113 |
+
"row": 0,
|
114 |
+
"value": "4",
|
115 |
+
"page": 1
|
116 |
+
}, {
|
117 |
+
"row": 0,
|
118 |
+
"value": "5",
|
119 |
+
"page": 1
|
120 |
+
}, {
|
121 |
+
"row": 0,
|
122 |
+
"value": "6",
|
123 |
+
"page": 1
|
124 |
+
}, {
|
125 |
+
"row": 0,
|
126 |
+
"value": "7",
|
127 |
+
"page": 1
|
128 |
+
}, {
|
129 |
+
"row": 0,
|
130 |
+
"value": "8",
|
131 |
+
"page": 1
|
132 |
+
}, {
|
133 |
+
"row": 0,
|
134 |
+
"value": "9",
|
135 |
+
"page": 1
|
136 |
+
}, {
|
137 |
+
"row": 0,
|
138 |
+
"value": "0",
|
139 |
+
"page": 1
|
140 |
+
}, {
|
141 |
+
"row": 1,
|
142 |
+
"value": "!",
|
143 |
+
"page": 1
|
144 |
+
}, {
|
145 |
+
"row": 1,
|
146 |
+
"value": "@",
|
147 |
+
"page": 1
|
148 |
+
}, {
|
149 |
+
"row": 1,
|
150 |
+
"value": "#",
|
151 |
+
"page": 1
|
152 |
+
}, {
|
153 |
+
"row": 1,
|
154 |
+
"value": "$",
|
155 |
+
"page": 1
|
156 |
+
}, {
|
157 |
+
"row": 1,
|
158 |
+
"value": "%",
|
159 |
+
"page": 1
|
160 |
+
}, {
|
161 |
+
"row": 1,
|
162 |
+
"value": "^",
|
163 |
+
"page": 1
|
164 |
+
}, {
|
165 |
+
"row": 1,
|
166 |
+
"value": "&",
|
167 |
+
"page": 1
|
168 |
+
}, {
|
169 |
+
"row": 1,
|
170 |
+
"value": "*",
|
171 |
+
"page": 1
|
172 |
+
}, {
|
173 |
+
"row": 1,
|
174 |
+
"value": "(",
|
175 |
+
"page": 1
|
176 |
+
}, {
|
177 |
+
"row": 1,
|
178 |
+
"value": ")",
|
179 |
+
"page": 1
|
180 |
+
}, {
|
181 |
+
"row": 2,
|
182 |
+
"value": "-",
|
183 |
+
"page": 1
|
184 |
+
}, {
|
185 |
+
"row": 2,
|
186 |
+
"value": "_",
|
187 |
+
"page": 1
|
188 |
+
}, {
|
189 |
+
"row": 2,
|
190 |
+
"value": "=",
|
191 |
+
"page": 1
|
192 |
+
}, {
|
193 |
+
"row": 2,
|
194 |
+
"value": "+",
|
195 |
+
"page": 1
|
196 |
+
}, {
|
197 |
+
"row": 2,
|
198 |
+
"value": ";",
|
199 |
+
"page": 1
|
200 |
+
}, {
|
201 |
+
"row": 2,
|
202 |
+
"value": ":",
|
203 |
+
"page": 1
|
204 |
+
}, {
|
205 |
+
"row": 2,
|
206 |
+
"value": "'",
|
207 |
+
"page": 1
|
208 |
+
}, {
|
209 |
+
"row": 2,
|
210 |
+
"value": "\"",
|
211 |
+
"page": 1
|
212 |
+
}, {
|
213 |
+
"row": 2,
|
214 |
+
"value": "<",
|
215 |
+
"page": 1
|
216 |
+
}, {
|
217 |
+
"row": 2,
|
218 |
+
"value": ">",
|
219 |
+
"page": 1
|
220 |
+
}, {
|
221 |
+
"row": 3,
|
222 |
+
"value": "Page0",
|
223 |
+
"page": 1
|
224 |
+
}, {
|
225 |
+
"row": 3,
|
226 |
+
"value": "/",
|
227 |
+
"page": 1
|
228 |
+
}, {
|
229 |
+
"row": 3,
|
230 |
+
"value": "?",
|
231 |
+
"page": 1
|
232 |
+
}, {
|
233 |
+
"row": 3,
|
234 |
+
"value": "[",
|
235 |
+
"page": 1
|
236 |
+
}, {
|
237 |
+
"row": 3,
|
238 |
+
"value": "]",
|
239 |
+
"page": 1
|
240 |
+
}, {
|
241 |
+
"row": 3,
|
242 |
+
"value": "{",
|
243 |
+
"page": 1
|
244 |
+
}, {
|
245 |
+
"row": 3,
|
246 |
+
"value": "}",
|
247 |
+
"page": 1
|
248 |
+
}, {
|
249 |
+
"row": 3,
|
250 |
+
"value": "|",
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "gradio_keyboardtextboxcomponent",
|
3 |
+
"version": "0.1.1",
|
4 |
+
"lockfileVersion": 2,
|
5 |
+
"requires": true,
|
6 |
+
"packages": {
|
7 |
+
"": {
|
8 |
+
"name": "gradio_keyboardtextboxcomponent",
|
9 |
+
"version": "0.1.1",
|
10 |
+
"license": "ISC",
|
11 |
+
"dependencies": {
|
12 |
+
"@gradio/atoms": "0.2.1",
|
13 |
+
"@gradio/icons": "0.2.0",
|
14 |
+
"@gradio/statustracker": "0.3.1",
|
15 |
+
"@gradio/utils": "0.2.0",
|
16 |
+
"svelte-keyboard": "^0.5.5"
|
17 |
+
}
|
18 |
+
},
|
19 |
+
"node_modules/@ampproject/remapping": {
|
20 |
+
"version": "2.2.1",
|
21 |
+
"resolved": "https://registry.npmjs.org/@ampproject/remapping/-/remapping-2.2.1.tgz",
|
22 |
+
"integrity": "sha512-lFMjJTrFL3j7L9yBxwYfCq2k6qqwHyzuUl/XBnif78PWTJYyL/dfowQHWE3sp6U6ZzqWiiIZnpTMO96zhkjwtg==",
|
23 |
+
"peer": true,
|
24 |
+
"dependencies": {
|
25 |
+
"@jridgewell/gen-mapping": "^0.3.0",
|
26 |
+
"@jridgewell/trace-mapping": "^0.3.9"
|
27 |
+
},
|
28 |
+
"engines": {
|
29 |
+
"node": ">=6.0.0"
|
30 |
+
}
|
31 |
+
},
|
32 |
+
"node_modules/@esbuild/android-arm": {
|
33 |
+
"version": "0.19.5",
|
34 |
+
"resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.19.5.tgz",
|
35 |
+
"integrity": "sha512-bhvbzWFF3CwMs5tbjf3ObfGqbl/17ict2/uwOSfr3wmxDE6VdS2GqY/FuzIPe0q0bdhj65zQsvqfArI9MY6+AA==",
|
36 |
+
"cpu": [
|
37 |
+
"arm"
|
38 |
+
],
|
39 |
+
"optional": true,
|
40 |
+
"os": [
|
41 |
+
"android"
|
42 |
+
],
|
43 |
+
"engines": {
|
44 |
+
"node": ">=12"
|
45 |
+
}
|
46 |
+
},
|
47 |
+
"node_modules/@esbuild/android-arm64": {
|
48 |
+
"version": "0.19.5",
|
49 |
+
"resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.19.5.tgz",
|
50 |
+
"integrity": "sha512-5d1OkoJxnYQfmC+Zd8NBFjkhyCNYwM4n9ODrycTFY6Jk1IGiZ+tjVJDDSwDt77nK+tfpGP4T50iMtVi4dEGzhQ==",
|
51 |
+
"cpu": [
|
52 |
+
"arm64"
|
53 |
+
],
|
54 |
+
"optional": true,
|
55 |
+
"os": [
|
56 |
+
"android"
|
57 |
+
],
|
58 |
+
"engines": {
|
59 |
+
"node": ">=12"
|
60 |
+
}
|
61 |
+
},
|
62 |
+
"node_modules/@esbuild/android-x64": {
|
63 |
+
"version": "0.19.5",
|
64 |
+
"resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.19.5.tgz",
|
65 |
+
"integrity": "sha512-9t+28jHGL7uBdkBjL90QFxe7DVA+KGqWlHCF8ChTKyaKO//VLuoBricQCgwhOjA1/qOczsw843Fy4cbs4H3DVA==",
|
66 |
+
"cpu": [
|
67 |
+
"x64"
|
68 |
+
],
|
69 |
+
"optional": true,
|
70 |
+
"os": [
|
71 |
+
"android"
|
72 |
+
],
|
73 |
+
"engines": {
|
74 |
+
"node": ">=12"
|
75 |
+
}
|
76 |
+
},
|
77 |
+
"node_modules/@esbuild/darwin-arm64": {
|
78 |
+
"version": "0.19.5",
|
79 |
+
"resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.19.5.tgz",
|
80 |
+
"integrity": "sha512-mvXGcKqqIqyKoxq26qEDPHJuBYUA5KizJncKOAf9eJQez+L9O+KfvNFu6nl7SCZ/gFb2QPaRqqmG0doSWlgkqw==",
|
81 |
+
"cpu": [
|
82 |
+
"arm64"
|
83 |
+
],
|
84 |
+
"optional": true,
|
85 |
+
"os": [
|
86 |
+
"darwin"
|
87 |
+
],
|
88 |
+
"engines": {
|
89 |
+
"node": ">=12"
|
90 |
+
}
|
91 |
+
},
|
92 |
+
"node_modules/@esbuild/darwin-x64": {
|
93 |
+
"version": "0.19.5",
|
94 |
+
"resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.19.5.tgz",
|
95 |
+
"integrity": "sha512-Ly8cn6fGLNet19s0X4unjcniX24I0RqjPv+kurpXabZYSXGM4Pwpmf85WHJN3lAgB8GSth7s5A0r856S+4DyiA==",
|
96 |
+
"cpu": [
|
97 |
+
"x64"
|
98 |
+
],
|
99 |
+
"optional": true,
|
100 |
+
"os": [
|
101 |
+
"darwin"
|
102 |
+
],
|
103 |
+
"engines": {
|
104 |
+
"node": ">=12"
|
105 |
+
}
|
106 |
+
},
|
107 |
+
"node_modules/@esbuild/freebsd-arm64": {
|
108 |
+
"version": "0.19.5",
|
109 |
+
"resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.19.5.tgz",
|
110 |
+
"integrity": "sha512-GGDNnPWTmWE+DMchq1W8Sd0mUkL+APvJg3b11klSGUDvRXh70JqLAO56tubmq1s2cgpVCSKYywEiKBfju8JztQ==",
|
111 |
+
"cpu": [
|
112 |
+
"arm64"
|
113 |
+
],
|
114 |
+
"optional": true,
|
115 |
+
"os": [
|
116 |
+
"freebsd"
|
117 |
+
],
|
118 |
+
"engines": {
|
119 |
+
"node": ">=12"
|
120 |
+
}
|
121 |
+
},
|
122 |
+
"node_modules/@esbuild/freebsd-x64": {
|
123 |
+
"version": "0.19.5",
|
124 |
+
"resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.19.5.tgz",
|
125 |
+
"integrity": "sha512-1CCwDHnSSoA0HNwdfoNY0jLfJpd7ygaLAp5EHFos3VWJCRX9DMwWODf96s9TSse39Br7oOTLryRVmBoFwXbuuQ==",
|
126 |
+
"cpu": [
|
127 |
+
"x64"
|
128 |
+
],
|
129 |
+
"optional": true,
|
130 |
+
"os": [
|
131 |
+
"freebsd"
|
132 |
+
],
|
133 |
+
"engines": {
|
134 |
+
"node": ">=12"
|
135 |
+
}
|
136 |
+
},
|
137 |
+
"node_modules/@esbuild/linux-arm": {
|
138 |
+
"version": "0.19.5",
|
139 |
+
"resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.19.5.tgz",
|
140 |
+
"integrity": "sha512-lrWXLY/vJBzCPC51QN0HM71uWgIEpGSjSZZADQhq7DKhPcI6NH1IdzjfHkDQws2oNpJKpR13kv7/pFHBbDQDwQ==",
|
141 |
+
"cpu": [
|
142 |
+
"arm"
|
143 |
+
],
|
144 |
+
"optional": true,
|
145 |
+
"os": [
|
146 |
+
"linux"
|
147 |
+
],
|
148 |
+
"engines": {
|
149 |
+
"node": ">=12"
|
150 |
+
}
|
151 |
+
},
|
152 |
+
"node_modules/@esbuild/linux-arm64": {
|
153 |
+
"version": "0.19.5",
|
154 |
+
"resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.19.5.tgz",
|
155 |
+
"integrity": "sha512-o3vYippBmSrjjQUCEEiTZ2l+4yC0pVJD/Dl57WfPwwlvFkrxoSO7rmBZFii6kQB3Wrn/6GwJUPLU5t52eq2meA==",
|
156 |
+
"cpu": [
|
157 |
+
"arm64"
|
158 |
+
],
|
159 |
+
"optional": true,
|
160 |
+
"os": [
|
161 |
+
"linux"
|
162 |
+
],
|
163 |
+
"engines": {
|
164 |
+
"node": ">=12"
|
165 |
+
}
|
166 |
+
},
|
167 |
+
"node_modules/@esbuild/linux-ia32": {
|
168 |
+
"version": "0.19.5",
|
169 |
+
"resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.19.5.tgz",
|
170 |
+
"integrity": "sha512-MkjHXS03AXAkNp1KKkhSKPOCYztRtK+KXDNkBa6P78F8Bw0ynknCSClO/ztGszILZtyO/lVKpa7MolbBZ6oJtQ==",
|
171 |
+
"cpu": [
|
172 |
+
"ia32"
|
173 |
+
],
|
174 |
+
"optional": true,
|
175 |
+
"os": [
|
176 |
+
"linux"
|
177 |
+
],
|
178 |
+
"engines": {
|
179 |
+
"node": ">=12"
|
180 |
+
}
|
181 |
+
},
|
182 |
+
"node_modules/@esbuild/linux-loong64": {
|
183 |
+
"version": "0.19.5",
|
184 |
+
"resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.19.5.tgz",
|
185 |
+
"integrity": "sha512-42GwZMm5oYOD/JHqHska3Jg0r+XFb/fdZRX+WjADm3nLWLcIsN27YKtqxzQmGNJgu0AyXg4HtcSK9HuOk3v1Dw==",
|
186 |
+
"cpu": [
|
187 |
+
"loong64"
|
188 |
+
],
|
189 |
+
"optional": true,
|
190 |
+
"os": [
|
191 |
+
"linux"
|
192 |
+
],
|
193 |
+
"engines": {
|
194 |
+
"node": ">=12"
|
195 |
+
}
|
196 |
+
},
|
197 |
+
"node_modules/@esbuild/linux-mips64el": {
|
198 |
+
"version": "0.19.5",
|
199 |
+
"resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.19.5.tgz",
|
200 |
+
"integrity": "sha512-kcjndCSMitUuPJobWCnwQ9lLjiLZUR3QLQmlgaBfMX23UEa7ZOrtufnRds+6WZtIS9HdTXqND4yH8NLoVVIkcg==",
|
201 |
+
"cpu": [
|
202 |
+
"mips64el"
|
203 |
+
],
|
204 |
+
"optional": true,
|
205 |
+
"os": [
|
206 |
+
"linux"
|
207 |
+
],
|
208 |
+
"engines": {
|
209 |
+
"node": ">=12"
|
210 |
+
}
|
211 |
+
},
|
212 |
+
"node_modules/@esbuild/linux-ppc64": {
|
213 |
+
"version": "0.19.5",
|
214 |
+
"resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.19.5.tgz",
|
215 |
+
"integrity": "sha512-yJAxJfHVm0ZbsiljbtFFP1BQKLc8kUF6+17tjQ78QjqjAQDnhULWiTA6u0FCDmYT1oOKS9PzZ2z0aBI+Mcyj7Q==",
|
216 |
+
"cpu": [
|
217 |
+
"ppc64"
|
218 |
+
],
|
219 |
+
"optional": true,
|
220 |
+
"os": [
|
221 |
+
"linux"
|
222 |
+
],
|
223 |
+
"engines": {
|
224 |
+
"node": ">=12"
|
225 |
+
}
|
226 |
+
},
|
227 |
+
"node_modules/@esbuild/linux-riscv64": {
|
228 |
+
"version": "0.19.5",
|
229 |
+
"resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.19.5.tgz",
|
230 |
+
"integrity": "sha512-5u8cIR/t3gaD6ad3wNt1MNRstAZO+aNyBxu2We8X31bA8XUNyamTVQwLDA1SLoPCUehNCymhBhK3Qim1433Zag==",
|
231 |
+
"cpu": [
|
232 |
+
"riscv64"
|
233 |
+
],
|
234 |
+
"optional": true,
|
235 |
+
"os": [
|
236 |
+
"linux"
|
237 |
+
],
|
238 |
+
"engines": {
|
239 |
+
"node": ">=12"
|
240 |
+
}
|
241 |
+
},
|
242 |
+
"node_modules/@esbuild/linux-s390x": {
|
243 |
+
"version": "0.19.5",
|
244 |
+
"resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.19.5.tgz",
|
245 |
+
"integrity": "sha512-Z6JrMyEw/EmZBD/OFEFpb+gao9xJ59ATsoTNlj39jVBbXqoZm4Xntu6wVmGPB/OATi1uk/DB+yeDPv2E8PqZGw==",
|
246 |
+
"cpu": [
|
247 |
+
"s390x"
|
248 |
+
],
|
249 |
+
"optional": true,
|
250 |
+
"os": [
|
251 |
+
"linux"
|
252 |
+
],
|
253 |
+
"engines": {
|
254 |
+
"node": ">=12"
|
255 |
+
}
|
256 |
+
},
|
257 |
+
"node_modules/@esbuild/linux-x64": {
|
258 |
+
"version": "0.19.5",
|
259 |
+
"resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.19.5.tgz",
|
260 |
+
"integrity": "sha512-psagl+2RlK1z8zWZOmVdImisMtrUxvwereIdyJTmtmHahJTKb64pAcqoPlx6CewPdvGvUKe2Jw+0Z/0qhSbG1A==",
|
261 |
+
"cpu": [
|
262 |
+
"x64"
|
263 |
+
],
|
264 |
+
"optional": true,
|
265 |
+
"os": [
|
266 |
+
"linux"
|
267 |
+
],
|
268 |
+
"engines": {
|
269 |
+
"node": ">=12"
|
270 |
+
}
|
271 |
+
},
|
272 |
+
"node_modules/@esbuild/netbsd-x64": {
|
273 |
+
"version": "0.19.5",
|
274 |
+
"resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.19.5.tgz",
|
275 |
+
"integrity": "sha512-kL2l+xScnAy/E/3119OggX8SrWyBEcqAh8aOY1gr4gPvw76la2GlD4Ymf832UCVbmuWeTf2adkZDK+h0Z/fB4g==",
|
276 |
+
"cpu": [
|
277 |
+
"x64"
|
278 |
+
],
|
279 |
+
"optional": true,
|
280 |
+
"os": [
|
281 |
+
"netbsd"
|
282 |
+
],
|
283 |
+
"engines": {
|
284 |
+
"node": ">=12"
|
285 |
+
}
|
286 |
+
},
|
287 |
+
"node_modules/@esbuild/openbsd-x64": {
|
288 |
+
"version": "0.19.5",
|
289 |
+
"resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.19.5.tgz",
|
290 |
+
"integrity": "sha512-sPOfhtzFufQfTBgRnE1DIJjzsXukKSvZxloZbkJDG383q0awVAq600pc1nfqBcl0ice/WN9p4qLc39WhBShRTA==",
|
291 |
+
"cpu": [
|
292 |
+
"x64"
|
293 |
+
],
|
294 |
+
"optional": true,
|
295 |
+
"os": [
|
296 |
+
"openbsd"
|
297 |
+
],
|
298 |
+
"engines": {
|
299 |
+
"node": ">=12"
|
300 |
+
}
|
301 |
+
},
|
302 |
+
"node_modules/@esbuild/sunos-x64": {
|
303 |
+
"version": "0.19.5",
|
304 |
+
"resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.19.5.tgz",
|
305 |
+
"integrity": "sha512-dGZkBXaafuKLpDSjKcB0ax0FL36YXCvJNnztjKV+6CO82tTYVDSH2lifitJ29jxRMoUhgkg9a+VA/B03WK5lcg==",
|
306 |
+
"cpu": [
|
307 |
+
"x64"
|
308 |
+
],
|
309 |
+
"optional": true,
|
310 |
+
"os": [
|
311 |
+
"sunos"
|
312 |
+
],
|
313 |
+
"engines": {
|
314 |
+
"node": ">=12"
|
315 |
+
}
|
316 |
+
},
|
317 |
+
"node_modules/@esbuild/win32-arm64": {
|
318 |
+
"version": "0.19.5",
|
319 |
+
"resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.19.5.tgz",
|
320 |
+
"integrity": "sha512-dWVjD9y03ilhdRQ6Xig1NWNgfLtf2o/STKTS+eZuF90fI2BhbwD6WlaiCGKptlqXlURVB5AUOxUj09LuwKGDTg==",
|
321 |
+
"cpu": [
|
322 |
+
"arm64"
|
323 |
+
],
|
324 |
+
"optional": true,
|
325 |
+
"os": [
|
326 |
+
"win32"
|
327 |
+
],
|
328 |
+
"engines": {
|
329 |
+
"node": ">=12"
|
330 |
+
}
|
331 |
+
},
|
332 |
+
"node_modules/@esbuild/win32-ia32": {
|
333 |
+
"version": "0.19.5",
|
334 |
+
"resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.19.5.tgz",
|
335 |
+
"integrity": "sha512-4liggWIA4oDgUxqpZwrDhmEfAH4d0iljanDOK7AnVU89T6CzHon/ony8C5LeOdfgx60x5cnQJFZwEydVlYx4iw==",
|
336 |
+
"cpu": [
|
337 |
+
"ia32"
|
338 |
+
],
|
339 |
+
"optional": true,
|
340 |
+
"os": [
|
341 |
+
"win32"
|
342 |
+
],
|
343 |
+
"engines": {
|
344 |
+
"node": ">=12"
|
345 |
+
}
|
346 |
+
},
|
347 |
+
"node_modules/@esbuild/win32-x64": {
|
348 |
+
"version": "0.19.5",
|
349 |
+
"resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.19.5.tgz",
|
350 |
+
"integrity": "sha512-czTrygUsB/jlM8qEW5MD8bgYU2Xg14lo6kBDXW6HdxKjh8M5PzETGiSHaz9MtbXBYDloHNUAUW2tMiKW4KM9Mw==",
|
351 |
+
"cpu": [
|
352 |
+
"x64"
|
353 |
+
],
|
354 |
+
"optional": true,
|
355 |
+
"os": [
|
356 |
+
"win32"
|
357 |
+
],
|
358 |
+
"engines": {
|
359 |
+
"node": ">=12"
|
360 |
+
}
|
361 |
+
},
|
362 |
+
"node_modules/@formatjs/ecma402-abstract": {
|
363 |
+
"version": "1.11.4",
|
364 |
+
"resolved": "https://registry.npmjs.org/@formatjs/ecma402-abstract/-/ecma402-abstract-1.11.4.tgz",
|
365 |
+
"integrity": "sha512-EBikYFp2JCdIfGEb5G9dyCkTGDmC57KSHhRQOC3aYxoPWVZvfWCDjZwkGYHN7Lis/fmuWl906bnNTJifDQ3sXw==",
|
366 |
+
"dependencies": {
|
367 |
+
"@formatjs/intl-localematcher": "0.2.25",
|
368 |
+
"tslib": "^2.1.0"
|
369 |
+
}
|
370 |
+
},
|
371 |
+
"node_modules/@formatjs/fast-memoize": {
|
372 |
+
"version": "1.2.1",
|
373 |
+
"resolved": "https://registry.npmjs.org/@formatjs/fast-memoize/-/fast-memoize-1.2.1.tgz",
|
374 |
+
"integrity": "sha512-Rg0e76nomkz3vF9IPlKeV+Qynok0r7YZjL6syLz4/urSg0IbjPZCB/iYUMNsYA643gh4mgrX3T7KEIFIxJBQeg==",
|
375 |
+
"dependencies": {
|
376 |
+
"tslib": "^2.1.0"
|
377 |
+
}
|
378 |
+
},
|
379 |
+
"node_modules/@formatjs/icu-messageformat-parser": {
|
380 |
+
"version": "2.1.0",
|
381 |
+
"resolved": "https://registry.npmjs.org/@formatjs/icu-messageformat-parser/-/icu-messageformat-parser-2.1.0.tgz",
|
382 |
+
"integrity": "sha512-Qxv/lmCN6hKpBSss2uQ8IROVnta2r9jd3ymUEIjm2UyIkUCHVcbUVRGL/KS/wv7876edvsPe+hjHVJ4z8YuVaw==",
|
383 |
+
"dependencies": {
|
384 |
+
"@formatjs/ecma402-abstract": "1.11.4",
|
385 |
+
"@formatjs/icu-skeleton-parser": "1.3.6",
|
386 |
+
"tslib": "^2.1.0"
|
387 |
+
}
|
388 |
+
},
|
389 |
+
"node_modules/@formatjs/icu-skeleton-parser": {
|
390 |
+
"version": "1.3.6",
|
391 |
+
"resolved": "https://registry.npmjs.org/@formatjs/icu-skeleton-parser/-/icu-skeleton-parser-1.3.6.tgz",
|
392 |
+
"integrity": "sha512-I96mOxvml/YLrwU2Txnd4klA7V8fRhb6JG/4hm3VMNmeJo1F03IpV2L3wWt7EweqNLES59SZ4d6hVOPCSf80Bg==",
|
393 |
+
"dependencies": {
|
394 |
+
"@formatjs/ecma402-abstract": "1.11.4",
|
395 |
+
"tslib": "^2.1.0"
|
396 |
+
}
|
397 |
+
},
|
398 |
+
"node_modules/@formatjs/intl-localematcher": {
|
399 |
+
"version": "0.2.25",
|
400 |
+
"resolved": "https://registry.npmjs.org/@formatjs/intl-localematcher/-/intl-localematcher-0.2.25.tgz",
|
401 |
+
"integrity": "sha512-YmLcX70BxoSopLFdLr1Ds99NdlTI2oWoLbaUW2M406lxOIPzE1KQhRz2fPUkq34xVZQaihCoU29h0KK7An3bhA==",
|
402 |
+
"dependencies": {
|
403 |
+
"tslib": "^2.1.0"
|
404 |
+
}
|
405 |
+
},
|
406 |
+
"node_modules/@gradio/atoms": {
|
407 |
+
"version": "0.2.1",
|
408 |
+
"resolved": "https://registry.npmjs.org/@gradio/atoms/-/atoms-0.2.1.tgz",
|
409 |
+
"integrity": "sha512-di3kKSbjxKGngvTAaqUaA6whOVs5BFlQULlWDPq1m37VRgUD7Oq2MkIE+T+YiNAhByN93pqA0hGrWwAUUuxy5Q==",
|
410 |
+
"dependencies": {
|
411 |
+
"@gradio/icons": "^0.2.0",
|
412 |
+
"@gradio/utils": "^0.2.0"
|
413 |
+
}
|
414 |
+
},
|
415 |
+
"node_modules/@gradio/column": {
|
416 |
+
"version": "0.1.0",
|
417 |
+
"resolved": "https://registry.npmjs.org/@gradio/column/-/column-0.1.0.tgz",
|
418 |
+
"integrity": "sha512-P24nqqVnMXBaDA1f/zSN5HZRho4PxP8Dq+7VltPHlmxIEiZYik2AJ4J0LeuIha34FDO0guu/16evdrpvGIUAfw=="
|
419 |
+
},
|
420 |
+
"node_modules/@gradio/icons": {
|
421 |
+
"version": "0.2.0",
|
422 |
+
"resolved": "https://registry.npmjs.org/@gradio/icons/-/icons-0.2.0.tgz",
|
423 |
+
"integrity": "sha512-rfCSmOF+ALqBOjTWL1ICasyA8JuO0MPwFrtlVMyAWp7R14AN8YChC/gbz5fZ0kNBiGGEYOOfqpKxyvC95jGGlg=="
|
424 |
+
},
|
425 |
+
"node_modules/@gradio/statustracker": {
|
426 |
+
"version": "0.3.1",
|
427 |
+
"resolved": "https://registry.npmjs.org/@gradio/statustracker/-/statustracker-0.3.1.tgz",
|
428 |
+
"integrity": "sha512-ZpmXZSnbgoFU2J54SrNntwfo2OEuEoRV310Q0zGVTH1VL7loziR7GuYhfIbgS8qFlrWM0MhMoLGDX+k7LAig5w==",
|
429 |
+
"dependencies": {
|
430 |
+
"@gradio/atoms": "^0.2.1",
|
431 |
+
"@gradio/column": "^0.1.0",
|
432 |
+
"@gradio/icons": "^0.2.0",
|
433 |
+
"@gradio/utils": "^0.2.0"
|
434 |
+
}
|
435 |
+
},
|
436 |
+
"node_modules/@gradio/theme": {
|
437 |
+
"version": "0.2.0",
|
438 |
+
"resolved": "https://registry.npmjs.org/@gradio/theme/-/theme-0.2.0.tgz",
|
439 |
+
"integrity": "sha512-33c68Nk7oRXLn08OxPfjcPm7S4tXGOUV1I1bVgzdM2YV5o1QBOS1GEnXPZPu/CEYPePLMB6bsDwffrLEyLGWVQ=="
|
440 |
+
},
|
441 |
+
"node_modules/@gradio/utils": {
|
442 |
+
"version": "0.2.0",
|
443 |
+
"resolved": "https://registry.npmjs.org/@gradio/utils/-/utils-0.2.0.tgz",
|
444 |
+
"integrity": "sha512-YkwzXufi6IxQrlMW+1sFo8Yn6F9NLL69ZoBsbo7QEhms0v5L7pmOTw+dfd7M3dwbRP2lgjrb52i1kAIN3n6aqQ==",
|
445 |
+
"dependencies": {
|
446 |
+
"@gradio/theme": "^0.2.0",
|
447 |
+
"svelte-i18n": "^3.6.0"
|
448 |
+
}
|
449 |
+
},
|
450 |
+
"node_modules/@jridgewell/gen-mapping": {
|
451 |
+
"version": "0.3.3",
|
452 |
+
"resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.3.tgz",
|
453 |
+
"integrity": "sha512-HLhSWOLRi875zjjMG/r+Nv0oCW8umGb0BgEhyX3dDX3egwZtB8PqLnjz3yedt8R5StBrzcg4aBpnh8UA9D1BoQ==",
|
454 |
+
"peer": true,
|
455 |
+
"dependencies": {
|
456 |
+
"@jridgewell/set-array": "^1.0.1",
|
457 |
+
"@jridgewell/sourcemap-codec": "^1.4.10",
|
458 |
+
"@jridgewell/trace-mapping": "^0.3.9"
|
459 |
+
},
|
460 |
+
"engines": {
|
461 |
+
"node": ">=6.0.0"
|
462 |
+
}
|
463 |
+
},
|
464 |
+
"node_modules/@jridgewell/resolve-uri": {
|
465 |
+
"version": "3.1.1",
|
466 |
+
"resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.1.tgz",
|
467 |
+
"integrity": "sha512-dSYZh7HhCDtCKm4QakX0xFpsRDqjjtZf/kjI/v3T3Nwt5r8/qz/M19F9ySyOqU94SXBmeG9ttTul+YnR4LOxFA==",
|
468 |
+
"peer": true,
|
469 |
+
"engines": {
|
470 |
+
"node": ">=6.0.0"
|
471 |
+
}
|
472 |
+
},
|
473 |
+
"node_modules/@jridgewell/set-array": {
|
474 |
+
"version": "1.1.2",
|
475 |
+
"resolved": "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.1.2.tgz",
|
476 |
+
"integrity": "sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw==",
|
477 |
+
"peer": true,
|
478 |
+
"engines": {
|
479 |
+
"node": ">=6.0.0"
|
480 |
+
}
|
481 |
+
},
|
482 |
+
"node_modules/@jridgewell/sourcemap-codec": {
|
483 |
+
"version": "1.4.15",
|
484 |
+
"resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.15.tgz",
|
485 |
+
"integrity": "sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==",
|
486 |
+
"peer": true
|
487 |
+
},
|
488 |
+
"node_modules/@jridgewell/trace-mapping": {
|
489 |
+
"version": "0.3.20",
|
490 |
+
"resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.20.tgz",
|
491 |
+
"integrity": "sha512-R8LcPeWZol2zR8mmH3JeKQ6QRCFb7XgUhV9ZlGhHLGyg4wpPiPZNQOOWhFZhxKw8u//yTbNGI42Bx/3paXEQ+Q==",
|
492 |
+
"peer": true,
|
493 |
+
"dependencies": {
|
494 |
+
"@jridgewell/resolve-uri": "^3.1.0",
|
495 |
+
"@jridgewell/sourcemap-codec": "^1.4.14"
|
496 |
+
}
|
497 |
+
},
|
498 |
+
"node_modules/@types/estree": {
|
499 |
+
"version": "1.0.5",
|
500 |
+
"resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.5.tgz",
|
501 |
+
"integrity": "sha512-/kYRxGDLWzHOB7q+wtSUQlFrtcdUccpfy+X+9iMBpHK8QLLhx2wIPYuS5DYtR9Wa/YlZAbIovy7qVdB1Aq6Lyw==",
|
502 |
+
"peer": true
|
503 |
+
},
|
504 |
+
"node_modules/acorn": {
|
505 |
+
"version": "8.11.2",
|
506 |
+
"resolved": "https://registry.npmjs.org/acorn/-/acorn-8.11.2.tgz",
|
507 |
+
"integrity": "sha512-nc0Axzp/0FILLEVsm4fNwLCwMttvhEI263QtVPQcbpfZZ3ts0hLsZGOpE6czNlid7CJ9MlyH8reXkpsf3YUY4w==",
|
508 |
+
"peer": true,
|
509 |
+
"bin": {
|
510 |
+
"acorn": "bin/acorn"
|
511 |
+
},
|
512 |
+
"engines": {
|
513 |
+
"node": ">=0.4.0"
|
514 |
+
}
|
515 |
+
},
|
516 |
+
"node_modules/aria-query": {
|
517 |
+
"version": "5.3.0",
|
518 |
+
"resolved": "https://registry.npmjs.org/aria-query/-/aria-query-5.3.0.tgz",
|
519 |
+
"integrity": "sha512-b0P0sZPKtyu8HkeRAfCq0IfURZK+SuwMjY1UXGBU27wpAiTwQAIlq56IbIO+ytk/JjS1fMR14ee5WBBfKi5J6A==",
|
520 |
+
"peer": true,
|
521 |
+
"dependencies": {
|
522 |
+
"dequal": "^2.0.3"
|
523 |
+
}
|
524 |
+
},
|
525 |
+
"node_modules/axobject-query": {
|
526 |
+
"version": "3.2.1",
|
527 |
+
"resolved": "https://registry.npmjs.org/axobject-query/-/axobject-query-3.2.1.tgz",
|
528 |
+
"integrity": "sha512-jsyHu61e6N4Vbz/v18DHwWYKK0bSWLqn47eeDSKPB7m8tqMHF9YJ+mhIk2lVteyZrY8tnSj/jHOv4YiTCuCJgg==",
|
529 |
+
"peer": true,
|
530 |
+
"dependencies": {
|
531 |
+
"dequal": "^2.0.3"
|
532 |
+
}
|
533 |
+
},
|
534 |
+
"node_modules/cli-color": {
|
535 |
+
"version": "2.0.3",
|
536 |
+
"resolved": "https://registry.npmjs.org/cli-color/-/cli-color-2.0.3.tgz",
|
537 |
+
"integrity": "sha512-OkoZnxyC4ERN3zLzZaY9Emb7f/MhBOIpePv0Ycok0fJYT+Ouo00UBEIwsVsr0yoow++n5YWlSUgST9GKhNHiRQ==",
|
538 |
+
"dependencies": {
|
539 |
+
"d": "^1.0.1",
|
540 |
+
"es5-ext": "^0.10.61",
|
541 |
+
"es6-iterator": "^2.0.3",
|
542 |
+
"memoizee": "^0.4.15",
|
543 |
+
"timers-ext": "^0.1.7"
|
544 |
+
},
|
545 |
+
"engines": {
|
546 |
+
"node": ">=0.10"
|
547 |
+
}
|
548 |
+
},
|
549 |
+
"node_modules/code-red": {
|
550 |
+
"version": "1.0.4",
|
551 |
+
"resolved": "https://registry.npmjs.org/code-red/-/code-red-1.0.4.tgz",
|
552 |
+
"integrity": "sha512-7qJWqItLA8/VPVlKJlFXU+NBlo/qyfs39aJcuMT/2ere32ZqvF5OSxgdM5xOfJJ7O429gg2HM47y8v9P+9wrNw==",
|
553 |
+
"peer": true,
|
554 |
+
"dependencies": {
|
555 |
+
"@jridgewell/sourcemap-codec": "^1.4.15",
|
556 |
+
"@types/estree": "^1.0.1",
|
557 |
+
"acorn": "^8.10.0",
|
558 |
+
"estree-walker": "^3.0.3",
|
559 |
+
"periscopic": "^3.1.0"
|
560 |
+
}
|
561 |
+
},
|
562 |
+
"node_modules/css-tree": {
|
563 |
+
"version": "2.3.1",
|
564 |
+
"resolved": "https://registry.npmjs.org/css-tree/-/css-tree-2.3.1.tgz",
|
565 |
+
"integrity": "sha512-6Fv1DV/TYw//QF5IzQdqsNDjx/wc8TrMBZsqjL9eW01tWb7R7k/mq+/VXfJCl7SoD5emsJop9cOByJZfs8hYIw==",
|
566 |
+
"peer": true,
|
567 |
+
"dependencies": {
|
568 |
+
"mdn-data": "2.0.30",
|
569 |
+
"source-map-js": "^1.0.1"
|
570 |
+
},
|
571 |
+
"engines": {
|
572 |
+
"node": "^10 || ^12.20.0 || ^14.13.0 || >=15.0.0"
|
573 |
+
}
|
574 |
+
},
|
575 |
+
"node_modules/d": {
|
576 |
+
"version": "1.0.1",
|
577 |
+
"resolved": "https://registry.npmjs.org/d/-/d-1.0.1.tgz",
|
578 |
+
"integrity": "sha512-m62ShEObQ39CfralilEQRjH6oAMtNCV1xJyEx5LpRYUVN+EviphDgUc/F3hnYbADmkiNs67Y+3ylmlG7Lnu+FA==",
|
579 |
+
"dependencies": {
|
580 |
+
"es5-ext": "^0.10.50",
|
581 |
+
"type": "^1.0.1"
|
582 |
+
}
|
583 |
+
},
|
584 |
+
"node_modules/deepmerge": {
|
585 |
+
"version": "4.3.1",
|
586 |
+
"resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-4.3.1.tgz",
|
587 |
+
"integrity": "sha512-3sUqbMEc77XqpdNO7FRyRog+eW3ph+GYCbj+rK+uYyRMuwsVy0rMiVtPn+QJlKFvWP/1PYpapqYn0Me2knFn+A==",
|
588 |
+
"engines": {
|
589 |
+
"node": ">=0.10.0"
|
590 |
+
}
|
591 |
+
},
|
592 |
+
"node_modules/dequal": {
|
593 |
+
"version": "2.0.3",
|
594 |
+
"resolved": "https://registry.npmjs.org/dequal/-/dequal-2.0.3.tgz",
|
595 |
+
"integrity": "sha512-0je+qPKHEMohvfRTCEo3CrPG6cAzAYgmzKyxRiYSSDkS6eGJdyVJm7WaYA5ECaAD9wLB2T4EEeymA5aFVcYXCA==",
|
596 |
+
"peer": true,
|
597 |
+
"engines": {
|
598 |
+
"node": ">=6"
|
599 |
+
}
|
600 |
+
},
|
601 |
+
"node_modules/es5-ext": {
|
602 |
+
"version": "0.10.62",
|
603 |
+
"resolved": "https://registry.npmjs.org/es5-ext/-/es5-ext-0.10.62.tgz",
|
604 |
+
"integrity": "sha512-BHLqn0klhEpnOKSrzn/Xsz2UIW8j+cGmo9JLzr8BiUapV8hPL9+FliFqjwr9ngW7jWdnxv6eO+/LqyhJVqgrjA==",
|
605 |
+
"hasInstallScript": true,
|
606 |
+
"dependencies": {
|
607 |
+
"es6-iterator": "^2.0.3",
|
608 |
+
"es6-symbol": "^3.1.3",
|
609 |
+
"next-tick": "^1.1.0"
|
610 |
+
},
|
611 |
+
"engines": {
|
612 |
+
"node": ">=0.10"
|
613 |
+
}
|
614 |
+
},
|
615 |
+
"node_modules/es6-iterator": {
|
616 |
+
"version": "2.0.3",
|
617 |
+
"resolved": "https://registry.npmjs.org/es6-iterator/-/es6-iterator-2.0.3.tgz",
|
618 |
+
"integrity": "sha512-zw4SRzoUkd+cl+ZoE15A9o1oQd920Bb0iOJMQkQhl3jNc03YqVjAhG7scf9C5KWRU/R13Orf588uCC6525o02g==",
|
619 |
+
"dependencies": {
|
620 |
+
"d": "1",
|
621 |
+
"es5-ext": "^0.10.35",
|
622 |
+
"es6-symbol": "^3.1.1"
|
623 |
+
}
|
624 |
+
},
|
625 |
+
"node_modules/es6-symbol": {
|
626 |
+
"version": "3.1.3",
|
627 |
+
"resolved": "https://registry.npmjs.org/es6-symbol/-/es6-symbol-3.1.3.tgz",
|
628 |
+
"integrity": "sha512-NJ6Yn3FuDinBaBRWl/q5X/s4koRHBrgKAu+yGI6JCBeiu3qrcbJhwT2GeR/EXVfylRk8dpQVJoLEFhK+Mu31NA==",
|
629 |
+
"dependencies": {
|
630 |
+
"d": "^1.0.1",
|
631 |
+
"ext": "^1.1.2"
|
632 |
+
}
|
633 |
+
},
|
634 |
+
"node_modules/es6-weak-map": {
|
635 |
+
"version": "2.0.3",
|
636 |
+
"resolved": "https://registry.npmjs.org/es6-weak-map/-/es6-weak-map-2.0.3.tgz",
|
637 |
+
"integrity": "sha512-p5um32HOTO1kP+w7PRnB+5lQ43Z6muuMuIMffvDN8ZB4GcnjLBV6zGStpbASIMk4DCAvEaamhe2zhyCb/QXXsA==",
|
638 |
+
"dependencies": {
|
639 |
+
"d": "1",
|
640 |
+
"es5-ext": "^0.10.46",
|
641 |
+
"es6-iterator": "^2.0.3",
|
642 |
+
"es6-symbol": "^3.1.1"
|
643 |
+
}
|
644 |
+
},
|
645 |
+
"node_modules/esbuild": {
|
646 |
+
"version": "0.19.5",
|
647 |
+
"resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.19.5.tgz",
|
648 |
+
"integrity": "sha512-bUxalY7b1g8vNhQKdB24QDmHeY4V4tw/s6Ak5z+jJX9laP5MoQseTOMemAr0gxssjNcH0MCViG8ONI2kksvfFQ==",
|
649 |
+
"hasInstallScript": true,
|
650 |
+
"bin": {
|
651 |
+
"esbuild": "bin/esbuild"
|
652 |
+
},
|
653 |
+
"engines": {
|
654 |
+
"node": ">=12"
|
655 |
+
},
|
656 |
+
"optionalDependencies": {
|
657 |
+
"@esbuild/android-arm": "0.19.5",
|
658 |
+
"@esbuild/android-arm64": "0.19.5",
|
659 |
+
"@esbuild/android-x64": "0.19.5",
|
660 |
+
"@esbuild/darwin-arm64": "0.19.5",
|
661 |
+
"@esbuild/darwin-x64": "0.19.5",
|
662 |
+
"@esbuild/freebsd-arm64": "0.19.5",
|
663 |
+
"@esbuild/freebsd-x64": "0.19.5",
|
664 |
+
"@esbuild/linux-arm": "0.19.5",
|
665 |
+
"@esbuild/linux-arm64": "0.19.5",
|
666 |
+
"@esbuild/linux-ia32": "0.19.5",
|
667 |
+
"@esbuild/linux-loong64": "0.19.5",
|
668 |
+
"@esbuild/linux-mips64el": "0.19.5",
|
669 |
+
"@esbuild/linux-ppc64": "0.19.5",
|
670 |
+
"@esbuild/linux-riscv64": "0.19.5",
|
671 |
+
"@esbuild/linux-s390x": "0.19.5",
|
672 |
+
"@esbuild/linux-x64": "0.19.5",
|
673 |
+
"@esbuild/netbsd-x64": "0.19.5",
|
674 |
+
"@esbuild/openbsd-x64": "0.19.5",
|
675 |
+
"@esbuild/sunos-x64": "0.19.5",
|
676 |
+
"@esbuild/win32-arm64": "0.19.5",
|
677 |
+
"@esbuild/win32-ia32": "0.19.5",
|
678 |
+
"@esbuild/win32-x64": "0.19.5"
|
679 |
+
}
|
680 |
+
},
|
681 |
+
"node_modules/estree-walker": {
|
682 |
+
"version": "3.0.3",
|
683 |
+
"resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-3.0.3.tgz",
|
684 |
+
"integrity": "sha512-7RUKfXgSMMkzt6ZuXmqapOurLGPPfgj6l9uRZ7lRGolvk0y2yocc35LdcxKC5PQZdn2DMqioAQ2NoWcrTKmm6g==",
|
685 |
+
"peer": true,
|
686 |
+
"dependencies": {
|
687 |
+
"@types/estree": "^1.0.0"
|
688 |
+
}
|
689 |
+
},
|
690 |
+
"node_modules/event-emitter": {
|
691 |
+
"version": "0.3.5",
|
692 |
+
"resolved": "https://registry.npmjs.org/event-emitter/-/event-emitter-0.3.5.tgz",
|
693 |
+
"integrity": "sha512-D9rRn9y7kLPnJ+hMq7S/nhvoKwwvVJahBi2BPmx3bvbsEdK3W9ii8cBSGjP+72/LnM4n6fo3+dkCX5FeTQruXA==",
|
694 |
+
"dependencies": {
|
695 |
+
"d": "1",
|
696 |
+
"es5-ext": "~0.10.14"
|
697 |
+
}
|
698 |
+
},
|
699 |
+
"node_modules/ext": {
|
700 |
+
"version": "1.7.0",
|
701 |
+
"resolved": "https://registry.npmjs.org/ext/-/ext-1.7.0.tgz",
|
702 |
+
"integrity": "sha512-6hxeJYaL110a9b5TEJSj0gojyHQAmA2ch5Os+ySCiA1QGdS697XWY1pzsrSjqA9LDEEgdB/KypIlR59RcLuHYw==",
|
703 |
+
"dependencies": {
|
704 |
+
"type": "^2.7.2"
|
705 |
+
}
|
706 |
+
},
|
707 |
+
"node_modules/ext/node_modules/type": {
|
708 |
+
"version": "2.7.2",
|
709 |
+
"resolved": "https://registry.npmjs.org/type/-/type-2.7.2.tgz",
|
710 |
+
"integrity": "sha512-dzlvlNlt6AXU7EBSfpAscydQ7gXB+pPGsPnfJnZpiNJBDj7IaJzQlBZYGdEi4R9HmPdBv2XmWJ6YUtoTa7lmCw=="
|
711 |
+
},
|
712 |
+
"node_modules/globalyzer": {
|
713 |
+
"version": "0.1.0",
|
714 |
+
"resolved": "https://registry.npmjs.org/globalyzer/-/globalyzer-0.1.0.tgz",
|
715 |
+
"integrity": "sha512-40oNTM9UfG6aBmuKxk/giHn5nQ8RVz/SS4Ir6zgzOv9/qC3kKZ9v4etGTcJbEl/NyVQH7FGU7d+X1egr57Md2Q=="
|
716 |
+
},
|
717 |
+
"node_modules/globrex": {
|
718 |
+
"version": "0.1.2",
|
719 |
+
"resolved": "https://registry.npmjs.org/globrex/-/globrex-0.1.2.tgz",
|
720 |
+
"integrity": "sha512-uHJgbwAMwNFf5mLst7IWLNg14x1CkeqglJb/K3doi4dw6q2IvAAmM/Y81kevy83wP+Sst+nutFTYOGg3d1lsxg=="
|
721 |
+
},
|
722 |
+
"node_modules/intl-messageformat": {
|
723 |
+
"version": "9.13.0",
|
724 |
+
"resolved": "https://registry.npmjs.org/intl-messageformat/-/intl-messageformat-9.13.0.tgz",
|
725 |
+
"integrity": "sha512-7sGC7QnSQGa5LZP7bXLDhVDtQOeKGeBFGHF2Y8LVBwYZoQZCgWeKoPGTa5GMG8g/TzDgeXuYJQis7Ggiw2xTOw==",
|
726 |
+
"dependencies": {
|
727 |
+
"@formatjs/ecma402-abstract": "1.11.4",
|
728 |
+
"@formatjs/fast-memoize": "1.2.1",
|
729 |
+
"@formatjs/icu-messageformat-parser": "2.1.0",
|
730 |
+
"tslib": "^2.1.0"
|
731 |
+
}
|
732 |
+
},
|
733 |
+
"node_modules/is-promise": {
|
734 |
+
"version": "2.2.2",
|
735 |
+
"resolved": "https://registry.npmjs.org/is-promise/-/is-promise-2.2.2.tgz",
|
736 |
+
"integrity": "sha512-+lP4/6lKUBfQjZ2pdxThZvLUAafmZb8OAxFb8XXtiQmS35INgr85hdOGoEs124ez1FCnZJt6jau/T+alh58QFQ=="
|
737 |
+
},
|
738 |
+
"node_modules/is-reference": {
|
739 |
+
"version": "3.0.2",
|
740 |
+
"resolved": "https://registry.npmjs.org/is-reference/-/is-reference-3.0.2.tgz",
|
741 |
+
"integrity": "sha512-v3rht/LgVcsdZa3O2Nqs+NMowLOxeOm7Ay9+/ARQ2F+qEoANRcqrjAZKGN0v8ymUetZGgkp26LTnGT7H0Qo9Pg==",
|
742 |
+
"peer": true,
|
743 |
+
"dependencies": {
|
744 |
+
"@types/estree": "*"
|
745 |
+
}
|
746 |
+
},
|
747 |
+
"node_modules/locate-character": {
|
748 |
+
"version": "3.0.0",
|
749 |
+
"resolved": "https://registry.npmjs.org/locate-character/-/locate-character-3.0.0.tgz",
|
750 |
+
"integrity": "sha512-SW13ws7BjaeJ6p7Q6CO2nchbYEc3X3J6WrmTTDto7yMPqVSZTUyY5Tjbid+Ab8gLnATtygYtiDIJGQRRn2ZOiA==",
|
751 |
+
"peer": true
|
752 |
+
},
|
753 |
+
"node_modules/lru-queue": {
|
754 |
+
"version": "0.1.0",
|
755 |
+
"resolved": "https://registry.npmjs.org/lru-queue/-/lru-queue-0.1.0.tgz",
|
756 |
+
"integrity": "sha512-BpdYkt9EvGl8OfWHDQPISVpcl5xZthb+XPsbELj5AQXxIC8IriDZIQYjBJPEm5rS420sjZ0TLEzRcq5KdBhYrQ==",
|
757 |
+
"dependencies": {
|
758 |
+
"es5-ext": "~0.10.2"
|
759 |
+
}
|
760 |
+
},
|
761 |
+
"node_modules/magic-string": {
|
762 |
+
"version": "0.30.5",
|
763 |
+
"resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.5.tgz",
|
764 |
+
"integrity": "sha512-7xlpfBaQaP/T6Vh8MO/EqXSW5En6INHEvEXQiuff7Gku0PWjU3uf6w/j9o7O+SpB5fOAkrI5HeoNgwjEO0pFsA==",
|
765 |
+
"peer": true,
|
766 |
+
"dependencies": {
|
767 |
+
"@jridgewell/sourcemap-codec": "^1.4.15"
|
768 |
+
},
|
769 |
+
"engines": {
|
770 |
+
"node": ">=12"
|
771 |
+
}
|
772 |
+
},
|
773 |
+
"node_modules/mdn-data": {
|
774 |
+
"version": "2.0.30",
|
775 |
+
"resolved": "https://registry.npmjs.org/mdn-data/-/mdn-data-2.0.30.tgz",
|
776 |
+
"integrity": "sha512-GaqWWShW4kv/G9IEucWScBx9G1/vsFZZJUO+tD26M8J8z3Kw5RDQjaoZe03YAClgeS/SWPOcb4nkFBTEi5DUEA==",
|
777 |
+
"peer": true
|
778 |
+
},
|
779 |
+
"node_modules/memoizee": {
|
780 |
+
"version": "0.4.15",
|
781 |
+
"resolved": "https://registry.npmjs.org/memoizee/-/memoizee-0.4.15.tgz",
|
782 |
+
"integrity": "sha512-UBWmJpLZd5STPm7PMUlOw/TSy972M+z8gcyQ5veOnSDRREz/0bmpyTfKt3/51DhEBqCZQn1udM/5flcSPYhkdQ==",
|
783 |
+
"dependencies": {
|
784 |
+
"d": "^1.0.1",
|
785 |
+
"es5-ext": "^0.10.53",
|
786 |
+
"es6-weak-map": "^2.0.3",
|
787 |
+
"event-emitter": "^0.3.5",
|
788 |
+
"is-promise": "^2.2.2",
|
789 |
+
"lru-queue": "^0.1.0",
|
790 |
+
"next-tick": "^1.1.0",
|
791 |
+
"timers-ext": "^0.1.7"
|
792 |
+
}
|
793 |
+
},
|
794 |
+
"node_modules/mri": {
|
795 |
+
"version": "1.2.0",
|
796 |
+
"resolved": "https://registry.npmjs.org/mri/-/mri-1.2.0.tgz",
|
797 |
+
"integrity": "sha512-tzzskb3bG8LvYGFF/mDTpq3jpI6Q9wc3LEmBaghu+DdCssd1FakN7Bc0hVNmEyGq1bq3RgfkCb3cmQLpNPOroA==",
|
798 |
+
"engines": {
|
799 |
+
"node": ">=4"
|
800 |
+
}
|
801 |
+
},
|
802 |
+
"node_modules/next-tick": {
|
803 |
+
"version": "1.1.0",
|
804 |
+
"resolved": "https://registry.npmjs.org/next-tick/-/next-tick-1.1.0.tgz",
|
805 |
+
"integrity": "sha512-CXdUiJembsNjuToQvxayPZF9Vqht7hewsvy2sOWafLvi2awflj9mOC6bHIg50orX8IJvWKY9wYQ/zB2kogPslQ=="
|
806 |
+
},
|
807 |
+
"node_modules/periscopic": {
|
808 |
+
"version": "3.1.0",
|
809 |
+
"resolved": "https://registry.npmjs.org/periscopic/-/periscopic-3.1.0.tgz",
|
810 |
+
"integrity": "sha512-vKiQ8RRtkl9P+r/+oefh25C3fhybptkHKCZSPlcXiJux2tJF55GnEj3BVn4A5gKfq9NWWXXrxkHBwVPUfH0opw==",
|
811 |
+
"peer": true,
|
812 |
+
"dependencies": {
|
813 |
+
"@types/estree": "^1.0.0",
|
814 |
+
"estree-walker": "^3.0.0",
|
815 |
+
"is-reference": "^3.0.0"
|
816 |
+
}
|
817 |
+
},
|
818 |
+
"node_modules/sade": {
|
819 |
+
"version": "1.8.1",
|
820 |
+
"resolved": "https://registry.npmjs.org/sade/-/sade-1.8.1.tgz",
|
821 |
+
"integrity": "sha512-xal3CZX1Xlo/k4ApwCFrHVACi9fBqJ7V+mwhBsuf/1IOKbBy098Fex+Wa/5QMubw09pSZ/u8EY8PWgevJsXp1A==",
|
822 |
+
"dependencies": {
|
823 |
+
"mri": "^1.1.0"
|
824 |
+
},
|
825 |
+
"engines": {
|
826 |
+
"node": ">=6"
|
827 |
+
}
|
828 |
+
},
|
829 |
+
"node_modules/source-map-js": {
|
830 |
+
"version": "1.0.2",
|
831 |
+
"resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.0.2.tgz",
|
832 |
+
"integrity": "sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==",
|
833 |
+
"peer": true,
|
834 |
+
"engines": {
|
835 |
+
"node": ">=0.10.0"
|
836 |
+
}
|
837 |
+
},
|
838 |
+
"node_modules/svelte": {
|
839 |
+
"version": "4.2.2",
|
840 |
+
"resolved": "https://registry.npmjs.org/svelte/-/svelte-4.2.2.tgz",
|
841 |
+
"integrity": "sha512-My2tytF2e2NnHSpn2M7/3VdXT4JdTglYVUuSuK/mXL2XtulPYbeBfl8Dm1QiaKRn0zoULRnL+EtfZHHP0k4H3A==",
|
842 |
+
"peer": true,
|
843 |
+
"dependencies": {
|
844 |
+
"@ampproject/remapping": "^2.2.1",
|
845 |
+
"@jridgewell/sourcemap-codec": "^1.4.15",
|
846 |
+
"@jridgewell/trace-mapping": "^0.3.18",
|
847 |
+
"acorn": "^8.9.0",
|
848 |
+
"aria-query": "^5.3.0",
|
849 |
+
"axobject-query": "^3.2.1",
|
850 |
+
"code-red": "^1.0.3",
|
851 |
+
"css-tree": "^2.3.1",
|
852 |
+
"estree-walker": "^3.0.3",
|
853 |
+
"is-reference": "^3.0.1",
|
854 |
+
"locate-character": "^3.0.0",
|
855 |
+
"magic-string": "^0.30.4",
|
856 |
+
"periscopic": "^3.1.0"
|
857 |
+
},
|
858 |
+
"engines": {
|
859 |
+
"node": ">=16"
|
860 |
+
}
|
861 |
+
},
|
862 |
+
"node_modules/svelte-i18n": {
|
863 |
+
"version": "3.7.4",
|
864 |
+
"resolved": "https://registry.npmjs.org/svelte-i18n/-/svelte-i18n-3.7.4.tgz",
|
865 |
+
"integrity": "sha512-yGRCNo+eBT4cPuU7IVsYTYjxB7I2V8qgUZPlHnNctJj5IgbJgV78flsRzpjZ/8iUYZrS49oCt7uxlU3AZv/N5Q==",
|
866 |
+
"dependencies": {
|
867 |
+
"cli-color": "^2.0.3",
|
868 |
+
"deepmerge": "^4.2.2",
|
869 |
+
"esbuild": "^0.19.2",
|
870 |
+
"estree-walker": "^2",
|
871 |
+
"intl-messageformat": "^9.13.0",
|
872 |
+
"sade": "^1.8.1",
|
873 |
+
"tiny-glob": "^0.2.9"
|
874 |
+
},
|
875 |
+
"bin": {
|
876 |
+
"svelte-i18n": "dist/cli.js"
|
877 |
+
},
|
878 |
+
"engines": {
|
879 |
+
"node": ">= 16"
|
880 |
+
},
|
881 |
+
"peerDependencies": {
|
882 |
+
"svelte": "^3 || ^4"
|
883 |
+
}
|
884 |
+
},
|
885 |
+
"node_modules/svelte-i18n/node_modules/estree-walker": {
|
886 |
+
"version": "2.0.2",
|
887 |
+
"resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-2.0.2.tgz",
|
888 |
+
"integrity": "sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w=="
|
889 |
+
},
|
890 |
+
"node_modules/svelte-keyboard": {
|
891 |
+
"version": "0.5.5",
|
892 |
+
"resolved": "https://registry.npmjs.org/svelte-keyboard/-/svelte-keyboard-0.5.5.tgz",
|
893 |
+
"integrity": "sha512-yxtQBhz2wMy8qf60pW3VRI7Pwvv3X7+MHeaZZA0rq3fnFPDPOXZq6FF7GhF9NmL4dm4bWu/c8YfYnwsaNcpmRg=="
|
894 |
+
},
|
895 |
+
"node_modules/timers-ext": {
|
896 |
+
"version": "0.1.7",
|
897 |
+
"resolved": "https://registry.npmjs.org/timers-ext/-/timers-ext-0.1.7.tgz",
|
898 |
+
"integrity": "sha512-b85NUNzTSdodShTIbky6ZF02e8STtVVfD+fu4aXXShEELpozH+bCpJLYMPZbsABN2wDH7fJpqIoXxJpzbf0NqQ==",
|
899 |
+
"dependencies": {
|
900 |
+
"es5-ext": "~0.10.46",
|
901 |
+
"next-tick": "1"
|
902 |
+
}
|
903 |
+
},
|
904 |
+
"node_modules/tiny-glob": {
|
905 |
+
"version": "0.2.9",
|
906 |
+
"resolved": "https://registry.npmjs.org/tiny-glob/-/tiny-glob-0.2.9.tgz",
|
907 |
+
"integrity": "sha512-g/55ssRPUjShh+xkfx9UPDXqhckHEsHr4Vd9zX55oSdGZc/MD0m3sferOkwWtp98bv+kcVfEHtRJgBVJzelrzg==",
|
908 |
+
"dependencies": {
|
909 |
+
"globalyzer": "0.1.0",
|
910 |
+
"globrex": "^0.1.2"
|
911 |
+
}
|
912 |
+
},
|
913 |
+
"node_modules/tslib": {
|
914 |
+
"version": "2.6.2",
|
915 |
+
"resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz",
|
916 |
+
"integrity": "sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q=="
|
917 |
+
},
|
918 |
+
"node_modules/type": {
|
919 |
+
"version": "1.2.0",
|
920 |
+
"resolved": "https://registry.npmjs.org/type/-/type-1.2.0.tgz",
|
921 |
+
"integrity": "sha512-+5nt5AAniqsCnu2cEQQdpzCAh33kVx8n0VoFidKpB1dVVLAN/F+bgVOqOJqOnEnrhp222clB5p3vUlD+1QAnfg=="
|
922 |
+
}
|
923 |
+
},
|
924 |
+
"dependencies": {
|
925 |
+
"@ampproject/remapping": {
|
926 |
+
"version": "2.2.1",
|
927 |
+
"resolved": "https://registry.npmjs.org/@ampproject/remapping/-/remapping-2.2.1.tgz",
|
928 |
+
"integrity": "sha512-lFMjJTrFL3j7L9yBxwYfCq2k6qqwHyzuUl/XBnif78PWTJYyL/dfowQHWE3sp6U6ZzqWiiIZnpTMO96zhkjwtg==",
|
929 |
+
"peer": true,
|
930 |
+
"requires": {
|
931 |
+
"@jridgewell/gen-mapping": "^0.3.0",
|
932 |
+
"@jridgewell/trace-mapping": "^0.3.9"
|
933 |
+
}
|
934 |
+
},
|
935 |
+
"@esbuild/android-arm": {
|
936 |
+
"version": "0.19.5",
|
937 |
+
"resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.19.5.tgz",
|
938 |
+
"integrity": "sha512-bhvbzWFF3CwMs5tbjf3ObfGqbl/17ict2/uwOSfr3wmxDE6VdS2GqY/FuzIPe0q0bdhj65zQsvqfArI9MY6+AA==",
|
939 |
+
"optional": true
|
940 |
+
},
|
941 |
+
"@esbuild/android-arm64": {
|
942 |
+
"version": "0.19.5",
|
943 |
+
"resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.19.5.tgz",
|
944 |
+
"integrity": "sha512-5d1OkoJxnYQfmC+Zd8NBFjkhyCNYwM4n9ODrycTFY6Jk1IGiZ+tjVJDDSwDt77nK+tfpGP4T50iMtVi4dEGzhQ==",
|
945 |
+
"optional": true
|
946 |
+
},
|
947 |
+
"@esbuild/android-x64": {
|
948 |
+
"version": "0.19.5",
|
949 |
+
"resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.19.5.tgz",
|
950 |
+
"integrity": "sha512-9t+28jHGL7uBdkBjL90QFxe7DVA+KGqWlHCF8ChTKyaKO//VLuoBricQCgwhOjA1/qOczsw843Fy4cbs4H3DVA==",
|
951 |
+
"optional": true
|
952 |
+
},
|
953 |
+
"@esbuild/darwin-arm64": {
|
954 |
+
"version": "0.19.5",
|
955 |
+
"resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.19.5.tgz",
|
956 |
+
"integrity": "sha512-mvXGcKqqIqyKoxq26qEDPHJuBYUA5KizJncKOAf9eJQez+L9O+KfvNFu6nl7SCZ/gFb2QPaRqqmG0doSWlgkqw==",
|
957 |
+
"optional": true
|
958 |
+
},
|
959 |
+
"@esbuild/darwin-x64": {
|
960 |
+
"version": "0.19.5",
|
961 |
+
"resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.19.5.tgz",
|
962 |
+
"integrity": "sha512-Ly8cn6fGLNet19s0X4unjcniX24I0RqjPv+kurpXabZYSXGM4Pwpmf85WHJN3lAgB8GSth7s5A0r856S+4DyiA==",
|
963 |
+
"optional": true
|
964 |
+
},
|
965 |
+
"@esbuild/freebsd-arm64": {
|
966 |
+
"version": "0.19.5",
|
967 |
+
"resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.19.5.tgz",
|
968 |
+
"integrity": "sha512-GGDNnPWTmWE+DMchq1W8Sd0mUkL+APvJg3b11klSGUDvRXh70JqLAO56tubmq1s2cgpVCSKYywEiKBfju8JztQ==",
|
969 |
+
"optional": true
|
970 |
+
},
|
971 |
+
"@esbuild/freebsd-x64": {
|
972 |
+
"version": "0.19.5",
|
973 |
+
"resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.19.5.tgz",
|
974 |
+
"integrity": "sha512-1CCwDHnSSoA0HNwdfoNY0jLfJpd7ygaLAp5EHFos3VWJCRX9DMwWODf96s9TSse39Br7oOTLryRVmBoFwXbuuQ==",
|
975 |
+
"optional": true
|
976 |
+
},
|
977 |
+
"@esbuild/linux-arm": {
|
978 |
+
"version": "0.19.5",
|
979 |
+
"resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.19.5.tgz",
|
980 |
+
"integrity": "sha512-lrWXLY/vJBzCPC51QN0HM71uWgIEpGSjSZZADQhq7DKhPcI6NH1IdzjfHkDQws2oNpJKpR13kv7/pFHBbDQDwQ==",
|
981 |
+
"optional": true
|
982 |
+
},
|
983 |
+
"@esbuild/linux-arm64": {
|
984 |
+
"version": "0.19.5",
|
985 |
+
"resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.19.5.tgz",
|
986 |
+
"integrity": "sha512-o3vYippBmSrjjQUCEEiTZ2l+4yC0pVJD/Dl57WfPwwlvFkrxoSO7rmBZFii6kQB3Wrn/6GwJUPLU5t52eq2meA==",
|
987 |
+
"optional": true
|
988 |
+
},
|
989 |
+
"@esbuild/linux-ia32": {
|
990 |
+
"version": "0.19.5",
|
991 |
+
"resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.19.5.tgz",
|
992 |
+
"integrity": "sha512-MkjHXS03AXAkNp1KKkhSKPOCYztRtK+KXDNkBa6P78F8Bw0ynknCSClO/ztGszILZtyO/lVKpa7MolbBZ6oJtQ==",
|
993 |
+
"optional": true
|
994 |
+
},
|
995 |
+
"@esbuild/linux-loong64": {
|
996 |
+
"version": "0.19.5",
|
997 |
+
"resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.19.5.tgz",
|
998 |
+
"integrity": "sha512-42GwZMm5oYOD/JHqHska3Jg0r+XFb/fdZRX+WjADm3nLWLcIsN27YKtqxzQmGNJgu0AyXg4HtcSK9HuOk3v1Dw==",
|
999 |
+
"optional": true
|
1000 |
+
},
|
1001 |
+
"@esbuild/linux-mips64el": {
|
1002 |
+
"version": "0.19.5",
|
1003 |
+
"resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.19.5.tgz",
|
1004 |
+
"integrity": "sha512-kcjndCSMitUuPJobWCnwQ9lLjiLZUR3QLQmlgaBfMX23UEa7ZOrtufnRds+6WZtIS9HdTXqND4yH8NLoVVIkcg==",
|
1005 |
+
"optional": true
|
1006 |
+
},
|
1007 |
+
"@esbuild/linux-ppc64": {
|
1008 |
+
"version": "0.19.5",
|
1009 |
+
"resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.19.5.tgz",
|
1010 |
+
"integrity": "sha512-yJAxJfHVm0ZbsiljbtFFP1BQKLc8kUF6+17tjQ78QjqjAQDnhULWiTA6u0FCDmYT1oOKS9PzZ2z0aBI+Mcyj7Q==",
|
1011 |
+
"optional": true
|
1012 |
+
},
|
1013 |
+
"@esbuild/linux-riscv64": {
|
1014 |
+
"version": "0.19.5",
|
1015 |
+
"resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.19.5.tgz",
|
1016 |
+
"integrity": "sha512-5u8cIR/t3gaD6ad3wNt1MNRstAZO+aNyBxu2We8X31bA8XUNyamTVQwLDA1SLoPCUehNCymhBhK3Qim1433Zag==",
|
1017 |
+
"optional": true
|
1018 |
+
},
|
1019 |
+
"@esbuild/linux-s390x": {
|
1020 |
+
"version": "0.19.5",
|
1021 |
+
"resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.19.5.tgz",
|
1022 |
+
"integrity": "sha512-Z6JrMyEw/EmZBD/OFEFpb+gao9xJ59ATsoTNlj39jVBbXqoZm4Xntu6wVmGPB/OATi1uk/DB+yeDPv2E8PqZGw==",
|
1023 |
+
"optional": true
|
1024 |
+
},
|
1025 |
+
"@esbuild/linux-x64": {
|
1026 |
+
"version": "0.19.5",
|
1027 |
+
"resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.19.5.tgz",
|
1028 |
+
"integrity": "sha512-psagl+2RlK1z8zWZOmVdImisMtrUxvwereIdyJTmtmHahJTKb64pAcqoPlx6CewPdvGvUKe2Jw+0Z/0qhSbG1A==",
|
1029 |
+
"optional": true
|
1030 |
+
},
|
1031 |
+
"@esbuild/netbsd-x64": {
|
1032 |
+
"version": "0.19.5",
|
1033 |
+
"resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.19.5.tgz",
|
1034 |
+
"integrity": "sha512-kL2l+xScnAy/E/3119OggX8SrWyBEcqAh8aOY1gr4gPvw76la2GlD4Ymf832UCVbmuWeTf2adkZDK+h0Z/fB4g==",
|
1035 |
+
"optional": true
|
1036 |
+
},
|
1037 |
+
"@esbuild/openbsd-x64": {
|
1038 |
+
"version": "0.19.5",
|
1039 |
+
"resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.19.5.tgz",
|
1040 |
+
"integrity": "sha512-sPOfhtzFufQfTBgRnE1DIJjzsXukKSvZxloZbkJDG383q0awVAq600pc1nfqBcl0ice/WN9p4qLc39WhBShRTA==",
|
1041 |
+
"optional": true
|
1042 |
+
},
|
1043 |
+
"@esbuild/sunos-x64": {
|
1044 |
+
"version": "0.19.5",
|
1045 |
+
"resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.19.5.tgz",
|
1046 |
+
"integrity": "sha512-dGZkBXaafuKLpDSjKcB0ax0FL36YXCvJNnztjKV+6CO82tTYVDSH2lifitJ29jxRMoUhgkg9a+VA/B03WK5lcg==",
|
1047 |
+
"optional": true
|
1048 |
+
},
|
1049 |
+
"@esbuild/win32-arm64": {
|
1050 |
+
"version": "0.19.5",
|
1051 |
+
"resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.19.5.tgz",
|
1052 |
+
"integrity": "sha512-dWVjD9y03ilhdRQ6Xig1NWNgfLtf2o/STKTS+eZuF90fI2BhbwD6WlaiCGKptlqXlURVB5AUOxUj09LuwKGDTg==",
|
1053 |
+
"optional": true
|
1054 |
+
},
|
1055 |
+
"@esbuild/win32-ia32": {
|
1056 |
+
"version": "0.19.5",
|
1057 |
+
"resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.19.5.tgz",
|
1058 |
+
"integrity": "sha512-4liggWIA4oDgUxqpZwrDhmEfAH4d0iljanDOK7AnVU89T6CzHon/ony8C5LeOdfgx60x5cnQJFZwEydVlYx4iw==",
|
1059 |
+
"optional": true
|
1060 |
+
},
|
1061 |
+
"@esbuild/win32-x64": {
|
1062 |
+
"version": "0.19.5",
|
1063 |
+
"resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.19.5.tgz",
|
1064 |
+
"integrity": "sha512-czTrygUsB/jlM8qEW5MD8bgYU2Xg14lo6kBDXW6HdxKjh8M5PzETGiSHaz9MtbXBYDloHNUAUW2tMiKW4KM9Mw==",
|
1065 |
+
"optional": true
|
1066 |
+
},
|
1067 |
+
"@formatjs/ecma402-abstract": {
|
1068 |
+
"version": "1.11.4",
|
1069 |
+
"resolved": "https://registry.npmjs.org/@formatjs/ecma402-abstract/-/ecma402-abstract-1.11.4.tgz",
|
1070 |
+
"integrity": "sha512-EBikYFp2JCdIfGEb5G9dyCkTGDmC57KSHhRQOC3aYxoPWVZvfWCDjZwkGYHN7Lis/fmuWl906bnNTJifDQ3sXw==",
|
1071 |
+
"requires": {
|
1072 |
+
"@formatjs/intl-localematcher": "0.2.25",
|
1073 |
+
"tslib": "^2.1.0"
|
1074 |
+
}
|
1075 |
+
},
|
1076 |
+
"@formatjs/fast-memoize": {
|
1077 |
+
"version": "1.2.1",
|
1078 |
+
"resolved": "https://registry.npmjs.org/@formatjs/fast-memoize/-/fast-memoize-1.2.1.tgz",
|
1079 |
+
"integrity": "sha512-Rg0e76nomkz3vF9IPlKeV+Qynok0r7YZjL6syLz4/urSg0IbjPZCB/iYUMNsYA643gh4mgrX3T7KEIFIxJBQeg==",
|
1080 |
+
"requires": {
|
1081 |
+
"tslib": "^2.1.0"
|
1082 |
+
}
|
1083 |
+
},
|
1084 |
+
"@formatjs/icu-messageformat-parser": {
|
1085 |
+
"version": "2.1.0",
|
1086 |
+
"resolved": "https://registry.npmjs.org/@formatjs/icu-messageformat-parser/-/icu-messageformat-parser-2.1.0.tgz",
|
1087 |
+
"integrity": "sha512-Qxv/lmCN6hKpBSss2uQ8IROVnta2r9jd3ymUEIjm2UyIkUCHVcbUVRGL/KS/wv7876edvsPe+hjHVJ4z8YuVaw==",
|
1088 |
+
"requires": {
|
1089 |
+
"@formatjs/ecma402-abstract": "1.11.4",
|
1090 |
+
"@formatjs/icu-skeleton-parser": "1.3.6",
|
1091 |
+
"tslib": "^2.1.0"
|
1092 |
+
}
|
1093 |
+
},
|
1094 |
+
"@formatjs/icu-skeleton-parser": {
|
1095 |
+
"version": "1.3.6",
|
1096 |
+
"resolved": "https://registry.npmjs.org/@formatjs/icu-skeleton-parser/-/icu-skeleton-parser-1.3.6.tgz",
|
1097 |
+
"integrity": "sha512-I96mOxvml/YLrwU2Txnd4klA7V8fRhb6JG/4hm3VMNmeJo1F03IpV2L3wWt7EweqNLES59SZ4d6hVOPCSf80Bg==",
|
1098 |
+
"requires": {
|
1099 |
+
"@formatjs/ecma402-abstract": "1.11.4",
|
1100 |
+
"tslib": "^2.1.0"
|
1101 |
+
}
|
1102 |
+
},
|
1103 |
+
"@formatjs/intl-localematcher": {
|
1104 |
+
"version": "0.2.25",
|
1105 |
+
"resolved": "https://registry.npmjs.org/@formatjs/intl-localematcher/-/intl-localematcher-0.2.25.tgz",
|
1106 |
+
"integrity": "sha512-YmLcX70BxoSopLFdLr1Ds99NdlTI2oWoLbaUW2M406lxOIPzE1KQhRz2fPUkq34xVZQaihCoU29h0KK7An3bhA==",
|
1107 |
+
"requires": {
|
1108 |
+
"tslib": "^2.1.0"
|
1109 |
+
}
|
1110 |
+
},
|
1111 |
+
"@gradio/atoms": {
|
1112 |
+
"version": "0.2.1",
|
1113 |
+
"resolved": "https://registry.npmjs.org/@gradio/atoms/-/atoms-0.2.1.tgz",
|
1114 |
+
"integrity": "sha512-di3kKSbjxKGngvTAaqUaA6whOVs5BFlQULlWDPq1m37VRgUD7Oq2MkIE+T+YiNAhByN93pqA0hGrWwAUUuxy5Q==",
|
1115 |
+
"requires": {
|
1116 |
+
"@gradio/icons": "^0.2.0",
|
1117 |
+
"@gradio/utils": "^0.2.0"
|
1118 |
+
}
|
1119 |
+
},
|
1120 |
+
"@gradio/column": {
|
1121 |
+
"version": "0.1.0",
|
1122 |
+
"resolved": "https://registry.npmjs.org/@gradio/column/-/column-0.1.0.tgz",
|
1123 |
+
"integrity": "sha512-P24nqqVnMXBaDA1f/zSN5HZRho4PxP8Dq+7VltPHlmxIEiZYik2AJ4J0LeuIha34FDO0guu/16evdrpvGIUAfw=="
|
1124 |
+
},
|
1125 |
+
"@gradio/icons": {
|
1126 |
+
"version": "0.2.0",
|
1127 |
+
"resolved": "https://registry.npmjs.org/@gradio/icons/-/icons-0.2.0.tgz",
|
1128 |
+
"integrity": "sha512-rfCSmOF+ALqBOjTWL1ICasyA8JuO0MPwFrtlVMyAWp7R14AN8YChC/gbz5fZ0kNBiGGEYOOfqpKxyvC95jGGlg=="
|
1129 |
+
},
|
1130 |
+
"@gradio/statustracker": {
|
1131 |
+
"version": "0.3.1",
|
1132 |
+
"resolved": "https://registry.npmjs.org/@gradio/statustracker/-/statustracker-0.3.1.tgz",
|
1133 |
+
"integrity": "sha512-ZpmXZSnbgoFU2J54SrNntwfo2OEuEoRV310Q0zGVTH1VL7loziR7GuYhfIbgS8qFlrWM0MhMoLGDX+k7LAig5w==",
|
1134 |
+
"requires": {
|
1135 |
+
"@gradio/atoms": "^0.2.1",
|
1136 |
+
"@gradio/column": "^0.1.0",
|
1137 |
+
"@gradio/icons": "^0.2.0",
|
1138 |
+
"@gradio/utils": "^0.2.0"
|
1139 |
+
}
|
1140 |
+
},
|
1141 |
+
"@gradio/theme": {
|
1142 |
+
"version": "0.2.0",
|
1143 |
+
"resolved": "https://registry.npmjs.org/@gradio/theme/-/theme-0.2.0.tgz",
|
1144 |
+
"integrity": "sha512-33c68Nk7oRXLn08OxPfjcPm7S4tXGOUV1I1bVgzdM2YV5o1QBOS1GEnXPZPu/CEYPePLMB6bsDwffrLEyLGWVQ=="
|
1145 |
+
},
|
1146 |
+
"@gradio/utils": {
|
1147 |
+
"version": "0.2.0",
|
1148 |
+
"resolved": "https://registry.npmjs.org/@gradio/utils/-/utils-0.2.0.tgz",
|
1149 |
+
"integrity": "sha512-YkwzXufi6IxQrlMW+1sFo8Yn6F9NLL69ZoBsbo7QEhms0v5L7pmOTw+dfd7M3dwbRP2lgjrb52i1kAIN3n6aqQ==",
|
1150 |
+
"requires": {
|
1151 |
+
"@gradio/theme": "^0.2.0",
|
1152 |
+
"svelte-i18n": "^3.6.0"
|
1153 |
+
}
|
1154 |
+
},
|
1155 |
+
"@jridgewell/gen-mapping": {
|
1156 |
+
"version": "0.3.3",
|
1157 |
+
"resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.3.tgz",
|
1158 |
+
"integrity": "sha512-HLhSWOLRi875zjjMG/r+Nv0oCW8umGb0BgEhyX3dDX3egwZtB8PqLnjz3yedt8R5StBrzcg4aBpnh8UA9D1BoQ==",
|
1159 |
+
"peer": true,
|
1160 |
+
"requires": {
|
1161 |
+
"@jridgewell/set-array": "^1.0.1",
|
1162 |
+
"@jridgewell/sourcemap-codec": "^1.4.10",
|
1163 |
+
"@jridgewell/trace-mapping": "^0.3.9"
|
1164 |
+
}
|
1165 |
+
},
|
1166 |
+
"@jridgewell/resolve-uri": {
|
1167 |
+
"version": "3.1.1",
|
1168 |
+
"resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.1.tgz",
|
1169 |
+
"integrity": "sha512-dSYZh7HhCDtCKm4QakX0xFpsRDqjjtZf/kjI/v3T3Nwt5r8/qz/M19F9ySyOqU94SXBmeG9ttTul+YnR4LOxFA==",
|
1170 |
+
"peer": true
|
1171 |
+
},
|
1172 |
+
"@jridgewell/set-array": {
|
1173 |
+
"version": "1.1.2",
|
1174 |
+
"resolved": "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.1.2.tgz",
|
1175 |
+
"integrity": "sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw==",
|
1176 |
+
"peer": true
|
1177 |
+
},
|
1178 |
+
"@jridgewell/sourcemap-codec": {
|
1179 |
+
"version": "1.4.15",
|
1180 |
+
"resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.15.tgz",
|
1181 |
+
"integrity": "sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==",
|
1182 |
+
"peer": true
|
1183 |
+
},
|
1184 |
+
"@jridgewell/trace-mapping": {
|
1185 |
+
"version": "0.3.20",
|
1186 |
+
"resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.20.tgz",
|
1187 |
+
"integrity": "sha512-R8LcPeWZol2zR8mmH3JeKQ6QRCFb7XgUhV9ZlGhHLGyg4wpPiPZNQOOWhFZhxKw8u//yTbNGI42Bx/3paXEQ+Q==",
|
1188 |
+
"peer": true,
|
1189 |
+
"requires": {
|
1190 |
+
"@jridgewell/resolve-uri": "^3.1.0",
|
1191 |
+
"@jridgewell/sourcemap-codec": "^1.4.14"
|
1192 |
+
}
|
1193 |
+
},
|
1194 |
+
"@types/estree": {
|
1195 |
+
"version": "1.0.5",
|
1196 |
+
"resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.5.tgz",
|
1197 |
+
"integrity": "sha512-/kYRxGDLWzHOB7q+wtSUQlFrtcdUccpfy+X+9iMBpHK8QLLhx2wIPYuS5DYtR9Wa/YlZAbIovy7qVdB1Aq6Lyw==",
|
1198 |
+
"peer": true
|
1199 |
+
},
|
1200 |
+
"acorn": {
|
1201 |
+
"version": "8.11.2",
|
1202 |
+
"resolved": "https://registry.npmjs.org/acorn/-/acorn-8.11.2.tgz",
|
1203 |
+
"integrity": "sha512-nc0Axzp/0FILLEVsm4fNwLCwMttvhEI263QtVPQcbpfZZ3ts0hLsZGOpE6czNlid7CJ9MlyH8reXkpsf3YUY4w==",
|
1204 |
+
"peer": true
|
1205 |
+
},
|
1206 |
+
"aria-query": {
|
1207 |
+
"version": "5.3.0",
|
1208 |
+
"resolved": "https://registry.npmjs.org/aria-query/-/aria-query-5.3.0.tgz",
|
1209 |
+
"integrity": "sha512-b0P0sZPKtyu8HkeRAfCq0IfURZK+SuwMjY1UXGBU27wpAiTwQAIlq56IbIO+ytk/JjS1fMR14ee5WBBfKi5J6A==",
|
1210 |
+
"peer": true,
|
1211 |
+
"requires": {
|
1212 |
+
"dequal": "^2.0.3"
|
1213 |
+
}
|
1214 |
+
},
|
1215 |
+
"axobject-query": {
|
1216 |
+
"version": "3.2.1",
|
1217 |
+
"resolved": "https://registry.npmjs.org/axobject-query/-/axobject-query-3.2.1.tgz",
|
1218 |
+
"integrity": "sha512-jsyHu61e6N4Vbz/v18DHwWYKK0bSWLqn47eeDSKPB7m8tqMHF9YJ+mhIk2lVteyZrY8tnSj/jHOv4YiTCuCJgg==",
|
1219 |
+
"peer": true,
|
1220 |
+
"requires": {
|
1221 |
+
"dequal": "^2.0.3"
|
1222 |
+
}
|
1223 |
+
},
|
1224 |
+
"cli-color": {
|
1225 |
+
"version": "2.0.3",
|
1226 |
+
"resolved": "https://registry.npmjs.org/cli-color/-/cli-color-2.0.3.tgz",
|
1227 |
+
"integrity": "sha512-OkoZnxyC4ERN3zLzZaY9Emb7f/MhBOIpePv0Ycok0fJYT+Ouo00UBEIwsVsr0yoow++n5YWlSUgST9GKhNHiRQ==",
|
1228 |
+
"requires": {
|
1229 |
+
"d": "^1.0.1",
|
1230 |
+
"es5-ext": "^0.10.61",
|
1231 |
+
"es6-iterator": "^2.0.3",
|
1232 |
+
"memoizee": "^0.4.15",
|
1233 |
+
"timers-ext": "^0.1.7"
|
1234 |
+
}
|
1235 |
+
},
|
1236 |
+
"code-red": {
|
1237 |
+
"version": "1.0.4",
|
1238 |
+
"resolved": "https://registry.npmjs.org/code-red/-/code-red-1.0.4.tgz",
|
1239 |
+
"integrity": "sha512-7qJWqItLA8/VPVlKJlFXU+NBlo/qyfs39aJcuMT/2ere32ZqvF5OSxgdM5xOfJJ7O429gg2HM47y8v9P+9wrNw==",
|
1240 |
+
"peer": true,
|
1241 |
+
"requires": {
|
1242 |
+
"@jridgewell/sourcemap-codec": "^1.4.15",
|
1243 |
+
"@types/estree": "^1.0.1",
|
1244 |
+
"acorn": "^8.10.0",
|
1245 |
+
"estree-walker": "^3.0.3",
|
1246 |
+
"periscopic": "^3.1.0"
|
1247 |
+
}
|
1248 |
+
},
|
1249 |
+
"css-tree": {
|
1250 |
+
"version": "2.3.1",
|
1251 |
+
"resolved": "https://registry.npmjs.org/css-tree/-/css-tree-2.3.1.tgz",
|
1252 |
+
"integrity": "sha512-6Fv1DV/TYw//QF5IzQdqsNDjx/wc8TrMBZsqjL9eW01tWb7R7k/mq+/VXfJCl7SoD5emsJop9cOByJZfs8hYIw==",
|
1253 |
+
"peer": true,
|
1254 |
+
"requires": {
|
1255 |
+
"mdn-data": "2.0.30",
|
1256 |
+
"source-map-js": "^1.0.1"
|
1257 |
+
}
|
1258 |
+
},
|
1259 |
+
"d": {
|
1260 |
+
"version": "1.0.1",
|
1261 |
+
"resolved": "https://registry.npmjs.org/d/-/d-1.0.1.tgz",
|
1262 |
+
"integrity": "sha512-m62ShEObQ39CfralilEQRjH6oAMtNCV1xJyEx5LpRYUVN+EviphDgUc/F3hnYbADmkiNs67Y+3ylmlG7Lnu+FA==",
|
1263 |
+
"requires": {
|
1264 |
+
"es5-ext": "^0.10.50",
|
1265 |
+
"type": "^1.0.1"
|
1266 |
+
}
|
1267 |
+
},
|
1268 |
+
"deepmerge": {
|
1269 |
+
"version": "4.3.1",
|
1270 |
+
"resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-4.3.1.tgz",
|
1271 |
+
"integrity": "sha512-3sUqbMEc77XqpdNO7FRyRog+eW3ph+GYCbj+rK+uYyRMuwsVy0rMiVtPn+QJlKFvWP/1PYpapqYn0Me2knFn+A=="
|
1272 |
+
},
|
1273 |
+
"dequal": {
|
1274 |
+
"version": "2.0.3",
|
1275 |
+
"resolved": "https://registry.npmjs.org/dequal/-/dequal-2.0.3.tgz",
|
1276 |
+
"integrity": "sha512-0je+qPKHEMohvfRTCEo3CrPG6cAzAYgmzKyxRiYSSDkS6eGJdyVJm7WaYA5ECaAD9wLB2T4EEeymA5aFVcYXCA==",
|
1277 |
+
"peer": true
|
1278 |
+
},
|
1279 |
+
"es5-ext": {
|
1280 |
+
"version": "0.10.62",
|
1281 |
+
"resolved": "https://registry.npmjs.org/es5-ext/-/es5-ext-0.10.62.tgz",
|
1282 |
+
"integrity": "sha512-BHLqn0klhEpnOKSrzn/Xsz2UIW8j+cGmo9JLzr8BiUapV8hPL9+FliFqjwr9ngW7jWdnxv6eO+/LqyhJVqgrjA==",
|
1283 |
+
"requires": {
|
1284 |
+
"es6-iterator": "^2.0.3",
|
1285 |
+
"es6-symbol": "^3.1.3",
|
1286 |
+
"next-tick": "^1.1.0"
|
1287 |
+
}
|
1288 |
+
},
|
1289 |
+
"es6-iterator": {
|
1290 |
+
"version": "2.0.3",
|
1291 |
+
"resolved": "https://registry.npmjs.org/es6-iterator/-/es6-iterator-2.0.3.tgz",
|
1292 |
+
"integrity": "sha512-zw4SRzoUkd+cl+ZoE15A9o1oQd920Bb0iOJMQkQhl3jNc03YqVjAhG7scf9C5KWRU/R13Orf588uCC6525o02g==",
|
1293 |
+
"requires": {
|
1294 |
+
"d": "1",
|
1295 |
+
"es5-ext": "^0.10.35",
|
1296 |
+
"es6-symbol": "^3.1.1"
|
1297 |
+
}
|
1298 |
+
},
|
1299 |
+
"es6-symbol": {
|
1300 |
+
"version": "3.1.3",
|
1301 |
+
"resolved": "https://registry.npmjs.org/es6-symbol/-/es6-symbol-3.1.3.tgz",
|
1302 |
+
"integrity": "sha512-NJ6Yn3FuDinBaBRWl/q5X/s4koRHBrgKAu+yGI6JCBeiu3qrcbJhwT2GeR/EXVfylRk8dpQVJoLEFhK+Mu31NA==",
|
1303 |
+
"requires": {
|
1304 |
+
"d": "^1.0.1",
|
1305 |
+
"ext": "^1.1.2"
|
1306 |
+
}
|
1307 |
+
},
|
1308 |
+
"es6-weak-map": {
|
1309 |
+
"version": "2.0.3",
|
1310 |
+
"resolved": "https://registry.npmjs.org/es6-weak-map/-/es6-weak-map-2.0.3.tgz",
|
1311 |
+
"integrity": "sha512-p5um32HOTO1kP+w7PRnB+5lQ43Z6muuMuIMffvDN8ZB4GcnjLBV6zGStpbASIMk4DCAvEaamhe2zhyCb/QXXsA==",
|
1312 |
+
"requires": {
|
1313 |
+
"d": "1",
|
1314 |
+
"es5-ext": "^0.10.46",
|
1315 |
+
"es6-iterator": "^2.0.3",
|
1316 |
+
"es6-symbol": "^3.1.1"
|
1317 |
+
}
|
1318 |
+
},
|
1319 |
+
"esbuild": {
|
1320 |
+
"version": "0.19.5",
|
1321 |
+
"resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.19.5.tgz",
|
1322 |
+
"integrity": "sha512-bUxalY7b1g8vNhQKdB24QDmHeY4V4tw/s6Ak5z+jJX9laP5MoQseTOMemAr0gxssjNcH0MCViG8ONI2kksvfFQ==",
|
1323 |
+
"requires": {
|
1324 |
+
"@esbuild/android-arm": "0.19.5",
|
1325 |
+
"@esbuild/android-arm64": "0.19.5",
|
1326 |
+
"@esbuild/android-x64": "0.19.5",
|
1327 |
+
"@esbuild/darwin-arm64": "0.19.5",
|
1328 |
+
"@esbuild/darwin-x64": "0.19.5",
|
1329 |
+
"@esbuild/freebsd-arm64": "0.19.5",
|
1330 |
+
"@esbuild/freebsd-x64": "0.19.5",
|
1331 |
+
"@esbuild/linux-arm": "0.19.5",
|
1332 |
+
"@esbuild/linux-arm64": "0.19.5",
|
1333 |
+
"@esbuild/linux-ia32": "0.19.5",
|
1334 |
+
"@esbuild/linux-loong64": "0.19.5",
|
1335 |
+
"@esbuild/linux-mips64el": "0.19.5",
|
1336 |
+
"@esbuild/linux-ppc64": "0.19.5",
|
1337 |
+
"@esbuild/linux-riscv64": "0.19.5",
|
1338 |
+
"@esbuild/linux-s390x": "0.19.5",
|
1339 |
+
"@esbuild/linux-x64": "0.19.5",
|
1340 |
+
"@esbuild/netbsd-x64": "0.19.5",
|
1341 |
+
"@esbuild/openbsd-x64": "0.19.5",
|
1342 |
+
"@esbuild/sunos-x64": "0.19.5",
|
1343 |
+
"@esbuild/win32-arm64": "0.19.5",
|
1344 |
+
"@esbuild/win32-ia32": "0.19.5",
|
1345 |
+
"@esbuild/win32-x64": "0.19.5"
|
1346 |
+
}
|
1347 |
+
},
|
1348 |
+
"estree-walker": {
|
1349 |
+
"version": "3.0.3",
|
1350 |
+
"resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-3.0.3.tgz",
|
1351 |
+
"integrity": "sha512-7RUKfXgSMMkzt6ZuXmqapOurLGPPfgj6l9uRZ7lRGolvk0y2yocc35LdcxKC5PQZdn2DMqioAQ2NoWcrTKmm6g==",
|
1352 |
+
"peer": true,
|
1353 |
+
"requires": {
|
1354 |
+
"@types/estree": "^1.0.0"
|
1355 |
+
}
|
1356 |
+
},
|
1357 |
+
"event-emitter": {
|
1358 |
+
"version": "0.3.5",
|
1359 |
+
"resolved": "https://registry.npmjs.org/event-emitter/-/event-emitter-0.3.5.tgz",
|
1360 |
+
"integrity": "sha512-D9rRn9y7kLPnJ+hMq7S/nhvoKwwvVJahBi2BPmx3bvbsEdK3W9ii8cBSGjP+72/LnM4n6fo3+dkCX5FeTQruXA==",
|
1361 |
+
"requires": {
|
1362 |
+
"d": "1",
|
1363 |
+
"es5-ext": "~0.10.14"
|
1364 |
+
}
|
1365 |
+
},
|
1366 |
+
"ext": {
|
1367 |
+
"version": "1.7.0",
|
1368 |
+
"resolved": "https://registry.npmjs.org/ext/-/ext-1.7.0.tgz",
|
1369 |
+
"integrity": "sha512-6hxeJYaL110a9b5TEJSj0gojyHQAmA2ch5Os+ySCiA1QGdS697XWY1pzsrSjqA9LDEEgdB/KypIlR59RcLuHYw==",
|
1370 |
+
"requires": {
|
1371 |
+
"type": "^2.7.2"
|
1372 |
+
},
|
1373 |
+
"dependencies": {
|
1374 |
+
"type": {
|
1375 |
+
"version": "2.7.2",
|
1376 |
+
"resolved": "https://registry.npmjs.org/type/-/type-2.7.2.tgz",
|
1377 |
+
"integrity": "sha512-dzlvlNlt6AXU7EBSfpAscydQ7gXB+pPGsPnfJnZpiNJBDj7IaJzQlBZYGdEi4R9HmPdBv2XmWJ6YUtoTa7lmCw=="
|
1378 |
+
}
|
1379 |
+
}
|
1380 |
+
},
|
1381 |
+
"globalyzer": {
|
1382 |
+
"version": "0.1.0",
|
1383 |
+
"resolved": "https://registry.npmjs.org/globalyzer/-/globalyzer-0.1.0.tgz",
|
1384 |
+
"integrity": "sha512-40oNTM9UfG6aBmuKxk/giHn5nQ8RVz/SS4Ir6zgzOv9/qC3kKZ9v4etGTcJbEl/NyVQH7FGU7d+X1egr57Md2Q=="
|
1385 |
+
},
|
1386 |
+
"globrex": {
|
1387 |
+
"version": "0.1.2",
|
1388 |
+
"resolved": "https://registry.npmjs.org/globrex/-/globrex-0.1.2.tgz",
|
1389 |
+
"integrity": "sha512-uHJgbwAMwNFf5mLst7IWLNg14x1CkeqglJb/K3doi4dw6q2IvAAmM/Y81kevy83wP+Sst+nutFTYOGg3d1lsxg=="
|
1390 |
+
},
|
1391 |
+
"intl-messageformat": {
|
1392 |
+
"version": "9.13.0",
|
1393 |
+
"resolved": "https://registry.npmjs.org/intl-messageformat/-/intl-messageformat-9.13.0.tgz",
|
1394 |
+
"integrity": "sha512-7sGC7QnSQGa5LZP7bXLDhVDtQOeKGeBFGHF2Y8LVBwYZoQZCgWeKoPGTa5GMG8g/TzDgeXuYJQis7Ggiw2xTOw==",
|
1395 |
+
"requires": {
|
1396 |
+
"@formatjs/ecma402-abstract": "1.11.4",
|
1397 |
+
"@formatjs/fast-memoize": "1.2.1",
|
1398 |
+
"@formatjs/icu-messageformat-parser": "2.1.0",
|
1399 |
+
"tslib": "^2.1.0"
|
1400 |
+
}
|
1401 |
+
},
|
1402 |
+
"is-promise": {
|
1403 |
+
"version": "2.2.2",
|
1404 |
+
"resolved": "https://registry.npmjs.org/is-promise/-/is-promise-2.2.2.tgz",
|
1405 |
+
"integrity": "sha512-+lP4/6lKUBfQjZ2pdxThZvLUAafmZb8OAxFb8XXtiQmS35INgr85hdOGoEs124ez1FCnZJt6jau/T+alh58QFQ=="
|
1406 |
+
},
|
1407 |
+
"is-reference": {
|
1408 |
+
"version": "3.0.2",
|
1409 |
+
"resolved": "https://registry.npmjs.org/is-reference/-/is-reference-3.0.2.tgz",
|
1410 |
+
"integrity": "sha512-v3rht/LgVcsdZa3O2Nqs+NMowLOxeOm7Ay9+/ARQ2F+qEoANRcqrjAZKGN0v8ymUetZGgkp26LTnGT7H0Qo9Pg==",
|
1411 |
+
"peer": true,
|
1412 |
+
"requires": {
|
1413 |
+
"@types/estree": "*"
|
1414 |
+
}
|
1415 |
+
},
|
1416 |
+
"locate-character": {
|
1417 |
+
"version": "3.0.0",
|
1418 |
+
"resolved": "https://registry.npmjs.org/locate-character/-/locate-character-3.0.0.tgz",
|
1419 |
+
"integrity": "sha512-SW13ws7BjaeJ6p7Q6CO2nchbYEc3X3J6WrmTTDto7yMPqVSZTUyY5Tjbid+Ab8gLnATtygYtiDIJGQRRn2ZOiA==",
|
1420 |
+
"peer": true
|
1421 |
+
},
|
1422 |
+
"lru-queue": {
|
1423 |
+
"version": "0.1.0",
|
1424 |
+
"resolved": "https://registry.npmjs.org/lru-queue/-/lru-queue-0.1.0.tgz",
|
1425 |
+
"integrity": "sha512-BpdYkt9EvGl8OfWHDQPISVpcl5xZthb+XPsbELj5AQXxIC8IriDZIQYjBJPEm5rS420sjZ0TLEzRcq5KdBhYrQ==",
|
1426 |
+
"requires": {
|
1427 |
+
"es5-ext": "~0.10.2"
|
1428 |
+
}
|
1429 |
+
},
|
1430 |
+
"magic-string": {
|
1431 |
+
"version": "0.30.5",
|
1432 |
+
"resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.5.tgz",
|
1433 |
+
"integrity": "sha512-7xlpfBaQaP/T6Vh8MO/EqXSW5En6INHEvEXQiuff7Gku0PWjU3uf6w/j9o7O+SpB5fOAkrI5HeoNgwjEO0pFsA==",
|
1434 |
+
"peer": true,
|
1435 |
+
"requires": {
|
1436 |
+
"@jridgewell/sourcemap-codec": "^1.4.15"
|
1437 |
+
}
|
1438 |
+
},
|
1439 |
+
"mdn-data": {
|
1440 |
+
"version": "2.0.30",
|
1441 |
+
"resolved": "https://registry.npmjs.org/mdn-data/-/mdn-data-2.0.30.tgz",
|
1442 |
+
"integrity": "sha512-GaqWWShW4kv/G9IEucWScBx9G1/vsFZZJUO+tD26M8J8z3Kw5RDQjaoZe03YAClgeS/SWPOcb4nkFBTEi5DUEA==",
|
1443 |
+
"peer": true
|
1444 |
+
},
|
1445 |
+
"memoizee": {
|
1446 |
+
"version": "0.4.15",
|
1447 |
+
"resolved": "https://registry.npmjs.org/memoizee/-/memoizee-0.4.15.tgz",
|
1448 |
+
"integrity": "sha512-UBWmJpLZd5STPm7PMUlOw/TSy972M+z8gcyQ5veOnSDRREz/0bmpyTfKt3/51DhEBqCZQn1udM/5flcSPYhkdQ==",
|
1449 |
+
"requires": {
|
1450 |
+
"d": "^1.0.1",
|
1451 |
+
"es5-ext": "^0.10.53",
|
1452 |
+
"es6-weak-map": "^2.0.3",
|
1453 |
+
"event-emitter": "^0.3.5",
|
1454 |
+
"is-promise": "^2.2.2",
|
1455 |
+
"lru-queue": "^0.1.0",
|
1456 |
+
"next-tick": "^1.1.0",
|
1457 |
+
"timers-ext": "^0.1.7"
|
1458 |
+
}
|
1459 |
+
},
|
1460 |
+
"mri": {
|
1461 |
+
"version": "1.2.0",
|
1462 |
+
"resolved": "https://registry.npmjs.org/mri/-/mri-1.2.0.tgz",
|
1463 |
+
"integrity": "sha512-tzzskb3bG8LvYGFF/mDTpq3jpI6Q9wc3LEmBaghu+DdCssd1FakN7Bc0hVNmEyGq1bq3RgfkCb3cmQLpNPOroA=="
|
1464 |
+
},
|
1465 |
+
"next-tick": {
|
1466 |
+
"version": "1.1.0",
|
1467 |
+
"resolved": "https://registry.npmjs.org/next-tick/-/next-tick-1.1.0.tgz",
|
1468 |
+
"integrity": "sha512-CXdUiJembsNjuToQvxayPZF9Vqht7hewsvy2sOWafLvi2awflj9mOC6bHIg50orX8IJvWKY9wYQ/zB2kogPslQ=="
|
1469 |
+
},
|
1470 |
+
"periscopic": {
|
1471 |
+
"version": "3.1.0",
|
1472 |
+
"resolved": "https://registry.npmjs.org/periscopic/-/periscopic-3.1.0.tgz",
|
1473 |
+
"integrity": "sha512-vKiQ8RRtkl9P+r/+oefh25C3fhybptkHKCZSPlcXiJux2tJF55GnEj3BVn4A5gKfq9NWWXXrxkHBwVPUfH0opw==",
|
1474 |
+
"peer": true,
|
1475 |
+
"requires": {
|
1476 |
+
"@types/estree": "^1.0.0",
|
1477 |
+
"estree-walker": "^3.0.0",
|
1478 |
+
"is-reference": "^3.0.0"
|
1479 |
+
}
|
1480 |
+
},
|
1481 |
+
"sade": {
|
1482 |
+
"version": "1.8.1",
|
1483 |
+
"resolved": "https://registry.npmjs.org/sade/-/sade-1.8.1.tgz",
|
1484 |
+
"integrity": "sha512-xal3CZX1Xlo/k4ApwCFrHVACi9fBqJ7V+mwhBsuf/1IOKbBy098Fex+Wa/5QMubw09pSZ/u8EY8PWgevJsXp1A==",
|
1485 |
+
"requires": {
|
1486 |
+
"mri": "^1.1.0"
|
1487 |
+
}
|
1488 |
+
},
|
1489 |
+
"source-map-js": {
|
1490 |
+
"version": "1.0.2",
|
1491 |
+
"resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.0.2.tgz",
|
1492 |
+
"integrity": "sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==",
|
1493 |
+
"peer": true
|
1494 |
+
},
|
1495 |
+
"svelte": {
|
1496 |
+
"version": "4.2.2",
|
1497 |
+
"resolved": "https://registry.npmjs.org/svelte/-/svelte-4.2.2.tgz",
|
1498 |
+
"integrity": "sha512-My2tytF2e2NnHSpn2M7/3VdXT4JdTglYVUuSuK/mXL2XtulPYbeBfl8Dm1QiaKRn0zoULRnL+EtfZHHP0k4H3A==",
|
1499 |
+
"peer": true,
|
1500 |
+
"requires": {
|
1501 |
+
"@ampproject/remapping": "^2.2.1",
|
1502 |
+
"@jridgewell/sourcemap-codec": "^1.4.15",
|
1503 |
+
"@jridgewell/trace-mapping": "^0.3.18",
|
1504 |
+
"acorn": "^8.9.0",
|
1505 |
+
"aria-query": "^5.3.0",
|
1506 |
+
"axobject-query": "^3.2.1",
|
1507 |
+
"code-red": "^1.0.3",
|
1508 |
+
"css-tree": "^2.3.1",
|
1509 |
+
"estree-walker": "^3.0.3",
|
1510 |
+
"is-reference": "^3.0.1",
|
1511 |
+
"locate-character": "^3.0.0",
|
1512 |
+
"magic-string": "^0.30.4",
|
1513 |
+
"periscopic": "^3.1.0"
|
1514 |
+
}
|
1515 |
+
},
|
1516 |
+
"svelte-i18n": {
|
1517 |
+
"version": "3.7.4",
|
1518 |
+
"resolved": "https://registry.npmjs.org/svelte-i18n/-/svelte-i18n-3.7.4.tgz",
|
1519 |
+
"integrity": "sha512-yGRCNo+eBT4cPuU7IVsYTYjxB7I2V8qgUZPlHnNctJj5IgbJgV78flsRzpjZ/8iUYZrS49oCt7uxlU3AZv/N5Q==",
|
1520 |
+
"requires": {
|
1521 |
+
"cli-color": "^2.0.3",
|
1522 |
+
"deepmerge": "^4.2.2",
|
1523 |
+
"esbuild": "^0.19.2",
|
1524 |
+
"estree-walker": "^2",
|
1525 |
+
"intl-messageformat": "^9.13.0",
|
1526 |
+
"sade": "^1.8.1",
|
1527 |
+
"tiny-glob": "^0.2.9"
|
1528 |
+
},
|
1529 |
+
"dependencies": {
|
1530 |
+
"estree-walker": {
|
1531 |
+
"version": "2.0.2",
|
1532 |
+
"resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-2.0.2.tgz",
|
1533 |
+
"integrity": "sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w=="
|
1534 |
+
}
|
1535 |
+
}
|
1536 |
+
},
|
1537 |
+
"svelte-keyboard": {
|
1538 |
+
"version": "0.5.5",
|
1539 |
+
"resolved": "https://registry.npmjs.org/svelte-keyboard/-/svelte-keyboard-0.5.5.tgz",
|
1540 |
+
"integrity": "sha512-yxtQBhz2wMy8qf60pW3VRI7Pwvv3X7+MHeaZZA0rq3fnFPDPOXZq6FF7GhF9NmL4dm4bWu/c8YfYnwsaNcpmRg=="
|
1541 |
+
},
|
1542 |
+
"timers-ext": {
|
1543 |
+
"version": "0.1.7",
|
1544 |
+
"resolved": "https://registry.npmjs.org/timers-ext/-/timers-ext-0.1.7.tgz",
|
1545 |
+
"integrity": "sha512-b85NUNzTSdodShTIbky6ZF02e8STtVVfD+fu4aXXShEELpozH+bCpJLYMPZbsABN2wDH7fJpqIoXxJpzbf0NqQ==",
|
1546 |
+
"requires": {
|
1547 |
+
"es5-ext": "~0.10.46",
|
1548 |
+
"next-tick": "1"
|
1549 |
+
}
|
1550 |
+
},
|
1551 |
+
"tiny-glob": {
|
1552 |
+
"version": "0.2.9",
|
1553 |
+
"resolved": "https://registry.npmjs.org/tiny-glob/-/tiny-glob-0.2.9.tgz",
|
1554 |
+
"integrity": "sha512-g/55ssRPUjShh+xkfx9UPDXqhckHEsHr4Vd9zX55oSdGZc/MD0m3sferOkwWtp98bv+kcVfEHtRJgBVJzelrzg==",
|
1555 |
+
"requires": {
|
1556 |
+
"globalyzer": "0.1.0",
|
1557 |
+
"globrex": "^0.1.2"
|
1558 |
+
}
|
1559 |
+
},
|
1560 |
+
"tslib": {
|
1561 |
+
"version": "2.6.2",
|
1562 |
+
"resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz",
|
1563 |
+
"integrity": "sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q=="
|
1564 |
+
},
|
1565 |
+
"type": {
|
1566 |
+
"version": "1.2.0",
|
1567 |
+
"resolved": "https://registry.npmjs.org/type/-/type-1.2.0.tgz",
|
1568 |
+
"integrity": "sha512-+5nt5AAniqsCnu2cEQQdpzCAh33kVx8n0VoFidKpB1dVVLAN/F+bgVOqOJqOnEnrhp222clB5p3vUlD+1QAnfg=="
|
1569 |
+
}
|
1570 |
+
}
|
1571 |
+
}
|
src/frontend/package.json
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "gradio_keyboardtextboxcomponent",
|
3 |
+
"version": "0.1.1",
|
4 |
+
"description": "Gradio UI packages",
|
5 |
+
"type": "module",
|
6 |
+
"author": "",
|
7 |
+
"license": "ISC",
|
8 |
+
"private": false,
|
9 |
+
"main_changeset": true,
|
10 |
+
"exports": {
|
11 |
+
".": "./Index.svelte",
|
12 |
+
"./example": "./Example.svelte",
|
13 |
+
"./package.json": "./package.json"
|
14 |
+
},
|
15 |
+
"dependencies": {
|
16 |
+
"@gradio/atoms": "0.2.1",
|
17 |
+
"@gradio/icons": "0.2.0",
|
18 |
+
"@gradio/statustracker": "0.3.1",
|
19 |
+
"@gradio/utils": "0.2.0",
|
20 |
+
"svelte-keyboard": "^0.5.5"
|
21 |
+
}
|
22 |
+
}
|
src/pyproject.toml
ADDED
@@ -0,0 +1,49 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
[build-system]
|
2 |
+
requires = [
|
3 |
+
"hatchling",
|
4 |
+
"hatch-requirements-txt",
|
5 |
+
"hatch-fancy-pypi-readme>=22.5.0",
|
6 |
+
]
|
7 |
+
build-backend = "hatchling.build"
|
8 |
+
|
9 |
+
[project]
|
10 |
+
name = "gradio_keyboardtextboxcomponent"
|
11 |
+
version = "0.0.1"
|
12 |
+
description = "Python library for easily interacting with trained machine learning models"
|
13 |
+
readme = "README.md"
|
14 |
+
license = "Apache-2.0"
|
15 |
+
requires-python = ">=3.8"
|
16 |
+
authors = [{ name = "YOUR NAME", email = "[email protected]" }]
|
17 |
+
keywords = [
|
18 |
+
"machine learning",
|
19 |
+
"reproducibility",
|
20 |
+
"visualization",
|
21 |
+
"gradio",
|
22 |
+
"gradio custom component",
|
23 |
+
"gradio-template-SimpleTextbox"
|
24 |
+
]
|
25 |
+
# Add dependencies here
|
26 |
+
dependencies = ["gradio>=4.0,<5.0"]
|
27 |
+
classifiers = [
|
28 |
+
'Development Status :: 3 - Alpha',
|
29 |
+
'License :: OSI Approved :: Apache Software License',
|
30 |
+
'Operating System :: OS Independent',
|
31 |
+
'Programming Language :: Python :: 3',
|
32 |
+
'Programming Language :: Python :: 3 :: Only',
|
33 |
+
'Programming Language :: Python :: 3.8',
|
34 |
+
'Programming Language :: Python :: 3.9',
|
35 |
+
'Programming Language :: Python :: 3.10',
|
36 |
+
'Programming Language :: Python :: 3.11',
|
37 |
+
'Topic :: Scientific/Engineering',
|
38 |
+
'Topic :: Scientific/Engineering :: Artificial Intelligence',
|
39 |
+
'Topic :: Scientific/Engineering :: Visualization',
|
40 |
+
]
|
41 |
+
|
42 |
+
[project.optional-dependencies]
|
43 |
+
dev = ["build", "twine"]
|
44 |
+
|
45 |
+
[tool.hatch.build]
|
46 |
+
artifacts = ["/backend/gradio_keyboardtextboxcomponent/templates", "*.pyi", "backend/gradio_keyboardtextboxcomponent/templates", "\\backend\\gradio_keyboardtextboxcomponent\\templates", "\\backend\\gradio_keyboardtextboxcomponent\\templates", "\\backend\\gradio_keyboardtextboxcomponent\\templates", "\\backend\\gradio_keyboardtextboxcomponent\\templates", "\\backend\\gradio_keyboardtextboxcomponent\\templates", "\\backend\\gradio_keyboardtextboxcomponent\\templates", "\\backend\\gradio_keyboardtextboxcomponent\\templates", "\\backend\\gradio_keyboardtextboxcomponent\\templates"]
|
47 |
+
|
48 |
+
[tool.hatch.build.targets.wheel]
|
49 |
+
packages = ["/backend/gradio_keyboardtextboxcomponent"]
|
src/requirements.txt
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
requests
|
2 |
+
gradio
|