diff --git a/.github/workflows/pytests.yml b/.github/workflows/pytests.yml index 05568142..eb3ca1ff 100644 --- a/.github/workflows/pytests.yml +++ b/.github/workflows/pytests.yml @@ -42,6 +42,7 @@ jobs: run: | sudo apt update sudo apt -y install libturbojpeg python3-pip libgl1 git libcap-dev + sudo apt -y install ffmpeg - name: install pdm run: | pipx install pdm # on hosted pipx is installed @@ -77,6 +78,7 @@ jobs: run: | sudo apt update sudo apt -y install libturbojpeg0 python3-pip libgl1 libgphoto2-dev pipx + sudo apt -y install ffmpeg - run: pipx install pdm - run: pipx ensurepath - run: pdm venv create --force 3.11 --system-site-packages # incl system site to allow for picamera2 to import diff --git a/.gitignore b/.gitignore index 1fc19d75..27b8d0d6 100644 --- a/.gitignore +++ b/.gitignore @@ -1,11 +1,12 @@ -# ignore userdata folders +# ignore user folders /config /data /media /log log/*.log* /userdata +/tmp # python files __pycache__ diff --git a/photobooth/__main__.py b/photobooth/__main__.py index 5a829300..3fdb4e7a 100644 --- a/photobooth/__main__.py +++ b/photobooth/__main__.py @@ -23,6 +23,7 @@ def _create_basic_folders(): os.makedirs("userdata", exist_ok=True) os.makedirs("log", exist_ok=True) os.makedirs("config", exist_ok=True) + os.makedirs("tmp", exist_ok=True) # guard to start only one instance at a time. try: diff --git a/photobooth/__version__.py b/photobooth/__version__.py index a955fdae..1f9a89e3 100644 --- a/photobooth/__version__.py +++ b/photobooth/__version__.py @@ -1 +1 @@ -__version__ = "1.2.1" +__version__ = "2.0a1" diff --git a/photobooth/routers/processing.py b/photobooth/routers/processing.py index 8454091b..7307e900 100644 --- a/photobooth/routers/processing.py +++ b/photobooth/routers/processing.py @@ -48,6 +48,11 @@ def api_chose_animation_get(): return _capture(container.processing_service.start_job_animation) +@processing_router.get("/chose/video") +def api_chose_video_get(): + return _capture(container.processing_service.start_job_video) + + @processing_router.get("/cmd/confirm") def api_cmd_confirm_get(): try: diff --git a/photobooth/services/aquisitionservice.py b/photobooth/services/aquisitionservice.py index 2b9844d4..075d831d 100644 --- a/photobooth/services/aquisitionservice.py +++ b/photobooth/services/aquisitionservice.py @@ -103,18 +103,21 @@ def stats(self): return aquisition_stats + def _get_video_backend(self) -> AbstractBackend: + if self._is_real_backend(self._live_backend): + logger.info("video requested from dedicated live backend") + return self._live_backend + else: + logger.info("video requested from main backend") + return self._main_backend + def gen_stream(self): """ assigns a backend to generate a stream """ if appconfig.backends.LIVEPREVIEW_ENABLED: - if self._is_real_backend(self._live_backend): - logger.info("livestream requested from dedicated live backend") - return self._get_stream_from_backend(self._live_backend) - else: - logger.info("livestream requested from main backend") - return self._get_stream_from_backend(self._main_backend) + return self._get_stream_from_backend(self._get_video_backend()) raise ConnectionRefusedError("livepreview not enabled") @@ -131,6 +134,15 @@ def wait_for_hq_image(self): return image_bytes + def start_recording(self): + self._get_video_backend().start_recording() + + def stop_recording(self): + self._get_video_backend().stop_recording() + + def get_recorded_video(self): + return self._get_video_backend().get_recorded_video() + def signalbackend_configure_optimized_for_hq_capture(self): """set backends to capture mode (usually automatically switched as needed by processingservice)""" if self._main_backend: diff --git a/photobooth/services/backends/abstractbackend.py b/photobooth/services/backends/abstractbackend.py index f6939aed..5b11b390 100644 --- a/photobooth/services/backends/abstractbackend.py +++ b/photobooth/services/backends/abstractbackend.py @@ -5,11 +5,15 @@ import logging import os import time +import uuid from abc import ABC, abstractmethod from enum import Enum, auto from multiprocessing import Condition, Lock, shared_memory +from pathlib import Path +from subprocess import PIPE, Popen from ...utils.stoppablethread import StoppableThread +from ..config import appconfig logger = logging.getLogger(__name__) @@ -72,6 +76,13 @@ def __init__(self): self._failing_wait_for_lores_image_is_error: bool = False self._connect_thread: StoppableThread = None + # video feature + self._video_worker_thread: StoppableThread = None + self._video_recorded_videofilepath: Path = None + + # services are responsible to create their folders needed for proper processing: + os.makedirs("tmp", exist_ok=True) + super().__init__() def __repr__(self): @@ -306,6 +317,104 @@ def wait_for_lores_image(self, retries: int = 20): raise RuntimeError("device raised exception") from exc + def start_recording(self): + self._video_worker_thread = StoppableThread(name="_videoworker_fun", target=self._videoworker_fun, daemon=False) + self._video_worker_thread.start() + logger.info("_video_worker_thread started") + + def stop_recording(self): + if self._video_worker_thread: + self._video_worker_thread.stop() + self._video_worker_thread.join() + logger.info("_video_worker_thread stopped and joined") + + else: + logger.info("no _video_worker_thread active that could be stopped") + + def get_recorded_video(self) -> Path: + # basic idea from https://stackoverflow.com/a/42602576 + if self._video_recorded_videofilepath is not None: + return self._video_recorded_videofilepath + else: + raise FileNotFoundError("no recorded video avail! if start_recording was called, maybe capture video failed? pls check logs") + + def _videoworker_fun(self): + # init worker, set output to None which indicates there is no current video available to get + self._video_recorded_videofilepath = None + + # generate temp filename to record to + mp4_output_filepath = Path("tmp", f"{self.__class__.__name__}_{uuid.uuid4().hex}").with_suffix(".mp4") + + ffmpeg_subprocess = Popen( + [ + "ffmpeg", + "-use_wallclock_as_timestamps", + "1", + "-loglevel", + "info", + "-y", + "-f", + "image2pipe", + "-vcodec", + "mjpeg", + "-i", + "-", + "-vcodec", + "libx264", # warning! image height must be divisible by 2! #there are also hw encoder avail: https://stackoverflow.com/questions/50693934/different-h264-encoders-in-ffmpeg + "-preset", + "veryfast", + "-b:v", # bitrate + f"{appconfig.misc.video_bitrate}k", + "-movflags", + "+faststart", + str(mp4_output_filepath), + ], + stdin=PIPE, + stderr=PIPE, + ) + + logger.info("writing to ffmpeg stdin") + tms = time.time() + + while not self._video_worker_thread.stopped(): + try: + ffmpeg_subprocess.stdin.write(self._wait_for_lores_image()) + ffmpeg_subprocess.stdin.flush() # forces every frame to get timestamped individually + except Exception as exc: # presumably a BrokenPipeError? should we check explicitly? + ffmpeg_subprocess = None + logger.exception(exc) + logger.error(f"Failed to create video! Error: {exc}") + + self._video_worker_thread.stop() + break + + if ffmpeg_subprocess is not None: + logger.info("writing to ffmpeg stdin finished") + logger.debug(f"-- process time: {round((time.time() - tms), 2)}s ") + + # release final video processing + tms = time.time() + + _, ffmpeg_stderr = ffmpeg_subprocess.communicate() # send empty to stdin, indicates close and gets stderr/stdout; shut down tidily + code = ffmpeg_subprocess.wait() # Give it a moment to flush out video frames, but after that make sure we terminate it. + + if code != 0: + logger.error(ffmpeg_stderr) # can help to track down errors for non-zero exitcodes. + + # more debug info can be received in ffmpeg popen stderr (pytest captures automatically) + # TODO: check how to get in application at runtime to write to logs or maybe let ffmpeg write separate logfile + logger.error(f"error creating videofile, ffmpeg exit code ({code}).") + + ffmpeg_subprocess = None + + logger.info("ffmpeg finished") + logger.debug(f"-- process time: {round((time.time() - tms), 2)}s ") + + self._video_recorded_videofilepath = mp4_output_filepath + logger.info(f"record written to {self._video_recorded_videofilepath}") + + logger.info("leaving _videoworker_fun") + # # ABSTRACT METHODS TO BE IMPLEMENTED BY CONCRETE BACKEND (cv2, v4l, ...) # diff --git a/photobooth/services/backends/assets/backend_virtualcamera/background.jpg b/photobooth/services/backends/assets/backend_virtualcamera/background.jpg index 277a498c..4f007fc2 100644 Binary files a/photobooth/services/backends/assets/backend_virtualcamera/background.jpg and b/photobooth/services/backends/assets/backend_virtualcamera/background.jpg differ diff --git a/photobooth/services/backends/picamera2.py b/photobooth/services/backends/picamera2.py index 98c9bfca..6807871d 100644 --- a/photobooth/services/backends/picamera2.py +++ b/photobooth/services/backends/picamera2.py @@ -5,12 +5,14 @@ import dataclasses import io import logging +import uuid +from pathlib import Path from threading import Condition, Event from libcamera import Transform, controls # type: ignore from picamera2 import Picamera2 # type: ignore -from picamera2.encoders import MJPEGEncoder, Quality # type: ignore -from picamera2.outputs import FileOutput # type: ignore +from picamera2.encoders import H264Encoder, MJPEGEncoder, Quality # type: ignore +from picamera2.outputs import FfmpegOutput, FileOutput # type: ignore from ...utils.stoppablethread import StoppableThread from ..config import appconfig @@ -68,6 +70,11 @@ def __init__(self): self._lores_data: __class__.PicamLoresData = None self._hires_data: __class__.PicamHiresData = None + # video related variables. picamera2 uses local recording implementation and overrides abstractbackend + self._video_recorded_videofilepath = None + self._video_encoder = None + self._video_output = None + # worker threads self._worker_thread: StoppableThread = None @@ -236,6 +243,31 @@ def _wait_for_lores_image(self): return self._lores_data.frame + def start_recording(self): + self._video_recorded_videofilepath = Path("tmp", f"{self.__class__.__name__}_{uuid.uuid4().hex}").with_suffix(".mp4") + self._video_encoder = H264Encoder(appconfig.misc.video_bitrate * 1000) # bitrate in k in appconfig, so *1000 + self._video_output = FfmpegOutput(str(self._video_recorded_videofilepath)) + + self._picamera2.start_encoder(self._video_encoder, self._video_output, name="lores") + + logger.info("picamera2 video encoder started") + + def stop_recording(self): + if self._video_encoder and self._video_encoder.running: + self._picamera2.stop_encoder(self._video_encoder) + logger.info("picamera2 video encoder stopped") + else: + logger.info("no picamera2 video encoder active that could be stopped") + + def get_recorded_video(self) -> Path: + if self._video_recorded_videofilepath is not None: + out = self._video_recorded_videofilepath + self._video_recorded_videofilepath = None + + return out + else: + raise FileNotFoundError("no recorded video avail! if start_recording was called, maybe capture video failed? pls check logs") + def _on_configure_optimized_for_hq_capture(self): logger.debug("change to capture mode requested") self._last_config = self._current_config diff --git a/photobooth/services/backends/virtualcamera.py b/photobooth/services/backends/virtualcamera.py index 21ee8d0d..8b2685ea 100644 --- a/photobooth/services/backends/virtualcamera.py +++ b/photobooth/services/backends/virtualcamera.py @@ -16,6 +16,7 @@ from .abstractbackend import AbstractBackend, compile_buffer, decompile_buffer SHARED_MEMORY_BUFFER_BYTES = 1 * 1024**2 +FPS_TARGET = 15 logger = logging.getLogger(__name__) @@ -54,6 +55,7 @@ def _device_start(self): self._img_buffer_lock, self._event_proc_shutdown, appconfig.uisettings.livestream_mirror_effect, + FPS_TARGET, ), daemon=True, ) @@ -130,6 +132,7 @@ def img_aquisition( _img_buffer_lock: Lock, _event_proc_shutdown: Event, _mirror: bool, + _fps_target: int, ): """function started in separate process to deliver images""" @@ -141,7 +144,6 @@ def img_aquisition( logger.info("img_aquisition process started") - target_fps = 15 last_time = time.time_ns() shm = shared_memory.SharedMemory(shm_buffer_name) @@ -154,7 +156,7 @@ def img_aquisition( while not _event_proc_shutdown.is_set(): now_time = time.time_ns() - if (now_time - last_time) / 1000**3 <= (1 / target_fps): + if (now_time - last_time) / 1000**3 <= (1 / _fps_target): # limit max framerate to every ~2ms time.sleep(2 / 1000.0) continue diff --git a/photobooth/services/backends/webcamcv2.py b/photobooth/services/backends/webcamcv2.py index dc59b0aa..b6ba4949 100644 --- a/photobooth/services/backends/webcamcv2.py +++ b/photobooth/services/backends/webcamcv2.py @@ -27,7 +27,7 @@ def __init__(self): super().__init__() self._failing_wait_for_lores_image_is_error = True # missing lores images is automatically considered as error - self._img_buffer_lores = SharedMemoryDataExch( + self._img_buffer = SharedMemoryDataExch( sharedmemory=shared_memory.SharedMemory( create=True, size=SHARED_MEMORY_BUFFER_BYTES, @@ -36,28 +36,15 @@ def __init__(self): lock=Lock(), ) - self._img_buffer_hires = SharedMemoryDataExch( - sharedmemory=shared_memory.SharedMemory( - create=True, - size=SHARED_MEMORY_BUFFER_BYTES, - ), - condition=Condition(), - lock=Lock(), - ) - - self._event_hq_capture: Event = Event() self._event_proc_shutdown: Event = Event() self._cv2_process: Process = None def __del__(self): try: - if self._img_buffer_lores: - self._img_buffer_lores.sharedmemory.close() - self._img_buffer_lores.sharedmemory.unlink() - if self._img_buffer_hires: - self._img_buffer_hires.sharedmemory.close() - self._img_buffer_hires.sharedmemory.unlink() + if self._img_buffer: + self._img_buffer.sharedmemory.close() + self._img_buffer.sharedmemory.unlink() except Exception as exc: # cant use logger any more, just to have some logs to debug if exception print(exc) @@ -72,13 +59,9 @@ def _device_start(self): target=cv2_img_aquisition, name="WebcamCv2AquisitionProcess", args=( - self._img_buffer_lores.sharedmemory.name, - self._img_buffer_hires.sharedmemory.name, - self._img_buffer_lores.lock, - self._img_buffer_hires.lock, - self._event_hq_capture, - self._img_buffer_lores.condition, - self._img_buffer_hires.condition, + self._img_buffer.sharedmemory.name, + self._img_buffer.lock, + self._img_buffer.condition, appconfig, self._event_proc_shutdown, ), @@ -117,18 +100,7 @@ def _device_available(self): def _wait_for_hq_image(self): """for other threads to receive a hq JPEG image""" - - # get img off the producing queue - with self._img_buffer_hires.condition: - self._event_hq_capture.set() - - if not self._img_buffer_hires.condition.wait(timeout=4): - raise TimeoutError("timeout receiving frames") - - with self._img_buffer_hires.lock: - img = decompile_buffer(self._img_buffer_hires.sharedmemory) - - return img + return self._wait_for_lores_image() # # INTERNAL FUNCTIONS @@ -137,12 +109,12 @@ def _wait_for_hq_image(self): def _wait_for_lores_image(self): """for other threads to receive a lores JPEG image""" - with self._img_buffer_lores.condition: - if not self._img_buffer_lores.condition.wait(timeout=0.2): + with self._img_buffer.condition: + if not self._img_buffer.condition.wait(timeout=0.2): raise TimeoutError("timeout receiving frames") - with self._img_buffer_lores.lock: - img = decompile_buffer(self._img_buffer_lores.sharedmemory) + with self._img_buffer.lock: + img = decompile_buffer(self._img_buffer.sharedmemory) return img def _on_configure_optimized_for_hq_capture(self): @@ -158,13 +130,9 @@ def _on_configure_optimized_for_idle(self): def cv2_img_aquisition( - shm_buffer_lores_name, - shm_buffer_hires_name, - _img_buffer_lores_lock, - _img_buffer_hires_lock, - _event_hq_capture: Event, - _condition_img_buffer_lores_ready: Condition, - _condition_img_buffer_hires_ready: Condition, + shm_buffer_name, + _img_buffer_lock, + _condition_img_buffer_ready: Condition, # need to pass config, because unittests can change config, # if not passed, the config are not available in the separate process! _config: AppConfig, @@ -180,8 +148,7 @@ def cv2_img_aquisition( fmt = "%(asctime)s [%(levelname)8s] %(message)s (%(filename)s:%(lineno)s) proc%(process)d" logging.basicConfig(level=logging.DEBUG, format=fmt) - shm_lores = shared_memory.SharedMemory(shm_buffer_lores_name) - shm_hires = shared_memory.SharedMemory(shm_buffer_hires_name) + shm = shared_memory.SharedMemory(shm_buffer_name) if platform.system() == "Windows": logger.info("force VideoCapture to DSHOW backend on windows (MSMF is buggy and crashes app)") @@ -220,34 +187,15 @@ def cv2_img_aquisition( if _config.backends.cv2_CAMERA_TRANSFORM_VFLIP: array = cv2.flip(array, 0) - if _event_hq_capture.is_set(): - _event_hq_capture.clear() - - # one time hq still - - # array = cv2.fastNlMeansDenoisingColored(array, None, 2, 2, 3, 9) - # above command takes too long time -> timeout on wait commands - # HD frame needs like 2sec, not suitable for realtime processing - - # convert frame to jpeg buffer - jpeg_buffer = turbojpeg.encode(array, quality=_config.mediaprocessing.HIRES_STILL_QUALITY) - # put jpeg on queue until full. If full this function blocks until queue empty - with _img_buffer_hires_lock: - compile_buffer(shm_hires, jpeg_buffer) - - with _condition_img_buffer_hires_ready: - # wait to be notified - _condition_img_buffer_hires_ready.notify_all() - else: - # preview livestream - jpeg_buffer = turbojpeg.encode(array, quality=_config.mediaprocessing.LIVEPREVIEW_QUALITY) - # put jpeg on queue until full. If full this function blocks until queue empty - with _img_buffer_lores_lock: - compile_buffer(shm_lores, jpeg_buffer) - - with _condition_img_buffer_lores_ready: - # wait to be notified - _condition_img_buffer_lores_ready.notify_all() + # preview livestream + jpeg_buffer = turbojpeg.encode(array, quality=90) + # put jpeg on queue until full. If full this function blocks until queue empty + with _img_buffer_lock: + compile_buffer(shm, jpeg_buffer) + + with _condition_img_buffer_ready: + # wait to be notified + _condition_img_buffer_ready.notify_all() # release camera on process shutdown _video.release() diff --git a/photobooth/services/backends/webcamv4l.py b/photobooth/services/backends/webcamv4l.py index 9df04240..2a346fa0 100644 --- a/photobooth/services/backends/webcamv4l.py +++ b/photobooth/services/backends/webcamv4l.py @@ -91,16 +91,7 @@ def _device_available(self): def _wait_for_hq_image(self): """for other threads to receive a hq JPEG image""" - - # get img off the producing queue - with self._img_buffer.condition: - if not self._img_buffer.condition.wait(timeout=4): - raise TimeoutError("timeout receiving frames") - - with self._img_buffer.lock: - img = decompile_buffer(self._img_buffer.sharedmemory) - - return img + return self._wait_for_lores_image() # # INTERNAL FUNCTIONS diff --git a/photobooth/services/config/groups/misc.py b/photobooth/services/config/groups/misc.py index 194978bf..f561257d 100644 --- a/photobooth/services/config/groups/misc.py +++ b/photobooth/services/config/groups/misc.py @@ -4,7 +4,7 @@ """ -from pydantic import BaseModel, ConfigDict +from pydantic import BaseModel, ConfigDict, Field class GroupMisc(BaseModel): @@ -13,3 +13,17 @@ class GroupMisc(BaseModel): """ model_config = ConfigDict(title="Miscellaneous Config") + + video_duration: int = Field( + default=5, + ge=1, + le=30, + description="Duration of a video in seconds. The user can stop recording earlier but cannot take longer videos.", + ) + + video_bitrate: int = Field( + default=3000, + ge=1000, + le=10000, + description="Video quality bitrate in k.", + ) diff --git a/photobooth/services/config/groups/uisettings.py b/photobooth/services/config/groups/uisettings.py index 96184d7b..89d52636 100644 --- a/photobooth/services/config/groups/uisettings.py +++ b/photobooth/services/config/groups/uisettings.py @@ -16,23 +16,27 @@ class GroupUiSettings(BaseModel): show_takepic_on_frontpage: bool = Field( default=True, - description="Show link to capture single picture on frontpage.", + description="Show button to capture single picture on frontpage.", ) show_takecollage_on_frontpage: bool = Field( default=True, - description="Show link to capture collage on frontpage.", + description="Show button to capture collage on frontpage.", ) show_takeanimation_on_frontpage: bool = Field( default=True, - description="Show link to capture animated GIF on frontpage.", + description="Show button to capture animated GIF on frontpage.", + ) + show_takevideo_on_frontpage: bool = Field( + default=True, + description="Show button to capture video on frontpage.", ) show_gallery_on_frontpage: bool = Field( default=True, - description="Show link to gallery on frontpage.", + description="Show button to gallery on frontpage.", ) show_admin_on_frontpage: bool = Field( default=True, - description="Show link to admin center, usually only during setup.", + description="Show button to admin center, usually only during setup.", ) livestream_mirror_effect: bool = Field( diff --git a/photobooth/services/mediacollection/mediaitem.py b/photobooth/services/mediacollection/mediaitem.py index f326c06b..fa41388a 100644 --- a/photobooth/services/mediacollection/mediaitem.py +++ b/photobooth/services/mediacollection/mediaitem.py @@ -44,7 +44,7 @@ class MediaItemTypes(str, Enum): collageimage = "collageimage" # captured image that is part of a collage (so it can be treated differently in UI than other images) animation = "animation" # canvas image that was made out of several animation_image animationimage = "animationimage" # captured image that is part of a animation (so it can be treated differently in UI than other images) - video = "video" # captured video - not yet implemented + video = "video" # captured video - h264, mp4 is currently well supported in browsers it seems class MediaItemAllowedFileendings(str, Enum): @@ -55,6 +55,7 @@ class MediaItemAllowedFileendings(str, Enum): jpg = "jpg" # images gif = "gif" # animated gifs + mp4 = "mp4" # video/h264/mp4 def get_new_filename(type: MediaItemTypes = MediaItemTypes.image, visibility: bool = True) -> Path: @@ -63,8 +64,8 @@ def get_new_filename(type: MediaItemTypes = MediaItemTypes.image, visibility: bo # only result of animation is gif, other can be jpg because more efficient and better quality. filename_ending = MediaItemAllowedFileendings.gif.value if type is MediaItemTypes.video: - # not yet implemented. - filename_ending = "mjpg" + # video is mp4/h264. not yet clear if thumbnail is also mp4 or a still preview(?) + filename_ending = MediaItemAllowedFileendings.mp4.value return Path( PATH_ORIGINAL, @@ -258,6 +259,8 @@ def create_fileset_unprocessed(self): self._create_fileset_unprocessed_jpg() elif suffix.lower() == ".gif": self._create_fileset_unprocessed_gif() + elif suffix.lower() == ".mp4": + self._create_fileset_unprocessed_mp4() else: raise RuntimeError(f"filetype not supported {suffix}") @@ -370,6 +373,13 @@ def _create_fileset_unprocessed_gif(self): ) logger.info(f"-- process time: {round((time.time() - tms), 2)}s to scale thumbnail_unprocessed") + def _create_fileset_unprocessed_mp4(self): + """create mp4 fileset in most efficient way.""" + # TODO: actually implement resizer + shutil.copy2(self.path_original, self.path_full_unprocessed) + shutil.copy2(self.path_original, self.path_preview_unprocessed) + shutil.copy2(self.path_original, self.path_thumbnail_unprocessed) + def copy_fileset_processed(self): shutil.copy2(self.path_full_unprocessed, self.path_full) shutil.copy2(self.path_preview_unprocessed, self.path_preview) diff --git a/photobooth/services/processing/jobmodels.py b/photobooth/services/processing/jobmodels.py index 08e1764f..48718289 100644 --- a/photobooth/services/processing/jobmodels.py +++ b/photobooth/services/processing/jobmodels.py @@ -174,6 +174,13 @@ def ask_user_for_approval(self) -> bool: else: return False + def jobtype_recording(self) -> bool: + # to check if mode is video or HQ captures request + if self._typ is JobModel.Typ.video: + return True + else: + return False + # external model start/stop controls def start_model(self, typ: Typ, total_captures_to_take: int, collage_automatic_capture_continue: bool = False): self.reset_job() diff --git a/photobooth/services/processingservice.py b/photobooth/services/processingservice.py index 9f0677f4..e5e0cf29 100644 --- a/photobooth/services/processingservice.py +++ b/photobooth/services/processingservice.py @@ -34,20 +34,21 @@ class ProcessingService(StateMachine): idle = State(initial=True) counting = State() # countdown before capture capture = State() # capture from camera include postprocess single img postproc + record = State() # record from camera approve_capture = State() # waiting state to approve. transition by confirm,reject or autoconfirm - captures_completed = State() # final postproc (mostly to create collage) + captures_completed = State() # final postproc (mostly to create collage/gif) present_capture = State() # final presentation of mediaitem ## TRANSITIONS start = idle.to(counting) - _counted = counting.to(capture) - _captured = capture.to(approve_capture) + _counted = counting.to(capture, unless="jobtype_recording") | counting.to(record, cond="jobtype_recording") + _captured = capture.to(approve_capture) | record.to(captures_completed) confirm = approve_capture.to(counting, unless="all_captures_confirmed") | approve_capture.to(captures_completed, cond="all_captures_confirmed") reject = approve_capture.to(counting) _present = captures_completed.to(present_capture) _finalize = present_capture.to(idle) - _reset = idle.to.itself(internal=True) | idle.from_(counting, capture, present_capture, approve_capture, captures_completed) + _reset = idle.to.itself(internal=True) | idle.from_(counting, capture, record, present_capture, approve_capture, captures_completed) def __init__( self, @@ -126,6 +127,8 @@ def on_enter_idle(self): """_summary_""" logger.info("state idle entered.") + self._wled_service.preset_standby() + # switch backend to preview mode always when returning to idle. self._aquisition_service.signalbackend_configure_optimized_for_idle() @@ -135,7 +138,9 @@ def on_enter_counting(self): self._wled_service.preset_thrill() # set backends to capture mode; backends take their own actions if needed. - self._aquisition_service.signalbackend_configure_optimized_for_hq_capture() + if self.model._typ is not JobModel.Typ.video: + # signal the backend we need hq still in every case, except video. + self._aquisition_service.signalbackend_configure_optimized_for_hq_capture() # determine countdown time, first and following could have different times duration = ( @@ -186,6 +191,8 @@ def on_enter_capture(self): _type = MediaItemTypes.collageimage # 1st phase collage image if self.model._typ is JobModel.Typ.animation: _type = MediaItemTypes.animationimage # 1st phase collage image + if self.model._typ is JobModel.Typ.video: + raise RuntimeError("videos are not processed in capture state") filepath_neworiginalfile = get_new_filename(type=_type) logger.debug(f"capture to {filepath_neworiginalfile=}") @@ -273,9 +280,45 @@ def on_exit_approve_capture(self, event): logger.info(f"rejected: {delete_mediaitem=}") self._mediacollection_service.delete_mediaitem_files(delete_mediaitem) + def on_enter_record(self): + """_summary_""" + + self._wled_service.preset_record() + + try: + self._aquisition_service.start_recording() + + except Exception as exc: + logger.exception(exc) + logger.error(f"error start recording! {exc}") + + # reraise so http error can be sent + raise exc + # no retry for this type of error + + # capture finished, go to next state + time.sleep(appconfig.misc.video_duration) + + self._captured() + + def on_exit_record(self): + """_summary_""" + + self._wled_service.preset_standby() + + try: + self._aquisition_service.stop_recording() + except Exception as exc: + logger.exception(exc) + logger.error(f"error stop recording! {exc}") + + # reraise so http error can be sent + raise exc + # no retry for this type of error + def on_enter_captures_completed(self): ## PHASE 2: - # postprocess job as whole, create collage of single images, ... + # postprocess job as whole, create collage of single images, video... logger.info("start postprocessing phase 2") if self.model._typ is JobModel.Typ.collage: @@ -304,6 +347,29 @@ def on_enter_captures_completed(self): self.model.add_confirmed_capture_to_collection(mediaitem) self.model.set_last_capture(mediaitem) # set last item also to collage, so UI can rely on last capture being the one to present + elif self.model._typ is JobModel.Typ.video: + # apply video phase2 pipeline: + tms = time.time() + + # get video in h264 format for further processing. + temp_videofilepath = self._aquisition_service.get_recorded_video() + + # populate image item for further processing: + filepath_neworiginalfile = get_new_filename(type=MediaItemTypes.video) + logger.debug(f"record to {filepath_neworiginalfile=}") + + os.rename(temp_videofilepath, filepath_neworiginalfile) + mediaitem = MediaItem(os.path.basename(filepath_neworiginalfile)) + self.model.set_last_capture(mediaitem) + + mediaitem.create_fileset_unprocessed() + mediaitem.copy_fileset_processed() + + logger.info(f"-- process time: {round((time.time() - tms), 2)}s to create video") + + # resulting collage mediaitem will be added to the collection as most recent item + self.model.add_confirmed_capture_to_collection(mediaitem) + else: pass # nothing to do for other job type @@ -359,7 +425,13 @@ def start_job_collage(self): raise RuntimeError(f"error processing the job :| {exc}") from exc def start_job_video(self): - raise NotImplementedError + self._check_occupied() + try: + self.start(JobModel.Typ.video, 1) + except Exception as exc: + logger.error(exc) + self._reset() + raise RuntimeError(f"error processing the job :| {exc}") from exc def start_job_animation(self): self._check_occupied() @@ -381,3 +453,6 @@ def reject_capture(self): def abort_process(self): self._reset() + + def stop_recording(self): + self._captured() diff --git a/photobooth/services/wledservice.py b/photobooth/services/wledservice.py index ee0024f7..3e11184c 100644 --- a/photobooth/services/wledservice.py +++ b/photobooth/services/wledservice.py @@ -14,6 +14,7 @@ PRESET_ID_STANDBY = 1 PRESET_ID_COUNTDOWN = 2 PRESET_ID_SHOOT = 3 +PRESET_ID_RECORD = 4 RECONNECT_INTERVAL_TIMER = 10 @@ -141,6 +142,11 @@ def preset_shoot(self): self._logger.info("WledService preset_shoot triggered") self._write_request(self._request_preset(PRESET_ID_SHOOT)) + def preset_record(self): + """_summary_""" + self._logger.info("WledService preset_record triggered") + self._write_request(self._request_preset(PRESET_ID_RECORD)) + def _write_request(self, request): # _serial is None if not initialized -> return # if not open() -> return also, fail in silence diff --git a/photobooth/web_spa/css/148.d08e2765.css b/photobooth/web_spa/css/245.d08e2765.css similarity index 100% rename from photobooth/web_spa/css/148.d08e2765.css rename to photobooth/web_spa/css/245.d08e2765.css diff --git a/photobooth/web_spa/css/764.d08e2765.css b/photobooth/web_spa/css/632.d08e2765.css similarity index 100% rename from photobooth/web_spa/css/764.d08e2765.css rename to photobooth/web_spa/css/632.d08e2765.css diff --git a/photobooth/web_spa/css/296.e0d6567a.css b/photobooth/web_spa/css/823.6f7e3f0a.css similarity index 69% rename from photobooth/web_spa/css/296.e0d6567a.css rename to photobooth/web_spa/css/823.6f7e3f0a.css index 4264b0c2..aedbb168 100644 --- a/photobooth/web_spa/css/296.e0d6567a.css +++ b/photobooth/web_spa/css/823.6f7e3f0a.css @@ -1 +1 @@ -.q-carousel,.q-drawer{background:linear-gradient(120deg,#f5f5f5,#e3e5f0 50%,#f5f5f5)}.q-carousel__slide{background-repeat:no-repeat;background-size:contain}.preview-item[data-v-8186f0bc]{height:400px;width:400px} \ No newline at end of file +.q-carousel,.q-drawer{background:linear-gradient(120deg,#f5f5f5,#e3e5f0 50%,#f5f5f5)}.q-carousel__slide{background-repeat:no-repeat;background-size:contain}.preview-item[data-v-398add10]{height:400px;width:400px} \ No newline at end of file diff --git a/photobooth/web_spa/css/vendor.b3ee0fcf.css b/photobooth/web_spa/css/vendor.1d880373.css similarity index 99% rename from photobooth/web_spa/css/vendor.b3ee0fcf.css rename to photobooth/web_spa/css/vendor.1d880373.css index bea158e1..e7cf5266 100644 --- a/photobooth/web_spa/css/vendor.b3ee0fcf.css +++ b/photobooth/web_spa/css/vendor.1d880373.css @@ -1,4 +1,4 @@ -@charset "UTF-8";@font-face{font-family:Roboto;font-style:normal;font-weight:100;src:url(../fonts/KFOkCnqEu92Fr1MmgVxIIzQ.68bb21d0.woff) format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:300;src:url(../fonts/KFOlCnqEu92Fr1MmSU5fBBc-.c2f7ab22.woff) format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:400;src:url(../fonts/KFOmCnqEu92Fr1Mu4mxM.f1e2a767.woff) format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:500;src:url(../fonts/KFOlCnqEu92Fr1MmEU9fBBc-.48af7707.woff) format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:700;src:url(../fonts/KFOlCnqEu92Fr1MmWUlfBBc-.77ecb942.woff) format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:900;src:url(../fonts/KFOlCnqEu92Fr1MmYUtfBBc-.f5677eb2.woff) format("woff")}@font-face{font-display:block;font-family:Material Icons;font-style:normal;font-weight:400;src:url(../fonts/flUhRq6tzZclQEJ-Vdg-IuiaDsNcIhQ8tQ.c5371cfb.woff2) format("woff2"),url(../fonts/flUhRq6tzZclQEJ-Vdg-IuiaDsNa.4d73cb90.woff) format("woff")}.material-icons{word-wrap:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-feature-settings:"liga";direction:ltr;display:inline-block;font-family:Material Icons;font-style:normal;font-weight:400;letter-spacing:normal;line-height:1;text-rendering:optimizeLegibility;text-transform:none;white-space:nowrap} +@charset "UTF-8";@font-face{font-family:Roboto;font-style:normal;font-weight:100;src:url(../fonts/KFOkCnqEu92Fr1MmgVxIIzQ.68bb21d0.woff) format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:300;src:url(../fonts/KFOlCnqEu92Fr1MmSU5fBBc-.c2f7ab22.woff) format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:400;src:url(../fonts/KFOmCnqEu92Fr1Mu4mxM.f1e2a767.woff) format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:500;src:url(../fonts/KFOlCnqEu92Fr1MmEU9fBBc-.48af7707.woff) format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:700;src:url(../fonts/KFOlCnqEu92Fr1MmWUlfBBc-.77ecb942.woff) format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:900;src:url(../fonts/KFOlCnqEu92Fr1MmYUtfBBc-.f5677eb2.woff) format("woff")}@font-face{font-display:block;font-family:Material Icons;font-style:normal;font-weight:400;src:url(../fonts/flUhRq6tzZclQEJ-Vdg-IuiaDsNcIhQ8tQ.c5371cfb.woff2) format("woff2"),url(../fonts/flUhRq6tzZclQEJ-Vdg-IuiaDsNa.4d73cb90.woff) format("woff")}.material-icons{font-feature-settings:"liga";font-family:Material Icons}@font-face{font-display:block;font-family:Material Icons Outlined;font-style:normal;font-weight:400;src:url(../fonts/gok-H7zzDkdnRel8-DQ6KAXJ69wP1tGnf4ZGhUcel5euIg.6f420cf1.woff2) format("woff2"),url(../fonts/gok-H7zzDkdnRel8-DQ6KAXJ69wP1tGnf4ZGhUcY.f882956f.woff) format("woff")}.material-icons,.material-icons-outlined{word-wrap:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;direction:ltr;display:inline-block;font-style:normal;font-weight:400;letter-spacing:normal;line-height:1;text-rendering:optimizeLegibility;text-transform:none;white-space:nowrap}.material-icons-outlined{font-feature-settings:"liga";font-family:Material Icons Outlined} /*! * * Quasar Framework v2.12.6 * * (c) 2015-present Razvan Stoenescu diff --git a/photobooth/web_spa/fonts/gok-H7zzDkdnRel8-DQ6KAXJ69wP1tGnf4ZGhUcY.f882956f.woff b/photobooth/web_spa/fonts/gok-H7zzDkdnRel8-DQ6KAXJ69wP1tGnf4ZGhUcY.f882956f.woff new file mode 100644 index 00000000..edeb9df9 Binary files /dev/null and b/photobooth/web_spa/fonts/gok-H7zzDkdnRel8-DQ6KAXJ69wP1tGnf4ZGhUcY.f882956f.woff differ diff --git a/photobooth/web_spa/fonts/gok-H7zzDkdnRel8-DQ6KAXJ69wP1tGnf4ZGhUcel5euIg.6f420cf1.woff2 b/photobooth/web_spa/fonts/gok-H7zzDkdnRel8-DQ6KAXJ69wP1tGnf4ZGhUcel5euIg.6f420cf1.woff2 new file mode 100644 index 00000000..d44b9486 Binary files /dev/null and b/photobooth/web_spa/fonts/gok-H7zzDkdnRel8-DQ6KAXJ69wP1tGnf4ZGhUcel5euIg.6f420cf1.woff2 differ diff --git a/photobooth/web_spa/index.html b/photobooth/web_spa/index.html index 819584cc..5464aeca 100644 --- a/photobooth/web_spa/index.html +++ b/photobooth/web_spa/index.html @@ -1 +1 @@ -photobooth-app
\ No newline at end of file +photobooth-app
\ No newline at end of file diff --git a/photobooth/web_spa/js/764.90667ff9.js b/photobooth/web_spa/js/245.59001086.js similarity index 92% rename from photobooth/web_spa/js/764.90667ff9.js rename to photobooth/web_spa/js/245.59001086.js index 5ab91683..ec4bc2d8 100644 --- a/photobooth/web_spa/js/764.90667ff9.js +++ b/photobooth/web_spa/js/245.59001086.js @@ -1 +1 @@ -"use strict";(globalThis["webpackChunkphotobooth_app_frontend"]=globalThis["webpackChunkphotobooth_app_frontend"]||[]).push([[764],{97310:(e,t,r)=>{r.r(t),r.d(t,{default:()=>P});var o=r(59835),a=r(86970);const s=(0,o._)("div",{class:"text-h6"},"Nice?",-1),c={class:"text-subtitle1"},n=(0,o._)("div",null,"Try again!",-1),l=(0,o._)("div",null,"Abort",-1),u=(0,o._)("div",null,[(0,o.Uk)(" Awesome, next! "),(0,o._)("br")],-1);function i(e,t,r,i,m,d){const p=(0,o.up)("q-card-section"),_=(0,o.up)("q-img"),h=(0,o.up)("q-icon"),f=(0,o.up)("q-btn"),g=(0,o.up)("q-card-actions"),b=(0,o.up)("q-card"),w=(0,o.up)("q-page");return(0,o.wg)(),(0,o.j4)(w,{class:"flex flex-center"},{default:(0,o.w5)((()=>[(0,o.Wm)(b,{style:{height:"95vh"}},{default:(0,o.w5)((()=>[(0,o.Wm)(p,{align:"center"},{default:(0,o.w5)((()=>[s,(0,o._)("div",c," Got "+(0,a.zw)(this.stateStore.number_captures_taken)+" of "+(0,a.zw)(this.stateStore.total_captures_to_take)+" captures total ",1)])),_:1}),(0,o.Wm)(p,{class:""},{default:(0,o.w5)((()=>[(0,o.Wm)(_,{class:"rounded-borders",src:d.imgToApproveSrc},null,8,["src"])])),_:1}),(0,o.Wm)(g,{align:"around"},{default:(0,o.w5)((()=>[(0,o.Wm)(f,{color:"negative","no-caps":"",onClick:t[0]||(t[0]=e=>d.userReject()),class:""},{default:(0,o.w5)((()=>[(0,o.Wm)(h,{left:"",size:"7em",name:"thumb_down"}),n])),_:1}),(0,o.Wm)(f,{flat:"",color:"grey","no-caps":"",onClick:t[1]||(t[1]=e=>d.userAbort()),class:""},{default:(0,o.w5)((()=>[(0,o.Wm)(h,{left:"",size:"7em",name:"cancel"}),l])),_:1}),(0,o.Wm)(f,{color:"positive","no-caps":"",onClick:t[2]||(t[2]=e=>d.userConfirm())},{default:(0,o.w5)((()=>[(0,o.Wm)(h,{left:"",size:"7em",name:"thumb_up"}),u])),_:1})])),_:1})])),_:1})])),_:1})}r(69665);var m=r(67575),d=r(33630),p=r(15639),_=r(96694),h=r(95591),f=r(91569);const g={data(){return{}},computed:{imgToApproveSrc:{get(){return this.stateStore.last_captured_mediaitem&&this.stateStore.last_captured_mediaitem["preview"]}}},setup(){const e=(0,m.h)(),t=(0,d.r)(),r=(0,_.R)(),o=(0,p.B)();return{mainStore:e,mediacollectionStore:t,stateStore:o,uiSettingsStore:r,GalleryImageDetail:h.Z,remoteProcedureCall:f.remoteProcedureCall}},mounted(){},beforeUnmount(){},methods:{userConfirm(){(0,f.remoteProcedureCall)("/processing/cmd/confirm"),this.$router.push("/")},userReject(){(0,f.remoteProcedureCall)("/processing/cmd/reject"),this.$router.push("/")},userAbort(){(0,f.remoteProcedureCall)("/processing/cmd/abort"),this.$router.push("/")}}};var b=r(11639),w=r(69885),C=r(44458),v=r(63190),S=r(70335),W=r(11821),k=r(68879),Z=r(22857),q=r(69984),A=r.n(q);const Q=(0,b.Z)(g,[["render",i]]),P=Q;A()(g,"components",{QPage:w.Z,QCard:C.Z,QCardSection:v.Z,QImg:S.Z,QCardActions:W.Z,QBtn:k.Z,QIcon:Z.Z})}}]); \ No newline at end of file +"use strict";(globalThis["webpackChunkphotobooth_app_frontend"]=globalThis["webpackChunkphotobooth_app_frontend"]||[]).push([[245],{69263:(e,t,r)=>{r.r(t),r.d(t,{default:()=>P});var o=r(59835),a=r(86970);const s=(0,o._)("div",{class:"text-h6"},"Nice?",-1),c={class:"text-subtitle1"},n=(0,o._)("div",null,"Try again!",-1),l=(0,o._)("div",null,"Abort",-1),u=(0,o._)("div",null,[(0,o.Uk)(" Awesome, next! "),(0,o._)("br")],-1);function i(e,t,r,i,m,d){const p=(0,o.up)("q-card-section"),_=(0,o.up)("q-img"),h=(0,o.up)("q-icon"),f=(0,o.up)("q-btn"),g=(0,o.up)("q-card-actions"),b=(0,o.up)("q-card"),w=(0,o.up)("q-page");return(0,o.wg)(),(0,o.j4)(w,{class:"flex flex-center"},{default:(0,o.w5)((()=>[(0,o.Wm)(b,{style:{height:"95vh"}},{default:(0,o.w5)((()=>[(0,o.Wm)(p,{align:"center"},{default:(0,o.w5)((()=>[s,(0,o._)("div",c," Got "+(0,a.zw)(this.stateStore.number_captures_taken)+" of "+(0,a.zw)(this.stateStore.total_captures_to_take)+" captures total ",1)])),_:1}),(0,o.Wm)(p,{class:""},{default:(0,o.w5)((()=>[(0,o.Wm)(_,{class:"rounded-borders",src:d.imgToApproveSrc},null,8,["src"])])),_:1}),(0,o.Wm)(g,{align:"around"},{default:(0,o.w5)((()=>[(0,o.Wm)(f,{color:"negative","no-caps":"",onClick:t[0]||(t[0]=e=>d.userReject()),class:""},{default:(0,o.w5)((()=>[(0,o.Wm)(h,{left:"",size:"7em",name:"thumb_down"}),n])),_:1}),(0,o.Wm)(f,{flat:"",color:"grey","no-caps":"",onClick:t[1]||(t[1]=e=>d.userAbort()),class:""},{default:(0,o.w5)((()=>[(0,o.Wm)(h,{left:"",size:"7em",name:"cancel"}),l])),_:1}),(0,o.Wm)(f,{color:"positive","no-caps":"",onClick:t[2]||(t[2]=e=>d.userConfirm())},{default:(0,o.w5)((()=>[(0,o.Wm)(h,{left:"",size:"7em",name:"thumb_up"}),u])),_:1})])),_:1})])),_:1})])),_:1})}r(69665);var m=r(67575),d=r(33630),p=r(15639),_=r(96694),h=r(68800),f=r(91569);const g={data(){return{}},computed:{imgToApproveSrc:{get(){return this.stateStore.last_captured_mediaitem&&this.stateStore.last_captured_mediaitem["preview"]}}},setup(){const e=(0,m.h)(),t=(0,d.r)(),r=(0,_.R)(),o=(0,p.B)();return{mainStore:e,mediacollectionStore:t,stateStore:o,uiSettingsStore:r,GalleryImageDetail:h.Z,remoteProcedureCall:f.remoteProcedureCall}},mounted(){},beforeUnmount(){},methods:{userConfirm(){(0,f.remoteProcedureCall)("/processing/cmd/confirm"),this.$router.push("/")},userReject(){(0,f.remoteProcedureCall)("/processing/cmd/reject"),this.$router.push("/")},userAbort(){(0,f.remoteProcedureCall)("/processing/cmd/abort"),this.$router.push("/")}}};var b=r(11639),w=r(69885),C=r(44458),v=r(63190),S=r(70335),W=r(11821),k=r(68879),Z=r(22857),q=r(69984),A=r.n(q);const Q=(0,b.Z)(g,[["render",i]]),P=Q;A()(g,"components",{QPage:w.Z,QCard:C.Z,QCardSection:v.Z,QImg:S.Z,QCardActions:W.Z,QBtn:k.Z,QIcon:Z.Z})}}]); \ No newline at end of file diff --git a/photobooth/web_spa/js/296.31d7460c.js b/photobooth/web_spa/js/296.31d7460c.js deleted file mode 100644 index a9b98c2d..00000000 --- a/photobooth/web_spa/js/296.31d7460c.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(globalThis["webpackChunkphotobooth_app_frontend"]=globalThis["webpackChunkphotobooth_app_frontend"]||[]).push([[296],{80736:(e,t,i)=>{i.r(t),i.d(t,{default:()=>k});var o=i(59835),l=i(86970);const n={key:0,class:"row justify-center q-gutter-sm"},a={class:"absolute-bottom text-subtitle2"},s=["innerHTML"];function c(e,t,i,c,r,d){const m=(0,o.up)("q-img"),u=(0,o.up)("q-card"),p=(0,o.up)("q-intersection"),g=(0,o.up)("gallery-image-detail"),h=(0,o.up)("q-dialog"),w=(0,o.up)("q-page");return(0,o.wg)(),(0,o.j4)(w,{padding:""},{default:(0,o.w5)((()=>[d.isGalleryEmpty?((0,o.wg)(),(0,o.iD)("div",{key:1,innerHTML:c.uiSettingsStore.uiSettings.GALLERY_EMPTY_MSG},null,8,s)):((0,o.wg)(),(0,o.iD)("div",n,[((0,o.wg)(!0),(0,o.iD)(o.HY,null,(0,o.Ko)(this.mediacollectionStore.collection,((e,t)=>((0,o.wg)(),(0,o.j4)(p,{key:e.id,once:"",class:"preview-item"},{default:(0,o.w5)((()=>[(0,o.Wm)(u,{class:"q-ma-sm",onClick:e=>d.openPic(t)},{default:(0,o.w5)((()=>[(0,o.Wm)(m,{src:d.getImageDetail(t),loading:"eager","no-transition":"","no-spinner":"",ratio:1},{default:(0,o.w5)((()=>[(0,o._)("div",a,(0,l.zw)(this.mediacollectionStore.collection[t].caption),1)])),_:2},1032,["src"])])),_:2},1032,["onClick"])])),_:2},1024)))),128))])),(0,o.Wm)(h,{"transition-show":"jump-up","transition-hide":"jump-down",modelValue:c.showImageDetail,"onUpdate:modelValue":t[1]||(t[1]=e=>c.showImageDetail=e),maximized:""},{default:(0,o.w5)((()=>[(0,o.Wm)(g,{onCloseEvent:t[0]||(t[0]=e=>c.showImageDetail=!1),itemRepository:this.mediacollectionStore.collection,indexSelected:c.indexSelected,class:"full-height"},null,8,["itemRepository","indexSelected"])])),_:1},8,["modelValue"])])),_:1})}var r=i(67575),d=i(96694),m=i(33630),u=i(60499),p=i(95591);const g={components:{GalleryImageDetail:p.Z},setup(){const e=(0,r.h)(),t=(0,d.R)(),i=(0,m.r)();return{store:e,uiSettingsStore:t,mediacollectionStore:i,GalleryImageDetail:p.Z,indexSelected:(0,u.iH)(null),showImageDetail:(0,u.iH)(!1)}},computed:{itemId(){return this.$route.params.id},isGalleryEmpty(){return 0==this.mediacollectionStore.collection_number_of_items}},mounted(){},watch:{itemId(e,t){const i=this.mediacollectionStore.getIndexOfItemId(e);-1==i?console.error(`image id not found ${e}`):this.openPic(i)}},methods:{getImageDetail(e,t="thumbnail"){return this.mediacollectionStore.collection[e][t]},openPic(e){this.indexSelected=e,this.showImageDetail=!0}}};var h=i(11639),w=i(69885),S=i(21517),I=i(44458),_=i(70335),f=i(32074),y=i(69984),D=i.n(y);const b=(0,h.Z)(g,[["render",c],["__scopeId","data-v-8186f0bc"]]),k=b;D()(g,"components",{QPage:w.Z,QIntersection:S.Z,QCard:I.Z,QImg:_.Z,QDialog:f.Z})}}]); \ No newline at end of file diff --git a/photobooth/web_spa/js/52.a2523ddf.js b/photobooth/web_spa/js/52.a2523ddf.js new file mode 100644 index 00000000..e4a87068 --- /dev/null +++ b/photobooth/web_spa/js/52.a2523ddf.js @@ -0,0 +1 @@ +"use strict";(globalThis["webpackChunkphotobooth_app_frontend"]=globalThis["webpackChunkphotobooth_app_frontend"]||[]).push([[52],{94052:(t,e,o)=>{o.r(e),o.d(e,{default:()=>N});var n=o(59835),i=o(86970);const s={key:1,class:"full-height full-width column justify-center content-center",style:{position:"absolute"}},r={key:2,class:"full-height full-width column justify-center content-center",style:{position:"absolute"}},a=["innerHTML"],l={key:0},c={class:"row q-gutter-sm"},u=(0,n._)("div",{style:{"white-space":"nowrap"},class:"gt-sm"},"Take a Picture",-1),g=(0,n._)("div",{style:{"white-space":"nowrap"},class:"gt-sm"},"Create Collage",-1),m=(0,n._)("div",{style:{"white-space":"nowrap"},class:"gt-sm"},"Create Animation",-1),d=(0,n._)("div",{style:{"white-space":"nowrap"},class:"gt-sm"},"Capture Video",-1),h={key:0},p={class:"q-gutter-sm"},w=(0,n._)("div",{class:"gt-sm"},"Gallery",-1),_=(0,n._)("div",{class:"gt-sm"},"Admin",-1),f=(0,n._)("br",null,null,-1);function k(t,e,o,k,S,y){const v=(0,n.up)("q-spinner-grid"),C=(0,n.up)("countdown-timer"),b=(0,n.up)("q-icon"),q=(0,n.up)("q-btn"),T=(0,n.up)("q-page-sticky"),P=(0,n.up)("q-spinner-puff"),W=(0,n.up)("q-page");return(0,n.wg)(),(0,n.j4)(W,{class:"q-pa-none column full-height"},{default:(0,n.w5)((()=>[t.showPreview?((0,n.wg)(),(0,n.iD)("div",{key:0,id:"preview-stream",style:{"background-image":'url("/aquisition/stream.mjpg")'},class:(0,i.C_)(["full-width column justify-center content-center",{mirroreffect:t.livestreamMirror}])},null,2)):(0,n.kq)("",!0),t.showProcessing?((0,n.wg)(),(0,n.iD)("div",s,[(0,n.Wm)(v,{size:"20em"})])):(0,n.kq)("",!0),t.showCountdownCounting?((0,n.wg)(),(0,n.iD)("div",r,[(0,n.Wm)(C,{ref:"countdowntimer",duration:this.stateStore.duration,messageDuration:t.uiSettingsStore.uiSettings.TAKEPIC_MSG_TIME},null,8,["duration","messageDuration"])])):(0,n.kq)("",!0),t.showFrontpage?((0,n.wg)(),(0,n.iD)("div",{key:3,id:"frontpage_text",innerHTML:t.uiSettingsStore.uiSettings["FRONTPAGE_TEXT"]},null,8,a)):(0,n.kq)("",!0),(0,n.Wm)(T,{position:"bottom",offset:[0,25]},{default:(0,n.w5)((()=>[t.showFrontpage?((0,n.wg)(),(0,n.iD)("div",l,[(0,n._)("div",c,[t.uiSettingsStore.uiSettings.show_takepic_on_frontpage?((0,n.wg)(),(0,n.j4)(q,{key:0,stack:"",color:"primary","no-caps":"",onClick:e[0]||(e[0]=e=>t.takePicture()),class:"action-button col-auto"},{default:(0,n.w5)((()=>[(0,n.Wm)(b,{name:"o_photo_camera"}),u])),_:1})):(0,n.kq)("",!0),t.uiSettingsStore.uiSettings.show_takecollage_on_frontpage?((0,n.wg)(),(0,n.j4)(q,{key:1,stack:"",color:"primary","no-caps":"",onClick:e[1]||(e[1]=e=>t.takeCollage()),class:"action-button col-auto"},{default:(0,n.w5)((()=>[(0,n.Wm)(b,{name:"o_auto_awesome_mosaic"}),g])),_:1})):(0,n.kq)("",!0),t.uiSettingsStore.uiSettings.show_takeanimation_on_frontpage?((0,n.wg)(),(0,n.j4)(q,{key:2,stack:"",color:"primary","no-caps":"",onClick:e[2]||(e[2]=e=>t.takeAnimation()),class:"action-button col-auto"},{default:(0,n.w5)((()=>[(0,n.Wm)(b,{name:"o_gif_box"}),m])),_:1})):(0,n.kq)("",!0),t.uiSettingsStore.uiSettings.show_takevideo_on_frontpage?((0,n.wg)(),(0,n.j4)(q,{key:3,stack:"",color:"primary","no-caps":"",onClick:e[3]||(e[3]=e=>t.takeVideo()),class:"action-button col-auto"},{default:(0,n.w5)((()=>[(0,n.Wm)(b,{name:"o_movie"}),d])),_:1})):(0,n.kq)("",!0)])])):(0,n.kq)("",!0)])),_:1}),(0,n.Wm)(T,{position:"top-left",offset:[25,25]},{default:(0,n.w5)((()=>[t.showFrontpage?((0,n.wg)(),(0,n.iD)("div",h,[(0,n._)("div",p,[t.uiSettingsStore.uiSettings.show_gallery_on_frontpage?((0,n.wg)(),(0,n.j4)(q,{key:0,color:"primary","no-caps":"",to:"/gallery",class:"action-button"},{default:(0,n.w5)((()=>[(0,n.Wm)(b,{left:"",name:"photo_library"}),w])),_:1})):(0,n.kq)("",!0),t.uiSettingsStore.uiSettings.show_admin_on_frontpage?((0,n.wg)(),(0,n.j4)(q,{key:1,color:"secondary","no-caps":"",to:"/admin",class:"action-button"},{default:(0,n.w5)((()=>[(0,n.Wm)(b,{left:"",name:"admin_panel_settings"}),_])),_:1})):(0,n.kq)("",!0)])])):(0,n.kq)("",!0)])),_:1}),t.showRecording?((0,n.wg)(),(0,n.j4)(T,{key:4,position:"top",offset:[0,25],align:"center"},{default:(0,n.w5)((()=>[(0,n.Wm)(P,{color:"red",size:"7em"}),f,(0,n.Wm)(q,{flat:"",color:"red",label:"Stop recording (not yet implemented)"})])),_:1})):(0,n.kq)("",!0)])),_:1})}var S=o(91569),y=o(19302),v=o(67575),C=o(15639),b=o(96694),q=o(61957);const T={style:{width:"40%",height:"40%"}};function P(t,e,o,i,s,r){const a=(0,n.up)("q-circular-progress"),l=(0,n.up)("q-icon");return(0,n.wy)(((0,n.wg)(),(0,n.iD)("div",T,[(0,n.wy)((0,n.Wm)(a,{"show-value":"",class:"text-light-blue",style:{width:"100%",height:"100%"},value:parseFloat(t.remainingSeconds.toFixed(1)),min:0,max:this.duration,reverse:"",size:"150px",color:"light-blue"},null,8,["value","max"]),[[q.F8,t.showCountdown]]),(0,n.wy)((0,n._)("div",null,[(0,n.Wm)(l,{name:t.icon,size:"200px",style:{width:"100%",height:"100%"}},null,8,["name"])],512),[[q.F8,t.showMessage]])],512)),[[q.F8,t.showBox]])}const W=(0,n.aZ)({name:"CountdownTimer",data(){return{intervalTimerId:null,remainingSeconds:0}},mounted(){this.startTimer()},beforeUnmount(){clearInterval(this.intervalTimerId)},computed:{showBox(){return this.remainingSeconds>0},showCountdown(){return+this.remainingSeconds>=this.messageDuration},showMessage(){return!this.showCountdown}},methods:{abortTimer(){clearInterval(this.intervalTimerId),this.remainingSeconds=0},startTimer(){console.log(`starting timer, duration=${this.duration}`),this.remainingSeconds=this.duration,this.intervalTimerId=setInterval((()=>{this.remainingSeconds-=.05,this.remainingSeconds<=0&&clearInterval(this.intervalTimerId)}),50)}},props:{duration:{type:Number,required:!0},messageDuration:{type:Number,default:.5},icon:{type:String,default:"😃"}}});var I=o(11639),Z=o(83302),j=o(22857),D=o(69984),x=o.n(D);const F=(0,I.Z)(W,[["render",P]]),M=F;x()(W,"components",{QCircularProgress:Z.Z,QIcon:j.Z});const Q=(0,n.aZ)({components:{CountdownTimer:M},setup(){(0,y.Z)();const t=(0,v.h)(),e=(0,C.B)(),o=(0,b.R)();return{store:t,stateStore:e,uiSettingsStore:o,remoteProcedureCall:S.remoteProcedureCall}},methods:{takePicture(){(0,S.remoteProcedureCall)("/processing/chose/1pic")},takeCollage(){(0,S.remoteProcedureCall)("/processing/chose/collage")},takeAnimation(){(0,S.remoteProcedureCall)("/processing/chose/animation")},takeVideo(){(0,S.remoteProcedureCall)("/processing/chose/video")}},watch:{},computed:{showProcessing:{get(){return"captures_completed"==this.stateStore.state}},showRecording:{get(){return"record"==this.stateStore.state}},livestreamMirror:{get(){return this.uiSettingsStore.uiSettings.livestream_mirror_effect}},showCountdownCounting:{get(){const t="counting"==this.stateStore.state;return this.stateStore.duration>0&&t}},showPreview:{get(){const t=!0,e="idle"==this.stateStore.state,o="record"==this.stateStore.state,n="counting"==this.stateStore.state;return t&&(e||n||o)}},showFrontpage:{get(){return"idle"==this.stateStore.state}}}});var A=o(69885),z=o(93040),B=o(30627),E=o(68879),G=o(5412);const R=(0,I.Z)(Q,[["render",k]]),N=R;x()(Q,"components",{QPage:A.Z,QSpinnerGrid:z.Z,QPageSticky:B.Z,QBtn:E.Z,QIcon:j.Z,QSpinnerPuff:G.Z})}}]); \ No newline at end of file diff --git a/photobooth/web_spa/js/148.c3bd482c.js b/photobooth/web_spa/js/632.502238a1.js similarity index 83% rename from photobooth/web_spa/js/148.c3bd482c.js rename to photobooth/web_spa/js/632.502238a1.js index 99b48b25..62432edb 100644 --- a/photobooth/web_spa/js/148.c3bd482c.js +++ b/photobooth/web_spa/js/632.502238a1.js @@ -1 +1 @@ -"use strict";(globalThis["webpackChunkphotobooth_app_frontend"]=globalThis["webpackChunkphotobooth_app_frontend"]||[]).push([[148],{13789:(e,t,o)=>{o.r(t),o.d(t,{default:()=>b});var r=o(59835);function a(e,t,o,a,n,l){const s=(0,r.up)("gallery-image-detail"),i=(0,r.up)("q-page");return(0,r.wg)(),(0,r.j4)(i,{class:"q-pa-none fullscreen"},{default:(0,r.w5)((()=>[(0,r.Wm)(s,{onCloseEvent:t[0]||(t[0]=e=>l.userCloseViewer()),itemRepository:[this.stateStore.last_captured_mediaitem],indexSelected:0,singleItemView:!0,startTimerOnOpen:!0,class:"full-height"},null,8,["itemRepository"])])),_:1})}o(69665);var n=o(67575),l=o(33630),s=o(15639),i=o(96694),u=o(95591),p=o(91569);const c={components:{GalleryImageDetail:u.Z},data(){return{}},computed:{},setup(){const e=(0,n.h)(),t=(0,l.r)(),o=(0,i.R)(),r=(0,s.B)();return{mainStore:e,mediacollectionStore:t,stateStore:r,uiSettingsStore:o,GalleryImageDetail:u.Z,remoteProcedureCall:p.remoteProcedureCall}},mounted(){},beforeUnmount(){},methods:{userCloseViewer(){this.$router.push("/")}}};var m=o(11639),d=o(69885),h=o(69984),g=o.n(h);const f=(0,m.Z)(c,[["render",a]]),b=f;g()(c,"components",{QPage:d.Z})}}]); \ No newline at end of file +"use strict";(globalThis["webpackChunkphotobooth_app_frontend"]=globalThis["webpackChunkphotobooth_app_frontend"]||[]).push([[632],{13789:(e,t,o)=>{o.r(t),o.d(t,{default:()=>b});var r=o(59835);function a(e,t,o,a,n,l){const s=(0,r.up)("gallery-image-detail"),i=(0,r.up)("q-page");return(0,r.wg)(),(0,r.j4)(i,{class:"q-pa-none fullscreen"},{default:(0,r.w5)((()=>[(0,r.Wm)(s,{onCloseEvent:t[0]||(t[0]=e=>l.userCloseViewer()),itemRepository:[this.stateStore.last_captured_mediaitem],indexSelected:0,singleItemView:!0,startTimerOnOpen:!0,class:"full-height"},null,8,["itemRepository"])])),_:1})}o(69665);var n=o(67575),l=o(33630),s=o(15639),i=o(96694),u=o(68800),p=o(91569);const c={components:{GalleryImageDetail:u.Z},data(){return{}},computed:{},setup(){const e=(0,n.h)(),t=(0,l.r)(),o=(0,i.R)(),r=(0,s.B)();return{mainStore:e,mediacollectionStore:t,stateStore:r,uiSettingsStore:o,GalleryImageDetail:u.Z,remoteProcedureCall:p.remoteProcedureCall}},mounted(){},beforeUnmount(){},methods:{userCloseViewer(){this.$router.push("/")}}};var m=o(11639),d=o(69885),h=o(69984),g=o.n(h);const f=(0,m.Z)(c,[["render",a]]),b=f;g()(c,"components",{QPage:d.Z})}}]); \ No newline at end of file diff --git a/photobooth/web_spa/js/823.2e76c682.js b/photobooth/web_spa/js/823.2e76c682.js new file mode 100644 index 00000000..87b03c6a --- /dev/null +++ b/photobooth/web_spa/js/823.2e76c682.js @@ -0,0 +1 @@ +"use strict";(globalThis["webpackChunkphotobooth_app_frontend"]=globalThis["webpackChunkphotobooth_app_frontend"]||[]).push([[823],{77917:(e,t,i)=>{i.r(t),i.d(t,{default:()=>q});var o=i(59835);const l=e=>((0,o.dD)("data-v-398add10"),e=e(),(0,o.Cn)(),e),n={key:0,class:"row justify-center q-gutter-sm"},a={key:0},d={key:1},s=l((()=>(0,o._)("div",{style:{"padding-bottom":"100%"}},null,-1))),r={class:"absolute-full"},c=["src"],m=["innerHTML"];function u(e,t,i,l,u,g){const p=(0,o.up)("q-img"),h=(0,o.up)("q-card"),w=(0,o.up)("q-intersection"),y=(0,o.up)("gallery-image-detail"),_=(0,o.up)("q-dialog"),I=(0,o.up)("q-page");return(0,o.wg)(),(0,o.j4)(I,{padding:""},{default:(0,o.w5)((()=>[g.isGalleryEmpty?((0,o.wg)(),(0,o.iD)("div",{key:1,innerHTML:l.uiSettingsStore.uiSettings.GALLERY_EMPTY_MSG},null,8,m)):((0,o.wg)(),(0,o.iD)("div",n,[((0,o.wg)(!0),(0,o.iD)(o.HY,null,(0,o.Ko)(this.mediacollectionStore.collection,((e,t)=>((0,o.wg)(),(0,o.j4)(w,{key:e.id,once:"",class:"preview-item"},{default:(0,o.w5)((()=>[(0,o.Wm)(h,{class:"q-ma-sm",onClick:e=>g.openPic(t)},{default:(0,o.w5)((()=>["video"!=e.media_type?((0,o.wg)(),(0,o.iD)("div",a,[(0,o.Wm)(p,{src:g.getImageDetail(t),loading:"eager","no-transition":"","no-spinner":"",ratio:1,class:"rounded-borders"},null,8,["src"])])):((0,o.wg)(),(0,o.iD)("div",d,[s,(0,o._)("div",r,[(0,o._)("video",{style:{width:"100%",height:"100%","object-fit":"cover","object-position":"50% 50%"},autoplay:"",loop:"",muted:"",playsinline:"",src:g.getImageDetail(t),class:"rounded-borders"},null,8,c)])]))])),_:2},1032,["onClick"])])),_:2},1024)))),128))])),(0,o.Wm)(_,{"transition-show":"jump-up","transition-hide":"jump-down",modelValue:l.showImageDetail,"onUpdate:modelValue":t[1]||(t[1]=e=>l.showImageDetail=e),maximized:""},{default:(0,o.w5)((()=>[(0,o.Wm)(y,{onCloseEvent:t[0]||(t[0]=e=>l.showImageDetail=!1),itemRepository:this.mediacollectionStore.collection,indexSelected:l.indexSelected,class:"full-height"},null,8,["itemRepository","indexSelected"])])),_:1},8,["modelValue"])])),_:1})}var g=i(67575),p=i(96694),h=i(33630),w=i(60499),y=i(68800);const _={components:{GalleryImageDetail:y.Z},setup(){const e=(0,g.h)(),t=(0,p.R)(),i=(0,h.r)();return{store:e,uiSettingsStore:t,mediacollectionStore:i,GalleryImageDetail:y.Z,indexSelected:(0,w.iH)(null),showImageDetail:(0,w.iH)(!1)}},computed:{itemId(){return this.$route.params.id},isGalleryEmpty(){return 0==this.mediacollectionStore.collection_number_of_items}},mounted(){},watch:{itemId(e,t){const i=this.mediacollectionStore.getIndexOfItemId(e);-1==i?console.error(`image id not found ${e}`):this.openPic(i)}},methods:{getImageDetail(e,t="thumbnail"){return this.mediacollectionStore.collection[e][t]},openPic(e){this.indexSelected=e,this.showImageDetail=!0}}};var I=i(11639),D=i(69885),S=i(21517),v=i(44458),f=i(70335),b=i(32074),k=i(69984),Z=i.n(k);const j=(0,I.Z)(_,[["render",u],["__scopeId","data-v-398add10"]]),q=j;Z()(_,"components",{QPage:D.Z,QIntersection:S.Z,QCard:v.Z,QImg:f.Z,QDialog:b.Z})}}]); \ No newline at end of file diff --git a/photobooth/web_spa/js/88.0758dd03.js b/photobooth/web_spa/js/88.0758dd03.js deleted file mode 100644 index bd282f27..00000000 --- a/photobooth/web_spa/js/88.0758dd03.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(globalThis["webpackChunkphotobooth_app_frontend"]=globalThis["webpackChunkphotobooth_app_frontend"]||[]).push([[88],{6088:(t,e,o)=>{o.r(e),o.d(e,{default:()=>G});var n=o(59835),i=o(86970);const s={key:1,class:"full-height full-width column justify-center content-center",style:{position:"absolute"}},r={key:2,class:"full-height full-width column justify-center content-center",style:{position:"absolute"}},a=["innerHTML"],l={key:0},u={class:"row q-gutter-sm"},c=(0,n._)("div",{style:{"white-space":"nowrap"},class:"gt-sm"},"Take a Picture!",-1),g=(0,n._)("div",{style:{"white-space":"nowrap"},class:"gt-sm"},"Create Collage!",-1),m=(0,n._)("div",{style:{"white-space":"nowrap"},class:"gt-sm"},"Create Animation!",-1),d={key:0},h={class:"q-gutter-sm"},p=(0,n._)("div",{class:"gt-sm"},"Gallery",-1),w=(0,n._)("div",{class:"gt-sm"},"Admin",-1);function _(t,e,o,_,S,k){const f=(0,n.up)("q-spinner-grid"),y=(0,n.up)("countdown-timer"),v=(0,n.up)("q-icon"),C=(0,n.up)("q-btn"),b=(0,n.up)("q-page-sticky"),q=(0,n.up)("q-page");return(0,n.wg)(),(0,n.j4)(q,{class:"q-pa-none column full-height"},{default:(0,n.w5)((()=>[t.showPreview?((0,n.wg)(),(0,n.iD)("div",{key:0,id:"preview-stream",style:{"background-image":'url("/aquisition/stream.mjpg")'},class:(0,i.C_)(["full-width column justify-center content-center",{mirroreffect:t.livestreamMirror}])},null,2)):(0,n.kq)("",!0),t.showProcessing?((0,n.wg)(),(0,n.iD)("div",s,[(0,n.Wm)(f,{size:"20em"})])):(0,n.kq)("",!0),t.showCountdownCounting?((0,n.wg)(),(0,n.iD)("div",r,[(0,n.Wm)(y,{ref:"countdowntimer",duration:this.stateStore.duration,messageDuration:t.uiSettingsStore.uiSettings.TAKEPIC_MSG_TIME},null,8,["duration","messageDuration"])])):(0,n.kq)("",!0),t.showFrontpage?((0,n.wg)(),(0,n.iD)("div",{key:3,id:"frontpage_text",innerHTML:t.uiSettingsStore.uiSettings["FRONTPAGE_TEXT"]},null,8,a)):(0,n.kq)("",!0),(0,n.Wm)(b,{position:"bottom",offset:[0,25]},{default:(0,n.w5)((()=>[t.showFrontpage?((0,n.wg)(),(0,n.iD)("div",l,[(0,n._)("div",u,[t.uiSettingsStore.uiSettings.show_takepic_on_frontpage?((0,n.wg)(),(0,n.j4)(C,{key:0,stack:"",color:"primary","no-caps":"",onClick:e[0]||(e[0]=e=>t.takePicture()),class:"action-button col-auto"},{default:(0,n.w5)((()=>[(0,n.Wm)(v,{name:"photo_camera"}),c])),_:1})):(0,n.kq)("",!0),t.uiSettingsStore.uiSettings.show_takecollage_on_frontpage?((0,n.wg)(),(0,n.j4)(C,{key:1,stack:"",color:"primary","no-caps":"",onClick:e[1]||(e[1]=e=>t.takeCollage()),class:"action-button col-auto"},{default:(0,n.w5)((()=>[(0,n.Wm)(v,{name:"auto_awesome_mosaic"}),g])),_:1})):(0,n.kq)("",!0),t.uiSettingsStore.uiSettings.show_takeanimation_on_frontpage?((0,n.wg)(),(0,n.j4)(C,{key:2,stack:"",color:"primary","no-caps":"",onClick:e[2]||(e[2]=e=>t.takeAnimation()),class:"action-button col-auto"},{default:(0,n.w5)((()=>[(0,n.Wm)(v,{name:"gif_box"}),m])),_:1})):(0,n.kq)("",!0)])])):(0,n.kq)("",!0)])),_:1}),(0,n.Wm)(b,{position:"top-left",offset:[25,25]},{default:(0,n.w5)((()=>[t.showFrontpage?((0,n.wg)(),(0,n.iD)("div",d,[(0,n._)("div",h,[t.uiSettingsStore.uiSettings.show_gallery_on_frontpage?((0,n.wg)(),(0,n.j4)(C,{key:0,color:"primary","no-caps":"",to:"/gallery",class:"action-button"},{default:(0,n.w5)((()=>[(0,n.Wm)(v,{left:"",name:"photo_library"}),p])),_:1})):(0,n.kq)("",!0),t.uiSettingsStore.uiSettings.show_admin_on_frontpage?((0,n.wg)(),(0,n.j4)(C,{key:1,color:"secondary","no-caps":"",to:"/admin",class:"action-button"},{default:(0,n.w5)((()=>[(0,n.Wm)(v,{left:"",name:"admin_panel_settings"}),w])),_:1})):(0,n.kq)("",!0)])])):(0,n.kq)("",!0)])),_:1})])),_:1})}var S=o(91569),k=o(19302),f=o(67575),y=o(15639),v=o(96694),C=o(61957);const b={style:{width:"40%",height:"40%"}};function q(t,e,o,i,s,r){const a=(0,n.up)("q-circular-progress"),l=(0,n.up)("q-icon");return(0,n.wy)(((0,n.wg)(),(0,n.iD)("div",b,[(0,n.wy)((0,n.Wm)(a,{"show-value":"",class:"text-light-blue",style:{width:"100%",height:"100%"},value:parseFloat(t.remainingSeconds.toFixed(1)),min:0,max:this.duration,reverse:"",size:"150px",color:"light-blue"},null,8,["value","max"]),[[C.F8,t.showCountdown]]),(0,n.wy)((0,n._)("div",null,[(0,n.Wm)(l,{name:t.icon,size:"200px",style:{width:"100%",height:"100%"}},null,8,["name"])],512),[[C.F8,t.showMessage]])],512)),[[C.F8,t.showBox]])}const T=(0,n.aZ)({name:"CountdownTimer",data(){return{intervalTimerId:null,remainingSeconds:0}},mounted(){this.startTimer()},beforeUnmount(){clearInterval(this.intervalTimerId)},computed:{showBox(){return this.remainingSeconds>0},showCountdown(){return+this.remainingSeconds>=this.messageDuration},showMessage(){return!this.showCountdown}},methods:{abortTimer(){clearInterval(this.intervalTimerId),this.remainingSeconds=0},startTimer(){console.log(`starting timer, duration=${this.duration}`),this.remainingSeconds=this.duration,this.intervalTimerId=setInterval((()=>{this.remainingSeconds-=.05,this.remainingSeconds<=0&&clearInterval(this.intervalTimerId)}),50)}},props:{duration:{type:Number,required:!0},messageDuration:{type:Number,default:.5},icon:{type:String,default:"😃"}}});var P=o(11639),I=o(83302),Z=o(22857),D=o(69984),W=o.n(D);const j=(0,P.Z)(T,[["render",q]]),x=j;W()(T,"components",{QCircularProgress:I.Z,QIcon:Z.Z});const F=(0,n.aZ)({components:{CountdownTimer:x},setup(){(0,k.Z)();const t=(0,f.h)(),e=(0,y.B)(),o=(0,v.R)();return{store:t,stateStore:e,uiSettingsStore:o,remoteProcedureCall:S.remoteProcedureCall}},methods:{takePicture(){(0,S.remoteProcedureCall)("/processing/chose/1pic")},takeCollage(){(0,S.remoteProcedureCall)("/processing/chose/collage")},takeAnimation(){(0,S.remoteProcedureCall)("/processing/chose/animation")}},watch:{},computed:{showProcessing:{get(){return"captures_completed"==this.stateStore.state}},livestreamMirror:{get(){return this.uiSettingsStore.uiSettings.livestream_mirror_effect}},showCountdownCounting:{get(){const t="counting"==this.stateStore.state;return this.stateStore.duration>0&&t}},showPreview:{get(){const t=!0,e="idle"==this.stateStore.state,o="counting"==this.stateStore.state;return t&&(e||o)}},showFrontpage:{get(){return"idle"==this.stateStore.state}}}});var M=o(69885),Q=o(93040),A=o(30627),B=o(68879);const E=(0,P.Z)(F,[["render",_]]),G=E;W()(F,"components",{QPage:M.Z,QSpinnerGrid:Q.Z,QPageSticky:A.Z,QBtn:B.Z,QIcon:Z.Z})}}]); \ No newline at end of file diff --git a/photobooth/web_spa/js/app.5f87f807.js b/photobooth/web_spa/js/app.5f87f807.js new file mode 100644 index 00000000..ed393a0b --- /dev/null +++ b/photobooth/web_spa/js/app.5f87f807.js @@ -0,0 +1 @@ +(()=>{"use strict";var e={6138:(e,t,o)=>{var n=o(61957),r=o(71947),l=o(60499),i=o(59835);function a(e,t,o,n,r,l){const a=(0,i.up)("router-view"),s=(0,i.up)("connection-overlay"),c=(0,i.up)("q-dialog");return(0,i.wg)(),(0,i.iD)(i.HY,null,[(0,i.Wm)(a),(0,i.Wm)(c,{modelValue:e.showConnectionOverlay,"onUpdate:modelValue":t[0]||(t[0]=t=>e.showConnectionOverlay=t),persistent:""},{default:(0,i.w5)((()=>[(0,i.Wm)(s)])),_:1},8,["modelValue"])],64)}var s=o(67575),c=o(15639),d=o(96694),u=o(33630),p=o(28339);const h=(0,i._)("span",{class:"q-ml-sm"}," Connecting to server. Please wait for autoconnect or try reload. ",-1);function m(e,t,o,n,r,l){const a=(0,i.up)("q-spinner"),s=(0,i.up)("q-card-section"),c=(0,i.up)("q-btn"),d=(0,i.up)("q-card-actions"),u=(0,i.up)("q-card"),p=(0,i.Q2)("close-popup");return(0,i.wg)(),(0,i.j4)(u,{class:"q-pa-sm"},{default:(0,i.w5)((()=>[(0,i.Wm)(s,{class:"row items-center"},{default:(0,i.w5)((()=>[(0,i.Wm)(a,{color:"negative",size:"2em"}),h])),_:1}),(0,i.Wm)(d,{align:"right"},{default:(0,i.w5)((()=>[(0,i.wy)((0,i.Wm)(c,{label:"Reload",color:"primary",onClick:l.reloadPage},null,8,["onClick"]),[[p]])])),_:1})])),_:1})}const f={setup(){return{}},methods:{reloadPage(){window.location.reload()}}};var g=o(11639),v=o(44458),b=o(63190),_=o(13902),y=o(11821),S=o(68879),w=o(62146),P=o(69984),O=o.n(P);const C=(0,g.Z)(f,[["render",m]]),E=C;O()(f,"components",{QCard:v.Z,QCardSection:b.Z,QSpinner:_.Z,QCardActions:y.Z,QBtn:S.Z}),O()(f,"directives",{ClosePopup:w.Z});var I=o(91569),k=o(19302);const N=(0,i.aZ)({name:"App",components:{ConnectionOverlay:E},data(){return{}},computed:{showConnectionOverlay(){return!this.connected}},setup(){const e=(0,s.h)(),t=(0,c.B)(),o=(0,d.R)(),n=(0,u.r)(),r=(0,p.tv)();const i=(0,l.iH)(!1),a=(0,l.iH)(!1);(0,k.Z)();return console.log(o.isLoaded),setInterval((function(){const t=2e3;Date.now()-e.lastHeartbeat>t&&(i.value=!1)}),200),{connected:i,lineEstablished:a,router:r,store:e,stateStore:t,uiSettingsStore:o,mediacollectionStore:n,ConnectionOverlay:E,remoteProcedureCall:I.remoteProcedureCall}},methods:{async init(){this.uiSettingsStore.initStore(),this.mediacollectionStore.initStore(),await this.until((e=>1==this.uiSettingsStore.isLoaded)),await this.until((e=>1==this.mediacollectionStore.isLoaded)),this.initSseClient()},until(e){const t=o=>{e()?o():setTimeout((e=>t(o)),400)};return new Promise(t)},initSseClient(){this.sseClient=this.$sse.create("/sse").on("error",(e=>console.error("Failed to parse or lost connection:",e))).on("FrontendNotification",(e=>{const t=JSON.parse(e);console.warn(t),this.$q.notify({caption:t["caption"]||"Notification",message:t["message"],color:t["color"]||"info",icon:t["icon"]||"info",spinner:t["spinner"]||!1,actions:[{icon:"close",color:"white",round:!0,handler:()=>{}}]})})).on("LogRecord",(e=>{this.store.logrecords=[JSON.parse(e),...this.store.logrecords.slice(0,199)]})).on("ProcessStateinfo",(e=>{const t=JSON.parse(e);console.log("ProcessStateinfo",t),Object.assign(this.stateStore,JSON.parse(e))})).on("DbInsert",(e=>{const t=JSON.parse(e);console.log("received new item to add to collection:",t),this.mediacollectionStore.addMediaitem(t["mediaitem"])})).on("DbRemove",(e=>{const t=JSON.parse(e);console.log("received request to remove item from collection:",t),this.mediacollectionStore.removeMediaitem(t)})).on("InformationRecord",(e=>{Object.assign(this.store.information,JSON.parse(e))})).on("ping",(()=>{this.store.lastHeartbeat=Date.now(),this.connected=!0})).connect().then((e=>{console.log(e),console.log("SSE connected!"),this.lineEstablished=!0})).catch((e=>{console.error("Failed make initial SSE connection!",e)}))}},async created(){console.log("app created, waiting for stores to init first dataset"),this.init(),console.log("data initialization finished")}});var T=o(32074);const R=(0,g.Z)(N,[["render",a]]),Z=R;O()(N,"components",{QDialog:T.Z});var L=o(23340),A=o(81809);const Q=(0,L.h)((()=>{const e=(0,A.WB)();return e})),j=[{path:"/",component:()=>Promise.all([o.e(736),o.e(805)]).then(o.bind(o,11805)),children:[{path:"",component:()=>Promise.all([o.e(736),o.e(52)]).then(o.bind(o,94052))},{path:"itempresenter",component:()=>Promise.all([o.e(736),o.e(64),o.e(632)]).then(o.bind(o,13789))},{path:"itemapproval",component:()=>Promise.all([o.e(736),o.e(64),o.e(245)]).then(o.bind(o,69263))}]},{path:"/gallery",component:()=>Promise.all([o.e(736),o.e(652)]).then(o.bind(o,41652)),children:[{path:"",component:()=>Promise.all([o.e(736),o.e(64),o.e(823)]).then(o.bind(o,77917))}]},{path:"/admin",meta:{requiresAuth:!0,requiresAdmin:!0},component:()=>Promise.all([o.e(736),o.e(964)]).then(o.bind(o,45964)),children:[{path:"",component:()=>Promise.all([o.e(736),o.e(790)]).then(o.bind(o,73790))},{path:"gallery",component:()=>Promise.all([o.e(736),o.e(64),o.e(823)]).then(o.bind(o,77917))},{path:"files",component:()=>Promise.all([o.e(736),o.e(492)]).then(o.bind(o,29492))},{path:"status",component:()=>Promise.all([o.e(736),o.e(90)]).then(o.bind(o,92090))},{path:"help",component:()=>Promise.all([o.e(736),o.e(528)]).then(o.bind(o,56528))},{path:"playground",component:()=>Promise.all([o.e(736),o.e(651)]).then(o.bind(o,56651))},{name:"config",path:"config/:section?",component:()=>Promise.all([o.e(736),o.e(51)]).then(o.bind(o,2051))}]},{path:"/standalone",component:()=>Promise.all([o.e(736),o.e(223)]).then(o.bind(o,4223)),children:[{path:"gallery",component:()=>Promise.all([o.e(736),o.e(64),o.e(823)]).then(o.bind(o,77917))}]},{path:"/:catchAll(.*)*",component:()=>o.e(99).then(o.bind(o,56099))}],q=j,x=(0,L.BC)((function(){const e=p.r5,t=(0,p.p7)({scrollBehavior:(e,t,o)=>o?{savedPosition:o}:{left:0,top:0},routes:q,history:e("")});return t}));async function D(e,t){const o=e(Z);o.use(r.Z,t);const n="function"===typeof Q?await Q({}):Q;o.use(n);const i=(0,l.Xl)("function"===typeof x?await x({store:n}):x);return n.use((({store:e})=>{e.router=i})),{app:o,store:n,router:i}}var W=o(66611),B=o(28423),M=o(23175),F=o(42913),H=o(46858),U=o(6827);const J={config:{notify:{}},components:{QInput:W.Z,QSlider:B.Z,QToggle:M.Z,QSelect:F.Z,QTooltip:H.Z},plugins:{Notify:U.Z}},$="";async function z({app:e,router:t,store:o},n){let r=!1;const l=e=>{try{return t.resolve(e).href}catch(o){}return Object(e)===e?null:e},i=e=>{if(r=!0,"string"===typeof e&&/^https?:\/\//.test(e))return void(window.location.href=e);const t=l(e);null!==t&&(window.location.href=t,window.location.reload())},a=window.location.href.replace(window.location.origin,"");for(let c=0;!1===r&&c{const[t,n]=void 0!==Promise.allSettled?["allSettled",e=>e.map((e=>{if("rejected"!==e.status)return e.value.default;console.error("[Quasar] boot error:",e.reason)}))]:["all",e=>e.map((e=>e.default))];return Promise[t]([Promise.resolve().then(o.bind(o,36372)),Promise.resolve().then(o.bind(o,91569)),Promise.resolve().then(o.bind(o,65955))]).then((t=>{const o=n(t).filter((e=>"function"===typeof e));z(e,o)}))}))},91569:(e,t,o)=>{o.r(t),o.d(t,{api:()=>l,default:()=>a,remoteProcedureCall:()=>i});var n=o(23340),r=o(37524);const l=r.Z.create({baseURL:"/"});function i(e){l.get(e).then((e=>{console.log(e)})).catch((e=>{console.log("error remoteprocedurecall"),console.log(e)}))}const a=(0,n.xr)((({app:e})=>{e.config.globalProperties.$axios=r.Z,e.config.globalProperties.$api=l}))},36372:(e,t,o)=>{o.r(t),o.d(t,{default:()=>l});var n=o(23340),r=o(32395);const l=(0,n.xr)((async({app:e})=>{e.component("BlitzForm",r.lU),e.component("BlitzListForm",r.$C)}))},65955:(e,t,o)=>{o.r(t),o.d(t,{default:()=>l});var n=o(23340),r=o(32681);const l=(0,n.xr)((({app:e})=>{e.use(r.ZP)}))},67575:(e,t,o)=>{o.d(t,{h:()=>l});var n=o(81809),r=(o(91569),o(60499));o(6827);const l=(0,n.Q_)("main-store",(()=>{const e=(0,r.iH)([]),t=(0,r.iH)({cpu1_5_15:[null,null,null],active_threads:null,memory:{total:null,available:null,percent:null,used:null,free:null},cma:{CmaTotal:null,CmaFree:null},disk:{total:null,used:null,free:null,percent:null},backends:{primary:{},secondary:{}},version:null,platform_system:null,platform_release:null,platform_machine:null,platform_python_version:null,platform_node:null,platform_cpu_count:null,data_directory:null,python_executable:null}),o=(0,r.iH)(null);return{information:t,lastHeartbeat:o,logrecords:e}}))},33630:(e,t,o)=>{o.d(t,{r:()=>i});o(86890);var n=o(81809),r=o(91569);const l={INIT:0,DONE:1,WIP:2,ERROR:3},i=(0,n.Q_)("mediacollection-store",{state:()=>({collection:[],mostRecentItemId:null,storeState:l.INIT}),actions:{initStore(e=!1){console.log("loading store"),this.isLoaded&&0==e?console.log("items loaded once already, skipping"):(this.storeState=l.WIP,r.api.get("/mediacollection/getitems").then((e=>{console.log(e),this.collection=e.data,this.storeState=l.DONE})).catch((e=>{console.log(e),this.storeState=l.ERROR})))},getIndexOfItemId(e){return this.collection.findIndex((t=>t.id===e))},addMediaitem(e){this.collection.unshift(e)},removeMediaitem(e){const t=this.collection.splice(this.getIndexOfItemId(e.id),1);0==t.length?console.log("no item removed from collection, maybe it was deleted by UI earlier already"):console.log(`${t.length} mediaitem deleted`)}},getters:{isLoaded(){return this.storeState===l.DONE},isLoading(){return this.storeState===l.WIP},collection_number_of_items(){return this.collection.length}}})},15639:(e,t,o)=>{o.d(t,{B:()=>r});var n=o(81809);const r=(0,n.Q_)("state-store",{state:()=>({state:null,typ:null,total_captures_to_take:null,remaining_captures_to_take:null,number_captures_taken:null,duration:null,confirmed_captures_collection:[],last_captured_mediaitem:null,ask_user_for_approval:null}),actions:{},getters:{}})},96694:(e,t,o)=>{o.d(t,{R:()=>i});var n=o(81809),r=o(91569);const l={INIT:0,DONE:1,WIP:2,ERROR:3},i=(0,n.Q_)("ui-settings-store",{state:()=>({uiSettings:{show_takepic_on_frontpage:null,show_takecollage_on_frontpage:null,show_takeanimation_on_frontpage:null,show_takevideo_on_frontpage:null,show_gallery_on_frontpage:null,show_admin_on_frontpage:null,livestream_mirror_effect:null,FRONTPAGE_TEXT:null,TAKEPIC_MSG_TIME:null,AUTOCLOSE_NEW_ITEM_ARRIVED:null,GALLERY_EMPTY_MSG:null,gallery_show_qrcode:null,gallery_show_filter:null,gallery_filter_userselectable:null,gallery_show_download:null,gallery_show_delete:null,gallery_show_print:null},storeState:l.INIT}),actions:{initStore(e=!1){console.log("loadUiSettings"),this.isLoaded&&0==e?console.log("settings loaded once already, skipping"):(this.storeState=l.WIP,r.api.get("/config/ui").then((e=>{console.log("loadUiSettings finished successfully"),console.log(e.data),this.uiSettings=e.data,this.storeState=l.DONE})).catch((e=>{console.log("loadUiSettings failed"),this.storeState=l.ERROR})))}},getters:{isLoaded(){return this.storeState===l.DONE},isLoading(){return this.storeState===l.WIP}}})}},t={};function o(n){var r=t[n];if(void 0!==r)return r.exports;var l=t[n]={exports:{}};return e[n].call(l.exports,l,l.exports,o),l.exports}o.m=e,(()=>{var e=[];o.O=(t,n,r,l)=>{if(!n){var i=1/0;for(d=0;d=l)&&Object.keys(o.O).every((e=>o.O[e](n[s])))?n.splice(s--,1):(a=!1,l0&&e[d-1][2]>l;d--)e[d]=e[d-1];e[d]=[n,r,l]}})(),(()=>{o.n=e=>{var t=e&&e.__esModule?()=>e["default"]:()=>e;return o.d(t,{a:t}),t}})(),(()=>{o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}})(),(()=>{o.f={},o.e=e=>Promise.all(Object.keys(o.f).reduce(((t,n)=>(o.f[n](e,t),t)),[]))})(),(()=>{o.u=e=>"js/"+(64===e?"chunk-common":e)+"."+{51:"574198bf",52:"a2523ddf",64:"33311e75",90:"80f4c3bc",99:"93c6ac89",223:"1f057f3e",245:"59001086",492:"4cd5a74d",528:"2e5be924",632:"502238a1",651:"880922bc",652:"076d8df4",790:"6452d0b7",805:"c5046c12",823:"2e76c682",964:"7a208f96"}[e]+".js"})(),(()=>{o.miniCssF=e=>"css/"+e+"."+{51:"0d14ffdb",245:"d08e2765",632:"d08e2765",823:"6f7e3f0a"}[e]+".css"})(),(()=>{o.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}()})(),(()=>{o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t)})(),(()=>{var e={},t="photobooth-app-frontend:";o.l=(n,r,l,i)=>{if(e[n])e[n].push(r);else{var a,s;if(void 0!==l)for(var c=document.getElementsByTagName("script"),d=0;d{a.onerror=a.onload=null,clearTimeout(h);var r=e[n];if(delete e[n],a.parentNode&&a.parentNode.removeChild(a),r&&r.forEach((e=>e(o))),t)return t(o)},h=setTimeout(p.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=p.bind(null,a.onerror),a.onload=p.bind(null,a.onload),s&&document.head.appendChild(a)}}})(),(()=>{o.r=e=>{"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}})(),(()=>{o.p=""})(),(()=>{if("undefined"!==typeof document){var e=(e,t,o,n,r)=>{var l=document.createElement("link");l.rel="stylesheet",l.type="text/css";var i=o=>{if(l.onerror=l.onload=null,"load"===o.type)n();else{var i=o&&("load"===o.type?"missing":o.type),a=o&&o.target&&o.target.href||t,s=new Error("Loading CSS chunk "+e+" failed.\n("+a+")");s.code="CSS_CHUNK_LOAD_FAILED",s.type=i,s.request=a,l.parentNode.removeChild(l),r(s)}};return l.onerror=l.onload=i,l.href=t,o?o.parentNode.insertBefore(l,o.nextSibling):document.head.appendChild(l),l},t=(e,t)=>{for(var o=document.getElementsByTagName("link"),n=0;nnew Promise(((r,l)=>{var i=o.miniCssF(n),a=o.p+i;if(t(i,a))return r();e(n,a,null,r,l)})),r={143:0};o.f.miniCss=(e,t)=>{var o={51:1,245:1,632:1,823:1};r[e]?t.push(r[e]):0!==r[e]&&o[e]&&t.push(r[e]=n(e).then((()=>{r[e]=0}),(t=>{throw delete r[e],t})))}}})(),(()=>{var e={143:0};o.f.j=(t,n)=>{var r=o.o(e,t)?e[t]:void 0;if(0!==r)if(r)n.push(r[2]);else{var l=new Promise(((o,n)=>r=e[t]=[o,n]));n.push(r[2]=l);var i=o.p+o.u(t),a=new Error,s=n=>{if(o.o(e,t)&&(r=e[t],0!==r&&(e[t]=void 0),r)){var l=n&&("load"===n.type?"missing":n.type),i=n&&n.target&&n.target.src;a.message="Loading chunk "+t+" failed.\n("+l+": "+i+")",a.name="ChunkLoadError",a.type=l,a.request=i,r[1](a)}};o.l(i,s,"chunk-"+t,t)}},o.O.j=t=>0===e[t];var t=(t,n)=>{var r,l,[i,a,s]=n,c=0;if(i.some((t=>0!==e[t]))){for(r in a)o.o(a,r)&&(o.m[r]=a[r]);if(s)var d=s(o)}for(t&&t(n);co(6138)));n=o.O(n)})(); \ No newline at end of file diff --git a/photobooth/web_spa/js/app.642bb1cf.js b/photobooth/web_spa/js/app.642bb1cf.js deleted file mode 100644 index a8b5e665..00000000 --- a/photobooth/web_spa/js/app.642bb1cf.js +++ /dev/null @@ -1 +0,0 @@ -(()=>{"use strict";var e={6138:(e,t,o)=>{var n=o(61957),r=o(71947),l=o(60499),i=o(59835);function a(e,t,o,n,r,l){const a=(0,i.up)("router-view"),s=(0,i.up)("connection-overlay"),c=(0,i.up)("q-dialog");return(0,i.wg)(),(0,i.iD)(i.HY,null,[(0,i.Wm)(a),(0,i.Wm)(c,{modelValue:e.showConnectionOverlay,"onUpdate:modelValue":t[0]||(t[0]=t=>e.showConnectionOverlay=t),persistent:""},{default:(0,i.w5)((()=>[(0,i.Wm)(s)])),_:1},8,["modelValue"])],64)}var s=o(67575),c=o(15639),d=o(96694),u=o(33630),p=o(28339);const h=(0,i._)("span",{class:"q-ml-sm"}," Connecting to server. Please wait for autoconnect or try reload. ",-1);function m(e,t,o,n,r,l){const a=(0,i.up)("q-spinner"),s=(0,i.up)("q-card-section"),c=(0,i.up)("q-btn"),d=(0,i.up)("q-card-actions"),u=(0,i.up)("q-card"),p=(0,i.Q2)("close-popup");return(0,i.wg)(),(0,i.j4)(u,{class:"q-pa-sm"},{default:(0,i.w5)((()=>[(0,i.Wm)(s,{class:"row items-center"},{default:(0,i.w5)((()=>[(0,i.Wm)(a,{color:"negative",size:"2em"}),h])),_:1}),(0,i.Wm)(d,{align:"right"},{default:(0,i.w5)((()=>[(0,i.wy)((0,i.Wm)(c,{label:"Reload",color:"primary",onClick:l.reloadPage},null,8,["onClick"]),[[p]])])),_:1})])),_:1})}const f={setup(){return{}},methods:{reloadPage(){window.location.reload()}}};var g=o(11639),v=o(44458),b=o(63190),_=o(13902),y=o(11821),S=o(68879),w=o(62146),P=o(69984),O=o.n(P);const C=(0,g.Z)(f,[["render",m]]),E=C;O()(f,"components",{QCard:v.Z,QCardSection:b.Z,QSpinner:_.Z,QCardActions:y.Z,QBtn:S.Z}),O()(f,"directives",{ClosePopup:w.Z});var I=o(91569),k=o(19302);const N=(0,i.aZ)({name:"App",components:{ConnectionOverlay:E},data(){return{}},computed:{showConnectionOverlay(){return!this.connected}},setup(){const e=(0,s.h)(),t=(0,c.B)(),o=(0,d.R)(),n=(0,u.r)(),r=(0,p.tv)();const i=(0,l.iH)(!1),a=(0,l.iH)(!1);(0,k.Z)();return console.log(o.isLoaded),setInterval((function(){const t=2e3;Date.now()-e.lastHeartbeat>t&&(i.value=!1)}),200),{connected:i,lineEstablished:a,router:r,store:e,stateStore:t,uiSettingsStore:o,mediacollectionStore:n,ConnectionOverlay:E,remoteProcedureCall:I.remoteProcedureCall}},methods:{async init(){this.uiSettingsStore.initStore(),this.mediacollectionStore.initStore(),await this.until((e=>1==this.uiSettingsStore.isLoaded)),await this.until((e=>1==this.mediacollectionStore.isLoaded)),this.initSseClient()},until(e){const t=o=>{e()?o():setTimeout((e=>t(o)),400)};return new Promise(t)},initSseClient(){this.sseClient=this.$sse.create("/sse").on("error",(e=>console.error("Failed to parse or lost connection:",e))).on("FrontendNotification",(e=>{const t=JSON.parse(e);console.warn(t),this.$q.notify({caption:t["caption"]||"Notification",message:t["message"],color:t["color"]||"info",icon:t["icon"]||"info",spinner:t["spinner"]||!1,actions:[{icon:"close",color:"white",round:!0,handler:()=>{}}]})})).on("LogRecord",(e=>{this.store.logrecords=[JSON.parse(e),...this.store.logrecords.slice(0,199)]})).on("ProcessStateinfo",(e=>{const t=JSON.parse(e);console.log("ProcessStateinfo",t),Object.assign(this.stateStore,JSON.parse(e))})).on("DbInsert",(e=>{const t=JSON.parse(e);console.log("received new item to add to collection:",t),this.mediacollectionStore.addMediaitem(t["mediaitem"])})).on("DbRemove",(e=>{const t=JSON.parse(e);console.log("received request to remove item from collection:",t),this.mediacollectionStore.removeMediaitem(t)})).on("InformationRecord",(e=>{Object.assign(this.store.information,JSON.parse(e))})).on("ping",(()=>{this.store.lastHeartbeat=Date.now(),this.connected=!0})).connect().then((e=>{console.log(e),console.log("SSE connected!"),this.lineEstablished=!0})).catch((e=>{console.error("Failed make initial SSE connection!",e)}))}},async created(){console.log("app created, waiting for stores to init first dataset"),this.init(),console.log("data initialization finished")}});var T=o(32074);const R=(0,g.Z)(N,[["render",a]]),Z=R;O()(N,"components",{QDialog:T.Z});var L=o(23340),A=o(81809);const Q=(0,L.h)((()=>{const e=(0,A.WB)();return e})),j=[{path:"/",component:()=>Promise.all([o.e(736),o.e(805)]).then(o.bind(o,11805)),children:[{path:"",component:()=>Promise.all([o.e(736),o.e(88)]).then(o.bind(o,6088))},{path:"itempresenter",component:()=>Promise.all([o.e(736),o.e(64),o.e(148)]).then(o.bind(o,13789))},{path:"itemapproval",component:()=>Promise.all([o.e(736),o.e(64),o.e(764)]).then(o.bind(o,97310))}]},{path:"/gallery",component:()=>Promise.all([o.e(736),o.e(652)]).then(o.bind(o,41652)),children:[{path:"",component:()=>Promise.all([o.e(736),o.e(64),o.e(296)]).then(o.bind(o,80736))}]},{path:"/admin",meta:{requiresAuth:!0,requiresAdmin:!0},component:()=>Promise.all([o.e(736),o.e(964)]).then(o.bind(o,45964)),children:[{path:"",component:()=>Promise.all([o.e(736),o.e(790)]).then(o.bind(o,73790))},{path:"gallery",component:()=>Promise.all([o.e(736),o.e(64),o.e(296)]).then(o.bind(o,80736))},{path:"files",component:()=>Promise.all([o.e(736),o.e(492)]).then(o.bind(o,29492))},{path:"status",component:()=>Promise.all([o.e(736),o.e(90)]).then(o.bind(o,92090))},{path:"help",component:()=>Promise.all([o.e(736),o.e(528)]).then(o.bind(o,56528))},{path:"playground",component:()=>Promise.all([o.e(736),o.e(651)]).then(o.bind(o,56651))},{name:"config",path:"config/:section?",component:()=>Promise.all([o.e(736),o.e(51)]).then(o.bind(o,2051))}]},{path:"/standalone",component:()=>Promise.all([o.e(736),o.e(223)]).then(o.bind(o,4223)),children:[{path:"gallery",component:()=>Promise.all([o.e(736),o.e(64),o.e(296)]).then(o.bind(o,80736))}]},{path:"/:catchAll(.*)*",component:()=>o.e(99).then(o.bind(o,56099))}],q=j,x=(0,L.BC)((function(){const e=p.r5,t=(0,p.p7)({scrollBehavior:(e,t,o)=>o?{savedPosition:o}:{left:0,top:0},routes:q,history:e("")});return t}));async function D(e,t){const o=e(Z);o.use(r.Z,t);const n="function"===typeof Q?await Q({}):Q;o.use(n);const i=(0,l.Xl)("function"===typeof x?await x({store:n}):x);return n.use((({store:e})=>{e.router=i})),{app:o,store:n,router:i}}var W=o(66611),B=o(28423),M=o(23175),F=o(42913),H=o(46858),U=o(6827);const J={config:{notify:{}},components:{QInput:W.Z,QSlider:B.Z,QToggle:M.Z,QSelect:F.Z,QTooltip:H.Z},plugins:{Notify:U.Z}},$="";async function z({app:e,router:t,store:o},n){let r=!1;const l=e=>{try{return t.resolve(e).href}catch(o){}return Object(e)===e?null:e},i=e=>{if(r=!0,"string"===typeof e&&/^https?:\/\//.test(e))return void(window.location.href=e);const t=l(e);null!==t&&(window.location.href=t,window.location.reload())},a=window.location.href.replace(window.location.origin,"");for(let c=0;!1===r&&c{const[t,n]=void 0!==Promise.allSettled?["allSettled",e=>e.map((e=>{if("rejected"!==e.status)return e.value.default;console.error("[Quasar] boot error:",e.reason)}))]:["all",e=>e.map((e=>e.default))];return Promise[t]([Promise.resolve().then(o.bind(o,36372)),Promise.resolve().then(o.bind(o,91569)),Promise.resolve().then(o.bind(o,65955))]).then((t=>{const o=n(t).filter((e=>"function"===typeof e));z(e,o)}))}))},91569:(e,t,o)=>{o.r(t),o.d(t,{api:()=>l,default:()=>a,remoteProcedureCall:()=>i});var n=o(23340),r=o(37524);const l=r.Z.create({baseURL:"/"});function i(e){l.get(e).then((e=>{console.log(e)})).catch((e=>{console.log("error remoteprocedurecall"),console.log(e)}))}const a=(0,n.xr)((({app:e})=>{e.config.globalProperties.$axios=r.Z,e.config.globalProperties.$api=l}))},36372:(e,t,o)=>{o.r(t),o.d(t,{default:()=>l});var n=o(23340),r=o(32395);const l=(0,n.xr)((async({app:e})=>{e.component("BlitzForm",r.lU),e.component("BlitzListForm",r.$C)}))},65955:(e,t,o)=>{o.r(t),o.d(t,{default:()=>l});var n=o(23340),r=o(32681);const l=(0,n.xr)((({app:e})=>{e.use(r.ZP)}))},67575:(e,t,o)=>{o.d(t,{h:()=>l});var n=o(81809),r=(o(91569),o(60499));o(6827);const l=(0,n.Q_)("main-store",(()=>{const e=(0,r.iH)([]),t=(0,r.iH)({cpu1_5_15:[null,null,null],active_threads:null,memory:{total:null,available:null,percent:null,used:null,free:null},cma:{CmaTotal:null,CmaFree:null},disk:{total:null,used:null,free:null,percent:null},backends:{primary:{},secondary:{}},version:null,platform_system:null,platform_release:null,platform_machine:null,platform_python_version:null,platform_node:null,platform_cpu_count:null,data_directory:null,python_executable:null}),o=(0,r.iH)(null);return{information:t,lastHeartbeat:o,logrecords:e}}))},33630:(e,t,o)=>{o.d(t,{r:()=>i});o(86890);var n=o(81809),r=o(91569);const l={INIT:0,DONE:1,WIP:2,ERROR:3},i=(0,n.Q_)("mediacollection-store",{state:()=>({collection:[],mostRecentItemId:null,storeState:l.INIT}),actions:{initStore(e=!1){console.log("loading store"),this.isLoaded&&0==e?console.log("items loaded once already, skipping"):(this.storeState=l.WIP,r.api.get("/mediacollection/getitems").then((e=>{console.log(e),this.collection=e.data,this.storeState=l.DONE})).catch((e=>{console.log(e),this.storeState=l.ERROR})))},getIndexOfItemId(e){return this.collection.findIndex((t=>t.id===e))},addMediaitem(e){this.collection.unshift(e)},removeMediaitem(e){const t=this.collection.splice(this.getIndexOfItemId(e.id),1);0==t.length?console.log("no item removed from collection, maybe it was deleted by UI earlier already"):console.log(`${t.length} mediaitem deleted`)}},getters:{isLoaded(){return this.storeState===l.DONE},isLoading(){return this.storeState===l.WIP},collection_number_of_items(){return this.collection.length}}})},15639:(e,t,o)=>{o.d(t,{B:()=>r});var n=o(81809);const r=(0,n.Q_)("state-store",{state:()=>({state:null,typ:null,total_captures_to_take:null,remaining_captures_to_take:null,number_captures_taken:null,duration:null,confirmed_captures_collection:[],last_captured_mediaitem:null,ask_user_for_approval:null}),actions:{},getters:{}})},96694:(e,t,o)=>{o.d(t,{R:()=>i});var n=o(81809),r=o(91569);const l={INIT:0,DONE:1,WIP:2,ERROR:3},i=(0,n.Q_)("ui-settings-store",{state:()=>({uiSettings:{show_takepic_on_frontpage:null,show_takecollage_on_frontpage:null,show_takeanimation_on_frontpage:null,show_gallery_on_frontpage:null,show_admin_on_frontpage:null,livestream_mirror_effect:null,FRONTPAGE_TEXT:null,TAKEPIC_MSG_TIME:null,AUTOCLOSE_NEW_ITEM_ARRIVED:null,GALLERY_EMPTY_MSG:null,gallery_show_qrcode:null,gallery_show_filter:null,gallery_filter_userselectable:null,gallery_show_download:null,gallery_show_delete:null,gallery_show_print:null},storeState:l.INIT}),actions:{initStore(e=!1){console.log("loadUiSettings"),this.isLoaded&&0==e?console.log("settings loaded once already, skipping"):(this.storeState=l.WIP,r.api.get("/config/ui").then((e=>{console.log("loadUiSettings finished successfully"),console.log(e.data),this.uiSettings=e.data,this.storeState=l.DONE})).catch((e=>{console.log("loadUiSettings failed"),this.storeState=l.ERROR})))}},getters:{isLoaded(){return this.storeState===l.DONE},isLoading(){return this.storeState===l.WIP}}})}},t={};function o(n){var r=t[n];if(void 0!==r)return r.exports;var l=t[n]={exports:{}};return e[n].call(l.exports,l,l.exports,o),l.exports}o.m=e,(()=>{var e=[];o.O=(t,n,r,l)=>{if(!n){var i=1/0;for(d=0;d=l)&&Object.keys(o.O).every((e=>o.O[e](n[s])))?n.splice(s--,1):(a=!1,l0&&e[d-1][2]>l;d--)e[d]=e[d-1];e[d]=[n,r,l]}})(),(()=>{o.n=e=>{var t=e&&e.__esModule?()=>e["default"]:()=>e;return o.d(t,{a:t}),t}})(),(()=>{o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}})(),(()=>{o.f={},o.e=e=>Promise.all(Object.keys(o.f).reduce(((t,n)=>(o.f[n](e,t),t)),[]))})(),(()=>{o.u=e=>"js/"+(64===e?"chunk-common":e)+"."+{51:"574198bf",64:"7bf059a4",88:"0758dd03",90:"80f4c3bc",99:"93c6ac89",148:"c3bd482c",223:"1f057f3e",296:"31d7460c",492:"4cd5a74d",528:"2e5be924",651:"880922bc",652:"076d8df4",764:"90667ff9",790:"6452d0b7",805:"c5046c12",964:"7a208f96"}[e]+".js"})(),(()=>{o.miniCssF=e=>"css/"+e+"."+{51:"0d14ffdb",148:"d08e2765",296:"e0d6567a",764:"d08e2765"}[e]+".css"})(),(()=>{o.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}()})(),(()=>{o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t)})(),(()=>{var e={},t="photobooth-app-frontend:";o.l=(n,r,l,i)=>{if(e[n])e[n].push(r);else{var a,s;if(void 0!==l)for(var c=document.getElementsByTagName("script"),d=0;d{a.onerror=a.onload=null,clearTimeout(h);var r=e[n];if(delete e[n],a.parentNode&&a.parentNode.removeChild(a),r&&r.forEach((e=>e(o))),t)return t(o)},h=setTimeout(p.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=p.bind(null,a.onerror),a.onload=p.bind(null,a.onload),s&&document.head.appendChild(a)}}})(),(()=>{o.r=e=>{"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}})(),(()=>{o.p=""})(),(()=>{if("undefined"!==typeof document){var e=(e,t,o,n,r)=>{var l=document.createElement("link");l.rel="stylesheet",l.type="text/css";var i=o=>{if(l.onerror=l.onload=null,"load"===o.type)n();else{var i=o&&("load"===o.type?"missing":o.type),a=o&&o.target&&o.target.href||t,s=new Error("Loading CSS chunk "+e+" failed.\n("+a+")");s.code="CSS_CHUNK_LOAD_FAILED",s.type=i,s.request=a,l.parentNode.removeChild(l),r(s)}};return l.onerror=l.onload=i,l.href=t,o?o.parentNode.insertBefore(l,o.nextSibling):document.head.appendChild(l),l},t=(e,t)=>{for(var o=document.getElementsByTagName("link"),n=0;nnew Promise(((r,l)=>{var i=o.miniCssF(n),a=o.p+i;if(t(i,a))return r();e(n,a,null,r,l)})),r={143:0};o.f.miniCss=(e,t)=>{var o={51:1,148:1,296:1,764:1};r[e]?t.push(r[e]):0!==r[e]&&o[e]&&t.push(r[e]=n(e).then((()=>{r[e]=0}),(t=>{throw delete r[e],t})))}}})(),(()=>{var e={143:0};o.f.j=(t,n)=>{var r=o.o(e,t)?e[t]:void 0;if(0!==r)if(r)n.push(r[2]);else{var l=new Promise(((o,n)=>r=e[t]=[o,n]));n.push(r[2]=l);var i=o.p+o.u(t),a=new Error,s=n=>{if(o.o(e,t)&&(r=e[t],0!==r&&(e[t]=void 0),r)){var l=n&&("load"===n.type?"missing":n.type),i=n&&n.target&&n.target.src;a.message="Loading chunk "+t+" failed.\n("+l+": "+i+")",a.name="ChunkLoadError",a.type=l,a.request=i,r[1](a)}};o.l(i,s,"chunk-"+t,t)}},o.O.j=t=>0===e[t];var t=(t,n)=>{var r,l,[i,a,s]=n,c=0;if(i.some((t=>0!==e[t]))){for(r in a)o.o(a,r)&&(o.m[r]=a[r]);if(s)var d=s(o)}for(t&&t(n);co(6138)));n=o.O(n)})(); \ No newline at end of file diff --git a/photobooth/web_spa/js/chunk-common.33311e75.js b/photobooth/web_spa/js/chunk-common.33311e75.js new file mode 100644 index 00000000..5dd1f658 --- /dev/null +++ b/photobooth/web_spa/js/chunk-common.33311e75.js @@ -0,0 +1 @@ +"use strict";(globalThis["webpackChunkphotobooth_app_frontend"]=globalThis["webpackChunkphotobooth_app_frontend"]||[]).push([[64],{68800:(e,t,i)=>{i.d(t,{Z:()=>F});var r=i(59835),l=i(86970);const a={key:4,class:"q-mr-sm"},o={class:"q-mr-sm"},s={class:"text-subtitle2"},n={key:0,class:"full-height"},d={key:0,class:"full-height"},c=["src"],g={key:1,class:"full-height"},m=["src"],u={key:1,class:"full-height"},p={key:0,class:"full-height"},h=["src"],y={key:1,class:"full-height"},w=["src"];function S(e,t,i,S,f,v){const b=(0,r.up)("q-btn"),_=(0,r.up)("q-space"),q=(0,r.up)("q-icon"),I=(0,r.up)("q-toolbar"),k=(0,r.up)("q-linear-progress"),x=(0,r.up)("q-header"),R=(0,r.up)("q-img"),D=(0,r.up)("q-card-section"),T=(0,r.up)("q-card"),Z=(0,r.up)("q-drawer"),C=(0,r.up)("q-carousel-slide"),Q=(0,r.up)("q-carousel"),j=(0,r.up)("vue-qrcode"),$=(0,r.up)("q-page-sticky"),E=(0,r.up)("q-page-container"),W=(0,r.up)("q-layout"),L=(0,r.Q2)("touch-swipe");return v.emptyRepository?((0,r.wg)(),(0,r.j4)(W,{key:1,view:"hhh Lpr ffr"},{default:(0,r.w5)((()=>[(0,r.Uk)("EMPTY")])),_:1})):((0,r.wg)(),(0,r.j4)(W,{key:0,view:"hhh Lpr ffr",onClick:v.abortTimer},{default:(0,r.w5)((()=>[(0,r.Wm)(x,{elevated:"",class:"bg-primary text-white"},{default:(0,r.w5)((()=>[(0,r.Wm)(I,{class:"toolbar"},{default:(0,r.w5)((()=>[(0,r.Wm)(b,{dense:"",flat:"",icon:"close",size:"1.5rem",onClick:t[0]||(t[0]=t=>e.$emit("closeEvent"))}),(0,r.Wm)(_),S.uiSettingsStore.uiSettings.gallery_show_delete?((0,r.wg)(),(0,r.j4)(b,{key:0,flat:"",class:"q-mr-sm",icon:"delete",label:"Delete",onClick:t[1]||(t[1]=t=>{v.deleteItem(S.currentSlideId),e.$emit("closeEvent")})})):(0,r.kq)("",!0),S.uiSettingsStore.uiSettings.gallery_show_download?((0,r.wg)(),(0,r.j4)(b,{key:1,flat:"",class:"q-mr-sm",icon:"download",label:"Download",onClick:t[2]||(t[2]=e=>{S.openURL(i.itemRepository[S.currentSlideIndex]["full"])})})):(0,r.kq)("",!0),S.uiSettingsStore.uiSettings.gallery_show_print?((0,r.wg)(),(0,r.j4)(b,{key:2,flat:"",class:"q-mr-sm",icon:"print",label:"Print",onClick:t[3]||(t[3]=e=>v.printItem(S.currentSlideId))})):(0,r.kq)("",!0),S.uiSettingsStore.uiSettings.gallery_show_filter&&S.uiSettingsStore.uiSettings.gallery_filter_userselectable.length>0?((0,r.wg)(),(0,r.j4)(b,{key:3,flat:"",class:"q-mr-sm",icon:"filter",label:"Filter",disabled:!v.getFilterAvailable(i.itemRepository[S.currentSlideIndex]["media_type"]),onClick:S.toggleRightDrawer},null,8,["disabled","onClick"])):(0,r.kq)("",!0),(0,r.Wm)(_),i.singleItemView?(0,r.kq)("",!0):((0,r.wg)(),(0,r.iD)("div",a,[(0,r.Wm)(q,{name:"tag"}),(0,r._)("span",null,(0,l.zw)(S.currentSlideIndex+1)+" of "+(0,l.zw)(i.itemRepository.length)+" total",1)])),(0,r.Wm)(_),(0,r._)("div",o,[(0,r.Wm)(q,{name:"image"}),(0,r.Uk)(" "+(0,l.zw)(i.itemRepository[S.currentSlideIndex]["caption"]),1)])])),_:1}),f.displayLinearProgressBar&&f.remainingSeconds>0?((0,r.wg)(),(0,r.j4)(k,{key:0,class:"absolute",value:f.remainingSecondsNormalized,"animation-speed":"200",color:"grey"},null,8,["value"])):(0,r.kq)("",!0),S.displayLoadingSpinner?((0,r.wg)(),(0,r.j4)(k,{key:1,class:"absolute",indeterminate:"","animation-speed":"2100",color:"primary"})):(0,r.kq)("",!0)])),_:1}),S.uiSettingsStore.uiSettings.gallery_show_filter&&v.getFilterAvailable(i.itemRepository[S.currentSlideIndex]["media_type"])?((0,r.wg)(),(0,r.j4)(Z,{key:0,class:"q-pa-sm",modelValue:S.rightDrawerOpen,"onUpdate:modelValue":t[4]||(t[4]=e=>S.rightDrawerOpen=e),side:"right",overlay:""},{default:(0,r.w5)((()=>[((0,r.wg)(!0),(0,r.iD)(r.HY,null,(0,r.Ko)(S.uiSettingsStore.uiSettings.gallery_filter_userselectable,(e=>((0,r.wg)(),(0,r.j4)(T,{class:"q-mb-sm",key:e},{default:(0,r.w5)((()=>[(0,r.Wm)(D,{class:"q-pa-sm"},{default:(0,r.w5)((()=>[(0,r.Wm)(R,{class:"rounded-borders",loading:"lazy",onClick:t=>v.applyFilter(S.currentSlideId,e),src:`/mediaprocessing/preview/${S.currentSlideId}/${e}`},null,8,["onClick","src"])])),_:2},1024),(0,r.Wm)(D,{class:"q-pa-none q-pb-sm",align:"center"},{default:(0,r.w5)((()=>[(0,r._)("div",s,(0,l.zw)(e),1)])),_:2},1024)])),_:2},1024)))),128))])),_:1},8,["modelValue"])):(0,r.kq)("",!0),(0,r.Wm)(E,{class:"q-pa-none galleryimagedetail full-height"},{default:(0,r.w5)((()=>[i.singleItemView?((0,r.wg)(),(0,r.iD)("div",n,[(0,r.Wm)(T,{class:"column no-wrap flex-center full-height q-pa-sm"},{default:(0,r.w5)((()=>["video"!=this.itemRepository[0].media_type?((0,r.wg)(),(0,r.iD)("div",d,[(0,r._)("img",{draggable:!1,class:"rounded-borders full-height",style:{"object-fit":"contain","max-width":"100%","max-height":"100%"},src:this.itemRepository[0].preview},null,8,c)])):((0,r.wg)(),(0,r.iD)("div",g,[(0,r._)("video",{draggable:!1,src:this.itemRepository[0].preview,class:"rounded-borders full-height",muted:"",autoplay:"",style:{"object-fit":"contain","max-width":"100%","max-height":"100%"},controls:"controls"},null,8,m)]))])),_:1})])):((0,r.wg)(),(0,r.iD)("div",u,[(0,r.wy)(((0,r.wg)(),(0,r.j4)(Q,{class:"",style:{width:"100%",height:"100%"},"control-type":"flat","control-color":"primary",swipeable:"",animated:"",modelValue:S.currentSlideId,"onUpdate:modelValue":t[5]||(t[5]=e=>S.currentSlideId=e),autoplay:S.autoplay,draggable:"false",arrows:"","transition-prev":"slide-right","transition-next":"slide-left",onTransition:t[6]||(t[6]=(e,t)=>{S.currentSlideIndex=i.itemRepository.findIndex((t=>t.id===e)),v.abortTimer()})},{default:(0,r.w5)((()=>[((0,r.wg)(!0),(0,r.iD)(r.HY,null,(0,r.Ko)(v.slicedImages,(e=>((0,r.wg)(),(0,r.j4)(C,{key:e.id,name:e.id,class:"column no-wrap flex-center full-height q-pa-sm"},{default:(0,r.w5)((()=>["video"!=e.media_type?((0,r.wg)(),(0,r.iD)("div",p,[(0,r._)("img",{draggable:!1,class:"rounded-borders full-height",style:{"object-fit":"contain","max-width":"100%","max-height":"100%"},src:e.preview},null,8,h)])):((0,r.wg)(),(0,r.iD)("div",y,[(0,r._)("video",{draggable:!1,src:e.preview,class:"rounded-borders full-height",style:{"object-fit":"contain","max-width":"100%","max-height":"100%"},controls:"controls"},null,8,w)]))])),_:2},1032,["name"])))),128))])),_:1},8,["modelValue","autoplay"])),[[L,S.handleSwipeDown,void 0,{mouse:!0,down:!0}]])])),S.uiSettingsStore.uiSettings.gallery_show_qrcode?((0,r.wg)(),(0,r.j4)($,{key:2,position:"top-right",offset:[30,30]},{default:(0,r.w5)((()=>[(0,r._)("div",null,[(0,r.Wm)(j,{type:"image/png",tag:"svg",margin:2,width:200,"error-correction-level":"low",color:{dark:"#111111",light:"#EEEEEE"},value:v.getImageQrData()},null,8,["value"])])])),_:1})):(0,r.kq)("",!0)])),_:1})])),_:1},8,["onClick"]))}i(69665);var f=i(20226),v=i(60499),b=i(96694),_=i(33752),q=i(19302);const I={props:{indexSelected:{type:Number,required:!0},itemRepository:{type:Array,required:!0},startTimerOnOpen:{type:Boolean,required:!1,default:!1},singleItemView:{type:Boolean,default:!1}},computed:{emptyRepository(){return!this.itemRepository||0==this.itemRepository.length},slicedImages(){console.log("changed");this.itemRepository.length;var e=Math.max(0,this.currentSlideIndex-2),t=Math.max(0,this.currentSlideIndex+3);return console.log(this.itemRepository.slice(e,t)),this.itemRepository.slice(e,t)}},beforeCreate(){console.log(this.indexSelected),this.currentSlideIndex=this.indexSelected,this.currentSlideId=this.itemRepository[this.indexSelected].id},data(){return{intervalTimerId:null,remainingSeconds:0,remainingSecondsNormalized:0,displayLinearProgressBar:!0}},setup(){const e=(0,b.R)(),t=(0,v.iH)(!1);(0,q.Z)();return{uiSettingsStore:e,openURL:_.Z,fabRight:(0,v.iH)(!1),currentSlideId:(0,v.iH)(""),currentSlideIndex:(0,v.iH)(0),autoplay:(0,v.iH)(!1),showFilterDialog:(0,v.iH)(!1),displayLoadingSpinner:(0,v.iH)(!1),rightDrawerOpen:t,toggleRightDrawer(){t.value=!t.value},handleSwipeDown({evt:e}){console.log("TODO: add method to close dialog programmatically")}}},components:{VueQrcode:f.ZP},mounted(){this.startTimerOnOpen&&this.startTimer()},beforeUnmount(){clearInterval(this.intervalTimerId)},methods:{async reloadImg(e){await fetch(e,{cache:"reload",mode:"no-cors"});const t=(new Date).getTime();document.body.querySelectorAll(`img[src*='${e}']`).forEach((i=>{i.src=e+"#"+t}))},applyFilter(e,t){this.displayLoadingSpinner=!0,this.$api.get(`/mediaprocessing/applyfilter/${e}/${t}`).then((t=>{const i=this.itemRepository.findIndex((t=>t.id===e));this.reloadImg(this.itemRepository[i].full),this.reloadImg(this.itemRepository[i].preview),this.reloadImg(this.itemRepository[i].thumbnail),this.displayLoadingSpinner=!1})).catch((e=>{console.log(e),this.displayLoadingSpinner=!1}))},deleteItem(e){this.$api.get("/mediacollection/delete",{params:{image_id:e}}).then((e=>{console.log(e)})).catch((e=>console.log(e)))},printItem(e){this.$api.get(`/print/item/${e}`).then((e=>{console.log(e),this.$q.notify({message:"Started printing...",type:"positive",spinner:!0})})).catch((e=>{e.response?(console.log(e.response),425==e.response.status?this.$q.notify({message:e.response.data["detail"],caption:"Print Service",type:"info"}):this.$q.notify({message:e.response.data["detail"],caption:"Print Service",type:"negative"})):e.request?console.error(e.request):console.error("Error",e.message)}))},getFilterAvailable(e){return["image","collageimage","animationimage"].includes(e)},getImageQrData(){return this.itemRepository[this.currentSlideIndex]["share_url"]},abortTimer(){clearInterval(this.intervalTimerId),this.remainingSeconds=0,this.remainingSecondsNormalized=0},startTimer(){var e=this.uiSettingsStore.uiSettings["AUTOCLOSE_NEW_ITEM_ARRIVED"];console.log(`starting newitemarrived timer, duration=${e}`),this.remainingSeconds=e,this.intervalTimerId=setInterval((()=>{this.remainingSecondsNormalized=this.remainingSeconds/e,this.remainingSeconds-=.05,this.remainingSeconds<=0&&(clearInterval(this.intervalTimerId),this.$router.push({path:"/"}))}),50)}}};var k=i(11639),x=i(20249),R=i(16602),D=i(51663),T=i(68879),Z=i(90136),C=i(22857),Q=i(8289),j=i(10906),$=i(44458),E=i(63190),W=i(70335),L=i(12133),O=i(97052),V=i(41694),z=i(30627),H=i(64871),P=i(69984),U=i.n(P);const A=(0,k.Z)(I,[["render",S]]),F=A;U()(I,"components",{QLayout:x.Z,QHeader:R.Z,QToolbar:D.Z,QBtn:T.Z,QSpace:Z.Z,QIcon:C.Z,QLinearProgress:Q.Z,QDrawer:j.Z,QCard:$.Z,QCardSection:E.Z,QImg:W.Z,QPageContainer:L.Z,QCarousel:O.Z,QCarouselSlide:V.Z,QPageSticky:z.Z}),U()(I,"directives",{TouchSwipe:H.Z})}}]); \ No newline at end of file diff --git a/photobooth/web_spa/js/chunk-common.7bf059a4.js b/photobooth/web_spa/js/chunk-common.7bf059a4.js deleted file mode 100644 index 003265b5..00000000 --- a/photobooth/web_spa/js/chunk-common.7bf059a4.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(globalThis["webpackChunkphotobooth_app_frontend"]=globalThis["webpackChunkphotobooth_app_frontend"]||[]).push([[64],{95591:(e,t,i)=>{i.d(t,{Z:()=>V});var r=i(59835),l=i(86970);const a={key:4,class:"q-mr-sm"},n={class:"q-mr-sm"},o={class:"text-subtitle2"},s={key:0,class:"full-height"},d=["src"],c={key:1,class:"full-height"},g=["src"];function m(e,t,i,m,u,p){const h=(0,r.up)("q-btn"),y=(0,r.up)("q-space"),w=(0,r.up)("q-icon"),S=(0,r.up)("q-toolbar"),f=(0,r.up)("q-linear-progress"),v=(0,r.up)("q-header"),q=(0,r.up)("q-img"),I=(0,r.up)("q-card-section"),_=(0,r.up)("q-card"),b=(0,r.up)("q-drawer"),k=(0,r.up)("q-carousel-slide"),R=(0,r.up)("q-carousel"),x=(0,r.up)("vue-qrcode"),T=(0,r.up)("q-page-sticky"),D=(0,r.up)("q-page-container"),Z=(0,r.up)("q-layout"),C=(0,r.Q2)("touch-swipe");return p.emptyRepository?((0,r.wg)(),(0,r.j4)(Z,{key:1,view:"hhh Lpr ffr"},{default:(0,r.w5)((()=>[(0,r.Uk)("EMPTY")])),_:1})):((0,r.wg)(),(0,r.j4)(Z,{key:0,view:"hhh Lpr ffr",onClick:p.abortTimer},{default:(0,r.w5)((()=>[(0,r.Wm)(v,{elevated:"",class:"bg-primary text-white"},{default:(0,r.w5)((()=>[(0,r.Wm)(S,{class:"toolbar"},{default:(0,r.w5)((()=>[(0,r.Wm)(h,{dense:"",flat:"",icon:"close",size:"1.5rem",onClick:t[0]||(t[0]=t=>e.$emit("closeEvent"))}),(0,r.Wm)(y),m.uiSettingsStore.uiSettings.gallery_show_delete?((0,r.wg)(),(0,r.j4)(h,{key:0,flat:"",class:"q-mr-sm",icon:"delete",label:"Delete",onClick:t[1]||(t[1]=t=>{p.deleteItem(m.currentSlideId),e.$emit("closeEvent")})})):(0,r.kq)("",!0),m.uiSettingsStore.uiSettings.gallery_show_download?((0,r.wg)(),(0,r.j4)(h,{key:1,flat:"",class:"q-mr-sm",icon:"download",label:"Download",onClick:t[2]||(t[2]=e=>{m.openURL(i.itemRepository[m.currentSlideIndex]["full"])})})):(0,r.kq)("",!0),m.uiSettingsStore.uiSettings.gallery_show_print?((0,r.wg)(),(0,r.j4)(h,{key:2,flat:"",class:"q-mr-sm",icon:"print",label:"Print",onClick:t[3]||(t[3]=e=>p.printItem(m.currentSlideId))})):(0,r.kq)("",!0),m.uiSettingsStore.uiSettings.gallery_show_filter&&m.uiSettingsStore.uiSettings.gallery_filter_userselectable.length>0?((0,r.wg)(),(0,r.j4)(h,{key:3,flat:"",class:"q-mr-sm",icon:"filter",label:"Filter",disabled:!p.getFilterAvailable(i.itemRepository[m.currentSlideIndex]["media_type"]),onClick:m.toggleRightDrawer},null,8,["disabled","onClick"])):(0,r.kq)("",!0),(0,r.Wm)(y),i.singleItemView?(0,r.kq)("",!0):((0,r.wg)(),(0,r.iD)("div",a,[(0,r.Wm)(w,{name:"tag"}),(0,r._)("span",null,(0,l.zw)(m.currentSlideIndex+1)+" of "+(0,l.zw)(i.itemRepository.length)+" total",1)])),(0,r.Wm)(y),(0,r._)("div",n,[(0,r.Wm)(w,{name:"image"}),(0,r.Uk)(" "+(0,l.zw)(i.itemRepository[m.currentSlideIndex]["caption"]),1)])])),_:1}),u.displayLinearProgressBar&&u.remainingSeconds>0?((0,r.wg)(),(0,r.j4)(f,{key:0,class:"absolute",value:u.remainingSecondsNormalized,"animation-speed":"200",color:"grey"},null,8,["value"])):(0,r.kq)("",!0),m.displayLoadingSpinner?((0,r.wg)(),(0,r.j4)(f,{key:1,class:"absolute",indeterminate:"","animation-speed":"2100",color:"primary"})):(0,r.kq)("",!0)])),_:1}),m.uiSettingsStore.uiSettings.gallery_show_filter&&p.getFilterAvailable(i.itemRepository[m.currentSlideIndex]["media_type"])?((0,r.wg)(),(0,r.j4)(b,{key:0,class:"q-pa-sm",modelValue:m.rightDrawerOpen,"onUpdate:modelValue":t[4]||(t[4]=e=>m.rightDrawerOpen=e),side:"right",overlay:""},{default:(0,r.w5)((()=>[((0,r.wg)(!0),(0,r.iD)(r.HY,null,(0,r.Ko)(m.uiSettingsStore.uiSettings.gallery_filter_userselectable,(e=>((0,r.wg)(),(0,r.j4)(_,{class:"q-mb-sm",key:e},{default:(0,r.w5)((()=>[(0,r.Wm)(I,{class:"q-pa-sm"},{default:(0,r.w5)((()=>[(0,r.Wm)(q,{class:"rounded-borders",loading:"lazy",onClick:t=>p.applyFilter(m.currentSlideId,e),src:`/mediaprocessing/preview/${m.currentSlideId}/${e}`},null,8,["onClick","src"])])),_:2},1024),(0,r.Wm)(I,{class:"q-pa-none q-pb-sm",align:"center"},{default:(0,r.w5)((()=>[(0,r._)("div",o,(0,l.zw)(e),1)])),_:2},1024)])),_:2},1024)))),128))])),_:1},8,["modelValue"])):(0,r.kq)("",!0),(0,r.Wm)(D,{class:"q-pa-none galleryimagedetail full-height"},{default:(0,r.w5)((()=>[i.singleItemView?((0,r.wg)(),(0,r.iD)("div",s,[(0,r.Wm)(_,{class:"column no-wrap flex-center full-height q-pa-sm"},{default:(0,r.w5)((()=>[(0,r._)("img",{draggable:!1,class:"rounded-borders full-height",style:{"object-fit":"contain","max-width":"100%","max-height":"100%"},src:this.itemRepository[0].preview},null,8,d)])),_:1})])):((0,r.wg)(),(0,r.iD)("div",c,[(0,r.wy)(((0,r.wg)(),(0,r.j4)(R,{class:"",style:{width:"100%",height:"100%"},"control-type":"flat","control-color":"primary",swipeable:"",animated:"",modelValue:m.currentSlideId,"onUpdate:modelValue":t[5]||(t[5]=e=>m.currentSlideId=e),autoplay:m.autoplay,draggable:"false",arrows:"","transition-prev":"slide-right","transition-next":"slide-left",onTransition:t[6]||(t[6]=(e,t)=>{m.currentSlideIndex=i.itemRepository.findIndex((t=>t.id===e)),p.abortTimer()})},{default:(0,r.w5)((()=>[((0,r.wg)(!0),(0,r.iD)(r.HY,null,(0,r.Ko)(p.slicedImages,(e=>((0,r.wg)(),(0,r.j4)(k,{key:e.id,name:e.id,class:"column no-wrap flex-center full-height q-pa-sm"},{default:(0,r.w5)((()=>[(0,r._)("img",{draggable:!1,class:"rounded-borders full-height",style:{"object-fit":"contain","max-width":"100%","max-height":"100%"},src:e.preview},null,8,g)])),_:2},1032,["name"])))),128))])),_:1},8,["modelValue","autoplay"])),[[C,m.handleSwipeDown,void 0,{mouse:!0,down:!0}]])])),m.uiSettingsStore.uiSettings.gallery_show_qrcode?((0,r.wg)(),(0,r.j4)(T,{key:2,position:"top-right",offset:[30,30]},{default:(0,r.w5)((()=>[(0,r._)("div",null,[(0,r.Wm)(x,{type:"image/png",tag:"svg",margin:2,width:200,"error-correction-level":"low",color:{dark:"#111111",light:"#EEEEEE"},value:p.getImageQrData()},null,8,["value"])])])),_:1})):(0,r.kq)("",!0)])),_:1})])),_:1},8,["onClick"]))}i(69665);var u=i(20226),p=i(60499),h=i(96694),y=i(33752),w=i(19302);const S={props:{indexSelected:{type:Number,required:!0},itemRepository:{type:Array,required:!0},startTimerOnOpen:{type:Boolean,required:!1,default:!1},singleItemView:{type:Boolean,default:!1}},computed:{emptyRepository(){return!this.itemRepository||0==this.itemRepository.length},slicedImages(){console.log("changed");this.itemRepository.length;var e=Math.max(0,this.currentSlideIndex-2),t=Math.max(0,this.currentSlideIndex+3);return console.log(this.itemRepository.slice(e,t)),this.itemRepository.slice(e,t)}},beforeCreate(){console.log(this.indexSelected),this.currentSlideIndex=this.indexSelected,this.currentSlideId=this.itemRepository[this.indexSelected].id},data(){return{intervalTimerId:null,remainingSeconds:0,remainingSecondsNormalized:0,displayLinearProgressBar:!0}},setup(){const e=(0,h.R)(),t=(0,p.iH)(!1);(0,w.Z)();return{uiSettingsStore:e,openURL:y.Z,fabRight:(0,p.iH)(!1),currentSlideId:(0,p.iH)(""),currentSlideIndex:(0,p.iH)(0),autoplay:(0,p.iH)(!1),showFilterDialog:(0,p.iH)(!1),displayLoadingSpinner:(0,p.iH)(!1),rightDrawerOpen:t,toggleRightDrawer(){t.value=!t.value},handleSwipeDown({evt:e}){console.log("TODO: add method to close dialog programmatically")}}},components:{VueQrcode:u.ZP},mounted(){this.startTimerOnOpen&&this.startTimer()},beforeUnmount(){clearInterval(this.intervalTimerId)},methods:{async reloadImg(e){await fetch(e,{cache:"reload",mode:"no-cors"});const t=(new Date).getTime();document.body.querySelectorAll(`img[src*='${e}']`).forEach((i=>{i.src=e+"#"+t}))},applyFilter(e,t){this.displayLoadingSpinner=!0,this.$api.get(`/mediaprocessing/applyfilter/${e}/${t}`).then((t=>{const i=this.itemRepository.findIndex((t=>t.id===e));this.reloadImg(this.itemRepository[i].full),this.reloadImg(this.itemRepository[i].preview),this.reloadImg(this.itemRepository[i].thumbnail),this.displayLoadingSpinner=!1})).catch((e=>{console.log(e),this.displayLoadingSpinner=!1}))},deleteItem(e){this.$api.get("/mediacollection/delete",{params:{image_id:e}}).then((e=>{console.log(e)})).catch((e=>console.log(e)))},printItem(e){this.$api.get(`/print/item/${e}`).then((e=>{console.log(e),this.$q.notify({message:"Started printing...",type:"positive",spinner:!0})})).catch((e=>{e.response?(console.log(e.response),425==e.response.status?this.$q.notify({message:e.response.data["detail"],caption:"Print Service",type:"info"}):this.$q.notify({message:e.response.data["detail"],caption:"Print Service",type:"negative"})):e.request?console.error(e.request):console.error("Error",e.message)}))},getFilterAvailable(e){return["image","collageimage","animationimage"].includes(e)},getImageQrData(){return this.itemRepository[this.currentSlideIndex]["share_url"]},abortTimer(){clearInterval(this.intervalTimerId),this.remainingSeconds=0,this.remainingSecondsNormalized=0},startTimer(){var e=this.uiSettingsStore.uiSettings["AUTOCLOSE_NEW_ITEM_ARRIVED"];console.log(`starting newitemarrived timer, duration=${e}`),this.remainingSeconds=e,this.intervalTimerId=setInterval((()=>{this.remainingSecondsNormalized=this.remainingSeconds/e,this.remainingSeconds-=.05,this.remainingSeconds<=0&&(clearInterval(this.intervalTimerId),this.$router.push({path:"/"}))}),50)}}};var f=i(11639),v=i(20249),q=i(16602),I=i(51663),_=i(68879),b=i(90136),k=i(22857),R=i(8289),x=i(10906),T=i(44458),D=i(63190),Z=i(70335),C=i(12133),Q=i(97052),$=i(41694),j=i(30627),E=i(64871),W=i(69984),L=i.n(W);const O=(0,f.Z)(S,[["render",m]]),V=O;L()(S,"components",{QLayout:v.Z,QHeader:q.Z,QToolbar:I.Z,QBtn:_.Z,QSpace:b.Z,QIcon:k.Z,QLinearProgress:R.Z,QDrawer:x.Z,QCard:T.Z,QCardSection:D.Z,QImg:Z.Z,QPageContainer:C.Z,QCarousel:Q.Z,QCarouselSlide:$.Z,QPageSticky:j.Z}),L()(S,"directives",{TouchSwipe:E.Z})}}]); \ No newline at end of file diff --git a/photobooth/web_spa/js/vendor.19f55e57.js b/photobooth/web_spa/js/vendor.0f07c12f.js similarity index 98% rename from photobooth/web_spa/js/vendor.19f55e57.js rename to photobooth/web_spa/js/vendor.0f07c12f.js index 27effe46..ce7bba26 100644 --- a/photobooth/web_spa/js/vendor.19f55e57.js +++ b/photobooth/web_spa/js/vendor.0f07c12f.js @@ -1,4 +1,4 @@ -(globalThis["webpackChunkphotobooth_app_frontend"]=globalThis["webpackChunkphotobooth_app_frontend"]||[]).push([[736],{69984:e=>{e.exports=function(e,l,C){const r=void 0!==e.__vccOpts?e.__vccOpts:e,t=r[l];if(void 0===t)r[l]=C;else for(const o in C)void 0===t[o]&&(t[o]=C[o])}},60499:(e,l,C)=>{"use strict";C.d(l,{B:()=>i,BK:()=>Ye,Bj:()=>o,EB:()=>c,Fl:()=>Xe,IU:()=>Se,Jd:()=>x,PG:()=>Ae,SU:()=>Ue,Um:()=>xe,WL:()=>ze,X$:()=>B,X3:()=>Fe,XI:()=>Ne,Xl:()=>Pe,dq:()=>De,iH:()=>Re,j:()=>y,lk:()=>k,nZ:()=>n,qj:()=>be,qq:()=>m,yT:()=>Oe});var r=C(86970);let t;class o{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=t,!e&&t&&(this.index=(t.scopes||(t.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const l=t;try{return t=this,e()}finally{t=l}}else 0}on(){t=this}off(){t=this.parent}stop(e){if(this._active){let l,C;for(l=0,C=this.effects.length;l{const l=new Set(e);return l.w=0,l.n=0,l},a=e=>(e.w&L)>0,p=e=>(e.n&L)>0,f=({deps:e})=>{if(e.length)for(let l=0;l{const{deps:l}=e;if(l.length){let C=0;for(let r=0;r{("length"===C||C>=e)&&n.push(l)}))}else switch(void 0!==C&&n.push(d.get(C)),l){case"add":(0,r.kJ)(e)?(0,r.S0)(C)&&n.push(d.get("length")):(n.push(d.get(w)),(0,r._N)(e)&&n.push(d.get(M)));break;case"delete":(0,r.kJ)(e)||(n.push(d.get(w)),(0,r._N)(e)&&n.push(d.get(M)));break;case"set":(0,r._N)(e)&&n.push(d.get(w));break}if(1===n.length)n[0]&&O(n[0]);else{const e=[];for(const l of n)l&&e.push(...l);O(u(e))}}function O(e,l){const C=(0,r.kJ)(e)?e:[...e];for(const r of C)r.computed&&F(r,l);for(const r of C)r.computed||F(r,l)}function F(e,l){(e!==Z||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}function S(e,l){var C;return null==(C=v.get(e))?void 0:C.get(l)}const P=(0,r.fY)("__proto__,__v_isRef,__isVue"),_=new Set(Object.getOwnPropertyNames(Symbol).filter((e=>"arguments"!==e&&"caller"!==e)).map((e=>Symbol[e])).filter(r.yk)),T=I(),E=I(!1,!0),q=I(!0),D=R();function R(){const e={};return["includes","indexOf","lastIndexOf"].forEach((l=>{e[l]=function(...e){const C=Se(this);for(let l=0,t=this.length;l{e[l]=function(...e){x();const C=Se(this)[l].apply(this,e);return k(),C}})),e}function N(e){const l=Se(this);return y(l,"has",e),l.hasOwnProperty(e)}function I(e=!1,l=!1){return function(C,t,o){if("__v_isReactive"===t)return!e;if("__v_isReadonly"===t)return e;if("__v_isShallow"===t)return l;if("__v_raw"===t&&o===(e?l?me:Me:l?we:Ze).get(C))return C;const i=(0,r.kJ)(C);if(!e){if(i&&(0,r.RI)(D,t))return Reflect.get(D,t,o);if("hasOwnProperty"===t)return N}const d=Reflect.get(C,t,o);return((0,r.yk)(t)?_.has(t):P(t))?d:(e||y(C,"get",t),l?d:De(d)?i&&(0,r.S0)(t)?d:d.value:(0,r.Kn)(d)?e?ke(d):be(d):d)}}const $=j(),U=j(!0);function j(e=!1){return function(l,C,t,o){let i=l[C];if(Be(i)&&De(i)&&!De(t))return!1;if(!e&&(Oe(t)||Be(t)||(i=Se(i),t=Se(t)),!(0,r.kJ)(l)&&De(i)&&!De(t)))return i.value=t,!0;const d=(0,r.kJ)(l)&&(0,r.S0)(C)?Number(C)e,J=e=>Reflect.getPrototypeOf(e);function ee(e,l,C=!1,r=!1){e=e["__v_raw"];const t=Se(e),o=Se(l);C||(l!==o&&y(t,"get",l),y(t,"get",o));const{has:i}=J(t),d=r?Q:C?Te:_e;return i.call(t,l)?d(e.get(l)):i.call(t,o)?d(e.get(o)):void(e!==t&&e.get(l))}function le(e,l=!1){const C=this["__v_raw"],r=Se(C),t=Se(e);return l||(e!==t&&y(r,"has",e),y(r,"has",t)),e===t?C.has(e):C.has(e)||C.has(t)}function Ce(e,l=!1){return e=e["__v_raw"],!l&&y(Se(e),"iterate",w),Reflect.get(e,"size",e)}function re(e){e=Se(e);const l=Se(this),C=J(l),r=C.has.call(l,e);return r||(l.add(e),B(l,"add",e,e)),this}function te(e,l){l=Se(l);const C=Se(this),{has:t,get:o}=J(C);let i=t.call(C,e);i||(e=Se(e),i=t.call(C,e));const d=o.call(C,e);return C.set(e,l),i?(0,r.aU)(l,d)&&B(C,"set",e,l,d):B(C,"add",e,l),this}function oe(e){const l=Se(this),{has:C,get:r}=J(l);let t=C.call(l,e);t||(e=Se(e),t=C.call(l,e));const o=r?r.call(l,e):void 0,i=l.delete(e);return t&&B(l,"delete",e,void 0,o),i}function ie(){const e=Se(this),l=0!==e.size,C=void 0,r=e.clear();return l&&B(e,"clear",void 0,void 0,C),r}function de(e,l){return function(C,r){const t=this,o=t["__v_raw"],i=Se(o),d=l?Q:e?Te:_e;return!e&&y(i,"iterate",w),o.forEach(((e,l)=>C.call(r,d(e),d(l),t)))}}function ne(e,l,C){return function(...t){const o=this["__v_raw"],i=Se(o),d=(0,r._N)(i),n="entries"===e||e===Symbol.iterator&&d,c="keys"===e&&d,u=o[e](...t),a=C?Q:l?Te:_e;return!l&&y(i,"iterate",c?M:w),{next(){const{value:e,done:l}=u.next();return l?{value:e,done:l}:{value:n?[a(e[0]),a(e[1])]:a(e),done:l}},[Symbol.iterator](){return this}}}}function ce(e){return function(...l){return"delete"!==e&&this}}function ue(){const e={get(e){return ee(this,e)},get size(){return Ce(this)},has:le,add:re,set:te,delete:oe,clear:ie,forEach:de(!1,!1)},l={get(e){return ee(this,e,!1,!0)},get size(){return Ce(this)},has:le,add:re,set:te,delete:oe,clear:ie,forEach:de(!1,!0)},C={get(e){return ee(this,e,!0)},get size(){return Ce(this,!0)},has(e){return le.call(this,e,!0)},add:ce("add"),set:ce("set"),delete:ce("delete"),clear:ce("clear"),forEach:de(!0,!1)},r={get(e){return ee(this,e,!0,!0)},get size(){return Ce(this,!0)},has(e){return le.call(this,e,!0)},add:ce("add"),set:ce("set"),delete:ce("delete"),clear:ce("clear"),forEach:de(!0,!0)},t=["keys","values","entries",Symbol.iterator];return t.forEach((t=>{e[t]=ne(t,!1,!1),C[t]=ne(t,!0,!1),l[t]=ne(t,!1,!0),r[t]=ne(t,!0,!0)})),[e,C,l,r]}const[ae,pe,fe,se]=ue();function ve(e,l){const C=l?e?se:fe:e?pe:ae;return(l,t,o)=>"__v_isReactive"===t?!e:"__v_isReadonly"===t?e:"__v_raw"===t?l:Reflect.get((0,r.RI)(C,t)&&t in l?C:l,t,o)}const he={get:ve(!1,!1)},Le={get:ve(!1,!0)},ge={get:ve(!0,!1)};const Ze=new WeakMap,we=new WeakMap,Me=new WeakMap,me=new WeakMap;function He(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Ve(e){return e["__v_skip"]||!Object.isExtensible(e)?0:He((0,r.W7)(e))}function be(e){return Be(e)?e:ye(e,!1,W,he,Ze)}function xe(e){return ye(e,!1,X,Le,we)}function ke(e){return ye(e,!0,K,ge,Me)}function ye(e,l,C,t,o){if(!(0,r.Kn)(e))return e;if(e["__v_raw"]&&(!l||!e["__v_isReactive"]))return e;const i=o.get(e);if(i)return i;const d=Ve(e);if(0===d)return e;const n=new Proxy(e,2===d?t:C);return o.set(e,n),n}function Ae(e){return Be(e)?Ae(e["__v_raw"]):!(!e||!e["__v_isReactive"])}function Be(e){return!(!e||!e["__v_isReadonly"])}function Oe(e){return!(!e||!e["__v_isShallow"])}function Fe(e){return Ae(e)||Be(e)}function Se(e){const l=e&&e["__v_raw"];return l?Se(l):e}function Pe(e){return(0,r.Nj)(e,"__v_skip",!0),e}const _e=e=>(0,r.Kn)(e)?be(e):e,Te=e=>(0,r.Kn)(e)?ke(e):e;function Ee(e){V&&Z&&(e=Se(e),A(e.dep||(e.dep=u())))}function qe(e,l){e=Se(e);const C=e.dep;C&&O(C)}function De(e){return!(!e||!0!==e.__v_isRef)}function Re(e){return Ie(e,!1)}function Ne(e){return Ie(e,!0)}function Ie(e,l){return De(e)?e:new $e(e,l)}class $e{constructor(e,l){this.__v_isShallow=l,this.dep=void 0,this.__v_isRef=!0,this._rawValue=l?e:Se(e),this._value=l?e:_e(e)}get value(){return Ee(this),this._value}set value(e){const l=this.__v_isShallow||Oe(e)||Be(e);e=l?e:Se(e),(0,r.aU)(e,this._rawValue)&&(this._rawValue=e,this._value=l?e:_e(e),qe(this,e))}}function Ue(e){return De(e)?e.value:e}const je={get:(e,l,C)=>Ue(Reflect.get(e,l,C)),set:(e,l,C,r)=>{const t=e[l];return De(t)&&!De(C)?(t.value=C,!0):Reflect.set(e,l,C,r)}};function ze(e){return Ae(e)?e:new Proxy(e,je)}function Ye(e){const l=(0,r.kJ)(e)?new Array(e.length):{};for(const C in e)l[C]=We(e,C);return l}class Ge{constructor(e,l,C){this._object=e,this._key=l,this._defaultValue=C,this.__v_isRef=!0}get value(){const e=this._object[this._key];return void 0===e?this._defaultValue:e}set value(e){this._object[this._key]=e}get dep(){return S(Se(this._object),this._key)}}function We(e,l,C){const r=e[l];return De(r)?r:new Ge(e,l,C)}class Ke{constructor(e,l,C,r){this._setter=l,this.dep=void 0,this.__v_isRef=!0,this["__v_isReadonly"]=!1,this._dirty=!0,this.effect=new m(e,(()=>{this._dirty||(this._dirty=!0,qe(this))})),this.effect.computed=this,this.effect.active=this._cacheable=!r,this["__v_isReadonly"]=C}get value(){const e=Se(this);return Ee(e),!e._dirty&&e._cacheable||(e._dirty=!1,e._value=e.effect.run()),e._value}set value(e){this._setter(e)}}function Xe(e,l,C=!1){let t,o;const i=(0,r.mf)(e);i?(t=e,o=r.dG):(t=e.get,o=e.set);const d=new Ke(t,o,i||!o,C);return d}},59835:(e,l,C)=>{"use strict";C.d(l,{$d:()=>i,Ah:()=>Pe,Cn:()=>T,EM:()=>xl,F4:()=>kC,FN:()=>NC,Fl:()=>ir,HY:()=>iC,JJ:()=>Vl,Jd:()=>Se,Ko:()=>Ye,LL:()=>$e,Nv:()=>Ge,Ob:()=>Ze,P$:()=>ie,Q2:()=>Ue,Q6:()=>pe,RC:()=>ve,Rh:()=>Y,Rr:()=>Cl,U2:()=>ne,Uk:()=>AC,Us:()=>zl,WI:()=>We,Wm:()=>bC,Xn:()=>Oe,Y3:()=>g,Y8:()=>Ce,YP:()=>W,_:()=>VC,aZ:()=>fe,bv:()=>Be,dD:()=>_,dG:()=>_C,dl:()=>Me,f3:()=>bl,h:()=>dr,iD:()=>LC,ic:()=>Fe,j4:()=>gC,kq:()=>OC,lR:()=>tC,m0:()=>z,mx:()=>Xe,nJ:()=>te,nK:()=>ae,qG:()=>cC,se:()=>me,uE:()=>BC,up:()=>Ne,w5:()=>E,wF:()=>Ae,wg:()=>pC,wy:()=>ee});var r=C(60499),t=C(86970);function o(e,l,C,r){let t;try{t=r?e(...r):e()}catch(o){d(o,l,C)}return t}function i(e,l,C,r){if((0,t.mf)(e)){const i=o(e,l,C,r);return i&&(0,t.tI)(i)&&i.catch((e=>{d(e,l,C)})),i}const n=[];for(let t=0;t>>1,t=x(a[r]);tp&&a.splice(l,1)}function H(e){(0,t.kJ)(e)?f.push(...e):s&&s.includes(e,e.allowRecurse?v+1:v)||f.push(e),M()}function V(e,l=(c?p+1:0)){for(0;lx(e)-x(l))),v=0;vnull==e.id?1/0:e.id,k=(e,l)=>{const C=x(e)-x(l);if(0===C){if(e.pre&&!l.pre)return-1;if(l.pre&&!e.pre)return 1}return C};function y(e){u=!1,c=!0,a.sort(k);t.dG;try{for(p=0;p(0,t.HD)(e)?e.trim():e))),l&&(o=C.map(t.h5))}let c;let u=r[c=(0,t.hR)(l)]||r[c=(0,t.hR)((0,t._A)(l))];!u&&d&&(u=r[c=(0,t.hR)((0,t.rs)(l))]),u&&i(u,e,6,o);const a=r[c+"Once"];if(a){if(e.emitted){if(e.emitted[c])return}else e.emitted={};e.emitted[c]=!0,i(a,e,6,o)}}function B(e,l,C=!1){const r=l.emitsCache,o=r.get(e);if(void 0!==o)return o;const i=e.emits;let d={},n=!1;if(!(0,t.mf)(e)){const r=e=>{const C=B(e,l,!0);C&&(n=!0,(0,t.l7)(d,C))};!C&&l.mixins.length&&l.mixins.forEach(r),e.extends&&r(e.extends),e.mixins&&e.mixins.forEach(r)}return i||n?((0,t.kJ)(i)?i.forEach((e=>d[e]=null)):(0,t.l7)(d,i),(0,t.Kn)(e)&&r.set(e,d),d):((0,t.Kn)(e)&&r.set(e,null),null)}function O(e,l){return!(!e||!(0,t.F7)(l))&&(l=l.slice(2).replace(/Once$/,""),(0,t.RI)(e,l[0].toLowerCase()+l.slice(1))||(0,t.RI)(e,(0,t.rs)(l))||(0,t.RI)(e,l))}let F=null,S=null;function P(e){const l=F;return F=e,S=e&&e.type.__scopeId||null,l}function _(e){S=e}function T(){S=null}function E(e,l=F,C){if(!l)return e;if(e._n)return e;const r=(...C)=>{r._d&&vC(-1);const t=P(l);let o;try{o=e(...C)}finally{P(t),r._d&&vC(1)}return o};return r._n=!0,r._c=!0,r._d=!0,r}function q(e){const{type:l,vnode:C,proxy:r,withProxy:o,props:i,propsOptions:[n],slots:c,attrs:u,emit:a,render:p,renderCache:f,data:s,setupState:v,ctx:h,inheritAttrs:L}=e;let g,Z;const w=P(e);try{if(4&C.shapeFlag){const e=o||r;g=FC(p.call(e,e,f,i,v,s,h)),Z=u}else{const e=l;0,g=FC(e.length>1?e(i,{attrs:u,slots:c,emit:a}):e(i,null)),Z=l.props?u:D(u)}}catch(m){uC.length=0,d(m,e,1),g=bC(nC)}let M=g;if(Z&&!1!==L){const e=Object.keys(Z),{shapeFlag:l}=M;e.length&&7&l&&(n&&e.some(t.tR)&&(Z=R(Z,n)),M=yC(M,Z))}return C.dirs&&(M=yC(M),M.dirs=M.dirs?M.dirs.concat(C.dirs):C.dirs),C.transition&&(M.transition=C.transition),g=M,P(w),g}const D=e=>{let l;for(const C in e)("class"===C||"style"===C||(0,t.F7)(C))&&((l||(l={}))[C]=e[C]);return l},R=(e,l)=>{const C={};for(const r in e)(0,t.tR)(r)&&r.slice(9)in l||(C[r]=e[r]);return C};function N(e,l,C){const{props:r,children:t,component:o}=e,{props:i,children:d,patchFlag:n}=l,c=o.emitsOptions;if(l.dirs||l.transition)return!0;if(!(C&&n>=0))return!(!t&&!d||d&&d.$stable)||r!==i&&(r?!i||I(r,i,c):!!i);if(1024&n)return!0;if(16&n)return r?I(r,i,c):!!i;if(8&n){const e=l.dynamicProps;for(let l=0;le.__isSuspense;function j(e,l){l&&l.pendingBranch?(0,t.kJ)(e)?l.effects.push(...e):l.effects.push(e):H(e)}function z(e,l){return K(e,null,l)}function Y(e,l){return K(e,null,{flush:"post"})}const G={};function W(e,l,C){return K(e,l,C)}function K(e,l,{immediate:C,deep:d,flush:n,onTrack:c,onTrigger:u}=t.kT){var a;const p=(0,r.nZ)()===(null==(a=RC)?void 0:a.scope)?RC:null;let f,s,v=!1,h=!1;if((0,r.dq)(e)?(f=()=>e.value,v=(0,r.yT)(e)):(0,r.PG)(e)?(f=()=>e,d=!0):(0,t.kJ)(e)?(h=!0,v=e.some((e=>(0,r.PG)(e)||(0,r.yT)(e))),f=()=>e.map((e=>(0,r.dq)(e)?e.value:(0,r.PG)(e)?J(e):(0,t.mf)(e)?o(e,p,2):void 0))):f=(0,t.mf)(e)?l?()=>o(e,p,2):()=>{if(!p||!p.isUnmounted)return s&&s(),i(e,p,3,[g])}:t.dG,l&&d){const e=f;f=()=>J(e())}let L,g=e=>{s=H.onStop=()=>{o(e,p,4)}};if(KC){if(g=t.dG,l?C&&i(l,p,3,[f(),h?[]:void 0,g]):f(),"sync"!==n)return t.dG;{const e=cr();L=e.__watcherHandles||(e.__watcherHandles=[])}}let Z=h?new Array(e.length).fill(G):G;const M=()=>{if(H.active)if(l){const e=H.run();(d||v||(h?e.some(((e,l)=>(0,t.aU)(e,Z[l]))):(0,t.aU)(e,Z)))&&(s&&s(),i(l,p,3,[e,Z===G?void 0:h&&Z[0]===G?[]:Z,g]),Z=e)}else H.run()};let m;M.allowRecurse=!!l,"sync"===n?m=M:"post"===n?m=()=>jl(M,p&&p.suspense):(M.pre=!0,p&&(M.id=p.uid),m=()=>w(M));const H=new r.qq(f,m);l?C?M():Z=H.run():"post"===n?jl(H.run.bind(H),p&&p.suspense):H.run();const V=()=>{H.stop(),p&&p.scope&&(0,t.Od)(p.scope.effects,H)};return L&&L.push(V),V}function X(e,l,C){const r=this.proxy,o=(0,t.HD)(e)?e.includes(".")?Q(r,e):()=>r[e]:e.bind(r,r);let i;(0,t.mf)(l)?i=l:(i=l.handler,C=l);const d=RC;jC(this);const n=K(o,i.bind(r),C);return d?jC(d):zC(),n}function Q(e,l){const C=l.split(".");return()=>{let l=e;for(let e=0;e{J(e,l)}));else if((0,t.PO)(e))for(const C in e)J(e[C],l);return e}function ee(e,l){const C=F;if(null===C)return e;const r=rr(C)||C.proxy,o=e.dirs||(e.dirs=[]);for(let i=0;i{e.isMounted=!0})),Se((()=>{e.isUnmounting=!0})),e}const re=[Function,Array],te={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:re,onEnter:re,onAfterEnter:re,onEnterCancelled:re,onBeforeLeave:re,onLeave:re,onAfterLeave:re,onLeaveCancelled:re,onBeforeAppear:re,onAppear:re,onAfterAppear:re,onAppearCancelled:re},oe={name:"BaseTransition",props:te,setup(e,{slots:l}){const C=NC(),t=Ce();let o;return()=>{const i=l.default&&pe(l.default(),!0);if(!i||!i.length)return;let d=i[0];if(i.length>1){let e=!1;for(const l of i)if(l.type!==nC){0,d=l,e=!0;break}}const n=(0,r.IU)(e),{mode:c}=n;if(t.isLeaving)return ce(d);const u=ue(d);if(!u)return ce(d);const a=ne(u,n,t,C);ae(u,a);const p=C.subTree,f=p&&ue(p);let s=!1;const{getTransitionKey:v}=u.type;if(v){const e=v();void 0===o?o=e:e!==o&&(o=e,s=!0)}if(f&&f.type!==nC&&(!wC(u,f)||s)){const e=ne(f,n,t,C);if(ae(f,e),"out-in"===c)return t.isLeaving=!0,e.afterLeave=()=>{t.isLeaving=!1,!1!==C.update.active&&C.update()},ce(d);"in-out"===c&&u.type!==nC&&(e.delayLeave=(e,l,C)=>{const r=de(t,f);r[String(f.key)]=f,e._leaveCb=()=>{l(),e._leaveCb=void 0,delete a.delayedLeave},a.delayedLeave=C})}return d}}},ie=oe;function de(e,l){const{leavingVNodes:C}=e;let r=C.get(l.type);return r||(r=Object.create(null),C.set(l.type,r)),r}function ne(e,l,C,r){const{appear:o,mode:d,persisted:n=!1,onBeforeEnter:c,onEnter:u,onAfterEnter:a,onEnterCancelled:p,onBeforeLeave:f,onLeave:s,onAfterLeave:v,onLeaveCancelled:h,onBeforeAppear:L,onAppear:g,onAfterAppear:Z,onAppearCancelled:w}=l,M=String(e.key),m=de(C,e),H=(e,l)=>{e&&i(e,r,9,l)},V=(e,l)=>{const C=l[1];H(e,l),(0,t.kJ)(e)?e.every((e=>e.length<=1))&&C():e.length<=1&&C()},b={mode:d,persisted:n,beforeEnter(l){let r=c;if(!C.isMounted){if(!o)return;r=L||c}l._leaveCb&&l._leaveCb(!0);const t=m[M];t&&wC(e,t)&&t.el._leaveCb&&t.el._leaveCb(),H(r,[l])},enter(e){let l=u,r=a,t=p;if(!C.isMounted){if(!o)return;l=g||u,r=Z||a,t=w||p}let i=!1;const d=e._enterCb=l=>{i||(i=!0,H(l?t:r,[e]),b.delayedLeave&&b.delayedLeave(),e._enterCb=void 0)};l?V(l,[e,d]):d()},leave(l,r){const t=String(e.key);if(l._enterCb&&l._enterCb(!0),C.isUnmounting)return r();H(f,[l]);let o=!1;const i=l._leaveCb=C=>{o||(o=!0,r(),H(C?h:v,[l]),l._leaveCb=void 0,m[t]===e&&delete m[t])};m[t]=e,s?V(s,[l,i]):i()},clone(e){return ne(e,l,C,r)}};return b}function ce(e){if(Le(e))return e=yC(e),e.children=null,e}function ue(e){return Le(e)?e.children?e.children[0]:void 0:e}function ae(e,l){6&e.shapeFlag&&e.component?ae(e.component.subTree,l):128&e.shapeFlag?(e.ssContent.transition=l.clone(e.ssContent),e.ssFallback.transition=l.clone(e.ssFallback)):e.transition=l}function pe(e,l=!1,C){let r=[],t=0;for(let o=0;o1)for(let o=0;o(0,t.l7)({name:e.name},l,{setup:e}))():e}const se=e=>!!e.type.__asyncLoader;function ve(e){(0,t.mf)(e)&&(e={loader:e});const{loader:l,loadingComponent:C,errorComponent:o,delay:i=200,timeout:n,suspensible:c=!0,onError:u}=e;let a,p=null,f=0;const s=()=>(f++,p=null,v()),v=()=>{let e;return p||(e=p=l().catch((e=>{if(e=e instanceof Error?e:new Error(String(e)),u)return new Promise(((l,C)=>{const r=()=>l(s()),t=()=>C(e);u(e,r,t,f+1)}));throw e})).then((l=>e!==p&&p?p:(l&&(l.__esModule||"Module"===l[Symbol.toStringTag])&&(l=l.default),a=l,l))))};return fe({name:"AsyncComponentWrapper",__asyncLoader:v,get __asyncResolved(){return a},setup(){const e=RC;if(a)return()=>he(a,e);const l=l=>{p=null,d(l,e,13,!o)};if(c&&e.suspense||KC)return v().then((l=>()=>he(l,e))).catch((e=>(l(e),()=>o?bC(o,{error:e}):null)));const t=(0,r.iH)(!1),u=(0,r.iH)(),f=(0,r.iH)(!!i);return i&&setTimeout((()=>{f.value=!1}),i),null!=n&&setTimeout((()=>{if(!t.value&&!u.value){const e=new Error(`Async component timed out after ${n}ms.`);l(e),u.value=e}}),n),v().then((()=>{t.value=!0,e.parent&&Le(e.parent.vnode)&&w(e.parent.update)})).catch((e=>{l(e),u.value=e})),()=>t.value&&a?he(a,e):u.value&&o?bC(o,{error:u.value}):C&&!f.value?bC(C):void 0}})}function he(e,l){const{ref:C,props:r,children:t,ce:o}=l.vnode,i=bC(e,r,t);return i.ref=C,i.ce=o,delete l.vnode.ce,i}const Le=e=>e.type.__isKeepAlive,ge={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:l}){const C=NC(),r=C.ctx;if(!r.renderer)return()=>{const e=l.default&&l.default();return e&&1===e.length?e[0]:e};const o=new Map,i=new Set;let d=null;const n=C.suspense,{renderer:{p:c,m:u,um:a,o:{createElement:p}}}=r,f=p("div");function s(e){be(e),a(e,C,n,!0)}function v(e){o.forEach(((l,C)=>{const r=tr(l.type);!r||e&&e(r)||h(C)}))}function h(e){const l=o.get(e);d&&wC(l,d)?d&&be(d):s(l),o.delete(e),i.delete(e)}r.activate=(e,l,C,r,o)=>{const i=e.component;u(e,l,C,0,n),c(i.vnode,e,l,C,i,n,r,e.slotScopeIds,o),jl((()=>{i.isDeactivated=!1,i.a&&(0,t.ir)(i.a);const l=e.props&&e.props.onVnodeMounted;l&&TC(l,i.parent,e)}),n)},r.deactivate=e=>{const l=e.component;u(e,f,null,1,n),jl((()=>{l.da&&(0,t.ir)(l.da);const C=e.props&&e.props.onVnodeUnmounted;C&&TC(C,l.parent,e),l.isDeactivated=!0}),n)},W((()=>[e.include,e.exclude]),(([e,l])=>{e&&v((l=>we(e,l))),l&&v((e=>!we(l,e)))}),{flush:"post",deep:!0});let L=null;const g=()=>{null!=L&&o.set(L,xe(C.subTree))};return Be(g),Fe(g),Se((()=>{o.forEach((e=>{const{subTree:l,suspense:r}=C,t=xe(l);if(e.type!==t.type||e.key!==t.key)s(e);else{be(t);const e=t.component.da;e&&jl(e,r)}}))})),()=>{if(L=null,!l.default)return null;const C=l.default(),r=C[0];if(C.length>1)return d=null,C;if(!ZC(r)||!(4&r.shapeFlag)&&!(128&r.shapeFlag))return d=null,r;let t=xe(r);const n=t.type,c=tr(se(t)?t.type.__asyncResolved||{}:n),{include:u,exclude:a,max:p}=e;if(u&&(!c||!we(u,c))||a&&c&&we(a,c))return d=t,r;const f=null==t.key?n:t.key,s=o.get(f);return t.el&&(t=yC(t),128&r.shapeFlag&&(r.ssContent=t)),L=f,s?(t.el=s.el,t.component=s.component,t.transition&&ae(t,t.transition),t.shapeFlag|=512,i.delete(f),i.add(f)):(i.add(f),p&&i.size>parseInt(p,10)&&h(i.values().next().value)),t.shapeFlag|=256,d=t,U(r.type)?r:t}}},Ze=ge;function we(e,l){return(0,t.kJ)(e)?e.some((e=>we(e,l))):(0,t.HD)(e)?e.split(",").includes(l):!!(0,t.Kj)(e)&&e.test(l)}function Me(e,l){He(e,"a",l)}function me(e,l){He(e,"da",l)}function He(e,l,C=RC){const r=e.__wdc||(e.__wdc=()=>{let l=C;while(l){if(l.isDeactivated)return;l=l.parent}return e()});if(ke(l,r,C),C){let e=C.parent;while(e&&e.parent)Le(e.parent.vnode)&&Ve(r,l,C,e),e=e.parent}}function Ve(e,l,C,r){const o=ke(l,e,r,!0);Pe((()=>{(0,t.Od)(r[l],o)}),C)}function be(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function xe(e){return 128&e.shapeFlag?e.ssContent:e}function ke(e,l,C=RC,t=!1){if(C){const o=C[e]||(C[e]=[]),d=l.__weh||(l.__weh=(...t)=>{if(C.isUnmounted)return;(0,r.Jd)(),jC(C);const o=i(l,C,e,t);return zC(),(0,r.lk)(),o});return t?o.unshift(d):o.push(d),d}}const ye=e=>(l,C=RC)=>(!KC||"sp"===e)&&ke(e,((...e)=>l(...e)),C),Ae=ye("bm"),Be=ye("m"),Oe=ye("bu"),Fe=ye("u"),Se=ye("bum"),Pe=ye("um"),_e=ye("sp"),Te=ye("rtg"),Ee=ye("rtc");function qe(e,l=RC){ke("ec",e,l)}const De="components",Re="directives";function Ne(e,l){return je(De,e,!0,l)||e}const Ie=Symbol.for("v-ndc");function $e(e){return(0,t.HD)(e)?je(De,e,!1)||e:e||Ie}function Ue(e){return je(Re,e)}function je(e,l,C=!0,r=!1){const o=F||RC;if(o){const C=o.type;if(e===De){const e=tr(C,!1);if(e&&(e===l||e===(0,t._A)(l)||e===(0,t.kC)((0,t._A)(l))))return C}const i=ze(o[e]||C[e],l)||ze(o.appContext[e],l);return!i&&r?C:i}}function ze(e,l){return e&&(e[l]||e[(0,t._A)(l)]||e[(0,t.kC)((0,t._A)(l))])}function Ye(e,l,C,r){let o;const i=C&&C[r];if((0,t.kJ)(e)||(0,t.HD)(e)){o=new Array(e.length);for(let C=0,r=e.length;Cl(e,C,void 0,i&&i[C])));else{const C=Object.keys(e);o=new Array(C.length);for(let r=0,t=C.length;r{const l=r.fn(...e);return l&&(l.key=r.key),l}:r.fn)}return e}function We(e,l,C={},r,t){if(F.isCE||F.parent&&se(F.parent)&&F.parent.isCE)return"default"!==l&&(C.name=l),bC("slot",C,r&&r());let o=e[l];o&&o._c&&(o._d=!1),pC();const i=o&&Ke(o(C)),d=gC(iC,{key:C.key||i&&i.key||`_${l}`},i||(r?r():[]),i&&1===e._?64:-2);return!t&&d.scopeId&&(d.slotScopeIds=[d.scopeId+"-s"]),o&&o._c&&(o._d=!0),d}function Ke(e){return e.some((e=>!ZC(e)||e.type!==nC&&!(e.type===iC&&!Ke(e.children))))?e:null}function Xe(e,l){const C={};for(const r in e)C[l&&/[A-Z]/.test(r)?`on:${r}`:(0,t.hR)(r)]=e[r];return C}const Qe=e=>e?YC(e)?rr(e)||e.proxy:Qe(e.parent):null,Je=(0,t.l7)(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Qe(e.parent),$root:e=>Qe(e.root),$emit:e=>e.emit,$options:e=>ul(e),$forceUpdate:e=>e.f||(e.f=()=>w(e.update)),$nextTick:e=>e.n||(e.n=g.bind(e.proxy)),$watch:e=>X.bind(e)}),el=(e,l)=>e!==t.kT&&!e.__isScriptSetup&&(0,t.RI)(e,l),ll={get({_:e},l){const{ctx:C,setupState:o,data:i,props:d,accessCache:n,type:c,appContext:u}=e;let a;if("$"!==l[0]){const r=n[l];if(void 0!==r)switch(r){case 1:return o[l];case 2:return i[l];case 4:return C[l];case 3:return d[l]}else{if(el(o,l))return n[l]=1,o[l];if(i!==t.kT&&(0,t.RI)(i,l))return n[l]=2,i[l];if((a=e.propsOptions[0])&&(0,t.RI)(a,l))return n[l]=3,d[l];if(C!==t.kT&&(0,t.RI)(C,l))return n[l]=4,C[l];ol&&(n[l]=0)}}const p=Je[l];let f,s;return p?("$attrs"===l&&(0,r.j)(e,"get",l),p(e)):(f=c.__cssModules)&&(f=f[l])?f:C!==t.kT&&(0,t.RI)(C,l)?(n[l]=4,C[l]):(s=u.config.globalProperties,(0,t.RI)(s,l)?s[l]:void 0)},set({_:e},l,C){const{data:r,setupState:o,ctx:i}=e;return el(o,l)?(o[l]=C,!0):r!==t.kT&&(0,t.RI)(r,l)?(r[l]=C,!0):!(0,t.RI)(e.props,l)&&(("$"!==l[0]||!(l.slice(1)in e))&&(i[l]=C,!0))},has({_:{data:e,setupState:l,accessCache:C,ctx:r,appContext:o,propsOptions:i}},d){let n;return!!C[d]||e!==t.kT&&(0,t.RI)(e,d)||el(l,d)||(n=i[0])&&(0,t.RI)(n,d)||(0,t.RI)(r,d)||(0,t.RI)(Je,d)||(0,t.RI)(o.config.globalProperties,d)},defineProperty(e,l,C){return null!=C.get?e._.accessCache[l]=0:(0,t.RI)(C,"value")&&this.set(e,l,C.value,null),Reflect.defineProperty(e,l,C)}};function Cl(){return rl().slots}function rl(){const e=NC();return e.setupContext||(e.setupContext=Cr(e))}function tl(e){return(0,t.kJ)(e)?e.reduce(((e,l)=>(e[l]=null,e)),{}):e}let ol=!0;function il(e){const l=ul(e),C=e.proxy,o=e.ctx;ol=!1,l.beforeCreate&&nl(l.beforeCreate,e,"bc");const{data:i,computed:d,methods:n,watch:c,provide:u,inject:a,created:p,beforeMount:f,mounted:s,beforeUpdate:v,updated:h,activated:L,deactivated:g,beforeDestroy:Z,beforeUnmount:w,destroyed:M,unmounted:m,render:H,renderTracked:V,renderTriggered:b,errorCaptured:x,serverPrefetch:k,expose:y,inheritAttrs:A,components:B,directives:O,filters:F}=l,S=null;if(a&&dl(a,o,S),n)for(const r in n){const e=n[r];(0,t.mf)(e)&&(o[r]=e.bind(C))}if(i){0;const l=i.call(C,C);0,(0,t.Kn)(l)&&(e.data=(0,r.qj)(l))}if(ol=!0,d)for(const r in d){const e=d[r],l=(0,t.mf)(e)?e.bind(C,C):(0,t.mf)(e.get)?e.get.bind(C,C):t.dG;0;const i=!(0,t.mf)(e)&&(0,t.mf)(e.set)?e.set.bind(C):t.dG,n=ir({get:l,set:i});Object.defineProperty(o,r,{enumerable:!0,configurable:!0,get:()=>n.value,set:e=>n.value=e})}if(c)for(const r in c)cl(c[r],o,C,r);if(u){const e=(0,t.mf)(u)?u.call(C):u;Reflect.ownKeys(e).forEach((l=>{Vl(l,e[l])}))}function P(e,l){(0,t.kJ)(l)?l.forEach((l=>e(l.bind(C)))):l&&e(l.bind(C))}if(p&&nl(p,e,"c"),P(Ae,f),P(Be,s),P(Oe,v),P(Fe,h),P(Me,L),P(me,g),P(qe,x),P(Ee,V),P(Te,b),P(Se,w),P(Pe,m),P(_e,k),(0,t.kJ)(y))if(y.length){const l=e.exposed||(e.exposed={});y.forEach((e=>{Object.defineProperty(l,e,{get:()=>C[e],set:l=>C[e]=l})}))}else e.exposed||(e.exposed={});H&&e.render===t.dG&&(e.render=H),null!=A&&(e.inheritAttrs=A),B&&(e.components=B),O&&(e.directives=O)}function dl(e,l,C=t.dG){(0,t.kJ)(e)&&(e=vl(e));for(const o in e){const C=e[o];let i;i=(0,t.Kn)(C)?"default"in C?bl(C.from||o,C.default,!0):bl(C.from||o):bl(C),(0,r.dq)(i)?Object.defineProperty(l,o,{enumerable:!0,configurable:!0,get:()=>i.value,set:e=>i.value=e}):l[o]=i}}function nl(e,l,C){i((0,t.kJ)(e)?e.map((e=>e.bind(l.proxy))):e.bind(l.proxy),l,C)}function cl(e,l,C,r){const o=r.includes(".")?Q(C,r):()=>C[r];if((0,t.HD)(e)){const C=l[e];(0,t.mf)(C)&&W(o,C)}else if((0,t.mf)(e))W(o,e.bind(C));else if((0,t.Kn)(e))if((0,t.kJ)(e))e.forEach((e=>cl(e,l,C,r)));else{const r=(0,t.mf)(e.handler)?e.handler.bind(C):l[e.handler];(0,t.mf)(r)&&W(o,r,e)}else 0}function ul(e){const l=e.type,{mixins:C,extends:r}=l,{mixins:o,optionsCache:i,config:{optionMergeStrategies:d}}=e.appContext,n=i.get(l);let c;return n?c=n:o.length||C||r?(c={},o.length&&o.forEach((e=>al(c,e,d,!0))),al(c,l,d)):c=l,(0,t.Kn)(l)&&i.set(l,c),c}function al(e,l,C,r=!1){const{mixins:t,extends:o}=l;o&&al(e,o,C,!0),t&&t.forEach((l=>al(e,l,C,!0)));for(const i in l)if(r&&"expose"===i);else{const r=pl[i]||C&&C[i];e[i]=r?r(e[i],l[i]):l[i]}return e}const pl={data:fl,props:gl,emits:gl,methods:Ll,computed:Ll,beforeCreate:hl,created:hl,beforeMount:hl,mounted:hl,beforeUpdate:hl,updated:hl,beforeDestroy:hl,beforeUnmount:hl,destroyed:hl,unmounted:hl,activated:hl,deactivated:hl,errorCaptured:hl,serverPrefetch:hl,components:Ll,directives:Ll,watch:Zl,provide:fl,inject:sl};function fl(e,l){return l?e?function(){return(0,t.l7)((0,t.mf)(e)?e.call(this,this):e,(0,t.mf)(l)?l.call(this,this):l)}:l:e}function sl(e,l){return Ll(vl(e),vl(l))}function vl(e){if((0,t.kJ)(e)){const l={};for(let C=0;C1)return C&&(0,t.mf)(l)?l.call(r&&r.proxy):l}else 0}function xl(){return!!(RC||F||Hl)}function kl(e,l,C,o=!1){const i={},d={};(0,t.Nj)(d,MC,1),e.propsDefaults=Object.create(null),Al(e,l,i,d);for(const r in e.propsOptions[0])r in i||(i[r]=void 0);C?e.props=o?i:(0,r.Um)(i):e.type.props?e.props=i:e.props=d,e.attrs=d}function yl(e,l,C,o){const{props:i,attrs:d,vnode:{patchFlag:n}}=e,c=(0,r.IU)(i),[u]=e.propsOptions;let a=!1;if(!(o||n>0)||16&n){let r;Al(e,l,i,d)&&(a=!0);for(const o in c)l&&((0,t.RI)(l,o)||(r=(0,t.rs)(o))!==o&&(0,t.RI)(l,r))||(u?!C||void 0===C[o]&&void 0===C[r]||(i[o]=Bl(u,c,o,void 0,e,!0)):delete i[o]);if(d!==c)for(const e in d)l&&(0,t.RI)(l,e)||(delete d[e],a=!0)}else if(8&n){const C=e.vnode.dynamicProps;for(let r=0;r{c=!0;const[C,r]=Ol(e,l,!0);(0,t.l7)(d,C),r&&n.push(...r)};!C&&l.mixins.length&&l.mixins.forEach(r),e.extends&&r(e.extends),e.mixins&&e.mixins.forEach(r)}if(!i&&!c)return(0,t.Kn)(e)&&r.set(e,t.Z6),t.Z6;if((0,t.kJ)(i))for(let a=0;a-1,r[1]=C<0||e-1||(0,t.RI)(r,"default"))&&n.push(l)}}}}const u=[d,n];return(0,t.Kn)(e)&&r.set(e,u),u}function Fl(e){return"$"!==e[0]}function Sl(e){const l=e&&e.toString().match(/^\s*(function|class) (\w+)/);return l?l[2]:null===e?"null":""}function Pl(e,l){return Sl(e)===Sl(l)}function _l(e,l){return(0,t.kJ)(l)?l.findIndex((l=>Pl(l,e))):(0,t.mf)(l)&&Pl(l,e)?0:-1}const Tl=e=>"_"===e[0]||"$stable"===e,El=e=>(0,t.kJ)(e)?e.map(FC):[FC(e)],ql=(e,l,C)=>{if(l._n)return l;const r=E(((...e)=>El(l(...e))),C);return r._c=!1,r},Dl=(e,l,C)=>{const r=e._ctx;for(const o in e){if(Tl(o))continue;const C=e[o];if((0,t.mf)(C))l[o]=ql(o,C,r);else if(null!=C){0;const e=El(C);l[o]=()=>e}}},Rl=(e,l)=>{const C=El(l);e.slots.default=()=>C},Nl=(e,l)=>{if(32&e.vnode.shapeFlag){const C=l._;C?(e.slots=(0,r.IU)(l),(0,t.Nj)(l,"_",C)):Dl(l,e.slots={})}else e.slots={},l&&Rl(e,l);(0,t.Nj)(e.slots,MC,1)},Il=(e,l,C)=>{const{vnode:r,slots:o}=e;let i=!0,d=t.kT;if(32&r.shapeFlag){const e=l._;e?C&&1===e?i=!1:((0,t.l7)(o,l),C||1!==e||delete o._):(i=!l.$stable,Dl(l,o)),d=l}else l&&(Rl(e,l),d={default:1});if(i)for(const t in o)Tl(t)||t in d||delete o[t]};function $l(e,l,C,i,d=!1){if((0,t.kJ)(e))return void e.forEach(((e,r)=>$l(e,l&&((0,t.kJ)(l)?l[r]:l),C,i,d)));if(se(i)&&!d)return;const n=4&i.shapeFlag?rr(i.component)||i.component.proxy:i.el,c=d?null:n,{i:u,r:a}=e;const p=l&&l.r,f=u.refs===t.kT?u.refs={}:u.refs,s=u.setupState;if(null!=p&&p!==a&&((0,t.HD)(p)?(f[p]=null,(0,t.RI)(s,p)&&(s[p]=null)):(0,r.dq)(p)&&(p.value=null)),(0,t.mf)(a))o(a,u,12,[c,f]);else{const l=(0,t.HD)(a),o=(0,r.dq)(a);if(l||o){const r=()=>{if(e.f){const C=l?(0,t.RI)(s,a)?s[a]:f[a]:a.value;d?(0,t.kJ)(C)&&(0,t.Od)(C,n):(0,t.kJ)(C)?C.includes(n)||C.push(n):l?(f[a]=[n],(0,t.RI)(s,a)&&(s[a]=f[a])):(a.value=[n],e.k&&(f[e.k]=a.value))}else l?(f[a]=c,(0,t.RI)(s,a)&&(s[a]=c)):o&&(a.value=c,e.k&&(f[e.k]=c))};c?(r.id=-1,jl(r,C)):r()}else 0}}function Ul(){}const jl=j;function zl(e){return Yl(e)}function Yl(e,l){Ul();const C=(0,t.E9)();C.__VUE__=!0;const{insert:o,remove:i,patchProp:d,createElement:n,createText:c,createComment:u,setText:a,setElementText:p,parentNode:f,nextSibling:s,setScopeId:v=t.dG,insertStaticContent:h}=e,L=(e,l,C,r=null,t=null,o=null,i=!1,d=null,n=!!l.dynamicChildren)=>{if(e===l)return;e&&!wC(e,l)&&(r=Q(e),Y(e,t,o,!0),e=null),-2===l.patchFlag&&(n=!1,l.dynamicChildren=null);const{type:c,ref:u,shapeFlag:a}=l;switch(c){case dC:g(e,l,C,r);break;case nC:Z(e,l,C,r);break;case cC:null==e&&M(l,C,r,i);break;case iC:P(e,l,C,r,t,o,i,d,n);break;default:1&a?k(e,l,C,r,t,o,i,d,n):6&a?_(e,l,C,r,t,o,i,d,n):(64&a||128&a)&&c.process(e,l,C,r,t,o,i,d,n,ee)}null!=u&&t&&$l(u,e&&e.ref,o,l||e,!l)},g=(e,l,C,r)=>{if(null==e)o(l.el=c(l.children),C,r);else{const C=l.el=e.el;l.children!==e.children&&a(C,l.children)}},Z=(e,l,C,r)=>{null==e?o(l.el=u(l.children||""),C,r):l.el=e.el},M=(e,l,C,r)=>{[e.el,e.anchor]=h(e.children,l,C,r,e.el,e.anchor)},H=({el:e,anchor:l},C,r)=>{let t;while(e&&e!==l)t=s(e),o(e,C,r),e=t;o(l,C,r)},x=({el:e,anchor:l})=>{let C;while(e&&e!==l)C=s(e),i(e),e=C;i(l)},k=(e,l,C,r,t,o,i,d,n)=>{i=i||"svg"===l.type,null==e?y(l,C,r,t,o,i,d,n):O(e,l,t,o,i,d,n)},y=(e,l,C,r,i,c,u,a)=>{let f,s;const{type:v,props:h,shapeFlag:L,transition:g,dirs:Z}=e;if(f=e.el=n(e.type,c,h&&h.is,h),8&L?p(f,e.children):16&L&&B(e.children,f,null,r,i,c&&"foreignObject"!==v,u,a),Z&&le(e,null,r,"created"),A(f,e,e.scopeId,u,r),h){for(const l in h)"value"===l||(0,t.Gg)(l)||d(f,l,null,h[l],c,e.children,r,i,X);"value"in h&&d(f,"value",null,h.value),(s=h.onVnodeBeforeMount)&&TC(s,r,e)}Z&&le(e,null,r,"beforeMount");const w=(!i||i&&!i.pendingBranch)&&g&&!g.persisted;w&&g.beforeEnter(f),o(f,l,C),((s=h&&h.onVnodeMounted)||w||Z)&&jl((()=>{s&&TC(s,r,e),w&&g.enter(f),Z&&le(e,null,r,"mounted")}),i)},A=(e,l,C,r,t)=>{if(C&&v(e,C),r)for(let o=0;o{for(let c=n;c{const c=l.el=e.el;let{patchFlag:u,dynamicChildren:a,dirs:f}=l;u|=16&e.patchFlag;const s=e.props||t.kT,v=l.props||t.kT;let h;C&&Gl(C,!1),(h=v.onVnodeBeforeUpdate)&&TC(h,C,l,e),f&&le(l,e,C,"beforeUpdate"),C&&Gl(C,!0);const L=o&&"foreignObject"!==l.type;if(a?F(e.dynamicChildren,a,c,C,r,L,i):n||I(e,l,c,null,C,r,L,i,!1),u>0){if(16&u)S(c,l,s,v,C,r,o);else if(2&u&&s.class!==v.class&&d(c,"class",null,v.class,o),4&u&&d(c,"style",s.style,v.style,o),8&u){const t=l.dynamicProps;for(let l=0;l{h&&TC(h,C,l,e),f&&le(l,e,C,"updated")}),r)},F=(e,l,C,r,t,o,i)=>{for(let d=0;d{if(C!==r){if(C!==t.kT)for(const c in C)(0,t.Gg)(c)||c in r||d(e,c,C[c],null,n,l.children,o,i,X);for(const c in r){if((0,t.Gg)(c))continue;const u=r[c],a=C[c];u!==a&&"value"!==c&&d(e,c,a,u,n,l.children,o,i,X)}"value"in r&&d(e,"value",C.value,r.value)}},P=(e,l,C,r,t,i,d,n,u)=>{const a=l.el=e?e.el:c(""),p=l.anchor=e?e.anchor:c("");let{patchFlag:f,dynamicChildren:s,slotScopeIds:v}=l;v&&(n=n?n.concat(v):v),null==e?(o(a,C,r),o(p,C,r),B(l.children,C,p,t,i,d,n,u)):f>0&&64&f&&s&&e.dynamicChildren?(F(e.dynamicChildren,s,C,t,i,d,n),(null!=l.key||t&&l===t.subTree)&&Wl(e,l,!0)):I(e,l,C,p,t,i,d,n,u)},_=(e,l,C,r,t,o,i,d,n)=>{l.slotScopeIds=d,null==e?512&l.shapeFlag?t.ctx.activate(l,C,r,i,n):T(l,C,r,t,o,i,n):E(e,l,n)},T=(e,l,C,r,t,o,i)=>{const d=e.component=DC(e,r,t);if(Le(e)&&(d.ctx.renderer=ee),XC(d),d.asyncDep){if(t&&t.registerDep(d,D),!e.el){const e=d.subTree=bC(nC);Z(null,e,l,C)}}else D(d,e,l,C,t,o,i)},E=(e,l,C)=>{const r=l.component=e.component;if(N(e,l,C)){if(r.asyncDep&&!r.asyncResolved)return void R(r,l,C);r.next=l,m(r.update),r.update()}else l.el=e.el,r.vnode=l},D=(e,l,C,o,i,d,n)=>{const c=()=>{if(e.isMounted){let l,{next:C,bu:r,u:o,parent:c,vnode:u}=e,a=C;0,Gl(e,!1),C?(C.el=u.el,R(e,C,n)):C=u,r&&(0,t.ir)(r),(l=C.props&&C.props.onVnodeBeforeUpdate)&&TC(l,c,C,u),Gl(e,!0);const p=q(e);0;const s=e.subTree;e.subTree=p,L(s,p,f(s.el),Q(s),e,i,d),C.el=p.el,null===a&&$(e,p.el),o&&jl(o,i),(l=C.props&&C.props.onVnodeUpdated)&&jl((()=>TC(l,c,C,u)),i)}else{let r;const{el:n,props:c}=l,{bm:u,m:a,parent:p}=e,f=se(l);if(Gl(e,!1),u&&(0,t.ir)(u),!f&&(r=c&&c.onVnodeBeforeMount)&&TC(r,p,l),Gl(e,!0),n&&re){const C=()=>{e.subTree=q(e),re(n,e.subTree,e,i,null)};f?l.type.__asyncLoader().then((()=>!e.isUnmounted&&C())):C()}else{0;const r=e.subTree=q(e);0,L(null,r,C,o,e,i,d),l.el=r.el}if(a&&jl(a,i),!f&&(r=c&&c.onVnodeMounted)){const e=l;jl((()=>TC(r,p,e)),i)}(256&l.shapeFlag||p&&se(p.vnode)&&256&p.vnode.shapeFlag)&&e.a&&jl(e.a,i),e.isMounted=!0,l=C=o=null}},u=e.effect=new r.qq(c,(()=>w(a)),e.scope),a=e.update=()=>u.run();a.id=e.uid,Gl(e,!0),a()},R=(e,l,C)=>{l.component=e;const t=e.vnode.props;e.vnode=l,e.next=null,yl(e,l.props,t,C),Il(e,l.children,C),(0,r.Jd)(),V(),(0,r.lk)()},I=(e,l,C,r,t,o,i,d,n=!1)=>{const c=e&&e.children,u=e?e.shapeFlag:0,a=l.children,{patchFlag:f,shapeFlag:s}=l;if(f>0){if(128&f)return void j(c,a,C,r,t,o,i,d,n);if(256&f)return void U(c,a,C,r,t,o,i,d,n)}8&s?(16&u&&X(c,t,o),a!==c&&p(C,a)):16&u?16&s?j(c,a,C,r,t,o,i,d,n):X(c,t,o,!0):(8&u&&p(C,""),16&s&&B(a,C,r,t,o,i,d,n))},U=(e,l,C,r,o,i,d,n,c)=>{e=e||t.Z6,l=l||t.Z6;const u=e.length,a=l.length,p=Math.min(u,a);let f;for(f=0;fa?X(e,o,i,!0,!1,p):B(l,C,r,o,i,d,n,c,p)},j=(e,l,C,r,o,i,d,n,c)=>{let u=0;const a=l.length;let p=e.length-1,f=a-1;while(u<=p&&u<=f){const r=e[u],t=l[u]=c?SC(l[u]):FC(l[u]);if(!wC(r,t))break;L(r,t,C,null,o,i,d,n,c),u++}while(u<=p&&u<=f){const r=e[p],t=l[f]=c?SC(l[f]):FC(l[f]);if(!wC(r,t))break;L(r,t,C,null,o,i,d,n,c),p--,f--}if(u>p){if(u<=f){const e=f+1,t=ef)while(u<=p)Y(e[u],o,i,!0),u++;else{const s=u,v=u,h=new Map;for(u=v;u<=f;u++){const e=l[u]=c?SC(l[u]):FC(l[u]);null!=e.key&&h.set(e.key,u)}let g,Z=0;const w=f-v+1;let M=!1,m=0;const H=new Array(w);for(u=0;u=w){Y(r,o,i,!0);continue}let t;if(null!=r.key)t=h.get(r.key);else for(g=v;g<=f;g++)if(0===H[g-v]&&wC(r,l[g])){t=g;break}void 0===t?Y(r,o,i,!0):(H[t-v]=u+1,t>=m?m=t:M=!0,L(r,l[t],C,null,o,i,d,n,c),Z++)}const V=M?Kl(H):t.Z6;for(g=V.length-1,u=w-1;u>=0;u--){const e=v+u,t=l[e],p=e+1{const{el:i,type:d,transition:n,children:c,shapeFlag:u}=e;if(6&u)return void z(e.component.subTree,l,C,r);if(128&u)return void e.suspense.move(l,C,r);if(64&u)return void d.move(e,l,C,ee);if(d===iC){o(i,l,C);for(let e=0;en.enter(i)),t);else{const{leave:e,delayLeave:r,afterLeave:t}=n,d=()=>o(i,l,C),c=()=>{e(i,(()=>{d(),t&&t()}))};r?r(i,d,c):c()}else o(i,l,C)},Y=(e,l,C,r=!1,t=!1)=>{const{type:o,props:i,ref:d,children:n,dynamicChildren:c,shapeFlag:u,patchFlag:a,dirs:p}=e;if(null!=d&&$l(d,null,C,e,!0),256&u)return void l.ctx.deactivate(e);const f=1&u&&p,s=!se(e);let v;if(s&&(v=i&&i.onVnodeBeforeUnmount)&&TC(v,l,e),6&u)K(e.component,C,r);else{if(128&u)return void e.suspense.unmount(C,r);f&&le(e,null,l,"beforeUnmount"),64&u?e.type.remove(e,l,C,t,ee,r):c&&(o!==iC||a>0&&64&a)?X(c,l,C,!1,!0):(o===iC&&384&a||!t&&16&u)&&X(n,l,C),r&&G(e)}(s&&(v=i&&i.onVnodeUnmounted)||f)&&jl((()=>{v&&TC(v,l,e),f&&le(e,null,l,"unmounted")}),C)},G=e=>{const{type:l,el:C,anchor:r,transition:t}=e;if(l===iC)return void W(C,r);if(l===cC)return void x(e);const o=()=>{i(C),t&&!t.persisted&&t.afterLeave&&t.afterLeave()};if(1&e.shapeFlag&&t&&!t.persisted){const{leave:l,delayLeave:r}=t,i=()=>l(C,o);r?r(e.el,o,i):i()}else o()},W=(e,l)=>{let C;while(e!==l)C=s(e),i(e),e=C;i(l)},K=(e,l,C)=>{const{bum:r,scope:o,update:i,subTree:d,um:n}=e;r&&(0,t.ir)(r),o.stop(),i&&(i.active=!1,Y(d,e,l,C)),n&&jl(n,l),jl((()=>{e.isUnmounted=!0}),l),l&&l.pendingBranch&&!l.isUnmounted&&e.asyncDep&&!e.asyncResolved&&e.suspenseId===l.pendingId&&(l.deps--,0===l.deps&&l.resolve())},X=(e,l,C,r=!1,t=!1,o=0)=>{for(let i=o;i6&e.shapeFlag?Q(e.component.subTree):128&e.shapeFlag?e.suspense.next():s(e.anchor||e.el),J=(e,l,C)=>{null==e?l._vnode&&Y(l._vnode,null,null,!0):L(l._vnode||null,e,l,null,null,null,C),V(),b(),l._vnode=e},ee={p:L,um:Y,m:z,r:G,mt:T,mc:B,pc:I,pbc:F,n:Q,o:e};let Ce,re;return l&&([Ce,re]=l(ee)),{render:J,hydrate:Ce,createApp:ml(J,Ce)}}function Gl({effect:e,update:l},C){e.allowRecurse=l.allowRecurse=C}function Wl(e,l,C=!1){const r=e.children,o=l.children;if((0,t.kJ)(r)&&(0,t.kJ)(o))for(let t=0;t>1,e[C[d]]0&&(l[r]=C[o-1]),C[o]=r)}}o=C.length,i=C[o-1];while(o-- >0)C[o]=i,i=l[i];return C}const Xl=e=>e.__isTeleport,Ql=e=>e&&(e.disabled||""===e.disabled),Jl=e=>"undefined"!==typeof SVGElement&&e instanceof SVGElement,eC=(e,l)=>{const C=e&&e.to;if((0,t.HD)(C)){if(l){const e=l(C);return e}return null}return C},lC={__isTeleport:!0,process(e,l,C,r,t,o,i,d,n,c){const{mc:u,pc:a,pbc:p,o:{insert:f,querySelector:s,createText:v,createComment:h}}=c,L=Ql(l.props);let{shapeFlag:g,children:Z,dynamicChildren:w}=l;if(null==e){const e=l.el=v(""),c=l.anchor=v("");f(e,C,r),f(c,C,r);const a=l.target=eC(l.props,s),p=l.targetAnchor=v("");a&&(f(p,a),i=i||Jl(a));const h=(e,l)=>{16&g&&u(Z,e,l,t,o,i,d,n)};L?h(C,c):a&&h(a,p)}else{l.el=e.el;const r=l.anchor=e.anchor,u=l.target=e.target,f=l.targetAnchor=e.targetAnchor,v=Ql(e.props),h=v?C:u,g=v?r:f;if(i=i||Jl(u),w?(p(e.dynamicChildren,w,h,t,o,i,d),Wl(e,l,!0)):n||a(e,l,h,g,t,o,i,d,!1),L)v||CC(l,C,r,c,1);else if((l.props&&l.props.to)!==(e.props&&e.props.to)){const e=l.target=eC(l.props,s);e&&CC(l,e,null,c,0)}else v&&CC(l,u,f,c,1)}oC(l)},remove(e,l,C,r,{um:t,o:{remove:o}},i){const{shapeFlag:d,children:n,anchor:c,targetAnchor:u,target:a,props:p}=e;if(a&&o(u),(i||!Ql(p))&&(o(c),16&d))for(let f=0;f0?aC||t.Z6:null,fC(),sC>0&&aC&&aC.push(e),e}function LC(e,l,C,r,t,o){return hC(VC(e,l,C,r,t,o,!0))}function gC(e,l,C,r,t){return hC(bC(e,l,C,r,t,!0))}function ZC(e){return!!e&&!0===e.__v_isVNode}function wC(e,l){return e.type===l.type&&e.key===l.key}const MC="__vInternal",mC=({key:e})=>null!=e?e:null,HC=({ref:e,ref_key:l,ref_for:C})=>("number"===typeof e&&(e=""+e),null!=e?(0,t.HD)(e)||(0,r.dq)(e)||(0,t.mf)(e)?{i:F,r:e,k:l,f:!!C}:e:null);function VC(e,l=null,C=null,r=0,o=null,i=(e===iC?0:1),d=!1,n=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:l,key:l&&mC(l),ref:l&&HC(l),scopeId:S,slotScopeIds:null,children:C,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:r,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:F};return n?(PC(c,C),128&i&&e.normalize(c)):C&&(c.shapeFlag|=(0,t.HD)(C)?8:16),sC>0&&!d&&aC&&(c.patchFlag>0||6&i)&&32!==c.patchFlag&&aC.push(c),c}const bC=xC;function xC(e,l=null,C=null,o=0,i=null,d=!1){if(e&&e!==Ie||(e=nC),ZC(e)){const r=yC(e,l,!0);return C&&PC(r,C),sC>0&&!d&&aC&&(6&r.shapeFlag?aC[aC.indexOf(e)]=r:aC.push(r)),r.patchFlag|=-2,r}if(or(e)&&(e=e.__vccOpts),l){l=kC(l);let{class:e,style:C}=l;e&&!(0,t.HD)(e)&&(l.class=(0,t.C_)(e)),(0,t.Kn)(C)&&((0,r.X3)(C)&&!(0,t.kJ)(C)&&(C=(0,t.l7)({},C)),l.style=(0,t.j5)(C))}const n=(0,t.HD)(e)?1:U(e)?128:Xl(e)?64:(0,t.Kn)(e)?4:(0,t.mf)(e)?2:0;return VC(e,l,C,o,i,n,d,!0)}function kC(e){return e?(0,r.X3)(e)||MC in e?(0,t.l7)({},e):e:null}function yC(e,l,C=!1){const{props:r,ref:o,patchFlag:i,children:d}=e,n=l?_C(r||{},l):r,c={__v_isVNode:!0,__v_skip:!0,type:e.type,props:n,key:n&&mC(n),ref:l&&l.ref?C&&o?(0,t.kJ)(o)?o.concat(HC(l)):[o,HC(l)]:HC(l):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:d,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:l&&e.type!==iC?-1===i?16:16|i:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&yC(e.ssContent),ssFallback:e.ssFallback&&yC(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c}function AC(e=" ",l=0){return bC(dC,null,e,l)}function BC(e,l){const C=bC(cC,null,e);return C.staticCount=l,C}function OC(e="",l=!1){return l?(pC(),gC(nC,null,e)):bC(nC,null,e)}function FC(e){return null==e||"boolean"===typeof e?bC(nC):(0,t.kJ)(e)?bC(iC,null,e.slice()):"object"===typeof e?SC(e):bC(dC,null,String(e))}function SC(e){return null===e.el&&-1!==e.patchFlag||e.memo?e:yC(e)}function PC(e,l){let C=0;const{shapeFlag:r}=e;if(null==l)l=null;else if((0,t.kJ)(l))C=16;else if("object"===typeof l){if(65&r){const C=l.default;return void(C&&(C._c&&(C._d=!1),PC(e,C()),C._c&&(C._d=!0)))}{C=32;const r=l._;r||MC in l?3===r&&F&&(1===F.slots._?l._=1:(l._=2,e.patchFlag|=1024)):l._ctx=F}}else(0,t.mf)(l)?(l={default:l,_ctx:F},C=32):(l=String(l),64&r?(C=16,l=[AC(l)]):C=8);e.children=l,e.shapeFlag|=C}function _C(...e){const l={};for(let C=0;CRC||F;let IC,$C,UC="__VUE_INSTANCE_SETTERS__";($C=(0,t.E9)()[UC])||($C=(0,t.E9)()[UC]=[]),$C.push((e=>RC=e)),IC=e=>{$C.length>1?$C.forEach((l=>l(e))):$C[0](e)};const jC=e=>{IC(e),e.scope.on()},zC=()=>{RC&&RC.scope.off(),IC(null)};function YC(e){return 4&e.vnode.shapeFlag}let GC,WC,KC=!1;function XC(e,l=!1){KC=l;const{props:C,children:r}=e.vnode,t=YC(e);kl(e,C,t,l),Nl(e,r);const o=t?QC(e,l):void 0;return KC=!1,o}function QC(e,l){const C=e.type;e.accessCache=Object.create(null),e.proxy=(0,r.Xl)(new Proxy(e.ctx,ll));const{setup:i}=C;if(i){const C=e.setupContext=i.length>1?Cr(e):null;jC(e),(0,r.Jd)();const n=o(i,e,0,[e.props,C]);if((0,r.lk)(),zC(),(0,t.tI)(n)){if(n.then(zC,zC),l)return n.then((C=>{JC(e,C,l)})).catch((l=>{d(l,e,0)}));e.asyncDep=n}else JC(e,n,l)}else er(e,l)}function JC(e,l,C){(0,t.mf)(l)?e.type.__ssrInlineRender?e.ssrRender=l:e.render=l:(0,t.Kn)(l)&&(e.setupState=(0,r.WL)(l)),er(e,C)}function er(e,l,C){const o=e.type;if(!e.render){if(!l&&GC&&!o.render){const l=o.template||ul(e).template;if(l){0;const{isCustomElement:C,compilerOptions:r}=e.appContext.config,{delimiters:i,compilerOptions:d}=o,n=(0,t.l7)((0,t.l7)({isCustomElement:C,delimiters:i},r),d);o.render=GC(l,n)}}e.render=o.render||t.dG,WC&&WC(e)}jC(e),(0,r.Jd)(),il(e),(0,r.lk)(),zC()}function lr(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(l,C){return(0,r.j)(e,"get","$attrs"),l[C]}}))}function Cr(e){const l=l=>{e.exposed=l||{}};return{get attrs(){return lr(e)},slots:e.slots,emit:e.emit,expose:l}}function rr(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy((0,r.WL)((0,r.Xl)(e.exposed)),{get(l,C){return C in l?l[C]:C in Je?Je[C](e):void 0},has(e,l){return l in e||l in Je}}))}function tr(e,l=!0){return(0,t.mf)(e)?e.displayName||e.name:e.name||l&&e.__name}function or(e){return(0,t.mf)(e)&&"__vccOpts"in e}const ir=(e,l)=>(0,r.Fl)(e,l,KC);function dr(e,l,C){const r=arguments.length;return 2===r?(0,t.Kn)(l)&&!(0,t.kJ)(l)?ZC(l)?bC(e,null,[l]):bC(e,l):bC(e,null,l):(r>3?C=Array.prototype.slice.call(arguments,2):3===r&&ZC(C)&&(C=[C]),bC(e,l,C))}const nr=Symbol.for("v-scx"),cr=()=>{{const e=bl(nr);return e}};const ur="3.3.4"},61957:(e,l,C)=>{"use strict";C.d(l,{D2:()=>ke,F8:()=>ye,W3:()=>te,YZ:()=>we,bM:()=>he,iM:()=>be,nr:()=>pe,ri:()=>Se,sj:()=>S,uT:()=>q});var r=C(86970),t=C(59835),o=C(60499);const i="http://www.w3.org/2000/svg",d="undefined"!==typeof document?document:null,n=d&&d.createElement("template"),c={insert:(e,l,C)=>{l.insertBefore(e,C||null)},remove:e=>{const l=e.parentNode;l&&l.removeChild(e)},createElement:(e,l,C,r)=>{const t=l?d.createElementNS(i,e):d.createElement(e,C?{is:C}:void 0);return"select"===e&&r&&null!=r.multiple&&t.setAttribute("multiple",r.multiple),t},createText:e=>d.createTextNode(e),createComment:e=>d.createComment(e),setText:(e,l)=>{e.nodeValue=l},setElementText:(e,l)=>{e.textContent=l},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>d.querySelector(e),setScopeId(e,l){e.setAttribute(l,"")},insertStaticContent(e,l,C,r,t,o){const i=C?C.previousSibling:l.lastChild;if(t&&(t===o||t.nextSibling)){while(1)if(l.insertBefore(t.cloneNode(!0),C),t===o||!(t=t.nextSibling))break}else{n.innerHTML=r?`${e}`:e;const t=n.content;if(r){const e=t.firstChild;while(e.firstChild)t.appendChild(e.firstChild);t.removeChild(e)}l.insertBefore(t,C)}return[i?i.nextSibling:l.firstChild,C?C.previousSibling:l.lastChild]}};function u(e,l,C){const r=e._vtc;r&&(l=(l?[l,...r]:[...r]).join(" ")),null==l?e.removeAttribute("class"):C?e.setAttribute("class",l):e.className=l}function a(e,l,C){const t=e.style,o=(0,r.HD)(C);if(C&&!o){if(l&&!(0,r.HD)(l))for(const e in l)null==C[e]&&f(t,e,"");for(const e in C)f(t,e,C[e])}else{const r=t.display;o?l!==C&&(t.cssText=C):l&&e.removeAttribute("style"),"_vod"in e&&(t.display=r)}}const p=/\s*!important$/;function f(e,l,C){if((0,r.kJ)(C))C.forEach((C=>f(e,l,C)));else if(null==C&&(C=""),l.startsWith("--"))e.setProperty(l,C);else{const t=h(e,l);p.test(C)?e.setProperty((0,r.rs)(t),C.replace(p,""),"important"):e[t]=C}}const s=["Webkit","Moz","ms"],v={};function h(e,l){const C=v[l];if(C)return C;let t=(0,r._A)(l);if("filter"!==t&&t in e)return v[l]=t;t=(0,r.kC)(t);for(let r=0;rb||(x.then((()=>b=0)),b=Date.now());function y(e,l){const C=e=>{if(e._vts){if(e._vts<=C.attached)return}else e._vts=Date.now();(0,t.$d)(A(e,C.value),l,5,[e])};return C.value=e,C.attached=k(),C}function A(e,l){if((0,r.kJ)(l)){const C=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{C.call(e),e._stopped=!0},l.map((e=>l=>!l._stopped&&e&&e(l)))}return l}const B=/^on[a-z]/,O=(e,l,C,t,o=!1,i,d,n,c)=>{"class"===l?u(e,t,o):"style"===l?a(e,C,t):(0,r.F7)(l)?(0,r.tR)(l)||m(e,l,C,t,d):("."===l[0]?(l=l.slice(1),1):"^"===l[0]?(l=l.slice(1),0):F(e,l,t,o))?Z(e,l,t,i,d,n,c):("true-value"===l?e._trueValue=t:"false-value"===l&&(e._falseValue=t),g(e,l,t,o))};function F(e,l,C,t){return t?"innerHTML"===l||"textContent"===l||!!(l in e&&B.test(l)&&(0,r.mf)(C)):"spellcheck"!==l&&"draggable"!==l&&"translate"!==l&&("form"!==l&&(("list"!==l||"INPUT"!==e.tagName)&&(("type"!==l||"TEXTAREA"!==e.tagName)&&((!B.test(l)||!(0,r.HD)(C))&&l in e))))}"undefined"!==typeof HTMLElement&&HTMLElement;function S(e){const l=(0,t.FN)();if(!l)return;const C=l.ut=(C=e(l.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${l.uid}"]`)).forEach((e=>_(e,C)))},r=()=>{const r=e(l.proxy);P(l.subTree,r),C(r)};(0,t.Rh)(r),(0,t.bv)((()=>{const e=new MutationObserver(r);e.observe(l.subTree.el.parentNode,{childList:!0}),(0,t.Ah)((()=>e.disconnect()))}))}function P(e,l){if(128&e.shapeFlag){const C=e.suspense;e=C.activeBranch,C.pendingBranch&&!C.isHydrating&&C.effects.push((()=>{P(C.activeBranch,l)}))}while(e.component)e=e.component.subTree;if(1&e.shapeFlag&&e.el)_(e.el,l);else if(e.type===t.HY)e.children.forEach((e=>P(e,l)));else if(e.type===t.qG){let{el:C,anchor:r}=e;while(C){if(_(C,l),C===r)break;C=C.nextSibling}}}function _(e,l){if(1===e.nodeType){const C=e.style;for(const e in l)C.setProperty(`--${e}`,l[e])}}const T="transition",E="animation",q=(e,{slots:l})=>(0,t.h)(t.P$,$(e),l);q.displayName="Transition";const D={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},R=q.props=(0,r.l7)({},t.nJ,D),N=(e,l=[])=>{(0,r.kJ)(e)?e.forEach((e=>e(...l))):e&&e(...l)},I=e=>!!e&&((0,r.kJ)(e)?e.some((e=>e.length>1)):e.length>1);function $(e){const l={};for(const r in e)r in D||(l[r]=e[r]);if(!1===e.css)return l;const{name:C="v",type:t,duration:o,enterFromClass:i=`${C}-enter-from`,enterActiveClass:d=`${C}-enter-active`,enterToClass:n=`${C}-enter-to`,appearFromClass:c=i,appearActiveClass:u=d,appearToClass:a=n,leaveFromClass:p=`${C}-leave-from`,leaveActiveClass:f=`${C}-leave-active`,leaveToClass:s=`${C}-leave-to`}=e,v=U(o),h=v&&v[0],L=v&&v[1],{onBeforeEnter:g,onEnter:Z,onEnterCancelled:w,onLeave:M,onLeaveCancelled:m,onBeforeAppear:H=g,onAppear:V=Z,onAppearCancelled:b=w}=l,x=(e,l,C)=>{Y(e,l?a:n),Y(e,l?u:d),C&&C()},k=(e,l)=>{e._isLeaving=!1,Y(e,p),Y(e,s),Y(e,f),l&&l()},y=e=>(l,C)=>{const r=e?V:Z,o=()=>x(l,e,C);N(r,[l,o]),G((()=>{Y(l,e?c:i),z(l,e?a:n),I(r)||K(l,t,h,o)}))};return(0,r.l7)(l,{onBeforeEnter(e){N(g,[e]),z(e,i),z(e,d)},onBeforeAppear(e){N(H,[e]),z(e,c),z(e,u)},onEnter:y(!1),onAppear:y(!0),onLeave(e,l){e._isLeaving=!0;const C=()=>k(e,l);z(e,p),ee(),z(e,f),G((()=>{e._isLeaving&&(Y(e,p),z(e,s),I(M)||K(e,t,L,C))})),N(M,[e,C])},onEnterCancelled(e){x(e,!1),N(w,[e])},onAppearCancelled(e){x(e,!0),N(b,[e])},onLeaveCancelled(e){k(e),N(m,[e])}})}function U(e){if(null==e)return null;if((0,r.Kn)(e))return[j(e.enter),j(e.leave)];{const l=j(e);return[l,l]}}function j(e){const l=(0,r.He)(e);return l}function z(e,l){l.split(/\s+/).forEach((l=>l&&e.classList.add(l))),(e._vtc||(e._vtc=new Set)).add(l)}function Y(e,l){l.split(/\s+/).forEach((l=>l&&e.classList.remove(l)));const{_vtc:C}=e;C&&(C.delete(l),C.size||(e._vtc=void 0))}function G(e){requestAnimationFrame((()=>{requestAnimationFrame(e)}))}let W=0;function K(e,l,C,r){const t=e._endId=++W,o=()=>{t===e._endId&&r()};if(C)return setTimeout(o,C);const{type:i,timeout:d,propCount:n}=X(e,l);if(!i)return r();const c=i+"end";let u=0;const a=()=>{e.removeEventListener(c,p),o()},p=l=>{l.target===e&&++u>=n&&a()};setTimeout((()=>{u(C[e]||"").split(", "),t=r(`${T}Delay`),o=r(`${T}Duration`),i=Q(t,o),d=r(`${E}Delay`),n=r(`${E}Duration`),c=Q(d,n);let u=null,a=0,p=0;l===T?i>0&&(u=T,a=i,p=o.length):l===E?c>0&&(u=E,a=c,p=n.length):(a=Math.max(i,c),u=a>0?i>c?T:E:null,p=u?u===T?o.length:n.length:0);const f=u===T&&/\b(transform|all)(,|$)/.test(r(`${T}Property`).toString());return{type:u,timeout:a,propCount:p,hasTransform:f}}function Q(e,l){while(e.lengthJ(l)+J(e[C]))))}function J(e){return 1e3*Number(e.slice(0,-1).replace(",","."))}function ee(){return document.body.offsetHeight}const le=new WeakMap,Ce=new WeakMap,re={name:"TransitionGroup",props:(0,r.l7)({},R,{tag:String,moveClass:String}),setup(e,{slots:l}){const C=(0,t.FN)(),r=(0,t.Y8)();let i,d;return(0,t.ic)((()=>{if(!i.length)return;const l=e.moveClass||`${e.name||"v"}-move`;if(!ne(i[0].el,C.vnode.el,l))return;i.forEach(oe),i.forEach(ie);const r=i.filter(de);ee(),r.forEach((e=>{const C=e.el,r=C.style;z(C,l),r.transform=r.webkitTransform=r.transitionDuration="";const t=C._moveCb=e=>{e&&e.target!==C||e&&!/transform$/.test(e.propertyName)||(C.removeEventListener("transitionend",t),C._moveCb=null,Y(C,l))};C.addEventListener("transitionend",t)}))})),()=>{const n=(0,o.IU)(e),c=$(n);let u=n.tag||t.HY;i=d,d=l.default?(0,t.Q6)(l.default()):[];for(let e=0;e{e.split(/\s+/).forEach((e=>e&&r.classList.remove(e)))})),C.split(/\s+/).forEach((e=>e&&r.classList.add(e))),r.style.display="none";const t=1===l.nodeType?l:l.parentNode;t.appendChild(r);const{hasTransform:o}=X(r);return t.removeChild(r),o}const ce=e=>{const l=e.props["onUpdate:modelValue"]||!1;return(0,r.kJ)(l)?e=>(0,r.ir)(l,e):l};function ue(e){e.target.composing=!0}function ae(e){const l=e.target;l.composing&&(l.composing=!1,l.dispatchEvent(new Event("input")))}const pe={created(e,{modifiers:{lazy:l,trim:C,number:t}},o){e._assign=ce(o);const i=t||o.props&&"number"===o.props.type;w(e,l?"change":"input",(l=>{if(l.target.composing)return;let t=e.value;C&&(t=t.trim()),i&&(t=(0,r.h5)(t)),e._assign(t)})),C&&w(e,"change",(()=>{e.value=e.value.trim()})),l||(w(e,"compositionstart",ue),w(e,"compositionend",ae),w(e,"change",ae))},mounted(e,{value:l}){e.value=null==l?"":l},beforeUpdate(e,{value:l,modifiers:{lazy:C,trim:t,number:o}},i){if(e._assign=ce(i),e.composing)return;if(document.activeElement===e&&"range"!==e.type){if(C)return;if(t&&e.value.trim()===l)return;if((o||"number"===e.type)&&(0,r.h5)(e.value)===l)return}const d=null==l?"":l;e.value!==d&&(e.value=d)}},fe={deep:!0,created(e,l,C){e._assign=ce(C),w(e,"change",(()=>{const l=e._modelValue,C=ge(e),t=e.checked,o=e._assign;if((0,r.kJ)(l)){const e=(0,r.hq)(l,C),i=-1!==e;if(t&&!i)o(l.concat(C));else if(!t&&i){const C=[...l];C.splice(e,1),o(C)}}else if((0,r.DM)(l)){const e=new Set(l);t?e.add(C):e.delete(C),o(e)}else o(Ze(e,t))}))},mounted:se,beforeUpdate(e,l,C){e._assign=ce(C),se(e,l,C)}};function se(e,{value:l,oldValue:C},t){e._modelValue=l,(0,r.kJ)(l)?e.checked=(0,r.hq)(l,t.props.value)>-1:(0,r.DM)(l)?e.checked=l.has(t.props.value):l!==C&&(e.checked=(0,r.WV)(l,Ze(e,!0)))}const ve={created(e,{value:l},C){e.checked=(0,r.WV)(l,C.props.value),e._assign=ce(C),w(e,"change",(()=>{e._assign(ge(e))}))},beforeUpdate(e,{value:l,oldValue:C},t){e._assign=ce(t),l!==C&&(e.checked=(0,r.WV)(l,t.props.value))}},he={deep:!0,created(e,{value:l,modifiers:{number:C}},t){const o=(0,r.DM)(l);w(e,"change",(()=>{const l=Array.prototype.filter.call(e.options,(e=>e.selected)).map((e=>C?(0,r.h5)(ge(e)):ge(e)));e._assign(e.multiple?o?new Set(l):l:l[0])})),e._assign=ce(t)},mounted(e,{value:l}){Le(e,l)},beforeUpdate(e,l,C){e._assign=ce(C)},updated(e,{value:l}){Le(e,l)}};function Le(e,l){const C=e.multiple;if(!C||(0,r.kJ)(l)||(0,r.DM)(l)){for(let t=0,o=e.options.length;t-1:o.selected=l.has(i);else if((0,r.WV)(ge(o),l))return void(e.selectedIndex!==t&&(e.selectedIndex=t))}C||-1===e.selectedIndex||(e.selectedIndex=-1)}}function ge(e){return"_value"in e?e._value:e.value}function Ze(e,l){const C=l?"_trueValue":"_falseValue";return C in e?e[C]:l}const we={created(e,l,C){me(e,l,C,null,"created")},mounted(e,l,C){me(e,l,C,null,"mounted")},beforeUpdate(e,l,C,r){me(e,l,C,r,"beforeUpdate")},updated(e,l,C,r){me(e,l,C,r,"updated")}};function Me(e,l){switch(e){case"SELECT":return he;case"TEXTAREA":return pe;default:switch(l){case"checkbox":return fe;case"radio":return ve;default:return pe}}}function me(e,l,C,r,t){const o=Me(e.tagName,C.props&&C.props.type),i=o[t];i&&i(e,l,C,r)}const He=["ctrl","shift","alt","meta"],Ve={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&0!==e.button,middle:e=>"button"in e&&1!==e.button,right:e=>"button"in e&&2!==e.button,exact:(e,l)=>He.some((C=>e[`${C}Key`]&&!l.includes(C)))},be=(e,l)=>(C,...r)=>{for(let e=0;eC=>{if(!("key"in C))return;const t=(0,r.rs)(C.key);return l.some((e=>e===t||xe[e]===t))?e(C):void 0},ye={beforeMount(e,{value:l},{transition:C}){e._vod="none"===e.style.display?"":e.style.display,C&&l?C.beforeEnter(e):Ae(e,l)},mounted(e,{value:l},{transition:C}){C&&l&&C.enter(e)},updated(e,{value:l,oldValue:C},{transition:r}){!l!==!C&&(r?l?(r.beforeEnter(e),Ae(e,!0),r.enter(e)):r.leave(e,(()=>{Ae(e,!1)})):Ae(e,l))},beforeUnmount(e,{value:l}){Ae(e,l)}};function Ae(e,l){e.style.display=l?e._vod:"none"}const Be=(0,r.l7)({patchProp:O},c);let Oe;function Fe(){return Oe||(Oe=(0,t.Us)(Be))}const Se=(...e)=>{const l=Fe().createApp(...e);const{mount:C}=l;return l.mount=e=>{const t=Pe(e);if(!t)return;const o=l._component;(0,r.mf)(o)||o.render||o.template||(o.template=t.innerHTML),t.innerHTML="";const i=C(t,!1,t instanceof SVGElement);return t instanceof Element&&(t.removeAttribute("v-cloak"),t.setAttribute("data-v-app","")),i},l};function Pe(e){if((0,r.HD)(e)){const l=document.querySelector(e);return l}return e}},86970:(e,l,C)=>{"use strict";function r(e,l){const C=Object.create(null),r=e.split(",");for(let t=0;t!!C[e.toLowerCase()]:e=>!!C[e]}C.d(l,{C_:()=>Q,DM:()=>L,E9:()=>U,F7:()=>c,Gg:()=>B,HD:()=>M,He:()=>I,Kj:()=>Z,Kn:()=>H,NO:()=>d,Nj:()=>R,Od:()=>p,PO:()=>y,Pq:()=>le,RI:()=>s,S0:()=>A,W7:()=>k,WV:()=>te,Z6:()=>o,_A:()=>S,_N:()=>h,aU:()=>q,dG:()=>i,e1:()=>z,fY:()=>r,h5:()=>N,hR:()=>E,hq:()=>oe,ir:()=>D,j5:()=>Y,kC:()=>T,kJ:()=>v,kT:()=>t,l7:()=>a,mf:()=>w,rs:()=>_,tI:()=>V,tR:()=>u,vs:()=>J,yA:()=>Ce,yk:()=>m,zw:()=>ie});const t={},o=[],i=()=>{},d=()=>!1,n=/^on[^a-z]/,c=e=>n.test(e),u=e=>e.startsWith("onUpdate:"),a=Object.assign,p=(e,l)=>{const C=e.indexOf(l);C>-1&&e.splice(C,1)},f=Object.prototype.hasOwnProperty,s=(e,l)=>f.call(e,l),v=Array.isArray,h=e=>"[object Map]"===x(e),L=e=>"[object Set]"===x(e),g=e=>"[object Date]"===x(e),Z=e=>"[object RegExp]"===x(e),w=e=>"function"===typeof e,M=e=>"string"===typeof e,m=e=>"symbol"===typeof e,H=e=>null!==e&&"object"===typeof e,V=e=>H(e)&&w(e.then)&&w(e.catch),b=Object.prototype.toString,x=e=>b.call(e),k=e=>x(e).slice(8,-1),y=e=>"[object Object]"===x(e),A=e=>M(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,B=r(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),O=e=>{const l=Object.create(null);return C=>{const r=l[C];return r||(l[C]=e(C))}},F=/-(\w)/g,S=O((e=>e.replace(F,((e,l)=>l?l.toUpperCase():"")))),P=/\B([A-Z])/g,_=O((e=>e.replace(P,"-$1").toLowerCase())),T=O((e=>e.charAt(0).toUpperCase()+e.slice(1))),E=O((e=>e?`on${T(e)}`:"")),q=(e,l)=>!Object.is(e,l),D=(e,l)=>{for(let C=0;C{Object.defineProperty(e,l,{configurable:!0,enumerable:!1,value:C})},N=e=>{const l=parseFloat(e);return isNaN(l)?e:l},I=e=>{const l=M(e)?Number(e):NaN;return isNaN(l)?e:l};let $;const U=()=>$||($="undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self?self:"undefined"!==typeof window?window:"undefined"!==typeof C.g?C.g:{});const j="Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console",z=r(j);function Y(e){if(v(e)){const l={};for(let C=0;C{if(e){const C=e.split(W);C.length>1&&(l[C[0].trim()]=C[1].trim())}})),l}function Q(e){let l="";if(M(e))l=e;else if(v(e))for(let C=0;Cte(e,l)))}const ie=e=>M(e)?e:null==e?"":v(e)||H(e)&&(e.toString===b||!w(e.toString))?JSON.stringify(e,de,2):String(e),de=(e,l)=>l&&l.__v_isRef?de(e,l.value):h(l)?{[`Map(${l.size})`]:[...l.entries()].reduce(((e,[l,C])=>(e[`${l} =>`]=C,e)),{})}:L(l)?{[`Set(${l.size})`]:[...l.values()]}:!H(l)||v(l)||y(l)?l:String(l)},61357:(e,l,C)=>{"use strict";C.d(l,{Z:()=>n});var r=C(59835),t=C(22857),o=C(20244),i=C(65987),d=C(22026);const n=(0,i.L)({name:"QAvatar",props:{...o.LU,fontSize:String,color:String,textColor:String,icon:String,square:Boolean,rounded:Boolean},setup(e,{slots:l}){const C=(0,o.ZP)(e),i=(0,r.Fl)((()=>"q-avatar"+(e.color?` bg-${e.color}`:"")+(e.textColor?` text-${e.textColor} q-chip--colored`:"")+(!0===e.square?" q-avatar--square":!0===e.rounded?" rounded-borders":""))),n=(0,r.Fl)((()=>e.fontSize?{fontSize:e.fontSize}:null));return()=>{const o=void 0!==e.icon?[(0,r.h)(t.Z,{name:e.icon})]:void 0;return(0,r.h)("div",{class:i.value,style:C.value},[(0,r.h)("div",{class:"q-avatar__content row flex-center overflow-hidden",style:n.value},(0,d.pf)(l.default,o))])}}})},20990:(e,l,C)=>{"use strict";C.d(l,{Z:()=>d});var r=C(59835),t=C(65987),o=C(22026);const i=["top","middle","bottom"],d=(0,t.L)({name:"QBadge",props:{color:String,textColor:String,floating:Boolean,transparent:Boolean,multiLine:Boolean,outline:Boolean,rounded:Boolean,label:[Number,String],align:{type:String,validator:e=>i.includes(e)}},setup(e,{slots:l}){const C=(0,r.Fl)((()=>void 0!==e.align?{verticalAlign:e.align}:null)),t=(0,r.Fl)((()=>{const l=!0===e.outline&&e.color||e.textColor;return`q-badge flex inline items-center no-wrap q-badge--${!0===e.multiLine?"multi":"single"}-line`+(!0===e.outline?" q-badge--outline":void 0!==e.color?` bg-${e.color}`:"")+(void 0!==l?` text-${l}`:"")+(!0===e.floating?" q-badge--floating":"")+(!0===e.rounded?" q-badge--rounded":"")+(!0===e.transparent?" q-badge--transparent":"")}));return()=>(0,r.h)("div",{class:t.value,style:C.value,role:"status","aria-label":e.label},(0,o.vs)(l.default,void 0!==e.label?[e.label]:[]))}})},72605:(e,l,C)=>{"use strict";C.d(l,{Z:()=>c});C(69665);var r=C(59835),t=C(65065),o=C(65987),i=C(22026),d=C(52046);const n=["",!0],c=(0,o.L)({name:"QBreadcrumbs",props:{...t.jO,separator:{type:String,default:"/"},separatorColor:String,activeColor:{type:String,default:"primary"},gutter:{type:String,validator:e=>["none","xs","sm","md","lg","xl"].includes(e),default:"sm"}},setup(e,{slots:l}){const C=(0,t.ZP)(e),o=(0,r.Fl)((()=>`flex items-center ${C.value}${"none"===e.gutter?"":` q-gutter-${e.gutter}`}`)),c=(0,r.Fl)((()=>e.separatorColor?` text-${e.separatorColor}`:"")),u=(0,r.Fl)((()=>` text-${e.activeColor}`));return()=>{const C=(0,d.Pf)((0,i.KR)(l.default));if(0===C.length)return;let t=1;const a=[],p=C.filter((e=>void 0!==e.type&&"QBreadcrumbsEl"===e.type.name)).length,f=void 0!==l.separator?l.separator:()=>e.separator;return C.forEach((e=>{if(void 0!==e.type&&"QBreadcrumbsEl"===e.type.name){const l=t{"use strict";C.d(l,{Z:()=>n});C(69665);var r=C(59835),t=C(22857),o=C(65987),i=C(22026),d=C(70945);const n=(0,o.L)({name:"QBreadcrumbsEl",props:{...d.$,label:String,icon:String,tag:{type:String,default:"span"}},emits:["click"],setup(e,{slots:l}){const{linkTag:C,linkAttrs:o,linkClass:n,navigateOnClick:c}=(0,d.Z)(),u=(0,r.Fl)((()=>({class:"q-breadcrumbs__el q-link flex inline items-center relative-position "+(!0!==e.disable?"q-link--focusable"+n.value:"q-breadcrumbs__el--disable"),...o.value,onClick:c}))),a=(0,r.Fl)((()=>"q-breadcrumbs__el-icon"+(void 0!==e.label?" q-breadcrumbs__el-icon--with-label":"")));return()=>{const o=[];return void 0!==e.icon&&o.push((0,r.h)(t.Z,{class:a.value,name:e.icon})),void 0!==e.label&&o.push(e.label),(0,r.h)(C.value,{...u.value},(0,i.vs)(l.default,o))}}})},68879:(e,l,C)=>{"use strict";C.d(l,{Z:()=>g});C(69665);var r=C(59835),t=C(60499),o=C(61957),i=C(22857),d=C(13902),n=C(51136),c=C(36073),u=C(65987),a=C(22026),p=C(91384),f=C(61705);const{passiveCapture:s}=p.listenOpts;let v=null,h=null,L=null;const g=(0,u.L)({name:"QBtn",props:{...c.b7,percentage:Number,darkPercentage:Boolean,onTouchstart:[Function,Array]},emits:["click","keydown","mousedown","keyup"],setup(e,{slots:l,emit:C}){const{proxy:u}=(0,r.FN)(),{classes:g,style:Z,innerClasses:w,attributes:M,hasLink:m,linkTag:H,navigateOnClick:V,isActionable:b}=(0,c.ZP)(e),x=(0,t.iH)(null),k=(0,t.iH)(null);let y,A=null,B=null;const O=(0,r.Fl)((()=>void 0!==e.label&&null!==e.label&&""!==e.label)),F=(0,r.Fl)((()=>!0!==e.disable&&!1!==e.ripple&&{keyCodes:!0===m.value?[13,32]:[13],...!0===e.ripple?{}:e.ripple})),S=(0,r.Fl)((()=>({center:e.round}))),P=(0,r.Fl)((()=>{const l=Math.max(0,Math.min(100,e.percentage));return l>0?{transition:"transform 0.6s",transform:`translateX(${l-100}%)`}:{}})),_=(0,r.Fl)((()=>{if(!0===e.loading)return{onMousedown:$,onTouchstart:$,onClick:$,onKeydown:$,onKeyup:$};if(!0===b.value){const l={onClick:E,onKeydown:q,onMousedown:R};if(!0===u.$q.platform.has.touch){const C=void 0!==e.onTouchstart?"":"Passive";l[`onTouchstart${C}`]=D}return l}return{onClick:p.NS}})),T=(0,r.Fl)((()=>({ref:x,class:"q-btn q-btn-item non-selectable no-outline "+g.value,style:Z.value,...M.value,..._.value})));function E(l){if(null!==x.value){if(void 0!==l){if(!0===l.defaultPrevented)return;const C=document.activeElement;if("submit"===e.type&&C!==document.body&&!1===x.value.contains(C)&&!1===C.contains(x.value)){x.value.focus();const e=()=>{document.removeEventListener("keydown",p.NS,!0),document.removeEventListener("keyup",e,s),null!==x.value&&x.value.removeEventListener("blur",e,s)};document.addEventListener("keydown",p.NS,!0),document.addEventListener("keyup",e,s),x.value.addEventListener("blur",e,s)}}V(l)}}function q(e){null!==x.value&&(C("keydown",e),!0===(0,f.So)(e,[13,32])&&h!==x.value&&(null!==h&&I(),!0!==e.defaultPrevented&&(x.value.focus(),h=x.value,x.value.classList.add("q-btn--active"),document.addEventListener("keyup",N,!0),x.value.addEventListener("blur",N,s)),(0,p.NS)(e)))}function D(e){null!==x.value&&(C("touchstart",e),!0!==e.defaultPrevented&&(v!==x.value&&(null!==v&&I(),v=x.value,A=e.target,A.addEventListener("touchcancel",N,s),A.addEventListener("touchend",N,s)),y=!0,null!==B&&clearTimeout(B),B=setTimeout((()=>{B=null,y=!1}),200)))}function R(e){null!==x.value&&(e.qSkipRipple=!0===y,C("mousedown",e),!0!==e.defaultPrevented&&L!==x.value&&(null!==L&&I(),L=x.value,x.value.classList.add("q-btn--active"),document.addEventListener("mouseup",N,s)))}function N(e){if(null!==x.value&&(void 0===e||"blur"!==e.type||document.activeElement!==x.value)){if(void 0!==e&&"keyup"===e.type){if(h===x.value&&!0===(0,f.So)(e,[13,32])){const l=new MouseEvent("click",e);l.qKeyEvent=!0,!0===e.defaultPrevented&&(0,p.X$)(l),!0===e.cancelBubble&&(0,p.sT)(l),x.value.dispatchEvent(l),(0,p.NS)(e),e.qKeyEvent=!0}C("keyup",e)}I()}}function I(e){const l=k.value;!0===e||v!==x.value&&L!==x.value||null===l||l===document.activeElement||(l.setAttribute("tabindex",-1),l.focus()),v===x.value&&(null!==A&&(A.removeEventListener("touchcancel",N,s),A.removeEventListener("touchend",N,s)),v=A=null),L===x.value&&(document.removeEventListener("mouseup",N,s),L=null),h===x.value&&(document.removeEventListener("keyup",N,!0),null!==x.value&&x.value.removeEventListener("blur",N,s),h=null),null!==x.value&&x.value.classList.remove("q-btn--active")}function $(e){(0,p.NS)(e),e.qSkipRipple=!0}return(0,r.Jd)((()=>{I(!0)})),Object.assign(u,{click:E}),()=>{let C=[];void 0!==e.icon&&C.push((0,r.h)(i.Z,{name:e.icon,left:!1===e.stack&&!0===O.value,role:"img","aria-hidden":"true"})),!0===O.value&&C.push((0,r.h)("span",{class:"block"},[e.label])),C=(0,a.vs)(l.default,C),void 0!==e.iconRight&&!1===e.round&&C.push((0,r.h)(i.Z,{name:e.iconRight,right:!1===e.stack&&!0===O.value,role:"img","aria-hidden":"true"}));const t=[(0,r.h)("span",{class:"q-focus-helper",ref:k})];return!0===e.loading&&void 0!==e.percentage&&t.push((0,r.h)("span",{class:"q-btn__progress absolute-full overflow-hidden"+(!0===e.darkPercentage?" q-btn__progress--dark":"")},[(0,r.h)("span",{class:"q-btn__progress-indicator fit block",style:P.value})])),t.push((0,r.h)("span",{class:"q-btn__content text-center col items-center q-anchor--skip "+w.value},C)),null!==e.loading&&t.push((0,r.h)(o.uT,{name:"q-transition--fade"},(()=>!0===e.loading?[(0,r.h)("span",{key:"loading",class:"absolute-full flex flex-center"},void 0!==l.loading?l.loading():[(0,r.h)(d.Z)])]:null))),(0,r.wy)((0,r.h)(H.value,T.value,t),[[n.Z,F.value,void 0,S.value]])}}})},36073:(e,l,C)=>{"use strict";C.d(l,{ZP:()=>v,_V:()=>f,b7:()=>s});C(69665);var r=C(59835),t=C(65065),o=C(20244),i=C(70945);const d={none:0,xs:4,sm:8,md:16,lg:24,xl:32},n={xs:8,sm:10,md:14,lg:20,xl:24},c=["button","submit","reset"],u=/[^\s]\/[^\s]/,a=["flat","outline","push","unelevated"],p=(e,l)=>!0===e.flat?"flat":!0===e.outline?"outline":!0===e.push?"push":!0===e.unelevated?"unelevated":l,f=e=>{const l=p(e);return void 0!==l?{[l]:!0}:{}},s={...o.LU,...i.$,type:{type:String,default:"button"},label:[Number,String],icon:String,iconRight:String,...a.reduce(((e,l)=>(e[l]=Boolean)&&e),{}),square:Boolean,round:Boolean,rounded:Boolean,glossy:Boolean,size:String,fab:Boolean,fabMini:Boolean,padding:String,color:String,textColor:String,noCaps:Boolean,noWrap:Boolean,dense:Boolean,tabindex:[Number,String],ripple:{type:[Boolean,Object],default:!0},align:{...t.jO.align,default:"center"},stack:Boolean,stretch:Boolean,loading:{type:Boolean,default:null},disable:Boolean};function v(e){const l=(0,o.ZP)(e,n),C=(0,t.ZP)(e),{hasRouterLink:a,hasLink:f,linkTag:s,linkAttrs:v,navigateOnClick:h}=(0,i.Z)({fallbackTag:"button"}),L=(0,r.Fl)((()=>{const C=!1===e.fab&&!1===e.fabMini?l.value:{};return void 0!==e.padding?Object.assign({},C,{padding:e.padding.split(/\s+/).map((e=>e in d?d[e]+"px":e)).join(" "),minWidth:"0",minHeight:"0"}):C})),g=(0,r.Fl)((()=>!0===e.rounded||!0===e.fab||!0===e.fabMini)),Z=(0,r.Fl)((()=>!0!==e.disable&&!0!==e.loading)),w=(0,r.Fl)((()=>!0===Z.value?e.tabindex||0:-1)),M=(0,r.Fl)((()=>p(e,"standard"))),m=(0,r.Fl)((()=>{const l={tabindex:w.value};return!0===f.value?Object.assign(l,v.value):!0===c.includes(e.type)&&(l.type=e.type),"a"===s.value?(!0===e.disable?l["aria-disabled"]="true":void 0===l.href&&(l.role="button"),!0!==a.value&&!0===u.test(e.type)&&(l.type=e.type)):!0===e.disable&&(l.disabled="",l["aria-disabled"]="true"),!0===e.loading&&void 0!==e.percentage&&Object.assign(l,{role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":e.percentage}),l})),H=(0,r.Fl)((()=>{let l;void 0!==e.color?l=!0===e.flat||!0===e.outline?`text-${e.textColor||e.color}`:`bg-${e.color} text-${e.textColor||"white"}`:e.textColor&&(l=`text-${e.textColor}`);const C=!0===e.round?"round":"rectangle"+(!0===g.value?" q-btn--rounded":!0===e.square?" q-btn--square":"");return`q-btn--${M.value} q-btn--${C}`+(void 0!==l?" "+l:"")+(!0===Z.value?" q-btn--actionable q-focusable q-hoverable":!0===e.disable?" disabled":"")+(!0===e.fab?" q-btn--fab":!0===e.fabMini?" q-btn--fab-mini":"")+(!0===e.noCaps?" q-btn--no-uppercase":"")+(!0===e.dense?" q-btn--dense":"")+(!0===e.stretch?" no-border-radius self-stretch":"")+(!0===e.glossy?" glossy":"")+(e.square?" q-btn--square":"")})),V=(0,r.Fl)((()=>C.value+(!0===e.stack?" column":" row")+(!0===e.noWrap?" no-wrap text-no-wrap":"")+(!0===e.loading?" q-btn__content--hidden":"")));return{classes:H,style:L,innerClasses:V,attributes:m,hasLink:f,linkTag:s,navigateOnClick:h,isActionable:Z}}},44458:(e,l,C)=>{"use strict";C.d(l,{Z:()=>d});var r=C(59835),t=C(68234),o=C(65987),i=C(22026);const d=(0,o.L)({name:"QCard",props:{...t.S,tag:{type:String,default:"div"},square:Boolean,flat:Boolean,bordered:Boolean},setup(e,{slots:l}){const{proxy:{$q:C}}=(0,r.FN)(),o=(0,t.Z)(e,C),d=(0,r.Fl)((()=>"q-card"+(!0===o.value?" q-card--dark q-dark":"")+(!0===e.bordered?" q-card--bordered":"")+(!0===e.square?" q-card--square no-border-radius":"")+(!0===e.flat?" q-card--flat no-shadow":"")));return()=>(0,r.h)(e.tag,{class:d.value},(0,i.KR)(l.default))}})},11821:(e,l,C)=>{"use strict";C.d(l,{Z:()=>d});var r=C(59835),t=C(65065),o=C(65987),i=C(22026);const d=(0,o.L)({name:"QCardActions",props:{...t.jO,vertical:Boolean},setup(e,{slots:l}){const C=(0,t.ZP)(e),o=(0,r.Fl)((()=>`q-card__actions ${C.value} q-card__actions--`+(!0===e.vertical?"vert column":"horiz row")));return()=>(0,r.h)("div",{class:o.value},(0,i.KR)(l.default))}})},63190:(e,l,C)=>{"use strict";C.d(l,{Z:()=>i});var r=C(59835),t=C(65987),o=C(22026);const i=(0,t.L)({name:"QCardSection",props:{tag:{type:String,default:"div"},horizontal:Boolean},setup(e,{slots:l}){const C=(0,r.Fl)((()=>"q-card__section q-card__section--"+(!0===e.horizontal?"horiz row no-wrap":"vert")));return()=>(0,r.h)(e.tag,{class:C.value},(0,o.KR)(l.default))}})},97052:(e,l,C)=>{"use strict";C.d(l,{Z:()=>f});C(69665);var r=C(59835),t=C(68879),o=C(68234),i=C(46296),d=C(93929),n=C(65987),c=C(4680),u=C(22026);const a=["top","right","bottom","left"],p=["regular","flat","outline","push","unelevated"],f=(0,n.L)({name:"QCarousel",props:{...o.S,...i.t6,...d.kM,transitionPrev:{type:String,default:"fade"},transitionNext:{type:String,default:"fade"},height:String,padding:Boolean,controlColor:String,controlTextColor:String,controlType:{type:String,validator:e=>p.includes(e),default:"flat"},autoplay:[Number,Boolean],arrows:Boolean,prevIcon:String,nextIcon:String,navigation:Boolean,navigationPosition:{type:String,validator:e=>a.includes(e)},navigationIcon:String,navigationActiveIcon:String,thumbnails:Boolean},emits:[...d.fL,...i.K6],setup(e,{slots:l}){const{proxy:{$q:C}}=(0,r.FN)(),n=(0,o.Z)(e,C);let a,p=null;const{updatePanelsList:f,getPanelContent:s,panelDirectives:v,goToPanel:h,previousPanel:L,nextPanel:g,getEnabledPanels:Z,panelIndex:w}=(0,i.ZP)(),{inFullscreen:M}=(0,d.ZP)(),m=(0,r.Fl)((()=>!0!==M.value&&void 0!==e.height?{height:e.height}:{})),H=(0,r.Fl)((()=>!0===e.vertical?"vertical":"horizontal")),V=(0,r.Fl)((()=>`q-carousel q-panel-parent q-carousel--with${!0===e.padding?"":"out"}-padding`+(!0===M.value?" fullscreen":"")+(!0===n.value?" q-carousel--dark q-dark":"")+(!0===e.arrows?` q-carousel--arrows-${H.value}`:"")+(!0===e.navigation?` q-carousel--navigation-${y.value}`:""))),b=(0,r.Fl)((()=>{const l=[e.prevIcon||C.iconSet.carousel[!0===e.vertical?"up":"left"],e.nextIcon||C.iconSet.carousel[!0===e.vertical?"down":"right"]];return!1===e.vertical&&!0===C.lang.rtl?l.reverse():l})),x=(0,r.Fl)((()=>e.navigationIcon||C.iconSet.carousel.navigationIcon)),k=(0,r.Fl)((()=>e.navigationActiveIcon||x.value)),y=(0,r.Fl)((()=>e.navigationPosition||(!0===e.vertical?"right":"bottom"))),A=(0,r.Fl)((()=>({color:e.controlColor,textColor:e.controlTextColor,round:!0,[e.controlType]:!0,dense:!0})));function B(){const l=!0===(0,c.hj)(e.autoplay)?Math.abs(e.autoplay):5e3;null!==p&&clearTimeout(p),p=setTimeout((()=>{p=null,l>=0?g():L()}),l)}function O(l,C){return(0,r.h)("div",{class:`q-carousel__control q-carousel__navigation no-wrap absolute flex q-carousel__navigation--${l} q-carousel__navigation--${y.value}`+(void 0!==e.controlColor?` text-${e.controlColor}`:"")},[(0,r.h)("div",{class:"q-carousel__navigation-inner flex flex-center no-wrap"},Z().map(C))])}function F(){const C=[];if(!0===e.navigation){const e=void 0!==l["navigation-icon"]?l["navigation-icon"]:e=>(0,r.h)(t.Z,{key:"nav"+e.name,class:`q-carousel__navigation-icon q-carousel__navigation-icon--${!0===e.active?"":"in"}active`,...e.btnProps,onClick:e.onClick}),o=a-1;C.push(O("buttons",((l,C)=>{const r=l.props.name,t=w.value===C;return e({index:C,maxIndex:o,name:r,active:t,btnProps:{icon:!0===t?k.value:x.value,size:"sm",...A.value},onClick:()=>{h(r)}})})))}else if(!0===e.thumbnails){const l=void 0!==e.controlColor?` text-${e.controlColor}`:"";C.push(O("thumbnails",(C=>{const t=C.props;return(0,r.h)("img",{key:"tmb#"+t.name,class:`q-carousel__thumbnail q-carousel__thumbnail--${t.name===e.modelValue?"":"in"}active`+l,src:t.imgSrc||t["img-src"],onClick:()=>{h(t.name)}})})))}return!0===e.arrows&&w.value>=0&&((!0===e.infinite||w.value>0)&&C.push((0,r.h)("div",{key:"prev",class:`q-carousel__control q-carousel__arrow q-carousel__prev-arrow q-carousel__prev-arrow--${H.value} absolute flex flex-center`},[(0,r.h)(t.Z,{icon:b.value[0],...A.value,onClick:L})])),(!0===e.infinite||w.valuee.modelValue),(()=>{e.autoplay&&B()})),(0,r.YP)((()=>e.autoplay),(e=>{e?B():null!==p&&(clearTimeout(p),p=null)})),(0,r.bv)((()=>{e.autoplay&&B()})),(0,r.Jd)((()=>{null!==p&&clearTimeout(p)})),()=>(a=f(l),(0,r.h)("div",{class:V.value,style:m.value},[(0,u.Jl)("div",{class:"q-carousel__slides-container"},s(),"sl-cont",e.swipeable,(()=>v.value))].concat(F())))}})},41694:(e,l,C)=>{"use strict";C.d(l,{Z:()=>d});var r=C(59835),t=C(65987),o=C(46296),i=C(22026);const d=(0,t.L)({name:"QCarouselSlide",props:{...o.vZ,imgSrc:String},setup(e,{slots:l}){const C=(0,r.Fl)((()=>e.imgSrc?{backgroundImage:`url("${e.imgSrc}")`}:{}));return()=>(0,r.h)("div",{class:"q-carousel__slide",style:C.value},(0,i.KR)(l.default))}})},5413:(e,l,C)=>{"use strict";C.d(l,{ZP:()=>s,ZB:()=>f,Fz:()=>p});C(69665);var r=C(59835),t=C(60499),o=C(68234),i=C(20244);function d(e,l){const C=(0,t.iH)(null),o=(0,r.Fl)((()=>!0===e.disable?null:(0,r.h)("span",{ref:C,class:"no-outline",tabindex:-1})));function i(e){const r=l.value;void 0!==e&&0===e.type.indexOf("key")?null!==r&&document.activeElement!==r&&!0===r.contains(document.activeElement)&&r.focus():null!==C.value&&(void 0===e||null!==r&&!0===r.contains(e.target))&&C.value.focus()}return{refocusTargetEl:o,refocusTarget:i}}var n=C(99256);const c={xs:30,sm:35,md:40,lg:50,xl:60};var u=C(91384),a=C(22026);const p={...o.S,...i.LU,...n.Fz,modelValue:{required:!0,default:null},val:{},trueValue:{default:!0},falseValue:{default:!1},indeterminateValue:{default:null},checkedIcon:String,uncheckedIcon:String,indeterminateIcon:String,toggleOrder:{type:String,validator:e=>"tf"===e||"ft"===e},toggleIndeterminate:Boolean,label:String,leftLabel:Boolean,color:String,keepColor:Boolean,dense:Boolean,disable:Boolean,tabindex:[String,Number]},f=["update:modelValue"];function s(e,l){const{props:C,slots:p,emit:f,proxy:s}=(0,r.FN)(),{$q:v}=s,h=(0,o.Z)(C,v),L=(0,t.iH)(null),{refocusTargetEl:g,refocusTarget:Z}=d(C,L),w=(0,i.ZP)(C,c),M=(0,r.Fl)((()=>void 0!==C.val&&Array.isArray(C.modelValue))),m=(0,r.Fl)((()=>{const e=(0,t.IU)(C.val);return!0===M.value?C.modelValue.findIndex((l=>(0,t.IU)(l)===e)):-1})),H=(0,r.Fl)((()=>!0===M.value?m.value>-1:(0,t.IU)(C.modelValue)===(0,t.IU)(C.trueValue))),V=(0,r.Fl)((()=>!0===M.value?-1===m.value:(0,t.IU)(C.modelValue)===(0,t.IU)(C.falseValue))),b=(0,r.Fl)((()=>!1===H.value&&!1===V.value)),x=(0,r.Fl)((()=>!0===C.disable?-1:C.tabindex||0)),k=(0,r.Fl)((()=>`q-${e} cursor-pointer no-outline row inline no-wrap items-center`+(!0===C.disable?" disabled":"")+(!0===h.value?` q-${e}--dark`:"")+(!0===C.dense?` q-${e}--dense`:"")+(!0===C.leftLabel?" reverse":""))),y=(0,r.Fl)((()=>{const l=!0===H.value?"truthy":!0===V.value?"falsy":"indet",r=void 0===C.color||!0!==C.keepColor&&("toggle"===e?!0!==H.value:!0===V.value)?"":` text-${C.color}`;return`q-${e}__inner relative-position non-selectable q-${e}__inner--${l}${r}`})),A=(0,r.Fl)((()=>{const e={type:"checkbox"};return void 0!==C.name&&Object.assign(e,{".checked":H.value,"^checked":!0===H.value?"checked":void 0,name:C.name,value:!0===M.value?C.val:C.trueValue}),e})),B=(0,n.eX)(A),O=(0,r.Fl)((()=>{const l={tabindex:x.value,role:"toggle"===e?"switch":"checkbox","aria-label":C.label,"aria-checked":!0===b.value?"mixed":!0===H.value?"true":"false"};return!0===C.disable&&(l["aria-disabled"]="true"),l}));function F(e){void 0!==e&&((0,u.NS)(e),Z(e)),!0!==C.disable&&f("update:modelValue",S(),e)}function S(){if(!0===M.value){if(!0===H.value){const e=C.modelValue.slice();return e.splice(m.value,1),e}return C.modelValue.concat([C.val])}if(!0===H.value){if("ft"!==C.toggleOrder||!1===C.toggleIndeterminate)return C.falseValue}else{if(!0!==V.value)return"ft"!==C.toggleOrder?C.trueValue:C.falseValue;if("ft"===C.toggleOrder||!1===C.toggleIndeterminate)return C.trueValue}return C.indeterminateValue}function P(e){13!==e.keyCode&&32!==e.keyCode||(0,u.NS)(e)}function _(e){13!==e.keyCode&&32!==e.keyCode||F(e)}const T=l(H,b);return Object.assign(s,{toggle:F}),()=>{const l=T();!0!==C.disable&&B(l,"unshift",` q-${e}__native absolute q-ma-none q-pa-none`);const t=[(0,r.h)("div",{class:y.value,style:w.value,"aria-hidden":"true"},l)];null!==g.value&&t.push(g.value);const o=void 0!==C.label?(0,a.vs)(p.default,[C.label]):(0,a.KR)(p.default);return void 0!==o&&t.push((0,r.h)("div",{class:`q-${e}__label q-anchor--skip`},o)),(0,r.h)("div",{ref:L,class:k.value,...O.value,onClick:F,onKeydown:P,onKeyup:_},t)}}},83302:(e,l,C)=>{"use strict";C.d(l,{Z:()=>f});C(69665);var r=C(59835),t=C(20244);const o={...t.LU,min:{type:Number,default:0},max:{type:Number,default:100},color:String,centerColor:String,trackColor:String,fontSize:String,rounded:Boolean,thickness:{type:Number,default:.2,validator:e=>e>=0&&e<=1},angle:{type:Number,default:0},showValue:Boolean,reverse:Boolean,instantFeedback:Boolean};var i=C(65987),d=C(22026),n=C(30321);const c=50,u=2*c,a=u*Math.PI,p=Math.round(1e3*a)/1e3,f=(0,i.L)({name:"QCircularProgress",props:{...o,value:{type:Number,default:0},animationSpeed:{type:[String,Number],default:600},indeterminate:Boolean},setup(e,{slots:l}){const{proxy:{$q:C}}=(0,r.FN)(),o=(0,t.ZP)(e),i=(0,r.Fl)((()=>{const l=(!0===C.lang.rtl?-1:1)*e.angle;return{transform:e.reverse!==(!0===C.lang.rtl)?`scale3d(-1, 1, 1) rotate3d(0, 0, 1, ${-90-l}deg)`:`rotate3d(0, 0, 1, ${l-90}deg)`}})),f=(0,r.Fl)((()=>!0!==e.instantFeedback&&!0!==e.indeterminate?{transition:`stroke-dashoffset ${e.animationSpeed}ms ease 0s, stroke ${e.animationSpeed}ms ease`}:"")),s=(0,r.Fl)((()=>u/(1-e.thickness/2))),v=(0,r.Fl)((()=>`${s.value/2} ${s.value/2} ${s.value} ${s.value}`)),h=(0,r.Fl)((()=>(0,n.vX)(e.value,e.min,e.max))),L=(0,r.Fl)((()=>a*(1-(h.value-e.min)/(e.max-e.min)))),g=(0,r.Fl)((()=>e.thickness/2*s.value));function Z({thickness:e,offset:l,color:C,cls:t,rounded:o}){return(0,r.h)("circle",{class:"q-circular-progress__"+t+(void 0!==C?` text-${C}`:""),style:f.value,fill:"transparent",stroke:"currentColor","stroke-width":e,"stroke-dasharray":p,"stroke-dashoffset":l,"stroke-linecap":o,cx:s.value,cy:s.value,r:c})}return()=>{const C=[];void 0!==e.centerColor&&"transparent"!==e.centerColor&&C.push((0,r.h)("circle",{class:`q-circular-progress__center text-${e.centerColor}`,fill:"currentColor",r:c-g.value/2,cx:s.value,cy:s.value})),void 0!==e.trackColor&&"transparent"!==e.trackColor&&C.push(Z({cls:"track",thickness:g.value,offset:0,color:e.trackColor})),C.push(Z({cls:"circle",thickness:g.value,offset:L.value,color:e.color,rounded:!0===e.rounded?"round":void 0}));const t=[(0,r.h)("svg",{class:"q-circular-progress__svg",style:i.value,viewBox:v.value,"aria-hidden":"true"},C)];return!0===e.showValue&&t.push((0,r.h)("div",{class:"q-circular-progress__text absolute-full row flex-center content-center",style:{fontSize:e.fontSize}},void 0!==l.default?l.default():[(0,r.h)("div",h.value)])),(0,r.h)("div",{class:`q-circular-progress q-circular-progress--${!0===e.indeterminate?"in":""}determinate`,style:o.value,role:"progressbar","aria-valuemin":e.min,"aria-valuemax":e.max,"aria-valuenow":!0===e.indeterminate?void 0:h.value},(0,d.pf)(l.internal,t))}}})},32074:(e,l,C)=>{"use strict";C.d(l,{Z:()=>m});var r=C(59835),t=C(60499),o=C(61957),i=C(94953),d=C(52695),n=C(16916),c=C(63842),u=C(20431),a=C(91518),p=C(49754),f=C(65987),s=C(70223),v=C(22026),h=C(16532),L=C(4173),g=C(17026);let Z=0;const w={standard:"fixed-full flex-center",top:"fixed-top justify-center",bottom:"fixed-bottom justify-center",right:"fixed-right items-center",left:"fixed-left items-center"},M={standard:["scale","scale"],top:["slide-down","slide-up"],bottom:["slide-up","slide-down"],right:["slide-left","slide-right"],left:["slide-right","slide-left"]},m=(0,f.L)({name:"QDialog",inheritAttrs:!1,props:{...c.vr,...u.D,transitionShow:String,transitionHide:String,persistent:Boolean,autoClose:Boolean,allowFocusOutside:Boolean,noEscDismiss:Boolean,noBackdropDismiss:Boolean,noRouteDismiss:Boolean,noRefocus:Boolean,noFocus:Boolean,noShake:Boolean,seamless:Boolean,maximized:Boolean,fullWidth:Boolean,fullHeight:Boolean,square:Boolean,position:{type:String,default:"standard",validator:e=>"standard"===e||["top","bottom","left","right"].includes(e)}},emits:[...c.gH,"shake","click","escapeKey"],setup(e,{slots:l,emit:C,attrs:f}){const m=(0,r.FN)(),H=(0,t.iH)(null),V=(0,t.iH)(!1),b=(0,t.iH)(!1);let x,k,y=null,A=null;const B=(0,r.Fl)((()=>!0!==e.persistent&&!0!==e.noRouteDismiss&&!0!==e.seamless)),{preventBodyScroll:O}=(0,p.Z)(),{registerTimeout:F}=(0,d.Z)(),{registerTick:S,removeTick:P}=(0,n.Z)(),{transitionProps:_,transitionStyle:T}=(0,u.Z)(e,(()=>M[e.position][0]),(()=>M[e.position][1])),{showPortal:E,hidePortal:q,portalIsAccessible:D,renderPortal:R}=(0,a.Z)(m,H,te,"dialog"),{hide:N}=(0,c.ZP)({showing:V,hideOnRouteChange:B,handleShow:G,handleHide:W,processOnMount:!0}),{addToHistory:I,removeFromHistory:$}=(0,i.Z)(V,N,B),U=(0,r.Fl)((()=>"q-dialog__inner flex no-pointer-events q-dialog__inner--"+(!0===e.maximized?"maximized":"minimized")+` q-dialog__inner--${e.position} ${w[e.position]}`+(!0===b.value?" q-dialog__inner--animating":"")+(!0===e.fullWidth?" q-dialog__inner--fullwidth":"")+(!0===e.fullHeight?" q-dialog__inner--fullheight":"")+(!0===e.square?" q-dialog__inner--square":""))),j=(0,r.Fl)((()=>!0===V.value&&!0!==e.seamless)),z=(0,r.Fl)((()=>!0===e.autoClose?{onClick:le}:{})),Y=(0,r.Fl)((()=>["q-dialog fullscreen no-pointer-events q-dialog--"+(!0===j.value?"modal":"seamless"),f.class]));function G(l){I(),A=!1===e.noRefocus&&null!==document.activeElement?document.activeElement:null,ee(e.maximized),E(),b.value=!0,!0!==e.noFocus?(null!==document.activeElement&&document.activeElement.blur(),S(K)):P(),F((()=>{if(!0===m.proxy.$q.platform.is.ios){if(!0!==e.seamless&&document.activeElement){const{top:e,bottom:l}=document.activeElement.getBoundingClientRect(),{innerHeight:C}=window,r=void 0!==window.visualViewport?window.visualViewport.height:C;e>0&&l>r/2&&(document.scrollingElement.scrollTop=Math.min(document.scrollingElement.scrollHeight-r,l>=C?1/0:Math.ceil(document.scrollingElement.scrollTop+l-r/2))),document.activeElement.scrollIntoView()}k=!0,H.value.click(),k=!1}E(!0),b.value=!1,C("show",l)}),e.transitionDuration)}function W(l){P(),$(),J(!0),b.value=!0,q(),null!==A&&(((l&&0===l.type.indexOf("key")?A.closest('[tabindex]:not([tabindex^="-"])'):void 0)||A).focus(),A=null),F((()=>{q(!0),b.value=!1,C("hide",l)}),e.transitionDuration)}function K(e){(0,g.jd)((()=>{let l=H.value;null!==l&&!0!==l.contains(document.activeElement)&&(l=(""!==e?l.querySelector(e):null)||l.querySelector("[autofocus][tabindex], [data-autofocus][tabindex]")||l.querySelector("[autofocus] [tabindex], [data-autofocus] [tabindex]")||l.querySelector("[autofocus], [data-autofocus]")||l,l.focus({preventScroll:!0}))}))}function X(e){e&&"function"===typeof e.focus?e.focus({preventScroll:!0}):K(),C("shake");const l=H.value;null!==l&&(l.classList.remove("q-animate--scale"),l.classList.add("q-animate--scale"),null!==y&&clearTimeout(y),y=setTimeout((()=>{y=null,null!==H.value&&(l.classList.remove("q-animate--scale"),K())}),170))}function Q(){!0!==e.seamless&&(!0===e.persistent||!0===e.noEscDismiss?!0!==e.maximized&&!0!==e.noShake&&X():(C("escapeKey"),N()))}function J(l){null!==y&&(clearTimeout(y),y=null),!0!==l&&!0!==V.value||(ee(!1),!0!==e.seamless&&(O(!1),(0,L.H)(re),(0,h.k)(Q))),!0!==l&&(A=null)}function ee(e){!0===e?!0!==x&&(Z<1&&document.body.classList.add("q-body--dialog"),Z++,x=!0):!0===x&&(Z<2&&document.body.classList.remove("q-body--dialog"),Z--,x=!1)}function le(e){!0!==k&&(N(e),C("click",e))}function Ce(l){!0!==e.persistent&&!0!==e.noBackdropDismiss?N(l):!0!==e.noShake&&X()}function re(l){!0!==e.allowFocusOutside&&!0===D.value&&!0!==(0,s.mY)(H.value,l.target)&&K('[tabindex]:not([tabindex="-1"])')}function te(){return(0,r.h)("div",{role:"dialog","aria-modal":!0===j.value?"true":"false",...f,class:Y.value},[(0,r.h)(o.uT,{name:"q-transition--fade",appear:!0},(()=>!0===j.value?(0,r.h)("div",{class:"q-dialog__backdrop fixed-full",style:T.value,"aria-hidden":"true",tabindex:-1,onClick:Ce}):null)),(0,r.h)(o.uT,_.value,(()=>!0===V.value?(0,r.h)("div",{ref:H,class:U.value,style:T.value,tabindex:-1,...z.value},(0,v.KR)(l.default)):null))])}return(0,r.YP)((()=>e.maximized),(e=>{!0===V.value&&ee(e)})),(0,r.YP)(j,(e=>{O(e),!0===e?((0,L.i)(re),(0,h.c)(Q)):((0,L.H)(re),(0,h.k)(Q))})),Object.assign(m.proxy,{focus:K,shake:X,__updateRefocusTarget(e){A=e||null}}),(0,r.Jd)(J),R}})},10906:(e,l,C)=>{"use strict";C.d(l,{Z:()=>h});C(69665);var r=C(59835),t=C(60499),o=C(94953),i=C(63842),d=C(49754),n=C(52695),c=C(68234),u=C(2873),a=C(65987),p=C(30321),f=C(22026),s=C(95439);const v=150,h=(0,a.L)({name:"QDrawer",inheritAttrs:!1,props:{...i.vr,...c.S,side:{type:String,default:"left",validator:e=>["left","right"].includes(e)},width:{type:Number,default:300},mini:Boolean,miniToOverlay:Boolean,miniWidth:{type:Number,default:57},noMiniAnimation:Boolean,breakpoint:{type:Number,default:1023},showIfAbove:Boolean,behavior:{type:String,validator:e=>["default","desktop","mobile"].includes(e),default:"default"},bordered:Boolean,elevated:Boolean,overlay:Boolean,persistent:Boolean,noSwipeOpen:Boolean,noSwipeClose:Boolean,noSwipeBackdrop:Boolean},emits:[...i.gH,"onLayout","miniState"],setup(e,{slots:l,emit:C,attrs:a}){const h=(0,r.FN)(),{proxy:{$q:L}}=h,g=(0,c.Z)(e,L),{preventBodyScroll:Z}=(0,d.Z)(),{registerTimeout:w,removeTimeout:M}=(0,n.Z)(),m=(0,r.f3)(s.YE,s.qO);if(m===s.qO)return console.error("QDrawer needs to be child of QLayout"),s.qO;let H,V,b=null;const x=(0,t.iH)("mobile"===e.behavior||"desktop"!==e.behavior&&m.totalWidth.value<=e.breakpoint),k=(0,r.Fl)((()=>!0===e.mini&&!0!==x.value)),y=(0,r.Fl)((()=>!0===k.value?e.miniWidth:e.width)),A=(0,t.iH)(!0===e.showIfAbove&&!1===x.value||!0===e.modelValue),B=(0,r.Fl)((()=>!0!==e.persistent&&(!0===x.value||!0===G.value)));function O(e,l){if(_(),!1!==e&&m.animate(),de(0),!0===x.value){const e=m.instances[U.value];void 0!==e&&!0===e.belowBreakpoint&&e.hide(!1),ne(1),!0!==m.isContainer.value&&Z(!0)}else ne(0),!1!==e&&ce(!1);w((()=>{!1!==e&&ce(!0),!0!==l&&C("show",e)}),v)}function F(e,l){T(),!1!==e&&m.animate(),ne(0),de(D.value*y.value),fe(),!0!==l?w((()=>{C("hide",e)}),v):M()}const{show:S,hide:P}=(0,i.ZP)({showing:A,hideOnRouteChange:B,handleShow:O,handleHide:F}),{addToHistory:_,removeFromHistory:T}=(0,o.Z)(A,P,B),E={belowBreakpoint:x,hide:P},q=(0,r.Fl)((()=>"right"===e.side)),D=(0,r.Fl)((()=>(!0===L.lang.rtl?-1:1)*(!0===q.value?1:-1))),R=(0,t.iH)(0),N=(0,t.iH)(!1),I=(0,t.iH)(!1),$=(0,t.iH)(y.value*D.value),U=(0,r.Fl)((()=>!0===q.value?"left":"right")),j=(0,r.Fl)((()=>!0===A.value&&!1===x.value&&!1===e.overlay?!0===e.miniToOverlay?e.miniWidth:y.value:0)),z=(0,r.Fl)((()=>!0===e.overlay||!0===e.miniToOverlay||m.view.value.indexOf(q.value?"R":"L")>-1||!0===L.platform.is.ios&&!0===m.isContainer.value)),Y=(0,r.Fl)((()=>!1===e.overlay&&!0===A.value&&!1===x.value)),G=(0,r.Fl)((()=>!0===e.overlay&&!0===A.value&&!1===x.value)),W=(0,r.Fl)((()=>"fullscreen q-drawer__backdrop"+(!1===A.value&&!1===N.value?" hidden":""))),K=(0,r.Fl)((()=>({backgroundColor:`rgba(0,0,0,${.4*R.value})`}))),X=(0,r.Fl)((()=>!0===q.value?"r"===m.rows.value.top[2]:"l"===m.rows.value.top[0])),Q=(0,r.Fl)((()=>!0===q.value?"r"===m.rows.value.bottom[2]:"l"===m.rows.value.bottom[0])),J=(0,r.Fl)((()=>{const e={};return!0===m.header.space&&!1===X.value&&(!0===z.value?e.top=`${m.header.offset}px`:!0===m.header.space&&(e.top=`${m.header.size}px`)),!0===m.footer.space&&!1===Q.value&&(!0===z.value?e.bottom=`${m.footer.offset}px`:!0===m.footer.space&&(e.bottom=`${m.footer.size}px`)),e})),ee=(0,r.Fl)((()=>{const e={width:`${y.value}px`,transform:`translateX(${$.value}px)`};return!0===x.value?e:Object.assign(e,J.value)})),le=(0,r.Fl)((()=>"q-drawer__content fit "+(!0!==m.isContainer.value?"scroll":"overflow-auto"))),Ce=(0,r.Fl)((()=>`q-drawer q-drawer--${e.side}`+(!0===I.value?" q-drawer--mini-animate":"")+(!0===e.bordered?" q-drawer--bordered":"")+(!0===g.value?" q-drawer--dark q-dark":"")+(!0===N.value?" no-transition":!0===A.value?"":" q-layout--prevent-focus")+(!0===x.value?" fixed q-drawer--on-top q-drawer--mobile q-drawer--top-padding":" q-drawer--"+(!0===k.value?"mini":"standard")+(!0===z.value||!0!==Y.value?" fixed":"")+(!0===e.overlay||!0===e.miniToOverlay?" q-drawer--on-top":"")+(!0===X.value?" q-drawer--top-padding":"")))),re=(0,r.Fl)((()=>{const l=!0===L.lang.rtl?e.side:U.value;return[[u.Z,ae,void 0,{[l]:!0,mouse:!0}]]})),te=(0,r.Fl)((()=>{const l=!0===L.lang.rtl?U.value:e.side;return[[u.Z,pe,void 0,{[l]:!0,mouse:!0}]]})),oe=(0,r.Fl)((()=>{const l=!0===L.lang.rtl?U.value:e.side;return[[u.Z,pe,void 0,{[l]:!0,mouse:!0,mouseAllDir:!0}]]}));function ie(){ve(x,"mobile"===e.behavior||"desktop"!==e.behavior&&m.totalWidth.value<=e.breakpoint)}function de(e){void 0===e?(0,r.Y3)((()=>{e=!0===A.value?0:y.value,de(D.value*e)})):(!0!==m.isContainer.value||!0!==q.value||!0!==x.value&&Math.abs(e)!==y.value||(e+=D.value*m.scrollbarWidth.value),$.value=e)}function ne(e){R.value=e}function ce(e){const l=!0===e?"remove":!0!==m.isContainer.value?"add":"";""!==l&&document.body.classList[l]("q-body--drawer-toggle")}function ue(){null!==b&&clearTimeout(b),h.proxy&&h.proxy.$el&&h.proxy.$el.classList.add("q-drawer--mini-animate"),I.value=!0,b=setTimeout((()=>{b=null,I.value=!1,h&&h.proxy&&h.proxy.$el&&h.proxy.$el.classList.remove("q-drawer--mini-animate")}),150)}function ae(e){if(!1!==A.value)return;const l=y.value,C=(0,p.vX)(e.distance.x,0,l);if(!0===e.isFinal){const e=C>=Math.min(75,l);return!0===e?S():(m.animate(),ne(0),de(D.value*l)),void(N.value=!1)}de((!0===L.lang.rtl?!0!==q.value:q.value)?Math.max(l-C,0):Math.min(0,C-l)),ne((0,p.vX)(C/l,0,1)),!0===e.isFirst&&(N.value=!0)}function pe(l){if(!0!==A.value)return;const C=y.value,r=l.direction===e.side,t=(!0===L.lang.rtl?!0!==r:r)?(0,p.vX)(l.distance.x,0,C):0;if(!0===l.isFinal){const e=Math.abs(t){!0===l?(H=A.value,!0===A.value&&P(!1)):!1===e.overlay&&"mobile"!==e.behavior&&!1!==H&&(!0===A.value?(de(0),ne(0),fe()):S(!1))})),(0,r.YP)((()=>e.side),((e,l)=>{m.instances[l]===E&&(m.instances[l]=void 0,m[l].space=!1,m[l].offset=0),m.instances[e]=E,m[e].size=y.value,m[e].space=Y.value,m[e].offset=j.value})),(0,r.YP)(m.totalWidth,(()=>{!0!==m.isContainer.value&&!0===document.qScrollPrevented||ie()})),(0,r.YP)((()=>e.behavior+e.breakpoint),ie),(0,r.YP)(m.isContainer,(e=>{!0===A.value&&Z(!0!==e),!0===e&&ie()})),(0,r.YP)(m.scrollbarWidth,(()=>{de(!0===A.value?0:void 0)})),(0,r.YP)(j,(e=>{se("offset",e)})),(0,r.YP)(Y,(e=>{C("onLayout",e),se("space",e)})),(0,r.YP)(q,(()=>{de()})),(0,r.YP)(y,(l=>{de(),he(e.miniToOverlay,l)})),(0,r.YP)((()=>e.miniToOverlay),(e=>{he(e,y.value)})),(0,r.YP)((()=>L.lang.rtl),(()=>{de()})),(0,r.YP)((()=>e.mini),(()=>{e.noMiniAnimation||!0===e.modelValue&&(ue(),m.animate())})),(0,r.YP)(k,(e=>{C("miniState",e)})),m.instances[e.side]=E,he(e.miniToOverlay,y.value),se("space",Y.value),se("offset",j.value),!0===e.showIfAbove&&!0!==e.modelValue&&!0===A.value&&void 0!==e["onUpdate:modelValue"]&&C("update:modelValue",!0),(0,r.bv)((()=>{C("onLayout",Y.value),C("miniState",k.value),H=!0===e.showIfAbove;const l=()=>{const e=!0===A.value?O:F;e(!1,!0)};0===m.totalWidth.value?V=(0,r.YP)(m.totalWidth,(()=>{V(),V=void 0,!1===A.value&&!0===e.showIfAbove&&!1===x.value?S(!1):l()})):(0,r.Y3)(l)})),(0,r.Jd)((()=>{void 0!==V&&V(),null!==b&&(clearTimeout(b),b=null),!0===A.value&&fe(),m.instances[e.side]===E&&(m.instances[e.side]=void 0,se("size",0),se("offset",0),se("space",!1))})),()=>{const C=[];!0===x.value&&(!1===e.noSwipeOpen&&C.push((0,r.wy)((0,r.h)("div",{key:"open",class:`q-drawer__opener fixed-${e.side}`,"aria-hidden":"true"}),re.value)),C.push((0,f.Jl)("div",{ref:"backdrop",class:W.value,style:K.value,"aria-hidden":"true",onClick:P},void 0,"backdrop",!0!==e.noSwipeBackdrop&&!0===A.value,(()=>oe.value))));const t=!0===k.value&&void 0!==l.mini,o=[(0,r.h)("div",{...a,key:""+t,class:[le.value,a.class]},!0===t?l.mini():(0,f.KR)(l.default))];return!0===e.elevated&&!0===A.value&&o.push((0,r.h)("div",{class:"q-layout__shadow absolute-full overflow-hidden no-pointer-events"})),C.push((0,f.Jl)("aside",{ref:"content",class:Ce.value,style:ee.value},o,"contentclose",!0!==e.noSwipeClose&&!0===x.value,(()=>te.value))),(0,r.h)("div",{class:"q-drawer-container"},C)}}})},71928:(e,l,C)=>{"use strict";C.d(l,{Z:()=>$});C(69665);var r=C(59835),t=C(60499),o=C(91384);function i(e,l){if(l&&e===l)return null;const C=e.nodeName.toLowerCase();if(!0===["div","li","ul","ol","blockquote"].includes(C))return e;const r=window.getComputedStyle?window.getComputedStyle(e):e.currentStyle,t=r.display;return"block"===t||"table"===t?e:i(e.parentNode)}function d(e,l,C){return!(!e||e===document.body)&&(!0===C&&e===l||(l===document?document.body:l).contains(e.parentNode))}function n(e,l,C){if(C||(C=document.createRange(),C.selectNode(e),C.setStart(e,0)),0===l.count)C.setEnd(e,l.count);else if(l.count>0)if(e.nodeType===Node.TEXT_NODE)e.textContent.length0&&this.savedPos\n \n \n Print - ${document.title}\n \n \n
${this.el.innerHTML}
\n \n \n `),e.print(),void e.close()}if("link"===e){const e=this.getParentAttribute("href");if(null===e){const e=this.selectWord(this.selection),l=e?e.toString():"";if(!l.length&&(!this.range||!this.range.cloneContents().querySelector("img")))return;this.eVm.editLinkUrl.value=c.test(l)?l:"https://",document.execCommand("createLink",!1,this.eVm.editLinkUrl.value),this.save(e.getRangeAt(0))}else this.eVm.editLinkUrl.value=e,this.range.selectNodeContents(this.parent),this.save();return}if("fullscreen"===e)return this.eVm.toggleFullscreen(),void C();if("viewsource"===e)return this.eVm.isViewingSource.value=!1===this.eVm.isViewingSource.value,this.eVm.setContent(this.eVm.props.modelValue),void C()}document.execCommand(e,!1,l),C()}selectWord(e){if(null===e||!0!==e.isCollapsed||void 0===e.modify)return e;const l=document.createRange();l.setStart(e.anchorNode,e.anchorOffset),l.setEnd(e.focusNode,e.focusOffset);const C=l.collapsed?["backward","forward"]:["forward","backward"];l.detach();const r=e.focusNode,t=e.focusOffset;return e.collapse(e.anchorNode,e.anchorOffset),e.modify("move",C[0],"character"),e.modify("move",C[1],"word"),e.extend(r,t),e.modify("extend",C[1],"character"),e.modify("extend",C[0],"word"),e}}var a=C(68879),p=C(22857),f=C(65987),s=C(22026);const v=(0,f.L)({name:"QBtnGroup",props:{unelevated:Boolean,outline:Boolean,flat:Boolean,rounded:Boolean,square:Boolean,push:Boolean,stretch:Boolean,glossy:Boolean,spread:Boolean},setup(e,{slots:l}){const C=(0,r.Fl)((()=>{const l=["unelevated","outline","flat","rounded","square","push","stretch","glossy"].filter((l=>!0===e[l])).map((e=>`q-btn-group--${e}`)).join(" ");return"q-btn-group row no-wrap"+(0!==l.length?" "+l:"")+(!0===e.spread?" q-btn-group--spread":" inline")}));return()=>(0,r.h)("div",{class:C.value},(0,s.KR)(l.default))}});var h=C(56362),L=C(36073),g=C(20431),Z=C(50796);const w=Object.keys(L.b7),M=e=>w.reduce(((l,C)=>{const r=e[C];return void 0!==r&&(l[C]=r),l}),{}),m=(0,f.L)({name:"QBtnDropdown",props:{...L.b7,...g.D,modelValue:Boolean,split:Boolean,dropdownIcon:String,contentClass:[Array,String,Object],contentStyle:[Array,String,Object],cover:Boolean,persistent:Boolean,noRouteDismiss:Boolean,autoClose:Boolean,menuAnchor:{type:String,default:"bottom end"},menuSelf:{type:String,default:"top end"},menuOffset:Array,disableMainBtn:Boolean,disableDropdown:Boolean,noIconAnimation:Boolean,toggleAriaLabel:String},emits:["update:modelValue","click","beforeShow","show","beforeHide","hide"],setup(e,{slots:l,emit:C}){const{proxy:i}=(0,r.FN)(),d=(0,t.iH)(e.modelValue),n=(0,t.iH)(null),c=(0,Z.Z)(),u=(0,r.Fl)((()=>{const l={"aria-expanded":!0===d.value?"true":"false","aria-haspopup":"true","aria-controls":c,"aria-label":e.toggleAriaLabel||i.$q.lang.label[!0===d.value?"collapse":"expand"](e.label)};return(!0===e.disable||!1===e.split&&!0===e.disableMainBtn||!0===e.disableDropdown)&&(l["aria-disabled"]="true"),l})),f=(0,r.Fl)((()=>"q-btn-dropdown__arrow"+(!0===d.value&&!1===e.noIconAnimation?" rotate-180":"")+(!1===e.split?" q-btn-dropdown__arrow-container":""))),g=(0,r.Fl)((()=>(0,L._V)(e))),w=(0,r.Fl)((()=>M(e)));function m(e){d.value=!0,C("beforeShow",e)}function H(e){C("show",e),C("update:modelValue",!0)}function V(e){d.value=!1,C("beforeHide",e)}function b(e){C("hide",e),C("update:modelValue",!1)}function x(e){C("click",e)}function k(e){(0,o.sT)(e),B(),C("click",e)}function y(e){null!==n.value&&n.value.toggle(e)}function A(e){null!==n.value&&n.value.show(e)}function B(e){null!==n.value&&n.value.hide(e)}return(0,r.YP)((()=>e.modelValue),(e=>{null!==n.value&&n.value[e?"show":"hide"]()})),(0,r.YP)((()=>e.split),B),Object.assign(i,{show:A,hide:B,toggle:y}),(0,r.bv)((()=>{!0===e.modelValue&&A()})),()=>{const C=[(0,r.h)(p.Z,{class:f.value,name:e.dropdownIcon||i.$q.iconSet.arrow.dropdown})];return!0!==e.disableDropdown&&C.push((0,r.h)(h.Z,{ref:n,id:c,class:e.contentClass,style:e.contentStyle,cover:e.cover,fit:!0,persistent:e.persistent,noRouteDismiss:e.noRouteDismiss,autoClose:e.autoClose,anchor:e.menuAnchor,self:e.menuSelf,offset:e.menuOffset,separateClosePopup:!0,transitionShow:e.transitionShow,transitionHide:e.transitionHide,transitionDuration:e.transitionDuration,onBeforeShow:m,onShow:H,onBeforeHide:V,onHide:b},l.default)),!1===e.split?(0,r.h)(a.Z,{class:"q-btn-dropdown q-btn-dropdown--simple",...w.value,...u.value,disable:!0===e.disable||!0===e.disableMainBtn,noWrap:!0,round:!1,onClick:x},{default:()=>(0,s.KR)(l.label,[]).concat(C),loading:l.loading}):(0,r.h)(v,{class:"q-btn-dropdown q-btn-dropdown--split no-wrap q-btn-item",rounded:e.rounded,square:e.square,...g.value,glossy:e.glossy,stretch:e.stretch},(()=>[(0,r.h)(a.Z,{class:"q-btn-dropdown--current",...w.value,disable:!0===e.disable||!0===e.disableMainBtn,noWrap:!0,round:!1,onClick:k},{default:l.label,loading:l.loading}),(0,r.h)(a.Z,{class:"q-btn-dropdown__arrow-container q-anchor--skip",...u.value,...g.value,disable:!0===e.disable||!0===e.disableDropdown,rounded:e.rounded,color:e.color,textColor:e.textColor,dense:e.dense,size:e.size,padding:e.padding,ripple:e.ripple},(()=>C))]))}}});var H=C(46858),V=C(490),b=C(76749),x=C(61705);function k(e,l,C){l.handler?l.handler(e,C,C.caret):C.runCmd(l.cmd,l.param)}function y(e){return(0,r.h)("div",{class:"q-editor__toolbar-group"},e)}function A(e,l,C,t=!1){const o=t||"toggle"===l.type&&(l.toggled?l.toggled(e):l.cmd&&e.caret.is(l.cmd,l.param)),i=[];if(l.tip&&e.$q.platform.is.desktop){const e=l.key?(0,r.h)("div",[(0,r.h)("small",`(CTRL + ${String.fromCharCode(l.key)})`)]):null;i.push((0,r.h)(H.Z,{delay:1e3},(()=>[(0,r.h)("div",{innerHTML:l.tip}),e])))}return(0,r.h)(a.Z,{...e.buttonProps.value,icon:null!==l.icon?l.icon:void 0,color:o?l.toggleColor||e.props.toolbarToggleColor:l.color||e.props.toolbarColor,textColor:o&&!e.props.toolbarPush?null:l.textColor||e.props.toolbarTextColor,label:l.label,disable:!!l.disable&&("function"!==typeof l.disable||l.disable(e)),size:"sm",onClick(r){C&&C(),k(r,l,e)}},(()=>i))}function B(e,l){const C="only-icons"===l.list;let t,o,i=l.label,d=null!==l.icon?l.icon:void 0;function n(){u.component.proxy.hide()}if(C)o=l.options.map((l=>{const C=void 0===l.type&&e.caret.is(l.cmd,l.param);return C&&(i=l.tip,d=null!==l.icon?l.icon:void 0),A(e,l,n,C)})),t=e.toolbarBackgroundClass.value,o=[y(o)];else{const C=void 0!==e.props.toolbarToggleColor?`text-${e.props.toolbarToggleColor}`:null,c=void 0!==e.props.toolbarTextColor?`text-${e.props.toolbarTextColor}`:null,u="no-icons"===l.list;o=l.options.map((l=>{const t=!!l.disable&&l.disable(e),o=void 0===l.type&&e.caret.is(l.cmd,l.param);o&&(i=l.tip,d=null!==l.icon?l.icon:void 0);const a=l.htmlTip;return(0,r.h)(V.Z,{active:o,activeClass:C,clickable:!0,disable:t,dense:!0,onClick(C){n(),null!==e.contentRef.value&&e.contentRef.value.focus(),e.caret.restore(),k(C,l,e)}},(()=>[!0===u?null:(0,r.h)(b.Z,{class:o?C:c,side:!0},(()=>(0,r.h)(p.Z,{name:null!==l.icon?l.icon:void 0}))),(0,r.h)(b.Z,a?()=>(0,r.h)("div",{class:"text-no-wrap",innerHTML:l.htmlTip}):l.tip?()=>(0,r.h)("div",{class:"text-no-wrap"},l.tip):void 0)]))})),t=[e.toolbarBackgroundClass.value,c]}const c=l.highlight&&i!==l.label,u=(0,r.h)(m,{...e.buttonProps.value,noCaps:!0,noWrap:!0,color:c?e.props.toolbarToggleColor:e.props.toolbarColor,textColor:c&&!e.props.toolbarPush?null:e.props.toolbarTextColor,label:l.fixedLabel?l.label:i,icon:l.fixedIcon?null!==l.icon?l.icon:void 0:d,contentClass:t,onShow:l=>e.emit("dropdownShow",l),onHide:l=>e.emit("dropdownHide",l),onBeforeShow:l=>e.emit("dropdownBeforeShow",l),onBeforeHide:l=>e.emit("dropdownBeforeHide",l)},(()=>o));return u}function O(e){if(e.caret)return e.buttons.value.filter((l=>!e.isViewingSource.value||l.find((e=>"viewsource"===e.cmd)))).map((l=>y(l.map((l=>(!e.isViewingSource.value||"viewsource"===l.cmd)&&("slot"===l.type?(0,s.KR)(e.slots[l.slot]):"dropdown"===l.type?B(e,l):A(e,l)))))))}function F(e,l,C,r={}){const t=Object.keys(r);if(0===t.length)return{};const o={default_font:{cmd:"fontName",param:e,icon:C,tip:l}};return t.forEach((e=>{const l=r[e];o[e]={cmd:"fontName",param:l,icon:C,tip:l,htmlTip:`${l}`}})),o}function S(e){if(e.caret){const l=e.props.toolbarColor||e.props.toolbarTextColor;let C=e.editLinkUrl.value;const t=()=>{e.caret.restore(),C!==e.editLinkUrl.value&&document.execCommand("createLink",!1,""===C?" ":C),e.editLinkUrl.value=null};return[(0,r.h)("div",{class:`q-mx-xs text-${l}`},`${e.$q.lang.editor.url}: `),(0,r.h)("input",{key:"qedt_btm_input",class:"col q-editor__link-input",value:C,onInput:e=>{(0,o.sT)(e),C=e.target.value},onKeydown:l=>{if(!0!==(0,x.Wm)(l))switch(l.keyCode){case 13:return(0,o.X$)(l),t();case 27:(0,o.X$)(l),e.caret.restore(),e.editLinkUrl.value&&"https://"!==e.editLinkUrl.value||document.execCommand("unlink"),e.editLinkUrl.value=null;break}}}),y([(0,r.h)(a.Z,{key:"qedt_btm_rem",tabindex:-1,...e.buttonProps.value,label:e.$q.lang.label.remove,noCaps:!0,onClick:()=>{e.caret.restore(),document.execCommand("unlink"),e.editLinkUrl.value=null}}),(0,r.h)(a.Z,{key:"qedt_btm_upd",...e.buttonProps.value,label:e.$q.lang.label.update,noCaps:!0,onClick:t})])]}}var P=C(68234),_=C(93929),T=C(45607);const E=Object.prototype.toString,q=Object.prototype.hasOwnProperty,D=new Set(["Boolean","Number","String","Function","Array","Date","RegExp"].map((e=>"[object "+e+"]")));function R(e){if(e!==Object(e)||!0===D.has(E.call(e)))return!1;if(e.constructor&&!1===q.call(e,"constructor")&&!1===q.call(e.constructor.prototype,"isPrototypeOf"))return!1;let l;for(l in e);return void 0===l||q.call(e,l)}function N(){let e,l,C,r,t,o,i=arguments[0]||{},d=1,n=!1;const c=arguments.length;for("boolean"===typeof i&&(n=i,i=arguments[1]||{},d=2),Object(i)!==i&&"function"!==typeof i&&(i={}),c===d&&(i=this,d--);d0===e.length||e.every((e=>e.length)),default(){return[["left","center","right","justify"],["bold","italic","underline","strike"],["undo","redo"]]}},toolbarColor:String,toolbarBg:String,toolbarTextColor:String,toolbarToggleColor:{type:String,default:"primary"},toolbarOutline:Boolean,toolbarPush:Boolean,toolbarRounded:Boolean,paragraphTag:{type:String,validator:e=>["div","p"].includes(e),default:"div"},contentStyle:Object,contentClass:[Object,Array,String],square:Boolean,flat:Boolean,dense:Boolean},emits:[..._.fL,"update:modelValue","keydown","click","mouseup","keyup","touchend","focus","blur","dropdownShow","dropdownHide","dropdownBeforeShow","dropdownBeforeHide","linkShow","linkHide"],setup(e,{slots:l,emit:C,attrs:i}){const{proxy:d,vnode:n}=(0,r.FN)(),{$q:c}=d,a=(0,P.Z)(e,c),{inFullscreen:p,toggleFullscreen:f}=(0,_.ZP)(),s=(0,T.Z)(i,n),v=(0,t.iH)(null),h=(0,t.iH)(null),L=(0,t.iH)(null),g=(0,t.iH)(!1),Z=(0,r.Fl)((()=>!e.readonly&&!e.disable));let w,M,m=e.modelValue;document.execCommand("defaultParagraphSeparator",!1,e.paragraphTag),w=window.getComputedStyle(document.body).fontFamily;const H=(0,r.Fl)((()=>e.toolbarBg?` bg-${e.toolbarBg}`:"")),V=(0,r.Fl)((()=>{const l=!0!==e.toolbarOutline&&!0!==e.toolbarPush;return{type:"a",flat:l,noWrap:!0,outline:e.toolbarOutline,push:e.toolbarPush,rounded:e.toolbarRounded,dense:!0,color:e.toolbarColor,disable:!Z.value,size:"sm"}})),b=(0,r.Fl)((()=>{const l=c.lang.editor,C=c.iconSet.editor;return{bold:{cmd:"bold",icon:C.bold,tip:l.bold,key:66},italic:{cmd:"italic",icon:C.italic,tip:l.italic,key:73},strike:{cmd:"strikeThrough",icon:C.strikethrough,tip:l.strikethrough,key:83},underline:{cmd:"underline",icon:C.underline,tip:l.underline,key:85},unordered:{cmd:"insertUnorderedList",icon:C.unorderedList,tip:l.unorderedList},ordered:{cmd:"insertOrderedList",icon:C.orderedList,tip:l.orderedList},subscript:{cmd:"subscript",icon:C.subscript,tip:l.subscript,htmlTip:"x2"},superscript:{cmd:"superscript",icon:C.superscript,tip:l.superscript,htmlTip:"x2"},link:{cmd:"link",disable:e=>e.caret&&!e.caret.can("link"),icon:C.hyperlink,tip:l.hyperlink,key:76},fullscreen:{cmd:"fullscreen",icon:C.toggleFullscreen,tip:l.toggleFullscreen,key:70},viewsource:{cmd:"viewsource",icon:C.viewSource,tip:l.viewSource},quote:{cmd:"formatBlock",param:"BLOCKQUOTE",icon:C.quote,tip:l.quote,key:81},left:{cmd:"justifyLeft",icon:C.left,tip:l.left},center:{cmd:"justifyCenter",icon:C.center,tip:l.center},right:{cmd:"justifyRight",icon:C.right,tip:l.right},justify:{cmd:"justifyFull",icon:C.justify,tip:l.justify},print:{type:"no-state",cmd:"print",icon:C.print,tip:l.print,key:80},outdent:{type:"no-state",disable:e=>e.caret&&!e.caret.can("outdent"),cmd:"outdent",icon:C.outdent,tip:l.outdent},indent:{type:"no-state",disable:e=>e.caret&&!e.caret.can("indent"),cmd:"indent",icon:C.indent,tip:l.indent},removeFormat:{type:"no-state",cmd:"removeFormat",icon:C.removeFormat,tip:l.removeFormat},hr:{type:"no-state",cmd:"insertHorizontalRule",icon:C.hr,tip:l.hr},undo:{type:"no-state",cmd:"undo",icon:C.undo,tip:l.undo,key:90},redo:{type:"no-state",cmd:"redo",icon:C.redo,tip:l.redo,key:89},h1:{cmd:"formatBlock",param:"H1",icon:C.heading1||C.heading,tip:l.heading1,htmlTip:`

${l.heading1}

`},h2:{cmd:"formatBlock",param:"H2",icon:C.heading2||C.heading,tip:l.heading2,htmlTip:`

${l.heading2}

`},h3:{cmd:"formatBlock",param:"H3",icon:C.heading3||C.heading,tip:l.heading3,htmlTip:`

${l.heading3}

`},h4:{cmd:"formatBlock",param:"H4",icon:C.heading4||C.heading,tip:l.heading4,htmlTip:`

${l.heading4}

`},h5:{cmd:"formatBlock",param:"H5",icon:C.heading5||C.heading,tip:l.heading5,htmlTip:`
${l.heading5}
`},h6:{cmd:"formatBlock",param:"H6",icon:C.heading6||C.heading,tip:l.heading6,htmlTip:`
${l.heading6}
`},p:{cmd:"formatBlock",param:e.paragraphTag,icon:C.heading,tip:l.paragraph},code:{cmd:"formatBlock",param:"PRE",icon:C.code,htmlTip:`${l.code}`},"size-1":{cmd:"fontSize",param:"1",icon:C.size1||C.size,tip:l.size1,htmlTip:`${l.size1}`},"size-2":{cmd:"fontSize",param:"2",icon:C.size2||C.size,tip:l.size2,htmlTip:`${l.size2}`},"size-3":{cmd:"fontSize",param:"3",icon:C.size3||C.size,tip:l.size3,htmlTip:`${l.size3}`},"size-4":{cmd:"fontSize",param:"4",icon:C.size4||C.size,tip:l.size4,htmlTip:`${l.size4}`},"size-5":{cmd:"fontSize",param:"5",icon:C.size5||C.size,tip:l.size5,htmlTip:`${l.size5}`},"size-6":{cmd:"fontSize",param:"6",icon:C.size6||C.size,tip:l.size6,htmlTip:`${l.size6}`},"size-7":{cmd:"fontSize",param:"7",icon:C.size7||C.size,tip:l.size7,htmlTip:`${l.size7}`}}})),k=(0,r.Fl)((()=>{const l=e.definitions||{},C=e.definitions||e.fonts?N(!0,{},b.value,l,F(w,c.lang.editor.defaultFont,c.iconSet.editor.font,e.fonts)):b.value;return e.toolbar.map((e=>e.map((e=>{if(e.options)return{type:"dropdown",icon:e.icon,label:e.label,size:"sm",dense:!0,fixedLabel:e.fixedLabel,fixedIcon:e.fixedIcon,highlight:e.highlight,list:e.list,options:e.options.map((e=>C[e]))};const r=C[e];return r?"no-state"===r.type||l[e]&&(void 0===r.cmd||b.value[r.cmd]&&"no-state"===b.value[r.cmd].type)?r:Object.assign({type:"toggle"},r):{type:"slot",slot:e}}))))})),y={$q:c,props:e,slots:l,emit:C,inFullscreen:p,toggleFullscreen:f,runCmd:J,isViewingSource:g,editLinkUrl:L,toolbarBackgroundClass:H,buttonProps:V,contentRef:h,buttons:k,setContent:Q};(0,r.YP)((()=>e.modelValue),(e=>{m!==e&&(m=e,Q(e,!0))})),(0,r.YP)(L,(e=>{C("link"+(e?"Show":"Hide"))}));const A=(0,r.Fl)((()=>e.toolbar&&0!==e.toolbar.length)),B=(0,r.Fl)((()=>{const e={},l=l=>{l.key&&(e[l.key]={cmd:l.cmd,param:l.param})};return k.value.forEach((e=>{e.forEach((e=>{e.options?e.options.forEach(l):l(e)}))})),e})),E=(0,r.Fl)((()=>p.value?e.contentStyle:[{minHeight:e.minHeight,height:e.height,maxHeight:e.maxHeight},e.contentStyle])),q=(0,r.Fl)((()=>"q-editor q-editor--"+(!0===g.value?"source":"default")+(!0===e.disable?" disabled":"")+(!0===p.value?" fullscreen column":"")+(!0===e.square?" q-editor--square no-border-radius":"")+(!0===e.flat?" q-editor--flat":"")+(!0===e.dense?" q-editor--dense":"")+(!0===a.value?" q-editor--dark q-dark":""))),D=(0,r.Fl)((()=>[e.contentClass,"q-editor__content",{col:p.value,"overflow-auto":p.value||e.maxHeight}])),R=(0,r.Fl)((()=>!0===e.disable?{"aria-disabled":"true"}:!0===e.readonly?{"aria-readonly":"true"}:{}));function $(){if(null!==h.value){const l="inner"+(!0===g.value?"Text":"HTML"),r=h.value[l];r!==e.modelValue&&(m=r,C("update:modelValue",r))}}function U(e){if(C("keydown",e),!0!==e.ctrlKey||!0===(0,x.Wm)(e))return void ee();const l=e.keyCode,r=B.value[l];if(void 0!==r){const{cmd:l,param:C}=r;(0,o.NS)(e),J(l,C,!1)}}function j(e){ee(),C("click",e)}function z(e){if(null!==h.value){const{scrollTop:e,scrollHeight:l}=h.value;M=l-e}y.caret.save(),C("blur",e)}function Y(e){(0,r.Y3)((()=>{null!==h.value&&void 0!==M&&(h.value.scrollTop=h.value.scrollHeight-M)})),C("focus",e)}function G(e){const l=v.value;if(null!==l&&!0===l.contains(e.target)&&(null===e.relatedTarget||!0!==l.contains(e.relatedTarget))){const e="inner"+(!0===g.value?"Text":"HTML");y.caret.restorePosition(h.value[e].length),ee()}}function W(e){const l=v.value;null===l||!0!==l.contains(e.target)||null!==e.relatedTarget&&!0===l.contains(e.relatedTarget)||(y.caret.savePosition(),ee())}function K(){M=void 0}function X(e){y.caret.save()}function Q(e,l){if(null!==h.value){!0===l&&y.caret.savePosition();const C="inner"+(!0===g.value?"Text":"HTML");h.value[C]=e,!0===l&&(y.caret.restorePosition(h.value[C].length),ee())}}function J(e,l,C=!0){le(),y.caret.restore(),y.caret.apply(e,l,(()=>{le(),y.caret.save(),C&&ee()}))}function ee(){setTimeout((()=>{L.value=null,d.$forceUpdate()}),1)}function le(){(0,I.jd)((()=>{null!==h.value&&h.value.focus({preventScroll:!0})}))}function Ce(){return h.value}return(0,r.bv)((()=>{y.caret=d.caret=new u(h.value,y),Q(e.modelValue),ee(),document.addEventListener("selectionchange",X)})),(0,r.Jd)((()=>{document.removeEventListener("selectionchange",X)})),Object.assign(d,{runCmd:J,refreshToolbar:ee,focus:le,getContentEl:Ce}),()=>{let l;if(A.value){const e=[(0,r.h)("div",{key:"qedt_top",class:"q-editor__toolbar row no-wrap scroll-x"+H.value},O(y))];null!==L.value&&e.push((0,r.h)("div",{key:"qedt_btm",class:"q-editor__toolbar row no-wrap items-center scroll-x"+H.value},S(y))),l=(0,r.h)("div",{key:"toolbar_ctainer",class:"q-editor__toolbars-container"},e)}return(0,r.h)("div",{ref:v,class:q.value,style:{height:!0===p.value?"100%":null},...R.value,onFocusin:G,onFocusout:W},[l,(0,r.h)("div",{ref:h,style:E.value,class:D.value,contenteditable:Z.value,placeholder:e.placeholder,...s.listeners.value,onInput:$,onKeydown:U,onClick:j,onBlur:z,onFocus:Y,onMousedown:K,onTouchstartPassive:K})])}}})},16602:(e,l,C)=>{"use strict";C.d(l,{Z:()=>c});C(69665);var r=C(59835),t=C(60499),o=C(60883),i=C(65987),d=C(22026),n=C(95439);const c=(0,i.L)({name:"QHeader",props:{modelValue:{type:Boolean,default:!0},reveal:Boolean,revealOffset:{type:Number,default:250},bordered:Boolean,elevated:Boolean,heightHint:{type:[String,Number],default:50}},emits:["reveal","focusin"],setup(e,{slots:l,emit:C}){const{proxy:{$q:i}}=(0,r.FN)(),c=(0,r.f3)(n.YE,n.qO);if(c===n.qO)return console.error("QHeader needs to be child of QLayout"),n.qO;const u=(0,t.iH)(parseInt(e.heightHint,10)),a=(0,t.iH)(!0),p=(0,r.Fl)((()=>!0===e.reveal||c.view.value.indexOf("H")>-1||i.platform.is.ios&&!0===c.isContainer.value)),f=(0,r.Fl)((()=>{if(!0!==e.modelValue)return 0;if(!0===p.value)return!0===a.value?u.value:0;const l=u.value-c.scroll.value.position;return l>0?l:0})),s=(0,r.Fl)((()=>!0!==e.modelValue||!0===p.value&&!0!==a.value)),v=(0,r.Fl)((()=>!0===e.modelValue&&!0===s.value&&!0===e.reveal)),h=(0,r.Fl)((()=>"q-header q-layout__section--marginal "+(!0===p.value?"fixed":"absolute")+"-top"+(!0===e.bordered?" q-header--bordered":"")+(!0===s.value?" q-header--hidden":"")+(!0!==e.modelValue?" q-layout--prevent-focus":""))),L=(0,r.Fl)((()=>{const e=c.rows.value.top,l={};return"l"===e[0]&&!0===c.left.space&&(l[!0===i.lang.rtl?"right":"left"]=`${c.left.size}px`),"r"===e[2]&&!0===c.right.space&&(l[!0===i.lang.rtl?"left":"right"]=`${c.right.size}px`),l}));function g(e,l){c.update("header",e,l)}function Z(e,l){e.value!==l&&(e.value=l)}function w({height:e}){Z(u,e),g("size",e)}function M(e){!0===v.value&&Z(a,!0),C("focusin",e)}(0,r.YP)((()=>e.modelValue),(e=>{g("space",e),Z(a,!0),c.animate()})),(0,r.YP)(f,(e=>{g("offset",e)})),(0,r.YP)((()=>e.reveal),(l=>{!1===l&&Z(a,e.modelValue)})),(0,r.YP)(a,(e=>{c.animate(),C("reveal",e)})),(0,r.YP)(c.scroll,(l=>{!0===e.reveal&&Z(a,"up"===l.direction||l.position<=e.revealOffset||l.position-l.inflectionPoint<100)}));const m={};return c.instances.header=m,!0===e.modelValue&&g("size",u.value),g("space",e.modelValue),g("offset",f.value),(0,r.Jd)((()=>{c.instances.header===m&&(c.instances.header=void 0,g("size",0),g("offset",0),g("space",!1))})),()=>{const C=(0,d.Bl)(l.default,[]);return!0===e.elevated&&C.push((0,r.h)("div",{class:"q-layout__shadow absolute-full overflow-hidden no-pointer-events"})),C.push((0,r.h)(o.Z,{debounce:0,onResize:w})),(0,r.h)("header",{class:h.value,style:L.value,onFocusin:M},C)}}})},22857:(e,l,C)=>{"use strict";C.d(l,{Z:()=>M});var r=C(59835),t=C(20244),o=C(65987),i=C(22026);const d="0 0 24 24",n=e=>e,c=e=>`ionicons ${e}`,u={"mdi-":e=>`mdi ${e}`,"icon-":n,"bt-":e=>`bt ${e}`,"eva-":e=>`eva ${e}`,"ion-md":c,"ion-ios":c,"ion-logo":c,"iconfont ":n,"ti-":e=>`themify-icon ${e}`,"bi-":e=>`bootstrap-icons ${e}`},a={o_:"-outlined",r_:"-round",s_:"-sharp"},p={sym_o_:"-outlined",sym_r_:"-rounded",sym_s_:"-sharp"},f=new RegExp("^("+Object.keys(u).join("|")+")"),s=new RegExp("^("+Object.keys(a).join("|")+")"),v=new RegExp("^("+Object.keys(p).join("|")+")"),h=/^[Mm]\s?[-+]?\.?\d/,L=/^img:/,g=/^svguse:/,Z=/^ion-/,w=/^(fa-(sharp|solid|regular|light|brands|duotone|thin)|[lf]a[srlbdk]?) /,M=(0,o.L)({name:"QIcon",props:{...t.LU,tag:{type:String,default:"i"},name:String,color:String,left:Boolean,right:Boolean},setup(e,{slots:l}){const{proxy:{$q:C}}=(0,r.FN)(),o=(0,t.ZP)(e),n=(0,r.Fl)((()=>"q-icon"+(!0===e.left?" on-left":"")+(!0===e.right?" on-right":"")+(void 0!==e.color?` text-${e.color}`:""))),c=(0,r.Fl)((()=>{let l,t=e.name;if("none"===t||!t)return{none:!0};if(null!==C.iconMapFn){const e=C.iconMapFn(t);if(void 0!==e){if(void 0===e.icon)return{cls:e.cls,content:void 0!==e.content?e.content:" "};if(t=e.icon,"none"===t||!t)return{none:!0}}}if(!0===h.test(t)){const[e,l=d]=t.split("|");return{svg:!0,viewBox:l,nodes:e.split("&&").map((e=>{const[l,C,t]=e.split("@@");return(0,r.h)("path",{style:C,d:l,transform:t})}))}}if(!0===L.test(t))return{img:!0,src:t.substring(4)};if(!0===g.test(t)){const[e,l=d]=t.split("|");return{svguse:!0,src:e.substring(7),viewBox:l}}let o=" ";const i=t.match(f);if(null!==i)l=u[i[1]](t);else if(!0===w.test(t))l=t;else if(!0===Z.test(t))l=`ionicons ion-${!0===C.platform.is.ios?"ios":"md"}${t.substring(3)}`;else if(!0===v.test(t)){l="notranslate material-symbols";const e=t.match(v);null!==e&&(t=t.substring(6),l+=p[e[1]]),o=t}else{l="notranslate material-icons";const e=t.match(s);null!==e&&(t=t.substring(2),l+=a[e[1]]),o=t}return{cls:l,content:o}}));return()=>{const C={class:n.value,style:o.value,"aria-hidden":"true",role:"presentation"};return!0===c.value.none?(0,r.h)(e.tag,C,(0,i.KR)(l.default)):!0===c.value.img?(0,r.h)("span",C,(0,i.vs)(l.default,[(0,r.h)("img",{src:c.value.src})])):!0===c.value.svg?(0,r.h)("span",C,(0,i.vs)(l.default,[(0,r.h)("svg",{viewBox:c.value.viewBox||"0 0 24 24"},c.value.nodes)])):!0===c.value.svguse?(0,r.h)("span",C,(0,i.vs)(l.default,[(0,r.h)("svg",{viewBox:c.value.viewBox},[(0,r.h)("use",{"xlink:href":c.value.src})])])):(void 0!==c.value.cls&&(C.class+=" "+c.value.cls),(0,r.h)(e.tag,C,(0,i.vs)(l.default,[c.value.content])))}}})},70335:(e,l,C)=>{"use strict";C.d(l,{Z:()=>p});C(69665);var r=C(60499),t=C(59835),o=C(61957),i=C(13902);const d={ratio:[String,Number]};function n(e,l){return(0,t.Fl)((()=>{const C=Number(e.ratio||(void 0!==l?l.value:void 0));return!0!==isNaN(C)&&C>0?{paddingBottom:100/C+"%"}:null}))}var c=C(65987),u=C(22026);const a=16/9,p=(0,c.L)({name:"QImg",props:{...d,src:String,srcset:String,sizes:String,alt:String,crossorigin:String,decoding:String,referrerpolicy:String,draggable:Boolean,loading:{type:String,default:"lazy"},fetchpriority:{type:String,default:"auto"},width:String,height:String,initialRatio:{type:[Number,String],default:a},placeholderSrc:String,fit:{type:String,default:"cover"},position:{type:String,default:"50% 50%"},imgClass:String,imgStyle:Object,noSpinner:Boolean,noNativeMenu:Boolean,noTransition:Boolean,spinnerColor:String,spinnerSize:String},emits:["load","error"],setup(e,{slots:l,emit:C}){const d=(0,r.iH)(e.initialRatio),c=n(e,d);let a=null,p=!1;const f=[(0,r.iH)(null),(0,r.iH)(m())],s=(0,r.iH)(0),v=(0,r.iH)(!1),h=(0,r.iH)(!1),L=(0,t.Fl)((()=>`q-img q-img--${!0===e.noNativeMenu?"no-":""}menu`)),g=(0,t.Fl)((()=>({width:e.width,height:e.height}))),Z=(0,t.Fl)((()=>"q-img__image "+(void 0!==e.imgClass?e.imgClass+" ":"")+`q-img__image--with${!0===e.noTransition?"out":""}-transition`)),w=(0,t.Fl)((()=>({...e.imgStyle,objectFit:e.fit,objectPosition:e.position})));function M(){return e.src||e.srcset||e.sizes?{src:e.src,srcset:e.srcset,sizes:e.sizes}:null}function m(){return void 0!==e.placeholderSrc?{src:e.placeholderSrc}:null}function H(e){null!==a&&(clearTimeout(a),a=null),h.value=!1,null===e?(v.value=!1,f[1^s.value].value=m()):v.value=!0,f[s.value].value=e}function V({target:e}){!0!==p&&(null!==a&&(clearTimeout(a),a=null),d.value=0===e.naturalHeight?.5:e.naturalWidth/e.naturalHeight,b(e,1))}function b(e,l){!0!==p&&1e3!==l&&(!0===e.complete?x(e):a=setTimeout((()=>{a=null,b(e,l+1)}),50))}function x(e){!0!==p&&(s.value=1^s.value,f[s.value].value=null,v.value=!1,h.value=!1,C("load",e.currentSrc||e.src))}function k(e){null!==a&&(clearTimeout(a),a=null),v.value=!1,h.value=!0,f[s.value].value=null,f[1^s.value].value=m(),C("error",e)}function y(l){const C=f[l].value,r={key:"img_"+l,class:Z.value,style:w.value,crossorigin:e.crossorigin,decoding:e.decoding,referrerpolicy:e.referrerpolicy,height:e.height,width:e.width,loading:e.loading,fetchpriority:e.fetchpriority,"aria-hidden":"true",draggable:e.draggable,...C};return s.value===l?(r.class+=" q-img__image--waiting",Object.assign(r,{onLoad:V,onError:k})):r.class+=" q-img__image--loaded",(0,t.h)("div",{class:"q-img__container absolute-full",key:"img"+l},(0,t.h)("img",r))}function A(){return!0!==v.value?(0,t.h)("div",{key:"content",class:"q-img__content absolute-full q-anchor--skip"},(0,u.KR)(l[!0===h.value?"error":"default"])):(0,t.h)("div",{key:"loading",class:"q-img__loading absolute-full flex flex-center"},void 0!==l.loading?l.loading():!0===e.noSpinner?void 0:[(0,t.h)(i.Z,{color:e.spinnerColor,size:e.spinnerSize})])}return(0,t.YP)((()=>M()),H),H(M()),(0,t.Jd)((()=>{p=!0,null!==a&&(clearTimeout(a),a=null)})),()=>{const l=[];return null!==c.value&&l.push((0,t.h)("div",{key:"filler",style:c.value})),!0!==h.value&&(null!==f[0].value&&l.push(y(0)),null!==f[1].value&&l.push(y(1))),l.push((0,t.h)(o.uT,{name:"q-transition--fade"},A)),(0,t.h)("div",{class:L.value,style:g.value,role:"img","aria-label":e.alt},l)}}})},66611:(e,l,C)=>{"use strict";C.d(l,{Z:()=>m});var r=C(59835),t=C(60499),o=C(76404),i=(C(69665),C(61705));const d={date:"####/##/##",datetime:"####/##/## ##:##",time:"##:##",fulltime:"##:##:##",phone:"(###) ### - ####",card:"#### #### #### ####"},n={"#":{pattern:"[\\d]",negate:"[^\\d]"},S:{pattern:"[a-zA-Z]",negate:"[^a-zA-Z]"},N:{pattern:"[0-9a-zA-Z]",negate:"[^0-9a-zA-Z]"},A:{pattern:"[a-zA-Z]",negate:"[^a-zA-Z]",transform:e=>e.toLocaleUpperCase()},a:{pattern:"[a-zA-Z]",negate:"[^a-zA-Z]",transform:e=>e.toLocaleLowerCase()},X:{pattern:"[0-9a-zA-Z]",negate:"[^0-9a-zA-Z]",transform:e=>e.toLocaleUpperCase()},x:{pattern:"[0-9a-zA-Z]",negate:"[^0-9a-zA-Z]",transform:e=>e.toLocaleLowerCase()}},c=Object.keys(n);c.forEach((e=>{n[e].regex=new RegExp(n[e].pattern)}));const u=new RegExp("\\\\([^.*+?^${}()|([\\]])|([.*+?^${}()|[\\]])|(["+c.join("")+"])|(.)","g"),a=/[.*+?^${}()|[\]\\]/g,p=String.fromCharCode(1),f={mask:String,reverseFillMask:Boolean,fillMask:[Boolean,String],unmaskedValue:Boolean};function s(e,l,C,o){let c,f,s,v,h,L;const g=(0,t.iH)(null),Z=(0,t.iH)(M());function w(){return!0===e.autogrow||["textarea","text","search","url","tel","password"].includes(e.type)}function M(){if(H(),!0===g.value){const l=A(O(e.modelValue));return!1!==e.fillMask?F(l):l}return e.modelValue}function m(e){if(e-1){for(let r=e-C.length;r>0;r--)l+=p;C=C.slice(0,r)+l+C.slice(r)}return C}function H(){if(g.value=void 0!==e.mask&&0!==e.mask.length&&w(),!1===g.value)return v=void 0,c="",void(f="");const l=void 0===d[e.mask]?e.mask:d[e.mask],C="string"===typeof e.fillMask&&0!==e.fillMask.length?e.fillMask.slice(0,1):"_",r=C.replace(a,"\\$&"),t=[],o=[],i=[];let h=!0===e.reverseFillMask,L="",Z="";l.replace(u,((e,l,C,r,d)=>{if(void 0!==r){const e=n[r];i.push(e),Z=e.negate,!0===h&&(o.push("(?:"+Z+"+)?("+e.pattern+"+)?(?:"+Z+"+)?("+e.pattern+"+)?"),h=!1),o.push("(?:"+Z+"+)?("+e.pattern+")?")}else if(void 0!==C)L="\\"+("\\"===C?"":C),i.push(C),t.push("([^"+L+"]+)?"+L+"?");else{const e=void 0!==l?l:d;L="\\"===e?"\\\\\\\\":e.replace(a,"\\\\$&"),i.push(e),t.push("([^"+L+"]+)?"+L+"?")}}));const M=new RegExp("^"+t.join("")+"("+(""===L?".":"[^"+L+"]")+"+)?"+(""===L?"":"["+L+"]*")+"$"),m=o.length-1,H=o.map(((l,C)=>0===C&&!0===e.reverseFillMask?new RegExp("^"+r+"*"+l):C===m?new RegExp("^"+l+"("+(""===Z?".":Z)+"+)?"+(!0===e.reverseFillMask?"$":r+"*")):new RegExp("^"+l)));s=i,v=l=>{const C=M.exec(!0===e.reverseFillMask?l:l.slice(0,i.length+1));null!==C&&(l=C.slice(1).join(""));const r=[],t=H.length;for(let e=0,o=l;e"string"===typeof e?e:p)).join(""),f=c.split(p).join(C)}function V(l,t,i){const d=o.value,n=d.selectionEnd,u=d.value.length-n,a=O(l);!0===t&&H();const s=A(a),v=!1!==e.fillMask?F(s):s,L=Z.value!==v;d.value!==v&&(d.value=v),!0===L&&(Z.value=v),document.activeElement===d&&(0,r.Y3)((()=>{if(v!==f)if("insertFromPaste"!==i||!0===e.reverseFillMask)if(["deleteContentBackward","deleteContentForward"].indexOf(i)>-1){const l=!0===e.reverseFillMask?0===n?v.length>s.length?1:0:Math.max(0,v.length-(v===f?0:Math.min(s.length,u)+1))+1:n;d.setSelectionRange(l,l,"forward")}else if(!0===e.reverseFillMask)if(!0===L){const e=Math.max(0,v.length-(v===f?0:Math.min(s.length,u+1)));1===e&&1===n?d.setSelectionRange(e,e,"forward"):x.rightReverse(d,e)}else{const e=v.length-u;d.setSelectionRange(e,e,"backward")}else if(!0===L){const e=Math.max(0,c.indexOf(p),Math.min(s.length,n)-1);x.right(d,e)}else{const e=n-1;x.right(d,e)}else{const e=d.selectionEnd;let l=n-1;for(let C=h;C<=l&&Ce.type+e.autogrow),H),(0,r.YP)((()=>e.mask),(C=>{if(void 0!==C)V(Z.value,!0);else{const C=O(Z.value);H(),e.modelValue!==C&&l("update:modelValue",C)}})),(0,r.YP)((()=>e.fillMask+e.reverseFillMask),(()=>{!0===g.value&&V(Z.value,!0)})),(0,r.YP)((()=>e.unmaskedValue),(()=>{!0===g.value&&V(Z.value)}));const x={left(e,l){const C=-1===c.slice(l-1).indexOf(p);let r=Math.max(0,l-1);for(;r>=0;r--)if(c[r]===p){l=r,!0===C&&l++;break}if(r<0&&void 0!==c[l]&&c[l]!==p)return x.right(e,0);l>=0&&e.setSelectionRange(l,l,"backward")},right(e,l){const C=e.value.length;let r=Math.min(C,l+1);for(;r<=C;r++){if(c[r]===p){l=r;break}c[r-1]===p&&(l=r)}if(r>C&&void 0!==c[l-1]&&c[l-1]!==p)return x.left(e,C);e.setSelectionRange(l,l,"forward")},leftReverse(e,l){const C=m(e.value.length);let r=Math.max(0,l-1);for(;r>=0;r--){if(C[r-1]===p){l=r;break}if(C[r]===p&&(l=r,0===r))break}if(r<0&&void 0!==C[l]&&C[l]!==p)return x.rightReverse(e,0);l>=0&&e.setSelectionRange(l,l,"backward")},rightReverse(e,l){const C=e.value.length,r=m(C),t=-1===r.slice(0,l+1).indexOf(p);let o=Math.min(C,l+1);for(;o<=C;o++)if(r[o-1]===p){l=o,l>0&&!0===t&&l--;break}if(o>C&&void 0!==r[l-1]&&r[l-1]!==p)return x.leftReverse(e,C);e.setSelectionRange(l,l,"forward")}};function k(e){l("click",e),L=void 0}function y(C){if(l("keydown",C),!0===(0,i.Wm)(C)||!0===C.altKey)return;const r=o.value,t=r.selectionStart,d=r.selectionEnd;if(C.shiftKey||(L=void 0),37===C.keyCode||39===C.keyCode){C.shiftKey&&void 0===L&&(L="forward"===r.selectionDirection?t:d);const l=x[(39===C.keyCode?"right":"left")+(!0===e.reverseFillMask?"Reverse":"")];if(C.preventDefault(),l(r,L===t?d:t),C.shiftKey){const e=r.selectionStart;r.setSelectionRange(Math.min(L,e),Math.max(L,e),"forward")}}else 8===C.keyCode&&!0!==e.reverseFillMask&&t===d?(x.left(r,t),r.setSelectionRange(r.selectionStart,d,"backward")):46===C.keyCode&&!0===e.reverseFillMask&&t===d&&(x.rightReverse(r,d),r.setSelectionRange(t,r.selectionEnd,"forward"))}function A(l){if(void 0===l||null===l||""===l)return"";if(!0===e.reverseFillMask)return B(l);const C=s;let r=0,t="";for(let e=0;e=0&&r>-1;o--){const i=l[o];let d=e[r];if("string"===typeof i)t=i+t,d===i&&r--;else{if(void 0===d||!i.regex.test(d))return t;do{t=(void 0!==i.transform?i.transform(d):d)+t,r--,d=e[r]}while(C===o&&void 0!==d&&i.regex.test(d))}}return t}function O(e){return"string"!==typeof e||void 0===v?"number"===typeof e?v(""+e):e:v(e)}function F(l){return f.length-l.length<=0?l:!0===e.reverseFillMask&&0!==l.length?f.slice(0,-l.length)+l:l+f.slice(l.length)}return{innerValue:Z,hasMask:g,moveCursorForPaste:b,updateMaskValue:V,onMaskedKeydown:y,onMaskedClick:k}}var v=C(99256);function h(e,l){function C(){const l=e.modelValue;try{const e="DataTransfer"in window?new DataTransfer:"ClipboardEvent"in window?new ClipboardEvent("").clipboardData:void 0;return Object(l)===l&&("length"in l?Array.from(l):[l]).forEach((l=>{e.items.add(l)})),{files:e.files}}catch(C){return{files:void 0}}}return!0===l?(0,r.Fl)((()=>{if("file"===e.type)return C()})):(0,r.Fl)(C)}var L=C(62802),g=C(65987),Z=C(91384),w=C(17026),M=C(43251);const m=(0,g.L)({name:"QInput",inheritAttrs:!1,props:{...o.Cl,...f,...v.Fz,modelValue:{required:!1},shadowText:String,type:{type:String,default:"text"},debounce:[String,Number],autogrow:Boolean,inputClass:[Array,String,Object],inputStyle:[Array,String,Object]},emits:[...o.HJ,"paste","change","keydown","click","animationend"],setup(e,{emit:l,attrs:C}){const{proxy:i}=(0,r.FN)(),{$q:d}=i,n={};let c,u,a,p=NaN,f=null;const g=(0,t.iH)(null),m=(0,v.Do)(e),{innerValue:H,hasMask:V,moveCursorForPaste:b,updateMaskValue:x,onMaskedKeydown:k,onMaskedClick:y}=s(e,l,I,g),A=h(e,!0),B=(0,r.Fl)((()=>(0,o.yV)(H.value))),O=(0,L.Z)(R),F=(0,o.tL)(),S=(0,r.Fl)((()=>"textarea"===e.type||!0===e.autogrow)),P=(0,r.Fl)((()=>!0===S.value||["text","search","url","tel","password"].includes(e.type))),_=(0,r.Fl)((()=>{const l={...F.splitAttrs.listeners.value,onInput:R,onPaste:D,onChange:U,onBlur:j,onFocus:Z.sT};return l.onCompositionstart=l.onCompositionupdate=l.onCompositionend=O,!0===V.value&&(l.onKeydown=k,l.onClick=y),!0===e.autogrow&&(l.onAnimationend=N),l})),T=(0,r.Fl)((()=>{const l={tabindex:0,"data-autofocus":!0===e.autofocus||void 0,rows:"textarea"===e.type?6:void 0,"aria-label":e.label,name:m.value,...F.splitAttrs.attributes.value,id:F.targetUid.value,maxlength:e.maxlength,disabled:!0===e.disable,readonly:!0===e.readonly};return!1===S.value&&(l.type=e.type),!0===e.autogrow&&(l.rows=1),l}));function E(){(0,w.jd)((()=>{const e=document.activeElement;null===g.value||g.value===e||null!==e&&e.id===F.targetUid.value||g.value.focus({preventScroll:!0})}))}function q(){null!==g.value&&g.value.select()}function D(C){if(!0===V.value&&!0!==e.reverseFillMask){const e=C.target;b(e,e.selectionStart,e.selectionEnd)}l("paste",C)}function R(C){if(!C||!C.target)return;if("file"===e.type)return void l("update:modelValue",C.target.files);const t=C.target.value;if(!0!==C.target.qComposing){if(!0===V.value)x(t,!1,C.inputType);else if(I(t),!0===P.value&&C.target===document.activeElement){const{selectionStart:e,selectionEnd:l}=C.target;void 0!==e&&void 0!==l&&(0,r.Y3)((()=>{C.target===document.activeElement&&0===t.indexOf(C.target.value)&&C.target.setSelectionRange(e,l)}))}!0===e.autogrow&&$()}else n.value=t}function N(e){l("animationend",e),$()}function I(C,t){a=()=>{f=null,"number"!==e.type&&!0===n.hasOwnProperty("value")&&delete n.value,e.modelValue!==C&&p!==C&&(p=C,!0===t&&(u=!0),l("update:modelValue",C),(0,r.Y3)((()=>{p===C&&(p=NaN)}))),a=void 0},"number"===e.type&&(c=!0,n.value=C),void 0!==e.debounce?(null!==f&&clearTimeout(f),n.value=C,f=setTimeout(a,e.debounce)):a()}function $(){requestAnimationFrame((()=>{const e=g.value;if(null!==e){const l=e.parentNode.style,{scrollTop:C}=e,{overflowY:r,maxHeight:t}=!0===d.platform.is.firefox?{}:window.getComputedStyle(e),o=void 0!==r&&"scroll"!==r;!0===o&&(e.style.overflowY="hidden"),l.marginBottom=e.scrollHeight-1+"px",e.style.height="1px",e.style.height=e.scrollHeight+"px",!0===o&&(e.style.overflowY=parseInt(t,10){null!==g.value&&(g.value.value=void 0!==H.value?H.value:"")}))}function z(){return!0===n.hasOwnProperty("value")?n.value:void 0!==H.value?H.value:""}(0,r.YP)((()=>e.type),(()=>{g.value&&(g.value.value=e.modelValue)})),(0,r.YP)((()=>e.modelValue),(l=>{if(!0===V.value){if(!0===u&&(u=!1,String(l)===p))return;x(l)}else H.value!==l&&(H.value=l,"number"===e.type&&!0===n.hasOwnProperty("value")&&(!0===c?c=!1:delete n.value));!0===e.autogrow&&(0,r.Y3)($)})),(0,r.YP)((()=>e.autogrow),(e=>{!0===e?(0,r.Y3)($):null!==g.value&&C.rows>0&&(g.value.style.height="auto")})),(0,r.YP)((()=>e.dense),(()=>{!0===e.autogrow&&(0,r.Y3)($)})),(0,r.Jd)((()=>{j()})),(0,r.bv)((()=>{!0===e.autogrow&&$()})),Object.assign(F,{innerValue:H,fieldClass:(0,r.Fl)((()=>"q-"+(!0===S.value?"textarea":"input")+(!0===e.autogrow?" q-textarea--autogrow":""))),hasShadow:(0,r.Fl)((()=>"file"!==e.type&&"string"===typeof e.shadowText&&0!==e.shadowText.length)),inputRef:g,emitValue:I,hasValue:B,floatingLabel:(0,r.Fl)((()=>!0===B.value&&("number"!==e.type||!1===isNaN(H.value))||(0,o.yV)(e.displayValue))),getControl:()=>(0,r.h)(!0===S.value?"textarea":"input",{ref:g,class:["q-field__native q-placeholder",e.inputClass],style:e.inputStyle,...T.value,..._.value,..."file"!==e.type?{value:z()}:A.value}),getShadowControl:()=>(0,r.h)("div",{class:"q-field__native q-field__shadow absolute-bottom no-pointer-events"+(!0===S.value?"":" text-no-wrap")},[(0,r.h)("span",{class:"invisible"},z()),(0,r.h)("span",e.shadowText)])});const Y=(0,o.ZP)(F);return Object.assign(i,{focus:E,select:q,getNativeElement:()=>g.value}),(0,M.g)(i,"nativeEl",(()=>g.value)),Y}})},21517:(e,l,C)=>{"use strict";C.d(l,{Z:()=>s});var r=C(60499),t=C(59835),o=C(61957),i=C(47506),d=C(65987),n=C(4680);const c={threshold:0,root:null,rootMargin:"0px"};function u(e,l,C){let r,t,o;"function"===typeof C?(r=C,t=c,o=void 0===l.cfg):(r=C.handler,t=Object.assign({},c,C.cfg),o=void 0===l.cfg||!1===(0,n.xb)(l.cfg,t)),l.handler!==r&&(l.handler=r),!0===o&&(l.cfg=t,void 0!==l.observer&&l.observer.unobserve(e),l.observer=new IntersectionObserver((([C])=>{if("function"===typeof l.handler){if(null===C.rootBounds&&!0===document.body.contains(e))return l.observer.unobserve(e),void l.observer.observe(e);const r=l.handler(C,l.observer);(!1===r||!0===l.once&&!0===C.isIntersecting)&&a(e)}}),t),l.observer.observe(e))}function a(e){const l=e.__qvisible;void 0!==l&&(void 0!==l.observer&&l.observer.unobserve(e),delete e.__qvisible)}const p=(0,d.f)({name:"intersection",mounted(e,{modifiers:l,value:C}){const r={once:!0===l.once};u(e,r,C),e.__qvisible=r},updated(e,l){const C=e.__qvisible;void 0!==C&&u(e,C,l.value)},beforeUnmount:a});var f=C(22026);const s=(0,d.L)({name:"QIntersection",props:{tag:{type:String,default:"div"},once:Boolean,transition:String,transitionDuration:{type:[String,Number],default:300},ssrPrerender:Boolean,margin:String,threshold:[Number,Array],root:{default:null},disable:Boolean,onVisibility:Function},setup(e,{slots:l,emit:C}){const d=(0,r.iH)(!0===i.uX.value&&e.ssrPrerender),n=(0,t.Fl)((()=>void 0!==e.root||void 0!==e.margin||void 0!==e.threshold?{handler:s,cfg:{root:e.root,rootMargin:e.margin,threshold:e.threshold}}:s)),c=(0,t.Fl)((()=>!0!==e.disable&&(!0!==i.uX.value||!0!==e.once||!0!==e.ssrPrerender))),u=(0,t.Fl)((()=>[[p,n.value,void 0,{once:e.once}]])),a=(0,t.Fl)((()=>`--q-transition-duration: ${e.transitionDuration}ms`));function s(l){d.value!==l.isIntersecting&&(d.value=l.isIntersecting,void 0!==e.onVisibility&&C("visibility",d.value))}function v(){return!0===d.value?[(0,t.h)("div",{key:"content",style:a.value},(0,f.KR)(l.default))]:void 0!==l.hidden?[(0,t.h)("div",{key:"hidden",style:a.value},l.hidden())]:void 0}return()=>{const l=e.transition?[(0,t.h)(o.uT,{name:"q-transition--"+e.transition},v)]:v();return(0,f.Jl)(e.tag,{class:"q-intersection"},l,"main",c.value,(()=>u.value))}}})},490:(e,l,C)=>{"use strict";C.d(l,{Z:()=>a});C(86890);var r=C(59835),t=C(60499),o=C(68234),i=C(70945),d=C(65987),n=C(22026),c=C(91384),u=C(61705);const a=(0,d.L)({name:"QItem",props:{...o.S,...i.$,tag:{type:String,default:"div"},active:{type:Boolean,default:null},clickable:Boolean,dense:Boolean,insetLevel:Number,tabindex:[String,Number],focused:Boolean,manualFocus:Boolean},emits:["click","keyup"],setup(e,{slots:l,emit:C}){const{proxy:{$q:d}}=(0,r.FN)(),a=(0,o.Z)(e,d),{hasLink:p,linkAttrs:f,linkClass:s,linkTag:v,navigateOnClick:h}=(0,i.Z)(),L=(0,t.iH)(null),g=(0,t.iH)(null),Z=(0,r.Fl)((()=>!0===e.clickable||!0===p.value||"label"===e.tag)),w=(0,r.Fl)((()=>!0!==e.disable&&!0===Z.value)),M=(0,r.Fl)((()=>"q-item q-item-type row no-wrap"+(!0===e.dense?" q-item--dense":"")+(!0===a.value?" q-item--dark":"")+(!0===p.value&&null===e.active?s.value:!0===e.active?" q-item--active"+(void 0!==e.activeClass?` ${e.activeClass}`:""):"")+(!0===e.disable?" disabled":"")+(!0===w.value?" q-item--clickable q-link cursor-pointer "+(!0===e.manualFocus?"q-manual-focusable":"q-focusable q-hoverable")+(!0===e.focused?" q-manual-focusable--focused":""):""))),m=(0,r.Fl)((()=>{if(void 0===e.insetLevel)return null;const l=!0===d.lang.rtl?"Right":"Left";return{["padding"+l]:16+56*e.insetLevel+"px"}}));function H(e){!0===w.value&&(null!==g.value&&(!0!==e.qKeyEvent&&document.activeElement===L.value?g.value.focus():document.activeElement===g.value&&L.value.focus()),h(e))}function V(e){if(!0===w.value&&!0===(0,u.So)(e,13)){(0,c.NS)(e),e.qKeyEvent=!0;const l=new MouseEvent("click",e);l.qKeyEvent=!0,L.value.dispatchEvent(l)}C("keyup",e)}function b(){const e=(0,n.Bl)(l.default,[]);return!0===w.value&&e.unshift((0,r.h)("div",{class:"q-focus-helper",tabindex:-1,ref:g})),e}return()=>{const l={ref:L,class:M.value,style:m.value,role:"listitem",onClick:H,onKeyup:V};return!0===w.value?(l.tabindex=e.tabindex||"0",Object.assign(l,f.value)):!0===Z.value&&(l["aria-disabled"]="true"),(0,r.h)(v.value,l,b())}}})},76749:(e,l,C)=>{"use strict";C.d(l,{Z:()=>i});var r=C(59835),t=C(65987),o=C(22026);const i=(0,t.L)({name:"QItemSection",props:{avatar:Boolean,thumbnail:Boolean,side:Boolean,top:Boolean,noWrap:Boolean},setup(e,{slots:l}){const C=(0,r.Fl)((()=>"q-item__section column q-item__section--"+(!0===e.avatar||!0===e.side||!0===e.thumbnail?"side":"main")+(!0===e.top?" q-item__section--top justify-start":" justify-center")+(!0===e.avatar?" q-item__section--avatar":"")+(!0===e.thumbnail?" q-item__section--thumbnail":"")+(!0===e.noWrap?" q-item__section--nowrap":"")));return()=>(0,r.h)("div",{class:C.value},(0,o.KR)(l.default))}})},13246:(e,l,C)=>{"use strict";C.d(l,{Z:()=>d});var r=C(59835),t=C(65987),o=C(68234),i=C(22026);const d=(0,t.L)({name:"QList",props:{...o.S,bordered:Boolean,dense:Boolean,separator:Boolean,padding:Boolean,tag:{type:String,default:"div"}},setup(e,{slots:l}){const C=(0,r.FN)(),t=(0,o.Z)(e,C.proxy.$q),d=(0,r.Fl)((()=>"q-list"+(!0===e.bordered?" q-list--bordered":"")+(!0===e.dense?" q-list--dense":"")+(!0===e.separator?" q-list--separator":"")+(!0===t.value?" q-list--dark":"")+(!0===e.padding?" q-list--padding":"")));return()=>(0,r.h)(e.tag,{class:d.value},(0,i.KR)(l.default))}})},20249:(e,l,C)=>{"use strict";C.d(l,{Z:()=>p});var r=C(59835),t=C(60499),o=C(47506),i=C(71868),d=C(60883),n=C(65987),c=C(43701),u=C(22026),a=C(95439);const p=(0,n.L)({name:"QLayout",props:{container:Boolean,view:{type:String,default:"hhh lpr fff",validator:e=>/^(h|l)h(h|r) lpr (f|l)f(f|r)$/.test(e.toLowerCase())},onScroll:Function,onScrollHeight:Function,onResize:Function},setup(e,{slots:l,emit:C}){const{proxy:{$q:n}}=(0,r.FN)(),p=(0,t.iH)(null),f=(0,t.iH)(n.screen.height),s=(0,t.iH)(!0===e.container?0:n.screen.width),v=(0,t.iH)({position:0,direction:"down",inflectionPoint:0}),h=(0,t.iH)(0),L=(0,t.iH)(!0===o.uX.value?0:(0,c.np)()),g=(0,r.Fl)((()=>"q-layout q-layout--"+(!0===e.container?"containerized":"standard"))),Z=(0,r.Fl)((()=>!1===e.container?{minHeight:n.screen.height+"px"}:null)),w=(0,r.Fl)((()=>0!==L.value?{[!0===n.lang.rtl?"left":"right"]:`${L.value}px`}:null)),M=(0,r.Fl)((()=>0!==L.value?{[!0===n.lang.rtl?"right":"left"]:0,[!0===n.lang.rtl?"left":"right"]:`-${L.value}px`,width:`calc(100% + ${L.value}px)`}:null));function m(l){if(!0===e.container||!0!==document.qScrollPrevented){const r={position:l.position.top,direction:l.direction,directionChanged:l.directionChanged,inflectionPoint:l.inflectionPoint.top,delta:l.delta.top};v.value=r,void 0!==e.onScroll&&C("scroll",r)}}function H(l){const{height:r,width:t}=l;let o=!1;f.value!==r&&(o=!0,f.value=r,void 0!==e.onScrollHeight&&C("scrollHeight",r),b()),s.value!==t&&(o=!0,s.value=t),!0===o&&void 0!==e.onResize&&C("resize",l)}function V({height:e}){h.value!==e&&(h.value=e,b())}function b(){if(!0===e.container){const e=f.value>h.value?(0,c.np)():0;L.value!==e&&(L.value=e)}}let x=null;const k={instances:{},view:(0,r.Fl)((()=>e.view)),isContainer:(0,r.Fl)((()=>e.container)),rootRef:p,height:f,containerHeight:h,scrollbarWidth:L,totalWidth:(0,r.Fl)((()=>s.value+L.value)),rows:(0,r.Fl)((()=>{const l=e.view.toLowerCase().split(" ");return{top:l[0].split(""),middle:l[1].split(""),bottom:l[2].split("")}})),header:(0,t.qj)({size:0,offset:0,space:!1}),right:(0,t.qj)({size:300,offset:0,space:!1}),footer:(0,t.qj)({size:0,offset:0,space:!1}),left:(0,t.qj)({size:300,offset:0,space:!1}),scroll:v,animate(){null!==x?clearTimeout(x):document.body.classList.add("q-body--layout-animate"),x=setTimeout((()=>{x=null,document.body.classList.remove("q-body--layout-animate")}),155)},update(e,l,C){k[e][l]=C}};if((0,r.JJ)(a.YE,k),(0,c.np)()>0){let y=null;const A=document.body;function B(){y=null,A.classList.remove("hide-scrollbar")}function O(){if(null===y){if(A.scrollHeight>n.screen.height)return;A.classList.add("hide-scrollbar")}else clearTimeout(y);y=setTimeout(B,300)}function F(e){null!==y&&"remove"===e&&(clearTimeout(y),B()),window[`${e}EventListener`]("resize",O)}(0,r.YP)((()=>!0!==e.container?"add":"remove"),F),!0!==e.container&&F("add"),(0,r.Ah)((()=>{F("remove")}))}return()=>{const C=(0,u.vs)(l.default,[(0,r.h)(i.Z,{onScroll:m}),(0,r.h)(d.Z,{onResize:H})]),t=(0,r.h)("div",{class:g.value,style:Z.value,ref:!0===e.container?void 0:p,tabindex:-1},C);return!0===e.container?(0,r.h)("div",{class:"q-layout-container overflow-hidden",ref:p},[(0,r.h)(d.Z,{onResize:V}),(0,r.h)("div",{class:"absolute-full",style:w.value},[(0,r.h)("div",{class:"scroll",style:M.value},[t])])]):t}}})},8289:(e,l,C)=>{"use strict";C.d(l,{Z:()=>u});C(69665);var r=C(59835),t=C(68234),o=C(20244),i=C(65987),d=C(22026);const n={xs:2,sm:4,md:6,lg:10,xl:14};function c(e,l,C){return{transform:!0===l?`translateX(${!0===C.lang.rtl?"-":""}100%) scale3d(${-e},1,1)`:`scale3d(${e},1,1)`}}const u=(0,i.L)({name:"QLinearProgress",props:{...t.S,...o.LU,value:{type:Number,default:0},buffer:Number,color:String,trackColor:String,reverse:Boolean,stripe:Boolean,indeterminate:Boolean,query:Boolean,rounded:Boolean,animationSpeed:{type:[String,Number],default:2100},instantFeedback:Boolean},setup(e,{slots:l}){const{proxy:C}=(0,r.FN)(),i=(0,t.Z)(e,C.$q),u=(0,o.ZP)(e,n),a=(0,r.Fl)((()=>!0===e.indeterminate||!0===e.query)),p=(0,r.Fl)((()=>e.reverse!==e.query)),f=(0,r.Fl)((()=>({...null!==u.value?u.value:{},"--q-linear-progress-speed":`${e.animationSpeed}ms`}))),s=(0,r.Fl)((()=>"q-linear-progress"+(void 0!==e.color?` text-${e.color}`:"")+(!0===e.reverse||!0===e.query?" q-linear-progress--reverse":"")+(!0===e.rounded?" rounded-borders":""))),v=(0,r.Fl)((()=>c(void 0!==e.buffer?e.buffer:1,p.value,C.$q))),h=(0,r.Fl)((()=>`with${!0===e.instantFeedback?"out":""}-transition`)),L=(0,r.Fl)((()=>`q-linear-progress__track absolute-full q-linear-progress__track--${h.value} q-linear-progress__track--`+(!0===i.value?"dark":"light")+(void 0!==e.trackColor?` bg-${e.trackColor}`:""))),g=(0,r.Fl)((()=>c(!0===a.value?1:e.value,p.value,C.$q))),Z=(0,r.Fl)((()=>`q-linear-progress__model absolute-full q-linear-progress__model--${h.value} q-linear-progress__model--${!0===a.value?"in":""}determinate`)),w=(0,r.Fl)((()=>({width:100*e.value+"%"}))),M=(0,r.Fl)((()=>"q-linear-progress__stripe absolute-"+(!0===e.reverse?"right":"left")+` q-linear-progress__stripe--${h.value}`));return()=>{const C=[(0,r.h)("div",{class:L.value,style:v.value}),(0,r.h)("div",{class:Z.value,style:g.value})];return!0===e.stripe&&!1===a.value&&C.push((0,r.h)("div",{class:M.value,style:w.value})),(0,r.h)("div",{class:s.value,style:f.value,role:"progressbar","aria-valuemin":0,"aria-valuemax":1,"aria-valuenow":!0===e.indeterminate?void 0:e.value},(0,d.vs)(l.default,C))}}})},66933:(e,l,C)=>{"use strict";C.d(l,{Z:()=>n});var r=C(59835),t=C(68234),o=C(65987),i=C(22026);const d=["horizontal","vertical","cell","none"],n=(0,o.L)({name:"QMarkupTable",props:{...t.S,dense:Boolean,flat:Boolean,bordered:Boolean,square:Boolean,wrapCells:Boolean,separator:{type:String,default:"horizontal",validator:e=>d.includes(e)}},setup(e,{slots:l}){const C=(0,r.FN)(),o=(0,t.Z)(e,C.proxy.$q),d=(0,r.Fl)((()=>`q-markup-table q-table__container q-table__card q-table--${e.separator}-separator`+(!0===o.value?" q-table--dark q-table__card--dark q-dark":"")+(!0===e.dense?" q-table--dense":"")+(!0===e.flat?" q-table--flat":"")+(!0===e.bordered?" q-table--bordered":"")+(!0===e.square?" q-table--square":"")+(!1===e.wrapCells?" q-table--no-wrap":"")));return()=>(0,r.h)("div",{class:d.value},[(0,r.h)("table",{class:"q-table"},(0,i.KR)(l.default))])}})},56362:(e,l,C)=>{"use strict";C.d(l,{Z:()=>b});var r=C(59835),t=C(60499),o=C(61957),i=C(74397),d=C(64088),n=C(63842),c=C(68234),u=C(91518),a=C(20431),p=C(16916),f=C(52695),s=C(65987),v=C(2909),h=C(43701),L=C(91384),g=C(22026),Z=C(16532),w=C(4173),M=C(70223),m=C(49092),H=C(17026),V=C(49388);const b=(0,s.L)({name:"QMenu",inheritAttrs:!1,props:{...i.u,...n.vr,...c.S,...a.D,persistent:Boolean,autoClose:Boolean,separateClosePopup:Boolean,noRouteDismiss:Boolean,noRefocus:Boolean,noFocus:Boolean,fit:Boolean,cover:Boolean,square:Boolean,anchor:{type:String,validator:V.$},self:{type:String,validator:V.$},offset:{type:Array,validator:V.io},scrollTarget:{default:void 0},touchPosition:Boolean,maxHeight:{type:String,default:null},maxWidth:{type:String,default:null}},emits:[...n.gH,"click","escapeKey"],setup(e,{slots:l,emit:C,attrs:s}){let b,x,k,y=null;const A=(0,r.FN)(),{proxy:B}=A,{$q:O}=B,F=(0,t.iH)(null),S=(0,t.iH)(!1),P=(0,r.Fl)((()=>!0!==e.persistent&&!0!==e.noRouteDismiss)),_=(0,c.Z)(e,O),{registerTick:T,removeTick:E}=(0,p.Z)(),{registerTimeout:q}=(0,f.Z)(),{transitionProps:D,transitionStyle:R}=(0,a.Z)(e),{localScrollTarget:N,changeScrollEvent:I,unconfigureScrollTarget:$}=(0,d.Z)(e,ie),{anchorEl:U,canShow:j}=(0,i.Z)({showing:S}),{hide:z}=(0,n.ZP)({showing:S,canShow:j,handleShow:re,handleHide:te,hideOnRouteChange:P,processOnMount:!0}),{showPortal:Y,hidePortal:G,renderPortal:W}=(0,u.Z)(A,F,ae,"menu"),K={anchorEl:U,innerRef:F,onClickOutside(l){if(!0!==e.persistent&&!0===S.value)return z(l),("touchstart"===l.type||l.target.classList.contains("q-dialog__backdrop"))&&(0,L.NS)(l),!0}},X=(0,r.Fl)((()=>(0,V.li)(e.anchor||(!0===e.cover?"center middle":"bottom start"),O.lang.rtl))),Q=(0,r.Fl)((()=>!0===e.cover?X.value:(0,V.li)(e.self||"top start",O.lang.rtl))),J=(0,r.Fl)((()=>(!0===e.square?" q-menu--square":"")+(!0===_.value?" q-menu--dark q-dark":""))),ee=(0,r.Fl)((()=>!0===e.autoClose?{onClick:de}:{})),le=(0,r.Fl)((()=>!0===S.value&&!0!==e.persistent));function Ce(){(0,H.jd)((()=>{let e=F.value;e&&!0!==e.contains(document.activeElement)&&(e=e.querySelector("[autofocus][tabindex], [data-autofocus][tabindex]")||e.querySelector("[autofocus] [tabindex], [data-autofocus] [tabindex]")||e.querySelector("[autofocus], [data-autofocus]")||e,e.focus({preventScroll:!0}))}))}function re(l){if(y=!1===e.noRefocus?document.activeElement:null,(0,w.i)(ne),Y(),ie(),b=void 0,void 0!==l&&(e.touchPosition||e.contextMenu)){const e=(0,L.FK)(l);if(void 0!==e.left){const{top:l,left:C}=U.value.getBoundingClientRect();b={left:e.left-C,top:e.top-l}}}void 0===x&&(x=(0,r.YP)((()=>O.screen.width+"|"+O.screen.height+"|"+e.self+"|"+e.anchor+"|"+O.lang.rtl),ue)),!0!==e.noFocus&&document.activeElement.blur(),T((()=>{ue(),!0!==e.noFocus&&Ce()})),q((()=>{!0===O.platform.is.ios&&(k=e.autoClose,F.value.click()),ue(),Y(!0),C("show",l)}),e.transitionDuration)}function te(l){E(),G(),oe(!0),null===y||void 0!==l&&!0===l.qClickOutside||(((l&&0===l.type.indexOf("key")?y.closest('[tabindex]:not([tabindex^="-"])'):void 0)||y).focus(),y=null),q((()=>{G(!0),C("hide",l)}),e.transitionDuration)}function oe(e){b=void 0,void 0!==x&&(x(),x=void 0),!0!==e&&!0!==S.value||((0,w.H)(ne),$(),(0,m.D)(K),(0,Z.k)(ce)),!0!==e&&(y=null)}function ie(){null===U.value&&void 0===e.scrollTarget||(N.value=(0,h.b0)(U.value,e.scrollTarget),I(N.value,ue))}function de(e){!0!==k?((0,v.AH)(B,e),C("click",e)):k=!1}function ne(l){!0===le.value&&!0!==e.noFocus&&!0!==(0,M.mY)(F.value,l.target)&&Ce()}function ce(e){C("escapeKey"),z(e)}function ue(){(0,V.wq)({targetEl:F.value,offset:e.offset,anchorEl:U.value,anchorOrigin:X.value,selfOrigin:Q.value,absoluteOffset:b,fit:e.fit,cover:e.cover,maxHeight:e.maxHeight,maxWidth:e.maxWidth})}function ae(){return(0,r.h)(o.uT,D.value,(()=>!0===S.value?(0,r.h)("div",{role:"menu",...s,ref:F,tabindex:-1,class:["q-menu q-position-engine scroll"+J.value,s.class],style:[s.style,R.value],...ee.value},(0,g.KR)(l.default)):null))}return(0,r.YP)(le,(e=>{!0===e?((0,Z.c)(ce),(0,m.m)(K)):((0,Z.k)(ce),(0,m.D)(K))})),(0,r.Jd)(oe),Object.assign(B,{focus:Ce,updatePosition:ue}),W}})},30627:(e,l,C)=>{"use strict";C.d(l,{Z:()=>c});var r=C(65987),t=C(59835),o=C(22026),i=C(95439);const d={position:{type:String,default:"bottom-right",validator:e=>["top-right","top-left","bottom-right","bottom-left","top","right","bottom","left"].includes(e)},offset:{type:Array,validator:e=>2===e.length},expand:Boolean};function n(){const{props:e,proxy:{$q:l}}=(0,t.FN)(),C=(0,t.f3)(i.YE,i.qO);if(C===i.qO)return console.error("QPageSticky needs to be child of QLayout"),i.qO;const r=(0,t.Fl)((()=>{const l=e.position;return{top:l.indexOf("top")>-1,right:l.indexOf("right")>-1,bottom:l.indexOf("bottom")>-1,left:l.indexOf("left")>-1,vertical:"top"===l||"bottom"===l,horizontal:"left"===l||"right"===l}})),d=(0,t.Fl)((()=>C.header.offset)),n=(0,t.Fl)((()=>C.right.offset)),c=(0,t.Fl)((()=>C.footer.offset)),u=(0,t.Fl)((()=>C.left.offset)),a=(0,t.Fl)((()=>{let C=0,t=0;const o=r.value,i=!0===l.lang.rtl?-1:1;!0===o.top&&0!==d.value?t=`${d.value}px`:!0===o.bottom&&0!==c.value&&(t=-c.value+"px"),!0===o.left&&0!==u.value?C=i*u.value+"px":!0===o.right&&0!==n.value&&(C=-i*n.value+"px");const a={transform:`translate(${C}, ${t})`};return e.offset&&(a.margin=`${e.offset[1]}px ${e.offset[0]}px`),!0===o.vertical?(0!==u.value&&(a[!0===l.lang.rtl?"right":"left"]=`${u.value}px`),0!==n.value&&(a[!0===l.lang.rtl?"left":"right"]=`${n.value}px`)):!0===o.horizontal&&(0!==d.value&&(a.top=`${d.value}px`),0!==c.value&&(a.bottom=`${c.value}px`)),a})),p=(0,t.Fl)((()=>`q-page-sticky row flex-center fixed-${e.position} q-page-sticky--`+(!0===e.expand?"expand":"shrink")));function f(l){const C=(0,o.KR)(l.default);return(0,t.h)("div",{class:p.value,style:a.value},!0===e.expand?C:[(0,t.h)("div",C)])}return{$layout:C,getStickyContent:f}}const c=(0,r.L)({name:"QPageSticky",props:d,setup(e,{slots:l}){const{getStickyContent:C}=n();return()=>C(l)}})},69885:(e,l,C)=>{"use strict";C.d(l,{Z:()=>d});var r=C(59835),t=C(65987),o=C(22026),i=C(95439);const d=(0,t.L)({name:"QPage",props:{padding:Boolean,styleFn:Function},setup(e,{slots:l}){const{proxy:{$q:C}}=(0,r.FN)(),t=(0,r.f3)(i.YE,i.qO);if(t===i.qO)return console.error("QPage needs to be a deep child of QLayout"),i.qO;const d=(0,r.f3)(i.Mw,i.qO);if(d===i.qO)return console.error("QPage needs to be child of QPageContainer"),i.qO;const n=(0,r.Fl)((()=>{const l=(!0===t.header.space?t.header.size:0)+(!0===t.footer.space?t.footer.size:0);if("function"===typeof e.styleFn){const r=!0===t.isContainer.value?t.containerHeight.value:C.screen.height;return e.styleFn(l,r)}return{minHeight:!0===t.isContainer.value?t.containerHeight.value-l+"px":0===C.screen.height?0!==l?`calc(100vh - ${l}px)`:"100vh":C.screen.height-l+"px"}})),c=(0,r.Fl)((()=>"q-page"+(!0===e.padding?" q-layout-padding":"")));return()=>(0,r.h)("main",{class:c.value,style:n.value},(0,o.KR)(l.default))}})},12133:(e,l,C)=>{"use strict";C.d(l,{Z:()=>d});var r=C(59835),t=C(65987),o=C(22026),i=C(95439);const d=(0,t.L)({name:"QPageContainer",setup(e,{slots:l}){const{proxy:{$q:C}}=(0,r.FN)(),t=(0,r.f3)(i.YE,i.qO);if(t===i.qO)return console.error("QPageContainer needs to be child of QLayout"),i.qO;(0,r.JJ)(i.Mw,!0);const d=(0,r.Fl)((()=>{const e={};return!0===t.header.space&&(e.paddingTop=`${t.header.size}px`),!0===t.right.space&&(e["padding"+(!0===C.lang.rtl?"Left":"Right")]=`${t.right.size}px`),!0===t.footer.space&&(e.paddingBottom=`${t.footer.size}px`),!0===t.left.space&&(e["padding"+(!0===C.lang.rtl?"Right":"Left")]=`${t.left.size}px`),e}));return()=>(0,r.h)("div",{class:"q-page-container",style:d.value},(0,o.KR)(l.default))}})},60883:(e,l,C)=>{"use strict";C.d(l,{Z:()=>a});var r=C(59835),t=C(60499),o=C(47506);function i(){const e=(0,t.iH)(!o.uX.value);return!1===e.value&&(0,r.bv)((()=>{e.value=!0})),e}var d=C(65987),n=C(91384);const c="undefined"!==typeof ResizeObserver,u=!0===c?{}:{style:"display:block;position:absolute;top:0;left:0;right:0;bottom:0;height:100%;width:100%;overflow:hidden;pointer-events:none;z-index:-1;",url:"about:blank"},a=(0,d.L)({name:"QResizeObserver",props:{debounce:{type:[String,Number],default:100}},emits:["resize"],setup(e,{emit:l}){let C,t=null,o={width:-1,height:-1};function d(l){!0===l||0===e.debounce||"0"===e.debounce?a():null===t&&(t=setTimeout(a,e.debounce))}function a(){if(null!==t&&(clearTimeout(t),t=null),C){const{offsetWidth:e,offsetHeight:r}=C;e===o.width&&r===o.height||(o={width:e,height:r},l("resize",o))}}const{proxy:p}=(0,r.FN)();if(!0===c){let f;const s=e=>{C=p.$el.parentNode,C?(f=new ResizeObserver(d),f.observe(C),a()):!0!==e&&(0,r.Y3)((()=>{s(!0)}))};return(0,r.bv)((()=>{s()})),(0,r.Jd)((()=>{null!==t&&clearTimeout(t),void 0!==f&&(void 0!==f.disconnect?f.disconnect():C&&f.unobserve(C))})),n.ZT}{const v=i();let h;function L(){null!==t&&(clearTimeout(t),t=null),void 0!==h&&(void 0!==h.removeEventListener&&h.removeEventListener("resize",d,n.listenOpts.passive),h=void 0)}function g(){L(),C&&C.contentDocument&&(h=C.contentDocument.defaultView,h.addEventListener("resize",d,n.listenOpts.passive),a())}return(0,r.bv)((()=>{(0,r.Y3)((()=>{C=p.$el,C&&g()}))})),(0,r.Jd)(L),p.trigger=d,()=>{if(!0===v.value)return(0,r.h)("object",{style:u.style,tabindex:-1,type:"text/html",data:u.url,"aria-hidden":"true",onLoad:g})}}}})},66663:(e,l,C)=>{"use strict";C.d(l,{Z:()=>g});var r=C(60499),t=C(59835),o=C(68234),i=C(60883),d=C(71868),n=C(2873),c=C(65987),u=C(30321),a=C(43701),p=C(22026),f=C(60899);const s=["vertical","horizontal"],v={vertical:{offset:"offsetY",scroll:"scrollTop",dir:"down",dist:"y"},horizontal:{offset:"offsetX",scroll:"scrollLeft",dir:"right",dist:"x"}},h={prevent:!0,mouse:!0,mouseAllDir:!0},L=e=>e>=250?50:Math.ceil(e/5),g=(0,c.L)({name:"QScrollArea",props:{...o.S,thumbStyle:Object,verticalThumbStyle:Object,horizontalThumbStyle:Object,barStyle:[Array,String,Object],verticalBarStyle:[Array,String,Object],horizontalBarStyle:[Array,String,Object],contentStyle:[Array,String,Object],contentActiveStyle:[Array,String,Object],delay:{type:[String,Number],default:1e3},visible:{type:Boolean,default:null},tabindex:[String,Number],onScroll:Function},setup(e,{slots:l,emit:C}){const c=(0,r.iH)(!1),g=(0,r.iH)(!1),Z=(0,r.iH)(!1),w={vertical:(0,r.iH)(0),horizontal:(0,r.iH)(0)},M={vertical:{ref:(0,r.iH)(null),position:(0,r.iH)(0),size:(0,r.iH)(0)},horizontal:{ref:(0,r.iH)(null),position:(0,r.iH)(0),size:(0,r.iH)(0)}},{proxy:m}=(0,t.FN)(),H=(0,o.Z)(e,m.$q);let V,b=null;const x=(0,r.iH)(null),k=(0,t.Fl)((()=>"q-scrollarea"+(!0===H.value?" q-scrollarea--dark":"")));M.vertical.percentage=(0,t.Fl)((()=>{const e=M.vertical.size.value-w.vertical.value;if(e<=0)return 0;const l=(0,u.vX)(M.vertical.position.value/e,0,1);return Math.round(1e4*l)/1e4})),M.vertical.thumbHidden=(0,t.Fl)((()=>!0!==(null===e.visible?Z.value:e.visible)&&!1===c.value&&!1===g.value||M.vertical.size.value<=w.vertical.value+1)),M.vertical.thumbStart=(0,t.Fl)((()=>M.vertical.percentage.value*(w.vertical.value-M.vertical.thumbSize.value))),M.vertical.thumbSize=(0,t.Fl)((()=>Math.round((0,u.vX)(w.vertical.value*w.vertical.value/M.vertical.size.value,L(w.vertical.value),w.vertical.value)))),M.vertical.style=(0,t.Fl)((()=>({...e.thumbStyle,...e.verticalThumbStyle,top:`${M.vertical.thumbStart.value}px`,height:`${M.vertical.thumbSize.value}px`}))),M.vertical.thumbClass=(0,t.Fl)((()=>"q-scrollarea__thumb q-scrollarea__thumb--v absolute-right"+(!0===M.vertical.thumbHidden.value?" q-scrollarea__thumb--invisible":""))),M.vertical.barClass=(0,t.Fl)((()=>"q-scrollarea__bar q-scrollarea__bar--v absolute-right"+(!0===M.vertical.thumbHidden.value?" q-scrollarea__bar--invisible":""))),M.horizontal.percentage=(0,t.Fl)((()=>{const e=M.horizontal.size.value-w.horizontal.value;if(e<=0)return 0;const l=(0,u.vX)(Math.abs(M.horizontal.position.value)/e,0,1);return Math.round(1e4*l)/1e4})),M.horizontal.thumbHidden=(0,t.Fl)((()=>!0!==(null===e.visible?Z.value:e.visible)&&!1===c.value&&!1===g.value||M.horizontal.size.value<=w.horizontal.value+1)),M.horizontal.thumbStart=(0,t.Fl)((()=>M.horizontal.percentage.value*(w.horizontal.value-M.horizontal.thumbSize.value))),M.horizontal.thumbSize=(0,t.Fl)((()=>Math.round((0,u.vX)(w.horizontal.value*w.horizontal.value/M.horizontal.size.value,L(w.horizontal.value),w.horizontal.value)))),M.horizontal.style=(0,t.Fl)((()=>({...e.thumbStyle,...e.horizontalThumbStyle,[!0===m.$q.lang.rtl?"right":"left"]:`${M.horizontal.thumbStart.value}px`,width:`${M.horizontal.thumbSize.value}px`}))),M.horizontal.thumbClass=(0,t.Fl)((()=>"q-scrollarea__thumb q-scrollarea__thumb--h absolute-bottom"+(!0===M.horizontal.thumbHidden.value?" q-scrollarea__thumb--invisible":""))),M.horizontal.barClass=(0,t.Fl)((()=>"q-scrollarea__bar q-scrollarea__bar--h absolute-bottom"+(!0===M.horizontal.thumbHidden.value?" q-scrollarea__bar--invisible":"")));const y=(0,t.Fl)((()=>!0===M.vertical.thumbHidden.value&&!0===M.horizontal.thumbHidden.value?e.contentStyle:e.contentActiveStyle)),A=[[n.Z,e=>{E(e,"vertical")},void 0,{vertical:!0,...h}]],B=[[n.Z,e=>{E(e,"horizontal")},void 0,{horizontal:!0,...h}]];function O(){const e={};return s.forEach((l=>{const C=M[l];e[l+"Position"]=C.position.value,e[l+"Percentage"]=C.percentage.value,e[l+"Size"]=C.size.value,e[l+"ContainerSize"]=w[l].value})),e}const F=(0,f.Z)((()=>{const e=O();e.ref=m,C("scroll",e)}),0);function S(e,l,C){if(!1===s.includes(e))return void console.error("[QScrollArea]: wrong first param of setScrollPosition (vertical/horizontal)");const r="vertical"===e?a.f3:a.ik;r(x.value,l,C)}function P({height:e,width:l}){let C=!1;w.vertical.value!==e&&(w.vertical.value=e,C=!0),w.horizontal.value!==l&&(w.horizontal.value=l,C=!0),!0===C&&N()}function _({position:e}){let l=!1;M.vertical.position.value!==e.top&&(M.vertical.position.value=e.top,l=!0),M.horizontal.position.value!==e.left&&(M.horizontal.position.value=e.left,l=!0),!0===l&&N()}function T({height:e,width:l}){M.horizontal.size.value!==l&&(M.horizontal.size.value=l,N()),M.vertical.size.value!==e&&(M.vertical.size.value=e,N())}function E(e,l){const C=M[l];if(!0===e.isFirst){if(!0===C.thumbHidden.value)return;V=C.position.value,g.value=!0}else if(!0!==g.value)return;!0===e.isFinal&&(g.value=!1);const r=v[l],t=w[l].value,o=(C.size.value-t)/(t-C.thumbSize.value),i=e.distance[r.dist],d=V+(e.direction===r.dir?1:-1)*i*o;I(d,l)}function q(e,l){const C=M[l];if(!0!==C.thumbHidden.value){const r=e[v[l].offset];if(rC.thumbStart.value+C.thumbSize.value){const e=r-C.thumbSize.value/2;I(e/w[l].value*C.size.value,l)}null!==C.ref.value&&C.ref.value.dispatchEvent(new MouseEvent(e.type,e))}}function D(e){q(e,"vertical")}function R(e){q(e,"horizontal")}function N(){c.value=!0,null!==b&&clearTimeout(b),b=setTimeout((()=>{b=null,c.value=!1}),e.delay),void 0!==e.onScroll&&F()}function I(e,l){x.value[v[l].scroll]=e}function $(){Z.value=!0}function U(){Z.value=!1}let j=null;return(0,t.YP)((()=>m.$q.lang.rtl),(e=>{null!==x.value&&(0,a.ik)(x.value,Math.abs(M.horizontal.position.value)*(!0===e?-1:1))})),(0,t.se)((()=>{j={top:M.vertical.position.value,left:M.horizontal.position.value}})),(0,t.dl)((()=>{if(null===j)return;const e=x.value;null!==e&&((0,a.ik)(e,j.left),(0,a.f3)(e,j.top))})),(0,t.Jd)(F.cancel),Object.assign(m,{getScrollTarget:()=>x.value,getScroll:O,getScrollPosition:()=>({top:M.vertical.position.value,left:M.horizontal.position.value}),getScrollPercentage:()=>({top:M.vertical.percentage.value,left:M.horizontal.percentage.value}),setScrollPosition:S,setScrollPercentage(e,l,C){S(e,l*(M[e].size.value-w[e].value)*("horizontal"===e&&!0===m.$q.lang.rtl?-1:1),C)}}),()=>(0,t.h)("div",{class:k.value,onMouseenter:$,onMouseleave:U},[(0,t.h)("div",{ref:x,class:"q-scrollarea__container scroll relative-position fit hide-scrollbar",tabindex:void 0!==e.tabindex?e.tabindex:void 0},[(0,t.h)("div",{class:"q-scrollarea__content absolute",style:y.value},(0,p.vs)(l.default,[(0,t.h)(i.Z,{debounce:0,onResize:T})])),(0,t.h)(d.Z,{axis:"both",onScroll:_})]),(0,t.h)(i.Z,{debounce:0,onResize:P}),(0,t.h)("div",{class:M.vertical.barClass.value,style:[e.barStyle,e.verticalBarStyle],"aria-hidden":"true",onMousedown:D}),(0,t.h)("div",{class:M.horizontal.barClass.value,style:[e.barStyle,e.horizontalBarStyle],"aria-hidden":"true",onMousedown:R}),(0,t.wy)((0,t.h)("div",{ref:M.vertical.ref,class:M.vertical.thumbClass.value,style:M.vertical.style.value,"aria-hidden":"true"}),A),(0,t.wy)((0,t.h)("div",{ref:M.horizontal.ref,class:M.horizontal.thumbClass.value,style:M.horizontal.style.value,"aria-hidden":"true"}),B)])}})},71868:(e,l,C)=>{"use strict";C.d(l,{Z:()=>c});var r=C(59835),t=C(65987),o=C(43701),i=C(91384);const{passive:d}=i.listenOpts,n=["both","horizontal","vertical"],c=(0,t.L)({name:"QScrollObserver",props:{axis:{type:String,validator:e=>n.includes(e),default:"vertical"},debounce:[String,Number],scrollTarget:{default:void 0}},emits:["scroll"],setup(e,{emit:l}){const C={position:{top:0,left:0},direction:"down",directionChanged:!1,delta:{top:0,left:0},inflectionPoint:{top:0,left:0}};let t,n,c=null;function u(){null!==c&&c();const r=Math.max(0,(0,o.u3)(t)),i=(0,o.OI)(t),d={top:r-C.position.top,left:i-C.position.left};if("vertical"===e.axis&&0===d.top||"horizontal"===e.axis&&0===d.left)return;const n=Math.abs(d.top)>=Math.abs(d.left)?d.top<0?"up":"down":d.left<0?"left":"right";C.position={top:r,left:i},C.directionChanged=C.direction!==n,C.delta=d,!0===C.directionChanged&&(C.direction=n,C.inflectionPoint=C.position),l("scroll",{...C})}function a(){t=(0,o.b0)(n,e.scrollTarget),t.addEventListener("scroll",f,d),f(!0)}function p(){void 0!==t&&(t.removeEventListener("scroll",f,d),t=void 0)}function f(l){if(!0===l||0===e.debounce||"0"===e.debounce)u();else if(null===c){const[l,C]=e.debounce?[setTimeout(u,e.debounce),clearTimeout]:[requestAnimationFrame(u),cancelAnimationFrame];c=()=>{C(l),c=null}}}(0,r.YP)((()=>e.scrollTarget),(()=>{p(),a()}));const{proxy:s}=(0,r.FN)();return(0,r.YP)((()=>s.$q.lang.rtl),u),(0,r.bv)((()=>{n=s.$el.parentNode,a()})),(0,r.Jd)((()=>{null!==c&&c(),p()})),Object.assign(s,{trigger:f,getPosition:()=>C}),i.ZT}})},42913:(e,l,C)=>{"use strict";C.d(l,{Z:()=>B});C(69665);var r=C(59835),t=C(60499),o=C(76404),i=C(65987);const d=(0,i.L)({name:"QField",inheritAttrs:!1,props:o.Cl,emits:o.HJ,setup(){return(0,o.ZP)((0,o.tL)())}});var n=C(22857),c=C(51136),u=C(68234),a=C(20244),p=C(91384),f=C(22026);const s={xs:8,sm:10,md:14,lg:20,xl:24},v=(0,i.L)({name:"QChip",props:{...u.S,...a.LU,dense:Boolean,icon:String,iconRight:String,iconRemove:String,iconSelected:String,label:[String,Number],color:String,textColor:String,modelValue:{type:Boolean,default:!0},selected:{type:Boolean,default:null},square:Boolean,outline:Boolean,clickable:Boolean,removable:Boolean,removeAriaLabel:String,tabindex:[String,Number],disable:Boolean,ripple:{type:[Boolean,Object],default:!0}},emits:["update:modelValue","update:selected","remove","click"],setup(e,{slots:l,emit:C}){const{proxy:{$q:t}}=(0,r.FN)(),o=(0,u.Z)(e,t),i=(0,a.ZP)(e,s),d=(0,r.Fl)((()=>!0===e.selected||void 0!==e.icon)),v=(0,r.Fl)((()=>!0===e.selected?e.iconSelected||t.iconSet.chip.selected:e.icon)),h=(0,r.Fl)((()=>e.iconRemove||t.iconSet.chip.remove)),L=(0,r.Fl)((()=>!1===e.disable&&(!0===e.clickable||null!==e.selected))),g=(0,r.Fl)((()=>{const l=!0===e.outline&&e.color||e.textColor;return"q-chip row inline no-wrap items-center"+(!1===e.outline&&void 0!==e.color?` bg-${e.color}`:"")+(l?` text-${l} q-chip--colored`:"")+(!0===e.disable?" disabled":"")+(!0===e.dense?" q-chip--dense":"")+(!0===e.outline?" q-chip--outline":"")+(!0===e.selected?" q-chip--selected":"")+(!0===L.value?" q-chip--clickable cursor-pointer non-selectable q-hoverable":"")+(!0===e.square?" q-chip--square":"")+(!0===o.value?" q-chip--dark q-dark":"")})),Z=(0,r.Fl)((()=>{const l=!0===e.disable?{tabindex:-1,"aria-disabled":"true"}:{tabindex:e.tabindex||0},C={...l,role:"button","aria-hidden":"false","aria-label":e.removeAriaLabel||t.lang.label.remove};return{chip:l,remove:C}}));function w(e){13===e.keyCode&&M(e)}function M(l){e.disable||(C("update:selected",!e.selected),C("click",l))}function m(l){void 0!==l.keyCode&&13!==l.keyCode||((0,p.NS)(l),!1===e.disable&&(C("update:modelValue",!1),C("remove")))}function H(){const C=[];!0===L.value&&C.push((0,r.h)("div",{class:"q-focus-helper"})),!0===d.value&&C.push((0,r.h)(n.Z,{class:"q-chip__icon q-chip__icon--left",name:v.value}));const t=void 0!==e.label?[(0,r.h)("div",{class:"ellipsis"},[e.label])]:void 0;return C.push((0,r.h)("div",{class:"q-chip__content col row no-wrap items-center q-anchor--skip"},(0,f.pf)(l.default,t))),e.iconRight&&C.push((0,r.h)(n.Z,{class:"q-chip__icon q-chip__icon--right",name:e.iconRight})),!0===e.removable&&C.push((0,r.h)(n.Z,{class:"q-chip__icon q-chip__icon--remove cursor-pointer",name:h.value,...Z.value.remove,onClick:m,onKeyup:m})),C}return()=>{if(!1===e.modelValue)return;const l={class:g.value,style:i.value};return!0===L.value&&Object.assign(l,Z.value.chip,{onClick:M,onKeyup:w}),(0,f.Jl)("div",l,H(),"ripple",!1!==e.ripple&&!0!==e.disable,(()=>[[c.Z,e.ripple]]))}}});var h=C(490),L=C(76749);const g=(0,i.L)({name:"QItemLabel",props:{overline:Boolean,caption:Boolean,header:Boolean,lines:[Number,String]},setup(e,{slots:l}){const C=(0,r.Fl)((()=>parseInt(e.lines,10))),t=(0,r.Fl)((()=>"q-item__label"+(!0===e.overline?" q-item__label--overline text-overline":"")+(!0===e.caption?" q-item__label--caption text-caption":"")+(!0===e.header?" q-item__label--header":"")+(1===C.value?" ellipsis":""))),o=(0,r.Fl)((()=>void 0!==e.lines&&C.value>1?{overflow:"hidden",display:"-webkit-box","-webkit-box-orient":"vertical","-webkit-line-clamp":C.value}:null));return()=>(0,r.h)("div",{style:o.value,class:t.value},(0,f.KR)(l.default))}});var Z=C(56362),w=C(32074),M=C(92043),m=C(99256),H=C(62802),V=C(4680),b=C(30321),x=C(61705);const k=e=>["add","add-unique","toggle"].includes(e),y=".*+?^${}()|[]\\",A=Object.keys(o.Cl),B=(0,i.L)({name:"QSelect",inheritAttrs:!1,props:{...M.t9,...m.Fz,...o.Cl,modelValue:{required:!0},multiple:Boolean,displayValue:[String,Number],displayValueHtml:Boolean,dropdownIcon:String,options:{type:Array,default:()=>[]},optionValue:[Function,String],optionLabel:[Function,String],optionDisable:[Function,String],hideSelected:Boolean,hideDropdownIcon:Boolean,fillInput:Boolean,maxValues:[Number,String],optionsDense:Boolean,optionsDark:{type:Boolean,default:null},optionsSelectedClass:String,optionsHtml:Boolean,optionsCover:Boolean,menuShrink:Boolean,menuAnchor:String,menuSelf:String,menuOffset:Array,popupContentClass:String,popupContentStyle:[String,Array,Object],useInput:Boolean,useChips:Boolean,newValueMode:{type:String,validator:k},mapOptions:Boolean,emitValue:Boolean,inputDebounce:{type:[Number,String],default:500},inputClass:[Array,String,Object],inputStyle:[Array,String,Object],tabindex:{type:[String,Number],default:0},autocomplete:String,transitionShow:String,transitionHide:String,transitionDuration:[String,Number],behavior:{type:String,validator:e=>["default","menu","dialog"].includes(e),default:"default"},virtualScrollItemSize:{type:[Number,String],default:void 0},onNewValue:Function,onFilter:Function},emits:[...o.HJ,"add","remove","inputValue","newValue","keyup","keypress","keydown","filterAbort"],setup(e,{slots:l,emit:C}){const{proxy:i}=(0,r.FN)(),{$q:c}=i,u=(0,t.iH)(!1),a=(0,t.iH)(!1),s=(0,t.iH)(-1),B=(0,t.iH)(""),O=(0,t.iH)(!1),F=(0,t.iH)(!1);let S,P,_,T,E,q,D,R=null,N=null;const I=(0,t.iH)(null),$=(0,t.iH)(null),U=(0,t.iH)(null),j=(0,t.iH)(null),z=(0,t.iH)(null),Y=(0,m.Do)(e),G=(0,H.Z)(We),W=(0,r.Fl)((()=>Array.isArray(e.options)?e.options.length:0)),K=(0,r.Fl)((()=>void 0===e.virtualScrollItemSize?!0===e.optionsDense?24:48:e.virtualScrollItemSize)),{virtualScrollSliceRange:X,virtualScrollSliceSizeComputed:Q,localResetVirtualScroll:J,padVirtualScroll:ee,onVirtualScrollEvt:le,scrollTo:Ce,setVirtualScrollSize:re}=(0,M.vp)({virtualScrollLength:W,getVirtualScrollTarget:je,getVirtualScrollEl:Ue,virtualScrollItemSizeComputed:K}),te=(0,o.tL)(),oe=(0,r.Fl)((()=>{const l=!0===e.mapOptions&&!0!==e.multiple,C=void 0===e.modelValue||null===e.modelValue&&!0!==l?[]:!0===e.multiple&&Array.isArray(e.modelValue)?e.modelValue:[e.modelValue];if(!0===e.mapOptions&&!0===Array.isArray(e.options)){const r=!0===e.mapOptions&&void 0!==S?S:[],t=C.map((e=>Te(e,r)));return null===e.modelValue&&!0===l?t.filter((e=>null!==e)):t}return C})),ie=(0,r.Fl)((()=>{const l={};return A.forEach((C=>{const r=e[C];void 0!==r&&(l[C]=r)})),l})),de=(0,r.Fl)((()=>null===e.optionsDark?te.isDark.value:e.optionsDark)),ne=(0,r.Fl)((()=>(0,o.yV)(oe.value))),ce=(0,r.Fl)((()=>{let l="q-field__input q-placeholder col";return!0===e.hideSelected||0===oe.value.length?[l,e.inputClass]:(l+=" q-field__input--padding",void 0===e.inputClass?l:[l,e.inputClass])})),ue=(0,r.Fl)((()=>(!0===e.virtualScrollHorizontal?"q-virtual-scroll--horizontal":"")+(e.popupContentClass?" "+e.popupContentClass:""))),ae=(0,r.Fl)((()=>0===W.value)),pe=(0,r.Fl)((()=>oe.value.map((e=>be.value(e))).join(", "))),fe=(0,r.Fl)((()=>void 0!==e.displayValue?e.displayValue:pe.value)),se=(0,r.Fl)((()=>!0===e.optionsHtml?()=>!0:e=>void 0!==e&&null!==e&&!0===e.html)),ve=(0,r.Fl)((()=>!0===e.displayValueHtml||void 0===e.displayValue&&(!0===e.optionsHtml||oe.value.some(se.value)))),he=(0,r.Fl)((()=>!0===te.focused.value?e.tabindex:-1)),Le=(0,r.Fl)((()=>{const l={tabindex:e.tabindex,role:"combobox","aria-label":e.label,"aria-readonly":!0===e.readonly?"true":"false","aria-autocomplete":!0===e.useInput?"list":"none","aria-expanded":!0===u.value?"true":"false","aria-controls":`${te.targetUid.value}_lb`};return s.value>=0&&(l["aria-activedescendant"]=`${te.targetUid.value}_${s.value}`),l})),ge=(0,r.Fl)((()=>({id:`${te.targetUid.value}_lb`,role:"listbox","aria-multiselectable":!0===e.multiple?"true":"false"}))),Ze=(0,r.Fl)((()=>oe.value.map(((e,l)=>({index:l,opt:e,html:se.value(e),selected:!0,removeAtIndex:Oe,toggleOption:Se,tabindex:he.value}))))),we=(0,r.Fl)((()=>{if(0===W.value)return[];const{from:l,to:C}=X.value;return e.options.slice(l,C).map(((C,r)=>{const t=!0===xe.value(C),o=l+r,i={clickable:!0,active:!1,activeClass:He.value,manualFocus:!0,focused:!1,disable:t,tabindex:-1,dense:e.optionsDense,dark:de.value,role:"option",id:`${te.targetUid.value}_${o}`,onClick:()=>{Se(C)}};return!0!==t&&(!0===qe(C)&&(i.active=!0),s.value===o&&(i.focused=!0),i["aria-selected"]=!0===i.active?"true":"false",!0===c.platform.is.desktop&&(i.onMousemove=()=>{!0===u.value&&Pe(o)})),{index:o,opt:C,html:se.value(C),label:be.value(C),selected:i.active,focused:i.focused,toggleOption:Se,setOptionIndex:Pe,itemProps:i}}))})),Me=(0,r.Fl)((()=>void 0!==e.dropdownIcon?e.dropdownIcon:c.iconSet.arrow.dropdown)),me=(0,r.Fl)((()=>!1===e.optionsCover&&!0!==e.outlined&&!0!==e.standout&&!0!==e.borderless&&!0!==e.rounded)),He=(0,r.Fl)((()=>void 0!==e.optionsSelectedClass?e.optionsSelectedClass:void 0!==e.color?`text-${e.color}`:"")),Ve=(0,r.Fl)((()=>Ee(e.optionValue,"value"))),be=(0,r.Fl)((()=>Ee(e.optionLabel,"label"))),xe=(0,r.Fl)((()=>Ee(e.optionDisable,"disable"))),ke=(0,r.Fl)((()=>oe.value.map((e=>Ve.value(e))))),ye=(0,r.Fl)((()=>{const e={onInput:We,onChange:G,onKeydown:$e,onKeyup:Ne,onKeypress:Ie,onFocus:De,onClick(e){!0===P&&(0,p.sT)(e)}};return e.onCompositionstart=e.onCompositionupdate=e.onCompositionend=G,e}));function Ae(l){return!0===e.emitValue?Ve.value(l):l}function Be(l){if(l>-1&&l=e.maxValues)return;const o=e.modelValue.slice();C("add",{index:o.length,value:t}),o.push(t),C("update:modelValue",o)}function Se(l,r){if(!0!==te.editable.value||void 0===l||!0===xe.value(l))return;const t=Ve.value(l);if(!0!==e.multiple)return!0!==r&&(Xe(!0===e.fillInput?be.value(l):"",!0,!0),ul()),null!==$.value&&$.value.focus(),void(0!==oe.value.length&&!0===(0,V.xb)(Ve.value(oe.value[0]),t)||C("update:modelValue",!0===e.emitValue?t:l));if((!0!==P||!0===O.value)&&te.focus(),De(),0===oe.value.length){const r=!0===e.emitValue?t:l;return C("add",{index:0,value:r}),void C("update:modelValue",!0===e.multiple?[r]:r)}const o=e.modelValue.slice(),i=ke.value.findIndex((e=>(0,V.xb)(e,t)));if(i>-1)C("remove",{index:i,value:o.splice(i,1)[0]});else{if(void 0!==e.maxValues&&o.length>=e.maxValues)return;const r=!0===e.emitValue?t:l;C("add",{index:o.length,value:r}),o.push(r)}C("update:modelValue",o)}function Pe(e){if(!0!==c.platform.is.desktop)return;const l=e>-1&&e=0?be.value(e.options[r]):T))}}function Te(l,C){const r=e=>(0,V.xb)(Ve.value(e),l);return e.options.find(r)||C.find(r)||l}function Ee(e,l){const C=void 0!==e?e:l;return"function"===typeof C?C:e=>null!==e&&"object"===typeof e&&C in e?e[C]:e}function qe(e){const l=Ve.value(e);return void 0!==ke.value.find((e=>(0,V.xb)(e,l)))}function De(l){!0===e.useInput&&null!==$.value&&(void 0===l||$.value===l.target&&l.target.value===pe.value)&&$.value.select()}function Re(e){!0===(0,x.So)(e,27)&&!0===u.value&&((0,p.sT)(e),ul(),al()),C("keyup",e)}function Ne(l){const{value:C}=l.target;if(void 0===l.keyCode)if(l.target.value="",null!==R&&(clearTimeout(R),R=null),al(),"string"===typeof C&&0!==C.length){const l=C.toLocaleLowerCase(),r=C=>{const r=e.options.find((e=>C.value(e).toLocaleLowerCase()===l));return void 0!==r&&(-1===oe.value.indexOf(r)?Se(r):ul(),!0)},t=e=>{!0!==r(Ve)&&!0!==r(be)&&!0!==e&&Qe(C,!0,(()=>t(!0)))};t()}else te.clearValue(l);else Re(l)}function Ie(e){C("keypress",e)}function $e(l){if(C("keydown",l),!0===(0,x.Wm)(l))return;const t=0!==B.value.length&&(void 0!==e.newValueMode||void 0!==e.onNewValue),o=!0!==l.shiftKey&&!0!==e.multiple&&(s.value>-1||!0===t);if(27===l.keyCode)return void(0,p.X$)(l);if(9===l.keyCode&&!1===o)return void nl();if(void 0===l.target||l.target.id!==te.targetUid.value||!0!==te.editable.value)return;if(40===l.keyCode&&!0!==te.innerLoading.value&&!1===u.value)return(0,p.NS)(l),void cl();if(8===l.keyCode&&!0!==e.hideSelected&&0===B.value.length)return void(!0===e.multiple&&!0===Array.isArray(e.modelValue)?Be(e.modelValue.length-1):!0!==e.multiple&&null!==e.modelValue&&C("update:modelValue",null));35!==l.keyCode&&36!==l.keyCode||"string"===typeof B.value&&0!==B.value.length||((0,p.NS)(l),s.value=-1,_e(36===l.keyCode?1:-1,e.multiple)),33!==l.keyCode&&34!==l.keyCode||void 0===Q.value||((0,p.NS)(l),s.value=Math.max(-1,Math.min(W.value,s.value+(33===l.keyCode?-1:1)*Q.value.view)),_e(33===l.keyCode?1:-1,e.multiple)),38!==l.keyCode&&40!==l.keyCode||((0,p.NS)(l),_e(38===l.keyCode?-1:1,e.multiple));const i=W.value;if((void 0===q||D0&&!0!==e.useInput&&void 0!==l.key&&1===l.key.length&&!1===l.altKey&&!1===l.ctrlKey&&!1===l.metaKey&&(32!==l.keyCode||0!==q.length)){!0!==u.value&&cl(l);const C=l.key.toLocaleLowerCase(),t=1===q.length&&q[0]===C;D=Date.now()+1500,!1===t&&((0,p.NS)(l),q+=C);const o=new RegExp("^"+q.split("").map((e=>y.indexOf(e)>-1?"\\"+e:e)).join(".*"),"i");let d=s.value;if(!0===t||d<0||!0!==o.test(be.value(e.options[d])))do{d=(0,b.Uz)(d+1,-1,i-1)}while(d!==s.value&&(!0===xe.value(e.options[d])||!0!==o.test(be.value(e.options[d]))));s.value!==d&&(0,r.Y3)((()=>{Pe(d),Ce(d),d>=0&&!0===e.useInput&&!0===e.fillInput&&Ke(be.value(e.options[d]))}))}else if(13===l.keyCode||32===l.keyCode&&!0!==e.useInput&&""===q||9===l.keyCode&&!1!==o)if(9!==l.keyCode&&(0,p.NS)(l),s.value>-1&&s.value{if(C){if(!0!==k(C))return}else C=e.newValueMode;if(Xe("",!0!==e.multiple,!0),void 0===l||null===l)return;const r="toggle"===C?Se:Fe;r(l,"add-unique"===C),!0!==e.multiple&&(null!==$.value&&$.value.focus(),ul())};if(void 0!==e.onNewValue?C("newValue",B.value,l):l(B.value),!0!==e.multiple)return}!0===u.value?nl():!0!==te.innerLoading.value&&cl()}}function Ue(){return!0===P?z.value:null!==U.value&&null!==U.value.contentEl?U.value.contentEl:void 0}function je(){return Ue()}function ze(){return!0===e.hideSelected?[]:void 0!==l["selected-item"]?Ze.value.map((e=>l["selected-item"](e))).slice():void 0!==l.selected?[].concat(l.selected()):!0===e.useChips?Ze.value.map(((l,C)=>(0,r.h)(v,{key:"option-"+C,removable:!0===te.editable.value&&!0!==xe.value(l.opt),dense:!0,textColor:e.color,tabindex:he.value,onRemove(){l.removeAtIndex(C)}},(()=>(0,r.h)("span",{class:"ellipsis",[!0===l.html?"innerHTML":"textContent"]:be.value(l.opt)}))))):[(0,r.h)("span",{[!0===ve.value?"innerHTML":"textContent"]:fe.value})]}function Ye(){if(!0===ae.value)return void 0!==l["no-option"]?l["no-option"]({inputValue:B.value}):void 0;const e=void 0!==l.option?l.option:e=>(0,r.h)(h.Z,{key:e.index,...e.itemProps},(()=>(0,r.h)(L.Z,(()=>(0,r.h)(g,(()=>(0,r.h)("span",{[!0===e.html?"innerHTML":"textContent"]:e.label})))))));let C=ee("div",we.value.map(e));return void 0!==l["before-options"]&&(C=l["before-options"]().concat(C)),(0,f.vs)(l["after-options"],C)}function Ge(l,C){const t=!0===C?{...Le.value,...te.splitAttrs.attributes.value}:void 0,o={ref:!0===C?$:void 0,key:"i_t",class:ce.value,style:e.inputStyle,value:void 0!==B.value?B.value:"",type:"search",...t,id:!0===C?te.targetUid.value:void 0,maxlength:e.maxlength,autocomplete:e.autocomplete,"data-autofocus":!0===l||!0===e.autofocus||void 0,disabled:!0===e.disable,readonly:!0===e.readonly,...ye.value};return!0!==l&&!0===P&&(!0===Array.isArray(o.class)?o.class=[...o.class,"no-pointer-events"]:o.class+=" no-pointer-events"),(0,r.h)("input",o)}function We(l){null!==R&&(clearTimeout(R),R=null),l&&l.target&&!0===l.target.qComposing||(Ke(l.target.value||""),_=!0,T=B.value,!0===te.focused.value||!0===P&&!0!==O.value||te.focus(),void 0!==e.onFilter&&(R=setTimeout((()=>{R=null,Qe(B.value)}),e.inputDebounce)))}function Ke(e){B.value!==e&&(B.value=e,C("inputValue",e))}function Xe(l,C,r){_=!0!==r,!0===e.useInput&&(Ke(l),!0!==C&&!0===r||(T=l),!0!==C&&Qe(l))}function Qe(l,t,o){if(void 0===e.onFilter||!0!==t&&!0!==te.focused.value)return;!0===te.innerLoading.value?C("filterAbort"):(te.innerLoading.value=!0,F.value=!0),""!==l&&!0!==e.multiple&&0!==oe.value.length&&!0!==_&&l===be.value(oe.value[0])&&(l="");const d=setTimeout((()=>{!0===u.value&&(u.value=!1)}),10);null!==N&&clearTimeout(N),N=d,C("filter",l,((e,l)=>{!0!==t&&!0!==te.focused.value||N!==d||(clearTimeout(N),"function"===typeof e&&e(),F.value=!1,(0,r.Y3)((()=>{te.innerLoading.value=!1,!0===te.editable.value&&(!0===t?!0===u.value&&ul():!0===u.value?pl(!0):u.value=!0),"function"===typeof l&&(0,r.Y3)((()=>{l(i)})),"function"===typeof o&&(0,r.Y3)((()=>{o(i)}))})))}),(()=>{!0===te.focused.value&&N===d&&(clearTimeout(N),te.innerLoading.value=!1,F.value=!1),!0===u.value&&(u.value=!1)}))}function Je(){return(0,r.h)(Z.Z,{ref:U,class:ue.value,style:e.popupContentStyle,modelValue:u.value,fit:!0!==e.menuShrink,cover:!0===e.optionsCover&&!0!==ae.value&&!0!==e.useInput,anchor:e.menuAnchor,self:e.menuSelf,offset:e.menuOffset,dark:de.value,noParentEvent:!0,noRefocus:!0,noFocus:!0,square:me.value,transitionShow:e.transitionShow,transitionHide:e.transitionHide,transitionDuration:e.transitionDuration,separateClosePopup:!0,...ge.value,onScrollPassive:le,onBeforeShow:vl,onBeforeHide:el,onShow:ll},Ye)}function el(e){hl(e),nl()}function ll(){re()}function Cl(e){(0,p.sT)(e),null!==$.value&&$.value.focus(),O.value=!0,window.scrollTo(window.pageXOffset||window.scrollX||document.body.scrollLeft||0,0)}function rl(e){(0,p.sT)(e),(0,r.Y3)((()=>{O.value=!1}))}function tl(){const C=[(0,r.h)(d,{class:`col-auto ${te.fieldClass.value}`,...ie.value,for:te.targetUid.value,dark:de.value,square:!0,loading:F.value,itemAligned:!1,filled:!0,stackLabel:0!==B.value.length,...te.splitAttrs.listeners.value,onFocus:Cl,onBlur:rl},{...l,rawControl:()=>te.getControl(!0),before:void 0,after:void 0})];return!0===u.value&&C.push((0,r.h)("div",{ref:z,class:ue.value+" scroll",style:e.popupContentStyle,...ge.value,onClick:p.X$,onScrollPassive:le},Ye())),(0,r.h)(w.Z,{ref:j,modelValue:a.value,position:!0===e.useInput?"top":void 0,transitionShow:E,transitionHide:e.transitionHide,transitionDuration:e.transitionDuration,onBeforeShow:vl,onBeforeHide:ol,onHide:il,onShow:dl},(()=>(0,r.h)("div",{class:"q-select__dialog"+(!0===de.value?" q-select__dialog--dark q-dark":"")+(!0===O.value?" q-select__dialog--focused":"")},C)))}function ol(e){hl(e),null!==j.value&&j.value.__updateRefocusTarget(te.rootRef.value.querySelector(".q-field__native > [tabindex]:last-child")),te.focused.value=!1}function il(e){ul(),!1===te.focused.value&&C("blur",e),al()}function dl(){const e=document.activeElement;null!==e&&e.id===te.targetUid.value||null===$.value||$.value===e||$.value.focus(),re()}function nl(){!0!==a.value&&(s.value=-1,!0===u.value&&(u.value=!1),!1===te.focused.value&&(null!==N&&(clearTimeout(N),N=null),!0===te.innerLoading.value&&(C("filterAbort"),te.innerLoading.value=!1,F.value=!1)))}function cl(C){!0===te.editable.value&&(!0===P?(te.onControlFocusin(C),a.value=!0,(0,r.Y3)((()=>{te.focus()}))):te.focus(),void 0!==e.onFilter?Qe(B.value):!0===ae.value&&void 0===l["no-option"]||(u.value=!0))}function ul(){a.value=!1,nl()}function al(){!0===e.useInput&&Xe(!0!==e.multiple&&!0===e.fillInput&&0!==oe.value.length&&be.value(oe.value[0])||"",!0,!0)}function pl(l){let C=-1;if(!0===l){if(0!==oe.value.length){const l=Ve.value(oe.value[0]);C=e.options.findIndex((e=>(0,V.xb)(Ve.value(e),l)))}J(C)}Pe(C)}function fl(e,l){!0===u.value&&!1===te.innerLoading.value&&(J(-1,!0),(0,r.Y3)((()=>{!0===u.value&&!1===te.innerLoading.value&&(e>l?J():pl(!0))})))}function sl(){!1===a.value&&null!==U.value&&U.value.updatePosition()}function vl(e){void 0!==e&&(0,p.sT)(e),C("popupShow",e),te.hasPopupOpen=!0,te.onControlFocusin(e)}function hl(e){void 0!==e&&(0,p.sT)(e),C("popupHide",e),te.hasPopupOpen=!1,te.onControlFocusout(e)}function Ll(){P=(!0===c.platform.is.mobile||"dialog"===e.behavior)&&("menu"!==e.behavior&&(!0!==e.useInput||(void 0!==l["no-option"]||void 0!==e.onFilter||!1===ae.value))),E=!0===c.platform.is.ios&&!0===P&&!0===e.useInput?"fade":e.transitionShow}return(0,r.YP)(oe,(l=>{S=l,!0===e.useInput&&!0===e.fillInput&&!0!==e.multiple&&!0!==te.innerLoading.value&&(!0!==a.value&&!0!==u.value||!0!==ne.value)&&(!0!==_&&al(),!0!==a.value&&!0!==u.value||Qe(""))}),{immediate:!0}),(0,r.YP)((()=>e.fillInput),al),(0,r.YP)(u,pl),(0,r.YP)(W,fl),(0,r.Xn)(Ll),(0,r.ic)(sl),Ll(),(0,r.Jd)((()=>{null!==R&&clearTimeout(R)})),Object.assign(i,{showPopup:cl,hidePopup:ul,removeAtIndex:Be,add:Fe,toggleOption:Se,getOptionIndex:()=>s.value,setOptionIndex:Pe,moveOptionSelection:_e,filter:Qe,updateMenuPosition:sl,updateInputValue:Xe,isOptionSelected:qe,getEmittingOptionValue:Ae,isOptionDisabled:(...e)=>!0===xe.value.apply(null,e),getOptionValue:(...e)=>Ve.value.apply(null,e),getOptionLabel:(...e)=>be.value.apply(null,e)}),Object.assign(te,{innerValue:oe,fieldClass:(0,r.Fl)((()=>`q-select q-field--auto-height q-select--with${!0!==e.useInput?"out":""}-input q-select--with${!0!==e.useChips?"out":""}-chips q-select--`+(!0===e.multiple?"multiple":"single"))),inputRef:I,targetRef:$,hasValue:ne,showPopup:cl,floatingLabel:(0,r.Fl)((()=>!0!==e.hideSelected&&!0===ne.value||"number"===typeof B.value||0!==B.value.length||(0,o.yV)(e.displayValue))),getControlChild:()=>{if(!1!==te.editable.value&&(!0===a.value||!0!==ae.value||void 0!==l["no-option"]))return!0===P?tl():Je();!0===te.hasPopupOpen&&(te.hasPopupOpen=!1)},controlEvents:{onFocusin(e){te.onControlFocusin(e)},onFocusout(e){te.onControlFocusout(e,(()=>{al(),nl()}))},onClick(e){if((0,p.X$)(e),!0!==P&&!0===u.value)return nl(),void(null!==$.value&&$.value.focus());cl(e)}},getControl:l=>{const C=ze(),t=!0===l||!0!==a.value||!0!==P;if(!0===e.useInput)C.push(Ge(l,t));else if(!0===te.editable.value){const o=!0===t?Le.value:void 0;C.push((0,r.h)("input",{ref:!0===t?$:void 0,key:"d_t",class:"q-select__focus-target",id:!0===t?te.targetUid.value:void 0,value:fe.value,readonly:!0,"data-autofocus":!0===l||!0===e.autofocus||void 0,...o,onKeydown:$e,onKeyup:Re,onKeypress:Ie})),!0===t&&"string"===typeof e.autocomplete&&0!==e.autocomplete.length&&C.push((0,r.h)("input",{class:"q-select__autocomplete-input",autocomplete:e.autocomplete,tabindex:-1,onKeyup:Ne}))}if(void 0!==Y.value&&!0!==e.disable&&0!==ke.value.length){const l=ke.value.map((e=>(0,r.h)("option",{value:e,selected:!0})));C.push((0,r.h)("select",{class:"hidden",name:Y.value,multiple:e.multiple},l))}const o=!0===e.useInput||!0!==t?void 0:te.splitAttrs.attributes.value;return(0,r.h)("div",{class:"q-field__native row items-center",...o,...te.splitAttrs.listeners.value},C)},getInnerAppend:()=>!0!==e.loading&&!0!==F.value&&!0!==e.hideDropdownIcon?[(0,r.h)(n.Z,{class:"q-select__dropdown-icon"+(!0===u.value?" rotate-180":""),name:Me.value})]:null}),(0,o.ZP)(te)}})},28423:(e,l,C)=>{"use strict";C.d(l,{Z:()=>M});C(69665);var r=C(59835),t=C(60499),o=C(99256),i=C(2873),d=C(68234),n=C(30321),c=C(91384),u=C(4680),a=C(22026);const p="q-slider__marker-labels",f=e=>({value:e}),s=({marker:e})=>(0,r.h)("div",{key:e.value,style:e.style,class:e.classes},e.label),v=[34,37,40,33,39,38],h={...d.S,...o.Fz,min:{type:Number,default:0},max:{type:Number,default:100},innerMin:Number,innerMax:Number,step:{type:Number,default:1,validator:e=>e>=0},snap:Boolean,vertical:Boolean,reverse:Boolean,hideSelection:Boolean,color:String,markerLabelsClass:String,label:Boolean,labelColor:String,labelTextColor:String,labelAlways:Boolean,switchLabelSide:Boolean,markers:[Boolean,Number],markerLabels:[Boolean,Array,Object,Function],switchMarkerLabelsSide:Boolean,trackImg:String,trackColor:String,innerTrackImg:String,innerTrackColor:String,selectionColor:String,selectionImg:String,thumbSize:{type:String,default:"20px"},trackSize:{type:String,default:"4px"},disable:Boolean,readonly:Boolean,dense:Boolean,tabindex:[String,Number],thumbColor:String,thumbPath:{type:String,default:"M 4, 10 a 6,6 0 1,0 12,0 a 6,6 0 1,0 -12,0"}},L=["pan","update:modelValue","change"];function g({updateValue:e,updatePosition:l,getDragging:C,formAttrs:h}){const{props:L,emit:g,slots:Z,proxy:{$q:w}}=(0,r.FN)(),M=(0,d.Z)(L,w),m=(0,o.eX)(h),H=(0,t.iH)(!1),V=(0,t.iH)(!1),b=(0,t.iH)(!1),x=(0,t.iH)(!1),k=(0,r.Fl)((()=>!0===L.vertical?"--v":"--h")),y=(0,r.Fl)((()=>"-"+(!0===L.switchLabelSide?"switched":"standard"))),A=(0,r.Fl)((()=>!0===L.vertical?!0===L.reverse:L.reverse!==(!0===w.lang.rtl))),B=(0,r.Fl)((()=>!0===isNaN(L.innerMin)||L.innerMin!0===isNaN(L.innerMax)||L.innerMax>L.max?L.max:L.innerMax)),F=(0,r.Fl)((()=>!0!==L.disable&&!0!==L.readonly&&B.value(String(L.step).trim().split(".")[1]||"").length)),P=(0,r.Fl)((()=>0===L.step?1:L.step)),_=(0,r.Fl)((()=>!0===F.value?L.tabindex||0:-1)),T=(0,r.Fl)((()=>L.max-L.min)),E=(0,r.Fl)((()=>O.value-B.value)),q=(0,r.Fl)((()=>ie(B.value))),D=(0,r.Fl)((()=>ie(O.value))),R=(0,r.Fl)((()=>!0===L.vertical?!0===A.value?"bottom":"top":!0===A.value?"right":"left")),N=(0,r.Fl)((()=>!0===L.vertical?"height":"width")),I=(0,r.Fl)((()=>!0===L.vertical?"width":"height")),$=(0,r.Fl)((()=>!0===L.vertical?"vertical":"horizontal")),U=(0,r.Fl)((()=>{const e={role:"slider","aria-valuemin":B.value,"aria-valuemax":O.value,"aria-orientation":$.value,"data-step":L.step};return!0===L.disable?e["aria-disabled"]="true":!0===L.readonly&&(e["aria-readonly"]="true"),e})),j=(0,r.Fl)((()=>`q-slider q-slider${k.value} q-slider--${!0===H.value?"":"in"}active inline no-wrap `+(!0===L.vertical?"row":"column")+(!0===L.disable?" disabled":" q-slider--enabled"+(!0===F.value?" q-slider--editable":""))+("both"===b.value?" q-slider--focus":"")+(L.label||!0===L.labelAlways?" q-slider--label":"")+(!0===L.labelAlways?" q-slider--label-always":"")+(!0===M.value?" q-slider--dark":"")+(!0===L.dense?" q-slider--dense q-slider--dense"+k.value:"")));function z(e){const l="q-slider__"+e;return`${l} ${l}${k.value} ${l}${k.value}${y.value}`}function Y(e){const l="q-slider__"+e;return`${l} ${l}${k.value}`}const G=(0,r.Fl)((()=>{const e=L.selectionColor||L.color;return"q-slider__selection absolute"+(void 0!==e?` text-${e}`:"")})),W=(0,r.Fl)((()=>Y("markers")+" absolute overflow-hidden")),K=(0,r.Fl)((()=>Y("track-container"))),X=(0,r.Fl)((()=>z("pin"))),Q=(0,r.Fl)((()=>z("label"))),J=(0,r.Fl)((()=>z("text-container"))),ee=(0,r.Fl)((()=>z("marker-labels-container")+(void 0!==L.markerLabelsClass?` ${L.markerLabelsClass}`:""))),le=(0,r.Fl)((()=>"q-slider__track relative-position no-outline"+(void 0!==L.trackColor?` bg-${L.trackColor}`:""))),Ce=(0,r.Fl)((()=>{const e={[I.value]:L.trackSize};return void 0!==L.trackImg&&(e.backgroundImage=`url(${L.trackImg}) !important`),e})),re=(0,r.Fl)((()=>"q-slider__inner absolute"+(void 0!==L.innerTrackColor?` bg-${L.innerTrackColor}`:""))),te=(0,r.Fl)((()=>{const e={[R.value]:100*q.value+"%",[N.value]:100*(D.value-q.value)+"%"};return void 0!==L.innerTrackImg&&(e.backgroundImage=`url(${L.innerTrackImg}) !important`),e}));function oe(e){const{min:l,max:C,step:r}=L;let t=l+e*(C-l);if(r>0){const e=(t-l)%r;t+=(Math.abs(e)>=r/2?(e<0?-1:1)*r:0)-e}return S.value>0&&(t=parseFloat(t.toFixed(S.value))),(0,n.vX)(t,B.value,O.value)}function ie(e){return 0===T.value?0:(e-L.min)/T.value}function de(e,l){const C=(0,c.FK)(e),r=!0===L.vertical?(0,n.vX)((C.top-l.top)/l.height,0,1):(0,n.vX)((C.left-l.left)/l.width,0,1);return(0,n.vX)(!0===A.value?1-r:r,q.value,D.value)}const ne=(0,r.Fl)((()=>!0===(0,u.hj)(L.markers)?L.markers:P.value)),ce=(0,r.Fl)((()=>{const e=[],l=ne.value,C=L.max;let r=L.min;do{e.push(r),r+=l}while(r{const e=` ${p}${k.value}-`;return p+`${e}${!0===L.switchMarkerLabelsSide?"switched":"standard"}`+`${e}${!0===A.value?"rtl":"ltr"}`})),ae=(0,r.Fl)((()=>!1===L.markerLabels?null:se(L.markerLabels).map(((e,l)=>({index:l,value:e.value,label:e.label||e.value,classes:ue.value+(void 0!==e.classes?" "+e.classes:""),style:{...ve(e.value),...e.style||{}}}))))),pe=(0,r.Fl)((()=>({markerList:ae.value,markerMap:he.value,classes:ue.value,getStyle:ve}))),fe=(0,r.Fl)((()=>{if(0!==E.value){const e=100*ne.value/E.value;return{...te.value,backgroundSize:!0===L.vertical?`2px ${e}%`:`${e}% 2px`}}return null}));function se(e){if(!1===e)return null;if(!0===e)return ce.value.map(f);if("function"===typeof e)return ce.value.map((l=>{const C=e(l);return!0===(0,u.Kn)(C)?{...C,value:l}:{value:l,label:C}}));const l=({value:e})=>e>=L.min&&e<=L.max;return!0===Array.isArray(e)?e.map((e=>!0===(0,u.Kn)(e)?e:{value:e})).filter(l):Object.keys(e).map((l=>{const C=e[l],r=Number(l);return!0===(0,u.Kn)(C)?{...C,value:r}:{value:r,label:C}})).filter(l)}function ve(e){return{[R.value]:100*(e-L.min)/T.value+"%"}}const he=(0,r.Fl)((()=>{if(!1===L.markerLabels)return null;const e={};return ae.value.forEach((l=>{e[l.value]=l})),e}));function Le(){if(void 0!==Z["marker-label-group"])return Z["marker-label-group"](pe.value);const e=Z["marker-label"]||s;return ae.value.map((l=>e({marker:l,...pe.value})))}const ge=(0,r.Fl)((()=>[[i.Z,Ze,void 0,{[$.value]:!0,prevent:!0,stop:!0,mouse:!0,mouseAllDir:!0}]]));function Ze(r){!0===r.isFinal?(void 0!==x.value&&(l(r.evt),!0===r.touch&&e(!0),x.value=void 0,g("pan","end")),H.value=!1,b.value=!1):!0===r.isFirst?(x.value=C(r.evt),l(r.evt),e(),H.value=!0,g("pan","start")):(l(r.evt),e())}function we(){b.value=!1}function Me(r){l(r,C(r)),e(),V.value=!0,H.value=!0,document.addEventListener("mouseup",me,!0)}function me(){V.value=!1,H.value=!1,e(!0),we(),document.removeEventListener("mouseup",me,!0)}function He(r){l(r,C(r)),e(!0)}function Ve(l){v.includes(l.keyCode)&&e(!0)}function be(e){if(!0===L.vertical)return null;const l=w.lang.rtl!==L.reverse?1-e:e;return{transform:`translateX(calc(${2*l-1} * ${L.thumbSize} / 2 + ${50-100*l}%))`}}function xe(e){const l=(0,r.Fl)((()=>!1!==V.value||b.value!==e.focusValue&&"both"!==b.value?"":" q-slider--focus")),C=(0,r.Fl)((()=>`q-slider__thumb q-slider__thumb${k.value} q-slider__thumb${k.value}-${!0===A.value?"rtl":"ltr"} absolute non-selectable`+l.value+(void 0!==e.thumbColor.value?` text-${e.thumbColor.value}`:""))),t=(0,r.Fl)((()=>({width:L.thumbSize,height:L.thumbSize,[R.value]:100*e.ratio.value+"%",zIndex:b.value===e.focusValue?2:void 0}))),o=(0,r.Fl)((()=>void 0!==e.labelColor.value?` text-${e.labelColor.value}`:"")),i=(0,r.Fl)((()=>be(e.ratio.value))),d=(0,r.Fl)((()=>"q-slider__text"+(void 0!==e.labelTextColor.value?` text-${e.labelTextColor.value}`:"")));return()=>{const l=[(0,r.h)("svg",{class:"q-slider__thumb-shape absolute-full",viewBox:"0 0 20 20","aria-hidden":"true"},[(0,r.h)("path",{d:L.thumbPath})]),(0,r.h)("div",{class:"q-slider__focus-ring fit"})];return!0!==L.label&&!0!==L.labelAlways||(l.push((0,r.h)("div",{class:X.value+" absolute fit no-pointer-events"+o.value},[(0,r.h)("div",{class:Q.value,style:{minWidth:L.thumbSize}},[(0,r.h)("div",{class:J.value,style:i.value},[(0,r.h)("span",{class:d.value},e.label.value)])])])),void 0!==L.name&&!0!==L.disable&&m(l,"push")),(0,r.h)("div",{class:C.value,style:t.value,...e.getNodeData()},l)}}function ke(e,l,C,t){const o=[];"transparent"!==L.innerTrackColor&&o.push((0,r.h)("div",{key:"inner",class:re.value,style:te.value})),"transparent"!==L.selectionColor&&o.push((0,r.h)("div",{key:"selection",class:G.value,style:e.value})),!1!==L.markers&&o.push((0,r.h)("div",{key:"marker",class:W.value,style:fe.value})),t(o);const i=[(0,a.Jl)("div",{key:"trackC",class:K.value,tabindex:l.value,...C.value},[(0,r.h)("div",{class:le.value,style:Ce.value},o)],"slide",F.value,(()=>ge.value))];if(!1!==L.markerLabels){const e=!0===L.switchMarkerLabelsSide?"unshift":"push";i[e]((0,r.h)("div",{key:"markerL",class:ee.value},Le()))}return i}return(0,r.Jd)((()=>{document.removeEventListener("mouseup",me,!0)})),{state:{active:H,focus:b,preventFocus:V,dragging:x,editable:F,classes:j,tabindex:_,attributes:U,step:P,decimals:S,trackLen:T,innerMin:B,innerMinRatio:q,innerMax:O,innerMaxRatio:D,positionProp:R,sizeProp:N,isReversed:A},methods:{onActivate:Me,onMobileClick:He,onBlur:we,onKeyup:Ve,getContent:ke,getThumbRenderFn:xe,convertRatioToModel:oe,convertModelToRatio:ie,getDraggingRatio:de}}}var Z=C(65987);const w=()=>({}),M=(0,Z.L)({name:"QSlider",props:{...h,modelValue:{required:!0,default:null,validator:e=>"number"===typeof e||null===e},labelValue:[String,Number]},emits:L,setup(e,{emit:l}){const{proxy:{$q:C}}=(0,r.FN)(),{state:i,methods:d}=g({updateValue:m,updatePosition:V,getDragging:H,formAttrs:(0,o.Vt)(e)}),u=(0,t.iH)(null),a=(0,t.iH)(0),p=(0,t.iH)(0);function f(){p.value=null===e.modelValue?i.innerMin.value:(0,n.vX)(e.modelValue,i.innerMin.value,i.innerMax.value)}(0,r.YP)((()=>`${e.modelValue}|${i.innerMin.value}|${i.innerMax.value}`),f),f();const s=(0,r.Fl)((()=>d.convertModelToRatio(p.value))),h=(0,r.Fl)((()=>!0===i.active.value?a.value:s.value)),L=(0,r.Fl)((()=>{const l={[i.positionProp.value]:100*i.innerMinRatio.value+"%",[i.sizeProp.value]:100*(h.value-i.innerMinRatio.value)+"%"};return void 0!==e.selectionImg&&(l.backgroundImage=`url(${e.selectionImg}) !important`),l})),Z=d.getThumbRenderFn({focusValue:!0,getNodeData:w,ratio:h,label:(0,r.Fl)((()=>void 0!==e.labelValue?e.labelValue:p.value)),thumbColor:(0,r.Fl)((()=>e.thumbColor||e.color)),labelColor:(0,r.Fl)((()=>e.labelColor)),labelTextColor:(0,r.Fl)((()=>e.labelTextColor))}),M=(0,r.Fl)((()=>!0!==i.editable.value?{}:!0===C.platform.is.mobile?{onClick:d.onMobileClick}:{onMousedown:d.onActivate,onFocus:b,onBlur:d.onBlur,onKeydown:x,onKeyup:d.onKeyup}));function m(C){p.value!==e.modelValue&&l("update:modelValue",p.value),!0===C&&l("change",p.value)}function H(){return u.value.getBoundingClientRect()}function V(l,C=i.dragging.value){const r=d.getDraggingRatio(l,C);p.value=d.convertRatioToModel(r),a.value=!0!==e.snap||0===e.step?r:d.convertModelToRatio(p.value)}function b(){i.focus.value=!0}function x(l){if(!v.includes(l.keyCode))return;(0,c.NS)(l);const C=([34,33].includes(l.keyCode)?10:1)*i.step.value,r=([34,37,40].includes(l.keyCode)?-1:1)*(!0===i.isReversed.value?-1:1)*(!0===e.vertical?-1:1)*C;p.value=(0,n.vX)(parseFloat((p.value+r).toFixed(i.decimals.value)),i.innerMin.value,i.innerMax.value),m()}return()=>{const l=d.getContent(L,i.tabindex,M,(e=>{e.push(Z())}));return(0,r.h)("div",{ref:u,class:i.classes.value+(null===e.modelValue?" q-slider--no-value":""),...i.attributes.value,"aria-valuenow":e.modelValue},l)}}})},90136:(e,l,C)=>{"use strict";C.d(l,{Z:()=>i});var r=C(59835),t=C(65987);const o=(0,r.h)("div",{class:"q-space"}),i=(0,t.L)({name:"QSpace",setup(){return()=>o}})},13902:(e,l,C)=>{"use strict";C.d(l,{Z:()=>i});var r=C(59835),t=C(8313),o=C(65987);const i=(0,o.L)({name:"QSpinner",props:{...t.G,thickness:{type:Number,default:5}},setup(e){const{cSize:l,classes:C}=(0,t.Z)(e);return()=>(0,r.h)("svg",{class:C.value+" q-spinner-mat",width:l.value,height:l.value,viewBox:"25 25 50 50"},[(0,r.h)("circle",{class:"path",cx:"50",cy:"50",r:"20",fill:"none",stroke:"currentColor","stroke-width":e.thickness,"stroke-miterlimit":"10"})])}})},93040:(e,l,C)=>{"use strict";C.d(l,{Z:()=>d});var r=C(59835),t=C(8313),o=C(65987);const i=[(0,r.h)("circle",{cx:"12.5",cy:"12.5",r:"12.5"},[(0,r.h)("animate",{attributeName:"fill-opacity",begin:"0s",dur:"1s",values:"1;.2;1",calcMode:"linear",repeatCount:"indefinite"})]),(0,r.h)("circle",{cx:"12.5",cy:"52.5",r:"12.5","fill-opacity":".5"},[(0,r.h)("animate",{attributeName:"fill-opacity",begin:"100ms",dur:"1s",values:"1;.2;1",calcMode:"linear",repeatCount:"indefinite"})]),(0,r.h)("circle",{cx:"52.5",cy:"12.5",r:"12.5"},[(0,r.h)("animate",{attributeName:"fill-opacity",begin:"300ms",dur:"1s",values:"1;.2;1",calcMode:"linear",repeatCount:"indefinite"})]),(0,r.h)("circle",{cx:"52.5",cy:"52.5",r:"12.5"},[(0,r.h)("animate",{attributeName:"fill-opacity",begin:"600ms",dur:"1s",values:"1;.2;1",calcMode:"linear",repeatCount:"indefinite"})]),(0,r.h)("circle",{cx:"92.5",cy:"12.5",r:"12.5"},[(0,r.h)("animate",{attributeName:"fill-opacity",begin:"800ms",dur:"1s",values:"1;.2;1",calcMode:"linear",repeatCount:"indefinite"})]),(0,r.h)("circle",{cx:"92.5",cy:"52.5",r:"12.5"},[(0,r.h)("animate",{attributeName:"fill-opacity",begin:"400ms",dur:"1s",values:"1;.2;1",calcMode:"linear",repeatCount:"indefinite"})]),(0,r.h)("circle",{cx:"12.5",cy:"92.5",r:"12.5"},[(0,r.h)("animate",{attributeName:"fill-opacity",begin:"700ms",dur:"1s",values:"1;.2;1",calcMode:"linear",repeatCount:"indefinite"})]),(0,r.h)("circle",{cx:"52.5",cy:"92.5",r:"12.5"},[(0,r.h)("animate",{attributeName:"fill-opacity",begin:"500ms",dur:"1s",values:"1;.2;1",calcMode:"linear",repeatCount:"indefinite"})]),(0,r.h)("circle",{cx:"92.5",cy:"92.5",r:"12.5"},[(0,r.h)("animate",{attributeName:"fill-opacity",begin:"200ms",dur:"1s",values:"1;.2;1",calcMode:"linear",repeatCount:"indefinite"})])],d=(0,o.L)({name:"QSpinnerGrid",props:t.G,setup(e){const{cSize:l,classes:C}=(0,t.Z)(e);return()=>(0,r.h)("svg",{class:C.value,fill:"currentColor",width:l.value,height:l.value,viewBox:"0 0 105 105",xmlns:"http://www.w3.org/2000/svg"},i)}})},8313:(e,l,C)=>{"use strict";C.d(l,{G:()=>o,Z:()=>i});var r=C(59835),t=C(20244);const o={size:{type:[Number,String],default:"1em"},color:String};function i(e){return{cSize:(0,r.Fl)((()=>e.size in t.Ok?`${t.Ok[e.size]}px`:e.size)),classes:(0,r.Fl)((()=>"q-spinner"+(e.color?` text-${e.color}`:"")))}}},70974:(e,l,C)=>{"use strict";C.d(l,{Z:()=>Q});C(86890),C(69665);var r=C(59835),t=C(60499),o=C(22857),i=C(65987),d=C(22026);const n=(0,i.L)({name:"QTh",props:{props:Object,autoWidth:Boolean},emits:["click"],setup(e,{slots:l,emit:C}){const t=(0,r.FN)(),{proxy:{$q:i}}=t,n=e=>{C("click",e)};return()=>{if(void 0===e.props)return(0,r.h)("th",{class:!0===e.autoWidth?"q-table--col-auto-width":"",onClick:n},(0,d.KR)(l.default));let C,c;const u=t.vnode.key;if(u){if(C=e.props.colsMap[u],void 0===C)return}else C=e.props.col;if(!0===C.sortable){const e="right"===C.align?"unshift":"push";c=(0,d.Bl)(l.default,[]),c[e]((0,r.h)(o.Z,{class:C.__iconClass,name:i.iconSet.table.arrowUp}))}else c=(0,d.KR)(l.default);const a={class:C.__thClass+(!0===e.autoWidth?" q-table--col-auto-width":""),style:C.headerStyle,onClick:l=>{!0===C.sortable&&e.props.sort(C),n(l)}};return(0,r.h)("th",a,c)}}});var c=C(68234);const u={true:"inset",item:"item-inset","item-thumbnail":"item-thumbnail-inset"},a={xs:2,sm:4,md:8,lg:16,xl:24},p=(0,i.L)({name:"QSeparator",props:{...c.S,spaced:[Boolean,String],inset:[Boolean,String],vertical:Boolean,color:String,size:String},setup(e){const l=(0,r.FN)(),C=(0,c.Z)(e,l.proxy.$q),t=(0,r.Fl)((()=>!0===e.vertical?"vertical":"horizontal")),o=(0,r.Fl)((()=>` q-separator--${t.value}`)),i=(0,r.Fl)((()=>!1!==e.inset?`${o.value}-${u[e.inset]}`:"")),d=(0,r.Fl)((()=>`q-separator${o.value}${i.value}`+(void 0!==e.color?` bg-${e.color}`:"")+(!0===C.value?" q-separator--dark":""))),n=(0,r.Fl)((()=>{const l={};if(void 0!==e.size&&(l[!0===e.vertical?"width":"height"]=e.size),!1!==e.spaced){const C=!0===e.spaced?`${a.md}px`:e.spaced in a?`${a[e.spaced]}px`:e.spaced,r=!0===e.vertical?["Left","Right"]:["Top","Bottom"];l[`margin${r[0]}`]=l[`margin${r[1]}`]=C}return l}));return()=>(0,r.h)("hr",{class:d.value,style:n.value,"aria-orientation":t.value})}});var f=C(13246),s=C(66933);function v(e,l){return(0,r.h)("div",e,[(0,r.h)("table",{class:"q-table"},l)])}var h=C(92043),L=C(43701),g=C(91384);const Z={list:f.Z,table:s.Z},w=["list","table","__qtable"],M=(0,i.L)({name:"QVirtualScroll",props:{...h.t9,type:{type:String,default:"list",validator:e=>w.includes(e)},items:{type:Array,default:()=>[]},itemsFn:Function,itemsSize:Number,scrollTarget:{default:void 0}},setup(e,{slots:l,attrs:C}){let o;const i=(0,t.iH)(null),n=(0,r.Fl)((()=>e.itemsSize>=0&&void 0!==e.itemsFn?parseInt(e.itemsSize,10):Array.isArray(e.items)?e.items.length:0)),{virtualScrollSliceRange:c,localResetVirtualScroll:u,padVirtualScroll:a,onVirtualScrollEvt:p}=(0,h.vp)({virtualScrollLength:n,getVirtualScrollTarget:m,getVirtualScrollEl:M}),f=(0,r.Fl)((()=>{if(0===n.value)return[];const l=(e,l)=>({index:c.value.from+l,item:e});return void 0===e.itemsFn?e.items.slice(c.value.from,c.value.to).map(l):e.itemsFn(c.value.from,c.value.to-c.value.from).map(l)})),s=(0,r.Fl)((()=>"q-virtual-scroll q-virtual-scroll"+(!0===e.virtualScrollHorizontal?"--horizontal":"--vertical")+(void 0!==e.scrollTarget?"":" scroll"))),w=(0,r.Fl)((()=>void 0!==e.scrollTarget?{}:{tabindex:0}));function M(){return i.value.$el||i.value}function m(){return o}function H(){o=(0,L.b0)(M(),e.scrollTarget),o.addEventListener("scroll",p,g.listenOpts.passive)}function V(){void 0!==o&&(o.removeEventListener("scroll",p,g.listenOpts.passive),o=void 0)}function b(){let C=a("list"===e.type?"div":"tbody",f.value.map(l.default));return void 0!==l.before&&(C=l.before().concat(C)),(0,d.vs)(l.after,C)}return(0,r.YP)(n,(()=>{u()})),(0,r.YP)((()=>e.scrollTarget),(()=>{V(),H()})),(0,r.wF)((()=>{u()})),(0,r.bv)((()=>{H()})),(0,r.dl)((()=>{H()})),(0,r.se)((()=>{V()})),(0,r.Jd)((()=>{V()})),()=>{if(void 0!==l.default)return"__qtable"===e.type?v({ref:i,class:"q-table__middle "+s.value},b()):(0,r.h)(Z[e.type],{...C,ref:i,class:[C.class,s.value],...w.value},b);console.error("QVirtualScroll: default scoped slot is required for rendering")}}});var m=C(42913),H=C(8289),V=C(5413);const b=(0,r.h)("div",{key:"svg",class:"q-checkbox__bg absolute"},[(0,r.h)("svg",{class:"q-checkbox__svg fit absolute-full",viewBox:"0 0 24 24"},[(0,r.h)("path",{class:"q-checkbox__truthy",fill:"none",d:"M1.73,12.91 8.1,19.28 22.79,4.59"}),(0,r.h)("path",{class:"q-checkbox__indet",d:"M4,14H20V10H4"})])]),x=(0,i.L)({name:"QCheckbox",props:V.Fz,emits:V.ZB,setup(e){function l(l,C){const t=(0,r.Fl)((()=>(!0===l.value?e.checkedIcon:!0===C.value?e.indeterminateIcon:e.uncheckedIcon)||null));return()=>null!==t.value?[(0,r.h)("div",{key:"icon",class:"q-checkbox__icon-container absolute-full flex flex-center no-wrap"},[(0,r.h)(o.Z,{class:"q-checkbox__icon",name:t.value})])]:[b]}return(0,V.ZP)("checkbox",l)}});var k=C(68879),y=C(93929);function A(e,l){return new Date(e)-new Date(l)}var B=C(4680);const O={sortMethod:Function,binaryStateSort:Boolean,columnSortOrder:{type:String,validator:e=>"ad"===e||"da"===e,default:"ad"}};function F(e,l,C,t){const o=(0,r.Fl)((()=>{const{sortBy:e}=l.value;return e&&C.value.find((l=>l.name===e))||null})),i=(0,r.Fl)((()=>void 0!==e.sortMethod?e.sortMethod:(e,l,r)=>{const t=C.value.find((e=>e.name===l));if(void 0===t||void 0===t.field)return e;const o=!0===r?-1:1,i="function"===typeof t.field?e=>t.field(e):e=>e[t.field];return e.sort(((e,l)=>{let C=i(e),r=i(l);return null===C||void 0===C?-1*o:null===r||void 0===r?1*o:void 0!==t.sort?t.sort(C,r,e,l)*o:!0===(0,B.hj)(C)&&!0===(0,B.hj)(r)?(C-r)*o:!0===(0,B.J_)(C)&&!0===(0,B.J_)(r)?A(C,r)*o:"boolean"===typeof C&&"boolean"===typeof r?(C-r)*o:([C,r]=[C,r].map((e=>(e+"").toLocaleString().toLowerCase())),Ce.name===r));void 0!==e&&e.sortOrder&&(o=e.sortOrder)}let{sortBy:i,descending:d}=l.value;i!==r?(i=r,d="da"===o):!0===e.binaryStateSort?d=!d:!0===d?"ad"===o?i=null:d=!1:"ad"===o?d=!0:i=null,t({sortBy:i,descending:d,page:1})}return{columnToSort:o,computedSortMethod:i,sort:d}}const S={filter:[String,Object],filterMethod:Function};function P(e,l){const C=(0,r.Fl)((()=>void 0!==e.filterMethod?e.filterMethod:(e,l,C,r)=>{const t=l?l.toLowerCase():"";return e.filter((e=>C.some((l=>{const C=r(l,e)+"",o="undefined"===C||"null"===C?"":C.toLowerCase();return-1!==o.indexOf(t)}))))}));return(0,r.YP)((()=>e.filter),(()=>{(0,r.Y3)((()=>{l({page:1},!0)}))}),{deep:!0}),{computedFilterMethod:C}}function _(e,l){for(const C in l)if(l[C]!==e[C])return!1;return!0}function T(e){return e.page<1&&(e.page=1),void 0!==e.rowsPerPage&&e.rowsPerPage<1&&(e.rowsPerPage=0),e}const E={pagination:Object,rowsPerPageOptions:{type:Array,default:()=>[5,7,10,15,20,25,50,0]},"onUpdate:pagination":[Function,Array]};function q(e,l){const{props:C,emit:o}=e,i=(0,t.iH)(Object.assign({sortBy:null,descending:!1,page:1,rowsPerPage:0!==C.rowsPerPageOptions.length?C.rowsPerPageOptions[0]:5},C.pagination)),d=(0,r.Fl)((()=>{const e=void 0!==C["onUpdate:pagination"]?{...i.value,...C.pagination}:i.value;return T(e)})),n=(0,r.Fl)((()=>void 0!==d.value.rowsNumber));function c(e){u({pagination:e,filter:C.filter})}function u(e={}){(0,r.Y3)((()=>{o("request",{pagination:e.pagination||d.value,filter:e.filter||C.filter,getCellValue:l})}))}function a(e,l){const r=T({...d.value,...e});!0!==_(d.value,r)?!0!==n.value?void 0!==C.pagination&&void 0!==C["onUpdate:pagination"]?o("update:pagination",r):i.value=r:c(r):!0===n.value&&!0===l&&c(r)}return{innerPagination:i,computedPagination:d,isServerSide:n,requestServerInteraction:u,setPagination:a}}function D(e,l,C,t,o,i){const{props:d,emit:n,proxy:{$q:c}}=e,u=(0,r.Fl)((()=>!0===t.value?C.value.rowsNumber||0:i.value)),a=(0,r.Fl)((()=>{const{page:e,rowsPerPage:l}=C.value;return(e-1)*l})),p=(0,r.Fl)((()=>{const{page:e,rowsPerPage:l}=C.value;return e*l})),f=(0,r.Fl)((()=>1===C.value.page)),s=(0,r.Fl)((()=>0===C.value.rowsPerPage?1:Math.max(1,Math.ceil(u.value/C.value.rowsPerPage)))),v=(0,r.Fl)((()=>0===p.value||C.value.page>=s.value)),h=(0,r.Fl)((()=>{const e=d.rowsPerPageOptions.includes(l.value.rowsPerPage)?d.rowsPerPageOptions:[l.value.rowsPerPage].concat(d.rowsPerPageOptions);return e.map((e=>({label:0===e?c.lang.table.allRows:""+e,value:e})))}));function L(){o({page:1})}function g(){const{page:e}=C.value;e>1&&o({page:e-1})}function Z(){const{page:e,rowsPerPage:l}=C.value;p.value>0&&e*l{if(e===l)return;const r=C.value.page;e&&!r?o({page:1}):e["single","multiple","none"].includes(e)},selected:{type:Array,default:()=>[]}},N=["update:selected","selection"];function I(e,l,C,t){const o=(0,r.Fl)((()=>{const l={};return e.selected.map(t.value).forEach((e=>{l[e]=!0})),l})),i=(0,r.Fl)((()=>"none"!==e.selection)),d=(0,r.Fl)((()=>"single"===e.selection)),n=(0,r.Fl)((()=>"multiple"===e.selection)),c=(0,r.Fl)((()=>0!==C.value.length&&C.value.every((e=>!0===o.value[t.value(e)])))),u=(0,r.Fl)((()=>!0!==c.value&&C.value.some((e=>!0===o.value[t.value(e)])))),a=(0,r.Fl)((()=>e.selected.length));function p(e){return!0===o.value[e]}function f(){l("update:selected",[])}function s(C,r,o,i){l("selection",{rows:r,added:o,keys:C,evt:i});const n=!0===d.value?!0===o?r:[]:!0===o?e.selected.concat(r):e.selected.filter((e=>!1===C.includes(t.value(e))));l("update:selected",n)}return{hasSelectionMode:i,singleSelection:d,multipleSelection:n,allRowsSelected:c,someRowsSelected:u,rowsSelectedNumber:a,isRowSelected:p,clearSelection:f,updateSelection:s}}function $(e){return Array.isArray(e)?e.slice():[]}const U={expanded:Array},j=["update:expanded"];function z(e,l){const C=(0,t.iH)($(e.expanded));function o(e){return C.value.includes(e)}function i(r){void 0!==e.expanded?l("update:expanded",r):C.value=r}function d(e,l){const r=C.value.slice(),t=r.indexOf(e);!0===l?-1===t&&(r.push(e),i(r)):-1!==t&&(r.splice(t,1),i(r))}return(0,r.YP)((()=>e.expanded),(e=>{C.value=$(e)})),{isRowExpanded:o,setExpanded:i,updateExpanded:d}}const Y={visibleColumns:Array};function G(e,l,C){const t=(0,r.Fl)((()=>{if(void 0!==e.columns)return e.columns;const l=e.rows[0];return void 0!==l?Object.keys(l).map((e=>({name:e,label:e.toUpperCase(),field:e,align:(0,B.hj)(l[e])?"right":"left",sortable:!0}))):[]})),o=(0,r.Fl)((()=>{const{sortBy:C,descending:r}=l.value,o=void 0!==e.visibleColumns?t.value.filter((l=>!0===l.required||!0===e.visibleColumns.includes(l.name))):t.value;return o.map((e=>{const l=e.align||"right",t=`text-${l}`;return{...e,align:l,__iconClass:`q-table__sort-icon q-table__sort-icon--${l}`,__thClass:t+(void 0!==e.headerClasses?" "+e.headerClasses:"")+(!0===e.sortable?" sortable":"")+(e.name===C?" sorted "+(!0===r?"sort-desc":""):""),__tdStyle:void 0!==e.style?"function"!==typeof e.style?()=>e.style:e.style:()=>null,__tdClass:void 0!==e.classes?"function"!==typeof e.classes?()=>t+" "+e.classes:l=>t+" "+e.classes(l):()=>t}}))})),i=(0,r.Fl)((()=>{const e={};return o.value.forEach((l=>{e[l.name]=l})),e})),d=(0,r.Fl)((()=>void 0!==e.tableColspan?e.tableColspan:o.value.length+(!0===C.value?1:0)));return{colList:t,computedCols:o,computedColsMap:i,computedColspan:d}}var W=C(43251);const K="q-table__bottom row items-center",X={};h.If.forEach((e=>{X[e]={}}));const Q=(0,i.L)({name:"QTable",props:{rows:{type:Array,default:()=>[]},rowKey:{type:[String,Function],default:"id"},columns:Array,loading:Boolean,iconFirstPage:String,iconPrevPage:String,iconNextPage:String,iconLastPage:String,title:String,hideHeader:Boolean,grid:Boolean,gridHeader:Boolean,dense:Boolean,flat:Boolean,bordered:Boolean,square:Boolean,separator:{type:String,default:"horizontal",validator:e=>["horizontal","vertical","cell","none"].includes(e)},wrapCells:Boolean,virtualScroll:Boolean,virtualScrollTarget:{default:void 0},...X,noDataLabel:String,noResultsLabel:String,loadingLabel:String,selectedRowsLabel:Function,rowsPerPageLabel:String,paginationLabel:Function,color:{type:String,default:"grey-8"},titleClass:[String,Array,Object],tableStyle:[String,Array,Object],tableClass:[String,Array,Object],tableHeaderStyle:[String,Array,Object],tableHeaderClass:[String,Array,Object],cardContainerClass:[String,Array,Object],cardContainerStyle:[String,Array,Object],cardStyle:[String,Array,Object],cardClass:[String,Array,Object],hideBottom:Boolean,hideSelectedBanner:Boolean,hideNoData:Boolean,hidePagination:Boolean,onRowClick:Function,onRowDblclick:Function,onRowContextmenu:Function,...c.S,...y.kM,...Y,...S,...E,...U,...R,...O},emits:["request","virtualScroll",...y.fL,...j,...N],setup(e,{slots:l,emit:C}){const i=(0,r.FN)(),{proxy:{$q:d}}=i,u=(0,c.Z)(e,d),{inFullscreen:a,toggleFullscreen:f}=(0,y.ZP)(),s=(0,r.Fl)((()=>"function"===typeof e.rowKey?e.rowKey:l=>l[e.rowKey])),L=(0,t.iH)(null),g=(0,t.iH)(null),Z=(0,r.Fl)((()=>!0!==e.grid&&!0===e.virtualScroll)),w=(0,r.Fl)((()=>" q-table__card"+(!0===u.value?" q-table__card--dark q-dark":"")+(!0===e.square?" q-table--square":"")+(!0===e.flat?" q-table--flat":"")+(!0===e.bordered?" q-table--bordered":""))),V=(0,r.Fl)((()=>`q-table__container q-table--${e.separator}-separator column no-wrap`+(!0===e.grid?" q-table--grid":w.value)+(!0===u.value?" q-table--dark":"")+(!0===e.dense?" q-table--dense":"")+(!1===e.wrapCells?" q-table--no-wrap":"")+(!0===a.value?" fullscreen scroll":""))),b=(0,r.Fl)((()=>V.value+(!0===e.loading?" q-table--loading":"")));(0,r.YP)((()=>e.tableStyle+e.tableClass+e.tableHeaderStyle+e.tableHeaderClass+V.value),(()=>{!0===Z.value&&null!==g.value&&g.value.reset()}));const{innerPagination:A,computedPagination:B,isServerSide:O,requestServerInteraction:S,setPagination:_}=q(i,Te),{computedFilterMethod:T}=P(e,_),{isRowExpanded:E,setExpanded:R,updateExpanded:N}=z(e,C),$=(0,r.Fl)((()=>{let l=e.rows;if(!0===O.value||0===l.length)return l;const{sortBy:C,descending:r}=B.value;return e.filter&&(l=T.value(l,e.filter,ie.value,Te)),null!==ce.value&&(l=ue.value(e.rows===l?l.slice():l,C,r)),l})),U=(0,r.Fl)((()=>$.value.length)),j=(0,r.Fl)((()=>{let l=$.value;if(!0===O.value)return l;const{rowsPerPage:C}=B.value;return 0!==C&&(0===pe.value&&e.rows!==l?l.length>fe.value&&(l=l.slice(0,fe.value)):l=l.slice(pe.value,fe.value)),l})),{hasSelectionMode:Y,singleSelection:X,multipleSelection:Q,allRowsSelected:J,someRowsSelected:ee,rowsSelectedNumber:le,isRowSelected:Ce,clearSelection:re,updateSelection:te}=I(e,C,j,s),{colList:oe,computedCols:ie,computedColsMap:de,computedColspan:ne}=G(e,B,Y),{columnToSort:ce,computedSortMethod:ue,sort:ae}=F(e,B,oe,_),{firstRowIndex:pe,lastRowIndex:fe,isFirstPage:se,isLastPage:ve,pagesNumber:he,computedRowsPerPageOptions:Le,computedRowsNumber:ge,firstPage:Ze,prevPage:we,nextPage:Me,lastPage:me}=D(i,A,B,O,_,U),He=(0,r.Fl)((()=>0===j.value.length)),Ve=(0,r.Fl)((()=>{const l={};return h.If.forEach((C=>{l[C]=e[C]})),void 0===l.virtualScrollItemSize&&(l.virtualScrollItemSize=!0===e.dense?28:48),l}));function be(){!0===Z.value&&g.value.reset()}function xe(){if(!0===e.grid)return We();const C=!0!==e.hideHeader?Re:null;if(!0===Z.value){const t=l["top-row"],o=l["bottom-row"],i={default:e=>Be(e.item,l.body,e.index)};if(void 0!==t){const e=(0,r.h)("tbody",t({cols:ie.value}));i.before=null===C?()=>e:()=>[C()].concat(e)}else null!==C&&(i.before=C);return void 0!==o&&(i.after=()=>(0,r.h)("tbody",o({cols:ie.value}))),(0,r.h)(M,{ref:g,class:e.tableClass,style:e.tableStyle,...Ve.value,scrollTarget:e.virtualScrollTarget,items:j.value,type:"__qtable",tableColspan:ne.value,onVirtualScroll:ye},i)}const t=[Oe()];return null!==C&&t.unshift(C()),v({class:["q-table__middle scroll",e.tableClass],style:e.tableStyle},t)}function ke(l,r){if(null!==g.value)return void g.value.scrollTo(l,r);l=parseInt(l,10);const t=L.value.querySelector(`tbody tr:nth-of-type(${l+1})`);if(null!==t){const r=L.value.querySelector(".q-table__middle.scroll"),o=t.offsetTop-e.virtualScrollStickySizeStart,i=o{const C=l[`body-cell-${e.name}`],o=void 0!==C?C:c;return void 0!==o?o(Se({key:d,row:t,pageIndex:i,col:e})):(0,r.h)("td",{class:e.__tdClass(t),style:e.__tdStyle(t)},Te(e,t))}));if(!0===Y.value){const C=l["body-selection"],o=void 0!==C?C(Pe({key:d,row:t,pageIndex:i})):[(0,r.h)(x,{modelValue:n,color:e.color,dark:u.value,dense:e.dense,"onUpdate:modelValue":(e,l)=>{te([d],[t],e,l)}})];a.unshift((0,r.h)("td",{class:"q-table--col-auto-width"},o))}const p={key:d,class:{selected:n}};return void 0!==e.onRowClick&&(p.class["cursor-pointer"]=!0,p.onClick=e=>{C("RowClick",e,t,i)}),void 0!==e.onRowDblclick&&(p.class["cursor-pointer"]=!0,p.onDblclick=e=>{C("RowDblclick",e,t,i)}),void 0!==e.onRowContextmenu&&(p.class["cursor-pointer"]=!0,p.onContextmenu=e=>{C("RowContextmenu",e,t,i)}),(0,r.h)("tr",p,a)}function Oe(){const e=l.body,C=l["top-row"],t=l["bottom-row"];let o=j.value.map(((l,C)=>Be(l,e,C)));return void 0!==C&&(o=C({cols:ie.value}).concat(o)),void 0!==t&&(o=o.concat(t({cols:ie.value}))),(0,r.h)("tbody",o)}function Fe(e){return _e(e),e.cols=e.cols.map((l=>(0,W.g)({...l},"value",(()=>Te(l,e.row))))),e}function Se(e){return _e(e),(0,W.g)(e,"value",(()=>Te(e.col,e.row))),e}function Pe(e){return _e(e),e}function _e(l){Object.assign(l,{cols:ie.value,colsMap:de.value,sort:ae,rowIndex:pe.value+l.pageIndex,color:e.color,dark:u.value,dense:e.dense}),!0===Y.value&&(0,W.g)(l,"selected",(()=>Ce(l.key)),((e,C)=>{te([l.key],[l.row],e,C)})),(0,W.g)(l,"expand",(()=>E(l.key)),(e=>{N(l.key,e)}))}function Te(e,l){const C="function"===typeof e.field?e.field(l):l[e.field];return void 0!==e.format?e.format(C,l):C}const Ee=(0,r.Fl)((()=>({pagination:B.value,pagesNumber:he.value,isFirstPage:se.value,isLastPage:ve.value,firstPage:Ze,prevPage:we,nextPage:Me,lastPage:me,inFullscreen:a.value,toggleFullscreen:f})));function qe(){const C=l.top,t=l["top-left"],o=l["top-right"],i=l["top-selection"],d=!0===Y.value&&void 0!==i&&le.value>0,n="q-table__top relative-position row items-center";if(void 0!==C)return(0,r.h)("div",{class:n},[C(Ee.value)]);let c;return!0===d?c=i(Ee.value).slice():(c=[],void 0!==t?c.push((0,r.h)("div",{class:"q-table__control"},[t(Ee.value)])):e.title&&c.push((0,r.h)("div",{class:"q-table__control"},[(0,r.h)("div",{class:["q-table__title",e.titleClass]},e.title)]))),void 0!==o&&(c.push((0,r.h)("div",{class:"q-table__separator col"})),c.push((0,r.h)("div",{class:"q-table__control"},[o(Ee.value)]))),0!==c.length?(0,r.h)("div",{class:n},c):void 0}const De=(0,r.Fl)((()=>!0===ee.value?null:J.value));function Re(){const C=Ne();return!0===e.loading&&void 0===l.loading&&C.push((0,r.h)("tr",{class:"q-table__progress"},[(0,r.h)("th",{class:"relative-position",colspan:ne.value},Ae())])),(0,r.h)("thead",C)}function Ne(){const C=l.header,t=l["header-cell"];if(void 0!==C)return C(Ie({header:!0})).slice();const o=ie.value.map((e=>{const C=l[`header-cell-${e.name}`],o=void 0!==C?C:t,i=Ie({col:e});return void 0!==o?o(i):(0,r.h)(n,{key:e.name,props:i},(()=>e.label))}));if(!0===X.value&&!0!==e.grid)o.unshift((0,r.h)("th",{class:"q-table--col-auto-width"}," "));else if(!0===Q.value){const C=l["header-selection"],t=void 0!==C?C(Ie({})):[(0,r.h)(x,{color:e.color,modelValue:De.value,dark:u.value,dense:e.dense,"onUpdate:modelValue":$e})];o.unshift((0,r.h)("th",{class:"q-table--col-auto-width"},t))}return[(0,r.h)("tr",{class:e.tableHeaderClass,style:e.tableHeaderStyle},o)]}function Ie(l){return Object.assign(l,{cols:ie.value,sort:ae,colsMap:de.value,color:e.color,dark:u.value,dense:e.dense}),!0===Q.value&&(0,W.g)(l,"selected",(()=>De.value),$e),l}function $e(e){!0===ee.value&&(e=!1),te(j.value.map(s.value),j.value,e)}const Ue=(0,r.Fl)((()=>{const l=[e.iconFirstPage||d.iconSet.table.firstPage,e.iconPrevPage||d.iconSet.table.prevPage,e.iconNextPage||d.iconSet.table.nextPage,e.iconLastPage||d.iconSet.table.lastPage];return!0===d.lang.rtl?l.reverse():l}));function je(){if(!0===e.hideBottom)return;if(!0===He.value){if(!0===e.hideNoData)return;const C=!0===e.loading?e.loadingLabel||d.lang.table.loading:e.filter?e.noResultsLabel||d.lang.table.noResults:e.noDataLabel||d.lang.table.noData,t=l["no-data"],i=void 0!==t?[t({message:C,icon:d.iconSet.table.warning,filter:e.filter})]:[(0,r.h)(o.Z,{class:"q-table__bottom-nodata-icon",name:d.iconSet.table.warning}),C];return(0,r.h)("div",{class:K+" q-table__bottom--nodata"},i)}const C=l.bottom;if(void 0!==C)return(0,r.h)("div",{class:K},[C(Ee.value)]);const t=!0!==e.hideSelectedBanner&&!0===Y.value&&le.value>0?[(0,r.h)("div",{class:"q-table__control"},[(0,r.h)("div",[(e.selectedRowsLabel||d.lang.table.selectedRecords)(le.value)])])]:[];return!0!==e.hidePagination?(0,r.h)("div",{class:K+" justify-end"},Ye(t)):0!==t.length?(0,r.h)("div",{class:K},t):void 0}function ze(e){_({page:1,rowsPerPage:e.value})}function Ye(C){let t;const{rowsPerPage:o}=B.value,i=e.paginationLabel||d.lang.table.pagination,n=l.pagination,c=e.rowsPerPageOptions.length>1;if(C.push((0,r.h)("div",{class:"q-table__separator col"})),!0===c&&C.push((0,r.h)("div",{class:"q-table__control"},[(0,r.h)("span",{class:"q-table__bottom-item"},[e.rowsPerPageLabel||d.lang.table.recordsPerPage]),(0,r.h)(m.Z,{class:"q-table__select inline q-table__bottom-item",color:e.color,modelValue:o,options:Le.value,displayValue:0===o?d.lang.table.allRows:o,dark:u.value,borderless:!0,dense:!0,optionsDense:!0,optionsCover:!0,"onUpdate:modelValue":ze})])),void 0!==n)t=n(Ee.value);else if(t=[(0,r.h)("span",0!==o?{class:"q-table__bottom-item"}:{},[o?i(pe.value+1,Math.min(fe.value,ge.value),ge.value):i(1,U.value,ge.value)])],0!==o&&he.value>1){const l={color:e.color,round:!0,dense:!0,flat:!0};!0===e.dense&&(l.size="sm"),he.value>2&&t.push((0,r.h)(k.Z,{key:"pgFirst",...l,icon:Ue.value[0],disable:se.value,onClick:Ze})),t.push((0,r.h)(k.Z,{key:"pgPrev",...l,icon:Ue.value[1],disable:se.value,onClick:we}),(0,r.h)(k.Z,{key:"pgNext",...l,icon:Ue.value[2],disable:ve.value,onClick:Me})),he.value>2&&t.push((0,r.h)(k.Z,{key:"pgLast",...l,icon:Ue.value[3],disable:ve.value,onClick:me}))}return C.push((0,r.h)("div",{class:"q-table__control"},t)),C}function Ge(){const C=!0===e.gridHeader?[(0,r.h)("table",{class:"q-table"},[Re(r.h)])]:!0===e.loading&&void 0===l.loading?Ae(r.h):void 0;return(0,r.h)("div",{class:"q-table__middle"},C)}function We(){const t=void 0!==l.item?l.item:t=>{const o=t.cols.map((e=>(0,r.h)("div",{class:"q-table__grid-item-row"},[(0,r.h)("div",{class:"q-table__grid-item-title"},[e.label]),(0,r.h)("div",{class:"q-table__grid-item-value"},[e.value])])));if(!0===Y.value){const C=l["body-selection"],i=void 0!==C?C(t):[(0,r.h)(x,{modelValue:t.selected,color:e.color,dark:u.value,dense:e.dense,"onUpdate:modelValue":(e,l)=>{te([t.key],[t.row],e,l)}})];o.unshift((0,r.h)("div",{class:"q-table__grid-item-row"},i),(0,r.h)(p,{dark:u.value}))}const i={class:["q-table__grid-item-card"+w.value,e.cardClass],style:e.cardStyle};return void 0===e.onRowClick&&void 0===e.onRowDblclick||(i.class[0]+=" cursor-pointer",void 0!==e.onRowClick&&(i.onClick=e=>{C("RowClick",e,t.row,t.pageIndex)}),void 0!==e.onRowDblclick&&(i.onDblclick=e=>{C("RowDblclick",e,t.row,t.pageIndex)})),(0,r.h)("div",{class:"q-table__grid-item col-xs-12 col-sm-6 col-md-4 col-lg-3"+(!0===t.selected?" q-table__grid-item--selected":"")},[(0,r.h)("div",i,o)])};return(0,r.h)("div",{class:["q-table__grid-content row",e.cardContainerClass],style:e.cardContainerStyle},j.value.map(((e,l)=>t(Fe({key:s.value(e),row:e,pageIndex:l})))))}return Object.assign(i.proxy,{requestServerInteraction:S,setPagination:_,firstPage:Ze,prevPage:we,nextPage:Me,lastPage:me,isRowSelected:Ce,clearSelection:re,isRowExpanded:E,setExpanded:R,sort:ae,resetVirtualScroll:be,scrollTo:ke,getCellValue:Te}),(0,W.K)(i.proxy,{filteredSortedRows:()=>$.value,computedRows:()=>j.value,computedRowsNumber:()=>ge.value}),()=>{const C=[qe()],t={ref:L,class:b.value};return!0===e.grid?C.push(Ge()):Object.assign(t,{class:[t.class,e.cardClass],style:e.cardStyle}),C.push(xe(),je()),!0===e.loading&&void 0!==l.loading&&C.push(l.loading()),(0,r.h)("div",t,C)}}})},67220:(e,l,C)=>{"use strict";C.d(l,{Z:()=>i});var r=C(59835),t=C(65987),o=C(22026);const i=(0,t.L)({name:"QTd",props:{props:Object,autoWidth:Boolean,noHover:Boolean},setup(e,{slots:l}){const C=(0,r.FN)(),t=(0,r.Fl)((()=>"q-td"+(!0===e.autoWidth?" q-table--col-auto-width":"")+(!0===e.noHover?" q-td--no-hover":"")+" "));return()=>{if(void 0===e.props)return(0,r.h)("td",{class:t.value},(0,o.KR)(l.default));const i=C.vnode.key,d=(void 0!==e.props.colsMap?e.props.colsMap[i]:null)||e.props.col;if(void 0===d)return;const{row:n}=e.props;return(0,r.h)("td",{class:t.value+d.__tdClass(n),style:d.__tdStyle(n)},(0,o.KR)(l.default))}}})},94337:(e,l,C)=>{"use strict";C.d(l,{Z:()=>Z});var r=C(59835),t=C(70945),o=(C(69665),C(60499)),i=C(22857),d=C(51136),n=C(22026),c=C(61705),u=C(95439),a=C(91384),p=C(50796),f=C(4680);let s=0;const v=["click","keydown"],h={icon:String,label:[Number,String],alert:[Boolean,String],alertIcon:String,name:{type:[Number,String],default:()=>"t_"+s++},noCaps:Boolean,tabindex:[String,Number],disable:Boolean,contentClass:String,ripple:{type:[Boolean,Object],default:!0}};function L(e,l,C,t){const s=(0,r.f3)(u.Nd,u.qO);if(s===u.qO)return console.error("QTab/QRouteTab component needs to be child of QTabs"),u.qO;const{proxy:v}=(0,r.FN)(),h=(0,o.iH)(null),L=(0,o.iH)(null),g=(0,o.iH)(null),Z=(0,r.Fl)((()=>!0!==e.disable&&!1!==e.ripple&&Object.assign({keyCodes:[13,32],early:!0},!0===e.ripple?{}:e.ripple))),w=(0,r.Fl)((()=>s.currentModel.value===e.name)),M=(0,r.Fl)((()=>"q-tab relative-position self-stretch flex flex-center text-center"+(!0===w.value?" q-tab--active"+(s.tabProps.value.activeClass?" "+s.tabProps.value.activeClass:"")+(s.tabProps.value.activeColor?` text-${s.tabProps.value.activeColor}`:"")+(s.tabProps.value.activeBgColor?` bg-${s.tabProps.value.activeBgColor}`:""):" q-tab--inactive")+(e.icon&&e.label&&!1===s.tabProps.value.inlineLabel?" q-tab--full":"")+(!0===e.noCaps||!0===s.tabProps.value.noCaps?" q-tab--no-caps":"")+(!0===e.disable?" disabled":" q-focusable q-hoverable cursor-pointer")+(void 0!==t?t.linkClass.value:""))),m=(0,r.Fl)((()=>"q-tab__content self-stretch flex-center relative-position q-anchor--skip non-selectable "+(!0===s.tabProps.value.inlineLabel?"row no-wrap q-tab__content--inline":"column")+(void 0!==e.contentClass?` ${e.contentClass}`:""))),H=(0,r.Fl)((()=>!0===e.disable||!0===s.hasFocus.value||!1===w.value&&!0===s.hasActiveTab.value?-1:e.tabindex||0));function V(l,r){if(!0!==r&&null!==h.value&&h.value.focus(),!0!==e.disable){if(void 0===t)return s.updateModel({name:e.name}),void C("click",l);if(!0===t.hasRouterLink.value){const r=(C={})=>{let r;const o=void 0===C.to||!0===(0,f.xb)(C.to,e.to)?s.avoidRouteWatcher=(0,p.Z)():null;return t.navigateToRouterLink(l,{...C,returnRouterError:!0}).catch((e=>{r=e})).then((l=>{if(o===s.avoidRouteWatcher&&(s.avoidRouteWatcher=!1,void 0!==r||void 0!==l&&!0!==l.message.startsWith("Avoided redundant navigation")||s.updateModel({name:e.name})),!0===C.returnRouterError)return void 0!==r?Promise.reject(r):l}))};return C("click",l,r),void(!0!==l.defaultPrevented&&r())}C("click",l)}else void 0!==t&&!0===t.hasRouterLink.value&&(0,a.NS)(l)}function b(e){(0,c.So)(e,[13,32])?V(e,!0):!0!==(0,c.Wm)(e)&&e.keyCode>=35&&e.keyCode<=40&&!0!==e.altKey&&!0!==e.metaKey&&!0===s.onKbdNavigate(e.keyCode,v.$el)&&(0,a.NS)(e),C("keydown",e)}function x(){const C=s.tabProps.value.narrowIndicator,t=[],o=(0,r.h)("div",{ref:g,class:["q-tab__indicator",s.tabProps.value.indicatorClass]});void 0!==e.icon&&t.push((0,r.h)(i.Z,{class:"q-tab__icon",name:e.icon})),void 0!==e.label&&t.push((0,r.h)("div",{class:"q-tab__label"},e.label)),!1!==e.alert&&t.push(void 0!==e.alertIcon?(0,r.h)(i.Z,{class:"q-tab__alert-icon",color:!0!==e.alert?e.alert:void 0,name:e.alertIcon}):(0,r.h)("div",{class:"q-tab__alert"+(!0!==e.alert?` text-${e.alert}`:"")})),!0===C&&t.push(o);const d=[(0,r.h)("div",{class:"q-focus-helper",tabindex:-1,ref:h}),(0,r.h)("div",{class:m.value},(0,n.vs)(l.default,t))];return!1===C&&d.push(o),d}const k={name:(0,r.Fl)((()=>e.name)),rootRef:L,tabIndicatorRef:g,routeData:t};function y(l,C){const t={ref:L,class:M.value,tabindex:H.value,role:"tab","aria-selected":!0===w.value?"true":"false","aria-disabled":!0===e.disable?"true":void 0,onClick:V,onKeydown:b,...C};return(0,r.wy)((0,r.h)(l,t,x()),[[d.Z,Z.value]])}return(0,r.Jd)((()=>{s.unregisterTab(k)})),(0,r.bv)((()=>{s.registerTab(k)})),{renderTab:y,$tabs:s}}var g=C(65987);const Z=(0,g.L)({name:"QRouteTab",props:{...t.$,...h},emits:v,setup(e,{slots:l,emit:C}){const o=(0,t.Z)({useDisableForRouterLinkProps:!1}),{renderTab:i,$tabs:d}=L(e,l,C,{exact:(0,r.Fl)((()=>e.exact)),...o});return(0,r.YP)((()=>`${e.name} | ${e.exact} | ${(o.resolvedLink.value||{}).href}`),(()=>{d.verifyRouteModel()})),()=>i(o.linkTag.value,o.linkAttrs.value)}})},47817:(e,l,C)=>{"use strict";C.d(l,{Z:()=>v});C(69665);var r=C(59835),t=C(60499),o=C(22857),i=C(60883),d=C(16916),n=C(52695),c=C(65987),u=C(22026),a=C(95439),p=C(78383);function f(e,l,C){const r=!0===C?["left","right"]:["top","bottom"];return`absolute-${!0===l?r[0]:r[1]}${e?` text-${e}`:""}`}const s=["left","center","right","justify"],v=(0,c.L)({name:"QTabs",props:{modelValue:[Number,String],align:{type:String,default:"center",validator:e=>s.includes(e)},breakpoint:{type:[String,Number],default:600},vertical:Boolean,shrink:Boolean,stretch:Boolean,activeClass:String,activeColor:String,activeBgColor:String,indicatorColor:String,leftIcon:String,rightIcon:String,outsideArrows:Boolean,mobileArrows:Boolean,switchIndicator:Boolean,narrowIndicator:Boolean,inlineLabel:Boolean,noCaps:Boolean,dense:Boolean,contentClass:String,"onUpdate:modelValue":[Function,Array]},setup(e,{slots:l,emit:C}){const{proxy:c}=(0,r.FN)(),{$q:s}=c,{registerTick:v}=(0,d.Z)(),{registerTick:h}=(0,d.Z)(),{registerTick:L}=(0,d.Z)(),{registerTimeout:g,removeTimeout:Z}=(0,n.Z)(),{registerTimeout:w,removeTimeout:M}=(0,n.Z)(),m=(0,t.iH)(null),H=(0,t.iH)(null),V=(0,t.iH)(e.modelValue),b=(0,t.iH)(!1),x=(0,t.iH)(!0),k=(0,t.iH)(!1),y=(0,t.iH)(!1),A=[],B=(0,t.iH)(0),O=(0,t.iH)(!1);let F,S=null,P=null;const _=(0,r.Fl)((()=>({activeClass:e.activeClass,activeColor:e.activeColor,activeBgColor:e.activeBgColor,indicatorClass:f(e.indicatorColor,e.switchIndicator,e.vertical),narrowIndicator:e.narrowIndicator,inlineLabel:e.inlineLabel,noCaps:e.noCaps}))),T=(0,r.Fl)((()=>{const e=B.value,l=V.value;for(let C=0;C{const l=!0===b.value?"left":!0===y.value?"justify":e.align;return`q-tabs__content--align-${l}`})),q=(0,r.Fl)((()=>`q-tabs row no-wrap items-center q-tabs--${!0===b.value?"":"not-"}scrollable q-tabs--`+(!0===e.vertical?"vertical":"horizontal")+" q-tabs__arrows--"+(!0===e.outsideArrows?"outside":"inside")+` q-tabs--mobile-with${!0===e.mobileArrows?"":"out"}-arrows`+(!0===e.dense?" q-tabs--dense":"")+(!0===e.shrink?" col-shrink":"")+(!0===e.stretch?" self-stretch":""))),D=(0,r.Fl)((()=>"q-tabs__content scroll--mobile row no-wrap items-center self-stretch hide-scrollbar relative-position "+E.value+(void 0!==e.contentClass?` ${e.contentClass}`:""))),R=(0,r.Fl)((()=>!0===e.vertical?{container:"height",content:"offsetHeight",scroll:"scrollHeight"}:{container:"width",content:"offsetWidth",scroll:"scrollWidth"})),N=(0,r.Fl)((()=>!0!==e.vertical&&!0===s.lang.rtl)),I=(0,r.Fl)((()=>!1===p.e&&!0===N.value));function $({name:l,setCurrent:r,skipEmit:t}){V.value!==l&&(!0!==t&&void 0!==e["onUpdate:modelValue"]&&C("update:modelValue",l),!0!==r&&void 0!==e["onUpdate:modelValue"]||(z(V.value,l),V.value=l))}function U(){v((()=>{j({width:m.value.offsetWidth,height:m.value.offsetHeight})}))}function j(l){if(void 0===R.value||null===H.value)return;const C=l[R.value.container],r=Math.min(H.value[R.value.scroll],Array.prototype.reduce.call(H.value.children,((e,l)=>e+(l[R.value.content]||0)),0)),t=C>0&&r>C;b.value=t,!0===t&&h(G),y.value=Ce.name.value===l)):null,t=void 0!==C&&null!==C&&""!==C?A.find((e=>e.name.value===C)):null;if(r&&t){const l=r.tabIndicatorRef.value,C=t.tabIndicatorRef.value;null!==S&&(clearTimeout(S),S=null),l.style.transition="none",l.style.transform="none",C.style.transition="none",C.style.transform="none";const o=l.getBoundingClientRect(),i=C.getBoundingClientRect();C.style.transform=!0===e.vertical?`translate3d(0,${o.top-i.top}px,0) scale3d(1,${i.height?o.height/i.height:1},1)`:`translate3d(${o.left-i.left}px,0,0) scale3d(${i.width?o.width/i.width:1},1,1)`,L((()=>{S=setTimeout((()=>{S=null,C.style.transition="transform .25s cubic-bezier(.4, 0, .2, 1)",C.style.transform="none"}),70)}))}t&&!0===b.value&&Y(t.rootRef.value)}function Y(l){const{left:C,width:r,top:t,height:o}=H.value.getBoundingClientRect(),i=l.getBoundingClientRect();let d=!0===e.vertical?i.top-t:i.left-C;if(d<0)return H.value[!0===e.vertical?"scrollTop":"scrollLeft"]+=Math.floor(d),void G();d+=!0===e.vertical?i.height-o:i.width-r,d>0&&(H.value[!0===e.vertical?"scrollTop":"scrollLeft"]+=Math.ceil(d),G())}function G(){const l=H.value;if(null===l)return;const C=l.getBoundingClientRect(),r=!0===e.vertical?l.scrollTop:Math.abs(l.scrollLeft);!0===N.value?(x.value=Math.ceil(r+C.width)0):(x.value=r>0,k.value=!0===e.vertical?Math.ceil(r+C.height){!0===le(e)&&Q()}),5)}function K(){W(!0===I.value?Number.MAX_SAFE_INTEGER:0)}function X(){W(!0===I.value?0:Number.MAX_SAFE_INTEGER)}function Q(){null!==P&&(clearInterval(P),P=null)}function J(l,C){const r=Array.prototype.filter.call(H.value.children,(e=>e===C||e.matches&&!0===e.matches(".q-tab.q-focusable"))),t=r.length;if(0===t)return;if(36===l)return Y(r[0]),r[0].focus(),!0;if(35===l)return Y(r[t-1]),r[t-1].focus(),!0;const o=l===(!0===e.vertical?38:37),i=l===(!0===e.vertical?40:39),d=!0===o?-1:!0===i?1:void 0;if(void 0!==d){const e=!0===N.value?-1:1,l=r.indexOf(C)+d*e;return l>=0&&le.modelValue),(e=>{$({name:e,setCurrent:!0,skipEmit:!0})})),(0,r.YP)((()=>e.outsideArrows),U);const ee=(0,r.Fl)((()=>!0===I.value?{get:e=>Math.abs(e.scrollLeft),set:(e,l)=>{e.scrollLeft=-l}}:!0===e.vertical?{get:e=>e.scrollTop,set:(e,l)=>{e.scrollTop=l}}:{get:e=>e.scrollLeft,set:(e,l)=>{e.scrollLeft=l}}));function le(e){const l=H.value,{get:C,set:r}=ee.value;let t=!1,o=C(l);const i=e=e)&&(t=!0,o=e),r(l,o),G(),t}function Ce(e,l){for(const C in e)if(e[C]!==l[C])return!1;return!0}function re(){let e=null,l={matchedLen:0,queryDiff:9999,hrefLen:0};const C=A.filter((e=>void 0!==e.routeData&&!0===e.routeData.hasRouterLink.value)),{hash:r,query:t}=c.$route,o=Object.keys(t).length;for(const i of C){const C=!0===i.routeData.exact.value;if(!0!==i.routeData[!0===C?"linkIsExactActive":"linkIsActive"].value)continue;const{hash:d,query:n,matched:c,href:u}=i.routeData.resolvedLink.value,a=Object.keys(n).length;if(!0===C){if(d!==r)continue;if(a!==o||!1===Ce(t,n))continue;e=i.name.value;break}if(""!==d&&d!==r)continue;if(0!==a&&!1===Ce(n,t))continue;const p={matchedLen:c.length,queryDiff:o-a,hrefLen:u.length-d.length};if(p.matchedLen>l.matchedLen)e=i.name.value,l=p;else if(p.matchedLen===l.matchedLen){if(p.queryDiffl.hrefLen&&(e=i.name.value,l=p)}}null===e&&!0===A.some((e=>void 0===e.routeData&&e.name.value===V.value))||$({name:e,setCurrent:!0})}function te(e){if(Z(),!0!==O.value&&null!==m.value&&e.target&&"function"===typeof e.target.closest){const l=e.target.closest(".q-tab");l&&!0===m.value.contains(l)&&(O.value=!0,!0===b.value&&Y(l))}}function oe(){g((()=>{O.value=!1}),30)}function ie(){!1===ue.avoidRouteWatcher?w(re):M()}function de(){if(void 0===F){const e=(0,r.YP)((()=>c.$route.fullPath),ie);F=()=>{e(),F=void 0}}}function ne(e){A.push(e),B.value++,U(),void 0===e.routeData||void 0===c.$route?w((()=>{if(!0===b.value){const e=V.value,l=void 0!==e&&null!==e&&""!==e?A.find((l=>l.name.value===e)):null;l&&Y(l.rootRef.value)}})):(de(),!0===e.routeData.hasRouterLink.value&&ie())}function ce(e){A.splice(A.indexOf(e),1),B.value--,U(),void 0!==F&&void 0!==e.routeData&&(!0===A.every((e=>void 0===e.routeData))&&F(),ie())}const ue={currentModel:V,tabProps:_,hasFocus:O,hasActiveTab:T,registerTab:ne,unregisterTab:ce,verifyRouteModel:ie,updateModel:$,onKbdNavigate:J,avoidRouteWatcher:!1};function ae(){null!==S&&clearTimeout(S),Q(),void 0!==F&&F()}let pe;return(0,r.JJ)(a.Nd,ue),(0,r.Jd)(ae),(0,r.se)((()=>{pe=void 0!==F,ae()})),(0,r.dl)((()=>{!0===pe&&de(),U()})),()=>(0,r.h)("div",{ref:m,class:q.value,role:"tablist",onFocusin:te,onFocusout:oe},[(0,r.h)(i.Z,{onResize:j}),(0,r.h)("div",{ref:H,class:D.value,onScroll:G},(0,u.KR)(l.default)),(0,r.h)(o.Z,{class:"q-tabs__arrow q-tabs__arrow--left absolute q-tab__icon"+(!0===x.value?"":" q-tabs__arrow--faded"),name:e.leftIcon||s.iconSet.tabs[!0===e.vertical?"up":"left"],onMousedownPassive:K,onTouchstartPassive:K,onMouseupPassive:Q,onMouseleavePassive:Q,onTouchendPassive:Q}),(0,r.h)(o.Z,{class:"q-tabs__arrow q-tabs__arrow--right absolute q-tab__icon"+(!0===k.value?"":" q-tabs__arrow--faded"),name:e.rightIcon||s.iconSet.tabs[!0===e.vertical?"down":"right"],onMousedownPassive:X,onTouchstartPassive:X,onMouseupPassive:Q,onMouseleavePassive:Q,onTouchendPassive:Q})])}})},23175:(e,l,C)=>{"use strict";C.d(l,{Z:()=>d});var r=C(59835),t=C(22857),o=C(5413),i=C(65987);const d=(0,i.L)({name:"QToggle",props:{...o.Fz,icon:String,iconColor:String},emits:o.ZB,setup(e){function l(l,C){const o=(0,r.Fl)((()=>(!0===l.value?e.checkedIcon:!0===C.value?e.indeterminateIcon:e.uncheckedIcon)||e.icon)),i=(0,r.Fl)((()=>!0===l.value?e.iconColor:null));return()=>[(0,r.h)("div",{class:"q-toggle__track"}),(0,r.h)("div",{class:"q-toggle__thumb absolute flex flex-center no-wrap"},void 0!==o.value?[(0,r.h)(t.Z,{name:o.value,color:i.value})]:void 0)]}return(0,o.ZP)("toggle",l)}})},51663:(e,l,C)=>{"use strict";C.d(l,{Z:()=>i});var r=C(59835),t=C(65987),o=C(22026);const i=(0,t.L)({name:"QToolbar",props:{inset:Boolean},setup(e,{slots:l}){const C=(0,r.Fl)((()=>"q-toolbar row no-wrap items-center"+(!0===e.inset?" q-toolbar--inset":"")));return()=>(0,r.h)("div",{class:C.value,role:"toolbar"},(0,o.KR)(l.default))}})},81973:(e,l,C)=>{"use strict";C.d(l,{Z:()=>i});var r=C(59835),t=C(65987),o=C(22026);const i=(0,t.L)({name:"QToolbarTitle",props:{shrink:Boolean},setup(e,{slots:l}){const C=(0,r.Fl)((()=>"q-toolbar__title ellipsis"+(!0===e.shrink?" col-shrink":"")));return()=>(0,r.h)("div",{class:C.value},(0,o.KR)(l.default))}})},46858:(e,l,C)=>{"use strict";C.d(l,{Z:()=>w});var r=C(59835),t=C(60499),o=C(61957),i=C(74397),d=C(64088),n=C(63842),c=C(91518),u=C(20431),a=C(16916),p=C(52695),f=C(65987),s=C(43701),v=C(91384),h=C(2589),L=C(22026),g=C(49092),Z=C(49388);const w=(0,f.L)({name:"QTooltip",inheritAttrs:!1,props:{...i.u,...n.vr,...u.D,maxHeight:{type:String,default:null},maxWidth:{type:String,default:null},transitionShow:{default:"jump-down"},transitionHide:{default:"jump-up"},anchor:{type:String,default:"bottom middle",validator:Z.$},self:{type:String,default:"top middle",validator:Z.$},offset:{type:Array,default:()=>[14,14],validator:Z.io},scrollTarget:{default:void 0},delay:{type:Number,default:0},hideDelay:{type:Number,default:0}},emits:[...n.gH],setup(e,{slots:l,emit:C,attrs:f}){let w,M;const m=(0,r.FN)(),{proxy:{$q:H}}=m,V=(0,t.iH)(null),b=(0,t.iH)(!1),x=(0,r.Fl)((()=>(0,Z.li)(e.anchor,H.lang.rtl))),k=(0,r.Fl)((()=>(0,Z.li)(e.self,H.lang.rtl))),y=(0,r.Fl)((()=>!0!==e.persistent)),{registerTick:A,removeTick:B}=(0,a.Z)(),{registerTimeout:O}=(0,p.Z)(),{transitionProps:F,transitionStyle:S}=(0,u.Z)(e),{localScrollTarget:P,changeScrollEvent:_,unconfigureScrollTarget:T}=(0,d.Z)(e,Q),{anchorEl:E,canShow:q,anchorEvents:D}=(0,i.Z)({showing:b,configureAnchorEl:X}),{show:R,hide:N}=(0,n.ZP)({showing:b,canShow:q,handleShow:j,handleHide:z,hideOnRouteChange:y,processOnMount:!0});Object.assign(D,{delayShow:W,delayHide:K});const{showPortal:I,hidePortal:$,renderPortal:U}=(0,c.Z)(m,V,ee,"tooltip");if(!0===H.platform.is.mobile){const l={anchorEl:E,innerRef:V,onClickOutside(e){return N(e),e.target.classList.contains("q-dialog__backdrop")&&(0,v.NS)(e),!0}},C=(0,r.Fl)((()=>null===e.modelValue&&!0!==e.persistent&&!0===b.value));(0,r.YP)(C,(e=>{const C=!0===e?g.m:g.D;C(l)})),(0,r.Jd)((()=>{(0,g.D)(l)}))}function j(l){I(),A((()=>{M=new MutationObserver((()=>G())),M.observe(V.value,{attributes:!1,childList:!0,characterData:!0,subtree:!0}),G(),Q()})),void 0===w&&(w=(0,r.YP)((()=>H.screen.width+"|"+H.screen.height+"|"+e.self+"|"+e.anchor+"|"+H.lang.rtl),G)),O((()=>{I(!0),C("show",l)}),e.transitionDuration)}function z(l){B(),$(),Y(),O((()=>{$(!0),C("hide",l)}),e.transitionDuration)}function Y(){void 0!==M&&(M.disconnect(),M=void 0),void 0!==w&&(w(),w=void 0),T(),(0,v.ul)(D,"tooltipTemp")}function G(){(0,Z.wq)({targetEl:V.value,offset:e.offset,anchorEl:E.value,anchorOrigin:x.value,selfOrigin:k.value,maxHeight:e.maxHeight,maxWidth:e.maxWidth})}function W(l){if(!0===H.platform.is.mobile){(0,h.M)(),document.body.classList.add("non-selectable");const e=E.value,l=["touchmove","touchcancel","touchend","click"].map((l=>[e,l,"delayHide","passiveCapture"]));(0,v.M0)(D,"tooltipTemp",l)}O((()=>{R(l)}),e.delay)}function K(l){!0===H.platform.is.mobile&&((0,v.ul)(D,"tooltipTemp"),(0,h.M)(),setTimeout((()=>{document.body.classList.remove("non-selectable")}),10)),O((()=>{N(l)}),e.hideDelay)}function X(){if(!0===e.noParentEvent||null===E.value)return;const l=!0===H.platform.is.mobile?[[E.value,"touchstart","delayShow","passive"]]:[[E.value,"mouseenter","delayShow","passive"],[E.value,"mouseleave","delayHide","passive"]];(0,v.M0)(D,"anchor",l)}function Q(){if(null!==E.value||void 0!==e.scrollTarget){P.value=(0,s.b0)(E.value,e.scrollTarget);const l=!0===e.noParentEvent?G:N;_(P.value,l)}}function J(){return!0===b.value?(0,r.h)("div",{...f,ref:V,class:["q-tooltip q-tooltip--style q-position-engine no-pointer-events",f.class],style:[f.style,S.value],role:"tooltip"},(0,L.KR)(l.default)):null}function ee(){return(0,r.h)(o.uT,F.value,J)}return(0,r.Jd)(Y),Object.assign(m.proxy,{updatePosition:G}),U}})},55896:(e,l,C)=>{"use strict";C.d(l,{Z:()=>T});C(69665),C(95516),C(23036),C(62309);var r=C(59835),t=C(60499),o=C(68879),i=C(22857),d=C(13902),n=C(83302),c=C(68234),u=C(47506),a=C(91384);function p(e,l,C,r){const t=[];return e.forEach((e=>{!0===r(e)?t.push(e):l.push({failedPropValidation:C,file:e})})),t}function f(e){e&&e.dataTransfer&&(e.dataTransfer.dropEffect="copy"),(0,a.NS)(e)}const s={multiple:Boolean,accept:String,capture:String,maxFileSize:[Number,String],maxTotalSize:[Number,String],maxFiles:[Number,String],filter:Function},v=["rejected"];function h({editable:e,dnd:l,getFileInput:C,addFilesToQueue:o}){const{props:i,emit:d,proxy:n}=(0,r.FN)(),c=(0,t.iH)(null),s=(0,r.Fl)((()=>void 0!==i.accept?i.accept.split(",").map((e=>(e=e.trim(),"*"===e?"*/":(e.endsWith("/*")&&(e=e.slice(0,e.length-1)),e.toUpperCase())))):null)),v=(0,r.Fl)((()=>parseInt(i.maxFiles,10))),h=(0,r.Fl)((()=>parseInt(i.maxTotalSize,10)));function L(l){if(e.value)if(l!==Object(l)&&(l={target:null}),null!==l.target&&!0===l.target.matches('input[type="file"]'))0===l.clientX&&0===l.clientY&&(0,a.sT)(l);else{const e=C();e&&e!==l.target&&e.click(l)}}function g(l){e.value&&l&&o(null,l)}function Z(e,l,C,r){let t=Array.from(l||e.target.files);const o=[],n=()=>{0!==o.length&&d("rejected",o)};if(void 0!==i.accept&&-1===s.value.indexOf("*/")&&(t=p(t,o,"accept",(e=>s.value.some((l=>e.type.toUpperCase().startsWith(l)||e.name.toUpperCase().endsWith(l))))),0===t.length))return n();if(void 0!==i.maxFileSize){const e=parseInt(i.maxFileSize,10);if(t=p(t,o,"max-file-size",(l=>l.size<=e)),0===t.length)return n()}if(!0!==i.multiple&&0!==t.length&&(t=[t[0]]),t.forEach((e=>{e.__key=e.webkitRelativePath+e.lastModified+e.name+e.size})),!0===r){const e=C.map((e=>e.__key));t=p(t,o,"duplicate",(l=>!1===e.includes(l.__key)))}if(0===t.length)return n();if(void 0!==i.maxTotalSize){let e=!0===r?C.reduce(((e,l)=>e+l.size),0):0;if(t=p(t,o,"max-total-size",(l=>(e+=l.size,e<=h.value))),0===t.length)return n()}if("function"===typeof i.filter){const e=i.filter(t);t=p(t,o,"filter",(l=>e.includes(l)))}if(void 0!==i.maxFiles){let e=!0===r?C.length:0;if(t=p(t,o,"max-files",(()=>(e++,e<=v.value))),0===t.length)return n()}return n(),0!==t.length?t:void 0}function w(e){f(e),!0!==l.value&&(l.value=!0)}function M(e){(0,a.NS)(e);const C=null!==e.relatedTarget||!0!==u.client.is.safari?e.relatedTarget!==c.value:!1===document.elementsFromPoint(e.clientX,e.clientY).includes(c.value);!0===C&&(l.value=!1)}function m(e){f(e);const C=e.dataTransfer.files;0!==C.length&&o(null,C),l.value=!1}function H(e){if(!0===l.value)return(0,r.h)("div",{ref:c,class:`q-${e}__dnd absolute-full`,onDragenter:f,onDragover:f,onDragleave:M,onDrop:m})}return Object.assign(n,{pickFiles:L,addFiles:g}),{pickFiles:L,addFiles:g,onDragover:w,onDragleave:M,processFiles:Z,getDndNode:H,maxFilesNumber:v,maxTotalSizeNumber:h}}var L=C(30321),g=C(95439),Z=C(43251),w=C(52046);function M(e){return(100*e).toFixed(2)+"%"}const m={...c.S,...s,label:String,color:String,textColor:String,square:Boolean,flat:Boolean,bordered:Boolean,noThumbnails:Boolean,autoUpload:Boolean,hideUploadBtn:Boolean,disable:Boolean,readonly:Boolean},H=[...v,"start","finish","added","removed"];function V(e,l){const C=(0,r.FN)(),{props:u,slots:p,emit:f,proxy:s}=C,{$q:v}=s,m=(0,c.Z)(u,v);function H(e,l,C){if(e.__status=l,"idle"===l)return e.__uploaded=0,e.__progress=0,e.__sizeLabel=(0,L.rB)(e.size),void(e.__progressLabel="0.00%");"failed"!==l?(e.__uploaded="uploaded"===l?e.size:C,e.__progress="uploaded"===l?1:Math.min(.9999,e.__uploaded/e.size),e.__progressLabel=M(e.__progress),s.$forceUpdate()):s.$forceUpdate()}const V=(0,r.Fl)((()=>!0!==u.disable&&!0!==u.readonly)),b=(0,t.iH)(!1),x=(0,t.iH)(null),k=(0,t.iH)(null),y={files:(0,t.iH)([]),queuedFiles:(0,t.iH)([]),uploadedFiles:(0,t.iH)([]),uploadedSize:(0,t.iH)(0),updateFileStatus:H,isAlive:()=>!1===(0,w.$D)(C)},{pickFiles:A,addFiles:B,onDragover:O,onDragleave:F,processFiles:S,getDndNode:P,maxFilesNumber:_,maxTotalSizeNumber:T}=h({editable:V,dnd:b,getFileInput:X,addFilesToQueue:Q});Object.assign(y,e({props:u,slots:p,emit:f,helpers:y,exposeApi:e=>{Object.assign(y,e)}})),void 0===y.isBusy&&(y.isBusy=(0,t.iH)(!1));const E=(0,t.iH)(0),q=(0,r.Fl)((()=>0===E.value?0:y.uploadedSize.value/E.value)),D=(0,r.Fl)((()=>M(q.value))),R=(0,r.Fl)((()=>(0,L.rB)(E.value))),N=(0,r.Fl)((()=>!0===V.value&&!0!==y.isUploading.value&&(!0===u.multiple||0===y.queuedFiles.value.length)&&(void 0===u.maxFiles||y.files.value.length<_.value)&&(void 0===u.maxTotalSize||E.value!0===V.value&&!0!==y.isBusy.value&&!0!==y.isUploading.value&&0!==y.queuedFiles.value.length));(0,r.JJ)(g.Xh,le);const $=(0,r.Fl)((()=>"q-uploader column no-wrap"+(!0===m.value?" q-uploader--dark q-dark":"")+(!0===u.bordered?" q-uploader--bordered":"")+(!0===u.square?" q-uploader--square no-border-radius":"")+(!0===u.flat?" q-uploader--flat no-shadow":"")+(!0===u.disable?" disabled q-uploader--disable":"")+(!0===b.value?" q-uploader--dnd":""))),U=(0,r.Fl)((()=>"q-uploader__header"+(void 0!==u.color?` bg-${u.color}`:"")+(void 0!==u.textColor?` text-${u.textColor}`:"")));function j(){!1===u.disable&&(y.abort(),y.uploadedSize.value=0,E.value=0,K(),y.files.value=[],y.queuedFiles.value=[],y.uploadedFiles.value=[])}function z(){!1===u.disable&&G(["uploaded"],(()=>{y.uploadedFiles.value=[]}))}function Y(){G(["idle","failed"],(({size:e})=>{E.value-=e,y.queuedFiles.value=[]}))}function G(e,l){if(!0===u.disable)return;const C={files:[],size:0},r=y.files.value.filter((l=>-1===e.indexOf(l.__status)||(C.size+=l.size,C.files.push(l),void 0!==l.__img&&window.URL.revokeObjectURL(l.__img.src),!1)));0!==C.files.length&&(y.files.value=r,l(C),f("removed",C.files))}function W(e){u.disable||("uploaded"===e.__status?y.uploadedFiles.value=y.uploadedFiles.value.filter((l=>l.__key!==e.__key)):"uploading"===e.__status?e.__abort():E.value-=e.size,y.files.value=y.files.value.filter((l=>l.__key!==e.__key||(void 0!==l.__img&&window.URL.revokeObjectURL(l.__img.src),!1))),y.queuedFiles.value=y.queuedFiles.value.filter((l=>l.__key!==e.__key)),f("removed",[e]))}function K(){y.files.value.forEach((e=>{void 0!==e.__img&&window.URL.revokeObjectURL(e.__img.src)}))}function X(){return k.value||x.value.getElementsByClassName("q-uploader__input")[0]}function Q(e,l){const C=S(e,l,y.files.value,!0),r=X();void 0!==r&&null!==r&&(r.value=""),void 0!==C&&(C.forEach((e=>{if(y.updateFileStatus(e,"idle"),E.value+=e.size,!0!==u.noThumbnails&&e.type.toUpperCase().startsWith("IMAGE")){const l=new Image;l.src=window.URL.createObjectURL(e),e.__img=l}})),y.files.value=y.files.value.concat(C),y.queuedFiles.value=y.queuedFiles.value.concat(C),f("added",C),!0===u.autoUpload&&y.upload())}function J(){!0===I.value&&y.upload()}function ee(e,l,C){if(!0===e){const e={type:"a",key:l,icon:v.iconSet.uploader[l],flat:!0,dense:!0};let t;return"add"===l?(e.onClick=A,t=le):e.onClick=C,(0,r.h)(o.Z,e,t)}}function le(){return(0,r.h)("input",{ref:k,class:"q-uploader__input overflow-hidden absolute-full",tabindex:-1,type:"file",title:"",accept:u.accept,multiple:!0===u.multiple?"multiple":void 0,capture:u.capture,onMousedown:a.sT,onClick:A,onChange:Q})}function Ce(){return void 0!==p.header?p.header(te):[(0,r.h)("div",{class:"q-uploader__header-content column"},[(0,r.h)("div",{class:"flex flex-center no-wrap q-gutter-xs"},[ee(0!==y.queuedFiles.value.length,"removeQueue",Y),ee(0!==y.uploadedFiles.value.length,"removeUploaded",z),!0===y.isUploading.value?(0,r.h)(d.Z,{class:"q-uploader__spinner"}):null,(0,r.h)("div",{class:"col column justify-center"},[void 0!==u.label?(0,r.h)("div",{class:"q-uploader__title"},[u.label]):null,(0,r.h)("div",{class:"q-uploader__subtitle"},[R.value+" / "+D.value])]),ee(N.value,"add"),ee(!1===u.hideUploadBtn&&!0===I.value,"upload",y.upload),ee(y.isUploading.value,"clear",y.abort)])])]}function re(){return void 0!==p.list?p.list(te):y.files.value.map((e=>(0,r.h)("div",{key:e.__key,class:"q-uploader__file relative-position"+(!0!==u.noThumbnails&&void 0!==e.__img?" q-uploader__file--img":"")+("failed"===e.__status?" q-uploader__file--failed":"uploaded"===e.__status?" q-uploader__file--uploaded":""),style:!0!==u.noThumbnails&&void 0!==e.__img?{backgroundImage:'url("'+e.__img.src+'")'}:null},[(0,r.h)("div",{class:"q-uploader__file-header row flex-center no-wrap"},["failed"===e.__status?(0,r.h)(i.Z,{class:"q-uploader__file-status",name:v.iconSet.type.negative,color:"negative"}):null,(0,r.h)("div",{class:"q-uploader__file-header-content col"},[(0,r.h)("div",{class:"q-uploader__title"},[e.name]),(0,r.h)("div",{class:"q-uploader__subtitle row items-center no-wrap"},[e.__sizeLabel+" / "+e.__progressLabel])]),"uploading"===e.__status?(0,r.h)(n.Z,{value:e.__progress,min:0,max:1,indeterminate:0===e.__progress}):(0,r.h)(o.Z,{round:!0,dense:!0,flat:!0,icon:v.iconSet.uploader["uploaded"===e.__status?"done":"clear"],onClick:()=>{W(e)}})])])))}(0,r.YP)(y.isUploading,((e,l)=>{!1===l&&!0===e?f("start"):!0===l&&!1===e&&f("finish")})),(0,r.Jd)((()=>{!0===y.isUploading.value&&y.abort(),0!==y.files.value.length&&K()}));const te={};for(const r in y)!0===(0,t.dq)(y[r])?(0,Z.g)(te,r,(()=>y[r].value)):te[r]=y[r];return Object.assign(te,{upload:J,reset:j,removeUploadedFiles:z,removeQueuedFiles:Y,removeFile:W,pickFiles:A,addFiles:B}),(0,Z.K)(te,{canAddFiles:()=>N.value,canUpload:()=>I.value,uploadSizeLabel:()=>R.value,uploadProgressLabel:()=>D.value}),l({...y,upload:J,reset:j,removeUploadedFiles:z,removeQueuedFiles:Y,removeFile:W,pickFiles:A,addFiles:B,canAddFiles:N,canUpload:I,uploadSizeLabel:R,uploadProgressLabel:D}),()=>{const e=[(0,r.h)("div",{class:U.value},Ce()),(0,r.h)("div",{class:"q-uploader__list scroll"},re()),P("uploader")];!0===y.isBusy.value&&e.push((0,r.h)("div",{class:"q-uploader__overlay absolute-full flex flex-center"},[(0,r.h)(d.Z)]));const l={ref:x,class:$.value};return!0===N.value&&Object.assign(l,{onDragover:O,onDragleave:F}),(0,r.h)("div",l,e)}}var b=C(65987);const x=()=>!0;function k(e){const l={};return e.forEach((e=>{l[e]=x})),l}var y=C(4680);const A=k(H),B=({name:e,props:l,emits:C,injectPlugin:r})=>(0,b.L)({name:e,props:{...m,...l},emits:!0===(0,y.Kn)(C)?{...A,...C}:[...H,...C],setup(e,{expose:l}){return V(r,l)}});function O(e){return"function"===typeof e?e:()=>e}const F={url:[Function,String],method:{type:[Function,String],default:"POST"},fieldName:{type:[Function,String],default:()=>e=>e.name},headers:[Function,Array],formFields:[Function,Array],withCredentials:[Function,Boolean],sendRaw:[Function,Boolean],batch:[Function,Boolean],factory:Function},S=["factoryFailed","uploaded","failed","uploading"];function P({props:e,emit:l,helpers:C}){const o=(0,t.iH)([]),i=(0,t.iH)([]),d=(0,t.iH)(0),n=(0,r.Fl)((()=>({url:O(e.url),method:O(e.method),headers:O(e.headers),formFields:O(e.formFields),fieldName:O(e.fieldName),withCredentials:O(e.withCredentials),sendRaw:O(e.sendRaw),batch:O(e.batch)}))),c=(0,r.Fl)((()=>d.value>0)),u=(0,r.Fl)((()=>0!==i.value.length));let a;function p(){o.value.forEach((e=>{e.abort()})),0!==i.value.length&&(a=!0)}function f(){const e=C.queuedFiles.value.slice(0);C.queuedFiles.value=[],n.value.batch(e)?s(e):e.forEach((e=>{s([e])}))}function s(r){if(d.value++,"function"!==typeof e.factory)return void v(r,{});const t=e.factory(r);if(t)if("function"===typeof t.catch&&"function"===typeof t.then){i.value.push(t);const e=e=>{!0===C.isAlive()&&(i.value=i.value.filter((e=>e!==t)),0===i.value.length&&(a=!1),C.queuedFiles.value=C.queuedFiles.value.concat(r),r.forEach((e=>{C.updateFileStatus(e,"failed")})),l("factoryFailed",e,r),d.value--)};t.then((l=>{!0===a?e(new Error("Aborted")):!0===C.isAlive()&&(i.value=i.value.filter((e=>e!==t)),v(r,l))})).catch(e)}else v(r,t||{});else l("factoryFailed",new Error("QUploader: factory() does not return properly"),r),d.value--}function v(e,r){const t=new FormData,i=new XMLHttpRequest,c=(e,l)=>void 0!==r[e]?O(r[e])(l):n.value[e](l),u=c("url",e);if(!u)return console.error("q-uploader: invalid or no URL specified"),void d.value--;const a=c("formFields",e);void 0!==a&&a.forEach((e=>{t.append(e.name,e.value)}));let p,f=0,s=0,v=0,h=0;i.upload.addEventListener("progress",(l=>{if(!0===p)return;const r=Math.min(h,l.loaded);C.uploadedSize.value+=r-v,v=r;let t=v-s;for(let o=f;t>0&&ol.size;if(!r)return void C.updateFileStatus(l,"uploading",t);t-=l.size,f++,s+=l.size,C.updateFileStatus(l,"uploading",l.size)}}),!1),i.onreadystatechange=()=>{i.readyState<4||(i.status&&i.status<400?(C.uploadedFiles.value=C.uploadedFiles.value.concat(e),e.forEach((e=>{C.updateFileStatus(e,"uploaded")})),l("uploaded",{files:e,xhr:i})):(p=!0,C.uploadedSize.value-=v,C.queuedFiles.value=C.queuedFiles.value.concat(e),e.forEach((e=>{C.updateFileStatus(e,"failed")})),l("failed",{files:e,xhr:i})),d.value--,o.value=o.value.filter((e=>e!==i)))},i.open(c("method",e),u),!0===c("withCredentials",e)&&(i.withCredentials=!0);const L=c("headers",e);void 0!==L&&L.forEach((e=>{i.setRequestHeader(e.name,e.value)}));const g=c("sendRaw",e);e.forEach((e=>{C.updateFileStatus(e,"uploading",0),!0!==g&&t.append(c("fieldName",e),e,e.name),e.xhr=i,e.__abort=()=>{i.abort()},h+=e.size})),l("uploading",{files:e,xhr:i}),o.value.push(i),!0===g?i.send(new Blob(e)):i.send(t)}return{isUploading:c,isBusy:u,abort:p,upload:f}}const _={name:"QUploader",props:F,emits:S,injectPlugin:P},T=B(_)},92043:(e,l,C)=>{"use strict";C.d(l,{If:()=>L,t9:()=>g,vp:()=>Z});C(69665);var r=C(59835),t=C(60499),o=C(60899),i=C(91384),d=C(78383);const n=1e3,c=["start","center","end","start-force","center-force","end-force"],u=Array.prototype.filter,a=void 0===window.getComputedStyle(document.body).overflowAnchor?i.ZT:function(e,l){null!==e&&(void 0!==e._qOverflowAnimationFrame&&cancelAnimationFrame(e._qOverflowAnimationFrame),e._qOverflowAnimationFrame=requestAnimationFrame((()=>{if(null===e)return;e._qOverflowAnimationFrame=void 0;const C=e.children||[];u.call(C,(e=>e.dataset&&void 0!==e.dataset.qVsAnchor)).forEach((e=>{delete e.dataset.qVsAnchor}));const r=C[l];r&&r.dataset&&(r.dataset.qVsAnchor="")})))};function p(e,l){return e+l}function f(e,l,C,r,t,o,i,n){const c=e===window?document.scrollingElement||document.documentElement:e,u=!0===t?"offsetWidth":"offsetHeight",a={scrollStart:0,scrollViewSize:-i-n,scrollMaxSize:0,offsetStart:-i,offsetEnd:-n};if(!0===t?(e===window?(a.scrollStart=window.pageXOffset||window.scrollX||document.body.scrollLeft||0,a.scrollViewSize+=document.documentElement.clientWidth):(a.scrollStart=c.scrollLeft,a.scrollViewSize+=c.clientWidth),a.scrollMaxSize=c.scrollWidth,!0===o&&(a.scrollStart=(!0===d.e?a.scrollMaxSize-a.scrollViewSize:0)-a.scrollStart)):(e===window?(a.scrollStart=window.pageYOffset||window.scrollY||document.body.scrollTop||0,a.scrollViewSize+=document.documentElement.clientHeight):(a.scrollStart=c.scrollTop,a.scrollViewSize+=c.clientHeight),a.scrollMaxSize=c.scrollHeight),null!==C)for(let d=C.previousElementSibling;null!==d;d=d.previousElementSibling)!1===d.classList.contains("q-virtual-scroll--skip")&&(a.offsetStart+=d[u]);if(null!==r)for(let d=r.nextElementSibling;null!==d;d=d.nextElementSibling)!1===d.classList.contains("q-virtual-scroll--skip")&&(a.offsetEnd+=d[u]);if(l!==e){const C=c.getBoundingClientRect(),r=l.getBoundingClientRect();!0===t?(a.offsetStart+=r.left-C.left,a.offsetEnd-=r.width):(a.offsetStart+=r.top-C.top,a.offsetEnd-=r.height),e!==window&&(a.offsetStart+=a.scrollStart),a.offsetEnd+=a.scrollMaxSize-a.offsetStart}return a}function s(e,l,C,r){"end"===l&&(l=(e===window?document.body:e)[!0===C?"scrollWidth":"scrollHeight"]),e===window?!0===C?(!0===r&&(l=(!0===d.e?document.body.scrollWidth-document.documentElement.clientWidth:0)-l),window.scrollTo(l,window.pageYOffset||window.scrollY||document.body.scrollTop||0)):window.scrollTo(window.pageXOffset||window.scrollX||document.body.scrollLeft||0,l):!0===C?(!0===r&&(l=(!0===d.e?e.scrollWidth-e.offsetWidth:0)-l),e.scrollLeft=l):e.scrollTop=l}function v(e,l,C,r){if(C>=r)return 0;const t=l.length,o=Math.floor(C/n),i=Math.floor((r-1)/n)+1;let d=e.slice(o,i).reduce(p,0);return C%n!==0&&(d-=l.slice(o*n,C).reduce(p,0)),r%n!==0&&r!==t&&(d-=l.slice(r,i*n).reduce(p,0)),d}const h={virtualScrollSliceSize:{type:[Number,String],default:null},virtualScrollSliceRatioBefore:{type:[Number,String],default:1},virtualScrollSliceRatioAfter:{type:[Number,String],default:1},virtualScrollItemSize:{type:[Number,String],default:24},virtualScrollStickySizeStart:{type:[Number,String],default:0},virtualScrollStickySizeEnd:{type:[Number,String],default:0},tableColspan:[Number,String]},L=Object.keys(h),g={virtualScrollHorizontal:Boolean,onVirtualScroll:Function,...h};function Z({virtualScrollLength:e,getVirtualScrollTarget:l,getVirtualScrollEl:C,virtualScrollItemSizeComputed:i}){const d=(0,r.FN)(),{props:h,emit:L,proxy:g}=d,{$q:Z}=g;let w,M,m,H,V=[];const b=(0,t.iH)(0),x=(0,t.iH)(0),k=(0,t.iH)({}),y=(0,t.iH)(null),A=(0,t.iH)(null),B=(0,t.iH)(null),O=(0,t.iH)({from:0,to:0}),F=(0,r.Fl)((()=>void 0!==h.tableColspan?h.tableColspan:100));void 0===i&&(i=(0,r.Fl)((()=>h.virtualScrollItemSize)));const S=(0,r.Fl)((()=>i.value+";"+h.virtualScrollHorizontal)),P=(0,r.Fl)((()=>S.value+";"+h.virtualScrollSliceRatioBefore+";"+h.virtualScrollSliceRatioAfter));function _(){I(M,!0)}function T(e){I(void 0===e?M:e)}function E(r,t){const o=l();if(void 0===o||null===o||8===o.nodeType)return;const i=f(o,C(),y.value,A.value,h.virtualScrollHorizontal,Z.lang.rtl,h.virtualScrollStickySizeStart,h.virtualScrollStickySizeEnd);m!==i.scrollViewSize&&$(i.scrollViewSize),D(o,i,Math.min(e.value-1,Math.max(0,parseInt(r,10)||0)),0,c.indexOf(t)>-1?t:M>-1&&r>M?"end":"start")}function q(){const r=l();if(void 0===r||null===r||8===r.nodeType)return;const t=f(r,C(),y.value,A.value,h.virtualScrollHorizontal,Z.lang.rtl,h.virtualScrollStickySizeStart,h.virtualScrollStickySizeEnd),o=e.value-1,i=t.scrollMaxSize-t.offsetStart-t.offsetEnd-x.value;if(w===t.scrollStart)return;if(t.scrollMaxSize<=0)return void D(r,t,0,0);m!==t.scrollViewSize&&$(t.scrollViewSize),R(O.value.from);const d=Math.floor(t.scrollMaxSize-Math.max(t.scrollViewSize,t.offsetEnd)-Math.min(H[o],t.scrollViewSize/2));if(d>0&&Math.ceil(t.scrollStart)>=d)return void D(r,t,o,t.scrollMaxSize-t.offsetEnd-V.reduce(p,0));let c=0,u=t.scrollStart-t.offsetStart,a=u;if(u<=i&&u+t.scrollViewSize>=b.value)u-=b.value,c=O.value.from,a=u;else for(let e=0;u>=V[e]&&c0&&c-t.scrollViewSize?(c++,a=u):a=H[c]+u;D(r,t,c,a)}function D(l,C,r,t,o){const i="string"===typeof o&&o.indexOf("-force")>-1,d=!0===i?o.replace("-force",""):o,n=void 0!==d?d:"start";let c=Math.max(0,r-k.value[n]),u=c+k.value.total;u>e.value&&(u=e.value,c=Math.max(0,u-k.value.total)),w=C.scrollStart;const f=c!==O.value.from||u!==O.value.to;if(!1===f&&void 0===d)return void j(r);const{activeElement:L}=document,g=B.value;!0===f&&null!==g&&g!==L&&!0===g.contains(L)&&(g.addEventListener("focusout",N),setTimeout((()=>{null!==g&&g.removeEventListener("focusout",N)}))),a(g,r-c);const M=void 0!==d?H.slice(c,r).reduce(p,0):0;if(!0===f){const l=u>=O.value.from&&c<=O.value.to?O.value.to:u;O.value={from:c,to:l},b.value=v(V,H,0,c),x.value=v(V,H,u,e.value),requestAnimationFrame((()=>{O.value.to!==u&&w===C.scrollStart&&(O.value={from:O.value.from,to:u},x.value=v(V,H,u,e.value))}))}requestAnimationFrame((()=>{if(w!==C.scrollStart)return;!0===f&&R(c);const e=H.slice(c,r).reduce(p,0),o=e+C.offsetStart+b.value,n=o+H[r];let u=o+t;if(void 0!==d){const l=e-M,t=C.scrollStart+l;u=!0!==i&&te.classList&&!1===e.classList.contains("q-virtual-scroll--skip"))),r=C.length,t=!0===h.virtualScrollHorizontal?e=>e.getBoundingClientRect().width:e=>e.offsetHeight;let o,i,d=e;for(let e=0;e=o;r--)H[r]=t;const d=Math.floor((e.value-1)/n);V=[];for(let r=0;r<=d;r++){let l=0;const C=Math.min((r+1)*n,e.value);for(let e=r*n;e=0?(R(O.value.from),(0,r.Y3)((()=>{E(l)}))):z()}function $(e){if(void 0===e&&"undefined"!==typeof window){const r=l();void 0!==r&&null!==r&&8!==r.nodeType&&(e=f(r,C(),y.value,A.value,h.virtualScrollHorizontal,Z.lang.rtl,h.virtualScrollStickySizeStart,h.virtualScrollStickySizeEnd).scrollViewSize)}m=e;const r=parseFloat(h.virtualScrollSliceRatioBefore)||0,t=parseFloat(h.virtualScrollSliceRatioAfter)||0,o=1+r+t,d=void 0===e||e<=0?1:Math.ceil(e/i.value),n=Math.max(1,d,Math.ceil((h.virtualScrollSliceSize>0?h.virtualScrollSliceSize:10)/o));k.value={total:Math.ceil(n*o),start:Math.ceil(n*r),center:Math.ceil(n*(.5+r)),end:Math.ceil(n*(1+r)),view:d}}function U(e,l){const C=!0===h.virtualScrollHorizontal?"width":"height",t={["--q-virtual-scroll-item-"+C]:i.value+"px"};return["tbody"===e?(0,r.h)(e,{class:"q-virtual-scroll__padding",key:"before",ref:y},[(0,r.h)("tr",[(0,r.h)("td",{style:{[C]:`${b.value}px`,...t},colspan:F.value})])]):(0,r.h)(e,{class:"q-virtual-scroll__padding",key:"before",ref:y,style:{[C]:`${b.value}px`,...t}}),(0,r.h)(e,{class:"q-virtual-scroll__content",key:"content",ref:B,tabindex:-1},l.flat()),"tbody"===e?(0,r.h)(e,{class:"q-virtual-scroll__padding",key:"after",ref:A},[(0,r.h)("tr",[(0,r.h)("td",{style:{[C]:`${x.value}px`,...t},colspan:F.value})])]):(0,r.h)(e,{class:"q-virtual-scroll__padding",key:"after",ref:A,style:{[C]:`${x.value}px`,...t}})]}function j(e){M!==e&&(void 0!==h.onVirtualScroll&&L("virtualScroll",{index:e,from:O.value.from,to:O.value.to-1,direction:e{$()})),(0,r.YP)(S,_),$();const z=(0,o.Z)(q,!0===Z.platform.is.ios?120:35);(0,r.wF)((()=>{$()}));let Y=!1;return(0,r.se)((()=>{Y=!0})),(0,r.dl)((()=>{if(!0!==Y)return;const e=l();void 0!==w&&void 0!==e&&null!==e&&8!==e.nodeType?s(e,w,h.virtualScrollHorizontal,Z.lang.rtl):E(M)})),(0,r.Jd)((()=>{z.cancel()})),Object.assign(g,{scrollTo:E,reset:_,refresh:T}),{virtualScrollSliceRange:O,virtualScrollSliceSizeComputed:k,setVirtualScrollSize:$,onVirtualScrollEvt:z,localResetVirtualScroll:I,padVirtualScroll:U,scrollTo:E,reset:_,refresh:T}}},65065:(e,l,C)=>{"use strict";C.d(l,{ZP:()=>d,jO:()=>i});var r=C(59835);const t={left:"start",center:"center",right:"end",between:"between",around:"around",evenly:"evenly",stretch:"stretch"},o=Object.keys(t),i={align:{type:String,validator:e=>o.includes(e)}};function d(e){return(0,r.Fl)((()=>{const l=void 0===e.align?!0===e.vertical?"stretch":"left":e.align;return`${!0===e.vertical?"items":"justify"}-${t[l]}`}))}},74397:(e,l,C)=>{"use strict";C.d(l,{Z:()=>c,u:()=>n});var r=C(59835),t=C(60499),o=C(2589),i=C(91384),d=C(61705);const n={target:{default:!0},noParentEvent:Boolean,contextMenu:Boolean};function c({showing:e,avoidEmit:l,configureAnchorEl:C}){const{props:n,proxy:c,emit:u}=(0,r.FN)(),a=(0,t.iH)(null);let p=null;function f(e){return null!==a.value&&(void 0===e||void 0===e.touches||e.touches.length<=1)}const s={};function v(){(0,i.ul)(s,"anchor")}function h(e){a.value=e;while(a.value.classList.contains("q-anchor--skip"))a.value=a.value.parentNode;C()}function L(){if(!1===n.target||""===n.target||null===c.$el.parentNode)a.value=null;else if(!0===n.target)h(c.$el.parentNode);else{let l=n.target;if("string"===typeof n.target)try{l=document.querySelector(n.target)}catch(e){l=void 0}void 0!==l&&null!==l?(a.value=l.$el||l,C()):(a.value=null,console.error(`Anchor: target "${n.target}" not found`))}}return void 0===C&&(Object.assign(s,{hide(e){c.hide(e)},toggle(e){c.toggle(e),e.qAnchorHandled=!0},toggleKey(e){!0===(0,d.So)(e,13)&&s.toggle(e)},contextClick(e){c.hide(e),(0,i.X$)(e),(0,r.Y3)((()=>{c.show(e),e.qAnchorHandled=!0}))},prevent:i.X$,mobileTouch(e){if(s.mobileCleanup(e),!0!==f(e))return;c.hide(e),a.value.classList.add("non-selectable");const l=e.target;(0,i.M0)(s,"anchor",[[l,"touchmove","mobileCleanup","passive"],[l,"touchend","mobileCleanup","passive"],[l,"touchcancel","mobileCleanup","passive"],[a.value,"contextmenu","prevent","notPassive"]]),p=setTimeout((()=>{p=null,c.show(e),e.qAnchorHandled=!0}),300)},mobileCleanup(l){a.value.classList.remove("non-selectable"),null!==p&&(clearTimeout(p),p=null),!0===e.value&&void 0!==l&&(0,o.M)()}}),C=function(e=n.contextMenu){if(!0===n.noParentEvent||null===a.value)return;let l;l=!0===e?!0===c.$q.platform.is.mobile?[[a.value,"touchstart","mobileTouch","passive"]]:[[a.value,"mousedown","hide","passive"],[a.value,"contextmenu","contextClick","notPassive"]]:[[a.value,"click","toggle","passive"],[a.value,"keyup","toggleKey","passive"]],(0,i.M0)(s,"anchor",l)}),(0,r.YP)((()=>n.contextMenu),(e=>{null!==a.value&&(v(),C(e))})),(0,r.YP)((()=>n.target),(()=>{null!==a.value&&v(),L()})),(0,r.YP)((()=>n.noParentEvent),(e=>{null!==a.value&&(!0===e?v():C())})),(0,r.bv)((()=>{L(),!0!==l&&!0===n.modelValue&&null===a.value&&u("update:modelValue",!1)})),(0,r.Jd)((()=>{null!==p&&clearTimeout(p),v()})),{anchorEl:a,canShow:f,anchorEvents:s}}},68234:(e,l,C)=>{"use strict";C.d(l,{S:()=>t,Z:()=>o});var r=C(59835);const t={dark:{type:Boolean,default:null}};function o(e,l){return(0,r.Fl)((()=>null===e.dark?l.dark.isActive:e.dark))}},76404:(e,l,C)=>{"use strict";C.d(l,{ZP:()=>S,yV:()=>A,HJ:()=>O,Cl:()=>B,tL:()=>F});C(69665);var r=C(59835),t=C(60499),o=C(61957),i=C(47506),d=C(22857),n=C(13902),c=C(68234),u=C(95439);function a({validate:e,resetValidation:l,requiresQForm:C}){const t=(0,r.f3)(u.vh,!1);if(!1!==t){const{props:C,proxy:o}=(0,r.FN)();Object.assign(o,{validate:e,resetValidation:l}),(0,r.YP)((()=>C.disable),(e=>{!0===e?("function"===typeof l&&l(),t.unbindComponent(o)):t.bindComponent(o)})),(0,r.bv)((()=>{!0!==C.disable&&t.bindComponent(o)})),(0,r.Jd)((()=>{!0!==C.disable&&t.unbindComponent(o)}))}else!0===C&&console.error("Parent QForm not found on useFormChild()!")}const p=/^#[0-9a-fA-F]{3}([0-9a-fA-F]{3})?$/,f=/^#[0-9a-fA-F]{4}([0-9a-fA-F]{4})?$/,s=/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/,v=/^rgb\(((0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5]),){2}(0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5])\)$/,h=/^rgba\(((0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5]),){2}(0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5]),(0|0\.[0-9]+[1-9]|0\.[1-9]+|1)\)$/,L={date:e=>/^-?[\d]+\/[0-1]\d\/[0-3]\d$/.test(e),time:e=>/^([0-1]?\d|2[0-3]):[0-5]\d$/.test(e),fulltime:e=>/^([0-1]?\d|2[0-3]):[0-5]\d:[0-5]\d$/.test(e),timeOrFulltime:e=>/^([0-1]?\d|2[0-3]):[0-5]\d(:[0-5]\d)?$/.test(e),email:e=>/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(e),hexColor:e=>p.test(e),hexaColor:e=>f.test(e),hexOrHexaColor:e=>s.test(e),rgbColor:e=>v.test(e),rgbaColor:e=>h.test(e),rgbOrRgbaColor:e=>v.test(e)||h.test(e),hexOrRgbColor:e=>p.test(e)||v.test(e),hexaOrRgbaColor:e=>f.test(e)||h.test(e),anyColor:e=>s.test(e)||v.test(e)||h.test(e)};var g=C(60899),Z=C(43251);const w=[!0,!1,"ondemand"],M={modelValue:{},error:{type:Boolean,default:null},errorMessage:String,noErrorIcon:Boolean,rules:Array,reactiveRules:Boolean,lazyRules:{type:[Boolean,String],validator:e=>w.includes(e)}};function m(e,l){const{props:C,proxy:o}=(0,r.FN)(),i=(0,t.iH)(!1),d=(0,t.iH)(null),n=(0,t.iH)(null);a({validate:w,resetValidation:h});let c,u=0;const p=(0,r.Fl)((()=>void 0!==C.rules&&null!==C.rules&&0!==C.rules.length)),f=(0,r.Fl)((()=>!0!==C.disable&&!0===p.value)),s=(0,r.Fl)((()=>!0===C.error||!0===i.value)),v=(0,r.Fl)((()=>"string"===typeof C.errorMessage&&0!==C.errorMessage.length?C.errorMessage:d.value));function h(){u++,l.value=!1,n.value=null,i.value=!1,d.value=null,m.cancel()}function w(e=C.modelValue){if(!0!==f.value)return!0;const r=++u,t=!0!==l.value?()=>{n.value=!0}:()=>{},o=(e,C)=>{!0===e&&t(),i.value=e,d.value=C||null,l.value=!1},c=[];for(let l=0;l{if(void 0===e||!1===Array.isArray(e)||0===e.length)return r===u&&o(!1),!0;const l=e.find((e=>!1===e||"string"===typeof e));return r===u&&o(void 0!==l,l),void 0===l}),(e=>(r===u&&(console.error(e),o(!0)),!1))))}function M(e){!0===f.value&&"ondemand"!==C.lazyRules&&(!0===n.value||!0!==C.lazyRules&&!0!==e)&&m()}(0,r.YP)((()=>C.modelValue),(()=>{M()})),(0,r.YP)((()=>C.reactiveRules),(e=>{!0===e?void 0===c&&(c=(0,r.YP)((()=>C.rules),(()=>{M(!0)}))):void 0!==c&&(c(),c=void 0)}),{immediate:!0}),(0,r.YP)(e,(e=>{!0===e?null===n.value&&(n.value=!1):!1===n.value&&(n.value=!0,!0===f.value&&"ondemand"!==C.lazyRules&&!1===l.value&&m())}));const m=(0,g.Z)(w,0);return(0,r.Jd)((()=>{void 0!==c&&c(),m.cancel()})),Object.assign(o,{resetValidation:h,validate:w}),(0,Z.g)(o,"hasError",(()=>s.value)),{isDirtyModel:n,hasRules:p,hasError:s,errorMessage:v,validate:w,resetValidation:h}}var H=C(45607),V=C(22026),b=C(50796),x=C(91384),k=C(17026);function y(e){return void 0===e?`f_${(0,b.Z)()}`:e}function A(e){return void 0!==e&&null!==e&&0!==(""+e).length}const B={...c.S,...M,label:String,stackLabel:Boolean,hint:String,hideHint:Boolean,prefix:String,suffix:String,labelColor:String,color:String,bgColor:String,filled:Boolean,outlined:Boolean,borderless:Boolean,standout:[Boolean,String],square:Boolean,loading:Boolean,labelSlot:Boolean,bottomSlots:Boolean,hideBottomSpace:Boolean,rounded:Boolean,dense:Boolean,itemAligned:Boolean,counter:Boolean,clearable:Boolean,clearIcon:String,disable:Boolean,readonly:Boolean,autofocus:Boolean,for:String,maxlength:[Number,String]},O=["update:modelValue","clear","focus","blur","popupShow","popupHide"];function F(){const{props:e,attrs:l,proxy:C,vnode:o}=(0,r.FN)(),i=(0,c.Z)(e,C.$q);return{isDark:i,editable:(0,r.Fl)((()=>!0!==e.disable&&!0!==e.readonly)),innerLoading:(0,t.iH)(!1),focused:(0,t.iH)(!1),hasPopupOpen:!1,splitAttrs:(0,H.Z)(l,o),targetUid:(0,t.iH)(y(e.for)),rootRef:(0,t.iH)(null),targetRef:(0,t.iH)(null),controlRef:(0,t.iH)(null)}}function S(e){const{props:l,emit:C,slots:t,attrs:c,proxy:u}=(0,r.FN)(),{$q:a}=u;let p=null;void 0===e.hasValue&&(e.hasValue=(0,r.Fl)((()=>A(l.modelValue)))),void 0===e.emitValue&&(e.emitValue=e=>{C("update:modelValue",e)}),void 0===e.controlEvents&&(e.controlEvents={onFocusin:T,onFocusout:E}),Object.assign(e,{clearValue:q,onControlFocusin:T,onControlFocusout:E,focus:P}),void 0===e.computedCounter&&(e.computedCounter=(0,r.Fl)((()=>{if(!1!==l.counter){const e="string"===typeof l.modelValue||"number"===typeof l.modelValue?(""+l.modelValue).length:!0===Array.isArray(l.modelValue)?l.modelValue.length:0,C=void 0!==l.maxlength?l.maxlength:l.maxValues;return e+(void 0!==C?" / "+C:"")}})));const{isDirtyModel:f,hasRules:s,hasError:v,errorMessage:h,resetValidation:L}=m(e.focused,e.innerLoading),g=void 0!==e.floatingLabel?(0,r.Fl)((()=>!0===l.stackLabel||!0===e.focused.value||!0===e.floatingLabel.value)):(0,r.Fl)((()=>!0===l.stackLabel||!0===e.focused.value||!0===e.hasValue.value)),Z=(0,r.Fl)((()=>!0===l.bottomSlots||void 0!==l.hint||!0===s.value||!0===l.counter||null!==l.error)),w=(0,r.Fl)((()=>!0===l.filled?"filled":!0===l.outlined?"outlined":!0===l.borderless?"borderless":l.standout?"standout":"standard")),M=(0,r.Fl)((()=>`q-field row no-wrap items-start q-field--${w.value}`+(void 0!==e.fieldClass?` ${e.fieldClass.value}`:"")+(!0===l.rounded?" q-field--rounded":"")+(!0===l.square?" q-field--square":"")+(!0===g.value?" q-field--float":"")+(!0===b.value?" q-field--labeled":"")+(!0===l.dense?" q-field--dense":"")+(!0===l.itemAligned?" q-field--item-aligned q-item-type":"")+(!0===e.isDark.value?" q-field--dark":"")+(void 0===e.getControl?" q-field--auto-height":"")+(!0===e.focused.value?" q-field--focused":"")+(!0===v.value?" q-field--error":"")+(!0===v.value||!0===e.focused.value?" q-field--highlighted":"")+(!0!==l.hideBottomSpace&&!0===Z.value?" q-field--with-bottom":"")+(!0===l.disable?" q-field--disabled":!0===l.readonly?" q-field--readonly":""))),H=(0,r.Fl)((()=>"q-field__control relative-position row no-wrap"+(void 0!==l.bgColor?` bg-${l.bgColor}`:"")+(!0===v.value?" text-negative":"string"===typeof l.standout&&0!==l.standout.length&&!0===e.focused.value?` ${l.standout}`:void 0!==l.color?` text-${l.color}`:""))),b=(0,r.Fl)((()=>!0===l.labelSlot||void 0!==l.label)),B=(0,r.Fl)((()=>"q-field__label no-pointer-events absolute ellipsis"+(void 0!==l.labelColor&&!0!==v.value?` text-${l.labelColor}`:""))),O=(0,r.Fl)((()=>({id:e.targetUid.value,editable:e.editable.value,focused:e.focused.value,floatingLabel:g.value,modelValue:l.modelValue,emitValue:e.emitValue}))),F=(0,r.Fl)((()=>{const C={for:e.targetUid.value};return!0===l.disable?C["aria-disabled"]="true":!0===l.readonly&&(C["aria-readonly"]="true"),C}));function S(){const l=document.activeElement;let C=void 0!==e.targetRef&&e.targetRef.value;!C||null!==l&&l.id===e.targetUid.value||(!0===C.hasAttribute("tabindex")||(C=C.querySelector("[tabindex]")),C&&C!==l&&C.focus({preventScroll:!0}))}function P(){(0,k.jd)(S)}function _(){(0,k.fP)(S);const l=document.activeElement;null!==l&&e.rootRef.value.contains(l)&&l.blur()}function T(l){null!==p&&(clearTimeout(p),p=null),!0===e.editable.value&&!1===e.focused.value&&(e.focused.value=!0,C("focus",l))}function E(l,r){null!==p&&clearTimeout(p),p=setTimeout((()=>{p=null,(!0!==document.hasFocus()||!0!==e.hasPopupOpen&&void 0!==e.controlRef&&null!==e.controlRef.value&&!1===e.controlRef.value.contains(document.activeElement))&&(!0===e.focused.value&&(e.focused.value=!1,C("blur",l)),void 0!==r&&r())}))}function q(t){if((0,x.NS)(t),!0!==a.platform.is.mobile){const l=void 0!==e.targetRef&&e.targetRef.value||e.rootRef.value;l.focus()}else!0===e.rootRef.value.contains(document.activeElement)&&document.activeElement.blur();"file"===l.type&&(e.inputRef.value.value=null),C("update:modelValue",null),C("clear",l.modelValue),(0,r.Y3)((()=>{L(),!0!==a.platform.is.mobile&&(f.value=!1)}))}function D(){const C=[];return void 0!==t.prepend&&C.push((0,r.h)("div",{class:"q-field__prepend q-field__marginal row no-wrap items-center",key:"prepend",onClick:x.X$},t.prepend())),C.push((0,r.h)("div",{class:"q-field__control-container col relative-position row no-wrap q-anchor--skip"},R())),!0===v.value&&!1===l.noErrorIcon&&C.push(I("error",[(0,r.h)(d.Z,{name:a.iconSet.field.error,color:"negative"})])),!0===l.loading||!0===e.innerLoading.value?C.push(I("inner-loading-append",void 0!==t.loading?t.loading():[(0,r.h)(n.Z,{color:l.color})])):!0===l.clearable&&!0===e.hasValue.value&&!0===e.editable.value&&C.push(I("inner-clearable-append",[(0,r.h)(d.Z,{class:"q-field__focusable-action",tag:"button",name:l.clearIcon||a.iconSet.field.clear,tabindex:0,type:"button","aria-hidden":null,role:null,onClick:q})])),void 0!==t.append&&C.push((0,r.h)("div",{class:"q-field__append q-field__marginal row no-wrap items-center",key:"append",onClick:x.X$},t.append())),void 0!==e.getInnerAppend&&C.push(I("inner-append",e.getInnerAppend())),void 0!==e.getControlChild&&C.push(e.getControlChild()),C}function R(){const C=[];return void 0!==l.prefix&&null!==l.prefix&&C.push((0,r.h)("div",{class:"q-field__prefix no-pointer-events row items-center"},l.prefix)),void 0!==e.getShadowControl&&!0===e.hasShadow.value&&C.push(e.getShadowControl()),void 0!==e.getControl?C.push(e.getControl()):void 0!==t.rawControl?C.push(t.rawControl()):void 0!==t.control&&C.push((0,r.h)("div",{ref:e.targetRef,class:"q-field__native row",tabindex:-1,...e.splitAttrs.attributes.value,"data-autofocus":!0===l.autofocus||void 0},t.control(O.value))),!0===b.value&&C.push((0,r.h)("div",{class:B.value},(0,V.KR)(t.label,l.label))),void 0!==l.suffix&&null!==l.suffix&&C.push((0,r.h)("div",{class:"q-field__suffix no-pointer-events row items-center"},l.suffix)),C.concat((0,V.KR)(t.default))}function N(){let C,i;!0===v.value?null!==h.value?(C=[(0,r.h)("div",{role:"alert"},h.value)],i=`q--slot-error-${h.value}`):(C=(0,V.KR)(t.error),i="q--slot-error"):!0===l.hideHint&&!0!==e.focused.value||(void 0!==l.hint?(C=[(0,r.h)("div",l.hint)],i=`q--slot-hint-${l.hint}`):(C=(0,V.KR)(t.hint),i="q--slot-hint"));const d=!0===l.counter||void 0!==t.counter;if(!0===l.hideBottomSpace&&!1===d&&void 0===C)return;const n=(0,r.h)("div",{key:i,class:"q-field__messages col"},C);return(0,r.h)("div",{class:"q-field__bottom row items-start q-field__bottom--"+(!0!==l.hideBottomSpace?"animated":"stale"),onClick:x.X$},[!0===l.hideBottomSpace?n:(0,r.h)(o.uT,{name:"q-transition--field-message"},(()=>n)),!0===d?(0,r.h)("div",{class:"q-field__counter"},void 0!==t.counter?t.counter():e.computedCounter.value):null])}function I(e,l){return null===l?null:(0,r.h)("div",{key:e,class:"q-field__append q-field__marginal row no-wrap items-center q-anchor--skip"},l)}(0,r.YP)((()=>l.for),(l=>{e.targetUid.value=y(l)}));let $=!1;return(0,r.se)((()=>{$=!0})),(0,r.dl)((()=>{!0===$&&!0===l.autofocus&&u.focus()})),(0,r.bv)((()=>{!0===i.uX.value&&void 0===l.for&&(e.targetUid.value=y()),!0===l.autofocus&&u.focus()})),(0,r.Jd)((()=>{null!==p&&clearTimeout(p)})),Object.assign(u,{focus:P,blur:_}),function(){const C=void 0===e.getControl&&void 0===t.control?{...e.splitAttrs.attributes.value,"data-autofocus":!0===l.autofocus||void 0,...F.value}:F.value;return(0,r.h)("label",{ref:e.rootRef,class:[M.value,c.class],style:c.style,...C},[void 0!==t.before?(0,r.h)("div",{class:"q-field__before q-field__marginal row no-wrap items-center",onClick:x.X$},t.before()):null,(0,r.h)("div",{class:"q-field__inner relative-position col self-stretch"},[(0,r.h)("div",{ref:e.controlRef,class:H.value,tabindex:-1,...e.controlEvents},D()),!0===Z.value?N():null]),void 0!==t.after?(0,r.h)("div",{class:"q-field__after q-field__marginal row no-wrap items-center",onClick:x.X$},t.after()):null])}}},99256:(e,l,C)=>{"use strict";C.d(l,{Do:()=>d,Fz:()=>t,Vt:()=>o,eX:()=>i});var r=C(59835);const t={name:String};function o(e){return(0,r.Fl)((()=>({type:"hidden",name:e.name,value:e.modelValue})))}function i(e={}){return(l,C,t)=>{l[C]((0,r.h)("input",{class:"hidden"+(t||""),...e.value}))}}function d(e){return(0,r.Fl)((()=>e.name||e.for))}},93929:(e,l,C)=>{"use strict";C.d(l,{ZP:()=>u,fL:()=>c,kM:()=>n});var r=C(59835),t=C(60499),o=C(25310),i=C(52046);let d=0;const n={fullscreen:Boolean,noRouteFullscreenExit:Boolean},c=["update:fullscreen","fullscreen"];function u(){const e=(0,r.FN)(),{props:l,emit:C,proxy:n}=e;let c,u,a;const p=(0,t.iH)(!1);function f(){!0===p.value?v():s()}function s(){!0!==p.value&&(p.value=!0,a=n.$el.parentNode,a.replaceChild(u,n.$el),document.body.appendChild(n.$el),d++,1===d&&document.body.classList.add("q-body--fullscreen-mixin"),c={handler:v},o.Z.add(c))}function v(){!0===p.value&&(void 0!==c&&(o.Z.remove(c),c=void 0),a.replaceChild(n.$el,u),p.value=!1,d=Math.max(0,d-1),0===d&&(document.body.classList.remove("q-body--fullscreen-mixin"),void 0!==n.$el.scrollIntoView&&setTimeout((()=>{n.$el.scrollIntoView()}))))}return!0===(0,i.Rb)(e)&&(0,r.YP)((()=>n.$route.fullPath),(()=>{!0!==l.noRouteFullscreenExit&&v()})),(0,r.YP)((()=>l.fullscreen),(e=>{p.value!==e&&f()})),(0,r.YP)(p,(e=>{C("update:fullscreen",e),C("fullscreen",e)})),(0,r.wF)((()=>{u=document.createElement("span")})),(0,r.bv)((()=>{!0===l.fullscreen&&s()})),(0,r.Jd)(v),Object.assign(n,{toggleFullscreen:f,setFullscreen:s,exitFullscreen:v}),{inFullscreen:p,toggleFullscreen:f}}},94953:(e,l,C)=>{"use strict";C.d(l,{Z:()=>o});var r=C(59835),t=C(25310);function o(e,l,C){let o;function i(){void 0!==o&&(t.Z.remove(o),o=void 0)}return(0,r.Jd)((()=>{!0===e.value&&i()})),{removeFromHistory:i,addToHistory(){o={condition:()=>!0===C.value,handler:l},t.Z.add(o)}}}},62802:(e,l,C)=>{"use strict";C.d(l,{Z:()=>n});var r=C(47506);const t=/[\u3000-\u303f\u3040-\u309f\u30a0-\u30ff\uff00-\uff9f\u4e00-\u9faf\u3400-\u4dbf]/,o=/[\u4e00-\u9fff\u3400-\u4dbf\u{20000}-\u{2a6df}\u{2a700}-\u{2b73f}\u{2b740}-\u{2b81f}\u{2b820}-\u{2ceaf}\uf900-\ufaff\u3300-\u33ff\ufe30-\ufe4f\uf900-\ufaff\u{2f800}-\u{2fa1f}]/u,i=/[\u3131-\u314e\u314f-\u3163\uac00-\ud7a3]/,d=/[a-z0-9_ -]$/i;function n(e){return function(l){if("compositionend"===l.type||"change"===l.type){if(!0!==l.target.qComposing)return;l.target.qComposing=!1,e(l)}else if("compositionupdate"===l.type&&!0!==l.target.qComposing&&"string"===typeof l.data){const e=!0===r.client.is.firefox?!1===d.test(l.data):!0===t.test(l.data)||!0===o.test(l.data)||!0===i.test(l.data);!0===e&&(l.target.qComposing=!0)}}}},63842:(e,l,C)=>{"use strict";C.d(l,{ZP:()=>d,gH:()=>i,vr:()=>o});var r=C(59835),t=C(52046);const o={modelValue:{type:Boolean,default:null},"onUpdate:modelValue":[Function,Array]},i=["beforeShow","show","beforeHide","hide"];function d({showing:e,canShow:l,hideOnRouteChange:C,handleShow:o,handleHide:i,processOnMount:d}){const n=(0,r.FN)(),{props:c,emit:u,proxy:a}=n;let p;function f(l){!0===e.value?h(l):s(l)}function s(e){if(!0===c.disable||void 0!==e&&!0===e.qAnchorHandled||void 0!==l&&!0!==l(e))return;const C=void 0!==c["onUpdate:modelValue"];!0===C&&(u("update:modelValue",!0),p=e,(0,r.Y3)((()=>{p===e&&(p=void 0)}))),null!==c.modelValue&&!1!==C||v(e)}function v(l){!0!==e.value&&(e.value=!0,u("beforeShow",l),void 0!==o?o(l):u("show",l))}function h(e){if(!0===c.disable)return;const l=void 0!==c["onUpdate:modelValue"];!0===l&&(u("update:modelValue",!1),p=e,(0,r.Y3)((()=>{p===e&&(p=void 0)}))),null!==c.modelValue&&!1!==l||L(e)}function L(l){!1!==e.value&&(e.value=!1,u("beforeHide",l),void 0!==i?i(l):u("hide",l))}function g(l){if(!0===c.disable&&!0===l)void 0!==c["onUpdate:modelValue"]&&u("update:modelValue",!1);else if(!0===l!==e.value){const e=!0===l?v:L;e(p)}}(0,r.YP)((()=>c.modelValue),g),void 0!==C&&!0===(0,t.Rb)(n)&&(0,r.YP)((()=>a.$route.fullPath),(()=>{!0===C.value&&!0===e.value&&h()})),!0===d&&(0,r.bv)((()=>{g(c.modelValue)}));const Z={show:s,hide:h,toggle:f};return Object.assign(a,Z),Z}},46296:(e,l,C)=>{"use strict";C.d(l,{ZP:()=>s,vZ:()=>u,K6:()=>f,t6:()=>p});var r=C(59835),t=C(60499),o=C(61957),i=C(64871);function d(){const e=new Map;return{getCache:function(l,C){return void 0===e[l]?e[l]=C:e[l]},getCacheWithFn:function(l,C){return void 0===e[l]?e[l]=C():e[l]}}}var n=C(22026),c=C(52046);const u={name:{required:!0},disable:Boolean},a={setup(e,{slots:l}){return()=>(0,r.h)("div",{class:"q-panel scroll",role:"tabpanel"},(0,n.KR)(l.default))}},p={modelValue:{required:!0},animated:Boolean,infinite:Boolean,swipeable:Boolean,vertical:Boolean,transitionPrev:String,transitionNext:String,transitionDuration:{type:[String,Number],default:300},keepAlive:Boolean,keepAliveInclude:[String,Array,RegExp],keepAliveExclude:[String,Array,RegExp],keepAliveMax:Number},f=["update:modelValue","beforeTransition","transition"];function s(){const{props:e,emit:l,proxy:C}=(0,r.FN)(),{getCacheWithFn:u}=d();let p,f;const s=(0,t.iH)(null),v=(0,t.iH)(null);function h(l){const r=!0===e.vertical?"up":"left";O((!0===C.$q.lang.rtl?-1:1)*(l.direction===r?1:-1))}const L=(0,r.Fl)((()=>[[i.Z,h,void 0,{horizontal:!0!==e.vertical,vertical:e.vertical,mouse:!0}]])),g=(0,r.Fl)((()=>e.transitionPrev||"slide-"+(!0===e.vertical?"down":"right"))),Z=(0,r.Fl)((()=>e.transitionNext||"slide-"+(!0===e.vertical?"up":"left"))),w=(0,r.Fl)((()=>`--q-transition-duration: ${e.transitionDuration}ms`)),M=(0,r.Fl)((()=>"string"===typeof e.modelValue||"number"===typeof e.modelValue?e.modelValue:String(e.modelValue))),m=(0,r.Fl)((()=>({include:e.keepAliveInclude,exclude:e.keepAliveExclude,max:e.keepAliveMax}))),H=(0,r.Fl)((()=>void 0!==e.keepAliveInclude||void 0!==e.keepAliveExclude));function V(){O(1)}function b(){O(-1)}function x(e){l("update:modelValue",e)}function k(e){return void 0!==e&&null!==e&&""!==e}function y(e){return p.findIndex((l=>l.props.name===e&&""!==l.props.disable&&!0!==l.props.disable))}function A(){return p.filter((e=>""!==e.props.disable&&!0!==e.props.disable))}function B(l){const C=0!==l&&!0===e.animated&&-1!==s.value?"q-transition--"+(-1===l?g.value:Z.value):null;v.value!==C&&(v.value=C)}function O(C,r=s.value){let t=r+C;while(t>-1&&t{f=!1}));t+=C}!0===e.infinite&&0!==p.length&&-1!==r&&r!==p.length&&O(C,-1===C?p.length:-1)}function F(){const l=y(e.modelValue);return s.value!==l&&(s.value=l),!0}function S(){const l=!0===k(e.modelValue)&&F()&&p[s.value];return!0===e.keepAlive?[(0,r.h)(r.Ob,m.value,[(0,r.h)(!0===H.value?u(M.value,(()=>({...a,name:M.value}))):a,{key:M.value,style:w.value},(()=>l))])]:[(0,r.h)("div",{class:"q-panel scroll",style:w.value,key:M.value,role:"tabpanel"},[l])]}function P(){if(0!==p.length)return!0===e.animated?[(0,r.h)(o.uT,{name:v.value},S)]:S()}function _(e){return p=(0,c.Pf)((0,n.KR)(e.default,[])).filter((e=>null!==e.props&&void 0===e.props.slot&&!0===k(e.props.name))),p.length}function T(){return p}return(0,r.YP)((()=>e.modelValue),((e,C)=>{const t=!0===k(e)?y(e):-1;!0!==f&&B(-1===t?0:t{l("transition",e,C)})))})),Object.assign(C,{next:V,previous:b,goTo:x}),{panelIndex:s,panelDirectives:L,updatePanelsList:_,updatePanelIndex:F,getPanelContent:P,getEnabledPanels:A,getPanels:T,isValidPanelName:k,keepAliveProps:m,needsUniqueKeepAliveWrapper:H,goToPanelByOffset:O,goToPanel:x,nextPanel:V,previousPanel:b}}},91518:(e,l,C)=>{"use strict";C.d(l,{Z:()=>u});C(69665);var r=C(60499),t=C(59835),o=(C(91384),C(17026)),i=C(56669),d=C(2909),n=C(43251);function c(e){e=e.parent;while(void 0!==e&&null!==e){if("QGlobalDialog"===e.type.name)return!0;if("QDialog"===e.type.name||"QMenu"===e.type.name)return!1;e=e.parent}return!1}function u(e,l,C,u){const a=(0,r.iH)(!1),p=(0,r.iH)(!1);let f=null;const s={},v="dialog"===u&&c(e);function h(l){if(!0===l)return(0,o.xF)(s),void(p.value=!0);p.value=!1,!1===a.value&&(!1===v&&null===f&&(f=(0,i.q_)(!1,u)),a.value=!0,d.Q$.push(e.proxy),(0,o.YX)(s))}function L(l){if(p.value=!1,!0!==l)return;(0,o.xF)(s),a.value=!1;const C=d.Q$.indexOf(e.proxy);-1!==C&&d.Q$.splice(C,1),null!==f&&((0,i.pB)(f),f=null)}return(0,t.Ah)((()=>{L(!0)})),e.proxy.__qPortal=!0,(0,n.g)(e.proxy,"contentEl",(()=>l.value)),{showPortal:h,hidePortal:L,portalIsActive:a,portalIsAccessible:p,renderPortal:()=>!0===v?C():!0===a.value?[(0,t.h)(t.lR,{to:f},C())]:void 0}}},49754:(e,l,C)=>{"use strict";C.d(l,{Z:()=>M});var r=C(91384),t=C(43701),o=C(47506);let i,d,n,c,u,a,p=0,f=!1,s=null;function v(e){h(e)&&(0,r.NS)(e)}function h(e){if(e.target===document.body||e.target.classList.contains("q-layout__backdrop"))return!0;const l=(0,r.AZ)(e),C=e.shiftKey&&!e.deltaX,o=!C&&Math.abs(e.deltaX)<=Math.abs(e.deltaY),i=C||o?e.deltaY:e.deltaX;for(let r=0;r0&&e.scrollTop+e.clientHeight===e.scrollHeight:i<0&&0===e.scrollLeft||i>0&&e.scrollLeft+e.clientWidth===e.scrollWidth}return!0}function L(e){e.target===document&&(document.scrollingElement.scrollTop=document.scrollingElement.scrollTop)}function g(e){!0!==f&&(f=!0,requestAnimationFrame((()=>{f=!1;const{height:l}=e.target,{clientHeight:C,scrollTop:r}=document.scrollingElement;void 0!==n&&l===window.innerHeight||(n=C-l,document.scrollingElement.scrollTop=r),r>n&&(document.scrollingElement.scrollTop-=Math.ceil((r-n)/8))})))}function Z(e){const l=document.body,C=void 0!==window.visualViewport;if("add"===e){const{overflowY:e,overflowX:n}=window.getComputedStyle(l);i=(0,t.OI)(window),d=(0,t.u3)(window),c=l.style.left,u=l.style.top,a=window.location.href,l.style.left=`-${i}px`,l.style.top=`-${d}px`,"hidden"!==n&&("scroll"===n||l.scrollWidth>window.innerWidth)&&l.classList.add("q-body--force-scrollbar-x"),"hidden"!==e&&("scroll"===e||l.scrollHeight>window.innerHeight)&&l.classList.add("q-body--force-scrollbar-y"),l.classList.add("q-body--prevent-scroll"),document.qScrollPrevented=!0,!0===o.client.is.ios&&(!0===C?(window.scrollTo(0,0),window.visualViewport.addEventListener("resize",g,r.listenOpts.passiveCapture),window.visualViewport.addEventListener("scroll",g,r.listenOpts.passiveCapture),window.scrollTo(0,0)):window.addEventListener("scroll",L,r.listenOpts.passiveCapture))}!0===o.client.is.desktop&&!0===o.client.is.mac&&window[`${e}EventListener`]("wheel",v,r.listenOpts.notPassive),"remove"===e&&(!0===o.client.is.ios&&(!0===C?(window.visualViewport.removeEventListener("resize",g,r.listenOpts.passiveCapture),window.visualViewport.removeEventListener("scroll",g,r.listenOpts.passiveCapture)):window.removeEventListener("scroll",L,r.listenOpts.passiveCapture)),l.classList.remove("q-body--prevent-scroll"),l.classList.remove("q-body--force-scrollbar-x"),l.classList.remove("q-body--force-scrollbar-y"),document.qScrollPrevented=!1,l.style.left=c,l.style.top=u,window.location.href===a&&window.scrollTo(i,d),n=void 0)}function w(e){let l="add";if(!0===e){if(p++,null!==s)return clearTimeout(s),void(s=null);if(p>1)return}else{if(0===p)return;if(p--,p>0)return;if(l="remove",!0===o.client.is.ios&&!0===o.client.is.nativeMobile)return null!==s&&clearTimeout(s),void(s=setTimeout((()=>{Z(l),s=null}),100))}Z(l)}function M(){let e;return{preventBodyScroll(l){l===e||void 0===e&&!0!==l||(e=l,w(l))}}}},70945:(e,l,C)=>{"use strict";C.d(l,{$:()=>a,Z:()=>p});var r=C(59835),t=C(52046);function o(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}function i(e,l){return(e.aliasOf||e)===(l.aliasOf||l)}function d(e,l){for(const C in l){const r=l[C],t=e[C];if("string"===typeof r){if(r!==t)return!1}else if(!1===Array.isArray(t)||t.length!==r.length||r.some(((e,l)=>e!==t[l])))return!1}return!0}function n(e,l){return!0===Array.isArray(l)?e.length===l.length&&e.every(((e,C)=>e===l[C])):1===e.length&&e[0]===l}function c(e,l){return!0===Array.isArray(e)?n(e,l):!0===Array.isArray(l)?n(l,e):e===l}function u(e,l){if(Object.keys(e).length!==Object.keys(l).length)return!1;for(const C in e)if(!1===c(e[C],l[C]))return!1;return!0}const a={to:[String,Object],replace:Boolean,exact:Boolean,activeClass:{type:String,default:"q-router-link--active"},exactActiveClass:{type:String,default:"q-router-link--exact-active"},href:String,target:String,disable:Boolean};function p({fallbackTag:e,useDisableForRouterLinkProps:l=!0}={}){const C=(0,r.FN)(),{props:n,proxy:c,emit:a}=C,p=(0,t.Rb)(C),f=(0,r.Fl)((()=>!0!==n.disable&&void 0!==n.href)),s=!0===l?(0,r.Fl)((()=>!0===p&&!0!==n.disable&&!0!==f.value&&void 0!==n.to&&null!==n.to&&""!==n.to)):(0,r.Fl)((()=>!0===p&&!0!==f.value&&void 0!==n.to&&null!==n.to&&""!==n.to)),v=(0,r.Fl)((()=>!0===s.value?V(n.to):null)),h=(0,r.Fl)((()=>null!==v.value)),L=(0,r.Fl)((()=>!0===f.value||!0===h.value)),g=(0,r.Fl)((()=>"a"===n.type||!0===L.value?"a":n.tag||e||"div")),Z=(0,r.Fl)((()=>!0===f.value?{href:n.href,target:n.target}:!0===h.value?{href:v.value.href,target:n.target}:{})),w=(0,r.Fl)((()=>{if(!1===h.value)return-1;const{matched:e}=v.value,{length:l}=e,C=e[l-1];if(void 0===C)return-1;const r=c.$route.matched;if(0===r.length)return-1;const t=r.findIndex(i.bind(null,C));if(t>-1)return t;const d=o(e[l-2]);return l>1&&o(C)===d&&r[r.length-1].path!==d?r.findIndex(i.bind(null,e[l-2])):t})),M=(0,r.Fl)((()=>!0===h.value&&-1!==w.value&&d(c.$route.params,v.value.params))),m=(0,r.Fl)((()=>!0===M.value&&w.value===c.$route.matched.length-1&&u(c.$route.params,v.value.params))),H=(0,r.Fl)((()=>!0===h.value?!0===m.value?` ${n.exactActiveClass} ${n.activeClass}`:!0===n.exact?"":!0===M.value?` ${n.activeClass}`:"":""));function V(e){try{return c.$router.resolve(e)}catch(l){}return null}function b(e,{returnRouterError:l,to:C=n.to,replace:r=n.replace}={}){if(!0===n.disable)return e.preventDefault(),Promise.resolve(!1);if(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey||void 0!==e.button&&0!==e.button||"_blank"===n.target)return Promise.resolve(!1);e.preventDefault();const t=c.$router[!0===r?"replace":"push"](C);return!0===l?t:t.then((()=>{})).catch((()=>{}))}function x(e){if(!0===h.value){const l=l=>b(e,l);a("click",e,l),!0!==e.defaultPrevented&&l()}else a("click",e)}return{hasRouterLink:h,hasHrefLink:f,hasLink:L,linkTag:g,resolvedLink:v,linkIsActive:M,linkIsExactActive:m,linkClass:H,linkAttrs:Z,getLink:V,navigateToRouterLink:b,navigateOnClick:x}}},64088:(e,l,C)=>{"use strict";C.d(l,{Z:()=>i});var r=C(60499),t=C(59835),o=C(91384);function i(e,l){const C=(0,r.iH)(null);let i;function d(e,l){const C=(void 0!==l?"add":"remove")+"EventListener",r=void 0!==l?l:i;e!==window&&e[C]("scroll",r,o.listenOpts.passive),window[C]("scroll",r,o.listenOpts.passive),i=l}function n(){null!==C.value&&(d(C.value),C.value=null)}const c=(0,t.YP)((()=>e.noParentEvent),(()=>{null!==C.value&&(n(),l())}));return(0,t.Jd)(c),{localScrollTarget:C,unconfigureScrollTarget:n,changeScrollEvent:d}}},20244:(e,l,C)=>{"use strict";C.d(l,{LU:()=>o,Ok:()=>t,ZP:()=>i});var r=C(59835);const t={xs:18,sm:24,md:32,lg:38,xl:46},o={size:String};function i(e,l=t){return(0,r.Fl)((()=>void 0!==e.size?{fontSize:e.size in l?`${l[e.size]}px`:e.size}:null))}},45607:(e,l,C)=>{"use strict";C.d(l,{Z:()=>i});var r=C(60499),t=C(59835);const o=/^on[A-Z]/;function i(e,l){const C={listeners:(0,r.iH)({}),attributes:(0,r.iH)({})};function i(){const r={},t={};for(const l in e)"class"!==l&&"style"!==l&&!1===o.test(l)&&(r[l]=e[l]);for(const e in l.props)!0===o.test(e)&&(t[e]=l.props[e]);C.attributes.value=r,C.listeners.value=t}return(0,t.Xn)(i),i(),C}},16916:(e,l,C)=>{"use strict";C.d(l,{Z:()=>o});var r=C(59835),t=C(52046);function o(){let e;const l=(0,r.FN)();function C(){e=void 0}return(0,r.se)(C),(0,r.Jd)(C),{removeTick:C,registerTick(C){e=C,(0,r.Y3)((()=>{e===C&&(!1===(0,t.$D)(l)&&e(),e=void 0)}))}}}},52695:(e,l,C)=>{"use strict";C.d(l,{Z:()=>o});var r=C(59835),t=C(52046);function o(){let e=null;const l=(0,r.FN)();function C(){null!==e&&(clearTimeout(e),e=null)}return(0,r.se)(C),(0,r.Jd)(C),{removeTimeout:C,registerTimeout(r,o){C(e),!1===(0,t.$D)(l)&&(e=setTimeout(r,o))}}}},20431:(e,l,C)=>{"use strict";C.d(l,{D:()=>t,Z:()=>o});var r=C(59835);const t={transitionShow:{type:String,default:"fade"},transitionHide:{type:String,default:"fade"},transitionDuration:{type:[String,Number],default:300}};function o(e,l=(()=>{}),C=(()=>{})){return{transitionProps:(0,r.Fl)((()=>{const r=`q-transition--${e.transitionShow||l()}`,t=`q-transition--${e.transitionHide||C()}`;return{appear:!0,enterFromClass:`${r}-enter-from`,enterActiveClass:`${r}-enter-active`,enterToClass:`${r}-enter-to`,leaveFromClass:`${t}-leave-from`,leaveActiveClass:`${t}-leave-active`,leaveToClass:`${t}-leave-to`}})),transitionStyle:(0,r.Fl)((()=>`--q-transition-duration: ${e.transitionDuration}ms`))}}},19302:(e,l,C)=>{"use strict";C.d(l,{Z:()=>o});var r=C(59835),t=C(95439);function o(){return(0,r.f3)(t.Ng)}},62146:(e,l,C)=>{"use strict";C.d(l,{Z:()=>d});var r=C(65987),t=C(2909),o=C(61705);function i(e){if(!1===e)return 0;if(!0===e||void 0===e)return 1;const l=parseInt(e,10);return isNaN(l)?0:l}const d=(0,r.f)({name:"close-popup",beforeMount(e,{value:l}){const C={depth:i(l),handler(l){0!==C.depth&&setTimeout((()=>{const r=(0,t.je)(e);void 0!==r&&(0,t.S7)(r,l,C.depth)}))},handlerKey(e){!0===(0,o.So)(e,13)&&C.handler(e)}};e.__qclosepopup=C,e.addEventListener("click",C.handler),e.addEventListener("keyup",C.handlerKey)},updated(e,{value:l,oldValue:C}){l!==C&&(e.__qclosepopup.depth=i(l))},beforeUnmount(e){const l=e.__qclosepopup;e.removeEventListener("click",l.handler),e.removeEventListener("keyup",l.handlerKey),delete e.__qclosepopup}})},51136:(e,l,C)=>{"use strict";C.d(l,{Z:()=>u});C(69665);var r=C(65987),t=C(70223),o=C(91384),i=C(61705);function d(e,l=250){let C,r=!1;return function(){return!1===r&&(r=!0,setTimeout((()=>{r=!1}),l),C=e.apply(this,arguments)),C}}function n(e,l,C,r){!0===C.modifiers.stop&&(0,o.sT)(e);const i=C.modifiers.color;let d=C.modifiers.center;d=!0===d||!0===r;const n=document.createElement("span"),c=document.createElement("span"),u=(0,o.FK)(e),{left:a,top:p,width:f,height:s}=l.getBoundingClientRect(),v=Math.sqrt(f*f+s*s),h=v/2,L=(f-v)/2+"px",g=d?L:u.left-a-h+"px",Z=(s-v)/2+"px",w=d?Z:u.top-p-h+"px";c.className="q-ripple__inner",(0,t.iv)(c,{height:`${v}px`,width:`${v}px`,transform:`translate3d(${g},${w},0) scale3d(.2,.2,1)`,opacity:0}),n.className="q-ripple"+(i?" text-"+i:""),n.setAttribute("dir","ltr"),n.appendChild(c),l.appendChild(n);const M=()=>{n.remove(),clearTimeout(m)};C.abort.push(M);let m=setTimeout((()=>{c.classList.add("q-ripple__inner--enter"),c.style.transform=`translate3d(${L},${Z},0) scale3d(1,1,1)`,c.style.opacity=.2,m=setTimeout((()=>{c.classList.remove("q-ripple__inner--enter"),c.classList.add("q-ripple__inner--leave"),c.style.opacity=0,m=setTimeout((()=>{n.remove(),C.abort.splice(C.abort.indexOf(M),1)}),275)}),250)}),50)}function c(e,{modifiers:l,value:C,arg:r}){const t=Object.assign({},e.cfg.ripple,l,C);e.modifiers={early:!0===t.early,stop:!0===t.stop,center:!0===t.center,color:t.color||r,keyCodes:[].concat(t.keyCodes||13)}}const u=(0,r.f)({name:"ripple",beforeMount(e,l){const C=l.instance.$.appContext.config.globalProperties.$q.config||{};if(!1===C.ripple)return;const r={cfg:C,enabled:!1!==l.value,modifiers:{},abort:[],start(l){!0===r.enabled&&!0!==l.qSkipRipple&&l.type===(!0===r.modifiers.early?"pointerdown":"click")&&n(l,e,r,!0===l.qKeyEvent)},keystart:d((l=>{!0===r.enabled&&!0!==l.qSkipRipple&&!0===(0,i.So)(l,r.modifiers.keyCodes)&&l.type==="key"+(!0===r.modifiers.early?"down":"up")&&n(l,e,r,!0)}),300)};c(r,l),e.__qripple=r,(0,o.M0)(r,"main",[[e,"pointerdown","start","passive"],[e,"click","start","passive"],[e,"keydown","keystart","passive"],[e,"keyup","keystart","passive"]])},updated(e,l){if(l.oldValue!==l.value){const C=e.__qripple;void 0!==C&&(C.enabled=!1!==l.value,!0===C.enabled&&Object(l.value)===l.value&&c(C,l))}},beforeUnmount(e){const l=e.__qripple;void 0!==l&&(l.abort.forEach((e=>{e()})),(0,o.ul)(l,"main"),delete e._qripple)}})},2873:(e,l,C)=>{"use strict";C.d(l,{Z:()=>u});var r=C(47506),t=C(65987),o=C(99367),i=C(91384),d=C(2589);function n(e,l,C){const r=(0,i.FK)(e);let t,o=r.left-l.event.x,d=r.top-l.event.y,n=Math.abs(o),c=Math.abs(d);const u=l.direction;!0===u.horizontal&&!0!==u.vertical?t=o<0?"left":"right":!0!==u.horizontal&&!0===u.vertical?t=d<0?"up":"down":!0===u.up&&d<0?(t="up",n>c&&(!0===u.left&&o<0?t="left":!0===u.right&&o>0&&(t="right"))):!0===u.down&&d>0?(t="down",n>c&&(!0===u.left&&o<0?t="left":!0===u.right&&o>0&&(t="right"))):!0===u.left&&o<0?(t="left",n0&&(t="down"))):!0===u.right&&o>0&&(t="right",n0&&(t="down")));let a=!1;if(void 0===t&&!1===C){if(!0===l.event.isFirst||void 0===l.event.lastDir)return{};t=l.event.lastDir,a=!0,"left"===t||"right"===t?(r.left-=o,n=0,o=0):(r.top-=d,c=0,d=0)}return{synthetic:a,payload:{evt:e,touch:!0!==l.event.mouse,mouse:!0===l.event.mouse,position:r,direction:t,isFirst:l.event.isFirst,isFinal:!0===C,duration:Date.now()-l.event.time,distance:{x:n,y:c},offset:{x:o,y:d},delta:{x:r.left-l.event.lastX,y:r.top-l.event.lastY}}}}let c=0;const u=(0,t.f)({name:"touch-pan",beforeMount(e,{value:l,modifiers:C}){if(!0!==C.mouse&&!0!==r.client.has.touch)return;function t(e,l){!0===C.mouse&&!0===l?(0,i.NS)(e):(!0===C.stop&&(0,i.sT)(e),!0===C.prevent&&(0,i.X$)(e))}const u={uid:"qvtp_"+c++,handler:l,modifiers:C,direction:(0,o.R)(C),noop:i.ZT,mouseStart(e){(0,o.n)(e,u)&&(0,i.du)(e)&&((0,i.M0)(u,"temp",[[document,"mousemove","move","notPassiveCapture"],[document,"mouseup","end","passiveCapture"]]),u.start(e,!0))},touchStart(e){if((0,o.n)(e,u)){const l=e.target;(0,i.M0)(u,"temp",[[l,"touchmove","move","notPassiveCapture"],[l,"touchcancel","end","passiveCapture"],[l,"touchend","end","passiveCapture"]]),u.start(e)}},start(l,t){if(!0===r.client.is.firefox&&(0,i.Jf)(e,!0),u.lastEvt=l,!0===t||!0===C.stop){if(!0!==u.direction.all&&(!0!==t||!0!==u.modifiers.mouseAllDir&&!0!==u.modifiers.mousealldir)){const e=l.type.indexOf("mouse")>-1?new MouseEvent(l.type,l):new TouchEvent(l.type,l);!0===l.defaultPrevented&&(0,i.X$)(e),!0===l.cancelBubble&&(0,i.sT)(e),Object.assign(e,{qKeyEvent:l.qKeyEvent,qClickOutside:l.qClickOutside,qAnchorHandled:l.qAnchorHandled,qClonedBy:void 0===l.qClonedBy?[u.uid]:l.qClonedBy.concat(u.uid)}),u.initialEvent={target:l.target,event:e}}(0,i.sT)(l)}const{left:o,top:d}=(0,i.FK)(l);u.event={x:o,y:d,time:Date.now(),mouse:!0===t,detected:!1,isFirst:!0,isFinal:!1,lastX:o,lastY:d}},move(e){if(void 0===u.event)return;const l=(0,i.FK)(e),r=l.left-u.event.x,o=l.top-u.event.y;if(0===r&&0===o)return;u.lastEvt=e;const c=!0===u.event.mouse,a=()=>{let l;t(e,c),!0!==C.preserveCursor&&!0!==C.preservecursor&&(l=document.documentElement.style.cursor||"",document.documentElement.style.cursor="grabbing"),!0===c&&document.body.classList.add("no-pointer-events--children"),document.body.classList.add("non-selectable"),(0,d.M)(),u.styleCleanup=e=>{if(u.styleCleanup=void 0,void 0!==l&&(document.documentElement.style.cursor=l),document.body.classList.remove("non-selectable"),!0===c){const l=()=>{document.body.classList.remove("no-pointer-events--children")};void 0!==e?setTimeout((()=>{l(),e()}),50):l()}else void 0!==e&&e()}};if(!0===u.event.detected){!0!==u.event.isFirst&&t(e,u.event.mouse);const{payload:l,synthetic:C}=n(e,u,!1);return void(void 0!==l&&(!1===u.handler(l)?u.end(e):(void 0===u.styleCleanup&&!0===u.event.isFirst&&a(),u.event.lastX=l.position.left,u.event.lastY=l.position.top,u.event.lastDir=!0===C?void 0:l.direction,u.event.isFirst=!1)))}if(!0===u.direction.all||!0===c&&(!0===u.modifiers.mouseAllDir||!0===u.modifiers.mousealldir))return a(),u.event.detected=!0,void u.move(e);const p=Math.abs(r),f=Math.abs(o);p!==f&&(!0===u.direction.horizontal&&p>f||!0===u.direction.vertical&&p0||!0===u.direction.left&&p>f&&r<0||!0===u.direction.right&&p>f&&r>0?(u.event.detected=!0,u.move(e)):u.end(e,!0))},end(l,C){if(void 0!==u.event){if((0,i.ul)(u,"temp"),!0===r.client.is.firefox&&(0,i.Jf)(e,!1),!0===C)void 0!==u.styleCleanup&&u.styleCleanup(),!0!==u.event.detected&&void 0!==u.initialEvent&&u.initialEvent.target.dispatchEvent(u.initialEvent.event);else if(!0===u.event.detected){!0===u.event.isFirst&&u.handler(n(void 0===l?u.lastEvt:l,u).payload);const{payload:e}=n(void 0===l?u.lastEvt:l,u,!0),C=()=>{u.handler(e)};void 0!==u.styleCleanup?u.styleCleanup(C):C()}u.event=void 0,u.initialEvent=void 0,u.lastEvt=void 0}}};if(e.__qtouchpan=u,!0===C.mouse){const l=!0===C.mouseCapture||!0===C.mousecapture?"Capture":"";(0,i.M0)(u,"main",[[e,"mousedown","mouseStart",`passive${l}`]])}!0===r.client.has.touch&&(0,i.M0)(u,"main",[[e,"touchstart","touchStart","passive"+(!0===C.capture?"Capture":"")],[e,"touchmove","noop","notPassiveCapture"]])},updated(e,l){const C=e.__qtouchpan;void 0!==C&&(l.oldValue!==l.value&&("function"!==typeof value&&C.end(),C.handler=l.value),C.direction=(0,o.R)(l.modifiers))},beforeUnmount(e){const l=e.__qtouchpan;void 0!==l&&(void 0!==l.event&&l.end(),(0,i.ul)(l,"main"),(0,i.ul)(l,"temp"),!0===r.client.is.firefox&&(0,i.Jf)(e,!1),void 0!==l.styleCleanup&&l.styleCleanup(),delete e.__qtouchpan)}})},64871:(e,l,C)=>{"use strict";C.d(l,{Z:()=>c});var r=C(47506),t=C(65987),o=C(99367),i=C(91384),d=C(2589);function n(e){const l=[.06,6,50];return"string"===typeof e&&e.length&&e.split(":").forEach(((e,C)=>{const r=parseFloat(e);r&&(l[C]=r)})),l}const c=(0,t.f)({name:"touch-swipe",beforeMount(e,{value:l,arg:C,modifiers:t}){if(!0!==t.mouse&&!0!==r.client.has.touch)return;const c=!0===t.mouseCapture?"Capture":"",u={handler:l,sensitivity:n(C),direction:(0,o.R)(t),noop:i.ZT,mouseStart(e){(0,o.n)(e,u)&&(0,i.du)(e)&&((0,i.M0)(u,"temp",[[document,"mousemove","move",`notPassive${c}`],[document,"mouseup","end","notPassiveCapture"]]),u.start(e,!0))},touchStart(e){if((0,o.n)(e,u)){const l=e.target;(0,i.M0)(u,"temp",[[l,"touchmove","move","notPassiveCapture"],[l,"touchcancel","end","notPassiveCapture"],[l,"touchend","end","notPassiveCapture"]]),u.start(e)}},start(l,C){!0===r.client.is.firefox&&(0,i.Jf)(e,!0);const t=(0,i.FK)(l);u.event={x:t.left,y:t.top,time:Date.now(),mouse:!0===C,dir:!1}},move(e){if(void 0===u.event)return;if(!1!==u.event.dir)return void(0,i.NS)(e);const l=Date.now()-u.event.time;if(0===l)return;const C=(0,i.FK)(e),r=C.left-u.event.x,t=Math.abs(r),o=C.top-u.event.y,n=Math.abs(o);if(!0!==u.event.mouse){if(tu.sensitivity[0]&&(u.event.dir=o<0?"up":"down"),!0===u.direction.horizontal&&t>n&&n<100&&c>u.sensitivity[0]&&(u.event.dir=r<0?"left":"right"),!0===u.direction.up&&tu.sensitivity[0]&&(u.event.dir="up"),!0===u.direction.down&&t0&&t<100&&a>u.sensitivity[0]&&(u.event.dir="down"),!0===u.direction.left&&t>n&&r<0&&n<100&&c>u.sensitivity[0]&&(u.event.dir="left"),!0===u.direction.right&&t>n&&r>0&&n<100&&c>u.sensitivity[0]&&(u.event.dir="right"),!1!==u.event.dir?((0,i.NS)(e),!0===u.event.mouse&&(document.body.classList.add("no-pointer-events--children"),document.body.classList.add("non-selectable"),(0,d.M)(),u.styleCleanup=e=>{u.styleCleanup=void 0,document.body.classList.remove("non-selectable");const l=()=>{document.body.classList.remove("no-pointer-events--children")};!0===e?setTimeout(l,50):l()}),u.handler({evt:e,touch:!0!==u.event.mouse,mouse:u.event.mouse,direction:u.event.dir,duration:l,distance:{x:t,y:n}})):u.end(e)},end(l){void 0!==u.event&&((0,i.ul)(u,"temp"),!0===r.client.is.firefox&&(0,i.Jf)(e,!1),void 0!==u.styleCleanup&&u.styleCleanup(!0),void 0!==l&&!1!==u.event.dir&&(0,i.NS)(l),u.event=void 0)}};if(e.__qtouchswipe=u,!0===t.mouse){const l=!0===t.mouseCapture||!0===t.mousecapture?"Capture":"";(0,i.M0)(u,"main",[[e,"mousedown","mouseStart",`passive${l}`]])}!0===r.client.has.touch&&(0,i.M0)(u,"main",[[e,"touchstart","touchStart","passive"+(!0===t.capture?"Capture":"")],[e,"touchmove","noop","notPassiveCapture"]])},updated(e,l){const C=e.__qtouchswipe;void 0!==C&&(l.oldValue!==l.value&&("function"!==typeof l.value&&C.end(),C.handler=l.value),C.direction=(0,o.R)(l.modifiers))},beforeUnmount(e){const l=e.__qtouchswipe;void 0!==l&&((0,i.ul)(l,"main"),(0,i.ul)(l,"temp"),!0===r.client.is.firefox&&(0,i.Jf)(e,!1),void 0!==l.styleCleanup&&l.styleCleanup(),delete e.__qtouchswipe)}})},25310:(e,l,C)=>{"use strict";C.d(l,{Z:()=>c});C(69665);var r=C(47506),t=C(91384);const o=()=>!0;function i(e){return"string"===typeof e&&""!==e&&"/"!==e&&"#/"!==e}function d(e){return!0===e.startsWith("#")&&(e=e.substring(1)),!1===e.startsWith("/")&&(e="/"+e),!0===e.endsWith("/")&&(e=e.substring(0,e.length-1)),"#"+e}function n(e){if(!1===e.backButtonExit)return()=>!1;if("*"===e.backButtonExit)return o;const l=["#/"];return!0===Array.isArray(e.backButtonExit)&&l.push(...e.backButtonExit.filter(i).map(d)),()=>l.includes(window.location.hash)}const c={__history:[],add:t.ZT,remove:t.ZT,install({$q:e}){if(!0===this.__installed)return;const{cordova:l,capacitor:C}=r.client.is;if(!0!==l&&!0!==C)return;const t=e.config[!0===l?"cordova":"capacitor"];if(void 0!==t&&!1===t.backButton)return;if(!0===C&&(void 0===window.Capacitor||void 0===window.Capacitor.Plugins.App))return;this.add=e=>{void 0===e.condition&&(e.condition=o),this.__history.push(e)},this.remove=e=>{const l=this.__history.indexOf(e);l>=0&&this.__history.splice(l,1)};const i=n(Object.assign({backButtonExit:!0},t)),d=()=>{if(this.__history.length){const e=this.__history[this.__history.length-1];!0===e.condition()&&(this.__history.pop(),e.handler())}else!0===i()?navigator.app.exitApp():window.history.back()};!0===l?document.addEventListener("deviceready",(()=>{document.addEventListener("backbutton",d,!1)})):window.Capacitor.Plugins.App.addListener("backButton",d)}}},72289:(e,l,C)=>{"use strict";C.d(l,{Z:()=>d});var r=C(74124),t=C(43251);const o={name:"material-icons",type:{positive:"check_circle",negative:"warning",info:"info",warning:"priority_high"},arrow:{up:"arrow_upward",right:"arrow_forward",down:"arrow_downward",left:"arrow_back",dropdown:"arrow_drop_down"},chevron:{left:"chevron_left",right:"chevron_right"},colorPicker:{spectrum:"gradient",tune:"tune",palette:"style"},pullToRefresh:{icon:"refresh"},carousel:{left:"chevron_left",right:"chevron_right",up:"keyboard_arrow_up",down:"keyboard_arrow_down",navigationIcon:"lens"},chip:{remove:"cancel",selected:"check"},datetime:{arrowLeft:"chevron_left",arrowRight:"chevron_right",now:"access_time",today:"today"},editor:{bold:"format_bold",italic:"format_italic",strikethrough:"strikethrough_s",underline:"format_underlined",unorderedList:"format_list_bulleted",orderedList:"format_list_numbered",subscript:"vertical_align_bottom",superscript:"vertical_align_top",hyperlink:"link",toggleFullscreen:"fullscreen",quote:"format_quote",left:"format_align_left",center:"format_align_center",right:"format_align_right",justify:"format_align_justify",print:"print",outdent:"format_indent_decrease",indent:"format_indent_increase",removeFormat:"format_clear",formatting:"text_format",fontSize:"format_size",align:"format_align_left",hr:"remove",undo:"undo",redo:"redo",heading:"format_size",code:"code",size:"format_size",font:"font_download",viewSource:"code"},expansionItem:{icon:"keyboard_arrow_down",denseIcon:"arrow_drop_down"},fab:{icon:"add",activeIcon:"close"},field:{clear:"cancel",error:"error"},pagination:{first:"first_page",prev:"keyboard_arrow_left",next:"keyboard_arrow_right",last:"last_page"},rating:{icon:"grade"},stepper:{done:"check",active:"edit",error:"warning"},tabs:{left:"chevron_left",right:"chevron_right",up:"keyboard_arrow_up",down:"keyboard_arrow_down"},table:{arrowUp:"arrow_upward",warning:"warning",firstPage:"first_page",prevPage:"chevron_left",nextPage:"chevron_right",lastPage:"last_page"},tree:{icon:"play_arrow"},uploader:{done:"done",clear:"clear",add:"add_box",upload:"cloud_upload",removeQueue:"clear_all",removeUploaded:"done_all"}},i=(0,r.Z)({iconMapFn:null,__icons:{}},{set(e,l){const C={...e,rtl:!0===e.rtl};C.set=i.set,Object.assign(i.__icons,C)},install({$q:e,iconSet:l,ssrContext:C}){void 0!==e.config.iconMapFn&&(this.iconMapFn=e.config.iconMapFn),e.iconSet=this.__icons,(0,t.g)(e,"iconMapFn",(()=>this.iconMapFn),(e=>{this.iconMapFn=e})),!0===this.__installed?void 0!==l&&this.set(l):this.set(l||o)}}),d=i},87451:(e,l,C)=>{"use strict";C.d(l,{$:()=>k,Z:()=>B});var r=C(61957),t=C(47506),o=(C(69665),C(74124)),i=C(91384),d=C(60899);const n=["sm","md","lg","xl"],{passive:c}=i.listenOpts,u=(0,o.Z)({width:0,height:0,name:"xs",sizes:{sm:600,md:1024,lg:1440,xl:1920},lt:{sm:!0,md:!0,lg:!0,xl:!0},gt:{xs:!1,sm:!1,md:!1,lg:!1},xs:!0,sm:!1,md:!1,lg:!1,xl:!1},{setSizes:i.ZT,setDebounce:i.ZT,install({$q:e,onSSRHydrated:l}){if(e.screen=this,!0===this.__installed)return void(void 0!==e.config.screen&&(!1===e.config.screen.bodyClasses?document.body.classList.remove(`screen--${this.name}`):this.__update(!0)));const{visualViewport:C}=window,r=C||window,o=document.scrollingElement||document.documentElement,i=void 0===C||!0===t.client.is.mobile?()=>[Math.max(window.innerWidth,o.clientWidth),Math.max(window.innerHeight,o.clientHeight)]:()=>[C.width*C.scale+window.innerWidth-o.clientWidth,C.height*C.scale+window.innerHeight-o.clientHeight],u=void 0!==e.config.screen&&!0===e.config.screen.bodyClasses;this.__update=e=>{const[l,C]=i();if(C!==this.height&&(this.height=C),l!==this.width)this.width=l;else if(!0!==e)return;let r=this.sizes;this.gt.xs=l>=r.sm,this.gt.sm=l>=r.md,this.gt.md=l>=r.lg,this.gt.lg=l>=r.xl,this.lt.sm=l{n.forEach((l=>{void 0!==e[l]&&(p[l]=e[l])}))},this.setDebounce=e=>{f=e};const s=()=>{const e=getComputedStyle(document.body);e.getPropertyValue("--q-size-sm")&&n.forEach((l=>{this.sizes[l]=parseInt(e.getPropertyValue(`--q-size-${l}`),10)})),this.setSizes=e=>{n.forEach((l=>{e[l]&&(this.sizes[l]=e[l])})),this.__update(!0)},this.setDebounce=e=>{void 0!==a&&r.removeEventListener("resize",a,c),a=e>0?(0,d.Z)(this.__update,e):this.__update,r.addEventListener("resize",a,c)},this.setDebounce(f),0!==Object.keys(p).length?(this.setSizes(p),p=void 0):this.__update(),!0===u&&"xs"===this.name&&document.body.classList.add("screen--xs")};!0===t.uX.value?l.push(s):s()}}),a=(0,o.Z)({isActive:!1,mode:!1},{__media:void 0,set(e){a.mode=e,"auto"===e?(void 0===a.__media&&(a.__media=window.matchMedia("(prefers-color-scheme: dark)"),a.__updateMedia=()=>{a.set("auto")},a.__media.addListener(a.__updateMedia)),e=a.__media.matches):void 0!==a.__media&&(a.__media.removeListener(a.__updateMedia),a.__media=void 0),a.isActive=!0===e,document.body.classList.remove("body--"+(!0===e?"light":"dark")),document.body.classList.add("body--"+(!0===e?"dark":"light"))},toggle(){a.set(!1===a.isActive)},install({$q:e,onSSRHydrated:l,ssrContext:C}){const{dark:r}=e.config;if(e.dark=this,!0===this.__installed&&void 0===r)return;this.isActive=!0===r;const o=void 0!==r&&r;if(!0===t.uX.value){const e=e=>{this.__fromSSR=e},C=this.set;this.set=e,e(o),l.push((()=>{this.set=C,this.set(this.__fromSSR)}))}else this.set(o)}}),p=a;var f=C(25310),s=C(33558);function v(e,l,C=document.body){if("string"!==typeof e)throw new TypeError("Expected a string as propName");if("string"!==typeof l)throw new TypeError("Expected a string as value");if(!(C instanceof Element))throw new TypeError("Expected a DOM element");C.style.setProperty(`--q-${e}`,l)}var h=C(61705);function L(e){return!0===e.ios?"ios":!0===e.android?"android":void 0}function g({is:e,has:l,within:C},r){const t=[!0===e.desktop?"desktop":"mobile",(!1===l.touch?"no-":"")+"touch"];if(!0===e.mobile){const l=L(e);void 0!==l&&t.push("platform-"+l)}if(!0===e.nativeMobile){const l=e.nativeMobileWrapper;t.push(l),t.push("native-mobile"),!0!==e.ios||void 0!==r[l]&&!1===r[l].iosStatusBarPadding||t.push("q-ios-padding")}else!0===e.electron?t.push("electron"):!0===e.bex&&t.push("bex");return!0===C.iframe&&t.push("within-iframe"),t}function Z(){const{is:e}=t.client,l=document.body.className,C=new Set(l.replace(/ {2}/g," ").split(" "));if(void 0!==t.aG)C.delete("desktop"),C.add("platform-ios"),C.add("mobile");else if(!0!==e.nativeMobile&&!0!==e.electron&&!0!==e.bex)if(!0===e.desktop)C.delete("mobile"),C.delete("platform-ios"),C.delete("platform-android"),C.add("desktop");else if(!0===e.mobile){C.delete("desktop"),C.add("mobile");const l=L(e);void 0!==l?(C.add(`platform-${l}`),C.delete("platform-"+("ios"===l?"android":"ios"))):(C.delete("platform-ios"),C.delete("platform-android"))}!0===t.client.has.touch&&(C.delete("no-touch"),C.add("touch")),!0===t.client.within.iframe&&C.add("within-iframe");const r=Array.from(C).join(" ");l!==r&&(document.body.className=r)}function w(e){for(const l in e)v(l,e[l])}const M={install(e){if(!0!==this.__installed){if(!0===t.uX.value)Z();else{const{$q:l}=e;void 0!==l.config.brand&&w(l.config.brand);const C=g(t.client,l.config);document.body.classList.add.apply(document.body.classList,C)}!0===t.client.is.ios&&document.body.addEventListener("touchstart",i.ZT),window.addEventListener("keydown",h.ZK,!0)}}};var m=C(72289),H=C(95439),V=C(27495),b=C(4680);const x=[t.ZP,M,p,u,f.Z,s.Z,m.Z];function k(e,l){const C=(0,r.ri)(e);C.config.globalProperties=l.config.globalProperties;const{reload:t,...o}=l._context;return Object.assign(C._context,o),C}function y(e,l){l.forEach((l=>{l.install(e),l.__installed=!0}))}function A(e,l,C){e.config.globalProperties.$q=C.$q,e.provide(H.Ng,C.$q),y(C,x),void 0!==l.components&&Object.values(l.components).forEach((l=>{!0===(0,b.Kn)(l)&&void 0!==l.name&&e.component(l.name,l)})),void 0!==l.directives&&Object.values(l.directives).forEach((l=>{!0===(0,b.Kn)(l)&&void 0!==l.name&&e.directive(l.name,l)})),void 0!==l.plugins&&y(C,Object.values(l.plugins).filter((e=>"function"===typeof e.install&&!1===x.includes(e)))),!0===t.uX.value&&(C.$q.onSSRHydrated=()=>{C.onSSRHydrated.forEach((e=>{e()})),C.$q.onSSRHydrated=()=>{}})}const B=function(e,l={}){const C={version:"2.12.6"};!1===V.Uf?(void 0!==l.config&&Object.assign(V.w6,l.config),C.config={...V.w6},(0,V.tP)()):C.config=l.config||{},A(e,l,{parentApp:e,$q:C,lang:l.lang,iconSet:l.iconSet,onSSRHydrated:[]})}},33558:(e,l,C)=>{"use strict";C.d(l,{Z:()=>d});var r=C(74124);const t={isoName:"en-US",nativeName:"English (US)",label:{clear:"Clear",ok:"OK",cancel:"Cancel",close:"Close",set:"Set",select:"Select",reset:"Reset",remove:"Remove",update:"Update",create:"Create",search:"Search",filter:"Filter",refresh:"Refresh",expand:e=>e?`Expand "${e}"`:"Expand",collapse:e=>e?`Collapse "${e}"`:"Collapse"},date:{days:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),daysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),firstDayOfWeek:0,format24h:!1,pluralDay:"days"},table:{noData:"No data available",noResults:"No matching records found",loading:"Loading...",selectedRecords:e=>1===e?"1 record selected.":(0===e?"No":e)+" records selected.",recordsPerPage:"Records per page:",allRows:"All",pagination:(e,l,C)=>e+"-"+l+" of "+C,columns:"Columns"},editor:{url:"URL",bold:"Bold",italic:"Italic",strikethrough:"Strikethrough",underline:"Underline",unorderedList:"Unordered List",orderedList:"Ordered List",subscript:"Subscript",superscript:"Superscript",hyperlink:"Hyperlink",toggleFullscreen:"Toggle Fullscreen",quote:"Quote",left:"Left align",center:"Center align",right:"Right align",justify:"Justify align",print:"Print",outdent:"Decrease indentation",indent:"Increase indentation",removeFormat:"Remove formatting",formatting:"Formatting",fontSize:"Font Size",align:"Align",hr:"Insert Horizontal Rule",undo:"Undo",redo:"Redo",heading1:"Heading 1",heading2:"Heading 2",heading3:"Heading 3",heading4:"Heading 4",heading5:"Heading 5",heading6:"Heading 6",paragraph:"Paragraph",code:"Code",size1:"Very small",size2:"A bit small",size3:"Normal",size4:"Medium-large",size5:"Big",size6:"Very big",size7:"Maximum",defaultFont:"Default Font",viewSource:"View Source"},tree:{noNodes:"No nodes available",noResults:"No matching nodes found"}};function o(){const e=!0===Array.isArray(navigator.languages)&&0!==navigator.languages.length?navigator.languages[0]:navigator.language;if("string"===typeof e)return e.split(/[-_]/).map(((e,l)=>0===l?e.toLowerCase():l>1||e.length<4?e.toUpperCase():e[0].toUpperCase()+e.slice(1).toLowerCase())).join("-")}const i=(0,r.Z)({__langPack:{}},{getLocale:o,set(e=t,l){const C={...e,rtl:!0===e.rtl,getLocale:o};if(C.set=i.set,void 0===i.__langConfig||!0!==i.__langConfig.noHtmlAttrs){const e=document.documentElement;e.setAttribute("dir",!0===C.rtl?"rtl":"ltr"),e.setAttribute("lang",C.isoName)}Object.assign(i.__langPack,C),i.props=C,i.isoName=C.isoName,i.nativeName=C.nativeName},install({$q:e,lang:l,ssrContext:C}){e.lang=i.__langPack,i.__langConfig=e.config.lang,!0===this.__installed?void 0!==l&&this.set(l):this.set(l||t)}}),d=i},6827:(e,l,C)=>{"use strict";C.d(l,{Z:()=>A});C(69665);var r=C(60499),t=C(59835),o=C(61957),i=C(61357),d=C(22857),n=C(68879),c=C(13902),u=C(65987),a=(C(91384),C(56669)),p=C(87451),f=C(4680);let s=0;const v={},h={},L={},g={},Z=/^\s*$/,w=[],M=["top-left","top-right","bottom-left","bottom-right","top","bottom","left","right","center"],m=["top-left","top-right","bottom-left","bottom-right"],H={positive:{icon:e=>e.iconSet.type.positive,color:"positive"},negative:{icon:e=>e.iconSet.type.negative,color:"negative"},warning:{icon:e=>e.iconSet.type.warning,color:"warning",textColor:"dark"},info:{icon:e=>e.iconSet.type.info,color:"info"},ongoing:{group:!1,timeout:0,spinner:!0,color:"grey-8"}};function V(e,l,C){if(!e)return k("parameter required");let t;const o={textColor:"white"};if(!0!==e.ignoreDefaults&&Object.assign(o,v),!1===(0,f.Kn)(e)&&(o.type&&Object.assign(o,H[o.type]),e={message:e}),Object.assign(o,H[e.type||o.type],e),"function"===typeof o.icon&&(o.icon=o.icon(l)),o.spinner?(!0===o.spinner&&(o.spinner=c.Z),o.spinner=(0,r.Xl)(o.spinner)):o.spinner=!1,o.meta={hasMedia:Boolean(!1!==o.spinner||o.icon||o.avatar),hasText:x(o.message)||x(o.caption)},o.position){if(!1===M.includes(o.position))return k("wrong position",e)}else o.position="bottom";if(void 0===o.timeout)o.timeout=5e3;else{const l=parseInt(o.timeout,10);if(isNaN(l)||l<0)return k("wrong timeout",e);o.timeout=l}0===o.timeout?o.progress=!1:!0===o.progress&&(o.meta.progressClass="q-notification__progress"+(o.progressClass?` ${o.progressClass}`:""),o.meta.progressStyle={animationDuration:`${o.timeout+1e3}ms`});const i=(!0===Array.isArray(e.actions)?e.actions:[]).concat(!0!==e.ignoreDefaults&&!0===Array.isArray(v.actions)?v.actions:[]).concat(void 0!==H[e.type]&&!0===Array.isArray(H[e.type].actions)?H[e.type].actions:[]),{closeBtn:d}=o;if(d&&i.push({label:"string"===typeof d?d:l.lang.label.close}),o.actions=i.map((({handler:e,noDismiss:l,...C})=>({flat:!0,...C,onClick:"function"===typeof e?()=>{e(),!0!==l&&n()}:()=>{n()}}))),void 0===o.multiLine&&(o.multiLine=o.actions.length>1),Object.assign(o.meta,{class:"q-notification row items-stretch q-notification--"+(!0===o.multiLine?"multi-line":"standard")+(void 0!==o.color?` bg-${o.color}`:"")+(void 0!==o.textColor?` text-${o.textColor}`:"")+(void 0!==o.classes?` ${o.classes}`:""),wrapperClass:"q-notification__wrapper col relative-position border-radius-inherit "+(!0===o.multiLine?"column no-wrap justify-center":"row items-center"),contentClass:"q-notification__content row items-center"+(!0===o.multiLine?"":" col"),leftClass:!0===o.meta.hasText?"additional":"single",attrs:{role:"alert",...o.attrs}}),!1===o.group?(o.group=void 0,o.meta.group=void 0):(void 0!==o.group&&!0!==o.group||(o.group=[o.message,o.caption,o.multiline].concat(o.actions.map((e=>`${e.label}*${e.icon}`))).join("|")),o.meta.group=o.group+"|"+o.position),0===o.actions.length?o.actions=void 0:o.meta.actionsClass="q-notification__actions row items-center "+(!0===o.multiLine?"justify-end":"col-auto")+(!0===o.meta.hasMedia?" q-notification__actions--with-media":""),void 0!==C){C.notif.meta.timer&&(clearTimeout(C.notif.meta.timer),C.notif.meta.timer=void 0),o.meta.uid=C.notif.meta.uid;const e=L[o.position].value.indexOf(C.notif);L[o.position].value[e]=o}else{const l=h[o.meta.group];if(void 0===l){if(o.meta.uid=s++,o.meta.badge=1,-1!==["left","right","center"].indexOf(o.position))L[o.position].value.splice(Math.floor(L[o.position].value.length/2),0,o);else{const e=o.position.indexOf("top")>-1?"unshift":"push";L[o.position].value[e](o)}void 0!==o.group&&(h[o.meta.group]=o)}else{if(l.meta.timer&&(clearTimeout(l.meta.timer),l.meta.timer=void 0),void 0!==o.badgePosition){if(!1===m.includes(o.badgePosition))return k("wrong badgePosition",e)}else o.badgePosition="top-"+(o.position.indexOf("left")>-1?"right":"left");o.meta.uid=l.meta.uid,o.meta.badge=l.meta.badge+1,o.meta.badgeClass=`q-notification__badge q-notification__badge--${o.badgePosition}`+(void 0!==o.badgeColor?` bg-${o.badgeColor}`:"")+(void 0!==o.badgeTextColor?` text-${o.badgeTextColor}`:"")+(o.badgeClass?` ${o.badgeClass}`:"");const C=L[o.position].value.indexOf(l);L[o.position].value[C]=h[o.meta.group]=o}}const n=()=>{b(o),t=void 0};return o.timeout>0&&(o.meta.timer=setTimeout((()=>{o.meta.timer=void 0,n()}),o.timeout+1e3)),void 0!==o.group?l=>{void 0!==l?k("trying to update a grouped one which is forbidden",e):n()}:(t={dismiss:n,config:e,notif:o},void 0===C?e=>{if(void 0!==t)if(void 0===e)t.dismiss();else{const C=Object.assign({},t.config,e,{group:!1,position:o.position});V(C,l,t)}}:void Object.assign(C,t))}function b(e){e.meta.timer&&(clearTimeout(e.meta.timer),e.meta.timer=void 0);const l=L[e.position].value.indexOf(e);if(-1!==l){void 0!==e.group&&delete h[e.meta.group];const C=w[""+e.meta.uid];if(C){const{width:e,height:l}=getComputedStyle(C);C.style.left=`${C.offsetLeft}px`,C.style.width=e,C.style.height=l}L[e.position].value.splice(l,1),"function"===typeof e.onDismiss&&e.onDismiss()}}function x(e){return void 0!==e&&null!==e&&!0!==Z.test(e)}function k(e,l){return console.error(`Notify: ${e}`,l),!1}function y(){return(0,u.L)({name:"QNotifications",devtools:{hide:!0},setup(){return()=>(0,t.h)("div",{class:"q-notifications"},M.map((e=>(0,t.h)(o.W3,{key:e,class:g[e],tag:"div",name:`q-notification--${e}`},(()=>L[e].value.map((e=>{const l=e.meta,C=[];if(!0===l.hasMedia&&(!1!==e.spinner?C.push((0,t.h)(e.spinner,{class:"q-notification__spinner q-notification__spinner--"+l.leftClass,color:e.spinnerColor,size:e.spinnerSize})):e.icon?C.push((0,t.h)(d.Z,{class:"q-notification__icon q-notification__icon--"+l.leftClass,name:e.icon,color:e.iconColor,size:e.iconSize,role:"img"})):e.avatar&&C.push((0,t.h)(i.Z,{class:"q-notification__avatar q-notification__avatar--"+l.leftClass},(()=>(0,t.h)("img",{src:e.avatar,"aria-hidden":"true"}))))),!0===l.hasText){let l;const r={class:"q-notification__message col"};if(!0===e.html)r.innerHTML=e.caption?`
${e.message}
${e.caption}
`:e.message;else{const C=[e.message];l=e.caption?[(0,t.h)("div",C),(0,t.h)("div",{class:"q-notification__caption"},[e.caption])]:C}C.push((0,t.h)("div",r,l))}const r=[(0,t.h)("div",{class:l.contentClass},C)];return!0===e.progress&&r.push((0,t.h)("div",{key:`${l.uid}|p|${l.badge}`,class:l.progressClass,style:l.progressStyle})),void 0!==e.actions&&r.push((0,t.h)("div",{class:l.actionsClass},e.actions.map((e=>(0,t.h)(n.Z,e))))),l.badge>1&&r.push((0,t.h)("div",{key:`${l.uid}|${l.badge}`,class:e.meta.badgeClass,style:e.badgeStyle},[l.badge])),(0,t.h)("div",{ref:e=>{w[""+l.uid]=e},key:l.uid,class:l.class,...l.attrs},[(0,t.h)("div",{class:l.wrapperClass},r)])})))))))}})}const A={setDefaults(e){!0===(0,f.Kn)(e)&&Object.assign(v,e)},registerType(e,l){!0===(0,f.Kn)(l)&&(H[e]=l)},install({$q:e,parentApp:l}){if(e.notify=this.create=l=>V(l,e),e.notify.setDefaults=this.setDefaults,e.notify.registerType=this.registerType,void 0!==e.config.notify&&this.setDefaults(e.config.notify),!0!==this.__installed){M.forEach((e=>{L[e]=(0,r.iH)([]);const l=!0===["left","center","right"].includes(e)?"center":e.indexOf("top")>-1?"top":"bottom",C=e.indexOf("left")>-1?"start":e.indexOf("right")>-1?"end":"center",t=["left","right"].includes(e)?`items-${"left"===e?"start":"end"} justify-center`:"center"===e?"flex-center":`items-${C}`;g[e]=`q-notifications__list q-notifications__list--${l} fixed column no-wrap ${t}`}));const e=(0,a.q_)("q-notify");(0,p.$)(y(),l).mount(e)}}}},47506:(e,l,C)=>{"use strict";C.d(l,{ZP:()=>L,aG:()=>i,client:()=>v,uX:()=>o});C(69665);var r=C(60499),t=C(43251);const o=(0,r.iH)(!1);let i,d=!1;function n(e,l){const C=/(edg|edge|edga|edgios)\/([\w.]+)/.exec(e)||/(opr)[\/]([\w.]+)/.exec(e)||/(vivaldi)[\/]([\w.]+)/.exec(e)||/(chrome|crios)[\/]([\w.]+)/.exec(e)||/(version)(applewebkit)[\/]([\w.]+).*(safari)[\/]([\w.]+)/.exec(e)||/(webkit)[\/]([\w.]+).*(version)[\/]([\w.]+).*(safari)[\/]([\w.]+)/.exec(e)||/(firefox|fxios)[\/]([\w.]+)/.exec(e)||/(webkit)[\/]([\w.]+)/.exec(e)||/(opera)(?:.*version|)[\/]([\w.]+)/.exec(e)||[];return{browser:C[5]||C[3]||C[1]||"",version:C[2]||C[4]||"0",versionNumber:C[4]||C[2]||"0",platform:l[0]||""}}function c(e){return/(ipad)/.exec(e)||/(ipod)/.exec(e)||/(windows phone)/.exec(e)||/(iphone)/.exec(e)||/(kindle)/.exec(e)||/(silk)/.exec(e)||/(android)/.exec(e)||/(win)/.exec(e)||/(mac)/.exec(e)||/(linux)/.exec(e)||/(cros)/.exec(e)||/(playbook)/.exec(e)||/(bb)/.exec(e)||/(blackberry)/.exec(e)||[]}const u="ontouchstart"in window||window.navigator.maxTouchPoints>0;function a(e){i={is:{...e}},delete e.mac,delete e.desktop;const l=Math.min(window.innerHeight,window.innerWidth)>414?"ipad":"iphone";Object.assign(e,{mobile:!0,ios:!0,platform:l,[l]:!0})}function p(e){const l=e.toLowerCase(),C=c(l),r=n(l,C),t={};r.browser&&(t[r.browser]=!0,t.version=r.version,t.versionNumber=parseInt(r.versionNumber,10)),r.platform&&(t[r.platform]=!0);const o=t.android||t.ios||t.bb||t.blackberry||t.ipad||t.iphone||t.ipod||t.kindle||t.playbook||t.silk||t["windows phone"];return!0===o||l.indexOf("mobile")>-1?(t.mobile=!0,t.edga||t.edgios?(t.edge=!0,r.browser="edge"):t.crios?(t.chrome=!0,r.browser="chrome"):t.fxios&&(t.firefox=!0,r.browser="firefox")):t.desktop=!0,(t.ipod||t.ipad||t.iphone)&&(t.ios=!0),t["windows phone"]&&(t.winphone=!0,delete t["windows phone"]),(t.chrome||t.opr||t.safari||t.vivaldi||!0===t.mobile&&!0!==t.ios&&!0!==o)&&(t.webkit=!0),t.edg&&(r.browser="edgechromium",t.edgeChromium=!0),(t.safari&&t.blackberry||t.bb)&&(r.browser="blackberry",t.blackberry=!0),t.safari&&t.playbook&&(r.browser="playbook",t.playbook=!0),t.opr&&(r.browser="opera",t.opera=!0),t.safari&&t.android&&(r.browser="android",t.android=!0),t.safari&&t.kindle&&(r.browser="kindle",t.kindle=!0),t.safari&&t.silk&&(r.browser="silk",t.silk=!0),t.vivaldi&&(r.browser="vivaldi",t.vivaldi=!0),t.name=r.browser,t.platform=r.platform,l.indexOf("electron")>-1?t.electron=!0:document.location.href.indexOf("-extension://")>-1?t.bex=!0:(void 0!==window.Capacitor?(t.capacitor=!0,t.nativeMobile=!0,t.nativeMobileWrapper="capacitor"):void 0===window._cordovaNative&&void 0===window.cordova||(t.cordova=!0,t.nativeMobile=!0,t.nativeMobileWrapper="cordova"),!0===u&&!0===t.mac&&(!0===t.desktop&&!0===t.safari||!0===t.nativeMobile&&!0!==t.android&&!0!==t.ios&&!0!==t.ipad)&&a(t)),t}const f=navigator.userAgent||navigator.vendor||window.opera,s={has:{touch:!1,webStorage:!1},within:{iframe:!1}},v={userAgent:f,is:p(f),has:{touch:u},within:{iframe:window.self!==window.top}},h={install(e){const{$q:l}=e;!0===o.value?(e.onSSRHydrated.push((()=>{Object.assign(l.platform,v),o.value=!1,i=void 0})),l.platform=(0,r.qj)(this)):l.platform=this}};{let e;(0,t.g)(v.has,"webStorage",(()=>{if(void 0!==e)return e;try{if(window.localStorage)return e=!0,!0}catch(l){}return e=!1,!1})),d=!0===v.is.ios&&-1===window.navigator.vendor.toLowerCase().indexOf("apple"),!0===o.value?Object.assign(h,v,i,s):Object.assign(h,v)}const L=h},60899:(e,l,C)=>{"use strict";function r(e,l=250,C){let r=null;function t(){const t=arguments,o=()=>{r=null,!0!==C&&e.apply(this,t)};null!==r?clearTimeout(r):!0===C&&e.apply(this,t),r=setTimeout(o,l)}return t.cancel=()=>{null!==r&&clearTimeout(r)},t}C.d(l,{Z:()=>r})},70223:(e,l,C)=>{"use strict";C.d(l,{iv:()=>t,mY:()=>i,sb:()=>o});var r=C(60499);function t(e,l){const C=e.style;for(const r in l)C[r]=l[r]}function o(e){if(void 0===e||null===e)return;if("string"===typeof e)try{return document.querySelector(e)||void 0}catch(C){return}const l=(0,r.SU)(e);return l?l.$el||l:void 0}function i(e,l){if(void 0===e||null===e||!0===e.contains(l))return!0;for(let C=e.nextElementSibling;null!==C;C=C.nextElementSibling)if(C.contains(l))return!0;return!1}},91384:(e,l,C)=>{"use strict";C.d(l,{AZ:()=>d,FK:()=>i,Jf:()=>a,M0:()=>p,NS:()=>u,X$:()=>c,ZT:()=>t,du:()=>o,listenOpts:()=>r,sT:()=>n,ul:()=>f});C(69665);const r={hasPassive:!1,passiveCapture:!0,notPassiveCapture:!0};try{const e=Object.defineProperty({},"passive",{get(){Object.assign(r,{hasPassive:!0,passive:{passive:!0},notPassive:{passive:!1},passiveCapture:{passive:!0,capture:!0},notPassiveCapture:{passive:!1,capture:!0}})}});window.addEventListener("qtest",null,e),window.removeEventListener("qtest",null,e)}catch(s){}function t(){}function o(e){return 0===e.button}function i(e){return e.touches&&e.touches[0]?e=e.touches[0]:e.changedTouches&&e.changedTouches[0]?e=e.changedTouches[0]:e.targetTouches&&e.targetTouches[0]&&(e=e.targetTouches[0]),{top:e.clientY,left:e.clientX}}function d(e){if(e.path)return e.path;if(e.composedPath)return e.composedPath();const l=[];let C=e.target;while(C){if(l.push(C),"HTML"===C.tagName)return l.push(document),l.push(window),l;C=C.parentElement}}function n(e){e.stopPropagation()}function c(e){!1!==e.cancelable&&e.preventDefault()}function u(e){!1!==e.cancelable&&e.preventDefault(),e.stopPropagation()}function a(e,l){if(void 0===e||!0===l&&!0===e.__dragPrevented)return;const C=!0===l?e=>{e.__dragPrevented=!0,e.addEventListener("dragstart",c,r.notPassiveCapture)}:e=>{delete e.__dragPrevented,e.removeEventListener("dragstart",c,r.notPassiveCapture)};e.querySelectorAll("a, img").forEach(C)}function p(e,l,C){const t=`__q_${l}_evt`;e[t]=void 0!==e[t]?e[t].concat(C):C,C.forEach((l=>{l[0].addEventListener(l[1],e[l[2]],r[l[3]])}))}function f(e,l){const C=`__q_${l}_evt`;void 0!==e[C]&&(e[C].forEach((l=>{l[0].removeEventListener(l[1],e[l[2]],r[l[3]])})),e[C]=void 0)}},30321:(e,l,C)=>{"use strict";C.d(l,{Uz:()=>i,rB:()=>t,vX:()=>o});const r=["B","KB","MB","GB","TB","PB"];function t(e){let l=0;while(parseInt(e,10)>=1024&&l{"use strict";C.d(l,{J_:()=>o,Kn:()=>t,hj:()=>i,xb:()=>r});C(83122);function r(e,l){if(e===l)return!0;if(null!==e&&null!==l&&"object"===typeof e&&"object"===typeof l){if(e.constructor!==l.constructor)return!1;let C,t;if(e.constructor===Array){if(C=e.length,C!==l.length)return!1;for(t=C;0!==t--;)if(!0!==r(e[t],l[t]))return!1;return!0}if(e.constructor===Map){if(e.size!==l.size)return!1;let C=e.entries();t=C.next();while(!0!==t.done){if(!0!==l.has(t.value[0]))return!1;t=C.next()}C=e.entries(),t=C.next();while(!0!==t.done){if(!0!==r(t.value[1],l.get(t.value[0])))return!1;t=C.next()}return!0}if(e.constructor===Set){if(e.size!==l.size)return!1;const C=e.entries();t=C.next();while(!0!==t.done){if(!0!==l.has(t.value[0]))return!1;t=C.next()}return!0}if(null!=e.buffer&&e.buffer.constructor===ArrayBuffer){if(C=e.length,C!==l.length)return!1;for(t=C;0!==t--;)if(e[t]!==l[t])return!1;return!0}if(e.constructor===RegExp)return e.source===l.source&&e.flags===l.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===l.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===l.toString();const o=Object.keys(e).filter((l=>void 0!==e[l]));if(C=o.length,C!==Object.keys(l).filter((e=>void 0!==l[e])).length)return!1;for(t=C;0!==t--;){const C=o[t];if(!0!==r(e[C],l[C]))return!1}return!0}return e!==e&&l!==l}function t(e){return null!==e&&"object"===typeof e&&!0!==Array.isArray(e)}function o(e){return"[object Date]"===Object.prototype.toString.call(e)}function i(e){return"number"===typeof e&&isFinite(e)}},33752:(e,l,C)=>{"use strict";C.d(l,{Z:()=>n});C(69665);var r=C(47506),t=C(91384),o=C(4680);function i(e){const l=Object.assign({noopener:!0},e),C=[];for(const r in l){const e=l[r];!0===e?C.push(r):((0,o.hj)(e)||"string"===typeof e&&""!==e)&&C.push(r+"="+e)}return C.join(",")}function d(e,l,C){let t=window.open;if(!0===r.ZP.is.cordova)if(void 0!==cordova&&void 0!==cordova.InAppBrowser&&void 0!==cordova.InAppBrowser.open)t=cordova.InAppBrowser.open;else if(void 0!==navigator&&void 0!==navigator.app)return navigator.app.loadUrl(e,{openExternal:!0});const o=t(e,"_blank",i(C));if(o)return r.ZP.is.desktop&&o.focus(),o;l&&l()}const n=(e,l,C)=>{if(!0!==r.ZP.is.ios||void 0===window.SafariViewController)return d(e,l,C);window.SafariViewController.isAvailable((r=>{r?window.SafariViewController.show({url:e},t.ZT,l):d(e,l,C)}))}},49092:(e,l,C)=>{"use strict";C.d(l,{D:()=>u,m:()=>c});C(69665);var r=C(91384),t=C(2909);let o=null;const{notPassiveCapture:i}=r.listenOpts,d=[];function n(e){null!==o&&(clearTimeout(o),o=null);const l=e.target;if(void 0===l||8===l.nodeType||!0===l.classList.contains("no-pointer-events"))return;let C=t.Q$.length-1;while(C>=0){const e=t.Q$[C].$;if("QTooltip"!==e.type.name){if("QDialog"!==e.type.name)break;if(!0!==e.props.seamless)return;C--}else C--}for(let r=d.length-1;r>=0;r--){const C=d[r];if(null!==C.anchorEl.value&&!1!==C.anchorEl.value.contains(l)||l!==document.body&&(null===C.innerRef.value||!1!==C.innerRef.value.contains(l)))return;e.qClickOutside=!0,C.onClickOutside(e)}}function c(e){d.push(e),1===d.length&&(document.addEventListener("mousedown",n,i),document.addEventListener("touchstart",n,i))}function u(e){const l=d.findIndex((l=>l===e));l>-1&&(d.splice(l,1),0===d.length&&(null!==o&&(clearTimeout(o),o=null),document.removeEventListener("mousedown",n,i),document.removeEventListener("touchstart",n,i)))}},65987:(e,l,C)=>{"use strict";C.d(l,{L:()=>o,f:()=>i});var r=C(60499),t=C(59835);const o=e=>(0,r.Xl)((0,t.aZ)(e)),i=e=>(0,r.Xl)(e)},74124:(e,l,C)=>{"use strict";C.d(l,{Z:()=>o});var r=C(60499),t=C(43251);const o=(e,l)=>{const C=(0,r.qj)(e);for(const r in e)(0,t.g)(l,r,(()=>C[r]),(e=>{C[r]=e}));return l}},16532:(e,l,C)=>{"use strict";C.d(l,{c:()=>a,k:()=>p});C(69665);var r=C(47506),t=C(61705);const o=[];let i;function d(e){i=27===e.keyCode}function n(){!0===i&&(i=!1)}function c(e){!0===i&&(i=!1,!0===(0,t.So)(e,27)&&o[o.length-1](e))}function u(e){window[e]("keydown",d),window[e]("blur",n),window[e]("keyup",c),i=!1}function a(e){!0===r.client.is.desktop&&(o.push(e),1===o.length&&u("addEventListener"))}function p(e){const l=o.indexOf(e);l>-1&&(o.splice(l,1),0===o.length&&u("removeEventListener"))}},17026:(e,l,C)=>{"use strict";C.d(l,{YX:()=>i,fP:()=>c,jd:()=>n,xF:()=>d});C(69665);let r=[],t=[];function o(e){t=t.filter((l=>l!==e))}function i(e){o(e),t.push(e)}function d(e){o(e),0===t.length&&0!==r.length&&(r[r.length-1](),r=[])}function n(e){0===t.length?e():r.push(e)}function c(e){r=r.filter((l=>l!==e))}},4173:(e,l,C)=>{"use strict";C.d(l,{H:()=>d,i:()=>i});C(69665);var r=C(47506);const t=[];function o(e){t[t.length-1](e)}function i(e){!0===r.client.is.desktop&&(t.push(e),1===t.length&&document.body.addEventListener("focusin",o))}function d(e){const l=t.indexOf(e);l>-1&&(t.splice(l,1),0===t.length&&document.body.removeEventListener("focusin",o))}},27495:(e,l,C)=>{"use strict";C.d(l,{Uf:()=>t,tP:()=>o,w6:()=>r});const r={};let t=!1;function o(){t=!0}},56669:(e,l,C)=>{"use strict";C.d(l,{pB:()=>c,q_:()=>n});C(69665);var r=C(27495);const t=[],o=[];let i=1,d=document.body;function n(e,l){const C=document.createElement("div");if(C.id=void 0!==l?`q-portal--${l}--${i++}`:e,void 0!==r.w6.globalNodes){const e=r.w6.globalNodes.class;void 0!==e&&(C.className=e)}return d.appendChild(C),t.push(C),o.push(l),C}function c(e){const l=t.indexOf(e);t.splice(l,1),o.splice(l,1),e.remove()}},43251:(e,l,C)=>{"use strict";function r(e,l,C,r){return Object.defineProperty(e,l,{get:C,set:r,enumerable:!0}),e}function t(e,l){for(const C in l)r(e,C,l[C]);return e}C.d(l,{K:()=>t,g:()=>r})},61705:(e,l,C)=>{"use strict";C.d(l,{So:()=>i,Wm:()=>o,ZK:()=>t});let r=!1;function t(e){r=!0===e.isComposing}function o(e){return!0===r||e!==Object(e)||!0===e.isComposing||!0===e.qKeyEvent}function i(e,l){return!0!==o(e)&&[].concat(l).includes(e.keyCode)}},2909:(e,l,C)=>{"use strict";C.d(l,{AH:()=>i,Q$:()=>t,S7:()=>d,je:()=>o});var r=C(52046);const t=[];function o(e){return t.find((l=>null!==l.contentEl&&l.contentEl.contains(e)))}function i(e,l){do{if("QMenu"===e.$options.name){if(e.hide(l),!0===e.$props.separateClosePopup)return(0,r.O2)(e)}else if(!0===e.__qPortal){const C=(0,r.O2)(e);return void 0!==C&&"QPopupProxy"===C.$options.name?(e.hide(l),C):e}e=(0,r.O2)(e)}while(void 0!==e&&null!==e)}function d(e,l,C){while(0!==C&&void 0!==e&&null!==e){if(!0===e.__qPortal){if(C--,"QMenu"===e.$options.name){e=i(e,l);continue}e.hide(l)}e=(0,r.O2)(e)}}},49388:(e,l,C)=>{"use strict";C.d(l,{$:()=>d,io:()=>n,li:()=>u,wq:()=>v});var r=C(43701),t=C(47506);let o,i;function d(e){const l=e.split(" ");return 2===l.length&&(!0!==["top","center","bottom"].includes(l[0])?(console.error("Anchor/Self position must start with one of top/center/bottom"),!1):!0===["left","middle","right","start","end"].includes(l[1])||(console.error("Anchor/Self position must end with one of left/middle/right/start/end"),!1))}function n(e){return!e||2===e.length&&("number"===typeof e[0]&&"number"===typeof e[1])}const c={"start#ltr":"left","start#rtl":"right","end#ltr":"right","end#rtl":"left"};function u(e,l){const C=e.split(" ");return{vertical:C[0],horizontal:c[`${C[1]}#${!0===l?"rtl":"ltr"}`]}}function a(e,l){let{top:C,left:r,right:t,bottom:o,width:i,height:d}=e.getBoundingClientRect();return void 0!==l&&(C-=l[1],r-=l[0],o+=l[1],t+=l[0],i+=l[0],d+=l[1]),{top:C,bottom:o,height:d,left:r,right:t,width:i,middle:r+(t-r)/2,center:C+(o-C)/2}}function p(e,l,C){let{top:r,left:t}=e.getBoundingClientRect();return r+=l.top,t+=l.left,void 0!==C&&(r+=C[1],t+=C[0]),{top:r,bottom:r+1,height:1,left:t,right:t+1,width:1,middle:t,center:r}}function f(e,l){return{top:0,center:l/2,bottom:l,left:0,middle:e/2,right:e}}function s(e,l,C,r){return{top:e[C.vertical]-l[r.vertical],left:e[C.horizontal]-l[r.horizontal]}}function v(e,l=0){if(null===e.targetEl||null===e.anchorEl||l>5)return;if(0===e.targetEl.offsetHeight||0===e.targetEl.offsetWidth)return void setTimeout((()=>{v(e,l+1)}),10);const{targetEl:C,offset:r,anchorEl:d,anchorOrigin:n,selfOrigin:c,absoluteOffset:u,fit:L,cover:g,maxHeight:Z,maxWidth:w}=e;if(!0===t.client.is.ios&&void 0!==window.visualViewport){const e=document.body.style,{offsetLeft:l,offsetTop:C}=window.visualViewport;l!==o&&(e.setProperty("--q-pe-left",l+"px"),o=l),C!==i&&(e.setProperty("--q-pe-top",C+"px"),i=C)}const{scrollLeft:M,scrollTop:m}=C,H=void 0===u?a(d,!0===g?[0,0]:r):p(d,u,r);Object.assign(C.style,{top:0,left:0,minWidth:null,minHeight:null,maxWidth:w||"100vw",maxHeight:Z||"100vh",visibility:"visible"});const{offsetWidth:V,offsetHeight:b}=C,{elWidth:x,elHeight:k}=!0===L||!0===g?{elWidth:Math.max(H.width,V),elHeight:!0===g?Math.max(H.height,b):b}:{elWidth:V,elHeight:b};let y={maxWidth:w,maxHeight:Z};!0!==L&&!0!==g||(y.minWidth=H.width+"px",!0===g&&(y.minHeight=H.height+"px")),Object.assign(C.style,y);const A=f(x,k);let B=s(H,A,n,c);if(void 0===u||void 0===r)h(B,H,A,n,c);else{const{top:e,left:l}=B;h(B,H,A,n,c);let C=!1;if(B.top!==e){C=!0;const e=2*r[1];H.center=H.top-=e,H.bottom-=e+2}if(B.left!==l){C=!0;const e=2*r[0];H.middle=H.left-=e,H.right-=e+2}!0===C&&(B=s(H,A,n,c),h(B,H,A,n,c))}y={top:B.top+"px",left:B.left+"px"},void 0!==B.maxHeight&&(y.maxHeight=B.maxHeight+"px",H.height>B.maxHeight&&(y.minHeight=y.maxHeight)),void 0!==B.maxWidth&&(y.maxWidth=B.maxWidth+"px",H.width>B.maxWidth&&(y.minWidth=y.maxWidth)),Object.assign(C.style,y),C.scrollTop!==m&&(C.scrollTop=m),C.scrollLeft!==M&&(C.scrollLeft=M)}function h(e,l,C,t,o){const i=C.bottom,d=C.right,n=(0,r.np)(),c=window.innerHeight-n,u=document.body.clientWidth;if(e.top<0||e.top+i>c)if("center"===o.vertical)e.top=l[t.vertical]>c/2?Math.max(0,c-i):0,e.maxHeight=Math.min(i,c);else if(l[t.vertical]>c/2){const C=Math.min(c,"center"===t.vertical?l.center:t.vertical===o.vertical?l.bottom:l.top);e.maxHeight=Math.min(i,C),e.top=Math.max(0,C-i)}else e.top=Math.max(0,"center"===t.vertical?l.center:t.vertical===o.vertical?l.top:l.bottom),e.maxHeight=Math.min(i,c-e.top);if(e.left<0||e.left+d>u)if(e.maxWidth=Math.min(d,u),"middle"===o.horizontal)e.left=l[t.horizontal]>u/2?Math.max(0,u-d):0;else if(l[t.horizontal]>u/2){const C=Math.min(u,"middle"===t.horizontal?l.middle:t.horizontal===o.horizontal?l.right:l.left);e.maxWidth=Math.min(d,C),e.left=Math.max(0,C-e.maxWidth)}else e.left=Math.max(0,"middle"===t.horizontal?l.middle:t.horizontal===o.horizontal?l.left:l.right),e.maxWidth=Math.min(d,u-e.left)}["left","middle","right"].forEach((e=>{c[`${e}#ltr`]=e,c[`${e}#rtl`]=e}))},22026:(e,l,C)=>{"use strict";C.d(l,{Bl:()=>o,Jl:()=>n,KR:()=>t,pf:()=>d,vs:()=>i});var r=C(59835);function t(e,l){return void 0!==e&&e()||l}function o(e,l){if(void 0!==e){const l=e();if(void 0!==l&&null!==l)return l.slice()}return l}function i(e,l){return void 0!==e?l.concat(e()):l}function d(e,l){return void 0===e?l:void 0!==l?l.concat(e()):e()}function n(e,l,C,t,o,i){l.key=t+o;const d=(0,r.h)(e,l,C);return!0===o?(0,r.wy)(d,i()):d}},78383:(e,l,C)=>{"use strict";C.d(l,{e:()=>r});let r=!1;{const e=document.createElement("div");e.setAttribute("dir","rtl"),Object.assign(e.style,{width:"1px",height:"1px",overflow:"auto"});const l=document.createElement("div");Object.assign(l.style,{width:"1000px",height:"1px"}),document.body.appendChild(e),e.appendChild(l),e.scrollLeft=-1e3,r=e.scrollLeft>=0,e.remove()}},2589:(e,l,C)=>{"use strict";C.d(l,{M:()=>t});var r=C(47506);function t(){if(void 0!==window.getSelection){const e=window.getSelection();void 0!==e.empty?e.empty():void 0!==e.removeAllRanges&&(e.removeAllRanges(),!0!==r.ZP.is.mobile&&e.addRange(document.createRange()))}else void 0!==document.selection&&document.selection.empty()}},95439:(e,l,C)=>{"use strict";C.d(l,{Mw:()=>o,Nd:()=>d,Ng:()=>r,Xh:()=>n,YE:()=>t,qO:()=>c,vh:()=>i});const r="_q_",t="_q_l_",o="_q_pc_",i="_q_fo_",d="_q_tabs_",n="_q_u_",c=()=>{}},99367:(e,l,C)=>{"use strict";C.d(l,{R:()=>o,n:()=>d});const r={left:!0,right:!0,up:!0,down:!0,horizontal:!0,vertical:!0},t=Object.keys(r);function o(e){const l={};for(const C of t)!0===e[C]&&(l[C]=!0);return 0===Object.keys(l).length?r:(!0===l.horizontal?l.left=l.right=!0:!0===l.left&&!0===l.right&&(l.horizontal=!0),!0===l.vertical?l.up=l.down=!0:!0===l.up&&!0===l.down&&(l.vertical=!0),!0===l.horizontal&&!0===l.vertical&&(l.all=!0),l)}r.all=!0;const i=["INPUT","TEXTAREA"];function d(e,l){return void 0===l.event&&void 0!==e.target&&!0!==e.target.draggable&&"function"===typeof l.handler&&!1===i.includes(e.target.nodeName.toUpperCase())&&(void 0===e.qClonedBy||-1===e.qClonedBy.indexOf(l.uid))}},52046:(e,l,C)=>{"use strict";function r(e){if(Object(e.$parent)===e.$parent)return e.$parent;let{parent:l}=e.$;while(Object(l)===l){if(Object(l.proxy)===l.proxy)return l.proxy;l=l.parent}}function t(e,l){"symbol"===typeof l.type?!0===Array.isArray(l.children)&&l.children.forEach((l=>{t(e,l)})):e.add(l)}function o(e){const l=new Set;return e.forEach((e=>{t(l,e)})),Array.from(l)}function i(e){return void 0!==e.appContext.config.globalProperties.$router}function d(e){return!0===e.isUnmounted||!0===e.isDeactivated}C.d(l,{$D:()=>d,O2:()=>r,Pf:()=>o,Rb:()=>i})},43701:(e,l,C)=>{"use strict";C.d(l,{OI:()=>d,QA:()=>h,b0:()=>o,f3:()=>p,ik:()=>f,np:()=>v,u3:()=>i});var r=C(70223);const t=[null,document,document.body,document.scrollingElement,document.documentElement];function o(e,l){let C=(0,r.sb)(l);if(void 0===C){if(void 0===e||null===e)return window;C=e.closest(".scroll,.scroll-y,.overflow-auto")}return t.includes(C)?window:C}function i(e){return e===window?window.pageYOffset||window.scrollY||document.body.scrollTop||0:e.scrollTop}function d(e){return e===window?window.pageXOffset||window.scrollX||document.body.scrollLeft||0:e.scrollLeft}function n(e,l,C=0){const r=void 0===arguments[3]?performance.now():arguments[3],t=i(e);C<=0?t!==l&&u(e,l):requestAnimationFrame((o=>{const i=o-r,d=t+(l-t)/Math.max(i,C)*i;u(e,d),d!==l&&n(e,l,C-i,o)}))}function c(e,l,C=0){const r=void 0===arguments[3]?performance.now():arguments[3],t=d(e);C<=0?t!==l&&a(e,l):requestAnimationFrame((o=>{const i=o-r,d=t+(l-t)/Math.max(i,C)*i;a(e,d),d!==l&&c(e,l,C-i,o)}))}function u(e,l){e!==window?e.scrollTop=l:window.scrollTo(window.pageXOffset||window.scrollX||document.body.scrollLeft||0,l)}function a(e,l){e!==window?e.scrollLeft=l:window.scrollTo(l,window.pageYOffset||window.scrollY||document.body.scrollTop||0)}function p(e,l,C){C?n(e,l,C):u(e,l)}function f(e,l,C){C?c(e,l,C):a(e,l)}let s;function v(){if(void 0!==s)return s;const e=document.createElement("p"),l=document.createElement("div");(0,r.iv)(e,{width:"100%",height:"200px"}),(0,r.iv)(l,{position:"absolute",top:"0px",left:"0px",visibility:"hidden",width:"200px",height:"150px",overflow:"hidden"}),l.appendChild(e),document.body.appendChild(l);const C=e.offsetWidth;l.style.overflow="scroll";let t=e.offsetWidth;return C===t&&(t=l.clientWidth),l.remove(),s=C-t,s}function h(e,l=!0){return!(!e||e.nodeType!==Node.ELEMENT_NODE)&&(l?e.scrollHeight>e.clientHeight&&(e.classList.contains("scroll")||e.classList.contains("overflow-auto")||["auto","scroll"].includes(window.getComputedStyle(e)["overflow-y"])):e.scrollWidth>e.clientWidth&&(e.classList.contains("scroll")||e.classList.contains("overflow-auto")||["auto","scroll"].includes(window.getComputedStyle(e)["overflow-x"])))}},50796:(e,l,C)=>{"use strict";C.d(l,{Z:()=>n});C(25231),C(3075),C(90548),C(62279),C(2157),C(46735),C(69665);let r,t=0;const o=new Array(256);for(let c=0;c<256;c++)o[c]=(c+256).toString(16).substring(1);const i=(()=>{const e="undefined"!==typeof crypto?crypto:"undefined"!==typeof window?window.crypto||window.msCrypto:void 0;if(void 0!==e){if(void 0!==e.randomBytes)return e.randomBytes;if(void 0!==e.getRandomValues)return l=>{const C=new Uint8Array(l);return e.getRandomValues(C),C}}return e=>{const l=[];for(let C=e;C>0;C--)l.push(Math.floor(256*Math.random()));return l}})(),d=4096;function n(){(void 0===r||t+16>d)&&(t=0,r=i(d));const e=Array.prototype.slice.call(r,t,t+=16);return e[6]=15&e[6]|64,e[8]=63&e[8]|128,o[e[0]]+o[e[1]]+o[e[2]]+o[e[3]]+"-"+o[e[4]]+o[e[5]]+"-"+o[e[6]]+o[e[7]]+"-"+o[e[8]]+o[e[9]]+"-"+o[e[10]]+o[e[11]]+o[e[12]]+o[e[13]]+o[e[14]]+o[e[15]]}},71947:(e,l,C)=>{"use strict";C.d(l,{Z:()=>i});var r=C(87451),t=C(33558),o=C(72289);const i={version:"2.12.6",install:r.Z,lang:t.Z,iconSet:o.Z}},28762:(e,l,C)=>{"use strict";var r=C(66107),t=C(57545),o=TypeError;e.exports=function(e){if(r(e))return e;throw o(t(e)+" is not a function")}},29220:(e,l,C)=>{"use strict";var r=C(66107),t=String,o=TypeError;e.exports=function(e){if("object"==typeof e||r(e))return e;throw o("Can't set "+t(e)+" as a prototype")}},30616:(e,l,C)=>{"use strict";var r=C(71419),t=String,o=TypeError;e.exports=function(e){if(r(e))return e;throw o(t(e)+" is not an object")}},48389:e=>{"use strict";e.exports="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView},68086:(e,l,C)=>{"use strict";var r,t,o,i=C(48389),d=C(94133),n=C(53834),c=C(66107),u=C(71419),a=C(62924),p=C(34239),f=C(57545),s=C(64722),v=C(54076),h=C(59570),L=C(36123),g=C(27886),Z=C(16534),w=C(14103),M=C(93965),m=C(80780),H=m.enforce,V=m.get,b=n.Int8Array,x=b&&b.prototype,k=n.Uint8ClampedArray,y=k&&k.prototype,A=b&&g(b),B=x&&g(x),O=Object.prototype,F=n.TypeError,S=w("toStringTag"),P=M("TYPED_ARRAY_TAG"),_="TypedArrayConstructor",T=i&&!!Z&&"Opera"!==p(n.opera),E=!1,q={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},D={BigInt64Array:8,BigUint64Array:8},R=function(e){if(!u(e))return!1;var l=p(e);return"DataView"===l||a(q,l)||a(D,l)},N=function(e){var l=g(e);if(u(l)){var C=V(l);return C&&a(C,_)?C[_]:N(l)}},I=function(e){if(!u(e))return!1;var l=p(e);return a(q,l)||a(D,l)},$=function(e){if(I(e))return e;throw F("Target is not a typed array")},U=function(e){if(c(e)&&(!Z||L(A,e)))return e;throw F(f(e)+" is not a typed array constructor")},j=function(e,l,C,r){if(d){if(C)for(var t in q){var o=n[t];if(o&&a(o.prototype,e))try{delete o.prototype[e]}catch(i){try{o.prototype[e]=l}catch(c){}}}B[e]&&!C||v(B,e,C?l:T&&x[e]||l,r)}},z=function(e,l,C){var r,t;if(d){if(Z){if(C)for(r in q)if(t=n[r],t&&a(t,e))try{delete t[e]}catch(o){}if(A[e]&&!C)return;try{return v(A,e,C?l:T&&A[e]||l)}catch(o){}}for(r in q)t=n[r],!t||t[e]&&!C||v(t,e,l)}};for(r in q)t=n[r],o=t&&t.prototype,o?H(o)[_]=t:T=!1;for(r in D)t=n[r],o=t&&t.prototype,o&&(H(o)[_]=t);if((!T||!c(A)||A===Function.prototype)&&(A=function(){throw F("Incorrect invocation")},T))for(r in q)n[r]&&Z(n[r],A);if((!T||!B||B===O)&&(B=A.prototype,T))for(r in q)n[r]&&Z(n[r].prototype,B);if(T&&g(y)!==B&&Z(y,B),d&&!a(B,S))for(r in E=!0,h(B,S,{configurable:!0,get:function(){return u(this)?this[P]:void 0}}),q)n[r]&&s(n[r],P,r);e.exports={NATIVE_ARRAY_BUFFER_VIEWS:T,TYPED_ARRAY_TAG:E&&P,aTypedArray:$,aTypedArrayConstructor:U,exportTypedArrayMethod:j,exportTypedArrayStaticMethod:z,getTypedArrayConstructor:N,isView:R,isTypedArray:I,TypedArray:A,TypedArrayPrototype:B}},73364:(e,l,C)=>{"use strict";var r=C(8600);e.exports=function(e,l){var C=0,t=r(l),o=new e(t);while(t>C)o[C]=l[C++];return o}},67714:(e,l,C)=>{"use strict";var r=C(37447),t=C(32661),o=C(8600),i=function(e){return function(l,C,i){var d,n=r(l),c=o(n),u=t(i,c);if(e&&C!=C){while(c>u)if(d=n[u++],d!=d)return!0}else for(;c>u;u++)if((e||u in n)&&n[u]===C)return e||u||0;return!e&&-1}};e.exports={includes:i(!0),indexOf:i(!1)}},49275:(e,l,C)=>{"use strict";var r=C(16158),t=C(53972),o=C(38332),i=C(8600),d=function(e){var l=1==e;return function(C,d,n){var c,u,a=o(C),p=t(a),f=r(d,n),s=i(p);while(s-- >0)if(c=p[s],u=f(c,s,a),u)switch(e){case 0:return c;case 1:return s}return l?-1:void 0}};e.exports={findLast:d(0),findLastIndex:d(1)}},53614:(e,l,C)=>{"use strict";var r=C(94133),t=C(6555),o=TypeError,i=Object.getOwnPropertyDescriptor,d=r&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}();e.exports=d?function(e,l){if(t(e)&&!i(e,"length").writable)throw o("Cannot set read only .length");return e.length=l}:function(e,l){return e.length=l}},37579:(e,l,C)=>{"use strict";var r=C(8600);e.exports=function(e,l){for(var C=r(e),t=new l(C),o=0;o{"use strict";var r=C(8600),t=C(46675),o=RangeError;e.exports=function(e,l,C,i){var d=r(e),n=t(C),c=n<0?d+n:n;if(c>=d||c<0)throw o("Incorrect index");for(var u=new l(d),a=0;a{"use strict";var r=C(81636),t=r({}.toString),o=r("".slice);e.exports=function(e){return o(t(e),8,-1)}},34239:(e,l,C)=>{"use strict";var r=C(14130),t=C(66107),o=C(16749),i=C(14103),d=i("toStringTag"),n=Object,c="Arguments"==o(function(){return arguments}()),u=function(e,l){try{return e[l]}catch(C){}};e.exports=r?o:function(e){var l,C,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(C=u(l=n(e),d))?C:c?o(l):"Object"==(r=o(l))&&t(l.callee)?"Arguments":r}},37366:(e,l,C)=>{"use strict";var r=C(62924),t=C(71240),o=C(60863),i=C(21012);e.exports=function(e,l,C){for(var d=t(l),n=i.f,c=o.f,u=0;u{"use strict";var r=C(88814);e.exports=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},64722:(e,l,C)=>{"use strict";var r=C(94133),t=C(21012),o=C(53386);e.exports=r?function(e,l,C){return t.f(e,l,o(1,C))}:function(e,l,C){return e[l]=C,e}},53386:e=>{"use strict";e.exports=function(e,l){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:l}}},59570:(e,l,C)=>{"use strict";var r=C(92358),t=C(21012);e.exports=function(e,l,C){return C.get&&r(C.get,l,{getter:!0}),C.set&&r(C.set,l,{setter:!0}),t.f(e,l,C)}},54076:(e,l,C)=>{"use strict";var r=C(66107),t=C(21012),o=C(92358),i=C(95437);e.exports=function(e,l,C,d){d||(d={});var n=d.enumerable,c=void 0!==d.name?d.name:l;if(r(C)&&o(C,c,d),d.global)n?e[l]=C:i(l,C);else{try{d.unsafe?e[l]&&(n=!0):delete e[l]}catch(u){}n?e[l]=C:t.f(e,l,{value:C,enumerable:!1,configurable:!d.nonConfigurable,writable:!d.nonWritable})}return e}},95437:(e,l,C)=>{"use strict";var r=C(53834),t=Object.defineProperty;e.exports=function(e,l){try{t(r,e,{value:l,configurable:!0,writable:!0})}catch(C){r[e]=l}return l}},26405:(e,l,C)=>{"use strict";var r=C(57545),t=TypeError;e.exports=function(e,l){if(!delete e[l])throw t("Cannot delete property "+r(l)+" of "+r(e))}},94133:(e,l,C)=>{"use strict";var r=C(88814);e.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},30948:e=>{"use strict";var l="object"==typeof document&&document.all,C="undefined"==typeof l&&void 0!==l;e.exports={all:l,IS_HTMLDDA:C}},11657:(e,l,C)=>{"use strict";var r=C(53834),t=C(71419),o=r.document,i=t(o)&&t(o.createElement);e.exports=function(e){return i?o.createElement(e):{}}},76689:e=>{"use strict";var l=TypeError,C=9007199254740991;e.exports=function(e){if(e>C)throw l("Maximum allowed index exceeded");return e}},80322:e=>{"use strict";e.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},71418:(e,l,C)=>{"use strict";var r,t,o=C(53834),i=C(80322),d=o.process,n=o.Deno,c=d&&d.versions||n&&n.version,u=c&&c.v8;u&&(r=u.split("."),t=r[0]>0&&r[0]<4?1:+(r[0]+r[1])),!t&&i&&(r=i.match(/Edge\/(\d+)/),(!r||r[1]>=74)&&(r=i.match(/Chrome\/(\d+)/),r&&(t=+r[1]))),e.exports=t},30203:e=>{"use strict";e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},76943:(e,l,C)=>{"use strict";var r=C(53834),t=C(60863).f,o=C(64722),i=C(54076),d=C(95437),n=C(37366),c=C(42764);e.exports=function(e,l){var C,u,a,p,f,s,v=e.target,h=e.global,L=e.stat;if(u=h?r:L?r[v]||d(v,{}):(r[v]||{}).prototype,u)for(a in l){if(f=l[a],e.dontCallGetSet?(s=t(u,a),p=s&&s.value):p=u[a],C=c(h?a:v+(L?".":"#")+a,e.forced),!C&&void 0!==p){if(typeof f==typeof p)continue;n(f,p)}(e.sham||p&&p.sham)&&o(f,"sham",!0),i(u,a,f,e)}}},88814:e=>{"use strict";e.exports=function(e){try{return!!e()}catch(l){return!0}}},16158:(e,l,C)=>{"use strict";var r=C(59287),t=C(28762),o=C(99793),i=r(r.bind);e.exports=function(e,l){return t(e),void 0===l?e:o?i(e,l):function(){return e.apply(l,arguments)}}},99793:(e,l,C)=>{"use strict";var r=C(88814);e.exports=!r((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},76654:(e,l,C)=>{"use strict";var r=C(99793),t=Function.prototype.call;e.exports=r?t.bind(t):function(){return t.apply(t,arguments)}},49104:(e,l,C)=>{"use strict";var r=C(94133),t=C(62924),o=Function.prototype,i=r&&Object.getOwnPropertyDescriptor,d=t(o,"name"),n=d&&"something"===function(){}.name,c=d&&(!r||r&&i(o,"name").configurable);e.exports={EXISTS:d,PROPER:n,CONFIGURABLE:c}},65478:(e,l,C)=>{"use strict";var r=C(81636),t=C(28762);e.exports=function(e,l,C){try{return r(t(Object.getOwnPropertyDescriptor(e,l)[C]))}catch(o){}}},59287:(e,l,C)=>{"use strict";var r=C(16749),t=C(81636);e.exports=function(e){if("Function"===r(e))return t(e)}},81636:(e,l,C)=>{"use strict";var r=C(99793),t=Function.prototype,o=t.call,i=r&&t.bind.bind(o,o);e.exports=r?i:function(e){return function(){return o.apply(e,arguments)}}},97859:(e,l,C)=>{"use strict";var r=C(53834),t=C(66107),o=function(e){return t(e)?e:void 0};e.exports=function(e,l){return arguments.length<2?o(r[e]):r[e]&&r[e][l]}},37689:(e,l,C)=>{"use strict";var r=C(28762),t=C(13873);e.exports=function(e,l){var C=e[l];return t(C)?void 0:r(C)}},53834:function(e,l,C){"use strict";var r=function(e){return e&&e.Math==Math&&e};e.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof C.g&&C.g)||function(){return this}()||this||Function("return this")()},62924:(e,l,C)=>{"use strict";var r=C(81636),t=C(38332),o=r({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,l){return o(t(e),l)}},71999:e=>{"use strict";e.exports={}},26335:(e,l,C)=>{"use strict";var r=C(94133),t=C(88814),o=C(11657);e.exports=!r&&!t((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},53972:(e,l,C)=>{"use strict";var r=C(81636),t=C(88814),o=C(16749),i=Object,d=r("".split);e.exports=t((function(){return!i("z").propertyIsEnumerable(0)}))?function(e){return"String"==o(e)?d(e,""):i(e)}:i},6461:(e,l,C)=>{"use strict";var r=C(81636),t=C(66107),o=C(76081),i=r(Function.toString);t(o.inspectSource)||(o.inspectSource=function(e){return i(e)}),e.exports=o.inspectSource},80780:(e,l,C)=>{"use strict";var r,t,o,i=C(75779),d=C(53834),n=C(71419),c=C(64722),u=C(62924),a=C(76081),p=C(35315),f=C(71999),s="Object already initialized",v=d.TypeError,h=d.WeakMap,L=function(e){return o(e)?t(e):r(e,{})},g=function(e){return function(l){var C;if(!n(l)||(C=t(l)).type!==e)throw v("Incompatible receiver, "+e+" required");return C}};if(i||a.state){var Z=a.state||(a.state=new h);Z.get=Z.get,Z.has=Z.has,Z.set=Z.set,r=function(e,l){if(Z.has(e))throw v(s);return l.facade=e,Z.set(e,l),l},t=function(e){return Z.get(e)||{}},o=function(e){return Z.has(e)}}else{var w=p("state");f[w]=!0,r=function(e,l){if(u(e,w))throw v(s);return l.facade=e,c(e,w,l),l},t=function(e){return u(e,w)?e[w]:{}},o=function(e){return u(e,w)}}e.exports={set:r,get:t,has:o,enforce:L,getterFor:g}},6555:(e,l,C)=>{"use strict";var r=C(16749);e.exports=Array.isArray||function(e){return"Array"==r(e)}},20354:(e,l,C)=>{"use strict";var r=C(34239);e.exports=function(e){var l=r(e);return"BigInt64Array"==l||"BigUint64Array"==l}},66107:(e,l,C)=>{"use strict";var r=C(30948),t=r.all;e.exports=r.IS_HTMLDDA?function(e){return"function"==typeof e||e===t}:function(e){return"function"==typeof e}},42764:(e,l,C)=>{"use strict";var r=C(88814),t=C(66107),o=/#|\.prototype\./,i=function(e,l){var C=n[d(e)];return C==u||C!=c&&(t(l)?r(l):!!l)},d=i.normalize=function(e){return String(e).replace(o,".").toLowerCase()},n=i.data={},c=i.NATIVE="N",u=i.POLYFILL="P";e.exports=i},13873:e=>{"use strict";e.exports=function(e){return null===e||void 0===e}},71419:(e,l,C)=>{"use strict";var r=C(66107),t=C(30948),o=t.all;e.exports=t.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:r(e)||e===o}:function(e){return"object"==typeof e?null!==e:r(e)}},20200:e=>{"use strict";e.exports=!1},51637:(e,l,C)=>{"use strict";var r=C(97859),t=C(66107),o=C(36123),i=C(90049),d=Object;e.exports=i?function(e){return"symbol"==typeof e}:function(e){var l=r("Symbol");return t(l)&&o(l.prototype,d(e))}},8600:(e,l,C)=>{"use strict";var r=C(27302);e.exports=function(e){return r(e.length)}},92358:(e,l,C)=>{"use strict";var r=C(81636),t=C(88814),o=C(66107),i=C(62924),d=C(94133),n=C(49104).CONFIGURABLE,c=C(6461),u=C(80780),a=u.enforce,p=u.get,f=String,s=Object.defineProperty,v=r("".slice),h=r("".replace),L=r([].join),g=d&&!t((function(){return 8!==s((function(){}),"length",{value:8}).length})),Z=String(String).split("String"),w=e.exports=function(e,l,C){"Symbol("===v(f(l),0,7)&&(l="["+h(f(l),/^Symbol\(([^)]*)\)/,"$1")+"]"),C&&C.getter&&(l="get "+l),C&&C.setter&&(l="set "+l),(!i(e,"name")||n&&e.name!==l)&&(d?s(e,"name",{value:l,configurable:!0}):e.name=l),g&&C&&i(C,"arity")&&e.length!==C.arity&&s(e,"length",{value:C.arity});try{C&&i(C,"constructor")&&C.constructor?d&&s(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(t){}var r=a(e);return i(r,"source")||(r.source=L(Z,"string"==typeof l?l:"")),e};Function.prototype.toString=w((function(){return o(this)&&p(this).source||c(this)}),"toString")},57233:e=>{"use strict";var l=Math.ceil,C=Math.floor;e.exports=Math.trunc||function(e){var r=+e;return(r>0?C:l)(r)}},21012:(e,l,C)=>{"use strict";var r=C(94133),t=C(26335),o=C(50064),i=C(30616),d=C(61017),n=TypeError,c=Object.defineProperty,u=Object.getOwnPropertyDescriptor,a="enumerable",p="configurable",f="writable";l.f=r?o?function(e,l,C){if(i(e),l=d(l),i(C),"function"===typeof e&&"prototype"===l&&"value"in C&&f in C&&!C[f]){var r=u(e,l);r&&r[f]&&(e[l]=C.value,C={configurable:p in C?C[p]:r[p],enumerable:a in C?C[a]:r[a],writable:!1})}return c(e,l,C)}:c:function(e,l,C){if(i(e),l=d(l),i(C),t)try{return c(e,l,C)}catch(r){}if("get"in C||"set"in C)throw n("Accessors not supported");return"value"in C&&(e[l]=C.value),e}},60863:(e,l,C)=>{"use strict";var r=C(94133),t=C(76654),o=C(58068),i=C(53386),d=C(37447),n=C(61017),c=C(62924),u=C(26335),a=Object.getOwnPropertyDescriptor;l.f=r?a:function(e,l){if(e=d(e),l=n(l),u)try{return a(e,l)}catch(C){}if(c(e,l))return i(!t(o.f,e,l),e[l])}},53450:(e,l,C)=>{"use strict";var r=C(76682),t=C(30203),o=t.concat("length","prototype");l.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},91996:(e,l)=>{"use strict";l.f=Object.getOwnPropertySymbols},27886:(e,l,C)=>{"use strict";var r=C(62924),t=C(66107),o=C(38332),i=C(35315),d=C(30911),n=i("IE_PROTO"),c=Object,u=c.prototype;e.exports=d?c.getPrototypeOf:function(e){var l=o(e);if(r(l,n))return l[n];var C=l.constructor;return t(C)&&l instanceof C?C.prototype:l instanceof c?u:null}},36123:(e,l,C)=>{"use strict";var r=C(81636);e.exports=r({}.isPrototypeOf)},76682:(e,l,C)=>{"use strict";var r=C(81636),t=C(62924),o=C(37447),i=C(67714).indexOf,d=C(71999),n=r([].push);e.exports=function(e,l){var C,r=o(e),c=0,u=[];for(C in r)!t(d,C)&&t(r,C)&&n(u,C);while(l.length>c)t(r,C=l[c++])&&(~i(u,C)||n(u,C));return u}},58068:(e,l)=>{"use strict";var C={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,t=r&&!C.call({1:2},1);l.f=t?function(e){var l=r(this,e);return!!l&&l.enumerable}:C},16534:(e,l,C)=>{"use strict";var r=C(65478),t=C(30616),o=C(29220);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,l=!1,C={};try{e=r(Object.prototype,"__proto__","set"),e(C,[]),l=C instanceof Array}catch(i){}return function(C,r){return t(C),o(r),l?e(C,r):C.__proto__=r,C}}():void 0)},79370:(e,l,C)=>{"use strict";var r=C(76654),t=C(66107),o=C(71419),i=TypeError;e.exports=function(e,l){var C,d;if("string"===l&&t(C=e.toString)&&!o(d=r(C,e)))return d;if(t(C=e.valueOf)&&!o(d=r(C,e)))return d;if("string"!==l&&t(C=e.toString)&&!o(d=r(C,e)))return d;throw i("Can't convert object to primitive value")}},71240:(e,l,C)=>{"use strict";var r=C(97859),t=C(81636),o=C(53450),i=C(91996),d=C(30616),n=t([].concat);e.exports=r("Reflect","ownKeys")||function(e){var l=o.f(d(e)),C=i.f;return C?n(l,C(e)):l}},69592:(e,l,C)=>{"use strict";var r=C(30616);e.exports=function(){var e=r(this),l="";return e.hasIndices&&(l+="d"),e.global&&(l+="g"),e.ignoreCase&&(l+="i"),e.multiline&&(l+="m"),e.dotAll&&(l+="s"),e.unicode&&(l+="u"),e.unicodeSets&&(l+="v"),e.sticky&&(l+="y"),l}},5177:(e,l,C)=>{"use strict";var r=C(13873),t=TypeError;e.exports=function(e){if(r(e))throw t("Can't call method on "+e);return e}},35315:(e,l,C)=>{"use strict";var r=C(48850),t=C(93965),o=r("keys");e.exports=function(e){return o[e]||(o[e]=t(e))}},76081:(e,l,C)=>{"use strict";var r=C(53834),t=C(95437),o="__core-js_shared__",i=r[o]||t(o,{});e.exports=i},48850:(e,l,C)=>{"use strict";var r=C(20200),t=C(76081);(e.exports=function(e,l){return t[e]||(t[e]=void 0!==l?l:{})})("versions",[]).push({version:"3.32.0",mode:r?"pure":"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.32.0/LICENSE",source:"https://github.com/zloirock/core-js"})},4651:(e,l,C)=>{"use strict";var r=C(71418),t=C(88814),o=C(53834),i=o.String;e.exports=!!Object.getOwnPropertySymbols&&!t((function(){var e=Symbol();return!i(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},32661:(e,l,C)=>{"use strict";var r=C(46675),t=Math.max,o=Math.min;e.exports=function(e,l){var C=r(e);return C<0?t(C+l,0):o(C,l)}},57385:(e,l,C)=>{"use strict";var r=C(34384),t=TypeError;e.exports=function(e){var l=r(e,"number");if("number"==typeof l)throw t("Can't convert number to bigint");return BigInt(l)}},37447:(e,l,C)=>{"use strict";var r=C(53972),t=C(5177);e.exports=function(e){return r(t(e))}},46675:(e,l,C)=>{"use strict";var r=C(57233);e.exports=function(e){var l=+e;return l!==l||0===l?0:r(l)}},27302:(e,l,C)=>{"use strict";var r=C(46675),t=Math.min;e.exports=function(e){return e>0?t(r(e),9007199254740991):0}},38332:(e,l,C)=>{"use strict";var r=C(5177),t=Object;e.exports=function(e){return t(r(e))}},34384:(e,l,C)=>{"use strict";var r=C(76654),t=C(71419),o=C(51637),i=C(37689),d=C(79370),n=C(14103),c=TypeError,u=n("toPrimitive");e.exports=function(e,l){if(!t(e)||o(e))return e;var C,n=i(e,u);if(n){if(void 0===l&&(l="default"),C=r(n,e,l),!t(C)||o(C))return C;throw c("Can't convert object to primitive value")}return void 0===l&&(l="number"),d(e,l)}},61017:(e,l,C)=>{"use strict";var r=C(34384),t=C(51637);e.exports=function(e){var l=r(e,"string");return t(l)?l:l+""}},14130:(e,l,C)=>{"use strict";var r=C(14103),t=r("toStringTag"),o={};o[t]="z",e.exports="[object z]"===String(o)},96975:(e,l,C)=>{"use strict";var r=C(34239),t=String;e.exports=function(e){if("Symbol"===r(e))throw TypeError("Cannot convert a Symbol value to a string");return t(e)}},57545:e=>{"use strict";var l=String;e.exports=function(e){try{return l(e)}catch(C){return"Object"}}},93965:(e,l,C)=>{"use strict";var r=C(81636),t=0,o=Math.random(),i=r(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+i(++t+o,36)}},90049:(e,l,C)=>{"use strict";var r=C(4651);e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},50064:(e,l,C)=>{"use strict";var r=C(94133),t=C(88814);e.exports=r&&t((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},5809:e=>{"use strict";var l=TypeError;e.exports=function(e,C){if(e{"use strict";var r=C(53834),t=C(66107),o=r.WeakMap;e.exports=t(o)&&/native code/.test(String(o))},14103:(e,l,C)=>{"use strict";var r=C(53834),t=C(48850),o=C(62924),i=C(93965),d=C(4651),n=C(90049),c=r.Symbol,u=t("wks"),a=n?c["for"]||c:c&&c.withoutSetter||i;e.exports=function(e){return o(u,e)||(u[e]=d&&o(c,e)?c[e]:a("Symbol."+e)),u[e]}},69665:(e,l,C)=>{"use strict";var r=C(76943),t=C(38332),o=C(8600),i=C(53614),d=C(76689),n=C(88814),c=n((function(){return 4294967297!==[].push.call({length:4294967296},1)})),u=function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(e){return e instanceof TypeError}},a=c||!u();r({target:"Array",proto:!0,arity:1,forced:a},{push:function(e){var l=t(this),C=o(l),r=arguments.length;d(C+r);for(var n=0;n{"use strict";var r=C(76943),t=C(38332),o=C(8600),i=C(53614),d=C(26405),n=C(76689),c=1!==[].unshift(0),u=function(){try{Object.defineProperty([],"length",{writable:!1}).unshift()}catch(e){return e instanceof TypeError}},a=c||!u();r({target:"Array",proto:!0,arity:1,forced:a},{unshift:function(e){var l=t(this),C=o(l),r=arguments.length;if(r){n(C+r);var c=C;while(c--){var u=c+r;c in l?l[u]=l[c]:d(l,u)}for(var a=0;a{"use strict";var r=C(53834),t=C(94133),o=C(59570),i=C(69592),d=C(88814),n=r.RegExp,c=n.prototype,u=t&&d((function(){var e=!0;try{n(".","d")}catch(u){e=!1}var l={},C="",r=e?"dgimsy":"gimsy",t=function(e,r){Object.defineProperty(l,e,{get:function(){return C+=r,!0}})},o={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};for(var i in e&&(o.hasIndices="d"),o)t(i,o[i]);var d=Object.getOwnPropertyDescriptor(c,"flags").get.call(l);return d!==r||C!==r}));u&&o(c,"flags",{configurable:!0,get:i})},25231:(e,l,C)=>{"use strict";var r=C(68086),t=C(8600),o=C(46675),i=r.aTypedArray,d=r.exportTypedArrayMethod;d("at",(function(e){var l=i(this),C=t(l),r=o(e),d=r>=0?r:C+r;return d<0||d>=C?void 0:l[d]}))},90548:(e,l,C)=>{"use strict";var r=C(68086),t=C(49275).findLastIndex,o=r.aTypedArray,i=r.exportTypedArrayMethod;i("findLastIndex",(function(e){return t(o(this),e,arguments.length>1?arguments[1]:void 0)}))},3075:(e,l,C)=>{"use strict";var r=C(68086),t=C(49275).findLast,o=r.aTypedArray,i=r.exportTypedArrayMethod;i("findLast",(function(e){return t(o(this),e,arguments.length>1?arguments[1]:void 0)}))},62279:(e,l,C)=>{"use strict";var r=C(37579),t=C(68086),o=t.aTypedArray,i=t.exportTypedArrayMethod,d=t.getTypedArrayConstructor;i("toReversed",(function(){return r(o(this),d(this))}))},2157:(e,l,C)=>{"use strict";var r=C(68086),t=C(81636),o=C(28762),i=C(73364),d=r.aTypedArray,n=r.getTypedArrayConstructor,c=r.exportTypedArrayMethod,u=t(r.TypedArrayPrototype.sort);c("toSorted",(function(e){void 0!==e&&o(e);var l=d(this),C=i(n(l),l);return u(C,e)}))},46735:(e,l,C)=>{"use strict";var r=C(25330),t=C(68086),o=C(20354),i=C(46675),d=C(57385),n=t.aTypedArray,c=t.getTypedArrayConstructor,u=t.exportTypedArrayMethod,a=!!function(){try{new Int8Array(1)["with"](2,{valueOf:function(){throw 8}})}catch(e){return 8===e}}();u("with",{with:function(e,l){var C=n(this),t=i(e),u=o(C)?d(l):+l;return r(C,c(C),t,u)}}["with"],!a)},95516:(e,l,C)=>{"use strict";var r=C(54076),t=C(81636),o=C(96975),i=C(5809),d=URLSearchParams,n=d.prototype,c=t(n.append),u=t(n["delete"]),a=t(n.forEach),p=t([].push),f=new d("a=1&a=2&b=3");f["delete"]("a",1),f["delete"]("b",void 0),f+""!=="a=2"&&r(n,"delete",(function(e){var l=arguments.length,C=l<2?void 0:arguments[1];if(l&&void 0===C)return u(this,e);var r=[];a(this,(function(e,l){p(r,{key:l,value:e})})),i(l,1);var t,d=o(e),n=o(C),f=0,s=0,v=!1,h=r.length;while(f{"use strict";var r=C(54076),t=C(81636),o=C(96975),i=C(5809),d=URLSearchParams,n=d.prototype,c=t(n.getAll),u=t(n.has),a=new d("a=1");!a.has("a",2)&&a.has("a",void 0)||r(n,"has",(function(e){var l=arguments.length,C=l<2?void 0:arguments[1];if(l&&void 0===C)return u(this,e);var r=c(this,e);i(l,1);var t=o(C),d=0;while(d{"use strict";var r=C(94133),t=C(81636),o=C(59570),i=URLSearchParams.prototype,d=t(i.forEach);r&&!("size"in i)&&o(i,"size",{get:function(){var e=0;return d(this,(function(){e++})),e},configurable:!0,enumerable:!0})},77871:e=>{"use strict";var l={single_source_shortest_paths:function(e,C,r){var t={},o={};o[C]=0;var i,d,n,c,u,a,p,f,s,v=l.PriorityQueue.make();v.push(C,0);while(!v.empty())for(n in i=v.pop(),d=i.value,c=i.cost,u=e[d]||{},u)u.hasOwnProperty(n)&&(a=u[n],p=c+a,f=o[n],s="undefined"===typeof o[n],(s||f>p)&&(o[n]=p,v.push(n,p),t[n]=d));if("undefined"!==typeof r&&"undefined"===typeof o[r]){var h=["Could not find a path from ",C," to ",r,"."].join("");throw new Error(h)}return t},extract_shortest_path_from_predecessor_list:function(e,l){var C=[],r=l;while(r)C.push(r),e[r],r=e[r];return C.reverse(),C},find_path:function(e,C,r){var t=l.single_source_shortest_paths(e,C,r);return l.extract_shortest_path_from_predecessor_list(t,r)},PriorityQueue:{make:function(e){var C,r=l.PriorityQueue,t={};for(C in e=e||{},r)r.hasOwnProperty(C)&&(t[C]=r[C]);return t.queue=[],t.sorter=e.sorter||r.default_sorter,t},default_sorter:function(e,l){return e.cost-l.cost},push:function(e,l){var C={value:e,cost:l};this.queue.push(C),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return 0===this.queue.length}}};e.exports=l},13449:e=>{"use strict";e.exports=function(e){for(var l=[],C=e.length,r=0;r=55296&&t<=56319&&C>r+1){var o=e.charCodeAt(r+1);o>=56320&&o<=57343&&(t=1024*(t-55296)+o-56320+65536,r+=1)}t<128?l.push(t):t<2048?(l.push(t>>6|192),l.push(63&t|128)):t<55296||t>=57344&&t<65536?(l.push(t>>12|224),l.push(t>>6&63|128),l.push(63&t|128)):t>=65536&&t<=1114111?(l.push(t>>18|240),l.push(t>>12&63|128),l.push(t>>6&63|128),l.push(63&t|128)):l.push(239,191,189)}return new Uint8Array(l).buffer}},32316:(e,l,C)=>{const r=C(87881),t=C(69540),o=C(78889),i=C(2304);function d(e,l,C,o,i){const d=[].slice.call(arguments,1),n=d.length,c="function"===typeof d[n-1];if(!c&&!r())throw new Error("Callback required as last argument");if(!c){if(n<1)throw new Error("Too few arguments provided");return 1===n?(C=l,l=o=void 0):2!==n||l.getContext||(o=C,C=l,l=void 0),new Promise((function(r,i){try{const i=t.create(C,o);r(e(i,l,o))}catch(d){i(d)}}))}if(n<2)throw new Error("Too few arguments provided");2===n?(i=C,C=l,l=o=void 0):3===n&&(l.getContext&&"undefined"===typeof i?(i=o,o=void 0):(i=o,o=C,C=l,l=void 0));try{const r=t.create(C,o);i(null,e(r,l,o))}catch(u){i(u)}}l.create=t.create,l.toCanvas=d.bind(null,o.render),l.toDataURL=d.bind(null,o.renderToDataURL),l.toString=d.bind(null,(function(e,l,C){return i.render(e,C)}))},87881:e=>{e.exports=function(){return"function"===typeof Promise&&Promise.prototype&&Promise.prototype.then}},59066:(e,l,C)=>{const r=C(67299).getSymbolSize;l.getRowColCoords=function(e){if(1===e)return[];const l=Math.floor(e/7)+2,C=r(e),t=145===C?26:2*Math.ceil((C-13)/(2*l-2)),o=[C-7];for(let r=1;r{const r=C(15029),t=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function o(e){this.mode=r.ALPHANUMERIC,this.data=e}o.getBitsLength=function(e){return 11*Math.floor(e/2)+e%2*6},o.prototype.getLength=function(){return this.data.length},o.prototype.getBitsLength=function(){return o.getBitsLength(this.data.length)},o.prototype.write=function(e){let l;for(l=0;l+2<=this.data.length;l+=2){let C=45*t.indexOf(this.data[l]);C+=t.indexOf(this.data[l+1]),e.put(C,11)}this.data.length%2&&e.put(t.indexOf(this.data[l]),6)},e.exports=o},80640:e=>{function l(){this.buffer=[],this.length=0}l.prototype={get:function(e){const l=Math.floor(e/8);return 1===(this.buffer[l]>>>7-e%8&1)},put:function(e,l){for(let C=0;C>>l-C-1&1))},getLengthInBits:function(){return this.length},putBit:function(e){const l=Math.floor(this.length/8);this.buffer.length<=l&&this.buffer.push(0),e&&(this.buffer[l]|=128>>>this.length%8),this.length++}},e.exports=l},86214:e=>{function l(e){if(!e||e<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=e,this.data=new Uint8Array(e*e),this.reservedBit=new Uint8Array(e*e)}l.prototype.set=function(e,l,C,r){const t=e*this.size+l;this.data[t]=C,r&&(this.reservedBit[t]=!0)},l.prototype.get=function(e,l){return this.data[e*this.size+l]},l.prototype.xor=function(e,l,C){this.data[e*this.size+l]^=C},l.prototype.isReserved=function(e,l){return this.reservedBit[e*this.size+l]},e.exports=l},41776:(e,l,C)=>{const r=C(13449),t=C(15029);function o(e){this.mode=t.BYTE,"string"===typeof e&&(e=r(e)),this.data=new Uint8Array(e)}o.getBitsLength=function(e){return 8*e},o.prototype.getLength=function(){return this.data.length},o.prototype.getBitsLength=function(){return o.getBitsLength(this.data.length)},o.prototype.write=function(e){for(let l=0,C=this.data.length;l{const r=C(44913),t=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],o=[7,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,504,588,196,364,546,650,224,416,600,700,224,442,644,750,252,476,690,816,270,504,750,900,300,560,810,960,312,588,870,1050,336,644,952,1110,360,700,1020,1200,390,728,1050,1260,420,784,1140,1350,450,812,1200,1440,480,868,1290,1530,510,924,1350,1620,540,980,1440,1710,570,1036,1530,1800,570,1064,1590,1890,600,1120,1680,1980,630,1204,1770,2100,660,1260,1860,2220,720,1316,1950,2310,750,1372,2040,2430];l.getBlocksCount=function(e,l){switch(l){case r.L:return t[4*(e-1)+0];case r.M:return t[4*(e-1)+1];case r.Q:return t[4*(e-1)+2];case r.H:return t[4*(e-1)+3];default:return}},l.getTotalCodewordsCount=function(e,l){switch(l){case r.L:return o[4*(e-1)+0];case r.M:return o[4*(e-1)+1];case r.Q:return o[4*(e-1)+2];case r.H:return o[4*(e-1)+3];default:return}}},44913:(e,l)=>{function C(e){if("string"!==typeof e)throw new Error("Param is not a string");const C=e.toLowerCase();switch(C){case"l":case"low":return l.L;case"m":case"medium":return l.M;case"q":case"quartile":return l.Q;case"h":case"high":return l.H;default:throw new Error("Unknown EC Level: "+e)}}l.L={bit:1},l.M={bit:0},l.Q={bit:3},l.H={bit:2},l.isValid=function(e){return e&&"undefined"!==typeof e.bit&&e.bit>=0&&e.bit<4},l.from=function(e,r){if(l.isValid(e))return e;try{return C(e)}catch(t){return r}}},17165:(e,l,C)=>{const r=C(67299).getSymbolSize,t=7;l.getPositions=function(e){const l=r(e);return[[0,0],[l-t,0],[0,l-t]]}},20410:(e,l,C)=>{const r=C(67299),t=1335,o=21522,i=r.getBCHDigit(t);l.getEncodedBits=function(e,l){const C=e.bit<<3|l;let d=C<<10;while(r.getBCHDigit(d)-i>=0)d^=t<{const C=new Uint8Array(512),r=new Uint8Array(256);(function(){let e=1;for(let l=0;l<255;l++)C[l]=e,r[e]=l,e<<=1,256&e&&(e^=285);for(let l=255;l<512;l++)C[l]=C[l-255]})(),l.log=function(e){if(e<1)throw new Error("log("+e+")");return r[e]},l.exp=function(e){return C[e]},l.mul=function(e,l){return 0===e||0===l?0:C[r[e]+r[l]]}},63911:(e,l,C)=>{const r=C(15029),t=C(67299);function o(e){this.mode=r.KANJI,this.data=e}o.getBitsLength=function(e){return 13*e},o.prototype.getLength=function(){return this.data.length},o.prototype.getBitsLength=function(){return o.getBitsLength(this.data.length)},o.prototype.write=function(e){let l;for(l=0;l=33088&&C<=40956)C-=33088;else{if(!(C>=57408&&C<=60351))throw new Error("Invalid SJIS character: "+this.data[l]+"\nMake sure your charset is UTF-8");C-=49472}C=192*(C>>>8&255)+(255&C),e.put(C,13)}},e.exports=o},14164:(e,l)=>{l.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};const C={N1:3,N2:3,N3:40,N4:10};function r(e,C,r){switch(e){case l.Patterns.PATTERN000:return(C+r)%2===0;case l.Patterns.PATTERN001:return C%2===0;case l.Patterns.PATTERN010:return r%3===0;case l.Patterns.PATTERN011:return(C+r)%3===0;case l.Patterns.PATTERN100:return(Math.floor(C/2)+Math.floor(r/3))%2===0;case l.Patterns.PATTERN101:return C*r%2+C*r%3===0;case l.Patterns.PATTERN110:return(C*r%2+C*r%3)%2===0;case l.Patterns.PATTERN111:return(C*r%3+(C+r)%2)%2===0;default:throw new Error("bad maskPattern:"+e)}}l.isValid=function(e){return null!=e&&""!==e&&!isNaN(e)&&e>=0&&e<=7},l.from=function(e){return l.isValid(e)?parseInt(e,10):void 0},l.getPenaltyN1=function(e){const l=e.size;let r=0,t=0,o=0,i=null,d=null;for(let n=0;n=5&&(r+=C.N1+(t-5)),i=l,t=1),l=e.get(c,n),l===d?o++:(o>=5&&(r+=C.N1+(o-5)),d=l,o=1)}t>=5&&(r+=C.N1+(t-5)),o>=5&&(r+=C.N1+(o-5))}return r},l.getPenaltyN2=function(e){const l=e.size;let r=0;for(let C=0;C=10&&(1488===t||93===t)&&r++,o=o<<1&2047|e.get(i,C),i>=10&&(1488===o||93===o)&&r++}return r*C.N3},l.getPenaltyN4=function(e){let l=0;const r=e.data.length;for(let C=0;C{const r=C(12174),t=C(46116);function o(e){if("string"!==typeof e)throw new Error("Param is not a string");const C=e.toLowerCase();switch(C){case"numeric":return l.NUMERIC;case"alphanumeric":return l.ALPHANUMERIC;case"kanji":return l.KANJI;case"byte":return l.BYTE;default:throw new Error("Unknown mode: "+e)}}l.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},l.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},l.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},l.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},l.MIXED={bit:-1},l.getCharCountIndicator=function(e,l){if(!e.ccBits)throw new Error("Invalid mode: "+e);if(!r.isValid(l))throw new Error("Invalid version: "+l);return l>=1&&l<10?e.ccBits[0]:l<27?e.ccBits[1]:e.ccBits[2]},l.getBestModeForData=function(e){return t.testNumeric(e)?l.NUMERIC:t.testAlphanumeric(e)?l.ALPHANUMERIC:t.testKanji(e)?l.KANJI:l.BYTE},l.toString=function(e){if(e&&e.id)return e.id;throw new Error("Invalid mode")},l.isValid=function(e){return e&&e.bit&&e.ccBits},l.from=function(e,C){if(l.isValid(e))return e;try{return o(e)}catch(r){return C}}},55630:(e,l,C)=>{const r=C(15029);function t(e){this.mode=r.NUMERIC,this.data=e.toString()}t.getBitsLength=function(e){return 10*Math.floor(e/3)+(e%3?e%3*3+1:0)},t.prototype.getLength=function(){return this.data.length},t.prototype.getBitsLength=function(){return t.getBitsLength(this.data.length)},t.prototype.write=function(e){let l,C,r;for(l=0;l+3<=this.data.length;l+=3)C=this.data.substr(l,3),r=parseInt(C,10),e.put(r,10);const t=this.data.length-l;t>0&&(C=this.data.substr(l),r=parseInt(C,10),e.put(r,3*t+1))},e.exports=t},38848:(e,l,C)=>{const r=C(36903);l.mul=function(e,l){const C=new Uint8Array(e.length+l.length-1);for(let t=0;t=0){const e=C[0];for(let o=0;o{const r=C(67299),t=C(44913),o=C(80640),i=C(86214),d=C(59066),n=C(17165),c=C(14164),u=C(26664),a=C(68130),p=C(93030),f=C(20410),s=C(15029),v=C(31849);function h(e,l){const C=e.size,r=n.getPositions(l);for(let t=0;t=0&&r<=6&&(0===t||6===t)||t>=0&&t<=6&&(0===r||6===r)||r>=2&&r<=4&&t>=2&&t<=4?e.set(l+r,o+t,!0,!0):e.set(l+r,o+t,!1,!0))}}function L(e){const l=e.size;for(let C=8;C>d&1),e.set(t,o,i,!0),e.set(o,t,i,!0)}function w(e,l,C){const r=e.size,t=f.getEncodedBits(l,C);let o,i;for(o=0;o<15;o++)i=1===(t>>o&1),o<6?e.set(o,8,i,!0):o<8?e.set(o+1,8,i,!0):e.set(r-15+o,8,i,!0),o<8?e.set(8,r-o-1,i,!0):o<9?e.set(8,15-o-1+1,i,!0):e.set(8,15-o-1,i,!0);e.set(r-8,8,1,!0)}function M(e,l){const C=e.size;let r=-1,t=C-1,o=7,i=0;for(let d=C-1;d>0;d-=2){6===d&&d--;while(1){for(let C=0;C<2;C++)if(!e.isReserved(t,d-C)){let r=!1;i>>o&1)),e.set(t,d-C,r),o--,-1===o&&(i++,o=7)}if(t+=r,t<0||C<=t){t-=r,r=-r;break}}}}function m(e,l,C){const t=new o;C.forEach((function(l){t.put(l.mode.bit,4),t.put(l.getLength(),s.getCharCountIndicator(l.mode,e)),l.write(t)}));const i=r.getSymbolTotalCodewords(e),d=u.getTotalCodewordsCount(e,l),n=8*(i-d);t.getLengthInBits()+4<=n&&t.put(0,4);while(t.getLengthInBits()%8!==0)t.putBit(0);const c=(n-t.getLengthInBits())/8;for(let r=0;r=7&&Z(a,l),M(a,n),isNaN(t)&&(t=c.getBestMask(a,w.bind(null,a,C))),c.applyMask(t,a),w(a,C,t),{modules:a,version:l,errorCorrectionLevel:C,maskPattern:t,segments:o}}l.create=function(e,l){if("undefined"===typeof e||""===e)throw new Error("No input text");let C,o,i=t.M;return"undefined"!==typeof l&&(i=t.from(l.errorCorrectionLevel,t.M),C=p.from(l.version),o=c.from(l.maskPattern),l.toSJISFunc&&r.setToSJISFunction(l.toSJISFunc)),V(e,C,i,o)}},68130:(e,l,C)=>{const r=C(38848);function t(e){this.genPoly=void 0,this.degree=e,this.degree&&this.initialize(this.degree)}t.prototype.initialize=function(e){this.degree=e,this.genPoly=r.generateECPolynomial(this.degree)},t.prototype.encode=function(e){if(!this.genPoly)throw new Error("Encoder not initialized");const l=new Uint8Array(e.length+this.degree);l.set(e);const C=r.mod(l,this.genPoly),t=this.degree-C.length;if(t>0){const e=new Uint8Array(this.degree);return e.set(C,t),e}return C},e.exports=t},46116:(e,l)=>{const C="[0-9]+",r="[A-Z $%*+\\-./:]+";let t="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";t=t.replace(/u/g,"\\u");const o="(?:(?![A-Z0-9 $%*+\\-./:]|"+t+")(?:.|[\r\n]))+";l.KANJI=new RegExp(t,"g"),l.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g"),l.BYTE=new RegExp(o,"g"),l.NUMERIC=new RegExp(C,"g"),l.ALPHANUMERIC=new RegExp(r,"g");const i=new RegExp("^"+t+"$"),d=new RegExp("^"+C+"$"),n=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");l.testKanji=function(e){return i.test(e)},l.testNumeric=function(e){return d.test(e)},l.testAlphanumeric=function(e){return n.test(e)}},31849:(e,l,C)=>{const r=C(15029),t=C(55630),o=C(47541),i=C(41776),d=C(63911),n=C(46116),c=C(67299),u=C(77871);function a(e){return unescape(encodeURIComponent(e)).length}function p(e,l,C){const r=[];let t;while(null!==(t=e.exec(C)))r.push({data:t[0],index:t.index,mode:l,length:t[0].length});return r}function f(e){const l=p(n.NUMERIC,r.NUMERIC,e),C=p(n.ALPHANUMERIC,r.ALPHANUMERIC,e);let t,o;c.isKanjiModeEnabled()?(t=p(n.BYTE,r.BYTE,e),o=p(n.KANJI,r.KANJI,e)):(t=p(n.BYTE_KANJI,r.BYTE,e),o=[]);const i=l.concat(C,t,o);return i.sort((function(e,l){return e.index-l.index})).map((function(e){return{data:e.data,mode:e.mode,length:e.length}}))}function s(e,l){switch(l){case r.NUMERIC:return t.getBitsLength(e);case r.ALPHANUMERIC:return o.getBitsLength(e);case r.KANJI:return d.getBitsLength(e);case r.BYTE:return i.getBitsLength(e)}}function v(e){return e.reduce((function(e,l){const C=e.length-1>=0?e[e.length-1]:null;return C&&C.mode===l.mode?(e[e.length-1].data+=l.data,e):(e.push(l),e)}),[])}function h(e){const l=[];for(let C=0;C{let C;const r=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];l.getSymbolSize=function(e){if(!e)throw new Error('"version" cannot be null or undefined');if(e<1||e>40)throw new Error('"version" should be in range from 1 to 40');return 4*e+17},l.getSymbolTotalCodewords=function(e){return r[e]},l.getBCHDigit=function(e){let l=0;while(0!==e)l++,e>>>=1;return l},l.setToSJISFunction=function(e){if("function"!==typeof e)throw new Error('"toSJISFunc" is not a valid function.');C=e},l.isKanjiModeEnabled=function(){return"undefined"!==typeof C},l.toSJIS=function(e){return C(e)}},12174:(e,l)=>{l.isValid=function(e){return!isNaN(e)&&e>=1&&e<=40}},93030:(e,l,C)=>{const r=C(67299),t=C(26664),o=C(44913),i=C(15029),d=C(12174),n=7973,c=r.getBCHDigit(n);function u(e,C,r){for(let t=1;t<=40;t++)if(C<=l.getCapacity(t,r,e))return t}function a(e,l){return i.getCharCountIndicator(e,l)+4}function p(e,l){let C=0;return e.forEach((function(e){const r=a(e.mode,l);C+=r+e.getBitsLength()})),C}function f(e,C){for(let r=1;r<=40;r++){const t=p(e,r);if(t<=l.getCapacity(r,C,i.MIXED))return r}}l.from=function(e,l){return d.isValid(e)?parseInt(e,10):l},l.getCapacity=function(e,l,C){if(!d.isValid(e))throw new Error("Invalid QR Code version");"undefined"===typeof C&&(C=i.BYTE);const o=r.getSymbolTotalCodewords(e),n=t.getTotalCodewordsCount(e,l),c=8*(o-n);if(C===i.MIXED)return c;const u=c-a(C,e);switch(C){case i.NUMERIC:return Math.floor(u/10*3);case i.ALPHANUMERIC:return Math.floor(u/11*2);case i.KANJI:return Math.floor(u/13);case i.BYTE:default:return Math.floor(u/8)}},l.getBestVersionForData=function(e,l){let C;const r=o.from(l,o.M);if(Array.isArray(e)){if(e.length>1)return f(e,r);if(0===e.length)return 1;C=e[0]}else C=e;return u(C.mode,C.getLength(),r)},l.getEncodedBits=function(e){if(!d.isValid(e)||e<7)throw new Error("Invalid QR Code version");let l=e<<12;while(r.getBCHDigit(l)-c>=0)l^=n<{const r=C(24087);function t(e,l,C){e.clearRect(0,0,l.width,l.height),l.style||(l.style={}),l.height=C,l.width=C,l.style.height=C+"px",l.style.width=C+"px"}function o(){try{return document.createElement("canvas")}catch(e){throw new Error("You need to specify a canvas element")}}l.render=function(e,l,C){let i=C,d=l;"undefined"!==typeof i||l&&l.getContext||(i=l,l=void 0),l||(d=o()),i=r.getOptions(i);const n=r.getImageWidth(e.modules.size,i),c=d.getContext("2d"),u=c.createImageData(n,n);return r.qrToImageData(u.data,e,i),t(c,d,n),c.putImageData(u,0,0),d},l.renderToDataURL=function(e,C,r){let t=r;"undefined"!==typeof t||C&&C.getContext||(t=C,C=void 0),t||(t={});const o=l.render(e,C,t),i=t.type||"image/png",d=t.rendererOpts||{};return o.toDataURL(i,d.quality)}},2304:(e,l,C)=>{const r=C(24087);function t(e,l){const C=e.a/255,r=l+'="'+e.hex+'"';return C<1?r+" "+l+'-opacity="'+C.toFixed(2).slice(1)+'"':r}function o(e,l,C){let r=e+l;return"undefined"!==typeof C&&(r+=" "+C),r}function i(e,l,C){let r="",t=0,i=!1,d=0;for(let n=0;n0&&c>0&&e[n-1]||(r+=i?o("M",c+C,.5+u+C):o("m",t,0),t=0,i=!1),c+1':"",a="',p='viewBox="0 0 '+c+" "+c+'"',f=o.width?'width="'+o.width+'" height="'+o.width+'" ':"",s=''+u+a+"\n";return"function"===typeof C&&C(null,s),s}},24087:(e,l)=>{function C(e){if("number"===typeof e&&(e=e.toString()),"string"!==typeof e)throw new Error("Color should be defined as hex string");let l=e.slice().replace("#","").split("");if(l.length<3||5===l.length||l.length>8)throw new Error("Invalid hex color: "+e);3!==l.length&&4!==l.length||(l=Array.prototype.concat.apply([],l.map((function(e){return[e,e]})))),6===l.length&&l.push("F","F");const C=parseInt(l.join(""),16);return{r:C>>24&255,g:C>>16&255,b:C>>8&255,a:255&C,hex:"#"+l.slice(0,6).join("")}}l.getOptions=function(e){e||(e={}),e.color||(e.color={});const l="undefined"===typeof e.margin||null===e.margin||e.margin<0?4:e.margin,r=e.width&&e.width>=21?e.width:void 0,t=e.scale||4;return{width:r,scale:r?4:t,margin:l,color:{dark:C(e.color.dark||"#000000ff"),light:C(e.color.light||"#ffffffff")},type:e.type,rendererOpts:e.rendererOpts||{}}},l.getScale=function(e,l){return l.width&&l.width>=e+2*l.margin?l.width/(e+2*l.margin):l.scale},l.getImageWidth=function(e,C){const r=l.getScale(e,C);return Math.floor((e+2*C.margin)*r)},l.qrToImageData=function(e,C,r){const t=C.modules.size,o=C.modules.data,i=l.getScale(t,r),d=Math.floor((t+2*r.margin)*i),n=r.margin*i,c=[r.color.light,r.color.dark];for(let l=0;l=n&&C>=n&&l{"use strict";l.Z=(e,l)=>{const C=e.__vccOpts||e;for(const[r,t]of l)C[r]=t;return C}},32681:(e,l,C)=>{"use strict";C.d(l,{ZP:()=>s}); +(globalThis["webpackChunkphotobooth_app_frontend"]=globalThis["webpackChunkphotobooth_app_frontend"]||[]).push([[736],{69984:e=>{e.exports=function(e,l,C){const r=void 0!==e.__vccOpts?e.__vccOpts:e,t=r[l];if(void 0===t)r[l]=C;else for(const o in C)void 0===t[o]&&(t[o]=C[o])}},60499:(e,l,C)=>{"use strict";C.d(l,{B:()=>i,BK:()=>Ye,Bj:()=>o,EB:()=>c,Fl:()=>Xe,IU:()=>Se,Jd:()=>x,PG:()=>Ae,SU:()=>Ue,Um:()=>xe,WL:()=>ze,X$:()=>B,X3:()=>Fe,XI:()=>Ne,Xl:()=>Pe,dq:()=>De,iH:()=>Re,j:()=>y,lk:()=>k,nZ:()=>n,qj:()=>be,qq:()=>m,yT:()=>Oe});var r=C(86970);let t;class o{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=t,!e&&t&&(this.index=(t.scopes||(t.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const l=t;try{return t=this,e()}finally{t=l}}else 0}on(){t=this}off(){t=this.parent}stop(e){if(this._active){let l,C;for(l=0,C=this.effects.length;l{const l=new Set(e);return l.w=0,l.n=0,l},a=e=>(e.w&L)>0,p=e=>(e.n&L)>0,f=({deps:e})=>{if(e.length)for(let l=0;l{const{deps:l}=e;if(l.length){let C=0;for(let r=0;r{("length"===C||C>=e)&&n.push(l)}))}else switch(void 0!==C&&n.push(d.get(C)),l){case"add":(0,r.kJ)(e)?(0,r.S0)(C)&&n.push(d.get("length")):(n.push(d.get(w)),(0,r._N)(e)&&n.push(d.get(M)));break;case"delete":(0,r.kJ)(e)||(n.push(d.get(w)),(0,r._N)(e)&&n.push(d.get(M)));break;case"set":(0,r._N)(e)&&n.push(d.get(w));break}if(1===n.length)n[0]&&O(n[0]);else{const e=[];for(const l of n)l&&e.push(...l);O(u(e))}}function O(e,l){const C=(0,r.kJ)(e)?e:[...e];for(const r of C)r.computed&&F(r,l);for(const r of C)r.computed||F(r,l)}function F(e,l){(e!==Z||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}function S(e,l){var C;return null==(C=v.get(e))?void 0:C.get(l)}const P=(0,r.fY)("__proto__,__v_isRef,__isVue"),_=new Set(Object.getOwnPropertyNames(Symbol).filter((e=>"arguments"!==e&&"caller"!==e)).map((e=>Symbol[e])).filter(r.yk)),T=I(),E=I(!1,!0),q=I(!0),D=R();function R(){const e={};return["includes","indexOf","lastIndexOf"].forEach((l=>{e[l]=function(...e){const C=Se(this);for(let l=0,t=this.length;l{e[l]=function(...e){x();const C=Se(this)[l].apply(this,e);return k(),C}})),e}function N(e){const l=Se(this);return y(l,"has",e),l.hasOwnProperty(e)}function I(e=!1,l=!1){return function(C,t,o){if("__v_isReactive"===t)return!e;if("__v_isReadonly"===t)return e;if("__v_isShallow"===t)return l;if("__v_raw"===t&&o===(e?l?me:Me:l?we:Ze).get(C))return C;const i=(0,r.kJ)(C);if(!e){if(i&&(0,r.RI)(D,t))return Reflect.get(D,t,o);if("hasOwnProperty"===t)return N}const d=Reflect.get(C,t,o);return((0,r.yk)(t)?_.has(t):P(t))?d:(e||y(C,"get",t),l?d:De(d)?i&&(0,r.S0)(t)?d:d.value:(0,r.Kn)(d)?e?ke(d):be(d):d)}}const $=j(),U=j(!0);function j(e=!1){return function(l,C,t,o){let i=l[C];if(Be(i)&&De(i)&&!De(t))return!1;if(!e&&(Oe(t)||Be(t)||(i=Se(i),t=Se(t)),!(0,r.kJ)(l)&&De(i)&&!De(t)))return i.value=t,!0;const d=(0,r.kJ)(l)&&(0,r.S0)(C)?Number(C)e,J=e=>Reflect.getPrototypeOf(e);function ee(e,l,C=!1,r=!1){e=e["__v_raw"];const t=Se(e),o=Se(l);C||(l!==o&&y(t,"get",l),y(t,"get",o));const{has:i}=J(t),d=r?Q:C?Te:_e;return i.call(t,l)?d(e.get(l)):i.call(t,o)?d(e.get(o)):void(e!==t&&e.get(l))}function le(e,l=!1){const C=this["__v_raw"],r=Se(C),t=Se(e);return l||(e!==t&&y(r,"has",e),y(r,"has",t)),e===t?C.has(e):C.has(e)||C.has(t)}function Ce(e,l=!1){return e=e["__v_raw"],!l&&y(Se(e),"iterate",w),Reflect.get(e,"size",e)}function re(e){e=Se(e);const l=Se(this),C=J(l),r=C.has.call(l,e);return r||(l.add(e),B(l,"add",e,e)),this}function te(e,l){l=Se(l);const C=Se(this),{has:t,get:o}=J(C);let i=t.call(C,e);i||(e=Se(e),i=t.call(C,e));const d=o.call(C,e);return C.set(e,l),i?(0,r.aU)(l,d)&&B(C,"set",e,l,d):B(C,"add",e,l),this}function oe(e){const l=Se(this),{has:C,get:r}=J(l);let t=C.call(l,e);t||(e=Se(e),t=C.call(l,e));const o=r?r.call(l,e):void 0,i=l.delete(e);return t&&B(l,"delete",e,void 0,o),i}function ie(){const e=Se(this),l=0!==e.size,C=void 0,r=e.clear();return l&&B(e,"clear",void 0,void 0,C),r}function de(e,l){return function(C,r){const t=this,o=t["__v_raw"],i=Se(o),d=l?Q:e?Te:_e;return!e&&y(i,"iterate",w),o.forEach(((e,l)=>C.call(r,d(e),d(l),t)))}}function ne(e,l,C){return function(...t){const o=this["__v_raw"],i=Se(o),d=(0,r._N)(i),n="entries"===e||e===Symbol.iterator&&d,c="keys"===e&&d,u=o[e](...t),a=C?Q:l?Te:_e;return!l&&y(i,"iterate",c?M:w),{next(){const{value:e,done:l}=u.next();return l?{value:e,done:l}:{value:n?[a(e[0]),a(e[1])]:a(e),done:l}},[Symbol.iterator](){return this}}}}function ce(e){return function(...l){return"delete"!==e&&this}}function ue(){const e={get(e){return ee(this,e)},get size(){return Ce(this)},has:le,add:re,set:te,delete:oe,clear:ie,forEach:de(!1,!1)},l={get(e){return ee(this,e,!1,!0)},get size(){return Ce(this)},has:le,add:re,set:te,delete:oe,clear:ie,forEach:de(!1,!0)},C={get(e){return ee(this,e,!0)},get size(){return Ce(this,!0)},has(e){return le.call(this,e,!0)},add:ce("add"),set:ce("set"),delete:ce("delete"),clear:ce("clear"),forEach:de(!0,!1)},r={get(e){return ee(this,e,!0,!0)},get size(){return Ce(this,!0)},has(e){return le.call(this,e,!0)},add:ce("add"),set:ce("set"),delete:ce("delete"),clear:ce("clear"),forEach:de(!0,!0)},t=["keys","values","entries",Symbol.iterator];return t.forEach((t=>{e[t]=ne(t,!1,!1),C[t]=ne(t,!0,!1),l[t]=ne(t,!1,!0),r[t]=ne(t,!0,!0)})),[e,C,l,r]}const[ae,pe,fe,se]=ue();function ve(e,l){const C=l?e?se:fe:e?pe:ae;return(l,t,o)=>"__v_isReactive"===t?!e:"__v_isReadonly"===t?e:"__v_raw"===t?l:Reflect.get((0,r.RI)(C,t)&&t in l?C:l,t,o)}const he={get:ve(!1,!1)},Le={get:ve(!1,!0)},ge={get:ve(!0,!1)};const Ze=new WeakMap,we=new WeakMap,Me=new WeakMap,me=new WeakMap;function He(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Ve(e){return e["__v_skip"]||!Object.isExtensible(e)?0:He((0,r.W7)(e))}function be(e){return Be(e)?e:ye(e,!1,W,he,Ze)}function xe(e){return ye(e,!1,X,Le,we)}function ke(e){return ye(e,!0,K,ge,Me)}function ye(e,l,C,t,o){if(!(0,r.Kn)(e))return e;if(e["__v_raw"]&&(!l||!e["__v_isReactive"]))return e;const i=o.get(e);if(i)return i;const d=Ve(e);if(0===d)return e;const n=new Proxy(e,2===d?t:C);return o.set(e,n),n}function Ae(e){return Be(e)?Ae(e["__v_raw"]):!(!e||!e["__v_isReactive"])}function Be(e){return!(!e||!e["__v_isReadonly"])}function Oe(e){return!(!e||!e["__v_isShallow"])}function Fe(e){return Ae(e)||Be(e)}function Se(e){const l=e&&e["__v_raw"];return l?Se(l):e}function Pe(e){return(0,r.Nj)(e,"__v_skip",!0),e}const _e=e=>(0,r.Kn)(e)?be(e):e,Te=e=>(0,r.Kn)(e)?ke(e):e;function Ee(e){V&&Z&&(e=Se(e),A(e.dep||(e.dep=u())))}function qe(e,l){e=Se(e);const C=e.dep;C&&O(C)}function De(e){return!(!e||!0!==e.__v_isRef)}function Re(e){return Ie(e,!1)}function Ne(e){return Ie(e,!0)}function Ie(e,l){return De(e)?e:new $e(e,l)}class $e{constructor(e,l){this.__v_isShallow=l,this.dep=void 0,this.__v_isRef=!0,this._rawValue=l?e:Se(e),this._value=l?e:_e(e)}get value(){return Ee(this),this._value}set value(e){const l=this.__v_isShallow||Oe(e)||Be(e);e=l?e:Se(e),(0,r.aU)(e,this._rawValue)&&(this._rawValue=e,this._value=l?e:_e(e),qe(this,e))}}function Ue(e){return De(e)?e.value:e}const je={get:(e,l,C)=>Ue(Reflect.get(e,l,C)),set:(e,l,C,r)=>{const t=e[l];return De(t)&&!De(C)?(t.value=C,!0):Reflect.set(e,l,C,r)}};function ze(e){return Ae(e)?e:new Proxy(e,je)}function Ye(e){const l=(0,r.kJ)(e)?new Array(e.length):{};for(const C in e)l[C]=We(e,C);return l}class Ge{constructor(e,l,C){this._object=e,this._key=l,this._defaultValue=C,this.__v_isRef=!0}get value(){const e=this._object[this._key];return void 0===e?this._defaultValue:e}set value(e){this._object[this._key]=e}get dep(){return S(Se(this._object),this._key)}}function We(e,l,C){const r=e[l];return De(r)?r:new Ge(e,l,C)}class Ke{constructor(e,l,C,r){this._setter=l,this.dep=void 0,this.__v_isRef=!0,this["__v_isReadonly"]=!1,this._dirty=!0,this.effect=new m(e,(()=>{this._dirty||(this._dirty=!0,qe(this))})),this.effect.computed=this,this.effect.active=this._cacheable=!r,this["__v_isReadonly"]=C}get value(){const e=Se(this);return Ee(e),!e._dirty&&e._cacheable||(e._dirty=!1,e._value=e.effect.run()),e._value}set value(e){this._setter(e)}}function Xe(e,l,C=!1){let t,o;const i=(0,r.mf)(e);i?(t=e,o=r.dG):(t=e.get,o=e.set);const d=new Ke(t,o,i||!o,C);return d}},59835:(e,l,C)=>{"use strict";C.d(l,{$d:()=>i,Ah:()=>Pe,Cn:()=>T,EM:()=>xl,F4:()=>kC,FN:()=>NC,Fl:()=>ir,HY:()=>iC,JJ:()=>Vl,Jd:()=>Se,Ko:()=>Ye,LL:()=>$e,Nv:()=>Ge,Ob:()=>Ze,P$:()=>ie,Q2:()=>Ue,Q6:()=>pe,RC:()=>ve,Rh:()=>Y,Rr:()=>Cl,U2:()=>ne,Uk:()=>AC,Us:()=>zl,WI:()=>We,Wm:()=>bC,Xn:()=>Oe,Y3:()=>g,Y8:()=>Ce,YP:()=>W,_:()=>VC,aZ:()=>fe,bv:()=>Be,dD:()=>_,dG:()=>_C,dl:()=>Me,f3:()=>bl,h:()=>dr,iD:()=>LC,ic:()=>Fe,j4:()=>gC,kq:()=>OC,lR:()=>tC,m0:()=>z,mx:()=>Xe,nJ:()=>te,nK:()=>ae,qG:()=>cC,se:()=>me,uE:()=>BC,up:()=>Ne,w5:()=>E,wF:()=>Ae,wg:()=>pC,wy:()=>ee});var r=C(60499),t=C(86970);function o(e,l,C,r){let t;try{t=r?e(...r):e()}catch(o){d(o,l,C)}return t}function i(e,l,C,r){if((0,t.mf)(e)){const i=o(e,l,C,r);return i&&(0,t.tI)(i)&&i.catch((e=>{d(e,l,C)})),i}const n=[];for(let t=0;t>>1,t=x(a[r]);tp&&a.splice(l,1)}function H(e){(0,t.kJ)(e)?f.push(...e):s&&s.includes(e,e.allowRecurse?v+1:v)||f.push(e),M()}function V(e,l=(c?p+1:0)){for(0;lx(e)-x(l))),v=0;vnull==e.id?1/0:e.id,k=(e,l)=>{const C=x(e)-x(l);if(0===C){if(e.pre&&!l.pre)return-1;if(l.pre&&!e.pre)return 1}return C};function y(e){u=!1,c=!0,a.sort(k);t.dG;try{for(p=0;p(0,t.HD)(e)?e.trim():e))),l&&(o=C.map(t.h5))}let c;let u=r[c=(0,t.hR)(l)]||r[c=(0,t.hR)((0,t._A)(l))];!u&&d&&(u=r[c=(0,t.hR)((0,t.rs)(l))]),u&&i(u,e,6,o);const a=r[c+"Once"];if(a){if(e.emitted){if(e.emitted[c])return}else e.emitted={};e.emitted[c]=!0,i(a,e,6,o)}}function B(e,l,C=!1){const r=l.emitsCache,o=r.get(e);if(void 0!==o)return o;const i=e.emits;let d={},n=!1;if(!(0,t.mf)(e)){const r=e=>{const C=B(e,l,!0);C&&(n=!0,(0,t.l7)(d,C))};!C&&l.mixins.length&&l.mixins.forEach(r),e.extends&&r(e.extends),e.mixins&&e.mixins.forEach(r)}return i||n?((0,t.kJ)(i)?i.forEach((e=>d[e]=null)):(0,t.l7)(d,i),(0,t.Kn)(e)&&r.set(e,d),d):((0,t.Kn)(e)&&r.set(e,null),null)}function O(e,l){return!(!e||!(0,t.F7)(l))&&(l=l.slice(2).replace(/Once$/,""),(0,t.RI)(e,l[0].toLowerCase()+l.slice(1))||(0,t.RI)(e,(0,t.rs)(l))||(0,t.RI)(e,l))}let F=null,S=null;function P(e){const l=F;return F=e,S=e&&e.type.__scopeId||null,l}function _(e){S=e}function T(){S=null}function E(e,l=F,C){if(!l)return e;if(e._n)return e;const r=(...C)=>{r._d&&vC(-1);const t=P(l);let o;try{o=e(...C)}finally{P(t),r._d&&vC(1)}return o};return r._n=!0,r._c=!0,r._d=!0,r}function q(e){const{type:l,vnode:C,proxy:r,withProxy:o,props:i,propsOptions:[n],slots:c,attrs:u,emit:a,render:p,renderCache:f,data:s,setupState:v,ctx:h,inheritAttrs:L}=e;let g,Z;const w=P(e);try{if(4&C.shapeFlag){const e=o||r;g=FC(p.call(e,e,f,i,v,s,h)),Z=u}else{const e=l;0,g=FC(e.length>1?e(i,{attrs:u,slots:c,emit:a}):e(i,null)),Z=l.props?u:D(u)}}catch(m){uC.length=0,d(m,e,1),g=bC(nC)}let M=g;if(Z&&!1!==L){const e=Object.keys(Z),{shapeFlag:l}=M;e.length&&7&l&&(n&&e.some(t.tR)&&(Z=R(Z,n)),M=yC(M,Z))}return C.dirs&&(M=yC(M),M.dirs=M.dirs?M.dirs.concat(C.dirs):C.dirs),C.transition&&(M.transition=C.transition),g=M,P(w),g}const D=e=>{let l;for(const C in e)("class"===C||"style"===C||(0,t.F7)(C))&&((l||(l={}))[C]=e[C]);return l},R=(e,l)=>{const C={};for(const r in e)(0,t.tR)(r)&&r.slice(9)in l||(C[r]=e[r]);return C};function N(e,l,C){const{props:r,children:t,component:o}=e,{props:i,children:d,patchFlag:n}=l,c=o.emitsOptions;if(l.dirs||l.transition)return!0;if(!(C&&n>=0))return!(!t&&!d||d&&d.$stable)||r!==i&&(r?!i||I(r,i,c):!!i);if(1024&n)return!0;if(16&n)return r?I(r,i,c):!!i;if(8&n){const e=l.dynamicProps;for(let l=0;le.__isSuspense;function j(e,l){l&&l.pendingBranch?(0,t.kJ)(e)?l.effects.push(...e):l.effects.push(e):H(e)}function z(e,l){return K(e,null,l)}function Y(e,l){return K(e,null,{flush:"post"})}const G={};function W(e,l,C){return K(e,l,C)}function K(e,l,{immediate:C,deep:d,flush:n,onTrack:c,onTrigger:u}=t.kT){var a;const p=(0,r.nZ)()===(null==(a=RC)?void 0:a.scope)?RC:null;let f,s,v=!1,h=!1;if((0,r.dq)(e)?(f=()=>e.value,v=(0,r.yT)(e)):(0,r.PG)(e)?(f=()=>e,d=!0):(0,t.kJ)(e)?(h=!0,v=e.some((e=>(0,r.PG)(e)||(0,r.yT)(e))),f=()=>e.map((e=>(0,r.dq)(e)?e.value:(0,r.PG)(e)?J(e):(0,t.mf)(e)?o(e,p,2):void 0))):f=(0,t.mf)(e)?l?()=>o(e,p,2):()=>{if(!p||!p.isUnmounted)return s&&s(),i(e,p,3,[g])}:t.dG,l&&d){const e=f;f=()=>J(e())}let L,g=e=>{s=H.onStop=()=>{o(e,p,4)}};if(KC){if(g=t.dG,l?C&&i(l,p,3,[f(),h?[]:void 0,g]):f(),"sync"!==n)return t.dG;{const e=cr();L=e.__watcherHandles||(e.__watcherHandles=[])}}let Z=h?new Array(e.length).fill(G):G;const M=()=>{if(H.active)if(l){const e=H.run();(d||v||(h?e.some(((e,l)=>(0,t.aU)(e,Z[l]))):(0,t.aU)(e,Z)))&&(s&&s(),i(l,p,3,[e,Z===G?void 0:h&&Z[0]===G?[]:Z,g]),Z=e)}else H.run()};let m;M.allowRecurse=!!l,"sync"===n?m=M:"post"===n?m=()=>jl(M,p&&p.suspense):(M.pre=!0,p&&(M.id=p.uid),m=()=>w(M));const H=new r.qq(f,m);l?C?M():Z=H.run():"post"===n?jl(H.run.bind(H),p&&p.suspense):H.run();const V=()=>{H.stop(),p&&p.scope&&(0,t.Od)(p.scope.effects,H)};return L&&L.push(V),V}function X(e,l,C){const r=this.proxy,o=(0,t.HD)(e)?e.includes(".")?Q(r,e):()=>r[e]:e.bind(r,r);let i;(0,t.mf)(l)?i=l:(i=l.handler,C=l);const d=RC;jC(this);const n=K(o,i.bind(r),C);return d?jC(d):zC(),n}function Q(e,l){const C=l.split(".");return()=>{let l=e;for(let e=0;e{J(e,l)}));else if((0,t.PO)(e))for(const C in e)J(e[C],l);return e}function ee(e,l){const C=F;if(null===C)return e;const r=rr(C)||C.proxy,o=e.dirs||(e.dirs=[]);for(let i=0;i{e.isMounted=!0})),Se((()=>{e.isUnmounting=!0})),e}const re=[Function,Array],te={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:re,onEnter:re,onAfterEnter:re,onEnterCancelled:re,onBeforeLeave:re,onLeave:re,onAfterLeave:re,onLeaveCancelled:re,onBeforeAppear:re,onAppear:re,onAfterAppear:re,onAppearCancelled:re},oe={name:"BaseTransition",props:te,setup(e,{slots:l}){const C=NC(),t=Ce();let o;return()=>{const i=l.default&&pe(l.default(),!0);if(!i||!i.length)return;let d=i[0];if(i.length>1){let e=!1;for(const l of i)if(l.type!==nC){0,d=l,e=!0;break}}const n=(0,r.IU)(e),{mode:c}=n;if(t.isLeaving)return ce(d);const u=ue(d);if(!u)return ce(d);const a=ne(u,n,t,C);ae(u,a);const p=C.subTree,f=p&&ue(p);let s=!1;const{getTransitionKey:v}=u.type;if(v){const e=v();void 0===o?o=e:e!==o&&(o=e,s=!0)}if(f&&f.type!==nC&&(!wC(u,f)||s)){const e=ne(f,n,t,C);if(ae(f,e),"out-in"===c)return t.isLeaving=!0,e.afterLeave=()=>{t.isLeaving=!1,!1!==C.update.active&&C.update()},ce(d);"in-out"===c&&u.type!==nC&&(e.delayLeave=(e,l,C)=>{const r=de(t,f);r[String(f.key)]=f,e._leaveCb=()=>{l(),e._leaveCb=void 0,delete a.delayedLeave},a.delayedLeave=C})}return d}}},ie=oe;function de(e,l){const{leavingVNodes:C}=e;let r=C.get(l.type);return r||(r=Object.create(null),C.set(l.type,r)),r}function ne(e,l,C,r){const{appear:o,mode:d,persisted:n=!1,onBeforeEnter:c,onEnter:u,onAfterEnter:a,onEnterCancelled:p,onBeforeLeave:f,onLeave:s,onAfterLeave:v,onLeaveCancelled:h,onBeforeAppear:L,onAppear:g,onAfterAppear:Z,onAppearCancelled:w}=l,M=String(e.key),m=de(C,e),H=(e,l)=>{e&&i(e,r,9,l)},V=(e,l)=>{const C=l[1];H(e,l),(0,t.kJ)(e)?e.every((e=>e.length<=1))&&C():e.length<=1&&C()},b={mode:d,persisted:n,beforeEnter(l){let r=c;if(!C.isMounted){if(!o)return;r=L||c}l._leaveCb&&l._leaveCb(!0);const t=m[M];t&&wC(e,t)&&t.el._leaveCb&&t.el._leaveCb(),H(r,[l])},enter(e){let l=u,r=a,t=p;if(!C.isMounted){if(!o)return;l=g||u,r=Z||a,t=w||p}let i=!1;const d=e._enterCb=l=>{i||(i=!0,H(l?t:r,[e]),b.delayedLeave&&b.delayedLeave(),e._enterCb=void 0)};l?V(l,[e,d]):d()},leave(l,r){const t=String(e.key);if(l._enterCb&&l._enterCb(!0),C.isUnmounting)return r();H(f,[l]);let o=!1;const i=l._leaveCb=C=>{o||(o=!0,r(),H(C?h:v,[l]),l._leaveCb=void 0,m[t]===e&&delete m[t])};m[t]=e,s?V(s,[l,i]):i()},clone(e){return ne(e,l,C,r)}};return b}function ce(e){if(Le(e))return e=yC(e),e.children=null,e}function ue(e){return Le(e)?e.children?e.children[0]:void 0:e}function ae(e,l){6&e.shapeFlag&&e.component?ae(e.component.subTree,l):128&e.shapeFlag?(e.ssContent.transition=l.clone(e.ssContent),e.ssFallback.transition=l.clone(e.ssFallback)):e.transition=l}function pe(e,l=!1,C){let r=[],t=0;for(let o=0;o1)for(let o=0;o(0,t.l7)({name:e.name},l,{setup:e}))():e}const se=e=>!!e.type.__asyncLoader;function ve(e){(0,t.mf)(e)&&(e={loader:e});const{loader:l,loadingComponent:C,errorComponent:o,delay:i=200,timeout:n,suspensible:c=!0,onError:u}=e;let a,p=null,f=0;const s=()=>(f++,p=null,v()),v=()=>{let e;return p||(e=p=l().catch((e=>{if(e=e instanceof Error?e:new Error(String(e)),u)return new Promise(((l,C)=>{const r=()=>l(s()),t=()=>C(e);u(e,r,t,f+1)}));throw e})).then((l=>e!==p&&p?p:(l&&(l.__esModule||"Module"===l[Symbol.toStringTag])&&(l=l.default),a=l,l))))};return fe({name:"AsyncComponentWrapper",__asyncLoader:v,get __asyncResolved(){return a},setup(){const e=RC;if(a)return()=>he(a,e);const l=l=>{p=null,d(l,e,13,!o)};if(c&&e.suspense||KC)return v().then((l=>()=>he(l,e))).catch((e=>(l(e),()=>o?bC(o,{error:e}):null)));const t=(0,r.iH)(!1),u=(0,r.iH)(),f=(0,r.iH)(!!i);return i&&setTimeout((()=>{f.value=!1}),i),null!=n&&setTimeout((()=>{if(!t.value&&!u.value){const e=new Error(`Async component timed out after ${n}ms.`);l(e),u.value=e}}),n),v().then((()=>{t.value=!0,e.parent&&Le(e.parent.vnode)&&w(e.parent.update)})).catch((e=>{l(e),u.value=e})),()=>t.value&&a?he(a,e):u.value&&o?bC(o,{error:u.value}):C&&!f.value?bC(C):void 0}})}function he(e,l){const{ref:C,props:r,children:t,ce:o}=l.vnode,i=bC(e,r,t);return i.ref=C,i.ce=o,delete l.vnode.ce,i}const Le=e=>e.type.__isKeepAlive,ge={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:l}){const C=NC(),r=C.ctx;if(!r.renderer)return()=>{const e=l.default&&l.default();return e&&1===e.length?e[0]:e};const o=new Map,i=new Set;let d=null;const n=C.suspense,{renderer:{p:c,m:u,um:a,o:{createElement:p}}}=r,f=p("div");function s(e){be(e),a(e,C,n,!0)}function v(e){o.forEach(((l,C)=>{const r=tr(l.type);!r||e&&e(r)||h(C)}))}function h(e){const l=o.get(e);d&&wC(l,d)?d&&be(d):s(l),o.delete(e),i.delete(e)}r.activate=(e,l,C,r,o)=>{const i=e.component;u(e,l,C,0,n),c(i.vnode,e,l,C,i,n,r,e.slotScopeIds,o),jl((()=>{i.isDeactivated=!1,i.a&&(0,t.ir)(i.a);const l=e.props&&e.props.onVnodeMounted;l&&TC(l,i.parent,e)}),n)},r.deactivate=e=>{const l=e.component;u(e,f,null,1,n),jl((()=>{l.da&&(0,t.ir)(l.da);const C=e.props&&e.props.onVnodeUnmounted;C&&TC(C,l.parent,e),l.isDeactivated=!0}),n)},W((()=>[e.include,e.exclude]),(([e,l])=>{e&&v((l=>we(e,l))),l&&v((e=>!we(l,e)))}),{flush:"post",deep:!0});let L=null;const g=()=>{null!=L&&o.set(L,xe(C.subTree))};return Be(g),Fe(g),Se((()=>{o.forEach((e=>{const{subTree:l,suspense:r}=C,t=xe(l);if(e.type!==t.type||e.key!==t.key)s(e);else{be(t);const e=t.component.da;e&&jl(e,r)}}))})),()=>{if(L=null,!l.default)return null;const C=l.default(),r=C[0];if(C.length>1)return d=null,C;if(!ZC(r)||!(4&r.shapeFlag)&&!(128&r.shapeFlag))return d=null,r;let t=xe(r);const n=t.type,c=tr(se(t)?t.type.__asyncResolved||{}:n),{include:u,exclude:a,max:p}=e;if(u&&(!c||!we(u,c))||a&&c&&we(a,c))return d=t,r;const f=null==t.key?n:t.key,s=o.get(f);return t.el&&(t=yC(t),128&r.shapeFlag&&(r.ssContent=t)),L=f,s?(t.el=s.el,t.component=s.component,t.transition&&ae(t,t.transition),t.shapeFlag|=512,i.delete(f),i.add(f)):(i.add(f),p&&i.size>parseInt(p,10)&&h(i.values().next().value)),t.shapeFlag|=256,d=t,U(r.type)?r:t}}},Ze=ge;function we(e,l){return(0,t.kJ)(e)?e.some((e=>we(e,l))):(0,t.HD)(e)?e.split(",").includes(l):!!(0,t.Kj)(e)&&e.test(l)}function Me(e,l){He(e,"a",l)}function me(e,l){He(e,"da",l)}function He(e,l,C=RC){const r=e.__wdc||(e.__wdc=()=>{let l=C;while(l){if(l.isDeactivated)return;l=l.parent}return e()});if(ke(l,r,C),C){let e=C.parent;while(e&&e.parent)Le(e.parent.vnode)&&Ve(r,l,C,e),e=e.parent}}function Ve(e,l,C,r){const o=ke(l,e,r,!0);Pe((()=>{(0,t.Od)(r[l],o)}),C)}function be(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function xe(e){return 128&e.shapeFlag?e.ssContent:e}function ke(e,l,C=RC,t=!1){if(C){const o=C[e]||(C[e]=[]),d=l.__weh||(l.__weh=(...t)=>{if(C.isUnmounted)return;(0,r.Jd)(),jC(C);const o=i(l,C,e,t);return zC(),(0,r.lk)(),o});return t?o.unshift(d):o.push(d),d}}const ye=e=>(l,C=RC)=>(!KC||"sp"===e)&&ke(e,((...e)=>l(...e)),C),Ae=ye("bm"),Be=ye("m"),Oe=ye("bu"),Fe=ye("u"),Se=ye("bum"),Pe=ye("um"),_e=ye("sp"),Te=ye("rtg"),Ee=ye("rtc");function qe(e,l=RC){ke("ec",e,l)}const De="components",Re="directives";function Ne(e,l){return je(De,e,!0,l)||e}const Ie=Symbol.for("v-ndc");function $e(e){return(0,t.HD)(e)?je(De,e,!1)||e:e||Ie}function Ue(e){return je(Re,e)}function je(e,l,C=!0,r=!1){const o=F||RC;if(o){const C=o.type;if(e===De){const e=tr(C,!1);if(e&&(e===l||e===(0,t._A)(l)||e===(0,t.kC)((0,t._A)(l))))return C}const i=ze(o[e]||C[e],l)||ze(o.appContext[e],l);return!i&&r?C:i}}function ze(e,l){return e&&(e[l]||e[(0,t._A)(l)]||e[(0,t.kC)((0,t._A)(l))])}function Ye(e,l,C,r){let o;const i=C&&C[r];if((0,t.kJ)(e)||(0,t.HD)(e)){o=new Array(e.length);for(let C=0,r=e.length;Cl(e,C,void 0,i&&i[C])));else{const C=Object.keys(e);o=new Array(C.length);for(let r=0,t=C.length;r{const l=r.fn(...e);return l&&(l.key=r.key),l}:r.fn)}return e}function We(e,l,C={},r,t){if(F.isCE||F.parent&&se(F.parent)&&F.parent.isCE)return"default"!==l&&(C.name=l),bC("slot",C,r&&r());let o=e[l];o&&o._c&&(o._d=!1),pC();const i=o&&Ke(o(C)),d=gC(iC,{key:C.key||i&&i.key||`_${l}`},i||(r?r():[]),i&&1===e._?64:-2);return!t&&d.scopeId&&(d.slotScopeIds=[d.scopeId+"-s"]),o&&o._c&&(o._d=!0),d}function Ke(e){return e.some((e=>!ZC(e)||e.type!==nC&&!(e.type===iC&&!Ke(e.children))))?e:null}function Xe(e,l){const C={};for(const r in e)C[l&&/[A-Z]/.test(r)?`on:${r}`:(0,t.hR)(r)]=e[r];return C}const Qe=e=>e?YC(e)?rr(e)||e.proxy:Qe(e.parent):null,Je=(0,t.l7)(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Qe(e.parent),$root:e=>Qe(e.root),$emit:e=>e.emit,$options:e=>ul(e),$forceUpdate:e=>e.f||(e.f=()=>w(e.update)),$nextTick:e=>e.n||(e.n=g.bind(e.proxy)),$watch:e=>X.bind(e)}),el=(e,l)=>e!==t.kT&&!e.__isScriptSetup&&(0,t.RI)(e,l),ll={get({_:e},l){const{ctx:C,setupState:o,data:i,props:d,accessCache:n,type:c,appContext:u}=e;let a;if("$"!==l[0]){const r=n[l];if(void 0!==r)switch(r){case 1:return o[l];case 2:return i[l];case 4:return C[l];case 3:return d[l]}else{if(el(o,l))return n[l]=1,o[l];if(i!==t.kT&&(0,t.RI)(i,l))return n[l]=2,i[l];if((a=e.propsOptions[0])&&(0,t.RI)(a,l))return n[l]=3,d[l];if(C!==t.kT&&(0,t.RI)(C,l))return n[l]=4,C[l];ol&&(n[l]=0)}}const p=Je[l];let f,s;return p?("$attrs"===l&&(0,r.j)(e,"get",l),p(e)):(f=c.__cssModules)&&(f=f[l])?f:C!==t.kT&&(0,t.RI)(C,l)?(n[l]=4,C[l]):(s=u.config.globalProperties,(0,t.RI)(s,l)?s[l]:void 0)},set({_:e},l,C){const{data:r,setupState:o,ctx:i}=e;return el(o,l)?(o[l]=C,!0):r!==t.kT&&(0,t.RI)(r,l)?(r[l]=C,!0):!(0,t.RI)(e.props,l)&&(("$"!==l[0]||!(l.slice(1)in e))&&(i[l]=C,!0))},has({_:{data:e,setupState:l,accessCache:C,ctx:r,appContext:o,propsOptions:i}},d){let n;return!!C[d]||e!==t.kT&&(0,t.RI)(e,d)||el(l,d)||(n=i[0])&&(0,t.RI)(n,d)||(0,t.RI)(r,d)||(0,t.RI)(Je,d)||(0,t.RI)(o.config.globalProperties,d)},defineProperty(e,l,C){return null!=C.get?e._.accessCache[l]=0:(0,t.RI)(C,"value")&&this.set(e,l,C.value,null),Reflect.defineProperty(e,l,C)}};function Cl(){return rl().slots}function rl(){const e=NC();return e.setupContext||(e.setupContext=Cr(e))}function tl(e){return(0,t.kJ)(e)?e.reduce(((e,l)=>(e[l]=null,e)),{}):e}let ol=!0;function il(e){const l=ul(e),C=e.proxy,o=e.ctx;ol=!1,l.beforeCreate&&nl(l.beforeCreate,e,"bc");const{data:i,computed:d,methods:n,watch:c,provide:u,inject:a,created:p,beforeMount:f,mounted:s,beforeUpdate:v,updated:h,activated:L,deactivated:g,beforeDestroy:Z,beforeUnmount:w,destroyed:M,unmounted:m,render:H,renderTracked:V,renderTriggered:b,errorCaptured:x,serverPrefetch:k,expose:y,inheritAttrs:A,components:B,directives:O,filters:F}=l,S=null;if(a&&dl(a,o,S),n)for(const r in n){const e=n[r];(0,t.mf)(e)&&(o[r]=e.bind(C))}if(i){0;const l=i.call(C,C);0,(0,t.Kn)(l)&&(e.data=(0,r.qj)(l))}if(ol=!0,d)for(const r in d){const e=d[r],l=(0,t.mf)(e)?e.bind(C,C):(0,t.mf)(e.get)?e.get.bind(C,C):t.dG;0;const i=!(0,t.mf)(e)&&(0,t.mf)(e.set)?e.set.bind(C):t.dG,n=ir({get:l,set:i});Object.defineProperty(o,r,{enumerable:!0,configurable:!0,get:()=>n.value,set:e=>n.value=e})}if(c)for(const r in c)cl(c[r],o,C,r);if(u){const e=(0,t.mf)(u)?u.call(C):u;Reflect.ownKeys(e).forEach((l=>{Vl(l,e[l])}))}function P(e,l){(0,t.kJ)(l)?l.forEach((l=>e(l.bind(C)))):l&&e(l.bind(C))}if(p&&nl(p,e,"c"),P(Ae,f),P(Be,s),P(Oe,v),P(Fe,h),P(Me,L),P(me,g),P(qe,x),P(Ee,V),P(Te,b),P(Se,w),P(Pe,m),P(_e,k),(0,t.kJ)(y))if(y.length){const l=e.exposed||(e.exposed={});y.forEach((e=>{Object.defineProperty(l,e,{get:()=>C[e],set:l=>C[e]=l})}))}else e.exposed||(e.exposed={});H&&e.render===t.dG&&(e.render=H),null!=A&&(e.inheritAttrs=A),B&&(e.components=B),O&&(e.directives=O)}function dl(e,l,C=t.dG){(0,t.kJ)(e)&&(e=vl(e));for(const o in e){const C=e[o];let i;i=(0,t.Kn)(C)?"default"in C?bl(C.from||o,C.default,!0):bl(C.from||o):bl(C),(0,r.dq)(i)?Object.defineProperty(l,o,{enumerable:!0,configurable:!0,get:()=>i.value,set:e=>i.value=e}):l[o]=i}}function nl(e,l,C){i((0,t.kJ)(e)?e.map((e=>e.bind(l.proxy))):e.bind(l.proxy),l,C)}function cl(e,l,C,r){const o=r.includes(".")?Q(C,r):()=>C[r];if((0,t.HD)(e)){const C=l[e];(0,t.mf)(C)&&W(o,C)}else if((0,t.mf)(e))W(o,e.bind(C));else if((0,t.Kn)(e))if((0,t.kJ)(e))e.forEach((e=>cl(e,l,C,r)));else{const r=(0,t.mf)(e.handler)?e.handler.bind(C):l[e.handler];(0,t.mf)(r)&&W(o,r,e)}else 0}function ul(e){const l=e.type,{mixins:C,extends:r}=l,{mixins:o,optionsCache:i,config:{optionMergeStrategies:d}}=e.appContext,n=i.get(l);let c;return n?c=n:o.length||C||r?(c={},o.length&&o.forEach((e=>al(c,e,d,!0))),al(c,l,d)):c=l,(0,t.Kn)(l)&&i.set(l,c),c}function al(e,l,C,r=!1){const{mixins:t,extends:o}=l;o&&al(e,o,C,!0),t&&t.forEach((l=>al(e,l,C,!0)));for(const i in l)if(r&&"expose"===i);else{const r=pl[i]||C&&C[i];e[i]=r?r(e[i],l[i]):l[i]}return e}const pl={data:fl,props:gl,emits:gl,methods:Ll,computed:Ll,beforeCreate:hl,created:hl,beforeMount:hl,mounted:hl,beforeUpdate:hl,updated:hl,beforeDestroy:hl,beforeUnmount:hl,destroyed:hl,unmounted:hl,activated:hl,deactivated:hl,errorCaptured:hl,serverPrefetch:hl,components:Ll,directives:Ll,watch:Zl,provide:fl,inject:sl};function fl(e,l){return l?e?function(){return(0,t.l7)((0,t.mf)(e)?e.call(this,this):e,(0,t.mf)(l)?l.call(this,this):l)}:l:e}function sl(e,l){return Ll(vl(e),vl(l))}function vl(e){if((0,t.kJ)(e)){const l={};for(let C=0;C1)return C&&(0,t.mf)(l)?l.call(r&&r.proxy):l}else 0}function xl(){return!!(RC||F||Hl)}function kl(e,l,C,o=!1){const i={},d={};(0,t.Nj)(d,MC,1),e.propsDefaults=Object.create(null),Al(e,l,i,d);for(const r in e.propsOptions[0])r in i||(i[r]=void 0);C?e.props=o?i:(0,r.Um)(i):e.type.props?e.props=i:e.props=d,e.attrs=d}function yl(e,l,C,o){const{props:i,attrs:d,vnode:{patchFlag:n}}=e,c=(0,r.IU)(i),[u]=e.propsOptions;let a=!1;if(!(o||n>0)||16&n){let r;Al(e,l,i,d)&&(a=!0);for(const o in c)l&&((0,t.RI)(l,o)||(r=(0,t.rs)(o))!==o&&(0,t.RI)(l,r))||(u?!C||void 0===C[o]&&void 0===C[r]||(i[o]=Bl(u,c,o,void 0,e,!0)):delete i[o]);if(d!==c)for(const e in d)l&&(0,t.RI)(l,e)||(delete d[e],a=!0)}else if(8&n){const C=e.vnode.dynamicProps;for(let r=0;r{c=!0;const[C,r]=Ol(e,l,!0);(0,t.l7)(d,C),r&&n.push(...r)};!C&&l.mixins.length&&l.mixins.forEach(r),e.extends&&r(e.extends),e.mixins&&e.mixins.forEach(r)}if(!i&&!c)return(0,t.Kn)(e)&&r.set(e,t.Z6),t.Z6;if((0,t.kJ)(i))for(let a=0;a-1,r[1]=C<0||e-1||(0,t.RI)(r,"default"))&&n.push(l)}}}}const u=[d,n];return(0,t.Kn)(e)&&r.set(e,u),u}function Fl(e){return"$"!==e[0]}function Sl(e){const l=e&&e.toString().match(/^\s*(function|class) (\w+)/);return l?l[2]:null===e?"null":""}function Pl(e,l){return Sl(e)===Sl(l)}function _l(e,l){return(0,t.kJ)(l)?l.findIndex((l=>Pl(l,e))):(0,t.mf)(l)&&Pl(l,e)?0:-1}const Tl=e=>"_"===e[0]||"$stable"===e,El=e=>(0,t.kJ)(e)?e.map(FC):[FC(e)],ql=(e,l,C)=>{if(l._n)return l;const r=E(((...e)=>El(l(...e))),C);return r._c=!1,r},Dl=(e,l,C)=>{const r=e._ctx;for(const o in e){if(Tl(o))continue;const C=e[o];if((0,t.mf)(C))l[o]=ql(o,C,r);else if(null!=C){0;const e=El(C);l[o]=()=>e}}},Rl=(e,l)=>{const C=El(l);e.slots.default=()=>C},Nl=(e,l)=>{if(32&e.vnode.shapeFlag){const C=l._;C?(e.slots=(0,r.IU)(l),(0,t.Nj)(l,"_",C)):Dl(l,e.slots={})}else e.slots={},l&&Rl(e,l);(0,t.Nj)(e.slots,MC,1)},Il=(e,l,C)=>{const{vnode:r,slots:o}=e;let i=!0,d=t.kT;if(32&r.shapeFlag){const e=l._;e?C&&1===e?i=!1:((0,t.l7)(o,l),C||1!==e||delete o._):(i=!l.$stable,Dl(l,o)),d=l}else l&&(Rl(e,l),d={default:1});if(i)for(const t in o)Tl(t)||t in d||delete o[t]};function $l(e,l,C,i,d=!1){if((0,t.kJ)(e))return void e.forEach(((e,r)=>$l(e,l&&((0,t.kJ)(l)?l[r]:l),C,i,d)));if(se(i)&&!d)return;const n=4&i.shapeFlag?rr(i.component)||i.component.proxy:i.el,c=d?null:n,{i:u,r:a}=e;const p=l&&l.r,f=u.refs===t.kT?u.refs={}:u.refs,s=u.setupState;if(null!=p&&p!==a&&((0,t.HD)(p)?(f[p]=null,(0,t.RI)(s,p)&&(s[p]=null)):(0,r.dq)(p)&&(p.value=null)),(0,t.mf)(a))o(a,u,12,[c,f]);else{const l=(0,t.HD)(a),o=(0,r.dq)(a);if(l||o){const r=()=>{if(e.f){const C=l?(0,t.RI)(s,a)?s[a]:f[a]:a.value;d?(0,t.kJ)(C)&&(0,t.Od)(C,n):(0,t.kJ)(C)?C.includes(n)||C.push(n):l?(f[a]=[n],(0,t.RI)(s,a)&&(s[a]=f[a])):(a.value=[n],e.k&&(f[e.k]=a.value))}else l?(f[a]=c,(0,t.RI)(s,a)&&(s[a]=c)):o&&(a.value=c,e.k&&(f[e.k]=c))};c?(r.id=-1,jl(r,C)):r()}else 0}}function Ul(){}const jl=j;function zl(e){return Yl(e)}function Yl(e,l){Ul();const C=(0,t.E9)();C.__VUE__=!0;const{insert:o,remove:i,patchProp:d,createElement:n,createText:c,createComment:u,setText:a,setElementText:p,parentNode:f,nextSibling:s,setScopeId:v=t.dG,insertStaticContent:h}=e,L=(e,l,C,r=null,t=null,o=null,i=!1,d=null,n=!!l.dynamicChildren)=>{if(e===l)return;e&&!wC(e,l)&&(r=Q(e),Y(e,t,o,!0),e=null),-2===l.patchFlag&&(n=!1,l.dynamicChildren=null);const{type:c,ref:u,shapeFlag:a}=l;switch(c){case dC:g(e,l,C,r);break;case nC:Z(e,l,C,r);break;case cC:null==e&&M(l,C,r,i);break;case iC:P(e,l,C,r,t,o,i,d,n);break;default:1&a?k(e,l,C,r,t,o,i,d,n):6&a?_(e,l,C,r,t,o,i,d,n):(64&a||128&a)&&c.process(e,l,C,r,t,o,i,d,n,ee)}null!=u&&t&&$l(u,e&&e.ref,o,l||e,!l)},g=(e,l,C,r)=>{if(null==e)o(l.el=c(l.children),C,r);else{const C=l.el=e.el;l.children!==e.children&&a(C,l.children)}},Z=(e,l,C,r)=>{null==e?o(l.el=u(l.children||""),C,r):l.el=e.el},M=(e,l,C,r)=>{[e.el,e.anchor]=h(e.children,l,C,r,e.el,e.anchor)},H=({el:e,anchor:l},C,r)=>{let t;while(e&&e!==l)t=s(e),o(e,C,r),e=t;o(l,C,r)},x=({el:e,anchor:l})=>{let C;while(e&&e!==l)C=s(e),i(e),e=C;i(l)},k=(e,l,C,r,t,o,i,d,n)=>{i=i||"svg"===l.type,null==e?y(l,C,r,t,o,i,d,n):O(e,l,t,o,i,d,n)},y=(e,l,C,r,i,c,u,a)=>{let f,s;const{type:v,props:h,shapeFlag:L,transition:g,dirs:Z}=e;if(f=e.el=n(e.type,c,h&&h.is,h),8&L?p(f,e.children):16&L&&B(e.children,f,null,r,i,c&&"foreignObject"!==v,u,a),Z&&le(e,null,r,"created"),A(f,e,e.scopeId,u,r),h){for(const l in h)"value"===l||(0,t.Gg)(l)||d(f,l,null,h[l],c,e.children,r,i,X);"value"in h&&d(f,"value",null,h.value),(s=h.onVnodeBeforeMount)&&TC(s,r,e)}Z&&le(e,null,r,"beforeMount");const w=(!i||i&&!i.pendingBranch)&&g&&!g.persisted;w&&g.beforeEnter(f),o(f,l,C),((s=h&&h.onVnodeMounted)||w||Z)&&jl((()=>{s&&TC(s,r,e),w&&g.enter(f),Z&&le(e,null,r,"mounted")}),i)},A=(e,l,C,r,t)=>{if(C&&v(e,C),r)for(let o=0;o{for(let c=n;c{const c=l.el=e.el;let{patchFlag:u,dynamicChildren:a,dirs:f}=l;u|=16&e.patchFlag;const s=e.props||t.kT,v=l.props||t.kT;let h;C&&Gl(C,!1),(h=v.onVnodeBeforeUpdate)&&TC(h,C,l,e),f&&le(l,e,C,"beforeUpdate"),C&&Gl(C,!0);const L=o&&"foreignObject"!==l.type;if(a?F(e.dynamicChildren,a,c,C,r,L,i):n||I(e,l,c,null,C,r,L,i,!1),u>0){if(16&u)S(c,l,s,v,C,r,o);else if(2&u&&s.class!==v.class&&d(c,"class",null,v.class,o),4&u&&d(c,"style",s.style,v.style,o),8&u){const t=l.dynamicProps;for(let l=0;l{h&&TC(h,C,l,e),f&&le(l,e,C,"updated")}),r)},F=(e,l,C,r,t,o,i)=>{for(let d=0;d{if(C!==r){if(C!==t.kT)for(const c in C)(0,t.Gg)(c)||c in r||d(e,c,C[c],null,n,l.children,o,i,X);for(const c in r){if((0,t.Gg)(c))continue;const u=r[c],a=C[c];u!==a&&"value"!==c&&d(e,c,a,u,n,l.children,o,i,X)}"value"in r&&d(e,"value",C.value,r.value)}},P=(e,l,C,r,t,i,d,n,u)=>{const a=l.el=e?e.el:c(""),p=l.anchor=e?e.anchor:c("");let{patchFlag:f,dynamicChildren:s,slotScopeIds:v}=l;v&&(n=n?n.concat(v):v),null==e?(o(a,C,r),o(p,C,r),B(l.children,C,p,t,i,d,n,u)):f>0&&64&f&&s&&e.dynamicChildren?(F(e.dynamicChildren,s,C,t,i,d,n),(null!=l.key||t&&l===t.subTree)&&Wl(e,l,!0)):I(e,l,C,p,t,i,d,n,u)},_=(e,l,C,r,t,o,i,d,n)=>{l.slotScopeIds=d,null==e?512&l.shapeFlag?t.ctx.activate(l,C,r,i,n):T(l,C,r,t,o,i,n):E(e,l,n)},T=(e,l,C,r,t,o,i)=>{const d=e.component=DC(e,r,t);if(Le(e)&&(d.ctx.renderer=ee),XC(d),d.asyncDep){if(t&&t.registerDep(d,D),!e.el){const e=d.subTree=bC(nC);Z(null,e,l,C)}}else D(d,e,l,C,t,o,i)},E=(e,l,C)=>{const r=l.component=e.component;if(N(e,l,C)){if(r.asyncDep&&!r.asyncResolved)return void R(r,l,C);r.next=l,m(r.update),r.update()}else l.el=e.el,r.vnode=l},D=(e,l,C,o,i,d,n)=>{const c=()=>{if(e.isMounted){let l,{next:C,bu:r,u:o,parent:c,vnode:u}=e,a=C;0,Gl(e,!1),C?(C.el=u.el,R(e,C,n)):C=u,r&&(0,t.ir)(r),(l=C.props&&C.props.onVnodeBeforeUpdate)&&TC(l,c,C,u),Gl(e,!0);const p=q(e);0;const s=e.subTree;e.subTree=p,L(s,p,f(s.el),Q(s),e,i,d),C.el=p.el,null===a&&$(e,p.el),o&&jl(o,i),(l=C.props&&C.props.onVnodeUpdated)&&jl((()=>TC(l,c,C,u)),i)}else{let r;const{el:n,props:c}=l,{bm:u,m:a,parent:p}=e,f=se(l);if(Gl(e,!1),u&&(0,t.ir)(u),!f&&(r=c&&c.onVnodeBeforeMount)&&TC(r,p,l),Gl(e,!0),n&&re){const C=()=>{e.subTree=q(e),re(n,e.subTree,e,i,null)};f?l.type.__asyncLoader().then((()=>!e.isUnmounted&&C())):C()}else{0;const r=e.subTree=q(e);0,L(null,r,C,o,e,i,d),l.el=r.el}if(a&&jl(a,i),!f&&(r=c&&c.onVnodeMounted)){const e=l;jl((()=>TC(r,p,e)),i)}(256&l.shapeFlag||p&&se(p.vnode)&&256&p.vnode.shapeFlag)&&e.a&&jl(e.a,i),e.isMounted=!0,l=C=o=null}},u=e.effect=new r.qq(c,(()=>w(a)),e.scope),a=e.update=()=>u.run();a.id=e.uid,Gl(e,!0),a()},R=(e,l,C)=>{l.component=e;const t=e.vnode.props;e.vnode=l,e.next=null,yl(e,l.props,t,C),Il(e,l.children,C),(0,r.Jd)(),V(),(0,r.lk)()},I=(e,l,C,r,t,o,i,d,n=!1)=>{const c=e&&e.children,u=e?e.shapeFlag:0,a=l.children,{patchFlag:f,shapeFlag:s}=l;if(f>0){if(128&f)return void j(c,a,C,r,t,o,i,d,n);if(256&f)return void U(c,a,C,r,t,o,i,d,n)}8&s?(16&u&&X(c,t,o),a!==c&&p(C,a)):16&u?16&s?j(c,a,C,r,t,o,i,d,n):X(c,t,o,!0):(8&u&&p(C,""),16&s&&B(a,C,r,t,o,i,d,n))},U=(e,l,C,r,o,i,d,n,c)=>{e=e||t.Z6,l=l||t.Z6;const u=e.length,a=l.length,p=Math.min(u,a);let f;for(f=0;fa?X(e,o,i,!0,!1,p):B(l,C,r,o,i,d,n,c,p)},j=(e,l,C,r,o,i,d,n,c)=>{let u=0;const a=l.length;let p=e.length-1,f=a-1;while(u<=p&&u<=f){const r=e[u],t=l[u]=c?SC(l[u]):FC(l[u]);if(!wC(r,t))break;L(r,t,C,null,o,i,d,n,c),u++}while(u<=p&&u<=f){const r=e[p],t=l[f]=c?SC(l[f]):FC(l[f]);if(!wC(r,t))break;L(r,t,C,null,o,i,d,n,c),p--,f--}if(u>p){if(u<=f){const e=f+1,t=ef)while(u<=p)Y(e[u],o,i,!0),u++;else{const s=u,v=u,h=new Map;for(u=v;u<=f;u++){const e=l[u]=c?SC(l[u]):FC(l[u]);null!=e.key&&h.set(e.key,u)}let g,Z=0;const w=f-v+1;let M=!1,m=0;const H=new Array(w);for(u=0;u=w){Y(r,o,i,!0);continue}let t;if(null!=r.key)t=h.get(r.key);else for(g=v;g<=f;g++)if(0===H[g-v]&&wC(r,l[g])){t=g;break}void 0===t?Y(r,o,i,!0):(H[t-v]=u+1,t>=m?m=t:M=!0,L(r,l[t],C,null,o,i,d,n,c),Z++)}const V=M?Kl(H):t.Z6;for(g=V.length-1,u=w-1;u>=0;u--){const e=v+u,t=l[e],p=e+1{const{el:i,type:d,transition:n,children:c,shapeFlag:u}=e;if(6&u)return void z(e.component.subTree,l,C,r);if(128&u)return void e.suspense.move(l,C,r);if(64&u)return void d.move(e,l,C,ee);if(d===iC){o(i,l,C);for(let e=0;en.enter(i)),t);else{const{leave:e,delayLeave:r,afterLeave:t}=n,d=()=>o(i,l,C),c=()=>{e(i,(()=>{d(),t&&t()}))};r?r(i,d,c):c()}else o(i,l,C)},Y=(e,l,C,r=!1,t=!1)=>{const{type:o,props:i,ref:d,children:n,dynamicChildren:c,shapeFlag:u,patchFlag:a,dirs:p}=e;if(null!=d&&$l(d,null,C,e,!0),256&u)return void l.ctx.deactivate(e);const f=1&u&&p,s=!se(e);let v;if(s&&(v=i&&i.onVnodeBeforeUnmount)&&TC(v,l,e),6&u)K(e.component,C,r);else{if(128&u)return void e.suspense.unmount(C,r);f&&le(e,null,l,"beforeUnmount"),64&u?e.type.remove(e,l,C,t,ee,r):c&&(o!==iC||a>0&&64&a)?X(c,l,C,!1,!0):(o===iC&&384&a||!t&&16&u)&&X(n,l,C),r&&G(e)}(s&&(v=i&&i.onVnodeUnmounted)||f)&&jl((()=>{v&&TC(v,l,e),f&&le(e,null,l,"unmounted")}),C)},G=e=>{const{type:l,el:C,anchor:r,transition:t}=e;if(l===iC)return void W(C,r);if(l===cC)return void x(e);const o=()=>{i(C),t&&!t.persisted&&t.afterLeave&&t.afterLeave()};if(1&e.shapeFlag&&t&&!t.persisted){const{leave:l,delayLeave:r}=t,i=()=>l(C,o);r?r(e.el,o,i):i()}else o()},W=(e,l)=>{let C;while(e!==l)C=s(e),i(e),e=C;i(l)},K=(e,l,C)=>{const{bum:r,scope:o,update:i,subTree:d,um:n}=e;r&&(0,t.ir)(r),o.stop(),i&&(i.active=!1,Y(d,e,l,C)),n&&jl(n,l),jl((()=>{e.isUnmounted=!0}),l),l&&l.pendingBranch&&!l.isUnmounted&&e.asyncDep&&!e.asyncResolved&&e.suspenseId===l.pendingId&&(l.deps--,0===l.deps&&l.resolve())},X=(e,l,C,r=!1,t=!1,o=0)=>{for(let i=o;i6&e.shapeFlag?Q(e.component.subTree):128&e.shapeFlag?e.suspense.next():s(e.anchor||e.el),J=(e,l,C)=>{null==e?l._vnode&&Y(l._vnode,null,null,!0):L(l._vnode||null,e,l,null,null,null,C),V(),b(),l._vnode=e},ee={p:L,um:Y,m:z,r:G,mt:T,mc:B,pc:I,pbc:F,n:Q,o:e};let Ce,re;return l&&([Ce,re]=l(ee)),{render:J,hydrate:Ce,createApp:ml(J,Ce)}}function Gl({effect:e,update:l},C){e.allowRecurse=l.allowRecurse=C}function Wl(e,l,C=!1){const r=e.children,o=l.children;if((0,t.kJ)(r)&&(0,t.kJ)(o))for(let t=0;t>1,e[C[d]]0&&(l[r]=C[o-1]),C[o]=r)}}o=C.length,i=C[o-1];while(o-- >0)C[o]=i,i=l[i];return C}const Xl=e=>e.__isTeleport,Ql=e=>e&&(e.disabled||""===e.disabled),Jl=e=>"undefined"!==typeof SVGElement&&e instanceof SVGElement,eC=(e,l)=>{const C=e&&e.to;if((0,t.HD)(C)){if(l){const e=l(C);return e}return null}return C},lC={__isTeleport:!0,process(e,l,C,r,t,o,i,d,n,c){const{mc:u,pc:a,pbc:p,o:{insert:f,querySelector:s,createText:v,createComment:h}}=c,L=Ql(l.props);let{shapeFlag:g,children:Z,dynamicChildren:w}=l;if(null==e){const e=l.el=v(""),c=l.anchor=v("");f(e,C,r),f(c,C,r);const a=l.target=eC(l.props,s),p=l.targetAnchor=v("");a&&(f(p,a),i=i||Jl(a));const h=(e,l)=>{16&g&&u(Z,e,l,t,o,i,d,n)};L?h(C,c):a&&h(a,p)}else{l.el=e.el;const r=l.anchor=e.anchor,u=l.target=e.target,f=l.targetAnchor=e.targetAnchor,v=Ql(e.props),h=v?C:u,g=v?r:f;if(i=i||Jl(u),w?(p(e.dynamicChildren,w,h,t,o,i,d),Wl(e,l,!0)):n||a(e,l,h,g,t,o,i,d,!1),L)v||CC(l,C,r,c,1);else if((l.props&&l.props.to)!==(e.props&&e.props.to)){const e=l.target=eC(l.props,s);e&&CC(l,e,null,c,0)}else v&&CC(l,u,f,c,1)}oC(l)},remove(e,l,C,r,{um:t,o:{remove:o}},i){const{shapeFlag:d,children:n,anchor:c,targetAnchor:u,target:a,props:p}=e;if(a&&o(u),(i||!Ql(p))&&(o(c),16&d))for(let f=0;f0?aC||t.Z6:null,fC(),sC>0&&aC&&aC.push(e),e}function LC(e,l,C,r,t,o){return hC(VC(e,l,C,r,t,o,!0))}function gC(e,l,C,r,t){return hC(bC(e,l,C,r,t,!0))}function ZC(e){return!!e&&!0===e.__v_isVNode}function wC(e,l){return e.type===l.type&&e.key===l.key}const MC="__vInternal",mC=({key:e})=>null!=e?e:null,HC=({ref:e,ref_key:l,ref_for:C})=>("number"===typeof e&&(e=""+e),null!=e?(0,t.HD)(e)||(0,r.dq)(e)||(0,t.mf)(e)?{i:F,r:e,k:l,f:!!C}:e:null);function VC(e,l=null,C=null,r=0,o=null,i=(e===iC?0:1),d=!1,n=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:l,key:l&&mC(l),ref:l&&HC(l),scopeId:S,slotScopeIds:null,children:C,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:r,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:F};return n?(PC(c,C),128&i&&e.normalize(c)):C&&(c.shapeFlag|=(0,t.HD)(C)?8:16),sC>0&&!d&&aC&&(c.patchFlag>0||6&i)&&32!==c.patchFlag&&aC.push(c),c}const bC=xC;function xC(e,l=null,C=null,o=0,i=null,d=!1){if(e&&e!==Ie||(e=nC),ZC(e)){const r=yC(e,l,!0);return C&&PC(r,C),sC>0&&!d&&aC&&(6&r.shapeFlag?aC[aC.indexOf(e)]=r:aC.push(r)),r.patchFlag|=-2,r}if(or(e)&&(e=e.__vccOpts),l){l=kC(l);let{class:e,style:C}=l;e&&!(0,t.HD)(e)&&(l.class=(0,t.C_)(e)),(0,t.Kn)(C)&&((0,r.X3)(C)&&!(0,t.kJ)(C)&&(C=(0,t.l7)({},C)),l.style=(0,t.j5)(C))}const n=(0,t.HD)(e)?1:U(e)?128:Xl(e)?64:(0,t.Kn)(e)?4:(0,t.mf)(e)?2:0;return VC(e,l,C,o,i,n,d,!0)}function kC(e){return e?(0,r.X3)(e)||MC in e?(0,t.l7)({},e):e:null}function yC(e,l,C=!1){const{props:r,ref:o,patchFlag:i,children:d}=e,n=l?_C(r||{},l):r,c={__v_isVNode:!0,__v_skip:!0,type:e.type,props:n,key:n&&mC(n),ref:l&&l.ref?C&&o?(0,t.kJ)(o)?o.concat(HC(l)):[o,HC(l)]:HC(l):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:d,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:l&&e.type!==iC?-1===i?16:16|i:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&yC(e.ssContent),ssFallback:e.ssFallback&&yC(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c}function AC(e=" ",l=0){return bC(dC,null,e,l)}function BC(e,l){const C=bC(cC,null,e);return C.staticCount=l,C}function OC(e="",l=!1){return l?(pC(),gC(nC,null,e)):bC(nC,null,e)}function FC(e){return null==e||"boolean"===typeof e?bC(nC):(0,t.kJ)(e)?bC(iC,null,e.slice()):"object"===typeof e?SC(e):bC(dC,null,String(e))}function SC(e){return null===e.el&&-1!==e.patchFlag||e.memo?e:yC(e)}function PC(e,l){let C=0;const{shapeFlag:r}=e;if(null==l)l=null;else if((0,t.kJ)(l))C=16;else if("object"===typeof l){if(65&r){const C=l.default;return void(C&&(C._c&&(C._d=!1),PC(e,C()),C._c&&(C._d=!0)))}{C=32;const r=l._;r||MC in l?3===r&&F&&(1===F.slots._?l._=1:(l._=2,e.patchFlag|=1024)):l._ctx=F}}else(0,t.mf)(l)?(l={default:l,_ctx:F},C=32):(l=String(l),64&r?(C=16,l=[AC(l)]):C=8);e.children=l,e.shapeFlag|=C}function _C(...e){const l={};for(let C=0;CRC||F;let IC,$C,UC="__VUE_INSTANCE_SETTERS__";($C=(0,t.E9)()[UC])||($C=(0,t.E9)()[UC]=[]),$C.push((e=>RC=e)),IC=e=>{$C.length>1?$C.forEach((l=>l(e))):$C[0](e)};const jC=e=>{IC(e),e.scope.on()},zC=()=>{RC&&RC.scope.off(),IC(null)};function YC(e){return 4&e.vnode.shapeFlag}let GC,WC,KC=!1;function XC(e,l=!1){KC=l;const{props:C,children:r}=e.vnode,t=YC(e);kl(e,C,t,l),Nl(e,r);const o=t?QC(e,l):void 0;return KC=!1,o}function QC(e,l){const C=e.type;e.accessCache=Object.create(null),e.proxy=(0,r.Xl)(new Proxy(e.ctx,ll));const{setup:i}=C;if(i){const C=e.setupContext=i.length>1?Cr(e):null;jC(e),(0,r.Jd)();const n=o(i,e,0,[e.props,C]);if((0,r.lk)(),zC(),(0,t.tI)(n)){if(n.then(zC,zC),l)return n.then((C=>{JC(e,C,l)})).catch((l=>{d(l,e,0)}));e.asyncDep=n}else JC(e,n,l)}else er(e,l)}function JC(e,l,C){(0,t.mf)(l)?e.type.__ssrInlineRender?e.ssrRender=l:e.render=l:(0,t.Kn)(l)&&(e.setupState=(0,r.WL)(l)),er(e,C)}function er(e,l,C){const o=e.type;if(!e.render){if(!l&&GC&&!o.render){const l=o.template||ul(e).template;if(l){0;const{isCustomElement:C,compilerOptions:r}=e.appContext.config,{delimiters:i,compilerOptions:d}=o,n=(0,t.l7)((0,t.l7)({isCustomElement:C,delimiters:i},r),d);o.render=GC(l,n)}}e.render=o.render||t.dG,WC&&WC(e)}jC(e),(0,r.Jd)(),il(e),(0,r.lk)(),zC()}function lr(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(l,C){return(0,r.j)(e,"get","$attrs"),l[C]}}))}function Cr(e){const l=l=>{e.exposed=l||{}};return{get attrs(){return lr(e)},slots:e.slots,emit:e.emit,expose:l}}function rr(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy((0,r.WL)((0,r.Xl)(e.exposed)),{get(l,C){return C in l?l[C]:C in Je?Je[C](e):void 0},has(e,l){return l in e||l in Je}}))}function tr(e,l=!0){return(0,t.mf)(e)?e.displayName||e.name:e.name||l&&e.__name}function or(e){return(0,t.mf)(e)&&"__vccOpts"in e}const ir=(e,l)=>(0,r.Fl)(e,l,KC);function dr(e,l,C){const r=arguments.length;return 2===r?(0,t.Kn)(l)&&!(0,t.kJ)(l)?ZC(l)?bC(e,null,[l]):bC(e,l):bC(e,null,l):(r>3?C=Array.prototype.slice.call(arguments,2):3===r&&ZC(C)&&(C=[C]),bC(e,l,C))}const nr=Symbol.for("v-scx"),cr=()=>{{const e=bl(nr);return e}};const ur="3.3.4"},61957:(e,l,C)=>{"use strict";C.d(l,{D2:()=>ke,F8:()=>ye,W3:()=>te,YZ:()=>we,bM:()=>he,iM:()=>be,nr:()=>pe,ri:()=>Se,sj:()=>S,uT:()=>q});var r=C(86970),t=C(59835),o=C(60499);const i="http://www.w3.org/2000/svg",d="undefined"!==typeof document?document:null,n=d&&d.createElement("template"),c={insert:(e,l,C)=>{l.insertBefore(e,C||null)},remove:e=>{const l=e.parentNode;l&&l.removeChild(e)},createElement:(e,l,C,r)=>{const t=l?d.createElementNS(i,e):d.createElement(e,C?{is:C}:void 0);return"select"===e&&r&&null!=r.multiple&&t.setAttribute("multiple",r.multiple),t},createText:e=>d.createTextNode(e),createComment:e=>d.createComment(e),setText:(e,l)=>{e.nodeValue=l},setElementText:(e,l)=>{e.textContent=l},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>d.querySelector(e),setScopeId(e,l){e.setAttribute(l,"")},insertStaticContent(e,l,C,r,t,o){const i=C?C.previousSibling:l.lastChild;if(t&&(t===o||t.nextSibling)){while(1)if(l.insertBefore(t.cloneNode(!0),C),t===o||!(t=t.nextSibling))break}else{n.innerHTML=r?`${e}`:e;const t=n.content;if(r){const e=t.firstChild;while(e.firstChild)t.appendChild(e.firstChild);t.removeChild(e)}l.insertBefore(t,C)}return[i?i.nextSibling:l.firstChild,C?C.previousSibling:l.lastChild]}};function u(e,l,C){const r=e._vtc;r&&(l=(l?[l,...r]:[...r]).join(" ")),null==l?e.removeAttribute("class"):C?e.setAttribute("class",l):e.className=l}function a(e,l,C){const t=e.style,o=(0,r.HD)(C);if(C&&!o){if(l&&!(0,r.HD)(l))for(const e in l)null==C[e]&&f(t,e,"");for(const e in C)f(t,e,C[e])}else{const r=t.display;o?l!==C&&(t.cssText=C):l&&e.removeAttribute("style"),"_vod"in e&&(t.display=r)}}const p=/\s*!important$/;function f(e,l,C){if((0,r.kJ)(C))C.forEach((C=>f(e,l,C)));else if(null==C&&(C=""),l.startsWith("--"))e.setProperty(l,C);else{const t=h(e,l);p.test(C)?e.setProperty((0,r.rs)(t),C.replace(p,""),"important"):e[t]=C}}const s=["Webkit","Moz","ms"],v={};function h(e,l){const C=v[l];if(C)return C;let t=(0,r._A)(l);if("filter"!==t&&t in e)return v[l]=t;t=(0,r.kC)(t);for(let r=0;rb||(x.then((()=>b=0)),b=Date.now());function y(e,l){const C=e=>{if(e._vts){if(e._vts<=C.attached)return}else e._vts=Date.now();(0,t.$d)(A(e,C.value),l,5,[e])};return C.value=e,C.attached=k(),C}function A(e,l){if((0,r.kJ)(l)){const C=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{C.call(e),e._stopped=!0},l.map((e=>l=>!l._stopped&&e&&e(l)))}return l}const B=/^on[a-z]/,O=(e,l,C,t,o=!1,i,d,n,c)=>{"class"===l?u(e,t,o):"style"===l?a(e,C,t):(0,r.F7)(l)?(0,r.tR)(l)||m(e,l,C,t,d):("."===l[0]?(l=l.slice(1),1):"^"===l[0]?(l=l.slice(1),0):F(e,l,t,o))?Z(e,l,t,i,d,n,c):("true-value"===l?e._trueValue=t:"false-value"===l&&(e._falseValue=t),g(e,l,t,o))};function F(e,l,C,t){return t?"innerHTML"===l||"textContent"===l||!!(l in e&&B.test(l)&&(0,r.mf)(C)):"spellcheck"!==l&&"draggable"!==l&&"translate"!==l&&("form"!==l&&(("list"!==l||"INPUT"!==e.tagName)&&(("type"!==l||"TEXTAREA"!==e.tagName)&&((!B.test(l)||!(0,r.HD)(C))&&l in e))))}"undefined"!==typeof HTMLElement&&HTMLElement;function S(e){const l=(0,t.FN)();if(!l)return;const C=l.ut=(C=e(l.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${l.uid}"]`)).forEach((e=>_(e,C)))},r=()=>{const r=e(l.proxy);P(l.subTree,r),C(r)};(0,t.Rh)(r),(0,t.bv)((()=>{const e=new MutationObserver(r);e.observe(l.subTree.el.parentNode,{childList:!0}),(0,t.Ah)((()=>e.disconnect()))}))}function P(e,l){if(128&e.shapeFlag){const C=e.suspense;e=C.activeBranch,C.pendingBranch&&!C.isHydrating&&C.effects.push((()=>{P(C.activeBranch,l)}))}while(e.component)e=e.component.subTree;if(1&e.shapeFlag&&e.el)_(e.el,l);else if(e.type===t.HY)e.children.forEach((e=>P(e,l)));else if(e.type===t.qG){let{el:C,anchor:r}=e;while(C){if(_(C,l),C===r)break;C=C.nextSibling}}}function _(e,l){if(1===e.nodeType){const C=e.style;for(const e in l)C.setProperty(`--${e}`,l[e])}}const T="transition",E="animation",q=(e,{slots:l})=>(0,t.h)(t.P$,$(e),l);q.displayName="Transition";const D={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},R=q.props=(0,r.l7)({},t.nJ,D),N=(e,l=[])=>{(0,r.kJ)(e)?e.forEach((e=>e(...l))):e&&e(...l)},I=e=>!!e&&((0,r.kJ)(e)?e.some((e=>e.length>1)):e.length>1);function $(e){const l={};for(const r in e)r in D||(l[r]=e[r]);if(!1===e.css)return l;const{name:C="v",type:t,duration:o,enterFromClass:i=`${C}-enter-from`,enterActiveClass:d=`${C}-enter-active`,enterToClass:n=`${C}-enter-to`,appearFromClass:c=i,appearActiveClass:u=d,appearToClass:a=n,leaveFromClass:p=`${C}-leave-from`,leaveActiveClass:f=`${C}-leave-active`,leaveToClass:s=`${C}-leave-to`}=e,v=U(o),h=v&&v[0],L=v&&v[1],{onBeforeEnter:g,onEnter:Z,onEnterCancelled:w,onLeave:M,onLeaveCancelled:m,onBeforeAppear:H=g,onAppear:V=Z,onAppearCancelled:b=w}=l,x=(e,l,C)=>{Y(e,l?a:n),Y(e,l?u:d),C&&C()},k=(e,l)=>{e._isLeaving=!1,Y(e,p),Y(e,s),Y(e,f),l&&l()},y=e=>(l,C)=>{const r=e?V:Z,o=()=>x(l,e,C);N(r,[l,o]),G((()=>{Y(l,e?c:i),z(l,e?a:n),I(r)||K(l,t,h,o)}))};return(0,r.l7)(l,{onBeforeEnter(e){N(g,[e]),z(e,i),z(e,d)},onBeforeAppear(e){N(H,[e]),z(e,c),z(e,u)},onEnter:y(!1),onAppear:y(!0),onLeave(e,l){e._isLeaving=!0;const C=()=>k(e,l);z(e,p),ee(),z(e,f),G((()=>{e._isLeaving&&(Y(e,p),z(e,s),I(M)||K(e,t,L,C))})),N(M,[e,C])},onEnterCancelled(e){x(e,!1),N(w,[e])},onAppearCancelled(e){x(e,!0),N(b,[e])},onLeaveCancelled(e){k(e),N(m,[e])}})}function U(e){if(null==e)return null;if((0,r.Kn)(e))return[j(e.enter),j(e.leave)];{const l=j(e);return[l,l]}}function j(e){const l=(0,r.He)(e);return l}function z(e,l){l.split(/\s+/).forEach((l=>l&&e.classList.add(l))),(e._vtc||(e._vtc=new Set)).add(l)}function Y(e,l){l.split(/\s+/).forEach((l=>l&&e.classList.remove(l)));const{_vtc:C}=e;C&&(C.delete(l),C.size||(e._vtc=void 0))}function G(e){requestAnimationFrame((()=>{requestAnimationFrame(e)}))}let W=0;function K(e,l,C,r){const t=e._endId=++W,o=()=>{t===e._endId&&r()};if(C)return setTimeout(o,C);const{type:i,timeout:d,propCount:n}=X(e,l);if(!i)return r();const c=i+"end";let u=0;const a=()=>{e.removeEventListener(c,p),o()},p=l=>{l.target===e&&++u>=n&&a()};setTimeout((()=>{u(C[e]||"").split(", "),t=r(`${T}Delay`),o=r(`${T}Duration`),i=Q(t,o),d=r(`${E}Delay`),n=r(`${E}Duration`),c=Q(d,n);let u=null,a=0,p=0;l===T?i>0&&(u=T,a=i,p=o.length):l===E?c>0&&(u=E,a=c,p=n.length):(a=Math.max(i,c),u=a>0?i>c?T:E:null,p=u?u===T?o.length:n.length:0);const f=u===T&&/\b(transform|all)(,|$)/.test(r(`${T}Property`).toString());return{type:u,timeout:a,propCount:p,hasTransform:f}}function Q(e,l){while(e.lengthJ(l)+J(e[C]))))}function J(e){return 1e3*Number(e.slice(0,-1).replace(",","."))}function ee(){return document.body.offsetHeight}const le=new WeakMap,Ce=new WeakMap,re={name:"TransitionGroup",props:(0,r.l7)({},R,{tag:String,moveClass:String}),setup(e,{slots:l}){const C=(0,t.FN)(),r=(0,t.Y8)();let i,d;return(0,t.ic)((()=>{if(!i.length)return;const l=e.moveClass||`${e.name||"v"}-move`;if(!ne(i[0].el,C.vnode.el,l))return;i.forEach(oe),i.forEach(ie);const r=i.filter(de);ee(),r.forEach((e=>{const C=e.el,r=C.style;z(C,l),r.transform=r.webkitTransform=r.transitionDuration="";const t=C._moveCb=e=>{e&&e.target!==C||e&&!/transform$/.test(e.propertyName)||(C.removeEventListener("transitionend",t),C._moveCb=null,Y(C,l))};C.addEventListener("transitionend",t)}))})),()=>{const n=(0,o.IU)(e),c=$(n);let u=n.tag||t.HY;i=d,d=l.default?(0,t.Q6)(l.default()):[];for(let e=0;e{e.split(/\s+/).forEach((e=>e&&r.classList.remove(e)))})),C.split(/\s+/).forEach((e=>e&&r.classList.add(e))),r.style.display="none";const t=1===l.nodeType?l:l.parentNode;t.appendChild(r);const{hasTransform:o}=X(r);return t.removeChild(r),o}const ce=e=>{const l=e.props["onUpdate:modelValue"]||!1;return(0,r.kJ)(l)?e=>(0,r.ir)(l,e):l};function ue(e){e.target.composing=!0}function ae(e){const l=e.target;l.composing&&(l.composing=!1,l.dispatchEvent(new Event("input")))}const pe={created(e,{modifiers:{lazy:l,trim:C,number:t}},o){e._assign=ce(o);const i=t||o.props&&"number"===o.props.type;w(e,l?"change":"input",(l=>{if(l.target.composing)return;let t=e.value;C&&(t=t.trim()),i&&(t=(0,r.h5)(t)),e._assign(t)})),C&&w(e,"change",(()=>{e.value=e.value.trim()})),l||(w(e,"compositionstart",ue),w(e,"compositionend",ae),w(e,"change",ae))},mounted(e,{value:l}){e.value=null==l?"":l},beforeUpdate(e,{value:l,modifiers:{lazy:C,trim:t,number:o}},i){if(e._assign=ce(i),e.composing)return;if(document.activeElement===e&&"range"!==e.type){if(C)return;if(t&&e.value.trim()===l)return;if((o||"number"===e.type)&&(0,r.h5)(e.value)===l)return}const d=null==l?"":l;e.value!==d&&(e.value=d)}},fe={deep:!0,created(e,l,C){e._assign=ce(C),w(e,"change",(()=>{const l=e._modelValue,C=ge(e),t=e.checked,o=e._assign;if((0,r.kJ)(l)){const e=(0,r.hq)(l,C),i=-1!==e;if(t&&!i)o(l.concat(C));else if(!t&&i){const C=[...l];C.splice(e,1),o(C)}}else if((0,r.DM)(l)){const e=new Set(l);t?e.add(C):e.delete(C),o(e)}else o(Ze(e,t))}))},mounted:se,beforeUpdate(e,l,C){e._assign=ce(C),se(e,l,C)}};function se(e,{value:l,oldValue:C},t){e._modelValue=l,(0,r.kJ)(l)?e.checked=(0,r.hq)(l,t.props.value)>-1:(0,r.DM)(l)?e.checked=l.has(t.props.value):l!==C&&(e.checked=(0,r.WV)(l,Ze(e,!0)))}const ve={created(e,{value:l},C){e.checked=(0,r.WV)(l,C.props.value),e._assign=ce(C),w(e,"change",(()=>{e._assign(ge(e))}))},beforeUpdate(e,{value:l,oldValue:C},t){e._assign=ce(t),l!==C&&(e.checked=(0,r.WV)(l,t.props.value))}},he={deep:!0,created(e,{value:l,modifiers:{number:C}},t){const o=(0,r.DM)(l);w(e,"change",(()=>{const l=Array.prototype.filter.call(e.options,(e=>e.selected)).map((e=>C?(0,r.h5)(ge(e)):ge(e)));e._assign(e.multiple?o?new Set(l):l:l[0])})),e._assign=ce(t)},mounted(e,{value:l}){Le(e,l)},beforeUpdate(e,l,C){e._assign=ce(C)},updated(e,{value:l}){Le(e,l)}};function Le(e,l){const C=e.multiple;if(!C||(0,r.kJ)(l)||(0,r.DM)(l)){for(let t=0,o=e.options.length;t-1:o.selected=l.has(i);else if((0,r.WV)(ge(o),l))return void(e.selectedIndex!==t&&(e.selectedIndex=t))}C||-1===e.selectedIndex||(e.selectedIndex=-1)}}function ge(e){return"_value"in e?e._value:e.value}function Ze(e,l){const C=l?"_trueValue":"_falseValue";return C in e?e[C]:l}const we={created(e,l,C){me(e,l,C,null,"created")},mounted(e,l,C){me(e,l,C,null,"mounted")},beforeUpdate(e,l,C,r){me(e,l,C,r,"beforeUpdate")},updated(e,l,C,r){me(e,l,C,r,"updated")}};function Me(e,l){switch(e){case"SELECT":return he;case"TEXTAREA":return pe;default:switch(l){case"checkbox":return fe;case"radio":return ve;default:return pe}}}function me(e,l,C,r,t){const o=Me(e.tagName,C.props&&C.props.type),i=o[t];i&&i(e,l,C,r)}const He=["ctrl","shift","alt","meta"],Ve={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&0!==e.button,middle:e=>"button"in e&&1!==e.button,right:e=>"button"in e&&2!==e.button,exact:(e,l)=>He.some((C=>e[`${C}Key`]&&!l.includes(C)))},be=(e,l)=>(C,...r)=>{for(let e=0;eC=>{if(!("key"in C))return;const t=(0,r.rs)(C.key);return l.some((e=>e===t||xe[e]===t))?e(C):void 0},ye={beforeMount(e,{value:l},{transition:C}){e._vod="none"===e.style.display?"":e.style.display,C&&l?C.beforeEnter(e):Ae(e,l)},mounted(e,{value:l},{transition:C}){C&&l&&C.enter(e)},updated(e,{value:l,oldValue:C},{transition:r}){!l!==!C&&(r?l?(r.beforeEnter(e),Ae(e,!0),r.enter(e)):r.leave(e,(()=>{Ae(e,!1)})):Ae(e,l))},beforeUnmount(e,{value:l}){Ae(e,l)}};function Ae(e,l){e.style.display=l?e._vod:"none"}const Be=(0,r.l7)({patchProp:O},c);let Oe;function Fe(){return Oe||(Oe=(0,t.Us)(Be))}const Se=(...e)=>{const l=Fe().createApp(...e);const{mount:C}=l;return l.mount=e=>{const t=Pe(e);if(!t)return;const o=l._component;(0,r.mf)(o)||o.render||o.template||(o.template=t.innerHTML),t.innerHTML="";const i=C(t,!1,t instanceof SVGElement);return t instanceof Element&&(t.removeAttribute("v-cloak"),t.setAttribute("data-v-app","")),i},l};function Pe(e){if((0,r.HD)(e)){const l=document.querySelector(e);return l}return e}},86970:(e,l,C)=>{"use strict";function r(e,l){const C=Object.create(null),r=e.split(",");for(let t=0;t!!C[e.toLowerCase()]:e=>!!C[e]}C.d(l,{C_:()=>Q,DM:()=>L,E9:()=>U,F7:()=>c,Gg:()=>B,HD:()=>M,He:()=>I,Kj:()=>Z,Kn:()=>H,NO:()=>d,Nj:()=>R,Od:()=>p,PO:()=>y,Pq:()=>le,RI:()=>s,S0:()=>A,W7:()=>k,WV:()=>te,Z6:()=>o,_A:()=>S,_N:()=>h,aU:()=>q,dG:()=>i,e1:()=>z,fY:()=>r,h5:()=>N,hR:()=>E,hq:()=>oe,ir:()=>D,j5:()=>Y,kC:()=>T,kJ:()=>v,kT:()=>t,l7:()=>a,mf:()=>w,rs:()=>_,tI:()=>V,tR:()=>u,vs:()=>J,yA:()=>Ce,yk:()=>m,zw:()=>ie});const t={},o=[],i=()=>{},d=()=>!1,n=/^on[^a-z]/,c=e=>n.test(e),u=e=>e.startsWith("onUpdate:"),a=Object.assign,p=(e,l)=>{const C=e.indexOf(l);C>-1&&e.splice(C,1)},f=Object.prototype.hasOwnProperty,s=(e,l)=>f.call(e,l),v=Array.isArray,h=e=>"[object Map]"===x(e),L=e=>"[object Set]"===x(e),g=e=>"[object Date]"===x(e),Z=e=>"[object RegExp]"===x(e),w=e=>"function"===typeof e,M=e=>"string"===typeof e,m=e=>"symbol"===typeof e,H=e=>null!==e&&"object"===typeof e,V=e=>H(e)&&w(e.then)&&w(e.catch),b=Object.prototype.toString,x=e=>b.call(e),k=e=>x(e).slice(8,-1),y=e=>"[object Object]"===x(e),A=e=>M(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,B=r(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),O=e=>{const l=Object.create(null);return C=>{const r=l[C];return r||(l[C]=e(C))}},F=/-(\w)/g,S=O((e=>e.replace(F,((e,l)=>l?l.toUpperCase():"")))),P=/\B([A-Z])/g,_=O((e=>e.replace(P,"-$1").toLowerCase())),T=O((e=>e.charAt(0).toUpperCase()+e.slice(1))),E=O((e=>e?`on${T(e)}`:"")),q=(e,l)=>!Object.is(e,l),D=(e,l)=>{for(let C=0;C{Object.defineProperty(e,l,{configurable:!0,enumerable:!1,value:C})},N=e=>{const l=parseFloat(e);return isNaN(l)?e:l},I=e=>{const l=M(e)?Number(e):NaN;return isNaN(l)?e:l};let $;const U=()=>$||($="undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self?self:"undefined"!==typeof window?window:"undefined"!==typeof C.g?C.g:{});const j="Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console",z=r(j);function Y(e){if(v(e)){const l={};for(let C=0;C{if(e){const C=e.split(W);C.length>1&&(l[C[0].trim()]=C[1].trim())}})),l}function Q(e){let l="";if(M(e))l=e;else if(v(e))for(let C=0;Cte(e,l)))}const ie=e=>M(e)?e:null==e?"":v(e)||H(e)&&(e.toString===b||!w(e.toString))?JSON.stringify(e,de,2):String(e),de=(e,l)=>l&&l.__v_isRef?de(e,l.value):h(l)?{[`Map(${l.size})`]:[...l.entries()].reduce(((e,[l,C])=>(e[`${l} =>`]=C,e)),{})}:L(l)?{[`Set(${l.size})`]:[...l.values()]}:!H(l)||v(l)||y(l)?l:String(l)},61357:(e,l,C)=>{"use strict";C.d(l,{Z:()=>n});var r=C(59835),t=C(22857),o=C(20244),i=C(65987),d=C(22026);const n=(0,i.L)({name:"QAvatar",props:{...o.LU,fontSize:String,color:String,textColor:String,icon:String,square:Boolean,rounded:Boolean},setup(e,{slots:l}){const C=(0,o.ZP)(e),i=(0,r.Fl)((()=>"q-avatar"+(e.color?` bg-${e.color}`:"")+(e.textColor?` text-${e.textColor} q-chip--colored`:"")+(!0===e.square?" q-avatar--square":!0===e.rounded?" rounded-borders":""))),n=(0,r.Fl)((()=>e.fontSize?{fontSize:e.fontSize}:null));return()=>{const o=void 0!==e.icon?[(0,r.h)(t.Z,{name:e.icon})]:void 0;return(0,r.h)("div",{class:i.value,style:C.value},[(0,r.h)("div",{class:"q-avatar__content row flex-center overflow-hidden",style:n.value},(0,d.pf)(l.default,o))])}}})},20990:(e,l,C)=>{"use strict";C.d(l,{Z:()=>d});var r=C(59835),t=C(65987),o=C(22026);const i=["top","middle","bottom"],d=(0,t.L)({name:"QBadge",props:{color:String,textColor:String,floating:Boolean,transparent:Boolean,multiLine:Boolean,outline:Boolean,rounded:Boolean,label:[Number,String],align:{type:String,validator:e=>i.includes(e)}},setup(e,{slots:l}){const C=(0,r.Fl)((()=>void 0!==e.align?{verticalAlign:e.align}:null)),t=(0,r.Fl)((()=>{const l=!0===e.outline&&e.color||e.textColor;return`q-badge flex inline items-center no-wrap q-badge--${!0===e.multiLine?"multi":"single"}-line`+(!0===e.outline?" q-badge--outline":void 0!==e.color?` bg-${e.color}`:"")+(void 0!==l?` text-${l}`:"")+(!0===e.floating?" q-badge--floating":"")+(!0===e.rounded?" q-badge--rounded":"")+(!0===e.transparent?" q-badge--transparent":"")}));return()=>(0,r.h)("div",{class:t.value,style:C.value,role:"status","aria-label":e.label},(0,o.vs)(l.default,void 0!==e.label?[e.label]:[]))}})},72605:(e,l,C)=>{"use strict";C.d(l,{Z:()=>c});C(69665);var r=C(59835),t=C(65065),o=C(65987),i=C(22026),d=C(52046);const n=["",!0],c=(0,o.L)({name:"QBreadcrumbs",props:{...t.jO,separator:{type:String,default:"/"},separatorColor:String,activeColor:{type:String,default:"primary"},gutter:{type:String,validator:e=>["none","xs","sm","md","lg","xl"].includes(e),default:"sm"}},setup(e,{slots:l}){const C=(0,t.ZP)(e),o=(0,r.Fl)((()=>`flex items-center ${C.value}${"none"===e.gutter?"":` q-gutter-${e.gutter}`}`)),c=(0,r.Fl)((()=>e.separatorColor?` text-${e.separatorColor}`:"")),u=(0,r.Fl)((()=>` text-${e.activeColor}`));return()=>{const C=(0,d.Pf)((0,i.KR)(l.default));if(0===C.length)return;let t=1;const a=[],p=C.filter((e=>void 0!==e.type&&"QBreadcrumbsEl"===e.type.name)).length,f=void 0!==l.separator?l.separator:()=>e.separator;return C.forEach((e=>{if(void 0!==e.type&&"QBreadcrumbsEl"===e.type.name){const l=t{"use strict";C.d(l,{Z:()=>n});C(69665);var r=C(59835),t=C(22857),o=C(65987),i=C(22026),d=C(70945);const n=(0,o.L)({name:"QBreadcrumbsEl",props:{...d.$,label:String,icon:String,tag:{type:String,default:"span"}},emits:["click"],setup(e,{slots:l}){const{linkTag:C,linkAttrs:o,linkClass:n,navigateOnClick:c}=(0,d.Z)(),u=(0,r.Fl)((()=>({class:"q-breadcrumbs__el q-link flex inline items-center relative-position "+(!0!==e.disable?"q-link--focusable"+n.value:"q-breadcrumbs__el--disable"),...o.value,onClick:c}))),a=(0,r.Fl)((()=>"q-breadcrumbs__el-icon"+(void 0!==e.label?" q-breadcrumbs__el-icon--with-label":"")));return()=>{const o=[];return void 0!==e.icon&&o.push((0,r.h)(t.Z,{class:a.value,name:e.icon})),void 0!==e.label&&o.push(e.label),(0,r.h)(C.value,{...u.value},(0,i.vs)(l.default,o))}}})},68879:(e,l,C)=>{"use strict";C.d(l,{Z:()=>g});C(69665);var r=C(59835),t=C(60499),o=C(61957),i=C(22857),d=C(13902),n=C(51136),c=C(36073),u=C(65987),a=C(22026),p=C(91384),f=C(61705);const{passiveCapture:s}=p.listenOpts;let v=null,h=null,L=null;const g=(0,u.L)({name:"QBtn",props:{...c.b7,percentage:Number,darkPercentage:Boolean,onTouchstart:[Function,Array]},emits:["click","keydown","mousedown","keyup"],setup(e,{slots:l,emit:C}){const{proxy:u}=(0,r.FN)(),{classes:g,style:Z,innerClasses:w,attributes:M,hasLink:m,linkTag:H,navigateOnClick:V,isActionable:b}=(0,c.ZP)(e),x=(0,t.iH)(null),k=(0,t.iH)(null);let y,A=null,B=null;const O=(0,r.Fl)((()=>void 0!==e.label&&null!==e.label&&""!==e.label)),F=(0,r.Fl)((()=>!0!==e.disable&&!1!==e.ripple&&{keyCodes:!0===m.value?[13,32]:[13],...!0===e.ripple?{}:e.ripple})),S=(0,r.Fl)((()=>({center:e.round}))),P=(0,r.Fl)((()=>{const l=Math.max(0,Math.min(100,e.percentage));return l>0?{transition:"transform 0.6s",transform:`translateX(${l-100}%)`}:{}})),_=(0,r.Fl)((()=>{if(!0===e.loading)return{onMousedown:$,onTouchstart:$,onClick:$,onKeydown:$,onKeyup:$};if(!0===b.value){const l={onClick:E,onKeydown:q,onMousedown:R};if(!0===u.$q.platform.has.touch){const C=void 0!==e.onTouchstart?"":"Passive";l[`onTouchstart${C}`]=D}return l}return{onClick:p.NS}})),T=(0,r.Fl)((()=>({ref:x,class:"q-btn q-btn-item non-selectable no-outline "+g.value,style:Z.value,...M.value,..._.value})));function E(l){if(null!==x.value){if(void 0!==l){if(!0===l.defaultPrevented)return;const C=document.activeElement;if("submit"===e.type&&C!==document.body&&!1===x.value.contains(C)&&!1===C.contains(x.value)){x.value.focus();const e=()=>{document.removeEventListener("keydown",p.NS,!0),document.removeEventListener("keyup",e,s),null!==x.value&&x.value.removeEventListener("blur",e,s)};document.addEventListener("keydown",p.NS,!0),document.addEventListener("keyup",e,s),x.value.addEventListener("blur",e,s)}}V(l)}}function q(e){null!==x.value&&(C("keydown",e),!0===(0,f.So)(e,[13,32])&&h!==x.value&&(null!==h&&I(),!0!==e.defaultPrevented&&(x.value.focus(),h=x.value,x.value.classList.add("q-btn--active"),document.addEventListener("keyup",N,!0),x.value.addEventListener("blur",N,s)),(0,p.NS)(e)))}function D(e){null!==x.value&&(C("touchstart",e),!0!==e.defaultPrevented&&(v!==x.value&&(null!==v&&I(),v=x.value,A=e.target,A.addEventListener("touchcancel",N,s),A.addEventListener("touchend",N,s)),y=!0,null!==B&&clearTimeout(B),B=setTimeout((()=>{B=null,y=!1}),200)))}function R(e){null!==x.value&&(e.qSkipRipple=!0===y,C("mousedown",e),!0!==e.defaultPrevented&&L!==x.value&&(null!==L&&I(),L=x.value,x.value.classList.add("q-btn--active"),document.addEventListener("mouseup",N,s)))}function N(e){if(null!==x.value&&(void 0===e||"blur"!==e.type||document.activeElement!==x.value)){if(void 0!==e&&"keyup"===e.type){if(h===x.value&&!0===(0,f.So)(e,[13,32])){const l=new MouseEvent("click",e);l.qKeyEvent=!0,!0===e.defaultPrevented&&(0,p.X$)(l),!0===e.cancelBubble&&(0,p.sT)(l),x.value.dispatchEvent(l),(0,p.NS)(e),e.qKeyEvent=!0}C("keyup",e)}I()}}function I(e){const l=k.value;!0===e||v!==x.value&&L!==x.value||null===l||l===document.activeElement||(l.setAttribute("tabindex",-1),l.focus()),v===x.value&&(null!==A&&(A.removeEventListener("touchcancel",N,s),A.removeEventListener("touchend",N,s)),v=A=null),L===x.value&&(document.removeEventListener("mouseup",N,s),L=null),h===x.value&&(document.removeEventListener("keyup",N,!0),null!==x.value&&x.value.removeEventListener("blur",N,s),h=null),null!==x.value&&x.value.classList.remove("q-btn--active")}function $(e){(0,p.NS)(e),e.qSkipRipple=!0}return(0,r.Jd)((()=>{I(!0)})),Object.assign(u,{click:E}),()=>{let C=[];void 0!==e.icon&&C.push((0,r.h)(i.Z,{name:e.icon,left:!1===e.stack&&!0===O.value,role:"img","aria-hidden":"true"})),!0===O.value&&C.push((0,r.h)("span",{class:"block"},[e.label])),C=(0,a.vs)(l.default,C),void 0!==e.iconRight&&!1===e.round&&C.push((0,r.h)(i.Z,{name:e.iconRight,right:!1===e.stack&&!0===O.value,role:"img","aria-hidden":"true"}));const t=[(0,r.h)("span",{class:"q-focus-helper",ref:k})];return!0===e.loading&&void 0!==e.percentage&&t.push((0,r.h)("span",{class:"q-btn__progress absolute-full overflow-hidden"+(!0===e.darkPercentage?" q-btn__progress--dark":"")},[(0,r.h)("span",{class:"q-btn__progress-indicator fit block",style:P.value})])),t.push((0,r.h)("span",{class:"q-btn__content text-center col items-center q-anchor--skip "+w.value},C)),null!==e.loading&&t.push((0,r.h)(o.uT,{name:"q-transition--fade"},(()=>!0===e.loading?[(0,r.h)("span",{key:"loading",class:"absolute-full flex flex-center"},void 0!==l.loading?l.loading():[(0,r.h)(d.Z)])]:null))),(0,r.wy)((0,r.h)(H.value,T.value,t),[[n.Z,F.value,void 0,S.value]])}}})},36073:(e,l,C)=>{"use strict";C.d(l,{ZP:()=>v,_V:()=>f,b7:()=>s});C(69665);var r=C(59835),t=C(65065),o=C(20244),i=C(70945);const d={none:0,xs:4,sm:8,md:16,lg:24,xl:32},n={xs:8,sm:10,md:14,lg:20,xl:24},c=["button","submit","reset"],u=/[^\s]\/[^\s]/,a=["flat","outline","push","unelevated"],p=(e,l)=>!0===e.flat?"flat":!0===e.outline?"outline":!0===e.push?"push":!0===e.unelevated?"unelevated":l,f=e=>{const l=p(e);return void 0!==l?{[l]:!0}:{}},s={...o.LU,...i.$,type:{type:String,default:"button"},label:[Number,String],icon:String,iconRight:String,...a.reduce(((e,l)=>(e[l]=Boolean)&&e),{}),square:Boolean,round:Boolean,rounded:Boolean,glossy:Boolean,size:String,fab:Boolean,fabMini:Boolean,padding:String,color:String,textColor:String,noCaps:Boolean,noWrap:Boolean,dense:Boolean,tabindex:[Number,String],ripple:{type:[Boolean,Object],default:!0},align:{...t.jO.align,default:"center"},stack:Boolean,stretch:Boolean,loading:{type:Boolean,default:null},disable:Boolean};function v(e){const l=(0,o.ZP)(e,n),C=(0,t.ZP)(e),{hasRouterLink:a,hasLink:f,linkTag:s,linkAttrs:v,navigateOnClick:h}=(0,i.Z)({fallbackTag:"button"}),L=(0,r.Fl)((()=>{const C=!1===e.fab&&!1===e.fabMini?l.value:{};return void 0!==e.padding?Object.assign({},C,{padding:e.padding.split(/\s+/).map((e=>e in d?d[e]+"px":e)).join(" "),minWidth:"0",minHeight:"0"}):C})),g=(0,r.Fl)((()=>!0===e.rounded||!0===e.fab||!0===e.fabMini)),Z=(0,r.Fl)((()=>!0!==e.disable&&!0!==e.loading)),w=(0,r.Fl)((()=>!0===Z.value?e.tabindex||0:-1)),M=(0,r.Fl)((()=>p(e,"standard"))),m=(0,r.Fl)((()=>{const l={tabindex:w.value};return!0===f.value?Object.assign(l,v.value):!0===c.includes(e.type)&&(l.type=e.type),"a"===s.value?(!0===e.disable?l["aria-disabled"]="true":void 0===l.href&&(l.role="button"),!0!==a.value&&!0===u.test(e.type)&&(l.type=e.type)):!0===e.disable&&(l.disabled="",l["aria-disabled"]="true"),!0===e.loading&&void 0!==e.percentage&&Object.assign(l,{role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":e.percentage}),l})),H=(0,r.Fl)((()=>{let l;void 0!==e.color?l=!0===e.flat||!0===e.outline?`text-${e.textColor||e.color}`:`bg-${e.color} text-${e.textColor||"white"}`:e.textColor&&(l=`text-${e.textColor}`);const C=!0===e.round?"round":"rectangle"+(!0===g.value?" q-btn--rounded":!0===e.square?" q-btn--square":"");return`q-btn--${M.value} q-btn--${C}`+(void 0!==l?" "+l:"")+(!0===Z.value?" q-btn--actionable q-focusable q-hoverable":!0===e.disable?" disabled":"")+(!0===e.fab?" q-btn--fab":!0===e.fabMini?" q-btn--fab-mini":"")+(!0===e.noCaps?" q-btn--no-uppercase":"")+(!0===e.dense?" q-btn--dense":"")+(!0===e.stretch?" no-border-radius self-stretch":"")+(!0===e.glossy?" glossy":"")+(e.square?" q-btn--square":"")})),V=(0,r.Fl)((()=>C.value+(!0===e.stack?" column":" row")+(!0===e.noWrap?" no-wrap text-no-wrap":"")+(!0===e.loading?" q-btn__content--hidden":"")));return{classes:H,style:L,innerClasses:V,attributes:m,hasLink:f,linkTag:s,navigateOnClick:h,isActionable:Z}}},44458:(e,l,C)=>{"use strict";C.d(l,{Z:()=>d});var r=C(59835),t=C(68234),o=C(65987),i=C(22026);const d=(0,o.L)({name:"QCard",props:{...t.S,tag:{type:String,default:"div"},square:Boolean,flat:Boolean,bordered:Boolean},setup(e,{slots:l}){const{proxy:{$q:C}}=(0,r.FN)(),o=(0,t.Z)(e,C),d=(0,r.Fl)((()=>"q-card"+(!0===o.value?" q-card--dark q-dark":"")+(!0===e.bordered?" q-card--bordered":"")+(!0===e.square?" q-card--square no-border-radius":"")+(!0===e.flat?" q-card--flat no-shadow":"")));return()=>(0,r.h)(e.tag,{class:d.value},(0,i.KR)(l.default))}})},11821:(e,l,C)=>{"use strict";C.d(l,{Z:()=>d});var r=C(59835),t=C(65065),o=C(65987),i=C(22026);const d=(0,o.L)({name:"QCardActions",props:{...t.jO,vertical:Boolean},setup(e,{slots:l}){const C=(0,t.ZP)(e),o=(0,r.Fl)((()=>`q-card__actions ${C.value} q-card__actions--`+(!0===e.vertical?"vert column":"horiz row")));return()=>(0,r.h)("div",{class:o.value},(0,i.KR)(l.default))}})},63190:(e,l,C)=>{"use strict";C.d(l,{Z:()=>i});var r=C(59835),t=C(65987),o=C(22026);const i=(0,t.L)({name:"QCardSection",props:{tag:{type:String,default:"div"},horizontal:Boolean},setup(e,{slots:l}){const C=(0,r.Fl)((()=>"q-card__section q-card__section--"+(!0===e.horizontal?"horiz row no-wrap":"vert")));return()=>(0,r.h)(e.tag,{class:C.value},(0,o.KR)(l.default))}})},97052:(e,l,C)=>{"use strict";C.d(l,{Z:()=>f});C(69665);var r=C(59835),t=C(68879),o=C(68234),i=C(46296),d=C(93929),n=C(65987),c=C(4680),u=C(22026);const a=["top","right","bottom","left"],p=["regular","flat","outline","push","unelevated"],f=(0,n.L)({name:"QCarousel",props:{...o.S,...i.t6,...d.kM,transitionPrev:{type:String,default:"fade"},transitionNext:{type:String,default:"fade"},height:String,padding:Boolean,controlColor:String,controlTextColor:String,controlType:{type:String,validator:e=>p.includes(e),default:"flat"},autoplay:[Number,Boolean],arrows:Boolean,prevIcon:String,nextIcon:String,navigation:Boolean,navigationPosition:{type:String,validator:e=>a.includes(e)},navigationIcon:String,navigationActiveIcon:String,thumbnails:Boolean},emits:[...d.fL,...i.K6],setup(e,{slots:l}){const{proxy:{$q:C}}=(0,r.FN)(),n=(0,o.Z)(e,C);let a,p=null;const{updatePanelsList:f,getPanelContent:s,panelDirectives:v,goToPanel:h,previousPanel:L,nextPanel:g,getEnabledPanels:Z,panelIndex:w}=(0,i.ZP)(),{inFullscreen:M}=(0,d.ZP)(),m=(0,r.Fl)((()=>!0!==M.value&&void 0!==e.height?{height:e.height}:{})),H=(0,r.Fl)((()=>!0===e.vertical?"vertical":"horizontal")),V=(0,r.Fl)((()=>`q-carousel q-panel-parent q-carousel--with${!0===e.padding?"":"out"}-padding`+(!0===M.value?" fullscreen":"")+(!0===n.value?" q-carousel--dark q-dark":"")+(!0===e.arrows?` q-carousel--arrows-${H.value}`:"")+(!0===e.navigation?` q-carousel--navigation-${y.value}`:""))),b=(0,r.Fl)((()=>{const l=[e.prevIcon||C.iconSet.carousel[!0===e.vertical?"up":"left"],e.nextIcon||C.iconSet.carousel[!0===e.vertical?"down":"right"]];return!1===e.vertical&&!0===C.lang.rtl?l.reverse():l})),x=(0,r.Fl)((()=>e.navigationIcon||C.iconSet.carousel.navigationIcon)),k=(0,r.Fl)((()=>e.navigationActiveIcon||x.value)),y=(0,r.Fl)((()=>e.navigationPosition||(!0===e.vertical?"right":"bottom"))),A=(0,r.Fl)((()=>({color:e.controlColor,textColor:e.controlTextColor,round:!0,[e.controlType]:!0,dense:!0})));function B(){const l=!0===(0,c.hj)(e.autoplay)?Math.abs(e.autoplay):5e3;null!==p&&clearTimeout(p),p=setTimeout((()=>{p=null,l>=0?g():L()}),l)}function O(l,C){return(0,r.h)("div",{class:`q-carousel__control q-carousel__navigation no-wrap absolute flex q-carousel__navigation--${l} q-carousel__navigation--${y.value}`+(void 0!==e.controlColor?` text-${e.controlColor}`:"")},[(0,r.h)("div",{class:"q-carousel__navigation-inner flex flex-center no-wrap"},Z().map(C))])}function F(){const C=[];if(!0===e.navigation){const e=void 0!==l["navigation-icon"]?l["navigation-icon"]:e=>(0,r.h)(t.Z,{key:"nav"+e.name,class:`q-carousel__navigation-icon q-carousel__navigation-icon--${!0===e.active?"":"in"}active`,...e.btnProps,onClick:e.onClick}),o=a-1;C.push(O("buttons",((l,C)=>{const r=l.props.name,t=w.value===C;return e({index:C,maxIndex:o,name:r,active:t,btnProps:{icon:!0===t?k.value:x.value,size:"sm",...A.value},onClick:()=>{h(r)}})})))}else if(!0===e.thumbnails){const l=void 0!==e.controlColor?` text-${e.controlColor}`:"";C.push(O("thumbnails",(C=>{const t=C.props;return(0,r.h)("img",{key:"tmb#"+t.name,class:`q-carousel__thumbnail q-carousel__thumbnail--${t.name===e.modelValue?"":"in"}active`+l,src:t.imgSrc||t["img-src"],onClick:()=>{h(t.name)}})})))}return!0===e.arrows&&w.value>=0&&((!0===e.infinite||w.value>0)&&C.push((0,r.h)("div",{key:"prev",class:`q-carousel__control q-carousel__arrow q-carousel__prev-arrow q-carousel__prev-arrow--${H.value} absolute flex flex-center`},[(0,r.h)(t.Z,{icon:b.value[0],...A.value,onClick:L})])),(!0===e.infinite||w.valuee.modelValue),(()=>{e.autoplay&&B()})),(0,r.YP)((()=>e.autoplay),(e=>{e?B():null!==p&&(clearTimeout(p),p=null)})),(0,r.bv)((()=>{e.autoplay&&B()})),(0,r.Jd)((()=>{null!==p&&clearTimeout(p)})),()=>(a=f(l),(0,r.h)("div",{class:V.value,style:m.value},[(0,u.Jl)("div",{class:"q-carousel__slides-container"},s(),"sl-cont",e.swipeable,(()=>v.value))].concat(F())))}})},41694:(e,l,C)=>{"use strict";C.d(l,{Z:()=>d});var r=C(59835),t=C(65987),o=C(46296),i=C(22026);const d=(0,t.L)({name:"QCarouselSlide",props:{...o.vZ,imgSrc:String},setup(e,{slots:l}){const C=(0,r.Fl)((()=>e.imgSrc?{backgroundImage:`url("${e.imgSrc}")`}:{}));return()=>(0,r.h)("div",{class:"q-carousel__slide",style:C.value},(0,i.KR)(l.default))}})},5413:(e,l,C)=>{"use strict";C.d(l,{ZP:()=>s,ZB:()=>f,Fz:()=>p});C(69665);var r=C(59835),t=C(60499),o=C(68234),i=C(20244);function d(e,l){const C=(0,t.iH)(null),o=(0,r.Fl)((()=>!0===e.disable?null:(0,r.h)("span",{ref:C,class:"no-outline",tabindex:-1})));function i(e){const r=l.value;void 0!==e&&0===e.type.indexOf("key")?null!==r&&document.activeElement!==r&&!0===r.contains(document.activeElement)&&r.focus():null!==C.value&&(void 0===e||null!==r&&!0===r.contains(e.target))&&C.value.focus()}return{refocusTargetEl:o,refocusTarget:i}}var n=C(99256);const c={xs:30,sm:35,md:40,lg:50,xl:60};var u=C(91384),a=C(22026);const p={...o.S,...i.LU,...n.Fz,modelValue:{required:!0,default:null},val:{},trueValue:{default:!0},falseValue:{default:!1},indeterminateValue:{default:null},checkedIcon:String,uncheckedIcon:String,indeterminateIcon:String,toggleOrder:{type:String,validator:e=>"tf"===e||"ft"===e},toggleIndeterminate:Boolean,label:String,leftLabel:Boolean,color:String,keepColor:Boolean,dense:Boolean,disable:Boolean,tabindex:[String,Number]},f=["update:modelValue"];function s(e,l){const{props:C,slots:p,emit:f,proxy:s}=(0,r.FN)(),{$q:v}=s,h=(0,o.Z)(C,v),L=(0,t.iH)(null),{refocusTargetEl:g,refocusTarget:Z}=d(C,L),w=(0,i.ZP)(C,c),M=(0,r.Fl)((()=>void 0!==C.val&&Array.isArray(C.modelValue))),m=(0,r.Fl)((()=>{const e=(0,t.IU)(C.val);return!0===M.value?C.modelValue.findIndex((l=>(0,t.IU)(l)===e)):-1})),H=(0,r.Fl)((()=>!0===M.value?m.value>-1:(0,t.IU)(C.modelValue)===(0,t.IU)(C.trueValue))),V=(0,r.Fl)((()=>!0===M.value?-1===m.value:(0,t.IU)(C.modelValue)===(0,t.IU)(C.falseValue))),b=(0,r.Fl)((()=>!1===H.value&&!1===V.value)),x=(0,r.Fl)((()=>!0===C.disable?-1:C.tabindex||0)),k=(0,r.Fl)((()=>`q-${e} cursor-pointer no-outline row inline no-wrap items-center`+(!0===C.disable?" disabled":"")+(!0===h.value?` q-${e}--dark`:"")+(!0===C.dense?` q-${e}--dense`:"")+(!0===C.leftLabel?" reverse":""))),y=(0,r.Fl)((()=>{const l=!0===H.value?"truthy":!0===V.value?"falsy":"indet",r=void 0===C.color||!0!==C.keepColor&&("toggle"===e?!0!==H.value:!0===V.value)?"":` text-${C.color}`;return`q-${e}__inner relative-position non-selectable q-${e}__inner--${l}${r}`})),A=(0,r.Fl)((()=>{const e={type:"checkbox"};return void 0!==C.name&&Object.assign(e,{".checked":H.value,"^checked":!0===H.value?"checked":void 0,name:C.name,value:!0===M.value?C.val:C.trueValue}),e})),B=(0,n.eX)(A),O=(0,r.Fl)((()=>{const l={tabindex:x.value,role:"toggle"===e?"switch":"checkbox","aria-label":C.label,"aria-checked":!0===b.value?"mixed":!0===H.value?"true":"false"};return!0===C.disable&&(l["aria-disabled"]="true"),l}));function F(e){void 0!==e&&((0,u.NS)(e),Z(e)),!0!==C.disable&&f("update:modelValue",S(),e)}function S(){if(!0===M.value){if(!0===H.value){const e=C.modelValue.slice();return e.splice(m.value,1),e}return C.modelValue.concat([C.val])}if(!0===H.value){if("ft"!==C.toggleOrder||!1===C.toggleIndeterminate)return C.falseValue}else{if(!0!==V.value)return"ft"!==C.toggleOrder?C.trueValue:C.falseValue;if("ft"===C.toggleOrder||!1===C.toggleIndeterminate)return C.trueValue}return C.indeterminateValue}function P(e){13!==e.keyCode&&32!==e.keyCode||(0,u.NS)(e)}function _(e){13!==e.keyCode&&32!==e.keyCode||F(e)}const T=l(H,b);return Object.assign(s,{toggle:F}),()=>{const l=T();!0!==C.disable&&B(l,"unshift",` q-${e}__native absolute q-ma-none q-pa-none`);const t=[(0,r.h)("div",{class:y.value,style:w.value,"aria-hidden":"true"},l)];null!==g.value&&t.push(g.value);const o=void 0!==C.label?(0,a.vs)(p.default,[C.label]):(0,a.KR)(p.default);return void 0!==o&&t.push((0,r.h)("div",{class:`q-${e}__label q-anchor--skip`},o)),(0,r.h)("div",{ref:L,class:k.value,...O.value,onClick:F,onKeydown:P,onKeyup:_},t)}}},83302:(e,l,C)=>{"use strict";C.d(l,{Z:()=>f});C(69665);var r=C(59835),t=C(20244);const o={...t.LU,min:{type:Number,default:0},max:{type:Number,default:100},color:String,centerColor:String,trackColor:String,fontSize:String,rounded:Boolean,thickness:{type:Number,default:.2,validator:e=>e>=0&&e<=1},angle:{type:Number,default:0},showValue:Boolean,reverse:Boolean,instantFeedback:Boolean};var i=C(65987),d=C(22026),n=C(30321);const c=50,u=2*c,a=u*Math.PI,p=Math.round(1e3*a)/1e3,f=(0,i.L)({name:"QCircularProgress",props:{...o,value:{type:Number,default:0},animationSpeed:{type:[String,Number],default:600},indeterminate:Boolean},setup(e,{slots:l}){const{proxy:{$q:C}}=(0,r.FN)(),o=(0,t.ZP)(e),i=(0,r.Fl)((()=>{const l=(!0===C.lang.rtl?-1:1)*e.angle;return{transform:e.reverse!==(!0===C.lang.rtl)?`scale3d(-1, 1, 1) rotate3d(0, 0, 1, ${-90-l}deg)`:`rotate3d(0, 0, 1, ${l-90}deg)`}})),f=(0,r.Fl)((()=>!0!==e.instantFeedback&&!0!==e.indeterminate?{transition:`stroke-dashoffset ${e.animationSpeed}ms ease 0s, stroke ${e.animationSpeed}ms ease`}:"")),s=(0,r.Fl)((()=>u/(1-e.thickness/2))),v=(0,r.Fl)((()=>`${s.value/2} ${s.value/2} ${s.value} ${s.value}`)),h=(0,r.Fl)((()=>(0,n.vX)(e.value,e.min,e.max))),L=(0,r.Fl)((()=>a*(1-(h.value-e.min)/(e.max-e.min)))),g=(0,r.Fl)((()=>e.thickness/2*s.value));function Z({thickness:e,offset:l,color:C,cls:t,rounded:o}){return(0,r.h)("circle",{class:"q-circular-progress__"+t+(void 0!==C?` text-${C}`:""),style:f.value,fill:"transparent",stroke:"currentColor","stroke-width":e,"stroke-dasharray":p,"stroke-dashoffset":l,"stroke-linecap":o,cx:s.value,cy:s.value,r:c})}return()=>{const C=[];void 0!==e.centerColor&&"transparent"!==e.centerColor&&C.push((0,r.h)("circle",{class:`q-circular-progress__center text-${e.centerColor}`,fill:"currentColor",r:c-g.value/2,cx:s.value,cy:s.value})),void 0!==e.trackColor&&"transparent"!==e.trackColor&&C.push(Z({cls:"track",thickness:g.value,offset:0,color:e.trackColor})),C.push(Z({cls:"circle",thickness:g.value,offset:L.value,color:e.color,rounded:!0===e.rounded?"round":void 0}));const t=[(0,r.h)("svg",{class:"q-circular-progress__svg",style:i.value,viewBox:v.value,"aria-hidden":"true"},C)];return!0===e.showValue&&t.push((0,r.h)("div",{class:"q-circular-progress__text absolute-full row flex-center content-center",style:{fontSize:e.fontSize}},void 0!==l.default?l.default():[(0,r.h)("div",h.value)])),(0,r.h)("div",{class:`q-circular-progress q-circular-progress--${!0===e.indeterminate?"in":""}determinate`,style:o.value,role:"progressbar","aria-valuemin":e.min,"aria-valuemax":e.max,"aria-valuenow":!0===e.indeterminate?void 0:h.value},(0,d.pf)(l.internal,t))}}})},32074:(e,l,C)=>{"use strict";C.d(l,{Z:()=>m});var r=C(59835),t=C(60499),o=C(61957),i=C(94953),d=C(52695),n=C(16916),c=C(63842),u=C(20431),a=C(91518),p=C(49754),f=C(65987),s=C(70223),v=C(22026),h=C(16532),L=C(4173),g=C(17026);let Z=0;const w={standard:"fixed-full flex-center",top:"fixed-top justify-center",bottom:"fixed-bottom justify-center",right:"fixed-right items-center",left:"fixed-left items-center"},M={standard:["scale","scale"],top:["slide-down","slide-up"],bottom:["slide-up","slide-down"],right:["slide-left","slide-right"],left:["slide-right","slide-left"]},m=(0,f.L)({name:"QDialog",inheritAttrs:!1,props:{...c.vr,...u.D,transitionShow:String,transitionHide:String,persistent:Boolean,autoClose:Boolean,allowFocusOutside:Boolean,noEscDismiss:Boolean,noBackdropDismiss:Boolean,noRouteDismiss:Boolean,noRefocus:Boolean,noFocus:Boolean,noShake:Boolean,seamless:Boolean,maximized:Boolean,fullWidth:Boolean,fullHeight:Boolean,square:Boolean,position:{type:String,default:"standard",validator:e=>"standard"===e||["top","bottom","left","right"].includes(e)}},emits:[...c.gH,"shake","click","escapeKey"],setup(e,{slots:l,emit:C,attrs:f}){const m=(0,r.FN)(),H=(0,t.iH)(null),V=(0,t.iH)(!1),b=(0,t.iH)(!1);let x,k,y=null,A=null;const B=(0,r.Fl)((()=>!0!==e.persistent&&!0!==e.noRouteDismiss&&!0!==e.seamless)),{preventBodyScroll:O}=(0,p.Z)(),{registerTimeout:F}=(0,d.Z)(),{registerTick:S,removeTick:P}=(0,n.Z)(),{transitionProps:_,transitionStyle:T}=(0,u.Z)(e,(()=>M[e.position][0]),(()=>M[e.position][1])),{showPortal:E,hidePortal:q,portalIsAccessible:D,renderPortal:R}=(0,a.Z)(m,H,te,"dialog"),{hide:N}=(0,c.ZP)({showing:V,hideOnRouteChange:B,handleShow:G,handleHide:W,processOnMount:!0}),{addToHistory:I,removeFromHistory:$}=(0,i.Z)(V,N,B),U=(0,r.Fl)((()=>"q-dialog__inner flex no-pointer-events q-dialog__inner--"+(!0===e.maximized?"maximized":"minimized")+` q-dialog__inner--${e.position} ${w[e.position]}`+(!0===b.value?" q-dialog__inner--animating":"")+(!0===e.fullWidth?" q-dialog__inner--fullwidth":"")+(!0===e.fullHeight?" q-dialog__inner--fullheight":"")+(!0===e.square?" q-dialog__inner--square":""))),j=(0,r.Fl)((()=>!0===V.value&&!0!==e.seamless)),z=(0,r.Fl)((()=>!0===e.autoClose?{onClick:le}:{})),Y=(0,r.Fl)((()=>["q-dialog fullscreen no-pointer-events q-dialog--"+(!0===j.value?"modal":"seamless"),f.class]));function G(l){I(),A=!1===e.noRefocus&&null!==document.activeElement?document.activeElement:null,ee(e.maximized),E(),b.value=!0,!0!==e.noFocus?(null!==document.activeElement&&document.activeElement.blur(),S(K)):P(),F((()=>{if(!0===m.proxy.$q.platform.is.ios){if(!0!==e.seamless&&document.activeElement){const{top:e,bottom:l}=document.activeElement.getBoundingClientRect(),{innerHeight:C}=window,r=void 0!==window.visualViewport?window.visualViewport.height:C;e>0&&l>r/2&&(document.scrollingElement.scrollTop=Math.min(document.scrollingElement.scrollHeight-r,l>=C?1/0:Math.ceil(document.scrollingElement.scrollTop+l-r/2))),document.activeElement.scrollIntoView()}k=!0,H.value.click(),k=!1}E(!0),b.value=!1,C("show",l)}),e.transitionDuration)}function W(l){P(),$(),J(!0),b.value=!0,q(),null!==A&&(((l&&0===l.type.indexOf("key")?A.closest('[tabindex]:not([tabindex^="-"])'):void 0)||A).focus(),A=null),F((()=>{q(!0),b.value=!1,C("hide",l)}),e.transitionDuration)}function K(e){(0,g.jd)((()=>{let l=H.value;null!==l&&!0!==l.contains(document.activeElement)&&(l=(""!==e?l.querySelector(e):null)||l.querySelector("[autofocus][tabindex], [data-autofocus][tabindex]")||l.querySelector("[autofocus] [tabindex], [data-autofocus] [tabindex]")||l.querySelector("[autofocus], [data-autofocus]")||l,l.focus({preventScroll:!0}))}))}function X(e){e&&"function"===typeof e.focus?e.focus({preventScroll:!0}):K(),C("shake");const l=H.value;null!==l&&(l.classList.remove("q-animate--scale"),l.classList.add("q-animate--scale"),null!==y&&clearTimeout(y),y=setTimeout((()=>{y=null,null!==H.value&&(l.classList.remove("q-animate--scale"),K())}),170))}function Q(){!0!==e.seamless&&(!0===e.persistent||!0===e.noEscDismiss?!0!==e.maximized&&!0!==e.noShake&&X():(C("escapeKey"),N()))}function J(l){null!==y&&(clearTimeout(y),y=null),!0!==l&&!0!==V.value||(ee(!1),!0!==e.seamless&&(O(!1),(0,L.H)(re),(0,h.k)(Q))),!0!==l&&(A=null)}function ee(e){!0===e?!0!==x&&(Z<1&&document.body.classList.add("q-body--dialog"),Z++,x=!0):!0===x&&(Z<2&&document.body.classList.remove("q-body--dialog"),Z--,x=!1)}function le(e){!0!==k&&(N(e),C("click",e))}function Ce(l){!0!==e.persistent&&!0!==e.noBackdropDismiss?N(l):!0!==e.noShake&&X()}function re(l){!0!==e.allowFocusOutside&&!0===D.value&&!0!==(0,s.mY)(H.value,l.target)&&K('[tabindex]:not([tabindex="-1"])')}function te(){return(0,r.h)("div",{role:"dialog","aria-modal":!0===j.value?"true":"false",...f,class:Y.value},[(0,r.h)(o.uT,{name:"q-transition--fade",appear:!0},(()=>!0===j.value?(0,r.h)("div",{class:"q-dialog__backdrop fixed-full",style:T.value,"aria-hidden":"true",tabindex:-1,onClick:Ce}):null)),(0,r.h)(o.uT,_.value,(()=>!0===V.value?(0,r.h)("div",{ref:H,class:U.value,style:T.value,tabindex:-1,...z.value},(0,v.KR)(l.default)):null))])}return(0,r.YP)((()=>e.maximized),(e=>{!0===V.value&&ee(e)})),(0,r.YP)(j,(e=>{O(e),!0===e?((0,L.i)(re),(0,h.c)(Q)):((0,L.H)(re),(0,h.k)(Q))})),Object.assign(m.proxy,{focus:K,shake:X,__updateRefocusTarget(e){A=e||null}}),(0,r.Jd)(J),R}})},10906:(e,l,C)=>{"use strict";C.d(l,{Z:()=>h});C(69665);var r=C(59835),t=C(60499),o=C(94953),i=C(63842),d=C(49754),n=C(52695),c=C(68234),u=C(2873),a=C(65987),p=C(30321),f=C(22026),s=C(95439);const v=150,h=(0,a.L)({name:"QDrawer",inheritAttrs:!1,props:{...i.vr,...c.S,side:{type:String,default:"left",validator:e=>["left","right"].includes(e)},width:{type:Number,default:300},mini:Boolean,miniToOverlay:Boolean,miniWidth:{type:Number,default:57},noMiniAnimation:Boolean,breakpoint:{type:Number,default:1023},showIfAbove:Boolean,behavior:{type:String,validator:e=>["default","desktop","mobile"].includes(e),default:"default"},bordered:Boolean,elevated:Boolean,overlay:Boolean,persistent:Boolean,noSwipeOpen:Boolean,noSwipeClose:Boolean,noSwipeBackdrop:Boolean},emits:[...i.gH,"onLayout","miniState"],setup(e,{slots:l,emit:C,attrs:a}){const h=(0,r.FN)(),{proxy:{$q:L}}=h,g=(0,c.Z)(e,L),{preventBodyScroll:Z}=(0,d.Z)(),{registerTimeout:w,removeTimeout:M}=(0,n.Z)(),m=(0,r.f3)(s.YE,s.qO);if(m===s.qO)return console.error("QDrawer needs to be child of QLayout"),s.qO;let H,V,b=null;const x=(0,t.iH)("mobile"===e.behavior||"desktop"!==e.behavior&&m.totalWidth.value<=e.breakpoint),k=(0,r.Fl)((()=>!0===e.mini&&!0!==x.value)),y=(0,r.Fl)((()=>!0===k.value?e.miniWidth:e.width)),A=(0,t.iH)(!0===e.showIfAbove&&!1===x.value||!0===e.modelValue),B=(0,r.Fl)((()=>!0!==e.persistent&&(!0===x.value||!0===G.value)));function O(e,l){if(_(),!1!==e&&m.animate(),de(0),!0===x.value){const e=m.instances[U.value];void 0!==e&&!0===e.belowBreakpoint&&e.hide(!1),ne(1),!0!==m.isContainer.value&&Z(!0)}else ne(0),!1!==e&&ce(!1);w((()=>{!1!==e&&ce(!0),!0!==l&&C("show",e)}),v)}function F(e,l){T(),!1!==e&&m.animate(),ne(0),de(D.value*y.value),fe(),!0!==l?w((()=>{C("hide",e)}),v):M()}const{show:S,hide:P}=(0,i.ZP)({showing:A,hideOnRouteChange:B,handleShow:O,handleHide:F}),{addToHistory:_,removeFromHistory:T}=(0,o.Z)(A,P,B),E={belowBreakpoint:x,hide:P},q=(0,r.Fl)((()=>"right"===e.side)),D=(0,r.Fl)((()=>(!0===L.lang.rtl?-1:1)*(!0===q.value?1:-1))),R=(0,t.iH)(0),N=(0,t.iH)(!1),I=(0,t.iH)(!1),$=(0,t.iH)(y.value*D.value),U=(0,r.Fl)((()=>!0===q.value?"left":"right")),j=(0,r.Fl)((()=>!0===A.value&&!1===x.value&&!1===e.overlay?!0===e.miniToOverlay?e.miniWidth:y.value:0)),z=(0,r.Fl)((()=>!0===e.overlay||!0===e.miniToOverlay||m.view.value.indexOf(q.value?"R":"L")>-1||!0===L.platform.is.ios&&!0===m.isContainer.value)),Y=(0,r.Fl)((()=>!1===e.overlay&&!0===A.value&&!1===x.value)),G=(0,r.Fl)((()=>!0===e.overlay&&!0===A.value&&!1===x.value)),W=(0,r.Fl)((()=>"fullscreen q-drawer__backdrop"+(!1===A.value&&!1===N.value?" hidden":""))),K=(0,r.Fl)((()=>({backgroundColor:`rgba(0,0,0,${.4*R.value})`}))),X=(0,r.Fl)((()=>!0===q.value?"r"===m.rows.value.top[2]:"l"===m.rows.value.top[0])),Q=(0,r.Fl)((()=>!0===q.value?"r"===m.rows.value.bottom[2]:"l"===m.rows.value.bottom[0])),J=(0,r.Fl)((()=>{const e={};return!0===m.header.space&&!1===X.value&&(!0===z.value?e.top=`${m.header.offset}px`:!0===m.header.space&&(e.top=`${m.header.size}px`)),!0===m.footer.space&&!1===Q.value&&(!0===z.value?e.bottom=`${m.footer.offset}px`:!0===m.footer.space&&(e.bottom=`${m.footer.size}px`)),e})),ee=(0,r.Fl)((()=>{const e={width:`${y.value}px`,transform:`translateX(${$.value}px)`};return!0===x.value?e:Object.assign(e,J.value)})),le=(0,r.Fl)((()=>"q-drawer__content fit "+(!0!==m.isContainer.value?"scroll":"overflow-auto"))),Ce=(0,r.Fl)((()=>`q-drawer q-drawer--${e.side}`+(!0===I.value?" q-drawer--mini-animate":"")+(!0===e.bordered?" q-drawer--bordered":"")+(!0===g.value?" q-drawer--dark q-dark":"")+(!0===N.value?" no-transition":!0===A.value?"":" q-layout--prevent-focus")+(!0===x.value?" fixed q-drawer--on-top q-drawer--mobile q-drawer--top-padding":" q-drawer--"+(!0===k.value?"mini":"standard")+(!0===z.value||!0!==Y.value?" fixed":"")+(!0===e.overlay||!0===e.miniToOverlay?" q-drawer--on-top":"")+(!0===X.value?" q-drawer--top-padding":"")))),re=(0,r.Fl)((()=>{const l=!0===L.lang.rtl?e.side:U.value;return[[u.Z,ae,void 0,{[l]:!0,mouse:!0}]]})),te=(0,r.Fl)((()=>{const l=!0===L.lang.rtl?U.value:e.side;return[[u.Z,pe,void 0,{[l]:!0,mouse:!0}]]})),oe=(0,r.Fl)((()=>{const l=!0===L.lang.rtl?U.value:e.side;return[[u.Z,pe,void 0,{[l]:!0,mouse:!0,mouseAllDir:!0}]]}));function ie(){ve(x,"mobile"===e.behavior||"desktop"!==e.behavior&&m.totalWidth.value<=e.breakpoint)}function de(e){void 0===e?(0,r.Y3)((()=>{e=!0===A.value?0:y.value,de(D.value*e)})):(!0!==m.isContainer.value||!0!==q.value||!0!==x.value&&Math.abs(e)!==y.value||(e+=D.value*m.scrollbarWidth.value),$.value=e)}function ne(e){R.value=e}function ce(e){const l=!0===e?"remove":!0!==m.isContainer.value?"add":"";""!==l&&document.body.classList[l]("q-body--drawer-toggle")}function ue(){null!==b&&clearTimeout(b),h.proxy&&h.proxy.$el&&h.proxy.$el.classList.add("q-drawer--mini-animate"),I.value=!0,b=setTimeout((()=>{b=null,I.value=!1,h&&h.proxy&&h.proxy.$el&&h.proxy.$el.classList.remove("q-drawer--mini-animate")}),150)}function ae(e){if(!1!==A.value)return;const l=y.value,C=(0,p.vX)(e.distance.x,0,l);if(!0===e.isFinal){const e=C>=Math.min(75,l);return!0===e?S():(m.animate(),ne(0),de(D.value*l)),void(N.value=!1)}de((!0===L.lang.rtl?!0!==q.value:q.value)?Math.max(l-C,0):Math.min(0,C-l)),ne((0,p.vX)(C/l,0,1)),!0===e.isFirst&&(N.value=!0)}function pe(l){if(!0!==A.value)return;const C=y.value,r=l.direction===e.side,t=(!0===L.lang.rtl?!0!==r:r)?(0,p.vX)(l.distance.x,0,C):0;if(!0===l.isFinal){const e=Math.abs(t){!0===l?(H=A.value,!0===A.value&&P(!1)):!1===e.overlay&&"mobile"!==e.behavior&&!1!==H&&(!0===A.value?(de(0),ne(0),fe()):S(!1))})),(0,r.YP)((()=>e.side),((e,l)=>{m.instances[l]===E&&(m.instances[l]=void 0,m[l].space=!1,m[l].offset=0),m.instances[e]=E,m[e].size=y.value,m[e].space=Y.value,m[e].offset=j.value})),(0,r.YP)(m.totalWidth,(()=>{!0!==m.isContainer.value&&!0===document.qScrollPrevented||ie()})),(0,r.YP)((()=>e.behavior+e.breakpoint),ie),(0,r.YP)(m.isContainer,(e=>{!0===A.value&&Z(!0!==e),!0===e&&ie()})),(0,r.YP)(m.scrollbarWidth,(()=>{de(!0===A.value?0:void 0)})),(0,r.YP)(j,(e=>{se("offset",e)})),(0,r.YP)(Y,(e=>{C("onLayout",e),se("space",e)})),(0,r.YP)(q,(()=>{de()})),(0,r.YP)(y,(l=>{de(),he(e.miniToOverlay,l)})),(0,r.YP)((()=>e.miniToOverlay),(e=>{he(e,y.value)})),(0,r.YP)((()=>L.lang.rtl),(()=>{de()})),(0,r.YP)((()=>e.mini),(()=>{e.noMiniAnimation||!0===e.modelValue&&(ue(),m.animate())})),(0,r.YP)(k,(e=>{C("miniState",e)})),m.instances[e.side]=E,he(e.miniToOverlay,y.value),se("space",Y.value),se("offset",j.value),!0===e.showIfAbove&&!0!==e.modelValue&&!0===A.value&&void 0!==e["onUpdate:modelValue"]&&C("update:modelValue",!0),(0,r.bv)((()=>{C("onLayout",Y.value),C("miniState",k.value),H=!0===e.showIfAbove;const l=()=>{const e=!0===A.value?O:F;e(!1,!0)};0===m.totalWidth.value?V=(0,r.YP)(m.totalWidth,(()=>{V(),V=void 0,!1===A.value&&!0===e.showIfAbove&&!1===x.value?S(!1):l()})):(0,r.Y3)(l)})),(0,r.Jd)((()=>{void 0!==V&&V(),null!==b&&(clearTimeout(b),b=null),!0===A.value&&fe(),m.instances[e.side]===E&&(m.instances[e.side]=void 0,se("size",0),se("offset",0),se("space",!1))})),()=>{const C=[];!0===x.value&&(!1===e.noSwipeOpen&&C.push((0,r.wy)((0,r.h)("div",{key:"open",class:`q-drawer__opener fixed-${e.side}`,"aria-hidden":"true"}),re.value)),C.push((0,f.Jl)("div",{ref:"backdrop",class:W.value,style:K.value,"aria-hidden":"true",onClick:P},void 0,"backdrop",!0!==e.noSwipeBackdrop&&!0===A.value,(()=>oe.value))));const t=!0===k.value&&void 0!==l.mini,o=[(0,r.h)("div",{...a,key:""+t,class:[le.value,a.class]},!0===t?l.mini():(0,f.KR)(l.default))];return!0===e.elevated&&!0===A.value&&o.push((0,r.h)("div",{class:"q-layout__shadow absolute-full overflow-hidden no-pointer-events"})),C.push((0,f.Jl)("aside",{ref:"content",class:Ce.value,style:ee.value},o,"contentclose",!0!==e.noSwipeClose&&!0===x.value,(()=>te.value))),(0,r.h)("div",{class:"q-drawer-container"},C)}}})},71928:(e,l,C)=>{"use strict";C.d(l,{Z:()=>$});C(69665);var r=C(59835),t=C(60499),o=C(91384);function i(e,l){if(l&&e===l)return null;const C=e.nodeName.toLowerCase();if(!0===["div","li","ul","ol","blockquote"].includes(C))return e;const r=window.getComputedStyle?window.getComputedStyle(e):e.currentStyle,t=r.display;return"block"===t||"table"===t?e:i(e.parentNode)}function d(e,l,C){return!(!e||e===document.body)&&(!0===C&&e===l||(l===document?document.body:l).contains(e.parentNode))}function n(e,l,C){if(C||(C=document.createRange(),C.selectNode(e),C.setStart(e,0)),0===l.count)C.setEnd(e,l.count);else if(l.count>0)if(e.nodeType===Node.TEXT_NODE)e.textContent.length0&&this.savedPos\n \n \n Print - ${document.title}\n \n \n
${this.el.innerHTML}
\n \n \n `),e.print(),void e.close()}if("link"===e){const e=this.getParentAttribute("href");if(null===e){const e=this.selectWord(this.selection),l=e?e.toString():"";if(!l.length&&(!this.range||!this.range.cloneContents().querySelector("img")))return;this.eVm.editLinkUrl.value=c.test(l)?l:"https://",document.execCommand("createLink",!1,this.eVm.editLinkUrl.value),this.save(e.getRangeAt(0))}else this.eVm.editLinkUrl.value=e,this.range.selectNodeContents(this.parent),this.save();return}if("fullscreen"===e)return this.eVm.toggleFullscreen(),void C();if("viewsource"===e)return this.eVm.isViewingSource.value=!1===this.eVm.isViewingSource.value,this.eVm.setContent(this.eVm.props.modelValue),void C()}document.execCommand(e,!1,l),C()}selectWord(e){if(null===e||!0!==e.isCollapsed||void 0===e.modify)return e;const l=document.createRange();l.setStart(e.anchorNode,e.anchorOffset),l.setEnd(e.focusNode,e.focusOffset);const C=l.collapsed?["backward","forward"]:["forward","backward"];l.detach();const r=e.focusNode,t=e.focusOffset;return e.collapse(e.anchorNode,e.anchorOffset),e.modify("move",C[0],"character"),e.modify("move",C[1],"word"),e.extend(r,t),e.modify("extend",C[1],"character"),e.modify("extend",C[0],"word"),e}}var a=C(68879),p=C(22857),f=C(65987),s=C(22026);const v=(0,f.L)({name:"QBtnGroup",props:{unelevated:Boolean,outline:Boolean,flat:Boolean,rounded:Boolean,square:Boolean,push:Boolean,stretch:Boolean,glossy:Boolean,spread:Boolean},setup(e,{slots:l}){const C=(0,r.Fl)((()=>{const l=["unelevated","outline","flat","rounded","square","push","stretch","glossy"].filter((l=>!0===e[l])).map((e=>`q-btn-group--${e}`)).join(" ");return"q-btn-group row no-wrap"+(0!==l.length?" "+l:"")+(!0===e.spread?" q-btn-group--spread":" inline")}));return()=>(0,r.h)("div",{class:C.value},(0,s.KR)(l.default))}});var h=C(56362),L=C(36073),g=C(20431),Z=C(50796);const w=Object.keys(L.b7),M=e=>w.reduce(((l,C)=>{const r=e[C];return void 0!==r&&(l[C]=r),l}),{}),m=(0,f.L)({name:"QBtnDropdown",props:{...L.b7,...g.D,modelValue:Boolean,split:Boolean,dropdownIcon:String,contentClass:[Array,String,Object],contentStyle:[Array,String,Object],cover:Boolean,persistent:Boolean,noRouteDismiss:Boolean,autoClose:Boolean,menuAnchor:{type:String,default:"bottom end"},menuSelf:{type:String,default:"top end"},menuOffset:Array,disableMainBtn:Boolean,disableDropdown:Boolean,noIconAnimation:Boolean,toggleAriaLabel:String},emits:["update:modelValue","click","beforeShow","show","beforeHide","hide"],setup(e,{slots:l,emit:C}){const{proxy:i}=(0,r.FN)(),d=(0,t.iH)(e.modelValue),n=(0,t.iH)(null),c=(0,Z.Z)(),u=(0,r.Fl)((()=>{const l={"aria-expanded":!0===d.value?"true":"false","aria-haspopup":"true","aria-controls":c,"aria-label":e.toggleAriaLabel||i.$q.lang.label[!0===d.value?"collapse":"expand"](e.label)};return(!0===e.disable||!1===e.split&&!0===e.disableMainBtn||!0===e.disableDropdown)&&(l["aria-disabled"]="true"),l})),f=(0,r.Fl)((()=>"q-btn-dropdown__arrow"+(!0===d.value&&!1===e.noIconAnimation?" rotate-180":"")+(!1===e.split?" q-btn-dropdown__arrow-container":""))),g=(0,r.Fl)((()=>(0,L._V)(e))),w=(0,r.Fl)((()=>M(e)));function m(e){d.value=!0,C("beforeShow",e)}function H(e){C("show",e),C("update:modelValue",!0)}function V(e){d.value=!1,C("beforeHide",e)}function b(e){C("hide",e),C("update:modelValue",!1)}function x(e){C("click",e)}function k(e){(0,o.sT)(e),B(),C("click",e)}function y(e){null!==n.value&&n.value.toggle(e)}function A(e){null!==n.value&&n.value.show(e)}function B(e){null!==n.value&&n.value.hide(e)}return(0,r.YP)((()=>e.modelValue),(e=>{null!==n.value&&n.value[e?"show":"hide"]()})),(0,r.YP)((()=>e.split),B),Object.assign(i,{show:A,hide:B,toggle:y}),(0,r.bv)((()=>{!0===e.modelValue&&A()})),()=>{const C=[(0,r.h)(p.Z,{class:f.value,name:e.dropdownIcon||i.$q.iconSet.arrow.dropdown})];return!0!==e.disableDropdown&&C.push((0,r.h)(h.Z,{ref:n,id:c,class:e.contentClass,style:e.contentStyle,cover:e.cover,fit:!0,persistent:e.persistent,noRouteDismiss:e.noRouteDismiss,autoClose:e.autoClose,anchor:e.menuAnchor,self:e.menuSelf,offset:e.menuOffset,separateClosePopup:!0,transitionShow:e.transitionShow,transitionHide:e.transitionHide,transitionDuration:e.transitionDuration,onBeforeShow:m,onShow:H,onBeforeHide:V,onHide:b},l.default)),!1===e.split?(0,r.h)(a.Z,{class:"q-btn-dropdown q-btn-dropdown--simple",...w.value,...u.value,disable:!0===e.disable||!0===e.disableMainBtn,noWrap:!0,round:!1,onClick:x},{default:()=>(0,s.KR)(l.label,[]).concat(C),loading:l.loading}):(0,r.h)(v,{class:"q-btn-dropdown q-btn-dropdown--split no-wrap q-btn-item",rounded:e.rounded,square:e.square,...g.value,glossy:e.glossy,stretch:e.stretch},(()=>[(0,r.h)(a.Z,{class:"q-btn-dropdown--current",...w.value,disable:!0===e.disable||!0===e.disableMainBtn,noWrap:!0,round:!1,onClick:k},{default:l.label,loading:l.loading}),(0,r.h)(a.Z,{class:"q-btn-dropdown__arrow-container q-anchor--skip",...u.value,...g.value,disable:!0===e.disable||!0===e.disableDropdown,rounded:e.rounded,color:e.color,textColor:e.textColor,dense:e.dense,size:e.size,padding:e.padding,ripple:e.ripple},(()=>C))]))}}});var H=C(46858),V=C(490),b=C(76749),x=C(61705);function k(e,l,C){l.handler?l.handler(e,C,C.caret):C.runCmd(l.cmd,l.param)}function y(e){return(0,r.h)("div",{class:"q-editor__toolbar-group"},e)}function A(e,l,C,t=!1){const o=t||"toggle"===l.type&&(l.toggled?l.toggled(e):l.cmd&&e.caret.is(l.cmd,l.param)),i=[];if(l.tip&&e.$q.platform.is.desktop){const e=l.key?(0,r.h)("div",[(0,r.h)("small",`(CTRL + ${String.fromCharCode(l.key)})`)]):null;i.push((0,r.h)(H.Z,{delay:1e3},(()=>[(0,r.h)("div",{innerHTML:l.tip}),e])))}return(0,r.h)(a.Z,{...e.buttonProps.value,icon:null!==l.icon?l.icon:void 0,color:o?l.toggleColor||e.props.toolbarToggleColor:l.color||e.props.toolbarColor,textColor:o&&!e.props.toolbarPush?null:l.textColor||e.props.toolbarTextColor,label:l.label,disable:!!l.disable&&("function"!==typeof l.disable||l.disable(e)),size:"sm",onClick(r){C&&C(),k(r,l,e)}},(()=>i))}function B(e,l){const C="only-icons"===l.list;let t,o,i=l.label,d=null!==l.icon?l.icon:void 0;function n(){u.component.proxy.hide()}if(C)o=l.options.map((l=>{const C=void 0===l.type&&e.caret.is(l.cmd,l.param);return C&&(i=l.tip,d=null!==l.icon?l.icon:void 0),A(e,l,n,C)})),t=e.toolbarBackgroundClass.value,o=[y(o)];else{const C=void 0!==e.props.toolbarToggleColor?`text-${e.props.toolbarToggleColor}`:null,c=void 0!==e.props.toolbarTextColor?`text-${e.props.toolbarTextColor}`:null,u="no-icons"===l.list;o=l.options.map((l=>{const t=!!l.disable&&l.disable(e),o=void 0===l.type&&e.caret.is(l.cmd,l.param);o&&(i=l.tip,d=null!==l.icon?l.icon:void 0);const a=l.htmlTip;return(0,r.h)(V.Z,{active:o,activeClass:C,clickable:!0,disable:t,dense:!0,onClick(C){n(),null!==e.contentRef.value&&e.contentRef.value.focus(),e.caret.restore(),k(C,l,e)}},(()=>[!0===u?null:(0,r.h)(b.Z,{class:o?C:c,side:!0},(()=>(0,r.h)(p.Z,{name:null!==l.icon?l.icon:void 0}))),(0,r.h)(b.Z,a?()=>(0,r.h)("div",{class:"text-no-wrap",innerHTML:l.htmlTip}):l.tip?()=>(0,r.h)("div",{class:"text-no-wrap"},l.tip):void 0)]))})),t=[e.toolbarBackgroundClass.value,c]}const c=l.highlight&&i!==l.label,u=(0,r.h)(m,{...e.buttonProps.value,noCaps:!0,noWrap:!0,color:c?e.props.toolbarToggleColor:e.props.toolbarColor,textColor:c&&!e.props.toolbarPush?null:e.props.toolbarTextColor,label:l.fixedLabel?l.label:i,icon:l.fixedIcon?null!==l.icon?l.icon:void 0:d,contentClass:t,onShow:l=>e.emit("dropdownShow",l),onHide:l=>e.emit("dropdownHide",l),onBeforeShow:l=>e.emit("dropdownBeforeShow",l),onBeforeHide:l=>e.emit("dropdownBeforeHide",l)},(()=>o));return u}function O(e){if(e.caret)return e.buttons.value.filter((l=>!e.isViewingSource.value||l.find((e=>"viewsource"===e.cmd)))).map((l=>y(l.map((l=>(!e.isViewingSource.value||"viewsource"===l.cmd)&&("slot"===l.type?(0,s.KR)(e.slots[l.slot]):"dropdown"===l.type?B(e,l):A(e,l)))))))}function F(e,l,C,r={}){const t=Object.keys(r);if(0===t.length)return{};const o={default_font:{cmd:"fontName",param:e,icon:C,tip:l}};return t.forEach((e=>{const l=r[e];o[e]={cmd:"fontName",param:l,icon:C,tip:l,htmlTip:`${l}`}})),o}function S(e){if(e.caret){const l=e.props.toolbarColor||e.props.toolbarTextColor;let C=e.editLinkUrl.value;const t=()=>{e.caret.restore(),C!==e.editLinkUrl.value&&document.execCommand("createLink",!1,""===C?" ":C),e.editLinkUrl.value=null};return[(0,r.h)("div",{class:`q-mx-xs text-${l}`},`${e.$q.lang.editor.url}: `),(0,r.h)("input",{key:"qedt_btm_input",class:"col q-editor__link-input",value:C,onInput:e=>{(0,o.sT)(e),C=e.target.value},onKeydown:l=>{if(!0!==(0,x.Wm)(l))switch(l.keyCode){case 13:return(0,o.X$)(l),t();case 27:(0,o.X$)(l),e.caret.restore(),e.editLinkUrl.value&&"https://"!==e.editLinkUrl.value||document.execCommand("unlink"),e.editLinkUrl.value=null;break}}}),y([(0,r.h)(a.Z,{key:"qedt_btm_rem",tabindex:-1,...e.buttonProps.value,label:e.$q.lang.label.remove,noCaps:!0,onClick:()=>{e.caret.restore(),document.execCommand("unlink"),e.editLinkUrl.value=null}}),(0,r.h)(a.Z,{key:"qedt_btm_upd",...e.buttonProps.value,label:e.$q.lang.label.update,noCaps:!0,onClick:t})])]}}var P=C(68234),_=C(93929),T=C(45607);const E=Object.prototype.toString,q=Object.prototype.hasOwnProperty,D=new Set(["Boolean","Number","String","Function","Array","Date","RegExp"].map((e=>"[object "+e+"]")));function R(e){if(e!==Object(e)||!0===D.has(E.call(e)))return!1;if(e.constructor&&!1===q.call(e,"constructor")&&!1===q.call(e.constructor.prototype,"isPrototypeOf"))return!1;let l;for(l in e);return void 0===l||q.call(e,l)}function N(){let e,l,C,r,t,o,i=arguments[0]||{},d=1,n=!1;const c=arguments.length;for("boolean"===typeof i&&(n=i,i=arguments[1]||{},d=2),Object(i)!==i&&"function"!==typeof i&&(i={}),c===d&&(i=this,d--);d0===e.length||e.every((e=>e.length)),default(){return[["left","center","right","justify"],["bold","italic","underline","strike"],["undo","redo"]]}},toolbarColor:String,toolbarBg:String,toolbarTextColor:String,toolbarToggleColor:{type:String,default:"primary"},toolbarOutline:Boolean,toolbarPush:Boolean,toolbarRounded:Boolean,paragraphTag:{type:String,validator:e=>["div","p"].includes(e),default:"div"},contentStyle:Object,contentClass:[Object,Array,String],square:Boolean,flat:Boolean,dense:Boolean},emits:[..._.fL,"update:modelValue","keydown","click","mouseup","keyup","touchend","focus","blur","dropdownShow","dropdownHide","dropdownBeforeShow","dropdownBeforeHide","linkShow","linkHide"],setup(e,{slots:l,emit:C,attrs:i}){const{proxy:d,vnode:n}=(0,r.FN)(),{$q:c}=d,a=(0,P.Z)(e,c),{inFullscreen:p,toggleFullscreen:f}=(0,_.ZP)(),s=(0,T.Z)(i,n),v=(0,t.iH)(null),h=(0,t.iH)(null),L=(0,t.iH)(null),g=(0,t.iH)(!1),Z=(0,r.Fl)((()=>!e.readonly&&!e.disable));let w,M,m=e.modelValue;document.execCommand("defaultParagraphSeparator",!1,e.paragraphTag),w=window.getComputedStyle(document.body).fontFamily;const H=(0,r.Fl)((()=>e.toolbarBg?` bg-${e.toolbarBg}`:"")),V=(0,r.Fl)((()=>{const l=!0!==e.toolbarOutline&&!0!==e.toolbarPush;return{type:"a",flat:l,noWrap:!0,outline:e.toolbarOutline,push:e.toolbarPush,rounded:e.toolbarRounded,dense:!0,color:e.toolbarColor,disable:!Z.value,size:"sm"}})),b=(0,r.Fl)((()=>{const l=c.lang.editor,C=c.iconSet.editor;return{bold:{cmd:"bold",icon:C.bold,tip:l.bold,key:66},italic:{cmd:"italic",icon:C.italic,tip:l.italic,key:73},strike:{cmd:"strikeThrough",icon:C.strikethrough,tip:l.strikethrough,key:83},underline:{cmd:"underline",icon:C.underline,tip:l.underline,key:85},unordered:{cmd:"insertUnorderedList",icon:C.unorderedList,tip:l.unorderedList},ordered:{cmd:"insertOrderedList",icon:C.orderedList,tip:l.orderedList},subscript:{cmd:"subscript",icon:C.subscript,tip:l.subscript,htmlTip:"x2"},superscript:{cmd:"superscript",icon:C.superscript,tip:l.superscript,htmlTip:"x2"},link:{cmd:"link",disable:e=>e.caret&&!e.caret.can("link"),icon:C.hyperlink,tip:l.hyperlink,key:76},fullscreen:{cmd:"fullscreen",icon:C.toggleFullscreen,tip:l.toggleFullscreen,key:70},viewsource:{cmd:"viewsource",icon:C.viewSource,tip:l.viewSource},quote:{cmd:"formatBlock",param:"BLOCKQUOTE",icon:C.quote,tip:l.quote,key:81},left:{cmd:"justifyLeft",icon:C.left,tip:l.left},center:{cmd:"justifyCenter",icon:C.center,tip:l.center},right:{cmd:"justifyRight",icon:C.right,tip:l.right},justify:{cmd:"justifyFull",icon:C.justify,tip:l.justify},print:{type:"no-state",cmd:"print",icon:C.print,tip:l.print,key:80},outdent:{type:"no-state",disable:e=>e.caret&&!e.caret.can("outdent"),cmd:"outdent",icon:C.outdent,tip:l.outdent},indent:{type:"no-state",disable:e=>e.caret&&!e.caret.can("indent"),cmd:"indent",icon:C.indent,tip:l.indent},removeFormat:{type:"no-state",cmd:"removeFormat",icon:C.removeFormat,tip:l.removeFormat},hr:{type:"no-state",cmd:"insertHorizontalRule",icon:C.hr,tip:l.hr},undo:{type:"no-state",cmd:"undo",icon:C.undo,tip:l.undo,key:90},redo:{type:"no-state",cmd:"redo",icon:C.redo,tip:l.redo,key:89},h1:{cmd:"formatBlock",param:"H1",icon:C.heading1||C.heading,tip:l.heading1,htmlTip:`

${l.heading1}

`},h2:{cmd:"formatBlock",param:"H2",icon:C.heading2||C.heading,tip:l.heading2,htmlTip:`

${l.heading2}

`},h3:{cmd:"formatBlock",param:"H3",icon:C.heading3||C.heading,tip:l.heading3,htmlTip:`

${l.heading3}

`},h4:{cmd:"formatBlock",param:"H4",icon:C.heading4||C.heading,tip:l.heading4,htmlTip:`

${l.heading4}

`},h5:{cmd:"formatBlock",param:"H5",icon:C.heading5||C.heading,tip:l.heading5,htmlTip:`
${l.heading5}
`},h6:{cmd:"formatBlock",param:"H6",icon:C.heading6||C.heading,tip:l.heading6,htmlTip:`
${l.heading6}
`},p:{cmd:"formatBlock",param:e.paragraphTag,icon:C.heading,tip:l.paragraph},code:{cmd:"formatBlock",param:"PRE",icon:C.code,htmlTip:`${l.code}`},"size-1":{cmd:"fontSize",param:"1",icon:C.size1||C.size,tip:l.size1,htmlTip:`${l.size1}`},"size-2":{cmd:"fontSize",param:"2",icon:C.size2||C.size,tip:l.size2,htmlTip:`${l.size2}`},"size-3":{cmd:"fontSize",param:"3",icon:C.size3||C.size,tip:l.size3,htmlTip:`${l.size3}`},"size-4":{cmd:"fontSize",param:"4",icon:C.size4||C.size,tip:l.size4,htmlTip:`${l.size4}`},"size-5":{cmd:"fontSize",param:"5",icon:C.size5||C.size,tip:l.size5,htmlTip:`${l.size5}`},"size-6":{cmd:"fontSize",param:"6",icon:C.size6||C.size,tip:l.size6,htmlTip:`${l.size6}`},"size-7":{cmd:"fontSize",param:"7",icon:C.size7||C.size,tip:l.size7,htmlTip:`${l.size7}`}}})),k=(0,r.Fl)((()=>{const l=e.definitions||{},C=e.definitions||e.fonts?N(!0,{},b.value,l,F(w,c.lang.editor.defaultFont,c.iconSet.editor.font,e.fonts)):b.value;return e.toolbar.map((e=>e.map((e=>{if(e.options)return{type:"dropdown",icon:e.icon,label:e.label,size:"sm",dense:!0,fixedLabel:e.fixedLabel,fixedIcon:e.fixedIcon,highlight:e.highlight,list:e.list,options:e.options.map((e=>C[e]))};const r=C[e];return r?"no-state"===r.type||l[e]&&(void 0===r.cmd||b.value[r.cmd]&&"no-state"===b.value[r.cmd].type)?r:Object.assign({type:"toggle"},r):{type:"slot",slot:e}}))))})),y={$q:c,props:e,slots:l,emit:C,inFullscreen:p,toggleFullscreen:f,runCmd:J,isViewingSource:g,editLinkUrl:L,toolbarBackgroundClass:H,buttonProps:V,contentRef:h,buttons:k,setContent:Q};(0,r.YP)((()=>e.modelValue),(e=>{m!==e&&(m=e,Q(e,!0))})),(0,r.YP)(L,(e=>{C("link"+(e?"Show":"Hide"))}));const A=(0,r.Fl)((()=>e.toolbar&&0!==e.toolbar.length)),B=(0,r.Fl)((()=>{const e={},l=l=>{l.key&&(e[l.key]={cmd:l.cmd,param:l.param})};return k.value.forEach((e=>{e.forEach((e=>{e.options?e.options.forEach(l):l(e)}))})),e})),E=(0,r.Fl)((()=>p.value?e.contentStyle:[{minHeight:e.minHeight,height:e.height,maxHeight:e.maxHeight},e.contentStyle])),q=(0,r.Fl)((()=>"q-editor q-editor--"+(!0===g.value?"source":"default")+(!0===e.disable?" disabled":"")+(!0===p.value?" fullscreen column":"")+(!0===e.square?" q-editor--square no-border-radius":"")+(!0===e.flat?" q-editor--flat":"")+(!0===e.dense?" q-editor--dense":"")+(!0===a.value?" q-editor--dark q-dark":""))),D=(0,r.Fl)((()=>[e.contentClass,"q-editor__content",{col:p.value,"overflow-auto":p.value||e.maxHeight}])),R=(0,r.Fl)((()=>!0===e.disable?{"aria-disabled":"true"}:!0===e.readonly?{"aria-readonly":"true"}:{}));function $(){if(null!==h.value){const l="inner"+(!0===g.value?"Text":"HTML"),r=h.value[l];r!==e.modelValue&&(m=r,C("update:modelValue",r))}}function U(e){if(C("keydown",e),!0!==e.ctrlKey||!0===(0,x.Wm)(e))return void ee();const l=e.keyCode,r=B.value[l];if(void 0!==r){const{cmd:l,param:C}=r;(0,o.NS)(e),J(l,C,!1)}}function j(e){ee(),C("click",e)}function z(e){if(null!==h.value){const{scrollTop:e,scrollHeight:l}=h.value;M=l-e}y.caret.save(),C("blur",e)}function Y(e){(0,r.Y3)((()=>{null!==h.value&&void 0!==M&&(h.value.scrollTop=h.value.scrollHeight-M)})),C("focus",e)}function G(e){const l=v.value;if(null!==l&&!0===l.contains(e.target)&&(null===e.relatedTarget||!0!==l.contains(e.relatedTarget))){const e="inner"+(!0===g.value?"Text":"HTML");y.caret.restorePosition(h.value[e].length),ee()}}function W(e){const l=v.value;null===l||!0!==l.contains(e.target)||null!==e.relatedTarget&&!0===l.contains(e.relatedTarget)||(y.caret.savePosition(),ee())}function K(){M=void 0}function X(e){y.caret.save()}function Q(e,l){if(null!==h.value){!0===l&&y.caret.savePosition();const C="inner"+(!0===g.value?"Text":"HTML");h.value[C]=e,!0===l&&(y.caret.restorePosition(h.value[C].length),ee())}}function J(e,l,C=!0){le(),y.caret.restore(),y.caret.apply(e,l,(()=>{le(),y.caret.save(),C&&ee()}))}function ee(){setTimeout((()=>{L.value=null,d.$forceUpdate()}),1)}function le(){(0,I.jd)((()=>{null!==h.value&&h.value.focus({preventScroll:!0})}))}function Ce(){return h.value}return(0,r.bv)((()=>{y.caret=d.caret=new u(h.value,y),Q(e.modelValue),ee(),document.addEventListener("selectionchange",X)})),(0,r.Jd)((()=>{document.removeEventListener("selectionchange",X)})),Object.assign(d,{runCmd:J,refreshToolbar:ee,focus:le,getContentEl:Ce}),()=>{let l;if(A.value){const e=[(0,r.h)("div",{key:"qedt_top",class:"q-editor__toolbar row no-wrap scroll-x"+H.value},O(y))];null!==L.value&&e.push((0,r.h)("div",{key:"qedt_btm",class:"q-editor__toolbar row no-wrap items-center scroll-x"+H.value},S(y))),l=(0,r.h)("div",{key:"toolbar_ctainer",class:"q-editor__toolbars-container"},e)}return(0,r.h)("div",{ref:v,class:q.value,style:{height:!0===p.value?"100%":null},...R.value,onFocusin:G,onFocusout:W},[l,(0,r.h)("div",{ref:h,style:E.value,class:D.value,contenteditable:Z.value,placeholder:e.placeholder,...s.listeners.value,onInput:$,onKeydown:U,onClick:j,onBlur:z,onFocus:Y,onMousedown:K,onTouchstartPassive:K})])}}})},16602:(e,l,C)=>{"use strict";C.d(l,{Z:()=>c});C(69665);var r=C(59835),t=C(60499),o=C(60883),i=C(65987),d=C(22026),n=C(95439);const c=(0,i.L)({name:"QHeader",props:{modelValue:{type:Boolean,default:!0},reveal:Boolean,revealOffset:{type:Number,default:250},bordered:Boolean,elevated:Boolean,heightHint:{type:[String,Number],default:50}},emits:["reveal","focusin"],setup(e,{slots:l,emit:C}){const{proxy:{$q:i}}=(0,r.FN)(),c=(0,r.f3)(n.YE,n.qO);if(c===n.qO)return console.error("QHeader needs to be child of QLayout"),n.qO;const u=(0,t.iH)(parseInt(e.heightHint,10)),a=(0,t.iH)(!0),p=(0,r.Fl)((()=>!0===e.reveal||c.view.value.indexOf("H")>-1||i.platform.is.ios&&!0===c.isContainer.value)),f=(0,r.Fl)((()=>{if(!0!==e.modelValue)return 0;if(!0===p.value)return!0===a.value?u.value:0;const l=u.value-c.scroll.value.position;return l>0?l:0})),s=(0,r.Fl)((()=>!0!==e.modelValue||!0===p.value&&!0!==a.value)),v=(0,r.Fl)((()=>!0===e.modelValue&&!0===s.value&&!0===e.reveal)),h=(0,r.Fl)((()=>"q-header q-layout__section--marginal "+(!0===p.value?"fixed":"absolute")+"-top"+(!0===e.bordered?" q-header--bordered":"")+(!0===s.value?" q-header--hidden":"")+(!0!==e.modelValue?" q-layout--prevent-focus":""))),L=(0,r.Fl)((()=>{const e=c.rows.value.top,l={};return"l"===e[0]&&!0===c.left.space&&(l[!0===i.lang.rtl?"right":"left"]=`${c.left.size}px`),"r"===e[2]&&!0===c.right.space&&(l[!0===i.lang.rtl?"left":"right"]=`${c.right.size}px`),l}));function g(e,l){c.update("header",e,l)}function Z(e,l){e.value!==l&&(e.value=l)}function w({height:e}){Z(u,e),g("size",e)}function M(e){!0===v.value&&Z(a,!0),C("focusin",e)}(0,r.YP)((()=>e.modelValue),(e=>{g("space",e),Z(a,!0),c.animate()})),(0,r.YP)(f,(e=>{g("offset",e)})),(0,r.YP)((()=>e.reveal),(l=>{!1===l&&Z(a,e.modelValue)})),(0,r.YP)(a,(e=>{c.animate(),C("reveal",e)})),(0,r.YP)(c.scroll,(l=>{!0===e.reveal&&Z(a,"up"===l.direction||l.position<=e.revealOffset||l.position-l.inflectionPoint<100)}));const m={};return c.instances.header=m,!0===e.modelValue&&g("size",u.value),g("space",e.modelValue),g("offset",f.value),(0,r.Jd)((()=>{c.instances.header===m&&(c.instances.header=void 0,g("size",0),g("offset",0),g("space",!1))})),()=>{const C=(0,d.Bl)(l.default,[]);return!0===e.elevated&&C.push((0,r.h)("div",{class:"q-layout__shadow absolute-full overflow-hidden no-pointer-events"})),C.push((0,r.h)(o.Z,{debounce:0,onResize:w})),(0,r.h)("header",{class:h.value,style:L.value,onFocusin:M},C)}}})},22857:(e,l,C)=>{"use strict";C.d(l,{Z:()=>M});var r=C(59835),t=C(20244),o=C(65987),i=C(22026);const d="0 0 24 24",n=e=>e,c=e=>`ionicons ${e}`,u={"mdi-":e=>`mdi ${e}`,"icon-":n,"bt-":e=>`bt ${e}`,"eva-":e=>`eva ${e}`,"ion-md":c,"ion-ios":c,"ion-logo":c,"iconfont ":n,"ti-":e=>`themify-icon ${e}`,"bi-":e=>`bootstrap-icons ${e}`},a={o_:"-outlined",r_:"-round",s_:"-sharp"},p={sym_o_:"-outlined",sym_r_:"-rounded",sym_s_:"-sharp"},f=new RegExp("^("+Object.keys(u).join("|")+")"),s=new RegExp("^("+Object.keys(a).join("|")+")"),v=new RegExp("^("+Object.keys(p).join("|")+")"),h=/^[Mm]\s?[-+]?\.?\d/,L=/^img:/,g=/^svguse:/,Z=/^ion-/,w=/^(fa-(sharp|solid|regular|light|brands|duotone|thin)|[lf]a[srlbdk]?) /,M=(0,o.L)({name:"QIcon",props:{...t.LU,tag:{type:String,default:"i"},name:String,color:String,left:Boolean,right:Boolean},setup(e,{slots:l}){const{proxy:{$q:C}}=(0,r.FN)(),o=(0,t.ZP)(e),n=(0,r.Fl)((()=>"q-icon"+(!0===e.left?" on-left":"")+(!0===e.right?" on-right":"")+(void 0!==e.color?` text-${e.color}`:""))),c=(0,r.Fl)((()=>{let l,t=e.name;if("none"===t||!t)return{none:!0};if(null!==C.iconMapFn){const e=C.iconMapFn(t);if(void 0!==e){if(void 0===e.icon)return{cls:e.cls,content:void 0!==e.content?e.content:" "};if(t=e.icon,"none"===t||!t)return{none:!0}}}if(!0===h.test(t)){const[e,l=d]=t.split("|");return{svg:!0,viewBox:l,nodes:e.split("&&").map((e=>{const[l,C,t]=e.split("@@");return(0,r.h)("path",{style:C,d:l,transform:t})}))}}if(!0===L.test(t))return{img:!0,src:t.substring(4)};if(!0===g.test(t)){const[e,l=d]=t.split("|");return{svguse:!0,src:e.substring(7),viewBox:l}}let o=" ";const i=t.match(f);if(null!==i)l=u[i[1]](t);else if(!0===w.test(t))l=t;else if(!0===Z.test(t))l=`ionicons ion-${!0===C.platform.is.ios?"ios":"md"}${t.substring(3)}`;else if(!0===v.test(t)){l="notranslate material-symbols";const e=t.match(v);null!==e&&(t=t.substring(6),l+=p[e[1]]),o=t}else{l="notranslate material-icons";const e=t.match(s);null!==e&&(t=t.substring(2),l+=a[e[1]]),o=t}return{cls:l,content:o}}));return()=>{const C={class:n.value,style:o.value,"aria-hidden":"true",role:"presentation"};return!0===c.value.none?(0,r.h)(e.tag,C,(0,i.KR)(l.default)):!0===c.value.img?(0,r.h)("span",C,(0,i.vs)(l.default,[(0,r.h)("img",{src:c.value.src})])):!0===c.value.svg?(0,r.h)("span",C,(0,i.vs)(l.default,[(0,r.h)("svg",{viewBox:c.value.viewBox||"0 0 24 24"},c.value.nodes)])):!0===c.value.svguse?(0,r.h)("span",C,(0,i.vs)(l.default,[(0,r.h)("svg",{viewBox:c.value.viewBox},[(0,r.h)("use",{"xlink:href":c.value.src})])])):(void 0!==c.value.cls&&(C.class+=" "+c.value.cls),(0,r.h)(e.tag,C,(0,i.vs)(l.default,[c.value.content])))}}})},70335:(e,l,C)=>{"use strict";C.d(l,{Z:()=>p});C(69665);var r=C(60499),t=C(59835),o=C(61957),i=C(13902);const d={ratio:[String,Number]};function n(e,l){return(0,t.Fl)((()=>{const C=Number(e.ratio||(void 0!==l?l.value:void 0));return!0!==isNaN(C)&&C>0?{paddingBottom:100/C+"%"}:null}))}var c=C(65987),u=C(22026);const a=16/9,p=(0,c.L)({name:"QImg",props:{...d,src:String,srcset:String,sizes:String,alt:String,crossorigin:String,decoding:String,referrerpolicy:String,draggable:Boolean,loading:{type:String,default:"lazy"},fetchpriority:{type:String,default:"auto"},width:String,height:String,initialRatio:{type:[Number,String],default:a},placeholderSrc:String,fit:{type:String,default:"cover"},position:{type:String,default:"50% 50%"},imgClass:String,imgStyle:Object,noSpinner:Boolean,noNativeMenu:Boolean,noTransition:Boolean,spinnerColor:String,spinnerSize:String},emits:["load","error"],setup(e,{slots:l,emit:C}){const d=(0,r.iH)(e.initialRatio),c=n(e,d);let a=null,p=!1;const f=[(0,r.iH)(null),(0,r.iH)(m())],s=(0,r.iH)(0),v=(0,r.iH)(!1),h=(0,r.iH)(!1),L=(0,t.Fl)((()=>`q-img q-img--${!0===e.noNativeMenu?"no-":""}menu`)),g=(0,t.Fl)((()=>({width:e.width,height:e.height}))),Z=(0,t.Fl)((()=>"q-img__image "+(void 0!==e.imgClass?e.imgClass+" ":"")+`q-img__image--with${!0===e.noTransition?"out":""}-transition`)),w=(0,t.Fl)((()=>({...e.imgStyle,objectFit:e.fit,objectPosition:e.position})));function M(){return e.src||e.srcset||e.sizes?{src:e.src,srcset:e.srcset,sizes:e.sizes}:null}function m(){return void 0!==e.placeholderSrc?{src:e.placeholderSrc}:null}function H(e){null!==a&&(clearTimeout(a),a=null),h.value=!1,null===e?(v.value=!1,f[1^s.value].value=m()):v.value=!0,f[s.value].value=e}function V({target:e}){!0!==p&&(null!==a&&(clearTimeout(a),a=null),d.value=0===e.naturalHeight?.5:e.naturalWidth/e.naturalHeight,b(e,1))}function b(e,l){!0!==p&&1e3!==l&&(!0===e.complete?x(e):a=setTimeout((()=>{a=null,b(e,l+1)}),50))}function x(e){!0!==p&&(s.value=1^s.value,f[s.value].value=null,v.value=!1,h.value=!1,C("load",e.currentSrc||e.src))}function k(e){null!==a&&(clearTimeout(a),a=null),v.value=!1,h.value=!0,f[s.value].value=null,f[1^s.value].value=m(),C("error",e)}function y(l){const C=f[l].value,r={key:"img_"+l,class:Z.value,style:w.value,crossorigin:e.crossorigin,decoding:e.decoding,referrerpolicy:e.referrerpolicy,height:e.height,width:e.width,loading:e.loading,fetchpriority:e.fetchpriority,"aria-hidden":"true",draggable:e.draggable,...C};return s.value===l?(r.class+=" q-img__image--waiting",Object.assign(r,{onLoad:V,onError:k})):r.class+=" q-img__image--loaded",(0,t.h)("div",{class:"q-img__container absolute-full",key:"img"+l},(0,t.h)("img",r))}function A(){return!0!==v.value?(0,t.h)("div",{key:"content",class:"q-img__content absolute-full q-anchor--skip"},(0,u.KR)(l[!0===h.value?"error":"default"])):(0,t.h)("div",{key:"loading",class:"q-img__loading absolute-full flex flex-center"},void 0!==l.loading?l.loading():!0===e.noSpinner?void 0:[(0,t.h)(i.Z,{color:e.spinnerColor,size:e.spinnerSize})])}return(0,t.YP)((()=>M()),H),H(M()),(0,t.Jd)((()=>{p=!0,null!==a&&(clearTimeout(a),a=null)})),()=>{const l=[];return null!==c.value&&l.push((0,t.h)("div",{key:"filler",style:c.value})),!0!==h.value&&(null!==f[0].value&&l.push(y(0)),null!==f[1].value&&l.push(y(1))),l.push((0,t.h)(o.uT,{name:"q-transition--fade"},A)),(0,t.h)("div",{class:L.value,style:g.value,role:"img","aria-label":e.alt},l)}}})},66611:(e,l,C)=>{"use strict";C.d(l,{Z:()=>m});var r=C(59835),t=C(60499),o=C(76404),i=(C(69665),C(61705));const d={date:"####/##/##",datetime:"####/##/## ##:##",time:"##:##",fulltime:"##:##:##",phone:"(###) ### - ####",card:"#### #### #### ####"},n={"#":{pattern:"[\\d]",negate:"[^\\d]"},S:{pattern:"[a-zA-Z]",negate:"[^a-zA-Z]"},N:{pattern:"[0-9a-zA-Z]",negate:"[^0-9a-zA-Z]"},A:{pattern:"[a-zA-Z]",negate:"[^a-zA-Z]",transform:e=>e.toLocaleUpperCase()},a:{pattern:"[a-zA-Z]",negate:"[^a-zA-Z]",transform:e=>e.toLocaleLowerCase()},X:{pattern:"[0-9a-zA-Z]",negate:"[^0-9a-zA-Z]",transform:e=>e.toLocaleUpperCase()},x:{pattern:"[0-9a-zA-Z]",negate:"[^0-9a-zA-Z]",transform:e=>e.toLocaleLowerCase()}},c=Object.keys(n);c.forEach((e=>{n[e].regex=new RegExp(n[e].pattern)}));const u=new RegExp("\\\\([^.*+?^${}()|([\\]])|([.*+?^${}()|[\\]])|(["+c.join("")+"])|(.)","g"),a=/[.*+?^${}()|[\]\\]/g,p=String.fromCharCode(1),f={mask:String,reverseFillMask:Boolean,fillMask:[Boolean,String],unmaskedValue:Boolean};function s(e,l,C,o){let c,f,s,v,h,L;const g=(0,t.iH)(null),Z=(0,t.iH)(M());function w(){return!0===e.autogrow||["textarea","text","search","url","tel","password"].includes(e.type)}function M(){if(H(),!0===g.value){const l=A(O(e.modelValue));return!1!==e.fillMask?F(l):l}return e.modelValue}function m(e){if(e-1){for(let r=e-C.length;r>0;r--)l+=p;C=C.slice(0,r)+l+C.slice(r)}return C}function H(){if(g.value=void 0!==e.mask&&0!==e.mask.length&&w(),!1===g.value)return v=void 0,c="",void(f="");const l=void 0===d[e.mask]?e.mask:d[e.mask],C="string"===typeof e.fillMask&&0!==e.fillMask.length?e.fillMask.slice(0,1):"_",r=C.replace(a,"\\$&"),t=[],o=[],i=[];let h=!0===e.reverseFillMask,L="",Z="";l.replace(u,((e,l,C,r,d)=>{if(void 0!==r){const e=n[r];i.push(e),Z=e.negate,!0===h&&(o.push("(?:"+Z+"+)?("+e.pattern+"+)?(?:"+Z+"+)?("+e.pattern+"+)?"),h=!1),o.push("(?:"+Z+"+)?("+e.pattern+")?")}else if(void 0!==C)L="\\"+("\\"===C?"":C),i.push(C),t.push("([^"+L+"]+)?"+L+"?");else{const e=void 0!==l?l:d;L="\\"===e?"\\\\\\\\":e.replace(a,"\\\\$&"),i.push(e),t.push("([^"+L+"]+)?"+L+"?")}}));const M=new RegExp("^"+t.join("")+"("+(""===L?".":"[^"+L+"]")+"+)?"+(""===L?"":"["+L+"]*")+"$"),m=o.length-1,H=o.map(((l,C)=>0===C&&!0===e.reverseFillMask?new RegExp("^"+r+"*"+l):C===m?new RegExp("^"+l+"("+(""===Z?".":Z)+"+)?"+(!0===e.reverseFillMask?"$":r+"*")):new RegExp("^"+l)));s=i,v=l=>{const C=M.exec(!0===e.reverseFillMask?l:l.slice(0,i.length+1));null!==C&&(l=C.slice(1).join(""));const r=[],t=H.length;for(let e=0,o=l;e"string"===typeof e?e:p)).join(""),f=c.split(p).join(C)}function V(l,t,i){const d=o.value,n=d.selectionEnd,u=d.value.length-n,a=O(l);!0===t&&H();const s=A(a),v=!1!==e.fillMask?F(s):s,L=Z.value!==v;d.value!==v&&(d.value=v),!0===L&&(Z.value=v),document.activeElement===d&&(0,r.Y3)((()=>{if(v!==f)if("insertFromPaste"!==i||!0===e.reverseFillMask)if(["deleteContentBackward","deleteContentForward"].indexOf(i)>-1){const l=!0===e.reverseFillMask?0===n?v.length>s.length?1:0:Math.max(0,v.length-(v===f?0:Math.min(s.length,u)+1))+1:n;d.setSelectionRange(l,l,"forward")}else if(!0===e.reverseFillMask)if(!0===L){const e=Math.max(0,v.length-(v===f?0:Math.min(s.length,u+1)));1===e&&1===n?d.setSelectionRange(e,e,"forward"):x.rightReverse(d,e)}else{const e=v.length-u;d.setSelectionRange(e,e,"backward")}else if(!0===L){const e=Math.max(0,c.indexOf(p),Math.min(s.length,n)-1);x.right(d,e)}else{const e=n-1;x.right(d,e)}else{const e=d.selectionEnd;let l=n-1;for(let C=h;C<=l&&Ce.type+e.autogrow),H),(0,r.YP)((()=>e.mask),(C=>{if(void 0!==C)V(Z.value,!0);else{const C=O(Z.value);H(),e.modelValue!==C&&l("update:modelValue",C)}})),(0,r.YP)((()=>e.fillMask+e.reverseFillMask),(()=>{!0===g.value&&V(Z.value,!0)})),(0,r.YP)((()=>e.unmaskedValue),(()=>{!0===g.value&&V(Z.value)}));const x={left(e,l){const C=-1===c.slice(l-1).indexOf(p);let r=Math.max(0,l-1);for(;r>=0;r--)if(c[r]===p){l=r,!0===C&&l++;break}if(r<0&&void 0!==c[l]&&c[l]!==p)return x.right(e,0);l>=0&&e.setSelectionRange(l,l,"backward")},right(e,l){const C=e.value.length;let r=Math.min(C,l+1);for(;r<=C;r++){if(c[r]===p){l=r;break}c[r-1]===p&&(l=r)}if(r>C&&void 0!==c[l-1]&&c[l-1]!==p)return x.left(e,C);e.setSelectionRange(l,l,"forward")},leftReverse(e,l){const C=m(e.value.length);let r=Math.max(0,l-1);for(;r>=0;r--){if(C[r-1]===p){l=r;break}if(C[r]===p&&(l=r,0===r))break}if(r<0&&void 0!==C[l]&&C[l]!==p)return x.rightReverse(e,0);l>=0&&e.setSelectionRange(l,l,"backward")},rightReverse(e,l){const C=e.value.length,r=m(C),t=-1===r.slice(0,l+1).indexOf(p);let o=Math.min(C,l+1);for(;o<=C;o++)if(r[o-1]===p){l=o,l>0&&!0===t&&l--;break}if(o>C&&void 0!==r[l-1]&&r[l-1]!==p)return x.leftReverse(e,C);e.setSelectionRange(l,l,"forward")}};function k(e){l("click",e),L=void 0}function y(C){if(l("keydown",C),!0===(0,i.Wm)(C)||!0===C.altKey)return;const r=o.value,t=r.selectionStart,d=r.selectionEnd;if(C.shiftKey||(L=void 0),37===C.keyCode||39===C.keyCode){C.shiftKey&&void 0===L&&(L="forward"===r.selectionDirection?t:d);const l=x[(39===C.keyCode?"right":"left")+(!0===e.reverseFillMask?"Reverse":"")];if(C.preventDefault(),l(r,L===t?d:t),C.shiftKey){const e=r.selectionStart;r.setSelectionRange(Math.min(L,e),Math.max(L,e),"forward")}}else 8===C.keyCode&&!0!==e.reverseFillMask&&t===d?(x.left(r,t),r.setSelectionRange(r.selectionStart,d,"backward")):46===C.keyCode&&!0===e.reverseFillMask&&t===d&&(x.rightReverse(r,d),r.setSelectionRange(t,r.selectionEnd,"forward"))}function A(l){if(void 0===l||null===l||""===l)return"";if(!0===e.reverseFillMask)return B(l);const C=s;let r=0,t="";for(let e=0;e=0&&r>-1;o--){const i=l[o];let d=e[r];if("string"===typeof i)t=i+t,d===i&&r--;else{if(void 0===d||!i.regex.test(d))return t;do{t=(void 0!==i.transform?i.transform(d):d)+t,r--,d=e[r]}while(C===o&&void 0!==d&&i.regex.test(d))}}return t}function O(e){return"string"!==typeof e||void 0===v?"number"===typeof e?v(""+e):e:v(e)}function F(l){return f.length-l.length<=0?l:!0===e.reverseFillMask&&0!==l.length?f.slice(0,-l.length)+l:l+f.slice(l.length)}return{innerValue:Z,hasMask:g,moveCursorForPaste:b,updateMaskValue:V,onMaskedKeydown:y,onMaskedClick:k}}var v=C(99256);function h(e,l){function C(){const l=e.modelValue;try{const e="DataTransfer"in window?new DataTransfer:"ClipboardEvent"in window?new ClipboardEvent("").clipboardData:void 0;return Object(l)===l&&("length"in l?Array.from(l):[l]).forEach((l=>{e.items.add(l)})),{files:e.files}}catch(C){return{files:void 0}}}return!0===l?(0,r.Fl)((()=>{if("file"===e.type)return C()})):(0,r.Fl)(C)}var L=C(62802),g=C(65987),Z=C(91384),w=C(17026),M=C(43251);const m=(0,g.L)({name:"QInput",inheritAttrs:!1,props:{...o.Cl,...f,...v.Fz,modelValue:{required:!1},shadowText:String,type:{type:String,default:"text"},debounce:[String,Number],autogrow:Boolean,inputClass:[Array,String,Object],inputStyle:[Array,String,Object]},emits:[...o.HJ,"paste","change","keydown","click","animationend"],setup(e,{emit:l,attrs:C}){const{proxy:i}=(0,r.FN)(),{$q:d}=i,n={};let c,u,a,p=NaN,f=null;const g=(0,t.iH)(null),m=(0,v.Do)(e),{innerValue:H,hasMask:V,moveCursorForPaste:b,updateMaskValue:x,onMaskedKeydown:k,onMaskedClick:y}=s(e,l,I,g),A=h(e,!0),B=(0,r.Fl)((()=>(0,o.yV)(H.value))),O=(0,L.Z)(R),F=(0,o.tL)(),S=(0,r.Fl)((()=>"textarea"===e.type||!0===e.autogrow)),P=(0,r.Fl)((()=>!0===S.value||["text","search","url","tel","password"].includes(e.type))),_=(0,r.Fl)((()=>{const l={...F.splitAttrs.listeners.value,onInput:R,onPaste:D,onChange:U,onBlur:j,onFocus:Z.sT};return l.onCompositionstart=l.onCompositionupdate=l.onCompositionend=O,!0===V.value&&(l.onKeydown=k,l.onClick=y),!0===e.autogrow&&(l.onAnimationend=N),l})),T=(0,r.Fl)((()=>{const l={tabindex:0,"data-autofocus":!0===e.autofocus||void 0,rows:"textarea"===e.type?6:void 0,"aria-label":e.label,name:m.value,...F.splitAttrs.attributes.value,id:F.targetUid.value,maxlength:e.maxlength,disabled:!0===e.disable,readonly:!0===e.readonly};return!1===S.value&&(l.type=e.type),!0===e.autogrow&&(l.rows=1),l}));function E(){(0,w.jd)((()=>{const e=document.activeElement;null===g.value||g.value===e||null!==e&&e.id===F.targetUid.value||g.value.focus({preventScroll:!0})}))}function q(){null!==g.value&&g.value.select()}function D(C){if(!0===V.value&&!0!==e.reverseFillMask){const e=C.target;b(e,e.selectionStart,e.selectionEnd)}l("paste",C)}function R(C){if(!C||!C.target)return;if("file"===e.type)return void l("update:modelValue",C.target.files);const t=C.target.value;if(!0!==C.target.qComposing){if(!0===V.value)x(t,!1,C.inputType);else if(I(t),!0===P.value&&C.target===document.activeElement){const{selectionStart:e,selectionEnd:l}=C.target;void 0!==e&&void 0!==l&&(0,r.Y3)((()=>{C.target===document.activeElement&&0===t.indexOf(C.target.value)&&C.target.setSelectionRange(e,l)}))}!0===e.autogrow&&$()}else n.value=t}function N(e){l("animationend",e),$()}function I(C,t){a=()=>{f=null,"number"!==e.type&&!0===n.hasOwnProperty("value")&&delete n.value,e.modelValue!==C&&p!==C&&(p=C,!0===t&&(u=!0),l("update:modelValue",C),(0,r.Y3)((()=>{p===C&&(p=NaN)}))),a=void 0},"number"===e.type&&(c=!0,n.value=C),void 0!==e.debounce?(null!==f&&clearTimeout(f),n.value=C,f=setTimeout(a,e.debounce)):a()}function $(){requestAnimationFrame((()=>{const e=g.value;if(null!==e){const l=e.parentNode.style,{scrollTop:C}=e,{overflowY:r,maxHeight:t}=!0===d.platform.is.firefox?{}:window.getComputedStyle(e),o=void 0!==r&&"scroll"!==r;!0===o&&(e.style.overflowY="hidden"),l.marginBottom=e.scrollHeight-1+"px",e.style.height="1px",e.style.height=e.scrollHeight+"px",!0===o&&(e.style.overflowY=parseInt(t,10){null!==g.value&&(g.value.value=void 0!==H.value?H.value:"")}))}function z(){return!0===n.hasOwnProperty("value")?n.value:void 0!==H.value?H.value:""}(0,r.YP)((()=>e.type),(()=>{g.value&&(g.value.value=e.modelValue)})),(0,r.YP)((()=>e.modelValue),(l=>{if(!0===V.value){if(!0===u&&(u=!1,String(l)===p))return;x(l)}else H.value!==l&&(H.value=l,"number"===e.type&&!0===n.hasOwnProperty("value")&&(!0===c?c=!1:delete n.value));!0===e.autogrow&&(0,r.Y3)($)})),(0,r.YP)((()=>e.autogrow),(e=>{!0===e?(0,r.Y3)($):null!==g.value&&C.rows>0&&(g.value.style.height="auto")})),(0,r.YP)((()=>e.dense),(()=>{!0===e.autogrow&&(0,r.Y3)($)})),(0,r.Jd)((()=>{j()})),(0,r.bv)((()=>{!0===e.autogrow&&$()})),Object.assign(F,{innerValue:H,fieldClass:(0,r.Fl)((()=>"q-"+(!0===S.value?"textarea":"input")+(!0===e.autogrow?" q-textarea--autogrow":""))),hasShadow:(0,r.Fl)((()=>"file"!==e.type&&"string"===typeof e.shadowText&&0!==e.shadowText.length)),inputRef:g,emitValue:I,hasValue:B,floatingLabel:(0,r.Fl)((()=>!0===B.value&&("number"!==e.type||!1===isNaN(H.value))||(0,o.yV)(e.displayValue))),getControl:()=>(0,r.h)(!0===S.value?"textarea":"input",{ref:g,class:["q-field__native q-placeholder",e.inputClass],style:e.inputStyle,...T.value,..._.value,..."file"!==e.type?{value:z()}:A.value}),getShadowControl:()=>(0,r.h)("div",{class:"q-field__native q-field__shadow absolute-bottom no-pointer-events"+(!0===S.value?"":" text-no-wrap")},[(0,r.h)("span",{class:"invisible"},z()),(0,r.h)("span",e.shadowText)])});const Y=(0,o.ZP)(F);return Object.assign(i,{focus:E,select:q,getNativeElement:()=>g.value}),(0,M.g)(i,"nativeEl",(()=>g.value)),Y}})},21517:(e,l,C)=>{"use strict";C.d(l,{Z:()=>s});var r=C(60499),t=C(59835),o=C(61957),i=C(47506),d=C(65987),n=C(4680);const c={threshold:0,root:null,rootMargin:"0px"};function u(e,l,C){let r,t,o;"function"===typeof C?(r=C,t=c,o=void 0===l.cfg):(r=C.handler,t=Object.assign({},c,C.cfg),o=void 0===l.cfg||!1===(0,n.xb)(l.cfg,t)),l.handler!==r&&(l.handler=r),!0===o&&(l.cfg=t,void 0!==l.observer&&l.observer.unobserve(e),l.observer=new IntersectionObserver((([C])=>{if("function"===typeof l.handler){if(null===C.rootBounds&&!0===document.body.contains(e))return l.observer.unobserve(e),void l.observer.observe(e);const r=l.handler(C,l.observer);(!1===r||!0===l.once&&!0===C.isIntersecting)&&a(e)}}),t),l.observer.observe(e))}function a(e){const l=e.__qvisible;void 0!==l&&(void 0!==l.observer&&l.observer.unobserve(e),delete e.__qvisible)}const p=(0,d.f)({name:"intersection",mounted(e,{modifiers:l,value:C}){const r={once:!0===l.once};u(e,r,C),e.__qvisible=r},updated(e,l){const C=e.__qvisible;void 0!==C&&u(e,C,l.value)},beforeUnmount:a});var f=C(22026);const s=(0,d.L)({name:"QIntersection",props:{tag:{type:String,default:"div"},once:Boolean,transition:String,transitionDuration:{type:[String,Number],default:300},ssrPrerender:Boolean,margin:String,threshold:[Number,Array],root:{default:null},disable:Boolean,onVisibility:Function},setup(e,{slots:l,emit:C}){const d=(0,r.iH)(!0===i.uX.value&&e.ssrPrerender),n=(0,t.Fl)((()=>void 0!==e.root||void 0!==e.margin||void 0!==e.threshold?{handler:s,cfg:{root:e.root,rootMargin:e.margin,threshold:e.threshold}}:s)),c=(0,t.Fl)((()=>!0!==e.disable&&(!0!==i.uX.value||!0!==e.once||!0!==e.ssrPrerender))),u=(0,t.Fl)((()=>[[p,n.value,void 0,{once:e.once}]])),a=(0,t.Fl)((()=>`--q-transition-duration: ${e.transitionDuration}ms`));function s(l){d.value!==l.isIntersecting&&(d.value=l.isIntersecting,void 0!==e.onVisibility&&C("visibility",d.value))}function v(){return!0===d.value?[(0,t.h)("div",{key:"content",style:a.value},(0,f.KR)(l.default))]:void 0!==l.hidden?[(0,t.h)("div",{key:"hidden",style:a.value},l.hidden())]:void 0}return()=>{const l=e.transition?[(0,t.h)(o.uT,{name:"q-transition--"+e.transition},v)]:v();return(0,f.Jl)(e.tag,{class:"q-intersection"},l,"main",c.value,(()=>u.value))}}})},490:(e,l,C)=>{"use strict";C.d(l,{Z:()=>a});C(86890);var r=C(59835),t=C(60499),o=C(68234),i=C(70945),d=C(65987),n=C(22026),c=C(91384),u=C(61705);const a=(0,d.L)({name:"QItem",props:{...o.S,...i.$,tag:{type:String,default:"div"},active:{type:Boolean,default:null},clickable:Boolean,dense:Boolean,insetLevel:Number,tabindex:[String,Number],focused:Boolean,manualFocus:Boolean},emits:["click","keyup"],setup(e,{slots:l,emit:C}){const{proxy:{$q:d}}=(0,r.FN)(),a=(0,o.Z)(e,d),{hasLink:p,linkAttrs:f,linkClass:s,linkTag:v,navigateOnClick:h}=(0,i.Z)(),L=(0,t.iH)(null),g=(0,t.iH)(null),Z=(0,r.Fl)((()=>!0===e.clickable||!0===p.value||"label"===e.tag)),w=(0,r.Fl)((()=>!0!==e.disable&&!0===Z.value)),M=(0,r.Fl)((()=>"q-item q-item-type row no-wrap"+(!0===e.dense?" q-item--dense":"")+(!0===a.value?" q-item--dark":"")+(!0===p.value&&null===e.active?s.value:!0===e.active?" q-item--active"+(void 0!==e.activeClass?` ${e.activeClass}`:""):"")+(!0===e.disable?" disabled":"")+(!0===w.value?" q-item--clickable q-link cursor-pointer "+(!0===e.manualFocus?"q-manual-focusable":"q-focusable q-hoverable")+(!0===e.focused?" q-manual-focusable--focused":""):""))),m=(0,r.Fl)((()=>{if(void 0===e.insetLevel)return null;const l=!0===d.lang.rtl?"Right":"Left";return{["padding"+l]:16+56*e.insetLevel+"px"}}));function H(e){!0===w.value&&(null!==g.value&&(!0!==e.qKeyEvent&&document.activeElement===L.value?g.value.focus():document.activeElement===g.value&&L.value.focus()),h(e))}function V(e){if(!0===w.value&&!0===(0,u.So)(e,13)){(0,c.NS)(e),e.qKeyEvent=!0;const l=new MouseEvent("click",e);l.qKeyEvent=!0,L.value.dispatchEvent(l)}C("keyup",e)}function b(){const e=(0,n.Bl)(l.default,[]);return!0===w.value&&e.unshift((0,r.h)("div",{class:"q-focus-helper",tabindex:-1,ref:g})),e}return()=>{const l={ref:L,class:M.value,style:m.value,role:"listitem",onClick:H,onKeyup:V};return!0===w.value?(l.tabindex=e.tabindex||"0",Object.assign(l,f.value)):!0===Z.value&&(l["aria-disabled"]="true"),(0,r.h)(v.value,l,b())}}})},76749:(e,l,C)=>{"use strict";C.d(l,{Z:()=>i});var r=C(59835),t=C(65987),o=C(22026);const i=(0,t.L)({name:"QItemSection",props:{avatar:Boolean,thumbnail:Boolean,side:Boolean,top:Boolean,noWrap:Boolean},setup(e,{slots:l}){const C=(0,r.Fl)((()=>"q-item__section column q-item__section--"+(!0===e.avatar||!0===e.side||!0===e.thumbnail?"side":"main")+(!0===e.top?" q-item__section--top justify-start":" justify-center")+(!0===e.avatar?" q-item__section--avatar":"")+(!0===e.thumbnail?" q-item__section--thumbnail":"")+(!0===e.noWrap?" q-item__section--nowrap":"")));return()=>(0,r.h)("div",{class:C.value},(0,o.KR)(l.default))}})},13246:(e,l,C)=>{"use strict";C.d(l,{Z:()=>d});var r=C(59835),t=C(65987),o=C(68234),i=C(22026);const d=(0,t.L)({name:"QList",props:{...o.S,bordered:Boolean,dense:Boolean,separator:Boolean,padding:Boolean,tag:{type:String,default:"div"}},setup(e,{slots:l}){const C=(0,r.FN)(),t=(0,o.Z)(e,C.proxy.$q),d=(0,r.Fl)((()=>"q-list"+(!0===e.bordered?" q-list--bordered":"")+(!0===e.dense?" q-list--dense":"")+(!0===e.separator?" q-list--separator":"")+(!0===t.value?" q-list--dark":"")+(!0===e.padding?" q-list--padding":"")));return()=>(0,r.h)(e.tag,{class:d.value},(0,i.KR)(l.default))}})},20249:(e,l,C)=>{"use strict";C.d(l,{Z:()=>p});var r=C(59835),t=C(60499),o=C(47506),i=C(71868),d=C(60883),n=C(65987),c=C(43701),u=C(22026),a=C(95439);const p=(0,n.L)({name:"QLayout",props:{container:Boolean,view:{type:String,default:"hhh lpr fff",validator:e=>/^(h|l)h(h|r) lpr (f|l)f(f|r)$/.test(e.toLowerCase())},onScroll:Function,onScrollHeight:Function,onResize:Function},setup(e,{slots:l,emit:C}){const{proxy:{$q:n}}=(0,r.FN)(),p=(0,t.iH)(null),f=(0,t.iH)(n.screen.height),s=(0,t.iH)(!0===e.container?0:n.screen.width),v=(0,t.iH)({position:0,direction:"down",inflectionPoint:0}),h=(0,t.iH)(0),L=(0,t.iH)(!0===o.uX.value?0:(0,c.np)()),g=(0,r.Fl)((()=>"q-layout q-layout--"+(!0===e.container?"containerized":"standard"))),Z=(0,r.Fl)((()=>!1===e.container?{minHeight:n.screen.height+"px"}:null)),w=(0,r.Fl)((()=>0!==L.value?{[!0===n.lang.rtl?"left":"right"]:`${L.value}px`}:null)),M=(0,r.Fl)((()=>0!==L.value?{[!0===n.lang.rtl?"right":"left"]:0,[!0===n.lang.rtl?"left":"right"]:`-${L.value}px`,width:`calc(100% + ${L.value}px)`}:null));function m(l){if(!0===e.container||!0!==document.qScrollPrevented){const r={position:l.position.top,direction:l.direction,directionChanged:l.directionChanged,inflectionPoint:l.inflectionPoint.top,delta:l.delta.top};v.value=r,void 0!==e.onScroll&&C("scroll",r)}}function H(l){const{height:r,width:t}=l;let o=!1;f.value!==r&&(o=!0,f.value=r,void 0!==e.onScrollHeight&&C("scrollHeight",r),b()),s.value!==t&&(o=!0,s.value=t),!0===o&&void 0!==e.onResize&&C("resize",l)}function V({height:e}){h.value!==e&&(h.value=e,b())}function b(){if(!0===e.container){const e=f.value>h.value?(0,c.np)():0;L.value!==e&&(L.value=e)}}let x=null;const k={instances:{},view:(0,r.Fl)((()=>e.view)),isContainer:(0,r.Fl)((()=>e.container)),rootRef:p,height:f,containerHeight:h,scrollbarWidth:L,totalWidth:(0,r.Fl)((()=>s.value+L.value)),rows:(0,r.Fl)((()=>{const l=e.view.toLowerCase().split(" ");return{top:l[0].split(""),middle:l[1].split(""),bottom:l[2].split("")}})),header:(0,t.qj)({size:0,offset:0,space:!1}),right:(0,t.qj)({size:300,offset:0,space:!1}),footer:(0,t.qj)({size:0,offset:0,space:!1}),left:(0,t.qj)({size:300,offset:0,space:!1}),scroll:v,animate(){null!==x?clearTimeout(x):document.body.classList.add("q-body--layout-animate"),x=setTimeout((()=>{x=null,document.body.classList.remove("q-body--layout-animate")}),155)},update(e,l,C){k[e][l]=C}};if((0,r.JJ)(a.YE,k),(0,c.np)()>0){let y=null;const A=document.body;function B(){y=null,A.classList.remove("hide-scrollbar")}function O(){if(null===y){if(A.scrollHeight>n.screen.height)return;A.classList.add("hide-scrollbar")}else clearTimeout(y);y=setTimeout(B,300)}function F(e){null!==y&&"remove"===e&&(clearTimeout(y),B()),window[`${e}EventListener`]("resize",O)}(0,r.YP)((()=>!0!==e.container?"add":"remove"),F),!0!==e.container&&F("add"),(0,r.Ah)((()=>{F("remove")}))}return()=>{const C=(0,u.vs)(l.default,[(0,r.h)(i.Z,{onScroll:m}),(0,r.h)(d.Z,{onResize:H})]),t=(0,r.h)("div",{class:g.value,style:Z.value,ref:!0===e.container?void 0:p,tabindex:-1},C);return!0===e.container?(0,r.h)("div",{class:"q-layout-container overflow-hidden",ref:p},[(0,r.h)(d.Z,{onResize:V}),(0,r.h)("div",{class:"absolute-full",style:w.value},[(0,r.h)("div",{class:"scroll",style:M.value},[t])])]):t}}})},8289:(e,l,C)=>{"use strict";C.d(l,{Z:()=>u});C(69665);var r=C(59835),t=C(68234),o=C(20244),i=C(65987),d=C(22026);const n={xs:2,sm:4,md:6,lg:10,xl:14};function c(e,l,C){return{transform:!0===l?`translateX(${!0===C.lang.rtl?"-":""}100%) scale3d(${-e},1,1)`:`scale3d(${e},1,1)`}}const u=(0,i.L)({name:"QLinearProgress",props:{...t.S,...o.LU,value:{type:Number,default:0},buffer:Number,color:String,trackColor:String,reverse:Boolean,stripe:Boolean,indeterminate:Boolean,query:Boolean,rounded:Boolean,animationSpeed:{type:[String,Number],default:2100},instantFeedback:Boolean},setup(e,{slots:l}){const{proxy:C}=(0,r.FN)(),i=(0,t.Z)(e,C.$q),u=(0,o.ZP)(e,n),a=(0,r.Fl)((()=>!0===e.indeterminate||!0===e.query)),p=(0,r.Fl)((()=>e.reverse!==e.query)),f=(0,r.Fl)((()=>({...null!==u.value?u.value:{},"--q-linear-progress-speed":`${e.animationSpeed}ms`}))),s=(0,r.Fl)((()=>"q-linear-progress"+(void 0!==e.color?` text-${e.color}`:"")+(!0===e.reverse||!0===e.query?" q-linear-progress--reverse":"")+(!0===e.rounded?" rounded-borders":""))),v=(0,r.Fl)((()=>c(void 0!==e.buffer?e.buffer:1,p.value,C.$q))),h=(0,r.Fl)((()=>`with${!0===e.instantFeedback?"out":""}-transition`)),L=(0,r.Fl)((()=>`q-linear-progress__track absolute-full q-linear-progress__track--${h.value} q-linear-progress__track--`+(!0===i.value?"dark":"light")+(void 0!==e.trackColor?` bg-${e.trackColor}`:""))),g=(0,r.Fl)((()=>c(!0===a.value?1:e.value,p.value,C.$q))),Z=(0,r.Fl)((()=>`q-linear-progress__model absolute-full q-linear-progress__model--${h.value} q-linear-progress__model--${!0===a.value?"in":""}determinate`)),w=(0,r.Fl)((()=>({width:100*e.value+"%"}))),M=(0,r.Fl)((()=>"q-linear-progress__stripe absolute-"+(!0===e.reverse?"right":"left")+` q-linear-progress__stripe--${h.value}`));return()=>{const C=[(0,r.h)("div",{class:L.value,style:v.value}),(0,r.h)("div",{class:Z.value,style:g.value})];return!0===e.stripe&&!1===a.value&&C.push((0,r.h)("div",{class:M.value,style:w.value})),(0,r.h)("div",{class:s.value,style:f.value,role:"progressbar","aria-valuemin":0,"aria-valuemax":1,"aria-valuenow":!0===e.indeterminate?void 0:e.value},(0,d.vs)(l.default,C))}}})},66933:(e,l,C)=>{"use strict";C.d(l,{Z:()=>n});var r=C(59835),t=C(68234),o=C(65987),i=C(22026);const d=["horizontal","vertical","cell","none"],n=(0,o.L)({name:"QMarkupTable",props:{...t.S,dense:Boolean,flat:Boolean,bordered:Boolean,square:Boolean,wrapCells:Boolean,separator:{type:String,default:"horizontal",validator:e=>d.includes(e)}},setup(e,{slots:l}){const C=(0,r.FN)(),o=(0,t.Z)(e,C.proxy.$q),d=(0,r.Fl)((()=>`q-markup-table q-table__container q-table__card q-table--${e.separator}-separator`+(!0===o.value?" q-table--dark q-table__card--dark q-dark":"")+(!0===e.dense?" q-table--dense":"")+(!0===e.flat?" q-table--flat":"")+(!0===e.bordered?" q-table--bordered":"")+(!0===e.square?" q-table--square":"")+(!1===e.wrapCells?" q-table--no-wrap":"")));return()=>(0,r.h)("div",{class:d.value},[(0,r.h)("table",{class:"q-table"},(0,i.KR)(l.default))])}})},56362:(e,l,C)=>{"use strict";C.d(l,{Z:()=>b});var r=C(59835),t=C(60499),o=C(61957),i=C(74397),d=C(64088),n=C(63842),c=C(68234),u=C(91518),a=C(20431),p=C(16916),f=C(52695),s=C(65987),v=C(2909),h=C(43701),L=C(91384),g=C(22026),Z=C(16532),w=C(4173),M=C(70223),m=C(49092),H=C(17026),V=C(49388);const b=(0,s.L)({name:"QMenu",inheritAttrs:!1,props:{...i.u,...n.vr,...c.S,...a.D,persistent:Boolean,autoClose:Boolean,separateClosePopup:Boolean,noRouteDismiss:Boolean,noRefocus:Boolean,noFocus:Boolean,fit:Boolean,cover:Boolean,square:Boolean,anchor:{type:String,validator:V.$},self:{type:String,validator:V.$},offset:{type:Array,validator:V.io},scrollTarget:{default:void 0},touchPosition:Boolean,maxHeight:{type:String,default:null},maxWidth:{type:String,default:null}},emits:[...n.gH,"click","escapeKey"],setup(e,{slots:l,emit:C,attrs:s}){let b,x,k,y=null;const A=(0,r.FN)(),{proxy:B}=A,{$q:O}=B,F=(0,t.iH)(null),S=(0,t.iH)(!1),P=(0,r.Fl)((()=>!0!==e.persistent&&!0!==e.noRouteDismiss)),_=(0,c.Z)(e,O),{registerTick:T,removeTick:E}=(0,p.Z)(),{registerTimeout:q}=(0,f.Z)(),{transitionProps:D,transitionStyle:R}=(0,a.Z)(e),{localScrollTarget:N,changeScrollEvent:I,unconfigureScrollTarget:$}=(0,d.Z)(e,ie),{anchorEl:U,canShow:j}=(0,i.Z)({showing:S}),{hide:z}=(0,n.ZP)({showing:S,canShow:j,handleShow:re,handleHide:te,hideOnRouteChange:P,processOnMount:!0}),{showPortal:Y,hidePortal:G,renderPortal:W}=(0,u.Z)(A,F,ae,"menu"),K={anchorEl:U,innerRef:F,onClickOutside(l){if(!0!==e.persistent&&!0===S.value)return z(l),("touchstart"===l.type||l.target.classList.contains("q-dialog__backdrop"))&&(0,L.NS)(l),!0}},X=(0,r.Fl)((()=>(0,V.li)(e.anchor||(!0===e.cover?"center middle":"bottom start"),O.lang.rtl))),Q=(0,r.Fl)((()=>!0===e.cover?X.value:(0,V.li)(e.self||"top start",O.lang.rtl))),J=(0,r.Fl)((()=>(!0===e.square?" q-menu--square":"")+(!0===_.value?" q-menu--dark q-dark":""))),ee=(0,r.Fl)((()=>!0===e.autoClose?{onClick:de}:{})),le=(0,r.Fl)((()=>!0===S.value&&!0!==e.persistent));function Ce(){(0,H.jd)((()=>{let e=F.value;e&&!0!==e.contains(document.activeElement)&&(e=e.querySelector("[autofocus][tabindex], [data-autofocus][tabindex]")||e.querySelector("[autofocus] [tabindex], [data-autofocus] [tabindex]")||e.querySelector("[autofocus], [data-autofocus]")||e,e.focus({preventScroll:!0}))}))}function re(l){if(y=!1===e.noRefocus?document.activeElement:null,(0,w.i)(ne),Y(),ie(),b=void 0,void 0!==l&&(e.touchPosition||e.contextMenu)){const e=(0,L.FK)(l);if(void 0!==e.left){const{top:l,left:C}=U.value.getBoundingClientRect();b={left:e.left-C,top:e.top-l}}}void 0===x&&(x=(0,r.YP)((()=>O.screen.width+"|"+O.screen.height+"|"+e.self+"|"+e.anchor+"|"+O.lang.rtl),ue)),!0!==e.noFocus&&document.activeElement.blur(),T((()=>{ue(),!0!==e.noFocus&&Ce()})),q((()=>{!0===O.platform.is.ios&&(k=e.autoClose,F.value.click()),ue(),Y(!0),C("show",l)}),e.transitionDuration)}function te(l){E(),G(),oe(!0),null===y||void 0!==l&&!0===l.qClickOutside||(((l&&0===l.type.indexOf("key")?y.closest('[tabindex]:not([tabindex^="-"])'):void 0)||y).focus(),y=null),q((()=>{G(!0),C("hide",l)}),e.transitionDuration)}function oe(e){b=void 0,void 0!==x&&(x(),x=void 0),!0!==e&&!0!==S.value||((0,w.H)(ne),$(),(0,m.D)(K),(0,Z.k)(ce)),!0!==e&&(y=null)}function ie(){null===U.value&&void 0===e.scrollTarget||(N.value=(0,h.b0)(U.value,e.scrollTarget),I(N.value,ue))}function de(e){!0!==k?((0,v.AH)(B,e),C("click",e)):k=!1}function ne(l){!0===le.value&&!0!==e.noFocus&&!0!==(0,M.mY)(F.value,l.target)&&Ce()}function ce(e){C("escapeKey"),z(e)}function ue(){(0,V.wq)({targetEl:F.value,offset:e.offset,anchorEl:U.value,anchorOrigin:X.value,selfOrigin:Q.value,absoluteOffset:b,fit:e.fit,cover:e.cover,maxHeight:e.maxHeight,maxWidth:e.maxWidth})}function ae(){return(0,r.h)(o.uT,D.value,(()=>!0===S.value?(0,r.h)("div",{role:"menu",...s,ref:F,tabindex:-1,class:["q-menu q-position-engine scroll"+J.value,s.class],style:[s.style,R.value],...ee.value},(0,g.KR)(l.default)):null))}return(0,r.YP)(le,(e=>{!0===e?((0,Z.c)(ce),(0,m.m)(K)):((0,Z.k)(ce),(0,m.D)(K))})),(0,r.Jd)(oe),Object.assign(B,{focus:Ce,updatePosition:ue}),W}})},30627:(e,l,C)=>{"use strict";C.d(l,{Z:()=>c});var r=C(65987),t=C(59835),o=C(22026),i=C(95439);const d={position:{type:String,default:"bottom-right",validator:e=>["top-right","top-left","bottom-right","bottom-left","top","right","bottom","left"].includes(e)},offset:{type:Array,validator:e=>2===e.length},expand:Boolean};function n(){const{props:e,proxy:{$q:l}}=(0,t.FN)(),C=(0,t.f3)(i.YE,i.qO);if(C===i.qO)return console.error("QPageSticky needs to be child of QLayout"),i.qO;const r=(0,t.Fl)((()=>{const l=e.position;return{top:l.indexOf("top")>-1,right:l.indexOf("right")>-1,bottom:l.indexOf("bottom")>-1,left:l.indexOf("left")>-1,vertical:"top"===l||"bottom"===l,horizontal:"left"===l||"right"===l}})),d=(0,t.Fl)((()=>C.header.offset)),n=(0,t.Fl)((()=>C.right.offset)),c=(0,t.Fl)((()=>C.footer.offset)),u=(0,t.Fl)((()=>C.left.offset)),a=(0,t.Fl)((()=>{let C=0,t=0;const o=r.value,i=!0===l.lang.rtl?-1:1;!0===o.top&&0!==d.value?t=`${d.value}px`:!0===o.bottom&&0!==c.value&&(t=-c.value+"px"),!0===o.left&&0!==u.value?C=i*u.value+"px":!0===o.right&&0!==n.value&&(C=-i*n.value+"px");const a={transform:`translate(${C}, ${t})`};return e.offset&&(a.margin=`${e.offset[1]}px ${e.offset[0]}px`),!0===o.vertical?(0!==u.value&&(a[!0===l.lang.rtl?"right":"left"]=`${u.value}px`),0!==n.value&&(a[!0===l.lang.rtl?"left":"right"]=`${n.value}px`)):!0===o.horizontal&&(0!==d.value&&(a.top=`${d.value}px`),0!==c.value&&(a.bottom=`${c.value}px`)),a})),p=(0,t.Fl)((()=>`q-page-sticky row flex-center fixed-${e.position} q-page-sticky--`+(!0===e.expand?"expand":"shrink")));function f(l){const C=(0,o.KR)(l.default);return(0,t.h)("div",{class:p.value,style:a.value},!0===e.expand?C:[(0,t.h)("div",C)])}return{$layout:C,getStickyContent:f}}const c=(0,r.L)({name:"QPageSticky",props:d,setup(e,{slots:l}){const{getStickyContent:C}=n();return()=>C(l)}})},69885:(e,l,C)=>{"use strict";C.d(l,{Z:()=>d});var r=C(59835),t=C(65987),o=C(22026),i=C(95439);const d=(0,t.L)({name:"QPage",props:{padding:Boolean,styleFn:Function},setup(e,{slots:l}){const{proxy:{$q:C}}=(0,r.FN)(),t=(0,r.f3)(i.YE,i.qO);if(t===i.qO)return console.error("QPage needs to be a deep child of QLayout"),i.qO;const d=(0,r.f3)(i.Mw,i.qO);if(d===i.qO)return console.error("QPage needs to be child of QPageContainer"),i.qO;const n=(0,r.Fl)((()=>{const l=(!0===t.header.space?t.header.size:0)+(!0===t.footer.space?t.footer.size:0);if("function"===typeof e.styleFn){const r=!0===t.isContainer.value?t.containerHeight.value:C.screen.height;return e.styleFn(l,r)}return{minHeight:!0===t.isContainer.value?t.containerHeight.value-l+"px":0===C.screen.height?0!==l?`calc(100vh - ${l}px)`:"100vh":C.screen.height-l+"px"}})),c=(0,r.Fl)((()=>"q-page"+(!0===e.padding?" q-layout-padding":"")));return()=>(0,r.h)("main",{class:c.value,style:n.value},(0,o.KR)(l.default))}})},12133:(e,l,C)=>{"use strict";C.d(l,{Z:()=>d});var r=C(59835),t=C(65987),o=C(22026),i=C(95439);const d=(0,t.L)({name:"QPageContainer",setup(e,{slots:l}){const{proxy:{$q:C}}=(0,r.FN)(),t=(0,r.f3)(i.YE,i.qO);if(t===i.qO)return console.error("QPageContainer needs to be child of QLayout"),i.qO;(0,r.JJ)(i.Mw,!0);const d=(0,r.Fl)((()=>{const e={};return!0===t.header.space&&(e.paddingTop=`${t.header.size}px`),!0===t.right.space&&(e["padding"+(!0===C.lang.rtl?"Left":"Right")]=`${t.right.size}px`),!0===t.footer.space&&(e.paddingBottom=`${t.footer.size}px`),!0===t.left.space&&(e["padding"+(!0===C.lang.rtl?"Right":"Left")]=`${t.left.size}px`),e}));return()=>(0,r.h)("div",{class:"q-page-container",style:d.value},(0,o.KR)(l.default))}})},60883:(e,l,C)=>{"use strict";C.d(l,{Z:()=>a});var r=C(59835),t=C(60499),o=C(47506);function i(){const e=(0,t.iH)(!o.uX.value);return!1===e.value&&(0,r.bv)((()=>{e.value=!0})),e}var d=C(65987),n=C(91384);const c="undefined"!==typeof ResizeObserver,u=!0===c?{}:{style:"display:block;position:absolute;top:0;left:0;right:0;bottom:0;height:100%;width:100%;overflow:hidden;pointer-events:none;z-index:-1;",url:"about:blank"},a=(0,d.L)({name:"QResizeObserver",props:{debounce:{type:[String,Number],default:100}},emits:["resize"],setup(e,{emit:l}){let C,t=null,o={width:-1,height:-1};function d(l){!0===l||0===e.debounce||"0"===e.debounce?a():null===t&&(t=setTimeout(a,e.debounce))}function a(){if(null!==t&&(clearTimeout(t),t=null),C){const{offsetWidth:e,offsetHeight:r}=C;e===o.width&&r===o.height||(o={width:e,height:r},l("resize",o))}}const{proxy:p}=(0,r.FN)();if(!0===c){let f;const s=e=>{C=p.$el.parentNode,C?(f=new ResizeObserver(d),f.observe(C),a()):!0!==e&&(0,r.Y3)((()=>{s(!0)}))};return(0,r.bv)((()=>{s()})),(0,r.Jd)((()=>{null!==t&&clearTimeout(t),void 0!==f&&(void 0!==f.disconnect?f.disconnect():C&&f.unobserve(C))})),n.ZT}{const v=i();let h;function L(){null!==t&&(clearTimeout(t),t=null),void 0!==h&&(void 0!==h.removeEventListener&&h.removeEventListener("resize",d,n.listenOpts.passive),h=void 0)}function g(){L(),C&&C.contentDocument&&(h=C.contentDocument.defaultView,h.addEventListener("resize",d,n.listenOpts.passive),a())}return(0,r.bv)((()=>{(0,r.Y3)((()=>{C=p.$el,C&&g()}))})),(0,r.Jd)(L),p.trigger=d,()=>{if(!0===v.value)return(0,r.h)("object",{style:u.style,tabindex:-1,type:"text/html",data:u.url,"aria-hidden":"true",onLoad:g})}}}})},66663:(e,l,C)=>{"use strict";C.d(l,{Z:()=>g});var r=C(60499),t=C(59835),o=C(68234),i=C(60883),d=C(71868),n=C(2873),c=C(65987),u=C(30321),a=C(43701),p=C(22026),f=C(60899);const s=["vertical","horizontal"],v={vertical:{offset:"offsetY",scroll:"scrollTop",dir:"down",dist:"y"},horizontal:{offset:"offsetX",scroll:"scrollLeft",dir:"right",dist:"x"}},h={prevent:!0,mouse:!0,mouseAllDir:!0},L=e=>e>=250?50:Math.ceil(e/5),g=(0,c.L)({name:"QScrollArea",props:{...o.S,thumbStyle:Object,verticalThumbStyle:Object,horizontalThumbStyle:Object,barStyle:[Array,String,Object],verticalBarStyle:[Array,String,Object],horizontalBarStyle:[Array,String,Object],contentStyle:[Array,String,Object],contentActiveStyle:[Array,String,Object],delay:{type:[String,Number],default:1e3},visible:{type:Boolean,default:null},tabindex:[String,Number],onScroll:Function},setup(e,{slots:l,emit:C}){const c=(0,r.iH)(!1),g=(0,r.iH)(!1),Z=(0,r.iH)(!1),w={vertical:(0,r.iH)(0),horizontal:(0,r.iH)(0)},M={vertical:{ref:(0,r.iH)(null),position:(0,r.iH)(0),size:(0,r.iH)(0)},horizontal:{ref:(0,r.iH)(null),position:(0,r.iH)(0),size:(0,r.iH)(0)}},{proxy:m}=(0,t.FN)(),H=(0,o.Z)(e,m.$q);let V,b=null;const x=(0,r.iH)(null),k=(0,t.Fl)((()=>"q-scrollarea"+(!0===H.value?" q-scrollarea--dark":"")));M.vertical.percentage=(0,t.Fl)((()=>{const e=M.vertical.size.value-w.vertical.value;if(e<=0)return 0;const l=(0,u.vX)(M.vertical.position.value/e,0,1);return Math.round(1e4*l)/1e4})),M.vertical.thumbHidden=(0,t.Fl)((()=>!0!==(null===e.visible?Z.value:e.visible)&&!1===c.value&&!1===g.value||M.vertical.size.value<=w.vertical.value+1)),M.vertical.thumbStart=(0,t.Fl)((()=>M.vertical.percentage.value*(w.vertical.value-M.vertical.thumbSize.value))),M.vertical.thumbSize=(0,t.Fl)((()=>Math.round((0,u.vX)(w.vertical.value*w.vertical.value/M.vertical.size.value,L(w.vertical.value),w.vertical.value)))),M.vertical.style=(0,t.Fl)((()=>({...e.thumbStyle,...e.verticalThumbStyle,top:`${M.vertical.thumbStart.value}px`,height:`${M.vertical.thumbSize.value}px`}))),M.vertical.thumbClass=(0,t.Fl)((()=>"q-scrollarea__thumb q-scrollarea__thumb--v absolute-right"+(!0===M.vertical.thumbHidden.value?" q-scrollarea__thumb--invisible":""))),M.vertical.barClass=(0,t.Fl)((()=>"q-scrollarea__bar q-scrollarea__bar--v absolute-right"+(!0===M.vertical.thumbHidden.value?" q-scrollarea__bar--invisible":""))),M.horizontal.percentage=(0,t.Fl)((()=>{const e=M.horizontal.size.value-w.horizontal.value;if(e<=0)return 0;const l=(0,u.vX)(Math.abs(M.horizontal.position.value)/e,0,1);return Math.round(1e4*l)/1e4})),M.horizontal.thumbHidden=(0,t.Fl)((()=>!0!==(null===e.visible?Z.value:e.visible)&&!1===c.value&&!1===g.value||M.horizontal.size.value<=w.horizontal.value+1)),M.horizontal.thumbStart=(0,t.Fl)((()=>M.horizontal.percentage.value*(w.horizontal.value-M.horizontal.thumbSize.value))),M.horizontal.thumbSize=(0,t.Fl)((()=>Math.round((0,u.vX)(w.horizontal.value*w.horizontal.value/M.horizontal.size.value,L(w.horizontal.value),w.horizontal.value)))),M.horizontal.style=(0,t.Fl)((()=>({...e.thumbStyle,...e.horizontalThumbStyle,[!0===m.$q.lang.rtl?"right":"left"]:`${M.horizontal.thumbStart.value}px`,width:`${M.horizontal.thumbSize.value}px`}))),M.horizontal.thumbClass=(0,t.Fl)((()=>"q-scrollarea__thumb q-scrollarea__thumb--h absolute-bottom"+(!0===M.horizontal.thumbHidden.value?" q-scrollarea__thumb--invisible":""))),M.horizontal.barClass=(0,t.Fl)((()=>"q-scrollarea__bar q-scrollarea__bar--h absolute-bottom"+(!0===M.horizontal.thumbHidden.value?" q-scrollarea__bar--invisible":"")));const y=(0,t.Fl)((()=>!0===M.vertical.thumbHidden.value&&!0===M.horizontal.thumbHidden.value?e.contentStyle:e.contentActiveStyle)),A=[[n.Z,e=>{E(e,"vertical")},void 0,{vertical:!0,...h}]],B=[[n.Z,e=>{E(e,"horizontal")},void 0,{horizontal:!0,...h}]];function O(){const e={};return s.forEach((l=>{const C=M[l];e[l+"Position"]=C.position.value,e[l+"Percentage"]=C.percentage.value,e[l+"Size"]=C.size.value,e[l+"ContainerSize"]=w[l].value})),e}const F=(0,f.Z)((()=>{const e=O();e.ref=m,C("scroll",e)}),0);function S(e,l,C){if(!1===s.includes(e))return void console.error("[QScrollArea]: wrong first param of setScrollPosition (vertical/horizontal)");const r="vertical"===e?a.f3:a.ik;r(x.value,l,C)}function P({height:e,width:l}){let C=!1;w.vertical.value!==e&&(w.vertical.value=e,C=!0),w.horizontal.value!==l&&(w.horizontal.value=l,C=!0),!0===C&&N()}function _({position:e}){let l=!1;M.vertical.position.value!==e.top&&(M.vertical.position.value=e.top,l=!0),M.horizontal.position.value!==e.left&&(M.horizontal.position.value=e.left,l=!0),!0===l&&N()}function T({height:e,width:l}){M.horizontal.size.value!==l&&(M.horizontal.size.value=l,N()),M.vertical.size.value!==e&&(M.vertical.size.value=e,N())}function E(e,l){const C=M[l];if(!0===e.isFirst){if(!0===C.thumbHidden.value)return;V=C.position.value,g.value=!0}else if(!0!==g.value)return;!0===e.isFinal&&(g.value=!1);const r=v[l],t=w[l].value,o=(C.size.value-t)/(t-C.thumbSize.value),i=e.distance[r.dist],d=V+(e.direction===r.dir?1:-1)*i*o;I(d,l)}function q(e,l){const C=M[l];if(!0!==C.thumbHidden.value){const r=e[v[l].offset];if(rC.thumbStart.value+C.thumbSize.value){const e=r-C.thumbSize.value/2;I(e/w[l].value*C.size.value,l)}null!==C.ref.value&&C.ref.value.dispatchEvent(new MouseEvent(e.type,e))}}function D(e){q(e,"vertical")}function R(e){q(e,"horizontal")}function N(){c.value=!0,null!==b&&clearTimeout(b),b=setTimeout((()=>{b=null,c.value=!1}),e.delay),void 0!==e.onScroll&&F()}function I(e,l){x.value[v[l].scroll]=e}function $(){Z.value=!0}function U(){Z.value=!1}let j=null;return(0,t.YP)((()=>m.$q.lang.rtl),(e=>{null!==x.value&&(0,a.ik)(x.value,Math.abs(M.horizontal.position.value)*(!0===e?-1:1))})),(0,t.se)((()=>{j={top:M.vertical.position.value,left:M.horizontal.position.value}})),(0,t.dl)((()=>{if(null===j)return;const e=x.value;null!==e&&((0,a.ik)(e,j.left),(0,a.f3)(e,j.top))})),(0,t.Jd)(F.cancel),Object.assign(m,{getScrollTarget:()=>x.value,getScroll:O,getScrollPosition:()=>({top:M.vertical.position.value,left:M.horizontal.position.value}),getScrollPercentage:()=>({top:M.vertical.percentage.value,left:M.horizontal.percentage.value}),setScrollPosition:S,setScrollPercentage(e,l,C){S(e,l*(M[e].size.value-w[e].value)*("horizontal"===e&&!0===m.$q.lang.rtl?-1:1),C)}}),()=>(0,t.h)("div",{class:k.value,onMouseenter:$,onMouseleave:U},[(0,t.h)("div",{ref:x,class:"q-scrollarea__container scroll relative-position fit hide-scrollbar",tabindex:void 0!==e.tabindex?e.tabindex:void 0},[(0,t.h)("div",{class:"q-scrollarea__content absolute",style:y.value},(0,p.vs)(l.default,[(0,t.h)(i.Z,{debounce:0,onResize:T})])),(0,t.h)(d.Z,{axis:"both",onScroll:_})]),(0,t.h)(i.Z,{debounce:0,onResize:P}),(0,t.h)("div",{class:M.vertical.barClass.value,style:[e.barStyle,e.verticalBarStyle],"aria-hidden":"true",onMousedown:D}),(0,t.h)("div",{class:M.horizontal.barClass.value,style:[e.barStyle,e.horizontalBarStyle],"aria-hidden":"true",onMousedown:R}),(0,t.wy)((0,t.h)("div",{ref:M.vertical.ref,class:M.vertical.thumbClass.value,style:M.vertical.style.value,"aria-hidden":"true"}),A),(0,t.wy)((0,t.h)("div",{ref:M.horizontal.ref,class:M.horizontal.thumbClass.value,style:M.horizontal.style.value,"aria-hidden":"true"}),B)])}})},71868:(e,l,C)=>{"use strict";C.d(l,{Z:()=>c});var r=C(59835),t=C(65987),o=C(43701),i=C(91384);const{passive:d}=i.listenOpts,n=["both","horizontal","vertical"],c=(0,t.L)({name:"QScrollObserver",props:{axis:{type:String,validator:e=>n.includes(e),default:"vertical"},debounce:[String,Number],scrollTarget:{default:void 0}},emits:["scroll"],setup(e,{emit:l}){const C={position:{top:0,left:0},direction:"down",directionChanged:!1,delta:{top:0,left:0},inflectionPoint:{top:0,left:0}};let t,n,c=null;function u(){null!==c&&c();const r=Math.max(0,(0,o.u3)(t)),i=(0,o.OI)(t),d={top:r-C.position.top,left:i-C.position.left};if("vertical"===e.axis&&0===d.top||"horizontal"===e.axis&&0===d.left)return;const n=Math.abs(d.top)>=Math.abs(d.left)?d.top<0?"up":"down":d.left<0?"left":"right";C.position={top:r,left:i},C.directionChanged=C.direction!==n,C.delta=d,!0===C.directionChanged&&(C.direction=n,C.inflectionPoint=C.position),l("scroll",{...C})}function a(){t=(0,o.b0)(n,e.scrollTarget),t.addEventListener("scroll",f,d),f(!0)}function p(){void 0!==t&&(t.removeEventListener("scroll",f,d),t=void 0)}function f(l){if(!0===l||0===e.debounce||"0"===e.debounce)u();else if(null===c){const[l,C]=e.debounce?[setTimeout(u,e.debounce),clearTimeout]:[requestAnimationFrame(u),cancelAnimationFrame];c=()=>{C(l),c=null}}}(0,r.YP)((()=>e.scrollTarget),(()=>{p(),a()}));const{proxy:s}=(0,r.FN)();return(0,r.YP)((()=>s.$q.lang.rtl),u),(0,r.bv)((()=>{n=s.$el.parentNode,a()})),(0,r.Jd)((()=>{null!==c&&c(),p()})),Object.assign(s,{trigger:f,getPosition:()=>C}),i.ZT}})},42913:(e,l,C)=>{"use strict";C.d(l,{Z:()=>B});C(69665);var r=C(59835),t=C(60499),o=C(76404),i=C(65987);const d=(0,i.L)({name:"QField",inheritAttrs:!1,props:o.Cl,emits:o.HJ,setup(){return(0,o.ZP)((0,o.tL)())}});var n=C(22857),c=C(51136),u=C(68234),a=C(20244),p=C(91384),f=C(22026);const s={xs:8,sm:10,md:14,lg:20,xl:24},v=(0,i.L)({name:"QChip",props:{...u.S,...a.LU,dense:Boolean,icon:String,iconRight:String,iconRemove:String,iconSelected:String,label:[String,Number],color:String,textColor:String,modelValue:{type:Boolean,default:!0},selected:{type:Boolean,default:null},square:Boolean,outline:Boolean,clickable:Boolean,removable:Boolean,removeAriaLabel:String,tabindex:[String,Number],disable:Boolean,ripple:{type:[Boolean,Object],default:!0}},emits:["update:modelValue","update:selected","remove","click"],setup(e,{slots:l,emit:C}){const{proxy:{$q:t}}=(0,r.FN)(),o=(0,u.Z)(e,t),i=(0,a.ZP)(e,s),d=(0,r.Fl)((()=>!0===e.selected||void 0!==e.icon)),v=(0,r.Fl)((()=>!0===e.selected?e.iconSelected||t.iconSet.chip.selected:e.icon)),h=(0,r.Fl)((()=>e.iconRemove||t.iconSet.chip.remove)),L=(0,r.Fl)((()=>!1===e.disable&&(!0===e.clickable||null!==e.selected))),g=(0,r.Fl)((()=>{const l=!0===e.outline&&e.color||e.textColor;return"q-chip row inline no-wrap items-center"+(!1===e.outline&&void 0!==e.color?` bg-${e.color}`:"")+(l?` text-${l} q-chip--colored`:"")+(!0===e.disable?" disabled":"")+(!0===e.dense?" q-chip--dense":"")+(!0===e.outline?" q-chip--outline":"")+(!0===e.selected?" q-chip--selected":"")+(!0===L.value?" q-chip--clickable cursor-pointer non-selectable q-hoverable":"")+(!0===e.square?" q-chip--square":"")+(!0===o.value?" q-chip--dark q-dark":"")})),Z=(0,r.Fl)((()=>{const l=!0===e.disable?{tabindex:-1,"aria-disabled":"true"}:{tabindex:e.tabindex||0},C={...l,role:"button","aria-hidden":"false","aria-label":e.removeAriaLabel||t.lang.label.remove};return{chip:l,remove:C}}));function w(e){13===e.keyCode&&M(e)}function M(l){e.disable||(C("update:selected",!e.selected),C("click",l))}function m(l){void 0!==l.keyCode&&13!==l.keyCode||((0,p.NS)(l),!1===e.disable&&(C("update:modelValue",!1),C("remove")))}function H(){const C=[];!0===L.value&&C.push((0,r.h)("div",{class:"q-focus-helper"})),!0===d.value&&C.push((0,r.h)(n.Z,{class:"q-chip__icon q-chip__icon--left",name:v.value}));const t=void 0!==e.label?[(0,r.h)("div",{class:"ellipsis"},[e.label])]:void 0;return C.push((0,r.h)("div",{class:"q-chip__content col row no-wrap items-center q-anchor--skip"},(0,f.pf)(l.default,t))),e.iconRight&&C.push((0,r.h)(n.Z,{class:"q-chip__icon q-chip__icon--right",name:e.iconRight})),!0===e.removable&&C.push((0,r.h)(n.Z,{class:"q-chip__icon q-chip__icon--remove cursor-pointer",name:h.value,...Z.value.remove,onClick:m,onKeyup:m})),C}return()=>{if(!1===e.modelValue)return;const l={class:g.value,style:i.value};return!0===L.value&&Object.assign(l,Z.value.chip,{onClick:M,onKeyup:w}),(0,f.Jl)("div",l,H(),"ripple",!1!==e.ripple&&!0!==e.disable,(()=>[[c.Z,e.ripple]]))}}});var h=C(490),L=C(76749);const g=(0,i.L)({name:"QItemLabel",props:{overline:Boolean,caption:Boolean,header:Boolean,lines:[Number,String]},setup(e,{slots:l}){const C=(0,r.Fl)((()=>parseInt(e.lines,10))),t=(0,r.Fl)((()=>"q-item__label"+(!0===e.overline?" q-item__label--overline text-overline":"")+(!0===e.caption?" q-item__label--caption text-caption":"")+(!0===e.header?" q-item__label--header":"")+(1===C.value?" ellipsis":""))),o=(0,r.Fl)((()=>void 0!==e.lines&&C.value>1?{overflow:"hidden",display:"-webkit-box","-webkit-box-orient":"vertical","-webkit-line-clamp":C.value}:null));return()=>(0,r.h)("div",{style:o.value,class:t.value},(0,f.KR)(l.default))}});var Z=C(56362),w=C(32074),M=C(92043),m=C(99256),H=C(62802),V=C(4680),b=C(30321),x=C(61705);const k=e=>["add","add-unique","toggle"].includes(e),y=".*+?^${}()|[]\\",A=Object.keys(o.Cl),B=(0,i.L)({name:"QSelect",inheritAttrs:!1,props:{...M.t9,...m.Fz,...o.Cl,modelValue:{required:!0},multiple:Boolean,displayValue:[String,Number],displayValueHtml:Boolean,dropdownIcon:String,options:{type:Array,default:()=>[]},optionValue:[Function,String],optionLabel:[Function,String],optionDisable:[Function,String],hideSelected:Boolean,hideDropdownIcon:Boolean,fillInput:Boolean,maxValues:[Number,String],optionsDense:Boolean,optionsDark:{type:Boolean,default:null},optionsSelectedClass:String,optionsHtml:Boolean,optionsCover:Boolean,menuShrink:Boolean,menuAnchor:String,menuSelf:String,menuOffset:Array,popupContentClass:String,popupContentStyle:[String,Array,Object],useInput:Boolean,useChips:Boolean,newValueMode:{type:String,validator:k},mapOptions:Boolean,emitValue:Boolean,inputDebounce:{type:[Number,String],default:500},inputClass:[Array,String,Object],inputStyle:[Array,String,Object],tabindex:{type:[String,Number],default:0},autocomplete:String,transitionShow:String,transitionHide:String,transitionDuration:[String,Number],behavior:{type:String,validator:e=>["default","menu","dialog"].includes(e),default:"default"},virtualScrollItemSize:{type:[Number,String],default:void 0},onNewValue:Function,onFilter:Function},emits:[...o.HJ,"add","remove","inputValue","newValue","keyup","keypress","keydown","filterAbort"],setup(e,{slots:l,emit:C}){const{proxy:i}=(0,r.FN)(),{$q:c}=i,u=(0,t.iH)(!1),a=(0,t.iH)(!1),s=(0,t.iH)(-1),B=(0,t.iH)(""),O=(0,t.iH)(!1),F=(0,t.iH)(!1);let S,P,_,T,E,q,D,R=null,N=null;const I=(0,t.iH)(null),$=(0,t.iH)(null),U=(0,t.iH)(null),j=(0,t.iH)(null),z=(0,t.iH)(null),Y=(0,m.Do)(e),G=(0,H.Z)(We),W=(0,r.Fl)((()=>Array.isArray(e.options)?e.options.length:0)),K=(0,r.Fl)((()=>void 0===e.virtualScrollItemSize?!0===e.optionsDense?24:48:e.virtualScrollItemSize)),{virtualScrollSliceRange:X,virtualScrollSliceSizeComputed:Q,localResetVirtualScroll:J,padVirtualScroll:ee,onVirtualScrollEvt:le,scrollTo:Ce,setVirtualScrollSize:re}=(0,M.vp)({virtualScrollLength:W,getVirtualScrollTarget:je,getVirtualScrollEl:Ue,virtualScrollItemSizeComputed:K}),te=(0,o.tL)(),oe=(0,r.Fl)((()=>{const l=!0===e.mapOptions&&!0!==e.multiple,C=void 0===e.modelValue||null===e.modelValue&&!0!==l?[]:!0===e.multiple&&Array.isArray(e.modelValue)?e.modelValue:[e.modelValue];if(!0===e.mapOptions&&!0===Array.isArray(e.options)){const r=!0===e.mapOptions&&void 0!==S?S:[],t=C.map((e=>Te(e,r)));return null===e.modelValue&&!0===l?t.filter((e=>null!==e)):t}return C})),ie=(0,r.Fl)((()=>{const l={};return A.forEach((C=>{const r=e[C];void 0!==r&&(l[C]=r)})),l})),de=(0,r.Fl)((()=>null===e.optionsDark?te.isDark.value:e.optionsDark)),ne=(0,r.Fl)((()=>(0,o.yV)(oe.value))),ce=(0,r.Fl)((()=>{let l="q-field__input q-placeholder col";return!0===e.hideSelected||0===oe.value.length?[l,e.inputClass]:(l+=" q-field__input--padding",void 0===e.inputClass?l:[l,e.inputClass])})),ue=(0,r.Fl)((()=>(!0===e.virtualScrollHorizontal?"q-virtual-scroll--horizontal":"")+(e.popupContentClass?" "+e.popupContentClass:""))),ae=(0,r.Fl)((()=>0===W.value)),pe=(0,r.Fl)((()=>oe.value.map((e=>be.value(e))).join(", "))),fe=(0,r.Fl)((()=>void 0!==e.displayValue?e.displayValue:pe.value)),se=(0,r.Fl)((()=>!0===e.optionsHtml?()=>!0:e=>void 0!==e&&null!==e&&!0===e.html)),ve=(0,r.Fl)((()=>!0===e.displayValueHtml||void 0===e.displayValue&&(!0===e.optionsHtml||oe.value.some(se.value)))),he=(0,r.Fl)((()=>!0===te.focused.value?e.tabindex:-1)),Le=(0,r.Fl)((()=>{const l={tabindex:e.tabindex,role:"combobox","aria-label":e.label,"aria-readonly":!0===e.readonly?"true":"false","aria-autocomplete":!0===e.useInput?"list":"none","aria-expanded":!0===u.value?"true":"false","aria-controls":`${te.targetUid.value}_lb`};return s.value>=0&&(l["aria-activedescendant"]=`${te.targetUid.value}_${s.value}`),l})),ge=(0,r.Fl)((()=>({id:`${te.targetUid.value}_lb`,role:"listbox","aria-multiselectable":!0===e.multiple?"true":"false"}))),Ze=(0,r.Fl)((()=>oe.value.map(((e,l)=>({index:l,opt:e,html:se.value(e),selected:!0,removeAtIndex:Oe,toggleOption:Se,tabindex:he.value}))))),we=(0,r.Fl)((()=>{if(0===W.value)return[];const{from:l,to:C}=X.value;return e.options.slice(l,C).map(((C,r)=>{const t=!0===xe.value(C),o=l+r,i={clickable:!0,active:!1,activeClass:He.value,manualFocus:!0,focused:!1,disable:t,tabindex:-1,dense:e.optionsDense,dark:de.value,role:"option",id:`${te.targetUid.value}_${o}`,onClick:()=>{Se(C)}};return!0!==t&&(!0===qe(C)&&(i.active=!0),s.value===o&&(i.focused=!0),i["aria-selected"]=!0===i.active?"true":"false",!0===c.platform.is.desktop&&(i.onMousemove=()=>{!0===u.value&&Pe(o)})),{index:o,opt:C,html:se.value(C),label:be.value(C),selected:i.active,focused:i.focused,toggleOption:Se,setOptionIndex:Pe,itemProps:i}}))})),Me=(0,r.Fl)((()=>void 0!==e.dropdownIcon?e.dropdownIcon:c.iconSet.arrow.dropdown)),me=(0,r.Fl)((()=>!1===e.optionsCover&&!0!==e.outlined&&!0!==e.standout&&!0!==e.borderless&&!0!==e.rounded)),He=(0,r.Fl)((()=>void 0!==e.optionsSelectedClass?e.optionsSelectedClass:void 0!==e.color?`text-${e.color}`:"")),Ve=(0,r.Fl)((()=>Ee(e.optionValue,"value"))),be=(0,r.Fl)((()=>Ee(e.optionLabel,"label"))),xe=(0,r.Fl)((()=>Ee(e.optionDisable,"disable"))),ke=(0,r.Fl)((()=>oe.value.map((e=>Ve.value(e))))),ye=(0,r.Fl)((()=>{const e={onInput:We,onChange:G,onKeydown:$e,onKeyup:Ne,onKeypress:Ie,onFocus:De,onClick(e){!0===P&&(0,p.sT)(e)}};return e.onCompositionstart=e.onCompositionupdate=e.onCompositionend=G,e}));function Ae(l){return!0===e.emitValue?Ve.value(l):l}function Be(l){if(l>-1&&l=e.maxValues)return;const o=e.modelValue.slice();C("add",{index:o.length,value:t}),o.push(t),C("update:modelValue",o)}function Se(l,r){if(!0!==te.editable.value||void 0===l||!0===xe.value(l))return;const t=Ve.value(l);if(!0!==e.multiple)return!0!==r&&(Xe(!0===e.fillInput?be.value(l):"",!0,!0),ul()),null!==$.value&&$.value.focus(),void(0!==oe.value.length&&!0===(0,V.xb)(Ve.value(oe.value[0]),t)||C("update:modelValue",!0===e.emitValue?t:l));if((!0!==P||!0===O.value)&&te.focus(),De(),0===oe.value.length){const r=!0===e.emitValue?t:l;return C("add",{index:0,value:r}),void C("update:modelValue",!0===e.multiple?[r]:r)}const o=e.modelValue.slice(),i=ke.value.findIndex((e=>(0,V.xb)(e,t)));if(i>-1)C("remove",{index:i,value:o.splice(i,1)[0]});else{if(void 0!==e.maxValues&&o.length>=e.maxValues)return;const r=!0===e.emitValue?t:l;C("add",{index:o.length,value:r}),o.push(r)}C("update:modelValue",o)}function Pe(e){if(!0!==c.platform.is.desktop)return;const l=e>-1&&e=0?be.value(e.options[r]):T))}}function Te(l,C){const r=e=>(0,V.xb)(Ve.value(e),l);return e.options.find(r)||C.find(r)||l}function Ee(e,l){const C=void 0!==e?e:l;return"function"===typeof C?C:e=>null!==e&&"object"===typeof e&&C in e?e[C]:e}function qe(e){const l=Ve.value(e);return void 0!==ke.value.find((e=>(0,V.xb)(e,l)))}function De(l){!0===e.useInput&&null!==$.value&&(void 0===l||$.value===l.target&&l.target.value===pe.value)&&$.value.select()}function Re(e){!0===(0,x.So)(e,27)&&!0===u.value&&((0,p.sT)(e),ul(),al()),C("keyup",e)}function Ne(l){const{value:C}=l.target;if(void 0===l.keyCode)if(l.target.value="",null!==R&&(clearTimeout(R),R=null),al(),"string"===typeof C&&0!==C.length){const l=C.toLocaleLowerCase(),r=C=>{const r=e.options.find((e=>C.value(e).toLocaleLowerCase()===l));return void 0!==r&&(-1===oe.value.indexOf(r)?Se(r):ul(),!0)},t=e=>{!0!==r(Ve)&&!0!==r(be)&&!0!==e&&Qe(C,!0,(()=>t(!0)))};t()}else te.clearValue(l);else Re(l)}function Ie(e){C("keypress",e)}function $e(l){if(C("keydown",l),!0===(0,x.Wm)(l))return;const t=0!==B.value.length&&(void 0!==e.newValueMode||void 0!==e.onNewValue),o=!0!==l.shiftKey&&!0!==e.multiple&&(s.value>-1||!0===t);if(27===l.keyCode)return void(0,p.X$)(l);if(9===l.keyCode&&!1===o)return void nl();if(void 0===l.target||l.target.id!==te.targetUid.value||!0!==te.editable.value)return;if(40===l.keyCode&&!0!==te.innerLoading.value&&!1===u.value)return(0,p.NS)(l),void cl();if(8===l.keyCode&&!0!==e.hideSelected&&0===B.value.length)return void(!0===e.multiple&&!0===Array.isArray(e.modelValue)?Be(e.modelValue.length-1):!0!==e.multiple&&null!==e.modelValue&&C("update:modelValue",null));35!==l.keyCode&&36!==l.keyCode||"string"===typeof B.value&&0!==B.value.length||((0,p.NS)(l),s.value=-1,_e(36===l.keyCode?1:-1,e.multiple)),33!==l.keyCode&&34!==l.keyCode||void 0===Q.value||((0,p.NS)(l),s.value=Math.max(-1,Math.min(W.value,s.value+(33===l.keyCode?-1:1)*Q.value.view)),_e(33===l.keyCode?1:-1,e.multiple)),38!==l.keyCode&&40!==l.keyCode||((0,p.NS)(l),_e(38===l.keyCode?-1:1,e.multiple));const i=W.value;if((void 0===q||D0&&!0!==e.useInput&&void 0!==l.key&&1===l.key.length&&!1===l.altKey&&!1===l.ctrlKey&&!1===l.metaKey&&(32!==l.keyCode||0!==q.length)){!0!==u.value&&cl(l);const C=l.key.toLocaleLowerCase(),t=1===q.length&&q[0]===C;D=Date.now()+1500,!1===t&&((0,p.NS)(l),q+=C);const o=new RegExp("^"+q.split("").map((e=>y.indexOf(e)>-1?"\\"+e:e)).join(".*"),"i");let d=s.value;if(!0===t||d<0||!0!==o.test(be.value(e.options[d])))do{d=(0,b.Uz)(d+1,-1,i-1)}while(d!==s.value&&(!0===xe.value(e.options[d])||!0!==o.test(be.value(e.options[d]))));s.value!==d&&(0,r.Y3)((()=>{Pe(d),Ce(d),d>=0&&!0===e.useInput&&!0===e.fillInput&&Ke(be.value(e.options[d]))}))}else if(13===l.keyCode||32===l.keyCode&&!0!==e.useInput&&""===q||9===l.keyCode&&!1!==o)if(9!==l.keyCode&&(0,p.NS)(l),s.value>-1&&s.value{if(C){if(!0!==k(C))return}else C=e.newValueMode;if(Xe("",!0!==e.multiple,!0),void 0===l||null===l)return;const r="toggle"===C?Se:Fe;r(l,"add-unique"===C),!0!==e.multiple&&(null!==$.value&&$.value.focus(),ul())};if(void 0!==e.onNewValue?C("newValue",B.value,l):l(B.value),!0!==e.multiple)return}!0===u.value?nl():!0!==te.innerLoading.value&&cl()}}function Ue(){return!0===P?z.value:null!==U.value&&null!==U.value.contentEl?U.value.contentEl:void 0}function je(){return Ue()}function ze(){return!0===e.hideSelected?[]:void 0!==l["selected-item"]?Ze.value.map((e=>l["selected-item"](e))).slice():void 0!==l.selected?[].concat(l.selected()):!0===e.useChips?Ze.value.map(((l,C)=>(0,r.h)(v,{key:"option-"+C,removable:!0===te.editable.value&&!0!==xe.value(l.opt),dense:!0,textColor:e.color,tabindex:he.value,onRemove(){l.removeAtIndex(C)}},(()=>(0,r.h)("span",{class:"ellipsis",[!0===l.html?"innerHTML":"textContent"]:be.value(l.opt)}))))):[(0,r.h)("span",{[!0===ve.value?"innerHTML":"textContent"]:fe.value})]}function Ye(){if(!0===ae.value)return void 0!==l["no-option"]?l["no-option"]({inputValue:B.value}):void 0;const e=void 0!==l.option?l.option:e=>(0,r.h)(h.Z,{key:e.index,...e.itemProps},(()=>(0,r.h)(L.Z,(()=>(0,r.h)(g,(()=>(0,r.h)("span",{[!0===e.html?"innerHTML":"textContent"]:e.label})))))));let C=ee("div",we.value.map(e));return void 0!==l["before-options"]&&(C=l["before-options"]().concat(C)),(0,f.vs)(l["after-options"],C)}function Ge(l,C){const t=!0===C?{...Le.value,...te.splitAttrs.attributes.value}:void 0,o={ref:!0===C?$:void 0,key:"i_t",class:ce.value,style:e.inputStyle,value:void 0!==B.value?B.value:"",type:"search",...t,id:!0===C?te.targetUid.value:void 0,maxlength:e.maxlength,autocomplete:e.autocomplete,"data-autofocus":!0===l||!0===e.autofocus||void 0,disabled:!0===e.disable,readonly:!0===e.readonly,...ye.value};return!0!==l&&!0===P&&(!0===Array.isArray(o.class)?o.class=[...o.class,"no-pointer-events"]:o.class+=" no-pointer-events"),(0,r.h)("input",o)}function We(l){null!==R&&(clearTimeout(R),R=null),l&&l.target&&!0===l.target.qComposing||(Ke(l.target.value||""),_=!0,T=B.value,!0===te.focused.value||!0===P&&!0!==O.value||te.focus(),void 0!==e.onFilter&&(R=setTimeout((()=>{R=null,Qe(B.value)}),e.inputDebounce)))}function Ke(e){B.value!==e&&(B.value=e,C("inputValue",e))}function Xe(l,C,r){_=!0!==r,!0===e.useInput&&(Ke(l),!0!==C&&!0===r||(T=l),!0!==C&&Qe(l))}function Qe(l,t,o){if(void 0===e.onFilter||!0!==t&&!0!==te.focused.value)return;!0===te.innerLoading.value?C("filterAbort"):(te.innerLoading.value=!0,F.value=!0),""!==l&&!0!==e.multiple&&0!==oe.value.length&&!0!==_&&l===be.value(oe.value[0])&&(l="");const d=setTimeout((()=>{!0===u.value&&(u.value=!1)}),10);null!==N&&clearTimeout(N),N=d,C("filter",l,((e,l)=>{!0!==t&&!0!==te.focused.value||N!==d||(clearTimeout(N),"function"===typeof e&&e(),F.value=!1,(0,r.Y3)((()=>{te.innerLoading.value=!1,!0===te.editable.value&&(!0===t?!0===u.value&&ul():!0===u.value?pl(!0):u.value=!0),"function"===typeof l&&(0,r.Y3)((()=>{l(i)})),"function"===typeof o&&(0,r.Y3)((()=>{o(i)}))})))}),(()=>{!0===te.focused.value&&N===d&&(clearTimeout(N),te.innerLoading.value=!1,F.value=!1),!0===u.value&&(u.value=!1)}))}function Je(){return(0,r.h)(Z.Z,{ref:U,class:ue.value,style:e.popupContentStyle,modelValue:u.value,fit:!0!==e.menuShrink,cover:!0===e.optionsCover&&!0!==ae.value&&!0!==e.useInput,anchor:e.menuAnchor,self:e.menuSelf,offset:e.menuOffset,dark:de.value,noParentEvent:!0,noRefocus:!0,noFocus:!0,square:me.value,transitionShow:e.transitionShow,transitionHide:e.transitionHide,transitionDuration:e.transitionDuration,separateClosePopup:!0,...ge.value,onScrollPassive:le,onBeforeShow:vl,onBeforeHide:el,onShow:ll},Ye)}function el(e){hl(e),nl()}function ll(){re()}function Cl(e){(0,p.sT)(e),null!==$.value&&$.value.focus(),O.value=!0,window.scrollTo(window.pageXOffset||window.scrollX||document.body.scrollLeft||0,0)}function rl(e){(0,p.sT)(e),(0,r.Y3)((()=>{O.value=!1}))}function tl(){const C=[(0,r.h)(d,{class:`col-auto ${te.fieldClass.value}`,...ie.value,for:te.targetUid.value,dark:de.value,square:!0,loading:F.value,itemAligned:!1,filled:!0,stackLabel:0!==B.value.length,...te.splitAttrs.listeners.value,onFocus:Cl,onBlur:rl},{...l,rawControl:()=>te.getControl(!0),before:void 0,after:void 0})];return!0===u.value&&C.push((0,r.h)("div",{ref:z,class:ue.value+" scroll",style:e.popupContentStyle,...ge.value,onClick:p.X$,onScrollPassive:le},Ye())),(0,r.h)(w.Z,{ref:j,modelValue:a.value,position:!0===e.useInput?"top":void 0,transitionShow:E,transitionHide:e.transitionHide,transitionDuration:e.transitionDuration,onBeforeShow:vl,onBeforeHide:ol,onHide:il,onShow:dl},(()=>(0,r.h)("div",{class:"q-select__dialog"+(!0===de.value?" q-select__dialog--dark q-dark":"")+(!0===O.value?" q-select__dialog--focused":"")},C)))}function ol(e){hl(e),null!==j.value&&j.value.__updateRefocusTarget(te.rootRef.value.querySelector(".q-field__native > [tabindex]:last-child")),te.focused.value=!1}function il(e){ul(),!1===te.focused.value&&C("blur",e),al()}function dl(){const e=document.activeElement;null!==e&&e.id===te.targetUid.value||null===$.value||$.value===e||$.value.focus(),re()}function nl(){!0!==a.value&&(s.value=-1,!0===u.value&&(u.value=!1),!1===te.focused.value&&(null!==N&&(clearTimeout(N),N=null),!0===te.innerLoading.value&&(C("filterAbort"),te.innerLoading.value=!1,F.value=!1)))}function cl(C){!0===te.editable.value&&(!0===P?(te.onControlFocusin(C),a.value=!0,(0,r.Y3)((()=>{te.focus()}))):te.focus(),void 0!==e.onFilter?Qe(B.value):!0===ae.value&&void 0===l["no-option"]||(u.value=!0))}function ul(){a.value=!1,nl()}function al(){!0===e.useInput&&Xe(!0!==e.multiple&&!0===e.fillInput&&0!==oe.value.length&&be.value(oe.value[0])||"",!0,!0)}function pl(l){let C=-1;if(!0===l){if(0!==oe.value.length){const l=Ve.value(oe.value[0]);C=e.options.findIndex((e=>(0,V.xb)(Ve.value(e),l)))}J(C)}Pe(C)}function fl(e,l){!0===u.value&&!1===te.innerLoading.value&&(J(-1,!0),(0,r.Y3)((()=>{!0===u.value&&!1===te.innerLoading.value&&(e>l?J():pl(!0))})))}function sl(){!1===a.value&&null!==U.value&&U.value.updatePosition()}function vl(e){void 0!==e&&(0,p.sT)(e),C("popupShow",e),te.hasPopupOpen=!0,te.onControlFocusin(e)}function hl(e){void 0!==e&&(0,p.sT)(e),C("popupHide",e),te.hasPopupOpen=!1,te.onControlFocusout(e)}function Ll(){P=(!0===c.platform.is.mobile||"dialog"===e.behavior)&&("menu"!==e.behavior&&(!0!==e.useInput||(void 0!==l["no-option"]||void 0!==e.onFilter||!1===ae.value))),E=!0===c.platform.is.ios&&!0===P&&!0===e.useInput?"fade":e.transitionShow}return(0,r.YP)(oe,(l=>{S=l,!0===e.useInput&&!0===e.fillInput&&!0!==e.multiple&&!0!==te.innerLoading.value&&(!0!==a.value&&!0!==u.value||!0!==ne.value)&&(!0!==_&&al(),!0!==a.value&&!0!==u.value||Qe(""))}),{immediate:!0}),(0,r.YP)((()=>e.fillInput),al),(0,r.YP)(u,pl),(0,r.YP)(W,fl),(0,r.Xn)(Ll),(0,r.ic)(sl),Ll(),(0,r.Jd)((()=>{null!==R&&clearTimeout(R)})),Object.assign(i,{showPopup:cl,hidePopup:ul,removeAtIndex:Be,add:Fe,toggleOption:Se,getOptionIndex:()=>s.value,setOptionIndex:Pe,moveOptionSelection:_e,filter:Qe,updateMenuPosition:sl,updateInputValue:Xe,isOptionSelected:qe,getEmittingOptionValue:Ae,isOptionDisabled:(...e)=>!0===xe.value.apply(null,e),getOptionValue:(...e)=>Ve.value.apply(null,e),getOptionLabel:(...e)=>be.value.apply(null,e)}),Object.assign(te,{innerValue:oe,fieldClass:(0,r.Fl)((()=>`q-select q-field--auto-height q-select--with${!0!==e.useInput?"out":""}-input q-select--with${!0!==e.useChips?"out":""}-chips q-select--`+(!0===e.multiple?"multiple":"single"))),inputRef:I,targetRef:$,hasValue:ne,showPopup:cl,floatingLabel:(0,r.Fl)((()=>!0!==e.hideSelected&&!0===ne.value||"number"===typeof B.value||0!==B.value.length||(0,o.yV)(e.displayValue))),getControlChild:()=>{if(!1!==te.editable.value&&(!0===a.value||!0!==ae.value||void 0!==l["no-option"]))return!0===P?tl():Je();!0===te.hasPopupOpen&&(te.hasPopupOpen=!1)},controlEvents:{onFocusin(e){te.onControlFocusin(e)},onFocusout(e){te.onControlFocusout(e,(()=>{al(),nl()}))},onClick(e){if((0,p.X$)(e),!0!==P&&!0===u.value)return nl(),void(null!==$.value&&$.value.focus());cl(e)}},getControl:l=>{const C=ze(),t=!0===l||!0!==a.value||!0!==P;if(!0===e.useInput)C.push(Ge(l,t));else if(!0===te.editable.value){const o=!0===t?Le.value:void 0;C.push((0,r.h)("input",{ref:!0===t?$:void 0,key:"d_t",class:"q-select__focus-target",id:!0===t?te.targetUid.value:void 0,value:fe.value,readonly:!0,"data-autofocus":!0===l||!0===e.autofocus||void 0,...o,onKeydown:$e,onKeyup:Re,onKeypress:Ie})),!0===t&&"string"===typeof e.autocomplete&&0!==e.autocomplete.length&&C.push((0,r.h)("input",{class:"q-select__autocomplete-input",autocomplete:e.autocomplete,tabindex:-1,onKeyup:Ne}))}if(void 0!==Y.value&&!0!==e.disable&&0!==ke.value.length){const l=ke.value.map((e=>(0,r.h)("option",{value:e,selected:!0})));C.push((0,r.h)("select",{class:"hidden",name:Y.value,multiple:e.multiple},l))}const o=!0===e.useInput||!0!==t?void 0:te.splitAttrs.attributes.value;return(0,r.h)("div",{class:"q-field__native row items-center",...o,...te.splitAttrs.listeners.value},C)},getInnerAppend:()=>!0!==e.loading&&!0!==F.value&&!0!==e.hideDropdownIcon?[(0,r.h)(n.Z,{class:"q-select__dropdown-icon"+(!0===u.value?" rotate-180":""),name:Me.value})]:null}),(0,o.ZP)(te)}})},28423:(e,l,C)=>{"use strict";C.d(l,{Z:()=>M});C(69665);var r=C(59835),t=C(60499),o=C(99256),i=C(2873),d=C(68234),n=C(30321),c=C(91384),u=C(4680),a=C(22026);const p="q-slider__marker-labels",f=e=>({value:e}),s=({marker:e})=>(0,r.h)("div",{key:e.value,style:e.style,class:e.classes},e.label),v=[34,37,40,33,39,38],h={...d.S,...o.Fz,min:{type:Number,default:0},max:{type:Number,default:100},innerMin:Number,innerMax:Number,step:{type:Number,default:1,validator:e=>e>=0},snap:Boolean,vertical:Boolean,reverse:Boolean,hideSelection:Boolean,color:String,markerLabelsClass:String,label:Boolean,labelColor:String,labelTextColor:String,labelAlways:Boolean,switchLabelSide:Boolean,markers:[Boolean,Number],markerLabels:[Boolean,Array,Object,Function],switchMarkerLabelsSide:Boolean,trackImg:String,trackColor:String,innerTrackImg:String,innerTrackColor:String,selectionColor:String,selectionImg:String,thumbSize:{type:String,default:"20px"},trackSize:{type:String,default:"4px"},disable:Boolean,readonly:Boolean,dense:Boolean,tabindex:[String,Number],thumbColor:String,thumbPath:{type:String,default:"M 4, 10 a 6,6 0 1,0 12,0 a 6,6 0 1,0 -12,0"}},L=["pan","update:modelValue","change"];function g({updateValue:e,updatePosition:l,getDragging:C,formAttrs:h}){const{props:L,emit:g,slots:Z,proxy:{$q:w}}=(0,r.FN)(),M=(0,d.Z)(L,w),m=(0,o.eX)(h),H=(0,t.iH)(!1),V=(0,t.iH)(!1),b=(0,t.iH)(!1),x=(0,t.iH)(!1),k=(0,r.Fl)((()=>!0===L.vertical?"--v":"--h")),y=(0,r.Fl)((()=>"-"+(!0===L.switchLabelSide?"switched":"standard"))),A=(0,r.Fl)((()=>!0===L.vertical?!0===L.reverse:L.reverse!==(!0===w.lang.rtl))),B=(0,r.Fl)((()=>!0===isNaN(L.innerMin)||L.innerMin!0===isNaN(L.innerMax)||L.innerMax>L.max?L.max:L.innerMax)),F=(0,r.Fl)((()=>!0!==L.disable&&!0!==L.readonly&&B.value(String(L.step).trim().split(".")[1]||"").length)),P=(0,r.Fl)((()=>0===L.step?1:L.step)),_=(0,r.Fl)((()=>!0===F.value?L.tabindex||0:-1)),T=(0,r.Fl)((()=>L.max-L.min)),E=(0,r.Fl)((()=>O.value-B.value)),q=(0,r.Fl)((()=>ie(B.value))),D=(0,r.Fl)((()=>ie(O.value))),R=(0,r.Fl)((()=>!0===L.vertical?!0===A.value?"bottom":"top":!0===A.value?"right":"left")),N=(0,r.Fl)((()=>!0===L.vertical?"height":"width")),I=(0,r.Fl)((()=>!0===L.vertical?"width":"height")),$=(0,r.Fl)((()=>!0===L.vertical?"vertical":"horizontal")),U=(0,r.Fl)((()=>{const e={role:"slider","aria-valuemin":B.value,"aria-valuemax":O.value,"aria-orientation":$.value,"data-step":L.step};return!0===L.disable?e["aria-disabled"]="true":!0===L.readonly&&(e["aria-readonly"]="true"),e})),j=(0,r.Fl)((()=>`q-slider q-slider${k.value} q-slider--${!0===H.value?"":"in"}active inline no-wrap `+(!0===L.vertical?"row":"column")+(!0===L.disable?" disabled":" q-slider--enabled"+(!0===F.value?" q-slider--editable":""))+("both"===b.value?" q-slider--focus":"")+(L.label||!0===L.labelAlways?" q-slider--label":"")+(!0===L.labelAlways?" q-slider--label-always":"")+(!0===M.value?" q-slider--dark":"")+(!0===L.dense?" q-slider--dense q-slider--dense"+k.value:"")));function z(e){const l="q-slider__"+e;return`${l} ${l}${k.value} ${l}${k.value}${y.value}`}function Y(e){const l="q-slider__"+e;return`${l} ${l}${k.value}`}const G=(0,r.Fl)((()=>{const e=L.selectionColor||L.color;return"q-slider__selection absolute"+(void 0!==e?` text-${e}`:"")})),W=(0,r.Fl)((()=>Y("markers")+" absolute overflow-hidden")),K=(0,r.Fl)((()=>Y("track-container"))),X=(0,r.Fl)((()=>z("pin"))),Q=(0,r.Fl)((()=>z("label"))),J=(0,r.Fl)((()=>z("text-container"))),ee=(0,r.Fl)((()=>z("marker-labels-container")+(void 0!==L.markerLabelsClass?` ${L.markerLabelsClass}`:""))),le=(0,r.Fl)((()=>"q-slider__track relative-position no-outline"+(void 0!==L.trackColor?` bg-${L.trackColor}`:""))),Ce=(0,r.Fl)((()=>{const e={[I.value]:L.trackSize};return void 0!==L.trackImg&&(e.backgroundImage=`url(${L.trackImg}) !important`),e})),re=(0,r.Fl)((()=>"q-slider__inner absolute"+(void 0!==L.innerTrackColor?` bg-${L.innerTrackColor}`:""))),te=(0,r.Fl)((()=>{const e={[R.value]:100*q.value+"%",[N.value]:100*(D.value-q.value)+"%"};return void 0!==L.innerTrackImg&&(e.backgroundImage=`url(${L.innerTrackImg}) !important`),e}));function oe(e){const{min:l,max:C,step:r}=L;let t=l+e*(C-l);if(r>0){const e=(t-l)%r;t+=(Math.abs(e)>=r/2?(e<0?-1:1)*r:0)-e}return S.value>0&&(t=parseFloat(t.toFixed(S.value))),(0,n.vX)(t,B.value,O.value)}function ie(e){return 0===T.value?0:(e-L.min)/T.value}function de(e,l){const C=(0,c.FK)(e),r=!0===L.vertical?(0,n.vX)((C.top-l.top)/l.height,0,1):(0,n.vX)((C.left-l.left)/l.width,0,1);return(0,n.vX)(!0===A.value?1-r:r,q.value,D.value)}const ne=(0,r.Fl)((()=>!0===(0,u.hj)(L.markers)?L.markers:P.value)),ce=(0,r.Fl)((()=>{const e=[],l=ne.value,C=L.max;let r=L.min;do{e.push(r),r+=l}while(r{const e=` ${p}${k.value}-`;return p+`${e}${!0===L.switchMarkerLabelsSide?"switched":"standard"}`+`${e}${!0===A.value?"rtl":"ltr"}`})),ae=(0,r.Fl)((()=>!1===L.markerLabels?null:se(L.markerLabels).map(((e,l)=>({index:l,value:e.value,label:e.label||e.value,classes:ue.value+(void 0!==e.classes?" "+e.classes:""),style:{...ve(e.value),...e.style||{}}}))))),pe=(0,r.Fl)((()=>({markerList:ae.value,markerMap:he.value,classes:ue.value,getStyle:ve}))),fe=(0,r.Fl)((()=>{if(0!==E.value){const e=100*ne.value/E.value;return{...te.value,backgroundSize:!0===L.vertical?`2px ${e}%`:`${e}% 2px`}}return null}));function se(e){if(!1===e)return null;if(!0===e)return ce.value.map(f);if("function"===typeof e)return ce.value.map((l=>{const C=e(l);return!0===(0,u.Kn)(C)?{...C,value:l}:{value:l,label:C}}));const l=({value:e})=>e>=L.min&&e<=L.max;return!0===Array.isArray(e)?e.map((e=>!0===(0,u.Kn)(e)?e:{value:e})).filter(l):Object.keys(e).map((l=>{const C=e[l],r=Number(l);return!0===(0,u.Kn)(C)?{...C,value:r}:{value:r,label:C}})).filter(l)}function ve(e){return{[R.value]:100*(e-L.min)/T.value+"%"}}const he=(0,r.Fl)((()=>{if(!1===L.markerLabels)return null;const e={};return ae.value.forEach((l=>{e[l.value]=l})),e}));function Le(){if(void 0!==Z["marker-label-group"])return Z["marker-label-group"](pe.value);const e=Z["marker-label"]||s;return ae.value.map((l=>e({marker:l,...pe.value})))}const ge=(0,r.Fl)((()=>[[i.Z,Ze,void 0,{[$.value]:!0,prevent:!0,stop:!0,mouse:!0,mouseAllDir:!0}]]));function Ze(r){!0===r.isFinal?(void 0!==x.value&&(l(r.evt),!0===r.touch&&e(!0),x.value=void 0,g("pan","end")),H.value=!1,b.value=!1):!0===r.isFirst?(x.value=C(r.evt),l(r.evt),e(),H.value=!0,g("pan","start")):(l(r.evt),e())}function we(){b.value=!1}function Me(r){l(r,C(r)),e(),V.value=!0,H.value=!0,document.addEventListener("mouseup",me,!0)}function me(){V.value=!1,H.value=!1,e(!0),we(),document.removeEventListener("mouseup",me,!0)}function He(r){l(r,C(r)),e(!0)}function Ve(l){v.includes(l.keyCode)&&e(!0)}function be(e){if(!0===L.vertical)return null;const l=w.lang.rtl!==L.reverse?1-e:e;return{transform:`translateX(calc(${2*l-1} * ${L.thumbSize} / 2 + ${50-100*l}%))`}}function xe(e){const l=(0,r.Fl)((()=>!1!==V.value||b.value!==e.focusValue&&"both"!==b.value?"":" q-slider--focus")),C=(0,r.Fl)((()=>`q-slider__thumb q-slider__thumb${k.value} q-slider__thumb${k.value}-${!0===A.value?"rtl":"ltr"} absolute non-selectable`+l.value+(void 0!==e.thumbColor.value?` text-${e.thumbColor.value}`:""))),t=(0,r.Fl)((()=>({width:L.thumbSize,height:L.thumbSize,[R.value]:100*e.ratio.value+"%",zIndex:b.value===e.focusValue?2:void 0}))),o=(0,r.Fl)((()=>void 0!==e.labelColor.value?` text-${e.labelColor.value}`:"")),i=(0,r.Fl)((()=>be(e.ratio.value))),d=(0,r.Fl)((()=>"q-slider__text"+(void 0!==e.labelTextColor.value?` text-${e.labelTextColor.value}`:"")));return()=>{const l=[(0,r.h)("svg",{class:"q-slider__thumb-shape absolute-full",viewBox:"0 0 20 20","aria-hidden":"true"},[(0,r.h)("path",{d:L.thumbPath})]),(0,r.h)("div",{class:"q-slider__focus-ring fit"})];return!0!==L.label&&!0!==L.labelAlways||(l.push((0,r.h)("div",{class:X.value+" absolute fit no-pointer-events"+o.value},[(0,r.h)("div",{class:Q.value,style:{minWidth:L.thumbSize}},[(0,r.h)("div",{class:J.value,style:i.value},[(0,r.h)("span",{class:d.value},e.label.value)])])])),void 0!==L.name&&!0!==L.disable&&m(l,"push")),(0,r.h)("div",{class:C.value,style:t.value,...e.getNodeData()},l)}}function ke(e,l,C,t){const o=[];"transparent"!==L.innerTrackColor&&o.push((0,r.h)("div",{key:"inner",class:re.value,style:te.value})),"transparent"!==L.selectionColor&&o.push((0,r.h)("div",{key:"selection",class:G.value,style:e.value})),!1!==L.markers&&o.push((0,r.h)("div",{key:"marker",class:W.value,style:fe.value})),t(o);const i=[(0,a.Jl)("div",{key:"trackC",class:K.value,tabindex:l.value,...C.value},[(0,r.h)("div",{class:le.value,style:Ce.value},o)],"slide",F.value,(()=>ge.value))];if(!1!==L.markerLabels){const e=!0===L.switchMarkerLabelsSide?"unshift":"push";i[e]((0,r.h)("div",{key:"markerL",class:ee.value},Le()))}return i}return(0,r.Jd)((()=>{document.removeEventListener("mouseup",me,!0)})),{state:{active:H,focus:b,preventFocus:V,dragging:x,editable:F,classes:j,tabindex:_,attributes:U,step:P,decimals:S,trackLen:T,innerMin:B,innerMinRatio:q,innerMax:O,innerMaxRatio:D,positionProp:R,sizeProp:N,isReversed:A},methods:{onActivate:Me,onMobileClick:He,onBlur:we,onKeyup:Ve,getContent:ke,getThumbRenderFn:xe,convertRatioToModel:oe,convertModelToRatio:ie,getDraggingRatio:de}}}var Z=C(65987);const w=()=>({}),M=(0,Z.L)({name:"QSlider",props:{...h,modelValue:{required:!0,default:null,validator:e=>"number"===typeof e||null===e},labelValue:[String,Number]},emits:L,setup(e,{emit:l}){const{proxy:{$q:C}}=(0,r.FN)(),{state:i,methods:d}=g({updateValue:m,updatePosition:V,getDragging:H,formAttrs:(0,o.Vt)(e)}),u=(0,t.iH)(null),a=(0,t.iH)(0),p=(0,t.iH)(0);function f(){p.value=null===e.modelValue?i.innerMin.value:(0,n.vX)(e.modelValue,i.innerMin.value,i.innerMax.value)}(0,r.YP)((()=>`${e.modelValue}|${i.innerMin.value}|${i.innerMax.value}`),f),f();const s=(0,r.Fl)((()=>d.convertModelToRatio(p.value))),h=(0,r.Fl)((()=>!0===i.active.value?a.value:s.value)),L=(0,r.Fl)((()=>{const l={[i.positionProp.value]:100*i.innerMinRatio.value+"%",[i.sizeProp.value]:100*(h.value-i.innerMinRatio.value)+"%"};return void 0!==e.selectionImg&&(l.backgroundImage=`url(${e.selectionImg}) !important`),l})),Z=d.getThumbRenderFn({focusValue:!0,getNodeData:w,ratio:h,label:(0,r.Fl)((()=>void 0!==e.labelValue?e.labelValue:p.value)),thumbColor:(0,r.Fl)((()=>e.thumbColor||e.color)),labelColor:(0,r.Fl)((()=>e.labelColor)),labelTextColor:(0,r.Fl)((()=>e.labelTextColor))}),M=(0,r.Fl)((()=>!0!==i.editable.value?{}:!0===C.platform.is.mobile?{onClick:d.onMobileClick}:{onMousedown:d.onActivate,onFocus:b,onBlur:d.onBlur,onKeydown:x,onKeyup:d.onKeyup}));function m(C){p.value!==e.modelValue&&l("update:modelValue",p.value),!0===C&&l("change",p.value)}function H(){return u.value.getBoundingClientRect()}function V(l,C=i.dragging.value){const r=d.getDraggingRatio(l,C);p.value=d.convertRatioToModel(r),a.value=!0!==e.snap||0===e.step?r:d.convertModelToRatio(p.value)}function b(){i.focus.value=!0}function x(l){if(!v.includes(l.keyCode))return;(0,c.NS)(l);const C=([34,33].includes(l.keyCode)?10:1)*i.step.value,r=([34,37,40].includes(l.keyCode)?-1:1)*(!0===i.isReversed.value?-1:1)*(!0===e.vertical?-1:1)*C;p.value=(0,n.vX)(parseFloat((p.value+r).toFixed(i.decimals.value)),i.innerMin.value,i.innerMax.value),m()}return()=>{const l=d.getContent(L,i.tabindex,M,(e=>{e.push(Z())}));return(0,r.h)("div",{ref:u,class:i.classes.value+(null===e.modelValue?" q-slider--no-value":""),...i.attributes.value,"aria-valuenow":e.modelValue},l)}}})},90136:(e,l,C)=>{"use strict";C.d(l,{Z:()=>i});var r=C(59835),t=C(65987);const o=(0,r.h)("div",{class:"q-space"}),i=(0,t.L)({name:"QSpace",setup(){return()=>o}})},13902:(e,l,C)=>{"use strict";C.d(l,{Z:()=>i});var r=C(59835),t=C(8313),o=C(65987);const i=(0,o.L)({name:"QSpinner",props:{...t.G,thickness:{type:Number,default:5}},setup(e){const{cSize:l,classes:C}=(0,t.Z)(e);return()=>(0,r.h)("svg",{class:C.value+" q-spinner-mat",width:l.value,height:l.value,viewBox:"25 25 50 50"},[(0,r.h)("circle",{class:"path",cx:"50",cy:"50",r:"20",fill:"none",stroke:"currentColor","stroke-width":e.thickness,"stroke-miterlimit":"10"})])}})},93040:(e,l,C)=>{"use strict";C.d(l,{Z:()=>d});var r=C(59835),t=C(8313),o=C(65987);const i=[(0,r.h)("circle",{cx:"12.5",cy:"12.5",r:"12.5"},[(0,r.h)("animate",{attributeName:"fill-opacity",begin:"0s",dur:"1s",values:"1;.2;1",calcMode:"linear",repeatCount:"indefinite"})]),(0,r.h)("circle",{cx:"12.5",cy:"52.5",r:"12.5","fill-opacity":".5"},[(0,r.h)("animate",{attributeName:"fill-opacity",begin:"100ms",dur:"1s",values:"1;.2;1",calcMode:"linear",repeatCount:"indefinite"})]),(0,r.h)("circle",{cx:"52.5",cy:"12.5",r:"12.5"},[(0,r.h)("animate",{attributeName:"fill-opacity",begin:"300ms",dur:"1s",values:"1;.2;1",calcMode:"linear",repeatCount:"indefinite"})]),(0,r.h)("circle",{cx:"52.5",cy:"52.5",r:"12.5"},[(0,r.h)("animate",{attributeName:"fill-opacity",begin:"600ms",dur:"1s",values:"1;.2;1",calcMode:"linear",repeatCount:"indefinite"})]),(0,r.h)("circle",{cx:"92.5",cy:"12.5",r:"12.5"},[(0,r.h)("animate",{attributeName:"fill-opacity",begin:"800ms",dur:"1s",values:"1;.2;1",calcMode:"linear",repeatCount:"indefinite"})]),(0,r.h)("circle",{cx:"92.5",cy:"52.5",r:"12.5"},[(0,r.h)("animate",{attributeName:"fill-opacity",begin:"400ms",dur:"1s",values:"1;.2;1",calcMode:"linear",repeatCount:"indefinite"})]),(0,r.h)("circle",{cx:"12.5",cy:"92.5",r:"12.5"},[(0,r.h)("animate",{attributeName:"fill-opacity",begin:"700ms",dur:"1s",values:"1;.2;1",calcMode:"linear",repeatCount:"indefinite"})]),(0,r.h)("circle",{cx:"52.5",cy:"92.5",r:"12.5"},[(0,r.h)("animate",{attributeName:"fill-opacity",begin:"500ms",dur:"1s",values:"1;.2;1",calcMode:"linear",repeatCount:"indefinite"})]),(0,r.h)("circle",{cx:"92.5",cy:"92.5",r:"12.5"},[(0,r.h)("animate",{attributeName:"fill-opacity",begin:"200ms",dur:"1s",values:"1;.2;1",calcMode:"linear",repeatCount:"indefinite"})])],d=(0,o.L)({name:"QSpinnerGrid",props:t.G,setup(e){const{cSize:l,classes:C}=(0,t.Z)(e);return()=>(0,r.h)("svg",{class:C.value,fill:"currentColor",width:l.value,height:l.value,viewBox:"0 0 105 105",xmlns:"http://www.w3.org/2000/svg"},i)}})},5412:(e,l,C)=>{"use strict";C.d(l,{Z:()=>d});var r=C(59835),t=C(8313),o=C(65987);const i=[(0,r.h)("g",{fill:"none","fill-rule":"evenodd","stroke-width":"2"},[(0,r.h)("circle",{cx:"22",cy:"22",r:"1"},[(0,r.h)("animate",{attributeName:"r",begin:"0s",dur:"1.8s",values:"1; 20",calcMode:"spline",keyTimes:"0; 1",keySplines:"0.165, 0.84, 0.44, 1",repeatCount:"indefinite"}),(0,r.h)("animate",{attributeName:"stroke-opacity",begin:"0s",dur:"1.8s",values:"1; 0",calcMode:"spline",keyTimes:"0; 1",keySplines:"0.3, 0.61, 0.355, 1",repeatCount:"indefinite"})]),(0,r.h)("circle",{cx:"22",cy:"22",r:"1"},[(0,r.h)("animate",{attributeName:"r",begin:"-0.9s",dur:"1.8s",values:"1; 20",calcMode:"spline",keyTimes:"0; 1",keySplines:"0.165, 0.84, 0.44, 1",repeatCount:"indefinite"}),(0,r.h)("animate",{attributeName:"stroke-opacity",begin:"-0.9s",dur:"1.8s",values:"1; 0",calcMode:"spline",keyTimes:"0; 1",keySplines:"0.3, 0.61, 0.355, 1",repeatCount:"indefinite"})])])],d=(0,o.L)({name:"QSpinnerPuff",props:t.G,setup(e){const{cSize:l,classes:C}=(0,t.Z)(e);return()=>(0,r.h)("svg",{class:C.value,stroke:"currentColor",width:l.value,height:l.value,viewBox:"0 0 44 44",xmlns:"http://www.w3.org/2000/svg"},i)}})},8313:(e,l,C)=>{"use strict";C.d(l,{G:()=>o,Z:()=>i});var r=C(59835),t=C(20244);const o={size:{type:[Number,String],default:"1em"},color:String};function i(e){return{cSize:(0,r.Fl)((()=>e.size in t.Ok?`${t.Ok[e.size]}px`:e.size)),classes:(0,r.Fl)((()=>"q-spinner"+(e.color?` text-${e.color}`:"")))}}},70974:(e,l,C)=>{"use strict";C.d(l,{Z:()=>Q});C(86890),C(69665);var r=C(59835),t=C(60499),o=C(22857),i=C(65987),d=C(22026);const n=(0,i.L)({name:"QTh",props:{props:Object,autoWidth:Boolean},emits:["click"],setup(e,{slots:l,emit:C}){const t=(0,r.FN)(),{proxy:{$q:i}}=t,n=e=>{C("click",e)};return()=>{if(void 0===e.props)return(0,r.h)("th",{class:!0===e.autoWidth?"q-table--col-auto-width":"",onClick:n},(0,d.KR)(l.default));let C,c;const u=t.vnode.key;if(u){if(C=e.props.colsMap[u],void 0===C)return}else C=e.props.col;if(!0===C.sortable){const e="right"===C.align?"unshift":"push";c=(0,d.Bl)(l.default,[]),c[e]((0,r.h)(o.Z,{class:C.__iconClass,name:i.iconSet.table.arrowUp}))}else c=(0,d.KR)(l.default);const a={class:C.__thClass+(!0===e.autoWidth?" q-table--col-auto-width":""),style:C.headerStyle,onClick:l=>{!0===C.sortable&&e.props.sort(C),n(l)}};return(0,r.h)("th",a,c)}}});var c=C(68234);const u={true:"inset",item:"item-inset","item-thumbnail":"item-thumbnail-inset"},a={xs:2,sm:4,md:8,lg:16,xl:24},p=(0,i.L)({name:"QSeparator",props:{...c.S,spaced:[Boolean,String],inset:[Boolean,String],vertical:Boolean,color:String,size:String},setup(e){const l=(0,r.FN)(),C=(0,c.Z)(e,l.proxy.$q),t=(0,r.Fl)((()=>!0===e.vertical?"vertical":"horizontal")),o=(0,r.Fl)((()=>` q-separator--${t.value}`)),i=(0,r.Fl)((()=>!1!==e.inset?`${o.value}-${u[e.inset]}`:"")),d=(0,r.Fl)((()=>`q-separator${o.value}${i.value}`+(void 0!==e.color?` bg-${e.color}`:"")+(!0===C.value?" q-separator--dark":""))),n=(0,r.Fl)((()=>{const l={};if(void 0!==e.size&&(l[!0===e.vertical?"width":"height"]=e.size),!1!==e.spaced){const C=!0===e.spaced?`${a.md}px`:e.spaced in a?`${a[e.spaced]}px`:e.spaced,r=!0===e.vertical?["Left","Right"]:["Top","Bottom"];l[`margin${r[0]}`]=l[`margin${r[1]}`]=C}return l}));return()=>(0,r.h)("hr",{class:d.value,style:n.value,"aria-orientation":t.value})}});var f=C(13246),s=C(66933);function v(e,l){return(0,r.h)("div",e,[(0,r.h)("table",{class:"q-table"},l)])}var h=C(92043),L=C(43701),g=C(91384);const Z={list:f.Z,table:s.Z},w=["list","table","__qtable"],M=(0,i.L)({name:"QVirtualScroll",props:{...h.t9,type:{type:String,default:"list",validator:e=>w.includes(e)},items:{type:Array,default:()=>[]},itemsFn:Function,itemsSize:Number,scrollTarget:{default:void 0}},setup(e,{slots:l,attrs:C}){let o;const i=(0,t.iH)(null),n=(0,r.Fl)((()=>e.itemsSize>=0&&void 0!==e.itemsFn?parseInt(e.itemsSize,10):Array.isArray(e.items)?e.items.length:0)),{virtualScrollSliceRange:c,localResetVirtualScroll:u,padVirtualScroll:a,onVirtualScrollEvt:p}=(0,h.vp)({virtualScrollLength:n,getVirtualScrollTarget:m,getVirtualScrollEl:M}),f=(0,r.Fl)((()=>{if(0===n.value)return[];const l=(e,l)=>({index:c.value.from+l,item:e});return void 0===e.itemsFn?e.items.slice(c.value.from,c.value.to).map(l):e.itemsFn(c.value.from,c.value.to-c.value.from).map(l)})),s=(0,r.Fl)((()=>"q-virtual-scroll q-virtual-scroll"+(!0===e.virtualScrollHorizontal?"--horizontal":"--vertical")+(void 0!==e.scrollTarget?"":" scroll"))),w=(0,r.Fl)((()=>void 0!==e.scrollTarget?{}:{tabindex:0}));function M(){return i.value.$el||i.value}function m(){return o}function H(){o=(0,L.b0)(M(),e.scrollTarget),o.addEventListener("scroll",p,g.listenOpts.passive)}function V(){void 0!==o&&(o.removeEventListener("scroll",p,g.listenOpts.passive),o=void 0)}function b(){let C=a("list"===e.type?"div":"tbody",f.value.map(l.default));return void 0!==l.before&&(C=l.before().concat(C)),(0,d.vs)(l.after,C)}return(0,r.YP)(n,(()=>{u()})),(0,r.YP)((()=>e.scrollTarget),(()=>{V(),H()})),(0,r.wF)((()=>{u()})),(0,r.bv)((()=>{H()})),(0,r.dl)((()=>{H()})),(0,r.se)((()=>{V()})),(0,r.Jd)((()=>{V()})),()=>{if(void 0!==l.default)return"__qtable"===e.type?v({ref:i,class:"q-table__middle "+s.value},b()):(0,r.h)(Z[e.type],{...C,ref:i,class:[C.class,s.value],...w.value},b);console.error("QVirtualScroll: default scoped slot is required for rendering")}}});var m=C(42913),H=C(8289),V=C(5413);const b=(0,r.h)("div",{key:"svg",class:"q-checkbox__bg absolute"},[(0,r.h)("svg",{class:"q-checkbox__svg fit absolute-full",viewBox:"0 0 24 24"},[(0,r.h)("path",{class:"q-checkbox__truthy",fill:"none",d:"M1.73,12.91 8.1,19.28 22.79,4.59"}),(0,r.h)("path",{class:"q-checkbox__indet",d:"M4,14H20V10H4"})])]),x=(0,i.L)({name:"QCheckbox",props:V.Fz,emits:V.ZB,setup(e){function l(l,C){const t=(0,r.Fl)((()=>(!0===l.value?e.checkedIcon:!0===C.value?e.indeterminateIcon:e.uncheckedIcon)||null));return()=>null!==t.value?[(0,r.h)("div",{key:"icon",class:"q-checkbox__icon-container absolute-full flex flex-center no-wrap"},[(0,r.h)(o.Z,{class:"q-checkbox__icon",name:t.value})])]:[b]}return(0,V.ZP)("checkbox",l)}});var k=C(68879),y=C(93929);function A(e,l){return new Date(e)-new Date(l)}var B=C(4680);const O={sortMethod:Function,binaryStateSort:Boolean,columnSortOrder:{type:String,validator:e=>"ad"===e||"da"===e,default:"ad"}};function F(e,l,C,t){const o=(0,r.Fl)((()=>{const{sortBy:e}=l.value;return e&&C.value.find((l=>l.name===e))||null})),i=(0,r.Fl)((()=>void 0!==e.sortMethod?e.sortMethod:(e,l,r)=>{const t=C.value.find((e=>e.name===l));if(void 0===t||void 0===t.field)return e;const o=!0===r?-1:1,i="function"===typeof t.field?e=>t.field(e):e=>e[t.field];return e.sort(((e,l)=>{let C=i(e),r=i(l);return null===C||void 0===C?-1*o:null===r||void 0===r?1*o:void 0!==t.sort?t.sort(C,r,e,l)*o:!0===(0,B.hj)(C)&&!0===(0,B.hj)(r)?(C-r)*o:!0===(0,B.J_)(C)&&!0===(0,B.J_)(r)?A(C,r)*o:"boolean"===typeof C&&"boolean"===typeof r?(C-r)*o:([C,r]=[C,r].map((e=>(e+"").toLocaleString().toLowerCase())),Ce.name===r));void 0!==e&&e.sortOrder&&(o=e.sortOrder)}let{sortBy:i,descending:d}=l.value;i!==r?(i=r,d="da"===o):!0===e.binaryStateSort?d=!d:!0===d?"ad"===o?i=null:d=!1:"ad"===o?d=!0:i=null,t({sortBy:i,descending:d,page:1})}return{columnToSort:o,computedSortMethod:i,sort:d}}const S={filter:[String,Object],filterMethod:Function};function P(e,l){const C=(0,r.Fl)((()=>void 0!==e.filterMethod?e.filterMethod:(e,l,C,r)=>{const t=l?l.toLowerCase():"";return e.filter((e=>C.some((l=>{const C=r(l,e)+"",o="undefined"===C||"null"===C?"":C.toLowerCase();return-1!==o.indexOf(t)}))))}));return(0,r.YP)((()=>e.filter),(()=>{(0,r.Y3)((()=>{l({page:1},!0)}))}),{deep:!0}),{computedFilterMethod:C}}function _(e,l){for(const C in l)if(l[C]!==e[C])return!1;return!0}function T(e){return e.page<1&&(e.page=1),void 0!==e.rowsPerPage&&e.rowsPerPage<1&&(e.rowsPerPage=0),e}const E={pagination:Object,rowsPerPageOptions:{type:Array,default:()=>[5,7,10,15,20,25,50,0]},"onUpdate:pagination":[Function,Array]};function q(e,l){const{props:C,emit:o}=e,i=(0,t.iH)(Object.assign({sortBy:null,descending:!1,page:1,rowsPerPage:0!==C.rowsPerPageOptions.length?C.rowsPerPageOptions[0]:5},C.pagination)),d=(0,r.Fl)((()=>{const e=void 0!==C["onUpdate:pagination"]?{...i.value,...C.pagination}:i.value;return T(e)})),n=(0,r.Fl)((()=>void 0!==d.value.rowsNumber));function c(e){u({pagination:e,filter:C.filter})}function u(e={}){(0,r.Y3)((()=>{o("request",{pagination:e.pagination||d.value,filter:e.filter||C.filter,getCellValue:l})}))}function a(e,l){const r=T({...d.value,...e});!0!==_(d.value,r)?!0!==n.value?void 0!==C.pagination&&void 0!==C["onUpdate:pagination"]?o("update:pagination",r):i.value=r:c(r):!0===n.value&&!0===l&&c(r)}return{innerPagination:i,computedPagination:d,isServerSide:n,requestServerInteraction:u,setPagination:a}}function D(e,l,C,t,o,i){const{props:d,emit:n,proxy:{$q:c}}=e,u=(0,r.Fl)((()=>!0===t.value?C.value.rowsNumber||0:i.value)),a=(0,r.Fl)((()=>{const{page:e,rowsPerPage:l}=C.value;return(e-1)*l})),p=(0,r.Fl)((()=>{const{page:e,rowsPerPage:l}=C.value;return e*l})),f=(0,r.Fl)((()=>1===C.value.page)),s=(0,r.Fl)((()=>0===C.value.rowsPerPage?1:Math.max(1,Math.ceil(u.value/C.value.rowsPerPage)))),v=(0,r.Fl)((()=>0===p.value||C.value.page>=s.value)),h=(0,r.Fl)((()=>{const e=d.rowsPerPageOptions.includes(l.value.rowsPerPage)?d.rowsPerPageOptions:[l.value.rowsPerPage].concat(d.rowsPerPageOptions);return e.map((e=>({label:0===e?c.lang.table.allRows:""+e,value:e})))}));function L(){o({page:1})}function g(){const{page:e}=C.value;e>1&&o({page:e-1})}function Z(){const{page:e,rowsPerPage:l}=C.value;p.value>0&&e*l{if(e===l)return;const r=C.value.page;e&&!r?o({page:1}):e["single","multiple","none"].includes(e)},selected:{type:Array,default:()=>[]}},N=["update:selected","selection"];function I(e,l,C,t){const o=(0,r.Fl)((()=>{const l={};return e.selected.map(t.value).forEach((e=>{l[e]=!0})),l})),i=(0,r.Fl)((()=>"none"!==e.selection)),d=(0,r.Fl)((()=>"single"===e.selection)),n=(0,r.Fl)((()=>"multiple"===e.selection)),c=(0,r.Fl)((()=>0!==C.value.length&&C.value.every((e=>!0===o.value[t.value(e)])))),u=(0,r.Fl)((()=>!0!==c.value&&C.value.some((e=>!0===o.value[t.value(e)])))),a=(0,r.Fl)((()=>e.selected.length));function p(e){return!0===o.value[e]}function f(){l("update:selected",[])}function s(C,r,o,i){l("selection",{rows:r,added:o,keys:C,evt:i});const n=!0===d.value?!0===o?r:[]:!0===o?e.selected.concat(r):e.selected.filter((e=>!1===C.includes(t.value(e))));l("update:selected",n)}return{hasSelectionMode:i,singleSelection:d,multipleSelection:n,allRowsSelected:c,someRowsSelected:u,rowsSelectedNumber:a,isRowSelected:p,clearSelection:f,updateSelection:s}}function $(e){return Array.isArray(e)?e.slice():[]}const U={expanded:Array},j=["update:expanded"];function z(e,l){const C=(0,t.iH)($(e.expanded));function o(e){return C.value.includes(e)}function i(r){void 0!==e.expanded?l("update:expanded",r):C.value=r}function d(e,l){const r=C.value.slice(),t=r.indexOf(e);!0===l?-1===t&&(r.push(e),i(r)):-1!==t&&(r.splice(t,1),i(r))}return(0,r.YP)((()=>e.expanded),(e=>{C.value=$(e)})),{isRowExpanded:o,setExpanded:i,updateExpanded:d}}const Y={visibleColumns:Array};function G(e,l,C){const t=(0,r.Fl)((()=>{if(void 0!==e.columns)return e.columns;const l=e.rows[0];return void 0!==l?Object.keys(l).map((e=>({name:e,label:e.toUpperCase(),field:e,align:(0,B.hj)(l[e])?"right":"left",sortable:!0}))):[]})),o=(0,r.Fl)((()=>{const{sortBy:C,descending:r}=l.value,o=void 0!==e.visibleColumns?t.value.filter((l=>!0===l.required||!0===e.visibleColumns.includes(l.name))):t.value;return o.map((e=>{const l=e.align||"right",t=`text-${l}`;return{...e,align:l,__iconClass:`q-table__sort-icon q-table__sort-icon--${l}`,__thClass:t+(void 0!==e.headerClasses?" "+e.headerClasses:"")+(!0===e.sortable?" sortable":"")+(e.name===C?" sorted "+(!0===r?"sort-desc":""):""),__tdStyle:void 0!==e.style?"function"!==typeof e.style?()=>e.style:e.style:()=>null,__tdClass:void 0!==e.classes?"function"!==typeof e.classes?()=>t+" "+e.classes:l=>t+" "+e.classes(l):()=>t}}))})),i=(0,r.Fl)((()=>{const e={};return o.value.forEach((l=>{e[l.name]=l})),e})),d=(0,r.Fl)((()=>void 0!==e.tableColspan?e.tableColspan:o.value.length+(!0===C.value?1:0)));return{colList:t,computedCols:o,computedColsMap:i,computedColspan:d}}var W=C(43251);const K="q-table__bottom row items-center",X={};h.If.forEach((e=>{X[e]={}}));const Q=(0,i.L)({name:"QTable",props:{rows:{type:Array,default:()=>[]},rowKey:{type:[String,Function],default:"id"},columns:Array,loading:Boolean,iconFirstPage:String,iconPrevPage:String,iconNextPage:String,iconLastPage:String,title:String,hideHeader:Boolean,grid:Boolean,gridHeader:Boolean,dense:Boolean,flat:Boolean,bordered:Boolean,square:Boolean,separator:{type:String,default:"horizontal",validator:e=>["horizontal","vertical","cell","none"].includes(e)},wrapCells:Boolean,virtualScroll:Boolean,virtualScrollTarget:{default:void 0},...X,noDataLabel:String,noResultsLabel:String,loadingLabel:String,selectedRowsLabel:Function,rowsPerPageLabel:String,paginationLabel:Function,color:{type:String,default:"grey-8"},titleClass:[String,Array,Object],tableStyle:[String,Array,Object],tableClass:[String,Array,Object],tableHeaderStyle:[String,Array,Object],tableHeaderClass:[String,Array,Object],cardContainerClass:[String,Array,Object],cardContainerStyle:[String,Array,Object],cardStyle:[String,Array,Object],cardClass:[String,Array,Object],hideBottom:Boolean,hideSelectedBanner:Boolean,hideNoData:Boolean,hidePagination:Boolean,onRowClick:Function,onRowDblclick:Function,onRowContextmenu:Function,...c.S,...y.kM,...Y,...S,...E,...U,...R,...O},emits:["request","virtualScroll",...y.fL,...j,...N],setup(e,{slots:l,emit:C}){const i=(0,r.FN)(),{proxy:{$q:d}}=i,u=(0,c.Z)(e,d),{inFullscreen:a,toggleFullscreen:f}=(0,y.ZP)(),s=(0,r.Fl)((()=>"function"===typeof e.rowKey?e.rowKey:l=>l[e.rowKey])),L=(0,t.iH)(null),g=(0,t.iH)(null),Z=(0,r.Fl)((()=>!0!==e.grid&&!0===e.virtualScroll)),w=(0,r.Fl)((()=>" q-table__card"+(!0===u.value?" q-table__card--dark q-dark":"")+(!0===e.square?" q-table--square":"")+(!0===e.flat?" q-table--flat":"")+(!0===e.bordered?" q-table--bordered":""))),V=(0,r.Fl)((()=>`q-table__container q-table--${e.separator}-separator column no-wrap`+(!0===e.grid?" q-table--grid":w.value)+(!0===u.value?" q-table--dark":"")+(!0===e.dense?" q-table--dense":"")+(!1===e.wrapCells?" q-table--no-wrap":"")+(!0===a.value?" fullscreen scroll":""))),b=(0,r.Fl)((()=>V.value+(!0===e.loading?" q-table--loading":"")));(0,r.YP)((()=>e.tableStyle+e.tableClass+e.tableHeaderStyle+e.tableHeaderClass+V.value),(()=>{!0===Z.value&&null!==g.value&&g.value.reset()}));const{innerPagination:A,computedPagination:B,isServerSide:O,requestServerInteraction:S,setPagination:_}=q(i,Te),{computedFilterMethod:T}=P(e,_),{isRowExpanded:E,setExpanded:R,updateExpanded:N}=z(e,C),$=(0,r.Fl)((()=>{let l=e.rows;if(!0===O.value||0===l.length)return l;const{sortBy:C,descending:r}=B.value;return e.filter&&(l=T.value(l,e.filter,ie.value,Te)),null!==ce.value&&(l=ue.value(e.rows===l?l.slice():l,C,r)),l})),U=(0,r.Fl)((()=>$.value.length)),j=(0,r.Fl)((()=>{let l=$.value;if(!0===O.value)return l;const{rowsPerPage:C}=B.value;return 0!==C&&(0===pe.value&&e.rows!==l?l.length>fe.value&&(l=l.slice(0,fe.value)):l=l.slice(pe.value,fe.value)),l})),{hasSelectionMode:Y,singleSelection:X,multipleSelection:Q,allRowsSelected:J,someRowsSelected:ee,rowsSelectedNumber:le,isRowSelected:Ce,clearSelection:re,updateSelection:te}=I(e,C,j,s),{colList:oe,computedCols:ie,computedColsMap:de,computedColspan:ne}=G(e,B,Y),{columnToSort:ce,computedSortMethod:ue,sort:ae}=F(e,B,oe,_),{firstRowIndex:pe,lastRowIndex:fe,isFirstPage:se,isLastPage:ve,pagesNumber:he,computedRowsPerPageOptions:Le,computedRowsNumber:ge,firstPage:Ze,prevPage:we,nextPage:Me,lastPage:me}=D(i,A,B,O,_,U),He=(0,r.Fl)((()=>0===j.value.length)),Ve=(0,r.Fl)((()=>{const l={};return h.If.forEach((C=>{l[C]=e[C]})),void 0===l.virtualScrollItemSize&&(l.virtualScrollItemSize=!0===e.dense?28:48),l}));function be(){!0===Z.value&&g.value.reset()}function xe(){if(!0===e.grid)return We();const C=!0!==e.hideHeader?Re:null;if(!0===Z.value){const t=l["top-row"],o=l["bottom-row"],i={default:e=>Be(e.item,l.body,e.index)};if(void 0!==t){const e=(0,r.h)("tbody",t({cols:ie.value}));i.before=null===C?()=>e:()=>[C()].concat(e)}else null!==C&&(i.before=C);return void 0!==o&&(i.after=()=>(0,r.h)("tbody",o({cols:ie.value}))),(0,r.h)(M,{ref:g,class:e.tableClass,style:e.tableStyle,...Ve.value,scrollTarget:e.virtualScrollTarget,items:j.value,type:"__qtable",tableColspan:ne.value,onVirtualScroll:ye},i)}const t=[Oe()];return null!==C&&t.unshift(C()),v({class:["q-table__middle scroll",e.tableClass],style:e.tableStyle},t)}function ke(l,r){if(null!==g.value)return void g.value.scrollTo(l,r);l=parseInt(l,10);const t=L.value.querySelector(`tbody tr:nth-of-type(${l+1})`);if(null!==t){const r=L.value.querySelector(".q-table__middle.scroll"),o=t.offsetTop-e.virtualScrollStickySizeStart,i=o{const C=l[`body-cell-${e.name}`],o=void 0!==C?C:c;return void 0!==o?o(Se({key:d,row:t,pageIndex:i,col:e})):(0,r.h)("td",{class:e.__tdClass(t),style:e.__tdStyle(t)},Te(e,t))}));if(!0===Y.value){const C=l["body-selection"],o=void 0!==C?C(Pe({key:d,row:t,pageIndex:i})):[(0,r.h)(x,{modelValue:n,color:e.color,dark:u.value,dense:e.dense,"onUpdate:modelValue":(e,l)=>{te([d],[t],e,l)}})];a.unshift((0,r.h)("td",{class:"q-table--col-auto-width"},o))}const p={key:d,class:{selected:n}};return void 0!==e.onRowClick&&(p.class["cursor-pointer"]=!0,p.onClick=e=>{C("RowClick",e,t,i)}),void 0!==e.onRowDblclick&&(p.class["cursor-pointer"]=!0,p.onDblclick=e=>{C("RowDblclick",e,t,i)}),void 0!==e.onRowContextmenu&&(p.class["cursor-pointer"]=!0,p.onContextmenu=e=>{C("RowContextmenu",e,t,i)}),(0,r.h)("tr",p,a)}function Oe(){const e=l.body,C=l["top-row"],t=l["bottom-row"];let o=j.value.map(((l,C)=>Be(l,e,C)));return void 0!==C&&(o=C({cols:ie.value}).concat(o)),void 0!==t&&(o=o.concat(t({cols:ie.value}))),(0,r.h)("tbody",o)}function Fe(e){return _e(e),e.cols=e.cols.map((l=>(0,W.g)({...l},"value",(()=>Te(l,e.row))))),e}function Se(e){return _e(e),(0,W.g)(e,"value",(()=>Te(e.col,e.row))),e}function Pe(e){return _e(e),e}function _e(l){Object.assign(l,{cols:ie.value,colsMap:de.value,sort:ae,rowIndex:pe.value+l.pageIndex,color:e.color,dark:u.value,dense:e.dense}),!0===Y.value&&(0,W.g)(l,"selected",(()=>Ce(l.key)),((e,C)=>{te([l.key],[l.row],e,C)})),(0,W.g)(l,"expand",(()=>E(l.key)),(e=>{N(l.key,e)}))}function Te(e,l){const C="function"===typeof e.field?e.field(l):l[e.field];return void 0!==e.format?e.format(C,l):C}const Ee=(0,r.Fl)((()=>({pagination:B.value,pagesNumber:he.value,isFirstPage:se.value,isLastPage:ve.value,firstPage:Ze,prevPage:we,nextPage:Me,lastPage:me,inFullscreen:a.value,toggleFullscreen:f})));function qe(){const C=l.top,t=l["top-left"],o=l["top-right"],i=l["top-selection"],d=!0===Y.value&&void 0!==i&&le.value>0,n="q-table__top relative-position row items-center";if(void 0!==C)return(0,r.h)("div",{class:n},[C(Ee.value)]);let c;return!0===d?c=i(Ee.value).slice():(c=[],void 0!==t?c.push((0,r.h)("div",{class:"q-table__control"},[t(Ee.value)])):e.title&&c.push((0,r.h)("div",{class:"q-table__control"},[(0,r.h)("div",{class:["q-table__title",e.titleClass]},e.title)]))),void 0!==o&&(c.push((0,r.h)("div",{class:"q-table__separator col"})),c.push((0,r.h)("div",{class:"q-table__control"},[o(Ee.value)]))),0!==c.length?(0,r.h)("div",{class:n},c):void 0}const De=(0,r.Fl)((()=>!0===ee.value?null:J.value));function Re(){const C=Ne();return!0===e.loading&&void 0===l.loading&&C.push((0,r.h)("tr",{class:"q-table__progress"},[(0,r.h)("th",{class:"relative-position",colspan:ne.value},Ae())])),(0,r.h)("thead",C)}function Ne(){const C=l.header,t=l["header-cell"];if(void 0!==C)return C(Ie({header:!0})).slice();const o=ie.value.map((e=>{const C=l[`header-cell-${e.name}`],o=void 0!==C?C:t,i=Ie({col:e});return void 0!==o?o(i):(0,r.h)(n,{key:e.name,props:i},(()=>e.label))}));if(!0===X.value&&!0!==e.grid)o.unshift((0,r.h)("th",{class:"q-table--col-auto-width"}," "));else if(!0===Q.value){const C=l["header-selection"],t=void 0!==C?C(Ie({})):[(0,r.h)(x,{color:e.color,modelValue:De.value,dark:u.value,dense:e.dense,"onUpdate:modelValue":$e})];o.unshift((0,r.h)("th",{class:"q-table--col-auto-width"},t))}return[(0,r.h)("tr",{class:e.tableHeaderClass,style:e.tableHeaderStyle},o)]}function Ie(l){return Object.assign(l,{cols:ie.value,sort:ae,colsMap:de.value,color:e.color,dark:u.value,dense:e.dense}),!0===Q.value&&(0,W.g)(l,"selected",(()=>De.value),$e),l}function $e(e){!0===ee.value&&(e=!1),te(j.value.map(s.value),j.value,e)}const Ue=(0,r.Fl)((()=>{const l=[e.iconFirstPage||d.iconSet.table.firstPage,e.iconPrevPage||d.iconSet.table.prevPage,e.iconNextPage||d.iconSet.table.nextPage,e.iconLastPage||d.iconSet.table.lastPage];return!0===d.lang.rtl?l.reverse():l}));function je(){if(!0===e.hideBottom)return;if(!0===He.value){if(!0===e.hideNoData)return;const C=!0===e.loading?e.loadingLabel||d.lang.table.loading:e.filter?e.noResultsLabel||d.lang.table.noResults:e.noDataLabel||d.lang.table.noData,t=l["no-data"],i=void 0!==t?[t({message:C,icon:d.iconSet.table.warning,filter:e.filter})]:[(0,r.h)(o.Z,{class:"q-table__bottom-nodata-icon",name:d.iconSet.table.warning}),C];return(0,r.h)("div",{class:K+" q-table__bottom--nodata"},i)}const C=l.bottom;if(void 0!==C)return(0,r.h)("div",{class:K},[C(Ee.value)]);const t=!0!==e.hideSelectedBanner&&!0===Y.value&&le.value>0?[(0,r.h)("div",{class:"q-table__control"},[(0,r.h)("div",[(e.selectedRowsLabel||d.lang.table.selectedRecords)(le.value)])])]:[];return!0!==e.hidePagination?(0,r.h)("div",{class:K+" justify-end"},Ye(t)):0!==t.length?(0,r.h)("div",{class:K},t):void 0}function ze(e){_({page:1,rowsPerPage:e.value})}function Ye(C){let t;const{rowsPerPage:o}=B.value,i=e.paginationLabel||d.lang.table.pagination,n=l.pagination,c=e.rowsPerPageOptions.length>1;if(C.push((0,r.h)("div",{class:"q-table__separator col"})),!0===c&&C.push((0,r.h)("div",{class:"q-table__control"},[(0,r.h)("span",{class:"q-table__bottom-item"},[e.rowsPerPageLabel||d.lang.table.recordsPerPage]),(0,r.h)(m.Z,{class:"q-table__select inline q-table__bottom-item",color:e.color,modelValue:o,options:Le.value,displayValue:0===o?d.lang.table.allRows:o,dark:u.value,borderless:!0,dense:!0,optionsDense:!0,optionsCover:!0,"onUpdate:modelValue":ze})])),void 0!==n)t=n(Ee.value);else if(t=[(0,r.h)("span",0!==o?{class:"q-table__bottom-item"}:{},[o?i(pe.value+1,Math.min(fe.value,ge.value),ge.value):i(1,U.value,ge.value)])],0!==o&&he.value>1){const l={color:e.color,round:!0,dense:!0,flat:!0};!0===e.dense&&(l.size="sm"),he.value>2&&t.push((0,r.h)(k.Z,{key:"pgFirst",...l,icon:Ue.value[0],disable:se.value,onClick:Ze})),t.push((0,r.h)(k.Z,{key:"pgPrev",...l,icon:Ue.value[1],disable:se.value,onClick:we}),(0,r.h)(k.Z,{key:"pgNext",...l,icon:Ue.value[2],disable:ve.value,onClick:Me})),he.value>2&&t.push((0,r.h)(k.Z,{key:"pgLast",...l,icon:Ue.value[3],disable:ve.value,onClick:me}))}return C.push((0,r.h)("div",{class:"q-table__control"},t)),C}function Ge(){const C=!0===e.gridHeader?[(0,r.h)("table",{class:"q-table"},[Re(r.h)])]:!0===e.loading&&void 0===l.loading?Ae(r.h):void 0;return(0,r.h)("div",{class:"q-table__middle"},C)}function We(){const t=void 0!==l.item?l.item:t=>{const o=t.cols.map((e=>(0,r.h)("div",{class:"q-table__grid-item-row"},[(0,r.h)("div",{class:"q-table__grid-item-title"},[e.label]),(0,r.h)("div",{class:"q-table__grid-item-value"},[e.value])])));if(!0===Y.value){const C=l["body-selection"],i=void 0!==C?C(t):[(0,r.h)(x,{modelValue:t.selected,color:e.color,dark:u.value,dense:e.dense,"onUpdate:modelValue":(e,l)=>{te([t.key],[t.row],e,l)}})];o.unshift((0,r.h)("div",{class:"q-table__grid-item-row"},i),(0,r.h)(p,{dark:u.value}))}const i={class:["q-table__grid-item-card"+w.value,e.cardClass],style:e.cardStyle};return void 0===e.onRowClick&&void 0===e.onRowDblclick||(i.class[0]+=" cursor-pointer",void 0!==e.onRowClick&&(i.onClick=e=>{C("RowClick",e,t.row,t.pageIndex)}),void 0!==e.onRowDblclick&&(i.onDblclick=e=>{C("RowDblclick",e,t.row,t.pageIndex)})),(0,r.h)("div",{class:"q-table__grid-item col-xs-12 col-sm-6 col-md-4 col-lg-3"+(!0===t.selected?" q-table__grid-item--selected":"")},[(0,r.h)("div",i,o)])};return(0,r.h)("div",{class:["q-table__grid-content row",e.cardContainerClass],style:e.cardContainerStyle},j.value.map(((e,l)=>t(Fe({key:s.value(e),row:e,pageIndex:l})))))}return Object.assign(i.proxy,{requestServerInteraction:S,setPagination:_,firstPage:Ze,prevPage:we,nextPage:Me,lastPage:me,isRowSelected:Ce,clearSelection:re,isRowExpanded:E,setExpanded:R,sort:ae,resetVirtualScroll:be,scrollTo:ke,getCellValue:Te}),(0,W.K)(i.proxy,{filteredSortedRows:()=>$.value,computedRows:()=>j.value,computedRowsNumber:()=>ge.value}),()=>{const C=[qe()],t={ref:L,class:b.value};return!0===e.grid?C.push(Ge()):Object.assign(t,{class:[t.class,e.cardClass],style:e.cardStyle}),C.push(xe(),je()),!0===e.loading&&void 0!==l.loading&&C.push(l.loading()),(0,r.h)("div",t,C)}}})},67220:(e,l,C)=>{"use strict";C.d(l,{Z:()=>i});var r=C(59835),t=C(65987),o=C(22026);const i=(0,t.L)({name:"QTd",props:{props:Object,autoWidth:Boolean,noHover:Boolean},setup(e,{slots:l}){const C=(0,r.FN)(),t=(0,r.Fl)((()=>"q-td"+(!0===e.autoWidth?" q-table--col-auto-width":"")+(!0===e.noHover?" q-td--no-hover":"")+" "));return()=>{if(void 0===e.props)return(0,r.h)("td",{class:t.value},(0,o.KR)(l.default));const i=C.vnode.key,d=(void 0!==e.props.colsMap?e.props.colsMap[i]:null)||e.props.col;if(void 0===d)return;const{row:n}=e.props;return(0,r.h)("td",{class:t.value+d.__tdClass(n),style:d.__tdStyle(n)},(0,o.KR)(l.default))}}})},94337:(e,l,C)=>{"use strict";C.d(l,{Z:()=>Z});var r=C(59835),t=C(70945),o=(C(69665),C(60499)),i=C(22857),d=C(51136),n=C(22026),c=C(61705),u=C(95439),a=C(91384),p=C(50796),f=C(4680);let s=0;const v=["click","keydown"],h={icon:String,label:[Number,String],alert:[Boolean,String],alertIcon:String,name:{type:[Number,String],default:()=>"t_"+s++},noCaps:Boolean,tabindex:[String,Number],disable:Boolean,contentClass:String,ripple:{type:[Boolean,Object],default:!0}};function L(e,l,C,t){const s=(0,r.f3)(u.Nd,u.qO);if(s===u.qO)return console.error("QTab/QRouteTab component needs to be child of QTabs"),u.qO;const{proxy:v}=(0,r.FN)(),h=(0,o.iH)(null),L=(0,o.iH)(null),g=(0,o.iH)(null),Z=(0,r.Fl)((()=>!0!==e.disable&&!1!==e.ripple&&Object.assign({keyCodes:[13,32],early:!0},!0===e.ripple?{}:e.ripple))),w=(0,r.Fl)((()=>s.currentModel.value===e.name)),M=(0,r.Fl)((()=>"q-tab relative-position self-stretch flex flex-center text-center"+(!0===w.value?" q-tab--active"+(s.tabProps.value.activeClass?" "+s.tabProps.value.activeClass:"")+(s.tabProps.value.activeColor?` text-${s.tabProps.value.activeColor}`:"")+(s.tabProps.value.activeBgColor?` bg-${s.tabProps.value.activeBgColor}`:""):" q-tab--inactive")+(e.icon&&e.label&&!1===s.tabProps.value.inlineLabel?" q-tab--full":"")+(!0===e.noCaps||!0===s.tabProps.value.noCaps?" q-tab--no-caps":"")+(!0===e.disable?" disabled":" q-focusable q-hoverable cursor-pointer")+(void 0!==t?t.linkClass.value:""))),m=(0,r.Fl)((()=>"q-tab__content self-stretch flex-center relative-position q-anchor--skip non-selectable "+(!0===s.tabProps.value.inlineLabel?"row no-wrap q-tab__content--inline":"column")+(void 0!==e.contentClass?` ${e.contentClass}`:""))),H=(0,r.Fl)((()=>!0===e.disable||!0===s.hasFocus.value||!1===w.value&&!0===s.hasActiveTab.value?-1:e.tabindex||0));function V(l,r){if(!0!==r&&null!==h.value&&h.value.focus(),!0!==e.disable){if(void 0===t)return s.updateModel({name:e.name}),void C("click",l);if(!0===t.hasRouterLink.value){const r=(C={})=>{let r;const o=void 0===C.to||!0===(0,f.xb)(C.to,e.to)?s.avoidRouteWatcher=(0,p.Z)():null;return t.navigateToRouterLink(l,{...C,returnRouterError:!0}).catch((e=>{r=e})).then((l=>{if(o===s.avoidRouteWatcher&&(s.avoidRouteWatcher=!1,void 0!==r||void 0!==l&&!0!==l.message.startsWith("Avoided redundant navigation")||s.updateModel({name:e.name})),!0===C.returnRouterError)return void 0!==r?Promise.reject(r):l}))};return C("click",l,r),void(!0!==l.defaultPrevented&&r())}C("click",l)}else void 0!==t&&!0===t.hasRouterLink.value&&(0,a.NS)(l)}function b(e){(0,c.So)(e,[13,32])?V(e,!0):!0!==(0,c.Wm)(e)&&e.keyCode>=35&&e.keyCode<=40&&!0!==e.altKey&&!0!==e.metaKey&&!0===s.onKbdNavigate(e.keyCode,v.$el)&&(0,a.NS)(e),C("keydown",e)}function x(){const C=s.tabProps.value.narrowIndicator,t=[],o=(0,r.h)("div",{ref:g,class:["q-tab__indicator",s.tabProps.value.indicatorClass]});void 0!==e.icon&&t.push((0,r.h)(i.Z,{class:"q-tab__icon",name:e.icon})),void 0!==e.label&&t.push((0,r.h)("div",{class:"q-tab__label"},e.label)),!1!==e.alert&&t.push(void 0!==e.alertIcon?(0,r.h)(i.Z,{class:"q-tab__alert-icon",color:!0!==e.alert?e.alert:void 0,name:e.alertIcon}):(0,r.h)("div",{class:"q-tab__alert"+(!0!==e.alert?` text-${e.alert}`:"")})),!0===C&&t.push(o);const d=[(0,r.h)("div",{class:"q-focus-helper",tabindex:-1,ref:h}),(0,r.h)("div",{class:m.value},(0,n.vs)(l.default,t))];return!1===C&&d.push(o),d}const k={name:(0,r.Fl)((()=>e.name)),rootRef:L,tabIndicatorRef:g,routeData:t};function y(l,C){const t={ref:L,class:M.value,tabindex:H.value,role:"tab","aria-selected":!0===w.value?"true":"false","aria-disabled":!0===e.disable?"true":void 0,onClick:V,onKeydown:b,...C};return(0,r.wy)((0,r.h)(l,t,x()),[[d.Z,Z.value]])}return(0,r.Jd)((()=>{s.unregisterTab(k)})),(0,r.bv)((()=>{s.registerTab(k)})),{renderTab:y,$tabs:s}}var g=C(65987);const Z=(0,g.L)({name:"QRouteTab",props:{...t.$,...h},emits:v,setup(e,{slots:l,emit:C}){const o=(0,t.Z)({useDisableForRouterLinkProps:!1}),{renderTab:i,$tabs:d}=L(e,l,C,{exact:(0,r.Fl)((()=>e.exact)),...o});return(0,r.YP)((()=>`${e.name} | ${e.exact} | ${(o.resolvedLink.value||{}).href}`),(()=>{d.verifyRouteModel()})),()=>i(o.linkTag.value,o.linkAttrs.value)}})},47817:(e,l,C)=>{"use strict";C.d(l,{Z:()=>v});C(69665);var r=C(59835),t=C(60499),o=C(22857),i=C(60883),d=C(16916),n=C(52695),c=C(65987),u=C(22026),a=C(95439),p=C(78383);function f(e,l,C){const r=!0===C?["left","right"]:["top","bottom"];return`absolute-${!0===l?r[0]:r[1]}${e?` text-${e}`:""}`}const s=["left","center","right","justify"],v=(0,c.L)({name:"QTabs",props:{modelValue:[Number,String],align:{type:String,default:"center",validator:e=>s.includes(e)},breakpoint:{type:[String,Number],default:600},vertical:Boolean,shrink:Boolean,stretch:Boolean,activeClass:String,activeColor:String,activeBgColor:String,indicatorColor:String,leftIcon:String,rightIcon:String,outsideArrows:Boolean,mobileArrows:Boolean,switchIndicator:Boolean,narrowIndicator:Boolean,inlineLabel:Boolean,noCaps:Boolean,dense:Boolean,contentClass:String,"onUpdate:modelValue":[Function,Array]},setup(e,{slots:l,emit:C}){const{proxy:c}=(0,r.FN)(),{$q:s}=c,{registerTick:v}=(0,d.Z)(),{registerTick:h}=(0,d.Z)(),{registerTick:L}=(0,d.Z)(),{registerTimeout:g,removeTimeout:Z}=(0,n.Z)(),{registerTimeout:w,removeTimeout:M}=(0,n.Z)(),m=(0,t.iH)(null),H=(0,t.iH)(null),V=(0,t.iH)(e.modelValue),b=(0,t.iH)(!1),x=(0,t.iH)(!0),k=(0,t.iH)(!1),y=(0,t.iH)(!1),A=[],B=(0,t.iH)(0),O=(0,t.iH)(!1);let F,S=null,P=null;const _=(0,r.Fl)((()=>({activeClass:e.activeClass,activeColor:e.activeColor,activeBgColor:e.activeBgColor,indicatorClass:f(e.indicatorColor,e.switchIndicator,e.vertical),narrowIndicator:e.narrowIndicator,inlineLabel:e.inlineLabel,noCaps:e.noCaps}))),T=(0,r.Fl)((()=>{const e=B.value,l=V.value;for(let C=0;C{const l=!0===b.value?"left":!0===y.value?"justify":e.align;return`q-tabs__content--align-${l}`})),q=(0,r.Fl)((()=>`q-tabs row no-wrap items-center q-tabs--${!0===b.value?"":"not-"}scrollable q-tabs--`+(!0===e.vertical?"vertical":"horizontal")+" q-tabs__arrows--"+(!0===e.outsideArrows?"outside":"inside")+` q-tabs--mobile-with${!0===e.mobileArrows?"":"out"}-arrows`+(!0===e.dense?" q-tabs--dense":"")+(!0===e.shrink?" col-shrink":"")+(!0===e.stretch?" self-stretch":""))),D=(0,r.Fl)((()=>"q-tabs__content scroll--mobile row no-wrap items-center self-stretch hide-scrollbar relative-position "+E.value+(void 0!==e.contentClass?` ${e.contentClass}`:""))),R=(0,r.Fl)((()=>!0===e.vertical?{container:"height",content:"offsetHeight",scroll:"scrollHeight"}:{container:"width",content:"offsetWidth",scroll:"scrollWidth"})),N=(0,r.Fl)((()=>!0!==e.vertical&&!0===s.lang.rtl)),I=(0,r.Fl)((()=>!1===p.e&&!0===N.value));function $({name:l,setCurrent:r,skipEmit:t}){V.value!==l&&(!0!==t&&void 0!==e["onUpdate:modelValue"]&&C("update:modelValue",l),!0!==r&&void 0!==e["onUpdate:modelValue"]||(z(V.value,l),V.value=l))}function U(){v((()=>{j({width:m.value.offsetWidth,height:m.value.offsetHeight})}))}function j(l){if(void 0===R.value||null===H.value)return;const C=l[R.value.container],r=Math.min(H.value[R.value.scroll],Array.prototype.reduce.call(H.value.children,((e,l)=>e+(l[R.value.content]||0)),0)),t=C>0&&r>C;b.value=t,!0===t&&h(G),y.value=Ce.name.value===l)):null,t=void 0!==C&&null!==C&&""!==C?A.find((e=>e.name.value===C)):null;if(r&&t){const l=r.tabIndicatorRef.value,C=t.tabIndicatorRef.value;null!==S&&(clearTimeout(S),S=null),l.style.transition="none",l.style.transform="none",C.style.transition="none",C.style.transform="none";const o=l.getBoundingClientRect(),i=C.getBoundingClientRect();C.style.transform=!0===e.vertical?`translate3d(0,${o.top-i.top}px,0) scale3d(1,${i.height?o.height/i.height:1},1)`:`translate3d(${o.left-i.left}px,0,0) scale3d(${i.width?o.width/i.width:1},1,1)`,L((()=>{S=setTimeout((()=>{S=null,C.style.transition="transform .25s cubic-bezier(.4, 0, .2, 1)",C.style.transform="none"}),70)}))}t&&!0===b.value&&Y(t.rootRef.value)}function Y(l){const{left:C,width:r,top:t,height:o}=H.value.getBoundingClientRect(),i=l.getBoundingClientRect();let d=!0===e.vertical?i.top-t:i.left-C;if(d<0)return H.value[!0===e.vertical?"scrollTop":"scrollLeft"]+=Math.floor(d),void G();d+=!0===e.vertical?i.height-o:i.width-r,d>0&&(H.value[!0===e.vertical?"scrollTop":"scrollLeft"]+=Math.ceil(d),G())}function G(){const l=H.value;if(null===l)return;const C=l.getBoundingClientRect(),r=!0===e.vertical?l.scrollTop:Math.abs(l.scrollLeft);!0===N.value?(x.value=Math.ceil(r+C.width)0):(x.value=r>0,k.value=!0===e.vertical?Math.ceil(r+C.height){!0===le(e)&&Q()}),5)}function K(){W(!0===I.value?Number.MAX_SAFE_INTEGER:0)}function X(){W(!0===I.value?0:Number.MAX_SAFE_INTEGER)}function Q(){null!==P&&(clearInterval(P),P=null)}function J(l,C){const r=Array.prototype.filter.call(H.value.children,(e=>e===C||e.matches&&!0===e.matches(".q-tab.q-focusable"))),t=r.length;if(0===t)return;if(36===l)return Y(r[0]),r[0].focus(),!0;if(35===l)return Y(r[t-1]),r[t-1].focus(),!0;const o=l===(!0===e.vertical?38:37),i=l===(!0===e.vertical?40:39),d=!0===o?-1:!0===i?1:void 0;if(void 0!==d){const e=!0===N.value?-1:1,l=r.indexOf(C)+d*e;return l>=0&&le.modelValue),(e=>{$({name:e,setCurrent:!0,skipEmit:!0})})),(0,r.YP)((()=>e.outsideArrows),U);const ee=(0,r.Fl)((()=>!0===I.value?{get:e=>Math.abs(e.scrollLeft),set:(e,l)=>{e.scrollLeft=-l}}:!0===e.vertical?{get:e=>e.scrollTop,set:(e,l)=>{e.scrollTop=l}}:{get:e=>e.scrollLeft,set:(e,l)=>{e.scrollLeft=l}}));function le(e){const l=H.value,{get:C,set:r}=ee.value;let t=!1,o=C(l);const i=e=e)&&(t=!0,o=e),r(l,o),G(),t}function Ce(e,l){for(const C in e)if(e[C]!==l[C])return!1;return!0}function re(){let e=null,l={matchedLen:0,queryDiff:9999,hrefLen:0};const C=A.filter((e=>void 0!==e.routeData&&!0===e.routeData.hasRouterLink.value)),{hash:r,query:t}=c.$route,o=Object.keys(t).length;for(const i of C){const C=!0===i.routeData.exact.value;if(!0!==i.routeData[!0===C?"linkIsExactActive":"linkIsActive"].value)continue;const{hash:d,query:n,matched:c,href:u}=i.routeData.resolvedLink.value,a=Object.keys(n).length;if(!0===C){if(d!==r)continue;if(a!==o||!1===Ce(t,n))continue;e=i.name.value;break}if(""!==d&&d!==r)continue;if(0!==a&&!1===Ce(n,t))continue;const p={matchedLen:c.length,queryDiff:o-a,hrefLen:u.length-d.length};if(p.matchedLen>l.matchedLen)e=i.name.value,l=p;else if(p.matchedLen===l.matchedLen){if(p.queryDiffl.hrefLen&&(e=i.name.value,l=p)}}null===e&&!0===A.some((e=>void 0===e.routeData&&e.name.value===V.value))||$({name:e,setCurrent:!0})}function te(e){if(Z(),!0!==O.value&&null!==m.value&&e.target&&"function"===typeof e.target.closest){const l=e.target.closest(".q-tab");l&&!0===m.value.contains(l)&&(O.value=!0,!0===b.value&&Y(l))}}function oe(){g((()=>{O.value=!1}),30)}function ie(){!1===ue.avoidRouteWatcher?w(re):M()}function de(){if(void 0===F){const e=(0,r.YP)((()=>c.$route.fullPath),ie);F=()=>{e(),F=void 0}}}function ne(e){A.push(e),B.value++,U(),void 0===e.routeData||void 0===c.$route?w((()=>{if(!0===b.value){const e=V.value,l=void 0!==e&&null!==e&&""!==e?A.find((l=>l.name.value===e)):null;l&&Y(l.rootRef.value)}})):(de(),!0===e.routeData.hasRouterLink.value&&ie())}function ce(e){A.splice(A.indexOf(e),1),B.value--,U(),void 0!==F&&void 0!==e.routeData&&(!0===A.every((e=>void 0===e.routeData))&&F(),ie())}const ue={currentModel:V,tabProps:_,hasFocus:O,hasActiveTab:T,registerTab:ne,unregisterTab:ce,verifyRouteModel:ie,updateModel:$,onKbdNavigate:J,avoidRouteWatcher:!1};function ae(){null!==S&&clearTimeout(S),Q(),void 0!==F&&F()}let pe;return(0,r.JJ)(a.Nd,ue),(0,r.Jd)(ae),(0,r.se)((()=>{pe=void 0!==F,ae()})),(0,r.dl)((()=>{!0===pe&&de(),U()})),()=>(0,r.h)("div",{ref:m,class:q.value,role:"tablist",onFocusin:te,onFocusout:oe},[(0,r.h)(i.Z,{onResize:j}),(0,r.h)("div",{ref:H,class:D.value,onScroll:G},(0,u.KR)(l.default)),(0,r.h)(o.Z,{class:"q-tabs__arrow q-tabs__arrow--left absolute q-tab__icon"+(!0===x.value?"":" q-tabs__arrow--faded"),name:e.leftIcon||s.iconSet.tabs[!0===e.vertical?"up":"left"],onMousedownPassive:K,onTouchstartPassive:K,onMouseupPassive:Q,onMouseleavePassive:Q,onTouchendPassive:Q}),(0,r.h)(o.Z,{class:"q-tabs__arrow q-tabs__arrow--right absolute q-tab__icon"+(!0===k.value?"":" q-tabs__arrow--faded"),name:e.rightIcon||s.iconSet.tabs[!0===e.vertical?"down":"right"],onMousedownPassive:X,onTouchstartPassive:X,onMouseupPassive:Q,onMouseleavePassive:Q,onTouchendPassive:Q})])}})},23175:(e,l,C)=>{"use strict";C.d(l,{Z:()=>d});var r=C(59835),t=C(22857),o=C(5413),i=C(65987);const d=(0,i.L)({name:"QToggle",props:{...o.Fz,icon:String,iconColor:String},emits:o.ZB,setup(e){function l(l,C){const o=(0,r.Fl)((()=>(!0===l.value?e.checkedIcon:!0===C.value?e.indeterminateIcon:e.uncheckedIcon)||e.icon)),i=(0,r.Fl)((()=>!0===l.value?e.iconColor:null));return()=>[(0,r.h)("div",{class:"q-toggle__track"}),(0,r.h)("div",{class:"q-toggle__thumb absolute flex flex-center no-wrap"},void 0!==o.value?[(0,r.h)(t.Z,{name:o.value,color:i.value})]:void 0)]}return(0,o.ZP)("toggle",l)}})},51663:(e,l,C)=>{"use strict";C.d(l,{Z:()=>i});var r=C(59835),t=C(65987),o=C(22026);const i=(0,t.L)({name:"QToolbar",props:{inset:Boolean},setup(e,{slots:l}){const C=(0,r.Fl)((()=>"q-toolbar row no-wrap items-center"+(!0===e.inset?" q-toolbar--inset":"")));return()=>(0,r.h)("div",{class:C.value,role:"toolbar"},(0,o.KR)(l.default))}})},81973:(e,l,C)=>{"use strict";C.d(l,{Z:()=>i});var r=C(59835),t=C(65987),o=C(22026);const i=(0,t.L)({name:"QToolbarTitle",props:{shrink:Boolean},setup(e,{slots:l}){const C=(0,r.Fl)((()=>"q-toolbar__title ellipsis"+(!0===e.shrink?" col-shrink":"")));return()=>(0,r.h)("div",{class:C.value},(0,o.KR)(l.default))}})},46858:(e,l,C)=>{"use strict";C.d(l,{Z:()=>w});var r=C(59835),t=C(60499),o=C(61957),i=C(74397),d=C(64088),n=C(63842),c=C(91518),u=C(20431),a=C(16916),p=C(52695),f=C(65987),s=C(43701),v=C(91384),h=C(2589),L=C(22026),g=C(49092),Z=C(49388);const w=(0,f.L)({name:"QTooltip",inheritAttrs:!1,props:{...i.u,...n.vr,...u.D,maxHeight:{type:String,default:null},maxWidth:{type:String,default:null},transitionShow:{default:"jump-down"},transitionHide:{default:"jump-up"},anchor:{type:String,default:"bottom middle",validator:Z.$},self:{type:String,default:"top middle",validator:Z.$},offset:{type:Array,default:()=>[14,14],validator:Z.io},scrollTarget:{default:void 0},delay:{type:Number,default:0},hideDelay:{type:Number,default:0}},emits:[...n.gH],setup(e,{slots:l,emit:C,attrs:f}){let w,M;const m=(0,r.FN)(),{proxy:{$q:H}}=m,V=(0,t.iH)(null),b=(0,t.iH)(!1),x=(0,r.Fl)((()=>(0,Z.li)(e.anchor,H.lang.rtl))),k=(0,r.Fl)((()=>(0,Z.li)(e.self,H.lang.rtl))),y=(0,r.Fl)((()=>!0!==e.persistent)),{registerTick:A,removeTick:B}=(0,a.Z)(),{registerTimeout:O}=(0,p.Z)(),{transitionProps:F,transitionStyle:S}=(0,u.Z)(e),{localScrollTarget:P,changeScrollEvent:_,unconfigureScrollTarget:T}=(0,d.Z)(e,Q),{anchorEl:E,canShow:q,anchorEvents:D}=(0,i.Z)({showing:b,configureAnchorEl:X}),{show:R,hide:N}=(0,n.ZP)({showing:b,canShow:q,handleShow:j,handleHide:z,hideOnRouteChange:y,processOnMount:!0});Object.assign(D,{delayShow:W,delayHide:K});const{showPortal:I,hidePortal:$,renderPortal:U}=(0,c.Z)(m,V,ee,"tooltip");if(!0===H.platform.is.mobile){const l={anchorEl:E,innerRef:V,onClickOutside(e){return N(e),e.target.classList.contains("q-dialog__backdrop")&&(0,v.NS)(e),!0}},C=(0,r.Fl)((()=>null===e.modelValue&&!0!==e.persistent&&!0===b.value));(0,r.YP)(C,(e=>{const C=!0===e?g.m:g.D;C(l)})),(0,r.Jd)((()=>{(0,g.D)(l)}))}function j(l){I(),A((()=>{M=new MutationObserver((()=>G())),M.observe(V.value,{attributes:!1,childList:!0,characterData:!0,subtree:!0}),G(),Q()})),void 0===w&&(w=(0,r.YP)((()=>H.screen.width+"|"+H.screen.height+"|"+e.self+"|"+e.anchor+"|"+H.lang.rtl),G)),O((()=>{I(!0),C("show",l)}),e.transitionDuration)}function z(l){B(),$(),Y(),O((()=>{$(!0),C("hide",l)}),e.transitionDuration)}function Y(){void 0!==M&&(M.disconnect(),M=void 0),void 0!==w&&(w(),w=void 0),T(),(0,v.ul)(D,"tooltipTemp")}function G(){(0,Z.wq)({targetEl:V.value,offset:e.offset,anchorEl:E.value,anchorOrigin:x.value,selfOrigin:k.value,maxHeight:e.maxHeight,maxWidth:e.maxWidth})}function W(l){if(!0===H.platform.is.mobile){(0,h.M)(),document.body.classList.add("non-selectable");const e=E.value,l=["touchmove","touchcancel","touchend","click"].map((l=>[e,l,"delayHide","passiveCapture"]));(0,v.M0)(D,"tooltipTemp",l)}O((()=>{R(l)}),e.delay)}function K(l){!0===H.platform.is.mobile&&((0,v.ul)(D,"tooltipTemp"),(0,h.M)(),setTimeout((()=>{document.body.classList.remove("non-selectable")}),10)),O((()=>{N(l)}),e.hideDelay)}function X(){if(!0===e.noParentEvent||null===E.value)return;const l=!0===H.platform.is.mobile?[[E.value,"touchstart","delayShow","passive"]]:[[E.value,"mouseenter","delayShow","passive"],[E.value,"mouseleave","delayHide","passive"]];(0,v.M0)(D,"anchor",l)}function Q(){if(null!==E.value||void 0!==e.scrollTarget){P.value=(0,s.b0)(E.value,e.scrollTarget);const l=!0===e.noParentEvent?G:N;_(P.value,l)}}function J(){return!0===b.value?(0,r.h)("div",{...f,ref:V,class:["q-tooltip q-tooltip--style q-position-engine no-pointer-events",f.class],style:[f.style,S.value],role:"tooltip"},(0,L.KR)(l.default)):null}function ee(){return(0,r.h)(o.uT,F.value,J)}return(0,r.Jd)(Y),Object.assign(m.proxy,{updatePosition:G}),U}})},55896:(e,l,C)=>{"use strict";C.d(l,{Z:()=>T});C(69665),C(95516),C(23036),C(62309);var r=C(59835),t=C(60499),o=C(68879),i=C(22857),d=C(13902),n=C(83302),c=C(68234),u=C(47506),a=C(91384);function p(e,l,C,r){const t=[];return e.forEach((e=>{!0===r(e)?t.push(e):l.push({failedPropValidation:C,file:e})})),t}function f(e){e&&e.dataTransfer&&(e.dataTransfer.dropEffect="copy"),(0,a.NS)(e)}const s={multiple:Boolean,accept:String,capture:String,maxFileSize:[Number,String],maxTotalSize:[Number,String],maxFiles:[Number,String],filter:Function},v=["rejected"];function h({editable:e,dnd:l,getFileInput:C,addFilesToQueue:o}){const{props:i,emit:d,proxy:n}=(0,r.FN)(),c=(0,t.iH)(null),s=(0,r.Fl)((()=>void 0!==i.accept?i.accept.split(",").map((e=>(e=e.trim(),"*"===e?"*/":(e.endsWith("/*")&&(e=e.slice(0,e.length-1)),e.toUpperCase())))):null)),v=(0,r.Fl)((()=>parseInt(i.maxFiles,10))),h=(0,r.Fl)((()=>parseInt(i.maxTotalSize,10)));function L(l){if(e.value)if(l!==Object(l)&&(l={target:null}),null!==l.target&&!0===l.target.matches('input[type="file"]'))0===l.clientX&&0===l.clientY&&(0,a.sT)(l);else{const e=C();e&&e!==l.target&&e.click(l)}}function g(l){e.value&&l&&o(null,l)}function Z(e,l,C,r){let t=Array.from(l||e.target.files);const o=[],n=()=>{0!==o.length&&d("rejected",o)};if(void 0!==i.accept&&-1===s.value.indexOf("*/")&&(t=p(t,o,"accept",(e=>s.value.some((l=>e.type.toUpperCase().startsWith(l)||e.name.toUpperCase().endsWith(l))))),0===t.length))return n();if(void 0!==i.maxFileSize){const e=parseInt(i.maxFileSize,10);if(t=p(t,o,"max-file-size",(l=>l.size<=e)),0===t.length)return n()}if(!0!==i.multiple&&0!==t.length&&(t=[t[0]]),t.forEach((e=>{e.__key=e.webkitRelativePath+e.lastModified+e.name+e.size})),!0===r){const e=C.map((e=>e.__key));t=p(t,o,"duplicate",(l=>!1===e.includes(l.__key)))}if(0===t.length)return n();if(void 0!==i.maxTotalSize){let e=!0===r?C.reduce(((e,l)=>e+l.size),0):0;if(t=p(t,o,"max-total-size",(l=>(e+=l.size,e<=h.value))),0===t.length)return n()}if("function"===typeof i.filter){const e=i.filter(t);t=p(t,o,"filter",(l=>e.includes(l)))}if(void 0!==i.maxFiles){let e=!0===r?C.length:0;if(t=p(t,o,"max-files",(()=>(e++,e<=v.value))),0===t.length)return n()}return n(),0!==t.length?t:void 0}function w(e){f(e),!0!==l.value&&(l.value=!0)}function M(e){(0,a.NS)(e);const C=null!==e.relatedTarget||!0!==u.client.is.safari?e.relatedTarget!==c.value:!1===document.elementsFromPoint(e.clientX,e.clientY).includes(c.value);!0===C&&(l.value=!1)}function m(e){f(e);const C=e.dataTransfer.files;0!==C.length&&o(null,C),l.value=!1}function H(e){if(!0===l.value)return(0,r.h)("div",{ref:c,class:`q-${e}__dnd absolute-full`,onDragenter:f,onDragover:f,onDragleave:M,onDrop:m})}return Object.assign(n,{pickFiles:L,addFiles:g}),{pickFiles:L,addFiles:g,onDragover:w,onDragleave:M,processFiles:Z,getDndNode:H,maxFilesNumber:v,maxTotalSizeNumber:h}}var L=C(30321),g=C(95439),Z=C(43251),w=C(52046);function M(e){return(100*e).toFixed(2)+"%"}const m={...c.S,...s,label:String,color:String,textColor:String,square:Boolean,flat:Boolean,bordered:Boolean,noThumbnails:Boolean,autoUpload:Boolean,hideUploadBtn:Boolean,disable:Boolean,readonly:Boolean},H=[...v,"start","finish","added","removed"];function V(e,l){const C=(0,r.FN)(),{props:u,slots:p,emit:f,proxy:s}=C,{$q:v}=s,m=(0,c.Z)(u,v);function H(e,l,C){if(e.__status=l,"idle"===l)return e.__uploaded=0,e.__progress=0,e.__sizeLabel=(0,L.rB)(e.size),void(e.__progressLabel="0.00%");"failed"!==l?(e.__uploaded="uploaded"===l?e.size:C,e.__progress="uploaded"===l?1:Math.min(.9999,e.__uploaded/e.size),e.__progressLabel=M(e.__progress),s.$forceUpdate()):s.$forceUpdate()}const V=(0,r.Fl)((()=>!0!==u.disable&&!0!==u.readonly)),b=(0,t.iH)(!1),x=(0,t.iH)(null),k=(0,t.iH)(null),y={files:(0,t.iH)([]),queuedFiles:(0,t.iH)([]),uploadedFiles:(0,t.iH)([]),uploadedSize:(0,t.iH)(0),updateFileStatus:H,isAlive:()=>!1===(0,w.$D)(C)},{pickFiles:A,addFiles:B,onDragover:O,onDragleave:F,processFiles:S,getDndNode:P,maxFilesNumber:_,maxTotalSizeNumber:T}=h({editable:V,dnd:b,getFileInput:X,addFilesToQueue:Q});Object.assign(y,e({props:u,slots:p,emit:f,helpers:y,exposeApi:e=>{Object.assign(y,e)}})),void 0===y.isBusy&&(y.isBusy=(0,t.iH)(!1));const E=(0,t.iH)(0),q=(0,r.Fl)((()=>0===E.value?0:y.uploadedSize.value/E.value)),D=(0,r.Fl)((()=>M(q.value))),R=(0,r.Fl)((()=>(0,L.rB)(E.value))),N=(0,r.Fl)((()=>!0===V.value&&!0!==y.isUploading.value&&(!0===u.multiple||0===y.queuedFiles.value.length)&&(void 0===u.maxFiles||y.files.value.length<_.value)&&(void 0===u.maxTotalSize||E.value!0===V.value&&!0!==y.isBusy.value&&!0!==y.isUploading.value&&0!==y.queuedFiles.value.length));(0,r.JJ)(g.Xh,le);const $=(0,r.Fl)((()=>"q-uploader column no-wrap"+(!0===m.value?" q-uploader--dark q-dark":"")+(!0===u.bordered?" q-uploader--bordered":"")+(!0===u.square?" q-uploader--square no-border-radius":"")+(!0===u.flat?" q-uploader--flat no-shadow":"")+(!0===u.disable?" disabled q-uploader--disable":"")+(!0===b.value?" q-uploader--dnd":""))),U=(0,r.Fl)((()=>"q-uploader__header"+(void 0!==u.color?` bg-${u.color}`:"")+(void 0!==u.textColor?` text-${u.textColor}`:"")));function j(){!1===u.disable&&(y.abort(),y.uploadedSize.value=0,E.value=0,K(),y.files.value=[],y.queuedFiles.value=[],y.uploadedFiles.value=[])}function z(){!1===u.disable&&G(["uploaded"],(()=>{y.uploadedFiles.value=[]}))}function Y(){G(["idle","failed"],(({size:e})=>{E.value-=e,y.queuedFiles.value=[]}))}function G(e,l){if(!0===u.disable)return;const C={files:[],size:0},r=y.files.value.filter((l=>-1===e.indexOf(l.__status)||(C.size+=l.size,C.files.push(l),void 0!==l.__img&&window.URL.revokeObjectURL(l.__img.src),!1)));0!==C.files.length&&(y.files.value=r,l(C),f("removed",C.files))}function W(e){u.disable||("uploaded"===e.__status?y.uploadedFiles.value=y.uploadedFiles.value.filter((l=>l.__key!==e.__key)):"uploading"===e.__status?e.__abort():E.value-=e.size,y.files.value=y.files.value.filter((l=>l.__key!==e.__key||(void 0!==l.__img&&window.URL.revokeObjectURL(l.__img.src),!1))),y.queuedFiles.value=y.queuedFiles.value.filter((l=>l.__key!==e.__key)),f("removed",[e]))}function K(){y.files.value.forEach((e=>{void 0!==e.__img&&window.URL.revokeObjectURL(e.__img.src)}))}function X(){return k.value||x.value.getElementsByClassName("q-uploader__input")[0]}function Q(e,l){const C=S(e,l,y.files.value,!0),r=X();void 0!==r&&null!==r&&(r.value=""),void 0!==C&&(C.forEach((e=>{if(y.updateFileStatus(e,"idle"),E.value+=e.size,!0!==u.noThumbnails&&e.type.toUpperCase().startsWith("IMAGE")){const l=new Image;l.src=window.URL.createObjectURL(e),e.__img=l}})),y.files.value=y.files.value.concat(C),y.queuedFiles.value=y.queuedFiles.value.concat(C),f("added",C),!0===u.autoUpload&&y.upload())}function J(){!0===I.value&&y.upload()}function ee(e,l,C){if(!0===e){const e={type:"a",key:l,icon:v.iconSet.uploader[l],flat:!0,dense:!0};let t;return"add"===l?(e.onClick=A,t=le):e.onClick=C,(0,r.h)(o.Z,e,t)}}function le(){return(0,r.h)("input",{ref:k,class:"q-uploader__input overflow-hidden absolute-full",tabindex:-1,type:"file",title:"",accept:u.accept,multiple:!0===u.multiple?"multiple":void 0,capture:u.capture,onMousedown:a.sT,onClick:A,onChange:Q})}function Ce(){return void 0!==p.header?p.header(te):[(0,r.h)("div",{class:"q-uploader__header-content column"},[(0,r.h)("div",{class:"flex flex-center no-wrap q-gutter-xs"},[ee(0!==y.queuedFiles.value.length,"removeQueue",Y),ee(0!==y.uploadedFiles.value.length,"removeUploaded",z),!0===y.isUploading.value?(0,r.h)(d.Z,{class:"q-uploader__spinner"}):null,(0,r.h)("div",{class:"col column justify-center"},[void 0!==u.label?(0,r.h)("div",{class:"q-uploader__title"},[u.label]):null,(0,r.h)("div",{class:"q-uploader__subtitle"},[R.value+" / "+D.value])]),ee(N.value,"add"),ee(!1===u.hideUploadBtn&&!0===I.value,"upload",y.upload),ee(y.isUploading.value,"clear",y.abort)])])]}function re(){return void 0!==p.list?p.list(te):y.files.value.map((e=>(0,r.h)("div",{key:e.__key,class:"q-uploader__file relative-position"+(!0!==u.noThumbnails&&void 0!==e.__img?" q-uploader__file--img":"")+("failed"===e.__status?" q-uploader__file--failed":"uploaded"===e.__status?" q-uploader__file--uploaded":""),style:!0!==u.noThumbnails&&void 0!==e.__img?{backgroundImage:'url("'+e.__img.src+'")'}:null},[(0,r.h)("div",{class:"q-uploader__file-header row flex-center no-wrap"},["failed"===e.__status?(0,r.h)(i.Z,{class:"q-uploader__file-status",name:v.iconSet.type.negative,color:"negative"}):null,(0,r.h)("div",{class:"q-uploader__file-header-content col"},[(0,r.h)("div",{class:"q-uploader__title"},[e.name]),(0,r.h)("div",{class:"q-uploader__subtitle row items-center no-wrap"},[e.__sizeLabel+" / "+e.__progressLabel])]),"uploading"===e.__status?(0,r.h)(n.Z,{value:e.__progress,min:0,max:1,indeterminate:0===e.__progress}):(0,r.h)(o.Z,{round:!0,dense:!0,flat:!0,icon:v.iconSet.uploader["uploaded"===e.__status?"done":"clear"],onClick:()=>{W(e)}})])])))}(0,r.YP)(y.isUploading,((e,l)=>{!1===l&&!0===e?f("start"):!0===l&&!1===e&&f("finish")})),(0,r.Jd)((()=>{!0===y.isUploading.value&&y.abort(),0!==y.files.value.length&&K()}));const te={};for(const r in y)!0===(0,t.dq)(y[r])?(0,Z.g)(te,r,(()=>y[r].value)):te[r]=y[r];return Object.assign(te,{upload:J,reset:j,removeUploadedFiles:z,removeQueuedFiles:Y,removeFile:W,pickFiles:A,addFiles:B}),(0,Z.K)(te,{canAddFiles:()=>N.value,canUpload:()=>I.value,uploadSizeLabel:()=>R.value,uploadProgressLabel:()=>D.value}),l({...y,upload:J,reset:j,removeUploadedFiles:z,removeQueuedFiles:Y,removeFile:W,pickFiles:A,addFiles:B,canAddFiles:N,canUpload:I,uploadSizeLabel:R,uploadProgressLabel:D}),()=>{const e=[(0,r.h)("div",{class:U.value},Ce()),(0,r.h)("div",{class:"q-uploader__list scroll"},re()),P("uploader")];!0===y.isBusy.value&&e.push((0,r.h)("div",{class:"q-uploader__overlay absolute-full flex flex-center"},[(0,r.h)(d.Z)]));const l={ref:x,class:$.value};return!0===N.value&&Object.assign(l,{onDragover:O,onDragleave:F}),(0,r.h)("div",l,e)}}var b=C(65987);const x=()=>!0;function k(e){const l={};return e.forEach((e=>{l[e]=x})),l}var y=C(4680);const A=k(H),B=({name:e,props:l,emits:C,injectPlugin:r})=>(0,b.L)({name:e,props:{...m,...l},emits:!0===(0,y.Kn)(C)?{...A,...C}:[...H,...C],setup(e,{expose:l}){return V(r,l)}});function O(e){return"function"===typeof e?e:()=>e}const F={url:[Function,String],method:{type:[Function,String],default:"POST"},fieldName:{type:[Function,String],default:()=>e=>e.name},headers:[Function,Array],formFields:[Function,Array],withCredentials:[Function,Boolean],sendRaw:[Function,Boolean],batch:[Function,Boolean],factory:Function},S=["factoryFailed","uploaded","failed","uploading"];function P({props:e,emit:l,helpers:C}){const o=(0,t.iH)([]),i=(0,t.iH)([]),d=(0,t.iH)(0),n=(0,r.Fl)((()=>({url:O(e.url),method:O(e.method),headers:O(e.headers),formFields:O(e.formFields),fieldName:O(e.fieldName),withCredentials:O(e.withCredentials),sendRaw:O(e.sendRaw),batch:O(e.batch)}))),c=(0,r.Fl)((()=>d.value>0)),u=(0,r.Fl)((()=>0!==i.value.length));let a;function p(){o.value.forEach((e=>{e.abort()})),0!==i.value.length&&(a=!0)}function f(){const e=C.queuedFiles.value.slice(0);C.queuedFiles.value=[],n.value.batch(e)?s(e):e.forEach((e=>{s([e])}))}function s(r){if(d.value++,"function"!==typeof e.factory)return void v(r,{});const t=e.factory(r);if(t)if("function"===typeof t.catch&&"function"===typeof t.then){i.value.push(t);const e=e=>{!0===C.isAlive()&&(i.value=i.value.filter((e=>e!==t)),0===i.value.length&&(a=!1),C.queuedFiles.value=C.queuedFiles.value.concat(r),r.forEach((e=>{C.updateFileStatus(e,"failed")})),l("factoryFailed",e,r),d.value--)};t.then((l=>{!0===a?e(new Error("Aborted")):!0===C.isAlive()&&(i.value=i.value.filter((e=>e!==t)),v(r,l))})).catch(e)}else v(r,t||{});else l("factoryFailed",new Error("QUploader: factory() does not return properly"),r),d.value--}function v(e,r){const t=new FormData,i=new XMLHttpRequest,c=(e,l)=>void 0!==r[e]?O(r[e])(l):n.value[e](l),u=c("url",e);if(!u)return console.error("q-uploader: invalid or no URL specified"),void d.value--;const a=c("formFields",e);void 0!==a&&a.forEach((e=>{t.append(e.name,e.value)}));let p,f=0,s=0,v=0,h=0;i.upload.addEventListener("progress",(l=>{if(!0===p)return;const r=Math.min(h,l.loaded);C.uploadedSize.value+=r-v,v=r;let t=v-s;for(let o=f;t>0&&ol.size;if(!r)return void C.updateFileStatus(l,"uploading",t);t-=l.size,f++,s+=l.size,C.updateFileStatus(l,"uploading",l.size)}}),!1),i.onreadystatechange=()=>{i.readyState<4||(i.status&&i.status<400?(C.uploadedFiles.value=C.uploadedFiles.value.concat(e),e.forEach((e=>{C.updateFileStatus(e,"uploaded")})),l("uploaded",{files:e,xhr:i})):(p=!0,C.uploadedSize.value-=v,C.queuedFiles.value=C.queuedFiles.value.concat(e),e.forEach((e=>{C.updateFileStatus(e,"failed")})),l("failed",{files:e,xhr:i})),d.value--,o.value=o.value.filter((e=>e!==i)))},i.open(c("method",e),u),!0===c("withCredentials",e)&&(i.withCredentials=!0);const L=c("headers",e);void 0!==L&&L.forEach((e=>{i.setRequestHeader(e.name,e.value)}));const g=c("sendRaw",e);e.forEach((e=>{C.updateFileStatus(e,"uploading",0),!0!==g&&t.append(c("fieldName",e),e,e.name),e.xhr=i,e.__abort=()=>{i.abort()},h+=e.size})),l("uploading",{files:e,xhr:i}),o.value.push(i),!0===g?i.send(new Blob(e)):i.send(t)}return{isUploading:c,isBusy:u,abort:p,upload:f}}const _={name:"QUploader",props:F,emits:S,injectPlugin:P},T=B(_)},92043:(e,l,C)=>{"use strict";C.d(l,{If:()=>L,t9:()=>g,vp:()=>Z});C(69665);var r=C(59835),t=C(60499),o=C(60899),i=C(91384),d=C(78383);const n=1e3,c=["start","center","end","start-force","center-force","end-force"],u=Array.prototype.filter,a=void 0===window.getComputedStyle(document.body).overflowAnchor?i.ZT:function(e,l){null!==e&&(void 0!==e._qOverflowAnimationFrame&&cancelAnimationFrame(e._qOverflowAnimationFrame),e._qOverflowAnimationFrame=requestAnimationFrame((()=>{if(null===e)return;e._qOverflowAnimationFrame=void 0;const C=e.children||[];u.call(C,(e=>e.dataset&&void 0!==e.dataset.qVsAnchor)).forEach((e=>{delete e.dataset.qVsAnchor}));const r=C[l];r&&r.dataset&&(r.dataset.qVsAnchor="")})))};function p(e,l){return e+l}function f(e,l,C,r,t,o,i,n){const c=e===window?document.scrollingElement||document.documentElement:e,u=!0===t?"offsetWidth":"offsetHeight",a={scrollStart:0,scrollViewSize:-i-n,scrollMaxSize:0,offsetStart:-i,offsetEnd:-n};if(!0===t?(e===window?(a.scrollStart=window.pageXOffset||window.scrollX||document.body.scrollLeft||0,a.scrollViewSize+=document.documentElement.clientWidth):(a.scrollStart=c.scrollLeft,a.scrollViewSize+=c.clientWidth),a.scrollMaxSize=c.scrollWidth,!0===o&&(a.scrollStart=(!0===d.e?a.scrollMaxSize-a.scrollViewSize:0)-a.scrollStart)):(e===window?(a.scrollStart=window.pageYOffset||window.scrollY||document.body.scrollTop||0,a.scrollViewSize+=document.documentElement.clientHeight):(a.scrollStart=c.scrollTop,a.scrollViewSize+=c.clientHeight),a.scrollMaxSize=c.scrollHeight),null!==C)for(let d=C.previousElementSibling;null!==d;d=d.previousElementSibling)!1===d.classList.contains("q-virtual-scroll--skip")&&(a.offsetStart+=d[u]);if(null!==r)for(let d=r.nextElementSibling;null!==d;d=d.nextElementSibling)!1===d.classList.contains("q-virtual-scroll--skip")&&(a.offsetEnd+=d[u]);if(l!==e){const C=c.getBoundingClientRect(),r=l.getBoundingClientRect();!0===t?(a.offsetStart+=r.left-C.left,a.offsetEnd-=r.width):(a.offsetStart+=r.top-C.top,a.offsetEnd-=r.height),e!==window&&(a.offsetStart+=a.scrollStart),a.offsetEnd+=a.scrollMaxSize-a.offsetStart}return a}function s(e,l,C,r){"end"===l&&(l=(e===window?document.body:e)[!0===C?"scrollWidth":"scrollHeight"]),e===window?!0===C?(!0===r&&(l=(!0===d.e?document.body.scrollWidth-document.documentElement.clientWidth:0)-l),window.scrollTo(l,window.pageYOffset||window.scrollY||document.body.scrollTop||0)):window.scrollTo(window.pageXOffset||window.scrollX||document.body.scrollLeft||0,l):!0===C?(!0===r&&(l=(!0===d.e?e.scrollWidth-e.offsetWidth:0)-l),e.scrollLeft=l):e.scrollTop=l}function v(e,l,C,r){if(C>=r)return 0;const t=l.length,o=Math.floor(C/n),i=Math.floor((r-1)/n)+1;let d=e.slice(o,i).reduce(p,0);return C%n!==0&&(d-=l.slice(o*n,C).reduce(p,0)),r%n!==0&&r!==t&&(d-=l.slice(r,i*n).reduce(p,0)),d}const h={virtualScrollSliceSize:{type:[Number,String],default:null},virtualScrollSliceRatioBefore:{type:[Number,String],default:1},virtualScrollSliceRatioAfter:{type:[Number,String],default:1},virtualScrollItemSize:{type:[Number,String],default:24},virtualScrollStickySizeStart:{type:[Number,String],default:0},virtualScrollStickySizeEnd:{type:[Number,String],default:0},tableColspan:[Number,String]},L=Object.keys(h),g={virtualScrollHorizontal:Boolean,onVirtualScroll:Function,...h};function Z({virtualScrollLength:e,getVirtualScrollTarget:l,getVirtualScrollEl:C,virtualScrollItemSizeComputed:i}){const d=(0,r.FN)(),{props:h,emit:L,proxy:g}=d,{$q:Z}=g;let w,M,m,H,V=[];const b=(0,t.iH)(0),x=(0,t.iH)(0),k=(0,t.iH)({}),y=(0,t.iH)(null),A=(0,t.iH)(null),B=(0,t.iH)(null),O=(0,t.iH)({from:0,to:0}),F=(0,r.Fl)((()=>void 0!==h.tableColspan?h.tableColspan:100));void 0===i&&(i=(0,r.Fl)((()=>h.virtualScrollItemSize)));const S=(0,r.Fl)((()=>i.value+";"+h.virtualScrollHorizontal)),P=(0,r.Fl)((()=>S.value+";"+h.virtualScrollSliceRatioBefore+";"+h.virtualScrollSliceRatioAfter));function _(){I(M,!0)}function T(e){I(void 0===e?M:e)}function E(r,t){const o=l();if(void 0===o||null===o||8===o.nodeType)return;const i=f(o,C(),y.value,A.value,h.virtualScrollHorizontal,Z.lang.rtl,h.virtualScrollStickySizeStart,h.virtualScrollStickySizeEnd);m!==i.scrollViewSize&&$(i.scrollViewSize),D(o,i,Math.min(e.value-1,Math.max(0,parseInt(r,10)||0)),0,c.indexOf(t)>-1?t:M>-1&&r>M?"end":"start")}function q(){const r=l();if(void 0===r||null===r||8===r.nodeType)return;const t=f(r,C(),y.value,A.value,h.virtualScrollHorizontal,Z.lang.rtl,h.virtualScrollStickySizeStart,h.virtualScrollStickySizeEnd),o=e.value-1,i=t.scrollMaxSize-t.offsetStart-t.offsetEnd-x.value;if(w===t.scrollStart)return;if(t.scrollMaxSize<=0)return void D(r,t,0,0);m!==t.scrollViewSize&&$(t.scrollViewSize),R(O.value.from);const d=Math.floor(t.scrollMaxSize-Math.max(t.scrollViewSize,t.offsetEnd)-Math.min(H[o],t.scrollViewSize/2));if(d>0&&Math.ceil(t.scrollStart)>=d)return void D(r,t,o,t.scrollMaxSize-t.offsetEnd-V.reduce(p,0));let c=0,u=t.scrollStart-t.offsetStart,a=u;if(u<=i&&u+t.scrollViewSize>=b.value)u-=b.value,c=O.value.from,a=u;else for(let e=0;u>=V[e]&&c0&&c-t.scrollViewSize?(c++,a=u):a=H[c]+u;D(r,t,c,a)}function D(l,C,r,t,o){const i="string"===typeof o&&o.indexOf("-force")>-1,d=!0===i?o.replace("-force",""):o,n=void 0!==d?d:"start";let c=Math.max(0,r-k.value[n]),u=c+k.value.total;u>e.value&&(u=e.value,c=Math.max(0,u-k.value.total)),w=C.scrollStart;const f=c!==O.value.from||u!==O.value.to;if(!1===f&&void 0===d)return void j(r);const{activeElement:L}=document,g=B.value;!0===f&&null!==g&&g!==L&&!0===g.contains(L)&&(g.addEventListener("focusout",N),setTimeout((()=>{null!==g&&g.removeEventListener("focusout",N)}))),a(g,r-c);const M=void 0!==d?H.slice(c,r).reduce(p,0):0;if(!0===f){const l=u>=O.value.from&&c<=O.value.to?O.value.to:u;O.value={from:c,to:l},b.value=v(V,H,0,c),x.value=v(V,H,u,e.value),requestAnimationFrame((()=>{O.value.to!==u&&w===C.scrollStart&&(O.value={from:O.value.from,to:u},x.value=v(V,H,u,e.value))}))}requestAnimationFrame((()=>{if(w!==C.scrollStart)return;!0===f&&R(c);const e=H.slice(c,r).reduce(p,0),o=e+C.offsetStart+b.value,n=o+H[r];let u=o+t;if(void 0!==d){const l=e-M,t=C.scrollStart+l;u=!0!==i&&te.classList&&!1===e.classList.contains("q-virtual-scroll--skip"))),r=C.length,t=!0===h.virtualScrollHorizontal?e=>e.getBoundingClientRect().width:e=>e.offsetHeight;let o,i,d=e;for(let e=0;e=o;r--)H[r]=t;const d=Math.floor((e.value-1)/n);V=[];for(let r=0;r<=d;r++){let l=0;const C=Math.min((r+1)*n,e.value);for(let e=r*n;e=0?(R(O.value.from),(0,r.Y3)((()=>{E(l)}))):z()}function $(e){if(void 0===e&&"undefined"!==typeof window){const r=l();void 0!==r&&null!==r&&8!==r.nodeType&&(e=f(r,C(),y.value,A.value,h.virtualScrollHorizontal,Z.lang.rtl,h.virtualScrollStickySizeStart,h.virtualScrollStickySizeEnd).scrollViewSize)}m=e;const r=parseFloat(h.virtualScrollSliceRatioBefore)||0,t=parseFloat(h.virtualScrollSliceRatioAfter)||0,o=1+r+t,d=void 0===e||e<=0?1:Math.ceil(e/i.value),n=Math.max(1,d,Math.ceil((h.virtualScrollSliceSize>0?h.virtualScrollSliceSize:10)/o));k.value={total:Math.ceil(n*o),start:Math.ceil(n*r),center:Math.ceil(n*(.5+r)),end:Math.ceil(n*(1+r)),view:d}}function U(e,l){const C=!0===h.virtualScrollHorizontal?"width":"height",t={["--q-virtual-scroll-item-"+C]:i.value+"px"};return["tbody"===e?(0,r.h)(e,{class:"q-virtual-scroll__padding",key:"before",ref:y},[(0,r.h)("tr",[(0,r.h)("td",{style:{[C]:`${b.value}px`,...t},colspan:F.value})])]):(0,r.h)(e,{class:"q-virtual-scroll__padding",key:"before",ref:y,style:{[C]:`${b.value}px`,...t}}),(0,r.h)(e,{class:"q-virtual-scroll__content",key:"content",ref:B,tabindex:-1},l.flat()),"tbody"===e?(0,r.h)(e,{class:"q-virtual-scroll__padding",key:"after",ref:A},[(0,r.h)("tr",[(0,r.h)("td",{style:{[C]:`${x.value}px`,...t},colspan:F.value})])]):(0,r.h)(e,{class:"q-virtual-scroll__padding",key:"after",ref:A,style:{[C]:`${x.value}px`,...t}})]}function j(e){M!==e&&(void 0!==h.onVirtualScroll&&L("virtualScroll",{index:e,from:O.value.from,to:O.value.to-1,direction:e{$()})),(0,r.YP)(S,_),$();const z=(0,o.Z)(q,!0===Z.platform.is.ios?120:35);(0,r.wF)((()=>{$()}));let Y=!1;return(0,r.se)((()=>{Y=!0})),(0,r.dl)((()=>{if(!0!==Y)return;const e=l();void 0!==w&&void 0!==e&&null!==e&&8!==e.nodeType?s(e,w,h.virtualScrollHorizontal,Z.lang.rtl):E(M)})),(0,r.Jd)((()=>{z.cancel()})),Object.assign(g,{scrollTo:E,reset:_,refresh:T}),{virtualScrollSliceRange:O,virtualScrollSliceSizeComputed:k,setVirtualScrollSize:$,onVirtualScrollEvt:z,localResetVirtualScroll:I,padVirtualScroll:U,scrollTo:E,reset:_,refresh:T}}},65065:(e,l,C)=>{"use strict";C.d(l,{ZP:()=>d,jO:()=>i});var r=C(59835);const t={left:"start",center:"center",right:"end",between:"between",around:"around",evenly:"evenly",stretch:"stretch"},o=Object.keys(t),i={align:{type:String,validator:e=>o.includes(e)}};function d(e){return(0,r.Fl)((()=>{const l=void 0===e.align?!0===e.vertical?"stretch":"left":e.align;return`${!0===e.vertical?"items":"justify"}-${t[l]}`}))}},74397:(e,l,C)=>{"use strict";C.d(l,{Z:()=>c,u:()=>n});var r=C(59835),t=C(60499),o=C(2589),i=C(91384),d=C(61705);const n={target:{default:!0},noParentEvent:Boolean,contextMenu:Boolean};function c({showing:e,avoidEmit:l,configureAnchorEl:C}){const{props:n,proxy:c,emit:u}=(0,r.FN)(),a=(0,t.iH)(null);let p=null;function f(e){return null!==a.value&&(void 0===e||void 0===e.touches||e.touches.length<=1)}const s={};function v(){(0,i.ul)(s,"anchor")}function h(e){a.value=e;while(a.value.classList.contains("q-anchor--skip"))a.value=a.value.parentNode;C()}function L(){if(!1===n.target||""===n.target||null===c.$el.parentNode)a.value=null;else if(!0===n.target)h(c.$el.parentNode);else{let l=n.target;if("string"===typeof n.target)try{l=document.querySelector(n.target)}catch(e){l=void 0}void 0!==l&&null!==l?(a.value=l.$el||l,C()):(a.value=null,console.error(`Anchor: target "${n.target}" not found`))}}return void 0===C&&(Object.assign(s,{hide(e){c.hide(e)},toggle(e){c.toggle(e),e.qAnchorHandled=!0},toggleKey(e){!0===(0,d.So)(e,13)&&s.toggle(e)},contextClick(e){c.hide(e),(0,i.X$)(e),(0,r.Y3)((()=>{c.show(e),e.qAnchorHandled=!0}))},prevent:i.X$,mobileTouch(e){if(s.mobileCleanup(e),!0!==f(e))return;c.hide(e),a.value.classList.add("non-selectable");const l=e.target;(0,i.M0)(s,"anchor",[[l,"touchmove","mobileCleanup","passive"],[l,"touchend","mobileCleanup","passive"],[l,"touchcancel","mobileCleanup","passive"],[a.value,"contextmenu","prevent","notPassive"]]),p=setTimeout((()=>{p=null,c.show(e),e.qAnchorHandled=!0}),300)},mobileCleanup(l){a.value.classList.remove("non-selectable"),null!==p&&(clearTimeout(p),p=null),!0===e.value&&void 0!==l&&(0,o.M)()}}),C=function(e=n.contextMenu){if(!0===n.noParentEvent||null===a.value)return;let l;l=!0===e?!0===c.$q.platform.is.mobile?[[a.value,"touchstart","mobileTouch","passive"]]:[[a.value,"mousedown","hide","passive"],[a.value,"contextmenu","contextClick","notPassive"]]:[[a.value,"click","toggle","passive"],[a.value,"keyup","toggleKey","passive"]],(0,i.M0)(s,"anchor",l)}),(0,r.YP)((()=>n.contextMenu),(e=>{null!==a.value&&(v(),C(e))})),(0,r.YP)((()=>n.target),(()=>{null!==a.value&&v(),L()})),(0,r.YP)((()=>n.noParentEvent),(e=>{null!==a.value&&(!0===e?v():C())})),(0,r.bv)((()=>{L(),!0!==l&&!0===n.modelValue&&null===a.value&&u("update:modelValue",!1)})),(0,r.Jd)((()=>{null!==p&&clearTimeout(p),v()})),{anchorEl:a,canShow:f,anchorEvents:s}}},68234:(e,l,C)=>{"use strict";C.d(l,{S:()=>t,Z:()=>o});var r=C(59835);const t={dark:{type:Boolean,default:null}};function o(e,l){return(0,r.Fl)((()=>null===e.dark?l.dark.isActive:e.dark))}},76404:(e,l,C)=>{"use strict";C.d(l,{ZP:()=>S,yV:()=>A,HJ:()=>O,Cl:()=>B,tL:()=>F});C(69665);var r=C(59835),t=C(60499),o=C(61957),i=C(47506),d=C(22857),n=C(13902),c=C(68234),u=C(95439);function a({validate:e,resetValidation:l,requiresQForm:C}){const t=(0,r.f3)(u.vh,!1);if(!1!==t){const{props:C,proxy:o}=(0,r.FN)();Object.assign(o,{validate:e,resetValidation:l}),(0,r.YP)((()=>C.disable),(e=>{!0===e?("function"===typeof l&&l(),t.unbindComponent(o)):t.bindComponent(o)})),(0,r.bv)((()=>{!0!==C.disable&&t.bindComponent(o)})),(0,r.Jd)((()=>{!0!==C.disable&&t.unbindComponent(o)}))}else!0===C&&console.error("Parent QForm not found on useFormChild()!")}const p=/^#[0-9a-fA-F]{3}([0-9a-fA-F]{3})?$/,f=/^#[0-9a-fA-F]{4}([0-9a-fA-F]{4})?$/,s=/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/,v=/^rgb\(((0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5]),){2}(0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5])\)$/,h=/^rgba\(((0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5]),){2}(0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5]),(0|0\.[0-9]+[1-9]|0\.[1-9]+|1)\)$/,L={date:e=>/^-?[\d]+\/[0-1]\d\/[0-3]\d$/.test(e),time:e=>/^([0-1]?\d|2[0-3]):[0-5]\d$/.test(e),fulltime:e=>/^([0-1]?\d|2[0-3]):[0-5]\d:[0-5]\d$/.test(e),timeOrFulltime:e=>/^([0-1]?\d|2[0-3]):[0-5]\d(:[0-5]\d)?$/.test(e),email:e=>/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(e),hexColor:e=>p.test(e),hexaColor:e=>f.test(e),hexOrHexaColor:e=>s.test(e),rgbColor:e=>v.test(e),rgbaColor:e=>h.test(e),rgbOrRgbaColor:e=>v.test(e)||h.test(e),hexOrRgbColor:e=>p.test(e)||v.test(e),hexaOrRgbaColor:e=>f.test(e)||h.test(e),anyColor:e=>s.test(e)||v.test(e)||h.test(e)};var g=C(60899),Z=C(43251);const w=[!0,!1,"ondemand"],M={modelValue:{},error:{type:Boolean,default:null},errorMessage:String,noErrorIcon:Boolean,rules:Array,reactiveRules:Boolean,lazyRules:{type:[Boolean,String],validator:e=>w.includes(e)}};function m(e,l){const{props:C,proxy:o}=(0,r.FN)(),i=(0,t.iH)(!1),d=(0,t.iH)(null),n=(0,t.iH)(null);a({validate:w,resetValidation:h});let c,u=0;const p=(0,r.Fl)((()=>void 0!==C.rules&&null!==C.rules&&0!==C.rules.length)),f=(0,r.Fl)((()=>!0!==C.disable&&!0===p.value)),s=(0,r.Fl)((()=>!0===C.error||!0===i.value)),v=(0,r.Fl)((()=>"string"===typeof C.errorMessage&&0!==C.errorMessage.length?C.errorMessage:d.value));function h(){u++,l.value=!1,n.value=null,i.value=!1,d.value=null,m.cancel()}function w(e=C.modelValue){if(!0!==f.value)return!0;const r=++u,t=!0!==l.value?()=>{n.value=!0}:()=>{},o=(e,C)=>{!0===e&&t(),i.value=e,d.value=C||null,l.value=!1},c=[];for(let l=0;l{if(void 0===e||!1===Array.isArray(e)||0===e.length)return r===u&&o(!1),!0;const l=e.find((e=>!1===e||"string"===typeof e));return r===u&&o(void 0!==l,l),void 0===l}),(e=>(r===u&&(console.error(e),o(!0)),!1))))}function M(e){!0===f.value&&"ondemand"!==C.lazyRules&&(!0===n.value||!0!==C.lazyRules&&!0!==e)&&m()}(0,r.YP)((()=>C.modelValue),(()=>{M()})),(0,r.YP)((()=>C.reactiveRules),(e=>{!0===e?void 0===c&&(c=(0,r.YP)((()=>C.rules),(()=>{M(!0)}))):void 0!==c&&(c(),c=void 0)}),{immediate:!0}),(0,r.YP)(e,(e=>{!0===e?null===n.value&&(n.value=!1):!1===n.value&&(n.value=!0,!0===f.value&&"ondemand"!==C.lazyRules&&!1===l.value&&m())}));const m=(0,g.Z)(w,0);return(0,r.Jd)((()=>{void 0!==c&&c(),m.cancel()})),Object.assign(o,{resetValidation:h,validate:w}),(0,Z.g)(o,"hasError",(()=>s.value)),{isDirtyModel:n,hasRules:p,hasError:s,errorMessage:v,validate:w,resetValidation:h}}var H=C(45607),V=C(22026),b=C(50796),x=C(91384),k=C(17026);function y(e){return void 0===e?`f_${(0,b.Z)()}`:e}function A(e){return void 0!==e&&null!==e&&0!==(""+e).length}const B={...c.S,...M,label:String,stackLabel:Boolean,hint:String,hideHint:Boolean,prefix:String,suffix:String,labelColor:String,color:String,bgColor:String,filled:Boolean,outlined:Boolean,borderless:Boolean,standout:[Boolean,String],square:Boolean,loading:Boolean,labelSlot:Boolean,bottomSlots:Boolean,hideBottomSpace:Boolean,rounded:Boolean,dense:Boolean,itemAligned:Boolean,counter:Boolean,clearable:Boolean,clearIcon:String,disable:Boolean,readonly:Boolean,autofocus:Boolean,for:String,maxlength:[Number,String]},O=["update:modelValue","clear","focus","blur","popupShow","popupHide"];function F(){const{props:e,attrs:l,proxy:C,vnode:o}=(0,r.FN)(),i=(0,c.Z)(e,C.$q);return{isDark:i,editable:(0,r.Fl)((()=>!0!==e.disable&&!0!==e.readonly)),innerLoading:(0,t.iH)(!1),focused:(0,t.iH)(!1),hasPopupOpen:!1,splitAttrs:(0,H.Z)(l,o),targetUid:(0,t.iH)(y(e.for)),rootRef:(0,t.iH)(null),targetRef:(0,t.iH)(null),controlRef:(0,t.iH)(null)}}function S(e){const{props:l,emit:C,slots:t,attrs:c,proxy:u}=(0,r.FN)(),{$q:a}=u;let p=null;void 0===e.hasValue&&(e.hasValue=(0,r.Fl)((()=>A(l.modelValue)))),void 0===e.emitValue&&(e.emitValue=e=>{C("update:modelValue",e)}),void 0===e.controlEvents&&(e.controlEvents={onFocusin:T,onFocusout:E}),Object.assign(e,{clearValue:q,onControlFocusin:T,onControlFocusout:E,focus:P}),void 0===e.computedCounter&&(e.computedCounter=(0,r.Fl)((()=>{if(!1!==l.counter){const e="string"===typeof l.modelValue||"number"===typeof l.modelValue?(""+l.modelValue).length:!0===Array.isArray(l.modelValue)?l.modelValue.length:0,C=void 0!==l.maxlength?l.maxlength:l.maxValues;return e+(void 0!==C?" / "+C:"")}})));const{isDirtyModel:f,hasRules:s,hasError:v,errorMessage:h,resetValidation:L}=m(e.focused,e.innerLoading),g=void 0!==e.floatingLabel?(0,r.Fl)((()=>!0===l.stackLabel||!0===e.focused.value||!0===e.floatingLabel.value)):(0,r.Fl)((()=>!0===l.stackLabel||!0===e.focused.value||!0===e.hasValue.value)),Z=(0,r.Fl)((()=>!0===l.bottomSlots||void 0!==l.hint||!0===s.value||!0===l.counter||null!==l.error)),w=(0,r.Fl)((()=>!0===l.filled?"filled":!0===l.outlined?"outlined":!0===l.borderless?"borderless":l.standout?"standout":"standard")),M=(0,r.Fl)((()=>`q-field row no-wrap items-start q-field--${w.value}`+(void 0!==e.fieldClass?` ${e.fieldClass.value}`:"")+(!0===l.rounded?" q-field--rounded":"")+(!0===l.square?" q-field--square":"")+(!0===g.value?" q-field--float":"")+(!0===b.value?" q-field--labeled":"")+(!0===l.dense?" q-field--dense":"")+(!0===l.itemAligned?" q-field--item-aligned q-item-type":"")+(!0===e.isDark.value?" q-field--dark":"")+(void 0===e.getControl?" q-field--auto-height":"")+(!0===e.focused.value?" q-field--focused":"")+(!0===v.value?" q-field--error":"")+(!0===v.value||!0===e.focused.value?" q-field--highlighted":"")+(!0!==l.hideBottomSpace&&!0===Z.value?" q-field--with-bottom":"")+(!0===l.disable?" q-field--disabled":!0===l.readonly?" q-field--readonly":""))),H=(0,r.Fl)((()=>"q-field__control relative-position row no-wrap"+(void 0!==l.bgColor?` bg-${l.bgColor}`:"")+(!0===v.value?" text-negative":"string"===typeof l.standout&&0!==l.standout.length&&!0===e.focused.value?` ${l.standout}`:void 0!==l.color?` text-${l.color}`:""))),b=(0,r.Fl)((()=>!0===l.labelSlot||void 0!==l.label)),B=(0,r.Fl)((()=>"q-field__label no-pointer-events absolute ellipsis"+(void 0!==l.labelColor&&!0!==v.value?` text-${l.labelColor}`:""))),O=(0,r.Fl)((()=>({id:e.targetUid.value,editable:e.editable.value,focused:e.focused.value,floatingLabel:g.value,modelValue:l.modelValue,emitValue:e.emitValue}))),F=(0,r.Fl)((()=>{const C={for:e.targetUid.value};return!0===l.disable?C["aria-disabled"]="true":!0===l.readonly&&(C["aria-readonly"]="true"),C}));function S(){const l=document.activeElement;let C=void 0!==e.targetRef&&e.targetRef.value;!C||null!==l&&l.id===e.targetUid.value||(!0===C.hasAttribute("tabindex")||(C=C.querySelector("[tabindex]")),C&&C!==l&&C.focus({preventScroll:!0}))}function P(){(0,k.jd)(S)}function _(){(0,k.fP)(S);const l=document.activeElement;null!==l&&e.rootRef.value.contains(l)&&l.blur()}function T(l){null!==p&&(clearTimeout(p),p=null),!0===e.editable.value&&!1===e.focused.value&&(e.focused.value=!0,C("focus",l))}function E(l,r){null!==p&&clearTimeout(p),p=setTimeout((()=>{p=null,(!0!==document.hasFocus()||!0!==e.hasPopupOpen&&void 0!==e.controlRef&&null!==e.controlRef.value&&!1===e.controlRef.value.contains(document.activeElement))&&(!0===e.focused.value&&(e.focused.value=!1,C("blur",l)),void 0!==r&&r())}))}function q(t){if((0,x.NS)(t),!0!==a.platform.is.mobile){const l=void 0!==e.targetRef&&e.targetRef.value||e.rootRef.value;l.focus()}else!0===e.rootRef.value.contains(document.activeElement)&&document.activeElement.blur();"file"===l.type&&(e.inputRef.value.value=null),C("update:modelValue",null),C("clear",l.modelValue),(0,r.Y3)((()=>{L(),!0!==a.platform.is.mobile&&(f.value=!1)}))}function D(){const C=[];return void 0!==t.prepend&&C.push((0,r.h)("div",{class:"q-field__prepend q-field__marginal row no-wrap items-center",key:"prepend",onClick:x.X$},t.prepend())),C.push((0,r.h)("div",{class:"q-field__control-container col relative-position row no-wrap q-anchor--skip"},R())),!0===v.value&&!1===l.noErrorIcon&&C.push(I("error",[(0,r.h)(d.Z,{name:a.iconSet.field.error,color:"negative"})])),!0===l.loading||!0===e.innerLoading.value?C.push(I("inner-loading-append",void 0!==t.loading?t.loading():[(0,r.h)(n.Z,{color:l.color})])):!0===l.clearable&&!0===e.hasValue.value&&!0===e.editable.value&&C.push(I("inner-clearable-append",[(0,r.h)(d.Z,{class:"q-field__focusable-action",tag:"button",name:l.clearIcon||a.iconSet.field.clear,tabindex:0,type:"button","aria-hidden":null,role:null,onClick:q})])),void 0!==t.append&&C.push((0,r.h)("div",{class:"q-field__append q-field__marginal row no-wrap items-center",key:"append",onClick:x.X$},t.append())),void 0!==e.getInnerAppend&&C.push(I("inner-append",e.getInnerAppend())),void 0!==e.getControlChild&&C.push(e.getControlChild()),C}function R(){const C=[];return void 0!==l.prefix&&null!==l.prefix&&C.push((0,r.h)("div",{class:"q-field__prefix no-pointer-events row items-center"},l.prefix)),void 0!==e.getShadowControl&&!0===e.hasShadow.value&&C.push(e.getShadowControl()),void 0!==e.getControl?C.push(e.getControl()):void 0!==t.rawControl?C.push(t.rawControl()):void 0!==t.control&&C.push((0,r.h)("div",{ref:e.targetRef,class:"q-field__native row",tabindex:-1,...e.splitAttrs.attributes.value,"data-autofocus":!0===l.autofocus||void 0},t.control(O.value))),!0===b.value&&C.push((0,r.h)("div",{class:B.value},(0,V.KR)(t.label,l.label))),void 0!==l.suffix&&null!==l.suffix&&C.push((0,r.h)("div",{class:"q-field__suffix no-pointer-events row items-center"},l.suffix)),C.concat((0,V.KR)(t.default))}function N(){let C,i;!0===v.value?null!==h.value?(C=[(0,r.h)("div",{role:"alert"},h.value)],i=`q--slot-error-${h.value}`):(C=(0,V.KR)(t.error),i="q--slot-error"):!0===l.hideHint&&!0!==e.focused.value||(void 0!==l.hint?(C=[(0,r.h)("div",l.hint)],i=`q--slot-hint-${l.hint}`):(C=(0,V.KR)(t.hint),i="q--slot-hint"));const d=!0===l.counter||void 0!==t.counter;if(!0===l.hideBottomSpace&&!1===d&&void 0===C)return;const n=(0,r.h)("div",{key:i,class:"q-field__messages col"},C);return(0,r.h)("div",{class:"q-field__bottom row items-start q-field__bottom--"+(!0!==l.hideBottomSpace?"animated":"stale"),onClick:x.X$},[!0===l.hideBottomSpace?n:(0,r.h)(o.uT,{name:"q-transition--field-message"},(()=>n)),!0===d?(0,r.h)("div",{class:"q-field__counter"},void 0!==t.counter?t.counter():e.computedCounter.value):null])}function I(e,l){return null===l?null:(0,r.h)("div",{key:e,class:"q-field__append q-field__marginal row no-wrap items-center q-anchor--skip"},l)}(0,r.YP)((()=>l.for),(l=>{e.targetUid.value=y(l)}));let $=!1;return(0,r.se)((()=>{$=!0})),(0,r.dl)((()=>{!0===$&&!0===l.autofocus&&u.focus()})),(0,r.bv)((()=>{!0===i.uX.value&&void 0===l.for&&(e.targetUid.value=y()),!0===l.autofocus&&u.focus()})),(0,r.Jd)((()=>{null!==p&&clearTimeout(p)})),Object.assign(u,{focus:P,blur:_}),function(){const C=void 0===e.getControl&&void 0===t.control?{...e.splitAttrs.attributes.value,"data-autofocus":!0===l.autofocus||void 0,...F.value}:F.value;return(0,r.h)("label",{ref:e.rootRef,class:[M.value,c.class],style:c.style,...C},[void 0!==t.before?(0,r.h)("div",{class:"q-field__before q-field__marginal row no-wrap items-center",onClick:x.X$},t.before()):null,(0,r.h)("div",{class:"q-field__inner relative-position col self-stretch"},[(0,r.h)("div",{ref:e.controlRef,class:H.value,tabindex:-1,...e.controlEvents},D()),!0===Z.value?N():null]),void 0!==t.after?(0,r.h)("div",{class:"q-field__after q-field__marginal row no-wrap items-center",onClick:x.X$},t.after()):null])}}},99256:(e,l,C)=>{"use strict";C.d(l,{Do:()=>d,Fz:()=>t,Vt:()=>o,eX:()=>i});var r=C(59835);const t={name:String};function o(e){return(0,r.Fl)((()=>({type:"hidden",name:e.name,value:e.modelValue})))}function i(e={}){return(l,C,t)=>{l[C]((0,r.h)("input",{class:"hidden"+(t||""),...e.value}))}}function d(e){return(0,r.Fl)((()=>e.name||e.for))}},93929:(e,l,C)=>{"use strict";C.d(l,{ZP:()=>u,fL:()=>c,kM:()=>n});var r=C(59835),t=C(60499),o=C(25310),i=C(52046);let d=0;const n={fullscreen:Boolean,noRouteFullscreenExit:Boolean},c=["update:fullscreen","fullscreen"];function u(){const e=(0,r.FN)(),{props:l,emit:C,proxy:n}=e;let c,u,a;const p=(0,t.iH)(!1);function f(){!0===p.value?v():s()}function s(){!0!==p.value&&(p.value=!0,a=n.$el.parentNode,a.replaceChild(u,n.$el),document.body.appendChild(n.$el),d++,1===d&&document.body.classList.add("q-body--fullscreen-mixin"),c={handler:v},o.Z.add(c))}function v(){!0===p.value&&(void 0!==c&&(o.Z.remove(c),c=void 0),a.replaceChild(n.$el,u),p.value=!1,d=Math.max(0,d-1),0===d&&(document.body.classList.remove("q-body--fullscreen-mixin"),void 0!==n.$el.scrollIntoView&&setTimeout((()=>{n.$el.scrollIntoView()}))))}return!0===(0,i.Rb)(e)&&(0,r.YP)((()=>n.$route.fullPath),(()=>{!0!==l.noRouteFullscreenExit&&v()})),(0,r.YP)((()=>l.fullscreen),(e=>{p.value!==e&&f()})),(0,r.YP)(p,(e=>{C("update:fullscreen",e),C("fullscreen",e)})),(0,r.wF)((()=>{u=document.createElement("span")})),(0,r.bv)((()=>{!0===l.fullscreen&&s()})),(0,r.Jd)(v),Object.assign(n,{toggleFullscreen:f,setFullscreen:s,exitFullscreen:v}),{inFullscreen:p,toggleFullscreen:f}}},94953:(e,l,C)=>{"use strict";C.d(l,{Z:()=>o});var r=C(59835),t=C(25310);function o(e,l,C){let o;function i(){void 0!==o&&(t.Z.remove(o),o=void 0)}return(0,r.Jd)((()=>{!0===e.value&&i()})),{removeFromHistory:i,addToHistory(){o={condition:()=>!0===C.value,handler:l},t.Z.add(o)}}}},62802:(e,l,C)=>{"use strict";C.d(l,{Z:()=>n});var r=C(47506);const t=/[\u3000-\u303f\u3040-\u309f\u30a0-\u30ff\uff00-\uff9f\u4e00-\u9faf\u3400-\u4dbf]/,o=/[\u4e00-\u9fff\u3400-\u4dbf\u{20000}-\u{2a6df}\u{2a700}-\u{2b73f}\u{2b740}-\u{2b81f}\u{2b820}-\u{2ceaf}\uf900-\ufaff\u3300-\u33ff\ufe30-\ufe4f\uf900-\ufaff\u{2f800}-\u{2fa1f}]/u,i=/[\u3131-\u314e\u314f-\u3163\uac00-\ud7a3]/,d=/[a-z0-9_ -]$/i;function n(e){return function(l){if("compositionend"===l.type||"change"===l.type){if(!0!==l.target.qComposing)return;l.target.qComposing=!1,e(l)}else if("compositionupdate"===l.type&&!0!==l.target.qComposing&&"string"===typeof l.data){const e=!0===r.client.is.firefox?!1===d.test(l.data):!0===t.test(l.data)||!0===o.test(l.data)||!0===i.test(l.data);!0===e&&(l.target.qComposing=!0)}}}},63842:(e,l,C)=>{"use strict";C.d(l,{ZP:()=>d,gH:()=>i,vr:()=>o});var r=C(59835),t=C(52046);const o={modelValue:{type:Boolean,default:null},"onUpdate:modelValue":[Function,Array]},i=["beforeShow","show","beforeHide","hide"];function d({showing:e,canShow:l,hideOnRouteChange:C,handleShow:o,handleHide:i,processOnMount:d}){const n=(0,r.FN)(),{props:c,emit:u,proxy:a}=n;let p;function f(l){!0===e.value?h(l):s(l)}function s(e){if(!0===c.disable||void 0!==e&&!0===e.qAnchorHandled||void 0!==l&&!0!==l(e))return;const C=void 0!==c["onUpdate:modelValue"];!0===C&&(u("update:modelValue",!0),p=e,(0,r.Y3)((()=>{p===e&&(p=void 0)}))),null!==c.modelValue&&!1!==C||v(e)}function v(l){!0!==e.value&&(e.value=!0,u("beforeShow",l),void 0!==o?o(l):u("show",l))}function h(e){if(!0===c.disable)return;const l=void 0!==c["onUpdate:modelValue"];!0===l&&(u("update:modelValue",!1),p=e,(0,r.Y3)((()=>{p===e&&(p=void 0)}))),null!==c.modelValue&&!1!==l||L(e)}function L(l){!1!==e.value&&(e.value=!1,u("beforeHide",l),void 0!==i?i(l):u("hide",l))}function g(l){if(!0===c.disable&&!0===l)void 0!==c["onUpdate:modelValue"]&&u("update:modelValue",!1);else if(!0===l!==e.value){const e=!0===l?v:L;e(p)}}(0,r.YP)((()=>c.modelValue),g),void 0!==C&&!0===(0,t.Rb)(n)&&(0,r.YP)((()=>a.$route.fullPath),(()=>{!0===C.value&&!0===e.value&&h()})),!0===d&&(0,r.bv)((()=>{g(c.modelValue)}));const Z={show:s,hide:h,toggle:f};return Object.assign(a,Z),Z}},46296:(e,l,C)=>{"use strict";C.d(l,{ZP:()=>s,vZ:()=>u,K6:()=>f,t6:()=>p});var r=C(59835),t=C(60499),o=C(61957),i=C(64871);function d(){const e=new Map;return{getCache:function(l,C){return void 0===e[l]?e[l]=C:e[l]},getCacheWithFn:function(l,C){return void 0===e[l]?e[l]=C():e[l]}}}var n=C(22026),c=C(52046);const u={name:{required:!0},disable:Boolean},a={setup(e,{slots:l}){return()=>(0,r.h)("div",{class:"q-panel scroll",role:"tabpanel"},(0,n.KR)(l.default))}},p={modelValue:{required:!0},animated:Boolean,infinite:Boolean,swipeable:Boolean,vertical:Boolean,transitionPrev:String,transitionNext:String,transitionDuration:{type:[String,Number],default:300},keepAlive:Boolean,keepAliveInclude:[String,Array,RegExp],keepAliveExclude:[String,Array,RegExp],keepAliveMax:Number},f=["update:modelValue","beforeTransition","transition"];function s(){const{props:e,emit:l,proxy:C}=(0,r.FN)(),{getCacheWithFn:u}=d();let p,f;const s=(0,t.iH)(null),v=(0,t.iH)(null);function h(l){const r=!0===e.vertical?"up":"left";O((!0===C.$q.lang.rtl?-1:1)*(l.direction===r?1:-1))}const L=(0,r.Fl)((()=>[[i.Z,h,void 0,{horizontal:!0!==e.vertical,vertical:e.vertical,mouse:!0}]])),g=(0,r.Fl)((()=>e.transitionPrev||"slide-"+(!0===e.vertical?"down":"right"))),Z=(0,r.Fl)((()=>e.transitionNext||"slide-"+(!0===e.vertical?"up":"left"))),w=(0,r.Fl)((()=>`--q-transition-duration: ${e.transitionDuration}ms`)),M=(0,r.Fl)((()=>"string"===typeof e.modelValue||"number"===typeof e.modelValue?e.modelValue:String(e.modelValue))),m=(0,r.Fl)((()=>({include:e.keepAliveInclude,exclude:e.keepAliveExclude,max:e.keepAliveMax}))),H=(0,r.Fl)((()=>void 0!==e.keepAliveInclude||void 0!==e.keepAliveExclude));function V(){O(1)}function b(){O(-1)}function x(e){l("update:modelValue",e)}function k(e){return void 0!==e&&null!==e&&""!==e}function y(e){return p.findIndex((l=>l.props.name===e&&""!==l.props.disable&&!0!==l.props.disable))}function A(){return p.filter((e=>""!==e.props.disable&&!0!==e.props.disable))}function B(l){const C=0!==l&&!0===e.animated&&-1!==s.value?"q-transition--"+(-1===l?g.value:Z.value):null;v.value!==C&&(v.value=C)}function O(C,r=s.value){let t=r+C;while(t>-1&&t{f=!1}));t+=C}!0===e.infinite&&0!==p.length&&-1!==r&&r!==p.length&&O(C,-1===C?p.length:-1)}function F(){const l=y(e.modelValue);return s.value!==l&&(s.value=l),!0}function S(){const l=!0===k(e.modelValue)&&F()&&p[s.value];return!0===e.keepAlive?[(0,r.h)(r.Ob,m.value,[(0,r.h)(!0===H.value?u(M.value,(()=>({...a,name:M.value}))):a,{key:M.value,style:w.value},(()=>l))])]:[(0,r.h)("div",{class:"q-panel scroll",style:w.value,key:M.value,role:"tabpanel"},[l])]}function P(){if(0!==p.length)return!0===e.animated?[(0,r.h)(o.uT,{name:v.value},S)]:S()}function _(e){return p=(0,c.Pf)((0,n.KR)(e.default,[])).filter((e=>null!==e.props&&void 0===e.props.slot&&!0===k(e.props.name))),p.length}function T(){return p}return(0,r.YP)((()=>e.modelValue),((e,C)=>{const t=!0===k(e)?y(e):-1;!0!==f&&B(-1===t?0:t{l("transition",e,C)})))})),Object.assign(C,{next:V,previous:b,goTo:x}),{panelIndex:s,panelDirectives:L,updatePanelsList:_,updatePanelIndex:F,getPanelContent:P,getEnabledPanels:A,getPanels:T,isValidPanelName:k,keepAliveProps:m,needsUniqueKeepAliveWrapper:H,goToPanelByOffset:O,goToPanel:x,nextPanel:V,previousPanel:b}}},91518:(e,l,C)=>{"use strict";C.d(l,{Z:()=>u});C(69665);var r=C(60499),t=C(59835),o=(C(91384),C(17026)),i=C(56669),d=C(2909),n=C(43251);function c(e){e=e.parent;while(void 0!==e&&null!==e){if("QGlobalDialog"===e.type.name)return!0;if("QDialog"===e.type.name||"QMenu"===e.type.name)return!1;e=e.parent}return!1}function u(e,l,C,u){const a=(0,r.iH)(!1),p=(0,r.iH)(!1);let f=null;const s={},v="dialog"===u&&c(e);function h(l){if(!0===l)return(0,o.xF)(s),void(p.value=!0);p.value=!1,!1===a.value&&(!1===v&&null===f&&(f=(0,i.q_)(!1,u)),a.value=!0,d.Q$.push(e.proxy),(0,o.YX)(s))}function L(l){if(p.value=!1,!0!==l)return;(0,o.xF)(s),a.value=!1;const C=d.Q$.indexOf(e.proxy);-1!==C&&d.Q$.splice(C,1),null!==f&&((0,i.pB)(f),f=null)}return(0,t.Ah)((()=>{L(!0)})),e.proxy.__qPortal=!0,(0,n.g)(e.proxy,"contentEl",(()=>l.value)),{showPortal:h,hidePortal:L,portalIsActive:a,portalIsAccessible:p,renderPortal:()=>!0===v?C():!0===a.value?[(0,t.h)(t.lR,{to:f},C())]:void 0}}},49754:(e,l,C)=>{"use strict";C.d(l,{Z:()=>M});var r=C(91384),t=C(43701),o=C(47506);let i,d,n,c,u,a,p=0,f=!1,s=null;function v(e){h(e)&&(0,r.NS)(e)}function h(e){if(e.target===document.body||e.target.classList.contains("q-layout__backdrop"))return!0;const l=(0,r.AZ)(e),C=e.shiftKey&&!e.deltaX,o=!C&&Math.abs(e.deltaX)<=Math.abs(e.deltaY),i=C||o?e.deltaY:e.deltaX;for(let r=0;r0&&e.scrollTop+e.clientHeight===e.scrollHeight:i<0&&0===e.scrollLeft||i>0&&e.scrollLeft+e.clientWidth===e.scrollWidth}return!0}function L(e){e.target===document&&(document.scrollingElement.scrollTop=document.scrollingElement.scrollTop)}function g(e){!0!==f&&(f=!0,requestAnimationFrame((()=>{f=!1;const{height:l}=e.target,{clientHeight:C,scrollTop:r}=document.scrollingElement;void 0!==n&&l===window.innerHeight||(n=C-l,document.scrollingElement.scrollTop=r),r>n&&(document.scrollingElement.scrollTop-=Math.ceil((r-n)/8))})))}function Z(e){const l=document.body,C=void 0!==window.visualViewport;if("add"===e){const{overflowY:e,overflowX:n}=window.getComputedStyle(l);i=(0,t.OI)(window),d=(0,t.u3)(window),c=l.style.left,u=l.style.top,a=window.location.href,l.style.left=`-${i}px`,l.style.top=`-${d}px`,"hidden"!==n&&("scroll"===n||l.scrollWidth>window.innerWidth)&&l.classList.add("q-body--force-scrollbar-x"),"hidden"!==e&&("scroll"===e||l.scrollHeight>window.innerHeight)&&l.classList.add("q-body--force-scrollbar-y"),l.classList.add("q-body--prevent-scroll"),document.qScrollPrevented=!0,!0===o.client.is.ios&&(!0===C?(window.scrollTo(0,0),window.visualViewport.addEventListener("resize",g,r.listenOpts.passiveCapture),window.visualViewport.addEventListener("scroll",g,r.listenOpts.passiveCapture),window.scrollTo(0,0)):window.addEventListener("scroll",L,r.listenOpts.passiveCapture))}!0===o.client.is.desktop&&!0===o.client.is.mac&&window[`${e}EventListener`]("wheel",v,r.listenOpts.notPassive),"remove"===e&&(!0===o.client.is.ios&&(!0===C?(window.visualViewport.removeEventListener("resize",g,r.listenOpts.passiveCapture),window.visualViewport.removeEventListener("scroll",g,r.listenOpts.passiveCapture)):window.removeEventListener("scroll",L,r.listenOpts.passiveCapture)),l.classList.remove("q-body--prevent-scroll"),l.classList.remove("q-body--force-scrollbar-x"),l.classList.remove("q-body--force-scrollbar-y"),document.qScrollPrevented=!1,l.style.left=c,l.style.top=u,window.location.href===a&&window.scrollTo(i,d),n=void 0)}function w(e){let l="add";if(!0===e){if(p++,null!==s)return clearTimeout(s),void(s=null);if(p>1)return}else{if(0===p)return;if(p--,p>0)return;if(l="remove",!0===o.client.is.ios&&!0===o.client.is.nativeMobile)return null!==s&&clearTimeout(s),void(s=setTimeout((()=>{Z(l),s=null}),100))}Z(l)}function M(){let e;return{preventBodyScroll(l){l===e||void 0===e&&!0!==l||(e=l,w(l))}}}},70945:(e,l,C)=>{"use strict";C.d(l,{$:()=>a,Z:()=>p});var r=C(59835),t=C(52046);function o(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}function i(e,l){return(e.aliasOf||e)===(l.aliasOf||l)}function d(e,l){for(const C in l){const r=l[C],t=e[C];if("string"===typeof r){if(r!==t)return!1}else if(!1===Array.isArray(t)||t.length!==r.length||r.some(((e,l)=>e!==t[l])))return!1}return!0}function n(e,l){return!0===Array.isArray(l)?e.length===l.length&&e.every(((e,C)=>e===l[C])):1===e.length&&e[0]===l}function c(e,l){return!0===Array.isArray(e)?n(e,l):!0===Array.isArray(l)?n(l,e):e===l}function u(e,l){if(Object.keys(e).length!==Object.keys(l).length)return!1;for(const C in e)if(!1===c(e[C],l[C]))return!1;return!0}const a={to:[String,Object],replace:Boolean,exact:Boolean,activeClass:{type:String,default:"q-router-link--active"},exactActiveClass:{type:String,default:"q-router-link--exact-active"},href:String,target:String,disable:Boolean};function p({fallbackTag:e,useDisableForRouterLinkProps:l=!0}={}){const C=(0,r.FN)(),{props:n,proxy:c,emit:a}=C,p=(0,t.Rb)(C),f=(0,r.Fl)((()=>!0!==n.disable&&void 0!==n.href)),s=!0===l?(0,r.Fl)((()=>!0===p&&!0!==n.disable&&!0!==f.value&&void 0!==n.to&&null!==n.to&&""!==n.to)):(0,r.Fl)((()=>!0===p&&!0!==f.value&&void 0!==n.to&&null!==n.to&&""!==n.to)),v=(0,r.Fl)((()=>!0===s.value?V(n.to):null)),h=(0,r.Fl)((()=>null!==v.value)),L=(0,r.Fl)((()=>!0===f.value||!0===h.value)),g=(0,r.Fl)((()=>"a"===n.type||!0===L.value?"a":n.tag||e||"div")),Z=(0,r.Fl)((()=>!0===f.value?{href:n.href,target:n.target}:!0===h.value?{href:v.value.href,target:n.target}:{})),w=(0,r.Fl)((()=>{if(!1===h.value)return-1;const{matched:e}=v.value,{length:l}=e,C=e[l-1];if(void 0===C)return-1;const r=c.$route.matched;if(0===r.length)return-1;const t=r.findIndex(i.bind(null,C));if(t>-1)return t;const d=o(e[l-2]);return l>1&&o(C)===d&&r[r.length-1].path!==d?r.findIndex(i.bind(null,e[l-2])):t})),M=(0,r.Fl)((()=>!0===h.value&&-1!==w.value&&d(c.$route.params,v.value.params))),m=(0,r.Fl)((()=>!0===M.value&&w.value===c.$route.matched.length-1&&u(c.$route.params,v.value.params))),H=(0,r.Fl)((()=>!0===h.value?!0===m.value?` ${n.exactActiveClass} ${n.activeClass}`:!0===n.exact?"":!0===M.value?` ${n.activeClass}`:"":""));function V(e){try{return c.$router.resolve(e)}catch(l){}return null}function b(e,{returnRouterError:l,to:C=n.to,replace:r=n.replace}={}){if(!0===n.disable)return e.preventDefault(),Promise.resolve(!1);if(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey||void 0!==e.button&&0!==e.button||"_blank"===n.target)return Promise.resolve(!1);e.preventDefault();const t=c.$router[!0===r?"replace":"push"](C);return!0===l?t:t.then((()=>{})).catch((()=>{}))}function x(e){if(!0===h.value){const l=l=>b(e,l);a("click",e,l),!0!==e.defaultPrevented&&l()}else a("click",e)}return{hasRouterLink:h,hasHrefLink:f,hasLink:L,linkTag:g,resolvedLink:v,linkIsActive:M,linkIsExactActive:m,linkClass:H,linkAttrs:Z,getLink:V,navigateToRouterLink:b,navigateOnClick:x}}},64088:(e,l,C)=>{"use strict";C.d(l,{Z:()=>i});var r=C(60499),t=C(59835),o=C(91384);function i(e,l){const C=(0,r.iH)(null);let i;function d(e,l){const C=(void 0!==l?"add":"remove")+"EventListener",r=void 0!==l?l:i;e!==window&&e[C]("scroll",r,o.listenOpts.passive),window[C]("scroll",r,o.listenOpts.passive),i=l}function n(){null!==C.value&&(d(C.value),C.value=null)}const c=(0,t.YP)((()=>e.noParentEvent),(()=>{null!==C.value&&(n(),l())}));return(0,t.Jd)(c),{localScrollTarget:C,unconfigureScrollTarget:n,changeScrollEvent:d}}},20244:(e,l,C)=>{"use strict";C.d(l,{LU:()=>o,Ok:()=>t,ZP:()=>i});var r=C(59835);const t={xs:18,sm:24,md:32,lg:38,xl:46},o={size:String};function i(e,l=t){return(0,r.Fl)((()=>void 0!==e.size?{fontSize:e.size in l?`${l[e.size]}px`:e.size}:null))}},45607:(e,l,C)=>{"use strict";C.d(l,{Z:()=>i});var r=C(60499),t=C(59835);const o=/^on[A-Z]/;function i(e,l){const C={listeners:(0,r.iH)({}),attributes:(0,r.iH)({})};function i(){const r={},t={};for(const l in e)"class"!==l&&"style"!==l&&!1===o.test(l)&&(r[l]=e[l]);for(const e in l.props)!0===o.test(e)&&(t[e]=l.props[e]);C.attributes.value=r,C.listeners.value=t}return(0,t.Xn)(i),i(),C}},16916:(e,l,C)=>{"use strict";C.d(l,{Z:()=>o});var r=C(59835),t=C(52046);function o(){let e;const l=(0,r.FN)();function C(){e=void 0}return(0,r.se)(C),(0,r.Jd)(C),{removeTick:C,registerTick(C){e=C,(0,r.Y3)((()=>{e===C&&(!1===(0,t.$D)(l)&&e(),e=void 0)}))}}}},52695:(e,l,C)=>{"use strict";C.d(l,{Z:()=>o});var r=C(59835),t=C(52046);function o(){let e=null;const l=(0,r.FN)();function C(){null!==e&&(clearTimeout(e),e=null)}return(0,r.se)(C),(0,r.Jd)(C),{removeTimeout:C,registerTimeout(r,o){C(e),!1===(0,t.$D)(l)&&(e=setTimeout(r,o))}}}},20431:(e,l,C)=>{"use strict";C.d(l,{D:()=>t,Z:()=>o});var r=C(59835);const t={transitionShow:{type:String,default:"fade"},transitionHide:{type:String,default:"fade"},transitionDuration:{type:[String,Number],default:300}};function o(e,l=(()=>{}),C=(()=>{})){return{transitionProps:(0,r.Fl)((()=>{const r=`q-transition--${e.transitionShow||l()}`,t=`q-transition--${e.transitionHide||C()}`;return{appear:!0,enterFromClass:`${r}-enter-from`,enterActiveClass:`${r}-enter-active`,enterToClass:`${r}-enter-to`,leaveFromClass:`${t}-leave-from`,leaveActiveClass:`${t}-leave-active`,leaveToClass:`${t}-leave-to`}})),transitionStyle:(0,r.Fl)((()=>`--q-transition-duration: ${e.transitionDuration}ms`))}}},19302:(e,l,C)=>{"use strict";C.d(l,{Z:()=>o});var r=C(59835),t=C(95439);function o(){return(0,r.f3)(t.Ng)}},62146:(e,l,C)=>{"use strict";C.d(l,{Z:()=>d});var r=C(65987),t=C(2909),o=C(61705);function i(e){if(!1===e)return 0;if(!0===e||void 0===e)return 1;const l=parseInt(e,10);return isNaN(l)?0:l}const d=(0,r.f)({name:"close-popup",beforeMount(e,{value:l}){const C={depth:i(l),handler(l){0!==C.depth&&setTimeout((()=>{const r=(0,t.je)(e);void 0!==r&&(0,t.S7)(r,l,C.depth)}))},handlerKey(e){!0===(0,o.So)(e,13)&&C.handler(e)}};e.__qclosepopup=C,e.addEventListener("click",C.handler),e.addEventListener("keyup",C.handlerKey)},updated(e,{value:l,oldValue:C}){l!==C&&(e.__qclosepopup.depth=i(l))},beforeUnmount(e){const l=e.__qclosepopup;e.removeEventListener("click",l.handler),e.removeEventListener("keyup",l.handlerKey),delete e.__qclosepopup}})},51136:(e,l,C)=>{"use strict";C.d(l,{Z:()=>u});C(69665);var r=C(65987),t=C(70223),o=C(91384),i=C(61705);function d(e,l=250){let C,r=!1;return function(){return!1===r&&(r=!0,setTimeout((()=>{r=!1}),l),C=e.apply(this,arguments)),C}}function n(e,l,C,r){!0===C.modifiers.stop&&(0,o.sT)(e);const i=C.modifiers.color;let d=C.modifiers.center;d=!0===d||!0===r;const n=document.createElement("span"),c=document.createElement("span"),u=(0,o.FK)(e),{left:a,top:p,width:f,height:s}=l.getBoundingClientRect(),v=Math.sqrt(f*f+s*s),h=v/2,L=(f-v)/2+"px",g=d?L:u.left-a-h+"px",Z=(s-v)/2+"px",w=d?Z:u.top-p-h+"px";c.className="q-ripple__inner",(0,t.iv)(c,{height:`${v}px`,width:`${v}px`,transform:`translate3d(${g},${w},0) scale3d(.2,.2,1)`,opacity:0}),n.className="q-ripple"+(i?" text-"+i:""),n.setAttribute("dir","ltr"),n.appendChild(c),l.appendChild(n);const M=()=>{n.remove(),clearTimeout(m)};C.abort.push(M);let m=setTimeout((()=>{c.classList.add("q-ripple__inner--enter"),c.style.transform=`translate3d(${L},${Z},0) scale3d(1,1,1)`,c.style.opacity=.2,m=setTimeout((()=>{c.classList.remove("q-ripple__inner--enter"),c.classList.add("q-ripple__inner--leave"),c.style.opacity=0,m=setTimeout((()=>{n.remove(),C.abort.splice(C.abort.indexOf(M),1)}),275)}),250)}),50)}function c(e,{modifiers:l,value:C,arg:r}){const t=Object.assign({},e.cfg.ripple,l,C);e.modifiers={early:!0===t.early,stop:!0===t.stop,center:!0===t.center,color:t.color||r,keyCodes:[].concat(t.keyCodes||13)}}const u=(0,r.f)({name:"ripple",beforeMount(e,l){const C=l.instance.$.appContext.config.globalProperties.$q.config||{};if(!1===C.ripple)return;const r={cfg:C,enabled:!1!==l.value,modifiers:{},abort:[],start(l){!0===r.enabled&&!0!==l.qSkipRipple&&l.type===(!0===r.modifiers.early?"pointerdown":"click")&&n(l,e,r,!0===l.qKeyEvent)},keystart:d((l=>{!0===r.enabled&&!0!==l.qSkipRipple&&!0===(0,i.So)(l,r.modifiers.keyCodes)&&l.type==="key"+(!0===r.modifiers.early?"down":"up")&&n(l,e,r,!0)}),300)};c(r,l),e.__qripple=r,(0,o.M0)(r,"main",[[e,"pointerdown","start","passive"],[e,"click","start","passive"],[e,"keydown","keystart","passive"],[e,"keyup","keystart","passive"]])},updated(e,l){if(l.oldValue!==l.value){const C=e.__qripple;void 0!==C&&(C.enabled=!1!==l.value,!0===C.enabled&&Object(l.value)===l.value&&c(C,l))}},beforeUnmount(e){const l=e.__qripple;void 0!==l&&(l.abort.forEach((e=>{e()})),(0,o.ul)(l,"main"),delete e._qripple)}})},2873:(e,l,C)=>{"use strict";C.d(l,{Z:()=>u});var r=C(47506),t=C(65987),o=C(99367),i=C(91384),d=C(2589);function n(e,l,C){const r=(0,i.FK)(e);let t,o=r.left-l.event.x,d=r.top-l.event.y,n=Math.abs(o),c=Math.abs(d);const u=l.direction;!0===u.horizontal&&!0!==u.vertical?t=o<0?"left":"right":!0!==u.horizontal&&!0===u.vertical?t=d<0?"up":"down":!0===u.up&&d<0?(t="up",n>c&&(!0===u.left&&o<0?t="left":!0===u.right&&o>0&&(t="right"))):!0===u.down&&d>0?(t="down",n>c&&(!0===u.left&&o<0?t="left":!0===u.right&&o>0&&(t="right"))):!0===u.left&&o<0?(t="left",n0&&(t="down"))):!0===u.right&&o>0&&(t="right",n0&&(t="down")));let a=!1;if(void 0===t&&!1===C){if(!0===l.event.isFirst||void 0===l.event.lastDir)return{};t=l.event.lastDir,a=!0,"left"===t||"right"===t?(r.left-=o,n=0,o=0):(r.top-=d,c=0,d=0)}return{synthetic:a,payload:{evt:e,touch:!0!==l.event.mouse,mouse:!0===l.event.mouse,position:r,direction:t,isFirst:l.event.isFirst,isFinal:!0===C,duration:Date.now()-l.event.time,distance:{x:n,y:c},offset:{x:o,y:d},delta:{x:r.left-l.event.lastX,y:r.top-l.event.lastY}}}}let c=0;const u=(0,t.f)({name:"touch-pan",beforeMount(e,{value:l,modifiers:C}){if(!0!==C.mouse&&!0!==r.client.has.touch)return;function t(e,l){!0===C.mouse&&!0===l?(0,i.NS)(e):(!0===C.stop&&(0,i.sT)(e),!0===C.prevent&&(0,i.X$)(e))}const u={uid:"qvtp_"+c++,handler:l,modifiers:C,direction:(0,o.R)(C),noop:i.ZT,mouseStart(e){(0,o.n)(e,u)&&(0,i.du)(e)&&((0,i.M0)(u,"temp",[[document,"mousemove","move","notPassiveCapture"],[document,"mouseup","end","passiveCapture"]]),u.start(e,!0))},touchStart(e){if((0,o.n)(e,u)){const l=e.target;(0,i.M0)(u,"temp",[[l,"touchmove","move","notPassiveCapture"],[l,"touchcancel","end","passiveCapture"],[l,"touchend","end","passiveCapture"]]),u.start(e)}},start(l,t){if(!0===r.client.is.firefox&&(0,i.Jf)(e,!0),u.lastEvt=l,!0===t||!0===C.stop){if(!0!==u.direction.all&&(!0!==t||!0!==u.modifiers.mouseAllDir&&!0!==u.modifiers.mousealldir)){const e=l.type.indexOf("mouse")>-1?new MouseEvent(l.type,l):new TouchEvent(l.type,l);!0===l.defaultPrevented&&(0,i.X$)(e),!0===l.cancelBubble&&(0,i.sT)(e),Object.assign(e,{qKeyEvent:l.qKeyEvent,qClickOutside:l.qClickOutside,qAnchorHandled:l.qAnchorHandled,qClonedBy:void 0===l.qClonedBy?[u.uid]:l.qClonedBy.concat(u.uid)}),u.initialEvent={target:l.target,event:e}}(0,i.sT)(l)}const{left:o,top:d}=(0,i.FK)(l);u.event={x:o,y:d,time:Date.now(),mouse:!0===t,detected:!1,isFirst:!0,isFinal:!1,lastX:o,lastY:d}},move(e){if(void 0===u.event)return;const l=(0,i.FK)(e),r=l.left-u.event.x,o=l.top-u.event.y;if(0===r&&0===o)return;u.lastEvt=e;const c=!0===u.event.mouse,a=()=>{let l;t(e,c),!0!==C.preserveCursor&&!0!==C.preservecursor&&(l=document.documentElement.style.cursor||"",document.documentElement.style.cursor="grabbing"),!0===c&&document.body.classList.add("no-pointer-events--children"),document.body.classList.add("non-selectable"),(0,d.M)(),u.styleCleanup=e=>{if(u.styleCleanup=void 0,void 0!==l&&(document.documentElement.style.cursor=l),document.body.classList.remove("non-selectable"),!0===c){const l=()=>{document.body.classList.remove("no-pointer-events--children")};void 0!==e?setTimeout((()=>{l(),e()}),50):l()}else void 0!==e&&e()}};if(!0===u.event.detected){!0!==u.event.isFirst&&t(e,u.event.mouse);const{payload:l,synthetic:C}=n(e,u,!1);return void(void 0!==l&&(!1===u.handler(l)?u.end(e):(void 0===u.styleCleanup&&!0===u.event.isFirst&&a(),u.event.lastX=l.position.left,u.event.lastY=l.position.top,u.event.lastDir=!0===C?void 0:l.direction,u.event.isFirst=!1)))}if(!0===u.direction.all||!0===c&&(!0===u.modifiers.mouseAllDir||!0===u.modifiers.mousealldir))return a(),u.event.detected=!0,void u.move(e);const p=Math.abs(r),f=Math.abs(o);p!==f&&(!0===u.direction.horizontal&&p>f||!0===u.direction.vertical&&p0||!0===u.direction.left&&p>f&&r<0||!0===u.direction.right&&p>f&&r>0?(u.event.detected=!0,u.move(e)):u.end(e,!0))},end(l,C){if(void 0!==u.event){if((0,i.ul)(u,"temp"),!0===r.client.is.firefox&&(0,i.Jf)(e,!1),!0===C)void 0!==u.styleCleanup&&u.styleCleanup(),!0!==u.event.detected&&void 0!==u.initialEvent&&u.initialEvent.target.dispatchEvent(u.initialEvent.event);else if(!0===u.event.detected){!0===u.event.isFirst&&u.handler(n(void 0===l?u.lastEvt:l,u).payload);const{payload:e}=n(void 0===l?u.lastEvt:l,u,!0),C=()=>{u.handler(e)};void 0!==u.styleCleanup?u.styleCleanup(C):C()}u.event=void 0,u.initialEvent=void 0,u.lastEvt=void 0}}};if(e.__qtouchpan=u,!0===C.mouse){const l=!0===C.mouseCapture||!0===C.mousecapture?"Capture":"";(0,i.M0)(u,"main",[[e,"mousedown","mouseStart",`passive${l}`]])}!0===r.client.has.touch&&(0,i.M0)(u,"main",[[e,"touchstart","touchStart","passive"+(!0===C.capture?"Capture":"")],[e,"touchmove","noop","notPassiveCapture"]])},updated(e,l){const C=e.__qtouchpan;void 0!==C&&(l.oldValue!==l.value&&("function"!==typeof value&&C.end(),C.handler=l.value),C.direction=(0,o.R)(l.modifiers))},beforeUnmount(e){const l=e.__qtouchpan;void 0!==l&&(void 0!==l.event&&l.end(),(0,i.ul)(l,"main"),(0,i.ul)(l,"temp"),!0===r.client.is.firefox&&(0,i.Jf)(e,!1),void 0!==l.styleCleanup&&l.styleCleanup(),delete e.__qtouchpan)}})},64871:(e,l,C)=>{"use strict";C.d(l,{Z:()=>c});var r=C(47506),t=C(65987),o=C(99367),i=C(91384),d=C(2589);function n(e){const l=[.06,6,50];return"string"===typeof e&&e.length&&e.split(":").forEach(((e,C)=>{const r=parseFloat(e);r&&(l[C]=r)})),l}const c=(0,t.f)({name:"touch-swipe",beforeMount(e,{value:l,arg:C,modifiers:t}){if(!0!==t.mouse&&!0!==r.client.has.touch)return;const c=!0===t.mouseCapture?"Capture":"",u={handler:l,sensitivity:n(C),direction:(0,o.R)(t),noop:i.ZT,mouseStart(e){(0,o.n)(e,u)&&(0,i.du)(e)&&((0,i.M0)(u,"temp",[[document,"mousemove","move",`notPassive${c}`],[document,"mouseup","end","notPassiveCapture"]]),u.start(e,!0))},touchStart(e){if((0,o.n)(e,u)){const l=e.target;(0,i.M0)(u,"temp",[[l,"touchmove","move","notPassiveCapture"],[l,"touchcancel","end","notPassiveCapture"],[l,"touchend","end","notPassiveCapture"]]),u.start(e)}},start(l,C){!0===r.client.is.firefox&&(0,i.Jf)(e,!0);const t=(0,i.FK)(l);u.event={x:t.left,y:t.top,time:Date.now(),mouse:!0===C,dir:!1}},move(e){if(void 0===u.event)return;if(!1!==u.event.dir)return void(0,i.NS)(e);const l=Date.now()-u.event.time;if(0===l)return;const C=(0,i.FK)(e),r=C.left-u.event.x,t=Math.abs(r),o=C.top-u.event.y,n=Math.abs(o);if(!0!==u.event.mouse){if(tu.sensitivity[0]&&(u.event.dir=o<0?"up":"down"),!0===u.direction.horizontal&&t>n&&n<100&&c>u.sensitivity[0]&&(u.event.dir=r<0?"left":"right"),!0===u.direction.up&&tu.sensitivity[0]&&(u.event.dir="up"),!0===u.direction.down&&t0&&t<100&&a>u.sensitivity[0]&&(u.event.dir="down"),!0===u.direction.left&&t>n&&r<0&&n<100&&c>u.sensitivity[0]&&(u.event.dir="left"),!0===u.direction.right&&t>n&&r>0&&n<100&&c>u.sensitivity[0]&&(u.event.dir="right"),!1!==u.event.dir?((0,i.NS)(e),!0===u.event.mouse&&(document.body.classList.add("no-pointer-events--children"),document.body.classList.add("non-selectable"),(0,d.M)(),u.styleCleanup=e=>{u.styleCleanup=void 0,document.body.classList.remove("non-selectable");const l=()=>{document.body.classList.remove("no-pointer-events--children")};!0===e?setTimeout(l,50):l()}),u.handler({evt:e,touch:!0!==u.event.mouse,mouse:u.event.mouse,direction:u.event.dir,duration:l,distance:{x:t,y:n}})):u.end(e)},end(l){void 0!==u.event&&((0,i.ul)(u,"temp"),!0===r.client.is.firefox&&(0,i.Jf)(e,!1),void 0!==u.styleCleanup&&u.styleCleanup(!0),void 0!==l&&!1!==u.event.dir&&(0,i.NS)(l),u.event=void 0)}};if(e.__qtouchswipe=u,!0===t.mouse){const l=!0===t.mouseCapture||!0===t.mousecapture?"Capture":"";(0,i.M0)(u,"main",[[e,"mousedown","mouseStart",`passive${l}`]])}!0===r.client.has.touch&&(0,i.M0)(u,"main",[[e,"touchstart","touchStart","passive"+(!0===t.capture?"Capture":"")],[e,"touchmove","noop","notPassiveCapture"]])},updated(e,l){const C=e.__qtouchswipe;void 0!==C&&(l.oldValue!==l.value&&("function"!==typeof l.value&&C.end(),C.handler=l.value),C.direction=(0,o.R)(l.modifiers))},beforeUnmount(e){const l=e.__qtouchswipe;void 0!==l&&((0,i.ul)(l,"main"),(0,i.ul)(l,"temp"),!0===r.client.is.firefox&&(0,i.Jf)(e,!1),void 0!==l.styleCleanup&&l.styleCleanup(),delete e.__qtouchswipe)}})},25310:(e,l,C)=>{"use strict";C.d(l,{Z:()=>c});C(69665);var r=C(47506),t=C(91384);const o=()=>!0;function i(e){return"string"===typeof e&&""!==e&&"/"!==e&&"#/"!==e}function d(e){return!0===e.startsWith("#")&&(e=e.substring(1)),!1===e.startsWith("/")&&(e="/"+e),!0===e.endsWith("/")&&(e=e.substring(0,e.length-1)),"#"+e}function n(e){if(!1===e.backButtonExit)return()=>!1;if("*"===e.backButtonExit)return o;const l=["#/"];return!0===Array.isArray(e.backButtonExit)&&l.push(...e.backButtonExit.filter(i).map(d)),()=>l.includes(window.location.hash)}const c={__history:[],add:t.ZT,remove:t.ZT,install({$q:e}){if(!0===this.__installed)return;const{cordova:l,capacitor:C}=r.client.is;if(!0!==l&&!0!==C)return;const t=e.config[!0===l?"cordova":"capacitor"];if(void 0!==t&&!1===t.backButton)return;if(!0===C&&(void 0===window.Capacitor||void 0===window.Capacitor.Plugins.App))return;this.add=e=>{void 0===e.condition&&(e.condition=o),this.__history.push(e)},this.remove=e=>{const l=this.__history.indexOf(e);l>=0&&this.__history.splice(l,1)};const i=n(Object.assign({backButtonExit:!0},t)),d=()=>{if(this.__history.length){const e=this.__history[this.__history.length-1];!0===e.condition()&&(this.__history.pop(),e.handler())}else!0===i()?navigator.app.exitApp():window.history.back()};!0===l?document.addEventListener("deviceready",(()=>{document.addEventListener("backbutton",d,!1)})):window.Capacitor.Plugins.App.addListener("backButton",d)}}},72289:(e,l,C)=>{"use strict";C.d(l,{Z:()=>d});var r=C(74124),t=C(43251);const o={name:"material-icons",type:{positive:"check_circle",negative:"warning",info:"info",warning:"priority_high"},arrow:{up:"arrow_upward",right:"arrow_forward",down:"arrow_downward",left:"arrow_back",dropdown:"arrow_drop_down"},chevron:{left:"chevron_left",right:"chevron_right"},colorPicker:{spectrum:"gradient",tune:"tune",palette:"style"},pullToRefresh:{icon:"refresh"},carousel:{left:"chevron_left",right:"chevron_right",up:"keyboard_arrow_up",down:"keyboard_arrow_down",navigationIcon:"lens"},chip:{remove:"cancel",selected:"check"},datetime:{arrowLeft:"chevron_left",arrowRight:"chevron_right",now:"access_time",today:"today"},editor:{bold:"format_bold",italic:"format_italic",strikethrough:"strikethrough_s",underline:"format_underlined",unorderedList:"format_list_bulleted",orderedList:"format_list_numbered",subscript:"vertical_align_bottom",superscript:"vertical_align_top",hyperlink:"link",toggleFullscreen:"fullscreen",quote:"format_quote",left:"format_align_left",center:"format_align_center",right:"format_align_right",justify:"format_align_justify",print:"print",outdent:"format_indent_decrease",indent:"format_indent_increase",removeFormat:"format_clear",formatting:"text_format",fontSize:"format_size",align:"format_align_left",hr:"remove",undo:"undo",redo:"redo",heading:"format_size",code:"code",size:"format_size",font:"font_download",viewSource:"code"},expansionItem:{icon:"keyboard_arrow_down",denseIcon:"arrow_drop_down"},fab:{icon:"add",activeIcon:"close"},field:{clear:"cancel",error:"error"},pagination:{first:"first_page",prev:"keyboard_arrow_left",next:"keyboard_arrow_right",last:"last_page"},rating:{icon:"grade"},stepper:{done:"check",active:"edit",error:"warning"},tabs:{left:"chevron_left",right:"chevron_right",up:"keyboard_arrow_up",down:"keyboard_arrow_down"},table:{arrowUp:"arrow_upward",warning:"warning",firstPage:"first_page",prevPage:"chevron_left",nextPage:"chevron_right",lastPage:"last_page"},tree:{icon:"play_arrow"},uploader:{done:"done",clear:"clear",add:"add_box",upload:"cloud_upload",removeQueue:"clear_all",removeUploaded:"done_all"}},i=(0,r.Z)({iconMapFn:null,__icons:{}},{set(e,l){const C={...e,rtl:!0===e.rtl};C.set=i.set,Object.assign(i.__icons,C)},install({$q:e,iconSet:l,ssrContext:C}){void 0!==e.config.iconMapFn&&(this.iconMapFn=e.config.iconMapFn),e.iconSet=this.__icons,(0,t.g)(e,"iconMapFn",(()=>this.iconMapFn),(e=>{this.iconMapFn=e})),!0===this.__installed?void 0!==l&&this.set(l):this.set(l||o)}}),d=i},87451:(e,l,C)=>{"use strict";C.d(l,{$:()=>k,Z:()=>B});var r=C(61957),t=C(47506),o=(C(69665),C(74124)),i=C(91384),d=C(60899);const n=["sm","md","lg","xl"],{passive:c}=i.listenOpts,u=(0,o.Z)({width:0,height:0,name:"xs",sizes:{sm:600,md:1024,lg:1440,xl:1920},lt:{sm:!0,md:!0,lg:!0,xl:!0},gt:{xs:!1,sm:!1,md:!1,lg:!1},xs:!0,sm:!1,md:!1,lg:!1,xl:!1},{setSizes:i.ZT,setDebounce:i.ZT,install({$q:e,onSSRHydrated:l}){if(e.screen=this,!0===this.__installed)return void(void 0!==e.config.screen&&(!1===e.config.screen.bodyClasses?document.body.classList.remove(`screen--${this.name}`):this.__update(!0)));const{visualViewport:C}=window,r=C||window,o=document.scrollingElement||document.documentElement,i=void 0===C||!0===t.client.is.mobile?()=>[Math.max(window.innerWidth,o.clientWidth),Math.max(window.innerHeight,o.clientHeight)]:()=>[C.width*C.scale+window.innerWidth-o.clientWidth,C.height*C.scale+window.innerHeight-o.clientHeight],u=void 0!==e.config.screen&&!0===e.config.screen.bodyClasses;this.__update=e=>{const[l,C]=i();if(C!==this.height&&(this.height=C),l!==this.width)this.width=l;else if(!0!==e)return;let r=this.sizes;this.gt.xs=l>=r.sm,this.gt.sm=l>=r.md,this.gt.md=l>=r.lg,this.gt.lg=l>=r.xl,this.lt.sm=l{n.forEach((l=>{void 0!==e[l]&&(p[l]=e[l])}))},this.setDebounce=e=>{f=e};const s=()=>{const e=getComputedStyle(document.body);e.getPropertyValue("--q-size-sm")&&n.forEach((l=>{this.sizes[l]=parseInt(e.getPropertyValue(`--q-size-${l}`),10)})),this.setSizes=e=>{n.forEach((l=>{e[l]&&(this.sizes[l]=e[l])})),this.__update(!0)},this.setDebounce=e=>{void 0!==a&&r.removeEventListener("resize",a,c),a=e>0?(0,d.Z)(this.__update,e):this.__update,r.addEventListener("resize",a,c)},this.setDebounce(f),0!==Object.keys(p).length?(this.setSizes(p),p=void 0):this.__update(),!0===u&&"xs"===this.name&&document.body.classList.add("screen--xs")};!0===t.uX.value?l.push(s):s()}}),a=(0,o.Z)({isActive:!1,mode:!1},{__media:void 0,set(e){a.mode=e,"auto"===e?(void 0===a.__media&&(a.__media=window.matchMedia("(prefers-color-scheme: dark)"),a.__updateMedia=()=>{a.set("auto")},a.__media.addListener(a.__updateMedia)),e=a.__media.matches):void 0!==a.__media&&(a.__media.removeListener(a.__updateMedia),a.__media=void 0),a.isActive=!0===e,document.body.classList.remove("body--"+(!0===e?"light":"dark")),document.body.classList.add("body--"+(!0===e?"dark":"light"))},toggle(){a.set(!1===a.isActive)},install({$q:e,onSSRHydrated:l,ssrContext:C}){const{dark:r}=e.config;if(e.dark=this,!0===this.__installed&&void 0===r)return;this.isActive=!0===r;const o=void 0!==r&&r;if(!0===t.uX.value){const e=e=>{this.__fromSSR=e},C=this.set;this.set=e,e(o),l.push((()=>{this.set=C,this.set(this.__fromSSR)}))}else this.set(o)}}),p=a;var f=C(25310),s=C(33558);function v(e,l,C=document.body){if("string"!==typeof e)throw new TypeError("Expected a string as propName");if("string"!==typeof l)throw new TypeError("Expected a string as value");if(!(C instanceof Element))throw new TypeError("Expected a DOM element");C.style.setProperty(`--q-${e}`,l)}var h=C(61705);function L(e){return!0===e.ios?"ios":!0===e.android?"android":void 0}function g({is:e,has:l,within:C},r){const t=[!0===e.desktop?"desktop":"mobile",(!1===l.touch?"no-":"")+"touch"];if(!0===e.mobile){const l=L(e);void 0!==l&&t.push("platform-"+l)}if(!0===e.nativeMobile){const l=e.nativeMobileWrapper;t.push(l),t.push("native-mobile"),!0!==e.ios||void 0!==r[l]&&!1===r[l].iosStatusBarPadding||t.push("q-ios-padding")}else!0===e.electron?t.push("electron"):!0===e.bex&&t.push("bex");return!0===C.iframe&&t.push("within-iframe"),t}function Z(){const{is:e}=t.client,l=document.body.className,C=new Set(l.replace(/ {2}/g," ").split(" "));if(void 0!==t.aG)C.delete("desktop"),C.add("platform-ios"),C.add("mobile");else if(!0!==e.nativeMobile&&!0!==e.electron&&!0!==e.bex)if(!0===e.desktop)C.delete("mobile"),C.delete("platform-ios"),C.delete("platform-android"),C.add("desktop");else if(!0===e.mobile){C.delete("desktop"),C.add("mobile");const l=L(e);void 0!==l?(C.add(`platform-${l}`),C.delete("platform-"+("ios"===l?"android":"ios"))):(C.delete("platform-ios"),C.delete("platform-android"))}!0===t.client.has.touch&&(C.delete("no-touch"),C.add("touch")),!0===t.client.within.iframe&&C.add("within-iframe");const r=Array.from(C).join(" ");l!==r&&(document.body.className=r)}function w(e){for(const l in e)v(l,e[l])}const M={install(e){if(!0!==this.__installed){if(!0===t.uX.value)Z();else{const{$q:l}=e;void 0!==l.config.brand&&w(l.config.brand);const C=g(t.client,l.config);document.body.classList.add.apply(document.body.classList,C)}!0===t.client.is.ios&&document.body.addEventListener("touchstart",i.ZT),window.addEventListener("keydown",h.ZK,!0)}}};var m=C(72289),H=C(95439),V=C(27495),b=C(4680);const x=[t.ZP,M,p,u,f.Z,s.Z,m.Z];function k(e,l){const C=(0,r.ri)(e);C.config.globalProperties=l.config.globalProperties;const{reload:t,...o}=l._context;return Object.assign(C._context,o),C}function y(e,l){l.forEach((l=>{l.install(e),l.__installed=!0}))}function A(e,l,C){e.config.globalProperties.$q=C.$q,e.provide(H.Ng,C.$q),y(C,x),void 0!==l.components&&Object.values(l.components).forEach((l=>{!0===(0,b.Kn)(l)&&void 0!==l.name&&e.component(l.name,l)})),void 0!==l.directives&&Object.values(l.directives).forEach((l=>{!0===(0,b.Kn)(l)&&void 0!==l.name&&e.directive(l.name,l)})),void 0!==l.plugins&&y(C,Object.values(l.plugins).filter((e=>"function"===typeof e.install&&!1===x.includes(e)))),!0===t.uX.value&&(C.$q.onSSRHydrated=()=>{C.onSSRHydrated.forEach((e=>{e()})),C.$q.onSSRHydrated=()=>{}})}const B=function(e,l={}){const C={version:"2.12.6"};!1===V.Uf?(void 0!==l.config&&Object.assign(V.w6,l.config),C.config={...V.w6},(0,V.tP)()):C.config=l.config||{},A(e,l,{parentApp:e,$q:C,lang:l.lang,iconSet:l.iconSet,onSSRHydrated:[]})}},33558:(e,l,C)=>{"use strict";C.d(l,{Z:()=>d});var r=C(74124);const t={isoName:"en-US",nativeName:"English (US)",label:{clear:"Clear",ok:"OK",cancel:"Cancel",close:"Close",set:"Set",select:"Select",reset:"Reset",remove:"Remove",update:"Update",create:"Create",search:"Search",filter:"Filter",refresh:"Refresh",expand:e=>e?`Expand "${e}"`:"Expand",collapse:e=>e?`Collapse "${e}"`:"Collapse"},date:{days:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),daysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),firstDayOfWeek:0,format24h:!1,pluralDay:"days"},table:{noData:"No data available",noResults:"No matching records found",loading:"Loading...",selectedRecords:e=>1===e?"1 record selected.":(0===e?"No":e)+" records selected.",recordsPerPage:"Records per page:",allRows:"All",pagination:(e,l,C)=>e+"-"+l+" of "+C,columns:"Columns"},editor:{url:"URL",bold:"Bold",italic:"Italic",strikethrough:"Strikethrough",underline:"Underline",unorderedList:"Unordered List",orderedList:"Ordered List",subscript:"Subscript",superscript:"Superscript",hyperlink:"Hyperlink",toggleFullscreen:"Toggle Fullscreen",quote:"Quote",left:"Left align",center:"Center align",right:"Right align",justify:"Justify align",print:"Print",outdent:"Decrease indentation",indent:"Increase indentation",removeFormat:"Remove formatting",formatting:"Formatting",fontSize:"Font Size",align:"Align",hr:"Insert Horizontal Rule",undo:"Undo",redo:"Redo",heading1:"Heading 1",heading2:"Heading 2",heading3:"Heading 3",heading4:"Heading 4",heading5:"Heading 5",heading6:"Heading 6",paragraph:"Paragraph",code:"Code",size1:"Very small",size2:"A bit small",size3:"Normal",size4:"Medium-large",size5:"Big",size6:"Very big",size7:"Maximum",defaultFont:"Default Font",viewSource:"View Source"},tree:{noNodes:"No nodes available",noResults:"No matching nodes found"}};function o(){const e=!0===Array.isArray(navigator.languages)&&0!==navigator.languages.length?navigator.languages[0]:navigator.language;if("string"===typeof e)return e.split(/[-_]/).map(((e,l)=>0===l?e.toLowerCase():l>1||e.length<4?e.toUpperCase():e[0].toUpperCase()+e.slice(1).toLowerCase())).join("-")}const i=(0,r.Z)({__langPack:{}},{getLocale:o,set(e=t,l){const C={...e,rtl:!0===e.rtl,getLocale:o};if(C.set=i.set,void 0===i.__langConfig||!0!==i.__langConfig.noHtmlAttrs){const e=document.documentElement;e.setAttribute("dir",!0===C.rtl?"rtl":"ltr"),e.setAttribute("lang",C.isoName)}Object.assign(i.__langPack,C),i.props=C,i.isoName=C.isoName,i.nativeName=C.nativeName},install({$q:e,lang:l,ssrContext:C}){e.lang=i.__langPack,i.__langConfig=e.config.lang,!0===this.__installed?void 0!==l&&this.set(l):this.set(l||t)}}),d=i},6827:(e,l,C)=>{"use strict";C.d(l,{Z:()=>A});C(69665);var r=C(60499),t=C(59835),o=C(61957),i=C(61357),d=C(22857),n=C(68879),c=C(13902),u=C(65987),a=(C(91384),C(56669)),p=C(87451),f=C(4680);let s=0;const v={},h={},L={},g={},Z=/^\s*$/,w=[],M=["top-left","top-right","bottom-left","bottom-right","top","bottom","left","right","center"],m=["top-left","top-right","bottom-left","bottom-right"],H={positive:{icon:e=>e.iconSet.type.positive,color:"positive"},negative:{icon:e=>e.iconSet.type.negative,color:"negative"},warning:{icon:e=>e.iconSet.type.warning,color:"warning",textColor:"dark"},info:{icon:e=>e.iconSet.type.info,color:"info"},ongoing:{group:!1,timeout:0,spinner:!0,color:"grey-8"}};function V(e,l,C){if(!e)return k("parameter required");let t;const o={textColor:"white"};if(!0!==e.ignoreDefaults&&Object.assign(o,v),!1===(0,f.Kn)(e)&&(o.type&&Object.assign(o,H[o.type]),e={message:e}),Object.assign(o,H[e.type||o.type],e),"function"===typeof o.icon&&(o.icon=o.icon(l)),o.spinner?(!0===o.spinner&&(o.spinner=c.Z),o.spinner=(0,r.Xl)(o.spinner)):o.spinner=!1,o.meta={hasMedia:Boolean(!1!==o.spinner||o.icon||o.avatar),hasText:x(o.message)||x(o.caption)},o.position){if(!1===M.includes(o.position))return k("wrong position",e)}else o.position="bottom";if(void 0===o.timeout)o.timeout=5e3;else{const l=parseInt(o.timeout,10);if(isNaN(l)||l<0)return k("wrong timeout",e);o.timeout=l}0===o.timeout?o.progress=!1:!0===o.progress&&(o.meta.progressClass="q-notification__progress"+(o.progressClass?` ${o.progressClass}`:""),o.meta.progressStyle={animationDuration:`${o.timeout+1e3}ms`});const i=(!0===Array.isArray(e.actions)?e.actions:[]).concat(!0!==e.ignoreDefaults&&!0===Array.isArray(v.actions)?v.actions:[]).concat(void 0!==H[e.type]&&!0===Array.isArray(H[e.type].actions)?H[e.type].actions:[]),{closeBtn:d}=o;if(d&&i.push({label:"string"===typeof d?d:l.lang.label.close}),o.actions=i.map((({handler:e,noDismiss:l,...C})=>({flat:!0,...C,onClick:"function"===typeof e?()=>{e(),!0!==l&&n()}:()=>{n()}}))),void 0===o.multiLine&&(o.multiLine=o.actions.length>1),Object.assign(o.meta,{class:"q-notification row items-stretch q-notification--"+(!0===o.multiLine?"multi-line":"standard")+(void 0!==o.color?` bg-${o.color}`:"")+(void 0!==o.textColor?` text-${o.textColor}`:"")+(void 0!==o.classes?` ${o.classes}`:""),wrapperClass:"q-notification__wrapper col relative-position border-radius-inherit "+(!0===o.multiLine?"column no-wrap justify-center":"row items-center"),contentClass:"q-notification__content row items-center"+(!0===o.multiLine?"":" col"),leftClass:!0===o.meta.hasText?"additional":"single",attrs:{role:"alert",...o.attrs}}),!1===o.group?(o.group=void 0,o.meta.group=void 0):(void 0!==o.group&&!0!==o.group||(o.group=[o.message,o.caption,o.multiline].concat(o.actions.map((e=>`${e.label}*${e.icon}`))).join("|")),o.meta.group=o.group+"|"+o.position),0===o.actions.length?o.actions=void 0:o.meta.actionsClass="q-notification__actions row items-center "+(!0===o.multiLine?"justify-end":"col-auto")+(!0===o.meta.hasMedia?" q-notification__actions--with-media":""),void 0!==C){C.notif.meta.timer&&(clearTimeout(C.notif.meta.timer),C.notif.meta.timer=void 0),o.meta.uid=C.notif.meta.uid;const e=L[o.position].value.indexOf(C.notif);L[o.position].value[e]=o}else{const l=h[o.meta.group];if(void 0===l){if(o.meta.uid=s++,o.meta.badge=1,-1!==["left","right","center"].indexOf(o.position))L[o.position].value.splice(Math.floor(L[o.position].value.length/2),0,o);else{const e=o.position.indexOf("top")>-1?"unshift":"push";L[o.position].value[e](o)}void 0!==o.group&&(h[o.meta.group]=o)}else{if(l.meta.timer&&(clearTimeout(l.meta.timer),l.meta.timer=void 0),void 0!==o.badgePosition){if(!1===m.includes(o.badgePosition))return k("wrong badgePosition",e)}else o.badgePosition="top-"+(o.position.indexOf("left")>-1?"right":"left");o.meta.uid=l.meta.uid,o.meta.badge=l.meta.badge+1,o.meta.badgeClass=`q-notification__badge q-notification__badge--${o.badgePosition}`+(void 0!==o.badgeColor?` bg-${o.badgeColor}`:"")+(void 0!==o.badgeTextColor?` text-${o.badgeTextColor}`:"")+(o.badgeClass?` ${o.badgeClass}`:"");const C=L[o.position].value.indexOf(l);L[o.position].value[C]=h[o.meta.group]=o}}const n=()=>{b(o),t=void 0};return o.timeout>0&&(o.meta.timer=setTimeout((()=>{o.meta.timer=void 0,n()}),o.timeout+1e3)),void 0!==o.group?l=>{void 0!==l?k("trying to update a grouped one which is forbidden",e):n()}:(t={dismiss:n,config:e,notif:o},void 0===C?e=>{if(void 0!==t)if(void 0===e)t.dismiss();else{const C=Object.assign({},t.config,e,{group:!1,position:o.position});V(C,l,t)}}:void Object.assign(C,t))}function b(e){e.meta.timer&&(clearTimeout(e.meta.timer),e.meta.timer=void 0);const l=L[e.position].value.indexOf(e);if(-1!==l){void 0!==e.group&&delete h[e.meta.group];const C=w[""+e.meta.uid];if(C){const{width:e,height:l}=getComputedStyle(C);C.style.left=`${C.offsetLeft}px`,C.style.width=e,C.style.height=l}L[e.position].value.splice(l,1),"function"===typeof e.onDismiss&&e.onDismiss()}}function x(e){return void 0!==e&&null!==e&&!0!==Z.test(e)}function k(e,l){return console.error(`Notify: ${e}`,l),!1}function y(){return(0,u.L)({name:"QNotifications",devtools:{hide:!0},setup(){return()=>(0,t.h)("div",{class:"q-notifications"},M.map((e=>(0,t.h)(o.W3,{key:e,class:g[e],tag:"div",name:`q-notification--${e}`},(()=>L[e].value.map((e=>{const l=e.meta,C=[];if(!0===l.hasMedia&&(!1!==e.spinner?C.push((0,t.h)(e.spinner,{class:"q-notification__spinner q-notification__spinner--"+l.leftClass,color:e.spinnerColor,size:e.spinnerSize})):e.icon?C.push((0,t.h)(d.Z,{class:"q-notification__icon q-notification__icon--"+l.leftClass,name:e.icon,color:e.iconColor,size:e.iconSize,role:"img"})):e.avatar&&C.push((0,t.h)(i.Z,{class:"q-notification__avatar q-notification__avatar--"+l.leftClass},(()=>(0,t.h)("img",{src:e.avatar,"aria-hidden":"true"}))))),!0===l.hasText){let l;const r={class:"q-notification__message col"};if(!0===e.html)r.innerHTML=e.caption?`
${e.message}
${e.caption}
`:e.message;else{const C=[e.message];l=e.caption?[(0,t.h)("div",C),(0,t.h)("div",{class:"q-notification__caption"},[e.caption])]:C}C.push((0,t.h)("div",r,l))}const r=[(0,t.h)("div",{class:l.contentClass},C)];return!0===e.progress&&r.push((0,t.h)("div",{key:`${l.uid}|p|${l.badge}`,class:l.progressClass,style:l.progressStyle})),void 0!==e.actions&&r.push((0,t.h)("div",{class:l.actionsClass},e.actions.map((e=>(0,t.h)(n.Z,e))))),l.badge>1&&r.push((0,t.h)("div",{key:`${l.uid}|${l.badge}`,class:e.meta.badgeClass,style:e.badgeStyle},[l.badge])),(0,t.h)("div",{ref:e=>{w[""+l.uid]=e},key:l.uid,class:l.class,...l.attrs},[(0,t.h)("div",{class:l.wrapperClass},r)])})))))))}})}const A={setDefaults(e){!0===(0,f.Kn)(e)&&Object.assign(v,e)},registerType(e,l){!0===(0,f.Kn)(l)&&(H[e]=l)},install({$q:e,parentApp:l}){if(e.notify=this.create=l=>V(l,e),e.notify.setDefaults=this.setDefaults,e.notify.registerType=this.registerType,void 0!==e.config.notify&&this.setDefaults(e.config.notify),!0!==this.__installed){M.forEach((e=>{L[e]=(0,r.iH)([]);const l=!0===["left","center","right"].includes(e)?"center":e.indexOf("top")>-1?"top":"bottom",C=e.indexOf("left")>-1?"start":e.indexOf("right")>-1?"end":"center",t=["left","right"].includes(e)?`items-${"left"===e?"start":"end"} justify-center`:"center"===e?"flex-center":`items-${C}`;g[e]=`q-notifications__list q-notifications__list--${l} fixed column no-wrap ${t}`}));const e=(0,a.q_)("q-notify");(0,p.$)(y(),l).mount(e)}}}},47506:(e,l,C)=>{"use strict";C.d(l,{ZP:()=>L,aG:()=>i,client:()=>v,uX:()=>o});C(69665);var r=C(60499),t=C(43251);const o=(0,r.iH)(!1);let i,d=!1;function n(e,l){const C=/(edg|edge|edga|edgios)\/([\w.]+)/.exec(e)||/(opr)[\/]([\w.]+)/.exec(e)||/(vivaldi)[\/]([\w.]+)/.exec(e)||/(chrome|crios)[\/]([\w.]+)/.exec(e)||/(version)(applewebkit)[\/]([\w.]+).*(safari)[\/]([\w.]+)/.exec(e)||/(webkit)[\/]([\w.]+).*(version)[\/]([\w.]+).*(safari)[\/]([\w.]+)/.exec(e)||/(firefox|fxios)[\/]([\w.]+)/.exec(e)||/(webkit)[\/]([\w.]+)/.exec(e)||/(opera)(?:.*version|)[\/]([\w.]+)/.exec(e)||[];return{browser:C[5]||C[3]||C[1]||"",version:C[2]||C[4]||"0",versionNumber:C[4]||C[2]||"0",platform:l[0]||""}}function c(e){return/(ipad)/.exec(e)||/(ipod)/.exec(e)||/(windows phone)/.exec(e)||/(iphone)/.exec(e)||/(kindle)/.exec(e)||/(silk)/.exec(e)||/(android)/.exec(e)||/(win)/.exec(e)||/(mac)/.exec(e)||/(linux)/.exec(e)||/(cros)/.exec(e)||/(playbook)/.exec(e)||/(bb)/.exec(e)||/(blackberry)/.exec(e)||[]}const u="ontouchstart"in window||window.navigator.maxTouchPoints>0;function a(e){i={is:{...e}},delete e.mac,delete e.desktop;const l=Math.min(window.innerHeight,window.innerWidth)>414?"ipad":"iphone";Object.assign(e,{mobile:!0,ios:!0,platform:l,[l]:!0})}function p(e){const l=e.toLowerCase(),C=c(l),r=n(l,C),t={};r.browser&&(t[r.browser]=!0,t.version=r.version,t.versionNumber=parseInt(r.versionNumber,10)),r.platform&&(t[r.platform]=!0);const o=t.android||t.ios||t.bb||t.blackberry||t.ipad||t.iphone||t.ipod||t.kindle||t.playbook||t.silk||t["windows phone"];return!0===o||l.indexOf("mobile")>-1?(t.mobile=!0,t.edga||t.edgios?(t.edge=!0,r.browser="edge"):t.crios?(t.chrome=!0,r.browser="chrome"):t.fxios&&(t.firefox=!0,r.browser="firefox")):t.desktop=!0,(t.ipod||t.ipad||t.iphone)&&(t.ios=!0),t["windows phone"]&&(t.winphone=!0,delete t["windows phone"]),(t.chrome||t.opr||t.safari||t.vivaldi||!0===t.mobile&&!0!==t.ios&&!0!==o)&&(t.webkit=!0),t.edg&&(r.browser="edgechromium",t.edgeChromium=!0),(t.safari&&t.blackberry||t.bb)&&(r.browser="blackberry",t.blackberry=!0),t.safari&&t.playbook&&(r.browser="playbook",t.playbook=!0),t.opr&&(r.browser="opera",t.opera=!0),t.safari&&t.android&&(r.browser="android",t.android=!0),t.safari&&t.kindle&&(r.browser="kindle",t.kindle=!0),t.safari&&t.silk&&(r.browser="silk",t.silk=!0),t.vivaldi&&(r.browser="vivaldi",t.vivaldi=!0),t.name=r.browser,t.platform=r.platform,l.indexOf("electron")>-1?t.electron=!0:document.location.href.indexOf("-extension://")>-1?t.bex=!0:(void 0!==window.Capacitor?(t.capacitor=!0,t.nativeMobile=!0,t.nativeMobileWrapper="capacitor"):void 0===window._cordovaNative&&void 0===window.cordova||(t.cordova=!0,t.nativeMobile=!0,t.nativeMobileWrapper="cordova"),!0===u&&!0===t.mac&&(!0===t.desktop&&!0===t.safari||!0===t.nativeMobile&&!0!==t.android&&!0!==t.ios&&!0!==t.ipad)&&a(t)),t}const f=navigator.userAgent||navigator.vendor||window.opera,s={has:{touch:!1,webStorage:!1},within:{iframe:!1}},v={userAgent:f,is:p(f),has:{touch:u},within:{iframe:window.self!==window.top}},h={install(e){const{$q:l}=e;!0===o.value?(e.onSSRHydrated.push((()=>{Object.assign(l.platform,v),o.value=!1,i=void 0})),l.platform=(0,r.qj)(this)):l.platform=this}};{let e;(0,t.g)(v.has,"webStorage",(()=>{if(void 0!==e)return e;try{if(window.localStorage)return e=!0,!0}catch(l){}return e=!1,!1})),d=!0===v.is.ios&&-1===window.navigator.vendor.toLowerCase().indexOf("apple"),!0===o.value?Object.assign(h,v,i,s):Object.assign(h,v)}const L=h},60899:(e,l,C)=>{"use strict";function r(e,l=250,C){let r=null;function t(){const t=arguments,o=()=>{r=null,!0!==C&&e.apply(this,t)};null!==r?clearTimeout(r):!0===C&&e.apply(this,t),r=setTimeout(o,l)}return t.cancel=()=>{null!==r&&clearTimeout(r)},t}C.d(l,{Z:()=>r})},70223:(e,l,C)=>{"use strict";C.d(l,{iv:()=>t,mY:()=>i,sb:()=>o});var r=C(60499);function t(e,l){const C=e.style;for(const r in l)C[r]=l[r]}function o(e){if(void 0===e||null===e)return;if("string"===typeof e)try{return document.querySelector(e)||void 0}catch(C){return}const l=(0,r.SU)(e);return l?l.$el||l:void 0}function i(e,l){if(void 0===e||null===e||!0===e.contains(l))return!0;for(let C=e.nextElementSibling;null!==C;C=C.nextElementSibling)if(C.contains(l))return!0;return!1}},91384:(e,l,C)=>{"use strict";C.d(l,{AZ:()=>d,FK:()=>i,Jf:()=>a,M0:()=>p,NS:()=>u,X$:()=>c,ZT:()=>t,du:()=>o,listenOpts:()=>r,sT:()=>n,ul:()=>f});C(69665);const r={hasPassive:!1,passiveCapture:!0,notPassiveCapture:!0};try{const e=Object.defineProperty({},"passive",{get(){Object.assign(r,{hasPassive:!0,passive:{passive:!0},notPassive:{passive:!1},passiveCapture:{passive:!0,capture:!0},notPassiveCapture:{passive:!1,capture:!0}})}});window.addEventListener("qtest",null,e),window.removeEventListener("qtest",null,e)}catch(s){}function t(){}function o(e){return 0===e.button}function i(e){return e.touches&&e.touches[0]?e=e.touches[0]:e.changedTouches&&e.changedTouches[0]?e=e.changedTouches[0]:e.targetTouches&&e.targetTouches[0]&&(e=e.targetTouches[0]),{top:e.clientY,left:e.clientX}}function d(e){if(e.path)return e.path;if(e.composedPath)return e.composedPath();const l=[];let C=e.target;while(C){if(l.push(C),"HTML"===C.tagName)return l.push(document),l.push(window),l;C=C.parentElement}}function n(e){e.stopPropagation()}function c(e){!1!==e.cancelable&&e.preventDefault()}function u(e){!1!==e.cancelable&&e.preventDefault(),e.stopPropagation()}function a(e,l){if(void 0===e||!0===l&&!0===e.__dragPrevented)return;const C=!0===l?e=>{e.__dragPrevented=!0,e.addEventListener("dragstart",c,r.notPassiveCapture)}:e=>{delete e.__dragPrevented,e.removeEventListener("dragstart",c,r.notPassiveCapture)};e.querySelectorAll("a, img").forEach(C)}function p(e,l,C){const t=`__q_${l}_evt`;e[t]=void 0!==e[t]?e[t].concat(C):C,C.forEach((l=>{l[0].addEventListener(l[1],e[l[2]],r[l[3]])}))}function f(e,l){const C=`__q_${l}_evt`;void 0!==e[C]&&(e[C].forEach((l=>{l[0].removeEventListener(l[1],e[l[2]],r[l[3]])})),e[C]=void 0)}},30321:(e,l,C)=>{"use strict";C.d(l,{Uz:()=>i,rB:()=>t,vX:()=>o});const r=["B","KB","MB","GB","TB","PB"];function t(e){let l=0;while(parseInt(e,10)>=1024&&l{"use strict";C.d(l,{J_:()=>o,Kn:()=>t,hj:()=>i,xb:()=>r});C(83122);function r(e,l){if(e===l)return!0;if(null!==e&&null!==l&&"object"===typeof e&&"object"===typeof l){if(e.constructor!==l.constructor)return!1;let C,t;if(e.constructor===Array){if(C=e.length,C!==l.length)return!1;for(t=C;0!==t--;)if(!0!==r(e[t],l[t]))return!1;return!0}if(e.constructor===Map){if(e.size!==l.size)return!1;let C=e.entries();t=C.next();while(!0!==t.done){if(!0!==l.has(t.value[0]))return!1;t=C.next()}C=e.entries(),t=C.next();while(!0!==t.done){if(!0!==r(t.value[1],l.get(t.value[0])))return!1;t=C.next()}return!0}if(e.constructor===Set){if(e.size!==l.size)return!1;const C=e.entries();t=C.next();while(!0!==t.done){if(!0!==l.has(t.value[0]))return!1;t=C.next()}return!0}if(null!=e.buffer&&e.buffer.constructor===ArrayBuffer){if(C=e.length,C!==l.length)return!1;for(t=C;0!==t--;)if(e[t]!==l[t])return!1;return!0}if(e.constructor===RegExp)return e.source===l.source&&e.flags===l.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===l.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===l.toString();const o=Object.keys(e).filter((l=>void 0!==e[l]));if(C=o.length,C!==Object.keys(l).filter((e=>void 0!==l[e])).length)return!1;for(t=C;0!==t--;){const C=o[t];if(!0!==r(e[C],l[C]))return!1}return!0}return e!==e&&l!==l}function t(e){return null!==e&&"object"===typeof e&&!0!==Array.isArray(e)}function o(e){return"[object Date]"===Object.prototype.toString.call(e)}function i(e){return"number"===typeof e&&isFinite(e)}},33752:(e,l,C)=>{"use strict";C.d(l,{Z:()=>n});C(69665);var r=C(47506),t=C(91384),o=C(4680);function i(e){const l=Object.assign({noopener:!0},e),C=[];for(const r in l){const e=l[r];!0===e?C.push(r):((0,o.hj)(e)||"string"===typeof e&&""!==e)&&C.push(r+"="+e)}return C.join(",")}function d(e,l,C){let t=window.open;if(!0===r.ZP.is.cordova)if(void 0!==cordova&&void 0!==cordova.InAppBrowser&&void 0!==cordova.InAppBrowser.open)t=cordova.InAppBrowser.open;else if(void 0!==navigator&&void 0!==navigator.app)return navigator.app.loadUrl(e,{openExternal:!0});const o=t(e,"_blank",i(C));if(o)return r.ZP.is.desktop&&o.focus(),o;l&&l()}const n=(e,l,C)=>{if(!0!==r.ZP.is.ios||void 0===window.SafariViewController)return d(e,l,C);window.SafariViewController.isAvailable((r=>{r?window.SafariViewController.show({url:e},t.ZT,l):d(e,l,C)}))}},49092:(e,l,C)=>{"use strict";C.d(l,{D:()=>u,m:()=>c});C(69665);var r=C(91384),t=C(2909);let o=null;const{notPassiveCapture:i}=r.listenOpts,d=[];function n(e){null!==o&&(clearTimeout(o),o=null);const l=e.target;if(void 0===l||8===l.nodeType||!0===l.classList.contains("no-pointer-events"))return;let C=t.Q$.length-1;while(C>=0){const e=t.Q$[C].$;if("QTooltip"!==e.type.name){if("QDialog"!==e.type.name)break;if(!0!==e.props.seamless)return;C--}else C--}for(let r=d.length-1;r>=0;r--){const C=d[r];if(null!==C.anchorEl.value&&!1!==C.anchorEl.value.contains(l)||l!==document.body&&(null===C.innerRef.value||!1!==C.innerRef.value.contains(l)))return;e.qClickOutside=!0,C.onClickOutside(e)}}function c(e){d.push(e),1===d.length&&(document.addEventListener("mousedown",n,i),document.addEventListener("touchstart",n,i))}function u(e){const l=d.findIndex((l=>l===e));l>-1&&(d.splice(l,1),0===d.length&&(null!==o&&(clearTimeout(o),o=null),document.removeEventListener("mousedown",n,i),document.removeEventListener("touchstart",n,i)))}},65987:(e,l,C)=>{"use strict";C.d(l,{L:()=>o,f:()=>i});var r=C(60499),t=C(59835);const o=e=>(0,r.Xl)((0,t.aZ)(e)),i=e=>(0,r.Xl)(e)},74124:(e,l,C)=>{"use strict";C.d(l,{Z:()=>o});var r=C(60499),t=C(43251);const o=(e,l)=>{const C=(0,r.qj)(e);for(const r in e)(0,t.g)(l,r,(()=>C[r]),(e=>{C[r]=e}));return l}},16532:(e,l,C)=>{"use strict";C.d(l,{c:()=>a,k:()=>p});C(69665);var r=C(47506),t=C(61705);const o=[];let i;function d(e){i=27===e.keyCode}function n(){!0===i&&(i=!1)}function c(e){!0===i&&(i=!1,!0===(0,t.So)(e,27)&&o[o.length-1](e))}function u(e){window[e]("keydown",d),window[e]("blur",n),window[e]("keyup",c),i=!1}function a(e){!0===r.client.is.desktop&&(o.push(e),1===o.length&&u("addEventListener"))}function p(e){const l=o.indexOf(e);l>-1&&(o.splice(l,1),0===o.length&&u("removeEventListener"))}},17026:(e,l,C)=>{"use strict";C.d(l,{YX:()=>i,fP:()=>c,jd:()=>n,xF:()=>d});C(69665);let r=[],t=[];function o(e){t=t.filter((l=>l!==e))}function i(e){o(e),t.push(e)}function d(e){o(e),0===t.length&&0!==r.length&&(r[r.length-1](),r=[])}function n(e){0===t.length?e():r.push(e)}function c(e){r=r.filter((l=>l!==e))}},4173:(e,l,C)=>{"use strict";C.d(l,{H:()=>d,i:()=>i});C(69665);var r=C(47506);const t=[];function o(e){t[t.length-1](e)}function i(e){!0===r.client.is.desktop&&(t.push(e),1===t.length&&document.body.addEventListener("focusin",o))}function d(e){const l=t.indexOf(e);l>-1&&(t.splice(l,1),0===t.length&&document.body.removeEventListener("focusin",o))}},27495:(e,l,C)=>{"use strict";C.d(l,{Uf:()=>t,tP:()=>o,w6:()=>r});const r={};let t=!1;function o(){t=!0}},56669:(e,l,C)=>{"use strict";C.d(l,{pB:()=>c,q_:()=>n});C(69665);var r=C(27495);const t=[],o=[];let i=1,d=document.body;function n(e,l){const C=document.createElement("div");if(C.id=void 0!==l?`q-portal--${l}--${i++}`:e,void 0!==r.w6.globalNodes){const e=r.w6.globalNodes.class;void 0!==e&&(C.className=e)}return d.appendChild(C),t.push(C),o.push(l),C}function c(e){const l=t.indexOf(e);t.splice(l,1),o.splice(l,1),e.remove()}},43251:(e,l,C)=>{"use strict";function r(e,l,C,r){return Object.defineProperty(e,l,{get:C,set:r,enumerable:!0}),e}function t(e,l){for(const C in l)r(e,C,l[C]);return e}C.d(l,{K:()=>t,g:()=>r})},61705:(e,l,C)=>{"use strict";C.d(l,{So:()=>i,Wm:()=>o,ZK:()=>t});let r=!1;function t(e){r=!0===e.isComposing}function o(e){return!0===r||e!==Object(e)||!0===e.isComposing||!0===e.qKeyEvent}function i(e,l){return!0!==o(e)&&[].concat(l).includes(e.keyCode)}},2909:(e,l,C)=>{"use strict";C.d(l,{AH:()=>i,Q$:()=>t,S7:()=>d,je:()=>o});var r=C(52046);const t=[];function o(e){return t.find((l=>null!==l.contentEl&&l.contentEl.contains(e)))}function i(e,l){do{if("QMenu"===e.$options.name){if(e.hide(l),!0===e.$props.separateClosePopup)return(0,r.O2)(e)}else if(!0===e.__qPortal){const C=(0,r.O2)(e);return void 0!==C&&"QPopupProxy"===C.$options.name?(e.hide(l),C):e}e=(0,r.O2)(e)}while(void 0!==e&&null!==e)}function d(e,l,C){while(0!==C&&void 0!==e&&null!==e){if(!0===e.__qPortal){if(C--,"QMenu"===e.$options.name){e=i(e,l);continue}e.hide(l)}e=(0,r.O2)(e)}}},49388:(e,l,C)=>{"use strict";C.d(l,{$:()=>d,io:()=>n,li:()=>u,wq:()=>v});var r=C(43701),t=C(47506);let o,i;function d(e){const l=e.split(" ");return 2===l.length&&(!0!==["top","center","bottom"].includes(l[0])?(console.error("Anchor/Self position must start with one of top/center/bottom"),!1):!0===["left","middle","right","start","end"].includes(l[1])||(console.error("Anchor/Self position must end with one of left/middle/right/start/end"),!1))}function n(e){return!e||2===e.length&&("number"===typeof e[0]&&"number"===typeof e[1])}const c={"start#ltr":"left","start#rtl":"right","end#ltr":"right","end#rtl":"left"};function u(e,l){const C=e.split(" ");return{vertical:C[0],horizontal:c[`${C[1]}#${!0===l?"rtl":"ltr"}`]}}function a(e,l){let{top:C,left:r,right:t,bottom:o,width:i,height:d}=e.getBoundingClientRect();return void 0!==l&&(C-=l[1],r-=l[0],o+=l[1],t+=l[0],i+=l[0],d+=l[1]),{top:C,bottom:o,height:d,left:r,right:t,width:i,middle:r+(t-r)/2,center:C+(o-C)/2}}function p(e,l,C){let{top:r,left:t}=e.getBoundingClientRect();return r+=l.top,t+=l.left,void 0!==C&&(r+=C[1],t+=C[0]),{top:r,bottom:r+1,height:1,left:t,right:t+1,width:1,middle:t,center:r}}function f(e,l){return{top:0,center:l/2,bottom:l,left:0,middle:e/2,right:e}}function s(e,l,C,r){return{top:e[C.vertical]-l[r.vertical],left:e[C.horizontal]-l[r.horizontal]}}function v(e,l=0){if(null===e.targetEl||null===e.anchorEl||l>5)return;if(0===e.targetEl.offsetHeight||0===e.targetEl.offsetWidth)return void setTimeout((()=>{v(e,l+1)}),10);const{targetEl:C,offset:r,anchorEl:d,anchorOrigin:n,selfOrigin:c,absoluteOffset:u,fit:L,cover:g,maxHeight:Z,maxWidth:w}=e;if(!0===t.client.is.ios&&void 0!==window.visualViewport){const e=document.body.style,{offsetLeft:l,offsetTop:C}=window.visualViewport;l!==o&&(e.setProperty("--q-pe-left",l+"px"),o=l),C!==i&&(e.setProperty("--q-pe-top",C+"px"),i=C)}const{scrollLeft:M,scrollTop:m}=C,H=void 0===u?a(d,!0===g?[0,0]:r):p(d,u,r);Object.assign(C.style,{top:0,left:0,minWidth:null,minHeight:null,maxWidth:w||"100vw",maxHeight:Z||"100vh",visibility:"visible"});const{offsetWidth:V,offsetHeight:b}=C,{elWidth:x,elHeight:k}=!0===L||!0===g?{elWidth:Math.max(H.width,V),elHeight:!0===g?Math.max(H.height,b):b}:{elWidth:V,elHeight:b};let y={maxWidth:w,maxHeight:Z};!0!==L&&!0!==g||(y.minWidth=H.width+"px",!0===g&&(y.minHeight=H.height+"px")),Object.assign(C.style,y);const A=f(x,k);let B=s(H,A,n,c);if(void 0===u||void 0===r)h(B,H,A,n,c);else{const{top:e,left:l}=B;h(B,H,A,n,c);let C=!1;if(B.top!==e){C=!0;const e=2*r[1];H.center=H.top-=e,H.bottom-=e+2}if(B.left!==l){C=!0;const e=2*r[0];H.middle=H.left-=e,H.right-=e+2}!0===C&&(B=s(H,A,n,c),h(B,H,A,n,c))}y={top:B.top+"px",left:B.left+"px"},void 0!==B.maxHeight&&(y.maxHeight=B.maxHeight+"px",H.height>B.maxHeight&&(y.minHeight=y.maxHeight)),void 0!==B.maxWidth&&(y.maxWidth=B.maxWidth+"px",H.width>B.maxWidth&&(y.minWidth=y.maxWidth)),Object.assign(C.style,y),C.scrollTop!==m&&(C.scrollTop=m),C.scrollLeft!==M&&(C.scrollLeft=M)}function h(e,l,C,t,o){const i=C.bottom,d=C.right,n=(0,r.np)(),c=window.innerHeight-n,u=document.body.clientWidth;if(e.top<0||e.top+i>c)if("center"===o.vertical)e.top=l[t.vertical]>c/2?Math.max(0,c-i):0,e.maxHeight=Math.min(i,c);else if(l[t.vertical]>c/2){const C=Math.min(c,"center"===t.vertical?l.center:t.vertical===o.vertical?l.bottom:l.top);e.maxHeight=Math.min(i,C),e.top=Math.max(0,C-i)}else e.top=Math.max(0,"center"===t.vertical?l.center:t.vertical===o.vertical?l.top:l.bottom),e.maxHeight=Math.min(i,c-e.top);if(e.left<0||e.left+d>u)if(e.maxWidth=Math.min(d,u),"middle"===o.horizontal)e.left=l[t.horizontal]>u/2?Math.max(0,u-d):0;else if(l[t.horizontal]>u/2){const C=Math.min(u,"middle"===t.horizontal?l.middle:t.horizontal===o.horizontal?l.right:l.left);e.maxWidth=Math.min(d,C),e.left=Math.max(0,C-e.maxWidth)}else e.left=Math.max(0,"middle"===t.horizontal?l.middle:t.horizontal===o.horizontal?l.left:l.right),e.maxWidth=Math.min(d,u-e.left)}["left","middle","right"].forEach((e=>{c[`${e}#ltr`]=e,c[`${e}#rtl`]=e}))},22026:(e,l,C)=>{"use strict";C.d(l,{Bl:()=>o,Jl:()=>n,KR:()=>t,pf:()=>d,vs:()=>i});var r=C(59835);function t(e,l){return void 0!==e&&e()||l}function o(e,l){if(void 0!==e){const l=e();if(void 0!==l&&null!==l)return l.slice()}return l}function i(e,l){return void 0!==e?l.concat(e()):l}function d(e,l){return void 0===e?l:void 0!==l?l.concat(e()):e()}function n(e,l,C,t,o,i){l.key=t+o;const d=(0,r.h)(e,l,C);return!0===o?(0,r.wy)(d,i()):d}},78383:(e,l,C)=>{"use strict";C.d(l,{e:()=>r});let r=!1;{const e=document.createElement("div");e.setAttribute("dir","rtl"),Object.assign(e.style,{width:"1px",height:"1px",overflow:"auto"});const l=document.createElement("div");Object.assign(l.style,{width:"1000px",height:"1px"}),document.body.appendChild(e),e.appendChild(l),e.scrollLeft=-1e3,r=e.scrollLeft>=0,e.remove()}},2589:(e,l,C)=>{"use strict";C.d(l,{M:()=>t});var r=C(47506);function t(){if(void 0!==window.getSelection){const e=window.getSelection();void 0!==e.empty?e.empty():void 0!==e.removeAllRanges&&(e.removeAllRanges(),!0!==r.ZP.is.mobile&&e.addRange(document.createRange()))}else void 0!==document.selection&&document.selection.empty()}},95439:(e,l,C)=>{"use strict";C.d(l,{Mw:()=>o,Nd:()=>d,Ng:()=>r,Xh:()=>n,YE:()=>t,qO:()=>c,vh:()=>i});const r="_q_",t="_q_l_",o="_q_pc_",i="_q_fo_",d="_q_tabs_",n="_q_u_",c=()=>{}},99367:(e,l,C)=>{"use strict";C.d(l,{R:()=>o,n:()=>d});const r={left:!0,right:!0,up:!0,down:!0,horizontal:!0,vertical:!0},t=Object.keys(r);function o(e){const l={};for(const C of t)!0===e[C]&&(l[C]=!0);return 0===Object.keys(l).length?r:(!0===l.horizontal?l.left=l.right=!0:!0===l.left&&!0===l.right&&(l.horizontal=!0),!0===l.vertical?l.up=l.down=!0:!0===l.up&&!0===l.down&&(l.vertical=!0),!0===l.horizontal&&!0===l.vertical&&(l.all=!0),l)}r.all=!0;const i=["INPUT","TEXTAREA"];function d(e,l){return void 0===l.event&&void 0!==e.target&&!0!==e.target.draggable&&"function"===typeof l.handler&&!1===i.includes(e.target.nodeName.toUpperCase())&&(void 0===e.qClonedBy||-1===e.qClonedBy.indexOf(l.uid))}},52046:(e,l,C)=>{"use strict";function r(e){if(Object(e.$parent)===e.$parent)return e.$parent;let{parent:l}=e.$;while(Object(l)===l){if(Object(l.proxy)===l.proxy)return l.proxy;l=l.parent}}function t(e,l){"symbol"===typeof l.type?!0===Array.isArray(l.children)&&l.children.forEach((l=>{t(e,l)})):e.add(l)}function o(e){const l=new Set;return e.forEach((e=>{t(l,e)})),Array.from(l)}function i(e){return void 0!==e.appContext.config.globalProperties.$router}function d(e){return!0===e.isUnmounted||!0===e.isDeactivated}C.d(l,{$D:()=>d,O2:()=>r,Pf:()=>o,Rb:()=>i})},43701:(e,l,C)=>{"use strict";C.d(l,{OI:()=>d,QA:()=>h,b0:()=>o,f3:()=>p,ik:()=>f,np:()=>v,u3:()=>i});var r=C(70223);const t=[null,document,document.body,document.scrollingElement,document.documentElement];function o(e,l){let C=(0,r.sb)(l);if(void 0===C){if(void 0===e||null===e)return window;C=e.closest(".scroll,.scroll-y,.overflow-auto")}return t.includes(C)?window:C}function i(e){return e===window?window.pageYOffset||window.scrollY||document.body.scrollTop||0:e.scrollTop}function d(e){return e===window?window.pageXOffset||window.scrollX||document.body.scrollLeft||0:e.scrollLeft}function n(e,l,C=0){const r=void 0===arguments[3]?performance.now():arguments[3],t=i(e);C<=0?t!==l&&u(e,l):requestAnimationFrame((o=>{const i=o-r,d=t+(l-t)/Math.max(i,C)*i;u(e,d),d!==l&&n(e,l,C-i,o)}))}function c(e,l,C=0){const r=void 0===arguments[3]?performance.now():arguments[3],t=d(e);C<=0?t!==l&&a(e,l):requestAnimationFrame((o=>{const i=o-r,d=t+(l-t)/Math.max(i,C)*i;a(e,d),d!==l&&c(e,l,C-i,o)}))}function u(e,l){e!==window?e.scrollTop=l:window.scrollTo(window.pageXOffset||window.scrollX||document.body.scrollLeft||0,l)}function a(e,l){e!==window?e.scrollLeft=l:window.scrollTo(l,window.pageYOffset||window.scrollY||document.body.scrollTop||0)}function p(e,l,C){C?n(e,l,C):u(e,l)}function f(e,l,C){C?c(e,l,C):a(e,l)}let s;function v(){if(void 0!==s)return s;const e=document.createElement("p"),l=document.createElement("div");(0,r.iv)(e,{width:"100%",height:"200px"}),(0,r.iv)(l,{position:"absolute",top:"0px",left:"0px",visibility:"hidden",width:"200px",height:"150px",overflow:"hidden"}),l.appendChild(e),document.body.appendChild(l);const C=e.offsetWidth;l.style.overflow="scroll";let t=e.offsetWidth;return C===t&&(t=l.clientWidth),l.remove(),s=C-t,s}function h(e,l=!0){return!(!e||e.nodeType!==Node.ELEMENT_NODE)&&(l?e.scrollHeight>e.clientHeight&&(e.classList.contains("scroll")||e.classList.contains("overflow-auto")||["auto","scroll"].includes(window.getComputedStyle(e)["overflow-y"])):e.scrollWidth>e.clientWidth&&(e.classList.contains("scroll")||e.classList.contains("overflow-auto")||["auto","scroll"].includes(window.getComputedStyle(e)["overflow-x"])))}},50796:(e,l,C)=>{"use strict";C.d(l,{Z:()=>n});C(25231),C(3075),C(90548),C(62279),C(2157),C(46735),C(69665);let r,t=0;const o=new Array(256);for(let c=0;c<256;c++)o[c]=(c+256).toString(16).substring(1);const i=(()=>{const e="undefined"!==typeof crypto?crypto:"undefined"!==typeof window?window.crypto||window.msCrypto:void 0;if(void 0!==e){if(void 0!==e.randomBytes)return e.randomBytes;if(void 0!==e.getRandomValues)return l=>{const C=new Uint8Array(l);return e.getRandomValues(C),C}}return e=>{const l=[];for(let C=e;C>0;C--)l.push(Math.floor(256*Math.random()));return l}})(),d=4096;function n(){(void 0===r||t+16>d)&&(t=0,r=i(d));const e=Array.prototype.slice.call(r,t,t+=16);return e[6]=15&e[6]|64,e[8]=63&e[8]|128,o[e[0]]+o[e[1]]+o[e[2]]+o[e[3]]+"-"+o[e[4]]+o[e[5]]+"-"+o[e[6]]+o[e[7]]+"-"+o[e[8]]+o[e[9]]+"-"+o[e[10]]+o[e[11]]+o[e[12]]+o[e[13]]+o[e[14]]+o[e[15]]}},71947:(e,l,C)=>{"use strict";C.d(l,{Z:()=>i});var r=C(87451),t=C(33558),o=C(72289);const i={version:"2.12.6",install:r.Z,lang:t.Z,iconSet:o.Z}},28762:(e,l,C)=>{"use strict";var r=C(66107),t=C(57545),o=TypeError;e.exports=function(e){if(r(e))return e;throw o(t(e)+" is not a function")}},29220:(e,l,C)=>{"use strict";var r=C(66107),t=String,o=TypeError;e.exports=function(e){if("object"==typeof e||r(e))return e;throw o("Can't set "+t(e)+" as a prototype")}},30616:(e,l,C)=>{"use strict";var r=C(71419),t=String,o=TypeError;e.exports=function(e){if(r(e))return e;throw o(t(e)+" is not an object")}},48389:e=>{"use strict";e.exports="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView},68086:(e,l,C)=>{"use strict";var r,t,o,i=C(48389),d=C(94133),n=C(53834),c=C(66107),u=C(71419),a=C(62924),p=C(34239),f=C(57545),s=C(64722),v=C(54076),h=C(59570),L=C(36123),g=C(27886),Z=C(16534),w=C(14103),M=C(93965),m=C(80780),H=m.enforce,V=m.get,b=n.Int8Array,x=b&&b.prototype,k=n.Uint8ClampedArray,y=k&&k.prototype,A=b&&g(b),B=x&&g(x),O=Object.prototype,F=n.TypeError,S=w("toStringTag"),P=M("TYPED_ARRAY_TAG"),_="TypedArrayConstructor",T=i&&!!Z&&"Opera"!==p(n.opera),E=!1,q={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},D={BigInt64Array:8,BigUint64Array:8},R=function(e){if(!u(e))return!1;var l=p(e);return"DataView"===l||a(q,l)||a(D,l)},N=function(e){var l=g(e);if(u(l)){var C=V(l);return C&&a(C,_)?C[_]:N(l)}},I=function(e){if(!u(e))return!1;var l=p(e);return a(q,l)||a(D,l)},$=function(e){if(I(e))return e;throw F("Target is not a typed array")},U=function(e){if(c(e)&&(!Z||L(A,e)))return e;throw F(f(e)+" is not a typed array constructor")},j=function(e,l,C,r){if(d){if(C)for(var t in q){var o=n[t];if(o&&a(o.prototype,e))try{delete o.prototype[e]}catch(i){try{o.prototype[e]=l}catch(c){}}}B[e]&&!C||v(B,e,C?l:T&&x[e]||l,r)}},z=function(e,l,C){var r,t;if(d){if(Z){if(C)for(r in q)if(t=n[r],t&&a(t,e))try{delete t[e]}catch(o){}if(A[e]&&!C)return;try{return v(A,e,C?l:T&&A[e]||l)}catch(o){}}for(r in q)t=n[r],!t||t[e]&&!C||v(t,e,l)}};for(r in q)t=n[r],o=t&&t.prototype,o?H(o)[_]=t:T=!1;for(r in D)t=n[r],o=t&&t.prototype,o&&(H(o)[_]=t);if((!T||!c(A)||A===Function.prototype)&&(A=function(){throw F("Incorrect invocation")},T))for(r in q)n[r]&&Z(n[r],A);if((!T||!B||B===O)&&(B=A.prototype,T))for(r in q)n[r]&&Z(n[r].prototype,B);if(T&&g(y)!==B&&Z(y,B),d&&!a(B,S))for(r in E=!0,h(B,S,{configurable:!0,get:function(){return u(this)?this[P]:void 0}}),q)n[r]&&s(n[r],P,r);e.exports={NATIVE_ARRAY_BUFFER_VIEWS:T,TYPED_ARRAY_TAG:E&&P,aTypedArray:$,aTypedArrayConstructor:U,exportTypedArrayMethod:j,exportTypedArrayStaticMethod:z,getTypedArrayConstructor:N,isView:R,isTypedArray:I,TypedArray:A,TypedArrayPrototype:B}},73364:(e,l,C)=>{"use strict";var r=C(8600);e.exports=function(e,l){var C=0,t=r(l),o=new e(t);while(t>C)o[C]=l[C++];return o}},67714:(e,l,C)=>{"use strict";var r=C(37447),t=C(32661),o=C(8600),i=function(e){return function(l,C,i){var d,n=r(l),c=o(n),u=t(i,c);if(e&&C!=C){while(c>u)if(d=n[u++],d!=d)return!0}else for(;c>u;u++)if((e||u in n)&&n[u]===C)return e||u||0;return!e&&-1}};e.exports={includes:i(!0),indexOf:i(!1)}},49275:(e,l,C)=>{"use strict";var r=C(16158),t=C(53972),o=C(38332),i=C(8600),d=function(e){var l=1==e;return function(C,d,n){var c,u,a=o(C),p=t(a),f=r(d,n),s=i(p);while(s-- >0)if(c=p[s],u=f(c,s,a),u)switch(e){case 0:return c;case 1:return s}return l?-1:void 0}};e.exports={findLast:d(0),findLastIndex:d(1)}},53614:(e,l,C)=>{"use strict";var r=C(94133),t=C(6555),o=TypeError,i=Object.getOwnPropertyDescriptor,d=r&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}();e.exports=d?function(e,l){if(t(e)&&!i(e,"length").writable)throw o("Cannot set read only .length");return e.length=l}:function(e,l){return e.length=l}},37579:(e,l,C)=>{"use strict";var r=C(8600);e.exports=function(e,l){for(var C=r(e),t=new l(C),o=0;o{"use strict";var r=C(8600),t=C(46675),o=RangeError;e.exports=function(e,l,C,i){var d=r(e),n=t(C),c=n<0?d+n:n;if(c>=d||c<0)throw o("Incorrect index");for(var u=new l(d),a=0;a{"use strict";var r=C(81636),t=r({}.toString),o=r("".slice);e.exports=function(e){return o(t(e),8,-1)}},34239:(e,l,C)=>{"use strict";var r=C(14130),t=C(66107),o=C(16749),i=C(14103),d=i("toStringTag"),n=Object,c="Arguments"==o(function(){return arguments}()),u=function(e,l){try{return e[l]}catch(C){}};e.exports=r?o:function(e){var l,C,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(C=u(l=n(e),d))?C:c?o(l):"Object"==(r=o(l))&&t(l.callee)?"Arguments":r}},37366:(e,l,C)=>{"use strict";var r=C(62924),t=C(71240),o=C(60863),i=C(21012);e.exports=function(e,l,C){for(var d=t(l),n=i.f,c=o.f,u=0;u{"use strict";var r=C(88814);e.exports=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},64722:(e,l,C)=>{"use strict";var r=C(94133),t=C(21012),o=C(53386);e.exports=r?function(e,l,C){return t.f(e,l,o(1,C))}:function(e,l,C){return e[l]=C,e}},53386:e=>{"use strict";e.exports=function(e,l){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:l}}},59570:(e,l,C)=>{"use strict";var r=C(92358),t=C(21012);e.exports=function(e,l,C){return C.get&&r(C.get,l,{getter:!0}),C.set&&r(C.set,l,{setter:!0}),t.f(e,l,C)}},54076:(e,l,C)=>{"use strict";var r=C(66107),t=C(21012),o=C(92358),i=C(95437);e.exports=function(e,l,C,d){d||(d={});var n=d.enumerable,c=void 0!==d.name?d.name:l;if(r(C)&&o(C,c,d),d.global)n?e[l]=C:i(l,C);else{try{d.unsafe?e[l]&&(n=!0):delete e[l]}catch(u){}n?e[l]=C:t.f(e,l,{value:C,enumerable:!1,configurable:!d.nonConfigurable,writable:!d.nonWritable})}return e}},95437:(e,l,C)=>{"use strict";var r=C(53834),t=Object.defineProperty;e.exports=function(e,l){try{t(r,e,{value:l,configurable:!0,writable:!0})}catch(C){r[e]=l}return l}},26405:(e,l,C)=>{"use strict";var r=C(57545),t=TypeError;e.exports=function(e,l){if(!delete e[l])throw t("Cannot delete property "+r(l)+" of "+r(e))}},94133:(e,l,C)=>{"use strict";var r=C(88814);e.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},30948:e=>{"use strict";var l="object"==typeof document&&document.all,C="undefined"==typeof l&&void 0!==l;e.exports={all:l,IS_HTMLDDA:C}},11657:(e,l,C)=>{"use strict";var r=C(53834),t=C(71419),o=r.document,i=t(o)&&t(o.createElement);e.exports=function(e){return i?o.createElement(e):{}}},76689:e=>{"use strict";var l=TypeError,C=9007199254740991;e.exports=function(e){if(e>C)throw l("Maximum allowed index exceeded");return e}},80322:e=>{"use strict";e.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},71418:(e,l,C)=>{"use strict";var r,t,o=C(53834),i=C(80322),d=o.process,n=o.Deno,c=d&&d.versions||n&&n.version,u=c&&c.v8;u&&(r=u.split("."),t=r[0]>0&&r[0]<4?1:+(r[0]+r[1])),!t&&i&&(r=i.match(/Edge\/(\d+)/),(!r||r[1]>=74)&&(r=i.match(/Chrome\/(\d+)/),r&&(t=+r[1]))),e.exports=t},30203:e=>{"use strict";e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},76943:(e,l,C)=>{"use strict";var r=C(53834),t=C(60863).f,o=C(64722),i=C(54076),d=C(95437),n=C(37366),c=C(42764);e.exports=function(e,l){var C,u,a,p,f,s,v=e.target,h=e.global,L=e.stat;if(u=h?r:L?r[v]||d(v,{}):(r[v]||{}).prototype,u)for(a in l){if(f=l[a],e.dontCallGetSet?(s=t(u,a),p=s&&s.value):p=u[a],C=c(h?a:v+(L?".":"#")+a,e.forced),!C&&void 0!==p){if(typeof f==typeof p)continue;n(f,p)}(e.sham||p&&p.sham)&&o(f,"sham",!0),i(u,a,f,e)}}},88814:e=>{"use strict";e.exports=function(e){try{return!!e()}catch(l){return!0}}},16158:(e,l,C)=>{"use strict";var r=C(59287),t=C(28762),o=C(99793),i=r(r.bind);e.exports=function(e,l){return t(e),void 0===l?e:o?i(e,l):function(){return e.apply(l,arguments)}}},99793:(e,l,C)=>{"use strict";var r=C(88814);e.exports=!r((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},76654:(e,l,C)=>{"use strict";var r=C(99793),t=Function.prototype.call;e.exports=r?t.bind(t):function(){return t.apply(t,arguments)}},49104:(e,l,C)=>{"use strict";var r=C(94133),t=C(62924),o=Function.prototype,i=r&&Object.getOwnPropertyDescriptor,d=t(o,"name"),n=d&&"something"===function(){}.name,c=d&&(!r||r&&i(o,"name").configurable);e.exports={EXISTS:d,PROPER:n,CONFIGURABLE:c}},65478:(e,l,C)=>{"use strict";var r=C(81636),t=C(28762);e.exports=function(e,l,C){try{return r(t(Object.getOwnPropertyDescriptor(e,l)[C]))}catch(o){}}},59287:(e,l,C)=>{"use strict";var r=C(16749),t=C(81636);e.exports=function(e){if("Function"===r(e))return t(e)}},81636:(e,l,C)=>{"use strict";var r=C(99793),t=Function.prototype,o=t.call,i=r&&t.bind.bind(o,o);e.exports=r?i:function(e){return function(){return o.apply(e,arguments)}}},97859:(e,l,C)=>{"use strict";var r=C(53834),t=C(66107),o=function(e){return t(e)?e:void 0};e.exports=function(e,l){return arguments.length<2?o(r[e]):r[e]&&r[e][l]}},37689:(e,l,C)=>{"use strict";var r=C(28762),t=C(13873);e.exports=function(e,l){var C=e[l];return t(C)?void 0:r(C)}},53834:function(e,l,C){"use strict";var r=function(e){return e&&e.Math==Math&&e};e.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof C.g&&C.g)||function(){return this}()||this||Function("return this")()},62924:(e,l,C)=>{"use strict";var r=C(81636),t=C(38332),o=r({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,l){return o(t(e),l)}},71999:e=>{"use strict";e.exports={}},26335:(e,l,C)=>{"use strict";var r=C(94133),t=C(88814),o=C(11657);e.exports=!r&&!t((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},53972:(e,l,C)=>{"use strict";var r=C(81636),t=C(88814),o=C(16749),i=Object,d=r("".split);e.exports=t((function(){return!i("z").propertyIsEnumerable(0)}))?function(e){return"String"==o(e)?d(e,""):i(e)}:i},6461:(e,l,C)=>{"use strict";var r=C(81636),t=C(66107),o=C(76081),i=r(Function.toString);t(o.inspectSource)||(o.inspectSource=function(e){return i(e)}),e.exports=o.inspectSource},80780:(e,l,C)=>{"use strict";var r,t,o,i=C(75779),d=C(53834),n=C(71419),c=C(64722),u=C(62924),a=C(76081),p=C(35315),f=C(71999),s="Object already initialized",v=d.TypeError,h=d.WeakMap,L=function(e){return o(e)?t(e):r(e,{})},g=function(e){return function(l){var C;if(!n(l)||(C=t(l)).type!==e)throw v("Incompatible receiver, "+e+" required");return C}};if(i||a.state){var Z=a.state||(a.state=new h);Z.get=Z.get,Z.has=Z.has,Z.set=Z.set,r=function(e,l){if(Z.has(e))throw v(s);return l.facade=e,Z.set(e,l),l},t=function(e){return Z.get(e)||{}},o=function(e){return Z.has(e)}}else{var w=p("state");f[w]=!0,r=function(e,l){if(u(e,w))throw v(s);return l.facade=e,c(e,w,l),l},t=function(e){return u(e,w)?e[w]:{}},o=function(e){return u(e,w)}}e.exports={set:r,get:t,has:o,enforce:L,getterFor:g}},6555:(e,l,C)=>{"use strict";var r=C(16749);e.exports=Array.isArray||function(e){return"Array"==r(e)}},20354:(e,l,C)=>{"use strict";var r=C(34239);e.exports=function(e){var l=r(e);return"BigInt64Array"==l||"BigUint64Array"==l}},66107:(e,l,C)=>{"use strict";var r=C(30948),t=r.all;e.exports=r.IS_HTMLDDA?function(e){return"function"==typeof e||e===t}:function(e){return"function"==typeof e}},42764:(e,l,C)=>{"use strict";var r=C(88814),t=C(66107),o=/#|\.prototype\./,i=function(e,l){var C=n[d(e)];return C==u||C!=c&&(t(l)?r(l):!!l)},d=i.normalize=function(e){return String(e).replace(o,".").toLowerCase()},n=i.data={},c=i.NATIVE="N",u=i.POLYFILL="P";e.exports=i},13873:e=>{"use strict";e.exports=function(e){return null===e||void 0===e}},71419:(e,l,C)=>{"use strict";var r=C(66107),t=C(30948),o=t.all;e.exports=t.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:r(e)||e===o}:function(e){return"object"==typeof e?null!==e:r(e)}},20200:e=>{"use strict";e.exports=!1},51637:(e,l,C)=>{"use strict";var r=C(97859),t=C(66107),o=C(36123),i=C(90049),d=Object;e.exports=i?function(e){return"symbol"==typeof e}:function(e){var l=r("Symbol");return t(l)&&o(l.prototype,d(e))}},8600:(e,l,C)=>{"use strict";var r=C(27302);e.exports=function(e){return r(e.length)}},92358:(e,l,C)=>{"use strict";var r=C(81636),t=C(88814),o=C(66107),i=C(62924),d=C(94133),n=C(49104).CONFIGURABLE,c=C(6461),u=C(80780),a=u.enforce,p=u.get,f=String,s=Object.defineProperty,v=r("".slice),h=r("".replace),L=r([].join),g=d&&!t((function(){return 8!==s((function(){}),"length",{value:8}).length})),Z=String(String).split("String"),w=e.exports=function(e,l,C){"Symbol("===v(f(l),0,7)&&(l="["+h(f(l),/^Symbol\(([^)]*)\)/,"$1")+"]"),C&&C.getter&&(l="get "+l),C&&C.setter&&(l="set "+l),(!i(e,"name")||n&&e.name!==l)&&(d?s(e,"name",{value:l,configurable:!0}):e.name=l),g&&C&&i(C,"arity")&&e.length!==C.arity&&s(e,"length",{value:C.arity});try{C&&i(C,"constructor")&&C.constructor?d&&s(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(t){}var r=a(e);return i(r,"source")||(r.source=L(Z,"string"==typeof l?l:"")),e};Function.prototype.toString=w((function(){return o(this)&&p(this).source||c(this)}),"toString")},57233:e=>{"use strict";var l=Math.ceil,C=Math.floor;e.exports=Math.trunc||function(e){var r=+e;return(r>0?C:l)(r)}},21012:(e,l,C)=>{"use strict";var r=C(94133),t=C(26335),o=C(50064),i=C(30616),d=C(61017),n=TypeError,c=Object.defineProperty,u=Object.getOwnPropertyDescriptor,a="enumerable",p="configurable",f="writable";l.f=r?o?function(e,l,C){if(i(e),l=d(l),i(C),"function"===typeof e&&"prototype"===l&&"value"in C&&f in C&&!C[f]){var r=u(e,l);r&&r[f]&&(e[l]=C.value,C={configurable:p in C?C[p]:r[p],enumerable:a in C?C[a]:r[a],writable:!1})}return c(e,l,C)}:c:function(e,l,C){if(i(e),l=d(l),i(C),t)try{return c(e,l,C)}catch(r){}if("get"in C||"set"in C)throw n("Accessors not supported");return"value"in C&&(e[l]=C.value),e}},60863:(e,l,C)=>{"use strict";var r=C(94133),t=C(76654),o=C(58068),i=C(53386),d=C(37447),n=C(61017),c=C(62924),u=C(26335),a=Object.getOwnPropertyDescriptor;l.f=r?a:function(e,l){if(e=d(e),l=n(l),u)try{return a(e,l)}catch(C){}if(c(e,l))return i(!t(o.f,e,l),e[l])}},53450:(e,l,C)=>{"use strict";var r=C(76682),t=C(30203),o=t.concat("length","prototype");l.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},91996:(e,l)=>{"use strict";l.f=Object.getOwnPropertySymbols},27886:(e,l,C)=>{"use strict";var r=C(62924),t=C(66107),o=C(38332),i=C(35315),d=C(30911),n=i("IE_PROTO"),c=Object,u=c.prototype;e.exports=d?c.getPrototypeOf:function(e){var l=o(e);if(r(l,n))return l[n];var C=l.constructor;return t(C)&&l instanceof C?C.prototype:l instanceof c?u:null}},36123:(e,l,C)=>{"use strict";var r=C(81636);e.exports=r({}.isPrototypeOf)},76682:(e,l,C)=>{"use strict";var r=C(81636),t=C(62924),o=C(37447),i=C(67714).indexOf,d=C(71999),n=r([].push);e.exports=function(e,l){var C,r=o(e),c=0,u=[];for(C in r)!t(d,C)&&t(r,C)&&n(u,C);while(l.length>c)t(r,C=l[c++])&&(~i(u,C)||n(u,C));return u}},58068:(e,l)=>{"use strict";var C={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,t=r&&!C.call({1:2},1);l.f=t?function(e){var l=r(this,e);return!!l&&l.enumerable}:C},16534:(e,l,C)=>{"use strict";var r=C(65478),t=C(30616),o=C(29220);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,l=!1,C={};try{e=r(Object.prototype,"__proto__","set"),e(C,[]),l=C instanceof Array}catch(i){}return function(C,r){return t(C),o(r),l?e(C,r):C.__proto__=r,C}}():void 0)},79370:(e,l,C)=>{"use strict";var r=C(76654),t=C(66107),o=C(71419),i=TypeError;e.exports=function(e,l){var C,d;if("string"===l&&t(C=e.toString)&&!o(d=r(C,e)))return d;if(t(C=e.valueOf)&&!o(d=r(C,e)))return d;if("string"!==l&&t(C=e.toString)&&!o(d=r(C,e)))return d;throw i("Can't convert object to primitive value")}},71240:(e,l,C)=>{"use strict";var r=C(97859),t=C(81636),o=C(53450),i=C(91996),d=C(30616),n=t([].concat);e.exports=r("Reflect","ownKeys")||function(e){var l=o.f(d(e)),C=i.f;return C?n(l,C(e)):l}},69592:(e,l,C)=>{"use strict";var r=C(30616);e.exports=function(){var e=r(this),l="";return e.hasIndices&&(l+="d"),e.global&&(l+="g"),e.ignoreCase&&(l+="i"),e.multiline&&(l+="m"),e.dotAll&&(l+="s"),e.unicode&&(l+="u"),e.unicodeSets&&(l+="v"),e.sticky&&(l+="y"),l}},5177:(e,l,C)=>{"use strict";var r=C(13873),t=TypeError;e.exports=function(e){if(r(e))throw t("Can't call method on "+e);return e}},35315:(e,l,C)=>{"use strict";var r=C(48850),t=C(93965),o=r("keys");e.exports=function(e){return o[e]||(o[e]=t(e))}},76081:(e,l,C)=>{"use strict";var r=C(53834),t=C(95437),o="__core-js_shared__",i=r[o]||t(o,{});e.exports=i},48850:(e,l,C)=>{"use strict";var r=C(20200),t=C(76081);(e.exports=function(e,l){return t[e]||(t[e]=void 0!==l?l:{})})("versions",[]).push({version:"3.32.0",mode:r?"pure":"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.32.0/LICENSE",source:"https://github.com/zloirock/core-js"})},4651:(e,l,C)=>{"use strict";var r=C(71418),t=C(88814),o=C(53834),i=o.String;e.exports=!!Object.getOwnPropertySymbols&&!t((function(){var e=Symbol();return!i(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},32661:(e,l,C)=>{"use strict";var r=C(46675),t=Math.max,o=Math.min;e.exports=function(e,l){var C=r(e);return C<0?t(C+l,0):o(C,l)}},57385:(e,l,C)=>{"use strict";var r=C(34384),t=TypeError;e.exports=function(e){var l=r(e,"number");if("number"==typeof l)throw t("Can't convert number to bigint");return BigInt(l)}},37447:(e,l,C)=>{"use strict";var r=C(53972),t=C(5177);e.exports=function(e){return r(t(e))}},46675:(e,l,C)=>{"use strict";var r=C(57233);e.exports=function(e){var l=+e;return l!==l||0===l?0:r(l)}},27302:(e,l,C)=>{"use strict";var r=C(46675),t=Math.min;e.exports=function(e){return e>0?t(r(e),9007199254740991):0}},38332:(e,l,C)=>{"use strict";var r=C(5177),t=Object;e.exports=function(e){return t(r(e))}},34384:(e,l,C)=>{"use strict";var r=C(76654),t=C(71419),o=C(51637),i=C(37689),d=C(79370),n=C(14103),c=TypeError,u=n("toPrimitive");e.exports=function(e,l){if(!t(e)||o(e))return e;var C,n=i(e,u);if(n){if(void 0===l&&(l="default"),C=r(n,e,l),!t(C)||o(C))return C;throw c("Can't convert object to primitive value")}return void 0===l&&(l="number"),d(e,l)}},61017:(e,l,C)=>{"use strict";var r=C(34384),t=C(51637);e.exports=function(e){var l=r(e,"string");return t(l)?l:l+""}},14130:(e,l,C)=>{"use strict";var r=C(14103),t=r("toStringTag"),o={};o[t]="z",e.exports="[object z]"===String(o)},96975:(e,l,C)=>{"use strict";var r=C(34239),t=String;e.exports=function(e){if("Symbol"===r(e))throw TypeError("Cannot convert a Symbol value to a string");return t(e)}},57545:e=>{"use strict";var l=String;e.exports=function(e){try{return l(e)}catch(C){return"Object"}}},93965:(e,l,C)=>{"use strict";var r=C(81636),t=0,o=Math.random(),i=r(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+i(++t+o,36)}},90049:(e,l,C)=>{"use strict";var r=C(4651);e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},50064:(e,l,C)=>{"use strict";var r=C(94133),t=C(88814);e.exports=r&&t((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},5809:e=>{"use strict";var l=TypeError;e.exports=function(e,C){if(e{"use strict";var r=C(53834),t=C(66107),o=r.WeakMap;e.exports=t(o)&&/native code/.test(String(o))},14103:(e,l,C)=>{"use strict";var r=C(53834),t=C(48850),o=C(62924),i=C(93965),d=C(4651),n=C(90049),c=r.Symbol,u=t("wks"),a=n?c["for"]||c:c&&c.withoutSetter||i;e.exports=function(e){return o(u,e)||(u[e]=d&&o(c,e)?c[e]:a("Symbol."+e)),u[e]}},69665:(e,l,C)=>{"use strict";var r=C(76943),t=C(38332),o=C(8600),i=C(53614),d=C(76689),n=C(88814),c=n((function(){return 4294967297!==[].push.call({length:4294967296},1)})),u=function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(e){return e instanceof TypeError}},a=c||!u();r({target:"Array",proto:!0,arity:1,forced:a},{push:function(e){var l=t(this),C=o(l),r=arguments.length;d(C+r);for(var n=0;n{"use strict";var r=C(76943),t=C(38332),o=C(8600),i=C(53614),d=C(26405),n=C(76689),c=1!==[].unshift(0),u=function(){try{Object.defineProperty([],"length",{writable:!1}).unshift()}catch(e){return e instanceof TypeError}},a=c||!u();r({target:"Array",proto:!0,arity:1,forced:a},{unshift:function(e){var l=t(this),C=o(l),r=arguments.length;if(r){n(C+r);var c=C;while(c--){var u=c+r;c in l?l[u]=l[c]:d(l,u)}for(var a=0;a{"use strict";var r=C(53834),t=C(94133),o=C(59570),i=C(69592),d=C(88814),n=r.RegExp,c=n.prototype,u=t&&d((function(){var e=!0;try{n(".","d")}catch(u){e=!1}var l={},C="",r=e?"dgimsy":"gimsy",t=function(e,r){Object.defineProperty(l,e,{get:function(){return C+=r,!0}})},o={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};for(var i in e&&(o.hasIndices="d"),o)t(i,o[i]);var d=Object.getOwnPropertyDescriptor(c,"flags").get.call(l);return d!==r||C!==r}));u&&o(c,"flags",{configurable:!0,get:i})},25231:(e,l,C)=>{"use strict";var r=C(68086),t=C(8600),o=C(46675),i=r.aTypedArray,d=r.exportTypedArrayMethod;d("at",(function(e){var l=i(this),C=t(l),r=o(e),d=r>=0?r:C+r;return d<0||d>=C?void 0:l[d]}))},90548:(e,l,C)=>{"use strict";var r=C(68086),t=C(49275).findLastIndex,o=r.aTypedArray,i=r.exportTypedArrayMethod;i("findLastIndex",(function(e){return t(o(this),e,arguments.length>1?arguments[1]:void 0)}))},3075:(e,l,C)=>{"use strict";var r=C(68086),t=C(49275).findLast,o=r.aTypedArray,i=r.exportTypedArrayMethod;i("findLast",(function(e){return t(o(this),e,arguments.length>1?arguments[1]:void 0)}))},62279:(e,l,C)=>{"use strict";var r=C(37579),t=C(68086),o=t.aTypedArray,i=t.exportTypedArrayMethod,d=t.getTypedArrayConstructor;i("toReversed",(function(){return r(o(this),d(this))}))},2157:(e,l,C)=>{"use strict";var r=C(68086),t=C(81636),o=C(28762),i=C(73364),d=r.aTypedArray,n=r.getTypedArrayConstructor,c=r.exportTypedArrayMethod,u=t(r.TypedArrayPrototype.sort);c("toSorted",(function(e){void 0!==e&&o(e);var l=d(this),C=i(n(l),l);return u(C,e)}))},46735:(e,l,C)=>{"use strict";var r=C(25330),t=C(68086),o=C(20354),i=C(46675),d=C(57385),n=t.aTypedArray,c=t.getTypedArrayConstructor,u=t.exportTypedArrayMethod,a=!!function(){try{new Int8Array(1)["with"](2,{valueOf:function(){throw 8}})}catch(e){return 8===e}}();u("with",{with:function(e,l){var C=n(this),t=i(e),u=o(C)?d(l):+l;return r(C,c(C),t,u)}}["with"],!a)},95516:(e,l,C)=>{"use strict";var r=C(54076),t=C(81636),o=C(96975),i=C(5809),d=URLSearchParams,n=d.prototype,c=t(n.append),u=t(n["delete"]),a=t(n.forEach),p=t([].push),f=new d("a=1&a=2&b=3");f["delete"]("a",1),f["delete"]("b",void 0),f+""!=="a=2"&&r(n,"delete",(function(e){var l=arguments.length,C=l<2?void 0:arguments[1];if(l&&void 0===C)return u(this,e);var r=[];a(this,(function(e,l){p(r,{key:l,value:e})})),i(l,1);var t,d=o(e),n=o(C),f=0,s=0,v=!1,h=r.length;while(f{"use strict";var r=C(54076),t=C(81636),o=C(96975),i=C(5809),d=URLSearchParams,n=d.prototype,c=t(n.getAll),u=t(n.has),a=new d("a=1");!a.has("a",2)&&a.has("a",void 0)||r(n,"has",(function(e){var l=arguments.length,C=l<2?void 0:arguments[1];if(l&&void 0===C)return u(this,e);var r=c(this,e);i(l,1);var t=o(C),d=0;while(d{"use strict";var r=C(94133),t=C(81636),o=C(59570),i=URLSearchParams.prototype,d=t(i.forEach);r&&!("size"in i)&&o(i,"size",{get:function(){var e=0;return d(this,(function(){e++})),e},configurable:!0,enumerable:!0})},77871:e=>{"use strict";var l={single_source_shortest_paths:function(e,C,r){var t={},o={};o[C]=0;var i,d,n,c,u,a,p,f,s,v=l.PriorityQueue.make();v.push(C,0);while(!v.empty())for(n in i=v.pop(),d=i.value,c=i.cost,u=e[d]||{},u)u.hasOwnProperty(n)&&(a=u[n],p=c+a,f=o[n],s="undefined"===typeof o[n],(s||f>p)&&(o[n]=p,v.push(n,p),t[n]=d));if("undefined"!==typeof r&&"undefined"===typeof o[r]){var h=["Could not find a path from ",C," to ",r,"."].join("");throw new Error(h)}return t},extract_shortest_path_from_predecessor_list:function(e,l){var C=[],r=l;while(r)C.push(r),e[r],r=e[r];return C.reverse(),C},find_path:function(e,C,r){var t=l.single_source_shortest_paths(e,C,r);return l.extract_shortest_path_from_predecessor_list(t,r)},PriorityQueue:{make:function(e){var C,r=l.PriorityQueue,t={};for(C in e=e||{},r)r.hasOwnProperty(C)&&(t[C]=r[C]);return t.queue=[],t.sorter=e.sorter||r.default_sorter,t},default_sorter:function(e,l){return e.cost-l.cost},push:function(e,l){var C={value:e,cost:l};this.queue.push(C),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return 0===this.queue.length}}};e.exports=l},13449:e=>{"use strict";e.exports=function(e){for(var l=[],C=e.length,r=0;r=55296&&t<=56319&&C>r+1){var o=e.charCodeAt(r+1);o>=56320&&o<=57343&&(t=1024*(t-55296)+o-56320+65536,r+=1)}t<128?l.push(t):t<2048?(l.push(t>>6|192),l.push(63&t|128)):t<55296||t>=57344&&t<65536?(l.push(t>>12|224),l.push(t>>6&63|128),l.push(63&t|128)):t>=65536&&t<=1114111?(l.push(t>>18|240),l.push(t>>12&63|128),l.push(t>>6&63|128),l.push(63&t|128)):l.push(239,191,189)}return new Uint8Array(l).buffer}},32316:(e,l,C)=>{const r=C(87881),t=C(69540),o=C(78889),i=C(2304);function d(e,l,C,o,i){const d=[].slice.call(arguments,1),n=d.length,c="function"===typeof d[n-1];if(!c&&!r())throw new Error("Callback required as last argument");if(!c){if(n<1)throw new Error("Too few arguments provided");return 1===n?(C=l,l=o=void 0):2!==n||l.getContext||(o=C,C=l,l=void 0),new Promise((function(r,i){try{const i=t.create(C,o);r(e(i,l,o))}catch(d){i(d)}}))}if(n<2)throw new Error("Too few arguments provided");2===n?(i=C,C=l,l=o=void 0):3===n&&(l.getContext&&"undefined"===typeof i?(i=o,o=void 0):(i=o,o=C,C=l,l=void 0));try{const r=t.create(C,o);i(null,e(r,l,o))}catch(u){i(u)}}l.create=t.create,l.toCanvas=d.bind(null,o.render),l.toDataURL=d.bind(null,o.renderToDataURL),l.toString=d.bind(null,(function(e,l,C){return i.render(e,C)}))},87881:e=>{e.exports=function(){return"function"===typeof Promise&&Promise.prototype&&Promise.prototype.then}},59066:(e,l,C)=>{const r=C(67299).getSymbolSize;l.getRowColCoords=function(e){if(1===e)return[];const l=Math.floor(e/7)+2,C=r(e),t=145===C?26:2*Math.ceil((C-13)/(2*l-2)),o=[C-7];for(let r=1;r{const r=C(15029),t=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function o(e){this.mode=r.ALPHANUMERIC,this.data=e}o.getBitsLength=function(e){return 11*Math.floor(e/2)+e%2*6},o.prototype.getLength=function(){return this.data.length},o.prototype.getBitsLength=function(){return o.getBitsLength(this.data.length)},o.prototype.write=function(e){let l;for(l=0;l+2<=this.data.length;l+=2){let C=45*t.indexOf(this.data[l]);C+=t.indexOf(this.data[l+1]),e.put(C,11)}this.data.length%2&&e.put(t.indexOf(this.data[l]),6)},e.exports=o},80640:e=>{function l(){this.buffer=[],this.length=0}l.prototype={get:function(e){const l=Math.floor(e/8);return 1===(this.buffer[l]>>>7-e%8&1)},put:function(e,l){for(let C=0;C>>l-C-1&1))},getLengthInBits:function(){return this.length},putBit:function(e){const l=Math.floor(this.length/8);this.buffer.length<=l&&this.buffer.push(0),e&&(this.buffer[l]|=128>>>this.length%8),this.length++}},e.exports=l},86214:e=>{function l(e){if(!e||e<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=e,this.data=new Uint8Array(e*e),this.reservedBit=new Uint8Array(e*e)}l.prototype.set=function(e,l,C,r){const t=e*this.size+l;this.data[t]=C,r&&(this.reservedBit[t]=!0)},l.prototype.get=function(e,l){return this.data[e*this.size+l]},l.prototype.xor=function(e,l,C){this.data[e*this.size+l]^=C},l.prototype.isReserved=function(e,l){return this.reservedBit[e*this.size+l]},e.exports=l},41776:(e,l,C)=>{const r=C(13449),t=C(15029);function o(e){this.mode=t.BYTE,"string"===typeof e&&(e=r(e)),this.data=new Uint8Array(e)}o.getBitsLength=function(e){return 8*e},o.prototype.getLength=function(){return this.data.length},o.prototype.getBitsLength=function(){return o.getBitsLength(this.data.length)},o.prototype.write=function(e){for(let l=0,C=this.data.length;l{const r=C(44913),t=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],o=[7,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,504,588,196,364,546,650,224,416,600,700,224,442,644,750,252,476,690,816,270,504,750,900,300,560,810,960,312,588,870,1050,336,644,952,1110,360,700,1020,1200,390,728,1050,1260,420,784,1140,1350,450,812,1200,1440,480,868,1290,1530,510,924,1350,1620,540,980,1440,1710,570,1036,1530,1800,570,1064,1590,1890,600,1120,1680,1980,630,1204,1770,2100,660,1260,1860,2220,720,1316,1950,2310,750,1372,2040,2430];l.getBlocksCount=function(e,l){switch(l){case r.L:return t[4*(e-1)+0];case r.M:return t[4*(e-1)+1];case r.Q:return t[4*(e-1)+2];case r.H:return t[4*(e-1)+3];default:return}},l.getTotalCodewordsCount=function(e,l){switch(l){case r.L:return o[4*(e-1)+0];case r.M:return o[4*(e-1)+1];case r.Q:return o[4*(e-1)+2];case r.H:return o[4*(e-1)+3];default:return}}},44913:(e,l)=>{function C(e){if("string"!==typeof e)throw new Error("Param is not a string");const C=e.toLowerCase();switch(C){case"l":case"low":return l.L;case"m":case"medium":return l.M;case"q":case"quartile":return l.Q;case"h":case"high":return l.H;default:throw new Error("Unknown EC Level: "+e)}}l.L={bit:1},l.M={bit:0},l.Q={bit:3},l.H={bit:2},l.isValid=function(e){return e&&"undefined"!==typeof e.bit&&e.bit>=0&&e.bit<4},l.from=function(e,r){if(l.isValid(e))return e;try{return C(e)}catch(t){return r}}},17165:(e,l,C)=>{const r=C(67299).getSymbolSize,t=7;l.getPositions=function(e){const l=r(e);return[[0,0],[l-t,0],[0,l-t]]}},20410:(e,l,C)=>{const r=C(67299),t=1335,o=21522,i=r.getBCHDigit(t);l.getEncodedBits=function(e,l){const C=e.bit<<3|l;let d=C<<10;while(r.getBCHDigit(d)-i>=0)d^=t<{const C=new Uint8Array(512),r=new Uint8Array(256);(function(){let e=1;for(let l=0;l<255;l++)C[l]=e,r[e]=l,e<<=1,256&e&&(e^=285);for(let l=255;l<512;l++)C[l]=C[l-255]})(),l.log=function(e){if(e<1)throw new Error("log("+e+")");return r[e]},l.exp=function(e){return C[e]},l.mul=function(e,l){return 0===e||0===l?0:C[r[e]+r[l]]}},63911:(e,l,C)=>{const r=C(15029),t=C(67299);function o(e){this.mode=r.KANJI,this.data=e}o.getBitsLength=function(e){return 13*e},o.prototype.getLength=function(){return this.data.length},o.prototype.getBitsLength=function(){return o.getBitsLength(this.data.length)},o.prototype.write=function(e){let l;for(l=0;l=33088&&C<=40956)C-=33088;else{if(!(C>=57408&&C<=60351))throw new Error("Invalid SJIS character: "+this.data[l]+"\nMake sure your charset is UTF-8");C-=49472}C=192*(C>>>8&255)+(255&C),e.put(C,13)}},e.exports=o},14164:(e,l)=>{l.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};const C={N1:3,N2:3,N3:40,N4:10};function r(e,C,r){switch(e){case l.Patterns.PATTERN000:return(C+r)%2===0;case l.Patterns.PATTERN001:return C%2===0;case l.Patterns.PATTERN010:return r%3===0;case l.Patterns.PATTERN011:return(C+r)%3===0;case l.Patterns.PATTERN100:return(Math.floor(C/2)+Math.floor(r/3))%2===0;case l.Patterns.PATTERN101:return C*r%2+C*r%3===0;case l.Patterns.PATTERN110:return(C*r%2+C*r%3)%2===0;case l.Patterns.PATTERN111:return(C*r%3+(C+r)%2)%2===0;default:throw new Error("bad maskPattern:"+e)}}l.isValid=function(e){return null!=e&&""!==e&&!isNaN(e)&&e>=0&&e<=7},l.from=function(e){return l.isValid(e)?parseInt(e,10):void 0},l.getPenaltyN1=function(e){const l=e.size;let r=0,t=0,o=0,i=null,d=null;for(let n=0;n=5&&(r+=C.N1+(t-5)),i=l,t=1),l=e.get(c,n),l===d?o++:(o>=5&&(r+=C.N1+(o-5)),d=l,o=1)}t>=5&&(r+=C.N1+(t-5)),o>=5&&(r+=C.N1+(o-5))}return r},l.getPenaltyN2=function(e){const l=e.size;let r=0;for(let C=0;C=10&&(1488===t||93===t)&&r++,o=o<<1&2047|e.get(i,C),i>=10&&(1488===o||93===o)&&r++}return r*C.N3},l.getPenaltyN4=function(e){let l=0;const r=e.data.length;for(let C=0;C{const r=C(12174),t=C(46116);function o(e){if("string"!==typeof e)throw new Error("Param is not a string");const C=e.toLowerCase();switch(C){case"numeric":return l.NUMERIC;case"alphanumeric":return l.ALPHANUMERIC;case"kanji":return l.KANJI;case"byte":return l.BYTE;default:throw new Error("Unknown mode: "+e)}}l.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},l.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},l.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},l.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},l.MIXED={bit:-1},l.getCharCountIndicator=function(e,l){if(!e.ccBits)throw new Error("Invalid mode: "+e);if(!r.isValid(l))throw new Error("Invalid version: "+l);return l>=1&&l<10?e.ccBits[0]:l<27?e.ccBits[1]:e.ccBits[2]},l.getBestModeForData=function(e){return t.testNumeric(e)?l.NUMERIC:t.testAlphanumeric(e)?l.ALPHANUMERIC:t.testKanji(e)?l.KANJI:l.BYTE},l.toString=function(e){if(e&&e.id)return e.id;throw new Error("Invalid mode")},l.isValid=function(e){return e&&e.bit&&e.ccBits},l.from=function(e,C){if(l.isValid(e))return e;try{return o(e)}catch(r){return C}}},55630:(e,l,C)=>{const r=C(15029);function t(e){this.mode=r.NUMERIC,this.data=e.toString()}t.getBitsLength=function(e){return 10*Math.floor(e/3)+(e%3?e%3*3+1:0)},t.prototype.getLength=function(){return this.data.length},t.prototype.getBitsLength=function(){return t.getBitsLength(this.data.length)},t.prototype.write=function(e){let l,C,r;for(l=0;l+3<=this.data.length;l+=3)C=this.data.substr(l,3),r=parseInt(C,10),e.put(r,10);const t=this.data.length-l;t>0&&(C=this.data.substr(l),r=parseInt(C,10),e.put(r,3*t+1))},e.exports=t},38848:(e,l,C)=>{const r=C(36903);l.mul=function(e,l){const C=new Uint8Array(e.length+l.length-1);for(let t=0;t=0){const e=C[0];for(let o=0;o{const r=C(67299),t=C(44913),o=C(80640),i=C(86214),d=C(59066),n=C(17165),c=C(14164),u=C(26664),a=C(68130),p=C(93030),f=C(20410),s=C(15029),v=C(31849);function h(e,l){const C=e.size,r=n.getPositions(l);for(let t=0;t=0&&r<=6&&(0===t||6===t)||t>=0&&t<=6&&(0===r||6===r)||r>=2&&r<=4&&t>=2&&t<=4?e.set(l+r,o+t,!0,!0):e.set(l+r,o+t,!1,!0))}}function L(e){const l=e.size;for(let C=8;C>d&1),e.set(t,o,i,!0),e.set(o,t,i,!0)}function w(e,l,C){const r=e.size,t=f.getEncodedBits(l,C);let o,i;for(o=0;o<15;o++)i=1===(t>>o&1),o<6?e.set(o,8,i,!0):o<8?e.set(o+1,8,i,!0):e.set(r-15+o,8,i,!0),o<8?e.set(8,r-o-1,i,!0):o<9?e.set(8,15-o-1+1,i,!0):e.set(8,15-o-1,i,!0);e.set(r-8,8,1,!0)}function M(e,l){const C=e.size;let r=-1,t=C-1,o=7,i=0;for(let d=C-1;d>0;d-=2){6===d&&d--;while(1){for(let C=0;C<2;C++)if(!e.isReserved(t,d-C)){let r=!1;i>>o&1)),e.set(t,d-C,r),o--,-1===o&&(i++,o=7)}if(t+=r,t<0||C<=t){t-=r,r=-r;break}}}}function m(e,l,C){const t=new o;C.forEach((function(l){t.put(l.mode.bit,4),t.put(l.getLength(),s.getCharCountIndicator(l.mode,e)),l.write(t)}));const i=r.getSymbolTotalCodewords(e),d=u.getTotalCodewordsCount(e,l),n=8*(i-d);t.getLengthInBits()+4<=n&&t.put(0,4);while(t.getLengthInBits()%8!==0)t.putBit(0);const c=(n-t.getLengthInBits())/8;for(let r=0;r=7&&Z(a,l),M(a,n),isNaN(t)&&(t=c.getBestMask(a,w.bind(null,a,C))),c.applyMask(t,a),w(a,C,t),{modules:a,version:l,errorCorrectionLevel:C,maskPattern:t,segments:o}}l.create=function(e,l){if("undefined"===typeof e||""===e)throw new Error("No input text");let C,o,i=t.M;return"undefined"!==typeof l&&(i=t.from(l.errorCorrectionLevel,t.M),C=p.from(l.version),o=c.from(l.maskPattern),l.toSJISFunc&&r.setToSJISFunction(l.toSJISFunc)),V(e,C,i,o)}},68130:(e,l,C)=>{const r=C(38848);function t(e){this.genPoly=void 0,this.degree=e,this.degree&&this.initialize(this.degree)}t.prototype.initialize=function(e){this.degree=e,this.genPoly=r.generateECPolynomial(this.degree)},t.prototype.encode=function(e){if(!this.genPoly)throw new Error("Encoder not initialized");const l=new Uint8Array(e.length+this.degree);l.set(e);const C=r.mod(l,this.genPoly),t=this.degree-C.length;if(t>0){const e=new Uint8Array(this.degree);return e.set(C,t),e}return C},e.exports=t},46116:(e,l)=>{const C="[0-9]+",r="[A-Z $%*+\\-./:]+";let t="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";t=t.replace(/u/g,"\\u");const o="(?:(?![A-Z0-9 $%*+\\-./:]|"+t+")(?:.|[\r\n]))+";l.KANJI=new RegExp(t,"g"),l.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g"),l.BYTE=new RegExp(o,"g"),l.NUMERIC=new RegExp(C,"g"),l.ALPHANUMERIC=new RegExp(r,"g");const i=new RegExp("^"+t+"$"),d=new RegExp("^"+C+"$"),n=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");l.testKanji=function(e){return i.test(e)},l.testNumeric=function(e){return d.test(e)},l.testAlphanumeric=function(e){return n.test(e)}},31849:(e,l,C)=>{const r=C(15029),t=C(55630),o=C(47541),i=C(41776),d=C(63911),n=C(46116),c=C(67299),u=C(77871);function a(e){return unescape(encodeURIComponent(e)).length}function p(e,l,C){const r=[];let t;while(null!==(t=e.exec(C)))r.push({data:t[0],index:t.index,mode:l,length:t[0].length});return r}function f(e){const l=p(n.NUMERIC,r.NUMERIC,e),C=p(n.ALPHANUMERIC,r.ALPHANUMERIC,e);let t,o;c.isKanjiModeEnabled()?(t=p(n.BYTE,r.BYTE,e),o=p(n.KANJI,r.KANJI,e)):(t=p(n.BYTE_KANJI,r.BYTE,e),o=[]);const i=l.concat(C,t,o);return i.sort((function(e,l){return e.index-l.index})).map((function(e){return{data:e.data,mode:e.mode,length:e.length}}))}function s(e,l){switch(l){case r.NUMERIC:return t.getBitsLength(e);case r.ALPHANUMERIC:return o.getBitsLength(e);case r.KANJI:return d.getBitsLength(e);case r.BYTE:return i.getBitsLength(e)}}function v(e){return e.reduce((function(e,l){const C=e.length-1>=0?e[e.length-1]:null;return C&&C.mode===l.mode?(e[e.length-1].data+=l.data,e):(e.push(l),e)}),[])}function h(e){const l=[];for(let C=0;C{let C;const r=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];l.getSymbolSize=function(e){if(!e)throw new Error('"version" cannot be null or undefined');if(e<1||e>40)throw new Error('"version" should be in range from 1 to 40');return 4*e+17},l.getSymbolTotalCodewords=function(e){return r[e]},l.getBCHDigit=function(e){let l=0;while(0!==e)l++,e>>>=1;return l},l.setToSJISFunction=function(e){if("function"!==typeof e)throw new Error('"toSJISFunc" is not a valid function.');C=e},l.isKanjiModeEnabled=function(){return"undefined"!==typeof C},l.toSJIS=function(e){return C(e)}},12174:(e,l)=>{l.isValid=function(e){return!isNaN(e)&&e>=1&&e<=40}},93030:(e,l,C)=>{const r=C(67299),t=C(26664),o=C(44913),i=C(15029),d=C(12174),n=7973,c=r.getBCHDigit(n);function u(e,C,r){for(let t=1;t<=40;t++)if(C<=l.getCapacity(t,r,e))return t}function a(e,l){return i.getCharCountIndicator(e,l)+4}function p(e,l){let C=0;return e.forEach((function(e){const r=a(e.mode,l);C+=r+e.getBitsLength()})),C}function f(e,C){for(let r=1;r<=40;r++){const t=p(e,r);if(t<=l.getCapacity(r,C,i.MIXED))return r}}l.from=function(e,l){return d.isValid(e)?parseInt(e,10):l},l.getCapacity=function(e,l,C){if(!d.isValid(e))throw new Error("Invalid QR Code version");"undefined"===typeof C&&(C=i.BYTE);const o=r.getSymbolTotalCodewords(e),n=t.getTotalCodewordsCount(e,l),c=8*(o-n);if(C===i.MIXED)return c;const u=c-a(C,e);switch(C){case i.NUMERIC:return Math.floor(u/10*3);case i.ALPHANUMERIC:return Math.floor(u/11*2);case i.KANJI:return Math.floor(u/13);case i.BYTE:default:return Math.floor(u/8)}},l.getBestVersionForData=function(e,l){let C;const r=o.from(l,o.M);if(Array.isArray(e)){if(e.length>1)return f(e,r);if(0===e.length)return 1;C=e[0]}else C=e;return u(C.mode,C.getLength(),r)},l.getEncodedBits=function(e){if(!d.isValid(e)||e<7)throw new Error("Invalid QR Code version");let l=e<<12;while(r.getBCHDigit(l)-c>=0)l^=n<{const r=C(24087);function t(e,l,C){e.clearRect(0,0,l.width,l.height),l.style||(l.style={}),l.height=C,l.width=C,l.style.height=C+"px",l.style.width=C+"px"}function o(){try{return document.createElement("canvas")}catch(e){throw new Error("You need to specify a canvas element")}}l.render=function(e,l,C){let i=C,d=l;"undefined"!==typeof i||l&&l.getContext||(i=l,l=void 0),l||(d=o()),i=r.getOptions(i);const n=r.getImageWidth(e.modules.size,i),c=d.getContext("2d"),u=c.createImageData(n,n);return r.qrToImageData(u.data,e,i),t(c,d,n),c.putImageData(u,0,0),d},l.renderToDataURL=function(e,C,r){let t=r;"undefined"!==typeof t||C&&C.getContext||(t=C,C=void 0),t||(t={});const o=l.render(e,C,t),i=t.type||"image/png",d=t.rendererOpts||{};return o.toDataURL(i,d.quality)}},2304:(e,l,C)=>{const r=C(24087);function t(e,l){const C=e.a/255,r=l+'="'+e.hex+'"';return C<1?r+" "+l+'-opacity="'+C.toFixed(2).slice(1)+'"':r}function o(e,l,C){let r=e+l;return"undefined"!==typeof C&&(r+=" "+C),r}function i(e,l,C){let r="",t=0,i=!1,d=0;for(let n=0;n0&&c>0&&e[n-1]||(r+=i?o("M",c+C,.5+u+C):o("m",t,0),t=0,i=!1),c+1':"",a="',p='viewBox="0 0 '+c+" "+c+'"',f=o.width?'width="'+o.width+'" height="'+o.width+'" ':"",s=''+u+a+"\n";return"function"===typeof C&&C(null,s),s}},24087:(e,l)=>{function C(e){if("number"===typeof e&&(e=e.toString()),"string"!==typeof e)throw new Error("Color should be defined as hex string");let l=e.slice().replace("#","").split("");if(l.length<3||5===l.length||l.length>8)throw new Error("Invalid hex color: "+e);3!==l.length&&4!==l.length||(l=Array.prototype.concat.apply([],l.map((function(e){return[e,e]})))),6===l.length&&l.push("F","F");const C=parseInt(l.join(""),16);return{r:C>>24&255,g:C>>16&255,b:C>>8&255,a:255&C,hex:"#"+l.slice(0,6).join("")}}l.getOptions=function(e){e||(e={}),e.color||(e.color={});const l="undefined"===typeof e.margin||null===e.margin||e.margin<0?4:e.margin,r=e.width&&e.width>=21?e.width:void 0,t=e.scale||4;return{width:r,scale:r?4:t,margin:l,color:{dark:C(e.color.dark||"#000000ff"),light:C(e.color.light||"#ffffffff")},type:e.type,rendererOpts:e.rendererOpts||{}}},l.getScale=function(e,l){return l.width&&l.width>=e+2*l.margin?l.width/(e+2*l.margin):l.scale},l.getImageWidth=function(e,C){const r=l.getScale(e,C);return Math.floor((e+2*C.margin)*r)},l.qrToImageData=function(e,C,r){const t=C.modules.size,o=C.modules.data,i=l.getScale(t,r),d=Math.floor((t+2*r.margin)*i),n=r.margin*i,c=[r.color.light,r.color.dark];for(let l=0;l=n&&C>=n&&l{"use strict";l.Z=(e,l)=>{const C=e.__vccOpts||e;for(const[r,t]of l)C[r]=t;return C}},32681:(e,l,C)=>{"use strict";C.d(l,{ZP:()=>s}); /*! * vue-sse v2.5.2 * (c) 2022 James Churchard diff --git a/pyproject.toml b/pyproject.toml index a8947345..1e5e1dcb 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -119,6 +119,7 @@ test = [ "httpx>=0.25.0", "pytest-httpserver>=1.0.8", "pyvips>=2.2.2", + "pydot>=2.0.0", ] lint= [ "ruff>=0.1.8", diff --git a/tests/benchmarks/benchmark_create_video_test.py b/tests/benchmarks/benchmark_create_video_test.py new file mode 100644 index 00000000..20667bd7 --- /dev/null +++ b/tests/benchmarks/benchmark_create_video_test.py @@ -0,0 +1,156 @@ +import logging +import time +from subprocess import PIPE, Popen + +import pytest + +from photobooth.services.config import appconfig + +logger = logging.getLogger(name=None) + + +@pytest.fixture(autouse=True) +def run_around_tests(): + appconfig.reset_defaults() + + yield + + +# def process_ffmpeg_binding(tmp_path): +# ffmpeg = ( +# FFmpeg() +# .option("y") +# .input("tests/tests/WebcamCv2Backend_881d87a13424452ca1bfe9ee65ca130b.mjpeg") +# .output( +# str(tmp_path / "ffmpeg_scale.mp4"), +# { +# "codec:v": "libx264", +# }, +# preset="veryfast", +# crf=24, +# ) +# ) + +# @ffmpeg.on("start") +# def on_start(arguments: list[str]): +# print("arguments:", arguments) + +# @ffmpeg.on("progress") +# def on_progress(progress: Progress): +# print(progress) + +# tms = time.time() +# ffmpeg.execute() +# logger.debug(f"-- process time: {round((time.time() - tms), 2)}s ") +# raise AssertionError + + +# # basic idea from https://stackoverflow.com/a/42602576 +# def process_ffmpeg_mjpeg(tmp_path): +# # return +# logger.info("popen") +# tms = time.time() +# ffmpeg_subprocess = Popen( +# [ +# "ffmpeg", +# "-y", # overwrite with no questions +# "-loglevel", +# "warning", +# # "-vcodec", +# # "mjpeg", +# # "-framerate", +# # "30", +# "-i", +# "tests/tests/WebcamCv2Backend_881d87a13424452ca1bfe9ee65ca130b.mjpeg", +# # "-tune", +# # "zerolatency", +# "-vcodec", +# "libx264", # warning! image height must be divisible by 2! #there are also hw encoder avail: https://stackoverflow.com/questions/50693934/different-h264-encoders-in-ffmpeg +# "-preset", +# "veryfast", +# "-b:v", # bitrate +# "5000k", +# "-movflags", +# "+faststart", +# str(tmp_path / "ffmpeg_scale.mp4"), +# ] +# ) +# logger.info("popen'ed") +# logger.debug(f"-- process time: {round((time.time() - tms), 2)}s ") + +# # now postproccess, but app can continue. +# tms = time.time() +# code = ffmpeg_subprocess.wait() +# logger.info("finished waiting.") +# logger.debug(f"-- process time: {round((time.time() - tms), 2)}s ") +# if code != 0: +# # more debug info can be received in ffmpeg popen stderr (pytest captures automatically) +# # TODO: check how to get in application at runtime to write to logs or maybe let ffmpeg write separate logfile +# raise RuntimeError(f"error creating videofile, ffmpeg exit code ({code}).") + +# raise AssertionError + + +# basic idea from https://stackoverflow.com/a/42602576 +def process_ffmpeg(tmp_path): + logger.info("popen") + tms = time.time() + ffmpeg_subprocess = Popen( + [ + "ffmpeg", + "-use_wallclock_as_timestamps", + "1", + "-y", # overwrite with no questions + "-loglevel", + "info", + "-f", # force input or output format + "image2pipe", + "-vcodec", + "mjpeg", + "-i", + "-", + "-vcodec", + "libx264", # warning! image height must be divisible by 2! #there are also hw encoder avail: https://stackoverflow.com/questions/50693934/different-h264-encoders-in-ffmpeg + "-preset", + "veryfast", + "-b:v", # bitrate + "5000k", + "-movflags", + "+faststart", + str(tmp_path / "ffmpeg_scale.mp4"), + ], + stdin=PIPE, + ) + logger.info("popen'ed") + logger.debug(f"-- process time: {round((time.time() - tms), 2)}s ") + + tms = time.time() + with open("tests/assets/input_lores.jpg", "rb") as file: + in_file_read = file.read() + + for _ in range(200): + ffmpeg_subprocess.stdin.write(in_file_read) + ffmpeg_subprocess.stdin.flush() + logger.info("all written") + logger.debug(f"-- process time: {round((time.time() - tms), 2)}s ") + + # release finish video processing + tms = time.time() + ffmpeg_subprocess.stdin.close() + logger.info("stdin closed") + logger.debug(f"-- process time: {round((time.time() - tms), 2)}s ") + + # now postproccess, but app can continue. + tms = time.time() + code = ffmpeg_subprocess.wait() + logger.info("finished waiting.") + logger.debug(f"-- process time: {round((time.time() - tms), 2)}s ") + if code != 0: + # more debug info can be received in ffmpeg popen stderr (pytest captures automatically) + # TODO: check how to get in application at runtime to write to logs or maybe let ffmpeg write separate logfile + raise RuntimeError(f"error creating videofile, ffmpeg exit code ({code}).") + + +@pytest.mark.benchmark(group="create_video_from_pipe_to_h264") +def test_process_ffmpeg(benchmark, tmp_path): + benchmark(process_ffmpeg, tmp_path=tmp_path) diff --git a/tests/tests/test_backends_allplatforms_virtualcamera.py b/tests/tests/test_backends_allplatforms_virtualcamera.py index 6a8a8b4c..07752ef0 100644 --- a/tests/tests/test_backends_allplatforms_virtualcamera.py +++ b/tests/tests/test_backends_allplatforms_virtualcamera.py @@ -2,6 +2,7 @@ Testing VIRTUALCAMERA Backend """ import logging +import time from unittest import mock from unittest.mock import patch @@ -68,3 +69,14 @@ def test_get_images_virtualcamera_force_hqstillfail_ensure_recovery(backend_virt logger.info("trying to get images again after provoked fail and backend restart.") get_images(backend_virtual) + + +def test_get_video_virtualcamera(backend_virtual: VirtualCameraBackend): + """get lores and hires images from backend and assert""" + backend_virtual.start_recording() + time.sleep(6) + backend_virtual.stop_recording() + + videopath = backend_virtual.get_recorded_video() + logger.info(f"video stored to file {videopath}") + assert videopath and videopath.is_file() diff --git a/tests/tests/test_backends_rpi_picamera2.py b/tests/tests/test_backends_rpi_picamera2.py index 0bddceb9..32de73f7 100644 --- a/tests/tests/test_backends_rpi_picamera2.py +++ b/tests/tests/test_backends_rpi_picamera2.py @@ -1,4 +1,5 @@ import logging +import time import pytest @@ -48,3 +49,14 @@ def backend_picamera2(): def test_getImages(backend_picamera2): get_images(backend_picamera2) + + +def test_get_video_picamera2(backend_picamera2): + """get lores and hires images from backend and assert""" + backend_picamera2.start_recording() + time.sleep(6) + backend_picamera2.stop_recording() + + videopath = backend_picamera2.get_recorded_video() + logger.info(f"video stored to file {videopath}") + assert videopath and videopath.is_file() diff --git a/tests/tests/test_wledservice.py b/tests/tests/test_wledservice.py index caecd8f2..57a469df 100644 --- a/tests/tests/test_wledservice.py +++ b/tests/tests/test_wledservice.py @@ -75,5 +75,7 @@ def test_change_presets(_container: Container): time.sleep(0.5) _container.wled_service.preset_shoot() time.sleep(0.5) + _container.wled_service.preset_record() + time.sleep(0.5) _container.wled_service.preset_standby() time.sleep(0.1)