teilen 0.1.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- teilen/__init__.py +0 -0
- teilen/api.py +163 -0
- teilen/app.py +277 -0
- teilen/client/asset-manifest.json +11 -0
- teilen/client/favicon2.ico +0 -0
- teilen/client/favicon2.svg +51 -0
- teilen/client/file2.svg +64 -0
- teilen/client/folder2.svg +29 -0
- teilen/client/index.html +1 -0
- teilen/client/static/css/main.b4df923a.css +3 -0
- teilen/client/static/js/main.88119a7e.js +2 -0
- teilen/client/static/js/main.88119a7e.js.LICENSE.txt +49 -0
- teilen/config.py +23 -0
- teilen-0.1.0.dist-info/METADATA +115 -0
- teilen-0.1.0.dist-info/RECORD +18 -0
- teilen-0.1.0.dist-info/WHEEL +5 -0
- teilen-0.1.0.dist-info/entry_points.txt +2 -0
- teilen-0.1.0.dist-info/top_level.txt +1 -0
teilen/__init__.py
ADDED
|
File without changes
|
teilen/api.py
ADDED
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
"""teilen api-definition"""
|
|
2
|
+
|
|
3
|
+
from typing import Optional
|
|
4
|
+
from functools import wraps
|
|
5
|
+
from pathlib import Path
|
|
6
|
+
from urllib.parse import unquote
|
|
7
|
+
from datetime import datetime
|
|
8
|
+
from tempfile import TemporaryDirectory
|
|
9
|
+
import zipfile
|
|
10
|
+
from uuid import uuid4
|
|
11
|
+
|
|
12
|
+
from flask import Flask, Response, jsonify, request, send_from_directory
|
|
13
|
+
|
|
14
|
+
from teilen.config import AppConfig
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
def login_required(password: Optional[str]):
|
|
18
|
+
"""Protect endpoint with auth via 'X-Teilen-Auth'-header."""
|
|
19
|
+
|
|
20
|
+
def decorator(route):
|
|
21
|
+
@wraps(route)
|
|
22
|
+
def __():
|
|
23
|
+
if request.headers.get("X-Teilen-Auth") != password:
|
|
24
|
+
return Response("FAILED", mimetype="text/plain", status=401)
|
|
25
|
+
return route()
|
|
26
|
+
|
|
27
|
+
return __
|
|
28
|
+
|
|
29
|
+
return decorator
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
def register_api(app: Flask, config: AppConfig):
|
|
33
|
+
"""Sets up api endpoints."""
|
|
34
|
+
|
|
35
|
+
@app.route("/configuration", methods=["GET"])
|
|
36
|
+
def get_configuration():
|
|
37
|
+
"""
|
|
38
|
+
Get basic info on configuration.
|
|
39
|
+
"""
|
|
40
|
+
return jsonify({"passwordRequired": config.PASSWORD is not None}), 200
|
|
41
|
+
|
|
42
|
+
@app.route("/login", methods=["GET"])
|
|
43
|
+
@login_required(config.PASSWORD)
|
|
44
|
+
def get_login():
|
|
45
|
+
"""
|
|
46
|
+
Test login.
|
|
47
|
+
"""
|
|
48
|
+
return Response("OK", mimetype="text/plain", status=200)
|
|
49
|
+
|
|
50
|
+
def get_location(provide_default: bool = True) -> Optional[Path]:
|
|
51
|
+
"""Parse and return location-arg."""
|
|
52
|
+
if request.args.get("location") is None:
|
|
53
|
+
if provide_default:
|
|
54
|
+
return config.WORKING_DIR
|
|
55
|
+
return None
|
|
56
|
+
return (
|
|
57
|
+
config.WORKING_DIR / unquote(request.args["location"])
|
|
58
|
+
).resolve()
|
|
59
|
+
|
|
60
|
+
@app.route("/contents", methods=["GET"])
|
|
61
|
+
@login_required(config.PASSWORD)
|
|
62
|
+
def get_contents():
|
|
63
|
+
"""
|
|
64
|
+
Returns contents for given location.
|
|
65
|
+
"""
|
|
66
|
+
_location = get_location()
|
|
67
|
+
|
|
68
|
+
# check for problems
|
|
69
|
+
if (
|
|
70
|
+
config.WORKING_DIR != _location
|
|
71
|
+
and config.WORKING_DIR not in _location.parents
|
|
72
|
+
):
|
|
73
|
+
return Response("Not allowed.", mimetype="text/plain", status=403)
|
|
74
|
+
if not _location.is_dir():
|
|
75
|
+
return Response(
|
|
76
|
+
"Does not exist.", mimetype="text/plain", status=404
|
|
77
|
+
)
|
|
78
|
+
|
|
79
|
+
contents = list(_location.glob("*"))
|
|
80
|
+
folders = filter(lambda p: p.is_dir(), contents)
|
|
81
|
+
files = filter(lambda p: p.is_file(), contents)
|
|
82
|
+
return (
|
|
83
|
+
jsonify(
|
|
84
|
+
[
|
|
85
|
+
{
|
|
86
|
+
"type": "folder",
|
|
87
|
+
"name": f.name,
|
|
88
|
+
"mtime": f.stat().st_mtime,
|
|
89
|
+
}
|
|
90
|
+
for f in folders
|
|
91
|
+
]
|
|
92
|
+
+ [
|
|
93
|
+
{
|
|
94
|
+
"type": "file",
|
|
95
|
+
"name": f.name,
|
|
96
|
+
"mtime": f.stat().st_mtime,
|
|
97
|
+
"size": f.stat().st_size,
|
|
98
|
+
}
|
|
99
|
+
for f in files
|
|
100
|
+
]
|
|
101
|
+
),
|
|
102
|
+
200,
|
|
103
|
+
)
|
|
104
|
+
|
|
105
|
+
@app.route("/content", methods=["GET"])
|
|
106
|
+
@login_required(config.PASSWORD)
|
|
107
|
+
def get_content():
|
|
108
|
+
"""
|
|
109
|
+
Returns file/folder (as archive) for given location.
|
|
110
|
+
"""
|
|
111
|
+
_location = get_location(False)
|
|
112
|
+
|
|
113
|
+
if _location is None:
|
|
114
|
+
return Response(
|
|
115
|
+
"Missing 'location' arg.", mimetype="text/plain", status=400
|
|
116
|
+
)
|
|
117
|
+
|
|
118
|
+
# check for problems
|
|
119
|
+
if config.WORKING_DIR not in _location.parents:
|
|
120
|
+
return Response("Not allowed.", mimetype="text/plain", status=403)
|
|
121
|
+
if not _location.exists():
|
|
122
|
+
return Response(
|
|
123
|
+
"Does not exist.", mimetype="text/plain", status=404
|
|
124
|
+
)
|
|
125
|
+
|
|
126
|
+
if _location.is_file():
|
|
127
|
+
return send_from_directory(
|
|
128
|
+
config.WORKING_DIR,
|
|
129
|
+
_location.relative_to(config.WORKING_DIR),
|
|
130
|
+
as_attachment=True,
|
|
131
|
+
)
|
|
132
|
+
|
|
133
|
+
# generate archive in /tmp
|
|
134
|
+
if _location.is_dir():
|
|
135
|
+
with TemporaryDirectory() as tmp_dir:
|
|
136
|
+
tmp_path = Path(tmp_dir).resolve()
|
|
137
|
+
archive_path = tmp_path / (
|
|
138
|
+
_location.name + "-" + str(uuid4()) + ".zip"
|
|
139
|
+
)
|
|
140
|
+
print(
|
|
141
|
+
f"[{datetime.now().isoformat()}] Creating archive "
|
|
142
|
+
+ f"for '{_location.resolve()}' "
|
|
143
|
+
+ f"in '{Path(archive_path).resolve()}'."
|
|
144
|
+
)
|
|
145
|
+
with zipfile.ZipFile(
|
|
146
|
+
archive_path, "w", zipfile.ZIP_STORED
|
|
147
|
+
) as archive:
|
|
148
|
+
for f in _location.glob("**/*"):
|
|
149
|
+
if f.is_file():
|
|
150
|
+
archive.write(
|
|
151
|
+
f,
|
|
152
|
+
f.resolve().relative_to(
|
|
153
|
+
_location.parent.resolve()
|
|
154
|
+
),
|
|
155
|
+
)
|
|
156
|
+
|
|
157
|
+
return send_from_directory(
|
|
158
|
+
tmp_path,
|
|
159
|
+
archive_path.relative_to(tmp_path),
|
|
160
|
+
as_attachment=True,
|
|
161
|
+
)
|
|
162
|
+
|
|
163
|
+
return Response("Unkown type.", mimetype="text/plain", status=501)
|
teilen/app.py
ADDED
|
@@ -0,0 +1,277 @@
|
|
|
1
|
+
"""teilen-backend definition."""
|
|
2
|
+
|
|
3
|
+
import sys
|
|
4
|
+
from pathlib import Path
|
|
5
|
+
import socket
|
|
6
|
+
import urllib.request
|
|
7
|
+
from importlib.metadata import version
|
|
8
|
+
|
|
9
|
+
from flask import (
|
|
10
|
+
Flask,
|
|
11
|
+
Response,
|
|
12
|
+
send_from_directory,
|
|
13
|
+
)
|
|
14
|
+
|
|
15
|
+
from teilen.config import AppConfig
|
|
16
|
+
from teilen.api import register_api
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
def load_cors(_app: Flask, url: str) -> None:
|
|
20
|
+
"""Loads CORS-extension if required."""
|
|
21
|
+
try:
|
|
22
|
+
# pylint: disable=import-outside-toplevel
|
|
23
|
+
from flask_cors import CORS
|
|
24
|
+
except ImportError:
|
|
25
|
+
print(
|
|
26
|
+
"\033[31mERROR: Missing 'Flask-CORS'-package for dev-server. "
|
|
27
|
+
+ "Install with 'pip install flask-cors'.\033[0m",
|
|
28
|
+
file=sys.stderr,
|
|
29
|
+
)
|
|
30
|
+
sys.exit(1)
|
|
31
|
+
else:
|
|
32
|
+
print("INFO: Configuring app for CORS.", file=sys.stderr)
|
|
33
|
+
_ = CORS(
|
|
34
|
+
_app,
|
|
35
|
+
resources={"*": {"origins": url}},
|
|
36
|
+
)
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
def load_callback_url_options() -> list[dict]:
|
|
40
|
+
"""
|
|
41
|
+
Returns a list of IP-addresses with a name.
|
|
42
|
+
|
|
43
|
+
Every record contains the fields 'name' and 'address'.
|
|
44
|
+
"""
|
|
45
|
+
options = []
|
|
46
|
+
|
|
47
|
+
# get LAN-address (https://stackoverflow.com/a/28950776)
|
|
48
|
+
s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
|
|
49
|
+
s.settimeout(0)
|
|
50
|
+
try:
|
|
51
|
+
s.connect(("10.254.254.254", 1))
|
|
52
|
+
options.append(
|
|
53
|
+
{"address": "http://" + s.getsockname()[0], "name": "local"}
|
|
54
|
+
)
|
|
55
|
+
# pylint: disable=broad-exception-caught
|
|
56
|
+
except Exception:
|
|
57
|
+
pass
|
|
58
|
+
finally:
|
|
59
|
+
s.close()
|
|
60
|
+
|
|
61
|
+
# get global IP
|
|
62
|
+
try:
|
|
63
|
+
with urllib.request.urlopen(
|
|
64
|
+
"https://api.ipify.org", timeout=1
|
|
65
|
+
) as response:
|
|
66
|
+
options.append(
|
|
67
|
+
{
|
|
68
|
+
"address": "http://" + response.read().decode("utf-8"),
|
|
69
|
+
"name": "global",
|
|
70
|
+
}
|
|
71
|
+
)
|
|
72
|
+
# pylint: disable=broad-exception-caught
|
|
73
|
+
except Exception:
|
|
74
|
+
pass
|
|
75
|
+
|
|
76
|
+
return options
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
def print_welcome_message(config: AppConfig) -> None:
|
|
80
|
+
"""Prints welcome message to stdout."""
|
|
81
|
+
url_options = load_callback_url_options()
|
|
82
|
+
lines = (
|
|
83
|
+
(["Running in dev-mode."] if config.MODE == "dev" else [])
|
|
84
|
+
+ [
|
|
85
|
+
"Your teilen-instance will be available shortly.",
|
|
86
|
+
"",
|
|
87
|
+
"The contents of the following directory will be available:",
|
|
88
|
+
(
|
|
89
|
+
str(config.WORKING_DIR)[:30]
|
|
90
|
+
+ "..."
|
|
91
|
+
+ str(config.WORKING_DIR)[-30:]
|
|
92
|
+
if len(str(config.WORKING_DIR)) > 70
|
|
93
|
+
else str(config.WORKING_DIR)
|
|
94
|
+
),
|
|
95
|
+
]
|
|
96
|
+
+ (
|
|
97
|
+
["Password protection is active."]
|
|
98
|
+
if config.PASSWORD is not None
|
|
99
|
+
else []
|
|
100
|
+
)
|
|
101
|
+
+ (
|
|
102
|
+
["", "The following addresses have been detected automatically:"]
|
|
103
|
+
if url_options
|
|
104
|
+
else []
|
|
105
|
+
)
|
|
106
|
+
+ list(
|
|
107
|
+
map(
|
|
108
|
+
lambda o: f" * {o['name']}: {o['address']}:{config.PORT}",
|
|
109
|
+
url_options,
|
|
110
|
+
)
|
|
111
|
+
)
|
|
112
|
+
)
|
|
113
|
+
delimiter = "#" * (max(map(len, lines)) + 4)
|
|
114
|
+
print(delimiter)
|
|
115
|
+
for line in lines:
|
|
116
|
+
print(f"# {line}{' '*(len(delimiter) - len(line) - 4)} #")
|
|
117
|
+
print(delimiter)
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
def app_factory(config: AppConfig) -> Flask:
|
|
121
|
+
"""Returns teilen-Flask app."""
|
|
122
|
+
if not config.WORKING_DIR.is_dir():
|
|
123
|
+
print(
|
|
124
|
+
"\033[1;31mERROR\033[0m: "
|
|
125
|
+
+ f"Requested directory '{config.WORKING_DIR}' does not exist.",
|
|
126
|
+
file=sys.stderr,
|
|
127
|
+
)
|
|
128
|
+
sys.exit(1)
|
|
129
|
+
if not config.WORKING_DIR.is_absolute():
|
|
130
|
+
config.WORKING_DIR = config.WORKING_DIR.resolve()
|
|
131
|
+
|
|
132
|
+
# define Flask-app
|
|
133
|
+
_app = Flask(__name__, static_folder=config.STATIC_PATH)
|
|
134
|
+
|
|
135
|
+
_app.config.from_object(config)
|
|
136
|
+
|
|
137
|
+
# extensions
|
|
138
|
+
if config.MODE == "dev":
|
|
139
|
+
load_cors(_app, config.DEV_CORS_FRONTEND_URL)
|
|
140
|
+
|
|
141
|
+
# print welcome message
|
|
142
|
+
print_welcome_message(config)
|
|
143
|
+
|
|
144
|
+
@_app.route("/ping", methods=["GET"])
|
|
145
|
+
def ping():
|
|
146
|
+
"""
|
|
147
|
+
Returns 'pong'.
|
|
148
|
+
"""
|
|
149
|
+
return Response("pong", mimetype="text/plain", status=200)
|
|
150
|
+
|
|
151
|
+
@_app.route("/version", methods=["GET"])
|
|
152
|
+
def get_version():
|
|
153
|
+
"""
|
|
154
|
+
Returns app version.
|
|
155
|
+
"""
|
|
156
|
+
return Response(version("teilen"), mimetype="text/plain", status=200)
|
|
157
|
+
|
|
158
|
+
register_api(_app, config)
|
|
159
|
+
|
|
160
|
+
@_app.route("/", defaults={"path": ""})
|
|
161
|
+
@_app.route("/<path:path>")
|
|
162
|
+
def get_client(path):
|
|
163
|
+
"""Serve static content."""
|
|
164
|
+
if path != "":
|
|
165
|
+
return send_from_directory(config.STATIC_PATH, path)
|
|
166
|
+
return send_from_directory(config.STATIC_PATH, "index.html")
|
|
167
|
+
|
|
168
|
+
return _app
|
|
169
|
+
|
|
170
|
+
|
|
171
|
+
def parse_cmdline_args(config: AppConfig):
|
|
172
|
+
"""Update config using command line arguments."""
|
|
173
|
+
index = 1
|
|
174
|
+
while True:
|
|
175
|
+
if index >= len(sys.argv):
|
|
176
|
+
break
|
|
177
|
+
|
|
178
|
+
# password
|
|
179
|
+
if sys.argv[index] in ["-p", "--password"]:
|
|
180
|
+
if len(sys.argv) <= index + 1:
|
|
181
|
+
print(
|
|
182
|
+
"\033[1;31mERROR\033[0m: "
|
|
183
|
+
+ f"Missing value for option '{sys.argv[index]}'.",
|
|
184
|
+
file=sys.stderr,
|
|
185
|
+
)
|
|
186
|
+
sys.exit(1)
|
|
187
|
+
config.PASSWORD = sys.argv[index + 1]
|
|
188
|
+
index += 2
|
|
189
|
+
continue
|
|
190
|
+
|
|
191
|
+
# port
|
|
192
|
+
if sys.argv[index] in ["--port"]:
|
|
193
|
+
if len(sys.argv) <= index + 1:
|
|
194
|
+
print(
|
|
195
|
+
"\033[1;31mERROR\033[0m: "
|
|
196
|
+
+ f"Missing value for option '{sys.argv[index]}'.",
|
|
197
|
+
file=sys.stderr,
|
|
198
|
+
)
|
|
199
|
+
sys.exit(1)
|
|
200
|
+
config.PORT = sys.argv[index + 1]
|
|
201
|
+
index += 2
|
|
202
|
+
continue
|
|
203
|
+
|
|
204
|
+
# working directory (should by the last and a singular argument)
|
|
205
|
+
if len(sys.argv) > index + 1:
|
|
206
|
+
print(
|
|
207
|
+
"\033[1;31mERROR\033[0m: "
|
|
208
|
+
+ f"Unknown option '{sys.argv[index]}'.",
|
|
209
|
+
file=sys.stderr,
|
|
210
|
+
)
|
|
211
|
+
sys.exit(1)
|
|
212
|
+
config.WORKING_DIR = Path(sys.argv[index]).resolve()
|
|
213
|
+
index += 1
|
|
214
|
+
|
|
215
|
+
|
|
216
|
+
def run(app=None, config=None):
|
|
217
|
+
"""Run flask-app."""
|
|
218
|
+
# load default config
|
|
219
|
+
if not config:
|
|
220
|
+
config = AppConfig()
|
|
221
|
+
|
|
222
|
+
# parse command line arguments
|
|
223
|
+
parse_cmdline_args(config)
|
|
224
|
+
|
|
225
|
+
# load default app
|
|
226
|
+
if not app:
|
|
227
|
+
app = app_factory(config)
|
|
228
|
+
|
|
229
|
+
# not intended for production due to, e.g., cors
|
|
230
|
+
if config.MODE != "prod":
|
|
231
|
+
print(
|
|
232
|
+
"\033[1;33mWARNING\033[0m: "
|
|
233
|
+
+ f"Running in unexpected MODE '{config.Mode}'.",
|
|
234
|
+
file=sys.stderr,
|
|
235
|
+
)
|
|
236
|
+
|
|
237
|
+
# prioritize gunicorn over werkzeug
|
|
238
|
+
try:
|
|
239
|
+
import gunicorn.app.base
|
|
240
|
+
except ImportError:
|
|
241
|
+
print(
|
|
242
|
+
"\033[1;33mWARNING\033[0m: "
|
|
243
|
+
+ "Running without proper wsgi-server.",
|
|
244
|
+
file=sys.stderr,
|
|
245
|
+
)
|
|
246
|
+
app.run(host="0.0.0.0", port=config.PORT)
|
|
247
|
+
else:
|
|
248
|
+
|
|
249
|
+
class StandaloneApplication(gunicorn.app.base.BaseApplication):
|
|
250
|
+
"""See https://docs.gunicorn.org/en/stable/custom.html"""
|
|
251
|
+
|
|
252
|
+
def __init__(self, app_, options=None):
|
|
253
|
+
self.options = options or {}
|
|
254
|
+
self.application = app_
|
|
255
|
+
super().__init__()
|
|
256
|
+
|
|
257
|
+
def load_config(self):
|
|
258
|
+
_config = {
|
|
259
|
+
key: value
|
|
260
|
+
for key, value in self.options.items()
|
|
261
|
+
if key in self.cfg.settings and value is not None
|
|
262
|
+
}
|
|
263
|
+
for key, value in _config.items():
|
|
264
|
+
self.cfg.set(key.lower(), value)
|
|
265
|
+
|
|
266
|
+
def load(self):
|
|
267
|
+
return self.application
|
|
268
|
+
|
|
269
|
+
StandaloneApplication(
|
|
270
|
+
app,
|
|
271
|
+
{
|
|
272
|
+
"bind": f"0.0.0.0:{config.PORT}",
|
|
273
|
+
"workers": 1,
|
|
274
|
+
"threads": config.FLASK_THREADS,
|
|
275
|
+
}
|
|
276
|
+
| (config.GUNICORN_OPTIONS or {}),
|
|
277
|
+
).run()
|
|
Binary file
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
2
|
+
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
|
3
|
+
|
|
4
|
+
<svg
|
|
5
|
+
width="20.540001mm"
|
|
6
|
+
height="20.540003mm"
|
|
7
|
+
viewBox="0 0 20.540001 20.540004"
|
|
8
|
+
version="1.1"
|
|
9
|
+
id="svg5"
|
|
10
|
+
xml:space="preserve"
|
|
11
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
12
|
+
xmlns:svg="http://www.w3.org/2000/svg"><defs
|
|
13
|
+
id="defs2"><marker
|
|
14
|
+
style="overflow:visible"
|
|
15
|
+
id="RoundedArrow"
|
|
16
|
+
refX="0"
|
|
17
|
+
refY="0"
|
|
18
|
+
orient="auto-start-reverse"
|
|
19
|
+
markerWidth="6.1347523"
|
|
20
|
+
markerHeight="5.9304953"
|
|
21
|
+
viewBox="0 0 6.1347524 5.9304951"
|
|
22
|
+
preserveAspectRatio="xMidYMid"><path
|
|
23
|
+
transform="scale(0.7)"
|
|
24
|
+
d="m -0.21114562,-4.1055728 6.42229122,3.21114561 a 1,1 90 0 1 0,1.78885438 L -0.21114562,4.1055728 A 1.236068,1.236068 31.717474 0 1 -2,3 v -6 a 1.236068,1.236068 148.28253 0 1 1.78885438,-1.1055728 z"
|
|
25
|
+
style="fill:context-stroke;fill-rule:evenodd;stroke:none"
|
|
26
|
+
id="path1367" /></marker></defs><g
|
|
27
|
+
id="layer1"><g
|
|
28
|
+
id="g7187"
|
|
29
|
+
transform="matrix(0.39684999,0,0,0.39684999,24.969975,13.839997)"><g
|
|
30
|
+
id="g7175"><path
|
|
31
|
+
style="fill:#d8a323;fill-opacity:1;stroke-width:0.304001"
|
|
32
|
+
d="m -62.177083,6.35 c 0,0.79375 0,1.0583333 1.322916,1.0583333 H -23.8125 V -21.166667 c 0,-1.5875 -0.264583,-1.852083 -1.852083,-1.852083 H -39.6875 c -1.058333,0 -4.7625,-5.55625 -5.55625,-5.55625 h -15.610417 c -1.322916,0 -1.322916,0 -1.322916,1.058333 z"
|
|
33
|
+
id="path320" /><path
|
|
34
|
+
style="fill:#f4bd36;fill-opacity:1;stroke-width:0.304001"
|
|
35
|
+
d="m -60.854167,7.4082933 c 1.868763,0.173 7.138098,-20.9617993 7.138098,-20.9617993 0.270236,-0.733994 1.328569,-2.321494 3.445236,-2.321494 h 33.602083 c 0,0 2.327335,-0.268719 1.322917,3.175 0,0 0,0 -5.55625,19.05 -0.165655,0.5679614 -0.264584,1.0583333 -2.38125,1.0583333 h -37.570834 z"
|
|
36
|
+
id="path844" /></g><g
|
|
37
|
+
id="g7159"><circle
|
|
38
|
+
style="fill:#7ad32d;fill-opacity:1;stroke-width:0.304001"
|
|
39
|
+
id="path3218"
|
|
40
|
+
cx="-22.489584"
|
|
41
|
+
cy="-3.1789145e-07"
|
|
42
|
+
r="10.583333" /><path
|
|
43
|
+
style="fill:none;fill-opacity:1;stroke:#ffffff;stroke-width:1.204;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
|
|
44
|
+
d="M -29.104166,2.6458333 V 5.2916666 H -15.875 V 2.6458333"
|
|
45
|
+
id="path4988" /><path
|
|
46
|
+
style="fill:none;fill-opacity:1;stroke:#ffffff;stroke-width:0.804;stroke-dasharray:none;stroke-opacity:1;marker-start:url(#RoundedArrow)"
|
|
47
|
+
d="M -22.489583,-1.3229167 V -5.2916666"
|
|
48
|
+
id="path6310" /><path
|
|
49
|
+
style="fill:none;fill-opacity:1;stroke:#ffffff;stroke-width:1.204;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
|
|
50
|
+
d="M -22.489583,0 V -5.2916666"
|
|
51
|
+
id="path6585" /></g></g></g></svg>
|
teilen/client/file2.svg
ADDED
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
2
|
+
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
|
3
|
+
|
|
4
|
+
<svg
|
|
5
|
+
width="20.396727mm"
|
|
6
|
+
height="20.396725mm"
|
|
7
|
+
viewBox="0 0 20.396727 20.396726"
|
|
8
|
+
version="1.1"
|
|
9
|
+
id="svg5"
|
|
10
|
+
xml:space="preserve"
|
|
11
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
12
|
+
xmlns:svg="http://www.w3.org/2000/svg"><defs
|
|
13
|
+
id="defs2" /><g
|
|
14
|
+
id="layer1"
|
|
15
|
+
transform="translate(20.707003,58.280149)"><g
|
|
16
|
+
id="g6466-3"
|
|
17
|
+
transform="translate(0.10551827,-28.260923)"><path
|
|
18
|
+
style="fill:#f5f5f5;fill-opacity:1;stroke:none;stroke-width:0.504;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
|
|
19
|
+
d="m -15.905824,-11.883363 h 10.5833328 v -13.229166 l -2.645833,-2.645833 h -7.9374998 z"
|
|
20
|
+
id="path538-5-5" /><rect
|
|
21
|
+
style="fill:#606060;fill-opacity:1;stroke:none;stroke-width:0.200354;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
|
|
22
|
+
id="rect2156-2-6"
|
|
23
|
+
width="6.8791671"
|
|
24
|
+
height="0.45085445"
|
|
25
|
+
x="-14.05374"
|
|
26
|
+
y="-22.63283"
|
|
27
|
+
ry="0" /><rect
|
|
28
|
+
style="fill:#606060;fill-opacity:1;stroke:none;stroke-width:0.186517;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
|
|
29
|
+
id="rect2160-5-2"
|
|
30
|
+
width="5.9618511"
|
|
31
|
+
height="0.45085445"
|
|
32
|
+
x="-14.05374"
|
|
33
|
+
y="-20.153128"
|
|
34
|
+
ry="0" /><rect
|
|
35
|
+
style="fill:#606060;fill-opacity:1;stroke:none;stroke-width:0.200354;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
|
|
36
|
+
id="rect2164-4-9"
|
|
37
|
+
width="6.8791671"
|
|
38
|
+
height="0.45085445"
|
|
39
|
+
x="-14.05374"
|
|
40
|
+
y="-17.673428"
|
|
41
|
+
ry="0" /><rect
|
|
42
|
+
style="fill:#606060;fill-opacity:1;stroke:none;stroke-width:0.148813;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
|
|
43
|
+
id="rect2168-7-1"
|
|
44
|
+
width="3.7951195"
|
|
45
|
+
height="0.45085445"
|
|
46
|
+
x="-14.05374"
|
|
47
|
+
y="-15.193728"
|
|
48
|
+
ry="0" /><rect
|
|
49
|
+
style="fill:#606060;fill-opacity:1;stroke:none;stroke-width:0.176997;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
|
|
50
|
+
id="rect2170-4-2"
|
|
51
|
+
width="5.3686671"
|
|
52
|
+
height="0.45085445"
|
|
53
|
+
x="-14.05374"
|
|
54
|
+
y="-25.11253"
|
|
55
|
+
ry="0" /><path
|
|
56
|
+
style="fill:#e5e5e5;fill-opacity:1;stroke:none;stroke-width:0.304;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
|
|
57
|
+
d="m -7.9683242,-27.758362 v 2.645833 h 2.645833"
|
|
58
|
+
id="path540-0-7" /></g><rect
|
|
59
|
+
style="fill:none;stroke:none;stroke-width:0.103275;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
|
|
60
|
+
id="rect6457-0"
|
|
61
|
+
width="20.396727"
|
|
62
|
+
height="20.396725"
|
|
63
|
+
x="-20.707003"
|
|
64
|
+
y="-58.280148" /></g></svg>
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
2
|
+
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
|
3
|
+
|
|
4
|
+
<svg
|
|
5
|
+
width="20.396729mm"
|
|
6
|
+
height="20.396727mm"
|
|
7
|
+
viewBox="0 0 20.396729 20.396728"
|
|
8
|
+
version="1.1"
|
|
9
|
+
id="svg5"
|
|
10
|
+
xml:space="preserve"
|
|
11
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
12
|
+
xmlns:svg="http://www.w3.org/2000/svg"><defs
|
|
13
|
+
id="defs2" /><g
|
|
14
|
+
id="layer1"
|
|
15
|
+
transform="translate(-22.383122,30.283808)"><g
|
|
16
|
+
id="g3793"
|
|
17
|
+
transform="translate(1.8431206)"><path
|
|
18
|
+
style="fill:#d8a323;fill-opacity:1;stroke-width:0.425999;stroke-dasharray:none"
|
|
19
|
+
d="m 20.718468,-12.878354 c 0,0.337843 0,0.450457 0.56307,0.450457 h 15.765985 v -12.162331 c 0,-0.675685 -0.112614,-0.788299 -0.788299,-0.788299 h -5.968551 c -0.450457,0 -2.027055,-2.364898 -2.364898,-2.364898 h -6.644237 c -0.56307,0 -0.56307,0 -0.56307,0.450457 z"
|
|
20
|
+
id="path502-5" /><path
|
|
21
|
+
style="fill:#f4bd36;fill-opacity:1;stroke-width:0.425999;stroke-dasharray:none"
|
|
22
|
+
d="m 21.281538,-12.427914 c 0.795399,0.07363 3.038178,-8.921937 3.038178,-8.921937 0.11502,-0.312408 0.565476,-0.988093 1.46639,-0.988093 h 14.302 c 0,0 0.99058,-0.114375 0.563071,1.35137 0,0 0,0 -2.364898,8.10822 -0.07051,0.241741 -0.112614,0.450457 -1.013527,0.450457 H 21.281538 Z"
|
|
23
|
+
id="path504-6" /></g><rect
|
|
24
|
+
style="fill:none;stroke:none;stroke-width:0.103275;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
|
|
25
|
+
id="rect595-2"
|
|
26
|
+
width="20.396727"
|
|
27
|
+
height="20.396725"
|
|
28
|
+
x="22.383121"
|
|
29
|
+
y="-30.283808" /></g></svg>
|
teilen/client/index.html
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="/favicon2.ico"/><title>teilen</title><script defer="defer" src="/static/js/main.88119a7e.js"></script><link href="/static/css/main.b4df923a.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#3b82f680;--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#3b82f680;--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }/*
|
|
2
|
+
! tailwindcss v3.4.17 | MIT License | https://tailwindcss.com
|
|
3
|
+
*/*,:after,:before{border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:""}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:initial}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:initial;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:initial}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]:where(:not([hidden=until-found])){display:none}.hide-scrollbar::-webkit-scrollbar-thumb,.hide-scrollbar::-webkit-scrollbar-track{background-color:initial}.pointer-events-none{pointer-events:none}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.bottom-4{bottom:1rem}.left-0{left:0}.right-2{right:.5rem}.right-4{right:1rem}.top-0{top:0}.m-2{margin:.5rem}.mx-2{margin-left:.5rem;margin-right:.5rem}.my-1{margin-bottom:.25rem;margin-top:.25rem}.mt-16{margin-top:4rem}.mt-5{margin-top:1.25rem}.line-clamp-1{-webkit-box-orient:vertical;-webkit-line-clamp:1;display:-webkit-box;overflow:hidden}.flex{display:flex}.grid{display:grid}.contents{display:contents}.hidden{display:none}.aspect-square{aspect-ratio:1/1}.size-12{height:3rem;width:3rem}.size-16{height:4rem;width:4rem}.size-5{height:1.25rem;width:1.25rem}.size-8{height:2rem;width:2rem}.h-12{height:3rem}.h-full{height:100%}.h-screen{height:100vh}.w-96{width:24rem}.w-full{width:100%}.w-screen{width:100vw}.grow{flex-grow:1}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes pulse{50%{opacity:.5}}.animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}@keyframes spin{to{transform:rotate(1turn)}}.animate-spin{animation:spin 1s linear infinite}.select-none{-webkit-user-select:none;user-select:none}.grid-flow-dense{grid-auto-flow:dense}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.justify-items-center{justify-items:center}.gap-x-0{column-gap:0}.gap-x-10{column-gap:2.5rem}.space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-left:calc(.25rem*(1 - var(--tw-space-x-reverse)));margin-right:calc(.25rem*var(--tw-space-x-reverse))}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-left:calc(.5rem*(1 - var(--tw-space-x-reverse)));margin-right:calc(.5rem*var(--tw-space-x-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(.5rem*var(--tw-space-y-reverse));margin-top:calc(.5rem*(1 - var(--tw-space-y-reverse)))}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.overflow-y-hidden{overflow-y:hidden}.text-nowrap{text-wrap:nowrap}.break-all{word-break:break-all}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-2{border-width:2px}.border-4{border-width:4px}.border-8{border-width:8px}.border-\[6px\]{border-width:6px}.border-blue-300{--tw-border-opacity:1;border-color:#93c5fd;border-color:rgb(147 197 253/var(--tw-border-opacity,1))}.border-blue-500{--tw-border-opacity:1;border-color:#3b82f6;border-color:rgb(59 130 246/var(--tw-border-opacity,1))}.border-gray-300{--tw-border-opacity:1;border-color:#d1d5db;border-color:rgb(209 213 219/var(--tw-border-opacity,1))}.border-transparent{border-color:#0000}.border-t-blue-500{--tw-border-opacity:1;border-top-color:#3b82f6;border-top-color:rgb(59 130 246/var(--tw-border-opacity,1))}.bg-black{--tw-bg-opacity:1;background-color:#000;background-color:rgb(0 0 0/var(--tw-bg-opacity,1))}.bg-blue-500{--tw-bg-opacity:1;background-color:#3b82f6;background-color:rgb(59 130 246/var(--tw-bg-opacity,1))}.bg-gray-100{--tw-bg-opacity:1;background-color:#f3f4f6;background-color:rgb(243 244 246/var(--tw-bg-opacity,1))}.bg-gray-300{--tw-bg-opacity:1;background-color:#d1d5db;background-color:rgb(209 213 219/var(--tw-bg-opacity,1))}.bg-gray-50{--tw-bg-opacity:1;background-color:#f9fafb;background-color:rgb(249 250 251/var(--tw-bg-opacity,1))}.bg-white{--tw-bg-opacity:1;background-color:#fff;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.bg-opacity-50{--tw-bg-opacity:0.5}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-5{padding:1.25rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.py-1{padding-bottom:.25rem;padding-top:.25rem}.py-2{padding-bottom:.5rem;padding-top:.5rem}.pe-10{-webkit-padding-end:2.5rem;padding-inline-end:2.5rem}.text-center{text-align:center}.text-base{font-size:1rem;line-height:1.5rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.font-bold{font-weight:700}.font-semibold{font-weight:600}.text-black{--tw-text-opacity:1;color:#000;color:rgb(0 0 0/var(--tw-text-opacity,1))}.text-gray-500{--tw-text-opacity:1;color:#6b7280;color:rgb(107 114 128/var(--tw-text-opacity,1))}.text-green-500{--tw-text-opacity:1;color:#22c55e;color:rgb(34 197 94/var(--tw-text-opacity,1))}.text-red-500{--tw-text-opacity:1;color:#ef4444;color:rgb(239 68 68/var(--tw-text-opacity,1))}.text-white{--tw-text-opacity:1;color:#fff;color:rgb(255 255 255/var(--tw-text-opacity,1))}.shadow-lg{--tw-shadow:0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a;--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color)}.shadow-lg,.shadow-sm{box-shadow:0 0 #0000,0 0 #0000,var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow:0 1px 2px 0 #0000000d;--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color)}.outline-none{outline:2px solid #0000;outline-offset:2px}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-duration:.15s;transition-property:color,background-color,border-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-text-decoration-color,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-text-decoration-color,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-100{transition-duration:.1s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}::-webkit-scrollbar-thumb{border-radius:5px}::-webkit-scrollbar-track{border-radius:5px;margin:10px}::-webkit-scrollbar{height:8px;width:8px}select.no-arrow{-webkit-appearance:none;appearance:none}.hover\:show-scrollbar:hover::-webkit-scrollbar-thumb:hover{background-color:#9e9e9e}.hover\:show-scrollbar:hover::-webkit-scrollbar-thumb{background-color:#c2c2c2;border-radius:5px}.hover\:show-scrollbar:hover::-webkit-scrollbar-track{background-color:#e7e7e7}.hover\:cursor-not-allowed:hover{cursor:not-allowed}.hover\:cursor-pointer:hover{cursor:pointer}.hover\:border-blue-400:hover{--tw-border-opacity:1;border-color:#60a5fa;border-color:rgb(96 165 250/var(--tw-border-opacity,1))}.hover\:bg-blue-400:hover{--tw-bg-opacity:1;background-color:#60a5fa;background-color:rgb(96 165 250/var(--tw-bg-opacity,1))}.hover\:bg-gray-100:hover{--tw-bg-opacity:1;background-color:#f3f4f6;background-color:rgb(243 244 246/var(--tw-bg-opacity,1))}.hover\:bg-gray-200:hover{--tw-bg-opacity:1;background-color:#e5e7eb;background-color:rgb(229 231 235/var(--tw-bg-opacity,1))}.hover\:shadow-md:hover{--tw-shadow:0 4px 6px -1px #0000001a,0 2px 4px -2px #0000001a;--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color)}.hover\:shadow-md:hover,.hover\:shadow-none:hover{box-shadow:0 0 #0000,0 0 #0000,var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.hover\:shadow-none:hover{--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000}.focus\:shadow-md:focus{--tw-shadow:0 4px 6px -1px #0000001a,0 2px 4px -2px #0000001a;--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);box-shadow:0 0 #0000,0 0 #0000,var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.active\:bg-blue-700:active{--tw-bg-opacity:1;background-color:#1d4ed8;background-color:rgb(29 78 216/var(--tw-bg-opacity,1))}.active\:bg-white:active{--tw-bg-opacity:1;background-color:#fff;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}@media (min-width:640px){.sm\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (min-width:768px){.md\:grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}}@media (min-width:1024px){.lg\:grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}}@media (min-width:1280px){.xl\:grid-cols-8{grid-template-columns:repeat(8,minmax(0,1fr))}}@media (min-width:1536px){.\32xl\:grid-cols-10{grid-template-columns:repeat(10,minmax(0,1fr))}}
|